]> git.saurik.com Git - wxWidgets.git/blame_incremental - configure
redefined TRUE and FALSE to be of type bool
[wxWidgets.git] / configure
... / ...
CommitLineData
1#! /bin/sh
2
3# From configure.in Id: configure.in
4
5
6# aclocal.m4 generated automatically by aclocal 1.6 -*- Autoconf -*-
7
8# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
9# Free Software Foundation, Inc.
10# This file is free software; the Free Software Foundation
11# gives unlimited permission to copy and/or distribute it,
12# with or without modifications, as long as this notice is preserved.
13
14# This program is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
16# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17# PARTICULAR PURPOSE.
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# Configure paths for GTK+
59# Owen Taylor 1997-2001
60
61
62
63# Configure paths for GTK+
64# Owen Taylor 97-11-3
65
66
67
68# Guess values for system-dependent variables and create Makefiles.
69# Generated automatically using autoconf version 2.13
70# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
71#
72# This configure script is free software; the Free Software Foundation
73# gives unlimited permission to copy, distribute and modify it.
74
75# Defaults:
76ac_help=
77ac_default_prefix=/usr/local
78# Any additions from configure.in:
79ac_help="$ac_help
80 --enable-gui use GUI classes"
81ac_help="$ac_help
82 --enable-universal use wxWindows GUI controls instead of native ones"
83ac_help="$ac_help
84 --with-gtk use GTK+"
85ac_help="$ac_help
86 --with-motif use Motif/Lesstif"
87ac_help="$ac_help
88 --with-mac use Mac OS X"
89ac_help="$ac_help
90 --with-wine use WINE"
91ac_help="$ac_help
92 --with-msw use MS-Windows"
93ac_help="$ac_help
94 --with-pm use OS/2 Presentation Manager"
95ac_help="$ac_help
96 --with-mgl use SciTech MGL"
97ac_help="$ac_help
98 --with-microwin use MicroWindows"
99ac_help="$ac_help
100 --with-x11 use X11"
101ac_help="$ac_help
102 --enable-nanox use NanoX"
103ac_help="$ac_help
104 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
105ac_help="$ac_help
106 --with-libpng use libpng (PNG image format)"
107ac_help="$ac_help
108 --with-libjpeg use libjpeg (JPEG file format)"
109ac_help="$ac_help
110 --with-libtiff use libtiff (TIFF file format)"
111ac_help="$ac_help
112 --with-opengl use OpenGL (or Mesa)"
113ac_help="$ac_help
114 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
115ac_help="$ac_help
116 --with-regex enable support for wxRegEx class"
117ac_help="$ac_help
118 --with-zlib use zlib for LZW compression"
119ac_help="$ac_help
120 --with-odbc use the IODBC and wxODBC classes"
121ac_help="$ac_help
122 --enable-shared create shared library code"
123ac_help="$ac_help
124 --enable-soname set the DT_SONAME field in ELF shared libraries"
125ac_help="$ac_help
126 --enable-optimise create optimised code"
127ac_help="$ac_help
128 --enable-debug same as debug_flag and debug_info"
129ac_help="$ac_help
130 --enable-precomp enable use of precompiled headers (Mac OS X)"
131ac_help="$ac_help
132 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
133ac_help="$ac_help
134 --enable-debug_info create code with debugging information"
135ac_help="$ac_help
136 --enable-debug_gdb create code with extra GDB debugging information"
137ac_help="$ac_help
138 --enable-debug_cntxt use wxDebugContext"
139ac_help="$ac_help
140 --enable-mem_tracing create code with memory tracing"
141ac_help="$ac_help
142 --enable-profile create code with profiling information"
143ac_help="$ac_help
144 --enable-no_rtti create code without RTTI information"
145ac_help="$ac_help
146 --enable-no_exceptions create code without C++ exceptions handling"
147ac_help="$ac_help
148 --enable-permissive compile code disregarding strict ANSI"
149ac_help="$ac_help
150 --enable-no_deps create code without dependency information"
151ac_help="$ac_help
152 --enable-compat20 enable wxWindows 2.0 compatibility"
153ac_help="$ac_help
154 --disable-compat22 disable wxWindows 2.2 compatibility"
155ac_help="$ac_help
156 --enable-intl use internationalization system"
157ac_help="$ac_help
158 --enable-config use wxConfig (and derived) classes"
159ac_help="$ac_help
160 --enable-protocols use wxProtocol and derived classes"
161ac_help="$ac_help
162 --enable-ftp use wxFTP (requires wxProtocol"
163ac_help="$ac_help
164 --enable-http use wxHTTP (requires wxProtocol"
165ac_help="$ac_help
166 --enable-fileproto use wxFileProto class (requires wxProtocol"
167ac_help="$ac_help
168 --enable-sockets use socket/network classes"
169ac_help="$ac_help
170 --enable-ipc use interprocess communication (wxSocket etc.)"
171ac_help="$ac_help
172 --enable-cmdline use wxCmdLineParser class"
173ac_help="$ac_help
174 --enable-datetime use wxDateTime class"
175ac_help="$ac_help
176 --enable-timedate use obsolete wxDate/wxTime classes"
177ac_help="$ac_help
178 --enable-stopwatch use wxStopWatch class"
179ac_help="$ac_help
180 --enable-dialupman use dialup network classes"
181ac_help="$ac_help
182 --enable-apple_ieee use the Apple IEEE codec"
183ac_help="$ac_help
184 --enable-timer use wxTimer class"
185ac_help="$ac_help
186 --enable-wave use wxWave class"
187ac_help="$ac_help
188 --enable-fraction use wxFraction class"
189ac_help="$ac_help
190 --enable-dynlib use wxLibrary class for DLL loading"
191ac_help="$ac_help
192 --enable-dynamicloader use (new) wxDynamicLibrary class"
193ac_help="$ac_help
194 --enable-longlong use wxLongLong class"
195ac_help="$ac_help
196 --enable-geometry use geometry class"
197ac_help="$ac_help
198 --enable-log use logging system"
199ac_help="$ac_help
200 --enable-streams use wxStream etc classes"
201ac_help="$ac_help
202 --enable-file use wxFile classes"
203ac_help="$ac_help
204 --enable-ffile use wxFFile classes"
205ac_help="$ac_help
206 --enable-textbuf use wxTextBuffer class"
207ac_help="$ac_help
208 --enable-textfile use wxTextFile class"
209ac_help="$ac_help
210 --enable-fontmap use font encodings conversion classes"
211ac_help="$ac_help
212 --enable-unicode compile wxString with Unicode support"
213ac_help="$ac_help
214 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
215ac_help="$ac_help
216 --enable-wxprintfv use wxWindows implementation of vprintf()"
217ac_help="$ac_help
218 --enable-std_iostreams use standard C++ stream classes"
219ac_help="$ac_help
220 --enable-filesystem use virtual file systems classes"
221ac_help="$ac_help
222 --enable-fs_inet use virtual HTTP/FTP filesystems"
223ac_help="$ac_help
224 --enable-fs_zip use virtual ZIP filesystems"
225ac_help="$ac_help
226 --enable-zipstream use wxZipInputStream"
227ac_help="$ac_help
228 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
229ac_help="$ac_help
230 --enable-snglinst use wxSingleInstanceChecker class"
231ac_help="$ac_help
232 --enable-mimetype use wxMimeTypesManager"
233ac_help="$ac_help
234 --enable-sysoptions use wxSystemOptions"
235ac_help="$ac_help
236 --enable-url use wxURL class"
237ac_help="$ac_help
238 --enable-protocol use wxProtocol class"
239ac_help="$ac_help
240 --enable-protocol-http HTTP support in wxProtocol"
241ac_help="$ac_help
242 --enable-protocol-ftp FTP support in wxProtocol"
243ac_help="$ac_help
244 --enable-protocol-file FILE support in wxProtocol"
245ac_help="$ac_help
246 --enable-threads use threads"
247ac_help="$ac_help
248 --enable-docview use document view architecture"
249ac_help="$ac_help
250 --enable-help use help subsystem"
251ac_help="$ac_help
252 --enable-mshtmlhelp use MS HTML Help (win32)"
253ac_help="$ac_help
254 --enable-html use wxHTML sub-library"
255ac_help="$ac_help
256 --enable-htmlhelp use wxHTML-based help"
257ac_help="$ac_help
258 --enable-constraints use layout-constraints system"
259ac_help="$ac_help
260 --enable-printarch use printing architecture"
261ac_help="$ac_help
262 --enable-mdi use multiple document interface architecture"
263ac_help="$ac_help
264 --enable-loggui use standard GUI logger"
265ac_help="$ac_help
266 --enable-logwin use wxLogWindow"
267ac_help="$ac_help
268 --enable-logdialog use wxLogDialog"
269ac_help="$ac_help
270 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
271ac_help="$ac_help
272 --enable-prologio use Prolog IO library"
273ac_help="$ac_help
274 --enable-resources use wxWindows resources"
275ac_help="$ac_help
276 --enable-xresources use X resources for save (default for gtk+)"
277ac_help="$ac_help
278 --enable-clipboard use wxClipboard classes"
279ac_help="$ac_help
280 --enable-dnd use Drag'n'Drop classes"
281ac_help="$ac_help
282 --enable-metafile use win32 metafiles"
283ac_help="$ac_help
284 --enable-treelayout use wxTreeLayout classes"
285ac_help="$ac_help
286 --enable-controls use all usual controls"
287ac_help="$ac_help
288 --enable-accel use accelerators"
289ac_help="$ac_help
290 --enable-button use wxButton class"
291ac_help="$ac_help
292 --enable-bmpbutton use wxBitmapButton class"
293ac_help="$ac_help
294 --enable-calendar use wxCalendarCtrl class"
295ac_help="$ac_help
296 --enable-caret use wxCaret class"
297ac_help="$ac_help
298 --enable-checkbox use wxCheckBox class"
299ac_help="$ac_help
300 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
301ac_help="$ac_help
302 --enable-choice use wxChoice class"
303ac_help="$ac_help
304 --enable-combobox use wxComboBox classes"
305ac_help="$ac_help
306 --enable-gauge use wxGauge class"
307ac_help="$ac_help
308 --enable-grid use wxGrid class"
309ac_help="$ac_help
310 --enable-newgrid use new wxGrid class"
311ac_help="$ac_help
312 --enable-imaglist use wxImageList class"
313ac_help="$ac_help
314 --enable-listbox use wxListBox class"
315ac_help="$ac_help
316 --enable-listctrl use wxListCtrl class"
317ac_help="$ac_help
318 --enable-notebook use wxNotebook class"
319ac_help="$ac_help
320 --enable-propsheet use wxPropertySheet class"
321ac_help="$ac_help
322 --enable-radiobox use wxRadioBox class"
323ac_help="$ac_help
324 --enable-radiobtn use wxRadioButton class"
325ac_help="$ac_help
326 --enable-sash use wxSashWindow class"
327ac_help="$ac_help
328 --enable-scrollbar use wxScrollBar class and scrollable windows"
329ac_help="$ac_help
330 --enable-slider use wxSlider class"
331ac_help="$ac_help
332 --enable-spinbtn use wxSpinButton class"
333ac_help="$ac_help
334 --enable-spinctrl use wxSpinCtrl class"
335ac_help="$ac_help
336 --enable-splitter use wxSplitterWindow class"
337ac_help="$ac_help
338 --enable-statbmp use wxStaticBitmap class"
339ac_help="$ac_help
340 --enable-statbox use wxStaticBox class"
341ac_help="$ac_help
342 --enable-statline use wxStaticLine class"
343ac_help="$ac_help
344 --enable-stattext use wxStaticText class"
345ac_help="$ac_help
346 --enable-statusbar use wxStatusBar class"
347ac_help="$ac_help
348 --enable-tabdialog use wxTabControl class"
349ac_help="$ac_help
350 --enable-textctrl use wxTextCtrl class"
351ac_help="$ac_help
352 --enable-togglebtn use wxToggleButton class"
353ac_help="$ac_help
354 --enable-toolbar use wxToolBar class"
355ac_help="$ac_help
356 --enable-tbarnative use native wxToolBar class"
357ac_help="$ac_help
358 --enable-tbarsmpl use wxToolBarSimple class"
359ac_help="$ac_help
360 --enable-treectrl use wxTreeCtrl class"
361ac_help="$ac_help
362 --enable-tipwindow use wxTipWindow class"
363ac_help="$ac_help
364 --enable-popupwin use wxPopUpWindow class"
365ac_help="$ac_help
366 --enable-commondlg use all common dialogs"
367ac_help="$ac_help
368 --enable-choicedlg use wxChoiceDialog"
369ac_help="$ac_help
370 --enable-coldlg use wxColourDialog"
371ac_help="$ac_help
372 --enable-filedlg use wxFileDialog"
373ac_help="$ac_help
374 --enable-finddlg use wxFindReplaceDialog"
375ac_help="$ac_help
376 --enable-fontdlg use wxFontDialog"
377ac_help="$ac_help
378 --enable-dirdlg use wxDirDialog"
379ac_help="$ac_help
380 --enable-msgdlg use wxMessageDialog"
381ac_help="$ac_help
382 --enable-numberdlg use wxNumberEntryDialog"
383ac_help="$ac_help
384 --enable-splash use wxSplashScreen"
385ac_help="$ac_help
386 --enable-textdlg use wxTextDialog"
387ac_help="$ac_help
388 --enable-tipdlg use startup tips"
389ac_help="$ac_help
390 --enable-progressdlg use wxProgressDialog"
391ac_help="$ac_help
392 --enable-wizarddlg use wxWizard"
393ac_help="$ac_help
394 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
395ac_help="$ac_help
396 --enable-miniframe use wxMiniFrame class"
397ac_help="$ac_help
398 --enable-tooltips use wxToolTip class"
399ac_help="$ac_help
400 --enable-splines use spline drawing code"
401ac_help="$ac_help
402 --enable-validators use wxValidator and derived classes"
403ac_help="$ac_help
404 --enable-busyinfo use wxBusyInfo"
405ac_help="$ac_help
406 --enable-joystick use wxJoystick (Linux only)"
407ac_help="$ac_help
408 --enable-metafiles use wxMetaFile (Windows only)"
409ac_help="$ac_help
410 --enable-dragimage use wxDragImage"
411ac_help="$ac_help
412 --enable-palette use wxPalette class"
413ac_help="$ac_help
414 --enable-image use wxImage class"
415ac_help="$ac_help
416 --enable-gif use gif images (GIF file format)"
417ac_help="$ac_help
418 --enable-pcx use pcx images (PCX file format)"
419ac_help="$ac_help
420 --enable-iff use iff images (IFF file format)"
421ac_help="$ac_help
422 --enable-pnm use pnm images (PNM file format)"
423ac_help="$ac_help
424 --enable-xpm use xpm images (XPM file format)"
425ac_help="$ac_help
426 --enable-icocur use Windows ICO and CUR formats"
427ac_help="$ac_help
428 --disable-gtktest do not try to compile and run a test GTK+ program"
429ac_help="$ac_help
430 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
431ac_help="$ac_help
432 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
433ac_help="$ac_help
434 --disable-gtktest Do not try to compile and run a test GTK program"
435ac_help="$ac_help
436 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
437ac_help="$ac_help
438 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
439ac_help="$ac_help
440 --disable-gtktest Do not try to compile and run a test GTK program"
441ac_help="$ac_help
442 --with-x use the X Window System"
443ac_help="$ac_help
444 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
445
446# Initialize some variables set by options.
447# The variables have the same names as the options, with
448# dashes changed to underlines.
449build=NONE
450cache_file=./config.cache
451exec_prefix=NONE
452host=NONE
453no_create=
454nonopt=NONE
455no_recursion=
456prefix=NONE
457program_prefix=NONE
458program_suffix=NONE
459program_transform_name=s,x,x,
460silent=
461site=
462srcdir=
463target=NONE
464verbose=
465x_includes=NONE
466x_libraries=NONE
467bindir='${exec_prefix}/bin'
468sbindir='${exec_prefix}/sbin'
469libexecdir='${exec_prefix}/libexec'
470datadir='${prefix}/share'
471sysconfdir='${prefix}/etc'
472sharedstatedir='${prefix}/com'
473localstatedir='${prefix}/var'
474libdir='${exec_prefix}/lib'
475includedir='${prefix}/include'
476oldincludedir='/usr/include'
477infodir='${prefix}/info'
478mandir='${prefix}/man'
479
480# Initialize some other variables.
481subdirs=
482MFLAGS= MAKEFLAGS=
483SHELL=${CONFIG_SHELL-/bin/sh}
484# Maximum number of lines to put in a shell here document.
485ac_max_here_lines=12
486
487ac_prev=
488for ac_option
489do
490
491 # If the previous option needs an argument, assign it.
492 if test -n "$ac_prev"; then
493 eval "$ac_prev=\$ac_option"
494 ac_prev=
495 continue
496 fi
497
498 case "$ac_option" in
499 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
500 *) ac_optarg= ;;
501 esac
502
503 # Accept the important Cygnus configure options, so we can diagnose typos.
504
505 case "$ac_option" in
506
507 -bindir | --bindir | --bindi | --bind | --bin | --bi)
508 ac_prev=bindir ;;
509 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
510 bindir="$ac_optarg" ;;
511
512 -build | --build | --buil | --bui | --bu)
513 ac_prev=build ;;
514 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
515 build="$ac_optarg" ;;
516
517 -cache-file | --cache-file | --cache-fil | --cache-fi \
518 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
519 ac_prev=cache_file ;;
520 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
521 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
522 cache_file="$ac_optarg" ;;
523
524 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
525 ac_prev=datadir ;;
526 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
527 | --da=*)
528 datadir="$ac_optarg" ;;
529
530 -disable-* | --disable-*)
531 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
532 # Reject names that are not valid shell variable names.
533 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
534 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
535 fi
536 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
537 eval "enable_${ac_feature}=no" ;;
538
539 -enable-* | --enable-*)
540 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
541 # Reject names that are not valid shell variable names.
542 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
543 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
544 fi
545 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
546 case "$ac_option" in
547 *=*) ;;
548 *) ac_optarg=yes ;;
549 esac
550 eval "enable_${ac_feature}='$ac_optarg'" ;;
551
552 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
553 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
554 | --exec | --exe | --ex)
555 ac_prev=exec_prefix ;;
556 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
557 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
558 | --exec=* | --exe=* | --ex=*)
559 exec_prefix="$ac_optarg" ;;
560
561 -gas | --gas | --ga | --g)
562 # Obsolete; use --with-gas.
563 with_gas=yes ;;
564
565 -help | --help | --hel | --he)
566 # Omit some internal or obsolete options to make the list less imposing.
567 # This message is too long to be a string in the A/UX 3.1 sh.
568 cat << EOF
569Usage: configure [options] [host]
570Options: [defaults in brackets after descriptions]
571Configuration:
572 --cache-file=FILE cache test results in FILE
573 --help print this message
574 --no-create do not create output files
575 --quiet, --silent do not print \`checking...' messages
576 --version print the version of autoconf that created configure
577Directory and file names:
578 --prefix=PREFIX install architecture-independent files in PREFIX
579 [$ac_default_prefix]
580 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
581 [same as prefix]
582 --bindir=DIR user executables in DIR [EPREFIX/bin]
583 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
584 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
585 --datadir=DIR read-only architecture-independent data in DIR
586 [PREFIX/share]
587 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
588 --sharedstatedir=DIR modifiable architecture-independent data in DIR
589 [PREFIX/com]
590 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
591 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
592 --includedir=DIR C header files in DIR [PREFIX/include]
593 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
594 --infodir=DIR info documentation in DIR [PREFIX/info]
595 --mandir=DIR man documentation in DIR [PREFIX/man]
596 --srcdir=DIR find the sources in DIR [configure dir or ..]
597 --program-prefix=PREFIX prepend PREFIX to installed program names
598 --program-suffix=SUFFIX append SUFFIX to installed program names
599 --program-transform-name=PROGRAM
600 run sed PROGRAM on installed program names
601EOF
602 cat << EOF
603Host type:
604 --build=BUILD configure for building on BUILD [BUILD=HOST]
605 --host=HOST configure for HOST [guessed]
606 --target=TARGET configure for TARGET [TARGET=HOST]
607Features and packages:
608 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
609 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
610 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
611 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
612 --x-includes=DIR X include files are in DIR
613 --x-libraries=DIR X library files are in DIR
614EOF
615 if test -n "$ac_help"; then
616 echo "--enable and --with options recognized:$ac_help"
617 fi
618 exit 0 ;;
619
620 -host | --host | --hos | --ho)
621 ac_prev=host ;;
622 -host=* | --host=* | --hos=* | --ho=*)
623 host="$ac_optarg" ;;
624
625 -includedir | --includedir | --includedi | --included | --include \
626 | --includ | --inclu | --incl | --inc)
627 ac_prev=includedir ;;
628 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
629 | --includ=* | --inclu=* | --incl=* | --inc=*)
630 includedir="$ac_optarg" ;;
631
632 -infodir | --infodir | --infodi | --infod | --info | --inf)
633 ac_prev=infodir ;;
634 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
635 infodir="$ac_optarg" ;;
636
637 -libdir | --libdir | --libdi | --libd)
638 ac_prev=libdir ;;
639 -libdir=* | --libdir=* | --libdi=* | --libd=*)
640 libdir="$ac_optarg" ;;
641
642 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
643 | --libexe | --libex | --libe)
644 ac_prev=libexecdir ;;
645 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
646 | --libexe=* | --libex=* | --libe=*)
647 libexecdir="$ac_optarg" ;;
648
649 -localstatedir | --localstatedir | --localstatedi | --localstated \
650 | --localstate | --localstat | --localsta | --localst \
651 | --locals | --local | --loca | --loc | --lo)
652 ac_prev=localstatedir ;;
653 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
654 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
655 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
656 localstatedir="$ac_optarg" ;;
657
658 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
659 ac_prev=mandir ;;
660 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
661 mandir="$ac_optarg" ;;
662
663 -nfp | --nfp | --nf)
664 # Obsolete; use --without-fp.
665 with_fp=no ;;
666
667 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
668 | --no-cr | --no-c)
669 no_create=yes ;;
670
671 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
672 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
673 no_recursion=yes ;;
674
675 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
676 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
677 | --oldin | --oldi | --old | --ol | --o)
678 ac_prev=oldincludedir ;;
679 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
680 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
681 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
682 oldincludedir="$ac_optarg" ;;
683
684 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
685 ac_prev=prefix ;;
686 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
687 prefix="$ac_optarg" ;;
688
689 -program-prefix | --program-prefix | --program-prefi | --program-pref \
690 | --program-pre | --program-pr | --program-p)
691 ac_prev=program_prefix ;;
692 -program-prefix=* | --program-prefix=* | --program-prefi=* \
693 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
694 program_prefix="$ac_optarg" ;;
695
696 -program-suffix | --program-suffix | --program-suffi | --program-suff \
697 | --program-suf | --program-su | --program-s)
698 ac_prev=program_suffix ;;
699 -program-suffix=* | --program-suffix=* | --program-suffi=* \
700 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
701 program_suffix="$ac_optarg" ;;
702
703 -program-transform-name | --program-transform-name \
704 | --program-transform-nam | --program-transform-na \
705 | --program-transform-n | --program-transform- \
706 | --program-transform | --program-transfor \
707 | --program-transfo | --program-transf \
708 | --program-trans | --program-tran \
709 | --progr-tra | --program-tr | --program-t)
710 ac_prev=program_transform_name ;;
711 -program-transform-name=* | --program-transform-name=* \
712 | --program-transform-nam=* | --program-transform-na=* \
713 | --program-transform-n=* | --program-transform-=* \
714 | --program-transform=* | --program-transfor=* \
715 | --program-transfo=* | --program-transf=* \
716 | --program-trans=* | --program-tran=* \
717 | --progr-tra=* | --program-tr=* | --program-t=*)
718 program_transform_name="$ac_optarg" ;;
719
720 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
721 | -silent | --silent | --silen | --sile | --sil)
722 silent=yes ;;
723
724 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
725 ac_prev=sbindir ;;
726 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
727 | --sbi=* | --sb=*)
728 sbindir="$ac_optarg" ;;
729
730 -sharedstatedir | --sharedstatedir | --sharedstatedi \
731 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
732 | --sharedst | --shareds | --shared | --share | --shar \
733 | --sha | --sh)
734 ac_prev=sharedstatedir ;;
735 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
736 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
737 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
738 | --sha=* | --sh=*)
739 sharedstatedir="$ac_optarg" ;;
740
741 -site | --site | --sit)
742 ac_prev=site ;;
743 -site=* | --site=* | --sit=*)
744 site="$ac_optarg" ;;
745
746 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
747 ac_prev=srcdir ;;
748 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
749 srcdir="$ac_optarg" ;;
750
751 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
752 | --syscon | --sysco | --sysc | --sys | --sy)
753 ac_prev=sysconfdir ;;
754 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
755 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
756 sysconfdir="$ac_optarg" ;;
757
758 -target | --target | --targe | --targ | --tar | --ta | --t)
759 ac_prev=target ;;
760 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
761 target="$ac_optarg" ;;
762
763 -v | -verbose | --verbose | --verbos | --verbo | --verb)
764 verbose=yes ;;
765
766 -version | --version | --versio | --versi | --vers)
767 echo "configure generated by autoconf version 2.13"
768 exit 0 ;;
769
770 -with-* | --with-*)
771 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
772 # Reject names that are not valid shell variable names.
773 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
774 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
775 fi
776 ac_package=`echo $ac_package| sed 's/-/_/g'`
777 case "$ac_option" in
778 *=*) ;;
779 *) ac_optarg=yes ;;
780 esac
781 eval "with_${ac_package}='$ac_optarg'" ;;
782
783 -without-* | --without-*)
784 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
785 # Reject names that are not valid shell variable names.
786 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
787 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
788 fi
789 ac_package=`echo $ac_package| sed 's/-/_/g'`
790 eval "with_${ac_package}=no" ;;
791
792 --x)
793 # Obsolete; use --with-x.
794 with_x=yes ;;
795
796 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
797 | --x-incl | --x-inc | --x-in | --x-i)
798 ac_prev=x_includes ;;
799 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
800 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
801 x_includes="$ac_optarg" ;;
802
803 -x-libraries | --x-libraries | --x-librarie | --x-librari \
804 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
805 ac_prev=x_libraries ;;
806 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
807 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
808 x_libraries="$ac_optarg" ;;
809
810 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
811 ;;
812
813 *)
814 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
815 echo "configure: warning: $ac_option: invalid host type" 1>&2
816 fi
817 if test "x$nonopt" != xNONE; then
818 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
819 fi
820 nonopt="$ac_option"
821 ;;
822
823 esac
824done
825
826if test -n "$ac_prev"; then
827 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
828fi
829
830trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
831
832# File descriptor usage:
833# 0 standard input
834# 1 file creation
835# 2 errors and warnings
836# 3 some systems may open it to /dev/tty
837# 4 used on the Kubota Titan
838# 6 checking for... messages and results
839# 5 compiler messages saved in config.log
840if test "$silent" = yes; then
841 exec 6>/dev/null
842else
843 exec 6>&1
844fi
845exec 5>./config.log
846
847echo "\
848This file contains any messages produced by compilers while
849running configure, to aid debugging if configure makes a mistake.
850" 1>&5
851
852# Strip out --no-create and --no-recursion so they do not pile up.
853# Also quote any args containing shell metacharacters.
854ac_configure_args=
855for ac_arg
856do
857 case "$ac_arg" in
858 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
859 | --no-cr | --no-c) ;;
860 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
861 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
862 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
863 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
864 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
865 esac
866done
867
868# NLS nuisances.
869# Only set these to C if already set. These must not be set unconditionally
870# because not all systems understand e.g. LANG=C (notably SCO).
871# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
872# Non-C LC_CTYPE values break the ctype check.
873if test "${LANG+set}" = set; then LANG=C; export LANG; fi
874if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
875if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
876if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
877
878# confdefs.h avoids OS command line length limits that DEFS can exceed.
879rm -rf conftest* confdefs.h
880# AIX cpp loses on an empty file, so make sure it contains at least a newline.
881echo > confdefs.h
882
883# A filename unique to this package, relative to the directory that
884# configure is in, which we can look for to find out if srcdir is correct.
885ac_unique_file=wx-config.in
886
887# Find the source files, if location was not specified.
888if test -z "$srcdir"; then
889 ac_srcdir_defaulted=yes
890 # Try the directory containing this script, then its parent.
891 ac_prog=$0
892 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
893 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
894 srcdir=$ac_confdir
895 if test ! -r $srcdir/$ac_unique_file; then
896 srcdir=..
897 fi
898else
899 ac_srcdir_defaulted=no
900fi
901if test ! -r $srcdir/$ac_unique_file; then
902 if test "$ac_srcdir_defaulted" = yes; then
903 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
904 else
905 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
906 fi
907fi
908srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
909
910# Prefer explicitly selected file to automatically selected ones.
911if test -z "$CONFIG_SITE"; then
912 if test "x$prefix" != xNONE; then
913 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
914 else
915 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
916 fi
917fi
918for ac_site_file in $CONFIG_SITE; do
919 if test -r "$ac_site_file"; then
920 echo "loading site script $ac_site_file"
921 . "$ac_site_file"
922 fi
923done
924
925if test -r "$cache_file"; then
926 echo "loading cache $cache_file"
927 . $cache_file
928else
929 echo "creating cache $cache_file"
930 > $cache_file
931fi
932
933ac_ext=c
934# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
935ac_cpp='$CPP $CPPFLAGS'
936ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
937ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
938cross_compiling=$ac_cv_prog_cc_cross
939
940ac_exeext=
941ac_objext=o
942if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
943 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
944 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
945 ac_n= ac_c='
946' ac_t=' '
947 else
948 ac_n=-n ac_c= ac_t=
949 fi
950else
951 ac_n= ac_c='\c' ac_t=
952fi
953
954
955
956ac_aux_dir=
957for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
958 if test -f $ac_dir/install-sh; then
959 ac_aux_dir=$ac_dir
960 ac_install_sh="$ac_aux_dir/install-sh -c"
961 break
962 elif test -f $ac_dir/install.sh; then
963 ac_aux_dir=$ac_dir
964 ac_install_sh="$ac_aux_dir/install.sh -c"
965 break
966 fi
967done
968if test -z "$ac_aux_dir"; then
969 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
970fi
971ac_config_guess=$ac_aux_dir/config.guess
972ac_config_sub=$ac_aux_dir/config.sub
973ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
974
975
976# Do some error checking and defaulting for the host and target type.
977# The inputs are:
978# configure --host=HOST --target=TARGET --build=BUILD NONOPT
979#
980# The rules are:
981# 1. You are not allowed to specify --host, --target, and nonopt at the
982# same time.
983# 2. Host defaults to nonopt.
984# 3. If nonopt is not specified, then host defaults to the current host,
985# as determined by config.guess.
986# 4. Target and build default to nonopt.
987# 5. If nonopt is not specified, then target and build default to host.
988
989# The aliases save the names the user supplied, while $host etc.
990# will get canonicalized.
991case $host---$target---$nonopt in
992NONE---*---* | *---NONE---* | *---*---NONE) ;;
993*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
994esac
995
996
997# Make sure we can run config.sub.
998if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
999else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1000fi
1001
1002echo $ac_n "checking host system type""... $ac_c" 1>&6
1003echo "configure:1004: checking host system type" >&5
1004
1005host_alias=$host
1006case "$host_alias" in
1007NONE)
1008 case $nonopt in
1009 NONE)
1010 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1011 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1012 fi ;;
1013 *) host_alias=$nonopt ;;
1014 esac ;;
1015esac
1016
1017host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1018host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1019host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1020host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1021echo "$ac_t""$host" 1>&6
1022
1023echo $ac_n "checking target system type""... $ac_c" 1>&6
1024echo "configure:1025: checking target system type" >&5
1025
1026target_alias=$target
1027case "$target_alias" in
1028NONE)
1029 case $nonopt in
1030 NONE) target_alias=$host_alias ;;
1031 *) target_alias=$nonopt ;;
1032 esac ;;
1033esac
1034
1035target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1036target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1037target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1038target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1039echo "$ac_t""$target" 1>&6
1040
1041echo $ac_n "checking build system type""... $ac_c" 1>&6
1042echo "configure:1043: checking build system type" >&5
1043
1044build_alias=$build
1045case "$build_alias" in
1046NONE)
1047 case $nonopt in
1048 NONE) build_alias=$host_alias ;;
1049 *) build_alias=$nonopt ;;
1050 esac ;;
1051esac
1052
1053build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1054build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1055build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1056build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1057echo "$ac_t""$build" 1>&6
1058
1059test "$host_alias" != "$target_alias" &&
1060 test "$program_prefix$program_suffix$program_transform_name" = \
1061 NONENONEs,x,x, &&
1062 program_prefix=${target_alias}-
1063
1064
1065
1066WX_MAJOR_VERSION_NUMBER=2
1067WX_MINOR_VERSION_NUMBER=3
1068WX_RELEASE_NUMBER=3
1069
1070WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1071WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1072
1073WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1074
1075WX_CURRENT=2
1076WX_REVISION=0
1077WX_AGE=0
1078
1079
1080
1081USE_UNIX=1
1082USE_WIN32=0
1083USE_DOS=0
1084USE_BEOS=0
1085USE_MAC=0
1086
1087USE_LINUX=
1088USE_SGI=
1089USE_HPUX=
1090USE_SYSV=
1091USE_SVR4=
1092USE_AIX=
1093USE_SUN=
1094USE_SOLARIS=
1095USE_SUNOS=
1096USE_ALPHA=
1097USE_OSF=
1098USE_BSD=
1099USE_DARWIN=
1100USE_FREEBSD=
1101USE_OPENBSD=
1102USE_NETBSD=
1103USE_VMS=
1104USE_ULTRIX=
1105USE_DATA_GENERAL=
1106
1107NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1108
1109CPP_MT_FLAG=-D_REENTRANT
1110
1111ALL_TOOLKITS="GTK MAC MGL MICROWIN MOTIF MSW PM WINE X11"
1112
1113DEFAULT_wxUSE_GTK=0
1114DEFAULT_wxUSE_MAC=0
1115DEFAULT_wxUSE_MGL=0
1116DEFAULT_wxUSE_MICROWIN=0
1117DEFAULT_wxUSE_MOTIF=0
1118DEFAULT_wxUSE_MSW=0
1119DEFAULT_wxUSE_PM=0
1120DEFAULT_wxUSE_WINE=0
1121DEFAULT_wxUSE_X11=0
1122
1123DEFAULT_DEFAULT_wxUSE_GTK=0
1124DEFAULT_DEFAULT_wxUSE_MAC=0
1125DEFAULT_DEFAULT_wxUSE_MGL=0
1126DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1127DEFAULT_DEFAULT_wxUSE_MOTIF=0
1128DEFAULT_DEFAULT_wxUSE_MSW=0
1129DEFAULT_DEFAULT_wxUSE_PM=0
1130DEFAULT_DEFAULT_wxUSE_WINE=0
1131DEFAULT_DEFAULT_wxUSE_X11=0
1132
1133PROGRAM_EXT=
1134SO_SUFFIX=so
1135
1136case "${host}" in
1137 *-hp-hpux* )
1138 USE_HPUX=1
1139 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1140 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1141 SO_SUFFIX=sl
1142 cat >> confdefs.h <<\EOF
1143#define __HPUX__ 1
1144EOF
1145
1146 ;;
1147 *-*-linux* )
1148 USE_LINUX=1
1149 cat >> confdefs.h <<\EOF
1150#define __LINUX__ 1
1151EOF
1152
1153 TMP=`uname -m`
1154 if test "x$TMP" = "xalpha"; then
1155 USE_ALPHA=1
1156 cat >> confdefs.h <<\EOF
1157#define __ALPHA__ 1
1158EOF
1159
1160 fi
1161 DEFAULT_DEFAULT_wxUSE_GTK=1
1162 ;;
1163 *-*-irix5* | *-*-irix6* )
1164 USE_SGI=1
1165 USE_SVR4=1
1166 cat >> confdefs.h <<\EOF
1167#define __SGI__ 1
1168EOF
1169
1170 cat >> confdefs.h <<\EOF
1171#define __SVR4__ 1
1172EOF
1173
1174 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1175 ;;
1176 *-*-solaris2* )
1177 USE_SUN=1
1178 USE_SOLARIS=1
1179 USE_SVR4=1
1180 cat >> confdefs.h <<\EOF
1181#define __SUN__ 1
1182EOF
1183
1184 cat >> confdefs.h <<\EOF
1185#define __SOLARIS__ 1
1186EOF
1187
1188 cat >> confdefs.h <<\EOF
1189#define __SVR4__ 1
1190EOF
1191
1192 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1193 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1194 ;;
1195 *-*-sunos4* )
1196 USE_SUN=1
1197 USE_SUNOS=1
1198 USE_BSD=1
1199 cat >> confdefs.h <<\EOF
1200#define __SUN__ 1
1201EOF
1202
1203 cat >> confdefs.h <<\EOF
1204#define __SUNOS__ 1
1205EOF
1206
1207 cat >> confdefs.h <<\EOF
1208#define __BSD__ 1
1209EOF
1210
1211 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1212 ;;
1213 *-*-freebsd*)
1214 USE_BSD=1
1215 USE_FREEBSD=1
1216 CPP_MT_FLAG=-D_THREAD_SAFE
1217 cat >> confdefs.h <<\EOF
1218#define __FREEBSD__ 1
1219EOF
1220
1221 cat >> confdefs.h <<\EOF
1222#define __BSD__ 1
1223EOF
1224
1225 DEFAULT_DEFAULT_wxUSE_GTK=1
1226 ;;
1227 *-*-openbsd*)
1228 USE_BSD=1
1229 USE_OPENBSD=1
1230 cat >> confdefs.h <<\EOF
1231#define __FREEBSD__ 1
1232EOF
1233
1234 cat >> confdefs.h <<\EOF
1235#define __OPENBSD__ 1
1236EOF
1237
1238 DEFAULT_DEFAULT_wxUSE_GTK=1
1239 ;;
1240 *-*-netbsd*)
1241 USE_BSD=1
1242 USE_NETBSD=1
1243 cat >> confdefs.h <<\EOF
1244#define __FREEBSD__ 1
1245EOF
1246
1247 cat >> confdefs.h <<\EOF
1248#define __NETBSD__ 1
1249EOF
1250
1251 DEFAULT_DEFAULT_wxUSE_GTK=1
1252 ;;
1253 *-*-osf* )
1254 USE_ALPHA=1
1255 USE_OSF=1
1256 cat >> confdefs.h <<\EOF
1257#define __ALPHA__ 1
1258EOF
1259
1260 cat >> confdefs.h <<\EOF
1261#define __OSF__ 1
1262EOF
1263
1264 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1265 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1266 ;;
1267 *-*-dgux5* )
1268 USE_ALPHA=1
1269 USE_SVR4=1
1270 cat >> confdefs.h <<\EOF
1271#define __ALPHA__ 1
1272EOF
1273
1274 cat >> confdefs.h <<\EOF
1275#define __SVR4__ 1
1276EOF
1277
1278 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1279 ;;
1280 *-*-sysv5* )
1281 USE_SYSV=1
1282 USE_SVR4=1
1283 cat >> confdefs.h <<\EOF
1284#define __SYSV__ 1
1285EOF
1286
1287 cat >> confdefs.h <<\EOF
1288#define __SVR4__ 1
1289EOF
1290
1291 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1292 ;;
1293 *-*-aix* )
1294 USE_AIX=1
1295 USE_SYSV=1
1296 USE_SVR4=1
1297 cat >> confdefs.h <<\EOF
1298#define __AIX__ 1
1299EOF
1300
1301 cat >> confdefs.h <<\EOF
1302#define __SYSV__ 1
1303EOF
1304
1305 cat >> confdefs.h <<\EOF
1306#define __SVR4__ 1
1307EOF
1308
1309 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1310 ;;
1311
1312 *-*-cygwin* | *-*-mingw32* )
1313 USE_UNIX=0
1314 USE_WIN32=1
1315 SO_SUFFIX=dll
1316 cat >> confdefs.h <<\EOF
1317#define __WIN32__ 1
1318EOF
1319
1320 cat >> confdefs.h <<\EOF
1321#define __WIN95__ 1
1322EOF
1323
1324 cat >> confdefs.h <<\EOF
1325#define __WINDOWS__ 1
1326EOF
1327
1328 cat >> confdefs.h <<\EOF
1329#define __GNUWIN32__ 1
1330EOF
1331
1332 cat >> confdefs.h <<\EOF
1333#define STRICT 1
1334EOF
1335
1336 cat >> confdefs.h <<\EOF
1337#define WINVER 0x0400
1338EOF
1339
1340 PROGRAM_EXT=".exe"
1341 RESCOMP=windres
1342 DEFAULT_DEFAULT_wxUSE_MSW=1
1343 ;;
1344
1345 *-pc-msdosdjgpp )
1346 USE_UNIX=0
1347 USE_DOS=1
1348 cat >> confdefs.h <<\EOF
1349#define __DOS__ 1
1350EOF
1351
1352 PROGRAM_EXT=".exe"
1353 DEFAULT_DEFAULT_wxUSE_MGL=1
1354 ;;
1355
1356 *-pc-os2_emx | *-pc-os2-emx )
1357 cat >> confdefs.h <<\EOF
1358#define __EMX__ 1
1359EOF
1360
1361 PROGRAM_EXT=".exe"
1362 DEFAULT_DEFAULT_wxUSE_PM=1
1363 LIBS="$LIBS -lstdcpp"
1364 ;;
1365
1366 powerpc-*-darwin* )
1367 USE_BSD=1
1368 USE_DARWIN=1
1369 CPP_MT_FLAG=
1370 SO_SUFFIX=dylib
1371 cat >> confdefs.h <<\EOF
1372#define __BSD__ 1
1373EOF
1374
1375 cat >> confdefs.h <<\EOF
1376#define __DARWIN__ 1
1377EOF
1378
1379 cat >> confdefs.h <<\EOF
1380#define __POWERPC__ 1
1381EOF
1382
1383 DEFAULT_DEFAULT_wxUSE_MAC=1
1384 ;;
1385
1386 *-*-beos* )
1387 USE_BEOS=1
1388 cat >> confdefs.h <<\EOF
1389#define __BEOS__ 1
1390EOF
1391
1392 ;;
1393
1394 *)
1395 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1396esac
1397
1398if test "$USE_UNIX" = 1 ; then
1399 wxUSE_UNIX=yes
1400 cat >> confdefs.h <<\EOF
1401#define __UNIX__ 1
1402EOF
1403
1404fi
1405
1406if test "$USE_LINUX" = 1; then
1407 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1408echo "configure:1409: checking for glibc 2.1 or later" >&5
1409if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1410 echo $ac_n "(cached) $ac_c" 1>&6
1411else
1412
1413 cat > conftest.$ac_ext <<EOF
1414#line 1415 "configure"
1415#include "confdefs.h"
1416#include <features.h>
1417int main() {
1418
1419 #if !__GLIBC_PREREQ(2, 1)
1420 #error not glibc2.1
1421 #endif
1422
1423; return 0; }
1424EOF
1425if { (eval echo configure:1426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1426 rm -rf conftest*
1427
1428 wx_lib_glibc21=yes
1429
1430else
1431 echo "configure: failed program was:" >&5
1432 cat conftest.$ac_ext >&5
1433 rm -rf conftest*
1434
1435 wx_lib_glibc21=no
1436
1437
1438fi
1439rm -f conftest*
1440
1441fi
1442
1443echo "$ac_t""$wx_lib_glibc21" 1>&6
1444 if test "$wx_lib_glibc21" = "yes"; then
1445 cat >> confdefs.h <<\EOF
1446#define wxHAVE_GLIBC2 1
1447EOF
1448
1449 fi
1450fi
1451
1452
1453
1454
1455 wx_arg_cache_file="configarg.cache"
1456 echo "loading argument cache $wx_arg_cache_file"
1457 rm -f ${wx_arg_cache_file}.tmp
1458 touch ${wx_arg_cache_file}.tmp
1459 touch ${wx_arg_cache_file}
1460
1461
1462DEBUG_CONFIGURE=0
1463if test $DEBUG_CONFIGURE = 1; then
1464 DEFAULT_wxUSE_UNIVERSAL=no
1465
1466 DEFAULT_wxUSE_NANOX=no
1467
1468 DEFAULT_wxUSE_THREADS=yes
1469
1470 DEFAULT_wxUSE_SHARED=yes
1471 DEFAULT_wxUSE_SONAME=no
1472 DEFAULT_wxUSE_OPTIMISE=no
1473 DEFAULT_wxUSE_PROFILE=no
1474 DEFAULT_wxUSE_NO_DEPS=no
1475 DEFAULT_wxUSE_NO_RTTI=yes
1476 DEFAULT_wxUSE_NO_EXCEPTIONS=yes
1477 DEFAULT_wxUSE_PERMISSIVE=no
1478 DEFAULT_wxUSE_DEBUG_FLAG=yes
1479 DEFAULT_wxUSE_DEBUG_INFO=yes
1480 DEFAULT_wxUSE_DEBUG_GDB=yes
1481 DEFAULT_wxUSE_MEM_TRACING=no
1482 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1483 DEFAULT_wxUSE_DMALLOC=no
1484 DEFAULT_wxUSE_PRECOMP=no
1485 DEFAULT_wxUSE_APPLE_IEEE=no
1486
1487 DEFAULT_wxUSE_LOG=yes
1488 DEFAULT_wxUSE_LOGWINDOW=no
1489 DEFAULT_wxUSE_LOGGUI=no
1490 DEFAULT_wxUSE_LOGDIALOG=no
1491
1492 DEFAULT_wxUSE_GUI=yes
1493 DEFAULT_wxUSE_CONTROLS=no
1494
1495 DEFAULT_wxUSE_REGEX=no
1496 DEFAULT_wxUSE_ZLIB=no
1497 DEFAULT_wxUSE_LIBPNG=no
1498 DEFAULT_wxUSE_LIBJPEG=no
1499 DEFAULT_wxUSE_LIBTIFF=no
1500 DEFAULT_wxUSE_ODBC=no
1501 DEFAULT_wxUSE_OPENGL=no
1502
1503 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1504 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1505 DEFAULT_wxUSE_STD_IOSTREAM=no
1506 DEFAULT_wxUSE_CMDLINE_PARSER=no
1507 DEFAULT_wxUSE_DATETIME=no
1508 DEFAULT_wxUSE_TIMEDATE=no
1509 DEFAULT_wxUSE_TIMER=no
1510 DEFAULT_wxUSE_STOPWATCH=no
1511 DEFAULT_wxUSE_FILE=no
1512 DEFAULT_wxUSE_FFILE=no
1513 DEFAULT_wxUSE_TEXTBUFFER=no
1514 DEFAULT_wxUSE_TEXTFILE=no
1515 DEFAULT_wxUSE_WAVE=no
1516 DEFAULT_wxUSE_INTL=no
1517 DEFAULT_wxUSE_CONFIG=no
1518 DEFAULT_wxUSE_FONTMAP=no
1519 DEFAULT_wxUSE_STREAMS=no
1520 DEFAULT_wxUSE_SOCKETS=no
1521 DEFAULT_wxUSE_DIALUP_MANAGER=no
1522 DEFAULT_wxUSE_JOYSTICK=no
1523 DEFAULT_wxUSE_DYNLIB_CLASS=no
1524 DEFAULT_wxUSE_DYNAMIC_LOADER=no
1525 DEFAULT_wxUSE_LONGLONG=no
1526 DEFAULT_wxUSE_GEOMETRY=no
1527
1528 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
1529 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
1530 DEFAULT_wxUSE_POSTSCRIPT=no
1531
1532 DEFAULT_wxUSE_X_RESOURCES=no
1533 DEFAULT_wxUSE_CLIPBOARD=no
1534 DEFAULT_wxUSE_TOOLTIPS=no
1535 DEFAULT_wxUSE_DRAG_AND_DROP=no
1536 DEFAULT_wxUSE_DRAGIMAGE=no
1537 DEFAULT_wxUSE_SPLINES=no
1538
1539 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
1540 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
1541 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
1542
1543 DEFAULT_wxUSE_PROLOGIO=no
1544 DEFAULT_wxUSE_RESOURCES=no
1545 DEFAULT_wxUSE_CONSTRAINTS=no
1546 DEFAULT_wxUSE_IPC=no
1547 DEFAULT_wxUSE_HELP=no
1548 DEFAULT_wxUSE_MS_HTML_HELP=no
1549 DEFAULT_wxUSE_WXHTML_HELP=no
1550 DEFAULT_wxUSE_TREELAYOUT=no
1551 DEFAULT_wxUSE_METAFILE=no
1552 DEFAULT_wxUSE_MIMETYPE=no
1553 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
1554 DEFAULT_wxUSE_PROTOCOL=no
1555 DEFAULT_wxUSE_PROTOCOL_HTTP=no
1556 DEFAULT_wxUSE_PROTOCOL_FTP=no
1557 DEFAULT_wxUSE_PROTOCOL_FILE=no
1558 DEFAULT_wxUSE_URL=no
1559
1560 DEFAULT_wxUSE_COMMONDLGS=no
1561 DEFAULT_wxUSE_CHOICEDLG=no
1562 DEFAULT_wxUSE_COLOURDLG=no
1563 DEFAULT_wxUSE_DIRDLG=no
1564 DEFAULT_wxUSE_FILEDLG=no
1565 DEFAULT_wxUSE_FINDREPLDLG=no
1566 DEFAULT_wxUSE_FONTDLG=no
1567 DEFAULT_wxUSE_MSGDLG=no
1568 DEFAULT_wxUSE_NUMBERDLG=no
1569 DEFAULT_wxUSE_TEXTDLG=no
1570 DEFAULT_wxUSE_SPLASH=no
1571 DEFAULT_wxUSE_STARTUP_TIPS=no
1572 DEFAULT_wxUSE_PROGRESSDLG=no
1573 DEFAULT_wxUSE_WIZARDDLG=no
1574
1575 DEFAULT_wxUSE_MENUS=no
1576 DEFAULT_wxUSE_MINIFRAME=no
1577 DEFAULT_wxUSE_HTML=no
1578 DEFAULT_wxUSE_FILESYSTEM=no
1579 DEFAULT_wxUSE_FS_INET=no
1580 DEFAULT_wxUSE_FS_ZIP=no
1581 DEFAULT_wxUSE_BUSYINFO=no
1582 DEFAULT_wxUSE_ZIPSTREAM=no
1583 DEFAULT_wxUSE_VALIDATORS=no
1584
1585 DEFAULT_wxUSE_ACCEL=no
1586 DEFAULT_wxUSE_BUTTON=no
1587 DEFAULT_wxUSE_BMPBUTTON=no
1588 DEFAULT_wxUSE_CALCTRL=no
1589 DEFAULT_wxUSE_CARET=no
1590 DEFAULT_wxUSE_CHECKBOX=no
1591 DEFAULT_wxUSE_CHECKLST=no
1592 DEFAULT_wxUSE_CHOICE=no
1593 DEFAULT_wxUSE_COMBOBOX=no
1594 DEFAULT_wxUSE_GAUGE=no
1595 DEFAULT_wxUSE_GRID=no
1596 DEFAULT_wxUSE_NEW_GRID=no
1597 DEFAULT_wxUSE_IMAGLIST=no
1598 DEFAULT_wxUSE_LISTBOX=no
1599 DEFAULT_wxUSE_LISTCTRL=no
1600 DEFAULT_wxUSE_NOTEBOOK=no
1601 DEFAULT_wxUSE_PROPSHEET=no
1602 DEFAULT_wxUSE_RADIOBOX=no
1603 DEFAULT_wxUSE_RADIOBTN=no
1604 DEFAULT_wxUSE_SASH=no
1605 DEFAULT_wxUSE_SCROLLBAR=no
1606 DEFAULT_wxUSE_SLIDER=no
1607 DEFAULT_wxUSE_SPINBTN=no
1608 DEFAULT_wxUSE_SPINCTRL=no
1609 DEFAULT_wxUSE_SPLITTER=no
1610 DEFAULT_wxUSE_STATBMP=no
1611 DEFAULT_wxUSE_STATBOX=no
1612 DEFAULT_wxUSE_STATLINE=no
1613 DEFAULT_wxUSE_STATTEXT=no
1614 DEFAULT_wxUSE_STATUSBAR=yes
1615 DEFAULT_wxUSE_TABDIALOG=no
1616 DEFAULT_wxUSE_TEXTCTRL=no
1617 DEFAULT_wxUSE_TOGGLEBTN=no
1618 DEFAULT_wxUSE_TOOLBAR=no
1619 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
1620 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
1621 DEFAULT_wxUSE_TREECTRL=no
1622 DEFAULT_wxUSE_POPUPWIN=no
1623 DEFAULT_wxUSE_TIPWINDOW=no
1624
1625 DEFAULT_wxUSE_UNICODE=no
1626 DEFAULT_wxUSE_UNICODE_MSLU=no
1627 DEFAULT_wxUSE_WCSRTOMBS=no
1628
1629 DEFAULT_wxUSE_PALETTE=no
1630 DEFAULT_wxUSE_IMAGE=no
1631 DEFAULT_wxUSE_GIF=no
1632 DEFAULT_wxUSE_PCX=no
1633 DEFAULT_wxUSE_PNM=no
1634 DEFAULT_wxUSE_IFF=no
1635 DEFAULT_wxUSE_XPM=no
1636 DEFAULT_wxUSE_ICO_CUR=no
1637else
1638 DEFAULT_wxUSE_UNIVERSAL=no
1639
1640 DEFAULT_wxUSE_NANOX=no
1641
1642 DEFAULT_wxUSE_THREADS=yes
1643
1644 DEFAULT_wxUSE_SHARED=yes
1645 DEFAULT_wxUSE_SONAME=no
1646 DEFAULT_wxUSE_OPTIMISE=yes
1647 DEFAULT_wxUSE_PROFILE=no
1648 DEFAULT_wxUSE_NO_DEPS=no
1649 DEFAULT_wxUSE_NO_RTTI=yes
1650 DEFAULT_wxUSE_NO_EXCEPTIONS=yes
1651 DEFAULT_wxUSE_PERMISSIVE=no
1652 DEFAULT_wxUSE_DEBUG_FLAG=no
1653 DEFAULT_wxUSE_DEBUG_INFO=no
1654 DEFAULT_wxUSE_DEBUG_GDB=no
1655 DEFAULT_wxUSE_MEM_TRACING=no
1656 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1657 DEFAULT_wxUSE_DMALLOC=no
1658 DEFAULT_wxUSE_PRECOMP=no
1659 DEFAULT_wxUSE_APPLE_IEEE=yes
1660
1661 DEFAULT_wxUSE_LOG=yes
1662 DEFAULT_wxUSE_LOGWINDOW=yes
1663 DEFAULT_wxUSE_LOGGUI=yes
1664 DEFAULT_wxUSE_LOGDIALOG=yes
1665
1666 DEFAULT_wxUSE_GUI=yes
1667
1668 DEFAULT_wxUSE_REGEX=yes
1669 DEFAULT_wxUSE_ZLIB=yes
1670 DEFAULT_wxUSE_LIBPNG=yes
1671 DEFAULT_wxUSE_LIBJPEG=yes
1672 DEFAULT_wxUSE_LIBTIFF=yes
1673 DEFAULT_wxUSE_ODBC=no
1674 DEFAULT_wxUSE_OPENGL=no
1675
1676 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
1677 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
1678 DEFAULT_wxUSE_STD_IOSTREAM=no
1679 DEFAULT_wxUSE_CMDLINE_PARSER=yes
1680 DEFAULT_wxUSE_DATETIME=yes
1681 DEFAULT_wxUSE_TIMEDATE=no
1682 DEFAULT_wxUSE_TIMER=yes
1683 DEFAULT_wxUSE_STOPWATCH=yes
1684 DEFAULT_wxUSE_FILE=yes
1685 DEFAULT_wxUSE_FFILE=yes
1686 DEFAULT_wxUSE_TEXTBUFFER=yes
1687 DEFAULT_wxUSE_TEXTFILE=yes
1688 DEFAULT_wxUSE_WAVE=no
1689 DEFAULT_wxUSE_INTL=yes
1690 DEFAULT_wxUSE_CONFIG=yes
1691 DEFAULT_wxUSE_FONTMAP=yes
1692 DEFAULT_wxUSE_STREAMS=yes
1693 DEFAULT_wxUSE_SOCKETS=yes
1694 DEFAULT_wxUSE_DIALUP_MANAGER=yes
1695 DEFAULT_wxUSE_JOYSTICK=yes
1696 DEFAULT_wxUSE_DYNLIB_CLASS=yes
1697 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
1698 DEFAULT_wxUSE_LONGLONG=yes
1699 DEFAULT_wxUSE_GEOMETRY=yes
1700
1701 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
1702 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
1703 DEFAULT_wxUSE_POSTSCRIPT=yes
1704
1705 DEFAULT_wxUSE_X_RESOURCES=no
1706 DEFAULT_wxUSE_CLIPBOARD=yes
1707 DEFAULT_wxUSE_TOOLTIPS=yes
1708 DEFAULT_wxUSE_DRAG_AND_DROP=yes
1709 DEFAULT_wxUSE_DRAGIMAGE=yes
1710 DEFAULT_wxUSE_SPLINES=yes
1711
1712 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
1713 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
1714 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
1715
1716 DEFAULT_wxUSE_PROLOGIO=yes
1717 DEFAULT_wxUSE_RESOURCES=yes
1718 DEFAULT_wxUSE_CONSTRAINTS=yes
1719 DEFAULT_wxUSE_IPC=yes
1720 DEFAULT_wxUSE_HELP=yes
1721 DEFAULT_wxUSE_MS_HTML_HELP=yes
1722 DEFAULT_wxUSE_WXHTML_HELP=yes
1723 DEFAULT_wxUSE_TREELAYOUT=yes
1724 DEFAULT_wxUSE_METAFILE=yes
1725 DEFAULT_wxUSE_MIMETYPE=yes
1726 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
1727 DEFAULT_wxUSE_PROTOCOL=yes
1728 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
1729 DEFAULT_wxUSE_PROTOCOL_FTP=yes
1730 DEFAULT_wxUSE_PROTOCOL_FILE=yes
1731 DEFAULT_wxUSE_URL=yes
1732
1733 DEFAULT_wxUSE_COMMONDLGS=yes
1734 DEFAULT_wxUSE_CHOICEDLG=yes
1735 DEFAULT_wxUSE_COLOURDLG=yes
1736 DEFAULT_wxUSE_DIRDLG=yes
1737 DEFAULT_wxUSE_FILEDLG=yes
1738 DEFAULT_wxUSE_FINDREPLDLG=yes
1739 DEFAULT_wxUSE_FONTDLG=yes
1740 DEFAULT_wxUSE_MSGDLG=yes
1741 DEFAULT_wxUSE_NUMBERDLG=yes
1742 DEFAULT_wxUSE_TEXTDLG=yes
1743 DEFAULT_wxUSE_SPLASH=yes
1744 DEFAULT_wxUSE_STARTUP_TIPS=yes
1745 DEFAULT_wxUSE_PROGRESSDLG=yes
1746 DEFAULT_wxUSE_WIZARDDLG=yes
1747
1748 DEFAULT_wxUSE_MENUS=yes
1749 DEFAULT_wxUSE_MINIFRAME=yes
1750 DEFAULT_wxUSE_HTML=yes
1751 DEFAULT_wxUSE_FILESYSTEM=yes
1752 DEFAULT_wxUSE_FS_INET=yes
1753 DEFAULT_wxUSE_FS_ZIP=yes
1754 DEFAULT_wxUSE_BUSYINFO=yes
1755 DEFAULT_wxUSE_ZIPSTREAM=yes
1756 DEFAULT_wxUSE_VALIDATORS=yes
1757
1758 DEFAULT_wxUSE_ACCEL=yes
1759 DEFAULT_wxUSE_BUTTON=yes
1760 DEFAULT_wxUSE_BMPBUTTON=yes
1761 DEFAULT_wxUSE_CALCTRL=yes
1762 DEFAULT_wxUSE_CARET=yes
1763 DEFAULT_wxUSE_CHECKBOX=yes
1764 DEFAULT_wxUSE_CHECKLST=yes
1765 DEFAULT_wxUSE_CHOICE=yes
1766 DEFAULT_wxUSE_COMBOBOX=yes
1767 DEFAULT_wxUSE_GAUGE=yes
1768 DEFAULT_wxUSE_GRID=yes
1769 DEFAULT_wxUSE_NEW_GRID=yes
1770 DEFAULT_wxUSE_IMAGLIST=yes
1771 DEFAULT_wxUSE_LISTBOX=yes
1772 DEFAULT_wxUSE_LISTCTRL=yes
1773 DEFAULT_wxUSE_NOTEBOOK=yes
1774 DEFAULT_wxUSE_PROPSHEET=yes
1775 DEFAULT_wxUSE_RADIOBOX=yes
1776 DEFAULT_wxUSE_RADIOBTN=yes
1777 DEFAULT_wxUSE_SASH=yes
1778 DEFAULT_wxUSE_SCROLLBAR=yes
1779 DEFAULT_wxUSE_SLIDER=yes
1780 DEFAULT_wxUSE_SPINBTN=yes
1781 DEFAULT_wxUSE_SPINCTRL=yes
1782 DEFAULT_wxUSE_SPLITTER=yes
1783 DEFAULT_wxUSE_STATBMP=yes
1784 DEFAULT_wxUSE_STATBOX=yes
1785 DEFAULT_wxUSE_STATLINE=yes
1786 DEFAULT_wxUSE_STATTEXT=yes
1787 DEFAULT_wxUSE_STATUSBAR=yes
1788 DEFAULT_wxUSE_TABDIALOG=no
1789 DEFAULT_wxUSE_TEXTCTRL=yes
1790 DEFAULT_wxUSE_TOGGLEBTN=yes
1791 DEFAULT_wxUSE_TOOLBAR=yes
1792 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
1793 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
1794 DEFAULT_wxUSE_TREECTRL=yes
1795 DEFAULT_wxUSE_POPUPWIN=yes
1796 DEFAULT_wxUSE_TIPWINDOW=yes
1797
1798 DEFAULT_wxUSE_UNICODE=no
1799 DEFAULT_wxUSE_UNICODE_MSLU=yes
1800 DEFAULT_wxUSE_WCSRTOMBS=no
1801
1802 DEFAULT_wxUSE_PALETTE=yes
1803 DEFAULT_wxUSE_IMAGE=yes
1804 DEFAULT_wxUSE_GIF=yes
1805 DEFAULT_wxUSE_PCX=yes
1806 DEFAULT_wxUSE_IFF=no
1807 DEFAULT_wxUSE_PNM=yes
1808 DEFAULT_wxUSE_XPM=yes
1809 DEFAULT_wxUSE_ICO_CUR=yes
1810fi
1811
1812
1813
1814for toolkit in `echo $ALL_TOOLKITS`; do
1815 LINE=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1816 if test "x$LINE" != x ; then
1817 has_toolkit_in_cache=1
1818 eval "DEFAULT_$LINE"
1819 eval "CACHE_$toolkit=1"
1820 fi
1821done
1822
1823
1824
1825 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1826echo "configure:1827: checking for --enable-gui" >&5
1827 no_cache=0
1828 # Check whether --enable-gui or --disable-gui was given.
1829if test "${enable_gui+set}" = set; then
1830 enableval="$enable_gui"
1831
1832 if test "$enableval" = yes; then
1833 ac_cv_use_gui='wxUSE_GUI=yes'
1834 else
1835 ac_cv_use_gui='wxUSE_GUI=no'
1836 fi
1837
1838else
1839
1840 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1841 if test "x$LINE" != x ; then
1842 eval "DEFAULT_$LINE"
1843 else
1844 no_cache=1
1845 fi
1846
1847 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1848
1849fi
1850
1851
1852 eval "$ac_cv_use_gui"
1853 if test "$no_cache" != 1; then
1854 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1855 fi
1856
1857 if test "$wxUSE_GUI" = yes; then
1858 echo "$ac_t""yes" 1>&6
1859 else
1860 echo "$ac_t""no" 1>&6
1861 fi
1862
1863
1864if test "$wxUSE_GUI" = "yes"; then
1865
1866
1867 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1868echo "configure:1869: checking for --enable-universal" >&5
1869 no_cache=0
1870 # Check whether --enable-universal or --disable-universal was given.
1871if test "${enable_universal+set}" = set; then
1872 enableval="$enable_universal"
1873
1874 if test "$enableval" = yes; then
1875 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
1876 else
1877 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
1878 fi
1879
1880else
1881
1882 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1883 if test "x$LINE" != x ; then
1884 eval "DEFAULT_$LINE"
1885 else
1886 no_cache=1
1887 fi
1888
1889 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1890
1891fi
1892
1893
1894 eval "$ac_cv_use_universal"
1895 if test "$no_cache" != 1; then
1896 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1897 fi
1898
1899 if test "$wxUSE_UNIVERSAL" = yes; then
1900 echo "$ac_t""yes" 1>&6
1901 else
1902 echo "$ac_t""no" 1>&6
1903 fi
1904
1905# Check whether --with-gtk or --without-gtk was given.
1906if test "${with_gtk+set}" = set; then
1907 withval="$with_gtk"
1908 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
1909fi
1910
1911# Check whether --with-motif or --without-motif was given.
1912if test "${with_motif+set}" = set; then
1913 withval="$with_motif"
1914 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
1915fi
1916
1917# Check whether --with-mac or --without-mac was given.
1918if test "${with_mac+set}" = set; then
1919 withval="$with_mac"
1920 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
1921fi
1922
1923# Check whether --with-wine or --without-wine was given.
1924if test "${with_wine+set}" = set; then
1925 withval="$with_wine"
1926 wxUSE_WINE="$withval" CACHE_WINE=1 TOOLKIT_GIVEN=1
1927fi
1928
1929# Check whether --with-msw or --without-msw was given.
1930if test "${with_msw+set}" = set; then
1931 withval="$with_msw"
1932 wxUSE_MSW="$withval" CACHE_MSW TOOLKIT_GIVEN=1
1933fi
1934
1935# Check whether --with-pm or --without-pm was given.
1936if test "${with_pm+set}" = set; then
1937 withval="$with_pm"
1938 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
1939fi
1940
1941# Check whether --with-mgl or --without-mgl was given.
1942if test "${with_mgl+set}" = set; then
1943 withval="$with_mgl"
1944 wxUSE_MGL="$withval" CACHE_MGL=1 TOOLKIT_GIVEN=1
1945fi
1946
1947# Check whether --with-microwin or --without-microwin was given.
1948if test "${with_microwin+set}" = set; then
1949 withval="$with_microwin"
1950 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
1951fi
1952
1953# Check whether --with-x11 or --without-x11 was given.
1954if test "${with_x11+set}" = set; then
1955 withval="$with_x11"
1956 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
1957fi
1958
1959
1960 echo $ac_n "checking for --enable-nanox""... $ac_c" 1>&6
1961echo "configure:1962: checking for --enable-nanox" >&5
1962 no_cache=0
1963 # Check whether --enable-nanox or --disable-nanox was given.
1964if test "${enable_nanox+set}" = set; then
1965 enableval="$enable_nanox"
1966
1967 if test "$enableval" = yes; then
1968 ac_cv_use_nanox='wxUSE_NANOX=yes'
1969 else
1970 ac_cv_use_nanox='wxUSE_NANOX=no'
1971 fi
1972
1973else
1974
1975 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1976 if test "x$LINE" != x ; then
1977 eval "DEFAULT_$LINE"
1978 else
1979 no_cache=1
1980 fi
1981
1982 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1983
1984fi
1985
1986
1987 eval "$ac_cv_use_nanox"
1988 if test "$no_cache" != 1; then
1989 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1990 fi
1991
1992 if test "$wxUSE_NANOX" = yes; then
1993 echo "$ac_t""yes" 1>&6
1994 else
1995 echo "$ac_t""no" 1>&6
1996 fi
1997
1998
1999# Check whether --enable-gtk2 or --disable-gtk2 was given.
2000if test "${enable_gtk2+set}" = set; then
2001 enableval="$enable_gtk2"
2002 wxUSE_GTK2="yes"
2003else
2004 wxUSE_GTK2="no"
2005fi
2006
2007
2008
2009 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
2010echo "configure:2011: checking for --with-libpng" >&5
2011 no_cache=0
2012 # Check whether --with-libpng or --without-libpng was given.
2013if test "${with_libpng+set}" = set; then
2014 withval="$with_libpng"
2015
2016 if test "$withval" = yes; then
2017 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2018 elif test "$withval" = no; then
2019 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2020 elif test "$withval" = sys; then
2021 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2022 elif test "$withval" = builtin; then
2023 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2024 else
2025 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2026 fi
2027
2028else
2029
2030 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2031 if test "x$LINE" != x ; then
2032 eval "DEFAULT_$LINE"
2033 else
2034 no_cache=1
2035 fi
2036
2037 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2038
2039fi
2040
2041
2042 eval "$ac_cv_use_libpng"
2043 if test "$no_cache" != 1; then
2044 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2045 fi
2046
2047 if test "$wxUSE_LIBPNG" = yes; then
2048 echo "$ac_t""yes" 1>&6
2049 elif test "$wxUSE_LIBPNG" = no; then
2050 echo "$ac_t""no" 1>&6
2051 elif test "$wxUSE_LIBPNG" = sys; then
2052 echo "$ac_t""system version" 1>&6
2053 elif test "$wxUSE_LIBPNG" = builtin; then
2054 echo "$ac_t""builtin version" 1>&6
2055 else
2056 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2057 fi
2058
2059
2060 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2061echo "configure:2062: checking for --with-libjpeg" >&5
2062 no_cache=0
2063 # Check whether --with-libjpeg or --without-libjpeg was given.
2064if test "${with_libjpeg+set}" = set; then
2065 withval="$with_libjpeg"
2066
2067 if test "$withval" = yes; then
2068 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2069 elif test "$withval" = no; then
2070 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2071 elif test "$withval" = sys; then
2072 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2073 elif test "$withval" = builtin; then
2074 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2075 else
2076 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2077 fi
2078
2079else
2080
2081 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2082 if test "x$LINE" != x ; then
2083 eval "DEFAULT_$LINE"
2084 else
2085 no_cache=1
2086 fi
2087
2088 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2089
2090fi
2091
2092
2093 eval "$ac_cv_use_libjpeg"
2094 if test "$no_cache" != 1; then
2095 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2096 fi
2097
2098 if test "$wxUSE_LIBJPEG" = yes; then
2099 echo "$ac_t""yes" 1>&6
2100 elif test "$wxUSE_LIBJPEG" = no; then
2101 echo "$ac_t""no" 1>&6
2102 elif test "$wxUSE_LIBJPEG" = sys; then
2103 echo "$ac_t""system version" 1>&6
2104 elif test "$wxUSE_LIBJPEG" = builtin; then
2105 echo "$ac_t""builtin version" 1>&6
2106 else
2107 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2108 fi
2109
2110
2111 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2112echo "configure:2113: checking for --with-libtiff" >&5
2113 no_cache=0
2114 # Check whether --with-libtiff or --without-libtiff was given.
2115if test "${with_libtiff+set}" = set; then
2116 withval="$with_libtiff"
2117
2118 if test "$withval" = yes; then
2119 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2120 elif test "$withval" = no; then
2121 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2122 elif test "$withval" = sys; then
2123 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2124 elif test "$withval" = builtin; then
2125 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2126 else
2127 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2128 fi
2129
2130else
2131
2132 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2133 if test "x$LINE" != x ; then
2134 eval "DEFAULT_$LINE"
2135 else
2136 no_cache=1
2137 fi
2138
2139 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2140
2141fi
2142
2143
2144 eval "$ac_cv_use_libtiff"
2145 if test "$no_cache" != 1; then
2146 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2147 fi
2148
2149 if test "$wxUSE_LIBTIFF" = yes; then
2150 echo "$ac_t""yes" 1>&6
2151 elif test "$wxUSE_LIBTIFF" = no; then
2152 echo "$ac_t""no" 1>&6
2153 elif test "$wxUSE_LIBTIFF" = sys; then
2154 echo "$ac_t""system version" 1>&6
2155 elif test "$wxUSE_LIBTIFF" = builtin; then
2156 echo "$ac_t""builtin version" 1>&6
2157 else
2158 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2159 fi
2160
2161
2162 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2163echo "configure:2164: checking for --with-opengl" >&5
2164 no_cache=0
2165 # Check whether --with-opengl or --without-opengl was given.
2166if test "${with_opengl+set}" = set; then
2167 withval="$with_opengl"
2168
2169 if test "$withval" = yes; then
2170 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2171 else
2172 ac_cv_use_opengl='wxUSE_OPENGL=no'
2173 fi
2174
2175else
2176
2177 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2178 if test "x$LINE" != x ; then
2179 eval "DEFAULT_$LINE"
2180 else
2181 no_cache=1
2182 fi
2183
2184 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2185
2186fi
2187
2188
2189 eval "$ac_cv_use_opengl"
2190 if test "$no_cache" != 1; then
2191 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2192 fi
2193
2194 if test "$wxUSE_OPENGL" = yes; then
2195 echo "$ac_t""yes" 1>&6
2196 else
2197 echo "$ac_t""no" 1>&6
2198 fi
2199
2200
2201fi
2202
2203
2204 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2205echo "configure:2206: checking for --with-dmalloc" >&5
2206 no_cache=0
2207 # Check whether --with-dmalloc or --without-dmalloc was given.
2208if test "${with_dmalloc+set}" = set; then
2209 withval="$with_dmalloc"
2210
2211 if test "$withval" = yes; then
2212 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2213 else
2214 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2215 fi
2216
2217else
2218
2219 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2220 if test "x$LINE" != x ; then
2221 eval "DEFAULT_$LINE"
2222 else
2223 no_cache=1
2224 fi
2225
2226 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2227
2228fi
2229
2230
2231 eval "$ac_cv_use_dmalloc"
2232 if test "$no_cache" != 1; then
2233 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2234 fi
2235
2236 if test "$wxUSE_DMALLOC" = yes; then
2237 echo "$ac_t""yes" 1>&6
2238 else
2239 echo "$ac_t""no" 1>&6
2240 fi
2241
2242
2243 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2244echo "configure:2245: checking for --with-regex" >&5
2245 no_cache=0
2246 # Check whether --with-regex or --without-regex was given.
2247if test "${with_regex+set}" = set; then
2248 withval="$with_regex"
2249
2250 if test "$withval" = yes; then
2251 ac_cv_use_regex='wxUSE_REGEX=yes'
2252 elif test "$withval" = no; then
2253 ac_cv_use_regex='wxUSE_REGEX=no'
2254 elif test "$withval" = sys; then
2255 ac_cv_use_regex='wxUSE_REGEX=sys'
2256 elif test "$withval" = builtin; then
2257 ac_cv_use_regex='wxUSE_REGEX=builtin'
2258 else
2259 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2260 fi
2261
2262else
2263
2264 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2265 if test "x$LINE" != x ; then
2266 eval "DEFAULT_$LINE"
2267 else
2268 no_cache=1
2269 fi
2270
2271 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2272
2273fi
2274
2275
2276 eval "$ac_cv_use_regex"
2277 if test "$no_cache" != 1; then
2278 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2279 fi
2280
2281 if test "$wxUSE_REGEX" = yes; then
2282 echo "$ac_t""yes" 1>&6
2283 elif test "$wxUSE_REGEX" = no; then
2284 echo "$ac_t""no" 1>&6
2285 elif test "$wxUSE_REGEX" = sys; then
2286 echo "$ac_t""system version" 1>&6
2287 elif test "$wxUSE_REGEX" = builtin; then
2288 echo "$ac_t""builtin version" 1>&6
2289 else
2290 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2291 fi
2292
2293
2294 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2295echo "configure:2296: checking for --with-zlib" >&5
2296 no_cache=0
2297 # Check whether --with-zlib or --without-zlib was given.
2298if test "${with_zlib+set}" = set; then
2299 withval="$with_zlib"
2300
2301 if test "$withval" = yes; then
2302 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2303 elif test "$withval" = no; then
2304 ac_cv_use_zlib='wxUSE_ZLIB=no'
2305 elif test "$withval" = sys; then
2306 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2307 elif test "$withval" = builtin; then
2308 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2309 else
2310 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2311 fi
2312
2313else
2314
2315 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2316 if test "x$LINE" != x ; then
2317 eval "DEFAULT_$LINE"
2318 else
2319 no_cache=1
2320 fi
2321
2322 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2323
2324fi
2325
2326
2327 eval "$ac_cv_use_zlib"
2328 if test "$no_cache" != 1; then
2329 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2330 fi
2331
2332 if test "$wxUSE_ZLIB" = yes; then
2333 echo "$ac_t""yes" 1>&6
2334 elif test "$wxUSE_ZLIB" = no; then
2335 echo "$ac_t""no" 1>&6
2336 elif test "$wxUSE_ZLIB" = sys; then
2337 echo "$ac_t""system version" 1>&6
2338 elif test "$wxUSE_ZLIB" = builtin; then
2339 echo "$ac_t""builtin version" 1>&6
2340 else
2341 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2342 fi
2343
2344
2345 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2346echo "configure:2347: checking for --with-odbc" >&5
2347 no_cache=0
2348 # Check whether --with-odbc or --without-odbc was given.
2349if test "${with_odbc+set}" = set; then
2350 withval="$with_odbc"
2351
2352 if test "$withval" = yes; then
2353 ac_cv_use_odbc='wxUSE_ODBC=yes'
2354 else
2355 ac_cv_use_odbc='wxUSE_ODBC=no'
2356 fi
2357
2358else
2359
2360 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2361 if test "x$LINE" != x ; then
2362 eval "DEFAULT_$LINE"
2363 else
2364 no_cache=1
2365 fi
2366
2367 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2368
2369fi
2370
2371
2372 eval "$ac_cv_use_odbc"
2373 if test "$no_cache" != 1; then
2374 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2375 fi
2376
2377 if test "$wxUSE_ODBC" = yes; then
2378 echo "$ac_t""yes" 1>&6
2379 else
2380 echo "$ac_t""no" 1>&6
2381 fi
2382
2383
2384
2385
2386 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2387echo "configure:2388: checking for --enable-shared" >&5
2388 no_cache=0
2389 # Check whether --enable-shared or --disable-shared was given.
2390if test "${enable_shared+set}" = set; then
2391 enableval="$enable_shared"
2392
2393 if test "$enableval" = yes; then
2394 ac_cv_use_shared='wxUSE_SHARED=yes'
2395 else
2396 ac_cv_use_shared='wxUSE_SHARED=no'
2397 fi
2398
2399else
2400
2401 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2402 if test "x$LINE" != x ; then
2403 eval "DEFAULT_$LINE"
2404 else
2405 no_cache=1
2406 fi
2407
2408 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2409
2410fi
2411
2412
2413 eval "$ac_cv_use_shared"
2414 if test "$no_cache" != 1; then
2415 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2416 fi
2417
2418 if test "$wxUSE_SHARED" = yes; then
2419 echo "$ac_t""yes" 1>&6
2420 else
2421 echo "$ac_t""no" 1>&6
2422 fi
2423
2424
2425 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2426echo "configure:2427: checking for --enable-soname" >&5
2427 no_cache=0
2428 # Check whether --enable-soname or --disable-soname was given.
2429if test "${enable_soname+set}" = set; then
2430 enableval="$enable_soname"
2431
2432 if test "$enableval" = yes; then
2433 ac_cv_use_soname='wxUSE_SONAME=yes'
2434 else
2435 ac_cv_use_soname='wxUSE_SONAME=no'
2436 fi
2437
2438else
2439
2440 LINE=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2441 if test "x$LINE" != x ; then
2442 eval "DEFAULT_$LINE"
2443 else
2444 no_cache=1
2445 fi
2446
2447 ac_cv_use_soname='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2448
2449fi
2450
2451
2452 eval "$ac_cv_use_soname"
2453 if test "$no_cache" != 1; then
2454 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2455 fi
2456
2457 if test "$wxUSE_SONAME" = yes; then
2458 echo "$ac_t""yes" 1>&6
2459 else
2460 echo "$ac_t""no" 1>&6
2461 fi
2462
2463
2464 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2465echo "configure:2466: checking for --enable-optimise" >&5
2466 no_cache=0
2467 # Check whether --enable-optimise or --disable-optimise was given.
2468if test "${enable_optimise+set}" = set; then
2469 enableval="$enable_optimise"
2470
2471 if test "$enableval" = yes; then
2472 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
2473 else
2474 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
2475 fi
2476
2477else
2478
2479 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2480 if test "x$LINE" != x ; then
2481 eval "DEFAULT_$LINE"
2482 else
2483 no_cache=1
2484 fi
2485
2486 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2487
2488fi
2489
2490
2491 eval "$ac_cv_use_optimise"
2492 if test "$no_cache" != 1; then
2493 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2494 fi
2495
2496 if test "$wxUSE_OPTIMISE" = yes; then
2497 echo "$ac_t""yes" 1>&6
2498 else
2499 echo "$ac_t""no" 1>&6
2500 fi
2501
2502
2503 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2504echo "configure:2505: checking for --enable-debug" >&5
2505 no_cache=0
2506 # Check whether --enable-debug or --disable-debug was given.
2507if test "${enable_debug+set}" = set; then
2508 enableval="$enable_debug"
2509
2510 if test "$enableval" = yes; then
2511 ac_cv_use_debug='wxUSE_DEBUG=yes'
2512 else
2513 ac_cv_use_debug='wxUSE_DEBUG=no'
2514 fi
2515
2516else
2517
2518 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2519 if test "x$LINE" != x ; then
2520 eval "DEFAULT_$LINE"
2521 else
2522 no_cache=1
2523 fi
2524
2525 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2526
2527fi
2528
2529
2530 eval "$ac_cv_use_debug"
2531 if test "$no_cache" != 1; then
2532 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2533 fi
2534
2535 if test "$wxUSE_DEBUG" = yes; then
2536 echo "$ac_t""yes" 1>&6
2537 else
2538 echo "$ac_t""no" 1>&6
2539 fi
2540
2541
2542
2543 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2544echo "configure:2545: checking for --enable-precomp" >&5
2545 no_cache=0
2546 # Check whether --enable-precomp or --disable-precomp was given.
2547if test "${enable_precomp+set}" = set; then
2548 enableval="$enable_precomp"
2549
2550 if test "$enableval" = yes; then
2551 ac_cv_use_precomp='wxUSE_PRECOMP=yes'
2552 else
2553 ac_cv_use_precomp='wxUSE_PRECOMP=no'
2554 fi
2555
2556else
2557
2558 LINE=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2559 if test "x$LINE" != x ; then
2560 eval "DEFAULT_$LINE"
2561 else
2562 no_cache=1
2563 fi
2564
2565 ac_cv_use_precomp='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2566
2567fi
2568
2569
2570 eval "$ac_cv_use_precomp"
2571 if test "$no_cache" != 1; then
2572 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2573 fi
2574
2575 if test "$wxUSE_PRECOMP" = yes; then
2576 echo "$ac_t""yes" 1>&6
2577 else
2578 echo "$ac_t""no" 1>&6
2579 fi
2580
2581
2582if test "$wxUSE_DEBUG" = "yes"; then
2583 DEFAULT_wxUSE_DEBUG_FLAG=yes
2584 DEFAULT_wxUSE_DEBUG_INFO=yes
2585elif test "$wxUSE_DEBUG" = "no"; then
2586 DEFAULT_wxUSE_DEBUG_FLAG=no
2587 DEFAULT_wxUSE_DEBUG_INFO=no
2588fi
2589
2590
2591 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2592echo "configure:2593: checking for --enable-debug_flag" >&5
2593 no_cache=0
2594 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2595if test "${enable_debug_flag+set}" = set; then
2596 enableval="$enable_debug_flag"
2597
2598 if test "$enableval" = yes; then
2599 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
2600 else
2601 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
2602 fi
2603
2604else
2605
2606 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2607 if test "x$LINE" != x ; then
2608 eval "DEFAULT_$LINE"
2609 else
2610 no_cache=1
2611 fi
2612
2613 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2614
2615fi
2616
2617
2618 eval "$ac_cv_use_debug_flag"
2619 if test "$no_cache" != 1; then
2620 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2621 fi
2622
2623 if test "$wxUSE_DEBUG_FLAG" = yes; then
2624 echo "$ac_t""yes" 1>&6
2625 else
2626 echo "$ac_t""no" 1>&6
2627 fi
2628
2629
2630 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2631echo "configure:2632: checking for --enable-debug_info" >&5
2632 no_cache=0
2633 # Check whether --enable-debug_info or --disable-debug_info was given.
2634if test "${enable_debug_info+set}" = set; then
2635 enableval="$enable_debug_info"
2636
2637 if test "$enableval" = yes; then
2638 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
2639 else
2640 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
2641 fi
2642
2643else
2644
2645 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2646 if test "x$LINE" != x ; then
2647 eval "DEFAULT_$LINE"
2648 else
2649 no_cache=1
2650 fi
2651
2652 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2653
2654fi
2655
2656
2657 eval "$ac_cv_use_debug_info"
2658 if test "$no_cache" != 1; then
2659 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2660 fi
2661
2662 if test "$wxUSE_DEBUG_INFO" = yes; then
2663 echo "$ac_t""yes" 1>&6
2664 else
2665 echo "$ac_t""no" 1>&6
2666 fi
2667
2668
2669 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2670echo "configure:2671: checking for --enable-debug_gdb" >&5
2671 no_cache=0
2672 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2673if test "${enable_debug_gdb+set}" = set; then
2674 enableval="$enable_debug_gdb"
2675
2676 if test "$enableval" = yes; then
2677 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
2678 else
2679 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
2680 fi
2681
2682else
2683
2684 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2685 if test "x$LINE" != x ; then
2686 eval "DEFAULT_$LINE"
2687 else
2688 no_cache=1
2689 fi
2690
2691 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2692
2693fi
2694
2695
2696 eval "$ac_cv_use_debug_gdb"
2697 if test "$no_cache" != 1; then
2698 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2699 fi
2700
2701 if test "$wxUSE_DEBUG_GDB" = yes; then
2702 echo "$ac_t""yes" 1>&6
2703 else
2704 echo "$ac_t""no" 1>&6
2705 fi
2706
2707
2708 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2709echo "configure:2710: checking for --enable-debug_cntxt" >&5
2710 no_cache=0
2711 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2712if test "${enable_debug_cntxt+set}" = set; then
2713 enableval="$enable_debug_cntxt"
2714
2715 if test "$enableval" = yes; then
2716 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
2717 else
2718 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
2719 fi
2720
2721else
2722
2723 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2724 if test "x$LINE" != x ; then
2725 eval "DEFAULT_$LINE"
2726 else
2727 no_cache=1
2728 fi
2729
2730 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2731
2732fi
2733
2734
2735 eval "$ac_cv_use_debug_cntxt"
2736 if test "$no_cache" != 1; then
2737 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2738 fi
2739
2740 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2741 echo "$ac_t""yes" 1>&6
2742 else
2743 echo "$ac_t""no" 1>&6
2744 fi
2745
2746
2747 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2748echo "configure:2749: checking for --enable-mem_tracing" >&5
2749 no_cache=0
2750 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2751if test "${enable_mem_tracing+set}" = set; then
2752 enableval="$enable_mem_tracing"
2753
2754 if test "$enableval" = yes; then
2755 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
2756 else
2757 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
2758 fi
2759
2760else
2761
2762 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2763 if test "x$LINE" != x ; then
2764 eval "DEFAULT_$LINE"
2765 else
2766 no_cache=1
2767 fi
2768
2769 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2770
2771fi
2772
2773
2774 eval "$ac_cv_use_mem_tracing"
2775 if test "$no_cache" != 1; then
2776 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2777 fi
2778
2779 if test "$wxUSE_MEM_TRACING" = yes; then
2780 echo "$ac_t""yes" 1>&6
2781 else
2782 echo "$ac_t""no" 1>&6
2783 fi
2784
2785
2786 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2787echo "configure:2788: checking for --enable-profile" >&5
2788 no_cache=0
2789 # Check whether --enable-profile or --disable-profile was given.
2790if test "${enable_profile+set}" = set; then
2791 enableval="$enable_profile"
2792
2793 if test "$enableval" = yes; then
2794 ac_cv_use_profile='wxUSE_PROFILE=yes'
2795 else
2796 ac_cv_use_profile='wxUSE_PROFILE=no'
2797 fi
2798
2799else
2800
2801 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2802 if test "x$LINE" != x ; then
2803 eval "DEFAULT_$LINE"
2804 else
2805 no_cache=1
2806 fi
2807
2808 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2809
2810fi
2811
2812
2813 eval "$ac_cv_use_profile"
2814 if test "$no_cache" != 1; then
2815 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2816 fi
2817
2818 if test "$wxUSE_PROFILE" = yes; then
2819 echo "$ac_t""yes" 1>&6
2820 else
2821 echo "$ac_t""no" 1>&6
2822 fi
2823
2824
2825 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2826echo "configure:2827: checking for --enable-no_rtti" >&5
2827 no_cache=0
2828 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2829if test "${enable_no_rtti+set}" = set; then
2830 enableval="$enable_no_rtti"
2831
2832 if test "$enableval" = yes; then
2833 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
2834 else
2835 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
2836 fi
2837
2838else
2839
2840 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2841 if test "x$LINE" != x ; then
2842 eval "DEFAULT_$LINE"
2843 else
2844 no_cache=1
2845 fi
2846
2847 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2848
2849fi
2850
2851
2852 eval "$ac_cv_use_no_rtti"
2853 if test "$no_cache" != 1; then
2854 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2855 fi
2856
2857 if test "$wxUSE_NO_RTTI" = yes; then
2858 echo "$ac_t""yes" 1>&6
2859 else
2860 echo "$ac_t""no" 1>&6
2861 fi
2862
2863
2864 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2865echo "configure:2866: checking for --enable-no_exceptions" >&5
2866 no_cache=0
2867 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2868if test "${enable_no_exceptions+set}" = set; then
2869 enableval="$enable_no_exceptions"
2870
2871 if test "$enableval" = yes; then
2872 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
2873 else
2874 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
2875 fi
2876
2877else
2878
2879 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2880 if test "x$LINE" != x ; then
2881 eval "DEFAULT_$LINE"
2882 else
2883 no_cache=1
2884 fi
2885
2886 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2887
2888fi
2889
2890
2891 eval "$ac_cv_use_no_exceptions"
2892 if test "$no_cache" != 1; then
2893 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2894 fi
2895
2896 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2897 echo "$ac_t""yes" 1>&6
2898 else
2899 echo "$ac_t""no" 1>&6
2900 fi
2901
2902
2903 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2904echo "configure:2905: checking for --enable-permissive" >&5
2905 no_cache=0
2906 # Check whether --enable-permissive or --disable-permissive was given.
2907if test "${enable_permissive+set}" = set; then
2908 enableval="$enable_permissive"
2909
2910 if test "$enableval" = yes; then
2911 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
2912 else
2913 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
2914 fi
2915
2916else
2917
2918 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2919 if test "x$LINE" != x ; then
2920 eval "DEFAULT_$LINE"
2921 else
2922 no_cache=1
2923 fi
2924
2925 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2926
2927fi
2928
2929
2930 eval "$ac_cv_use_permissive"
2931 if test "$no_cache" != 1; then
2932 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2933 fi
2934
2935 if test "$wxUSE_PERMISSIVE" = yes; then
2936 echo "$ac_t""yes" 1>&6
2937 else
2938 echo "$ac_t""no" 1>&6
2939 fi
2940
2941
2942 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2943echo "configure:2944: checking for --enable-no_deps" >&5
2944 no_cache=0
2945 # Check whether --enable-no_deps or --disable-no_deps was given.
2946if test "${enable_no_deps+set}" = set; then
2947 enableval="$enable_no_deps"
2948
2949 if test "$enableval" = yes; then
2950 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
2951 else
2952 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
2953 fi
2954
2955else
2956
2957 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2958 if test "x$LINE" != x ; then
2959 eval "DEFAULT_$LINE"
2960 else
2961 no_cache=1
2962 fi
2963
2964 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2965
2966fi
2967
2968
2969 eval "$ac_cv_use_no_deps"
2970 if test "$no_cache" != 1; then
2971 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2972 fi
2973
2974 if test "$wxUSE_NO_DEPS" = yes; then
2975 echo "$ac_t""yes" 1>&6
2976 else
2977 echo "$ac_t""no" 1>&6
2978 fi
2979
2980
2981
2982 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2983echo "configure:2984: checking for --enable-compat20" >&5
2984 no_cache=0
2985 # Check whether --enable-compat20 or --disable-compat20 was given.
2986if test "${enable_compat20+set}" = set; then
2987 enableval="$enable_compat20"
2988
2989 if test "$enableval" = yes; then
2990 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
2991 else
2992 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
2993 fi
2994
2995else
2996
2997 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2998 if test "x$LINE" != x ; then
2999 eval "DEFAULT_$LINE"
3000 else
3001 no_cache=1
3002 fi
3003
3004 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3005
3006fi
3007
3008
3009 eval "$ac_cv_use_compat20"
3010 if test "$no_cache" != 1; then
3011 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3012 fi
3013
3014 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3015 echo "$ac_t""yes" 1>&6
3016 else
3017 echo "$ac_t""no" 1>&6
3018 fi
3019
3020
3021 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
3022echo "configure:3023: checking for --enable-compat22" >&5
3023 no_cache=0
3024 # Check whether --enable-compat22 or --disable-compat22 was given.
3025if test "${enable_compat22+set}" = set; then
3026 enableval="$enable_compat22"
3027
3028 if test "$enableval" = yes; then
3029 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3030 else
3031 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3032 fi
3033
3034else
3035
3036 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3037 if test "x$LINE" != x ; then
3038 eval "DEFAULT_$LINE"
3039 else
3040 no_cache=1
3041 fi
3042
3043 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3044
3045fi
3046
3047
3048 eval "$ac_cv_use_compat22"
3049 if test "$no_cache" != 1; then
3050 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3051 fi
3052
3053 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3054 echo "$ac_t""yes" 1>&6
3055 else
3056 echo "$ac_t""no" 1>&6
3057 fi
3058
3059
3060
3061
3062 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3063echo "configure:3064: checking for --enable-intl" >&5
3064 no_cache=0
3065 # Check whether --enable-intl or --disable-intl was given.
3066if test "${enable_intl+set}" = set; then
3067 enableval="$enable_intl"
3068
3069 if test "$enableval" = yes; then
3070 ac_cv_use_intl='wxUSE_INTL=yes'
3071 else
3072 ac_cv_use_intl='wxUSE_INTL=no'
3073 fi
3074
3075else
3076
3077 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3078 if test "x$LINE" != x ; then
3079 eval "DEFAULT_$LINE"
3080 else
3081 no_cache=1
3082 fi
3083
3084 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3085
3086fi
3087
3088
3089 eval "$ac_cv_use_intl"
3090 if test "$no_cache" != 1; then
3091 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3092 fi
3093
3094 if test "$wxUSE_INTL" = yes; then
3095 echo "$ac_t""yes" 1>&6
3096 else
3097 echo "$ac_t""no" 1>&6
3098 fi
3099
3100
3101 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3102echo "configure:3103: checking for --enable-config" >&5
3103 no_cache=0
3104 # Check whether --enable-config or --disable-config was given.
3105if test "${enable_config+set}" = set; then
3106 enableval="$enable_config"
3107
3108 if test "$enableval" = yes; then
3109 ac_cv_use_config='wxUSE_CONFIG=yes'
3110 else
3111 ac_cv_use_config='wxUSE_CONFIG=no'
3112 fi
3113
3114else
3115
3116 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3117 if test "x$LINE" != x ; then
3118 eval "DEFAULT_$LINE"
3119 else
3120 no_cache=1
3121 fi
3122
3123 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3124
3125fi
3126
3127
3128 eval "$ac_cv_use_config"
3129 if test "$no_cache" != 1; then
3130 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3131 fi
3132
3133 if test "$wxUSE_CONFIG" = yes; then
3134 echo "$ac_t""yes" 1>&6
3135 else
3136 echo "$ac_t""no" 1>&6
3137 fi
3138
3139
3140
3141 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3142echo "configure:3143: checking for --enable-protocols" >&5
3143 no_cache=0
3144 # Check whether --enable-protocols or --disable-protocols was given.
3145if test "${enable_protocols+set}" = set; then
3146 enableval="$enable_protocols"
3147
3148 if test "$enableval" = yes; then
3149 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3150 else
3151 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3152 fi
3153
3154else
3155
3156 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3157 if test "x$LINE" != x ; then
3158 eval "DEFAULT_$LINE"
3159 else
3160 no_cache=1
3161 fi
3162
3163 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3164
3165fi
3166
3167
3168 eval "$ac_cv_use_protocols"
3169 if test "$no_cache" != 1; then
3170 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3171 fi
3172
3173 if test "$wxUSE_PROTOCOL" = yes; then
3174 echo "$ac_t""yes" 1>&6
3175 else
3176 echo "$ac_t""no" 1>&6
3177 fi
3178
3179
3180 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3181echo "configure:3182: checking for --enable-ftp" >&5
3182 no_cache=0
3183 # Check whether --enable-ftp or --disable-ftp was given.
3184if test "${enable_ftp+set}" = set; then
3185 enableval="$enable_ftp"
3186
3187 if test "$enableval" = yes; then
3188 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3189 else
3190 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3191 fi
3192
3193else
3194
3195 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3196 if test "x$LINE" != x ; then
3197 eval "DEFAULT_$LINE"
3198 else
3199 no_cache=1
3200 fi
3201
3202 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3203
3204fi
3205
3206
3207 eval "$ac_cv_use_ftp"
3208 if test "$no_cache" != 1; then
3209 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3210 fi
3211
3212 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3213 echo "$ac_t""yes" 1>&6
3214 else
3215 echo "$ac_t""no" 1>&6
3216 fi
3217
3218
3219 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3220echo "configure:3221: checking for --enable-http" >&5
3221 no_cache=0
3222 # Check whether --enable-http or --disable-http was given.
3223if test "${enable_http+set}" = set; then
3224 enableval="$enable_http"
3225
3226 if test "$enableval" = yes; then
3227 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3228 else
3229 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3230 fi
3231
3232else
3233
3234 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3235 if test "x$LINE" != x ; then
3236 eval "DEFAULT_$LINE"
3237 else
3238 no_cache=1
3239 fi
3240
3241 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3242
3243fi
3244
3245
3246 eval "$ac_cv_use_http"
3247 if test "$no_cache" != 1; then
3248 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3249 fi
3250
3251 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3252 echo "$ac_t""yes" 1>&6
3253 else
3254 echo "$ac_t""no" 1>&6
3255 fi
3256
3257
3258 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3259echo "configure:3260: checking for --enable-fileproto" >&5
3260 no_cache=0
3261 # Check whether --enable-fileproto or --disable-fileproto was given.
3262if test "${enable_fileproto+set}" = set; then
3263 enableval="$enable_fileproto"
3264
3265 if test "$enableval" = yes; then
3266 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3267 else
3268 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3269 fi
3270
3271else
3272
3273 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3274 if test "x$LINE" != x ; then
3275 eval "DEFAULT_$LINE"
3276 else
3277 no_cache=1
3278 fi
3279
3280 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3281
3282fi
3283
3284
3285 eval "$ac_cv_use_fileproto"
3286 if test "$no_cache" != 1; then
3287 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3288 fi
3289
3290 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3291 echo "$ac_t""yes" 1>&6
3292 else
3293 echo "$ac_t""no" 1>&6
3294 fi
3295
3296
3297 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3298echo "configure:3299: checking for --enable-sockets" >&5
3299 no_cache=0
3300 # Check whether --enable-sockets or --disable-sockets was given.
3301if test "${enable_sockets+set}" = set; then
3302 enableval="$enable_sockets"
3303
3304 if test "$enableval" = yes; then
3305 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
3306 else
3307 ac_cv_use_sockets='wxUSE_SOCKETS=no'
3308 fi
3309
3310else
3311
3312 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3313 if test "x$LINE" != x ; then
3314 eval "DEFAULT_$LINE"
3315 else
3316 no_cache=1
3317 fi
3318
3319 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3320
3321fi
3322
3323
3324 eval "$ac_cv_use_sockets"
3325 if test "$no_cache" != 1; then
3326 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3327 fi
3328
3329 if test "$wxUSE_SOCKETS" = yes; then
3330 echo "$ac_t""yes" 1>&6
3331 else
3332 echo "$ac_t""no" 1>&6
3333 fi
3334
3335
3336
3337 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3338echo "configure:3339: checking for --enable-ipc" >&5
3339 no_cache=0
3340 # Check whether --enable-ipc or --disable-ipc was given.
3341if test "${enable_ipc+set}" = set; then
3342 enableval="$enable_ipc"
3343
3344 if test "$enableval" = yes; then
3345 ac_cv_use_ipc='wxUSE_IPC=yes'
3346 else
3347 ac_cv_use_ipc='wxUSE_IPC=no'
3348 fi
3349
3350else
3351
3352 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3353 if test "x$LINE" != x ; then
3354 eval "DEFAULT_$LINE"
3355 else
3356 no_cache=1
3357 fi
3358
3359 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3360
3361fi
3362
3363
3364 eval "$ac_cv_use_ipc"
3365 if test "$no_cache" != 1; then
3366 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3367 fi
3368
3369 if test "$wxUSE_IPC" = yes; then
3370 echo "$ac_t""yes" 1>&6
3371 else
3372 echo "$ac_t""no" 1>&6
3373 fi
3374
3375
3376
3377 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3378echo "configure:3379: checking for --enable-cmdline" >&5
3379 no_cache=0
3380 # Check whether --enable-cmdline or --disable-cmdline was given.
3381if test "${enable_cmdline+set}" = set; then
3382 enableval="$enable_cmdline"
3383
3384 if test "$enableval" = yes; then
3385 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
3386 else
3387 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
3388 fi
3389
3390else
3391
3392 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3393 if test "x$LINE" != x ; then
3394 eval "DEFAULT_$LINE"
3395 else
3396 no_cache=1
3397 fi
3398
3399 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3400
3401fi
3402
3403
3404 eval "$ac_cv_use_cmdline"
3405 if test "$no_cache" != 1; then
3406 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3407 fi
3408
3409 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3410 echo "$ac_t""yes" 1>&6
3411 else
3412 echo "$ac_t""no" 1>&6
3413 fi
3414
3415
3416 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3417echo "configure:3418: checking for --enable-datetime" >&5
3418 no_cache=0
3419 # Check whether --enable-datetime or --disable-datetime was given.
3420if test "${enable_datetime+set}" = set; then
3421 enableval="$enable_datetime"
3422
3423 if test "$enableval" = yes; then
3424 ac_cv_use_datetime='wxUSE_DATETIME=yes'
3425 else
3426 ac_cv_use_datetime='wxUSE_DATETIME=no'
3427 fi
3428
3429else
3430
3431 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3432 if test "x$LINE" != x ; then
3433 eval "DEFAULT_$LINE"
3434 else
3435 no_cache=1
3436 fi
3437
3438 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3439
3440fi
3441
3442
3443 eval "$ac_cv_use_datetime"
3444 if test "$no_cache" != 1; then
3445 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3446 fi
3447
3448 if test "$wxUSE_DATETIME" = yes; then
3449 echo "$ac_t""yes" 1>&6
3450 else
3451 echo "$ac_t""no" 1>&6
3452 fi
3453
3454
3455 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3456echo "configure:3457: checking for --enable-timedate" >&5
3457 no_cache=0
3458 # Check whether --enable-timedate or --disable-timedate was given.
3459if test "${enable_timedate+set}" = set; then
3460 enableval="$enable_timedate"
3461
3462 if test "$enableval" = yes; then
3463 ac_cv_use_timedate='wxUSE_TIMEDATE=yes'
3464 else
3465 ac_cv_use_timedate='wxUSE_TIMEDATE=no'
3466 fi
3467
3468else
3469
3470 LINE=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3471 if test "x$LINE" != x ; then
3472 eval "DEFAULT_$LINE"
3473 else
3474 no_cache=1
3475 fi
3476
3477 ac_cv_use_timedate='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3478
3479fi
3480
3481
3482 eval "$ac_cv_use_timedate"
3483 if test "$no_cache" != 1; then
3484 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3485 fi
3486
3487 if test "$wxUSE_TIMEDATE" = yes; then
3488 echo "$ac_t""yes" 1>&6
3489 else
3490 echo "$ac_t""no" 1>&6
3491 fi
3492
3493
3494 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3495echo "configure:3496: checking for --enable-stopwatch" >&5
3496 no_cache=0
3497 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3498if test "${enable_stopwatch+set}" = set; then
3499 enableval="$enable_stopwatch"
3500
3501 if test "$enableval" = yes; then
3502 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
3503 else
3504 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
3505 fi
3506
3507else
3508
3509 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3510 if test "x$LINE" != x ; then
3511 eval "DEFAULT_$LINE"
3512 else
3513 no_cache=1
3514 fi
3515
3516 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3517
3518fi
3519
3520
3521 eval "$ac_cv_use_stopwatch"
3522 if test "$no_cache" != 1; then
3523 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3524 fi
3525
3526 if test "$wxUSE_STOPWATCH" = yes; then
3527 echo "$ac_t""yes" 1>&6
3528 else
3529 echo "$ac_t""no" 1>&6
3530 fi
3531
3532
3533 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3534echo "configure:3535: checking for --enable-dialupman" >&5
3535 no_cache=0
3536 # Check whether --enable-dialupman or --disable-dialupman was given.
3537if test "${enable_dialupman+set}" = set; then
3538 enableval="$enable_dialupman"
3539
3540 if test "$enableval" = yes; then
3541 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
3542 else
3543 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
3544 fi
3545
3546else
3547
3548 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3549 if test "x$LINE" != x ; then
3550 eval "DEFAULT_$LINE"
3551 else
3552 no_cache=1
3553 fi
3554
3555 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3556
3557fi
3558
3559
3560 eval "$ac_cv_use_dialupman"
3561 if test "$no_cache" != 1; then
3562 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3563 fi
3564
3565 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3566 echo "$ac_t""yes" 1>&6
3567 else
3568 echo "$ac_t""no" 1>&6
3569 fi
3570
3571
3572 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3573echo "configure:3574: checking for --enable-apple_ieee" >&5
3574 no_cache=0
3575 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3576if test "${enable_apple_ieee+set}" = set; then
3577 enableval="$enable_apple_ieee"
3578
3579 if test "$enableval" = yes; then
3580 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
3581 else
3582 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
3583 fi
3584
3585else
3586
3587 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3588 if test "x$LINE" != x ; then
3589 eval "DEFAULT_$LINE"
3590 else
3591 no_cache=1
3592 fi
3593
3594 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3595
3596fi
3597
3598
3599 eval "$ac_cv_use_apple_ieee"
3600 if test "$no_cache" != 1; then
3601 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3602 fi
3603
3604 if test "$wxUSE_APPLE_IEEE" = yes; then
3605 echo "$ac_t""yes" 1>&6
3606 else
3607 echo "$ac_t""no" 1>&6
3608 fi
3609
3610
3611 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3612echo "configure:3613: checking for --enable-timer" >&5
3613 no_cache=0
3614 # Check whether --enable-timer or --disable-timer was given.
3615if test "${enable_timer+set}" = set; then
3616 enableval="$enable_timer"
3617
3618 if test "$enableval" = yes; then
3619 ac_cv_use_timer='wxUSE_TIMER=yes'
3620 else
3621 ac_cv_use_timer='wxUSE_TIMER=no'
3622 fi
3623
3624else
3625
3626 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3627 if test "x$LINE" != x ; then
3628 eval "DEFAULT_$LINE"
3629 else
3630 no_cache=1
3631 fi
3632
3633 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3634
3635fi
3636
3637
3638 eval "$ac_cv_use_timer"
3639 if test "$no_cache" != 1; then
3640 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3641 fi
3642
3643 if test "$wxUSE_TIMER" = yes; then
3644 echo "$ac_t""yes" 1>&6
3645 else
3646 echo "$ac_t""no" 1>&6
3647 fi
3648
3649
3650 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3651echo "configure:3652: checking for --enable-wave" >&5
3652 no_cache=0
3653 # Check whether --enable-wave or --disable-wave was given.
3654if test "${enable_wave+set}" = set; then
3655 enableval="$enable_wave"
3656
3657 if test "$enableval" = yes; then
3658 ac_cv_use_wave='wxUSE_WAVE=yes'
3659 else
3660 ac_cv_use_wave='wxUSE_WAVE=no'
3661 fi
3662
3663else
3664
3665 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3666 if test "x$LINE" != x ; then
3667 eval "DEFAULT_$LINE"
3668 else
3669 no_cache=1
3670 fi
3671
3672 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3673
3674fi
3675
3676
3677 eval "$ac_cv_use_wave"
3678 if test "$no_cache" != 1; then
3679 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3680 fi
3681
3682 if test "$wxUSE_WAVE" = yes; then
3683 echo "$ac_t""yes" 1>&6
3684 else
3685 echo "$ac_t""no" 1>&6
3686 fi
3687
3688
3689 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3690echo "configure:3691: checking for --enable-fraction" >&5
3691 no_cache=0
3692 # Check whether --enable-fraction or --disable-fraction was given.
3693if test "${enable_fraction+set}" = set; then
3694 enableval="$enable_fraction"
3695
3696 if test "$enableval" = yes; then
3697 ac_cv_use_fraction='wxUSE_FRACTION=yes'
3698 else
3699 ac_cv_use_fraction='wxUSE_FRACTION=no'
3700 fi
3701
3702else
3703
3704 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3705 if test "x$LINE" != x ; then
3706 eval "DEFAULT_$LINE"
3707 else
3708 no_cache=1
3709 fi
3710
3711 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3712
3713fi
3714
3715
3716 eval "$ac_cv_use_fraction"
3717 if test "$no_cache" != 1; then
3718 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3719 fi
3720
3721 if test "$wxUSE_FRACTION" = yes; then
3722 echo "$ac_t""yes" 1>&6
3723 else
3724 echo "$ac_t""no" 1>&6
3725 fi
3726
3727
3728 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3729echo "configure:3730: checking for --enable-dynlib" >&5
3730 no_cache=0
3731 # Check whether --enable-dynlib or --disable-dynlib was given.
3732if test "${enable_dynlib+set}" = set; then
3733 enableval="$enable_dynlib"
3734
3735 if test "$enableval" = yes; then
3736 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
3737 else
3738 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
3739 fi
3740
3741else
3742
3743 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3744 if test "x$LINE" != x ; then
3745 eval "DEFAULT_$LINE"
3746 else
3747 no_cache=1
3748 fi
3749
3750 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3751
3752fi
3753
3754
3755 eval "$ac_cv_use_dynlib"
3756 if test "$no_cache" != 1; then
3757 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3758 fi
3759
3760 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3761 echo "$ac_t""yes" 1>&6
3762 else
3763 echo "$ac_t""no" 1>&6
3764 fi
3765
3766
3767 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3768echo "configure:3769: checking for --enable-dynamicloader" >&5
3769 no_cache=0
3770 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3771if test "${enable_dynamicloader+set}" = set; then
3772 enableval="$enable_dynamicloader"
3773
3774 if test "$enableval" = yes; then
3775 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
3776 else
3777 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
3778 fi
3779
3780else
3781
3782 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3783 if test "x$LINE" != x ; then
3784 eval "DEFAULT_$LINE"
3785 else
3786 no_cache=1
3787 fi
3788
3789 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3790
3791fi
3792
3793
3794 eval "$ac_cv_use_dynamicloader"
3795 if test "$no_cache" != 1; then
3796 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3797 fi
3798
3799 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3800 echo "$ac_t""yes" 1>&6
3801 else
3802 echo "$ac_t""no" 1>&6
3803 fi
3804
3805
3806 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3807echo "configure:3808: checking for --enable-longlong" >&5
3808 no_cache=0
3809 # Check whether --enable-longlong or --disable-longlong was given.
3810if test "${enable_longlong+set}" = set; then
3811 enableval="$enable_longlong"
3812
3813 if test "$enableval" = yes; then
3814 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
3815 else
3816 ac_cv_use_longlong='wxUSE_LONGLONG=no'
3817 fi
3818
3819else
3820
3821 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3822 if test "x$LINE" != x ; then
3823 eval "DEFAULT_$LINE"
3824 else
3825 no_cache=1
3826 fi
3827
3828 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3829
3830fi
3831
3832
3833 eval "$ac_cv_use_longlong"
3834 if test "$no_cache" != 1; then
3835 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3836 fi
3837
3838 if test "$wxUSE_LONGLONG" = yes; then
3839 echo "$ac_t""yes" 1>&6
3840 else
3841 echo "$ac_t""no" 1>&6
3842 fi
3843
3844
3845 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3846echo "configure:3847: checking for --enable-geometry" >&5
3847 no_cache=0
3848 # Check whether --enable-geometry or --disable-geometry was given.
3849if test "${enable_geometry+set}" = set; then
3850 enableval="$enable_geometry"
3851
3852 if test "$enableval" = yes; then
3853 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
3854 else
3855 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
3856 fi
3857
3858else
3859
3860 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3861 if test "x$LINE" != x ; then
3862 eval "DEFAULT_$LINE"
3863 else
3864 no_cache=1
3865 fi
3866
3867 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3868
3869fi
3870
3871
3872 eval "$ac_cv_use_geometry"
3873 if test "$no_cache" != 1; then
3874 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3875 fi
3876
3877 if test "$wxUSE_GEOMETRY" = yes; then
3878 echo "$ac_t""yes" 1>&6
3879 else
3880 echo "$ac_t""no" 1>&6
3881 fi
3882
3883
3884 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3885echo "configure:3886: checking for --enable-log" >&5
3886 no_cache=0
3887 # Check whether --enable-log or --disable-log was given.
3888if test "${enable_log+set}" = set; then
3889 enableval="$enable_log"
3890
3891 if test "$enableval" = yes; then
3892 ac_cv_use_log='wxUSE_LOG=yes'
3893 else
3894 ac_cv_use_log='wxUSE_LOG=no'
3895 fi
3896
3897else
3898
3899 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3900 if test "x$LINE" != x ; then
3901 eval "DEFAULT_$LINE"
3902 else
3903 no_cache=1
3904 fi
3905
3906 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3907
3908fi
3909
3910
3911 eval "$ac_cv_use_log"
3912 if test "$no_cache" != 1; then
3913 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3914 fi
3915
3916 if test "$wxUSE_LOG" = yes; then
3917 echo "$ac_t""yes" 1>&6
3918 else
3919 echo "$ac_t""no" 1>&6
3920 fi
3921
3922
3923 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3924echo "configure:3925: checking for --enable-streams" >&5
3925 no_cache=0
3926 # Check whether --enable-streams or --disable-streams was given.
3927if test "${enable_streams+set}" = set; then
3928 enableval="$enable_streams"
3929
3930 if test "$enableval" = yes; then
3931 ac_cv_use_streams='wxUSE_STREAMS=yes'
3932 else
3933 ac_cv_use_streams='wxUSE_STREAMS=no'
3934 fi
3935
3936else
3937
3938 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3939 if test "x$LINE" != x ; then
3940 eval "DEFAULT_$LINE"
3941 else
3942 no_cache=1
3943 fi
3944
3945 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3946
3947fi
3948
3949
3950 eval "$ac_cv_use_streams"
3951 if test "$no_cache" != 1; then
3952 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3953 fi
3954
3955 if test "$wxUSE_STREAMS" = yes; then
3956 echo "$ac_t""yes" 1>&6
3957 else
3958 echo "$ac_t""no" 1>&6
3959 fi
3960
3961
3962 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3963echo "configure:3964: checking for --enable-file" >&5
3964 no_cache=0
3965 # Check whether --enable-file or --disable-file was given.
3966if test "${enable_file+set}" = set; then
3967 enableval="$enable_file"
3968
3969 if test "$enableval" = yes; then
3970 ac_cv_use_file='wxUSE_FILE=yes'
3971 else
3972 ac_cv_use_file='wxUSE_FILE=no'
3973 fi
3974
3975else
3976
3977 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3978 if test "x$LINE" != x ; then
3979 eval "DEFAULT_$LINE"
3980 else
3981 no_cache=1
3982 fi
3983
3984 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3985
3986fi
3987
3988
3989 eval "$ac_cv_use_file"
3990 if test "$no_cache" != 1; then
3991 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3992 fi
3993
3994 if test "$wxUSE_FILE" = yes; then
3995 echo "$ac_t""yes" 1>&6
3996 else
3997 echo "$ac_t""no" 1>&6
3998 fi
3999
4000
4001 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
4002echo "configure:4003: checking for --enable-ffile" >&5
4003 no_cache=0
4004 # Check whether --enable-ffile or --disable-ffile was given.
4005if test "${enable_ffile+set}" = set; then
4006 enableval="$enable_ffile"
4007
4008 if test "$enableval" = yes; then
4009 ac_cv_use_ffile='wxUSE_FFILE=yes'
4010 else
4011 ac_cv_use_ffile='wxUSE_FFILE=no'
4012 fi
4013
4014else
4015
4016 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4017 if test "x$LINE" != x ; then
4018 eval "DEFAULT_$LINE"
4019 else
4020 no_cache=1
4021 fi
4022
4023 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4024
4025fi
4026
4027
4028 eval "$ac_cv_use_ffile"
4029 if test "$no_cache" != 1; then
4030 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4031 fi
4032
4033 if test "$wxUSE_FFILE" = yes; then
4034 echo "$ac_t""yes" 1>&6
4035 else
4036 echo "$ac_t""no" 1>&6
4037 fi
4038
4039
4040 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
4041echo "configure:4042: checking for --enable-textbuf" >&5
4042 no_cache=0
4043 # Check whether --enable-textbuf or --disable-textbuf was given.
4044if test "${enable_textbuf+set}" = set; then
4045 enableval="$enable_textbuf"
4046
4047 if test "$enableval" = yes; then
4048 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4049 else
4050 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4051 fi
4052
4053else
4054
4055 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4056 if test "x$LINE" != x ; then
4057 eval "DEFAULT_$LINE"
4058 else
4059 no_cache=1
4060 fi
4061
4062 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4063
4064fi
4065
4066
4067 eval "$ac_cv_use_textbuf"
4068 if test "$no_cache" != 1; then
4069 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4070 fi
4071
4072 if test "$wxUSE_TEXTBUFFER" = yes; then
4073 echo "$ac_t""yes" 1>&6
4074 else
4075 echo "$ac_t""no" 1>&6
4076 fi
4077
4078
4079 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4080echo "configure:4081: checking for --enable-textfile" >&5
4081 no_cache=0
4082 # Check whether --enable-textfile or --disable-textfile was given.
4083if test "${enable_textfile+set}" = set; then
4084 enableval="$enable_textfile"
4085
4086 if test "$enableval" = yes; then
4087 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4088 else
4089 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4090 fi
4091
4092else
4093
4094 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4095 if test "x$LINE" != x ; then
4096 eval "DEFAULT_$LINE"
4097 else
4098 no_cache=1
4099 fi
4100
4101 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4102
4103fi
4104
4105
4106 eval "$ac_cv_use_textfile"
4107 if test "$no_cache" != 1; then
4108 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4109 fi
4110
4111 if test "$wxUSE_TEXTFILE" = yes; then
4112 echo "$ac_t""yes" 1>&6
4113 else
4114 echo "$ac_t""no" 1>&6
4115 fi
4116
4117
4118 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4119echo "configure:4120: checking for --enable-fontmap" >&5
4120 no_cache=0
4121 # Check whether --enable-fontmap or --disable-fontmap was given.
4122if test "${enable_fontmap+set}" = set; then
4123 enableval="$enable_fontmap"
4124
4125 if test "$enableval" = yes; then
4126 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4127 else
4128 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4129 fi
4130
4131else
4132
4133 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4134 if test "x$LINE" != x ; then
4135 eval "DEFAULT_$LINE"
4136 else
4137 no_cache=1
4138 fi
4139
4140 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4141
4142fi
4143
4144
4145 eval "$ac_cv_use_fontmap"
4146 if test "$no_cache" != 1; then
4147 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4148 fi
4149
4150 if test "$wxUSE_FONTMAP" = yes; then
4151 echo "$ac_t""yes" 1>&6
4152 else
4153 echo "$ac_t""no" 1>&6
4154 fi
4155
4156
4157 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4158echo "configure:4159: checking for --enable-unicode" >&5
4159 no_cache=0
4160 # Check whether --enable-unicode or --disable-unicode was given.
4161if test "${enable_unicode+set}" = set; then
4162 enableval="$enable_unicode"
4163
4164 if test "$enableval" = yes; then
4165 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4166 else
4167 ac_cv_use_unicode='wxUSE_UNICODE=no'
4168 fi
4169
4170else
4171
4172 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4173 if test "x$LINE" != x ; then
4174 eval "DEFAULT_$LINE"
4175 else
4176 no_cache=1
4177 fi
4178
4179 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4180
4181fi
4182
4183
4184 eval "$ac_cv_use_unicode"
4185 if test "$no_cache" != 1; then
4186 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4187 fi
4188
4189 if test "$wxUSE_UNICODE" = yes; then
4190 echo "$ac_t""yes" 1>&6
4191 else
4192 echo "$ac_t""no" 1>&6
4193 fi
4194
4195
4196 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4197echo "configure:4198: checking for --enable-mslu" >&5
4198 no_cache=0
4199 # Check whether --enable-mslu or --disable-mslu was given.
4200if test "${enable_mslu+set}" = set; then
4201 enableval="$enable_mslu"
4202
4203 if test "$enableval" = yes; then
4204 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4205 else
4206 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4207 fi
4208
4209else
4210
4211 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4212 if test "x$LINE" != x ; then
4213 eval "DEFAULT_$LINE"
4214 else
4215 no_cache=1
4216 fi
4217
4218 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4219
4220fi
4221
4222
4223 eval "$ac_cv_use_mslu"
4224 if test "$no_cache" != 1; then
4225 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4226 fi
4227
4228 if test "$wxUSE_UNICODE_MSLU" = yes; then
4229 echo "$ac_t""yes" 1>&6
4230 else
4231 echo "$ac_t""no" 1>&6
4232 fi
4233
4234
4235 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4236echo "configure:4237: checking for --enable-wxprintfv" >&5
4237 no_cache=0
4238 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4239if test "${enable_wxprintfv+set}" = set; then
4240 enableval="$enable_wxprintfv"
4241
4242 if test "$enableval" = yes; then
4243 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
4244 else
4245 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
4246 fi
4247
4248else
4249
4250 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4251 if test "x$LINE" != x ; then
4252 eval "DEFAULT_$LINE"
4253 else
4254 no_cache=1
4255 fi
4256
4257 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4258
4259fi
4260
4261
4262 eval "$ac_cv_use_wxprintfv"
4263 if test "$no_cache" != 1; then
4264 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4265 fi
4266
4267 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4268 echo "$ac_t""yes" 1>&6
4269 else
4270 echo "$ac_t""no" 1>&6
4271 fi
4272
4273
4274 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4275echo "configure:4276: checking for --enable-std_iostreams" >&5
4276 no_cache=0
4277 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4278if test "${enable_std_iostreams+set}" = set; then
4279 enableval="$enable_std_iostreams"
4280
4281 if test "$enableval" = yes; then
4282 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4283 else
4284 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4285 fi
4286
4287else
4288
4289 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4290 if test "x$LINE" != x ; then
4291 eval "DEFAULT_$LINE"
4292 else
4293 no_cache=1
4294 fi
4295
4296 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4297
4298fi
4299
4300
4301 eval "$ac_cv_use_std_iostreams"
4302 if test "$no_cache" != 1; then
4303 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4304 fi
4305
4306 if test "$wxUSE_STD_IOSTREAM" = yes; then
4307 echo "$ac_t""yes" 1>&6
4308 else
4309 echo "$ac_t""no" 1>&6
4310 fi
4311
4312
4313 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4314echo "configure:4315: checking for --enable-filesystem" >&5
4315 no_cache=0
4316 # Check whether --enable-filesystem or --disable-filesystem was given.
4317if test "${enable_filesystem+set}" = set; then
4318 enableval="$enable_filesystem"
4319
4320 if test "$enableval" = yes; then
4321 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4322 else
4323 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4324 fi
4325
4326else
4327
4328 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4329 if test "x$LINE" != x ; then
4330 eval "DEFAULT_$LINE"
4331 else
4332 no_cache=1
4333 fi
4334
4335 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4336
4337fi
4338
4339
4340 eval "$ac_cv_use_filesystem"
4341 if test "$no_cache" != 1; then
4342 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4343 fi
4344
4345 if test "$wxUSE_FILESYSTEM" = yes; then
4346 echo "$ac_t""yes" 1>&6
4347 else
4348 echo "$ac_t""no" 1>&6
4349 fi
4350
4351
4352 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4353echo "configure:4354: checking for --enable-fs_inet" >&5
4354 no_cache=0
4355 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4356if test "${enable_fs_inet+set}" = set; then
4357 enableval="$enable_fs_inet"
4358
4359 if test "$enableval" = yes; then
4360 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4361 else
4362 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4363 fi
4364
4365else
4366
4367 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4368 if test "x$LINE" != x ; then
4369 eval "DEFAULT_$LINE"
4370 else
4371 no_cache=1
4372 fi
4373
4374 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4375
4376fi
4377
4378
4379 eval "$ac_cv_use_fs_inet"
4380 if test "$no_cache" != 1; then
4381 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4382 fi
4383
4384 if test "$wxUSE_FS_INET" = yes; then
4385 echo "$ac_t""yes" 1>&6
4386 else
4387 echo "$ac_t""no" 1>&6
4388 fi
4389
4390
4391 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4392echo "configure:4393: checking for --enable-fs_zip" >&5
4393 no_cache=0
4394 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4395if test "${enable_fs_zip+set}" = set; then
4396 enableval="$enable_fs_zip"
4397
4398 if test "$enableval" = yes; then
4399 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4400 else
4401 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4402 fi
4403
4404else
4405
4406 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4407 if test "x$LINE" != x ; then
4408 eval "DEFAULT_$LINE"
4409 else
4410 no_cache=1
4411 fi
4412
4413 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4414
4415fi
4416
4417
4418 eval "$ac_cv_use_fs_zip"
4419 if test "$no_cache" != 1; then
4420 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4421 fi
4422
4423 if test "$wxUSE_FS_ZIP" = yes; then
4424 echo "$ac_t""yes" 1>&6
4425 else
4426 echo "$ac_t""no" 1>&6
4427 fi
4428
4429
4430 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4431echo "configure:4432: checking for --enable-zipstream" >&5
4432 no_cache=0
4433 # Check whether --enable-zipstream or --disable-zipstream was given.
4434if test "${enable_zipstream+set}" = set; then
4435 enableval="$enable_zipstream"
4436
4437 if test "$enableval" = yes; then
4438 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
4439 else
4440 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
4441 fi
4442
4443else
4444
4445 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4446 if test "x$LINE" != x ; then
4447 eval "DEFAULT_$LINE"
4448 else
4449 no_cache=1
4450 fi
4451
4452 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4453
4454fi
4455
4456
4457 eval "$ac_cv_use_zipstream"
4458 if test "$no_cache" != 1; then
4459 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4460 fi
4461
4462 if test "$wxUSE_ZIPSTREAM" = yes; then
4463 echo "$ac_t""yes" 1>&6
4464 else
4465 echo "$ac_t""no" 1>&6
4466 fi
4467
4468
4469
4470 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4471echo "configure:4472: checking for --enable-catch_segvs" >&5
4472 no_cache=0
4473 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4474if test "${enable_catch_segvs+set}" = set; then
4475 enableval="$enable_catch_segvs"
4476
4477 if test "$enableval" = yes; then
4478 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4479 else
4480 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4481 fi
4482
4483else
4484
4485 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4486 if test "x$LINE" != x ; then
4487 eval "DEFAULT_$LINE"
4488 else
4489 no_cache=1
4490 fi
4491
4492 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4493
4494fi
4495
4496
4497 eval "$ac_cv_use_catch_segvs"
4498 if test "$no_cache" != 1; then
4499 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4500 fi
4501
4502 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4503 echo "$ac_t""yes" 1>&6
4504 else
4505 echo "$ac_t""no" 1>&6
4506 fi
4507
4508
4509 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4510echo "configure:4511: checking for --enable-snglinst" >&5
4511 no_cache=0
4512 # Check whether --enable-snglinst or --disable-snglinst was given.
4513if test "${enable_snglinst+set}" = set; then
4514 enableval="$enable_snglinst"
4515
4516 if test "$enableval" = yes; then
4517 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
4518 else
4519 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
4520 fi
4521
4522else
4523
4524 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4525 if test "x$LINE" != x ; then
4526 eval "DEFAULT_$LINE"
4527 else
4528 no_cache=1
4529 fi
4530
4531 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4532
4533fi
4534
4535
4536 eval "$ac_cv_use_snglinst"
4537 if test "$no_cache" != 1; then
4538 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4539 fi
4540
4541 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4542 echo "$ac_t""yes" 1>&6
4543 else
4544 echo "$ac_t""no" 1>&6
4545 fi
4546
4547
4548
4549 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4550echo "configure:4551: checking for --enable-mimetype" >&5
4551 no_cache=0
4552 # Check whether --enable-mimetype or --disable-mimetype was given.
4553if test "${enable_mimetype+set}" = set; then
4554 enableval="$enable_mimetype"
4555
4556 if test "$enableval" = yes; then
4557 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4558 else
4559 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4560 fi
4561
4562else
4563
4564 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4565 if test "x$LINE" != x ; then
4566 eval "DEFAULT_$LINE"
4567 else
4568 no_cache=1
4569 fi
4570
4571 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4572
4573fi
4574
4575
4576 eval "$ac_cv_use_mimetype"
4577 if test "$no_cache" != 1; then
4578 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4579 fi
4580
4581 if test "$wxUSE_MIMETYPE" = yes; then
4582 echo "$ac_t""yes" 1>&6
4583 else
4584 echo "$ac_t""no" 1>&6
4585 fi
4586
4587
4588 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4589echo "configure:4590: checking for --enable-system_options" >&5
4590 no_cache=0
4591 # Check whether --enable-system_options or --disable-system_options was given.
4592if test "${enable_system_options+set}" = set; then
4593 enableval="$enable_system_options"
4594
4595 if test "$enableval" = yes; then
4596 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
4597 else
4598 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
4599 fi
4600
4601else
4602
4603 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${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_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4611
4612fi
4613
4614
4615 eval "$ac_cv_use_system_options"
4616 if test "$no_cache" != 1; then
4617 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4618 fi
4619
4620 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4621 echo "$ac_t""yes" 1>&6
4622 else
4623 echo "$ac_t""no" 1>&6
4624 fi
4625
4626
4627
4628 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4629echo "configure:4630: checking for --enable-url" >&5
4630 no_cache=0
4631 # Check whether --enable-url or --disable-url was given.
4632if test "${enable_url+set}" = set; then
4633 enableval="$enable_url"
4634
4635 if test "$enableval" = yes; then
4636 ac_cv_use_url='wxUSE_URL=yes'
4637 else
4638 ac_cv_use_url='wxUSE_URL=no'
4639 fi
4640
4641else
4642
4643 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4644 if test "x$LINE" != x ; then
4645 eval "DEFAULT_$LINE"
4646 else
4647 no_cache=1
4648 fi
4649
4650 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
4651
4652fi
4653
4654
4655 eval "$ac_cv_use_url"
4656 if test "$no_cache" != 1; then
4657 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4658 fi
4659
4660 if test "$wxUSE_URL" = yes; then
4661 echo "$ac_t""yes" 1>&6
4662 else
4663 echo "$ac_t""no" 1>&6
4664 fi
4665
4666
4667 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4668echo "configure:4669: checking for --enable-protocol" >&5
4669 no_cache=0
4670 # Check whether --enable-protocol or --disable-protocol was given.
4671if test "${enable_protocol+set}" = set; then
4672 enableval="$enable_protocol"
4673
4674 if test "$enableval" = yes; then
4675 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
4676 else
4677 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
4678 fi
4679
4680else
4681
4682 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4683 if test "x$LINE" != x ; then
4684 eval "DEFAULT_$LINE"
4685 else
4686 no_cache=1
4687 fi
4688
4689 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4690
4691fi
4692
4693
4694 eval "$ac_cv_use_protocol"
4695 if test "$no_cache" != 1; then
4696 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4697 fi
4698
4699 if test "$wxUSE_PROTOCOL" = yes; then
4700 echo "$ac_t""yes" 1>&6
4701 else
4702 echo "$ac_t""no" 1>&6
4703 fi
4704
4705
4706 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4707echo "configure:4708: checking for --enable-protocol_http" >&5
4708 no_cache=0
4709 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4710if test "${enable_protocol_http+set}" = set; then
4711 enableval="$enable_protocol_http"
4712
4713 if test "$enableval" = yes; then
4714 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
4715 else
4716 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
4717 fi
4718
4719else
4720
4721 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4722 if test "x$LINE" != x ; then
4723 eval "DEFAULT_$LINE"
4724 else
4725 no_cache=1
4726 fi
4727
4728 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4729
4730fi
4731
4732
4733 eval "$ac_cv_use_protocol_http"
4734 if test "$no_cache" != 1; then
4735 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4736 fi
4737
4738 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4739 echo "$ac_t""yes" 1>&6
4740 else
4741 echo "$ac_t""no" 1>&6
4742 fi
4743
4744
4745 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4746echo "configure:4747: checking for --enable-protocol_ftp" >&5
4747 no_cache=0
4748 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4749if test "${enable_protocol_ftp+set}" = set; then
4750 enableval="$enable_protocol_ftp"
4751
4752 if test "$enableval" = yes; then
4753 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
4754 else
4755 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
4756 fi
4757
4758else
4759
4760 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4761 if test "x$LINE" != x ; then
4762 eval "DEFAULT_$LINE"
4763 else
4764 no_cache=1
4765 fi
4766
4767 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4768
4769fi
4770
4771
4772 eval "$ac_cv_use_protocol_ftp"
4773 if test "$no_cache" != 1; then
4774 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4775 fi
4776
4777 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4778 echo "$ac_t""yes" 1>&6
4779 else
4780 echo "$ac_t""no" 1>&6
4781 fi
4782
4783
4784 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4785echo "configure:4786: checking for --enable-protocol_file" >&5
4786 no_cache=0
4787 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4788if test "${enable_protocol_file+set}" = set; then
4789 enableval="$enable_protocol_file"
4790
4791 if test "$enableval" = yes; then
4792 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
4793 else
4794 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
4795 fi
4796
4797else
4798
4799 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4800 if test "x$LINE" != x ; then
4801 eval "DEFAULT_$LINE"
4802 else
4803 no_cache=1
4804 fi
4805
4806 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4807
4808fi
4809
4810
4811 eval "$ac_cv_use_protocol_file"
4812 if test "$no_cache" != 1; then
4813 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4814 fi
4815
4816 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4817 echo "$ac_t""yes" 1>&6
4818 else
4819 echo "$ac_t""no" 1>&6
4820 fi
4821
4822
4823
4824
4825
4826 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4827echo "configure:4828: checking for --enable-threads" >&5
4828 no_cache=0
4829 # Check whether --enable-threads or --disable-threads was given.
4830if test "${enable_threads+set}" = set; then
4831 enableval="$enable_threads"
4832
4833 if test "$enableval" = yes; then
4834 ac_cv_use_threads='wxUSE_THREADS=yes'
4835 else
4836 ac_cv_use_threads='wxUSE_THREADS=no'
4837 fi
4838
4839else
4840
4841 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4842 if test "x$LINE" != x ; then
4843 eval "DEFAULT_$LINE"
4844 else
4845 no_cache=1
4846 fi
4847
4848 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4849
4850fi
4851
4852
4853 eval "$ac_cv_use_threads"
4854 if test "$no_cache" != 1; then
4855 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4856 fi
4857
4858 if test "$wxUSE_THREADS" = yes; then
4859 echo "$ac_t""yes" 1>&6
4860 else
4861 echo "$ac_t""no" 1>&6
4862 fi
4863
4864
4865if test "$wxUSE_GUI" = "yes"; then
4866
4867
4868
4869 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4870echo "configure:4871: checking for --enable-docview" >&5
4871 no_cache=0
4872 # Check whether --enable-docview or --disable-docview was given.
4873if test "${enable_docview+set}" = set; then
4874 enableval="$enable_docview"
4875
4876 if test "$enableval" = yes; then
4877 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4878 else
4879 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4880 fi
4881
4882else
4883
4884 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4885 if test "x$LINE" != x ; then
4886 eval "DEFAULT_$LINE"
4887 else
4888 no_cache=1
4889 fi
4890
4891 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4892
4893fi
4894
4895
4896 eval "$ac_cv_use_docview"
4897 if test "$no_cache" != 1; then
4898 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4899 fi
4900
4901 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4902 echo "$ac_t""yes" 1>&6
4903 else
4904 echo "$ac_t""no" 1>&6
4905 fi
4906
4907
4908 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4909echo "configure:4910: checking for --enable-help" >&5
4910 no_cache=0
4911 # Check whether --enable-help or --disable-help was given.
4912if test "${enable_help+set}" = set; then
4913 enableval="$enable_help"
4914
4915 if test "$enableval" = yes; then
4916 ac_cv_use_help='wxUSE_HELP=yes'
4917 else
4918 ac_cv_use_help='wxUSE_HELP=no'
4919 fi
4920
4921else
4922
4923 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4924 if test "x$LINE" != x ; then
4925 eval "DEFAULT_$LINE"
4926 else
4927 no_cache=1
4928 fi
4929
4930 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4931
4932fi
4933
4934
4935 eval "$ac_cv_use_help"
4936 if test "$no_cache" != 1; then
4937 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4938 fi
4939
4940 if test "$wxUSE_HELP" = yes; then
4941 echo "$ac_t""yes" 1>&6
4942 else
4943 echo "$ac_t""no" 1>&6
4944 fi
4945
4946
4947 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4948echo "configure:4949: checking for --enable-mshtmlhelp" >&5
4949 no_cache=0
4950 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4951if test "${enable_mshtmlhelp+set}" = set; then
4952 enableval="$enable_mshtmlhelp"
4953
4954 if test "$enableval" = yes; then
4955 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
4956 else
4957 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
4958 fi
4959
4960else
4961
4962 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4963 if test "x$LINE" != x ; then
4964 eval "DEFAULT_$LINE"
4965 else
4966 no_cache=1
4967 fi
4968
4969 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4970
4971fi
4972
4973
4974 eval "$ac_cv_use_mshtmlhelp"
4975 if test "$no_cache" != 1; then
4976 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4977 fi
4978
4979 if test "$wxUSE_MS_HTML_HELP" = yes; then
4980 echo "$ac_t""yes" 1>&6
4981 else
4982 echo "$ac_t""no" 1>&6
4983 fi
4984
4985
4986 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4987echo "configure:4988: checking for --enable-html" >&5
4988 no_cache=0
4989 # Check whether --enable-html or --disable-html was given.
4990if test "${enable_html+set}" = set; then
4991 enableval="$enable_html"
4992
4993 if test "$enableval" = yes; then
4994 ac_cv_use_html='wxUSE_HTML=yes'
4995 else
4996 ac_cv_use_html='wxUSE_HTML=no'
4997 fi
4998
4999else
5000
5001 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5002 if test "x$LINE" != x ; then
5003 eval "DEFAULT_$LINE"
5004 else
5005 no_cache=1
5006 fi
5007
5008 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5009
5010fi
5011
5012
5013 eval "$ac_cv_use_html"
5014 if test "$no_cache" != 1; then
5015 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5016 fi
5017
5018 if test "$wxUSE_HTML" = yes; then
5019 echo "$ac_t""yes" 1>&6
5020 else
5021 echo "$ac_t""no" 1>&6
5022 fi
5023
5024
5025 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
5026echo "configure:5027: checking for --enable-htmlhelp" >&5
5027 no_cache=0
5028 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5029if test "${enable_htmlhelp+set}" = set; then
5030 enableval="$enable_htmlhelp"
5031
5032 if test "$enableval" = yes; then
5033 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5034 else
5035 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5036 fi
5037
5038else
5039
5040 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5041 if test "x$LINE" != x ; then
5042 eval "DEFAULT_$LINE"
5043 else
5044 no_cache=1
5045 fi
5046
5047 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5048
5049fi
5050
5051
5052 eval "$ac_cv_use_htmlhelp"
5053 if test "$no_cache" != 1; then
5054 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5055 fi
5056
5057 if test "$wxUSE_WXHTML_HELP" = yes; then
5058 echo "$ac_t""yes" 1>&6
5059 else
5060 echo "$ac_t""no" 1>&6
5061 fi
5062
5063
5064 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5065echo "configure:5066: checking for --enable-constraints" >&5
5066 no_cache=0
5067 # Check whether --enable-constraints or --disable-constraints was given.
5068if test "${enable_constraints+set}" = set; then
5069 enableval="$enable_constraints"
5070
5071 if test "$enableval" = yes; then
5072 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5073 else
5074 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5075 fi
5076
5077else
5078
5079 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5080 if test "x$LINE" != x ; then
5081 eval "DEFAULT_$LINE"
5082 else
5083 no_cache=1
5084 fi
5085
5086 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5087
5088fi
5089
5090
5091 eval "$ac_cv_use_constraints"
5092 if test "$no_cache" != 1; then
5093 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5094 fi
5095
5096 if test "$wxUSE_CONSTRAINTS" = yes; then
5097 echo "$ac_t""yes" 1>&6
5098 else
5099 echo "$ac_t""no" 1>&6
5100 fi
5101
5102
5103 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5104echo "configure:5105: checking for --enable-printarch" >&5
5105 no_cache=0
5106 # Check whether --enable-printarch or --disable-printarch was given.
5107if test "${enable_printarch+set}" = set; then
5108 enableval="$enable_printarch"
5109
5110 if test "$enableval" = yes; then
5111 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5112 else
5113 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5114 fi
5115
5116else
5117
5118 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5119 if test "x$LINE" != x ; then
5120 eval "DEFAULT_$LINE"
5121 else
5122 no_cache=1
5123 fi
5124
5125 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5126
5127fi
5128
5129
5130 eval "$ac_cv_use_printarch"
5131 if test "$no_cache" != 1; then
5132 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5133 fi
5134
5135 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5136 echo "$ac_t""yes" 1>&6
5137 else
5138 echo "$ac_t""no" 1>&6
5139 fi
5140
5141
5142 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5143echo "configure:5144: checking for --enable-mdi" >&5
5144 no_cache=0
5145 # Check whether --enable-mdi or --disable-mdi was given.
5146if test "${enable_mdi+set}" = set; then
5147 enableval="$enable_mdi"
5148
5149 if test "$enableval" = yes; then
5150 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
5151 else
5152 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
5153 fi
5154
5155else
5156
5157 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5158 if test "x$LINE" != x ; then
5159 eval "DEFAULT_$LINE"
5160 else
5161 no_cache=1
5162 fi
5163
5164 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5165
5166fi
5167
5168
5169 eval "$ac_cv_use_mdi"
5170 if test "$no_cache" != 1; then
5171 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5172 fi
5173
5174 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5175 echo "$ac_t""yes" 1>&6
5176 else
5177 echo "$ac_t""no" 1>&6
5178 fi
5179
5180
5181 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5182echo "configure:5183: checking for --enable-loggui" >&5
5183 no_cache=0
5184 # Check whether --enable-loggui or --disable-loggui was given.
5185if test "${enable_loggui+set}" = set; then
5186 enableval="$enable_loggui"
5187
5188 if test "$enableval" = yes; then
5189 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
5190 else
5191 ac_cv_use_loggui='wxUSE_LOGGUI=no'
5192 fi
5193
5194else
5195
5196 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5197 if test "x$LINE" != x ; then
5198 eval "DEFAULT_$LINE"
5199 else
5200 no_cache=1
5201 fi
5202
5203 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5204
5205fi
5206
5207
5208 eval "$ac_cv_use_loggui"
5209 if test "$no_cache" != 1; then
5210 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5211 fi
5212
5213 if test "$wxUSE_LOGGUI" = yes; then
5214 echo "$ac_t""yes" 1>&6
5215 else
5216 echo "$ac_t""no" 1>&6
5217 fi
5218
5219
5220 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5221echo "configure:5222: checking for --enable-logwin" >&5
5222 no_cache=0
5223 # Check whether --enable-logwin or --disable-logwin was given.
5224if test "${enable_logwin+set}" = set; then
5225 enableval="$enable_logwin"
5226
5227 if test "$enableval" = yes; then
5228 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
5229 else
5230 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
5231 fi
5232
5233else
5234
5235 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5236 if test "x$LINE" != x ; then
5237 eval "DEFAULT_$LINE"
5238 else
5239 no_cache=1
5240 fi
5241
5242 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5243
5244fi
5245
5246
5247 eval "$ac_cv_use_logwin"
5248 if test "$no_cache" != 1; then
5249 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5250 fi
5251
5252 if test "$wxUSE_LOGWINDOW" = yes; then
5253 echo "$ac_t""yes" 1>&6
5254 else
5255 echo "$ac_t""no" 1>&6
5256 fi
5257
5258
5259 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5260echo "configure:5261: checking for --enable-logdialog" >&5
5261 no_cache=0
5262 # Check whether --enable-logdialog or --disable-logdialog was given.
5263if test "${enable_logdialog+set}" = set; then
5264 enableval="$enable_logdialog"
5265
5266 if test "$enableval" = yes; then
5267 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
5268 else
5269 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
5270 fi
5271
5272else
5273
5274 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5275 if test "x$LINE" != x ; then
5276 eval "DEFAULT_$LINE"
5277 else
5278 no_cache=1
5279 fi
5280
5281 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5282
5283fi
5284
5285
5286 eval "$ac_cv_use_logdialog"
5287 if test "$no_cache" != 1; then
5288 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5289 fi
5290
5291 if test "$wxUSE_LOGDIALOG" = yes; then
5292 echo "$ac_t""yes" 1>&6
5293 else
5294 echo "$ac_t""no" 1>&6
5295 fi
5296
5297
5298
5299 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5300echo "configure:5301: checking for --enable-postscript" >&5
5301 no_cache=0
5302 # Check whether --enable-postscript or --disable-postscript was given.
5303if test "${enable_postscript+set}" = set; then
5304 enableval="$enable_postscript"
5305
5306 if test "$enableval" = yes; then
5307 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
5308 else
5309 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
5310 fi
5311
5312else
5313
5314 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5315 if test "x$LINE" != x ; then
5316 eval "DEFAULT_$LINE"
5317 else
5318 no_cache=1
5319 fi
5320
5321 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5322
5323fi
5324
5325
5326 eval "$ac_cv_use_postscript"
5327 if test "$no_cache" != 1; then
5328 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5329 fi
5330
5331 if test "$wxUSE_POSTSCRIPT" = yes; then
5332 echo "$ac_t""yes" 1>&6
5333 else
5334 echo "$ac_t""no" 1>&6
5335 fi
5336
5337
5338
5339
5340
5341 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5342echo "configure:5343: checking for --enable-prologio" >&5
5343 no_cache=0
5344 # Check whether --enable-prologio or --disable-prologio was given.
5345if test "${enable_prologio+set}" = set; then
5346 enableval="$enable_prologio"
5347
5348 if test "$enableval" = yes; then
5349 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
5350 else
5351 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
5352 fi
5353
5354else
5355
5356 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5357 if test "x$LINE" != x ; then
5358 eval "DEFAULT_$LINE"
5359 else
5360 no_cache=1
5361 fi
5362
5363 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5364
5365fi
5366
5367
5368 eval "$ac_cv_use_prologio"
5369 if test "$no_cache" != 1; then
5370 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5371 fi
5372
5373 if test "$wxUSE_PROLOGIO" = yes; then
5374 echo "$ac_t""yes" 1>&6
5375 else
5376 echo "$ac_t""no" 1>&6
5377 fi
5378
5379
5380 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5381echo "configure:5382: checking for --enable-resources" >&5
5382 no_cache=0
5383 # Check whether --enable-resources or --disable-resources was given.
5384if test "${enable_resources+set}" = set; then
5385 enableval="$enable_resources"
5386
5387 if test "$enableval" = yes; then
5388 ac_cv_use_resources='wxUSE_RESOURCES=yes'
5389 else
5390 ac_cv_use_resources='wxUSE_RESOURCES=no'
5391 fi
5392
5393else
5394
5395 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5396 if test "x$LINE" != x ; then
5397 eval "DEFAULT_$LINE"
5398 else
5399 no_cache=1
5400 fi
5401
5402 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5403
5404fi
5405
5406
5407 eval "$ac_cv_use_resources"
5408 if test "$no_cache" != 1; then
5409 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5410 fi
5411
5412 if test "$wxUSE_RESOURCES" = yes; then
5413 echo "$ac_t""yes" 1>&6
5414 else
5415 echo "$ac_t""no" 1>&6
5416 fi
5417
5418
5419
5420 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5421echo "configure:5422: checking for --enable-xresources" >&5
5422 no_cache=0
5423 # Check whether --enable-xresources or --disable-xresources was given.
5424if test "${enable_xresources+set}" = set; then
5425 enableval="$enable_xresources"
5426
5427 if test "$enableval" = yes; then
5428 ac_cv_use_xresources='wxUSE_X_RESOURCES=yes'
5429 else
5430 ac_cv_use_xresources='wxUSE_X_RESOURCES=no'
5431 fi
5432
5433else
5434
5435 LINE=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5436 if test "x$LINE" != x ; then
5437 eval "DEFAULT_$LINE"
5438 else
5439 no_cache=1
5440 fi
5441
5442 ac_cv_use_xresources='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5443
5444fi
5445
5446
5447 eval "$ac_cv_use_xresources"
5448 if test "$no_cache" != 1; then
5449 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5450 fi
5451
5452 if test "$wxUSE_X_RESOURCES" = yes; then
5453 echo "$ac_t""yes" 1>&6
5454 else
5455 echo "$ac_t""no" 1>&6
5456 fi
5457
5458
5459
5460
5461 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5462echo "configure:5463: checking for --enable-clipboard" >&5
5463 no_cache=0
5464 # Check whether --enable-clipboard or --disable-clipboard was given.
5465if test "${enable_clipboard+set}" = set; then
5466 enableval="$enable_clipboard"
5467
5468 if test "$enableval" = yes; then
5469 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
5470 else
5471 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
5472 fi
5473
5474else
5475
5476 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5477 if test "x$LINE" != x ; then
5478 eval "DEFAULT_$LINE"
5479 else
5480 no_cache=1
5481 fi
5482
5483 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5484
5485fi
5486
5487
5488 eval "$ac_cv_use_clipboard"
5489 if test "$no_cache" != 1; then
5490 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5491 fi
5492
5493 if test "$wxUSE_CLIPBOARD" = yes; then
5494 echo "$ac_t""yes" 1>&6
5495 else
5496 echo "$ac_t""no" 1>&6
5497 fi
5498
5499
5500 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5501echo "configure:5502: checking for --enable-dnd" >&5
5502 no_cache=0
5503 # Check whether --enable-dnd or --disable-dnd was given.
5504if test "${enable_dnd+set}" = set; then
5505 enableval="$enable_dnd"
5506
5507 if test "$enableval" = yes; then
5508 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
5509 else
5510 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
5511 fi
5512
5513else
5514
5515 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5516 if test "x$LINE" != x ; then
5517 eval "DEFAULT_$LINE"
5518 else
5519 no_cache=1
5520 fi
5521
5522 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5523
5524fi
5525
5526
5527 eval "$ac_cv_use_dnd"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5530 fi
5531
5532 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5533 echo "$ac_t""yes" 1>&6
5534 else
5535 echo "$ac_t""no" 1>&6
5536 fi
5537
5538
5539 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5540echo "configure:5541: checking for --enable-metafile" >&5
5541 no_cache=0
5542 # Check whether --enable-metafile or --disable-metafile was given.
5543if test "${enable_metafile+set}" = set; then
5544 enableval="$enable_metafile"
5545
5546 if test "$enableval" = yes; then
5547 ac_cv_use_metafile='wxUSE_METAFILE=yes'
5548 else
5549 ac_cv_use_metafile='wxUSE_METAFILE=no'
5550 fi
5551
5552else
5553
5554 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5555 if test "x$LINE" != x ; then
5556 eval "DEFAULT_$LINE"
5557 else
5558 no_cache=1
5559 fi
5560
5561 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5562
5563fi
5564
5565
5566 eval "$ac_cv_use_metafile"
5567 if test "$no_cache" != 1; then
5568 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5569 fi
5570
5571 if test "$wxUSE_METAFILE" = yes; then
5572 echo "$ac_t""yes" 1>&6
5573 else
5574 echo "$ac_t""no" 1>&6
5575 fi
5576
5577
5578
5579 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5580echo "configure:5581: checking for --enable-treelayout" >&5
5581 no_cache=0
5582 # Check whether --enable-treelayout or --disable-treelayout was given.
5583if test "${enable_treelayout+set}" = set; then
5584 enableval="$enable_treelayout"
5585
5586 if test "$enableval" = yes; then
5587 ac_cv_use_treelayout='wxUSE_TREELAYOUT=yes'
5588 else
5589 ac_cv_use_treelayout='wxUSE_TREELAYOUT=no'
5590 fi
5591
5592else
5593
5594 LINE=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5595 if test "x$LINE" != x ; then
5596 eval "DEFAULT_$LINE"
5597 else
5598 no_cache=1
5599 fi
5600
5601 ac_cv_use_treelayout='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5602
5603fi
5604
5605
5606 eval "$ac_cv_use_treelayout"
5607 if test "$no_cache" != 1; then
5608 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5609 fi
5610
5611 if test "$wxUSE_TREELAYOUT" = yes; then
5612 echo "$ac_t""yes" 1>&6
5613 else
5614 echo "$ac_t""no" 1>&6
5615 fi
5616
5617
5618
5619
5620 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5621echo "configure:5622: checking for --enable-controls" >&5
5622 no_cache=0
5623 # Check whether --enable-controls or --disable-controls was given.
5624if test "${enable_controls+set}" = set; then
5625 enableval="$enable_controls"
5626
5627 if test "$enableval" = yes; then
5628 ac_cv_use_controls='wxUSE_CONTROLS=yes'
5629 else
5630 ac_cv_use_controls='wxUSE_CONTROLS=no'
5631 fi
5632
5633else
5634
5635 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5636 if test "x$LINE" != x ; then
5637 eval "DEFAULT_$LINE"
5638 else
5639 no_cache=1
5640 fi
5641
5642 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5643
5644fi
5645
5646
5647 eval "$ac_cv_use_controls"
5648 if test "$no_cache" != 1; then
5649 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5650 fi
5651
5652 if test "$wxUSE_CONTROLS" = yes; then
5653 echo "$ac_t""yes" 1>&6
5654 else
5655 echo "$ac_t""no" 1>&6
5656 fi
5657
5658
5659if test "$wxUSE_CONTROLS" = "yes"; then
5660 DEFAULT_wxUSE_ACCEL=yes
5661 DEFAULT_wxUSE_BMPBUTTON=yes
5662 DEFAULT_wxUSE_BUTTON=yes
5663 DEFAULT_wxUSE_CALCTRL=no
5664 DEFAULT_wxUSE_CARET=yes
5665 DEFAULT_wxUSE_COMBOBOX=yes
5666 DEFAULT_wxUSE_CHECKBOX=yes
5667 DEFAULT_wxUSE_CHECKLISTBOX=yes
5668 DEFAULT_wxUSE_CHOICE=yes
5669 DEFAULT_wxUSE_GAUGE=yes
5670 DEFAULT_wxUSE_GRID=yes
5671 DEFAULT_wxUSE_NEW_GRID=yes
5672 DEFAULT_wxUSE_IMAGLIST=yes
5673 DEFAULT_wxUSE_LISTBOX=yes
5674 DEFAULT_wxUSE_LISTCTRL=yes
5675 DEFAULT_wxUSE_NOTEBOOK=yes
5676 DEFAULT_wxUSE_PROPSHEET=yes
5677 DEFAULT_wxUSE_RADIOBOX=yes
5678 DEFAULT_wxUSE_RADIOBTN=yes
5679 DEFAULT_wxUSE_SASH=yes
5680 DEFAULT_wxUSE_SCROLLBAR=yes
5681 DEFAULT_wxUSE_SLIDER=yes
5682 DEFAULT_wxUSE_SPINBTN=yes
5683 DEFAULT_wxUSE_SPINCTRL=yes
5684 DEFAULT_wxUSE_SPLITTER=yes
5685 DEFAULT_wxUSE_STATBMP=yes
5686 DEFAULT_wxUSE_STATBOX=yes
5687 DEFAULT_wxUSE_STATLINE=yes
5688 DEFAULT_wxUSE_STATUSBAR=yes
5689 DEFAULT_wxUSE_TAB_DIALOG=yes
5690 DEFAULT_wxUSE_TOGGLEBTN=yes
5691 DEFAULT_wxUSE_TOOLBAR=yes
5692 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
5693 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
5694 DEFAULT_wxUSE_TOOLTIPS=yes
5695 DEFAULT_wxUSE_TREECTRL=yes
5696 DEFAULT_wxUSE_POPUPWIN=yes
5697 DEFAULT_wxUSE_TIPWINDOW=yes
5698elif test "$wxUSE_CONTROLS" = "no"; then
5699 DEFAULT_wxUSE_ACCEL=no
5700 DEFAULT_wxUSE_BMPBUTTON=no
5701 DEFAULT_wxUSE_BUTTON=no
5702 DEFAULT_wxUSE_CALCTRL=no
5703 DEFAULT_wxUSE_CARET=no
5704 DEFAULT_wxUSE_COMBOBOX=no
5705 DEFAULT_wxUSE_CHECKBOX=no
5706 DEFAULT_wxUSE_CHECKLISTBOX=no
5707 DEFAULT_wxUSE_CHOICE=no
5708 DEFAULT_wxUSE_GAUGE=no
5709 DEFAULT_wxUSE_GRID=no
5710 DEFAULT_wxUSE_NEW_GRID=no
5711 DEFAULT_wxUSE_IMAGLIST=no
5712 DEFAULT_wxUSE_LISTBOX=no
5713 DEFAULT_wxUSE_LISTCTRL=no
5714 DEFAULT_wxUSE_NOTEBOOK=no
5715 DEFAULT_wxUSE_PROPSHEET=no
5716 DEFAULT_wxUSE_RADIOBOX=no
5717 DEFAULT_wxUSE_RADIOBTN=no
5718 DEFAULT_wxUSE_SASH=no
5719 DEFAULT_wxUSE_SCROLLBAR=no
5720 DEFAULT_wxUSE_SLIDER=no
5721 DEFAULT_wxUSE_SPINBTN=no
5722 DEFAULT_wxUSE_SPINCTRL=no
5723 DEFAULT_wxUSE_SPLITTER=no
5724 DEFAULT_wxUSE_STATBMP=no
5725 DEFAULT_wxUSE_STATBOX=no
5726 DEFAULT_wxUSE_STATLINE=no
5727 DEFAULT_wxUSE_STATUSBAR=no
5728 DEFAULT_wxUSE_TAB_DIALOG=no
5729 DEFAULT_wxUSE_TOGGLEBTN=no
5730 DEFAULT_wxUSE_TOOLBAR=no
5731 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
5732 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
5733 DEFAULT_wxUSE_TOOLTIPS=no
5734 DEFAULT_wxUSE_TREECTRL=no
5735 DEFAULT_wxUSE_POPUPWIN=no
5736 DEFAULT_wxUSE_TIPWINDOW=no
5737fi
5738
5739
5740 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5741echo "configure:5742: checking for --enable-accel" >&5
5742 no_cache=0
5743 # Check whether --enable-accel or --disable-accel was given.
5744if test "${enable_accel+set}" = set; then
5745 enableval="$enable_accel"
5746
5747 if test "$enableval" = yes; then
5748 ac_cv_use_accel='wxUSE_ACCEL=yes'
5749 else
5750 ac_cv_use_accel='wxUSE_ACCEL=no'
5751 fi
5752
5753else
5754
5755 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5756 if test "x$LINE" != x ; then
5757 eval "DEFAULT_$LINE"
5758 else
5759 no_cache=1
5760 fi
5761
5762 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5763
5764fi
5765
5766
5767 eval "$ac_cv_use_accel"
5768 if test "$no_cache" != 1; then
5769 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5770 fi
5771
5772 if test "$wxUSE_ACCEL" = yes; then
5773 echo "$ac_t""yes" 1>&6
5774 else
5775 echo "$ac_t""no" 1>&6
5776 fi
5777
5778
5779 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5780echo "configure:5781: checking for --enable-button" >&5
5781 no_cache=0
5782 # Check whether --enable-button or --disable-button was given.
5783if test "${enable_button+set}" = set; then
5784 enableval="$enable_button"
5785
5786 if test "$enableval" = yes; then
5787 ac_cv_use_button='wxUSE_BUTTON=yes'
5788 else
5789 ac_cv_use_button='wxUSE_BUTTON=no'
5790 fi
5791
5792else
5793
5794 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5795 if test "x$LINE" != x ; then
5796 eval "DEFAULT_$LINE"
5797 else
5798 no_cache=1
5799 fi
5800
5801 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5802
5803fi
5804
5805
5806 eval "$ac_cv_use_button"
5807 if test "$no_cache" != 1; then
5808 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5809 fi
5810
5811 if test "$wxUSE_BUTTON" = yes; then
5812 echo "$ac_t""yes" 1>&6
5813 else
5814 echo "$ac_t""no" 1>&6
5815 fi
5816
5817
5818 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5819echo "configure:5820: checking for --enable-bmpbutton" >&5
5820 no_cache=0
5821 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5822if test "${enable_bmpbutton+set}" = set; then
5823 enableval="$enable_bmpbutton"
5824
5825 if test "$enableval" = yes; then
5826 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
5827 else
5828 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
5829 fi
5830
5831else
5832
5833 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5834 if test "x$LINE" != x ; then
5835 eval "DEFAULT_$LINE"
5836 else
5837 no_cache=1
5838 fi
5839
5840 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5841
5842fi
5843
5844
5845 eval "$ac_cv_use_bmpbutton"
5846 if test "$no_cache" != 1; then
5847 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5848 fi
5849
5850 if test "$wxUSE_BMPBUTTON" = yes; then
5851 echo "$ac_t""yes" 1>&6
5852 else
5853 echo "$ac_t""no" 1>&6
5854 fi
5855
5856
5857 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5858echo "configure:5859: checking for --enable-calendar" >&5
5859 no_cache=0
5860 # Check whether --enable-calendar or --disable-calendar was given.
5861if test "${enable_calendar+set}" = set; then
5862 enableval="$enable_calendar"
5863
5864 if test "$enableval" = yes; then
5865 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
5866 else
5867 ac_cv_use_calendar='wxUSE_CALCTRL=no'
5868 fi
5869
5870else
5871
5872 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5873 if test "x$LINE" != x ; then
5874 eval "DEFAULT_$LINE"
5875 else
5876 no_cache=1
5877 fi
5878
5879 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5880
5881fi
5882
5883
5884 eval "$ac_cv_use_calendar"
5885 if test "$no_cache" != 1; then
5886 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5887 fi
5888
5889 if test "$wxUSE_CALCTRL" = yes; then
5890 echo "$ac_t""yes" 1>&6
5891 else
5892 echo "$ac_t""no" 1>&6
5893 fi
5894
5895
5896 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5897echo "configure:5898: checking for --enable-caret" >&5
5898 no_cache=0
5899 # Check whether --enable-caret or --disable-caret was given.
5900if test "${enable_caret+set}" = set; then
5901 enableval="$enable_caret"
5902
5903 if test "$enableval" = yes; then
5904 ac_cv_use_caret='wxUSE_CARET=yes'
5905 else
5906 ac_cv_use_caret='wxUSE_CARET=no'
5907 fi
5908
5909else
5910
5911 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5912 if test "x$LINE" != x ; then
5913 eval "DEFAULT_$LINE"
5914 else
5915 no_cache=1
5916 fi
5917
5918 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5919
5920fi
5921
5922
5923 eval "$ac_cv_use_caret"
5924 if test "$no_cache" != 1; then
5925 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5926 fi
5927
5928 if test "$wxUSE_CARET" = yes; then
5929 echo "$ac_t""yes" 1>&6
5930 else
5931 echo "$ac_t""no" 1>&6
5932 fi
5933
5934
5935 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5936echo "configure:5937: checking for --enable-checkbox" >&5
5937 no_cache=0
5938 # Check whether --enable-checkbox or --disable-checkbox was given.
5939if test "${enable_checkbox+set}" = set; then
5940 enableval="$enable_checkbox"
5941
5942 if test "$enableval" = yes; then
5943 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
5944 else
5945 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
5946 fi
5947
5948else
5949
5950 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5951 if test "x$LINE" != x ; then
5952 eval "DEFAULT_$LINE"
5953 else
5954 no_cache=1
5955 fi
5956
5957 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5958
5959fi
5960
5961
5962 eval "$ac_cv_use_checkbox"
5963 if test "$no_cache" != 1; then
5964 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5965 fi
5966
5967 if test "$wxUSE_CHECKBOX" = yes; then
5968 echo "$ac_t""yes" 1>&6
5969 else
5970 echo "$ac_t""no" 1>&6
5971 fi
5972
5973
5974 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5975echo "configure:5976: checking for --enable-checklst" >&5
5976 no_cache=0
5977 # Check whether --enable-checklst or --disable-checklst was given.
5978if test "${enable_checklst+set}" = set; then
5979 enableval="$enable_checklst"
5980
5981 if test "$enableval" = yes; then
5982 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
5983 else
5984 ac_cv_use_checklst='wxUSE_CHECKLST=no'
5985 fi
5986
5987else
5988
5989 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5990 if test "x$LINE" != x ; then
5991 eval "DEFAULT_$LINE"
5992 else
5993 no_cache=1
5994 fi
5995
5996 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5997
5998fi
5999
6000
6001 eval "$ac_cv_use_checklst"
6002 if test "$no_cache" != 1; then
6003 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6004 fi
6005
6006 if test "$wxUSE_CHECKLST" = yes; then
6007 echo "$ac_t""yes" 1>&6
6008 else
6009 echo "$ac_t""no" 1>&6
6010 fi
6011
6012
6013 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
6014echo "configure:6015: checking for --enable-choice" >&5
6015 no_cache=0
6016 # Check whether --enable-choice or --disable-choice was given.
6017if test "${enable_choice+set}" = set; then
6018 enableval="$enable_choice"
6019
6020 if test "$enableval" = yes; then
6021 ac_cv_use_choice='wxUSE_CHOICE=yes'
6022 else
6023 ac_cv_use_choice='wxUSE_CHOICE=no'
6024 fi
6025
6026else
6027
6028 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6029 if test "x$LINE" != x ; then
6030 eval "DEFAULT_$LINE"
6031 else
6032 no_cache=1
6033 fi
6034
6035 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6036
6037fi
6038
6039
6040 eval "$ac_cv_use_choice"
6041 if test "$no_cache" != 1; then
6042 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6043 fi
6044
6045 if test "$wxUSE_CHOICE" = yes; then
6046 echo "$ac_t""yes" 1>&6
6047 else
6048 echo "$ac_t""no" 1>&6
6049 fi
6050
6051
6052 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6053echo "configure:6054: checking for --enable-combobox" >&5
6054 no_cache=0
6055 # Check whether --enable-combobox or --disable-combobox was given.
6056if test "${enable_combobox+set}" = set; then
6057 enableval="$enable_combobox"
6058
6059 if test "$enableval" = yes; then
6060 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6061 else
6062 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6063 fi
6064
6065else
6066
6067 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6068 if test "x$LINE" != x ; then
6069 eval "DEFAULT_$LINE"
6070 else
6071 no_cache=1
6072 fi
6073
6074 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6075
6076fi
6077
6078
6079 eval "$ac_cv_use_combobox"
6080 if test "$no_cache" != 1; then
6081 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6082 fi
6083
6084 if test "$wxUSE_COMBOBOX" = yes; then
6085 echo "$ac_t""yes" 1>&6
6086 else
6087 echo "$ac_t""no" 1>&6
6088 fi
6089
6090
6091 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6092echo "configure:6093: checking for --enable-gauge" >&5
6093 no_cache=0
6094 # Check whether --enable-gauge or --disable-gauge was given.
6095if test "${enable_gauge+set}" = set; then
6096 enableval="$enable_gauge"
6097
6098 if test "$enableval" = yes; then
6099 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6100 else
6101 ac_cv_use_gauge='wxUSE_GAUGE=no'
6102 fi
6103
6104else
6105
6106 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6107 if test "x$LINE" != x ; then
6108 eval "DEFAULT_$LINE"
6109 else
6110 no_cache=1
6111 fi
6112
6113 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6114
6115fi
6116
6117
6118 eval "$ac_cv_use_gauge"
6119 if test "$no_cache" != 1; then
6120 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6121 fi
6122
6123 if test "$wxUSE_GAUGE" = yes; then
6124 echo "$ac_t""yes" 1>&6
6125 else
6126 echo "$ac_t""no" 1>&6
6127 fi
6128
6129
6130 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6131echo "configure:6132: checking for --enable-grid" >&5
6132 no_cache=0
6133 # Check whether --enable-grid or --disable-grid was given.
6134if test "${enable_grid+set}" = set; then
6135 enableval="$enable_grid"
6136
6137 if test "$enableval" = yes; then
6138 ac_cv_use_grid='wxUSE_GRID=yes'
6139 else
6140 ac_cv_use_grid='wxUSE_GRID=no'
6141 fi
6142
6143else
6144
6145 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6146 if test "x$LINE" != x ; then
6147 eval "DEFAULT_$LINE"
6148 else
6149 no_cache=1
6150 fi
6151
6152 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6153
6154fi
6155
6156
6157 eval "$ac_cv_use_grid"
6158 if test "$no_cache" != 1; then
6159 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6160 fi
6161
6162 if test "$wxUSE_GRID" = yes; then
6163 echo "$ac_t""yes" 1>&6
6164 else
6165 echo "$ac_t""no" 1>&6
6166 fi
6167
6168
6169 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6170echo "configure:6171: checking for --enable-newgrid" >&5
6171 no_cache=0
6172 # Check whether --enable-newgrid or --disable-newgrid was given.
6173if test "${enable_newgrid+set}" = set; then
6174 enableval="$enable_newgrid"
6175
6176 if test "$enableval" = yes; then
6177 ac_cv_use_newgrid='wxUSE_NEW_GRID=yes'
6178 else
6179 ac_cv_use_newgrid='wxUSE_NEW_GRID=no'
6180 fi
6181
6182else
6183
6184 LINE=`grep "wxUSE_NEW_GRID" ${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_newgrid='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6192
6193fi
6194
6195
6196 eval "$ac_cv_use_newgrid"
6197 if test "$no_cache" != 1; then
6198 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6199 fi
6200
6201 if test "$wxUSE_NEW_GRID" = yes; then
6202 echo "$ac_t""yes" 1>&6
6203 else
6204 echo "$ac_t""no" 1>&6
6205 fi
6206
6207
6208 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6209echo "configure:6210: checking for --enable-imaglist" >&5
6210 no_cache=0
6211 # Check whether --enable-imaglist or --disable-imaglist was given.
6212if test "${enable_imaglist+set}" = set; then
6213 enableval="$enable_imaglist"
6214
6215 if test "$enableval" = yes; then
6216 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
6217 else
6218 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
6219 fi
6220
6221else
6222
6223 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6224 if test "x$LINE" != x ; then
6225 eval "DEFAULT_$LINE"
6226 else
6227 no_cache=1
6228 fi
6229
6230 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6231
6232fi
6233
6234
6235 eval "$ac_cv_use_imaglist"
6236 if test "$no_cache" != 1; then
6237 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6238 fi
6239
6240 if test "$wxUSE_IMAGLIST" = yes; then
6241 echo "$ac_t""yes" 1>&6
6242 else
6243 echo "$ac_t""no" 1>&6
6244 fi
6245
6246
6247 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6248echo "configure:6249: checking for --enable-listbox" >&5
6249 no_cache=0
6250 # Check whether --enable-listbox or --disable-listbox was given.
6251if test "${enable_listbox+set}" = set; then
6252 enableval="$enable_listbox"
6253
6254 if test "$enableval" = yes; then
6255 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
6256 else
6257 ac_cv_use_listbox='wxUSE_LISTBOX=no'
6258 fi
6259
6260else
6261
6262 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6263 if test "x$LINE" != x ; then
6264 eval "DEFAULT_$LINE"
6265 else
6266 no_cache=1
6267 fi
6268
6269 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6270
6271fi
6272
6273
6274 eval "$ac_cv_use_listbox"
6275 if test "$no_cache" != 1; then
6276 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6277 fi
6278
6279 if test "$wxUSE_LISTBOX" = yes; then
6280 echo "$ac_t""yes" 1>&6
6281 else
6282 echo "$ac_t""no" 1>&6
6283 fi
6284
6285
6286 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6287echo "configure:6288: checking for --enable-listctrl" >&5
6288 no_cache=0
6289 # Check whether --enable-listctrl or --disable-listctrl was given.
6290if test "${enable_listctrl+set}" = set; then
6291 enableval="$enable_listctrl"
6292
6293 if test "$enableval" = yes; then
6294 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
6295 else
6296 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
6297 fi
6298
6299else
6300
6301 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6302 if test "x$LINE" != x ; then
6303 eval "DEFAULT_$LINE"
6304 else
6305 no_cache=1
6306 fi
6307
6308 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6309
6310fi
6311
6312
6313 eval "$ac_cv_use_listctrl"
6314 if test "$no_cache" != 1; then
6315 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6316 fi
6317
6318 if test "$wxUSE_LISTCTRL" = yes; then
6319 echo "$ac_t""yes" 1>&6
6320 else
6321 echo "$ac_t""no" 1>&6
6322 fi
6323
6324
6325 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6326echo "configure:6327: checking for --enable-notebook" >&5
6327 no_cache=0
6328 # Check whether --enable-notebook or --disable-notebook was given.
6329if test "${enable_notebook+set}" = set; then
6330 enableval="$enable_notebook"
6331
6332 if test "$enableval" = yes; then
6333 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
6334 else
6335 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
6336 fi
6337
6338else
6339
6340 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6341 if test "x$LINE" != x ; then
6342 eval "DEFAULT_$LINE"
6343 else
6344 no_cache=1
6345 fi
6346
6347 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6348
6349fi
6350
6351
6352 eval "$ac_cv_use_notebook"
6353 if test "$no_cache" != 1; then
6354 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6355 fi
6356
6357 if test "$wxUSE_NOTEBOOK" = yes; then
6358 echo "$ac_t""yes" 1>&6
6359 else
6360 echo "$ac_t""no" 1>&6
6361 fi
6362
6363
6364 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6365echo "configure:6366: checking for --enable-propsheet" >&5
6366 no_cache=0
6367 # Check whether --enable-propsheet or --disable-propsheet was given.
6368if test "${enable_propsheet+set}" = set; then
6369 enableval="$enable_propsheet"
6370
6371 if test "$enableval" = yes; then
6372 ac_cv_use_propsheet='wxUSE_PROPSHEET=yes'
6373 else
6374 ac_cv_use_propsheet='wxUSE_PROPSHEET=no'
6375 fi
6376
6377else
6378
6379 LINE=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6380 if test "x$LINE" != x ; then
6381 eval "DEFAULT_$LINE"
6382 else
6383 no_cache=1
6384 fi
6385
6386 ac_cv_use_propsheet='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6387
6388fi
6389
6390
6391 eval "$ac_cv_use_propsheet"
6392 if test "$no_cache" != 1; then
6393 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6394 fi
6395
6396 if test "$wxUSE_PROPSHEET" = yes; then
6397 echo "$ac_t""yes" 1>&6
6398 else
6399 echo "$ac_t""no" 1>&6
6400 fi
6401
6402
6403 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6404echo "configure:6405: checking for --enable-radiobox" >&5
6405 no_cache=0
6406 # Check whether --enable-radiobox or --disable-radiobox was given.
6407if test "${enable_radiobox+set}" = set; then
6408 enableval="$enable_radiobox"
6409
6410 if test "$enableval" = yes; then
6411 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
6412 else
6413 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
6414 fi
6415
6416else
6417
6418 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6419 if test "x$LINE" != x ; then
6420 eval "DEFAULT_$LINE"
6421 else
6422 no_cache=1
6423 fi
6424
6425 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6426
6427fi
6428
6429
6430 eval "$ac_cv_use_radiobox"
6431 if test "$no_cache" != 1; then
6432 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6433 fi
6434
6435 if test "$wxUSE_RADIOBOX" = yes; then
6436 echo "$ac_t""yes" 1>&6
6437 else
6438 echo "$ac_t""no" 1>&6
6439 fi
6440
6441
6442 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6443echo "configure:6444: checking for --enable-radiobtn" >&5
6444 no_cache=0
6445 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6446if test "${enable_radiobtn+set}" = set; then
6447 enableval="$enable_radiobtn"
6448
6449 if test "$enableval" = yes; then
6450 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
6451 else
6452 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
6453 fi
6454
6455else
6456
6457 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6458 if test "x$LINE" != x ; then
6459 eval "DEFAULT_$LINE"
6460 else
6461 no_cache=1
6462 fi
6463
6464 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6465
6466fi
6467
6468
6469 eval "$ac_cv_use_radiobtn"
6470 if test "$no_cache" != 1; then
6471 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6472 fi
6473
6474 if test "$wxUSE_RADIOBTN" = yes; then
6475 echo "$ac_t""yes" 1>&6
6476 else
6477 echo "$ac_t""no" 1>&6
6478 fi
6479
6480
6481 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6482echo "configure:6483: checking for --enable-sash" >&5
6483 no_cache=0
6484 # Check whether --enable-sash or --disable-sash was given.
6485if test "${enable_sash+set}" = set; then
6486 enableval="$enable_sash"
6487
6488 if test "$enableval" = yes; then
6489 ac_cv_use_sash='wxUSE_SASH=yes'
6490 else
6491 ac_cv_use_sash='wxUSE_SASH=no'
6492 fi
6493
6494else
6495
6496 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6497 if test "x$LINE" != x ; then
6498 eval "DEFAULT_$LINE"
6499 else
6500 no_cache=1
6501 fi
6502
6503 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6504
6505fi
6506
6507
6508 eval "$ac_cv_use_sash"
6509 if test "$no_cache" != 1; then
6510 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6511 fi
6512
6513 if test "$wxUSE_SASH" = yes; then
6514 echo "$ac_t""yes" 1>&6
6515 else
6516 echo "$ac_t""no" 1>&6
6517 fi
6518
6519
6520 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6521echo "configure:6522: checking for --enable-scrollbar" >&5
6522 no_cache=0
6523 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6524if test "${enable_scrollbar+set}" = set; then
6525 enableval="$enable_scrollbar"
6526
6527 if test "$enableval" = yes; then
6528 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
6529 else
6530 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
6531 fi
6532
6533else
6534
6535 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6536 if test "x$LINE" != x ; then
6537 eval "DEFAULT_$LINE"
6538 else
6539 no_cache=1
6540 fi
6541
6542 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6543
6544fi
6545
6546
6547 eval "$ac_cv_use_scrollbar"
6548 if test "$no_cache" != 1; then
6549 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6550 fi
6551
6552 if test "$wxUSE_SCROLLBAR" = yes; then
6553 echo "$ac_t""yes" 1>&6
6554 else
6555 echo "$ac_t""no" 1>&6
6556 fi
6557
6558
6559 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6560echo "configure:6561: checking for --enable-slider" >&5
6561 no_cache=0
6562 # Check whether --enable-slider or --disable-slider was given.
6563if test "${enable_slider+set}" = set; then
6564 enableval="$enable_slider"
6565
6566 if test "$enableval" = yes; then
6567 ac_cv_use_slider='wxUSE_SLIDER=yes'
6568 else
6569 ac_cv_use_slider='wxUSE_SLIDER=no'
6570 fi
6571
6572else
6573
6574 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6575 if test "x$LINE" != x ; then
6576 eval "DEFAULT_$LINE"
6577 else
6578 no_cache=1
6579 fi
6580
6581 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6582
6583fi
6584
6585
6586 eval "$ac_cv_use_slider"
6587 if test "$no_cache" != 1; then
6588 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6589 fi
6590
6591 if test "$wxUSE_SLIDER" = yes; then
6592 echo "$ac_t""yes" 1>&6
6593 else
6594 echo "$ac_t""no" 1>&6
6595 fi
6596
6597
6598 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6599echo "configure:6600: checking for --enable-spinbtn" >&5
6600 no_cache=0
6601 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6602if test "${enable_spinbtn+set}" = set; then
6603 enableval="$enable_spinbtn"
6604
6605 if test "$enableval" = yes; then
6606 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
6607 else
6608 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
6609 fi
6610
6611else
6612
6613 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6614 if test "x$LINE" != x ; then
6615 eval "DEFAULT_$LINE"
6616 else
6617 no_cache=1
6618 fi
6619
6620 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6621
6622fi
6623
6624
6625 eval "$ac_cv_use_spinbtn"
6626 if test "$no_cache" != 1; then
6627 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6628 fi
6629
6630 if test "$wxUSE_SPINBTN" = yes; then
6631 echo "$ac_t""yes" 1>&6
6632 else
6633 echo "$ac_t""no" 1>&6
6634 fi
6635
6636
6637 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6638echo "configure:6639: checking for --enable-spinctrl" >&5
6639 no_cache=0
6640 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6641if test "${enable_spinctrl+set}" = set; then
6642 enableval="$enable_spinctrl"
6643
6644 if test "$enableval" = yes; then
6645 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
6646 else
6647 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
6648 fi
6649
6650else
6651
6652 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6653 if test "x$LINE" != x ; then
6654 eval "DEFAULT_$LINE"
6655 else
6656 no_cache=1
6657 fi
6658
6659 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6660
6661fi
6662
6663
6664 eval "$ac_cv_use_spinctrl"
6665 if test "$no_cache" != 1; then
6666 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6667 fi
6668
6669 if test "$wxUSE_SPINCTRL" = yes; then
6670 echo "$ac_t""yes" 1>&6
6671 else
6672 echo "$ac_t""no" 1>&6
6673 fi
6674
6675
6676 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6677echo "configure:6678: checking for --enable-splitter" >&5
6678 no_cache=0
6679 # Check whether --enable-splitter or --disable-splitter was given.
6680if test "${enable_splitter+set}" = set; then
6681 enableval="$enable_splitter"
6682
6683 if test "$enableval" = yes; then
6684 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
6685 else
6686 ac_cv_use_splitter='wxUSE_SPLITTER=no'
6687 fi
6688
6689else
6690
6691 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6692 if test "x$LINE" != x ; then
6693 eval "DEFAULT_$LINE"
6694 else
6695 no_cache=1
6696 fi
6697
6698 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6699
6700fi
6701
6702
6703 eval "$ac_cv_use_splitter"
6704 if test "$no_cache" != 1; then
6705 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6706 fi
6707
6708 if test "$wxUSE_SPLITTER" = yes; then
6709 echo "$ac_t""yes" 1>&6
6710 else
6711 echo "$ac_t""no" 1>&6
6712 fi
6713
6714
6715 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6716echo "configure:6717: checking for --enable-statbmp" >&5
6717 no_cache=0
6718 # Check whether --enable-statbmp or --disable-statbmp was given.
6719if test "${enable_statbmp+set}" = set; then
6720 enableval="$enable_statbmp"
6721
6722 if test "$enableval" = yes; then
6723 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
6724 else
6725 ac_cv_use_statbmp='wxUSE_STATBMP=no'
6726 fi
6727
6728else
6729
6730 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6731 if test "x$LINE" != x ; then
6732 eval "DEFAULT_$LINE"
6733 else
6734 no_cache=1
6735 fi
6736
6737 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6738
6739fi
6740
6741
6742 eval "$ac_cv_use_statbmp"
6743 if test "$no_cache" != 1; then
6744 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6745 fi
6746
6747 if test "$wxUSE_STATBMP" = yes; then
6748 echo "$ac_t""yes" 1>&6
6749 else
6750 echo "$ac_t""no" 1>&6
6751 fi
6752
6753
6754 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6755echo "configure:6756: checking for --enable-statbox" >&5
6756 no_cache=0
6757 # Check whether --enable-statbox or --disable-statbox was given.
6758if test "${enable_statbox+set}" = set; then
6759 enableval="$enable_statbox"
6760
6761 if test "$enableval" = yes; then
6762 ac_cv_use_statbox='wxUSE_STATBOX=yes'
6763 else
6764 ac_cv_use_statbox='wxUSE_STATBOX=no'
6765 fi
6766
6767else
6768
6769 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6770 if test "x$LINE" != x ; then
6771 eval "DEFAULT_$LINE"
6772 else
6773 no_cache=1
6774 fi
6775
6776 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6777
6778fi
6779
6780
6781 eval "$ac_cv_use_statbox"
6782 if test "$no_cache" != 1; then
6783 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6784 fi
6785
6786 if test "$wxUSE_STATBOX" = yes; then
6787 echo "$ac_t""yes" 1>&6
6788 else
6789 echo "$ac_t""no" 1>&6
6790 fi
6791
6792
6793 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6794echo "configure:6795: checking for --enable-statline" >&5
6795 no_cache=0
6796 # Check whether --enable-statline or --disable-statline was given.
6797if test "${enable_statline+set}" = set; then
6798 enableval="$enable_statline"
6799
6800 if test "$enableval" = yes; then
6801 ac_cv_use_statline='wxUSE_STATLINE=yes'
6802 else
6803 ac_cv_use_statline='wxUSE_STATLINE=no'
6804 fi
6805
6806else
6807
6808 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6809 if test "x$LINE" != x ; then
6810 eval "DEFAULT_$LINE"
6811 else
6812 no_cache=1
6813 fi
6814
6815 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6816
6817fi
6818
6819
6820 eval "$ac_cv_use_statline"
6821 if test "$no_cache" != 1; then
6822 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6823 fi
6824
6825 if test "$wxUSE_STATLINE" = yes; then
6826 echo "$ac_t""yes" 1>&6
6827 else
6828 echo "$ac_t""no" 1>&6
6829 fi
6830
6831
6832 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6833echo "configure:6834: checking for --enable-stattext" >&5
6834 no_cache=0
6835 # Check whether --enable-stattext or --disable-stattext was given.
6836if test "${enable_stattext+set}" = set; then
6837 enableval="$enable_stattext"
6838
6839 if test "$enableval" = yes; then
6840 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
6841 else
6842 ac_cv_use_stattext='wxUSE_STATTEXT=no'
6843 fi
6844
6845else
6846
6847 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6848 if test "x$LINE" != x ; then
6849 eval "DEFAULT_$LINE"
6850 else
6851 no_cache=1
6852 fi
6853
6854 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6855
6856fi
6857
6858
6859 eval "$ac_cv_use_stattext"
6860 if test "$no_cache" != 1; then
6861 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6862 fi
6863
6864 if test "$wxUSE_STATTEXT" = yes; then
6865 echo "$ac_t""yes" 1>&6
6866 else
6867 echo "$ac_t""no" 1>&6
6868 fi
6869
6870
6871 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6872echo "configure:6873: checking for --enable-statusbar" >&5
6873 no_cache=0
6874 # Check whether --enable-statusbar or --disable-statusbar was given.
6875if test "${enable_statusbar+set}" = set; then
6876 enableval="$enable_statusbar"
6877
6878 if test "$enableval" = yes; then
6879 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
6880 else
6881 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
6882 fi
6883
6884else
6885
6886 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6887 if test "x$LINE" != x ; then
6888 eval "DEFAULT_$LINE"
6889 else
6890 no_cache=1
6891 fi
6892
6893 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6894
6895fi
6896
6897
6898 eval "$ac_cv_use_statusbar"
6899 if test "$no_cache" != 1; then
6900 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6901 fi
6902
6903 if test "$wxUSE_STATUSBAR" = yes; then
6904 echo "$ac_t""yes" 1>&6
6905 else
6906 echo "$ac_t""no" 1>&6
6907 fi
6908
6909
6910 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6911echo "configure:6912: checking for --enable-tabdialog" >&5
6912 no_cache=0
6913 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6914if test "${enable_tabdialog+set}" = set; then
6915 enableval="$enable_tabdialog"
6916
6917 if test "$enableval" = yes; then
6918 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
6919 else
6920 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
6921 fi
6922
6923else
6924
6925 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6926 if test "x$LINE" != x ; then
6927 eval "DEFAULT_$LINE"
6928 else
6929 no_cache=1
6930 fi
6931
6932 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6933
6934fi
6935
6936
6937 eval "$ac_cv_use_tabdialog"
6938 if test "$no_cache" != 1; then
6939 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6940 fi
6941
6942 if test "$wxUSE_TABDIALOG" = yes; then
6943 echo "$ac_t""yes" 1>&6
6944 else
6945 echo "$ac_t""no" 1>&6
6946 fi
6947
6948
6949 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6950echo "configure:6951: checking for --enable-textctrl" >&5
6951 no_cache=0
6952 # Check whether --enable-textctrl or --disable-textctrl was given.
6953if test "${enable_textctrl+set}" = set; then
6954 enableval="$enable_textctrl"
6955
6956 if test "$enableval" = yes; then
6957 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
6958 else
6959 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
6960 fi
6961
6962else
6963
6964 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6965 if test "x$LINE" != x ; then
6966 eval "DEFAULT_$LINE"
6967 else
6968 no_cache=1
6969 fi
6970
6971 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6972
6973fi
6974
6975
6976 eval "$ac_cv_use_textctrl"
6977 if test "$no_cache" != 1; then
6978 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6979 fi
6980
6981 if test "$wxUSE_TEXTCTRL" = yes; then
6982 echo "$ac_t""yes" 1>&6
6983 else
6984 echo "$ac_t""no" 1>&6
6985 fi
6986
6987
6988 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6989echo "configure:6990: checking for --enable-togglebtn" >&5
6990 no_cache=0
6991 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6992if test "${enable_togglebtn+set}" = set; then
6993 enableval="$enable_togglebtn"
6994
6995 if test "$enableval" = yes; then
6996 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
6997 else
6998 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
6999 fi
7000
7001else
7002
7003 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7004 if test "x$LINE" != x ; then
7005 eval "DEFAULT_$LINE"
7006 else
7007 no_cache=1
7008 fi
7009
7010 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7011
7012fi
7013
7014
7015 eval "$ac_cv_use_togglebtn"
7016 if test "$no_cache" != 1; then
7017 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7018 fi
7019
7020 if test "$wxUSE_TOGGLEBTN" = yes; then
7021 echo "$ac_t""yes" 1>&6
7022 else
7023 echo "$ac_t""no" 1>&6
7024 fi
7025
7026
7027 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
7028echo "configure:7029: checking for --enable-toolbar" >&5
7029 no_cache=0
7030 # Check whether --enable-toolbar or --disable-toolbar was given.
7031if test "${enable_toolbar+set}" = set; then
7032 enableval="$enable_toolbar"
7033
7034 if test "$enableval" = yes; then
7035 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7036 else
7037 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7038 fi
7039
7040else
7041
7042 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7043 if test "x$LINE" != x ; then
7044 eval "DEFAULT_$LINE"
7045 else
7046 no_cache=1
7047 fi
7048
7049 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7050
7051fi
7052
7053
7054 eval "$ac_cv_use_toolbar"
7055 if test "$no_cache" != 1; then
7056 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7057 fi
7058
7059 if test "$wxUSE_TOOLBAR" = yes; then
7060 echo "$ac_t""yes" 1>&6
7061 else
7062 echo "$ac_t""no" 1>&6
7063 fi
7064
7065
7066 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7067echo "configure:7068: checking for --enable-tbarnative" >&5
7068 no_cache=0
7069 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7070if test "${enable_tbarnative+set}" = set; then
7071 enableval="$enable_tbarnative"
7072
7073 if test "$enableval" = yes; then
7074 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7075 else
7076 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7077 fi
7078
7079else
7080
7081 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7082 if test "x$LINE" != x ; then
7083 eval "DEFAULT_$LINE"
7084 else
7085 no_cache=1
7086 fi
7087
7088 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7089
7090fi
7091
7092
7093 eval "$ac_cv_use_tbarnative"
7094 if test "$no_cache" != 1; then
7095 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7096 fi
7097
7098 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7099 echo "$ac_t""yes" 1>&6
7100 else
7101 echo "$ac_t""no" 1>&6
7102 fi
7103
7104
7105 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7106echo "configure:7107: checking for --enable-tbarsmpl" >&5
7107 no_cache=0
7108 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7109if test "${enable_tbarsmpl+set}" = set; then
7110 enableval="$enable_tbarsmpl"
7111
7112 if test "$enableval" = yes; then
7113 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7114 else
7115 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7116 fi
7117
7118else
7119
7120 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7121 if test "x$LINE" != x ; then
7122 eval "DEFAULT_$LINE"
7123 else
7124 no_cache=1
7125 fi
7126
7127 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7128
7129fi
7130
7131
7132 eval "$ac_cv_use_tbarsmpl"
7133 if test "$no_cache" != 1; then
7134 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7135 fi
7136
7137 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7138 echo "$ac_t""yes" 1>&6
7139 else
7140 echo "$ac_t""no" 1>&6
7141 fi
7142
7143
7144 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7145echo "configure:7146: checking for --enable-treectrl" >&5
7146 no_cache=0
7147 # Check whether --enable-treectrl or --disable-treectrl was given.
7148if test "${enable_treectrl+set}" = set; then
7149 enableval="$enable_treectrl"
7150
7151 if test "$enableval" = yes; then
7152 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
7153 else
7154 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
7155 fi
7156
7157else
7158
7159 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7160 if test "x$LINE" != x ; then
7161 eval "DEFAULT_$LINE"
7162 else
7163 no_cache=1
7164 fi
7165
7166 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7167
7168fi
7169
7170
7171 eval "$ac_cv_use_treectrl"
7172 if test "$no_cache" != 1; then
7173 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7174 fi
7175
7176 if test "$wxUSE_TREECTRL" = yes; then
7177 echo "$ac_t""yes" 1>&6
7178 else
7179 echo "$ac_t""no" 1>&6
7180 fi
7181
7182
7183 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7184echo "configure:7185: checking for --enable-tipwindow" >&5
7185 no_cache=0
7186 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7187if test "${enable_tipwindow+set}" = set; then
7188 enableval="$enable_tipwindow"
7189
7190 if test "$enableval" = yes; then
7191 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
7192 else
7193 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
7194 fi
7195
7196else
7197
7198 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7199 if test "x$LINE" != x ; then
7200 eval "DEFAULT_$LINE"
7201 else
7202 no_cache=1
7203 fi
7204
7205 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7206
7207fi
7208
7209
7210 eval "$ac_cv_use_tipwindow"
7211 if test "$no_cache" != 1; then
7212 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7213 fi
7214
7215 if test "$wxUSE_TIPWINDOW" = yes; then
7216 echo "$ac_t""yes" 1>&6
7217 else
7218 echo "$ac_t""no" 1>&6
7219 fi
7220
7221
7222 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7223echo "configure:7224: checking for --enable-popupwin" >&5
7224 no_cache=0
7225 # Check whether --enable-popupwin or --disable-popupwin was given.
7226if test "${enable_popupwin+set}" = set; then
7227 enableval="$enable_popupwin"
7228
7229 if test "$enableval" = yes; then
7230 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
7231 else
7232 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
7233 fi
7234
7235else
7236
7237 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7238 if test "x$LINE" != x ; then
7239 eval "DEFAULT_$LINE"
7240 else
7241 no_cache=1
7242 fi
7243
7244 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7245
7246fi
7247
7248
7249 eval "$ac_cv_use_popupwin"
7250 if test "$no_cache" != 1; then
7251 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7252 fi
7253
7254 if test "$wxUSE_POPUPWIN" = yes; then
7255 echo "$ac_t""yes" 1>&6
7256 else
7257 echo "$ac_t""no" 1>&6
7258 fi
7259
7260
7261
7262
7263 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7264echo "configure:7265: checking for --enable-commondlg" >&5
7265 no_cache=0
7266 # Check whether --enable-commondlg or --disable-commondlg was given.
7267if test "${enable_commondlg+set}" = set; then
7268 enableval="$enable_commondlg"
7269
7270 if test "$enableval" = yes; then
7271 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
7272 else
7273 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
7274 fi
7275
7276else
7277
7278 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7279 if test "x$LINE" != x ; then
7280 eval "DEFAULT_$LINE"
7281 else
7282 no_cache=1
7283 fi
7284
7285 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7286
7287fi
7288
7289
7290 eval "$ac_cv_use_commondlg"
7291 if test "$no_cache" != 1; then
7292 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7293 fi
7294
7295 if test "$wxUSE_COMMONDLGS" = yes; then
7296 echo "$ac_t""yes" 1>&6
7297 else
7298 echo "$ac_t""no" 1>&6
7299 fi
7300
7301
7302 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7303echo "configure:7304: checking for --enable-choicedlg" >&5
7304 no_cache=0
7305 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7306if test "${enable_choicedlg+set}" = set; then
7307 enableval="$enable_choicedlg"
7308
7309 if test "$enableval" = yes; then
7310 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
7311 else
7312 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
7313 fi
7314
7315else
7316
7317 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7318 if test "x$LINE" != x ; then
7319 eval "DEFAULT_$LINE"
7320 else
7321 no_cache=1
7322 fi
7323
7324 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7325
7326fi
7327
7328
7329 eval "$ac_cv_use_choicedlg"
7330 if test "$no_cache" != 1; then
7331 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7332 fi
7333
7334 if test "$wxUSE_CHOICEDLG" = yes; then
7335 echo "$ac_t""yes" 1>&6
7336 else
7337 echo "$ac_t""no" 1>&6
7338 fi
7339
7340
7341 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7342echo "configure:7343: checking for --enable-coldlg" >&5
7343 no_cache=0
7344 # Check whether --enable-coldlg or --disable-coldlg was given.
7345if test "${enable_coldlg+set}" = set; then
7346 enableval="$enable_coldlg"
7347
7348 if test "$enableval" = yes; then
7349 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
7350 else
7351 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
7352 fi
7353
7354else
7355
7356 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7357 if test "x$LINE" != x ; then
7358 eval "DEFAULT_$LINE"
7359 else
7360 no_cache=1
7361 fi
7362
7363 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7364
7365fi
7366
7367
7368 eval "$ac_cv_use_coldlg"
7369 if test "$no_cache" != 1; then
7370 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7371 fi
7372
7373 if test "$wxUSE_COLOURDLG" = yes; then
7374 echo "$ac_t""yes" 1>&6
7375 else
7376 echo "$ac_t""no" 1>&6
7377 fi
7378
7379
7380 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7381echo "configure:7382: checking for --enable-filedlg" >&5
7382 no_cache=0
7383 # Check whether --enable-filedlg or --disable-filedlg was given.
7384if test "${enable_filedlg+set}" = set; then
7385 enableval="$enable_filedlg"
7386
7387 if test "$enableval" = yes; then
7388 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
7389 else
7390 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
7391 fi
7392
7393else
7394
7395 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7396 if test "x$LINE" != x ; then
7397 eval "DEFAULT_$LINE"
7398 else
7399 no_cache=1
7400 fi
7401
7402 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7403
7404fi
7405
7406
7407 eval "$ac_cv_use_filedlg"
7408 if test "$no_cache" != 1; then
7409 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7410 fi
7411
7412 if test "$wxUSE_FILEDLG" = yes; then
7413 echo "$ac_t""yes" 1>&6
7414 else
7415 echo "$ac_t""no" 1>&6
7416 fi
7417
7418
7419 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7420echo "configure:7421: checking for --enable-finddlg" >&5
7421 no_cache=0
7422 # Check whether --enable-finddlg or --disable-finddlg was given.
7423if test "${enable_finddlg+set}" = set; then
7424 enableval="$enable_finddlg"
7425
7426 if test "$enableval" = yes; then
7427 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
7428 else
7429 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
7430 fi
7431
7432else
7433
7434 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7435 if test "x$LINE" != x ; then
7436 eval "DEFAULT_$LINE"
7437 else
7438 no_cache=1
7439 fi
7440
7441 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7442
7443fi
7444
7445
7446 eval "$ac_cv_use_finddlg"
7447 if test "$no_cache" != 1; then
7448 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7449 fi
7450
7451 if test "$wxUSE_FINDREPLDLG" = yes; then
7452 echo "$ac_t""yes" 1>&6
7453 else
7454 echo "$ac_t""no" 1>&6
7455 fi
7456
7457
7458 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7459echo "configure:7460: checking for --enable-fontdlg" >&5
7460 no_cache=0
7461 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7462if test "${enable_fontdlg+set}" = set; then
7463 enableval="$enable_fontdlg"
7464
7465 if test "$enableval" = yes; then
7466 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
7467 else
7468 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
7469 fi
7470
7471else
7472
7473 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7474 if test "x$LINE" != x ; then
7475 eval "DEFAULT_$LINE"
7476 else
7477 no_cache=1
7478 fi
7479
7480 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7481
7482fi
7483
7484
7485 eval "$ac_cv_use_fontdlg"
7486 if test "$no_cache" != 1; then
7487 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7488 fi
7489
7490 if test "$wxUSE_FONTDLG" = yes; then
7491 echo "$ac_t""yes" 1>&6
7492 else
7493 echo "$ac_t""no" 1>&6
7494 fi
7495
7496
7497 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7498echo "configure:7499: checking for --enable-dirdlg" >&5
7499 no_cache=0
7500 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7501if test "${enable_dirdlg+set}" = set; then
7502 enableval="$enable_dirdlg"
7503
7504 if test "$enableval" = yes; then
7505 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
7506 else
7507 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
7508 fi
7509
7510else
7511
7512 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7513 if test "x$LINE" != x ; then
7514 eval "DEFAULT_$LINE"
7515 else
7516 no_cache=1
7517 fi
7518
7519 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7520
7521fi
7522
7523
7524 eval "$ac_cv_use_dirdlg"
7525 if test "$no_cache" != 1; then
7526 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7527 fi
7528
7529 if test "$wxUSE_DIRDLG" = yes; then
7530 echo "$ac_t""yes" 1>&6
7531 else
7532 echo "$ac_t""no" 1>&6
7533 fi
7534
7535
7536 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7537echo "configure:7538: checking for --enable-msgdlg" >&5
7538 no_cache=0
7539 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7540if test "${enable_msgdlg+set}" = set; then
7541 enableval="$enable_msgdlg"
7542
7543 if test "$enableval" = yes; then
7544 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
7545 else
7546 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
7547 fi
7548
7549else
7550
7551 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7552 if test "x$LINE" != x ; then
7553 eval "DEFAULT_$LINE"
7554 else
7555 no_cache=1
7556 fi
7557
7558 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7559
7560fi
7561
7562
7563 eval "$ac_cv_use_msgdlg"
7564 if test "$no_cache" != 1; then
7565 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7566 fi
7567
7568 if test "$wxUSE_MSGDLG" = yes; then
7569 echo "$ac_t""yes" 1>&6
7570 else
7571 echo "$ac_t""no" 1>&6
7572 fi
7573
7574
7575 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7576echo "configure:7577: checking for --enable-numberdlg" >&5
7577 no_cache=0
7578 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7579if test "${enable_numberdlg+set}" = set; then
7580 enableval="$enable_numberdlg"
7581
7582 if test "$enableval" = yes; then
7583 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
7584 else
7585 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
7586 fi
7587
7588else
7589
7590 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7591 if test "x$LINE" != x ; then
7592 eval "DEFAULT_$LINE"
7593 else
7594 no_cache=1
7595 fi
7596
7597 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7598
7599fi
7600
7601
7602 eval "$ac_cv_use_numberdlg"
7603 if test "$no_cache" != 1; then
7604 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7605 fi
7606
7607 if test "$wxUSE_NUMBERDLG" = yes; then
7608 echo "$ac_t""yes" 1>&6
7609 else
7610 echo "$ac_t""no" 1>&6
7611 fi
7612
7613
7614 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7615echo "configure:7616: checking for --enable-splash" >&5
7616 no_cache=0
7617 # Check whether --enable-splash or --disable-splash was given.
7618if test "${enable_splash+set}" = set; then
7619 enableval="$enable_splash"
7620
7621 if test "$enableval" = yes; then
7622 ac_cv_use_splash='wxUSE_SPLASH=yes'
7623 else
7624 ac_cv_use_splash='wxUSE_SPLASH=no'
7625 fi
7626
7627else
7628
7629 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7630 if test "x$LINE" != x ; then
7631 eval "DEFAULT_$LINE"
7632 else
7633 no_cache=1
7634 fi
7635
7636 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7637
7638fi
7639
7640
7641 eval "$ac_cv_use_splash"
7642 if test "$no_cache" != 1; then
7643 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7644 fi
7645
7646 if test "$wxUSE_SPLASH" = yes; then
7647 echo "$ac_t""yes" 1>&6
7648 else
7649 echo "$ac_t""no" 1>&6
7650 fi
7651
7652
7653 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7654echo "configure:7655: checking for --enable-textdlg" >&5
7655 no_cache=0
7656 # Check whether --enable-textdlg or --disable-textdlg was given.
7657if test "${enable_textdlg+set}" = set; then
7658 enableval="$enable_textdlg"
7659
7660 if test "$enableval" = yes; then
7661 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
7662 else
7663 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
7664 fi
7665
7666else
7667
7668 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7669 if test "x$LINE" != x ; then
7670 eval "DEFAULT_$LINE"
7671 else
7672 no_cache=1
7673 fi
7674
7675 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7676
7677fi
7678
7679
7680 eval "$ac_cv_use_textdlg"
7681 if test "$no_cache" != 1; then
7682 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7683 fi
7684
7685 if test "$wxUSE_TEXTDLG" = yes; then
7686 echo "$ac_t""yes" 1>&6
7687 else
7688 echo "$ac_t""no" 1>&6
7689 fi
7690
7691
7692 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7693echo "configure:7694: checking for --enable-tipdlg" >&5
7694 no_cache=0
7695 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7696if test "${enable_tipdlg+set}" = set; then
7697 enableval="$enable_tipdlg"
7698
7699 if test "$enableval" = yes; then
7700 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
7701 else
7702 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
7703 fi
7704
7705else
7706
7707 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7708 if test "x$LINE" != x ; then
7709 eval "DEFAULT_$LINE"
7710 else
7711 no_cache=1
7712 fi
7713
7714 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7715
7716fi
7717
7718
7719 eval "$ac_cv_use_tipdlg"
7720 if test "$no_cache" != 1; then
7721 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7722 fi
7723
7724 if test "$wxUSE_STARTUP_TIPS" = yes; then
7725 echo "$ac_t""yes" 1>&6
7726 else
7727 echo "$ac_t""no" 1>&6
7728 fi
7729
7730
7731 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7732echo "configure:7733: checking for --enable-progressdlg" >&5
7733 no_cache=0
7734 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7735if test "${enable_progressdlg+set}" = set; then
7736 enableval="$enable_progressdlg"
7737
7738 if test "$enableval" = yes; then
7739 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
7740 else
7741 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
7742 fi
7743
7744else
7745
7746 LINE=`grep "wxUSE_PROGRESSDLG" ${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_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7754
7755fi
7756
7757
7758 eval "$ac_cv_use_progressdlg"
7759 if test "$no_cache" != 1; then
7760 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7761 fi
7762
7763 if test "$wxUSE_PROGRESSDLG" = yes; then
7764 echo "$ac_t""yes" 1>&6
7765 else
7766 echo "$ac_t""no" 1>&6
7767 fi
7768
7769
7770 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7771echo "configure:7772: checking for --enable-wizarddlg" >&5
7772 no_cache=0
7773 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7774if test "${enable_wizarddlg+set}" = set; then
7775 enableval="$enable_wizarddlg"
7776
7777 if test "$enableval" = yes; then
7778 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
7779 else
7780 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
7781 fi
7782
7783else
7784
7785 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7786 if test "x$LINE" != x ; then
7787 eval "DEFAULT_$LINE"
7788 else
7789 no_cache=1
7790 fi
7791
7792 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7793
7794fi
7795
7796
7797 eval "$ac_cv_use_wizarddlg"
7798 if test "$no_cache" != 1; then
7799 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7800 fi
7801
7802 if test "$wxUSE_WIZARDDLG" = yes; then
7803 echo "$ac_t""yes" 1>&6
7804 else
7805 echo "$ac_t""no" 1>&6
7806 fi
7807
7808
7809
7810
7811 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7812echo "configure:7813: checking for --enable-menus" >&5
7813 no_cache=0
7814 # Check whether --enable-menus or --disable-menus was given.
7815if test "${enable_menus+set}" = set; then
7816 enableval="$enable_menus"
7817
7818 if test "$enableval" = yes; then
7819 ac_cv_use_menus='wxUSE_MENUS=yes'
7820 else
7821 ac_cv_use_menus='wxUSE_MENUS=no'
7822 fi
7823
7824else
7825
7826 LINE=`grep "wxUSE_MENUS" ${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_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7834
7835fi
7836
7837
7838 eval "$ac_cv_use_menus"
7839 if test "$no_cache" != 1; then
7840 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7841 fi
7842
7843 if test "$wxUSE_MENUS" = yes; then
7844 echo "$ac_t""yes" 1>&6
7845 else
7846 echo "$ac_t""no" 1>&6
7847 fi
7848
7849
7850 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7851echo "configure:7852: checking for --enable-miniframe" >&5
7852 no_cache=0
7853 # Check whether --enable-miniframe or --disable-miniframe was given.
7854if test "${enable_miniframe+set}" = set; then
7855 enableval="$enable_miniframe"
7856
7857 if test "$enableval" = yes; then
7858 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
7859 else
7860 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
7861 fi
7862
7863else
7864
7865 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7866 if test "x$LINE" != x ; then
7867 eval "DEFAULT_$LINE"
7868 else
7869 no_cache=1
7870 fi
7871
7872 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7873
7874fi
7875
7876
7877 eval "$ac_cv_use_miniframe"
7878 if test "$no_cache" != 1; then
7879 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7880 fi
7881
7882 if test "$wxUSE_MINIFRAME" = yes; then
7883 echo "$ac_t""yes" 1>&6
7884 else
7885 echo "$ac_t""no" 1>&6
7886 fi
7887
7888
7889 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7890echo "configure:7891: checking for --enable-tooltips" >&5
7891 no_cache=0
7892 # Check whether --enable-tooltips or --disable-tooltips was given.
7893if test "${enable_tooltips+set}" = set; then
7894 enableval="$enable_tooltips"
7895
7896 if test "$enableval" = yes; then
7897 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
7898 else
7899 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
7900 fi
7901
7902else
7903
7904 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7905 if test "x$LINE" != x ; then
7906 eval "DEFAULT_$LINE"
7907 else
7908 no_cache=1
7909 fi
7910
7911 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7912
7913fi
7914
7915
7916 eval "$ac_cv_use_tooltips"
7917 if test "$no_cache" != 1; then
7918 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7919 fi
7920
7921 if test "$wxUSE_TOOLTIPS" = yes; then
7922 echo "$ac_t""yes" 1>&6
7923 else
7924 echo "$ac_t""no" 1>&6
7925 fi
7926
7927
7928 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7929echo "configure:7930: checking for --enable-splines" >&5
7930 no_cache=0
7931 # Check whether --enable-splines or --disable-splines was given.
7932if test "${enable_splines+set}" = set; then
7933 enableval="$enable_splines"
7934
7935 if test "$enableval" = yes; then
7936 ac_cv_use_splines='wxUSE_SPLINES=yes'
7937 else
7938 ac_cv_use_splines='wxUSE_SPLINES=no'
7939 fi
7940
7941else
7942
7943 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7944 if test "x$LINE" != x ; then
7945 eval "DEFAULT_$LINE"
7946 else
7947 no_cache=1
7948 fi
7949
7950 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7951
7952fi
7953
7954
7955 eval "$ac_cv_use_splines"
7956 if test "$no_cache" != 1; then
7957 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7958 fi
7959
7960 if test "$wxUSE_SPLINES" = yes; then
7961 echo "$ac_t""yes" 1>&6
7962 else
7963 echo "$ac_t""no" 1>&6
7964 fi
7965
7966
7967 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7968echo "configure:7969: checking for --enable-validators" >&5
7969 no_cache=0
7970 # Check whether --enable-validators or --disable-validators was given.
7971if test "${enable_validators+set}" = set; then
7972 enableval="$enable_validators"
7973
7974 if test "$enableval" = yes; then
7975 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
7976 else
7977 ac_cv_use_validators='wxUSE_VALIDATORS=no'
7978 fi
7979
7980else
7981
7982 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7983 if test "x$LINE" != x ; then
7984 eval "DEFAULT_$LINE"
7985 else
7986 no_cache=1
7987 fi
7988
7989 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7990
7991fi
7992
7993
7994 eval "$ac_cv_use_validators"
7995 if test "$no_cache" != 1; then
7996 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7997 fi
7998
7999 if test "$wxUSE_VALIDATORS" = yes; then
8000 echo "$ac_t""yes" 1>&6
8001 else
8002 echo "$ac_t""no" 1>&6
8003 fi
8004
8005
8006 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
8007echo "configure:8008: checking for --enable-busyinfo" >&5
8008 no_cache=0
8009 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8010if test "${enable_busyinfo+set}" = set; then
8011 enableval="$enable_busyinfo"
8012
8013 if test "$enableval" = yes; then
8014 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8015 else
8016 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8017 fi
8018
8019else
8020
8021 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8022 if test "x$LINE" != x ; then
8023 eval "DEFAULT_$LINE"
8024 else
8025 no_cache=1
8026 fi
8027
8028 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8029
8030fi
8031
8032
8033 eval "$ac_cv_use_busyinfo"
8034 if test "$no_cache" != 1; then
8035 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8036 fi
8037
8038 if test "$wxUSE_BUSYINFO" = yes; then
8039 echo "$ac_t""yes" 1>&6
8040 else
8041 echo "$ac_t""no" 1>&6
8042 fi
8043
8044
8045 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
8046echo "configure:8047: checking for --enable-joystick" >&5
8047 no_cache=0
8048 # Check whether --enable-joystick or --disable-joystick was given.
8049if test "${enable_joystick+set}" = set; then
8050 enableval="$enable_joystick"
8051
8052 if test "$enableval" = yes; then
8053 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8054 else
8055 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8056 fi
8057
8058else
8059
8060 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8061 if test "x$LINE" != x ; then
8062 eval "DEFAULT_$LINE"
8063 else
8064 no_cache=1
8065 fi
8066
8067 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8068
8069fi
8070
8071
8072 eval "$ac_cv_use_joystick"
8073 if test "$no_cache" != 1; then
8074 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8075 fi
8076
8077 if test "$wxUSE_JOYSTICK" = yes; then
8078 echo "$ac_t""yes" 1>&6
8079 else
8080 echo "$ac_t""no" 1>&6
8081 fi
8082
8083
8084 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8085echo "configure:8086: checking for --enable-metafile" >&5
8086 no_cache=0
8087 # Check whether --enable-metafile or --disable-metafile was given.
8088if test "${enable_metafile+set}" = set; then
8089 enableval="$enable_metafile"
8090
8091 if test "$enableval" = yes; then
8092 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8093 else
8094 ac_cv_use_metafile='wxUSE_METAFILE=no'
8095 fi
8096
8097else
8098
8099 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8100 if test "x$LINE" != x ; then
8101 eval "DEFAULT_$LINE"
8102 else
8103 no_cache=1
8104 fi
8105
8106 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8107
8108fi
8109
8110
8111 eval "$ac_cv_use_metafile"
8112 if test "$no_cache" != 1; then
8113 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8114 fi
8115
8116 if test "$wxUSE_METAFILE" = yes; then
8117 echo "$ac_t""yes" 1>&6
8118 else
8119 echo "$ac_t""no" 1>&6
8120 fi
8121
8122
8123 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8124echo "configure:8125: checking for --enable-dragimage" >&5
8125 no_cache=0
8126 # Check whether --enable-dragimage or --disable-dragimage was given.
8127if test "${enable_dragimage+set}" = set; then
8128 enableval="$enable_dragimage"
8129
8130 if test "$enableval" = yes; then
8131 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
8132 else
8133 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
8134 fi
8135
8136else
8137
8138 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8139 if test "x$LINE" != x ; then
8140 eval "DEFAULT_$LINE"
8141 else
8142 no_cache=1
8143 fi
8144
8145 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8146
8147fi
8148
8149
8150 eval "$ac_cv_use_dragimage"
8151 if test "$no_cache" != 1; then
8152 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8153 fi
8154
8155 if test "$wxUSE_DRAGIMAGE" = yes; then
8156 echo "$ac_t""yes" 1>&6
8157 else
8158 echo "$ac_t""no" 1>&6
8159 fi
8160
8161
8162
8163
8164 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8165echo "configure:8166: checking for --enable-palette" >&5
8166 no_cache=0
8167 # Check whether --enable-palette or --disable-palette was given.
8168if test "${enable_palette+set}" = set; then
8169 enableval="$enable_palette"
8170
8171 if test "$enableval" = yes; then
8172 ac_cv_use_palette='wxUSE_PALETTE=yes'
8173 else
8174 ac_cv_use_palette='wxUSE_PALETTE=no'
8175 fi
8176
8177else
8178
8179 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8180 if test "x$LINE" != x ; then
8181 eval "DEFAULT_$LINE"
8182 else
8183 no_cache=1
8184 fi
8185
8186 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8187
8188fi
8189
8190
8191 eval "$ac_cv_use_palette"
8192 if test "$no_cache" != 1; then
8193 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8194 fi
8195
8196 if test "$wxUSE_PALETTE" = yes; then
8197 echo "$ac_t""yes" 1>&6
8198 else
8199 echo "$ac_t""no" 1>&6
8200 fi
8201
8202
8203 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8204echo "configure:8205: checking for --enable-image" >&5
8205 no_cache=0
8206 # Check whether --enable-image or --disable-image was given.
8207if test "${enable_image+set}" = set; then
8208 enableval="$enable_image"
8209
8210 if test "$enableval" = yes; then
8211 ac_cv_use_image='wxUSE_IMAGE=yes'
8212 else
8213 ac_cv_use_image='wxUSE_IMAGE=no'
8214 fi
8215
8216else
8217
8218 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8219 if test "x$LINE" != x ; then
8220 eval "DEFAULT_$LINE"
8221 else
8222 no_cache=1
8223 fi
8224
8225 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8226
8227fi
8228
8229
8230 eval "$ac_cv_use_image"
8231 if test "$no_cache" != 1; then
8232 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8233 fi
8234
8235 if test "$wxUSE_IMAGE" = yes; then
8236 echo "$ac_t""yes" 1>&6
8237 else
8238 echo "$ac_t""no" 1>&6
8239 fi
8240
8241
8242 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8243echo "configure:8244: checking for --enable-gif" >&5
8244 no_cache=0
8245 # Check whether --enable-gif or --disable-gif was given.
8246if test "${enable_gif+set}" = set; then
8247 enableval="$enable_gif"
8248
8249 if test "$enableval" = yes; then
8250 ac_cv_use_gif='wxUSE_GIF=yes'
8251 else
8252 ac_cv_use_gif='wxUSE_GIF=no'
8253 fi
8254
8255else
8256
8257 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8258 if test "x$LINE" != x ; then
8259 eval "DEFAULT_$LINE"
8260 else
8261 no_cache=1
8262 fi
8263
8264 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8265
8266fi
8267
8268
8269 eval "$ac_cv_use_gif"
8270 if test "$no_cache" != 1; then
8271 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8272 fi
8273
8274 if test "$wxUSE_GIF" = yes; then
8275 echo "$ac_t""yes" 1>&6
8276 else
8277 echo "$ac_t""no" 1>&6
8278 fi
8279
8280
8281 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8282echo "configure:8283: checking for --enable-pcx" >&5
8283 no_cache=0
8284 # Check whether --enable-pcx or --disable-pcx was given.
8285if test "${enable_pcx+set}" = set; then
8286 enableval="$enable_pcx"
8287
8288 if test "$enableval" = yes; then
8289 ac_cv_use_pcx='wxUSE_PCX=yes'
8290 else
8291 ac_cv_use_pcx='wxUSE_PCX=no'
8292 fi
8293
8294else
8295
8296 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8297 if test "x$LINE" != x ; then
8298 eval "DEFAULT_$LINE"
8299 else
8300 no_cache=1
8301 fi
8302
8303 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8304
8305fi
8306
8307
8308 eval "$ac_cv_use_pcx"
8309 if test "$no_cache" != 1; then
8310 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8311 fi
8312
8313 if test "$wxUSE_PCX" = yes; then
8314 echo "$ac_t""yes" 1>&6
8315 else
8316 echo "$ac_t""no" 1>&6
8317 fi
8318
8319
8320 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8321echo "configure:8322: checking for --enable-iff" >&5
8322 no_cache=0
8323 # Check whether --enable-iff or --disable-iff was given.
8324if test "${enable_iff+set}" = set; then
8325 enableval="$enable_iff"
8326
8327 if test "$enableval" = yes; then
8328 ac_cv_use_iff='wxUSE_IFF=yes'
8329 else
8330 ac_cv_use_iff='wxUSE_IFF=no'
8331 fi
8332
8333else
8334
8335 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8336 if test "x$LINE" != x ; then
8337 eval "DEFAULT_$LINE"
8338 else
8339 no_cache=1
8340 fi
8341
8342 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8343
8344fi
8345
8346
8347 eval "$ac_cv_use_iff"
8348 if test "$no_cache" != 1; then
8349 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8350 fi
8351
8352 if test "$wxUSE_IFF" = yes; then
8353 echo "$ac_t""yes" 1>&6
8354 else
8355 echo "$ac_t""no" 1>&6
8356 fi
8357
8358
8359 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8360echo "configure:8361: checking for --enable-pnm" >&5
8361 no_cache=0
8362 # Check whether --enable-pnm or --disable-pnm was given.
8363if test "${enable_pnm+set}" = set; then
8364 enableval="$enable_pnm"
8365
8366 if test "$enableval" = yes; then
8367 ac_cv_use_pnm='wxUSE_PNM=yes'
8368 else
8369 ac_cv_use_pnm='wxUSE_PNM=no'
8370 fi
8371
8372else
8373
8374 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8375 if test "x$LINE" != x ; then
8376 eval "DEFAULT_$LINE"
8377 else
8378 no_cache=1
8379 fi
8380
8381 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8382
8383fi
8384
8385
8386 eval "$ac_cv_use_pnm"
8387 if test "$no_cache" != 1; then
8388 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8389 fi
8390
8391 if test "$wxUSE_PNM" = yes; then
8392 echo "$ac_t""yes" 1>&6
8393 else
8394 echo "$ac_t""no" 1>&6
8395 fi
8396
8397
8398 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8399echo "configure:8400: checking for --enable-xpm" >&5
8400 no_cache=0
8401 # Check whether --enable-xpm or --disable-xpm was given.
8402if test "${enable_xpm+set}" = set; then
8403 enableval="$enable_xpm"
8404
8405 if test "$enableval" = yes; then
8406 ac_cv_use_xpm='wxUSE_XPM=yes'
8407 else
8408 ac_cv_use_xpm='wxUSE_XPM=no'
8409 fi
8410
8411else
8412
8413 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8414 if test "x$LINE" != x ; then
8415 eval "DEFAULT_$LINE"
8416 else
8417 no_cache=1
8418 fi
8419
8420 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8421
8422fi
8423
8424
8425 eval "$ac_cv_use_xpm"
8426 if test "$no_cache" != 1; then
8427 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8428 fi
8429
8430 if test "$wxUSE_XPM" = yes; then
8431 echo "$ac_t""yes" 1>&6
8432 else
8433 echo "$ac_t""no" 1>&6
8434 fi
8435
8436
8437 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8438echo "configure:8439: checking for --enable-ico_cur" >&5
8439 no_cache=0
8440 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8441if test "${enable_ico_cur+set}" = set; then
8442 enableval="$enable_ico_cur"
8443
8444 if test "$enableval" = yes; then
8445 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
8446 else
8447 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
8448 fi
8449
8450else
8451
8452 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8453 if test "x$LINE" != x ; then
8454 eval "DEFAULT_$LINE"
8455 else
8456 no_cache=1
8457 fi
8458
8459 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8460
8461fi
8462
8463
8464 eval "$ac_cv_use_ico_cur"
8465 if test "$no_cache" != 1; then
8466 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8467 fi
8468
8469 if test "$wxUSE_ICO_CUR" = yes; then
8470 echo "$ac_t""yes" 1>&6
8471 else
8472 echo "$ac_t""no" 1>&6
8473 fi
8474
8475
8476fi
8477
8478case "${host}" in
8479 *-pc-os2_emx | *-pc-os2-emx )
8480 LEX_STEM="lexyy"
8481 ;;
8482 *)
8483 PATH_IFS=':'
8484 LEX_STEM="lex.yy"
8485 ;;
8486esac
8487
8488
8489
8490 echo "saving argument cache $wx_arg_cache_file"
8491 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
8492
8493
8494
8495echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8496echo "configure:8497: checking for toolkit" >&5
8497
8498if test "$wxUSE_GUI" = "yes"; then
8499
8500 if test "$USE_BEOS" = 1; then
8501 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8502 fi
8503
8504 if test "$TOOLKIT_GIVEN" = 1; then
8505 for toolkit in `echo $ALL_TOOLKITS`; do
8506 var=wxUSE_$toolkit
8507 eval "value=\$${var}"
8508 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
8509 done
8510 else
8511 for toolkit in `echo $ALL_TOOLKITS`; do
8512 if test "$has_toolkit_in_cache" != 1; then
8513 var=DEFAULT_DEFAULT_wxUSE_$toolkit
8514 else
8515 var=DEFAULT_wxUSE_$toolkit
8516 fi
8517 eval "wxUSE_$toolkit=\$${var}"
8518 done
8519 fi
8520
8521 NUM_TOOLKITS=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8522 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8523
8524 case "${host}" in
8525 *-pc-os2_emx | *-pc-os2-emx )
8526 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8527 esac
8528
8529 case "$NUM_TOOLKITS" in
8530 1)
8531 ;;
8532 0)
8533 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8534 ;;
8535 *)
8536 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8537 esac
8538
8539 for toolkit in `echo $ALL_TOOLKITS`; do
8540 var=wxUSE_$toolkit
8541 eval "value=\$${var}"
8542 if test "x$value" != x; then
8543 cache_var=CACHE_$toolkit
8544 eval "cache=\$${cache_var}"
8545 if test "$cache" = 1; then
8546 echo "$var=$value" >> ${wx_arg_cache_file}
8547 fi
8548 if test "$value" = 1; then
8549 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
8550 echo "$ac_t""$toolkit_echo" 1>&6
8551 fi
8552 fi
8553 done
8554else
8555 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8556fi
8557
8558
8559cat > confcache <<\EOF
8560# This file is a shell script that caches the results of configure
8561# tests run on this system so they can be shared between configure
8562# scripts and configure runs. It is not useful on other systems.
8563# If it contains results you don't want to keep, you may remove or edit it.
8564#
8565# By default, configure uses ./config.cache as the cache file,
8566# creating it if it does not exist already. You can give configure
8567# the --cache-file=FILE option to use a different cache file; that is
8568# what configure does when it calls configure scripts in
8569# subdirectories, so they share the cache.
8570# Giving --cache-file=/dev/null disables caching, for debugging configure.
8571# config.status only pays attention to the cache file if you give it the
8572# --recheck option to rerun configure.
8573#
8574EOF
8575# The following way of writing the cache mishandles newlines in values,
8576# but we know of no workaround that is simple, portable, and efficient.
8577# So, don't put newlines in cache variables' values.
8578# Ultrix sh set writes to stderr and can't be redirected directly,
8579# and sets the high bit in the cache file unless we assign to the vars.
8580(set) 2>&1 |
8581 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8582 *ac_space=\ *)
8583 # `set' does not quote correctly, so add quotes (double-quote substitution
8584 # turns \\\\ into \\, and sed turns \\ into \).
8585 sed -n \
8586 -e "s/'/'\\\\''/g" \
8587 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8588 ;;
8589 *)
8590 # `set' quotes correctly as required by POSIX, so do not add quotes.
8591 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8592 ;;
8593 esac >> confcache
8594if cmp -s $cache_file confcache; then
8595 :
8596else
8597 if test -w $cache_file; then
8598 echo "updating cache $cache_file"
8599 cat confcache > $cache_file
8600 else
8601 echo "not updating unwritable cache $cache_file"
8602 fi
8603fi
8604rm -f confcache
8605
8606
8607if test "$build" != "$host" ; then
8608 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8609 CC=$host_alias-gcc
8610 CXX=$host_alias-c++
8611 AR=$host_alias-ar
8612 RANLIB=$host_alias-ranlib
8613 DLLTOOL=$host_alias-dlltool
8614 RESCOMP=$host_alias-windres
8615 LD=$host_alias-ld
8616 NM=$host_alias-nm
8617 STRIP=$host_alias-strip
8618 else
8619 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8620 fi
8621fi
8622
8623# Extract the first word of "gcc", so it can be a program name with args.
8624set dummy gcc; ac_word=$2
8625echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8626echo "configure:8627: checking for $ac_word" >&5
8627if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8628 echo $ac_n "(cached) $ac_c" 1>&6
8629else
8630 if test -n "$CC"; then
8631 ac_cv_prog_CC="$CC" # Let the user override the test.
8632else
8633 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8634 ac_dummy="$PATH"
8635 for ac_dir in $ac_dummy; do
8636 test -z "$ac_dir" && ac_dir=.
8637 if test -f $ac_dir/$ac_word; then
8638 ac_cv_prog_CC="gcc"
8639 break
8640 fi
8641 done
8642 IFS="$ac_save_ifs"
8643fi
8644fi
8645CC="$ac_cv_prog_CC"
8646if test -n "$CC"; then
8647 echo "$ac_t""$CC" 1>&6
8648else
8649 echo "$ac_t""no" 1>&6
8650fi
8651
8652if test -z "$CC"; then
8653 # Extract the first word of "cc", so it can be a program name with args.
8654set dummy cc; ac_word=$2
8655echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8656echo "configure:8657: checking for $ac_word" >&5
8657if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8658 echo $ac_n "(cached) $ac_c" 1>&6
8659else
8660 if test -n "$CC"; then
8661 ac_cv_prog_CC="$CC" # Let the user override the test.
8662else
8663 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8664 ac_prog_rejected=no
8665 ac_dummy="$PATH"
8666 for ac_dir in $ac_dummy; do
8667 test -z "$ac_dir" && ac_dir=.
8668 if test -f $ac_dir/$ac_word; then
8669 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8670 ac_prog_rejected=yes
8671 continue
8672 fi
8673 ac_cv_prog_CC="cc"
8674 break
8675 fi
8676 done
8677 IFS="$ac_save_ifs"
8678if test $ac_prog_rejected = yes; then
8679 # We found a bogon in the path, so make sure we never use it.
8680 set dummy $ac_cv_prog_CC
8681 shift
8682 if test $# -gt 0; then
8683 # We chose a different compiler from the bogus one.
8684 # However, it has the same basename, so the bogon will be chosen
8685 # first if we set CC to just the basename; use the full file name.
8686 shift
8687 set dummy "$ac_dir/$ac_word" "$@"
8688 shift
8689 ac_cv_prog_CC="$@"
8690 fi
8691fi
8692fi
8693fi
8694CC="$ac_cv_prog_CC"
8695if test -n "$CC"; then
8696 echo "$ac_t""$CC" 1>&6
8697else
8698 echo "$ac_t""no" 1>&6
8699fi
8700
8701 if test -z "$CC"; then
8702 case "`uname -s`" in
8703 *win32* | *WIN32*)
8704 # Extract the first word of "cl", so it can be a program name with args.
8705set dummy cl; ac_word=$2
8706echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8707echo "configure:8708: checking for $ac_word" >&5
8708if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8709 echo $ac_n "(cached) $ac_c" 1>&6
8710else
8711 if test -n "$CC"; then
8712 ac_cv_prog_CC="$CC" # Let the user override the test.
8713else
8714 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8715 ac_dummy="$PATH"
8716 for ac_dir in $ac_dummy; do
8717 test -z "$ac_dir" && ac_dir=.
8718 if test -f $ac_dir/$ac_word; then
8719 ac_cv_prog_CC="cl"
8720 break
8721 fi
8722 done
8723 IFS="$ac_save_ifs"
8724fi
8725fi
8726CC="$ac_cv_prog_CC"
8727if test -n "$CC"; then
8728 echo "$ac_t""$CC" 1>&6
8729else
8730 echo "$ac_t""no" 1>&6
8731fi
8732 ;;
8733 esac
8734 fi
8735 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8736fi
8737
8738echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8739echo "configure:8740: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8740
8741ac_ext=c
8742# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8743ac_cpp='$CPP $CPPFLAGS'
8744ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8745ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8746cross_compiling=$ac_cv_prog_cc_cross
8747
8748cat > conftest.$ac_ext << EOF
8749
8750#line 8751 "configure"
8751#include "confdefs.h"
8752
8753main(){return(0);}
8754EOF
8755if { (eval echo configure:8756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8756 ac_cv_prog_cc_works=yes
8757 # If we can't run a trivial program, we are probably using a cross compiler.
8758 if (./conftest; exit) 2>/dev/null; then
8759 ac_cv_prog_cc_cross=no
8760 else
8761 ac_cv_prog_cc_cross=yes
8762 fi
8763else
8764 echo "configure: failed program was:" >&5
8765 cat conftest.$ac_ext >&5
8766 ac_cv_prog_cc_works=no
8767fi
8768rm -fr conftest*
8769ac_ext=c
8770# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8771ac_cpp='$CPP $CPPFLAGS'
8772ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8773ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8774cross_compiling=$ac_cv_prog_cc_cross
8775
8776echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8777if test $ac_cv_prog_cc_works = no; then
8778 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8779fi
8780echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8781echo "configure:8782: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8782echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8783cross_compiling=$ac_cv_prog_cc_cross
8784
8785echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8786echo "configure:8787: checking whether we are using GNU C" >&5
8787if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8788 echo $ac_n "(cached) $ac_c" 1>&6
8789else
8790 cat > conftest.c <<EOF
8791#ifdef __GNUC__
8792 yes;
8793#endif
8794EOF
8795if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:8796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
8796 ac_cv_prog_gcc=yes
8797else
8798 ac_cv_prog_gcc=no
8799fi
8800fi
8801
8802echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8803
8804if test $ac_cv_prog_gcc = yes; then
8805 GCC=yes
8806else
8807 GCC=
8808fi
8809
8810ac_test_CFLAGS="${CFLAGS+set}"
8811ac_save_CFLAGS="$CFLAGS"
8812CFLAGS=
8813echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8814echo "configure:8815: checking whether ${CC-cc} accepts -g" >&5
8815if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8816 echo $ac_n "(cached) $ac_c" 1>&6
8817else
8818 echo 'void f(){}' > conftest.c
8819if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8820 ac_cv_prog_cc_g=yes
8821else
8822 ac_cv_prog_cc_g=no
8823fi
8824rm -f conftest*
8825
8826fi
8827
8828echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8829if test "$ac_test_CFLAGS" = set; then
8830 CFLAGS="$ac_save_CFLAGS"
8831elif test $ac_cv_prog_cc_g = yes; then
8832 if test "$GCC" = yes; then
8833 CFLAGS="-g -O2"
8834 else
8835 CFLAGS="-g"
8836 fi
8837else
8838 if test "$GCC" = yes; then
8839 CFLAGS="-O2"
8840 else
8841 CFLAGS=
8842 fi
8843fi
8844
8845
8846CFLAGS=`echo "$CFLAGS" | sed 's/-g//g'`
8847
8848echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8849echo "configure:8850: checking how to run the C preprocessor" >&5
8850# On Suns, sometimes $CPP names a directory.
8851if test -n "$CPP" && test -d "$CPP"; then
8852 CPP=
8853fi
8854if test -z "$CPP"; then
8855if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8856 echo $ac_n "(cached) $ac_c" 1>&6
8857else
8858 # This must be in double quotes, not single quotes, because CPP may get
8859 # substituted into the Makefile and "${CC-cc}" will confuse make.
8860 CPP="${CC-cc} -E"
8861 # On the NeXT, cc -E runs the code through the compiler's parser,
8862 # not just through cpp.
8863 cat > conftest.$ac_ext <<EOF
8864#line 8865 "configure"
8865#include "confdefs.h"
8866#include <assert.h>
8867Syntax Error
8868EOF
8869ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8870{ (eval echo configure:8871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8871ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8872if test -z "$ac_err"; then
8873 :
8874else
8875 echo "$ac_err" >&5
8876 echo "configure: failed program was:" >&5
8877 cat conftest.$ac_ext >&5
8878 rm -rf conftest*
8879 CPP="${CC-cc} -E -traditional-cpp"
8880 cat > conftest.$ac_ext <<EOF
8881#line 8882 "configure"
8882#include "confdefs.h"
8883#include <assert.h>
8884Syntax Error
8885EOF
8886ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8887{ (eval echo configure:8888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8888ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8889if test -z "$ac_err"; then
8890 :
8891else
8892 echo "$ac_err" >&5
8893 echo "configure: failed program was:" >&5
8894 cat conftest.$ac_ext >&5
8895 rm -rf conftest*
8896 CPP="${CC-cc} -nologo -E"
8897 cat > conftest.$ac_ext <<EOF
8898#line 8899 "configure"
8899#include "confdefs.h"
8900#include <assert.h>
8901Syntax Error
8902EOF
8903ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8904{ (eval echo configure:8905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8905ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8906if test -z "$ac_err"; then
8907 :
8908else
8909 echo "$ac_err" >&5
8910 echo "configure: failed program was:" >&5
8911 cat conftest.$ac_ext >&5
8912 rm -rf conftest*
8913 CPP=/lib/cpp
8914fi
8915rm -f conftest*
8916fi
8917rm -f conftest*
8918fi
8919rm -f conftest*
8920 ac_cv_prog_CPP="$CPP"
8921fi
8922 CPP="$ac_cv_prog_CPP"
8923else
8924 ac_cv_prog_CPP="$CPP"
8925fi
8926echo "$ac_t""$CPP" 1>&6
8927
8928if test $ac_cv_prog_gcc = yes; then
8929 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8930echo "configure:8931: checking whether ${CC-cc} needs -traditional" >&5
8931if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8932 echo $ac_n "(cached) $ac_c" 1>&6
8933else
8934 ac_pattern="Autoconf.*'x'"
8935 cat > conftest.$ac_ext <<EOF
8936#line 8937 "configure"
8937#include "confdefs.h"
8938#include <sgtty.h>
8939Autoconf TIOCGETP
8940EOF
8941if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8942 egrep "$ac_pattern" >/dev/null 2>&1; then
8943 rm -rf conftest*
8944 ac_cv_prog_gcc_traditional=yes
8945else
8946 rm -rf conftest*
8947 ac_cv_prog_gcc_traditional=no
8948fi
8949rm -f conftest*
8950
8951
8952 if test $ac_cv_prog_gcc_traditional = no; then
8953 cat > conftest.$ac_ext <<EOF
8954#line 8955 "configure"
8955#include "confdefs.h"
8956#include <termio.h>
8957Autoconf TCGETA
8958EOF
8959if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8960 egrep "$ac_pattern" >/dev/null 2>&1; then
8961 rm -rf conftest*
8962 ac_cv_prog_gcc_traditional=yes
8963fi
8964rm -f conftest*
8965
8966 fi
8967fi
8968
8969echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8970 if test $ac_cv_prog_gcc_traditional = yes; then
8971 CC="$CC -traditional"
8972 fi
8973fi
8974
8975
8976
8977ac_ext=C
8978# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8979ac_cpp='$CXXCPP $CPPFLAGS'
8980ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8981ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8982cross_compiling=$ac_cv_prog_cxx_cross
8983
8984
8985for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
8986do
8987# Extract the first word of "$ac_prog", so it can be a program name with args.
8988set dummy $ac_prog; ac_word=$2
8989echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8990echo "configure:8991: checking for $ac_word" >&5
8991if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8992 echo $ac_n "(cached) $ac_c" 1>&6
8993else
8994 if test -n "$CXX"; then
8995 ac_cv_prog_CXX="$CXX" # Let the user override the test.
8996else
8997 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8998 ac_dummy="$PATH"
8999 for ac_dir in $ac_dummy; do
9000 test -z "$ac_dir" && ac_dir=.
9001 if test -f $ac_dir/$ac_word; then
9002 ac_cv_prog_CXX="$ac_prog"
9003 break
9004 fi
9005 done
9006 IFS="$ac_save_ifs"
9007fi
9008fi
9009CXX="$ac_cv_prog_CXX"
9010if test -n "$CXX"; then
9011 echo "$ac_t""$CXX" 1>&6
9012else
9013 echo "$ac_t""no" 1>&6
9014fi
9015
9016test -n "$CXX" && break
9017done
9018test -n "$CXX" || CXX="gcc"
9019
9020
9021echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9022echo "configure:9023: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9023
9024ac_ext=C
9025# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9026ac_cpp='$CXXCPP $CPPFLAGS'
9027ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9028ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9029cross_compiling=$ac_cv_prog_cxx_cross
9030
9031cat > conftest.$ac_ext << EOF
9032
9033#line 9034 "configure"
9034#include "confdefs.h"
9035
9036int main(){return(0);}
9037EOF
9038if { (eval echo configure:9039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9039 ac_cv_prog_cxx_works=yes
9040 # If we can't run a trivial program, we are probably using a cross compiler.
9041 if (./conftest; exit) 2>/dev/null; then
9042 ac_cv_prog_cxx_cross=no
9043 else
9044 ac_cv_prog_cxx_cross=yes
9045 fi
9046else
9047 echo "configure: failed program was:" >&5
9048 cat conftest.$ac_ext >&5
9049 ac_cv_prog_cxx_works=no
9050fi
9051rm -fr conftest*
9052ac_ext=C
9053# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9054ac_cpp='$CXXCPP $CPPFLAGS'
9055ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9056ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9057cross_compiling=$ac_cv_prog_cxx_cross
9058
9059echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9060if test $ac_cv_prog_cxx_works = no; then
9061 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9062fi
9063echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9064echo "configure:9065: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9065echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9066cross_compiling=$ac_cv_prog_cxx_cross
9067
9068echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9069echo "configure:9070: checking whether we are using GNU C++" >&5
9070if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9071 echo $ac_n "(cached) $ac_c" 1>&6
9072else
9073 cat > conftest.C <<EOF
9074#ifdef __GNUC__
9075 yes;
9076#endif
9077EOF
9078if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:9079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
9079 ac_cv_prog_gxx=yes
9080else
9081 ac_cv_prog_gxx=no
9082fi
9083fi
9084
9085echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9086
9087if test $ac_cv_prog_gxx = yes; then
9088 GXX=yes
9089else
9090 GXX=
9091fi
9092
9093ac_test_CXXFLAGS="${CXXFLAGS+set}"
9094ac_save_CXXFLAGS="$CXXFLAGS"
9095CXXFLAGS=
9096echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9097echo "configure:9098: checking whether ${CXX-g++} accepts -g" >&5
9098if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9099 echo $ac_n "(cached) $ac_c" 1>&6
9100else
9101 echo 'void f(){}' > conftest.cc
9102if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9103 ac_cv_prog_cxx_g=yes
9104else
9105 ac_cv_prog_cxx_g=no
9106fi
9107rm -f conftest*
9108
9109fi
9110
9111echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9112if test "$ac_test_CXXFLAGS" = set; then
9113 CXXFLAGS="$ac_save_CXXFLAGS"
9114elif test $ac_cv_prog_cxx_g = yes; then
9115 if test "$GXX" = yes; then
9116 CXXFLAGS="-g -O2"
9117 else
9118 CXXFLAGS="-g"
9119 fi
9120else
9121 if test "$GXX" = yes; then
9122 CXXFLAGS="-O2"
9123 else
9124 CXXFLAGS=
9125 fi
9126fi
9127
9128
9129CXXFLAGS=`echo "$CXXFLAGS" | sed 's/-g//g'`
9130
9131ac_ext=c
9132# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9133ac_cpp='$CPP $CPPFLAGS'
9134ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9135ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9136cross_compiling=$ac_cv_prog_cc_cross
9137
9138
9139# Extract the first word of "ranlib", so it can be a program name with args.
9140set dummy ranlib; ac_word=$2
9141echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9142echo "configure:9143: checking for $ac_word" >&5
9143if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9144 echo $ac_n "(cached) $ac_c" 1>&6
9145else
9146 if test -n "$RANLIB"; then
9147 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9148else
9149 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9150 ac_dummy="$PATH"
9151 for ac_dir in $ac_dummy; do
9152 test -z "$ac_dir" && ac_dir=.
9153 if test -f $ac_dir/$ac_word; then
9154 ac_cv_prog_RANLIB="ranlib"
9155 break
9156 fi
9157 done
9158 IFS="$ac_save_ifs"
9159 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
9160fi
9161fi
9162RANLIB="$ac_cv_prog_RANLIB"
9163if test -n "$RANLIB"; then
9164 echo "$ac_t""$RANLIB" 1>&6
9165else
9166 echo "$ac_t""no" 1>&6
9167fi
9168
9169
9170# Extract the first word of "ar", so it can be a program name with args.
9171set dummy ar; ac_word=$2
9172echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9173echo "configure:9174: checking for $ac_word" >&5
9174if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9175 echo $ac_n "(cached) $ac_c" 1>&6
9176else
9177 if test -n "$AR"; then
9178 ac_cv_prog_AR="$AR" # Let the user override the test.
9179else
9180 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9181 ac_dummy="$PATH"
9182 for ac_dir in $ac_dummy; do
9183 test -z "$ac_dir" && ac_dir=.
9184 if test -f $ac_dir/$ac_word; then
9185 ac_cv_prog_AR="ar"
9186 break
9187 fi
9188 done
9189 IFS="$ac_save_ifs"
9190 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
9191fi
9192fi
9193AR="$ac_cv_prog_AR"
9194if test -n "$AR"; then
9195 echo "$ac_t""$AR" 1>&6
9196else
9197 echo "$ac_t""no" 1>&6
9198fi
9199
9200
9201# Find a good install program. We prefer a C program (faster),
9202# so one script is as good as another. But avoid the broken or
9203# incompatible versions:
9204# SysV /etc/install, /usr/sbin/install
9205# SunOS /usr/etc/install
9206# IRIX /sbin/install
9207# AIX /bin/install
9208# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9209# AFS /usr/afsws/bin/install, which mishandles nonexistent args
9210# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9211# ./install, which can be erroneously created by make from ./install.sh.
9212echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9213echo "configure:9214: checking for a BSD compatible install" >&5
9214if test -z "$INSTALL"; then
9215if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9216 echo $ac_n "(cached) $ac_c" 1>&6
9217else
9218 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
9219 for ac_dir in $PATH; do
9220 # Account for people who put trailing slashes in PATH elements.
9221 case "$ac_dir/" in
9222 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
9223 *)
9224 # OSF1 and SCO ODT 3.0 have their own names for install.
9225 # Don't use installbsd from OSF since it installs stuff as root
9226 # by default.
9227 for ac_prog in ginstall scoinst install; do
9228 if test -f $ac_dir/$ac_prog; then
9229 if test $ac_prog = install &&
9230 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
9231 # AIX install. It has an incompatible calling convention.
9232 :
9233 else
9234 ac_cv_path_install="$ac_dir/$ac_prog -c"
9235 break 2
9236 fi
9237 fi
9238 done
9239 ;;
9240 esac
9241 done
9242 IFS="$ac_save_IFS"
9243
9244fi
9245 if test "${ac_cv_path_install+set}" = set; then
9246 INSTALL="$ac_cv_path_install"
9247 else
9248 # As a last resort, use the slow shell script. We don't cache a
9249 # path for INSTALL within a source directory, because that will
9250 # break other packages using the cache if that directory is
9251 # removed, or if the path is relative.
9252 INSTALL="$ac_install_sh"
9253 fi
9254fi
9255echo "$ac_t""$INSTALL" 1>&6
9256
9257# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9258# It thinks the first close brace ends the variable substitution.
9259test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
9260
9261test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
9262
9263test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
9264
9265case "${host}" in
9266
9267 powerpc-*-darwin* )
9268 INSTALL_PROGRAM="cp -fp"
9269 INSTALL_DATA="cp -fp"
9270 ;;
9271 *)
9272 ;;
9273esac
9274
9275# Extract the first word of "strip", so it can be a program name with args.
9276set dummy strip; ac_word=$2
9277echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9278echo "configure:9279: checking for $ac_word" >&5
9279if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9280 echo $ac_n "(cached) $ac_c" 1>&6
9281else
9282 if test -n "$STRIP"; then
9283 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9284else
9285 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9286 ac_dummy="$PATH"
9287 for ac_dir in $ac_dummy; do
9288 test -z "$ac_dir" && ac_dir=.
9289 if test -f $ac_dir/$ac_word; then
9290 ac_cv_prog_STRIP="strip"
9291 break
9292 fi
9293 done
9294 IFS="$ac_save_ifs"
9295 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
9296fi
9297fi
9298STRIP="$ac_cv_prog_STRIP"
9299if test -n "$STRIP"; then
9300 echo "$ac_t""$STRIP" 1>&6
9301else
9302 echo "$ac_t""no" 1>&6
9303fi
9304
9305
9306echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9307echo "configure:9308: checking if make is GNU make" >&5
9308if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9309 echo $ac_n "(cached) $ac_c" 1>&6
9310else
9311
9312 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
9313 egrep -s GNU > /dev/null); then
9314 wx_cv_prog_makeisgnu="yes"
9315 else
9316 wx_cv_prog_makeisgnu="no"
9317 fi
9318
9319fi
9320
9321echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9322
9323if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9324 IF_GNU_MAKE=""
9325else
9326 IF_GNU_MAKE="#"
9327fi
9328
9329
9330
9331if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9332echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9333echo "configure:9334: checking if make supports VPATH" >&5
9334if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9335 echo $ac_n "(cached) $ac_c" 1>&6
9336else
9337
9338cat - << EOF > confMake
9339check : file
9340 cp \$? \$@
9341 cp \$? final_file
9342EOF
9343
9344if test ! -d sub ; then
9345 mkdir sub
9346fi
9347echo dummy > sub/file
9348${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
9349RESULT=$?
9350rm -f sub/file check final_file confMake
9351rmdir sub
9352if test "$RESULT" = 0; then
9353 wx_cv_prog_makevpath="yes"
9354else
9355 wx_cv_prog_makevpath="no"
9356fi
9357
9358fi
9359
9360echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9361
9362if test "x$wx_cv_prog_makevpath" != "xyes"; then
9363{ echo "configure: error:
9364You need a make-utility that is able to use the variable
9365VPATH correctly.
9366If your version of make does not support VPATH correctly,
9367please install GNU-make (possibly as gmake), and start
9368configure with the following command:
9369export MAKE=gmake; ./configure for sh-type shells
9370setenv MAKE gmake; ./configure for csh-type shells
9371Also please do remember to use gmake in this case every time
9372you are trying to compile.
9373" 1>&2; exit 1; }
9374fi fi
9375for ac_prog in 'bison -y' byacc
9376do
9377# Extract the first word of "$ac_prog", so it can be a program name with args.
9378set dummy $ac_prog; ac_word=$2
9379echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9380echo "configure:9381: checking for $ac_word" >&5
9381if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9382 echo $ac_n "(cached) $ac_c" 1>&6
9383else
9384 if test -n "$YACC"; then
9385 ac_cv_prog_YACC="$YACC" # Let the user override the test.
9386else
9387 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9388 ac_dummy="$PATH"
9389 for ac_dir in $ac_dummy; do
9390 test -z "$ac_dir" && ac_dir=.
9391 if test -f $ac_dir/$ac_word; then
9392 ac_cv_prog_YACC="$ac_prog"
9393 break
9394 fi
9395 done
9396 IFS="$ac_save_ifs"
9397fi
9398fi
9399YACC="$ac_cv_prog_YACC"
9400if test -n "$YACC"; then
9401 echo "$ac_t""$YACC" 1>&6
9402else
9403 echo "$ac_t""no" 1>&6
9404fi
9405
9406test -n "$YACC" && break
9407done
9408test -n "$YACC" || YACC="yacc"
9409
9410
9411# Extract the first word of "flex", so it can be a program name with args.
9412set dummy flex; ac_word=$2
9413echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9414echo "configure:9415: checking for $ac_word" >&5
9415if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9416 echo $ac_n "(cached) $ac_c" 1>&6
9417else
9418 if test -n "$LEX"; then
9419 ac_cv_prog_LEX="$LEX" # Let the user override the test.
9420else
9421 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9422 ac_dummy="$PATH"
9423 for ac_dir in $ac_dummy; do
9424 test -z "$ac_dir" && ac_dir=.
9425 if test -f $ac_dir/$ac_word; then
9426 ac_cv_prog_LEX="flex"
9427 break
9428 fi
9429 done
9430 IFS="$ac_save_ifs"
9431 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
9432fi
9433fi
9434LEX="$ac_cv_prog_LEX"
9435if test -n "$LEX"; then
9436 echo "$ac_t""$LEX" 1>&6
9437else
9438 echo "$ac_t""no" 1>&6
9439fi
9440
9441if test -z "$LEXLIB"
9442then
9443 case "$LEX" in
9444 flex*) ac_lib=fl ;;
9445 *) ac_lib=l ;;
9446 esac
9447 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9448echo "configure:9449: checking for yywrap in -l$ac_lib" >&5
9449ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9450if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9451 echo $ac_n "(cached) $ac_c" 1>&6
9452else
9453 ac_save_LIBS="$LIBS"
9454LIBS="-l$ac_lib $LIBS"
9455cat > conftest.$ac_ext <<EOF
9456#line 9457 "configure"
9457#include "confdefs.h"
9458/* Override any gcc2 internal prototype to avoid an error. */
9459/* We use char because int might match the return type of a gcc2
9460 builtin and then its argument prototype would still apply. */
9461char yywrap();
9462
9463int main() {
9464yywrap()
9465; return 0; }
9466EOF
9467if { (eval echo configure:9468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9468 rm -rf conftest*
9469 eval "ac_cv_lib_$ac_lib_var=yes"
9470else
9471 echo "configure: failed program was:" >&5
9472 cat conftest.$ac_ext >&5
9473 rm -rf conftest*
9474 eval "ac_cv_lib_$ac_lib_var=no"
9475fi
9476rm -f conftest*
9477LIBS="$ac_save_LIBS"
9478
9479fi
9480if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9481 echo "$ac_t""yes" 1>&6
9482 LEXLIB="-l$ac_lib"
9483else
9484 echo "$ac_t""no" 1>&6
9485fi
9486
9487fi
9488
9489
9490echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9491echo "configure:9492: checking whether ln -s works" >&5
9492if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9493 echo $ac_n "(cached) $ac_c" 1>&6
9494else
9495 rm -f conftestdata
9496if ln -s X conftestdata 2>/dev/null
9497then
9498 rm -f conftestdata
9499 ac_cv_prog_LN_S="ln -s"
9500else
9501 ac_cv_prog_LN_S=ln
9502fi
9503fi
9504LN_S="$ac_cv_prog_LN_S"
9505if test "$ac_cv_prog_LN_S" = "ln -s"; then
9506 echo "$ac_t""yes" 1>&6
9507else
9508 echo "$ac_t""no" 1>&6
9509fi
9510
9511
9512
9513SEARCH_INCLUDE="\
9514 /usr/local/include \
9515 \
9516 /usr/Motif-1.2/include \
9517 /usr/Motif-2.1/include \
9518 \
9519 /usr/include/Motif1.2 \
9520 /opt/xpm/include/X11 \
9521 /opt/GBxpm/include/ \
9522 /opt/GBxpm/X11/include/ \
9523 \
9524 /usr/Motif1.2/include \
9525 /usr/dt/include \
9526 /usr/openwin/include \
9527 \
9528 /usr/include/Xm \
9529 \
9530 /usr/X11R6/include \
9531 /usr/X11R6.4/include \
9532 /usr/X11R5/include \
9533 /usr/X11R4/include \
9534 \
9535 /usr/include/X11R6 \
9536 /usr/include/X11R5 \
9537 /usr/include/X11R4 \
9538 \
9539 /usr/local/X11R6/include \
9540 /usr/local/X11R5/include \
9541 /usr/local/X11R4/include \
9542 \
9543 /usr/local/include/X11R6 \
9544 /usr/local/include/X11R5 \
9545 /usr/local/include/X11R4 \
9546 \
9547 /usr/X11/include \
9548 /usr/include/X11 \
9549 /usr/local/X11/include \
9550 /usr/local/include/X11 \
9551 \
9552 /usr/X386/include \
9553 /usr/x386/include \
9554 /usr/XFree86/include/X11 \
9555 \
9556 X:/XFree86/include \
9557 X:/XFree86/include/X11 \
9558 \
9559 /usr/include/gtk \
9560 /usr/local/include/gtk \
9561 /usr/include/glib \
9562 /usr/local/include/glib \
9563 \
9564 /usr/include/qt \
9565 /usr/local/include/qt \
9566 \
9567 /usr/include/windows \
9568 /usr/include/wine \
9569 /usr/local/include/wine \
9570 \
9571 /usr/unsupported/include \
9572 /usr/athena/include \
9573 /usr/local/x11r5/include \
9574 /usr/lpp/Xamples/include \
9575 \
9576 /usr/openwin/share/include \
9577 \
9578 /usr/include"
9579
9580SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
9581
9582
9583cat > confcache <<\EOF
9584# This file is a shell script that caches the results of configure
9585# tests run on this system so they can be shared between configure
9586# scripts and configure runs. It is not useful on other systems.
9587# If it contains results you don't want to keep, you may remove or edit it.
9588#
9589# By default, configure uses ./config.cache as the cache file,
9590# creating it if it does not exist already. You can give configure
9591# the --cache-file=FILE option to use a different cache file; that is
9592# what configure does when it calls configure scripts in
9593# subdirectories, so they share the cache.
9594# Giving --cache-file=/dev/null disables caching, for debugging configure.
9595# config.status only pays attention to the cache file if you give it the
9596# --recheck option to rerun configure.
9597#
9598EOF
9599# The following way of writing the cache mishandles newlines in values,
9600# but we know of no workaround that is simple, portable, and efficient.
9601# So, don't put newlines in cache variables' values.
9602# Ultrix sh set writes to stderr and can't be redirected directly,
9603# and sets the high bit in the cache file unless we assign to the vars.
9604(set) 2>&1 |
9605 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9606 *ac_space=\ *)
9607 # `set' does not quote correctly, so add quotes (double-quote substitution
9608 # turns \\\\ into \\, and sed turns \\ into \).
9609 sed -n \
9610 -e "s/'/'\\\\''/g" \
9611 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9612 ;;
9613 *)
9614 # `set' quotes correctly as required by POSIX, so do not add quotes.
9615 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9616 ;;
9617 esac >> confcache
9618if cmp -s $cache_file confcache; then
9619 :
9620else
9621 if test -w $cache_file; then
9622 echo "updating cache $cache_file"
9623 cat confcache > $cache_file
9624 else
9625 echo "not updating unwritable cache $cache_file"
9626 fi
9627fi
9628rm -f confcache
9629
9630
9631
9632
9633REGEX_INCLUDE=
9634if test "$wxUSE_REGEX" != "no"; then
9635 cat >> confdefs.h <<\EOF
9636#define wxUSE_REGEX 1
9637EOF
9638
9639
9640 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9641 ac_safe=`echo "regex.h" | sed 'y%./+-%__p_%'`
9642echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9643echo "configure:9644: checking for regex.h" >&5
9644if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9645 echo $ac_n "(cached) $ac_c" 1>&6
9646else
9647 cat > conftest.$ac_ext <<EOF
9648#line 9649 "configure"
9649#include "confdefs.h"
9650#include <regex.h>
9651EOF
9652ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9653{ (eval echo configure:9654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9654ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9655if test -z "$ac_err"; then
9656 rm -rf conftest*
9657 eval "ac_cv_header_$ac_safe=yes"
9658else
9659 echo "$ac_err" >&5
9660 echo "configure: failed program was:" >&5
9661 cat conftest.$ac_ext >&5
9662 rm -rf conftest*
9663 eval "ac_cv_header_$ac_safe=no"
9664fi
9665rm -f conftest*
9666fi
9667if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9668 echo "$ac_t""yes" 1>&6
9669 for ac_func in regcomp
9670do
9671echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9672echo "configure:9673: checking for $ac_func" >&5
9673if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9674 echo $ac_n "(cached) $ac_c" 1>&6
9675else
9676 cat > conftest.$ac_ext <<EOF
9677#line 9678 "configure"
9678#include "confdefs.h"
9679/* System header to define __stub macros and hopefully few prototypes,
9680 which can conflict with char $ac_func(); below. */
9681#include <assert.h>
9682/* Override any gcc2 internal prototype to avoid an error. */
9683/* We use char because int might match the return type of a gcc2
9684 builtin and then its argument prototype would still apply. */
9685char $ac_func();
9686
9687int main() {
9688
9689/* The GNU C library defines this for functions which it implements
9690 to always fail with ENOSYS. Some functions are actually named
9691 something starting with __ and the normal name is an alias. */
9692#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9693choke me
9694#else
9695$ac_func();
9696#endif
9697
9698; return 0; }
9699EOF
9700if { (eval echo configure:9701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9701 rm -rf conftest*
9702 eval "ac_cv_func_$ac_func=yes"
9703else
9704 echo "configure: failed program was:" >&5
9705 cat conftest.$ac_ext >&5
9706 rm -rf conftest*
9707 eval "ac_cv_func_$ac_func=no"
9708fi
9709rm -f conftest*
9710fi
9711
9712if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9713 echo "$ac_t""yes" 1>&6
9714 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9715 cat >> confdefs.h <<EOF
9716#define $ac_tr_func 1
9717EOF
9718
9719else
9720 echo "$ac_t""no" 1>&6
9721fi
9722done
9723
9724else
9725 echo "$ac_t""no" 1>&6
9726fi
9727
9728
9729 if test "x$ac_cv_func_regcomp" != "xyes"; then
9730 if test "$wxUSE_REGEX" = "sys" ; then
9731 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9732 else
9733 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9734 wxUSE_REGEX=builtin
9735 fi
9736 else
9737 wxUSE_REGEX=sys
9738 fi
9739 fi
9740
9741 if test "$wxUSE_REGEX" = "builtin" ; then
9742 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
9743 fi
9744fi
9745
9746
9747ZLIB_INCLUDE=
9748ZLIB_LINK=
9749if test "$wxUSE_ZLIB" != "no" ; then
9750 cat >> confdefs.h <<\EOF
9751#define wxUSE_ZLIB 1
9752EOF
9753
9754
9755 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9756 ac_safe=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9757echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9758echo "configure:9759: checking for zlib.h" >&5
9759if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9760 echo $ac_n "(cached) $ac_c" 1>&6
9761else
9762 cat > conftest.$ac_ext <<EOF
9763#line 9764 "configure"
9764#include "confdefs.h"
9765#include <zlib.h>
9766EOF
9767ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9768{ (eval echo configure:9769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9769ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9770if test -z "$ac_err"; then
9771 rm -rf conftest*
9772 eval "ac_cv_header_$ac_safe=yes"
9773else
9774 echo "$ac_err" >&5
9775 echo "configure: failed program was:" >&5
9776 cat conftest.$ac_ext >&5
9777 rm -rf conftest*
9778 eval "ac_cv_header_$ac_safe=no"
9779fi
9780rm -f conftest*
9781fi
9782if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9783 echo "$ac_t""yes" 1>&6
9784 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9785echo "configure:9786: checking for deflate in -lz" >&5
9786ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9787if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9788 echo $ac_n "(cached) $ac_c" 1>&6
9789else
9790 ac_save_LIBS="$LIBS"
9791LIBS="-lz $LIBS"
9792cat > conftest.$ac_ext <<EOF
9793#line 9794 "configure"
9794#include "confdefs.h"
9795/* Override any gcc2 internal prototype to avoid an error. */
9796/* We use char because int might match the return type of a gcc2
9797 builtin and then its argument prototype would still apply. */
9798char deflate();
9799
9800int main() {
9801deflate()
9802; return 0; }
9803EOF
9804if { (eval echo configure:9805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9805 rm -rf conftest*
9806 eval "ac_cv_lib_$ac_lib_var=yes"
9807else
9808 echo "configure: failed program was:" >&5
9809 cat conftest.$ac_ext >&5
9810 rm -rf conftest*
9811 eval "ac_cv_lib_$ac_lib_var=no"
9812fi
9813rm -f conftest*
9814LIBS="$ac_save_LIBS"
9815
9816fi
9817if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9818 echo "$ac_t""yes" 1>&6
9819 ZLIB_LINK=" -lz"
9820else
9821 echo "$ac_t""no" 1>&6
9822fi
9823
9824else
9825 echo "$ac_t""no" 1>&6
9826fi
9827
9828
9829 if test "x$ZLIB_LINK" = "x" ; then
9830 if test "$wxUSE_ZLIB" = "sys" ; then
9831 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9832 else
9833 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9834 wxUSE_ZLIB=builtin
9835 fi
9836 else
9837 wxUSE_ZLIB=sys
9838 fi
9839 fi
9840
9841 if test "$wxUSE_ZLIB" = "builtin" ; then
9842 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
9843 fi
9844fi
9845
9846
9847PNG_INCLUDE=
9848PNG_LINK=
9849if test "$wxUSE_LIBPNG" != "no" ; then
9850 cat >> confdefs.h <<\EOF
9851#define wxUSE_LIBPNG 1
9852EOF
9853
9854
9855 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
9856 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
9857 wxUSE_LIBPNG=sys
9858 fi
9859
9860 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9861 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9862 wxUSE_LIBPNG=builtin
9863 fi
9864
9865 if test "$wxUSE_MGL" != 1 ; then
9866 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9867 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
9868echo $ac_n "checking for png.h""... $ac_c" 1>&6
9869echo "configure:9870: checking for png.h" >&5
9870if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9871 echo $ac_n "(cached) $ac_c" 1>&6
9872else
9873 cat > conftest.$ac_ext <<EOF
9874#line 9875 "configure"
9875#include "confdefs.h"
9876#include <png.h>
9877EOF
9878ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9879{ (eval echo configure:9880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9880ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9881if test -z "$ac_err"; then
9882 rm -rf conftest*
9883 eval "ac_cv_header_$ac_safe=yes"
9884else
9885 echo "$ac_err" >&5
9886 echo "configure: failed program was:" >&5
9887 cat conftest.$ac_ext >&5
9888 rm -rf conftest*
9889 eval "ac_cv_header_$ac_safe=no"
9890fi
9891rm -f conftest*
9892fi
9893if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9894 echo "$ac_t""yes" 1>&6
9895 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9896echo "configure:9897: checking for png_check_sig in -lpng" >&5
9897ac_lib_var=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9898if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9899 echo $ac_n "(cached) $ac_c" 1>&6
9900else
9901 ac_save_LIBS="$LIBS"
9902LIBS="-lpng -lz -lm $LIBS"
9903cat > conftest.$ac_ext <<EOF
9904#line 9905 "configure"
9905#include "confdefs.h"
9906/* Override any gcc2 internal prototype to avoid an error. */
9907/* We use char because int might match the return type of a gcc2
9908 builtin and then its argument prototype would still apply. */
9909char png_check_sig();
9910
9911int main() {
9912png_check_sig()
9913; return 0; }
9914EOF
9915if { (eval echo configure:9916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9916 rm -rf conftest*
9917 eval "ac_cv_lib_$ac_lib_var=yes"
9918else
9919 echo "configure: failed program was:" >&5
9920 cat conftest.$ac_ext >&5
9921 rm -rf conftest*
9922 eval "ac_cv_lib_$ac_lib_var=no"
9923fi
9924rm -f conftest*
9925LIBS="$ac_save_LIBS"
9926
9927fi
9928if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9929 echo "$ac_t""yes" 1>&6
9930 PNG_LINK=" -lpng"
9931else
9932 echo "$ac_t""no" 1>&6
9933fi
9934
9935
9936else
9937 echo "$ac_t""no" 1>&6
9938fi
9939
9940
9941 if test "x$PNG_LINK" = "x" ; then
9942 if test "$wxUSE_LIBPNG" = "sys" ; then
9943 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9944 else
9945 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9946 wxUSE_LIBPNG=builtin
9947 fi
9948 else
9949 wxUSE_LIBPNG=yes
9950 fi
9951 fi
9952 fi
9953
9954 if test "$wxUSE_LIBPNG" = "builtin" ; then
9955 PNG_INCLUDE="-I\${top_srcdir}/src/png"
9956 fi
9957
9958 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
9959fi
9960
9961
9962JPEG_INCLUDE=
9963JPEG_LINK=
9964if test "$wxUSE_LIBJPEG" != "no" ; then
9965 cat >> confdefs.h <<\EOF
9966#define wxUSE_LIBJPEG 1
9967EOF
9968
9969
9970 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
9971 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
9972 wxUSE_LIBJPEG=sys
9973 fi
9974
9975 if test "$wxUSE_MGL" != 1 ; then
9976 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9977 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9978echo "configure:9979: checking for jpeglib.h" >&5
9979 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9980 echo $ac_n "(cached) $ac_c" 1>&6
9981else
9982 cat > conftest.$ac_ext <<EOF
9983#line 9984 "configure"
9984#include "confdefs.h"
9985
9986 #undef HAVE_STDLIB_H
9987 #include <stdio.h>
9988 #include <jpeglib.h>
9989
9990int main() {
9991
9992
9993; return 0; }
9994EOF
9995if { (eval echo configure:9996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9996 rm -rf conftest*
9997 ac_cv_header_jpeglib_h=yes
9998else
9999 echo "configure: failed program was:" >&5
10000 cat conftest.$ac_ext >&5
10001 rm -rf conftest*
10002 ac_cv_header_jpeglib_h=no
10003
10004fi
10005rm -f conftest*
10006
10007fi
10008
10009 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
10010
10011 if test "$ac_cv_header_jpeglib_h" = "yes"; then
10012 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
10013echo "configure:10014: checking for jpeg_read_header in -ljpeg" >&5
10014ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
10015if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10016 echo $ac_n "(cached) $ac_c" 1>&6
10017else
10018 ac_save_LIBS="$LIBS"
10019LIBS="-ljpeg $LIBS"
10020cat > conftest.$ac_ext <<EOF
10021#line 10022 "configure"
10022#include "confdefs.h"
10023/* Override any gcc2 internal prototype to avoid an error. */
10024/* We use char because int might match the return type of a gcc2
10025 builtin and then its argument prototype would still apply. */
10026char jpeg_read_header();
10027
10028int main() {
10029jpeg_read_header()
10030; return 0; }
10031EOF
10032if { (eval echo configure:10033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10033 rm -rf conftest*
10034 eval "ac_cv_lib_$ac_lib_var=yes"
10035else
10036 echo "configure: failed program was:" >&5
10037 cat conftest.$ac_ext >&5
10038 rm -rf conftest*
10039 eval "ac_cv_lib_$ac_lib_var=no"
10040fi
10041rm -f conftest*
10042LIBS="$ac_save_LIBS"
10043
10044fi
10045if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10046 echo "$ac_t""yes" 1>&6
10047 JPEG_LINK=" -ljpeg"
10048else
10049 echo "$ac_t""no" 1>&6
10050fi
10051
10052 fi
10053
10054 if test "x$JPEG_LINK" = "x" ; then
10055 if test "$wxUSE_LIBJPEG" = "sys" ; then
10056 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
10057 else
10058 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
10059 wxUSE_LIBJPEG=builtin
10060 fi
10061 else
10062 wxUSE_LIBJPEG=sys
10063 fi
10064 fi
10065 fi
10066
10067 if test "$wxUSE_LIBJPEG" = "builtin" ; then
10068 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
10069 fi
10070fi
10071
10072
10073TIFF_INCLUDE=
10074TIFF_LINK=
10075if test "$wxUSE_LIBTIFF" != "no" ; then
10076 cat >> confdefs.h <<\EOF
10077#define wxUSE_LIBTIFF 1
10078EOF
10079
10080
10081 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
10082 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
10083echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
10084echo "configure:10085: checking for tiffio.h" >&5
10085if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10086 echo $ac_n "(cached) $ac_c" 1>&6
10087else
10088 cat > conftest.$ac_ext <<EOF
10089#line 10090 "configure"
10090#include "confdefs.h"
10091#include <tiffio.h>
10092EOF
10093ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10094{ (eval echo configure:10095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10095ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10096if test -z "$ac_err"; then
10097 rm -rf conftest*
10098 eval "ac_cv_header_$ac_safe=yes"
10099else
10100 echo "$ac_err" >&5
10101 echo "configure: failed program was:" >&5
10102 cat conftest.$ac_ext >&5
10103 rm -rf conftest*
10104 eval "ac_cv_header_$ac_safe=no"
10105fi
10106rm -f conftest*
10107fi
10108if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10109 echo "$ac_t""yes" 1>&6
10110 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
10111echo "configure:10112: checking for TIFFError in -ltiff" >&5
10112ac_lib_var=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
10113if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10114 echo $ac_n "(cached) $ac_c" 1>&6
10115else
10116 ac_save_LIBS="$LIBS"
10117LIBS="-ltiff -lm $LIBS"
10118cat > conftest.$ac_ext <<EOF
10119#line 10120 "configure"
10120#include "confdefs.h"
10121/* Override any gcc2 internal prototype to avoid an error. */
10122/* We use char because int might match the return type of a gcc2
10123 builtin and then its argument prototype would still apply. */
10124char TIFFError();
10125
10126int main() {
10127TIFFError()
10128; return 0; }
10129EOF
10130if { (eval echo configure:10131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10131 rm -rf conftest*
10132 eval "ac_cv_lib_$ac_lib_var=yes"
10133else
10134 echo "configure: failed program was:" >&5
10135 cat conftest.$ac_ext >&5
10136 rm -rf conftest*
10137 eval "ac_cv_lib_$ac_lib_var=no"
10138fi
10139rm -f conftest*
10140LIBS="$ac_save_LIBS"
10141
10142fi
10143if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10144 echo "$ac_t""yes" 1>&6
10145 TIFF_LINK=" -ltiff"
10146else
10147 echo "$ac_t""no" 1>&6
10148fi
10149
10150
10151else
10152 echo "$ac_t""no" 1>&6
10153fi
10154
10155
10156 if test "x$TIFF_LINK" = "x" ; then
10157 if test "$wxUSE_LIBTIFF" = "sys" ; then
10158 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
10159 else
10160 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
10161 wxUSE_LIBTIFF=builtin
10162 fi
10163 else
10164 wxUSE_LIBTIFF=sys
10165 fi
10166 fi
10167
10168 if test "$wxUSE_LIBTIFF" = "builtin" ; then
10169 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
10170 fi
10171fi
10172
10173
10174AFMINSTALL=
10175
10176TOOLKIT=
10177TOOLKIT_INCLUDE=
10178WIDGET_SET=
10179
10180if test "$USE_WIN32" = 1 ; then
10181 for ac_hdr in w32api.h
10182do
10183ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10184echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10185echo "configure:10186: checking for $ac_hdr" >&5
10186if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10187 echo $ac_n "(cached) $ac_c" 1>&6
10188else
10189 cat > conftest.$ac_ext <<EOF
10190#line 10191 "configure"
10191#include "confdefs.h"
10192#include <$ac_hdr>
10193EOF
10194ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10195{ (eval echo configure:10196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10196ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10197if test -z "$ac_err"; then
10198 rm -rf conftest*
10199 eval "ac_cv_header_$ac_safe=yes"
10200else
10201 echo "$ac_err" >&5
10202 echo "configure: failed program was:" >&5
10203 cat conftest.$ac_ext >&5
10204 rm -rf conftest*
10205 eval "ac_cv_header_$ac_safe=no"
10206fi
10207rm -f conftest*
10208fi
10209if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10210 echo "$ac_t""yes" 1>&6
10211 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10212 cat >> confdefs.h <<EOF
10213#define $ac_tr_hdr 1
10214EOF
10215
10216else
10217 echo "$ac_t""no" 1>&6
10218fi
10219done
10220
10221 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
10222echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10223echo "configure:10224: checking for windows.h" >&5
10224if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10225 echo $ac_n "(cached) $ac_c" 1>&6
10226else
10227 cat > conftest.$ac_ext <<EOF
10228#line 10229 "configure"
10229#include "confdefs.h"
10230#include <windows.h>
10231EOF
10232ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10233{ (eval echo configure:10234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10234ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10235if test -z "$ac_err"; then
10236 rm -rf conftest*
10237 eval "ac_cv_header_$ac_safe=yes"
10238else
10239 echo "$ac_err" >&5
10240 echo "configure: failed program was:" >&5
10241 cat conftest.$ac_ext >&5
10242 rm -rf conftest*
10243 eval "ac_cv_header_$ac_safe=no"
10244fi
10245rm -f conftest*
10246fi
10247if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10248 echo "$ac_t""yes" 1>&6
10249 :
10250else
10251 echo "$ac_t""no" 1>&6
10252
10253 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10254
10255fi
10256
10257
10258 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
10259echo "configure:10260: checking if w32api has good enough MSIE support" >&5
10260if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
10261 echo $ac_n "(cached) $ac_c" 1>&6
10262else
10263
10264 cat > conftest.$ac_ext <<EOF
10265#line 10266 "configure"
10266#include "confdefs.h"
10267#include <w32api.h>
10268int main() {
10269
10270 #define wxCHECK_W32API_VERSION( major, minor ) \
10271 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
10272 && ( ( __W32API_MAJOR_VERSION > (major) ) \
10273 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
10274
10275 #if !wxCHECK_W32API_VERSION(1,1)
10276 #error You need w32api 1.1 or newer
10277 #endif
10278
10279; return 0; }
10280EOF
10281if { (eval echo configure:10282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10282 rm -rf conftest*
10283
10284 wx_cv_w32api_win32_ie=yes
10285
10286else
10287 echo "configure: failed program was:" >&5
10288 cat conftest.$ac_ext >&5
10289 rm -rf conftest*
10290
10291 wx_cv_w32api_win32_ie=no
10292
10293fi
10294rm -f conftest*
10295
10296fi
10297
10298echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
10299 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
10300 CPPFLAGS="$CPPFLAGS -D_WIN32_IE=0x400"
10301 fi
10302
10303 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
10304
10305 case "${host}" in
10306 *-*-cygwin* )
10307 LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
10308 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
10309 esac
10310
10311 if test "$wxUSE_ODBC" = "yes" ; then
10312 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
10313 fi
10314
10315 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
10316 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
10317fi
10318
10319if test "$wxUSE_GUI" = "yes"; then
10320 USE_GUI=1
10321
10322 GUI_TK_LIBRARY=
10323
10324 WXGTK12=
10325 WXGTK127=
10326 WXGTK20=
10327
10328 if test "$wxUSE_MSW" = 1 ; then
10329 TOOLKIT=MSW
10330 GUIDIST=MSW_DIST
10331
10332 case "${host}" in
10333 *-*-mingw32* )
10334 LDFLAGS="$LDFLAGS -Wl,--subsystem,windows -mwindows"
10335 esac
10336 fi
10337
10338 if test "$wxUSE_GTK" = 1; then
10339 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
10340echo "configure:10341: checking for GTK+ version" >&5
10341
10342 gtk_version_cached=1
10343 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
10344 echo $ac_n "(cached) $ac_c" 1>&6
10345else
10346
10347 gtk_version_cached=0
10348 echo "$ac_t""" 1>&6
10349
10350 GTK_MODULES=
10351 if test "$wxUSE_THREADS" = "yes"; then
10352 GTK_MODULES=gthread
10353 fi
10354
10355 wx_cv_lib_gtk=
10356 if test "x$wxUSE_GTK2" = "xyes"; then
10357 # Check whether --enable-gtktest or --disable-gtktest was given.
10358if test "${enable_gtktest+set}" = set; then
10359 enableval="$enable_gtktest"
10360 :
10361else
10362 enable_gtktest=yes
10363fi
10364
10365
10366 pkg_config_args=gtk+-2.0
10367 for module in . $GTK_MODULES
10368 do
10369 case "$module" in
10370 gthread)
10371 pkg_config_args="$pkg_config_args gthread-2.0"
10372 ;;
10373 esac
10374 done
10375
10376 no_gtk=""
10377
10378 # Extract the first word of "pkg-config", so it can be a program name with args.
10379set dummy pkg-config; ac_word=$2
10380echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10381echo "configure:10382: checking for $ac_word" >&5
10382if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
10383 echo $ac_n "(cached) $ac_c" 1>&6
10384else
10385 case "$PKG_CONFIG" in
10386 /*)
10387 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10388 ;;
10389 ?:/*)
10390 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a dos path.
10391 ;;
10392 *)
10393 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10394 ac_dummy="$PATH"
10395 for ac_dir in $ac_dummy; do
10396 test -z "$ac_dir" && ac_dir=.
10397 if test -f $ac_dir/$ac_word; then
10398 ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
10399 break
10400 fi
10401 done
10402 IFS="$ac_save_ifs"
10403 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
10404 ;;
10405esac
10406fi
10407PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
10408if test -n "$PKG_CONFIG"; then
10409 echo "$ac_t""$PKG_CONFIG" 1>&6
10410else
10411 echo "$ac_t""no" 1>&6
10412fi
10413
10414
10415 if test x$PKG_CONFIG != xno ; then
10416 if pkg-config --atleast-pkgconfig-version 0.7 ; then
10417 :
10418 else
10419 echo *** pkg-config too old; version 0.7 or better required.
10420 no_gtk=yes
10421 PKG_CONFIG=no
10422 fi
10423 else
10424 no_gtk=yes
10425 fi
10426
10427 min_gtk_version=2.0.0
10428 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
10429echo "configure:10430: checking for GTK+ - version >= $min_gtk_version" >&5
10430
10431 if test x$PKG_CONFIG != xno ; then
10432 ## don't try to run the test against uninstalled libtool libs
10433 if $PKG_CONFIG --uninstalled $pkg_config_args; then
10434 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
10435 enable_gtktest=no
10436 fi
10437
10438 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
10439 :
10440 else
10441 no_gtk=yes
10442 fi
10443 fi
10444
10445 if test x"$no_gtk" = x ; then
10446 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
10447 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
10448 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
10449 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10450 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
10451 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10452 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
10453 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10454 if test "x$enable_gtktest" = "xyes" ; then
10455 ac_save_CFLAGS="$CFLAGS"
10456 ac_save_LIBS="$LIBS"
10457 CFLAGS="$CFLAGS $GTK_CFLAGS"
10458 LIBS="$GTK_LIBS $LIBS"
10459 rm -f conf.gtktest
10460 if test "$cross_compiling" = yes; then
10461 echo $ac_n "cross compiling; assumed OK... $ac_c"
10462else
10463 cat > conftest.$ac_ext <<EOF
10464#line 10465 "configure"
10465#include "confdefs.h"
10466
10467#include <gtk/gtk.h>
10468#include <stdio.h>
10469#include <stdlib.h>
10470
10471int
10472main ()
10473{
10474 int major, minor, micro;
10475 char *tmp_version;
10476
10477 system ("touch conf.gtktest");
10478
10479 /* HP/UX 9 (%@#!) writes to sscanf strings */
10480 tmp_version = g_strdup("$min_gtk_version");
10481 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
10482 printf("%s, bad version string\n", "$min_gtk_version");
10483 exit(1);
10484 }
10485
10486 if ((gtk_major_version != $gtk_config_major_version) ||
10487 (gtk_minor_version != $gtk_config_minor_version) ||
10488 (gtk_micro_version != $gtk_config_micro_version))
10489 {
10490 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10491 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10492 gtk_major_version, gtk_minor_version, gtk_micro_version);
10493 printf ("*** was found! If pkg-config was correct, then it is best\n");
10494 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10495 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10496 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10497 printf("*** required on your system.\n");
10498 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
10499 printf("*** to point to the correct configuration files\n");
10500 }
10501 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10502 (gtk_minor_version != GTK_MINOR_VERSION) ||
10503 (gtk_micro_version != GTK_MICRO_VERSION))
10504 {
10505 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10506 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10507 printf("*** library (version %d.%d.%d)\n",
10508 gtk_major_version, gtk_minor_version, gtk_micro_version);
10509 }
10510 else
10511 {
10512 if ((gtk_major_version > major) ||
10513 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10514 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10515 {
10516 return 0;
10517 }
10518 else
10519 {
10520 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10521 gtk_major_version, gtk_minor_version, gtk_micro_version);
10522 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10523 major, minor, micro);
10524 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10525 printf("***\n");
10526 printf("*** If you have already installed a sufficiently new version, this error\n");
10527 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
10528 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10529 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
10530 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
10531 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10532 printf("*** so that the correct libraries are found at run-time))\n");
10533 }
10534 }
10535 return 1;
10536}
10537
10538EOF
10539if { (eval echo configure:10540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10540then
10541 :
10542else
10543 echo "configure: failed program was:" >&5
10544 cat conftest.$ac_ext >&5
10545 rm -fr conftest*
10546 no_gtk=yes
10547fi
10548rm -fr conftest*
10549fi
10550
10551 CFLAGS="$ac_save_CFLAGS"
10552 LIBS="$ac_save_LIBS"
10553 fi
10554 fi
10555 if test "x$no_gtk" = x ; then
10556 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10557 wx_cv_lib_gtk=2.0
10558 else
10559 echo "$ac_t""no" 1>&6
10560 if test "$PKG_CONFIG" = "no" ; then
10561 echo "*** A new enough version of pkg-config was not found."
10562 echo "*** See http://pkgconfig.sourceforge.net"
10563 else
10564 if test -f conf.gtktest ; then
10565 :
10566 else
10567 echo "*** Could not run GTK+ test program, checking why..."
10568 CFLAGS="$CFLAGS $GTK_CFLAGS"
10569 LIBS="$LIBS $GTK_LIBS"
10570 cat > conftest.$ac_ext <<EOF
10571#line 10572 "configure"
10572#include "confdefs.h"
10573
10574#include <gtk/gtk.h>
10575#include <stdio.h>
10576
10577int main() {
10578 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10579; return 0; }
10580EOF
10581if { (eval echo configure:10582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10582 rm -rf conftest*
10583 echo "*** The test program compiled, but did not run. This usually means"
10584 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
10585 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
10586 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10587 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10588 echo "*** is required on your system"
10589 echo "***"
10590 echo "*** If you have an old version installed, it is best to remove it, although"
10591 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10592else
10593 echo "configure: failed program was:" >&5
10594 cat conftest.$ac_ext >&5
10595 rm -rf conftest*
10596 echo "*** The test program failed to compile or link. See the file config.log for the"
10597 echo "*** exact error that occured. This usually means GTK+ was incorrectly installed"
10598 echo "*** or that you have moved GTK+ since it was installed. In the latter case, you"
10599 echo "*** may want to edit the pkg-config script: $PKG_CONFIG"
10600fi
10601rm -f conftest*
10602 CFLAGS="$ac_save_CFLAGS"
10603 LIBS="$ac_save_LIBS"
10604 fi
10605 fi
10606 GTK_CFLAGS=""
10607 GTK_LIBS=""
10608 :
10609 fi
10610
10611
10612 rm -f conf.gtktest
10613
10614 fi
10615
10616 if test -z "$wx_cv_lib_gtk"; then
10617 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10618if test "${with_gtk_prefix+set}" = set; then
10619 withval="$with_gtk_prefix"
10620 gtk_config_prefix="$withval"
10621else
10622 gtk_config_prefix=""
10623fi
10624
10625# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10626if test "${with_gtk_exec_prefix+set}" = set; then
10627 withval="$with_gtk_exec_prefix"
10628 gtk_config_exec_prefix="$withval"
10629else
10630 gtk_config_exec_prefix=""
10631fi
10632
10633# Check whether --enable-gtktest or --disable-gtktest was given.
10634if test "${enable_gtktest+set}" = set; then
10635 enableval="$enable_gtktest"
10636 :
10637else
10638 enable_gtktest=yes
10639fi
10640
10641
10642 for module in . $GTK_MODULES
10643 do
10644 case "$module" in
10645 gthread)
10646 gtk_config_args="$gtk_config_args gthread"
10647 ;;
10648 esac
10649 done
10650
10651 if test x$gtk_config_exec_prefix != x ; then
10652 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10653 if test x${GTK_CONFIG+set} != xset ; then
10654 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
10655 fi
10656 fi
10657 if test x$gtk_config_prefix != x ; then
10658 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
10659 if test x${GTK_CONFIG+set} != xset ; then
10660 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
10661 fi
10662 fi
10663
10664 # Extract the first word of "gtk-config", so it can be a program name with args.
10665set dummy gtk-config; ac_word=$2
10666echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10667echo "configure:10668: checking for $ac_word" >&5
10668if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10669 echo $ac_n "(cached) $ac_c" 1>&6
10670else
10671 case "$GTK_CONFIG" in
10672 /*)
10673 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
10674 ;;
10675 ?:/*)
10676 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
10677 ;;
10678 *)
10679 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10680 ac_dummy="$PATH"
10681 for ac_dir in $ac_dummy; do
10682 test -z "$ac_dir" && ac_dir=.
10683 if test -f $ac_dir/$ac_word; then
10684 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
10685 break
10686 fi
10687 done
10688 IFS="$ac_save_ifs"
10689 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
10690 ;;
10691esac
10692fi
10693GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
10694if test -n "$GTK_CONFIG"; then
10695 echo "$ac_t""$GTK_CONFIG" 1>&6
10696else
10697 echo "$ac_t""no" 1>&6
10698fi
10699
10700 min_gtk_version=1.2.7
10701 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10702echo "configure:10703: checking for GTK - version >= $min_gtk_version" >&5
10703 no_gtk=""
10704 if test "$GTK_CONFIG" = "no" ; then
10705 no_gtk=yes
10706 else
10707 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
10708 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
10709 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
10710 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10711 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
10712 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10713 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
10714 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10715 if test "x$enable_gtktest" = "xyes" ; then
10716 ac_save_CFLAGS="$CFLAGS"
10717 ac_save_LIBS="$LIBS"
10718 CFLAGS="$CFLAGS $GTK_CFLAGS"
10719 LIBS="$GTK_LIBS $LIBS"
10720 rm -f conf.gtktest
10721 if test "$cross_compiling" = yes; then
10722 echo $ac_n "cross compiling; assumed OK... $ac_c"
10723else
10724 cat > conftest.$ac_ext <<EOF
10725#line 10726 "configure"
10726#include "confdefs.h"
10727
10728#include <gtk/gtk.h>
10729#include <stdio.h>
10730#include <stdlib.h>
10731
10732int
10733main ()
10734{
10735 int major, minor, micro;
10736 char *tmp_version;
10737
10738 system ("touch conf.gtktest");
10739
10740 /* HP/UX 9 (%@#!) writes to sscanf strings */
10741 tmp_version = g_strdup("$min_gtk_version");
10742 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
10743 printf("%s, bad version string\n", "$min_gtk_version");
10744 exit(1);
10745 }
10746
10747 if ((gtk_major_version != $gtk_config_major_version) ||
10748 (gtk_minor_version != $gtk_config_minor_version) ||
10749 (gtk_micro_version != $gtk_config_micro_version))
10750 {
10751 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10752 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10753 gtk_major_version, gtk_minor_version, gtk_micro_version);
10754 printf ("*** was found! If gtk-config was correct, then it is best\n");
10755 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10756 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10757 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10758 printf("*** required on your system.\n");
10759 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10760 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10761 printf("*** before re-running configure\n");
10762 }
10763#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10764 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10765 (gtk_minor_version != GTK_MINOR_VERSION) ||
10766 (gtk_micro_version != GTK_MICRO_VERSION))
10767 {
10768 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10769 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10770 printf("*** library (version %d.%d.%d)\n",
10771 gtk_major_version, gtk_minor_version, gtk_micro_version);
10772 }
10773#endif /* defined (GTK_MAJOR_VERSION) ... */
10774 else
10775 {
10776 if ((gtk_major_version > major) ||
10777 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10778 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10779 {
10780 return 0;
10781 }
10782 else
10783 {
10784 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10785 gtk_major_version, gtk_minor_version, gtk_micro_version);
10786 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10787 major, minor, micro);
10788 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10789 printf("***\n");
10790 printf("*** If you have already installed a sufficiently new version, this error\n");
10791 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10792 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10793 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10794 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10795 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10796 printf("*** so that the correct libraries are found at run-time))\n");
10797 }
10798 }
10799 return 1;
10800}
10801
10802EOF
10803if { (eval echo configure:10804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10804then
10805 :
10806else
10807 echo "configure: failed program was:" >&5
10808 cat conftest.$ac_ext >&5
10809 rm -fr conftest*
10810 no_gtk=yes
10811fi
10812rm -fr conftest*
10813fi
10814
10815 CFLAGS="$ac_save_CFLAGS"
10816 LIBS="$ac_save_LIBS"
10817 fi
10818 fi
10819 if test "x$no_gtk" = x ; then
10820 echo "$ac_t""yes" 1>&6
10821 wx_cv_lib_gtk=1.2.7
10822 else
10823 echo "$ac_t""no" 1>&6
10824 if test "$GTK_CONFIG" = "no" ; then
10825 echo "*** The gtk-config script installed by GTK could not be found"
10826 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10827 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10828 echo "*** full path to gtk-config."
10829 else
10830 if test -f conf.gtktest ; then
10831 :
10832 else
10833 echo "*** Could not run GTK test program, checking why..."
10834 CFLAGS="$CFLAGS $GTK_CFLAGS"
10835 LIBS="$LIBS $GTK_LIBS"
10836 cat > conftest.$ac_ext <<EOF
10837#line 10838 "configure"
10838#include "confdefs.h"
10839
10840#include <gtk/gtk.h>
10841#include <stdio.h>
10842
10843int main() {
10844 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10845; return 0; }
10846EOF
10847if { (eval echo configure:10848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10848 rm -rf conftest*
10849 echo "*** The test program compiled, but did not run. This usually means"
10850 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10851 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10852 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10853 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10854 echo "*** is required on your system"
10855 echo "***"
10856 echo "*** If you have an old version installed, it is best to remove it, although"
10857 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10858 echo "***"
10859 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10860 echo "*** came with the system with the command"
10861 echo "***"
10862 echo "*** rpm --erase --nodeps gtk gtk-devel"
10863else
10864 echo "configure: failed program was:" >&5
10865 cat conftest.$ac_ext >&5
10866 rm -rf conftest*
10867 echo "*** The test program failed to compile or link. See the file config.log for the"
10868 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10869 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10870 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10871fi
10872rm -f conftest*
10873 CFLAGS="$ac_save_CFLAGS"
10874 LIBS="$ac_save_LIBS"
10875 fi
10876 fi
10877 GTK_CFLAGS=""
10878 GTK_LIBS=""
10879 :
10880 fi
10881
10882
10883 rm -f conf.gtktest
10884
10885 fi
10886
10887 if test -z "$wx_cv_lib_gtk"; then
10888 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10889if test "${with_gtk_prefix+set}" = set; then
10890 withval="$with_gtk_prefix"
10891 gtk_config_prefix="$withval"
10892else
10893 gtk_config_prefix=""
10894fi
10895
10896# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10897if test "${with_gtk_exec_prefix+set}" = set; then
10898 withval="$with_gtk_exec_prefix"
10899 gtk_config_exec_prefix="$withval"
10900else
10901 gtk_config_exec_prefix=""
10902fi
10903
10904# Check whether --enable-gtktest or --disable-gtktest was given.
10905if test "${enable_gtktest+set}" = set; then
10906 enableval="$enable_gtktest"
10907 :
10908else
10909 enable_gtktest=yes
10910fi
10911
10912
10913 for module in . $GTK_MODULES
10914 do
10915 case "$module" in
10916 gthread)
10917 gtk_config_args="$gtk_config_args gthread"
10918 ;;
10919 esac
10920 done
10921
10922 if test x$gtk_config_exec_prefix != x ; then
10923 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10924 if test x${GTK_CONFIG+set} != xset ; then
10925 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
10926 fi
10927 fi
10928 if test x$gtk_config_prefix != x ; then
10929 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
10930 if test x${GTK_CONFIG+set} != xset ; then
10931 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
10932 fi
10933 fi
10934
10935 # Extract the first word of "gtk-config", so it can be a program name with args.
10936set dummy gtk-config; ac_word=$2
10937echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10938echo "configure:10939: checking for $ac_word" >&5
10939if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10940 echo $ac_n "(cached) $ac_c" 1>&6
10941else
10942 case "$GTK_CONFIG" in
10943 /*)
10944 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
10945 ;;
10946 ?:/*)
10947 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
10948 ;;
10949 *)
10950 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10951 ac_dummy="$PATH"
10952 for ac_dir in $ac_dummy; do
10953 test -z "$ac_dir" && ac_dir=.
10954 if test -f $ac_dir/$ac_word; then
10955 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
10956 break
10957 fi
10958 done
10959 IFS="$ac_save_ifs"
10960 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
10961 ;;
10962esac
10963fi
10964GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
10965if test -n "$GTK_CONFIG"; then
10966 echo "$ac_t""$GTK_CONFIG" 1>&6
10967else
10968 echo "$ac_t""no" 1>&6
10969fi
10970
10971 min_gtk_version=1.2.3
10972 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10973echo "configure:10974: checking for GTK - version >= $min_gtk_version" >&5
10974 no_gtk=""
10975 if test "$GTK_CONFIG" = "no" ; then
10976 no_gtk=yes
10977 else
10978 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
10979 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
10980 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
10981 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10982 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
10983 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10984 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
10985 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10986 if test "x$enable_gtktest" = "xyes" ; then
10987 ac_save_CFLAGS="$CFLAGS"
10988 ac_save_LIBS="$LIBS"
10989 CFLAGS="$CFLAGS $GTK_CFLAGS"
10990 LIBS="$GTK_LIBS $LIBS"
10991 rm -f conf.gtktest
10992 if test "$cross_compiling" = yes; then
10993 echo $ac_n "cross compiling; assumed OK... $ac_c"
10994else
10995 cat > conftest.$ac_ext <<EOF
10996#line 10997 "configure"
10997#include "confdefs.h"
10998
10999#include <gtk/gtk.h>
11000#include <stdio.h>
11001#include <stdlib.h>
11002
11003int
11004main ()
11005{
11006 int major, minor, micro;
11007 char *tmp_version;
11008
11009 system ("touch conf.gtktest");
11010
11011 /* HP/UX 9 (%@#!) writes to sscanf strings */
11012 tmp_version = g_strdup("$min_gtk_version");
11013 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
11014 printf("%s, bad version string\n", "$min_gtk_version");
11015 exit(1);
11016 }
11017
11018 if ((gtk_major_version != $gtk_config_major_version) ||
11019 (gtk_minor_version != $gtk_config_minor_version) ||
11020 (gtk_micro_version != $gtk_config_micro_version))
11021 {
11022 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11023 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11024 gtk_major_version, gtk_minor_version, gtk_micro_version);
11025 printf ("*** was found! If gtk-config was correct, then it is best\n");
11026 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11027 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11028 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11029 printf("*** required on your system.\n");
11030 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
11031 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
11032 printf("*** before re-running configure\n");
11033 }
11034#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
11035 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11036 (gtk_minor_version != GTK_MINOR_VERSION) ||
11037 (gtk_micro_version != GTK_MICRO_VERSION))
11038 {
11039 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11040 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11041 printf("*** library (version %d.%d.%d)\n",
11042 gtk_major_version, gtk_minor_version, gtk_micro_version);
11043 }
11044#endif /* defined (GTK_MAJOR_VERSION) ... */
11045 else
11046 {
11047 if ((gtk_major_version > major) ||
11048 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11049 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11050 {
11051 return 0;
11052 }
11053 else
11054 {
11055 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11056 gtk_major_version, gtk_minor_version, gtk_micro_version);
11057 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11058 major, minor, micro);
11059 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11060 printf("***\n");
11061 printf("*** If you have already installed a sufficiently new version, this error\n");
11062 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
11063 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11064 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
11065 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
11066 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11067 printf("*** so that the correct libraries are found at run-time))\n");
11068 }
11069 }
11070 return 1;
11071}
11072
11073EOF
11074if { (eval echo configure:11075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
11075then
11076 :
11077else
11078 echo "configure: failed program was:" >&5
11079 cat conftest.$ac_ext >&5
11080 rm -fr conftest*
11081 no_gtk=yes
11082fi
11083rm -fr conftest*
11084fi
11085
11086 CFLAGS="$ac_save_CFLAGS"
11087 LIBS="$ac_save_LIBS"
11088 fi
11089 fi
11090 if test "x$no_gtk" = x ; then
11091 echo "$ac_t""yes" 1>&6
11092 wx_cv_lib_gtk=1.2.3
11093 else
11094 echo "$ac_t""no" 1>&6
11095 if test "$GTK_CONFIG" = "no" ; then
11096 echo "*** The gtk-config script installed by GTK could not be found"
11097 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
11098 echo "*** your path, or set the GTK_CONFIG environment variable to the"
11099 echo "*** full path to gtk-config."
11100 else
11101 if test -f conf.gtktest ; then
11102 :
11103 else
11104 echo "*** Could not run GTK test program, checking why..."
11105 CFLAGS="$CFLAGS $GTK_CFLAGS"
11106 LIBS="$LIBS $GTK_LIBS"
11107 cat > conftest.$ac_ext <<EOF
11108#line 11109 "configure"
11109#include "confdefs.h"
11110
11111#include <gtk/gtk.h>
11112#include <stdio.h>
11113
11114int main() {
11115 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11116; return 0; }
11117EOF
11118if { (eval echo configure:11119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11119 rm -rf conftest*
11120 echo "*** The test program compiled, but did not run. This usually means"
11121 echo "*** that the run-time linker is not finding GTK or finding the wrong"
11122 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
11123 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11124 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11125 echo "*** is required on your system"
11126 echo "***"
11127 echo "*** If you have an old version installed, it is best to remove it, although"
11128 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11129 echo "***"
11130 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
11131 echo "*** came with the system with the command"
11132 echo "***"
11133 echo "*** rpm --erase --nodeps gtk gtk-devel"
11134else
11135 echo "configure: failed program was:" >&5
11136 cat conftest.$ac_ext >&5
11137 rm -rf conftest*
11138 echo "*** The test program failed to compile or link. See the file config.log for the"
11139 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
11140 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
11141 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
11142fi
11143rm -f conftest*
11144 CFLAGS="$ac_save_CFLAGS"
11145 LIBS="$ac_save_LIBS"
11146 fi
11147 fi
11148 GTK_CFLAGS=""
11149 GTK_LIBS=""
11150 :
11151 fi
11152
11153
11154 rm -f conf.gtktest
11155
11156 fi
11157
11158 if test -z "$wx_cv_lib_gtk"; then
11159 wx_cv_lib_gtk=none
11160 else
11161 wx_cv_cflags_gtk=$GTK_CFLAGS
11162 wx_cv_libs_gtk=$GTK_LIBS
11163 fi
11164
11165
11166fi
11167
11168
11169 if test "$gtk_version_cached" = 1; then
11170 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
11171 fi
11172
11173 case "$wx_cv_lib_gtk" in
11174 2.0) WXGTK20=1
11175 ;;
11176 1.2.7) WXGTK127=1
11177 WXGTK12=1
11178 ;;
11179 1.2.3) WXGTK12=1
11180 ;;
11181 *) { echo "configure: error:
11182Please check that gtk-config is in path, the directory
11183where GTK+ libraries are installed (returned by
11184'gtk-config --libs' command) is in LD_LIBRARY_PATH or
11185equivalent variable and GTK+ is version 1.2.3 or above.
11186 " 1>&2; exit 1; }
11187 ;;
11188 esac
11189
11190 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
11191 GUI_TK_LIBRARY="$wx_cv_libs_gtk"
11192
11193 AFMINSTALL=afminstall
11194 TOOLKIT=GTK
11195 GUIDIST=GTK_DIST
11196
11197 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
11198echo "configure:11199: checking for gdk_im_open in -lgdk" >&5
11199ac_lib_var=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
11200if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11201 echo $ac_n "(cached) $ac_c" 1>&6
11202else
11203 ac_save_LIBS="$LIBS"
11204LIBS="-lgdk $LIBS"
11205cat > conftest.$ac_ext <<EOF
11206#line 11207 "configure"
11207#include "confdefs.h"
11208/* Override any gcc2 internal prototype to avoid an error. */
11209/* We use char because int might match the return type of a gcc2
11210 builtin and then its argument prototype would still apply. */
11211char gdk_im_open();
11212
11213int main() {
11214gdk_im_open()
11215; return 0; }
11216EOF
11217if { (eval echo configure:11218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11218 rm -rf conftest*
11219 eval "ac_cv_lib_$ac_lib_var=yes"
11220else
11221 echo "configure: failed program was:" >&5
11222 cat conftest.$ac_ext >&5
11223 rm -rf conftest*
11224 eval "ac_cv_lib_$ac_lib_var=no"
11225fi
11226rm -f conftest*
11227LIBS="$ac_save_LIBS"
11228
11229fi
11230if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11231 echo "$ac_t""yes" 1>&6
11232 cat >> confdefs.h <<\EOF
11233#define HAVE_XIM 1
11234EOF
11235
11236else
11237 echo "$ac_t""no" 1>&6
11238fi
11239
11240 fi
11241
11242 if test "$wxUSE_MGL" = 1; then
11243 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
11244echo "configure:11245: checking for SciTech MGL library" >&5
11245 if test "x$MGL_ROOT" = x ; then
11246 echo "$ac_t""not found" 1>&6
11247 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
11248 else
11249 echo "$ac_t""$MGL_ROOT" 1>&6
11250 fi
11251
11252 case "${host}" in
11253 *-*-linux* )
11254 mgl_os=linux/gcc/glibc
11255 ;;
11256 *-pc-msdosdjgpp )
11257 mgl_os=dos32/dj2
11258 ;;
11259 *)
11260 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
11261 esac
11262
11263 mgl_lib_type=""
11264
11265 if test "$wxUSE_DEBUG_FLAG" = yes ; then
11266 if test -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.a -o \
11267 -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.so; then
11268 mgl_lib_type=debug
11269 fi
11270 fi
11271 if test "x$mgl_lib_type" = x ; then
11272 if test -f $MGL_ROOT/lib/release/$mgl_os/libmgl.a -o \
11273 -f $MGL_ROOT/lib/release/$mgl_os/libmgl.so; then
11274 mgl_lib_type=release
11275 else
11276 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
11277 fi
11278 fi
11279
11280 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
11281 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
11282
11283 AFMINSTALL=afminstall
11284 TOOLKIT=MGL
11285 GUIDIST=MGL_DIST
11286 fi
11287
11288 if test "$wxUSE_MICROWIN" = 1; then
11289 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
11290echo "configure:11291: checking for MicroWindows" >&5
11291 if test "x$MICROWINDOWS" = x ; then
11292 echo "$ac_t""not found" 1>&6
11293 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
11294 else
11295 echo "$ac_t""$MICROWINDOWS" 1>&6
11296 fi
11297
11298 if test -f $MICROWINDOWS/lib/libmwin.a; then
11299 echo "$ac_t""MicroWindows' libraries found." 1>&6
11300 else
11301 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
11302 fi
11303
11304 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
11305 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
11306
11307 AFMINSTALL=afminstall
11308 TOOLKIT=MICROWIN
11309 GUIDIST=MICROWIN_DIST
11310
11311 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
11312 fi
11313
11314 if test "$wxUSE_X11" = 1; then
11315 # If we find X, set shell vars x_includes and x_libraries to the
11316# paths, otherwise set no_x=yes.
11317# Uses ac_ vars as temps to allow command line to override cache and checks.
11318# --without-x overrides everything else, but does not touch the cache.
11319echo $ac_n "checking for X""... $ac_c" 1>&6
11320echo "configure:11321: checking for X" >&5
11321
11322# Check whether --with-x or --without-x was given.
11323if test "${with_x+set}" = set; then
11324 withval="$with_x"
11325 :
11326fi
11327
11328# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11329if test "x$with_x" = xno; then
11330 # The user explicitly disabled X.
11331 have_x=disabled
11332else
11333 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
11334 # Both variables are already set.
11335 have_x=yes
11336 else
11337if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
11338 echo $ac_n "(cached) $ac_c" 1>&6
11339else
11340 # One or both of the vars are not set, and there is no cached value.
11341ac_x_includes=NO ac_x_libraries=NO
11342rm -fr conftestdir
11343if mkdir conftestdir; then
11344 cd conftestdir
11345 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
11346 cat > Imakefile <<'EOF'
11347acfindx:
11348 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
11349EOF
11350 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
11351 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11352 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
11353 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11354 for ac_extension in a so sl; do
11355 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
11356 test -f $ac_im_libdir/libX11.$ac_extension; then
11357 ac_im_usrlibdir=$ac_im_libdir; break
11358 fi
11359 done
11360 # Screen out bogus values from the imake configuration. They are
11361 # bogus both because they are the default anyway, and because
11362 # using them would break gcc on systems where it needs fixed includes.
11363 case "$ac_im_incroot" in
11364 /usr/include) ;;
11365 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
11366 esac
11367 case "$ac_im_usrlibdir" in
11368 /usr/lib | /lib) ;;
11369 *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
11370 esac
11371 fi
11372 cd ..
11373 rm -fr conftestdir
11374fi
11375
11376if test "$ac_x_includes" = NO; then
11377 # Guess where to find include files, by looking for this one X11 .h file.
11378 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
11379
11380 # First, try using that file with no special directory specified.
11381cat > conftest.$ac_ext <<EOF
11382#line 11383 "configure"
11383#include "confdefs.h"
11384#include <$x_direct_test_include>
11385EOF
11386ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11387{ (eval echo configure:11388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11388ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11389if test -z "$ac_err"; then
11390 rm -rf conftest*
11391 # We can compile using X headers with no special include directory.
11392ac_x_includes=
11393else
11394 echo "$ac_err" >&5
11395 echo "configure: failed program was:" >&5
11396 cat conftest.$ac_ext >&5
11397 rm -rf conftest*
11398 # Look for the header file in a standard set of common directories.
11399# Check X11 before X11Rn because it is often a symlink to the current release.
11400 for ac_dir in \
11401 /usr/X11/include \
11402 /usr/X11R6/include \
11403 /usr/X11R5/include \
11404 /usr/X11R4/include \
11405 \
11406 /usr/include/X11 \
11407 /usr/include/X11R6 \
11408 /usr/include/X11R5 \
11409 /usr/include/X11R4 \
11410 \
11411 /usr/local/X11/include \
11412 /usr/local/X11R6/include \
11413 /usr/local/X11R5/include \
11414 /usr/local/X11R4/include \
11415 \
11416 /usr/local/include/X11 \
11417 /usr/local/include/X11R6 \
11418 /usr/local/include/X11R5 \
11419 /usr/local/include/X11R4 \
11420 \
11421 /usr/X386/include \
11422 /usr/x386/include \
11423 /usr/XFree86/include/X11 \
11424 \
11425 /usr/include \
11426 /usr/local/include \
11427 /usr/unsupported/include \
11428 /usr/athena/include \
11429 /usr/local/x11r5/include \
11430 /usr/lpp/Xamples/include \
11431 \
11432 /usr/openwin/include \
11433 /usr/openwin/share/include \
11434 ; \
11435 do
11436 if test -r "$ac_dir/$x_direct_test_include"; then
11437 ac_x_includes=$ac_dir
11438 break
11439 fi
11440 done
11441fi
11442rm -f conftest*
11443fi # $ac_x_includes = NO
11444
11445if test "$ac_x_libraries" = NO; then
11446 # Check for the libraries.
11447
11448 test -z "$x_direct_test_library" && x_direct_test_library=Xt
11449 test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
11450
11451 # See if we find them without any special options.
11452 # Don't add to $LIBS permanently.
11453 ac_save_LIBS="$LIBS"
11454 LIBS="-l$x_direct_test_library $LIBS"
11455cat > conftest.$ac_ext <<EOF
11456#line 11457 "configure"
11457#include "confdefs.h"
11458
11459int main() {
11460${x_direct_test_function}()
11461; return 0; }
11462EOF
11463if { (eval echo configure:11464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11464 rm -rf conftest*
11465 LIBS="$ac_save_LIBS"
11466# We can link X programs with no special library path.
11467ac_x_libraries=
11468else
11469 echo "configure: failed program was:" >&5
11470 cat conftest.$ac_ext >&5
11471 rm -rf conftest*
11472 LIBS="$ac_save_LIBS"
11473# First see if replacing the include by lib works.
11474# Check X11 before X11Rn because it is often a symlink to the current release.
11475for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
11476 /usr/X11/lib \
11477 /usr/X11R6/lib \
11478 /usr/X11R5/lib \
11479 /usr/X11R4/lib \
11480 \
11481 /usr/lib/X11 \
11482 /usr/lib/X11R6 \
11483 /usr/lib/X11R5 \
11484 /usr/lib/X11R4 \
11485 \
11486 /usr/local/X11/lib \
11487 /usr/local/X11R6/lib \
11488 /usr/local/X11R5/lib \
11489 /usr/local/X11R4/lib \
11490 \
11491 /usr/local/lib/X11 \
11492 /usr/local/lib/X11R6 \
11493 /usr/local/lib/X11R5 \
11494 /usr/local/lib/X11R4 \
11495 \
11496 /usr/X386/lib \
11497 /usr/x386/lib \
11498 /usr/XFree86/lib/X11 \
11499 \
11500 /usr/lib \
11501 /usr/local/lib \
11502 /usr/unsupported/lib \
11503 /usr/athena/lib \
11504 /usr/local/x11r5/lib \
11505 /usr/lpp/Xamples/lib \
11506 /lib/usr/lib/X11 \
11507 \
11508 /usr/openwin/lib \
11509 /usr/openwin/share/lib \
11510 ; \
11511do
11512 for ac_extension in a so sl; do
11513 if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
11514 ac_x_libraries=$ac_dir
11515 break 2
11516 fi
11517 done
11518done
11519fi
11520rm -f conftest*
11521fi # $ac_x_libraries = NO
11522
11523if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
11524 # Didn't find X anywhere. Cache the known absence of X.
11525 ac_cv_have_x="have_x=no"
11526else
11527 # Record where we found X for the cache.
11528 ac_cv_have_x="have_x=yes \
11529 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
11530fi
11531fi
11532 fi
11533 eval "$ac_cv_have_x"
11534fi # $with_x != no
11535
11536if test "$have_x" != yes; then
11537 echo "$ac_t""$have_x" 1>&6
11538 no_x=yes
11539else
11540 # If each of the values was on the command line, it overrides each guess.
11541 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11542 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11543 # Update the cache value to reflect the command line values.
11544 ac_cv_have_x="have_x=yes \
11545 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11546 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
11547fi
11548
11549if test "$no_x" = yes; then
11550 # Not all programs may use this symbol, but it does not hurt to define it.
11551 cat >> confdefs.h <<\EOF
11552#define X_DISPLAY_MISSING 1
11553EOF
11554
11555 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11556else
11557 if test -n "$x_includes"; then
11558 X_CFLAGS="$X_CFLAGS -I$x_includes"
11559 fi
11560
11561 # It would also be nice to do this for all -L options, not just this one.
11562 if test -n "$x_libraries"; then
11563 X_LIBS="$X_LIBS -L$x_libraries"
11564 # For Solaris; some versions of Sun CC require a space after -R and
11565 # others require no space. Words are not sufficient . . . .
11566 case "`(uname -sr) 2>/dev/null`" in
11567 "SunOS 5"*)
11568 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
11569echo "configure:11570: checking whether -R must be followed by a space" >&5
11570 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
11571 cat > conftest.$ac_ext <<EOF
11572#line 11573 "configure"
11573#include "confdefs.h"
11574
11575int main() {
11576
11577; return 0; }
11578EOF
11579if { (eval echo configure:11580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11580 rm -rf conftest*
11581 ac_R_nospace=yes
11582else
11583 echo "configure: failed program was:" >&5
11584 cat conftest.$ac_ext >&5
11585 rm -rf conftest*
11586 ac_R_nospace=no
11587fi
11588rm -f conftest*
11589 if test $ac_R_nospace = yes; then
11590 echo "$ac_t""no" 1>&6
11591 X_LIBS="$X_LIBS -R$x_libraries"
11592 else
11593 LIBS="$ac_xsave_LIBS -R $x_libraries"
11594 cat > conftest.$ac_ext <<EOF
11595#line 11596 "configure"
11596#include "confdefs.h"
11597
11598int main() {
11599
11600; return 0; }
11601EOF
11602if { (eval echo configure:11603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11603 rm -rf conftest*
11604 ac_R_space=yes
11605else
11606 echo "configure: failed program was:" >&5
11607 cat conftest.$ac_ext >&5
11608 rm -rf conftest*
11609 ac_R_space=no
11610fi
11611rm -f conftest*
11612 if test $ac_R_space = yes; then
11613 echo "$ac_t""yes" 1>&6
11614 X_LIBS="$X_LIBS -R $x_libraries"
11615 else
11616 echo "$ac_t""neither works" 1>&6
11617 fi
11618 fi
11619 LIBS="$ac_xsave_LIBS"
11620 esac
11621 fi
11622
11623 # Check for system-dependent libraries X programs must link with.
11624 # Do this before checking for the system-independent R6 libraries
11625 # (-lICE), since we may need -lsocket or whatever for X linking.
11626
11627 if test "$ISC" = yes; then
11628 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11629 else
11630 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
11631 # libraries were built with DECnet support. And karl@cs.umb.edu says
11632 # the Alpha needs dnet_stub (dnet does not exist).
11633 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
11634echo "configure:11635: checking for dnet_ntoa in -ldnet" >&5
11635ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11636if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11637 echo $ac_n "(cached) $ac_c" 1>&6
11638else
11639 ac_save_LIBS="$LIBS"
11640LIBS="-ldnet $LIBS"
11641cat > conftest.$ac_ext <<EOF
11642#line 11643 "configure"
11643#include "confdefs.h"
11644/* Override any gcc2 internal prototype to avoid an error. */
11645/* We use char because int might match the return type of a gcc2
11646 builtin and then its argument prototype would still apply. */
11647char dnet_ntoa();
11648
11649int main() {
11650dnet_ntoa()
11651; return 0; }
11652EOF
11653if { (eval echo configure:11654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11654 rm -rf conftest*
11655 eval "ac_cv_lib_$ac_lib_var=yes"
11656else
11657 echo "configure: failed program was:" >&5
11658 cat conftest.$ac_ext >&5
11659 rm -rf conftest*
11660 eval "ac_cv_lib_$ac_lib_var=no"
11661fi
11662rm -f conftest*
11663LIBS="$ac_save_LIBS"
11664
11665fi
11666if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11667 echo "$ac_t""yes" 1>&6
11668 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11669else
11670 echo "$ac_t""no" 1>&6
11671fi
11672
11673 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11674 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
11675echo "configure:11676: checking for dnet_ntoa in -ldnet_stub" >&5
11676ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11677if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11678 echo $ac_n "(cached) $ac_c" 1>&6
11679else
11680 ac_save_LIBS="$LIBS"
11681LIBS="-ldnet_stub $LIBS"
11682cat > conftest.$ac_ext <<EOF
11683#line 11684 "configure"
11684#include "confdefs.h"
11685/* Override any gcc2 internal prototype to avoid an error. */
11686/* We use char because int might match the return type of a gcc2
11687 builtin and then its argument prototype would still apply. */
11688char dnet_ntoa();
11689
11690int main() {
11691dnet_ntoa()
11692; return 0; }
11693EOF
11694if { (eval echo configure:11695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11695 rm -rf conftest*
11696 eval "ac_cv_lib_$ac_lib_var=yes"
11697else
11698 echo "configure: failed program was:" >&5
11699 cat conftest.$ac_ext >&5
11700 rm -rf conftest*
11701 eval "ac_cv_lib_$ac_lib_var=no"
11702fi
11703rm -f conftest*
11704LIBS="$ac_save_LIBS"
11705
11706fi
11707if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11708 echo "$ac_t""yes" 1>&6
11709 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11710else
11711 echo "$ac_t""no" 1>&6
11712fi
11713
11714 fi
11715
11716 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11717 # to get the SysV transport functions.
11718 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
11719 # needs -lnsl.
11720 # The nsl library prevents programs from opening the X display
11721 # on Irix 5.2, according to dickey@clark.net.
11722 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
11723echo "configure:11724: checking for gethostbyname" >&5
11724if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
11725 echo $ac_n "(cached) $ac_c" 1>&6
11726else
11727 cat > conftest.$ac_ext <<EOF
11728#line 11729 "configure"
11729#include "confdefs.h"
11730/* System header to define __stub macros and hopefully few prototypes,
11731 which can conflict with char gethostbyname(); below. */
11732#include <assert.h>
11733/* Override any gcc2 internal prototype to avoid an error. */
11734/* We use char because int might match the return type of a gcc2
11735 builtin and then its argument prototype would still apply. */
11736char gethostbyname();
11737
11738int main() {
11739
11740/* The GNU C library defines this for functions which it implements
11741 to always fail with ENOSYS. Some functions are actually named
11742 something starting with __ and the normal name is an alias. */
11743#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11744choke me
11745#else
11746gethostbyname();
11747#endif
11748
11749; return 0; }
11750EOF
11751if { (eval echo configure:11752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11752 rm -rf conftest*
11753 eval "ac_cv_func_gethostbyname=yes"
11754else
11755 echo "configure: failed program was:" >&5
11756 cat conftest.$ac_ext >&5
11757 rm -rf conftest*
11758 eval "ac_cv_func_gethostbyname=no"
11759fi
11760rm -f conftest*
11761fi
11762
11763if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11764 echo "$ac_t""yes" 1>&6
11765 :
11766else
11767 echo "$ac_t""no" 1>&6
11768fi
11769
11770 if test $ac_cv_func_gethostbyname = no; then
11771 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11772echo "configure:11773: checking for gethostbyname in -lnsl" >&5
11773ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11774if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11775 echo $ac_n "(cached) $ac_c" 1>&6
11776else
11777 ac_save_LIBS="$LIBS"
11778LIBS="-lnsl $LIBS"
11779cat > conftest.$ac_ext <<EOF
11780#line 11781 "configure"
11781#include "confdefs.h"
11782/* Override any gcc2 internal prototype to avoid an error. */
11783/* We use char because int might match the return type of a gcc2
11784 builtin and then its argument prototype would still apply. */
11785char gethostbyname();
11786
11787int main() {
11788gethostbyname()
11789; return 0; }
11790EOF
11791if { (eval echo configure:11792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11792 rm -rf conftest*
11793 eval "ac_cv_lib_$ac_lib_var=yes"
11794else
11795 echo "configure: failed program was:" >&5
11796 cat conftest.$ac_ext >&5
11797 rm -rf conftest*
11798 eval "ac_cv_lib_$ac_lib_var=no"
11799fi
11800rm -f conftest*
11801LIBS="$ac_save_LIBS"
11802
11803fi
11804if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11805 echo "$ac_t""yes" 1>&6
11806 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11807else
11808 echo "$ac_t""no" 1>&6
11809fi
11810
11811 fi
11812
11813 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11814 # socket/setsockopt and other routines are undefined under SCO ODT
11815 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11816 # on later versions), says simon@lia.di.epfl.ch: it contains
11817 # gethostby* variants that don't use the nameserver (or something).
11818 # -lsocket must be given before -lnsl if both are needed.
11819 # We assume that if connect needs -lnsl, so does gethostbyname.
11820 echo $ac_n "checking for connect""... $ac_c" 1>&6
11821echo "configure:11822: checking for connect" >&5
11822if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11823 echo $ac_n "(cached) $ac_c" 1>&6
11824else
11825 cat > conftest.$ac_ext <<EOF
11826#line 11827 "configure"
11827#include "confdefs.h"
11828/* System header to define __stub macros and hopefully few prototypes,
11829 which can conflict with char connect(); below. */
11830#include <assert.h>
11831/* Override any gcc2 internal prototype to avoid an error. */
11832/* We use char because int might match the return type of a gcc2
11833 builtin and then its argument prototype would still apply. */
11834char connect();
11835
11836int main() {
11837
11838/* The GNU C library defines this for functions which it implements
11839 to always fail with ENOSYS. Some functions are actually named
11840 something starting with __ and the normal name is an alias. */
11841#if defined (__stub_connect) || defined (__stub___connect)
11842choke me
11843#else
11844connect();
11845#endif
11846
11847; return 0; }
11848EOF
11849if { (eval echo configure:11850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11850 rm -rf conftest*
11851 eval "ac_cv_func_connect=yes"
11852else
11853 echo "configure: failed program was:" >&5
11854 cat conftest.$ac_ext >&5
11855 rm -rf conftest*
11856 eval "ac_cv_func_connect=no"
11857fi
11858rm -f conftest*
11859fi
11860
11861if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11862 echo "$ac_t""yes" 1>&6
11863 :
11864else
11865 echo "$ac_t""no" 1>&6
11866fi
11867
11868 if test $ac_cv_func_connect = no; then
11869 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11870echo "configure:11871: checking for connect in -lsocket" >&5
11871ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11872if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11873 echo $ac_n "(cached) $ac_c" 1>&6
11874else
11875 ac_save_LIBS="$LIBS"
11876LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11877cat > conftest.$ac_ext <<EOF
11878#line 11879 "configure"
11879#include "confdefs.h"
11880/* Override any gcc2 internal prototype to avoid an error. */
11881/* We use char because int might match the return type of a gcc2
11882 builtin and then its argument prototype would still apply. */
11883char connect();
11884
11885int main() {
11886connect()
11887; return 0; }
11888EOF
11889if { (eval echo configure:11890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11890 rm -rf conftest*
11891 eval "ac_cv_lib_$ac_lib_var=yes"
11892else
11893 echo "configure: failed program was:" >&5
11894 cat conftest.$ac_ext >&5
11895 rm -rf conftest*
11896 eval "ac_cv_lib_$ac_lib_var=no"
11897fi
11898rm -f conftest*
11899LIBS="$ac_save_LIBS"
11900
11901fi
11902if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11903 echo "$ac_t""yes" 1>&6
11904 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11905else
11906 echo "$ac_t""no" 1>&6
11907fi
11908
11909 fi
11910
11911 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11912 echo $ac_n "checking for remove""... $ac_c" 1>&6
11913echo "configure:11914: checking for remove" >&5
11914if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11915 echo $ac_n "(cached) $ac_c" 1>&6
11916else
11917 cat > conftest.$ac_ext <<EOF
11918#line 11919 "configure"
11919#include "confdefs.h"
11920/* System header to define __stub macros and hopefully few prototypes,
11921 which can conflict with char remove(); below. */
11922#include <assert.h>
11923/* Override any gcc2 internal prototype to avoid an error. */
11924/* We use char because int might match the return type of a gcc2
11925 builtin and then its argument prototype would still apply. */
11926char remove();
11927
11928int main() {
11929
11930/* The GNU C library defines this for functions which it implements
11931 to always fail with ENOSYS. Some functions are actually named
11932 something starting with __ and the normal name is an alias. */
11933#if defined (__stub_remove) || defined (__stub___remove)
11934choke me
11935#else
11936remove();
11937#endif
11938
11939; return 0; }
11940EOF
11941if { (eval echo configure:11942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11942 rm -rf conftest*
11943 eval "ac_cv_func_remove=yes"
11944else
11945 echo "configure: failed program was:" >&5
11946 cat conftest.$ac_ext >&5
11947 rm -rf conftest*
11948 eval "ac_cv_func_remove=no"
11949fi
11950rm -f conftest*
11951fi
11952
11953if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
11954 echo "$ac_t""yes" 1>&6
11955 :
11956else
11957 echo "$ac_t""no" 1>&6
11958fi
11959
11960 if test $ac_cv_func_remove = no; then
11961 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
11962echo "configure:11963: checking for remove in -lposix" >&5
11963ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
11964if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11965 echo $ac_n "(cached) $ac_c" 1>&6
11966else
11967 ac_save_LIBS="$LIBS"
11968LIBS="-lposix $LIBS"
11969cat > conftest.$ac_ext <<EOF
11970#line 11971 "configure"
11971#include "confdefs.h"
11972/* Override any gcc2 internal prototype to avoid an error. */
11973/* We use char because int might match the return type of a gcc2
11974 builtin and then its argument prototype would still apply. */
11975char remove();
11976
11977int main() {
11978remove()
11979; return 0; }
11980EOF
11981if { (eval echo configure:11982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11982 rm -rf conftest*
11983 eval "ac_cv_lib_$ac_lib_var=yes"
11984else
11985 echo "configure: failed program was:" >&5
11986 cat conftest.$ac_ext >&5
11987 rm -rf conftest*
11988 eval "ac_cv_lib_$ac_lib_var=no"
11989fi
11990rm -f conftest*
11991LIBS="$ac_save_LIBS"
11992
11993fi
11994if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11995 echo "$ac_t""yes" 1>&6
11996 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11997else
11998 echo "$ac_t""no" 1>&6
11999fi
12000
12001 fi
12002
12003 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12004 echo $ac_n "checking for shmat""... $ac_c" 1>&6
12005echo "configure:12006: checking for shmat" >&5
12006if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12007 echo $ac_n "(cached) $ac_c" 1>&6
12008else
12009 cat > conftest.$ac_ext <<EOF
12010#line 12011 "configure"
12011#include "confdefs.h"
12012/* System header to define __stub macros and hopefully few prototypes,
12013 which can conflict with char shmat(); below. */
12014#include <assert.h>
12015/* Override any gcc2 internal prototype to avoid an error. */
12016/* We use char because int might match the return type of a gcc2
12017 builtin and then its argument prototype would still apply. */
12018char shmat();
12019
12020int main() {
12021
12022/* The GNU C library defines this for functions which it implements
12023 to always fail with ENOSYS. Some functions are actually named
12024 something starting with __ and the normal name is an alias. */
12025#if defined (__stub_shmat) || defined (__stub___shmat)
12026choke me
12027#else
12028shmat();
12029#endif
12030
12031; return 0; }
12032EOF
12033if { (eval echo configure:12034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12034 rm -rf conftest*
12035 eval "ac_cv_func_shmat=yes"
12036else
12037 echo "configure: failed program was:" >&5
12038 cat conftest.$ac_ext >&5
12039 rm -rf conftest*
12040 eval "ac_cv_func_shmat=no"
12041fi
12042rm -f conftest*
12043fi
12044
12045if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12046 echo "$ac_t""yes" 1>&6
12047 :
12048else
12049 echo "$ac_t""no" 1>&6
12050fi
12051
12052 if test $ac_cv_func_shmat = no; then
12053 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12054echo "configure:12055: checking for shmat in -lipc" >&5
12055ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12056if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12057 echo $ac_n "(cached) $ac_c" 1>&6
12058else
12059 ac_save_LIBS="$LIBS"
12060LIBS="-lipc $LIBS"
12061cat > conftest.$ac_ext <<EOF
12062#line 12063 "configure"
12063#include "confdefs.h"
12064/* Override any gcc2 internal prototype to avoid an error. */
12065/* We use char because int might match the return type of a gcc2
12066 builtin and then its argument prototype would still apply. */
12067char shmat();
12068
12069int main() {
12070shmat()
12071; return 0; }
12072EOF
12073if { (eval echo configure:12074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12074 rm -rf conftest*
12075 eval "ac_cv_lib_$ac_lib_var=yes"
12076else
12077 echo "configure: failed program was:" >&5
12078 cat conftest.$ac_ext >&5
12079 rm -rf conftest*
12080 eval "ac_cv_lib_$ac_lib_var=no"
12081fi
12082rm -f conftest*
12083LIBS="$ac_save_LIBS"
12084
12085fi
12086if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12087 echo "$ac_t""yes" 1>&6
12088 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
12089else
12090 echo "$ac_t""no" 1>&6
12091fi
12092
12093 fi
12094 fi
12095
12096 # Check for libraries that X11R6 Xt/Xaw programs need.
12097 ac_save_LDFLAGS="$LDFLAGS"
12098 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
12099 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12100 # check for ICE first), but we must link in the order -lSM -lICE or
12101 # we get undefined symbols. So assume we have SM if we have ICE.
12102 # These have to be linked with before -lX11, unlike the other
12103 # libraries we check for below, so use a different variable.
12104 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12105 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12106echo "configure:12107: checking for IceConnectionNumber in -lICE" >&5
12107ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12108if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12109 echo $ac_n "(cached) $ac_c" 1>&6
12110else
12111 ac_save_LIBS="$LIBS"
12112LIBS="-lICE $X_EXTRA_LIBS $LIBS"
12113cat > conftest.$ac_ext <<EOF
12114#line 12115 "configure"
12115#include "confdefs.h"
12116/* Override any gcc2 internal prototype to avoid an error. */
12117/* We use char because int might match the return type of a gcc2
12118 builtin and then its argument prototype would still apply. */
12119char IceConnectionNumber();
12120
12121int main() {
12122IceConnectionNumber()
12123; return 0; }
12124EOF
12125if { (eval echo configure:12126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12126 rm -rf conftest*
12127 eval "ac_cv_lib_$ac_lib_var=yes"
12128else
12129 echo "configure: failed program was:" >&5
12130 cat conftest.$ac_ext >&5
12131 rm -rf conftest*
12132 eval "ac_cv_lib_$ac_lib_var=no"
12133fi
12134rm -f conftest*
12135LIBS="$ac_save_LIBS"
12136
12137fi
12138if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12139 echo "$ac_t""yes" 1>&6
12140 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
12141else
12142 echo "$ac_t""no" 1>&6
12143fi
12144
12145 LDFLAGS="$ac_save_LDFLAGS"
12146
12147fi
12148
12149
12150 if test "$no_x" = "yes"; then
12151 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12152 fi
12153
12154 GUI_TK_LIBRARY="$X_LIBS"
12155 TOOLKIT_INCLUDE="$X_CFLAGS"
12156 AFMINSTALL=afminstall
12157 COMPILED_X_PROGRAM=0
12158
12159 if test "$wxUSE_NANOX" = "yes"; then
12160 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
12161echo "configure:12162: checking for MicroWindows/NanoX distribution" >&5
12162 if test "x$MICROWIN" = x ; then
12163 echo "$ac_t""not found" 1>&6
12164 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
12165 else
12166 echo "$ac_t""$MICROWIN" 1>&6
12167 cat >> confdefs.h <<\EOF
12168#define wxUSE_NANOX 1
12169EOF
12170
12171 fi
12172 fi
12173
12174 xpm_link=
12175 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12176echo "configure:12177: checking for Xpm library" >&5
12177
12178ac_find_libraries=
12179for ac_dir in $SEARCH_LIB;
12180 do
12181 for ac_extension in a so sl dylib; do
12182 if test -f "$ac_dir/libXpm.$ac_extension"; then
12183 ac_find_libraries=$ac_dir
12184 break 2
12185 fi
12186 done
12187 done
12188
12189 if test "$ac_find_libraries" != "" ; then
12190
12191 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
12192 result=$?
12193 if test $result = 0; then
12194 ac_path_to_link=""
12195 else
12196 ac_path_to_link=" -L$ac_find_libraries"
12197 fi
12198
12199 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
12200 xpm_link=" -lXpm"
12201 cat >> confdefs.h <<\EOF
12202#define wxHAVE_LIB_XPM 1
12203EOF
12204
12205 echo "$ac_t""found at $ac_find_libraries" 1>&6
12206 else
12207 cat > conftest.$ac_ext <<EOF
12208#line 12209 "configure"
12209#include "confdefs.h"
12210
12211 #include <X11/xpm.h>
12212
12213int main() {
12214
12215 int version;
12216 version = XpmLibraryVersion();
12217
12218; return 0; }
12219EOF
12220if { (eval echo configure:12221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12221 rm -rf conftest*
12222
12223 xpm_link=" -lXpm"
12224 cat >> confdefs.h <<\EOF
12225#define wxHAVE_LIB_XPM 1
12226EOF
12227
12228 echo "$ac_t""found in default search path" 1>&6
12229 COMPILED_X_PROGRAM=0
12230
12231else
12232 echo "configure: failed program was:" >&5
12233 cat conftest.$ac_ext >&5
12234 rm -rf conftest*
12235
12236 echo "$ac_t""no" 1>&6
12237 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12238
12239
12240fi
12241rm -f conftest*
12242 fi
12243
12244 if test "$wxUSE_NANOX" = "yes"; then
12245 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
12246 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"
12247 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
12248 else
12249 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
12250 fi
12251
12252 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
12253 TOOLKIT=X11
12254 GUIDIST=X11_DIST
12255 fi
12256
12257 if test "$wxUSE_WINE" = 1; then
12258 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
12259echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12260echo "configure:12261: checking for windows.h" >&5
12261if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12262 echo $ac_n "(cached) $ac_c" 1>&6
12263else
12264 cat > conftest.$ac_ext <<EOF
12265#line 12266 "configure"
12266#include "confdefs.h"
12267#include <windows.h>
12268EOF
12269ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12270{ (eval echo configure:12271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12271ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12272if test -z "$ac_err"; then
12273 rm -rf conftest*
12274 eval "ac_cv_header_$ac_safe=yes"
12275else
12276 echo "$ac_err" >&5
12277 echo "configure: failed program was:" >&5
12278 cat conftest.$ac_ext >&5
12279 rm -rf conftest*
12280 eval "ac_cv_header_$ac_safe=no"
12281fi
12282rm -f conftest*
12283fi
12284if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12285 echo "$ac_t""yes" 1>&6
12286 :
12287else
12288 echo "$ac_t""no" 1>&6
12289
12290 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12291
12292fi
12293
12294
12295 xpm_link=
12296 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12297echo "configure:12298: checking for Xpm library" >&5
12298
12299ac_find_libraries=
12300for ac_dir in $SEARCH_LIB;
12301 do
12302 for ac_extension in a so sl dylib; do
12303 if test -f "$ac_dir/libXpm.$ac_extension"; then
12304 ac_find_libraries=$ac_dir
12305 break 2
12306 fi
12307 done
12308 done
12309
12310 if test "$ac_find_libraries" != "" ; then
12311 GUI_TK_LIBRARY="-L$ac_find_libraries"
12312 xpm_link=" -lXpm"
12313 cat >> confdefs.h <<\EOF
12314#define wxHAVE_LIB_XPM 1
12315EOF
12316
12317 echo "$ac_t""found at $ac_find_libraries" 1>&6
12318 else
12319 echo "$ac_t""no" 1>&6
12320 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12321 fi
12322
12323 mesa_link=
12324 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
12325echo "configure:12326: checking for Mesa library" >&5
12326
12327ac_find_libraries=
12328for ac_dir in $SEARCH_LIB;
12329 do
12330 for ac_extension in a so sl dylib; do
12331 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
12332 ac_find_libraries=$ac_dir
12333 break 2
12334 fi
12335 done
12336 done
12337
12338 if test "$ac_find_libraries" != "" ; then
12339 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -L$ac_find_libraries"
12340 mesa_link=" -lMesaGL"
12341 echo "$ac_t""found at $ac_find_libraries" 1>&6
12342 else
12343 { echo "configure: error: no" 1>&2; exit 1; }
12344 fi
12345
12346 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
12347 TOOLKIT=MSW
12348 GUIDIST=MSW_DIST
12349 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXWINE__"
12350 fi
12351
12352 if test "$wxUSE_MOTIF" = 1; then
12353 if test "$no_x" = yes; then
12354 # Not all programs may use this symbol, but it does not hurt to define it.
12355 cat >> confdefs.h <<\EOF
12356#define X_DISPLAY_MISSING 1
12357EOF
12358
12359 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
12360else
12361 if test -n "$x_includes"; then
12362 X_CFLAGS="$X_CFLAGS -I$x_includes"
12363 fi
12364
12365 # It would also be nice to do this for all -L options, not just this one.
12366 if test -n "$x_libraries"; then
12367 X_LIBS="$X_LIBS -L$x_libraries"
12368 # For Solaris; some versions of Sun CC require a space after -R and
12369 # others require no space. Words are not sufficient . . . .
12370 case "`(uname -sr) 2>/dev/null`" in
12371 "SunOS 5"*)
12372 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
12373echo "configure:12374: checking whether -R must be followed by a space" >&5
12374 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
12375 cat > conftest.$ac_ext <<EOF
12376#line 12377 "configure"
12377#include "confdefs.h"
12378
12379int main() {
12380
12381; return 0; }
12382EOF
12383if { (eval echo configure:12384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12384 rm -rf conftest*
12385 ac_R_nospace=yes
12386else
12387 echo "configure: failed program was:" >&5
12388 cat conftest.$ac_ext >&5
12389 rm -rf conftest*
12390 ac_R_nospace=no
12391fi
12392rm -f conftest*
12393 if test $ac_R_nospace = yes; then
12394 echo "$ac_t""no" 1>&6
12395 X_LIBS="$X_LIBS -R$x_libraries"
12396 else
12397 LIBS="$ac_xsave_LIBS -R $x_libraries"
12398 cat > conftest.$ac_ext <<EOF
12399#line 12400 "configure"
12400#include "confdefs.h"
12401
12402int main() {
12403
12404; return 0; }
12405EOF
12406if { (eval echo configure:12407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12407 rm -rf conftest*
12408 ac_R_space=yes
12409else
12410 echo "configure: failed program was:" >&5
12411 cat conftest.$ac_ext >&5
12412 rm -rf conftest*
12413 ac_R_space=no
12414fi
12415rm -f conftest*
12416 if test $ac_R_space = yes; then
12417 echo "$ac_t""yes" 1>&6
12418 X_LIBS="$X_LIBS -R $x_libraries"
12419 else
12420 echo "$ac_t""neither works" 1>&6
12421 fi
12422 fi
12423 LIBS="$ac_xsave_LIBS"
12424 esac
12425 fi
12426
12427 # Check for system-dependent libraries X programs must link with.
12428 # Do this before checking for the system-independent R6 libraries
12429 # (-lICE), since we may need -lsocket or whatever for X linking.
12430
12431 if test "$ISC" = yes; then
12432 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
12433 else
12434 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
12435 # libraries were built with DECnet support. And karl@cs.umb.edu says
12436 # the Alpha needs dnet_stub (dnet does not exist).
12437 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
12438echo "configure:12439: checking for dnet_ntoa in -ldnet" >&5
12439ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12440if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12441 echo $ac_n "(cached) $ac_c" 1>&6
12442else
12443 ac_save_LIBS="$LIBS"
12444LIBS="-ldnet $LIBS"
12445cat > conftest.$ac_ext <<EOF
12446#line 12447 "configure"
12447#include "confdefs.h"
12448/* Override any gcc2 internal prototype to avoid an error. */
12449/* We use char because int might match the return type of a gcc2
12450 builtin and then its argument prototype would still apply. */
12451char dnet_ntoa();
12452
12453int main() {
12454dnet_ntoa()
12455; return 0; }
12456EOF
12457if { (eval echo configure:12458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12458 rm -rf conftest*
12459 eval "ac_cv_lib_$ac_lib_var=yes"
12460else
12461 echo "configure: failed program was:" >&5
12462 cat conftest.$ac_ext >&5
12463 rm -rf conftest*
12464 eval "ac_cv_lib_$ac_lib_var=no"
12465fi
12466rm -f conftest*
12467LIBS="$ac_save_LIBS"
12468
12469fi
12470if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12471 echo "$ac_t""yes" 1>&6
12472 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
12473else
12474 echo "$ac_t""no" 1>&6
12475fi
12476
12477 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
12478 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
12479echo "configure:12480: checking for dnet_ntoa in -ldnet_stub" >&5
12480ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12481if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12482 echo $ac_n "(cached) $ac_c" 1>&6
12483else
12484 ac_save_LIBS="$LIBS"
12485LIBS="-ldnet_stub $LIBS"
12486cat > conftest.$ac_ext <<EOF
12487#line 12488 "configure"
12488#include "confdefs.h"
12489/* Override any gcc2 internal prototype to avoid an error. */
12490/* We use char because int might match the return type of a gcc2
12491 builtin and then its argument prototype would still apply. */
12492char dnet_ntoa();
12493
12494int main() {
12495dnet_ntoa()
12496; return 0; }
12497EOF
12498if { (eval echo configure:12499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12499 rm -rf conftest*
12500 eval "ac_cv_lib_$ac_lib_var=yes"
12501else
12502 echo "configure: failed program was:" >&5
12503 cat conftest.$ac_ext >&5
12504 rm -rf conftest*
12505 eval "ac_cv_lib_$ac_lib_var=no"
12506fi
12507rm -f conftest*
12508LIBS="$ac_save_LIBS"
12509
12510fi
12511if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12512 echo "$ac_t""yes" 1>&6
12513 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
12514else
12515 echo "$ac_t""no" 1>&6
12516fi
12517
12518 fi
12519
12520 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
12521 # to get the SysV transport functions.
12522 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
12523 # needs -lnsl.
12524 # The nsl library prevents programs from opening the X display
12525 # on Irix 5.2, according to dickey@clark.net.
12526 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
12527echo "configure:12528: checking for gethostbyname" >&5
12528if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
12529 echo $ac_n "(cached) $ac_c" 1>&6
12530else
12531 cat > conftest.$ac_ext <<EOF
12532#line 12533 "configure"
12533#include "confdefs.h"
12534/* System header to define __stub macros and hopefully few prototypes,
12535 which can conflict with char gethostbyname(); below. */
12536#include <assert.h>
12537/* Override any gcc2 internal prototype to avoid an error. */
12538/* We use char because int might match the return type of a gcc2
12539 builtin and then its argument prototype would still apply. */
12540char gethostbyname();
12541
12542int main() {
12543
12544/* The GNU C library defines this for functions which it implements
12545 to always fail with ENOSYS. Some functions are actually named
12546 something starting with __ and the normal name is an alias. */
12547#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
12548choke me
12549#else
12550gethostbyname();
12551#endif
12552
12553; return 0; }
12554EOF
12555if { (eval echo configure:12556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12556 rm -rf conftest*
12557 eval "ac_cv_func_gethostbyname=yes"
12558else
12559 echo "configure: failed program was:" >&5
12560 cat conftest.$ac_ext >&5
12561 rm -rf conftest*
12562 eval "ac_cv_func_gethostbyname=no"
12563fi
12564rm -f conftest*
12565fi
12566
12567if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
12568 echo "$ac_t""yes" 1>&6
12569 :
12570else
12571 echo "$ac_t""no" 1>&6
12572fi
12573
12574 if test $ac_cv_func_gethostbyname = no; then
12575 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
12576echo "configure:12577: checking for gethostbyname in -lnsl" >&5
12577ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
12578if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12579 echo $ac_n "(cached) $ac_c" 1>&6
12580else
12581 ac_save_LIBS="$LIBS"
12582LIBS="-lnsl $LIBS"
12583cat > conftest.$ac_ext <<EOF
12584#line 12585 "configure"
12585#include "confdefs.h"
12586/* Override any gcc2 internal prototype to avoid an error. */
12587/* We use char because int might match the return type of a gcc2
12588 builtin and then its argument prototype would still apply. */
12589char gethostbyname();
12590
12591int main() {
12592gethostbyname()
12593; return 0; }
12594EOF
12595if { (eval echo configure:12596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12596 rm -rf conftest*
12597 eval "ac_cv_lib_$ac_lib_var=yes"
12598else
12599 echo "configure: failed program was:" >&5
12600 cat conftest.$ac_ext >&5
12601 rm -rf conftest*
12602 eval "ac_cv_lib_$ac_lib_var=no"
12603fi
12604rm -f conftest*
12605LIBS="$ac_save_LIBS"
12606
12607fi
12608if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12609 echo "$ac_t""yes" 1>&6
12610 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
12611else
12612 echo "$ac_t""no" 1>&6
12613fi
12614
12615 fi
12616
12617 # lieder@skyler.mavd.honeywell.com says without -lsocket,
12618 # socket/setsockopt and other routines are undefined under SCO ODT
12619 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
12620 # on later versions), says simon@lia.di.epfl.ch: it contains
12621 # gethostby* variants that don't use the nameserver (or something).
12622 # -lsocket must be given before -lnsl if both are needed.
12623 # We assume that if connect needs -lnsl, so does gethostbyname.
12624 echo $ac_n "checking for connect""... $ac_c" 1>&6
12625echo "configure:12626: checking for connect" >&5
12626if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
12627 echo $ac_n "(cached) $ac_c" 1>&6
12628else
12629 cat > conftest.$ac_ext <<EOF
12630#line 12631 "configure"
12631#include "confdefs.h"
12632/* System header to define __stub macros and hopefully few prototypes,
12633 which can conflict with char connect(); below. */
12634#include <assert.h>
12635/* Override any gcc2 internal prototype to avoid an error. */
12636/* We use char because int might match the return type of a gcc2
12637 builtin and then its argument prototype would still apply. */
12638char connect();
12639
12640int main() {
12641
12642/* The GNU C library defines this for functions which it implements
12643 to always fail with ENOSYS. Some functions are actually named
12644 something starting with __ and the normal name is an alias. */
12645#if defined (__stub_connect) || defined (__stub___connect)
12646choke me
12647#else
12648connect();
12649#endif
12650
12651; return 0; }
12652EOF
12653if { (eval echo configure:12654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12654 rm -rf conftest*
12655 eval "ac_cv_func_connect=yes"
12656else
12657 echo "configure: failed program was:" >&5
12658 cat conftest.$ac_ext >&5
12659 rm -rf conftest*
12660 eval "ac_cv_func_connect=no"
12661fi
12662rm -f conftest*
12663fi
12664
12665if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
12666 echo "$ac_t""yes" 1>&6
12667 :
12668else
12669 echo "$ac_t""no" 1>&6
12670fi
12671
12672 if test $ac_cv_func_connect = no; then
12673 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
12674echo "configure:12675: checking for connect in -lsocket" >&5
12675ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
12676if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12677 echo $ac_n "(cached) $ac_c" 1>&6
12678else
12679 ac_save_LIBS="$LIBS"
12680LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
12681cat > conftest.$ac_ext <<EOF
12682#line 12683 "configure"
12683#include "confdefs.h"
12684/* Override any gcc2 internal prototype to avoid an error. */
12685/* We use char because int might match the return type of a gcc2
12686 builtin and then its argument prototype would still apply. */
12687char connect();
12688
12689int main() {
12690connect()
12691; return 0; }
12692EOF
12693if { (eval echo configure:12694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12694 rm -rf conftest*
12695 eval "ac_cv_lib_$ac_lib_var=yes"
12696else
12697 echo "configure: failed program was:" >&5
12698 cat conftest.$ac_ext >&5
12699 rm -rf conftest*
12700 eval "ac_cv_lib_$ac_lib_var=no"
12701fi
12702rm -f conftest*
12703LIBS="$ac_save_LIBS"
12704
12705fi
12706if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12707 echo "$ac_t""yes" 1>&6
12708 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
12709else
12710 echo "$ac_t""no" 1>&6
12711fi
12712
12713 fi
12714
12715 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
12716 echo $ac_n "checking for remove""... $ac_c" 1>&6
12717echo "configure:12718: checking for remove" >&5
12718if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
12719 echo $ac_n "(cached) $ac_c" 1>&6
12720else
12721 cat > conftest.$ac_ext <<EOF
12722#line 12723 "configure"
12723#include "confdefs.h"
12724/* System header to define __stub macros and hopefully few prototypes,
12725 which can conflict with char remove(); below. */
12726#include <assert.h>
12727/* Override any gcc2 internal prototype to avoid an error. */
12728/* We use char because int might match the return type of a gcc2
12729 builtin and then its argument prototype would still apply. */
12730char remove();
12731
12732int main() {
12733
12734/* The GNU C library defines this for functions which it implements
12735 to always fail with ENOSYS. Some functions are actually named
12736 something starting with __ and the normal name is an alias. */
12737#if defined (__stub_remove) || defined (__stub___remove)
12738choke me
12739#else
12740remove();
12741#endif
12742
12743; return 0; }
12744EOF
12745if { (eval echo configure:12746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12746 rm -rf conftest*
12747 eval "ac_cv_func_remove=yes"
12748else
12749 echo "configure: failed program was:" >&5
12750 cat conftest.$ac_ext >&5
12751 rm -rf conftest*
12752 eval "ac_cv_func_remove=no"
12753fi
12754rm -f conftest*
12755fi
12756
12757if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
12758 echo "$ac_t""yes" 1>&6
12759 :
12760else
12761 echo "$ac_t""no" 1>&6
12762fi
12763
12764 if test $ac_cv_func_remove = no; then
12765 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
12766echo "configure:12767: checking for remove in -lposix" >&5
12767ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
12768if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12769 echo $ac_n "(cached) $ac_c" 1>&6
12770else
12771 ac_save_LIBS="$LIBS"
12772LIBS="-lposix $LIBS"
12773cat > conftest.$ac_ext <<EOF
12774#line 12775 "configure"
12775#include "confdefs.h"
12776/* Override any gcc2 internal prototype to avoid an error. */
12777/* We use char because int might match the return type of a gcc2
12778 builtin and then its argument prototype would still apply. */
12779char remove();
12780
12781int main() {
12782remove()
12783; return 0; }
12784EOF
12785if { (eval echo configure:12786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12786 rm -rf conftest*
12787 eval "ac_cv_lib_$ac_lib_var=yes"
12788else
12789 echo "configure: failed program was:" >&5
12790 cat conftest.$ac_ext >&5
12791 rm -rf conftest*
12792 eval "ac_cv_lib_$ac_lib_var=no"
12793fi
12794rm -f conftest*
12795LIBS="$ac_save_LIBS"
12796
12797fi
12798if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12799 echo "$ac_t""yes" 1>&6
12800 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
12801else
12802 echo "$ac_t""no" 1>&6
12803fi
12804
12805 fi
12806
12807 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12808 echo $ac_n "checking for shmat""... $ac_c" 1>&6
12809echo "configure:12810: checking for shmat" >&5
12810if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12811 echo $ac_n "(cached) $ac_c" 1>&6
12812else
12813 cat > conftest.$ac_ext <<EOF
12814#line 12815 "configure"
12815#include "confdefs.h"
12816/* System header to define __stub macros and hopefully few prototypes,
12817 which can conflict with char shmat(); below. */
12818#include <assert.h>
12819/* Override any gcc2 internal prototype to avoid an error. */
12820/* We use char because int might match the return type of a gcc2
12821 builtin and then its argument prototype would still apply. */
12822char shmat();
12823
12824int main() {
12825
12826/* The GNU C library defines this for functions which it implements
12827 to always fail with ENOSYS. Some functions are actually named
12828 something starting with __ and the normal name is an alias. */
12829#if defined (__stub_shmat) || defined (__stub___shmat)
12830choke me
12831#else
12832shmat();
12833#endif
12834
12835; return 0; }
12836EOF
12837if { (eval echo configure:12838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12838 rm -rf conftest*
12839 eval "ac_cv_func_shmat=yes"
12840else
12841 echo "configure: failed program was:" >&5
12842 cat conftest.$ac_ext >&5
12843 rm -rf conftest*
12844 eval "ac_cv_func_shmat=no"
12845fi
12846rm -f conftest*
12847fi
12848
12849if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12850 echo "$ac_t""yes" 1>&6
12851 :
12852else
12853 echo "$ac_t""no" 1>&6
12854fi
12855
12856 if test $ac_cv_func_shmat = no; then
12857 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12858echo "configure:12859: checking for shmat in -lipc" >&5
12859ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12860if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12861 echo $ac_n "(cached) $ac_c" 1>&6
12862else
12863 ac_save_LIBS="$LIBS"
12864LIBS="-lipc $LIBS"
12865cat > conftest.$ac_ext <<EOF
12866#line 12867 "configure"
12867#include "confdefs.h"
12868/* Override any gcc2 internal prototype to avoid an error. */
12869/* We use char because int might match the return type of a gcc2
12870 builtin and then its argument prototype would still apply. */
12871char shmat();
12872
12873int main() {
12874shmat()
12875; return 0; }
12876EOF
12877if { (eval echo configure:12878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12878 rm -rf conftest*
12879 eval "ac_cv_lib_$ac_lib_var=yes"
12880else
12881 echo "configure: failed program was:" >&5
12882 cat conftest.$ac_ext >&5
12883 rm -rf conftest*
12884 eval "ac_cv_lib_$ac_lib_var=no"
12885fi
12886rm -f conftest*
12887LIBS="$ac_save_LIBS"
12888
12889fi
12890if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12891 echo "$ac_t""yes" 1>&6
12892 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
12893else
12894 echo "$ac_t""no" 1>&6
12895fi
12896
12897 fi
12898 fi
12899
12900 # Check for libraries that X11R6 Xt/Xaw programs need.
12901 ac_save_LDFLAGS="$LDFLAGS"
12902 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
12903 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12904 # check for ICE first), but we must link in the order -lSM -lICE or
12905 # we get undefined symbols. So assume we have SM if we have ICE.
12906 # These have to be linked with before -lX11, unlike the other
12907 # libraries we check for below, so use a different variable.
12908 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12909 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12910echo "configure:12911: checking for IceConnectionNumber in -lICE" >&5
12911ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12912if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12913 echo $ac_n "(cached) $ac_c" 1>&6
12914else
12915 ac_save_LIBS="$LIBS"
12916LIBS="-lICE $X_EXTRA_LIBS $LIBS"
12917cat > conftest.$ac_ext <<EOF
12918#line 12919 "configure"
12919#include "confdefs.h"
12920/* Override any gcc2 internal prototype to avoid an error. */
12921/* We use char because int might match the return type of a gcc2
12922 builtin and then its argument prototype would still apply. */
12923char IceConnectionNumber();
12924
12925int main() {
12926IceConnectionNumber()
12927; return 0; }
12928EOF
12929if { (eval echo configure:12930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12930 rm -rf conftest*
12931 eval "ac_cv_lib_$ac_lib_var=yes"
12932else
12933 echo "configure: failed program was:" >&5
12934 cat conftest.$ac_ext >&5
12935 rm -rf conftest*
12936 eval "ac_cv_lib_$ac_lib_var=no"
12937fi
12938rm -f conftest*
12939LIBS="$ac_save_LIBS"
12940
12941fi
12942if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12943 echo "$ac_t""yes" 1>&6
12944 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
12945else
12946 echo "$ac_t""no" 1>&6
12947fi
12948
12949 LDFLAGS="$ac_save_LDFLAGS"
12950
12951fi
12952
12953
12954 if test "$no_x" = "yes"; then
12955 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12956 fi
12957
12958 GUI_TK_LIBRARY="$X_LIBS"
12959 TOOLKIT_INCLUDE="$X_CFLAGS"
12960 AFMINSTALL=afminstall
12961 COMPILED_X_PROGRAM=0
12962
12963 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
12964echo "configure:12965: checking for Motif/Lesstif headers" >&5
12965
12966ac_find_includes=
12967for ac_dir in $SEARCH_INCLUDE;
12968 do
12969 if test -f "$ac_dir/Xm/Xm.h"; then
12970 ac_find_includes=$ac_dir
12971 break
12972 fi
12973 done
12974
12975 if test "$ac_find_includes" != "" ; then
12976 echo "$ac_t""found $ac_find_includes" 1>&6
12977 else
12978 cat > conftest.$ac_ext <<EOF
12979#line 12980 "configure"
12980#include "confdefs.h"
12981
12982 #include <Xm/Xm.h>
12983
12984int main() {
12985
12986 int version;
12987 version = xmUseVersion;
12988
12989; return 0; }
12990EOF
12991if { (eval echo configure:12992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12992 rm -rf conftest*
12993
12994 echo "$ac_t""found in default search path" 1>&6
12995 COMPILED_X_PROGRAM=1
12996
12997else
12998 echo "configure: failed program was:" >&5
12999 cat conftest.$ac_ext >&5
13000 rm -rf conftest*
13001
13002 echo "$ac_t""no" 1>&6
13003 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
13004
13005
13006fi
13007rm -f conftest*
13008 fi
13009
13010 if test "$COMPILED_X_PROGRAM" = 0; then
13011 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
13012echo "configure:13013: checking for Motif/Lesstif library" >&5
13013
13014ac_find_libraries=
13015for ac_dir in $SEARCH_LIB;
13016 do
13017 for ac_extension in a so sl dylib; do
13018 if test -f "$ac_dir/libXm.$ac_extension"; then
13019 ac_find_libraries=$ac_dir
13020 break 2
13021 fi
13022 done
13023 done
13024
13025 if test "$ac_find_libraries" != "" ; then
13026
13027 ac_path_to_include=$ac_find_includes
13028 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
13029 result=$?
13030 if test $result = 0; then
13031 ac_path_to_include=""
13032 else
13033 ac_path_to_include=" -I$ac_find_includes"
13034 fi
13035
13036
13037 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
13038 result=$?
13039 if test $result = 0; then
13040 ac_path_to_link=""
13041 else
13042 ac_path_to_link=" -L$ac_find_libraries"
13043 fi
13044
13045
13046 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
13047 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
13048 echo "$ac_t""found at $ac_find_libraries" 1>&6
13049 else
13050 cat > conftest.$ac_ext <<EOF
13051#line 13052 "configure"
13052#include "confdefs.h"
13053
13054 #include <Xm/Xm.h>
13055
13056int main() {
13057
13058 int version;
13059 version = xmUseVersion;
13060
13061; return 0; }
13062EOF
13063if { (eval echo configure:13064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13064 rm -rf conftest*
13065
13066 echo "$ac_t""found in default search path" 1>&6
13067 COMPILED_X_PROGRAM=1
13068
13069else
13070 echo "configure: failed program was:" >&5
13071 cat conftest.$ac_ext >&5
13072 rm -rf conftest*
13073
13074 echo "$ac_t""no" 1>&6
13075 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
13076
13077
13078fi
13079rm -f conftest*
13080 fi
13081 fi
13082
13083 xpm_link=
13084 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13085echo "configure:13086: checking for Xpm library" >&5
13086
13087ac_find_libraries=
13088for ac_dir in $SEARCH_LIB;
13089 do
13090 for ac_extension in a so sl dylib; do
13091 if test -f "$ac_dir/libXpm.$ac_extension"; then
13092 ac_find_libraries=$ac_dir
13093 break 2
13094 fi
13095 done
13096 done
13097
13098 if test "$ac_find_libraries" != "" ; then
13099
13100 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
13101 result=$?
13102 if test $result = 0; then
13103 ac_path_to_link=""
13104 else
13105 ac_path_to_link=" -L$ac_find_libraries"
13106 fi
13107
13108 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
13109 xpm_link=" -lXpm"
13110 cat >> confdefs.h <<\EOF
13111#define wxHAVE_LIB_XPM 1
13112EOF
13113
13114 echo "$ac_t""found at $ac_find_libraries" 1>&6
13115 else
13116 cat > conftest.$ac_ext <<EOF
13117#line 13118 "configure"
13118#include "confdefs.h"
13119
13120 #include <X11/xpm.h>
13121
13122int main() {
13123
13124 int version;
13125 version = XpmLibraryVersion();
13126
13127; return 0; }
13128EOF
13129if { (eval echo configure:13130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13130 rm -rf conftest*
13131
13132 xpm_link=" -lXpm"
13133 cat >> confdefs.h <<\EOF
13134#define wxHAVE_LIB_XPM 1
13135EOF
13136
13137 echo "$ac_t""found in default search path" 1>&6
13138 COMPILED_X_PROGRAM=0
13139
13140else
13141 echo "configure: failed program was:" >&5
13142 cat conftest.$ac_ext >&5
13143 rm -rf conftest*
13144
13145 echo "$ac_t""no" 1>&6
13146 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13147
13148
13149fi
13150rm -f conftest*
13151 fi
13152
13153 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
13154 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
13155 TOOLKIT=MOTIF
13156 GUIDIST=MOTIF_DIST
13157 fi
13158
13159 if test "$wxUSE_MAC" = 1; then
13160 if test "$wxUSE_PRECOMP" = "yes"; then
13161 CPPFLAGS="$CPPFLAGS -cpp-precomp"
13162 fi
13163 CPPFLAGS="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
13164 CFLAGS="$CFLAGS -fpascal-strings"
13165 CXXFLAGS="$CXXFLAGS -fpascal-strings"
13166
13167 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
13168 TOOLKIT=MAC
13169 GUIDIST=MACX_DIST
13170 fi
13171
13172 if test "$wxUSE_PM" = 1; then
13173 TOOLKIT=PM
13174 GUIDIST=GTK_DIST
13175 fi
13176
13177 if test "$TOOLKIT" = "PM" ; then
13178 TOOLKIT_DIR="os2"
13179 else
13180 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
13181 fi
13182
13183 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
13184
13185 if test "$wxUSE_UNIVERSAL" = "yes"; then
13186 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
13187
13188 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
13189 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
13190
13191 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
13192 if test "$wxUSE_X11" = 1; then
13193 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
13194 else
13195 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
13196 fi
13197 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
13198 WIDGET_SET=univ
13199 else
13200 ALL_OBJECTS="\$(GUIOBJS)"
13201 ALL_SOURCES="\$(ALL_SOURCES)"
13202 ALL_HEADERS="\$(ALL_HEADERS)"
13203 fi
13204
13205 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
13206
13207 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
13208 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
13209 fi
13210
13211 if test "$wxUSE_HTML" = "yes"; then
13212 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
13213 fi
13214
13215 if test "$wxUSE_LIBJPEG" = "builtin" ; then
13216 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
13217 fi
13218 if test "$wxUSE_LIBTIFF" = "builtin" ; then
13219 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
13220 fi
13221 if test "$wxUSE_LIBPNG" = "builtin" ; then
13222 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
13223 fi
13224
13225 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
13226 DISTDIR="wx\$(TOOLKIT)"
13227else
13228 USE_GUI=0
13229
13230 TOOLKIT_DIR="base"
13231
13232 if test "$USE_WIN32" = 1 ; then
13233 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
13234 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
13235
13236 TOOLKIT="MSW"
13237 else
13238 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
13239 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
13240 fi
13241
13242 ALL_SOURCES="\$(ALL_SOURCES)"
13243 ALL_HEADERS="\$(ALL_HEADERS)"
13244
13245 PORT_FILES="\${top_srcdir}/src/files.lst"
13246
13247 GUIDIST="BASE_DIST"
13248 DISTDIR="wxBase"
13249fi
13250
13251
13252if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
13253 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
13254fi
13255
13256if test "$wxUSE_REGEX" = "builtin" ; then
13257 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
13258fi
13259if test "$wxUSE_ZLIB" = "builtin" ; then
13260 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
13261fi
13262
13263if test "$wxUSE_OPENGL" = "yes"; then
13264 if test "$wxUSE_MAC" = 1; then
13265 OPENGL_LIBS="-framework OpenGL -framework AGL"
13266 else
13267
13268 ac_safe=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
13269echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
13270echo "configure:13271: checking for GL/gl.h" >&5
13271if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13272 echo $ac_n "(cached) $ac_c" 1>&6
13273else
13274 cat > conftest.$ac_ext <<EOF
13275#line 13276 "configure"
13276#include "confdefs.h"
13277#include <GL/gl.h>
13278EOF
13279ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13280{ (eval echo configure:13281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13281ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13282if test -z "$ac_err"; then
13283 rm -rf conftest*
13284 eval "ac_cv_header_$ac_safe=yes"
13285else
13286 echo "$ac_err" >&5
13287 echo "configure: failed program was:" >&5
13288 cat conftest.$ac_ext >&5
13289 rm -rf conftest*
13290 eval "ac_cv_header_$ac_safe=no"
13291fi
13292rm -f conftest*
13293fi
13294if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13295 echo "$ac_t""yes" 1>&6
13296
13297 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
13298echo "configure:13299: checking for -lGL" >&5
13299
13300ac_find_libraries=
13301for ac_dir in $SEARCH_LIB;
13302 do
13303 for ac_extension in a so sl dylib; do
13304 if test -f "$ac_dir/libGL.$ac_extension"; then
13305 ac_find_libraries=$ac_dir
13306 break 2
13307 fi
13308 done
13309 done
13310
13311 if test "$ac_find_libraries" != "" ; then
13312
13313 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
13314 result=$?
13315 if test $result = 0; then
13316 ac_path_to_link=""
13317 else
13318 ac_path_to_link=" -L$ac_find_libraries"
13319 fi
13320
13321 if test "$ac_path_to_link" = " -L/usr/lib" ; then
13322 LDFLAGS_GL="$LDFLAGS"
13323 else
13324 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
13325 fi
13326 OPENGL_LIBS="-lGL -lGLU"
13327 echo "$ac_t""yes" 1>&6
13328 else
13329 echo "$ac_t""no" 1>&6
13330 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
13331echo "configure:13332: checking for -lMesaGL" >&5
13332
13333ac_find_libraries=
13334for ac_dir in $SEARCH_LIB;
13335 do
13336 for ac_extension in a so sl dylib; do
13337 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
13338 ac_find_libraries=$ac_dir
13339 break 2
13340 fi
13341 done
13342 done
13343
13344 if test "$ac_find_libraries" != "" ; then
13345
13346 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
13347 result=$?
13348 if test $result = 0; then
13349 ac_path_to_link=""
13350 else
13351 ac_path_to_link=" -L$ac_find_libraries"
13352 fi
13353
13354 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
13355 OPENGL_LIBS="-lMesaGL -lMesaGLU"
13356 echo "$ac_t""yes" 1>&6
13357 else
13358 echo "$ac_t""no" 1>&6
13359 fi
13360 fi
13361
13362else
13363 echo "$ac_t""no" 1>&6
13364fi
13365
13366
13367
13368# AC_CHECK_HEADER(GL/gl.h,
13369# [
13370# AC_CHECK_LIB(GL, glFlush,
13371# [
13372# OPENGL_LIBS="-lGL -lGLU"
13373# ],
13374# [
13375# AC_CHECK_LIB(MesaGL, glFlush,
13376# [
13377# OPENGL_LIBS="-lMesaGL -lMesaGLU"
13378# ],
13379# [],
13380# [-lm])
13381# ],
13382# [-lm])
13383# ])
13384
13385 if test "x$OPENGL_LIBS" = "x"; then
13386 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
13387 fi
13388 fi
13389
13390 if test "$wxUSE_OPENGL" = "yes"; then
13391 cat >> confdefs.h <<\EOF
13392#define wxUSE_OPENGL 1
13393EOF
13394
13395 cat >> confdefs.h <<\EOF
13396#define wxUSE_GLCANVAS 1
13397EOF
13398
13399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
13400 fi
13401fi
13402
13403if test -z "$TOOLKIT_VPATH" ; then
13404 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
13405fi
13406
13407if test -n "$TOOLKIT" ; then
13408 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
13409fi
13410
13411lib_unicode_suffix=
13412if test "$wxUSE_UNICODE" = "yes"; then
13413 lib_unicode_suffix=u
13414fi
13415
13416lib_debug_suffix=
13417if test "$wxUSE_DEBUG_FLAG" = "yes"; then
13418 lib_debug_suffix=d
13419fi
13420
13421TOOLCHAIN_NAME="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
13422TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
13423
13424if test "$cross_compiling" = "yes"; then
13425 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
13426 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
13427fi
13428
13429WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
13430WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
13431
13432WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
13433WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
13434
13435WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
13436WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
13437WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
13438WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
13439
13440WX_RESOURCES_MACOSX="lib${WX_LIBRARY}.rsrc"
13441WX_RESOURCES_MACOSX_COMPILED="lib${WX_LIBRARY}.r"
13442
13443case "${host}" in
13444 *-*-cygwin* | *-*-mingw32* )
13445
13446
13447
13448 if test "$cross_compiling" != "yes"; then
13449 WX_LIBRARY="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
13450 WX_LIBRARY_GL="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
13451 WX_LIBRARY_NAME_SHARED="${WX_LIBRARY}.${SO_SUFFIX}"
13452 WX_LIBRARY_NAME_SHARED_GL="${WX_LIBRARY_GL}.${SO_SUFFIX}"
13453 else
13454 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
13455 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
13456 fi
13457
13458esac
13459
13460WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
13461WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
13462
13463WXCONFIG_LIBS="-l${WX_LIBRARY}"
13464WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
13465
13466if test "$wxUSE_OPENGL" = "yes"; then
13467 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
13468 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
13469fi
13470
13471
13472
13473if test "$wxUSE_SHARED" = "yes"; then
13474 case "${host}" in
13475 *-pc-os2_emx | *-pc-os2-emx | \
13476 *-pc-msdosdjgpp )
13477 wxUSE_SHARED=no
13478 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
13479 ;;
13480 esac
13481fi
13482
13483if test "$wxUSE_SHARED" = "yes"; then
13484
13485 if test "$wxUSE_OPENGL" = "yes"; then
13486 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
13487 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
13488 else
13489 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
13490 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1}"
13491 fi
13492
13493 if test "$GCC" = "yes"; then
13494 PIC_FLAG="-fPIC"
13495 fi
13496
13497 SHARED_LD="${CXX} -shared -o"
13498
13499 case "${host}" in
13500 *-hp-hpux* )
13501 if test "$GCC" == "yes"; then
13502 SHARED_LD="${SHARED_LD} ${PIC_FLAG}"
13503 else
13504 LDFLAGS="$LDFLAGS -L/usr/lib"
13505
13506 SHARED_LD="${CXX} -b -o"
13507 PIC_FLAG="+Z"
13508 fi
13509
13510 if test "$wxUSE_OPENGL" = "yes"; then
13511 WX_ALL_INSTALLED="preinstall_gl"
13512 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
13513 else
13514 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
13515 fi
13516 ;;
13517
13518 *-*-linux* )
13519 if test "$GCC" != "yes"; then
13520 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
13521echo "configure:13522: checking for Intel compiler" >&5
13522if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
13523 echo $ac_n "(cached) $ac_c" 1>&6
13524else
13525
13526 cat > conftest.$ac_ext <<EOF
13527#line 13528 "configure"
13528#include "confdefs.h"
13529
13530int main() {
13531
13532 #ifndef __INTEL_COMPILER
13533 #error Not icc
13534 #endif
13535
13536; return 0; }
13537EOF
13538if { (eval echo configure:13539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13539 rm -rf conftest*
13540 wx_cv_prog_icc=yes
13541else
13542 echo "configure: failed program was:" >&5
13543 cat conftest.$ac_ext >&5
13544 rm -rf conftest*
13545 wx_cv_prog_icc=no
13546
13547fi
13548rm -f conftest*
13549
13550fi
13551
13552echo "$ac_t""$wx_cv_prog_icc" 1>&6
13553 if test "$wx_cv_prog_icc" = "yes"; then
13554 PIC_FLAG="-KPIC"
13555 fi
13556 fi
13557
13558 if test "$wxUSE_SONAME" = "yes" ; then
13559 SONAME_FLAGS="-Wl,-soname,${WX_LIBRARY_LINK1}"
13560 SONAME_FLAGS_GL="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
13561 WX_TARGET_LIBRARY_SONAME="-Wl,-soname,\$(TARGETLIB_LINK1)"
13562 fi
13563 ;;
13564
13565 *-*-solaris2* )
13566 if test "$GCC" = yes ; then
13567 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
13568 else
13569 SHARED_LD="${CXX} -G -o"
13570 PIC_FLAG="-KPIC"
13571 SONAME_FLAGS="-h ${WX_LIBRARY_NAME_SHARED}"
13572 SONAME_FLAGS_GL="-h ${WX_LIBRARY_NAME_SHARED_GL}"
13573 fi
13574 ;;
13575
13576 *-*-darwin* )
13577 CFLAGS="$CFLAGS -fno-common -DDYLIB_INIT"
13578 CXXFLAGS="$CXXFLAGS -fno-common -DDYLIB_INIT"
13579 SHARED_LD="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
13580 PIC_FLAG="-dynamic -fPIC"
13581 SONAME_FLAGS="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"
13582 SONAME_FLAGS_GL=${SONAME_FLAGS}
13583 ;;
13584
13585 *-*-aix* )
13586 SHARED_LD="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
13587 ;;
13588
13589 *-*-cygwin* | *-*-mingw32* )
13590
13591 WX_LIBRARY_IMPORTLIB="${WX_LIBRARY_NAME_SHARED}.a"
13592
13593 SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
13594 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
13595
13596 PIC_FLAG="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
13597
13598 if test "$wxUSE_OPENGL" = "yes"; then
13599 WX_ALL_INSTALLED="preinstall_gl"
13600 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
13601 else
13602 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
13603 fi
13604 ;;
13605
13606 *-*-beos* )
13607 SHARED_LD="${LD} -shared -o"
13608 ;;
13609
13610 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
13611 *-*-sunos4* | \
13612 *-*-irix5* | *-*-irix6* | \
13613 *-*-osf* | \
13614 *-*-dgux5* | \
13615 *-*-sysv5* )
13616 ;;
13617
13618 *)
13619 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
13620 esac
13621
13622 if test "x$WX_TARGET_LIBRARY" = "x"; then
13623 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
13624 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
13625 fi
13626
13627 WX_TARGET_LIBRARY_TYPE="so"
13628 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
13629fi
13630
13631if test "$wxUSE_SHARED" = "no"; then
13632
13633 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
13634 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
13635 fi
13636
13637 if test "$wxUSE_MAC" = 1; then
13638 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
13639 fi
13640
13641 if test "$wxUSE_OPENGL" = "yes"; then
13642 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
13643 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
13644 else
13645 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
13646 fi
13647
13648 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
13649 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
13650
13651 WX_TARGET_LIBRARY_TYPE="a"
13652 INSTALL_LIBRARY='$(INSTALL_DATA)'
13653fi
13654
13655if test "$wxUSE_MAC" = 1; then
13656 WX_ALL="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
13657 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
13658 # Extract the first word of "Rez", so it can be a program name with args.
13659set dummy Rez; ac_word=$2
13660echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13661echo "configure:13662: checking for $ac_word" >&5
13662if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
13663 echo $ac_n "(cached) $ac_c" 1>&6
13664else
13665 if test -n "$RESCOMP"; then
13666 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
13667else
13668 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
13669 ac_dummy="$PATH"
13670 for ac_dir in $ac_dummy; do
13671 test -z "$ac_dir" && ac_dir=.
13672 if test -f $ac_dir/$ac_word; then
13673 ac_cv_prog_RESCOMP="Rez"
13674 break
13675 fi
13676 done
13677 IFS="$ac_save_ifs"
13678 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
13679fi
13680fi
13681RESCOMP="$ac_cv_prog_RESCOMP"
13682if test -n "$RESCOMP"; then
13683 echo "$ac_t""$RESCOMP" 1>&6
13684else
13685 echo "$ac_t""no" 1>&6
13686fi
13687
13688 # Extract the first word of "DeRez", so it can be a program name with args.
13689set dummy DeRez; ac_word=$2
13690echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13691echo "configure:13692: checking for $ac_word" >&5
13692if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
13693 echo $ac_n "(cached) $ac_c" 1>&6
13694else
13695 if test -n "$DEREZ"; then
13696 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
13697else
13698 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
13699 ac_dummy="$PATH"
13700 for ac_dir in $ac_dummy; do
13701 test -z "$ac_dir" && ac_dir=.
13702 if test -f $ac_dir/$ac_word; then
13703 ac_cv_prog_DEREZ="DeRez"
13704 break
13705 fi
13706 done
13707 IFS="$ac_save_ifs"
13708 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
13709fi
13710fi
13711DEREZ="$ac_cv_prog_DEREZ"
13712if test -n "$DEREZ"; then
13713 echo "$ac_t""$DEREZ" 1>&6
13714else
13715 echo "$ac_t""no" 1>&6
13716fi
13717
13718 MACOSX_BUNDLE="bundle"
13719 LIBWXMACRES="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
13720 LIBWXMACRESCOMP="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
13721 LIBWXMACRESWXCONFIG="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
13722else
13723 if test "$wxUSE_PM" = 1; then
13724 LIBWXMACRESCOMP="emxbind -ep \$(BIN_PROGRAM)"
13725 fi
13726fi
13727
13728
13729if test "$wxUSE_MAC" != 1; then
13730 for ac_hdr in strings.h
13731do
13732ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13733echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13734echo "configure:13735: checking for $ac_hdr" >&5
13735if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13736 echo $ac_n "(cached) $ac_c" 1>&6
13737else
13738 cat > conftest.$ac_ext <<EOF
13739#line 13740 "configure"
13740#include "confdefs.h"
13741#include <$ac_hdr>
13742EOF
13743ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13744{ (eval echo configure:13745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13745ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13746if test -z "$ac_err"; then
13747 rm -rf conftest*
13748 eval "ac_cv_header_$ac_safe=yes"
13749else
13750 echo "$ac_err" >&5
13751 echo "configure: failed program was:" >&5
13752 cat conftest.$ac_ext >&5
13753 rm -rf conftest*
13754 eval "ac_cv_header_$ac_safe=no"
13755fi
13756rm -f conftest*
13757fi
13758if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13759 echo "$ac_t""yes" 1>&6
13760 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13761 cat >> confdefs.h <<EOF
13762#define $ac_tr_hdr 1
13763EOF
13764
13765else
13766 echo "$ac_t""no" 1>&6
13767fi
13768done
13769
13770fi
13771
13772for ac_hdr in stdlib.h
13773do
13774ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13775echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13776echo "configure:13777: checking for $ac_hdr" >&5
13777if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13778 echo $ac_n "(cached) $ac_c" 1>&6
13779else
13780 cat > conftest.$ac_ext <<EOF
13781#line 13782 "configure"
13782#include "confdefs.h"
13783#include <$ac_hdr>
13784EOF
13785ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13786{ (eval echo configure:13787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13787ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13788if test -z "$ac_err"; then
13789 rm -rf conftest*
13790 eval "ac_cv_header_$ac_safe=yes"
13791else
13792 echo "$ac_err" >&5
13793 echo "configure: failed program was:" >&5
13794 cat conftest.$ac_ext >&5
13795 rm -rf conftest*
13796 eval "ac_cv_header_$ac_safe=no"
13797fi
13798rm -f conftest*
13799fi
13800if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13801 echo "$ac_t""yes" 1>&6
13802 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13803 cat >> confdefs.h <<EOF
13804#define $ac_tr_hdr 1
13805EOF
13806
13807else
13808 echo "$ac_t""no" 1>&6
13809fi
13810done
13811
13812for ac_hdr in malloc.h
13813do
13814ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13815echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13816echo "configure:13817: checking for $ac_hdr" >&5
13817if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13818 echo $ac_n "(cached) $ac_c" 1>&6
13819else
13820 cat > conftest.$ac_ext <<EOF
13821#line 13822 "configure"
13822#include "confdefs.h"
13823#include <$ac_hdr>
13824EOF
13825ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13826{ (eval echo configure:13827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13827ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13828if test -z "$ac_err"; then
13829 rm -rf conftest*
13830 eval "ac_cv_header_$ac_safe=yes"
13831else
13832 echo "$ac_err" >&5
13833 echo "configure: failed program was:" >&5
13834 cat conftest.$ac_ext >&5
13835 rm -rf conftest*
13836 eval "ac_cv_header_$ac_safe=no"
13837fi
13838rm -f conftest*
13839fi
13840if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13841 echo "$ac_t""yes" 1>&6
13842 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13843 cat >> confdefs.h <<EOF
13844#define $ac_tr_hdr 1
13845EOF
13846
13847else
13848 echo "$ac_t""no" 1>&6
13849fi
13850done
13851
13852for ac_hdr in unistd.h
13853do
13854ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13855echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13856echo "configure:13857: checking for $ac_hdr" >&5
13857if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13858 echo $ac_n "(cached) $ac_c" 1>&6
13859else
13860 cat > conftest.$ac_ext <<EOF
13861#line 13862 "configure"
13862#include "confdefs.h"
13863#include <$ac_hdr>
13864EOF
13865ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13866{ (eval echo configure:13867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13867ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13868if test -z "$ac_err"; then
13869 rm -rf conftest*
13870 eval "ac_cv_header_$ac_safe=yes"
13871else
13872 echo "$ac_err" >&5
13873 echo "configure: failed program was:" >&5
13874 cat conftest.$ac_ext >&5
13875 rm -rf conftest*
13876 eval "ac_cv_header_$ac_safe=no"
13877fi
13878rm -f conftest*
13879fi
13880if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13881 echo "$ac_t""yes" 1>&6
13882 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13883 cat >> confdefs.h <<EOF
13884#define $ac_tr_hdr 1
13885EOF
13886
13887else
13888 echo "$ac_t""no" 1>&6
13889fi
13890done
13891
13892for ac_hdr in wchar.h
13893do
13894ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13895echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13896echo "configure:13897: checking for $ac_hdr" >&5
13897if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13898 echo $ac_n "(cached) $ac_c" 1>&6
13899else
13900 cat > conftest.$ac_ext <<EOF
13901#line 13902 "configure"
13902#include "confdefs.h"
13903#include <$ac_hdr>
13904EOF
13905ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13906{ (eval echo configure:13907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13907ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13908if test -z "$ac_err"; then
13909 rm -rf conftest*
13910 eval "ac_cv_header_$ac_safe=yes"
13911else
13912 echo "$ac_err" >&5
13913 echo "configure: failed program was:" >&5
13914 cat conftest.$ac_ext >&5
13915 rm -rf conftest*
13916 eval "ac_cv_header_$ac_safe=no"
13917fi
13918rm -f conftest*
13919fi
13920if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13921 echo "$ac_t""yes" 1>&6
13922 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13923 cat >> confdefs.h <<EOF
13924#define $ac_tr_hdr 1
13925EOF
13926
13927else
13928 echo "$ac_t""no" 1>&6
13929fi
13930done
13931
13932
13933if test "$ac_cv_header_wchar_h" != "yes"; then
13934 for ac_hdr in wcstr.h
13935do
13936ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13937echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13938echo "configure:13939: checking for $ac_hdr" >&5
13939if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13940 echo $ac_n "(cached) $ac_c" 1>&6
13941else
13942 cat > conftest.$ac_ext <<EOF
13943#line 13944 "configure"
13944#include "confdefs.h"
13945#include <$ac_hdr>
13946EOF
13947ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13948{ (eval echo configure:13949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13949ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13950if test -z "$ac_err"; then
13951 rm -rf conftest*
13952 eval "ac_cv_header_$ac_safe=yes"
13953else
13954 echo "$ac_err" >&5
13955 echo "configure: failed program was:" >&5
13956 cat conftest.$ac_ext >&5
13957 rm -rf conftest*
13958 eval "ac_cv_header_$ac_safe=no"
13959fi
13960rm -f conftest*
13961fi
13962if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13963 echo "$ac_t""yes" 1>&6
13964 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13965 cat >> confdefs.h <<EOF
13966#define $ac_tr_hdr 1
13967EOF
13968
13969else
13970 echo "$ac_t""no" 1>&6
13971fi
13972done
13973
13974fi
13975
13976
13977for ac_hdr in fnmatch.h
13978do
13979ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13980echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13981echo "configure:13982: checking for $ac_hdr" >&5
13982if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13983 echo $ac_n "(cached) $ac_c" 1>&6
13984else
13985 cat > conftest.$ac_ext <<EOF
13986#line 13987 "configure"
13987#include "confdefs.h"
13988#include <$ac_hdr>
13989EOF
13990ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13991{ (eval echo configure:13992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13992ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13993if test -z "$ac_err"; then
13994 rm -rf conftest*
13995 eval "ac_cv_header_$ac_safe=yes"
13996else
13997 echo "$ac_err" >&5
13998 echo "configure: failed program was:" >&5
13999 cat conftest.$ac_ext >&5
14000 rm -rf conftest*
14001 eval "ac_cv_header_$ac_safe=no"
14002fi
14003rm -f conftest*
14004fi
14005if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14006 echo "$ac_t""yes" 1>&6
14007 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14008 cat >> confdefs.h <<EOF
14009#define $ac_tr_hdr 1
14010EOF
14011
14012else
14013 echo "$ac_t""no" 1>&6
14014fi
14015done
14016
14017for ac_hdr in langinfo.h
14018do
14019ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14020echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14021echo "configure:14022: checking for $ac_hdr" >&5
14022if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14023 echo $ac_n "(cached) $ac_c" 1>&6
14024else
14025 cat > conftest.$ac_ext <<EOF
14026#line 14027 "configure"
14027#include "confdefs.h"
14028#include <$ac_hdr>
14029EOF
14030ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14031{ (eval echo configure:14032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14032ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14033if test -z "$ac_err"; then
14034 rm -rf conftest*
14035 eval "ac_cv_header_$ac_safe=yes"
14036else
14037 echo "$ac_err" >&5
14038 echo "configure: failed program was:" >&5
14039 cat conftest.$ac_ext >&5
14040 rm -rf conftest*
14041 eval "ac_cv_header_$ac_safe=no"
14042fi
14043rm -f conftest*
14044fi
14045if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14046 echo "$ac_t""yes" 1>&6
14047 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14048 cat >> confdefs.h <<EOF
14049#define $ac_tr_hdr 1
14050EOF
14051
14052else
14053 echo "$ac_t""no" 1>&6
14054fi
14055done
14056
14057
14058if test "$wxUSE_GUI" = "yes"; then
14059 if test "$wxUSE_UNIX" = "yes"; then
14060 for ac_hdr in X11/XKBlib.h
14061do
14062ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14063echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14064echo "configure:14065: checking for $ac_hdr" >&5
14065if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14066 echo $ac_n "(cached) $ac_c" 1>&6
14067else
14068 cat > conftest.$ac_ext <<EOF
14069#line 14070 "configure"
14070#include "confdefs.h"
14071#include <$ac_hdr>
14072EOF
14073ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14074{ (eval echo configure:14075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14075ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14076if test -z "$ac_err"; then
14077 rm -rf conftest*
14078 eval "ac_cv_header_$ac_safe=yes"
14079else
14080 echo "$ac_err" >&5
14081 echo "configure: failed program was:" >&5
14082 cat conftest.$ac_ext >&5
14083 rm -rf conftest*
14084 eval "ac_cv_header_$ac_safe=no"
14085fi
14086rm -f conftest*
14087fi
14088if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14089 echo "$ac_t""yes" 1>&6
14090 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14091 cat >> confdefs.h <<EOF
14092#define $ac_tr_hdr 1
14093EOF
14094
14095else
14096 echo "$ac_t""no" 1>&6
14097fi
14098done
14099
14100 fi
14101fi
14102
14103
14104echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
14105echo "configure:14106: checking for ANSI C header files" >&5
14106if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
14107 echo $ac_n "(cached) $ac_c" 1>&6
14108else
14109 cat > conftest.$ac_ext <<EOF
14110#line 14111 "configure"
14111#include "confdefs.h"
14112#include <stdlib.h>
14113#include <stdarg.h>
14114#include <string.h>
14115#include <float.h>
14116EOF
14117ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14118{ (eval echo configure:14119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14119ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14120if test -z "$ac_err"; then
14121 rm -rf conftest*
14122 ac_cv_header_stdc=yes
14123else
14124 echo "$ac_err" >&5
14125 echo "configure: failed program was:" >&5
14126 cat conftest.$ac_ext >&5
14127 rm -rf conftest*
14128 ac_cv_header_stdc=no
14129fi
14130rm -f conftest*
14131
14132if test $ac_cv_header_stdc = yes; then
14133 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14134cat > conftest.$ac_ext <<EOF
14135#line 14136 "configure"
14136#include "confdefs.h"
14137#include <string.h>
14138EOF
14139if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14140 egrep "memchr" >/dev/null 2>&1; then
14141 :
14142else
14143 rm -rf conftest*
14144 ac_cv_header_stdc=no
14145fi
14146rm -f conftest*
14147
14148fi
14149
14150if test $ac_cv_header_stdc = yes; then
14151 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14152cat > conftest.$ac_ext <<EOF
14153#line 14154 "configure"
14154#include "confdefs.h"
14155#include <stdlib.h>
14156EOF
14157if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14158 egrep "free" >/dev/null 2>&1; then
14159 :
14160else
14161 rm -rf conftest*
14162 ac_cv_header_stdc=no
14163fi
14164rm -f conftest*
14165
14166fi
14167
14168if test $ac_cv_header_stdc = yes; then
14169 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14170if test "$cross_compiling" = yes; then
14171 :
14172else
14173 cat > conftest.$ac_ext <<EOF
14174#line 14175 "configure"
14175#include "confdefs.h"
14176#include <ctype.h>
14177#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14178#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14179#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14180int main () { int i; for (i = 0; i < 256; i++)
14181if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
14182exit (0); }
14183
14184EOF
14185if { (eval echo configure:14186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14186then
14187 :
14188else
14189 echo "configure: failed program was:" >&5
14190 cat conftest.$ac_ext >&5
14191 rm -fr conftest*
14192 ac_cv_header_stdc=no
14193fi
14194rm -fr conftest*
14195fi
14196
14197fi
14198fi
14199
14200echo "$ac_t""$ac_cv_header_stdc" 1>&6
14201if test $ac_cv_header_stdc = yes; then
14202 cat >> confdefs.h <<\EOF
14203#define STDC_HEADERS 1
14204EOF
14205
14206fi
14207
14208echo $ac_n "checking for mode_t""... $ac_c" 1>&6
14209echo "configure:14210: checking for mode_t" >&5
14210if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
14211 echo $ac_n "(cached) $ac_c" 1>&6
14212else
14213 cat > conftest.$ac_ext <<EOF
14214#line 14215 "configure"
14215#include "confdefs.h"
14216#include <sys/types.h>
14217#if STDC_HEADERS
14218#include <stdlib.h>
14219#include <stddef.h>
14220#endif
14221EOF
14222if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14223 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
14224 rm -rf conftest*
14225 ac_cv_type_mode_t=yes
14226else
14227 rm -rf conftest*
14228 ac_cv_type_mode_t=no
14229fi
14230rm -f conftest*
14231
14232fi
14233echo "$ac_t""$ac_cv_type_mode_t" 1>&6
14234if test $ac_cv_type_mode_t = no; then
14235 cat >> confdefs.h <<\EOF
14236#define mode_t int
14237EOF
14238
14239fi
14240
14241echo $ac_n "checking for off_t""... $ac_c" 1>&6
14242echo "configure:14243: checking for off_t" >&5
14243if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
14244 echo $ac_n "(cached) $ac_c" 1>&6
14245else
14246 cat > conftest.$ac_ext <<EOF
14247#line 14248 "configure"
14248#include "confdefs.h"
14249#include <sys/types.h>
14250#if STDC_HEADERS
14251#include <stdlib.h>
14252#include <stddef.h>
14253#endif
14254EOF
14255if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14256 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
14257 rm -rf conftest*
14258 ac_cv_type_off_t=yes
14259else
14260 rm -rf conftest*
14261 ac_cv_type_off_t=no
14262fi
14263rm -f conftest*
14264
14265fi
14266echo "$ac_t""$ac_cv_type_off_t" 1>&6
14267if test $ac_cv_type_off_t = no; then
14268 cat >> confdefs.h <<\EOF
14269#define off_t long
14270EOF
14271
14272fi
14273
14274echo $ac_n "checking for pid_t""... $ac_c" 1>&6
14275echo "configure:14276: checking for pid_t" >&5
14276if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
14277 echo $ac_n "(cached) $ac_c" 1>&6
14278else
14279 cat > conftest.$ac_ext <<EOF
14280#line 14281 "configure"
14281#include "confdefs.h"
14282#include <sys/types.h>
14283#if STDC_HEADERS
14284#include <stdlib.h>
14285#include <stddef.h>
14286#endif
14287EOF
14288if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14289 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
14290 rm -rf conftest*
14291 ac_cv_type_pid_t=yes
14292else
14293 rm -rf conftest*
14294 ac_cv_type_pid_t=no
14295fi
14296rm -f conftest*
14297
14298fi
14299echo "$ac_t""$ac_cv_type_pid_t" 1>&6
14300if test $ac_cv_type_pid_t = no; then
14301 cat >> confdefs.h <<\EOF
14302#define pid_t int
14303EOF
14304
14305fi
14306
14307echo $ac_n "checking for size_t""... $ac_c" 1>&6
14308echo "configure:14309: checking for size_t" >&5
14309if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
14310 echo $ac_n "(cached) $ac_c" 1>&6
14311else
14312 cat > conftest.$ac_ext <<EOF
14313#line 14314 "configure"
14314#include "confdefs.h"
14315#include <sys/types.h>
14316#if STDC_HEADERS
14317#include <stdlib.h>
14318#include <stddef.h>
14319#endif
14320EOF
14321if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14322 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
14323 rm -rf conftest*
14324 ac_cv_type_size_t=yes
14325else
14326 rm -rf conftest*
14327 ac_cv_type_size_t=no
14328fi
14329rm -f conftest*
14330
14331fi
14332echo "$ac_t""$ac_cv_type_size_t" 1>&6
14333if test $ac_cv_type_size_t = no; then
14334 cat >> confdefs.h <<\EOF
14335#define size_t unsigned
14336EOF
14337
14338fi
14339
14340echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
14341echo "configure:14342: checking for uid_t in sys/types.h" >&5
14342if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
14343 echo $ac_n "(cached) $ac_c" 1>&6
14344else
14345 cat > conftest.$ac_ext <<EOF
14346#line 14347 "configure"
14347#include "confdefs.h"
14348#include <sys/types.h>
14349EOF
14350if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14351 egrep "uid_t" >/dev/null 2>&1; then
14352 rm -rf conftest*
14353 ac_cv_type_uid_t=yes
14354else
14355 rm -rf conftest*
14356 ac_cv_type_uid_t=no
14357fi
14358rm -f conftest*
14359
14360fi
14361
14362echo "$ac_t""$ac_cv_type_uid_t" 1>&6
14363if test $ac_cv_type_uid_t = no; then
14364 cat >> confdefs.h <<\EOF
14365#define uid_t int
14366EOF
14367
14368 cat >> confdefs.h <<\EOF
14369#define gid_t int
14370EOF
14371
14372fi
14373
14374
14375echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
14376echo "configure:14377: checking for wchar_t" >&5
14377if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
14378 echo $ac_n "(cached) $ac_c" 1>&6
14379else
14380
14381 cat > conftest.$ac_ext <<EOF
14382#line 14383 "configure"
14383#include "confdefs.h"
14384
14385 #ifdef HAVE_WCHAR_H
14386 # ifdef __CYGWIN__
14387 # include <stddef.h>
14388 # endif
14389 # include <wchar.h>
14390 #endif
14391 #ifdef HAVE_STDLIB_H
14392 # include <stdlib.h>
14393 #endif
14394
14395int main() {
14396
14397 wchar_t wc, *ws;
14398 wc = L'a';
14399 ws = L"Hello, world!";
14400
14401; return 0; }
14402EOF
14403if { (eval echo configure:14404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14404 rm -rf conftest*
14405 wx_cv_type_wchar_t=yes
14406else
14407 echo "configure: failed program was:" >&5
14408 cat conftest.$ac_ext >&5
14409 rm -rf conftest*
14410 wx_cv_type_wchar_t=no
14411
14412fi
14413rm -f conftest*
14414
14415fi
14416
14417echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
14418
14419if test "$wx_cv_type_wchar_t" = "yes"; then
14420 cat >> confdefs.h <<\EOF
14421#define wxUSE_WCHAR_T 1
14422EOF
14423
14424fi
14425
14426
14427ac_ext=C
14428# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14429ac_cpp='$CXXCPP $CPPFLAGS'
14430ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14431ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14432cross_compiling=$ac_cv_prog_cxx_cross
14433
14434echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
14435echo "configure:14436: checking if size_t is unsigned int" >&5
14436if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
14437 echo $ac_n "(cached) $ac_c" 1>&6
14438else
14439 cat > conftest.$ac_ext <<EOF
14440#line 14441 "configure"
14441#include "confdefs.h"
14442#include <stddef.h>
14443int main() {
14444
14445 return 0; }
14446
14447 struct Foo { void foo(size_t); void foo(unsigned int); };
14448
14449 int bar() {
14450
14451; return 0; }
14452EOF
14453if { (eval echo configure:14454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14454 rm -rf conftest*
14455 wx_cv_size_t_is_uint=no
14456else
14457 echo "configure: failed program was:" >&5
14458 cat conftest.$ac_ext >&5
14459 rm -rf conftest*
14460 wx_cv_size_t_is_uint=yes
14461
14462fi
14463rm -f conftest*
14464
14465fi
14466
14467echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
14468
14469if test "$wx_cv_size_t_is_uint" = "yes"; then
14470 cat >> confdefs.h <<\EOF
14471#define wxSIZE_T_IS_UINT 1
14472EOF
14473
14474else
14475 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
14476echo "configure:14477: checking if size_t is unsigned long" >&5
14477if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
14478 echo $ac_n "(cached) $ac_c" 1>&6
14479else
14480 cat > conftest.$ac_ext <<EOF
14481#line 14482 "configure"
14482#include "confdefs.h"
14483#include <stddef.h>
14484int main() {
14485
14486 return 0; }
14487
14488 struct Foo { void foo(size_t); void foo(unsigned long); };
14489
14490 int bar() {
14491
14492; return 0; }
14493EOF
14494if { (eval echo configure:14495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14495 rm -rf conftest*
14496 wx_cv_size_t_is_ulong=no
14497else
14498 echo "configure: failed program was:" >&5
14499 cat conftest.$ac_ext >&5
14500 rm -rf conftest*
14501 wx_cv_size_t_is_ulong=yes
14502
14503fi
14504rm -f conftest*
14505
14506fi
14507
14508echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
14509
14510 if test "$wx_cv_size_t_is_ulong" = "yes"; then
14511 cat >> confdefs.h <<\EOF
14512#define wxSIZE_T_IS_ULONG 1
14513EOF
14514
14515 fi
14516fi
14517
14518ac_ext=c
14519# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14520ac_cpp='$CPP $CPPFLAGS'
14521ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14522ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14523cross_compiling=$ac_cv_prog_cc_cross
14524
14525
14526
14527echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
14528echo "configure:14529: checking for pw_gecos in struct passwd" >&5
14529if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
14530 echo $ac_n "(cached) $ac_c" 1>&6
14531else
14532
14533 cat > conftest.$ac_ext <<EOF
14534#line 14535 "configure"
14535#include "confdefs.h"
14536#include <pwd.h>
14537int main() {
14538
14539 char *p;
14540 struct passwd *pw;
14541 p = pw->pw_gecos;
14542
14543; return 0; }
14544EOF
14545if { (eval echo configure:14546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14546 rm -rf conftest*
14547
14548 wx_cv_struct_pw_gecos=yes
14549
14550else
14551 echo "configure: failed program was:" >&5
14552 cat conftest.$ac_ext >&5
14553 rm -rf conftest*
14554
14555 wx_cv_struct_pw_gecos=no
14556
14557
14558fi
14559rm -f conftest*
14560
14561
14562fi
14563
14564echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
14565
14566if test "$wx_cv_struct_pw_gecos" = "yes"; then
14567 cat >> confdefs.h <<\EOF
14568#define HAVE_PW_GECOS 1
14569EOF
14570
14571fi
14572
14573
14574echo $ac_n "checking for working const""... $ac_c" 1>&6
14575echo "configure:14576: checking for working const" >&5
14576if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
14577 echo $ac_n "(cached) $ac_c" 1>&6
14578else
14579 cat > conftest.$ac_ext <<EOF
14580#line 14581 "configure"
14581#include "confdefs.h"
14582
14583int main() {
14584
14585/* Ultrix mips cc rejects this. */
14586typedef int charset[2]; const charset x;
14587/* SunOS 4.1.1 cc rejects this. */
14588char const *const *ccp;
14589char **p;
14590/* NEC SVR4.0.2 mips cc rejects this. */
14591struct point {int x, y;};
14592static struct point const zero = {0,0};
14593/* AIX XL C 1.02.0.0 rejects this.
14594 It does not let you subtract one const X* pointer from another in an arm
14595 of an if-expression whose if-part is not a constant expression */
14596const char *g = "string";
14597ccp = &g + (g ? g-g : 0);
14598/* HPUX 7.0 cc rejects these. */
14599++ccp;
14600p = (char**) ccp;
14601ccp = (char const *const *) p;
14602{ /* SCO 3.2v4 cc rejects this. */
14603 char *t;
14604 char const *s = 0 ? (char *) 0 : (char const *) 0;
14605
14606 *t++ = 0;
14607}
14608{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14609 int x[] = {25, 17};
14610 const int *foo = &x[0];
14611 ++foo;
14612}
14613{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14614 typedef const int *iptr;
14615 iptr p = 0;
14616 ++p;
14617}
14618{ /* AIX XL C 1.02.0.0 rejects this saying
14619 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14620 struct s { int j; const int *ap[3]; };
14621 struct s *b; b->j = 5;
14622}
14623{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14624 const int foo = 10;
14625}
14626
14627; return 0; }
14628EOF
14629if { (eval echo configure:14630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14630 rm -rf conftest*
14631 ac_cv_c_const=yes
14632else
14633 echo "configure: failed program was:" >&5
14634 cat conftest.$ac_ext >&5
14635 rm -rf conftest*
14636 ac_cv_c_const=no
14637fi
14638rm -f conftest*
14639fi
14640
14641echo "$ac_t""$ac_cv_c_const" 1>&6
14642if test $ac_cv_c_const = no; then
14643 cat >> confdefs.h <<\EOF
14644#define const
14645EOF
14646
14647fi
14648
14649echo $ac_n "checking for inline""... $ac_c" 1>&6
14650echo "configure:14651: checking for inline" >&5
14651if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
14652 echo $ac_n "(cached) $ac_c" 1>&6
14653else
14654 ac_cv_c_inline=no
14655for ac_kw in inline __inline__ __inline; do
14656 cat > conftest.$ac_ext <<EOF
14657#line 14658 "configure"
14658#include "confdefs.h"
14659
14660int main() {
14661} $ac_kw foo() {
14662; return 0; }
14663EOF
14664if { (eval echo configure:14665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14665 rm -rf conftest*
14666 ac_cv_c_inline=$ac_kw; break
14667else
14668 echo "configure: failed program was:" >&5
14669 cat conftest.$ac_ext >&5
14670fi
14671rm -f conftest*
14672done
14673
14674fi
14675
14676echo "$ac_t""$ac_cv_c_inline" 1>&6
14677case "$ac_cv_c_inline" in
14678 inline | yes) ;;
14679 no) cat >> confdefs.h <<\EOF
14680#define inline
14681EOF
14682 ;;
14683 *) cat >> confdefs.h <<EOF
14684#define inline $ac_cv_c_inline
14685EOF
14686 ;;
14687esac
14688
14689
14690echo $ac_n "checking size of char""... $ac_c" 1>&6
14691echo "configure:14692: checking size of char" >&5
14692if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
14693 echo $ac_n "(cached) $ac_c" 1>&6
14694else
14695 if test "$cross_compiling" = yes; then
14696 ac_cv_sizeof_char=1
14697else
14698 cat > conftest.$ac_ext <<EOF
14699#line 14700 "configure"
14700#include "confdefs.h"
14701#include <stdio.h>
14702main()
14703{
14704 FILE *f=fopen("conftestval", "w");
14705 if (!f) exit(1);
14706 fprintf(f, "%d\n", sizeof(char));
14707 exit(0);
14708}
14709EOF
14710if { (eval echo configure:14711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14711then
14712 ac_cv_sizeof_char=`cat conftestval`
14713else
14714 echo "configure: failed program was:" >&5
14715 cat conftest.$ac_ext >&5
14716 rm -fr conftest*
14717 ac_cv_sizeof_char=0
14718fi
14719rm -fr conftest*
14720fi
14721
14722fi
14723echo "$ac_t""$ac_cv_sizeof_char" 1>&6
14724cat >> confdefs.h <<EOF
14725#define SIZEOF_CHAR $ac_cv_sizeof_char
14726EOF
14727
14728
14729echo $ac_n "checking size of short""... $ac_c" 1>&6
14730echo "configure:14731: checking size of short" >&5
14731if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
14732 echo $ac_n "(cached) $ac_c" 1>&6
14733else
14734 if test "$cross_compiling" = yes; then
14735 ac_cv_sizeof_short=2
14736else
14737 cat > conftest.$ac_ext <<EOF
14738#line 14739 "configure"
14739#include "confdefs.h"
14740#include <stdio.h>
14741main()
14742{
14743 FILE *f=fopen("conftestval", "w");
14744 if (!f) exit(1);
14745 fprintf(f, "%d\n", sizeof(short));
14746 exit(0);
14747}
14748EOF
14749if { (eval echo configure:14750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14750then
14751 ac_cv_sizeof_short=`cat conftestval`
14752else
14753 echo "configure: failed program was:" >&5
14754 cat conftest.$ac_ext >&5
14755 rm -fr conftest*
14756 ac_cv_sizeof_short=0
14757fi
14758rm -fr conftest*
14759fi
14760
14761fi
14762echo "$ac_t""$ac_cv_sizeof_short" 1>&6
14763cat >> confdefs.h <<EOF
14764#define SIZEOF_SHORT $ac_cv_sizeof_short
14765EOF
14766
14767
14768echo $ac_n "checking size of void *""... $ac_c" 1>&6
14769echo "configure:14770: checking size of void *" >&5
14770if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
14771 echo $ac_n "(cached) $ac_c" 1>&6
14772else
14773 if test "$cross_compiling" = yes; then
14774 ac_cv_sizeof_void_p=4
14775else
14776 cat > conftest.$ac_ext <<EOF
14777#line 14778 "configure"
14778#include "confdefs.h"
14779#include <stdio.h>
14780main()
14781{
14782 FILE *f=fopen("conftestval", "w");
14783 if (!f) exit(1);
14784 fprintf(f, "%d\n", sizeof(void *));
14785 exit(0);
14786}
14787EOF
14788if { (eval echo configure:14789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14789then
14790 ac_cv_sizeof_void_p=`cat conftestval`
14791else
14792 echo "configure: failed program was:" >&5
14793 cat conftest.$ac_ext >&5
14794 rm -fr conftest*
14795 ac_cv_sizeof_void_p=0
14796fi
14797rm -fr conftest*
14798fi
14799
14800fi
14801echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
14802cat >> confdefs.h <<EOF
14803#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14804EOF
14805
14806
14807echo $ac_n "checking size of int""... $ac_c" 1>&6
14808echo "configure:14809: checking size of int" >&5
14809if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
14810 echo $ac_n "(cached) $ac_c" 1>&6
14811else
14812 if test "$cross_compiling" = yes; then
14813 ac_cv_sizeof_int=4
14814else
14815 cat > conftest.$ac_ext <<EOF
14816#line 14817 "configure"
14817#include "confdefs.h"
14818#include <stdio.h>
14819main()
14820{
14821 FILE *f=fopen("conftestval", "w");
14822 if (!f) exit(1);
14823 fprintf(f, "%d\n", sizeof(int));
14824 exit(0);
14825}
14826EOF
14827if { (eval echo configure:14828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14828then
14829 ac_cv_sizeof_int=`cat conftestval`
14830else
14831 echo "configure: failed program was:" >&5
14832 cat conftest.$ac_ext >&5
14833 rm -fr conftest*
14834 ac_cv_sizeof_int=0
14835fi
14836rm -fr conftest*
14837fi
14838
14839fi
14840echo "$ac_t""$ac_cv_sizeof_int" 1>&6
14841cat >> confdefs.h <<EOF
14842#define SIZEOF_INT $ac_cv_sizeof_int
14843EOF
14844
14845
14846echo $ac_n "checking size of long""... $ac_c" 1>&6
14847echo "configure:14848: checking size of long" >&5
14848if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
14849 echo $ac_n "(cached) $ac_c" 1>&6
14850else
14851 if test "$cross_compiling" = yes; then
14852 ac_cv_sizeof_long=4
14853else
14854 cat > conftest.$ac_ext <<EOF
14855#line 14856 "configure"
14856#include "confdefs.h"
14857#include <stdio.h>
14858main()
14859{
14860 FILE *f=fopen("conftestval", "w");
14861 if (!f) exit(1);
14862 fprintf(f, "%d\n", sizeof(long));
14863 exit(0);
14864}
14865EOF
14866if { (eval echo configure:14867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14867then
14868 ac_cv_sizeof_long=`cat conftestval`
14869else
14870 echo "configure: failed program was:" >&5
14871 cat conftest.$ac_ext >&5
14872 rm -fr conftest*
14873 ac_cv_sizeof_long=0
14874fi
14875rm -fr conftest*
14876fi
14877
14878fi
14879echo "$ac_t""$ac_cv_sizeof_long" 1>&6
14880cat >> confdefs.h <<EOF
14881#define SIZEOF_LONG $ac_cv_sizeof_long
14882EOF
14883
14884
14885
14886case "${host}" in
14887 arm-*-linux* )
14888 echo $ac_n "checking size of long long""... $ac_c" 1>&6
14889echo "configure:14890: checking size of long long" >&5
14890if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
14891 echo $ac_n "(cached) $ac_c" 1>&6
14892else
14893 if test "$cross_compiling" = yes; then
14894 ac_cv_sizeof_long_long=8
14895else
14896 cat > conftest.$ac_ext <<EOF
14897#line 14898 "configure"
14898#include "confdefs.h"
14899#include <stdio.h>
14900main()
14901{
14902 FILE *f=fopen("conftestval", "w");
14903 if (!f) exit(1);
14904 fprintf(f, "%d\n", sizeof(long long));
14905 exit(0);
14906}
14907EOF
14908if { (eval echo configure:14909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14909then
14910 ac_cv_sizeof_long_long=`cat conftestval`
14911else
14912 echo "configure: failed program was:" >&5
14913 cat conftest.$ac_ext >&5
14914 rm -fr conftest*
14915 ac_cv_sizeof_long_long=0
14916fi
14917rm -fr conftest*
14918fi
14919
14920fi
14921echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
14922cat >> confdefs.h <<EOF
14923#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14924EOF
14925
14926
14927 ;;
14928 * )
14929 echo $ac_n "checking size of long long""... $ac_c" 1>&6
14930echo "configure:14931: checking size of long long" >&5
14931if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
14932 echo $ac_n "(cached) $ac_c" 1>&6
14933else
14934 if test "$cross_compiling" = yes; then
14935 ac_cv_sizeof_long_long=0
14936else
14937 cat > conftest.$ac_ext <<EOF
14938#line 14939 "configure"
14939#include "confdefs.h"
14940#include <stdio.h>
14941main()
14942{
14943 FILE *f=fopen("conftestval", "w");
14944 if (!f) exit(1);
14945 fprintf(f, "%d\n", sizeof(long long));
14946 exit(0);
14947}
14948EOF
14949if { (eval echo configure:14950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
14950then
14951 ac_cv_sizeof_long_long=`cat conftestval`
14952else
14953 echo "configure: failed program was:" >&5
14954 cat conftest.$ac_ext >&5
14955 rm -fr conftest*
14956 ac_cv_sizeof_long_long=0
14957fi
14958rm -fr conftest*
14959fi
14960
14961fi
14962echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
14963cat >> confdefs.h <<EOF
14964#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14965EOF
14966
14967
14968esac
14969
14970
14971echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
14972echo "configure:14973: checking size of wchar_t" >&5
14973if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
14974 echo $ac_n "(cached) $ac_c" 1>&6
14975else
14976
14977 if test "$cross_compiling" = yes; then
14978 wx_cv_sizeof_wchar_t=4
14979
14980else
14981 cat > conftest.$ac_ext <<EOF
14982#line 14983 "configure"
14983#include "confdefs.h"
14984
14985 #ifdef HAVE_WCHAR_H
14986 # ifdef __CYGWIN__
14987 # include <stddef.h>
14988 # endif
14989 # include <wchar.h>
14990 #endif
14991 #ifdef HAVE_STDLIB_H
14992 # include <stdlib.h>
14993 #endif
14994 #include <stdio.h>
14995 int main()
14996 {
14997 FILE *f=fopen("conftestval", "w");
14998 if (!f) exit(1);
14999 fprintf(f, "%i", sizeof(wchar_t));
15000 exit(0);
15001 }
15002
15003EOF
15004if { (eval echo configure:15005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
15005then
15006 wx_cv_sizeof_wchar_t=`cat conftestval`
15007else
15008 echo "configure: failed program was:" >&5
15009 cat conftest.$ac_ext >&5
15010 rm -fr conftest*
15011 wx_cv_sizeof_wchar_t=0
15012fi
15013rm -fr conftest*
15014fi
15015
15016
15017fi
15018
15019echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
15020
15021cat >> confdefs.h <<EOF
15022#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
15023EOF
15024
15025
15026echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
15027echo "configure:15028: checking whether byte ordering is bigendian" >&5
15028if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
15029 echo $ac_n "(cached) $ac_c" 1>&6
15030else
15031 ac_cv_c_bigendian=unknown
15032# See if sys/param.h defines the BYTE_ORDER macro.
15033cat > conftest.$ac_ext <<EOF
15034#line 15035 "configure"
15035#include "confdefs.h"
15036#include <sys/types.h>
15037#include <sys/param.h>
15038int main() {
15039
15040#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
15041 bogus endian macros
15042#endif
15043; return 0; }
15044EOF
15045if { (eval echo configure:15046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15046 rm -rf conftest*
15047 # It does; now see whether it defined to BIG_ENDIAN or not.
15048cat > conftest.$ac_ext <<EOF
15049#line 15050 "configure"
15050#include "confdefs.h"
15051#include <sys/types.h>
15052#include <sys/param.h>
15053int main() {
15054
15055#if BYTE_ORDER != BIG_ENDIAN
15056 not big endian
15057#endif
15058; return 0; }
15059EOF
15060if { (eval echo configure:15061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15061 rm -rf conftest*
15062 ac_cv_c_bigendian=yes
15063else
15064 echo "configure: failed program was:" >&5
15065 cat conftest.$ac_ext >&5
15066 rm -rf conftest*
15067 ac_cv_c_bigendian=no
15068fi
15069rm -f conftest*
15070else
15071 echo "configure: failed program was:" >&5
15072 cat conftest.$ac_ext >&5
15073fi
15074rm -f conftest*
15075if test $ac_cv_c_bigendian = unknown; then
15076if test "$cross_compiling" = yes; then
15077 ac_cv_c_bigendian=unknown
15078else
15079 cat > conftest.$ac_ext <<EOF
15080#line 15081 "configure"
15081#include "confdefs.h"
15082main () {
15083 /* Are we little or big endian? From Harbison&Steele. */
15084 union
15085 {
15086 long l;
15087 char c[sizeof (long)];
15088 } u;
15089 u.l = 1;
15090 exit (u.c[sizeof (long) - 1] == 1);
15091}
15092EOF
15093if { (eval echo configure:15094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
15094then
15095 ac_cv_c_bigendian=no
15096else
15097 echo "configure: failed program was:" >&5
15098 cat conftest.$ac_ext >&5
15099 rm -fr conftest*
15100 ac_cv_c_bigendian=yes
15101fi
15102rm -fr conftest*
15103fi
15104
15105fi
15106fi
15107
15108echo "$ac_t""$ac_cv_c_bigendian" 1>&6
15109if test $ac_cv_c_bigendian = unknown; then
15110 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
15111fi
15112if test $ac_cv_c_bigendian = yes; then
15113 cat >> confdefs.h <<\EOF
15114#define WORDS_BIGENDIAN 1
15115EOF
15116
15117fi
15118
15119
15120echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
15121echo "configure:15122: checking how to run the C++ preprocessor" >&5
15122if test -z "$CXXCPP"; then
15123if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
15124 echo $ac_n "(cached) $ac_c" 1>&6
15125else
15126 ac_ext=C
15127# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15128ac_cpp='$CXXCPP $CPPFLAGS'
15129ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15130ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15131cross_compiling=$ac_cv_prog_cxx_cross
15132 CXXCPP="${CXX-g++} -E"
15133 cat > conftest.$ac_ext <<EOF
15134#line 15135 "configure"
15135#include "confdefs.h"
15136#include <stdlib.h>
15137EOF
15138ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15139{ (eval echo configure:15140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15140ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15141if test -z "$ac_err"; then
15142 :
15143else
15144 echo "$ac_err" >&5
15145 echo "configure: failed program was:" >&5
15146 cat conftest.$ac_ext >&5
15147 rm -rf conftest*
15148 CXXCPP=/lib/cpp
15149fi
15150rm -f conftest*
15151 ac_cv_prog_CXXCPP="$CXXCPP"
15152ac_ext=C
15153# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15154ac_cpp='$CXXCPP $CPPFLAGS'
15155ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15156ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15157cross_compiling=$ac_cv_prog_cxx_cross
15158fi
15159fi
15160CXXCPP="$ac_cv_prog_CXXCPP"
15161echo "$ac_t""$CXXCPP" 1>&6
15162
15163
15164 if test "$cross_compiling" = "yes"; then
15165 cat >> confdefs.h <<\EOF
15166#define wxUSE_IOSTREAMH 1
15167EOF
15168
15169 else
15170
15171 ac_ext=C
15172# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15173ac_cpp='$CXXCPP $CPPFLAGS'
15174ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15175ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15176cross_compiling=$ac_cv_prog_cxx_cross
15177
15178
15179 for ac_hdr in iostream
15180do
15181ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15182echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15183echo "configure:15184: checking for $ac_hdr" >&5
15184if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15185 echo $ac_n "(cached) $ac_c" 1>&6
15186else
15187 cat > conftest.$ac_ext <<EOF
15188#line 15189 "configure"
15189#include "confdefs.h"
15190#include <$ac_hdr>
15191EOF
15192ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15193{ (eval echo configure:15194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15194ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15195if test -z "$ac_err"; then
15196 rm -rf conftest*
15197 eval "ac_cv_header_$ac_safe=yes"
15198else
15199 echo "$ac_err" >&5
15200 echo "configure: failed program was:" >&5
15201 cat conftest.$ac_ext >&5
15202 rm -rf conftest*
15203 eval "ac_cv_header_$ac_safe=no"
15204fi
15205rm -f conftest*
15206fi
15207if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15208 echo "$ac_t""yes" 1>&6
15209 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15210 cat >> confdefs.h <<EOF
15211#define $ac_tr_hdr 1
15212EOF
15213
15214else
15215 echo "$ac_t""no" 1>&6
15216fi
15217done
15218
15219
15220 if test "$ac_cv_header_iostream" = "yes" ; then
15221 :
15222 else
15223 cat >> confdefs.h <<\EOF
15224#define wxUSE_IOSTREAMH 1
15225EOF
15226
15227 fi
15228
15229 ac_ext=c
15230# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15231ac_cpp='$CPP $CPPFLAGS'
15232ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15233ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15234cross_compiling=$ac_cv_prog_cc_cross
15235
15236 fi
15237
15238
15239
15240 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
15241echo "configure:15242: checking if C++ compiler supports bool" >&5
15242if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
15243 echo $ac_n "(cached) $ac_c" 1>&6
15244else
15245
15246
15247 ac_ext=C
15248# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15249ac_cpp='$CXXCPP $CPPFLAGS'
15250ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15251ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15252cross_compiling=$ac_cv_prog_cxx_cross
15253
15254
15255 cat > conftest.$ac_ext <<EOF
15256#line 15257 "configure"
15257#include "confdefs.h"
15258
15259
15260int main() {
15261
15262 bool b = true;
15263
15264 return 0;
15265
15266; return 0; }
15267EOF
15268if { (eval echo configure:15269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15269 rm -rf conftest*
15270
15271 wx_cv_cpp_bool=yes
15272
15273else
15274 echo "configure: failed program was:" >&5
15275 cat conftest.$ac_ext >&5
15276 rm -rf conftest*
15277
15278 wx_cv_cpp_bool=no
15279
15280
15281fi
15282rm -f conftest*
15283
15284 ac_ext=c
15285# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15286ac_cpp='$CPP $CPPFLAGS'
15287ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15288ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15289cross_compiling=$ac_cv_prog_cc_cross
15290
15291
15292fi
15293
15294echo "$ac_t""$wx_cv_cpp_bool" 1>&6
15295
15296 if test "$wx_cv_cpp_bool" = "yes"; then
15297 cat >> confdefs.h <<\EOF
15298#define HAVE_BOOL 1
15299EOF
15300
15301 fi
15302
15303
15304
15305echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
15306echo "configure:15307: checking for wcslen in -lc" >&5
15307ac_lib_var=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
15308if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15309 echo $ac_n "(cached) $ac_c" 1>&6
15310else
15311 ac_save_LIBS="$LIBS"
15312LIBS="-lc $LIBS"
15313cat > conftest.$ac_ext <<EOF
15314#line 15315 "configure"
15315#include "confdefs.h"
15316/* Override any gcc2 internal prototype to avoid an error. */
15317/* We use char because int might match the return type of a gcc2
15318 builtin and then its argument prototype would still apply. */
15319char wcslen();
15320
15321int main() {
15322wcslen()
15323; return 0; }
15324EOF
15325if { (eval echo configure:15326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15326 rm -rf conftest*
15327 eval "ac_cv_lib_$ac_lib_var=yes"
15328else
15329 echo "configure: failed program was:" >&5
15330 cat conftest.$ac_ext >&5
15331 rm -rf conftest*
15332 eval "ac_cv_lib_$ac_lib_var=no"
15333fi
15334rm -f conftest*
15335LIBS="$ac_save_LIBS"
15336
15337fi
15338if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15339 echo "$ac_t""yes" 1>&6
15340
15341 cat >> confdefs.h <<\EOF
15342#define HAVE_WCSLEN 1
15343EOF
15344
15345 WCHAR_LINK=
15346
15347else
15348 echo "$ac_t""no" 1>&6
15349
15350 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
15351echo "configure:15352: checking for wcslen in -lw" >&5
15352ac_lib_var=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
15353if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15354 echo $ac_n "(cached) $ac_c" 1>&6
15355else
15356 ac_save_LIBS="$LIBS"
15357LIBS="-lw $LIBS"
15358cat > conftest.$ac_ext <<EOF
15359#line 15360 "configure"
15360#include "confdefs.h"
15361/* Override any gcc2 internal prototype to avoid an error. */
15362/* We use char because int might match the return type of a gcc2
15363 builtin and then its argument prototype would still apply. */
15364char wcslen();
15365
15366int main() {
15367wcslen()
15368; return 0; }
15369EOF
15370if { (eval echo configure:15371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15371 rm -rf conftest*
15372 eval "ac_cv_lib_$ac_lib_var=yes"
15373else
15374 echo "configure: failed program was:" >&5
15375 cat conftest.$ac_ext >&5
15376 rm -rf conftest*
15377 eval "ac_cv_lib_$ac_lib_var=no"
15378fi
15379rm -f conftest*
15380LIBS="$ac_save_LIBS"
15381
15382fi
15383if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15384 echo "$ac_t""yes" 1>&6
15385
15386 cat >> confdefs.h <<\EOF
15387#define HAVE_WCSLEN 1
15388EOF
15389
15390 WCHAR_LINK=" -lw"
15391
15392else
15393 echo "$ac_t""no" 1>&6
15394
15395 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
15396echo "configure:15397: checking for wcslen in -lmsvcrt" >&5
15397ac_lib_var=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
15398if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15399 echo $ac_n "(cached) $ac_c" 1>&6
15400else
15401 ac_save_LIBS="$LIBS"
15402LIBS="-lmsvcrt $LIBS"
15403cat > conftest.$ac_ext <<EOF
15404#line 15405 "configure"
15405#include "confdefs.h"
15406/* Override any gcc2 internal prototype to avoid an error. */
15407/* We use char because int might match the return type of a gcc2
15408 builtin and then its argument prototype would still apply. */
15409char wcslen();
15410
15411int main() {
15412wcslen()
15413; return 0; }
15414EOF
15415if { (eval echo configure:15416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15416 rm -rf conftest*
15417 eval "ac_cv_lib_$ac_lib_var=yes"
15418else
15419 echo "configure: failed program was:" >&5
15420 cat conftest.$ac_ext >&5
15421 rm -rf conftest*
15422 eval "ac_cv_lib_$ac_lib_var=no"
15423fi
15424rm -f conftest*
15425LIBS="$ac_save_LIBS"
15426
15427fi
15428if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15429 echo "$ac_t""yes" 1>&6
15430
15431 cat >> confdefs.h <<\EOF
15432#define HAVE_WCSLEN 1
15433EOF
15434
15435 WCHAR_LINK=
15436
15437else
15438 echo "$ac_t""no" 1>&6
15439fi
15440
15441
15442fi
15443
15444
15445fi
15446
15447
15448for ac_func in wcsrtombs
15449do
15450echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15451echo "configure:15452: checking for $ac_func" >&5
15452if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15453 echo $ac_n "(cached) $ac_c" 1>&6
15454else
15455 cat > conftest.$ac_ext <<EOF
15456#line 15457 "configure"
15457#include "confdefs.h"
15458/* System header to define __stub macros and hopefully few prototypes,
15459 which can conflict with char $ac_func(); below. */
15460#include <assert.h>
15461/* Override any gcc2 internal prototype to avoid an error. */
15462/* We use char because int might match the return type of a gcc2
15463 builtin and then its argument prototype would still apply. */
15464char $ac_func();
15465
15466int main() {
15467
15468/* The GNU C library defines this for functions which it implements
15469 to always fail with ENOSYS. Some functions are actually named
15470 something starting with __ and the normal name is an alias. */
15471#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15472choke me
15473#else
15474$ac_func();
15475#endif
15476
15477; return 0; }
15478EOF
15479if { (eval echo configure:15480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15480 rm -rf conftest*
15481 eval "ac_cv_func_$ac_func=yes"
15482else
15483 echo "configure: failed program was:" >&5
15484 cat conftest.$ac_ext >&5
15485 rm -rf conftest*
15486 eval "ac_cv_func_$ac_func=no"
15487fi
15488rm -f conftest*
15489fi
15490
15491if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15492 echo "$ac_t""yes" 1>&6
15493 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15494 cat >> confdefs.h <<EOF
15495#define $ac_tr_func 1
15496EOF
15497
15498else
15499 echo "$ac_t""no" 1>&6
15500fi
15501done
15502
15503
15504echo $ac_n "checking for vprintf""... $ac_c" 1>&6
15505echo "configure:15506: checking for vprintf" >&5
15506if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
15507 echo $ac_n "(cached) $ac_c" 1>&6
15508else
15509 cat > conftest.$ac_ext <<EOF
15510#line 15511 "configure"
15511#include "confdefs.h"
15512/* System header to define __stub macros and hopefully few prototypes,
15513 which can conflict with char vprintf(); below. */
15514#include <assert.h>
15515/* Override any gcc2 internal prototype to avoid an error. */
15516/* We use char because int might match the return type of a gcc2
15517 builtin and then its argument prototype would still apply. */
15518char vprintf();
15519
15520int main() {
15521
15522/* The GNU C library defines this for functions which it implements
15523 to always fail with ENOSYS. Some functions are actually named
15524 something starting with __ and the normal name is an alias. */
15525#if defined (__stub_vprintf) || defined (__stub___vprintf)
15526choke me
15527#else
15528vprintf();
15529#endif
15530
15531; return 0; }
15532EOF
15533if { (eval echo configure:15534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15534 rm -rf conftest*
15535 eval "ac_cv_func_vprintf=yes"
15536else
15537 echo "configure: failed program was:" >&5
15538 cat conftest.$ac_ext >&5
15539 rm -rf conftest*
15540 eval "ac_cv_func_vprintf=no"
15541fi
15542rm -f conftest*
15543fi
15544
15545if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
15546 echo "$ac_t""yes" 1>&6
15547 cat >> confdefs.h <<\EOF
15548#define HAVE_VPRINTF 1
15549EOF
15550
15551else
15552 echo "$ac_t""no" 1>&6
15553fi
15554
15555if test "$ac_cv_func_vprintf" != yes; then
15556echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
15557echo "configure:15558: checking for _doprnt" >&5
15558if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
15559 echo $ac_n "(cached) $ac_c" 1>&6
15560else
15561 cat > conftest.$ac_ext <<EOF
15562#line 15563 "configure"
15563#include "confdefs.h"
15564/* System header to define __stub macros and hopefully few prototypes,
15565 which can conflict with char _doprnt(); below. */
15566#include <assert.h>
15567/* Override any gcc2 internal prototype to avoid an error. */
15568/* We use char because int might match the return type of a gcc2
15569 builtin and then its argument prototype would still apply. */
15570char _doprnt();
15571
15572int main() {
15573
15574/* The GNU C library defines this for functions which it implements
15575 to always fail with ENOSYS. Some functions are actually named
15576 something starting with __ and the normal name is an alias. */
15577#if defined (__stub__doprnt) || defined (__stub____doprnt)
15578choke me
15579#else
15580_doprnt();
15581#endif
15582
15583; return 0; }
15584EOF
15585if { (eval echo configure:15586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15586 rm -rf conftest*
15587 eval "ac_cv_func__doprnt=yes"
15588else
15589 echo "configure: failed program was:" >&5
15590 cat conftest.$ac_ext >&5
15591 rm -rf conftest*
15592 eval "ac_cv_func__doprnt=no"
15593fi
15594rm -f conftest*
15595fi
15596
15597if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
15598 echo "$ac_t""yes" 1>&6
15599 cat >> confdefs.h <<\EOF
15600#define HAVE_DOPRNT 1
15601EOF
15602
15603else
15604 echo "$ac_t""no" 1>&6
15605fi
15606
15607fi
15608
15609
15610
15611
15612
15613
15614echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
15615echo "configure:15616: checking for vsnprintf" >&5
15616if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
15617 echo $ac_n "(cached) $ac_c" 1>&6
15618else
15619
15620 cat > conftest.$ac_ext <<EOF
15621#line 15622 "configure"
15622#include "confdefs.h"
15623
15624 #include <stdio.h>
15625 #include <stdarg.h>
15626
15627int main() {
15628
15629 int wx_test_vsnprintf(const char *, ...);
15630
15631 wx_test_vsnprintf("%s");
15632 return 0;
15633 }
15634
15635 int wx_test_vsnprintf(const char *fmt, ...)
15636 {
15637 char *s;
15638
15639 va_list argp;
15640 va_start(argp, fmt);
15641 vsnprintf(s, 42, fmt, argp);
15642 va_end(argp);
15643
15644; return 0; }
15645EOF
15646if { (eval echo configure:15647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15647 rm -rf conftest*
15648
15649 wx_cv_func_vsnprintf=yes
15650
15651else
15652 echo "configure: failed program was:" >&5
15653 cat conftest.$ac_ext >&5
15654 rm -rf conftest*
15655
15656 cat > conftest.$ac_ext <<EOF
15657#line 15658 "configure"
15658#include "confdefs.h"
15659
15660 #include <stdio.h>
15661 #include <stdarg.h>
15662
15663int main() {
15664
15665 int wx_test_vsnprintf(const char *, ...);
15666
15667 wx_test_vsnprintf("%s");
15668 return 0;
15669 }
15670
15671 int wx_test_vsnprintf(const char *fmt, ...)
15672 {
15673 char *s;
15674
15675 va_list argp;
15676 va_start(argp, fmt);
15677 _vsnprintf(s, 42, fmt, argp);
15678 va_end(argp);
15679
15680; return 0; }
15681EOF
15682if { (eval echo configure:15683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15683 rm -rf conftest*
15684
15685 wx_cv_func_vsnprintf=yes
15686
15687else
15688 echo "configure: failed program was:" >&5
15689 cat conftest.$ac_ext >&5
15690 rm -rf conftest*
15691
15692 wx_cv_func_vsnprintf=no
15693
15694fi
15695rm -f conftest*
15696
15697fi
15698rm -f conftest*
15699
15700fi
15701
15702echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
15703
15704if test "$wx_cv_func_vsnprintf" = yes; then
15705 cat >> confdefs.h <<\EOF
15706#define HAVE_VSNPRINTF 1
15707EOF
15708
15709else
15710 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
15711fi
15712
15713echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
15714echo "configure:15715: checking for vsscanf" >&5
15715if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
15716 echo $ac_n "(cached) $ac_c" 1>&6
15717else
15718
15719 cat > conftest.$ac_ext <<EOF
15720#line 15721 "configure"
15721#include "confdefs.h"
15722
15723 #include <stdio.h>
15724 #include <stdarg.h>
15725
15726int main() {
15727
15728 int wx_test_vsscanf(const char *, ...);
15729
15730 wx_test_vsscanf("%d");
15731 return 0;
15732 }
15733
15734 int wx_test_vsscanf(const char *fmt, ...)
15735 {
15736 va_list argp;
15737 va_start(argp, fmt);
15738 vsscanf("42", fmt, argp);
15739 va_end(argp);
15740
15741; return 0; }
15742EOF
15743if { (eval echo configure:15744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15744 rm -rf conftest*
15745
15746 wx_cv_func_vsscanf=yes
15747
15748else
15749 echo "configure: failed program was:" >&5
15750 cat conftest.$ac_ext >&5
15751 rm -rf conftest*
15752
15753 wx_cv_func_vsscanf=no
15754
15755fi
15756rm -f conftest*
15757
15758fi
15759
15760echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
15761
15762if test "$wx_cv_func_vsscanf" = yes; then
15763 cat >> confdefs.h <<\EOF
15764#define HAVE_VSSCANF 1
15765EOF
15766
15767fi
15768
15769if test "$TOOLKIT" != "MSW"; then
15770
15771
15772
15773ac_ext=C
15774# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15775ac_cpp='$CXXCPP $CPPFLAGS'
15776ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15777ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15778cross_compiling=$ac_cv_prog_cxx_cross
15779
15780
15781
15782 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
15783if test "${with_libiconv_prefix+set}" = set; then
15784 withval="$with_libiconv_prefix"
15785
15786 for dir in `echo "$withval" | tr : ' '`; do
15787 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
15788 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
15789 done
15790
15791fi
15792
15793
15794 echo $ac_n "checking for iconv""... $ac_c" 1>&6
15795echo "configure:15796: checking for iconv" >&5
15796if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
15797 echo $ac_n "(cached) $ac_c" 1>&6
15798else
15799
15800 am_cv_func_iconv="no, consider installing GNU libiconv"
15801 am_cv_lib_iconv=no
15802 cat > conftest.$ac_ext <<EOF
15803#line 15804 "configure"
15804#include "confdefs.h"
15805#include <stdlib.h>
15806#include <iconv.h>
15807int main() {
15808iconv_t cd = iconv_open("","");
15809 iconv(cd,NULL,NULL,NULL,NULL);
15810 iconv_close(cd);
15811; return 0; }
15812EOF
15813if { (eval echo configure:15814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15814 rm -rf conftest*
15815 am_cv_func_iconv=yes
15816else
15817 echo "configure: failed program was:" >&5
15818 cat conftest.$ac_ext >&5
15819fi
15820rm -f conftest*
15821 if test "$am_cv_func_iconv" != yes; then
15822 am_save_LIBS="$LIBS"
15823 LIBS="$LIBS -liconv"
15824 cat > conftest.$ac_ext <<EOF
15825#line 15826 "configure"
15826#include "confdefs.h"
15827#include <stdlib.h>
15828#include <iconv.h>
15829int main() {
15830iconv_t cd = iconv_open("","");
15831 iconv(cd,NULL,NULL,NULL,NULL);
15832 iconv_close(cd);
15833; return 0; }
15834EOF
15835if { (eval echo configure:15836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15836 rm -rf conftest*
15837 am_cv_lib_iconv=yes
15838 am_cv_func_iconv=yes
15839else
15840 echo "configure: failed program was:" >&5
15841 cat conftest.$ac_ext >&5
15842fi
15843rm -f conftest*
15844 LIBS="$am_save_LIBS"
15845 fi
15846
15847fi
15848
15849echo "$ac_t""$am_cv_func_iconv" 1>&6
15850 if test "$am_cv_func_iconv" = yes; then
15851 cat >> confdefs.h <<\EOF
15852#define HAVE_ICONV 1
15853EOF
15854
15855 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
15856echo "configure:15857: checking if iconv needs const" >&5
15857if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
15858 echo $ac_n "(cached) $ac_c" 1>&6
15859else
15860 cat > conftest.$ac_ext <<EOF
15861#line 15862 "configure"
15862#include "confdefs.h"
15863
15864#include <stdlib.h>
15865#include <iconv.h>
15866extern
15867#ifdef __cplusplus
15868"C"
15869#endif
15870#if defined(__STDC__) || defined(__cplusplus)
15871size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15872#else
15873size_t iconv();
15874#endif
15875
15876int main() {
15877
15878; return 0; }
15879EOF
15880if { (eval echo configure:15881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15881 rm -rf conftest*
15882 wx_cv_func_iconv_const="no"
15883else
15884 echo "configure: failed program was:" >&5
15885 cat conftest.$ac_ext >&5
15886 rm -rf conftest*
15887 wx_cv_func_iconv_const="yes"
15888
15889fi
15890rm -f conftest*
15891
15892fi
15893
15894echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
15895
15896 iconv_const=
15897 if test "x$wx_cv_func_iconv_const" = "xyes"; then
15898 iconv_const="const"
15899 fi
15900
15901 cat >> confdefs.h <<EOF
15902#define ICONV_CONST $iconv_const
15903EOF
15904
15905 fi
15906 LIBICONV=
15907 if test "$am_cv_lib_iconv" = yes; then
15908 LIBICONV="-liconv"
15909 fi
15910
15911
15912LIBS="$LIBICONV $LIBS"
15913ac_ext=c
15914# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15915ac_cpp='$CPP $CPPFLAGS'
15916ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15917ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15918cross_compiling=$ac_cv_prog_cc_cross
15919
15920
15921if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
15922 for ac_func in sigaction
15923do
15924echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15925echo "configure:15926: checking for $ac_func" >&5
15926if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15927 echo $ac_n "(cached) $ac_c" 1>&6
15928else
15929 cat > conftest.$ac_ext <<EOF
15930#line 15931 "configure"
15931#include "confdefs.h"
15932/* System header to define __stub macros and hopefully few prototypes,
15933 which can conflict with char $ac_func(); below. */
15934#include <assert.h>
15935/* Override any gcc2 internal prototype to avoid an error. */
15936/* We use char because int might match the return type of a gcc2
15937 builtin and then its argument prototype would still apply. */
15938char $ac_func();
15939
15940int main() {
15941
15942/* The GNU C library defines this for functions which it implements
15943 to always fail with ENOSYS. Some functions are actually named
15944 something starting with __ and the normal name is an alias. */
15945#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15946choke me
15947#else
15948$ac_func();
15949#endif
15950
15951; return 0; }
15952EOF
15953if { (eval echo configure:15954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15954 rm -rf conftest*
15955 eval "ac_cv_func_$ac_func=yes"
15956else
15957 echo "configure: failed program was:" >&5
15958 cat conftest.$ac_ext >&5
15959 rm -rf conftest*
15960 eval "ac_cv_func_$ac_func=no"
15961fi
15962rm -f conftest*
15963fi
15964
15965if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15966 echo "$ac_t""yes" 1>&6
15967 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15968 cat >> confdefs.h <<EOF
15969#define $ac_tr_func 1
15970EOF
15971
15972else
15973 echo "$ac_t""no" 1>&6
15974fi
15975done
15976
15977
15978 if test "$ac_cv_func_sigaction" = "no"; then
15979 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
15980 wxUSE_ON_FATAL_EXCEPTION=no
15981 fi
15982
15983 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15984
15985 ac_ext=C
15986# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15987ac_cpp='$CXXCPP $CPPFLAGS'
15988ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15989ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15990cross_compiling=$ac_cv_prog_cxx_cross
15991
15992
15993 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
15994echo "configure:15995: checking for sa_handler type" >&5
15995if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
15996 echo $ac_n "(cached) $ac_c" 1>&6
15997else
15998
15999 cat > conftest.$ac_ext <<EOF
16000#line 16001 "configure"
16001#include "confdefs.h"
16002#include <signal.h>
16003int main() {
16004
16005 extern void testSigHandler(int);
16006
16007 struct sigaction sa;
16008 sa.sa_handler = testSigHandler;
16009
16010; return 0; }
16011EOF
16012if { (eval echo configure:16013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16013 rm -rf conftest*
16014
16015 wx_cv_type_sa_handler=int
16016
16017else
16018 echo "configure: failed program was:" >&5
16019 cat conftest.$ac_ext >&5
16020 rm -rf conftest*
16021
16022 wx_cv_type_sa_handler=void
16023
16024fi
16025rm -f conftest*
16026
16027fi
16028
16029echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
16030
16031 ac_ext=c
16032# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16033ac_cpp='$CPP $CPPFLAGS'
16034ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16035ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16036cross_compiling=$ac_cv_prog_cc_cross
16037
16038
16039 cat >> confdefs.h <<EOF
16040#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
16041EOF
16042
16043 fi
16044fi
16045
16046for ac_func in vfork
16047do
16048echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16049echo "configure:16050: checking for $ac_func" >&5
16050if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16051 echo $ac_n "(cached) $ac_c" 1>&6
16052else
16053 cat > conftest.$ac_ext <<EOF
16054#line 16055 "configure"
16055#include "confdefs.h"
16056/* System header to define __stub macros and hopefully few prototypes,
16057 which can conflict with char $ac_func(); below. */
16058#include <assert.h>
16059/* Override any gcc2 internal prototype to avoid an error. */
16060/* We use char because int might match the return type of a gcc2
16061 builtin and then its argument prototype would still apply. */
16062char $ac_func();
16063
16064int main() {
16065
16066/* The GNU C library defines this for functions which it implements
16067 to always fail with ENOSYS. Some functions are actually named
16068 something starting with __ and the normal name is an alias. */
16069#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16070choke me
16071#else
16072$ac_func();
16073#endif
16074
16075; return 0; }
16076EOF
16077if { (eval echo configure:16078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16078 rm -rf conftest*
16079 eval "ac_cv_func_$ac_func=yes"
16080else
16081 echo "configure: failed program was:" >&5
16082 cat conftest.$ac_ext >&5
16083 rm -rf conftest*
16084 eval "ac_cv_func_$ac_func=no"
16085fi
16086rm -f conftest*
16087fi
16088
16089if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16090 echo "$ac_t""yes" 1>&6
16091 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16092 cat >> confdefs.h <<EOF
16093#define $ac_tr_func 1
16094EOF
16095
16096else
16097 echo "$ac_t""no" 1>&6
16098fi
16099done
16100
16101
16102for ac_func in mkstemp mktemp
16103do
16104echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16105echo "configure:16106: checking for $ac_func" >&5
16106if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16107 echo $ac_n "(cached) $ac_c" 1>&6
16108else
16109 cat > conftest.$ac_ext <<EOF
16110#line 16111 "configure"
16111#include "confdefs.h"
16112/* System header to define __stub macros and hopefully few prototypes,
16113 which can conflict with char $ac_func(); below. */
16114#include <assert.h>
16115/* Override any gcc2 internal prototype to avoid an error. */
16116/* We use char because int might match the return type of a gcc2
16117 builtin and then its argument prototype would still apply. */
16118char $ac_func();
16119
16120int main() {
16121
16122/* The GNU C library defines this for functions which it implements
16123 to always fail with ENOSYS. Some functions are actually named
16124 something starting with __ and the normal name is an alias. */
16125#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16126choke me
16127#else
16128$ac_func();
16129#endif
16130
16131; return 0; }
16132EOF
16133if { (eval echo configure:16134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16134 rm -rf conftest*
16135 eval "ac_cv_func_$ac_func=yes"
16136else
16137 echo "configure: failed program was:" >&5
16138 cat conftest.$ac_ext >&5
16139 rm -rf conftest*
16140 eval "ac_cv_func_$ac_func=no"
16141fi
16142rm -f conftest*
16143fi
16144
16145if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16146 echo "$ac_t""yes" 1>&6
16147 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16148 cat >> confdefs.h <<EOF
16149#define $ac_tr_func 1
16150EOF
16151 break
16152else
16153 echo "$ac_t""no" 1>&6
16154fi
16155done
16156
16157
16158echo $ac_n "checking for statfs""... $ac_c" 1>&6
16159echo "configure:16160: checking for statfs" >&5
16160if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
16161 echo $ac_n "(cached) $ac_c" 1>&6
16162else
16163 cat > conftest.$ac_ext <<EOF
16164#line 16165 "configure"
16165#include "confdefs.h"
16166
16167 #if defined(__BSD__)
16168 #include <sys/param.h>
16169 #include <sys/mount.h>
16170 #else
16171 #include <sys/vfs.h>
16172 #endif
16173
16174int main() {
16175
16176 long l;
16177 struct statfs fs;
16178 statfs("/", &fs);
16179 l = fs.f_bsize;
16180 l += fs.f_blocks;
16181 l += fs.f_bavail;
16182
16183; return 0; }
16184EOF
16185if { (eval echo configure:16186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16186 rm -rf conftest*
16187
16188 wx_cv_func_statfs=yes
16189
16190else
16191 echo "configure: failed program was:" >&5
16192 cat conftest.$ac_ext >&5
16193 rm -rf conftest*
16194
16195 wx_cv_func_statfs=no
16196
16197
16198fi
16199rm -f conftest*
16200
16201fi
16202
16203echo "$ac_t""$wx_cv_func_statfs" 1>&6
16204
16205if test "$wx_cv_func_statfs" = "yes"; then
16206 cat >> confdefs.h <<\EOF
16207#define HAVE_STATFS 1
16208EOF
16209
16210else
16211 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
16212echo "configure:16213: checking for statvfs" >&5
16213if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
16214 echo $ac_n "(cached) $ac_c" 1>&6
16215else
16216 cat > conftest.$ac_ext <<EOF
16217#line 16218 "configure"
16218#include "confdefs.h"
16219
16220 #include <sys/statvfs.h>
16221
16222int main() {
16223
16224 long l;
16225 struct statvfs fs;
16226 statvfs("/", &fs);
16227 l = fs.f_bsize;
16228 l += fs.f_blocks;
16229 l += fs.f_bavail;
16230
16231; return 0; }
16232EOF
16233if { (eval echo configure:16234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16234 rm -rf conftest*
16235
16236 wx_cv_func_statvfs=yes
16237
16238else
16239 echo "configure: failed program was:" >&5
16240 cat conftest.$ac_ext >&5
16241 rm -rf conftest*
16242
16243 wx_cv_func_statvfs=no
16244
16245
16246fi
16247rm -f conftest*
16248
16249fi
16250
16251echo "$ac_t""$wx_cv_func_statvfs" 1>&6
16252
16253 if test "$wx_cv_func_statvfs" = "yes"; then
16254 cat >> confdefs.h <<\EOF
16255#define HAVE_STATVFS 1
16256EOF
16257
16258 else
16259 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
16260 fi
16261fi
16262
16263if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16264 for ac_func in fcntl flock
16265do
16266echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16267echo "configure:16268: checking for $ac_func" >&5
16268if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16269 echo $ac_n "(cached) $ac_c" 1>&6
16270else
16271 cat > conftest.$ac_ext <<EOF
16272#line 16273 "configure"
16273#include "confdefs.h"
16274/* System header to define __stub macros and hopefully few prototypes,
16275 which can conflict with char $ac_func(); below. */
16276#include <assert.h>
16277/* Override any gcc2 internal prototype to avoid an error. */
16278/* We use char because int might match the return type of a gcc2
16279 builtin and then its argument prototype would still apply. */
16280char $ac_func();
16281
16282int main() {
16283
16284/* The GNU C library defines this for functions which it implements
16285 to always fail with ENOSYS. Some functions are actually named
16286 something starting with __ and the normal name is an alias. */
16287#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16288choke me
16289#else
16290$ac_func();
16291#endif
16292
16293; return 0; }
16294EOF
16295if { (eval echo configure:16296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16296 rm -rf conftest*
16297 eval "ac_cv_func_$ac_func=yes"
16298else
16299 echo "configure: failed program was:" >&5
16300 cat conftest.$ac_ext >&5
16301 rm -rf conftest*
16302 eval "ac_cv_func_$ac_func=no"
16303fi
16304rm -f conftest*
16305fi
16306
16307if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16308 echo "$ac_t""yes" 1>&6
16309 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16310 cat >> confdefs.h <<EOF
16311#define $ac_tr_func 1
16312EOF
16313 break
16314else
16315 echo "$ac_t""no" 1>&6
16316fi
16317done
16318
16319
16320 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
16321 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
16322 wxUSE_SNGLINST_CHECKER=no
16323 fi
16324fi
16325
16326for ac_func in timegm
16327do
16328echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16329echo "configure:16330: checking for $ac_func" >&5
16330if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16331 echo $ac_n "(cached) $ac_c" 1>&6
16332else
16333 cat > conftest.$ac_ext <<EOF
16334#line 16335 "configure"
16335#include "confdefs.h"
16336/* System header to define __stub macros and hopefully few prototypes,
16337 which can conflict with char $ac_func(); below. */
16338#include <assert.h>
16339/* Override any gcc2 internal prototype to avoid an error. */
16340/* We use char because int might match the return type of a gcc2
16341 builtin and then its argument prototype would still apply. */
16342char $ac_func();
16343
16344int main() {
16345
16346/* The GNU C library defines this for functions which it implements
16347 to always fail with ENOSYS. Some functions are actually named
16348 something starting with __ and the normal name is an alias. */
16349#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16350choke me
16351#else
16352$ac_func();
16353#endif
16354
16355; return 0; }
16356EOF
16357if { (eval echo configure:16358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16358 rm -rf conftest*
16359 eval "ac_cv_func_$ac_func=yes"
16360else
16361 echo "configure: failed program was:" >&5
16362 cat conftest.$ac_ext >&5
16363 rm -rf conftest*
16364 eval "ac_cv_func_$ac_func=no"
16365fi
16366rm -f conftest*
16367fi
16368
16369if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16370 echo "$ac_t""yes" 1>&6
16371 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16372 cat >> confdefs.h <<EOF
16373#define $ac_tr_func 1
16374EOF
16375
16376else
16377 echo "$ac_t""no" 1>&6
16378fi
16379done
16380
16381
16382for ac_func in putenv setenv
16383do
16384echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16385echo "configure:16386: checking for $ac_func" >&5
16386if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16387 echo $ac_n "(cached) $ac_c" 1>&6
16388else
16389 cat > conftest.$ac_ext <<EOF
16390#line 16391 "configure"
16391#include "confdefs.h"
16392/* System header to define __stub macros and hopefully few prototypes,
16393 which can conflict with char $ac_func(); below. */
16394#include <assert.h>
16395/* Override any gcc2 internal prototype to avoid an error. */
16396/* We use char because int might match the return type of a gcc2
16397 builtin and then its argument prototype would still apply. */
16398char $ac_func();
16399
16400int main() {
16401
16402/* The GNU C library defines this for functions which it implements
16403 to always fail with ENOSYS. Some functions are actually named
16404 something starting with __ and the normal name is an alias. */
16405#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16406choke me
16407#else
16408$ac_func();
16409#endif
16410
16411; return 0; }
16412EOF
16413if { (eval echo configure:16414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16414 rm -rf conftest*
16415 eval "ac_cv_func_$ac_func=yes"
16416else
16417 echo "configure: failed program was:" >&5
16418 cat conftest.$ac_ext >&5
16419 rm -rf conftest*
16420 eval "ac_cv_func_$ac_func=no"
16421fi
16422rm -f conftest*
16423fi
16424
16425if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16426 echo "$ac_t""yes" 1>&6
16427 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16428 cat >> confdefs.h <<EOF
16429#define $ac_tr_func 1
16430EOF
16431 break
16432else
16433 echo "$ac_t""no" 1>&6
16434fi
16435done
16436
16437
16438HAVE_SOME_SLEEP_FUNC=0
16439if test "$USE_BEOS" = 1; then
16440 cat >> confdefs.h <<\EOF
16441#define HAVE_SLEEP 1
16442EOF
16443
16444 HAVE_SOME_SLEEP_FUNC=1
16445fi
16446
16447if test "$USE_DARWIN" = 1; then
16448 cat >> confdefs.h <<\EOF
16449#define HAVE_USLEEP 1
16450EOF
16451
16452 HAVE_SOME_SLEEP_FUNC=1
16453fi
16454
16455if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
16456 POSIX4_LINK=
16457 for ac_func in nanosleep
16458do
16459echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16460echo "configure:16461: checking for $ac_func" >&5
16461if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16462 echo $ac_n "(cached) $ac_c" 1>&6
16463else
16464 cat > conftest.$ac_ext <<EOF
16465#line 16466 "configure"
16466#include "confdefs.h"
16467/* System header to define __stub macros and hopefully few prototypes,
16468 which can conflict with char $ac_func(); below. */
16469#include <assert.h>
16470/* Override any gcc2 internal prototype to avoid an error. */
16471/* We use char because int might match the return type of a gcc2
16472 builtin and then its argument prototype would still apply. */
16473char $ac_func();
16474
16475int main() {
16476
16477/* The GNU C library defines this for functions which it implements
16478 to always fail with ENOSYS. Some functions are actually named
16479 something starting with __ and the normal name is an alias. */
16480#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16481choke me
16482#else
16483$ac_func();
16484#endif
16485
16486; return 0; }
16487EOF
16488if { (eval echo configure:16489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16489 rm -rf conftest*
16490 eval "ac_cv_func_$ac_func=yes"
16491else
16492 echo "configure: failed program was:" >&5
16493 cat conftest.$ac_ext >&5
16494 rm -rf conftest*
16495 eval "ac_cv_func_$ac_func=no"
16496fi
16497rm -f conftest*
16498fi
16499
16500if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16501 echo "$ac_t""yes" 1>&6
16502 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16503 cat >> confdefs.h <<EOF
16504#define $ac_tr_func 1
16505EOF
16506 cat >> confdefs.h <<\EOF
16507#define HAVE_NANOSLEEP 1
16508EOF
16509
16510else
16511 echo "$ac_t""no" 1>&6
16512echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
16513echo "configure:16514: checking for nanosleep in -lposix4" >&5
16514ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
16515if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16516 echo $ac_n "(cached) $ac_c" 1>&6
16517else
16518 ac_save_LIBS="$LIBS"
16519LIBS="-lposix4 $LIBS"
16520cat > conftest.$ac_ext <<EOF
16521#line 16522 "configure"
16522#include "confdefs.h"
16523/* Override any gcc2 internal prototype to avoid an error. */
16524/* We use char because int might match the return type of a gcc2
16525 builtin and then its argument prototype would still apply. */
16526char nanosleep();
16527
16528int main() {
16529nanosleep()
16530; return 0; }
16531EOF
16532if { (eval echo configure:16533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16533 rm -rf conftest*
16534 eval "ac_cv_lib_$ac_lib_var=yes"
16535else
16536 echo "configure: failed program was:" >&5
16537 cat conftest.$ac_ext >&5
16538 rm -rf conftest*
16539 eval "ac_cv_lib_$ac_lib_var=no"
16540fi
16541rm -f conftest*
16542LIBS="$ac_save_LIBS"
16543
16544fi
16545if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16546 echo "$ac_t""yes" 1>&6
16547
16548 cat >> confdefs.h <<\EOF
16549#define HAVE_NANOSLEEP 1
16550EOF
16551
16552 POSIX4_LINK=" -lposix4"
16553
16554else
16555 echo "$ac_t""no" 1>&6
16556
16557 for ac_func in usleep
16558do
16559echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16560echo "configure:16561: checking for $ac_func" >&5
16561if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16562 echo $ac_n "(cached) $ac_c" 1>&6
16563else
16564 cat > conftest.$ac_ext <<EOF
16565#line 16566 "configure"
16566#include "confdefs.h"
16567/* System header to define __stub macros and hopefully few prototypes,
16568 which can conflict with char $ac_func(); below. */
16569#include <assert.h>
16570/* Override any gcc2 internal prototype to avoid an error. */
16571/* We use char because int might match the return type of a gcc2
16572 builtin and then its argument prototype would still apply. */
16573char $ac_func();
16574
16575int main() {
16576
16577/* The GNU C library defines this for functions which it implements
16578 to always fail with ENOSYS. Some functions are actually named
16579 something starting with __ and the normal name is an alias. */
16580#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16581choke me
16582#else
16583$ac_func();
16584#endif
16585
16586; return 0; }
16587EOF
16588if { (eval echo configure:16589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16589 rm -rf conftest*
16590 eval "ac_cv_func_$ac_func=yes"
16591else
16592 echo "configure: failed program was:" >&5
16593 cat conftest.$ac_ext >&5
16594 rm -rf conftest*
16595 eval "ac_cv_func_$ac_func=no"
16596fi
16597rm -f conftest*
16598fi
16599
16600if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16601 echo "$ac_t""yes" 1>&6
16602 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16603 cat >> confdefs.h <<EOF
16604#define $ac_tr_func 1
16605EOF
16606 cat >> confdefs.h <<\EOF
16607#define HAVE_USLEEP 1
16608EOF
16609
16610else
16611 echo "$ac_t""no" 1>&6
16612echo "configure: warning: wxSleep() function will not work" 1>&2
16613
16614fi
16615done
16616
16617
16618
16619fi
16620
16621
16622
16623fi
16624done
16625
16626fi
16627
16628for ac_func in uname gethostname
16629do
16630echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16631echo "configure:16632: checking for $ac_func" >&5
16632if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16633 echo $ac_n "(cached) $ac_c" 1>&6
16634else
16635 cat > conftest.$ac_ext <<EOF
16636#line 16637 "configure"
16637#include "confdefs.h"
16638/* System header to define __stub macros and hopefully few prototypes,
16639 which can conflict with char $ac_func(); below. */
16640#include <assert.h>
16641/* Override any gcc2 internal prototype to avoid an error. */
16642/* We use char because int might match the return type of a gcc2
16643 builtin and then its argument prototype would still apply. */
16644char $ac_func();
16645
16646int main() {
16647
16648/* The GNU C library defines this for functions which it implements
16649 to always fail with ENOSYS. Some functions are actually named
16650 something starting with __ and the normal name is an alias. */
16651#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16652choke me
16653#else
16654$ac_func();
16655#endif
16656
16657; return 0; }
16658EOF
16659if { (eval echo configure:16660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16660 rm -rf conftest*
16661 eval "ac_cv_func_$ac_func=yes"
16662else
16663 echo "configure: failed program was:" >&5
16664 cat conftest.$ac_ext >&5
16665 rm -rf conftest*
16666 eval "ac_cv_func_$ac_func=no"
16667fi
16668rm -f conftest*
16669fi
16670
16671if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16672 echo "$ac_t""yes" 1>&6
16673 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16674 cat >> confdefs.h <<EOF
16675#define $ac_tr_func 1
16676EOF
16677 break
16678else
16679 echo "$ac_t""no" 1>&6
16680fi
16681done
16682
16683
16684
16685ac_ext=C
16686# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16687ac_cpp='$CXXCPP $CPPFLAGS'
16688ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16689ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16690cross_compiling=$ac_cv_prog_cxx_cross
16691
16692
16693for ac_func in strtok_r
16694do
16695echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16696echo "configure:16697: checking for $ac_func" >&5
16697if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16698 echo $ac_n "(cached) $ac_c" 1>&6
16699else
16700 cat > conftest.$ac_ext <<EOF
16701#line 16702 "configure"
16702#include "confdefs.h"
16703/* System header to define __stub macros and hopefully few prototypes,
16704 which can conflict with char $ac_func(); below. */
16705#include <assert.h>
16706/* Override any gcc2 internal prototype to avoid an error. */
16707#ifdef __cplusplus
16708extern "C"
16709#endif
16710/* We use char because int might match the return type of a gcc2
16711 builtin and then its argument prototype would still apply. */
16712char $ac_func();
16713
16714int main() {
16715
16716/* The GNU C library defines this for functions which it implements
16717 to always fail with ENOSYS. Some functions are actually named
16718 something starting with __ and the normal name is an alias. */
16719#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16720choke me
16721#else
16722$ac_func();
16723#endif
16724
16725; return 0; }
16726EOF
16727if { (eval echo configure:16728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16728 rm -rf conftest*
16729 eval "ac_cv_func_$ac_func=yes"
16730else
16731 echo "configure: failed program was:" >&5
16732 cat conftest.$ac_ext >&5
16733 rm -rf conftest*
16734 eval "ac_cv_func_$ac_func=no"
16735fi
16736rm -f conftest*
16737fi
16738
16739if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16740 echo "$ac_t""yes" 1>&6
16741 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16742 cat >> confdefs.h <<EOF
16743#define $ac_tr_func 1
16744EOF
16745
16746else
16747 echo "$ac_t""no" 1>&6
16748fi
16749done
16750
16751
16752ac_ext=c
16753# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16754ac_cpp='$CPP $CPPFLAGS'
16755ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16756ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16757cross_compiling=$ac_cv_prog_cc_cross
16758
16759
16760INET_LINK=
16761for ac_func in inet_addr
16762do
16763echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16764echo "configure:16765: checking for $ac_func" >&5
16765if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16766 echo $ac_n "(cached) $ac_c" 1>&6
16767else
16768 cat > conftest.$ac_ext <<EOF
16769#line 16770 "configure"
16770#include "confdefs.h"
16771/* System header to define __stub macros and hopefully few prototypes,
16772 which can conflict with char $ac_func(); below. */
16773#include <assert.h>
16774/* Override any gcc2 internal prototype to avoid an error. */
16775/* We use char because int might match the return type of a gcc2
16776 builtin and then its argument prototype would still apply. */
16777char $ac_func();
16778
16779int main() {
16780
16781/* The GNU C library defines this for functions which it implements
16782 to always fail with ENOSYS. Some functions are actually named
16783 something starting with __ and the normal name is an alias. */
16784#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16785choke me
16786#else
16787$ac_func();
16788#endif
16789
16790; return 0; }
16791EOF
16792if { (eval echo configure:16793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16793 rm -rf conftest*
16794 eval "ac_cv_func_$ac_func=yes"
16795else
16796 echo "configure: failed program was:" >&5
16797 cat conftest.$ac_ext >&5
16798 rm -rf conftest*
16799 eval "ac_cv_func_$ac_func=no"
16800fi
16801rm -f conftest*
16802fi
16803
16804if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16805 echo "$ac_t""yes" 1>&6
16806 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16807 cat >> confdefs.h <<EOF
16808#define $ac_tr_func 1
16809EOF
16810 cat >> confdefs.h <<\EOF
16811#define HAVE_INET_ADDR 1
16812EOF
16813
16814else
16815 echo "$ac_t""no" 1>&6
16816echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
16817echo "configure:16818: checking for inet_addr in -lnsl" >&5
16818ac_lib_var=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
16819if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16820 echo $ac_n "(cached) $ac_c" 1>&6
16821else
16822 ac_save_LIBS="$LIBS"
16823LIBS="-lnsl $LIBS"
16824cat > conftest.$ac_ext <<EOF
16825#line 16826 "configure"
16826#include "confdefs.h"
16827/* Override any gcc2 internal prototype to avoid an error. */
16828/* We use char because int might match the return type of a gcc2
16829 builtin and then its argument prototype would still apply. */
16830char inet_addr();
16831
16832int main() {
16833inet_addr()
16834; return 0; }
16835EOF
16836if { (eval echo configure:16837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16837 rm -rf conftest*
16838 eval "ac_cv_lib_$ac_lib_var=yes"
16839else
16840 echo "configure: failed program was:" >&5
16841 cat conftest.$ac_ext >&5
16842 rm -rf conftest*
16843 eval "ac_cv_lib_$ac_lib_var=no"
16844fi
16845rm -f conftest*
16846LIBS="$ac_save_LIBS"
16847
16848fi
16849if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16850 echo "$ac_t""yes" 1>&6
16851 INET_LINK="nsl"
16852else
16853 echo "$ac_t""no" 1>&6
16854echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
16855echo "configure:16856: checking for inet_addr in -lresolv" >&5
16856ac_lib_var=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
16857if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16858 echo $ac_n "(cached) $ac_c" 1>&6
16859else
16860 ac_save_LIBS="$LIBS"
16861LIBS="-lresolv $LIBS"
16862cat > conftest.$ac_ext <<EOF
16863#line 16864 "configure"
16864#include "confdefs.h"
16865/* Override any gcc2 internal prototype to avoid an error. */
16866/* We use char because int might match the return type of a gcc2
16867 builtin and then its argument prototype would still apply. */
16868char inet_addr();
16869
16870int main() {
16871inet_addr()
16872; return 0; }
16873EOF
16874if { (eval echo configure:16875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16875 rm -rf conftest*
16876 eval "ac_cv_lib_$ac_lib_var=yes"
16877else
16878 echo "configure: failed program was:" >&5
16879 cat conftest.$ac_ext >&5
16880 rm -rf conftest*
16881 eval "ac_cv_lib_$ac_lib_var=no"
16882fi
16883rm -f conftest*
16884LIBS="$ac_save_LIBS"
16885
16886fi
16887if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16888 echo "$ac_t""yes" 1>&6
16889 INET_LINK="resolv"
16890else
16891 echo "$ac_t""no" 1>&6
16892echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
16893echo "configure:16894: checking for inet_addr in -lsocket" >&5
16894ac_lib_var=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
16895if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16896 echo $ac_n "(cached) $ac_c" 1>&6
16897else
16898 ac_save_LIBS="$LIBS"
16899LIBS="-lsocket $LIBS"
16900cat > conftest.$ac_ext <<EOF
16901#line 16902 "configure"
16902#include "confdefs.h"
16903/* Override any gcc2 internal prototype to avoid an error. */
16904/* We use char because int might match the return type of a gcc2
16905 builtin and then its argument prototype would still apply. */
16906char inet_addr();
16907
16908int main() {
16909inet_addr()
16910; return 0; }
16911EOF
16912if { (eval echo configure:16913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16913 rm -rf conftest*
16914 eval "ac_cv_lib_$ac_lib_var=yes"
16915else
16916 echo "configure: failed program was:" >&5
16917 cat conftest.$ac_ext >&5
16918 rm -rf conftest*
16919 eval "ac_cv_lib_$ac_lib_var=no"
16920fi
16921rm -f conftest*
16922LIBS="$ac_save_LIBS"
16923
16924fi
16925if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16926 echo "$ac_t""yes" 1>&6
16927 INET_LINK="socket"
16928
16929else
16930 echo "$ac_t""no" 1>&6
16931fi
16932
16933
16934fi
16935
16936
16937fi
16938
16939
16940
16941fi
16942done
16943
16944
16945for ac_func in inet_aton
16946do
16947echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16948echo "configure:16949: checking for $ac_func" >&5
16949if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16950 echo $ac_n "(cached) $ac_c" 1>&6
16951else
16952 cat > conftest.$ac_ext <<EOF
16953#line 16954 "configure"
16954#include "confdefs.h"
16955/* System header to define __stub macros and hopefully few prototypes,
16956 which can conflict with char $ac_func(); below. */
16957#include <assert.h>
16958/* Override any gcc2 internal prototype to avoid an error. */
16959/* We use char because int might match the return type of a gcc2
16960 builtin and then its argument prototype would still apply. */
16961char $ac_func();
16962
16963int main() {
16964
16965/* The GNU C library defines this for functions which it implements
16966 to always fail with ENOSYS. Some functions are actually named
16967 something starting with __ and the normal name is an alias. */
16968#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16969choke me
16970#else
16971$ac_func();
16972#endif
16973
16974; return 0; }
16975EOF
16976if { (eval echo configure:16977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16977 rm -rf conftest*
16978 eval "ac_cv_func_$ac_func=yes"
16979else
16980 echo "configure: failed program was:" >&5
16981 cat conftest.$ac_ext >&5
16982 rm -rf conftest*
16983 eval "ac_cv_func_$ac_func=no"
16984fi
16985rm -f conftest*
16986fi
16987
16988if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16989 echo "$ac_t""yes" 1>&6
16990 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16991 cat >> confdefs.h <<EOF
16992#define $ac_tr_func 1
16993EOF
16994 cat >> confdefs.h <<\EOF
16995#define HAVE_INET_ATON 1
16996EOF
16997
16998else
16999 echo "$ac_t""no" 1>&6
17000 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
17001echo "configure:17002: checking for inet_aton in -l$INET_LINK" >&5
17002ac_lib_var=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
17003if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17004 echo $ac_n "(cached) $ac_c" 1>&6
17005else
17006 ac_save_LIBS="$LIBS"
17007LIBS="-l$INET_LINK $LIBS"
17008cat > conftest.$ac_ext <<EOF
17009#line 17010 "configure"
17010#include "confdefs.h"
17011/* Override any gcc2 internal prototype to avoid an error. */
17012/* We use char because int might match the return type of a gcc2
17013 builtin and then its argument prototype would still apply. */
17014char inet_aton();
17015
17016int main() {
17017inet_aton()
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_lib_$ac_lib_var=yes"
17023else
17024 echo "configure: failed program was:" >&5
17025 cat conftest.$ac_ext >&5
17026 rm -rf conftest*
17027 eval "ac_cv_lib_$ac_lib_var=no"
17028fi
17029rm -f conftest*
17030LIBS="$ac_save_LIBS"
17031
17032fi
17033if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17034 echo "$ac_t""yes" 1>&6
17035 cat >> confdefs.h <<\EOF
17036#define HAVE_INET_ATON 1
17037EOF
17038
17039else
17040 echo "$ac_t""no" 1>&6
17041fi
17042
17043
17044fi
17045done
17046
17047
17048if test "x$INET_LINK" != "x"; then
17049 cat >> confdefs.h <<\EOF
17050#define HAVE_INET_ADDR 1
17051EOF
17052
17053 INET_LINK=" -l$INET_LINK"
17054fi
17055
17056fi
17057
17058
17059cat > confcache <<\EOF
17060# This file is a shell script that caches the results of configure
17061# tests run on this system so they can be shared between configure
17062# scripts and configure runs. It is not useful on other systems.
17063# If it contains results you don't want to keep, you may remove or edit it.
17064#
17065# By default, configure uses ./config.cache as the cache file,
17066# creating it if it does not exist already. You can give configure
17067# the --cache-file=FILE option to use a different cache file; that is
17068# what configure does when it calls configure scripts in
17069# subdirectories, so they share the cache.
17070# Giving --cache-file=/dev/null disables caching, for debugging configure.
17071# config.status only pays attention to the cache file if you give it the
17072# --recheck option to rerun configure.
17073#
17074EOF
17075# The following way of writing the cache mishandles newlines in values,
17076# but we know of no workaround that is simple, portable, and efficient.
17077# So, don't put newlines in cache variables' values.
17078# Ultrix sh set writes to stderr and can't be redirected directly,
17079# and sets the high bit in the cache file unless we assign to the vars.
17080(set) 2>&1 |
17081 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17082 *ac_space=\ *)
17083 # `set' does not quote correctly, so add quotes (double-quote substitution
17084 # turns \\\\ into \\, and sed turns \\ into \).
17085 sed -n \
17086 -e "s/'/'\\\\''/g" \
17087 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17088 ;;
17089 *)
17090 # `set' quotes correctly as required by POSIX, so do not add quotes.
17091 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17092 ;;
17093 esac >> confcache
17094if cmp -s $cache_file confcache; then
17095 :
17096else
17097 if test -w $cache_file; then
17098 echo "updating cache $cache_file"
17099 cat confcache > $cache_file
17100 else
17101 echo "not updating unwritable cache $cache_file"
17102 fi
17103fi
17104rm -f confcache
17105
17106
17107
17108if test "$TOOLKIT" != "MSW"; then
17109
17110
17111 THREADS_LINK=
17112 THREADS_OBJ=
17113 CODE_GEN_FLAGS=
17114 CODE_GEN_FLAGS_CXX=
17115
17116 if test "$wxUSE_THREADS" = "yes" ; then
17117 if test "$wxUSE_WINE" = 1 ; then
17118 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
17119 wxUSE_THREADS="no"
17120 elif test "$USE_BEOS" = 1; then
17121 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
17122 wxUSE_THREADS="no"
17123 fi
17124 fi
17125
17126 if test "$wxUSE_THREADS" = "yes" ; then
17127
17128 if test "$USE_AIX" = 1; then
17129 THREADS_LIB=pthreads
17130 else
17131 THREADS_LIB=pthread
17132 fi
17133
17134 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
17135echo "configure:17136: checking for pthread_create in -l$THREADS_LIB" >&5
17136ac_lib_var=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
17137if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17138 echo $ac_n "(cached) $ac_c" 1>&6
17139else
17140 ac_save_LIBS="$LIBS"
17141LIBS="-l$THREADS_LIB $LIBS"
17142cat > conftest.$ac_ext <<EOF
17143#line 17144 "configure"
17144#include "confdefs.h"
17145/* Override any gcc2 internal prototype to avoid an error. */
17146/* We use char because int might match the return type of a gcc2
17147 builtin and then its argument prototype would still apply. */
17148char pthread_create();
17149
17150int main() {
17151pthread_create()
17152; return 0; }
17153EOF
17154if { (eval echo configure:17155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17155 rm -rf conftest*
17156 eval "ac_cv_lib_$ac_lib_var=yes"
17157else
17158 echo "configure: failed program was:" >&5
17159 cat conftest.$ac_ext >&5
17160 rm -rf conftest*
17161 eval "ac_cv_lib_$ac_lib_var=no"
17162fi
17163rm -f conftest*
17164LIBS="$ac_save_LIBS"
17165
17166fi
17167if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17168 echo "$ac_t""yes" 1>&6
17169
17170 THREADS_OBJ="threadpsx.lo"
17171 THREADS_LINK=$THREADS_LIB
17172
17173else
17174 echo "$ac_t""no" 1>&6
17175
17176 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
17177echo "configure:17178: checking for pthread_create in -lc_r" >&5
17178ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
17179if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17180 echo $ac_n "(cached) $ac_c" 1>&6
17181else
17182 ac_save_LIBS="$LIBS"
17183LIBS="-lc_r $LIBS"
17184cat > conftest.$ac_ext <<EOF
17185#line 17186 "configure"
17186#include "confdefs.h"
17187/* Override any gcc2 internal prototype to avoid an error. */
17188/* We use char because int might match the return type of a gcc2
17189 builtin and then its argument prototype would still apply. */
17190char pthread_create();
17191
17192int main() {
17193pthread_create()
17194; return 0; }
17195EOF
17196if { (eval echo configure:17197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17197 rm -rf conftest*
17198 eval "ac_cv_lib_$ac_lib_var=yes"
17199else
17200 echo "configure: failed program was:" >&5
17201 cat conftest.$ac_ext >&5
17202 rm -rf conftest*
17203 eval "ac_cv_lib_$ac_lib_var=no"
17204fi
17205rm -f conftest*
17206LIBS="$ac_save_LIBS"
17207
17208fi
17209if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17210 echo "$ac_t""yes" 1>&6
17211
17212 THREADS_OBJ="threadpsx.lo"
17213 THREADS_LINK="c_r"
17214
17215else
17216 echo "$ac_t""no" 1>&6
17217
17218 ac_safe=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
17219echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
17220echo "configure:17221: checking for sys/prctl.h" >&5
17221if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17222 echo $ac_n "(cached) $ac_c" 1>&6
17223else
17224 cat > conftest.$ac_ext <<EOF
17225#line 17226 "configure"
17226#include "confdefs.h"
17227#include <sys/prctl.h>
17228EOF
17229ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17230{ (eval echo configure:17231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17231ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17232if test -z "$ac_err"; then
17233 rm -rf conftest*
17234 eval "ac_cv_header_$ac_safe=yes"
17235else
17236 echo "$ac_err" >&5
17237 echo "configure: failed program was:" >&5
17238 cat conftest.$ac_ext >&5
17239 rm -rf conftest*
17240 eval "ac_cv_header_$ac_safe=no"
17241fi
17242rm -f conftest*
17243fi
17244if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17245 echo "$ac_t""yes" 1>&6
17246
17247 THREADS_OBJ="threadsgi.lo"
17248
17249else
17250 echo "$ac_t""no" 1>&6
17251fi
17252
17253
17254fi
17255
17256
17257fi
17258
17259
17260 if test -z "$THREADS_OBJ" ; then
17261 wxUSE_THREADS=no
17262 echo "configure: warning: No thread support on this system... disabled" 1>&2
17263 fi
17264 fi
17265
17266 if test "$wxUSE_THREADS" = "yes" ; then
17267 for ac_func in thr_setconcurrency
17268do
17269echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17270echo "configure:17271: checking for $ac_func" >&5
17271if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17272 echo $ac_n "(cached) $ac_c" 1>&6
17273else
17274 cat > conftest.$ac_ext <<EOF
17275#line 17276 "configure"
17276#include "confdefs.h"
17277/* System header to define __stub macros and hopefully few prototypes,
17278 which can conflict with char $ac_func(); below. */
17279#include <assert.h>
17280/* Override any gcc2 internal prototype to avoid an error. */
17281/* We use char because int might match the return type of a gcc2
17282 builtin and then its argument prototype would still apply. */
17283char $ac_func();
17284
17285int main() {
17286
17287/* The GNU C library defines this for functions which it implements
17288 to always fail with ENOSYS. Some functions are actually named
17289 something starting with __ and the normal name is an alias. */
17290#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17291choke me
17292#else
17293$ac_func();
17294#endif
17295
17296; return 0; }
17297EOF
17298if { (eval echo configure:17299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17299 rm -rf conftest*
17300 eval "ac_cv_func_$ac_func=yes"
17301else
17302 echo "configure: failed program was:" >&5
17303 cat conftest.$ac_ext >&5
17304 rm -rf conftest*
17305 eval "ac_cv_func_$ac_func=no"
17306fi
17307rm -f conftest*
17308fi
17309
17310if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17311 echo "$ac_t""yes" 1>&6
17312 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17313 cat >> confdefs.h <<EOF
17314#define $ac_tr_func 1
17315EOF
17316
17317else
17318 echo "$ac_t""no" 1>&6
17319fi
17320done
17321
17322
17323
17324 for ac_hdr in sched.h
17325do
17326ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17327echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17328echo "configure:17329: checking for $ac_hdr" >&5
17329if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17330 echo $ac_n "(cached) $ac_c" 1>&6
17331else
17332 cat > conftest.$ac_ext <<EOF
17333#line 17334 "configure"
17334#include "confdefs.h"
17335#include <$ac_hdr>
17336EOF
17337ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17338{ (eval echo configure:17339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17339ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17340if test -z "$ac_err"; then
17341 rm -rf conftest*
17342 eval "ac_cv_header_$ac_safe=yes"
17343else
17344 echo "$ac_err" >&5
17345 echo "configure: failed program was:" >&5
17346 cat conftest.$ac_ext >&5
17347 rm -rf conftest*
17348 eval "ac_cv_header_$ac_safe=no"
17349fi
17350rm -f conftest*
17351fi
17352if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17353 echo "$ac_t""yes" 1>&6
17354 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17355 cat >> confdefs.h <<EOF
17356#define $ac_tr_hdr 1
17357EOF
17358
17359else
17360 echo "$ac_t""no" 1>&6
17361fi
17362done
17363
17364
17365 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
17366echo "configure:17367: checking for sched_yield in -l$THREADS_LINK" >&5
17367ac_lib_var=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
17368if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17369 echo $ac_n "(cached) $ac_c" 1>&6
17370else
17371 ac_save_LIBS="$LIBS"
17372LIBS="-l$THREADS_LINK $LIBS"
17373cat > conftest.$ac_ext <<EOF
17374#line 17375 "configure"
17375#include "confdefs.h"
17376/* Override any gcc2 internal prototype to avoid an error. */
17377/* We use char because int might match the return type of a gcc2
17378 builtin and then its argument prototype would still apply. */
17379char sched_yield();
17380
17381int main() {
17382sched_yield()
17383; return 0; }
17384EOF
17385if { (eval echo configure:17386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17386 rm -rf conftest*
17387 eval "ac_cv_lib_$ac_lib_var=yes"
17388else
17389 echo "configure: failed program was:" >&5
17390 cat conftest.$ac_ext >&5
17391 rm -rf conftest*
17392 eval "ac_cv_lib_$ac_lib_var=no"
17393fi
17394rm -f conftest*
17395LIBS="$ac_save_LIBS"
17396
17397fi
17398if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17399 echo "$ac_t""yes" 1>&6
17400 cat >> confdefs.h <<\EOF
17401#define HAVE_SCHED_YIELD 1
17402EOF
17403
17404else
17405 echo "$ac_t""no" 1>&6
17406echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
17407echo "configure:17408: checking for sched_yield in -lposix4" >&5
17408ac_lib_var=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
17409if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17410 echo $ac_n "(cached) $ac_c" 1>&6
17411else
17412 ac_save_LIBS="$LIBS"
17413LIBS="-lposix4 $LIBS"
17414cat > conftest.$ac_ext <<EOF
17415#line 17416 "configure"
17416#include "confdefs.h"
17417/* Override any gcc2 internal prototype to avoid an error. */
17418/* We use char because int might match the return type of a gcc2
17419 builtin and then its argument prototype would still apply. */
17420char sched_yield();
17421
17422int main() {
17423sched_yield()
17424; return 0; }
17425EOF
17426if { (eval echo configure:17427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17427 rm -rf conftest*
17428 eval "ac_cv_lib_$ac_lib_var=yes"
17429else
17430 echo "configure: failed program was:" >&5
17431 cat conftest.$ac_ext >&5
17432 rm -rf conftest*
17433 eval "ac_cv_lib_$ac_lib_var=no"
17434fi
17435rm -f conftest*
17436LIBS="$ac_save_LIBS"
17437
17438fi
17439if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17440 echo "$ac_t""yes" 1>&6
17441 cat >> confdefs.h <<\EOF
17442#define HAVE_SCHED_YIELD 1
17443EOF
17444 POSIX4_LINK=" -lposix4"
17445else
17446 echo "$ac_t""no" 1>&6
17447echo "configure: warning: wxThread::Yield will not work properly" 1>&2
17448
17449fi
17450
17451
17452fi
17453
17454
17455 HAVE_PRIOR_FUNCS=0
17456 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
17457echo "configure:17458: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
17458ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
17459if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17460 echo $ac_n "(cached) $ac_c" 1>&6
17461else
17462 ac_save_LIBS="$LIBS"
17463LIBS="-l$THREADS_LINK $LIBS"
17464cat > conftest.$ac_ext <<EOF
17465#line 17466 "configure"
17466#include "confdefs.h"
17467/* Override any gcc2 internal prototype to avoid an error. */
17468/* We use char because int might match the return type of a gcc2
17469 builtin and then its argument prototype would still apply. */
17470char pthread_attr_getschedpolicy();
17471
17472int main() {
17473pthread_attr_getschedpolicy()
17474; return 0; }
17475EOF
17476if { (eval echo configure:17477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17477 rm -rf conftest*
17478 eval "ac_cv_lib_$ac_lib_var=yes"
17479else
17480 echo "configure: failed program was:" >&5
17481 cat conftest.$ac_ext >&5
17482 rm -rf conftest*
17483 eval "ac_cv_lib_$ac_lib_var=no"
17484fi
17485rm -f conftest*
17486LIBS="$ac_save_LIBS"
17487
17488fi
17489if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17490 echo "$ac_t""yes" 1>&6
17491 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
17492echo "configure:17493: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
17493ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
17494if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17495 echo $ac_n "(cached) $ac_c" 1>&6
17496else
17497 ac_save_LIBS="$LIBS"
17498LIBS="-l$THREADS_LINK $LIBS"
17499cat > conftest.$ac_ext <<EOF
17500#line 17501 "configure"
17501#include "confdefs.h"
17502/* Override any gcc2 internal prototype to avoid an error. */
17503/* We use char because int might match the return type of a gcc2
17504 builtin and then its argument prototype would still apply. */
17505char pthread_attr_setschedparam();
17506
17507int main() {
17508pthread_attr_setschedparam()
17509; return 0; }
17510EOF
17511if { (eval echo configure:17512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17512 rm -rf conftest*
17513 eval "ac_cv_lib_$ac_lib_var=yes"
17514else
17515 echo "configure: failed program was:" >&5
17516 cat conftest.$ac_ext >&5
17517 rm -rf conftest*
17518 eval "ac_cv_lib_$ac_lib_var=no"
17519fi
17520rm -f conftest*
17521LIBS="$ac_save_LIBS"
17522
17523fi
17524if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17525 echo "$ac_t""yes" 1>&6
17526 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
17527echo "configure:17528: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
17528ac_lib_var=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17529if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17530 echo $ac_n "(cached) $ac_c" 1>&6
17531else
17532 ac_save_LIBS="$LIBS"
17533LIBS="-l$THREADS_LINK $LIBS"
17534cat > conftest.$ac_ext <<EOF
17535#line 17536 "configure"
17536#include "confdefs.h"
17537/* Override any gcc2 internal prototype to avoid an error. */
17538/* We use char because int might match the return type of a gcc2
17539 builtin and then its argument prototype would still apply. */
17540char sched_get_priority_max();
17541
17542int main() {
17543sched_get_priority_max()
17544; return 0; }
17545EOF
17546if { (eval echo configure:17547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17547 rm -rf conftest*
17548 eval "ac_cv_lib_$ac_lib_var=yes"
17549else
17550 echo "configure: failed program was:" >&5
17551 cat conftest.$ac_ext >&5
17552 rm -rf conftest*
17553 eval "ac_cv_lib_$ac_lib_var=no"
17554fi
17555rm -f conftest*
17556LIBS="$ac_save_LIBS"
17557
17558fi
17559if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17560 echo "$ac_t""yes" 1>&6
17561 HAVE_PRIOR_FUNCS=1
17562else
17563 echo "$ac_t""no" 1>&6
17564echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
17565echo "configure:17566: checking for sched_get_priority_max in -lposix4" >&5
17566ac_lib_var=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17567if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17568 echo $ac_n "(cached) $ac_c" 1>&6
17569else
17570 ac_save_LIBS="$LIBS"
17571LIBS="-lposix4 $LIBS"
17572cat > conftest.$ac_ext <<EOF
17573#line 17574 "configure"
17574#include "confdefs.h"
17575/* Override any gcc2 internal prototype to avoid an error. */
17576/* We use char because int might match the return type of a gcc2
17577 builtin and then its argument prototype would still apply. */
17578char sched_get_priority_max();
17579
17580int main() {
17581sched_get_priority_max()
17582; return 0; }
17583EOF
17584if { (eval echo configure:17585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17585 rm -rf conftest*
17586 eval "ac_cv_lib_$ac_lib_var=yes"
17587else
17588 echo "configure: failed program was:" >&5
17589 cat conftest.$ac_ext >&5
17590 rm -rf conftest*
17591 eval "ac_cv_lib_$ac_lib_var=no"
17592fi
17593rm -f conftest*
17594LIBS="$ac_save_LIBS"
17595
17596fi
17597if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17598 echo "$ac_t""yes" 1>&6
17599
17600 HAVE_PRIOR_FUNCS=1
17601 POSIX4_LINK=" -lposix4"
17602
17603else
17604 echo "$ac_t""no" 1>&6
17605fi
17606
17607
17608fi
17609
17610
17611else
17612 echo "$ac_t""no" 1>&6
17613fi
17614
17615
17616else
17617 echo "$ac_t""no" 1>&6
17618fi
17619
17620
17621 if test "$HAVE_PRIOR_FUNCS" = 1; then
17622 cat >> confdefs.h <<\EOF
17623#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
17624EOF
17625
17626 else
17627 echo "configure: warning: Setting thread priority will not work" 1>&2
17628 fi
17629
17630 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
17631echo "configure:17632: checking for pthread_cancel in -l$THREADS_LINK" >&5
17632ac_lib_var=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
17633if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17634 echo $ac_n "(cached) $ac_c" 1>&6
17635else
17636 ac_save_LIBS="$LIBS"
17637LIBS="-l$THREADS_LINK $LIBS"
17638cat > conftest.$ac_ext <<EOF
17639#line 17640 "configure"
17640#include "confdefs.h"
17641/* Override any gcc2 internal prototype to avoid an error. */
17642/* We use char because int might match the return type of a gcc2
17643 builtin and then its argument prototype would still apply. */
17644char pthread_cancel();
17645
17646int main() {
17647pthread_cancel()
17648; return 0; }
17649EOF
17650if { (eval echo configure:17651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17651 rm -rf conftest*
17652 eval "ac_cv_lib_$ac_lib_var=yes"
17653else
17654 echo "configure: failed program was:" >&5
17655 cat conftest.$ac_ext >&5
17656 rm -rf conftest*
17657 eval "ac_cv_lib_$ac_lib_var=no"
17658fi
17659rm -f conftest*
17660LIBS="$ac_save_LIBS"
17661
17662fi
17663if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17664 echo "$ac_t""yes" 1>&6
17665 cat >> confdefs.h <<\EOF
17666#define HAVE_PTHREAD_CANCEL 1
17667EOF
17668
17669else
17670 echo "$ac_t""no" 1>&6
17671echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
17672fi
17673
17674
17675 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
17676echo "configure:17677: checking for pthread_cleanup_push/pop" >&5
17677if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
17678 echo $ac_n "(cached) $ac_c" 1>&6
17679else
17680
17681 cat > conftest.$ac_ext <<EOF
17682#line 17683 "configure"
17683#include "confdefs.h"
17684#include <pthread.h>
17685int main() {
17686
17687 pthread_cleanup_push(NULL, NULL);
17688 pthread_cleanup_pop(0);
17689
17690; return 0; }
17691EOF
17692if { (eval echo configure:17693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17693 rm -rf conftest*
17694
17695 wx_cv_func_pthread_cleanup_push=yes
17696
17697else
17698 echo "configure: failed program was:" >&5
17699 cat conftest.$ac_ext >&5
17700 rm -rf conftest*
17701
17702 wx_cv_func_pthread_cleanup_push=no
17703
17704fi
17705rm -f conftest*
17706
17707fi
17708
17709echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
17710
17711 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
17712 cat >> confdefs.h <<\EOF
17713#define HAVE_THREAD_CLEANUP_FUNCTIONS 1
17714EOF
17715
17716 fi
17717
17718
17719 if test "x$wx_lib_glibc21" = "xyes"; then
17720 CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
17721 fi
17722
17723 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
17724echo "configure:17725: checking for pthread_mutexattr_t" >&5
17725if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
17726 echo $ac_n "(cached) $ac_c" 1>&6
17727else
17728
17729 cat > conftest.$ac_ext <<EOF
17730#line 17731 "configure"
17731#include "confdefs.h"
17732#include <pthread.h>
17733int main() {
17734
17735 pthread_mutexattr_t attr;
17736 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
17737
17738; return 0; }
17739EOF
17740if { (eval echo configure:17741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17741 rm -rf conftest*
17742
17743 wx_cv_type_pthread_mutexattr_t=yes
17744
17745else
17746 echo "configure: failed program was:" >&5
17747 cat conftest.$ac_ext >&5
17748 rm -rf conftest*
17749
17750 wx_cv_type_pthread_mutexattr_t=no
17751
17752
17753fi
17754rm -f conftest*
17755
17756fi
17757
17758echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
17759
17760 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
17761 cat >> confdefs.h <<\EOF
17762#define HAVE_PTHREAD_MUTEXATTR_T 1
17763EOF
17764
17765 else
17766 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
17767echo "configure:17768: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
17768if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
17769 echo $ac_n "(cached) $ac_c" 1>&6
17770else
17771
17772 cat > conftest.$ac_ext <<EOF
17773#line 17774 "configure"
17774#include "confdefs.h"
17775#include <pthread.h>
17776int main() {
17777
17778 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
17779
17780; return 0; }
17781EOF
17782if { (eval echo configure:17783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17783 rm -rf conftest*
17784
17785 wx_cv_type_pthread_rec_mutex_init=yes
17786
17787else
17788 echo "configure: failed program was:" >&5
17789 cat conftest.$ac_ext >&5
17790 rm -rf conftest*
17791
17792 wx_cv_type_pthread_rec_mutex_init=no
17793
17794
17795fi
17796rm -f conftest*
17797
17798fi
17799
17800echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
17801 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
17802 cat >> confdefs.h <<\EOF
17803#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
17804EOF
17805
17806 else
17807 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
17808 fi
17809 fi
17810
17811 THREADS_LINK=" -l$THREADS_LINK"
17812
17813 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
17814 CPPFLAGS="$CFLAGS -mt"
17815 CXXFLAGS="$CXXFLAGS -mt"
17816 LDFLAGS="$LDFLAGS -mt"
17817 fi
17818 fi
17819
17820fi
17821
17822if test "$wxUSE_THREADS" = "yes"; then
17823 cat >> confdefs.h <<\EOF
17824#define wxUSE_THREADS 1
17825EOF
17826
17827
17828 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS $CPP_MT_FLAG"
17829
17830 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
17831else
17832 if test "$ac_cv_func_strtok_r" = "yes"; then
17833 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
17834echo "configure:17835: checking if -D_REENTRANT is needed" >&5
17835 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
17836 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
17837 echo "$ac_t""yes" 1>&6
17838 else
17839 echo "$ac_t""no" 1>&6
17840 fi
17841 fi
17842fi
17843
17844if test "$WXGTK20" = 1 ; then
17845 cat >> confdefs.h <<EOF
17846#define __WXGTK20__ $WXGTK20
17847EOF
17848
17849 WXGTK12=1
17850fi
17851
17852if test "$WXGTK12" = 1 ; then
17853 cat >> confdefs.h <<EOF
17854#define __WXGTK12__ $WXGTK12
17855EOF
17856
17857fi
17858
17859if test "$WXGTK127" = 1 ; then
17860 cat >> confdefs.h <<EOF
17861#define __WXGTK127__ $WXGTK127
17862EOF
17863
17864fi
17865
17866WXDEBUG=
17867
17868if test "$wxUSE_DEBUG_INFO" = "yes" ; then
17869 WXDEBUG="-g"
17870 wxUSE_OPTIMISE=no
17871fi
17872
17873if test "$wxUSE_DEBUG_GDB" = "yes" ; then
17874 wxUSE_DEBUG_INFO=yes
17875 WXDEBUG="-ggdb"
17876fi
17877
17878if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
17879 cat >> confdefs.h <<\EOF
17880#define WXDEBUG 1
17881EOF
17882
17883 WXDEBUG_DEFINE="-D__WXDEBUG__"
17884else
17885 if test "$wxUSE_GTK" = 1 ; then
17886 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
17887 fi
17888fi
17889
17890if test "$wxUSE_MEM_TRACING" = "yes" ; then
17891 cat >> confdefs.h <<\EOF
17892#define wxUSE_MEMORY_TRACING 1
17893EOF
17894
17895 cat >> confdefs.h <<\EOF
17896#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
17897EOF
17898
17899 cat >> confdefs.h <<\EOF
17900#define wxUSE_DEBUG_NEW_ALWAYS 1
17901EOF
17902
17903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
17904fi
17905
17906if test "$wxUSE_DMALLOC" = "yes" ; then
17907 DMALLOC_LIBS="-ldmalloc"
17908fi
17909
17910PROFILE=
17911if test "$wxUSE_PROFILE" = "yes" ; then
17912 PROFILE=" -pg"
17913fi
17914
17915if test "$GCC" = "yes" ; then
17916 if test "$wxUSE_NO_RTTI" = "yes" ; then
17917 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
17918 fi
17919 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
17920 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
17921 fi
17922 if test "$wxUSE_PERMISSIVE" = "yes" ; then
17923 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
17924 fi
17925 if test "$USE_WIN32" = 1 ; then
17926 # I'm not even really sure what this was ever added to solve,
17927 # but someone added it for mingw native builds, so I guess
17928 # they had a reason, right??
17929 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return"
17930 fi
17931fi
17932
17933
17934CXXFLAGS=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
17935CFLAGS=`echo "${CFLAGS}" | sed "s/\-O.//g" `
17936if test "$wxUSE_OPTIMISE" = "no" ; then
17937 OPTIMISE=
17938else
17939 if test "$GCC" = yes ; then
17940 OPTIMISE="-O2"
17941 case "${host}" in
17942 i586-*-*|i686-*-* )
17943 OPTIMISE="${OPTIMISE} "
17944 ;;
17945 esac
17946 else
17947 OPTIMISE="-O"
17948 fi
17949fi
17950
17951if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
17952 cat >> confdefs.h <<\EOF
17953#define WXWIN_COMPATIBILITY_2 1
17954EOF
17955
17956
17957 WXWIN_COMPATIBILITY_2_2="yes"
17958fi
17959
17960if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
17961 cat >> confdefs.h <<\EOF
17962#define WXWIN_COMPATIBILITY_2_2 1
17963EOF
17964
17965fi
17966
17967
17968if test "$wxUSE_GUI" = "yes"; then
17969 cat >> confdefs.h <<\EOF
17970#define wxUSE_GUI 1
17971EOF
17972
17973
17974 else
17975 cat >> confdefs.h <<\EOF
17976#define wxUSE_NOGUI 1
17977EOF
17978
17979fi
17980
17981
17982if test "$wxUSE_UNIX" = "yes"; then
17983 cat >> confdefs.h <<\EOF
17984#define wxUSE_UNIX 1
17985EOF
17986
17987fi
17988
17989
17990if test "$wxUSE_APPLE_IEEE" = "yes"; then
17991 cat >> confdefs.h <<\EOF
17992#define wxUSE_APPLE_IEEE 1
17993EOF
17994
17995fi
17996
17997if test "$wxUSE_TIMER" = "yes"; then
17998 cat >> confdefs.h <<\EOF
17999#define wxUSE_TIMER 1
18000EOF
18001
18002fi
18003
18004if test "$wxUSE_WAVE" = "yes"; then
18005 cat >> confdefs.h <<\EOF
18006#define wxUSE_WAVE 1
18007EOF
18008
18009fi
18010
18011if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
18012 cat >> confdefs.h <<\EOF
18013#define wxUSE_CMDLINE_PARSER 1
18014EOF
18015
18016fi
18017
18018if test "$wxUSE_STOPWATCH" = "yes"; then
18019 cat >> confdefs.h <<\EOF
18020#define wxUSE_STOPWATCH 1
18021EOF
18022
18023fi
18024
18025if test "$wxUSE_DATETIME" = "yes"; then
18026 cat >> confdefs.h <<\EOF
18027#define wxUSE_DATETIME 1
18028EOF
18029
18030fi
18031
18032if test "$wxUSE_TIMEDATE" = "yes"; then
18033 cat >> confdefs.h <<\EOF
18034#define wxUSE_TIMEDATE 1
18035EOF
18036
18037fi
18038
18039if test "$wxUSE_FILE" = "yes"; then
18040 cat >> confdefs.h <<\EOF
18041#define wxUSE_FILE 1
18042EOF
18043
18044fi
18045
18046if test "$wxUSE_FFILE" = "yes"; then
18047 cat >> confdefs.h <<\EOF
18048#define wxUSE_FFILE 1
18049EOF
18050
18051fi
18052
18053if test "$wxUSE_FILESYSTEM" = "yes"; then
18054 cat >> confdefs.h <<\EOF
18055#define wxUSE_FILESYSTEM 1
18056EOF
18057
18058fi
18059
18060if test "$wxUSE_FS_INET" = "yes"; then
18061 cat >> confdefs.h <<\EOF
18062#define wxUSE_FS_INET 1
18063EOF
18064
18065fi
18066
18067if test "$wxUSE_FS_ZIP" = "yes"; then
18068 cat >> confdefs.h <<\EOF
18069#define wxUSE_FS_ZIP 1
18070EOF
18071
18072fi
18073
18074if test "$wxUSE_ZIPSTREAM" = "yes"; then
18075 cat >> confdefs.h <<\EOF
18076#define wxUSE_ZIPSTREAM 1
18077EOF
18078
18079fi
18080
18081if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
18082 cat >> confdefs.h <<\EOF
18083#define wxUSE_ON_FATAL_EXCEPTION 1
18084EOF
18085
18086fi
18087
18088if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18089 cat >> confdefs.h <<\EOF
18090#define wxUSE_SNGLINST_CHECKER 1
18091EOF
18092
18093fi
18094
18095if test "$wxUSE_BUSYINFO" = "yes"; then
18096 cat >> confdefs.h <<\EOF
18097#define wxUSE_BUSYINFO 1
18098EOF
18099
18100fi
18101
18102if test "$wxUSE_STD_IOSTREAM" = "yes"; then
18103 cat >> confdefs.h <<\EOF
18104#define wxUSE_STD_IOSTREAM 1
18105EOF
18106
18107fi
18108
18109if test "$wxUSE_TEXTBUFFER" = "yes"; then
18110 cat >> confdefs.h <<\EOF
18111#define wxUSE_TEXTBUFFER 1
18112EOF
18113
18114fi
18115
18116if test "$wxUSE_TEXTFILE" = "yes"; then
18117 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
18118 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
18119 else
18120 cat >> confdefs.h <<\EOF
18121#define wxUSE_TEXTFILE 1
18122EOF
18123
18124 fi
18125fi
18126
18127if test "$wxUSE_CONFIG" = "yes" ; then
18128 if test "$wxUSE_TEXTFILE" != "yes"; then
18129 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
18130 else
18131 cat >> confdefs.h <<\EOF
18132#define wxUSE_CONFIG 1
18133EOF
18134
18135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
18136 fi
18137fi
18138
18139if test "$wxUSE_INTL" = "yes" ; then
18140 if test "$wxUSE_FILE" != "yes"; then
18141 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
18142 else
18143 cat >> confdefs.h <<\EOF
18144#define wxUSE_INTL 1
18145EOF
18146
18147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
18148 GUIDIST="$GUIDIST INTL_DIST"
18149 fi
18150fi
18151
18152if test "$wxUSE_LOG" = "yes"; then
18153 cat >> confdefs.h <<\EOF
18154#define wxUSE_LOG 1
18155EOF
18156
18157
18158 if test "$wxUSE_LOGGUI" = "yes"; then
18159 cat >> confdefs.h <<\EOF
18160#define wxUSE_LOGGUI 1
18161EOF
18162
18163 fi
18164
18165 if test "$wxUSE_LOGWINDOW" = "yes"; then
18166 cat >> confdefs.h <<\EOF
18167#define wxUSE_LOGWINDOW 1
18168EOF
18169
18170 fi
18171
18172 if test "$wxUSE_LOGDIALOG" = "yes"; then
18173 cat >> confdefs.h <<\EOF
18174#define wxUSE_LOG_DIALOG 1
18175EOF
18176
18177 fi
18178fi
18179
18180if test "$wxUSE_LONGLONG" = "yes"; then
18181 cat >> confdefs.h <<\EOF
18182#define wxUSE_LONGLONG 1
18183EOF
18184
18185fi
18186
18187if test "$wxUSE_GEOMETRY" = "yes"; then
18188 cat >> confdefs.h <<\EOF
18189#define wxUSE_GEOMETRY 1
18190EOF
18191
18192fi
18193
18194if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
18195 cat >> confdefs.h <<\EOF
18196#define wxUSE_DIALUP_MANAGER 1
18197EOF
18198
18199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
18200fi
18201
18202if test "$wxUSE_STREAMS" = "yes" ; then
18203 cat >> confdefs.h <<\EOF
18204#define wxUSE_STREAMS 1
18205EOF
18206
18207fi
18208
18209
18210if test "$wxUSE_DATETIME" = "yes"; then
18211 for ac_func in strptime
18212do
18213echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18214echo "configure:18215: checking for $ac_func" >&5
18215if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18216 echo $ac_n "(cached) $ac_c" 1>&6
18217else
18218 cat > conftest.$ac_ext <<EOF
18219#line 18220 "configure"
18220#include "confdefs.h"
18221/* System header to define __stub macros and hopefully few prototypes,
18222 which can conflict with char $ac_func(); below. */
18223#include <assert.h>
18224/* Override any gcc2 internal prototype to avoid an error. */
18225/* We use char because int might match the return type of a gcc2
18226 builtin and then its argument prototype would still apply. */
18227char $ac_func();
18228
18229int main() {
18230
18231/* The GNU C library defines this for functions which it implements
18232 to always fail with ENOSYS. Some functions are actually named
18233 something starting with __ and the normal name is an alias. */
18234#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18235choke me
18236#else
18237$ac_func();
18238#endif
18239
18240; return 0; }
18241EOF
18242if { (eval echo configure:18243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18243 rm -rf conftest*
18244 eval "ac_cv_func_$ac_func=yes"
18245else
18246 echo "configure: failed program was:" >&5
18247 cat conftest.$ac_ext >&5
18248 rm -rf conftest*
18249 eval "ac_cv_func_$ac_func=no"
18250fi
18251rm -f conftest*
18252fi
18253
18254if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18255 echo "$ac_t""yes" 1>&6
18256 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18257 cat >> confdefs.h <<EOF
18258#define $ac_tr_func 1
18259EOF
18260
18261else
18262 echo "$ac_t""no" 1>&6
18263fi
18264done
18265
18266
18267 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
18268echo "configure:18269: checking for timezone variable in <time.h>" >&5
18269if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
18270 echo $ac_n "(cached) $ac_c" 1>&6
18271else
18272
18273 cat > conftest.$ac_ext <<EOF
18274#line 18275 "configure"
18275#include "confdefs.h"
18276
18277 #include <time.h>
18278
18279int main() {
18280
18281 int tz;
18282 tz = timezone;
18283
18284; return 0; }
18285EOF
18286if { (eval echo configure:18287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18287 rm -rf conftest*
18288
18289 wx_cv_var_timezone=timezone
18290
18291else
18292 echo "configure: failed program was:" >&5
18293 cat conftest.$ac_ext >&5
18294 rm -rf conftest*
18295
18296 cat > conftest.$ac_ext <<EOF
18297#line 18298 "configure"
18298#include "confdefs.h"
18299
18300 #include <time.h>
18301
18302int main() {
18303
18304 int tz;
18305 tz = _timezone;
18306
18307; return 0; }
18308EOF
18309if { (eval echo configure:18310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18310 rm -rf conftest*
18311
18312 wx_cv_var_timezone=_timezone
18313
18314else
18315 echo "configure: failed program was:" >&5
18316 cat conftest.$ac_ext >&5
18317 rm -rf conftest*
18318
18319 cat > conftest.$ac_ext <<EOF
18320#line 18321 "configure"
18321#include "confdefs.h"
18322
18323 #include <time.h>
18324
18325int main() {
18326
18327 int tz;
18328 tz = __timezone;
18329
18330; return 0; }
18331EOF
18332if { (eval echo configure:18333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18333 rm -rf conftest*
18334
18335 wx_cv_var_timezone=__timezone
18336
18337else
18338 echo "configure: failed program was:" >&5
18339 cat conftest.$ac_ext >&5
18340 rm -rf conftest*
18341
18342 if test "$USE_DOS" = 0 ; then
18343 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
18344 fi
18345
18346
18347fi
18348rm -f conftest*
18349
18350
18351fi
18352rm -f conftest*
18353
18354
18355fi
18356rm -f conftest*
18357
18358
18359fi
18360
18361echo "$ac_t""$wx_cv_var_timezone" 1>&6
18362
18363 if test "x$wx_cv_var_timezone" != x ; then
18364 cat >> confdefs.h <<EOF
18365#define WX_TIMEZONE $wx_cv_var_timezone
18366EOF
18367
18368 fi
18369
18370 for ac_func in localtime
18371do
18372echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18373echo "configure:18374: checking for $ac_func" >&5
18374if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18375 echo $ac_n "(cached) $ac_c" 1>&6
18376else
18377 cat > conftest.$ac_ext <<EOF
18378#line 18379 "configure"
18379#include "confdefs.h"
18380/* System header to define __stub macros and hopefully few prototypes,
18381 which can conflict with char $ac_func(); below. */
18382#include <assert.h>
18383/* Override any gcc2 internal prototype to avoid an error. */
18384/* We use char because int might match the return type of a gcc2
18385 builtin and then its argument prototype would still apply. */
18386char $ac_func();
18387
18388int main() {
18389
18390/* The GNU C library defines this for functions which it implements
18391 to always fail with ENOSYS. Some functions are actually named
18392 something starting with __ and the normal name is an alias. */
18393#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18394choke me
18395#else
18396$ac_func();
18397#endif
18398
18399; return 0; }
18400EOF
18401if { (eval echo configure:18402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18402 rm -rf conftest*
18403 eval "ac_cv_func_$ac_func=yes"
18404else
18405 echo "configure: failed program was:" >&5
18406 cat conftest.$ac_ext >&5
18407 rm -rf conftest*
18408 eval "ac_cv_func_$ac_func=no"
18409fi
18410rm -f conftest*
18411fi
18412
18413if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18414 echo "$ac_t""yes" 1>&6
18415 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18416 cat >> confdefs.h <<EOF
18417#define $ac_tr_func 1
18418EOF
18419
18420else
18421 echo "$ac_t""no" 1>&6
18422fi
18423done
18424
18425
18426 if test "$ac_cv_func_localtime" = "yes"; then
18427 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
18428echo "configure:18429: checking for tm_gmtoff in struct tm" >&5
18429if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
18430 echo $ac_n "(cached) $ac_c" 1>&6
18431else
18432
18433 cat > conftest.$ac_ext <<EOF
18434#line 18435 "configure"
18435#include "confdefs.h"
18436
18437 #include <time.h>
18438
18439int main() {
18440
18441 struct tm tm;
18442 tm.tm_gmtoff++;
18443
18444; return 0; }
18445EOF
18446if { (eval echo configure:18447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18447 rm -rf conftest*
18448
18449 wx_cv_struct_tm_has_gmtoff=yes
18450
18451else
18452 echo "configure: failed program was:" >&5
18453 cat conftest.$ac_ext >&5
18454 rm -rf conftest*
18455 wx_cv_struct_tm_has_gmtoff=no
18456
18457fi
18458rm -f conftest*
18459
18460fi
18461
18462echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
18463 fi
18464
18465 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
18466 cat >> confdefs.h <<\EOF
18467#define WX_GMTOFF_IN_TM 1
18468EOF
18469
18470 fi
18471
18472 for ac_func in gettimeofday ftime
18473do
18474echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18475echo "configure:18476: checking for $ac_func" >&5
18476if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18477 echo $ac_n "(cached) $ac_c" 1>&6
18478else
18479 cat > conftest.$ac_ext <<EOF
18480#line 18481 "configure"
18481#include "confdefs.h"
18482/* System header to define __stub macros and hopefully few prototypes,
18483 which can conflict with char $ac_func(); below. */
18484#include <assert.h>
18485/* Override any gcc2 internal prototype to avoid an error. */
18486/* We use char because int might match the return type of a gcc2
18487 builtin and then its argument prototype would still apply. */
18488char $ac_func();
18489
18490int main() {
18491
18492/* The GNU C library defines this for functions which it implements
18493 to always fail with ENOSYS. Some functions are actually named
18494 something starting with __ and the normal name is an alias. */
18495#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18496choke me
18497#else
18498$ac_func();
18499#endif
18500
18501; return 0; }
18502EOF
18503if { (eval echo configure:18504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18504 rm -rf conftest*
18505 eval "ac_cv_func_$ac_func=yes"
18506else
18507 echo "configure: failed program was:" >&5
18508 cat conftest.$ac_ext >&5
18509 rm -rf conftest*
18510 eval "ac_cv_func_$ac_func=no"
18511fi
18512rm -f conftest*
18513fi
18514
18515if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18516 echo "$ac_t""yes" 1>&6
18517 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18518 cat >> confdefs.h <<EOF
18519#define $ac_tr_func 1
18520EOF
18521 break
18522else
18523 echo "$ac_t""no" 1>&6
18524fi
18525done
18526
18527
18528 if test "$ac_cv_func_gettimeofday" = "yes"; then
18529 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
18530echo "configure:18531: checking whether gettimeofday takes two arguments" >&5
18531if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
18532 echo $ac_n "(cached) $ac_c" 1>&6
18533else
18534
18535
18536 ac_ext=C
18537# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18538ac_cpp='$CXXCPP $CPPFLAGS'
18539ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18540ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18541cross_compiling=$ac_cv_prog_cxx_cross
18542
18543
18544 cat > conftest.$ac_ext <<EOF
18545#line 18546 "configure"
18546#include "confdefs.h"
18547
18548 #include <sys/time.h>
18549 #include <unistd.h>
18550
18551int main() {
18552
18553 struct timeval tv;
18554 gettimeofday(&tv, NULL);
18555
18556; return 0; }
18557EOF
18558if { (eval echo configure:18559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18559 rm -rf conftest*
18560 wx_cv_func_gettimeofday_has_2_args=yes
18561else
18562 echo "configure: failed program was:" >&5
18563 cat conftest.$ac_ext >&5
18564 rm -rf conftest*
18565 cat > conftest.$ac_ext <<EOF
18566#line 18567 "configure"
18567#include "confdefs.h"
18568
18569 #include <sys/time.h>
18570 #include <unistd.h>
18571
18572int main() {
18573
18574 struct timeval tv;
18575 gettimeofday(&tv);
18576
18577; return 0; }
18578EOF
18579if { (eval echo configure:18580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18580 rm -rf conftest*
18581 wx_cv_func_gettimeofday_has_2_args=no
18582else
18583 echo "configure: failed program was:" >&5
18584 cat conftest.$ac_ext >&5
18585 rm -rf conftest*
18586
18587 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
18588 wx_cv_func_gettimeofday_has_2_args=unknown
18589
18590
18591fi
18592rm -f conftest*
18593
18594fi
18595rm -f conftest*
18596 ac_ext=c
18597# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18598ac_cpp='$CPP $CPPFLAGS'
18599ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18600ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18601cross_compiling=$ac_cv_prog_cc_cross
18602
18603
18604fi
18605
18606echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
18607
18608 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
18609 cat >> confdefs.h <<\EOF
18610#define WX_GETTIMEOFDAY_NO_TZ 1
18611EOF
18612
18613 fi
18614 fi
18615
18616 cat >> confdefs.h <<\EOF
18617#define wxUSE_TIMEDATE 1
18618EOF
18619
18620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
18621fi
18622
18623
18624if test "$wxUSE_SOCKETS" = "yes"; then
18625 if test "$TOOLKIT" = "X11"; then
18626 echo "configure: warning: wxSocket not yet supported under X11... disabled" 1>&2
18627 wxUSE_SOCKETS="no"
18628 fi
18629fi
18630
18631if test "$wxUSE_SOCKETS" = "yes"; then
18632 if test "$TOOLKIT" != "MSW"; then
18633 echo $ac_n "checking for socket""... $ac_c" 1>&6
18634echo "configure:18635: checking for socket" >&5
18635if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
18636 echo $ac_n "(cached) $ac_c" 1>&6
18637else
18638 cat > conftest.$ac_ext <<EOF
18639#line 18640 "configure"
18640#include "confdefs.h"
18641/* System header to define __stub macros and hopefully few prototypes,
18642 which can conflict with char socket(); below. */
18643#include <assert.h>
18644/* Override any gcc2 internal prototype to avoid an error. */
18645/* We use char because int might match the return type of a gcc2
18646 builtin and then its argument prototype would still apply. */
18647char socket();
18648
18649int main() {
18650
18651/* The GNU C library defines this for functions which it implements
18652 to always fail with ENOSYS. Some functions are actually named
18653 something starting with __ and the normal name is an alias. */
18654#if defined (__stub_socket) || defined (__stub___socket)
18655choke me
18656#else
18657socket();
18658#endif
18659
18660; return 0; }
18661EOF
18662if { (eval echo configure:18663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18663 rm -rf conftest*
18664 eval "ac_cv_func_socket=yes"
18665else
18666 echo "configure: failed program was:" >&5
18667 cat conftest.$ac_ext >&5
18668 rm -rf conftest*
18669 eval "ac_cv_func_socket=no"
18670fi
18671rm -f conftest*
18672fi
18673
18674if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
18675 echo "$ac_t""yes" 1>&6
18676 :
18677else
18678 echo "$ac_t""no" 1>&6
18679echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
18680echo "configure:18681: checking for socket in -lsocket" >&5
18681ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
18682if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18683 echo $ac_n "(cached) $ac_c" 1>&6
18684else
18685 ac_save_LIBS="$LIBS"
18686LIBS="-lsocket $LIBS"
18687cat > conftest.$ac_ext <<EOF
18688#line 18689 "configure"
18689#include "confdefs.h"
18690/* Override any gcc2 internal prototype to avoid an error. */
18691/* We use char because int might match the return type of a gcc2
18692 builtin and then its argument prototype would still apply. */
18693char socket();
18694
18695int main() {
18696socket()
18697; return 0; }
18698EOF
18699if { (eval echo configure:18700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18700 rm -rf conftest*
18701 eval "ac_cv_lib_$ac_lib_var=yes"
18702else
18703 echo "configure: failed program was:" >&5
18704 cat conftest.$ac_ext >&5
18705 rm -rf conftest*
18706 eval "ac_cv_lib_$ac_lib_var=no"
18707fi
18708rm -f conftest*
18709LIBS="$ac_save_LIBS"
18710
18711fi
18712if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18713 echo "$ac_t""yes" 1>&6
18714 if test "$INET_LINK" != " -lsocket"; then
18715 INET_LINK="$INET_LINK -lsocket"
18716 fi
18717else
18718 echo "$ac_t""no" 1>&6
18719
18720 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
18721 wxUSE_SOCKETS=no
18722
18723
18724fi
18725
18726
18727fi
18728
18729 fi
18730fi
18731
18732if test "$wxUSE_SOCKETS" = "yes" ; then
18733 if test "$TOOLKIT" != "MSW"; then
18734 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
18735echo "configure:18736: checking what is the type of the third argument of getsockname" >&5
18736if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
18737 echo $ac_n "(cached) $ac_c" 1>&6
18738else
18739
18740
18741 ac_ext=C
18742# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18743ac_cpp='$CXXCPP $CPPFLAGS'
18744ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18745ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18746cross_compiling=$ac_cv_prog_cxx_cross
18747
18748
18749 cat > conftest.$ac_ext <<EOF
18750#line 18751 "configure"
18751#include "confdefs.h"
18752
18753 #include <sys/types.h>
18754 #include <sys/socket.h>
18755
18756int main() {
18757
18758 socklen_t len;
18759 getsockname(0, 0, &len);
18760
18761; return 0; }
18762EOF
18763if { (eval echo configure:18764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18764 rm -rf conftest*
18765 wx_cv_type_getsockname3=socklen_t
18766else
18767 echo "configure: failed program was:" >&5
18768 cat conftest.$ac_ext >&5
18769 rm -rf conftest*
18770 cat > conftest.$ac_ext <<EOF
18771#line 18772 "configure"
18772#include "confdefs.h"
18773
18774 #include <sys/types.h>
18775 #include <sys/socket.h>
18776
18777int main() {
18778
18779 size_t len;
18780 getsockname(0, 0, &len);
18781
18782; return 0; }
18783EOF
18784if { (eval echo configure:18785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18785 rm -rf conftest*
18786 wx_cv_type_getsockname3=size_t
18787else
18788 echo "configure: failed program was:" >&5
18789 cat conftest.$ac_ext >&5
18790 rm -rf conftest*
18791 cat > conftest.$ac_ext <<EOF
18792#line 18793 "configure"
18793#include "confdefs.h"
18794
18795 #include <sys/types.h>
18796 #include <sys/socket.h>
18797
18798int main() {
18799
18800 int len;
18801 getsockname(0, 0, &len);
18802
18803; return 0; }
18804EOF
18805if { (eval echo configure:18806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18806 rm -rf conftest*
18807 wx_cv_type_getsockname3=int
18808else
18809 echo "configure: failed program was:" >&5
18810 cat conftest.$ac_ext >&5
18811 rm -rf conftest*
18812 wx_cv_type_getsockname3=unknown
18813
18814fi
18815rm -f conftest*
18816
18817fi
18818rm -f conftest*
18819
18820fi
18821rm -f conftest*
18822
18823 ac_ext=c
18824# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18825ac_cpp='$CPP $CPPFLAGS'
18826ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18827ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18828cross_compiling=$ac_cv_prog_cc_cross
18829
18830
18831fi
18832
18833echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
18834
18835 if test "$wx_cv_type_getsockname3" = "unknown"; then
18836 wxUSE_SOCKETS=no
18837 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
18838 else
18839 cat >> confdefs.h <<EOF
18840#define SOCKLEN_T $wx_cv_type_getsockname3
18841EOF
18842
18843 fi
18844 fi
18845fi
18846
18847if test "$wxUSE_SOCKETS" = "yes" ; then
18848 cat >> confdefs.h <<\EOF
18849#define wxUSE_SOCKETS 1
18850EOF
18851
18852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
18853fi
18854
18855
18856if test "$wxUSE_GUI" = "yes"; then
18857
18858 if test "$TOOLKIT" = "MAC"; then
18859 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
18860 wxUSE_JOYSTICK=no
18861 fi
18862 if test "$TOOLKIT" = "MOTIF"; then
18863 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
18864 wxUSE_JOYSTICK=no
18865 fi
18866 if test "$TOOLKIT" = "X11"; then
18867 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
18868 wxUSE_JOYSTICK=no
18869 fi
18870
18871 if test "$TOOLKIT" != "MSW"; then
18872 if test "$wxUSE_JOYSTICK" = "yes"; then
18873 for ac_hdr in linux/joystick.h
18874do
18875ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18876echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18877echo "configure:18878: checking for $ac_hdr" >&5
18878if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18879 echo $ac_n "(cached) $ac_c" 1>&6
18880else
18881 cat > conftest.$ac_ext <<EOF
18882#line 18883 "configure"
18883#include "confdefs.h"
18884#include <$ac_hdr>
18885EOF
18886ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18887{ (eval echo configure:18888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18888ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18889if test -z "$ac_err"; then
18890 rm -rf conftest*
18891 eval "ac_cv_header_$ac_safe=yes"
18892else
18893 echo "$ac_err" >&5
18894 echo "configure: failed program was:" >&5
18895 cat conftest.$ac_ext >&5
18896 rm -rf conftest*
18897 eval "ac_cv_header_$ac_safe=no"
18898fi
18899rm -f conftest*
18900fi
18901if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18902 echo "$ac_t""yes" 1>&6
18903 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18904 cat >> confdefs.h <<EOF
18905#define $ac_tr_hdr 1
18906EOF
18907
18908else
18909 echo "$ac_t""no" 1>&6
18910fi
18911done
18912
18913 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
18914 wxUSE_JOYSTICK=no
18915 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
18916 fi
18917 fi
18918 fi
18919
18920 if test "$wxUSE_JOYSTICK" = "yes"; then
18921 cat >> confdefs.h <<\EOF
18922#define wxUSE_JOYSTICK 1
18923EOF
18924
18925 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
18926 fi
18927fi
18928
18929
18930if test "$TOOLKIT" != "MSW"; then
18931
18932 HAVE_DL_FUNCS=0
18933 HAVE_SHL_FUNCS=0
18934 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18935 if test "$USE_DARWIN" = 1; then
18936 HAVE_DL_FUNCS=1
18937 else
18938 for ac_func in dlopen
18939do
18940echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18941echo "configure:18942: checking for $ac_func" >&5
18942if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18943 echo $ac_n "(cached) $ac_c" 1>&6
18944else
18945 cat > conftest.$ac_ext <<EOF
18946#line 18947 "configure"
18947#include "confdefs.h"
18948/* System header to define __stub macros and hopefully few prototypes,
18949 which can conflict with char $ac_func(); below. */
18950#include <assert.h>
18951/* Override any gcc2 internal prototype to avoid an error. */
18952/* We use char because int might match the return type of a gcc2
18953 builtin and then its argument prototype would still apply. */
18954char $ac_func();
18955
18956int main() {
18957
18958/* The GNU C library defines this for functions which it implements
18959 to always fail with ENOSYS. Some functions are actually named
18960 something starting with __ and the normal name is an alias. */
18961#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18962choke me
18963#else
18964$ac_func();
18965#endif
18966
18967; return 0; }
18968EOF
18969if { (eval echo configure:18970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18970 rm -rf conftest*
18971 eval "ac_cv_func_$ac_func=yes"
18972else
18973 echo "configure: failed program was:" >&5
18974 cat conftest.$ac_ext >&5
18975 rm -rf conftest*
18976 eval "ac_cv_func_$ac_func=no"
18977fi
18978rm -f conftest*
18979fi
18980
18981if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18982 echo "$ac_t""yes" 1>&6
18983 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18984 cat >> confdefs.h <<EOF
18985#define $ac_tr_func 1
18986EOF
18987
18988 cat >> confdefs.h <<\EOF
18989#define HAVE_DLOPEN 1
18990EOF
18991
18992 HAVE_DL_FUNCS=1
18993
18994else
18995 echo "$ac_t""no" 1>&6
18996echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
18997echo "configure:18998: checking for dlopen in -ldl" >&5
18998ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
18999if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19000 echo $ac_n "(cached) $ac_c" 1>&6
19001else
19002 ac_save_LIBS="$LIBS"
19003LIBS="-ldl $LIBS"
19004cat > conftest.$ac_ext <<EOF
19005#line 19006 "configure"
19006#include "confdefs.h"
19007/* Override any gcc2 internal prototype to avoid an error. */
19008/* We use char because int might match the return type of a gcc2
19009 builtin and then its argument prototype would still apply. */
19010char dlopen();
19011
19012int main() {
19013dlopen()
19014; return 0; }
19015EOF
19016if { (eval echo configure:19017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19017 rm -rf conftest*
19018 eval "ac_cv_lib_$ac_lib_var=yes"
19019else
19020 echo "configure: failed program was:" >&5
19021 cat conftest.$ac_ext >&5
19022 rm -rf conftest*
19023 eval "ac_cv_lib_$ac_lib_var=no"
19024fi
19025rm -f conftest*
19026LIBS="$ac_save_LIBS"
19027
19028fi
19029if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19030 echo "$ac_t""yes" 1>&6
19031
19032 cat >> confdefs.h <<\EOF
19033#define HAVE_DLOPEN 1
19034EOF
19035
19036 HAVE_DL_FUNCS=1
19037 DL_LINK=" -ldl$DL_LINK"
19038
19039else
19040 echo "$ac_t""no" 1>&6
19041
19042 for ac_func in shl_load
19043do
19044echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19045echo "configure:19046: checking for $ac_func" >&5
19046if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19047 echo $ac_n "(cached) $ac_c" 1>&6
19048else
19049 cat > conftest.$ac_ext <<EOF
19050#line 19051 "configure"
19051#include "confdefs.h"
19052/* System header to define __stub macros and hopefully few prototypes,
19053 which can conflict with char $ac_func(); below. */
19054#include <assert.h>
19055/* Override any gcc2 internal prototype to avoid an error. */
19056/* We use char because int might match the return type of a gcc2
19057 builtin and then its argument prototype would still apply. */
19058char $ac_func();
19059
19060int main() {
19061
19062/* The GNU C library defines this for functions which it implements
19063 to always fail with ENOSYS. Some functions are actually named
19064 something starting with __ and the normal name is an alias. */
19065#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19066choke me
19067#else
19068$ac_func();
19069#endif
19070
19071; return 0; }
19072EOF
19073if { (eval echo configure:19074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19074 rm -rf conftest*
19075 eval "ac_cv_func_$ac_func=yes"
19076else
19077 echo "configure: failed program was:" >&5
19078 cat conftest.$ac_ext >&5
19079 rm -rf conftest*
19080 eval "ac_cv_func_$ac_func=no"
19081fi
19082rm -f conftest*
19083fi
19084
19085if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19086 echo "$ac_t""yes" 1>&6
19087 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19088 cat >> confdefs.h <<EOF
19089#define $ac_tr_func 1
19090EOF
19091
19092 cat >> confdefs.h <<\EOF
19093#define HAVE_SHL_LOAD 1
19094EOF
19095
19096 HAVE_SHL_FUNCS=1
19097
19098else
19099 echo "$ac_t""no" 1>&6
19100echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
19101echo "configure:19102: checking for dld in -lshl_load" >&5
19102ac_lib_var=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
19103if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19104 echo $ac_n "(cached) $ac_c" 1>&6
19105else
19106 ac_save_LIBS="$LIBS"
19107LIBS="-lshl_load $LIBS"
19108cat > conftest.$ac_ext <<EOF
19109#line 19110 "configure"
19110#include "confdefs.h"
19111/* Override any gcc2 internal prototype to avoid an error. */
19112/* We use char because int might match the return type of a gcc2
19113 builtin and then its argument prototype would still apply. */
19114char dld();
19115
19116int main() {
19117dld()
19118; return 0; }
19119EOF
19120if { (eval echo configure:19121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19121 rm -rf conftest*
19122 eval "ac_cv_lib_$ac_lib_var=yes"
19123else
19124 echo "configure: failed program was:" >&5
19125 cat conftest.$ac_ext >&5
19126 rm -rf conftest*
19127 eval "ac_cv_lib_$ac_lib_var=no"
19128fi
19129rm -f conftest*
19130LIBS="$ac_save_LIBS"
19131
19132fi
19133if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19134 echo "$ac_t""yes" 1>&6
19135
19136 HAVE_SHL_FUNCS=1
19137 DL_LINK=" -ldld$DL_LINK"
19138
19139else
19140 echo "$ac_t""no" 1>&6
19141fi
19142
19143
19144fi
19145done
19146
19147
19148fi
19149
19150
19151fi
19152done
19153
19154
19155 if test "$HAVE_DL_FUNCS" = 1; then
19156 for ac_func in dlerror
19157do
19158echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19159echo "configure:19160: checking for $ac_func" >&5
19160if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19161 echo $ac_n "(cached) $ac_c" 1>&6
19162else
19163 cat > conftest.$ac_ext <<EOF
19164#line 19165 "configure"
19165#include "confdefs.h"
19166/* System header to define __stub macros and hopefully few prototypes,
19167 which can conflict with char $ac_func(); below. */
19168#include <assert.h>
19169/* Override any gcc2 internal prototype to avoid an error. */
19170/* We use char because int might match the return type of a gcc2
19171 builtin and then its argument prototype would still apply. */
19172char $ac_func();
19173
19174int main() {
19175
19176/* The GNU C library defines this for functions which it implements
19177 to always fail with ENOSYS. Some functions are actually named
19178 something starting with __ and the normal name is an alias. */
19179#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19180choke me
19181#else
19182$ac_func();
19183#endif
19184
19185; return 0; }
19186EOF
19187if { (eval echo configure:19188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19188 rm -rf conftest*
19189 eval "ac_cv_func_$ac_func=yes"
19190else
19191 echo "configure: failed program was:" >&5
19192 cat conftest.$ac_ext >&5
19193 rm -rf conftest*
19194 eval "ac_cv_func_$ac_func=no"
19195fi
19196rm -f conftest*
19197fi
19198
19199if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19200 echo "$ac_t""yes" 1>&6
19201 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19202 cat >> confdefs.h <<EOF
19203#define $ac_tr_func 1
19204EOF
19205 cat >> confdefs.h <<\EOF
19206#define HAVE_DLERROR 1
19207EOF
19208
19209else
19210 echo "$ac_t""no" 1>&6
19211echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
19212echo "configure:19213: checking for dlerror in -ldl" >&5
19213ac_lib_var=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
19214if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19215 echo $ac_n "(cached) $ac_c" 1>&6
19216else
19217 ac_save_LIBS="$LIBS"
19218LIBS="-ldl $LIBS"
19219cat > conftest.$ac_ext <<EOF
19220#line 19221 "configure"
19221#include "confdefs.h"
19222/* Override any gcc2 internal prototype to avoid an error. */
19223/* We use char because int might match the return type of a gcc2
19224 builtin and then its argument prototype would still apply. */
19225char dlerror();
19226
19227int main() {
19228dlerror()
19229; return 0; }
19230EOF
19231if { (eval echo configure:19232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19232 rm -rf conftest*
19233 eval "ac_cv_lib_$ac_lib_var=yes"
19234else
19235 echo "configure: failed program was:" >&5
19236 cat conftest.$ac_ext >&5
19237 rm -rf conftest*
19238 eval "ac_cv_lib_$ac_lib_var=no"
19239fi
19240rm -f conftest*
19241LIBS="$ac_save_LIBS"
19242
19243fi
19244if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19245 echo "$ac_t""yes" 1>&6
19246 cat >> confdefs.h <<\EOF
19247#define HAVE_DLERROR 1
19248EOF
19249
19250else
19251 echo "$ac_t""no" 1>&6
19252fi
19253
19254fi
19255done
19256
19257 fi
19258 fi
19259
19260 if test "$HAVE_DL_FUNCS" = 0; then
19261 if test "$HAVE_SHL_FUNCS" = 0; then
19262 if test "$USE_UNIX" = 1; then
19263 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
19264 wxUSE_DYNAMIC_LOADER=no
19265 wxUSE_DYNLIB_CLASS=no
19266 else
19267 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
19268 fi
19269 fi
19270 fi
19271 fi
19272fi
19273
19274if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
19275 cat >> confdefs.h <<\EOF
19276#define wxUSE_DYNAMIC_LOADER 1
19277EOF
19278
19279elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19280 cat >> confdefs.h <<\EOF
19281#define wxUSE_DYNLIB_CLASS 1
19282EOF
19283
19284fi
19285
19286
19287if test "$wxUSE_FONTMAP" = "yes" ; then
19288 cat >> confdefs.h <<\EOF
19289#define wxUSE_FONTMAP 1
19290EOF
19291
19292fi
19293
19294if test "$wxUSE_UNICODE" = "yes" ; then
19295 cat >> confdefs.h <<\EOF
19296#define wxUSE_UNICODE 1
19297EOF
19298
19299
19300 if test "$wxUSE_MSW" != 1; then
19301 wxUSE_UNICODE_MSLU=no
19302 fi
19303
19304 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
19305 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
19306echo "configure:19307: checking for main in -lunicows" >&5
19307ac_lib_var=`echo unicows'_'main | sed 'y%./+-%__p_%'`
19308if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19309 echo $ac_n "(cached) $ac_c" 1>&6
19310else
19311 ac_save_LIBS="$LIBS"
19312LIBS="-lunicows $LIBS"
19313cat > conftest.$ac_ext <<EOF
19314#line 19315 "configure"
19315#include "confdefs.h"
19316
19317int main() {
19318main()
19319; return 0; }
19320EOF
19321if { (eval echo configure:19322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19322 rm -rf conftest*
19323 eval "ac_cv_lib_$ac_lib_var=yes"
19324else
19325 echo "configure: failed program was:" >&5
19326 cat conftest.$ac_ext >&5
19327 rm -rf conftest*
19328 eval "ac_cv_lib_$ac_lib_var=no"
19329fi
19330rm -f conftest*
19331LIBS="$ac_save_LIBS"
19332
19333fi
19334if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19335 echo "$ac_t""yes" 1>&6
19336
19337 cat >> confdefs.h <<\EOF
19338#define wxUSE_UNICODE_MSLU 1
19339EOF
19340
19341
19342else
19343 echo "$ac_t""no" 1>&6
19344
19345 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
19346 Applications will only run on Windows NT/2000/XP!" 1>&2
19347 wxUSE_UNICODE_MSLU=no
19348
19349fi
19350
19351 fi
19352fi
19353
19354if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
19355 cat >> confdefs.h <<\EOF
19356#define wxUSE_EXPERIMENTAL_PRINTF 1
19357EOF
19358
19359fi
19360
19361
19362
19363IODBC_C_SRC=""
19364if test "$wxUSE_ODBC" = "yes" ; then
19365 cat >> confdefs.h <<\EOF
19366#define wxUSE_ODBC 1
19367EOF
19368
19369 WXODBCFLAG="-D_IODBC_"
19370 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
19371fi
19372
19373
19374if test "$wxUSE_POSTSCRIPT" = "yes" ; then
19375 cat >> confdefs.h <<\EOF
19376#define wxUSE_POSTSCRIPT 1
19377EOF
19378
19379fi
19380
19381cat >> confdefs.h <<\EOF
19382#define wxUSE_AFM_FOR_POSTSCRIPT 1
19383EOF
19384
19385
19386cat >> confdefs.h <<\EOF
19387#define wxUSE_NORMALIZED_PS_FONTS 1
19388EOF
19389
19390
19391
19392if test "$wxUSE_CONSTRAINTS" = "yes"; then
19393 cat >> confdefs.h <<\EOF
19394#define wxUSE_CONSTRAINTS 1
19395EOF
19396
19397 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
19398fi
19399
19400if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19401 if test "$wxUSE_UNIVERSAL" = "yes"; then
19402 echo "configure: warning: MDI not yet supported for wxUniversal... disabled" 1>&2
19403 wxUSE_MDI_ARCHITECTURE=no
19404 fi
19405
19406 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19407 cat >> confdefs.h <<\EOF
19408#define wxUSE_MDI_ARCHITECTURE 1
19409EOF
19410
19411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
19412 fi
19413fi
19414
19415if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
19416 cat >> confdefs.h <<\EOF
19417#define wxUSE_DOC_VIEW_ARCHITECTURE 1
19418EOF
19419
19420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
19421 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19422 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
19423 fi
19424fi
19425
19426if test "$wxUSE_HELP" = "yes"; then
19427 cat >> confdefs.h <<\EOF
19428#define wxUSE_HELP 1
19429EOF
19430
19431 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
19432
19433 if test "$wxUSE_MSW" = 1; then
19434 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
19435 cat >> confdefs.h <<\EOF
19436#define wxUSE_MS_HTML_HELP 1
19437EOF
19438
19439 fi
19440 fi
19441
19442 if test "$wxUSE_WXHTML_HELP" = "yes"; then
19443 if test "$wxUSE_HTML" = "yes"; then
19444 cat >> confdefs.h <<\EOF
19445#define wxUSE_WXHTML_HELP 1
19446EOF
19447
19448 else
19449 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
19450 wxUSE_WXHTML_HELP=no
19451 fi
19452 fi
19453fi
19454
19455if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
19456 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19457 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
19458 else
19459 cat >> confdefs.h <<\EOF
19460#define wxUSE_PRINTING_ARCHITECTURE 1
19461EOF
19462
19463 fi
19464 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
19465fi
19466
19467if test "$wxUSE_PROLOGIO" = "yes" ; then
19468 cat >> confdefs.h <<\EOF
19469#define wxUSE_PROLOGIO 1
19470EOF
19471
19472fi
19473
19474if test "$wxUSE_RESOURCES" = "yes" ; then
19475 if test "$wxUSE_NANOX" = "yes"; then
19476 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
19477 else
19478 cat >> confdefs.h <<\EOF
19479#define wxUSE_RESOURCES 1
19480EOF
19481
19482 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource"
19483 fi
19484fi
19485
19486if test "$wxUSE_X_RESOURCES" = "yes"; then
19487 cat >> confdefs.h <<\EOF
19488#define wxUSE_X_RESOURCES 1
19489EOF
19490
19491fi
19492
19493
19494if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
19495 -o "$wxUSE_CLIPBOARD" = "yes" \
19496 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
19497 for ac_hdr in ole2.h
19498do
19499ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19500echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19501echo "configure:19502: checking for $ac_hdr" >&5
19502if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19503 echo $ac_n "(cached) $ac_c" 1>&6
19504else
19505 cat > conftest.$ac_ext <<EOF
19506#line 19507 "configure"
19507#include "confdefs.h"
19508#include <$ac_hdr>
19509EOF
19510ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19511{ (eval echo configure:19512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19512ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19513if test -z "$ac_err"; then
19514 rm -rf conftest*
19515 eval "ac_cv_header_$ac_safe=yes"
19516else
19517 echo "$ac_err" >&5
19518 echo "configure: failed program was:" >&5
19519 cat conftest.$ac_ext >&5
19520 rm -rf conftest*
19521 eval "ac_cv_header_$ac_safe=no"
19522fi
19523rm -f conftest*
19524fi
19525if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19526 echo "$ac_t""yes" 1>&6
19527 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19528 cat >> confdefs.h <<EOF
19529#define $ac_tr_hdr 1
19530EOF
19531
19532else
19533 echo "$ac_t""no" 1>&6
19534fi
19535done
19536
19537
19538 if test "$ac_cv_header_ole2_h" = "yes" ; then
19539 if test "$GCC" = yes ; then
19540 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
19541 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
19542 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
19543 cat >> confdefs.h <<\EOF
19544#define wxUSE_OLE 1
19545EOF
19546
19547
19548 fi
19549
19550 cat >> confdefs.h <<\EOF
19551#define wxUSE_DATAOBJ 1
19552EOF
19553
19554 else
19555 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
19556
19557 wxUSE_CLIPBOARD=no
19558 wxUSE_DRAG_AND_DROP=no
19559 wxUSE_DATAOBJ=no
19560 fi
19561
19562 if test "$wxUSE_METAFILE" = "yes"; then
19563 cat >> confdefs.h <<\EOF
19564#define wxUSE_METAFILE 1
19565EOF
19566
19567
19568 cat >> confdefs.h <<\EOF
19569#define wxUSE_ENH_METAFILE 1
19570EOF
19571
19572 fi
19573fi
19574
19575if test "$wxUSE_IPC" = "yes"; then
19576 if test "$wxUSE_SOCKETS" != "yes"; then
19577 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
19578 fi
19579
19580 cat >> confdefs.h <<\EOF
19581#define wxUSE_IPC 1
19582EOF
19583
19584fi
19585
19586if test "$wxUSE_CLIPBOARD" = "yes"; then
19587 cat >> confdefs.h <<\EOF
19588#define wxUSE_CLIPBOARD 1
19589EOF
19590
19591
19592 cat >> confdefs.h <<\EOF
19593#define wxUSE_DATAOBJ 1
19594EOF
19595
19596fi
19597
19598if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
19599 if test "$wxUSE_GTK" = 1; then
19600 if test "$WXGTK12" != 1; then
19601 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
19602 wxUSE_DRAG_AND_DROP=no
19603 fi
19604 fi
19605
19606 if test "$wxUSE_MOTIF" = 1; then
19607 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
19608 wxUSE_DRAG_AND_DROP=no
19609 fi
19610
19611 if test "$wxUSE_X11" = 1; then
19612 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
19613 wxUSE_DRAG_AND_DROP=no
19614 fi
19615
19616 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
19617 cat >> confdefs.h <<\EOF
19618#define wxUSE_DRAG_AND_DROP 1
19619EOF
19620
19621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
19622 fi
19623
19624fi
19625
19626if test "$wxUSE_SPLINES" = "yes" ; then
19627 cat >> confdefs.h <<\EOF
19628#define wxUSE_SPLINES 1
19629EOF
19630
19631fi
19632
19633
19634USES_CONTROLS=0
19635if test "$wxUSE_CONTROLS" = "yes"; then
19636 USES_CONTROLS=1
19637fi
19638
19639if test "$wxUSE_ACCEL" = "yes"; then
19640 cat >> confdefs.h <<\EOF
19641#define wxUSE_ACCEL 1
19642EOF
19643
19644 USES_CONTROLS=1
19645fi
19646
19647if test "$wxUSE_BUTTON" = "yes"; then
19648 cat >> confdefs.h <<\EOF
19649#define wxUSE_BUTTON 1
19650EOF
19651
19652 USES_CONTROLS=1
19653fi
19654
19655if test "$wxUSE_BMPBUTTON" = "yes"; then
19656 cat >> confdefs.h <<\EOF
19657#define wxUSE_BMPBUTTON 1
19658EOF
19659
19660 USES_CONTROLS=1
19661fi
19662
19663if test "$wxUSE_CALCTRL" = "yes"; then
19664 cat >> confdefs.h <<\EOF
19665#define wxUSE_CALENDARCTRL 1
19666EOF
19667
19668 USES_CONTROLS=1
19669 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
19670fi
19671
19672if test "$wxUSE_CARET" = "yes"; then
19673 cat >> confdefs.h <<\EOF
19674#define wxUSE_CARET 1
19675EOF
19676
19677 USES_CONTROLS=1
19678 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
19679fi
19680
19681if test "$wxUSE_COMBOBOX" = "yes"; then
19682 cat >> confdefs.h <<\EOF
19683#define wxUSE_COMBOBOX 1
19684EOF
19685
19686 USES_CONTROLS=1
19687fi
19688
19689if test "$wxUSE_CHOICE" = "yes"; then
19690 cat >> confdefs.h <<\EOF
19691#define wxUSE_CHOICE 1
19692EOF
19693
19694 USES_CONTROLS=1
19695fi
19696
19697if test "$wxUSE_CHECKBOX" = "yes"; then
19698 cat >> confdefs.h <<\EOF
19699#define wxUSE_CHECKBOX 1
19700EOF
19701
19702 USES_CONTROLS=1
19703fi
19704
19705if test "$wxUSE_CHECKLST" = "yes"; then
19706 cat >> confdefs.h <<\EOF
19707#define wxUSE_CHECKLISTBOX 1
19708EOF
19709
19710 USES_CONTROLS=1
19711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
19712fi
19713
19714if test "$wxUSE_GAUGE" = "yes"; then
19715 cat >> confdefs.h <<\EOF
19716#define wxUSE_GAUGE 1
19717EOF
19718
19719 USES_CONTROLS=1
19720fi
19721
19722if test "$wxUSE_NEW_GRID" = "yes"; then
19723 wxUSE_GRID="yes"
19724 cat >> confdefs.h <<\EOF
19725#define wxUSE_NEW_GRID 1
19726EOF
19727
19728 USES_CONTROLS=1
19729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS newgrid"
19730fi
19731
19732if test "$wxUSE_GRID" = "yes"; then
19733 cat >> confdefs.h <<\EOF
19734#define wxUSE_GRID 1
19735EOF
19736
19737 USES_CONTROLS=1
19738 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
19739fi
19740
19741if test "$wxUSE_IMAGLIST" = "yes"; then
19742 cat >> confdefs.h <<\EOF
19743#define wxUSE_IMAGLIST 1
19744EOF
19745
19746fi
19747
19748if test "$wxUSE_LISTBOX" = "yes"; then
19749 cat >> confdefs.h <<\EOF
19750#define wxUSE_LISTBOX 1
19751EOF
19752
19753 USES_CONTROLS=1
19754fi
19755
19756if test "$wxUSE_LISTCTRL" = "yes"; then
19757 if test "$wxUSE_IMAGLIST" = "yes"; then
19758 cat >> confdefs.h <<\EOF
19759#define wxUSE_LISTCTRL 1
19760EOF
19761
19762 USES_CONTROLS=1
19763 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
19764 else
19765 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
19766 fi
19767fi
19768
19769if test "$wxUSE_NOTEBOOK" = "yes"; then
19770 cat >> confdefs.h <<\EOF
19771#define wxUSE_NOTEBOOK 1
19772EOF
19773
19774 USES_CONTROLS=1
19775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
19776fi
19777
19778if test "$wxUSE_PROPSHEET" = "yes"; then
19779 cat >> confdefs.h <<\EOF
19780#define wxUSE_PROPSHEET 1
19781EOF
19782
19783 USES_CONTROLS=1
19784 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS proplist"
19785fi
19786
19787if test "$wxUSE_RADIOBOX" = "yes"; then
19788 cat >> confdefs.h <<\EOF
19789#define wxUSE_RADIOBOX 1
19790EOF
19791
19792 USES_CONTROLS=1
19793fi
19794
19795if test "$wxUSE_RADIOBTN" = "yes"; then
19796 cat >> confdefs.h <<\EOF
19797#define wxUSE_RADIOBTN 1
19798EOF
19799
19800 USES_CONTROLS=1
19801fi
19802
19803if test "$wxUSE_SASH" = "yes"; then
19804 cat >> confdefs.h <<\EOF
19805#define wxUSE_SASH 1
19806EOF
19807
19808 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
19809fi
19810
19811if test "$wxUSE_SCROLLBAR" = "yes"; then
19812 cat >> confdefs.h <<\EOF
19813#define wxUSE_SCROLLBAR 1
19814EOF
19815
19816 USES_CONTROLS=1
19817 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
19818fi
19819
19820if test "$wxUSE_SLIDER" = "yes"; then
19821 cat >> confdefs.h <<\EOF
19822#define wxUSE_SLIDER 1
19823EOF
19824
19825 USES_CONTROLS=1
19826fi
19827
19828if test "$wxUSE_SPINBTN" = "yes"; then
19829 cat >> confdefs.h <<\EOF
19830#define wxUSE_SPINBTN 1
19831EOF
19832
19833 USES_CONTROLS=1
19834fi
19835
19836if test "$wxUSE_SPINCTRL" = "yes"; then
19837 cat >> confdefs.h <<\EOF
19838#define wxUSE_SPINCTRL 1
19839EOF
19840
19841 USES_CONTROLS=1
19842fi
19843
19844if test "$wxUSE_SPLITTER" = "yes"; then
19845 cat >> confdefs.h <<\EOF
19846#define wxUSE_SPLITTER 1
19847EOF
19848
19849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
19850fi
19851
19852if test "$wxUSE_STATBMP" = "yes"; then
19853 cat >> confdefs.h <<\EOF
19854#define wxUSE_STATBMP 1
19855EOF
19856
19857 USES_CONTROLS=1
19858fi
19859
19860if test "$wxUSE_STATBOX" = "yes"; then
19861 cat >> confdefs.h <<\EOF
19862#define wxUSE_STATBOX 1
19863EOF
19864
19865 USES_CONTROLS=1
19866fi
19867
19868if test "$wxUSE_STATTEXT" = "yes"; then
19869 cat >> confdefs.h <<\EOF
19870#define wxUSE_STATTEXT 1
19871EOF
19872
19873 USES_CONTROLS=1
19874fi
19875
19876if test "$wxUSE_STATLINE" = "yes"; then
19877 if test "$wxUSE_WINE" = 1 ; then
19878 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
19879 else
19880 cat >> confdefs.h <<\EOF
19881#define wxUSE_STATLINE 1
19882EOF
19883
19884 USES_CONTROLS=1
19885 fi
19886fi
19887
19888if test "$wxUSE_STATUSBAR" = "yes"; then
19889 cat >> confdefs.h <<\EOF
19890#define wxUSE_STATUSBAR 1
19891EOF
19892
19893 USES_CONTROLS=1
19894
19895 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
19896fi
19897
19898if test "$wxUSE_TABDIALOG" = "yes"; then
19899 cat >> confdefs.h <<\EOF
19900#define wxUSE_TAB_DIALOG 1
19901EOF
19902
19903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
19904fi
19905
19906if test "$wxUSE_TEXTCTRL" = "yes"; then
19907 cat >> confdefs.h <<\EOF
19908#define wxUSE_TEXTCTRL 1
19909EOF
19910
19911 USES_CONTROLS=1
19912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
19913fi
19914
19915if test "$wxUSE_TOGGLEBTN" = "yes"; then
19916 if test "$wxUSE_MAC" = 1; then
19917 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
19918 wxUSE_TOGGLEBTN=no
19919 fi
19920 if test "$wxUSE_UNIVERSAL" = "yes"; then
19921 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
19922 wxUSE_TOGGLEBTN=no
19923 fi
19924
19925 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19926 cat >> confdefs.h <<\EOF
19927#define wxUSE_TOGGLEBTN 1
19928EOF
19929
19930 USES_CONTROLS=1
19931 fi
19932fi
19933
19934if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
19935 cat >> confdefs.h <<\EOF
19936#define wxUSE_TOOLBAR_SIMPLE 1
19937EOF
19938
19939 wxUSE_TOOLBAR="yes"
19940 USES_CONTROLS=1
19941fi
19942
19943if test "$wxUSE_TOOLBAR" = "yes"; then
19944 cat >> confdefs.h <<\EOF
19945#define wxUSE_TOOLBAR 1
19946EOF
19947
19948 USES_CONTROLS=1
19949
19950 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
19951 wxUSE_TOOLBAR_NATIVE="yes"
19952 fi
19953
19954 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
19955 cat >> confdefs.h <<\EOF
19956#define wxUSE_TOOLBAR_NATIVE 1
19957EOF
19958
19959 USES_CONTROLS=1
19960 fi
19961
19962 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
19963fi
19964
19965if test "$wxUSE_TOOLTIPS" = "yes"; then
19966 if test "$wxUSE_MOTIF" = 1; then
19967 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
19968 else
19969 if test "$wxUSE_WINE" = 1; then
19970 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
19971 else
19972 if test "$wxUSE_UNIVERSAL" = "yes"; then
19973 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
19974 else
19975 cat >> confdefs.h <<\EOF
19976#define wxUSE_TOOLTIPS 1
19977EOF
19978
19979 fi
19980 fi
19981 fi
19982fi
19983
19984if test "$wxUSE_TREECTRL" = "yes"; then
19985 if test "$wxUSE_IMAGLIST" = "yes"; then
19986 cat >> confdefs.h <<\EOF
19987#define wxUSE_TREECTRL 1
19988EOF
19989
19990 USES_CONTROLS=1
19991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
19992 else
19993 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
19994 fi
19995fi
19996
19997if test "$wxUSE_POPUPWIN" = "yes"; then
19998 if test "$wxUSE_MAC" = 1; then
19999 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
20000 else
20001 if test "$wxUSE_MOTIF" = 1; then
20002 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
20003 else
20004 if test "$wxUSE_PM" = 1; then
20005 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
20006 else
20007 cat >> confdefs.h <<\EOF
20008#define wxUSE_POPUPWIN 1
20009EOF
20010
20011
20012 USES_CONTROLS=1
20013 fi
20014 fi
20015 fi
20016fi
20017
20018if test "$wxUSE_TIPWINDOW" = "yes"; then
20019 if test "$wxUSE_PM" = 1; then
20020 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
20021 else
20022 cat >> confdefs.h <<\EOF
20023#define wxUSE_TIPWINDOW 1
20024EOF
20025
20026 fi
20027fi
20028
20029if test "$USES_CONTROLS" = 1; then
20030 cat >> confdefs.h <<\EOF
20031#define wxUSE_CONTROLS 1
20032EOF
20033
20034fi
20035
20036
20037if test "$wxUSE_TREELAYOUT" = "yes"; then
20038 cat >> confdefs.h <<\EOF
20039#define wxUSE_TREELAYOUT 1
20040EOF
20041
20042 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelay"
20043fi
20044
20045if test "$wxUSE_DRAGIMAGE" = "yes"; then
20046 cat >> confdefs.h <<\EOF
20047#define wxUSE_DRAGIMAGE 1
20048EOF
20049
20050 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
20051fi
20052
20053if test "$wxUSE_MENUS" = "yes"; then
20054 cat >> confdefs.h <<\EOF
20055#define wxUSE_MENUS 1
20056EOF
20057
20058 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
20059fi
20060
20061if test "$wxUSE_METAFILE" = "yes"; then
20062 cat >> confdefs.h <<\EOF
20063#define wxUSE_METAFILE 1
20064EOF
20065
20066fi
20067
20068if test "$wxUSE_MIMETYPE" = "yes"; then
20069 cat >> confdefs.h <<\EOF
20070#define wxUSE_MIMETYPE 1
20071EOF
20072
20073fi
20074
20075if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
20076 cat >> confdefs.h <<\EOF
20077#define wxUSE_SYSTEM_OPTIONS 1
20078EOF
20079
20080fi
20081
20082if test "$wxUSE_PROTOCOL" = "yes"; then
20083 if test "$wxUSE_SOCKETS" != "yes"; then
20084 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
20085 wxUSE_PROTOCOL=no
20086 fi
20087
20088 if test "$wxUSE_PROTOCOL" = "yes"; then
20089 cat >> confdefs.h <<\EOF
20090#define wxUSE_PROTOCOL 1
20091EOF
20092
20093
20094 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
20095 cat >> confdefs.h <<\EOF
20096#define wxUSE_PROTOCOL_HTTP 1
20097EOF
20098
20099 fi
20100 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
20101 cat >> confdefs.h <<\EOF
20102#define wxUSE_PROTOCOL_FTP 1
20103EOF
20104
20105 fi
20106 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
20107 cat >> confdefs.h <<\EOF
20108#define wxUSE_PROTOCOL_FILE 1
20109EOF
20110
20111 fi
20112 fi
20113fi
20114
20115if test "$wxUSE_URL" = "yes"; then
20116 if test "$wxUSE_PROTOCOL" != "yes"; then
20117 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
20118 wxUSE_URL=no
20119 fi
20120 if test "$wxUSE_URL" = "yes"; then
20121 cat >> confdefs.h <<\EOF
20122#define wxUSE_URL 1
20123EOF
20124
20125 fi
20126fi
20127
20128if test "$wxUSE_MINIFRAME" = "yes"; then
20129 cat >> confdefs.h <<\EOF
20130#define wxUSE_MINIFRAME 1
20131EOF
20132
20133 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
20134fi
20135
20136if test "$wxUSE_HTML" = "yes"; then
20137 cat >> confdefs.h <<\EOF
20138#define wxUSE_HTML 1
20139EOF
20140
20141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html"
20142fi
20143
20144if test "$wxUSE_VALIDATORS" = "yes"; then
20145 cat >> confdefs.h <<\EOF
20146#define wxUSE_VALIDATORS 1
20147EOF
20148
20149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
20150fi
20151
20152if test "$wxUSE_PALETTE" = "yes" ; then
20153 cat >> confdefs.h <<\EOF
20154#define wxUSE_PALETTE 1
20155EOF
20156
20157fi
20158
20159if test "$wxUSE_IMAGE" = "yes" ; then
20160 cat >> confdefs.h <<\EOF
20161#define wxUSE_IMAGE 1
20162EOF
20163
20164fi
20165
20166if test "$wxUSE_GIF" = "yes" ; then
20167 cat >> confdefs.h <<\EOF
20168#define wxUSE_GIF 1
20169EOF
20170
20171fi
20172
20173if test "$wxUSE_PCX" = "yes" ; then
20174 cat >> confdefs.h <<\EOF
20175#define wxUSE_PCX 1
20176EOF
20177
20178fi
20179
20180if test "$wxUSE_IFF" = "yes" ; then
20181 cat >> confdefs.h <<\EOF
20182#define wxUSE_IFF 1
20183EOF
20184
20185fi
20186
20187if test "$wxUSE_PNM" = "yes" ; then
20188 cat >> confdefs.h <<\EOF
20189#define wxUSE_PNM 1
20190EOF
20191
20192fi
20193
20194if test "$wxUSE_XPM" = "yes" ; then
20195 cat >> confdefs.h <<\EOF
20196#define wxUSE_XPM 1
20197EOF
20198
20199fi
20200
20201if test "$wxUSE_ICO_CUR" = "yes" ; then
20202 cat >> confdefs.h <<\EOF
20203#define wxUSE_ICO_CUR 1
20204EOF
20205
20206fi
20207
20208if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
20209 LIBS=" -lunicows $LIBS"
20210fi
20211
20212
20213if test "$wxUSE_CHOICEDLG" = "yes"; then
20214 cat >> confdefs.h <<\EOF
20215#define wxUSE_CHOICEDLG 1
20216EOF
20217
20218fi
20219
20220if test "$wxUSE_COLOURDLG" = "yes"; then
20221 cat >> confdefs.h <<\EOF
20222#define wxUSE_COLOURDLG 1
20223EOF
20224
20225fi
20226
20227if test "$wxUSE_FILEDLG" = "yes"; then
20228 cat >> confdefs.h <<\EOF
20229#define wxUSE_FILEDLG 1
20230EOF
20231
20232fi
20233
20234if test "$wxUSE_FINDREPLDLG" = "yes"; then
20235 cat >> confdefs.h <<\EOF
20236#define wxUSE_FINDREPLDLG 1
20237EOF
20238
20239fi
20240
20241if test "$wxUSE_FONTDLG" = "yes"; then
20242 cat >> confdefs.h <<\EOF
20243#define wxUSE_FONTDLG 1
20244EOF
20245
20246fi
20247
20248if test "$wxUSE_DIRDLG" = "yes"; then
20249 if test "$wxUSE_TREECTRL" != "yes"; then
20250 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
20251 else
20252 cat >> confdefs.h <<\EOF
20253#define wxUSE_DIRDLG 1
20254EOF
20255
20256 fi
20257fi
20258
20259if test "$wxUSE_MSGDLG" = "yes"; then
20260 cat >> confdefs.h <<\EOF
20261#define wxUSE_MSGDLG 1
20262EOF
20263
20264fi
20265
20266if test "$wxUSE_NUMBERDLG" = "yes"; then
20267 cat >> confdefs.h <<\EOF
20268#define wxUSE_NUMBERDLG 1
20269EOF
20270
20271fi
20272
20273if test "$wxUSE_PROGRESSDLG" = "yes"; then
20274 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20275 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
20276 else
20277 cat >> confdefs.h <<\EOF
20278#define wxUSE_PROGRESSDLG 1
20279EOF
20280
20281 fi
20282fi
20283
20284if test "$wxUSE_SPLASH" = "yes"; then
20285 cat >> confdefs.h <<\EOF
20286#define wxUSE_SPLASH 1
20287EOF
20288
20289fi
20290
20291if test "$wxUSE_STARTUP_TIPS" = "yes"; then
20292 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20293 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
20294 else
20295 cat >> confdefs.h <<\EOF
20296#define wxUSE_STARTUP_TIPS 1
20297EOF
20298
20299 fi
20300fi
20301
20302if test "$wxUSE_TEXTDLG" = "yes"; then
20303 cat >> confdefs.h <<\EOF
20304#define wxUSE_TEXTDLG 1
20305EOF
20306
20307fi
20308
20309if test "$wxUSE_WIZARDDLG" = "yes"; then
20310 cat >> confdefs.h <<\EOF
20311#define wxUSE_WIZARDDLG 1
20312EOF
20313
20314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
20315fi
20316
20317
20318if test "$cross_compiling" = "yes"; then
20319 OSINFO="\"$host\""
20320else
20321 OSINFO=`uname -s -r -m`
20322 OSINFO="\"$OSINFO\""
20323fi
20324
20325cat >> confdefs.h <<EOF
20326#define WXWIN_OS_DESCRIPTION $OSINFO
20327EOF
20328
20329
20330
20331if test "x$prefix" != "xNONE"; then
20332 wxPREFIX=$prefix
20333else
20334 wxPREFIX=$ac_default_prefix
20335fi
20336
20337cat >> confdefs.h <<EOF
20338#define wxINSTALL_PREFIX "$wxPREFIX"
20339EOF
20340
20341
20342
20343
20344
20345if test "$wxUSE_MAC" = 1 ; then
20346 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
20347fi
20348
20349
20350LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DL_LINK -lm $LIBS"
20351
20352if test "$wxUSE_GUI" = "yes"; then
20353
20354 LIBS="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
20355
20356
20357 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
20358 drawing dynamic erase event exec font image \
20359 minimal richedit rotate widgets"
20360
20361 CPPFLAGS="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
20362else
20363 SAMPLES_SUBDIRS="console"
20364fi
20365
20366
20367INCLUDES="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
20368$REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
20369
20370if test "$wxUSE_GTK" = 1; then
20371 WXCONFIG_INCLUDE=
20372else
20373 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
20374fi
20375
20376if test "$GXX" = yes ; then
20377 CXXWARNINGS="-Wall"
20378
20379 if test "$wxUSE_NO_DEPS" = "no" ; then
20380 CFLAGS="-MMD $CFLAGS"
20381 CXXFLAGS="-MMD $CXXFLAGS"
20382 fi
20383fi
20384
20385EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
20386
20387CFLAGS=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
20388CXXFLAGS=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
20389
20390LDFLAGS="$LDFLAGS$PROFILE"
20391
20392SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
20482echo "configure:20483: checking whether ${MAKE-make} sets \${MAKE}" >&5
20483set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
20484if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
20485 echo $ac_n "(cached) $ac_c" 1>&6
20486else
20487 cat > conftestmake <<\EOF
20488all:
20489 @echo 'ac_maketemp="${MAKE}"'
20490EOF
20491# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20492eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
20493if test -n "$ac_maketemp"; then
20494 eval ac_cv_prog_make_${ac_make}_set=yes
20495else
20496 eval ac_cv_prog_make_${ac_make}_set=no
20497fi
20498rm -f conftestmake
20499fi
20500if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
20501 echo "$ac_t""yes" 1>&6
20502 SET_MAKE=
20503else
20504 echo "$ac_t""no" 1>&6
20505 SET_MAKE="MAKE=${MAKE-make}"
20506fi
20507
20508
20509if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
20510 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
20511fi
20512
20513
20514
20515if test "$wxUSE_GUI" = "yes"; then
20516 wx_cv_path_samplesubdirs=$SAMPLES_SUBDIRS
20517 wx_cv_if_gnu_make=$IF_GNU_MAKE
20518 wx_cv_path_ifs=$PATH_IFS
20519 wx_cv_program_ext=$PROGRAM_EXT
20520 wx_cv_target_library=$WX_TARGET_LIBRARY
20521 wx_cv_target_library_gl=$WX_TARGET_LIBRARY_GL
20522 wx_cv_target_libtype=$WX_TARGET_LIBRARY_TYPE
20523 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
20524 wx_cv_path_ifs wx_cv_program_ext \
20525 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
20526 subdirs="demos samples utils contrib mobile"
20527
20528fi
20529
20530trap '' 1 2 15
20531cat > confcache <<\EOF
20532# This file is a shell script that caches the results of configure
20533# tests run on this system so they can be shared between configure
20534# scripts and configure runs. It is not useful on other systems.
20535# If it contains results you don't want to keep, you may remove or edit it.
20536#
20537# By default, configure uses ./config.cache as the cache file,
20538# creating it if it does not exist already. You can give configure
20539# the --cache-file=FILE option to use a different cache file; that is
20540# what configure does when it calls configure scripts in
20541# subdirectories, so they share the cache.
20542# Giving --cache-file=/dev/null disables caching, for debugging configure.
20543# config.status only pays attention to the cache file if you give it the
20544# --recheck option to rerun configure.
20545#
20546EOF
20547# The following way of writing the cache mishandles newlines in values,
20548# but we know of no workaround that is simple, portable, and efficient.
20549# So, don't put newlines in cache variables' values.
20550# Ultrix sh set writes to stderr and can't be redirected directly,
20551# and sets the high bit in the cache file unless we assign to the vars.
20552(set) 2>&1 |
20553 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20554 *ac_space=\ *)
20555 # `set' does not quote correctly, so add quotes (double-quote substitution
20556 # turns \\\\ into \\, and sed turns \\ into \).
20557 sed -n \
20558 -e "s/'/'\\\\''/g" \
20559 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20560 ;;
20561 *)
20562 # `set' quotes correctly as required by POSIX, so do not add quotes.
20563 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20564 ;;
20565 esac >> confcache
20566if cmp -s $cache_file confcache; then
20567 :
20568else
20569 if test -w $cache_file; then
20570 echo "updating cache $cache_file"
20571 cat confcache > $cache_file
20572 else
20573 echo "not updating unwritable cache $cache_file"
20574 fi
20575fi
20576rm -f confcache
20577
20578trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
20579
20580test "x$prefix" = xNONE && prefix=$ac_default_prefix
20581# Let make expand exec_prefix.
20582test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20583
20584# Any assignment to VPATH causes Sun make to only execute
20585# the first set of double-colon rules, so remove it if not needed.
20586# If there is a colon in the path, we need to keep it.
20587if test "x$srcdir" = x.; then
20588 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
20589fi
20590
20591trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
20592
20593DEFS=-DHAVE_CONFIG_H
20594
20595# Without the "./", some shells look in PATH for config.status.
20596: ${CONFIG_STATUS=./config.status}
20597
20598echo creating $CONFIG_STATUS
20599rm -f $CONFIG_STATUS
20600cat > $CONFIG_STATUS <<EOF
20601#! /bin/sh
20602# Generated automatically by configure.
20603# Run this file to recreate the current configuration.
20604# This directory was configured as follows,
20605# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20606#
20607# $0 $ac_configure_args
20608#
20609# Compiler output produced by configure, useful for debugging
20610# configure, is in ./config.log if it exists.
20611
20612ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
20613for ac_option
20614do
20615 case "\$ac_option" in
20616 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20617 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
20618 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
20619 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
20620 echo "$CONFIG_STATUS generated by autoconf version 2.13"
20621 exit 0 ;;
20622 -help | --help | --hel | --he | --h)
20623 echo "\$ac_cs_usage"; exit 0 ;;
20624 *) echo "\$ac_cs_usage"; exit 1 ;;
20625 esac
20626done
20627
20628ac_given_srcdir=$srcdir
20629ac_given_INSTALL="$INSTALL"
20630
20631trap 'rm -fr `echo "
20632 wx-config
20633 src/make.env
20634 src/makeprog.env
20635 src/makelib.env
20636 Makefile
20637 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
20638EOF
20639cat >> $CONFIG_STATUS <<EOF
20640
20641# Protect against being on the right side of a sed subst in config.status.
20642sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
20643 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
20644$ac_vpsub
20645$extrasub
20646s%@SHELL@%$SHELL%g
20647s%@CFLAGS@%$CFLAGS%g
20648s%@CPPFLAGS@%$CPPFLAGS%g
20649s%@CXXFLAGS@%$CXXFLAGS%g
20650s%@FFLAGS@%$FFLAGS%g
20651s%@DEFS@%$DEFS%g
20652s%@LDFLAGS@%$LDFLAGS%g
20653s%@LIBS@%$LIBS%g
20654s%@exec_prefix@%$exec_prefix%g
20655s%@prefix@%$prefix%g
20656s%@program_transform_name@%$program_transform_name%g
20657s%@bindir@%$bindir%g
20658s%@sbindir@%$sbindir%g
20659s%@libexecdir@%$libexecdir%g
20660s%@datadir@%$datadir%g
20661s%@sysconfdir@%$sysconfdir%g
20662s%@sharedstatedir@%$sharedstatedir%g
20663s%@localstatedir@%$localstatedir%g
20664s%@libdir@%$libdir%g
20665s%@includedir@%$includedir%g
20666s%@oldincludedir@%$oldincludedir%g
20667s%@infodir@%$infodir%g
20668s%@mandir@%$mandir%g
20669s%@host@%$host%g
20670s%@host_alias@%$host_alias%g
20671s%@host_cpu@%$host_cpu%g
20672s%@host_vendor@%$host_vendor%g
20673s%@host_os@%$host_os%g
20674s%@target@%$target%g
20675s%@target_alias@%$target_alias%g
20676s%@target_cpu@%$target_cpu%g
20677s%@target_vendor@%$target_vendor%g
20678s%@target_os@%$target_os%g
20679s%@build@%$build%g
20680s%@build_alias@%$build_alias%g
20681s%@build_cpu@%$build_cpu%g
20682s%@build_vendor@%$build_vendor%g
20683s%@build_os@%$build_os%g
20684s%@CC@%$CC%g
20685s%@CPP@%$CPP%g
20686s%@CXX@%$CXX%g
20687s%@RANLIB@%$RANLIB%g
20688s%@AR@%$AR%g
20689s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
20690s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
20691s%@INSTALL_DATA@%$INSTALL_DATA%g
20692s%@STRIP@%$STRIP%g
20693s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
20694s%@YACC@%$YACC%g
20695s%@LEX@%$LEX%g
20696s%@LEXLIB@%$LEXLIB%g
20697s%@LN_S@%$LN_S%g
20698s%@PKG_CONFIG@%$PKG_CONFIG%g
20699s%@GTK_CFLAGS@%$GTK_CFLAGS%g
20700s%@GTK_LIBS@%$GTK_LIBS%g
20701s%@GTK_CONFIG@%$GTK_CONFIG%g
20702s%@X_CFLAGS@%$X_CFLAGS%g
20703s%@X_PRE_LIBS@%$X_PRE_LIBS%g
20704s%@X_LIBS@%$X_LIBS%g
20705s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
20706s%@RESCOMP@%$RESCOMP%g
20707s%@DEREZ@%$DEREZ%g
20708s%@CXXCPP@%$CXXCPP%g
20709s%@LIBICONV@%$LIBICONV%g
20710s%@LEX_STEM@%$LEX_STEM%g
20711s%@PATH_IFS@%$PATH_IFS%g
20712s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
20713s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
20714s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
20715s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
20716s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
20717s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
20718s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
20719s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
20720s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
20721s%@PROGRAM_EXT@%$PROGRAM_EXT%g
20722s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
20723s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
20724s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
20725s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
20726s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
20727s%@WX_ALL@%$WX_ALL%g
20728s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
20729s%@SHARED_LD@%$SHARED_LD%g
20730s%@PIC_FLAG@%$PIC_FLAG%g
20731s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
20732s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
20733s%@SONAME_FLAGS@%$SONAME_FLAGS%g
20734s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
20735s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
20736s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
20737s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
20738s%@USE_GUI@%$USE_GUI%g
20739s%@AFMINSTALL@%$AFMINSTALL%g
20740s%@TOOLKIT@%$TOOLKIT%g
20741s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
20742s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
20743s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
20744s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
20745s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
20746s%@cross_compiling@%$cross_compiling%g
20747s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
20748s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
20749s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
20750s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
20751s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
20752s%@ALL_OBJECTS@%$ALL_OBJECTS%g
20753s%@ALL_HEADERS@%$ALL_HEADERS%g
20754s%@ALL_SOURCES@%$ALL_SOURCES%g
20755s%@GUIDIST@%$GUIDIST%g
20756s%@PORT_FILES@%$PORT_FILES%g
20757s%@DISTDIR@%$DISTDIR%g
20758s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
20759s%@LDFLAGS_GL@%$LDFLAGS_GL%g
20760s%@OPENGL_LIBS@%$OPENGL_LIBS%g
20761s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
20762s%@EXTRADEFS@%$EXTRADEFS%g
20763s%@RESFLAGS@%$RESFLAGS%g
20764s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
20765s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
20766s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
20767s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
20768s%@LIBWXMACRES@%$LIBWXMACRES%g
20769s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
20770s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
20771s%@DLLTOOL@%$DLLTOOL%g
20772s%@AS@%$AS%g
20773s%@NM@%$NM%g
20774s%@LD@%$LD%g
20775s%@MAKEINFO@%$MAKEINFO%g
20776s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
20777s%@SET_MAKE@%$SET_MAKE%g
20778s%@subdirs@%$subdirs%g
20779
20780CEOF
20781EOF
20782
20783cat >> $CONFIG_STATUS <<\EOF
20784
20785# Split the substitutions into bite-sized pieces for seds with
20786# small command number limits, like on Digital OSF/1 and HP-UX.
20787ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
20788ac_file=1 # Number of current file.
20789ac_beg=1 # First line for current file.
20790ac_end=$ac_max_sed_cmds # Line after last line for current file.
20791ac_more_lines=:
20792ac_sed_cmds=""
20793while $ac_more_lines; do
20794 if test $ac_beg -gt 1; then
20795 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
20796 else
20797 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
20798 fi
20799 if test ! -s conftest.s$ac_file; then
20800 ac_more_lines=false
20801 rm -f conftest.s$ac_file
20802 else
20803 if test -z "$ac_sed_cmds"; then
20804 ac_sed_cmds="sed -f conftest.s$ac_file"
20805 else
20806 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
20807 fi
20808 ac_file=`expr $ac_file + 1`
20809 ac_beg=$ac_end
20810 ac_end=`expr $ac_end + $ac_max_sed_cmds`
20811 fi
20812done
20813if test -z "$ac_sed_cmds"; then
20814 ac_sed_cmds=cat
20815fi
20816EOF
20817
20818cat >> $CONFIG_STATUS <<EOF
20819
20820CONFIG_FILES=\${CONFIG_FILES-"wx-config
20821 src/make.env
20822 src/makeprog.env
20823 src/makelib.env
20824 Makefile
20825 "}
20826EOF
20827cat >> $CONFIG_STATUS <<\EOF
20828for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
20829 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20830 case "$ac_file" in
20831 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
20832 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
20833 *) ac_file_in="${ac_file}.in" ;;
20834 esac
20835
20836 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
20837
20838 # Remove last slash and all that follows it. Not all systems have dirname.
20839 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20840 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20841 # The file is in a subdirectory.
20842 test ! -d "$ac_dir" && mkdir "$ac_dir"
20843 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
20844 # A "../" for each directory in $ac_dir_suffix.
20845 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
20846 else
20847 ac_dir_suffix= ac_dots=
20848 fi
20849
20850 case "$ac_given_srcdir" in
20851 .) srcdir=.
20852 if test -z "$ac_dots"; then top_srcdir=.
20853 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
20854 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
20855 *) # Relative path.
20856 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
20857 top_srcdir="$ac_dots$ac_given_srcdir" ;;
20858 esac
20859
20860 case "$ac_given_INSTALL" in
20861 [/$]*) INSTALL="$ac_given_INSTALL" ;;
20862 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
20863 esac
20864
20865 echo creating "$ac_file"
20866 rm -f "$ac_file"
20867 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
20868 case "$ac_file" in
20869 *Makefile*) ac_comsub="1i\\
20870# $configure_input" ;;
20871 *) ac_comsub= ;;
20872 esac
20873
20874 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20875 sed -e "$ac_comsub
20876s%@configure_input@%$configure_input%g
20877s%@srcdir@%$srcdir%g
20878s%@top_srcdir@%$top_srcdir%g
20879s%@INSTALL@%$INSTALL%g
20880" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
20881fi; done
20882rm -f conftest.s*
20883
20884# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20885# NAME is the cpp macro being defined and VALUE is the value it is being given.
20886#
20887# ac_d sets the value in "#define NAME VALUE" lines.
20888ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20889ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
20890ac_dC='\3'
20891ac_dD='%g'
20892# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
20893ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20894ac_uB='\([ ]\)%\1#\2define\3'
20895ac_uC=' '
20896ac_uD='\4%g'
20897# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20898ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20899ac_eB='$%\1#\2define\3'
20900ac_eC=' '
20901ac_eD='%g'
20902
20903if test "${CONFIG_HEADERS+set}" != set; then
20904EOF
20905cat >> $CONFIG_STATUS <<EOF
20906 CONFIG_HEADERS="setup.h:setup.h.in"
20907EOF
20908cat >> $CONFIG_STATUS <<\EOF
20909fi
20910for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
20911 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20912 case "$ac_file" in
20913 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
20914 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
20915 *) ac_file_in="${ac_file}.in" ;;
20916 esac
20917
20918 echo creating $ac_file
20919
20920 rm -f conftest.frag conftest.in conftest.out
20921 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20922 cat $ac_file_inputs > conftest.in
20923
20924EOF
20925
20926# Transform confdefs.h into a sed script conftest.vals that substitutes
20927# the proper values into config.h.in to produce config.h. And first:
20928# Protect against being on the right side of a sed subst in config.status.
20929# Protect against being in an unquoted here document in config.status.
20930rm -f conftest.vals
20931cat > conftest.hdr <<\EOF
20932s/[\\&%]/\\&/g
20933s%[\\$`]%\\&%g
20934s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
20935s%ac_d%ac_u%gp
20936s%ac_u%ac_e%gp
20937EOF
20938sed -n -f conftest.hdr confdefs.h > conftest.vals
20939rm -f conftest.hdr
20940
20941# This sed command replaces #undef with comments. This is necessary, for
20942# example, in the case of _POSIX_SOURCE, which is predefined and required
20943# on some systems where configure will not decide to define it.
20944cat >> conftest.vals <<\EOF
20945s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
20946EOF
20947
20948# Break up conftest.vals because some shells have a limit on
20949# the size of here documents, and old seds have small limits too.
20950
20951rm -f conftest.tail
20952while :
20953do
20954 ac_lines=`grep -c . conftest.vals`
20955 # grep -c gives empty output for an empty file on some AIX systems.
20956 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
20957 # Write a limited-size here document to conftest.frag.
20958 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
20959 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
20960 echo 'CEOF
20961 sed -f conftest.frag conftest.in > conftest.out
20962 rm -f conftest.in
20963 mv conftest.out conftest.in
20964' >> $CONFIG_STATUS
20965 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
20966 rm -f conftest.vals
20967 mv conftest.tail conftest.vals
20968done
20969rm -f conftest.vals
20970
20971cat >> $CONFIG_STATUS <<\EOF
20972 rm -f conftest.frag conftest.h
20973 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
20974 cat conftest.in >> conftest.h
20975 rm -f conftest.in
20976 if cmp -s $ac_file conftest.h 2>/dev/null; then
20977 echo "$ac_file is unchanged"
20978 rm -f conftest.h
20979 else
20980 # Remove last slash and all that follows it. Not all systems have dirname.
20981 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20982 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20983 # The file is in a subdirectory.
20984 test ! -d "$ac_dir" && mkdir "$ac_dir"
20985 fi
20986 rm -f $ac_file
20987 mv conftest.h $ac_file
20988 fi
20989fi; done
20990
20991EOF
20992cat >> $CONFIG_STATUS <<EOF
20993
20994 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
20995 LN_S="${LN_S}"
20996
20997
20998EOF
20999cat >> $CONFIG_STATUS <<\EOF
21000
21001 if test ! -h wx-config; then
21002 chmod +x wx-config
21003 mv wx-config wx${TOOLCHAIN_NAME}-config
21004 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
21005 fi
21006
21007 if test ! -d lib; then
21008 mkdir lib
21009 fi
21010 if test ! -d lib/wx; then
21011 mkdir lib/wx
21012 fi
21013 if test ! -d lib/wx/include; then
21014 mkdir lib/wx/include
21015 fi
21016 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
21017 mkdir lib/wx/include/${TOOLCHAIN_NAME}
21018 fi
21019 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
21020 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
21021 fi
21022 if test -f setup.h; then
21023 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
21024 fi
21025
21026exit 0
21027EOF
21028chmod +x $CONFIG_STATUS
21029rm -fr confdefs* $ac_clean_files
21030test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21031
21032if test "$no_recursion" != yes; then
21033
21034 # Remove --cache-file and --srcdir arguments so they do not pile up.
21035 ac_sub_configure_args=
21036 ac_prev=
21037 for ac_arg in $ac_configure_args; do
21038 if test -n "$ac_prev"; then
21039 ac_prev=
21040 continue
21041 fi
21042 case "$ac_arg" in
21043 -cache-file | --cache-file | --cache-fil | --cache-fi \
21044 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
21045 ac_prev=cache_file ;;
21046 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
21047 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
21048 ;;
21049 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
21050 ac_prev=srcdir ;;
21051 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
21052 ;;
21053 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
21054 esac
21055 done
21056
21057 for ac_config_dir in demos samples utils contrib mobile; do
21058
21059 # Do not complain, so a configure script can configure whichever
21060 # parts of a large source tree are present.
21061 if test ! -d $srcdir/$ac_config_dir; then
21062 continue
21063 fi
21064
21065 echo configuring in $ac_config_dir
21066
21067 case "$srcdir" in
21068 .) ;;
21069 *)
21070 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
21071 else
21072 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
21073 fi
21074 ;;
21075 esac
21076
21077 ac_popdir=`pwd`
21078 cd $ac_config_dir
21079
21080 # A "../" for each directory in /$ac_config_dir.
21081 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
21082
21083 case "$srcdir" in
21084 .) # No --srcdir option. We are building in place.
21085 ac_sub_srcdir=$srcdir ;;
21086 /*) # Absolute path.
21087 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
21088 *) # Relative path.
21089 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
21090 esac
21091
21092 # Check for guested configure; otherwise get Cygnus style configure.
21093 if test -f $ac_sub_srcdir/configure; then
21094 ac_sub_configure=$ac_sub_srcdir/configure
21095 elif test -f $ac_sub_srcdir/configure.in; then
21096 ac_sub_configure=$ac_configure
21097 else
21098 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
21099 ac_sub_configure=
21100 fi
21101
21102 # The recursion is here.
21103 if test -n "$ac_sub_configure"; then
21104
21105 # Make the cache file name correct relative to the subdirectory.
21106 case "$cache_file" in
21107 /*) ac_sub_cache_file=$cache_file ;;
21108 *) # Relative path.
21109 ac_sub_cache_file="$ac_dots$cache_file" ;;
21110 esac
21111 case "$ac_given_INSTALL" in
21112 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21113 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21114 esac
21115
21116 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
21117 # The eval makes quoting arguments work.
21118 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
21119 then :
21120 else
21121 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
21122 fi
21123 fi
21124
21125 cd $ac_popdir
21126 done
21127fi
21128
21129