3 # From configure.in Id: configure.in
6 # aclocal.m4 generated automatically by aclocal 1.6 -*- Autoconf -*-
8 # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
9 # Free Software Foundation, Inc.
10 # This file is free software; the Free Software Foundation
11 # gives unlimited permission to copy and/or distribute it,
12 # with or without modifications, as long as this notice is preserved.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
16 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
58 # Configure paths for GTK+
59 # Owen Taylor 1997-2001
63 # Configure paths for GTK+
68 # Guess values for system-dependent variables and create Makefiles.
69 # Generated automatically using autoconf version 2.13
70 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
72 # This configure script is free software; the Free Software Foundation
73 # gives unlimited permission to copy, distribute and modify it.
77 ac_default_prefix
=/usr
/local
78 # Any additions from configure.in:
80 --enable-gui use GUI classes"
82 --enable-universal use wxWindows GUI controls instead of native ones"
86 --with-motif use Motif/Lesstif"
88 --with-mac use Mac OS X"
92 --with-msw use MS-Windows"
94 --with-pm use OS/2 Presentation Manager"
96 --with-mgl use SciTech MGL"
98 --with-microwin use MicroWindows"
102 --enable-nanox use NanoX"
104 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
106 --with-libpng use libpng (PNG image format)"
108 --with-libjpeg use libjpeg (JPEG file format)"
110 --with-libtiff use libtiff (TIFF file format)"
112 --with-opengl use OpenGL (or Mesa)"
114 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
116 --with-regex enable support for wxRegEx class"
118 --with-zlib use zlib for LZW compression"
120 --with-odbc use the IODBC and wxODBC classes"
122 --enable-shared create shared library code"
124 --enable-soname set the DT_SONAME field in ELF shared libraries"
126 --enable-optimise create optimised code"
128 --enable-debug same as debug_flag and debug_info"
130 --enable-precomp enable use of precompiled headers (Mac OS X)"
132 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
134 --enable-debug_info create code with debugging information"
136 --enable-debug_gdb create code with extra GDB debugging information"
138 --enable-debug_cntxt use wxDebugContext"
140 --enable-mem_tracing create code with memory tracing"
142 --enable-profile create code with profiling information"
144 --enable-no_rtti create code without RTTI information"
146 --enable-no_exceptions create code without C++ exceptions handling"
148 --enable-permissive compile code disregarding strict ANSI"
150 --enable-no_deps create code without dependency information"
152 --enable-compat20 enable wxWindows 2.0 compatibility"
154 --disable-compat22 disable wxWindows 2.2 compatibility"
156 --enable-intl use internationalization system"
158 --enable-config use wxConfig (and derived) classes"
160 --enable-protocols use wxProtocol and derived classes"
162 --enable-ftp use wxFTP (requires wxProtocol"
164 --enable-http use wxHTTP (requires wxProtocol"
166 --enable-fileproto use wxFileProto class (requires wxProtocol"
168 --enable-sockets use socket/network classes"
170 --enable-ipc use interprocess communication (wxSocket etc.)"
172 --enable-cmdline use wxCmdLineParser class"
174 --enable-datetime use wxDateTime class"
176 --enable-timedate use obsolete wxDate/wxTime classes"
178 --enable-stopwatch use wxStopWatch class"
180 --enable-dialupman use dialup network classes"
182 --enable-apple_ieee use the Apple IEEE codec"
184 --enable-timer use wxTimer class"
186 --enable-wave use wxWave class"
188 --enable-fraction use wxFraction class"
190 --enable-dynlib use wxLibrary class for DLL loading"
192 --enable-dynamicloader use (new) wxDynamicLibrary class"
194 --enable-longlong use wxLongLong class"
196 --enable-geometry use geometry class"
198 --enable-log use logging system"
200 --enable-streams use wxStream etc classes"
202 --enable-file use wxFile classes"
204 --enable-ffile use wxFFile classes"
206 --enable-textbuf use wxTextBuffer class"
208 --enable-textfile use wxTextFile class"
210 --enable-fontmap use font encodings conversion classes"
212 --enable-unicode compile wxString with Unicode support"
214 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
216 --enable-wxprintfv use wxWindows implementation of vprintf()"
218 --enable-std_iostreams use standard C++ stream classes"
220 --enable-filesystem use virtual file systems classes"
222 --enable-fs_inet use virtual HTTP/FTP filesystems"
224 --enable-fs_zip use virtual ZIP filesystems"
226 --enable-zipstream use wxZipInputStream"
228 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
230 --enable-snglinst use wxSingleInstanceChecker class"
232 --enable-mimetype use wxMimeTypesManager"
234 --enable-sysoptions use wxSystemOptions"
236 --enable-url use wxURL class"
238 --enable-protocol use wxProtocol class"
240 --enable-protocol-http HTTP support in wxProtocol"
242 --enable-protocol-ftp FTP support in wxProtocol"
244 --enable-protocol-file FILE support in wxProtocol"
246 --enable-threads use threads"
248 --enable-docview use document view architecture"
250 --enable-help use help subsystem"
252 --enable-mshtmlhelp use MS HTML Help (win32)"
254 --enable-html use wxHTML sub-library"
256 --enable-htmlhelp use wxHTML-based help"
258 --enable-constraints use layout-constraints system"
260 --enable-printarch use printing architecture"
262 --enable-mdi use multiple document interface architecture"
264 --enable-loggui use standard GUI logger"
266 --enable-logwin use wxLogWindow"
268 --enable-logdialog use wxLogDialog"
270 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
272 --enable-prologio use Prolog IO library"
274 --enable-resources use wxWindows resources"
276 --enable-xresources use X resources for save (default for gtk+)"
278 --enable-clipboard use wxClipboard classes"
280 --enable-dnd use Drag'n'Drop classes"
282 --enable-metafile use win32 metafiles"
284 --enable-treelayout use wxTreeLayout classes"
286 --enable-controls use all usual controls"
288 --enable-accel use accelerators"
290 --enable-button use wxButton class"
292 --enable-bmpbutton use wxBitmapButton class"
294 --enable-calendar use wxCalendarCtrl class"
296 --enable-caret use wxCaret class"
298 --enable-checkbox use wxCheckBox class"
300 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
302 --enable-choice use wxChoice class"
304 --enable-combobox use wxComboBox classes"
306 --enable-gauge use wxGauge class"
308 --enable-grid use wxGrid class"
310 --enable-newgrid use new wxGrid class"
312 --enable-imaglist use wxImageList class"
314 --enable-listbox use wxListBox class"
316 --enable-listctrl use wxListCtrl class"
318 --enable-notebook use wxNotebook class"
320 --enable-propsheet use wxPropertySheet class"
322 --enable-radiobox use wxRadioBox class"
324 --enable-radiobtn use wxRadioButton class"
326 --enable-sash use wxSashWindow class"
328 --enable-scrollbar use wxScrollBar class and scrollable windows"
330 --enable-slider use wxSlider class"
332 --enable-spinbtn use wxSpinButton class"
334 --enable-spinctrl use wxSpinCtrl class"
336 --enable-splitter use wxSplitterWindow class"
338 --enable-statbmp use wxStaticBitmap class"
340 --enable-statbox use wxStaticBox class"
342 --enable-statline use wxStaticLine class"
344 --enable-stattext use wxStaticText class"
346 --enable-statusbar use wxStatusBar class"
348 --enable-tabdialog use wxTabControl class"
350 --enable-textctrl use wxTextCtrl class"
352 --enable-togglebtn use wxToggleButton class"
354 --enable-toolbar use wxToolBar class"
356 --enable-tbarnative use native wxToolBar class"
358 --enable-tbarsmpl use wxToolBarSimple class"
360 --enable-treectrl use wxTreeCtrl class"
362 --enable-tipwindow use wxTipWindow class"
364 --enable-popupwin use wxPopUpWindow class"
366 --enable-commondlg use all common dialogs"
368 --enable-choicedlg use wxChoiceDialog"
370 --enable-coldlg use wxColourDialog"
372 --enable-filedlg use wxFileDialog"
374 --enable-finddlg use wxFindReplaceDialog"
376 --enable-fontdlg use wxFontDialog"
378 --enable-dirdlg use wxDirDialog"
380 --enable-msgdlg use wxMessageDialog"
382 --enable-numberdlg use wxNumberEntryDialog"
384 --enable-splash use wxSplashScreen"
386 --enable-textdlg use wxTextDialog"
388 --enable-tipdlg use startup tips"
390 --enable-progressdlg use wxProgressDialog"
392 --enable-wizarddlg use wxWizard"
394 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
396 --enable-miniframe use wxMiniFrame class"
398 --enable-tooltips use wxToolTip class"
400 --enable-splines use spline drawing code"
402 --enable-validators use wxValidator and derived classes"
404 --enable-busyinfo use wxBusyInfo"
406 --enable-joystick use wxJoystick (Linux only)"
408 --enable-metafiles use wxMetaFile (Windows only)"
410 --enable-dragimage use wxDragImage"
412 --enable-palette use wxPalette class"
414 --enable-image use wxImage class"
416 --enable-gif use gif images (GIF file format)"
418 --enable-pcx use pcx images (PCX file format)"
420 --enable-iff use iff images (IFF file format)"
422 --enable-pnm use pnm images (PNM file format)"
424 --enable-xpm use xpm images (XPM file format)"
426 --enable-icocur use Windows ICO and CUR formats"
428 --disable-gtktest do not try to compile and run a test GTK+ program"
430 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
432 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
434 --disable-gtktest Do not try to compile and run a test GTK program"
436 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
438 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
440 --disable-gtktest Do not try to compile and run a test GTK program"
442 --with-x use the X Window System"
444 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
446 # Initialize some variables set by options.
447 # The variables have the same names as the options, with
448 # dashes changed to underlines.
450 cache_file
=.
/config.cache
459 program_transform_name
=s
,x
,x
,
467 bindir
='${exec_prefix}/bin'
468 sbindir
='${exec_prefix}/sbin'
469 libexecdir
='${exec_prefix}/libexec'
470 datadir
='${prefix}/share'
471 sysconfdir
='${prefix}/etc'
472 sharedstatedir
='${prefix}/com'
473 localstatedir
='${prefix}/var'
474 libdir
='${exec_prefix}/lib'
475 includedir
='${prefix}/include'
476 oldincludedir
='/usr/include'
477 infodir
='${prefix}/info'
478 mandir
='${prefix}/man'
480 # Initialize some other variables.
483 SHELL
=${CONFIG_SHELL-/bin/sh}
484 # Maximum number of lines to put in a shell here document.
491 # If the previous option needs an argument, assign it.
492 if test -n "$ac_prev"; then
493 eval "$ac_prev=\$ac_option"
499 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
503 # Accept the important Cygnus configure options, so we can diagnose typos.
507 -bindir | --bindir | --bindi | --bind | --bin | --bi)
509 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
510 bindir
="$ac_optarg" ;;
512 -build | --build | --buil | --bui | --bu)
514 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
515 build
="$ac_optarg" ;;
517 -cache-file | --cache-file | --cache-fil | --cache-fi \
518 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
519 ac_prev
=cache_file
;;
520 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
521 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
522 cache_file
="$ac_optarg" ;;
524 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
526 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
528 datadir
="$ac_optarg" ;;
530 -disable-* | --disable-*)
531 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
532 # Reject names that are not valid shell variable names.
533 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
534 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
536 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
537 eval "enable_${ac_feature}=no" ;;
539 -enable-* | --enable-*)
540 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
541 # Reject names that are not valid shell variable names.
542 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
543 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
545 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
550 eval "enable_${ac_feature}='$ac_optarg'" ;;
552 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
553 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
554 | --exec | --exe | --ex)
555 ac_prev
=exec_prefix
;;
556 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
557 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
558 | --exec=* | --exe=* | --ex=*)
559 exec_prefix
="$ac_optarg" ;;
561 -gas | --gas | --ga | --g)
562 # Obsolete; use --with-gas.
565 -help | --help | --hel | --he)
566 # Omit some internal or obsolete options to make the list less imposing.
567 # This message is too long to be a string in the A/UX 3.1 sh.
569 Usage: configure [options] [host]
570 Options: [defaults in brackets after descriptions]
572 --cache-file=FILE cache test results in FILE
573 --help print this message
574 --no-create do not create output files
575 --quiet, --silent do not print \`checking...' messages
576 --version print the version of autoconf that created configure
577 Directory and file names:
578 --prefix=PREFIX install architecture-independent files in PREFIX
580 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
582 --bindir=DIR user executables in DIR [EPREFIX/bin]
583 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
584 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
585 --datadir=DIR read-only architecture-independent data in DIR
587 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
588 --sharedstatedir=DIR modifiable architecture-independent data in DIR
590 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
591 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
592 --includedir=DIR C header files in DIR [PREFIX/include]
593 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
594 --infodir=DIR info documentation in DIR [PREFIX/info]
595 --mandir=DIR man documentation in DIR [PREFIX/man]
596 --srcdir=DIR find the sources in DIR [configure dir or ..]
597 --program-prefix=PREFIX prepend PREFIX to installed program names
598 --program-suffix=SUFFIX append SUFFIX to installed program names
599 --program-transform-name=PROGRAM
600 run sed PROGRAM on installed program names
604 --build=BUILD configure for building on BUILD [BUILD=HOST]
605 --host=HOST configure for HOST [guessed]
606 --target=TARGET configure for TARGET [TARGET=HOST]
607 Features and packages:
608 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
609 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
610 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
611 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
612 --x-includes=DIR X include files are in DIR
613 --x-libraries=DIR X library files are in DIR
615 if test -n "$ac_help"; then
616 echo "--enable and --with options recognized:$ac_help"
620 -host | --host | --hos | --ho)
622 -host=* | --host=* | --hos=* | --ho=*)
625 -includedir | --includedir | --includedi | --included | --include \
626 | --includ | --inclu | --incl | --inc)
627 ac_prev
=includedir
;;
628 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
629 | --includ=* | --inclu=* | --incl=* | --inc=*)
630 includedir
="$ac_optarg" ;;
632 -infodir | --infodir | --infodi | --infod | --info | --inf)
634 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
635 infodir
="$ac_optarg" ;;
637 -libdir | --libdir | --libdi | --libd)
639 -libdir=* | --libdir=* | --libdi=* | --libd=*)
640 libdir
="$ac_optarg" ;;
642 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
643 | --libexe | --libex | --libe)
644 ac_prev
=libexecdir
;;
645 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
646 | --libexe=* | --libex=* | --libe=*)
647 libexecdir
="$ac_optarg" ;;
649 -localstatedir | --localstatedir | --localstatedi | --localstated \
650 | --localstate | --localstat | --localsta | --localst \
651 | --locals | --local | --loca | --loc | --lo)
652 ac_prev
=localstatedir
;;
653 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
654 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
655 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
656 localstatedir
="$ac_optarg" ;;
658 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
660 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
661 mandir
="$ac_optarg" ;;
664 # Obsolete; use --without-fp.
667 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
671 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
672 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
675 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
676 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
677 | --oldin | --oldi | --old | --ol | --o)
678 ac_prev
=oldincludedir
;;
679 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
680 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
681 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
682 oldincludedir
="$ac_optarg" ;;
684 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
686 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
687 prefix
="$ac_optarg" ;;
689 -program-prefix | --program-prefix | --program-prefi | --program-pref \
690 | --program-pre | --program-pr | --program-p)
691 ac_prev
=program_prefix
;;
692 -program-prefix=* | --program-prefix=* | --program-prefi=* \
693 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
694 program_prefix
="$ac_optarg" ;;
696 -program-suffix | --program-suffix | --program-suffi | --program-suff \
697 | --program-suf | --program-su | --program-s)
698 ac_prev
=program_suffix
;;
699 -program-suffix=* | --program-suffix=* | --program-suffi=* \
700 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
701 program_suffix
="$ac_optarg" ;;
703 -program-transform-name | --program-transform-name \
704 | --program-transform-nam | --program-transform-na \
705 | --program-transform-n | --program-transform- \
706 | --program-transform | --program-transfor \
707 | --program-transfo | --program-transf \
708 | --program-trans | --program-tran \
709 | --progr-tra | --program-tr | --program-t)
710 ac_prev
=program_transform_name
;;
711 -program-transform-name=* | --program-transform-name=* \
712 | --program-transform-nam=* | --program-transform-na=* \
713 | --program-transform-n=* | --program-transform-=* \
714 | --program-transform=* | --program-transfor=* \
715 | --program-transfo=* | --program-transf=* \
716 | --program-trans=* | --program-tran=* \
717 | --progr-tra=* | --program-tr=* | --program-t=*)
718 program_transform_name
="$ac_optarg" ;;
720 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
721 | -silent | --silent | --silen | --sile | --sil)
724 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
726 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
728 sbindir
="$ac_optarg" ;;
730 -sharedstatedir | --sharedstatedir | --sharedstatedi \
731 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
732 | --sharedst | --shareds | --shared | --share | --shar \
734 ac_prev
=sharedstatedir
;;
735 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
736 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
737 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
739 sharedstatedir
="$ac_optarg" ;;
741 -site | --site | --sit)
743 -site=* | --site=* | --sit=*)
746 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
748 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
749 srcdir
="$ac_optarg" ;;
751 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
752 | --syscon | --sysco | --sysc | --sys | --sy)
753 ac_prev
=sysconfdir
;;
754 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
755 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
756 sysconfdir
="$ac_optarg" ;;
758 -target | --target | --targe | --targ | --tar | --ta | --t)
760 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
761 target
="$ac_optarg" ;;
763 -v | -verbose | --verbose | --verbos | --verbo | --verb)
766 -version | --version | --versio | --versi | --vers)
767 echo "configure generated by autoconf version 2.13"
771 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
772 # Reject names that are not valid shell variable names.
773 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
774 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
776 ac_package
=`echo $ac_package| sed 's/-/_/g'`
781 eval "with_${ac_package}='$ac_optarg'" ;;
783 -without-* | --without-*)
784 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
785 # Reject names that are not valid shell variable names.
786 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
787 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
789 ac_package
=`echo $ac_package| sed 's/-/_/g'`
790 eval "with_${ac_package}=no" ;;
793 # Obsolete; use --with-x.
796 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
797 | --x-incl | --x-inc | --x-in | --x-i)
798 ac_prev
=x_includes
;;
799 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
800 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
801 x_includes
="$ac_optarg" ;;
803 -x-libraries | --x-libraries | --x-librarie | --x-librari \
804 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
805 ac_prev
=x_libraries
;;
806 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
807 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
808 x_libraries
="$ac_optarg" ;;
810 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
814 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
815 echo "configure: warning: $ac_option: invalid host type" 1>&2
817 if test "x$nonopt" != xNONE
; then
818 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
826 if test -n "$ac_prev"; then
827 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
830 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
832 # File descriptor usage:
835 # 2 errors and warnings
836 # 3 some systems may open it to /dev/tty
837 # 4 used on the Kubota Titan
838 # 6 checking for... messages and results
839 # 5 compiler messages saved in config.log
840 if test "$silent" = yes; then
848 This file contains any messages produced by compilers while
849 running configure, to aid debugging if configure makes a mistake.
852 # Strip out --no-create and --no-recursion so they do not pile up.
853 # Also quote any args containing shell metacharacters.
858 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
859 | --no-cr | --no-c) ;;
860 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
861 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
862 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
863 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
864 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
869 # Only set these to C if already set. These must not be set unconditionally
870 # because not all systems understand e.g. LANG=C (notably SCO).
871 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
872 # Non-C LC_CTYPE values break the ctype check.
873 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
874 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
875 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
876 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
878 # confdefs.h avoids OS command line length limits that DEFS can exceed.
879 rm -rf conftest
* confdefs.h
880 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
883 # A filename unique to this package, relative to the directory that
884 # configure is in, which we can look for to find out if srcdir is correct.
885 ac_unique_file
=wx
-config.
in
887 # Find the source files, if location was not specified.
888 if test -z "$srcdir"; then
889 ac_srcdir_defaulted
=yes
890 # Try the directory containing this script, then its parent.
892 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
893 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
895 if test ! -r $srcdir/$ac_unique_file; then
899 ac_srcdir_defaulted
=no
901 if test ! -r $srcdir/$ac_unique_file; then
902 if test "$ac_srcdir_defaulted" = yes; then
903 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
905 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
908 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
910 # Prefer explicitly selected file to automatically selected ones.
911 if test -z "$CONFIG_SITE"; then
912 if test "x$prefix" != xNONE
; then
913 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
915 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
918 for ac_site_file
in $CONFIG_SITE; do
919 if test -r "$ac_site_file"; then
920 echo "loading site script $ac_site_file"
925 if test -r "$cache_file"; then
926 echo "loading cache $cache_file"
929 echo "creating cache $cache_file"
934 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
935 ac_cpp
='$CPP $CPPFLAGS'
936 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
937 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
938 cross_compiling
=$ac_cv_prog_cc_cross
942 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
943 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
944 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
951 ac_n
= ac_c
='\c' ac_t
=
957 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
958 if test -f $ac_dir/install-sh; then
960 ac_install_sh
="$ac_aux_dir/install-sh -c"
962 elif test -f $ac_dir/install.sh
; then
964 ac_install_sh
="$ac_aux_dir/install.sh -c"
968 if test -z "$ac_aux_dir"; then
969 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
971 ac_config_guess
=$ac_aux_dir/config.guess
972 ac_config_sub
=$ac_aux_dir/config.sub
973 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
976 # Do some error checking and defaulting for the host and target type.
978 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
981 # 1. You are not allowed to specify --host, --target, and nonopt at the
983 # 2. Host defaults to nonopt.
984 # 3. If nonopt is not specified, then host defaults to the current host,
985 # as determined by config.guess.
986 # 4. Target and build default to nonopt.
987 # 5. If nonopt is not specified, then target and build default to host.
989 # The aliases save the names the user supplied, while $host etc.
990 # will get canonicalized.
991 case $host---$target---$nonopt in
992 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
993 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
997 # Make sure we can run config.sub.
998 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
999 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1002 echo $ac_n "checking host system type""... $ac_c" 1>&6
1003 echo "configure:1004: checking host system type" >&5
1006 case "$host_alias" in
1010 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1011 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1013 *) host_alias
=$nonopt ;;
1017 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1018 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1019 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1020 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1021 echo "$ac_t""$host" 1>&6
1023 echo $ac_n "checking target system type""... $ac_c" 1>&6
1024 echo "configure:1025: checking target system type" >&5
1026 target_alias
=$target
1027 case "$target_alias" in
1030 NONE
) target_alias
=$host_alias ;;
1031 *) target_alias
=$nonopt ;;
1035 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1036 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1037 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1038 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1039 echo "$ac_t""$target" 1>&6
1041 echo $ac_n "checking build system type""... $ac_c" 1>&6
1042 echo "configure:1043: checking build system type" >&5
1045 case "$build_alias" in
1048 NONE
) build_alias
=$host_alias ;;
1049 *) build_alias
=$nonopt ;;
1053 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1054 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1055 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1056 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1057 echo "$ac_t""$build" 1>&6
1059 test "$host_alias" != "$target_alias" &&
1060 test "$program_prefix$program_suffix$program_transform_name" = \
1062 program_prefix
=${target_alias}-
1066 WX_MAJOR_VERSION_NUMBER
=2
1067 WX_MINOR_VERSION_NUMBER
=3
1070 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1071 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1073 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1107 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1109 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM WINE X11"
1114 DEFAULT_wxUSE_MICROWIN
=0
1115 DEFAULT_wxUSE_MOTIF
=0
1118 DEFAULT_wxUSE_WINE
=0
1121 DEFAULT_DEFAULT_wxUSE_GTK
=0
1122 DEFAULT_DEFAULT_wxUSE_MAC
=0
1123 DEFAULT_DEFAULT_wxUSE_MGL
=0
1124 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1125 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1126 DEFAULT_DEFAULT_wxUSE_MSW
=0
1127 DEFAULT_DEFAULT_wxUSE_PM
=0
1128 DEFAULT_DEFAULT_wxUSE_WINE
=0
1129 DEFAULT_DEFAULT_wxUSE_X11
=0
1137 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1138 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1140 cat >> confdefs.h
<<\EOF
1147 cat >> confdefs.h
<<\EOF
1152 if test "x$TMP" = "xalpha"; then
1154 cat >> confdefs.h
<<\EOF
1159 DEFAULT_DEFAULT_wxUSE_GTK
=1
1161 *-*-irix5* | *-*-irix6* )
1164 cat >> confdefs.h
<<\EOF
1168 cat >> confdefs.h
<<\EOF
1172 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1178 cat >> confdefs.h
<<\EOF
1182 cat >> confdefs.h
<<\EOF
1183 #define __SOLARIS__ 1
1186 cat >> confdefs.h
<<\EOF
1190 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1191 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1197 cat >> confdefs.h
<<\EOF
1201 cat >> confdefs.h
<<\EOF
1205 cat >> confdefs.h
<<\EOF
1209 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1214 cat >> confdefs.h
<<\EOF
1215 #define __FREEBSD__ 1
1218 cat >> confdefs.h
<<\EOF
1222 DEFAULT_DEFAULT_wxUSE_GTK
=1
1227 cat >> confdefs.h
<<\EOF
1228 #define __FREEBSD__ 1
1231 cat >> confdefs.h
<<\EOF
1232 #define __OPENBSD__ 1
1235 DEFAULT_DEFAULT_wxUSE_GTK
=1
1240 cat >> confdefs.h
<<\EOF
1241 #define __FREEBSD__ 1
1244 cat >> confdefs.h
<<\EOF
1245 #define __NETBSD__ 1
1248 DEFAULT_DEFAULT_wxUSE_GTK
=1
1253 cat >> confdefs.h
<<\EOF
1257 cat >> confdefs.h
<<\EOF
1261 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1262 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1267 cat >> confdefs.h
<<\EOF
1271 cat >> confdefs.h
<<\EOF
1275 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1280 cat >> confdefs.h
<<\EOF
1284 cat >> confdefs.h
<<\EOF
1288 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1294 cat >> confdefs.h
<<\EOF
1298 cat >> confdefs.h
<<\EOF
1302 cat >> confdefs.h
<<\EOF
1306 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1309 *-*-cygwin* | *-*-mingw32* )
1313 cat >> confdefs.h
<<\EOF
1317 cat >> confdefs.h
<<\EOF
1321 cat >> confdefs.h
<<\EOF
1322 #define __WINDOWS__ 1
1325 cat >> confdefs.h
<<\EOF
1326 #define __GNUWIN32__ 1
1329 cat >> confdefs.h
<<\EOF
1333 cat >> confdefs.h
<<\EOF
1334 #define WINVER 0x0400
1339 DEFAULT_DEFAULT_wxUSE_MSW
=1
1345 cat >> confdefs.h
<<\EOF
1350 DEFAULT_DEFAULT_wxUSE_MGL
=1
1353 *-pc-os2_emx | *-pc-os2-emx )
1354 cat >> confdefs.h
<<\EOF
1359 DEFAULT_DEFAULT_wxUSE_PM
=1
1360 LIBS
="$LIBS -lstdcpp"
1367 cat >> confdefs.h
<<\EOF
1371 cat >> confdefs.h
<<\EOF
1372 #define __DARWIN__ 1
1375 cat >> confdefs.h
<<\EOF
1376 #define __POWERPC__ 1
1379 DEFAULT_DEFAULT_wxUSE_MAC
=1
1384 cat >> confdefs.h
<<\EOF
1391 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1394 if test "$USE_UNIX" = 1 ; then
1396 cat >> confdefs.h
<<\EOF
1402 if test "$USE_LINUX" = 1; then
1403 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1404 echo "configure:1405: checking for glibc 2.1 or later" >&5
1405 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1406 echo $ac_n "(cached) $ac_c" 1>&6
1409 cat > conftest.
$ac_ext <<EOF
1410 #line 1411 "configure"
1411 #include "confdefs.h"
1412 #include <features.h>
1415 #if !__GLIBC_PREREQ(2, 1)
1421 if { (eval echo configure
:1422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1427 echo "configure: failed program was:" >&5
1428 cat conftest.
$ac_ext >&5
1439 echo "$ac_t""$wx_lib_glibc21" 1>&6
1440 if test "$wx_lib_glibc21" = "yes"; then
1441 cat >> confdefs.h
<<\EOF
1442 #define wxHAVE_GLIBC2 1
1451 wx_arg_cache_file
="configarg.cache"
1452 echo "loading argument cache $wx_arg_cache_file"
1453 rm -f ${wx_arg_cache_file}.tmp
1454 touch ${wx_arg_cache_file}.tmp
1455 touch ${wx_arg_cache_file}
1459 if test $DEBUG_CONFIGURE = 1; then
1460 DEFAULT_wxUSE_UNIVERSAL
=no
1462 DEFAULT_wxUSE_NANOX
=no
1464 DEFAULT_wxUSE_THREADS
=yes
1466 DEFAULT_wxUSE_SHARED
=yes
1467 DEFAULT_wxUSE_SONAME
=no
1468 DEFAULT_wxUSE_OPTIMISE
=no
1469 DEFAULT_wxUSE_PROFILE
=no
1470 DEFAULT_wxUSE_NO_DEPS
=no
1471 DEFAULT_wxUSE_NO_RTTI
=no
1472 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1473 DEFAULT_wxUSE_PERMISSIVE
=no
1474 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1475 DEFAULT_wxUSE_DEBUG_INFO
=yes
1476 DEFAULT_wxUSE_DEBUG_GDB
=yes
1477 DEFAULT_wxUSE_MEM_TRACING
=no
1478 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1479 DEFAULT_wxUSE_DMALLOC
=no
1480 DEFAULT_wxUSE_PRECOMP
=no
1481 DEFAULT_wxUSE_APPLE_IEEE
=no
1483 DEFAULT_wxUSE_LOG
=yes
1484 DEFAULT_wxUSE_LOGWINDOW
=no
1485 DEFAULT_wxUSE_LOGGUI
=no
1486 DEFAULT_wxUSE_LOGDIALOG
=no
1488 DEFAULT_wxUSE_GUI
=yes
1489 DEFAULT_wxUSE_CONTROLS
=no
1491 DEFAULT_wxUSE_REGEX
=no
1492 DEFAULT_wxUSE_ZLIB
=no
1493 DEFAULT_wxUSE_LIBPNG
=no
1494 DEFAULT_wxUSE_LIBJPEG
=no
1495 DEFAULT_wxUSE_LIBTIFF
=no
1496 DEFAULT_wxUSE_ODBC
=no
1497 DEFAULT_wxUSE_OPENGL
=no
1499 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1500 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1501 DEFAULT_wxUSE_STD_IOSTREAM
=no
1502 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1503 DEFAULT_wxUSE_DATETIME
=no
1504 DEFAULT_wxUSE_TIMEDATE
=no
1505 DEFAULT_wxUSE_TIMER
=no
1506 DEFAULT_wxUSE_STOPWATCH
=no
1507 DEFAULT_wxUSE_FILE
=no
1508 DEFAULT_wxUSE_FFILE
=no
1509 DEFAULT_wxUSE_TEXTBUFFER
=no
1510 DEFAULT_wxUSE_TEXTFILE
=no
1511 DEFAULT_wxUSE_WAVE
=no
1512 DEFAULT_wxUSE_INTL
=no
1513 DEFAULT_wxUSE_CONFIG
=no
1514 DEFAULT_wxUSE_FONTMAP
=no
1515 DEFAULT_wxUSE_STREAMS
=no
1516 DEFAULT_wxUSE_SOCKETS
=no
1517 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1518 DEFAULT_wxUSE_JOYSTICK
=no
1519 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1520 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1521 DEFAULT_wxUSE_LONGLONG
=no
1522 DEFAULT_wxUSE_GEOMETRY
=no
1524 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1525 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1526 DEFAULT_wxUSE_POSTSCRIPT
=no
1528 DEFAULT_wxUSE_X_RESOURCES
=no
1529 DEFAULT_wxUSE_CLIPBOARD
=no
1530 DEFAULT_wxUSE_TOOLTIPS
=no
1531 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1532 DEFAULT_wxUSE_DRAGIMAGE
=no
1533 DEFAULT_wxUSE_SPLINES
=no
1535 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1536 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1537 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1539 DEFAULT_wxUSE_PROLOGIO
=no
1540 DEFAULT_wxUSE_RESOURCES
=no
1541 DEFAULT_wxUSE_CONSTRAINTS
=no
1542 DEFAULT_wxUSE_IPC
=no
1543 DEFAULT_wxUSE_HELP
=no
1544 DEFAULT_wxUSE_MS_HTML_HELP
=no
1545 DEFAULT_wxUSE_WXHTML_HELP
=no
1546 DEFAULT_wxUSE_TREELAYOUT
=no
1547 DEFAULT_wxUSE_METAFILE
=no
1548 DEFAULT_wxUSE_MIMETYPE
=no
1549 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1550 DEFAULT_wxUSE_PROTOCOL
=no
1551 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1552 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1553 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1554 DEFAULT_wxUSE_URL
=no
1556 DEFAULT_wxUSE_COMMONDLGS
=no
1557 DEFAULT_wxUSE_CHOICEDLG
=no
1558 DEFAULT_wxUSE_COLOURDLG
=no
1559 DEFAULT_wxUSE_DIRDLG
=no
1560 DEFAULT_wxUSE_FILEDLG
=no
1561 DEFAULT_wxUSE_FINDREPLDLG
=no
1562 DEFAULT_wxUSE_FONTDLG
=no
1563 DEFAULT_wxUSE_MSGDLG
=no
1564 DEFAULT_wxUSE_NUMBERDLG
=no
1565 DEFAULT_wxUSE_TEXTDLG
=no
1566 DEFAULT_wxUSE_SPLASH
=no
1567 DEFAULT_wxUSE_STARTUP_TIPS
=no
1568 DEFAULT_wxUSE_PROGRESSDLG
=no
1569 DEFAULT_wxUSE_WIZARDDLG
=no
1571 DEFAULT_wxUSE_MENUS
=no
1572 DEFAULT_wxUSE_MINIFRAME
=no
1573 DEFAULT_wxUSE_HTML
=no
1574 DEFAULT_wxUSE_FILESYSTEM
=no
1575 DEFAULT_wxUSE_FS_INET
=no
1576 DEFAULT_wxUSE_FS_ZIP
=no
1577 DEFAULT_wxUSE_BUSYINFO
=no
1578 DEFAULT_wxUSE_ZIPSTREAM
=no
1579 DEFAULT_wxUSE_VALIDATORS
=no
1581 DEFAULT_wxUSE_ACCEL
=no
1582 DEFAULT_wxUSE_BUTTON
=no
1583 DEFAULT_wxUSE_BMPBUTTON
=no
1584 DEFAULT_wxUSE_CALCTRL
=no
1585 DEFAULT_wxUSE_CARET
=no
1586 DEFAULT_wxUSE_CHECKBOX
=no
1587 DEFAULT_wxUSE_CHECKLST
=no
1588 DEFAULT_wxUSE_CHOICE
=no
1589 DEFAULT_wxUSE_COMBOBOX
=no
1590 DEFAULT_wxUSE_GAUGE
=no
1591 DEFAULT_wxUSE_GRID
=no
1592 DEFAULT_wxUSE_NEW_GRID
=no
1593 DEFAULT_wxUSE_IMAGLIST
=no
1594 DEFAULT_wxUSE_LISTBOX
=no
1595 DEFAULT_wxUSE_LISTCTRL
=no
1596 DEFAULT_wxUSE_NOTEBOOK
=no
1597 DEFAULT_wxUSE_PROPSHEET
=no
1598 DEFAULT_wxUSE_RADIOBOX
=no
1599 DEFAULT_wxUSE_RADIOBTN
=no
1600 DEFAULT_wxUSE_SASH
=no
1601 DEFAULT_wxUSE_SCROLLBAR
=no
1602 DEFAULT_wxUSE_SLIDER
=no
1603 DEFAULT_wxUSE_SPINBTN
=no
1604 DEFAULT_wxUSE_SPINCTRL
=no
1605 DEFAULT_wxUSE_SPLITTER
=no
1606 DEFAULT_wxUSE_STATBMP
=no
1607 DEFAULT_wxUSE_STATBOX
=no
1608 DEFAULT_wxUSE_STATLINE
=no
1609 DEFAULT_wxUSE_STATTEXT
=no
1610 DEFAULT_wxUSE_STATUSBAR
=yes
1611 DEFAULT_wxUSE_TABDIALOG
=no
1612 DEFAULT_wxUSE_TEXTCTRL
=no
1613 DEFAULT_wxUSE_TOGGLEBTN
=no
1614 DEFAULT_wxUSE_TOOLBAR
=no
1615 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1616 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1617 DEFAULT_wxUSE_TREECTRL
=no
1618 DEFAULT_wxUSE_POPUPWIN
=no
1619 DEFAULT_wxUSE_TIPWINDOW
=no
1621 DEFAULT_wxUSE_UNICODE
=no
1622 DEFAULT_wxUSE_UNICODE_MSLU
=no
1623 DEFAULT_wxUSE_WCSRTOMBS
=no
1625 DEFAULT_wxUSE_PALETTE
=no
1626 DEFAULT_wxUSE_IMAGE
=no
1627 DEFAULT_wxUSE_GIF
=no
1628 DEFAULT_wxUSE_PCX
=no
1629 DEFAULT_wxUSE_PNM
=no
1630 DEFAULT_wxUSE_IFF
=no
1631 DEFAULT_wxUSE_XPM
=no
1632 DEFAULT_wxUSE_ICO_CUR
=no
1634 DEFAULT_wxUSE_UNIVERSAL
=no
1636 DEFAULT_wxUSE_NANOX
=no
1638 DEFAULT_wxUSE_THREADS
=yes
1640 DEFAULT_wxUSE_SHARED
=yes
1641 DEFAULT_wxUSE_SONAME
=no
1642 DEFAULT_wxUSE_OPTIMISE
=yes
1643 DEFAULT_wxUSE_PROFILE
=no
1644 DEFAULT_wxUSE_NO_DEPS
=no
1645 DEFAULT_wxUSE_NO_RTTI
=no
1646 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1647 DEFAULT_wxUSE_PERMISSIVE
=no
1648 DEFAULT_wxUSE_DEBUG_FLAG
=no
1649 DEFAULT_wxUSE_DEBUG_INFO
=no
1650 DEFAULT_wxUSE_DEBUG_GDB
=no
1651 DEFAULT_wxUSE_MEM_TRACING
=no
1652 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1653 DEFAULT_wxUSE_DMALLOC
=no
1654 DEFAULT_wxUSE_PRECOMP
=no
1655 DEFAULT_wxUSE_APPLE_IEEE
=yes
1657 DEFAULT_wxUSE_LOG
=yes
1658 DEFAULT_wxUSE_LOGWINDOW
=yes
1659 DEFAULT_wxUSE_LOGGUI
=yes
1660 DEFAULT_wxUSE_LOGDIALOG
=yes
1662 DEFAULT_wxUSE_GUI
=yes
1664 DEFAULT_wxUSE_REGEX
=yes
1665 DEFAULT_wxUSE_ZLIB
=yes
1666 DEFAULT_wxUSE_LIBPNG
=yes
1667 DEFAULT_wxUSE_LIBJPEG
=yes
1668 DEFAULT_wxUSE_LIBTIFF
=yes
1669 DEFAULT_wxUSE_ODBC
=no
1670 DEFAULT_wxUSE_OPENGL
=no
1672 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1673 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1674 DEFAULT_wxUSE_STD_IOSTREAM
=no
1675 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1676 DEFAULT_wxUSE_DATETIME
=yes
1677 DEFAULT_wxUSE_TIMEDATE
=no
1678 DEFAULT_wxUSE_TIMER
=yes
1679 DEFAULT_wxUSE_STOPWATCH
=yes
1680 DEFAULT_wxUSE_FILE
=yes
1681 DEFAULT_wxUSE_FFILE
=yes
1682 DEFAULT_wxUSE_TEXTBUFFER
=yes
1683 DEFAULT_wxUSE_TEXTFILE
=yes
1684 DEFAULT_wxUSE_WAVE
=no
1685 DEFAULT_wxUSE_INTL
=yes
1686 DEFAULT_wxUSE_CONFIG
=yes
1687 DEFAULT_wxUSE_FONTMAP
=yes
1688 DEFAULT_wxUSE_STREAMS
=yes
1689 DEFAULT_wxUSE_SOCKETS
=yes
1690 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1691 DEFAULT_wxUSE_JOYSTICK
=yes
1692 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1693 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1694 DEFAULT_wxUSE_LONGLONG
=yes
1695 DEFAULT_wxUSE_GEOMETRY
=yes
1697 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1698 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1699 DEFAULT_wxUSE_POSTSCRIPT
=yes
1701 DEFAULT_wxUSE_X_RESOURCES
=no
1702 DEFAULT_wxUSE_CLIPBOARD
=yes
1703 DEFAULT_wxUSE_TOOLTIPS
=yes
1704 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1705 DEFAULT_wxUSE_DRAGIMAGE
=yes
1706 DEFAULT_wxUSE_SPLINES
=yes
1708 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1709 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1710 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1712 DEFAULT_wxUSE_PROLOGIO
=yes
1713 DEFAULT_wxUSE_RESOURCES
=yes
1714 DEFAULT_wxUSE_CONSTRAINTS
=yes
1715 DEFAULT_wxUSE_IPC
=yes
1716 DEFAULT_wxUSE_HELP
=yes
1717 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1718 DEFAULT_wxUSE_WXHTML_HELP
=yes
1719 DEFAULT_wxUSE_TREELAYOUT
=yes
1720 DEFAULT_wxUSE_METAFILE
=yes
1721 DEFAULT_wxUSE_MIMETYPE
=yes
1722 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1723 DEFAULT_wxUSE_PROTOCOL
=yes
1724 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1725 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1726 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1727 DEFAULT_wxUSE_URL
=yes
1729 DEFAULT_wxUSE_COMMONDLGS
=yes
1730 DEFAULT_wxUSE_CHOICEDLG
=yes
1731 DEFAULT_wxUSE_COLOURDLG
=yes
1732 DEFAULT_wxUSE_DIRDLG
=yes
1733 DEFAULT_wxUSE_FILEDLG
=yes
1734 DEFAULT_wxUSE_FINDREPLDLG
=yes
1735 DEFAULT_wxUSE_FONTDLG
=yes
1736 DEFAULT_wxUSE_MSGDLG
=yes
1737 DEFAULT_wxUSE_NUMBERDLG
=yes
1738 DEFAULT_wxUSE_TEXTDLG
=yes
1739 DEFAULT_wxUSE_SPLASH
=yes
1740 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1741 DEFAULT_wxUSE_PROGRESSDLG
=yes
1742 DEFAULT_wxUSE_WIZARDDLG
=yes
1744 DEFAULT_wxUSE_MENUS
=yes
1745 DEFAULT_wxUSE_MINIFRAME
=yes
1746 DEFAULT_wxUSE_HTML
=yes
1747 DEFAULT_wxUSE_FILESYSTEM
=yes
1748 DEFAULT_wxUSE_FS_INET
=yes
1749 DEFAULT_wxUSE_FS_ZIP
=yes
1750 DEFAULT_wxUSE_BUSYINFO
=yes
1751 DEFAULT_wxUSE_ZIPSTREAM
=yes
1752 DEFAULT_wxUSE_VALIDATORS
=yes
1754 DEFAULT_wxUSE_ACCEL
=yes
1755 DEFAULT_wxUSE_BUTTON
=yes
1756 DEFAULT_wxUSE_BMPBUTTON
=yes
1757 DEFAULT_wxUSE_CALCTRL
=yes
1758 DEFAULT_wxUSE_CARET
=yes
1759 DEFAULT_wxUSE_CHECKBOX
=yes
1760 DEFAULT_wxUSE_CHECKLST
=yes
1761 DEFAULT_wxUSE_CHOICE
=yes
1762 DEFAULT_wxUSE_COMBOBOX
=yes
1763 DEFAULT_wxUSE_GAUGE
=yes
1764 DEFAULT_wxUSE_GRID
=yes
1765 DEFAULT_wxUSE_NEW_GRID
=yes
1766 DEFAULT_wxUSE_IMAGLIST
=yes
1767 DEFAULT_wxUSE_LISTBOX
=yes
1768 DEFAULT_wxUSE_LISTCTRL
=yes
1769 DEFAULT_wxUSE_NOTEBOOK
=yes
1770 DEFAULT_wxUSE_PROPSHEET
=yes
1771 DEFAULT_wxUSE_RADIOBOX
=yes
1772 DEFAULT_wxUSE_RADIOBTN
=yes
1773 DEFAULT_wxUSE_SASH
=yes
1774 DEFAULT_wxUSE_SCROLLBAR
=yes
1775 DEFAULT_wxUSE_SLIDER
=yes
1776 DEFAULT_wxUSE_SPINBTN
=yes
1777 DEFAULT_wxUSE_SPINCTRL
=yes
1778 DEFAULT_wxUSE_SPLITTER
=yes
1779 DEFAULT_wxUSE_STATBMP
=yes
1780 DEFAULT_wxUSE_STATBOX
=yes
1781 DEFAULT_wxUSE_STATLINE
=yes
1782 DEFAULT_wxUSE_STATTEXT
=yes
1783 DEFAULT_wxUSE_STATUSBAR
=yes
1784 DEFAULT_wxUSE_TABDIALOG
=no
1785 DEFAULT_wxUSE_TEXTCTRL
=yes
1786 DEFAULT_wxUSE_TOGGLEBTN
=yes
1787 DEFAULT_wxUSE_TOOLBAR
=yes
1788 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1789 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1790 DEFAULT_wxUSE_TREECTRL
=yes
1791 DEFAULT_wxUSE_POPUPWIN
=yes
1792 DEFAULT_wxUSE_TIPWINDOW
=yes
1794 DEFAULT_wxUSE_UNICODE
=no
1795 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1796 DEFAULT_wxUSE_WCSRTOMBS
=no
1798 DEFAULT_wxUSE_PALETTE
=yes
1799 DEFAULT_wxUSE_IMAGE
=yes
1800 DEFAULT_wxUSE_GIF
=yes
1801 DEFAULT_wxUSE_PCX
=yes
1802 DEFAULT_wxUSE_IFF
=no
1803 DEFAULT_wxUSE_PNM
=yes
1804 DEFAULT_wxUSE_XPM
=yes
1805 DEFAULT_wxUSE_ICO_CUR
=yes
1810 for toolkit
in `echo $ALL_TOOLKITS`; do
1811 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1812 if test "x$LINE" != x
; then
1813 has_toolkit_in_cache
=1
1814 eval "DEFAULT_$LINE"
1815 eval "CACHE_$toolkit=1"
1821 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1822 echo "configure:1823: checking for --enable-gui" >&5
1824 # Check whether --enable-gui or --disable-gui was given.
1825 if test "${enable_gui+set}" = set; then
1826 enableval
="$enable_gui"
1828 if test "$enableval" = yes; then
1829 ac_cv_use_gui
='wxUSE_GUI=yes'
1831 ac_cv_use_gui
='wxUSE_GUI=no'
1836 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1837 if test "x$LINE" != x
; then
1838 eval "DEFAULT_$LINE"
1843 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1848 eval "$ac_cv_use_gui"
1849 if test "$no_cache" != 1; then
1850 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1853 if test "$wxUSE_GUI" = yes; then
1854 echo "$ac_t""yes" 1>&6
1856 echo "$ac_t""no" 1>&6
1860 if test "$wxUSE_GUI" = "yes"; then
1863 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1864 echo "configure:1865: checking for --enable-universal" >&5
1866 # Check whether --enable-universal or --disable-universal was given.
1867 if test "${enable_universal+set}" = set; then
1868 enableval
="$enable_universal"
1870 if test "$enableval" = yes; then
1871 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1873 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1878 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1879 if test "x$LINE" != x
; then
1880 eval "DEFAULT_$LINE"
1885 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1890 eval "$ac_cv_use_universal"
1891 if test "$no_cache" != 1; then
1892 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1895 if test "$wxUSE_UNIVERSAL" = yes; then
1896 echo "$ac_t""yes" 1>&6
1898 echo "$ac_t""no" 1>&6
1901 # Check whether --with-gtk or --without-gtk was given.
1902 if test "${with_gtk+set}" = set; then
1904 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1907 # Check whether --with-motif or --without-motif was given.
1908 if test "${with_motif+set}" = set; then
1909 withval
="$with_motif"
1910 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1913 # Check whether --with-mac or --without-mac was given.
1914 if test "${with_mac+set}" = set; then
1916 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1919 # Check whether --with-wine or --without-wine was given.
1920 if test "${with_wine+set}" = set; then
1921 withval
="$with_wine"
1922 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1925 # Check whether --with-msw or --without-msw was given.
1926 if test "${with_msw+set}" = set; then
1928 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1931 # Check whether --with-pm or --without-pm was given.
1932 if test "${with_pm+set}" = set; then
1934 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1937 # Check whether --with-mgl or --without-mgl was given.
1938 if test "${with_mgl+set}" = set; then
1940 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1943 # Check whether --with-microwin or --without-microwin was given.
1944 if test "${with_microwin+set}" = set; then
1945 withval
="$with_microwin"
1946 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1949 # Check whether --with-x11 or --without-x11 was given.
1950 if test "${with_x11+set}" = set; then
1952 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1956 echo $ac_n "checking for --enable-nanox""... $ac_c" 1>&6
1957 echo "configure:1958: checking for --enable-nanox" >&5
1959 # Check whether --enable-nanox or --disable-nanox was given.
1960 if test "${enable_nanox+set}" = set; then
1961 enableval
="$enable_nanox"
1963 if test "$enableval" = yes; then
1964 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1966 ac_cv_use_nanox
='wxUSE_NANOX=no'
1971 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1972 if test "x$LINE" != x
; then
1973 eval "DEFAULT_$LINE"
1978 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1983 eval "$ac_cv_use_nanox"
1984 if test "$no_cache" != 1; then
1985 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1988 if test "$wxUSE_NANOX" = yes; then
1989 echo "$ac_t""yes" 1>&6
1991 echo "$ac_t""no" 1>&6
1995 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1996 if test "${enable_gtk2+set}" = set; then
1997 enableval
="$enable_gtk2"
2005 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
2006 echo "configure:2007: checking for --with-libpng" >&5
2008 # Check whether --with-libpng or --without-libpng was given.
2009 if test "${with_libpng+set}" = set; then
2010 withval
="$with_libpng"
2012 if test "$withval" = yes; then
2013 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2014 elif test "$withval" = no
; then
2015 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2016 elif test "$withval" = sys
; then
2017 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2018 elif test "$withval" = builtin; then
2019 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2021 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2026 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2027 if test "x$LINE" != x
; then
2028 eval "DEFAULT_$LINE"
2033 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2038 eval "$ac_cv_use_libpng"
2039 if test "$no_cache" != 1; then
2040 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2043 if test "$wxUSE_LIBPNG" = yes; then
2044 echo "$ac_t""yes" 1>&6
2045 elif test "$wxUSE_LIBPNG" = no
; then
2046 echo "$ac_t""no" 1>&6
2047 elif test "$wxUSE_LIBPNG" = sys
; then
2048 echo "$ac_t""system version" 1>&6
2049 elif test "$wxUSE_LIBPNG" = builtin; then
2050 echo "$ac_t""builtin version" 1>&6
2052 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2056 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2057 echo "configure:2058: checking for --with-libjpeg" >&5
2059 # Check whether --with-libjpeg or --without-libjpeg was given.
2060 if test "${with_libjpeg+set}" = set; then
2061 withval
="$with_libjpeg"
2063 if test "$withval" = yes; then
2064 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2065 elif test "$withval" = no
; then
2066 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2067 elif test "$withval" = sys
; then
2068 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2069 elif test "$withval" = builtin; then
2070 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2072 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2077 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2078 if test "x$LINE" != x
; then
2079 eval "DEFAULT_$LINE"
2084 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2089 eval "$ac_cv_use_libjpeg"
2090 if test "$no_cache" != 1; then
2091 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2094 if test "$wxUSE_LIBJPEG" = yes; then
2095 echo "$ac_t""yes" 1>&6
2096 elif test "$wxUSE_LIBJPEG" = no
; then
2097 echo "$ac_t""no" 1>&6
2098 elif test "$wxUSE_LIBJPEG" = sys
; then
2099 echo "$ac_t""system version" 1>&6
2100 elif test "$wxUSE_LIBJPEG" = builtin; then
2101 echo "$ac_t""builtin version" 1>&6
2103 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2107 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2108 echo "configure:2109: checking for --with-libtiff" >&5
2110 # Check whether --with-libtiff or --without-libtiff was given.
2111 if test "${with_libtiff+set}" = set; then
2112 withval
="$with_libtiff"
2114 if test "$withval" = yes; then
2115 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2116 elif test "$withval" = no
; then
2117 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2118 elif test "$withval" = sys
; then
2119 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2120 elif test "$withval" = builtin; then
2121 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2123 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2128 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2129 if test "x$LINE" != x
; then
2130 eval "DEFAULT_$LINE"
2135 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2140 eval "$ac_cv_use_libtiff"
2141 if test "$no_cache" != 1; then
2142 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2145 if test "$wxUSE_LIBTIFF" = yes; then
2146 echo "$ac_t""yes" 1>&6
2147 elif test "$wxUSE_LIBTIFF" = no
; then
2148 echo "$ac_t""no" 1>&6
2149 elif test "$wxUSE_LIBTIFF" = sys
; then
2150 echo "$ac_t""system version" 1>&6
2151 elif test "$wxUSE_LIBTIFF" = builtin; then
2152 echo "$ac_t""builtin version" 1>&6
2154 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2158 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2159 echo "configure:2160: checking for --with-opengl" >&5
2161 # Check whether --with-opengl or --without-opengl was given.
2162 if test "${with_opengl+set}" = set; then
2163 withval
="$with_opengl"
2165 if test "$withval" = yes; then
2166 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2168 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2173 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2174 if test "x$LINE" != x
; then
2175 eval "DEFAULT_$LINE"
2180 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2185 eval "$ac_cv_use_opengl"
2186 if test "$no_cache" != 1; then
2187 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2190 if test "$wxUSE_OPENGL" = yes; then
2191 echo "$ac_t""yes" 1>&6
2193 echo "$ac_t""no" 1>&6
2200 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2201 echo "configure:2202: checking for --with-dmalloc" >&5
2203 # Check whether --with-dmalloc or --without-dmalloc was given.
2204 if test "${with_dmalloc+set}" = set; then
2205 withval
="$with_dmalloc"
2207 if test "$withval" = yes; then
2208 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2210 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2215 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2216 if test "x$LINE" != x
; then
2217 eval "DEFAULT_$LINE"
2222 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2227 eval "$ac_cv_use_dmalloc"
2228 if test "$no_cache" != 1; then
2229 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2232 if test "$wxUSE_DMALLOC" = yes; then
2233 echo "$ac_t""yes" 1>&6
2235 echo "$ac_t""no" 1>&6
2239 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2240 echo "configure:2241: checking for --with-regex" >&5
2242 # Check whether --with-regex or --without-regex was given.
2243 if test "${with_regex+set}" = set; then
2244 withval
="$with_regex"
2246 if test "$withval" = yes; then
2247 ac_cv_use_regex
='wxUSE_REGEX=yes'
2248 elif test "$withval" = no
; then
2249 ac_cv_use_regex
='wxUSE_REGEX=no'
2250 elif test "$withval" = sys
; then
2251 ac_cv_use_regex
='wxUSE_REGEX=sys'
2252 elif test "$withval" = builtin; then
2253 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2255 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2260 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2261 if test "x$LINE" != x
; then
2262 eval "DEFAULT_$LINE"
2267 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2272 eval "$ac_cv_use_regex"
2273 if test "$no_cache" != 1; then
2274 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2277 if test "$wxUSE_REGEX" = yes; then
2278 echo "$ac_t""yes" 1>&6
2279 elif test "$wxUSE_REGEX" = no
; then
2280 echo "$ac_t""no" 1>&6
2281 elif test "$wxUSE_REGEX" = sys
; then
2282 echo "$ac_t""system version" 1>&6
2283 elif test "$wxUSE_REGEX" = builtin; then
2284 echo "$ac_t""builtin version" 1>&6
2286 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2290 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2291 echo "configure:2292: checking for --with-zlib" >&5
2293 # Check whether --with-zlib or --without-zlib was given.
2294 if test "${with_zlib+set}" = set; then
2295 withval
="$with_zlib"
2297 if test "$withval" = yes; then
2298 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2299 elif test "$withval" = no
; then
2300 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2301 elif test "$withval" = sys
; then
2302 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2303 elif test "$withval" = builtin; then
2304 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2306 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2311 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2312 if test "x$LINE" != x
; then
2313 eval "DEFAULT_$LINE"
2318 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2323 eval "$ac_cv_use_zlib"
2324 if test "$no_cache" != 1; then
2325 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2328 if test "$wxUSE_ZLIB" = yes; then
2329 echo "$ac_t""yes" 1>&6
2330 elif test "$wxUSE_ZLIB" = no
; then
2331 echo "$ac_t""no" 1>&6
2332 elif test "$wxUSE_ZLIB" = sys
; then
2333 echo "$ac_t""system version" 1>&6
2334 elif test "$wxUSE_ZLIB" = builtin; then
2335 echo "$ac_t""builtin version" 1>&6
2337 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2341 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2342 echo "configure:2343: checking for --with-odbc" >&5
2344 # Check whether --with-odbc or --without-odbc was given.
2345 if test "${with_odbc+set}" = set; then
2346 withval
="$with_odbc"
2348 if test "$withval" = yes; then
2349 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2351 ac_cv_use_odbc
='wxUSE_ODBC=no'
2356 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2357 if test "x$LINE" != x
; then
2358 eval "DEFAULT_$LINE"
2363 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2368 eval "$ac_cv_use_odbc"
2369 if test "$no_cache" != 1; then
2370 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2373 if test "$wxUSE_ODBC" = yes; then
2374 echo "$ac_t""yes" 1>&6
2376 echo "$ac_t""no" 1>&6
2382 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2383 echo "configure:2384: checking for --enable-shared" >&5
2385 # Check whether --enable-shared or --disable-shared was given.
2386 if test "${enable_shared+set}" = set; then
2387 enableval
="$enable_shared"
2389 if test "$enableval" = yes; then
2390 ac_cv_use_shared
='wxUSE_SHARED=yes'
2392 ac_cv_use_shared
='wxUSE_SHARED=no'
2397 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2398 if test "x$LINE" != x
; then
2399 eval "DEFAULT_$LINE"
2404 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2409 eval "$ac_cv_use_shared"
2410 if test "$no_cache" != 1; then
2411 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2414 if test "$wxUSE_SHARED" = yes; then
2415 echo "$ac_t""yes" 1>&6
2417 echo "$ac_t""no" 1>&6
2421 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2422 echo "configure:2423: checking for --enable-soname" >&5
2424 # Check whether --enable-soname or --disable-soname was given.
2425 if test "${enable_soname+set}" = set; then
2426 enableval
="$enable_soname"
2428 if test "$enableval" = yes; then
2429 ac_cv_use_soname
='wxUSE_SONAME=yes'
2431 ac_cv_use_soname
='wxUSE_SONAME=no'
2436 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2437 if test "x$LINE" != x
; then
2438 eval "DEFAULT_$LINE"
2443 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2448 eval "$ac_cv_use_soname"
2449 if test "$no_cache" != 1; then
2450 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2453 if test "$wxUSE_SONAME" = yes; then
2454 echo "$ac_t""yes" 1>&6
2456 echo "$ac_t""no" 1>&6
2460 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2461 echo "configure:2462: checking for --enable-optimise" >&5
2463 # Check whether --enable-optimise or --disable-optimise was given.
2464 if test "${enable_optimise+set}" = set; then
2465 enableval
="$enable_optimise"
2467 if test "$enableval" = yes; then
2468 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2470 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2475 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2476 if test "x$LINE" != x
; then
2477 eval "DEFAULT_$LINE"
2482 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2487 eval "$ac_cv_use_optimise"
2488 if test "$no_cache" != 1; then
2489 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2492 if test "$wxUSE_OPTIMISE" = yes; then
2493 echo "$ac_t""yes" 1>&6
2495 echo "$ac_t""no" 1>&6
2499 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2500 echo "configure:2501: checking for --enable-debug" >&5
2502 # Check whether --enable-debug or --disable-debug was given.
2503 if test "${enable_debug+set}" = set; then
2504 enableval
="$enable_debug"
2506 if test "$enableval" = yes; then
2507 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2509 ac_cv_use_debug
='wxUSE_DEBUG=no'
2514 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2515 if test "x$LINE" != x
; then
2516 eval "DEFAULT_$LINE"
2521 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2526 eval "$ac_cv_use_debug"
2527 if test "$no_cache" != 1; then
2528 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2531 if test "$wxUSE_DEBUG" = yes; then
2532 echo "$ac_t""yes" 1>&6
2534 echo "$ac_t""no" 1>&6
2539 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2540 echo "configure:2541: checking for --enable-precomp" >&5
2542 # Check whether --enable-precomp or --disable-precomp was given.
2543 if test "${enable_precomp+set}" = set; then
2544 enableval
="$enable_precomp"
2546 if test "$enableval" = yes; then
2547 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2549 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2554 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2555 if test "x$LINE" != x
; then
2556 eval "DEFAULT_$LINE"
2561 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2566 eval "$ac_cv_use_precomp"
2567 if test "$no_cache" != 1; then
2568 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2571 if test "$wxUSE_PRECOMP" = yes; then
2572 echo "$ac_t""yes" 1>&6
2574 echo "$ac_t""no" 1>&6
2578 if test "$wxUSE_DEBUG" = "yes"; then
2579 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2580 DEFAULT_wxUSE_DEBUG_INFO
=yes
2581 elif test "$wxUSE_DEBUG" = "no"; then
2582 DEFAULT_wxUSE_DEBUG_FLAG
=no
2583 DEFAULT_wxUSE_DEBUG_INFO
=no
2587 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2588 echo "configure:2589: checking for --enable-debug_flag" >&5
2590 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2591 if test "${enable_debug_flag+set}" = set; then
2592 enableval
="$enable_debug_flag"
2594 if test "$enableval" = yes; then
2595 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2597 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2602 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2603 if test "x$LINE" != x
; then
2604 eval "DEFAULT_$LINE"
2609 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2614 eval "$ac_cv_use_debug_flag"
2615 if test "$no_cache" != 1; then
2616 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2619 if test "$wxUSE_DEBUG_FLAG" = yes; then
2620 echo "$ac_t""yes" 1>&6
2622 echo "$ac_t""no" 1>&6
2626 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2627 echo "configure:2628: checking for --enable-debug_info" >&5
2629 # Check whether --enable-debug_info or --disable-debug_info was given.
2630 if test "${enable_debug_info+set}" = set; then
2631 enableval
="$enable_debug_info"
2633 if test "$enableval" = yes; then
2634 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2636 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2641 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2642 if test "x$LINE" != x
; then
2643 eval "DEFAULT_$LINE"
2648 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2653 eval "$ac_cv_use_debug_info"
2654 if test "$no_cache" != 1; then
2655 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2658 if test "$wxUSE_DEBUG_INFO" = yes; then
2659 echo "$ac_t""yes" 1>&6
2661 echo "$ac_t""no" 1>&6
2665 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2666 echo "configure:2667: checking for --enable-debug_gdb" >&5
2668 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2669 if test "${enable_debug_gdb+set}" = set; then
2670 enableval
="$enable_debug_gdb"
2672 if test "$enableval" = yes; then
2673 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2675 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2680 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2681 if test "x$LINE" != x
; then
2682 eval "DEFAULT_$LINE"
2687 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2692 eval "$ac_cv_use_debug_gdb"
2693 if test "$no_cache" != 1; then
2694 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2697 if test "$wxUSE_DEBUG_GDB" = yes; then
2698 echo "$ac_t""yes" 1>&6
2700 echo "$ac_t""no" 1>&6
2704 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2705 echo "configure:2706: checking for --enable-debug_cntxt" >&5
2707 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2708 if test "${enable_debug_cntxt+set}" = set; then
2709 enableval
="$enable_debug_cntxt"
2711 if test "$enableval" = yes; then
2712 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2714 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2719 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2720 if test "x$LINE" != x
; then
2721 eval "DEFAULT_$LINE"
2726 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2731 eval "$ac_cv_use_debug_cntxt"
2732 if test "$no_cache" != 1; then
2733 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2736 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2737 echo "$ac_t""yes" 1>&6
2739 echo "$ac_t""no" 1>&6
2743 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2744 echo "configure:2745: checking for --enable-mem_tracing" >&5
2746 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2747 if test "${enable_mem_tracing+set}" = set; then
2748 enableval
="$enable_mem_tracing"
2750 if test "$enableval" = yes; then
2751 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2753 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2758 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2759 if test "x$LINE" != x
; then
2760 eval "DEFAULT_$LINE"
2765 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2770 eval "$ac_cv_use_mem_tracing"
2771 if test "$no_cache" != 1; then
2772 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2775 if test "$wxUSE_MEM_TRACING" = yes; then
2776 echo "$ac_t""yes" 1>&6
2778 echo "$ac_t""no" 1>&6
2782 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2783 echo "configure:2784: checking for --enable-profile" >&5
2785 # Check whether --enable-profile or --disable-profile was given.
2786 if test "${enable_profile+set}" = set; then
2787 enableval
="$enable_profile"
2789 if test "$enableval" = yes; then
2790 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2792 ac_cv_use_profile
='wxUSE_PROFILE=no'
2797 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2798 if test "x$LINE" != x
; then
2799 eval "DEFAULT_$LINE"
2804 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2809 eval "$ac_cv_use_profile"
2810 if test "$no_cache" != 1; then
2811 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2814 if test "$wxUSE_PROFILE" = yes; then
2815 echo "$ac_t""yes" 1>&6
2817 echo "$ac_t""no" 1>&6
2821 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2822 echo "configure:2823: checking for --enable-no_rtti" >&5
2824 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2825 if test "${enable_no_rtti+set}" = set; then
2826 enableval
="$enable_no_rtti"
2828 if test "$enableval" = yes; then
2829 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2831 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2836 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2837 if test "x$LINE" != x
; then
2838 eval "DEFAULT_$LINE"
2843 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2848 eval "$ac_cv_use_no_rtti"
2849 if test "$no_cache" != 1; then
2850 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2853 if test "$wxUSE_NO_RTTI" = yes; then
2854 echo "$ac_t""yes" 1>&6
2856 echo "$ac_t""no" 1>&6
2860 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2861 echo "configure:2862: checking for --enable-no_exceptions" >&5
2863 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2864 if test "${enable_no_exceptions+set}" = set; then
2865 enableval
="$enable_no_exceptions"
2867 if test "$enableval" = yes; then
2868 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2870 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2875 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2876 if test "x$LINE" != x
; then
2877 eval "DEFAULT_$LINE"
2882 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2887 eval "$ac_cv_use_no_exceptions"
2888 if test "$no_cache" != 1; then
2889 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2892 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2893 echo "$ac_t""yes" 1>&6
2895 echo "$ac_t""no" 1>&6
2899 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2900 echo "configure:2901: checking for --enable-permissive" >&5
2902 # Check whether --enable-permissive or --disable-permissive was given.
2903 if test "${enable_permissive+set}" = set; then
2904 enableval
="$enable_permissive"
2906 if test "$enableval" = yes; then
2907 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2909 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2914 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2915 if test "x$LINE" != x
; then
2916 eval "DEFAULT_$LINE"
2921 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2926 eval "$ac_cv_use_permissive"
2927 if test "$no_cache" != 1; then
2928 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2931 if test "$wxUSE_PERMISSIVE" = yes; then
2932 echo "$ac_t""yes" 1>&6
2934 echo "$ac_t""no" 1>&6
2938 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2939 echo "configure:2940: checking for --enable-no_deps" >&5
2941 # Check whether --enable-no_deps or --disable-no_deps was given.
2942 if test "${enable_no_deps+set}" = set; then
2943 enableval
="$enable_no_deps"
2945 if test "$enableval" = yes; then
2946 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2948 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2953 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2954 if test "x$LINE" != x
; then
2955 eval "DEFAULT_$LINE"
2960 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2965 eval "$ac_cv_use_no_deps"
2966 if test "$no_cache" != 1; then
2967 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2970 if test "$wxUSE_NO_DEPS" = yes; then
2971 echo "$ac_t""yes" 1>&6
2973 echo "$ac_t""no" 1>&6
2978 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2979 echo "configure:2980: checking for --enable-compat20" >&5
2981 # Check whether --enable-compat20 or --disable-compat20 was given.
2982 if test "${enable_compat20+set}" = set; then
2983 enableval
="$enable_compat20"
2985 if test "$enableval" = yes; then
2986 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2988 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2993 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2994 if test "x$LINE" != x
; then
2995 eval "DEFAULT_$LINE"
3000 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3005 eval "$ac_cv_use_compat20"
3006 if test "$no_cache" != 1; then
3007 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3010 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3011 echo "$ac_t""yes" 1>&6
3013 echo "$ac_t""no" 1>&6
3017 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
3018 echo "configure:3019: checking for --enable-compat22" >&5
3020 # Check whether --enable-compat22 or --disable-compat22 was given.
3021 if test "${enable_compat22+set}" = set; then
3022 enableval
="$enable_compat22"
3024 if test "$enableval" = yes; then
3025 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3027 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3032 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3033 if test "x$LINE" != x
; then
3034 eval "DEFAULT_$LINE"
3039 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3044 eval "$ac_cv_use_compat22"
3045 if test "$no_cache" != 1; then
3046 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3049 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3050 echo "$ac_t""yes" 1>&6
3052 echo "$ac_t""no" 1>&6
3058 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3059 echo "configure:3060: checking for --enable-intl" >&5
3061 # Check whether --enable-intl or --disable-intl was given.
3062 if test "${enable_intl+set}" = set; then
3063 enableval
="$enable_intl"
3065 if test "$enableval" = yes; then
3066 ac_cv_use_intl
='wxUSE_INTL=yes'
3068 ac_cv_use_intl
='wxUSE_INTL=no'
3073 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3074 if test "x$LINE" != x
; then
3075 eval "DEFAULT_$LINE"
3080 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3085 eval "$ac_cv_use_intl"
3086 if test "$no_cache" != 1; then
3087 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3090 if test "$wxUSE_INTL" = yes; then
3091 echo "$ac_t""yes" 1>&6
3093 echo "$ac_t""no" 1>&6
3097 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3098 echo "configure:3099: checking for --enable-config" >&5
3100 # Check whether --enable-config or --disable-config was given.
3101 if test "${enable_config+set}" = set; then
3102 enableval
="$enable_config"
3104 if test "$enableval" = yes; then
3105 ac_cv_use_config
='wxUSE_CONFIG=yes'
3107 ac_cv_use_config
='wxUSE_CONFIG=no'
3112 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3113 if test "x$LINE" != x
; then
3114 eval "DEFAULT_$LINE"
3119 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3124 eval "$ac_cv_use_config"
3125 if test "$no_cache" != 1; then
3126 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3129 if test "$wxUSE_CONFIG" = yes; then
3130 echo "$ac_t""yes" 1>&6
3132 echo "$ac_t""no" 1>&6
3137 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3138 echo "configure:3139: checking for --enable-protocols" >&5
3140 # Check whether --enable-protocols or --disable-protocols was given.
3141 if test "${enable_protocols+set}" = set; then
3142 enableval
="$enable_protocols"
3144 if test "$enableval" = yes; then
3145 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3147 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3152 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3153 if test "x$LINE" != x
; then
3154 eval "DEFAULT_$LINE"
3159 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3164 eval "$ac_cv_use_protocols"
3165 if test "$no_cache" != 1; then
3166 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3169 if test "$wxUSE_PROTOCOL" = yes; then
3170 echo "$ac_t""yes" 1>&6
3172 echo "$ac_t""no" 1>&6
3176 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3177 echo "configure:3178: checking for --enable-ftp" >&5
3179 # Check whether --enable-ftp or --disable-ftp was given.
3180 if test "${enable_ftp+set}" = set; then
3181 enableval
="$enable_ftp"
3183 if test "$enableval" = yes; then
3184 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3186 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3191 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3192 if test "x$LINE" != x
; then
3193 eval "DEFAULT_$LINE"
3198 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3203 eval "$ac_cv_use_ftp"
3204 if test "$no_cache" != 1; then
3205 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3208 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3209 echo "$ac_t""yes" 1>&6
3211 echo "$ac_t""no" 1>&6
3215 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3216 echo "configure:3217: checking for --enable-http" >&5
3218 # Check whether --enable-http or --disable-http was given.
3219 if test "${enable_http+set}" = set; then
3220 enableval
="$enable_http"
3222 if test "$enableval" = yes; then
3223 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3225 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3230 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3231 if test "x$LINE" != x
; then
3232 eval "DEFAULT_$LINE"
3237 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3242 eval "$ac_cv_use_http"
3243 if test "$no_cache" != 1; then
3244 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3247 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3248 echo "$ac_t""yes" 1>&6
3250 echo "$ac_t""no" 1>&6
3254 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3255 echo "configure:3256: checking for --enable-fileproto" >&5
3257 # Check whether --enable-fileproto or --disable-fileproto was given.
3258 if test "${enable_fileproto+set}" = set; then
3259 enableval
="$enable_fileproto"
3261 if test "$enableval" = yes; then
3262 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3264 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3269 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3270 if test "x$LINE" != x
; then
3271 eval "DEFAULT_$LINE"
3276 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3281 eval "$ac_cv_use_fileproto"
3282 if test "$no_cache" != 1; then
3283 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3286 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3287 echo "$ac_t""yes" 1>&6
3289 echo "$ac_t""no" 1>&6
3293 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3294 echo "configure:3295: checking for --enable-sockets" >&5
3296 # Check whether --enable-sockets or --disable-sockets was given.
3297 if test "${enable_sockets+set}" = set; then
3298 enableval
="$enable_sockets"
3300 if test "$enableval" = yes; then
3301 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3303 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3308 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3309 if test "x$LINE" != x
; then
3310 eval "DEFAULT_$LINE"
3315 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3320 eval "$ac_cv_use_sockets"
3321 if test "$no_cache" != 1; then
3322 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3325 if test "$wxUSE_SOCKETS" = yes; then
3326 echo "$ac_t""yes" 1>&6
3328 echo "$ac_t""no" 1>&6
3333 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3334 echo "configure:3335: checking for --enable-ipc" >&5
3336 # Check whether --enable-ipc or --disable-ipc was given.
3337 if test "${enable_ipc+set}" = set; then
3338 enableval
="$enable_ipc"
3340 if test "$enableval" = yes; then
3341 ac_cv_use_ipc
='wxUSE_IPC=yes'
3343 ac_cv_use_ipc
='wxUSE_IPC=no'
3348 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3349 if test "x$LINE" != x
; then
3350 eval "DEFAULT_$LINE"
3355 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3360 eval "$ac_cv_use_ipc"
3361 if test "$no_cache" != 1; then
3362 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3365 if test "$wxUSE_IPC" = yes; then
3366 echo "$ac_t""yes" 1>&6
3368 echo "$ac_t""no" 1>&6
3373 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3374 echo "configure:3375: checking for --enable-cmdline" >&5
3376 # Check whether --enable-cmdline or --disable-cmdline was given.
3377 if test "${enable_cmdline+set}" = set; then
3378 enableval
="$enable_cmdline"
3380 if test "$enableval" = yes; then
3381 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3383 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3388 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3389 if test "x$LINE" != x
; then
3390 eval "DEFAULT_$LINE"
3395 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3400 eval "$ac_cv_use_cmdline"
3401 if test "$no_cache" != 1; then
3402 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3405 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3406 echo "$ac_t""yes" 1>&6
3408 echo "$ac_t""no" 1>&6
3412 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3413 echo "configure:3414: checking for --enable-datetime" >&5
3415 # Check whether --enable-datetime or --disable-datetime was given.
3416 if test "${enable_datetime+set}" = set; then
3417 enableval
="$enable_datetime"
3419 if test "$enableval" = yes; then
3420 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3422 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3427 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3428 if test "x$LINE" != x
; then
3429 eval "DEFAULT_$LINE"
3434 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3439 eval "$ac_cv_use_datetime"
3440 if test "$no_cache" != 1; then
3441 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3444 if test "$wxUSE_DATETIME" = yes; then
3445 echo "$ac_t""yes" 1>&6
3447 echo "$ac_t""no" 1>&6
3451 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3452 echo "configure:3453: checking for --enable-timedate" >&5
3454 # Check whether --enable-timedate or --disable-timedate was given.
3455 if test "${enable_timedate+set}" = set; then
3456 enableval
="$enable_timedate"
3458 if test "$enableval" = yes; then
3459 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3461 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3466 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3467 if test "x$LINE" != x
; then
3468 eval "DEFAULT_$LINE"
3473 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3478 eval "$ac_cv_use_timedate"
3479 if test "$no_cache" != 1; then
3480 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3483 if test "$wxUSE_TIMEDATE" = yes; then
3484 echo "$ac_t""yes" 1>&6
3486 echo "$ac_t""no" 1>&6
3490 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3491 echo "configure:3492: checking for --enable-stopwatch" >&5
3493 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3494 if test "${enable_stopwatch+set}" = set; then
3495 enableval
="$enable_stopwatch"
3497 if test "$enableval" = yes; then
3498 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3500 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3505 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3506 if test "x$LINE" != x
; then
3507 eval "DEFAULT_$LINE"
3512 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3517 eval "$ac_cv_use_stopwatch"
3518 if test "$no_cache" != 1; then
3519 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3522 if test "$wxUSE_STOPWATCH" = yes; then
3523 echo "$ac_t""yes" 1>&6
3525 echo "$ac_t""no" 1>&6
3529 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3530 echo "configure:3531: checking for --enable-dialupman" >&5
3532 # Check whether --enable-dialupman or --disable-dialupman was given.
3533 if test "${enable_dialupman+set}" = set; then
3534 enableval
="$enable_dialupman"
3536 if test "$enableval" = yes; then
3537 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3539 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3544 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3545 if test "x$LINE" != x
; then
3546 eval "DEFAULT_$LINE"
3551 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3556 eval "$ac_cv_use_dialupman"
3557 if test "$no_cache" != 1; then
3558 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3561 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3562 echo "$ac_t""yes" 1>&6
3564 echo "$ac_t""no" 1>&6
3568 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3569 echo "configure:3570: checking for --enable-apple_ieee" >&5
3571 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3572 if test "${enable_apple_ieee+set}" = set; then
3573 enableval
="$enable_apple_ieee"
3575 if test "$enableval" = yes; then
3576 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3578 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3583 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3584 if test "x$LINE" != x
; then
3585 eval "DEFAULT_$LINE"
3590 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3595 eval "$ac_cv_use_apple_ieee"
3596 if test "$no_cache" != 1; then
3597 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3600 if test "$wxUSE_APPLE_IEEE" = yes; then
3601 echo "$ac_t""yes" 1>&6
3603 echo "$ac_t""no" 1>&6
3607 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3608 echo "configure:3609: checking for --enable-timer" >&5
3610 # Check whether --enable-timer or --disable-timer was given.
3611 if test "${enable_timer+set}" = set; then
3612 enableval
="$enable_timer"
3614 if test "$enableval" = yes; then
3615 ac_cv_use_timer
='wxUSE_TIMER=yes'
3617 ac_cv_use_timer
='wxUSE_TIMER=no'
3622 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3623 if test "x$LINE" != x
; then
3624 eval "DEFAULT_$LINE"
3629 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3634 eval "$ac_cv_use_timer"
3635 if test "$no_cache" != 1; then
3636 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3639 if test "$wxUSE_TIMER" = yes; then
3640 echo "$ac_t""yes" 1>&6
3642 echo "$ac_t""no" 1>&6
3646 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3647 echo "configure:3648: checking for --enable-wave" >&5
3649 # Check whether --enable-wave or --disable-wave was given.
3650 if test "${enable_wave+set}" = set; then
3651 enableval
="$enable_wave"
3653 if test "$enableval" = yes; then
3654 ac_cv_use_wave
='wxUSE_WAVE=yes'
3656 ac_cv_use_wave
='wxUSE_WAVE=no'
3661 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3662 if test "x$LINE" != x
; then
3663 eval "DEFAULT_$LINE"
3668 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3673 eval "$ac_cv_use_wave"
3674 if test "$no_cache" != 1; then
3675 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3678 if test "$wxUSE_WAVE" = yes; then
3679 echo "$ac_t""yes" 1>&6
3681 echo "$ac_t""no" 1>&6
3685 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3686 echo "configure:3687: checking for --enable-fraction" >&5
3688 # Check whether --enable-fraction or --disable-fraction was given.
3689 if test "${enable_fraction+set}" = set; then
3690 enableval
="$enable_fraction"
3692 if test "$enableval" = yes; then
3693 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3695 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3700 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3701 if test "x$LINE" != x
; then
3702 eval "DEFAULT_$LINE"
3707 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3712 eval "$ac_cv_use_fraction"
3713 if test "$no_cache" != 1; then
3714 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3717 if test "$wxUSE_FRACTION" = yes; then
3718 echo "$ac_t""yes" 1>&6
3720 echo "$ac_t""no" 1>&6
3724 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3725 echo "configure:3726: checking for --enable-dynlib" >&5
3727 # Check whether --enable-dynlib or --disable-dynlib was given.
3728 if test "${enable_dynlib+set}" = set; then
3729 enableval
="$enable_dynlib"
3731 if test "$enableval" = yes; then
3732 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3734 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3739 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3740 if test "x$LINE" != x
; then
3741 eval "DEFAULT_$LINE"
3746 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3751 eval "$ac_cv_use_dynlib"
3752 if test "$no_cache" != 1; then
3753 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3756 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3757 echo "$ac_t""yes" 1>&6
3759 echo "$ac_t""no" 1>&6
3763 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3764 echo "configure:3765: checking for --enable-dynamicloader" >&5
3766 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3767 if test "${enable_dynamicloader+set}" = set; then
3768 enableval
="$enable_dynamicloader"
3770 if test "$enableval" = yes; then
3771 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3773 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3778 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3779 if test "x$LINE" != x
; then
3780 eval "DEFAULT_$LINE"
3785 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3790 eval "$ac_cv_use_dynamicloader"
3791 if test "$no_cache" != 1; then
3792 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3795 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3796 echo "$ac_t""yes" 1>&6
3798 echo "$ac_t""no" 1>&6
3802 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3803 echo "configure:3804: checking for --enable-longlong" >&5
3805 # Check whether --enable-longlong or --disable-longlong was given.
3806 if test "${enable_longlong+set}" = set; then
3807 enableval
="$enable_longlong"
3809 if test "$enableval" = yes; then
3810 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3812 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3817 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3818 if test "x$LINE" != x
; then
3819 eval "DEFAULT_$LINE"
3824 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3829 eval "$ac_cv_use_longlong"
3830 if test "$no_cache" != 1; then
3831 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3834 if test "$wxUSE_LONGLONG" = yes; then
3835 echo "$ac_t""yes" 1>&6
3837 echo "$ac_t""no" 1>&6
3841 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3842 echo "configure:3843: checking for --enable-geometry" >&5
3844 # Check whether --enable-geometry or --disable-geometry was given.
3845 if test "${enable_geometry+set}" = set; then
3846 enableval
="$enable_geometry"
3848 if test "$enableval" = yes; then
3849 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3851 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3856 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3857 if test "x$LINE" != x
; then
3858 eval "DEFAULT_$LINE"
3863 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3868 eval "$ac_cv_use_geometry"
3869 if test "$no_cache" != 1; then
3870 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3873 if test "$wxUSE_GEOMETRY" = yes; then
3874 echo "$ac_t""yes" 1>&6
3876 echo "$ac_t""no" 1>&6
3880 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3881 echo "configure:3882: checking for --enable-log" >&5
3883 # Check whether --enable-log or --disable-log was given.
3884 if test "${enable_log+set}" = set; then
3885 enableval
="$enable_log"
3887 if test "$enableval" = yes; then
3888 ac_cv_use_log
='wxUSE_LOG=yes'
3890 ac_cv_use_log
='wxUSE_LOG=no'
3895 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3896 if test "x$LINE" != x
; then
3897 eval "DEFAULT_$LINE"
3902 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3907 eval "$ac_cv_use_log"
3908 if test "$no_cache" != 1; then
3909 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3912 if test "$wxUSE_LOG" = yes; then
3913 echo "$ac_t""yes" 1>&6
3915 echo "$ac_t""no" 1>&6
3919 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3920 echo "configure:3921: checking for --enable-streams" >&5
3922 # Check whether --enable-streams or --disable-streams was given.
3923 if test "${enable_streams+set}" = set; then
3924 enableval
="$enable_streams"
3926 if test "$enableval" = yes; then
3927 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3929 ac_cv_use_streams
='wxUSE_STREAMS=no'
3934 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3935 if test "x$LINE" != x
; then
3936 eval "DEFAULT_$LINE"
3941 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3946 eval "$ac_cv_use_streams"
3947 if test "$no_cache" != 1; then
3948 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3951 if test "$wxUSE_STREAMS" = yes; then
3952 echo "$ac_t""yes" 1>&6
3954 echo "$ac_t""no" 1>&6
3958 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3959 echo "configure:3960: checking for --enable-file" >&5
3961 # Check whether --enable-file or --disable-file was given.
3962 if test "${enable_file+set}" = set; then
3963 enableval
="$enable_file"
3965 if test "$enableval" = yes; then
3966 ac_cv_use_file
='wxUSE_FILE=yes'
3968 ac_cv_use_file
='wxUSE_FILE=no'
3973 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3974 if test "x$LINE" != x
; then
3975 eval "DEFAULT_$LINE"
3980 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3985 eval "$ac_cv_use_file"
3986 if test "$no_cache" != 1; then
3987 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3990 if test "$wxUSE_FILE" = yes; then
3991 echo "$ac_t""yes" 1>&6
3993 echo "$ac_t""no" 1>&6
3997 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3998 echo "configure:3999: checking for --enable-ffile" >&5
4000 # Check whether --enable-ffile or --disable-ffile was given.
4001 if test "${enable_ffile+set}" = set; then
4002 enableval
="$enable_ffile"
4004 if test "$enableval" = yes; then
4005 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4007 ac_cv_use_ffile
='wxUSE_FFILE=no'
4012 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4013 if test "x$LINE" != x
; then
4014 eval "DEFAULT_$LINE"
4019 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4024 eval "$ac_cv_use_ffile"
4025 if test "$no_cache" != 1; then
4026 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4029 if test "$wxUSE_FFILE" = yes; then
4030 echo "$ac_t""yes" 1>&6
4032 echo "$ac_t""no" 1>&6
4036 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
4037 echo "configure:4038: checking for --enable-textbuf" >&5
4039 # Check whether --enable-textbuf or --disable-textbuf was given.
4040 if test "${enable_textbuf+set}" = set; then
4041 enableval
="$enable_textbuf"
4043 if test "$enableval" = yes; then
4044 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4046 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4051 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4052 if test "x$LINE" != x
; then
4053 eval "DEFAULT_$LINE"
4058 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4063 eval "$ac_cv_use_textbuf"
4064 if test "$no_cache" != 1; then
4065 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4068 if test "$wxUSE_TEXTBUFFER" = yes; then
4069 echo "$ac_t""yes" 1>&6
4071 echo "$ac_t""no" 1>&6
4075 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4076 echo "configure:4077: checking for --enable-textfile" >&5
4078 # Check whether --enable-textfile or --disable-textfile was given.
4079 if test "${enable_textfile+set}" = set; then
4080 enableval
="$enable_textfile"
4082 if test "$enableval" = yes; then
4083 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4085 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4090 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4091 if test "x$LINE" != x
; then
4092 eval "DEFAULT_$LINE"
4097 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4102 eval "$ac_cv_use_textfile"
4103 if test "$no_cache" != 1; then
4104 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4107 if test "$wxUSE_TEXTFILE" = yes; then
4108 echo "$ac_t""yes" 1>&6
4110 echo "$ac_t""no" 1>&6
4114 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4115 echo "configure:4116: checking for --enable-fontmap" >&5
4117 # Check whether --enable-fontmap or --disable-fontmap was given.
4118 if test "${enable_fontmap+set}" = set; then
4119 enableval
="$enable_fontmap"
4121 if test "$enableval" = yes; then
4122 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4124 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4129 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4130 if test "x$LINE" != x
; then
4131 eval "DEFAULT_$LINE"
4136 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4141 eval "$ac_cv_use_fontmap"
4142 if test "$no_cache" != 1; then
4143 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4146 if test "$wxUSE_FONTMAP" = yes; then
4147 echo "$ac_t""yes" 1>&6
4149 echo "$ac_t""no" 1>&6
4153 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4154 echo "configure:4155: checking for --enable-unicode" >&5
4156 # Check whether --enable-unicode or --disable-unicode was given.
4157 if test "${enable_unicode+set}" = set; then
4158 enableval
="$enable_unicode"
4160 if test "$enableval" = yes; then
4161 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4163 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4168 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4169 if test "x$LINE" != x
; then
4170 eval "DEFAULT_$LINE"
4175 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4180 eval "$ac_cv_use_unicode"
4181 if test "$no_cache" != 1; then
4182 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4185 if test "$wxUSE_UNICODE" = yes; then
4186 echo "$ac_t""yes" 1>&6
4188 echo "$ac_t""no" 1>&6
4192 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4193 echo "configure:4194: checking for --enable-mslu" >&5
4195 # Check whether --enable-mslu or --disable-mslu was given.
4196 if test "${enable_mslu+set}" = set; then
4197 enableval
="$enable_mslu"
4199 if test "$enableval" = yes; then
4200 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4202 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4207 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4208 if test "x$LINE" != x
; then
4209 eval "DEFAULT_$LINE"
4214 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4219 eval "$ac_cv_use_mslu"
4220 if test "$no_cache" != 1; then
4221 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4224 if test "$wxUSE_UNICODE_MSLU" = yes; then
4225 echo "$ac_t""yes" 1>&6
4227 echo "$ac_t""no" 1>&6
4231 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4232 echo "configure:4233: checking for --enable-wxprintfv" >&5
4234 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4235 if test "${enable_wxprintfv+set}" = set; then
4236 enableval
="$enable_wxprintfv"
4238 if test "$enableval" = yes; then
4239 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4241 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4246 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4247 if test "x$LINE" != x
; then
4248 eval "DEFAULT_$LINE"
4253 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4258 eval "$ac_cv_use_wxprintfv"
4259 if test "$no_cache" != 1; then
4260 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4263 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4264 echo "$ac_t""yes" 1>&6
4266 echo "$ac_t""no" 1>&6
4270 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4271 echo "configure:4272: checking for --enable-std_iostreams" >&5
4273 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4274 if test "${enable_std_iostreams+set}" = set; then
4275 enableval
="$enable_std_iostreams"
4277 if test "$enableval" = yes; then
4278 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4280 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4285 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4286 if test "x$LINE" != x
; then
4287 eval "DEFAULT_$LINE"
4292 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4297 eval "$ac_cv_use_std_iostreams"
4298 if test "$no_cache" != 1; then
4299 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4302 if test "$wxUSE_STD_IOSTREAM" = yes; then
4303 echo "$ac_t""yes" 1>&6
4305 echo "$ac_t""no" 1>&6
4309 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4310 echo "configure:4311: checking for --enable-filesystem" >&5
4312 # Check whether --enable-filesystem or --disable-filesystem was given.
4313 if test "${enable_filesystem+set}" = set; then
4314 enableval
="$enable_filesystem"
4316 if test "$enableval" = yes; then
4317 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4319 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4324 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4325 if test "x$LINE" != x
; then
4326 eval "DEFAULT_$LINE"
4331 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4336 eval "$ac_cv_use_filesystem"
4337 if test "$no_cache" != 1; then
4338 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4341 if test "$wxUSE_FILESYSTEM" = yes; then
4342 echo "$ac_t""yes" 1>&6
4344 echo "$ac_t""no" 1>&6
4348 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4349 echo "configure:4350: checking for --enable-fs_inet" >&5
4351 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4352 if test "${enable_fs_inet+set}" = set; then
4353 enableval
="$enable_fs_inet"
4355 if test "$enableval" = yes; then
4356 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4358 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4363 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4364 if test "x$LINE" != x
; then
4365 eval "DEFAULT_$LINE"
4370 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4375 eval "$ac_cv_use_fs_inet"
4376 if test "$no_cache" != 1; then
4377 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4380 if test "$wxUSE_FS_INET" = yes; then
4381 echo "$ac_t""yes" 1>&6
4383 echo "$ac_t""no" 1>&6
4387 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4388 echo "configure:4389: checking for --enable-fs_zip" >&5
4390 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4391 if test "${enable_fs_zip+set}" = set; then
4392 enableval
="$enable_fs_zip"
4394 if test "$enableval" = yes; then
4395 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4397 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4402 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4403 if test "x$LINE" != x
; then
4404 eval "DEFAULT_$LINE"
4409 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4414 eval "$ac_cv_use_fs_zip"
4415 if test "$no_cache" != 1; then
4416 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4419 if test "$wxUSE_FS_ZIP" = yes; then
4420 echo "$ac_t""yes" 1>&6
4422 echo "$ac_t""no" 1>&6
4426 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4427 echo "configure:4428: checking for --enable-zipstream" >&5
4429 # Check whether --enable-zipstream or --disable-zipstream was given.
4430 if test "${enable_zipstream+set}" = set; then
4431 enableval
="$enable_zipstream"
4433 if test "$enableval" = yes; then
4434 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4436 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4441 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4442 if test "x$LINE" != x
; then
4443 eval "DEFAULT_$LINE"
4448 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4453 eval "$ac_cv_use_zipstream"
4454 if test "$no_cache" != 1; then
4455 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4458 if test "$wxUSE_ZIPSTREAM" = yes; then
4459 echo "$ac_t""yes" 1>&6
4461 echo "$ac_t""no" 1>&6
4466 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4467 echo "configure:4468: checking for --enable-catch_segvs" >&5
4469 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4470 if test "${enable_catch_segvs+set}" = set; then
4471 enableval
="$enable_catch_segvs"
4473 if test "$enableval" = yes; then
4474 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4476 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4481 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4482 if test "x$LINE" != x
; then
4483 eval "DEFAULT_$LINE"
4488 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4493 eval "$ac_cv_use_catch_segvs"
4494 if test "$no_cache" != 1; then
4495 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4498 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4499 echo "$ac_t""yes" 1>&6
4501 echo "$ac_t""no" 1>&6
4505 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4506 echo "configure:4507: checking for --enable-snglinst" >&5
4508 # Check whether --enable-snglinst or --disable-snglinst was given.
4509 if test "${enable_snglinst+set}" = set; then
4510 enableval
="$enable_snglinst"
4512 if test "$enableval" = yes; then
4513 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4515 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4520 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4521 if test "x$LINE" != x
; then
4522 eval "DEFAULT_$LINE"
4527 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4532 eval "$ac_cv_use_snglinst"
4533 if test "$no_cache" != 1; then
4534 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4537 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4538 echo "$ac_t""yes" 1>&6
4540 echo "$ac_t""no" 1>&6
4545 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4546 echo "configure:4547: checking for --enable-mimetype" >&5
4548 # Check whether --enable-mimetype or --disable-mimetype was given.
4549 if test "${enable_mimetype+set}" = set; then
4550 enableval
="$enable_mimetype"
4552 if test "$enableval" = yes; then
4553 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4555 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4560 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4561 if test "x$LINE" != x
; then
4562 eval "DEFAULT_$LINE"
4567 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4572 eval "$ac_cv_use_mimetype"
4573 if test "$no_cache" != 1; then
4574 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4577 if test "$wxUSE_MIMETYPE" = yes; then
4578 echo "$ac_t""yes" 1>&6
4580 echo "$ac_t""no" 1>&6
4584 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4585 echo "configure:4586: checking for --enable-system_options" >&5
4587 # Check whether --enable-system_options or --disable-system_options was given.
4588 if test "${enable_system_options+set}" = set; then
4589 enableval
="$enable_system_options"
4591 if test "$enableval" = yes; then
4592 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4594 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4599 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4600 if test "x$LINE" != x
; then
4601 eval "DEFAULT_$LINE"
4606 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4611 eval "$ac_cv_use_system_options"
4612 if test "$no_cache" != 1; then
4613 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4616 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4617 echo "$ac_t""yes" 1>&6
4619 echo "$ac_t""no" 1>&6
4624 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4625 echo "configure:4626: checking for --enable-url" >&5
4627 # Check whether --enable-url or --disable-url was given.
4628 if test "${enable_url+set}" = set; then
4629 enableval
="$enable_url"
4631 if test "$enableval" = yes; then
4632 ac_cv_use_url
='wxUSE_URL=yes'
4634 ac_cv_use_url
='wxUSE_URL=no'
4639 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4640 if test "x$LINE" != x
; then
4641 eval "DEFAULT_$LINE"
4646 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4651 eval "$ac_cv_use_url"
4652 if test "$no_cache" != 1; then
4653 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4656 if test "$wxUSE_URL" = yes; then
4657 echo "$ac_t""yes" 1>&6
4659 echo "$ac_t""no" 1>&6
4663 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4664 echo "configure:4665: checking for --enable-protocol" >&5
4666 # Check whether --enable-protocol or --disable-protocol was given.
4667 if test "${enable_protocol+set}" = set; then
4668 enableval
="$enable_protocol"
4670 if test "$enableval" = yes; then
4671 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4673 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4678 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4679 if test "x$LINE" != x
; then
4680 eval "DEFAULT_$LINE"
4685 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4690 eval "$ac_cv_use_protocol"
4691 if test "$no_cache" != 1; then
4692 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4695 if test "$wxUSE_PROTOCOL" = yes; then
4696 echo "$ac_t""yes" 1>&6
4698 echo "$ac_t""no" 1>&6
4702 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4703 echo "configure:4704: checking for --enable-protocol_http" >&5
4705 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4706 if test "${enable_protocol_http+set}" = set; then
4707 enableval
="$enable_protocol_http"
4709 if test "$enableval" = yes; then
4710 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4712 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4717 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4718 if test "x$LINE" != x
; then
4719 eval "DEFAULT_$LINE"
4724 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4729 eval "$ac_cv_use_protocol_http"
4730 if test "$no_cache" != 1; then
4731 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4734 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4735 echo "$ac_t""yes" 1>&6
4737 echo "$ac_t""no" 1>&6
4741 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4742 echo "configure:4743: checking for --enable-protocol_ftp" >&5
4744 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4745 if test "${enable_protocol_ftp+set}" = set; then
4746 enableval
="$enable_protocol_ftp"
4748 if test "$enableval" = yes; then
4749 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4751 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4756 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4757 if test "x$LINE" != x
; then
4758 eval "DEFAULT_$LINE"
4763 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4768 eval "$ac_cv_use_protocol_ftp"
4769 if test "$no_cache" != 1; then
4770 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4773 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4774 echo "$ac_t""yes" 1>&6
4776 echo "$ac_t""no" 1>&6
4780 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4781 echo "configure:4782: checking for --enable-protocol_file" >&5
4783 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4784 if test "${enable_protocol_file+set}" = set; then
4785 enableval
="$enable_protocol_file"
4787 if test "$enableval" = yes; then
4788 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4790 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4795 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4796 if test "x$LINE" != x
; then
4797 eval "DEFAULT_$LINE"
4802 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4807 eval "$ac_cv_use_protocol_file"
4808 if test "$no_cache" != 1; then
4809 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4812 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4813 echo "$ac_t""yes" 1>&6
4815 echo "$ac_t""no" 1>&6
4822 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4823 echo "configure:4824: checking for --enable-threads" >&5
4825 # Check whether --enable-threads or --disable-threads was given.
4826 if test "${enable_threads+set}" = set; then
4827 enableval
="$enable_threads"
4829 if test "$enableval" = yes; then
4830 ac_cv_use_threads
='wxUSE_THREADS=yes'
4832 ac_cv_use_threads
='wxUSE_THREADS=no'
4837 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4838 if test "x$LINE" != x
; then
4839 eval "DEFAULT_$LINE"
4844 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4849 eval "$ac_cv_use_threads"
4850 if test "$no_cache" != 1; then
4851 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4854 if test "$wxUSE_THREADS" = yes; then
4855 echo "$ac_t""yes" 1>&6
4857 echo "$ac_t""no" 1>&6
4861 if test "$wxUSE_GUI" = "yes"; then
4865 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4866 echo "configure:4867: checking for --enable-docview" >&5
4868 # Check whether --enable-docview or --disable-docview was given.
4869 if test "${enable_docview+set}" = set; then
4870 enableval
="$enable_docview"
4872 if test "$enableval" = yes; then
4873 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4875 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4880 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4881 if test "x$LINE" != x
; then
4882 eval "DEFAULT_$LINE"
4887 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4892 eval "$ac_cv_use_docview"
4893 if test "$no_cache" != 1; then
4894 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4897 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4898 echo "$ac_t""yes" 1>&6
4900 echo "$ac_t""no" 1>&6
4904 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4905 echo "configure:4906: checking for --enable-help" >&5
4907 # Check whether --enable-help or --disable-help was given.
4908 if test "${enable_help+set}" = set; then
4909 enableval
="$enable_help"
4911 if test "$enableval" = yes; then
4912 ac_cv_use_help
='wxUSE_HELP=yes'
4914 ac_cv_use_help
='wxUSE_HELP=no'
4919 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x
; then
4921 eval "DEFAULT_$LINE"
4926 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4931 eval "$ac_cv_use_help"
4932 if test "$no_cache" != 1; then
4933 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4936 if test "$wxUSE_HELP" = yes; then
4937 echo "$ac_t""yes" 1>&6
4939 echo "$ac_t""no" 1>&6
4943 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4944 echo "configure:4945: checking for --enable-mshtmlhelp" >&5
4946 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4947 if test "${enable_mshtmlhelp+set}" = set; then
4948 enableval
="$enable_mshtmlhelp"
4950 if test "$enableval" = yes; then
4951 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4953 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4958 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4959 if test "x$LINE" != x
; then
4960 eval "DEFAULT_$LINE"
4965 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4970 eval "$ac_cv_use_mshtmlhelp"
4971 if test "$no_cache" != 1; then
4972 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4975 if test "$wxUSE_MS_HTML_HELP" = yes; then
4976 echo "$ac_t""yes" 1>&6
4978 echo "$ac_t""no" 1>&6
4982 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4983 echo "configure:4984: checking for --enable-html" >&5
4985 # Check whether --enable-html or --disable-html was given.
4986 if test "${enable_html+set}" = set; then
4987 enableval
="$enable_html"
4989 if test "$enableval" = yes; then
4990 ac_cv_use_html
='wxUSE_HTML=yes'
4992 ac_cv_use_html
='wxUSE_HTML=no'
4997 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4998 if test "x$LINE" != x
; then
4999 eval "DEFAULT_$LINE"
5004 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5009 eval "$ac_cv_use_html"
5010 if test "$no_cache" != 1; then
5011 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5014 if test "$wxUSE_HTML" = yes; then
5015 echo "$ac_t""yes" 1>&6
5017 echo "$ac_t""no" 1>&6
5021 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
5022 echo "configure:5023: checking for --enable-htmlhelp" >&5
5024 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5025 if test "${enable_htmlhelp+set}" = set; then
5026 enableval
="$enable_htmlhelp"
5028 if test "$enableval" = yes; then
5029 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5031 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5036 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5037 if test "x$LINE" != x
; then
5038 eval "DEFAULT_$LINE"
5043 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5048 eval "$ac_cv_use_htmlhelp"
5049 if test "$no_cache" != 1; then
5050 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5053 if test "$wxUSE_WXHTML_HELP" = yes; then
5054 echo "$ac_t""yes" 1>&6
5056 echo "$ac_t""no" 1>&6
5060 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5061 echo "configure:5062: checking for --enable-constraints" >&5
5063 # Check whether --enable-constraints or --disable-constraints was given.
5064 if test "${enable_constraints+set}" = set; then
5065 enableval
="$enable_constraints"
5067 if test "$enableval" = yes; then
5068 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5070 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5075 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5076 if test "x$LINE" != x
; then
5077 eval "DEFAULT_$LINE"
5082 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5087 eval "$ac_cv_use_constraints"
5088 if test "$no_cache" != 1; then
5089 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5092 if test "$wxUSE_CONSTRAINTS" = yes; then
5093 echo "$ac_t""yes" 1>&6
5095 echo "$ac_t""no" 1>&6
5099 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5100 echo "configure:5101: checking for --enable-printarch" >&5
5102 # Check whether --enable-printarch or --disable-printarch was given.
5103 if test "${enable_printarch+set}" = set; then
5104 enableval
="$enable_printarch"
5106 if test "$enableval" = yes; then
5107 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5109 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5114 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5115 if test "x$LINE" != x
; then
5116 eval "DEFAULT_$LINE"
5121 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5126 eval "$ac_cv_use_printarch"
5127 if test "$no_cache" != 1; then
5128 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5131 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5132 echo "$ac_t""yes" 1>&6
5134 echo "$ac_t""no" 1>&6
5138 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5139 echo "configure:5140: checking for --enable-mdi" >&5
5141 # Check whether --enable-mdi or --disable-mdi was given.
5142 if test "${enable_mdi+set}" = set; then
5143 enableval
="$enable_mdi"
5145 if test "$enableval" = yes; then
5146 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5148 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5153 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5154 if test "x$LINE" != x
; then
5155 eval "DEFAULT_$LINE"
5160 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5165 eval "$ac_cv_use_mdi"
5166 if test "$no_cache" != 1; then
5167 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5170 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5171 echo "$ac_t""yes" 1>&6
5173 echo "$ac_t""no" 1>&6
5177 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5178 echo "configure:5179: checking for --enable-loggui" >&5
5180 # Check whether --enable-loggui or --disable-loggui was given.
5181 if test "${enable_loggui+set}" = set; then
5182 enableval
="$enable_loggui"
5184 if test "$enableval" = yes; then
5185 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5187 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5192 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5193 if test "x$LINE" != x
; then
5194 eval "DEFAULT_$LINE"
5199 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5204 eval "$ac_cv_use_loggui"
5205 if test "$no_cache" != 1; then
5206 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5209 if test "$wxUSE_LOGGUI" = yes; then
5210 echo "$ac_t""yes" 1>&6
5212 echo "$ac_t""no" 1>&6
5216 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5217 echo "configure:5218: checking for --enable-logwin" >&5
5219 # Check whether --enable-logwin or --disable-logwin was given.
5220 if test "${enable_logwin+set}" = set; then
5221 enableval
="$enable_logwin"
5223 if test "$enableval" = yes; then
5224 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5226 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5231 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5232 if test "x$LINE" != x
; then
5233 eval "DEFAULT_$LINE"
5238 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5243 eval "$ac_cv_use_logwin"
5244 if test "$no_cache" != 1; then
5245 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5248 if test "$wxUSE_LOGWINDOW" = yes; then
5249 echo "$ac_t""yes" 1>&6
5251 echo "$ac_t""no" 1>&6
5255 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5256 echo "configure:5257: checking for --enable-logdialog" >&5
5258 # Check whether --enable-logdialog or --disable-logdialog was given.
5259 if test "${enable_logdialog+set}" = set; then
5260 enableval
="$enable_logdialog"
5262 if test "$enableval" = yes; then
5263 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5265 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5270 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5271 if test "x$LINE" != x
; then
5272 eval "DEFAULT_$LINE"
5277 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5282 eval "$ac_cv_use_logdialog"
5283 if test "$no_cache" != 1; then
5284 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5287 if test "$wxUSE_LOGDIALOG" = yes; then
5288 echo "$ac_t""yes" 1>&6
5290 echo "$ac_t""no" 1>&6
5295 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5296 echo "configure:5297: checking for --enable-postscript" >&5
5298 # Check whether --enable-postscript or --disable-postscript was given.
5299 if test "${enable_postscript+set}" = set; then
5300 enableval
="$enable_postscript"
5302 if test "$enableval" = yes; then
5303 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5305 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5310 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5311 if test "x$LINE" != x
; then
5312 eval "DEFAULT_$LINE"
5317 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5322 eval "$ac_cv_use_postscript"
5323 if test "$no_cache" != 1; then
5324 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5327 if test "$wxUSE_POSTSCRIPT" = yes; then
5328 echo "$ac_t""yes" 1>&6
5330 echo "$ac_t""no" 1>&6
5337 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5338 echo "configure:5339: checking for --enable-prologio" >&5
5340 # Check whether --enable-prologio or --disable-prologio was given.
5341 if test "${enable_prologio+set}" = set; then
5342 enableval
="$enable_prologio"
5344 if test "$enableval" = yes; then
5345 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5347 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5352 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5353 if test "x$LINE" != x
; then
5354 eval "DEFAULT_$LINE"
5359 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5364 eval "$ac_cv_use_prologio"
5365 if test "$no_cache" != 1; then
5366 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5369 if test "$wxUSE_PROLOGIO" = yes; then
5370 echo "$ac_t""yes" 1>&6
5372 echo "$ac_t""no" 1>&6
5376 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5377 echo "configure:5378: checking for --enable-resources" >&5
5379 # Check whether --enable-resources or --disable-resources was given.
5380 if test "${enable_resources+set}" = set; then
5381 enableval
="$enable_resources"
5383 if test "$enableval" = yes; then
5384 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5386 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5391 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5392 if test "x$LINE" != x
; then
5393 eval "DEFAULT_$LINE"
5398 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5403 eval "$ac_cv_use_resources"
5404 if test "$no_cache" != 1; then
5405 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5408 if test "$wxUSE_RESOURCES" = yes; then
5409 echo "$ac_t""yes" 1>&6
5411 echo "$ac_t""no" 1>&6
5416 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5417 echo "configure:5418: checking for --enable-xresources" >&5
5419 # Check whether --enable-xresources or --disable-xresources was given.
5420 if test "${enable_xresources+set}" = set; then
5421 enableval
="$enable_xresources"
5423 if test "$enableval" = yes; then
5424 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5426 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5431 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5432 if test "x$LINE" != x
; then
5433 eval "DEFAULT_$LINE"
5438 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5443 eval "$ac_cv_use_xresources"
5444 if test "$no_cache" != 1; then
5445 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5448 if test "$wxUSE_X_RESOURCES" = yes; then
5449 echo "$ac_t""yes" 1>&6
5451 echo "$ac_t""no" 1>&6
5457 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5458 echo "configure:5459: checking for --enable-clipboard" >&5
5460 # Check whether --enable-clipboard or --disable-clipboard was given.
5461 if test "${enable_clipboard+set}" = set; then
5462 enableval
="$enable_clipboard"
5464 if test "$enableval" = yes; then
5465 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5467 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5472 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x
; then
5474 eval "DEFAULT_$LINE"
5479 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5484 eval "$ac_cv_use_clipboard"
5485 if test "$no_cache" != 1; then
5486 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5489 if test "$wxUSE_CLIPBOARD" = yes; then
5490 echo "$ac_t""yes" 1>&6
5492 echo "$ac_t""no" 1>&6
5496 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5497 echo "configure:5498: checking for --enable-dnd" >&5
5499 # Check whether --enable-dnd or --disable-dnd was given.
5500 if test "${enable_dnd+set}" = set; then
5501 enableval
="$enable_dnd"
5503 if test "$enableval" = yes; then
5504 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5506 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5511 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5512 if test "x$LINE" != x
; then
5513 eval "DEFAULT_$LINE"
5518 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5523 eval "$ac_cv_use_dnd"
5524 if test "$no_cache" != 1; then
5525 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5528 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5529 echo "$ac_t""yes" 1>&6
5531 echo "$ac_t""no" 1>&6
5535 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5536 echo "configure:5537: checking for --enable-metafile" >&5
5538 # Check whether --enable-metafile or --disable-metafile was given.
5539 if test "${enable_metafile+set}" = set; then
5540 enableval
="$enable_metafile"
5542 if test "$enableval" = yes; then
5543 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5545 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5550 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5551 if test "x$LINE" != x
; then
5552 eval "DEFAULT_$LINE"
5557 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5562 eval "$ac_cv_use_metafile"
5563 if test "$no_cache" != 1; then
5564 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5567 if test "$wxUSE_METAFILE" = yes; then
5568 echo "$ac_t""yes" 1>&6
5570 echo "$ac_t""no" 1>&6
5575 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5576 echo "configure:5577: checking for --enable-treelayout" >&5
5578 # Check whether --enable-treelayout or --disable-treelayout was given.
5579 if test "${enable_treelayout+set}" = set; then
5580 enableval
="$enable_treelayout"
5582 if test "$enableval" = yes; then
5583 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5585 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5590 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5591 if test "x$LINE" != x
; then
5592 eval "DEFAULT_$LINE"
5597 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5602 eval "$ac_cv_use_treelayout"
5603 if test "$no_cache" != 1; then
5604 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5607 if test "$wxUSE_TREELAYOUT" = yes; then
5608 echo "$ac_t""yes" 1>&6
5610 echo "$ac_t""no" 1>&6
5616 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5617 echo "configure:5618: checking for --enable-controls" >&5
5619 # Check whether --enable-controls or --disable-controls was given.
5620 if test "${enable_controls+set}" = set; then
5621 enableval
="$enable_controls"
5623 if test "$enableval" = yes; then
5624 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5626 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5631 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5632 if test "x$LINE" != x
; then
5633 eval "DEFAULT_$LINE"
5638 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5643 eval "$ac_cv_use_controls"
5644 if test "$no_cache" != 1; then
5645 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5648 if test "$wxUSE_CONTROLS" = yes; then
5649 echo "$ac_t""yes" 1>&6
5651 echo "$ac_t""no" 1>&6
5655 if test "$wxUSE_CONTROLS" = "yes"; then
5656 DEFAULT_wxUSE_ACCEL
=yes
5657 DEFAULT_wxUSE_BMPBUTTON
=yes
5658 DEFAULT_wxUSE_BUTTON
=yes
5659 DEFAULT_wxUSE_CALCTRL
=no
5660 DEFAULT_wxUSE_CARET
=yes
5661 DEFAULT_wxUSE_COMBOBOX
=yes
5662 DEFAULT_wxUSE_CHECKBOX
=yes
5663 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5664 DEFAULT_wxUSE_CHOICE
=yes
5665 DEFAULT_wxUSE_GAUGE
=yes
5666 DEFAULT_wxUSE_GRID
=yes
5667 DEFAULT_wxUSE_NEW_GRID
=yes
5668 DEFAULT_wxUSE_IMAGLIST
=yes
5669 DEFAULT_wxUSE_LISTBOX
=yes
5670 DEFAULT_wxUSE_LISTCTRL
=yes
5671 DEFAULT_wxUSE_NOTEBOOK
=yes
5672 DEFAULT_wxUSE_PROPSHEET
=yes
5673 DEFAULT_wxUSE_RADIOBOX
=yes
5674 DEFAULT_wxUSE_RADIOBTN
=yes
5675 DEFAULT_wxUSE_SASH
=yes
5676 DEFAULT_wxUSE_SCROLLBAR
=yes
5677 DEFAULT_wxUSE_SLIDER
=yes
5678 DEFAULT_wxUSE_SPINBTN
=yes
5679 DEFAULT_wxUSE_SPINCTRL
=yes
5680 DEFAULT_wxUSE_SPLITTER
=yes
5681 DEFAULT_wxUSE_STATBMP
=yes
5682 DEFAULT_wxUSE_STATBOX
=yes
5683 DEFAULT_wxUSE_STATLINE
=yes
5684 DEFAULT_wxUSE_STATUSBAR
=yes
5685 DEFAULT_wxUSE_TAB_DIALOG
=yes
5686 DEFAULT_wxUSE_TOGGLEBTN
=yes
5687 DEFAULT_wxUSE_TOOLBAR
=yes
5688 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5689 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5690 DEFAULT_wxUSE_TOOLTIPS
=yes
5691 DEFAULT_wxUSE_TREECTRL
=yes
5692 DEFAULT_wxUSE_POPUPWIN
=yes
5693 DEFAULT_wxUSE_TIPWINDOW
=yes
5694 elif test "$wxUSE_CONTROLS" = "no"; then
5695 DEFAULT_wxUSE_ACCEL
=no
5696 DEFAULT_wxUSE_BMPBUTTON
=no
5697 DEFAULT_wxUSE_BUTTON
=no
5698 DEFAULT_wxUSE_CALCTRL
=no
5699 DEFAULT_wxUSE_CARET
=no
5700 DEFAULT_wxUSE_COMBOBOX
=no
5701 DEFAULT_wxUSE_CHECKBOX
=no
5702 DEFAULT_wxUSE_CHECKLISTBOX
=no
5703 DEFAULT_wxUSE_CHOICE
=no
5704 DEFAULT_wxUSE_GAUGE
=no
5705 DEFAULT_wxUSE_GRID
=no
5706 DEFAULT_wxUSE_NEW_GRID
=no
5707 DEFAULT_wxUSE_IMAGLIST
=no
5708 DEFAULT_wxUSE_LISTBOX
=no
5709 DEFAULT_wxUSE_LISTCTRL
=no
5710 DEFAULT_wxUSE_NOTEBOOK
=no
5711 DEFAULT_wxUSE_PROPSHEET
=no
5712 DEFAULT_wxUSE_RADIOBOX
=no
5713 DEFAULT_wxUSE_RADIOBTN
=no
5714 DEFAULT_wxUSE_SASH
=no
5715 DEFAULT_wxUSE_SCROLLBAR
=no
5716 DEFAULT_wxUSE_SLIDER
=no
5717 DEFAULT_wxUSE_SPINBTN
=no
5718 DEFAULT_wxUSE_SPINCTRL
=no
5719 DEFAULT_wxUSE_SPLITTER
=no
5720 DEFAULT_wxUSE_STATBMP
=no
5721 DEFAULT_wxUSE_STATBOX
=no
5722 DEFAULT_wxUSE_STATLINE
=no
5723 DEFAULT_wxUSE_STATUSBAR
=no
5724 DEFAULT_wxUSE_TAB_DIALOG
=no
5725 DEFAULT_wxUSE_TOGGLEBTN
=no
5726 DEFAULT_wxUSE_TOOLBAR
=no
5727 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5728 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5729 DEFAULT_wxUSE_TOOLTIPS
=no
5730 DEFAULT_wxUSE_TREECTRL
=no
5731 DEFAULT_wxUSE_POPUPWIN
=no
5732 DEFAULT_wxUSE_TIPWINDOW
=no
5736 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5737 echo "configure:5738: checking for --enable-accel" >&5
5739 # Check whether --enable-accel or --disable-accel was given.
5740 if test "${enable_accel+set}" = set; then
5741 enableval
="$enable_accel"
5743 if test "$enableval" = yes; then
5744 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5746 ac_cv_use_accel
='wxUSE_ACCEL=no'
5751 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5752 if test "x$LINE" != x
; then
5753 eval "DEFAULT_$LINE"
5758 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5763 eval "$ac_cv_use_accel"
5764 if test "$no_cache" != 1; then
5765 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5768 if test "$wxUSE_ACCEL" = yes; then
5769 echo "$ac_t""yes" 1>&6
5771 echo "$ac_t""no" 1>&6
5775 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5776 echo "configure:5777: checking for --enable-button" >&5
5778 # Check whether --enable-button or --disable-button was given.
5779 if test "${enable_button+set}" = set; then
5780 enableval
="$enable_button"
5782 if test "$enableval" = yes; then
5783 ac_cv_use_button
='wxUSE_BUTTON=yes'
5785 ac_cv_use_button
='wxUSE_BUTTON=no'
5790 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5791 if test "x$LINE" != x
; then
5792 eval "DEFAULT_$LINE"
5797 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5802 eval "$ac_cv_use_button"
5803 if test "$no_cache" != 1; then
5804 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5807 if test "$wxUSE_BUTTON" = yes; then
5808 echo "$ac_t""yes" 1>&6
5810 echo "$ac_t""no" 1>&6
5814 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5815 echo "configure:5816: checking for --enable-bmpbutton" >&5
5817 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5818 if test "${enable_bmpbutton+set}" = set; then
5819 enableval
="$enable_bmpbutton"
5821 if test "$enableval" = yes; then
5822 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5824 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5829 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5830 if test "x$LINE" != x
; then
5831 eval "DEFAULT_$LINE"
5836 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5841 eval "$ac_cv_use_bmpbutton"
5842 if test "$no_cache" != 1; then
5843 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5846 if test "$wxUSE_BMPBUTTON" = yes; then
5847 echo "$ac_t""yes" 1>&6
5849 echo "$ac_t""no" 1>&6
5853 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5854 echo "configure:5855: checking for --enable-calendar" >&5
5856 # Check whether --enable-calendar or --disable-calendar was given.
5857 if test "${enable_calendar+set}" = set; then
5858 enableval
="$enable_calendar"
5860 if test "$enableval" = yes; then
5861 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5863 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5868 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x
; then
5870 eval "DEFAULT_$LINE"
5875 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5880 eval "$ac_cv_use_calendar"
5881 if test "$no_cache" != 1; then
5882 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5885 if test "$wxUSE_CALCTRL" = yes; then
5886 echo "$ac_t""yes" 1>&6
5888 echo "$ac_t""no" 1>&6
5892 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5893 echo "configure:5894: checking for --enable-caret" >&5
5895 # Check whether --enable-caret or --disable-caret was given.
5896 if test "${enable_caret+set}" = set; then
5897 enableval
="$enable_caret"
5899 if test "$enableval" = yes; then
5900 ac_cv_use_caret
='wxUSE_CARET=yes'
5902 ac_cv_use_caret
='wxUSE_CARET=no'
5907 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5908 if test "x$LINE" != x
; then
5909 eval "DEFAULT_$LINE"
5914 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5919 eval "$ac_cv_use_caret"
5920 if test "$no_cache" != 1; then
5921 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5924 if test "$wxUSE_CARET" = yes; then
5925 echo "$ac_t""yes" 1>&6
5927 echo "$ac_t""no" 1>&6
5931 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5932 echo "configure:5933: checking for --enable-checkbox" >&5
5934 # Check whether --enable-checkbox or --disable-checkbox was given.
5935 if test "${enable_checkbox+set}" = set; then
5936 enableval
="$enable_checkbox"
5938 if test "$enableval" = yes; then
5939 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5941 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5946 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5947 if test "x$LINE" != x
; then
5948 eval "DEFAULT_$LINE"
5953 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5958 eval "$ac_cv_use_checkbox"
5959 if test "$no_cache" != 1; then
5960 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5963 if test "$wxUSE_CHECKBOX" = yes; then
5964 echo "$ac_t""yes" 1>&6
5966 echo "$ac_t""no" 1>&6
5970 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5971 echo "configure:5972: checking for --enable-checklst" >&5
5973 # Check whether --enable-checklst or --disable-checklst was given.
5974 if test "${enable_checklst+set}" = set; then
5975 enableval
="$enable_checklst"
5977 if test "$enableval" = yes; then
5978 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5980 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5985 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5986 if test "x$LINE" != x
; then
5987 eval "DEFAULT_$LINE"
5992 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5997 eval "$ac_cv_use_checklst"
5998 if test "$no_cache" != 1; then
5999 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6002 if test "$wxUSE_CHECKLST" = yes; then
6003 echo "$ac_t""yes" 1>&6
6005 echo "$ac_t""no" 1>&6
6009 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
6010 echo "configure:6011: checking for --enable-choice" >&5
6012 # Check whether --enable-choice or --disable-choice was given.
6013 if test "${enable_choice+set}" = set; then
6014 enableval
="$enable_choice"
6016 if test "$enableval" = yes; then
6017 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6019 ac_cv_use_choice
='wxUSE_CHOICE=no'
6024 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6025 if test "x$LINE" != x
; then
6026 eval "DEFAULT_$LINE"
6031 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6036 eval "$ac_cv_use_choice"
6037 if test "$no_cache" != 1; then
6038 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6041 if test "$wxUSE_CHOICE" = yes; then
6042 echo "$ac_t""yes" 1>&6
6044 echo "$ac_t""no" 1>&6
6048 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6049 echo "configure:6050: checking for --enable-combobox" >&5
6051 # Check whether --enable-combobox or --disable-combobox was given.
6052 if test "${enable_combobox+set}" = set; then
6053 enableval
="$enable_combobox"
6055 if test "$enableval" = yes; then
6056 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6058 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6063 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6064 if test "x$LINE" != x
; then
6065 eval "DEFAULT_$LINE"
6070 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6075 eval "$ac_cv_use_combobox"
6076 if test "$no_cache" != 1; then
6077 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6080 if test "$wxUSE_COMBOBOX" = yes; then
6081 echo "$ac_t""yes" 1>&6
6083 echo "$ac_t""no" 1>&6
6087 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6088 echo "configure:6089: checking for --enable-gauge" >&5
6090 # Check whether --enable-gauge or --disable-gauge was given.
6091 if test "${enable_gauge+set}" = set; then
6092 enableval
="$enable_gauge"
6094 if test "$enableval" = yes; then
6095 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6097 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6102 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6103 if test "x$LINE" != x
; then
6104 eval "DEFAULT_$LINE"
6109 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6114 eval "$ac_cv_use_gauge"
6115 if test "$no_cache" != 1; then
6116 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6119 if test "$wxUSE_GAUGE" = yes; then
6120 echo "$ac_t""yes" 1>&6
6122 echo "$ac_t""no" 1>&6
6126 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6127 echo "configure:6128: checking for --enable-grid" >&5
6129 # Check whether --enable-grid or --disable-grid was given.
6130 if test "${enable_grid+set}" = set; then
6131 enableval
="$enable_grid"
6133 if test "$enableval" = yes; then
6134 ac_cv_use_grid
='wxUSE_GRID=yes'
6136 ac_cv_use_grid
='wxUSE_GRID=no'
6141 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6142 if test "x$LINE" != x
; then
6143 eval "DEFAULT_$LINE"
6148 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6153 eval "$ac_cv_use_grid"
6154 if test "$no_cache" != 1; then
6155 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6158 if test "$wxUSE_GRID" = yes; then
6159 echo "$ac_t""yes" 1>&6
6161 echo "$ac_t""no" 1>&6
6165 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6166 echo "configure:6167: checking for --enable-newgrid" >&5
6168 # Check whether --enable-newgrid or --disable-newgrid was given.
6169 if test "${enable_newgrid+set}" = set; then
6170 enableval
="$enable_newgrid"
6172 if test "$enableval" = yes; then
6173 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6175 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6180 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6181 if test "x$LINE" != x
; then
6182 eval "DEFAULT_$LINE"
6187 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6192 eval "$ac_cv_use_newgrid"
6193 if test "$no_cache" != 1; then
6194 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6197 if test "$wxUSE_NEW_GRID" = yes; then
6198 echo "$ac_t""yes" 1>&6
6200 echo "$ac_t""no" 1>&6
6204 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6205 echo "configure:6206: checking for --enable-imaglist" >&5
6207 # Check whether --enable-imaglist or --disable-imaglist was given.
6208 if test "${enable_imaglist+set}" = set; then
6209 enableval
="$enable_imaglist"
6211 if test "$enableval" = yes; then
6212 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6214 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6219 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6220 if test "x$LINE" != x
; then
6221 eval "DEFAULT_$LINE"
6226 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6231 eval "$ac_cv_use_imaglist"
6232 if test "$no_cache" != 1; then
6233 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6236 if test "$wxUSE_IMAGLIST" = yes; then
6237 echo "$ac_t""yes" 1>&6
6239 echo "$ac_t""no" 1>&6
6243 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6244 echo "configure:6245: checking for --enable-listbox" >&5
6246 # Check whether --enable-listbox or --disable-listbox was given.
6247 if test "${enable_listbox+set}" = set; then
6248 enableval
="$enable_listbox"
6250 if test "$enableval" = yes; then
6251 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6253 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6258 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6259 if test "x$LINE" != x
; then
6260 eval "DEFAULT_$LINE"
6265 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6270 eval "$ac_cv_use_listbox"
6271 if test "$no_cache" != 1; then
6272 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6275 if test "$wxUSE_LISTBOX" = yes; then
6276 echo "$ac_t""yes" 1>&6
6278 echo "$ac_t""no" 1>&6
6282 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6283 echo "configure:6284: checking for --enable-listctrl" >&5
6285 # Check whether --enable-listctrl or --disable-listctrl was given.
6286 if test "${enable_listctrl+set}" = set; then
6287 enableval
="$enable_listctrl"
6289 if test "$enableval" = yes; then
6290 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6292 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6297 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6298 if test "x$LINE" != x
; then
6299 eval "DEFAULT_$LINE"
6304 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6309 eval "$ac_cv_use_listctrl"
6310 if test "$no_cache" != 1; then
6311 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6314 if test "$wxUSE_LISTCTRL" = yes; then
6315 echo "$ac_t""yes" 1>&6
6317 echo "$ac_t""no" 1>&6
6321 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6322 echo "configure:6323: checking for --enable-notebook" >&5
6324 # Check whether --enable-notebook or --disable-notebook was given.
6325 if test "${enable_notebook+set}" = set; then
6326 enableval
="$enable_notebook"
6328 if test "$enableval" = yes; then
6329 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6331 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6336 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6337 if test "x$LINE" != x
; then
6338 eval "DEFAULT_$LINE"
6343 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6348 eval "$ac_cv_use_notebook"
6349 if test "$no_cache" != 1; then
6350 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6353 if test "$wxUSE_NOTEBOOK" = yes; then
6354 echo "$ac_t""yes" 1>&6
6356 echo "$ac_t""no" 1>&6
6360 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6361 echo "configure:6362: checking for --enable-propsheet" >&5
6363 # Check whether --enable-propsheet or --disable-propsheet was given.
6364 if test "${enable_propsheet+set}" = set; then
6365 enableval
="$enable_propsheet"
6367 if test "$enableval" = yes; then
6368 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6370 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6375 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6376 if test "x$LINE" != x
; then
6377 eval "DEFAULT_$LINE"
6382 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6387 eval "$ac_cv_use_propsheet"
6388 if test "$no_cache" != 1; then
6389 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6392 if test "$wxUSE_PROPSHEET" = yes; then
6393 echo "$ac_t""yes" 1>&6
6395 echo "$ac_t""no" 1>&6
6399 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6400 echo "configure:6401: checking for --enable-radiobox" >&5
6402 # Check whether --enable-radiobox or --disable-radiobox was given.
6403 if test "${enable_radiobox+set}" = set; then
6404 enableval
="$enable_radiobox"
6406 if test "$enableval" = yes; then
6407 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6409 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6414 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6415 if test "x$LINE" != x
; then
6416 eval "DEFAULT_$LINE"
6421 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6426 eval "$ac_cv_use_radiobox"
6427 if test "$no_cache" != 1; then
6428 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6431 if test "$wxUSE_RADIOBOX" = yes; then
6432 echo "$ac_t""yes" 1>&6
6434 echo "$ac_t""no" 1>&6
6438 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6439 echo "configure:6440: checking for --enable-radiobtn" >&5
6441 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6442 if test "${enable_radiobtn+set}" = set; then
6443 enableval
="$enable_radiobtn"
6445 if test "$enableval" = yes; then
6446 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6448 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6453 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6454 if test "x$LINE" != x
; then
6455 eval "DEFAULT_$LINE"
6460 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6465 eval "$ac_cv_use_radiobtn"
6466 if test "$no_cache" != 1; then
6467 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6470 if test "$wxUSE_RADIOBTN" = yes; then
6471 echo "$ac_t""yes" 1>&6
6473 echo "$ac_t""no" 1>&6
6477 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6478 echo "configure:6479: checking for --enable-sash" >&5
6480 # Check whether --enable-sash or --disable-sash was given.
6481 if test "${enable_sash+set}" = set; then
6482 enableval
="$enable_sash"
6484 if test "$enableval" = yes; then
6485 ac_cv_use_sash
='wxUSE_SASH=yes'
6487 ac_cv_use_sash
='wxUSE_SASH=no'
6492 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6493 if test "x$LINE" != x
; then
6494 eval "DEFAULT_$LINE"
6499 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6504 eval "$ac_cv_use_sash"
6505 if test "$no_cache" != 1; then
6506 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6509 if test "$wxUSE_SASH" = yes; then
6510 echo "$ac_t""yes" 1>&6
6512 echo "$ac_t""no" 1>&6
6516 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6517 echo "configure:6518: checking for --enable-scrollbar" >&5
6519 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6520 if test "${enable_scrollbar+set}" = set; then
6521 enableval
="$enable_scrollbar"
6523 if test "$enableval" = yes; then
6524 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6526 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6531 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6532 if test "x$LINE" != x
; then
6533 eval "DEFAULT_$LINE"
6538 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6543 eval "$ac_cv_use_scrollbar"
6544 if test "$no_cache" != 1; then
6545 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6548 if test "$wxUSE_SCROLLBAR" = yes; then
6549 echo "$ac_t""yes" 1>&6
6551 echo "$ac_t""no" 1>&6
6555 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6556 echo "configure:6557: checking for --enable-slider" >&5
6558 # Check whether --enable-slider or --disable-slider was given.
6559 if test "${enable_slider+set}" = set; then
6560 enableval
="$enable_slider"
6562 if test "$enableval" = yes; then
6563 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6565 ac_cv_use_slider
='wxUSE_SLIDER=no'
6570 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6571 if test "x$LINE" != x
; then
6572 eval "DEFAULT_$LINE"
6577 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6582 eval "$ac_cv_use_slider"
6583 if test "$no_cache" != 1; then
6584 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6587 if test "$wxUSE_SLIDER" = yes; then
6588 echo "$ac_t""yes" 1>&6
6590 echo "$ac_t""no" 1>&6
6594 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6595 echo "configure:6596: checking for --enable-spinbtn" >&5
6597 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6598 if test "${enable_spinbtn+set}" = set; then
6599 enableval
="$enable_spinbtn"
6601 if test "$enableval" = yes; then
6602 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6604 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6609 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6610 if test "x$LINE" != x
; then
6611 eval "DEFAULT_$LINE"
6616 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6621 eval "$ac_cv_use_spinbtn"
6622 if test "$no_cache" != 1; then
6623 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6626 if test "$wxUSE_SPINBTN" = yes; then
6627 echo "$ac_t""yes" 1>&6
6629 echo "$ac_t""no" 1>&6
6633 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6634 echo "configure:6635: checking for --enable-spinctrl" >&5
6636 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6637 if test "${enable_spinctrl+set}" = set; then
6638 enableval
="$enable_spinctrl"
6640 if test "$enableval" = yes; then
6641 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6643 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6648 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6649 if test "x$LINE" != x
; then
6650 eval "DEFAULT_$LINE"
6655 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6660 eval "$ac_cv_use_spinctrl"
6661 if test "$no_cache" != 1; then
6662 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6665 if test "$wxUSE_SPINCTRL" = yes; then
6666 echo "$ac_t""yes" 1>&6
6668 echo "$ac_t""no" 1>&6
6672 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6673 echo "configure:6674: checking for --enable-splitter" >&5
6675 # Check whether --enable-splitter or --disable-splitter was given.
6676 if test "${enable_splitter+set}" = set; then
6677 enableval
="$enable_splitter"
6679 if test "$enableval" = yes; then
6680 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6682 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6687 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6688 if test "x$LINE" != x
; then
6689 eval "DEFAULT_$LINE"
6694 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6699 eval "$ac_cv_use_splitter"
6700 if test "$no_cache" != 1; then
6701 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6704 if test "$wxUSE_SPLITTER" = yes; then
6705 echo "$ac_t""yes" 1>&6
6707 echo "$ac_t""no" 1>&6
6711 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6712 echo "configure:6713: checking for --enable-statbmp" >&5
6714 # Check whether --enable-statbmp or --disable-statbmp was given.
6715 if test "${enable_statbmp+set}" = set; then
6716 enableval
="$enable_statbmp"
6718 if test "$enableval" = yes; then
6719 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6721 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6726 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6727 if test "x$LINE" != x
; then
6728 eval "DEFAULT_$LINE"
6733 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6738 eval "$ac_cv_use_statbmp"
6739 if test "$no_cache" != 1; then
6740 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6743 if test "$wxUSE_STATBMP" = yes; then
6744 echo "$ac_t""yes" 1>&6
6746 echo "$ac_t""no" 1>&6
6750 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6751 echo "configure:6752: checking for --enable-statbox" >&5
6753 # Check whether --enable-statbox or --disable-statbox was given.
6754 if test "${enable_statbox+set}" = set; then
6755 enableval
="$enable_statbox"
6757 if test "$enableval" = yes; then
6758 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6760 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6765 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6766 if test "x$LINE" != x
; then
6767 eval "DEFAULT_$LINE"
6772 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6777 eval "$ac_cv_use_statbox"
6778 if test "$no_cache" != 1; then
6779 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6782 if test "$wxUSE_STATBOX" = yes; then
6783 echo "$ac_t""yes" 1>&6
6785 echo "$ac_t""no" 1>&6
6789 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6790 echo "configure:6791: checking for --enable-statline" >&5
6792 # Check whether --enable-statline or --disable-statline was given.
6793 if test "${enable_statline+set}" = set; then
6794 enableval
="$enable_statline"
6796 if test "$enableval" = yes; then
6797 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6799 ac_cv_use_statline
='wxUSE_STATLINE=no'
6804 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6805 if test "x$LINE" != x
; then
6806 eval "DEFAULT_$LINE"
6811 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6816 eval "$ac_cv_use_statline"
6817 if test "$no_cache" != 1; then
6818 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6821 if test "$wxUSE_STATLINE" = yes; then
6822 echo "$ac_t""yes" 1>&6
6824 echo "$ac_t""no" 1>&6
6828 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6829 echo "configure:6830: checking for --enable-stattext" >&5
6831 # Check whether --enable-stattext or --disable-stattext was given.
6832 if test "${enable_stattext+set}" = set; then
6833 enableval
="$enable_stattext"
6835 if test "$enableval" = yes; then
6836 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6838 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6843 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6844 if test "x$LINE" != x
; then
6845 eval "DEFAULT_$LINE"
6850 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6855 eval "$ac_cv_use_stattext"
6856 if test "$no_cache" != 1; then
6857 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6860 if test "$wxUSE_STATTEXT" = yes; then
6861 echo "$ac_t""yes" 1>&6
6863 echo "$ac_t""no" 1>&6
6867 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6868 echo "configure:6869: checking for --enable-statusbar" >&5
6870 # Check whether --enable-statusbar or --disable-statusbar was given.
6871 if test "${enable_statusbar+set}" = set; then
6872 enableval
="$enable_statusbar"
6874 if test "$enableval" = yes; then
6875 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6877 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6882 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6883 if test "x$LINE" != x
; then
6884 eval "DEFAULT_$LINE"
6889 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6894 eval "$ac_cv_use_statusbar"
6895 if test "$no_cache" != 1; then
6896 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6899 if test "$wxUSE_STATUSBAR" = yes; then
6900 echo "$ac_t""yes" 1>&6
6902 echo "$ac_t""no" 1>&6
6906 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6907 echo "configure:6908: checking for --enable-tabdialog" >&5
6909 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6910 if test "${enable_tabdialog+set}" = set; then
6911 enableval
="$enable_tabdialog"
6913 if test "$enableval" = yes; then
6914 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6916 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6921 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6922 if test "x$LINE" != x
; then
6923 eval "DEFAULT_$LINE"
6928 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6933 eval "$ac_cv_use_tabdialog"
6934 if test "$no_cache" != 1; then
6935 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6938 if test "$wxUSE_TABDIALOG" = yes; then
6939 echo "$ac_t""yes" 1>&6
6941 echo "$ac_t""no" 1>&6
6945 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6946 echo "configure:6947: checking for --enable-textctrl" >&5
6948 # Check whether --enable-textctrl or --disable-textctrl was given.
6949 if test "${enable_textctrl+set}" = set; then
6950 enableval
="$enable_textctrl"
6952 if test "$enableval" = yes; then
6953 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6955 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6960 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6961 if test "x$LINE" != x
; then
6962 eval "DEFAULT_$LINE"
6967 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6972 eval "$ac_cv_use_textctrl"
6973 if test "$no_cache" != 1; then
6974 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6977 if test "$wxUSE_TEXTCTRL" = yes; then
6978 echo "$ac_t""yes" 1>&6
6980 echo "$ac_t""no" 1>&6
6984 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6985 echo "configure:6986: checking for --enable-togglebtn" >&5
6987 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6988 if test "${enable_togglebtn+set}" = set; then
6989 enableval
="$enable_togglebtn"
6991 if test "$enableval" = yes; then
6992 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6994 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6999 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7000 if test "x$LINE" != x
; then
7001 eval "DEFAULT_$LINE"
7006 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7011 eval "$ac_cv_use_togglebtn"
7012 if test "$no_cache" != 1; then
7013 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7016 if test "$wxUSE_TOGGLEBTN" = yes; then
7017 echo "$ac_t""yes" 1>&6
7019 echo "$ac_t""no" 1>&6
7023 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
7024 echo "configure:7025: checking for --enable-toolbar" >&5
7026 # Check whether --enable-toolbar or --disable-toolbar was given.
7027 if test "${enable_toolbar+set}" = set; then
7028 enableval
="$enable_toolbar"
7030 if test "$enableval" = yes; then
7031 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7033 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7038 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7039 if test "x$LINE" != x
; then
7040 eval "DEFAULT_$LINE"
7045 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7050 eval "$ac_cv_use_toolbar"
7051 if test "$no_cache" != 1; then
7052 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7055 if test "$wxUSE_TOOLBAR" = yes; then
7056 echo "$ac_t""yes" 1>&6
7058 echo "$ac_t""no" 1>&6
7062 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7063 echo "configure:7064: checking for --enable-tbarnative" >&5
7065 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7066 if test "${enable_tbarnative+set}" = set; then
7067 enableval
="$enable_tbarnative"
7069 if test "$enableval" = yes; then
7070 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7072 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7077 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7078 if test "x$LINE" != x
; then
7079 eval "DEFAULT_$LINE"
7084 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7089 eval "$ac_cv_use_tbarnative"
7090 if test "$no_cache" != 1; then
7091 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7094 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7095 echo "$ac_t""yes" 1>&6
7097 echo "$ac_t""no" 1>&6
7101 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7102 echo "configure:7103: checking for --enable-tbarsmpl" >&5
7104 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7105 if test "${enable_tbarsmpl+set}" = set; then
7106 enableval
="$enable_tbarsmpl"
7108 if test "$enableval" = yes; then
7109 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7111 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7116 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7117 if test "x$LINE" != x
; then
7118 eval "DEFAULT_$LINE"
7123 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7128 eval "$ac_cv_use_tbarsmpl"
7129 if test "$no_cache" != 1; then
7130 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7133 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7134 echo "$ac_t""yes" 1>&6
7136 echo "$ac_t""no" 1>&6
7140 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7141 echo "configure:7142: checking for --enable-treectrl" >&5
7143 # Check whether --enable-treectrl or --disable-treectrl was given.
7144 if test "${enable_treectrl+set}" = set; then
7145 enableval
="$enable_treectrl"
7147 if test "$enableval" = yes; then
7148 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7150 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7155 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7156 if test "x$LINE" != x
; then
7157 eval "DEFAULT_$LINE"
7162 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7167 eval "$ac_cv_use_treectrl"
7168 if test "$no_cache" != 1; then
7169 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7172 if test "$wxUSE_TREECTRL" = yes; then
7173 echo "$ac_t""yes" 1>&6
7175 echo "$ac_t""no" 1>&6
7179 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7180 echo "configure:7181: checking for --enable-tipwindow" >&5
7182 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7183 if test "${enable_tipwindow+set}" = set; then
7184 enableval
="$enable_tipwindow"
7186 if test "$enableval" = yes; then
7187 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7189 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7194 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7195 if test "x$LINE" != x
; then
7196 eval "DEFAULT_$LINE"
7201 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7206 eval "$ac_cv_use_tipwindow"
7207 if test "$no_cache" != 1; then
7208 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7211 if test "$wxUSE_TIPWINDOW" = yes; then
7212 echo "$ac_t""yes" 1>&6
7214 echo "$ac_t""no" 1>&6
7218 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7219 echo "configure:7220: checking for --enable-popupwin" >&5
7221 # Check whether --enable-popupwin or --disable-popupwin was given.
7222 if test "${enable_popupwin+set}" = set; then
7223 enableval
="$enable_popupwin"
7225 if test "$enableval" = yes; then
7226 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7228 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7233 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7234 if test "x$LINE" != x
; then
7235 eval "DEFAULT_$LINE"
7240 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7245 eval "$ac_cv_use_popupwin"
7246 if test "$no_cache" != 1; then
7247 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7250 if test "$wxUSE_POPUPWIN" = yes; then
7251 echo "$ac_t""yes" 1>&6
7253 echo "$ac_t""no" 1>&6
7259 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7260 echo "configure:7261: checking for --enable-commondlg" >&5
7262 # Check whether --enable-commondlg or --disable-commondlg was given.
7263 if test "${enable_commondlg+set}" = set; then
7264 enableval
="$enable_commondlg"
7266 if test "$enableval" = yes; then
7267 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7269 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7274 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7275 if test "x$LINE" != x
; then
7276 eval "DEFAULT_$LINE"
7281 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7286 eval "$ac_cv_use_commondlg"
7287 if test "$no_cache" != 1; then
7288 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7291 if test "$wxUSE_COMMONDLGS" = yes; then
7292 echo "$ac_t""yes" 1>&6
7294 echo "$ac_t""no" 1>&6
7298 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7299 echo "configure:7300: checking for --enable-choicedlg" >&5
7301 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7302 if test "${enable_choicedlg+set}" = set; then
7303 enableval
="$enable_choicedlg"
7305 if test "$enableval" = yes; then
7306 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7308 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7313 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7314 if test "x$LINE" != x
; then
7315 eval "DEFAULT_$LINE"
7320 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7325 eval "$ac_cv_use_choicedlg"
7326 if test "$no_cache" != 1; then
7327 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7330 if test "$wxUSE_CHOICEDLG" = yes; then
7331 echo "$ac_t""yes" 1>&6
7333 echo "$ac_t""no" 1>&6
7337 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7338 echo "configure:7339: checking for --enable-coldlg" >&5
7340 # Check whether --enable-coldlg or --disable-coldlg was given.
7341 if test "${enable_coldlg+set}" = set; then
7342 enableval
="$enable_coldlg"
7344 if test "$enableval" = yes; then
7345 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7347 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7352 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7353 if test "x$LINE" != x
; then
7354 eval "DEFAULT_$LINE"
7359 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7364 eval "$ac_cv_use_coldlg"
7365 if test "$no_cache" != 1; then
7366 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7369 if test "$wxUSE_COLOURDLG" = yes; then
7370 echo "$ac_t""yes" 1>&6
7372 echo "$ac_t""no" 1>&6
7376 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7377 echo "configure:7378: checking for --enable-filedlg" >&5
7379 # Check whether --enable-filedlg or --disable-filedlg was given.
7380 if test "${enable_filedlg+set}" = set; then
7381 enableval
="$enable_filedlg"
7383 if test "$enableval" = yes; then
7384 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7386 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7391 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7392 if test "x$LINE" != x
; then
7393 eval "DEFAULT_$LINE"
7398 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7403 eval "$ac_cv_use_filedlg"
7404 if test "$no_cache" != 1; then
7405 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7408 if test "$wxUSE_FILEDLG" = yes; then
7409 echo "$ac_t""yes" 1>&6
7411 echo "$ac_t""no" 1>&6
7415 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7416 echo "configure:7417: checking for --enable-finddlg" >&5
7418 # Check whether --enable-finddlg or --disable-finddlg was given.
7419 if test "${enable_finddlg+set}" = set; then
7420 enableval
="$enable_finddlg"
7422 if test "$enableval" = yes; then
7423 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7425 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7430 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7431 if test "x$LINE" != x
; then
7432 eval "DEFAULT_$LINE"
7437 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7442 eval "$ac_cv_use_finddlg"
7443 if test "$no_cache" != 1; then
7444 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7447 if test "$wxUSE_FINDREPLDLG" = yes; then
7448 echo "$ac_t""yes" 1>&6
7450 echo "$ac_t""no" 1>&6
7454 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7455 echo "configure:7456: checking for --enable-fontdlg" >&5
7457 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7458 if test "${enable_fontdlg+set}" = set; then
7459 enableval
="$enable_fontdlg"
7461 if test "$enableval" = yes; then
7462 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7464 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7469 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7470 if test "x$LINE" != x
; then
7471 eval "DEFAULT_$LINE"
7476 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7481 eval "$ac_cv_use_fontdlg"
7482 if test "$no_cache" != 1; then
7483 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7486 if test "$wxUSE_FONTDLG" = yes; then
7487 echo "$ac_t""yes" 1>&6
7489 echo "$ac_t""no" 1>&6
7493 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7494 echo "configure:7495: checking for --enable-dirdlg" >&5
7496 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7497 if test "${enable_dirdlg+set}" = set; then
7498 enableval
="$enable_dirdlg"
7500 if test "$enableval" = yes; then
7501 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7503 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7508 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7509 if test "x$LINE" != x
; then
7510 eval "DEFAULT_$LINE"
7515 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7520 eval "$ac_cv_use_dirdlg"
7521 if test "$no_cache" != 1; then
7522 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7525 if test "$wxUSE_DIRDLG" = yes; then
7526 echo "$ac_t""yes" 1>&6
7528 echo "$ac_t""no" 1>&6
7532 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7533 echo "configure:7534: checking for --enable-msgdlg" >&5
7535 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7536 if test "${enable_msgdlg+set}" = set; then
7537 enableval
="$enable_msgdlg"
7539 if test "$enableval" = yes; then
7540 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7542 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7547 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7548 if test "x$LINE" != x
; then
7549 eval "DEFAULT_$LINE"
7554 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7559 eval "$ac_cv_use_msgdlg"
7560 if test "$no_cache" != 1; then
7561 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7564 if test "$wxUSE_MSGDLG" = yes; then
7565 echo "$ac_t""yes" 1>&6
7567 echo "$ac_t""no" 1>&6
7571 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7572 echo "configure:7573: checking for --enable-numberdlg" >&5
7574 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7575 if test "${enable_numberdlg+set}" = set; then
7576 enableval
="$enable_numberdlg"
7578 if test "$enableval" = yes; then
7579 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7581 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7586 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7587 if test "x$LINE" != x
; then
7588 eval "DEFAULT_$LINE"
7593 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7598 eval "$ac_cv_use_numberdlg"
7599 if test "$no_cache" != 1; then
7600 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7603 if test "$wxUSE_NUMBERDLG" = yes; then
7604 echo "$ac_t""yes" 1>&6
7606 echo "$ac_t""no" 1>&6
7610 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7611 echo "configure:7612: checking for --enable-splash" >&5
7613 # Check whether --enable-splash or --disable-splash was given.
7614 if test "${enable_splash+set}" = set; then
7615 enableval
="$enable_splash"
7617 if test "$enableval" = yes; then
7618 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7620 ac_cv_use_splash
='wxUSE_SPLASH=no'
7625 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7626 if test "x$LINE" != x
; then
7627 eval "DEFAULT_$LINE"
7632 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7637 eval "$ac_cv_use_splash"
7638 if test "$no_cache" != 1; then
7639 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7642 if test "$wxUSE_SPLASH" = yes; then
7643 echo "$ac_t""yes" 1>&6
7645 echo "$ac_t""no" 1>&6
7649 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7650 echo "configure:7651: checking for --enable-textdlg" >&5
7652 # Check whether --enable-textdlg or --disable-textdlg was given.
7653 if test "${enable_textdlg+set}" = set; then
7654 enableval
="$enable_textdlg"
7656 if test "$enableval" = yes; then
7657 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7659 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7664 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7665 if test "x$LINE" != x
; then
7666 eval "DEFAULT_$LINE"
7671 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7676 eval "$ac_cv_use_textdlg"
7677 if test "$no_cache" != 1; then
7678 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7681 if test "$wxUSE_TEXTDLG" = yes; then
7682 echo "$ac_t""yes" 1>&6
7684 echo "$ac_t""no" 1>&6
7688 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7689 echo "configure:7690: checking for --enable-tipdlg" >&5
7691 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7692 if test "${enable_tipdlg+set}" = set; then
7693 enableval
="$enable_tipdlg"
7695 if test "$enableval" = yes; then
7696 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7698 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7703 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7704 if test "x$LINE" != x
; then
7705 eval "DEFAULT_$LINE"
7710 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7715 eval "$ac_cv_use_tipdlg"
7716 if test "$no_cache" != 1; then
7717 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7720 if test "$wxUSE_STARTUP_TIPS" = yes; then
7721 echo "$ac_t""yes" 1>&6
7723 echo "$ac_t""no" 1>&6
7727 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7728 echo "configure:7729: checking for --enable-progressdlg" >&5
7730 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7731 if test "${enable_progressdlg+set}" = set; then
7732 enableval
="$enable_progressdlg"
7734 if test "$enableval" = yes; then
7735 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7737 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7742 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7743 if test "x$LINE" != x
; then
7744 eval "DEFAULT_$LINE"
7749 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7754 eval "$ac_cv_use_progressdlg"
7755 if test "$no_cache" != 1; then
7756 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7759 if test "$wxUSE_PROGRESSDLG" = yes; then
7760 echo "$ac_t""yes" 1>&6
7762 echo "$ac_t""no" 1>&6
7766 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7767 echo "configure:7768: checking for --enable-wizarddlg" >&5
7769 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7770 if test "${enable_wizarddlg+set}" = set; then
7771 enableval
="$enable_wizarddlg"
7773 if test "$enableval" = yes; then
7774 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7776 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7781 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7782 if test "x$LINE" != x
; then
7783 eval "DEFAULT_$LINE"
7788 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7793 eval "$ac_cv_use_wizarddlg"
7794 if test "$no_cache" != 1; then
7795 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7798 if test "$wxUSE_WIZARDDLG" = yes; then
7799 echo "$ac_t""yes" 1>&6
7801 echo "$ac_t""no" 1>&6
7807 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7808 echo "configure:7809: checking for --enable-menus" >&5
7810 # Check whether --enable-menus or --disable-menus was given.
7811 if test "${enable_menus+set}" = set; then
7812 enableval
="$enable_menus"
7814 if test "$enableval" = yes; then
7815 ac_cv_use_menus
='wxUSE_MENUS=yes'
7817 ac_cv_use_menus
='wxUSE_MENUS=no'
7822 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7823 if test "x$LINE" != x
; then
7824 eval "DEFAULT_$LINE"
7829 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7834 eval "$ac_cv_use_menus"
7835 if test "$no_cache" != 1; then
7836 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7839 if test "$wxUSE_MENUS" = yes; then
7840 echo "$ac_t""yes" 1>&6
7842 echo "$ac_t""no" 1>&6
7846 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7847 echo "configure:7848: checking for --enable-miniframe" >&5
7849 # Check whether --enable-miniframe or --disable-miniframe was given.
7850 if test "${enable_miniframe+set}" = set; then
7851 enableval
="$enable_miniframe"
7853 if test "$enableval" = yes; then
7854 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7856 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7861 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7862 if test "x$LINE" != x
; then
7863 eval "DEFAULT_$LINE"
7868 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7873 eval "$ac_cv_use_miniframe"
7874 if test "$no_cache" != 1; then
7875 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7878 if test "$wxUSE_MINIFRAME" = yes; then
7879 echo "$ac_t""yes" 1>&6
7881 echo "$ac_t""no" 1>&6
7885 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7886 echo "configure:7887: checking for --enable-tooltips" >&5
7888 # Check whether --enable-tooltips or --disable-tooltips was given.
7889 if test "${enable_tooltips+set}" = set; then
7890 enableval
="$enable_tooltips"
7892 if test "$enableval" = yes; then
7893 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7895 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7900 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7901 if test "x$LINE" != x
; then
7902 eval "DEFAULT_$LINE"
7907 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7912 eval "$ac_cv_use_tooltips"
7913 if test "$no_cache" != 1; then
7914 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7917 if test "$wxUSE_TOOLTIPS" = yes; then
7918 echo "$ac_t""yes" 1>&6
7920 echo "$ac_t""no" 1>&6
7924 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7925 echo "configure:7926: checking for --enable-splines" >&5
7927 # Check whether --enable-splines or --disable-splines was given.
7928 if test "${enable_splines+set}" = set; then
7929 enableval
="$enable_splines"
7931 if test "$enableval" = yes; then
7932 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7934 ac_cv_use_splines
='wxUSE_SPLINES=no'
7939 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7940 if test "x$LINE" != x
; then
7941 eval "DEFAULT_$LINE"
7946 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7951 eval "$ac_cv_use_splines"
7952 if test "$no_cache" != 1; then
7953 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7956 if test "$wxUSE_SPLINES" = yes; then
7957 echo "$ac_t""yes" 1>&6
7959 echo "$ac_t""no" 1>&6
7963 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7964 echo "configure:7965: checking for --enable-validators" >&5
7966 # Check whether --enable-validators or --disable-validators was given.
7967 if test "${enable_validators+set}" = set; then
7968 enableval
="$enable_validators"
7970 if test "$enableval" = yes; then
7971 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7973 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7978 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7979 if test "x$LINE" != x
; then
7980 eval "DEFAULT_$LINE"
7985 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7990 eval "$ac_cv_use_validators"
7991 if test "$no_cache" != 1; then
7992 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7995 if test "$wxUSE_VALIDATORS" = yes; then
7996 echo "$ac_t""yes" 1>&6
7998 echo "$ac_t""no" 1>&6
8002 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
8003 echo "configure:8004: checking for --enable-busyinfo" >&5
8005 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8006 if test "${enable_busyinfo+set}" = set; then
8007 enableval
="$enable_busyinfo"
8009 if test "$enableval" = yes; then
8010 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8012 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8017 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8018 if test "x$LINE" != x
; then
8019 eval "DEFAULT_$LINE"
8024 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8029 eval "$ac_cv_use_busyinfo"
8030 if test "$no_cache" != 1; then
8031 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8034 if test "$wxUSE_BUSYINFO" = yes; then
8035 echo "$ac_t""yes" 1>&6
8037 echo "$ac_t""no" 1>&6
8041 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
8042 echo "configure:8043: checking for --enable-joystick" >&5
8044 # Check whether --enable-joystick or --disable-joystick was given.
8045 if test "${enable_joystick+set}" = set; then
8046 enableval
="$enable_joystick"
8048 if test "$enableval" = yes; then
8049 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8051 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8056 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8057 if test "x$LINE" != x
; then
8058 eval "DEFAULT_$LINE"
8063 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8068 eval "$ac_cv_use_joystick"
8069 if test "$no_cache" != 1; then
8070 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8073 if test "$wxUSE_JOYSTICK" = yes; then
8074 echo "$ac_t""yes" 1>&6
8076 echo "$ac_t""no" 1>&6
8080 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8081 echo "configure:8082: checking for --enable-metafile" >&5
8083 # Check whether --enable-metafile or --disable-metafile was given.
8084 if test "${enable_metafile+set}" = set; then
8085 enableval
="$enable_metafile"
8087 if test "$enableval" = yes; then
8088 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8090 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8095 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8096 if test "x$LINE" != x
; then
8097 eval "DEFAULT_$LINE"
8102 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8107 eval "$ac_cv_use_metafile"
8108 if test "$no_cache" != 1; then
8109 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8112 if test "$wxUSE_METAFILE" = yes; then
8113 echo "$ac_t""yes" 1>&6
8115 echo "$ac_t""no" 1>&6
8119 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8120 echo "configure:8121: checking for --enable-dragimage" >&5
8122 # Check whether --enable-dragimage or --disable-dragimage was given.
8123 if test "${enable_dragimage+set}" = set; then
8124 enableval
="$enable_dragimage"
8126 if test "$enableval" = yes; then
8127 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8129 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8134 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8135 if test "x$LINE" != x
; then
8136 eval "DEFAULT_$LINE"
8141 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8146 eval "$ac_cv_use_dragimage"
8147 if test "$no_cache" != 1; then
8148 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8151 if test "$wxUSE_DRAGIMAGE" = yes; then
8152 echo "$ac_t""yes" 1>&6
8154 echo "$ac_t""no" 1>&6
8160 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8161 echo "configure:8162: checking for --enable-palette" >&5
8163 # Check whether --enable-palette or --disable-palette was given.
8164 if test "${enable_palette+set}" = set; then
8165 enableval
="$enable_palette"
8167 if test "$enableval" = yes; then
8168 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8170 ac_cv_use_palette
='wxUSE_PALETTE=no'
8175 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8176 if test "x$LINE" != x
; then
8177 eval "DEFAULT_$LINE"
8182 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8187 eval "$ac_cv_use_palette"
8188 if test "$no_cache" != 1; then
8189 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8192 if test "$wxUSE_PALETTE" = yes; then
8193 echo "$ac_t""yes" 1>&6
8195 echo "$ac_t""no" 1>&6
8199 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8200 echo "configure:8201: checking for --enable-image" >&5
8202 # Check whether --enable-image or --disable-image was given.
8203 if test "${enable_image+set}" = set; then
8204 enableval
="$enable_image"
8206 if test "$enableval" = yes; then
8207 ac_cv_use_image
='wxUSE_IMAGE=yes'
8209 ac_cv_use_image
='wxUSE_IMAGE=no'
8214 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8215 if test "x$LINE" != x
; then
8216 eval "DEFAULT_$LINE"
8221 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8226 eval "$ac_cv_use_image"
8227 if test "$no_cache" != 1; then
8228 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8231 if test "$wxUSE_IMAGE" = yes; then
8232 echo "$ac_t""yes" 1>&6
8234 echo "$ac_t""no" 1>&6
8238 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8239 echo "configure:8240: checking for --enable-gif" >&5
8241 # Check whether --enable-gif or --disable-gif was given.
8242 if test "${enable_gif+set}" = set; then
8243 enableval
="$enable_gif"
8245 if test "$enableval" = yes; then
8246 ac_cv_use_gif
='wxUSE_GIF=yes'
8248 ac_cv_use_gif
='wxUSE_GIF=no'
8253 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8254 if test "x$LINE" != x
; then
8255 eval "DEFAULT_$LINE"
8260 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8265 eval "$ac_cv_use_gif"
8266 if test "$no_cache" != 1; then
8267 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8270 if test "$wxUSE_GIF" = yes; then
8271 echo "$ac_t""yes" 1>&6
8273 echo "$ac_t""no" 1>&6
8277 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8278 echo "configure:8279: checking for --enable-pcx" >&5
8280 # Check whether --enable-pcx or --disable-pcx was given.
8281 if test "${enable_pcx+set}" = set; then
8282 enableval
="$enable_pcx"
8284 if test "$enableval" = yes; then
8285 ac_cv_use_pcx
='wxUSE_PCX=yes'
8287 ac_cv_use_pcx
='wxUSE_PCX=no'
8292 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8293 if test "x$LINE" != x
; then
8294 eval "DEFAULT_$LINE"
8299 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8304 eval "$ac_cv_use_pcx"
8305 if test "$no_cache" != 1; then
8306 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8309 if test "$wxUSE_PCX" = yes; then
8310 echo "$ac_t""yes" 1>&6
8312 echo "$ac_t""no" 1>&6
8316 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8317 echo "configure:8318: checking for --enable-iff" >&5
8319 # Check whether --enable-iff or --disable-iff was given.
8320 if test "${enable_iff+set}" = set; then
8321 enableval
="$enable_iff"
8323 if test "$enableval" = yes; then
8324 ac_cv_use_iff
='wxUSE_IFF=yes'
8326 ac_cv_use_iff
='wxUSE_IFF=no'
8331 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8332 if test "x$LINE" != x
; then
8333 eval "DEFAULT_$LINE"
8338 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8343 eval "$ac_cv_use_iff"
8344 if test "$no_cache" != 1; then
8345 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8348 if test "$wxUSE_IFF" = yes; then
8349 echo "$ac_t""yes" 1>&6
8351 echo "$ac_t""no" 1>&6
8355 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8356 echo "configure:8357: checking for --enable-pnm" >&5
8358 # Check whether --enable-pnm or --disable-pnm was given.
8359 if test "${enable_pnm+set}" = set; then
8360 enableval
="$enable_pnm"
8362 if test "$enableval" = yes; then
8363 ac_cv_use_pnm
='wxUSE_PNM=yes'
8365 ac_cv_use_pnm
='wxUSE_PNM=no'
8370 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8371 if test "x$LINE" != x
; then
8372 eval "DEFAULT_$LINE"
8377 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8382 eval "$ac_cv_use_pnm"
8383 if test "$no_cache" != 1; then
8384 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8387 if test "$wxUSE_PNM" = yes; then
8388 echo "$ac_t""yes" 1>&6
8390 echo "$ac_t""no" 1>&6
8394 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8395 echo "configure:8396: checking for --enable-xpm" >&5
8397 # Check whether --enable-xpm or --disable-xpm was given.
8398 if test "${enable_xpm+set}" = set; then
8399 enableval
="$enable_xpm"
8401 if test "$enableval" = yes; then
8402 ac_cv_use_xpm
='wxUSE_XPM=yes'
8404 ac_cv_use_xpm
='wxUSE_XPM=no'
8409 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8410 if test "x$LINE" != x
; then
8411 eval "DEFAULT_$LINE"
8416 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8421 eval "$ac_cv_use_xpm"
8422 if test "$no_cache" != 1; then
8423 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8426 if test "$wxUSE_XPM" = yes; then
8427 echo "$ac_t""yes" 1>&6
8429 echo "$ac_t""no" 1>&6
8433 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8434 echo "configure:8435: checking for --enable-ico_cur" >&5
8436 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8437 if test "${enable_ico_cur+set}" = set; then
8438 enableval
="$enable_ico_cur"
8440 if test "$enableval" = yes; then
8441 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8443 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8448 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8449 if test "x$LINE" != x
; then
8450 eval "DEFAULT_$LINE"
8455 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8460 eval "$ac_cv_use_ico_cur"
8461 if test "$no_cache" != 1; then
8462 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8465 if test "$wxUSE_ICO_CUR" = yes; then
8466 echo "$ac_t""yes" 1>&6
8468 echo "$ac_t""no" 1>&6
8475 *-pc-os2_emx | *-pc-os2-emx )
8486 echo "saving argument cache $wx_arg_cache_file"
8487 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8491 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8492 echo "configure:8493: checking for toolkit" >&5
8494 if test "$wxUSE_GUI" = "yes"; then
8496 if test "$USE_BEOS" = 1; then
8497 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8500 if test "$TOOLKIT_GIVEN" = 1; then
8501 for toolkit
in `echo $ALL_TOOLKITS`; do
8503 eval "value=\$${var}"
8504 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8507 for toolkit
in `echo $ALL_TOOLKITS`; do
8508 if test "$has_toolkit_in_cache" != 1; then
8509 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8511 var
=DEFAULT_wxUSE_
$toolkit
8513 eval "wxUSE_$toolkit=\$${var}"
8517 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8518 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8521 *-pc-os2_emx | *-pc-os2-emx )
8522 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8525 case "$NUM_TOOLKITS" in
8529 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8532 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8535 for toolkit
in `echo $ALL_TOOLKITS`; do
8537 eval "value=\$${var}"
8538 if test "x$value" != x
; then
8539 cache_var
=CACHE_
$toolkit
8540 eval "cache=\$${cache_var}"
8541 if test "$cache" = 1; then
8542 echo "$var=$value" >> ${wx_arg_cache_file}
8544 if test "$value" = 1; then
8545 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8546 echo "$ac_t""$toolkit_echo" 1>&6
8551 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8555 cat > confcache
<<\EOF
8556 # This file is a shell script that caches the results of configure
8557 # tests run on this system so they can be shared between configure
8558 # scripts and configure runs. It is not useful on other systems.
8559 # If it contains results you don't want to keep, you may remove or edit it.
8561 # By default, configure uses ./config.cache as the cache file,
8562 # creating it if it does not exist already. You can give configure
8563 # the --cache-file=FILE option to use a different cache file; that is
8564 # what configure does when it calls configure scripts in
8565 # subdirectories, so they share the cache.
8566 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8567 # config.status only pays attention to the cache file if you give it the
8568 # --recheck option to rerun configure.
8571 # The following way of writing the cache mishandles newlines in values,
8572 # but we know of no workaround that is simple, portable, and efficient.
8573 # So, don't put newlines in cache variables' values.
8574 # Ultrix sh set writes to stderr and can't be redirected directly,
8575 # and sets the high bit in the cache file unless we assign to the vars.
8577 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8579 # `set' does not quote correctly, so add quotes (double-quote substitution
8580 # turns \\\\ into \\, and sed turns \\ into \).
8582 -e "s/'/'\\\\''/g" \
8583 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8586 # `set' quotes correctly as required by POSIX, so do not add quotes.
8587 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8590 if cmp -s $cache_file confcache
; then
8593 if test -w $cache_file; then
8594 echo "updating cache $cache_file"
8595 cat confcache
> $cache_file
8597 echo "not updating unwritable cache $cache_file"
8603 if test "$build" != "$host" ; then
8604 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8608 RANLIB
=$host_alias-ranlib
8609 DLLTOOL
=$host_alias-dlltool
8610 RESCOMP
=$host_alias-windres
8613 STRIP
=$host_alias-strip
8615 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8620 # Extract the first word of "gcc", so it can be a program name with args.
8621 set dummy gcc
; ac_word
=$2
8622 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8623 echo "configure:8624: checking for $ac_word" >&5
8624 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8625 echo $ac_n "(cached) $ac_c" 1>&6
8627 if test -n "$CC"; then
8628 ac_cv_prog_CC
="$CC" # Let the user override the test.
8630 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8632 for ac_dir
in $ac_dummy; do
8633 test -z "$ac_dir" && ac_dir
=.
8634 if test -f $ac_dir/$ac_word; then
8643 if test -n "$CC"; then
8644 echo "$ac_t""$CC" 1>&6
8646 echo "$ac_t""no" 1>&6
8649 if test -z "$CC"; then
8650 # Extract the first word of "cc", so it can be a program name with args.
8651 set dummy cc
; ac_word
=$2
8652 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8653 echo "configure:8654: checking for $ac_word" >&5
8654 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8655 echo $ac_n "(cached) $ac_c" 1>&6
8657 if test -n "$CC"; then
8658 ac_cv_prog_CC
="$CC" # Let the user override the test.
8660 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8663 for ac_dir
in $ac_dummy; do
8664 test -z "$ac_dir" && ac_dir
=.
8665 if test -f $ac_dir/$ac_word; then
8666 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8667 ac_prog_rejected
=yes
8675 if test $ac_prog_rejected = yes; then
8676 # We found a bogon in the path, so make sure we never use it.
8677 set dummy
$ac_cv_prog_CC
8679 if test $# -gt 0; then
8680 # We chose a different compiler from the bogus one.
8681 # However, it has the same basename, so the bogon will be chosen
8682 # first if we set CC to just the basename; use the full file name.
8684 set dummy
"$ac_dir/$ac_word" "$@"
8692 if test -n "$CC"; then
8693 echo "$ac_t""$CC" 1>&6
8695 echo "$ac_t""no" 1>&6
8698 if test -z "$CC"; then
8699 case "`uname -s`" in
8701 # Extract the first word of "cl", so it can be a program name with args.
8702 set dummy cl
; ac_word
=$2
8703 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8704 echo "configure:8705: checking for $ac_word" >&5
8705 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8706 echo $ac_n "(cached) $ac_c" 1>&6
8708 if test -n "$CC"; then
8709 ac_cv_prog_CC
="$CC" # Let the user override the test.
8711 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8713 for ac_dir
in $ac_dummy; do
8714 test -z "$ac_dir" && ac_dir
=.
8715 if test -f $ac_dir/$ac_word; then
8724 if test -n "$CC"; then
8725 echo "$ac_t""$CC" 1>&6
8727 echo "$ac_t""no" 1>&6
8732 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8735 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8736 echo "configure:8737: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8739 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8740 ac_cpp
='$CPP $CPPFLAGS'
8741 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8742 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8743 cross_compiling
=$ac_cv_prog_cc_cross
8745 cat > conftest.
$ac_ext << EOF
8747 #line 8748 "configure"
8748 #include "confdefs.h"
8752 if { (eval echo configure
:8753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8753 ac_cv_prog_cc_works
=yes
8754 # If we can't run a trivial program, we are probably using a cross compiler.
8755 if (.
/conftest
; exit) 2>/dev
/null
; then
8756 ac_cv_prog_cc_cross
=no
8758 ac_cv_prog_cc_cross
=yes
8761 echo "configure: failed program was:" >&5
8762 cat conftest.
$ac_ext >&5
8763 ac_cv_prog_cc_works
=no
8767 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8768 ac_cpp
='$CPP $CPPFLAGS'
8769 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8770 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8771 cross_compiling
=$ac_cv_prog_cc_cross
8773 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8774 if test $ac_cv_prog_cc_works = no
; then
8775 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8777 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8778 echo "configure:8779: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8779 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8780 cross_compiling
=$ac_cv_prog_cc_cross
8782 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8783 echo "configure:8784: checking whether we are using GNU C" >&5
8784 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8785 echo $ac_n "(cached) $ac_c" 1>&6
8787 cat > conftest.c
<<EOF
8792 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8799 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8801 if test $ac_cv_prog_gcc = yes; then
8807 ac_test_CFLAGS
="${CFLAGS+set}"
8808 ac_save_CFLAGS
="$CFLAGS"
8810 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8811 echo "configure:8812: checking whether ${CC-cc} accepts -g" >&5
8812 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8813 echo $ac_n "(cached) $ac_c" 1>&6
8815 echo 'void f(){}' > conftest.c
8816 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8825 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8826 if test "$ac_test_CFLAGS" = set; then
8827 CFLAGS
="$ac_save_CFLAGS"
8828 elif test $ac_cv_prog_cc_g = yes; then
8829 if test "$GCC" = yes; then
8835 if test "$GCC" = yes; then
8843 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8844 echo "configure:8845: checking how to run the C preprocessor" >&5
8845 # On Suns, sometimes $CPP names a directory.
8846 if test -n "$CPP" && test -d "$CPP"; then
8849 if test -z "$CPP"; then
8850 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8851 echo $ac_n "(cached) $ac_c" 1>&6
8853 # This must be in double quotes, not single quotes, because CPP may get
8854 # substituted into the Makefile and "${CC-cc}" will confuse make.
8856 # On the NeXT, cc -E runs the code through the compiler's parser,
8857 # not just through cpp.
8858 cat > conftest.
$ac_ext <<EOF
8859 #line 8860 "configure"
8860 #include "confdefs.h"
8864 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8865 { (eval echo configure
:8866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8866 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8867 if test -z "$ac_err"; then
8871 echo "configure: failed program was:" >&5
8872 cat conftest.
$ac_ext >&5
8874 CPP
="${CC-cc} -E -traditional-cpp"
8875 cat > conftest.
$ac_ext <<EOF
8876 #line 8877 "configure"
8877 #include "confdefs.h"
8881 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8882 { (eval echo configure
:8883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8883 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8884 if test -z "$ac_err"; then
8888 echo "configure: failed program was:" >&5
8889 cat conftest.
$ac_ext >&5
8891 CPP
="${CC-cc} -nologo -E"
8892 cat > conftest.
$ac_ext <<EOF
8893 #line 8894 "configure"
8894 #include "confdefs.h"
8898 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8899 { (eval echo configure
:8900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8900 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8901 if test -z "$ac_err"; then
8905 echo "configure: failed program was:" >&5
8906 cat conftest.
$ac_ext >&5
8915 ac_cv_prog_CPP
="$CPP"
8917 CPP
="$ac_cv_prog_CPP"
8919 ac_cv_prog_CPP
="$CPP"
8921 echo "$ac_t""$CPP" 1>&6
8923 if test $ac_cv_prog_gcc = yes; then
8924 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8925 echo "configure:8926: checking whether ${CC-cc} needs -traditional" >&5
8926 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8927 echo $ac_n "(cached) $ac_c" 1>&6
8929 ac_pattern
="Autoconf.*'x'"
8930 cat > conftest.
$ac_ext <<EOF
8931 #line 8932 "configure"
8932 #include "confdefs.h"
8936 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8937 egrep "$ac_pattern" >/dev
/null
2>&1; then
8939 ac_cv_prog_gcc_traditional
=yes
8942 ac_cv_prog_gcc_traditional
=no
8947 if test $ac_cv_prog_gcc_traditional = no
; then
8948 cat > conftest.
$ac_ext <<EOF
8949 #line 8950 "configure"
8950 #include "confdefs.h"
8954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8955 egrep "$ac_pattern" >/dev
/null
2>&1; then
8957 ac_cv_prog_gcc_traditional
=yes
8964 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8965 if test $ac_cv_prog_gcc_traditional = yes; then
8966 CC
="$CC -traditional"
8973 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8974 ac_cpp
='$CXXCPP $CPPFLAGS'
8975 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8976 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8977 cross_compiling
=$ac_cv_prog_cxx_cross
8980 CXXFLAGS
=${CXXFLAGS:=}
8981 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8983 # Extract the first word of "$ac_prog", so it can be a program name with args.
8984 set dummy
$ac_prog; ac_word
=$2
8985 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8986 echo "configure:8987: checking for $ac_word" >&5
8987 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8988 echo $ac_n "(cached) $ac_c" 1>&6
8990 if test -n "$CXX"; then
8991 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8993 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8995 for ac_dir
in $ac_dummy; do
8996 test -z "$ac_dir" && ac_dir
=.
8997 if test -f $ac_dir/$ac_word; then
8998 ac_cv_prog_CXX
="$ac_prog"
9005 CXX
="$ac_cv_prog_CXX"
9006 if test -n "$CXX"; then
9007 echo "$ac_t""$CXX" 1>&6
9009 echo "$ac_t""no" 1>&6
9012 test -n "$CXX" && break
9014 test -n "$CXX" || CXX
="gcc"
9017 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9018 echo "configure:9019: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9021 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9022 ac_cpp
='$CXXCPP $CPPFLAGS'
9023 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9024 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9025 cross_compiling
=$ac_cv_prog_cxx_cross
9027 cat > conftest.
$ac_ext << EOF
9029 #line 9030 "configure"
9030 #include "confdefs.h"
9032 int main(){return(0);}
9034 if { (eval echo configure
:9035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9035 ac_cv_prog_cxx_works
=yes
9036 # If we can't run a trivial program, we are probably using a cross compiler.
9037 if (.
/conftest
; exit) 2>/dev
/null
; then
9038 ac_cv_prog_cxx_cross
=no
9040 ac_cv_prog_cxx_cross
=yes
9043 echo "configure: failed program was:" >&5
9044 cat conftest.
$ac_ext >&5
9045 ac_cv_prog_cxx_works
=no
9049 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9050 ac_cpp
='$CXXCPP $CPPFLAGS'
9051 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9052 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9053 cross_compiling
=$ac_cv_prog_cxx_cross
9055 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9056 if test $ac_cv_prog_cxx_works = no
; then
9057 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9059 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9060 echo "configure:9061: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9061 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9062 cross_compiling
=$ac_cv_prog_cxx_cross
9064 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9065 echo "configure:9066: checking whether we are using GNU C++" >&5
9066 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9067 echo $ac_n "(cached) $ac_c" 1>&6
9069 cat > conftest.C
<<EOF
9074 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9081 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9083 if test $ac_cv_prog_gxx = yes; then
9089 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9090 ac_save_CXXFLAGS
="$CXXFLAGS"
9092 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9093 echo "configure:9094: checking whether ${CXX-g++} accepts -g" >&5
9094 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9095 echo $ac_n "(cached) $ac_c" 1>&6
9097 echo 'void f(){}' > conftest.cc
9098 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9099 ac_cv_prog_cxx_g
=yes
9107 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9108 if test "$ac_test_CXXFLAGS" = set; then
9109 CXXFLAGS
="$ac_save_CXXFLAGS"
9110 elif test $ac_cv_prog_cxx_g = yes; then
9111 if test "$GXX" = yes; then
9117 if test "$GXX" = yes; then
9126 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9127 ac_cpp
='$CPP $CPPFLAGS'
9128 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9129 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9130 cross_compiling
=$ac_cv_prog_cc_cross
9133 # Extract the first word of "ranlib", so it can be a program name with args.
9134 set dummy ranlib
; ac_word
=$2
9135 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9136 echo "configure:9137: checking for $ac_word" >&5
9137 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9138 echo $ac_n "(cached) $ac_c" 1>&6
9140 if test -n "$RANLIB"; then
9141 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9143 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9145 for ac_dir
in $ac_dummy; do
9146 test -z "$ac_dir" && ac_dir
=.
9147 if test -f $ac_dir/$ac_word; then
9148 ac_cv_prog_RANLIB
="ranlib"
9153 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9156 RANLIB
="$ac_cv_prog_RANLIB"
9157 if test -n "$RANLIB"; then
9158 echo "$ac_t""$RANLIB" 1>&6
9160 echo "$ac_t""no" 1>&6
9164 # Extract the first word of "ar", so it can be a program name with args.
9165 set dummy
ar; ac_word
=$2
9166 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9167 echo "configure:9168: checking for $ac_word" >&5
9168 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9169 echo $ac_n "(cached) $ac_c" 1>&6
9171 if test -n "$AR"; then
9172 ac_cv_prog_AR
="$AR" # Let the user override the test.
9174 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9176 for ac_dir
in $ac_dummy; do
9177 test -z "$ac_dir" && ac_dir
=.
9178 if test -f $ac_dir/$ac_word; then
9184 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9188 if test -n "$AR"; then
9189 echo "$ac_t""$AR" 1>&6
9191 echo "$ac_t""no" 1>&6
9195 # Find a good install program. We prefer a C program (faster),
9196 # so one script is as good as another. But avoid the broken or
9197 # incompatible versions:
9198 # SysV /etc/install, /usr/sbin/install
9199 # SunOS /usr/etc/install
9200 # IRIX /sbin/install
9202 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9203 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9204 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9205 # ./install, which can be erroneously created by make from ./install.sh.
9206 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9207 echo "configure:9208: checking for a BSD compatible install" >&5
9208 if test -z "$INSTALL"; then
9209 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9210 echo $ac_n "(cached) $ac_c" 1>&6
9212 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9213 for ac_dir
in $PATH; do
9214 # Account for people who put trailing slashes in PATH elements.
9216 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9218 # OSF1 and SCO ODT 3.0 have their own names for install.
9219 # Don't use installbsd from OSF since it installs stuff as root
9221 for ac_prog
in ginstall scoinst
install; do
9222 if test -f $ac_dir/$ac_prog; then
9223 if test $ac_prog = install &&
9224 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9225 # AIX install. It has an incompatible calling convention.
9228 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9239 if test "${ac_cv_path_install+set}" = set; then
9240 INSTALL
="$ac_cv_path_install"
9242 # As a last resort, use the slow shell script. We don't cache a
9243 # path for INSTALL within a source directory, because that will
9244 # break other packages using the cache if that directory is
9245 # removed, or if the path is relative.
9246 INSTALL
="$ac_install_sh"
9249 echo "$ac_t""$INSTALL" 1>&6
9251 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9252 # It thinks the first close brace ends the variable substitution.
9253 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9255 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9257 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9262 INSTALL_PROGRAM
="cp -fp"
9263 INSTALL_DATA
="cp -fp"
9269 # Extract the first word of "strip", so it can be a program name with args.
9270 set dummy strip
; ac_word
=$2
9271 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9272 echo "configure:9273: checking for $ac_word" >&5
9273 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9274 echo $ac_n "(cached) $ac_c" 1>&6
9276 if test -n "$STRIP"; then
9277 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9279 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9281 for ac_dir
in $ac_dummy; do
9282 test -z "$ac_dir" && ac_dir
=.
9283 if test -f $ac_dir/$ac_word; then
9284 ac_cv_prog_STRIP
="strip"
9289 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9292 STRIP
="$ac_cv_prog_STRIP"
9293 if test -n "$STRIP"; then
9294 echo "$ac_t""$STRIP" 1>&6
9296 echo "$ac_t""no" 1>&6
9300 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9301 echo "configure:9302: checking if make is GNU make" >&5
9302 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9303 echo $ac_n "(cached) $ac_c" 1>&6
9306 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9307 egrep -s GNU
> /dev
/null
); then
9308 wx_cv_prog_makeisgnu
="yes"
9310 wx_cv_prog_makeisgnu
="no"
9315 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9317 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9325 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9326 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9327 echo "configure:9328: checking if make supports VPATH" >&5
9328 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9329 echo $ac_n "(cached) $ac_c" 1>&6
9332 cat - << EOF > confMake
9338 if test ! -d sub
; then
9341 echo dummy
> sub
/file
9342 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9344 rm -f sub
/file check final_file confMake
9346 if test "$RESULT" = 0; then
9347 wx_cv_prog_makevpath
="yes"
9349 wx_cv_prog_makevpath
="no"
9354 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9356 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9357 { echo "configure: error:
9358 You need a make-utility that is able to use the variable
9360 If your version of make does not support VPATH correctly,
9361 please install GNU-make (possibly as gmake), and start
9362 configure with the following command:
9363 export MAKE=gmake; ./configure for sh-type shells
9364 setenv MAKE gmake; ./configure for csh-type shells
9365 Also please do remember to use gmake in this case every time
9366 you are trying to compile.
9369 for ac_prog
in 'bison -y' byacc
9371 # Extract the first word of "$ac_prog", so it can be a program name with args.
9372 set dummy
$ac_prog; ac_word
=$2
9373 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9374 echo "configure:9375: checking for $ac_word" >&5
9375 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9376 echo $ac_n "(cached) $ac_c" 1>&6
9378 if test -n "$YACC"; then
9379 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9381 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9383 for ac_dir
in $ac_dummy; do
9384 test -z "$ac_dir" && ac_dir
=.
9385 if test -f $ac_dir/$ac_word; then
9386 ac_cv_prog_YACC
="$ac_prog"
9393 YACC
="$ac_cv_prog_YACC"
9394 if test -n "$YACC"; then
9395 echo "$ac_t""$YACC" 1>&6
9397 echo "$ac_t""no" 1>&6
9400 test -n "$YACC" && break
9402 test -n "$YACC" || YACC
="yacc"
9405 # Extract the first word of "flex", so it can be a program name with args.
9406 set dummy flex
; ac_word
=$2
9407 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9408 echo "configure:9409: checking for $ac_word" >&5
9409 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9410 echo $ac_n "(cached) $ac_c" 1>&6
9412 if test -n "$LEX"; then
9413 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9415 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9417 for ac_dir
in $ac_dummy; do
9418 test -z "$ac_dir" && ac_dir
=.
9419 if test -f $ac_dir/$ac_word; then
9420 ac_cv_prog_LEX
="flex"
9425 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9428 LEX
="$ac_cv_prog_LEX"
9429 if test -n "$LEX"; then
9430 echo "$ac_t""$LEX" 1>&6
9432 echo "$ac_t""no" 1>&6
9435 if test -z "$LEXLIB"
9441 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9442 echo "configure:9443: checking for yywrap in -l$ac_lib" >&5
9443 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9444 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9445 echo $ac_n "(cached) $ac_c" 1>&6
9447 ac_save_LIBS
="$LIBS"
9448 LIBS
="-l$ac_lib $LIBS"
9449 cat > conftest.
$ac_ext <<EOF
9450 #line 9451 "configure"
9451 #include "confdefs.h"
9452 /* Override any gcc2 internal prototype to avoid an error. */
9453 /* We use char because int might match the return type of a gcc2
9454 builtin and then its argument prototype would still apply. */
9461 if { (eval echo configure
:9462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9463 eval "ac_cv_lib_$ac_lib_var=yes"
9465 echo "configure: failed program was:" >&5
9466 cat conftest.
$ac_ext >&5
9468 eval "ac_cv_lib_$ac_lib_var=no"
9471 LIBS
="$ac_save_LIBS"
9474 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9475 echo "$ac_t""yes" 1>&6
9478 echo "$ac_t""no" 1>&6
9484 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9485 echo "configure:9486: checking whether ln -s works" >&5
9486 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9487 echo $ac_n "(cached) $ac_c" 1>&6
9490 if ln -s X conftestdata
2>/dev
/null
9493 ac_cv_prog_LN_S
="ln -s"
9498 LN_S
="$ac_cv_prog_LN_S"
9499 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9500 echo "$ac_t""yes" 1>&6
9502 echo "$ac_t""no" 1>&6
9508 /usr/local/include \
9510 /usr/Motif-1.2/include \
9511 /usr/Motif-2.1/include \
9513 /usr/include/Motif1.2 \
9514 /opt/xpm/include/X11 \
9515 /opt/GBxpm/include/ \
9516 /opt/GBxpm/X11/include/ \
9518 /usr/Motif1.2/include \
9520 /usr/openwin/include \
9524 /usr/X11R6/include \
9525 /usr/X11R6.4/include \
9526 /usr/X11R5/include \
9527 /usr/X11R4/include \
9529 /usr/include/X11R6 \
9530 /usr/include/X11R5 \
9531 /usr/include/X11R4 \
9533 /usr/local/X11R6/include \
9534 /usr/local/X11R5/include \
9535 /usr/local/X11R4/include \
9537 /usr/local/include/X11R6 \
9538 /usr/local/include/X11R5 \
9539 /usr/local/include/X11R4 \
9543 /usr/local/X11/include \
9544 /usr/local/include/X11 \
9548 /usr/XFree86/include/X11 \
9550 X:/XFree86/include \
9551 X:/XFree86/include/X11 \
9554 /usr/local/include/gtk \
9556 /usr/local/include/glib \
9559 /usr/local/include/qt \
9561 /usr/include/windows \
9563 /usr/local/include/wine \
9565 /usr/unsupported/include \
9566 /usr/athena/include \
9567 /usr/local/x11r5/include \
9568 /usr/lpp/Xamples/include \
9570 /usr/openwin/share/include \
9574 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
9577 cat > confcache
<<\EOF
9578 # This file is a shell script that caches the results of configure
9579 # tests run on this system so they can be shared between configure
9580 # scripts and configure runs. It is not useful on other systems.
9581 # If it contains results you don't want to keep, you may remove or edit it.
9583 # By default, configure uses ./config.cache as the cache file,
9584 # creating it if it does not exist already. You can give configure
9585 # the --cache-file=FILE option to use a different cache file; that is
9586 # what configure does when it calls configure scripts in
9587 # subdirectories, so they share the cache.
9588 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9589 # config.status only pays attention to the cache file if you give it the
9590 # --recheck option to rerun configure.
9593 # The following way of writing the cache mishandles newlines in values,
9594 # but we know of no workaround that is simple, portable, and efficient.
9595 # So, don't put newlines in cache variables' values.
9596 # Ultrix sh set writes to stderr and can't be redirected directly,
9597 # and sets the high bit in the cache file unless we assign to the vars.
9599 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9601 # `set' does not quote correctly, so add quotes (double-quote substitution
9602 # turns \\\\ into \\, and sed turns \\ into \).
9604 -e "s/'/'\\\\''/g" \
9605 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9608 # `set' quotes correctly as required by POSIX, so do not add quotes.
9609 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9612 if cmp -s $cache_file confcache
; then
9615 if test -w $cache_file; then
9616 echo "updating cache $cache_file"
9617 cat confcache
> $cache_file
9619 echo "not updating unwritable cache $cache_file"
9628 if test "$wxUSE_REGEX" != "no"; then
9629 cat >> confdefs.h
<<\EOF
9630 #define wxUSE_REGEX 1
9634 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9635 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
9636 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9637 echo "configure:9638: checking for regex.h" >&5
9638 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9639 echo $ac_n "(cached) $ac_c" 1>&6
9641 cat > conftest.
$ac_ext <<EOF
9642 #line 9643 "configure"
9643 #include "confdefs.h"
9646 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9647 { (eval echo configure
:9648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9648 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9649 if test -z "$ac_err"; then
9651 eval "ac_cv_header_$ac_safe=yes"
9654 echo "configure: failed program was:" >&5
9655 cat conftest.
$ac_ext >&5
9657 eval "ac_cv_header_$ac_safe=no"
9661 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9662 echo "$ac_t""yes" 1>&6
9663 for ac_func
in regcomp
9665 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9666 echo "configure:9667: checking for $ac_func" >&5
9667 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9668 echo $ac_n "(cached) $ac_c" 1>&6
9670 cat > conftest.
$ac_ext <<EOF
9671 #line 9672 "configure"
9672 #include "confdefs.h"
9673 /* System header to define __stub macros and hopefully few prototypes,
9674 which can conflict with char $ac_func(); below. */
9676 /* Override any gcc2 internal prototype to avoid an error. */
9677 /* We use char because int might match the return type of a gcc2
9678 builtin and then its argument prototype would still apply. */
9683 /* The GNU C library defines this for functions which it implements
9684 to always fail with ENOSYS. Some functions are actually named
9685 something starting with __ and the normal name is an alias. */
9686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9694 if { (eval echo configure
:9695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9696 eval "ac_cv_func_$ac_func=yes"
9698 echo "configure: failed program was:" >&5
9699 cat conftest.
$ac_ext >&5
9701 eval "ac_cv_func_$ac_func=no"
9706 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9707 echo "$ac_t""yes" 1>&6
9708 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9709 cat >> confdefs.h
<<EOF
9710 #define $ac_tr_func 1
9714 echo "$ac_t""no" 1>&6
9719 echo "$ac_t""no" 1>&6
9723 if test "x$ac_cv_func_regcomp" != "xyes"; then
9724 if test "$wxUSE_REGEX" = "sys" ; then
9725 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9727 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9735 if test "$wxUSE_REGEX" = "builtin" ; then
9736 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9743 if test "$wxUSE_ZLIB" != "no" ; then
9744 cat >> confdefs.h
<<\EOF
9745 #define wxUSE_ZLIB 1
9749 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9750 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9751 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9752 echo "configure:9753: checking for zlib.h" >&5
9753 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9754 echo $ac_n "(cached) $ac_c" 1>&6
9756 cat > conftest.
$ac_ext <<EOF
9757 #line 9758 "configure"
9758 #include "confdefs.h"
9761 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9762 { (eval echo configure
:9763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9763 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9764 if test -z "$ac_err"; then
9766 eval "ac_cv_header_$ac_safe=yes"
9769 echo "configure: failed program was:" >&5
9770 cat conftest.
$ac_ext >&5
9772 eval "ac_cv_header_$ac_safe=no"
9776 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9777 echo "$ac_t""yes" 1>&6
9778 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9779 echo "configure:9780: checking for deflate in -lz" >&5
9780 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9781 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9782 echo $ac_n "(cached) $ac_c" 1>&6
9784 ac_save_LIBS
="$LIBS"
9786 cat > conftest.
$ac_ext <<EOF
9787 #line 9788 "configure"
9788 #include "confdefs.h"
9789 /* Override any gcc2 internal prototype to avoid an error. */
9790 /* We use char because int might match the return type of a gcc2
9791 builtin and then its argument prototype would still apply. */
9798 if { (eval echo configure
:9799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9800 eval "ac_cv_lib_$ac_lib_var=yes"
9802 echo "configure: failed program was:" >&5
9803 cat conftest.
$ac_ext >&5
9805 eval "ac_cv_lib_$ac_lib_var=no"
9808 LIBS
="$ac_save_LIBS"
9811 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9812 echo "$ac_t""yes" 1>&6
9815 echo "$ac_t""no" 1>&6
9819 echo "$ac_t""no" 1>&6
9823 if test "x$ZLIB_LINK" = "x" ; then
9824 if test "$wxUSE_ZLIB" = "sys" ; then
9825 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9827 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9835 if test "$wxUSE_ZLIB" = "builtin" ; then
9836 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9843 if test "$wxUSE_LIBPNG" != "no" ; then
9844 cat >> confdefs.h
<<\EOF
9845 #define wxUSE_LIBPNG 1
9849 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
9850 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
9854 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9855 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9856 wxUSE_LIBPNG
=builtin
9859 if test "$wxUSE_MGL" != 1 ; then
9860 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9861 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9862 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9863 echo "configure:9864: checking for png.h" >&5
9864 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9865 echo $ac_n "(cached) $ac_c" 1>&6
9867 cat > conftest.
$ac_ext <<EOF
9868 #line 9869 "configure"
9869 #include "confdefs.h"
9872 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9873 { (eval echo configure
:9874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9874 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9875 if test -z "$ac_err"; then
9877 eval "ac_cv_header_$ac_safe=yes"
9880 echo "configure: failed program was:" >&5
9881 cat conftest.
$ac_ext >&5
9883 eval "ac_cv_header_$ac_safe=no"
9887 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9888 echo "$ac_t""yes" 1>&6
9889 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9890 echo "configure:9891: checking for png_check_sig in -lpng" >&5
9891 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9892 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9893 echo $ac_n "(cached) $ac_c" 1>&6
9895 ac_save_LIBS
="$LIBS"
9896 LIBS
="-lpng -lz -lm $LIBS"
9897 cat > conftest.
$ac_ext <<EOF
9898 #line 9899 "configure"
9899 #include "confdefs.h"
9900 /* Override any gcc2 internal prototype to avoid an error. */
9901 /* We use char because int might match the return type of a gcc2
9902 builtin and then its argument prototype would still apply. */
9903 char png_check_sig();
9909 if { (eval echo configure
:9910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9911 eval "ac_cv_lib_$ac_lib_var=yes"
9913 echo "configure: failed program was:" >&5
9914 cat conftest.
$ac_ext >&5
9916 eval "ac_cv_lib_$ac_lib_var=no"
9919 LIBS
="$ac_save_LIBS"
9922 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9923 echo "$ac_t""yes" 1>&6
9926 echo "$ac_t""no" 1>&6
9931 echo "$ac_t""no" 1>&6
9935 if test "x$PNG_LINK" = "x" ; then
9936 if test "$wxUSE_LIBPNG" = "sys" ; then
9937 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9939 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9940 wxUSE_LIBPNG
=builtin
9948 if test "$wxUSE_LIBPNG" = "builtin" ; then
9949 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
9952 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
9958 if test "$wxUSE_LIBJPEG" != "no" ; then
9959 cat >> confdefs.h
<<\EOF
9960 #define wxUSE_LIBJPEG 1
9964 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
9965 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
9969 if test "$wxUSE_MGL" != 1 ; then
9970 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9971 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9972 echo "configure:9973: checking for jpeglib.h" >&5
9973 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9974 echo $ac_n "(cached) $ac_c" 1>&6
9976 cat > conftest.
$ac_ext <<EOF
9977 #line 9978 "configure"
9978 #include "confdefs.h"
9980 #undef HAVE_STDLIB_H
9982 #include <jpeglib.h>
9989 if { (eval echo configure
:9990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9991 ac_cv_header_jpeglib_h
=yes
9993 echo "configure: failed program was:" >&5
9994 cat conftest.
$ac_ext >&5
9996 ac_cv_header_jpeglib_h
=no
10003 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
10005 if test "$ac_cv_header_jpeglib_h" = "yes"; then
10006 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
10007 echo "configure:10008: checking for jpeg_read_header in -ljpeg" >&5
10008 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
10009 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10010 echo $ac_n "(cached) $ac_c" 1>&6
10012 ac_save_LIBS
="$LIBS"
10013 LIBS
="-ljpeg $LIBS"
10014 cat > conftest.
$ac_ext <<EOF
10015 #line 10016 "configure"
10016 #include "confdefs.h"
10017 /* Override any gcc2 internal prototype to avoid an error. */
10018 /* We use char because int might match the return type of a gcc2
10019 builtin and then its argument prototype would still apply. */
10020 char jpeg_read_header();
10026 if { (eval echo configure
:10027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10028 eval "ac_cv_lib_$ac_lib_var=yes"
10030 echo "configure: failed program was:" >&5
10031 cat conftest.
$ac_ext >&5
10033 eval "ac_cv_lib_$ac_lib_var=no"
10036 LIBS
="$ac_save_LIBS"
10039 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10040 echo "$ac_t""yes" 1>&6
10041 JPEG_LINK
=" -ljpeg"
10043 echo "$ac_t""no" 1>&6
10048 if test "x$JPEG_LINK" = "x" ; then
10049 if test "$wxUSE_LIBJPEG" = "sys" ; then
10050 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
10052 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
10053 wxUSE_LIBJPEG
=builtin
10061 if test "$wxUSE_LIBJPEG" = "builtin" ; then
10062 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10069 if test "$wxUSE_LIBTIFF" != "no" ; then
10070 cat >> confdefs.h
<<\EOF
10071 #define wxUSE_LIBTIFF 1
10075 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
10076 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
10077 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
10078 echo "configure:10079: checking for tiffio.h" >&5
10079 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10080 echo $ac_n "(cached) $ac_c" 1>&6
10082 cat > conftest.
$ac_ext <<EOF
10083 #line 10084 "configure"
10084 #include "confdefs.h"
10085 #include <tiffio.h>
10087 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10088 { (eval echo configure
:10089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10089 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10090 if test -z "$ac_err"; then
10092 eval "ac_cv_header_$ac_safe=yes"
10095 echo "configure: failed program was:" >&5
10096 cat conftest.
$ac_ext >&5
10098 eval "ac_cv_header_$ac_safe=no"
10102 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10103 echo "$ac_t""yes" 1>&6
10104 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
10105 echo "configure:10106: checking for TIFFError in -ltiff" >&5
10106 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
10107 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10108 echo $ac_n "(cached) $ac_c" 1>&6
10110 ac_save_LIBS
="$LIBS"
10111 LIBS
="-ltiff -lm $LIBS"
10112 cat > conftest.
$ac_ext <<EOF
10113 #line 10114 "configure"
10114 #include "confdefs.h"
10115 /* Override any gcc2 internal prototype to avoid an error. */
10116 /* We use char because int might match the return type of a gcc2
10117 builtin and then its argument prototype would still apply. */
10124 if { (eval echo configure
:10125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10126 eval "ac_cv_lib_$ac_lib_var=yes"
10128 echo "configure: failed program was:" >&5
10129 cat conftest.
$ac_ext >&5
10131 eval "ac_cv_lib_$ac_lib_var=no"
10134 LIBS
="$ac_save_LIBS"
10137 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10138 echo "$ac_t""yes" 1>&6
10139 TIFF_LINK
=" -ltiff"
10141 echo "$ac_t""no" 1>&6
10146 echo "$ac_t""no" 1>&6
10150 if test "x$TIFF_LINK" = "x" ; then
10151 if test "$wxUSE_LIBTIFF" = "sys" ; then
10152 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
10154 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
10155 wxUSE_LIBTIFF
=builtin
10162 if test "$wxUSE_LIBTIFF" = "builtin" ; then
10163 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
10174 if test "$USE_WIN32" = 1 ; then
10175 for ac_hdr
in w32api.h
10177 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10178 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10179 echo "configure:10180: checking for $ac_hdr" >&5
10180 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10181 echo $ac_n "(cached) $ac_c" 1>&6
10183 cat > conftest.
$ac_ext <<EOF
10184 #line 10185 "configure"
10185 #include "confdefs.h"
10188 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10189 { (eval echo configure
:10190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10190 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10191 if test -z "$ac_err"; then
10193 eval "ac_cv_header_$ac_safe=yes"
10196 echo "configure: failed program was:" >&5
10197 cat conftest.
$ac_ext >&5
10199 eval "ac_cv_header_$ac_safe=no"
10203 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10204 echo "$ac_t""yes" 1>&6
10205 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10206 cat >> confdefs.h
<<EOF
10207 #define $ac_tr_hdr 1
10211 echo "$ac_t""no" 1>&6
10215 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
10216 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10217 echo "configure:10218: checking for windows.h" >&5
10218 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10219 echo $ac_n "(cached) $ac_c" 1>&6
10221 cat > conftest.
$ac_ext <<EOF
10222 #line 10223 "configure"
10223 #include "confdefs.h"
10224 #include <windows.h>
10226 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10227 { (eval echo configure
:10228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10228 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10229 if test -z "$ac_err"; then
10231 eval "ac_cv_header_$ac_safe=yes"
10234 echo "configure: failed program was:" >&5
10235 cat conftest.
$ac_ext >&5
10237 eval "ac_cv_header_$ac_safe=no"
10241 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10242 echo "$ac_t""yes" 1>&6
10245 echo "$ac_t""no" 1>&6
10247 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10252 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
10253 echo "configure:10254: checking if w32api has good enough MSIE support" >&5
10254 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
10255 echo $ac_n "(cached) $ac_c" 1>&6
10258 cat > conftest.
$ac_ext <<EOF
10259 #line 10260 "configure"
10260 #include "confdefs.h"
10261 #include <w32api.h>
10264 #define wxCHECK_W32API_VERSION( major, minor ) \
10265 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
10266 && ( ( __W32API_MAJOR_VERSION > (major) ) \
10267 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
10269 #if !wxCHECK_W32API_VERSION(1,1)
10270 #error You need w32api 1.1 or newer
10275 if { (eval echo configure
:10276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10278 wx_cv_w32api_win32_ie
=yes
10281 echo "configure: failed program was:" >&5
10282 cat conftest.
$ac_ext >&5
10285 wx_cv_w32api_win32_ie
=no
10292 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
10293 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
10294 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
10297 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
10301 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
10302 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
10305 if test "$wxUSE_ODBC" = "yes" ; then
10306 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
10309 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
10310 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
10313 if test "$wxUSE_GUI" = "yes"; then
10322 if test "$wxUSE_MSW" = 1 ; then
10328 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
10332 if test "$wxUSE_GTK" = 1; then
10333 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
10334 echo "configure:10335: checking for GTK+ version" >&5
10336 gtk_version_cached
=1
10337 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
10338 echo $ac_n "(cached) $ac_c" 1>&6
10341 gtk_version_cached
=0
10342 echo "$ac_t""" 1>&6
10345 if test "$wxUSE_THREADS" = "yes"; then
10346 GTK_MODULES
=gthread
10350 if test "x$wxUSE_GTK2" = "xyes"; then
10351 # Check whether --enable-gtktest or --disable-gtktest was given.
10352 if test "${enable_gtktest+set}" = set; then
10353 enableval
="$enable_gtktest"
10360 pkg_config_args
=gtk
+-2.0
10361 for module
in .
$GTK_MODULES
10365 pkg_config_args
="$pkg_config_args gthread-2.0"
10372 # Extract the first word of "pkg-config", so it can be a program name with args.
10373 set dummy pkg
-config; ac_word
=$2
10374 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10375 echo "configure:10376: checking for $ac_word" >&5
10376 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
10377 echo $ac_n "(cached) $ac_c" 1>&6
10379 case "$PKG_CONFIG" in
10381 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10384 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
10387 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10389 for ac_dir
in $ac_dummy; do
10390 test -z "$ac_dir" && ac_dir
=.
10391 if test -f $ac_dir/$ac_word; then
10392 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
10397 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
10401 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10402 if test -n "$PKG_CONFIG"; then
10403 echo "$ac_t""$PKG_CONFIG" 1>&6
10405 echo "$ac_t""no" 1>&6
10409 if test x
$PKG_CONFIG != xno
; then
10410 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
10413 echo *** pkg
-config too old
; version
0.7 or better required.
10421 min_gtk_version
=2.0.0
10422 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
10423 echo "configure:10424: checking for GTK+ - version >= $min_gtk_version" >&5
10425 if test x
$PKG_CONFIG != xno
; then
10426 ## don't try to run the test against uninstalled libtool libs
10427 if $PKG_CONFIG --uninstalled $pkg_config_args; then
10428 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
10432 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
10439 if test x
"$no_gtk" = x
; then
10440 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
10441 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
10442 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
10443 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10444 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
10445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10446 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
10447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10448 if test "x$enable_gtktest" = "xyes" ; then
10449 ac_save_CFLAGS
="$CFLAGS"
10450 ac_save_LIBS
="$LIBS"
10451 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10452 LIBS
="$GTK_LIBS $LIBS"
10454 if test "$cross_compiling" = yes; then
10455 echo $ac_n "cross compiling; assumed OK... $ac_c"
10457 cat > conftest.
$ac_ext <<EOF
10458 #line 10459 "configure"
10459 #include "confdefs.h"
10461 #include <gtk/gtk.h>
10463 #include <stdlib.h>
10468 int major, minor, micro;
10471 system ("touch conf.gtktest");
10473 /* HP/UX 9 (%@#!) writes to sscanf strings */
10474 tmp_version = g_strdup("$min_gtk_version");
10475 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10476 printf("%s, bad version string\n", "$min_gtk_version");
10480 if ((gtk_major_version != $gtk_config_major_version) ||
10481 (gtk_minor_version != $gtk_config_minor_version) ||
10482 (gtk_micro_version != $gtk_config_micro_version))
10484 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10485 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10486 gtk_major_version, gtk_minor_version, gtk_micro_version);
10487 printf ("*** was found! If pkg-config was correct, then it is best\n");
10488 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10489 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10490 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10491 printf("*** required on your system.\n");
10492 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
10493 printf("*** to point to the correct configuration files\n");
10495 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10496 (gtk_minor_version != GTK_MINOR_VERSION) ||
10497 (gtk_micro_version != GTK_MICRO_VERSION))
10499 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10500 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10501 printf("*** library (version %d.%d.%d)\n",
10502 gtk_major_version, gtk_minor_version, gtk_micro_version);
10506 if ((gtk_major_version > major) ||
10507 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10508 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10514 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10515 gtk_major_version, gtk_minor_version, gtk_micro_version);
10516 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10517 major, minor, micro);
10518 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10520 printf("*** If you have already installed a sufficiently new version, this error\n");
10521 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
10522 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10523 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
10524 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
10525 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10526 printf("*** so that the correct libraries are found at run-time))\n");
10533 if { (eval echo configure
:10534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10537 echo "configure: failed program was:" >&5
10538 cat conftest.
$ac_ext >&5
10545 CFLAGS
="$ac_save_CFLAGS"
10546 LIBS
="$ac_save_LIBS"
10549 if test "x$no_gtk" = x
; then
10550 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10553 echo "$ac_t""no" 1>&6
10554 if test "$PKG_CONFIG" = "no" ; then
10555 echo "*** A new enough version of pkg-config was not found."
10556 echo "*** See http://pkgconfig.sourceforge.net"
10558 if test -f conf.gtktest
; then
10561 echo "*** Could not run GTK+ test program, checking why..."
10562 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10563 LIBS
="$LIBS $GTK_LIBS"
10564 cat > conftest.
$ac_ext <<EOF
10565 #line 10566 "configure"
10566 #include "confdefs.h"
10568 #include <gtk/gtk.h>
10572 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10575 if { (eval echo configure
:10576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10577 echo "*** The test program compiled, but did not run. This usually means"
10578 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
10579 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
10580 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10581 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10582 echo "*** is required on your system"
10584 echo "*** If you have an old version installed, it is best to remove it, although"
10585 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10587 echo "configure: failed program was:" >&5
10588 cat conftest.
$ac_ext >&5
10590 echo "*** The test program failed to compile or link. See the file config.log for the"
10591 echo "*** exact error that occured. This usually means GTK+ was incorrectly installed"
10592 echo "*** or that you have moved GTK+ since it was installed. In the latter case, you"
10593 echo "*** may want to edit the pkg-config script: $PKG_CONFIG"
10596 CFLAGS
="$ac_save_CFLAGS"
10597 LIBS
="$ac_save_LIBS"
10610 if test -z "$wx_cv_lib_gtk"; then
10611 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10612 if test "${with_gtk_prefix+set}" = set; then
10613 withval
="$with_gtk_prefix"
10614 gtk_config_prefix
="$withval"
10616 gtk_config_prefix
=""
10619 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10620 if test "${with_gtk_exec_prefix+set}" = set; then
10621 withval
="$with_gtk_exec_prefix"
10622 gtk_config_exec_prefix
="$withval"
10624 gtk_config_exec_prefix
=""
10627 # Check whether --enable-gtktest or --disable-gtktest was given.
10628 if test "${enable_gtktest+set}" = set; then
10629 enableval
="$enable_gtktest"
10636 for module
in .
$GTK_MODULES
10640 gtk_config_args
="$gtk_config_args gthread"
10645 if test x
$gtk_config_exec_prefix != x
; then
10646 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10647 if test x
${GTK_CONFIG+set} != xset
; then
10648 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10651 if test x
$gtk_config_prefix != x
; then
10652 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10653 if test x
${GTK_CONFIG+set} != xset
; then
10654 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10658 # Extract the first word of "gtk-config", so it can be a program name with args.
10659 set dummy gtk
-config; ac_word
=$2
10660 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10661 echo "configure:10662: checking for $ac_word" >&5
10662 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10663 echo $ac_n "(cached) $ac_c" 1>&6
10665 case "$GTK_CONFIG" in
10667 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10670 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10673 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10675 for ac_dir
in $ac_dummy; do
10676 test -z "$ac_dir" && ac_dir
=.
10677 if test -f $ac_dir/$ac_word; then
10678 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10683 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10687 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10688 if test -n "$GTK_CONFIG"; then
10689 echo "$ac_t""$GTK_CONFIG" 1>&6
10691 echo "$ac_t""no" 1>&6
10694 min_gtk_version
=1.2.7
10695 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10696 echo "configure:10697: checking for GTK - version >= $min_gtk_version" >&5
10698 if test "$GTK_CONFIG" = "no" ; then
10701 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10702 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10703 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10704 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10705 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10706 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10707 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10708 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10709 if test "x$enable_gtktest" = "xyes" ; then
10710 ac_save_CFLAGS
="$CFLAGS"
10711 ac_save_LIBS
="$LIBS"
10712 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10713 LIBS
="$GTK_LIBS $LIBS"
10715 if test "$cross_compiling" = yes; then
10716 echo $ac_n "cross compiling; assumed OK... $ac_c"
10718 cat > conftest.
$ac_ext <<EOF
10719 #line 10720 "configure"
10720 #include "confdefs.h"
10722 #include <gtk/gtk.h>
10724 #include <stdlib.h>
10729 int major, minor, micro;
10732 system ("touch conf.gtktest");
10734 /* HP/UX 9 (%@#!) writes to sscanf strings */
10735 tmp_version = g_strdup("$min_gtk_version");
10736 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10737 printf("%s, bad version string\n", "$min_gtk_version");
10741 if ((gtk_major_version != $gtk_config_major_version) ||
10742 (gtk_minor_version != $gtk_config_minor_version) ||
10743 (gtk_micro_version != $gtk_config_micro_version))
10745 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10746 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10747 gtk_major_version, gtk_minor_version, gtk_micro_version);
10748 printf ("*** was found! If gtk-config was correct, then it is best\n");
10749 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10750 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10751 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10752 printf("*** required on your system.\n");
10753 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10754 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10755 printf("*** before re-running configure\n");
10757 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10758 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10759 (gtk_minor_version != GTK_MINOR_VERSION) ||
10760 (gtk_micro_version != GTK_MICRO_VERSION))
10762 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10763 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10764 printf("*** library (version %d.%d.%d)\n",
10765 gtk_major_version, gtk_minor_version, gtk_micro_version);
10767 #endif /* defined (GTK_MAJOR_VERSION) ... */
10770 if ((gtk_major_version > major) ||
10771 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10772 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10778 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10779 gtk_major_version, gtk_minor_version, gtk_micro_version);
10780 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10781 major, minor, micro);
10782 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10784 printf("*** If you have already installed a sufficiently new version, this error\n");
10785 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10786 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10787 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10788 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10789 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10790 printf("*** so that the correct libraries are found at run-time))\n");
10797 if { (eval echo configure
:10798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10801 echo "configure: failed program was:" >&5
10802 cat conftest.
$ac_ext >&5
10809 CFLAGS
="$ac_save_CFLAGS"
10810 LIBS
="$ac_save_LIBS"
10813 if test "x$no_gtk" = x
; then
10814 echo "$ac_t""yes" 1>&6
10815 wx_cv_lib_gtk
=1.2.7
10817 echo "$ac_t""no" 1>&6
10818 if test "$GTK_CONFIG" = "no" ; then
10819 echo "*** The gtk-config script installed by GTK could not be found"
10820 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10821 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10822 echo "*** full path to gtk-config."
10824 if test -f conf.gtktest
; then
10827 echo "*** Could not run GTK test program, checking why..."
10828 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10829 LIBS
="$LIBS $GTK_LIBS"
10830 cat > conftest.
$ac_ext <<EOF
10831 #line 10832 "configure"
10832 #include "confdefs.h"
10834 #include <gtk/gtk.h>
10838 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10841 if { (eval echo configure
:10842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10843 echo "*** The test program compiled, but did not run. This usually means"
10844 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10845 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10846 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10847 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10848 echo "*** is required on your system"
10850 echo "*** If you have an old version installed, it is best to remove it, although"
10851 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10853 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10854 echo "*** came with the system with the command"
10856 echo "*** rpm --erase --nodeps gtk gtk-devel"
10858 echo "configure: failed program was:" >&5
10859 cat conftest.
$ac_ext >&5
10861 echo "*** The test program failed to compile or link. See the file config.log for the"
10862 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10863 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10864 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10867 CFLAGS
="$ac_save_CFLAGS"
10868 LIBS
="$ac_save_LIBS"
10881 if test -z "$wx_cv_lib_gtk"; then
10882 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10883 if test "${with_gtk_prefix+set}" = set; then
10884 withval
="$with_gtk_prefix"
10885 gtk_config_prefix
="$withval"
10887 gtk_config_prefix
=""
10890 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10891 if test "${with_gtk_exec_prefix+set}" = set; then
10892 withval
="$with_gtk_exec_prefix"
10893 gtk_config_exec_prefix
="$withval"
10895 gtk_config_exec_prefix
=""
10898 # Check whether --enable-gtktest or --disable-gtktest was given.
10899 if test "${enable_gtktest+set}" = set; then
10900 enableval
="$enable_gtktest"
10907 for module
in .
$GTK_MODULES
10911 gtk_config_args
="$gtk_config_args gthread"
10916 if test x
$gtk_config_exec_prefix != x
; then
10917 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10918 if test x
${GTK_CONFIG+set} != xset
; then
10919 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10922 if test x
$gtk_config_prefix != x
; then
10923 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10924 if test x
${GTK_CONFIG+set} != xset
; then
10925 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10929 # Extract the first word of "gtk-config", so it can be a program name with args.
10930 set dummy gtk
-config; ac_word
=$2
10931 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10932 echo "configure:10933: checking for $ac_word" >&5
10933 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10934 echo $ac_n "(cached) $ac_c" 1>&6
10936 case "$GTK_CONFIG" in
10938 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10941 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10944 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10946 for ac_dir
in $ac_dummy; do
10947 test -z "$ac_dir" && ac_dir
=.
10948 if test -f $ac_dir/$ac_word; then
10949 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10954 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10958 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10959 if test -n "$GTK_CONFIG"; then
10960 echo "$ac_t""$GTK_CONFIG" 1>&6
10962 echo "$ac_t""no" 1>&6
10965 min_gtk_version
=1.2.3
10966 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10967 echo "configure:10968: checking for GTK - version >= $min_gtk_version" >&5
10969 if test "$GTK_CONFIG" = "no" ; then
10972 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10973 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10974 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10975 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10976 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10978 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10980 if test "x$enable_gtktest" = "xyes" ; then
10981 ac_save_CFLAGS
="$CFLAGS"
10982 ac_save_LIBS
="$LIBS"
10983 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10984 LIBS
="$GTK_LIBS $LIBS"
10986 if test "$cross_compiling" = yes; then
10987 echo $ac_n "cross compiling; assumed OK... $ac_c"
10989 cat > conftest.
$ac_ext <<EOF
10990 #line 10991 "configure"
10991 #include "confdefs.h"
10993 #include <gtk/gtk.h>
10995 #include <stdlib.h>
11000 int major, minor, micro;
11003 system ("touch conf.gtktest");
11005 /* HP/UX 9 (%@#!) writes to sscanf strings */
11006 tmp_version = g_strdup("$min_gtk_version");
11007 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11008 printf("%s, bad version string\n", "$min_gtk_version");
11012 if ((gtk_major_version != $gtk_config_major_version) ||
11013 (gtk_minor_version != $gtk_config_minor_version) ||
11014 (gtk_micro_version != $gtk_config_micro_version))
11016 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11017 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11018 gtk_major_version, gtk_minor_version, gtk_micro_version);
11019 printf ("*** was found! If gtk-config was correct, then it is best\n");
11020 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11021 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11022 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11023 printf("*** required on your system.\n");
11024 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
11025 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
11026 printf("*** before re-running configure\n");
11028 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
11029 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11030 (gtk_minor_version != GTK_MINOR_VERSION) ||
11031 (gtk_micro_version != GTK_MICRO_VERSION))
11033 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11034 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11035 printf("*** library (version %d.%d.%d)\n",
11036 gtk_major_version, gtk_minor_version, gtk_micro_version);
11038 #endif /* defined (GTK_MAJOR_VERSION) ... */
11041 if ((gtk_major_version > major) ||
11042 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11043 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11049 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11050 gtk_major_version, gtk_minor_version, gtk_micro_version);
11051 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11052 major, minor, micro);
11053 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11055 printf("*** If you have already installed a sufficiently new version, this error\n");
11056 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
11057 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11058 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
11059 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
11060 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11061 printf("*** so that the correct libraries are found at run-time))\n");
11068 if { (eval echo configure
:11069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11072 echo "configure: failed program was:" >&5
11073 cat conftest.
$ac_ext >&5
11080 CFLAGS
="$ac_save_CFLAGS"
11081 LIBS
="$ac_save_LIBS"
11084 if test "x$no_gtk" = x
; then
11085 echo "$ac_t""yes" 1>&6
11086 wx_cv_lib_gtk
=1.2.3
11088 echo "$ac_t""no" 1>&6
11089 if test "$GTK_CONFIG" = "no" ; then
11090 echo "*** The gtk-config script installed by GTK could not be found"
11091 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
11092 echo "*** your path, or set the GTK_CONFIG environment variable to the"
11093 echo "*** full path to gtk-config."
11095 if test -f conf.gtktest
; then
11098 echo "*** Could not run GTK test program, checking why..."
11099 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11100 LIBS
="$LIBS $GTK_LIBS"
11101 cat > conftest.
$ac_ext <<EOF
11102 #line 11103 "configure"
11103 #include "confdefs.h"
11105 #include <gtk/gtk.h>
11109 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11112 if { (eval echo configure
:11113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11114 echo "*** The test program compiled, but did not run. This usually means"
11115 echo "*** that the run-time linker is not finding GTK or finding the wrong"
11116 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
11117 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11118 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11119 echo "*** is required on your system"
11121 echo "*** If you have an old version installed, it is best to remove it, although"
11122 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11124 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
11125 echo "*** came with the system with the command"
11127 echo "*** rpm --erase --nodeps gtk gtk-devel"
11129 echo "configure: failed program was:" >&5
11130 cat conftest.
$ac_ext >&5
11132 echo "*** The test program failed to compile or link. See the file config.log for the"
11133 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
11134 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
11135 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
11138 CFLAGS
="$ac_save_CFLAGS"
11139 LIBS
="$ac_save_LIBS"
11152 if test -z "$wx_cv_lib_gtk"; then
11155 wx_cv_cflags_gtk
=$GTK_CFLAGS
11156 wx_cv_libs_gtk
=$GTK_LIBS
11163 if test "$gtk_version_cached" = 1; then
11164 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
11167 case "$wx_cv_lib_gtk" in
11175 *) { echo "configure: error:
11176 Please check that gtk-config is in path, the directory
11177 where GTK+ libraries are installed (returned by
11178 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
11179 equivalent variable and GTK+ is version 1.2.3 or above.
11184 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
11185 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
11187 AFMINSTALL
=afminstall
11191 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
11192 echo "configure:11193: checking for gdk_im_open in -lgdk" >&5
11193 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
11194 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11195 echo $ac_n "(cached) $ac_c" 1>&6
11197 ac_save_LIBS
="$LIBS"
11199 cat > conftest.
$ac_ext <<EOF
11200 #line 11201 "configure"
11201 #include "confdefs.h"
11202 /* Override any gcc2 internal prototype to avoid an error. */
11203 /* We use char because int might match the return type of a gcc2
11204 builtin and then its argument prototype would still apply. */
11205 char gdk_im_open();
11211 if { (eval echo configure
:11212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11213 eval "ac_cv_lib_$ac_lib_var=yes"
11215 echo "configure: failed program was:" >&5
11216 cat conftest.
$ac_ext >&5
11218 eval "ac_cv_lib_$ac_lib_var=no"
11221 LIBS
="$ac_save_LIBS"
11224 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11225 echo "$ac_t""yes" 1>&6
11226 cat >> confdefs.h
<<\EOF
11231 echo "$ac_t""no" 1>&6
11236 if test "$wxUSE_MGL" = 1; then
11237 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
11238 echo "configure:11239: checking for SciTech MGL library" >&5
11239 if test "x$MGL_ROOT" = x
; then
11240 echo "$ac_t""not found" 1>&6
11241 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
11243 echo "$ac_t""$MGL_ROOT" 1>&6
11248 mgl_os
=linux
/gcc
/glibc
11254 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
11259 if test "$wxUSE_DEBUG_FLAG" = yes ; then
11260 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
11261 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
11265 if test "x$mgl_lib_type" = x
; then
11266 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
11267 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
11268 mgl_lib_type
=release
11270 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
11274 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
11275 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
11277 AFMINSTALL
=afminstall
11282 if test "$wxUSE_MICROWIN" = 1; then
11283 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
11284 echo "configure:11285: checking for MicroWindows" >&5
11285 if test "x$MICROWINDOWS" = x
; then
11286 echo "$ac_t""not found" 1>&6
11287 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
11289 echo "$ac_t""$MICROWINDOWS" 1>&6
11292 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
11293 echo "$ac_t""MicroWindows' libraries found." 1>&6
11295 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
11298 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
11299 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
11301 AFMINSTALL
=afminstall
11303 GUIDIST
=MICROWIN_DIST
11305 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
11308 if test "$wxUSE_X11" = 1; then
11309 # If we find X, set shell vars x_includes and x_libraries to the
11310 # paths, otherwise set no_x=yes.
11311 # Uses ac_ vars as temps to allow command line to override cache and checks.
11312 # --without-x overrides everything else, but does not touch the cache.
11313 echo $ac_n "checking for X""... $ac_c" 1>&6
11314 echo "configure:11315: checking for X" >&5
11316 # Check whether --with-x or --without-x was given.
11317 if test "${with_x+set}" = set; then
11322 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11323 if test "x$with_x" = xno
; then
11324 # The user explicitly disabled X.
11327 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
11328 # Both variables are already set.
11331 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
11332 echo $ac_n "(cached) $ac_c" 1>&6
11334 # One or both of the vars are not set, and there is no cached value.
11335 ac_x_includes
=NO ac_x_libraries
=NO
11337 if mkdir conftestdir
; then
11339 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
11340 cat > Imakefile
<<'EOF'
11342 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
11344 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11345 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11346 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
11347 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11348 for ac_extension
in a so sl
; do
11349 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
11350 test -f $ac_im_libdir/libX11.
$ac_extension; then
11351 ac_im_usrlibdir
=$ac_im_libdir; break
11354 # Screen out bogus values from the imake configuration. They are
11355 # bogus both because they are the default anyway, and because
11356 # using them would break gcc on systems where it needs fixed includes.
11357 case "$ac_im_incroot" in
11359 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
11361 case "$ac_im_usrlibdir" in
11362 /usr
/lib
| /lib
) ;;
11363 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
11370 if test "$ac_x_includes" = NO
; then
11371 # Guess where to find include files, by looking for this one X11 .h file.
11372 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
11374 # First, try using that file with no special directory specified.
11375 cat > conftest.
$ac_ext <<EOF
11376 #line 11377 "configure"
11377 #include "confdefs.h"
11378 #include <$x_direct_test_include>
11380 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11381 { (eval echo configure
:11382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11382 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11383 if test -z "$ac_err"; then
11385 # We can compile using X headers with no special include directory.
11389 echo "configure: failed program was:" >&5
11390 cat conftest.
$ac_ext >&5
11392 # Look for the header file in a standard set of common directories.
11393 # Check X11 before X11Rn because it is often a symlink to the current release.
11396 /usr
/X
11R
6/include \
11397 /usr
/X
11R
5/include \
11398 /usr
/X
11R
4/include \
11401 /usr
/include
/X11R6 \
11402 /usr
/include
/X11R5 \
11403 /usr
/include
/X11R4 \
11405 /usr
/local
/X
11/include \
11406 /usr
/local
/X
11R
6/include \
11407 /usr
/local
/X
11R
5/include \
11408 /usr
/local
/X
11R
4/include \
11410 /usr
/local
/include
/X11 \
11411 /usr
/local
/include
/X11R6 \
11412 /usr
/local
/include
/X11R5 \
11413 /usr
/local
/include
/X11R4 \
11415 /usr
/X
386/include \
11416 /usr
/x
386/include \
11417 /usr
/XFree
86/include
/X11 \
11420 /usr
/local
/include \
11421 /usr
/unsupported
/include \
11422 /usr
/athena
/include \
11423 /usr
/local
/x
11r
5/include \
11424 /usr
/lpp
/Xamples
/include \
11426 /usr
/openwin
/include \
11427 /usr
/openwin
/share
/include \
11430 if test -r "$ac_dir/$x_direct_test_include"; then
11431 ac_x_includes
=$ac_dir
11437 fi # $ac_x_includes = NO
11439 if test "$ac_x_libraries" = NO
; then
11440 # Check for the libraries.
11442 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
11443 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
11445 # See if we find them without any special options.
11446 # Don't add to $LIBS permanently.
11447 ac_save_LIBS
="$LIBS"
11448 LIBS
="-l$x_direct_test_library $LIBS"
11449 cat > conftest.
$ac_ext <<EOF
11450 #line 11451 "configure"
11451 #include "confdefs.h"
11454 ${x_direct_test_function}()
11457 if { (eval echo configure
:11458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11459 LIBS
="$ac_save_LIBS"
11460 # We can link X programs with no special library path.
11463 echo "configure: failed program was:" >&5
11464 cat conftest.
$ac_ext >&5
11466 LIBS
="$ac_save_LIBS"
11467 # First see if replacing the include by lib works.
11468 # Check X11 before X11Rn because it is often a symlink to the current release.
11469 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
11480 /usr
/local
/X
11/lib \
11481 /usr
/local
/X
11R
6/lib \
11482 /usr
/local
/X
11R
5/lib \
11483 /usr
/local
/X
11R
4/lib \
11485 /usr
/local
/lib
/X11 \
11486 /usr
/local
/lib
/X11R6 \
11487 /usr
/local
/lib
/X11R5 \
11488 /usr
/local
/lib
/X11R4 \
11492 /usr
/XFree
86/lib
/X11 \
11496 /usr
/unsupported
/lib \
11498 /usr
/local
/x
11r
5/lib \
11499 /usr
/lpp
/Xamples
/lib \
11503 /usr
/openwin
/share
/lib \
11506 for ac_extension
in a so sl
; do
11507 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
11508 ac_x_libraries
=$ac_dir
11515 fi # $ac_x_libraries = NO
11517 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
11518 # Didn't find X anywhere. Cache the known absence of X.
11519 ac_cv_have_x
="have_x=no"
11521 # Record where we found X for the cache.
11522 ac_cv_have_x
="have_x=yes \
11523 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
11527 eval "$ac_cv_have_x"
11530 if test "$have_x" != yes; then
11531 echo "$ac_t""$have_x" 1>&6
11534 # If each of the values was on the command line, it overrides each guess.
11535 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11536 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11537 # Update the cache value to reflect the command line values.
11538 ac_cv_have_x
="have_x=yes \
11539 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11540 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
11543 if test "$no_x" = yes; then
11544 # Not all programs may use this symbol, but it does not hurt to define it.
11545 cat >> confdefs.h
<<\EOF
11546 #define X_DISPLAY_MISSING 1
11549 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
11551 if test -n "$x_includes"; then
11552 X_CFLAGS
="$X_CFLAGS -I$x_includes"
11555 # It would also be nice to do this for all -L options, not just this one.
11556 if test -n "$x_libraries"; then
11557 X_LIBS
="$X_LIBS -L$x_libraries"
11558 # For Solaris; some versions of Sun CC require a space after -R and
11559 # others require no space. Words are not sufficient . . . .
11560 case "`(uname -sr) 2>/dev/null`" in
11562 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
11563 echo "configure:11564: checking whether -R must be followed by a space" >&5
11564 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
11565 cat > conftest.
$ac_ext <<EOF
11566 #line 11567 "configure"
11567 #include "confdefs.h"
11573 if { (eval echo configure
:11574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11577 echo "configure: failed program was:" >&5
11578 cat conftest.
$ac_ext >&5
11583 if test $ac_R_nospace = yes; then
11584 echo "$ac_t""no" 1>&6
11585 X_LIBS
="$X_LIBS -R$x_libraries"
11587 LIBS
="$ac_xsave_LIBS -R $x_libraries"
11588 cat > conftest.
$ac_ext <<EOF
11589 #line 11590 "configure"
11590 #include "confdefs.h"
11596 if { (eval echo configure
:11597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11600 echo "configure: failed program was:" >&5
11601 cat conftest.
$ac_ext >&5
11606 if test $ac_R_space = yes; then
11607 echo "$ac_t""yes" 1>&6
11608 X_LIBS
="$X_LIBS -R $x_libraries"
11610 echo "$ac_t""neither works" 1>&6
11613 LIBS
="$ac_xsave_LIBS"
11617 # Check for system-dependent libraries X programs must link with.
11618 # Do this before checking for the system-independent R6 libraries
11619 # (-lICE), since we may need -lsocket or whatever for X linking.
11621 if test "$ISC" = yes; then
11622 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
11624 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
11625 # libraries were built with DECnet support. And karl@cs.umb.edu says
11626 # the Alpha needs dnet_stub (dnet does not exist).
11627 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
11628 echo "configure:11629: checking for dnet_ntoa in -ldnet" >&5
11629 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11630 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11631 echo $ac_n "(cached) $ac_c" 1>&6
11633 ac_save_LIBS
="$LIBS"
11634 LIBS
="-ldnet $LIBS"
11635 cat > conftest.
$ac_ext <<EOF
11636 #line 11637 "configure"
11637 #include "confdefs.h"
11638 /* Override any gcc2 internal prototype to avoid an error. */
11639 /* We use char because int might match the return type of a gcc2
11640 builtin and then its argument prototype would still apply. */
11647 if { (eval echo configure
:11648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11649 eval "ac_cv_lib_$ac_lib_var=yes"
11651 echo "configure: failed program was:" >&5
11652 cat conftest.
$ac_ext >&5
11654 eval "ac_cv_lib_$ac_lib_var=no"
11657 LIBS
="$ac_save_LIBS"
11660 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11661 echo "$ac_t""yes" 1>&6
11662 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
11664 echo "$ac_t""no" 1>&6
11667 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
11668 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
11669 echo "configure:11670: checking for dnet_ntoa in -ldnet_stub" >&5
11670 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11671 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11672 echo $ac_n "(cached) $ac_c" 1>&6
11674 ac_save_LIBS
="$LIBS"
11675 LIBS
="-ldnet_stub $LIBS"
11676 cat > 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. */
11688 if { (eval echo configure
:11689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11690 eval "ac_cv_lib_$ac_lib_var=yes"
11692 echo "configure: failed program was:" >&5
11693 cat conftest.
$ac_ext >&5
11695 eval "ac_cv_lib_$ac_lib_var=no"
11698 LIBS
="$ac_save_LIBS"
11701 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11702 echo "$ac_t""yes" 1>&6
11703 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
11705 echo "$ac_t""no" 1>&6
11710 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11711 # to get the SysV transport functions.
11712 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
11714 # The nsl library prevents programs from opening the X display
11715 # on Irix 5.2, according to dickey@clark.net.
11716 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
11717 echo "configure:11718: checking for gethostbyname" >&5
11718 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
11719 echo $ac_n "(cached) $ac_c" 1>&6
11721 cat > conftest.
$ac_ext <<EOF
11722 #line 11723 "configure"
11723 #include "confdefs.h"
11724 /* System header to define __stub macros and hopefully few prototypes,
11725 which can conflict with char gethostbyname(); below. */
11726 #include <assert.h>
11727 /* Override any gcc2 internal prototype to avoid an error. */
11728 /* We use char because int might match the return type of a gcc2
11729 builtin and then its argument prototype would still apply. */
11730 char gethostbyname();
11734 /* The GNU C library defines this for functions which it implements
11735 to always fail with ENOSYS. Some functions are actually named
11736 something starting with __ and the normal name is an alias. */
11737 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11745 if { (eval echo configure
:11746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11747 eval "ac_cv_func_gethostbyname=yes"
11749 echo "configure: failed program was:" >&5
11750 cat conftest.
$ac_ext >&5
11752 eval "ac_cv_func_gethostbyname=no"
11757 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11758 echo "$ac_t""yes" 1>&6
11761 echo "$ac_t""no" 1>&6
11764 if test $ac_cv_func_gethostbyname = no
; then
11765 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11766 echo "configure:11767: checking for gethostbyname in -lnsl" >&5
11767 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11768 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11769 echo $ac_n "(cached) $ac_c" 1>&6
11771 ac_save_LIBS
="$LIBS"
11773 cat > conftest.
$ac_ext <<EOF
11774 #line 11775 "configure"
11775 #include "confdefs.h"
11776 /* Override any gcc2 internal prototype to avoid an error. */
11777 /* We use char because int might match the return type of a gcc2
11778 builtin and then its argument prototype would still apply. */
11779 char gethostbyname();
11785 if { (eval echo configure
:11786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11787 eval "ac_cv_lib_$ac_lib_var=yes"
11789 echo "configure: failed program was:" >&5
11790 cat conftest.
$ac_ext >&5
11792 eval "ac_cv_lib_$ac_lib_var=no"
11795 LIBS
="$ac_save_LIBS"
11798 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11799 echo "$ac_t""yes" 1>&6
11800 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
11802 echo "$ac_t""no" 1>&6
11807 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11808 # socket/setsockopt and other routines are undefined under SCO ODT
11809 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11810 # on later versions), says simon@lia.di.epfl.ch: it contains
11811 # gethostby* variants that don't use the nameserver (or something).
11812 # -lsocket must be given before -lnsl if both are needed.
11813 # We assume that if connect needs -lnsl, so does gethostbyname.
11814 echo $ac_n "checking for connect""... $ac_c" 1>&6
11815 echo "configure:11816: checking for connect" >&5
11816 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11817 echo $ac_n "(cached) $ac_c" 1>&6
11819 cat > conftest.
$ac_ext <<EOF
11820 #line 11821 "configure"
11821 #include "confdefs.h"
11822 /* System header to define __stub macros and hopefully few prototypes,
11823 which can conflict with char connect(); below. */
11824 #include <assert.h>
11825 /* Override any gcc2 internal prototype to avoid an error. */
11826 /* We use char because int might match the return type of a gcc2
11827 builtin and then its argument prototype would still apply. */
11832 /* The GNU C library defines this for functions which it implements
11833 to always fail with ENOSYS. Some functions are actually named
11834 something starting with __ and the normal name is an alias. */
11835 #if defined (__stub_connect) || defined (__stub___connect)
11843 if { (eval echo configure
:11844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11845 eval "ac_cv_func_connect=yes"
11847 echo "configure: failed program was:" >&5
11848 cat conftest.
$ac_ext >&5
11850 eval "ac_cv_func_connect=no"
11855 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11856 echo "$ac_t""yes" 1>&6
11859 echo "$ac_t""no" 1>&6
11862 if test $ac_cv_func_connect = no
; then
11863 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11864 echo "configure:11865: checking for connect in -lsocket" >&5
11865 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11866 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11867 echo $ac_n "(cached) $ac_c" 1>&6
11869 ac_save_LIBS
="$LIBS"
11870 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
11871 cat > conftest.
$ac_ext <<EOF
11872 #line 11873 "configure"
11873 #include "confdefs.h"
11874 /* Override any gcc2 internal prototype to avoid an error. */
11875 /* We use char because int might match the return type of a gcc2
11876 builtin and then its argument prototype would still apply. */
11883 if { (eval echo configure
:11884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11885 eval "ac_cv_lib_$ac_lib_var=yes"
11887 echo "configure: failed program was:" >&5
11888 cat conftest.
$ac_ext >&5
11890 eval "ac_cv_lib_$ac_lib_var=no"
11893 LIBS
="$ac_save_LIBS"
11896 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11897 echo "$ac_t""yes" 1>&6
11898 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
11900 echo "$ac_t""no" 1>&6
11905 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11906 echo $ac_n "checking for remove""... $ac_c" 1>&6
11907 echo "configure:11908: checking for remove" >&5
11908 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11909 echo $ac_n "(cached) $ac_c" 1>&6
11911 cat > conftest.
$ac_ext <<EOF
11912 #line 11913 "configure"
11913 #include "confdefs.h"
11914 /* System header to define __stub macros and hopefully few prototypes,
11915 which can conflict with char remove(); below. */
11916 #include <assert.h>
11917 /* Override any gcc2 internal prototype to avoid an error. */
11918 /* We use char because int might match the return type of a gcc2
11919 builtin and then its argument prototype would still apply. */
11924 /* The GNU C library defines this for functions which it implements
11925 to always fail with ENOSYS. Some functions are actually named
11926 something starting with __ and the normal name is an alias. */
11927 #if defined (__stub_remove) || defined (__stub___remove)
11935 if { (eval echo configure
:11936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11937 eval "ac_cv_func_remove=yes"
11939 echo "configure: failed program was:" >&5
11940 cat conftest.
$ac_ext >&5
11942 eval "ac_cv_func_remove=no"
11947 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
11948 echo "$ac_t""yes" 1>&6
11951 echo "$ac_t""no" 1>&6
11954 if test $ac_cv_func_remove = no
; then
11955 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
11956 echo "configure:11957: checking for remove in -lposix" >&5
11957 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
11958 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11959 echo $ac_n "(cached) $ac_c" 1>&6
11961 ac_save_LIBS
="$LIBS"
11962 LIBS
="-lposix $LIBS"
11963 cat > conftest.
$ac_ext <<EOF
11964 #line 11965 "configure"
11965 #include "confdefs.h"
11966 /* Override any gcc2 internal prototype to avoid an error. */
11967 /* We use char because int might match the return type of a gcc2
11968 builtin and then its argument prototype would still apply. */
11975 if { (eval echo configure
:11976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11977 eval "ac_cv_lib_$ac_lib_var=yes"
11979 echo "configure: failed program was:" >&5
11980 cat conftest.
$ac_ext >&5
11982 eval "ac_cv_lib_$ac_lib_var=no"
11985 LIBS
="$ac_save_LIBS"
11988 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11989 echo "$ac_t""yes" 1>&6
11990 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
11992 echo "$ac_t""no" 1>&6
11997 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11998 echo $ac_n "checking for shmat""... $ac_c" 1>&6
11999 echo "configure:12000: checking for shmat" >&5
12000 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12001 echo $ac_n "(cached) $ac_c" 1>&6
12003 cat > conftest.
$ac_ext <<EOF
12004 #line 12005 "configure"
12005 #include "confdefs.h"
12006 /* System header to define __stub macros and hopefully few prototypes,
12007 which can conflict with char shmat(); below. */
12008 #include <assert.h>
12009 /* Override any gcc2 internal prototype to avoid an error. */
12010 /* We use char because int might match the return type of a gcc2
12011 builtin and then its argument prototype would still apply. */
12016 /* The GNU C library defines this for functions which it implements
12017 to always fail with ENOSYS. Some functions are actually named
12018 something starting with __ and the normal name is an alias. */
12019 #if defined (__stub_shmat) || defined (__stub___shmat)
12027 if { (eval echo configure
:12028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12029 eval "ac_cv_func_shmat=yes"
12031 echo "configure: failed program was:" >&5
12032 cat conftest.
$ac_ext >&5
12034 eval "ac_cv_func_shmat=no"
12039 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12040 echo "$ac_t""yes" 1>&6
12043 echo "$ac_t""no" 1>&6
12046 if test $ac_cv_func_shmat = no
; then
12047 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12048 echo "configure:12049: checking for shmat in -lipc" >&5
12049 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12050 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12051 echo $ac_n "(cached) $ac_c" 1>&6
12053 ac_save_LIBS
="$LIBS"
12055 cat > conftest.
$ac_ext <<EOF
12056 #line 12057 "configure"
12057 #include "confdefs.h"
12058 /* Override any gcc2 internal prototype to avoid an error. */
12059 /* We use char because int might match the return type of a gcc2
12060 builtin and then its argument prototype would still apply. */
12067 if { (eval echo configure
:12068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12069 eval "ac_cv_lib_$ac_lib_var=yes"
12071 echo "configure: failed program was:" >&5
12072 cat conftest.
$ac_ext >&5
12074 eval "ac_cv_lib_$ac_lib_var=no"
12077 LIBS
="$ac_save_LIBS"
12080 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12081 echo "$ac_t""yes" 1>&6
12082 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
12084 echo "$ac_t""no" 1>&6
12090 # Check for libraries that X11R6 Xt/Xaw programs need.
12091 ac_save_LDFLAGS
="$LDFLAGS"
12092 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
12093 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12094 # check for ICE first), but we must link in the order -lSM -lICE or
12095 # we get undefined symbols. So assume we have SM if we have ICE.
12096 # These have to be linked with before -lX11, unlike the other
12097 # libraries we check for below, so use a different variable.
12098 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12099 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12100 echo "configure:12101: checking for IceConnectionNumber in -lICE" >&5
12101 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12102 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12103 echo $ac_n "(cached) $ac_c" 1>&6
12105 ac_save_LIBS
="$LIBS"
12106 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
12107 cat > conftest.
$ac_ext <<EOF
12108 #line 12109 "configure"
12109 #include "confdefs.h"
12110 /* Override any gcc2 internal prototype to avoid an error. */
12111 /* We use char because int might match the return type of a gcc2
12112 builtin and then its argument prototype would still apply. */
12113 char IceConnectionNumber();
12116 IceConnectionNumber()
12119 if { (eval echo configure
:12120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12121 eval "ac_cv_lib_$ac_lib_var=yes"
12123 echo "configure: failed program was:" >&5
12124 cat conftest.
$ac_ext >&5
12126 eval "ac_cv_lib_$ac_lib_var=no"
12129 LIBS
="$ac_save_LIBS"
12132 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12133 echo "$ac_t""yes" 1>&6
12134 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
12136 echo "$ac_t""no" 1>&6
12139 LDFLAGS
="$ac_save_LDFLAGS"
12144 if test "$no_x" = "yes"; then
12145 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12148 GUI_TK_LIBRARY
="$X_LIBS"
12149 TOOLKIT_INCLUDE
="$X_CFLAGS"
12150 AFMINSTALL
=afminstall
12151 COMPILED_X_PROGRAM
=0
12153 if test "$wxUSE_NANOX" = "yes"; then
12154 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
12155 echo "configure:12156: checking for MicroWindows/NanoX distribution" >&5
12156 if test "x$MICROWIN" = x
; then
12157 echo "$ac_t""not found" 1>&6
12158 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
12160 echo "$ac_t""$MICROWIN" 1>&6
12161 cat >> confdefs.h
<<\EOF
12162 #define wxUSE_NANOX 1
12169 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12170 echo "configure:12171: checking for Xpm library" >&5
12173 for ac_dir
in $SEARCH_LIB;
12175 for ac_extension
in a so sl dylib
; do
12176 if test -f "$ac_dir/libXpm.$ac_extension"; then
12177 ac_find_libraries
=$ac_dir
12183 if test "$ac_find_libraries" != "" ; then
12185 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
12187 if test $result = 0; then
12190 ac_path_to_link
=" -L$ac_find_libraries"
12193 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
12195 cat >> confdefs.h
<<\EOF
12196 #define wxHAVE_LIB_XPM 1
12199 echo "$ac_t""found at $ac_find_libraries" 1>&6
12201 cat > conftest.
$ac_ext <<EOF
12202 #line 12203 "configure"
12203 #include "confdefs.h"
12205 #include <X11/xpm.h>
12210 version = XpmLibraryVersion();
12214 if { (eval echo configure
:12215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12218 cat >> confdefs.h
<<\EOF
12219 #define wxHAVE_LIB_XPM 1
12222 echo "$ac_t""found in default search path" 1>&6
12223 COMPILED_X_PROGRAM
=0
12226 echo "configure: failed program was:" >&5
12227 cat conftest.
$ac_ext >&5
12230 echo "$ac_t""no" 1>&6
12231 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12238 if test "$wxUSE_NANOX" = "yes"; then
12239 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
12240 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__NANOX__ -DMWPIXEL_FORMAT=MWPF_TRUECOLOR0888 -DHAVE_FILEIO -DHAVE_BMP_SUPPORT=1 -DHAVE_GIF_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1 -DLINUX=1 -DUNIX=1 -DUSE_EXPOSURE -DSCREEN_HEIGHT=480 -DSCREEN_WIDTH=640 -DSCREEN_DEPTH=4 -DX11=1"
12241 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
12243 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
12246 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
12251 if test "$wxUSE_WINE" = 1; then
12252 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
12253 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12254 echo "configure:12255: checking for windows.h" >&5
12255 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12256 echo $ac_n "(cached) $ac_c" 1>&6
12258 cat > conftest.
$ac_ext <<EOF
12259 #line 12260 "configure"
12260 #include "confdefs.h"
12261 #include <windows.h>
12263 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12264 { (eval echo configure
:12265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12265 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12266 if test -z "$ac_err"; then
12268 eval "ac_cv_header_$ac_safe=yes"
12271 echo "configure: failed program was:" >&5
12272 cat conftest.
$ac_ext >&5
12274 eval "ac_cv_header_$ac_safe=no"
12278 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12279 echo "$ac_t""yes" 1>&6
12282 echo "$ac_t""no" 1>&6
12284 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12290 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12291 echo "configure:12292: checking for Xpm library" >&5
12294 for ac_dir
in $SEARCH_LIB;
12296 for ac_extension
in a so sl dylib
; do
12297 if test -f "$ac_dir/libXpm.$ac_extension"; then
12298 ac_find_libraries
=$ac_dir
12304 if test "$ac_find_libraries" != "" ; then
12305 GUI_TK_LIBRARY
="-L$ac_find_libraries"
12307 cat >> confdefs.h
<<\EOF
12308 #define wxHAVE_LIB_XPM 1
12311 echo "$ac_t""found at $ac_find_libraries" 1>&6
12313 echo "$ac_t""no" 1>&6
12314 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12318 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
12319 echo "configure:12320: checking for Mesa library" >&5
12322 for ac_dir
in $SEARCH_LIB;
12324 for ac_extension
in a so sl dylib
; do
12325 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
12326 ac_find_libraries
=$ac_dir
12332 if test "$ac_find_libraries" != "" ; then
12333 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
12334 mesa_link
=" -lMesaGL"
12335 echo "$ac_t""found at $ac_find_libraries" 1>&6
12337 { echo "configure: error: no" 1>&2; exit 1; }
12340 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
12343 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
12346 if test "$wxUSE_MOTIF" = 1; then
12347 if test "$no_x" = yes; then
12348 # Not all programs may use this symbol, but it does not hurt to define it.
12349 cat >> confdefs.h
<<\EOF
12350 #define X_DISPLAY_MISSING 1
12353 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
12355 if test -n "$x_includes"; then
12356 X_CFLAGS
="$X_CFLAGS -I$x_includes"
12359 # It would also be nice to do this for all -L options, not just this one.
12360 if test -n "$x_libraries"; then
12361 X_LIBS
="$X_LIBS -L$x_libraries"
12362 # For Solaris; some versions of Sun CC require a space after -R and
12363 # others require no space. Words are not sufficient . . . .
12364 case "`(uname -sr) 2>/dev/null`" in
12366 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
12367 echo "configure:12368: checking whether -R must be followed by a space" >&5
12368 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
12369 cat > conftest.
$ac_ext <<EOF
12370 #line 12371 "configure"
12371 #include "confdefs.h"
12377 if { (eval echo configure
:12378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12381 echo "configure: failed program was:" >&5
12382 cat conftest.
$ac_ext >&5
12387 if test $ac_R_nospace = yes; then
12388 echo "$ac_t""no" 1>&6
12389 X_LIBS
="$X_LIBS -R$x_libraries"
12391 LIBS
="$ac_xsave_LIBS -R $x_libraries"
12392 cat > conftest.
$ac_ext <<EOF
12393 #line 12394 "configure"
12394 #include "confdefs.h"
12400 if { (eval echo configure
:12401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12404 echo "configure: failed program was:" >&5
12405 cat conftest.
$ac_ext >&5
12410 if test $ac_R_space = yes; then
12411 echo "$ac_t""yes" 1>&6
12412 X_LIBS
="$X_LIBS -R $x_libraries"
12414 echo "$ac_t""neither works" 1>&6
12417 LIBS
="$ac_xsave_LIBS"
12421 # Check for system-dependent libraries X programs must link with.
12422 # Do this before checking for the system-independent R6 libraries
12423 # (-lICE), since we may need -lsocket or whatever for X linking.
12425 if test "$ISC" = yes; then
12426 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
12428 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
12429 # libraries were built with DECnet support. And karl@cs.umb.edu says
12430 # the Alpha needs dnet_stub (dnet does not exist).
12431 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
12432 echo "configure:12433: checking for dnet_ntoa in -ldnet" >&5
12433 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12434 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12435 echo $ac_n "(cached) $ac_c" 1>&6
12437 ac_save_LIBS
="$LIBS"
12438 LIBS
="-ldnet $LIBS"
12439 cat > conftest.
$ac_ext <<EOF
12440 #line 12441 "configure"
12441 #include "confdefs.h"
12442 /* Override any gcc2 internal prototype to avoid an error. */
12443 /* We use char because int might match the return type of a gcc2
12444 builtin and then its argument prototype would still apply. */
12451 if { (eval echo configure
:12452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12453 eval "ac_cv_lib_$ac_lib_var=yes"
12455 echo "configure: failed program was:" >&5
12456 cat conftest.
$ac_ext >&5
12458 eval "ac_cv_lib_$ac_lib_var=no"
12461 LIBS
="$ac_save_LIBS"
12464 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12465 echo "$ac_t""yes" 1>&6
12466 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
12468 echo "$ac_t""no" 1>&6
12471 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
12472 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
12473 echo "configure:12474: checking for dnet_ntoa in -ldnet_stub" >&5
12474 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12475 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12476 echo $ac_n "(cached) $ac_c" 1>&6
12478 ac_save_LIBS
="$LIBS"
12479 LIBS
="-ldnet_stub $LIBS"
12480 cat > conftest.
$ac_ext <<EOF
12481 #line 12482 "configure"
12482 #include "confdefs.h"
12483 /* Override any gcc2 internal prototype to avoid an error. */
12484 /* We use char because int might match the return type of a gcc2
12485 builtin and then its argument prototype would still apply. */
12492 if { (eval echo configure
:12493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12494 eval "ac_cv_lib_$ac_lib_var=yes"
12496 echo "configure: failed program was:" >&5
12497 cat conftest.
$ac_ext >&5
12499 eval "ac_cv_lib_$ac_lib_var=no"
12502 LIBS
="$ac_save_LIBS"
12505 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12506 echo "$ac_t""yes" 1>&6
12507 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
12509 echo "$ac_t""no" 1>&6
12514 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
12515 # to get the SysV transport functions.
12516 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
12518 # The nsl library prevents programs from opening the X display
12519 # on Irix 5.2, according to dickey@clark.net.
12520 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
12521 echo "configure:12522: checking for gethostbyname" >&5
12522 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
12523 echo $ac_n "(cached) $ac_c" 1>&6
12525 cat > conftest.
$ac_ext <<EOF
12526 #line 12527 "configure"
12527 #include "confdefs.h"
12528 /* System header to define __stub macros and hopefully few prototypes,
12529 which can conflict with char gethostbyname(); below. */
12530 #include <assert.h>
12531 /* Override any gcc2 internal prototype to avoid an error. */
12532 /* We use char because int might match the return type of a gcc2
12533 builtin and then its argument prototype would still apply. */
12534 char gethostbyname();
12538 /* The GNU C library defines this for functions which it implements
12539 to always fail with ENOSYS. Some functions are actually named
12540 something starting with __ and the normal name is an alias. */
12541 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
12549 if { (eval echo configure
:12550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12551 eval "ac_cv_func_gethostbyname=yes"
12553 echo "configure: failed program was:" >&5
12554 cat conftest.
$ac_ext >&5
12556 eval "ac_cv_func_gethostbyname=no"
12561 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
12562 echo "$ac_t""yes" 1>&6
12565 echo "$ac_t""no" 1>&6
12568 if test $ac_cv_func_gethostbyname = no
; then
12569 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
12570 echo "configure:12571: checking for gethostbyname in -lnsl" >&5
12571 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
12572 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12573 echo $ac_n "(cached) $ac_c" 1>&6
12575 ac_save_LIBS
="$LIBS"
12577 cat > conftest.
$ac_ext <<EOF
12578 #line 12579 "configure"
12579 #include "confdefs.h"
12580 /* Override any gcc2 internal prototype to avoid an error. */
12581 /* We use char because int might match the return type of a gcc2
12582 builtin and then its argument prototype would still apply. */
12583 char gethostbyname();
12589 if { (eval echo configure
:12590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12591 eval "ac_cv_lib_$ac_lib_var=yes"
12593 echo "configure: failed program was:" >&5
12594 cat conftest.
$ac_ext >&5
12596 eval "ac_cv_lib_$ac_lib_var=no"
12599 LIBS
="$ac_save_LIBS"
12602 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12603 echo "$ac_t""yes" 1>&6
12604 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
12606 echo "$ac_t""no" 1>&6
12611 # lieder@skyler.mavd.honeywell.com says without -lsocket,
12612 # socket/setsockopt and other routines are undefined under SCO ODT
12613 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
12614 # on later versions), says simon@lia.di.epfl.ch: it contains
12615 # gethostby* variants that don't use the nameserver (or something).
12616 # -lsocket must be given before -lnsl if both are needed.
12617 # We assume that if connect needs -lnsl, so does gethostbyname.
12618 echo $ac_n "checking for connect""... $ac_c" 1>&6
12619 echo "configure:12620: checking for connect" >&5
12620 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
12621 echo $ac_n "(cached) $ac_c" 1>&6
12623 cat > conftest.
$ac_ext <<EOF
12624 #line 12625 "configure"
12625 #include "confdefs.h"
12626 /* System header to define __stub macros and hopefully few prototypes,
12627 which can conflict with char connect(); below. */
12628 #include <assert.h>
12629 /* Override any gcc2 internal prototype to avoid an error. */
12630 /* We use char because int might match the return type of a gcc2
12631 builtin and then its argument prototype would still apply. */
12636 /* The GNU C library defines this for functions which it implements
12637 to always fail with ENOSYS. Some functions are actually named
12638 something starting with __ and the normal name is an alias. */
12639 #if defined (__stub_connect) || defined (__stub___connect)
12647 if { (eval echo configure
:12648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12649 eval "ac_cv_func_connect=yes"
12651 echo "configure: failed program was:" >&5
12652 cat conftest.
$ac_ext >&5
12654 eval "ac_cv_func_connect=no"
12659 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
12660 echo "$ac_t""yes" 1>&6
12663 echo "$ac_t""no" 1>&6
12666 if test $ac_cv_func_connect = no
; then
12667 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
12668 echo "configure:12669: checking for connect in -lsocket" >&5
12669 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
12670 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12671 echo $ac_n "(cached) $ac_c" 1>&6
12673 ac_save_LIBS
="$LIBS"
12674 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
12675 cat > conftest.
$ac_ext <<EOF
12676 #line 12677 "configure"
12677 #include "confdefs.h"
12678 /* Override any gcc2 internal prototype to avoid an error. */
12679 /* We use char because int might match the return type of a gcc2
12680 builtin and then its argument prototype would still apply. */
12687 if { (eval echo configure
:12688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12689 eval "ac_cv_lib_$ac_lib_var=yes"
12691 echo "configure: failed program was:" >&5
12692 cat conftest.
$ac_ext >&5
12694 eval "ac_cv_lib_$ac_lib_var=no"
12697 LIBS
="$ac_save_LIBS"
12700 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12701 echo "$ac_t""yes" 1>&6
12702 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
12704 echo "$ac_t""no" 1>&6
12709 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
12710 echo $ac_n "checking for remove""... $ac_c" 1>&6
12711 echo "configure:12712: checking for remove" >&5
12712 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
12713 echo $ac_n "(cached) $ac_c" 1>&6
12715 cat > conftest.
$ac_ext <<EOF
12716 #line 12717 "configure"
12717 #include "confdefs.h"
12718 /* System header to define __stub macros and hopefully few prototypes,
12719 which can conflict with char remove(); below. */
12720 #include <assert.h>
12721 /* Override any gcc2 internal prototype to avoid an error. */
12722 /* We use char because int might match the return type of a gcc2
12723 builtin and then its argument prototype would still apply. */
12728 /* The GNU C library defines this for functions which it implements
12729 to always fail with ENOSYS. Some functions are actually named
12730 something starting with __ and the normal name is an alias. */
12731 #if defined (__stub_remove) || defined (__stub___remove)
12739 if { (eval echo configure
:12740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12741 eval "ac_cv_func_remove=yes"
12743 echo "configure: failed program was:" >&5
12744 cat conftest.
$ac_ext >&5
12746 eval "ac_cv_func_remove=no"
12751 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
12752 echo "$ac_t""yes" 1>&6
12755 echo "$ac_t""no" 1>&6
12758 if test $ac_cv_func_remove = no
; then
12759 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
12760 echo "configure:12761: checking for remove in -lposix" >&5
12761 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
12762 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12763 echo $ac_n "(cached) $ac_c" 1>&6
12765 ac_save_LIBS
="$LIBS"
12766 LIBS
="-lposix $LIBS"
12767 cat > conftest.
$ac_ext <<EOF
12768 #line 12769 "configure"
12769 #include "confdefs.h"
12770 /* Override any gcc2 internal prototype to avoid an error. */
12771 /* We use char because int might match the return type of a gcc2
12772 builtin and then its argument prototype would still apply. */
12779 if { (eval echo configure
:12780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12781 eval "ac_cv_lib_$ac_lib_var=yes"
12783 echo "configure: failed program was:" >&5
12784 cat conftest.
$ac_ext >&5
12786 eval "ac_cv_lib_$ac_lib_var=no"
12789 LIBS
="$ac_save_LIBS"
12792 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12793 echo "$ac_t""yes" 1>&6
12794 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
12796 echo "$ac_t""no" 1>&6
12801 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12802 echo $ac_n "checking for shmat""... $ac_c" 1>&6
12803 echo "configure:12804: checking for shmat" >&5
12804 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12805 echo $ac_n "(cached) $ac_c" 1>&6
12807 cat > conftest.
$ac_ext <<EOF
12808 #line 12809 "configure"
12809 #include "confdefs.h"
12810 /* System header to define __stub macros and hopefully few prototypes,
12811 which can conflict with char shmat(); below. */
12812 #include <assert.h>
12813 /* Override any gcc2 internal prototype to avoid an error. */
12814 /* We use char because int might match the return type of a gcc2
12815 builtin and then its argument prototype would still apply. */
12820 /* The GNU C library defines this for functions which it implements
12821 to always fail with ENOSYS. Some functions are actually named
12822 something starting with __ and the normal name is an alias. */
12823 #if defined (__stub_shmat) || defined (__stub___shmat)
12831 if { (eval echo configure
:12832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12833 eval "ac_cv_func_shmat=yes"
12835 echo "configure: failed program was:" >&5
12836 cat conftest.
$ac_ext >&5
12838 eval "ac_cv_func_shmat=no"
12843 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12844 echo "$ac_t""yes" 1>&6
12847 echo "$ac_t""no" 1>&6
12850 if test $ac_cv_func_shmat = no
; then
12851 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12852 echo "configure:12853: checking for shmat in -lipc" >&5
12853 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12854 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12855 echo $ac_n "(cached) $ac_c" 1>&6
12857 ac_save_LIBS
="$LIBS"
12859 cat > conftest.
$ac_ext <<EOF
12860 #line 12861 "configure"
12861 #include "confdefs.h"
12862 /* Override any gcc2 internal prototype to avoid an error. */
12863 /* We use char because int might match the return type of a gcc2
12864 builtin and then its argument prototype would still apply. */
12871 if { (eval echo configure
:12872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12873 eval "ac_cv_lib_$ac_lib_var=yes"
12875 echo "configure: failed program was:" >&5
12876 cat conftest.
$ac_ext >&5
12878 eval "ac_cv_lib_$ac_lib_var=no"
12881 LIBS
="$ac_save_LIBS"
12884 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12885 echo "$ac_t""yes" 1>&6
12886 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
12888 echo "$ac_t""no" 1>&6
12894 # Check for libraries that X11R6 Xt/Xaw programs need.
12895 ac_save_LDFLAGS
="$LDFLAGS"
12896 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
12897 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12898 # check for ICE first), but we must link in the order -lSM -lICE or
12899 # we get undefined symbols. So assume we have SM if we have ICE.
12900 # These have to be linked with before -lX11, unlike the other
12901 # libraries we check for below, so use a different variable.
12902 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12903 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12904 echo "configure:12905: checking for IceConnectionNumber in -lICE" >&5
12905 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12906 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12907 echo $ac_n "(cached) $ac_c" 1>&6
12909 ac_save_LIBS
="$LIBS"
12910 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
12911 cat > conftest.
$ac_ext <<EOF
12912 #line 12913 "configure"
12913 #include "confdefs.h"
12914 /* Override any gcc2 internal prototype to avoid an error. */
12915 /* We use char because int might match the return type of a gcc2
12916 builtin and then its argument prototype would still apply. */
12917 char IceConnectionNumber();
12920 IceConnectionNumber()
12923 if { (eval echo configure
:12924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12925 eval "ac_cv_lib_$ac_lib_var=yes"
12927 echo "configure: failed program was:" >&5
12928 cat conftest.
$ac_ext >&5
12930 eval "ac_cv_lib_$ac_lib_var=no"
12933 LIBS
="$ac_save_LIBS"
12936 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12937 echo "$ac_t""yes" 1>&6
12938 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
12940 echo "$ac_t""no" 1>&6
12943 LDFLAGS
="$ac_save_LDFLAGS"
12948 if test "$no_x" = "yes"; then
12949 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12952 GUI_TK_LIBRARY
="$X_LIBS"
12953 TOOLKIT_INCLUDE
="$X_CFLAGS"
12954 AFMINSTALL
=afminstall
12955 COMPILED_X_PROGRAM
=0
12957 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
12958 echo "configure:12959: checking for Motif/Lesstif headers" >&5
12961 for ac_dir
in $SEARCH_INCLUDE;
12963 if test -f "$ac_dir/Xm/Xm.h"; then
12964 ac_find_includes
=$ac_dir
12969 if test "$ac_find_includes" != "" ; then
12970 echo "$ac_t""found $ac_find_includes" 1>&6
12972 cat > conftest.
$ac_ext <<EOF
12973 #line 12974 "configure"
12974 #include "confdefs.h"
12981 version = xmUseVersion;
12985 if { (eval echo configure
:12986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12988 echo "$ac_t""found in default search path" 1>&6
12989 COMPILED_X_PROGRAM
=1
12992 echo "configure: failed program was:" >&5
12993 cat conftest.
$ac_ext >&5
12996 echo "$ac_t""no" 1>&6
12997 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
13004 if test "$COMPILED_X_PROGRAM" = 0; then
13005 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
13006 echo "configure:13007: checking for Motif/Lesstif library" >&5
13009 for ac_dir
in $SEARCH_LIB;
13011 for ac_extension
in a so sl dylib
; do
13012 if test -f "$ac_dir/libXm.$ac_extension"; then
13013 ac_find_libraries
=$ac_dir
13019 if test "$ac_find_libraries" != "" ; then
13021 ac_path_to_include
=$ac_find_includes
13022 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
13024 if test $result = 0; then
13025 ac_path_to_include
=""
13027 ac_path_to_include
=" -I$ac_find_includes"
13031 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13033 if test $result = 0; then
13036 ac_path_to_link
=" -L$ac_find_libraries"
13040 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13041 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
13042 echo "$ac_t""found at $ac_find_libraries" 1>&6
13044 cat > conftest.
$ac_ext <<EOF
13045 #line 13046 "configure"
13046 #include "confdefs.h"
13053 version = xmUseVersion;
13057 if { (eval echo configure
:13058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13060 echo "$ac_t""found in default search path" 1>&6
13061 COMPILED_X_PROGRAM
=1
13064 echo "configure: failed program was:" >&5
13065 cat conftest.
$ac_ext >&5
13068 echo "$ac_t""no" 1>&6
13069 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
13078 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13079 echo "configure:13080: checking for Xpm library" >&5
13082 for ac_dir
in $SEARCH_LIB;
13084 for ac_extension
in a so sl dylib
; do
13085 if test -f "$ac_dir/libXpm.$ac_extension"; then
13086 ac_find_libraries
=$ac_dir
13092 if test "$ac_find_libraries" != "" ; then
13094 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13096 if test $result = 0; then
13099 ac_path_to_link
=" -L$ac_find_libraries"
13102 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13104 cat >> confdefs.h
<<\EOF
13105 #define wxHAVE_LIB_XPM 1
13108 echo "$ac_t""found at $ac_find_libraries" 1>&6
13110 cat > conftest.
$ac_ext <<EOF
13111 #line 13112 "configure"
13112 #include "confdefs.h"
13114 #include <X11/xpm.h>
13119 version = XpmLibraryVersion();
13123 if { (eval echo configure
:13124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13127 cat >> confdefs.h
<<\EOF
13128 #define wxHAVE_LIB_XPM 1
13131 echo "$ac_t""found in default search path" 1>&6
13132 COMPILED_X_PROGRAM
=0
13135 echo "configure: failed program was:" >&5
13136 cat conftest.
$ac_ext >&5
13139 echo "$ac_t""no" 1>&6
13140 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13147 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
13148 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
13153 if test "$wxUSE_MAC" = 1; then
13154 if test "$wxUSE_PRECOMP" = "yes"; then
13155 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
13157 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
13158 CFLAGS
="$CFLAGS -fpascal-strings"
13159 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
13161 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
13166 if test "$wxUSE_PM" = 1; then
13171 if test "$TOOLKIT" = "PM" ; then
13174 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
13177 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
13179 if test "$wxUSE_UNIVERSAL" = "yes"; then
13180 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
13182 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
13183 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
13185 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
13186 if test "$wxUSE_X11" = 1; then
13187 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
13189 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
13191 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
13194 ALL_OBJECTS
="\$(GUIOBJS)"
13195 ALL_SOURCES
="\$(ALL_SOURCES)"
13196 ALL_HEADERS
="\$(ALL_HEADERS)"
13199 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
13201 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
13202 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
13205 if test "$wxUSE_HTML" = "yes"; then
13206 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
13209 if test "$wxUSE_LIBJPEG" = "builtin" ; then
13210 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
13212 if test "$wxUSE_LIBTIFF" = "builtin" ; then
13213 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
13215 if test "$wxUSE_LIBPNG" = "builtin" ; then
13216 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
13219 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
13220 DISTDIR
="wx\$(TOOLKIT)"
13226 if test "$USE_WIN32" = 1 ; then
13227 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
13228 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
13232 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
13233 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
13236 ALL_SOURCES
="\$(ALL_SOURCES)"
13237 ALL_HEADERS
="\$(ALL_HEADERS)"
13239 PORT_FILES
="\${top_srcdir}/src/files.lst"
13241 GUIDIST
="BASE_DIST"
13246 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
13247 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
13250 if test "$wxUSE_REGEX" = "builtin" ; then
13251 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
13253 if test "$wxUSE_ZLIB" = "builtin" ; then
13254 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
13257 if test "$wxUSE_OPENGL" = "yes"; then
13258 if test "$wxUSE_MAC" = 1; then
13259 OPENGL_LIBS
="-framework OpenGL -framework AGL"
13262 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
13263 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
13264 echo "configure:13265: checking for GL/gl.h" >&5
13265 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13266 echo $ac_n "(cached) $ac_c" 1>&6
13268 cat > conftest.
$ac_ext <<EOF
13269 #line 13270 "configure"
13270 #include "confdefs.h"
13273 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13274 { (eval echo configure
:13275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13275 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13276 if test -z "$ac_err"; then
13278 eval "ac_cv_header_$ac_safe=yes"
13281 echo "configure: failed program was:" >&5
13282 cat conftest.
$ac_ext >&5
13284 eval "ac_cv_header_$ac_safe=no"
13288 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13289 echo "$ac_t""yes" 1>&6
13291 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
13292 echo "configure:13293: checking for -lGL" >&5
13295 for ac_dir
in $SEARCH_LIB;
13297 for ac_extension
in a so sl dylib
; do
13298 if test -f "$ac_dir/libGL.$ac_extension"; then
13299 ac_find_libraries
=$ac_dir
13305 if test "$ac_find_libraries" != "" ; then
13307 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
13309 if test $result = 0; then
13312 ac_path_to_link
=" -L$ac_find_libraries"
13315 if test "$ac_path_to_link" = " -L/usr/lib" ; then
13316 LDFLAGS_GL
="$LDFLAGS"
13318 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
13320 OPENGL_LIBS
="-lGL -lGLU"
13321 echo "$ac_t""yes" 1>&6
13323 echo "$ac_t""no" 1>&6
13324 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
13325 echo "configure:13326: checking for -lMesaGL" >&5
13328 for ac_dir
in $SEARCH_LIB;
13330 for ac_extension
in a so sl dylib
; do
13331 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
13332 ac_find_libraries
=$ac_dir
13338 if test "$ac_find_libraries" != "" ; then
13340 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
13342 if test $result = 0; then
13345 ac_path_to_link
=" -L$ac_find_libraries"
13348 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
13349 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
13350 echo "$ac_t""yes" 1>&6
13352 echo "$ac_t""no" 1>&6
13357 echo "$ac_t""no" 1>&6
13362 # AC_CHECK_HEADER(GL/gl.h,
13364 # AC_CHECK_LIB(GL, glFlush,
13366 # OPENGL_LIBS="-lGL -lGLU"
13369 # AC_CHECK_LIB(MesaGL, glFlush,
13371 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
13379 if test "x$OPENGL_LIBS" = "x"; then
13380 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
13384 if test "$wxUSE_OPENGL" = "yes"; then
13385 cat >> confdefs.h
<<\EOF
13386 #define wxUSE_OPENGL 1
13389 cat >> confdefs.h
<<\EOF
13390 #define wxUSE_GLCANVAS 1
13393 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
13397 if test -z "$TOOLKIT_VPATH" ; then
13398 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
13401 if test -n "$TOOLKIT" ; then
13402 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
13405 lib_unicode_suffix
=
13406 if test "$wxUSE_UNICODE" = "yes"; then
13407 lib_unicode_suffix
=u
13411 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
13415 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
13416 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
13418 if test "$cross_compiling" = "yes"; then
13419 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
13420 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
13423 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
13424 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
13426 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
13427 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
13429 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
13430 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
13431 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
13432 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
13435 *-*-cygwin* | *-*-mingw32* )
13439 if test "$cross_compiling" != "yes"; then
13440 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
13441 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
13442 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
13443 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
13445 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
13446 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
13451 if test "$wxUSE_MAC" = 1; then
13452 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.r"
13453 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.rsrc"
13458 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
13459 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
13461 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
13462 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
13464 if test "$wxUSE_OPENGL" = "yes"; then
13465 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
13466 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
13471 if test "$wxUSE_SHARED" = "yes"; then
13473 *-pc-os2_emx | *-pc-os2-emx | \
13476 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
13481 if test "$wxUSE_SHARED" = "yes"; then
13483 if test "$wxUSE_OPENGL" = "yes"; then
13484 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
13485 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
13487 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
13488 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
13491 if test "$GCC" = "yes"; then
13495 SHARED_LD
="${CXX} -shared -o"
13499 if test "$GCC" == "yes"; then
13500 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
13502 LDFLAGS
="$LDFLAGS -L/usr/lib"
13504 SHARED_LD
="${CXX} -b -o"
13508 if test "$wxUSE_OPENGL" = "yes"; then
13509 WX_ALL_INSTALLED
="preinstall_gl"
13510 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
13512 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
13517 if test "$GCC" != "yes"; then
13518 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
13519 echo "configure:13520: checking for Intel compiler" >&5
13520 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
13521 echo $ac_n "(cached) $ac_c" 1>&6
13524 cat > conftest.
$ac_ext <<EOF
13525 #line 13526 "configure"
13526 #include "confdefs.h"
13530 #ifndef __INTEL_COMPILER
13536 if { (eval echo configure
:13537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13540 echo "configure: failed program was:" >&5
13541 cat conftest.
$ac_ext >&5
13550 echo "$ac_t""$wx_cv_prog_icc" 1>&6
13551 if test "$wx_cv_prog_icc" = "yes"; then
13556 if test "$wxUSE_SONAME" = "yes" ; then
13557 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
13558 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
13559 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
13564 if test "$GCC" = yes ; then
13565 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
13567 SHARED_LD
="${CXX} -G -o"
13569 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
13570 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
13575 CFLAGS
="$CFLAGS -fno-common -DWXMAKINGDLL"
13576 CXXFLAGS
="$CXXFLAGS -fno-common -DWXMAKINGDLL"
13577 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
13578 PIC_FLAG
="-dynamic -fPIC"
13579 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"
13580 SONAME_FLAGS_GL
=${SONAME_FLAGS}
13584 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
13587 *-*-cygwin* | *-*-mingw32* )
13589 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
13591 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
13592 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
13594 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
13596 if test "$wxUSE_OPENGL" = "yes"; then
13597 WX_ALL_INSTALLED
="preinstall_gl"
13598 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
13600 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
13605 SHARED_LD
="${LD} -shared -o"
13608 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
13610 *-*-irix5* | *-*-irix6* | \
13617 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
13620 if test "x$WX_TARGET_LIBRARY" = "x"; then
13621 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
13622 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
13625 WX_TARGET_LIBRARY_TYPE
="so"
13626 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
13629 if test "$wxUSE_SHARED" = "no"; then
13631 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
13632 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
13635 if test "$wxUSE_MAC" = 1; then
13636 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
13639 if test "$wxUSE_OPENGL" = "yes"; then
13640 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
13641 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
13643 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
13646 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
13647 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
13649 WX_TARGET_LIBRARY_TYPE
="a"
13650 INSTALL_LIBRARY
='$(INSTALL_DATA)'
13653 if test "$wxUSE_MAC" = 1; then
13654 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
13655 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
13656 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
13657 # Extract the first word of "Rez", so it can be a program name with args.
13658 set dummy Rez
; ac_word
=$2
13659 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13660 echo "configure:13661: checking for $ac_word" >&5
13661 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
13662 echo $ac_n "(cached) $ac_c" 1>&6
13664 if test -n "$RESCOMP"; then
13665 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
13667 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13669 for ac_dir
in $ac_dummy; do
13670 test -z "$ac_dir" && ac_dir
=.
13671 if test -f $ac_dir/$ac_word; then
13672 ac_cv_prog_RESCOMP
="Rez"
13677 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
13680 RESCOMP
="$ac_cv_prog_RESCOMP"
13681 if test -n "$RESCOMP"; then
13682 echo "$ac_t""$RESCOMP" 1>&6
13684 echo "$ac_t""no" 1>&6
13687 # Extract the first word of "DeRez", so it can be a program name with args.
13688 set dummy DeRez
; ac_word
=$2
13689 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13690 echo "configure:13691: checking for $ac_word" >&5
13691 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
13692 echo $ac_n "(cached) $ac_c" 1>&6
13694 if test -n "$DEREZ"; then
13695 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
13697 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13699 for ac_dir
in $ac_dummy; do
13700 test -z "$ac_dir" && ac_dir
=.
13701 if test -f $ac_dir/$ac_word; then
13702 ac_cv_prog_DEREZ
="DeRez"
13707 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
13710 DEREZ
="$ac_cv_prog_DEREZ"
13711 if test -n "$DEREZ"; then
13712 echo "$ac_t""$DEREZ" 1>&6
13714 echo "$ac_t""no" 1>&6
13717 MACOSX_BUNDLE
="bundle"
13718 if test "$wxUSE_SHARED" = "yes"; then
13719 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r -o \$(BIN_PROGRAM)"
13720 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r -o"
13722 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
13723 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
13726 if test "$wxUSE_PM" = 1; then
13727 LIBWXMACRESCOMP
="emxbind -ep \$(BIN_PROGRAM)"
13732 if test "$wxUSE_MAC" != 1; then
13733 for ac_hdr
in strings.h
13735 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13736 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13737 echo "configure:13738: checking for $ac_hdr" >&5
13738 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13739 echo $ac_n "(cached) $ac_c" 1>&6
13741 cat > conftest.
$ac_ext <<EOF
13742 #line 13743 "configure"
13743 #include "confdefs.h"
13746 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13747 { (eval echo configure
:13748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13748 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13749 if test -z "$ac_err"; then
13751 eval "ac_cv_header_$ac_safe=yes"
13754 echo "configure: failed program was:" >&5
13755 cat conftest.
$ac_ext >&5
13757 eval "ac_cv_header_$ac_safe=no"
13761 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13762 echo "$ac_t""yes" 1>&6
13763 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13764 cat >> confdefs.h
<<EOF
13765 #define $ac_tr_hdr 1
13769 echo "$ac_t""no" 1>&6
13775 for ac_hdr
in stdlib.h
13777 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13778 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13779 echo "configure:13780: checking for $ac_hdr" >&5
13780 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13781 echo $ac_n "(cached) $ac_c" 1>&6
13783 cat > conftest.
$ac_ext <<EOF
13784 #line 13785 "configure"
13785 #include "confdefs.h"
13788 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13789 { (eval echo configure
:13790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13790 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13791 if test -z "$ac_err"; then
13793 eval "ac_cv_header_$ac_safe=yes"
13796 echo "configure: failed program was:" >&5
13797 cat conftest.
$ac_ext >&5
13799 eval "ac_cv_header_$ac_safe=no"
13803 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13804 echo "$ac_t""yes" 1>&6
13805 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13806 cat >> confdefs.h
<<EOF
13807 #define $ac_tr_hdr 1
13811 echo "$ac_t""no" 1>&6
13815 for ac_hdr
in malloc.h
13817 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13818 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13819 echo "configure:13820: checking for $ac_hdr" >&5
13820 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13821 echo $ac_n "(cached) $ac_c" 1>&6
13823 cat > conftest.
$ac_ext <<EOF
13824 #line 13825 "configure"
13825 #include "confdefs.h"
13828 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13829 { (eval echo configure
:13830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13830 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13831 if test -z "$ac_err"; then
13833 eval "ac_cv_header_$ac_safe=yes"
13836 echo "configure: failed program was:" >&5
13837 cat conftest.
$ac_ext >&5
13839 eval "ac_cv_header_$ac_safe=no"
13843 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13844 echo "$ac_t""yes" 1>&6
13845 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13846 cat >> confdefs.h
<<EOF
13847 #define $ac_tr_hdr 1
13851 echo "$ac_t""no" 1>&6
13855 for ac_hdr
in unistd.h
13857 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13858 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13859 echo "configure:13860: checking for $ac_hdr" >&5
13860 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13861 echo $ac_n "(cached) $ac_c" 1>&6
13863 cat > conftest.
$ac_ext <<EOF
13864 #line 13865 "configure"
13865 #include "confdefs.h"
13868 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13869 { (eval echo configure
:13870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13870 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13871 if test -z "$ac_err"; then
13873 eval "ac_cv_header_$ac_safe=yes"
13876 echo "configure: failed program was:" >&5
13877 cat conftest.
$ac_ext >&5
13879 eval "ac_cv_header_$ac_safe=no"
13883 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13884 echo "$ac_t""yes" 1>&6
13885 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13886 cat >> confdefs.h
<<EOF
13887 #define $ac_tr_hdr 1
13891 echo "$ac_t""no" 1>&6
13895 for ac_hdr
in wchar.h
13897 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13898 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13899 echo "configure:13900: checking for $ac_hdr" >&5
13900 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13901 echo $ac_n "(cached) $ac_c" 1>&6
13903 cat > conftest.
$ac_ext <<EOF
13904 #line 13905 "configure"
13905 #include "confdefs.h"
13908 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13909 { (eval echo configure
:13910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13910 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13911 if test -z "$ac_err"; then
13913 eval "ac_cv_header_$ac_safe=yes"
13916 echo "configure: failed program was:" >&5
13917 cat conftest.
$ac_ext >&5
13919 eval "ac_cv_header_$ac_safe=no"
13923 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13924 echo "$ac_t""yes" 1>&6
13925 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13926 cat >> confdefs.h
<<EOF
13927 #define $ac_tr_hdr 1
13931 echo "$ac_t""no" 1>&6
13936 if test "$ac_cv_header_wchar_h" != "yes"; then
13937 for ac_hdr
in wcstr.h
13939 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13940 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13941 echo "configure:13942: checking for $ac_hdr" >&5
13942 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13943 echo $ac_n "(cached) $ac_c" 1>&6
13945 cat > conftest.
$ac_ext <<EOF
13946 #line 13947 "configure"
13947 #include "confdefs.h"
13950 ac_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; }
13952 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13953 if test -z "$ac_err"; then
13955 eval "ac_cv_header_$ac_safe=yes"
13958 echo "configure: failed program was:" >&5
13959 cat conftest.
$ac_ext >&5
13961 eval "ac_cv_header_$ac_safe=no"
13965 if 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
13973 echo "$ac_t""no" 1>&6
13980 for ac_hdr
in fnmatch.h
13982 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13983 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13984 echo "configure:13985: checking for $ac_hdr" >&5
13985 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13986 echo $ac_n "(cached) $ac_c" 1>&6
13988 cat > conftest.
$ac_ext <<EOF
13989 #line 13990 "configure"
13990 #include "confdefs.h"
13993 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13994 { (eval echo configure
:13995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13995 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13996 if test -z "$ac_err"; then
13998 eval "ac_cv_header_$ac_safe=yes"
14001 echo "configure: failed program was:" >&5
14002 cat conftest.
$ac_ext >&5
14004 eval "ac_cv_header_$ac_safe=no"
14008 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14009 echo "$ac_t""yes" 1>&6
14010 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14011 cat >> confdefs.h
<<EOF
14012 #define $ac_tr_hdr 1
14016 echo "$ac_t""no" 1>&6
14020 for ac_hdr
in langinfo.h
14022 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14023 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14024 echo "configure:14025: checking for $ac_hdr" >&5
14025 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14026 echo $ac_n "(cached) $ac_c" 1>&6
14028 cat > conftest.
$ac_ext <<EOF
14029 #line 14030 "configure"
14030 #include "confdefs.h"
14033 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14034 { (eval echo configure
:14035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14035 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14036 if test -z "$ac_err"; then
14038 eval "ac_cv_header_$ac_safe=yes"
14041 echo "configure: failed program was:" >&5
14042 cat conftest.
$ac_ext >&5
14044 eval "ac_cv_header_$ac_safe=no"
14048 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14049 echo "$ac_t""yes" 1>&6
14050 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14051 cat >> confdefs.h
<<EOF
14052 #define $ac_tr_hdr 1
14056 echo "$ac_t""no" 1>&6
14061 if test "$wxUSE_GUI" = "yes"; then
14062 if test "$wxUSE_UNIX" = "yes"; then
14063 for ac_hdr
in X
11/XKBlib.h
14065 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14066 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14067 echo "configure:14068: checking for $ac_hdr" >&5
14068 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14069 echo $ac_n "(cached) $ac_c" 1>&6
14071 cat > conftest.
$ac_ext <<EOF
14072 #line 14073 "configure"
14073 #include "confdefs.h"
14076 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14077 { (eval echo configure
:14078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14078 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14079 if test -z "$ac_err"; then
14081 eval "ac_cv_header_$ac_safe=yes"
14084 echo "configure: failed program was:" >&5
14085 cat conftest.
$ac_ext >&5
14087 eval "ac_cv_header_$ac_safe=no"
14091 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14092 echo "$ac_t""yes" 1>&6
14093 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14094 cat >> confdefs.h
<<EOF
14095 #define $ac_tr_hdr 1
14099 echo "$ac_t""no" 1>&6
14107 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
14108 echo "configure:14109: checking for ANSI C header files" >&5
14109 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
14110 echo $ac_n "(cached) $ac_c" 1>&6
14112 cat > conftest.
$ac_ext <<EOF
14113 #line 14114 "configure"
14114 #include "confdefs.h"
14115 #include <stdlib.h>
14116 #include <stdarg.h>
14117 #include <string.h>
14120 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14121 { (eval echo configure
:14122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14122 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14123 if test -z "$ac_err"; then
14125 ac_cv_header_stdc
=yes
14128 echo "configure: failed program was:" >&5
14129 cat conftest.
$ac_ext >&5
14131 ac_cv_header_stdc
=no
14135 if test $ac_cv_header_stdc = yes; then
14136 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14137 cat > conftest.
$ac_ext <<EOF
14138 #line 14139 "configure"
14139 #include "confdefs.h"
14140 #include <string.h>
14142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14143 egrep "memchr" >/dev
/null
2>&1; then
14147 ac_cv_header_stdc
=no
14153 if test $ac_cv_header_stdc = yes; then
14154 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14155 cat > conftest.
$ac_ext <<EOF
14156 #line 14157 "configure"
14157 #include "confdefs.h"
14158 #include <stdlib.h>
14160 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14161 egrep "free" >/dev
/null
2>&1; then
14165 ac_cv_header_stdc
=no
14171 if test $ac_cv_header_stdc = yes; then
14172 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14173 if test "$cross_compiling" = yes; then
14176 cat > conftest.
$ac_ext <<EOF
14177 #line 14178 "configure"
14178 #include "confdefs.h"
14180 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14181 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14182 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14183 int main () { int i; for (i = 0; i < 256; i++)
14184 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
14188 if { (eval echo configure
:14189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14192 echo "configure: failed program was:" >&5
14193 cat conftest.
$ac_ext >&5
14195 ac_cv_header_stdc
=no
14203 echo "$ac_t""$ac_cv_header_stdc" 1>&6
14204 if test $ac_cv_header_stdc = yes; then
14205 cat >> confdefs.h
<<\EOF
14206 #define STDC_HEADERS 1
14211 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
14212 echo "configure:14213: checking for mode_t" >&5
14213 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
14214 echo $ac_n "(cached) $ac_c" 1>&6
14216 cat > conftest.
$ac_ext <<EOF
14217 #line 14218 "configure"
14218 #include "confdefs.h"
14219 #include <sys/types.h>
14221 #include <stdlib.h>
14222 #include <stddef.h>
14225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14226 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14228 ac_cv_type_mode_t
=yes
14231 ac_cv_type_mode_t
=no
14236 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
14237 if test $ac_cv_type_mode_t = no
; then
14238 cat >> confdefs.h
<<\EOF
14244 echo $ac_n "checking for off_t""... $ac_c" 1>&6
14245 echo "configure:14246: checking for off_t" >&5
14246 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
14247 echo $ac_n "(cached) $ac_c" 1>&6
14249 cat > conftest.
$ac_ext <<EOF
14250 #line 14251 "configure"
14251 #include "confdefs.h"
14252 #include <sys/types.h>
14254 #include <stdlib.h>
14255 #include <stddef.h>
14258 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14259 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14261 ac_cv_type_off_t
=yes
14264 ac_cv_type_off_t
=no
14269 echo "$ac_t""$ac_cv_type_off_t" 1>&6
14270 if test $ac_cv_type_off_t = no
; then
14271 cat >> confdefs.h
<<\EOF
14277 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
14278 echo "configure:14279: checking for pid_t" >&5
14279 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
14280 echo $ac_n "(cached) $ac_c" 1>&6
14282 cat > conftest.
$ac_ext <<EOF
14283 #line 14284 "configure"
14284 #include "confdefs.h"
14285 #include <sys/types.h>
14287 #include <stdlib.h>
14288 #include <stddef.h>
14291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14292 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14294 ac_cv_type_pid_t
=yes
14297 ac_cv_type_pid_t
=no
14302 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
14303 if test $ac_cv_type_pid_t = no
; then
14304 cat >> confdefs.h
<<\EOF
14310 echo $ac_n "checking for size_t""... $ac_c" 1>&6
14311 echo "configure:14312: checking for size_t" >&5
14312 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
14313 echo $ac_n "(cached) $ac_c" 1>&6
14315 cat > conftest.
$ac_ext <<EOF
14316 #line 14317 "configure"
14317 #include "confdefs.h"
14318 #include <sys/types.h>
14320 #include <stdlib.h>
14321 #include <stddef.h>
14324 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14325 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14327 ac_cv_type_size_t
=yes
14330 ac_cv_type_size_t
=no
14335 echo "$ac_t""$ac_cv_type_size_t" 1>&6
14336 if test $ac_cv_type_size_t = no
; then
14337 cat >> confdefs.h
<<\EOF
14338 #define size_t unsigned
14343 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
14344 echo "configure:14345: checking for uid_t in sys/types.h" >&5
14345 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
14346 echo $ac_n "(cached) $ac_c" 1>&6
14348 cat > conftest.
$ac_ext <<EOF
14349 #line 14350 "configure"
14350 #include "confdefs.h"
14351 #include <sys/types.h>
14353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14354 egrep "uid_t" >/dev
/null
2>&1; then
14356 ac_cv_type_uid_t
=yes
14359 ac_cv_type_uid_t
=no
14365 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
14366 if test $ac_cv_type_uid_t = no
; then
14367 cat >> confdefs.h
<<\EOF
14371 cat >> confdefs.h
<<\EOF
14378 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
14379 echo "configure:14380: checking for wchar_t" >&5
14380 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
14381 echo $ac_n "(cached) $ac_c" 1>&6
14384 cat > conftest.
$ac_ext <<EOF
14385 #line 14386 "configure"
14386 #include "confdefs.h"
14388 #ifdef HAVE_WCHAR_H
14390 # include <stddef.h>
14392 # include <wchar.h>
14394 #ifdef HAVE_STDLIB_H
14395 # include <stdlib.h>
14402 ws = L"Hello, world!";
14406 if { (eval echo configure
:14407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14408 wx_cv_type_wchar_t
=yes
14410 echo "configure: failed program was:" >&5
14411 cat conftest.
$ac_ext >&5
14413 wx_cv_type_wchar_t
=no
14420 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
14422 if test "$wx_cv_type_wchar_t" = "yes"; then
14423 cat >> confdefs.h
<<\EOF
14424 #define wxUSE_WCHAR_T 1
14431 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14432 ac_cpp
='$CXXCPP $CPPFLAGS'
14433 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14434 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14435 cross_compiling
=$ac_cv_prog_cxx_cross
14437 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
14438 echo "configure:14439: checking if size_t is unsigned int" >&5
14439 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
14440 echo $ac_n "(cached) $ac_c" 1>&6
14442 cat > conftest.
$ac_ext <<EOF
14443 #line 14444 "configure"
14444 #include "confdefs.h"
14445 #include <stddef.h>
14450 struct Foo { void foo(size_t); void foo(unsigned int); };
14456 if { (eval echo configure
:14457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14458 wx_cv_size_t_is_uint
=no
14460 echo "configure: failed program was:" >&5
14461 cat conftest.
$ac_ext >&5
14463 wx_cv_size_t_is_uint
=yes
14470 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
14472 if test "$wx_cv_size_t_is_uint" = "yes"; then
14473 cat >> confdefs.h
<<\EOF
14474 #define wxSIZE_T_IS_UINT 1
14478 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
14479 echo "configure:14480: checking if size_t is unsigned long" >&5
14480 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
14481 echo $ac_n "(cached) $ac_c" 1>&6
14483 cat > conftest.
$ac_ext <<EOF
14484 #line 14485 "configure"
14485 #include "confdefs.h"
14486 #include <stddef.h>
14491 struct Foo { void foo(size_t); void foo(unsigned long); };
14497 if { (eval echo configure
:14498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14499 wx_cv_size_t_is_ulong
=no
14501 echo "configure: failed program was:" >&5
14502 cat conftest.
$ac_ext >&5
14504 wx_cv_size_t_is_ulong
=yes
14511 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
14513 if test "$wx_cv_size_t_is_ulong" = "yes"; then
14514 cat >> confdefs.h
<<\EOF
14515 #define wxSIZE_T_IS_ULONG 1
14522 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14523 ac_cpp
='$CPP $CPPFLAGS'
14524 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14525 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14526 cross_compiling
=$ac_cv_prog_cc_cross
14530 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
14531 echo "configure:14532: checking for pw_gecos in struct passwd" >&5
14532 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
14533 echo $ac_n "(cached) $ac_c" 1>&6
14536 cat > conftest.
$ac_ext <<EOF
14537 #line 14538 "configure"
14538 #include "confdefs.h"
14548 if { (eval echo configure
:14549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14551 wx_cv_struct_pw_gecos
=yes
14554 echo "configure: failed program was:" >&5
14555 cat conftest.
$ac_ext >&5
14558 wx_cv_struct_pw_gecos
=no
14567 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
14569 if test "$wx_cv_struct_pw_gecos" = "yes"; then
14570 cat >> confdefs.h
<<\EOF
14571 #define HAVE_PW_GECOS 1
14577 echo $ac_n "checking for working const""... $ac_c" 1>&6
14578 echo "configure:14579: checking for working const" >&5
14579 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
14580 echo $ac_n "(cached) $ac_c" 1>&6
14582 cat > conftest.
$ac_ext <<EOF
14583 #line 14584 "configure"
14584 #include "confdefs.h"
14588 /* Ultrix mips cc rejects this. */
14589 typedef int charset[2]; const charset x;
14590 /* SunOS 4.1.1 cc rejects this. */
14591 char const *const *ccp;
14593 /* NEC SVR4.0.2 mips cc rejects this. */
14594 struct point {int x, y;};
14595 static struct point const zero = {0,0};
14596 /* AIX XL C 1.02.0.0 rejects this.
14597 It does not let you subtract one const X* pointer from another in an arm
14598 of an if-expression whose if-part is not a constant expression */
14599 const char *g = "string";
14600 ccp = &g + (g ? g-g : 0);
14601 /* HPUX 7.0 cc rejects these. */
14604 ccp = (char const *const *) p;
14605 { /* SCO 3.2v4 cc rejects this. */
14607 char const *s = 0 ? (char *) 0 : (char const *) 0;
14611 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14612 int x[] = {25, 17};
14613 const int *foo = &x[0];
14616 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14617 typedef const int *iptr;
14621 { /* AIX XL C 1.02.0.0 rejects this saying
14622 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14623 struct s { int j; const int *ap[3]; };
14624 struct s *b; b->j = 5;
14626 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14627 const int foo = 10;
14632 if { (eval echo configure
:14633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14636 echo "configure: failed program was:" >&5
14637 cat conftest.
$ac_ext >&5
14644 echo "$ac_t""$ac_cv_c_const" 1>&6
14645 if test $ac_cv_c_const = no
; then
14646 cat >> confdefs.h
<<\EOF
14652 echo $ac_n "checking for inline""... $ac_c" 1>&6
14653 echo "configure:14654: checking for inline" >&5
14654 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
14655 echo $ac_n "(cached) $ac_c" 1>&6
14658 for ac_kw
in inline __inline__ __inline
; do
14659 cat > conftest.
$ac_ext <<EOF
14660 #line 14661 "configure"
14661 #include "confdefs.h"
14667 if { (eval echo configure
:14668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14669 ac_cv_c_inline
=$ac_kw; break
14671 echo "configure: failed program was:" >&5
14672 cat conftest.
$ac_ext >&5
14679 echo "$ac_t""$ac_cv_c_inline" 1>&6
14680 case "$ac_cv_c_inline" in
14682 no
) cat >> confdefs.h
<<\EOF
14686 *) cat >> confdefs.h
<<EOF
14687 #define inline $ac_cv_c_inline
14693 echo $ac_n "checking size of char""... $ac_c" 1>&6
14694 echo "configure:14695: checking size of char" >&5
14695 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
14696 echo $ac_n "(cached) $ac_c" 1>&6
14698 if test "$cross_compiling" = yes; then
14699 ac_cv_sizeof_char
=1
14701 cat > conftest.
$ac_ext <<EOF
14702 #line 14703 "configure"
14703 #include "confdefs.h"
14707 FILE *f=fopen("conftestval", "w");
14709 fprintf(f, "%d\n", sizeof(char));
14713 if { (eval echo configure
:14714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14715 ac_cv_sizeof_char
=`cat conftestval`
14717 echo "configure: failed program was:" >&5
14718 cat conftest.
$ac_ext >&5
14720 ac_cv_sizeof_char
=0
14726 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
14727 cat >> confdefs.h
<<EOF
14728 #define SIZEOF_CHAR $ac_cv_sizeof_char
14732 echo $ac_n "checking size of short""... $ac_c" 1>&6
14733 echo "configure:14734: checking size of short" >&5
14734 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
14735 echo $ac_n "(cached) $ac_c" 1>&6
14737 if test "$cross_compiling" = yes; then
14738 ac_cv_sizeof_short
=2
14740 cat > conftest.
$ac_ext <<EOF
14741 #line 14742 "configure"
14742 #include "confdefs.h"
14746 FILE *f=fopen("conftestval", "w");
14748 fprintf(f, "%d\n", sizeof(short));
14752 if { (eval echo configure
:14753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14754 ac_cv_sizeof_short
=`cat conftestval`
14756 echo "configure: failed program was:" >&5
14757 cat conftest.
$ac_ext >&5
14759 ac_cv_sizeof_short
=0
14765 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
14766 cat >> confdefs.h
<<EOF
14767 #define SIZEOF_SHORT $ac_cv_sizeof_short
14771 echo $ac_n "checking size of void *""... $ac_c" 1>&6
14772 echo "configure:14773: checking size of void *" >&5
14773 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
14774 echo $ac_n "(cached) $ac_c" 1>&6
14776 if test "$cross_compiling" = yes; then
14777 ac_cv_sizeof_void_p
=4
14779 cat > conftest.
$ac_ext <<EOF
14780 #line 14781 "configure"
14781 #include "confdefs.h"
14785 FILE *f=fopen("conftestval", "w");
14787 fprintf(f, "%d\n", sizeof(void *));
14791 if { (eval echo configure
:14792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14793 ac_cv_sizeof_void_p
=`cat conftestval`
14795 echo "configure: failed program was:" >&5
14796 cat conftest.
$ac_ext >&5
14798 ac_cv_sizeof_void_p
=0
14804 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
14805 cat >> confdefs.h
<<EOF
14806 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14810 echo $ac_n "checking size of int""... $ac_c" 1>&6
14811 echo "configure:14812: checking size of int" >&5
14812 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
14813 echo $ac_n "(cached) $ac_c" 1>&6
14815 if test "$cross_compiling" = yes; then
14818 cat > conftest.
$ac_ext <<EOF
14819 #line 14820 "configure"
14820 #include "confdefs.h"
14824 FILE *f=fopen("conftestval", "w");
14826 fprintf(f, "%d\n", sizeof(int));
14830 if { (eval echo configure
:14831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14832 ac_cv_sizeof_int
=`cat conftestval`
14834 echo "configure: failed program was:" >&5
14835 cat conftest.
$ac_ext >&5
14843 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
14844 cat >> confdefs.h
<<EOF
14845 #define SIZEOF_INT $ac_cv_sizeof_int
14849 echo $ac_n "checking size of long""... $ac_c" 1>&6
14850 echo "configure:14851: checking size of long" >&5
14851 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
14852 echo $ac_n "(cached) $ac_c" 1>&6
14854 if test "$cross_compiling" = yes; then
14855 ac_cv_sizeof_long
=4
14857 cat > conftest.
$ac_ext <<EOF
14858 #line 14859 "configure"
14859 #include "confdefs.h"
14863 FILE *f=fopen("conftestval", "w");
14865 fprintf(f, "%d\n", sizeof(long));
14869 if { (eval echo configure
:14870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14871 ac_cv_sizeof_long
=`cat conftestval`
14873 echo "configure: failed program was:" >&5
14874 cat conftest.
$ac_ext >&5
14876 ac_cv_sizeof_long
=0
14882 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
14883 cat >> confdefs.h
<<EOF
14884 #define SIZEOF_LONG $ac_cv_sizeof_long
14891 echo $ac_n "checking size of long long""... $ac_c" 1>&6
14892 echo "configure:14893: checking size of long long" >&5
14893 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
14894 echo $ac_n "(cached) $ac_c" 1>&6
14896 if test "$cross_compiling" = yes; then
14897 ac_cv_sizeof_long_long
=8
14899 cat > conftest.
$ac_ext <<EOF
14900 #line 14901 "configure"
14901 #include "confdefs.h"
14905 FILE *f=fopen("conftestval", "w");
14907 fprintf(f, "%d\n", sizeof(long long));
14911 if { (eval echo configure
:14912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14913 ac_cv_sizeof_long_long
=`cat conftestval`
14915 echo "configure: failed program was:" >&5
14916 cat conftest.
$ac_ext >&5
14918 ac_cv_sizeof_long_long
=0
14924 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
14925 cat >> confdefs.h
<<EOF
14926 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14932 echo $ac_n "checking size of long long""... $ac_c" 1>&6
14933 echo "configure:14934: checking size of long long" >&5
14934 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
14935 echo $ac_n "(cached) $ac_c" 1>&6
14937 if test "$cross_compiling" = yes; then
14938 ac_cv_sizeof_long_long
=0
14940 cat > conftest.
$ac_ext <<EOF
14941 #line 14942 "configure"
14942 #include "confdefs.h"
14946 FILE *f=fopen("conftestval", "w");
14948 fprintf(f, "%d\n", sizeof(long long));
14952 if { (eval echo configure
:14953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14954 ac_cv_sizeof_long_long
=`cat conftestval`
14956 echo "configure: failed program was:" >&5
14957 cat conftest.
$ac_ext >&5
14959 ac_cv_sizeof_long_long
=0
14965 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
14966 cat >> confdefs.h
<<EOF
14967 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14974 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
14975 echo "configure:14976: checking size of wchar_t" >&5
14976 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
14977 echo $ac_n "(cached) $ac_c" 1>&6
14980 if test "$cross_compiling" = yes; then
14981 wx_cv_sizeof_wchar_t
=4
14984 cat > conftest.
$ac_ext <<EOF
14985 #line 14986 "configure"
14986 #include "confdefs.h"
14988 #ifdef HAVE_WCHAR_H
14990 # include <stddef.h>
14992 # include <wchar.h>
14994 #ifdef HAVE_STDLIB_H
14995 # include <stdlib.h>
15000 FILE *f=fopen("conftestval", "w");
15002 fprintf(f, "%i", sizeof(wchar_t));
15007 if { (eval echo configure
:15008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
15009 wx_cv_sizeof_wchar_t
=`cat conftestval`
15011 echo "configure: failed program was:" >&5
15012 cat conftest.
$ac_ext >&5
15014 wx_cv_sizeof_wchar_t
=0
15022 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
15024 cat >> confdefs.h
<<EOF
15025 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
15029 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
15030 echo "configure:15031: checking whether byte ordering is bigendian" >&5
15031 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
15032 echo $ac_n "(cached) $ac_c" 1>&6
15034 ac_cv_c_bigendian
=unknown
15035 # See if sys/param.h defines the BYTE_ORDER macro.
15036 cat > conftest.
$ac_ext <<EOF
15037 #line 15038 "configure"
15038 #include "confdefs.h"
15039 #include <sys/types.h>
15040 #include <sys/param.h>
15043 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
15044 bogus endian macros
15048 if { (eval echo configure
:15049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15050 # It does; now see whether it defined to BIG_ENDIAN or not.
15051 cat > conftest.
$ac_ext <<EOF
15052 #line 15053 "configure"
15053 #include "confdefs.h"
15054 #include <sys/types.h>
15055 #include <sys/param.h>
15058 #if BYTE_ORDER != BIG_ENDIAN
15063 if { (eval echo configure
:15064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15065 ac_cv_c_bigendian
=yes
15067 echo "configure: failed program was:" >&5
15068 cat conftest.
$ac_ext >&5
15070 ac_cv_c_bigendian
=no
15074 echo "configure: failed program was:" >&5
15075 cat conftest.
$ac_ext >&5
15078 if test $ac_cv_c_bigendian = unknown
; then
15079 if test "$cross_compiling" = yes; then
15080 ac_cv_c_bigendian
=unknown
15082 cat > conftest.
$ac_ext <<EOF
15083 #line 15084 "configure"
15084 #include "confdefs.h"
15086 /* Are we little or big endian? From Harbison&Steele. */
15090 char c[sizeof (long)];
15093 exit (u.c[sizeof (long) - 1] == 1);
15096 if { (eval echo configure
:15097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
15098 ac_cv_c_bigendian
=no
15100 echo "configure: failed program was:" >&5
15101 cat conftest.
$ac_ext >&5
15103 ac_cv_c_bigendian
=yes
15111 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
15112 if test $ac_cv_c_bigendian = unknown
; then
15113 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
15115 if test $ac_cv_c_bigendian = yes; then
15116 cat >> confdefs.h
<<\EOF
15117 #define WORDS_BIGENDIAN 1
15123 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
15124 echo "configure:15125: checking how to run the C++ preprocessor" >&5
15125 if test -z "$CXXCPP"; then
15126 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
15127 echo $ac_n "(cached) $ac_c" 1>&6
15130 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15131 ac_cpp
='$CXXCPP $CPPFLAGS'
15132 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15133 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15134 cross_compiling
=$ac_cv_prog_cxx_cross
15135 CXXCPP
="${CXX-g++} -E"
15136 cat > conftest.
$ac_ext <<EOF
15137 #line 15138 "configure"
15138 #include "confdefs.h"
15139 #include <stdlib.h>
15141 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15142 { (eval echo configure
:15143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15143 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15144 if test -z "$ac_err"; then
15148 echo "configure: failed program was:" >&5
15149 cat conftest.
$ac_ext >&5
15154 ac_cv_prog_CXXCPP
="$CXXCPP"
15156 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15157 ac_cpp
='$CXXCPP $CPPFLAGS'
15158 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15159 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15160 cross_compiling
=$ac_cv_prog_cxx_cross
15163 CXXCPP
="$ac_cv_prog_CXXCPP"
15164 echo "$ac_t""$CXXCPP" 1>&6
15167 if test "$cross_compiling" = "yes"; then
15168 cat >> confdefs.h
<<\EOF
15169 #define wxUSE_IOSTREAMH 1
15175 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15176 ac_cpp
='$CXXCPP $CPPFLAGS'
15177 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15178 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15179 cross_compiling
=$ac_cv_prog_cxx_cross
15182 for ac_hdr
in iostream
15184 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15185 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15186 echo "configure:15187: checking for $ac_hdr" >&5
15187 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15188 echo $ac_n "(cached) $ac_c" 1>&6
15190 cat > conftest.
$ac_ext <<EOF
15191 #line 15192 "configure"
15192 #include "confdefs.h"
15195 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15196 { (eval echo configure
:15197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15197 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15198 if test -z "$ac_err"; then
15200 eval "ac_cv_header_$ac_safe=yes"
15203 echo "configure: failed program was:" >&5
15204 cat conftest.
$ac_ext >&5
15206 eval "ac_cv_header_$ac_safe=no"
15210 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15211 echo "$ac_t""yes" 1>&6
15212 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15213 cat >> confdefs.h
<<EOF
15214 #define $ac_tr_hdr 1
15218 echo "$ac_t""no" 1>&6
15223 if test "$ac_cv_header_iostream" = "yes" ; then
15226 cat >> confdefs.h
<<\EOF
15227 #define wxUSE_IOSTREAMH 1
15233 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15234 ac_cpp
='$CPP $CPPFLAGS'
15235 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15236 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15237 cross_compiling
=$ac_cv_prog_cc_cross
15243 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
15244 echo "configure:15245: checking if C++ compiler supports bool" >&5
15245 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
15246 echo $ac_n "(cached) $ac_c" 1>&6
15251 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15252 ac_cpp
='$CXXCPP $CPPFLAGS'
15253 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15254 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15255 cross_compiling
=$ac_cv_prog_cxx_cross
15258 cat > conftest.
$ac_ext <<EOF
15259 #line 15260 "configure"
15260 #include "confdefs.h"
15271 if { (eval echo configure
:15272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15277 echo "configure: failed program was:" >&5
15278 cat conftest.
$ac_ext >&5
15288 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15289 ac_cpp
='$CPP $CPPFLAGS'
15290 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15291 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15292 cross_compiling
=$ac_cv_prog_cc_cross
15297 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
15299 if test "$wx_cv_cpp_bool" = "yes"; then
15300 cat >> confdefs.h
<<\EOF
15301 #define HAVE_BOOL 1
15308 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
15309 echo "configure:15310: checking for wcslen in -lc" >&5
15310 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
15311 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15312 echo $ac_n "(cached) $ac_c" 1>&6
15314 ac_save_LIBS
="$LIBS"
15316 cat > conftest.
$ac_ext <<EOF
15317 #line 15318 "configure"
15318 #include "confdefs.h"
15319 /* Override any gcc2 internal prototype to avoid an error. */
15320 /* We use char because int might match the return type of a gcc2
15321 builtin and then its argument prototype would still apply. */
15328 if { (eval echo configure
:15329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15330 eval "ac_cv_lib_$ac_lib_var=yes"
15332 echo "configure: failed program was:" >&5
15333 cat conftest.
$ac_ext >&5
15335 eval "ac_cv_lib_$ac_lib_var=no"
15338 LIBS
="$ac_save_LIBS"
15341 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15342 echo "$ac_t""yes" 1>&6
15344 cat >> confdefs.h
<<\EOF
15345 #define HAVE_WCSLEN 1
15351 echo "$ac_t""no" 1>&6
15353 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
15354 echo "configure:15355: checking for wcslen in -lw" >&5
15355 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
15356 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15357 echo $ac_n "(cached) $ac_c" 1>&6
15359 ac_save_LIBS
="$LIBS"
15361 cat > conftest.
$ac_ext <<EOF
15362 #line 15363 "configure"
15363 #include "confdefs.h"
15364 /* Override any gcc2 internal prototype to avoid an error. */
15365 /* We use char because int might match the return type of a gcc2
15366 builtin and then its argument prototype would still apply. */
15373 if { (eval echo configure
:15374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15375 eval "ac_cv_lib_$ac_lib_var=yes"
15377 echo "configure: failed program was:" >&5
15378 cat conftest.
$ac_ext >&5
15380 eval "ac_cv_lib_$ac_lib_var=no"
15383 LIBS
="$ac_save_LIBS"
15386 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15387 echo "$ac_t""yes" 1>&6
15389 cat >> confdefs.h
<<\EOF
15390 #define HAVE_WCSLEN 1
15396 echo "$ac_t""no" 1>&6
15398 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
15399 echo "configure:15400: checking for wcslen in -lmsvcrt" >&5
15400 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
15401 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15402 echo $ac_n "(cached) $ac_c" 1>&6
15404 ac_save_LIBS
="$LIBS"
15405 LIBS
="-lmsvcrt $LIBS"
15406 cat > conftest.
$ac_ext <<EOF
15407 #line 15408 "configure"
15408 #include "confdefs.h"
15409 /* Override any gcc2 internal prototype to avoid an error. */
15410 /* We use char because int might match the return type of a gcc2
15411 builtin and then its argument prototype would still apply. */
15418 if { (eval echo configure
:15419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15420 eval "ac_cv_lib_$ac_lib_var=yes"
15422 echo "configure: failed program was:" >&5
15423 cat conftest.
$ac_ext >&5
15425 eval "ac_cv_lib_$ac_lib_var=no"
15428 LIBS
="$ac_save_LIBS"
15431 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15432 echo "$ac_t""yes" 1>&6
15434 cat >> confdefs.h
<<\EOF
15435 #define HAVE_WCSLEN 1
15441 echo "$ac_t""no" 1>&6
15451 for ac_func
in wcsrtombs
15453 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15454 echo "configure:15455: checking for $ac_func" >&5
15455 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15456 echo $ac_n "(cached) $ac_c" 1>&6
15458 cat > conftest.
$ac_ext <<EOF
15459 #line 15460 "configure"
15460 #include "confdefs.h"
15461 /* System header to define __stub macros and hopefully few prototypes,
15462 which can conflict with char $ac_func(); below. */
15463 #include <assert.h>
15464 /* Override any gcc2 internal prototype to avoid an error. */
15465 /* We use char because int might match the return type of a gcc2
15466 builtin and then its argument prototype would still apply. */
15471 /* The GNU C library defines this for functions which it implements
15472 to always fail with ENOSYS. Some functions are actually named
15473 something starting with __ and the normal name is an alias. */
15474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15482 if { (eval echo configure
:15483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15484 eval "ac_cv_func_$ac_func=yes"
15486 echo "configure: failed program was:" >&5
15487 cat conftest.
$ac_ext >&5
15489 eval "ac_cv_func_$ac_func=no"
15494 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15495 echo "$ac_t""yes" 1>&6
15496 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15497 cat >> confdefs.h
<<EOF
15498 #define $ac_tr_func 1
15502 echo "$ac_t""no" 1>&6
15507 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
15508 echo "configure:15509: checking for vprintf" >&5
15509 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
15510 echo $ac_n "(cached) $ac_c" 1>&6
15512 cat > conftest.
$ac_ext <<EOF
15513 #line 15514 "configure"
15514 #include "confdefs.h"
15515 /* System header to define __stub macros and hopefully few prototypes,
15516 which can conflict with char vprintf(); below. */
15517 #include <assert.h>
15518 /* Override any gcc2 internal prototype to avoid an error. */
15519 /* We use char because int might match the return type of a gcc2
15520 builtin and then its argument prototype would still apply. */
15525 /* The GNU C library defines this for functions which it implements
15526 to always fail with ENOSYS. Some functions are actually named
15527 something starting with __ and the normal name is an alias. */
15528 #if defined (__stub_vprintf) || defined (__stub___vprintf)
15536 if { (eval echo configure
:15537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15538 eval "ac_cv_func_vprintf=yes"
15540 echo "configure: failed program was:" >&5
15541 cat conftest.
$ac_ext >&5
15543 eval "ac_cv_func_vprintf=no"
15548 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
15549 echo "$ac_t""yes" 1>&6
15550 cat >> confdefs.h
<<\EOF
15551 #define HAVE_VPRINTF 1
15555 echo "$ac_t""no" 1>&6
15558 if test "$ac_cv_func_vprintf" != yes; then
15559 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
15560 echo "configure:15561: checking for _doprnt" >&5
15561 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
15562 echo $ac_n "(cached) $ac_c" 1>&6
15564 cat > conftest.
$ac_ext <<EOF
15565 #line 15566 "configure"
15566 #include "confdefs.h"
15567 /* System header to define __stub macros and hopefully few prototypes,
15568 which can conflict with char _doprnt(); below. */
15569 #include <assert.h>
15570 /* Override any gcc2 internal prototype to avoid an error. */
15571 /* We use char because int might match the return type of a gcc2
15572 builtin and then its argument prototype would still apply. */
15577 /* The GNU C library defines this for functions which it implements
15578 to always fail with ENOSYS. Some functions are actually named
15579 something starting with __ and the normal name is an alias. */
15580 #if defined (__stub__doprnt) || defined (__stub____doprnt)
15588 if { (eval echo configure
:15589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15590 eval "ac_cv_func__doprnt=yes"
15592 echo "configure: failed program was:" >&5
15593 cat conftest.
$ac_ext >&5
15595 eval "ac_cv_func__doprnt=no"
15600 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
15601 echo "$ac_t""yes" 1>&6
15602 cat >> confdefs.h
<<\EOF
15603 #define HAVE_DOPRNT 1
15607 echo "$ac_t""no" 1>&6
15617 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
15618 echo "configure:15619: checking for vsnprintf" >&5
15619 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
15620 echo $ac_n "(cached) $ac_c" 1>&6
15623 cat > conftest.
$ac_ext <<EOF
15624 #line 15625 "configure"
15625 #include "confdefs.h"
15628 #include <stdarg.h>
15632 int wx_test_vsnprintf(const char *, ...);
15634 wx_test_vsnprintf("%s");
15638 int wx_test_vsnprintf(const char *fmt, ...)
15643 va_start(argp, fmt);
15644 vsnprintf(s, 42, fmt, argp);
15649 if { (eval echo configure
:15650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15652 wx_cv_func_vsnprintf
=yes
15655 echo "configure: failed program was:" >&5
15656 cat conftest.
$ac_ext >&5
15659 cat > conftest.
$ac_ext <<EOF
15660 #line 15661 "configure"
15661 #include "confdefs.h"
15664 #include <stdarg.h>
15668 int wx_test_vsnprintf(const char *, ...);
15670 wx_test_vsnprintf("%s");
15674 int wx_test_vsnprintf(const char *fmt, ...)
15679 va_start(argp, fmt);
15680 _vsnprintf(s, 42, fmt, argp);
15685 if { (eval echo configure
:15686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15688 wx_cv_func_vsnprintf
=yes
15691 echo "configure: failed program was:" >&5
15692 cat conftest.
$ac_ext >&5
15695 wx_cv_func_vsnprintf
=no
15705 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
15707 if test "$wx_cv_func_vsnprintf" = yes; then
15708 cat >> confdefs.h
<<\EOF
15709 #define HAVE_VSNPRINTF 1
15713 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
15716 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
15717 echo "configure:15718: checking for vsscanf" >&5
15718 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
15719 echo $ac_n "(cached) $ac_c" 1>&6
15722 cat > conftest.
$ac_ext <<EOF
15723 #line 15724 "configure"
15724 #include "confdefs.h"
15727 #include <stdarg.h>
15731 int wx_test_vsscanf(const char *, ...);
15733 wx_test_vsscanf("%d");
15737 int wx_test_vsscanf(const char *fmt, ...)
15740 va_start(argp, fmt);
15741 vsscanf("42", fmt, argp);
15746 if { (eval echo configure
:15747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15749 wx_cv_func_vsscanf
=yes
15752 echo "configure: failed program was:" >&5
15753 cat conftest.
$ac_ext >&5
15756 wx_cv_func_vsscanf
=no
15763 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
15765 if test "$wx_cv_func_vsscanf" = yes; then
15766 cat >> confdefs.h
<<\EOF
15767 #define HAVE_VSSCANF 1
15772 if test "$TOOLKIT" != "MSW"; then
15777 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15778 ac_cpp
='$CXXCPP $CPPFLAGS'
15779 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15780 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15781 cross_compiling
=$ac_cv_prog_cxx_cross
15785 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
15786 if test "${with_libiconv_prefix+set}" = set; then
15787 withval
="$with_libiconv_prefix"
15789 for dir
in `echo "$withval" | tr : ' '`; do
15790 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
15791 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
15797 echo $ac_n "checking for iconv""... $ac_c" 1>&6
15798 echo "configure:15799: checking for iconv" >&5
15799 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
15800 echo $ac_n "(cached) $ac_c" 1>&6
15803 am_cv_func_iconv
="no, consider installing GNU libiconv"
15805 cat > conftest.
$ac_ext <<EOF
15806 #line 15807 "configure"
15807 #include "confdefs.h"
15808 #include <stdlib.h>
15811 iconv_t cd = iconv_open("","");
15812 iconv(cd,NULL,NULL,NULL,NULL);
15816 if { (eval echo configure
:15817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15818 am_cv_func_iconv
=yes
15820 echo "configure: failed program was:" >&5
15821 cat conftest.
$ac_ext >&5
15824 if test "$am_cv_func_iconv" != yes; then
15825 am_save_LIBS
="$LIBS"
15826 LIBS
="$LIBS -liconv"
15827 cat > conftest.
$ac_ext <<EOF
15828 #line 15829 "configure"
15829 #include "confdefs.h"
15830 #include <stdlib.h>
15833 iconv_t cd = iconv_open("","");
15834 iconv(cd,NULL,NULL,NULL,NULL);
15838 if { (eval echo configure
:15839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15840 am_cv_lib_iconv
=yes
15841 am_cv_func_iconv
=yes
15843 echo "configure: failed program was:" >&5
15844 cat conftest.
$ac_ext >&5
15847 LIBS
="$am_save_LIBS"
15852 echo "$ac_t""$am_cv_func_iconv" 1>&6
15853 if test "$am_cv_func_iconv" = yes; then
15854 cat >> confdefs.h
<<\EOF
15855 #define HAVE_ICONV 1
15858 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
15859 echo "configure:15860: checking if iconv needs const" >&5
15860 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
15861 echo $ac_n "(cached) $ac_c" 1>&6
15863 cat > conftest.
$ac_ext <<EOF
15864 #line 15865 "configure"
15865 #include "confdefs.h"
15867 #include <stdlib.h>
15873 #if defined(__STDC__) || defined(__cplusplus)
15874 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15883 if { (eval echo configure
:15884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15885 wx_cv_func_iconv_const
="no"
15887 echo "configure: failed program was:" >&5
15888 cat conftest.
$ac_ext >&5
15890 wx_cv_func_iconv_const
="yes"
15897 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
15900 if test "x$wx_cv_func_iconv_const" = "xyes"; then
15901 iconv_const
="const"
15904 cat >> confdefs.h
<<EOF
15905 #define ICONV_CONST $iconv_const
15910 if test "$am_cv_lib_iconv" = yes; then
15915 LIBS
="$LIBICONV $LIBS"
15917 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15918 ac_cpp
='$CPP $CPPFLAGS'
15919 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15920 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15921 cross_compiling
=$ac_cv_prog_cc_cross
15924 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
15925 for ac_func
in sigaction
15927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15928 echo "configure:15929: checking for $ac_func" >&5
15929 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15930 echo $ac_n "(cached) $ac_c" 1>&6
15932 cat > conftest.
$ac_ext <<EOF
15933 #line 15934 "configure"
15934 #include "confdefs.h"
15935 /* System header to define __stub macros and hopefully few prototypes,
15936 which can conflict with char $ac_func(); below. */
15937 #include <assert.h>
15938 /* Override any gcc2 internal prototype to avoid an error. */
15939 /* We use char because int might match the return type of a gcc2
15940 builtin and then its argument prototype would still apply. */
15945 /* The GNU C library defines this for functions which it implements
15946 to always fail with ENOSYS. Some functions are actually named
15947 something starting with __ and the normal name is an alias. */
15948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15956 if { (eval echo configure
:15957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15958 eval "ac_cv_func_$ac_func=yes"
15960 echo "configure: failed program was:" >&5
15961 cat conftest.
$ac_ext >&5
15963 eval "ac_cv_func_$ac_func=no"
15968 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15969 echo "$ac_t""yes" 1>&6
15970 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15971 cat >> confdefs.h
<<EOF
15972 #define $ac_tr_func 1
15976 echo "$ac_t""no" 1>&6
15981 if test "$ac_cv_func_sigaction" = "no"; then
15982 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
15983 wxUSE_ON_FATAL_EXCEPTION
=no
15986 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15989 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15990 ac_cpp
='$CXXCPP $CPPFLAGS'
15991 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15992 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15993 cross_compiling
=$ac_cv_prog_cxx_cross
15996 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
15997 echo "configure:15998: checking for sa_handler type" >&5
15998 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
15999 echo $ac_n "(cached) $ac_c" 1>&6
16002 cat > conftest.
$ac_ext <<EOF
16003 #line 16004 "configure"
16004 #include "confdefs.h"
16005 #include <signal.h>
16008 extern void testSigHandler(int);
16010 struct sigaction sa;
16011 sa.sa_handler = testSigHandler;
16015 if { (eval echo configure
:16016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16018 wx_cv_type_sa_handler
=int
16021 echo "configure: failed program was:" >&5
16022 cat conftest.
$ac_ext >&5
16025 wx_cv_type_sa_handler
=void
16032 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
16035 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16036 ac_cpp
='$CPP $CPPFLAGS'
16037 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16038 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16039 cross_compiling
=$ac_cv_prog_cc_cross
16042 cat >> confdefs.h
<<EOF
16043 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
16049 for ac_func
in vfork
16051 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16052 echo "configure:16053: checking for $ac_func" >&5
16053 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16054 echo $ac_n "(cached) $ac_c" 1>&6
16056 cat > conftest.
$ac_ext <<EOF
16057 #line 16058 "configure"
16058 #include "confdefs.h"
16059 /* System header to define __stub macros and hopefully few prototypes,
16060 which can conflict with char $ac_func(); below. */
16061 #include <assert.h>
16062 /* Override any gcc2 internal prototype to avoid an error. */
16063 /* We use char because int might match the return type of a gcc2
16064 builtin and then its argument prototype would still apply. */
16069 /* The GNU C library defines this for functions which it implements
16070 to always fail with ENOSYS. Some functions are actually named
16071 something starting with __ and the normal name is an alias. */
16072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16080 if { (eval echo configure
:16081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16082 eval "ac_cv_func_$ac_func=yes"
16084 echo "configure: failed program was:" >&5
16085 cat conftest.
$ac_ext >&5
16087 eval "ac_cv_func_$ac_func=no"
16092 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16093 echo "$ac_t""yes" 1>&6
16094 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16095 cat >> confdefs.h
<<EOF
16096 #define $ac_tr_func 1
16100 echo "$ac_t""no" 1>&6
16105 for ac_func
in mkstemp mktemp
16107 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16108 echo "configure:16109: checking for $ac_func" >&5
16109 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16110 echo $ac_n "(cached) $ac_c" 1>&6
16112 cat > conftest.
$ac_ext <<EOF
16113 #line 16114 "configure"
16114 #include "confdefs.h"
16115 /* System header to define __stub macros and hopefully few prototypes,
16116 which can conflict with char $ac_func(); below. */
16117 #include <assert.h>
16118 /* Override any gcc2 internal prototype to avoid an error. */
16119 /* We use char because int might match the return type of a gcc2
16120 builtin and then its argument prototype would still apply. */
16125 /* The GNU C library defines this for functions which it implements
16126 to always fail with ENOSYS. Some functions are actually named
16127 something starting with __ and the normal name is an alias. */
16128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16136 if { (eval echo configure
:16137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16138 eval "ac_cv_func_$ac_func=yes"
16140 echo "configure: failed program was:" >&5
16141 cat conftest.
$ac_ext >&5
16143 eval "ac_cv_func_$ac_func=no"
16148 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16149 echo "$ac_t""yes" 1>&6
16150 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16151 cat >> confdefs.h
<<EOF
16152 #define $ac_tr_func 1
16156 echo "$ac_t""no" 1>&6
16161 echo $ac_n "checking for statfs""... $ac_c" 1>&6
16162 echo "configure:16163: checking for statfs" >&5
16163 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
16164 echo $ac_n "(cached) $ac_c" 1>&6
16166 cat > conftest.
$ac_ext <<EOF
16167 #line 16168 "configure"
16168 #include "confdefs.h"
16170 #if defined(__BSD__)
16171 #include <sys/param.h>
16172 #include <sys/mount.h>
16174 #include <sys/vfs.h>
16188 if { (eval echo configure
:16189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16191 wx_cv_func_statfs
=yes
16194 echo "configure: failed program was:" >&5
16195 cat conftest.
$ac_ext >&5
16198 wx_cv_func_statfs
=no
16206 echo "$ac_t""$wx_cv_func_statfs" 1>&6
16208 if test "$wx_cv_func_statfs" = "yes"; then
16209 cat >> confdefs.h
<<\EOF
16210 #define HAVE_STATFS 1
16214 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
16215 echo "configure:16216: checking for statvfs" >&5
16216 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
16217 echo $ac_n "(cached) $ac_c" 1>&6
16219 cat > conftest.
$ac_ext <<EOF
16220 #line 16221 "configure"
16221 #include "confdefs.h"
16223 #include <sys/statvfs.h>
16236 if { (eval echo configure
:16237: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16239 wx_cv_func_statvfs
=yes
16242 echo "configure: failed program was:" >&5
16243 cat conftest.
$ac_ext >&5
16246 wx_cv_func_statvfs
=no
16254 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
16256 if test "$wx_cv_func_statvfs" = "yes"; then
16257 cat >> confdefs.h
<<\EOF
16258 #define HAVE_STATVFS 1
16262 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
16266 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16267 for ac_func
in fcntl flock
16269 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16270 echo "configure:16271: checking for $ac_func" >&5
16271 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16272 echo $ac_n "(cached) $ac_c" 1>&6
16274 cat > conftest.
$ac_ext <<EOF
16275 #line 16276 "configure"
16276 #include "confdefs.h"
16277 /* System header to define __stub macros and hopefully few prototypes,
16278 which can conflict with char $ac_func(); below. */
16279 #include <assert.h>
16280 /* Override any gcc2 internal prototype to avoid an error. */
16281 /* We use char because int might match the return type of a gcc2
16282 builtin and then its argument prototype would still apply. */
16287 /* The GNU C library defines this for functions which it implements
16288 to always fail with ENOSYS. Some functions are actually named
16289 something starting with __ and the normal name is an alias. */
16290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16298 if { (eval echo configure
:16299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16300 eval "ac_cv_func_$ac_func=yes"
16302 echo "configure: failed program was:" >&5
16303 cat conftest.
$ac_ext >&5
16305 eval "ac_cv_func_$ac_func=no"
16310 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16311 echo "$ac_t""yes" 1>&6
16312 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16313 cat >> confdefs.h
<<EOF
16314 #define $ac_tr_func 1
16318 echo "$ac_t""no" 1>&6
16323 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
16324 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
16325 wxUSE_SNGLINST_CHECKER
=no
16329 for ac_func
in timegm
16331 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16332 echo "configure:16333: checking for $ac_func" >&5
16333 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16334 echo $ac_n "(cached) $ac_c" 1>&6
16336 cat > conftest.
$ac_ext <<EOF
16337 #line 16338 "configure"
16338 #include "confdefs.h"
16339 /* System header to define __stub macros and hopefully few prototypes,
16340 which can conflict with char $ac_func(); below. */
16341 #include <assert.h>
16342 /* Override any gcc2 internal prototype to avoid an error. */
16343 /* We use char because int might match the return type of a gcc2
16344 builtin and then its argument prototype would still apply. */
16349 /* The GNU C library defines this for functions which it implements
16350 to always fail with ENOSYS. Some functions are actually named
16351 something starting with __ and the normal name is an alias. */
16352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16360 if { (eval echo configure
:16361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16362 eval "ac_cv_func_$ac_func=yes"
16364 echo "configure: failed program was:" >&5
16365 cat conftest.
$ac_ext >&5
16367 eval "ac_cv_func_$ac_func=no"
16372 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16373 echo "$ac_t""yes" 1>&6
16374 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16375 cat >> confdefs.h
<<EOF
16376 #define $ac_tr_func 1
16380 echo "$ac_t""no" 1>&6
16385 for ac_func
in putenv setenv
16387 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16388 echo "configure:16389: checking for $ac_func" >&5
16389 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16390 echo $ac_n "(cached) $ac_c" 1>&6
16392 cat > conftest.
$ac_ext <<EOF
16393 #line 16394 "configure"
16394 #include "confdefs.h"
16395 /* System header to define __stub macros and hopefully few prototypes,
16396 which can conflict with char $ac_func(); below. */
16397 #include <assert.h>
16398 /* Override any gcc2 internal prototype to avoid an error. */
16399 /* We use char because int might match the return type of a gcc2
16400 builtin and then its argument prototype would still apply. */
16405 /* The GNU C library defines this for functions which it implements
16406 to always fail with ENOSYS. Some functions are actually named
16407 something starting with __ and the normal name is an alias. */
16408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16416 if { (eval echo configure
:16417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16418 eval "ac_cv_func_$ac_func=yes"
16420 echo "configure: failed program was:" >&5
16421 cat conftest.
$ac_ext >&5
16423 eval "ac_cv_func_$ac_func=no"
16428 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16429 echo "$ac_t""yes" 1>&6
16430 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16431 cat >> confdefs.h
<<EOF
16432 #define $ac_tr_func 1
16436 echo "$ac_t""no" 1>&6
16441 HAVE_SOME_SLEEP_FUNC
=0
16442 if test "$USE_BEOS" = 1; then
16443 cat >> confdefs.h
<<\EOF
16444 #define HAVE_SLEEP 1
16447 HAVE_SOME_SLEEP_FUNC
=1
16450 if test "$USE_DARWIN" = 1; then
16451 cat >> confdefs.h
<<\EOF
16452 #define HAVE_USLEEP 1
16455 HAVE_SOME_SLEEP_FUNC
=1
16458 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
16460 for ac_func
in nanosleep
16462 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16463 echo "configure:16464: checking for $ac_func" >&5
16464 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16465 echo $ac_n "(cached) $ac_c" 1>&6
16467 cat > conftest.
$ac_ext <<EOF
16468 #line 16469 "configure"
16469 #include "confdefs.h"
16470 /* System header to define __stub macros and hopefully few prototypes,
16471 which can conflict with char $ac_func(); below. */
16472 #include <assert.h>
16473 /* Override any gcc2 internal prototype to avoid an error. */
16474 /* We use char because int might match the return type of a gcc2
16475 builtin and then its argument prototype would still apply. */
16480 /* The GNU C library defines this for functions which it implements
16481 to always fail with ENOSYS. Some functions are actually named
16482 something starting with __ and the normal name is an alias. */
16483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16491 if { (eval echo configure
:16492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16493 eval "ac_cv_func_$ac_func=yes"
16495 echo "configure: failed program was:" >&5
16496 cat conftest.
$ac_ext >&5
16498 eval "ac_cv_func_$ac_func=no"
16503 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16504 echo "$ac_t""yes" 1>&6
16505 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16506 cat >> confdefs.h
<<EOF
16507 #define $ac_tr_func 1
16509 cat >> confdefs.h
<<\EOF
16510 #define HAVE_NANOSLEEP 1
16514 echo "$ac_t""no" 1>&6
16515 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
16516 echo "configure:16517: checking for nanosleep in -lposix4" >&5
16517 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
16518 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16519 echo $ac_n "(cached) $ac_c" 1>&6
16521 ac_save_LIBS
="$LIBS"
16522 LIBS
="-lposix4 $LIBS"
16523 cat > conftest.
$ac_ext <<EOF
16524 #line 16525 "configure"
16525 #include "confdefs.h"
16526 /* Override any gcc2 internal prototype to avoid an error. */
16527 /* We use char because int might match the return type of a gcc2
16528 builtin and then its argument prototype would still apply. */
16535 if { (eval echo configure
:16536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16537 eval "ac_cv_lib_$ac_lib_var=yes"
16539 echo "configure: failed program was:" >&5
16540 cat conftest.
$ac_ext >&5
16542 eval "ac_cv_lib_$ac_lib_var=no"
16545 LIBS
="$ac_save_LIBS"
16548 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16549 echo "$ac_t""yes" 1>&6
16551 cat >> confdefs.h
<<\EOF
16552 #define HAVE_NANOSLEEP 1
16555 POSIX4_LINK
=" -lposix4"
16558 echo "$ac_t""no" 1>&6
16560 for ac_func
in usleep
16562 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16563 echo "configure:16564: checking for $ac_func" >&5
16564 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16565 echo $ac_n "(cached) $ac_c" 1>&6
16567 cat > conftest.
$ac_ext <<EOF
16568 #line 16569 "configure"
16569 #include "confdefs.h"
16570 /* System header to define __stub macros and hopefully few prototypes,
16571 which can conflict with char $ac_func(); below. */
16572 #include <assert.h>
16573 /* Override any gcc2 internal prototype to avoid an error. */
16574 /* We use char because int might match the return type of a gcc2
16575 builtin and then its argument prototype would still apply. */
16580 /* The GNU C library defines this for functions which it implements
16581 to always fail with ENOSYS. Some functions are actually named
16582 something starting with __ and the normal name is an alias. */
16583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16591 if { (eval echo configure
:16592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16593 eval "ac_cv_func_$ac_func=yes"
16595 echo "configure: failed program was:" >&5
16596 cat conftest.
$ac_ext >&5
16598 eval "ac_cv_func_$ac_func=no"
16603 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16604 echo "$ac_t""yes" 1>&6
16605 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16606 cat >> confdefs.h
<<EOF
16607 #define $ac_tr_func 1
16609 cat >> confdefs.h
<<\EOF
16610 #define HAVE_USLEEP 1
16614 echo "$ac_t""no" 1>&6
16615 echo "configure: warning: wxSleep() function will not work" 1>&2
16631 for ac_func
in uname gethostname
16633 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16634 echo "configure:16635: checking for $ac_func" >&5
16635 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16636 echo $ac_n "(cached) $ac_c" 1>&6
16638 cat > conftest.
$ac_ext <<EOF
16639 #line 16640 "configure"
16640 #include "confdefs.h"
16641 /* System header to define __stub macros and hopefully few prototypes,
16642 which can conflict with char $ac_func(); below. */
16643 #include <assert.h>
16644 /* Override any gcc2 internal prototype to avoid an error. */
16645 /* We use char because int might match the return type of a gcc2
16646 builtin and then its argument prototype would still apply. */
16651 /* The GNU C library defines this for functions which it implements
16652 to always fail with ENOSYS. Some functions are actually named
16653 something starting with __ and the normal name is an alias. */
16654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16662 if { (eval echo configure
:16663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16664 eval "ac_cv_func_$ac_func=yes"
16666 echo "configure: failed program was:" >&5
16667 cat conftest.
$ac_ext >&5
16669 eval "ac_cv_func_$ac_func=no"
16674 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16675 echo "$ac_t""yes" 1>&6
16676 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16677 cat >> confdefs.h
<<EOF
16678 #define $ac_tr_func 1
16682 echo "$ac_t""no" 1>&6
16689 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16690 ac_cpp
='$CXXCPP $CPPFLAGS'
16691 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16692 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16693 cross_compiling
=$ac_cv_prog_cxx_cross
16696 for ac_func
in strtok_r
16698 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16699 echo "configure:16700: checking for $ac_func" >&5
16700 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16701 echo $ac_n "(cached) $ac_c" 1>&6
16703 cat > conftest.
$ac_ext <<EOF
16704 #line 16705 "configure"
16705 #include "confdefs.h"
16706 /* System header to define __stub macros and hopefully few prototypes,
16707 which can conflict with char $ac_func(); below. */
16708 #include <assert.h>
16709 /* Override any gcc2 internal prototype to avoid an error. */
16713 /* We use char because int might match the return type of a gcc2
16714 builtin and then its argument prototype would still apply. */
16719 /* The GNU C library defines this for functions which it implements
16720 to always fail with ENOSYS. Some functions are actually named
16721 something starting with __ and the normal name is an alias. */
16722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16730 if { (eval echo configure
:16731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16732 eval "ac_cv_func_$ac_func=yes"
16734 echo "configure: failed program was:" >&5
16735 cat conftest.
$ac_ext >&5
16737 eval "ac_cv_func_$ac_func=no"
16742 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16743 echo "$ac_t""yes" 1>&6
16744 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16745 cat >> confdefs.h
<<EOF
16746 #define $ac_tr_func 1
16750 echo "$ac_t""no" 1>&6
16756 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16757 ac_cpp
='$CPP $CPPFLAGS'
16758 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16759 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16760 cross_compiling
=$ac_cv_prog_cc_cross
16764 for ac_func
in inet_addr
16766 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16767 echo "configure:16768: checking for $ac_func" >&5
16768 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16769 echo $ac_n "(cached) $ac_c" 1>&6
16771 cat > conftest.
$ac_ext <<EOF
16772 #line 16773 "configure"
16773 #include "confdefs.h"
16774 /* System header to define __stub macros and hopefully few prototypes,
16775 which can conflict with char $ac_func(); below. */
16776 #include <assert.h>
16777 /* Override any gcc2 internal prototype to avoid an error. */
16778 /* We use char because int might match the return type of a gcc2
16779 builtin and then its argument prototype would still apply. */
16784 /* The GNU C library defines this for functions which it implements
16785 to always fail with ENOSYS. Some functions are actually named
16786 something starting with __ and the normal name is an alias. */
16787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16795 if { (eval echo configure
:16796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16797 eval "ac_cv_func_$ac_func=yes"
16799 echo "configure: failed program was:" >&5
16800 cat conftest.
$ac_ext >&5
16802 eval "ac_cv_func_$ac_func=no"
16807 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16808 echo "$ac_t""yes" 1>&6
16809 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16810 cat >> confdefs.h
<<EOF
16811 #define $ac_tr_func 1
16813 cat >> confdefs.h
<<\EOF
16814 #define HAVE_INET_ADDR 1
16818 echo "$ac_t""no" 1>&6
16819 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
16820 echo "configure:16821: checking for inet_addr in -lnsl" >&5
16821 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
16822 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16823 echo $ac_n "(cached) $ac_c" 1>&6
16825 ac_save_LIBS
="$LIBS"
16827 cat > conftest.
$ac_ext <<EOF
16828 #line 16829 "configure"
16829 #include "confdefs.h"
16830 /* Override any gcc2 internal prototype to avoid an error. */
16831 /* We use char because int might match the return type of a gcc2
16832 builtin and then its argument prototype would still apply. */
16839 if { (eval echo configure
:16840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16841 eval "ac_cv_lib_$ac_lib_var=yes"
16843 echo "configure: failed program was:" >&5
16844 cat conftest.
$ac_ext >&5
16846 eval "ac_cv_lib_$ac_lib_var=no"
16849 LIBS
="$ac_save_LIBS"
16852 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16853 echo "$ac_t""yes" 1>&6
16856 echo "$ac_t""no" 1>&6
16857 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
16858 echo "configure:16859: checking for inet_addr in -lresolv" >&5
16859 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
16860 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16861 echo $ac_n "(cached) $ac_c" 1>&6
16863 ac_save_LIBS
="$LIBS"
16864 LIBS
="-lresolv $LIBS"
16865 cat > conftest.
$ac_ext <<EOF
16866 #line 16867 "configure"
16867 #include "confdefs.h"
16868 /* Override any gcc2 internal prototype to avoid an error. */
16869 /* We use char because int might match the return type of a gcc2
16870 builtin and then its argument prototype would still apply. */
16877 if { (eval echo configure
:16878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16879 eval "ac_cv_lib_$ac_lib_var=yes"
16881 echo "configure: failed program was:" >&5
16882 cat conftest.
$ac_ext >&5
16884 eval "ac_cv_lib_$ac_lib_var=no"
16887 LIBS
="$ac_save_LIBS"
16890 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16891 echo "$ac_t""yes" 1>&6
16894 echo "$ac_t""no" 1>&6
16895 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
16896 echo "configure:16897: checking for inet_addr in -lsocket" >&5
16897 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
16898 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16899 echo $ac_n "(cached) $ac_c" 1>&6
16901 ac_save_LIBS
="$LIBS"
16902 LIBS
="-lsocket $LIBS"
16903 cat > conftest.
$ac_ext <<EOF
16904 #line 16905 "configure"
16905 #include "confdefs.h"
16906 /* Override any gcc2 internal prototype to avoid an error. */
16907 /* We use char because int might match the return type of a gcc2
16908 builtin and then its argument prototype would still apply. */
16915 if { (eval echo configure
:16916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16917 eval "ac_cv_lib_$ac_lib_var=yes"
16919 echo "configure: failed program was:" >&5
16920 cat conftest.
$ac_ext >&5
16922 eval "ac_cv_lib_$ac_lib_var=no"
16925 LIBS
="$ac_save_LIBS"
16928 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16929 echo "$ac_t""yes" 1>&6
16933 echo "$ac_t""no" 1>&6
16948 for ac_func
in inet_aton
16950 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16951 echo "configure:16952: checking for $ac_func" >&5
16952 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16953 echo $ac_n "(cached) $ac_c" 1>&6
16955 cat > conftest.
$ac_ext <<EOF
16956 #line 16957 "configure"
16957 #include "confdefs.h"
16958 /* System header to define __stub macros and hopefully few prototypes,
16959 which can conflict with char $ac_func(); below. */
16960 #include <assert.h>
16961 /* Override any gcc2 internal prototype to avoid an error. */
16962 /* We use char because int might match the return type of a gcc2
16963 builtin and then its argument prototype would still apply. */
16968 /* The GNU C library defines this for functions which it implements
16969 to always fail with ENOSYS. Some functions are actually named
16970 something starting with __ and the normal name is an alias. */
16971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16979 if { (eval echo configure
:16980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16981 eval "ac_cv_func_$ac_func=yes"
16983 echo "configure: failed program was:" >&5
16984 cat conftest.
$ac_ext >&5
16986 eval "ac_cv_func_$ac_func=no"
16991 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16992 echo "$ac_t""yes" 1>&6
16993 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16994 cat >> confdefs.h
<<EOF
16995 #define $ac_tr_func 1
16997 cat >> confdefs.h
<<\EOF
16998 #define HAVE_INET_ATON 1
17002 echo "$ac_t""no" 1>&6
17003 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
17004 echo "configure:17005: checking for inet_aton in -l$INET_LINK" >&5
17005 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
17006 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17007 echo $ac_n "(cached) $ac_c" 1>&6
17009 ac_save_LIBS
="$LIBS"
17010 LIBS
="-l$INET_LINK $LIBS"
17011 cat > conftest.
$ac_ext <<EOF
17012 #line 17013 "configure"
17013 #include "confdefs.h"
17014 /* Override any gcc2 internal prototype to avoid an error. */
17015 /* We use char because int might match the return type of a gcc2
17016 builtin and then its argument prototype would still apply. */
17023 if { (eval echo configure
:17024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17025 eval "ac_cv_lib_$ac_lib_var=yes"
17027 echo "configure: failed program was:" >&5
17028 cat conftest.
$ac_ext >&5
17030 eval "ac_cv_lib_$ac_lib_var=no"
17033 LIBS
="$ac_save_LIBS"
17036 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17037 echo "$ac_t""yes" 1>&6
17038 cat >> confdefs.h
<<\EOF
17039 #define HAVE_INET_ATON 1
17043 echo "$ac_t""no" 1>&6
17051 if test "x$INET_LINK" != "x"; then
17052 cat >> confdefs.h
<<\EOF
17053 #define HAVE_INET_ADDR 1
17056 INET_LINK
=" -l$INET_LINK"
17062 cat > confcache
<<\EOF
17063 # This file is a shell script that caches the results of configure
17064 # tests run on this system so they can be shared between configure
17065 # scripts and configure runs. It is not useful on other systems.
17066 # If it contains results you don't want to keep, you may remove or edit it.
17068 # By default, configure uses ./config.cache as the cache file,
17069 # creating it if it does not exist already. You can give configure
17070 # the --cache-file=FILE option to use a different cache file; that is
17071 # what configure does when it calls configure scripts in
17072 # subdirectories, so they share the cache.
17073 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17074 # config.status only pays attention to the cache file if you give it the
17075 # --recheck option to rerun configure.
17078 # The following way of writing the cache mishandles newlines in values,
17079 # but we know of no workaround that is simple, portable, and efficient.
17080 # So, don't put newlines in cache variables' values.
17081 # Ultrix sh set writes to stderr and can't be redirected directly,
17082 # and sets the high bit in the cache file unless we assign to the vars.
17084 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17086 # `set' does not quote correctly, so add quotes (double-quote substitution
17087 # turns \\\\ into \\, and sed turns \\ into \).
17089 -e "s/'/'\\\\''/g" \
17090 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17093 # `set' quotes correctly as required by POSIX, so do not add quotes.
17094 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17097 if cmp -s $cache_file confcache
; then
17100 if test -w $cache_file; then
17101 echo "updating cache $cache_file"
17102 cat confcache
> $cache_file
17104 echo "not updating unwritable cache $cache_file"
17112 if test "$TOOLKIT" != "MSW"; then
17118 if test "$wxUSE_THREADS" = "yes" ; then
17119 if test "$wxUSE_WINE" = 1 ; then
17120 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
17122 elif test "$USE_BEOS" = 1; then
17123 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
17128 if test "$wxUSE_THREADS" = "yes" ; then
17131 THREAD_OPTS
="-pthread"
17133 *-*-solaris2* | *-*-sunos4* )
17134 if test "x$GCC" = "xyes"; then
17135 THREAD_OPTS
="-pthreads $THREAD_OPTS"
17137 THREAD_OPTS
="-mt $THREAD_OPTS"
17141 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
17147 THREAD_OPTS
="pthreads"
17151 THREAD_OPTS
="$THREAD_OPTS pthread none"
17154 for flag
in $THREAD_OPTS; do
17157 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
17158 echo "configure:17159: checking whether pthreads work without any flags" >&5
17162 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
17163 echo "configure:17164: checking whether pthreads work with $flag" >&5
17164 THREADS_CFLAGS
="$flag"
17168 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
17169 echo "configure:17170: checking for the pthreads library -l$flag" >&5
17170 THREADS_LINK
="-l$flag"
17175 save_CFLAGS
="$CFLAGS"
17176 LIBS
="$THREADS_LINK $LIBS"
17177 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
17179 cat > conftest.
$ac_ext <<EOF
17180 #line 17181 "configure"
17181 #include "confdefs.h"
17182 #include <pthread.h>
17184 pthread_create(0,0,0,0);
17187 if { (eval echo configure
:17188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17191 echo "configure: failed program was:" >&5
17192 cat conftest.
$ac_ext >&5
17197 CFLAGS
="$save_CFLAGS"
17199 echo "$ac_t""$THREADS_OK" 1>&6
17200 if test "x$THREADS_OK" = "xyes"; then
17208 if test "x$THREADS_OK" != "xyes"; then
17210 echo "configure: warning: No thread support on this system... disabled" 1>&2
17212 LIBS
="$THREADS_LINK $THREADS_CFLAGS $LIBS"
17214 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
17215 echo "configure:17216: checking if more special flags are required for pthreads" >&5
17218 *-aix* | *-freebsd*)
17219 flag
="-D_THREAD_SAFE"
17221 *solaris
* | alpha
*-osf*)
17222 flag
="-D_REENTRANT"
17225 echo "$ac_t""${flag}" 1>&6
17226 if test "x$flag" != xno
; then
17227 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
17230 if test "x$THREADS_CFLAGS" != "x"; then
17231 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
17232 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
17237 if test "$wxUSE_THREADS" = "yes" ; then
17238 for ac_func
in thr_setconcurrency
17240 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17241 echo "configure:17242: checking for $ac_func" >&5
17242 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17243 echo $ac_n "(cached) $ac_c" 1>&6
17245 cat > conftest.
$ac_ext <<EOF
17246 #line 17247 "configure"
17247 #include "confdefs.h"
17248 /* System header to define __stub macros and hopefully few prototypes,
17249 which can conflict with char $ac_func(); below. */
17250 #include <assert.h>
17251 /* Override any gcc2 internal prototype to avoid an error. */
17252 /* We use char because int might match the return type of a gcc2
17253 builtin and then its argument prototype would still apply. */
17258 /* The GNU C library defines this for functions which it implements
17259 to always fail with ENOSYS. Some functions are actually named
17260 something starting with __ and the normal name is an alias. */
17261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17269 if { (eval echo configure
:17270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17271 eval "ac_cv_func_$ac_func=yes"
17273 echo "configure: failed program was:" >&5
17274 cat conftest.
$ac_ext >&5
17276 eval "ac_cv_func_$ac_func=no"
17281 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17282 echo "$ac_t""yes" 1>&6
17283 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17284 cat >> confdefs.h
<<EOF
17285 #define $ac_tr_func 1
17289 echo "$ac_t""no" 1>&6
17294 for ac_hdr
in sched.h
17296 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17297 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17298 echo "configure:17299: checking for $ac_hdr" >&5
17299 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17300 echo $ac_n "(cached) $ac_c" 1>&6
17302 cat > conftest.
$ac_ext <<EOF
17303 #line 17304 "configure"
17304 #include "confdefs.h"
17307 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17308 { (eval echo configure
:17309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17309 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17310 if test -z "$ac_err"; then
17312 eval "ac_cv_header_$ac_safe=yes"
17315 echo "configure: failed program was:" >&5
17316 cat conftest.
$ac_ext >&5
17318 eval "ac_cv_header_$ac_safe=no"
17322 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17323 echo "$ac_t""yes" 1>&6
17324 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17325 cat >> confdefs.h
<<EOF
17326 #define $ac_tr_hdr 1
17330 echo "$ac_t""no" 1>&6
17334 if test "$ac_cv_header_sched_h" = "yes"; then
17335 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
17336 echo "configure:17337: checking for sched_yield" >&5
17337 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
17338 echo $ac_n "(cached) $ac_c" 1>&6
17340 cat > conftest.
$ac_ext <<EOF
17341 #line 17342 "configure"
17342 #include "confdefs.h"
17343 /* System header to define __stub macros and hopefully few prototypes,
17344 which can conflict with char sched_yield(); below. */
17345 #include <assert.h>
17346 /* Override any gcc2 internal prototype to avoid an error. */
17347 /* We use char because int might match the return type of a gcc2
17348 builtin and then its argument prototype would still apply. */
17349 char sched_yield();
17353 /* The GNU C library defines this for functions which it implements
17354 to always fail with ENOSYS. Some functions are actually named
17355 something starting with __ and the normal name is an alias. */
17356 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
17364 if { (eval echo configure
:17365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17366 eval "ac_cv_func_sched_yield=yes"
17368 echo "configure: failed program was:" >&5
17369 cat conftest.
$ac_ext >&5
17371 eval "ac_cv_func_sched_yield=no"
17376 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
17377 echo "$ac_t""yes" 1>&6
17378 cat >> confdefs.h
<<\EOF
17379 #define HAVE_SCHED_YIELD 1
17383 echo "$ac_t""no" 1>&6
17385 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
17386 echo "configure:17387: checking for sched_yield in -lposix4" >&5
17387 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
17388 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17389 echo $ac_n "(cached) $ac_c" 1>&6
17391 ac_save_LIBS
="$LIBS"
17392 LIBS
="-lposix4 $LIBS"
17393 cat > conftest.
$ac_ext <<EOF
17394 #line 17395 "configure"
17395 #include "confdefs.h"
17396 /* Override any gcc2 internal prototype to avoid an error. */
17397 /* We use char because int might match the return type of a gcc2
17398 builtin and then its argument prototype would still apply. */
17399 char sched_yield();
17405 if { (eval echo configure
:17406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17407 eval "ac_cv_lib_$ac_lib_var=yes"
17409 echo "configure: failed program was:" >&5
17410 cat conftest.
$ac_ext >&5
17412 eval "ac_cv_lib_$ac_lib_var=no"
17415 LIBS
="$ac_save_LIBS"
17418 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17419 echo "$ac_t""yes" 1>&6
17420 cat >> confdefs.h
<<\EOF
17421 #define HAVE_SCHED_YIELD 1
17423 POSIX4_LINK
=" -lposix4"
17425 echo "$ac_t""no" 1>&6
17426 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
17437 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
17438 echo "configure:17439: checking for pthread_attr_getschedpolicy" >&5
17439 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
17440 echo $ac_n "(cached) $ac_c" 1>&6
17442 cat > conftest.
$ac_ext <<EOF
17443 #line 17444 "configure"
17444 #include "confdefs.h"
17445 /* System header to define __stub macros and hopefully few prototypes,
17446 which can conflict with char pthread_attr_getschedpolicy(); below. */
17447 #include <assert.h>
17448 /* Override any gcc2 internal prototype to avoid an error. */
17449 /* We use char because int might match the return type of a gcc2
17450 builtin and then its argument prototype would still apply. */
17451 char pthread_attr_getschedpolicy();
17455 /* The GNU C library defines this for functions which it implements
17456 to always fail with ENOSYS. Some functions are actually named
17457 something starting with __ and the normal name is an alias. */
17458 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
17461 pthread_attr_getschedpolicy();
17466 if { (eval echo configure
:17467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17468 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
17470 echo "configure: failed program was:" >&5
17471 cat conftest.
$ac_ext >&5
17473 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
17478 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
17479 echo "$ac_t""yes" 1>&6
17480 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
17481 echo "configure:17482: checking for pthread_attr_setschedparam" >&5
17482 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
17483 echo $ac_n "(cached) $ac_c" 1>&6
17485 cat > conftest.
$ac_ext <<EOF
17486 #line 17487 "configure"
17487 #include "confdefs.h"
17488 /* System header to define __stub macros and hopefully few prototypes,
17489 which can conflict with char pthread_attr_setschedparam(); below. */
17490 #include <assert.h>
17491 /* Override any gcc2 internal prototype to avoid an error. */
17492 /* We use char because int might match the return type of a gcc2
17493 builtin and then its argument prototype would still apply. */
17494 char pthread_attr_setschedparam();
17498 /* The GNU C library defines this for functions which it implements
17499 to always fail with ENOSYS. Some functions are actually named
17500 something starting with __ and the normal name is an alias. */
17501 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
17504 pthread_attr_setschedparam();
17509 if { (eval echo configure
:17510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17511 eval "ac_cv_func_pthread_attr_setschedparam=yes"
17513 echo "configure: failed program was:" >&5
17514 cat conftest.
$ac_ext >&5
17516 eval "ac_cv_func_pthread_attr_setschedparam=no"
17521 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
17522 echo "$ac_t""yes" 1>&6
17523 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
17524 echo "configure:17525: checking for sched_get_priority_max" >&5
17525 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
17526 echo $ac_n "(cached) $ac_c" 1>&6
17528 cat > conftest.
$ac_ext <<EOF
17529 #line 17530 "configure"
17530 #include "confdefs.h"
17531 /* System header to define __stub macros and hopefully few prototypes
17533 echo "$ac_t""no" 1>&6
17534 which can conflict with char sched_get_priority_max(); below. */
17535 #include <assert.h>
17536 /* Override any gcc2 internal prototype to avoid an error. */
17537 /* We use char because int might match the return type of a gcc2
17538 builtin and then its argument prototype would still apply. */
17539 char sched_get_priority_max();
17543 /* The GNU C library defines this for functions which it implements
17544 to always fail with ENOSYS. Some functions are actually named
17545 something starting with __ and the normal name is an alias. */
17546 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
17549 sched_get_priority_max();
17554 if { (eval echo configure
:17555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17556 eval "ac_cv_func_sched_get_priority_max=yes"
17558 echo "configure: failed program was:" >&5
17559 cat conftest.
$ac_ext >&5
17561 eval "ac_cv_func_sched_get_priority_max=no"
17566 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
17567 echo "$ac_t""yes" 1>&6
17570 echo "$ac_t""no" 1>&6
17571 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
17572 echo "configure:17573: checking for sched_get_priority_max in -lposix4" >&5
17573 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17574 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17575 echo $ac_n "(cached) $ac_c" 1>&6
17577 ac_save_LIBS
="$LIBS"
17578 LIBS
="-lposix4 $LIBS"
17579 cat > conftest.
$ac_ext <<EOF
17580 #line 17581 "configure"
17581 #include "confdefs.h"
17582 /* Override any gcc2 internal prototype to avoid an error. */
17583 /* We use char because int might match the return type of a gcc2
17584 builtin and then its argument prototype would still apply. */
17585 char sched_get_priority_max();
17588 sched_get_priority_max()
17591 if { (eval echo configure
:17592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17593 eval "ac_cv_lib_$ac_lib_var=yes"
17595 echo "configure: failed program was:" >&5
17596 cat conftest.
$ac_ext >&5
17598 eval "ac_cv_lib_$ac_lib_var=no"
17601 LIBS
="$ac_save_LIBS"
17604 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17605 echo "$ac_t""yes" 1>&6
17608 POSIX4_LINK
=" -lposix4"
17611 echo "$ac_t""no" 1>&6
17619 echo "$ac_t""no" 1>&6
17626 if test "$HAVE_PRIOR_FUNCS" = 1; then
17627 cat >> confdefs.h
<<\EOF
17628 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
17632 echo "configure: warning: Setting thread priority will not work" 1>&2
17635 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
17636 echo "configure:17637: checking for pthread_cancel" >&5
17637 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
17638 echo $ac_n "(cached) $ac_c" 1>&6
17640 cat > conftest.
$ac_ext <<EOF
17641 #line 17642 "configure"
17642 #include "confdefs.h"
17643 /* System header to define __stub macros and hopefully few prototypes,
17644 which can conflict with char pthread_cancel(); below. */
17645 #include <assert.h>
17646 /* Override any gcc2 internal prototype to avoid an error. */
17647 /* We use char because int might match the return type of a gcc2
17648 builtin and then its argument prototype would still apply. */
17649 char pthread_cancel();
17653 /* The GNU C library defines this for functions which it implements
17654 to always fail with ENOSYS. Some functions are actually named
17655 something starting with __ and the normal name is an alias. */
17656 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
17664 if { (eval echo configure
:17665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17666 eval "ac_cv_func_pthread_cancel=yes"
17668 echo "configure: failed program was:" >&5
17669 cat conftest.
$ac_ext >&5
17671 eval "ac_cv_func_pthread_cancel=no"
17676 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
17677 echo "$ac_t""yes" 1>&6
17678 cat >> confdefs.h
<<\EOF
17679 #define HAVE_PTHREAD_CANCEL 1
17683 echo "$ac_t""no" 1>&6
17684 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
17688 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
17689 echo "configure:17690: checking for pthread_cleanup_push/pop" >&5
17690 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
17691 echo $ac_n "(cached) $ac_c" 1>&6
17694 cat > conftest.
$ac_ext <<EOF
17695 #line 17696 "configure"
17696 #include "confdefs.h"
17697 #include <pthread.h>
17700 pthread_cleanup_push(NULL, NULL);
17701 pthread_cleanup_pop(0);
17705 if { (eval echo configure
:17706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17708 wx_cv_func_pthread_cleanup_push
=yes
17711 echo "configure: failed program was:" >&5
17712 cat conftest.
$ac_ext >&5
17715 wx_cv_func_pthread_cleanup_push
=no
17722 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
17724 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
17725 cat >> confdefs.h
<<\EOF
17726 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
17732 if test "x$wx_lib_glibc21" = "xyes"; then
17733 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
17736 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
17737 echo "configure:17738: checking for pthread_mutexattr_t" >&5
17738 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
17739 echo $ac_n "(cached) $ac_c" 1>&6
17742 cat > conftest.
$ac_ext <<EOF
17743 #line 17744 "configure"
17744 #include "confdefs.h"
17745 #include <pthread.h>
17748 pthread_mutexattr_t attr;
17749 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
17753 if { (eval echo configure
:17754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17756 wx_cv_type_pthread_mutexattr_t
=yes
17759 echo "configure: failed program was:" >&5
17760 cat conftest.
$ac_ext >&5
17763 wx_cv_type_pthread_mutexattr_t
=no
17771 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
17773 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
17774 cat >> confdefs.h
<<\EOF
17775 #define HAVE_PTHREAD_MUTEXATTR_T 1
17779 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
17780 echo "configure:17781: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
17781 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
17782 echo $ac_n "(cached) $ac_c" 1>&6
17785 cat > conftest.
$ac_ext <<EOF
17786 #line 17787 "configure"
17787 #include "confdefs.h"
17788 #include <pthread.h>
17791 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
17795 if { (eval echo configure
:17796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17798 wx_cv_type_pthread_rec_mutex_init
=yes
17801 echo "configure: failed program was:" >&5
17802 cat conftest.
$ac_ext >&5
17805 wx_cv_type_pthread_rec_mutex_init
=no
17813 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
17814 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
17815 cat >> confdefs.h
<<\EOF
17816 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
17820 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
17827 if test "$wxUSE_THREADS" = "yes"; then
17828 cat >> confdefs.h
<<\EOF
17829 #define wxUSE_THREADS 1
17833 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
17835 if test "$ac_cv_func_strtok_r" = "yes"; then
17836 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
17837 echo "configure:17838: checking if -D_REENTRANT is needed" >&5
17838 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
17839 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
17840 echo "$ac_t""yes" 1>&6
17842 echo "$ac_t""no" 1>&6
17847 if test "$WXGTK20" = 1 ; then
17848 cat >> confdefs.h
<<EOF
17849 #define __WXGTK20__ $WXGTK20
17855 if test "$WXGTK12" = 1 ; then
17856 cat >> confdefs.h
<<EOF
17857 #define __WXGTK12__ $WXGTK12
17862 if test "$WXGTK127" = 1 ; then
17863 cat >> confdefs.h
<<EOF
17864 #define __WXGTK127__ $WXGTK127
17871 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
17876 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
17877 wxUSE_DEBUG_INFO
=yes
17881 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
17882 cat >> confdefs.h
<<\EOF
17886 WXDEBUG_DEFINE
="-D__WXDEBUG__"
17888 if test "$wxUSE_GTK" = 1 ; then
17889 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
17893 if test "$wxUSE_MEM_TRACING" = "yes" ; then
17894 cat >> confdefs.h
<<\EOF
17895 #define wxUSE_MEMORY_TRACING 1
17898 cat >> confdefs.h
<<\EOF
17899 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
17902 cat >> confdefs.h
<<\EOF
17903 #define wxUSE_DEBUG_NEW_ALWAYS 1
17906 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
17909 if test "$wxUSE_DMALLOC" = "yes" ; then
17910 DMALLOC_LIBS
="-ldmalloc"
17914 if test "$wxUSE_PROFILE" = "yes" ; then
17919 CODE_GEN_FLAGS_CXX
=
17920 if test "$GCC" = "yes" ; then
17921 if test "$wxUSE_NO_RTTI" = "yes" ; then
17922 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
17924 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
17925 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
17927 if test "$wxUSE_PERMISSIVE" = "yes" ; then
17928 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
17930 if test "$USE_WIN32" = 1 ; then
17931 # I'm not even really sure what this was ever added to solve,
17932 # but someone added it for mingw native builds, so I guess
17933 # they had a reason, right??
17934 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
17938 if test "$wxUSE_OPTIMISE" = "no" ; then
17941 if test "$GCC" = yes ; then
17944 i586
-*-*|i686
-*-* )
17945 OPTIMISE
="${OPTIMISE} "
17953 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
17954 cat >> confdefs.h
<<\EOF
17955 #define WXWIN_COMPATIBILITY_2 1
17959 WXWIN_COMPATIBILITY_2_2
="yes"
17962 if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
17963 cat >> confdefs.h
<<\EOF
17964 #define WXWIN_COMPATIBILITY_2_2 1
17970 if test "$wxUSE_GUI" = "yes"; then
17971 cat >> confdefs.h
<<\EOF
17972 #define wxUSE_GUI 1
17977 cat >> confdefs.h
<<\EOF
17978 #define wxUSE_NOGUI 1
17984 if test "$wxUSE_UNIX" = "yes"; then
17985 cat >> confdefs.h
<<\EOF
17986 #define wxUSE_UNIX 1
17992 if test "$wxUSE_APPLE_IEEE" = "yes"; then
17993 cat >> confdefs.h
<<\EOF
17994 #define wxUSE_APPLE_IEEE 1
17999 if test "$wxUSE_TIMER" = "yes"; then
18000 cat >> confdefs.h
<<\EOF
18001 #define wxUSE_TIMER 1
18006 if test "$wxUSE_WAVE" = "yes"; then
18007 cat >> confdefs.h
<<\EOF
18008 #define wxUSE_WAVE 1
18013 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
18014 cat >> confdefs.h
<<\EOF
18015 #define wxUSE_CMDLINE_PARSER 1
18020 if test "$wxUSE_STOPWATCH" = "yes"; then
18021 cat >> confdefs.h
<<\EOF
18022 #define wxUSE_STOPWATCH 1
18027 if test "$wxUSE_DATETIME" = "yes"; then
18028 cat >> confdefs.h
<<\EOF
18029 #define wxUSE_DATETIME 1
18034 if test "$wxUSE_TIMEDATE" = "yes"; then
18035 cat >> confdefs.h
<<\EOF
18036 #define wxUSE_TIMEDATE 1
18041 if test "$wxUSE_FILE" = "yes"; then
18042 cat >> confdefs.h
<<\EOF
18043 #define wxUSE_FILE 1
18048 if test "$wxUSE_FFILE" = "yes"; then
18049 cat >> confdefs.h
<<\EOF
18050 #define wxUSE_FFILE 1
18055 if test "$wxUSE_FILESYSTEM" = "yes"; then
18056 cat >> confdefs.h
<<\EOF
18057 #define wxUSE_FILESYSTEM 1
18062 if test "$wxUSE_FS_INET" = "yes"; then
18063 cat >> confdefs.h
<<\EOF
18064 #define wxUSE_FS_INET 1
18069 if test "$wxUSE_FS_ZIP" = "yes"; then
18070 cat >> confdefs.h
<<\EOF
18071 #define wxUSE_FS_ZIP 1
18076 if test "$wxUSE_ZIPSTREAM" = "yes"; then
18077 cat >> confdefs.h
<<\EOF
18078 #define wxUSE_ZIPSTREAM 1
18083 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
18084 cat >> confdefs.h
<<\EOF
18085 #define wxUSE_ON_FATAL_EXCEPTION 1
18090 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18091 cat >> confdefs.h
<<\EOF
18092 #define wxUSE_SNGLINST_CHECKER 1
18097 if test "$wxUSE_BUSYINFO" = "yes"; then
18098 cat >> confdefs.h
<<\EOF
18099 #define wxUSE_BUSYINFO 1
18104 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
18105 cat >> confdefs.h
<<\EOF
18106 #define wxUSE_STD_IOSTREAM 1
18111 if test "$wxUSE_TEXTBUFFER" = "yes"; then
18112 cat >> confdefs.h
<<\EOF
18113 #define wxUSE_TEXTBUFFER 1
18118 if test "$wxUSE_TEXTFILE" = "yes"; then
18119 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
18120 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
18122 cat >> confdefs.h
<<\EOF
18123 #define wxUSE_TEXTFILE 1
18129 if test "$wxUSE_CONFIG" = "yes" ; then
18130 if test "$wxUSE_TEXTFILE" != "yes"; then
18131 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
18133 cat >> confdefs.h
<<\EOF
18134 #define wxUSE_CONFIG 1
18137 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
18141 if test "$wxUSE_INTL" = "yes" ; then
18142 if test "$wxUSE_FILE" != "yes"; then
18143 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
18145 cat >> confdefs.h
<<\EOF
18146 #define wxUSE_INTL 1
18149 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
18150 GUIDIST
="$GUIDIST INTL_DIST"
18154 if test "$wxUSE_LOG" = "yes"; then
18155 cat >> confdefs.h
<<\EOF
18156 #define wxUSE_LOG 1
18160 if test "$wxUSE_LOGGUI" = "yes"; then
18161 cat >> confdefs.h
<<\EOF
18162 #define wxUSE_LOGGUI 1
18167 if test "$wxUSE_LOGWINDOW" = "yes"; then
18168 cat >> confdefs.h
<<\EOF
18169 #define wxUSE_LOGWINDOW 1
18174 if test "$wxUSE_LOGDIALOG" = "yes"; then
18175 cat >> confdefs.h
<<\EOF
18176 #define wxUSE_LOG_DIALOG 1
18182 if test "$wxUSE_LONGLONG" = "yes"; then
18183 cat >> confdefs.h
<<\EOF
18184 #define wxUSE_LONGLONG 1
18189 if test "$wxUSE_GEOMETRY" = "yes"; then
18190 cat >> confdefs.h
<<\EOF
18191 #define wxUSE_GEOMETRY 1
18196 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
18197 cat >> confdefs.h
<<\EOF
18198 #define wxUSE_DIALUP_MANAGER 1
18201 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
18204 if test "$wxUSE_STREAMS" = "yes" ; then
18205 cat >> confdefs.h
<<\EOF
18206 #define wxUSE_STREAMS 1
18212 if test "$wxUSE_DATETIME" = "yes"; then
18213 for ac_func
in strptime
18215 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18216 echo "configure:18217: checking for $ac_func" >&5
18217 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18218 echo $ac_n "(cached) $ac_c" 1>&6
18220 cat > conftest.
$ac_ext <<EOF
18221 #line 18222 "configure"
18222 #include "confdefs.h"
18223 /* System header to define __stub macros and hopefully few prototypes,
18224 which can conflict with char $ac_func(); below. */
18225 #include <assert.h>
18226 /* Override any gcc2 internal prototype to avoid an error. */
18227 /* We use char because int might match the return type of a gcc2
18228 builtin and then its argument prototype would still apply. */
18233 /* The GNU C library defines this for functions which it implements
18234 to always fail with ENOSYS. Some functions are actually named
18235 something starting with __ and the normal name is an alias. */
18236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18244 if { (eval echo configure
:18245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18246 eval "ac_cv_func_$ac_func=yes"
18248 echo "configure: failed program was:" >&5
18249 cat conftest.
$ac_ext >&5
18251 eval "ac_cv_func_$ac_func=no"
18256 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18257 echo "$ac_t""yes" 1>&6
18258 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18259 cat >> confdefs.h
<<EOF
18260 #define $ac_tr_func 1
18264 echo "$ac_t""no" 1>&6
18269 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
18270 echo "configure:18271: checking for timezone variable in <time.h>" >&5
18271 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
18272 echo $ac_n "(cached) $ac_c" 1>&6
18275 cat > conftest.
$ac_ext <<EOF
18276 #line 18277 "configure"
18277 #include "confdefs.h"
18288 if { (eval echo configure
:18289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18291 wx_cv_var_timezone
=timezone
18294 echo "configure: failed program was:" >&5
18295 cat conftest.
$ac_ext >&5
18298 cat > conftest.
$ac_ext <<EOF
18299 #line 18300 "configure"
18300 #include "confdefs.h"
18311 if { (eval echo configure
:18312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18314 wx_cv_var_timezone
=_timezone
18317 echo "configure: failed program was:" >&5
18318 cat conftest.
$ac_ext >&5
18321 cat > conftest.
$ac_ext <<EOF
18322 #line 18323 "configure"
18323 #include "confdefs.h"
18334 if { (eval echo configure
:18335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18337 wx_cv_var_timezone
=__timezone
18340 echo "configure: failed program was:" >&5
18341 cat conftest.
$ac_ext >&5
18344 if test "$USE_DOS" = 0 ; then
18345 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
18363 echo "$ac_t""$wx_cv_var_timezone" 1>&6
18365 if test "x$wx_cv_var_timezone" != x
; then
18366 cat >> confdefs.h
<<EOF
18367 #define WX_TIMEZONE $wx_cv_var_timezone
18372 for ac_func
in localtime
18374 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18375 echo "configure:18376: checking for $ac_func" >&5
18376 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18377 echo $ac_n "(cached) $ac_c" 1>&6
18379 cat > conftest.
$ac_ext <<EOF
18380 #line 18381 "configure"
18381 #include "confdefs.h"
18382 /* System header to define __stub macros and hopefully few prototypes,
18383 which can conflict with char $ac_func(); below. */
18384 #include <assert.h>
18385 /* Override any gcc2 internal prototype to avoid an error. */
18386 /* We use char because int might match the return type of a gcc2
18387 builtin and then its argument prototype would still apply. */
18392 /* The GNU C library defines this for functions which it implements
18393 to always fail with ENOSYS. Some functions are actually named
18394 something starting with __ and the normal name is an alias. */
18395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18403 if { (eval echo configure
:18404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18405 eval "ac_cv_func_$ac_func=yes"
18407 echo "configure: failed program was:" >&5
18408 cat conftest.
$ac_ext >&5
18410 eval "ac_cv_func_$ac_func=no"
18415 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18416 echo "$ac_t""yes" 1>&6
18417 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18418 cat >> confdefs.h
<<EOF
18419 #define $ac_tr_func 1
18423 echo "$ac_t""no" 1>&6
18428 if test "$ac_cv_func_localtime" = "yes"; then
18429 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
18430 echo "configure:18431: checking for tm_gmtoff in struct tm" >&5
18431 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
18432 echo $ac_n "(cached) $ac_c" 1>&6
18435 cat > conftest.
$ac_ext <<EOF
18436 #line 18437 "configure"
18437 #include "confdefs.h"
18448 if { (eval echo configure
:18449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18451 wx_cv_struct_tm_has_gmtoff
=yes
18454 echo "configure: failed program was:" >&5
18455 cat conftest.
$ac_ext >&5
18457 wx_cv_struct_tm_has_gmtoff
=no
18464 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
18467 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
18468 cat >> confdefs.h
<<\EOF
18469 #define WX_GMTOFF_IN_TM 1
18474 for ac_func
in gettimeofday ftime
18476 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18477 echo "configure:18478: checking for $ac_func" >&5
18478 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18479 echo $ac_n "(cached) $ac_c" 1>&6
18481 cat > conftest.
$ac_ext <<EOF
18482 #line 18483 "configure"
18483 #include "confdefs.h"
18484 /* System header to define __stub macros and hopefully few prototypes,
18485 which can conflict with char $ac_func(); below. */
18486 #include <assert.h>
18487 /* Override any gcc2 internal prototype to avoid an error. */
18488 /* We use char because int might match the return type of a gcc2
18489 builtin and then its argument prototype would still apply. */
18494 /* The GNU C library defines this for functions which it implements
18495 to always fail with ENOSYS. Some functions are actually named
18496 something starting with __ and the normal name is an alias. */
18497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18505 if { (eval echo configure
:18506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18507 eval "ac_cv_func_$ac_func=yes"
18509 echo "configure: failed program was:" >&5
18510 cat conftest.
$ac_ext >&5
18512 eval "ac_cv_func_$ac_func=no"
18517 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18518 echo "$ac_t""yes" 1>&6
18519 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18520 cat >> confdefs.h
<<EOF
18521 #define $ac_tr_func 1
18525 echo "$ac_t""no" 1>&6
18530 if test "$ac_cv_func_gettimeofday" = "yes"; then
18531 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
18532 echo "configure:18533: checking whether gettimeofday takes two arguments" >&5
18533 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
18534 echo $ac_n "(cached) $ac_c" 1>&6
18539 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18540 ac_cpp
='$CXXCPP $CPPFLAGS'
18541 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18542 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18543 cross_compiling
=$ac_cv_prog_cxx_cross
18546 cat > conftest.
$ac_ext <<EOF
18547 #line 18548 "configure"
18548 #include "confdefs.h"
18550 #include <sys/time.h>
18551 #include <unistd.h>
18556 gettimeofday(&tv, NULL);
18560 if { (eval echo configure
:18561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18562 wx_cv_func_gettimeofday_has_2_args
=yes
18564 echo "configure: failed program was:" >&5
18565 cat conftest.
$ac_ext >&5
18567 cat > conftest.
$ac_ext <<EOF
18568 #line 18569 "configure"
18569 #include "confdefs.h"
18571 #include <sys/time.h>
18572 #include <unistd.h>
18581 if { (eval echo configure
:18582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18583 wx_cv_func_gettimeofday_has_2_args
=no
18585 echo "configure: failed program was:" >&5
18586 cat conftest.
$ac_ext >&5
18589 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
18590 wx_cv_func_gettimeofday_has_2_args
=unknown
18599 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18600 ac_cpp
='$CPP $CPPFLAGS'
18601 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18602 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18603 cross_compiling
=$ac_cv_prog_cc_cross
18608 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
18610 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
18611 cat >> confdefs.h
<<\EOF
18612 #define WX_GETTIMEOFDAY_NO_TZ 1
18618 cat >> confdefs.h
<<\EOF
18619 #define wxUSE_TIMEDATE 1
18622 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
18626 if test "$wxUSE_SOCKETS" = "yes"; then
18627 if test "$TOOLKIT" = "X11"; then
18628 echo "configure: warning: wxSocket not yet supported under X11... disabled" 1>&2
18633 if test "$wxUSE_SOCKETS" = "yes"; then
18634 if test "$TOOLKIT" != "MSW"; then
18635 echo $ac_n "checking for socket""... $ac_c" 1>&6
18636 echo "configure:18637: checking for socket" >&5
18637 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
18638 echo $ac_n "(cached) $ac_c" 1>&6
18640 cat > conftest.
$ac_ext <<EOF
18641 #line 18642 "configure"
18642 #include "confdefs.h"
18643 /* System header to define __stub macros and hopefully few prototypes,
18644 which can conflict with char socket(); below. */
18645 #include <assert.h>
18646 /* Override any gcc2 internal prototype to avoid an error. */
18647 /* We use char because int might match the return type of a gcc2
18648 builtin and then its argument prototype would still apply. */
18653 /* The GNU C library defines this for functions which it implements
18654 to always fail with ENOSYS. Some functions are actually named
18655 something starting with __ and the normal name is an alias. */
18656 #if defined (__stub_socket) || defined (__stub___socket)
18664 if { (eval echo configure
:18665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18666 eval "ac_cv_func_socket=yes"
18668 echo "configure: failed program was:" >&5
18669 cat conftest.
$ac_ext >&5
18671 eval "ac_cv_func_socket=no"
18676 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
18677 echo "$ac_t""yes" 1>&6
18680 echo "$ac_t""no" 1>&6
18681 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
18682 echo "configure:18683: checking for socket in -lsocket" >&5
18683 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
18684 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18685 echo $ac_n "(cached) $ac_c" 1>&6
18687 ac_save_LIBS
="$LIBS"
18688 LIBS
="-lsocket $LIBS"
18689 cat > conftest.
$ac_ext <<EOF
18690 #line 18691 "configure"
18691 #include "confdefs.h"
18692 /* Override any gcc2 internal prototype to avoid an error. */
18693 /* We use char because int might match the return type of a gcc2
18694 builtin and then its argument prototype would still apply. */
18701 if { (eval echo configure
:18702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18703 eval "ac_cv_lib_$ac_lib_var=yes"
18705 echo "configure: failed program was:" >&5
18706 cat conftest.
$ac_ext >&5
18708 eval "ac_cv_lib_$ac_lib_var=no"
18711 LIBS
="$ac_save_LIBS"
18714 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18715 echo "$ac_t""yes" 1>&6
18716 if test "$INET_LINK" != " -lsocket"; then
18717 INET_LINK
="$INET_LINK -lsocket"
18720 echo "$ac_t""no" 1>&6
18722 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
18734 if test "$wxUSE_SOCKETS" = "yes" ; then
18735 if test "$TOOLKIT" != "MSW"; then
18736 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
18737 echo "configure:18738: checking what is the type of the third argument of getsockname" >&5
18738 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
18739 echo $ac_n "(cached) $ac_c" 1>&6
18744 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18745 ac_cpp
='$CXXCPP $CPPFLAGS'
18746 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18747 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18748 cross_compiling
=$ac_cv_prog_cxx_cross
18751 cat > conftest.
$ac_ext <<EOF
18752 #line 18753 "configure"
18753 #include "confdefs.h"
18755 #include <sys/types.h>
18756 #include <sys/socket.h>
18761 getsockname(0, 0, &len);
18765 if { (eval echo configure
:18766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18767 wx_cv_type_getsockname3
=socklen_t
18769 echo "configure: failed program was:" >&5
18770 cat conftest.
$ac_ext >&5
18772 cat > conftest.
$ac_ext <<EOF
18773 #line 18774 "configure"
18774 #include "confdefs.h"
18776 #include <sys/types.h>
18777 #include <sys/socket.h>
18782 getsockname(0, 0, &len);
18786 if { (eval echo configure
:18787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18788 wx_cv_type_getsockname3
=size_t
18790 echo "configure: failed program was:" >&5
18791 cat conftest.
$ac_ext >&5
18793 cat > conftest.
$ac_ext <<EOF
18794 #line 18795 "configure"
18795 #include "confdefs.h"
18797 #include <sys/types.h>
18798 #include <sys/socket.h>
18803 getsockname(0, 0, &len);
18807 if { (eval echo configure
:18808: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18809 wx_cv_type_getsockname3
=int
18811 echo "configure: failed program was:" >&5
18812 cat conftest.
$ac_ext >&5
18814 wx_cv_type_getsockname3
=unknown
18826 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18827 ac_cpp
='$CPP $CPPFLAGS'
18828 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18829 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18830 cross_compiling
=$ac_cv_prog_cc_cross
18835 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
18837 if test "$wx_cv_type_getsockname3" = "unknown"; then
18839 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
18841 cat >> confdefs.h
<<EOF
18842 #define SOCKLEN_T $wx_cv_type_getsockname3
18849 if test "$wxUSE_SOCKETS" = "yes" ; then
18850 cat >> confdefs.h
<<\EOF
18851 #define wxUSE_SOCKETS 1
18854 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
18858 if test "$wxUSE_GUI" = "yes"; then
18860 if test "$TOOLKIT" = "MAC"; then
18861 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
18864 if test "$TOOLKIT" = "MOTIF"; then
18865 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
18868 if test "$TOOLKIT" = "X11"; then
18869 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
18873 if test "$TOOLKIT" != "MSW"; then
18874 if test "$wxUSE_JOYSTICK" = "yes"; then
18875 for ac_hdr
in linux
/joystick.h
18877 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18878 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18879 echo "configure:18880: checking for $ac_hdr" >&5
18880 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18881 echo $ac_n "(cached) $ac_c" 1>&6
18883 cat > conftest.
$ac_ext <<EOF
18884 #line 18885 "configure"
18885 #include "confdefs.h"
18888 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18889 { (eval echo configure
:18890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18890 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18891 if test -z "$ac_err"; then
18893 eval "ac_cv_header_$ac_safe=yes"
18896 echo "configure: failed program was:" >&5
18897 cat conftest.
$ac_ext >&5
18899 eval "ac_cv_header_$ac_safe=no"
18903 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18904 echo "$ac_t""yes" 1>&6
18905 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18906 cat >> confdefs.h
<<EOF
18907 #define $ac_tr_hdr 1
18911 echo "$ac_t""no" 1>&6
18915 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
18917 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
18922 if test "$wxUSE_JOYSTICK" = "yes"; then
18923 cat >> confdefs.h
<<\EOF
18924 #define wxUSE_JOYSTICK 1
18927 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
18932 if test "$TOOLKIT" != "MSW"; then
18936 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18937 if test "$USE_DARWIN" = 1; then
18940 for ac_func
in dlopen
18942 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18943 echo "configure:18944: checking for $ac_func" >&5
18944 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18945 echo $ac_n "(cached) $ac_c" 1>&6
18947 cat > conftest.
$ac_ext <<EOF
18948 #line 18949 "configure"
18949 #include "confdefs.h"
18950 /* System header to define __stub macros and hopefully few prototypes,
18951 which can conflict with char $ac_func(); below. */
18952 #include <assert.h>
18953 /* Override any gcc2 internal prototype to avoid an error. */
18954 /* We use char because int might match the return type of a gcc2
18955 builtin and then its argument prototype would still apply. */
18960 /* The GNU C library defines this for functions which it implements
18961 to always fail with ENOSYS. Some functions are actually named
18962 something starting with __ and the normal name is an alias. */
18963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18971 if { (eval echo configure
:18972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18973 eval "ac_cv_func_$ac_func=yes"
18975 echo "configure: failed program was:" >&5
18976 cat conftest.
$ac_ext >&5
18978 eval "ac_cv_func_$ac_func=no"
18983 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18984 echo "$ac_t""yes" 1>&6
18985 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18986 cat >> confdefs.h
<<EOF
18987 #define $ac_tr_func 1
18990 cat >> confdefs.h
<<\EOF
18991 #define HAVE_DLOPEN 1
18997 echo "$ac_t""no" 1>&6
18998 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
18999 echo "configure:19000: checking for dlopen in -ldl" >&5
19000 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
19001 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19002 echo $ac_n "(cached) $ac_c" 1>&6
19004 ac_save_LIBS
="$LIBS"
19006 cat > conftest.
$ac_ext <<EOF
19007 #line 19008 "configure"
19008 #include "confdefs.h"
19009 /* Override any gcc2 internal prototype to avoid an error. */
19010 /* We use char because int might match the return type of a gcc2
19011 builtin and then its argument prototype would still apply. */
19018 if { (eval echo configure
:19019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19020 eval "ac_cv_lib_$ac_lib_var=yes"
19022 echo "configure: failed program was:" >&5
19023 cat conftest.
$ac_ext >&5
19025 eval "ac_cv_lib_$ac_lib_var=no"
19028 LIBS
="$ac_save_LIBS"
19031 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19032 echo "$ac_t""yes" 1>&6
19034 cat >> confdefs.h
<<\EOF
19035 #define HAVE_DLOPEN 1
19039 DL_LINK
=" -ldl$DL_LINK"
19042 echo "$ac_t""no" 1>&6
19044 for ac_func
in shl_load
19046 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19047 echo "configure:19048: checking for $ac_func" >&5
19048 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19049 echo $ac_n "(cached) $ac_c" 1>&6
19051 cat > conftest.
$ac_ext <<EOF
19052 #line 19053 "configure"
19053 #include "confdefs.h"
19054 /* System header to define __stub macros and hopefully few prototypes,
19055 which can conflict with char $ac_func(); below. */
19056 #include <assert.h>
19057 /* Override any gcc2 internal prototype to avoid an error. */
19058 /* We use char because int might match the return type of a gcc2
19059 builtin and then its argument prototype would still apply. */
19064 /* The GNU C library defines this for functions which it implements
19065 to always fail with ENOSYS. Some functions are actually named
19066 something starting with __ and the normal name is an alias. */
19067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19075 if { (eval echo configure
:19076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19077 eval "ac_cv_func_$ac_func=yes"
19079 echo "configure: failed program was:" >&5
19080 cat conftest.
$ac_ext >&5
19082 eval "ac_cv_func_$ac_func=no"
19087 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19088 echo "$ac_t""yes" 1>&6
19089 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19090 cat >> confdefs.h
<<EOF
19091 #define $ac_tr_func 1
19094 cat >> confdefs.h
<<\EOF
19095 #define HAVE_SHL_LOAD 1
19101 echo "$ac_t""no" 1>&6
19102 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
19103 echo "configure:19104: checking for dld in -lshl_load" >&5
19104 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
19105 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19106 echo $ac_n "(cached) $ac_c" 1>&6
19108 ac_save_LIBS
="$LIBS"
19109 LIBS
="-lshl_load $LIBS"
19110 cat > conftest.
$ac_ext <<EOF
19111 #line 19112 "configure"
19112 #include "confdefs.h"
19113 /* Override any gcc2 internal prototype to avoid an error. */
19114 /* We use char because int might match the return type of a gcc2
19115 builtin and then its argument prototype would still apply. */
19122 if { (eval echo configure
:19123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19124 eval "ac_cv_lib_$ac_lib_var=yes"
19126 echo "configure: failed program was:" >&5
19127 cat conftest.
$ac_ext >&5
19129 eval "ac_cv_lib_$ac_lib_var=no"
19132 LIBS
="$ac_save_LIBS"
19135 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19136 echo "$ac_t""yes" 1>&6
19139 DL_LINK
=" -ldld$DL_LINK"
19142 echo "$ac_t""no" 1>&6
19157 if test "$HAVE_DL_FUNCS" = 1; then
19158 for ac_func
in dlerror
19160 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19161 echo "configure:19162: checking for $ac_func" >&5
19162 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19163 echo $ac_n "(cached) $ac_c" 1>&6
19165 cat > conftest.
$ac_ext <<EOF
19166 #line 19167 "configure"
19167 #include "confdefs.h"
19168 /* System header to define __stub macros and hopefully few prototypes,
19169 which can conflict with char $ac_func(); below. */
19170 #include <assert.h>
19171 /* Override any gcc2 internal prototype to avoid an error. */
19172 /* We use char because int might match the return type of a gcc2
19173 builtin and then its argument prototype would still apply. */
19178 /* The GNU C library defines this for functions which it implements
19179 to always fail with ENOSYS. Some functions are actually named
19180 something starting with __ and the normal name is an alias. */
19181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19189 if { (eval echo configure
:19190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19191 eval "ac_cv_func_$ac_func=yes"
19193 echo "configure: failed program was:" >&5
19194 cat conftest.
$ac_ext >&5
19196 eval "ac_cv_func_$ac_func=no"
19201 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19202 echo "$ac_t""yes" 1>&6
19203 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19204 cat >> confdefs.h
<<EOF
19205 #define $ac_tr_func 1
19207 cat >> confdefs.h
<<\EOF
19208 #define HAVE_DLERROR 1
19212 echo "$ac_t""no" 1>&6
19213 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
19214 echo "configure:19215: checking for dlerror in -ldl" >&5
19215 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
19216 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19217 echo $ac_n "(cached) $ac_c" 1>&6
19219 ac_save_LIBS
="$LIBS"
19221 cat > conftest.
$ac_ext <<EOF
19222 #line 19223 "configure"
19223 #include "confdefs.h"
19224 /* Override any gcc2 internal prototype to avoid an error. */
19225 /* We use char because int might match the return type of a gcc2
19226 builtin and then its argument prototype would still apply. */
19233 if { (eval echo configure
:19234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19235 eval "ac_cv_lib_$ac_lib_var=yes"
19237 echo "configure: failed program was:" >&5
19238 cat conftest.
$ac_ext >&5
19240 eval "ac_cv_lib_$ac_lib_var=no"
19243 LIBS
="$ac_save_LIBS"
19246 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19247 echo "$ac_t""yes" 1>&6
19248 cat >> confdefs.h
<<\EOF
19249 #define HAVE_DLERROR 1
19253 echo "$ac_t""no" 1>&6
19262 if test "$HAVE_DL_FUNCS" = 0; then
19263 if test "$HAVE_SHL_FUNCS" = 0; then
19264 if test "$USE_UNIX" = 1; then
19265 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
19266 wxUSE_DYNAMIC_LOADER
=no
19267 wxUSE_DYNLIB_CLASS
=no
19269 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
19276 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
19277 cat >> confdefs.h
<<\EOF
19278 #define wxUSE_DYNAMIC_LOADER 1
19281 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19282 cat >> confdefs.h
<<\EOF
19283 #define wxUSE_DYNLIB_CLASS 1
19289 if test "$wxUSE_FONTMAP" = "yes" ; then
19290 cat >> confdefs.h
<<\EOF
19291 #define wxUSE_FONTMAP 1
19296 if test "$wxUSE_UNICODE" = "yes" ; then
19297 cat >> confdefs.h
<<\EOF
19298 #define wxUSE_UNICODE 1
19302 if test "$wxUSE_MSW" != 1; then
19303 wxUSE_UNICODE_MSLU
=no
19306 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
19307 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
19308 echo "configure:19309: checking for main in -lunicows" >&5
19309 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
19310 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19311 echo $ac_n "(cached) $ac_c" 1>&6
19313 ac_save_LIBS
="$LIBS"
19314 LIBS
="-lunicows $LIBS"
19315 cat > conftest.
$ac_ext <<EOF
19316 #line 19317 "configure"
19317 #include "confdefs.h"
19323 if { (eval echo configure
:19324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19325 eval "ac_cv_lib_$ac_lib_var=yes"
19327 echo "configure: failed program was:" >&5
19328 cat conftest.
$ac_ext >&5
19330 eval "ac_cv_lib_$ac_lib_var=no"
19333 LIBS
="$ac_save_LIBS"
19336 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19337 echo "$ac_t""yes" 1>&6
19339 cat >> confdefs.h
<<\EOF
19340 #define wxUSE_UNICODE_MSLU 1
19345 echo "$ac_t""no" 1>&6
19347 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
19348 Applications will only run on Windows NT/2000/XP!" 1>&2
19349 wxUSE_UNICODE_MSLU
=no
19356 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
19357 cat >> confdefs.h
<<\EOF
19358 #define wxUSE_EXPERIMENTAL_PRINTF 1
19366 if test "$wxUSE_ODBC" = "yes" ; then
19367 cat >> confdefs.h
<<\EOF
19368 #define wxUSE_ODBC 1
19371 WXODBCFLAG
="-D_IODBC_"
19372 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
19376 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
19377 cat >> confdefs.h
<<\EOF
19378 #define wxUSE_POSTSCRIPT 1
19383 cat >> confdefs.h
<<\EOF
19384 #define wxUSE_AFM_FOR_POSTSCRIPT 1
19388 cat >> confdefs.h
<<\EOF
19389 #define wxUSE_NORMALIZED_PS_FONTS 1
19394 if test "$wxUSE_CONSTRAINTS" = "yes"; then
19395 cat >> confdefs.h
<<\EOF
19396 #define wxUSE_CONSTRAINTS 1
19399 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
19402 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19403 if test "$wxUSE_UNIVERSAL" = "yes"; then
19404 echo "configure: warning: MDI not yet supported for wxUniversal... disabled" 1>&2
19405 wxUSE_MDI_ARCHITECTURE
=no
19408 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19409 cat >> confdefs.h
<<\EOF
19410 #define wxUSE_MDI_ARCHITECTURE 1
19413 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
19417 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
19418 cat >> confdefs.h
<<\EOF
19419 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
19422 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
19423 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19424 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
19428 if test "$wxUSE_HELP" = "yes"; then
19429 cat >> confdefs.h
<<\EOF
19430 #define wxUSE_HELP 1
19433 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
19435 if test "$wxUSE_MSW" = 1; then
19436 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
19437 cat >> confdefs.h
<<\EOF
19438 #define wxUSE_MS_HTML_HELP 1
19444 if test "$wxUSE_WXHTML_HELP" = "yes"; then
19445 if test "$wxUSE_HTML" = "yes"; then
19446 cat >> confdefs.h
<<\EOF
19447 #define wxUSE_WXHTML_HELP 1
19451 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
19452 wxUSE_WXHTML_HELP
=no
19457 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
19458 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19459 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
19461 cat >> confdefs.h
<<\EOF
19462 #define wxUSE_PRINTING_ARCHITECTURE 1
19466 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
19469 if test "$wxUSE_PROLOGIO" = "yes" ; then
19470 cat >> confdefs.h
<<\EOF
19471 #define wxUSE_PROLOGIO 1
19476 if test "$wxUSE_RESOURCES" = "yes" ; then
19477 if test "$wxUSE_NANOX" = "yes"; then
19478 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
19480 cat >> confdefs.h
<<\EOF
19481 #define wxUSE_RESOURCES 1
19484 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
19488 if test "$wxUSE_X_RESOURCES" = "yes"; then
19489 cat >> confdefs.h
<<\EOF
19490 #define wxUSE_X_RESOURCES 1
19496 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
19497 -o "$wxUSE_CLIPBOARD" = "yes" \
19498 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
19499 for ac_hdr
in ole2.h
19501 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19502 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19503 echo "configure:19504: checking for $ac_hdr" >&5
19504 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19505 echo $ac_n "(cached) $ac_c" 1>&6
19507 cat > conftest.
$ac_ext <<EOF
19508 #line 19509 "configure"
19509 #include "confdefs.h"
19512 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19513 { (eval echo configure
:19514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19514 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19515 if test -z "$ac_err"; then
19517 eval "ac_cv_header_$ac_safe=yes"
19520 echo "configure: failed program was:" >&5
19521 cat conftest.
$ac_ext >&5
19523 eval "ac_cv_header_$ac_safe=no"
19527 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19528 echo "$ac_t""yes" 1>&6
19529 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19530 cat >> confdefs.h
<<EOF
19531 #define $ac_tr_hdr 1
19535 echo "$ac_t""no" 1>&6
19540 if test "$ac_cv_header_ole2_h" = "yes" ; then
19541 if test "$GCC" = yes ; then
19542 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
19543 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
19544 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
19545 cat >> confdefs.h
<<\EOF
19546 #define wxUSE_OLE 1
19552 cat >> confdefs.h
<<\EOF
19553 #define wxUSE_DATAOBJ 1
19557 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
19560 wxUSE_DRAG_AND_DROP
=no
19564 if test "$wxUSE_METAFILE" = "yes"; then
19565 cat >> confdefs.h
<<\EOF
19566 #define wxUSE_METAFILE 1
19570 cat >> confdefs.h
<<\EOF
19571 #define wxUSE_ENH_METAFILE 1
19577 if test "$wxUSE_IPC" = "yes"; then
19578 if test "$wxUSE_SOCKETS" != "yes"; then
19579 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
19582 cat >> confdefs.h
<<\EOF
19583 #define wxUSE_IPC 1
19588 if test "$wxUSE_CLIPBOARD" = "yes"; then
19589 cat >> confdefs.h
<<\EOF
19590 #define wxUSE_CLIPBOARD 1
19594 cat >> confdefs.h
<<\EOF
19595 #define wxUSE_DATAOBJ 1
19600 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
19601 if test "$wxUSE_GTK" = 1; then
19602 if test "$WXGTK12" != 1; then
19603 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
19604 wxUSE_DRAG_AND_DROP
=no
19608 if test "$wxUSE_MOTIF" = 1; then
19609 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
19610 wxUSE_DRAG_AND_DROP
=no
19613 if test "$wxUSE_X11" = 1; then
19614 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
19615 wxUSE_DRAG_AND_DROP
=no
19618 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
19619 cat >> confdefs.h
<<\EOF
19620 #define wxUSE_DRAG_AND_DROP 1
19623 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
19628 if test "$wxUSE_SPLINES" = "yes" ; then
19629 cat >> confdefs.h
<<\EOF
19630 #define wxUSE_SPLINES 1
19637 if test "$wxUSE_CONTROLS" = "yes"; then
19641 if test "$wxUSE_ACCEL" = "yes"; then
19642 cat >> confdefs.h
<<\EOF
19643 #define wxUSE_ACCEL 1
19649 if test "$wxUSE_BUTTON" = "yes"; then
19650 cat >> confdefs.h
<<\EOF
19651 #define wxUSE_BUTTON 1
19657 if test "$wxUSE_BMPBUTTON" = "yes"; then
19658 cat >> confdefs.h
<<\EOF
19659 #define wxUSE_BMPBUTTON 1
19665 if test "$wxUSE_CALCTRL" = "yes"; then
19666 cat >> confdefs.h
<<\EOF
19667 #define wxUSE_CALENDARCTRL 1
19671 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
19674 if test "$wxUSE_CARET" = "yes"; then
19675 cat >> confdefs.h
<<\EOF
19676 #define wxUSE_CARET 1
19680 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
19683 if test "$wxUSE_COMBOBOX" = "yes"; then
19684 cat >> confdefs.h
<<\EOF
19685 #define wxUSE_COMBOBOX 1
19691 if test "$wxUSE_CHOICE" = "yes"; then
19692 cat >> confdefs.h
<<\EOF
19693 #define wxUSE_CHOICE 1
19699 if test "$wxUSE_CHECKBOX" = "yes"; then
19700 cat >> confdefs.h
<<\EOF
19701 #define wxUSE_CHECKBOX 1
19707 if test "$wxUSE_CHECKLST" = "yes"; then
19708 cat >> confdefs.h
<<\EOF
19709 #define wxUSE_CHECKLISTBOX 1
19713 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
19716 if test "$wxUSE_GAUGE" = "yes"; then
19717 cat >> confdefs.h
<<\EOF
19718 #define wxUSE_GAUGE 1
19724 if test "$wxUSE_NEW_GRID" = "yes"; then
19726 cat >> confdefs.h
<<\EOF
19727 #define wxUSE_NEW_GRID 1
19731 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
19734 if test "$wxUSE_GRID" = "yes"; then
19735 cat >> confdefs.h
<<\EOF
19736 #define wxUSE_GRID 1
19740 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
19743 if test "$wxUSE_IMAGLIST" = "yes"; then
19744 cat >> confdefs.h
<<\EOF
19745 #define wxUSE_IMAGLIST 1
19750 if test "$wxUSE_LISTBOX" = "yes"; then
19751 cat >> confdefs.h
<<\EOF
19752 #define wxUSE_LISTBOX 1
19758 if test "$wxUSE_LISTCTRL" = "yes"; then
19759 if test "$wxUSE_IMAGLIST" = "yes"; then
19760 cat >> confdefs.h
<<\EOF
19761 #define wxUSE_LISTCTRL 1
19765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
19767 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
19771 if test "$wxUSE_NOTEBOOK" = "yes"; then
19772 cat >> confdefs.h
<<\EOF
19773 #define wxUSE_NOTEBOOK 1
19777 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
19780 if test "$wxUSE_PROPSHEET" = "yes"; then
19781 cat >> confdefs.h
<<\EOF
19782 #define wxUSE_PROPSHEET 1
19786 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
19789 if test "$wxUSE_RADIOBOX" = "yes"; then
19790 cat >> confdefs.h
<<\EOF
19791 #define wxUSE_RADIOBOX 1
19797 if test "$wxUSE_RADIOBTN" = "yes"; then
19798 cat >> confdefs.h
<<\EOF
19799 #define wxUSE_RADIOBTN 1
19805 if test "$wxUSE_SASH" = "yes"; then
19806 cat >> confdefs.h
<<\EOF
19807 #define wxUSE_SASH 1
19810 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
19813 if test "$wxUSE_SCROLLBAR" = "yes"; then
19814 cat >> confdefs.h
<<\EOF
19815 #define wxUSE_SCROLLBAR 1
19819 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
19822 if test "$wxUSE_SLIDER" = "yes"; then
19823 cat >> confdefs.h
<<\EOF
19824 #define wxUSE_SLIDER 1
19830 if test "$wxUSE_SPINBTN" = "yes"; then
19831 cat >> confdefs.h
<<\EOF
19832 #define wxUSE_SPINBTN 1
19838 if test "$wxUSE_SPINCTRL" = "yes"; then
19839 cat >> confdefs.h
<<\EOF
19840 #define wxUSE_SPINCTRL 1
19846 if test "$wxUSE_SPLITTER" = "yes"; then
19847 cat >> confdefs.h
<<\EOF
19848 #define wxUSE_SPLITTER 1
19851 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
19854 if test "$wxUSE_STATBMP" = "yes"; then
19855 cat >> confdefs.h
<<\EOF
19856 #define wxUSE_STATBMP 1
19862 if test "$wxUSE_STATBOX" = "yes"; then
19863 cat >> confdefs.h
<<\EOF
19864 #define wxUSE_STATBOX 1
19870 if test "$wxUSE_STATTEXT" = "yes"; then
19871 cat >> confdefs.h
<<\EOF
19872 #define wxUSE_STATTEXT 1
19878 if test "$wxUSE_STATLINE" = "yes"; then
19879 if test "$wxUSE_WINE" = 1 ; then
19880 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
19882 cat >> confdefs.h
<<\EOF
19883 #define wxUSE_STATLINE 1
19890 if test "$wxUSE_STATUSBAR" = "yes"; then
19891 cat >> confdefs.h
<<\EOF
19892 #define wxUSE_STATUSBAR 1
19897 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
19900 if test "$wxUSE_TABDIALOG" = "yes"; then
19901 cat >> confdefs.h
<<\EOF
19902 #define wxUSE_TAB_DIALOG 1
19905 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
19908 if test "$wxUSE_TEXTCTRL" = "yes"; then
19909 cat >> confdefs.h
<<\EOF
19910 #define wxUSE_TEXTCTRL 1
19914 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
19917 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19918 if test "$wxUSE_MAC" = 1; then
19919 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
19922 if test "$wxUSE_UNIVERSAL" = "yes"; then
19923 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
19927 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19928 cat >> confdefs.h
<<\EOF
19929 #define wxUSE_TOGGLEBTN 1
19936 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
19937 cat >> confdefs.h
<<\EOF
19938 #define wxUSE_TOOLBAR_SIMPLE 1
19941 wxUSE_TOOLBAR
="yes"
19945 if test "$wxUSE_TOOLBAR" = "yes"; then
19946 cat >> confdefs.h
<<\EOF
19947 #define wxUSE_TOOLBAR 1
19952 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
19953 wxUSE_TOOLBAR_NATIVE
="yes"
19956 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
19957 cat >> confdefs.h
<<\EOF
19958 #define wxUSE_TOOLBAR_NATIVE 1
19964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
19967 if test "$wxUSE_TOOLTIPS" = "yes"; then
19968 if test "$wxUSE_MOTIF" = 1; then
19969 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
19971 if test "$wxUSE_WINE" = 1; then
19972 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
19974 if test "$wxUSE_UNIVERSAL" = "yes"; then
19975 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
19977 cat >> confdefs.h
<<\EOF
19978 #define wxUSE_TOOLTIPS 1
19986 if test "$wxUSE_TREECTRL" = "yes"; then
19987 if test "$wxUSE_IMAGLIST" = "yes"; then
19988 cat >> confdefs.h
<<\EOF
19989 #define wxUSE_TREECTRL 1
19993 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
19995 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
19999 if test "$wxUSE_POPUPWIN" = "yes"; then
20000 if test "$wxUSE_MAC" = 1; then
20001 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
20003 if test "$wxUSE_MOTIF" = 1; then
20004 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
20006 if test "$wxUSE_PM" = 1; then
20007 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
20009 cat >> confdefs.h
<<\EOF
20010 #define wxUSE_POPUPWIN 1
20020 if test "$wxUSE_TIPWINDOW" = "yes"; then
20021 if test "$wxUSE_PM" = 1; then
20022 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
20024 cat >> confdefs.h
<<\EOF
20025 #define wxUSE_TIPWINDOW 1
20031 if test "$USES_CONTROLS" = 1; then
20032 cat >> confdefs.h
<<\EOF
20033 #define wxUSE_CONTROLS 1
20039 if test "$wxUSE_TREELAYOUT" = "yes"; then
20040 cat >> confdefs.h
<<\EOF
20041 #define wxUSE_TREELAYOUT 1
20044 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
20047 if test "$wxUSE_DRAGIMAGE" = "yes"; then
20048 cat >> confdefs.h
<<\EOF
20049 #define wxUSE_DRAGIMAGE 1
20052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
20055 if test "$wxUSE_MENUS" = "yes"; then
20056 cat >> confdefs.h
<<\EOF
20057 #define wxUSE_MENUS 1
20060 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
20063 if test "$wxUSE_METAFILE" = "yes"; then
20064 cat >> confdefs.h
<<\EOF
20065 #define wxUSE_METAFILE 1
20070 if test "$wxUSE_MIMETYPE" = "yes"; then
20071 cat >> confdefs.h
<<\EOF
20072 #define wxUSE_MIMETYPE 1
20077 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
20078 cat >> confdefs.h
<<\EOF
20079 #define wxUSE_SYSTEM_OPTIONS 1
20084 if test "$wxUSE_PROTOCOL" = "yes"; then
20085 if test "$wxUSE_SOCKETS" != "yes"; then
20086 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
20090 if test "$wxUSE_PROTOCOL" = "yes"; then
20091 cat >> confdefs.h
<<\EOF
20092 #define wxUSE_PROTOCOL 1
20096 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
20097 cat >> confdefs.h
<<\EOF
20098 #define wxUSE_PROTOCOL_HTTP 1
20102 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
20103 cat >> confdefs.h
<<\EOF
20104 #define wxUSE_PROTOCOL_FTP 1
20108 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
20109 cat >> confdefs.h
<<\EOF
20110 #define wxUSE_PROTOCOL_FILE 1
20117 if test "$wxUSE_URL" = "yes"; then
20118 if test "$wxUSE_PROTOCOL" != "yes"; then
20119 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
20122 if test "$wxUSE_URL" = "yes"; then
20123 cat >> confdefs.h
<<\EOF
20124 #define wxUSE_URL 1
20130 if test "$wxUSE_MINIFRAME" = "yes"; then
20131 cat >> confdefs.h
<<\EOF
20132 #define wxUSE_MINIFRAME 1
20135 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
20138 if test "$wxUSE_HTML" = "yes"; then
20139 cat >> confdefs.h
<<\EOF
20140 #define wxUSE_HTML 1
20143 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
20146 if test "$wxUSE_VALIDATORS" = "yes"; then
20147 cat >> confdefs.h
<<\EOF
20148 #define wxUSE_VALIDATORS 1
20151 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
20154 if test "$wxUSE_PALETTE" = "yes" ; then
20155 cat >> confdefs.h
<<\EOF
20156 #define wxUSE_PALETTE 1
20161 if test "$wxUSE_IMAGE" = "yes" ; then
20162 cat >> confdefs.h
<<\EOF
20163 #define wxUSE_IMAGE 1
20168 if test "$wxUSE_GIF" = "yes" ; then
20169 cat >> confdefs.h
<<\EOF
20170 #define wxUSE_GIF 1
20175 if test "$wxUSE_PCX" = "yes" ; then
20176 cat >> confdefs.h
<<\EOF
20177 #define wxUSE_PCX 1
20182 if test "$wxUSE_IFF" = "yes" ; then
20183 cat >> confdefs.h
<<\EOF
20184 #define wxUSE_IFF 1
20189 if test "$wxUSE_PNM" = "yes" ; then
20190 cat >> confdefs.h
<<\EOF
20191 #define wxUSE_PNM 1
20196 if test "$wxUSE_XPM" = "yes" ; then
20197 cat >> confdefs.h
<<\EOF
20198 #define wxUSE_XPM 1
20203 if test "$wxUSE_ICO_CUR" = "yes" ; then
20204 cat >> confdefs.h
<<\EOF
20205 #define wxUSE_ICO_CUR 1
20210 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
20211 LIBS
=" -lunicows $LIBS"
20215 if test "$wxUSE_CHOICEDLG" = "yes"; then
20216 cat >> confdefs.h
<<\EOF
20217 #define wxUSE_CHOICEDLG 1
20222 if test "$wxUSE_COLOURDLG" = "yes"; then
20223 cat >> confdefs.h
<<\EOF
20224 #define wxUSE_COLOURDLG 1
20229 if test "$wxUSE_FILEDLG" = "yes"; then
20230 cat >> confdefs.h
<<\EOF
20231 #define wxUSE_FILEDLG 1
20236 if test "$wxUSE_FINDREPLDLG" = "yes"; then
20237 cat >> confdefs.h
<<\EOF
20238 #define wxUSE_FINDREPLDLG 1
20243 if test "$wxUSE_FONTDLG" = "yes"; then
20244 cat >> confdefs.h
<<\EOF
20245 #define wxUSE_FONTDLG 1
20250 if test "$wxUSE_DIRDLG" = "yes"; then
20251 if test "$wxUSE_TREECTRL" != "yes"; then
20252 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
20254 cat >> confdefs.h
<<\EOF
20255 #define wxUSE_DIRDLG 1
20261 if test "$wxUSE_MSGDLG" = "yes"; then
20262 cat >> confdefs.h
<<\EOF
20263 #define wxUSE_MSGDLG 1
20268 if test "$wxUSE_NUMBERDLG" = "yes"; then
20269 cat >> confdefs.h
<<\EOF
20270 #define wxUSE_NUMBERDLG 1
20275 if test "$wxUSE_PROGRESSDLG" = "yes"; then
20276 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20277 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
20279 cat >> confdefs.h
<<\EOF
20280 #define wxUSE_PROGRESSDLG 1
20286 if test "$wxUSE_SPLASH" = "yes"; then
20287 cat >> confdefs.h
<<\EOF
20288 #define wxUSE_SPLASH 1
20293 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
20294 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20295 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
20297 cat >> confdefs.h
<<\EOF
20298 #define wxUSE_STARTUP_TIPS 1
20304 if test "$wxUSE_TEXTDLG" = "yes"; then
20305 cat >> confdefs.h
<<\EOF
20306 #define wxUSE_TEXTDLG 1
20311 if test "$wxUSE_WIZARDDLG" = "yes"; then
20312 cat >> confdefs.h
<<\EOF
20313 #define wxUSE_WIZARDDLG 1
20316 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
20320 if test "$cross_compiling" = "yes"; then
20323 OSINFO
=`uname -s -r -m`
20324 OSINFO
="\"$OSINFO\""
20327 cat >> confdefs.h
<<EOF
20328 #define WXWIN_OS_DESCRIPTION $OSINFO
20333 if test "x$prefix" != "xNONE"; then
20336 wxPREFIX
=$ac_default_prefix
20339 cat >> confdefs.h
<<EOF
20340 #define wxINSTALL_PREFIX "$wxPREFIX"
20347 if test "$wxUSE_MAC" = 1 ; then
20348 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
20352 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK -lm $LIBS"
20354 if test "$wxUSE_GUI" = "yes"; then
20356 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
20359 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
20360 drawing dynamic erase event exec font image \
20361 minimal richedit rotate widgets"
20363 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
20365 SAMPLES_SUBDIRS
="console"
20369 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
20370 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
20372 if test "$wxUSE_GTK" = 1; then
20375 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
20378 if test "$GXX" = yes ; then
20379 CXXWARNINGS
="-Wall"
20381 if test "$wxUSE_NO_DEPS" = "no" ; then
20382 CFLAGS
="-MMD $CFLAGS"
20383 CXXFLAGS
="-MMD $CXXFLAGS"
20387 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
20389 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
20390 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
20391 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
20393 LDFLAGS
="$LDFLAGS $PROFILE"
20395 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
20485 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
20486 echo "configure:20487: checking whether ${MAKE-make} sets \${MAKE}" >&5
20487 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
20488 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
20489 echo $ac_n "(cached) $ac_c" 1>&6
20491 cat > conftestmake
<<\EOF
20493 @
echo 'ac_maketemp="${MAKE}"'
20495 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20496 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
20497 if test -n "$ac_maketemp"; then
20498 eval ac_cv_prog_make_
${ac_make}_set
=yes
20500 eval ac_cv_prog_make_
${ac_make}_set
=no
20504 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
20505 echo "$ac_t""yes" 1>&6
20508 echo "$ac_t""no" 1>&6
20509 SET_MAKE
="MAKE=${MAKE-make}"
20513 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
20514 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
20519 if test "$wxUSE_GUI" = "yes"; then
20520 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
20521 wx_cv_if_gnu_make
=$IF_GNU_MAKE
20522 wx_cv_path_ifs
=$PATH_IFS
20523 wx_cv_program_ext
=$PROGRAM_EXT
20524 wx_cv_target_library
=$WX_TARGET_LIBRARY
20525 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
20526 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
20527 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
20528 wx_cv_path_ifs wx_cv_program_ext \
20529 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
20530 subdirs
="demos samples utils contrib"
20535 cat > confcache
<<\EOF
20536 # This file is a shell script that caches the results of configure
20537 # tests run on this system so they can be shared between configure
20538 # scripts and configure runs. It is not useful on other systems.
20539 # If it contains results you don't want to keep, you may remove or edit it.
20541 # By default, configure uses ./config.cache as the cache file,
20542 # creating it if it does not exist already. You can give configure
20543 # the --cache-file=FILE option to use a different cache file; that is
20544 # what configure does when it calls configure scripts in
20545 # subdirectories, so they share the cache.
20546 # Giving --cache-file=/dev/null disables caching, for debugging configure.
20547 # config.status only pays attention to the cache file if you give it the
20548 # --recheck option to rerun configure.
20551 # The following way of writing the cache mishandles newlines in values,
20552 # but we know of no workaround that is simple, portable, and efficient.
20553 # So, don't put newlines in cache variables' values.
20554 # Ultrix sh set writes to stderr and can't be redirected directly,
20555 # and sets the high bit in the cache file unless we assign to the vars.
20557 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20559 # `set' does not quote correctly, so add quotes (double-quote substitution
20560 # turns \\\\ into \\, and sed turns \\ into \).
20562 -e "s/'/'\\\\''/g" \
20563 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20566 # `set' quotes correctly as required by POSIX, so do not add quotes.
20567 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20570 if cmp -s $cache_file confcache
; then
20573 if test -w $cache_file; then
20574 echo "updating cache $cache_file"
20575 cat confcache
> $cache_file
20577 echo "not updating unwritable cache $cache_file"
20582 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
20584 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20585 # Let make expand exec_prefix.
20586 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20588 # Any assignment to VPATH causes Sun make to only execute
20589 # the first set of double-colon rules, so remove it if not needed.
20590 # If there is a colon in the path, we need to keep it.
20591 if test "x$srcdir" = x.
; then
20592 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
20595 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
20597 DEFS
=-DHAVE_CONFIG_H
20599 # Without the "./", some shells look in PATH for config.status.
20600 : ${CONFIG_STATUS=./config.status}
20602 echo creating
$CONFIG_STATUS
20603 rm -f $CONFIG_STATUS
20604 cat > $CONFIG_STATUS <<EOF
20606 # Generated automatically by configure.
20607 # Run this file to recreate the current configuration.
20608 # This directory was configured as follows,
20609 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20611 # $0 $ac_configure_args
20613 # Compiler output produced by configure, useful for debugging
20614 # configure, is in ./config.log if it exists.
20616 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
20619 case "\$ac_option" in
20620 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20621 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
20622 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
20623 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
20624 echo "$CONFIG_STATUS generated by autoconf version 2.13"
20626 -help | --help | --hel | --he | --h)
20627 echo "\$ac_cs_usage"; exit 0 ;;
20628 *) echo "\$ac_cs_usage"; exit 1 ;;
20632 ac_given_srcdir=$srcdir
20633 ac_given_INSTALL="$INSTALL"
20635 trap 'rm -fr `echo "
20641 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
20643 cat >> $CONFIG_STATUS <<EOF
20645 # Protect against being on the right side of a sed subst in config.status.
20646 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
20647 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
20651 s%@CFLAGS@%$CFLAGS%g
20652 s%@CPPFLAGS@%$CPPFLAGS%g
20653 s%@CXXFLAGS@%$CXXFLAGS%g
20654 s%@FFLAGS@%$FFLAGS%g
20656 s%@LDFLAGS@%$LDFLAGS%g
20658 s%@exec_prefix@%$exec_prefix%g
20659 s%@prefix@%$prefix%g
20660 s%@program_transform_name@%$program_transform_name%g
20661 s%@bindir@%$bindir%g
20662 s%@sbindir@%$sbindir%g
20663 s%@libexecdir@%$libexecdir%g
20664 s%@datadir@%$datadir%g
20665 s%@sysconfdir@%$sysconfdir%g
20666 s%@sharedstatedir@%$sharedstatedir%g
20667 s%@localstatedir@%$localstatedir%g
20668 s%@libdir@%$libdir%g
20669 s%@includedir@%$includedir%g
20670 s%@oldincludedir@%$oldincludedir%g
20671 s%@infodir@%$infodir%g
20672 s%@mandir@%$mandir%g
20674 s%@host_alias@%$host_alias%g
20675 s%@host_cpu@%$host_cpu%g
20676 s%@host_vendor@%$host_vendor%g
20677 s%@host_os@%$host_os%g
20678 s%@target@%$target%g
20679 s%@target_alias@%$target_alias%g
20680 s%@target_cpu@%$target_cpu%g
20681 s%@target_vendor@%$target_vendor%g
20682 s%@target_os@%$target_os%g
20684 s%@build_alias@%$build_alias%g
20685 s%@build_cpu@%$build_cpu%g
20686 s%@build_vendor@%$build_vendor%g
20687 s%@build_os@%$build_os%g
20691 s%@RANLIB@%$RANLIB%g
20693 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
20694 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
20695 s%@INSTALL_DATA@%$INSTALL_DATA%g
20697 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
20700 s%@LEXLIB@%$LEXLIB%g
20702 s%@PKG_CONFIG@%$PKG_CONFIG%g
20703 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
20704 s%@GTK_LIBS@%$GTK_LIBS%g
20705 s%@GTK_CONFIG@%$GTK_CONFIG%g
20706 s%@X_CFLAGS@%$X_CFLAGS%g
20707 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
20708 s%@X_LIBS@%$X_LIBS%g
20709 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
20710 s%@RESCOMP@%$RESCOMP%g
20712 s%@CXXCPP@%$CXXCPP%g
20713 s%@LIBICONV@%$LIBICONV%g
20714 s%@LEX_STEM@%$LEX_STEM%g
20715 s%@PATH_IFS@%$PATH_IFS%g
20716 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
20717 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
20718 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
20719 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
20720 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
20721 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
20722 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
20723 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
20724 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
20725 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
20726 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
20727 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
20728 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
20729 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
20730 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
20731 s%@WX_ALL@%$WX_ALL%g
20732 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
20733 s%@SHARED_LD@%$SHARED_LD%g
20734 s%@PIC_FLAG@%$PIC_FLAG%g
20735 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
20736 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
20737 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
20738 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
20739 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
20740 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
20741 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
20742 s%@USE_GUI@%$USE_GUI%g
20743 s%@AFMINSTALL@%$AFMINSTALL%g
20744 s%@TOOLKIT@%$TOOLKIT%g
20745 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
20746 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
20747 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
20748 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
20749 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
20750 s%@cross_compiling@%$cross_compiling%g
20751 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
20752 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
20753 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
20754 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
20755 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
20756 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
20757 s%@ALL_HEADERS@%$ALL_HEADERS%g
20758 s%@ALL_SOURCES@%$ALL_SOURCES%g
20759 s%@GUIDIST@%$GUIDIST%g
20760 s%@PORT_FILES@%$PORT_FILES%g
20761 s%@DISTDIR@%$DISTDIR%g
20762 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
20763 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
20764 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
20765 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
20766 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
20767 s%@EXTRADEFS@%$EXTRADEFS%g
20768 s%@RESFLAGS@%$RESFLAGS%g
20769 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
20770 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
20771 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
20772 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
20773 s%@LIBWXMACRES@%$LIBWXMACRES%g
20774 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
20775 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
20776 s%@DLLTOOL@%$DLLTOOL%g
20780 s%@MAKEINFO@%$MAKEINFO%g
20781 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
20782 s%@SET_MAKE@%$SET_MAKE%g
20783 s%@subdirs@%$subdirs%g
20788 cat >> $CONFIG_STATUS <<\EOF
20790 # Split the substitutions into bite-sized pieces for seds with
20791 # small command number limits, like on Digital OSF/1 and HP-UX.
20792 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
20793 ac_file
=1 # Number of current file.
20794 ac_beg
=1 # First line for current file.
20795 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
20798 while $ac_more_lines; do
20799 if test $ac_beg -gt 1; then
20800 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
20802 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
20804 if test ! -s conftest.s
$ac_file; then
20805 ac_more_lines
=false
20806 rm -f conftest.s
$ac_file
20808 if test -z "$ac_sed_cmds"; then
20809 ac_sed_cmds
="sed -f conftest.s$ac_file"
20811 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
20813 ac_file
=`expr $ac_file + 1`
20815 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
20818 if test -z "$ac_sed_cmds"; then
20823 cat >> $CONFIG_STATUS <<EOF
20825 CONFIG_FILES=\${CONFIG_FILES-"wx-config
20832 cat >> $CONFIG_STATUS <<\EOF
20833 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
20834 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20836 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
20837 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20838 *) ac_file_in
="${ac_file}.in" ;;
20841 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
20843 # Remove last slash and all that follows it. Not all systems have dirname.
20844 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20845 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
20846 # The file is in a subdirectory.
20847 test ! -d "$ac_dir" && mkdir "$ac_dir"
20848 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
20849 # A "../" for each directory in $ac_dir_suffix.
20850 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
20852 ac_dir_suffix
= ac_dots
=
20855 case "$ac_given_srcdir" in
20857 if test -z "$ac_dots"; then top_srcdir
=.
20858 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
20859 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
20860 *) # Relative path.
20861 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
20862 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
20865 case "$ac_given_INSTALL" in
20866 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
20867 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
20870 echo creating
"$ac_file"
20872 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
20874 *Makefile
*) ac_comsub
="1i\\
20875 # $configure_input" ;;
20879 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20881 s%@configure_input@%$configure_input%g
20882 s%@srcdir@%$srcdir%g
20883 s%@top_srcdir@%$top_srcdir%g
20884 s%@INSTALL@%$INSTALL%g
20885 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
20889 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20890 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20892 # ac_d sets the value in "#define NAME VALUE" lines.
20893 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20894 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
20897 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
20898 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20899 ac_uB
='\([ ]\)%\1#\2define\3'
20902 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20903 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20904 ac_eB
='$%\1#\2define\3'
20908 if test "${CONFIG_HEADERS+set}" != set; then
20910 cat >> $CONFIG_STATUS <<EOF
20911 CONFIG_HEADERS="setup.h:setup.h.in"
20913 cat >> $CONFIG_STATUS <<\EOF
20915 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
20916 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20918 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
20919 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20920 *) ac_file_in
="${ac_file}.in" ;;
20923 echo creating
$ac_file
20925 rm -f conftest.frag conftest.
in conftest.out
20926 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20927 cat $ac_file_inputs > conftest.
in
20931 # Transform confdefs.h into a sed script conftest.vals that substitutes
20932 # the proper values into config.h.in to produce config.h. And first:
20933 # Protect against being on the right side of a sed subst in config.status.
20934 # Protect against being in an unquoted here document in config.status.
20935 rm -f conftest.vals
20936 cat > conftest.hdr
<<\EOF
20939 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
20943 sed -n -f conftest.hdr confdefs.h > conftest.vals
20946 # This sed command replaces #undef with comments. This is necessary, for
20947 # example, in the case of _POSIX_SOURCE, which is predefined and required
20948 # on some systems where configure will not decide to define it.
20949 cat >> conftest.vals <<\EOF
20950 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
20953 # Break up conftest.vals because some shells have a limit on
20954 # the size of here documents, and old seds have small limits too.
20956 rm -f conftest.tail
20959 ac_lines=`grep -c . conftest.vals
`
20960 # grep -c gives empty output for an empty file on some AIX systems.
20961 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
20962 # Write a limited-size here document to conftest.frag.
20963 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
20964 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
20966 sed -f conftest.frag conftest.in > conftest.out
20968 mv conftest.out conftest.in
20969 ' >> $CONFIG_STATUS
20970 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
20971 rm -f conftest.vals
20972 mv conftest.tail conftest.vals
20974 rm -f conftest.vals
20976 cat >> $CONFIG_STATUS <<\EOF
20977 rm -f conftest.frag conftest.h
20978 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
20979 cat conftest.in >> conftest.h
20981 if cmp -s $ac_file conftest.h 2>/dev/null; then
20982 echo "$ac_file is unchanged"
20985 # Remove last slash and all that follows it. Not all systems have dirname.
20986 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20987 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20988 # The file is in a subdirectory.
20989 test ! -d "$ac_dir" && mkdir "$ac_dir"
20992 mv conftest.h $ac_file
20997 cat >> $CONFIG_STATUS <<EOF
20999 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
21004 cat >> $CONFIG_STATUS <<\EOF
21006 if test ! -h wx-config; then
21008 mv wx-config wx${TOOLCHAIN_NAME}-config
21009 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
21012 if test ! -d lib; then
21015 if test ! -d lib/wx; then
21018 if test ! -d lib/wx/include; then
21019 mkdir lib/wx/include
21021 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
21022 mkdir lib/wx/include/${TOOLCHAIN_NAME}
21024 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
21025 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
21027 if test -f setup.h; then
21028 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
21033 chmod +x $CONFIG_STATUS
21034 rm -fr confdefs* $ac_clean_files
21035 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21037 if test "$no_recursion" != yes; then
21039 # Remove --cache-file and --srcdir arguments so they do not pile up.
21040 ac_sub_configure_args=
21042 for ac_arg in $ac_configure_args; do
21043 if test -n "$ac_prev"; then
21048 -cache-file | --cache-file | --cache-fil | --cache-fi \
21049 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
21050 ac_prev=cache_file ;;
21051 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
21052 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
21054 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
21056 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
21058 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
21062 for ac_config_dir in demos samples utils contrib; do
21064 # Do not complain, so a configure script can configure whichever
21065 # parts of a large source tree are present.
21066 if test ! -d $srcdir/$ac_config_dir; then
21070 echo configuring in $ac_config_dir
21075 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
21077 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
21085 # A "../" for each directory in /$ac_config_dir.
21086 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
21089 .) # No --srcdir option. We are building in place.
21090 ac_sub_srcdir=$srcdir ;;
21091 /*) # Absolute path.
21092 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
21093 *) # Relative path.
21094 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
21097 # Check for guested configure; otherwise get Cygnus style configure.
21098 if test -f $ac_sub_srcdir/configure; then
21099 ac_sub_configure=$ac_sub_srcdir/configure
21100 elif test -f $ac_sub_srcdir/configure.in; then
21101 ac_sub_configure=$ac_configure
21103 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
21107 # The recursion is here.
21108 if test -n "$ac_sub_configure"; then
21110 # Make the cache file name correct relative to the subdirectory.
21111 case "$cache_file" in
21112 /*) ac_sub_cache_file=$cache_file ;;
21113 *) # Relative path.
21114 ac_sub_cache_file="$ac_dots$cache_file" ;;
21116 case "$ac_given_INSTALL" in
21117 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21118 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21121 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
21122 # The eval makes quoting arguments work.
21123 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
21126 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }