]> git.saurik.com Git - wxWidgets.git/blame_incremental - configure
fixed flicker in wxTreeCtrl::SetItemXXX()
[wxWidgets.git] / configure
... / ...
CommitLineData
1#! /bin/sh
2
3# From configure.in Id: configure.in
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44# Guess values for system-dependent variables and create Makefiles.
45# Generated automatically using autoconf version 2.13
46# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
47#
48# This configure script is free software; the Free Software Foundation
49# gives unlimited permission to copy, distribute and modify it.
50
51# Defaults:
52ac_help=
53ac_default_prefix=/usr/local
54# Any additions from configure.in:
55ac_help="$ac_help
56 --enable-gui use GUI classes"
57ac_help="$ac_help
58 --enable-universal use wxWindows GUI controls instead of native ones"
59ac_help="$ac_help
60 --with-gtk use GTK+"
61ac_help="$ac_help
62 --with-motif use Motif/Lesstif"
63ac_help="$ac_help
64 --with-mac use Mac OS X"
65ac_help="$ac_help
66 --with-wine use WINE"
67ac_help="$ac_help
68 --with-msw use MS-Windows"
69ac_help="$ac_help
70 --with-pm use OS/2 Presentation Manager"
71ac_help="$ac_help
72 --with-mgl use SciTech MGL"
73ac_help="$ac_help
74 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
75ac_help="$ac_help
76 --with-libpng use libpng (PNG image format)"
77ac_help="$ac_help
78 --with-libjpeg use libjpeg (JPEG file format)"
79ac_help="$ac_help
80 --with-libtiff use libtiff (TIFF file format)"
81ac_help="$ac_help
82 --with-freetype use freetype (font rasterizer)"
83ac_help="$ac_help
84 --with-opengl use OpenGL (or Mesa)"
85ac_help="$ac_help
86 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
87ac_help="$ac_help
88 --with-regex enable support for wxRegEx class"
89ac_help="$ac_help
90 --with-zlib use zlib for LZW compression"
91ac_help="$ac_help
92 --with-odbc use the IODBC and wxODBC classes"
93ac_help="$ac_help
94 --enable-shared create shared library code"
95ac_help="$ac_help
96 --enable-soname set the DT_SONAME field in ELF shared libraries"
97ac_help="$ac_help
98 --enable-optimise create optimised code"
99ac_help="$ac_help
100 --enable-debug same as debug_flag and debug_info"
101ac_help="$ac_help
102 --enable-precomp enable use of precompiled headers (Mac OS X)"
103ac_help="$ac_help
104 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
105ac_help="$ac_help
106 --enable-debug_info create code with debugging information"
107ac_help="$ac_help
108 --enable-debug_gdb create code with extra GDB debugging information"
109ac_help="$ac_help
110 --enable-debug_cntxt use wxDebugContext"
111ac_help="$ac_help
112 --enable-mem_tracing create code with memory tracing"
113ac_help="$ac_help
114 --enable-profile create code with profiling information"
115ac_help="$ac_help
116 --enable-no_rtti create code without RTTI information"
117ac_help="$ac_help
118 --enable-no_exceptions create code without C++ exceptions handling"
119ac_help="$ac_help
120 --enable-permissive compile code disregarding strict ANSI"
121ac_help="$ac_help
122 --enable-no_deps create code without dependency information"
123ac_help="$ac_help
124 --enable-compat20 enable wxWindows 2.0 compatibility"
125ac_help="$ac_help
126 --enable-compat22 enable wxWindows 2.2 compatibility"
127ac_help="$ac_help
128 --enable-intl use internationalization system"
129ac_help="$ac_help
130 --enable-config use wxConfig (and derived) classes"
131ac_help="$ac_help
132 --enable-sockets use socket/network classes"
133ac_help="$ac_help
134 --enable-ipc use interprocess communication (wxSocket etc.)"
135ac_help="$ac_help
136 --enable-cmdline use wxCmdLineParser class"
137ac_help="$ac_help
138 --enable-datetime use wxDateTime class"
139ac_help="$ac_help
140 --enable-timedate use obsolete wxDate/wxTime classes"
141ac_help="$ac_help
142 --enable-stopwatch use wxStopWatch class"
143ac_help="$ac_help
144 --enable-dialupman use dialup network classes"
145ac_help="$ac_help
146 --enable-apple_ieee use the Apple IEEE codec"
147ac_help="$ac_help
148 --enable-timer use wxTimer class"
149ac_help="$ac_help
150 --enable-wave use wxWave class"
151ac_help="$ac_help
152 --enable-fraction use wxFraction class"
153ac_help="$ac_help
154 --enable-dynlib use wxLibrary class for DLL loading"
155ac_help="$ac_help
156 --enable-longlong use wxLongLong class"
157ac_help="$ac_help
158 --enable-geometry use geometry class"
159ac_help="$ac_help
160 --enable-log use logging system"
161ac_help="$ac_help
162 --enable-streams use wxStream etc classes"
163ac_help="$ac_help
164 --enable-file use wxFile classes"
165ac_help="$ac_help
166 --enable-ffile use wxFFile classes"
167ac_help="$ac_help
168 --enable-textbuf use wxTextBuffer class"
169ac_help="$ac_help
170 --enable-textfile use wxTextFile class"
171ac_help="$ac_help
172 --enable-fontmap use font encodings conversion classes"
173ac_help="$ac_help
174 --enable-unicode compile wxString with Unicode support"
175ac_help="$ac_help
176 --enable-wxprintfv use wxWindows implementation of vprintf()"
177ac_help="$ac_help
178 --enable-std_iostreams use standard C++ stream classes"
179ac_help="$ac_help
180 --enable-filesystem use virtual file systems classes"
181ac_help="$ac_help
182 --enable-fs_inet use virtual HTTP/FTP filesystems"
183ac_help="$ac_help
184 --enable-fs_zip use virtual ZIP filesystems"
185ac_help="$ac_help
186 --enable-zipstream use wxZipInputStream"
187ac_help="$ac_help
188 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
189ac_help="$ac_help
190 --enable-snglinst use wxSingleInstanceChecker class"
191ac_help="$ac_help
192 --enable-mimetype use wxMimeTypesManager"
193ac_help="$ac_help
194 --enable-sysoptions use wxSystemOptions"
195ac_help="$ac_help
196 --enable-threads use threads"
197ac_help="$ac_help
198 --enable-serial use class serialization"
199ac_help="$ac_help
200 --enable-docview use document view architecture"
201ac_help="$ac_help
202 --enable-help use help subsystem"
203ac_help="$ac_help
204 --enable-mshtmlhelp use MS HTML Help (win32)"
205ac_help="$ac_help
206 --enable-html use wxHTML sub-library"
207ac_help="$ac_help
208 --enable-htmlhelp use wxHTML-based help"
209ac_help="$ac_help
210 --enable-constraints use layout-constraints system"
211ac_help="$ac_help
212 --enable-printarch use printing architecture"
213ac_help="$ac_help
214 --enable-mdi use multiple document interface architecture"
215ac_help="$ac_help
216 --enable-loggui use standard GUI logger"
217ac_help="$ac_help
218 --enable-logwin use wxLogWindow"
219ac_help="$ac_help
220 --enable-logdialog use wxLogDialog"
221ac_help="$ac_help
222 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
223ac_help="$ac_help
224 --enable-prologio use Prolog IO library"
225ac_help="$ac_help
226 --enable-resources use wxWindows resources"
227ac_help="$ac_help
228 --enable-xresources use X resources for save (default for gtk+)"
229ac_help="$ac_help
230 --enable-clipboard use wxClipboard classes"
231ac_help="$ac_help
232 --enable-dnd use Drag'n'Drop classes"
233ac_help="$ac_help
234 --enable-metafile use win32 metafiles"
235ac_help="$ac_help
236 --enable-treelayout use wxTreeLayout classes"
237ac_help="$ac_help
238 --enable-controls use all usual controls"
239ac_help="$ac_help
240 --enable-accel use accelerators"
241ac_help="$ac_help
242 --enable-button use wxButton class"
243ac_help="$ac_help
244 --enable-bmpbutton use wxBitmapButton class"
245ac_help="$ac_help
246 --enable-calendar use wxCalendarCtrl class"
247ac_help="$ac_help
248 --enable-caret use wxCaret class"
249ac_help="$ac_help
250 --enable-checkbox use wxCheckBox class"
251ac_help="$ac_help
252 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
253ac_help="$ac_help
254 --enable-choice use wxChoice class"
255ac_help="$ac_help
256 --enable-combobox use wxComboBox classes"
257ac_help="$ac_help
258 --enable-gauge use wxGauge class"
259ac_help="$ac_help
260 --enable-grid use wxGrid class"
261ac_help="$ac_help
262 --enable-newgrid use new wxGrid class"
263ac_help="$ac_help
264 --enable-imaglist use wxImageList class"
265ac_help="$ac_help
266 --enable-listbox use wxListBox class"
267ac_help="$ac_help
268 --enable-listctrl use wxListCtrl class"
269ac_help="$ac_help
270 --enable-notebook use wxNotebook class"
271ac_help="$ac_help
272 --enable-propsheet use wxPropertySheet class"
273ac_help="$ac_help
274 --enable-radiobox use wxRadioBox class"
275ac_help="$ac_help
276 --enable-radiobtn use wxRadioButton class"
277ac_help="$ac_help
278 --enable-sash use wxSashWindow class"
279ac_help="$ac_help
280 --enable-scrollbar use wxScrollBar class and scrollable windows"
281ac_help="$ac_help
282 --enable-slider use wxSlider class"
283ac_help="$ac_help
284 --enable-spinbtn use wxSpinButton class"
285ac_help="$ac_help
286 --enable-spinctrl use wxSpinCtrl class"
287ac_help="$ac_help
288 --enable-splitter use wxSplitterWindow class"
289ac_help="$ac_help
290 --enable-statbmp use wxStaticBitmap class"
291ac_help="$ac_help
292 --enable-statbox use wxStaticBox class"
293ac_help="$ac_help
294 --enable-statline use wxStaticLine class"
295ac_help="$ac_help
296 --enable-stattext use wxStaticText class"
297ac_help="$ac_help
298 --enable-statusbar use wxStatusBar class"
299ac_help="$ac_help
300 --enable-tabdialog use wxTabControl class"
301ac_help="$ac_help
302 --enable-textctrl use wxTextCtrl class"
303ac_help="$ac_help
304 --enable-togglebtn use wxToggleButton class"
305ac_help="$ac_help
306 --enable-toolbar use wxToolBar class"
307ac_help="$ac_help
308 --enable-tbarnative use native wxToolBar class"
309ac_help="$ac_help
310 --enable-tbarsmpl use wxToolBarSimple class"
311ac_help="$ac_help
312 --enable-treectrl use wxTreeCtrl class"
313ac_help="$ac_help
314 --enable-tipwindow use wxTipWindow class"
315ac_help="$ac_help
316 --enable-popupwin use wxPopUpWindow class"
317ac_help="$ac_help
318 --enable-commondlg use all common dialogs"
319ac_help="$ac_help
320 --enable-choicedlg use wxChoiceDialog"
321ac_help="$ac_help
322 --enable-coldlg use wxColourDialog"
323ac_help="$ac_help
324 --enable-filedlg use wxFileDialog"
325ac_help="$ac_help
326 --enable-finddlg use wxFindReplaceDialog"
327ac_help="$ac_help
328 --enable-fontdlg use wxFontDialog"
329ac_help="$ac_help
330 --enable-dirdlg use wxDirDialog"
331ac_help="$ac_help
332 --enable-msgdlg use wxMessageDialog"
333ac_help="$ac_help
334 --enable-numberdlg use wxNumberEntryDialog"
335ac_help="$ac_help
336 --enable-splash use wxSplashScreen"
337ac_help="$ac_help
338 --enable-textdlg use wxTextDialog"
339ac_help="$ac_help
340 --enable-tipdlg use startup tips"
341ac_help="$ac_help
342 --enable-progressdlg use wxProgressDialog"
343ac_help="$ac_help
344 --enable-wizarddlg use wxWizard"
345ac_help="$ac_help
346 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
347ac_help="$ac_help
348 --enable-miniframe use wxMiniFrame class"
349ac_help="$ac_help
350 --enable-tooltips use wxToolTip class"
351ac_help="$ac_help
352 --enable-splines use spline drawing code"
353ac_help="$ac_help
354 --enable-validators use wxValidator and derived classes"
355ac_help="$ac_help
356 --enable-busyinfo use wxBusyInfo"
357ac_help="$ac_help
358 --enable-joystick use wxJoystick (Linux only)"
359ac_help="$ac_help
360 --enable-metafiles use wxMetaFile (Windows only)"
361ac_help="$ac_help
362 --enable-dragimage use wxDragImage"
363ac_help="$ac_help
364 --enable-palette use wxPalette class"
365ac_help="$ac_help
366 --enable-image use wxImage class"
367ac_help="$ac_help
368 --enable-gif use gif images (GIF file format)"
369ac_help="$ac_help
370 --enable-pcx use pcx images (PCX file format)"
371ac_help="$ac_help
372 --enable-pnm use pnm images (PNM file format)"
373ac_help="$ac_help
374 --enable-xpm use xpm images (XPM file format)"
375ac_help="$ac_help
376 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
377ac_help="$ac_help
378 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
379ac_help="$ac_help
380 --disable-gtktest Do not try to compile and run a test GTK program"
381ac_help="$ac_help
382 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
383ac_help="$ac_help
384 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
385ac_help="$ac_help
386 --disable-gtktest Do not try to compile and run a test GTK program"
387ac_help="$ac_help
388 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
389ac_help="$ac_help
390 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
391ac_help="$ac_help
392 --disable-gtktest Do not try to compile and run a test GTK program"
393ac_help="$ac_help
394 --with-x use the X Window System"
395
396# Initialize some variables set by options.
397# The variables have the same names as the options, with
398# dashes changed to underlines.
399build=NONE
400cache_file=./config.cache
401exec_prefix=NONE
402host=NONE
403no_create=
404nonopt=NONE
405no_recursion=
406prefix=NONE
407program_prefix=NONE
408program_suffix=NONE
409program_transform_name=s,x,x,
410silent=
411site=
412srcdir=
413target=NONE
414verbose=
415x_includes=NONE
416x_libraries=NONE
417bindir='${exec_prefix}/bin'
418sbindir='${exec_prefix}/sbin'
419libexecdir='${exec_prefix}/libexec'
420datadir='${prefix}/share'
421sysconfdir='${prefix}/etc'
422sharedstatedir='${prefix}/com'
423localstatedir='${prefix}/var'
424libdir='${exec_prefix}/lib'
425includedir='${prefix}/include'
426oldincludedir='/usr/include'
427infodir='${prefix}/info'
428mandir='${prefix}/man'
429
430# Initialize some other variables.
431subdirs=
432MFLAGS= MAKEFLAGS=
433SHELL=${CONFIG_SHELL-/bin/sh}
434# Maximum number of lines to put in a shell here document.
435ac_max_here_lines=12
436
437ac_prev=
438for ac_option
439do
440
441 # If the previous option needs an argument, assign it.
442 if test -n "$ac_prev"; then
443 eval "$ac_prev=\$ac_option"
444 ac_prev=
445 continue
446 fi
447
448 case "$ac_option" in
449 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
450 *) ac_optarg= ;;
451 esac
452
453 # Accept the important Cygnus configure options, so we can diagnose typos.
454
455 case "$ac_option" in
456
457 -bindir | --bindir | --bindi | --bind | --bin | --bi)
458 ac_prev=bindir ;;
459 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
460 bindir="$ac_optarg" ;;
461
462 -build | --build | --buil | --bui | --bu)
463 ac_prev=build ;;
464 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
465 build="$ac_optarg" ;;
466
467 -cache-file | --cache-file | --cache-fil | --cache-fi \
468 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
469 ac_prev=cache_file ;;
470 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
471 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
472 cache_file="$ac_optarg" ;;
473
474 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
475 ac_prev=datadir ;;
476 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
477 | --da=*)
478 datadir="$ac_optarg" ;;
479
480 -disable-* | --disable-*)
481 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
482 # Reject names that are not valid shell variable names.
483 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
484 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
485 fi
486 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
487 eval "enable_${ac_feature}=no" ;;
488
489 -enable-* | --enable-*)
490 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
491 # Reject names that are not valid shell variable names.
492 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
493 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
494 fi
495 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
496 case "$ac_option" in
497 *=*) ;;
498 *) ac_optarg=yes ;;
499 esac
500 eval "enable_${ac_feature}='$ac_optarg'" ;;
501
502 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
503 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
504 | --exec | --exe | --ex)
505 ac_prev=exec_prefix ;;
506 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
507 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
508 | --exec=* | --exe=* | --ex=*)
509 exec_prefix="$ac_optarg" ;;
510
511 -gas | --gas | --ga | --g)
512 # Obsolete; use --with-gas.
513 with_gas=yes ;;
514
515 -help | --help | --hel | --he)
516 # Omit some internal or obsolete options to make the list less imposing.
517 # This message is too long to be a string in the A/UX 3.1 sh.
518 cat << EOF
519Usage: configure [options] [host]
520Options: [defaults in brackets after descriptions]
521Configuration:
522 --cache-file=FILE cache test results in FILE
523 --help print this message
524 --no-create do not create output files
525 --quiet, --silent do not print \`checking...' messages
526 --version print the version of autoconf that created configure
527Directory and file names:
528 --prefix=PREFIX install architecture-independent files in PREFIX
529 [$ac_default_prefix]
530 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
531 [same as prefix]
532 --bindir=DIR user executables in DIR [EPREFIX/bin]
533 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
534 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
535 --datadir=DIR read-only architecture-independent data in DIR
536 [PREFIX/share]
537 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
538 --sharedstatedir=DIR modifiable architecture-independent data in DIR
539 [PREFIX/com]
540 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
541 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
542 --includedir=DIR C header files in DIR [PREFIX/include]
543 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
544 --infodir=DIR info documentation in DIR [PREFIX/info]
545 --mandir=DIR man documentation in DIR [PREFIX/man]
546 --srcdir=DIR find the sources in DIR [configure dir or ..]
547 --program-prefix=PREFIX prepend PREFIX to installed program names
548 --program-suffix=SUFFIX append SUFFIX to installed program names
549 --program-transform-name=PROGRAM
550 run sed PROGRAM on installed program names
551EOF
552 cat << EOF
553Host type:
554 --build=BUILD configure for building on BUILD [BUILD=HOST]
555 --host=HOST configure for HOST [guessed]
556 --target=TARGET configure for TARGET [TARGET=HOST]
557Features and packages:
558 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
559 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
560 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
561 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
562 --x-includes=DIR X include files are in DIR
563 --x-libraries=DIR X library files are in DIR
564EOF
565 if test -n "$ac_help"; then
566 echo "--enable and --with options recognized:$ac_help"
567 fi
568 exit 0 ;;
569
570 -host | --host | --hos | --ho)
571 ac_prev=host ;;
572 -host=* | --host=* | --hos=* | --ho=*)
573 host="$ac_optarg" ;;
574
575 -includedir | --includedir | --includedi | --included | --include \
576 | --includ | --inclu | --incl | --inc)
577 ac_prev=includedir ;;
578 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
579 | --includ=* | --inclu=* | --incl=* | --inc=*)
580 includedir="$ac_optarg" ;;
581
582 -infodir | --infodir | --infodi | --infod | --info | --inf)
583 ac_prev=infodir ;;
584 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
585 infodir="$ac_optarg" ;;
586
587 -libdir | --libdir | --libdi | --libd)
588 ac_prev=libdir ;;
589 -libdir=* | --libdir=* | --libdi=* | --libd=*)
590 libdir="$ac_optarg" ;;
591
592 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
593 | --libexe | --libex | --libe)
594 ac_prev=libexecdir ;;
595 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
596 | --libexe=* | --libex=* | --libe=*)
597 libexecdir="$ac_optarg" ;;
598
599 -localstatedir | --localstatedir | --localstatedi | --localstated \
600 | --localstate | --localstat | --localsta | --localst \
601 | --locals | --local | --loca | --loc | --lo)
602 ac_prev=localstatedir ;;
603 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
604 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
605 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
606 localstatedir="$ac_optarg" ;;
607
608 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
609 ac_prev=mandir ;;
610 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
611 mandir="$ac_optarg" ;;
612
613 -nfp | --nfp | --nf)
614 # Obsolete; use --without-fp.
615 with_fp=no ;;
616
617 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
618 | --no-cr | --no-c)
619 no_create=yes ;;
620
621 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
622 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
623 no_recursion=yes ;;
624
625 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
626 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
627 | --oldin | --oldi | --old | --ol | --o)
628 ac_prev=oldincludedir ;;
629 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
630 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
631 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
632 oldincludedir="$ac_optarg" ;;
633
634 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
635 ac_prev=prefix ;;
636 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
637 prefix="$ac_optarg" ;;
638
639 -program-prefix | --program-prefix | --program-prefi | --program-pref \
640 | --program-pre | --program-pr | --program-p)
641 ac_prev=program_prefix ;;
642 -program-prefix=* | --program-prefix=* | --program-prefi=* \
643 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
644 program_prefix="$ac_optarg" ;;
645
646 -program-suffix | --program-suffix | --program-suffi | --program-suff \
647 | --program-suf | --program-su | --program-s)
648 ac_prev=program_suffix ;;
649 -program-suffix=* | --program-suffix=* | --program-suffi=* \
650 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
651 program_suffix="$ac_optarg" ;;
652
653 -program-transform-name | --program-transform-name \
654 | --program-transform-nam | --program-transform-na \
655 | --program-transform-n | --program-transform- \
656 | --program-transform | --program-transfor \
657 | --program-transfo | --program-transf \
658 | --program-trans | --program-tran \
659 | --progr-tra | --program-tr | --program-t)
660 ac_prev=program_transform_name ;;
661 -program-transform-name=* | --program-transform-name=* \
662 | --program-transform-nam=* | --program-transform-na=* \
663 | --program-transform-n=* | --program-transform-=* \
664 | --program-transform=* | --program-transfor=* \
665 | --program-transfo=* | --program-transf=* \
666 | --program-trans=* | --program-tran=* \
667 | --progr-tra=* | --program-tr=* | --program-t=*)
668 program_transform_name="$ac_optarg" ;;
669
670 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
671 | -silent | --silent | --silen | --sile | --sil)
672 silent=yes ;;
673
674 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
675 ac_prev=sbindir ;;
676 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
677 | --sbi=* | --sb=*)
678 sbindir="$ac_optarg" ;;
679
680 -sharedstatedir | --sharedstatedir | --sharedstatedi \
681 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
682 | --sharedst | --shareds | --shared | --share | --shar \
683 | --sha | --sh)
684 ac_prev=sharedstatedir ;;
685 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
686 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
687 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
688 | --sha=* | --sh=*)
689 sharedstatedir="$ac_optarg" ;;
690
691 -site | --site | --sit)
692 ac_prev=site ;;
693 -site=* | --site=* | --sit=*)
694 site="$ac_optarg" ;;
695
696 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
697 ac_prev=srcdir ;;
698 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
699 srcdir="$ac_optarg" ;;
700
701 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
702 | --syscon | --sysco | --sysc | --sys | --sy)
703 ac_prev=sysconfdir ;;
704 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
705 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
706 sysconfdir="$ac_optarg" ;;
707
708 -target | --target | --targe | --targ | --tar | --ta | --t)
709 ac_prev=target ;;
710 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
711 target="$ac_optarg" ;;
712
713 -v | -verbose | --verbose | --verbos | --verbo | --verb)
714 verbose=yes ;;
715
716 -version | --version | --versio | --versi | --vers)
717 echo "configure generated by autoconf version 2.13"
718 exit 0 ;;
719
720 -with-* | --with-*)
721 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
722 # Reject names that are not valid shell variable names.
723 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
724 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
725 fi
726 ac_package=`echo $ac_package| sed 's/-/_/g'`
727 case "$ac_option" in
728 *=*) ;;
729 *) ac_optarg=yes ;;
730 esac
731 eval "with_${ac_package}='$ac_optarg'" ;;
732
733 -without-* | --without-*)
734 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
735 # Reject names that are not valid shell variable names.
736 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
737 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
738 fi
739 ac_package=`echo $ac_package| sed 's/-/_/g'`
740 eval "with_${ac_package}=no" ;;
741
742 --x)
743 # Obsolete; use --with-x.
744 with_x=yes ;;
745
746 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
747 | --x-incl | --x-inc | --x-in | --x-i)
748 ac_prev=x_includes ;;
749 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
750 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
751 x_includes="$ac_optarg" ;;
752
753 -x-libraries | --x-libraries | --x-librarie | --x-librari \
754 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
755 ac_prev=x_libraries ;;
756 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
757 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
758 x_libraries="$ac_optarg" ;;
759
760 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
761 ;;
762
763 *)
764 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
765 echo "configure: warning: $ac_option: invalid host type" 1>&2
766 fi
767 if test "x$nonopt" != xNONE; then
768 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
769 fi
770 nonopt="$ac_option"
771 ;;
772
773 esac
774done
775
776if test -n "$ac_prev"; then
777 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
778fi
779
780trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
781
782# File descriptor usage:
783# 0 standard input
784# 1 file creation
785# 2 errors and warnings
786# 3 some systems may open it to /dev/tty
787# 4 used on the Kubota Titan
788# 6 checking for... messages and results
789# 5 compiler messages saved in config.log
790if test "$silent" = yes; then
791 exec 6>/dev/null
792else
793 exec 6>&1
794fi
795exec 5>./config.log
796
797echo "\
798This file contains any messages produced by compilers while
799running configure, to aid debugging if configure makes a mistake.
800" 1>&5
801
802# Strip out --no-create and --no-recursion so they do not pile up.
803# Also quote any args containing shell metacharacters.
804ac_configure_args=
805for ac_arg
806do
807 case "$ac_arg" in
808 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
809 | --no-cr | --no-c) ;;
810 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
811 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
812 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
813 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
814 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
815 esac
816done
817
818# NLS nuisances.
819# Only set these to C if already set. These must not be set unconditionally
820# because not all systems understand e.g. LANG=C (notably SCO).
821# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
822# Non-C LC_CTYPE values break the ctype check.
823if test "${LANG+set}" = set; then LANG=C; export LANG; fi
824if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
825if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
826if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
827
828# confdefs.h avoids OS command line length limits that DEFS can exceed.
829rm -rf conftest* confdefs.h
830# AIX cpp loses on an empty file, so make sure it contains at least a newline.
831echo > confdefs.h
832
833# A filename unique to this package, relative to the directory that
834# configure is in, which we can look for to find out if srcdir is correct.
835ac_unique_file=wx-config.in
836
837# Find the source files, if location was not specified.
838if test -z "$srcdir"; then
839 ac_srcdir_defaulted=yes
840 # Try the directory containing this script, then its parent.
841 ac_prog=$0
842 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
843 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
844 srcdir=$ac_confdir
845 if test ! -r $srcdir/$ac_unique_file; then
846 srcdir=..
847 fi
848else
849 ac_srcdir_defaulted=no
850fi
851if test ! -r $srcdir/$ac_unique_file; then
852 if test "$ac_srcdir_defaulted" = yes; then
853 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
854 else
855 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
856 fi
857fi
858srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
859
860# Prefer explicitly selected file to automatically selected ones.
861if test -z "$CONFIG_SITE"; then
862 if test "x$prefix" != xNONE; then
863 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
864 else
865 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
866 fi
867fi
868for ac_site_file in $CONFIG_SITE; do
869 if test -r "$ac_site_file"; then
870 echo "loading site script $ac_site_file"
871 . "$ac_site_file"
872 fi
873done
874
875if test -r "$cache_file"; then
876 echo "loading cache $cache_file"
877 . $cache_file
878else
879 echo "creating cache $cache_file"
880 > $cache_file
881fi
882
883ac_ext=c
884# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
885ac_cpp='$CPP $CPPFLAGS'
886ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
887ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
888cross_compiling=$ac_cv_prog_cc_cross
889
890ac_exeext=
891ac_objext=o
892if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
893 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
894 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
895 ac_n= ac_c='
896' ac_t=' '
897 else
898 ac_n=-n ac_c= ac_t=
899 fi
900else
901 ac_n= ac_c='\c' ac_t=
902fi
903
904
905
906ac_aux_dir=
907for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
908 if test -f $ac_dir/install-sh; then
909 ac_aux_dir=$ac_dir
910 ac_install_sh="$ac_aux_dir/install-sh -c"
911 break
912 elif test -f $ac_dir/install.sh; then
913 ac_aux_dir=$ac_dir
914 ac_install_sh="$ac_aux_dir/install.sh -c"
915 break
916 fi
917done
918if test -z "$ac_aux_dir"; then
919 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
920fi
921ac_config_guess=$ac_aux_dir/config.guess
922ac_config_sub=$ac_aux_dir/config.sub
923ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
924
925
926# Do some error checking and defaulting for the host and target type.
927# The inputs are:
928# configure --host=HOST --target=TARGET --build=BUILD NONOPT
929#
930# The rules are:
931# 1. You are not allowed to specify --host, --target, and nonopt at the
932# same time.
933# 2. Host defaults to nonopt.
934# 3. If nonopt is not specified, then host defaults to the current host,
935# as determined by config.guess.
936# 4. Target and build default to nonopt.
937# 5. If nonopt is not specified, then target and build default to host.
938
939# The aliases save the names the user supplied, while $host etc.
940# will get canonicalized.
941case $host---$target---$nonopt in
942NONE---*---* | *---NONE---* | *---*---NONE) ;;
943*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
944esac
945
946
947# Make sure we can run config.sub.
948if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
949else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
950fi
951
952echo $ac_n "checking host system type""... $ac_c" 1>&6
953echo "configure:954: checking host system type" >&5
954
955host_alias=$host
956case "$host_alias" in
957NONE)
958 case $nonopt in
959 NONE)
960 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
961 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
962 fi ;;
963 *) host_alias=$nonopt ;;
964 esac ;;
965esac
966
967host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
968host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
969host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
970host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
971echo "$ac_t""$host" 1>&6
972
973echo $ac_n "checking target system type""... $ac_c" 1>&6
974echo "configure:975: checking target system type" >&5
975
976target_alias=$target
977case "$target_alias" in
978NONE)
979 case $nonopt in
980 NONE) target_alias=$host_alias ;;
981 *) target_alias=$nonopt ;;
982 esac ;;
983esac
984
985target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
986target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
987target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
988target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
989echo "$ac_t""$target" 1>&6
990
991echo $ac_n "checking build system type""... $ac_c" 1>&6
992echo "configure:993: checking build system type" >&5
993
994build_alias=$build
995case "$build_alias" in
996NONE)
997 case $nonopt in
998 NONE) build_alias=$host_alias ;;
999 *) build_alias=$nonopt ;;
1000 esac ;;
1001esac
1002
1003build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1004build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1005build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1006build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1007echo "$ac_t""$build" 1>&6
1008
1009test "$host_alias" != "$target_alias" &&
1010 test "$program_prefix$program_suffix$program_transform_name" = \
1011 NONENONEs,x,x, &&
1012 program_prefix=${target_alias}-
1013
1014
1015
1016WX_MAJOR_VERSION_NUMBER=2
1017WX_MINOR_VERSION_NUMBER=3
1018WX_RELEASE_NUMBER=2
1019
1020WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1021WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1022
1023WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1024
1025WX_CURRENT=1
1026WX_REVISION=0
1027WX_AGE=0
1028
1029
1030
1031USE_UNIX=1
1032USE_WIN32=0
1033USE_BEOS=0
1034USE_MAC=0
1035
1036USE_LINUX=
1037USE_SGI=
1038USE_HPUX=
1039USE_SYSV=
1040USE_SVR4=
1041USE_AIX=
1042USE_SUN=
1043USE_SOLARIS=
1044USE_SUNOS=
1045USE_ALPHA=
1046USE_OSF=
1047USE_BSD=
1048USE_DARWIN=
1049USE_FREEBSD=
1050USE_OPENBSD=
1051USE_NETBSD=
1052USE_VMS=
1053USE_ULTRIX=
1054USE_DATA_GENERAL=
1055
1056NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1057
1058CPP_MT_FLAG=-D_REENTRANT
1059
1060ALL_TOOLKITS="GTK MAC MGL MOTIF MSW PM WINE"
1061
1062DEFAULT_wxUSE_GTK=0
1063DEFAULT_wxUSE_MAC=0
1064DEFAULT_wxUSE_MGL=0
1065DEFAULT_wxUSE_MOTIF=0
1066DEFAULT_wxUSE_MSW=0
1067DEFAULT_wxUSE_PM=0
1068DEFAULT_wxUSE_WINE=0
1069
1070DEFAULT_DEFAULT_wxUSE_GTK=0
1071DEFAULT_DEFAULT_wxUSE_MAC=0
1072DEFAULT_DEFAULT_wxUSE_MGL=0
1073DEFAULT_DEFAULT_wxUSE_MOTIF=0
1074DEFAULT_DEFAULT_wxUSE_MSW=0
1075DEFAULT_DEFAULT_wxUSE_PM=0
1076DEFAULT_DEFAULT_wxUSE_WINE=0
1077
1078PROGRAM_EXT=
1079SO_SUFFIX=so
1080
1081case "${host}" in
1082 *-hp-hpux* )
1083 USE_HPUX=1
1084 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1085 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1086 SO_SUFFIX=sl
1087 cat >> confdefs.h <<\EOF
1088#define __HPUX__ 1
1089EOF
1090
1091 ;;
1092 *-*-linux* )
1093 USE_LINUX=1
1094 cat >> confdefs.h <<\EOF
1095#define __LINUX__ 1
1096EOF
1097
1098 TMP=`uname -m`
1099 if test "x$TMP" = "xalpha"; then
1100 USE_ALPHA=1
1101 cat >> confdefs.h <<\EOF
1102#define __ALPHA__ 1
1103EOF
1104
1105 fi
1106 DEFAULT_DEFAULT_wxUSE_GTK=1
1107 ;;
1108 *-*-irix5* | *-*-irix6* )
1109 USE_SGI=1
1110 USE_SVR4=1
1111 cat >> confdefs.h <<\EOF
1112#define __SGI__ 1
1113EOF
1114
1115 cat >> confdefs.h <<\EOF
1116#define __SVR4__ 1
1117EOF
1118
1119 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1120 ;;
1121 *-*-solaris2* )
1122 USE_SUN=1
1123 USE_SOLARIS=1
1124 USE_SVR4=1
1125 cat >> confdefs.h <<\EOF
1126#define __SUN__ 1
1127EOF
1128
1129 cat >> confdefs.h <<\EOF
1130#define __SOLARIS__ 1
1131EOF
1132
1133 cat >> confdefs.h <<\EOF
1134#define __SVR4__ 1
1135EOF
1136
1137 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1138 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1139 ;;
1140 *-*-sunos4* )
1141 USE_SUN=1
1142 USE_SUNOS=1
1143 USE_BSD=1
1144 cat >> confdefs.h <<\EOF
1145#define __SUN__ 1
1146EOF
1147
1148 cat >> confdefs.h <<\EOF
1149#define __SUNOS__ 1
1150EOF
1151
1152 cat >> confdefs.h <<\EOF
1153#define __BSD__ 1
1154EOF
1155
1156 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1157 ;;
1158 *-*-freebsd*)
1159 USE_BSD=1
1160 USE_FREEBSD=1
1161 CPP_MT_FLAG=-D_THREAD_SAFE
1162 cat >> confdefs.h <<\EOF
1163#define __FREEBSD__ 1
1164EOF
1165
1166 cat >> confdefs.h <<\EOF
1167#define __BSD__ 1
1168EOF
1169
1170 DEFAULT_DEFAULT_wxUSE_GTK=1
1171 ;;
1172 *-*-openbsd*)
1173 USE_BSD=1
1174 USE_OPENBSD=1
1175 cat >> confdefs.h <<\EOF
1176#define __FREEBSD__ 1
1177EOF
1178
1179 cat >> confdefs.h <<\EOF
1180#define __OPENBSD__ 1
1181EOF
1182
1183 DEFAULT_DEFAULT_wxUSE_GTK=1
1184 ;;
1185 *-*-netbsd*)
1186 USE_BSD=1
1187 USE_NETBSD=1
1188 cat >> confdefs.h <<\EOF
1189#define __FREEBSD__ 1
1190EOF
1191
1192 cat >> confdefs.h <<\EOF
1193#define __NETBSD__ 1
1194EOF
1195
1196 DEFAULT_DEFAULT_wxUSE_GTK=1
1197 ;;
1198 *-*-osf* )
1199 USE_ALPHA=1
1200 USE_OSF=1
1201 cat >> confdefs.h <<\EOF
1202#define __ALPHA__ 1
1203EOF
1204
1205 cat >> confdefs.h <<\EOF
1206#define __OSF__ 1
1207EOF
1208
1209 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1210 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1211 ;;
1212 *-*-dgux5* )
1213 USE_ALPHA=1
1214 USE_SVR4=1
1215 cat >> confdefs.h <<\EOF
1216#define __ALPHA__ 1
1217EOF
1218
1219 cat >> confdefs.h <<\EOF
1220#define __SVR4__ 1
1221EOF
1222
1223 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1224 ;;
1225 *-*-sysv5* )
1226 USE_SYSV=1
1227 USE_SVR4=1
1228 cat >> confdefs.h <<\EOF
1229#define __SYSV__ 1
1230EOF
1231
1232 cat >> confdefs.h <<\EOF
1233#define __SVR4__ 1
1234EOF
1235
1236 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1237 ;;
1238 *-*-aix* )
1239 USE_AIX=1
1240 USE_SYSV=1
1241 USE_SVR4=1
1242 cat >> confdefs.h <<\EOF
1243#define __AIX__ 1
1244EOF
1245
1246 cat >> confdefs.h <<\EOF
1247#define __SYSV__ 1
1248EOF
1249
1250 cat >> confdefs.h <<\EOF
1251#define __SVR4__ 1
1252EOF
1253
1254 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1255 ;;
1256
1257 *-*-cygwin* | *-*-mingw32* )
1258 USE_UNIX=0
1259 USE_WIN32=1
1260 SO_SUFFIX=dll
1261 cat >> confdefs.h <<\EOF
1262#define __WIN32__ 1
1263EOF
1264
1265 cat >> confdefs.h <<\EOF
1266#define __WIN95__ 1
1267EOF
1268
1269 cat >> confdefs.h <<\EOF
1270#define __WINDOWS__ 1
1271EOF
1272
1273 cat >> confdefs.h <<\EOF
1274#define __GNUWIN32__ 1
1275EOF
1276
1277 cat >> confdefs.h <<\EOF
1278#define STRICT 1
1279EOF
1280
1281 cat >> confdefs.h <<\EOF
1282#define WINVER 0x0400
1283EOF
1284
1285 PROGRAM_EXT=".exe"
1286 RESCOMP=windres
1287 DEFAULT_DEFAULT_wxUSE_MSW=1
1288 ;;
1289
1290 *-pc-os2_emx | *-pc-os2-emx )
1291 cat >> confdefs.h <<\EOF
1292#define __EMX__ 1
1293EOF
1294
1295 PROGRAM_EXT=".exe"
1296 DEFAULT_DEFAULT_wxUSE_PM=1
1297 ;;
1298
1299 powerpc-*-darwin* )
1300 USE_BSD=1
1301 USE_DARWIN=1
1302 CPP_MT_FLAG=
1303 SO_SUFFIX=dylib
1304 cat >> confdefs.h <<\EOF
1305#define __BSD__ 1
1306EOF
1307
1308 cat >> confdefs.h <<\EOF
1309#define __DARWIN__ 1
1310EOF
1311
1312 cat >> confdefs.h <<\EOF
1313#define __POWERPC__ 1
1314EOF
1315
1316 DEFAULT_DEFAULT_wxUSE_MAC=1
1317 ;;
1318
1319 *-*-beos* )
1320 USE_BEOS=1
1321 cat >> confdefs.h <<\EOF
1322#define __BEOS__ 1
1323EOF
1324
1325 ;;
1326
1327 *)
1328 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1329esac
1330
1331if test "$USE_UNIX" = 1 ; then
1332 wxUSE_UNIX=yes
1333 cat >> confdefs.h <<\EOF
1334#define __UNIX__ 1
1335EOF
1336
1337fi
1338
1339if test "$USE_LINUX" = 1; then
1340 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1341echo "configure:1342: checking for glibc 2.1 or later" >&5
1342if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1343 echo $ac_n "(cached) $ac_c" 1>&6
1344else
1345 cat > conftest.$ac_ext <<EOF
1346#line 1347 "configure"
1347#include "confdefs.h"
1348#include <features.h>
1349int main() {
1350
1351 #if !__GLIBC_PREREQ(2, 1)
1352 #error not glibc2.1
1353 #endif
1354
1355; return 0; }
1356EOF
1357if { (eval echo configure:1358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1358 rm -rf conftest*
1359
1360 wx_lib_glibc21=yes
1361
1362else
1363 echo "configure: failed program was:" >&5
1364 cat conftest.$ac_ext >&5
1365 rm -rf conftest*
1366
1367 wx_lib_glibc21=no
1368
1369
1370fi
1371rm -f conftest*
1372
1373fi
1374
1375echo "$ac_t""$wx_lib_glibc21" 1>&6
1376 if test "$wx_lib_glibc21" = "yes"; then
1377 cat >> confdefs.h <<\EOF
1378#define wxHAVE_GLIBC2 1
1379EOF
1380
1381 fi
1382fi
1383
1384
1385
1386
1387 wx_arg_cache_file="configarg.cache"
1388 echo "loading argument cache $wx_arg_cache_file"
1389 rm -f ${wx_arg_cache_file}.tmp
1390 touch ${wx_arg_cache_file}.tmp
1391 touch ${wx_arg_cache_file}
1392
1393
1394DEBUG_CONFIGURE=0
1395if test $DEBUG_CONFIGURE = 1; then
1396 DEFAULT_wxUSE_UNIVERSAL=no
1397
1398 DEFAULT_wxUSE_THREADS=yes
1399
1400 DEFAULT_wxUSE_SHARED=yes
1401 DEFAULT_wxUSE_SONAME=no
1402 DEFAULT_wxUSE_OPTIMISE=no
1403 DEFAULT_wxUSE_PROFILE=no
1404 DEFAULT_wxUSE_NO_DEPS=no
1405 DEFAULT_wxUSE_NO_RTTI=yes
1406 DEFAULT_wxUSE_NO_EXCEPTIONS=yes
1407 DEFAULT_wxUSE_PERMISSIVE=no
1408 DEFAULT_wxUSE_DEBUG_FLAG=yes
1409 DEFAULT_wxUSE_DEBUG_INFO=yes
1410 DEFAULT_wxUSE_DEBUG_GDB=yes
1411 DEFAULT_wxUSE_MEM_TRACING=no
1412 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1413 DEFAULT_wxUSE_DMALLOC=no
1414 DEFAULT_wxUSE_PRECOMP=yes
1415 DEFAULT_wxUSE_APPLE_IEEE=no
1416
1417 DEFAULT_wxUSE_LOG=yes
1418 DEFAULT_wxUSE_LOGWINDOW=no
1419 DEFAULT_wxUSE_LOGGUI=no
1420 DEFAULT_wxUSE_LOGDIALOG=no
1421
1422 DEFAULT_wxUSE_GUI=yes
1423 DEFAULT_wxUSE_CONTROLS=no
1424
1425 DEFAULT_wxUSE_REGEX=no
1426 DEFAULT_wxUSE_ZLIB=no
1427 DEFAULT_wxUSE_LIBPNG=no
1428 DEFAULT_wxUSE_LIBJPEG=no
1429 DEFAULT_wxUSE_LIBTIFF=no
1430 DEFAULT_wxUSE_ODBC=no
1431 DEFAULT_wxUSE_FREETYPE=no
1432 DEFAULT_wxUSE_OPENGL=no
1433
1434 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1435 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1436 DEFAULT_wxUSE_STD_IOSTREAM=no
1437 DEFAULT_wxUSE_CMDLINE_PARSER=no
1438 DEFAULT_wxUSE_DATETIME=no
1439 DEFAULT_wxUSE_TIMEDATE=no
1440 DEFAULT_wxUSE_TIMER=no
1441 DEFAULT_wxUSE_STOPWATCH=no
1442 DEFAULT_wxUSE_FILE=no
1443 DEFAULT_wxUSE_FFILE=no
1444 DEFAULT_wxUSE_TEXTBUFFER=no
1445 DEFAULT_wxUSE_TEXTFILE=no
1446 DEFAULT_wxUSE_WAVE=no
1447 DEFAULT_wxUSE_INTL=no
1448 DEFAULT_wxUSE_CONFIG=no
1449 DEFAULT_wxUSE_FONTMAP=no
1450 DEFAULT_wxUSE_STREAMS=no
1451 DEFAULT_wxUSE_SOCKETS=no
1452 DEFAULT_wxUSE_DIALUP_MANAGER=no
1453 DEFAULT_wxUSE_SERIAL=no
1454 DEFAULT_wxUSE_JOYSTICK=no
1455 DEFAULT_wxUSE_DYNLIB_CLASS=no
1456 DEFAULT_wxUSE_LONGLONG=no
1457 DEFAULT_wxUSE_GEOMETRY=no
1458
1459 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
1460 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
1461 DEFAULT_wxUSE_POSTSCRIPT=no
1462
1463 DEFAULT_wxUSE_X_RESOURCES=no
1464 DEFAULT_wxUSE_CLIPBOARD=no
1465 DEFAULT_wxUSE_TOOLTIPS=no
1466 DEFAULT_wxUSE_DRAG_AND_DROP=no
1467 DEFAULT_wxUSE_DRAGIMAGE=no
1468 DEFAULT_wxUSE_SPLINES=no
1469
1470 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
1471 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
1472 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
1473
1474 DEFAULT_wxUSE_PROLOGIO=no
1475 DEFAULT_wxUSE_RESOURCES=no
1476 DEFAULT_wxUSE_CONSTRAINTS=no
1477 DEFAULT_wxUSE_IPC=no
1478 DEFAULT_wxUSE_HELP=no
1479 DEFAULT_wxUSE_MS_HTML_HELP=no
1480 DEFAULT_wxUSE_WXHTML_HELP=no
1481 DEFAULT_wxUSE_TREELAYOUT=no
1482 DEFAULT_wxUSE_METAFILE=no
1483 DEFAULT_wxUSE_MIMETYPE=no
1484 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
1485
1486 DEFAULT_wxUSE_COMMONDLGS=no
1487 DEFAULT_wxUSE_CHOICEDLG=no
1488 DEFAULT_wxUSE_COLOURDLG=no
1489 DEFAULT_wxUSE_DIRDLG=no
1490 DEFAULT_wxUSE_FILEDLG=no
1491 DEFAULT_wxUSE_FINDREPLDLG=no
1492 DEFAULT_wxUSE_FONTDLG=no
1493 DEFAULT_wxUSE_MSGDLG=no
1494 DEFAULT_wxUSE_NUMBERDLG=no
1495 DEFAULT_wxUSE_TEXTDLG=no
1496 DEFAULT_wxUSE_SPLASH=no
1497 DEFAULT_wxUSE_STARTUP_TIPS=no
1498 DEFAULT_wxUSE_PROGRESSDLG=no
1499 DEFAULT_wxUSE_WIZARDDLG=no
1500
1501 DEFAULT_wxUSE_MENUS=no
1502 DEFAULT_wxUSE_MINIFRAME=no
1503 DEFAULT_wxUSE_HTML=no
1504 DEFAULT_wxUSE_FILESYSTEM=no
1505 DEFAULT_wxUSE_FS_INET=no
1506 DEFAULT_wxUSE_FS_ZIP=no
1507 DEFAULT_wxUSE_BUSYINFO=no
1508 DEFAULT_wxUSE_ZIPSTREAM=no
1509 DEFAULT_wxUSE_VALIDATORS=no
1510
1511 DEFAULT_wxUSE_ACCEL=no
1512 DEFAULT_wxUSE_BUTTON=no
1513 DEFAULT_wxUSE_BMPBUTTON=no
1514 DEFAULT_wxUSE_CALCTRL=no
1515 DEFAULT_wxUSE_CARET=no
1516 DEFAULT_wxUSE_CHECKBOX=no
1517 DEFAULT_wxUSE_CHECKLST=no
1518 DEFAULT_wxUSE_CHOICE=no
1519 DEFAULT_wxUSE_COMBOBOX=no
1520 DEFAULT_wxUSE_GAUGE=no
1521 DEFAULT_wxUSE_GRID=no
1522 DEFAULT_wxUSE_NEW_GRID=no
1523 DEFAULT_wxUSE_IMAGLIST=no
1524 DEFAULT_wxUSE_LISTBOX=no
1525 DEFAULT_wxUSE_LISTCTRL=no
1526 DEFAULT_wxUSE_NOTEBOOK=no
1527 DEFAULT_wxUSE_PROPSHEET=no
1528 DEFAULT_wxUSE_RADIOBOX=no
1529 DEFAULT_wxUSE_RADIOBTN=no
1530 DEFAULT_wxUSE_SASH=no
1531 DEFAULT_wxUSE_SCROLLBAR=no
1532 DEFAULT_wxUSE_SLIDER=no
1533 DEFAULT_wxUSE_SPINBTN=no
1534 DEFAULT_wxUSE_SPINCTRL=no
1535 DEFAULT_wxUSE_SPLITTER=no
1536 DEFAULT_wxUSE_STATBMP=no
1537 DEFAULT_wxUSE_STATBOX=no
1538 DEFAULT_wxUSE_STATLINE=no
1539 DEFAULT_wxUSE_STATTEXT=no
1540 DEFAULT_wxUSE_STATUSBAR=yes
1541 DEFAULT_wxUSE_TABDIALOG=no
1542 DEFAULT_wxUSE_TEXTCTRL=no
1543 DEFAULT_wxUSE_TOGGLEBTN=no
1544 DEFAULT_wxUSE_TOOLBAR=no
1545 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
1546 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
1547 DEFAULT_wxUSE_TREECTRL=no
1548 DEFAULT_wxUSE_POPUPWIN=no
1549 DEFAULT_wxUSE_TIPWINDOW=no
1550
1551 DEFAULT_wxUSE_UNICODE=no
1552 DEFAULT_wxUSE_WCSRTOMBS=no
1553
1554 DEFAULT_wxUSE_PALETTE=no
1555 DEFAULT_wxUSE_IMAGE=no
1556 DEFAULT_wxUSE_GIF=no
1557 DEFAULT_wxUSE_PCX=no
1558 DEFAULT_wxUSE_PNM=no
1559 DEFAULT_wxUSE_XPM=no
1560else
1561 DEFAULT_wxUSE_UNIVERSAL=no
1562
1563 DEFAULT_wxUSE_THREADS=yes
1564
1565 DEFAULT_wxUSE_SHARED=yes
1566 DEFAULT_wxUSE_SONAME=no
1567 DEFAULT_wxUSE_OPTIMISE=yes
1568 DEFAULT_wxUSE_PROFILE=no
1569 DEFAULT_wxUSE_NO_DEPS=no
1570 DEFAULT_wxUSE_NO_RTTI=yes
1571 DEFAULT_wxUSE_NO_EXCEPTIONS=yes
1572 DEFAULT_wxUSE_PERMISSIVE=no
1573 DEFAULT_wxUSE_DEBUG_FLAG=no
1574 DEFAULT_wxUSE_DEBUG_INFO=no
1575 DEFAULT_wxUSE_DEBUG_GDB=no
1576 DEFAULT_wxUSE_MEM_TRACING=no
1577 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1578 DEFAULT_wxUSE_DMALLOC=no
1579 DEFAULT_wxUSE_PRECOMP=yes
1580 DEFAULT_wxUSE_APPLE_IEEE=yes
1581
1582 DEFAULT_wxUSE_LOG=yes
1583 DEFAULT_wxUSE_LOGWINDOW=yes
1584 DEFAULT_wxUSE_LOGGUI=yes
1585 DEFAULT_wxUSE_LOGDIALOG=yes
1586
1587 DEFAULT_wxUSE_GUI=yes
1588
1589 DEFAULT_wxUSE_REGEX=yes
1590 DEFAULT_wxUSE_ZLIB=yes
1591 DEFAULT_wxUSE_LIBPNG=yes
1592 DEFAULT_wxUSE_LIBJPEG=yes
1593 DEFAULT_wxUSE_LIBTIFF=yes
1594 DEFAULT_wxUSE_ODBC=no
1595 DEFAULT_wxUSE_FREETYPE=no
1596 DEFAULT_wxUSE_OPENGL=no
1597
1598 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
1599 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
1600 DEFAULT_wxUSE_STD_IOSTREAM=no
1601 DEFAULT_wxUSE_CMDLINE_PARSER=yes
1602 DEFAULT_wxUSE_DATETIME=yes
1603 DEFAULT_wxUSE_TIMEDATE=no
1604 DEFAULT_wxUSE_TIMER=yes
1605 DEFAULT_wxUSE_STOPWATCH=yes
1606 DEFAULT_wxUSE_FILE=yes
1607 DEFAULT_wxUSE_FFILE=yes
1608 DEFAULT_wxUSE_TEXTBUFFER=yes
1609 DEFAULT_wxUSE_TEXTFILE=yes
1610 DEFAULT_wxUSE_WAVE=no
1611 DEFAULT_wxUSE_INTL=yes
1612 DEFAULT_wxUSE_CONFIG=yes
1613 DEFAULT_wxUSE_FONTMAP=yes
1614 DEFAULT_wxUSE_STREAMS=yes
1615 DEFAULT_wxUSE_SOCKETS=yes
1616 DEFAULT_wxUSE_DIALUP_MANAGER=yes
1617 DEFAULT_wxUSE_SERIAL=yes
1618 DEFAULT_wxUSE_JOYSTICK=yes
1619 DEFAULT_wxUSE_DYNLIB_CLASS=yes
1620 DEFAULT_wxUSE_LONGLONG=yes
1621 DEFAULT_wxUSE_GEOMETRY=yes
1622
1623 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
1624 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
1625 DEFAULT_wxUSE_POSTSCRIPT=yes
1626
1627 DEFAULT_wxUSE_X_RESOURCES=no
1628 DEFAULT_wxUSE_CLIPBOARD=yes
1629 DEFAULT_wxUSE_TOOLTIPS=yes
1630 DEFAULT_wxUSE_DRAG_AND_DROP=yes
1631 DEFAULT_wxUSE_DRAGIMAGE=yes
1632 DEFAULT_wxUSE_SPLINES=yes
1633
1634 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
1635 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
1636 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
1637
1638 DEFAULT_wxUSE_PROLOGIO=yes
1639 DEFAULT_wxUSE_RESOURCES=yes
1640 DEFAULT_wxUSE_CONSTRAINTS=yes
1641 DEFAULT_wxUSE_IPC=yes
1642 DEFAULT_wxUSE_HELP=yes
1643 DEFAULT_wxUSE_MS_HTML_HELP=yes
1644 DEFAULT_wxUSE_WXHTML_HELP=yes
1645 DEFAULT_wxUSE_TREELAYOUT=yes
1646 DEFAULT_wxUSE_METAFILE=yes
1647 DEFAULT_wxUSE_MIMETYPE=yes
1648 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
1649
1650 DEFAULT_wxUSE_COMMONDLGS=yes
1651 DEFAULT_wxUSE_CHOICEDLG=yes
1652 DEFAULT_wxUSE_COLOURDLG=yes
1653 DEFAULT_wxUSE_DIRDLG=yes
1654 DEFAULT_wxUSE_FILEDLG=yes
1655 DEFAULT_wxUSE_FINDREPLDLG=yes
1656 DEFAULT_wxUSE_FONTDLG=yes
1657 DEFAULT_wxUSE_MSGDLG=yes
1658 DEFAULT_wxUSE_NUMBERDLG=yes
1659 DEFAULT_wxUSE_TEXTDLG=yes
1660 DEFAULT_wxUSE_SPLASH=yes
1661 DEFAULT_wxUSE_STARTUP_TIPS=yes
1662 DEFAULT_wxUSE_PROGRESSDLG=yes
1663 DEFAULT_wxUSE_WIZARDDLG=yes
1664
1665 DEFAULT_wxUSE_MENUS=yes
1666 DEFAULT_wxUSE_MINIFRAME=yes
1667 DEFAULT_wxUSE_HTML=yes
1668 DEFAULT_wxUSE_FILESYSTEM=yes
1669 DEFAULT_wxUSE_FS_INET=yes
1670 DEFAULT_wxUSE_FS_ZIP=yes
1671 DEFAULT_wxUSE_BUSYINFO=yes
1672 DEFAULT_wxUSE_ZIPSTREAM=yes
1673 DEFAULT_wxUSE_VALIDATORS=yes
1674
1675 DEFAULT_wxUSE_ACCEL=yes
1676 DEFAULT_wxUSE_BUTTON=yes
1677 DEFAULT_wxUSE_BMPBUTTON=yes
1678 DEFAULT_wxUSE_CALCTRL=yes
1679 DEFAULT_wxUSE_CARET=yes
1680 DEFAULT_wxUSE_CHECKBOX=yes
1681 DEFAULT_wxUSE_CHECKLST=yes
1682 DEFAULT_wxUSE_CHOICE=yes
1683 DEFAULT_wxUSE_COMBOBOX=yes
1684 DEFAULT_wxUSE_GAUGE=yes
1685 DEFAULT_wxUSE_GRID=yes
1686 DEFAULT_wxUSE_NEW_GRID=yes
1687 DEFAULT_wxUSE_IMAGLIST=yes
1688 DEFAULT_wxUSE_LISTBOX=yes
1689 DEFAULT_wxUSE_LISTCTRL=yes
1690 DEFAULT_wxUSE_NOTEBOOK=yes
1691 DEFAULT_wxUSE_PROPSHEET=yes
1692 DEFAULT_wxUSE_RADIOBOX=yes
1693 DEFAULT_wxUSE_RADIOBTN=yes
1694 DEFAULT_wxUSE_SASH=yes
1695 DEFAULT_wxUSE_SCROLLBAR=yes
1696 DEFAULT_wxUSE_SLIDER=yes
1697 DEFAULT_wxUSE_SPINBTN=yes
1698 DEFAULT_wxUSE_SPINCTRL=yes
1699 DEFAULT_wxUSE_SPLITTER=yes
1700 DEFAULT_wxUSE_STATBMP=yes
1701 DEFAULT_wxUSE_STATBOX=yes
1702 DEFAULT_wxUSE_STATLINE=yes
1703 DEFAULT_wxUSE_STATTEXT=yes
1704 DEFAULT_wxUSE_STATUSBAR=yes
1705 DEFAULT_wxUSE_TABDIALOG=no
1706 DEFAULT_wxUSE_TEXTCTRL=yes
1707 DEFAULT_wxUSE_TOGGLEBTN=yes
1708 DEFAULT_wxUSE_TOOLBAR=yes
1709 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
1710 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
1711 DEFAULT_wxUSE_TREECTRL=yes
1712 DEFAULT_wxUSE_POPUPWIN=yes
1713 DEFAULT_wxUSE_TIPWINDOW=yes
1714
1715 DEFAULT_wxUSE_UNICODE=no
1716 DEFAULT_wxUSE_WCSRTOMBS=no
1717
1718 DEFAULT_wxUSE_PALETTE=yes
1719 DEFAULT_wxUSE_IMAGE=yes
1720 DEFAULT_wxUSE_GIF=yes
1721 DEFAULT_wxUSE_PCX=yes
1722 DEFAULT_wxUSE_PNM=yes
1723 DEFAULT_wxUSE_XPM=yes
1724fi
1725
1726
1727
1728for toolkit in `echo $ALL_TOOLKITS`; do
1729 LINE=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1730 if test "x$LINE" != x ; then
1731 has_toolkit_in_cache=1
1732 eval "DEFAULT_$LINE"
1733 eval "CACHE_$toolkit=1"
1734 fi
1735done
1736
1737
1738
1739 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1740echo "configure:1741: checking for --enable-gui" >&5
1741 no_cache=0
1742 # Check whether --enable-gui or --disable-gui was given.
1743if test "${enable_gui+set}" = set; then
1744 enableval="$enable_gui"
1745
1746 if test "$enableval" = yes; then
1747 ac_cv_use_gui='wxUSE_GUI=yes'
1748 else
1749 ac_cv_use_gui='wxUSE_GUI=no'
1750 fi
1751
1752else
1753
1754 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1755 if test "x$LINE" != x ; then
1756 eval "DEFAULT_$LINE"
1757 else
1758 no_cache=1
1759 fi
1760
1761 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1762
1763fi
1764
1765
1766 eval "$ac_cv_use_gui"
1767 if test "$no_cache" != 1; then
1768 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1769 fi
1770
1771 if test "$wxUSE_GUI" = yes; then
1772 echo "$ac_t""yes" 1>&6
1773 else
1774 echo "$ac_t""no" 1>&6
1775 fi
1776
1777
1778if test "$wxUSE_GUI" = "yes"; then
1779
1780
1781 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1782echo "configure:1783: checking for --enable-universal" >&5
1783 no_cache=0
1784 # Check whether --enable-universal or --disable-universal was given.
1785if test "${enable_universal+set}" = set; then
1786 enableval="$enable_universal"
1787
1788 if test "$enableval" = yes; then
1789 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
1790 else
1791 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
1792 fi
1793
1794else
1795
1796 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1797 if test "x$LINE" != x ; then
1798 eval "DEFAULT_$LINE"
1799 else
1800 no_cache=1
1801 fi
1802
1803 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1804
1805fi
1806
1807
1808 eval "$ac_cv_use_universal"
1809 if test "$no_cache" != 1; then
1810 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1811 fi
1812
1813 if test "$wxUSE_UNIVERSAL" = yes; then
1814 echo "$ac_t""yes" 1>&6
1815 else
1816 echo "$ac_t""no" 1>&6
1817 fi
1818
1819# Check whether --with-gtk or --without-gtk was given.
1820if test "${with_gtk+set}" = set; then
1821 withval="$with_gtk"
1822 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
1823fi
1824
1825# Check whether --with-motif or --without-motif was given.
1826if test "${with_motif+set}" = set; then
1827 withval="$with_motif"
1828 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
1829fi
1830
1831# Check whether --with-mac or --without-mac was given.
1832if test "${with_mac+set}" = set; then
1833 withval="$with_mac"
1834 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
1835fi
1836
1837# Check whether --with-wine or --without-wine was given.
1838if test "${with_wine+set}" = set; then
1839 withval="$with_wine"
1840 wxUSE_WINE="$withval" CACHE_WINE=1 TOOLKIT_GIVEN=1
1841fi
1842
1843# Check whether --with-msw or --without-msw was given.
1844if test "${with_msw+set}" = set; then
1845 withval="$with_msw"
1846 wxUSE_MSW="$withval" CACHE_MSW TOOLKIT_GIVEN=1
1847fi
1848
1849# Check whether --with-pm or --without-pm was given.
1850if test "${with_pm+set}" = set; then
1851 withval="$with_pm"
1852 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
1853fi
1854
1855# Check whether --with-mgl or --without-mgl was given.
1856if test "${with_mgl+set}" = set; then
1857 withval="$with_mgl"
1858 wxUSE_MGL="$withval" CACHE_MGL=1 TOOLKIT_GIVEN=1
1859fi
1860
1861
1862# Check whether --enable-gtk2 or --disable-gtk2 was given.
1863if test "${enable_gtk2+set}" = set; then
1864 enableval="$enable_gtk2"
1865 wxUSE_GTK2=1
1866else
1867 wxUSE_GTK2=0
1868fi
1869
1870
1871
1872 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1873echo "configure:1874: checking for --with-libpng" >&5
1874 no_cache=0
1875 # Check whether --with-libpng or --without-libpng was given.
1876if test "${with_libpng+set}" = set; then
1877 withval="$with_libpng"
1878
1879 if test "$withval" = yes; then
1880 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
1881 elif test "$withval" = no; then
1882 ac_cv_use_libpng='wxUSE_LIBPNG=no'
1883 elif test "$withval" = sys; then
1884 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
1885 elif test "$withval" = builtin; then
1886 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
1887 else
1888 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1889 fi
1890
1891else
1892
1893 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1894 if test "x$LINE" != x ; then
1895 eval "DEFAULT_$LINE"
1896 else
1897 no_cache=1
1898 fi
1899
1900 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1901
1902fi
1903
1904
1905 eval "$ac_cv_use_libpng"
1906 if test "$no_cache" != 1; then
1907 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1908 fi
1909
1910 if test "$wxUSE_LIBPNG" = yes; then
1911 echo "$ac_t""yes" 1>&6
1912 elif test "$wxUSE_LIBPNG" = no; then
1913 echo "$ac_t""no" 1>&6
1914 elif test "$wxUSE_LIBPNG" = sys; then
1915 echo "$ac_t""system version" 1>&6
1916 elif test "$wxUSE_LIBPNG" = builtin; then
1917 echo "$ac_t""builtin version" 1>&6
1918 else
1919 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1920 fi
1921
1922
1923 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1924echo "configure:1925: checking for --with-libjpeg" >&5
1925 no_cache=0
1926 # Check whether --with-libjpeg or --without-libjpeg was given.
1927if test "${with_libjpeg+set}" = set; then
1928 withval="$with_libjpeg"
1929
1930 if test "$withval" = yes; then
1931 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
1932 elif test "$withval" = no; then
1933 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
1934 elif test "$withval" = sys; then
1935 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
1936 elif test "$withval" = builtin; then
1937 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
1938 else
1939 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1940 fi
1941
1942else
1943
1944 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1945 if test "x$LINE" != x ; then
1946 eval "DEFAULT_$LINE"
1947 else
1948 no_cache=1
1949 fi
1950
1951 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1952
1953fi
1954
1955
1956 eval "$ac_cv_use_libjpeg"
1957 if test "$no_cache" != 1; then
1958 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1959 fi
1960
1961 if test "$wxUSE_LIBJPEG" = yes; then
1962 echo "$ac_t""yes" 1>&6
1963 elif test "$wxUSE_LIBJPEG" = no; then
1964 echo "$ac_t""no" 1>&6
1965 elif test "$wxUSE_LIBJPEG" = sys; then
1966 echo "$ac_t""system version" 1>&6
1967 elif test "$wxUSE_LIBJPEG" = builtin; then
1968 echo "$ac_t""builtin version" 1>&6
1969 else
1970 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1971 fi
1972
1973
1974 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1975echo "configure:1976: checking for --with-libtiff" >&5
1976 no_cache=0
1977 # Check whether --with-libtiff or --without-libtiff was given.
1978if test "${with_libtiff+set}" = set; then
1979 withval="$with_libtiff"
1980
1981 if test "$withval" = yes; then
1982 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
1983 elif test "$withval" = no; then
1984 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
1985 elif test "$withval" = sys; then
1986 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
1987 elif test "$withval" = builtin; then
1988 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
1989 else
1990 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1991 fi
1992
1993else
1994
1995 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1996 if test "x$LINE" != x ; then
1997 eval "DEFAULT_$LINE"
1998 else
1999 no_cache=1
2000 fi
2001
2002 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2003
2004fi
2005
2006
2007 eval "$ac_cv_use_libtiff"
2008 if test "$no_cache" != 1; then
2009 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2010 fi
2011
2012 if test "$wxUSE_LIBTIFF" = yes; then
2013 echo "$ac_t""yes" 1>&6
2014 elif test "$wxUSE_LIBTIFF" = no; then
2015 echo "$ac_t""no" 1>&6
2016 elif test "$wxUSE_LIBTIFF" = sys; then
2017 echo "$ac_t""system version" 1>&6
2018 elif test "$wxUSE_LIBTIFF" = builtin; then
2019 echo "$ac_t""builtin version" 1>&6
2020 else
2021 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2022 fi
2023
2024
2025 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2026echo "configure:2027: checking for --with-freetype" >&5
2027 no_cache=0
2028 # Check whether --with-freetype or --without-freetype was given.
2029if test "${with_freetype+set}" = set; then
2030 withval="$with_freetype"
2031
2032 if test "$withval" = yes; then
2033 ac_cv_use_freetype='wxUSE_FREETYPE=yes'
2034 elif test "$withval" = no; then
2035 ac_cv_use_freetype='wxUSE_FREETYPE=no'
2036 elif test "$withval" = sys; then
2037 ac_cv_use_freetype='wxUSE_FREETYPE=sys'
2038 elif test "$withval" = builtin; then
2039 ac_cv_use_freetype='wxUSE_FREETYPE=builtin'
2040 else
2041 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2042 fi
2043
2044else
2045
2046 LINE=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2047 if test "x$LINE" != x ; then
2048 eval "DEFAULT_$LINE"
2049 else
2050 no_cache=1
2051 fi
2052
2053 ac_cv_use_freetype='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2054
2055fi
2056
2057
2058 eval "$ac_cv_use_freetype"
2059 if test "$no_cache" != 1; then
2060 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2061 fi
2062
2063 if test "$wxUSE_FREETYPE" = yes; then
2064 echo "$ac_t""yes" 1>&6
2065 elif test "$wxUSE_FREETYPE" = no; then
2066 echo "$ac_t""no" 1>&6
2067 elif test "$wxUSE_FREETYPE" = sys; then
2068 echo "$ac_t""system version" 1>&6
2069 elif test "$wxUSE_FREETYPE" = builtin; then
2070 echo "$ac_t""builtin version" 1>&6
2071 else
2072 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2073 fi
2074
2075
2076 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2077echo "configure:2078: checking for --with-opengl" >&5
2078 no_cache=0
2079 # Check whether --with-opengl or --without-opengl was given.
2080if test "${with_opengl+set}" = set; then
2081 withval="$with_opengl"
2082
2083 if test "$withval" = yes; then
2084 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2085 else
2086 ac_cv_use_opengl='wxUSE_OPENGL=no'
2087 fi
2088
2089else
2090
2091 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2092 if test "x$LINE" != x ; then
2093 eval "DEFAULT_$LINE"
2094 else
2095 no_cache=1
2096 fi
2097
2098 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2099
2100fi
2101
2102
2103 eval "$ac_cv_use_opengl"
2104 if test "$no_cache" != 1; then
2105 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2106 fi
2107
2108 if test "$wxUSE_OPENGL" = yes; then
2109 echo "$ac_t""yes" 1>&6
2110 else
2111 echo "$ac_t""no" 1>&6
2112 fi
2113
2114
2115fi
2116
2117
2118 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2119echo "configure:2120: checking for --with-dmalloc" >&5
2120 no_cache=0
2121 # Check whether --with-dmalloc or --without-dmalloc was given.
2122if test "${with_dmalloc+set}" = set; then
2123 withval="$with_dmalloc"
2124
2125 if test "$withval" = yes; then
2126 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2127 else
2128 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2129 fi
2130
2131else
2132
2133 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2134 if test "x$LINE" != x ; then
2135 eval "DEFAULT_$LINE"
2136 else
2137 no_cache=1
2138 fi
2139
2140 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2141
2142fi
2143
2144
2145 eval "$ac_cv_use_dmalloc"
2146 if test "$no_cache" != 1; then
2147 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2148 fi
2149
2150 if test "$wxUSE_DMALLOC" = yes; then
2151 echo "$ac_t""yes" 1>&6
2152 else
2153 echo "$ac_t""no" 1>&6
2154 fi
2155
2156
2157 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2158echo "configure:2159: checking for --with-regex" >&5
2159 no_cache=0
2160 # Check whether --with-regex or --without-regex was given.
2161if test "${with_regex+set}" = set; then
2162 withval="$with_regex"
2163
2164 if test "$withval" = yes; then
2165 ac_cv_use_regex='wxUSE_REGEX=yes'
2166 elif test "$withval" = no; then
2167 ac_cv_use_regex='wxUSE_REGEX=no'
2168 elif test "$withval" = sys; then
2169 ac_cv_use_regex='wxUSE_REGEX=sys'
2170 elif test "$withval" = builtin; then
2171 ac_cv_use_regex='wxUSE_REGEX=builtin'
2172 else
2173 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2174 fi
2175
2176else
2177
2178 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2179 if test "x$LINE" != x ; then
2180 eval "DEFAULT_$LINE"
2181 else
2182 no_cache=1
2183 fi
2184
2185 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2186
2187fi
2188
2189
2190 eval "$ac_cv_use_regex"
2191 if test "$no_cache" != 1; then
2192 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2193 fi
2194
2195 if test "$wxUSE_REGEX" = yes; then
2196 echo "$ac_t""yes" 1>&6
2197 elif test "$wxUSE_REGEX" = no; then
2198 echo "$ac_t""no" 1>&6
2199 elif test "$wxUSE_REGEX" = sys; then
2200 echo "$ac_t""system version" 1>&6
2201 elif test "$wxUSE_REGEX" = builtin; then
2202 echo "$ac_t""builtin version" 1>&6
2203 else
2204 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2205 fi
2206
2207
2208 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2209echo "configure:2210: checking for --with-zlib" >&5
2210 no_cache=0
2211 # Check whether --with-zlib or --without-zlib was given.
2212if test "${with_zlib+set}" = set; then
2213 withval="$with_zlib"
2214
2215 if test "$withval" = yes; then
2216 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2217 elif test "$withval" = no; then
2218 ac_cv_use_zlib='wxUSE_ZLIB=no'
2219 elif test "$withval" = sys; then
2220 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2221 elif test "$withval" = builtin; then
2222 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2223 else
2224 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2225 fi
2226
2227else
2228
2229 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2230 if test "x$LINE" != x ; then
2231 eval "DEFAULT_$LINE"
2232 else
2233 no_cache=1
2234 fi
2235
2236 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2237
2238fi
2239
2240
2241 eval "$ac_cv_use_zlib"
2242 if test "$no_cache" != 1; then
2243 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2244 fi
2245
2246 if test "$wxUSE_ZLIB" = yes; then
2247 echo "$ac_t""yes" 1>&6
2248 elif test "$wxUSE_ZLIB" = no; then
2249 echo "$ac_t""no" 1>&6
2250 elif test "$wxUSE_ZLIB" = sys; then
2251 echo "$ac_t""system version" 1>&6
2252 elif test "$wxUSE_ZLIB" = builtin; then
2253 echo "$ac_t""builtin version" 1>&6
2254 else
2255 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2256 fi
2257
2258
2259 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2260echo "configure:2261: checking for --with-odbc" >&5
2261 no_cache=0
2262 # Check whether --with-odbc or --without-odbc was given.
2263if test "${with_odbc+set}" = set; then
2264 withval="$with_odbc"
2265
2266 if test "$withval" = yes; then
2267 ac_cv_use_odbc='wxUSE_ODBC=yes'
2268 else
2269 ac_cv_use_odbc='wxUSE_ODBC=no'
2270 fi
2271
2272else
2273
2274 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2275 if test "x$LINE" != x ; then
2276 eval "DEFAULT_$LINE"
2277 else
2278 no_cache=1
2279 fi
2280
2281 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2282
2283fi
2284
2285
2286 eval "$ac_cv_use_odbc"
2287 if test "$no_cache" != 1; then
2288 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2289 fi
2290
2291 if test "$wxUSE_ODBC" = yes; then
2292 echo "$ac_t""yes" 1>&6
2293 else
2294 echo "$ac_t""no" 1>&6
2295 fi
2296
2297
2298
2299
2300 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2301echo "configure:2302: checking for --enable-shared" >&5
2302 no_cache=0
2303 # Check whether --enable-shared or --disable-shared was given.
2304if test "${enable_shared+set}" = set; then
2305 enableval="$enable_shared"
2306
2307 if test "$enableval" = yes; then
2308 ac_cv_use_shared='wxUSE_SHARED=yes'
2309 else
2310 ac_cv_use_shared='wxUSE_SHARED=no'
2311 fi
2312
2313else
2314
2315 LINE=`grep "wxUSE_SHARED" ${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_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2323
2324fi
2325
2326
2327 eval "$ac_cv_use_shared"
2328 if test "$no_cache" != 1; then
2329 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2330 fi
2331
2332 if test "$wxUSE_SHARED" = yes; then
2333 echo "$ac_t""yes" 1>&6
2334 else
2335 echo "$ac_t""no" 1>&6
2336 fi
2337
2338
2339 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2340echo "configure:2341: checking for --enable-soname" >&5
2341 no_cache=0
2342 # Check whether --enable-soname or --disable-soname was given.
2343if test "${enable_soname+set}" = set; then
2344 enableval="$enable_soname"
2345
2346 if test "$enableval" = yes; then
2347 ac_cv_use_soname='wxUSE_SONAME=yes'
2348 else
2349 ac_cv_use_soname='wxUSE_SONAME=no'
2350 fi
2351
2352else
2353
2354 LINE=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2355 if test "x$LINE" != x ; then
2356 eval "DEFAULT_$LINE"
2357 else
2358 no_cache=1
2359 fi
2360
2361 ac_cv_use_soname='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2362
2363fi
2364
2365
2366 eval "$ac_cv_use_soname"
2367 if test "$no_cache" != 1; then
2368 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2369 fi
2370
2371 if test "$wxUSE_SONAME" = yes; then
2372 echo "$ac_t""yes" 1>&6
2373 else
2374 echo "$ac_t""no" 1>&6
2375 fi
2376
2377
2378 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2379echo "configure:2380: checking for --enable-optimise" >&5
2380 no_cache=0
2381 # Check whether --enable-optimise or --disable-optimise was given.
2382if test "${enable_optimise+set}" = set; then
2383 enableval="$enable_optimise"
2384
2385 if test "$enableval" = yes; then
2386 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
2387 else
2388 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
2389 fi
2390
2391else
2392
2393 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2394 if test "x$LINE" != x ; then
2395 eval "DEFAULT_$LINE"
2396 else
2397 no_cache=1
2398 fi
2399
2400 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2401
2402fi
2403
2404
2405 eval "$ac_cv_use_optimise"
2406 if test "$no_cache" != 1; then
2407 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2408 fi
2409
2410 if test "$wxUSE_OPTIMISE" = yes; then
2411 echo "$ac_t""yes" 1>&6
2412 else
2413 echo "$ac_t""no" 1>&6
2414 fi
2415
2416
2417 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2418echo "configure:2419: checking for --enable-debug" >&5
2419 no_cache=0
2420 # Check whether --enable-debug or --disable-debug was given.
2421if test "${enable_debug+set}" = set; then
2422 enableval="$enable_debug"
2423
2424 if test "$enableval" = yes; then
2425 ac_cv_use_debug='wxUSE_DEBUG=yes'
2426 else
2427 ac_cv_use_debug='wxUSE_DEBUG=no'
2428 fi
2429
2430else
2431
2432 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2433 if test "x$LINE" != x ; then
2434 eval "DEFAULT_$LINE"
2435 else
2436 no_cache=1
2437 fi
2438
2439 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2440
2441fi
2442
2443
2444 eval "$ac_cv_use_debug"
2445 if test "$no_cache" != 1; then
2446 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2447 fi
2448
2449 if test "$wxUSE_DEBUG" = yes; then
2450 echo "$ac_t""yes" 1>&6
2451 else
2452 echo "$ac_t""no" 1>&6
2453 fi
2454
2455
2456
2457 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2458echo "configure:2459: checking for --enable-precomp" >&5
2459 no_cache=0
2460 # Check whether --enable-precomp or --disable-precomp was given.
2461if test "${enable_precomp+set}" = set; then
2462 enableval="$enable_precomp"
2463
2464 if test "$enableval" = yes; then
2465 ac_cv_use_precomp='wxUSE_PRECOMP=yes'
2466 else
2467 ac_cv_use_precomp='wxUSE_PRECOMP=no'
2468 fi
2469
2470else
2471
2472 LINE=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2473 if test "x$LINE" != x ; then
2474 eval "DEFAULT_$LINE"
2475 else
2476 no_cache=1
2477 fi
2478
2479 ac_cv_use_precomp='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2480
2481fi
2482
2483
2484 eval "$ac_cv_use_precomp"
2485 if test "$no_cache" != 1; then
2486 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2487 fi
2488
2489 if test "$wxUSE_PRECOMP" = yes; then
2490 echo "$ac_t""yes" 1>&6
2491 else
2492 echo "$ac_t""no" 1>&6
2493 fi
2494
2495
2496if test "$wxUSE_DEBUG" = "yes"; then
2497 DEFAULT_wxUSE_DEBUG_FLAG=yes
2498 DEFAULT_wxUSE_DEBUG_INFO=yes
2499elif test "$wxUSE_DEBUG" = "no"; then
2500 DEFAULT_wxUSE_DEBUG_FLAG=no
2501 DEFAULT_wxUSE_DEBUG_INFO=no
2502fi
2503
2504
2505 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2506echo "configure:2507: checking for --enable-debug_flag" >&5
2507 no_cache=0
2508 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2509if test "${enable_debug_flag+set}" = set; then
2510 enableval="$enable_debug_flag"
2511
2512 if test "$enableval" = yes; then
2513 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
2514 else
2515 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
2516 fi
2517
2518else
2519
2520 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2521 if test "x$LINE" != x ; then
2522 eval "DEFAULT_$LINE"
2523 else
2524 no_cache=1
2525 fi
2526
2527 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2528
2529fi
2530
2531
2532 eval "$ac_cv_use_debug_flag"
2533 if test "$no_cache" != 1; then
2534 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2535 fi
2536
2537 if test "$wxUSE_DEBUG_FLAG" = yes; then
2538 echo "$ac_t""yes" 1>&6
2539 else
2540 echo "$ac_t""no" 1>&6
2541 fi
2542
2543
2544 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2545echo "configure:2546: checking for --enable-debug_info" >&5
2546 no_cache=0
2547 # Check whether --enable-debug_info or --disable-debug_info was given.
2548if test "${enable_debug_info+set}" = set; then
2549 enableval="$enable_debug_info"
2550
2551 if test "$enableval" = yes; then
2552 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
2553 else
2554 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
2555 fi
2556
2557else
2558
2559 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2560 if test "x$LINE" != x ; then
2561 eval "DEFAULT_$LINE"
2562 else
2563 no_cache=1
2564 fi
2565
2566 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2567
2568fi
2569
2570
2571 eval "$ac_cv_use_debug_info"
2572 if test "$no_cache" != 1; then
2573 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2574 fi
2575
2576 if test "$wxUSE_DEBUG_INFO" = yes; then
2577 echo "$ac_t""yes" 1>&6
2578 else
2579 echo "$ac_t""no" 1>&6
2580 fi
2581
2582
2583 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2584echo "configure:2585: checking for --enable-debug_gdb" >&5
2585 no_cache=0
2586 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2587if test "${enable_debug_gdb+set}" = set; then
2588 enableval="$enable_debug_gdb"
2589
2590 if test "$enableval" = yes; then
2591 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
2592 else
2593 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
2594 fi
2595
2596else
2597
2598 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2599 if test "x$LINE" != x ; then
2600 eval "DEFAULT_$LINE"
2601 else
2602 no_cache=1
2603 fi
2604
2605 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2606
2607fi
2608
2609
2610 eval "$ac_cv_use_debug_gdb"
2611 if test "$no_cache" != 1; then
2612 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2613 fi
2614
2615 if test "$wxUSE_DEBUG_GDB" = yes; then
2616 echo "$ac_t""yes" 1>&6
2617 else
2618 echo "$ac_t""no" 1>&6
2619 fi
2620
2621
2622 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2623echo "configure:2624: checking for --enable-debug_cntxt" >&5
2624 no_cache=0
2625 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2626if test "${enable_debug_cntxt+set}" = set; then
2627 enableval="$enable_debug_cntxt"
2628
2629 if test "$enableval" = yes; then
2630 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
2631 else
2632 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
2633 fi
2634
2635else
2636
2637 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2638 if test "x$LINE" != x ; then
2639 eval "DEFAULT_$LINE"
2640 else
2641 no_cache=1
2642 fi
2643
2644 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2645
2646fi
2647
2648
2649 eval "$ac_cv_use_debug_cntxt"
2650 if test "$no_cache" != 1; then
2651 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2652 fi
2653
2654 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2655 echo "$ac_t""yes" 1>&6
2656 else
2657 echo "$ac_t""no" 1>&6
2658 fi
2659
2660
2661 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2662echo "configure:2663: checking for --enable-mem_tracing" >&5
2663 no_cache=0
2664 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2665if test "${enable_mem_tracing+set}" = set; then
2666 enableval="$enable_mem_tracing"
2667
2668 if test "$enableval" = yes; then
2669 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
2670 else
2671 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
2672 fi
2673
2674else
2675
2676 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x ; then
2678 eval "DEFAULT_$LINE"
2679 else
2680 no_cache=1
2681 fi
2682
2683 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2684
2685fi
2686
2687
2688 eval "$ac_cv_use_mem_tracing"
2689 if test "$no_cache" != 1; then
2690 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2691 fi
2692
2693 if test "$wxUSE_MEM_TRACING" = yes; then
2694 echo "$ac_t""yes" 1>&6
2695 else
2696 echo "$ac_t""no" 1>&6
2697 fi
2698
2699
2700 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2701echo "configure:2702: checking for --enable-profile" >&5
2702 no_cache=0
2703 # Check whether --enable-profile or --disable-profile was given.
2704if test "${enable_profile+set}" = set; then
2705 enableval="$enable_profile"
2706
2707 if test "$enableval" = yes; then
2708 ac_cv_use_profile='wxUSE_PROFILE=yes'
2709 else
2710 ac_cv_use_profile='wxUSE_PROFILE=no'
2711 fi
2712
2713else
2714
2715 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2716 if test "x$LINE" != x ; then
2717 eval "DEFAULT_$LINE"
2718 else
2719 no_cache=1
2720 fi
2721
2722 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2723
2724fi
2725
2726
2727 eval "$ac_cv_use_profile"
2728 if test "$no_cache" != 1; then
2729 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2730 fi
2731
2732 if test "$wxUSE_PROFILE" = yes; then
2733 echo "$ac_t""yes" 1>&6
2734 else
2735 echo "$ac_t""no" 1>&6
2736 fi
2737
2738
2739 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2740echo "configure:2741: checking for --enable-no_rtti" >&5
2741 no_cache=0
2742 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2743if test "${enable_no_rtti+set}" = set; then
2744 enableval="$enable_no_rtti"
2745
2746 if test "$enableval" = yes; then
2747 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
2748 else
2749 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
2750 fi
2751
2752else
2753
2754 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2755 if test "x$LINE" != x ; then
2756 eval "DEFAULT_$LINE"
2757 else
2758 no_cache=1
2759 fi
2760
2761 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2762
2763fi
2764
2765
2766 eval "$ac_cv_use_no_rtti"
2767 if test "$no_cache" != 1; then
2768 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2769 fi
2770
2771 if test "$wxUSE_NO_RTTI" = yes; then
2772 echo "$ac_t""yes" 1>&6
2773 else
2774 echo "$ac_t""no" 1>&6
2775 fi
2776
2777
2778 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2779echo "configure:2780: checking for --enable-no_exceptions" >&5
2780 no_cache=0
2781 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2782if test "${enable_no_exceptions+set}" = set; then
2783 enableval="$enable_no_exceptions"
2784
2785 if test "$enableval" = yes; then
2786 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
2787 else
2788 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
2789 fi
2790
2791else
2792
2793 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2794 if test "x$LINE" != x ; then
2795 eval "DEFAULT_$LINE"
2796 else
2797 no_cache=1
2798 fi
2799
2800 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2801
2802fi
2803
2804
2805 eval "$ac_cv_use_no_exceptions"
2806 if test "$no_cache" != 1; then
2807 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2808 fi
2809
2810 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2811 echo "$ac_t""yes" 1>&6
2812 else
2813 echo "$ac_t""no" 1>&6
2814 fi
2815
2816
2817 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2818echo "configure:2819: checking for --enable-permissive" >&5
2819 no_cache=0
2820 # Check whether --enable-permissive or --disable-permissive was given.
2821if test "${enable_permissive+set}" = set; then
2822 enableval="$enable_permissive"
2823
2824 if test "$enableval" = yes; then
2825 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
2826 else
2827 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
2828 fi
2829
2830else
2831
2832 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2833 if test "x$LINE" != x ; then
2834 eval "DEFAULT_$LINE"
2835 else
2836 no_cache=1
2837 fi
2838
2839 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2840
2841fi
2842
2843
2844 eval "$ac_cv_use_permissive"
2845 if test "$no_cache" != 1; then
2846 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2847 fi
2848
2849 if test "$wxUSE_PERMISSIVE" = yes; then
2850 echo "$ac_t""yes" 1>&6
2851 else
2852 echo "$ac_t""no" 1>&6
2853 fi
2854
2855
2856 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2857echo "configure:2858: checking for --enable-no_deps" >&5
2858 no_cache=0
2859 # Check whether --enable-no_deps or --disable-no_deps was given.
2860if test "${enable_no_deps+set}" = set; then
2861 enableval="$enable_no_deps"
2862
2863 if test "$enableval" = yes; then
2864 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
2865 else
2866 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
2867 fi
2868
2869else
2870
2871 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2872 if test "x$LINE" != x ; then
2873 eval "DEFAULT_$LINE"
2874 else
2875 no_cache=1
2876 fi
2877
2878 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2879
2880fi
2881
2882
2883 eval "$ac_cv_use_no_deps"
2884 if test "$no_cache" != 1; then
2885 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2886 fi
2887
2888 if test "$wxUSE_NO_DEPS" = yes; then
2889 echo "$ac_t""yes" 1>&6
2890 else
2891 echo "$ac_t""no" 1>&6
2892 fi
2893
2894
2895
2896 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2897echo "configure:2898: checking for --enable-compat20" >&5
2898 no_cache=0
2899 # Check whether --enable-compat20 or --disable-compat20 was given.
2900if test "${enable_compat20+set}" = set; then
2901 enableval="$enable_compat20"
2902
2903 if test "$enableval" = yes; then
2904 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
2905 else
2906 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
2907 fi
2908
2909else
2910
2911 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2912 if test "x$LINE" != x ; then
2913 eval "DEFAULT_$LINE"
2914 else
2915 no_cache=1
2916 fi
2917
2918 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2919
2920fi
2921
2922
2923 eval "$ac_cv_use_compat20"
2924 if test "$no_cache" != 1; then
2925 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2926 fi
2927
2928 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2929 echo "$ac_t""yes" 1>&6
2930 else
2931 echo "$ac_t""no" 1>&6
2932 fi
2933
2934
2935 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2936echo "configure:2937: checking for --enable-compat22" >&5
2937 no_cache=0
2938 # Check whether --enable-compat22 or --disable-compat22 was given.
2939if test "${enable_compat22+set}" = set; then
2940 enableval="$enable_compat22"
2941
2942 if test "$enableval" = yes; then
2943 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
2944 else
2945 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
2946 fi
2947
2948else
2949
2950 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2951 if test "x$LINE" != x ; then
2952 eval "DEFAULT_$LINE"
2953 else
2954 no_cache=1
2955 fi
2956
2957 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2958
2959fi
2960
2961
2962 eval "$ac_cv_use_compat22"
2963 if test "$no_cache" != 1; then
2964 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2965 fi
2966
2967 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2968 echo "$ac_t""yes" 1>&6
2969 else
2970 echo "$ac_t""no" 1>&6
2971 fi
2972
2973
2974
2975
2976 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2977echo "configure:2978: checking for --enable-intl" >&5
2978 no_cache=0
2979 # Check whether --enable-intl or --disable-intl was given.
2980if test "${enable_intl+set}" = set; then
2981 enableval="$enable_intl"
2982
2983 if test "$enableval" = yes; then
2984 ac_cv_use_intl='wxUSE_INTL=yes'
2985 else
2986 ac_cv_use_intl='wxUSE_INTL=no'
2987 fi
2988
2989else
2990
2991 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2992 if test "x$LINE" != x ; then
2993 eval "DEFAULT_$LINE"
2994 else
2995 no_cache=1
2996 fi
2997
2998 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2999
3000fi
3001
3002
3003 eval "$ac_cv_use_intl"
3004 if test "$no_cache" != 1; then
3005 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3006 fi
3007
3008 if test "$wxUSE_INTL" = yes; then
3009 echo "$ac_t""yes" 1>&6
3010 else
3011 echo "$ac_t""no" 1>&6
3012 fi
3013
3014
3015 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3016echo "configure:3017: checking for --enable-config" >&5
3017 no_cache=0
3018 # Check whether --enable-config or --disable-config was given.
3019if test "${enable_config+set}" = set; then
3020 enableval="$enable_config"
3021
3022 if test "$enableval" = yes; then
3023 ac_cv_use_config='wxUSE_CONFIG=yes'
3024 else
3025 ac_cv_use_config='wxUSE_CONFIG=no'
3026 fi
3027
3028else
3029
3030 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3031 if test "x$LINE" != x ; then
3032 eval "DEFAULT_$LINE"
3033 else
3034 no_cache=1
3035 fi
3036
3037 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3038
3039fi
3040
3041
3042 eval "$ac_cv_use_config"
3043 if test "$no_cache" != 1; then
3044 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3045 fi
3046
3047 if test "$wxUSE_CONFIG" = yes; then
3048 echo "$ac_t""yes" 1>&6
3049 else
3050 echo "$ac_t""no" 1>&6
3051 fi
3052
3053
3054
3055 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3056echo "configure:3057: checking for --enable-sockets" >&5
3057 no_cache=0
3058 # Check whether --enable-sockets or --disable-sockets was given.
3059if test "${enable_sockets+set}" = set; then
3060 enableval="$enable_sockets"
3061
3062 if test "$enableval" = yes; then
3063 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
3064 else
3065 ac_cv_use_sockets='wxUSE_SOCKETS=no'
3066 fi
3067
3068else
3069
3070 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3071 if test "x$LINE" != x ; then
3072 eval "DEFAULT_$LINE"
3073 else
3074 no_cache=1
3075 fi
3076
3077 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3078
3079fi
3080
3081
3082 eval "$ac_cv_use_sockets"
3083 if test "$no_cache" != 1; then
3084 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3085 fi
3086
3087 if test "$wxUSE_SOCKETS" = yes; then
3088 echo "$ac_t""yes" 1>&6
3089 else
3090 echo "$ac_t""no" 1>&6
3091 fi
3092
3093
3094
3095 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3096echo "configure:3097: checking for --enable-ipc" >&5
3097 no_cache=0
3098 # Check whether --enable-ipc or --disable-ipc was given.
3099if test "${enable_ipc+set}" = set; then
3100 enableval="$enable_ipc"
3101
3102 if test "$enableval" = yes; then
3103 ac_cv_use_ipc='wxUSE_IPC=yes'
3104 else
3105 ac_cv_use_ipc='wxUSE_IPC=no'
3106 fi
3107
3108else
3109
3110 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3111 if test "x$LINE" != x ; then
3112 eval "DEFAULT_$LINE"
3113 else
3114 no_cache=1
3115 fi
3116
3117 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3118
3119fi
3120
3121
3122 eval "$ac_cv_use_ipc"
3123 if test "$no_cache" != 1; then
3124 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3125 fi
3126
3127 if test "$wxUSE_IPC" = yes; then
3128 echo "$ac_t""yes" 1>&6
3129 else
3130 echo "$ac_t""no" 1>&6
3131 fi
3132
3133
3134
3135 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3136echo "configure:3137: checking for --enable-cmdline" >&5
3137 no_cache=0
3138 # Check whether --enable-cmdline or --disable-cmdline was given.
3139if test "${enable_cmdline+set}" = set; then
3140 enableval="$enable_cmdline"
3141
3142 if test "$enableval" = yes; then
3143 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
3144 else
3145 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
3146 fi
3147
3148else
3149
3150 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3151 if test "x$LINE" != x ; then
3152 eval "DEFAULT_$LINE"
3153 else
3154 no_cache=1
3155 fi
3156
3157 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3158
3159fi
3160
3161
3162 eval "$ac_cv_use_cmdline"
3163 if test "$no_cache" != 1; then
3164 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3165 fi
3166
3167 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3168 echo "$ac_t""yes" 1>&6
3169 else
3170 echo "$ac_t""no" 1>&6
3171 fi
3172
3173
3174 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3175echo "configure:3176: checking for --enable-datetime" >&5
3176 no_cache=0
3177 # Check whether --enable-datetime or --disable-datetime was given.
3178if test "${enable_datetime+set}" = set; then
3179 enableval="$enable_datetime"
3180
3181 if test "$enableval" = yes; then
3182 ac_cv_use_datetime='wxUSE_DATETIME=yes'
3183 else
3184 ac_cv_use_datetime='wxUSE_DATETIME=no'
3185 fi
3186
3187else
3188
3189 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3190 if test "x$LINE" != x ; then
3191 eval "DEFAULT_$LINE"
3192 else
3193 no_cache=1
3194 fi
3195
3196 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3197
3198fi
3199
3200
3201 eval "$ac_cv_use_datetime"
3202 if test "$no_cache" != 1; then
3203 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3204 fi
3205
3206 if test "$wxUSE_DATETIME" = yes; then
3207 echo "$ac_t""yes" 1>&6
3208 else
3209 echo "$ac_t""no" 1>&6
3210 fi
3211
3212
3213 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3214echo "configure:3215: checking for --enable-timedate" >&5
3215 no_cache=0
3216 # Check whether --enable-timedate or --disable-timedate was given.
3217if test "${enable_timedate+set}" = set; then
3218 enableval="$enable_timedate"
3219
3220 if test "$enableval" = yes; then
3221 ac_cv_use_timedate='wxUSE_TIMEDATE=yes'
3222 else
3223 ac_cv_use_timedate='wxUSE_TIMEDATE=no'
3224 fi
3225
3226else
3227
3228 LINE=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3229 if test "x$LINE" != x ; then
3230 eval "DEFAULT_$LINE"
3231 else
3232 no_cache=1
3233 fi
3234
3235 ac_cv_use_timedate='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3236
3237fi
3238
3239
3240 eval "$ac_cv_use_timedate"
3241 if test "$no_cache" != 1; then
3242 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3243 fi
3244
3245 if test "$wxUSE_TIMEDATE" = yes; then
3246 echo "$ac_t""yes" 1>&6
3247 else
3248 echo "$ac_t""no" 1>&6
3249 fi
3250
3251
3252 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3253echo "configure:3254: checking for --enable-stopwatch" >&5
3254 no_cache=0
3255 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3256if test "${enable_stopwatch+set}" = set; then
3257 enableval="$enable_stopwatch"
3258
3259 if test "$enableval" = yes; then
3260 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
3261 else
3262 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
3263 fi
3264
3265else
3266
3267 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3268 if test "x$LINE" != x ; then
3269 eval "DEFAULT_$LINE"
3270 else
3271 no_cache=1
3272 fi
3273
3274 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3275
3276fi
3277
3278
3279 eval "$ac_cv_use_stopwatch"
3280 if test "$no_cache" != 1; then
3281 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3282 fi
3283
3284 if test "$wxUSE_STOPWATCH" = yes; then
3285 echo "$ac_t""yes" 1>&6
3286 else
3287 echo "$ac_t""no" 1>&6
3288 fi
3289
3290
3291 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3292echo "configure:3293: checking for --enable-dialupman" >&5
3293 no_cache=0
3294 # Check whether --enable-dialupman or --disable-dialupman was given.
3295if test "${enable_dialupman+set}" = set; then
3296 enableval="$enable_dialupman"
3297
3298 if test "$enableval" = yes; then
3299 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
3300 else
3301 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
3302 fi
3303
3304else
3305
3306 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3307 if test "x$LINE" != x ; then
3308 eval "DEFAULT_$LINE"
3309 else
3310 no_cache=1
3311 fi
3312
3313 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3314
3315fi
3316
3317
3318 eval "$ac_cv_use_dialupman"
3319 if test "$no_cache" != 1; then
3320 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3321 fi
3322
3323 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3324 echo "$ac_t""yes" 1>&6
3325 else
3326 echo "$ac_t""no" 1>&6
3327 fi
3328
3329
3330 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3331echo "configure:3332: checking for --enable-apple_ieee" >&5
3332 no_cache=0
3333 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3334if test "${enable_apple_ieee+set}" = set; then
3335 enableval="$enable_apple_ieee"
3336
3337 if test "$enableval" = yes; then
3338 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
3339 else
3340 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
3341 fi
3342
3343else
3344
3345 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3346 if test "x$LINE" != x ; then
3347 eval "DEFAULT_$LINE"
3348 else
3349 no_cache=1
3350 fi
3351
3352 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3353
3354fi
3355
3356
3357 eval "$ac_cv_use_apple_ieee"
3358 if test "$no_cache" != 1; then
3359 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3360 fi
3361
3362 if test "$wxUSE_APPLE_IEEE" = yes; then
3363 echo "$ac_t""yes" 1>&6
3364 else
3365 echo "$ac_t""no" 1>&6
3366 fi
3367
3368
3369 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3370echo "configure:3371: checking for --enable-timer" >&5
3371 no_cache=0
3372 # Check whether --enable-timer or --disable-timer was given.
3373if test "${enable_timer+set}" = set; then
3374 enableval="$enable_timer"
3375
3376 if test "$enableval" = yes; then
3377 ac_cv_use_timer='wxUSE_TIMER=yes'
3378 else
3379 ac_cv_use_timer='wxUSE_TIMER=no'
3380 fi
3381
3382else
3383
3384 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3385 if test "x$LINE" != x ; then
3386 eval "DEFAULT_$LINE"
3387 else
3388 no_cache=1
3389 fi
3390
3391 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3392
3393fi
3394
3395
3396 eval "$ac_cv_use_timer"
3397 if test "$no_cache" != 1; then
3398 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3399 fi
3400
3401 if test "$wxUSE_TIMER" = yes; then
3402 echo "$ac_t""yes" 1>&6
3403 else
3404 echo "$ac_t""no" 1>&6
3405 fi
3406
3407
3408 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3409echo "configure:3410: checking for --enable-wave" >&5
3410 no_cache=0
3411 # Check whether --enable-wave or --disable-wave was given.
3412if test "${enable_wave+set}" = set; then
3413 enableval="$enable_wave"
3414
3415 if test "$enableval" = yes; then
3416 ac_cv_use_wave='wxUSE_WAVE=yes'
3417 else
3418 ac_cv_use_wave='wxUSE_WAVE=no'
3419 fi
3420
3421else
3422
3423 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3424 if test "x$LINE" != x ; then
3425 eval "DEFAULT_$LINE"
3426 else
3427 no_cache=1
3428 fi
3429
3430 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3431
3432fi
3433
3434
3435 eval "$ac_cv_use_wave"
3436 if test "$no_cache" != 1; then
3437 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3438 fi
3439
3440 if test "$wxUSE_WAVE" = yes; then
3441 echo "$ac_t""yes" 1>&6
3442 else
3443 echo "$ac_t""no" 1>&6
3444 fi
3445
3446
3447 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3448echo "configure:3449: checking for --enable-fraction" >&5
3449 no_cache=0
3450 # Check whether --enable-fraction or --disable-fraction was given.
3451if test "${enable_fraction+set}" = set; then
3452 enableval="$enable_fraction"
3453
3454 if test "$enableval" = yes; then
3455 ac_cv_use_fraction='wxUSE_FRACTION=yes'
3456 else
3457 ac_cv_use_fraction='wxUSE_FRACTION=no'
3458 fi
3459
3460else
3461
3462 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3463 if test "x$LINE" != x ; then
3464 eval "DEFAULT_$LINE"
3465 else
3466 no_cache=1
3467 fi
3468
3469 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3470
3471fi
3472
3473
3474 eval "$ac_cv_use_fraction"
3475 if test "$no_cache" != 1; then
3476 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3477 fi
3478
3479 if test "$wxUSE_FRACTION" = yes; then
3480 echo "$ac_t""yes" 1>&6
3481 else
3482 echo "$ac_t""no" 1>&6
3483 fi
3484
3485
3486 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3487echo "configure:3488: checking for --enable-dynlib" >&5
3488 no_cache=0
3489 # Check whether --enable-dynlib or --disable-dynlib was given.
3490if test "${enable_dynlib+set}" = set; then
3491 enableval="$enable_dynlib"
3492
3493 if test "$enableval" = yes; then
3494 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
3495 else
3496 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
3497 fi
3498
3499else
3500
3501 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3502 if test "x$LINE" != x ; then
3503 eval "DEFAULT_$LINE"
3504 else
3505 no_cache=1
3506 fi
3507
3508 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3509
3510fi
3511
3512
3513 eval "$ac_cv_use_dynlib"
3514 if test "$no_cache" != 1; then
3515 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3516 fi
3517
3518 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3519 echo "$ac_t""yes" 1>&6
3520 else
3521 echo "$ac_t""no" 1>&6
3522 fi
3523
3524
3525 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3526echo "configure:3527: checking for --enable-longlong" >&5
3527 no_cache=0
3528 # Check whether --enable-longlong or --disable-longlong was given.
3529if test "${enable_longlong+set}" = set; then
3530 enableval="$enable_longlong"
3531
3532 if test "$enableval" = yes; then
3533 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
3534 else
3535 ac_cv_use_longlong='wxUSE_LONGLONG=no'
3536 fi
3537
3538else
3539
3540 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3541 if test "x$LINE" != x ; then
3542 eval "DEFAULT_$LINE"
3543 else
3544 no_cache=1
3545 fi
3546
3547 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3548
3549fi
3550
3551
3552 eval "$ac_cv_use_longlong"
3553 if test "$no_cache" != 1; then
3554 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3555 fi
3556
3557 if test "$wxUSE_LONGLONG" = yes; then
3558 echo "$ac_t""yes" 1>&6
3559 else
3560 echo "$ac_t""no" 1>&6
3561 fi
3562
3563
3564 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3565echo "configure:3566: checking for --enable-geometry" >&5
3566 no_cache=0
3567 # Check whether --enable-geometry or --disable-geometry was given.
3568if test "${enable_geometry+set}" = set; then
3569 enableval="$enable_geometry"
3570
3571 if test "$enableval" = yes; then
3572 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
3573 else
3574 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
3575 fi
3576
3577else
3578
3579 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3580 if test "x$LINE" != x ; then
3581 eval "DEFAULT_$LINE"
3582 else
3583 no_cache=1
3584 fi
3585
3586 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3587
3588fi
3589
3590
3591 eval "$ac_cv_use_geometry"
3592 if test "$no_cache" != 1; then
3593 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3594 fi
3595
3596 if test "$wxUSE_GEOMETRY" = yes; then
3597 echo "$ac_t""yes" 1>&6
3598 else
3599 echo "$ac_t""no" 1>&6
3600 fi
3601
3602
3603 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3604echo "configure:3605: checking for --enable-log" >&5
3605 no_cache=0
3606 # Check whether --enable-log or --disable-log was given.
3607if test "${enable_log+set}" = set; then
3608 enableval="$enable_log"
3609
3610 if test "$enableval" = yes; then
3611 ac_cv_use_log='wxUSE_LOG=yes'
3612 else
3613 ac_cv_use_log='wxUSE_LOG=no'
3614 fi
3615
3616else
3617
3618 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3619 if test "x$LINE" != x ; then
3620 eval "DEFAULT_$LINE"
3621 else
3622 no_cache=1
3623 fi
3624
3625 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3626
3627fi
3628
3629
3630 eval "$ac_cv_use_log"
3631 if test "$no_cache" != 1; then
3632 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3633 fi
3634
3635 if test "$wxUSE_LOG" = yes; then
3636 echo "$ac_t""yes" 1>&6
3637 else
3638 echo "$ac_t""no" 1>&6
3639 fi
3640
3641
3642 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3643echo "configure:3644: checking for --enable-streams" >&5
3644 no_cache=0
3645 # Check whether --enable-streams or --disable-streams was given.
3646if test "${enable_streams+set}" = set; then
3647 enableval="$enable_streams"
3648
3649 if test "$enableval" = yes; then
3650 ac_cv_use_streams='wxUSE_STREAMS=yes'
3651 else
3652 ac_cv_use_streams='wxUSE_STREAMS=no'
3653 fi
3654
3655else
3656
3657 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3658 if test "x$LINE" != x ; then
3659 eval "DEFAULT_$LINE"
3660 else
3661 no_cache=1
3662 fi
3663
3664 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3665
3666fi
3667
3668
3669 eval "$ac_cv_use_streams"
3670 if test "$no_cache" != 1; then
3671 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3672 fi
3673
3674 if test "$wxUSE_STREAMS" = yes; then
3675 echo "$ac_t""yes" 1>&6
3676 else
3677 echo "$ac_t""no" 1>&6
3678 fi
3679
3680
3681 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3682echo "configure:3683: checking for --enable-file" >&5
3683 no_cache=0
3684 # Check whether --enable-file or --disable-file was given.
3685if test "${enable_file+set}" = set; then
3686 enableval="$enable_file"
3687
3688 if test "$enableval" = yes; then
3689 ac_cv_use_file='wxUSE_FILE=yes'
3690 else
3691 ac_cv_use_file='wxUSE_FILE=no'
3692 fi
3693
3694else
3695
3696 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3697 if test "x$LINE" != x ; then
3698 eval "DEFAULT_$LINE"
3699 else
3700 no_cache=1
3701 fi
3702
3703 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3704
3705fi
3706
3707
3708 eval "$ac_cv_use_file"
3709 if test "$no_cache" != 1; then
3710 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3711 fi
3712
3713 if test "$wxUSE_FILE" = yes; then
3714 echo "$ac_t""yes" 1>&6
3715 else
3716 echo "$ac_t""no" 1>&6
3717 fi
3718
3719
3720 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3721echo "configure:3722: checking for --enable-ffile" >&5
3722 no_cache=0
3723 # Check whether --enable-ffile or --disable-ffile was given.
3724if test "${enable_ffile+set}" = set; then
3725 enableval="$enable_ffile"
3726
3727 if test "$enableval" = yes; then
3728 ac_cv_use_ffile='wxUSE_FFILE=yes'
3729 else
3730 ac_cv_use_ffile='wxUSE_FFILE=no'
3731 fi
3732
3733else
3734
3735 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3736 if test "x$LINE" != x ; then
3737 eval "DEFAULT_$LINE"
3738 else
3739 no_cache=1
3740 fi
3741
3742 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3743
3744fi
3745
3746
3747 eval "$ac_cv_use_ffile"
3748 if test "$no_cache" != 1; then
3749 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3750 fi
3751
3752 if test "$wxUSE_FFILE" = yes; then
3753 echo "$ac_t""yes" 1>&6
3754 else
3755 echo "$ac_t""no" 1>&6
3756 fi
3757
3758
3759 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
3760echo "configure:3761: checking for --enable-textbuf" >&5
3761 no_cache=0
3762 # Check whether --enable-textbuf or --disable-textbuf was given.
3763if test "${enable_textbuf+set}" = set; then
3764 enableval="$enable_textbuf"
3765
3766 if test "$enableval" = yes; then
3767 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
3768 else
3769 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
3770 fi
3771
3772else
3773
3774 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
3775 if test "x$LINE" != x ; then
3776 eval "DEFAULT_$LINE"
3777 else
3778 no_cache=1
3779 fi
3780
3781 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
3782
3783fi
3784
3785
3786 eval "$ac_cv_use_textbuf"
3787 if test "$no_cache" != 1; then
3788 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
3789 fi
3790
3791 if test "$wxUSE_TEXTBUFFER" = yes; then
3792 echo "$ac_t""yes" 1>&6
3793 else
3794 echo "$ac_t""no" 1>&6
3795 fi
3796
3797
3798 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3799echo "configure:3800: checking for --enable-textfile" >&5
3800 no_cache=0
3801 # Check whether --enable-textfile or --disable-textfile was given.
3802if test "${enable_textfile+set}" = set; then
3803 enableval="$enable_textfile"
3804
3805 if test "$enableval" = yes; then
3806 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
3807 else
3808 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
3809 fi
3810
3811else
3812
3813 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3814 if test "x$LINE" != x ; then
3815 eval "DEFAULT_$LINE"
3816 else
3817 no_cache=1
3818 fi
3819
3820 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3821
3822fi
3823
3824
3825 eval "$ac_cv_use_textfile"
3826 if test "$no_cache" != 1; then
3827 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3828 fi
3829
3830 if test "$wxUSE_TEXTFILE" = yes; then
3831 echo "$ac_t""yes" 1>&6
3832 else
3833 echo "$ac_t""no" 1>&6
3834 fi
3835
3836
3837 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3838echo "configure:3839: checking for --enable-fontmap" >&5
3839 no_cache=0
3840 # Check whether --enable-fontmap or --disable-fontmap was given.
3841if test "${enable_fontmap+set}" = set; then
3842 enableval="$enable_fontmap"
3843
3844 if test "$enableval" = yes; then
3845 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
3846 else
3847 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
3848 fi
3849
3850else
3851
3852 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3853 if test "x$LINE" != x ; then
3854 eval "DEFAULT_$LINE"
3855 else
3856 no_cache=1
3857 fi
3858
3859 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3860
3861fi
3862
3863
3864 eval "$ac_cv_use_fontmap"
3865 if test "$no_cache" != 1; then
3866 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3867 fi
3868
3869 if test "$wxUSE_FONTMAP" = yes; then
3870 echo "$ac_t""yes" 1>&6
3871 else
3872 echo "$ac_t""no" 1>&6
3873 fi
3874
3875
3876 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3877echo "configure:3878: checking for --enable-unicode" >&5
3878 no_cache=0
3879 # Check whether --enable-unicode or --disable-unicode was given.
3880if test "${enable_unicode+set}" = set; then
3881 enableval="$enable_unicode"
3882
3883 if test "$enableval" = yes; then
3884 ac_cv_use_unicode='wxUSE_UNICODE=yes'
3885 else
3886 ac_cv_use_unicode='wxUSE_UNICODE=no'
3887 fi
3888
3889else
3890
3891 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3892 if test "x$LINE" != x ; then
3893 eval "DEFAULT_$LINE"
3894 else
3895 no_cache=1
3896 fi
3897
3898 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3899
3900fi
3901
3902
3903 eval "$ac_cv_use_unicode"
3904 if test "$no_cache" != 1; then
3905 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3906 fi
3907
3908 if test "$wxUSE_UNICODE" = yes; then
3909 echo "$ac_t""yes" 1>&6
3910 else
3911 echo "$ac_t""no" 1>&6
3912 fi
3913
3914
3915 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3916echo "configure:3917: checking for --enable-wxprintfv" >&5
3917 no_cache=0
3918 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3919if test "${enable_wxprintfv+set}" = set; then
3920 enableval="$enable_wxprintfv"
3921
3922 if test "$enableval" = yes; then
3923 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
3924 else
3925 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
3926 fi
3927
3928else
3929
3930 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3931 if test "x$LINE" != x ; then
3932 eval "DEFAULT_$LINE"
3933 else
3934 no_cache=1
3935 fi
3936
3937 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3938
3939fi
3940
3941
3942 eval "$ac_cv_use_wxprintfv"
3943 if test "$no_cache" != 1; then
3944 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3945 fi
3946
3947 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3948 echo "$ac_t""yes" 1>&6
3949 else
3950 echo "$ac_t""no" 1>&6
3951 fi
3952
3953
3954 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3955echo "configure:3956: checking for --enable-std_iostreams" >&5
3956 no_cache=0
3957 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3958if test "${enable_std_iostreams+set}" = set; then
3959 enableval="$enable_std_iostreams"
3960
3961 if test "$enableval" = yes; then
3962 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
3963 else
3964 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
3965 fi
3966
3967else
3968
3969 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3970 if test "x$LINE" != x ; then
3971 eval "DEFAULT_$LINE"
3972 else
3973 no_cache=1
3974 fi
3975
3976 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3977
3978fi
3979
3980
3981 eval "$ac_cv_use_std_iostreams"
3982 if test "$no_cache" != 1; then
3983 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3984 fi
3985
3986 if test "$wxUSE_STD_IOSTREAM" = yes; then
3987 echo "$ac_t""yes" 1>&6
3988 else
3989 echo "$ac_t""no" 1>&6
3990 fi
3991
3992
3993 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3994echo "configure:3995: checking for --enable-filesystem" >&5
3995 no_cache=0
3996 # Check whether --enable-filesystem or --disable-filesystem was given.
3997if test "${enable_filesystem+set}" = set; then
3998 enableval="$enable_filesystem"
3999
4000 if test "$enableval" = yes; then
4001 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4002 else
4003 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4004 fi
4005
4006else
4007
4008 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4009 if test "x$LINE" != x ; then
4010 eval "DEFAULT_$LINE"
4011 else
4012 no_cache=1
4013 fi
4014
4015 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4016
4017fi
4018
4019
4020 eval "$ac_cv_use_filesystem"
4021 if test "$no_cache" != 1; then
4022 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4023 fi
4024
4025 if test "$wxUSE_FILESYSTEM" = yes; then
4026 echo "$ac_t""yes" 1>&6
4027 else
4028 echo "$ac_t""no" 1>&6
4029 fi
4030
4031
4032 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4033echo "configure:4034: checking for --enable-fs_inet" >&5
4034 no_cache=0
4035 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4036if test "${enable_fs_inet+set}" = set; then
4037 enableval="$enable_fs_inet"
4038
4039 if test "$enableval" = yes; then
4040 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4041 else
4042 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4043 fi
4044
4045else
4046
4047 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4048 if test "x$LINE" != x ; then
4049 eval "DEFAULT_$LINE"
4050 else
4051 no_cache=1
4052 fi
4053
4054 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4055
4056fi
4057
4058
4059 eval "$ac_cv_use_fs_inet"
4060 if test "$no_cache" != 1; then
4061 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4062 fi
4063
4064 if test "$wxUSE_FS_INET" = yes; then
4065 echo "$ac_t""yes" 1>&6
4066 else
4067 echo "$ac_t""no" 1>&6
4068 fi
4069
4070
4071 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4072echo "configure:4073: checking for --enable-fs_zip" >&5
4073 no_cache=0
4074 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4075if test "${enable_fs_zip+set}" = set; then
4076 enableval="$enable_fs_zip"
4077
4078 if test "$enableval" = yes; then
4079 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4080 else
4081 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4082 fi
4083
4084else
4085
4086 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4087 if test "x$LINE" != x ; then
4088 eval "DEFAULT_$LINE"
4089 else
4090 no_cache=1
4091 fi
4092
4093 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4094
4095fi
4096
4097
4098 eval "$ac_cv_use_fs_zip"
4099 if test "$no_cache" != 1; then
4100 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4101 fi
4102
4103 if test "$wxUSE_FS_ZIP" = yes; then
4104 echo "$ac_t""yes" 1>&6
4105 else
4106 echo "$ac_t""no" 1>&6
4107 fi
4108
4109
4110 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4111echo "configure:4112: checking for --enable-zipstream" >&5
4112 no_cache=0
4113 # Check whether --enable-zipstream or --disable-zipstream was given.
4114if test "${enable_zipstream+set}" = set; then
4115 enableval="$enable_zipstream"
4116
4117 if test "$enableval" = yes; then
4118 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
4119 else
4120 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
4121 fi
4122
4123else
4124
4125 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4126 if test "x$LINE" != x ; then
4127 eval "DEFAULT_$LINE"
4128 else
4129 no_cache=1
4130 fi
4131
4132 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4133
4134fi
4135
4136
4137 eval "$ac_cv_use_zipstream"
4138 if test "$no_cache" != 1; then
4139 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4140 fi
4141
4142 if test "$wxUSE_ZIPSTREAM" = yes; then
4143 echo "$ac_t""yes" 1>&6
4144 else
4145 echo "$ac_t""no" 1>&6
4146 fi
4147
4148
4149
4150 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4151echo "configure:4152: checking for --enable-catch_segvs" >&5
4152 no_cache=0
4153 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4154if test "${enable_catch_segvs+set}" = set; then
4155 enableval="$enable_catch_segvs"
4156
4157 if test "$enableval" = yes; then
4158 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4159 else
4160 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4161 fi
4162
4163else
4164
4165 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4166 if test "x$LINE" != x ; then
4167 eval "DEFAULT_$LINE"
4168 else
4169 no_cache=1
4170 fi
4171
4172 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4173
4174fi
4175
4176
4177 eval "$ac_cv_use_catch_segvs"
4178 if test "$no_cache" != 1; then
4179 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4180 fi
4181
4182 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4183 echo "$ac_t""yes" 1>&6
4184 else
4185 echo "$ac_t""no" 1>&6
4186 fi
4187
4188
4189 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4190echo "configure:4191: checking for --enable-snglinst" >&5
4191 no_cache=0
4192 # Check whether --enable-snglinst or --disable-snglinst was given.
4193if test "${enable_snglinst+set}" = set; then
4194 enableval="$enable_snglinst"
4195
4196 if test "$enableval" = yes; then
4197 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
4198 else
4199 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
4200 fi
4201
4202else
4203
4204 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4205 if test "x$LINE" != x ; then
4206 eval "DEFAULT_$LINE"
4207 else
4208 no_cache=1
4209 fi
4210
4211 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4212
4213fi
4214
4215
4216 eval "$ac_cv_use_snglinst"
4217 if test "$no_cache" != 1; then
4218 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4219 fi
4220
4221 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4222 echo "$ac_t""yes" 1>&6
4223 else
4224 echo "$ac_t""no" 1>&6
4225 fi
4226
4227
4228
4229 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4230echo "configure:4231: checking for --enable-mimetype" >&5
4231 no_cache=0
4232 # Check whether --enable-mimetype or --disable-mimetype was given.
4233if test "${enable_mimetype+set}" = set; then
4234 enableval="$enable_mimetype"
4235
4236 if test "$enableval" = yes; then
4237 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4238 else
4239 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4240 fi
4241
4242else
4243
4244 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4245 if test "x$LINE" != x ; then
4246 eval "DEFAULT_$LINE"
4247 else
4248 no_cache=1
4249 fi
4250
4251 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4252
4253fi
4254
4255
4256 eval "$ac_cv_use_mimetype"
4257 if test "$no_cache" != 1; then
4258 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4259 fi
4260
4261 if test "$wxUSE_MIMETYPE" = yes; then
4262 echo "$ac_t""yes" 1>&6
4263 else
4264 echo "$ac_t""no" 1>&6
4265 fi
4266
4267
4268 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4269echo "configure:4270: checking for --enable-system_options" >&5
4270 no_cache=0
4271 # Check whether --enable-system_options or --disable-system_options was given.
4272if test "${enable_system_options+set}" = set; then
4273 enableval="$enable_system_options"
4274
4275 if test "$enableval" = yes; then
4276 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
4277 else
4278 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
4279 fi
4280
4281else
4282
4283 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4284 if test "x$LINE" != x ; then
4285 eval "DEFAULT_$LINE"
4286 else
4287 no_cache=1
4288 fi
4289
4290 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4291
4292fi
4293
4294
4295 eval "$ac_cv_use_system_options"
4296 if test "$no_cache" != 1; then
4297 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4298 fi
4299
4300 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4301 echo "$ac_t""yes" 1>&6
4302 else
4303 echo "$ac_t""no" 1>&6
4304 fi
4305
4306
4307
4308
4309 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4310echo "configure:4311: checking for --enable-threads" >&5
4311 no_cache=0
4312 # Check whether --enable-threads or --disable-threads was given.
4313if test "${enable_threads+set}" = set; then
4314 enableval="$enable_threads"
4315
4316 if test "$enableval" = yes; then
4317 ac_cv_use_threads='wxUSE_THREADS=yes'
4318 else
4319 ac_cv_use_threads='wxUSE_THREADS=no'
4320 fi
4321
4322else
4323
4324 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4325 if test "x$LINE" != x ; then
4326 eval "DEFAULT_$LINE"
4327 else
4328 no_cache=1
4329 fi
4330
4331 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4332
4333fi
4334
4335
4336 eval "$ac_cv_use_threads"
4337 if test "$no_cache" != 1; then
4338 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4339 fi
4340
4341 if test "$wxUSE_THREADS" = yes; then
4342 echo "$ac_t""yes" 1>&6
4343 else
4344 echo "$ac_t""no" 1>&6
4345 fi
4346
4347
4348 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4349echo "configure:4350: checking for --enable-serial" >&5
4350 no_cache=0
4351 # Check whether --enable-serial or --disable-serial was given.
4352if test "${enable_serial+set}" = set; then
4353 enableval="$enable_serial"
4354
4355 if test "$enableval" = yes; then
4356 ac_cv_use_serial='wxUSE_SERIAL=yes'
4357 else
4358 ac_cv_use_serial='wxUSE_SERIAL=no'
4359 fi
4360
4361else
4362
4363 LINE=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4364 if test "x$LINE" != x ; then
4365 eval "DEFAULT_$LINE"
4366 else
4367 no_cache=1
4368 fi
4369
4370 ac_cv_use_serial='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4371
4372fi
4373
4374
4375 eval "$ac_cv_use_serial"
4376 if test "$no_cache" != 1; then
4377 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4378 fi
4379
4380 if test "$wxUSE_SERIAL" = yes; then
4381 echo "$ac_t""yes" 1>&6
4382 else
4383 echo "$ac_t""no" 1>&6
4384 fi
4385
4386
4387if test "$wxUSE_GUI" = "yes"; then
4388
4389
4390
4391 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4392echo "configure:4393: checking for --enable-docview" >&5
4393 no_cache=0
4394 # Check whether --enable-docview or --disable-docview was given.
4395if test "${enable_docview+set}" = set; then
4396 enableval="$enable_docview"
4397
4398 if test "$enableval" = yes; then
4399 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4400 else
4401 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4402 fi
4403
4404else
4405
4406 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${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_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4414
4415fi
4416
4417
4418 eval "$ac_cv_use_docview"
4419 if test "$no_cache" != 1; then
4420 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4421 fi
4422
4423 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 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-help""... $ac_c" 1>&6
4431echo "configure:4432: checking for --enable-help" >&5
4432 no_cache=0
4433 # Check whether --enable-help or --disable-help was given.
4434if test "${enable_help+set}" = set; then
4435 enableval="$enable_help"
4436
4437 if test "$enableval" = yes; then
4438 ac_cv_use_help='wxUSE_HELP=yes'
4439 else
4440 ac_cv_use_help='wxUSE_HELP=no'
4441 fi
4442
4443else
4444
4445 LINE=`grep "wxUSE_HELP" ${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_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4453
4454fi
4455
4456
4457 eval "$ac_cv_use_help"
4458 if test "$no_cache" != 1; then
4459 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4460 fi
4461
4462 if test "$wxUSE_HELP" = yes; then
4463 echo "$ac_t""yes" 1>&6
4464 else
4465 echo "$ac_t""no" 1>&6
4466 fi
4467
4468
4469 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4470echo "configure:4471: checking for --enable-mshtmlhelp" >&5
4471 no_cache=0
4472 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4473if test "${enable_mshtmlhelp+set}" = set; then
4474 enableval="$enable_mshtmlhelp"
4475
4476 if test "$enableval" = yes; then
4477 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
4478 else
4479 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
4480 fi
4481
4482else
4483
4484 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4485 if test "x$LINE" != x ; then
4486 eval "DEFAULT_$LINE"
4487 else
4488 no_cache=1
4489 fi
4490
4491 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4492
4493fi
4494
4495
4496 eval "$ac_cv_use_mshtmlhelp"
4497 if test "$no_cache" != 1; then
4498 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4499 fi
4500
4501 if test "$wxUSE_MS_HTML_HELP" = yes; then
4502 echo "$ac_t""yes" 1>&6
4503 else
4504 echo "$ac_t""no" 1>&6
4505 fi
4506
4507
4508 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4509echo "configure:4510: checking for --enable-html" >&5
4510 no_cache=0
4511 # Check whether --enable-html or --disable-html was given.
4512if test "${enable_html+set}" = set; then
4513 enableval="$enable_html"
4514
4515 if test "$enableval" = yes; then
4516 ac_cv_use_html='wxUSE_HTML=yes'
4517 else
4518 ac_cv_use_html='wxUSE_HTML=no'
4519 fi
4520
4521else
4522
4523 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4524 if test "x$LINE" != x ; then
4525 eval "DEFAULT_$LINE"
4526 else
4527 no_cache=1
4528 fi
4529
4530 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4531
4532fi
4533
4534
4535 eval "$ac_cv_use_html"
4536 if test "$no_cache" != 1; then
4537 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4538 fi
4539
4540 if test "$wxUSE_HTML" = yes; then
4541 echo "$ac_t""yes" 1>&6
4542 else
4543 echo "$ac_t""no" 1>&6
4544 fi
4545
4546
4547 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4548echo "configure:4549: checking for --enable-htmlhelp" >&5
4549 no_cache=0
4550 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4551if test "${enable_htmlhelp+set}" = set; then
4552 enableval="$enable_htmlhelp"
4553
4554 if test "$enableval" = yes; then
4555 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
4556 else
4557 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
4558 fi
4559
4560else
4561
4562 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4563 if test "x$LINE" != x ; then
4564 eval "DEFAULT_$LINE"
4565 else
4566 no_cache=1
4567 fi
4568
4569 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4570
4571fi
4572
4573
4574 eval "$ac_cv_use_htmlhelp"
4575 if test "$no_cache" != 1; then
4576 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4577 fi
4578
4579 if test "$wxUSE_WXHTML_HELP" = yes; then
4580 echo "$ac_t""yes" 1>&6
4581 else
4582 echo "$ac_t""no" 1>&6
4583 fi
4584
4585
4586 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4587echo "configure:4588: checking for --enable-constraints" >&5
4588 no_cache=0
4589 # Check whether --enable-constraints or --disable-constraints was given.
4590if test "${enable_constraints+set}" = set; then
4591 enableval="$enable_constraints"
4592
4593 if test "$enableval" = yes; then
4594 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
4595 else
4596 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
4597 fi
4598
4599else
4600
4601 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4602 if test "x$LINE" != x ; then
4603 eval "DEFAULT_$LINE"
4604 else
4605 no_cache=1
4606 fi
4607
4608 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4609
4610fi
4611
4612
4613 eval "$ac_cv_use_constraints"
4614 if test "$no_cache" != 1; then
4615 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4616 fi
4617
4618 if test "$wxUSE_CONSTRAINTS" = yes; then
4619 echo "$ac_t""yes" 1>&6
4620 else
4621 echo "$ac_t""no" 1>&6
4622 fi
4623
4624
4625 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4626echo "configure:4627: checking for --enable-printarch" >&5
4627 no_cache=0
4628 # Check whether --enable-printarch or --disable-printarch was given.
4629if test "${enable_printarch+set}" = set; then
4630 enableval="$enable_printarch"
4631
4632 if test "$enableval" = yes; then
4633 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
4634 else
4635 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
4636 fi
4637
4638else
4639
4640 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4641 if test "x$LINE" != x ; then
4642 eval "DEFAULT_$LINE"
4643 else
4644 no_cache=1
4645 fi
4646
4647 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4648
4649fi
4650
4651
4652 eval "$ac_cv_use_printarch"
4653 if test "$no_cache" != 1; then
4654 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4655 fi
4656
4657 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4658 echo "$ac_t""yes" 1>&6
4659 else
4660 echo "$ac_t""no" 1>&6
4661 fi
4662
4663
4664 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4665echo "configure:4666: checking for --enable-mdi" >&5
4666 no_cache=0
4667 # Check whether --enable-mdi or --disable-mdi was given.
4668if test "${enable_mdi+set}" = set; then
4669 enableval="$enable_mdi"
4670
4671 if test "$enableval" = yes; then
4672 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
4673 else
4674 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
4675 fi
4676
4677else
4678
4679 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4680 if test "x$LINE" != x ; then
4681 eval "DEFAULT_$LINE"
4682 else
4683 no_cache=1
4684 fi
4685
4686 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4687
4688fi
4689
4690
4691 eval "$ac_cv_use_mdi"
4692 if test "$no_cache" != 1; then
4693 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4694 fi
4695
4696 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4697 echo "$ac_t""yes" 1>&6
4698 else
4699 echo "$ac_t""no" 1>&6
4700 fi
4701
4702
4703 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4704echo "configure:4705: checking for --enable-loggui" >&5
4705 no_cache=0
4706 # Check whether --enable-loggui or --disable-loggui was given.
4707if test "${enable_loggui+set}" = set; then
4708 enableval="$enable_loggui"
4709
4710 if test "$enableval" = yes; then
4711 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
4712 else
4713 ac_cv_use_loggui='wxUSE_LOGGUI=no'
4714 fi
4715
4716else
4717
4718 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4719 if test "x$LINE" != x ; then
4720 eval "DEFAULT_$LINE"
4721 else
4722 no_cache=1
4723 fi
4724
4725 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4726
4727fi
4728
4729
4730 eval "$ac_cv_use_loggui"
4731 if test "$no_cache" != 1; then
4732 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4733 fi
4734
4735 if test "$wxUSE_LOGGUI" = yes; then
4736 echo "$ac_t""yes" 1>&6
4737 else
4738 echo "$ac_t""no" 1>&6
4739 fi
4740
4741
4742 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4743echo "configure:4744: checking for --enable-logwin" >&5
4744 no_cache=0
4745 # Check whether --enable-logwin or --disable-logwin was given.
4746if test "${enable_logwin+set}" = set; then
4747 enableval="$enable_logwin"
4748
4749 if test "$enableval" = yes; then
4750 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
4751 else
4752 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
4753 fi
4754
4755else
4756
4757 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4758 if test "x$LINE" != x ; then
4759 eval "DEFAULT_$LINE"
4760 else
4761 no_cache=1
4762 fi
4763
4764 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4765
4766fi
4767
4768
4769 eval "$ac_cv_use_logwin"
4770 if test "$no_cache" != 1; then
4771 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4772 fi
4773
4774 if test "$wxUSE_LOGWINDOW" = yes; then
4775 echo "$ac_t""yes" 1>&6
4776 else
4777 echo "$ac_t""no" 1>&6
4778 fi
4779
4780
4781 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
4782echo "configure:4783: checking for --enable-logdialog" >&5
4783 no_cache=0
4784 # Check whether --enable-logdialog or --disable-logdialog was given.
4785if test "${enable_logdialog+set}" = set; then
4786 enableval="$enable_logdialog"
4787
4788 if test "$enableval" = yes; then
4789 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
4790 else
4791 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
4792 fi
4793
4794else
4795
4796 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
4797 if test "x$LINE" != x ; then
4798 eval "DEFAULT_$LINE"
4799 else
4800 no_cache=1
4801 fi
4802
4803 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
4804
4805fi
4806
4807
4808 eval "$ac_cv_use_logdialog"
4809 if test "$no_cache" != 1; then
4810 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
4811 fi
4812
4813 if test "$wxUSE_LOGDIALOG" = yes; then
4814 echo "$ac_t""yes" 1>&6
4815 else
4816 echo "$ac_t""no" 1>&6
4817 fi
4818
4819
4820
4821 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4822echo "configure:4823: checking for --enable-postscript" >&5
4823 no_cache=0
4824 # Check whether --enable-postscript or --disable-postscript was given.
4825if test "${enable_postscript+set}" = set; then
4826 enableval="$enable_postscript"
4827
4828 if test "$enableval" = yes; then
4829 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
4830 else
4831 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
4832 fi
4833
4834else
4835
4836 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4837 if test "x$LINE" != x ; then
4838 eval "DEFAULT_$LINE"
4839 else
4840 no_cache=1
4841 fi
4842
4843 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4844
4845fi
4846
4847
4848 eval "$ac_cv_use_postscript"
4849 if test "$no_cache" != 1; then
4850 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4851 fi
4852
4853 if test "$wxUSE_POSTSCRIPT" = yes; then
4854 echo "$ac_t""yes" 1>&6
4855 else
4856 echo "$ac_t""no" 1>&6
4857 fi
4858
4859
4860
4861
4862
4863 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4864echo "configure:4865: checking for --enable-prologio" >&5
4865 no_cache=0
4866 # Check whether --enable-prologio or --disable-prologio was given.
4867if test "${enable_prologio+set}" = set; then
4868 enableval="$enable_prologio"
4869
4870 if test "$enableval" = yes; then
4871 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
4872 else
4873 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
4874 fi
4875
4876else
4877
4878 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4879 if test "x$LINE" != x ; then
4880 eval "DEFAULT_$LINE"
4881 else
4882 no_cache=1
4883 fi
4884
4885 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4886
4887fi
4888
4889
4890 eval "$ac_cv_use_prologio"
4891 if test "$no_cache" != 1; then
4892 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4893 fi
4894
4895 if test "$wxUSE_PROLOGIO" = yes; then
4896 echo "$ac_t""yes" 1>&6
4897 else
4898 echo "$ac_t""no" 1>&6
4899 fi
4900
4901
4902 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4903echo "configure:4904: checking for --enable-resources" >&5
4904 no_cache=0
4905 # Check whether --enable-resources or --disable-resources was given.
4906if test "${enable_resources+set}" = set; then
4907 enableval="$enable_resources"
4908
4909 if test "$enableval" = yes; then
4910 ac_cv_use_resources='wxUSE_RESOURCES=yes'
4911 else
4912 ac_cv_use_resources='wxUSE_RESOURCES=no'
4913 fi
4914
4915else
4916
4917 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4918 if test "x$LINE" != x ; then
4919 eval "DEFAULT_$LINE"
4920 else
4921 no_cache=1
4922 fi
4923
4924 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4925
4926fi
4927
4928
4929 eval "$ac_cv_use_resources"
4930 if test "$no_cache" != 1; then
4931 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4932 fi
4933
4934 if test "$wxUSE_RESOURCES" = yes; then
4935 echo "$ac_t""yes" 1>&6
4936 else
4937 echo "$ac_t""no" 1>&6
4938 fi
4939
4940
4941
4942 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4943echo "configure:4944: checking for --enable-xresources" >&5
4944 no_cache=0
4945 # Check whether --enable-xresources or --disable-xresources was given.
4946if test "${enable_xresources+set}" = set; then
4947 enableval="$enable_xresources"
4948
4949 if test "$enableval" = yes; then
4950 ac_cv_use_xresources='wxUSE_X_RESOURCES=yes'
4951 else
4952 ac_cv_use_xresources='wxUSE_X_RESOURCES=no'
4953 fi
4954
4955else
4956
4957 LINE=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4958 if test "x$LINE" != x ; then
4959 eval "DEFAULT_$LINE"
4960 else
4961 no_cache=1
4962 fi
4963
4964 ac_cv_use_xresources='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4965
4966fi
4967
4968
4969 eval "$ac_cv_use_xresources"
4970 if test "$no_cache" != 1; then
4971 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4972 fi
4973
4974 if test "$wxUSE_X_RESOURCES" = yes; then
4975 echo "$ac_t""yes" 1>&6
4976 else
4977 echo "$ac_t""no" 1>&6
4978 fi
4979
4980
4981
4982
4983 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4984echo "configure:4985: checking for --enable-clipboard" >&5
4985 no_cache=0
4986 # Check whether --enable-clipboard or --disable-clipboard was given.
4987if test "${enable_clipboard+set}" = set; then
4988 enableval="$enable_clipboard"
4989
4990 if test "$enableval" = yes; then
4991 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
4992 else
4993 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
4994 fi
4995
4996else
4997
4998 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4999 if test "x$LINE" != x ; then
5000 eval "DEFAULT_$LINE"
5001 else
5002 no_cache=1
5003 fi
5004
5005 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5006
5007fi
5008
5009
5010 eval "$ac_cv_use_clipboard"
5011 if test "$no_cache" != 1; then
5012 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5013 fi
5014
5015 if test "$wxUSE_CLIPBOARD" = yes; then
5016 echo "$ac_t""yes" 1>&6
5017 else
5018 echo "$ac_t""no" 1>&6
5019 fi
5020
5021
5022 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5023echo "configure:5024: checking for --enable-dnd" >&5
5024 no_cache=0
5025 # Check whether --enable-dnd or --disable-dnd was given.
5026if test "${enable_dnd+set}" = set; then
5027 enableval="$enable_dnd"
5028
5029 if test "$enableval" = yes; then
5030 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
5031 else
5032 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
5033 fi
5034
5035else
5036
5037 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5038 if test "x$LINE" != x ; then
5039 eval "DEFAULT_$LINE"
5040 else
5041 no_cache=1
5042 fi
5043
5044 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5045
5046fi
5047
5048
5049 eval "$ac_cv_use_dnd"
5050 if test "$no_cache" != 1; then
5051 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5052 fi
5053
5054 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5055 echo "$ac_t""yes" 1>&6
5056 else
5057 echo "$ac_t""no" 1>&6
5058 fi
5059
5060
5061 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5062echo "configure:5063: checking for --enable-metafile" >&5
5063 no_cache=0
5064 # Check whether --enable-metafile or --disable-metafile was given.
5065if test "${enable_metafile+set}" = set; then
5066 enableval="$enable_metafile"
5067
5068 if test "$enableval" = yes; then
5069 ac_cv_use_metafile='wxUSE_METAFILE=yes'
5070 else
5071 ac_cv_use_metafile='wxUSE_METAFILE=no'
5072 fi
5073
5074else
5075
5076 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5077 if test "x$LINE" != x ; then
5078 eval "DEFAULT_$LINE"
5079 else
5080 no_cache=1
5081 fi
5082
5083 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5084
5085fi
5086
5087
5088 eval "$ac_cv_use_metafile"
5089 if test "$no_cache" != 1; then
5090 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5091 fi
5092
5093 if test "$wxUSE_METAFILE" = yes; then
5094 echo "$ac_t""yes" 1>&6
5095 else
5096 echo "$ac_t""no" 1>&6
5097 fi
5098
5099
5100
5101 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5102echo "configure:5103: checking for --enable-treelayout" >&5
5103 no_cache=0
5104 # Check whether --enable-treelayout or --disable-treelayout was given.
5105if test "${enable_treelayout+set}" = set; then
5106 enableval="$enable_treelayout"
5107
5108 if test "$enableval" = yes; then
5109 ac_cv_use_treelayout='wxUSE_TREELAYOUT=yes'
5110 else
5111 ac_cv_use_treelayout='wxUSE_TREELAYOUT=no'
5112 fi
5113
5114else
5115
5116 LINE=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5117 if test "x$LINE" != x ; then
5118 eval "DEFAULT_$LINE"
5119 else
5120 no_cache=1
5121 fi
5122
5123 ac_cv_use_treelayout='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5124
5125fi
5126
5127
5128 eval "$ac_cv_use_treelayout"
5129 if test "$no_cache" != 1; then
5130 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5131 fi
5132
5133 if test "$wxUSE_TREELAYOUT" = yes; then
5134 echo "$ac_t""yes" 1>&6
5135 else
5136 echo "$ac_t""no" 1>&6
5137 fi
5138
5139
5140
5141
5142 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5143echo "configure:5144: checking for --enable-controls" >&5
5144 no_cache=0
5145 # Check whether --enable-controls or --disable-controls was given.
5146if test "${enable_controls+set}" = set; then
5147 enableval="$enable_controls"
5148
5149 if test "$enableval" = yes; then
5150 ac_cv_use_controls='wxUSE_CONTROLS=yes'
5151 else
5152 ac_cv_use_controls='wxUSE_CONTROLS=no'
5153 fi
5154
5155else
5156
5157 LINE=`grep "wxUSE_CONTROLS" ${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_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5165
5166fi
5167
5168
5169 eval "$ac_cv_use_controls"
5170 if test "$no_cache" != 1; then
5171 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5172 fi
5173
5174 if test "$wxUSE_CONTROLS" = yes; then
5175 echo "$ac_t""yes" 1>&6
5176 else
5177 echo "$ac_t""no" 1>&6
5178 fi
5179
5180
5181if test "$wxUSE_CONTROLS" = "yes"; then
5182 DEFAULT_wxUSE_ACCEL=yes
5183 DEFAULT_wxUSE_BMPBUTTON=yes
5184 DEFAULT_wxUSE_BUTTON=yes
5185 DEFAULT_wxUSE_CALCTRL=no
5186 DEFAULT_wxUSE_CARET=yes
5187 DEFAULT_wxUSE_COMBOBOX=yes
5188 DEFAULT_wxUSE_CHECKBOX=yes
5189 DEFAULT_wxUSE_CHECKLISTBOX=yes
5190 DEFAULT_wxUSE_CHOICE=yes
5191 DEFAULT_wxUSE_GAUGE=yes
5192 DEFAULT_wxUSE_GRID=yes
5193 DEFAULT_wxUSE_NEW_GRID=yes
5194 DEFAULT_wxUSE_IMAGLIST=yes
5195 DEFAULT_wxUSE_LISTBOX=yes
5196 DEFAULT_wxUSE_LISTCTRL=yes
5197 DEFAULT_wxUSE_NOTEBOOK=yes
5198 DEFAULT_wxUSE_PROPSHEET=yes
5199 DEFAULT_wxUSE_RADIOBOX=yes
5200 DEFAULT_wxUSE_RADIOBTN=yes
5201 DEFAULT_wxUSE_SASH=yes
5202 DEFAULT_wxUSE_SCROLLBAR=yes
5203 DEFAULT_wxUSE_SLIDER=yes
5204 DEFAULT_wxUSE_SPINBTN=yes
5205 DEFAULT_wxUSE_SPINCTRL=yes
5206 DEFAULT_wxUSE_SPLITTER=yes
5207 DEFAULT_wxUSE_STATBMP=yes
5208 DEFAULT_wxUSE_STATBOX=yes
5209 DEFAULT_wxUSE_STATLINE=yes
5210 DEFAULT_wxUSE_STATUSBAR=yes
5211 DEFAULT_wxUSE_TAB_DIALOG=yes
5212 DEFAULT_wxUSE_TOGGLEBTN=yes
5213 DEFAULT_wxUSE_TOOLBAR=yes
5214 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
5215 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
5216 DEFAULT_wxUSE_TOOLTIPS=yes
5217 DEFAULT_wxUSE_TREECTRL=yes
5218 DEFAULT_wxUSE_POPUPWIN=yes
5219 DEFAULT_wxUSE_TIPWINDOW=yes
5220elif test "$wxUSE_CONTROLS" = "no"; then
5221 DEFAULT_wxUSE_ACCEL=no
5222 DEFAULT_wxUSE_BMPBUTTON=no
5223 DEFAULT_wxUSE_BUTTON=no
5224 DEFAULT_wxUSE_CALCTRL=no
5225 DEFAULT_wxUSE_CARET=no
5226 DEFAULT_wxUSE_COMBOBOX=no
5227 DEFAULT_wxUSE_CHECKBOX=no
5228 DEFAULT_wxUSE_CHECKLISTBOX=no
5229 DEFAULT_wxUSE_CHOICE=no
5230 DEFAULT_wxUSE_GAUGE=no
5231 DEFAULT_wxUSE_GRID=no
5232 DEFAULT_wxUSE_NEW_GRID=no
5233 DEFAULT_wxUSE_IMAGLIST=no
5234 DEFAULT_wxUSE_LISTBOX=no
5235 DEFAULT_wxUSE_LISTCTRL=no
5236 DEFAULT_wxUSE_NOTEBOOK=no
5237 DEFAULT_wxUSE_PROPSHEET=no
5238 DEFAULT_wxUSE_RADIOBOX=no
5239 DEFAULT_wxUSE_RADIOBTN=no
5240 DEFAULT_wxUSE_SASH=no
5241 DEFAULT_wxUSE_SCROLLBAR=no
5242 DEFAULT_wxUSE_SLIDER=no
5243 DEFAULT_wxUSE_SPINBTN=no
5244 DEFAULT_wxUSE_SPINCTRL=no
5245 DEFAULT_wxUSE_SPLITTER=no
5246 DEFAULT_wxUSE_STATBMP=no
5247 DEFAULT_wxUSE_STATBOX=no
5248 DEFAULT_wxUSE_STATLINE=no
5249 DEFAULT_wxUSE_STATUSBAR=no
5250 DEFAULT_wxUSE_TAB_DIALOG=no
5251 DEFAULT_wxUSE_TOGGLEBTN=no
5252 DEFAULT_wxUSE_TOOLBAR=no
5253 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
5254 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
5255 DEFAULT_wxUSE_TOOLTIPS=no
5256 DEFAULT_wxUSE_TREECTRL=no
5257 DEFAULT_wxUSE_POPUPWIN=no
5258 DEFAULT_wxUSE_TIPWINDOW=no
5259fi
5260
5261
5262 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5263echo "configure:5264: checking for --enable-accel" >&5
5264 no_cache=0
5265 # Check whether --enable-accel or --disable-accel was given.
5266if test "${enable_accel+set}" = set; then
5267 enableval="$enable_accel"
5268
5269 if test "$enableval" = yes; then
5270 ac_cv_use_accel='wxUSE_ACCEL=yes'
5271 else
5272 ac_cv_use_accel='wxUSE_ACCEL=no'
5273 fi
5274
5275else
5276
5277 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5278 if test "x$LINE" != x ; then
5279 eval "DEFAULT_$LINE"
5280 else
5281 no_cache=1
5282 fi
5283
5284 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5285
5286fi
5287
5288
5289 eval "$ac_cv_use_accel"
5290 if test "$no_cache" != 1; then
5291 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5292 fi
5293
5294 if test "$wxUSE_ACCEL" = yes; then
5295 echo "$ac_t""yes" 1>&6
5296 else
5297 echo "$ac_t""no" 1>&6
5298 fi
5299
5300
5301 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5302echo "configure:5303: checking for --enable-button" >&5
5303 no_cache=0
5304 # Check whether --enable-button or --disable-button was given.
5305if test "${enable_button+set}" = set; then
5306 enableval="$enable_button"
5307
5308 if test "$enableval" = yes; then
5309 ac_cv_use_button='wxUSE_BUTTON=yes'
5310 else
5311 ac_cv_use_button='wxUSE_BUTTON=no'
5312 fi
5313
5314else
5315
5316 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5317 if test "x$LINE" != x ; then
5318 eval "DEFAULT_$LINE"
5319 else
5320 no_cache=1
5321 fi
5322
5323 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5324
5325fi
5326
5327
5328 eval "$ac_cv_use_button"
5329 if test "$no_cache" != 1; then
5330 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5331 fi
5332
5333 if test "$wxUSE_BUTTON" = yes; then
5334 echo "$ac_t""yes" 1>&6
5335 else
5336 echo "$ac_t""no" 1>&6
5337 fi
5338
5339
5340 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5341echo "configure:5342: checking for --enable-bmpbutton" >&5
5342 no_cache=0
5343 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5344if test "${enable_bmpbutton+set}" = set; then
5345 enableval="$enable_bmpbutton"
5346
5347 if test "$enableval" = yes; then
5348 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
5349 else
5350 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
5351 fi
5352
5353else
5354
5355 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5356 if test "x$LINE" != x ; then
5357 eval "DEFAULT_$LINE"
5358 else
5359 no_cache=1
5360 fi
5361
5362 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5363
5364fi
5365
5366
5367 eval "$ac_cv_use_bmpbutton"
5368 if test "$no_cache" != 1; then
5369 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5370 fi
5371
5372 if test "$wxUSE_BMPBUTTON" = yes; then
5373 echo "$ac_t""yes" 1>&6
5374 else
5375 echo "$ac_t""no" 1>&6
5376 fi
5377
5378
5379 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5380echo "configure:5381: checking for --enable-calendar" >&5
5381 no_cache=0
5382 # Check whether --enable-calendar or --disable-calendar was given.
5383if test "${enable_calendar+set}" = set; then
5384 enableval="$enable_calendar"
5385
5386 if test "$enableval" = yes; then
5387 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
5388 else
5389 ac_cv_use_calendar='wxUSE_CALCTRL=no'
5390 fi
5391
5392else
5393
5394 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5395 if test "x$LINE" != x ; then
5396 eval "DEFAULT_$LINE"
5397 else
5398 no_cache=1
5399 fi
5400
5401 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5402
5403fi
5404
5405
5406 eval "$ac_cv_use_calendar"
5407 if test "$no_cache" != 1; then
5408 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5409 fi
5410
5411 if test "$wxUSE_CALCTRL" = yes; then
5412 echo "$ac_t""yes" 1>&6
5413 else
5414 echo "$ac_t""no" 1>&6
5415 fi
5416
5417
5418 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5419echo "configure:5420: checking for --enable-caret" >&5
5420 no_cache=0
5421 # Check whether --enable-caret or --disable-caret was given.
5422if test "${enable_caret+set}" = set; then
5423 enableval="$enable_caret"
5424
5425 if test "$enableval" = yes; then
5426 ac_cv_use_caret='wxUSE_CARET=yes'
5427 else
5428 ac_cv_use_caret='wxUSE_CARET=no'
5429 fi
5430
5431else
5432
5433 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5434 if test "x$LINE" != x ; then
5435 eval "DEFAULT_$LINE"
5436 else
5437 no_cache=1
5438 fi
5439
5440 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5441
5442fi
5443
5444
5445 eval "$ac_cv_use_caret"
5446 if test "$no_cache" != 1; then
5447 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5448 fi
5449
5450 if test "$wxUSE_CARET" = yes; then
5451 echo "$ac_t""yes" 1>&6
5452 else
5453 echo "$ac_t""no" 1>&6
5454 fi
5455
5456
5457 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5458echo "configure:5459: checking for --enable-checkbox" >&5
5459 no_cache=0
5460 # Check whether --enable-checkbox or --disable-checkbox was given.
5461if test "${enable_checkbox+set}" = set; then
5462 enableval="$enable_checkbox"
5463
5464 if test "$enableval" = yes; then
5465 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
5466 else
5467 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
5468 fi
5469
5470else
5471
5472 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x ; then
5474 eval "DEFAULT_$LINE"
5475 else
5476 no_cache=1
5477 fi
5478
5479 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5480
5481fi
5482
5483
5484 eval "$ac_cv_use_checkbox"
5485 if test "$no_cache" != 1; then
5486 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5487 fi
5488
5489 if test "$wxUSE_CHECKBOX" = yes; then
5490 echo "$ac_t""yes" 1>&6
5491 else
5492 echo "$ac_t""no" 1>&6
5493 fi
5494
5495
5496 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5497echo "configure:5498: checking for --enable-checklst" >&5
5498 no_cache=0
5499 # Check whether --enable-checklst or --disable-checklst was given.
5500if test "${enable_checklst+set}" = set; then
5501 enableval="$enable_checklst"
5502
5503 if test "$enableval" = yes; then
5504 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
5505 else
5506 ac_cv_use_checklst='wxUSE_CHECKLST=no'
5507 fi
5508
5509else
5510
5511 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5512 if test "x$LINE" != x ; then
5513 eval "DEFAULT_$LINE"
5514 else
5515 no_cache=1
5516 fi
5517
5518 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5519
5520fi
5521
5522
5523 eval "$ac_cv_use_checklst"
5524 if test "$no_cache" != 1; then
5525 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5526 fi
5527
5528 if test "$wxUSE_CHECKLST" = yes; then
5529 echo "$ac_t""yes" 1>&6
5530 else
5531 echo "$ac_t""no" 1>&6
5532 fi
5533
5534
5535 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5536echo "configure:5537: checking for --enable-choice" >&5
5537 no_cache=0
5538 # Check whether --enable-choice or --disable-choice was given.
5539if test "${enable_choice+set}" = set; then
5540 enableval="$enable_choice"
5541
5542 if test "$enableval" = yes; then
5543 ac_cv_use_choice='wxUSE_CHOICE=yes'
5544 else
5545 ac_cv_use_choice='wxUSE_CHOICE=no'
5546 fi
5547
5548else
5549
5550 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5551 if test "x$LINE" != x ; then
5552 eval "DEFAULT_$LINE"
5553 else
5554 no_cache=1
5555 fi
5556
5557 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5558
5559fi
5560
5561
5562 eval "$ac_cv_use_choice"
5563 if test "$no_cache" != 1; then
5564 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5565 fi
5566
5567 if test "$wxUSE_CHOICE" = yes; then
5568 echo "$ac_t""yes" 1>&6
5569 else
5570 echo "$ac_t""no" 1>&6
5571 fi
5572
5573
5574 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5575echo "configure:5576: checking for --enable-combobox" >&5
5576 no_cache=0
5577 # Check whether --enable-combobox or --disable-combobox was given.
5578if test "${enable_combobox+set}" = set; then
5579 enableval="$enable_combobox"
5580
5581 if test "$enableval" = yes; then
5582 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
5583 else
5584 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
5585 fi
5586
5587else
5588
5589 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5590 if test "x$LINE" != x ; then
5591 eval "DEFAULT_$LINE"
5592 else
5593 no_cache=1
5594 fi
5595
5596 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5597
5598fi
5599
5600
5601 eval "$ac_cv_use_combobox"
5602 if test "$no_cache" != 1; then
5603 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5604 fi
5605
5606 if test "$wxUSE_COMBOBOX" = yes; then
5607 echo "$ac_t""yes" 1>&6
5608 else
5609 echo "$ac_t""no" 1>&6
5610 fi
5611
5612
5613 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5614echo "configure:5615: checking for --enable-gauge" >&5
5615 no_cache=0
5616 # Check whether --enable-gauge or --disable-gauge was given.
5617if test "${enable_gauge+set}" = set; then
5618 enableval="$enable_gauge"
5619
5620 if test "$enableval" = yes; then
5621 ac_cv_use_gauge='wxUSE_GAUGE=yes'
5622 else
5623 ac_cv_use_gauge='wxUSE_GAUGE=no'
5624 fi
5625
5626else
5627
5628 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5629 if test "x$LINE" != x ; then
5630 eval "DEFAULT_$LINE"
5631 else
5632 no_cache=1
5633 fi
5634
5635 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5636
5637fi
5638
5639
5640 eval "$ac_cv_use_gauge"
5641 if test "$no_cache" != 1; then
5642 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5643 fi
5644
5645 if test "$wxUSE_GAUGE" = yes; then
5646 echo "$ac_t""yes" 1>&6
5647 else
5648 echo "$ac_t""no" 1>&6
5649 fi
5650
5651
5652 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5653echo "configure:5654: checking for --enable-grid" >&5
5654 no_cache=0
5655 # Check whether --enable-grid or --disable-grid was given.
5656if test "${enable_grid+set}" = set; then
5657 enableval="$enable_grid"
5658
5659 if test "$enableval" = yes; then
5660 ac_cv_use_grid='wxUSE_GRID=yes'
5661 else
5662 ac_cv_use_grid='wxUSE_GRID=no'
5663 fi
5664
5665else
5666
5667 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5668 if test "x$LINE" != x ; then
5669 eval "DEFAULT_$LINE"
5670 else
5671 no_cache=1
5672 fi
5673
5674 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5675
5676fi
5677
5678
5679 eval "$ac_cv_use_grid"
5680 if test "$no_cache" != 1; then
5681 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5682 fi
5683
5684 if test "$wxUSE_GRID" = yes; then
5685 echo "$ac_t""yes" 1>&6
5686 else
5687 echo "$ac_t""no" 1>&6
5688 fi
5689
5690
5691 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5692echo "configure:5693: checking for --enable-newgrid" >&5
5693 no_cache=0
5694 # Check whether --enable-newgrid or --disable-newgrid was given.
5695if test "${enable_newgrid+set}" = set; then
5696 enableval="$enable_newgrid"
5697
5698 if test "$enableval" = yes; then
5699 ac_cv_use_newgrid='wxUSE_NEW_GRID=yes'
5700 else
5701 ac_cv_use_newgrid='wxUSE_NEW_GRID=no'
5702 fi
5703
5704else
5705
5706 LINE=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5707 if test "x$LINE" != x ; then
5708 eval "DEFAULT_$LINE"
5709 else
5710 no_cache=1
5711 fi
5712
5713 ac_cv_use_newgrid='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5714
5715fi
5716
5717
5718 eval "$ac_cv_use_newgrid"
5719 if test "$no_cache" != 1; then
5720 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5721 fi
5722
5723 if test "$wxUSE_NEW_GRID" = yes; then
5724 echo "$ac_t""yes" 1>&6
5725 else
5726 echo "$ac_t""no" 1>&6
5727 fi
5728
5729
5730 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5731echo "configure:5732: checking for --enable-imaglist" >&5
5732 no_cache=0
5733 # Check whether --enable-imaglist or --disable-imaglist was given.
5734if test "${enable_imaglist+set}" = set; then
5735 enableval="$enable_imaglist"
5736
5737 if test "$enableval" = yes; then
5738 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
5739 else
5740 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
5741 fi
5742
5743else
5744
5745 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5746 if test "x$LINE" != x ; then
5747 eval "DEFAULT_$LINE"
5748 else
5749 no_cache=1
5750 fi
5751
5752 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5753
5754fi
5755
5756
5757 eval "$ac_cv_use_imaglist"
5758 if test "$no_cache" != 1; then
5759 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5760 fi
5761
5762 if test "$wxUSE_IMAGLIST" = yes; then
5763 echo "$ac_t""yes" 1>&6
5764 else
5765 echo "$ac_t""no" 1>&6
5766 fi
5767
5768
5769 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5770echo "configure:5771: checking for --enable-listbox" >&5
5771 no_cache=0
5772 # Check whether --enable-listbox or --disable-listbox was given.
5773if test "${enable_listbox+set}" = set; then
5774 enableval="$enable_listbox"
5775
5776 if test "$enableval" = yes; then
5777 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
5778 else
5779 ac_cv_use_listbox='wxUSE_LISTBOX=no'
5780 fi
5781
5782else
5783
5784 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5785 if test "x$LINE" != x ; then
5786 eval "DEFAULT_$LINE"
5787 else
5788 no_cache=1
5789 fi
5790
5791 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5792
5793fi
5794
5795
5796 eval "$ac_cv_use_listbox"
5797 if test "$no_cache" != 1; then
5798 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5799 fi
5800
5801 if test "$wxUSE_LISTBOX" = yes; then
5802 echo "$ac_t""yes" 1>&6
5803 else
5804 echo "$ac_t""no" 1>&6
5805 fi
5806
5807
5808 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5809echo "configure:5810: checking for --enable-listctrl" >&5
5810 no_cache=0
5811 # Check whether --enable-listctrl or --disable-listctrl was given.
5812if test "${enable_listctrl+set}" = set; then
5813 enableval="$enable_listctrl"
5814
5815 if test "$enableval" = yes; then
5816 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
5817 else
5818 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
5819 fi
5820
5821else
5822
5823 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5824 if test "x$LINE" != x ; then
5825 eval "DEFAULT_$LINE"
5826 else
5827 no_cache=1
5828 fi
5829
5830 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5831
5832fi
5833
5834
5835 eval "$ac_cv_use_listctrl"
5836 if test "$no_cache" != 1; then
5837 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5838 fi
5839
5840 if test "$wxUSE_LISTCTRL" = yes; then
5841 echo "$ac_t""yes" 1>&6
5842 else
5843 echo "$ac_t""no" 1>&6
5844 fi
5845
5846
5847 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5848echo "configure:5849: checking for --enable-notebook" >&5
5849 no_cache=0
5850 # Check whether --enable-notebook or --disable-notebook was given.
5851if test "${enable_notebook+set}" = set; then
5852 enableval="$enable_notebook"
5853
5854 if test "$enableval" = yes; then
5855 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
5856 else
5857 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
5858 fi
5859
5860else
5861
5862 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5863 if test "x$LINE" != x ; then
5864 eval "DEFAULT_$LINE"
5865 else
5866 no_cache=1
5867 fi
5868
5869 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5870
5871fi
5872
5873
5874 eval "$ac_cv_use_notebook"
5875 if test "$no_cache" != 1; then
5876 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5877 fi
5878
5879 if test "$wxUSE_NOTEBOOK" = yes; then
5880 echo "$ac_t""yes" 1>&6
5881 else
5882 echo "$ac_t""no" 1>&6
5883 fi
5884
5885
5886 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5887echo "configure:5888: checking for --enable-propsheet" >&5
5888 no_cache=0
5889 # Check whether --enable-propsheet or --disable-propsheet was given.
5890if test "${enable_propsheet+set}" = set; then
5891 enableval="$enable_propsheet"
5892
5893 if test "$enableval" = yes; then
5894 ac_cv_use_propsheet='wxUSE_PROPSHEET=yes'
5895 else
5896 ac_cv_use_propsheet='wxUSE_PROPSHEET=no'
5897 fi
5898
5899else
5900
5901 LINE=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5902 if test "x$LINE" != x ; then
5903 eval "DEFAULT_$LINE"
5904 else
5905 no_cache=1
5906 fi
5907
5908 ac_cv_use_propsheet='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5909
5910fi
5911
5912
5913 eval "$ac_cv_use_propsheet"
5914 if test "$no_cache" != 1; then
5915 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5916 fi
5917
5918 if test "$wxUSE_PROPSHEET" = yes; then
5919 echo "$ac_t""yes" 1>&6
5920 else
5921 echo "$ac_t""no" 1>&6
5922 fi
5923
5924
5925 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5926echo "configure:5927: checking for --enable-radiobox" >&5
5927 no_cache=0
5928 # Check whether --enable-radiobox or --disable-radiobox was given.
5929if test "${enable_radiobox+set}" = set; then
5930 enableval="$enable_radiobox"
5931
5932 if test "$enableval" = yes; then
5933 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
5934 else
5935 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
5936 fi
5937
5938else
5939
5940 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5941 if test "x$LINE" != x ; then
5942 eval "DEFAULT_$LINE"
5943 else
5944 no_cache=1
5945 fi
5946
5947 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5948
5949fi
5950
5951
5952 eval "$ac_cv_use_radiobox"
5953 if test "$no_cache" != 1; then
5954 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5955 fi
5956
5957 if test "$wxUSE_RADIOBOX" = yes; then
5958 echo "$ac_t""yes" 1>&6
5959 else
5960 echo "$ac_t""no" 1>&6
5961 fi
5962
5963
5964 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5965echo "configure:5966: checking for --enable-radiobtn" >&5
5966 no_cache=0
5967 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5968if test "${enable_radiobtn+set}" = set; then
5969 enableval="$enable_radiobtn"
5970
5971 if test "$enableval" = yes; then
5972 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
5973 else
5974 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
5975 fi
5976
5977else
5978
5979 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5980 if test "x$LINE" != x ; then
5981 eval "DEFAULT_$LINE"
5982 else
5983 no_cache=1
5984 fi
5985
5986 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5987
5988fi
5989
5990
5991 eval "$ac_cv_use_radiobtn"
5992 if test "$no_cache" != 1; then
5993 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5994 fi
5995
5996 if test "$wxUSE_RADIOBTN" = yes; then
5997 echo "$ac_t""yes" 1>&6
5998 else
5999 echo "$ac_t""no" 1>&6
6000 fi
6001
6002
6003 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6004echo "configure:6005: checking for --enable-sash" >&5
6005 no_cache=0
6006 # Check whether --enable-sash or --disable-sash was given.
6007if test "${enable_sash+set}" = set; then
6008 enableval="$enable_sash"
6009
6010 if test "$enableval" = yes; then
6011 ac_cv_use_sash='wxUSE_SASH=yes'
6012 else
6013 ac_cv_use_sash='wxUSE_SASH=no'
6014 fi
6015
6016else
6017
6018 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6019 if test "x$LINE" != x ; then
6020 eval "DEFAULT_$LINE"
6021 else
6022 no_cache=1
6023 fi
6024
6025 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6026
6027fi
6028
6029
6030 eval "$ac_cv_use_sash"
6031 if test "$no_cache" != 1; then
6032 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6033 fi
6034
6035 if test "$wxUSE_SASH" = yes; then
6036 echo "$ac_t""yes" 1>&6
6037 else
6038 echo "$ac_t""no" 1>&6
6039 fi
6040
6041
6042 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6043echo "configure:6044: checking for --enable-scrollbar" >&5
6044 no_cache=0
6045 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6046if test "${enable_scrollbar+set}" = set; then
6047 enableval="$enable_scrollbar"
6048
6049 if test "$enableval" = yes; then
6050 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
6051 else
6052 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
6053 fi
6054
6055else
6056
6057 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6058 if test "x$LINE" != x ; then
6059 eval "DEFAULT_$LINE"
6060 else
6061 no_cache=1
6062 fi
6063
6064 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6065
6066fi
6067
6068
6069 eval "$ac_cv_use_scrollbar"
6070 if test "$no_cache" != 1; then
6071 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6072 fi
6073
6074 if test "$wxUSE_SCROLLBAR" = yes; then
6075 echo "$ac_t""yes" 1>&6
6076 else
6077 echo "$ac_t""no" 1>&6
6078 fi
6079
6080
6081 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6082echo "configure:6083: checking for --enable-slider" >&5
6083 no_cache=0
6084 # Check whether --enable-slider or --disable-slider was given.
6085if test "${enable_slider+set}" = set; then
6086 enableval="$enable_slider"
6087
6088 if test "$enableval" = yes; then
6089 ac_cv_use_slider='wxUSE_SLIDER=yes'
6090 else
6091 ac_cv_use_slider='wxUSE_SLIDER=no'
6092 fi
6093
6094else
6095
6096 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6097 if test "x$LINE" != x ; then
6098 eval "DEFAULT_$LINE"
6099 else
6100 no_cache=1
6101 fi
6102
6103 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6104
6105fi
6106
6107
6108 eval "$ac_cv_use_slider"
6109 if test "$no_cache" != 1; then
6110 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6111 fi
6112
6113 if test "$wxUSE_SLIDER" = yes; then
6114 echo "$ac_t""yes" 1>&6
6115 else
6116 echo "$ac_t""no" 1>&6
6117 fi
6118
6119
6120 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6121echo "configure:6122: checking for --enable-spinbtn" >&5
6122 no_cache=0
6123 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6124if test "${enable_spinbtn+set}" = set; then
6125 enableval="$enable_spinbtn"
6126
6127 if test "$enableval" = yes; then
6128 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
6129 else
6130 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
6131 fi
6132
6133else
6134
6135 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6136 if test "x$LINE" != x ; then
6137 eval "DEFAULT_$LINE"
6138 else
6139 no_cache=1
6140 fi
6141
6142 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6143
6144fi
6145
6146
6147 eval "$ac_cv_use_spinbtn"
6148 if test "$no_cache" != 1; then
6149 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6150 fi
6151
6152 if test "$wxUSE_SPINBTN" = yes; then
6153 echo "$ac_t""yes" 1>&6
6154 else
6155 echo "$ac_t""no" 1>&6
6156 fi
6157
6158
6159 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6160echo "configure:6161: checking for --enable-spinctrl" >&5
6161 no_cache=0
6162 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6163if test "${enable_spinctrl+set}" = set; then
6164 enableval="$enable_spinctrl"
6165
6166 if test "$enableval" = yes; then
6167 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
6168 else
6169 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
6170 fi
6171
6172else
6173
6174 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6175 if test "x$LINE" != x ; then
6176 eval "DEFAULT_$LINE"
6177 else
6178 no_cache=1
6179 fi
6180
6181 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6182
6183fi
6184
6185
6186 eval "$ac_cv_use_spinctrl"
6187 if test "$no_cache" != 1; then
6188 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6189 fi
6190
6191 if test "$wxUSE_SPINCTRL" = yes; then
6192 echo "$ac_t""yes" 1>&6
6193 else
6194 echo "$ac_t""no" 1>&6
6195 fi
6196
6197
6198 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6199echo "configure:6200: checking for --enable-splitter" >&5
6200 no_cache=0
6201 # Check whether --enable-splitter or --disable-splitter was given.
6202if test "${enable_splitter+set}" = set; then
6203 enableval="$enable_splitter"
6204
6205 if test "$enableval" = yes; then
6206 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
6207 else
6208 ac_cv_use_splitter='wxUSE_SPLITTER=no'
6209 fi
6210
6211else
6212
6213 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6214 if test "x$LINE" != x ; then
6215 eval "DEFAULT_$LINE"
6216 else
6217 no_cache=1
6218 fi
6219
6220 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6221
6222fi
6223
6224
6225 eval "$ac_cv_use_splitter"
6226 if test "$no_cache" != 1; then
6227 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6228 fi
6229
6230 if test "$wxUSE_SPLITTER" = yes; then
6231 echo "$ac_t""yes" 1>&6
6232 else
6233 echo "$ac_t""no" 1>&6
6234 fi
6235
6236
6237 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6238echo "configure:6239: checking for --enable-statbmp" >&5
6239 no_cache=0
6240 # Check whether --enable-statbmp or --disable-statbmp was given.
6241if test "${enable_statbmp+set}" = set; then
6242 enableval="$enable_statbmp"
6243
6244 if test "$enableval" = yes; then
6245 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
6246 else
6247 ac_cv_use_statbmp='wxUSE_STATBMP=no'
6248 fi
6249
6250else
6251
6252 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6253 if test "x$LINE" != x ; then
6254 eval "DEFAULT_$LINE"
6255 else
6256 no_cache=1
6257 fi
6258
6259 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6260
6261fi
6262
6263
6264 eval "$ac_cv_use_statbmp"
6265 if test "$no_cache" != 1; then
6266 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6267 fi
6268
6269 if test "$wxUSE_STATBMP" = yes; then
6270 echo "$ac_t""yes" 1>&6
6271 else
6272 echo "$ac_t""no" 1>&6
6273 fi
6274
6275
6276 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6277echo "configure:6278: checking for --enable-statbox" >&5
6278 no_cache=0
6279 # Check whether --enable-statbox or --disable-statbox was given.
6280if test "${enable_statbox+set}" = set; then
6281 enableval="$enable_statbox"
6282
6283 if test "$enableval" = yes; then
6284 ac_cv_use_statbox='wxUSE_STATBOX=yes'
6285 else
6286 ac_cv_use_statbox='wxUSE_STATBOX=no'
6287 fi
6288
6289else
6290
6291 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6292 if test "x$LINE" != x ; then
6293 eval "DEFAULT_$LINE"
6294 else
6295 no_cache=1
6296 fi
6297
6298 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6299
6300fi
6301
6302
6303 eval "$ac_cv_use_statbox"
6304 if test "$no_cache" != 1; then
6305 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6306 fi
6307
6308 if test "$wxUSE_STATBOX" = yes; then
6309 echo "$ac_t""yes" 1>&6
6310 else
6311 echo "$ac_t""no" 1>&6
6312 fi
6313
6314
6315 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6316echo "configure:6317: checking for --enable-statline" >&5
6317 no_cache=0
6318 # Check whether --enable-statline or --disable-statline was given.
6319if test "${enable_statline+set}" = set; then
6320 enableval="$enable_statline"
6321
6322 if test "$enableval" = yes; then
6323 ac_cv_use_statline='wxUSE_STATLINE=yes'
6324 else
6325 ac_cv_use_statline='wxUSE_STATLINE=no'
6326 fi
6327
6328else
6329
6330 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6331 if test "x$LINE" != x ; then
6332 eval "DEFAULT_$LINE"
6333 else
6334 no_cache=1
6335 fi
6336
6337 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6338
6339fi
6340
6341
6342 eval "$ac_cv_use_statline"
6343 if test "$no_cache" != 1; then
6344 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6345 fi
6346
6347 if test "$wxUSE_STATLINE" = yes; then
6348 echo "$ac_t""yes" 1>&6
6349 else
6350 echo "$ac_t""no" 1>&6
6351 fi
6352
6353
6354 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6355echo "configure:6356: checking for --enable-stattext" >&5
6356 no_cache=0
6357 # Check whether --enable-stattext or --disable-stattext was given.
6358if test "${enable_stattext+set}" = set; then
6359 enableval="$enable_stattext"
6360
6361 if test "$enableval" = yes; then
6362 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
6363 else
6364 ac_cv_use_stattext='wxUSE_STATTEXT=no'
6365 fi
6366
6367else
6368
6369 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6370 if test "x$LINE" != x ; then
6371 eval "DEFAULT_$LINE"
6372 else
6373 no_cache=1
6374 fi
6375
6376 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6377
6378fi
6379
6380
6381 eval "$ac_cv_use_stattext"
6382 if test "$no_cache" != 1; then
6383 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6384 fi
6385
6386 if test "$wxUSE_STATTEXT" = yes; then
6387 echo "$ac_t""yes" 1>&6
6388 else
6389 echo "$ac_t""no" 1>&6
6390 fi
6391
6392
6393 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6394echo "configure:6395: checking for --enable-statusbar" >&5
6395 no_cache=0
6396 # Check whether --enable-statusbar or --disable-statusbar was given.
6397if test "${enable_statusbar+set}" = set; then
6398 enableval="$enable_statusbar"
6399
6400 if test "$enableval" = yes; then
6401 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
6402 else
6403 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
6404 fi
6405
6406else
6407
6408 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6409 if test "x$LINE" != x ; then
6410 eval "DEFAULT_$LINE"
6411 else
6412 no_cache=1
6413 fi
6414
6415 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6416
6417fi
6418
6419
6420 eval "$ac_cv_use_statusbar"
6421 if test "$no_cache" != 1; then
6422 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6423 fi
6424
6425 if test "$wxUSE_STATUSBAR" = yes; then
6426 echo "$ac_t""yes" 1>&6
6427 else
6428 echo "$ac_t""no" 1>&6
6429 fi
6430
6431
6432 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6433echo "configure:6434: checking for --enable-tabdialog" >&5
6434 no_cache=0
6435 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6436if test "${enable_tabdialog+set}" = set; then
6437 enableval="$enable_tabdialog"
6438
6439 if test "$enableval" = yes; then
6440 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
6441 else
6442 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
6443 fi
6444
6445else
6446
6447 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6448 if test "x$LINE" != x ; then
6449 eval "DEFAULT_$LINE"
6450 else
6451 no_cache=1
6452 fi
6453
6454 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6455
6456fi
6457
6458
6459 eval "$ac_cv_use_tabdialog"
6460 if test "$no_cache" != 1; then
6461 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6462 fi
6463
6464 if test "$wxUSE_TABDIALOG" = yes; then
6465 echo "$ac_t""yes" 1>&6
6466 else
6467 echo "$ac_t""no" 1>&6
6468 fi
6469
6470
6471 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6472echo "configure:6473: checking for --enable-textctrl" >&5
6473 no_cache=0
6474 # Check whether --enable-textctrl or --disable-textctrl was given.
6475if test "${enable_textctrl+set}" = set; then
6476 enableval="$enable_textctrl"
6477
6478 if test "$enableval" = yes; then
6479 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
6480 else
6481 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
6482 fi
6483
6484else
6485
6486 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6487 if test "x$LINE" != x ; then
6488 eval "DEFAULT_$LINE"
6489 else
6490 no_cache=1
6491 fi
6492
6493 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6494
6495fi
6496
6497
6498 eval "$ac_cv_use_textctrl"
6499 if test "$no_cache" != 1; then
6500 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6501 fi
6502
6503 if test "$wxUSE_TEXTCTRL" = yes; then
6504 echo "$ac_t""yes" 1>&6
6505 else
6506 echo "$ac_t""no" 1>&6
6507 fi
6508
6509
6510 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6511echo "configure:6512: checking for --enable-togglebtn" >&5
6512 no_cache=0
6513 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6514if test "${enable_togglebtn+set}" = set; then
6515 enableval="$enable_togglebtn"
6516
6517 if test "$enableval" = yes; then
6518 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
6519 else
6520 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
6521 fi
6522
6523else
6524
6525 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6526 if test "x$LINE" != x ; then
6527 eval "DEFAULT_$LINE"
6528 else
6529 no_cache=1
6530 fi
6531
6532 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6533
6534fi
6535
6536
6537 eval "$ac_cv_use_togglebtn"
6538 if test "$no_cache" != 1; then
6539 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6540 fi
6541
6542 if test "$wxUSE_TOGGLEBTN" = yes; then
6543 echo "$ac_t""yes" 1>&6
6544 else
6545 echo "$ac_t""no" 1>&6
6546 fi
6547
6548
6549 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6550echo "configure:6551: checking for --enable-toolbar" >&5
6551 no_cache=0
6552 # Check whether --enable-toolbar or --disable-toolbar was given.
6553if test "${enable_toolbar+set}" = set; then
6554 enableval="$enable_toolbar"
6555
6556 if test "$enableval" = yes; then
6557 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
6558 else
6559 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
6560 fi
6561
6562else
6563
6564 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6565 if test "x$LINE" != x ; then
6566 eval "DEFAULT_$LINE"
6567 else
6568 no_cache=1
6569 fi
6570
6571 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6572
6573fi
6574
6575
6576 eval "$ac_cv_use_toolbar"
6577 if test "$no_cache" != 1; then
6578 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6579 fi
6580
6581 if test "$wxUSE_TOOLBAR" = yes; then
6582 echo "$ac_t""yes" 1>&6
6583 else
6584 echo "$ac_t""no" 1>&6
6585 fi
6586
6587
6588 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6589echo "configure:6590: checking for --enable-tbarnative" >&5
6590 no_cache=0
6591 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6592if test "${enable_tbarnative+set}" = set; then
6593 enableval="$enable_tbarnative"
6594
6595 if test "$enableval" = yes; then
6596 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
6597 else
6598 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
6599 fi
6600
6601else
6602
6603 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6604 if test "x$LINE" != x ; then
6605 eval "DEFAULT_$LINE"
6606 else
6607 no_cache=1
6608 fi
6609
6610 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6611
6612fi
6613
6614
6615 eval "$ac_cv_use_tbarnative"
6616 if test "$no_cache" != 1; then
6617 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6618 fi
6619
6620 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6621 echo "$ac_t""yes" 1>&6
6622 else
6623 echo "$ac_t""no" 1>&6
6624 fi
6625
6626
6627 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6628echo "configure:6629: checking for --enable-tbarsmpl" >&5
6629 no_cache=0
6630 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6631if test "${enable_tbarsmpl+set}" = set; then
6632 enableval="$enable_tbarsmpl"
6633
6634 if test "$enableval" = yes; then
6635 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
6636 else
6637 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
6638 fi
6639
6640else
6641
6642 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6643 if test "x$LINE" != x ; then
6644 eval "DEFAULT_$LINE"
6645 else
6646 no_cache=1
6647 fi
6648
6649 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6650
6651fi
6652
6653
6654 eval "$ac_cv_use_tbarsmpl"
6655 if test "$no_cache" != 1; then
6656 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6657 fi
6658
6659 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6660 echo "$ac_t""yes" 1>&6
6661 else
6662 echo "$ac_t""no" 1>&6
6663 fi
6664
6665
6666 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6667echo "configure:6668: checking for --enable-treectrl" >&5
6668 no_cache=0
6669 # Check whether --enable-treectrl or --disable-treectrl was given.
6670if test "${enable_treectrl+set}" = set; then
6671 enableval="$enable_treectrl"
6672
6673 if test "$enableval" = yes; then
6674 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
6675 else
6676 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
6677 fi
6678
6679else
6680
6681 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6682 if test "x$LINE" != x ; then
6683 eval "DEFAULT_$LINE"
6684 else
6685 no_cache=1
6686 fi
6687
6688 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6689
6690fi
6691
6692
6693 eval "$ac_cv_use_treectrl"
6694 if test "$no_cache" != 1; then
6695 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6696 fi
6697
6698 if test "$wxUSE_TREECTRL" = yes; then
6699 echo "$ac_t""yes" 1>&6
6700 else
6701 echo "$ac_t""no" 1>&6
6702 fi
6703
6704
6705 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
6706echo "configure:6707: checking for --enable-tipwindow" >&5
6707 no_cache=0
6708 # Check whether --enable-tipwindow or --disable-tipwindow was given.
6709if test "${enable_tipwindow+set}" = set; then
6710 enableval="$enable_tipwindow"
6711
6712 if test "$enableval" = yes; then
6713 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
6714 else
6715 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
6716 fi
6717
6718else
6719
6720 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
6721 if test "x$LINE" != x ; then
6722 eval "DEFAULT_$LINE"
6723 else
6724 no_cache=1
6725 fi
6726
6727 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
6728
6729fi
6730
6731
6732 eval "$ac_cv_use_tipwindow"
6733 if test "$no_cache" != 1; then
6734 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
6735 fi
6736
6737 if test "$wxUSE_TIPWINDOW" = yes; then
6738 echo "$ac_t""yes" 1>&6
6739 else
6740 echo "$ac_t""no" 1>&6
6741 fi
6742
6743
6744 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6745echo "configure:6746: checking for --enable-popupwin" >&5
6746 no_cache=0
6747 # Check whether --enable-popupwin or --disable-popupwin was given.
6748if test "${enable_popupwin+set}" = set; then
6749 enableval="$enable_popupwin"
6750
6751 if test "$enableval" = yes; then
6752 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
6753 else
6754 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
6755 fi
6756
6757else
6758
6759 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6760 if test "x$LINE" != x ; then
6761 eval "DEFAULT_$LINE"
6762 else
6763 no_cache=1
6764 fi
6765
6766 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6767
6768fi
6769
6770
6771 eval "$ac_cv_use_popupwin"
6772 if test "$no_cache" != 1; then
6773 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6774 fi
6775
6776 if test "$wxUSE_POPUPWIN" = yes; then
6777 echo "$ac_t""yes" 1>&6
6778 else
6779 echo "$ac_t""no" 1>&6
6780 fi
6781
6782
6783
6784
6785 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6786echo "configure:6787: checking for --enable-commondlg" >&5
6787 no_cache=0
6788 # Check whether --enable-commondlg or --disable-commondlg was given.
6789if test "${enable_commondlg+set}" = set; then
6790 enableval="$enable_commondlg"
6791
6792 if test "$enableval" = yes; then
6793 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
6794 else
6795 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
6796 fi
6797
6798else
6799
6800 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6801 if test "x$LINE" != x ; then
6802 eval "DEFAULT_$LINE"
6803 else
6804 no_cache=1
6805 fi
6806
6807 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6808
6809fi
6810
6811
6812 eval "$ac_cv_use_commondlg"
6813 if test "$no_cache" != 1; then
6814 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6815 fi
6816
6817 if test "$wxUSE_COMMONDLGS" = yes; then
6818 echo "$ac_t""yes" 1>&6
6819 else
6820 echo "$ac_t""no" 1>&6
6821 fi
6822
6823
6824 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6825echo "configure:6826: checking for --enable-choicedlg" >&5
6826 no_cache=0
6827 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6828if test "${enable_choicedlg+set}" = set; then
6829 enableval="$enable_choicedlg"
6830
6831 if test "$enableval" = yes; then
6832 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
6833 else
6834 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
6835 fi
6836
6837else
6838
6839 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6840 if test "x$LINE" != x ; then
6841 eval "DEFAULT_$LINE"
6842 else
6843 no_cache=1
6844 fi
6845
6846 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6847
6848fi
6849
6850
6851 eval "$ac_cv_use_choicedlg"
6852 if test "$no_cache" != 1; then
6853 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6854 fi
6855
6856 if test "$wxUSE_CHOICEDLG" = yes; then
6857 echo "$ac_t""yes" 1>&6
6858 else
6859 echo "$ac_t""no" 1>&6
6860 fi
6861
6862
6863 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6864echo "configure:6865: checking for --enable-coldlg" >&5
6865 no_cache=0
6866 # Check whether --enable-coldlg or --disable-coldlg was given.
6867if test "${enable_coldlg+set}" = set; then
6868 enableval="$enable_coldlg"
6869
6870 if test "$enableval" = yes; then
6871 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
6872 else
6873 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
6874 fi
6875
6876else
6877
6878 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6879 if test "x$LINE" != x ; then
6880 eval "DEFAULT_$LINE"
6881 else
6882 no_cache=1
6883 fi
6884
6885 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6886
6887fi
6888
6889
6890 eval "$ac_cv_use_coldlg"
6891 if test "$no_cache" != 1; then
6892 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6893 fi
6894
6895 if test "$wxUSE_COLOURDLG" = yes; then
6896 echo "$ac_t""yes" 1>&6
6897 else
6898 echo "$ac_t""no" 1>&6
6899 fi
6900
6901
6902 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6903echo "configure:6904: checking for --enable-filedlg" >&5
6904 no_cache=0
6905 # Check whether --enable-filedlg or --disable-filedlg was given.
6906if test "${enable_filedlg+set}" = set; then
6907 enableval="$enable_filedlg"
6908
6909 if test "$enableval" = yes; then
6910 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
6911 else
6912 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
6913 fi
6914
6915else
6916
6917 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6918 if test "x$LINE" != x ; then
6919 eval "DEFAULT_$LINE"
6920 else
6921 no_cache=1
6922 fi
6923
6924 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6925
6926fi
6927
6928
6929 eval "$ac_cv_use_filedlg"
6930 if test "$no_cache" != 1; then
6931 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6932 fi
6933
6934 if test "$wxUSE_FILEDLG" = yes; then
6935 echo "$ac_t""yes" 1>&6
6936 else
6937 echo "$ac_t""no" 1>&6
6938 fi
6939
6940
6941 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
6942echo "configure:6943: checking for --enable-finddlg" >&5
6943 no_cache=0
6944 # Check whether --enable-finddlg or --disable-finddlg was given.
6945if test "${enable_finddlg+set}" = set; then
6946 enableval="$enable_finddlg"
6947
6948 if test "$enableval" = yes; then
6949 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
6950 else
6951 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
6952 fi
6953
6954else
6955
6956 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6957 if test "x$LINE" != x ; then
6958 eval "DEFAULT_$LINE"
6959 else
6960 no_cache=1
6961 fi
6962
6963 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6964
6965fi
6966
6967
6968 eval "$ac_cv_use_finddlg"
6969 if test "$no_cache" != 1; then
6970 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
6971 fi
6972
6973 if test "$wxUSE_FINDREPLDLG" = yes; then
6974 echo "$ac_t""yes" 1>&6
6975 else
6976 echo "$ac_t""no" 1>&6
6977 fi
6978
6979
6980 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6981echo "configure:6982: checking for --enable-fontdlg" >&5
6982 no_cache=0
6983 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6984if test "${enable_fontdlg+set}" = set; then
6985 enableval="$enable_fontdlg"
6986
6987 if test "$enableval" = yes; then
6988 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
6989 else
6990 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
6991 fi
6992
6993else
6994
6995 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6996 if test "x$LINE" != x ; then
6997 eval "DEFAULT_$LINE"
6998 else
6999 no_cache=1
7000 fi
7001
7002 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7003
7004fi
7005
7006
7007 eval "$ac_cv_use_fontdlg"
7008 if test "$no_cache" != 1; then
7009 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7010 fi
7011
7012 if test "$wxUSE_FONTDLG" = yes; then
7013 echo "$ac_t""yes" 1>&6
7014 else
7015 echo "$ac_t""no" 1>&6
7016 fi
7017
7018
7019 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7020echo "configure:7021: checking for --enable-dirdlg" >&5
7021 no_cache=0
7022 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7023if test "${enable_dirdlg+set}" = set; then
7024 enableval="$enable_dirdlg"
7025
7026 if test "$enableval" = yes; then
7027 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
7028 else
7029 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
7030 fi
7031
7032else
7033
7034 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7035 if test "x$LINE" != x ; then
7036 eval "DEFAULT_$LINE"
7037 else
7038 no_cache=1
7039 fi
7040
7041 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7042
7043fi
7044
7045
7046 eval "$ac_cv_use_dirdlg"
7047 if test "$no_cache" != 1; then
7048 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7049 fi
7050
7051 if test "$wxUSE_DIRDLG" = yes; then
7052 echo "$ac_t""yes" 1>&6
7053 else
7054 echo "$ac_t""no" 1>&6
7055 fi
7056
7057
7058 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7059echo "configure:7060: checking for --enable-msgdlg" >&5
7060 no_cache=0
7061 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7062if test "${enable_msgdlg+set}" = set; then
7063 enableval="$enable_msgdlg"
7064
7065 if test "$enableval" = yes; then
7066 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
7067 else
7068 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
7069 fi
7070
7071else
7072
7073 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7074 if test "x$LINE" != x ; then
7075 eval "DEFAULT_$LINE"
7076 else
7077 no_cache=1
7078 fi
7079
7080 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7081
7082fi
7083
7084
7085 eval "$ac_cv_use_msgdlg"
7086 if test "$no_cache" != 1; then
7087 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7088 fi
7089
7090 if test "$wxUSE_MSGDLG" = yes; then
7091 echo "$ac_t""yes" 1>&6
7092 else
7093 echo "$ac_t""no" 1>&6
7094 fi
7095
7096
7097 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7098echo "configure:7099: checking for --enable-numberdlg" >&5
7099 no_cache=0
7100 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7101if test "${enable_numberdlg+set}" = set; then
7102 enableval="$enable_numberdlg"
7103
7104 if test "$enableval" = yes; then
7105 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
7106 else
7107 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
7108 fi
7109
7110else
7111
7112 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7113 if test "x$LINE" != x ; then
7114 eval "DEFAULT_$LINE"
7115 else
7116 no_cache=1
7117 fi
7118
7119 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7120
7121fi
7122
7123
7124 eval "$ac_cv_use_numberdlg"
7125 if test "$no_cache" != 1; then
7126 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7127 fi
7128
7129 if test "$wxUSE_NUMBERDLG" = yes; then
7130 echo "$ac_t""yes" 1>&6
7131 else
7132 echo "$ac_t""no" 1>&6
7133 fi
7134
7135
7136 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7137echo "configure:7138: checking for --enable-splash" >&5
7138 no_cache=0
7139 # Check whether --enable-splash or --disable-splash was given.
7140if test "${enable_splash+set}" = set; then
7141 enableval="$enable_splash"
7142
7143 if test "$enableval" = yes; then
7144 ac_cv_use_splash='wxUSE_SPLASH=yes'
7145 else
7146 ac_cv_use_splash='wxUSE_SPLASH=no'
7147 fi
7148
7149else
7150
7151 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7152 if test "x$LINE" != x ; then
7153 eval "DEFAULT_$LINE"
7154 else
7155 no_cache=1
7156 fi
7157
7158 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7159
7160fi
7161
7162
7163 eval "$ac_cv_use_splash"
7164 if test "$no_cache" != 1; then
7165 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7166 fi
7167
7168 if test "$wxUSE_SPLASH" = yes; then
7169 echo "$ac_t""yes" 1>&6
7170 else
7171 echo "$ac_t""no" 1>&6
7172 fi
7173
7174
7175 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7176echo "configure:7177: checking for --enable-textdlg" >&5
7177 no_cache=0
7178 # Check whether --enable-textdlg or --disable-textdlg was given.
7179if test "${enable_textdlg+set}" = set; then
7180 enableval="$enable_textdlg"
7181
7182 if test "$enableval" = yes; then
7183 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
7184 else
7185 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
7186 fi
7187
7188else
7189
7190 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7191 if test "x$LINE" != x ; then
7192 eval "DEFAULT_$LINE"
7193 else
7194 no_cache=1
7195 fi
7196
7197 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7198
7199fi
7200
7201
7202 eval "$ac_cv_use_textdlg"
7203 if test "$no_cache" != 1; then
7204 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7205 fi
7206
7207 if test "$wxUSE_TEXTDLG" = yes; then
7208 echo "$ac_t""yes" 1>&6
7209 else
7210 echo "$ac_t""no" 1>&6
7211 fi
7212
7213
7214 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7215echo "configure:7216: checking for --enable-tipdlg" >&5
7216 no_cache=0
7217 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7218if test "${enable_tipdlg+set}" = set; then
7219 enableval="$enable_tipdlg"
7220
7221 if test "$enableval" = yes; then
7222 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
7223 else
7224 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
7225 fi
7226
7227else
7228
7229 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x ; then
7231 eval "DEFAULT_$LINE"
7232 else
7233 no_cache=1
7234 fi
7235
7236 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7237
7238fi
7239
7240
7241 eval "$ac_cv_use_tipdlg"
7242 if test "$no_cache" != 1; then
7243 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7244 fi
7245
7246 if test "$wxUSE_STARTUP_TIPS" = yes; then
7247 echo "$ac_t""yes" 1>&6
7248 else
7249 echo "$ac_t""no" 1>&6
7250 fi
7251
7252
7253 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7254echo "configure:7255: checking for --enable-progressdlg" >&5
7255 no_cache=0
7256 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7257if test "${enable_progressdlg+set}" = set; then
7258 enableval="$enable_progressdlg"
7259
7260 if test "$enableval" = yes; then
7261 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
7262 else
7263 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
7264 fi
7265
7266else
7267
7268 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x ; then
7270 eval "DEFAULT_$LINE"
7271 else
7272 no_cache=1
7273 fi
7274
7275 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7276
7277fi
7278
7279
7280 eval "$ac_cv_use_progressdlg"
7281 if test "$no_cache" != 1; then
7282 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7283 fi
7284
7285 if test "$wxUSE_PROGRESSDLG" = yes; then
7286 echo "$ac_t""yes" 1>&6
7287 else
7288 echo "$ac_t""no" 1>&6
7289 fi
7290
7291
7292 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7293echo "configure:7294: checking for --enable-wizarddlg" >&5
7294 no_cache=0
7295 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7296if test "${enable_wizarddlg+set}" = set; then
7297 enableval="$enable_wizarddlg"
7298
7299 if test "$enableval" = yes; then
7300 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
7301 else
7302 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
7303 fi
7304
7305else
7306
7307 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7308 if test "x$LINE" != x ; then
7309 eval "DEFAULT_$LINE"
7310 else
7311 no_cache=1
7312 fi
7313
7314 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7315
7316fi
7317
7318
7319 eval "$ac_cv_use_wizarddlg"
7320 if test "$no_cache" != 1; then
7321 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7322 fi
7323
7324 if test "$wxUSE_WIZARDDLG" = yes; then
7325 echo "$ac_t""yes" 1>&6
7326 else
7327 echo "$ac_t""no" 1>&6
7328 fi
7329
7330
7331
7332
7333 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7334echo "configure:7335: checking for --enable-menus" >&5
7335 no_cache=0
7336 # Check whether --enable-menus or --disable-menus was given.
7337if test "${enable_menus+set}" = set; then
7338 enableval="$enable_menus"
7339
7340 if test "$enableval" = yes; then
7341 ac_cv_use_menus='wxUSE_MENUS=yes'
7342 else
7343 ac_cv_use_menus='wxUSE_MENUS=no'
7344 fi
7345
7346else
7347
7348 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7349 if test "x$LINE" != x ; then
7350 eval "DEFAULT_$LINE"
7351 else
7352 no_cache=1
7353 fi
7354
7355 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7356
7357fi
7358
7359
7360 eval "$ac_cv_use_menus"
7361 if test "$no_cache" != 1; then
7362 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7363 fi
7364
7365 if test "$wxUSE_MENUS" = yes; then
7366 echo "$ac_t""yes" 1>&6
7367 else
7368 echo "$ac_t""no" 1>&6
7369 fi
7370
7371
7372 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7373echo "configure:7374: checking for --enable-miniframe" >&5
7374 no_cache=0
7375 # Check whether --enable-miniframe or --disable-miniframe was given.
7376if test "${enable_miniframe+set}" = set; then
7377 enableval="$enable_miniframe"
7378
7379 if test "$enableval" = yes; then
7380 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
7381 else
7382 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
7383 fi
7384
7385else
7386
7387 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7388 if test "x$LINE" != x ; then
7389 eval "DEFAULT_$LINE"
7390 else
7391 no_cache=1
7392 fi
7393
7394 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7395
7396fi
7397
7398
7399 eval "$ac_cv_use_miniframe"
7400 if test "$no_cache" != 1; then
7401 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7402 fi
7403
7404 if test "$wxUSE_MINIFRAME" = yes; then
7405 echo "$ac_t""yes" 1>&6
7406 else
7407 echo "$ac_t""no" 1>&6
7408 fi
7409
7410
7411 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7412echo "configure:7413: checking for --enable-tooltips" >&5
7413 no_cache=0
7414 # Check whether --enable-tooltips or --disable-tooltips was given.
7415if test "${enable_tooltips+set}" = set; then
7416 enableval="$enable_tooltips"
7417
7418 if test "$enableval" = yes; then
7419 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
7420 else
7421 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
7422 fi
7423
7424else
7425
7426 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7427 if test "x$LINE" != x ; then
7428 eval "DEFAULT_$LINE"
7429 else
7430 no_cache=1
7431 fi
7432
7433 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7434
7435fi
7436
7437
7438 eval "$ac_cv_use_tooltips"
7439 if test "$no_cache" != 1; then
7440 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7441 fi
7442
7443 if test "$wxUSE_TOOLTIPS" = yes; then
7444 echo "$ac_t""yes" 1>&6
7445 else
7446 echo "$ac_t""no" 1>&6
7447 fi
7448
7449
7450 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7451echo "configure:7452: checking for --enable-splines" >&5
7452 no_cache=0
7453 # Check whether --enable-splines or --disable-splines was given.
7454if test "${enable_splines+set}" = set; then
7455 enableval="$enable_splines"
7456
7457 if test "$enableval" = yes; then
7458 ac_cv_use_splines='wxUSE_SPLINES=yes'
7459 else
7460 ac_cv_use_splines='wxUSE_SPLINES=no'
7461 fi
7462
7463else
7464
7465 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7466 if test "x$LINE" != x ; then
7467 eval "DEFAULT_$LINE"
7468 else
7469 no_cache=1
7470 fi
7471
7472 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7473
7474fi
7475
7476
7477 eval "$ac_cv_use_splines"
7478 if test "$no_cache" != 1; then
7479 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7480 fi
7481
7482 if test "$wxUSE_SPLINES" = yes; then
7483 echo "$ac_t""yes" 1>&6
7484 else
7485 echo "$ac_t""no" 1>&6
7486 fi
7487
7488
7489 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7490echo "configure:7491: checking for --enable-validators" >&5
7491 no_cache=0
7492 # Check whether --enable-validators or --disable-validators was given.
7493if test "${enable_validators+set}" = set; then
7494 enableval="$enable_validators"
7495
7496 if test "$enableval" = yes; then
7497 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
7498 else
7499 ac_cv_use_validators='wxUSE_VALIDATORS=no'
7500 fi
7501
7502else
7503
7504 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7505 if test "x$LINE" != x ; then
7506 eval "DEFAULT_$LINE"
7507 else
7508 no_cache=1
7509 fi
7510
7511 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7512
7513fi
7514
7515
7516 eval "$ac_cv_use_validators"
7517 if test "$no_cache" != 1; then
7518 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7519 fi
7520
7521 if test "$wxUSE_VALIDATORS" = yes; then
7522 echo "$ac_t""yes" 1>&6
7523 else
7524 echo "$ac_t""no" 1>&6
7525 fi
7526
7527
7528 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7529echo "configure:7530: checking for --enable-busyinfo" >&5
7530 no_cache=0
7531 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7532if test "${enable_busyinfo+set}" = set; then
7533 enableval="$enable_busyinfo"
7534
7535 if test "$enableval" = yes; then
7536 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
7537 else
7538 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
7539 fi
7540
7541else
7542
7543 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7544 if test "x$LINE" != x ; then
7545 eval "DEFAULT_$LINE"
7546 else
7547 no_cache=1
7548 fi
7549
7550 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7551
7552fi
7553
7554
7555 eval "$ac_cv_use_busyinfo"
7556 if test "$no_cache" != 1; then
7557 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7558 fi
7559
7560 if test "$wxUSE_BUSYINFO" = yes; then
7561 echo "$ac_t""yes" 1>&6
7562 else
7563 echo "$ac_t""no" 1>&6
7564 fi
7565
7566
7567 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7568echo "configure:7569: checking for --enable-joystick" >&5
7569 no_cache=0
7570 # Check whether --enable-joystick or --disable-joystick was given.
7571if test "${enable_joystick+set}" = set; then
7572 enableval="$enable_joystick"
7573
7574 if test "$enableval" = yes; then
7575 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
7576 else
7577 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
7578 fi
7579
7580else
7581
7582 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7583 if test "x$LINE" != x ; then
7584 eval "DEFAULT_$LINE"
7585 else
7586 no_cache=1
7587 fi
7588
7589 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7590
7591fi
7592
7593
7594 eval "$ac_cv_use_joystick"
7595 if test "$no_cache" != 1; then
7596 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7597 fi
7598
7599 if test "$wxUSE_JOYSTICK" = yes; then
7600 echo "$ac_t""yes" 1>&6
7601 else
7602 echo "$ac_t""no" 1>&6
7603 fi
7604
7605
7606 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7607echo "configure:7608: checking for --enable-metafile" >&5
7608 no_cache=0
7609 # Check whether --enable-metafile or --disable-metafile was given.
7610if test "${enable_metafile+set}" = set; then
7611 enableval="$enable_metafile"
7612
7613 if test "$enableval" = yes; then
7614 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7615 else
7616 ac_cv_use_metafile='wxUSE_METAFILE=no'
7617 fi
7618
7619else
7620
7621 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7622 if test "x$LINE" != x ; then
7623 eval "DEFAULT_$LINE"
7624 else
7625 no_cache=1
7626 fi
7627
7628 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7629
7630fi
7631
7632
7633 eval "$ac_cv_use_metafile"
7634 if test "$no_cache" != 1; then
7635 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7636 fi
7637
7638 if test "$wxUSE_METAFILE" = yes; then
7639 echo "$ac_t""yes" 1>&6
7640 else
7641 echo "$ac_t""no" 1>&6
7642 fi
7643
7644
7645 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7646echo "configure:7647: checking for --enable-dragimage" >&5
7647 no_cache=0
7648 # Check whether --enable-dragimage or --disable-dragimage was given.
7649if test "${enable_dragimage+set}" = set; then
7650 enableval="$enable_dragimage"
7651
7652 if test "$enableval" = yes; then
7653 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
7654 else
7655 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
7656 fi
7657
7658else
7659
7660 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7661 if test "x$LINE" != x ; then
7662 eval "DEFAULT_$LINE"
7663 else
7664 no_cache=1
7665 fi
7666
7667 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7668
7669fi
7670
7671
7672 eval "$ac_cv_use_dragimage"
7673 if test "$no_cache" != 1; then
7674 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7675 fi
7676
7677 if test "$wxUSE_DRAGIMAGE" = yes; then
7678 echo "$ac_t""yes" 1>&6
7679 else
7680 echo "$ac_t""no" 1>&6
7681 fi
7682
7683
7684
7685
7686 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
7687echo "configure:7688: checking for --enable-palette" >&5
7688 no_cache=0
7689 # Check whether --enable-palette or --disable-palette was given.
7690if test "${enable_palette+set}" = set; then
7691 enableval="$enable_palette"
7692
7693 if test "$enableval" = yes; then
7694 ac_cv_use_palette='wxUSE_PALETTE=yes'
7695 else
7696 ac_cv_use_palette='wxUSE_PALETTE=no'
7697 fi
7698
7699else
7700
7701 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
7702 if test "x$LINE" != x ; then
7703 eval "DEFAULT_$LINE"
7704 else
7705 no_cache=1
7706 fi
7707
7708 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
7709
7710fi
7711
7712
7713 eval "$ac_cv_use_palette"
7714 if test "$no_cache" != 1; then
7715 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
7716 fi
7717
7718 if test "$wxUSE_PALETTE" = yes; then
7719 echo "$ac_t""yes" 1>&6
7720 else
7721 echo "$ac_t""no" 1>&6
7722 fi
7723
7724
7725 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7726echo "configure:7727: checking for --enable-image" >&5
7727 no_cache=0
7728 # Check whether --enable-image or --disable-image was given.
7729if test "${enable_image+set}" = set; then
7730 enableval="$enable_image"
7731
7732 if test "$enableval" = yes; then
7733 ac_cv_use_image='wxUSE_IMAGE=yes'
7734 else
7735 ac_cv_use_image='wxUSE_IMAGE=no'
7736 fi
7737
7738else
7739
7740 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7741 if test "x$LINE" != x ; then
7742 eval "DEFAULT_$LINE"
7743 else
7744 no_cache=1
7745 fi
7746
7747 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7748
7749fi
7750
7751
7752 eval "$ac_cv_use_image"
7753 if test "$no_cache" != 1; then
7754 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7755 fi
7756
7757 if test "$wxUSE_IMAGE" = yes; then
7758 echo "$ac_t""yes" 1>&6
7759 else
7760 echo "$ac_t""no" 1>&6
7761 fi
7762
7763
7764 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7765echo "configure:7766: checking for --enable-gif" >&5
7766 no_cache=0
7767 # Check whether --enable-gif or --disable-gif was given.
7768if test "${enable_gif+set}" = set; then
7769 enableval="$enable_gif"
7770
7771 if test "$enableval" = yes; then
7772 ac_cv_use_gif='wxUSE_GIF=yes'
7773 else
7774 ac_cv_use_gif='wxUSE_GIF=no'
7775 fi
7776
7777else
7778
7779 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7780 if test "x$LINE" != x ; then
7781 eval "DEFAULT_$LINE"
7782 else
7783 no_cache=1
7784 fi
7785
7786 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7787
7788fi
7789
7790
7791 eval "$ac_cv_use_gif"
7792 if test "$no_cache" != 1; then
7793 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7794 fi
7795
7796 if test "$wxUSE_GIF" = yes; then
7797 echo "$ac_t""yes" 1>&6
7798 else
7799 echo "$ac_t""no" 1>&6
7800 fi
7801
7802
7803 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7804echo "configure:7805: checking for --enable-pcx" >&5
7805 no_cache=0
7806 # Check whether --enable-pcx or --disable-pcx was given.
7807if test "${enable_pcx+set}" = set; then
7808 enableval="$enable_pcx"
7809
7810 if test "$enableval" = yes; then
7811 ac_cv_use_pcx='wxUSE_PCX=yes'
7812 else
7813 ac_cv_use_pcx='wxUSE_PCX=no'
7814 fi
7815
7816else
7817
7818 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7819 if test "x$LINE" != x ; then
7820 eval "DEFAULT_$LINE"
7821 else
7822 no_cache=1
7823 fi
7824
7825 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7826
7827fi
7828
7829
7830 eval "$ac_cv_use_pcx"
7831 if test "$no_cache" != 1; then
7832 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7833 fi
7834
7835 if test "$wxUSE_PCX" = yes; then
7836 echo "$ac_t""yes" 1>&6
7837 else
7838 echo "$ac_t""no" 1>&6
7839 fi
7840
7841
7842 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7843echo "configure:7844: checking for --enable-pnm" >&5
7844 no_cache=0
7845 # Check whether --enable-pnm or --disable-pnm was given.
7846if test "${enable_pnm+set}" = set; then
7847 enableval="$enable_pnm"
7848
7849 if test "$enableval" = yes; then
7850 ac_cv_use_pnm='wxUSE_PNM=yes'
7851 else
7852 ac_cv_use_pnm='wxUSE_PNM=no'
7853 fi
7854
7855else
7856
7857 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7858 if test "x$LINE" != x ; then
7859 eval "DEFAULT_$LINE"
7860 else
7861 no_cache=1
7862 fi
7863
7864 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7865
7866fi
7867
7868
7869 eval "$ac_cv_use_pnm"
7870 if test "$no_cache" != 1; then
7871 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7872 fi
7873
7874 if test "$wxUSE_PNM" = yes; then
7875 echo "$ac_t""yes" 1>&6
7876 else
7877 echo "$ac_t""no" 1>&6
7878 fi
7879
7880
7881 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
7882echo "configure:7883: checking for --enable-xpm" >&5
7883 no_cache=0
7884 # Check whether --enable-xpm or --disable-xpm was given.
7885if test "${enable_xpm+set}" = set; then
7886 enableval="$enable_xpm"
7887
7888 if test "$enableval" = yes; then
7889 ac_cv_use_xpm='wxUSE_XPM=yes'
7890 else
7891 ac_cv_use_xpm='wxUSE_XPM=no'
7892 fi
7893
7894else
7895
7896 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7897 if test "x$LINE" != x ; then
7898 eval "DEFAULT_$LINE"
7899 else
7900 no_cache=1
7901 fi
7902
7903 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7904
7905fi
7906
7907
7908 eval "$ac_cv_use_xpm"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
7911 fi
7912
7913 if test "$wxUSE_XPM" = yes; then
7914 echo "$ac_t""yes" 1>&6
7915 else
7916 echo "$ac_t""no" 1>&6
7917 fi
7918
7919
7920fi
7921
7922
7923 echo "saving argument cache $wx_arg_cache_file"
7924 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
7925
7926
7927
7928echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7929echo "configure:7930: checking for toolkit" >&5
7930
7931if test "$wxUSE_GUI" = "yes"; then
7932
7933 if test "$USE_BEOS" = 1; then
7934 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7935 fi
7936
7937 if test "$TOOLKIT_GIVEN" = 1; then
7938 for toolkit in `echo $ALL_TOOLKITS`; do
7939 var=wxUSE_$toolkit
7940 eval "value=\$${var}"
7941 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
7942 done
7943 else
7944 for toolkit in `echo $ALL_TOOLKITS`; do
7945 if test "$has_toolkit_in_cache" != 1; then
7946 var=DEFAULT_DEFAULT_wxUSE_$toolkit
7947 else
7948 var=DEFAULT_wxUSE_$toolkit
7949 fi
7950 eval "wxUSE_$toolkit=\$${var}"
7951 done
7952 fi
7953
7954 NUM_TOOLKITS=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
7955 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0}`
7956
7957 case "${host}" in
7958 *-pc-os2_emx | *-pc-os2-emx )
7959 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7960 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7961 LEX_STEM="lexyy"
7962 ;;
7963 *)
7964 PATH_IFS=':'
7965 LEX_STEM="lex.yy"
7966 ;;
7967 esac
7968
7969 case "$NUM_TOOLKITS" in
7970 1)
7971 ;;
7972 0)
7973 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7974 ;;
7975 *)
7976 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7977 esac
7978
7979 for toolkit in `echo $ALL_TOOLKITS`; do
7980 var=wxUSE_$toolkit
7981 eval "value=\$${var}"
7982 if test "x$value" != x; then
7983 cache_var=CACHE_$toolkit
7984 eval "cache=\$${cache_var}"
7985 if test "$cache" = 1; then
7986 echo "$var=$value" >> ${wx_arg_cache_file}
7987 fi
7988 if test "$value" = 1; then
7989 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
7990 echo "$ac_t""$toolkit_echo" 1>&6
7991 fi
7992 fi
7993 done
7994else
7995 PATH_IFS=':'
7996 echo "$ac_t""base ($host_alias hosted) only" 1>&6
7997fi
7998
7999
8000cat > confcache <<\EOF
8001# This file is a shell script that caches the results of configure
8002# tests run on this system so they can be shared between configure
8003# scripts and configure runs. It is not useful on other systems.
8004# If it contains results you don't want to keep, you may remove or edit it.
8005#
8006# By default, configure uses ./config.cache as the cache file,
8007# creating it if it does not exist already. You can give configure
8008# the --cache-file=FILE option to use a different cache file; that is
8009# what configure does when it calls configure scripts in
8010# subdirectories, so they share the cache.
8011# Giving --cache-file=/dev/null disables caching, for debugging configure.
8012# config.status only pays attention to the cache file if you give it the
8013# --recheck option to rerun configure.
8014#
8015EOF
8016# The following way of writing the cache mishandles newlines in values,
8017# but we know of no workaround that is simple, portable, and efficient.
8018# So, don't put newlines in cache variables' values.
8019# Ultrix sh set writes to stderr and can't be redirected directly,
8020# and sets the high bit in the cache file unless we assign to the vars.
8021(set) 2>&1 |
8022 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8023 *ac_space=\ *)
8024 # `set' does not quote correctly, so add quotes (double-quote substitution
8025 # turns \\\\ into \\, and sed turns \\ into \).
8026 sed -n \
8027 -e "s/'/'\\\\''/g" \
8028 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8029 ;;
8030 *)
8031 # `set' quotes correctly as required by POSIX, so do not add quotes.
8032 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8033 ;;
8034 esac >> confcache
8035if cmp -s $cache_file confcache; then
8036 :
8037else
8038 if test -w $cache_file; then
8039 echo "updating cache $cache_file"
8040 cat confcache > $cache_file
8041 else
8042 echo "not updating unwritable cache $cache_file"
8043 fi
8044fi
8045rm -f confcache
8046
8047
8048if test "$build" != "$host" ; then
8049 if test "$USE_WIN32" = 1 ; then
8050 CC=$host_alias-gcc
8051 CXX=$host_alias-c++
8052 AR=$host_alias-ar
8053 RANLIB=$host_alias-ranlib
8054 DLLTOOL=$host_alias-dlltool
8055 RESCOMP=$host_alias-windres
8056 LD=$host_alias-ld
8057 NM=$host_alias-nm
8058 STRIP=$host_alias-strip
8059 else
8060 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8061 fi
8062fi
8063
8064# Extract the first word of "gcc", so it can be a program name with args.
8065set dummy gcc; ac_word=$2
8066echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8067echo "configure:8068: checking for $ac_word" >&5
8068if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8069 echo $ac_n "(cached) $ac_c" 1>&6
8070else
8071 if test -n "$CC"; then
8072 ac_cv_prog_CC="$CC" # Let the user override the test.
8073else
8074 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8075 ac_dummy="$PATH"
8076 for ac_dir in $ac_dummy; do
8077 test -z "$ac_dir" && ac_dir=.
8078 if test -f $ac_dir/$ac_word; then
8079 ac_cv_prog_CC="gcc"
8080 break
8081 fi
8082 done
8083 IFS="$ac_save_ifs"
8084fi
8085fi
8086CC="$ac_cv_prog_CC"
8087if test -n "$CC"; then
8088 echo "$ac_t""$CC" 1>&6
8089else
8090 echo "$ac_t""no" 1>&6
8091fi
8092
8093if test -z "$CC"; then
8094 # Extract the first word of "cc", so it can be a program name with args.
8095set dummy cc; ac_word=$2
8096echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8097echo "configure:8098: checking for $ac_word" >&5
8098if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8099 echo $ac_n "(cached) $ac_c" 1>&6
8100else
8101 if test -n "$CC"; then
8102 ac_cv_prog_CC="$CC" # Let the user override the test.
8103else
8104 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8105 ac_prog_rejected=no
8106 ac_dummy="$PATH"
8107 for ac_dir in $ac_dummy; do
8108 test -z "$ac_dir" && ac_dir=.
8109 if test -f $ac_dir/$ac_word; then
8110 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8111 ac_prog_rejected=yes
8112 continue
8113 fi
8114 ac_cv_prog_CC="cc"
8115 break
8116 fi
8117 done
8118 IFS="$ac_save_ifs"
8119if test $ac_prog_rejected = yes; then
8120 # We found a bogon in the path, so make sure we never use it.
8121 set dummy $ac_cv_prog_CC
8122 shift
8123 if test $# -gt 0; then
8124 # We chose a different compiler from the bogus one.
8125 # However, it has the same basename, so the bogon will be chosen
8126 # first if we set CC to just the basename; use the full file name.
8127 shift
8128 set dummy "$ac_dir/$ac_word" "$@"
8129 shift
8130 ac_cv_prog_CC="$@"
8131 fi
8132fi
8133fi
8134fi
8135CC="$ac_cv_prog_CC"
8136if test -n "$CC"; then
8137 echo "$ac_t""$CC" 1>&6
8138else
8139 echo "$ac_t""no" 1>&6
8140fi
8141
8142 if test -z "$CC"; then
8143 case "`uname -s`" in
8144 *win32* | *WIN32*)
8145 # Extract the first word of "cl", so it can be a program name with args.
8146set dummy cl; ac_word=$2
8147echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8148echo "configure:8149: checking for $ac_word" >&5
8149if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8150 echo $ac_n "(cached) $ac_c" 1>&6
8151else
8152 if test -n "$CC"; then
8153 ac_cv_prog_CC="$CC" # Let the user override the test.
8154else
8155 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8156 ac_dummy="$PATH"
8157 for ac_dir in $ac_dummy; do
8158 test -z "$ac_dir" && ac_dir=.
8159 if test -f $ac_dir/$ac_word; then
8160 ac_cv_prog_CC="cl"
8161 break
8162 fi
8163 done
8164 IFS="$ac_save_ifs"
8165fi
8166fi
8167CC="$ac_cv_prog_CC"
8168if test -n "$CC"; then
8169 echo "$ac_t""$CC" 1>&6
8170else
8171 echo "$ac_t""no" 1>&6
8172fi
8173 ;;
8174 esac
8175 fi
8176 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8177fi
8178
8179echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8180echo "configure:8181: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8181
8182ac_ext=c
8183# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8184ac_cpp='$CPP $CPPFLAGS'
8185ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8186ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8187cross_compiling=$ac_cv_prog_cc_cross
8188
8189cat > conftest.$ac_ext << EOF
8190
8191#line 8192 "configure"
8192#include "confdefs.h"
8193
8194main(){return(0);}
8195EOF
8196if { (eval echo configure:8197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8197 ac_cv_prog_cc_works=yes
8198 # If we can't run a trivial program, we are probably using a cross compiler.
8199 if (./conftest; exit) 2>/dev/null; then
8200 ac_cv_prog_cc_cross=no
8201 else
8202 ac_cv_prog_cc_cross=yes
8203 fi
8204else
8205 echo "configure: failed program was:" >&5
8206 cat conftest.$ac_ext >&5
8207 ac_cv_prog_cc_works=no
8208fi
8209rm -fr conftest*
8210ac_ext=c
8211# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8212ac_cpp='$CPP $CPPFLAGS'
8213ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8214ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8215cross_compiling=$ac_cv_prog_cc_cross
8216
8217echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8218if test $ac_cv_prog_cc_works = no; then
8219 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8220fi
8221echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8222echo "configure:8223: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8223echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8224cross_compiling=$ac_cv_prog_cc_cross
8225
8226echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8227echo "configure:8228: checking whether we are using GNU C" >&5
8228if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8229 echo $ac_n "(cached) $ac_c" 1>&6
8230else
8231 cat > conftest.c <<EOF
8232#ifdef __GNUC__
8233 yes;
8234#endif
8235EOF
8236if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:8237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
8237 ac_cv_prog_gcc=yes
8238else
8239 ac_cv_prog_gcc=no
8240fi
8241fi
8242
8243echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8244
8245if test $ac_cv_prog_gcc = yes; then
8246 GCC=yes
8247else
8248 GCC=
8249fi
8250
8251ac_test_CFLAGS="${CFLAGS+set}"
8252ac_save_CFLAGS="$CFLAGS"
8253CFLAGS=
8254echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8255echo "configure:8256: checking whether ${CC-cc} accepts -g" >&5
8256if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8257 echo $ac_n "(cached) $ac_c" 1>&6
8258else
8259 echo 'void f(){}' > conftest.c
8260if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8261 ac_cv_prog_cc_g=yes
8262else
8263 ac_cv_prog_cc_g=no
8264fi
8265rm -f conftest*
8266
8267fi
8268
8269echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8270if test "$ac_test_CFLAGS" = set; then
8271 CFLAGS="$ac_save_CFLAGS"
8272elif test $ac_cv_prog_cc_g = yes; then
8273 if test "$GCC" = yes; then
8274 CFLAGS="-g -O2"
8275 else
8276 CFLAGS="-g"
8277 fi
8278else
8279 if test "$GCC" = yes; then
8280 CFLAGS="-O2"
8281 else
8282 CFLAGS=
8283 fi
8284fi
8285
8286
8287CFLAGS=`echo "$CFLAGS" | sed 's/-g//g'`
8288
8289echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8290echo "configure:8291: checking how to run the C preprocessor" >&5
8291# On Suns, sometimes $CPP names a directory.
8292if test -n "$CPP" && test -d "$CPP"; then
8293 CPP=
8294fi
8295if test -z "$CPP"; then
8296if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8297 echo $ac_n "(cached) $ac_c" 1>&6
8298else
8299 # This must be in double quotes, not single quotes, because CPP may get
8300 # substituted into the Makefile and "${CC-cc}" will confuse make.
8301 CPP="${CC-cc} -E"
8302 # On the NeXT, cc -E runs the code through the compiler's parser,
8303 # not just through cpp.
8304 cat > conftest.$ac_ext <<EOF
8305#line 8306 "configure"
8306#include "confdefs.h"
8307#include <assert.h>
8308Syntax Error
8309EOF
8310ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8311{ (eval echo configure:8312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8312ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8313if test -z "$ac_err"; then
8314 :
8315else
8316 echo "$ac_err" >&5
8317 echo "configure: failed program was:" >&5
8318 cat conftest.$ac_ext >&5
8319 rm -rf conftest*
8320 CPP="${CC-cc} -E -traditional-cpp"
8321 cat > conftest.$ac_ext <<EOF
8322#line 8323 "configure"
8323#include "confdefs.h"
8324#include <assert.h>
8325Syntax Error
8326EOF
8327ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8328{ (eval echo configure:8329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8329ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8330if test -z "$ac_err"; then
8331 :
8332else
8333 echo "$ac_err" >&5
8334 echo "configure: failed program was:" >&5
8335 cat conftest.$ac_ext >&5
8336 rm -rf conftest*
8337 CPP="${CC-cc} -nologo -E"
8338 cat > conftest.$ac_ext <<EOF
8339#line 8340 "configure"
8340#include "confdefs.h"
8341#include <assert.h>
8342Syntax Error
8343EOF
8344ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8345{ (eval echo configure:8346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8346ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8347if test -z "$ac_err"; then
8348 :
8349else
8350 echo "$ac_err" >&5
8351 echo "configure: failed program was:" >&5
8352 cat conftest.$ac_ext >&5
8353 rm -rf conftest*
8354 CPP=/lib/cpp
8355fi
8356rm -f conftest*
8357fi
8358rm -f conftest*
8359fi
8360rm -f conftest*
8361 ac_cv_prog_CPP="$CPP"
8362fi
8363 CPP="$ac_cv_prog_CPP"
8364else
8365 ac_cv_prog_CPP="$CPP"
8366fi
8367echo "$ac_t""$CPP" 1>&6
8368
8369if test $ac_cv_prog_gcc = yes; then
8370 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8371echo "configure:8372: checking whether ${CC-cc} needs -traditional" >&5
8372if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8373 echo $ac_n "(cached) $ac_c" 1>&6
8374else
8375 ac_pattern="Autoconf.*'x'"
8376 cat > conftest.$ac_ext <<EOF
8377#line 8378 "configure"
8378#include "confdefs.h"
8379#include <sgtty.h>
8380Autoconf TIOCGETP
8381EOF
8382if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8383 egrep "$ac_pattern" >/dev/null 2>&1; then
8384 rm -rf conftest*
8385 ac_cv_prog_gcc_traditional=yes
8386else
8387 rm -rf conftest*
8388 ac_cv_prog_gcc_traditional=no
8389fi
8390rm -f conftest*
8391
8392
8393 if test $ac_cv_prog_gcc_traditional = no; then
8394 cat > conftest.$ac_ext <<EOF
8395#line 8396 "configure"
8396#include "confdefs.h"
8397#include <termio.h>
8398Autoconf TCGETA
8399EOF
8400if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8401 egrep "$ac_pattern" >/dev/null 2>&1; then
8402 rm -rf conftest*
8403 ac_cv_prog_gcc_traditional=yes
8404fi
8405rm -f conftest*
8406
8407 fi
8408fi
8409
8410echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8411 if test $ac_cv_prog_gcc_traditional = yes; then
8412 CC="$CC -traditional"
8413 fi
8414fi
8415
8416
8417
8418ac_ext=C
8419# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8420ac_cpp='$CXXCPP $CPPFLAGS'
8421ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8422ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8423cross_compiling=$ac_cv_prog_cxx_cross
8424
8425
8426for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
8427do
8428# Extract the first word of "$ac_prog", so it can be a program name with args.
8429set dummy $ac_prog; ac_word=$2
8430echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8431echo "configure:8432: checking for $ac_word" >&5
8432if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8433 echo $ac_n "(cached) $ac_c" 1>&6
8434else
8435 if test -n "$CXX"; then
8436 ac_cv_prog_CXX="$CXX" # Let the user override the test.
8437else
8438 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8439 ac_dummy="$PATH"
8440 for ac_dir in $ac_dummy; do
8441 test -z "$ac_dir" && ac_dir=.
8442 if test -f $ac_dir/$ac_word; then
8443 ac_cv_prog_CXX="$ac_prog"
8444 break
8445 fi
8446 done
8447 IFS="$ac_save_ifs"
8448fi
8449fi
8450CXX="$ac_cv_prog_CXX"
8451if test -n "$CXX"; then
8452 echo "$ac_t""$CXX" 1>&6
8453else
8454 echo "$ac_t""no" 1>&6
8455fi
8456
8457test -n "$CXX" && break
8458done
8459test -n "$CXX" || CXX="gcc"
8460
8461
8462echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8463echo "configure:8464: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8464
8465ac_ext=C
8466# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8467ac_cpp='$CXXCPP $CPPFLAGS'
8468ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8469ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8470cross_compiling=$ac_cv_prog_cxx_cross
8471
8472cat > conftest.$ac_ext << EOF
8473
8474#line 8475 "configure"
8475#include "confdefs.h"
8476
8477int main(){return(0);}
8478EOF
8479if { (eval echo configure:8480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8480 ac_cv_prog_cxx_works=yes
8481 # If we can't run a trivial program, we are probably using a cross compiler.
8482 if (./conftest; exit) 2>/dev/null; then
8483 ac_cv_prog_cxx_cross=no
8484 else
8485 ac_cv_prog_cxx_cross=yes
8486 fi
8487else
8488 echo "configure: failed program was:" >&5
8489 cat conftest.$ac_ext >&5
8490 ac_cv_prog_cxx_works=no
8491fi
8492rm -fr conftest*
8493ac_ext=C
8494# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8495ac_cpp='$CXXCPP $CPPFLAGS'
8496ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8497ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8498cross_compiling=$ac_cv_prog_cxx_cross
8499
8500echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8501if test $ac_cv_prog_cxx_works = no; then
8502 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8503fi
8504echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8505echo "configure:8506: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8506echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8507cross_compiling=$ac_cv_prog_cxx_cross
8508
8509echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8510echo "configure:8511: checking whether we are using GNU C++" >&5
8511if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8512 echo $ac_n "(cached) $ac_c" 1>&6
8513else
8514 cat > conftest.C <<EOF
8515#ifdef __GNUC__
8516 yes;
8517#endif
8518EOF
8519if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:8520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
8520 ac_cv_prog_gxx=yes
8521else
8522 ac_cv_prog_gxx=no
8523fi
8524fi
8525
8526echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8527
8528if test $ac_cv_prog_gxx = yes; then
8529 GXX=yes
8530else
8531 GXX=
8532fi
8533
8534ac_test_CXXFLAGS="${CXXFLAGS+set}"
8535ac_save_CXXFLAGS="$CXXFLAGS"
8536CXXFLAGS=
8537echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8538echo "configure:8539: checking whether ${CXX-g++} accepts -g" >&5
8539if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8540 echo $ac_n "(cached) $ac_c" 1>&6
8541else
8542 echo 'void f(){}' > conftest.cc
8543if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8544 ac_cv_prog_cxx_g=yes
8545else
8546 ac_cv_prog_cxx_g=no
8547fi
8548rm -f conftest*
8549
8550fi
8551
8552echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8553if test "$ac_test_CXXFLAGS" = set; then
8554 CXXFLAGS="$ac_save_CXXFLAGS"
8555elif test $ac_cv_prog_cxx_g = yes; then
8556 if test "$GXX" = yes; then
8557 CXXFLAGS="-g -O2"
8558 else
8559 CXXFLAGS="-g"
8560 fi
8561else
8562 if test "$GXX" = yes; then
8563 CXXFLAGS="-O2"
8564 else
8565 CXXFLAGS=
8566 fi
8567fi
8568
8569
8570CXXFLAGS=`echo "$CXXFLAGS" | sed 's/-g//g'`
8571
8572ac_ext=c
8573# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8574ac_cpp='$CPP $CPPFLAGS'
8575ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8576ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8577cross_compiling=$ac_cv_prog_cc_cross
8578
8579
8580# Extract the first word of "ranlib", so it can be a program name with args.
8581set dummy ranlib; ac_word=$2
8582echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8583echo "configure:8584: checking for $ac_word" >&5
8584if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8585 echo $ac_n "(cached) $ac_c" 1>&6
8586else
8587 if test -n "$RANLIB"; then
8588 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8589else
8590 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8591 ac_dummy="$PATH"
8592 for ac_dir in $ac_dummy; do
8593 test -z "$ac_dir" && ac_dir=.
8594 if test -f $ac_dir/$ac_word; then
8595 ac_cv_prog_RANLIB="ranlib"
8596 break
8597 fi
8598 done
8599 IFS="$ac_save_ifs"
8600 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
8601fi
8602fi
8603RANLIB="$ac_cv_prog_RANLIB"
8604if test -n "$RANLIB"; then
8605 echo "$ac_t""$RANLIB" 1>&6
8606else
8607 echo "$ac_t""no" 1>&6
8608fi
8609
8610
8611# Extract the first word of "ar", so it can be a program name with args.
8612set dummy ar; ac_word=$2
8613echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8614echo "configure:8615: checking for $ac_word" >&5
8615if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8616 echo $ac_n "(cached) $ac_c" 1>&6
8617else
8618 if test -n "$AR"; then
8619 ac_cv_prog_AR="$AR" # Let the user override the test.
8620else
8621 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8622 ac_dummy="$PATH"
8623 for ac_dir in $ac_dummy; do
8624 test -z "$ac_dir" && ac_dir=.
8625 if test -f $ac_dir/$ac_word; then
8626 ac_cv_prog_AR="ar"
8627 break
8628 fi
8629 done
8630 IFS="$ac_save_ifs"
8631 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
8632fi
8633fi
8634AR="$ac_cv_prog_AR"
8635if test -n "$AR"; then
8636 echo "$ac_t""$AR" 1>&6
8637else
8638 echo "$ac_t""no" 1>&6
8639fi
8640
8641
8642# Find a good install program. We prefer a C program (faster),
8643# so one script is as good as another. But avoid the broken or
8644# incompatible versions:
8645# SysV /etc/install, /usr/sbin/install
8646# SunOS /usr/etc/install
8647# IRIX /sbin/install
8648# AIX /bin/install
8649# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8650# AFS /usr/afsws/bin/install, which mishandles nonexistent args
8651# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8652# ./install, which can be erroneously created by make from ./install.sh.
8653echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8654echo "configure:8655: checking for a BSD compatible install" >&5
8655if test -z "$INSTALL"; then
8656if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8657 echo $ac_n "(cached) $ac_c" 1>&6
8658else
8659 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
8660 for ac_dir in $PATH; do
8661 # Account for people who put trailing slashes in PATH elements.
8662 case "$ac_dir/" in
8663 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
8664 *)
8665 # OSF1 and SCO ODT 3.0 have their own names for install.
8666 # Don't use installbsd from OSF since it installs stuff as root
8667 # by default.
8668 for ac_prog in ginstall scoinst install; do
8669 if test -f $ac_dir/$ac_prog; then
8670 if test $ac_prog = install &&
8671 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
8672 # AIX install. It has an incompatible calling convention.
8673 :
8674 else
8675 ac_cv_path_install="$ac_dir/$ac_prog -c"
8676 break 2
8677 fi
8678 fi
8679 done
8680 ;;
8681 esac
8682 done
8683 IFS="$ac_save_IFS"
8684
8685fi
8686 if test "${ac_cv_path_install+set}" = set; then
8687 INSTALL="$ac_cv_path_install"
8688 else
8689 # As a last resort, use the slow shell script. We don't cache a
8690 # path for INSTALL within a source directory, because that will
8691 # break other packages using the cache if that directory is
8692 # removed, or if the path is relative.
8693 INSTALL="$ac_install_sh"
8694 fi
8695fi
8696echo "$ac_t""$INSTALL" 1>&6
8697
8698# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8699# It thinks the first close brace ends the variable substitution.
8700test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
8701
8702test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
8703
8704test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8705
8706case "${host}" in
8707
8708 powerpc-*-darwin* )
8709 INSTALL_PROGRAM="cp -fp"
8710 INSTALL_DATA="cp -fp"
8711 ;;
8712 *)
8713 ;;
8714esac
8715
8716# Extract the first word of "strip", so it can be a program name with args.
8717set dummy strip; ac_word=$2
8718echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8719echo "configure:8720: checking for $ac_word" >&5
8720if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8721 echo $ac_n "(cached) $ac_c" 1>&6
8722else
8723 if test -n "$STRIP"; then
8724 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8725else
8726 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8727 ac_dummy="$PATH"
8728 for ac_dir in $ac_dummy; do
8729 test -z "$ac_dir" && ac_dir=.
8730 if test -f $ac_dir/$ac_word; then
8731 ac_cv_prog_STRIP="strip"
8732 break
8733 fi
8734 done
8735 IFS="$ac_save_ifs"
8736 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
8737fi
8738fi
8739STRIP="$ac_cv_prog_STRIP"
8740if test -n "$STRIP"; then
8741 echo "$ac_t""$STRIP" 1>&6
8742else
8743 echo "$ac_t""no" 1>&6
8744fi
8745
8746
8747echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8748echo "configure:8749: checking make for VPATH support" >&5
8749cat - << EOF > confMake
8750check : file
8751 cp \$? \$@
8752 cp \$? final_file
8753EOF
8754
8755if test ! -d sub ; then
8756 mkdir sub
8757fi
8758echo dummy > sub/file
8759${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
8760RESULT=$?
8761rm -f sub/file check final_file confMake
8762rmdir sub
8763if test "$RESULT" = 0; then
8764 echo "$ac_t""yes" 1>&6
8765else
8766 echo "$ac_t""no" 1>&6
8767 { echo "configure: error:
8768You need a make-utility that is able to use the variable
8769VPATH correctly.
8770If your version of make does not support VPATH correctly,
8771please install GNU-make (possibly as gmake), and start
8772configure with the following command:
8773export MAKE=gmake; ./configure for sh-type shells
8774setenv MAKE gmake; ./configure for csh-type shells
8775Also please do remember to use gmake in this case every time
8776you are trying to compile.
8777" 1>&2; exit 1; }
8778fi
8779
8780for ac_prog in 'bison -y' byacc
8781do
8782# Extract the first word of "$ac_prog", so it can be a program name with args.
8783set dummy $ac_prog; ac_word=$2
8784echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8785echo "configure:8786: checking for $ac_word" >&5
8786if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8787 echo $ac_n "(cached) $ac_c" 1>&6
8788else
8789 if test -n "$YACC"; then
8790 ac_cv_prog_YACC="$YACC" # Let the user override the test.
8791else
8792 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8793 ac_dummy="$PATH"
8794 for ac_dir in $ac_dummy; do
8795 test -z "$ac_dir" && ac_dir=.
8796 if test -f $ac_dir/$ac_word; then
8797 ac_cv_prog_YACC="$ac_prog"
8798 break
8799 fi
8800 done
8801 IFS="$ac_save_ifs"
8802fi
8803fi
8804YACC="$ac_cv_prog_YACC"
8805if test -n "$YACC"; then
8806 echo "$ac_t""$YACC" 1>&6
8807else
8808 echo "$ac_t""no" 1>&6
8809fi
8810
8811test -n "$YACC" && break
8812done
8813test -n "$YACC" || YACC="yacc"
8814
8815
8816# Extract the first word of "flex", so it can be a program name with args.
8817set dummy flex; ac_word=$2
8818echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8819echo "configure:8820: checking for $ac_word" >&5
8820if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8821 echo $ac_n "(cached) $ac_c" 1>&6
8822else
8823 if test -n "$LEX"; then
8824 ac_cv_prog_LEX="$LEX" # Let the user override the test.
8825else
8826 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
8827 ac_dummy="$PATH"
8828 for ac_dir in $ac_dummy; do
8829 test -z "$ac_dir" && ac_dir=.
8830 if test -f $ac_dir/$ac_word; then
8831 ac_cv_prog_LEX="flex"
8832 break
8833 fi
8834 done
8835 IFS="$ac_save_ifs"
8836 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
8837fi
8838fi
8839LEX="$ac_cv_prog_LEX"
8840if test -n "$LEX"; then
8841 echo "$ac_t""$LEX" 1>&6
8842else
8843 echo "$ac_t""no" 1>&6
8844fi
8845
8846if test -z "$LEXLIB"
8847then
8848 case "$LEX" in
8849 flex*) ac_lib=fl ;;
8850 *) ac_lib=l ;;
8851 esac
8852 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8853echo "configure:8854: checking for yywrap in -l$ac_lib" >&5
8854ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8855if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8856 echo $ac_n "(cached) $ac_c" 1>&6
8857else
8858 ac_save_LIBS="$LIBS"
8859LIBS="-l$ac_lib $LIBS"
8860cat > conftest.$ac_ext <<EOF
8861#line 8862 "configure"
8862#include "confdefs.h"
8863/* Override any gcc2 internal prototype to avoid an error. */
8864/* We use char because int might match the return type of a gcc2
8865 builtin and then its argument prototype would still apply. */
8866char yywrap();
8867
8868int main() {
8869yywrap()
8870; return 0; }
8871EOF
8872if { (eval echo configure:8873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8873 rm -rf conftest*
8874 eval "ac_cv_lib_$ac_lib_var=yes"
8875else
8876 echo "configure: failed program was:" >&5
8877 cat conftest.$ac_ext >&5
8878 rm -rf conftest*
8879 eval "ac_cv_lib_$ac_lib_var=no"
8880fi
8881rm -f conftest*
8882LIBS="$ac_save_LIBS"
8883
8884fi
8885if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8886 echo "$ac_t""yes" 1>&6
8887 LEXLIB="-l$ac_lib"
8888else
8889 echo "$ac_t""no" 1>&6
8890fi
8891
8892fi
8893
8894
8895echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8896echo "configure:8897: checking whether ln -s works" >&5
8897if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8898 echo $ac_n "(cached) $ac_c" 1>&6
8899else
8900 rm -f conftestdata
8901if ln -s X conftestdata 2>/dev/null
8902then
8903 rm -f conftestdata
8904 ac_cv_prog_LN_S="ln -s"
8905else
8906 ac_cv_prog_LN_S=ln
8907fi
8908fi
8909LN_S="$ac_cv_prog_LN_S"
8910if test "$ac_cv_prog_LN_S" = "ln -s"; then
8911 echo "$ac_t""yes" 1>&6
8912else
8913 echo "$ac_t""no" 1>&6
8914fi
8915
8916
8917
8918SEARCH_INCLUDE="\
8919 /usr/local/include \
8920 \
8921 /usr/Motif-1.2/include \
8922 /usr/Motif-2.1/include \
8923 \
8924 /usr/include/Motif1.2 \
8925 /opt/xpm/include/X11 \
8926 /opt/GBxpm/include/ \
8927 /opt/GBxpm/X11/include/ \
8928 \
8929 /usr/Motif1.2/include \
8930 /usr/dt/include \
8931 /usr/openwin/include \
8932 \
8933 /usr/include/Xm \
8934 \
8935 /usr/X11R6/include \
8936 /usr/X11R6.4/include \
8937 /usr/X11R5/include \
8938 /usr/X11R4/include \
8939 \
8940 /usr/include/X11R6 \
8941 /usr/include/X11R5 \
8942 /usr/include/X11R4 \
8943 \
8944 /usr/local/X11R6/include \
8945 /usr/local/X11R5/include \
8946 /usr/local/X11R4/include \
8947 \
8948 /usr/local/include/X11R6 \
8949 /usr/local/include/X11R5 \
8950 /usr/local/include/X11R4 \
8951 \
8952 /usr/X11/include \
8953 /usr/include/X11 \
8954 /usr/local/X11/include \
8955 /usr/local/include/X11 \
8956 \
8957 /usr/X386/include \
8958 /usr/x386/include \
8959 /usr/XFree86/include/X11 \
8960 \
8961 X:/XFree86/include \
8962 X:/XFree86/include/X11 \
8963 \
8964 /usr/include/gtk \
8965 /usr/local/include/gtk \
8966 /usr/include/glib \
8967 /usr/local/include/glib \
8968 \
8969 /usr/include/qt \
8970 /usr/local/include/qt \
8971 \
8972 /usr/include/windows \
8973 /usr/include/wine \
8974 /usr/local/include/wine \
8975 \
8976 /usr/unsupported/include \
8977 /usr/athena/include \
8978 /usr/local/x11r5/include \
8979 /usr/lpp/Xamples/include \
8980 \
8981 /usr/openwin/share/include \
8982 \
8983 /usr/include"
8984
8985SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8986
8987
8988cat > confcache <<\EOF
8989# This file is a shell script that caches the results of configure
8990# tests run on this system so they can be shared between configure
8991# scripts and configure runs. It is not useful on other systems.
8992# If it contains results you don't want to keep, you may remove or edit it.
8993#
8994# By default, configure uses ./config.cache as the cache file,
8995# creating it if it does not exist already. You can give configure
8996# the --cache-file=FILE option to use a different cache file; that is
8997# what configure does when it calls configure scripts in
8998# subdirectories, so they share the cache.
8999# Giving --cache-file=/dev/null disables caching, for debugging configure.
9000# config.status only pays attention to the cache file if you give it the
9001# --recheck option to rerun configure.
9002#
9003EOF
9004# The following way of writing the cache mishandles newlines in values,
9005# but we know of no workaround that is simple, portable, and efficient.
9006# So, don't put newlines in cache variables' values.
9007# Ultrix sh set writes to stderr and can't be redirected directly,
9008# and sets the high bit in the cache file unless we assign to the vars.
9009(set) 2>&1 |
9010 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9011 *ac_space=\ *)
9012 # `set' does not quote correctly, so add quotes (double-quote substitution
9013 # turns \\\\ into \\, and sed turns \\ into \).
9014 sed -n \
9015 -e "s/'/'\\\\''/g" \
9016 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9017 ;;
9018 *)
9019 # `set' quotes correctly as required by POSIX, so do not add quotes.
9020 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9021 ;;
9022 esac >> confcache
9023if cmp -s $cache_file confcache; then
9024 :
9025else
9026 if test -w $cache_file; then
9027 echo "updating cache $cache_file"
9028 cat confcache > $cache_file
9029 else
9030 echo "not updating unwritable cache $cache_file"
9031 fi
9032fi
9033rm -f confcache
9034
9035
9036
9037
9038REGEX_INCLUDE=
9039if test "$wxUSE_REGEX" != "no"; then
9040 cat >> confdefs.h <<\EOF
9041#define wxUSE_REGEX 1
9042EOF
9043
9044
9045 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9046 ac_safe=`echo "regex.h" | sed 'y%./+-%__p_%'`
9047echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9048echo "configure:9049: checking for regex.h" >&5
9049if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9050 echo $ac_n "(cached) $ac_c" 1>&6
9051else
9052 cat > conftest.$ac_ext <<EOF
9053#line 9054 "configure"
9054#include "confdefs.h"
9055#include <regex.h>
9056EOF
9057ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9058{ (eval echo configure:9059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9059ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9060if test -z "$ac_err"; then
9061 rm -rf conftest*
9062 eval "ac_cv_header_$ac_safe=yes"
9063else
9064 echo "$ac_err" >&5
9065 echo "configure: failed program was:" >&5
9066 cat conftest.$ac_ext >&5
9067 rm -rf conftest*
9068 eval "ac_cv_header_$ac_safe=no"
9069fi
9070rm -f conftest*
9071fi
9072if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9073 echo "$ac_t""yes" 1>&6
9074 for ac_func in regcomp
9075do
9076echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9077echo "configure:9078: checking for $ac_func" >&5
9078if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9079 echo $ac_n "(cached) $ac_c" 1>&6
9080else
9081 cat > conftest.$ac_ext <<EOF
9082#line 9083 "configure"
9083#include "confdefs.h"
9084/* System header to define __stub macros and hopefully few prototypes,
9085 which can conflict with char $ac_func(); below. */
9086#include <assert.h>
9087/* Override any gcc2 internal prototype to avoid an error. */
9088/* We use char because int might match the return type of a gcc2
9089 builtin and then its argument prototype would still apply. */
9090char $ac_func();
9091
9092int main() {
9093
9094/* The GNU C library defines this for functions which it implements
9095 to always fail with ENOSYS. Some functions are actually named
9096 something starting with __ and the normal name is an alias. */
9097#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9098choke me
9099#else
9100$ac_func();
9101#endif
9102
9103; return 0; }
9104EOF
9105if { (eval echo configure:9106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9106 rm -rf conftest*
9107 eval "ac_cv_func_$ac_func=yes"
9108else
9109 echo "configure: failed program was:" >&5
9110 cat conftest.$ac_ext >&5
9111 rm -rf conftest*
9112 eval "ac_cv_func_$ac_func=no"
9113fi
9114rm -f conftest*
9115fi
9116
9117if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9118 echo "$ac_t""yes" 1>&6
9119 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9120 cat >> confdefs.h <<EOF
9121#define $ac_tr_func 1
9122EOF
9123
9124else
9125 echo "$ac_t""no" 1>&6
9126fi
9127done
9128
9129else
9130 echo "$ac_t""no" 1>&6
9131fi
9132
9133
9134 if test "x$ac_cv_func_regcomp" != "xyes"; then
9135 if test "$wxUSE_REGEX" = "sys" ; then
9136 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9137 else
9138 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9139 wxUSE_REGEX=builtin
9140 fi
9141 else
9142 wxUSE_REGEX=sys
9143 fi
9144 fi
9145
9146 if test "$wxUSE_REGEX" = "builtin" ; then
9147 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
9148 fi
9149fi
9150
9151
9152ZLIB_INCLUDE=
9153ZLIB_LINK=
9154if test "$wxUSE_ZLIB" != "no" ; then
9155 cat >> confdefs.h <<\EOF
9156#define wxUSE_ZLIB 1
9157EOF
9158
9159
9160 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9161 ac_safe=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9162echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9163echo "configure:9164: checking for zlib.h" >&5
9164if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9165 echo $ac_n "(cached) $ac_c" 1>&6
9166else
9167 cat > conftest.$ac_ext <<EOF
9168#line 9169 "configure"
9169#include "confdefs.h"
9170#include <zlib.h>
9171EOF
9172ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9173{ (eval echo configure:9174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9174ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9175if test -z "$ac_err"; then
9176 rm -rf conftest*
9177 eval "ac_cv_header_$ac_safe=yes"
9178else
9179 echo "$ac_err" >&5
9180 echo "configure: failed program was:" >&5
9181 cat conftest.$ac_ext >&5
9182 rm -rf conftest*
9183 eval "ac_cv_header_$ac_safe=no"
9184fi
9185rm -f conftest*
9186fi
9187if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9188 echo "$ac_t""yes" 1>&6
9189 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9190echo "configure:9191: checking for deflate in -lz" >&5
9191ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9192if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9193 echo $ac_n "(cached) $ac_c" 1>&6
9194else
9195 ac_save_LIBS="$LIBS"
9196LIBS="-lz $LIBS"
9197cat > conftest.$ac_ext <<EOF
9198#line 9199 "configure"
9199#include "confdefs.h"
9200/* Override any gcc2 internal prototype to avoid an error. */
9201/* We use char because int might match the return type of a gcc2
9202 builtin and then its argument prototype would still apply. */
9203char deflate();
9204
9205int main() {
9206deflate()
9207; return 0; }
9208EOF
9209if { (eval echo configure:9210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9210 rm -rf conftest*
9211 eval "ac_cv_lib_$ac_lib_var=yes"
9212else
9213 echo "configure: failed program was:" >&5
9214 cat conftest.$ac_ext >&5
9215 rm -rf conftest*
9216 eval "ac_cv_lib_$ac_lib_var=no"
9217fi
9218rm -f conftest*
9219LIBS="$ac_save_LIBS"
9220
9221fi
9222if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9223 echo "$ac_t""yes" 1>&6
9224 ZLIB_LINK=" -lz"
9225else
9226 echo "$ac_t""no" 1>&6
9227fi
9228
9229else
9230 echo "$ac_t""no" 1>&6
9231fi
9232
9233
9234 if test "x$ZLIB_LINK" = "x" ; then
9235 if test "$wxUSE_ZLIB" = "sys" ; then
9236 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9237 else
9238 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9239 wxUSE_ZLIB=builtin
9240 fi
9241 else
9242 wxUSE_ZLIB=sys
9243 fi
9244 fi
9245
9246 if test "$wxUSE_ZLIB" = "builtin" ; then
9247 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
9248 fi
9249fi
9250
9251
9252PNG_INCLUDE=
9253PNG_LINK=
9254if test "$wxUSE_LIBPNG" != "no" ; then
9255 cat >> confdefs.h <<\EOF
9256#define wxUSE_LIBPNG 1
9257EOF
9258
9259
9260 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9261 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9262 wxUSE_LIBPNG=builtin
9263 fi
9264
9265 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9266 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
9267echo $ac_n "checking for png.h""... $ac_c" 1>&6
9268echo "configure:9269: checking for png.h" >&5
9269if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9270 echo $ac_n "(cached) $ac_c" 1>&6
9271else
9272 cat > conftest.$ac_ext <<EOF
9273#line 9274 "configure"
9274#include "confdefs.h"
9275#include <png.h>
9276EOF
9277ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9278{ (eval echo configure:9279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9279ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9280if test -z "$ac_err"; then
9281 rm -rf conftest*
9282 eval "ac_cv_header_$ac_safe=yes"
9283else
9284 echo "$ac_err" >&5
9285 echo "configure: failed program was:" >&5
9286 cat conftest.$ac_ext >&5
9287 rm -rf conftest*
9288 eval "ac_cv_header_$ac_safe=no"
9289fi
9290rm -f conftest*
9291fi
9292if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9293 echo "$ac_t""yes" 1>&6
9294 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9295echo "configure:9296: checking for png_check_sig in -lpng" >&5
9296ac_lib_var=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9297if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9298 echo $ac_n "(cached) $ac_c" 1>&6
9299else
9300 ac_save_LIBS="$LIBS"
9301LIBS="-lpng -lz -lm $LIBS"
9302cat > conftest.$ac_ext <<EOF
9303#line 9304 "configure"
9304#include "confdefs.h"
9305/* Override any gcc2 internal prototype to avoid an error. */
9306/* We use char because int might match the return type of a gcc2
9307 builtin and then its argument prototype would still apply. */
9308char png_check_sig();
9309
9310int main() {
9311png_check_sig()
9312; return 0; }
9313EOF
9314if { (eval echo configure:9315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9315 rm -rf conftest*
9316 eval "ac_cv_lib_$ac_lib_var=yes"
9317else
9318 echo "configure: failed program was:" >&5
9319 cat conftest.$ac_ext >&5
9320 rm -rf conftest*
9321 eval "ac_cv_lib_$ac_lib_var=no"
9322fi
9323rm -f conftest*
9324LIBS="$ac_save_LIBS"
9325
9326fi
9327if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9328 echo "$ac_t""yes" 1>&6
9329 PNG_LINK=" -lpng"
9330else
9331 echo "$ac_t""no" 1>&6
9332fi
9333
9334
9335else
9336 echo "$ac_t""no" 1>&6
9337fi
9338
9339
9340 if test "x$PNG_LINK" = "x" ; then
9341 if test "$wxUSE_LIBPNG" = "sys" ; then
9342 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9343 else
9344 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9345 wxUSE_LIBPNG=builtin
9346 fi
9347 else
9348 wxUSE_LIBPNG=yes
9349 fi
9350 fi
9351
9352 if test "$wxUSE_LIBPNG" = "builtin" ; then
9353 PNG_INCLUDE="-I\${top_srcdir}/src/png"
9354 fi
9355
9356 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
9357fi
9358
9359
9360JPEG_INCLUDE=
9361JPEG_LINK=
9362if test "$wxUSE_LIBJPEG" != "no" ; then
9363 cat >> confdefs.h <<\EOF
9364#define wxUSE_LIBJPEG 1
9365EOF
9366
9367
9368 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9369 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9370echo "configure:9371: checking for jpeglib.h" >&5
9371 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9372 echo $ac_n "(cached) $ac_c" 1>&6
9373else
9374 cat > conftest.$ac_ext <<EOF
9375#line 9376 "configure"
9376#include "confdefs.h"
9377
9378 #undef HAVE_STDLIB_H
9379 #include <stdio.h>
9380 #include <jpeglib.h>
9381
9382int main() {
9383
9384
9385; return 0; }
9386EOF
9387if { (eval echo configure:9388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9388 rm -rf conftest*
9389 ac_cv_header_jpeglib_h=yes
9390else
9391 echo "configure: failed program was:" >&5
9392 cat conftest.$ac_ext >&5
9393 rm -rf conftest*
9394 ac_cv_header_jpeglib_h=no
9395
9396fi
9397rm -f conftest*
9398
9399fi
9400
9401 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
9402
9403 if test "$ac_cv_header_jpeglib_h" = "yes"; then
9404 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
9405echo "configure:9406: checking for jpeg_read_header in -ljpeg" >&5
9406ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
9407if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9408 echo $ac_n "(cached) $ac_c" 1>&6
9409else
9410 ac_save_LIBS="$LIBS"
9411LIBS="-ljpeg $LIBS"
9412cat > conftest.$ac_ext <<EOF
9413#line 9414 "configure"
9414#include "confdefs.h"
9415/* Override any gcc2 internal prototype to avoid an error. */
9416/* We use char because int might match the return type of a gcc2
9417 builtin and then its argument prototype would still apply. */
9418char jpeg_read_header();
9419
9420int main() {
9421jpeg_read_header()
9422; return 0; }
9423EOF
9424if { (eval echo configure:9425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9425 rm -rf conftest*
9426 eval "ac_cv_lib_$ac_lib_var=yes"
9427else
9428 echo "configure: failed program was:" >&5
9429 cat conftest.$ac_ext >&5
9430 rm -rf conftest*
9431 eval "ac_cv_lib_$ac_lib_var=no"
9432fi
9433rm -f conftest*
9434LIBS="$ac_save_LIBS"
9435
9436fi
9437if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9438 echo "$ac_t""yes" 1>&6
9439 JPEG_LINK=" -ljpeg"
9440else
9441 echo "$ac_t""no" 1>&6
9442fi
9443
9444 fi
9445
9446 if test "x$JPEG_LINK" = "x" ; then
9447 if test "$wxUSE_LIBJPEG" = "sys" ; then
9448 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
9449 else
9450 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
9451 wxUSE_LIBJPEG=builtin
9452 fi
9453 else
9454 wxUSE_LIBJPEG=sys
9455 fi
9456 fi
9457
9458 if test "$wxUSE_LIBJPEG" = "builtin" ; then
9459 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
9460 fi
9461fi
9462
9463
9464TIFF_INCLUDE=
9465TIFF_LINK=
9466if test "$wxUSE_LIBTIFF" != "no" ; then
9467 cat >> confdefs.h <<\EOF
9468#define wxUSE_LIBTIFF 1
9469EOF
9470
9471
9472 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
9473 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
9474echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
9475echo "configure:9476: checking for tiffio.h" >&5
9476if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9477 echo $ac_n "(cached) $ac_c" 1>&6
9478else
9479 cat > conftest.$ac_ext <<EOF
9480#line 9481 "configure"
9481#include "confdefs.h"
9482#include <tiffio.h>
9483EOF
9484ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9485{ (eval echo configure:9486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9486ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9487if test -z "$ac_err"; then
9488 rm -rf conftest*
9489 eval "ac_cv_header_$ac_safe=yes"
9490else
9491 echo "$ac_err" >&5
9492 echo "configure: failed program was:" >&5
9493 cat conftest.$ac_ext >&5
9494 rm -rf conftest*
9495 eval "ac_cv_header_$ac_safe=no"
9496fi
9497rm -f conftest*
9498fi
9499if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9500 echo "$ac_t""yes" 1>&6
9501 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
9502echo "configure:9503: checking for TIFFError in -ltiff" >&5
9503ac_lib_var=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
9504if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9505 echo $ac_n "(cached) $ac_c" 1>&6
9506else
9507 ac_save_LIBS="$LIBS"
9508LIBS="-ltiff -lm $LIBS"
9509cat > conftest.$ac_ext <<EOF
9510#line 9511 "configure"
9511#include "confdefs.h"
9512/* Override any gcc2 internal prototype to avoid an error. */
9513/* We use char because int might match the return type of a gcc2
9514 builtin and then its argument prototype would still apply. */
9515char TIFFError();
9516
9517int main() {
9518TIFFError()
9519; return 0; }
9520EOF
9521if { (eval echo configure:9522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9522 rm -rf conftest*
9523 eval "ac_cv_lib_$ac_lib_var=yes"
9524else
9525 echo "configure: failed program was:" >&5
9526 cat conftest.$ac_ext >&5
9527 rm -rf conftest*
9528 eval "ac_cv_lib_$ac_lib_var=no"
9529fi
9530rm -f conftest*
9531LIBS="$ac_save_LIBS"
9532
9533fi
9534if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9535 echo "$ac_t""yes" 1>&6
9536 TIFF_LINK=" -ltiff"
9537else
9538 echo "$ac_t""no" 1>&6
9539fi
9540
9541
9542else
9543 echo "$ac_t""no" 1>&6
9544fi
9545
9546
9547 if test "x$TIFF_LINK" = "x" ; then
9548 if test "$wxUSE_LIBTIFF" = "sys" ; then
9549 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
9550 else
9551 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
9552 wxUSE_LIBTIFF=builtin
9553 fi
9554 else
9555 wxUSE_LIBTIFF=sys
9556 fi
9557 fi
9558
9559 if test "$wxUSE_LIBTIFF" = "builtin" ; then
9560 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
9561 fi
9562fi
9563
9564
9565FREETYPE_INCLUDE=
9566FREETYPE_LINK=
9567if test "$wxUSE_FREETYPE" != "no" ; then
9568 cat >> confdefs.h <<\EOF
9569#define wxUSE_FREETYPE 1
9570EOF
9571
9572
9573 if test "$wxUSE_FREETYPE" = "sys" -o "$wxUSE_FREETYPE" = "yes" ; then
9574 ac_safe=`echo "freetype.h" | sed 'y%./+-%__p_%'`
9575echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
9576echo "configure:9577: checking for freetype.h" >&5
9577if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9578 echo $ac_n "(cached) $ac_c" 1>&6
9579else
9580 cat > conftest.$ac_ext <<EOF
9581#line 9582 "configure"
9582#include "confdefs.h"
9583#include <freetype.h>
9584EOF
9585ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9586{ (eval echo configure:9587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9587ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9588if test -z "$ac_err"; then
9589 rm -rf conftest*
9590 eval "ac_cv_header_$ac_safe=yes"
9591else
9592 echo "$ac_err" >&5
9593 echo "configure: failed program was:" >&5
9594 cat conftest.$ac_ext >&5
9595 rm -rf conftest*
9596 eval "ac_cv_header_$ac_safe=no"
9597fi
9598rm -f conftest*
9599fi
9600if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9601 echo "$ac_t""yes" 1>&6
9602 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
9603echo "configure:9604: checking for FT_Render_Glyph in -lfreetype" >&5
9604ac_lib_var=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
9605if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9606 echo $ac_n "(cached) $ac_c" 1>&6
9607else
9608 ac_save_LIBS="$LIBS"
9609LIBS="-lfreetype -lm $LIBS"
9610cat > conftest.$ac_ext <<EOF
9611#line 9612 "configure"
9612#include "confdefs.h"
9613/* Override any gcc2 internal prototype to avoid an error. */
9614/* We use char because int might match the return type of a gcc2
9615 builtin and then its argument prototype would still apply. */
9616char FT_Render_Glyph();
9617
9618int main() {
9619FT_Render_Glyph()
9620; return 0; }
9621EOF
9622if { (eval echo configure:9623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9623 rm -rf conftest*
9624 eval "ac_cv_lib_$ac_lib_var=yes"
9625else
9626 echo "configure: failed program was:" >&5
9627 cat conftest.$ac_ext >&5
9628 rm -rf conftest*
9629 eval "ac_cv_lib_$ac_lib_var=no"
9630fi
9631rm -f conftest*
9632LIBS="$ac_save_LIBS"
9633
9634fi
9635if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9636 echo "$ac_t""yes" 1>&6
9637 FREETYPE_LINK=" -lfreetype"
9638else
9639 echo "$ac_t""no" 1>&6
9640fi
9641
9642
9643else
9644 echo "$ac_t""no" 1>&6
9645fi
9646
9647
9648 if test "x$FREETYPE_LINK" = "x" ; then
9649 if test "$wxUSE_FREETYPE" = "sys" ; then
9650 { echo "configure: error: system freetype library not found! Use --with-freetype=builtin to use built-in version" 1>&2; exit 1; }
9651 else
9652 echo "configure: warning: system freetype library not found, will use built-in instead" 1>&2
9653 wxUSE_FREETYPE=builtin
9654 fi
9655 else
9656 wxUSE_FREETYPE=sys
9657 fi
9658 fi
9659
9660 if test "$wxUSE_FREETYPE" = "builtin" ; then
9661 FREETYPE_INCLUDE="-I\${top_srcdir}/src/freetype"
9662 fi
9663fi
9664
9665
9666AFMINSTALL=
9667
9668TOOLKIT=
9669TOOLKIT_INCLUDE=
9670WIDGET_SET=
9671
9672if test "$USE_WIN32" = 1 ; then
9673 for ac_hdr in w32api.h
9674do
9675ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9676echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9677echo "configure:9678: checking for $ac_hdr" >&5
9678if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9679 echo $ac_n "(cached) $ac_c" 1>&6
9680else
9681 cat > conftest.$ac_ext <<EOF
9682#line 9683 "configure"
9683#include "confdefs.h"
9684#include <$ac_hdr>
9685EOF
9686ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9687{ (eval echo configure:9688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9688ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9689if test -z "$ac_err"; then
9690 rm -rf conftest*
9691 eval "ac_cv_header_$ac_safe=yes"
9692else
9693 echo "$ac_err" >&5
9694 echo "configure: failed program was:" >&5
9695 cat conftest.$ac_ext >&5
9696 rm -rf conftest*
9697 eval "ac_cv_header_$ac_safe=no"
9698fi
9699rm -f conftest*
9700fi
9701if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9702 echo "$ac_t""yes" 1>&6
9703 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9704 cat >> confdefs.h <<EOF
9705#define $ac_tr_hdr 1
9706EOF
9707
9708else
9709 echo "$ac_t""no" 1>&6
9710fi
9711done
9712
9713 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
9714echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9715echo "configure:9716: checking for windows.h" >&5
9716if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9717 echo $ac_n "(cached) $ac_c" 1>&6
9718else
9719 cat > conftest.$ac_ext <<EOF
9720#line 9721 "configure"
9721#include "confdefs.h"
9722#include <windows.h>
9723EOF
9724ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9725{ (eval echo configure:9726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9726ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9727if test -z "$ac_err"; then
9728 rm -rf conftest*
9729 eval "ac_cv_header_$ac_safe=yes"
9730else
9731 echo "$ac_err" >&5
9732 echo "configure: failed program was:" >&5
9733 cat conftest.$ac_ext >&5
9734 rm -rf conftest*
9735 eval "ac_cv_header_$ac_safe=no"
9736fi
9737rm -f conftest*
9738fi
9739if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9740 echo "$ac_t""yes" 1>&6
9741 :
9742else
9743 echo "$ac_t""no" 1>&6
9744
9745 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9746
9747fi
9748
9749
9750 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
9751echo "configure:9752: checking if w32api has good enough MSIE support" >&5
9752if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
9753 echo $ac_n "(cached) $ac_c" 1>&6
9754else
9755
9756 cat > conftest.$ac_ext <<EOF
9757#line 9758 "configure"
9758#include "confdefs.h"
9759#include <w32api.h>
9760int main() {
9761
9762 #define wxCHECK_W32API_VERSION( major, minor ) \
9763 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
9764 && ( ( __W32API_MAJOR_VERSION > (major) ) \
9765 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
9766
9767 #if !wxCHECK_W32API_VERSION(1,1)
9768 #error You need w32api 1.1 or newer
9769 #endif
9770
9771; return 0; }
9772EOF
9773if { (eval echo configure:9774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9774 rm -rf conftest*
9775
9776 wx_cv_w32api_win32_ie=yes
9777
9778else
9779 echo "configure: failed program was:" >&5
9780 cat conftest.$ac_ext >&5
9781 rm -rf conftest*
9782
9783 wx_cv_w32api_win32_ie=no
9784
9785fi
9786rm -f conftest*
9787
9788fi
9789
9790echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
9791 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
9792 CPPFLAGS="$CPPFLAGS -D_WIN32_IE=0x400"
9793 fi
9794
9795 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9796
9797 case "${host}" in
9798 *-*-cygwin* )
9799 LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
9800 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
9801 esac
9802
9803 if test "$wxUSE_ODBC" = "yes" ; then
9804 LIBS=" -lodbc32 -lole32 -loleaut32$LIBS"
9805 fi
9806
9807 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
9808 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
9809fi
9810
9811if test "$wxUSE_GUI" = "yes"; then
9812 USE_GUI=1
9813
9814 GUI_TK_LIBRARY=
9815
9816 WXGTK12=
9817 WXGTK127=
9818 WXGTK20=
9819
9820 if test "$wxUSE_MSW" = 1 ; then
9821 TOOLKIT=MSW
9822 GUIDIST=MSW_DIST
9823
9824 case "${host}" in
9825 *-*-mingw32* )
9826 LDFLAGS="$LDFLAGS -Wl,--subsystem,windows -mwindows"
9827 esac
9828 fi
9829
9830 if test "$wxUSE_GTK" = 1; then
9831 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9832echo "configure:9833: checking for GTK+ version" >&5
9833
9834 gtk_version_cached=1
9835 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9836 echo $ac_n "(cached) $ac_c" 1>&6
9837else
9838
9839 gtk_version_cached=0
9840 echo "$ac_t""" 1>&6
9841
9842 GTK_MODULES=
9843 if test "$wxUSE_THREADS" = "yes"; then
9844 GTK_MODULES=gthread
9845 fi
9846
9847 wx_cv_lib_gtk=
9848 if test "x$wxUSE_GTK2" = "xyes"; then
9849 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9850if test "${with_gtk_prefix+set}" = set; then
9851 withval="$with_gtk_prefix"
9852 gtk_config_prefix="$withval"
9853else
9854 gtk_config_prefix=""
9855fi
9856
9857# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9858if test "${with_gtk_exec_prefix+set}" = set; then
9859 withval="$with_gtk_exec_prefix"
9860 gtk_config_exec_prefix="$withval"
9861else
9862 gtk_config_exec_prefix=""
9863fi
9864
9865# Check whether --enable-gtktest or --disable-gtktest was given.
9866if test "${enable_gtktest+set}" = set; then
9867 enableval="$enable_gtktest"
9868 :
9869else
9870 enable_gtktest=yes
9871fi
9872
9873
9874 for module in . $GTK_MODULES
9875 do
9876 case "$module" in
9877 gthread)
9878 gtk_config_args="$gtk_config_args gthread"
9879 ;;
9880 esac
9881 done
9882
9883 if test x$gtk_config_exec_prefix != x ; then
9884 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9885 if test x${GTK_CONFIG_2_0+set} != xset ; then
9886 GTK_CONFIG_2_0=$gtk_config_exec_prefix/bin/gtk-config-2.0
9887 fi
9888 fi
9889 if test x$gtk_config_prefix != x ; then
9890 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
9891 if test x${GTK_CONFIG_2_0+set} != xset ; then
9892 GTK_CONFIG_2_0=$gtk_config_prefix/bin/gtk-config-2.0
9893 fi
9894 fi
9895
9896 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9897set dummy gtk-config-2.0; ac_word=$2
9898echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9899echo "configure:9900: checking for $ac_word" >&5
9900if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9901 echo $ac_n "(cached) $ac_c" 1>&6
9902else
9903 case "$GTK_CONFIG_2_0" in
9904 /*)
9905 ac_cv_path_GTK_CONFIG_2_0="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9906 ;;
9907 ?:/*)
9908 ac_cv_path_GTK_CONFIG_2_0="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9909 ;;
9910 *)
9911 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9912 ac_dummy="$PATH"
9913 for ac_dir in $ac_dummy; do
9914 test -z "$ac_dir" && ac_dir=.
9915 if test -f $ac_dir/$ac_word; then
9916 ac_cv_path_GTK_CONFIG_2_0="$ac_dir/$ac_word"
9917 break
9918 fi
9919 done
9920 IFS="$ac_save_ifs"
9921 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0="no"
9922 ;;
9923esac
9924fi
9925GTK_CONFIG_2_0="$ac_cv_path_GTK_CONFIG_2_0"
9926if test -n "$GTK_CONFIG_2_0"; then
9927 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9928else
9929 echo "$ac_t""no" 1>&6
9930fi
9931
9932 min_gtk_version=1.3.1
9933 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9934echo "configure:9935: checking for GTK - version >= $min_gtk_version" >&5
9935 no_gtk=""
9936 if test "$GTK_CONFIG_2_0" = "no" ; then
9937 no_gtk=yes
9938 else
9939 GTK_CFLAGS=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9940 GTK_LIBS=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9941 gtk_config_major_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9942 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9943 gtk_config_minor_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9944 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9945 gtk_config_micro_version=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9946 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9947 if test "x$enable_gtktest" = "xyes" ; then
9948 ac_save_CFLAGS="$CFLAGS"
9949 ac_save_LIBS="$LIBS"
9950 CFLAGS="$CFLAGS $GTK_CFLAGS"
9951 LIBS="$GTK_LIBS $LIBS"
9952 rm -f conf.gtktest
9953 if test "$cross_compiling" = yes; then
9954 echo $ac_n "cross compiling; assumed OK... $ac_c"
9955else
9956 cat > conftest.$ac_ext <<EOF
9957#line 9958 "configure"
9958#include "confdefs.h"
9959
9960#include <gtk/gtk.h>
9961#include <stdio.h>
9962#include <stdlib.h>
9963
9964int
9965main ()
9966{
9967 int major, minor, micro;
9968 char *tmp_version;
9969
9970 system ("touch conf.gtktest");
9971
9972 /* HP/UX 9 (%@#!) writes to sscanf strings */
9973 tmp_version = g_strdup("$min_gtk_version");
9974 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
9975 printf("%s, bad version string\n", "$min_gtk_version");
9976 exit(1);
9977 }
9978
9979 if ((gtk_major_version != $gtk_config_major_version) ||
9980 (gtk_minor_version != $gtk_config_minor_version) ||
9981 (gtk_micro_version != $gtk_config_micro_version))
9982 {
9983 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9984 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9985 gtk_major_version, gtk_minor_version, gtk_micro_version);
9986 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9987 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9988 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9989 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9990 printf("*** required on your system.\n");
9991 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9992 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9993 printf("*** before re-running configure\n");
9994 }
9995#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9996 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9997 (gtk_minor_version != GTK_MINOR_VERSION) ||
9998 (gtk_micro_version != GTK_MICRO_VERSION))
9999 {
10000 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10001 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10002 printf("*** library (version %d.%d.%d)\n",
10003 gtk_major_version, gtk_minor_version, gtk_micro_version);
10004 }
10005#endif /* defined (GTK_MAJOR_VERSION) ... */
10006 else
10007 {
10008 if ((gtk_major_version > major) ||
10009 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10010 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10011 {
10012 return 0;
10013 }
10014 else
10015 {
10016 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10017 gtk_major_version, gtk_minor_version, gtk_micro_version);
10018 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10019 major, minor, micro);
10020 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10021 printf("***\n");
10022 printf("*** If you have already installed a sufficiently new version, this error\n");
10023 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
10024 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10025 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
10026 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
10027 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10028 printf("*** so that the correct libraries are found at run-time))\n");
10029 }
10030 }
10031 return 1;
10032}
10033
10034EOF
10035if { (eval echo configure:10036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10036then
10037 :
10038else
10039 echo "configure: failed program was:" >&5
10040 cat conftest.$ac_ext >&5
10041 rm -fr conftest*
10042 no_gtk=yes
10043fi
10044rm -fr conftest*
10045fi
10046
10047 CFLAGS="$ac_save_CFLAGS"
10048 LIBS="$ac_save_LIBS"
10049 fi
10050 fi
10051 if test "x$no_gtk" = x ; then
10052 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10053 wx_cv_lib_gtk=2.0
10054 else
10055 echo "$ac_t""no" 1>&6
10056 if test "$GTK_CONFIG_2_0" = "no" ; then
10057 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
10058 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10059 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
10060 echo "*** full path to gtk-config-2.0."
10061 else
10062 if test -f conf.gtktest ; then
10063 :
10064 else
10065 echo "*** Could not run GTK test program, checking why..."
10066 CFLAGS="$CFLAGS $GTK_CFLAGS"
10067 LIBS="$LIBS $GTK_LIBS"
10068 cat > conftest.$ac_ext <<EOF
10069#line 10070 "configure"
10070#include "confdefs.h"
10071
10072#include <gtk/gtk.h>
10073#include <stdio.h>
10074
10075int main() {
10076 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10077; return 0; }
10078EOF
10079if { (eval echo configure:10080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10080 rm -rf conftest*
10081 echo "*** The test program compiled, but did not run. This usually means"
10082 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10083 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10084 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10085 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10086 echo "*** is required on your system"
10087 echo "***"
10088 echo "*** If you have an old version installed, it is best to remove it, although"
10089 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10090 echo "***"
10091 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10092 echo "*** came with the system with the command"
10093 echo "***"
10094 echo "*** rpm --erase --nodeps gtk gtk-devel"
10095else
10096 echo "configure: failed program was:" >&5
10097 cat conftest.$ac_ext >&5
10098 rm -rf conftest*
10099 echo "*** The test program failed to compile or link. See the file config.log for the"
10100 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10101 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10102 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
10103fi
10104rm -f conftest*
10105 CFLAGS="$ac_save_CFLAGS"
10106 LIBS="$ac_save_LIBS"
10107 fi
10108 fi
10109 GTK_CFLAGS=""
10110 GTK_LIBS=""
10111 :
10112 fi
10113
10114
10115 rm -f conf.gtktest
10116
10117 fi
10118
10119 if test -z "$wx_cv_lib_gtk"; then
10120 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10121if test "${with_gtk_prefix+set}" = set; then
10122 withval="$with_gtk_prefix"
10123 gtk_config_prefix="$withval"
10124else
10125 gtk_config_prefix=""
10126fi
10127
10128# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10129if test "${with_gtk_exec_prefix+set}" = set; then
10130 withval="$with_gtk_exec_prefix"
10131 gtk_config_exec_prefix="$withval"
10132else
10133 gtk_config_exec_prefix=""
10134fi
10135
10136# Check whether --enable-gtktest or --disable-gtktest was given.
10137if test "${enable_gtktest+set}" = set; then
10138 enableval="$enable_gtktest"
10139 :
10140else
10141 enable_gtktest=yes
10142fi
10143
10144
10145 for module in . $GTK_MODULES
10146 do
10147 case "$module" in
10148 gthread)
10149 gtk_config_args="$gtk_config_args gthread"
10150 ;;
10151 esac
10152 done
10153
10154 if test x$gtk_config_exec_prefix != x ; then
10155 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10156 if test x${GTK_CONFIG+set} != xset ; then
10157 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
10158 fi
10159 fi
10160 if test x$gtk_config_prefix != x ; then
10161 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
10162 if test x${GTK_CONFIG+set} != xset ; then
10163 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
10164 fi
10165 fi
10166
10167 # Extract the first word of "gtk-config", so it can be a program name with args.
10168set dummy gtk-config; ac_word=$2
10169echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10170echo "configure:10171: checking for $ac_word" >&5
10171if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10172 echo $ac_n "(cached) $ac_c" 1>&6
10173else
10174 case "$GTK_CONFIG" in
10175 /*)
10176 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
10177 ;;
10178 ?:/*)
10179 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
10180 ;;
10181 *)
10182 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10183 ac_dummy="$PATH"
10184 for ac_dir in $ac_dummy; do
10185 test -z "$ac_dir" && ac_dir=.
10186 if test -f $ac_dir/$ac_word; then
10187 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
10188 break
10189 fi
10190 done
10191 IFS="$ac_save_ifs"
10192 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
10193 ;;
10194esac
10195fi
10196GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
10197if test -n "$GTK_CONFIG"; then
10198 echo "$ac_t""$GTK_CONFIG" 1>&6
10199else
10200 echo "$ac_t""no" 1>&6
10201fi
10202
10203 min_gtk_version=1.2.7
10204 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10205echo "configure:10206: checking for GTK - version >= $min_gtk_version" >&5
10206 no_gtk=""
10207 if test "$GTK_CONFIG" = "no" ; then
10208 no_gtk=yes
10209 else
10210 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
10211 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
10212 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
10213 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10214 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
10215 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10216 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
10217 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10218 if test "x$enable_gtktest" = "xyes" ; then
10219 ac_save_CFLAGS="$CFLAGS"
10220 ac_save_LIBS="$LIBS"
10221 CFLAGS="$CFLAGS $GTK_CFLAGS"
10222 LIBS="$GTK_LIBS $LIBS"
10223 rm -f conf.gtktest
10224 if test "$cross_compiling" = yes; then
10225 echo $ac_n "cross compiling; assumed OK... $ac_c"
10226else
10227 cat > conftest.$ac_ext <<EOF
10228#line 10229 "configure"
10229#include "confdefs.h"
10230
10231#include <gtk/gtk.h>
10232#include <stdio.h>
10233#include <stdlib.h>
10234
10235int
10236main ()
10237{
10238 int major, minor, micro;
10239 char *tmp_version;
10240
10241 system ("touch conf.gtktest");
10242
10243 /* HP/UX 9 (%@#!) writes to sscanf strings */
10244 tmp_version = g_strdup("$min_gtk_version");
10245 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
10246 printf("%s, bad version string\n", "$min_gtk_version");
10247 exit(1);
10248 }
10249
10250 if ((gtk_major_version != $gtk_config_major_version) ||
10251 (gtk_minor_version != $gtk_config_minor_version) ||
10252 (gtk_micro_version != $gtk_config_micro_version))
10253 {
10254 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10255 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10256 gtk_major_version, gtk_minor_version, gtk_micro_version);
10257 printf ("*** was found! If gtk-config was correct, then it is best\n");
10258 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10259 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10260 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10261 printf("*** required on your system.\n");
10262 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10263 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10264 printf("*** before re-running configure\n");
10265 }
10266#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10267 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10268 (gtk_minor_version != GTK_MINOR_VERSION) ||
10269 (gtk_micro_version != GTK_MICRO_VERSION))
10270 {
10271 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10272 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10273 printf("*** library (version %d.%d.%d)\n",
10274 gtk_major_version, gtk_minor_version, gtk_micro_version);
10275 }
10276#endif /* defined (GTK_MAJOR_VERSION) ... */
10277 else
10278 {
10279 if ((gtk_major_version > major) ||
10280 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10281 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10282 {
10283 return 0;
10284 }
10285 else
10286 {
10287 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10288 gtk_major_version, gtk_minor_version, gtk_micro_version);
10289 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10290 major, minor, micro);
10291 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10292 printf("***\n");
10293 printf("*** If you have already installed a sufficiently new version, this error\n");
10294 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10295 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10296 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10297 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10298 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10299 printf("*** so that the correct libraries are found at run-time))\n");
10300 }
10301 }
10302 return 1;
10303}
10304
10305EOF
10306if { (eval echo configure:10307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10307then
10308 :
10309else
10310 echo "configure: failed program was:" >&5
10311 cat conftest.$ac_ext >&5
10312 rm -fr conftest*
10313 no_gtk=yes
10314fi
10315rm -fr conftest*
10316fi
10317
10318 CFLAGS="$ac_save_CFLAGS"
10319 LIBS="$ac_save_LIBS"
10320 fi
10321 fi
10322 if test "x$no_gtk" = x ; then
10323 echo "$ac_t""yes" 1>&6
10324 wx_cv_lib_gtk=1.2.7
10325 else
10326 echo "$ac_t""no" 1>&6
10327 if test "$GTK_CONFIG" = "no" ; then
10328 echo "*** The gtk-config script installed by GTK could not be found"
10329 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10330 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10331 echo "*** full path to gtk-config."
10332 else
10333 if test -f conf.gtktest ; then
10334 :
10335 else
10336 echo "*** Could not run GTK test program, checking why..."
10337 CFLAGS="$CFLAGS $GTK_CFLAGS"
10338 LIBS="$LIBS $GTK_LIBS"
10339 cat > conftest.$ac_ext <<EOF
10340#line 10341 "configure"
10341#include "confdefs.h"
10342
10343#include <gtk/gtk.h>
10344#include <stdio.h>
10345
10346int main() {
10347 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10348; return 0; }
10349EOF
10350if { (eval echo configure:10351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10351 rm -rf conftest*
10352 echo "*** The test program compiled, but did not run. This usually means"
10353 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10354 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10355 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10356 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10357 echo "*** is required on your system"
10358 echo "***"
10359 echo "*** If you have an old version installed, it is best to remove it, although"
10360 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10361 echo "***"
10362 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10363 echo "*** came with the system with the command"
10364 echo "***"
10365 echo "*** rpm --erase --nodeps gtk gtk-devel"
10366else
10367 echo "configure: failed program was:" >&5
10368 cat conftest.$ac_ext >&5
10369 rm -rf conftest*
10370 echo "*** The test program failed to compile or link. See the file config.log for the"
10371 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10372 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10373 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10374fi
10375rm -f conftest*
10376 CFLAGS="$ac_save_CFLAGS"
10377 LIBS="$ac_save_LIBS"
10378 fi
10379 fi
10380 GTK_CFLAGS=""
10381 GTK_LIBS=""
10382 :
10383 fi
10384
10385
10386 rm -f conf.gtktest
10387
10388 fi
10389
10390 if test -z "$wx_cv_lib_gtk"; then
10391 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10392if test "${with_gtk_prefix+set}" = set; then
10393 withval="$with_gtk_prefix"
10394 gtk_config_prefix="$withval"
10395else
10396 gtk_config_prefix=""
10397fi
10398
10399# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10400if test "${with_gtk_exec_prefix+set}" = set; then
10401 withval="$with_gtk_exec_prefix"
10402 gtk_config_exec_prefix="$withval"
10403else
10404 gtk_config_exec_prefix=""
10405fi
10406
10407# Check whether --enable-gtktest or --disable-gtktest was given.
10408if test "${enable_gtktest+set}" = set; then
10409 enableval="$enable_gtktest"
10410 :
10411else
10412 enable_gtktest=yes
10413fi
10414
10415
10416 for module in . $GTK_MODULES
10417 do
10418 case "$module" in
10419 gthread)
10420 gtk_config_args="$gtk_config_args gthread"
10421 ;;
10422 esac
10423 done
10424
10425 if test x$gtk_config_exec_prefix != x ; then
10426 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10427 if test x${GTK_CONFIG+set} != xset ; then
10428 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
10429 fi
10430 fi
10431 if test x$gtk_config_prefix != x ; then
10432 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
10433 if test x${GTK_CONFIG+set} != xset ; then
10434 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
10435 fi
10436 fi
10437
10438 # Extract the first word of "gtk-config", so it can be a program name with args.
10439set dummy gtk-config; ac_word=$2
10440echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10441echo "configure:10442: checking for $ac_word" >&5
10442if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10443 echo $ac_n "(cached) $ac_c" 1>&6
10444else
10445 case "$GTK_CONFIG" in
10446 /*)
10447 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
10448 ;;
10449 ?:/*)
10450 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path.
10451 ;;
10452 *)
10453 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10454 ac_dummy="$PATH"
10455 for ac_dir in $ac_dummy; do
10456 test -z "$ac_dir" && ac_dir=.
10457 if test -f $ac_dir/$ac_word; then
10458 ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
10459 break
10460 fi
10461 done
10462 IFS="$ac_save_ifs"
10463 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
10464 ;;
10465esac
10466fi
10467GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
10468if test -n "$GTK_CONFIG"; then
10469 echo "$ac_t""$GTK_CONFIG" 1>&6
10470else
10471 echo "$ac_t""no" 1>&6
10472fi
10473
10474 min_gtk_version=1.2.3
10475 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10476echo "configure:10477: checking for GTK - version >= $min_gtk_version" >&5
10477 no_gtk=""
10478 if test "$GTK_CONFIG" = "no" ; then
10479 no_gtk=yes
10480 else
10481 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
10482 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
10483 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
10484 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10485 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
10486 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10487 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
10488 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10489 if test "x$enable_gtktest" = "xyes" ; then
10490 ac_save_CFLAGS="$CFLAGS"
10491 ac_save_LIBS="$LIBS"
10492 CFLAGS="$CFLAGS $GTK_CFLAGS"
10493 LIBS="$GTK_LIBS $LIBS"
10494 rm -f conf.gtktest
10495 if test "$cross_compiling" = yes; then
10496 echo $ac_n "cross compiling; assumed OK... $ac_c"
10497else
10498 cat > conftest.$ac_ext <<EOF
10499#line 10500 "configure"
10500#include "confdefs.h"
10501
10502#include <gtk/gtk.h>
10503#include <stdio.h>
10504#include <stdlib.h>
10505
10506int
10507main ()
10508{
10509 int major, minor, micro;
10510 char *tmp_version;
10511
10512 system ("touch conf.gtktest");
10513
10514 /* HP/UX 9 (%@#!) writes to sscanf strings */
10515 tmp_version = g_strdup("$min_gtk_version");
10516 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
10517 printf("%s, bad version string\n", "$min_gtk_version");
10518 exit(1);
10519 }
10520
10521 if ((gtk_major_version != $gtk_config_major_version) ||
10522 (gtk_minor_version != $gtk_config_minor_version) ||
10523 (gtk_micro_version != $gtk_config_micro_version))
10524 {
10525 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10526 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10527 gtk_major_version, gtk_minor_version, gtk_micro_version);
10528 printf ("*** was found! If gtk-config was correct, then it is best\n");
10529 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10530 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10531 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10532 printf("*** required on your system.\n");
10533 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10534 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10535 printf("*** before re-running configure\n");
10536 }
10537#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10538 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10539 (gtk_minor_version != GTK_MINOR_VERSION) ||
10540 (gtk_micro_version != GTK_MICRO_VERSION))
10541 {
10542 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10543 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10544 printf("*** library (version %d.%d.%d)\n",
10545 gtk_major_version, gtk_minor_version, gtk_micro_version);
10546 }
10547#endif /* defined (GTK_MAJOR_VERSION) ... */
10548 else
10549 {
10550 if ((gtk_major_version > major) ||
10551 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10552 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10553 {
10554 return 0;
10555 }
10556 else
10557 {
10558 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10559 gtk_major_version, gtk_minor_version, gtk_micro_version);
10560 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10561 major, minor, micro);
10562 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10563 printf("***\n");
10564 printf("*** If you have already installed a sufficiently new version, this error\n");
10565 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10566 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10567 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10568 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10569 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10570 printf("*** so that the correct libraries are found at run-time))\n");
10571 }
10572 }
10573 return 1;
10574}
10575
10576EOF
10577if { (eval echo configure:10578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10578then
10579 :
10580else
10581 echo "configure: failed program was:" >&5
10582 cat conftest.$ac_ext >&5
10583 rm -fr conftest*
10584 no_gtk=yes
10585fi
10586rm -fr conftest*
10587fi
10588
10589 CFLAGS="$ac_save_CFLAGS"
10590 LIBS="$ac_save_LIBS"
10591 fi
10592 fi
10593 if test "x$no_gtk" = x ; then
10594 echo "$ac_t""yes" 1>&6
10595 wx_cv_lib_gtk=1.2.3
10596 else
10597 echo "$ac_t""no" 1>&6
10598 if test "$GTK_CONFIG" = "no" ; then
10599 echo "*** The gtk-config script installed by GTK could not be found"
10600 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10601 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10602 echo "*** full path to gtk-config."
10603 else
10604 if test -f conf.gtktest ; then
10605 :
10606 else
10607 echo "*** Could not run GTK test program, checking why..."
10608 CFLAGS="$CFLAGS $GTK_CFLAGS"
10609 LIBS="$LIBS $GTK_LIBS"
10610 cat > conftest.$ac_ext <<EOF
10611#line 10612 "configure"
10612#include "confdefs.h"
10613
10614#include <gtk/gtk.h>
10615#include <stdio.h>
10616
10617int main() {
10618 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10619; return 0; }
10620EOF
10621if { (eval echo configure:10622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10622 rm -rf conftest*
10623 echo "*** The test program compiled, but did not run. This usually means"
10624 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10625 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10626 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10627 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10628 echo "*** is required on your system"
10629 echo "***"
10630 echo "*** If you have an old version installed, it is best to remove it, although"
10631 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10632 echo "***"
10633 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10634 echo "*** came with the system with the command"
10635 echo "***"
10636 echo "*** rpm --erase --nodeps gtk gtk-devel"
10637else
10638 echo "configure: failed program was:" >&5
10639 cat conftest.$ac_ext >&5
10640 rm -rf conftest*
10641 echo "*** The test program failed to compile or link. See the file config.log for the"
10642 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10643 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10644 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10645fi
10646rm -f conftest*
10647 CFLAGS="$ac_save_CFLAGS"
10648 LIBS="$ac_save_LIBS"
10649 fi
10650 fi
10651 GTK_CFLAGS=""
10652 GTK_LIBS=""
10653 :
10654 fi
10655
10656
10657 rm -f conf.gtktest
10658
10659 fi
10660
10661 if test -z "$wx_cv_lib_gtk"; then
10662 wx_cv_lib_gtk=none
10663 else
10664 wx_cv_cflags_gtk=$GTK_CFLAGS
10665 wx_cv_libs_gtk=$GTK_LIBS
10666 fi
10667
10668
10669fi
10670
10671
10672 if test "$gtk_version_cached" = 1; then
10673 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
10674 fi
10675
10676 case "$wx_cv_lib_gtk" in
10677 2.0) WXGTK20=1
10678 ;;
10679 1.2.7) WXGTK127=1
10680 WXGTK12=1
10681 ;;
10682 1.2.3) WXGTK12=1
10683 ;;
10684 *) { echo "configure: error:
10685Please check that gtk-config is in path, the directory
10686where GTK+ libraries are installed (returned by
10687'gtk-config --libs' command) is in LD_LIBRARY_PATH or
10688equivalent variable and GTK+ is version 1.2.3 or above.
10689 " 1>&2; exit 1; }
10690 ;;
10691 esac
10692
10693 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
10694 GUI_TK_LIBRARY="$wx_cv_libs_gtk"
10695
10696 AFMINSTALL=afminstall
10697 TOOLKIT=GTK
10698 GUIDIST=GTK_DIST
10699
10700 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
10701echo "configure:10702: checking for gdk_im_open in -lgdk" >&5
10702ac_lib_var=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
10703if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10704 echo $ac_n "(cached) $ac_c" 1>&6
10705else
10706 ac_save_LIBS="$LIBS"
10707LIBS="-lgdk $LIBS"
10708cat > conftest.$ac_ext <<EOF
10709#line 10710 "configure"
10710#include "confdefs.h"
10711/* Override any gcc2 internal prototype to avoid an error. */
10712/* We use char because int might match the return type of a gcc2
10713 builtin and then its argument prototype would still apply. */
10714char gdk_im_open();
10715
10716int main() {
10717gdk_im_open()
10718; return 0; }
10719EOF
10720if { (eval echo configure:10721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10721 rm -rf conftest*
10722 eval "ac_cv_lib_$ac_lib_var=yes"
10723else
10724 echo "configure: failed program was:" >&5
10725 cat conftest.$ac_ext >&5
10726 rm -rf conftest*
10727 eval "ac_cv_lib_$ac_lib_var=no"
10728fi
10729rm -f conftest*
10730LIBS="$ac_save_LIBS"
10731
10732fi
10733if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10734 echo "$ac_t""yes" 1>&6
10735 cat >> confdefs.h <<\EOF
10736#define HAVE_XIM 1
10737EOF
10738
10739else
10740 echo "$ac_t""no" 1>&6
10741fi
10742
10743 fi
10744
10745 if test "$wxUSE_MGL" = 1; then
10746
10747 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
10748echo "configure:10749: checking for SciTech MGL library" >&5
10749 if test "x$MGL_ROOT" = x ; then
10750 echo "$ac_t""not found" 1>&6
10751 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
10752 else
10753 echo "$ac_t""$MGL_ROOT" 1>&6
10754 fi
10755
10756 mgl_os=linux/gcc/glibc
10757 mgl_lib_type=""
10758
10759 if test "$wxUSE_DEBUG_FLAG" = yes ; then
10760 if test -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.a -o \
10761 -f $MGL_ROOT/lib/debug/$mgl_os/libmgl.so; then
10762 mgl_lib_type=debug
10763 fi
10764 fi
10765 if test "x$mgl_lib_type" = x ; then
10766 if test -f $MGL_ROOT/lib/release/$mgl_os/libmgl.a -o \
10767 -f $MGL_ROOT/lib/release/$mgl_os/libmgl.so; then
10768 mgl_lib_type=release
10769 else
10770 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
10771 fi
10772 fi
10773
10774 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
10775 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
10776
10777 AFMINSTALL=afminstall
10778 TOOLKIT=MGL
10779 GUIDIST=MGL_DIST
10780 fi
10781
10782 if test "$wxUSE_WINE" = 1; then
10783 ac_safe=`echo "windows.h" | sed 'y%./+-%__p_%'`
10784echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10785echo "configure:10786: checking for windows.h" >&5
10786if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10787 echo $ac_n "(cached) $ac_c" 1>&6
10788else
10789 cat > conftest.$ac_ext <<EOF
10790#line 10791 "configure"
10791#include "confdefs.h"
10792#include <windows.h>
10793EOF
10794ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10795{ (eval echo configure:10796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10796ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10797if test -z "$ac_err"; then
10798 rm -rf conftest*
10799 eval "ac_cv_header_$ac_safe=yes"
10800else
10801 echo "$ac_err" >&5
10802 echo "configure: failed program was:" >&5
10803 cat conftest.$ac_ext >&5
10804 rm -rf conftest*
10805 eval "ac_cv_header_$ac_safe=no"
10806fi
10807rm -f conftest*
10808fi
10809if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10810 echo "$ac_t""yes" 1>&6
10811 :
10812else
10813 echo "$ac_t""no" 1>&6
10814
10815 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10816
10817fi
10818
10819
10820 xpm_link=
10821 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10822echo "configure:10823: checking for Xpm library" >&5
10823
10824ac_find_libraries=
10825for ac_dir in $SEARCH_LIB;
10826 do
10827 for ac_extension in a so sl dylib; do
10828 if test -f "$ac_dir/libXpm.$ac_extension"; then
10829 ac_find_libraries=$ac_dir
10830 break 2
10831 fi
10832 done
10833 done
10834
10835 if test "$ac_find_libraries" != "" ; then
10836 GUI_TK_LIBRARY="-L$ac_find_libraries"
10837 xpm_link=" -lXpm"
10838 cat >> confdefs.h <<\EOF
10839#define wxHAVE_LIB_XPM 1
10840EOF
10841
10842 echo "$ac_t""found at $ac_find_libraries" 1>&6
10843 else
10844 echo "$ac_t""no" 1>&6
10845 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10846 fi
10847
10848 mesa_link=
10849 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
10850echo "configure:10851: checking for Mesa library" >&5
10851
10852ac_find_libraries=
10853for ac_dir in $SEARCH_LIB;
10854 do
10855 for ac_extension in a so sl dylib; do
10856 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
10857 ac_find_libraries=$ac_dir
10858 break 2
10859 fi
10860 done
10861 done
10862
10863 if test "$ac_find_libraries" != "" ; then
10864 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -L$ac_find_libraries"
10865 mesa_link=" -lMesaGL"
10866 echo "$ac_t""found at $ac_find_libraries" 1>&6
10867 else
10868 { echo "configure: error: no" 1>&2; exit 1; }
10869 fi
10870
10871 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
10872 TOOLKIT=MSW
10873 GUIDIST=MSW_DIST
10874 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXWINE__"
10875 fi
10876
10877 if test "$wxUSE_MOTIF" = 1; then
10878 # If we find X, set shell vars x_includes and x_libraries to the
10879# paths, otherwise set no_x=yes.
10880# Uses ac_ vars as temps to allow command line to override cache and checks.
10881# --without-x overrides everything else, but does not touch the cache.
10882echo $ac_n "checking for X""... $ac_c" 1>&6
10883echo "configure:10884: checking for X" >&5
10884
10885# Check whether --with-x or --without-x was given.
10886if test "${with_x+set}" = set; then
10887 withval="$with_x"
10888 :
10889fi
10890
10891# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10892if test "x$with_x" = xno; then
10893 # The user explicitly disabled X.
10894 have_x=disabled
10895else
10896 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
10897 # Both variables are already set.
10898 have_x=yes
10899 else
10900if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
10901 echo $ac_n "(cached) $ac_c" 1>&6
10902else
10903 # One or both of the vars are not set, and there is no cached value.
10904ac_x_includes=NO ac_x_libraries=NO
10905rm -fr conftestdir
10906if mkdir conftestdir; then
10907 cd conftestdir
10908 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
10909 cat > Imakefile <<'EOF'
10910acfindx:
10911 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10912EOF
10913 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
10914 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10915 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10916 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10917 for ac_extension in a so sl; do
10918 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
10919 test -f $ac_im_libdir/libX11.$ac_extension; then
10920 ac_im_usrlibdir=$ac_im_libdir; break
10921 fi
10922 done
10923 # Screen out bogus values from the imake configuration. They are
10924 # bogus both because they are the default anyway, and because
10925 # using them would break gcc on systems where it needs fixed includes.
10926 case "$ac_im_incroot" in
10927 /usr/include) ;;
10928 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;;
10929 esac
10930 case "$ac_im_usrlibdir" in
10931 /usr/lib | /lib) ;;
10932 *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
10933 esac
10934 fi
10935 cd ..
10936 rm -fr conftestdir
10937fi
10938
10939if test "$ac_x_includes" = NO; then
10940 # Guess where to find include files, by looking for this one X11 .h file.
10941 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
10942
10943 # First, try using that file with no special directory specified.
10944cat > conftest.$ac_ext <<EOF
10945#line 10946 "configure"
10946#include "confdefs.h"
10947#include <$x_direct_test_include>
10948EOF
10949ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10950{ (eval echo configure:10951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10951ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10952if test -z "$ac_err"; then
10953 rm -rf conftest*
10954 # We can compile using X headers with no special include directory.
10955ac_x_includes=
10956else
10957 echo "$ac_err" >&5
10958 echo "configure: failed program was:" >&5
10959 cat conftest.$ac_ext >&5
10960 rm -rf conftest*
10961 # Look for the header file in a standard set of common directories.
10962# Check X11 before X11Rn because it is often a symlink to the current release.
10963 for ac_dir in \
10964 /usr/X11/include \
10965 /usr/X11R6/include \
10966 /usr/X11R5/include \
10967 /usr/X11R4/include \
10968 \
10969 /usr/include/X11 \
10970 /usr/include/X11R6 \
10971 /usr/include/X11R5 \
10972 /usr/include/X11R4 \
10973 \
10974 /usr/local/X11/include \
10975 /usr/local/X11R6/include \
10976 /usr/local/X11R5/include \
10977 /usr/local/X11R4/include \
10978 \
10979 /usr/local/include/X11 \
10980 /usr/local/include/X11R6 \
10981 /usr/local/include/X11R5 \
10982 /usr/local/include/X11R4 \
10983 \
10984 /usr/X386/include \
10985 /usr/x386/include \
10986 /usr/XFree86/include/X11 \
10987 \
10988 /usr/include \
10989 /usr/local/include \
10990 /usr/unsupported/include \
10991 /usr/athena/include \
10992 /usr/local/x11r5/include \
10993 /usr/lpp/Xamples/include \
10994 \
10995 /usr/openwin/include \
10996 /usr/openwin/share/include \
10997 ; \
10998 do
10999 if test -r "$ac_dir/$x_direct_test_include"; then
11000 ac_x_includes=$ac_dir
11001 break
11002 fi
11003 done
11004fi
11005rm -f conftest*
11006fi # $ac_x_includes = NO
11007
11008if test "$ac_x_libraries" = NO; then
11009 # Check for the libraries.
11010
11011 test -z "$x_direct_test_library" && x_direct_test_library=Xt
11012 test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
11013
11014 # See if we find them without any special options.
11015 # Don't add to $LIBS permanently.
11016 ac_save_LIBS="$LIBS"
11017 LIBS="-l$x_direct_test_library $LIBS"
11018cat > conftest.$ac_ext <<EOF
11019#line 11020 "configure"
11020#include "confdefs.h"
11021
11022int main() {
11023${x_direct_test_function}()
11024; return 0; }
11025EOF
11026if { (eval echo configure:11027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11027 rm -rf conftest*
11028 LIBS="$ac_save_LIBS"
11029# We can link X programs with no special library path.
11030ac_x_libraries=
11031else
11032 echo "configure: failed program was:" >&5
11033 cat conftest.$ac_ext >&5
11034 rm -rf conftest*
11035 LIBS="$ac_save_LIBS"
11036# First see if replacing the include by lib works.
11037# Check X11 before X11Rn because it is often a symlink to the current release.
11038for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
11039 /usr/X11/lib \
11040 /usr/X11R6/lib \
11041 /usr/X11R5/lib \
11042 /usr/X11R4/lib \
11043 \
11044 /usr/lib/X11 \
11045 /usr/lib/X11R6 \
11046 /usr/lib/X11R5 \
11047 /usr/lib/X11R4 \
11048 \
11049 /usr/local/X11/lib \
11050 /usr/local/X11R6/lib \
11051 /usr/local/X11R5/lib \
11052 /usr/local/X11R4/lib \
11053 \
11054 /usr/local/lib/X11 \
11055 /usr/local/lib/X11R6 \
11056 /usr/local/lib/X11R5 \
11057 /usr/local/lib/X11R4 \
11058 \
11059 /usr/X386/lib \
11060 /usr/x386/lib \
11061 /usr/XFree86/lib/X11 \
11062 \
11063 /usr/lib \
11064 /usr/local/lib \
11065 /usr/unsupported/lib \
11066 /usr/athena/lib \
11067 /usr/local/x11r5/lib \
11068 /usr/lpp/Xamples/lib \
11069 /lib/usr/lib/X11 \
11070 \
11071 /usr/openwin/lib \
11072 /usr/openwin/share/lib \
11073 ; \
11074do
11075 for ac_extension in a so sl; do
11076 if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
11077 ac_x_libraries=$ac_dir
11078 break 2
11079 fi
11080 done
11081done
11082fi
11083rm -f conftest*
11084fi # $ac_x_libraries = NO
11085
11086if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
11087 # Didn't find X anywhere. Cache the known absence of X.
11088 ac_cv_have_x="have_x=no"
11089else
11090 # Record where we found X for the cache.
11091 ac_cv_have_x="have_x=yes \
11092 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
11093fi
11094fi
11095 fi
11096 eval "$ac_cv_have_x"
11097fi # $with_x != no
11098
11099if test "$have_x" != yes; then
11100 echo "$ac_t""$have_x" 1>&6
11101 no_x=yes
11102else
11103 # If each of the values was on the command line, it overrides each guess.
11104 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11105 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11106 # Update the cache value to reflect the command line values.
11107 ac_cv_have_x="have_x=yes \
11108 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11109 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
11110fi
11111
11112if test "$no_x" = yes; then
11113 # Not all programs may use this symbol, but it does not hurt to define it.
11114 cat >> confdefs.h <<\EOF
11115#define X_DISPLAY_MISSING 1
11116EOF
11117
11118 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11119else
11120 if test -n "$x_includes"; then
11121 X_CFLAGS="$X_CFLAGS -I$x_includes"
11122 fi
11123
11124 # It would also be nice to do this for all -L options, not just this one.
11125 if test -n "$x_libraries"; then
11126 X_LIBS="$X_LIBS -L$x_libraries"
11127 # For Solaris; some versions of Sun CC require a space after -R and
11128 # others require no space. Words are not sufficient . . . .
11129 case "`(uname -sr) 2>/dev/null`" in
11130 "SunOS 5"*)
11131 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
11132echo "configure:11133: checking whether -R must be followed by a space" >&5
11133 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
11134 cat > conftest.$ac_ext <<EOF
11135#line 11136 "configure"
11136#include "confdefs.h"
11137
11138int main() {
11139
11140; return 0; }
11141EOF
11142if { (eval echo configure:11143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11143 rm -rf conftest*
11144 ac_R_nospace=yes
11145else
11146 echo "configure: failed program was:" >&5
11147 cat conftest.$ac_ext >&5
11148 rm -rf conftest*
11149 ac_R_nospace=no
11150fi
11151rm -f conftest*
11152 if test $ac_R_nospace = yes; then
11153 echo "$ac_t""no" 1>&6
11154 X_LIBS="$X_LIBS -R$x_libraries"
11155 else
11156 LIBS="$ac_xsave_LIBS -R $x_libraries"
11157 cat > conftest.$ac_ext <<EOF
11158#line 11159 "configure"
11159#include "confdefs.h"
11160
11161int main() {
11162
11163; return 0; }
11164EOF
11165if { (eval echo configure:11166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11166 rm -rf conftest*
11167 ac_R_space=yes
11168else
11169 echo "configure: failed program was:" >&5
11170 cat conftest.$ac_ext >&5
11171 rm -rf conftest*
11172 ac_R_space=no
11173fi
11174rm -f conftest*
11175 if test $ac_R_space = yes; then
11176 echo "$ac_t""yes" 1>&6
11177 X_LIBS="$X_LIBS -R $x_libraries"
11178 else
11179 echo "$ac_t""neither works" 1>&6
11180 fi
11181 fi
11182 LIBS="$ac_xsave_LIBS"
11183 esac
11184 fi
11185
11186 # Check for system-dependent libraries X programs must link with.
11187 # Do this before checking for the system-independent R6 libraries
11188 # (-lICE), since we may need -lsocket or whatever for X linking.
11189
11190 if test "$ISC" = yes; then
11191 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11192 else
11193 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
11194 # libraries were built with DECnet support. And karl@cs.umb.edu says
11195 # the Alpha needs dnet_stub (dnet does not exist).
11196 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
11197echo "configure:11198: checking for dnet_ntoa in -ldnet" >&5
11198ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11199if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11200 echo $ac_n "(cached) $ac_c" 1>&6
11201else
11202 ac_save_LIBS="$LIBS"
11203LIBS="-ldnet $LIBS"
11204cat > conftest.$ac_ext <<EOF
11205#line 11206 "configure"
11206#include "confdefs.h"
11207/* Override any gcc2 internal prototype to avoid an error. */
11208/* We use char because int might match the return type of a gcc2
11209 builtin and then its argument prototype would still apply. */
11210char dnet_ntoa();
11211
11212int main() {
11213dnet_ntoa()
11214; return 0; }
11215EOF
11216if { (eval echo configure:11217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11217 rm -rf conftest*
11218 eval "ac_cv_lib_$ac_lib_var=yes"
11219else
11220 echo "configure: failed program was:" >&5
11221 cat conftest.$ac_ext >&5
11222 rm -rf conftest*
11223 eval "ac_cv_lib_$ac_lib_var=no"
11224fi
11225rm -f conftest*
11226LIBS="$ac_save_LIBS"
11227
11228fi
11229if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11230 echo "$ac_t""yes" 1>&6
11231 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11232else
11233 echo "$ac_t""no" 1>&6
11234fi
11235
11236 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11237 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
11238echo "configure:11239: checking for dnet_ntoa in -ldnet_stub" >&5
11239ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11240if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11241 echo $ac_n "(cached) $ac_c" 1>&6
11242else
11243 ac_save_LIBS="$LIBS"
11244LIBS="-ldnet_stub $LIBS"
11245cat > conftest.$ac_ext <<EOF
11246#line 11247 "configure"
11247#include "confdefs.h"
11248/* Override any gcc2 internal prototype to avoid an error. */
11249/* We use char because int might match the return type of a gcc2
11250 builtin and then its argument prototype would still apply. */
11251char dnet_ntoa();
11252
11253int main() {
11254dnet_ntoa()
11255; return 0; }
11256EOF
11257if { (eval echo configure:11258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11258 rm -rf conftest*
11259 eval "ac_cv_lib_$ac_lib_var=yes"
11260else
11261 echo "configure: failed program was:" >&5
11262 cat conftest.$ac_ext >&5
11263 rm -rf conftest*
11264 eval "ac_cv_lib_$ac_lib_var=no"
11265fi
11266rm -f conftest*
11267LIBS="$ac_save_LIBS"
11268
11269fi
11270if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11271 echo "$ac_t""yes" 1>&6
11272 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11273else
11274 echo "$ac_t""no" 1>&6
11275fi
11276
11277 fi
11278
11279 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11280 # to get the SysV transport functions.
11281 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
11282 # needs -lnsl.
11283 # The nsl library prevents programs from opening the X display
11284 # on Irix 5.2, according to dickey@clark.net.
11285 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
11286echo "configure:11287: checking for gethostbyname" >&5
11287if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
11288 echo $ac_n "(cached) $ac_c" 1>&6
11289else
11290 cat > conftest.$ac_ext <<EOF
11291#line 11292 "configure"
11292#include "confdefs.h"
11293/* System header to define __stub macros and hopefully few prototypes,
11294 which can conflict with char gethostbyname(); below. */
11295#include <assert.h>
11296/* Override any gcc2 internal prototype to avoid an error. */
11297/* We use char because int might match the return type of a gcc2
11298 builtin and then its argument prototype would still apply. */
11299char gethostbyname();
11300
11301int main() {
11302
11303/* The GNU C library defines this for functions which it implements
11304 to always fail with ENOSYS. Some functions are actually named
11305 something starting with __ and the normal name is an alias. */
11306#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11307choke me
11308#else
11309gethostbyname();
11310#endif
11311
11312; return 0; }
11313EOF
11314if { (eval echo configure:11315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11315 rm -rf conftest*
11316 eval "ac_cv_func_gethostbyname=yes"
11317else
11318 echo "configure: failed program was:" >&5
11319 cat conftest.$ac_ext >&5
11320 rm -rf conftest*
11321 eval "ac_cv_func_gethostbyname=no"
11322fi
11323rm -f conftest*
11324fi
11325
11326if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11327 echo "$ac_t""yes" 1>&6
11328 :
11329else
11330 echo "$ac_t""no" 1>&6
11331fi
11332
11333 if test $ac_cv_func_gethostbyname = no; then
11334 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11335echo "configure:11336: checking for gethostbyname in -lnsl" >&5
11336ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11337if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11338 echo $ac_n "(cached) $ac_c" 1>&6
11339else
11340 ac_save_LIBS="$LIBS"
11341LIBS="-lnsl $LIBS"
11342cat > conftest.$ac_ext <<EOF
11343#line 11344 "configure"
11344#include "confdefs.h"
11345/* Override any gcc2 internal prototype to avoid an error. */
11346/* We use char because int might match the return type of a gcc2
11347 builtin and then its argument prototype would still apply. */
11348char gethostbyname();
11349
11350int main() {
11351gethostbyname()
11352; return 0; }
11353EOF
11354if { (eval echo configure:11355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11355 rm -rf conftest*
11356 eval "ac_cv_lib_$ac_lib_var=yes"
11357else
11358 echo "configure: failed program was:" >&5
11359 cat conftest.$ac_ext >&5
11360 rm -rf conftest*
11361 eval "ac_cv_lib_$ac_lib_var=no"
11362fi
11363rm -f conftest*
11364LIBS="$ac_save_LIBS"
11365
11366fi
11367if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11368 echo "$ac_t""yes" 1>&6
11369 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11370else
11371 echo "$ac_t""no" 1>&6
11372fi
11373
11374 fi
11375
11376 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11377 # socket/setsockopt and other routines are undefined under SCO ODT
11378 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11379 # on later versions), says simon@lia.di.epfl.ch: it contains
11380 # gethostby* variants that don't use the nameserver (or something).
11381 # -lsocket must be given before -lnsl if both are needed.
11382 # We assume that if connect needs -lnsl, so does gethostbyname.
11383 echo $ac_n "checking for connect""... $ac_c" 1>&6
11384echo "configure:11385: checking for connect" >&5
11385if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11386 echo $ac_n "(cached) $ac_c" 1>&6
11387else
11388 cat > conftest.$ac_ext <<EOF
11389#line 11390 "configure"
11390#include "confdefs.h"
11391/* System header to define __stub macros and hopefully few prototypes,
11392 which can conflict with char connect(); below. */
11393#include <assert.h>
11394/* Override any gcc2 internal prototype to avoid an error. */
11395/* We use char because int might match the return type of a gcc2
11396 builtin and then its argument prototype would still apply. */
11397char connect();
11398
11399int main() {
11400
11401/* The GNU C library defines this for functions which it implements
11402 to always fail with ENOSYS. Some functions are actually named
11403 something starting with __ and the normal name is an alias. */
11404#if defined (__stub_connect) || defined (__stub___connect)
11405choke me
11406#else
11407connect();
11408#endif
11409
11410; return 0; }
11411EOF
11412if { (eval echo configure:11413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11413 rm -rf conftest*
11414 eval "ac_cv_func_connect=yes"
11415else
11416 echo "configure: failed program was:" >&5
11417 cat conftest.$ac_ext >&5
11418 rm -rf conftest*
11419 eval "ac_cv_func_connect=no"
11420fi
11421rm -f conftest*
11422fi
11423
11424if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11425 echo "$ac_t""yes" 1>&6
11426 :
11427else
11428 echo "$ac_t""no" 1>&6
11429fi
11430
11431 if test $ac_cv_func_connect = no; then
11432 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11433echo "configure:11434: checking for connect in -lsocket" >&5
11434ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11435if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11436 echo $ac_n "(cached) $ac_c" 1>&6
11437else
11438 ac_save_LIBS="$LIBS"
11439LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11440cat > conftest.$ac_ext <<EOF
11441#line 11442 "configure"
11442#include "confdefs.h"
11443/* Override any gcc2 internal prototype to avoid an error. */
11444/* We use char because int might match the return type of a gcc2
11445 builtin and then its argument prototype would still apply. */
11446char connect();
11447
11448int main() {
11449connect()
11450; return 0; }
11451EOF
11452if { (eval echo configure:11453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11453 rm -rf conftest*
11454 eval "ac_cv_lib_$ac_lib_var=yes"
11455else
11456 echo "configure: failed program was:" >&5
11457 cat conftest.$ac_ext >&5
11458 rm -rf conftest*
11459 eval "ac_cv_lib_$ac_lib_var=no"
11460fi
11461rm -f conftest*
11462LIBS="$ac_save_LIBS"
11463
11464fi
11465if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11466 echo "$ac_t""yes" 1>&6
11467 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11468else
11469 echo "$ac_t""no" 1>&6
11470fi
11471
11472 fi
11473
11474 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11475 echo $ac_n "checking for remove""... $ac_c" 1>&6
11476echo "configure:11477: checking for remove" >&5
11477if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11478 echo $ac_n "(cached) $ac_c" 1>&6
11479else
11480 cat > conftest.$ac_ext <<EOF
11481#line 11482 "configure"
11482#include "confdefs.h"
11483/* System header to define __stub macros and hopefully few prototypes,
11484 which can conflict with char remove(); below. */
11485#include <assert.h>
11486/* Override any gcc2 internal prototype to avoid an error. */
11487/* We use char because int might match the return type of a gcc2
11488 builtin and then its argument prototype would still apply. */
11489char remove();
11490
11491int main() {
11492
11493/* The GNU C library defines this for functions which it implements
11494 to always fail with ENOSYS. Some functions are actually named
11495 something starting with __ and the normal name is an alias. */
11496#if defined (__stub_remove) || defined (__stub___remove)
11497choke me
11498#else
11499remove();
11500#endif
11501
11502; return 0; }
11503EOF
11504if { (eval echo configure:11505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11505 rm -rf conftest*
11506 eval "ac_cv_func_remove=yes"
11507else
11508 echo "configure: failed program was:" >&5
11509 cat conftest.$ac_ext >&5
11510 rm -rf conftest*
11511 eval "ac_cv_func_remove=no"
11512fi
11513rm -f conftest*
11514fi
11515
11516if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
11517 echo "$ac_t""yes" 1>&6
11518 :
11519else
11520 echo "$ac_t""no" 1>&6
11521fi
11522
11523 if test $ac_cv_func_remove = no; then
11524 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
11525echo "configure:11526: checking for remove in -lposix" >&5
11526ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
11527if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11528 echo $ac_n "(cached) $ac_c" 1>&6
11529else
11530 ac_save_LIBS="$LIBS"
11531LIBS="-lposix $LIBS"
11532cat > conftest.$ac_ext <<EOF
11533#line 11534 "configure"
11534#include "confdefs.h"
11535/* Override any gcc2 internal prototype to avoid an error. */
11536/* We use char because int might match the return type of a gcc2
11537 builtin and then its argument prototype would still apply. */
11538char remove();
11539
11540int main() {
11541remove()
11542; return 0; }
11543EOF
11544if { (eval echo configure:11545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11545 rm -rf conftest*
11546 eval "ac_cv_lib_$ac_lib_var=yes"
11547else
11548 echo "configure: failed program was:" >&5
11549 cat conftest.$ac_ext >&5
11550 rm -rf conftest*
11551 eval "ac_cv_lib_$ac_lib_var=no"
11552fi
11553rm -f conftest*
11554LIBS="$ac_save_LIBS"
11555
11556fi
11557if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11558 echo "$ac_t""yes" 1>&6
11559 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11560else
11561 echo "$ac_t""no" 1>&6
11562fi
11563
11564 fi
11565
11566 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11567 echo $ac_n "checking for shmat""... $ac_c" 1>&6
11568echo "configure:11569: checking for shmat" >&5
11569if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
11570 echo $ac_n "(cached) $ac_c" 1>&6
11571else
11572 cat > conftest.$ac_ext <<EOF
11573#line 11574 "configure"
11574#include "confdefs.h"
11575/* System header to define __stub macros and hopefully few prototypes,
11576 which can conflict with char shmat(); below. */
11577#include <assert.h>
11578/* Override any gcc2 internal prototype to avoid an error. */
11579/* We use char because int might match the return type of a gcc2
11580 builtin and then its argument prototype would still apply. */
11581char shmat();
11582
11583int main() {
11584
11585/* The GNU C library defines this for functions which it implements
11586 to always fail with ENOSYS. Some functions are actually named
11587 something starting with __ and the normal name is an alias. */
11588#if defined (__stub_shmat) || defined (__stub___shmat)
11589choke me
11590#else
11591shmat();
11592#endif
11593
11594; return 0; }
11595EOF
11596if { (eval echo configure:11597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11597 rm -rf conftest*
11598 eval "ac_cv_func_shmat=yes"
11599else
11600 echo "configure: failed program was:" >&5
11601 cat conftest.$ac_ext >&5
11602 rm -rf conftest*
11603 eval "ac_cv_func_shmat=no"
11604fi
11605rm -f conftest*
11606fi
11607
11608if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
11609 echo "$ac_t""yes" 1>&6
11610 :
11611else
11612 echo "$ac_t""no" 1>&6
11613fi
11614
11615 if test $ac_cv_func_shmat = no; then
11616 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
11617echo "configure:11618: checking for shmat in -lipc" >&5
11618ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
11619if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11620 echo $ac_n "(cached) $ac_c" 1>&6
11621else
11622 ac_save_LIBS="$LIBS"
11623LIBS="-lipc $LIBS"
11624cat > conftest.$ac_ext <<EOF
11625#line 11626 "configure"
11626#include "confdefs.h"
11627/* Override any gcc2 internal prototype to avoid an error. */
11628/* We use char because int might match the return type of a gcc2
11629 builtin and then its argument prototype would still apply. */
11630char shmat();
11631
11632int main() {
11633shmat()
11634; return 0; }
11635EOF
11636if { (eval echo configure:11637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11637 rm -rf conftest*
11638 eval "ac_cv_lib_$ac_lib_var=yes"
11639else
11640 echo "configure: failed program was:" >&5
11641 cat conftest.$ac_ext >&5
11642 rm -rf conftest*
11643 eval "ac_cv_lib_$ac_lib_var=no"
11644fi
11645rm -f conftest*
11646LIBS="$ac_save_LIBS"
11647
11648fi
11649if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11650 echo "$ac_t""yes" 1>&6
11651 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11652else
11653 echo "$ac_t""no" 1>&6
11654fi
11655
11656 fi
11657 fi
11658
11659 # Check for libraries that X11R6 Xt/Xaw programs need.
11660 ac_save_LDFLAGS="$LDFLAGS"
11661 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11662 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11663 # check for ICE first), but we must link in the order -lSM -lICE or
11664 # we get undefined symbols. So assume we have SM if we have ICE.
11665 # These have to be linked with before -lX11, unlike the other
11666 # libraries we check for below, so use a different variable.
11667 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
11668 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
11669echo "configure:11670: checking for IceConnectionNumber in -lICE" >&5
11670ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
11671if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11672 echo $ac_n "(cached) $ac_c" 1>&6
11673else
11674 ac_save_LIBS="$LIBS"
11675LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11676cat > conftest.$ac_ext <<EOF
11677#line 11678 "configure"
11678#include "confdefs.h"
11679/* Override any gcc2 internal prototype to avoid an error. */
11680/* We use char because int might match the return type of a gcc2
11681 builtin and then its argument prototype would still apply. */
11682char IceConnectionNumber();
11683
11684int main() {
11685IceConnectionNumber()
11686; return 0; }
11687EOF
11688if { (eval echo configure:11689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11689 rm -rf conftest*
11690 eval "ac_cv_lib_$ac_lib_var=yes"
11691else
11692 echo "configure: failed program was:" >&5
11693 cat conftest.$ac_ext >&5
11694 rm -rf conftest*
11695 eval "ac_cv_lib_$ac_lib_var=no"
11696fi
11697rm -f conftest*
11698LIBS="$ac_save_LIBS"
11699
11700fi
11701if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11702 echo "$ac_t""yes" 1>&6
11703 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11704else
11705 echo "$ac_t""no" 1>&6
11706fi
11707
11708 LDFLAGS="$ac_save_LDFLAGS"
11709
11710fi
11711
11712
11713 if test "$no_x" = "yes"; then
11714 { echo "configure: error: X11 not found" 1>&2; exit 1; }
11715 fi
11716
11717 GUI_TK_LIBRARY="$X_LIBS"
11718 TOOLKIT_INCLUDE="$X_CFLAGS"
11719 AFMINSTALL=afminstall
11720 COMPILED_X_PROGRAM=0
11721
11722 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
11723echo "configure:11724: checking for Motif/Lesstif headers" >&5
11724
11725ac_find_includes=
11726for ac_dir in $SEARCH_INCLUDE;
11727 do
11728 if test -f "$ac_dir/Xm/Xm.h"; then
11729 ac_find_includes=$ac_dir
11730 break
11731 fi
11732 done
11733
11734 if test "$ac_find_includes" != "" ; then
11735 echo "$ac_t""found $ac_find_includes" 1>&6
11736 else
11737 cat > conftest.$ac_ext <<EOF
11738#line 11739 "configure"
11739#include "confdefs.h"
11740
11741 #include <Xm/Xm.h>
11742
11743int main() {
11744
11745 int version;
11746 version = xmUseVersion;
11747
11748; return 0; }
11749EOF
11750if { (eval echo configure:11751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11751 rm -rf conftest*
11752
11753 echo "$ac_t""found in default search path" 1>&6
11754 COMPILED_X_PROGRAM=1
11755
11756else
11757 echo "configure: failed program was:" >&5
11758 cat conftest.$ac_ext >&5
11759 rm -rf conftest*
11760
11761 echo "$ac_t""no" 1>&6
11762 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
11763
11764
11765fi
11766rm -f conftest*
11767 fi
11768
11769 if test "$COMPILED_X_PROGRAM" = 0; then
11770 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
11771echo "configure:11772: checking for Motif/Lesstif library" >&5
11772
11773ac_find_libraries=
11774for ac_dir in $SEARCH_LIB;
11775 do
11776 for ac_extension in a so sl dylib; do
11777 if test -f "$ac_dir/libXm.$ac_extension"; then
11778 ac_find_libraries=$ac_dir
11779 break 2
11780 fi
11781 done
11782 done
11783
11784 if test "$ac_find_libraries" != "" ; then
11785
11786 ac_path_to_include=$ac_find_includes
11787 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
11788 result=$?
11789 if test $result = 0; then
11790 ac_path_to_include=""
11791 else
11792 ac_path_to_include=" -I$ac_find_includes"
11793 fi
11794
11795
11796 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
11797 result=$?
11798 if test $result = 0; then
11799 ac_path_to_link=""
11800 else
11801 ac_path_to_link=" -L$ac_find_libraries"
11802 fi
11803
11804
11805 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
11806 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
11807 echo "$ac_t""found at $ac_find_libraries" 1>&6
11808 else
11809 cat > conftest.$ac_ext <<EOF
11810#line 11811 "configure"
11811#include "confdefs.h"
11812
11813 #include <Xm/Xm.h>
11814
11815int main() {
11816
11817 int version;
11818 version = xmUseVersion;
11819
11820; return 0; }
11821EOF
11822if { (eval echo configure:11823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11823 rm -rf conftest*
11824
11825 echo "$ac_t""found in default search path" 1>&6
11826 COMPILED_X_PROGRAM=1
11827
11828else
11829 echo "configure: failed program was:" >&5
11830 cat conftest.$ac_ext >&5
11831 rm -rf conftest*
11832
11833 echo "$ac_t""no" 1>&6
11834 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
11835
11836
11837fi
11838rm -f conftest*
11839 fi
11840 fi
11841
11842 xpm_link=
11843 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
11844echo "configure:11845: checking for Xpm library" >&5
11845
11846ac_find_libraries=
11847for ac_dir in $SEARCH_LIB;
11848 do
11849 for ac_extension in a so sl dylib; do
11850 if test -f "$ac_dir/libXpm.$ac_extension"; then
11851 ac_find_libraries=$ac_dir
11852 break 2
11853 fi
11854 done
11855 done
11856
11857 if test "$ac_find_libraries" != "" ; then
11858
11859 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
11860 result=$?
11861 if test $result = 0; then
11862 ac_path_to_link=""
11863 else
11864 ac_path_to_link=" -L$ac_find_libraries"
11865 fi
11866
11867 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
11868 xpm_link=" -lXpm"
11869 cat >> confdefs.h <<\EOF
11870#define wxHAVE_LIB_XPM 1
11871EOF
11872
11873 echo "$ac_t""found at $ac_find_libraries" 1>&6
11874 else
11875 cat > conftest.$ac_ext <<EOF
11876#line 11877 "configure"
11877#include "confdefs.h"
11878
11879 #include <X11/xpm.h>
11880
11881int main() {
11882
11883 int version;
11884 version = XpmLibraryVersion();
11885
11886; return 0; }
11887EOF
11888if { (eval echo configure:11889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11889 rm -rf conftest*
11890
11891 xpm_link=" -lXpm"
11892 cat >> confdefs.h <<\EOF
11893#define wxHAVE_LIB_XPM 1
11894EOF
11895
11896 echo "$ac_t""found in default search path" 1>&6
11897 COMPILED_X_PROGRAM=0
11898
11899else
11900 echo "configure: failed program was:" >&5
11901 cat conftest.$ac_ext >&5
11902 rm -rf conftest*
11903
11904 echo "$ac_t""no" 1>&6
11905 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
11906
11907
11908fi
11909rm -f conftest*
11910 fi
11911
11912 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
11913 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
11914 TOOLKIT=MOTIF
11915 GUIDIST=MOTIF_DIST
11916 fi
11917
11918 if test "$wxUSE_MAC" = 1; then
11919 if test "$wxUSE_PRECOMP" = "yes"; then
11920 CPPFLAGS="$CPPFLAGS -cpp-precomp"
11921 fi
11922 CPPFLAGS="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
11923 CFLAGS="$CFLAGS -fpascal-strings"
11924 CXXFLAGS="$CXXFLAGS -fpascal-strings"
11925 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -DTARGET_CARBON"
11926
11927 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
11928 TOOLKIT=MAC
11929 GUIDIST=MACX_DIST
11930 fi
11931
11932 if test "$wxUSE_PM" = 1; then
11933 TOOLKIT=PM
11934 GUIDIST=GTK_DIST
11935 fi
11936
11937 if test "$TOOLKIT" = "PM" ; then
11938 TOOLKIT_DIR="os2"
11939 else
11940 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
11941 fi
11942
11943 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
11944
11945 if test "$wxUSE_UNIVERSAL" = "yes"; then
11946 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
11947 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
11948 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
11949 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
11950 WIDGET_SET=univ
11951 else
11952 ALL_OBJECTS="\$(GUIOBJS)"
11953 fi
11954
11955 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
11956
11957 if test "$TOOLKIT" != "MSW"; then
11958 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
11959 fi
11960
11961 if test "$wxUSE_HTML" = "yes"; then
11962 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
11963 fi
11964
11965 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
11966 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
11967 fi
11968 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11969 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
11970 fi
11971 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11972 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
11973 fi
11974 if test "$wxUSE_LIBPNG" = "builtin" ; then
11975 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
11976 fi
11977 if test "$wxUSE_FREETYPE" = "builtin" ; then
11978 ALL_OBJECTS="${ALL_OBJECTS} \$(FREETYPEOBJS)"
11979 fi
11980
11981 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
11982 DISTDIR="wx\$(TOOLKIT)"
11983else
11984 USE_GUI=0
11985
11986 TOOLKIT_DIR="base"
11987
11988 if test "$USE_WIN32" = 1 ; then
11989 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
11990 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
11991
11992 TOOLKIT="MSW"
11993 else
11994 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
11995 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
11996 fi
11997
11998 PORT_FILES="\${top_srcdir}/src/files.lst"
11999
12000 GUIDIST="BASE_DIST"
12001 DISTDIR="wxBase"
12002fi
12003
12004if test "$wxUSE_REGEX" = "builtin" ; then
12005 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
12006fi
12007if test "$wxUSE_ZLIB" = "builtin" ; then
12008 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
12009fi
12010
12011if test "$wxUSE_OPENGL" = "yes"; then
12012 if test "$wxUSE_MAC" = 1; then
12013 OPENGL_LIBS="-framework OpenGL -framework AGL"
12014 else
12015
12016 ac_safe=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
12017echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
12018echo "configure:12019: checking for GL/gl.h" >&5
12019if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12020 echo $ac_n "(cached) $ac_c" 1>&6
12021else
12022 cat > conftest.$ac_ext <<EOF
12023#line 12024 "configure"
12024#include "confdefs.h"
12025#include <GL/gl.h>
12026EOF
12027ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12028{ (eval echo configure:12029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12029ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12030if test -z "$ac_err"; then
12031 rm -rf conftest*
12032 eval "ac_cv_header_$ac_safe=yes"
12033else
12034 echo "$ac_err" >&5
12035 echo "configure: failed program was:" >&5
12036 cat conftest.$ac_ext >&5
12037 rm -rf conftest*
12038 eval "ac_cv_header_$ac_safe=no"
12039fi
12040rm -f conftest*
12041fi
12042if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12043 echo "$ac_t""yes" 1>&6
12044
12045 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
12046echo "configure:12047: checking for -lGL" >&5
12047
12048ac_find_libraries=
12049for ac_dir in $SEARCH_LIB;
12050 do
12051 for ac_extension in a so sl dylib; do
12052 if test -f "$ac_dir/libGL.$ac_extension"; then
12053 ac_find_libraries=$ac_dir
12054 break 2
12055 fi
12056 done
12057 done
12058
12059 if test "$ac_find_libraries" != "" ; then
12060
12061 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
12062 result=$?
12063 if test $result = 0; then
12064 ac_path_to_link=""
12065 else
12066 ac_path_to_link=" -L$ac_find_libraries"
12067 fi
12068
12069 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
12070 OPENGL_LIBS="-lGL -lGLU"
12071 echo "$ac_t""yes" 1>&6
12072 else
12073 echo "$ac_t""no" 1>&6
12074 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
12075echo "configure:12076: checking for -lMesaGL" >&5
12076
12077ac_find_libraries=
12078for ac_dir in $SEARCH_LIB;
12079 do
12080 for ac_extension in a so sl dylib; do
12081 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
12082 ac_find_libraries=$ac_dir
12083 break 2
12084 fi
12085 done
12086 done
12087
12088 if test "$ac_find_libraries" != "" ; then
12089
12090 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
12091 result=$?
12092 if test $result = 0; then
12093 ac_path_to_link=""
12094 else
12095 ac_path_to_link=" -L$ac_find_libraries"
12096 fi
12097
12098 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
12099 OPENGL_LIBS="-lMesaGL -lMesaGLU"
12100 echo "$ac_t""yes" 1>&6
12101 else
12102 echo "$ac_t""no" 1>&6
12103 fi
12104 fi
12105
12106else
12107 echo "$ac_t""no" 1>&6
12108fi
12109
12110
12111
12112# AC_CHECK_HEADER(GL/gl.h,
12113# [
12114# AC_CHECK_LIB(GL, glFlush,
12115# [
12116# OPENGL_LIBS="-lGL -lGLU"
12117# ],
12118# [
12119# AC_CHECK_LIB(MesaGL, glFlush,
12120# [
12121# OPENGL_LIBS="-lMesaGL -lMesaGLU"
12122# ],
12123# [],
12124# [-lm])
12125# ],
12126# [-lm])
12127# ])
12128
12129 if test "x$OPENGL_LIBS" = "x"; then
12130 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
12131 fi
12132 fi
12133
12134 if test "$wxUSE_OPENGL" = "yes"; then
12135 cat >> confdefs.h <<\EOF
12136#define wxUSE_OPENGL 1
12137EOF
12138
12139 cat >> confdefs.h <<\EOF
12140#define wxUSE_GLCANVAS 1
12141EOF
12142
12143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
12144 fi
12145fi
12146
12147if test -z "$TOOLKIT_VPATH" ; then
12148 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
12149fi
12150
12151if test -n "$TOOLKIT" ; then
12152 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
12153fi
12154
12155lib_unicode_suffix=
12156if test "$wxUSE_UNICODE" = "yes"; then
12157 lib_unicode_suffix=u
12158fi
12159
12160lib_debug_suffix=
12161if test "$wxUSE_DEBUG_FLAG" = "yes"; then
12162 lib_debug_suffix=d
12163fi
12164
12165TOOLCHAIN_NAME="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
12166TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
12167
12168if test "$cross_compiling" = "yes"; then
12169 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
12170 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
12171fi
12172
12173WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
12174WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
12175
12176WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12177WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12178
12179WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
12180WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
12181WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
12182WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12183
12184WX_RESOURCES_MACOSX="lib${WX_LIBRARY}.rsrc"
12185WX_RESOURCES_MACOSX_COMPILED="lib${WX_LIBRARY}.r"
12186
12187case "${host}" in
12188 *-*-cygwin* | *-*-mingw32* )
12189
12190
12191
12192 if test "$cross_compiling" != "yes"; then
12193 WX_LIBRARY="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12194 WX_LIBRARY_GL="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12195 WX_LIBRARY_NAME_SHARED="${WX_LIBRARY}.${SO_SUFFIX}"
12196 WX_LIBRARY_NAME_SHARED_GL="${WX_LIBRARY_GL}.${SO_SUFFIX}"
12197 else
12198 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
12199 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12200 fi
12201
12202esac
12203
12204WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
12205WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
12206
12207WXCONFIG_LIBS="-l${WX_LIBRARY}"
12208WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
12209
12210if test "$wxUSE_OPENGL" = "yes"; then
12211 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
12212 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
12213fi
12214
12215
12216
12217if test "$wxUSE_SHARED" = "yes"; then
12218
12219 if test "$wxUSE_OPENGL" = "yes"; then
12220 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
12221 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
12222 else
12223 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
12224 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1}"
12225 fi
12226
12227 if test "$GCC" = "yes"; then
12228 PIC_FLAG="-fPIC"
12229 fi
12230
12231 SHARED_LD="${CXX} -shared -o"
12232
12233 case "${host}" in
12234 *-hp-hpux* )
12235 if test "$GCC" != "yes"; then
12236 LDFLAGS="$LDFLAGS -L/usr/lib"
12237
12238 SHARED_LD="${CXX} -b -o"
12239 PIC_FLAG="+Z"
12240 fi
12241
12242 if test "$wxUSE_OPENGL" = "yes"; then
12243 WX_ALL_INSTALLED="preinstall_gl"
12244 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12245 else
12246 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12247 fi
12248 ;;
12249
12250 *-*-linux* )
12251 if test "$GCC" != "yes"; then
12252 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
12253echo "configure:12254: checking for Intel compiler" >&5
12254if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
12255 echo $ac_n "(cached) $ac_c" 1>&6
12256else
12257
12258 cat > conftest.$ac_ext <<EOF
12259#line 12260 "configure"
12260#include "confdefs.h"
12261
12262int main() {
12263
12264 #ifndef __INTEL_COMPILER
12265 #error Not icc
12266 #endif
12267
12268; return 0; }
12269EOF
12270if { (eval echo configure:12271: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12271 rm -rf conftest*
12272 wx_cv_prog_icc=yes
12273else
12274 echo "configure: failed program was:" >&5
12275 cat conftest.$ac_ext >&5
12276 rm -rf conftest*
12277 wx_cv_prog_icc=no
12278
12279fi
12280rm -f conftest*
12281
12282fi
12283
12284echo "$ac_t""$wx_cv_prog_icc" 1>&6
12285 if test "$wx_cv_prog_icc" = "yes"; then
12286 PIC_FLAG="-KPIC"
12287 fi
12288 fi
12289
12290 if test "$wxUSE_SONAME" = "yes" ; then
12291 SONAME_FLAGS="-Wl,-soname,${WX_LIBRARY_LINK1}"
12292 SONAME_FLAGS_GL="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
12293 WX_TARGET_LIBRARY_SONAME="-Wl,-soname,\$(TARGETLIB_LINK1)"
12294 fi
12295 ;;
12296
12297 *-*-solaris2* )
12298 if test "$GCC" = yes ; then
12299 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
12300 else
12301 SHARED_LD="${CXX} -G -o"
12302 PIC_FLAG="-KPIC"
12303 SONAME_FLAGS="-h ${WX_LIBRARY_NAME_SHARED}"
12304 SONAME_FLAGS_GL="-h ${WX_LIBRARY_NAME_SHARED}"
12305 fi
12306 ;;
12307
12308 *-*-darwin* )
12309 CFLAGS="$CFLAGS -fno-common -DDYLIB_INIT"
12310 CXXFLAGS="$CXXFLAGS -fno-common -DDYLIB_INIT"
12311 SHARED_LD="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
12312 PIC_FLAG="-dynamic -fPIC"
12313 ;;
12314
12315 *-*-aix* )
12316 SHARED_LD="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
12317 ;;
12318
12319 *-*-cygwin* | *-*-mingw32* )
12320
12321 WX_LIBRARY_IMPORTLIB="${WX_LIBRARY_NAME_SHARED}.a"
12322
12323 SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
12324 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
12325
12326 PIC_FLAG="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
12327
12328 if test "$wxUSE_OPENGL" = "yes"; then
12329 WX_ALL_INSTALLED="preinstall_gl"
12330 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12331 else
12332 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12333 fi
12334 ;;
12335
12336 *-pc-os2_emx | *-pc-os2-emx )
12337 wxUSE_SHARED=no
12338 ;;
12339
12340 *-*-beos* )
12341 SHARED_LD="${LD} -shared -o"
12342 ;;
12343
12344 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
12345 *-*-sunos4* | \
12346 *-*-irix5* | *-*-irix6* | \
12347 *-*-osf* | \
12348 *-*-dgux5* | \
12349 *-*-sysv5* )
12350 ;;
12351
12352 *)
12353 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
12354 esac
12355
12356 if test "x$WX_TARGET_LIBRARY" = "x"; then
12357 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
12358 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
12359 fi
12360
12361 WX_TARGET_LIBRARY_TYPE="so"
12362 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
12363fi
12364
12365if test "$wxUSE_SHARED" = "no"; then
12366
12367 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
12368 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
12369 fi
12370
12371 if test "$wxUSE_MAC" = 1; then
12372 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
12373 fi
12374
12375 if test "$wxUSE_OPENGL" = "yes"; then
12376 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
12377 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
12378 else
12379 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
12380 fi
12381
12382 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
12383 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
12384
12385 WX_TARGET_LIBRARY_TYPE="a"
12386 INSTALL_LIBRARY='$(INSTALL_DATA)'
12387fi
12388
12389if test "$wxUSE_MAC" = 1; then
12390 WX_ALL="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
12391 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
12392 # Extract the first word of "Rez", so it can be a program name with args.
12393set dummy Rez; ac_word=$2
12394echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12395echo "configure:12396: checking for $ac_word" >&5
12396if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
12397 echo $ac_n "(cached) $ac_c" 1>&6
12398else
12399 if test -n "$RESCOMP"; then
12400 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
12401else
12402 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
12403 ac_dummy="$PATH"
12404 for ac_dir in $ac_dummy; do
12405 test -z "$ac_dir" && ac_dir=.
12406 if test -f $ac_dir/$ac_word; then
12407 ac_cv_prog_RESCOMP="Rez"
12408 break
12409 fi
12410 done
12411 IFS="$ac_save_ifs"
12412 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
12413fi
12414fi
12415RESCOMP="$ac_cv_prog_RESCOMP"
12416if test -n "$RESCOMP"; then
12417 echo "$ac_t""$RESCOMP" 1>&6
12418else
12419 echo "$ac_t""no" 1>&6
12420fi
12421
12422 # Extract the first word of "DeRez", so it can be a program name with args.
12423set dummy DeRez; ac_word=$2
12424echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12425echo "configure:12426: checking for $ac_word" >&5
12426if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
12427 echo $ac_n "(cached) $ac_c" 1>&6
12428else
12429 if test -n "$DEREZ"; then
12430 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
12431else
12432 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
12433 ac_dummy="$PATH"
12434 for ac_dir in $ac_dummy; do
12435 test -z "$ac_dir" && ac_dir=.
12436 if test -f $ac_dir/$ac_word; then
12437 ac_cv_prog_DEREZ="DeRez"
12438 break
12439 fi
12440 done
12441 IFS="$ac_save_ifs"
12442 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
12443fi
12444fi
12445DEREZ="$ac_cv_prog_DEREZ"
12446if test -n "$DEREZ"; then
12447 echo "$ac_t""$DEREZ" 1>&6
12448else
12449 echo "$ac_t""no" 1>&6
12450fi
12451
12452 LIBWXMACRES="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
12453 LIBWXMACRESCOMP="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
12454 LIBWXMACRESWXCONFIG="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
12455fi
12456
12457
12458if test "$wxUSE_MAC" != 1; then
12459 for ac_hdr in strings.h
12460do
12461ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12462echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12463echo "configure:12464: checking for $ac_hdr" >&5
12464if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12465 echo $ac_n "(cached) $ac_c" 1>&6
12466else
12467 cat > conftest.$ac_ext <<EOF
12468#line 12469 "configure"
12469#include "confdefs.h"
12470#include <$ac_hdr>
12471EOF
12472ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12473{ (eval echo configure:12474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12474ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12475if test -z "$ac_err"; then
12476 rm -rf conftest*
12477 eval "ac_cv_header_$ac_safe=yes"
12478else
12479 echo "$ac_err" >&5
12480 echo "configure: failed program was:" >&5
12481 cat conftest.$ac_ext >&5
12482 rm -rf conftest*
12483 eval "ac_cv_header_$ac_safe=no"
12484fi
12485rm -f conftest*
12486fi
12487if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12488 echo "$ac_t""yes" 1>&6
12489 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12490 cat >> confdefs.h <<EOF
12491#define $ac_tr_hdr 1
12492EOF
12493
12494else
12495 echo "$ac_t""no" 1>&6
12496fi
12497done
12498
12499fi
12500
12501for ac_hdr in stdlib.h
12502do
12503ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12504echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12505echo "configure:12506: checking for $ac_hdr" >&5
12506if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12507 echo $ac_n "(cached) $ac_c" 1>&6
12508else
12509 cat > conftest.$ac_ext <<EOF
12510#line 12511 "configure"
12511#include "confdefs.h"
12512#include <$ac_hdr>
12513EOF
12514ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12515{ (eval echo configure:12516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12516ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12517if test -z "$ac_err"; then
12518 rm -rf conftest*
12519 eval "ac_cv_header_$ac_safe=yes"
12520else
12521 echo "$ac_err" >&5
12522 echo "configure: failed program was:" >&5
12523 cat conftest.$ac_ext >&5
12524 rm -rf conftest*
12525 eval "ac_cv_header_$ac_safe=no"
12526fi
12527rm -f conftest*
12528fi
12529if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12530 echo "$ac_t""yes" 1>&6
12531 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12532 cat >> confdefs.h <<EOF
12533#define $ac_tr_hdr 1
12534EOF
12535
12536else
12537 echo "$ac_t""no" 1>&6
12538fi
12539done
12540
12541for ac_hdr in malloc.h
12542do
12543ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12544echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12545echo "configure:12546: checking for $ac_hdr" >&5
12546if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12547 echo $ac_n "(cached) $ac_c" 1>&6
12548else
12549 cat > conftest.$ac_ext <<EOF
12550#line 12551 "configure"
12551#include "confdefs.h"
12552#include <$ac_hdr>
12553EOF
12554ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12555{ (eval echo configure:12556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12556ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12557if test -z "$ac_err"; then
12558 rm -rf conftest*
12559 eval "ac_cv_header_$ac_safe=yes"
12560else
12561 echo "$ac_err" >&5
12562 echo "configure: failed program was:" >&5
12563 cat conftest.$ac_ext >&5
12564 rm -rf conftest*
12565 eval "ac_cv_header_$ac_safe=no"
12566fi
12567rm -f conftest*
12568fi
12569if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12570 echo "$ac_t""yes" 1>&6
12571 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12572 cat >> confdefs.h <<EOF
12573#define $ac_tr_hdr 1
12574EOF
12575
12576else
12577 echo "$ac_t""no" 1>&6
12578fi
12579done
12580
12581for ac_hdr in unistd.h
12582do
12583ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12584echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12585echo "configure:12586: checking for $ac_hdr" >&5
12586if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12587 echo $ac_n "(cached) $ac_c" 1>&6
12588else
12589 cat > conftest.$ac_ext <<EOF
12590#line 12591 "configure"
12591#include "confdefs.h"
12592#include <$ac_hdr>
12593EOF
12594ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12595{ (eval echo configure:12596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12596ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12597if test -z "$ac_err"; then
12598 rm -rf conftest*
12599 eval "ac_cv_header_$ac_safe=yes"
12600else
12601 echo "$ac_err" >&5
12602 echo "configure: failed program was:" >&5
12603 cat conftest.$ac_ext >&5
12604 rm -rf conftest*
12605 eval "ac_cv_header_$ac_safe=no"
12606fi
12607rm -f conftest*
12608fi
12609if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12610 echo "$ac_t""yes" 1>&6
12611 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12612 cat >> confdefs.h <<EOF
12613#define $ac_tr_hdr 1
12614EOF
12615
12616else
12617 echo "$ac_t""no" 1>&6
12618fi
12619done
12620
12621for ac_hdr in wchar.h
12622do
12623ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12624echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12625echo "configure:12626: checking for $ac_hdr" >&5
12626if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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#include <$ac_hdr>
12633EOF
12634ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12635{ (eval echo configure:12636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12636ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12637if test -z "$ac_err"; then
12638 rm -rf conftest*
12639 eval "ac_cv_header_$ac_safe=yes"
12640else
12641 echo "$ac_err" >&5
12642 echo "configure: failed program was:" >&5
12643 cat conftest.$ac_ext >&5
12644 rm -rf conftest*
12645 eval "ac_cv_header_$ac_safe=no"
12646fi
12647rm -f conftest*
12648fi
12649if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12650 echo "$ac_t""yes" 1>&6
12651 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12652 cat >> confdefs.h <<EOF
12653#define $ac_tr_hdr 1
12654EOF
12655
12656else
12657 echo "$ac_t""no" 1>&6
12658fi
12659done
12660
12661for ac_hdr in wcstr.h
12662do
12663ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12664echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12665echo "configure:12666: checking for $ac_hdr" >&5
12666if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12667 echo $ac_n "(cached) $ac_c" 1>&6
12668else
12669 cat > conftest.$ac_ext <<EOF
12670#line 12671 "configure"
12671#include "confdefs.h"
12672#include <$ac_hdr>
12673EOF
12674ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12675{ (eval echo configure:12676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12676ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12677if test -z "$ac_err"; then
12678 rm -rf conftest*
12679 eval "ac_cv_header_$ac_safe=yes"
12680else
12681 echo "$ac_err" >&5
12682 echo "configure: failed program was:" >&5
12683 cat conftest.$ac_ext >&5
12684 rm -rf conftest*
12685 eval "ac_cv_header_$ac_safe=no"
12686fi
12687rm -f conftest*
12688fi
12689if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12690 echo "$ac_t""yes" 1>&6
12691 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12692 cat >> confdefs.h <<EOF
12693#define $ac_tr_hdr 1
12694EOF
12695
12696else
12697 echo "$ac_t""no" 1>&6
12698fi
12699done
12700
12701for ac_hdr in wctype.h
12702do
12703ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12704echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12705echo "configure:12706: checking for $ac_hdr" >&5
12706if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12707 echo $ac_n "(cached) $ac_c" 1>&6
12708else
12709 cat > conftest.$ac_ext <<EOF
12710#line 12711 "configure"
12711#include "confdefs.h"
12712#include <$ac_hdr>
12713EOF
12714ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12715{ (eval echo configure:12716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12716ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12717if test -z "$ac_err"; then
12718 rm -rf conftest*
12719 eval "ac_cv_header_$ac_safe=yes"
12720else
12721 echo "$ac_err" >&5
12722 echo "configure: failed program was:" >&5
12723 cat conftest.$ac_ext >&5
12724 rm -rf conftest*
12725 eval "ac_cv_header_$ac_safe=no"
12726fi
12727rm -f conftest*
12728fi
12729if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12730 echo "$ac_t""yes" 1>&6
12731 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12732 cat >> confdefs.h <<EOF
12733#define $ac_tr_hdr 1
12734EOF
12735
12736else
12737 echo "$ac_t""no" 1>&6
12738fi
12739done
12740
12741for ac_hdr in fnmatch.h
12742do
12743ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12744echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12745echo "configure:12746: checking for $ac_hdr" >&5
12746if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12747 echo $ac_n "(cached) $ac_c" 1>&6
12748else
12749 cat > conftest.$ac_ext <<EOF
12750#line 12751 "configure"
12751#include "confdefs.h"
12752#include <$ac_hdr>
12753EOF
12754ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12755{ (eval echo configure:12756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12756ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12757if test -z "$ac_err"; then
12758 rm -rf conftest*
12759 eval "ac_cv_header_$ac_safe=yes"
12760else
12761 echo "$ac_err" >&5
12762 echo "configure: failed program was:" >&5
12763 cat conftest.$ac_ext >&5
12764 rm -rf conftest*
12765 eval "ac_cv_header_$ac_safe=no"
12766fi
12767rm -f conftest*
12768fi
12769if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12770 echo "$ac_t""yes" 1>&6
12771 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12772 cat >> confdefs.h <<EOF
12773#define $ac_tr_hdr 1
12774EOF
12775
12776else
12777 echo "$ac_t""no" 1>&6
12778fi
12779done
12780
12781for ac_hdr in iconv.h
12782do
12783ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12784echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12785echo "configure:12786: checking for $ac_hdr" >&5
12786if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12787 echo $ac_n "(cached) $ac_c" 1>&6
12788else
12789 cat > conftest.$ac_ext <<EOF
12790#line 12791 "configure"
12791#include "confdefs.h"
12792#include <$ac_hdr>
12793EOF
12794ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12795{ (eval echo configure:12796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12796ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12797if test -z "$ac_err"; then
12798 rm -rf conftest*
12799 eval "ac_cv_header_$ac_safe=yes"
12800else
12801 echo "$ac_err" >&5
12802 echo "configure: failed program was:" >&5
12803 cat conftest.$ac_ext >&5
12804 rm -rf conftest*
12805 eval "ac_cv_header_$ac_safe=no"
12806fi
12807rm -f conftest*
12808fi
12809if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12810 echo "$ac_t""yes" 1>&6
12811 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12812 cat >> confdefs.h <<EOF
12813#define $ac_tr_hdr 1
12814EOF
12815
12816else
12817 echo "$ac_t""no" 1>&6
12818fi
12819done
12820
12821for ac_hdr in langinfo.h
12822do
12823ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12824echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12825echo "configure:12826: checking for $ac_hdr" >&5
12826if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12827 echo $ac_n "(cached) $ac_c" 1>&6
12828else
12829 cat > conftest.$ac_ext <<EOF
12830#line 12831 "configure"
12831#include "confdefs.h"
12832#include <$ac_hdr>
12833EOF
12834ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12835{ (eval echo configure:12836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12836ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12837if test -z "$ac_err"; then
12838 rm -rf conftest*
12839 eval "ac_cv_header_$ac_safe=yes"
12840else
12841 echo "$ac_err" >&5
12842 echo "configure: failed program was:" >&5
12843 cat conftest.$ac_ext >&5
12844 rm -rf conftest*
12845 eval "ac_cv_header_$ac_safe=no"
12846fi
12847rm -f conftest*
12848fi
12849if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12850 echo "$ac_t""yes" 1>&6
12851 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12852 cat >> confdefs.h <<EOF
12853#define $ac_tr_hdr 1
12854EOF
12855
12856else
12857 echo "$ac_t""no" 1>&6
12858fi
12859done
12860
12861
12862if test "$wxUSE_GUI" = "yes"; then
12863 if test "$wxUSE_UNIX" = "yes"; then
12864 for ac_hdr in X11/XKBlib.h
12865do
12866ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12867echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12868echo "configure:12869: checking for $ac_hdr" >&5
12869if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12870 echo $ac_n "(cached) $ac_c" 1>&6
12871else
12872 cat > conftest.$ac_ext <<EOF
12873#line 12874 "configure"
12874#include "confdefs.h"
12875#include <$ac_hdr>
12876EOF
12877ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12878{ (eval echo configure:12879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12879ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12880if test -z "$ac_err"; then
12881 rm -rf conftest*
12882 eval "ac_cv_header_$ac_safe=yes"
12883else
12884 echo "$ac_err" >&5
12885 echo "configure: failed program was:" >&5
12886 cat conftest.$ac_ext >&5
12887 rm -rf conftest*
12888 eval "ac_cv_header_$ac_safe=no"
12889fi
12890rm -f conftest*
12891fi
12892if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12893 echo "$ac_t""yes" 1>&6
12894 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12895 cat >> confdefs.h <<EOF
12896#define $ac_tr_hdr 1
12897EOF
12898
12899else
12900 echo "$ac_t""no" 1>&6
12901fi
12902done
12903
12904 fi
12905fi
12906
12907
12908echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
12909echo "configure:12910: checking for ANSI C header files" >&5
12910if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
12911 echo $ac_n "(cached) $ac_c" 1>&6
12912else
12913 cat > conftest.$ac_ext <<EOF
12914#line 12915 "configure"
12915#include "confdefs.h"
12916#include <stdlib.h>
12917#include <stdarg.h>
12918#include <string.h>
12919#include <float.h>
12920EOF
12921ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12922{ (eval echo configure:12923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12923ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12924if test -z "$ac_err"; then
12925 rm -rf conftest*
12926 ac_cv_header_stdc=yes
12927else
12928 echo "$ac_err" >&5
12929 echo "configure: failed program was:" >&5
12930 cat conftest.$ac_ext >&5
12931 rm -rf conftest*
12932 ac_cv_header_stdc=no
12933fi
12934rm -f conftest*
12935
12936if test $ac_cv_header_stdc = yes; then
12937 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12938cat > conftest.$ac_ext <<EOF
12939#line 12940 "configure"
12940#include "confdefs.h"
12941#include <string.h>
12942EOF
12943if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12944 egrep "memchr" >/dev/null 2>&1; then
12945 :
12946else
12947 rm -rf conftest*
12948 ac_cv_header_stdc=no
12949fi
12950rm -f conftest*
12951
12952fi
12953
12954if test $ac_cv_header_stdc = yes; then
12955 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12956cat > conftest.$ac_ext <<EOF
12957#line 12958 "configure"
12958#include "confdefs.h"
12959#include <stdlib.h>
12960EOF
12961if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12962 egrep "free" >/dev/null 2>&1; then
12963 :
12964else
12965 rm -rf conftest*
12966 ac_cv_header_stdc=no
12967fi
12968rm -f conftest*
12969
12970fi
12971
12972if test $ac_cv_header_stdc = yes; then
12973 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12974if test "$cross_compiling" = yes; then
12975 :
12976else
12977 cat > conftest.$ac_ext <<EOF
12978#line 12979 "configure"
12979#include "confdefs.h"
12980#include <ctype.h>
12981#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12982#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12983#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12984int main () { int i; for (i = 0; i < 256; i++)
12985if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
12986exit (0); }
12987
12988EOF
12989if { (eval echo configure:12990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
12990then
12991 :
12992else
12993 echo "configure: failed program was:" >&5
12994 cat conftest.$ac_ext >&5
12995 rm -fr conftest*
12996 ac_cv_header_stdc=no
12997fi
12998rm -fr conftest*
12999fi
13000
13001fi
13002fi
13003
13004echo "$ac_t""$ac_cv_header_stdc" 1>&6
13005if test $ac_cv_header_stdc = yes; then
13006 cat >> confdefs.h <<\EOF
13007#define STDC_HEADERS 1
13008EOF
13009
13010fi
13011
13012echo $ac_n "checking for mode_t""... $ac_c" 1>&6
13013echo "configure:13014: checking for mode_t" >&5
13014if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
13015 echo $ac_n "(cached) $ac_c" 1>&6
13016else
13017 cat > conftest.$ac_ext <<EOF
13018#line 13019 "configure"
13019#include "confdefs.h"
13020#include <sys/types.h>
13021#if STDC_HEADERS
13022#include <stdlib.h>
13023#include <stddef.h>
13024#endif
13025EOF
13026if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13027 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
13028 rm -rf conftest*
13029 ac_cv_type_mode_t=yes
13030else
13031 rm -rf conftest*
13032 ac_cv_type_mode_t=no
13033fi
13034rm -f conftest*
13035
13036fi
13037echo "$ac_t""$ac_cv_type_mode_t" 1>&6
13038if test $ac_cv_type_mode_t = no; then
13039 cat >> confdefs.h <<\EOF
13040#define mode_t int
13041EOF
13042
13043fi
13044
13045echo $ac_n "checking for off_t""... $ac_c" 1>&6
13046echo "configure:13047: checking for off_t" >&5
13047if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
13048 echo $ac_n "(cached) $ac_c" 1>&6
13049else
13050 cat > conftest.$ac_ext <<EOF
13051#line 13052 "configure"
13052#include "confdefs.h"
13053#include <sys/types.h>
13054#if STDC_HEADERS
13055#include <stdlib.h>
13056#include <stddef.h>
13057#endif
13058EOF
13059if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13060 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
13061 rm -rf conftest*
13062 ac_cv_type_off_t=yes
13063else
13064 rm -rf conftest*
13065 ac_cv_type_off_t=no
13066fi
13067rm -f conftest*
13068
13069fi
13070echo "$ac_t""$ac_cv_type_off_t" 1>&6
13071if test $ac_cv_type_off_t = no; then
13072 cat >> confdefs.h <<\EOF
13073#define off_t long
13074EOF
13075
13076fi
13077
13078echo $ac_n "checking for pid_t""... $ac_c" 1>&6
13079echo "configure:13080: checking for pid_t" >&5
13080if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
13081 echo $ac_n "(cached) $ac_c" 1>&6
13082else
13083 cat > conftest.$ac_ext <<EOF
13084#line 13085 "configure"
13085#include "confdefs.h"
13086#include <sys/types.h>
13087#if STDC_HEADERS
13088#include <stdlib.h>
13089#include <stddef.h>
13090#endif
13091EOF
13092if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13093 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
13094 rm -rf conftest*
13095 ac_cv_type_pid_t=yes
13096else
13097 rm -rf conftest*
13098 ac_cv_type_pid_t=no
13099fi
13100rm -f conftest*
13101
13102fi
13103echo "$ac_t""$ac_cv_type_pid_t" 1>&6
13104if test $ac_cv_type_pid_t = no; then
13105 cat >> confdefs.h <<\EOF
13106#define pid_t int
13107EOF
13108
13109fi
13110
13111echo $ac_n "checking for size_t""... $ac_c" 1>&6
13112echo "configure:13113: checking for size_t" >&5
13113if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
13114 echo $ac_n "(cached) $ac_c" 1>&6
13115else
13116 cat > conftest.$ac_ext <<EOF
13117#line 13118 "configure"
13118#include "confdefs.h"
13119#include <sys/types.h>
13120#if STDC_HEADERS
13121#include <stdlib.h>
13122#include <stddef.h>
13123#endif
13124EOF
13125if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13126 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
13127 rm -rf conftest*
13128 ac_cv_type_size_t=yes
13129else
13130 rm -rf conftest*
13131 ac_cv_type_size_t=no
13132fi
13133rm -f conftest*
13134
13135fi
13136echo "$ac_t""$ac_cv_type_size_t" 1>&6
13137if test $ac_cv_type_size_t = no; then
13138 cat >> confdefs.h <<\EOF
13139#define size_t unsigned
13140EOF
13141
13142fi
13143
13144echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
13145echo "configure:13146: checking for uid_t in sys/types.h" >&5
13146if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
13147 echo $ac_n "(cached) $ac_c" 1>&6
13148else
13149 cat > conftest.$ac_ext <<EOF
13150#line 13151 "configure"
13151#include "confdefs.h"
13152#include <sys/types.h>
13153EOF
13154if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13155 egrep "uid_t" >/dev/null 2>&1; then
13156 rm -rf conftest*
13157 ac_cv_type_uid_t=yes
13158else
13159 rm -rf conftest*
13160 ac_cv_type_uid_t=no
13161fi
13162rm -f conftest*
13163
13164fi
13165
13166echo "$ac_t""$ac_cv_type_uid_t" 1>&6
13167if test $ac_cv_type_uid_t = no; then
13168 cat >> confdefs.h <<\EOF
13169#define uid_t int
13170EOF
13171
13172 cat >> confdefs.h <<\EOF
13173#define gid_t int
13174EOF
13175
13176fi
13177
13178
13179echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
13180echo "configure:13181: checking for wchar_t" >&5
13181if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
13182 echo $ac_n "(cached) $ac_c" 1>&6
13183else
13184
13185 cat > conftest.$ac_ext <<EOF
13186#line 13187 "configure"
13187#include "confdefs.h"
13188
13189 #ifdef HAVE_WCHAR_H
13190 # ifdef __CYGWIN__
13191 # include <stddef.h>
13192 # endif
13193 # include <wchar.h>
13194 #endif
13195 #ifdef HAVE_STDLIB_H
13196 # include <stdlib.h>
13197 #endif
13198
13199int main() {
13200
13201 wchar_t wc, *ws;
13202 wc = L'a';
13203 ws = L"Hello, world!";
13204
13205; return 0; }
13206EOF
13207if { (eval echo configure:13208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13208 rm -rf conftest*
13209 wx_cv_type_wchar_t=yes
13210else
13211 echo "configure: failed program was:" >&5
13212 cat conftest.$ac_ext >&5
13213 rm -rf conftest*
13214 wx_cv_type_wchar_t=no
13215
13216fi
13217rm -f conftest*
13218
13219fi
13220
13221echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
13222
13223if test "$wx_cv_type_wchar_t" = "yes"; then
13224 cat >> confdefs.h <<\EOF
13225#define wxUSE_WCHAR_T 1
13226EOF
13227
13228fi
13229
13230
13231ac_ext=C
13232# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13233ac_cpp='$CXXCPP $CPPFLAGS'
13234ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13235ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13236cross_compiling=$ac_cv_prog_cxx_cross
13237
13238echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
13239echo "configure:13240: checking if size_t is unsigned int" >&5
13240if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
13241 echo $ac_n "(cached) $ac_c" 1>&6
13242else
13243 cat > conftest.$ac_ext <<EOF
13244#line 13245 "configure"
13245#include "confdefs.h"
13246#include <stddef.h>
13247int main() {
13248
13249 return 0; }
13250
13251 struct Foo { void foo(size_t); void foo(unsigned int); };
13252
13253 int bar() {
13254
13255; return 0; }
13256EOF
13257if { (eval echo configure:13258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13258 rm -rf conftest*
13259 wx_cv_size_t_is_uint=no
13260else
13261 echo "configure: failed program was:" >&5
13262 cat conftest.$ac_ext >&5
13263 rm -rf conftest*
13264 wx_cv_size_t_is_uint=yes
13265
13266fi
13267rm -f conftest*
13268
13269fi
13270
13271echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
13272
13273if test "$wx_cv_size_t_is_uint" = "yes"; then
13274 cat >> confdefs.h <<\EOF
13275#define wxSIZE_T_IS_UINT 1
13276EOF
13277
13278else
13279 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
13280echo "configure:13281: checking if size_t is unsigned long" >&5
13281if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
13282 echo $ac_n "(cached) $ac_c" 1>&6
13283else
13284 cat > conftest.$ac_ext <<EOF
13285#line 13286 "configure"
13286#include "confdefs.h"
13287#include <stddef.h>
13288int main() {
13289
13290 return 0; }
13291
13292 struct Foo { void foo(size_t); void foo(unsigned long); };
13293
13294 int bar() {
13295
13296; return 0; }
13297EOF
13298if { (eval echo configure:13299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13299 rm -rf conftest*
13300 wx_cv_size_t_is_ulong=no
13301else
13302 echo "configure: failed program was:" >&5
13303 cat conftest.$ac_ext >&5
13304 rm -rf conftest*
13305 wx_cv_size_t_is_ulong=yes
13306
13307fi
13308rm -f conftest*
13309
13310fi
13311
13312echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
13313
13314 if test "$wx_cv_size_t_is_ulong" = "yes"; then
13315 cat >> confdefs.h <<\EOF
13316#define wxSIZE_T_IS_ULONG 1
13317EOF
13318
13319 fi
13320fi
13321
13322ac_ext=c
13323# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13324ac_cpp='$CPP $CPPFLAGS'
13325ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13326ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13327cross_compiling=$ac_cv_prog_cc_cross
13328
13329
13330
13331echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
13332echo "configure:13333: checking for pw_gecos in struct passwd" >&5
13333if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
13334 echo $ac_n "(cached) $ac_c" 1>&6
13335else
13336
13337 cat > conftest.$ac_ext <<EOF
13338#line 13339 "configure"
13339#include "confdefs.h"
13340#include <pwd.h>
13341int main() {
13342
13343 char *p;
13344 struct passwd *pw;
13345 p = pw->pw_gecos;
13346
13347; return 0; }
13348EOF
13349if { (eval echo configure:13350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13350 rm -rf conftest*
13351
13352 wx_cv_struct_pw_gecos=yes
13353
13354else
13355 echo "configure: failed program was:" >&5
13356 cat conftest.$ac_ext >&5
13357 rm -rf conftest*
13358
13359 wx_cv_struct_pw_gecos=no
13360
13361
13362fi
13363rm -f conftest*
13364
13365
13366fi
13367
13368echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
13369
13370if test "$wx_cv_struct_pw_gecos" = "yes"; then
13371 cat >> confdefs.h <<\EOF
13372#define HAVE_PW_GECOS 1
13373EOF
13374
13375fi
13376
13377
13378echo $ac_n "checking for working const""... $ac_c" 1>&6
13379echo "configure:13380: checking for working const" >&5
13380if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
13381 echo $ac_n "(cached) $ac_c" 1>&6
13382else
13383 cat > conftest.$ac_ext <<EOF
13384#line 13385 "configure"
13385#include "confdefs.h"
13386
13387int main() {
13388
13389/* Ultrix mips cc rejects this. */
13390typedef int charset[2]; const charset x;
13391/* SunOS 4.1.1 cc rejects this. */
13392char const *const *ccp;
13393char **p;
13394/* NEC SVR4.0.2 mips cc rejects this. */
13395struct point {int x, y;};
13396static struct point const zero = {0,0};
13397/* AIX XL C 1.02.0.0 rejects this.
13398 It does not let you subtract one const X* pointer from another in an arm
13399 of an if-expression whose if-part is not a constant expression */
13400const char *g = "string";
13401ccp = &g + (g ? g-g : 0);
13402/* HPUX 7.0 cc rejects these. */
13403++ccp;
13404p = (char**) ccp;
13405ccp = (char const *const *) p;
13406{ /* SCO 3.2v4 cc rejects this. */
13407 char *t;
13408 char const *s = 0 ? (char *) 0 : (char const *) 0;
13409
13410 *t++ = 0;
13411}
13412{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13413 int x[] = {25, 17};
13414 const int *foo = &x[0];
13415 ++foo;
13416}
13417{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13418 typedef const int *iptr;
13419 iptr p = 0;
13420 ++p;
13421}
13422{ /* AIX XL C 1.02.0.0 rejects this saying
13423 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13424 struct s { int j; const int *ap[3]; };
13425 struct s *b; b->j = 5;
13426}
13427{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13428 const int foo = 10;
13429}
13430
13431; return 0; }
13432EOF
13433if { (eval echo configure:13434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13434 rm -rf conftest*
13435 ac_cv_c_const=yes
13436else
13437 echo "configure: failed program was:" >&5
13438 cat conftest.$ac_ext >&5
13439 rm -rf conftest*
13440 ac_cv_c_const=no
13441fi
13442rm -f conftest*
13443fi
13444
13445echo "$ac_t""$ac_cv_c_const" 1>&6
13446if test $ac_cv_c_const = no; then
13447 cat >> confdefs.h <<\EOF
13448#define const
13449EOF
13450
13451fi
13452
13453echo $ac_n "checking for inline""... $ac_c" 1>&6
13454echo "configure:13455: checking for inline" >&5
13455if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
13456 echo $ac_n "(cached) $ac_c" 1>&6
13457else
13458 ac_cv_c_inline=no
13459for ac_kw in inline __inline__ __inline; do
13460 cat > conftest.$ac_ext <<EOF
13461#line 13462 "configure"
13462#include "confdefs.h"
13463
13464int main() {
13465} $ac_kw foo() {
13466; return 0; }
13467EOF
13468if { (eval echo configure:13469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13469 rm -rf conftest*
13470 ac_cv_c_inline=$ac_kw; break
13471else
13472 echo "configure: failed program was:" >&5
13473 cat conftest.$ac_ext >&5
13474fi
13475rm -f conftest*
13476done
13477
13478fi
13479
13480echo "$ac_t""$ac_cv_c_inline" 1>&6
13481case "$ac_cv_c_inline" in
13482 inline | yes) ;;
13483 no) cat >> confdefs.h <<\EOF
13484#define inline
13485EOF
13486 ;;
13487 *) cat >> confdefs.h <<EOF
13488#define inline $ac_cv_c_inline
13489EOF
13490 ;;
13491esac
13492
13493
13494echo $ac_n "checking size of char""... $ac_c" 1>&6
13495echo "configure:13496: checking size of char" >&5
13496if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
13497 echo $ac_n "(cached) $ac_c" 1>&6
13498else
13499 if test "$cross_compiling" = yes; then
13500 ac_cv_sizeof_char=1
13501else
13502 cat > conftest.$ac_ext <<EOF
13503#line 13504 "configure"
13504#include "confdefs.h"
13505#include <stdio.h>
13506main()
13507{
13508 FILE *f=fopen("conftestval", "w");
13509 if (!f) exit(1);
13510 fprintf(f, "%d\n", sizeof(char));
13511 exit(0);
13512}
13513EOF
13514if { (eval echo configure:13515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
13515then
13516 ac_cv_sizeof_char=`cat conftestval`
13517else
13518 echo "configure: failed program was:" >&5
13519 cat conftest.$ac_ext >&5
13520 rm -fr conftest*
13521 ac_cv_sizeof_char=0
13522fi
13523rm -fr conftest*
13524fi
13525
13526fi
13527echo "$ac_t""$ac_cv_sizeof_char" 1>&6
13528cat >> confdefs.h <<EOF
13529#define SIZEOF_CHAR $ac_cv_sizeof_char
13530EOF
13531
13532
13533echo $ac_n "checking size of short""... $ac_c" 1>&6
13534echo "configure:13535: checking size of short" >&5
13535if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
13536 echo $ac_n "(cached) $ac_c" 1>&6
13537else
13538 if test "$cross_compiling" = yes; then
13539 ac_cv_sizeof_short=2
13540else
13541 cat > conftest.$ac_ext <<EOF
13542#line 13543 "configure"
13543#include "confdefs.h"
13544#include <stdio.h>
13545main()
13546{
13547 FILE *f=fopen("conftestval", "w");
13548 if (!f) exit(1);
13549 fprintf(f, "%d\n", sizeof(short));
13550 exit(0);
13551}
13552EOF
13553if { (eval echo configure:13554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
13554then
13555 ac_cv_sizeof_short=`cat conftestval`
13556else
13557 echo "configure: failed program was:" >&5
13558 cat conftest.$ac_ext >&5
13559 rm -fr conftest*
13560 ac_cv_sizeof_short=0
13561fi
13562rm -fr conftest*
13563fi
13564
13565fi
13566echo "$ac_t""$ac_cv_sizeof_short" 1>&6
13567cat >> confdefs.h <<EOF
13568#define SIZEOF_SHORT $ac_cv_sizeof_short
13569EOF
13570
13571
13572echo $ac_n "checking size of int *""... $ac_c" 1>&6
13573echo "configure:13574: checking size of int *" >&5
13574if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
13575 echo $ac_n "(cached) $ac_c" 1>&6
13576else
13577 if test "$cross_compiling" = yes; then
13578 ac_cv_sizeof_int_p=4
13579else
13580 cat > conftest.$ac_ext <<EOF
13581#line 13582 "configure"
13582#include "confdefs.h"
13583#include <stdio.h>
13584main()
13585{
13586 FILE *f=fopen("conftestval", "w");
13587 if (!f) exit(1);
13588 fprintf(f, "%d\n", sizeof(int *));
13589 exit(0);
13590}
13591EOF
13592if { (eval echo configure:13593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
13593then
13594 ac_cv_sizeof_int_p=`cat conftestval`
13595else
13596 echo "configure: failed program was:" >&5
13597 cat conftest.$ac_ext >&5
13598 rm -fr conftest*
13599 ac_cv_sizeof_int_p=0
13600fi
13601rm -fr conftest*
13602fi
13603
13604fi
13605echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
13606cat >> confdefs.h <<EOF
13607#define SIZEOF_INT_P $ac_cv_sizeof_int_p
13608EOF
13609
13610
13611echo $ac_n "checking size of int""... $ac_c" 1>&6
13612echo "configure:13613: checking size of int" >&5
13613if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
13614 echo $ac_n "(cached) $ac_c" 1>&6
13615else
13616 if test "$cross_compiling" = yes; then
13617 ac_cv_sizeof_int=4
13618else
13619 cat > conftest.$ac_ext <<EOF
13620#line 13621 "configure"
13621#include "confdefs.h"
13622#include <stdio.h>
13623main()
13624{
13625 FILE *f=fopen("conftestval", "w");
13626 if (!f) exit(1);
13627 fprintf(f, "%d\n", sizeof(int));
13628 exit(0);
13629}
13630EOF
13631if { (eval echo configure:13632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
13632then
13633 ac_cv_sizeof_int=`cat conftestval`
13634else
13635 echo "configure: failed program was:" >&5
13636 cat conftest.$ac_ext >&5
13637 rm -fr conftest*
13638 ac_cv_sizeof_int=0
13639fi
13640rm -fr conftest*
13641fi
13642
13643fi
13644echo "$ac_t""$ac_cv_sizeof_int" 1>&6
13645cat >> confdefs.h <<EOF
13646#define SIZEOF_INT $ac_cv_sizeof_int
13647EOF
13648
13649
13650echo $ac_n "checking size of long""... $ac_c" 1>&6
13651echo "configure:13652: checking size of long" >&5
13652if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
13653 echo $ac_n "(cached) $ac_c" 1>&6
13654else
13655 if test "$cross_compiling" = yes; then
13656 ac_cv_sizeof_long=4
13657else
13658 cat > conftest.$ac_ext <<EOF
13659#line 13660 "configure"
13660#include "confdefs.h"
13661#include <stdio.h>
13662main()
13663{
13664 FILE *f=fopen("conftestval", "w");
13665 if (!f) exit(1);
13666 fprintf(f, "%d\n", sizeof(long));
13667 exit(0);
13668}
13669EOF
13670if { (eval echo configure:13671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
13671then
13672 ac_cv_sizeof_long=`cat conftestval`
13673else
13674 echo "configure: failed program was:" >&5
13675 cat conftest.$ac_ext >&5
13676 rm -fr conftest*
13677 ac_cv_sizeof_long=0
13678fi
13679rm -fr conftest*
13680fi
13681
13682fi
13683echo "$ac_t""$ac_cv_sizeof_long" 1>&6
13684cat >> confdefs.h <<EOF
13685#define SIZEOF_LONG $ac_cv_sizeof_long
13686EOF
13687
13688
13689echo $ac_n "checking size of long long""... $ac_c" 1>&6
13690echo "configure:13691: checking size of long long" >&5
13691if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
13692 echo $ac_n "(cached) $ac_c" 1>&6
13693else
13694 if test "$cross_compiling" = yes; then
13695 ac_cv_sizeof_long_long=0
13696else
13697 cat > conftest.$ac_ext <<EOF
13698#line 13699 "configure"
13699#include "confdefs.h"
13700#include <stdio.h>
13701main()
13702{
13703 FILE *f=fopen("conftestval", "w");
13704 if (!f) exit(1);
13705 fprintf(f, "%d\n", sizeof(long long));
13706 exit(0);
13707}
13708EOF
13709if { (eval echo configure:13710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
13710then
13711 ac_cv_sizeof_long_long=`cat conftestval`
13712else
13713 echo "configure: failed program was:" >&5
13714 cat conftest.$ac_ext >&5
13715 rm -fr conftest*
13716 ac_cv_sizeof_long_long=0
13717fi
13718rm -fr conftest*
13719fi
13720
13721fi
13722echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
13723cat >> confdefs.h <<EOF
13724#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13725EOF
13726
13727
13728
13729echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
13730echo "configure:13731: checking size of wchar_t" >&5
13731if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
13732 echo $ac_n "(cached) $ac_c" 1>&6
13733else
13734
13735 if test "$cross_compiling" = yes; then
13736 wx_cv_sizeof_wchar_t=4
13737
13738else
13739 cat > conftest.$ac_ext <<EOF
13740#line 13741 "configure"
13741#include "confdefs.h"
13742
13743 #ifdef HAVE_WCHAR_H
13744 # ifdef __CYGWIN__
13745 # include <stddef.h>
13746 # endif
13747 # include <wchar.h>
13748 #endif
13749 #ifdef HAVE_STDLIB_H
13750 # include <stdlib.h>
13751 #endif
13752 #include <stdio.h>
13753 int main()
13754 {
13755 FILE *f=fopen("conftestval", "w");
13756 if (!f) exit(1);
13757 fprintf(f, "%i", sizeof(wchar_t));
13758 exit(0);
13759 }
13760
13761EOF
13762if { (eval echo configure:13763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
13763then
13764 wx_cv_sizeof_wchar_t=`cat conftestval`
13765else
13766 echo "configure: failed program was:" >&5
13767 cat conftest.$ac_ext >&5
13768 rm -fr conftest*
13769 wx_cv_sizeof_wchar_t=0
13770fi
13771rm -fr conftest*
13772fi
13773
13774
13775fi
13776
13777echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
13778
13779cat >> confdefs.h <<EOF
13780#define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
13781EOF
13782
13783
13784echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
13785echo "configure:13786: checking whether byte ordering is bigendian" >&5
13786if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
13787 echo $ac_n "(cached) $ac_c" 1>&6
13788else
13789 ac_cv_c_bigendian=unknown
13790# See if sys/param.h defines the BYTE_ORDER macro.
13791cat > conftest.$ac_ext <<EOF
13792#line 13793 "configure"
13793#include "confdefs.h"
13794#include <sys/types.h>
13795#include <sys/param.h>
13796int main() {
13797
13798#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
13799 bogus endian macros
13800#endif
13801; return 0; }
13802EOF
13803if { (eval echo configure:13804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13804 rm -rf conftest*
13805 # It does; now see whether it defined to BIG_ENDIAN or not.
13806cat > conftest.$ac_ext <<EOF
13807#line 13808 "configure"
13808#include "confdefs.h"
13809#include <sys/types.h>
13810#include <sys/param.h>
13811int main() {
13812
13813#if BYTE_ORDER != BIG_ENDIAN
13814 not big endian
13815#endif
13816; return 0; }
13817EOF
13818if { (eval echo configure:13819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13819 rm -rf conftest*
13820 ac_cv_c_bigendian=yes
13821else
13822 echo "configure: failed program was:" >&5
13823 cat conftest.$ac_ext >&5
13824 rm -rf conftest*
13825 ac_cv_c_bigendian=no
13826fi
13827rm -f conftest*
13828else
13829 echo "configure: failed program was:" >&5
13830 cat conftest.$ac_ext >&5
13831fi
13832rm -f conftest*
13833if test $ac_cv_c_bigendian = unknown; then
13834if test "$cross_compiling" = yes; then
13835 ac_cv_c_bigendian=unknown
13836else
13837 cat > conftest.$ac_ext <<EOF
13838#line 13839 "configure"
13839#include "confdefs.h"
13840main () {
13841 /* Are we little or big endian? From Harbison&Steele. */
13842 union
13843 {
13844 long l;
13845 char c[sizeof (long)];
13846 } u;
13847 u.l = 1;
13848 exit (u.c[sizeof (long) - 1] == 1);
13849}
13850EOF
13851if { (eval echo configure:13852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
13852then
13853 ac_cv_c_bigendian=no
13854else
13855 echo "configure: failed program was:" >&5
13856 cat conftest.$ac_ext >&5
13857 rm -fr conftest*
13858 ac_cv_c_bigendian=yes
13859fi
13860rm -fr conftest*
13861fi
13862
13863fi
13864fi
13865
13866echo "$ac_t""$ac_cv_c_bigendian" 1>&6
13867if test $ac_cv_c_bigendian = unknown; then
13868 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
13869fi
13870if test $ac_cv_c_bigendian = yes; then
13871 cat >> confdefs.h <<\EOF
13872#define WORDS_BIGENDIAN 1
13873EOF
13874
13875fi
13876
13877
13878echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
13879echo "configure:13880: checking how to run the C++ preprocessor" >&5
13880if test -z "$CXXCPP"; then
13881if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
13882 echo $ac_n "(cached) $ac_c" 1>&6
13883else
13884 ac_ext=C
13885# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13886ac_cpp='$CXXCPP $CPPFLAGS'
13887ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13888ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13889cross_compiling=$ac_cv_prog_cxx_cross
13890 CXXCPP="${CXX-g++} -E"
13891 cat > conftest.$ac_ext <<EOF
13892#line 13893 "configure"
13893#include "confdefs.h"
13894#include <stdlib.h>
13895EOF
13896ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13897{ (eval echo configure:13898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13898ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13899if test -z "$ac_err"; then
13900 :
13901else
13902 echo "$ac_err" >&5
13903 echo "configure: failed program was:" >&5
13904 cat conftest.$ac_ext >&5
13905 rm -rf conftest*
13906 CXXCPP=/lib/cpp
13907fi
13908rm -f conftest*
13909 ac_cv_prog_CXXCPP="$CXXCPP"
13910ac_ext=C
13911# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13912ac_cpp='$CXXCPP $CPPFLAGS'
13913ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13914ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13915cross_compiling=$ac_cv_prog_cxx_cross
13916fi
13917fi
13918CXXCPP="$ac_cv_prog_CXXCPP"
13919echo "$ac_t""$CXXCPP" 1>&6
13920
13921
13922 if test "$cross_compiling" = "yes"; then
13923 cat >> confdefs.h <<\EOF
13924#define wxUSE_IOSTREAMH 1
13925EOF
13926
13927 else
13928
13929 ac_ext=C
13930# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13931ac_cpp='$CXXCPP $CPPFLAGS'
13932ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13933ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13934cross_compiling=$ac_cv_prog_cxx_cross
13935
13936
13937 for ac_hdr in iostream
13938do
13939ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13940echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13941echo "configure:13942: checking for $ac_hdr" >&5
13942if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13943 echo $ac_n "(cached) $ac_c" 1>&6
13944else
13945 cat > conftest.$ac_ext <<EOF
13946#line 13947 "configure"
13947#include "confdefs.h"
13948#include <$ac_hdr>
13949EOF
13950ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13951{ (eval echo configure:13952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13952ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13953if test -z "$ac_err"; then
13954 rm -rf conftest*
13955 eval "ac_cv_header_$ac_safe=yes"
13956else
13957 echo "$ac_err" >&5
13958 echo "configure: failed program was:" >&5
13959 cat conftest.$ac_ext >&5
13960 rm -rf conftest*
13961 eval "ac_cv_header_$ac_safe=no"
13962fi
13963rm -f conftest*
13964fi
13965if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13966 echo "$ac_t""yes" 1>&6
13967 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13968 cat >> confdefs.h <<EOF
13969#define $ac_tr_hdr 1
13970EOF
13971
13972else
13973 echo "$ac_t""no" 1>&6
13974fi
13975done
13976
13977
13978 if test "$ac_cv_header_iostream" = "yes" ; then
13979 :
13980 else
13981 cat >> confdefs.h <<\EOF
13982#define wxUSE_IOSTREAMH 1
13983EOF
13984
13985 fi
13986
13987 ac_ext=c
13988# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13989ac_cpp='$CPP $CPPFLAGS'
13990ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13991ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13992cross_compiling=$ac_cv_prog_cc_cross
13993
13994 fi
13995
13996
13997
13998 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
13999echo "configure:14000: checking if C++ compiler supports bool" >&5
14000if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
14001 echo $ac_n "(cached) $ac_c" 1>&6
14002else
14003
14004
14005 ac_ext=C
14006# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14007ac_cpp='$CXXCPP $CPPFLAGS'
14008ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14009ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14010cross_compiling=$ac_cv_prog_cxx_cross
14011
14012
14013 cat > conftest.$ac_ext <<EOF
14014#line 14015 "configure"
14015#include "confdefs.h"
14016
14017
14018int main() {
14019
14020 bool b = true;
14021
14022 return 0;
14023
14024; return 0; }
14025EOF
14026if { (eval echo configure:14027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14027 rm -rf conftest*
14028
14029 wx_cv_cpp_bool=yes
14030
14031else
14032 echo "configure: failed program was:" >&5
14033 cat conftest.$ac_ext >&5
14034 rm -rf conftest*
14035
14036 wx_cv_cpp_bool=no
14037
14038
14039fi
14040rm -f conftest*
14041
14042 ac_ext=c
14043# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14044ac_cpp='$CPP $CPPFLAGS'
14045ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14046ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14047cross_compiling=$ac_cv_prog_cc_cross
14048
14049
14050fi
14051
14052echo "$ac_t""$wx_cv_cpp_bool" 1>&6
14053
14054 if test "$wx_cv_cpp_bool" = "yes"; then
14055 cat >> confdefs.h <<\EOF
14056#define HAVE_BOOL 1
14057EOF
14058
14059 fi
14060
14061
14062
14063echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
14064echo "configure:14065: checking for wcslen in -lc" >&5
14065ac_lib_var=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
14066if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14067 echo $ac_n "(cached) $ac_c" 1>&6
14068else
14069 ac_save_LIBS="$LIBS"
14070LIBS="-lc $LIBS"
14071cat > conftest.$ac_ext <<EOF
14072#line 14073 "configure"
14073#include "confdefs.h"
14074/* Override any gcc2 internal prototype to avoid an error. */
14075/* We use char because int might match the return type of a gcc2
14076 builtin and then its argument prototype would still apply. */
14077char wcslen();
14078
14079int main() {
14080wcslen()
14081; return 0; }
14082EOF
14083if { (eval echo configure:14084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14084 rm -rf conftest*
14085 eval "ac_cv_lib_$ac_lib_var=yes"
14086else
14087 echo "configure: failed program was:" >&5
14088 cat conftest.$ac_ext >&5
14089 rm -rf conftest*
14090 eval "ac_cv_lib_$ac_lib_var=no"
14091fi
14092rm -f conftest*
14093LIBS="$ac_save_LIBS"
14094
14095fi
14096if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14097 echo "$ac_t""yes" 1>&6
14098
14099 cat >> confdefs.h <<\EOF
14100#define HAVE_WCSLEN 1
14101EOF
14102
14103 WCHAR_LINK=
14104
14105else
14106 echo "$ac_t""no" 1>&6
14107
14108 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
14109echo "configure:14110: checking for wcslen in -lw" >&5
14110ac_lib_var=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
14111if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14112 echo $ac_n "(cached) $ac_c" 1>&6
14113else
14114 ac_save_LIBS="$LIBS"
14115LIBS="-lw $LIBS"
14116cat > conftest.$ac_ext <<EOF
14117#line 14118 "configure"
14118#include "confdefs.h"
14119/* Override any gcc2 internal prototype to avoid an error. */
14120/* We use char because int might match the return type of a gcc2
14121 builtin and then its argument prototype would still apply. */
14122char wcslen();
14123
14124int main() {
14125wcslen()
14126; return 0; }
14127EOF
14128if { (eval echo configure:14129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14129 rm -rf conftest*
14130 eval "ac_cv_lib_$ac_lib_var=yes"
14131else
14132 echo "configure: failed program was:" >&5
14133 cat conftest.$ac_ext >&5
14134 rm -rf conftest*
14135 eval "ac_cv_lib_$ac_lib_var=no"
14136fi
14137rm -f conftest*
14138LIBS="$ac_save_LIBS"
14139
14140fi
14141if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14142 echo "$ac_t""yes" 1>&6
14143
14144 cat >> confdefs.h <<\EOF
14145#define HAVE_WCSLEN 1
14146EOF
14147
14148 WCHAR_LINK=" -lw"
14149
14150else
14151 echo "$ac_t""no" 1>&6
14152
14153 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
14154echo "configure:14155: checking for wcslen in -lmsvcrt" >&5
14155ac_lib_var=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
14156if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14157 echo $ac_n "(cached) $ac_c" 1>&6
14158else
14159 ac_save_LIBS="$LIBS"
14160LIBS="-lmsvcrt $LIBS"
14161cat > conftest.$ac_ext <<EOF
14162#line 14163 "configure"
14163#include "confdefs.h"
14164/* Override any gcc2 internal prototype to avoid an error. */
14165/* We use char because int might match the return type of a gcc2
14166 builtin and then its argument prototype would still apply. */
14167char wcslen();
14168
14169int main() {
14170wcslen()
14171; return 0; }
14172EOF
14173if { (eval echo configure:14174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14174 rm -rf conftest*
14175 eval "ac_cv_lib_$ac_lib_var=yes"
14176else
14177 echo "configure: failed program was:" >&5
14178 cat conftest.$ac_ext >&5
14179 rm -rf conftest*
14180 eval "ac_cv_lib_$ac_lib_var=no"
14181fi
14182rm -f conftest*
14183LIBS="$ac_save_LIBS"
14184
14185fi
14186if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14187 echo "$ac_t""yes" 1>&6
14188
14189 cat >> confdefs.h <<\EOF
14190#define HAVE_WCSLEN 1
14191EOF
14192
14193 WCHAR_LINK=
14194
14195else
14196 echo "$ac_t""no" 1>&6
14197fi
14198
14199
14200fi
14201
14202
14203fi
14204
14205
14206for ac_func in wcsrtombs
14207do
14208echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14209echo "configure:14210: checking for $ac_func" >&5
14210if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+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/* System header to define __stub macros and hopefully few prototypes,
14217 which can conflict with char $ac_func(); below. */
14218#include <assert.h>
14219/* Override any gcc2 internal prototype to avoid an error. */
14220/* We use char because int might match the return type of a gcc2
14221 builtin and then its argument prototype would still apply. */
14222char $ac_func();
14223
14224int main() {
14225
14226/* The GNU C library defines this for functions which it implements
14227 to always fail with ENOSYS. Some functions are actually named
14228 something starting with __ and the normal name is an alias. */
14229#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14230choke me
14231#else
14232$ac_func();
14233#endif
14234
14235; return 0; }
14236EOF
14237if { (eval echo configure:14238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14238 rm -rf conftest*
14239 eval "ac_cv_func_$ac_func=yes"
14240else
14241 echo "configure: failed program was:" >&5
14242 cat conftest.$ac_ext >&5
14243 rm -rf conftest*
14244 eval "ac_cv_func_$ac_func=no"
14245fi
14246rm -f conftest*
14247fi
14248
14249if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14250 echo "$ac_t""yes" 1>&6
14251 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14252 cat >> confdefs.h <<EOF
14253#define $ac_tr_func 1
14254EOF
14255
14256else
14257 echo "$ac_t""no" 1>&6
14258fi
14259done
14260
14261
14262echo $ac_n "checking for vprintf""... $ac_c" 1>&6
14263echo "configure:14264: checking for vprintf" >&5
14264if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
14265 echo $ac_n "(cached) $ac_c" 1>&6
14266else
14267 cat > conftest.$ac_ext <<EOF
14268#line 14269 "configure"
14269#include "confdefs.h"
14270/* System header to define __stub macros and hopefully few prototypes,
14271 which can conflict with char vprintf(); below. */
14272#include <assert.h>
14273/* Override any gcc2 internal prototype to avoid an error. */
14274/* We use char because int might match the return type of a gcc2
14275 builtin and then its argument prototype would still apply. */
14276char vprintf();
14277
14278int main() {
14279
14280/* The GNU C library defines this for functions which it implements
14281 to always fail with ENOSYS. Some functions are actually named
14282 something starting with __ and the normal name is an alias. */
14283#if defined (__stub_vprintf) || defined (__stub___vprintf)
14284choke me
14285#else
14286vprintf();
14287#endif
14288
14289; return 0; }
14290EOF
14291if { (eval echo configure:14292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14292 rm -rf conftest*
14293 eval "ac_cv_func_vprintf=yes"
14294else
14295 echo "configure: failed program was:" >&5
14296 cat conftest.$ac_ext >&5
14297 rm -rf conftest*
14298 eval "ac_cv_func_vprintf=no"
14299fi
14300rm -f conftest*
14301fi
14302
14303if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
14304 echo "$ac_t""yes" 1>&6
14305 cat >> confdefs.h <<\EOF
14306#define HAVE_VPRINTF 1
14307EOF
14308
14309else
14310 echo "$ac_t""no" 1>&6
14311fi
14312
14313if test "$ac_cv_func_vprintf" != yes; then
14314echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
14315echo "configure:14316: checking for _doprnt" >&5
14316if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
14317 echo $ac_n "(cached) $ac_c" 1>&6
14318else
14319 cat > conftest.$ac_ext <<EOF
14320#line 14321 "configure"
14321#include "confdefs.h"
14322/* System header to define __stub macros and hopefully few prototypes,
14323 which can conflict with char _doprnt(); below. */
14324#include <assert.h>
14325/* Override any gcc2 internal prototype to avoid an error. */
14326/* We use char because int might match the return type of a gcc2
14327 builtin and then its argument prototype would still apply. */
14328char _doprnt();
14329
14330int main() {
14331
14332/* The GNU C library defines this for functions which it implements
14333 to always fail with ENOSYS. Some functions are actually named
14334 something starting with __ and the normal name is an alias. */
14335#if defined (__stub__doprnt) || defined (__stub____doprnt)
14336choke me
14337#else
14338_doprnt();
14339#endif
14340
14341; return 0; }
14342EOF
14343if { (eval echo configure:14344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14344 rm -rf conftest*
14345 eval "ac_cv_func__doprnt=yes"
14346else
14347 echo "configure: failed program was:" >&5
14348 cat conftest.$ac_ext >&5
14349 rm -rf conftest*
14350 eval "ac_cv_func__doprnt=no"
14351fi
14352rm -f conftest*
14353fi
14354
14355if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
14356 echo "$ac_t""yes" 1>&6
14357 cat >> confdefs.h <<\EOF
14358#define HAVE_DOPRNT 1
14359EOF
14360
14361else
14362 echo "$ac_t""no" 1>&6
14363fi
14364
14365fi
14366
14367
14368
14369
14370
14371
14372echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
14373echo "configure:14374: checking for vsnprintf" >&5
14374if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
14375 echo $ac_n "(cached) $ac_c" 1>&6
14376else
14377
14378 cat > conftest.$ac_ext <<EOF
14379#line 14380 "configure"
14380#include "confdefs.h"
14381
14382 #include <stdio.h>
14383 #include <stdarg.h>
14384
14385int main() {
14386
14387 int wx_test_vsnprintf(const char *, ...);
14388
14389 wx_test_vsnprintf("%s");
14390 return 0;
14391 }
14392
14393 int wx_test_vsnprintf(const char *fmt, ...)
14394 {
14395 char *s;
14396
14397 va_list argp;
14398 va_start(argp, fmt);
14399 vsnprintf(s, 42, fmt, argp);
14400 va_end(argp);
14401
14402; return 0; }
14403EOF
14404if { (eval echo configure:14405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14405 rm -rf conftest*
14406
14407 wx_cv_func_vsnprintf=yes
14408
14409else
14410 echo "configure: failed program was:" >&5
14411 cat conftest.$ac_ext >&5
14412 rm -rf conftest*
14413
14414 cat > conftest.$ac_ext <<EOF
14415#line 14416 "configure"
14416#include "confdefs.h"
14417
14418 #include <stdio.h>
14419 #include <stdarg.h>
14420
14421int main() {
14422
14423 int wx_test_vsnprintf(const char *, ...);
14424
14425 wx_test_vsnprintf("%s");
14426 return 0;
14427 }
14428
14429 int wx_test_vsnprintf(const char *fmt, ...)
14430 {
14431 char *s;
14432
14433 va_list argp;
14434 va_start(argp, fmt);
14435 _vsnprintf(s, 42, fmt, argp);
14436 va_end(argp);
14437
14438; return 0; }
14439EOF
14440if { (eval echo configure:14441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14441 rm -rf conftest*
14442
14443 wx_cv_func_vsnprintf=yes
14444
14445else
14446 echo "configure: failed program was:" >&5
14447 cat conftest.$ac_ext >&5
14448 rm -rf conftest*
14449
14450 wx_cv_func_vsnprintf=no
14451
14452fi
14453rm -f conftest*
14454
14455fi
14456rm -f conftest*
14457
14458fi
14459
14460echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
14461
14462if test "$wx_cv_func_vsnprintf" = yes; then
14463 cat >> confdefs.h <<\EOF
14464#define HAVE_VSNPRINTF 1
14465EOF
14466
14467else
14468 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
14469fi
14470
14471echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
14472echo "configure:14473: checking for vsscanf" >&5
14473if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
14474 echo $ac_n "(cached) $ac_c" 1>&6
14475else
14476
14477 cat > conftest.$ac_ext <<EOF
14478#line 14479 "configure"
14479#include "confdefs.h"
14480
14481 #include <stdio.h>
14482 #include <stdarg.h>
14483
14484int main() {
14485
14486 int wx_test_vsscanf(const char *, ...);
14487
14488 wx_test_vsscanf("%d");
14489 return 0;
14490 }
14491
14492 int wx_test_vsscanf(const char *fmt, ...)
14493 {
14494 va_list argp;
14495 va_start(argp, fmt);
14496 vsscanf("42", fmt, argp);
14497 va_end(argp);
14498
14499; return 0; }
14500EOF
14501if { (eval echo configure:14502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14502 rm -rf conftest*
14503
14504 wx_cv_func_vsscanf=yes
14505
14506else
14507 echo "configure: failed program was:" >&5
14508 cat conftest.$ac_ext >&5
14509 rm -rf conftest*
14510
14511 wx_cv_func_vsscanf=no
14512
14513fi
14514rm -f conftest*
14515
14516fi
14517
14518echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
14519
14520if test "$wx_cv_func_vsscanf" = yes; then
14521 cat >> confdefs.h <<\EOF
14522#define HAVE_VSSCANF 1
14523EOF
14524
14525fi
14526
14527if test "$TOOLKIT" != "MSW"; then
14528
14529
14530
14531ac_ext=C
14532# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14533ac_cpp='$CXXCPP $CPPFLAGS'
14534ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14535ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14536cross_compiling=$ac_cv_prog_cxx_cross
14537
14538echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
14539echo "configure:14540: checking if iconv() takes char**" >&5
14540if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
14541 echo $ac_n "(cached) $ac_c" 1>&6
14542else
14543
14544 cat > conftest.$ac_ext <<EOF
14545#line 14546 "configure"
14546#include "confdefs.h"
14547#include <iconv.h>
14548int main() {
14549
14550 char **inbuf, **outbuf;
14551 iconv_t cd;
14552 size_t insz, outsz;
14553 iconv(cd, inbuf, &insz, outbuf, &outsz);
14554
14555; return 0; }
14556EOF
14557if { (eval echo configure:14558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14558 rm -rf conftest*
14559 wx_cv_iconv_takes_char=yes
14560else
14561 echo "configure: failed program was:" >&5
14562 cat conftest.$ac_ext >&5
14563 rm -rf conftest*
14564 wx_cv_iconv_takes_char=no
14565fi
14566rm -f conftest*
14567
14568fi
14569
14570echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
14571ac_ext=c
14572# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14573ac_cpp='$CPP $CPPFLAGS'
14574ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14575ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14576cross_compiling=$ac_cv_prog_cc_cross
14577
14578if test "$wx_cv_iconv_takes_char" = yes ; then
14579 cat >> confdefs.h <<\EOF
14580#define WX_ICONV_TAKES_CHAR 1
14581EOF
14582
14583fi
14584
14585
14586if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
14587 for ac_func in sigaction
14588do
14589echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14590echo "configure:14591: checking for $ac_func" >&5
14591if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14592 echo $ac_n "(cached) $ac_c" 1>&6
14593else
14594 cat > conftest.$ac_ext <<EOF
14595#line 14596 "configure"
14596#include "confdefs.h"
14597/* System header to define __stub macros and hopefully few prototypes,
14598 which can conflict with char $ac_func(); below. */
14599#include <assert.h>
14600/* Override any gcc2 internal prototype to avoid an error. */
14601/* We use char because int might match the return type of a gcc2
14602 builtin and then its argument prototype would still apply. */
14603char $ac_func();
14604
14605int main() {
14606
14607/* The GNU C library defines this for functions which it implements
14608 to always fail with ENOSYS. Some functions are actually named
14609 something starting with __ and the normal name is an alias. */
14610#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14611choke me
14612#else
14613$ac_func();
14614#endif
14615
14616; return 0; }
14617EOF
14618if { (eval echo configure:14619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14619 rm -rf conftest*
14620 eval "ac_cv_func_$ac_func=yes"
14621else
14622 echo "configure: failed program was:" >&5
14623 cat conftest.$ac_ext >&5
14624 rm -rf conftest*
14625 eval "ac_cv_func_$ac_func=no"
14626fi
14627rm -f conftest*
14628fi
14629
14630if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14631 echo "$ac_t""yes" 1>&6
14632 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14633 cat >> confdefs.h <<EOF
14634#define $ac_tr_func 1
14635EOF
14636
14637else
14638 echo "$ac_t""no" 1>&6
14639fi
14640done
14641
14642
14643 if test "$ac_cv_func_sigaction" = "no"; then
14644 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
14645 wxUSE_ON_FATAL_EXCEPTION=no
14646 fi
14647
14648 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
14649
14650 ac_ext=C
14651# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14652ac_cpp='$CXXCPP $CPPFLAGS'
14653ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14654ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14655cross_compiling=$ac_cv_prog_cxx_cross
14656
14657
14658 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
14659echo "configure:14660: checking for sa_handler type" >&5
14660if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
14661 echo $ac_n "(cached) $ac_c" 1>&6
14662else
14663
14664 cat > conftest.$ac_ext <<EOF
14665#line 14666 "configure"
14666#include "confdefs.h"
14667#include <signal.h>
14668int main() {
14669
14670 extern void testSigHandler(int);
14671
14672 struct sigaction sa;
14673 sa.sa_handler = testSigHandler;
14674
14675; return 0; }
14676EOF
14677if { (eval echo configure:14678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14678 rm -rf conftest*
14679
14680 wx_cv_type_sa_handler=int
14681
14682else
14683 echo "configure: failed program was:" >&5
14684 cat conftest.$ac_ext >&5
14685 rm -rf conftest*
14686
14687 wx_cv_type_sa_handler=void
14688
14689fi
14690rm -f conftest*
14691
14692fi
14693
14694echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
14695
14696 ac_ext=c
14697# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14698ac_cpp='$CPP $CPPFLAGS'
14699ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14700ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14701cross_compiling=$ac_cv_prog_cc_cross
14702
14703
14704 cat >> confdefs.h <<EOF
14705#define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
14706EOF
14707
14708 fi
14709fi
14710
14711for ac_func in vfork
14712do
14713echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14714echo "configure:14715: checking for $ac_func" >&5
14715if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14716 echo $ac_n "(cached) $ac_c" 1>&6
14717else
14718 cat > conftest.$ac_ext <<EOF
14719#line 14720 "configure"
14720#include "confdefs.h"
14721/* System header to define __stub macros and hopefully few prototypes,
14722 which can conflict with char $ac_func(); below. */
14723#include <assert.h>
14724/* Override any gcc2 internal prototype to avoid an error. */
14725/* We use char because int might match the return type of a gcc2
14726 builtin and then its argument prototype would still apply. */
14727char $ac_func();
14728
14729int main() {
14730
14731/* The GNU C library defines this for functions which it implements
14732 to always fail with ENOSYS. Some functions are actually named
14733 something starting with __ and the normal name is an alias. */
14734#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14735choke me
14736#else
14737$ac_func();
14738#endif
14739
14740; return 0; }
14741EOF
14742if { (eval echo configure:14743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14743 rm -rf conftest*
14744 eval "ac_cv_func_$ac_func=yes"
14745else
14746 echo "configure: failed program was:" >&5
14747 cat conftest.$ac_ext >&5
14748 rm -rf conftest*
14749 eval "ac_cv_func_$ac_func=no"
14750fi
14751rm -f conftest*
14752fi
14753
14754if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14755 echo "$ac_t""yes" 1>&6
14756 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14757 cat >> confdefs.h <<EOF
14758#define $ac_tr_func 1
14759EOF
14760
14761else
14762 echo "$ac_t""no" 1>&6
14763fi
14764done
14765
14766
14767for ac_func in mkstemp mktemp
14768do
14769echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14770echo "configure:14771: checking for $ac_func" >&5
14771if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14772 echo $ac_n "(cached) $ac_c" 1>&6
14773else
14774 cat > conftest.$ac_ext <<EOF
14775#line 14776 "configure"
14776#include "confdefs.h"
14777/* System header to define __stub macros and hopefully few prototypes,
14778 which can conflict with char $ac_func(); below. */
14779#include <assert.h>
14780/* Override any gcc2 internal prototype to avoid an error. */
14781/* We use char because int might match the return type of a gcc2
14782 builtin and then its argument prototype would still apply. */
14783char $ac_func();
14784
14785int main() {
14786
14787/* The GNU C library defines this for functions which it implements
14788 to always fail with ENOSYS. Some functions are actually named
14789 something starting with __ and the normal name is an alias. */
14790#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14791choke me
14792#else
14793$ac_func();
14794#endif
14795
14796; return 0; }
14797EOF
14798if { (eval echo configure:14799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14799 rm -rf conftest*
14800 eval "ac_cv_func_$ac_func=yes"
14801else
14802 echo "configure: failed program was:" >&5
14803 cat conftest.$ac_ext >&5
14804 rm -rf conftest*
14805 eval "ac_cv_func_$ac_func=no"
14806fi
14807rm -f conftest*
14808fi
14809
14810if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14811 echo "$ac_t""yes" 1>&6
14812 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14813 cat >> confdefs.h <<EOF
14814#define $ac_tr_func 1
14815EOF
14816 break
14817else
14818 echo "$ac_t""no" 1>&6
14819fi
14820done
14821
14822
14823echo $ac_n "checking for statfs""... $ac_c" 1>&6
14824echo "configure:14825: checking for statfs" >&5
14825if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
14826 echo $ac_n "(cached) $ac_c" 1>&6
14827else
14828 cat > conftest.$ac_ext <<EOF
14829#line 14830 "configure"
14830#include "confdefs.h"
14831
14832 #if defined(__BSD__)
14833 #include <sys/param.h>
14834 #include <sys/mount.h>
14835 #else
14836 #include <sys/vfs.h>
14837 #endif
14838
14839int main() {
14840
14841 long l;
14842 struct statfs fs;
14843 statfs("/", &fs);
14844 l = fs.f_bsize;
14845 l += fs.f_blocks;
14846 l += fs.f_bavail;
14847
14848; return 0; }
14849EOF
14850if { (eval echo configure:14851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14851 rm -rf conftest*
14852
14853 wx_cv_func_statfs=yes
14854
14855else
14856 echo "configure: failed program was:" >&5
14857 cat conftest.$ac_ext >&5
14858 rm -rf conftest*
14859
14860 wx_cv_func_statfs=no
14861
14862
14863fi
14864rm -f conftest*
14865
14866fi
14867
14868echo "$ac_t""$wx_cv_func_statfs" 1>&6
14869
14870if test "$wx_cv_func_statfs" = "yes"; then
14871 cat >> confdefs.h <<\EOF
14872#define HAVE_STATFS 1
14873EOF
14874
14875else
14876 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
14877echo "configure:14878: checking for statvfs" >&5
14878if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
14879 echo $ac_n "(cached) $ac_c" 1>&6
14880else
14881 cat > conftest.$ac_ext <<EOF
14882#line 14883 "configure"
14883#include "confdefs.h"
14884
14885 #include <sys/statvfs.h>
14886
14887int main() {
14888
14889 long l;
14890 struct statvfs fs;
14891 statvfs("/", &fs);
14892 l = fs.f_bsize;
14893 l += fs.f_blocks;
14894 l += fs.f_bavail;
14895
14896; return 0; }
14897EOF
14898if { (eval echo configure:14899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14899 rm -rf conftest*
14900
14901 wx_cv_func_statvfs=yes
14902
14903else
14904 echo "configure: failed program was:" >&5
14905 cat conftest.$ac_ext >&5
14906 rm -rf conftest*
14907
14908 wx_cv_func_statvfs=no
14909
14910
14911fi
14912rm -f conftest*
14913
14914fi
14915
14916echo "$ac_t""$wx_cv_func_statvfs" 1>&6
14917
14918 if test "$wx_cv_func_statvfs" = "yes"; then
14919 cat >> confdefs.h <<\EOF
14920#define HAVE_STATVFS 1
14921EOF
14922
14923 else
14924 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
14925 fi
14926fi
14927
14928if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
14929 for ac_func in fcntl flock
14930do
14931echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14932echo "configure:14933: checking for $ac_func" >&5
14933if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14934 echo $ac_n "(cached) $ac_c" 1>&6
14935else
14936 cat > conftest.$ac_ext <<EOF
14937#line 14938 "configure"
14938#include "confdefs.h"
14939/* System header to define __stub macros and hopefully few prototypes,
14940 which can conflict with char $ac_func(); below. */
14941#include <assert.h>
14942/* Override any gcc2 internal prototype to avoid an error. */
14943/* We use char because int might match the return type of a gcc2
14944 builtin and then its argument prototype would still apply. */
14945char $ac_func();
14946
14947int main() {
14948
14949/* The GNU C library defines this for functions which it implements
14950 to always fail with ENOSYS. Some functions are actually named
14951 something starting with __ and the normal name is an alias. */
14952#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14953choke me
14954#else
14955$ac_func();
14956#endif
14957
14958; return 0; }
14959EOF
14960if { (eval echo configure:14961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14961 rm -rf conftest*
14962 eval "ac_cv_func_$ac_func=yes"
14963else
14964 echo "configure: failed program was:" >&5
14965 cat conftest.$ac_ext >&5
14966 rm -rf conftest*
14967 eval "ac_cv_func_$ac_func=no"
14968fi
14969rm -f conftest*
14970fi
14971
14972if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14973 echo "$ac_t""yes" 1>&6
14974 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14975 cat >> confdefs.h <<EOF
14976#define $ac_tr_func 1
14977EOF
14978 break
14979else
14980 echo "$ac_t""no" 1>&6
14981fi
14982done
14983
14984
14985 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
14986 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
14987 wxUSE_SNGLINST_CHECKER=no
14988 fi
14989fi
14990
14991for ac_func in timegm
14992do
14993echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14994echo "configure:14995: checking for $ac_func" >&5
14995if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14996 echo $ac_n "(cached) $ac_c" 1>&6
14997else
14998 cat > conftest.$ac_ext <<EOF
14999#line 15000 "configure"
15000#include "confdefs.h"
15001/* System header to define __stub macros and hopefully few prototypes,
15002 which can conflict with char $ac_func(); below. */
15003#include <assert.h>
15004/* Override any gcc2 internal prototype to avoid an error. */
15005/* We use char because int might match the return type of a gcc2
15006 builtin and then its argument prototype would still apply. */
15007char $ac_func();
15008
15009int main() {
15010
15011/* The GNU C library defines this for functions which it implements
15012 to always fail with ENOSYS. Some functions are actually named
15013 something starting with __ and the normal name is an alias. */
15014#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15015choke me
15016#else
15017$ac_func();
15018#endif
15019
15020; return 0; }
15021EOF
15022if { (eval echo configure:15023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15023 rm -rf conftest*
15024 eval "ac_cv_func_$ac_func=yes"
15025else
15026 echo "configure: failed program was:" >&5
15027 cat conftest.$ac_ext >&5
15028 rm -rf conftest*
15029 eval "ac_cv_func_$ac_func=no"
15030fi
15031rm -f conftest*
15032fi
15033
15034if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15035 echo "$ac_t""yes" 1>&6
15036 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15037 cat >> confdefs.h <<EOF
15038#define $ac_tr_func 1
15039EOF
15040
15041else
15042 echo "$ac_t""no" 1>&6
15043fi
15044done
15045
15046
15047for ac_func in putenv setenv
15048do
15049echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15050echo "configure:15051: checking for $ac_func" >&5
15051if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15052 echo $ac_n "(cached) $ac_c" 1>&6
15053else
15054 cat > conftest.$ac_ext <<EOF
15055#line 15056 "configure"
15056#include "confdefs.h"
15057/* System header to define __stub macros and hopefully few prototypes,
15058 which can conflict with char $ac_func(); below. */
15059#include <assert.h>
15060/* Override any gcc2 internal prototype to avoid an error. */
15061/* We use char because int might match the return type of a gcc2
15062 builtin and then its argument prototype would still apply. */
15063char $ac_func();
15064
15065int main() {
15066
15067/* The GNU C library defines this for functions which it implements
15068 to always fail with ENOSYS. Some functions are actually named
15069 something starting with __ and the normal name is an alias. */
15070#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15071choke me
15072#else
15073$ac_func();
15074#endif
15075
15076; return 0; }
15077EOF
15078if { (eval echo configure:15079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15079 rm -rf conftest*
15080 eval "ac_cv_func_$ac_func=yes"
15081else
15082 echo "configure: failed program was:" >&5
15083 cat conftest.$ac_ext >&5
15084 rm -rf conftest*
15085 eval "ac_cv_func_$ac_func=no"
15086fi
15087rm -f conftest*
15088fi
15089
15090if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15091 echo "$ac_t""yes" 1>&6
15092 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15093 cat >> confdefs.h <<EOF
15094#define $ac_tr_func 1
15095EOF
15096 break
15097else
15098 echo "$ac_t""no" 1>&6
15099fi
15100done
15101
15102
15103HAVE_SOME_SLEEP_FUNC=0
15104if test "$USE_BEOS" = 1; then
15105 cat >> confdefs.h <<\EOF
15106#define HAVE_SLEEP 1
15107EOF
15108
15109 HAVE_SOME_SLEEP_FUNC=1
15110fi
15111
15112if test "$USE_DARWIN" = 1; then
15113 cat >> confdefs.h <<\EOF
15114#define HAVE_USLEEP 1
15115EOF
15116
15117 HAVE_SOME_SLEEP_FUNC=1
15118fi
15119
15120if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
15121 POSIX4_LINK=
15122 for ac_func in nanosleep
15123do
15124echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15125echo "configure:15126: checking for $ac_func" >&5
15126if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15127 echo $ac_n "(cached) $ac_c" 1>&6
15128else
15129 cat > conftest.$ac_ext <<EOF
15130#line 15131 "configure"
15131#include "confdefs.h"
15132/* System header to define __stub macros and hopefully few prototypes,
15133 which can conflict with char $ac_func(); below. */
15134#include <assert.h>
15135/* Override any gcc2 internal prototype to avoid an error. */
15136/* We use char because int might match the return type of a gcc2
15137 builtin and then its argument prototype would still apply. */
15138char $ac_func();
15139
15140int main() {
15141
15142/* The GNU C library defines this for functions which it implements
15143 to always fail with ENOSYS. Some functions are actually named
15144 something starting with __ and the normal name is an alias. */
15145#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15146choke me
15147#else
15148$ac_func();
15149#endif
15150
15151; return 0; }
15152EOF
15153if { (eval echo configure:15154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15154 rm -rf conftest*
15155 eval "ac_cv_func_$ac_func=yes"
15156else
15157 echo "configure: failed program was:" >&5
15158 cat conftest.$ac_ext >&5
15159 rm -rf conftest*
15160 eval "ac_cv_func_$ac_func=no"
15161fi
15162rm -f conftest*
15163fi
15164
15165if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15166 echo "$ac_t""yes" 1>&6
15167 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15168 cat >> confdefs.h <<EOF
15169#define $ac_tr_func 1
15170EOF
15171 cat >> confdefs.h <<\EOF
15172#define HAVE_NANOSLEEP 1
15173EOF
15174
15175else
15176 echo "$ac_t""no" 1>&6
15177echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
15178echo "configure:15179: checking for nanosleep in -lposix4" >&5
15179ac_lib_var=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
15180if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15181 echo $ac_n "(cached) $ac_c" 1>&6
15182else
15183 ac_save_LIBS="$LIBS"
15184LIBS="-lposix4 $LIBS"
15185cat > conftest.$ac_ext <<EOF
15186#line 15187 "configure"
15187#include "confdefs.h"
15188/* Override any gcc2 internal prototype to avoid an error. */
15189/* We use char because int might match the return type of a gcc2
15190 builtin and then its argument prototype would still apply. */
15191char nanosleep();
15192
15193int main() {
15194nanosleep()
15195; return 0; }
15196EOF
15197if { (eval echo configure:15198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15198 rm -rf conftest*
15199 eval "ac_cv_lib_$ac_lib_var=yes"
15200else
15201 echo "configure: failed program was:" >&5
15202 cat conftest.$ac_ext >&5
15203 rm -rf conftest*
15204 eval "ac_cv_lib_$ac_lib_var=no"
15205fi
15206rm -f conftest*
15207LIBS="$ac_save_LIBS"
15208
15209fi
15210if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15211 echo "$ac_t""yes" 1>&6
15212
15213 cat >> confdefs.h <<\EOF
15214#define HAVE_NANOSLEEP 1
15215EOF
15216
15217 POSIX4_LINK=" -lposix4"
15218
15219else
15220 echo "$ac_t""no" 1>&6
15221
15222 for ac_func in usleep
15223do
15224echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15225echo "configure:15226: checking for $ac_func" >&5
15226if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15227 echo $ac_n "(cached) $ac_c" 1>&6
15228else
15229 cat > conftest.$ac_ext <<EOF
15230#line 15231 "configure"
15231#include "confdefs.h"
15232/* System header to define __stub macros and hopefully few prototypes,
15233 which can conflict with char $ac_func(); below. */
15234#include <assert.h>
15235/* Override any gcc2 internal prototype to avoid an error. */
15236/* We use char because int might match the return type of a gcc2
15237 builtin and then its argument prototype would still apply. */
15238char $ac_func();
15239
15240int main() {
15241
15242/* The GNU C library defines this for functions which it implements
15243 to always fail with ENOSYS. Some functions are actually named
15244 something starting with __ and the normal name is an alias. */
15245#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15246choke me
15247#else
15248$ac_func();
15249#endif
15250
15251; return 0; }
15252EOF
15253if { (eval echo configure:15254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15254 rm -rf conftest*
15255 eval "ac_cv_func_$ac_func=yes"
15256else
15257 echo "configure: failed program was:" >&5
15258 cat conftest.$ac_ext >&5
15259 rm -rf conftest*
15260 eval "ac_cv_func_$ac_func=no"
15261fi
15262rm -f conftest*
15263fi
15264
15265if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15266 echo "$ac_t""yes" 1>&6
15267 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15268 cat >> confdefs.h <<EOF
15269#define $ac_tr_func 1
15270EOF
15271 cat >> confdefs.h <<\EOF
15272#define HAVE_USLEEP 1
15273EOF
15274
15275else
15276 echo "$ac_t""no" 1>&6
15277echo "configure: warning: wxSleep() function will not work" 1>&2
15278
15279fi
15280done
15281
15282
15283
15284fi
15285
15286
15287
15288fi
15289done
15290
15291fi
15292
15293for ac_func in uname gethostname
15294do
15295echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15296echo "configure:15297: checking for $ac_func" >&5
15297if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15298 echo $ac_n "(cached) $ac_c" 1>&6
15299else
15300 cat > conftest.$ac_ext <<EOF
15301#line 15302 "configure"
15302#include "confdefs.h"
15303/* System header to define __stub macros and hopefully few prototypes,
15304 which can conflict with char $ac_func(); below. */
15305#include <assert.h>
15306/* Override any gcc2 internal prototype to avoid an error. */
15307/* We use char because int might match the return type of a gcc2
15308 builtin and then its argument prototype would still apply. */
15309char $ac_func();
15310
15311int main() {
15312
15313/* The GNU C library defines this for functions which it implements
15314 to always fail with ENOSYS. Some functions are actually named
15315 something starting with __ and the normal name is an alias. */
15316#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15317choke me
15318#else
15319$ac_func();
15320#endif
15321
15322; return 0; }
15323EOF
15324if { (eval echo configure:15325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15325 rm -rf conftest*
15326 eval "ac_cv_func_$ac_func=yes"
15327else
15328 echo "configure: failed program was:" >&5
15329 cat conftest.$ac_ext >&5
15330 rm -rf conftest*
15331 eval "ac_cv_func_$ac_func=no"
15332fi
15333rm -f conftest*
15334fi
15335
15336if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15337 echo "$ac_t""yes" 1>&6
15338 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15339 cat >> confdefs.h <<EOF
15340#define $ac_tr_func 1
15341EOF
15342 break
15343else
15344 echo "$ac_t""no" 1>&6
15345fi
15346done
15347
15348
15349
15350ac_ext=C
15351# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15352ac_cpp='$CXXCPP $CPPFLAGS'
15353ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15354ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15355cross_compiling=$ac_cv_prog_cxx_cross
15356
15357
15358for ac_func in strtok_r
15359do
15360echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15361echo "configure:15362: checking for $ac_func" >&5
15362if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15363 echo $ac_n "(cached) $ac_c" 1>&6
15364else
15365 cat > conftest.$ac_ext <<EOF
15366#line 15367 "configure"
15367#include "confdefs.h"
15368/* System header to define __stub macros and hopefully few prototypes,
15369 which can conflict with char $ac_func(); below. */
15370#include <assert.h>
15371/* Override any gcc2 internal prototype to avoid an error. */
15372#ifdef __cplusplus
15373extern "C"
15374#endif
15375/* We use char because int might match the return type of a gcc2
15376 builtin and then its argument prototype would still apply. */
15377char $ac_func();
15378
15379int main() {
15380
15381/* The GNU C library defines this for functions which it implements
15382 to always fail with ENOSYS. Some functions are actually named
15383 something starting with __ and the normal name is an alias. */
15384#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15385choke me
15386#else
15387$ac_func();
15388#endif
15389
15390; return 0; }
15391EOF
15392if { (eval echo configure:15393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15393 rm -rf conftest*
15394 eval "ac_cv_func_$ac_func=yes"
15395else
15396 echo "configure: failed program was:" >&5
15397 cat conftest.$ac_ext >&5
15398 rm -rf conftest*
15399 eval "ac_cv_func_$ac_func=no"
15400fi
15401rm -f conftest*
15402fi
15403
15404if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15405 echo "$ac_t""yes" 1>&6
15406 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15407 cat >> confdefs.h <<EOF
15408#define $ac_tr_func 1
15409EOF
15410
15411else
15412 echo "$ac_t""no" 1>&6
15413fi
15414done
15415
15416
15417ac_ext=c
15418# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15419ac_cpp='$CPP $CPPFLAGS'
15420ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15421ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15422cross_compiling=$ac_cv_prog_cc_cross
15423
15424
15425INET_LINK=
15426for ac_func in inet_addr
15427do
15428echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15429echo "configure:15430: checking for $ac_func" >&5
15430if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15431 echo $ac_n "(cached) $ac_c" 1>&6
15432else
15433 cat > conftest.$ac_ext <<EOF
15434#line 15435 "configure"
15435#include "confdefs.h"
15436/* System header to define __stub macros and hopefully few prototypes,
15437 which can conflict with char $ac_func(); below. */
15438#include <assert.h>
15439/* Override any gcc2 internal prototype to avoid an error. */
15440/* We use char because int might match the return type of a gcc2
15441 builtin and then its argument prototype would still apply. */
15442char $ac_func();
15443
15444int main() {
15445
15446/* The GNU C library defines this for functions which it implements
15447 to always fail with ENOSYS. Some functions are actually named
15448 something starting with __ and the normal name is an alias. */
15449#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15450choke me
15451#else
15452$ac_func();
15453#endif
15454
15455; return 0; }
15456EOF
15457if { (eval echo configure:15458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15458 rm -rf conftest*
15459 eval "ac_cv_func_$ac_func=yes"
15460else
15461 echo "configure: failed program was:" >&5
15462 cat conftest.$ac_ext >&5
15463 rm -rf conftest*
15464 eval "ac_cv_func_$ac_func=no"
15465fi
15466rm -f conftest*
15467fi
15468
15469if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15470 echo "$ac_t""yes" 1>&6
15471 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15472 cat >> confdefs.h <<EOF
15473#define $ac_tr_func 1
15474EOF
15475 cat >> confdefs.h <<\EOF
15476#define HAVE_INET_ADDR 1
15477EOF
15478
15479else
15480 echo "$ac_t""no" 1>&6
15481echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
15482echo "configure:15483: checking for inet_addr in -lnsl" >&5
15483ac_lib_var=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
15484if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15485 echo $ac_n "(cached) $ac_c" 1>&6
15486else
15487 ac_save_LIBS="$LIBS"
15488LIBS="-lnsl $LIBS"
15489cat > conftest.$ac_ext <<EOF
15490#line 15491 "configure"
15491#include "confdefs.h"
15492/* Override any gcc2 internal prototype to avoid an error. */
15493/* We use char because int might match the return type of a gcc2
15494 builtin and then its argument prototype would still apply. */
15495char inet_addr();
15496
15497int main() {
15498inet_addr()
15499; return 0; }
15500EOF
15501if { (eval echo configure:15502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15502 rm -rf conftest*
15503 eval "ac_cv_lib_$ac_lib_var=yes"
15504else
15505 echo "configure: failed program was:" >&5
15506 cat conftest.$ac_ext >&5
15507 rm -rf conftest*
15508 eval "ac_cv_lib_$ac_lib_var=no"
15509fi
15510rm -f conftest*
15511LIBS="$ac_save_LIBS"
15512
15513fi
15514if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15515 echo "$ac_t""yes" 1>&6
15516 INET_LINK="nsl"
15517else
15518 echo "$ac_t""no" 1>&6
15519echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
15520echo "configure:15521: checking for inet_addr in -lresolv" >&5
15521ac_lib_var=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
15522if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15523 echo $ac_n "(cached) $ac_c" 1>&6
15524else
15525 ac_save_LIBS="$LIBS"
15526LIBS="-lresolv $LIBS"
15527cat > conftest.$ac_ext <<EOF
15528#line 15529 "configure"
15529#include "confdefs.h"
15530/* Override any gcc2 internal prototype to avoid an error. */
15531/* We use char because int might match the return type of a gcc2
15532 builtin and then its argument prototype would still apply. */
15533char inet_addr();
15534
15535int main() {
15536inet_addr()
15537; return 0; }
15538EOF
15539if { (eval echo configure:15540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15540 rm -rf conftest*
15541 eval "ac_cv_lib_$ac_lib_var=yes"
15542else
15543 echo "configure: failed program was:" >&5
15544 cat conftest.$ac_ext >&5
15545 rm -rf conftest*
15546 eval "ac_cv_lib_$ac_lib_var=no"
15547fi
15548rm -f conftest*
15549LIBS="$ac_save_LIBS"
15550
15551fi
15552if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15553 echo "$ac_t""yes" 1>&6
15554 INET_LINK="resolv"
15555
15556else
15557 echo "$ac_t""no" 1>&6
15558fi
15559
15560
15561fi
15562
15563
15564
15565fi
15566done
15567
15568
15569for ac_func in inet_aton
15570do
15571echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15572echo "configure:15573: checking for $ac_func" >&5
15573if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15574 echo $ac_n "(cached) $ac_c" 1>&6
15575else
15576 cat > conftest.$ac_ext <<EOF
15577#line 15578 "configure"
15578#include "confdefs.h"
15579/* System header to define __stub macros and hopefully few prototypes,
15580 which can conflict with char $ac_func(); below. */
15581#include <assert.h>
15582/* Override any gcc2 internal prototype to avoid an error. */
15583/* We use char because int might match the return type of a gcc2
15584 builtin and then its argument prototype would still apply. */
15585char $ac_func();
15586
15587int main() {
15588
15589/* The GNU C library defines this for functions which it implements
15590 to always fail with ENOSYS. Some functions are actually named
15591 something starting with __ and the normal name is an alias. */
15592#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15593choke me
15594#else
15595$ac_func();
15596#endif
15597
15598; return 0; }
15599EOF
15600if { (eval echo configure:15601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15601 rm -rf conftest*
15602 eval "ac_cv_func_$ac_func=yes"
15603else
15604 echo "configure: failed program was:" >&5
15605 cat conftest.$ac_ext >&5
15606 rm -rf conftest*
15607 eval "ac_cv_func_$ac_func=no"
15608fi
15609rm -f conftest*
15610fi
15611
15612if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15613 echo "$ac_t""yes" 1>&6
15614 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15615 cat >> confdefs.h <<EOF
15616#define $ac_tr_func 1
15617EOF
15618 cat >> confdefs.h <<\EOF
15619#define HAVE_INET_ATON 1
15620EOF
15621
15622else
15623 echo "$ac_t""no" 1>&6
15624 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
15625echo "configure:15626: checking for inet_aton in -l$INET_LINK" >&5
15626ac_lib_var=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
15627if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15628 echo $ac_n "(cached) $ac_c" 1>&6
15629else
15630 ac_save_LIBS="$LIBS"
15631LIBS="-l$INET_LINK $LIBS"
15632cat > conftest.$ac_ext <<EOF
15633#line 15634 "configure"
15634#include "confdefs.h"
15635/* Override any gcc2 internal prototype to avoid an error. */
15636/* We use char because int might match the return type of a gcc2
15637 builtin and then its argument prototype would still apply. */
15638char inet_aton();
15639
15640int main() {
15641inet_aton()
15642; return 0; }
15643EOF
15644if { (eval echo configure:15645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15645 rm -rf conftest*
15646 eval "ac_cv_lib_$ac_lib_var=yes"
15647else
15648 echo "configure: failed program was:" >&5
15649 cat conftest.$ac_ext >&5
15650 rm -rf conftest*
15651 eval "ac_cv_lib_$ac_lib_var=no"
15652fi
15653rm -f conftest*
15654LIBS="$ac_save_LIBS"
15655
15656fi
15657if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15658 echo "$ac_t""yes" 1>&6
15659 cat >> confdefs.h <<\EOF
15660#define HAVE_INET_ATON 1
15661EOF
15662
15663else
15664 echo "$ac_t""no" 1>&6
15665fi
15666
15667
15668fi
15669done
15670
15671
15672if test "x$INET_LINK" != "x"; then
15673 cat >> confdefs.h <<\EOF
15674#define HAVE_INET_ADDR 1
15675EOF
15676
15677 INET_LINK=" -l$INET_LINK"
15678fi
15679
15680fi
15681
15682
15683cat > confcache <<\EOF
15684# This file is a shell script that caches the results of configure
15685# tests run on this system so they can be shared between configure
15686# scripts and configure runs. It is not useful on other systems.
15687# If it contains results you don't want to keep, you may remove or edit it.
15688#
15689# By default, configure uses ./config.cache as the cache file,
15690# creating it if it does not exist already. You can give configure
15691# the --cache-file=FILE option to use a different cache file; that is
15692# what configure does when it calls configure scripts in
15693# subdirectories, so they share the cache.
15694# Giving --cache-file=/dev/null disables caching, for debugging configure.
15695# config.status only pays attention to the cache file if you give it the
15696# --recheck option to rerun configure.
15697#
15698EOF
15699# The following way of writing the cache mishandles newlines in values,
15700# but we know of no workaround that is simple, portable, and efficient.
15701# So, don't put newlines in cache variables' values.
15702# Ultrix sh set writes to stderr and can't be redirected directly,
15703# and sets the high bit in the cache file unless we assign to the vars.
15704(set) 2>&1 |
15705 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15706 *ac_space=\ *)
15707 # `set' does not quote correctly, so add quotes (double-quote substitution
15708 # turns \\\\ into \\, and sed turns \\ into \).
15709 sed -n \
15710 -e "s/'/'\\\\''/g" \
15711 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15712 ;;
15713 *)
15714 # `set' quotes correctly as required by POSIX, so do not add quotes.
15715 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15716 ;;
15717 esac >> confcache
15718if cmp -s $cache_file confcache; then
15719 :
15720else
15721 if test -w $cache_file; then
15722 echo "updating cache $cache_file"
15723 cat confcache > $cache_file
15724 else
15725 echo "not updating unwritable cache $cache_file"
15726 fi
15727fi
15728rm -f confcache
15729
15730
15731
15732if test "$TOOLKIT" != "MSW"; then
15733
15734
15735 THREADS_LINK=
15736 THREADS_OBJ=
15737 CODE_GEN_FLAGS=
15738 CODE_GEN_FLAGS_CXX=
15739
15740 if test "$wxUSE_THREADS" = "yes" ; then
15741 if test "$wxUSE_WINE" = 1 ; then
15742 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
15743 wxUSE_THREADS="no"
15744 elif test "$USE_BEOS" = 1; then
15745 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
15746 wxUSE_THREADS="no"
15747 fi
15748 fi
15749
15750 if test "$wxUSE_THREADS" = "yes" ; then
15751
15752 if test "$USE_AIX" = 1; then
15753 THREADS_LIB=pthreads
15754 else
15755 THREADS_LIB=pthread
15756 fi
15757
15758 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
15759echo "configure:15760: checking for pthread_create in -l$THREADS_LIB" >&5
15760ac_lib_var=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
15761if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15762 echo $ac_n "(cached) $ac_c" 1>&6
15763else
15764 ac_save_LIBS="$LIBS"
15765LIBS="-l$THREADS_LIB $LIBS"
15766cat > conftest.$ac_ext <<EOF
15767#line 15768 "configure"
15768#include "confdefs.h"
15769/* Override any gcc2 internal prototype to avoid an error. */
15770/* We use char because int might match the return type of a gcc2
15771 builtin and then its argument prototype would still apply. */
15772char pthread_create();
15773
15774int main() {
15775pthread_create()
15776; return 0; }
15777EOF
15778if { (eval echo configure:15779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15779 rm -rf conftest*
15780 eval "ac_cv_lib_$ac_lib_var=yes"
15781else
15782 echo "configure: failed program was:" >&5
15783 cat conftest.$ac_ext >&5
15784 rm -rf conftest*
15785 eval "ac_cv_lib_$ac_lib_var=no"
15786fi
15787rm -f conftest*
15788LIBS="$ac_save_LIBS"
15789
15790fi
15791if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15792 echo "$ac_t""yes" 1>&6
15793
15794 THREADS_OBJ="threadpsx.lo"
15795 THREADS_LINK=$THREADS_LIB
15796
15797else
15798 echo "$ac_t""no" 1>&6
15799
15800 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
15801echo "configure:15802: checking for pthread_create in -lc_r" >&5
15802ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
15803if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15804 echo $ac_n "(cached) $ac_c" 1>&6
15805else
15806 ac_save_LIBS="$LIBS"
15807LIBS="-lc_r $LIBS"
15808cat > conftest.$ac_ext <<EOF
15809#line 15810 "configure"
15810#include "confdefs.h"
15811/* Override any gcc2 internal prototype to avoid an error. */
15812/* We use char because int might match the return type of a gcc2
15813 builtin and then its argument prototype would still apply. */
15814char pthread_create();
15815
15816int main() {
15817pthread_create()
15818; return 0; }
15819EOF
15820if { (eval echo configure:15821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15821 rm -rf conftest*
15822 eval "ac_cv_lib_$ac_lib_var=yes"
15823else
15824 echo "configure: failed program was:" >&5
15825 cat conftest.$ac_ext >&5
15826 rm -rf conftest*
15827 eval "ac_cv_lib_$ac_lib_var=no"
15828fi
15829rm -f conftest*
15830LIBS="$ac_save_LIBS"
15831
15832fi
15833if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15834 echo "$ac_t""yes" 1>&6
15835
15836 THREADS_OBJ="threadpsx.lo"
15837 THREADS_LINK="c_r"
15838
15839else
15840 echo "$ac_t""no" 1>&6
15841
15842 ac_safe=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
15843echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
15844echo "configure:15845: checking for sys/prctl.h" >&5
15845if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15846 echo $ac_n "(cached) $ac_c" 1>&6
15847else
15848 cat > conftest.$ac_ext <<EOF
15849#line 15850 "configure"
15850#include "confdefs.h"
15851#include <sys/prctl.h>
15852EOF
15853ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15854{ (eval echo configure:15855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15855ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15856if test -z "$ac_err"; then
15857 rm -rf conftest*
15858 eval "ac_cv_header_$ac_safe=yes"
15859else
15860 echo "$ac_err" >&5
15861 echo "configure: failed program was:" >&5
15862 cat conftest.$ac_ext >&5
15863 rm -rf conftest*
15864 eval "ac_cv_header_$ac_safe=no"
15865fi
15866rm -f conftest*
15867fi
15868if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15869 echo "$ac_t""yes" 1>&6
15870
15871 THREADS_OBJ="threadsgi.lo"
15872
15873else
15874 echo "$ac_t""no" 1>&6
15875fi
15876
15877
15878fi
15879
15880
15881fi
15882
15883
15884 if test -z "$THREADS_OBJ" ; then
15885 wxUSE_THREADS=no
15886 echo "configure: warning: No thread support on this system... disabled" 1>&2
15887 fi
15888 fi
15889
15890 if test "$wxUSE_THREADS" = "yes" ; then
15891 for ac_func in thr_setconcurrency
15892do
15893echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15894echo "configure:15895: checking for $ac_func" >&5
15895if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15896 echo $ac_n "(cached) $ac_c" 1>&6
15897else
15898 cat > conftest.$ac_ext <<EOF
15899#line 15900 "configure"
15900#include "confdefs.h"
15901/* System header to define __stub macros and hopefully few prototypes,
15902 which can conflict with char $ac_func(); below. */
15903#include <assert.h>
15904/* Override any gcc2 internal prototype to avoid an error. */
15905/* We use char because int might match the return type of a gcc2
15906 builtin and then its argument prototype would still apply. */
15907char $ac_func();
15908
15909int main() {
15910
15911/* The GNU C library defines this for functions which it implements
15912 to always fail with ENOSYS. Some functions are actually named
15913 something starting with __ and the normal name is an alias. */
15914#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15915choke me
15916#else
15917$ac_func();
15918#endif
15919
15920; return 0; }
15921EOF
15922if { (eval echo configure:15923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15923 rm -rf conftest*
15924 eval "ac_cv_func_$ac_func=yes"
15925else
15926 echo "configure: failed program was:" >&5
15927 cat conftest.$ac_ext >&5
15928 rm -rf conftest*
15929 eval "ac_cv_func_$ac_func=no"
15930fi
15931rm -f conftest*
15932fi
15933
15934if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15935 echo "$ac_t""yes" 1>&6
15936 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15937 cat >> confdefs.h <<EOF
15938#define $ac_tr_func 1
15939EOF
15940
15941else
15942 echo "$ac_t""no" 1>&6
15943fi
15944done
15945
15946
15947
15948 for ac_hdr in sched.h
15949do
15950ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15951echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15952echo "configure:15953: checking for $ac_hdr" >&5
15953if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15954 echo $ac_n "(cached) $ac_c" 1>&6
15955else
15956 cat > conftest.$ac_ext <<EOF
15957#line 15958 "configure"
15958#include "confdefs.h"
15959#include <$ac_hdr>
15960EOF
15961ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15962{ (eval echo configure:15963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15963ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15964if test -z "$ac_err"; then
15965 rm -rf conftest*
15966 eval "ac_cv_header_$ac_safe=yes"
15967else
15968 echo "$ac_err" >&5
15969 echo "configure: failed program was:" >&5
15970 cat conftest.$ac_ext >&5
15971 rm -rf conftest*
15972 eval "ac_cv_header_$ac_safe=no"
15973fi
15974rm -f conftest*
15975fi
15976if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15977 echo "$ac_t""yes" 1>&6
15978 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15979 cat >> confdefs.h <<EOF
15980#define $ac_tr_hdr 1
15981EOF
15982
15983else
15984 echo "$ac_t""no" 1>&6
15985fi
15986done
15987
15988
15989 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
15990echo "configure:15991: checking for sched_yield in -l$THREADS_LINK" >&5
15991ac_lib_var=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
15992if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15993 echo $ac_n "(cached) $ac_c" 1>&6
15994else
15995 ac_save_LIBS="$LIBS"
15996LIBS="-l$THREADS_LINK $LIBS"
15997cat > conftest.$ac_ext <<EOF
15998#line 15999 "configure"
15999#include "confdefs.h"
16000/* Override any gcc2 internal prototype to avoid an error. */
16001/* We use char because int might match the return type of a gcc2
16002 builtin and then its argument prototype would still apply. */
16003char sched_yield();
16004
16005int main() {
16006sched_yield()
16007; return 0; }
16008EOF
16009if { (eval echo configure:16010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16010 rm -rf conftest*
16011 eval "ac_cv_lib_$ac_lib_var=yes"
16012else
16013 echo "configure: failed program was:" >&5
16014 cat conftest.$ac_ext >&5
16015 rm -rf conftest*
16016 eval "ac_cv_lib_$ac_lib_var=no"
16017fi
16018rm -f conftest*
16019LIBS="$ac_save_LIBS"
16020
16021fi
16022if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16023 echo "$ac_t""yes" 1>&6
16024 cat >> confdefs.h <<\EOF
16025#define HAVE_SCHED_YIELD 1
16026EOF
16027
16028else
16029 echo "$ac_t""no" 1>&6
16030echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
16031echo "configure:16032: checking for sched_yield in -lposix4" >&5
16032ac_lib_var=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
16033if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16034 echo $ac_n "(cached) $ac_c" 1>&6
16035else
16036 ac_save_LIBS="$LIBS"
16037LIBS="-lposix4 $LIBS"
16038cat > conftest.$ac_ext <<EOF
16039#line 16040 "configure"
16040#include "confdefs.h"
16041/* Override any gcc2 internal prototype to avoid an error. */
16042/* We use char because int might match the return type of a gcc2
16043 builtin and then its argument prototype would still apply. */
16044char sched_yield();
16045
16046int main() {
16047sched_yield()
16048; return 0; }
16049EOF
16050if { (eval echo configure:16051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16051 rm -rf conftest*
16052 eval "ac_cv_lib_$ac_lib_var=yes"
16053else
16054 echo "configure: failed program was:" >&5
16055 cat conftest.$ac_ext >&5
16056 rm -rf conftest*
16057 eval "ac_cv_lib_$ac_lib_var=no"
16058fi
16059rm -f conftest*
16060LIBS="$ac_save_LIBS"
16061
16062fi
16063if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16064 echo "$ac_t""yes" 1>&6
16065 cat >> confdefs.h <<\EOF
16066#define HAVE_SCHED_YIELD 1
16067EOF
16068 POSIX4_LINK=" -lposix4"
16069else
16070 echo "$ac_t""no" 1>&6
16071echo "configure: warning: wxThread::Yield will not work properly" 1>&2
16072
16073fi
16074
16075
16076fi
16077
16078
16079 HAVE_PRIOR_FUNCS=0
16080 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
16081echo "configure:16082: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
16082ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
16083if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16084 echo $ac_n "(cached) $ac_c" 1>&6
16085else
16086 ac_save_LIBS="$LIBS"
16087LIBS="-l$THREADS_LINK $LIBS"
16088cat > conftest.$ac_ext <<EOF
16089#line 16090 "configure"
16090#include "confdefs.h"
16091/* Override any gcc2 internal prototype to avoid an error. */
16092/* We use char because int might match the return type of a gcc2
16093 builtin and then its argument prototype would still apply. */
16094char pthread_attr_getschedpolicy();
16095
16096int main() {
16097pthread_attr_getschedpolicy()
16098; return 0; }
16099EOF
16100if { (eval echo configure:16101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16101 rm -rf conftest*
16102 eval "ac_cv_lib_$ac_lib_var=yes"
16103else
16104 echo "configure: failed program was:" >&5
16105 cat conftest.$ac_ext >&5
16106 rm -rf conftest*
16107 eval "ac_cv_lib_$ac_lib_var=no"
16108fi
16109rm -f conftest*
16110LIBS="$ac_save_LIBS"
16111
16112fi
16113if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16114 echo "$ac_t""yes" 1>&6
16115 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
16116echo "configure:16117: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
16117ac_lib_var=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
16118if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16119 echo $ac_n "(cached) $ac_c" 1>&6
16120else
16121 ac_save_LIBS="$LIBS"
16122LIBS="-l$THREADS_LINK $LIBS"
16123cat > conftest.$ac_ext <<EOF
16124#line 16125 "configure"
16125#include "confdefs.h"
16126/* Override any gcc2 internal prototype to avoid an error. */
16127/* We use char because int might match the return type of a gcc2
16128 builtin and then its argument prototype would still apply. */
16129char pthread_attr_setschedparam();
16130
16131int main() {
16132pthread_attr_setschedparam()
16133; return 0; }
16134EOF
16135if { (eval echo configure:16136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16136 rm -rf conftest*
16137 eval "ac_cv_lib_$ac_lib_var=yes"
16138else
16139 echo "configure: failed program was:" >&5
16140 cat conftest.$ac_ext >&5
16141 rm -rf conftest*
16142 eval "ac_cv_lib_$ac_lib_var=no"
16143fi
16144rm -f conftest*
16145LIBS="$ac_save_LIBS"
16146
16147fi
16148if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16149 echo "$ac_t""yes" 1>&6
16150 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
16151echo "configure:16152: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
16152ac_lib_var=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16153if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16154 echo $ac_n "(cached) $ac_c" 1>&6
16155else
16156 ac_save_LIBS="$LIBS"
16157LIBS="-l$THREADS_LINK $LIBS"
16158cat > conftest.$ac_ext <<EOF
16159#line 16160 "configure"
16160#include "confdefs.h"
16161/* Override any gcc2 internal prototype to avoid an error. */
16162/* We use char because int might match the return type of a gcc2
16163 builtin and then its argument prototype would still apply. */
16164char sched_get_priority_max();
16165
16166int main() {
16167sched_get_priority_max()
16168; return 0; }
16169EOF
16170if { (eval echo configure:16171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16171 rm -rf conftest*
16172 eval "ac_cv_lib_$ac_lib_var=yes"
16173else
16174 echo "configure: failed program was:" >&5
16175 cat conftest.$ac_ext >&5
16176 rm -rf conftest*
16177 eval "ac_cv_lib_$ac_lib_var=no"
16178fi
16179rm -f conftest*
16180LIBS="$ac_save_LIBS"
16181
16182fi
16183if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16184 echo "$ac_t""yes" 1>&6
16185 HAVE_PRIOR_FUNCS=1
16186else
16187 echo "$ac_t""no" 1>&6
16188echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
16189echo "configure:16190: checking for sched_get_priority_max in -lposix4" >&5
16190ac_lib_var=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16191if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16192 echo $ac_n "(cached) $ac_c" 1>&6
16193else
16194 ac_save_LIBS="$LIBS"
16195LIBS="-lposix4 $LIBS"
16196cat > conftest.$ac_ext <<EOF
16197#line 16198 "configure"
16198#include "confdefs.h"
16199/* Override any gcc2 internal prototype to avoid an error. */
16200/* We use char because int might match the return type of a gcc2
16201 builtin and then its argument prototype would still apply. */
16202char sched_get_priority_max();
16203
16204int main() {
16205sched_get_priority_max()
16206; return 0; }
16207EOF
16208if { (eval echo configure:16209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16209 rm -rf conftest*
16210 eval "ac_cv_lib_$ac_lib_var=yes"
16211else
16212 echo "configure: failed program was:" >&5
16213 cat conftest.$ac_ext >&5
16214 rm -rf conftest*
16215 eval "ac_cv_lib_$ac_lib_var=no"
16216fi
16217rm -f conftest*
16218LIBS="$ac_save_LIBS"
16219
16220fi
16221if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16222 echo "$ac_t""yes" 1>&6
16223
16224 HAVE_PRIOR_FUNCS=1
16225 POSIX4_LINK=" -lposix4"
16226
16227else
16228 echo "$ac_t""no" 1>&6
16229fi
16230
16231
16232fi
16233
16234
16235else
16236 echo "$ac_t""no" 1>&6
16237fi
16238
16239
16240else
16241 echo "$ac_t""no" 1>&6
16242fi
16243
16244
16245 if test "$HAVE_PRIOR_FUNCS" = 1; then
16246 cat >> confdefs.h <<\EOF
16247#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
16248EOF
16249
16250 else
16251 echo "configure: warning: Setting thread priority will not work" 1>&2
16252 fi
16253
16254 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
16255echo "configure:16256: checking for pthread_cancel in -l$THREADS_LINK" >&5
16256ac_lib_var=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
16257if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16258 echo $ac_n "(cached) $ac_c" 1>&6
16259else
16260 ac_save_LIBS="$LIBS"
16261LIBS="-l$THREADS_LINK $LIBS"
16262cat > conftest.$ac_ext <<EOF
16263#line 16264 "configure"
16264#include "confdefs.h"
16265/* Override any gcc2 internal prototype to avoid an error. */
16266/* We use char because int might match the return type of a gcc2
16267 builtin and then its argument prototype would still apply. */
16268char pthread_cancel();
16269
16270int main() {
16271pthread_cancel()
16272; return 0; }
16273EOF
16274if { (eval echo configure:16275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16275 rm -rf conftest*
16276 eval "ac_cv_lib_$ac_lib_var=yes"
16277else
16278 echo "configure: failed program was:" >&5
16279 cat conftest.$ac_ext >&5
16280 rm -rf conftest*
16281 eval "ac_cv_lib_$ac_lib_var=no"
16282fi
16283rm -f conftest*
16284LIBS="$ac_save_LIBS"
16285
16286fi
16287if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16288 echo "$ac_t""yes" 1>&6
16289 cat >> confdefs.h <<\EOF
16290#define HAVE_PTHREAD_CANCEL 1
16291EOF
16292
16293else
16294 echo "$ac_t""no" 1>&6
16295echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
16296fi
16297
16298
16299 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
16300echo "configure:16301: checking for pthread_cleanup_push/pop" >&5
16301if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
16302 echo $ac_n "(cached) $ac_c" 1>&6
16303else
16304
16305 cat > conftest.$ac_ext <<EOF
16306#line 16307 "configure"
16307#include "confdefs.h"
16308#include <pthread.h>
16309int main() {
16310
16311 pthread_cleanup_push(NULL, NULL);
16312 pthread_cleanup_pop(0);
16313
16314; return 0; }
16315EOF
16316if { (eval echo configure:16317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16317 rm -rf conftest*
16318
16319 wx_cv_func_pthread_cleanup_push=yes
16320
16321else
16322 echo "configure: failed program was:" >&5
16323 cat conftest.$ac_ext >&5
16324 rm -rf conftest*
16325
16326 wx_cv_func_pthread_cleanup_push=no
16327
16328fi
16329rm -f conftest*
16330
16331fi
16332
16333echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
16334
16335 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
16336 cat >> confdefs.h <<\EOF
16337#define HAVE_THREAD_CLEANUP_FUNCTIONS 1
16338EOF
16339
16340 fi
16341
16342
16343 if test "x$wx_lib_glibc21" = "xyes"; then
16344 CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
16345 fi
16346
16347 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
16348echo "configure:16349: checking for pthread_mutexattr_t" >&5
16349if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
16350 echo $ac_n "(cached) $ac_c" 1>&6
16351else
16352
16353 cat > conftest.$ac_ext <<EOF
16354#line 16355 "configure"
16355#include "confdefs.h"
16356#include <pthread.h>
16357int main() {
16358
16359 pthread_mutexattr_t attr;
16360 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
16361
16362; return 0; }
16363EOF
16364if { (eval echo configure:16365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16365 rm -rf conftest*
16366
16367 wx_cv_type_pthread_mutexattr_t=yes
16368
16369else
16370 echo "configure: failed program was:" >&5
16371 cat conftest.$ac_ext >&5
16372 rm -rf conftest*
16373
16374 wx_cv_type_pthread_mutexattr_t=no
16375
16376
16377fi
16378rm -f conftest*
16379
16380fi
16381
16382echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
16383
16384 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
16385 cat >> confdefs.h <<\EOF
16386#define HAVE_PTHREAD_MUTEXATTR_T 1
16387EOF
16388
16389 else
16390 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
16391echo "configure:16392: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
16392if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
16393 echo $ac_n "(cached) $ac_c" 1>&6
16394else
16395
16396 cat > conftest.$ac_ext <<EOF
16397#line 16398 "configure"
16398#include "confdefs.h"
16399#include <pthread.h>
16400int main() {
16401
16402 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
16403
16404; return 0; }
16405EOF
16406if { (eval echo configure:16407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16407 rm -rf conftest*
16408
16409 wx_cv_type_pthread_rec_mutex_init=yes
16410
16411else
16412 echo "configure: failed program was:" >&5
16413 cat conftest.$ac_ext >&5
16414 rm -rf conftest*
16415
16416 wx_cv_type_pthread_rec_mutex_init=no
16417
16418
16419fi
16420rm -f conftest*
16421
16422fi
16423
16424echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
16425 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
16426 cat >> confdefs.h <<\EOF
16427#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
16428EOF
16429
16430 else
16431 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
16432 fi
16433 fi
16434
16435 THREADS_LINK=" -l$THREADS_LINK"
16436
16437 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
16438 CPPFLAGS="$CFLAGS -mt"
16439 CXXFLAGS="$CXXFLAGS -mt"
16440 LDFLAGS="$LDFLAGS -mt"
16441 fi
16442 fi
16443
16444fi
16445
16446if test "$wxUSE_THREADS" = "yes"; then
16447 cat >> confdefs.h <<\EOF
16448#define wxUSE_THREADS 1
16449EOF
16450
16451
16452 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS $CPP_MT_FLAG"
16453
16454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
16455else
16456 if test "$ac_cv_func_strtok_r" = "yes"; then
16457 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
16458echo "configure:16459: checking if -D_REENTRANT is needed" >&5
16459 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
16460 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
16461 echo "$ac_t""yes" 1>&6
16462 else
16463 echo "$ac_t""no" 1>&6
16464 fi
16465 fi
16466fi
16467
16468if test "$WXGTK20" = 1 ; then
16469 cat >> confdefs.h <<EOF
16470#define __WXGTK20__ $WXGTK20
16471EOF
16472
16473 WXGTK12=1
16474fi
16475
16476if test "$WXGTK12" = 1 ; then
16477 cat >> confdefs.h <<EOF
16478#define __WXGTK12__ $WXGTK12
16479EOF
16480
16481fi
16482
16483if test "$WXGTK127" = 1 ; then
16484 cat >> confdefs.h <<EOF
16485#define __WXGTK127__ $WXGTK127
16486EOF
16487
16488fi
16489
16490WXDEBUG=
16491
16492if test "$wxUSE_DEBUG_INFO" = "yes" ; then
16493 WXDEBUG="-g"
16494 wxUSE_OPTIMISE=no
16495fi
16496
16497if test "$wxUSE_DEBUG_GDB" = "yes" ; then
16498 wxUSE_DEBUG_INFO=yes
16499 WXDEBUG="-ggdb"
16500fi
16501
16502if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
16503 cat >> confdefs.h <<\EOF
16504#define WXDEBUG 1
16505EOF
16506
16507 WXDEBUG_DEFINE="-D__WXDEBUG__"
16508else
16509 if test "$wxUSE_GTK" = 1 ; then
16510 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
16511 fi
16512fi
16513
16514if test "$wxUSE_MEM_TRACING" = "yes" ; then
16515 cat >> confdefs.h <<\EOF
16516#define wxUSE_MEMORY_TRACING 1
16517EOF
16518
16519 cat >> confdefs.h <<\EOF
16520#define wxUSE_GLOBAL_MEMORY_OPERATORS 1
16521EOF
16522
16523 cat >> confdefs.h <<\EOF
16524#define wxUSE_DEBUG_NEW_ALWAYS 1
16525EOF
16526
16527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
16528fi
16529
16530if test "$wxUSE_DMALLOC" = "yes" ; then
16531 DMALLOC_LIBS="-ldmalloc"
16532fi
16533
16534PROFILE=
16535if test "$wxUSE_PROFILE" = "yes" ; then
16536 PROFILE=" -pg"
16537fi
16538
16539if test "$GCC" = "yes" ; then
16540 if test "$wxUSE_NO_RTTI" = "yes" ; then
16541 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
16542 fi
16543 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
16544 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
16545 fi
16546 if test "$wxUSE_PERMISSIVE" = "yes" ; then
16547 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
16548 fi
16549 if test "$USE_WIN32" = 1 ; then
16550 # I'm not even really sure what this was ever added to solve,
16551 # but someone added it for mingw native builds, so I guess
16552 # they had a reason, right??
16553 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return"
16554 fi
16555fi
16556
16557
16558CXXFLAGS=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
16559CFLAGS=`echo "${CFLAGS}" | sed "s/\-O.//g" `
16560if test "$wxUSE_OPTIMISE" = "no" ; then
16561 OPTIMISE=
16562else
16563 if test "$GCC" = yes ; then
16564 OPTIMISE="-O2"
16565 case "${host}" in
16566 i586-*-*|i686-*-* )
16567 OPTIMISE="${OPTIMISE} "
16568 ;;
16569 esac
16570 else
16571 OPTIMISE="-O"
16572 fi
16573fi
16574
16575if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
16576 cat >> confdefs.h <<\EOF
16577#define WXWIN_COMPATIBILITY_2 1
16578EOF
16579
16580
16581 WXWIN_COMPATIBILITY_2_2="yes"
16582fi
16583
16584if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
16585 cat >> confdefs.h <<\EOF
16586#define WXWIN_COMPATIBILITY_2_2 1
16587EOF
16588
16589fi
16590
16591
16592if test "$wxUSE_GUI" = "yes"; then
16593 cat >> confdefs.h <<\EOF
16594#define wxUSE_GUI 1
16595EOF
16596
16597
16598 else
16599 cat >> confdefs.h <<\EOF
16600#define wxUSE_NOGUI 1
16601EOF
16602
16603fi
16604
16605
16606if test "$wxUSE_UNIX" = "yes"; then
16607 cat >> confdefs.h <<\EOF
16608#define wxUSE_UNIX 1
16609EOF
16610
16611fi
16612
16613
16614if test "$wxUSE_APPLE_IEEE" = "yes"; then
16615 cat >> confdefs.h <<\EOF
16616#define wxUSE_APPLE_IEEE 1
16617EOF
16618
16619fi
16620
16621if test "$wxUSE_TIMER" = "yes"; then
16622 cat >> confdefs.h <<\EOF
16623#define wxUSE_TIMER 1
16624EOF
16625
16626fi
16627
16628if test "$wxUSE_WAVE" = "yes"; then
16629 cat >> confdefs.h <<\EOF
16630#define wxUSE_WAVE 1
16631EOF
16632
16633fi
16634
16635if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
16636 cat >> confdefs.h <<\EOF
16637#define wxUSE_CMDLINE_PARSER 1
16638EOF
16639
16640fi
16641
16642if test "$wxUSE_STOPWATCH" = "yes"; then
16643 cat >> confdefs.h <<\EOF
16644#define wxUSE_STOPWATCH 1
16645EOF
16646
16647fi
16648
16649if test "$wxUSE_DATETIME" = "yes"; then
16650 cat >> confdefs.h <<\EOF
16651#define wxUSE_DATETIME 1
16652EOF
16653
16654fi
16655
16656if test "$wxUSE_TIMEDATE" = "yes"; then
16657 cat >> confdefs.h <<\EOF
16658#define wxUSE_TIMEDATE 1
16659EOF
16660
16661fi
16662
16663if test "$wxUSE_FILE" = "yes"; then
16664 cat >> confdefs.h <<\EOF
16665#define wxUSE_FILE 1
16666EOF
16667
16668fi
16669
16670if test "$wxUSE_FFILE" = "yes"; then
16671 cat >> confdefs.h <<\EOF
16672#define wxUSE_FFILE 1
16673EOF
16674
16675fi
16676
16677if test "$wxUSE_FILESYSTEM" = "yes"; then
16678 cat >> confdefs.h <<\EOF
16679#define wxUSE_FILESYSTEM 1
16680EOF
16681
16682fi
16683
16684if test "$wxUSE_FS_INET" = "yes"; then
16685 cat >> confdefs.h <<\EOF
16686#define wxUSE_FS_INET 1
16687EOF
16688
16689fi
16690
16691if test "$wxUSE_FS_ZIP" = "yes"; then
16692 cat >> confdefs.h <<\EOF
16693#define wxUSE_FS_ZIP 1
16694EOF
16695
16696fi
16697
16698if test "$wxUSE_ZIPSTREAM" = "yes"; then
16699 cat >> confdefs.h <<\EOF
16700#define wxUSE_ZIPSTREAM 1
16701EOF
16702
16703fi
16704
16705if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16706 cat >> confdefs.h <<\EOF
16707#define wxUSE_ON_FATAL_EXCEPTION 1
16708EOF
16709
16710fi
16711
16712if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16713 cat >> confdefs.h <<\EOF
16714#define wxUSE_SNGLINST_CHECKER 1
16715EOF
16716
16717fi
16718
16719if test "$wxUSE_BUSYINFO" = "yes"; then
16720 cat >> confdefs.h <<\EOF
16721#define wxUSE_BUSYINFO 1
16722EOF
16723
16724fi
16725
16726if test "$wxUSE_STD_IOSTREAM" = "yes"; then
16727 cat >> confdefs.h <<\EOF
16728#define wxUSE_STD_IOSTREAM 1
16729EOF
16730
16731fi
16732
16733if test "$wxUSE_TEXTBUFFER" = "yes"; then
16734 cat >> confdefs.h <<\EOF
16735#define wxUSE_TEXTBUFFER 1
16736EOF
16737
16738fi
16739
16740if test "$wxUSE_TEXTFILE" = "yes"; then
16741 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
16742 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
16743 else
16744 cat >> confdefs.h <<\EOF
16745#define wxUSE_TEXTFILE 1
16746EOF
16747
16748 fi
16749fi
16750
16751if test "$wxUSE_CONFIG" = "yes" ; then
16752 if test "$wxUSE_TEXTFILE" != "yes"; then
16753 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
16754 else
16755 cat >> confdefs.h <<\EOF
16756#define wxUSE_CONFIG 1
16757EOF
16758
16759 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
16760 fi
16761fi
16762
16763if test "$wxUSE_INTL" = "yes" ; then
16764 if test "$wxUSE_FILE" != "yes"; then
16765 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
16766 else
16767 cat >> confdefs.h <<\EOF
16768#define wxUSE_INTL 1
16769EOF
16770
16771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
16772 GUIDIST="$GUIDIST INTL_DIST"
16773 fi
16774fi
16775
16776if test "$wxUSE_LOG" = "yes"; then
16777 cat >> confdefs.h <<\EOF
16778#define wxUSE_LOG 1
16779EOF
16780
16781
16782 if test "$wxUSE_LOGGUI" = "yes"; then
16783 cat >> confdefs.h <<\EOF
16784#define wxUSE_LOGGUI 1
16785EOF
16786
16787 fi
16788
16789 if test "$wxUSE_LOGWINDOW" = "yes"; then
16790 cat >> confdefs.h <<\EOF
16791#define wxUSE_LOGWINDOW 1
16792EOF
16793
16794 fi
16795
16796 if test "$wxUSE_LOGDIALOG" = "yes"; then
16797 cat >> confdefs.h <<\EOF
16798#define wxUSE_LOG_DIALOG 1
16799EOF
16800
16801 fi
16802fi
16803
16804if test "$wxUSE_LONGLONG" = "yes"; then
16805 cat >> confdefs.h <<\EOF
16806#define wxUSE_LONGLONG 1
16807EOF
16808
16809fi
16810
16811if test "$wxUSE_GEOMETRY" = "yes"; then
16812 cat >> confdefs.h <<\EOF
16813#define wxUSE_GEOMETRY 1
16814EOF
16815
16816fi
16817
16818if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
16819 cat >> confdefs.h <<\EOF
16820#define wxUSE_DIALUP_MANAGER 1
16821EOF
16822
16823 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
16824fi
16825
16826if test "$wxUSE_STREAMS" = "yes" ; then
16827 cat >> confdefs.h <<\EOF
16828#define wxUSE_STREAMS 1
16829EOF
16830
16831fi
16832
16833
16834if test "$wxUSE_DATETIME" = "yes"; then
16835 for ac_func in strptime
16836do
16837echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16838echo "configure:16839: checking for $ac_func" >&5
16839if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16840 echo $ac_n "(cached) $ac_c" 1>&6
16841else
16842 cat > conftest.$ac_ext <<EOF
16843#line 16844 "configure"
16844#include "confdefs.h"
16845/* System header to define __stub macros and hopefully few prototypes,
16846 which can conflict with char $ac_func(); below. */
16847#include <assert.h>
16848/* Override any gcc2 internal prototype to avoid an error. */
16849/* We use char because int might match the return type of a gcc2
16850 builtin and then its argument prototype would still apply. */
16851char $ac_func();
16852
16853int main() {
16854
16855/* The GNU C library defines this for functions which it implements
16856 to always fail with ENOSYS. Some functions are actually named
16857 something starting with __ and the normal name is an alias. */
16858#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16859choke me
16860#else
16861$ac_func();
16862#endif
16863
16864; return 0; }
16865EOF
16866if { (eval echo configure:16867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16867 rm -rf conftest*
16868 eval "ac_cv_func_$ac_func=yes"
16869else
16870 echo "configure: failed program was:" >&5
16871 cat conftest.$ac_ext >&5
16872 rm -rf conftest*
16873 eval "ac_cv_func_$ac_func=no"
16874fi
16875rm -f conftest*
16876fi
16877
16878if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16879 echo "$ac_t""yes" 1>&6
16880 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16881 cat >> confdefs.h <<EOF
16882#define $ac_tr_func 1
16883EOF
16884
16885else
16886 echo "$ac_t""no" 1>&6
16887fi
16888done
16889
16890
16891 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16892echo "configure:16893: checking for timezone variable in <time.h>" >&5
16893if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16894 echo $ac_n "(cached) $ac_c" 1>&6
16895else
16896
16897 cat > conftest.$ac_ext <<EOF
16898#line 16899 "configure"
16899#include "confdefs.h"
16900
16901 #include <time.h>
16902
16903int main() {
16904
16905 int tz;
16906 tz = timezone;
16907
16908; return 0; }
16909EOF
16910if { (eval echo configure:16911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16911 rm -rf conftest*
16912
16913 wx_cv_var_timezone=timezone
16914
16915else
16916 echo "configure: failed program was:" >&5
16917 cat conftest.$ac_ext >&5
16918 rm -rf conftest*
16919
16920 cat > conftest.$ac_ext <<EOF
16921#line 16922 "configure"
16922#include "confdefs.h"
16923
16924 #include <time.h>
16925
16926int main() {
16927
16928 int tz;
16929 tz = _timezone;
16930
16931; return 0; }
16932EOF
16933if { (eval echo configure:16934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16934 rm -rf conftest*
16935
16936 wx_cv_var_timezone=_timezone
16937
16938else
16939 echo "configure: failed program was:" >&5
16940 cat conftest.$ac_ext >&5
16941 rm -rf conftest*
16942
16943 cat > conftest.$ac_ext <<EOF
16944#line 16945 "configure"
16945#include "confdefs.h"
16946
16947 #include <time.h>
16948
16949int main() {
16950
16951 int tz;
16952 tz = __timezone;
16953
16954; return 0; }
16955EOF
16956if { (eval echo configure:16957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16957 rm -rf conftest*
16958
16959 wx_cv_var_timezone=__timezone
16960
16961else
16962 echo "configure: failed program was:" >&5
16963 cat conftest.$ac_ext >&5
16964 rm -rf conftest*
16965 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16966
16967fi
16968rm -f conftest*
16969
16970
16971fi
16972rm -f conftest*
16973
16974
16975fi
16976rm -f conftest*
16977
16978
16979fi
16980
16981echo "$ac_t""$wx_cv_var_timezone" 1>&6
16982
16983 cat >> confdefs.h <<EOF
16984#define WX_TIMEZONE $wx_cv_var_timezone
16985EOF
16986
16987
16988 for ac_func in localtime
16989do
16990echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16991echo "configure:16992: checking for $ac_func" >&5
16992if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16993 echo $ac_n "(cached) $ac_c" 1>&6
16994else
16995 cat > conftest.$ac_ext <<EOF
16996#line 16997 "configure"
16997#include "confdefs.h"
16998/* System header to define __stub macros and hopefully few prototypes,
16999 which can conflict with char $ac_func(); below. */
17000#include <assert.h>
17001/* Override any gcc2 internal prototype to avoid an error. */
17002/* We use char because int might match the return type of a gcc2
17003 builtin and then its argument prototype would still apply. */
17004char $ac_func();
17005
17006int main() {
17007
17008/* The GNU C library defines this for functions which it implements
17009 to always fail with ENOSYS. Some functions are actually named
17010 something starting with __ and the normal name is an alias. */
17011#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17012choke me
17013#else
17014$ac_func();
17015#endif
17016
17017; return 0; }
17018EOF
17019if { (eval echo configure:17020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17020 rm -rf conftest*
17021 eval "ac_cv_func_$ac_func=yes"
17022else
17023 echo "configure: failed program was:" >&5
17024 cat conftest.$ac_ext >&5
17025 rm -rf conftest*
17026 eval "ac_cv_func_$ac_func=no"
17027fi
17028rm -f conftest*
17029fi
17030
17031if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17032 echo "$ac_t""yes" 1>&6
17033 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17034 cat >> confdefs.h <<EOF
17035#define $ac_tr_func 1
17036EOF
17037
17038else
17039 echo "$ac_t""no" 1>&6
17040fi
17041done
17042
17043
17044 if test "$ac_cv_func_localtime" = "yes"; then
17045 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
17046echo "configure:17047: checking for tm_gmtoff in struct tm" >&5
17047if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
17048 echo $ac_n "(cached) $ac_c" 1>&6
17049else
17050
17051 cat > conftest.$ac_ext <<EOF
17052#line 17053 "configure"
17053#include "confdefs.h"
17054
17055 #include <time.h>
17056
17057int main() {
17058
17059 struct tm tm;
17060 tm.tm_gmtoff++;
17061
17062; return 0; }
17063EOF
17064if { (eval echo configure:17065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17065 rm -rf conftest*
17066
17067 wx_cv_struct_tm_has_gmtoff=yes
17068
17069else
17070 echo "configure: failed program was:" >&5
17071 cat conftest.$ac_ext >&5
17072 rm -rf conftest*
17073 wx_cv_struct_tm_has_gmtoff=no
17074
17075fi
17076rm -f conftest*
17077
17078fi
17079
17080echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
17081 fi
17082
17083 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
17084 cat >> confdefs.h <<\EOF
17085#define WX_GMTOFF_IN_TM 1
17086EOF
17087
17088 fi
17089
17090 for ac_func in gettimeofday ftime
17091do
17092echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17093echo "configure:17094: checking for $ac_func" >&5
17094if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17095 echo $ac_n "(cached) $ac_c" 1>&6
17096else
17097 cat > conftest.$ac_ext <<EOF
17098#line 17099 "configure"
17099#include "confdefs.h"
17100/* System header to define __stub macros and hopefully few prototypes,
17101 which can conflict with char $ac_func(); below. */
17102#include <assert.h>
17103/* Override any gcc2 internal prototype to avoid an error. */
17104/* We use char because int might match the return type of a gcc2
17105 builtin and then its argument prototype would still apply. */
17106char $ac_func();
17107
17108int main() {
17109
17110/* The GNU C library defines this for functions which it implements
17111 to always fail with ENOSYS. Some functions are actually named
17112 something starting with __ and the normal name is an alias. */
17113#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17114choke me
17115#else
17116$ac_func();
17117#endif
17118
17119; return 0; }
17120EOF
17121if { (eval echo configure:17122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17122 rm -rf conftest*
17123 eval "ac_cv_func_$ac_func=yes"
17124else
17125 echo "configure: failed program was:" >&5
17126 cat conftest.$ac_ext >&5
17127 rm -rf conftest*
17128 eval "ac_cv_func_$ac_func=no"
17129fi
17130rm -f conftest*
17131fi
17132
17133if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17134 echo "$ac_t""yes" 1>&6
17135 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17136 cat >> confdefs.h <<EOF
17137#define $ac_tr_func 1
17138EOF
17139 break
17140else
17141 echo "$ac_t""no" 1>&6
17142fi
17143done
17144
17145
17146 if test "$ac_cv_func_gettimeofday" = "yes"; then
17147 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
17148echo "configure:17149: checking whether gettimeofday takes two arguments" >&5
17149if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
17150 echo $ac_n "(cached) $ac_c" 1>&6
17151else
17152
17153
17154 ac_ext=C
17155# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17156ac_cpp='$CXXCPP $CPPFLAGS'
17157ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17158ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17159cross_compiling=$ac_cv_prog_cxx_cross
17160
17161
17162 cat > conftest.$ac_ext <<EOF
17163#line 17164 "configure"
17164#include "confdefs.h"
17165
17166 #include <sys/time.h>
17167 #include <unistd.h>
17168
17169int main() {
17170
17171 struct timeval tv;
17172 gettimeofday(&tv, NULL);
17173
17174; return 0; }
17175EOF
17176if { (eval echo configure:17177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17177 rm -rf conftest*
17178 wx_cv_func_gettimeofday_has_2_args=yes
17179else
17180 echo "configure: failed program was:" >&5
17181 cat conftest.$ac_ext >&5
17182 rm -rf conftest*
17183 cat > conftest.$ac_ext <<EOF
17184#line 17185 "configure"
17185#include "confdefs.h"
17186
17187 #include <sys/time.h>
17188 #include <unistd.h>
17189
17190int main() {
17191
17192 struct timeval tv;
17193 gettimeofday(&tv);
17194
17195; return 0; }
17196EOF
17197if { (eval echo configure:17198: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17198 rm -rf conftest*
17199 wx_cv_func_gettimeofday_has_2_args=no
17200else
17201 echo "configure: failed program was:" >&5
17202 cat conftest.$ac_ext >&5
17203 rm -rf conftest*
17204
17205 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
17206 wx_cv_func_gettimeofday_has_2_args=unknown
17207
17208
17209fi
17210rm -f conftest*
17211
17212fi
17213rm -f conftest*
17214 ac_ext=c
17215# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17216ac_cpp='$CPP $CPPFLAGS'
17217ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17218ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17219cross_compiling=$ac_cv_prog_cc_cross
17220
17221
17222fi
17223
17224echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
17225
17226 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
17227 cat >> confdefs.h <<\EOF
17228#define WX_GETTIMEOFDAY_NO_TZ 1
17229EOF
17230
17231 fi
17232 fi
17233
17234 cat >> confdefs.h <<\EOF
17235#define wxUSE_TIMEDATE 1
17236EOF
17237
17238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
17239fi
17240
17241
17242if test "$TOOLKIT" != "MSW"; then
17243
17244 if test "$wxUSE_SOCKETS" = "yes"; then
17245 echo $ac_n "checking for socket""... $ac_c" 1>&6
17246echo "configure:17247: checking for socket" >&5
17247if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
17248 echo $ac_n "(cached) $ac_c" 1>&6
17249else
17250 cat > conftest.$ac_ext <<EOF
17251#line 17252 "configure"
17252#include "confdefs.h"
17253/* System header to define __stub macros and hopefully few prototypes,
17254 which can conflict with char socket(); below. */
17255#include <assert.h>
17256/* Override any gcc2 internal prototype to avoid an error. */
17257/* We use char because int might match the return type of a gcc2
17258 builtin and then its argument prototype would still apply. */
17259char socket();
17260
17261int main() {
17262
17263/* The GNU C library defines this for functions which it implements
17264 to always fail with ENOSYS. Some functions are actually named
17265 something starting with __ and the normal name is an alias. */
17266#if defined (__stub_socket) || defined (__stub___socket)
17267choke me
17268#else
17269socket();
17270#endif
17271
17272; return 0; }
17273EOF
17274if { (eval echo configure:17275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17275 rm -rf conftest*
17276 eval "ac_cv_func_socket=yes"
17277else
17278 echo "configure: failed program was:" >&5
17279 cat conftest.$ac_ext >&5
17280 rm -rf conftest*
17281 eval "ac_cv_func_socket=no"
17282fi
17283rm -f conftest*
17284fi
17285
17286if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
17287 echo "$ac_t""yes" 1>&6
17288 :
17289else
17290 echo "$ac_t""no" 1>&6
17291echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
17292echo "configure:17293: checking for socket in -lsocket" >&5
17293ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
17294if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17295 echo $ac_n "(cached) $ac_c" 1>&6
17296else
17297 ac_save_LIBS="$LIBS"
17298LIBS="-lsocket $LIBS"
17299cat > conftest.$ac_ext <<EOF
17300#line 17301 "configure"
17301#include "confdefs.h"
17302/* Override any gcc2 internal prototype to avoid an error. */
17303/* We use char because int might match the return type of a gcc2
17304 builtin and then its argument prototype would still apply. */
17305char socket();
17306
17307int main() {
17308socket()
17309; return 0; }
17310EOF
17311if { (eval echo configure:17312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17312 rm -rf conftest*
17313 eval "ac_cv_lib_$ac_lib_var=yes"
17314else
17315 echo "configure: failed program was:" >&5
17316 cat conftest.$ac_ext >&5
17317 rm -rf conftest*
17318 eval "ac_cv_lib_$ac_lib_var=no"
17319fi
17320rm -f conftest*
17321LIBS="$ac_save_LIBS"
17322
17323fi
17324if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17325 echo "$ac_t""yes" 1>&6
17326 INET_LINK="$INET_LINK -lsocket"
17327else
17328 echo "$ac_t""no" 1>&6
17329
17330 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
17331 wxUSE_SOCKETS=no
17332
17333
17334fi
17335
17336
17337fi
17338
17339 fi
17340
17341
17342 if test "$wxUSE_SOCKETS" = "yes" ; then
17343 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
17344echo "configure:17345: checking what is the type of the third argument of getsockname" >&5
17345if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
17346 echo $ac_n "(cached) $ac_c" 1>&6
17347else
17348
17349
17350 ac_ext=C
17351# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17352ac_cpp='$CXXCPP $CPPFLAGS'
17353ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17354ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17355cross_compiling=$ac_cv_prog_cxx_cross
17356
17357
17358 cat > conftest.$ac_ext <<EOF
17359#line 17360 "configure"
17360#include "confdefs.h"
17361
17362 #include <sys/types.h>
17363 #include <sys/socket.h>
17364
17365int main() {
17366
17367 socklen_t len;
17368 getsockname(0, 0, &len);
17369
17370; return 0; }
17371EOF
17372if { (eval echo configure:17373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17373 rm -rf conftest*
17374 wx_cv_type_getsockname3=socklen_t
17375else
17376 echo "configure: failed program was:" >&5
17377 cat conftest.$ac_ext >&5
17378 rm -rf conftest*
17379 cat > conftest.$ac_ext <<EOF
17380#line 17381 "configure"
17381#include "confdefs.h"
17382
17383 #include <sys/types.h>
17384 #include <sys/socket.h>
17385
17386int main() {
17387
17388 size_t len;
17389 getsockname(0, 0, &len);
17390
17391; return 0; }
17392EOF
17393if { (eval echo configure:17394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17394 rm -rf conftest*
17395 wx_cv_type_getsockname3=size_t
17396else
17397 echo "configure: failed program was:" >&5
17398 cat conftest.$ac_ext >&5
17399 rm -rf conftest*
17400 cat > conftest.$ac_ext <<EOF
17401#line 17402 "configure"
17402#include "confdefs.h"
17403
17404 #include <sys/types.h>
17405 #include <sys/socket.h>
17406
17407int main() {
17408
17409 int len;
17410 getsockname(0, 0, &len);
17411
17412; return 0; }
17413EOF
17414if { (eval echo configure:17415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17415 rm -rf conftest*
17416 wx_cv_type_getsockname3=int
17417else
17418 echo "configure: failed program was:" >&5
17419 cat conftest.$ac_ext >&5
17420 rm -rf conftest*
17421 wx_cv_type_getsockname3=unknown
17422
17423fi
17424rm -f conftest*
17425
17426fi
17427rm -f conftest*
17428
17429fi
17430rm -f conftest*
17431
17432 ac_ext=c
17433# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17434ac_cpp='$CPP $CPPFLAGS'
17435ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17436ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17437cross_compiling=$ac_cv_prog_cc_cross
17438
17439
17440fi
17441
17442echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
17443
17444 if test "$wx_cv_type_getsockname3" = "unknown"; then
17445 wxUSE_SOCKETS=no
17446 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
17447 else
17448 cat >> confdefs.h <<EOF
17449#define SOCKLEN_T $wx_cv_type_getsockname3
17450EOF
17451
17452 fi
17453 fi
17454fi
17455
17456if test "$wxUSE_SOCKETS" = "yes" ; then
17457 cat >> confdefs.h <<\EOF
17458#define wxUSE_SOCKETS 1
17459EOF
17460
17461 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
17462fi
17463
17464
17465if test "$wxUSE_GUI" = "yes"; then
17466
17467 if test "$TOOLKIT" = "MAC"; then
17468 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
17469 wxUSE_JOYSTICK=no
17470 fi
17471 if test "$TOOLKIT" = "MOTIF"; then
17472 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
17473 wxUSE_JOYSTICK=no
17474 fi
17475
17476 if test "$TOOLKIT" != "MSW"; then
17477 if test "$wxUSE_JOYSTICK" = "yes"; then
17478 for ac_hdr in linux/joystick.h
17479do
17480ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17481echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17482echo "configure:17483: checking for $ac_hdr" >&5
17483if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17484 echo $ac_n "(cached) $ac_c" 1>&6
17485else
17486 cat > conftest.$ac_ext <<EOF
17487#line 17488 "configure"
17488#include "confdefs.h"
17489#include <$ac_hdr>
17490EOF
17491ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17492{ (eval echo configure:17493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17493ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17494if test -z "$ac_err"; then
17495 rm -rf conftest*
17496 eval "ac_cv_header_$ac_safe=yes"
17497else
17498 echo "$ac_err" >&5
17499 echo "configure: failed program was:" >&5
17500 cat conftest.$ac_ext >&5
17501 rm -rf conftest*
17502 eval "ac_cv_header_$ac_safe=no"
17503fi
17504rm -f conftest*
17505fi
17506if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17507 echo "$ac_t""yes" 1>&6
17508 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17509 cat >> confdefs.h <<EOF
17510#define $ac_tr_hdr 1
17511EOF
17512
17513else
17514 echo "$ac_t""no" 1>&6
17515fi
17516done
17517
17518 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
17519 wxUSE_JOYSTICK=no
17520 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
17521 fi
17522 fi
17523 fi
17524
17525 if test "$wxUSE_JOYSTICK" = "yes"; then
17526 cat >> confdefs.h <<\EOF
17527#define wxUSE_JOYSTICK 1
17528EOF
17529
17530 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
17531 fi
17532fi
17533
17534
17535if test "$TOOLKIT" != "MSW"; then
17536
17537 HAVE_DL_FUNCS=0
17538 HAVE_SHL_FUNCS=0
17539 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
17540 if test "$USE_DARWIN" = 1; then
17541 HAVE_DL_FUNCS=1
17542 else
17543 for ac_func in dlopen
17544do
17545echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17546echo "configure:17547: checking for $ac_func" >&5
17547if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17548 echo $ac_n "(cached) $ac_c" 1>&6
17549else
17550 cat > conftest.$ac_ext <<EOF
17551#line 17552 "configure"
17552#include "confdefs.h"
17553/* System header to define __stub macros and hopefully few prototypes,
17554 which can conflict with char $ac_func(); below. */
17555#include <assert.h>
17556/* Override any gcc2 internal prototype to avoid an error. */
17557/* We use char because int might match the return type of a gcc2
17558 builtin and then its argument prototype would still apply. */
17559char $ac_func();
17560
17561int main() {
17562
17563/* The GNU C library defines this for functions which it implements
17564 to always fail with ENOSYS. Some functions are actually named
17565 something starting with __ and the normal name is an alias. */
17566#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17567choke me
17568#else
17569$ac_func();
17570#endif
17571
17572; return 0; }
17573EOF
17574if { (eval echo configure:17575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17575 rm -rf conftest*
17576 eval "ac_cv_func_$ac_func=yes"
17577else
17578 echo "configure: failed program was:" >&5
17579 cat conftest.$ac_ext >&5
17580 rm -rf conftest*
17581 eval "ac_cv_func_$ac_func=no"
17582fi
17583rm -f conftest*
17584fi
17585
17586if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17587 echo "$ac_t""yes" 1>&6
17588 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17589 cat >> confdefs.h <<EOF
17590#define $ac_tr_func 1
17591EOF
17592
17593 cat >> confdefs.h <<\EOF
17594#define HAVE_DLOPEN 1
17595EOF
17596
17597 HAVE_DL_FUNCS=1
17598
17599else
17600 echo "$ac_t""no" 1>&6
17601echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
17602echo "configure:17603: checking for dlopen in -ldl" >&5
17603ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
17604if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17605 echo $ac_n "(cached) $ac_c" 1>&6
17606else
17607 ac_save_LIBS="$LIBS"
17608LIBS="-ldl $LIBS"
17609cat > conftest.$ac_ext <<EOF
17610#line 17611 "configure"
17611#include "confdefs.h"
17612/* Override any gcc2 internal prototype to avoid an error. */
17613/* We use char because int might match the return type of a gcc2
17614 builtin and then its argument prototype would still apply. */
17615char dlopen();
17616
17617int main() {
17618dlopen()
17619; return 0; }
17620EOF
17621if { (eval echo configure:17622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17622 rm -rf conftest*
17623 eval "ac_cv_lib_$ac_lib_var=yes"
17624else
17625 echo "configure: failed program was:" >&5
17626 cat conftest.$ac_ext >&5
17627 rm -rf conftest*
17628 eval "ac_cv_lib_$ac_lib_var=no"
17629fi
17630rm -f conftest*
17631LIBS="$ac_save_LIBS"
17632
17633fi
17634if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17635 echo "$ac_t""yes" 1>&6
17636
17637 cat >> confdefs.h <<\EOF
17638#define HAVE_DLOPEN 1
17639EOF
17640
17641 HAVE_DL_FUNCS=1
17642 DL_LINK=" -ldl$DL_LINK"
17643
17644else
17645 echo "$ac_t""no" 1>&6
17646
17647 for ac_func in shl_load
17648do
17649echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17650echo "configure:17651: checking for $ac_func" >&5
17651if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17652 echo $ac_n "(cached) $ac_c" 1>&6
17653else
17654 cat > conftest.$ac_ext <<EOF
17655#line 17656 "configure"
17656#include "confdefs.h"
17657/* System header to define __stub macros and hopefully few prototypes,
17658 which can conflict with char $ac_func(); below. */
17659#include <assert.h>
17660/* Override any gcc2 internal prototype to avoid an error. */
17661/* We use char because int might match the return type of a gcc2
17662 builtin and then its argument prototype would still apply. */
17663char $ac_func();
17664
17665int main() {
17666
17667/* The GNU C library defines this for functions which it implements
17668 to always fail with ENOSYS. Some functions are actually named
17669 something starting with __ and the normal name is an alias. */
17670#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17671choke me
17672#else
17673$ac_func();
17674#endif
17675
17676; return 0; }
17677EOF
17678if { (eval echo configure:17679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17679 rm -rf conftest*
17680 eval "ac_cv_func_$ac_func=yes"
17681else
17682 echo "configure: failed program was:" >&5
17683 cat conftest.$ac_ext >&5
17684 rm -rf conftest*
17685 eval "ac_cv_func_$ac_func=no"
17686fi
17687rm -f conftest*
17688fi
17689
17690if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17691 echo "$ac_t""yes" 1>&6
17692 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17693 cat >> confdefs.h <<EOF
17694#define $ac_tr_func 1
17695EOF
17696
17697 cat >> confdefs.h <<\EOF
17698#define HAVE_SHL_LOAD 1
17699EOF
17700
17701 HAVE_SHL_FUNCS=1
17702
17703else
17704 echo "$ac_t""no" 1>&6
17705echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
17706echo "configure:17707: checking for dld in -lshl_load" >&5
17707ac_lib_var=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
17708if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17709 echo $ac_n "(cached) $ac_c" 1>&6
17710else
17711 ac_save_LIBS="$LIBS"
17712LIBS="-lshl_load $LIBS"
17713cat > conftest.$ac_ext <<EOF
17714#line 17715 "configure"
17715#include "confdefs.h"
17716/* Override any gcc2 internal prototype to avoid an error. */
17717/* We use char because int might match the return type of a gcc2
17718 builtin and then its argument prototype would still apply. */
17719char dld();
17720
17721int main() {
17722dld()
17723; return 0; }
17724EOF
17725if { (eval echo configure:17726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17726 rm -rf conftest*
17727 eval "ac_cv_lib_$ac_lib_var=yes"
17728else
17729 echo "configure: failed program was:" >&5
17730 cat conftest.$ac_ext >&5
17731 rm -rf conftest*
17732 eval "ac_cv_lib_$ac_lib_var=no"
17733fi
17734rm -f conftest*
17735LIBS="$ac_save_LIBS"
17736
17737fi
17738if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17739 echo "$ac_t""yes" 1>&6
17740
17741 HAVE_SHL_FUNCS=1
17742 DL_LINK=" -ldld$DL_LINK"
17743
17744else
17745 echo "$ac_t""no" 1>&6
17746fi
17747
17748
17749fi
17750done
17751
17752
17753fi
17754
17755
17756fi
17757done
17758
17759
17760 if test "$HAVE_DL_FUNCS" = 1; then
17761 for ac_func in dlerror
17762do
17763echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17764echo "configure:17765: checking for $ac_func" >&5
17765if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17766 echo $ac_n "(cached) $ac_c" 1>&6
17767else
17768 cat > conftest.$ac_ext <<EOF
17769#line 17770 "configure"
17770#include "confdefs.h"
17771/* System header to define __stub macros and hopefully few prototypes,
17772 which can conflict with char $ac_func(); below. */
17773#include <assert.h>
17774/* Override any gcc2 internal prototype to avoid an error. */
17775/* We use char because int might match the return type of a gcc2
17776 builtin and then its argument prototype would still apply. */
17777char $ac_func();
17778
17779int main() {
17780
17781/* The GNU C library defines this for functions which it implements
17782 to always fail with ENOSYS. Some functions are actually named
17783 something starting with __ and the normal name is an alias. */
17784#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17785choke me
17786#else
17787$ac_func();
17788#endif
17789
17790; return 0; }
17791EOF
17792if { (eval echo configure:17793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17793 rm -rf conftest*
17794 eval "ac_cv_func_$ac_func=yes"
17795else
17796 echo "configure: failed program was:" >&5
17797 cat conftest.$ac_ext >&5
17798 rm -rf conftest*
17799 eval "ac_cv_func_$ac_func=no"
17800fi
17801rm -f conftest*
17802fi
17803
17804if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17805 echo "$ac_t""yes" 1>&6
17806 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17807 cat >> confdefs.h <<EOF
17808#define $ac_tr_func 1
17809EOF
17810 cat >> confdefs.h <<\EOF
17811#define HAVE_DLERROR 1
17812EOF
17813
17814else
17815 echo "$ac_t""no" 1>&6
17816echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
17817echo "configure:17818: checking for dlerror in -ldl" >&5
17818ac_lib_var=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
17819if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17820 echo $ac_n "(cached) $ac_c" 1>&6
17821else
17822 ac_save_LIBS="$LIBS"
17823LIBS="-ldl $LIBS"
17824cat > conftest.$ac_ext <<EOF
17825#line 17826 "configure"
17826#include "confdefs.h"
17827/* Override any gcc2 internal prototype to avoid an error. */
17828/* We use char because int might match the return type of a gcc2
17829 builtin and then its argument prototype would still apply. */
17830char dlerror();
17831
17832int main() {
17833dlerror()
17834; return 0; }
17835EOF
17836if { (eval echo configure:17837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17837 rm -rf conftest*
17838 eval "ac_cv_lib_$ac_lib_var=yes"
17839else
17840 echo "configure: failed program was:" >&5
17841 cat conftest.$ac_ext >&5
17842 rm -rf conftest*
17843 eval "ac_cv_lib_$ac_lib_var=no"
17844fi
17845rm -f conftest*
17846LIBS="$ac_save_LIBS"
17847
17848fi
17849if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17850 echo "$ac_t""yes" 1>&6
17851 cat >> confdefs.h <<\EOF
17852#define HAVE_DLERROR 1
17853EOF
17854
17855else
17856 echo "$ac_t""no" 1>&6
17857fi
17858
17859fi
17860done
17861
17862 fi
17863 fi
17864
17865 if test "$HAVE_DL_FUNCS" = 0; then
17866 if test "$HAVE_SHL_FUNCS" = 0; then
17867 if test "$USE_UNIX" = 1; then
17868 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
17869 wxUSE_DYNLIB_CLASS=no
17870 else
17871 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17872 fi
17873 fi
17874 fi
17875 fi
17876fi
17877
17878if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17879 cat >> confdefs.h <<\EOF
17880#define wxUSE_DYNLIB_CLASS 1
17881EOF
17882
17883else
17884 wxUSE_ODBC=no
17885 wxUSE_SERIAL=no
17886fi
17887
17888
17889if test "$wxUSE_FONTMAP" = "yes" ; then
17890 cat >> confdefs.h <<\EOF
17891#define wxUSE_FONTMAP 1
17892EOF
17893
17894fi
17895
17896if test "$wxUSE_UNICODE" = "yes" ; then
17897 cat >> confdefs.h <<\EOF
17898#define wxUSE_UNICODE 1
17899EOF
17900
17901fi
17902
17903if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17904 cat >> confdefs.h <<\EOF
17905#define wxUSE_EXPERIMENTAL_PRINTF 1
17906EOF
17907
17908fi
17909
17910
17911if test "$wxUSE_SERIAL" = "yes" ; then
17912 cat >> confdefs.h <<\EOF
17913#define wxUSE_SERIAL 1
17914EOF
17915
17916fi
17917
17918
17919IODBC_C_SRC=""
17920if test "$wxUSE_ODBC" = "yes" ; then
17921 cat >> confdefs.h <<\EOF
17922#define wxUSE_ODBC 1
17923EOF
17924
17925 WXODBCFLAG="-D_IODBC_"
17926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
17927fi
17928
17929
17930if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17931 cat >> confdefs.h <<\EOF
17932#define wxUSE_POSTSCRIPT 1
17933EOF
17934
17935fi
17936
17937cat >> confdefs.h <<\EOF
17938#define wxUSE_AFM_FOR_POSTSCRIPT 1
17939EOF
17940
17941
17942cat >> confdefs.h <<\EOF
17943#define wxUSE_NORMALIZED_PS_FONTS 1
17944EOF
17945
17946
17947
17948if test "$wxUSE_CONSTRAINTS" = "yes"; then
17949 cat >> confdefs.h <<\EOF
17950#define wxUSE_CONSTRAINTS 1
17951EOF
17952
17953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
17954fi
17955
17956if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17957 if test "$wxUSE_UNIVERSAL" = "yes"; then
17958 echo "configure: warning: MDI not yet supported for wxUNIVERSAL... disabled" 1>&2
17959 wxUSE_MDI_ARCHITECTURE=no
17960 fi
17961
17962 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17963 cat >> confdefs.h <<\EOF
17964#define wxUSE_MDI_ARCHITECTURE 1
17965EOF
17966
17967 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
17968 fi
17969fi
17970
17971if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17972 cat >> confdefs.h <<\EOF
17973#define wxUSE_DOC_VIEW_ARCHITECTURE 1
17974EOF
17975
17976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
17977 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17978 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
17979 fi
17980fi
17981
17982if test "$wxUSE_HELP" = "yes"; then
17983 cat >> confdefs.h <<\EOF
17984#define wxUSE_HELP 1
17985EOF
17986
17987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
17988
17989 if test "$wxUSE_MSW" = 1; then
17990 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17991 ac_safe=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17992echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17993echo "configure:17994: checking for htmlhelp.h" >&5
17994if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17995 echo $ac_n "(cached) $ac_c" 1>&6
17996else
17997 cat > conftest.$ac_ext <<EOF
17998#line 17999 "configure"
17999#include "confdefs.h"
18000#include <htmlhelp.h>
18001EOF
18002ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18003{ (eval echo configure:18004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18004ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18005if test -z "$ac_err"; then
18006 rm -rf conftest*
18007 eval "ac_cv_header_$ac_safe=yes"
18008else
18009 echo "$ac_err" >&5
18010 echo "configure: failed program was:" >&5
18011 cat conftest.$ac_ext >&5
18012 rm -rf conftest*
18013 eval "ac_cv_header_$ac_safe=no"
18014fi
18015rm -f conftest*
18016fi
18017if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18018 echo "$ac_t""yes" 1>&6
18019
18020 cat >> confdefs.h <<\EOF
18021#define wxUSE_MS_HTML_HELP 1
18022EOF
18023
18024
18025else
18026 echo "$ac_t""no" 1>&6
18027
18028 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
18029 wxUSE_MS_HTML_HELP=no
18030
18031fi
18032
18033 fi
18034 fi
18035
18036 if test "$wxUSE_WXHTML_HELP" = "yes"; then
18037 if test "$wxUSE_HTML" = "yes"; then
18038 cat >> confdefs.h <<\EOF
18039#define wxUSE_WXHTML_HELP 1
18040EOF
18041
18042 else
18043 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
18044 wxUSE_WXHTML_HELP=no
18045 fi
18046 fi
18047fi
18048
18049if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
18050 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18051 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
18052 else
18053 cat >> confdefs.h <<\EOF
18054#define wxUSE_PRINTING_ARCHITECTURE 1
18055EOF
18056
18057 fi
18058 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
18059fi
18060
18061if test "$wxUSE_PROLOGIO" = "yes" ; then
18062 cat >> confdefs.h <<\EOF
18063#define wxUSE_PROLOGIO 1
18064EOF
18065
18066fi
18067
18068if test "$wxUSE_RESOURCES" = "yes" ; then
18069 cat >> confdefs.h <<\EOF
18070#define wxUSE_RESOURCES 1
18071EOF
18072
18073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS resource"
18074fi
18075
18076if test "$wxUSE_X_RESOURCES" = "yes"; then
18077 cat >> confdefs.h <<\EOF
18078#define wxUSE_X_RESOURCES 1
18079EOF
18080
18081fi
18082
18083
18084if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
18085 -o "$wxUSE_CLIPBOARD" = "yes" \
18086 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
18087 for ac_hdr in ole2.h
18088do
18089ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18090echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18091echo "configure:18092: checking for $ac_hdr" >&5
18092if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18093 echo $ac_n "(cached) $ac_c" 1>&6
18094else
18095 cat > conftest.$ac_ext <<EOF
18096#line 18097 "configure"
18097#include "confdefs.h"
18098#include <$ac_hdr>
18099EOF
18100ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18101{ (eval echo configure:18102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18102ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18103if test -z "$ac_err"; then
18104 rm -rf conftest*
18105 eval "ac_cv_header_$ac_safe=yes"
18106else
18107 echo "$ac_err" >&5
18108 echo "configure: failed program was:" >&5
18109 cat conftest.$ac_ext >&5
18110 rm -rf conftest*
18111 eval "ac_cv_header_$ac_safe=no"
18112fi
18113rm -f conftest*
18114fi
18115if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18116 echo "$ac_t""yes" 1>&6
18117 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18118 cat >> confdefs.h <<EOF
18119#define $ac_tr_hdr 1
18120EOF
18121
18122else
18123 echo "$ac_t""no" 1>&6
18124fi
18125done
18126
18127
18128 if test "$ac_cv_header_ole2_h" = "yes" ; then
18129 if test "$GCC" = yes ; then
18130 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
18131 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
18132 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
18133 cat >> confdefs.h <<\EOF
18134#define wxUSE_OLE 1
18135EOF
18136
18137
18138 fi
18139
18140 cat >> confdefs.h <<\EOF
18141#define wxUSE_DATAOBJ 1
18142EOF
18143
18144 else
18145 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
18146
18147 wxUSE_CLIPBOARD=no
18148 wxUSE_DRAG_AND_DROP=no
18149 wxUSE_DATAOBJ=no
18150 fi
18151
18152 if test "$wxUSE_METAFILE" = "yes"; then
18153 cat >> confdefs.h <<\EOF
18154#define wxUSE_METAFILE 1
18155EOF
18156
18157
18158 cat >> confdefs.h <<\EOF
18159#define wxUSE_ENH_METAFILE 1
18160EOF
18161
18162 fi
18163fi
18164
18165if test "$wxUSE_IPC" = "yes"; then
18166 if test "$wxUSE_SOCKETS" != "yes"; then
18167 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
18168 fi
18169
18170 cat >> confdefs.h <<\EOF
18171#define wxUSE_IPC 1
18172EOF
18173
18174fi
18175
18176if test "$wxUSE_CLIPBOARD" = "yes"; then
18177 cat >> confdefs.h <<\EOF
18178#define wxUSE_CLIPBOARD 1
18179EOF
18180
18181
18182 cat >> confdefs.h <<\EOF
18183#define wxUSE_DATAOBJ 1
18184EOF
18185
18186fi
18187
18188if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
18189 if test "$wxUSE_GTK" = 1; then
18190 if test "$WXGTK12" != 1; then
18191 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
18192 wxUSE_DRAG_AND_DROP=no
18193 fi
18194 fi
18195
18196 if test "$wxUSE_MOTIF" = 1; then
18197 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
18198 wxUSE_DRAG_AND_DROP=no
18199 fi
18200
18201 if test "$wxUSE_MAC" = 1; then
18202 echo "configure: warning: Drag and drop not yet supported under Mac OS X... disabled" 1>&2
18203 wxUSE_DRAG_AND_DROP=no
18204 fi
18205
18206 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
18207 cat >> confdefs.h <<\EOF
18208#define wxUSE_DRAG_AND_DROP 1
18209EOF
18210
18211 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
18212 fi
18213
18214fi
18215
18216if test "$wxUSE_SPLINES" = "yes" ; then
18217 cat >> confdefs.h <<\EOF
18218#define wxUSE_SPLINES 1
18219EOF
18220
18221fi
18222
18223
18224USES_CONTROLS=0
18225if test "$wxUSE_CONTROLS" = "yes"; then
18226 USES_CONTROLS=1
18227fi
18228
18229if test "$wxUSE_ACCEL" = "yes"; then
18230 cat >> confdefs.h <<\EOF
18231#define wxUSE_ACCEL 1
18232EOF
18233
18234 USES_CONTROLS=1
18235fi
18236
18237if test "$wxUSE_BUTTON" = "yes"; then
18238 cat >> confdefs.h <<\EOF
18239#define wxUSE_BUTTON 1
18240EOF
18241
18242 USES_CONTROLS=1
18243fi
18244
18245if test "$wxUSE_BMPBUTTON" = "yes"; then
18246 cat >> confdefs.h <<\EOF
18247#define wxUSE_BMPBUTTON 1
18248EOF
18249
18250 USES_CONTROLS=1
18251fi
18252
18253if test "$wxUSE_CALCTRL" = "yes"; then
18254 cat >> confdefs.h <<\EOF
18255#define wxUSE_CALENDARCTRL 1
18256EOF
18257
18258 USES_CONTROLS=1
18259 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
18260fi
18261
18262if test "$wxUSE_CARET" = "yes"; then
18263 cat >> confdefs.h <<\EOF
18264#define wxUSE_CARET 1
18265EOF
18266
18267 USES_CONTROLS=1
18268 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
18269fi
18270
18271if test "$wxUSE_COMBOBOX" = "yes"; then
18272 cat >> confdefs.h <<\EOF
18273#define wxUSE_COMBOBOX 1
18274EOF
18275
18276 USES_CONTROLS=1
18277fi
18278
18279if test "$wxUSE_CHOICE" = "yes"; then
18280 cat >> confdefs.h <<\EOF
18281#define wxUSE_CHOICE 1
18282EOF
18283
18284 USES_CONTROLS=1
18285fi
18286
18287if test "$wxUSE_CHECKBOX" = "yes"; then
18288 cat >> confdefs.h <<\EOF
18289#define wxUSE_CHECKBOX 1
18290EOF
18291
18292 USES_CONTROLS=1
18293fi
18294
18295if test "$wxUSE_CHECKLST" = "yes"; then
18296 cat >> confdefs.h <<\EOF
18297#define wxUSE_CHECKLISTBOX 1
18298EOF
18299
18300 USES_CONTROLS=1
18301 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
18302fi
18303
18304if test "$wxUSE_GAUGE" = "yes"; then
18305 cat >> confdefs.h <<\EOF
18306#define wxUSE_GAUGE 1
18307EOF
18308
18309 USES_CONTROLS=1
18310fi
18311
18312if test "$wxUSE_NEW_GRID" = "yes"; then
18313 wxUSE_GRID="yes"
18314 cat >> confdefs.h <<\EOF
18315#define wxUSE_NEW_GRID 1
18316EOF
18317
18318 USES_CONTROLS=1
18319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS newgrid"
18320fi
18321
18322if test "$wxUSE_GRID" = "yes"; then
18323 cat >> confdefs.h <<\EOF
18324#define wxUSE_GRID 1
18325EOF
18326
18327 USES_CONTROLS=1
18328 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
18329fi
18330
18331if test "$wxUSE_IMAGLIST" = "yes"; then
18332 cat >> confdefs.h <<\EOF
18333#define wxUSE_IMAGLIST 1
18334EOF
18335
18336fi
18337
18338if test "$wxUSE_LISTBOX" = "yes"; then
18339 cat >> confdefs.h <<\EOF
18340#define wxUSE_LISTBOX 1
18341EOF
18342
18343 USES_CONTROLS=1
18344fi
18345
18346if test "$wxUSE_LISTCTRL" = "yes"; then
18347 if test "$wxUSE_IMAGLIST" = "yes"; then
18348 cat >> confdefs.h <<\EOF
18349#define wxUSE_LISTCTRL 1
18350EOF
18351
18352 USES_CONTROLS=1
18353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
18354 else
18355 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
18356 fi
18357fi
18358
18359if test "$wxUSE_NOTEBOOK" = "yes"; then
18360 cat >> confdefs.h <<\EOF
18361#define wxUSE_NOTEBOOK 1
18362EOF
18363
18364 USES_CONTROLS=1
18365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
18366fi
18367
18368if test "$wxUSE_PROPSHEET" = "yes"; then
18369 cat >> confdefs.h <<\EOF
18370#define wxUSE_PROPSHEET 1
18371EOF
18372
18373 USES_CONTROLS=1
18374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS proplist"
18375fi
18376
18377if test "$wxUSE_RADIOBOX" = "yes"; then
18378 cat >> confdefs.h <<\EOF
18379#define wxUSE_RADIOBOX 1
18380EOF
18381
18382 USES_CONTROLS=1
18383fi
18384
18385if test "$wxUSE_RADIOBTN" = "yes"; then
18386 cat >> confdefs.h <<\EOF
18387#define wxUSE_RADIOBTN 1
18388EOF
18389
18390 USES_CONTROLS=1
18391fi
18392
18393if test "$wxUSE_SASH" = "yes"; then
18394 cat >> confdefs.h <<\EOF
18395#define wxUSE_SASH 1
18396EOF
18397
18398 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
18399fi
18400
18401if test "$wxUSE_SCROLLBAR" = "yes"; then
18402 cat >> confdefs.h <<\EOF
18403#define wxUSE_SCROLLBAR 1
18404EOF
18405
18406 USES_CONTROLS=1
18407 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
18408fi
18409
18410if test "$wxUSE_SLIDER" = "yes"; then
18411 cat >> confdefs.h <<\EOF
18412#define wxUSE_SLIDER 1
18413EOF
18414
18415 USES_CONTROLS=1
18416fi
18417
18418if test "$wxUSE_SPINBTN" = "yes"; then
18419 cat >> confdefs.h <<\EOF
18420#define wxUSE_SPINBTN 1
18421EOF
18422
18423 USES_CONTROLS=1
18424fi
18425
18426if test "$wxUSE_SPINCTRL" = "yes"; then
18427 cat >> confdefs.h <<\EOF
18428#define wxUSE_SPINCTRL 1
18429EOF
18430
18431 USES_CONTROLS=1
18432fi
18433
18434if test "$wxUSE_SPLITTER" = "yes"; then
18435 cat >> confdefs.h <<\EOF
18436#define wxUSE_SPLITTER 1
18437EOF
18438
18439 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
18440fi
18441
18442if test "$wxUSE_STATBMP" = "yes"; then
18443 cat >> confdefs.h <<\EOF
18444#define wxUSE_STATBMP 1
18445EOF
18446
18447 USES_CONTROLS=1
18448fi
18449
18450if test "$wxUSE_STATBOX" = "yes"; then
18451 cat >> confdefs.h <<\EOF
18452#define wxUSE_STATBOX 1
18453EOF
18454
18455 USES_CONTROLS=1
18456fi
18457
18458if test "$wxUSE_STATTEXT" = "yes"; then
18459 cat >> confdefs.h <<\EOF
18460#define wxUSE_STATTEXT 1
18461EOF
18462
18463 USES_CONTROLS=1
18464fi
18465
18466if test "$wxUSE_STATLINE" = "yes"; then
18467 if test "$wxUSE_WINE" = 1 ; then
18468 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
18469 else
18470 cat >> confdefs.h <<\EOF
18471#define wxUSE_STATLINE 1
18472EOF
18473
18474 USES_CONTROLS=1
18475 fi
18476fi
18477
18478if test "$wxUSE_STATUSBAR" = "yes"; then
18479 cat >> confdefs.h <<\EOF
18480#define wxUSE_STATUSBAR 1
18481EOF
18482
18483 USES_CONTROLS=1
18484
18485 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
18486fi
18487
18488if test "$wxUSE_TABDIALOG" = "yes"; then
18489 cat >> confdefs.h <<\EOF
18490#define wxUSE_TAB_DIALOG 1
18491EOF
18492
18493 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
18494fi
18495
18496if test "$wxUSE_TEXTCTRL" = "yes"; then
18497 cat >> confdefs.h <<\EOF
18498#define wxUSE_TEXTCTRL 1
18499EOF
18500
18501 USES_CONTROLS=1
18502 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
18503fi
18504
18505if test "$wxUSE_TOGGLEBTN" = "yes"; then
18506 if test "$wxUSE_MAC" = 1; then
18507 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
18508 wxUSE_TOGGLEBTN=no
18509 fi
18510 if test "$wxUSE_UNIVERSAL" = "yes"; then
18511 echo "configure: warning: Toggle button not yet supported under wxUNIVERSAL... disabled" 1>&2
18512 wxUSE_TOGGLEBTN=no
18513 fi
18514
18515 if test "$wxUSE_TOGGLEBTN" = "yes"; then
18516 cat >> confdefs.h <<\EOF
18517#define wxUSE_TOGGLEBTN 1
18518EOF
18519
18520 USES_CONTROLS=1
18521 fi
18522fi
18523
18524if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
18525 cat >> confdefs.h <<\EOF
18526#define wxUSE_TOOLBAR_SIMPLE 1
18527EOF
18528
18529 wxUSE_TOOLBAR="yes"
18530 USES_CONTROLS=1
18531fi
18532
18533if test "$wxUSE_TOOLBAR" = "yes"; then
18534 cat >> confdefs.h <<\EOF
18535#define wxUSE_TOOLBAR 1
18536EOF
18537
18538 USES_CONTROLS=1
18539
18540 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
18541 wxUSE_TOOLBAR_NATIVE="yes"
18542 fi
18543
18544 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
18545 cat >> confdefs.h <<\EOF
18546#define wxUSE_TOOLBAR_NATIVE 1
18547EOF
18548
18549 USES_CONTROLS=1
18550 fi
18551
18552 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
18553fi
18554
18555if test "$wxUSE_TOOLTIPS" = "yes"; then
18556 if test "$wxUSE_MOTIF" = 1; then
18557 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
18558 else
18559 if test "$wxUSE_WINE" = 1; then
18560 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
18561 else
18562 if test "$wxUSE_UNIVERSAL" = "yes"; then
18563 echo "configure: warning: wxTooltip not supported yet in wxUNIVERSAL... disabled" 1>&2
18564 else
18565 cat >> confdefs.h <<\EOF
18566#define wxUSE_TOOLTIPS 1
18567EOF
18568
18569 fi
18570 fi
18571 fi
18572fi
18573
18574if test "$wxUSE_TREECTRL" = "yes"; then
18575 if test "$wxUSE_IMAGLIST" = "yes"; then
18576 cat >> confdefs.h <<\EOF
18577#define wxUSE_TREECTRL 1
18578EOF
18579
18580 USES_CONTROLS=1
18581 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
18582 else
18583 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
18584 fi
18585fi
18586
18587if test "$wxUSE_POPUPWIN" = "yes"; then
18588 if test "$wxUSE_MAC" = 1; then
18589 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
18590 else
18591 if test "$wxUSE_MOTIF" = 1; then
18592 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
18593 else
18594 cat >> confdefs.h <<\EOF
18595#define wxUSE_POPUPWIN 1
18596EOF
18597
18598
18599 USES_CONTROLS=1
18600 fi
18601 fi
18602fi
18603
18604if test "$wxUSE_TIPWINDOW" = "yes"; then
18605 cat >> confdefs.h <<\EOF
18606#define wxUSE_TIPWINDOW 1
18607EOF
18608
18609fi
18610
18611if test "$USES_CONTROLS" = 1; then
18612 cat >> confdefs.h <<\EOF
18613#define wxUSE_CONTROLS 1
18614EOF
18615
18616fi
18617
18618
18619if test "$wxUSE_TREELAYOUT" = "yes"; then
18620 cat >> confdefs.h <<\EOF
18621#define wxUSE_TREELAYOUT 1
18622EOF
18623
18624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelay"
18625fi
18626
18627if test "$wxUSE_DRAGIMAGE" = "yes"; then
18628 cat >> confdefs.h <<\EOF
18629#define wxUSE_DRAGIMAGE 1
18630EOF
18631
18632 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
18633fi
18634
18635if test "$wxUSE_MENUS" = "yes"; then
18636 cat >> confdefs.h <<\EOF
18637#define wxUSE_MENUS 1
18638EOF
18639
18640 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
18641fi
18642
18643if test "$wxUSE_METAFILE" = "yes"; then
18644 cat >> confdefs.h <<\EOF
18645#define wxUSE_METAFILE 1
18646EOF
18647
18648fi
18649
18650if test "$wxUSE_MIMETYPE" = "yes"; then
18651 cat >> confdefs.h <<\EOF
18652#define wxUSE_MIMETYPE 1
18653EOF
18654
18655fi
18656
18657if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
18658 cat >> confdefs.h <<\EOF
18659#define wxUSE_SYSTEM_OPTIONS 1
18660EOF
18661
18662fi
18663
18664if test "$wxUSE_MINIFRAME" = "yes"; then
18665 cat >> confdefs.h <<\EOF
18666#define wxUSE_MINIFRAME 1
18667EOF
18668
18669 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
18670fi
18671
18672if test "$wxUSE_HTML" = "yes"; then
18673 cat >> confdefs.h <<\EOF
18674#define wxUSE_HTML 1
18675EOF
18676
18677 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html"
18678fi
18679
18680if test "$wxUSE_VALIDATORS" = "yes"; then
18681 cat >> confdefs.h <<\EOF
18682#define wxUSE_VALIDATORS 1
18683EOF
18684
18685 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
18686fi
18687
18688if test "$wxUSE_PALETTE" = "yes" ; then
18689 cat >> confdefs.h <<\EOF
18690#define wxUSE_PALETTE 1
18691EOF
18692
18693fi
18694
18695if test "$wxUSE_IMAGE" = "yes" ; then
18696 cat >> confdefs.h <<\EOF
18697#define wxUSE_IMAGE 1
18698EOF
18699
18700fi
18701
18702if test "$wxUSE_GIF" = "yes" ; then
18703 cat >> confdefs.h <<\EOF
18704#define wxUSE_GIF 1
18705EOF
18706
18707fi
18708
18709if test "$wxUSE_PCX" = "yes" ; then
18710 cat >> confdefs.h <<\EOF
18711#define wxUSE_PCX 1
18712EOF
18713
18714fi
18715
18716if test "$wxUSE_PNM" = "yes" ; then
18717 cat >> confdefs.h <<\EOF
18718#define wxUSE_PNM 1
18719EOF
18720
18721fi
18722
18723if test "$wxUSE_XPM" = "yes" ; then
18724 cat >> confdefs.h <<\EOF
18725#define wxUSE_XPM 1
18726EOF
18727
18728fi
18729
18730
18731if test "$wxUSE_CHOICEDLG" = "yes"; then
18732 cat >> confdefs.h <<\EOF
18733#define wxUSE_CHOICEDLG 1
18734EOF
18735
18736fi
18737
18738if test "$wxUSE_COLOURDLG" = "yes"; then
18739 cat >> confdefs.h <<\EOF
18740#define wxUSE_COLOURDLG 1
18741EOF
18742
18743fi
18744
18745if test "$wxUSE_FILEDLG" = "yes"; then
18746 cat >> confdefs.h <<\EOF
18747#define wxUSE_FILEDLG 1
18748EOF
18749
18750fi
18751
18752if test "$wxUSE_FINDREPLDLG" = "yes"; then
18753 cat >> confdefs.h <<\EOF
18754#define wxUSE_FINDREPLDLG 1
18755EOF
18756
18757fi
18758
18759if test "$wxUSE_FONTDLG" = "yes"; then
18760 cat >> confdefs.h <<\EOF
18761#define wxUSE_FONTDLG 1
18762EOF
18763
18764fi
18765
18766if test "$wxUSE_DIRDLG" = "yes"; then
18767 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18768 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
18769 else
18770 if test "$wxUSE_TREECTRL" != "yes"; then
18771 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
18772 else
18773 cat >> confdefs.h <<\EOF
18774#define wxUSE_DIRDLG 1
18775EOF
18776
18777 fi
18778 fi
18779fi
18780
18781if test "$wxUSE_MSGDLG" = "yes"; then
18782 cat >> confdefs.h <<\EOF
18783#define wxUSE_MSGDLG 1
18784EOF
18785
18786fi
18787
18788if test "$wxUSE_NUMBERDLG" = "yes"; then
18789 cat >> confdefs.h <<\EOF
18790#define wxUSE_NUMBERDLG 1
18791EOF
18792
18793fi
18794
18795if test "$wxUSE_PROGRESSDLG" = "yes"; then
18796 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18797 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
18798 else
18799 cat >> confdefs.h <<\EOF
18800#define wxUSE_PROGRESSDLG 1
18801EOF
18802
18803 fi
18804fi
18805
18806if test "$wxUSE_SPLASH" = "yes"; then
18807 cat >> confdefs.h <<\EOF
18808#define wxUSE_SPLASH 1
18809EOF
18810
18811fi
18812
18813if test "$wxUSE_STARTUP_TIPS" = "yes"; then
18814 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18815 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
18816 else
18817 cat >> confdefs.h <<\EOF
18818#define wxUSE_STARTUP_TIPS 1
18819EOF
18820
18821 fi
18822fi
18823
18824if test "$wxUSE_TEXTDLG" = "yes"; then
18825 cat >> confdefs.h <<\EOF
18826#define wxUSE_TEXTDLG 1
18827EOF
18828
18829fi
18830
18831if test "$wxUSE_WIZARDDLG" = "yes"; then
18832 cat >> confdefs.h <<\EOF
18833#define wxUSE_WIZARDDLG 1
18834EOF
18835
18836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
18837fi
18838
18839
18840if test "$cross_compiling" = "yes"; then
18841 OSINFO="\"$host\""
18842else
18843 OSINFO=`uname -s -r -m`
18844 OSINFO="\"$OSINFO\""
18845fi
18846
18847cat >> confdefs.h <<EOF
18848#define WXWIN_OS_DESCRIPTION $OSINFO
18849EOF
18850
18851
18852
18853if test "x$prefix" != "xNONE"; then
18854 wxPREFIX=$prefix
18855else
18856 wxPREFIX=$ac_default_prefix
18857fi
18858
18859cat >> confdefs.h <<EOF
18860#define wxINSTALL_PREFIX "$wxPREFIX"
18861EOF
18862
18863
18864
18865
18866
18867if test "$wxUSE_MAC" = 1 ; then
18868 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
18869fi
18870
18871
18872LIBS="$ZLIB_LINK$POSIX4_LINK$INET_LINK$WCHAR_LINK$THREADS_LINK$DL_LINK -lm$LIBS"
18873
18874if test "$wxUSE_GUI" = "yes"; then
18875
18876 LIBS=" $GUI_TK_LIBRARY$PNG_LINK$JPEG_LINK$TIFF_LINK$FREETYPE_LINK$LIBS"
18877
18878
18879 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS controls dialogs \
18880 drawing dynamic erase event exec font image \
18881 minimal richedit rotate widgets"
18882
18883 CPPFLAGS="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
18884else
18885 SAMPLES_SUBDIRS="console"
18886fi
18887
18888
18889INCLUDES="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
18890$REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
18891$FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
18892
18893if test "$wxUSE_GTK" = 1; then
18894 WXCONFIG_INCLUDE=
18895else
18896 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
18897fi
18898
18899if test "$GXX" = yes ; then
18900 CXXWARNINGS="-Wall"
18901
18902 if test "$wxUSE_NO_DEPS" = "no" ; then
18903 CFLAGS="-MMD $CFLAGS"
18904 CXXFLAGS="-MMD $CXXFLAGS"
18905 fi
18906fi
18907
18908EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG$PROFILE $OPTIMISE $INCLUDES"
18909
18910CFLAGS=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
18911CXXFLAGS=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
18912
18913LDFLAGS="$LDFLAGS$PROFILE"
18914
18915SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
19002echo "configure:19003: checking whether ${MAKE-make} sets \${MAKE}" >&5
19003set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
19004if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
19005 echo $ac_n "(cached) $ac_c" 1>&6
19006else
19007 cat > conftestmake <<\EOF
19008all:
19009 @echo 'ac_maketemp="${MAKE}"'
19010EOF
19011# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19012eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
19013if test -n "$ac_maketemp"; then
19014 eval ac_cv_prog_make_${ac_make}_set=yes
19015else
19016 eval ac_cv_prog_make_${ac_make}_set=no
19017fi
19018rm -f conftestmake
19019fi
19020if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
19021 echo "$ac_t""yes" 1>&6
19022 SET_MAKE=
19023else
19024 echo "$ac_t""no" 1>&6
19025 SET_MAKE="MAKE=${MAKE-make}"
19026fi
19027
19028
19029if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
19030 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
19031fi
19032
19033
19034
19035if test "$wxUSE_GUI" = "yes"; then
19036 wx_cv_path_samplesubdirs=$SAMPLES_SUBDIRS
19037 wx_cv_path_ifs=$PATH_IFS
19038 wx_cv_program_ext=$PROGRAM_EXT
19039 wx_cv_target_library=$WX_TARGET_LIBRARY
19040 wx_cv_target_library_gl=$WX_TARGET_LIBRARY_GL
19041 wx_cv_target_libtype=$WX_TARGET_LIBRARY_TYPE
19042 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
19043 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
19044 subdirs="demos samples utils contrib"
19045
19046fi
19047
19048trap '' 1 2 15
19049cat > confcache <<\EOF
19050# This file is a shell script that caches the results of configure
19051# tests run on this system so they can be shared between configure
19052# scripts and configure runs. It is not useful on other systems.
19053# If it contains results you don't want to keep, you may remove or edit it.
19054#
19055# By default, configure uses ./config.cache as the cache file,
19056# creating it if it does not exist already. You can give configure
19057# the --cache-file=FILE option to use a different cache file; that is
19058# what configure does when it calls configure scripts in
19059# subdirectories, so they share the cache.
19060# Giving --cache-file=/dev/null disables caching, for debugging configure.
19061# config.status only pays attention to the cache file if you give it the
19062# --recheck option to rerun configure.
19063#
19064EOF
19065# The following way of writing the cache mishandles newlines in values,
19066# but we know of no workaround that is simple, portable, and efficient.
19067# So, don't put newlines in cache variables' values.
19068# Ultrix sh set writes to stderr and can't be redirected directly,
19069# and sets the high bit in the cache file unless we assign to the vars.
19070(set) 2>&1 |
19071 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19072 *ac_space=\ *)
19073 # `set' does not quote correctly, so add quotes (double-quote substitution
19074 # turns \\\\ into \\, and sed turns \\ into \).
19075 sed -n \
19076 -e "s/'/'\\\\''/g" \
19077 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
19078 ;;
19079 *)
19080 # `set' quotes correctly as required by POSIX, so do not add quotes.
19081 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19082 ;;
19083 esac >> confcache
19084if cmp -s $cache_file confcache; then
19085 :
19086else
19087 if test -w $cache_file; then
19088 echo "updating cache $cache_file"
19089 cat confcache > $cache_file
19090 else
19091 echo "not updating unwritable cache $cache_file"
19092 fi
19093fi
19094rm -f confcache
19095
19096trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
19097
19098test "x$prefix" = xNONE && prefix=$ac_default_prefix
19099# Let make expand exec_prefix.
19100test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19101
19102# Any assignment to VPATH causes Sun make to only execute
19103# the first set of double-colon rules, so remove it if not needed.
19104# If there is a colon in the path, we need to keep it.
19105if test "x$srcdir" = x.; then
19106 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
19107fi
19108
19109trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
19110
19111DEFS=-DHAVE_CONFIG_H
19112
19113# Without the "./", some shells look in PATH for config.status.
19114: ${CONFIG_STATUS=./config.status}
19115
19116echo creating $CONFIG_STATUS
19117rm -f $CONFIG_STATUS
19118cat > $CONFIG_STATUS <<EOF
19119#! /bin/sh
19120# Generated automatically by configure.
19121# Run this file to recreate the current configuration.
19122# This directory was configured as follows,
19123# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19124#
19125# $0 $ac_configure_args
19126#
19127# Compiler output produced by configure, useful for debugging
19128# configure, is in ./config.log if it exists.
19129
19130ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
19131for ac_option
19132do
19133 case "\$ac_option" in
19134 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19135 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
19136 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
19137 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
19138 echo "$CONFIG_STATUS generated by autoconf version 2.13"
19139 exit 0 ;;
19140 -help | --help | --hel | --he | --h)
19141 echo "\$ac_cs_usage"; exit 0 ;;
19142 *) echo "\$ac_cs_usage"; exit 1 ;;
19143 esac
19144done
19145
19146ac_given_srcdir=$srcdir
19147ac_given_INSTALL="$INSTALL"
19148
19149trap 'rm -fr `echo "
19150 wx-config
19151 src/make.env
19152 src/makeprog.env
19153 src/makelib.env
19154 Makefile
19155 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
19156EOF
19157cat >> $CONFIG_STATUS <<EOF
19158
19159# Protect against being on the right side of a sed subst in config.status.
19160sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
19161 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
19162$ac_vpsub
19163$extrasub
19164s%@SHELL@%$SHELL%g
19165s%@CFLAGS@%$CFLAGS%g
19166s%@CPPFLAGS@%$CPPFLAGS%g
19167s%@CXXFLAGS@%$CXXFLAGS%g
19168s%@FFLAGS@%$FFLAGS%g
19169s%@DEFS@%$DEFS%g
19170s%@LDFLAGS@%$LDFLAGS%g
19171s%@LIBS@%$LIBS%g
19172s%@exec_prefix@%$exec_prefix%g
19173s%@prefix@%$prefix%g
19174s%@program_transform_name@%$program_transform_name%g
19175s%@bindir@%$bindir%g
19176s%@sbindir@%$sbindir%g
19177s%@libexecdir@%$libexecdir%g
19178s%@datadir@%$datadir%g
19179s%@sysconfdir@%$sysconfdir%g
19180s%@sharedstatedir@%$sharedstatedir%g
19181s%@localstatedir@%$localstatedir%g
19182s%@libdir@%$libdir%g
19183s%@includedir@%$includedir%g
19184s%@oldincludedir@%$oldincludedir%g
19185s%@infodir@%$infodir%g
19186s%@mandir@%$mandir%g
19187s%@host@%$host%g
19188s%@host_alias@%$host_alias%g
19189s%@host_cpu@%$host_cpu%g
19190s%@host_vendor@%$host_vendor%g
19191s%@host_os@%$host_os%g
19192s%@target@%$target%g
19193s%@target_alias@%$target_alias%g
19194s%@target_cpu@%$target_cpu%g
19195s%@target_vendor@%$target_vendor%g
19196s%@target_os@%$target_os%g
19197s%@build@%$build%g
19198s%@build_alias@%$build_alias%g
19199s%@build_cpu@%$build_cpu%g
19200s%@build_vendor@%$build_vendor%g
19201s%@build_os@%$build_os%g
19202s%@CC@%$CC%g
19203s%@CPP@%$CPP%g
19204s%@CXX@%$CXX%g
19205s%@RANLIB@%$RANLIB%g
19206s%@AR@%$AR%g
19207s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
19208s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
19209s%@INSTALL_DATA@%$INSTALL_DATA%g
19210s%@STRIP@%$STRIP%g
19211s%@YACC@%$YACC%g
19212s%@LEX@%$LEX%g
19213s%@LEXLIB@%$LEXLIB%g
19214s%@LN_S@%$LN_S%g
19215s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
19216s%@GTK_CFLAGS@%$GTK_CFLAGS%g
19217s%@GTK_LIBS@%$GTK_LIBS%g
19218s%@GTK_CONFIG@%$GTK_CONFIG%g
19219s%@X_CFLAGS@%$X_CFLAGS%g
19220s%@X_PRE_LIBS@%$X_PRE_LIBS%g
19221s%@X_LIBS@%$X_LIBS%g
19222s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
19223s%@RESCOMP@%$RESCOMP%g
19224s%@DEREZ@%$DEREZ%g
19225s%@CXXCPP@%$CXXCPP%g
19226s%@LEX_STEM@%$LEX_STEM%g
19227s%@PATH_IFS@%$PATH_IFS%g
19228s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
19229s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
19230s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
19231s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
19232s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
19233s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
19234s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
19235s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
19236s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
19237s%@PROGRAM_EXT@%$PROGRAM_EXT%g
19238s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
19239s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
19240s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
19241s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
19242s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
19243s%@WX_ALL@%$WX_ALL%g
19244s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
19245s%@SHARED_LD@%$SHARED_LD%g
19246s%@PIC_FLAG@%$PIC_FLAG%g
19247s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
19248s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
19249s%@SONAME_FLAGS@%$SONAME_FLAGS%g
19250s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
19251s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
19252s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
19253s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
19254s%@USE_GUI@%$USE_GUI%g
19255s%@AFMINSTALL@%$AFMINSTALL%g
19256s%@TOOLKIT@%$TOOLKIT%g
19257s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
19258s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
19259s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
19260s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
19261s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
19262s%@cross_compiling@%$cross_compiling%g
19263s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
19264s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
19265s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
19266s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
19267s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
19268s%@ALL_OBJECTS@%$ALL_OBJECTS%g
19269s%@GUIDIST@%$GUIDIST%g
19270s%@PORT_FILES@%$PORT_FILES%g
19271s%@DISTDIR@%$DISTDIR%g
19272s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
19273s%@LDFLAGS_GL@%$LDFLAGS_GL%g
19274s%@OPENGL_LIBS@%$OPENGL_LIBS%g
19275s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
19276s%@EXTRADEFS@%$EXTRADEFS%g
19277s%@RESFLAGS@%$RESFLAGS%g
19278s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
19279s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
19280s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
19281s%@LIBWXMACRES@%$LIBWXMACRES%g
19282s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
19283s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
19284s%@DLLTOOL@%$DLLTOOL%g
19285s%@AS@%$AS%g
19286s%@NM@%$NM%g
19287s%@LD@%$LD%g
19288s%@MAKEINFO@%$MAKEINFO%g
19289s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
19290s%@SET_MAKE@%$SET_MAKE%g
19291s%@subdirs@%$subdirs%g
19292
19293CEOF
19294EOF
19295
19296cat >> $CONFIG_STATUS <<\EOF
19297
19298# Split the substitutions into bite-sized pieces for seds with
19299# small command number limits, like on Digital OSF/1 and HP-UX.
19300ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
19301ac_file=1 # Number of current file.
19302ac_beg=1 # First line for current file.
19303ac_end=$ac_max_sed_cmds # Line after last line for current file.
19304ac_more_lines=:
19305ac_sed_cmds=""
19306while $ac_more_lines; do
19307 if test $ac_beg -gt 1; then
19308 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
19309 else
19310 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
19311 fi
19312 if test ! -s conftest.s$ac_file; then
19313 ac_more_lines=false
19314 rm -f conftest.s$ac_file
19315 else
19316 if test -z "$ac_sed_cmds"; then
19317 ac_sed_cmds="sed -f conftest.s$ac_file"
19318 else
19319 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
19320 fi
19321 ac_file=`expr $ac_file + 1`
19322 ac_beg=$ac_end
19323 ac_end=`expr $ac_end + $ac_max_sed_cmds`
19324 fi
19325done
19326if test -z "$ac_sed_cmds"; then
19327 ac_sed_cmds=cat
19328fi
19329EOF
19330
19331cat >> $CONFIG_STATUS <<EOF
19332
19333CONFIG_FILES=\${CONFIG_FILES-"wx-config
19334 src/make.env
19335 src/makeprog.env
19336 src/makelib.env
19337 Makefile
19338 "}
19339EOF
19340cat >> $CONFIG_STATUS <<\EOF
19341for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
19342 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19343 case "$ac_file" in
19344 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19345 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19346 *) ac_file_in="${ac_file}.in" ;;
19347 esac
19348
19349 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
19350
19351 # Remove last slash and all that follows it. Not all systems have dirname.
19352 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19353 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19354 # The file is in a subdirectory.
19355 test ! -d "$ac_dir" && mkdir "$ac_dir"
19356 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
19357 # A "../" for each directory in $ac_dir_suffix.
19358 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
19359 else
19360 ac_dir_suffix= ac_dots=
19361 fi
19362
19363 case "$ac_given_srcdir" in
19364 .) srcdir=.
19365 if test -z "$ac_dots"; then top_srcdir=.
19366 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
19367 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
19368 *) # Relative path.
19369 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
19370 top_srcdir="$ac_dots$ac_given_srcdir" ;;
19371 esac
19372
19373 case "$ac_given_INSTALL" in
19374 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19375 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19376 esac
19377
19378 echo creating "$ac_file"
19379 rm -f "$ac_file"
19380 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
19381 case "$ac_file" in
19382 *Makefile*) ac_comsub="1i\\
19383# $configure_input" ;;
19384 *) ac_comsub= ;;
19385 esac
19386
19387 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19388 sed -e "$ac_comsub
19389s%@configure_input@%$configure_input%g
19390s%@srcdir@%$srcdir%g
19391s%@top_srcdir@%$top_srcdir%g
19392s%@INSTALL@%$INSTALL%g
19393" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
19394fi; done
19395rm -f conftest.s*
19396
19397# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19398# NAME is the cpp macro being defined and VALUE is the value it is being given.
19399#
19400# ac_d sets the value in "#define NAME VALUE" lines.
19401ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19402ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
19403ac_dC='\3'
19404ac_dD='%g'
19405# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
19406ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19407ac_uB='\([ ]\)%\1#\2define\3'
19408ac_uC=' '
19409ac_uD='\4%g'
19410# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19411ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19412ac_eB='$%\1#\2define\3'
19413ac_eC=' '
19414ac_eD='%g'
19415
19416if test "${CONFIG_HEADERS+set}" != set; then
19417EOF
19418cat >> $CONFIG_STATUS <<EOF
19419 CONFIG_HEADERS="setup.h:setup.h.in"
19420EOF
19421cat >> $CONFIG_STATUS <<\EOF
19422fi
19423for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
19424 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19425 case "$ac_file" in
19426 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19427 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19428 *) ac_file_in="${ac_file}.in" ;;
19429 esac
19430
19431 echo creating $ac_file
19432
19433 rm -f conftest.frag conftest.in conftest.out
19434 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19435 cat $ac_file_inputs > conftest.in
19436
19437EOF
19438
19439# Transform confdefs.h into a sed script conftest.vals that substitutes
19440# the proper values into config.h.in to produce config.h. And first:
19441# Protect against being on the right side of a sed subst in config.status.
19442# Protect against being in an unquoted here document in config.status.
19443rm -f conftest.vals
19444cat > conftest.hdr <<\EOF
19445s/[\\&%]/\\&/g
19446s%[\\$`]%\\&%g
19447s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
19448s%ac_d%ac_u%gp
19449s%ac_u%ac_e%gp
19450EOF
19451sed -n -f conftest.hdr confdefs.h > conftest.vals
19452rm -f conftest.hdr
19453
19454# This sed command replaces #undef with comments. This is necessary, for
19455# example, in the case of _POSIX_SOURCE, which is predefined and required
19456# on some systems where configure will not decide to define it.
19457cat >> conftest.vals <<\EOF
19458s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
19459EOF
19460
19461# Break up conftest.vals because some shells have a limit on
19462# the size of here documents, and old seds have small limits too.
19463
19464rm -f conftest.tail
19465while :
19466do
19467 ac_lines=`grep -c . conftest.vals`
19468 # grep -c gives empty output for an empty file on some AIX systems.
19469 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
19470 # Write a limited-size here document to conftest.frag.
19471 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
19472 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
19473 echo 'CEOF
19474 sed -f conftest.frag conftest.in > conftest.out
19475 rm -f conftest.in
19476 mv conftest.out conftest.in
19477' >> $CONFIG_STATUS
19478 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
19479 rm -f conftest.vals
19480 mv conftest.tail conftest.vals
19481done
19482rm -f conftest.vals
19483
19484cat >> $CONFIG_STATUS <<\EOF
19485 rm -f conftest.frag conftest.h
19486 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
19487 cat conftest.in >> conftest.h
19488 rm -f conftest.in
19489 if cmp -s $ac_file conftest.h 2>/dev/null; then
19490 echo "$ac_file is unchanged"
19491 rm -f conftest.h
19492 else
19493 # Remove last slash and all that follows it. Not all systems have dirname.
19494 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19495 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19496 # The file is in a subdirectory.
19497 test ! -d "$ac_dir" && mkdir "$ac_dir"
19498 fi
19499 rm -f $ac_file
19500 mv conftest.h $ac_file
19501 fi
19502fi; done
19503
19504EOF
19505cat >> $CONFIG_STATUS <<EOF
19506
19507 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
19508 LN_S="${LN_S}"
19509
19510
19511EOF
19512cat >> $CONFIG_STATUS <<\EOF
19513
19514 if test ! -h wx-config; then
19515 chmod +x wx-config
19516 mv wx-config wx${TOOLCHAIN_NAME}-config
19517 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
19518 fi
19519
19520 if test ! -d lib; then
19521 mkdir lib
19522 fi
19523 if test ! -d lib/wx; then
19524 mkdir lib/wx
19525 fi
19526 if test ! -d lib/wx/include; then
19527 mkdir lib/wx/include
19528 fi
19529 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
19530 mkdir lib/wx/include/${TOOLCHAIN_NAME}
19531 fi
19532 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
19533 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
19534 fi
19535 if test -f setup.h; then
19536 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
19537 fi
19538
19539exit 0
19540EOF
19541chmod +x $CONFIG_STATUS
19542rm -fr confdefs* $ac_clean_files
19543test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
19544
19545if test "$no_recursion" != yes; then
19546
19547 # Remove --cache-file and --srcdir arguments so they do not pile up.
19548 ac_sub_configure_args=
19549 ac_prev=
19550 for ac_arg in $ac_configure_args; do
19551 if test -n "$ac_prev"; then
19552 ac_prev=
19553 continue
19554 fi
19555 case "$ac_arg" in
19556 -cache-file | --cache-file | --cache-fil | --cache-fi \
19557 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
19558 ac_prev=cache_file ;;
19559 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
19560 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
19561 ;;
19562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
19563 ac_prev=srcdir ;;
19564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
19565 ;;
19566 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
19567 esac
19568 done
19569
19570 for ac_config_dir in demos samples utils contrib; do
19571
19572 # Do not complain, so a configure script can configure whichever
19573 # parts of a large source tree are present.
19574 if test ! -d $srcdir/$ac_config_dir; then
19575 continue
19576 fi
19577
19578 echo configuring in $ac_config_dir
19579
19580 case "$srcdir" in
19581 .) ;;
19582 *)
19583 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
19584 else
19585 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
19586 fi
19587 ;;
19588 esac
19589
19590 ac_popdir=`pwd`
19591 cd $ac_config_dir
19592
19593 # A "../" for each directory in /$ac_config_dir.
19594 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
19595
19596 case "$srcdir" in
19597 .) # No --srcdir option. We are building in place.
19598 ac_sub_srcdir=$srcdir ;;
19599 /*) # Absolute path.
19600 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
19601 *) # Relative path.
19602 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
19603 esac
19604
19605 # Check for guested configure; otherwise get Cygnus style configure.
19606 if test -f $ac_sub_srcdir/configure; then
19607 ac_sub_configure=$ac_sub_srcdir/configure
19608 elif test -f $ac_sub_srcdir/configure.in; then
19609 ac_sub_configure=$ac_configure
19610 else
19611 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
19612 ac_sub_configure=
19613 fi
19614
19615 # The recursion is here.
19616 if test -n "$ac_sub_configure"; then
19617
19618 # Make the cache file name correct relative to the subdirectory.
19619 case "$cache_file" in
19620 /*) ac_sub_cache_file=$cache_file ;;
19621 *) # Relative path.
19622 ac_sub_cache_file="$ac_dots$cache_file" ;;
19623 esac
19624 case "$ac_given_INSTALL" in
19625 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19626 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19627 esac
19628
19629 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
19630 # The eval makes quoting arguments work.
19631 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
19632 then :
19633 else
19634 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
19635 fi
19636 fi
19637
19638 cd $ac_popdir
19639 done
19640fi
19641
19642