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 CPP_MT_FLAG
=-D_REENTRANT
1111 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM WINE X11"
1116 DEFAULT_wxUSE_MICROWIN
=0
1117 DEFAULT_wxUSE_MOTIF
=0
1120 DEFAULT_wxUSE_WINE
=0
1123 DEFAULT_DEFAULT_wxUSE_GTK
=0
1124 DEFAULT_DEFAULT_wxUSE_MAC
=0
1125 DEFAULT_DEFAULT_wxUSE_MGL
=0
1126 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1127 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1128 DEFAULT_DEFAULT_wxUSE_MSW
=0
1129 DEFAULT_DEFAULT_wxUSE_PM
=0
1130 DEFAULT_DEFAULT_wxUSE_WINE
=0
1131 DEFAULT_DEFAULT_wxUSE_X11
=0
1139 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1140 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1142 cat >> confdefs.h
<<\EOF
1149 cat >> confdefs.h
<<\EOF
1154 if test "x$TMP" = "xalpha"; then
1156 cat >> confdefs.h
<<\EOF
1161 DEFAULT_DEFAULT_wxUSE_GTK
=1
1163 *-*-irix5* | *-*-irix6* )
1166 cat >> confdefs.h
<<\EOF
1170 cat >> confdefs.h
<<\EOF
1174 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1180 cat >> confdefs.h
<<\EOF
1184 cat >> confdefs.h
<<\EOF
1185 #define __SOLARIS__ 1
1188 cat >> confdefs.h
<<\EOF
1192 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1193 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1199 cat >> confdefs.h
<<\EOF
1203 cat >> confdefs.h
<<\EOF
1207 cat >> confdefs.h
<<\EOF
1211 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1216 CPP_MT_FLAG
=-D_THREAD_SAFE
1217 cat >> confdefs.h
<<\EOF
1218 #define __FREEBSD__ 1
1221 cat >> confdefs.h
<<\EOF
1225 DEFAULT_DEFAULT_wxUSE_GTK
=1
1230 cat >> confdefs.h
<<\EOF
1231 #define __FREEBSD__ 1
1234 cat >> confdefs.h
<<\EOF
1235 #define __OPENBSD__ 1
1238 DEFAULT_DEFAULT_wxUSE_GTK
=1
1243 cat >> confdefs.h
<<\EOF
1244 #define __FREEBSD__ 1
1247 cat >> confdefs.h
<<\EOF
1248 #define __NETBSD__ 1
1251 DEFAULT_DEFAULT_wxUSE_GTK
=1
1256 cat >> confdefs.h
<<\EOF
1260 cat >> confdefs.h
<<\EOF
1264 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1265 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1270 cat >> confdefs.h
<<\EOF
1274 cat >> confdefs.h
<<\EOF
1278 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1283 cat >> confdefs.h
<<\EOF
1287 cat >> confdefs.h
<<\EOF
1291 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1297 cat >> confdefs.h
<<\EOF
1301 cat >> confdefs.h
<<\EOF
1305 cat >> confdefs.h
<<\EOF
1309 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1312 *-*-cygwin* | *-*-mingw32* )
1316 cat >> confdefs.h
<<\EOF
1320 cat >> confdefs.h
<<\EOF
1324 cat >> confdefs.h
<<\EOF
1325 #define __WINDOWS__ 1
1328 cat >> confdefs.h
<<\EOF
1329 #define __GNUWIN32__ 1
1332 cat >> confdefs.h
<<\EOF
1336 cat >> confdefs.h
<<\EOF
1337 #define WINVER 0x0400
1342 DEFAULT_DEFAULT_wxUSE_MSW
=1
1348 cat >> confdefs.h
<<\EOF
1353 DEFAULT_DEFAULT_wxUSE_MGL
=1
1356 *-pc-os2_emx | *-pc-os2-emx )
1357 cat >> confdefs.h
<<\EOF
1362 DEFAULT_DEFAULT_wxUSE_PM
=1
1363 LIBS
="$LIBS -lstdcpp"
1371 cat >> confdefs.h
<<\EOF
1375 cat >> confdefs.h
<<\EOF
1376 #define __DARWIN__ 1
1379 cat >> confdefs.h
<<\EOF
1380 #define __POWERPC__ 1
1383 DEFAULT_DEFAULT_wxUSE_MAC
=1
1388 cat >> confdefs.h
<<\EOF
1395 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1398 if test "$USE_UNIX" = 1 ; then
1400 cat >> confdefs.h
<<\EOF
1406 if test "$USE_LINUX" = 1; then
1407 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1408 echo "configure:1409: checking for glibc 2.1 or later" >&5
1409 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1410 echo $ac_n "(cached) $ac_c" 1>&6
1413 cat > conftest.
$ac_ext <<EOF
1414 #line 1415 "configure"
1415 #include "confdefs.h"
1416 #include <features.h>
1419 #if !__GLIBC_PREREQ(2, 1)
1425 if { (eval echo configure
:1426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1431 echo "configure: failed program was:" >&5
1432 cat conftest.
$ac_ext >&5
1443 echo "$ac_t""$wx_lib_glibc21" 1>&6
1444 if test "$wx_lib_glibc21" = "yes"; then
1445 cat >> confdefs.h
<<\EOF
1446 #define wxHAVE_GLIBC2 1
1455 wx_arg_cache_file
="configarg.cache"
1456 echo "loading argument cache $wx_arg_cache_file"
1457 rm -f ${wx_arg_cache_file}.tmp
1458 touch ${wx_arg_cache_file}.tmp
1459 touch ${wx_arg_cache_file}
1463 if test $DEBUG_CONFIGURE = 1; then
1464 DEFAULT_wxUSE_UNIVERSAL
=no
1466 DEFAULT_wxUSE_NANOX
=no
1468 DEFAULT_wxUSE_THREADS
=yes
1470 DEFAULT_wxUSE_SHARED
=yes
1471 DEFAULT_wxUSE_SONAME
=no
1472 DEFAULT_wxUSE_OPTIMISE
=no
1473 DEFAULT_wxUSE_PROFILE
=no
1474 DEFAULT_wxUSE_NO_DEPS
=no
1475 DEFAULT_wxUSE_NO_RTTI
=yes
1476 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1477 DEFAULT_wxUSE_PERMISSIVE
=no
1478 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1479 DEFAULT_wxUSE_DEBUG_INFO
=yes
1480 DEFAULT_wxUSE_DEBUG_GDB
=yes
1481 DEFAULT_wxUSE_MEM_TRACING
=no
1482 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1483 DEFAULT_wxUSE_DMALLOC
=no
1484 DEFAULT_wxUSE_PRECOMP
=no
1485 DEFAULT_wxUSE_APPLE_IEEE
=no
1487 DEFAULT_wxUSE_LOG
=yes
1488 DEFAULT_wxUSE_LOGWINDOW
=no
1489 DEFAULT_wxUSE_LOGGUI
=no
1490 DEFAULT_wxUSE_LOGDIALOG
=no
1492 DEFAULT_wxUSE_GUI
=yes
1493 DEFAULT_wxUSE_CONTROLS
=no
1495 DEFAULT_wxUSE_REGEX
=no
1496 DEFAULT_wxUSE_ZLIB
=no
1497 DEFAULT_wxUSE_LIBPNG
=no
1498 DEFAULT_wxUSE_LIBJPEG
=no
1499 DEFAULT_wxUSE_LIBTIFF
=no
1500 DEFAULT_wxUSE_ODBC
=no
1501 DEFAULT_wxUSE_OPENGL
=no
1503 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1504 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1505 DEFAULT_wxUSE_STD_IOSTREAM
=no
1506 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1507 DEFAULT_wxUSE_DATETIME
=no
1508 DEFAULT_wxUSE_TIMEDATE
=no
1509 DEFAULT_wxUSE_TIMER
=no
1510 DEFAULT_wxUSE_STOPWATCH
=no
1511 DEFAULT_wxUSE_FILE
=no
1512 DEFAULT_wxUSE_FFILE
=no
1513 DEFAULT_wxUSE_TEXTBUFFER
=no
1514 DEFAULT_wxUSE_TEXTFILE
=no
1515 DEFAULT_wxUSE_WAVE
=no
1516 DEFAULT_wxUSE_INTL
=no
1517 DEFAULT_wxUSE_CONFIG
=no
1518 DEFAULT_wxUSE_FONTMAP
=no
1519 DEFAULT_wxUSE_STREAMS
=no
1520 DEFAULT_wxUSE_SOCKETS
=no
1521 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1522 DEFAULT_wxUSE_JOYSTICK
=no
1523 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1524 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1525 DEFAULT_wxUSE_LONGLONG
=no
1526 DEFAULT_wxUSE_GEOMETRY
=no
1528 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1529 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1530 DEFAULT_wxUSE_POSTSCRIPT
=no
1532 DEFAULT_wxUSE_X_RESOURCES
=no
1533 DEFAULT_wxUSE_CLIPBOARD
=no
1534 DEFAULT_wxUSE_TOOLTIPS
=no
1535 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1536 DEFAULT_wxUSE_DRAGIMAGE
=no
1537 DEFAULT_wxUSE_SPLINES
=no
1539 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1540 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1541 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1543 DEFAULT_wxUSE_PROLOGIO
=no
1544 DEFAULT_wxUSE_RESOURCES
=no
1545 DEFAULT_wxUSE_CONSTRAINTS
=no
1546 DEFAULT_wxUSE_IPC
=no
1547 DEFAULT_wxUSE_HELP
=no
1548 DEFAULT_wxUSE_MS_HTML_HELP
=no
1549 DEFAULT_wxUSE_WXHTML_HELP
=no
1550 DEFAULT_wxUSE_TREELAYOUT
=no
1551 DEFAULT_wxUSE_METAFILE
=no
1552 DEFAULT_wxUSE_MIMETYPE
=no
1553 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1554 DEFAULT_wxUSE_PROTOCOL
=no
1555 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1556 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1557 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1558 DEFAULT_wxUSE_URL
=no
1560 DEFAULT_wxUSE_COMMONDLGS
=no
1561 DEFAULT_wxUSE_CHOICEDLG
=no
1562 DEFAULT_wxUSE_COLOURDLG
=no
1563 DEFAULT_wxUSE_DIRDLG
=no
1564 DEFAULT_wxUSE_FILEDLG
=no
1565 DEFAULT_wxUSE_FINDREPLDLG
=no
1566 DEFAULT_wxUSE_FONTDLG
=no
1567 DEFAULT_wxUSE_MSGDLG
=no
1568 DEFAULT_wxUSE_NUMBERDLG
=no
1569 DEFAULT_wxUSE_TEXTDLG
=no
1570 DEFAULT_wxUSE_SPLASH
=no
1571 DEFAULT_wxUSE_STARTUP_TIPS
=no
1572 DEFAULT_wxUSE_PROGRESSDLG
=no
1573 DEFAULT_wxUSE_WIZARDDLG
=no
1575 DEFAULT_wxUSE_MENUS
=no
1576 DEFAULT_wxUSE_MINIFRAME
=no
1577 DEFAULT_wxUSE_HTML
=no
1578 DEFAULT_wxUSE_FILESYSTEM
=no
1579 DEFAULT_wxUSE_FS_INET
=no
1580 DEFAULT_wxUSE_FS_ZIP
=no
1581 DEFAULT_wxUSE_BUSYINFO
=no
1582 DEFAULT_wxUSE_ZIPSTREAM
=no
1583 DEFAULT_wxUSE_VALIDATORS
=no
1585 DEFAULT_wxUSE_ACCEL
=no
1586 DEFAULT_wxUSE_BUTTON
=no
1587 DEFAULT_wxUSE_BMPBUTTON
=no
1588 DEFAULT_wxUSE_CALCTRL
=no
1589 DEFAULT_wxUSE_CARET
=no
1590 DEFAULT_wxUSE_CHECKBOX
=no
1591 DEFAULT_wxUSE_CHECKLST
=no
1592 DEFAULT_wxUSE_CHOICE
=no
1593 DEFAULT_wxUSE_COMBOBOX
=no
1594 DEFAULT_wxUSE_GAUGE
=no
1595 DEFAULT_wxUSE_GRID
=no
1596 DEFAULT_wxUSE_NEW_GRID
=no
1597 DEFAULT_wxUSE_IMAGLIST
=no
1598 DEFAULT_wxUSE_LISTBOX
=no
1599 DEFAULT_wxUSE_LISTCTRL
=no
1600 DEFAULT_wxUSE_NOTEBOOK
=no
1601 DEFAULT_wxUSE_PROPSHEET
=no
1602 DEFAULT_wxUSE_RADIOBOX
=no
1603 DEFAULT_wxUSE_RADIOBTN
=no
1604 DEFAULT_wxUSE_SASH
=no
1605 DEFAULT_wxUSE_SCROLLBAR
=no
1606 DEFAULT_wxUSE_SLIDER
=no
1607 DEFAULT_wxUSE_SPINBTN
=no
1608 DEFAULT_wxUSE_SPINCTRL
=no
1609 DEFAULT_wxUSE_SPLITTER
=no
1610 DEFAULT_wxUSE_STATBMP
=no
1611 DEFAULT_wxUSE_STATBOX
=no
1612 DEFAULT_wxUSE_STATLINE
=no
1613 DEFAULT_wxUSE_STATTEXT
=no
1614 DEFAULT_wxUSE_STATUSBAR
=yes
1615 DEFAULT_wxUSE_TABDIALOG
=no
1616 DEFAULT_wxUSE_TEXTCTRL
=no
1617 DEFAULT_wxUSE_TOGGLEBTN
=no
1618 DEFAULT_wxUSE_TOOLBAR
=no
1619 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1620 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1621 DEFAULT_wxUSE_TREECTRL
=no
1622 DEFAULT_wxUSE_POPUPWIN
=no
1623 DEFAULT_wxUSE_TIPWINDOW
=no
1625 DEFAULT_wxUSE_UNICODE
=no
1626 DEFAULT_wxUSE_UNICODE_MSLU
=no
1627 DEFAULT_wxUSE_WCSRTOMBS
=no
1629 DEFAULT_wxUSE_PALETTE
=no
1630 DEFAULT_wxUSE_IMAGE
=no
1631 DEFAULT_wxUSE_GIF
=no
1632 DEFAULT_wxUSE_PCX
=no
1633 DEFAULT_wxUSE_PNM
=no
1634 DEFAULT_wxUSE_IFF
=no
1635 DEFAULT_wxUSE_XPM
=no
1636 DEFAULT_wxUSE_ICO_CUR
=no
1638 DEFAULT_wxUSE_UNIVERSAL
=no
1640 DEFAULT_wxUSE_NANOX
=no
1642 DEFAULT_wxUSE_THREADS
=yes
1644 DEFAULT_wxUSE_SHARED
=yes
1645 DEFAULT_wxUSE_SONAME
=no
1646 DEFAULT_wxUSE_OPTIMISE
=yes
1647 DEFAULT_wxUSE_PROFILE
=no
1648 DEFAULT_wxUSE_NO_DEPS
=no
1649 DEFAULT_wxUSE_NO_RTTI
=yes
1650 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1651 DEFAULT_wxUSE_PERMISSIVE
=no
1652 DEFAULT_wxUSE_DEBUG_FLAG
=no
1653 DEFAULT_wxUSE_DEBUG_INFO
=no
1654 DEFAULT_wxUSE_DEBUG_GDB
=no
1655 DEFAULT_wxUSE_MEM_TRACING
=no
1656 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1657 DEFAULT_wxUSE_DMALLOC
=no
1658 DEFAULT_wxUSE_PRECOMP
=no
1659 DEFAULT_wxUSE_APPLE_IEEE
=yes
1661 DEFAULT_wxUSE_LOG
=yes
1662 DEFAULT_wxUSE_LOGWINDOW
=yes
1663 DEFAULT_wxUSE_LOGGUI
=yes
1664 DEFAULT_wxUSE_LOGDIALOG
=yes
1666 DEFAULT_wxUSE_GUI
=yes
1668 DEFAULT_wxUSE_REGEX
=yes
1669 DEFAULT_wxUSE_ZLIB
=yes
1670 DEFAULT_wxUSE_LIBPNG
=yes
1671 DEFAULT_wxUSE_LIBJPEG
=yes
1672 DEFAULT_wxUSE_LIBTIFF
=yes
1673 DEFAULT_wxUSE_ODBC
=no
1674 DEFAULT_wxUSE_OPENGL
=no
1676 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1677 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1678 DEFAULT_wxUSE_STD_IOSTREAM
=no
1679 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1680 DEFAULT_wxUSE_DATETIME
=yes
1681 DEFAULT_wxUSE_TIMEDATE
=no
1682 DEFAULT_wxUSE_TIMER
=yes
1683 DEFAULT_wxUSE_STOPWATCH
=yes
1684 DEFAULT_wxUSE_FILE
=yes
1685 DEFAULT_wxUSE_FFILE
=yes
1686 DEFAULT_wxUSE_TEXTBUFFER
=yes
1687 DEFAULT_wxUSE_TEXTFILE
=yes
1688 DEFAULT_wxUSE_WAVE
=no
1689 DEFAULT_wxUSE_INTL
=yes
1690 DEFAULT_wxUSE_CONFIG
=yes
1691 DEFAULT_wxUSE_FONTMAP
=yes
1692 DEFAULT_wxUSE_STREAMS
=yes
1693 DEFAULT_wxUSE_SOCKETS
=yes
1694 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1695 DEFAULT_wxUSE_JOYSTICK
=yes
1696 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1697 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1698 DEFAULT_wxUSE_LONGLONG
=yes
1699 DEFAULT_wxUSE_GEOMETRY
=yes
1701 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1702 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1703 DEFAULT_wxUSE_POSTSCRIPT
=yes
1705 DEFAULT_wxUSE_X_RESOURCES
=no
1706 DEFAULT_wxUSE_CLIPBOARD
=yes
1707 DEFAULT_wxUSE_TOOLTIPS
=yes
1708 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1709 DEFAULT_wxUSE_DRAGIMAGE
=yes
1710 DEFAULT_wxUSE_SPLINES
=yes
1712 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1713 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1714 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1716 DEFAULT_wxUSE_PROLOGIO
=yes
1717 DEFAULT_wxUSE_RESOURCES
=yes
1718 DEFAULT_wxUSE_CONSTRAINTS
=yes
1719 DEFAULT_wxUSE_IPC
=yes
1720 DEFAULT_wxUSE_HELP
=yes
1721 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1722 DEFAULT_wxUSE_WXHTML_HELP
=yes
1723 DEFAULT_wxUSE_TREELAYOUT
=yes
1724 DEFAULT_wxUSE_METAFILE
=yes
1725 DEFAULT_wxUSE_MIMETYPE
=yes
1726 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1727 DEFAULT_wxUSE_PROTOCOL
=yes
1728 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1729 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1730 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1731 DEFAULT_wxUSE_URL
=yes
1733 DEFAULT_wxUSE_COMMONDLGS
=yes
1734 DEFAULT_wxUSE_CHOICEDLG
=yes
1735 DEFAULT_wxUSE_COLOURDLG
=yes
1736 DEFAULT_wxUSE_DIRDLG
=yes
1737 DEFAULT_wxUSE_FILEDLG
=yes
1738 DEFAULT_wxUSE_FINDREPLDLG
=yes
1739 DEFAULT_wxUSE_FONTDLG
=yes
1740 DEFAULT_wxUSE_MSGDLG
=yes
1741 DEFAULT_wxUSE_NUMBERDLG
=yes
1742 DEFAULT_wxUSE_TEXTDLG
=yes
1743 DEFAULT_wxUSE_SPLASH
=yes
1744 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1745 DEFAULT_wxUSE_PROGRESSDLG
=yes
1746 DEFAULT_wxUSE_WIZARDDLG
=yes
1748 DEFAULT_wxUSE_MENUS
=yes
1749 DEFAULT_wxUSE_MINIFRAME
=yes
1750 DEFAULT_wxUSE_HTML
=yes
1751 DEFAULT_wxUSE_FILESYSTEM
=yes
1752 DEFAULT_wxUSE_FS_INET
=yes
1753 DEFAULT_wxUSE_FS_ZIP
=yes
1754 DEFAULT_wxUSE_BUSYINFO
=yes
1755 DEFAULT_wxUSE_ZIPSTREAM
=yes
1756 DEFAULT_wxUSE_VALIDATORS
=yes
1758 DEFAULT_wxUSE_ACCEL
=yes
1759 DEFAULT_wxUSE_BUTTON
=yes
1760 DEFAULT_wxUSE_BMPBUTTON
=yes
1761 DEFAULT_wxUSE_CALCTRL
=yes
1762 DEFAULT_wxUSE_CARET
=yes
1763 DEFAULT_wxUSE_CHECKBOX
=yes
1764 DEFAULT_wxUSE_CHECKLST
=yes
1765 DEFAULT_wxUSE_CHOICE
=yes
1766 DEFAULT_wxUSE_COMBOBOX
=yes
1767 DEFAULT_wxUSE_GAUGE
=yes
1768 DEFAULT_wxUSE_GRID
=yes
1769 DEFAULT_wxUSE_NEW_GRID
=yes
1770 DEFAULT_wxUSE_IMAGLIST
=yes
1771 DEFAULT_wxUSE_LISTBOX
=yes
1772 DEFAULT_wxUSE_LISTCTRL
=yes
1773 DEFAULT_wxUSE_NOTEBOOK
=yes
1774 DEFAULT_wxUSE_PROPSHEET
=yes
1775 DEFAULT_wxUSE_RADIOBOX
=yes
1776 DEFAULT_wxUSE_RADIOBTN
=yes
1777 DEFAULT_wxUSE_SASH
=yes
1778 DEFAULT_wxUSE_SCROLLBAR
=yes
1779 DEFAULT_wxUSE_SLIDER
=yes
1780 DEFAULT_wxUSE_SPINBTN
=yes
1781 DEFAULT_wxUSE_SPINCTRL
=yes
1782 DEFAULT_wxUSE_SPLITTER
=yes
1783 DEFAULT_wxUSE_STATBMP
=yes
1784 DEFAULT_wxUSE_STATBOX
=yes
1785 DEFAULT_wxUSE_STATLINE
=yes
1786 DEFAULT_wxUSE_STATTEXT
=yes
1787 DEFAULT_wxUSE_STATUSBAR
=yes
1788 DEFAULT_wxUSE_TABDIALOG
=no
1789 DEFAULT_wxUSE_TEXTCTRL
=yes
1790 DEFAULT_wxUSE_TOGGLEBTN
=yes
1791 DEFAULT_wxUSE_TOOLBAR
=yes
1792 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1793 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1794 DEFAULT_wxUSE_TREECTRL
=yes
1795 DEFAULT_wxUSE_POPUPWIN
=yes
1796 DEFAULT_wxUSE_TIPWINDOW
=yes
1798 DEFAULT_wxUSE_UNICODE
=no
1799 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1800 DEFAULT_wxUSE_WCSRTOMBS
=no
1802 DEFAULT_wxUSE_PALETTE
=yes
1803 DEFAULT_wxUSE_IMAGE
=yes
1804 DEFAULT_wxUSE_GIF
=yes
1805 DEFAULT_wxUSE_PCX
=yes
1806 DEFAULT_wxUSE_IFF
=no
1807 DEFAULT_wxUSE_PNM
=yes
1808 DEFAULT_wxUSE_XPM
=yes
1809 DEFAULT_wxUSE_ICO_CUR
=yes
1814 for toolkit
in `echo $ALL_TOOLKITS`; do
1815 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1816 if test "x$LINE" != x
; then
1817 has_toolkit_in_cache
=1
1818 eval "DEFAULT_$LINE"
1819 eval "CACHE_$toolkit=1"
1825 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1826 echo "configure:1827: checking for --enable-gui" >&5
1828 # Check whether --enable-gui or --disable-gui was given.
1829 if test "${enable_gui+set}" = set; then
1830 enableval
="$enable_gui"
1832 if test "$enableval" = yes; then
1833 ac_cv_use_gui
='wxUSE_GUI=yes'
1835 ac_cv_use_gui
='wxUSE_GUI=no'
1840 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1841 if test "x$LINE" != x
; then
1842 eval "DEFAULT_$LINE"
1847 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1852 eval "$ac_cv_use_gui"
1853 if test "$no_cache" != 1; then
1854 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1857 if test "$wxUSE_GUI" = yes; then
1858 echo "$ac_t""yes" 1>&6
1860 echo "$ac_t""no" 1>&6
1864 if test "$wxUSE_GUI" = "yes"; then
1867 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1868 echo "configure:1869: checking for --enable-universal" >&5
1870 # Check whether --enable-universal or --disable-universal was given.
1871 if test "${enable_universal+set}" = set; then
1872 enableval
="$enable_universal"
1874 if test "$enableval" = yes; then
1875 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1877 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1882 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1883 if test "x$LINE" != x
; then
1884 eval "DEFAULT_$LINE"
1889 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1894 eval "$ac_cv_use_universal"
1895 if test "$no_cache" != 1; then
1896 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1899 if test "$wxUSE_UNIVERSAL" = yes; then
1900 echo "$ac_t""yes" 1>&6
1902 echo "$ac_t""no" 1>&6
1905 # Check whether --with-gtk or --without-gtk was given.
1906 if test "${with_gtk+set}" = set; then
1908 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1911 # Check whether --with-motif or --without-motif was given.
1912 if test "${with_motif+set}" = set; then
1913 withval
="$with_motif"
1914 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1917 # Check whether --with-mac or --without-mac was given.
1918 if test "${with_mac+set}" = set; then
1920 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1923 # Check whether --with-wine or --without-wine was given.
1924 if test "${with_wine+set}" = set; then
1925 withval
="$with_wine"
1926 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1929 # Check whether --with-msw or --without-msw was given.
1930 if test "${with_msw+set}" = set; then
1932 wxUSE_MSW
="$withval" CACHE_MSW TOOLKIT_GIVEN
=1
1935 # Check whether --with-pm or --without-pm was given.
1936 if test "${with_pm+set}" = set; then
1938 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1941 # Check whether --with-mgl or --without-mgl was given.
1942 if test "${with_mgl+set}" = set; then
1944 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1947 # Check whether --with-microwin or --without-microwin was given.
1948 if test "${with_microwin+set}" = set; then
1949 withval
="$with_microwin"
1950 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1953 # Check whether --with-x11 or --without-x11 was given.
1954 if test "${with_x11+set}" = set; then
1956 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1960 echo $ac_n "checking for --enable-nanox""... $ac_c" 1>&6
1961 echo "configure:1962: checking for --enable-nanox" >&5
1963 # Check whether --enable-nanox or --disable-nanox was given.
1964 if test "${enable_nanox+set}" = set; then
1965 enableval
="$enable_nanox"
1967 if test "$enableval" = yes; then
1968 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1970 ac_cv_use_nanox
='wxUSE_NANOX=no'
1975 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1976 if test "x$LINE" != x
; then
1977 eval "DEFAULT_$LINE"
1982 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1987 eval "$ac_cv_use_nanox"
1988 if test "$no_cache" != 1; then
1989 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1992 if test "$wxUSE_NANOX" = yes; then
1993 echo "$ac_t""yes" 1>&6
1995 echo "$ac_t""no" 1>&6
1999 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2000 if test "${enable_gtk2+set}" = set; then
2001 enableval
="$enable_gtk2"
2009 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
2010 echo "configure:2011: checking for --with-libpng" >&5
2012 # Check whether --with-libpng or --without-libpng was given.
2013 if test "${with_libpng+set}" = set; then
2014 withval
="$with_libpng"
2016 if test "$withval" = yes; then
2017 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2018 elif test "$withval" = no
; then
2019 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2020 elif test "$withval" = sys
; then
2021 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2022 elif test "$withval" = builtin; then
2023 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2025 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2030 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2031 if test "x$LINE" != x
; then
2032 eval "DEFAULT_$LINE"
2037 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2042 eval "$ac_cv_use_libpng"
2043 if test "$no_cache" != 1; then
2044 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2047 if test "$wxUSE_LIBPNG" = yes; then
2048 echo "$ac_t""yes" 1>&6
2049 elif test "$wxUSE_LIBPNG" = no
; then
2050 echo "$ac_t""no" 1>&6
2051 elif test "$wxUSE_LIBPNG" = sys
; then
2052 echo "$ac_t""system version" 1>&6
2053 elif test "$wxUSE_LIBPNG" = builtin; then
2054 echo "$ac_t""builtin version" 1>&6
2056 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2060 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2061 echo "configure:2062: checking for --with-libjpeg" >&5
2063 # Check whether --with-libjpeg or --without-libjpeg was given.
2064 if test "${with_libjpeg+set}" = set; then
2065 withval
="$with_libjpeg"
2067 if test "$withval" = yes; then
2068 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2069 elif test "$withval" = no
; then
2070 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2071 elif test "$withval" = sys
; then
2072 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2073 elif test "$withval" = builtin; then
2074 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2076 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2081 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2082 if test "x$LINE" != x
; then
2083 eval "DEFAULT_$LINE"
2088 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2093 eval "$ac_cv_use_libjpeg"
2094 if test "$no_cache" != 1; then
2095 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2098 if test "$wxUSE_LIBJPEG" = yes; then
2099 echo "$ac_t""yes" 1>&6
2100 elif test "$wxUSE_LIBJPEG" = no
; then
2101 echo "$ac_t""no" 1>&6
2102 elif test "$wxUSE_LIBJPEG" = sys
; then
2103 echo "$ac_t""system version" 1>&6
2104 elif test "$wxUSE_LIBJPEG" = builtin; then
2105 echo "$ac_t""builtin version" 1>&6
2107 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2111 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2112 echo "configure:2113: checking for --with-libtiff" >&5
2114 # Check whether --with-libtiff or --without-libtiff was given.
2115 if test "${with_libtiff+set}" = set; then
2116 withval
="$with_libtiff"
2118 if test "$withval" = yes; then
2119 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2120 elif test "$withval" = no
; then
2121 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2122 elif test "$withval" = sys
; then
2123 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2124 elif test "$withval" = builtin; then
2125 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2127 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2132 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2133 if test "x$LINE" != x
; then
2134 eval "DEFAULT_$LINE"
2139 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2144 eval "$ac_cv_use_libtiff"
2145 if test "$no_cache" != 1; then
2146 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2149 if test "$wxUSE_LIBTIFF" = yes; then
2150 echo "$ac_t""yes" 1>&6
2151 elif test "$wxUSE_LIBTIFF" = no
; then
2152 echo "$ac_t""no" 1>&6
2153 elif test "$wxUSE_LIBTIFF" = sys
; then
2154 echo "$ac_t""system version" 1>&6
2155 elif test "$wxUSE_LIBTIFF" = builtin; then
2156 echo "$ac_t""builtin version" 1>&6
2158 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2162 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2163 echo "configure:2164: checking for --with-opengl" >&5
2165 # Check whether --with-opengl or --without-opengl was given.
2166 if test "${with_opengl+set}" = set; then
2167 withval
="$with_opengl"
2169 if test "$withval" = yes; then
2170 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2172 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2177 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2178 if test "x$LINE" != x
; then
2179 eval "DEFAULT_$LINE"
2184 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2189 eval "$ac_cv_use_opengl"
2190 if test "$no_cache" != 1; then
2191 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2194 if test "$wxUSE_OPENGL" = yes; then
2195 echo "$ac_t""yes" 1>&6
2197 echo "$ac_t""no" 1>&6
2204 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2205 echo "configure:2206: checking for --with-dmalloc" >&5
2207 # Check whether --with-dmalloc or --without-dmalloc was given.
2208 if test "${with_dmalloc+set}" = set; then
2209 withval
="$with_dmalloc"
2211 if test "$withval" = yes; then
2212 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2214 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2219 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2220 if test "x$LINE" != x
; then
2221 eval "DEFAULT_$LINE"
2226 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2231 eval "$ac_cv_use_dmalloc"
2232 if test "$no_cache" != 1; then
2233 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2236 if test "$wxUSE_DMALLOC" = yes; then
2237 echo "$ac_t""yes" 1>&6
2239 echo "$ac_t""no" 1>&6
2243 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2244 echo "configure:2245: checking for --with-regex" >&5
2246 # Check whether --with-regex or --without-regex was given.
2247 if test "${with_regex+set}" = set; then
2248 withval
="$with_regex"
2250 if test "$withval" = yes; then
2251 ac_cv_use_regex
='wxUSE_REGEX=yes'
2252 elif test "$withval" = no
; then
2253 ac_cv_use_regex
='wxUSE_REGEX=no'
2254 elif test "$withval" = sys
; then
2255 ac_cv_use_regex
='wxUSE_REGEX=sys'
2256 elif test "$withval" = builtin; then
2257 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2259 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2264 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2265 if test "x$LINE" != x
; then
2266 eval "DEFAULT_$LINE"
2271 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2276 eval "$ac_cv_use_regex"
2277 if test "$no_cache" != 1; then
2278 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2281 if test "$wxUSE_REGEX" = yes; then
2282 echo "$ac_t""yes" 1>&6
2283 elif test "$wxUSE_REGEX" = no
; then
2284 echo "$ac_t""no" 1>&6
2285 elif test "$wxUSE_REGEX" = sys
; then
2286 echo "$ac_t""system version" 1>&6
2287 elif test "$wxUSE_REGEX" = builtin; then
2288 echo "$ac_t""builtin version" 1>&6
2290 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2294 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2295 echo "configure:2296: checking for --with-zlib" >&5
2297 # Check whether --with-zlib or --without-zlib was given.
2298 if test "${with_zlib+set}" = set; then
2299 withval
="$with_zlib"
2301 if test "$withval" = yes; then
2302 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2303 elif test "$withval" = no
; then
2304 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2305 elif test "$withval" = sys
; then
2306 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2307 elif test "$withval" = builtin; then
2308 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2310 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2315 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2316 if test "x$LINE" != x
; then
2317 eval "DEFAULT_$LINE"
2322 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2327 eval "$ac_cv_use_zlib"
2328 if test "$no_cache" != 1; then
2329 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2332 if test "$wxUSE_ZLIB" = yes; then
2333 echo "$ac_t""yes" 1>&6
2334 elif test "$wxUSE_ZLIB" = no
; then
2335 echo "$ac_t""no" 1>&6
2336 elif test "$wxUSE_ZLIB" = sys
; then
2337 echo "$ac_t""system version" 1>&6
2338 elif test "$wxUSE_ZLIB" = builtin; then
2339 echo "$ac_t""builtin version" 1>&6
2341 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2345 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2346 echo "configure:2347: checking for --with-odbc" >&5
2348 # Check whether --with-odbc or --without-odbc was given.
2349 if test "${with_odbc+set}" = set; then
2350 withval
="$with_odbc"
2352 if test "$withval" = yes; then
2353 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2355 ac_cv_use_odbc
='wxUSE_ODBC=no'
2360 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2361 if test "x$LINE" != x
; then
2362 eval "DEFAULT_$LINE"
2367 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2372 eval "$ac_cv_use_odbc"
2373 if test "$no_cache" != 1; then
2374 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2377 if test "$wxUSE_ODBC" = yes; then
2378 echo "$ac_t""yes" 1>&6
2380 echo "$ac_t""no" 1>&6
2386 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2387 echo "configure:2388: checking for --enable-shared" >&5
2389 # Check whether --enable-shared or --disable-shared was given.
2390 if test "${enable_shared+set}" = set; then
2391 enableval
="$enable_shared"
2393 if test "$enableval" = yes; then
2394 ac_cv_use_shared
='wxUSE_SHARED=yes'
2396 ac_cv_use_shared
='wxUSE_SHARED=no'
2401 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2402 if test "x$LINE" != x
; then
2403 eval "DEFAULT_$LINE"
2408 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2413 eval "$ac_cv_use_shared"
2414 if test "$no_cache" != 1; then
2415 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2418 if test "$wxUSE_SHARED" = yes; then
2419 echo "$ac_t""yes" 1>&6
2421 echo "$ac_t""no" 1>&6
2425 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2426 echo "configure:2427: checking for --enable-soname" >&5
2428 # Check whether --enable-soname or --disable-soname was given.
2429 if test "${enable_soname+set}" = set; then
2430 enableval
="$enable_soname"
2432 if test "$enableval" = yes; then
2433 ac_cv_use_soname
='wxUSE_SONAME=yes'
2435 ac_cv_use_soname
='wxUSE_SONAME=no'
2440 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2441 if test "x$LINE" != x
; then
2442 eval "DEFAULT_$LINE"
2447 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2452 eval "$ac_cv_use_soname"
2453 if test "$no_cache" != 1; then
2454 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2457 if test "$wxUSE_SONAME" = yes; then
2458 echo "$ac_t""yes" 1>&6
2460 echo "$ac_t""no" 1>&6
2464 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2465 echo "configure:2466: checking for --enable-optimise" >&5
2467 # Check whether --enable-optimise or --disable-optimise was given.
2468 if test "${enable_optimise+set}" = set; then
2469 enableval
="$enable_optimise"
2471 if test "$enableval" = yes; then
2472 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2474 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2479 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2480 if test "x$LINE" != x
; then
2481 eval "DEFAULT_$LINE"
2486 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2491 eval "$ac_cv_use_optimise"
2492 if test "$no_cache" != 1; then
2493 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2496 if test "$wxUSE_OPTIMISE" = yes; then
2497 echo "$ac_t""yes" 1>&6
2499 echo "$ac_t""no" 1>&6
2503 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2504 echo "configure:2505: checking for --enable-debug" >&5
2506 # Check whether --enable-debug or --disable-debug was given.
2507 if test "${enable_debug+set}" = set; then
2508 enableval
="$enable_debug"
2510 if test "$enableval" = yes; then
2511 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2513 ac_cv_use_debug
='wxUSE_DEBUG=no'
2518 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2519 if test "x$LINE" != x
; then
2520 eval "DEFAULT_$LINE"
2525 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2530 eval "$ac_cv_use_debug"
2531 if test "$no_cache" != 1; then
2532 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2535 if test "$wxUSE_DEBUG" = yes; then
2536 echo "$ac_t""yes" 1>&6
2538 echo "$ac_t""no" 1>&6
2543 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2544 echo "configure:2545: checking for --enable-precomp" >&5
2546 # Check whether --enable-precomp or --disable-precomp was given.
2547 if test "${enable_precomp+set}" = set; then
2548 enableval
="$enable_precomp"
2550 if test "$enableval" = yes; then
2551 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2553 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2558 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2559 if test "x$LINE" != x
; then
2560 eval "DEFAULT_$LINE"
2565 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2570 eval "$ac_cv_use_precomp"
2571 if test "$no_cache" != 1; then
2572 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2575 if test "$wxUSE_PRECOMP" = yes; then
2576 echo "$ac_t""yes" 1>&6
2578 echo "$ac_t""no" 1>&6
2582 if test "$wxUSE_DEBUG" = "yes"; then
2583 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2584 DEFAULT_wxUSE_DEBUG_INFO
=yes
2585 elif test "$wxUSE_DEBUG" = "no"; then
2586 DEFAULT_wxUSE_DEBUG_FLAG
=no
2587 DEFAULT_wxUSE_DEBUG_INFO
=no
2591 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2592 echo "configure:2593: checking for --enable-debug_flag" >&5
2594 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2595 if test "${enable_debug_flag+set}" = set; then
2596 enableval
="$enable_debug_flag"
2598 if test "$enableval" = yes; then
2599 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2601 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2606 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2607 if test "x$LINE" != x
; then
2608 eval "DEFAULT_$LINE"
2613 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2618 eval "$ac_cv_use_debug_flag"
2619 if test "$no_cache" != 1; then
2620 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2623 if test "$wxUSE_DEBUG_FLAG" = yes; then
2624 echo "$ac_t""yes" 1>&6
2626 echo "$ac_t""no" 1>&6
2630 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2631 echo "configure:2632: checking for --enable-debug_info" >&5
2633 # Check whether --enable-debug_info or --disable-debug_info was given.
2634 if test "${enable_debug_info+set}" = set; then
2635 enableval
="$enable_debug_info"
2637 if test "$enableval" = yes; then
2638 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2640 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2645 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2646 if test "x$LINE" != x
; then
2647 eval "DEFAULT_$LINE"
2652 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2657 eval "$ac_cv_use_debug_info"
2658 if test "$no_cache" != 1; then
2659 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2662 if test "$wxUSE_DEBUG_INFO" = yes; then
2663 echo "$ac_t""yes" 1>&6
2665 echo "$ac_t""no" 1>&6
2669 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2670 echo "configure:2671: checking for --enable-debug_gdb" >&5
2672 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2673 if test "${enable_debug_gdb+set}" = set; then
2674 enableval
="$enable_debug_gdb"
2676 if test "$enableval" = yes; then
2677 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2679 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2684 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2685 if test "x$LINE" != x
; then
2686 eval "DEFAULT_$LINE"
2691 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2696 eval "$ac_cv_use_debug_gdb"
2697 if test "$no_cache" != 1; then
2698 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2701 if test "$wxUSE_DEBUG_GDB" = yes; then
2702 echo "$ac_t""yes" 1>&6
2704 echo "$ac_t""no" 1>&6
2708 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2709 echo "configure:2710: checking for --enable-debug_cntxt" >&5
2711 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2712 if test "${enable_debug_cntxt+set}" = set; then
2713 enableval
="$enable_debug_cntxt"
2715 if test "$enableval" = yes; then
2716 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2718 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2723 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2724 if test "x$LINE" != x
; then
2725 eval "DEFAULT_$LINE"
2730 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2735 eval "$ac_cv_use_debug_cntxt"
2736 if test "$no_cache" != 1; then
2737 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2740 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2741 echo "$ac_t""yes" 1>&6
2743 echo "$ac_t""no" 1>&6
2747 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2748 echo "configure:2749: checking for --enable-mem_tracing" >&5
2750 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2751 if test "${enable_mem_tracing+set}" = set; then
2752 enableval
="$enable_mem_tracing"
2754 if test "$enableval" = yes; then
2755 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2757 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2762 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2763 if test "x$LINE" != x
; then
2764 eval "DEFAULT_$LINE"
2769 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2774 eval "$ac_cv_use_mem_tracing"
2775 if test "$no_cache" != 1; then
2776 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2779 if test "$wxUSE_MEM_TRACING" = yes; then
2780 echo "$ac_t""yes" 1>&6
2782 echo "$ac_t""no" 1>&6
2786 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2787 echo "configure:2788: checking for --enable-profile" >&5
2789 # Check whether --enable-profile or --disable-profile was given.
2790 if test "${enable_profile+set}" = set; then
2791 enableval
="$enable_profile"
2793 if test "$enableval" = yes; then
2794 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2796 ac_cv_use_profile
='wxUSE_PROFILE=no'
2801 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2802 if test "x$LINE" != x
; then
2803 eval "DEFAULT_$LINE"
2808 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2813 eval "$ac_cv_use_profile"
2814 if test "$no_cache" != 1; then
2815 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2818 if test "$wxUSE_PROFILE" = yes; then
2819 echo "$ac_t""yes" 1>&6
2821 echo "$ac_t""no" 1>&6
2825 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2826 echo "configure:2827: checking for --enable-no_rtti" >&5
2828 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2829 if test "${enable_no_rtti+set}" = set; then
2830 enableval
="$enable_no_rtti"
2832 if test "$enableval" = yes; then
2833 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2835 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2840 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2841 if test "x$LINE" != x
; then
2842 eval "DEFAULT_$LINE"
2847 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2852 eval "$ac_cv_use_no_rtti"
2853 if test "$no_cache" != 1; then
2854 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2857 if test "$wxUSE_NO_RTTI" = yes; then
2858 echo "$ac_t""yes" 1>&6
2860 echo "$ac_t""no" 1>&6
2864 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2865 echo "configure:2866: checking for --enable-no_exceptions" >&5
2867 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2868 if test "${enable_no_exceptions+set}" = set; then
2869 enableval
="$enable_no_exceptions"
2871 if test "$enableval" = yes; then
2872 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2874 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2879 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2880 if test "x$LINE" != x
; then
2881 eval "DEFAULT_$LINE"
2886 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2891 eval "$ac_cv_use_no_exceptions"
2892 if test "$no_cache" != 1; then
2893 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2896 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2897 echo "$ac_t""yes" 1>&6
2899 echo "$ac_t""no" 1>&6
2903 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2904 echo "configure:2905: checking for --enable-permissive" >&5
2906 # Check whether --enable-permissive or --disable-permissive was given.
2907 if test "${enable_permissive+set}" = set; then
2908 enableval
="$enable_permissive"
2910 if test "$enableval" = yes; then
2911 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2913 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2918 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2919 if test "x$LINE" != x
; then
2920 eval "DEFAULT_$LINE"
2925 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2930 eval "$ac_cv_use_permissive"
2931 if test "$no_cache" != 1; then
2932 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2935 if test "$wxUSE_PERMISSIVE" = yes; then
2936 echo "$ac_t""yes" 1>&6
2938 echo "$ac_t""no" 1>&6
2942 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2943 echo "configure:2944: checking for --enable-no_deps" >&5
2945 # Check whether --enable-no_deps or --disable-no_deps was given.
2946 if test "${enable_no_deps+set}" = set; then
2947 enableval
="$enable_no_deps"
2949 if test "$enableval" = yes; then
2950 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2952 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2957 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2958 if test "x$LINE" != x
; then
2959 eval "DEFAULT_$LINE"
2964 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2969 eval "$ac_cv_use_no_deps"
2970 if test "$no_cache" != 1; then
2971 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2974 if test "$wxUSE_NO_DEPS" = yes; then
2975 echo "$ac_t""yes" 1>&6
2977 echo "$ac_t""no" 1>&6
2982 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2983 echo "configure:2984: checking for --enable-compat20" >&5
2985 # Check whether --enable-compat20 or --disable-compat20 was given.
2986 if test "${enable_compat20+set}" = set; then
2987 enableval
="$enable_compat20"
2989 if test "$enableval" = yes; then
2990 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2992 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2997 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2998 if test "x$LINE" != x
; then
2999 eval "DEFAULT_$LINE"
3004 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3009 eval "$ac_cv_use_compat20"
3010 if test "$no_cache" != 1; then
3011 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3014 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3015 echo "$ac_t""yes" 1>&6
3017 echo "$ac_t""no" 1>&6
3021 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
3022 echo "configure:3023: checking for --enable-compat22" >&5
3024 # Check whether --enable-compat22 or --disable-compat22 was given.
3025 if test "${enable_compat22+set}" = set; then
3026 enableval
="$enable_compat22"
3028 if test "$enableval" = yes; then
3029 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3031 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3036 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3037 if test "x$LINE" != x
; then
3038 eval "DEFAULT_$LINE"
3043 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3048 eval "$ac_cv_use_compat22"
3049 if test "$no_cache" != 1; then
3050 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3053 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3054 echo "$ac_t""yes" 1>&6
3056 echo "$ac_t""no" 1>&6
3062 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3063 echo "configure:3064: checking for --enable-intl" >&5
3065 # Check whether --enable-intl or --disable-intl was given.
3066 if test "${enable_intl+set}" = set; then
3067 enableval
="$enable_intl"
3069 if test "$enableval" = yes; then
3070 ac_cv_use_intl
='wxUSE_INTL=yes'
3072 ac_cv_use_intl
='wxUSE_INTL=no'
3077 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3078 if test "x$LINE" != x
; then
3079 eval "DEFAULT_$LINE"
3084 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3089 eval "$ac_cv_use_intl"
3090 if test "$no_cache" != 1; then
3091 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3094 if test "$wxUSE_INTL" = yes; then
3095 echo "$ac_t""yes" 1>&6
3097 echo "$ac_t""no" 1>&6
3101 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3102 echo "configure:3103: checking for --enable-config" >&5
3104 # Check whether --enable-config or --disable-config was given.
3105 if test "${enable_config+set}" = set; then
3106 enableval
="$enable_config"
3108 if test "$enableval" = yes; then
3109 ac_cv_use_config
='wxUSE_CONFIG=yes'
3111 ac_cv_use_config
='wxUSE_CONFIG=no'
3116 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3117 if test "x$LINE" != x
; then
3118 eval "DEFAULT_$LINE"
3123 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3128 eval "$ac_cv_use_config"
3129 if test "$no_cache" != 1; then
3130 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3133 if test "$wxUSE_CONFIG" = yes; then
3134 echo "$ac_t""yes" 1>&6
3136 echo "$ac_t""no" 1>&6
3141 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3142 echo "configure:3143: checking for --enable-protocols" >&5
3144 # Check whether --enable-protocols or --disable-protocols was given.
3145 if test "${enable_protocols+set}" = set; then
3146 enableval
="$enable_protocols"
3148 if test "$enableval" = yes; then
3149 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3151 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3156 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3157 if test "x$LINE" != x
; then
3158 eval "DEFAULT_$LINE"
3163 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3168 eval "$ac_cv_use_protocols"
3169 if test "$no_cache" != 1; then
3170 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3173 if test "$wxUSE_PROTOCOL" = yes; then
3174 echo "$ac_t""yes" 1>&6
3176 echo "$ac_t""no" 1>&6
3180 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3181 echo "configure:3182: checking for --enable-ftp" >&5
3183 # Check whether --enable-ftp or --disable-ftp was given.
3184 if test "${enable_ftp+set}" = set; then
3185 enableval
="$enable_ftp"
3187 if test "$enableval" = yes; then
3188 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3190 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3195 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3196 if test "x$LINE" != x
; then
3197 eval "DEFAULT_$LINE"
3202 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3207 eval "$ac_cv_use_ftp"
3208 if test "$no_cache" != 1; then
3209 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3212 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3213 echo "$ac_t""yes" 1>&6
3215 echo "$ac_t""no" 1>&6
3219 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3220 echo "configure:3221: checking for --enable-http" >&5
3222 # Check whether --enable-http or --disable-http was given.
3223 if test "${enable_http+set}" = set; then
3224 enableval
="$enable_http"
3226 if test "$enableval" = yes; then
3227 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3229 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3234 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3235 if test "x$LINE" != x
; then
3236 eval "DEFAULT_$LINE"
3241 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3246 eval "$ac_cv_use_http"
3247 if test "$no_cache" != 1; then
3248 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3251 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3252 echo "$ac_t""yes" 1>&6
3254 echo "$ac_t""no" 1>&6
3258 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3259 echo "configure:3260: checking for --enable-fileproto" >&5
3261 # Check whether --enable-fileproto or --disable-fileproto was given.
3262 if test "${enable_fileproto+set}" = set; then
3263 enableval
="$enable_fileproto"
3265 if test "$enableval" = yes; then
3266 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3268 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3273 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3274 if test "x$LINE" != x
; then
3275 eval "DEFAULT_$LINE"
3280 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3285 eval "$ac_cv_use_fileproto"
3286 if test "$no_cache" != 1; then
3287 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3290 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3291 echo "$ac_t""yes" 1>&6
3293 echo "$ac_t""no" 1>&6
3297 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3298 echo "configure:3299: checking for --enable-sockets" >&5
3300 # Check whether --enable-sockets or --disable-sockets was given.
3301 if test "${enable_sockets+set}" = set; then
3302 enableval
="$enable_sockets"
3304 if test "$enableval" = yes; then
3305 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3307 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3312 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3313 if test "x$LINE" != x
; then
3314 eval "DEFAULT_$LINE"
3319 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3324 eval "$ac_cv_use_sockets"
3325 if test "$no_cache" != 1; then
3326 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3329 if test "$wxUSE_SOCKETS" = yes; then
3330 echo "$ac_t""yes" 1>&6
3332 echo "$ac_t""no" 1>&6
3337 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3338 echo "configure:3339: checking for --enable-ipc" >&5
3340 # Check whether --enable-ipc or --disable-ipc was given.
3341 if test "${enable_ipc+set}" = set; then
3342 enableval
="$enable_ipc"
3344 if test "$enableval" = yes; then
3345 ac_cv_use_ipc
='wxUSE_IPC=yes'
3347 ac_cv_use_ipc
='wxUSE_IPC=no'
3352 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3353 if test "x$LINE" != x
; then
3354 eval "DEFAULT_$LINE"
3359 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3364 eval "$ac_cv_use_ipc"
3365 if test "$no_cache" != 1; then
3366 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3369 if test "$wxUSE_IPC" = yes; then
3370 echo "$ac_t""yes" 1>&6
3372 echo "$ac_t""no" 1>&6
3377 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3378 echo "configure:3379: checking for --enable-cmdline" >&5
3380 # Check whether --enable-cmdline or --disable-cmdline was given.
3381 if test "${enable_cmdline+set}" = set; then
3382 enableval
="$enable_cmdline"
3384 if test "$enableval" = yes; then
3385 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3387 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3392 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3393 if test "x$LINE" != x
; then
3394 eval "DEFAULT_$LINE"
3399 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3404 eval "$ac_cv_use_cmdline"
3405 if test "$no_cache" != 1; then
3406 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3409 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3410 echo "$ac_t""yes" 1>&6
3412 echo "$ac_t""no" 1>&6
3416 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3417 echo "configure:3418: checking for --enable-datetime" >&5
3419 # Check whether --enable-datetime or --disable-datetime was given.
3420 if test "${enable_datetime+set}" = set; then
3421 enableval
="$enable_datetime"
3423 if test "$enableval" = yes; then
3424 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3426 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3431 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3432 if test "x$LINE" != x
; then
3433 eval "DEFAULT_$LINE"
3438 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3443 eval "$ac_cv_use_datetime"
3444 if test "$no_cache" != 1; then
3445 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3448 if test "$wxUSE_DATETIME" = yes; then
3449 echo "$ac_t""yes" 1>&6
3451 echo "$ac_t""no" 1>&6
3455 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3456 echo "configure:3457: checking for --enable-timedate" >&5
3458 # Check whether --enable-timedate or --disable-timedate was given.
3459 if test "${enable_timedate+set}" = set; then
3460 enableval
="$enable_timedate"
3462 if test "$enableval" = yes; then
3463 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3465 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3470 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3471 if test "x$LINE" != x
; then
3472 eval "DEFAULT_$LINE"
3477 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3482 eval "$ac_cv_use_timedate"
3483 if test "$no_cache" != 1; then
3484 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3487 if test "$wxUSE_TIMEDATE" = yes; then
3488 echo "$ac_t""yes" 1>&6
3490 echo "$ac_t""no" 1>&6
3494 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3495 echo "configure:3496: checking for --enable-stopwatch" >&5
3497 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3498 if test "${enable_stopwatch+set}" = set; then
3499 enableval
="$enable_stopwatch"
3501 if test "$enableval" = yes; then
3502 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3504 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3509 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3510 if test "x$LINE" != x
; then
3511 eval "DEFAULT_$LINE"
3516 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3521 eval "$ac_cv_use_stopwatch"
3522 if test "$no_cache" != 1; then
3523 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3526 if test "$wxUSE_STOPWATCH" = yes; then
3527 echo "$ac_t""yes" 1>&6
3529 echo "$ac_t""no" 1>&6
3533 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3534 echo "configure:3535: checking for --enable-dialupman" >&5
3536 # Check whether --enable-dialupman or --disable-dialupman was given.
3537 if test "${enable_dialupman+set}" = set; then
3538 enableval
="$enable_dialupman"
3540 if test "$enableval" = yes; then
3541 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3543 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3548 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3549 if test "x$LINE" != x
; then
3550 eval "DEFAULT_$LINE"
3555 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3560 eval "$ac_cv_use_dialupman"
3561 if test "$no_cache" != 1; then
3562 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3565 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3566 echo "$ac_t""yes" 1>&6
3568 echo "$ac_t""no" 1>&6
3572 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3573 echo "configure:3574: checking for --enable-apple_ieee" >&5
3575 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3576 if test "${enable_apple_ieee+set}" = set; then
3577 enableval
="$enable_apple_ieee"
3579 if test "$enableval" = yes; then
3580 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3582 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3587 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3588 if test "x$LINE" != x
; then
3589 eval "DEFAULT_$LINE"
3594 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3599 eval "$ac_cv_use_apple_ieee"
3600 if test "$no_cache" != 1; then
3601 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3604 if test "$wxUSE_APPLE_IEEE" = yes; then
3605 echo "$ac_t""yes" 1>&6
3607 echo "$ac_t""no" 1>&6
3611 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3612 echo "configure:3613: checking for --enable-timer" >&5
3614 # Check whether --enable-timer or --disable-timer was given.
3615 if test "${enable_timer+set}" = set; then
3616 enableval
="$enable_timer"
3618 if test "$enableval" = yes; then
3619 ac_cv_use_timer
='wxUSE_TIMER=yes'
3621 ac_cv_use_timer
='wxUSE_TIMER=no'
3626 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3627 if test "x$LINE" != x
; then
3628 eval "DEFAULT_$LINE"
3633 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3638 eval "$ac_cv_use_timer"
3639 if test "$no_cache" != 1; then
3640 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3643 if test "$wxUSE_TIMER" = yes; then
3644 echo "$ac_t""yes" 1>&6
3646 echo "$ac_t""no" 1>&6
3650 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3651 echo "configure:3652: checking for --enable-wave" >&5
3653 # Check whether --enable-wave or --disable-wave was given.
3654 if test "${enable_wave+set}" = set; then
3655 enableval
="$enable_wave"
3657 if test "$enableval" = yes; then
3658 ac_cv_use_wave
='wxUSE_WAVE=yes'
3660 ac_cv_use_wave
='wxUSE_WAVE=no'
3665 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3666 if test "x$LINE" != x
; then
3667 eval "DEFAULT_$LINE"
3672 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3677 eval "$ac_cv_use_wave"
3678 if test "$no_cache" != 1; then
3679 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3682 if test "$wxUSE_WAVE" = yes; then
3683 echo "$ac_t""yes" 1>&6
3685 echo "$ac_t""no" 1>&6
3689 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3690 echo "configure:3691: checking for --enable-fraction" >&5
3692 # Check whether --enable-fraction or --disable-fraction was given.
3693 if test "${enable_fraction+set}" = set; then
3694 enableval
="$enable_fraction"
3696 if test "$enableval" = yes; then
3697 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3699 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3704 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3705 if test "x$LINE" != x
; then
3706 eval "DEFAULT_$LINE"
3711 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3716 eval "$ac_cv_use_fraction"
3717 if test "$no_cache" != 1; then
3718 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3721 if test "$wxUSE_FRACTION" = yes; then
3722 echo "$ac_t""yes" 1>&6
3724 echo "$ac_t""no" 1>&6
3728 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3729 echo "configure:3730: checking for --enable-dynlib" >&5
3731 # Check whether --enable-dynlib or --disable-dynlib was given.
3732 if test "${enable_dynlib+set}" = set; then
3733 enableval
="$enable_dynlib"
3735 if test "$enableval" = yes; then
3736 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3738 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3743 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3744 if test "x$LINE" != x
; then
3745 eval "DEFAULT_$LINE"
3750 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3755 eval "$ac_cv_use_dynlib"
3756 if test "$no_cache" != 1; then
3757 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3760 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3761 echo "$ac_t""yes" 1>&6
3763 echo "$ac_t""no" 1>&6
3767 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3768 echo "configure:3769: checking for --enable-dynamicloader" >&5
3770 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3771 if test "${enable_dynamicloader+set}" = set; then
3772 enableval
="$enable_dynamicloader"
3774 if test "$enableval" = yes; then
3775 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3777 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3782 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3783 if test "x$LINE" != x
; then
3784 eval "DEFAULT_$LINE"
3789 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3794 eval "$ac_cv_use_dynamicloader"
3795 if test "$no_cache" != 1; then
3796 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3799 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3800 echo "$ac_t""yes" 1>&6
3802 echo "$ac_t""no" 1>&6
3806 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3807 echo "configure:3808: checking for --enable-longlong" >&5
3809 # Check whether --enable-longlong or --disable-longlong was given.
3810 if test "${enable_longlong+set}" = set; then
3811 enableval
="$enable_longlong"
3813 if test "$enableval" = yes; then
3814 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3816 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3821 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3822 if test "x$LINE" != x
; then
3823 eval "DEFAULT_$LINE"
3828 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3833 eval "$ac_cv_use_longlong"
3834 if test "$no_cache" != 1; then
3835 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3838 if test "$wxUSE_LONGLONG" = yes; then
3839 echo "$ac_t""yes" 1>&6
3841 echo "$ac_t""no" 1>&6
3845 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3846 echo "configure:3847: checking for --enable-geometry" >&5
3848 # Check whether --enable-geometry or --disable-geometry was given.
3849 if test "${enable_geometry+set}" = set; then
3850 enableval
="$enable_geometry"
3852 if test "$enableval" = yes; then
3853 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3855 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3860 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3861 if test "x$LINE" != x
; then
3862 eval "DEFAULT_$LINE"
3867 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3872 eval "$ac_cv_use_geometry"
3873 if test "$no_cache" != 1; then
3874 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3877 if test "$wxUSE_GEOMETRY" = yes; then
3878 echo "$ac_t""yes" 1>&6
3880 echo "$ac_t""no" 1>&6
3884 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3885 echo "configure:3886: checking for --enable-log" >&5
3887 # Check whether --enable-log or --disable-log was given.
3888 if test "${enable_log+set}" = set; then
3889 enableval
="$enable_log"
3891 if test "$enableval" = yes; then
3892 ac_cv_use_log
='wxUSE_LOG=yes'
3894 ac_cv_use_log
='wxUSE_LOG=no'
3899 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3900 if test "x$LINE" != x
; then
3901 eval "DEFAULT_$LINE"
3906 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3911 eval "$ac_cv_use_log"
3912 if test "$no_cache" != 1; then
3913 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3916 if test "$wxUSE_LOG" = yes; then
3917 echo "$ac_t""yes" 1>&6
3919 echo "$ac_t""no" 1>&6
3923 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3924 echo "configure:3925: checking for --enable-streams" >&5
3926 # Check whether --enable-streams or --disable-streams was given.
3927 if test "${enable_streams+set}" = set; then
3928 enableval
="$enable_streams"
3930 if test "$enableval" = yes; then
3931 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3933 ac_cv_use_streams
='wxUSE_STREAMS=no'
3938 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3939 if test "x$LINE" != x
; then
3940 eval "DEFAULT_$LINE"
3945 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3950 eval "$ac_cv_use_streams"
3951 if test "$no_cache" != 1; then
3952 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3955 if test "$wxUSE_STREAMS" = yes; then
3956 echo "$ac_t""yes" 1>&6
3958 echo "$ac_t""no" 1>&6
3962 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3963 echo "configure:3964: checking for --enable-file" >&5
3965 # Check whether --enable-file or --disable-file was given.
3966 if test "${enable_file+set}" = set; then
3967 enableval
="$enable_file"
3969 if test "$enableval" = yes; then
3970 ac_cv_use_file
='wxUSE_FILE=yes'
3972 ac_cv_use_file
='wxUSE_FILE=no'
3977 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3978 if test "x$LINE" != x
; then
3979 eval "DEFAULT_$LINE"
3984 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3989 eval "$ac_cv_use_file"
3990 if test "$no_cache" != 1; then
3991 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3994 if test "$wxUSE_FILE" = yes; then
3995 echo "$ac_t""yes" 1>&6
3997 echo "$ac_t""no" 1>&6
4001 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
4002 echo "configure:4003: checking for --enable-ffile" >&5
4004 # Check whether --enable-ffile or --disable-ffile was given.
4005 if test "${enable_ffile+set}" = set; then
4006 enableval
="$enable_ffile"
4008 if test "$enableval" = yes; then
4009 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4011 ac_cv_use_ffile
='wxUSE_FFILE=no'
4016 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4017 if test "x$LINE" != x
; then
4018 eval "DEFAULT_$LINE"
4023 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4028 eval "$ac_cv_use_ffile"
4029 if test "$no_cache" != 1; then
4030 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4033 if test "$wxUSE_FFILE" = yes; then
4034 echo "$ac_t""yes" 1>&6
4036 echo "$ac_t""no" 1>&6
4040 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
4041 echo "configure:4042: checking for --enable-textbuf" >&5
4043 # Check whether --enable-textbuf or --disable-textbuf was given.
4044 if test "${enable_textbuf+set}" = set; then
4045 enableval
="$enable_textbuf"
4047 if test "$enableval" = yes; then
4048 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4050 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4055 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4056 if test "x$LINE" != x
; then
4057 eval "DEFAULT_$LINE"
4062 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4067 eval "$ac_cv_use_textbuf"
4068 if test "$no_cache" != 1; then
4069 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4072 if test "$wxUSE_TEXTBUFFER" = yes; then
4073 echo "$ac_t""yes" 1>&6
4075 echo "$ac_t""no" 1>&6
4079 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4080 echo "configure:4081: checking for --enable-textfile" >&5
4082 # Check whether --enable-textfile or --disable-textfile was given.
4083 if test "${enable_textfile+set}" = set; then
4084 enableval
="$enable_textfile"
4086 if test "$enableval" = yes; then
4087 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4089 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4094 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4095 if test "x$LINE" != x
; then
4096 eval "DEFAULT_$LINE"
4101 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4106 eval "$ac_cv_use_textfile"
4107 if test "$no_cache" != 1; then
4108 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4111 if test "$wxUSE_TEXTFILE" = yes; then
4112 echo "$ac_t""yes" 1>&6
4114 echo "$ac_t""no" 1>&6
4118 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4119 echo "configure:4120: checking for --enable-fontmap" >&5
4121 # Check whether --enable-fontmap or --disable-fontmap was given.
4122 if test "${enable_fontmap+set}" = set; then
4123 enableval
="$enable_fontmap"
4125 if test "$enableval" = yes; then
4126 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4128 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4133 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4134 if test "x$LINE" != x
; then
4135 eval "DEFAULT_$LINE"
4140 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4145 eval "$ac_cv_use_fontmap"
4146 if test "$no_cache" != 1; then
4147 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4150 if test "$wxUSE_FONTMAP" = yes; then
4151 echo "$ac_t""yes" 1>&6
4153 echo "$ac_t""no" 1>&6
4157 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4158 echo "configure:4159: checking for --enable-unicode" >&5
4160 # Check whether --enable-unicode or --disable-unicode was given.
4161 if test "${enable_unicode+set}" = set; then
4162 enableval
="$enable_unicode"
4164 if test "$enableval" = yes; then
4165 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4167 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4172 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4173 if test "x$LINE" != x
; then
4174 eval "DEFAULT_$LINE"
4179 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4184 eval "$ac_cv_use_unicode"
4185 if test "$no_cache" != 1; then
4186 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4189 if test "$wxUSE_UNICODE" = yes; then
4190 echo "$ac_t""yes" 1>&6
4192 echo "$ac_t""no" 1>&6
4196 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4197 echo "configure:4198: checking for --enable-mslu" >&5
4199 # Check whether --enable-mslu or --disable-mslu was given.
4200 if test "${enable_mslu+set}" = set; then
4201 enableval
="$enable_mslu"
4203 if test "$enableval" = yes; then
4204 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4206 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4211 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4212 if test "x$LINE" != x
; then
4213 eval "DEFAULT_$LINE"
4218 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4223 eval "$ac_cv_use_mslu"
4224 if test "$no_cache" != 1; then
4225 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4228 if test "$wxUSE_UNICODE_MSLU" = yes; then
4229 echo "$ac_t""yes" 1>&6
4231 echo "$ac_t""no" 1>&6
4235 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4236 echo "configure:4237: checking for --enable-wxprintfv" >&5
4238 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4239 if test "${enable_wxprintfv+set}" = set; then
4240 enableval
="$enable_wxprintfv"
4242 if test "$enableval" = yes; then
4243 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4245 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4250 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4251 if test "x$LINE" != x
; then
4252 eval "DEFAULT_$LINE"
4257 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4262 eval "$ac_cv_use_wxprintfv"
4263 if test "$no_cache" != 1; then
4264 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4267 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4268 echo "$ac_t""yes" 1>&6
4270 echo "$ac_t""no" 1>&6
4274 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4275 echo "configure:4276: checking for --enable-std_iostreams" >&5
4277 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4278 if test "${enable_std_iostreams+set}" = set; then
4279 enableval
="$enable_std_iostreams"
4281 if test "$enableval" = yes; then
4282 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4284 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4289 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4290 if test "x$LINE" != x
; then
4291 eval "DEFAULT_$LINE"
4296 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4301 eval "$ac_cv_use_std_iostreams"
4302 if test "$no_cache" != 1; then
4303 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4306 if test "$wxUSE_STD_IOSTREAM" = yes; then
4307 echo "$ac_t""yes" 1>&6
4309 echo "$ac_t""no" 1>&6
4313 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4314 echo "configure:4315: checking for --enable-filesystem" >&5
4316 # Check whether --enable-filesystem or --disable-filesystem was given.
4317 if test "${enable_filesystem+set}" = set; then
4318 enableval
="$enable_filesystem"
4320 if test "$enableval" = yes; then
4321 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4323 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4328 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4329 if test "x$LINE" != x
; then
4330 eval "DEFAULT_$LINE"
4335 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4340 eval "$ac_cv_use_filesystem"
4341 if test "$no_cache" != 1; then
4342 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4345 if test "$wxUSE_FILESYSTEM" = yes; then
4346 echo "$ac_t""yes" 1>&6
4348 echo "$ac_t""no" 1>&6
4352 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4353 echo "configure:4354: checking for --enable-fs_inet" >&5
4355 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4356 if test "${enable_fs_inet+set}" = set; then
4357 enableval
="$enable_fs_inet"
4359 if test "$enableval" = yes; then
4360 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4362 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4367 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4368 if test "x$LINE" != x
; then
4369 eval "DEFAULT_$LINE"
4374 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4379 eval "$ac_cv_use_fs_inet"
4380 if test "$no_cache" != 1; then
4381 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4384 if test "$wxUSE_FS_INET" = yes; then
4385 echo "$ac_t""yes" 1>&6
4387 echo "$ac_t""no" 1>&6
4391 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4392 echo "configure:4393: checking for --enable-fs_zip" >&5
4394 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4395 if test "${enable_fs_zip+set}" = set; then
4396 enableval
="$enable_fs_zip"
4398 if test "$enableval" = yes; then
4399 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4401 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4406 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4407 if test "x$LINE" != x
; then
4408 eval "DEFAULT_$LINE"
4413 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4418 eval "$ac_cv_use_fs_zip"
4419 if test "$no_cache" != 1; then
4420 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4423 if test "$wxUSE_FS_ZIP" = yes; then
4424 echo "$ac_t""yes" 1>&6
4426 echo "$ac_t""no" 1>&6
4430 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4431 echo "configure:4432: checking for --enable-zipstream" >&5
4433 # Check whether --enable-zipstream or --disable-zipstream was given.
4434 if test "${enable_zipstream+set}" = set; then
4435 enableval
="$enable_zipstream"
4437 if test "$enableval" = yes; then
4438 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4440 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4445 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4446 if test "x$LINE" != x
; then
4447 eval "DEFAULT_$LINE"
4452 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4457 eval "$ac_cv_use_zipstream"
4458 if test "$no_cache" != 1; then
4459 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4462 if test "$wxUSE_ZIPSTREAM" = yes; then
4463 echo "$ac_t""yes" 1>&6
4465 echo "$ac_t""no" 1>&6
4470 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4471 echo "configure:4472: checking for --enable-catch_segvs" >&5
4473 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4474 if test "${enable_catch_segvs+set}" = set; then
4475 enableval
="$enable_catch_segvs"
4477 if test "$enableval" = yes; then
4478 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4480 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4485 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4486 if test "x$LINE" != x
; then
4487 eval "DEFAULT_$LINE"
4492 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4497 eval "$ac_cv_use_catch_segvs"
4498 if test "$no_cache" != 1; then
4499 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4502 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4503 echo "$ac_t""yes" 1>&6
4505 echo "$ac_t""no" 1>&6
4509 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4510 echo "configure:4511: checking for --enable-snglinst" >&5
4512 # Check whether --enable-snglinst or --disable-snglinst was given.
4513 if test "${enable_snglinst+set}" = set; then
4514 enableval
="$enable_snglinst"
4516 if test "$enableval" = yes; then
4517 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4519 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4524 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4525 if test "x$LINE" != x
; then
4526 eval "DEFAULT_$LINE"
4531 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4536 eval "$ac_cv_use_snglinst"
4537 if test "$no_cache" != 1; then
4538 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4541 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4542 echo "$ac_t""yes" 1>&6
4544 echo "$ac_t""no" 1>&6
4549 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4550 echo "configure:4551: checking for --enable-mimetype" >&5
4552 # Check whether --enable-mimetype or --disable-mimetype was given.
4553 if test "${enable_mimetype+set}" = set; then
4554 enableval
="$enable_mimetype"
4556 if test "$enableval" = yes; then
4557 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4559 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4564 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4565 if test "x$LINE" != x
; then
4566 eval "DEFAULT_$LINE"
4571 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4576 eval "$ac_cv_use_mimetype"
4577 if test "$no_cache" != 1; then
4578 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4581 if test "$wxUSE_MIMETYPE" = yes; then
4582 echo "$ac_t""yes" 1>&6
4584 echo "$ac_t""no" 1>&6
4588 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4589 echo "configure:4590: checking for --enable-system_options" >&5
4591 # Check whether --enable-system_options or --disable-system_options was given.
4592 if test "${enable_system_options+set}" = set; then
4593 enableval
="$enable_system_options"
4595 if test "$enableval" = yes; then
4596 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4598 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4603 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4604 if test "x$LINE" != x
; then
4605 eval "DEFAULT_$LINE"
4610 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4615 eval "$ac_cv_use_system_options"
4616 if test "$no_cache" != 1; then
4617 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4620 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4621 echo "$ac_t""yes" 1>&6
4623 echo "$ac_t""no" 1>&6
4628 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4629 echo "configure:4630: checking for --enable-url" >&5
4631 # Check whether --enable-url or --disable-url was given.
4632 if test "${enable_url+set}" = set; then
4633 enableval
="$enable_url"
4635 if test "$enableval" = yes; then
4636 ac_cv_use_url
='wxUSE_URL=yes'
4638 ac_cv_use_url
='wxUSE_URL=no'
4643 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4644 if test "x$LINE" != x
; then
4645 eval "DEFAULT_$LINE"
4650 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4655 eval "$ac_cv_use_url"
4656 if test "$no_cache" != 1; then
4657 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4660 if test "$wxUSE_URL" = yes; then
4661 echo "$ac_t""yes" 1>&6
4663 echo "$ac_t""no" 1>&6
4667 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4668 echo "configure:4669: checking for --enable-protocol" >&5
4670 # Check whether --enable-protocol or --disable-protocol was given.
4671 if test "${enable_protocol+set}" = set; then
4672 enableval
="$enable_protocol"
4674 if test "$enableval" = yes; then
4675 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4677 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4682 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4683 if test "x$LINE" != x
; then
4684 eval "DEFAULT_$LINE"
4689 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4694 eval "$ac_cv_use_protocol"
4695 if test "$no_cache" != 1; then
4696 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4699 if test "$wxUSE_PROTOCOL" = yes; then
4700 echo "$ac_t""yes" 1>&6
4702 echo "$ac_t""no" 1>&6
4706 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4707 echo "configure:4708: checking for --enable-protocol_http" >&5
4709 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4710 if test "${enable_protocol_http+set}" = set; then
4711 enableval
="$enable_protocol_http"
4713 if test "$enableval" = yes; then
4714 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4716 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4721 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4722 if test "x$LINE" != x
; then
4723 eval "DEFAULT_$LINE"
4728 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4733 eval "$ac_cv_use_protocol_http"
4734 if test "$no_cache" != 1; then
4735 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4738 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4739 echo "$ac_t""yes" 1>&6
4741 echo "$ac_t""no" 1>&6
4745 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4746 echo "configure:4747: checking for --enable-protocol_ftp" >&5
4748 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4749 if test "${enable_protocol_ftp+set}" = set; then
4750 enableval
="$enable_protocol_ftp"
4752 if test "$enableval" = yes; then
4753 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4755 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4760 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4761 if test "x$LINE" != x
; then
4762 eval "DEFAULT_$LINE"
4767 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4772 eval "$ac_cv_use_protocol_ftp"
4773 if test "$no_cache" != 1; then
4774 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4777 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4778 echo "$ac_t""yes" 1>&6
4780 echo "$ac_t""no" 1>&6
4784 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4785 echo "configure:4786: checking for --enable-protocol_file" >&5
4787 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4788 if test "${enable_protocol_file+set}" = set; then
4789 enableval
="$enable_protocol_file"
4791 if test "$enableval" = yes; then
4792 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4794 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4799 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4800 if test "x$LINE" != x
; then
4801 eval "DEFAULT_$LINE"
4806 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4811 eval "$ac_cv_use_protocol_file"
4812 if test "$no_cache" != 1; then
4813 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4816 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4817 echo "$ac_t""yes" 1>&6
4819 echo "$ac_t""no" 1>&6
4826 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4827 echo "configure:4828: checking for --enable-threads" >&5
4829 # Check whether --enable-threads or --disable-threads was given.
4830 if test "${enable_threads+set}" = set; then
4831 enableval
="$enable_threads"
4833 if test "$enableval" = yes; then
4834 ac_cv_use_threads
='wxUSE_THREADS=yes'
4836 ac_cv_use_threads
='wxUSE_THREADS=no'
4841 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4842 if test "x$LINE" != x
; then
4843 eval "DEFAULT_$LINE"
4848 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4853 eval "$ac_cv_use_threads"
4854 if test "$no_cache" != 1; then
4855 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4858 if test "$wxUSE_THREADS" = yes; then
4859 echo "$ac_t""yes" 1>&6
4861 echo "$ac_t""no" 1>&6
4865 if test "$wxUSE_GUI" = "yes"; then
4869 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4870 echo "configure:4871: checking for --enable-docview" >&5
4872 # Check whether --enable-docview or --disable-docview was given.
4873 if test "${enable_docview+set}" = set; then
4874 enableval
="$enable_docview"
4876 if test "$enableval" = yes; then
4877 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4879 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4884 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4885 if test "x$LINE" != x
; then
4886 eval "DEFAULT_$LINE"
4891 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4896 eval "$ac_cv_use_docview"
4897 if test "$no_cache" != 1; then
4898 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4901 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4902 echo "$ac_t""yes" 1>&6
4904 echo "$ac_t""no" 1>&6
4908 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4909 echo "configure:4910: checking for --enable-help" >&5
4911 # Check whether --enable-help or --disable-help was given.
4912 if test "${enable_help+set}" = set; then
4913 enableval
="$enable_help"
4915 if test "$enableval" = yes; then
4916 ac_cv_use_help
='wxUSE_HELP=yes'
4918 ac_cv_use_help
='wxUSE_HELP=no'
4923 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4924 if test "x$LINE" != x
; then
4925 eval "DEFAULT_$LINE"
4930 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4935 eval "$ac_cv_use_help"
4936 if test "$no_cache" != 1; then
4937 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4940 if test "$wxUSE_HELP" = yes; then
4941 echo "$ac_t""yes" 1>&6
4943 echo "$ac_t""no" 1>&6
4947 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4948 echo "configure:4949: checking for --enable-mshtmlhelp" >&5
4950 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4951 if test "${enable_mshtmlhelp+set}" = set; then
4952 enableval
="$enable_mshtmlhelp"
4954 if test "$enableval" = yes; then
4955 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4957 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4962 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4963 if test "x$LINE" != x
; then
4964 eval "DEFAULT_$LINE"
4969 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4974 eval "$ac_cv_use_mshtmlhelp"
4975 if test "$no_cache" != 1; then
4976 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4979 if test "$wxUSE_MS_HTML_HELP" = yes; then
4980 echo "$ac_t""yes" 1>&6
4982 echo "$ac_t""no" 1>&6
4986 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4987 echo "configure:4988: checking for --enable-html" >&5
4989 # Check whether --enable-html or --disable-html was given.
4990 if test "${enable_html+set}" = set; then
4991 enableval
="$enable_html"
4993 if test "$enableval" = yes; then
4994 ac_cv_use_html
='wxUSE_HTML=yes'
4996 ac_cv_use_html
='wxUSE_HTML=no'
5001 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5002 if test "x$LINE" != x
; then
5003 eval "DEFAULT_$LINE"
5008 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5013 eval "$ac_cv_use_html"
5014 if test "$no_cache" != 1; then
5015 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5018 if test "$wxUSE_HTML" = yes; then
5019 echo "$ac_t""yes" 1>&6
5021 echo "$ac_t""no" 1>&6
5025 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
5026 echo "configure:5027: checking for --enable-htmlhelp" >&5
5028 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5029 if test "${enable_htmlhelp+set}" = set; then
5030 enableval
="$enable_htmlhelp"
5032 if test "$enableval" = yes; then
5033 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5035 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5040 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5041 if test "x$LINE" != x
; then
5042 eval "DEFAULT_$LINE"
5047 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5052 eval "$ac_cv_use_htmlhelp"
5053 if test "$no_cache" != 1; then
5054 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5057 if test "$wxUSE_WXHTML_HELP" = yes; then
5058 echo "$ac_t""yes" 1>&6
5060 echo "$ac_t""no" 1>&6
5064 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5065 echo "configure:5066: checking for --enable-constraints" >&5
5067 # Check whether --enable-constraints or --disable-constraints was given.
5068 if test "${enable_constraints+set}" = set; then
5069 enableval
="$enable_constraints"
5071 if test "$enableval" = yes; then
5072 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5074 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5079 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5080 if test "x$LINE" != x
; then
5081 eval "DEFAULT_$LINE"
5086 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5091 eval "$ac_cv_use_constraints"
5092 if test "$no_cache" != 1; then
5093 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5096 if test "$wxUSE_CONSTRAINTS" = yes; then
5097 echo "$ac_t""yes" 1>&6
5099 echo "$ac_t""no" 1>&6
5103 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5104 echo "configure:5105: checking for --enable-printarch" >&5
5106 # Check whether --enable-printarch or --disable-printarch was given.
5107 if test "${enable_printarch+set}" = set; then
5108 enableval
="$enable_printarch"
5110 if test "$enableval" = yes; then
5111 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5113 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5118 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5119 if test "x$LINE" != x
; then
5120 eval "DEFAULT_$LINE"
5125 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5130 eval "$ac_cv_use_printarch"
5131 if test "$no_cache" != 1; then
5132 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5135 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5136 echo "$ac_t""yes" 1>&6
5138 echo "$ac_t""no" 1>&6
5142 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5143 echo "configure:5144: checking for --enable-mdi" >&5
5145 # Check whether --enable-mdi or --disable-mdi was given.
5146 if test "${enable_mdi+set}" = set; then
5147 enableval
="$enable_mdi"
5149 if test "$enableval" = yes; then
5150 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5152 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5157 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5158 if test "x$LINE" != x
; then
5159 eval "DEFAULT_$LINE"
5164 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5169 eval "$ac_cv_use_mdi"
5170 if test "$no_cache" != 1; then
5171 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5174 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5175 echo "$ac_t""yes" 1>&6
5177 echo "$ac_t""no" 1>&6
5181 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5182 echo "configure:5183: checking for --enable-loggui" >&5
5184 # Check whether --enable-loggui or --disable-loggui was given.
5185 if test "${enable_loggui+set}" = set; then
5186 enableval
="$enable_loggui"
5188 if test "$enableval" = yes; then
5189 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5191 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5196 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5197 if test "x$LINE" != x
; then
5198 eval "DEFAULT_$LINE"
5203 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5208 eval "$ac_cv_use_loggui"
5209 if test "$no_cache" != 1; then
5210 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5213 if test "$wxUSE_LOGGUI" = yes; then
5214 echo "$ac_t""yes" 1>&6
5216 echo "$ac_t""no" 1>&6
5220 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5221 echo "configure:5222: checking for --enable-logwin" >&5
5223 # Check whether --enable-logwin or --disable-logwin was given.
5224 if test "${enable_logwin+set}" = set; then
5225 enableval
="$enable_logwin"
5227 if test "$enableval" = yes; then
5228 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5230 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5235 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5236 if test "x$LINE" != x
; then
5237 eval "DEFAULT_$LINE"
5242 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5247 eval "$ac_cv_use_logwin"
5248 if test "$no_cache" != 1; then
5249 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5252 if test "$wxUSE_LOGWINDOW" = yes; then
5253 echo "$ac_t""yes" 1>&6
5255 echo "$ac_t""no" 1>&6
5259 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5260 echo "configure:5261: checking for --enable-logdialog" >&5
5262 # Check whether --enable-logdialog or --disable-logdialog was given.
5263 if test "${enable_logdialog+set}" = set; then
5264 enableval
="$enable_logdialog"
5266 if test "$enableval" = yes; then
5267 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5269 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5274 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5275 if test "x$LINE" != x
; then
5276 eval "DEFAULT_$LINE"
5281 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5286 eval "$ac_cv_use_logdialog"
5287 if test "$no_cache" != 1; then
5288 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5291 if test "$wxUSE_LOGDIALOG" = yes; then
5292 echo "$ac_t""yes" 1>&6
5294 echo "$ac_t""no" 1>&6
5299 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5300 echo "configure:5301: checking for --enable-postscript" >&5
5302 # Check whether --enable-postscript or --disable-postscript was given.
5303 if test "${enable_postscript+set}" = set; then
5304 enableval
="$enable_postscript"
5306 if test "$enableval" = yes; then
5307 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5309 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5314 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5315 if test "x$LINE" != x
; then
5316 eval "DEFAULT_$LINE"
5321 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5326 eval "$ac_cv_use_postscript"
5327 if test "$no_cache" != 1; then
5328 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5331 if test "$wxUSE_POSTSCRIPT" = yes; then
5332 echo "$ac_t""yes" 1>&6
5334 echo "$ac_t""no" 1>&6
5341 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5342 echo "configure:5343: checking for --enable-prologio" >&5
5344 # Check whether --enable-prologio or --disable-prologio was given.
5345 if test "${enable_prologio+set}" = set; then
5346 enableval
="$enable_prologio"
5348 if test "$enableval" = yes; then
5349 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5351 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5356 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5357 if test "x$LINE" != x
; then
5358 eval "DEFAULT_$LINE"
5363 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5368 eval "$ac_cv_use_prologio"
5369 if test "$no_cache" != 1; then
5370 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5373 if test "$wxUSE_PROLOGIO" = yes; then
5374 echo "$ac_t""yes" 1>&6
5376 echo "$ac_t""no" 1>&6
5380 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5381 echo "configure:5382: checking for --enable-resources" >&5
5383 # Check whether --enable-resources or --disable-resources was given.
5384 if test "${enable_resources+set}" = set; then
5385 enableval
="$enable_resources"
5387 if test "$enableval" = yes; then
5388 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5390 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5395 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5396 if test "x$LINE" != x
; then
5397 eval "DEFAULT_$LINE"
5402 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5407 eval "$ac_cv_use_resources"
5408 if test "$no_cache" != 1; then
5409 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5412 if test "$wxUSE_RESOURCES" = yes; then
5413 echo "$ac_t""yes" 1>&6
5415 echo "$ac_t""no" 1>&6
5420 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5421 echo "configure:5422: checking for --enable-xresources" >&5
5423 # Check whether --enable-xresources or --disable-xresources was given.
5424 if test "${enable_xresources+set}" = set; then
5425 enableval
="$enable_xresources"
5427 if test "$enableval" = yes; then
5428 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5430 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5435 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5436 if test "x$LINE" != x
; then
5437 eval "DEFAULT_$LINE"
5442 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5447 eval "$ac_cv_use_xresources"
5448 if test "$no_cache" != 1; then
5449 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5452 if test "$wxUSE_X_RESOURCES" = yes; then
5453 echo "$ac_t""yes" 1>&6
5455 echo "$ac_t""no" 1>&6
5461 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5462 echo "configure:5463: checking for --enable-clipboard" >&5
5464 # Check whether --enable-clipboard or --disable-clipboard was given.
5465 if test "${enable_clipboard+set}" = set; then
5466 enableval
="$enable_clipboard"
5468 if test "$enableval" = yes; then
5469 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5471 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5476 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5477 if test "x$LINE" != x
; then
5478 eval "DEFAULT_$LINE"
5483 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5488 eval "$ac_cv_use_clipboard"
5489 if test "$no_cache" != 1; then
5490 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5493 if test "$wxUSE_CLIPBOARD" = yes; then
5494 echo "$ac_t""yes" 1>&6
5496 echo "$ac_t""no" 1>&6
5500 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5501 echo "configure:5502: checking for --enable-dnd" >&5
5503 # Check whether --enable-dnd or --disable-dnd was given.
5504 if test "${enable_dnd+set}" = set; then
5505 enableval
="$enable_dnd"
5507 if test "$enableval" = yes; then
5508 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5510 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5515 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5516 if test "x$LINE" != x
; then
5517 eval "DEFAULT_$LINE"
5522 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5527 eval "$ac_cv_use_dnd"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5532 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5533 echo "$ac_t""yes" 1>&6
5535 echo "$ac_t""no" 1>&6
5539 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5540 echo "configure:5541: checking for --enable-metafile" >&5
5542 # Check whether --enable-metafile or --disable-metafile was given.
5543 if test "${enable_metafile+set}" = set; then
5544 enableval
="$enable_metafile"
5546 if test "$enableval" = yes; then
5547 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5549 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5554 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5555 if test "x$LINE" != x
; then
5556 eval "DEFAULT_$LINE"
5561 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5566 eval "$ac_cv_use_metafile"
5567 if test "$no_cache" != 1; then
5568 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5571 if test "$wxUSE_METAFILE" = yes; then
5572 echo "$ac_t""yes" 1>&6
5574 echo "$ac_t""no" 1>&6
5579 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5580 echo "configure:5581: checking for --enable-treelayout" >&5
5582 # Check whether --enable-treelayout or --disable-treelayout was given.
5583 if test "${enable_treelayout+set}" = set; then
5584 enableval
="$enable_treelayout"
5586 if test "$enableval" = yes; then
5587 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5589 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5594 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5595 if test "x$LINE" != x
; then
5596 eval "DEFAULT_$LINE"
5601 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5606 eval "$ac_cv_use_treelayout"
5607 if test "$no_cache" != 1; then
5608 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5611 if test "$wxUSE_TREELAYOUT" = yes; then
5612 echo "$ac_t""yes" 1>&6
5614 echo "$ac_t""no" 1>&6
5620 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5621 echo "configure:5622: checking for --enable-controls" >&5
5623 # Check whether --enable-controls or --disable-controls was given.
5624 if test "${enable_controls+set}" = set; then
5625 enableval
="$enable_controls"
5627 if test "$enableval" = yes; then
5628 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5630 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5635 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5636 if test "x$LINE" != x
; then
5637 eval "DEFAULT_$LINE"
5642 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5647 eval "$ac_cv_use_controls"
5648 if test "$no_cache" != 1; then
5649 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5652 if test "$wxUSE_CONTROLS" = yes; then
5653 echo "$ac_t""yes" 1>&6
5655 echo "$ac_t""no" 1>&6
5659 if test "$wxUSE_CONTROLS" = "yes"; then
5660 DEFAULT_wxUSE_ACCEL
=yes
5661 DEFAULT_wxUSE_BMPBUTTON
=yes
5662 DEFAULT_wxUSE_BUTTON
=yes
5663 DEFAULT_wxUSE_CALCTRL
=no
5664 DEFAULT_wxUSE_CARET
=yes
5665 DEFAULT_wxUSE_COMBOBOX
=yes
5666 DEFAULT_wxUSE_CHECKBOX
=yes
5667 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5668 DEFAULT_wxUSE_CHOICE
=yes
5669 DEFAULT_wxUSE_GAUGE
=yes
5670 DEFAULT_wxUSE_GRID
=yes
5671 DEFAULT_wxUSE_NEW_GRID
=yes
5672 DEFAULT_wxUSE_IMAGLIST
=yes
5673 DEFAULT_wxUSE_LISTBOX
=yes
5674 DEFAULT_wxUSE_LISTCTRL
=yes
5675 DEFAULT_wxUSE_NOTEBOOK
=yes
5676 DEFAULT_wxUSE_PROPSHEET
=yes
5677 DEFAULT_wxUSE_RADIOBOX
=yes
5678 DEFAULT_wxUSE_RADIOBTN
=yes
5679 DEFAULT_wxUSE_SASH
=yes
5680 DEFAULT_wxUSE_SCROLLBAR
=yes
5681 DEFAULT_wxUSE_SLIDER
=yes
5682 DEFAULT_wxUSE_SPINBTN
=yes
5683 DEFAULT_wxUSE_SPINCTRL
=yes
5684 DEFAULT_wxUSE_SPLITTER
=yes
5685 DEFAULT_wxUSE_STATBMP
=yes
5686 DEFAULT_wxUSE_STATBOX
=yes
5687 DEFAULT_wxUSE_STATLINE
=yes
5688 DEFAULT_wxUSE_STATUSBAR
=yes
5689 DEFAULT_wxUSE_TAB_DIALOG
=yes
5690 DEFAULT_wxUSE_TOGGLEBTN
=yes
5691 DEFAULT_wxUSE_TOOLBAR
=yes
5692 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5693 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5694 DEFAULT_wxUSE_TOOLTIPS
=yes
5695 DEFAULT_wxUSE_TREECTRL
=yes
5696 DEFAULT_wxUSE_POPUPWIN
=yes
5697 DEFAULT_wxUSE_TIPWINDOW
=yes
5698 elif test "$wxUSE_CONTROLS" = "no"; then
5699 DEFAULT_wxUSE_ACCEL
=no
5700 DEFAULT_wxUSE_BMPBUTTON
=no
5701 DEFAULT_wxUSE_BUTTON
=no
5702 DEFAULT_wxUSE_CALCTRL
=no
5703 DEFAULT_wxUSE_CARET
=no
5704 DEFAULT_wxUSE_COMBOBOX
=no
5705 DEFAULT_wxUSE_CHECKBOX
=no
5706 DEFAULT_wxUSE_CHECKLISTBOX
=no
5707 DEFAULT_wxUSE_CHOICE
=no
5708 DEFAULT_wxUSE_GAUGE
=no
5709 DEFAULT_wxUSE_GRID
=no
5710 DEFAULT_wxUSE_NEW_GRID
=no
5711 DEFAULT_wxUSE_IMAGLIST
=no
5712 DEFAULT_wxUSE_LISTBOX
=no
5713 DEFAULT_wxUSE_LISTCTRL
=no
5714 DEFAULT_wxUSE_NOTEBOOK
=no
5715 DEFAULT_wxUSE_PROPSHEET
=no
5716 DEFAULT_wxUSE_RADIOBOX
=no
5717 DEFAULT_wxUSE_RADIOBTN
=no
5718 DEFAULT_wxUSE_SASH
=no
5719 DEFAULT_wxUSE_SCROLLBAR
=no
5720 DEFAULT_wxUSE_SLIDER
=no
5721 DEFAULT_wxUSE_SPINBTN
=no
5722 DEFAULT_wxUSE_SPINCTRL
=no
5723 DEFAULT_wxUSE_SPLITTER
=no
5724 DEFAULT_wxUSE_STATBMP
=no
5725 DEFAULT_wxUSE_STATBOX
=no
5726 DEFAULT_wxUSE_STATLINE
=no
5727 DEFAULT_wxUSE_STATUSBAR
=no
5728 DEFAULT_wxUSE_TAB_DIALOG
=no
5729 DEFAULT_wxUSE_TOGGLEBTN
=no
5730 DEFAULT_wxUSE_TOOLBAR
=no
5731 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5732 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5733 DEFAULT_wxUSE_TOOLTIPS
=no
5734 DEFAULT_wxUSE_TREECTRL
=no
5735 DEFAULT_wxUSE_POPUPWIN
=no
5736 DEFAULT_wxUSE_TIPWINDOW
=no
5740 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5741 echo "configure:5742: checking for --enable-accel" >&5
5743 # Check whether --enable-accel or --disable-accel was given.
5744 if test "${enable_accel+set}" = set; then
5745 enableval
="$enable_accel"
5747 if test "$enableval" = yes; then
5748 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5750 ac_cv_use_accel
='wxUSE_ACCEL=no'
5755 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5756 if test "x$LINE" != x
; then
5757 eval "DEFAULT_$LINE"
5762 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5767 eval "$ac_cv_use_accel"
5768 if test "$no_cache" != 1; then
5769 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5772 if test "$wxUSE_ACCEL" = yes; then
5773 echo "$ac_t""yes" 1>&6
5775 echo "$ac_t""no" 1>&6
5779 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5780 echo "configure:5781: checking for --enable-button" >&5
5782 # Check whether --enable-button or --disable-button was given.
5783 if test "${enable_button+set}" = set; then
5784 enableval
="$enable_button"
5786 if test "$enableval" = yes; then
5787 ac_cv_use_button
='wxUSE_BUTTON=yes'
5789 ac_cv_use_button
='wxUSE_BUTTON=no'
5794 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5795 if test "x$LINE" != x
; then
5796 eval "DEFAULT_$LINE"
5801 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5806 eval "$ac_cv_use_button"
5807 if test "$no_cache" != 1; then
5808 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5811 if test "$wxUSE_BUTTON" = yes; then
5812 echo "$ac_t""yes" 1>&6
5814 echo "$ac_t""no" 1>&6
5818 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5819 echo "configure:5820: checking for --enable-bmpbutton" >&5
5821 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5822 if test "${enable_bmpbutton+set}" = set; then
5823 enableval
="$enable_bmpbutton"
5825 if test "$enableval" = yes; then
5826 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5828 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5833 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5834 if test "x$LINE" != x
; then
5835 eval "DEFAULT_$LINE"
5840 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5845 eval "$ac_cv_use_bmpbutton"
5846 if test "$no_cache" != 1; then
5847 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5850 if test "$wxUSE_BMPBUTTON" = yes; then
5851 echo "$ac_t""yes" 1>&6
5853 echo "$ac_t""no" 1>&6
5857 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5858 echo "configure:5859: checking for --enable-calendar" >&5
5860 # Check whether --enable-calendar or --disable-calendar was given.
5861 if test "${enable_calendar+set}" = set; then
5862 enableval
="$enable_calendar"
5864 if test "$enableval" = yes; then
5865 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5867 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5872 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5873 if test "x$LINE" != x
; then
5874 eval "DEFAULT_$LINE"
5879 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5884 eval "$ac_cv_use_calendar"
5885 if test "$no_cache" != 1; then
5886 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5889 if test "$wxUSE_CALCTRL" = yes; then
5890 echo "$ac_t""yes" 1>&6
5892 echo "$ac_t""no" 1>&6
5896 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5897 echo "configure:5898: checking for --enable-caret" >&5
5899 # Check whether --enable-caret or --disable-caret was given.
5900 if test "${enable_caret+set}" = set; then
5901 enableval
="$enable_caret"
5903 if test "$enableval" = yes; then
5904 ac_cv_use_caret
='wxUSE_CARET=yes'
5906 ac_cv_use_caret
='wxUSE_CARET=no'
5911 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5912 if test "x$LINE" != x
; then
5913 eval "DEFAULT_$LINE"
5918 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5923 eval "$ac_cv_use_caret"
5924 if test "$no_cache" != 1; then
5925 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5928 if test "$wxUSE_CARET" = yes; then
5929 echo "$ac_t""yes" 1>&6
5931 echo "$ac_t""no" 1>&6
5935 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5936 echo "configure:5937: checking for --enable-checkbox" >&5
5938 # Check whether --enable-checkbox or --disable-checkbox was given.
5939 if test "${enable_checkbox+set}" = set; then
5940 enableval
="$enable_checkbox"
5942 if test "$enableval" = yes; then
5943 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5945 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5950 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5951 if test "x$LINE" != x
; then
5952 eval "DEFAULT_$LINE"
5957 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5962 eval "$ac_cv_use_checkbox"
5963 if test "$no_cache" != 1; then
5964 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5967 if test "$wxUSE_CHECKBOX" = yes; then
5968 echo "$ac_t""yes" 1>&6
5970 echo "$ac_t""no" 1>&6
5974 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5975 echo "configure:5976: checking for --enable-checklst" >&5
5977 # Check whether --enable-checklst or --disable-checklst was given.
5978 if test "${enable_checklst+set}" = set; then
5979 enableval
="$enable_checklst"
5981 if test "$enableval" = yes; then
5982 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5984 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5989 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5990 if test "x$LINE" != x
; then
5991 eval "DEFAULT_$LINE"
5996 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6001 eval "$ac_cv_use_checklst"
6002 if test "$no_cache" != 1; then
6003 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6006 if test "$wxUSE_CHECKLST" = yes; then
6007 echo "$ac_t""yes" 1>&6
6009 echo "$ac_t""no" 1>&6
6013 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
6014 echo "configure:6015: checking for --enable-choice" >&5
6016 # Check whether --enable-choice or --disable-choice was given.
6017 if test "${enable_choice+set}" = set; then
6018 enableval
="$enable_choice"
6020 if test "$enableval" = yes; then
6021 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6023 ac_cv_use_choice
='wxUSE_CHOICE=no'
6028 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6029 if test "x$LINE" != x
; then
6030 eval "DEFAULT_$LINE"
6035 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6040 eval "$ac_cv_use_choice"
6041 if test "$no_cache" != 1; then
6042 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6045 if test "$wxUSE_CHOICE" = yes; then
6046 echo "$ac_t""yes" 1>&6
6048 echo "$ac_t""no" 1>&6
6052 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6053 echo "configure:6054: checking for --enable-combobox" >&5
6055 # Check whether --enable-combobox or --disable-combobox was given.
6056 if test "${enable_combobox+set}" = set; then
6057 enableval
="$enable_combobox"
6059 if test "$enableval" = yes; then
6060 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6062 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6067 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6068 if test "x$LINE" != x
; then
6069 eval "DEFAULT_$LINE"
6074 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6079 eval "$ac_cv_use_combobox"
6080 if test "$no_cache" != 1; then
6081 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6084 if test "$wxUSE_COMBOBOX" = yes; then
6085 echo "$ac_t""yes" 1>&6
6087 echo "$ac_t""no" 1>&6
6091 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6092 echo "configure:6093: checking for --enable-gauge" >&5
6094 # Check whether --enable-gauge or --disable-gauge was given.
6095 if test "${enable_gauge+set}" = set; then
6096 enableval
="$enable_gauge"
6098 if test "$enableval" = yes; then
6099 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6101 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6106 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6107 if test "x$LINE" != x
; then
6108 eval "DEFAULT_$LINE"
6113 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6118 eval "$ac_cv_use_gauge"
6119 if test "$no_cache" != 1; then
6120 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6123 if test "$wxUSE_GAUGE" = yes; then
6124 echo "$ac_t""yes" 1>&6
6126 echo "$ac_t""no" 1>&6
6130 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6131 echo "configure:6132: checking for --enable-grid" >&5
6133 # Check whether --enable-grid or --disable-grid was given.
6134 if test "${enable_grid+set}" = set; then
6135 enableval
="$enable_grid"
6137 if test "$enableval" = yes; then
6138 ac_cv_use_grid
='wxUSE_GRID=yes'
6140 ac_cv_use_grid
='wxUSE_GRID=no'
6145 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6146 if test "x$LINE" != x
; then
6147 eval "DEFAULT_$LINE"
6152 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6157 eval "$ac_cv_use_grid"
6158 if test "$no_cache" != 1; then
6159 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6162 if test "$wxUSE_GRID" = yes; then
6163 echo "$ac_t""yes" 1>&6
6165 echo "$ac_t""no" 1>&6
6169 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6170 echo "configure:6171: checking for --enable-newgrid" >&5
6172 # Check whether --enable-newgrid or --disable-newgrid was given.
6173 if test "${enable_newgrid+set}" = set; then
6174 enableval
="$enable_newgrid"
6176 if test "$enableval" = yes; then
6177 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6179 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6184 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6185 if test "x$LINE" != x
; then
6186 eval "DEFAULT_$LINE"
6191 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6196 eval "$ac_cv_use_newgrid"
6197 if test "$no_cache" != 1; then
6198 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6201 if test "$wxUSE_NEW_GRID" = yes; then
6202 echo "$ac_t""yes" 1>&6
6204 echo "$ac_t""no" 1>&6
6208 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6209 echo "configure:6210: checking for --enable-imaglist" >&5
6211 # Check whether --enable-imaglist or --disable-imaglist was given.
6212 if test "${enable_imaglist+set}" = set; then
6213 enableval
="$enable_imaglist"
6215 if test "$enableval" = yes; then
6216 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6218 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6223 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6224 if test "x$LINE" != x
; then
6225 eval "DEFAULT_$LINE"
6230 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6235 eval "$ac_cv_use_imaglist"
6236 if test "$no_cache" != 1; then
6237 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6240 if test "$wxUSE_IMAGLIST" = yes; then
6241 echo "$ac_t""yes" 1>&6
6243 echo "$ac_t""no" 1>&6
6247 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6248 echo "configure:6249: checking for --enable-listbox" >&5
6250 # Check whether --enable-listbox or --disable-listbox was given.
6251 if test "${enable_listbox+set}" = set; then
6252 enableval
="$enable_listbox"
6254 if test "$enableval" = yes; then
6255 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6257 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6262 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6263 if test "x$LINE" != x
; then
6264 eval "DEFAULT_$LINE"
6269 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6274 eval "$ac_cv_use_listbox"
6275 if test "$no_cache" != 1; then
6276 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6279 if test "$wxUSE_LISTBOX" = yes; then
6280 echo "$ac_t""yes" 1>&6
6282 echo "$ac_t""no" 1>&6
6286 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6287 echo "configure:6288: checking for --enable-listctrl" >&5
6289 # Check whether --enable-listctrl or --disable-listctrl was given.
6290 if test "${enable_listctrl+set}" = set; then
6291 enableval
="$enable_listctrl"
6293 if test "$enableval" = yes; then
6294 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6296 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6301 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6302 if test "x$LINE" != x
; then
6303 eval "DEFAULT_$LINE"
6308 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6313 eval "$ac_cv_use_listctrl"
6314 if test "$no_cache" != 1; then
6315 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6318 if test "$wxUSE_LISTCTRL" = yes; then
6319 echo "$ac_t""yes" 1>&6
6321 echo "$ac_t""no" 1>&6
6325 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6326 echo "configure:6327: checking for --enable-notebook" >&5
6328 # Check whether --enable-notebook or --disable-notebook was given.
6329 if test "${enable_notebook+set}" = set; then
6330 enableval
="$enable_notebook"
6332 if test "$enableval" = yes; then
6333 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6335 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6340 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6341 if test "x$LINE" != x
; then
6342 eval "DEFAULT_$LINE"
6347 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6352 eval "$ac_cv_use_notebook"
6353 if test "$no_cache" != 1; then
6354 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6357 if test "$wxUSE_NOTEBOOK" = yes; then
6358 echo "$ac_t""yes" 1>&6
6360 echo "$ac_t""no" 1>&6
6364 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6365 echo "configure:6366: checking for --enable-propsheet" >&5
6367 # Check whether --enable-propsheet or --disable-propsheet was given.
6368 if test "${enable_propsheet+set}" = set; then
6369 enableval
="$enable_propsheet"
6371 if test "$enableval" = yes; then
6372 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6374 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6379 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6380 if test "x$LINE" != x
; then
6381 eval "DEFAULT_$LINE"
6386 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6391 eval "$ac_cv_use_propsheet"
6392 if test "$no_cache" != 1; then
6393 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6396 if test "$wxUSE_PROPSHEET" = yes; then
6397 echo "$ac_t""yes" 1>&6
6399 echo "$ac_t""no" 1>&6
6403 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6404 echo "configure:6405: checking for --enable-radiobox" >&5
6406 # Check whether --enable-radiobox or --disable-radiobox was given.
6407 if test "${enable_radiobox+set}" = set; then
6408 enableval
="$enable_radiobox"
6410 if test "$enableval" = yes; then
6411 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6413 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6418 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6419 if test "x$LINE" != x
; then
6420 eval "DEFAULT_$LINE"
6425 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6430 eval "$ac_cv_use_radiobox"
6431 if test "$no_cache" != 1; then
6432 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6435 if test "$wxUSE_RADIOBOX" = yes; then
6436 echo "$ac_t""yes" 1>&6
6438 echo "$ac_t""no" 1>&6
6442 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6443 echo "configure:6444: checking for --enable-radiobtn" >&5
6445 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6446 if test "${enable_radiobtn+set}" = set; then
6447 enableval
="$enable_radiobtn"
6449 if test "$enableval" = yes; then
6450 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6452 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6457 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6458 if test "x$LINE" != x
; then
6459 eval "DEFAULT_$LINE"
6464 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6469 eval "$ac_cv_use_radiobtn"
6470 if test "$no_cache" != 1; then
6471 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6474 if test "$wxUSE_RADIOBTN" = yes; then
6475 echo "$ac_t""yes" 1>&6
6477 echo "$ac_t""no" 1>&6
6481 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6482 echo "configure:6483: checking for --enable-sash" >&5
6484 # Check whether --enable-sash or --disable-sash was given.
6485 if test "${enable_sash+set}" = set; then
6486 enableval
="$enable_sash"
6488 if test "$enableval" = yes; then
6489 ac_cv_use_sash
='wxUSE_SASH=yes'
6491 ac_cv_use_sash
='wxUSE_SASH=no'
6496 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6497 if test "x$LINE" != x
; then
6498 eval "DEFAULT_$LINE"
6503 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6508 eval "$ac_cv_use_sash"
6509 if test "$no_cache" != 1; then
6510 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6513 if test "$wxUSE_SASH" = yes; then
6514 echo "$ac_t""yes" 1>&6
6516 echo "$ac_t""no" 1>&6
6520 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6521 echo "configure:6522: checking for --enable-scrollbar" >&5
6523 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6524 if test "${enable_scrollbar+set}" = set; then
6525 enableval
="$enable_scrollbar"
6527 if test "$enableval" = yes; then
6528 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6530 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6535 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6536 if test "x$LINE" != x
; then
6537 eval "DEFAULT_$LINE"
6542 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6547 eval "$ac_cv_use_scrollbar"
6548 if test "$no_cache" != 1; then
6549 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6552 if test "$wxUSE_SCROLLBAR" = yes; then
6553 echo "$ac_t""yes" 1>&6
6555 echo "$ac_t""no" 1>&6
6559 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6560 echo "configure:6561: checking for --enable-slider" >&5
6562 # Check whether --enable-slider or --disable-slider was given.
6563 if test "${enable_slider+set}" = set; then
6564 enableval
="$enable_slider"
6566 if test "$enableval" = yes; then
6567 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6569 ac_cv_use_slider
='wxUSE_SLIDER=no'
6574 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6575 if test "x$LINE" != x
; then
6576 eval "DEFAULT_$LINE"
6581 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6586 eval "$ac_cv_use_slider"
6587 if test "$no_cache" != 1; then
6588 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6591 if test "$wxUSE_SLIDER" = yes; then
6592 echo "$ac_t""yes" 1>&6
6594 echo "$ac_t""no" 1>&6
6598 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6599 echo "configure:6600: checking for --enable-spinbtn" >&5
6601 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6602 if test "${enable_spinbtn+set}" = set; then
6603 enableval
="$enable_spinbtn"
6605 if test "$enableval" = yes; then
6606 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6608 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6613 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6614 if test "x$LINE" != x
; then
6615 eval "DEFAULT_$LINE"
6620 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6625 eval "$ac_cv_use_spinbtn"
6626 if test "$no_cache" != 1; then
6627 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6630 if test "$wxUSE_SPINBTN" = yes; then
6631 echo "$ac_t""yes" 1>&6
6633 echo "$ac_t""no" 1>&6
6637 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6638 echo "configure:6639: checking for --enable-spinctrl" >&5
6640 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6641 if test "${enable_spinctrl+set}" = set; then
6642 enableval
="$enable_spinctrl"
6644 if test "$enableval" = yes; then
6645 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6647 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6652 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6653 if test "x$LINE" != x
; then
6654 eval "DEFAULT_$LINE"
6659 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6664 eval "$ac_cv_use_spinctrl"
6665 if test "$no_cache" != 1; then
6666 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6669 if test "$wxUSE_SPINCTRL" = yes; then
6670 echo "$ac_t""yes" 1>&6
6672 echo "$ac_t""no" 1>&6
6676 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6677 echo "configure:6678: checking for --enable-splitter" >&5
6679 # Check whether --enable-splitter or --disable-splitter was given.
6680 if test "${enable_splitter+set}" = set; then
6681 enableval
="$enable_splitter"
6683 if test "$enableval" = yes; then
6684 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6686 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6691 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6692 if test "x$LINE" != x
; then
6693 eval "DEFAULT_$LINE"
6698 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6703 eval "$ac_cv_use_splitter"
6704 if test "$no_cache" != 1; then
6705 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6708 if test "$wxUSE_SPLITTER" = yes; then
6709 echo "$ac_t""yes" 1>&6
6711 echo "$ac_t""no" 1>&6
6715 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6716 echo "configure:6717: checking for --enable-statbmp" >&5
6718 # Check whether --enable-statbmp or --disable-statbmp was given.
6719 if test "${enable_statbmp+set}" = set; then
6720 enableval
="$enable_statbmp"
6722 if test "$enableval" = yes; then
6723 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6725 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6730 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6731 if test "x$LINE" != x
; then
6732 eval "DEFAULT_$LINE"
6737 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6742 eval "$ac_cv_use_statbmp"
6743 if test "$no_cache" != 1; then
6744 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6747 if test "$wxUSE_STATBMP" = yes; then
6748 echo "$ac_t""yes" 1>&6
6750 echo "$ac_t""no" 1>&6
6754 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6755 echo "configure:6756: checking for --enable-statbox" >&5
6757 # Check whether --enable-statbox or --disable-statbox was given.
6758 if test "${enable_statbox+set}" = set; then
6759 enableval
="$enable_statbox"
6761 if test "$enableval" = yes; then
6762 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6764 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6769 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6770 if test "x$LINE" != x
; then
6771 eval "DEFAULT_$LINE"
6776 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6781 eval "$ac_cv_use_statbox"
6782 if test "$no_cache" != 1; then
6783 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6786 if test "$wxUSE_STATBOX" = yes; then
6787 echo "$ac_t""yes" 1>&6
6789 echo "$ac_t""no" 1>&6
6793 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6794 echo "configure:6795: checking for --enable-statline" >&5
6796 # Check whether --enable-statline or --disable-statline was given.
6797 if test "${enable_statline+set}" = set; then
6798 enableval
="$enable_statline"
6800 if test "$enableval" = yes; then
6801 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6803 ac_cv_use_statline
='wxUSE_STATLINE=no'
6808 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6809 if test "x$LINE" != x
; then
6810 eval "DEFAULT_$LINE"
6815 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6820 eval "$ac_cv_use_statline"
6821 if test "$no_cache" != 1; then
6822 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6825 if test "$wxUSE_STATLINE" = yes; then
6826 echo "$ac_t""yes" 1>&6
6828 echo "$ac_t""no" 1>&6
6832 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6833 echo "configure:6834: checking for --enable-stattext" >&5
6835 # Check whether --enable-stattext or --disable-stattext was given.
6836 if test "${enable_stattext+set}" = set; then
6837 enableval
="$enable_stattext"
6839 if test "$enableval" = yes; then
6840 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6842 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6847 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6848 if test "x$LINE" != x
; then
6849 eval "DEFAULT_$LINE"
6854 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6859 eval "$ac_cv_use_stattext"
6860 if test "$no_cache" != 1; then
6861 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6864 if test "$wxUSE_STATTEXT" = yes; then
6865 echo "$ac_t""yes" 1>&6
6867 echo "$ac_t""no" 1>&6
6871 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6872 echo "configure:6873: checking for --enable-statusbar" >&5
6874 # Check whether --enable-statusbar or --disable-statusbar was given.
6875 if test "${enable_statusbar+set}" = set; then
6876 enableval
="$enable_statusbar"
6878 if test "$enableval" = yes; then
6879 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6881 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6886 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6887 if test "x$LINE" != x
; then
6888 eval "DEFAULT_$LINE"
6893 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6898 eval "$ac_cv_use_statusbar"
6899 if test "$no_cache" != 1; then
6900 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6903 if test "$wxUSE_STATUSBAR" = yes; then
6904 echo "$ac_t""yes" 1>&6
6906 echo "$ac_t""no" 1>&6
6910 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6911 echo "configure:6912: checking for --enable-tabdialog" >&5
6913 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6914 if test "${enable_tabdialog+set}" = set; then
6915 enableval
="$enable_tabdialog"
6917 if test "$enableval" = yes; then
6918 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6920 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6925 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6926 if test "x$LINE" != x
; then
6927 eval "DEFAULT_$LINE"
6932 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6937 eval "$ac_cv_use_tabdialog"
6938 if test "$no_cache" != 1; then
6939 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6942 if test "$wxUSE_TABDIALOG" = yes; then
6943 echo "$ac_t""yes" 1>&6
6945 echo "$ac_t""no" 1>&6
6949 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6950 echo "configure:6951: checking for --enable-textctrl" >&5
6952 # Check whether --enable-textctrl or --disable-textctrl was given.
6953 if test "${enable_textctrl+set}" = set; then
6954 enableval
="$enable_textctrl"
6956 if test "$enableval" = yes; then
6957 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6959 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6964 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6965 if test "x$LINE" != x
; then
6966 eval "DEFAULT_$LINE"
6971 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6976 eval "$ac_cv_use_textctrl"
6977 if test "$no_cache" != 1; then
6978 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6981 if test "$wxUSE_TEXTCTRL" = yes; then
6982 echo "$ac_t""yes" 1>&6
6984 echo "$ac_t""no" 1>&6
6988 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6989 echo "configure:6990: checking for --enable-togglebtn" >&5
6991 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6992 if test "${enable_togglebtn+set}" = set; then
6993 enableval
="$enable_togglebtn"
6995 if test "$enableval" = yes; then
6996 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6998 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7003 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7004 if test "x$LINE" != x
; then
7005 eval "DEFAULT_$LINE"
7010 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7015 eval "$ac_cv_use_togglebtn"
7016 if test "$no_cache" != 1; then
7017 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7020 if test "$wxUSE_TOGGLEBTN" = yes; then
7021 echo "$ac_t""yes" 1>&6
7023 echo "$ac_t""no" 1>&6
7027 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
7028 echo "configure:7029: checking for --enable-toolbar" >&5
7030 # Check whether --enable-toolbar or --disable-toolbar was given.
7031 if test "${enable_toolbar+set}" = set; then
7032 enableval
="$enable_toolbar"
7034 if test "$enableval" = yes; then
7035 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7037 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7042 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7043 if test "x$LINE" != x
; then
7044 eval "DEFAULT_$LINE"
7049 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7054 eval "$ac_cv_use_toolbar"
7055 if test "$no_cache" != 1; then
7056 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7059 if test "$wxUSE_TOOLBAR" = yes; then
7060 echo "$ac_t""yes" 1>&6
7062 echo "$ac_t""no" 1>&6
7066 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7067 echo "configure:7068: checking for --enable-tbarnative" >&5
7069 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7070 if test "${enable_tbarnative+set}" = set; then
7071 enableval
="$enable_tbarnative"
7073 if test "$enableval" = yes; then
7074 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7076 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7081 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7082 if test "x$LINE" != x
; then
7083 eval "DEFAULT_$LINE"
7088 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7093 eval "$ac_cv_use_tbarnative"
7094 if test "$no_cache" != 1; then
7095 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7098 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7099 echo "$ac_t""yes" 1>&6
7101 echo "$ac_t""no" 1>&6
7105 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7106 echo "configure:7107: checking for --enable-tbarsmpl" >&5
7108 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7109 if test "${enable_tbarsmpl+set}" = set; then
7110 enableval
="$enable_tbarsmpl"
7112 if test "$enableval" = yes; then
7113 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7115 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7120 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7121 if test "x$LINE" != x
; then
7122 eval "DEFAULT_$LINE"
7127 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7132 eval "$ac_cv_use_tbarsmpl"
7133 if test "$no_cache" != 1; then
7134 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7137 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7138 echo "$ac_t""yes" 1>&6
7140 echo "$ac_t""no" 1>&6
7144 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7145 echo "configure:7146: checking for --enable-treectrl" >&5
7147 # Check whether --enable-treectrl or --disable-treectrl was given.
7148 if test "${enable_treectrl+set}" = set; then
7149 enableval
="$enable_treectrl"
7151 if test "$enableval" = yes; then
7152 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7154 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7159 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7160 if test "x$LINE" != x
; then
7161 eval "DEFAULT_$LINE"
7166 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7171 eval "$ac_cv_use_treectrl"
7172 if test "$no_cache" != 1; then
7173 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7176 if test "$wxUSE_TREECTRL" = yes; then
7177 echo "$ac_t""yes" 1>&6
7179 echo "$ac_t""no" 1>&6
7183 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7184 echo "configure:7185: checking for --enable-tipwindow" >&5
7186 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7187 if test "${enable_tipwindow+set}" = set; then
7188 enableval
="$enable_tipwindow"
7190 if test "$enableval" = yes; then
7191 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7193 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7198 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7199 if test "x$LINE" != x
; then
7200 eval "DEFAULT_$LINE"
7205 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7210 eval "$ac_cv_use_tipwindow"
7211 if test "$no_cache" != 1; then
7212 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7215 if test "$wxUSE_TIPWINDOW" = yes; then
7216 echo "$ac_t""yes" 1>&6
7218 echo "$ac_t""no" 1>&6
7222 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7223 echo "configure:7224: checking for --enable-popupwin" >&5
7225 # Check whether --enable-popupwin or --disable-popupwin was given.
7226 if test "${enable_popupwin+set}" = set; then
7227 enableval
="$enable_popupwin"
7229 if test "$enableval" = yes; then
7230 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7232 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7237 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7238 if test "x$LINE" != x
; then
7239 eval "DEFAULT_$LINE"
7244 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7249 eval "$ac_cv_use_popupwin"
7250 if test "$no_cache" != 1; then
7251 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7254 if test "$wxUSE_POPUPWIN" = yes; then
7255 echo "$ac_t""yes" 1>&6
7257 echo "$ac_t""no" 1>&6
7263 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7264 echo "configure:7265: checking for --enable-commondlg" >&5
7266 # Check whether --enable-commondlg or --disable-commondlg was given.
7267 if test "${enable_commondlg+set}" = set; then
7268 enableval
="$enable_commondlg"
7270 if test "$enableval" = yes; then
7271 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7273 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7278 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7279 if test "x$LINE" != x
; then
7280 eval "DEFAULT_$LINE"
7285 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7290 eval "$ac_cv_use_commondlg"
7291 if test "$no_cache" != 1; then
7292 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7295 if test "$wxUSE_COMMONDLGS" = yes; then
7296 echo "$ac_t""yes" 1>&6
7298 echo "$ac_t""no" 1>&6
7302 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7303 echo "configure:7304: checking for --enable-choicedlg" >&5
7305 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7306 if test "${enable_choicedlg+set}" = set; then
7307 enableval
="$enable_choicedlg"
7309 if test "$enableval" = yes; then
7310 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7312 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7317 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7318 if test "x$LINE" != x
; then
7319 eval "DEFAULT_$LINE"
7324 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7329 eval "$ac_cv_use_choicedlg"
7330 if test "$no_cache" != 1; then
7331 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7334 if test "$wxUSE_CHOICEDLG" = yes; then
7335 echo "$ac_t""yes" 1>&6
7337 echo "$ac_t""no" 1>&6
7341 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7342 echo "configure:7343: checking for --enable-coldlg" >&5
7344 # Check whether --enable-coldlg or --disable-coldlg was given.
7345 if test "${enable_coldlg+set}" = set; then
7346 enableval
="$enable_coldlg"
7348 if test "$enableval" = yes; then
7349 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7351 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7356 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7357 if test "x$LINE" != x
; then
7358 eval "DEFAULT_$LINE"
7363 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7368 eval "$ac_cv_use_coldlg"
7369 if test "$no_cache" != 1; then
7370 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7373 if test "$wxUSE_COLOURDLG" = yes; then
7374 echo "$ac_t""yes" 1>&6
7376 echo "$ac_t""no" 1>&6
7380 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7381 echo "configure:7382: checking for --enable-filedlg" >&5
7383 # Check whether --enable-filedlg or --disable-filedlg was given.
7384 if test "${enable_filedlg+set}" = set; then
7385 enableval
="$enable_filedlg"
7387 if test "$enableval" = yes; then
7388 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7390 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7395 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7396 if test "x$LINE" != x
; then
7397 eval "DEFAULT_$LINE"
7402 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7407 eval "$ac_cv_use_filedlg"
7408 if test "$no_cache" != 1; then
7409 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7412 if test "$wxUSE_FILEDLG" = yes; then
7413 echo "$ac_t""yes" 1>&6
7415 echo "$ac_t""no" 1>&6
7419 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7420 echo "configure:7421: checking for --enable-finddlg" >&5
7422 # Check whether --enable-finddlg or --disable-finddlg was given.
7423 if test "${enable_finddlg+set}" = set; then
7424 enableval
="$enable_finddlg"
7426 if test "$enableval" = yes; then
7427 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7429 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7434 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7435 if test "x$LINE" != x
; then
7436 eval "DEFAULT_$LINE"
7441 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7446 eval "$ac_cv_use_finddlg"
7447 if test "$no_cache" != 1; then
7448 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7451 if test "$wxUSE_FINDREPLDLG" = yes; then
7452 echo "$ac_t""yes" 1>&6
7454 echo "$ac_t""no" 1>&6
7458 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7459 echo "configure:7460: checking for --enable-fontdlg" >&5
7461 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7462 if test "${enable_fontdlg+set}" = set; then
7463 enableval
="$enable_fontdlg"
7465 if test "$enableval" = yes; then
7466 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7468 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7473 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7474 if test "x$LINE" != x
; then
7475 eval "DEFAULT_$LINE"
7480 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7485 eval "$ac_cv_use_fontdlg"
7486 if test "$no_cache" != 1; then
7487 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7490 if test "$wxUSE_FONTDLG" = yes; then
7491 echo "$ac_t""yes" 1>&6
7493 echo "$ac_t""no" 1>&6
7497 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7498 echo "configure:7499: checking for --enable-dirdlg" >&5
7500 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7501 if test "${enable_dirdlg+set}" = set; then
7502 enableval
="$enable_dirdlg"
7504 if test "$enableval" = yes; then
7505 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7507 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7512 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7513 if test "x$LINE" != x
; then
7514 eval "DEFAULT_$LINE"
7519 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7524 eval "$ac_cv_use_dirdlg"
7525 if test "$no_cache" != 1; then
7526 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7529 if test "$wxUSE_DIRDLG" = yes; then
7530 echo "$ac_t""yes" 1>&6
7532 echo "$ac_t""no" 1>&6
7536 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7537 echo "configure:7538: checking for --enable-msgdlg" >&5
7539 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7540 if test "${enable_msgdlg+set}" = set; then
7541 enableval
="$enable_msgdlg"
7543 if test "$enableval" = yes; then
7544 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7546 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7551 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7552 if test "x$LINE" != x
; then
7553 eval "DEFAULT_$LINE"
7558 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7563 eval "$ac_cv_use_msgdlg"
7564 if test "$no_cache" != 1; then
7565 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7568 if test "$wxUSE_MSGDLG" = yes; then
7569 echo "$ac_t""yes" 1>&6
7571 echo "$ac_t""no" 1>&6
7575 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7576 echo "configure:7577: checking for --enable-numberdlg" >&5
7578 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7579 if test "${enable_numberdlg+set}" = set; then
7580 enableval
="$enable_numberdlg"
7582 if test "$enableval" = yes; then
7583 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7585 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7590 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7591 if test "x$LINE" != x
; then
7592 eval "DEFAULT_$LINE"
7597 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7602 eval "$ac_cv_use_numberdlg"
7603 if test "$no_cache" != 1; then
7604 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7607 if test "$wxUSE_NUMBERDLG" = yes; then
7608 echo "$ac_t""yes" 1>&6
7610 echo "$ac_t""no" 1>&6
7614 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7615 echo "configure:7616: checking for --enable-splash" >&5
7617 # Check whether --enable-splash or --disable-splash was given.
7618 if test "${enable_splash+set}" = set; then
7619 enableval
="$enable_splash"
7621 if test "$enableval" = yes; then
7622 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7624 ac_cv_use_splash
='wxUSE_SPLASH=no'
7629 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7630 if test "x$LINE" != x
; then
7631 eval "DEFAULT_$LINE"
7636 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7641 eval "$ac_cv_use_splash"
7642 if test "$no_cache" != 1; then
7643 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7646 if test "$wxUSE_SPLASH" = yes; then
7647 echo "$ac_t""yes" 1>&6
7649 echo "$ac_t""no" 1>&6
7653 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7654 echo "configure:7655: checking for --enable-textdlg" >&5
7656 # Check whether --enable-textdlg or --disable-textdlg was given.
7657 if test "${enable_textdlg+set}" = set; then
7658 enableval
="$enable_textdlg"
7660 if test "$enableval" = yes; then
7661 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7663 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7668 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7669 if test "x$LINE" != x
; then
7670 eval "DEFAULT_$LINE"
7675 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7680 eval "$ac_cv_use_textdlg"
7681 if test "$no_cache" != 1; then
7682 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7685 if test "$wxUSE_TEXTDLG" = yes; then
7686 echo "$ac_t""yes" 1>&6
7688 echo "$ac_t""no" 1>&6
7692 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7693 echo "configure:7694: checking for --enable-tipdlg" >&5
7695 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7696 if test "${enable_tipdlg+set}" = set; then
7697 enableval
="$enable_tipdlg"
7699 if test "$enableval" = yes; then
7700 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7702 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7707 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7708 if test "x$LINE" != x
; then
7709 eval "DEFAULT_$LINE"
7714 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7719 eval "$ac_cv_use_tipdlg"
7720 if test "$no_cache" != 1; then
7721 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7724 if test "$wxUSE_STARTUP_TIPS" = yes; then
7725 echo "$ac_t""yes" 1>&6
7727 echo "$ac_t""no" 1>&6
7731 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7732 echo "configure:7733: checking for --enable-progressdlg" >&5
7734 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7735 if test "${enable_progressdlg+set}" = set; then
7736 enableval
="$enable_progressdlg"
7738 if test "$enableval" = yes; then
7739 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7741 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7746 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7747 if test "x$LINE" != x
; then
7748 eval "DEFAULT_$LINE"
7753 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7758 eval "$ac_cv_use_progressdlg"
7759 if test "$no_cache" != 1; then
7760 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7763 if test "$wxUSE_PROGRESSDLG" = yes; then
7764 echo "$ac_t""yes" 1>&6
7766 echo "$ac_t""no" 1>&6
7770 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7771 echo "configure:7772: checking for --enable-wizarddlg" >&5
7773 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7774 if test "${enable_wizarddlg+set}" = set; then
7775 enableval
="$enable_wizarddlg"
7777 if test "$enableval" = yes; then
7778 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7780 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7785 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7786 if test "x$LINE" != x
; then
7787 eval "DEFAULT_$LINE"
7792 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7797 eval "$ac_cv_use_wizarddlg"
7798 if test "$no_cache" != 1; then
7799 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7802 if test "$wxUSE_WIZARDDLG" = yes; then
7803 echo "$ac_t""yes" 1>&6
7805 echo "$ac_t""no" 1>&6
7811 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7812 echo "configure:7813: checking for --enable-menus" >&5
7814 # Check whether --enable-menus or --disable-menus was given.
7815 if test "${enable_menus+set}" = set; then
7816 enableval
="$enable_menus"
7818 if test "$enableval" = yes; then
7819 ac_cv_use_menus
='wxUSE_MENUS=yes'
7821 ac_cv_use_menus
='wxUSE_MENUS=no'
7826 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7827 if test "x$LINE" != x
; then
7828 eval "DEFAULT_$LINE"
7833 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7838 eval "$ac_cv_use_menus"
7839 if test "$no_cache" != 1; then
7840 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7843 if test "$wxUSE_MENUS" = yes; then
7844 echo "$ac_t""yes" 1>&6
7846 echo "$ac_t""no" 1>&6
7850 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7851 echo "configure:7852: checking for --enable-miniframe" >&5
7853 # Check whether --enable-miniframe or --disable-miniframe was given.
7854 if test "${enable_miniframe+set}" = set; then
7855 enableval
="$enable_miniframe"
7857 if test "$enableval" = yes; then
7858 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7860 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7865 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7866 if test "x$LINE" != x
; then
7867 eval "DEFAULT_$LINE"
7872 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7877 eval "$ac_cv_use_miniframe"
7878 if test "$no_cache" != 1; then
7879 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7882 if test "$wxUSE_MINIFRAME" = yes; then
7883 echo "$ac_t""yes" 1>&6
7885 echo "$ac_t""no" 1>&6
7889 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7890 echo "configure:7891: checking for --enable-tooltips" >&5
7892 # Check whether --enable-tooltips or --disable-tooltips was given.
7893 if test "${enable_tooltips+set}" = set; then
7894 enableval
="$enable_tooltips"
7896 if test "$enableval" = yes; then
7897 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7899 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7904 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7905 if test "x$LINE" != x
; then
7906 eval "DEFAULT_$LINE"
7911 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7916 eval "$ac_cv_use_tooltips"
7917 if test "$no_cache" != 1; then
7918 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7921 if test "$wxUSE_TOOLTIPS" = yes; then
7922 echo "$ac_t""yes" 1>&6
7924 echo "$ac_t""no" 1>&6
7928 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7929 echo "configure:7930: checking for --enable-splines" >&5
7931 # Check whether --enable-splines or --disable-splines was given.
7932 if test "${enable_splines+set}" = set; then
7933 enableval
="$enable_splines"
7935 if test "$enableval" = yes; then
7936 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7938 ac_cv_use_splines
='wxUSE_SPLINES=no'
7943 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7944 if test "x$LINE" != x
; then
7945 eval "DEFAULT_$LINE"
7950 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7955 eval "$ac_cv_use_splines"
7956 if test "$no_cache" != 1; then
7957 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7960 if test "$wxUSE_SPLINES" = yes; then
7961 echo "$ac_t""yes" 1>&6
7963 echo "$ac_t""no" 1>&6
7967 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7968 echo "configure:7969: checking for --enable-validators" >&5
7970 # Check whether --enable-validators or --disable-validators was given.
7971 if test "${enable_validators+set}" = set; then
7972 enableval
="$enable_validators"
7974 if test "$enableval" = yes; then
7975 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7977 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7982 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7983 if test "x$LINE" != x
; then
7984 eval "DEFAULT_$LINE"
7989 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7994 eval "$ac_cv_use_validators"
7995 if test "$no_cache" != 1; then
7996 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7999 if test "$wxUSE_VALIDATORS" = yes; then
8000 echo "$ac_t""yes" 1>&6
8002 echo "$ac_t""no" 1>&6
8006 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
8007 echo "configure:8008: checking for --enable-busyinfo" >&5
8009 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8010 if test "${enable_busyinfo+set}" = set; then
8011 enableval
="$enable_busyinfo"
8013 if test "$enableval" = yes; then
8014 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8016 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8021 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8022 if test "x$LINE" != x
; then
8023 eval "DEFAULT_$LINE"
8028 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8033 eval "$ac_cv_use_busyinfo"
8034 if test "$no_cache" != 1; then
8035 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8038 if test "$wxUSE_BUSYINFO" = yes; then
8039 echo "$ac_t""yes" 1>&6
8041 echo "$ac_t""no" 1>&6
8045 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
8046 echo "configure:8047: checking for --enable-joystick" >&5
8048 # Check whether --enable-joystick or --disable-joystick was given.
8049 if test "${enable_joystick+set}" = set; then
8050 enableval
="$enable_joystick"
8052 if test "$enableval" = yes; then
8053 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8055 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8060 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8061 if test "x$LINE" != x
; then
8062 eval "DEFAULT_$LINE"
8067 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8072 eval "$ac_cv_use_joystick"
8073 if test "$no_cache" != 1; then
8074 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8077 if test "$wxUSE_JOYSTICK" = yes; then
8078 echo "$ac_t""yes" 1>&6
8080 echo "$ac_t""no" 1>&6
8084 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8085 echo "configure:8086: checking for --enable-metafile" >&5
8087 # Check whether --enable-metafile or --disable-metafile was given.
8088 if test "${enable_metafile+set}" = set; then
8089 enableval
="$enable_metafile"
8091 if test "$enableval" = yes; then
8092 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8094 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8099 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8100 if test "x$LINE" != x
; then
8101 eval "DEFAULT_$LINE"
8106 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8111 eval "$ac_cv_use_metafile"
8112 if test "$no_cache" != 1; then
8113 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8116 if test "$wxUSE_METAFILE" = yes; then
8117 echo "$ac_t""yes" 1>&6
8119 echo "$ac_t""no" 1>&6
8123 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8124 echo "configure:8125: checking for --enable-dragimage" >&5
8126 # Check whether --enable-dragimage or --disable-dragimage was given.
8127 if test "${enable_dragimage+set}" = set; then
8128 enableval
="$enable_dragimage"
8130 if test "$enableval" = yes; then
8131 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8133 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8138 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8139 if test "x$LINE" != x
; then
8140 eval "DEFAULT_$LINE"
8145 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8150 eval "$ac_cv_use_dragimage"
8151 if test "$no_cache" != 1; then
8152 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8155 if test "$wxUSE_DRAGIMAGE" = yes; then
8156 echo "$ac_t""yes" 1>&6
8158 echo "$ac_t""no" 1>&6
8164 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8165 echo "configure:8166: checking for --enable-palette" >&5
8167 # Check whether --enable-palette or --disable-palette was given.
8168 if test "${enable_palette+set}" = set; then
8169 enableval
="$enable_palette"
8171 if test "$enableval" = yes; then
8172 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8174 ac_cv_use_palette
='wxUSE_PALETTE=no'
8179 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8180 if test "x$LINE" != x
; then
8181 eval "DEFAULT_$LINE"
8186 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8191 eval "$ac_cv_use_palette"
8192 if test "$no_cache" != 1; then
8193 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8196 if test "$wxUSE_PALETTE" = yes; then
8197 echo "$ac_t""yes" 1>&6
8199 echo "$ac_t""no" 1>&6
8203 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8204 echo "configure:8205: checking for --enable-image" >&5
8206 # Check whether --enable-image or --disable-image was given.
8207 if test "${enable_image+set}" = set; then
8208 enableval
="$enable_image"
8210 if test "$enableval" = yes; then
8211 ac_cv_use_image
='wxUSE_IMAGE=yes'
8213 ac_cv_use_image
='wxUSE_IMAGE=no'
8218 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8219 if test "x$LINE" != x
; then
8220 eval "DEFAULT_$LINE"
8225 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8230 eval "$ac_cv_use_image"
8231 if test "$no_cache" != 1; then
8232 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8235 if test "$wxUSE_IMAGE" = yes; then
8236 echo "$ac_t""yes" 1>&6
8238 echo "$ac_t""no" 1>&6
8242 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8243 echo "configure:8244: checking for --enable-gif" >&5
8245 # Check whether --enable-gif or --disable-gif was given.
8246 if test "${enable_gif+set}" = set; then
8247 enableval
="$enable_gif"
8249 if test "$enableval" = yes; then
8250 ac_cv_use_gif
='wxUSE_GIF=yes'
8252 ac_cv_use_gif
='wxUSE_GIF=no'
8257 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8258 if test "x$LINE" != x
; then
8259 eval "DEFAULT_$LINE"
8264 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8269 eval "$ac_cv_use_gif"
8270 if test "$no_cache" != 1; then
8271 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8274 if test "$wxUSE_GIF" = yes; then
8275 echo "$ac_t""yes" 1>&6
8277 echo "$ac_t""no" 1>&6
8281 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8282 echo "configure:8283: checking for --enable-pcx" >&5
8284 # Check whether --enable-pcx or --disable-pcx was given.
8285 if test "${enable_pcx+set}" = set; then
8286 enableval
="$enable_pcx"
8288 if test "$enableval" = yes; then
8289 ac_cv_use_pcx
='wxUSE_PCX=yes'
8291 ac_cv_use_pcx
='wxUSE_PCX=no'
8296 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8297 if test "x$LINE" != x
; then
8298 eval "DEFAULT_$LINE"
8303 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8308 eval "$ac_cv_use_pcx"
8309 if test "$no_cache" != 1; then
8310 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8313 if test "$wxUSE_PCX" = yes; then
8314 echo "$ac_t""yes" 1>&6
8316 echo "$ac_t""no" 1>&6
8320 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8321 echo "configure:8322: checking for --enable-iff" >&5
8323 # Check whether --enable-iff or --disable-iff was given.
8324 if test "${enable_iff+set}" = set; then
8325 enableval
="$enable_iff"
8327 if test "$enableval" = yes; then
8328 ac_cv_use_iff
='wxUSE_IFF=yes'
8330 ac_cv_use_iff
='wxUSE_IFF=no'
8335 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8336 if test "x$LINE" != x
; then
8337 eval "DEFAULT_$LINE"
8342 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8347 eval "$ac_cv_use_iff"
8348 if test "$no_cache" != 1; then
8349 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8352 if test "$wxUSE_IFF" = yes; then
8353 echo "$ac_t""yes" 1>&6
8355 echo "$ac_t""no" 1>&6
8359 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8360 echo "configure:8361: checking for --enable-pnm" >&5
8362 # Check whether --enable-pnm or --disable-pnm was given.
8363 if test "${enable_pnm+set}" = set; then
8364 enableval
="$enable_pnm"
8366 if test "$enableval" = yes; then
8367 ac_cv_use_pnm
='wxUSE_PNM=yes'
8369 ac_cv_use_pnm
='wxUSE_PNM=no'
8374 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8375 if test "x$LINE" != x
; then
8376 eval "DEFAULT_$LINE"
8381 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8386 eval "$ac_cv_use_pnm"
8387 if test "$no_cache" != 1; then
8388 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8391 if test "$wxUSE_PNM" = yes; then
8392 echo "$ac_t""yes" 1>&6
8394 echo "$ac_t""no" 1>&6
8398 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8399 echo "configure:8400: checking for --enable-xpm" >&5
8401 # Check whether --enable-xpm or --disable-xpm was given.
8402 if test "${enable_xpm+set}" = set; then
8403 enableval
="$enable_xpm"
8405 if test "$enableval" = yes; then
8406 ac_cv_use_xpm
='wxUSE_XPM=yes'
8408 ac_cv_use_xpm
='wxUSE_XPM=no'
8413 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8414 if test "x$LINE" != x
; then
8415 eval "DEFAULT_$LINE"
8420 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8425 eval "$ac_cv_use_xpm"
8426 if test "$no_cache" != 1; then
8427 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8430 if test "$wxUSE_XPM" = yes; then
8431 echo "$ac_t""yes" 1>&6
8433 echo "$ac_t""no" 1>&6
8437 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8438 echo "configure:8439: checking for --enable-ico_cur" >&5
8440 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8441 if test "${enable_ico_cur+set}" = set; then
8442 enableval
="$enable_ico_cur"
8444 if test "$enableval" = yes; then
8445 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8447 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8452 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8453 if test "x$LINE" != x
; then
8454 eval "DEFAULT_$LINE"
8459 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8464 eval "$ac_cv_use_ico_cur"
8465 if test "$no_cache" != 1; then
8466 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8469 if test "$wxUSE_ICO_CUR" = yes; then
8470 echo "$ac_t""yes" 1>&6
8472 echo "$ac_t""no" 1>&6
8479 *-pc-os2_emx | *-pc-os2-emx )
8490 echo "saving argument cache $wx_arg_cache_file"
8491 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8495 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8496 echo "configure:8497: checking for toolkit" >&5
8498 if test "$wxUSE_GUI" = "yes"; then
8500 if test "$USE_BEOS" = 1; then
8501 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8504 if test "$TOOLKIT_GIVEN" = 1; then
8505 for toolkit
in `echo $ALL_TOOLKITS`; do
8507 eval "value=\$${var}"
8508 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8511 for toolkit
in `echo $ALL_TOOLKITS`; do
8512 if test "$has_toolkit_in_cache" != 1; then
8513 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8515 var
=DEFAULT_wxUSE_
$toolkit
8517 eval "wxUSE_$toolkit=\$${var}"
8521 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8522 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8525 *-pc-os2_emx | *-pc-os2-emx )
8526 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8529 case "$NUM_TOOLKITS" in
8533 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8536 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8539 for toolkit
in `echo $ALL_TOOLKITS`; do
8541 eval "value=\$${var}"
8542 if test "x$value" != x
; then
8543 cache_var
=CACHE_
$toolkit
8544 eval "cache=\$${cache_var}"
8545 if test "$cache" = 1; then
8546 echo "$var=$value" >> ${wx_arg_cache_file}
8548 if test "$value" = 1; then
8549 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8550 echo "$ac_t""$toolkit_echo" 1>&6
8555 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8559 cat > confcache
<<\EOF
8560 # This file is a shell script that caches the results of configure
8561 # tests run on this system so they can be shared between configure
8562 # scripts and configure runs. It is not useful on other systems.
8563 # If it contains results you don't want to keep, you may remove or edit it.
8565 # By default, configure uses ./config.cache as the cache file,
8566 # creating it if it does not exist already. You can give configure
8567 # the --cache-file=FILE option to use a different cache file; that is
8568 # what configure does when it calls configure scripts in
8569 # subdirectories, so they share the cache.
8570 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8571 # config.status only pays attention to the cache file if you give it the
8572 # --recheck option to rerun configure.
8575 # The following way of writing the cache mishandles newlines in values,
8576 # but we know of no workaround that is simple, portable, and efficient.
8577 # So, don't put newlines in cache variables' values.
8578 # Ultrix sh set writes to stderr and can't be redirected directly,
8579 # and sets the high bit in the cache file unless we assign to the vars.
8581 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8583 # `set' does not quote correctly, so add quotes (double-quote substitution
8584 # turns \\\\ into \\, and sed turns \\ into \).
8586 -e "s/'/'\\\\''/g" \
8587 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8590 # `set' quotes correctly as required by POSIX, so do not add quotes.
8591 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8594 if cmp -s $cache_file confcache
; then
8597 if test -w $cache_file; then
8598 echo "updating cache $cache_file"
8599 cat confcache
> $cache_file
8601 echo "not updating unwritable cache $cache_file"
8607 if test "$build" != "$host" ; then
8608 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 ; then
8612 RANLIB
=$host_alias-ranlib
8613 DLLTOOL
=$host_alias-dlltool
8614 RESCOMP
=$host_alias-windres
8617 STRIP
=$host_alias-strip
8619 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8623 # Extract the first word of "gcc", so it can be a program name with args.
8624 set dummy gcc
; ac_word
=$2
8625 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8626 echo "configure:8627: checking for $ac_word" >&5
8627 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8628 echo $ac_n "(cached) $ac_c" 1>&6
8630 if test -n "$CC"; then
8631 ac_cv_prog_CC
="$CC" # Let the user override the test.
8633 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8635 for ac_dir
in $ac_dummy; do
8636 test -z "$ac_dir" && ac_dir
=.
8637 if test -f $ac_dir/$ac_word; then
8646 if test -n "$CC"; then
8647 echo "$ac_t""$CC" 1>&6
8649 echo "$ac_t""no" 1>&6
8652 if test -z "$CC"; then
8653 # Extract the first word of "cc", so it can be a program name with args.
8654 set dummy cc
; ac_word
=$2
8655 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8656 echo "configure:8657: checking for $ac_word" >&5
8657 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8658 echo $ac_n "(cached) $ac_c" 1>&6
8660 if test -n "$CC"; then
8661 ac_cv_prog_CC
="$CC" # Let the user override the test.
8663 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8666 for ac_dir
in $ac_dummy; do
8667 test -z "$ac_dir" && ac_dir
=.
8668 if test -f $ac_dir/$ac_word; then
8669 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8670 ac_prog_rejected
=yes
8678 if test $ac_prog_rejected = yes; then
8679 # We found a bogon in the path, so make sure we never use it.
8680 set dummy
$ac_cv_prog_CC
8682 if test $# -gt 0; then
8683 # We chose a different compiler from the bogus one.
8684 # However, it has the same basename, so the bogon will be chosen
8685 # first if we set CC to just the basename; use the full file name.
8687 set dummy
"$ac_dir/$ac_word" "$@"
8695 if test -n "$CC"; then
8696 echo "$ac_t""$CC" 1>&6
8698 echo "$ac_t""no" 1>&6
8701 if test -z "$CC"; then
8702 case "`uname -s`" in
8704 # Extract the first word of "cl", so it can be a program name with args.
8705 set dummy cl
; ac_word
=$2
8706 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8707 echo "configure:8708: checking for $ac_word" >&5
8708 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8709 echo $ac_n "(cached) $ac_c" 1>&6
8711 if test -n "$CC"; then
8712 ac_cv_prog_CC
="$CC" # Let the user override the test.
8714 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8716 for ac_dir
in $ac_dummy; do
8717 test -z "$ac_dir" && ac_dir
=.
8718 if test -f $ac_dir/$ac_word; then
8727 if test -n "$CC"; then
8728 echo "$ac_t""$CC" 1>&6
8730 echo "$ac_t""no" 1>&6
8735 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8738 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8739 echo "configure:8740: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8742 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8743 ac_cpp
='$CPP $CPPFLAGS'
8744 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8745 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8746 cross_compiling
=$ac_cv_prog_cc_cross
8748 cat > conftest.
$ac_ext << EOF
8750 #line 8751 "configure"
8751 #include "confdefs.h"
8755 if { (eval echo configure
:8756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8756 ac_cv_prog_cc_works
=yes
8757 # If we can't run a trivial program, we are probably using a cross compiler.
8758 if (.
/conftest
; exit) 2>/dev
/null
; then
8759 ac_cv_prog_cc_cross
=no
8761 ac_cv_prog_cc_cross
=yes
8764 echo "configure: failed program was:" >&5
8765 cat conftest.
$ac_ext >&5
8766 ac_cv_prog_cc_works
=no
8770 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8771 ac_cpp
='$CPP $CPPFLAGS'
8772 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8773 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8774 cross_compiling
=$ac_cv_prog_cc_cross
8776 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8777 if test $ac_cv_prog_cc_works = no
; then
8778 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8780 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8781 echo "configure:8782: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8782 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8783 cross_compiling
=$ac_cv_prog_cc_cross
8785 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8786 echo "configure:8787: checking whether we are using GNU C" >&5
8787 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8788 echo $ac_n "(cached) $ac_c" 1>&6
8790 cat > conftest.c
<<EOF
8795 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8802 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8804 if test $ac_cv_prog_gcc = yes; then
8810 ac_test_CFLAGS
="${CFLAGS+set}"
8811 ac_save_CFLAGS
="$CFLAGS"
8813 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8814 echo "configure:8815: checking whether ${CC-cc} accepts -g" >&5
8815 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8816 echo $ac_n "(cached) $ac_c" 1>&6
8818 echo 'void f(){}' > conftest.c
8819 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8828 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8829 if test "$ac_test_CFLAGS" = set; then
8830 CFLAGS
="$ac_save_CFLAGS"
8831 elif test $ac_cv_prog_cc_g = yes; then
8832 if test "$GCC" = yes; then
8838 if test "$GCC" = yes; then
8846 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8848 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8849 echo "configure:8850: checking how to run the C preprocessor" >&5
8850 # On Suns, sometimes $CPP names a directory.
8851 if test -n "$CPP" && test -d "$CPP"; then
8854 if test -z "$CPP"; then
8855 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8856 echo $ac_n "(cached) $ac_c" 1>&6
8858 # This must be in double quotes, not single quotes, because CPP may get
8859 # substituted into the Makefile and "${CC-cc}" will confuse make.
8861 # On the NeXT, cc -E runs the code through the compiler's parser,
8862 # not just through cpp.
8863 cat > conftest.
$ac_ext <<EOF
8864 #line 8865 "configure"
8865 #include "confdefs.h"
8869 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8870 { (eval echo configure
:8871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8871 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8872 if test -z "$ac_err"; then
8876 echo "configure: failed program was:" >&5
8877 cat conftest.
$ac_ext >&5
8879 CPP
="${CC-cc} -E -traditional-cpp"
8880 cat > conftest.
$ac_ext <<EOF
8881 #line 8882 "configure"
8882 #include "confdefs.h"
8886 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8887 { (eval echo configure
:8888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8888 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8889 if test -z "$ac_err"; then
8893 echo "configure: failed program was:" >&5
8894 cat conftest.
$ac_ext >&5
8896 CPP
="${CC-cc} -nologo -E"
8897 cat > conftest.
$ac_ext <<EOF
8898 #line 8899 "configure"
8899 #include "confdefs.h"
8903 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8904 { (eval echo configure
:8905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8905 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8906 if test -z "$ac_err"; then
8910 echo "configure: failed program was:" >&5
8911 cat conftest.
$ac_ext >&5
8920 ac_cv_prog_CPP
="$CPP"
8922 CPP
="$ac_cv_prog_CPP"
8924 ac_cv_prog_CPP
="$CPP"
8926 echo "$ac_t""$CPP" 1>&6
8928 if test $ac_cv_prog_gcc = yes; then
8929 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8930 echo "configure:8931: checking whether ${CC-cc} needs -traditional" >&5
8931 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8932 echo $ac_n "(cached) $ac_c" 1>&6
8934 ac_pattern
="Autoconf.*'x'"
8935 cat > conftest.
$ac_ext <<EOF
8936 #line 8937 "configure"
8937 #include "confdefs.h"
8941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8942 egrep "$ac_pattern" >/dev
/null
2>&1; then
8944 ac_cv_prog_gcc_traditional
=yes
8947 ac_cv_prog_gcc_traditional
=no
8952 if test $ac_cv_prog_gcc_traditional = no
; then
8953 cat > conftest.
$ac_ext <<EOF
8954 #line 8955 "configure"
8955 #include "confdefs.h"
8959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8960 egrep "$ac_pattern" >/dev
/null
2>&1; then
8962 ac_cv_prog_gcc_traditional
=yes
8969 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8970 if test $ac_cv_prog_gcc_traditional = yes; then
8971 CC
="$CC -traditional"
8978 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8979 ac_cpp
='$CXXCPP $CPPFLAGS'
8980 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8981 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8982 cross_compiling
=$ac_cv_prog_cxx_cross
8985 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8987 # Extract the first word of "$ac_prog", so it can be a program name with args.
8988 set dummy
$ac_prog; ac_word
=$2
8989 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8990 echo "configure:8991: checking for $ac_word" >&5
8991 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8992 echo $ac_n "(cached) $ac_c" 1>&6
8994 if test -n "$CXX"; then
8995 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8997 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8999 for ac_dir
in $ac_dummy; do
9000 test -z "$ac_dir" && ac_dir
=.
9001 if test -f $ac_dir/$ac_word; then
9002 ac_cv_prog_CXX
="$ac_prog"
9009 CXX
="$ac_cv_prog_CXX"
9010 if test -n "$CXX"; then
9011 echo "$ac_t""$CXX" 1>&6
9013 echo "$ac_t""no" 1>&6
9016 test -n "$CXX" && break
9018 test -n "$CXX" || CXX
="gcc"
9021 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9022 echo "configure:9023: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9025 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9026 ac_cpp
='$CXXCPP $CPPFLAGS'
9027 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9028 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9029 cross_compiling
=$ac_cv_prog_cxx_cross
9031 cat > conftest.
$ac_ext << EOF
9033 #line 9034 "configure"
9034 #include "confdefs.h"
9036 int main(){return(0);}
9038 if { (eval echo configure
:9039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9039 ac_cv_prog_cxx_works
=yes
9040 # If we can't run a trivial program, we are probably using a cross compiler.
9041 if (.
/conftest
; exit) 2>/dev
/null
; then
9042 ac_cv_prog_cxx_cross
=no
9044 ac_cv_prog_cxx_cross
=yes
9047 echo "configure: failed program was:" >&5
9048 cat conftest.
$ac_ext >&5
9049 ac_cv_prog_cxx_works
=no
9053 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9054 ac_cpp
='$CXXCPP $CPPFLAGS'
9055 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9056 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9057 cross_compiling
=$ac_cv_prog_cxx_cross
9059 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9060 if test $ac_cv_prog_cxx_works = no
; then
9061 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9063 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9064 echo "configure:9065: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9065 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9066 cross_compiling
=$ac_cv_prog_cxx_cross
9068 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9069 echo "configure:9070: checking whether we are using GNU C++" >&5
9070 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9071 echo $ac_n "(cached) $ac_c" 1>&6
9073 cat > conftest.C
<<EOF
9078 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9085 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9087 if test $ac_cv_prog_gxx = yes; then
9093 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9094 ac_save_CXXFLAGS
="$CXXFLAGS"
9096 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9097 echo "configure:9098: checking whether ${CXX-g++} accepts -g" >&5
9098 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9099 echo $ac_n "(cached) $ac_c" 1>&6
9101 echo 'void f(){}' > conftest.cc
9102 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9103 ac_cv_prog_cxx_g
=yes
9111 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9112 if test "$ac_test_CXXFLAGS" = set; then
9113 CXXFLAGS
="$ac_save_CXXFLAGS"
9114 elif test $ac_cv_prog_cxx_g = yes; then
9115 if test "$GXX" = yes; then
9121 if test "$GXX" = yes; then
9129 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
9132 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9133 ac_cpp
='$CPP $CPPFLAGS'
9134 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9135 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9136 cross_compiling
=$ac_cv_prog_cc_cross
9139 # Extract the first word of "ranlib", so it can be a program name with args.
9140 set dummy ranlib
; ac_word
=$2
9141 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9142 echo "configure:9143: checking for $ac_word" >&5
9143 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9144 echo $ac_n "(cached) $ac_c" 1>&6
9146 if test -n "$RANLIB"; then
9147 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9149 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9151 for ac_dir
in $ac_dummy; do
9152 test -z "$ac_dir" && ac_dir
=.
9153 if test -f $ac_dir/$ac_word; then
9154 ac_cv_prog_RANLIB
="ranlib"
9159 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9162 RANLIB
="$ac_cv_prog_RANLIB"
9163 if test -n "$RANLIB"; then
9164 echo "$ac_t""$RANLIB" 1>&6
9166 echo "$ac_t""no" 1>&6
9170 # Extract the first word of "ar", so it can be a program name with args.
9171 set dummy
ar; ac_word
=$2
9172 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9173 echo "configure:9174: checking for $ac_word" >&5
9174 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9175 echo $ac_n "(cached) $ac_c" 1>&6
9177 if test -n "$AR"; then
9178 ac_cv_prog_AR
="$AR" # Let the user override the test.
9180 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9182 for ac_dir
in $ac_dummy; do
9183 test -z "$ac_dir" && ac_dir
=.
9184 if test -f $ac_dir/$ac_word; then
9190 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9194 if test -n "$AR"; then
9195 echo "$ac_t""$AR" 1>&6
9197 echo "$ac_t""no" 1>&6
9201 # Find a good install program. We prefer a C program (faster),
9202 # so one script is as good as another. But avoid the broken or
9203 # incompatible versions:
9204 # SysV /etc/install, /usr/sbin/install
9205 # SunOS /usr/etc/install
9206 # IRIX /sbin/install
9208 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9209 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9210 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9211 # ./install, which can be erroneously created by make from ./install.sh.
9212 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9213 echo "configure:9214: checking for a BSD compatible install" >&5
9214 if test -z "$INSTALL"; then
9215 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9216 echo $ac_n "(cached) $ac_c" 1>&6
9218 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9219 for ac_dir
in $PATH; do
9220 # Account for people who put trailing slashes in PATH elements.
9222 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9224 # OSF1 and SCO ODT 3.0 have their own names for install.
9225 # Don't use installbsd from OSF since it installs stuff as root
9227 for ac_prog
in ginstall scoinst
install; do
9228 if test -f $ac_dir/$ac_prog; then
9229 if test $ac_prog = install &&
9230 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9231 # AIX install. It has an incompatible calling convention.
9234 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9245 if test "${ac_cv_path_install+set}" = set; then
9246 INSTALL
="$ac_cv_path_install"
9248 # As a last resort, use the slow shell script. We don't cache a
9249 # path for INSTALL within a source directory, because that will
9250 # break other packages using the cache if that directory is
9251 # removed, or if the path is relative.
9252 INSTALL
="$ac_install_sh"
9255 echo "$ac_t""$INSTALL" 1>&6
9257 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9258 # It thinks the first close brace ends the variable substitution.
9259 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9261 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9263 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9268 INSTALL_PROGRAM
="cp -fp"
9269 INSTALL_DATA
="cp -fp"
9275 # Extract the first word of "strip", so it can be a program name with args.
9276 set dummy strip
; ac_word
=$2
9277 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9278 echo "configure:9279: checking for $ac_word" >&5
9279 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9280 echo $ac_n "(cached) $ac_c" 1>&6
9282 if test -n "$STRIP"; then
9283 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9285 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9287 for ac_dir
in $ac_dummy; do
9288 test -z "$ac_dir" && ac_dir
=.
9289 if test -f $ac_dir/$ac_word; then
9290 ac_cv_prog_STRIP
="strip"
9295 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9298 STRIP
="$ac_cv_prog_STRIP"
9299 if test -n "$STRIP"; then
9300 echo "$ac_t""$STRIP" 1>&6
9302 echo "$ac_t""no" 1>&6
9306 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9307 echo "configure:9308: checking if make is GNU make" >&5
9308 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9309 echo $ac_n "(cached) $ac_c" 1>&6
9312 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9313 egrep -s GNU
> /dev
/null
); then
9314 wx_cv_prog_makeisgnu
="yes"
9316 wx_cv_prog_makeisgnu
="no"
9321 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9323 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9331 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9332 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9333 echo "configure:9334: checking if make supports VPATH" >&5
9334 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9335 echo $ac_n "(cached) $ac_c" 1>&6
9338 cat - << EOF > confMake
9344 if test ! -d sub
; then
9347 echo dummy
> sub
/file
9348 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9350 rm -f sub
/file check final_file confMake
9352 if test "$RESULT" = 0; then
9353 wx_cv_prog_makevpath
="yes"
9355 wx_cv_prog_makevpath
="no"
9360 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9362 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9363 { echo "configure: error:
9364 You need a make-utility that is able to use the variable
9366 If your version of make does not support VPATH correctly,
9367 please install GNU-make (possibly as gmake), and start
9368 configure with the following command:
9369 export MAKE=gmake; ./configure for sh-type shells
9370 setenv MAKE gmake; ./configure for csh-type shells
9371 Also please do remember to use gmake in this case every time
9372 you are trying to compile.
9375 for ac_prog
in 'bison -y' byacc
9377 # Extract the first word of "$ac_prog", so it can be a program name with args.
9378 set dummy
$ac_prog; ac_word
=$2
9379 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9380 echo "configure:9381: checking for $ac_word" >&5
9381 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9382 echo $ac_n "(cached) $ac_c" 1>&6
9384 if test -n "$YACC"; then
9385 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9387 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9389 for ac_dir
in $ac_dummy; do
9390 test -z "$ac_dir" && ac_dir
=.
9391 if test -f $ac_dir/$ac_word; then
9392 ac_cv_prog_YACC
="$ac_prog"
9399 YACC
="$ac_cv_prog_YACC"
9400 if test -n "$YACC"; then
9401 echo "$ac_t""$YACC" 1>&6
9403 echo "$ac_t""no" 1>&6
9406 test -n "$YACC" && break
9408 test -n "$YACC" || YACC
="yacc"
9411 # Extract the first word of "flex", so it can be a program name with args.
9412 set dummy flex
; ac_word
=$2
9413 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9414 echo "configure:9415: checking for $ac_word" >&5
9415 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9416 echo $ac_n "(cached) $ac_c" 1>&6
9418 if test -n "$LEX"; then
9419 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9421 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9423 for ac_dir
in $ac_dummy; do
9424 test -z "$ac_dir" && ac_dir
=.
9425 if test -f $ac_dir/$ac_word; then
9426 ac_cv_prog_LEX
="flex"
9431 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9434 LEX
="$ac_cv_prog_LEX"
9435 if test -n "$LEX"; then
9436 echo "$ac_t""$LEX" 1>&6
9438 echo "$ac_t""no" 1>&6
9441 if test -z "$LEXLIB"
9447 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9448 echo "configure:9449: checking for yywrap in -l$ac_lib" >&5
9449 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9450 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9451 echo $ac_n "(cached) $ac_c" 1>&6
9453 ac_save_LIBS
="$LIBS"
9454 LIBS
="-l$ac_lib $LIBS"
9455 cat > conftest.
$ac_ext <<EOF
9456 #line 9457 "configure"
9457 #include "confdefs.h"
9458 /* Override any gcc2 internal prototype to avoid an error. */
9459 /* We use char because int might match the return type of a gcc2
9460 builtin and then its argument prototype would still apply. */
9467 if { (eval echo configure
:9468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9469 eval "ac_cv_lib_$ac_lib_var=yes"
9471 echo "configure: failed program was:" >&5
9472 cat conftest.
$ac_ext >&5
9474 eval "ac_cv_lib_$ac_lib_var=no"
9477 LIBS
="$ac_save_LIBS"
9480 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9481 echo "$ac_t""yes" 1>&6
9484 echo "$ac_t""no" 1>&6
9490 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9491 echo "configure:9492: checking whether ln -s works" >&5
9492 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9493 echo $ac_n "(cached) $ac_c" 1>&6
9496 if ln -s X conftestdata
2>/dev
/null
9499 ac_cv_prog_LN_S
="ln -s"
9504 LN_S
="$ac_cv_prog_LN_S"
9505 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9506 echo "$ac_t""yes" 1>&6
9508 echo "$ac_t""no" 1>&6
9514 /usr/local/include \
9516 /usr/Motif-1.2/include \
9517 /usr/Motif-2.1/include \
9519 /usr/include/Motif1.2 \
9520 /opt/xpm/include/X11 \
9521 /opt/GBxpm/include/ \
9522 /opt/GBxpm/X11/include/ \
9524 /usr/Motif1.2/include \
9526 /usr/openwin/include \
9530 /usr/X11R6/include \
9531 /usr/X11R6.4/include \
9532 /usr/X11R5/include \
9533 /usr/X11R4/include \
9535 /usr/include/X11R6 \
9536 /usr/include/X11R5 \
9537 /usr/include/X11R4 \
9539 /usr/local/X11R6/include \
9540 /usr/local/X11R5/include \
9541 /usr/local/X11R4/include \
9543 /usr/local/include/X11R6 \
9544 /usr/local/include/X11R5 \
9545 /usr/local/include/X11R4 \
9549 /usr/local/X11/include \
9550 /usr/local/include/X11 \
9554 /usr/XFree86/include/X11 \
9556 X:/XFree86/include \
9557 X:/XFree86/include/X11 \
9560 /usr/local/include/gtk \
9562 /usr/local/include/glib \
9565 /usr/local/include/qt \
9567 /usr/include/windows \
9569 /usr/local/include/wine \
9571 /usr/unsupported/include \
9572 /usr/athena/include \
9573 /usr/local/x11r5/include \
9574 /usr/lpp/Xamples/include \
9576 /usr/openwin/share/include \
9580 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
9583 cat > confcache
<<\EOF
9584 # This file is a shell script that caches the results of configure
9585 # tests run on this system so they can be shared between configure
9586 # scripts and configure runs. It is not useful on other systems.
9587 # If it contains results you don't want to keep, you may remove or edit it.
9589 # By default, configure uses ./config.cache as the cache file,
9590 # creating it if it does not exist already. You can give configure
9591 # the --cache-file=FILE option to use a different cache file; that is
9592 # what configure does when it calls configure scripts in
9593 # subdirectories, so they share the cache.
9594 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9595 # config.status only pays attention to the cache file if you give it the
9596 # --recheck option to rerun configure.
9599 # The following way of writing the cache mishandles newlines in values,
9600 # but we know of no workaround that is simple, portable, and efficient.
9601 # So, don't put newlines in cache variables' values.
9602 # Ultrix sh set writes to stderr and can't be redirected directly,
9603 # and sets the high bit in the cache file unless we assign to the vars.
9605 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9607 # `set' does not quote correctly, so add quotes (double-quote substitution
9608 # turns \\\\ into \\, and sed turns \\ into \).
9610 -e "s/'/'\\\\''/g" \
9611 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9614 # `set' quotes correctly as required by POSIX, so do not add quotes.
9615 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9618 if cmp -s $cache_file confcache
; then
9621 if test -w $cache_file; then
9622 echo "updating cache $cache_file"
9623 cat confcache
> $cache_file
9625 echo "not updating unwritable cache $cache_file"
9634 if test "$wxUSE_REGEX" != "no"; then
9635 cat >> confdefs.h
<<\EOF
9636 #define wxUSE_REGEX 1
9640 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9641 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
9642 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9643 echo "configure:9644: checking for regex.h" >&5
9644 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9645 echo $ac_n "(cached) $ac_c" 1>&6
9647 cat > conftest.
$ac_ext <<EOF
9648 #line 9649 "configure"
9649 #include "confdefs.h"
9652 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9653 { (eval echo configure
:9654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9654 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9655 if test -z "$ac_err"; then
9657 eval "ac_cv_header_$ac_safe=yes"
9660 echo "configure: failed program was:" >&5
9661 cat conftest.
$ac_ext >&5
9663 eval "ac_cv_header_$ac_safe=no"
9667 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9668 echo "$ac_t""yes" 1>&6
9669 for ac_func
in regcomp
9671 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9672 echo "configure:9673: checking for $ac_func" >&5
9673 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9674 echo $ac_n "(cached) $ac_c" 1>&6
9676 cat > conftest.
$ac_ext <<EOF
9677 #line 9678 "configure"
9678 #include "confdefs.h"
9679 /* System header to define __stub macros and hopefully few prototypes,
9680 which can conflict with char $ac_func(); below. */
9682 /* Override any gcc2 internal prototype to avoid an error. */
9683 /* We use char because int might match the return type of a gcc2
9684 builtin and then its argument prototype would still apply. */
9689 /* The GNU C library defines this for functions which it implements
9690 to always fail with ENOSYS. Some functions are actually named
9691 something starting with __ and the normal name is an alias. */
9692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9700 if { (eval echo configure
:9701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9702 eval "ac_cv_func_$ac_func=yes"
9704 echo "configure: failed program was:" >&5
9705 cat conftest.
$ac_ext >&5
9707 eval "ac_cv_func_$ac_func=no"
9712 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9713 echo "$ac_t""yes" 1>&6
9714 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9715 cat >> confdefs.h
<<EOF
9716 #define $ac_tr_func 1
9720 echo "$ac_t""no" 1>&6
9725 echo "$ac_t""no" 1>&6
9729 if test "x$ac_cv_func_regcomp" != "xyes"; then
9730 if test "$wxUSE_REGEX" = "sys" ; then
9731 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9733 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9741 if test "$wxUSE_REGEX" = "builtin" ; then
9742 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9749 if test "$wxUSE_ZLIB" != "no" ; then
9750 cat >> confdefs.h
<<\EOF
9751 #define wxUSE_ZLIB 1
9755 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9756 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9757 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9758 echo "configure:9759: checking for zlib.h" >&5
9759 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9760 echo $ac_n "(cached) $ac_c" 1>&6
9762 cat > conftest.
$ac_ext <<EOF
9763 #line 9764 "configure"
9764 #include "confdefs.h"
9767 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9768 { (eval echo configure
:9769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9769 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9770 if test -z "$ac_err"; then
9772 eval "ac_cv_header_$ac_safe=yes"
9775 echo "configure: failed program was:" >&5
9776 cat conftest.
$ac_ext >&5
9778 eval "ac_cv_header_$ac_safe=no"
9782 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9783 echo "$ac_t""yes" 1>&6
9784 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9785 echo "configure:9786: checking for deflate in -lz" >&5
9786 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9787 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9788 echo $ac_n "(cached) $ac_c" 1>&6
9790 ac_save_LIBS
="$LIBS"
9792 cat > conftest.
$ac_ext <<EOF
9793 #line 9794 "configure"
9794 #include "confdefs.h"
9795 /* Override any gcc2 internal prototype to avoid an error. */
9796 /* We use char because int might match the return type of a gcc2
9797 builtin and then its argument prototype would still apply. */
9804 if { (eval echo configure
:9805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9806 eval "ac_cv_lib_$ac_lib_var=yes"
9808 echo "configure: failed program was:" >&5
9809 cat conftest.
$ac_ext >&5
9811 eval "ac_cv_lib_$ac_lib_var=no"
9814 LIBS
="$ac_save_LIBS"
9817 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9818 echo "$ac_t""yes" 1>&6
9821 echo "$ac_t""no" 1>&6
9825 echo "$ac_t""no" 1>&6
9829 if test "x$ZLIB_LINK" = "x" ; then
9830 if test "$wxUSE_ZLIB" = "sys" ; then
9831 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9833 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9841 if test "$wxUSE_ZLIB" = "builtin" ; then
9842 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9849 if test "$wxUSE_LIBPNG" != "no" ; then
9850 cat >> confdefs.h
<<\EOF
9851 #define wxUSE_LIBPNG 1
9855 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
9856 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
9860 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9861 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9862 wxUSE_LIBPNG
=builtin
9865 if test "$wxUSE_MGL" != 1 ; then
9866 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9867 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9868 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9869 echo "configure:9870: checking for png.h" >&5
9870 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9871 echo $ac_n "(cached) $ac_c" 1>&6
9873 cat > conftest.
$ac_ext <<EOF
9874 #line 9875 "configure"
9875 #include "confdefs.h"
9878 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9879 { (eval echo configure
:9880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9880 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9881 if test -z "$ac_err"; then
9883 eval "ac_cv_header_$ac_safe=yes"
9886 echo "configure: failed program was:" >&5
9887 cat conftest.
$ac_ext >&5
9889 eval "ac_cv_header_$ac_safe=no"
9893 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9894 echo "$ac_t""yes" 1>&6
9895 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9896 echo "configure:9897: checking for png_check_sig in -lpng" >&5
9897 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9898 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9899 echo $ac_n "(cached) $ac_c" 1>&6
9901 ac_save_LIBS
="$LIBS"
9902 LIBS
="-lpng -lz -lm $LIBS"
9903 cat > conftest.
$ac_ext <<EOF
9904 #line 9905 "configure"
9905 #include "confdefs.h"
9906 /* Override any gcc2 internal prototype to avoid an error. */
9907 /* We use char because int might match the return type of a gcc2
9908 builtin and then its argument prototype would still apply. */
9909 char png_check_sig();
9915 if { (eval echo configure
:9916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9917 eval "ac_cv_lib_$ac_lib_var=yes"
9919 echo "configure: failed program was:" >&5
9920 cat conftest.
$ac_ext >&5
9922 eval "ac_cv_lib_$ac_lib_var=no"
9925 LIBS
="$ac_save_LIBS"
9928 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9929 echo "$ac_t""yes" 1>&6
9932 echo "$ac_t""no" 1>&6
9937 echo "$ac_t""no" 1>&6
9941 if test "x$PNG_LINK" = "x" ; then
9942 if test "$wxUSE_LIBPNG" = "sys" ; then
9943 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9945 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9946 wxUSE_LIBPNG
=builtin
9954 if test "$wxUSE_LIBPNG" = "builtin" ; then
9955 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
9958 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
9964 if test "$wxUSE_LIBJPEG" != "no" ; then
9965 cat >> confdefs.h
<<\EOF
9966 #define wxUSE_LIBJPEG 1
9970 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
9971 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
9975 if test "$wxUSE_MGL" != 1 ; then
9976 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9977 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9978 echo "configure:9979: checking for jpeglib.h" >&5
9979 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9980 echo $ac_n "(cached) $ac_c" 1>&6
9982 cat > conftest.
$ac_ext <<EOF
9983 #line 9984 "configure"
9984 #include "confdefs.h"
9986 #undef HAVE_STDLIB_H
9988 #include <jpeglib.h>
9995 if { (eval echo configure
:9996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9997 ac_cv_header_jpeglib_h
=yes
9999 echo "configure: failed program was:" >&5
10000 cat conftest.
$ac_ext >&5
10002 ac_cv_header_jpeglib_h
=no
10009 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
10011 if test "$ac_cv_header_jpeglib_h" = "yes"; then
10012 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
10013 echo "configure:10014: checking for jpeg_read_header in -ljpeg" >&5
10014 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
10015 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10016 echo $ac_n "(cached) $ac_c" 1>&6
10018 ac_save_LIBS
="$LIBS"
10019 LIBS
="-ljpeg $LIBS"
10020 cat > conftest.
$ac_ext <<EOF
10021 #line 10022 "configure"
10022 #include "confdefs.h"
10023 /* Override any gcc2 internal prototype to avoid an error. */
10024 /* We use char because int might match the return type of a gcc2
10025 builtin and then its argument prototype would still apply. */
10026 char jpeg_read_header();
10032 if { (eval echo configure
:10033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10034 eval "ac_cv_lib_$ac_lib_var=yes"
10036 echo "configure: failed program was:" >&5
10037 cat conftest.
$ac_ext >&5
10039 eval "ac_cv_lib_$ac_lib_var=no"
10042 LIBS
="$ac_save_LIBS"
10045 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10046 echo "$ac_t""yes" 1>&6
10047 JPEG_LINK
=" -ljpeg"
10049 echo "$ac_t""no" 1>&6
10054 if test "x$JPEG_LINK" = "x" ; then
10055 if test "$wxUSE_LIBJPEG" = "sys" ; then
10056 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
10058 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
10059 wxUSE_LIBJPEG
=builtin
10067 if test "$wxUSE_LIBJPEG" = "builtin" ; then
10068 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10075 if test "$wxUSE_LIBTIFF" != "no" ; then
10076 cat >> confdefs.h
<<\EOF
10077 #define wxUSE_LIBTIFF 1
10081 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
10082 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
10083 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
10084 echo "configure:10085: checking for tiffio.h" >&5
10085 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10086 echo $ac_n "(cached) $ac_c" 1>&6
10088 cat > conftest.
$ac_ext <<EOF
10089 #line 10090 "configure"
10090 #include "confdefs.h"
10091 #include <tiffio.h>
10093 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10094 { (eval echo configure
:10095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10095 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10096 if test -z "$ac_err"; then
10098 eval "ac_cv_header_$ac_safe=yes"
10101 echo "configure: failed program was:" >&5
10102 cat conftest.
$ac_ext >&5
10104 eval "ac_cv_header_$ac_safe=no"
10108 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10109 echo "$ac_t""yes" 1>&6
10110 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
10111 echo "configure:10112: checking for TIFFError in -ltiff" >&5
10112 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
10113 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10114 echo $ac_n "(cached) $ac_c" 1>&6
10116 ac_save_LIBS
="$LIBS"
10117 LIBS
="-ltiff -lm $LIBS"
10118 cat > conftest.
$ac_ext <<EOF
10119 #line 10120 "configure"
10120 #include "confdefs.h"
10121 /* Override any gcc2 internal prototype to avoid an error. */
10122 /* We use char because int might match the return type of a gcc2
10123 builtin and then its argument prototype would still apply. */
10130 if { (eval echo configure
:10131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10132 eval "ac_cv_lib_$ac_lib_var=yes"
10134 echo "configure: failed program was:" >&5
10135 cat conftest.
$ac_ext >&5
10137 eval "ac_cv_lib_$ac_lib_var=no"
10140 LIBS
="$ac_save_LIBS"
10143 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10144 echo "$ac_t""yes" 1>&6
10145 TIFF_LINK
=" -ltiff"
10147 echo "$ac_t""no" 1>&6
10152 echo "$ac_t""no" 1>&6
10156 if test "x$TIFF_LINK" = "x" ; then
10157 if test "$wxUSE_LIBTIFF" = "sys" ; then
10158 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
10160 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
10161 wxUSE_LIBTIFF
=builtin
10168 if test "$wxUSE_LIBTIFF" = "builtin" ; then
10169 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
10180 if test "$USE_WIN32" = 1 ; then
10181 for ac_hdr
in w32api.h
10183 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10184 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10185 echo "configure:10186: checking for $ac_hdr" >&5
10186 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10187 echo $ac_n "(cached) $ac_c" 1>&6
10189 cat > conftest.
$ac_ext <<EOF
10190 #line 10191 "configure"
10191 #include "confdefs.h"
10194 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10195 { (eval echo configure
:10196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10196 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10197 if test -z "$ac_err"; then
10199 eval "ac_cv_header_$ac_safe=yes"
10202 echo "configure: failed program was:" >&5
10203 cat conftest.
$ac_ext >&5
10205 eval "ac_cv_header_$ac_safe=no"
10209 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10210 echo "$ac_t""yes" 1>&6
10211 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10212 cat >> confdefs.h
<<EOF
10213 #define $ac_tr_hdr 1
10217 echo "$ac_t""no" 1>&6
10221 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
10222 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10223 echo "configure:10224: checking for windows.h" >&5
10224 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10225 echo $ac_n "(cached) $ac_c" 1>&6
10227 cat > conftest.
$ac_ext <<EOF
10228 #line 10229 "configure"
10229 #include "confdefs.h"
10230 #include <windows.h>
10232 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10233 { (eval echo configure
:10234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10234 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10235 if test -z "$ac_err"; then
10237 eval "ac_cv_header_$ac_safe=yes"
10240 echo "configure: failed program was:" >&5
10241 cat conftest.
$ac_ext >&5
10243 eval "ac_cv_header_$ac_safe=no"
10247 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10248 echo "$ac_t""yes" 1>&6
10251 echo "$ac_t""no" 1>&6
10253 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10258 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
10259 echo "configure:10260: checking if w32api has good enough MSIE support" >&5
10260 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
10261 echo $ac_n "(cached) $ac_c" 1>&6
10264 cat > conftest.
$ac_ext <<EOF
10265 #line 10266 "configure"
10266 #include "confdefs.h"
10267 #include <w32api.h>
10270 #define wxCHECK_W32API_VERSION( major, minor ) \
10271 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
10272 && ( ( __W32API_MAJOR_VERSION > (major) ) \
10273 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
10275 #if !wxCHECK_W32API_VERSION(1,1)
10276 #error You need w32api 1.1 or newer
10281 if { (eval echo configure
:10282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10284 wx_cv_w32api_win32_ie
=yes
10287 echo "configure: failed program was:" >&5
10288 cat conftest.
$ac_ext >&5
10291 wx_cv_w32api_win32_ie
=no
10298 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
10299 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
10300 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
10303 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
10307 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
10308 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
10311 if test "$wxUSE_ODBC" = "yes" ; then
10312 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
10315 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
10316 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
10319 if test "$wxUSE_GUI" = "yes"; then
10328 if test "$wxUSE_MSW" = 1 ; then
10334 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
10338 if test "$wxUSE_GTK" = 1; then
10339 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
10340 echo "configure:10341: checking for GTK+ version" >&5
10342 gtk_version_cached
=1
10343 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
10344 echo $ac_n "(cached) $ac_c" 1>&6
10347 gtk_version_cached
=0
10348 echo "$ac_t""" 1>&6
10351 if test "$wxUSE_THREADS" = "yes"; then
10352 GTK_MODULES
=gthread
10356 if test "x$wxUSE_GTK2" = "xyes"; then
10357 # Check whether --enable-gtktest or --disable-gtktest was given.
10358 if test "${enable_gtktest+set}" = set; then
10359 enableval
="$enable_gtktest"
10366 pkg_config_args
=gtk
+-2.0
10367 for module
in .
$GTK_MODULES
10371 pkg_config_args
="$pkg_config_args gthread-2.0"
10378 # Extract the first word of "pkg-config", so it can be a program name with args.
10379 set dummy pkg
-config; ac_word
=$2
10380 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10381 echo "configure:10382: checking for $ac_word" >&5
10382 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
10383 echo $ac_n "(cached) $ac_c" 1>&6
10385 case "$PKG_CONFIG" in
10387 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10390 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
10393 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10395 for ac_dir
in $ac_dummy; do
10396 test -z "$ac_dir" && ac_dir
=.
10397 if test -f $ac_dir/$ac_word; then
10398 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
10403 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
10407 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10408 if test -n "$PKG_CONFIG"; then
10409 echo "$ac_t""$PKG_CONFIG" 1>&6
10411 echo "$ac_t""no" 1>&6
10415 if test x
$PKG_CONFIG != xno
; then
10416 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
10419 echo *** pkg
-config too old
; version
0.7 or better required.
10427 min_gtk_version
=1.3.1
10428 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
10429 echo "configure:10430: checking for GTK+ - version >= $min_gtk_version" >&5
10431 if test x
$PKG_CONFIG != xno
; then
10432 ## don't try to run the test against uninstalled libtool libs
10433 if $PKG_CONFIG --uninstalled $pkg_config_args; then
10434 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
10438 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
10445 if test x
"$no_gtk" = x
; then
10446 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
10447 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
10448 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
10449 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10450 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
10451 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10452 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
10453 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10454 if test "x$enable_gtktest" = "xyes" ; then
10455 ac_save_CFLAGS
="$CFLAGS"
10456 ac_save_LIBS
="$LIBS"
10457 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10458 LIBS
="$GTK_LIBS $LIBS"
10460 if test "$cross_compiling" = yes; then
10461 echo $ac_n "cross compiling; assumed OK... $ac_c"
10463 cat > conftest.
$ac_ext <<EOF
10464 #line 10465 "configure"
10465 #include "confdefs.h"
10467 #include <gtk/gtk.h>
10469 #include <stdlib.h>
10474 int major, minor, micro;
10477 system ("touch conf.gtktest");
10479 /* HP/UX 9 (%@#!) writes to sscanf strings */
10480 tmp_version = g_strdup("$min_gtk_version");
10481 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10482 printf("%s, bad version string\n", "$min_gtk_version");
10486 if ((gtk_major_version != $gtk_config_major_version) ||
10487 (gtk_minor_version != $gtk_config_minor_version) ||
10488 (gtk_micro_version != $gtk_config_micro_version))
10490 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10491 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10492 gtk_major_version, gtk_minor_version, gtk_micro_version);
10493 printf ("*** was found! If pkg-config was correct, then it is best\n");
10494 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10495 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10496 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10497 printf("*** required on your system.\n");
10498 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
10499 printf("*** to point to the correct configuration files\n");
10501 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10502 (gtk_minor_version != GTK_MINOR_VERSION) ||
10503 (gtk_micro_version != GTK_MICRO_VERSION))
10505 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10506 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10507 printf("*** library (version %d.%d.%d)\n",
10508 gtk_major_version, gtk_minor_version, gtk_micro_version);
10512 if ((gtk_major_version > major) ||
10513 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10514 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10520 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10521 gtk_major_version, gtk_minor_version, gtk_micro_version);
10522 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10523 major, minor, micro);
10524 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10526 printf("*** If you have already installed a sufficiently new version, this error\n");
10527 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
10528 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10529 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
10530 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
10531 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10532 printf("*** so that the correct libraries are found at run-time))\n");
10539 if { (eval echo configure
:10540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10543 echo "configure: failed program was:" >&5
10544 cat conftest.
$ac_ext >&5
10551 CFLAGS
="$ac_save_CFLAGS"
10552 LIBS
="$ac_save_LIBS"
10555 if test "x$no_gtk" = x
; then
10556 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10559 echo "$ac_t""no" 1>&6
10560 if test "$PKG_CONFIG" = "no" ; then
10561 echo "*** A new enough version of pkg-config was not found."
10562 echo "*** See http://pkgconfig.sourceforge.net"
10564 if test -f conf.gtktest
; then
10567 echo "*** Could not run GTK+ test program, checking why..."
10568 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10569 LIBS
="$LIBS $GTK_LIBS"
10570 cat > conftest.
$ac_ext <<EOF
10571 #line 10572 "configure"
10572 #include "confdefs.h"
10574 #include <gtk/gtk.h>
10578 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10581 if { (eval echo configure
:10582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10583 echo "*** The test program compiled, but did not run. This usually means"
10584 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
10585 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
10586 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10587 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10588 echo "*** is required on your system"
10590 echo "*** If you have an old version installed, it is best to remove it, although"
10591 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10593 echo "configure: failed program was:" >&5
10594 cat conftest.
$ac_ext >&5
10596 echo "*** The test program failed to compile or link. See the file config.log for the"
10597 echo "*** exact error that occured. This usually means GTK+ was incorrectly installed"
10598 echo "*** or that you have moved GTK+ since it was installed. In the latter case, you"
10599 echo "*** may want to edit the pkg-config script: $PKG_CONFIG"
10602 CFLAGS
="$ac_save_CFLAGS"
10603 LIBS
="$ac_save_LIBS"
10616 if test -z "$wx_cv_lib_gtk"; then
10617 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10618 if test "${with_gtk_prefix+set}" = set; then
10619 withval
="$with_gtk_prefix"
10620 gtk_config_prefix
="$withval"
10622 gtk_config_prefix
=""
10625 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10626 if test "${with_gtk_exec_prefix+set}" = set; then
10627 withval
="$with_gtk_exec_prefix"
10628 gtk_config_exec_prefix
="$withval"
10630 gtk_config_exec_prefix
=""
10633 # Check whether --enable-gtktest or --disable-gtktest was given.
10634 if test "${enable_gtktest+set}" = set; then
10635 enableval
="$enable_gtktest"
10642 for module
in .
$GTK_MODULES
10646 gtk_config_args
="$gtk_config_args gthread"
10651 if test x
$gtk_config_exec_prefix != x
; then
10652 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10653 if test x
${GTK_CONFIG+set} != xset
; then
10654 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10657 if test x
$gtk_config_prefix != x
; then
10658 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10659 if test x
${GTK_CONFIG+set} != xset
; then
10660 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10664 # Extract the first word of "gtk-config", so it can be a program name with args.
10665 set dummy gtk
-config; ac_word
=$2
10666 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10667 echo "configure:10668: checking for $ac_word" >&5
10668 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10669 echo $ac_n "(cached) $ac_c" 1>&6
10671 case "$GTK_CONFIG" in
10673 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10676 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10679 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10681 for ac_dir
in $ac_dummy; do
10682 test -z "$ac_dir" && ac_dir
=.
10683 if test -f $ac_dir/$ac_word; then
10684 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10689 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10693 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10694 if test -n "$GTK_CONFIG"; then
10695 echo "$ac_t""$GTK_CONFIG" 1>&6
10697 echo "$ac_t""no" 1>&6
10700 min_gtk_version
=1.2.7
10701 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10702 echo "configure:10703: checking for GTK - version >= $min_gtk_version" >&5
10704 if test "$GTK_CONFIG" = "no" ; then
10707 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10708 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10709 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10710 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10711 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10712 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10713 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10714 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10715 if test "x$enable_gtktest" = "xyes" ; then
10716 ac_save_CFLAGS
="$CFLAGS"
10717 ac_save_LIBS
="$LIBS"
10718 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10719 LIBS
="$GTK_LIBS $LIBS"
10721 if test "$cross_compiling" = yes; then
10722 echo $ac_n "cross compiling; assumed OK... $ac_c"
10724 cat > conftest.
$ac_ext <<EOF
10725 #line 10726 "configure"
10726 #include "confdefs.h"
10728 #include <gtk/gtk.h>
10730 #include <stdlib.h>
10735 int major, minor, micro;
10738 system ("touch conf.gtktest");
10740 /* HP/UX 9 (%@#!) writes to sscanf strings */
10741 tmp_version = g_strdup("$min_gtk_version");
10742 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10743 printf("%s, bad version string\n", "$min_gtk_version");
10747 if ((gtk_major_version != $gtk_config_major_version) ||
10748 (gtk_minor_version != $gtk_config_minor_version) ||
10749 (gtk_micro_version != $gtk_config_micro_version))
10751 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10752 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10753 gtk_major_version, gtk_minor_version, gtk_micro_version);
10754 printf ("*** was found! If gtk-config was correct, then it is best\n");
10755 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10756 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10757 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10758 printf("*** required on your system.\n");
10759 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10760 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10761 printf("*** before re-running configure\n");
10763 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10764 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10765 (gtk_minor_version != GTK_MINOR_VERSION) ||
10766 (gtk_micro_version != GTK_MICRO_VERSION))
10768 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10769 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10770 printf("*** library (version %d.%d.%d)\n",
10771 gtk_major_version, gtk_minor_version, gtk_micro_version);
10773 #endif /* defined (GTK_MAJOR_VERSION) ... */
10776 if ((gtk_major_version > major) ||
10777 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10778 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10784 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10785 gtk_major_version, gtk_minor_version, gtk_micro_version);
10786 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10787 major, minor, micro);
10788 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10790 printf("*** If you have already installed a sufficiently new version, this error\n");
10791 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10792 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10793 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10794 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10795 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10796 printf("*** so that the correct libraries are found at run-time))\n");
10803 if { (eval echo configure
:10804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10807 echo "configure: failed program was:" >&5
10808 cat conftest.
$ac_ext >&5
10815 CFLAGS
="$ac_save_CFLAGS"
10816 LIBS
="$ac_save_LIBS"
10819 if test "x$no_gtk" = x
; then
10820 echo "$ac_t""yes" 1>&6
10821 wx_cv_lib_gtk
=1.2.7
10823 echo "$ac_t""no" 1>&6
10824 if test "$GTK_CONFIG" = "no" ; then
10825 echo "*** The gtk-config script installed by GTK could not be found"
10826 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10827 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10828 echo "*** full path to gtk-config."
10830 if test -f conf.gtktest
; then
10833 echo "*** Could not run GTK test program, checking why..."
10834 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10835 LIBS
="$LIBS $GTK_LIBS"
10836 cat > conftest.
$ac_ext <<EOF
10837 #line 10838 "configure"
10838 #include "confdefs.h"
10840 #include <gtk/gtk.h>
10844 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10847 if { (eval echo configure
:10848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10849 echo "*** The test program compiled, but did not run. This usually means"
10850 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10851 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10852 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10853 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10854 echo "*** is required on your system"
10856 echo "*** If you have an old version installed, it is best to remove it, although"
10857 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10859 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10860 echo "*** came with the system with the command"
10862 echo "*** rpm --erase --nodeps gtk gtk-devel"
10864 echo "configure: failed program was:" >&5
10865 cat conftest.
$ac_ext >&5
10867 echo "*** The test program failed to compile or link. See the file config.log for the"
10868 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10869 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10870 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10873 CFLAGS
="$ac_save_CFLAGS"
10874 LIBS
="$ac_save_LIBS"
10887 if test -z "$wx_cv_lib_gtk"; then
10888 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10889 if test "${with_gtk_prefix+set}" = set; then
10890 withval
="$with_gtk_prefix"
10891 gtk_config_prefix
="$withval"
10893 gtk_config_prefix
=""
10896 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10897 if test "${with_gtk_exec_prefix+set}" = set; then
10898 withval
="$with_gtk_exec_prefix"
10899 gtk_config_exec_prefix
="$withval"
10901 gtk_config_exec_prefix
=""
10904 # Check whether --enable-gtktest or --disable-gtktest was given.
10905 if test "${enable_gtktest+set}" = set; then
10906 enableval
="$enable_gtktest"
10913 for module
in .
$GTK_MODULES
10917 gtk_config_args
="$gtk_config_args gthread"
10922 if test x
$gtk_config_exec_prefix != x
; then
10923 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10924 if test x
${GTK_CONFIG+set} != xset
; then
10925 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10928 if test x
$gtk_config_prefix != x
; then
10929 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10930 if test x
${GTK_CONFIG+set} != xset
; then
10931 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10935 # Extract the first word of "gtk-config", so it can be a program name with args.
10936 set dummy gtk
-config; ac_word
=$2
10937 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10938 echo "configure:10939: checking for $ac_word" >&5
10939 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10940 echo $ac_n "(cached) $ac_c" 1>&6
10942 case "$GTK_CONFIG" in
10944 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10947 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10950 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10952 for ac_dir
in $ac_dummy; do
10953 test -z "$ac_dir" && ac_dir
=.
10954 if test -f $ac_dir/$ac_word; then
10955 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10960 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10964 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10965 if test -n "$GTK_CONFIG"; then
10966 echo "$ac_t""$GTK_CONFIG" 1>&6
10968 echo "$ac_t""no" 1>&6
10971 min_gtk_version
=1.2.3
10972 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10973 echo "configure:10974: checking for GTK - version >= $min_gtk_version" >&5
10975 if test "$GTK_CONFIG" = "no" ; then
10978 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10979 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10980 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10981 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10982 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10983 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10984 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10985 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10986 if test "x$enable_gtktest" = "xyes" ; then
10987 ac_save_CFLAGS
="$CFLAGS"
10988 ac_save_LIBS
="$LIBS"
10989 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10990 LIBS
="$GTK_LIBS $LIBS"
10992 if test "$cross_compiling" = yes; then
10993 echo $ac_n "cross compiling; assumed OK... $ac_c"
10995 cat > conftest.
$ac_ext <<EOF
10996 #line 10997 "configure"
10997 #include "confdefs.h"
10999 #include <gtk/gtk.h>
11001 #include <stdlib.h>
11006 int major, minor, micro;
11009 system ("touch conf.gtktest");
11011 /* HP/UX 9 (%@#!) writes to sscanf strings */
11012 tmp_version = g_strdup("$min_gtk_version");
11013 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11014 printf("%s, bad version string\n", "$min_gtk_version");
11018 if ((gtk_major_version != $gtk_config_major_version) ||
11019 (gtk_minor_version != $gtk_config_minor_version) ||
11020 (gtk_micro_version != $gtk_config_micro_version))
11022 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11023 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11024 gtk_major_version, gtk_minor_version, gtk_micro_version);
11025 printf ("*** was found! If gtk-config was correct, then it is best\n");
11026 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11027 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11028 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11029 printf("*** required on your system.\n");
11030 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
11031 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
11032 printf("*** before re-running configure\n");
11034 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
11035 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11036 (gtk_minor_version != GTK_MINOR_VERSION) ||
11037 (gtk_micro_version != GTK_MICRO_VERSION))
11039 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11040 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11041 printf("*** library (version %d.%d.%d)\n",
11042 gtk_major_version, gtk_minor_version, gtk_micro_version);
11044 #endif /* defined (GTK_MAJOR_VERSION) ... */
11047 if ((gtk_major_version > major) ||
11048 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11049 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11055 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11056 gtk_major_version, gtk_minor_version, gtk_micro_version);
11057 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11058 major, minor, micro);
11059 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11061 printf("*** If you have already installed a sufficiently new version, this error\n");
11062 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
11063 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11064 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
11065 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
11066 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11067 printf("*** so that the correct libraries are found at run-time))\n");
11074 if { (eval echo configure
:11075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11078 echo "configure: failed program was:" >&5
11079 cat conftest.
$ac_ext >&5
11086 CFLAGS
="$ac_save_CFLAGS"
11087 LIBS
="$ac_save_LIBS"
11090 if test "x$no_gtk" = x
; then
11091 echo "$ac_t""yes" 1>&6
11092 wx_cv_lib_gtk
=1.2.3
11094 echo "$ac_t""no" 1>&6
11095 if test "$GTK_CONFIG" = "no" ; then
11096 echo "*** The gtk-config script installed by GTK could not be found"
11097 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
11098 echo "*** your path, or set the GTK_CONFIG environment variable to the"
11099 echo "*** full path to gtk-config."
11101 if test -f conf.gtktest
; then
11104 echo "*** Could not run GTK test program, checking why..."
11105 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11106 LIBS
="$LIBS $GTK_LIBS"
11107 cat > conftest.
$ac_ext <<EOF
11108 #line 11109 "configure"
11109 #include "confdefs.h"
11111 #include <gtk/gtk.h>
11115 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11118 if { (eval echo configure
:11119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11120 echo "*** The test program compiled, but did not run. This usually means"
11121 echo "*** that the run-time linker is not finding GTK or finding the wrong"
11122 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
11123 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11124 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11125 echo "*** is required on your system"
11127 echo "*** If you have an old version installed, it is best to remove it, although"
11128 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11130 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
11131 echo "*** came with the system with the command"
11133 echo "*** rpm --erase --nodeps gtk gtk-devel"
11135 echo "configure: failed program was:" >&5
11136 cat conftest.
$ac_ext >&5
11138 echo "*** The test program failed to compile or link. See the file config.log for the"
11139 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
11140 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
11141 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
11144 CFLAGS
="$ac_save_CFLAGS"
11145 LIBS
="$ac_save_LIBS"
11158 if test -z "$wx_cv_lib_gtk"; then
11161 wx_cv_cflags_gtk
=$GTK_CFLAGS
11162 wx_cv_libs_gtk
=$GTK_LIBS
11169 if test "$gtk_version_cached" = 1; then
11170 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
11173 case "$wx_cv_lib_gtk" in
11181 *) { echo "configure: error:
11182 Please check that gtk-config is in path, the directory
11183 where GTK+ libraries are installed (returned by
11184 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
11185 equivalent variable and GTK+ is version 1.2.3 or above.
11190 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
11191 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
11193 AFMINSTALL
=afminstall
11197 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
11198 echo "configure:11199: checking for gdk_im_open in -lgdk" >&5
11199 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
11200 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11201 echo $ac_n "(cached) $ac_c" 1>&6
11203 ac_save_LIBS
="$LIBS"
11205 cat > conftest.
$ac_ext <<EOF
11206 #line 11207 "configure"
11207 #include "confdefs.h"
11208 /* Override any gcc2 internal prototype to avoid an error. */
11209 /* We use char because int might match the return type of a gcc2
11210 builtin and then its argument prototype would still apply. */
11211 char gdk_im_open();
11217 if { (eval echo configure
:11218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11219 eval "ac_cv_lib_$ac_lib_var=yes"
11221 echo "configure: failed program was:" >&5
11222 cat conftest.
$ac_ext >&5
11224 eval "ac_cv_lib_$ac_lib_var=no"
11227 LIBS
="$ac_save_LIBS"
11230 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11231 echo "$ac_t""yes" 1>&6
11232 cat >> confdefs.h
<<\EOF
11237 echo "$ac_t""no" 1>&6
11242 if test "$wxUSE_MGL" = 1; then
11243 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
11244 echo "configure:11245: checking for SciTech MGL library" >&5
11245 if test "x$MGL_ROOT" = x
; then
11246 echo "$ac_t""not found" 1>&6
11247 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
11249 echo "$ac_t""$MGL_ROOT" 1>&6
11254 mgl_os
=linux
/gcc
/glibc
11260 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
11265 if test "$wxUSE_DEBUG_FLAG" = yes ; then
11266 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
11267 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
11271 if test "x$mgl_lib_type" = x
; then
11272 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
11273 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
11274 mgl_lib_type
=release
11276 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
11280 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
11281 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
11283 AFMINSTALL
=afminstall
11288 if test "$wxUSE_MICROWIN" = 1; then
11289 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
11290 echo "configure:11291: checking for MicroWindows" >&5
11291 if test "x$MICROWINDOWS" = x
; then
11292 echo "$ac_t""not found" 1>&6
11293 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
11295 echo "$ac_t""$MICROWINDOWS" 1>&6
11298 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
11299 echo "$ac_t""MicroWindows' libraries found." 1>&6
11301 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
11304 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
11305 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
11307 AFMINSTALL
=afminstall
11309 GUIDIST
=MICROWIN_DIST
11311 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
11314 if test "$wxUSE_X11" = 1; then
11315 # If we find X, set shell vars x_includes and x_libraries to the
11316 # paths, otherwise set no_x=yes.
11317 # Uses ac_ vars as temps to allow command line to override cache and checks.
11318 # --without-x overrides everything else, but does not touch the cache.
11319 echo $ac_n "checking for X""... $ac_c" 1>&6
11320 echo "configure:11321: checking for X" >&5
11322 # Check whether --with-x or --without-x was given.
11323 if test "${with_x+set}" = set; then
11328 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11329 if test "x$with_x" = xno
; then
11330 # The user explicitly disabled X.
11333 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
11334 # Both variables are already set.
11337 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
11338 echo $ac_n "(cached) $ac_c" 1>&6
11340 # One or both of the vars are not set, and there is no cached value.
11341 ac_x_includes
=NO ac_x_libraries
=NO
11343 if mkdir conftestdir
; then
11345 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
11346 cat > Imakefile
<<'EOF'
11348 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
11350 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11351 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11352 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
11353 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11354 for ac_extension
in a so sl
; do
11355 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
11356 test -f $ac_im_libdir/libX11.
$ac_extension; then
11357 ac_im_usrlibdir
=$ac_im_libdir; break
11360 # Screen out bogus values from the imake configuration. They are
11361 # bogus both because they are the default anyway, and because
11362 # using them would break gcc on systems where it needs fixed includes.
11363 case "$ac_im_incroot" in
11365 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
11367 case "$ac_im_usrlibdir" in
11368 /usr
/lib
| /lib
) ;;
11369 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
11376 if test "$ac_x_includes" = NO
; then
11377 # Guess where to find include files, by looking for this one X11 .h file.
11378 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
11380 # First, try using that file with no special directory specified.
11381 cat > conftest.
$ac_ext <<EOF
11382 #line 11383 "configure"
11383 #include "confdefs.h"
11384 #include <$x_direct_test_include>
11386 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11387 { (eval echo configure
:11388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11388 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11389 if test -z "$ac_err"; then
11391 # We can compile using X headers with no special include directory.
11395 echo "configure: failed program was:" >&5
11396 cat conftest.
$ac_ext >&5
11398 # Look for the header file in a standard set of common directories.
11399 # Check X11 before X11Rn because it is often a symlink to the current release.
11402 /usr
/X
11R
6/include \
11403 /usr
/X
11R
5/include \
11404 /usr
/X
11R
4/include \
11407 /usr
/include
/X11R6 \
11408 /usr
/include
/X11R5 \
11409 /usr
/include
/X11R4 \
11411 /usr
/local
/X
11/include \
11412 /usr
/local
/X
11R
6/include \
11413 /usr
/local
/X
11R
5/include \
11414 /usr
/local
/X
11R
4/include \
11416 /usr
/local
/include
/X11 \
11417 /usr
/local
/include
/X11R6 \
11418 /usr
/local
/include
/X11R5 \
11419 /usr
/local
/include
/X11R4 \
11421 /usr
/X
386/include \
11422 /usr
/x
386/include \
11423 /usr
/XFree
86/include
/X11 \
11426 /usr
/local
/include \
11427 /usr
/unsupported
/include \
11428 /usr
/athena
/include \
11429 /usr
/local
/x
11r
5/include \
11430 /usr
/lpp
/Xamples
/include \
11432 /usr
/openwin
/include \
11433 /usr
/openwin
/share
/include \
11436 if test -r "$ac_dir/$x_direct_test_include"; then
11437 ac_x_includes
=$ac_dir
11443 fi # $ac_x_includes = NO
11445 if test "$ac_x_libraries" = NO
; then
11446 # Check for the libraries.
11448 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
11449 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
11451 # See if we find them without any special options.
11452 # Don't add to $LIBS permanently.
11453 ac_save_LIBS
="$LIBS"
11454 LIBS
="-l$x_direct_test_library $LIBS"
11455 cat > conftest.
$ac_ext <<EOF
11456 #line 11457 "configure"
11457 #include "confdefs.h"
11460 ${x_direct_test_function}()
11463 if { (eval echo configure
:11464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11465 LIBS
="$ac_save_LIBS"
11466 # We can link X programs with no special library path.
11469 echo "configure: failed program was:" >&5
11470 cat conftest.
$ac_ext >&5
11472 LIBS
="$ac_save_LIBS"
11473 # First see if replacing the include by lib works.
11474 # Check X11 before X11Rn because it is often a symlink to the current release.
11475 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
11486 /usr
/local
/X
11/lib \
11487 /usr
/local
/X
11R
6/lib \
11488 /usr
/local
/X
11R
5/lib \
11489 /usr
/local
/X
11R
4/lib \
11491 /usr
/local
/lib
/X11 \
11492 /usr
/local
/lib
/X11R6 \
11493 /usr
/local
/lib
/X11R5 \
11494 /usr
/local
/lib
/X11R4 \
11498 /usr
/XFree
86/lib
/X11 \
11502 /usr
/unsupported
/lib \
11504 /usr
/local
/x
11r
5/lib \
11505 /usr
/lpp
/Xamples
/lib \
11509 /usr
/openwin
/share
/lib \
11512 for ac_extension
in a so sl
; do
11513 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
11514 ac_x_libraries
=$ac_dir
11521 fi # $ac_x_libraries = NO
11523 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
11524 # Didn't find X anywhere. Cache the known absence of X.
11525 ac_cv_have_x
="have_x=no"
11527 # Record where we found X for the cache.
11528 ac_cv_have_x
="have_x=yes \
11529 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
11533 eval "$ac_cv_have_x"
11536 if test "$have_x" != yes; then
11537 echo "$ac_t""$have_x" 1>&6
11540 # If each of the values was on the command line, it overrides each guess.
11541 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11542 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11543 # Update the cache value to reflect the command line values.
11544 ac_cv_have_x
="have_x=yes \
11545 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11546 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
11549 if test "$no_x" = yes; then
11550 # Not all programs may use this symbol, but it does not hurt to define it.
11551 cat >> confdefs.h
<<\EOF
11552 #define X_DISPLAY_MISSING 1
11555 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
11557 if test -n "$x_includes"; then
11558 X_CFLAGS
="$X_CFLAGS -I$x_includes"
11561 # It would also be nice to do this for all -L options, not just this one.
11562 if test -n "$x_libraries"; then
11563 X_LIBS
="$X_LIBS -L$x_libraries"
11564 # For Solaris; some versions of Sun CC require a space after -R and
11565 # others require no space. Words are not sufficient . . . .
11566 case "`(uname -sr) 2>/dev/null`" in
11568 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
11569 echo "configure:11570: checking whether -R must be followed by a space" >&5
11570 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
11571 cat > conftest.
$ac_ext <<EOF
11572 #line 11573 "configure"
11573 #include "confdefs.h"
11579 if { (eval echo configure
:11580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11583 echo "configure: failed program was:" >&5
11584 cat conftest.
$ac_ext >&5
11589 if test $ac_R_nospace = yes; then
11590 echo "$ac_t""no" 1>&6
11591 X_LIBS
="$X_LIBS -R$x_libraries"
11593 LIBS
="$ac_xsave_LIBS -R $x_libraries"
11594 cat > conftest.
$ac_ext <<EOF
11595 #line 11596 "configure"
11596 #include "confdefs.h"
11602 if { (eval echo configure
:11603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11606 echo "configure: failed program was:" >&5
11607 cat conftest.
$ac_ext >&5
11612 if test $ac_R_space = yes; then
11613 echo "$ac_t""yes" 1>&6
11614 X_LIBS
="$X_LIBS -R $x_libraries"
11616 echo "$ac_t""neither works" 1>&6
11619 LIBS
="$ac_xsave_LIBS"
11623 # Check for system-dependent libraries X programs must link with.
11624 # Do this before checking for the system-independent R6 libraries
11625 # (-lICE), since we may need -lsocket or whatever for X linking.
11627 if test "$ISC" = yes; then
11628 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
11630 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
11631 # libraries were built with DECnet support. And karl@cs.umb.edu says
11632 # the Alpha needs dnet_stub (dnet does not exist).
11633 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
11634 echo "configure:11635: checking for dnet_ntoa in -ldnet" >&5
11635 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11636 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11637 echo $ac_n "(cached) $ac_c" 1>&6
11639 ac_save_LIBS
="$LIBS"
11640 LIBS
="-ldnet $LIBS"
11641 cat > conftest.
$ac_ext <<EOF
11642 #line 11643 "configure"
11643 #include "confdefs.h"
11644 /* Override any gcc2 internal prototype to avoid an error. */
11645 /* We use char because int might match the return type of a gcc2
11646 builtin and then its argument prototype would still apply. */
11653 if { (eval echo configure
:11654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11655 eval "ac_cv_lib_$ac_lib_var=yes"
11657 echo "configure: failed program was:" >&5
11658 cat conftest.
$ac_ext >&5
11660 eval "ac_cv_lib_$ac_lib_var=no"
11663 LIBS
="$ac_save_LIBS"
11666 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11667 echo "$ac_t""yes" 1>&6
11668 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
11670 echo "$ac_t""no" 1>&6
11673 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
11674 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
11675 echo "configure:11676: checking for dnet_ntoa in -ldnet_stub" >&5
11676 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11677 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11678 echo $ac_n "(cached) $ac_c" 1>&6
11680 ac_save_LIBS
="$LIBS"
11681 LIBS
="-ldnet_stub $LIBS"
11682 cat > conftest.
$ac_ext <<EOF
11683 #line 11684 "configure"
11684 #include "confdefs.h"
11685 /* Override any gcc2 internal prototype to avoid an error. */
11686 /* We use char because int might match the return type of a gcc2
11687 builtin and then its argument prototype would still apply. */
11694 if { (eval echo configure
:11695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11696 eval "ac_cv_lib_$ac_lib_var=yes"
11698 echo "configure: failed program was:" >&5
11699 cat conftest.
$ac_ext >&5
11701 eval "ac_cv_lib_$ac_lib_var=no"
11704 LIBS
="$ac_save_LIBS"
11707 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11708 echo "$ac_t""yes" 1>&6
11709 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
11711 echo "$ac_t""no" 1>&6
11716 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11717 # to get the SysV transport functions.
11718 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
11720 # The nsl library prevents programs from opening the X display
11721 # on Irix 5.2, according to dickey@clark.net.
11722 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
11723 echo "configure:11724: checking for gethostbyname" >&5
11724 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
11725 echo $ac_n "(cached) $ac_c" 1>&6
11727 cat > conftest.
$ac_ext <<EOF
11728 #line 11729 "configure"
11729 #include "confdefs.h"
11730 /* System header to define __stub macros and hopefully few prototypes,
11731 which can conflict with char gethostbyname(); below. */
11732 #include <assert.h>
11733 /* Override any gcc2 internal prototype to avoid an error. */
11734 /* We use char because int might match the return type of a gcc2
11735 builtin and then its argument prototype would still apply. */
11736 char gethostbyname();
11740 /* The GNU C library defines this for functions which it implements
11741 to always fail with ENOSYS. Some functions are actually named
11742 something starting with __ and the normal name is an alias. */
11743 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11751 if { (eval echo configure
:11752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11753 eval "ac_cv_func_gethostbyname=yes"
11755 echo "configure: failed program was:" >&5
11756 cat conftest.
$ac_ext >&5
11758 eval "ac_cv_func_gethostbyname=no"
11763 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11764 echo "$ac_t""yes" 1>&6
11767 echo "$ac_t""no" 1>&6
11770 if test $ac_cv_func_gethostbyname = no
; then
11771 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11772 echo "configure:11773: checking for gethostbyname in -lnsl" >&5
11773 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11774 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11775 echo $ac_n "(cached) $ac_c" 1>&6
11777 ac_save_LIBS
="$LIBS"
11779 cat > conftest.
$ac_ext <<EOF
11780 #line 11781 "configure"
11781 #include "confdefs.h"
11782 /* Override any gcc2 internal prototype to avoid an error. */
11783 /* We use char because int might match the return type of a gcc2
11784 builtin and then its argument prototype would still apply. */
11785 char gethostbyname();
11791 if { (eval echo configure
:11792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11793 eval "ac_cv_lib_$ac_lib_var=yes"
11795 echo "configure: failed program was:" >&5
11796 cat conftest.
$ac_ext >&5
11798 eval "ac_cv_lib_$ac_lib_var=no"
11801 LIBS
="$ac_save_LIBS"
11804 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11805 echo "$ac_t""yes" 1>&6
11806 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
11808 echo "$ac_t""no" 1>&6
11813 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11814 # socket/setsockopt and other routines are undefined under SCO ODT
11815 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11816 # on later versions), says simon@lia.di.epfl.ch: it contains
11817 # gethostby* variants that don't use the nameserver (or something).
11818 # -lsocket must be given before -lnsl if both are needed.
11819 # We assume that if connect needs -lnsl, so does gethostbyname.
11820 echo $ac_n "checking for connect""... $ac_c" 1>&6
11821 echo "configure:11822: checking for connect" >&5
11822 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11823 echo $ac_n "(cached) $ac_c" 1>&6
11825 cat > conftest.
$ac_ext <<EOF
11826 #line 11827 "configure"
11827 #include "confdefs.h"
11828 /* System header to define __stub macros and hopefully few prototypes,
11829 which can conflict with char connect(); below. */
11830 #include <assert.h>
11831 /* Override any gcc2 internal prototype to avoid an error. */
11832 /* We use char because int might match the return type of a gcc2
11833 builtin and then its argument prototype would still apply. */
11838 /* The GNU C library defines this for functions which it implements
11839 to always fail with ENOSYS. Some functions are actually named
11840 something starting with __ and the normal name is an alias. */
11841 #if defined (__stub_connect) || defined (__stub___connect)
11849 if { (eval echo configure
:11850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11851 eval "ac_cv_func_connect=yes"
11853 echo "configure: failed program was:" >&5
11854 cat conftest.
$ac_ext >&5
11856 eval "ac_cv_func_connect=no"
11861 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11862 echo "$ac_t""yes" 1>&6
11865 echo "$ac_t""no" 1>&6
11868 if test $ac_cv_func_connect = no
; then
11869 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11870 echo "configure:11871: checking for connect in -lsocket" >&5
11871 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11872 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11873 echo $ac_n "(cached) $ac_c" 1>&6
11875 ac_save_LIBS
="$LIBS"
11876 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
11877 cat > conftest.
$ac_ext <<EOF
11878 #line 11879 "configure"
11879 #include "confdefs.h"
11880 /* Override any gcc2 internal prototype to avoid an error. */
11881 /* We use char because int might match the return type of a gcc2
11882 builtin and then its argument prototype would still apply. */
11889 if { (eval echo configure
:11890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11891 eval "ac_cv_lib_$ac_lib_var=yes"
11893 echo "configure: failed program was:" >&5
11894 cat conftest.
$ac_ext >&5
11896 eval "ac_cv_lib_$ac_lib_var=no"
11899 LIBS
="$ac_save_LIBS"
11902 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11903 echo "$ac_t""yes" 1>&6
11904 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
11906 echo "$ac_t""no" 1>&6
11911 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11912 echo $ac_n "checking for remove""... $ac_c" 1>&6
11913 echo "configure:11914: checking for remove" >&5
11914 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11915 echo $ac_n "(cached) $ac_c" 1>&6
11917 cat > conftest.
$ac_ext <<EOF
11918 #line 11919 "configure"
11919 #include "confdefs.h"
11920 /* System header to define __stub macros and hopefully few prototypes,
11921 which can conflict with char remove(); below. */
11922 #include <assert.h>
11923 /* Override any gcc2 internal prototype to avoid an error. */
11924 /* We use char because int might match the return type of a gcc2
11925 builtin and then its argument prototype would still apply. */
11930 /* The GNU C library defines this for functions which it implements
11931 to always fail with ENOSYS. Some functions are actually named
11932 something starting with __ and the normal name is an alias. */
11933 #if defined (__stub_remove) || defined (__stub___remove)
11941 if { (eval echo configure
:11942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11943 eval "ac_cv_func_remove=yes"
11945 echo "configure: failed program was:" >&5
11946 cat conftest.
$ac_ext >&5
11948 eval "ac_cv_func_remove=no"
11953 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
11954 echo "$ac_t""yes" 1>&6
11957 echo "$ac_t""no" 1>&6
11960 if test $ac_cv_func_remove = no
; then
11961 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
11962 echo "configure:11963: checking for remove in -lposix" >&5
11963 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
11964 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11965 echo $ac_n "(cached) $ac_c" 1>&6
11967 ac_save_LIBS
="$LIBS"
11968 LIBS
="-lposix $LIBS"
11969 cat > conftest.
$ac_ext <<EOF
11970 #line 11971 "configure"
11971 #include "confdefs.h"
11972 /* Override any gcc2 internal prototype to avoid an error. */
11973 /* We use char because int might match the return type of a gcc2
11974 builtin and then its argument prototype would still apply. */
11981 if { (eval echo configure
:11982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11983 eval "ac_cv_lib_$ac_lib_var=yes"
11985 echo "configure: failed program was:" >&5
11986 cat conftest.
$ac_ext >&5
11988 eval "ac_cv_lib_$ac_lib_var=no"
11991 LIBS
="$ac_save_LIBS"
11994 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11995 echo "$ac_t""yes" 1>&6
11996 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
11998 echo "$ac_t""no" 1>&6
12003 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12004 echo $ac_n "checking for shmat""... $ac_c" 1>&6
12005 echo "configure:12006: checking for shmat" >&5
12006 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12007 echo $ac_n "(cached) $ac_c" 1>&6
12009 cat > conftest.
$ac_ext <<EOF
12010 #line 12011 "configure"
12011 #include "confdefs.h"
12012 /* System header to define __stub macros and hopefully few prototypes,
12013 which can conflict with char shmat(); below. */
12014 #include <assert.h>
12015 /* Override any gcc2 internal prototype to avoid an error. */
12016 /* We use char because int might match the return type of a gcc2
12017 builtin and then its argument prototype would still apply. */
12022 /* The GNU C library defines this for functions which it implements
12023 to always fail with ENOSYS. Some functions are actually named
12024 something starting with __ and the normal name is an alias. */
12025 #if defined (__stub_shmat) || defined (__stub___shmat)
12033 if { (eval echo configure
:12034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12035 eval "ac_cv_func_shmat=yes"
12037 echo "configure: failed program was:" >&5
12038 cat conftest.
$ac_ext >&5
12040 eval "ac_cv_func_shmat=no"
12045 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12046 echo "$ac_t""yes" 1>&6
12049 echo "$ac_t""no" 1>&6
12052 if test $ac_cv_func_shmat = no
; then
12053 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12054 echo "configure:12055: checking for shmat in -lipc" >&5
12055 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12056 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12057 echo $ac_n "(cached) $ac_c" 1>&6
12059 ac_save_LIBS
="$LIBS"
12061 cat > conftest.
$ac_ext <<EOF
12062 #line 12063 "configure"
12063 #include "confdefs.h"
12064 /* Override any gcc2 internal prototype to avoid an error. */
12065 /* We use char because int might match the return type of a gcc2
12066 builtin and then its argument prototype would still apply. */
12073 if { (eval echo configure
:12074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12075 eval "ac_cv_lib_$ac_lib_var=yes"
12077 echo "configure: failed program was:" >&5
12078 cat conftest.
$ac_ext >&5
12080 eval "ac_cv_lib_$ac_lib_var=no"
12083 LIBS
="$ac_save_LIBS"
12086 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12087 echo "$ac_t""yes" 1>&6
12088 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
12090 echo "$ac_t""no" 1>&6
12096 # Check for libraries that X11R6 Xt/Xaw programs need.
12097 ac_save_LDFLAGS
="$LDFLAGS"
12098 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
12099 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12100 # check for ICE first), but we must link in the order -lSM -lICE or
12101 # we get undefined symbols. So assume we have SM if we have ICE.
12102 # These have to be linked with before -lX11, unlike the other
12103 # libraries we check for below, so use a different variable.
12104 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12105 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12106 echo "configure:12107: checking for IceConnectionNumber in -lICE" >&5
12107 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12108 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12109 echo $ac_n "(cached) $ac_c" 1>&6
12111 ac_save_LIBS
="$LIBS"
12112 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
12113 cat > conftest.
$ac_ext <<EOF
12114 #line 12115 "configure"
12115 #include "confdefs.h"
12116 /* Override any gcc2 internal prototype to avoid an error. */
12117 /* We use char because int might match the return type of a gcc2
12118 builtin and then its argument prototype would still apply. */
12119 char IceConnectionNumber();
12122 IceConnectionNumber()
12125 if { (eval echo configure
:12126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12127 eval "ac_cv_lib_$ac_lib_var=yes"
12129 echo "configure: failed program was:" >&5
12130 cat conftest.
$ac_ext >&5
12132 eval "ac_cv_lib_$ac_lib_var=no"
12135 LIBS
="$ac_save_LIBS"
12138 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12139 echo "$ac_t""yes" 1>&6
12140 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
12142 echo "$ac_t""no" 1>&6
12145 LDFLAGS
="$ac_save_LDFLAGS"
12150 if test "$no_x" = "yes"; then
12151 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12154 GUI_TK_LIBRARY
="$X_LIBS"
12155 TOOLKIT_INCLUDE
="$X_CFLAGS"
12156 AFMINSTALL
=afminstall
12157 COMPILED_X_PROGRAM
=0
12159 if test "$wxUSE_NANOX" = "yes"; then
12160 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
12161 echo "configure:12162: checking for MicroWindows/NanoX distribution" >&5
12162 if test "x$MICROWIN" = x
; then
12163 echo "$ac_t""not found" 1>&6
12164 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
12166 echo "$ac_t""$MICROWIN" 1>&6
12167 cat >> confdefs.h
<<\EOF
12168 #define wxUSE_NANOX 1
12175 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12176 echo "configure:12177: checking for Xpm library" >&5
12179 for ac_dir
in $SEARCH_LIB;
12181 for ac_extension
in a so sl dylib
; do
12182 if test -f "$ac_dir/libXpm.$ac_extension"; then
12183 ac_find_libraries
=$ac_dir
12189 if test "$ac_find_libraries" != "" ; then
12191 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
12193 if test $result = 0; then
12196 ac_path_to_link
=" -L$ac_find_libraries"
12199 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
12201 cat >> confdefs.h
<<\EOF
12202 #define wxHAVE_LIB_XPM 1
12205 echo "$ac_t""found at $ac_find_libraries" 1>&6
12207 cat > conftest.
$ac_ext <<EOF
12208 #line 12209 "configure"
12209 #include "confdefs.h"
12211 #include <X11/xpm.h>
12216 version = XpmLibraryVersion();
12220 if { (eval echo configure
:12221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12224 cat >> confdefs.h
<<\EOF
12225 #define wxHAVE_LIB_XPM 1
12228 echo "$ac_t""found in default search path" 1>&6
12229 COMPILED_X_PROGRAM
=0
12232 echo "configure: failed program was:" >&5
12233 cat conftest.
$ac_ext >&5
12236 echo "$ac_t""no" 1>&6
12237 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12244 if test "$wxUSE_NANOX" = "yes"; then
12245 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
12246 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__NANOX__ -DMWPIXEL_FORMAT=MWPF_TRUECOLOR0888 -DHAVE_FILEIO -DHAVE_BMP_SUPPORT=1 -DHAVE_GIF_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1 -DLINUX=1 -DUNIX=1 -DUSE_EXPOSURE -DSCREEN_HEIGHT=480 -DSCREEN_WIDTH=640 -DSCREEN_DEPTH=4 -DX11=1"
12247 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
12249 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
12252 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
12257 if test "$wxUSE_WINE" = 1; then
12258 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
12259 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12260 echo "configure:12261: checking for windows.h" >&5
12261 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12262 echo $ac_n "(cached) $ac_c" 1>&6
12264 cat > conftest.
$ac_ext <<EOF
12265 #line 12266 "configure"
12266 #include "confdefs.h"
12267 #include <windows.h>
12269 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12270 { (eval echo configure
:12271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12271 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12272 if test -z "$ac_err"; then
12274 eval "ac_cv_header_$ac_safe=yes"
12277 echo "configure: failed program was:" >&5
12278 cat conftest.
$ac_ext >&5
12280 eval "ac_cv_header_$ac_safe=no"
12284 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12285 echo "$ac_t""yes" 1>&6
12288 echo "$ac_t""no" 1>&6
12290 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12296 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12297 echo "configure:12298: checking for Xpm library" >&5
12300 for ac_dir
in $SEARCH_LIB;
12302 for ac_extension
in a so sl dylib
; do
12303 if test -f "$ac_dir/libXpm.$ac_extension"; then
12304 ac_find_libraries
=$ac_dir
12310 if test "$ac_find_libraries" != "" ; then
12311 GUI_TK_LIBRARY
="-L$ac_find_libraries"
12313 cat >> confdefs.h
<<\EOF
12314 #define wxHAVE_LIB_XPM 1
12317 echo "$ac_t""found at $ac_find_libraries" 1>&6
12319 echo "$ac_t""no" 1>&6
12320 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12324 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
12325 echo "configure:12326: checking for Mesa library" >&5
12328 for ac_dir
in $SEARCH_LIB;
12330 for ac_extension
in a so sl dylib
; do
12331 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
12332 ac_find_libraries
=$ac_dir
12338 if test "$ac_find_libraries" != "" ; then
12339 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
12340 mesa_link
=" -lMesaGL"
12341 echo "$ac_t""found at $ac_find_libraries" 1>&6
12343 { echo "configure: error: no" 1>&2; exit 1; }
12346 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
12349 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
12352 if test "$wxUSE_MOTIF" = 1; then
12353 if test "$no_x" = yes; then
12354 # Not all programs may use this symbol, but it does not hurt to define it.
12355 cat >> confdefs.h
<<\EOF
12356 #define X_DISPLAY_MISSING 1
12359 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
12361 if test -n "$x_includes"; then
12362 X_CFLAGS
="$X_CFLAGS -I$x_includes"
12365 # It would also be nice to do this for all -L options, not just this one.
12366 if test -n "$x_libraries"; then
12367 X_LIBS
="$X_LIBS -L$x_libraries"
12368 # For Solaris; some versions of Sun CC require a space after -R and
12369 # others require no space. Words are not sufficient . . . .
12370 case "`(uname -sr) 2>/dev/null`" in
12372 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
12373 echo "configure:12374: checking whether -R must be followed by a space" >&5
12374 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
12375 cat > conftest.
$ac_ext <<EOF
12376 #line 12377 "configure"
12377 #include "confdefs.h"
12383 if { (eval echo configure
:12384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12387 echo "configure: failed program was:" >&5
12388 cat conftest.
$ac_ext >&5
12393 if test $ac_R_nospace = yes; then
12394 echo "$ac_t""no" 1>&6
12395 X_LIBS
="$X_LIBS -R$x_libraries"
12397 LIBS
="$ac_xsave_LIBS -R $x_libraries"
12398 cat > conftest.
$ac_ext <<EOF
12399 #line 12400 "configure"
12400 #include "confdefs.h"
12406 if { (eval echo configure
:12407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12410 echo "configure: failed program was:" >&5
12411 cat conftest.
$ac_ext >&5
12416 if test $ac_R_space = yes; then
12417 echo "$ac_t""yes" 1>&6
12418 X_LIBS
="$X_LIBS -R $x_libraries"
12420 echo "$ac_t""neither works" 1>&6
12423 LIBS
="$ac_xsave_LIBS"
12427 # Check for system-dependent libraries X programs must link with.
12428 # Do this before checking for the system-independent R6 libraries
12429 # (-lICE), since we may need -lsocket or whatever for X linking.
12431 if test "$ISC" = yes; then
12432 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
12434 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
12435 # libraries were built with DECnet support. And karl@cs.umb.edu says
12436 # the Alpha needs dnet_stub (dnet does not exist).
12437 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
12438 echo "configure:12439: checking for dnet_ntoa in -ldnet" >&5
12439 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12440 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12441 echo $ac_n "(cached) $ac_c" 1>&6
12443 ac_save_LIBS
="$LIBS"
12444 LIBS
="-ldnet $LIBS"
12445 cat > conftest.
$ac_ext <<EOF
12446 #line 12447 "configure"
12447 #include "confdefs.h"
12448 /* Override any gcc2 internal prototype to avoid an error. */
12449 /* We use char because int might match the return type of a gcc2
12450 builtin and then its argument prototype would still apply. */
12457 if { (eval echo configure
:12458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12459 eval "ac_cv_lib_$ac_lib_var=yes"
12461 echo "configure: failed program was:" >&5
12462 cat conftest.
$ac_ext >&5
12464 eval "ac_cv_lib_$ac_lib_var=no"
12467 LIBS
="$ac_save_LIBS"
12470 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12471 echo "$ac_t""yes" 1>&6
12472 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
12474 echo "$ac_t""no" 1>&6
12477 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
12478 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
12479 echo "configure:12480: checking for dnet_ntoa in -ldnet_stub" >&5
12480 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12481 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12482 echo $ac_n "(cached) $ac_c" 1>&6
12484 ac_save_LIBS
="$LIBS"
12485 LIBS
="-ldnet_stub $LIBS"
12486 cat > conftest.
$ac_ext <<EOF
12487 #line 12488 "configure"
12488 #include "confdefs.h"
12489 /* Override any gcc2 internal prototype to avoid an error. */
12490 /* We use char because int might match the return type of a gcc2
12491 builtin and then its argument prototype would still apply. */
12498 if { (eval echo configure
:12499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12500 eval "ac_cv_lib_$ac_lib_var=yes"
12502 echo "configure: failed program was:" >&5
12503 cat conftest.
$ac_ext >&5
12505 eval "ac_cv_lib_$ac_lib_var=no"
12508 LIBS
="$ac_save_LIBS"
12511 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12512 echo "$ac_t""yes" 1>&6
12513 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
12515 echo "$ac_t""no" 1>&6
12520 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
12521 # to get the SysV transport functions.
12522 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
12524 # The nsl library prevents programs from opening the X display
12525 # on Irix 5.2, according to dickey@clark.net.
12526 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
12527 echo "configure:12528: checking for gethostbyname" >&5
12528 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
12529 echo $ac_n "(cached) $ac_c" 1>&6
12531 cat > conftest.
$ac_ext <<EOF
12532 #line 12533 "configure"
12533 #include "confdefs.h"
12534 /* System header to define __stub macros and hopefully few prototypes,
12535 which can conflict with char gethostbyname(); below. */
12536 #include <assert.h>
12537 /* Override any gcc2 internal prototype to avoid an error. */
12538 /* We use char because int might match the return type of a gcc2
12539 builtin and then its argument prototype would still apply. */
12540 char gethostbyname();
12544 /* The GNU C library defines this for functions which it implements
12545 to always fail with ENOSYS. Some functions are actually named
12546 something starting with __ and the normal name is an alias. */
12547 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
12555 if { (eval echo configure
:12556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12557 eval "ac_cv_func_gethostbyname=yes"
12559 echo "configure: failed program was:" >&5
12560 cat conftest.
$ac_ext >&5
12562 eval "ac_cv_func_gethostbyname=no"
12567 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
12568 echo "$ac_t""yes" 1>&6
12571 echo "$ac_t""no" 1>&6
12574 if test $ac_cv_func_gethostbyname = no
; then
12575 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
12576 echo "configure:12577: checking for gethostbyname in -lnsl" >&5
12577 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
12578 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12579 echo $ac_n "(cached) $ac_c" 1>&6
12581 ac_save_LIBS
="$LIBS"
12583 cat > conftest.
$ac_ext <<EOF
12584 #line 12585 "configure"
12585 #include "confdefs.h"
12586 /* Override any gcc2 internal prototype to avoid an error. */
12587 /* We use char because int might match the return type of a gcc2
12588 builtin and then its argument prototype would still apply. */
12589 char gethostbyname();
12595 if { (eval echo configure
:12596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12597 eval "ac_cv_lib_$ac_lib_var=yes"
12599 echo "configure: failed program was:" >&5
12600 cat conftest.
$ac_ext >&5
12602 eval "ac_cv_lib_$ac_lib_var=no"
12605 LIBS
="$ac_save_LIBS"
12608 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12609 echo "$ac_t""yes" 1>&6
12610 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
12612 echo "$ac_t""no" 1>&6
12617 # lieder@skyler.mavd.honeywell.com says without -lsocket,
12618 # socket/setsockopt and other routines are undefined under SCO ODT
12619 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
12620 # on later versions), says simon@lia.di.epfl.ch: it contains
12621 # gethostby* variants that don't use the nameserver (or something).
12622 # -lsocket must be given before -lnsl if both are needed.
12623 # We assume that if connect needs -lnsl, so does gethostbyname.
12624 echo $ac_n "checking for connect""... $ac_c" 1>&6
12625 echo "configure:12626: checking for connect" >&5
12626 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
12627 echo $ac_n "(cached) $ac_c" 1>&6
12629 cat > conftest.
$ac_ext <<EOF
12630 #line 12631 "configure"
12631 #include "confdefs.h"
12632 /* System header to define __stub macros and hopefully few prototypes,
12633 which can conflict with char connect(); below. */
12634 #include <assert.h>
12635 /* Override any gcc2 internal prototype to avoid an error. */
12636 /* We use char because int might match the return type of a gcc2
12637 builtin and then its argument prototype would still apply. */
12642 /* The GNU C library defines this for functions which it implements
12643 to always fail with ENOSYS. Some functions are actually named
12644 something starting with __ and the normal name is an alias. */
12645 #if defined (__stub_connect) || defined (__stub___connect)
12653 if { (eval echo configure
:12654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12655 eval "ac_cv_func_connect=yes"
12657 echo "configure: failed program was:" >&5
12658 cat conftest.
$ac_ext >&5
12660 eval "ac_cv_func_connect=no"
12665 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
12666 echo "$ac_t""yes" 1>&6
12669 echo "$ac_t""no" 1>&6
12672 if test $ac_cv_func_connect = no
; then
12673 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
12674 echo "configure:12675: checking for connect in -lsocket" >&5
12675 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
12676 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12677 echo $ac_n "(cached) $ac_c" 1>&6
12679 ac_save_LIBS
="$LIBS"
12680 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
12681 cat > conftest.
$ac_ext <<EOF
12682 #line 12683 "configure"
12683 #include "confdefs.h"
12684 /* Override any gcc2 internal prototype to avoid an error. */
12685 /* We use char because int might match the return type of a gcc2
12686 builtin and then its argument prototype would still apply. */
12693 if { (eval echo configure
:12694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12695 eval "ac_cv_lib_$ac_lib_var=yes"
12697 echo "configure: failed program was:" >&5
12698 cat conftest.
$ac_ext >&5
12700 eval "ac_cv_lib_$ac_lib_var=no"
12703 LIBS
="$ac_save_LIBS"
12706 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12707 echo "$ac_t""yes" 1>&6
12708 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
12710 echo "$ac_t""no" 1>&6
12715 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
12716 echo $ac_n "checking for remove""... $ac_c" 1>&6
12717 echo "configure:12718: checking for remove" >&5
12718 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
12719 echo $ac_n "(cached) $ac_c" 1>&6
12721 cat > conftest.
$ac_ext <<EOF
12722 #line 12723 "configure"
12723 #include "confdefs.h"
12724 /* System header to define __stub macros and hopefully few prototypes,
12725 which can conflict with char remove(); below. */
12726 #include <assert.h>
12727 /* Override any gcc2 internal prototype to avoid an error. */
12728 /* We use char because int might match the return type of a gcc2
12729 builtin and then its argument prototype would still apply. */
12734 /* The GNU C library defines this for functions which it implements
12735 to always fail with ENOSYS. Some functions are actually named
12736 something starting with __ and the normal name is an alias. */
12737 #if defined (__stub_remove) || defined (__stub___remove)
12745 if { (eval echo configure
:12746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12747 eval "ac_cv_func_remove=yes"
12749 echo "configure: failed program was:" >&5
12750 cat conftest.
$ac_ext >&5
12752 eval "ac_cv_func_remove=no"
12757 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
12758 echo "$ac_t""yes" 1>&6
12761 echo "$ac_t""no" 1>&6
12764 if test $ac_cv_func_remove = no
; then
12765 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
12766 echo "configure:12767: checking for remove in -lposix" >&5
12767 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
12768 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12769 echo $ac_n "(cached) $ac_c" 1>&6
12771 ac_save_LIBS
="$LIBS"
12772 LIBS
="-lposix $LIBS"
12773 cat > conftest.
$ac_ext <<EOF
12774 #line 12775 "configure"
12775 #include "confdefs.h"
12776 /* Override any gcc2 internal prototype to avoid an error. */
12777 /* We use char because int might match the return type of a gcc2
12778 builtin and then its argument prototype would still apply. */
12785 if { (eval echo configure
:12786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12787 eval "ac_cv_lib_$ac_lib_var=yes"
12789 echo "configure: failed program was:" >&5
12790 cat conftest.
$ac_ext >&5
12792 eval "ac_cv_lib_$ac_lib_var=no"
12795 LIBS
="$ac_save_LIBS"
12798 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12799 echo "$ac_t""yes" 1>&6
12800 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
12802 echo "$ac_t""no" 1>&6
12807 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12808 echo $ac_n "checking for shmat""... $ac_c" 1>&6
12809 echo "configure:12810: checking for shmat" >&5
12810 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12811 echo $ac_n "(cached) $ac_c" 1>&6
12813 cat > conftest.
$ac_ext <<EOF
12814 #line 12815 "configure"
12815 #include "confdefs.h"
12816 /* System header to define __stub macros and hopefully few prototypes,
12817 which can conflict with char shmat(); below. */
12818 #include <assert.h>
12819 /* Override any gcc2 internal prototype to avoid an error. */
12820 /* We use char because int might match the return type of a gcc2
12821 builtin and then its argument prototype would still apply. */
12826 /* The GNU C library defines this for functions which it implements
12827 to always fail with ENOSYS. Some functions are actually named
12828 something starting with __ and the normal name is an alias. */
12829 #if defined (__stub_shmat) || defined (__stub___shmat)
12837 if { (eval echo configure
:12838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12839 eval "ac_cv_func_shmat=yes"
12841 echo "configure: failed program was:" >&5
12842 cat conftest.
$ac_ext >&5
12844 eval "ac_cv_func_shmat=no"
12849 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12850 echo "$ac_t""yes" 1>&6
12853 echo "$ac_t""no" 1>&6
12856 if test $ac_cv_func_shmat = no
; then
12857 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12858 echo "configure:12859: checking for shmat in -lipc" >&5
12859 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12860 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12861 echo $ac_n "(cached) $ac_c" 1>&6
12863 ac_save_LIBS
="$LIBS"
12865 cat > conftest.
$ac_ext <<EOF
12866 #line 12867 "configure"
12867 #include "confdefs.h"
12868 /* Override any gcc2 internal prototype to avoid an error. */
12869 /* We use char because int might match the return type of a gcc2
12870 builtin and then its argument prototype would still apply. */
12877 if { (eval echo configure
:12878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12879 eval "ac_cv_lib_$ac_lib_var=yes"
12881 echo "configure: failed program was:" >&5
12882 cat conftest.
$ac_ext >&5
12884 eval "ac_cv_lib_$ac_lib_var=no"
12887 LIBS
="$ac_save_LIBS"
12890 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12891 echo "$ac_t""yes" 1>&6
12892 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
12894 echo "$ac_t""no" 1>&6
12900 # Check for libraries that X11R6 Xt/Xaw programs need.
12901 ac_save_LDFLAGS
="$LDFLAGS"
12902 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
12903 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12904 # check for ICE first), but we must link in the order -lSM -lICE or
12905 # we get undefined symbols. So assume we have SM if we have ICE.
12906 # These have to be linked with before -lX11, unlike the other
12907 # libraries we check for below, so use a different variable.
12908 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12909 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12910 echo "configure:12911: checking for IceConnectionNumber in -lICE" >&5
12911 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12912 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12913 echo $ac_n "(cached) $ac_c" 1>&6
12915 ac_save_LIBS
="$LIBS"
12916 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
12917 cat > conftest.
$ac_ext <<EOF
12918 #line 12919 "configure"
12919 #include "confdefs.h"
12920 /* Override any gcc2 internal prototype to avoid an error. */
12921 /* We use char because int might match the return type of a gcc2
12922 builtin and then its argument prototype would still apply. */
12923 char IceConnectionNumber();
12926 IceConnectionNumber()
12929 if { (eval echo configure
:12930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12931 eval "ac_cv_lib_$ac_lib_var=yes"
12933 echo "configure: failed program was:" >&5
12934 cat conftest.
$ac_ext >&5
12936 eval "ac_cv_lib_$ac_lib_var=no"
12939 LIBS
="$ac_save_LIBS"
12942 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12943 echo "$ac_t""yes" 1>&6
12944 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
12946 echo "$ac_t""no" 1>&6
12949 LDFLAGS
="$ac_save_LDFLAGS"
12954 if test "$no_x" = "yes"; then
12955 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12958 GUI_TK_LIBRARY
="$X_LIBS"
12959 TOOLKIT_INCLUDE
="$X_CFLAGS"
12960 AFMINSTALL
=afminstall
12961 COMPILED_X_PROGRAM
=0
12963 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
12964 echo "configure:12965: checking for Motif/Lesstif headers" >&5
12967 for ac_dir
in $SEARCH_INCLUDE;
12969 if test -f "$ac_dir/Xm/Xm.h"; then
12970 ac_find_includes
=$ac_dir
12975 if test "$ac_find_includes" != "" ; then
12976 echo "$ac_t""found $ac_find_includes" 1>&6
12978 cat > conftest.
$ac_ext <<EOF
12979 #line 12980 "configure"
12980 #include "confdefs.h"
12987 version = xmUseVersion;
12991 if { (eval echo configure
:12992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12994 echo "$ac_t""found in default search path" 1>&6
12995 COMPILED_X_PROGRAM
=1
12998 echo "configure: failed program was:" >&5
12999 cat conftest.
$ac_ext >&5
13002 echo "$ac_t""no" 1>&6
13003 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
13010 if test "$COMPILED_X_PROGRAM" = 0; then
13011 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
13012 echo "configure:13013: checking for Motif/Lesstif library" >&5
13015 for ac_dir
in $SEARCH_LIB;
13017 for ac_extension
in a so sl dylib
; do
13018 if test -f "$ac_dir/libXm.$ac_extension"; then
13019 ac_find_libraries
=$ac_dir
13025 if test "$ac_find_libraries" != "" ; then
13027 ac_path_to_include
=$ac_find_includes
13028 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
13030 if test $result = 0; then
13031 ac_path_to_include
=""
13033 ac_path_to_include
=" -I$ac_find_includes"
13037 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13039 if test $result = 0; then
13042 ac_path_to_link
=" -L$ac_find_libraries"
13046 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13047 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
13048 echo "$ac_t""found at $ac_find_libraries" 1>&6
13050 cat > conftest.
$ac_ext <<EOF
13051 #line 13052 "configure"
13052 #include "confdefs.h"
13059 version = xmUseVersion;
13063 if { (eval echo configure
:13064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13066 echo "$ac_t""found in default search path" 1>&6
13067 COMPILED_X_PROGRAM
=1
13070 echo "configure: failed program was:" >&5
13071 cat conftest.
$ac_ext >&5
13074 echo "$ac_t""no" 1>&6
13075 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
13084 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13085 echo "configure:13086: checking for Xpm library" >&5
13088 for ac_dir
in $SEARCH_LIB;
13090 for ac_extension
in a so sl dylib
; do
13091 if test -f "$ac_dir/libXpm.$ac_extension"; then
13092 ac_find_libraries
=$ac_dir
13098 if test "$ac_find_libraries" != "" ; then
13100 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13102 if test $result = 0; then
13105 ac_path_to_link
=" -L$ac_find_libraries"
13108 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13110 cat >> confdefs.h
<<\EOF
13111 #define wxHAVE_LIB_XPM 1
13114 echo "$ac_t""found at $ac_find_libraries" 1>&6
13116 cat > conftest.
$ac_ext <<EOF
13117 #line 13118 "configure"
13118 #include "confdefs.h"
13120 #include <X11/xpm.h>
13125 version = XpmLibraryVersion();
13129 if { (eval echo configure
:13130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13133 cat >> confdefs.h
<<\EOF
13134 #define wxHAVE_LIB_XPM 1
13137 echo "$ac_t""found in default search path" 1>&6
13138 COMPILED_X_PROGRAM
=0
13141 echo "configure: failed program was:" >&5
13142 cat conftest.
$ac_ext >&5
13145 echo "$ac_t""no" 1>&6
13146 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13153 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
13154 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
13159 if test "$wxUSE_MAC" = 1; then
13160 if test "$wxUSE_PRECOMP" = "yes"; then
13161 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
13163 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
13164 CFLAGS
="$CFLAGS -fpascal-strings"
13165 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
13167 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
13172 if test "$wxUSE_PM" = 1; then
13177 if test "$TOOLKIT" = "PM" ; then
13180 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
13183 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
13185 if test "$wxUSE_UNIVERSAL" = "yes"; then
13186 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
13188 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
13189 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
13191 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
13192 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
13193 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
13196 ALL_OBJECTS
="\$(GUIOBJS)"
13197 ALL_SOURCES
="\$(ALL_SOURCES)"
13198 ALL_HEADERS
="\$(ALL_HEADERS)"
13201 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
13203 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
13204 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
13207 if test "$wxUSE_HTML" = "yes"; then
13208 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
13211 if test "$wxUSE_LIBJPEG" = "builtin" ; then
13212 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
13214 if test "$wxUSE_LIBTIFF" = "builtin" ; then
13215 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
13217 if test "$wxUSE_LIBPNG" = "builtin" ; then
13218 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
13221 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
13222 DISTDIR
="wx\$(TOOLKIT)"
13228 if test "$USE_WIN32" = 1 ; then
13229 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
13230 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
13234 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
13235 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
13238 ALL_SOURCES
="\$(ALL_SOURCES)"
13239 ALL_HEADERS
="\$(ALL_HEADERS)"
13241 PORT_FILES
="\${top_srcdir}/src/files.lst"
13243 GUIDIST
="BASE_DIST"
13248 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
13249 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
13252 if test "$wxUSE_REGEX" = "builtin" ; then
13253 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
13255 if test "$wxUSE_ZLIB" = "builtin" ; then
13256 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
13259 if test "$wxUSE_OPENGL" = "yes"; then
13260 if test "$wxUSE_MAC" = 1; then
13261 OPENGL_LIBS
="-framework OpenGL -framework AGL"
13264 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
13265 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
13266 echo "configure:13267: checking for GL/gl.h" >&5
13267 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13268 echo $ac_n "(cached) $ac_c" 1>&6
13270 cat > conftest.
$ac_ext <<EOF
13271 #line 13272 "configure"
13272 #include "confdefs.h"
13275 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13276 { (eval echo configure
:13277: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13277 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13278 if test -z "$ac_err"; then
13280 eval "ac_cv_header_$ac_safe=yes"
13283 echo "configure: failed program was:" >&5
13284 cat conftest.
$ac_ext >&5
13286 eval "ac_cv_header_$ac_safe=no"
13290 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13291 echo "$ac_t""yes" 1>&6
13293 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
13294 echo "configure:13295: checking for -lGL" >&5
13297 for ac_dir
in $SEARCH_LIB;
13299 for ac_extension
in a so sl dylib
; do
13300 if test -f "$ac_dir/libGL.$ac_extension"; then
13301 ac_find_libraries
=$ac_dir
13307 if test "$ac_find_libraries" != "" ; then
13309 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
13311 if test $result = 0; then
13314 ac_path_to_link
=" -L$ac_find_libraries"
13317 if test "$ac_path_to_link" = " -L/usr/lib" ; then
13318 LDFLAGS_GL
="$LDFLAGS"
13320 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
13322 OPENGL_LIBS
="-lGL -lGLU"
13323 echo "$ac_t""yes" 1>&6
13325 echo "$ac_t""no" 1>&6
13326 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
13327 echo "configure:13328: checking for -lMesaGL" >&5
13330 for ac_dir
in $SEARCH_LIB;
13332 for ac_extension
in a so sl dylib
; do
13333 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
13334 ac_find_libraries
=$ac_dir
13340 if test "$ac_find_libraries" != "" ; then
13342 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
13344 if test $result = 0; then
13347 ac_path_to_link
=" -L$ac_find_libraries"
13350 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
13351 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
13352 echo "$ac_t""yes" 1>&6
13354 echo "$ac_t""no" 1>&6
13359 echo "$ac_t""no" 1>&6
13364 # AC_CHECK_HEADER(GL/gl.h,
13366 # AC_CHECK_LIB(GL, glFlush,
13368 # OPENGL_LIBS="-lGL -lGLU"
13371 # AC_CHECK_LIB(MesaGL, glFlush,
13373 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
13381 if test "x$OPENGL_LIBS" = "x"; then
13382 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
13386 if test "$wxUSE_OPENGL" = "yes"; then
13387 cat >> confdefs.h
<<\EOF
13388 #define wxUSE_OPENGL 1
13391 cat >> confdefs.h
<<\EOF
13392 #define wxUSE_GLCANVAS 1
13395 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
13399 if test -z "$TOOLKIT_VPATH" ; then
13400 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
13403 if test -n "$TOOLKIT" ; then
13404 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
13407 lib_unicode_suffix
=
13408 if test "$wxUSE_UNICODE" = "yes"; then
13409 lib_unicode_suffix
=u
13413 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
13417 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
13418 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
13420 if test "$cross_compiling" = "yes"; then
13421 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
13422 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
13425 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
13426 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
13428 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
13429 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
13431 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
13432 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
13433 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
13434 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
13436 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
13437 WX_RESOURCES_MACOSX_COMPILED
="lib${WX_LIBRARY}.r"
13440 *-*-cygwin* | *-*-mingw32* )
13444 if test "$cross_compiling" != "yes"; then
13445 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
13446 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
13447 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
13448 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
13450 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
13451 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
13456 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
13457 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
13459 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
13460 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
13462 if test "$wxUSE_OPENGL" = "yes"; then
13463 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
13464 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
13469 if test "$wxUSE_SHARED" = "yes"; then
13471 *-pc-os2_emx | *-pc-os2-emx | \
13474 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
13479 if test "$wxUSE_SHARED" = "yes"; then
13481 if test "$wxUSE_OPENGL" = "yes"; then
13482 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
13483 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
13485 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
13486 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
13489 if test "$GCC" = "yes"; then
13493 SHARED_LD
="${CXX} -shared -o"
13497 if test "$GCC" == "yes"; then
13498 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
13500 LDFLAGS
="$LDFLAGS -L/usr/lib"
13502 SHARED_LD
="${CXX} -b -o"
13506 if test "$wxUSE_OPENGL" = "yes"; then
13507 WX_ALL_INSTALLED
="preinstall_gl"
13508 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
13510 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
13515 if test "$GCC" != "yes"; then
13516 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
13517 echo "configure:13518: checking for Intel compiler" >&5
13518 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
13519 echo $ac_n "(cached) $ac_c" 1>&6
13522 cat > conftest.
$ac_ext <<EOF
13523 #line 13524 "configure"
13524 #include "confdefs.h"
13528 #ifndef __INTEL_COMPILER
13534 if { (eval echo configure
:13535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13538 echo "configure: failed program was:" >&5
13539 cat conftest.
$ac_ext >&5
13548 echo "$ac_t""$wx_cv_prog_icc" 1>&6
13549 if test "$wx_cv_prog_icc" = "yes"; then
13554 if test "$wxUSE_SONAME" = "yes" ; then
13555 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
13556 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
13557 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
13562 if test "$GCC" = yes ; then
13563 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
13565 SHARED_LD
="${CXX} -G -o"
13567 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
13568 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
13573 CFLAGS
="$CFLAGS -fno-common -DDYLIB_INIT"
13574 CXXFLAGS
="$CXXFLAGS -fno-common -DDYLIB_INIT"
13575 SHARED_LD
="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
13576 PIC_FLAG
="-dynamic -fPIC"
13577 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"
13578 SONAME_FLAGS_GL
=${SONAME_FLAGS}
13582 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
13585 *-*-cygwin* | *-*-mingw32* )
13587 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
13589 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
13590 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
13592 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
13594 if test "$wxUSE_OPENGL" = "yes"; then
13595 WX_ALL_INSTALLED
="preinstall_gl"
13596 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
13598 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
13603 SHARED_LD
="${LD} -shared -o"
13606 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
13608 *-*-irix5* | *-*-irix6* | \
13615 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
13618 if test "x$WX_TARGET_LIBRARY" = "x"; then
13619 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
13620 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
13623 WX_TARGET_LIBRARY_TYPE
="so"
13624 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
13627 if test "$wxUSE_SHARED" = "no"; then
13629 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
13630 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
13633 if test "$wxUSE_MAC" = 1; then
13634 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
13637 if test "$wxUSE_OPENGL" = "yes"; then
13638 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
13639 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
13641 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
13644 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
13645 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
13647 WX_TARGET_LIBRARY_TYPE
="a"
13648 INSTALL_LIBRARY
='$(INSTALL_DATA)'
13651 if test "$wxUSE_MAC" = 1; then
13652 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
13653 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
13654 # Extract the first word of "Rez", so it can be a program name with args.
13655 set dummy Rez
; ac_word
=$2
13656 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13657 echo "configure:13658: checking for $ac_word" >&5
13658 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
13659 echo $ac_n "(cached) $ac_c" 1>&6
13661 if test -n "$RESCOMP"; then
13662 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
13664 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13666 for ac_dir
in $ac_dummy; do
13667 test -z "$ac_dir" && ac_dir
=.
13668 if test -f $ac_dir/$ac_word; then
13669 ac_cv_prog_RESCOMP
="Rez"
13674 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
13677 RESCOMP
="$ac_cv_prog_RESCOMP"
13678 if test -n "$RESCOMP"; then
13679 echo "$ac_t""$RESCOMP" 1>&6
13681 echo "$ac_t""no" 1>&6
13684 # Extract the first word of "DeRez", so it can be a program name with args.
13685 set dummy DeRez
; ac_word
=$2
13686 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13687 echo "configure:13688: checking for $ac_word" >&5
13688 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
13689 echo $ac_n "(cached) $ac_c" 1>&6
13691 if test -n "$DEREZ"; then
13692 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
13694 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13696 for ac_dir
in $ac_dummy; do
13697 test -z "$ac_dir" && ac_dir
=.
13698 if test -f $ac_dir/$ac_word; then
13699 ac_cv_prog_DEREZ
="DeRez"
13704 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
13707 DEREZ
="$ac_cv_prog_DEREZ"
13708 if test -n "$DEREZ"; then
13709 echo "$ac_t""$DEREZ" 1>&6
13711 echo "$ac_t""no" 1>&6
13714 MACOSX_BUNDLE
="bundle"
13715 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
13716 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
13717 LIBWXMACRESWXCONFIG
="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
13719 if test "$wxUSE_PM" = 1; then
13720 LIBWXMACRESCOMP
="emxbind -ep \$(BIN_PROGRAM)"
13725 if test "$wxUSE_MAC" != 1; then
13726 for ac_hdr
in strings.h
13728 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13729 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13730 echo "configure:13731: checking for $ac_hdr" >&5
13731 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13732 echo $ac_n "(cached) $ac_c" 1>&6
13734 cat > conftest.
$ac_ext <<EOF
13735 #line 13736 "configure"
13736 #include "confdefs.h"
13739 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13740 { (eval echo configure
:13741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13741 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13742 if test -z "$ac_err"; then
13744 eval "ac_cv_header_$ac_safe=yes"
13747 echo "configure: failed program was:" >&5
13748 cat conftest.
$ac_ext >&5
13750 eval "ac_cv_header_$ac_safe=no"
13754 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13755 echo "$ac_t""yes" 1>&6
13756 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13757 cat >> confdefs.h
<<EOF
13758 #define $ac_tr_hdr 1
13762 echo "$ac_t""no" 1>&6
13768 for ac_hdr
in stdlib.h
13770 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13771 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13772 echo "configure:13773: checking for $ac_hdr" >&5
13773 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13774 echo $ac_n "(cached) $ac_c" 1>&6
13776 cat > conftest.
$ac_ext <<EOF
13777 #line 13778 "configure"
13778 #include "confdefs.h"
13781 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13782 { (eval echo configure
:13783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13783 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13784 if test -z "$ac_err"; then
13786 eval "ac_cv_header_$ac_safe=yes"
13789 echo "configure: failed program was:" >&5
13790 cat conftest.
$ac_ext >&5
13792 eval "ac_cv_header_$ac_safe=no"
13796 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13797 echo "$ac_t""yes" 1>&6
13798 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13799 cat >> confdefs.h
<<EOF
13800 #define $ac_tr_hdr 1
13804 echo "$ac_t""no" 1>&6
13808 for ac_hdr
in malloc.h
13810 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13811 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13812 echo "configure:13813: checking for $ac_hdr" >&5
13813 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13814 echo $ac_n "(cached) $ac_c" 1>&6
13816 cat > conftest.
$ac_ext <<EOF
13817 #line 13818 "configure"
13818 #include "confdefs.h"
13821 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13822 { (eval echo configure
:13823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13823 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13824 if test -z "$ac_err"; then
13826 eval "ac_cv_header_$ac_safe=yes"
13829 echo "configure: failed program was:" >&5
13830 cat conftest.
$ac_ext >&5
13832 eval "ac_cv_header_$ac_safe=no"
13836 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13837 echo "$ac_t""yes" 1>&6
13838 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13839 cat >> confdefs.h
<<EOF
13840 #define $ac_tr_hdr 1
13844 echo "$ac_t""no" 1>&6
13848 for ac_hdr
in unistd.h
13850 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13851 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13852 echo "configure:13853: checking for $ac_hdr" >&5
13853 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13854 echo $ac_n "(cached) $ac_c" 1>&6
13856 cat > conftest.
$ac_ext <<EOF
13857 #line 13858 "configure"
13858 #include "confdefs.h"
13861 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13862 { (eval echo configure
:13863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13863 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13864 if test -z "$ac_err"; then
13866 eval "ac_cv_header_$ac_safe=yes"
13869 echo "configure: failed program was:" >&5
13870 cat conftest.
$ac_ext >&5
13872 eval "ac_cv_header_$ac_safe=no"
13876 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13877 echo "$ac_t""yes" 1>&6
13878 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13879 cat >> confdefs.h
<<EOF
13880 #define $ac_tr_hdr 1
13884 echo "$ac_t""no" 1>&6
13888 for ac_hdr
in wchar.h
13890 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13891 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13892 echo "configure:13893: checking for $ac_hdr" >&5
13893 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13894 echo $ac_n "(cached) $ac_c" 1>&6
13896 cat > conftest.
$ac_ext <<EOF
13897 #line 13898 "configure"
13898 #include "confdefs.h"
13901 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13902 { (eval echo configure
:13903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13903 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13904 if test -z "$ac_err"; then
13906 eval "ac_cv_header_$ac_safe=yes"
13909 echo "configure: failed program was:" >&5
13910 cat conftest.
$ac_ext >&5
13912 eval "ac_cv_header_$ac_safe=no"
13916 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13917 echo "$ac_t""yes" 1>&6
13918 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13919 cat >> confdefs.h
<<EOF
13920 #define $ac_tr_hdr 1
13924 echo "$ac_t""no" 1>&6
13928 for ac_hdr
in wcstr.h
13930 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13931 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13932 echo "configure:13933: checking for $ac_hdr" >&5
13933 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13934 echo $ac_n "(cached) $ac_c" 1>&6
13936 cat > conftest.
$ac_ext <<EOF
13937 #line 13938 "configure"
13938 #include "confdefs.h"
13941 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13942 { (eval echo configure
:13943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13943 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13944 if test -z "$ac_err"; then
13946 eval "ac_cv_header_$ac_safe=yes"
13949 echo "configure: failed program was:" >&5
13950 cat conftest.
$ac_ext >&5
13952 eval "ac_cv_header_$ac_safe=no"
13956 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13957 echo "$ac_t""yes" 1>&6
13958 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13959 cat >> confdefs.h
<<EOF
13960 #define $ac_tr_hdr 1
13964 echo "$ac_t""no" 1>&6
13968 for ac_hdr
in wctype.h
13970 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13971 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13972 echo "configure:13973: checking for $ac_hdr" >&5
13973 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13974 echo $ac_n "(cached) $ac_c" 1>&6
13976 cat > conftest.
$ac_ext <<EOF
13977 #line 13978 "configure"
13978 #include "confdefs.h"
13981 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13982 { (eval echo configure
:13983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13983 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13984 if test -z "$ac_err"; then
13986 eval "ac_cv_header_$ac_safe=yes"
13989 echo "configure: failed program was:" >&5
13990 cat conftest.
$ac_ext >&5
13992 eval "ac_cv_header_$ac_safe=no"
13996 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13997 echo "$ac_t""yes" 1>&6
13998 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13999 cat >> confdefs.h
<<EOF
14000 #define $ac_tr_hdr 1
14004 echo "$ac_t""no" 1>&6
14008 for ac_hdr
in fnmatch.h
14010 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14011 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14012 echo "configure:14013: checking for $ac_hdr" >&5
14013 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14014 echo $ac_n "(cached) $ac_c" 1>&6
14016 cat > conftest.
$ac_ext <<EOF
14017 #line 14018 "configure"
14018 #include "confdefs.h"
14021 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14022 { (eval echo configure
:14023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14023 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14024 if test -z "$ac_err"; then
14026 eval "ac_cv_header_$ac_safe=yes"
14029 echo "configure: failed program was:" >&5
14030 cat conftest.
$ac_ext >&5
14032 eval "ac_cv_header_$ac_safe=no"
14036 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14037 echo "$ac_t""yes" 1>&6
14038 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14039 cat >> confdefs.h
<<EOF
14040 #define $ac_tr_hdr 1
14044 echo "$ac_t""no" 1>&6
14048 for ac_hdr
in langinfo.h
14050 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14051 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14052 echo "configure:14053: checking for $ac_hdr" >&5
14053 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14054 echo $ac_n "(cached) $ac_c" 1>&6
14056 cat > conftest.
$ac_ext <<EOF
14057 #line 14058 "configure"
14058 #include "confdefs.h"
14061 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14062 { (eval echo configure
:14063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14063 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14064 if test -z "$ac_err"; then
14066 eval "ac_cv_header_$ac_safe=yes"
14069 echo "configure: failed program was:" >&5
14070 cat conftest.
$ac_ext >&5
14072 eval "ac_cv_header_$ac_safe=no"
14076 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14077 echo "$ac_t""yes" 1>&6
14078 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14079 cat >> confdefs.h
<<EOF
14080 #define $ac_tr_hdr 1
14084 echo "$ac_t""no" 1>&6
14089 if test "$wxUSE_GUI" = "yes"; then
14090 if test "$wxUSE_UNIX" = "yes"; then
14091 for ac_hdr
in X
11/XKBlib.h
14093 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14094 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14095 echo "configure:14096: checking for $ac_hdr" >&5
14096 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14097 echo $ac_n "(cached) $ac_c" 1>&6
14099 cat > conftest.
$ac_ext <<EOF
14100 #line 14101 "configure"
14101 #include "confdefs.h"
14104 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14105 { (eval echo configure
:14106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14106 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14107 if test -z "$ac_err"; then
14109 eval "ac_cv_header_$ac_safe=yes"
14112 echo "configure: failed program was:" >&5
14113 cat conftest.
$ac_ext >&5
14115 eval "ac_cv_header_$ac_safe=no"
14119 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14120 echo "$ac_t""yes" 1>&6
14121 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14122 cat >> confdefs.h
<<EOF
14123 #define $ac_tr_hdr 1
14127 echo "$ac_t""no" 1>&6
14135 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
14136 echo "configure:14137: checking for ANSI C header files" >&5
14137 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
14138 echo $ac_n "(cached) $ac_c" 1>&6
14140 cat > conftest.
$ac_ext <<EOF
14141 #line 14142 "configure"
14142 #include "confdefs.h"
14143 #include <stdlib.h>
14144 #include <stdarg.h>
14145 #include <string.h>
14148 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14149 { (eval echo configure
:14150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14150 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14151 if test -z "$ac_err"; then
14153 ac_cv_header_stdc
=yes
14156 echo "configure: failed program was:" >&5
14157 cat conftest.
$ac_ext >&5
14159 ac_cv_header_stdc
=no
14163 if test $ac_cv_header_stdc = yes; then
14164 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14165 cat > conftest.
$ac_ext <<EOF
14166 #line 14167 "configure"
14167 #include "confdefs.h"
14168 #include <string.h>
14170 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14171 egrep "memchr" >/dev
/null
2>&1; then
14175 ac_cv_header_stdc
=no
14181 if test $ac_cv_header_stdc = yes; then
14182 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14183 cat > conftest.
$ac_ext <<EOF
14184 #line 14185 "configure"
14185 #include "confdefs.h"
14186 #include <stdlib.h>
14188 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14189 egrep "free" >/dev
/null
2>&1; then
14193 ac_cv_header_stdc
=no
14199 if test $ac_cv_header_stdc = yes; then
14200 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14201 if test "$cross_compiling" = yes; then
14204 cat > conftest.
$ac_ext <<EOF
14205 #line 14206 "configure"
14206 #include "confdefs.h"
14208 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14209 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14210 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14211 int main () { int i; for (i = 0; i < 256; i++)
14212 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
14216 if { (eval echo configure
:14217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14220 echo "configure: failed program was:" >&5
14221 cat conftest.
$ac_ext >&5
14223 ac_cv_header_stdc
=no
14231 echo "$ac_t""$ac_cv_header_stdc" 1>&6
14232 if test $ac_cv_header_stdc = yes; then
14233 cat >> confdefs.h
<<\EOF
14234 #define STDC_HEADERS 1
14239 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
14240 echo "configure:14241: checking for mode_t" >&5
14241 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
14242 echo $ac_n "(cached) $ac_c" 1>&6
14244 cat > conftest.
$ac_ext <<EOF
14245 #line 14246 "configure"
14246 #include "confdefs.h"
14247 #include <sys/types.h>
14249 #include <stdlib.h>
14250 #include <stddef.h>
14253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14254 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14256 ac_cv_type_mode_t
=yes
14259 ac_cv_type_mode_t
=no
14264 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
14265 if test $ac_cv_type_mode_t = no
; then
14266 cat >> confdefs.h
<<\EOF
14272 echo $ac_n "checking for off_t""... $ac_c" 1>&6
14273 echo "configure:14274: checking for off_t" >&5
14274 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
14275 echo $ac_n "(cached) $ac_c" 1>&6
14277 cat > conftest.
$ac_ext <<EOF
14278 #line 14279 "configure"
14279 #include "confdefs.h"
14280 #include <sys/types.h>
14282 #include <stdlib.h>
14283 #include <stddef.h>
14286 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14287 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14289 ac_cv_type_off_t
=yes
14292 ac_cv_type_off_t
=no
14297 echo "$ac_t""$ac_cv_type_off_t" 1>&6
14298 if test $ac_cv_type_off_t = no
; then
14299 cat >> confdefs.h
<<\EOF
14305 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
14306 echo "configure:14307: checking for pid_t" >&5
14307 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
14308 echo $ac_n "(cached) $ac_c" 1>&6
14310 cat > conftest.
$ac_ext <<EOF
14311 #line 14312 "configure"
14312 #include "confdefs.h"
14313 #include <sys/types.h>
14315 #include <stdlib.h>
14316 #include <stddef.h>
14319 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14320 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14322 ac_cv_type_pid_t
=yes
14325 ac_cv_type_pid_t
=no
14330 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
14331 if test $ac_cv_type_pid_t = no
; then
14332 cat >> confdefs.h
<<\EOF
14338 echo $ac_n "checking for size_t""... $ac_c" 1>&6
14339 echo "configure:14340: checking for size_t" >&5
14340 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
14341 echo $ac_n "(cached) $ac_c" 1>&6
14343 cat > conftest.
$ac_ext <<EOF
14344 #line 14345 "configure"
14345 #include "confdefs.h"
14346 #include <sys/types.h>
14348 #include <stdlib.h>
14349 #include <stddef.h>
14352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14353 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14355 ac_cv_type_size_t
=yes
14358 ac_cv_type_size_t
=no
14363 echo "$ac_t""$ac_cv_type_size_t" 1>&6
14364 if test $ac_cv_type_size_t = no
; then
14365 cat >> confdefs.h
<<\EOF
14366 #define size_t unsigned
14371 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
14372 echo "configure:14373: checking for uid_t in sys/types.h" >&5
14373 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
14374 echo $ac_n "(cached) $ac_c" 1>&6
14376 cat > conftest.
$ac_ext <<EOF
14377 #line 14378 "configure"
14378 #include "confdefs.h"
14379 #include <sys/types.h>
14381 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14382 egrep "uid_t" >/dev
/null
2>&1; then
14384 ac_cv_type_uid_t
=yes
14387 ac_cv_type_uid_t
=no
14393 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
14394 if test $ac_cv_type_uid_t = no
; then
14395 cat >> confdefs.h
<<\EOF
14399 cat >> confdefs.h
<<\EOF
14406 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
14407 echo "configure:14408: checking for wchar_t" >&5
14408 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
14409 echo $ac_n "(cached) $ac_c" 1>&6
14412 cat > conftest.
$ac_ext <<EOF
14413 #line 14414 "configure"
14414 #include "confdefs.h"
14416 #ifdef HAVE_WCHAR_H
14418 # include <stddef.h>
14420 # include <wchar.h>
14422 #ifdef HAVE_STDLIB_H
14423 # include <stdlib.h>
14430 ws = L"Hello, world!";
14434 if { (eval echo configure
:14435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14436 wx_cv_type_wchar_t
=yes
14438 echo "configure: failed program was:" >&5
14439 cat conftest.
$ac_ext >&5
14441 wx_cv_type_wchar_t
=no
14448 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
14450 if test "$wx_cv_type_wchar_t" = "yes"; then
14451 cat >> confdefs.h
<<\EOF
14452 #define wxUSE_WCHAR_T 1
14459 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14460 ac_cpp
='$CXXCPP $CPPFLAGS'
14461 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14462 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14463 cross_compiling
=$ac_cv_prog_cxx_cross
14465 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
14466 echo "configure:14467: checking if size_t is unsigned int" >&5
14467 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
14468 echo $ac_n "(cached) $ac_c" 1>&6
14470 cat > conftest.
$ac_ext <<EOF
14471 #line 14472 "configure"
14472 #include "confdefs.h"
14473 #include <stddef.h>
14478 struct Foo { void foo(size_t); void foo(unsigned int); };
14484 if { (eval echo configure
:14485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14486 wx_cv_size_t_is_uint
=no
14488 echo "configure: failed program was:" >&5
14489 cat conftest.
$ac_ext >&5
14491 wx_cv_size_t_is_uint
=yes
14498 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
14500 if test "$wx_cv_size_t_is_uint" = "yes"; then
14501 cat >> confdefs.h
<<\EOF
14502 #define wxSIZE_T_IS_UINT 1
14506 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
14507 echo "configure:14508: checking if size_t is unsigned long" >&5
14508 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
14509 echo $ac_n "(cached) $ac_c" 1>&6
14511 cat > conftest.
$ac_ext <<EOF
14512 #line 14513 "configure"
14513 #include "confdefs.h"
14514 #include <stddef.h>
14519 struct Foo { void foo(size_t); void foo(unsigned long); };
14525 if { (eval echo configure
:14526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14527 wx_cv_size_t_is_ulong
=no
14529 echo "configure: failed program was:" >&5
14530 cat conftest.
$ac_ext >&5
14532 wx_cv_size_t_is_ulong
=yes
14539 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
14541 if test "$wx_cv_size_t_is_ulong" = "yes"; then
14542 cat >> confdefs.h
<<\EOF
14543 #define wxSIZE_T_IS_ULONG 1
14550 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14551 ac_cpp
='$CPP $CPPFLAGS'
14552 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14553 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14554 cross_compiling
=$ac_cv_prog_cc_cross
14558 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
14559 echo "configure:14560: checking for pw_gecos in struct passwd" >&5
14560 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
14561 echo $ac_n "(cached) $ac_c" 1>&6
14564 cat > conftest.
$ac_ext <<EOF
14565 #line 14566 "configure"
14566 #include "confdefs.h"
14576 if { (eval echo configure
:14577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14579 wx_cv_struct_pw_gecos
=yes
14582 echo "configure: failed program was:" >&5
14583 cat conftest.
$ac_ext >&5
14586 wx_cv_struct_pw_gecos
=no
14595 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
14597 if test "$wx_cv_struct_pw_gecos" = "yes"; then
14598 cat >> confdefs.h
<<\EOF
14599 #define HAVE_PW_GECOS 1
14605 echo $ac_n "checking for working const""... $ac_c" 1>&6
14606 echo "configure:14607: checking for working const" >&5
14607 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
14608 echo $ac_n "(cached) $ac_c" 1>&6
14610 cat > conftest.
$ac_ext <<EOF
14611 #line 14612 "configure"
14612 #include "confdefs.h"
14616 /* Ultrix mips cc rejects this. */
14617 typedef int charset[2]; const charset x;
14618 /* SunOS 4.1.1 cc rejects this. */
14619 char const *const *ccp;
14621 /* NEC SVR4.0.2 mips cc rejects this. */
14622 struct point {int x, y;};
14623 static struct point const zero = {0,0};
14624 /* AIX XL C 1.02.0.0 rejects this.
14625 It does not let you subtract one const X* pointer from another in an arm
14626 of an if-expression whose if-part is not a constant expression */
14627 const char *g = "string";
14628 ccp = &g + (g ? g-g : 0);
14629 /* HPUX 7.0 cc rejects these. */
14632 ccp = (char const *const *) p;
14633 { /* SCO 3.2v4 cc rejects this. */
14635 char const *s = 0 ? (char *) 0 : (char const *) 0;
14639 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14640 int x[] = {25, 17};
14641 const int *foo = &x[0];
14644 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14645 typedef const int *iptr;
14649 { /* AIX XL C 1.02.0.0 rejects this saying
14650 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14651 struct s { int j; const int *ap[3]; };
14652 struct s *b; b->j = 5;
14654 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14655 const int foo = 10;
14660 if { (eval echo configure
:14661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14664 echo "configure: failed program was:" >&5
14665 cat conftest.
$ac_ext >&5
14672 echo "$ac_t""$ac_cv_c_const" 1>&6
14673 if test $ac_cv_c_const = no
; then
14674 cat >> confdefs.h
<<\EOF
14680 echo $ac_n "checking for inline""... $ac_c" 1>&6
14681 echo "configure:14682: checking for inline" >&5
14682 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
14683 echo $ac_n "(cached) $ac_c" 1>&6
14686 for ac_kw
in inline __inline__ __inline
; do
14687 cat > conftest.
$ac_ext <<EOF
14688 #line 14689 "configure"
14689 #include "confdefs.h"
14695 if { (eval echo configure
:14696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14697 ac_cv_c_inline
=$ac_kw; break
14699 echo "configure: failed program was:" >&5
14700 cat conftest.
$ac_ext >&5
14707 echo "$ac_t""$ac_cv_c_inline" 1>&6
14708 case "$ac_cv_c_inline" in
14710 no
) cat >> confdefs.h
<<\EOF
14714 *) cat >> confdefs.h
<<EOF
14715 #define inline $ac_cv_c_inline
14721 echo $ac_n "checking size of char""... $ac_c" 1>&6
14722 echo "configure:14723: checking size of char" >&5
14723 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
14724 echo $ac_n "(cached) $ac_c" 1>&6
14726 if test "$cross_compiling" = yes; then
14727 ac_cv_sizeof_char
=1
14729 cat > conftest.
$ac_ext <<EOF
14730 #line 14731 "configure"
14731 #include "confdefs.h"
14735 FILE *f=fopen("conftestval", "w");
14737 fprintf(f, "%d\n", sizeof(char));
14741 if { (eval echo configure
:14742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14743 ac_cv_sizeof_char
=`cat conftestval`
14745 echo "configure: failed program was:" >&5
14746 cat conftest.
$ac_ext >&5
14748 ac_cv_sizeof_char
=0
14754 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
14755 cat >> confdefs.h
<<EOF
14756 #define SIZEOF_CHAR $ac_cv_sizeof_char
14760 echo $ac_n "checking size of short""... $ac_c" 1>&6
14761 echo "configure:14762: checking size of short" >&5
14762 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
14763 echo $ac_n "(cached) $ac_c" 1>&6
14765 if test "$cross_compiling" = yes; then
14766 ac_cv_sizeof_short
=2
14768 cat > conftest.
$ac_ext <<EOF
14769 #line 14770 "configure"
14770 #include "confdefs.h"
14774 FILE *f=fopen("conftestval", "w");
14776 fprintf(f, "%d\n", sizeof(short));
14780 if { (eval echo configure
:14781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14782 ac_cv_sizeof_short
=`cat conftestval`
14784 echo "configure: failed program was:" >&5
14785 cat conftest.
$ac_ext >&5
14787 ac_cv_sizeof_short
=0
14793 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
14794 cat >> confdefs.h
<<EOF
14795 #define SIZEOF_SHORT $ac_cv_sizeof_short
14799 echo $ac_n "checking size of void *""... $ac_c" 1>&6
14800 echo "configure:14801: checking size of void *" >&5
14801 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
14802 echo $ac_n "(cached) $ac_c" 1>&6
14804 if test "$cross_compiling" = yes; then
14805 ac_cv_sizeof_void_p
=4
14807 cat > conftest.
$ac_ext <<EOF
14808 #line 14809 "configure"
14809 #include "confdefs.h"
14813 FILE *f=fopen("conftestval", "w");
14815 fprintf(f, "%d\n", sizeof(void *));
14819 if { (eval echo configure
:14820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14821 ac_cv_sizeof_void_p
=`cat conftestval`
14823 echo "configure: failed program was:" >&5
14824 cat conftest.
$ac_ext >&5
14826 ac_cv_sizeof_void_p
=0
14832 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
14833 cat >> confdefs.h
<<EOF
14834 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14838 echo $ac_n "checking size of int""... $ac_c" 1>&6
14839 echo "configure:14840: checking size of int" >&5
14840 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
14841 echo $ac_n "(cached) $ac_c" 1>&6
14843 if test "$cross_compiling" = yes; then
14846 cat > conftest.
$ac_ext <<EOF
14847 #line 14848 "configure"
14848 #include "confdefs.h"
14852 FILE *f=fopen("conftestval", "w");
14854 fprintf(f, "%d\n", sizeof(int));
14858 if { (eval echo configure
:14859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14860 ac_cv_sizeof_int
=`cat conftestval`
14862 echo "configure: failed program was:" >&5
14863 cat conftest.
$ac_ext >&5
14871 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
14872 cat >> confdefs.h
<<EOF
14873 #define SIZEOF_INT $ac_cv_sizeof_int
14877 echo $ac_n "checking size of long""... $ac_c" 1>&6
14878 echo "configure:14879: checking size of long" >&5
14879 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
14880 echo $ac_n "(cached) $ac_c" 1>&6
14882 if test "$cross_compiling" = yes; then
14883 ac_cv_sizeof_long
=4
14885 cat > conftest.
$ac_ext <<EOF
14886 #line 14887 "configure"
14887 #include "confdefs.h"
14891 FILE *f=fopen("conftestval", "w");
14893 fprintf(f, "%d\n", sizeof(long));
14897 if { (eval echo configure
:14898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14899 ac_cv_sizeof_long
=`cat conftestval`
14901 echo "configure: failed program was:" >&5
14902 cat conftest.
$ac_ext >&5
14904 ac_cv_sizeof_long
=0
14910 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
14911 cat >> confdefs.h
<<EOF
14912 #define SIZEOF_LONG $ac_cv_sizeof_long
14916 echo $ac_n "checking size of long long""... $ac_c" 1>&6
14917 echo "configure:14918: checking size of long long" >&5
14918 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
14919 echo $ac_n "(cached) $ac_c" 1>&6
14921 if test "$cross_compiling" = yes; then
14922 ac_cv_sizeof_long_long
=0
14924 cat > conftest.
$ac_ext <<EOF
14925 #line 14926 "configure"
14926 #include "confdefs.h"
14930 FILE *f=fopen("conftestval", "w");
14932 fprintf(f, "%d\n", sizeof(long long));
14936 if { (eval echo configure
:14937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14938 ac_cv_sizeof_long_long
=`cat conftestval`
14940 echo "configure: failed program was:" >&5
14941 cat conftest.
$ac_ext >&5
14943 ac_cv_sizeof_long_long
=0
14949 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
14950 cat >> confdefs.h
<<EOF
14951 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14956 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
14957 echo "configure:14958: checking size of wchar_t" >&5
14958 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
14959 echo $ac_n "(cached) $ac_c" 1>&6
14962 if test "$cross_compiling" = yes; then
14963 wx_cv_sizeof_wchar_t
=4
14966 cat > conftest.
$ac_ext <<EOF
14967 #line 14968 "configure"
14968 #include "confdefs.h"
14970 #ifdef HAVE_WCHAR_H
14972 # include <stddef.h>
14974 # include <wchar.h>
14976 #ifdef HAVE_STDLIB_H
14977 # include <stdlib.h>
14982 FILE *f=fopen("conftestval", "w");
14984 fprintf(f, "%i", sizeof(wchar_t));
14989 if { (eval echo configure
:14990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14991 wx_cv_sizeof_wchar_t
=`cat conftestval`
14993 echo "configure: failed program was:" >&5
14994 cat conftest.
$ac_ext >&5
14996 wx_cv_sizeof_wchar_t
=0
15004 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
15006 cat >> confdefs.h
<<EOF
15007 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
15011 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
15012 echo "configure:15013: checking whether byte ordering is bigendian" >&5
15013 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
15014 echo $ac_n "(cached) $ac_c" 1>&6
15016 ac_cv_c_bigendian
=unknown
15017 # See if sys/param.h defines the BYTE_ORDER macro.
15018 cat > conftest.
$ac_ext <<EOF
15019 #line 15020 "configure"
15020 #include "confdefs.h"
15021 #include <sys/types.h>
15022 #include <sys/param.h>
15025 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
15026 bogus endian macros
15030 if { (eval echo configure
:15031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15032 # It does; now see whether it defined to BIG_ENDIAN or not.
15033 cat > conftest.
$ac_ext <<EOF
15034 #line 15035 "configure"
15035 #include "confdefs.h"
15036 #include <sys/types.h>
15037 #include <sys/param.h>
15040 #if BYTE_ORDER != BIG_ENDIAN
15045 if { (eval echo configure
:15046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15047 ac_cv_c_bigendian
=yes
15049 echo "configure: failed program was:" >&5
15050 cat conftest.
$ac_ext >&5
15052 ac_cv_c_bigendian
=no
15056 echo "configure: failed program was:" >&5
15057 cat conftest.
$ac_ext >&5
15060 if test $ac_cv_c_bigendian = unknown
; then
15061 if test "$cross_compiling" = yes; then
15062 ac_cv_c_bigendian
=unknown
15064 cat > conftest.
$ac_ext <<EOF
15065 #line 15066 "configure"
15066 #include "confdefs.h"
15068 /* Are we little or big endian? From Harbison&Steele. */
15072 char c[sizeof (long)];
15075 exit (u.c[sizeof (long) - 1] == 1);
15078 if { (eval echo configure
:15079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
15080 ac_cv_c_bigendian
=no
15082 echo "configure: failed program was:" >&5
15083 cat conftest.
$ac_ext >&5
15085 ac_cv_c_bigendian
=yes
15093 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
15094 if test $ac_cv_c_bigendian = unknown
; then
15095 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
15097 if test $ac_cv_c_bigendian = yes; then
15098 cat >> confdefs.h
<<\EOF
15099 #define WORDS_BIGENDIAN 1
15105 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
15106 echo "configure:15107: checking how to run the C++ preprocessor" >&5
15107 if test -z "$CXXCPP"; then
15108 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
15109 echo $ac_n "(cached) $ac_c" 1>&6
15112 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15113 ac_cpp
='$CXXCPP $CPPFLAGS'
15114 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15115 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15116 cross_compiling
=$ac_cv_prog_cxx_cross
15117 CXXCPP
="${CXX-g++} -E"
15118 cat > conftest.
$ac_ext <<EOF
15119 #line 15120 "configure"
15120 #include "confdefs.h"
15121 #include <stdlib.h>
15123 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15124 { (eval echo configure
:15125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15125 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15126 if test -z "$ac_err"; then
15130 echo "configure: failed program was:" >&5
15131 cat conftest.
$ac_ext >&5
15136 ac_cv_prog_CXXCPP
="$CXXCPP"
15138 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15139 ac_cpp
='$CXXCPP $CPPFLAGS'
15140 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15141 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15142 cross_compiling
=$ac_cv_prog_cxx_cross
15145 CXXCPP
="$ac_cv_prog_CXXCPP"
15146 echo "$ac_t""$CXXCPP" 1>&6
15149 if test "$cross_compiling" = "yes"; then
15150 cat >> confdefs.h
<<\EOF
15151 #define wxUSE_IOSTREAMH 1
15157 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15158 ac_cpp
='$CXXCPP $CPPFLAGS'
15159 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15160 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15161 cross_compiling
=$ac_cv_prog_cxx_cross
15164 for ac_hdr
in iostream
15166 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15167 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15168 echo "configure:15169: checking for $ac_hdr" >&5
15169 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15170 echo $ac_n "(cached) $ac_c" 1>&6
15172 cat > conftest.
$ac_ext <<EOF
15173 #line 15174 "configure"
15174 #include "confdefs.h"
15177 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15178 { (eval echo configure
:15179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15179 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15180 if test -z "$ac_err"; then
15182 eval "ac_cv_header_$ac_safe=yes"
15185 echo "configure: failed program was:" >&5
15186 cat conftest.
$ac_ext >&5
15188 eval "ac_cv_header_$ac_safe=no"
15192 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15193 echo "$ac_t""yes" 1>&6
15194 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15195 cat >> confdefs.h
<<EOF
15196 #define $ac_tr_hdr 1
15200 echo "$ac_t""no" 1>&6
15205 if test "$ac_cv_header_iostream" = "yes" ; then
15208 cat >> confdefs.h
<<\EOF
15209 #define wxUSE_IOSTREAMH 1
15215 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15216 ac_cpp
='$CPP $CPPFLAGS'
15217 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15218 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15219 cross_compiling
=$ac_cv_prog_cc_cross
15225 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
15226 echo "configure:15227: checking if C++ compiler supports bool" >&5
15227 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
15228 echo $ac_n "(cached) $ac_c" 1>&6
15233 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15234 ac_cpp
='$CXXCPP $CPPFLAGS'
15235 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15236 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15237 cross_compiling
=$ac_cv_prog_cxx_cross
15240 cat > conftest.
$ac_ext <<EOF
15241 #line 15242 "configure"
15242 #include "confdefs.h"
15253 if { (eval echo configure
:15254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15259 echo "configure: failed program was:" >&5
15260 cat conftest.
$ac_ext >&5
15270 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15271 ac_cpp
='$CPP $CPPFLAGS'
15272 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15273 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15274 cross_compiling
=$ac_cv_prog_cc_cross
15279 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
15281 if test "$wx_cv_cpp_bool" = "yes"; then
15282 cat >> confdefs.h
<<\EOF
15283 #define HAVE_BOOL 1
15290 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
15291 echo "configure:15292: checking for wcslen in -lc" >&5
15292 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
15293 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15294 echo $ac_n "(cached) $ac_c" 1>&6
15296 ac_save_LIBS
="$LIBS"
15298 cat > conftest.
$ac_ext <<EOF
15299 #line 15300 "configure"
15300 #include "confdefs.h"
15301 /* Override any gcc2 internal prototype to avoid an error. */
15302 /* We use char because int might match the return type of a gcc2
15303 builtin and then its argument prototype would still apply. */
15310 if { (eval echo configure
:15311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15312 eval "ac_cv_lib_$ac_lib_var=yes"
15314 echo "configure: failed program was:" >&5
15315 cat conftest.
$ac_ext >&5
15317 eval "ac_cv_lib_$ac_lib_var=no"
15320 LIBS
="$ac_save_LIBS"
15323 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15324 echo "$ac_t""yes" 1>&6
15326 cat >> confdefs.h
<<\EOF
15327 #define HAVE_WCSLEN 1
15333 echo "$ac_t""no" 1>&6
15335 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
15336 echo "configure:15337: checking for wcslen in -lw" >&5
15337 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
15338 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15339 echo $ac_n "(cached) $ac_c" 1>&6
15341 ac_save_LIBS
="$LIBS"
15343 cat > conftest.
$ac_ext <<EOF
15344 #line 15345 "configure"
15345 #include "confdefs.h"
15346 /* Override any gcc2 internal prototype to avoid an error. */
15347 /* We use char because int might match the return type of a gcc2
15348 builtin and then its argument prototype would still apply. */
15355 if { (eval echo configure
:15356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15357 eval "ac_cv_lib_$ac_lib_var=yes"
15359 echo "configure: failed program was:" >&5
15360 cat conftest.
$ac_ext >&5
15362 eval "ac_cv_lib_$ac_lib_var=no"
15365 LIBS
="$ac_save_LIBS"
15368 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15369 echo "$ac_t""yes" 1>&6
15371 cat >> confdefs.h
<<\EOF
15372 #define HAVE_WCSLEN 1
15378 echo "$ac_t""no" 1>&6
15380 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
15381 echo "configure:15382: checking for wcslen in -lmsvcrt" >&5
15382 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
15383 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15384 echo $ac_n "(cached) $ac_c" 1>&6
15386 ac_save_LIBS
="$LIBS"
15387 LIBS
="-lmsvcrt $LIBS"
15388 cat > conftest.
$ac_ext <<EOF
15389 #line 15390 "configure"
15390 #include "confdefs.h"
15391 /* Override any gcc2 internal prototype to avoid an error. */
15392 /* We use char because int might match the return type of a gcc2
15393 builtin and then its argument prototype would still apply. */
15400 if { (eval echo configure
:15401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15402 eval "ac_cv_lib_$ac_lib_var=yes"
15404 echo "configure: failed program was:" >&5
15405 cat conftest.
$ac_ext >&5
15407 eval "ac_cv_lib_$ac_lib_var=no"
15410 LIBS
="$ac_save_LIBS"
15413 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15414 echo "$ac_t""yes" 1>&6
15416 cat >> confdefs.h
<<\EOF
15417 #define HAVE_WCSLEN 1
15423 echo "$ac_t""no" 1>&6
15433 for ac_func
in wcsrtombs
15435 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15436 echo "configure:15437: checking for $ac_func" >&5
15437 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15438 echo $ac_n "(cached) $ac_c" 1>&6
15440 cat > conftest.
$ac_ext <<EOF
15441 #line 15442 "configure"
15442 #include "confdefs.h"
15443 /* System header to define __stub macros and hopefully few prototypes,
15444 which can conflict with char $ac_func(); below. */
15445 #include <assert.h>
15446 /* Override any gcc2 internal prototype to avoid an error. */
15447 /* We use char because int might match the return type of a gcc2
15448 builtin and then its argument prototype would still apply. */
15453 /* The GNU C library defines this for functions which it implements
15454 to always fail with ENOSYS. Some functions are actually named
15455 something starting with __ and the normal name is an alias. */
15456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15464 if { (eval echo configure
:15465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15466 eval "ac_cv_func_$ac_func=yes"
15468 echo "configure: failed program was:" >&5
15469 cat conftest.
$ac_ext >&5
15471 eval "ac_cv_func_$ac_func=no"
15476 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15477 echo "$ac_t""yes" 1>&6
15478 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15479 cat >> confdefs.h
<<EOF
15480 #define $ac_tr_func 1
15484 echo "$ac_t""no" 1>&6
15489 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
15490 echo "configure:15491: checking for vprintf" >&5
15491 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
15492 echo $ac_n "(cached) $ac_c" 1>&6
15494 cat > conftest.
$ac_ext <<EOF
15495 #line 15496 "configure"
15496 #include "confdefs.h"
15497 /* System header to define __stub macros and hopefully few prototypes,
15498 which can conflict with char vprintf(); below. */
15499 #include <assert.h>
15500 /* Override any gcc2 internal prototype to avoid an error. */
15501 /* We use char because int might match the return type of a gcc2
15502 builtin and then its argument prototype would still apply. */
15507 /* The GNU C library defines this for functions which it implements
15508 to always fail with ENOSYS. Some functions are actually named
15509 something starting with __ and the normal name is an alias. */
15510 #if defined (__stub_vprintf) || defined (__stub___vprintf)
15518 if { (eval echo configure
:15519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15520 eval "ac_cv_func_vprintf=yes"
15522 echo "configure: failed program was:" >&5
15523 cat conftest.
$ac_ext >&5
15525 eval "ac_cv_func_vprintf=no"
15530 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
15531 echo "$ac_t""yes" 1>&6
15532 cat >> confdefs.h
<<\EOF
15533 #define HAVE_VPRINTF 1
15537 echo "$ac_t""no" 1>&6
15540 if test "$ac_cv_func_vprintf" != yes; then
15541 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
15542 echo "configure:15543: checking for _doprnt" >&5
15543 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
15544 echo $ac_n "(cached) $ac_c" 1>&6
15546 cat > conftest.
$ac_ext <<EOF
15547 #line 15548 "configure"
15548 #include "confdefs.h"
15549 /* System header to define __stub macros and hopefully few prototypes,
15550 which can conflict with char _doprnt(); below. */
15551 #include <assert.h>
15552 /* Override any gcc2 internal prototype to avoid an error. */
15553 /* We use char because int might match the return type of a gcc2
15554 builtin and then its argument prototype would still apply. */
15559 /* The GNU C library defines this for functions which it implements
15560 to always fail with ENOSYS. Some functions are actually named
15561 something starting with __ and the normal name is an alias. */
15562 #if defined (__stub__doprnt) || defined (__stub____doprnt)
15570 if { (eval echo configure
:15571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15572 eval "ac_cv_func__doprnt=yes"
15574 echo "configure: failed program was:" >&5
15575 cat conftest.
$ac_ext >&5
15577 eval "ac_cv_func__doprnt=no"
15582 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
15583 echo "$ac_t""yes" 1>&6
15584 cat >> confdefs.h
<<\EOF
15585 #define HAVE_DOPRNT 1
15589 echo "$ac_t""no" 1>&6
15599 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
15600 echo "configure:15601: checking for vsnprintf" >&5
15601 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
15602 echo $ac_n "(cached) $ac_c" 1>&6
15605 cat > conftest.
$ac_ext <<EOF
15606 #line 15607 "configure"
15607 #include "confdefs.h"
15610 #include <stdarg.h>
15614 int wx_test_vsnprintf(const char *, ...);
15616 wx_test_vsnprintf("%s");
15620 int wx_test_vsnprintf(const char *fmt, ...)
15625 va_start(argp, fmt);
15626 vsnprintf(s, 42, fmt, argp);
15631 if { (eval echo configure
:15632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15634 wx_cv_func_vsnprintf
=yes
15637 echo "configure: failed program was:" >&5
15638 cat conftest.
$ac_ext >&5
15641 cat > conftest.
$ac_ext <<EOF
15642 #line 15643 "configure"
15643 #include "confdefs.h"
15646 #include <stdarg.h>
15650 int wx_test_vsnprintf(const char *, ...);
15652 wx_test_vsnprintf("%s");
15656 int wx_test_vsnprintf(const char *fmt, ...)
15661 va_start(argp, fmt);
15662 _vsnprintf(s, 42, fmt, argp);
15667 if { (eval echo configure
:15668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15670 wx_cv_func_vsnprintf
=yes
15673 echo "configure: failed program was:" >&5
15674 cat conftest.
$ac_ext >&5
15677 wx_cv_func_vsnprintf
=no
15687 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
15689 if test "$wx_cv_func_vsnprintf" = yes; then
15690 cat >> confdefs.h
<<\EOF
15691 #define HAVE_VSNPRINTF 1
15695 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
15698 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
15699 echo "configure:15700: checking for vsscanf" >&5
15700 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
15701 echo $ac_n "(cached) $ac_c" 1>&6
15704 cat > conftest.
$ac_ext <<EOF
15705 #line 15706 "configure"
15706 #include "confdefs.h"
15709 #include <stdarg.h>
15713 int wx_test_vsscanf(const char *, ...);
15715 wx_test_vsscanf("%d");
15719 int wx_test_vsscanf(const char *fmt, ...)
15722 va_start(argp, fmt);
15723 vsscanf("42", fmt, argp);
15728 if { (eval echo configure
:15729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15731 wx_cv_func_vsscanf
=yes
15734 echo "configure: failed program was:" >&5
15735 cat conftest.
$ac_ext >&5
15738 wx_cv_func_vsscanf
=no
15745 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
15747 if test "$wx_cv_func_vsscanf" = yes; then
15748 cat >> confdefs.h
<<\EOF
15749 #define HAVE_VSSCANF 1
15754 if test "$TOOLKIT" != "MSW"; then
15759 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15760 ac_cpp
='$CXXCPP $CPPFLAGS'
15761 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15762 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15763 cross_compiling
=$ac_cv_prog_cxx_cross
15767 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
15768 if test "${with_libiconv_prefix+set}" = set; then
15769 withval
="$with_libiconv_prefix"
15771 for dir
in `echo "$withval" | tr : ' '`; do
15772 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
15773 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
15779 echo $ac_n "checking for iconv""... $ac_c" 1>&6
15780 echo "configure:15781: checking for iconv" >&5
15781 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
15782 echo $ac_n "(cached) $ac_c" 1>&6
15785 am_cv_func_iconv
="no, consider installing GNU libiconv"
15787 cat > conftest.
$ac_ext <<EOF
15788 #line 15789 "configure"
15789 #include "confdefs.h"
15790 #include <stdlib.h>
15793 iconv_t cd = iconv_open("","");
15794 iconv(cd,NULL,NULL,NULL,NULL);
15798 if { (eval echo configure
:15799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15800 am_cv_func_iconv
=yes
15802 echo "configure: failed program was:" >&5
15803 cat conftest.
$ac_ext >&5
15806 if test "$am_cv_func_iconv" != yes; then
15807 am_save_LIBS
="$LIBS"
15808 LIBS
="$LIBS -liconv"
15809 cat > conftest.
$ac_ext <<EOF
15810 #line 15811 "configure"
15811 #include "confdefs.h"
15812 #include <stdlib.h>
15815 iconv_t cd = iconv_open("","");
15816 iconv(cd,NULL,NULL,NULL,NULL);
15820 if { (eval echo configure
:15821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15822 am_cv_lib_iconv
=yes
15823 am_cv_func_iconv
=yes
15825 echo "configure: failed program was:" >&5
15826 cat conftest.
$ac_ext >&5
15829 LIBS
="$am_save_LIBS"
15834 echo "$ac_t""$am_cv_func_iconv" 1>&6
15835 if test "$am_cv_func_iconv" = yes; then
15836 cat >> confdefs.h
<<\EOF
15837 #define HAVE_ICONV 1
15840 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
15841 echo "configure:15842: checking if iconv needs const" >&5
15842 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
15843 echo $ac_n "(cached) $ac_c" 1>&6
15845 cat > conftest.
$ac_ext <<EOF
15846 #line 15847 "configure"
15847 #include "confdefs.h"
15849 #include <stdlib.h>
15855 #if defined(__STDC__) || defined(__cplusplus)
15856 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15865 if { (eval echo configure
:15866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15867 wx_cv_func_iconv_const
="no"
15869 echo "configure: failed program was:" >&5
15870 cat conftest.
$ac_ext >&5
15872 wx_cv_func_iconv_const
="yes"
15879 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
15882 if test "x$wx_cv_func_iconv_const" = "xyes"; then
15883 iconv_const
="const"
15886 cat >> confdefs.h
<<EOF
15887 #define ICONV_CONST $iconv_const
15892 if test "$am_cv_lib_iconv" = yes; then
15897 LIBS
="$LIBICONV $LIBS"
15899 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15900 ac_cpp
='$CPP $CPPFLAGS'
15901 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15902 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15903 cross_compiling
=$ac_cv_prog_cc_cross
15906 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
15907 for ac_func
in sigaction
15909 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15910 echo "configure:15911: checking for $ac_func" >&5
15911 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15912 echo $ac_n "(cached) $ac_c" 1>&6
15914 cat > conftest.
$ac_ext <<EOF
15915 #line 15916 "configure"
15916 #include "confdefs.h"
15917 /* System header to define __stub macros and hopefully few prototypes,
15918 which can conflict with char $ac_func(); below. */
15919 #include <assert.h>
15920 /* Override any gcc2 internal prototype to avoid an error. */
15921 /* We use char because int might match the return type of a gcc2
15922 builtin and then its argument prototype would still apply. */
15927 /* The GNU C library defines this for functions which it implements
15928 to always fail with ENOSYS. Some functions are actually named
15929 something starting with __ and the normal name is an alias. */
15930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15938 if { (eval echo configure
:15939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15940 eval "ac_cv_func_$ac_func=yes"
15942 echo "configure: failed program was:" >&5
15943 cat conftest.
$ac_ext >&5
15945 eval "ac_cv_func_$ac_func=no"
15950 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15951 echo "$ac_t""yes" 1>&6
15952 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15953 cat >> confdefs.h
<<EOF
15954 #define $ac_tr_func 1
15958 echo "$ac_t""no" 1>&6
15963 if test "$ac_cv_func_sigaction" = "no"; then
15964 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
15965 wxUSE_ON_FATAL_EXCEPTION
=no
15968 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15971 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15972 ac_cpp
='$CXXCPP $CPPFLAGS'
15973 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15974 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15975 cross_compiling
=$ac_cv_prog_cxx_cross
15978 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
15979 echo "configure:15980: checking for sa_handler type" >&5
15980 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
15981 echo $ac_n "(cached) $ac_c" 1>&6
15984 cat > conftest.
$ac_ext <<EOF
15985 #line 15986 "configure"
15986 #include "confdefs.h"
15987 #include <signal.h>
15990 extern void testSigHandler(int);
15992 struct sigaction sa;
15993 sa.sa_handler = testSigHandler;
15997 if { (eval echo configure
:15998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16000 wx_cv_type_sa_handler
=int
16003 echo "configure: failed program was:" >&5
16004 cat conftest.
$ac_ext >&5
16007 wx_cv_type_sa_handler
=void
16014 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
16017 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16018 ac_cpp
='$CPP $CPPFLAGS'
16019 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16020 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16021 cross_compiling
=$ac_cv_prog_cc_cross
16024 cat >> confdefs.h
<<EOF
16025 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
16031 for ac_func
in vfork
16033 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16034 echo "configure:16035: checking for $ac_func" >&5
16035 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16036 echo $ac_n "(cached) $ac_c" 1>&6
16038 cat > conftest.
$ac_ext <<EOF
16039 #line 16040 "configure"
16040 #include "confdefs.h"
16041 /* System header to define __stub macros and hopefully few prototypes,
16042 which can conflict with char $ac_func(); below. */
16043 #include <assert.h>
16044 /* Override any gcc2 internal prototype to avoid an error. */
16045 /* We use char because int might match the return type of a gcc2
16046 builtin and then its argument prototype would still apply. */
16051 /* The GNU C library defines this for functions which it implements
16052 to always fail with ENOSYS. Some functions are actually named
16053 something starting with __ and the normal name is an alias. */
16054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16062 if { (eval echo configure
:16063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16064 eval "ac_cv_func_$ac_func=yes"
16066 echo "configure: failed program was:" >&5
16067 cat conftest.
$ac_ext >&5
16069 eval "ac_cv_func_$ac_func=no"
16074 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16075 echo "$ac_t""yes" 1>&6
16076 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16077 cat >> confdefs.h
<<EOF
16078 #define $ac_tr_func 1
16082 echo "$ac_t""no" 1>&6
16087 for ac_func
in mkstemp mktemp
16089 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16090 echo "configure:16091: checking for $ac_func" >&5
16091 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16092 echo $ac_n "(cached) $ac_c" 1>&6
16094 cat > conftest.
$ac_ext <<EOF
16095 #line 16096 "configure"
16096 #include "confdefs.h"
16097 /* System header to define __stub macros and hopefully few prototypes,
16098 which can conflict with char $ac_func(); below. */
16099 #include <assert.h>
16100 /* Override any gcc2 internal prototype to avoid an error. */
16101 /* We use char because int might match the return type of a gcc2
16102 builtin and then its argument prototype would still apply. */
16107 /* The GNU C library defines this for functions which it implements
16108 to always fail with ENOSYS. Some functions are actually named
16109 something starting with __ and the normal name is an alias. */
16110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16118 if { (eval echo configure
:16119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16120 eval "ac_cv_func_$ac_func=yes"
16122 echo "configure: failed program was:" >&5
16123 cat conftest.
$ac_ext >&5
16125 eval "ac_cv_func_$ac_func=no"
16130 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16131 echo "$ac_t""yes" 1>&6
16132 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16133 cat >> confdefs.h
<<EOF
16134 #define $ac_tr_func 1
16138 echo "$ac_t""no" 1>&6
16143 echo $ac_n "checking for statfs""... $ac_c" 1>&6
16144 echo "configure:16145: checking for statfs" >&5
16145 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
16146 echo $ac_n "(cached) $ac_c" 1>&6
16148 cat > conftest.
$ac_ext <<EOF
16149 #line 16150 "configure"
16150 #include "confdefs.h"
16152 #if defined(__BSD__)
16153 #include <sys/param.h>
16154 #include <sys/mount.h>
16156 #include <sys/vfs.h>
16170 if { (eval echo configure
:16171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16173 wx_cv_func_statfs
=yes
16176 echo "configure: failed program was:" >&5
16177 cat conftest.
$ac_ext >&5
16180 wx_cv_func_statfs
=no
16188 echo "$ac_t""$wx_cv_func_statfs" 1>&6
16190 if test "$wx_cv_func_statfs" = "yes"; then
16191 cat >> confdefs.h
<<\EOF
16192 #define HAVE_STATFS 1
16196 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
16197 echo "configure:16198: checking for statvfs" >&5
16198 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
16199 echo $ac_n "(cached) $ac_c" 1>&6
16201 cat > conftest.
$ac_ext <<EOF
16202 #line 16203 "configure"
16203 #include "confdefs.h"
16205 #include <sys/statvfs.h>
16218 if { (eval echo configure
:16219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16221 wx_cv_func_statvfs
=yes
16224 echo "configure: failed program was:" >&5
16225 cat conftest.
$ac_ext >&5
16228 wx_cv_func_statvfs
=no
16236 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
16238 if test "$wx_cv_func_statvfs" = "yes"; then
16239 cat >> confdefs.h
<<\EOF
16240 #define HAVE_STATVFS 1
16244 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
16248 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16249 for ac_func
in fcntl flock
16251 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16252 echo "configure:16253: checking for $ac_func" >&5
16253 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16254 echo $ac_n "(cached) $ac_c" 1>&6
16256 cat > conftest.
$ac_ext <<EOF
16257 #line 16258 "configure"
16258 #include "confdefs.h"
16259 /* System header to define __stub macros and hopefully few prototypes,
16260 which can conflict with char $ac_func(); below. */
16261 #include <assert.h>
16262 /* Override any gcc2 internal prototype to avoid an error. */
16263 /* We use char because int might match the return type of a gcc2
16264 builtin and then its argument prototype would still apply. */
16269 /* The GNU C library defines this for functions which it implements
16270 to always fail with ENOSYS. Some functions are actually named
16271 something starting with __ and the normal name is an alias. */
16272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16280 if { (eval echo configure
:16281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16282 eval "ac_cv_func_$ac_func=yes"
16284 echo "configure: failed program was:" >&5
16285 cat conftest.
$ac_ext >&5
16287 eval "ac_cv_func_$ac_func=no"
16292 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16293 echo "$ac_t""yes" 1>&6
16294 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16295 cat >> confdefs.h
<<EOF
16296 #define $ac_tr_func 1
16300 echo "$ac_t""no" 1>&6
16305 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
16306 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
16307 wxUSE_SNGLINST_CHECKER
=no
16311 for ac_func
in timegm
16313 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16314 echo "configure:16315: checking for $ac_func" >&5
16315 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16316 echo $ac_n "(cached) $ac_c" 1>&6
16318 cat > conftest.
$ac_ext <<EOF
16319 #line 16320 "configure"
16320 #include "confdefs.h"
16321 /* System header to define __stub macros and hopefully few prototypes,
16322 which can conflict with char $ac_func(); below. */
16323 #include <assert.h>
16324 /* Override any gcc2 internal prototype to avoid an error. */
16325 /* We use char because int might match the return type of a gcc2
16326 builtin and then its argument prototype would still apply. */
16331 /* The GNU C library defines this for functions which it implements
16332 to always fail with ENOSYS. Some functions are actually named
16333 something starting with __ and the normal name is an alias. */
16334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16342 if { (eval echo configure
:16343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16344 eval "ac_cv_func_$ac_func=yes"
16346 echo "configure: failed program was:" >&5
16347 cat conftest.
$ac_ext >&5
16349 eval "ac_cv_func_$ac_func=no"
16354 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16355 echo "$ac_t""yes" 1>&6
16356 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16357 cat >> confdefs.h
<<EOF
16358 #define $ac_tr_func 1
16362 echo "$ac_t""no" 1>&6
16367 for ac_func
in putenv setenv
16369 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16370 echo "configure:16371: checking for $ac_func" >&5
16371 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16372 echo $ac_n "(cached) $ac_c" 1>&6
16374 cat > conftest.
$ac_ext <<EOF
16375 #line 16376 "configure"
16376 #include "confdefs.h"
16377 /* System header to define __stub macros and hopefully few prototypes,
16378 which can conflict with char $ac_func(); below. */
16379 #include <assert.h>
16380 /* Override any gcc2 internal prototype to avoid an error. */
16381 /* We use char because int might match the return type of a gcc2
16382 builtin and then its argument prototype would still apply. */
16387 /* The GNU C library defines this for functions which it implements
16388 to always fail with ENOSYS. Some functions are actually named
16389 something starting with __ and the normal name is an alias. */
16390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16398 if { (eval echo configure
:16399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16400 eval "ac_cv_func_$ac_func=yes"
16402 echo "configure: failed program was:" >&5
16403 cat conftest.
$ac_ext >&5
16405 eval "ac_cv_func_$ac_func=no"
16410 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16411 echo "$ac_t""yes" 1>&6
16412 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16413 cat >> confdefs.h
<<EOF
16414 #define $ac_tr_func 1
16418 echo "$ac_t""no" 1>&6
16423 HAVE_SOME_SLEEP_FUNC
=0
16424 if test "$USE_BEOS" = 1; then
16425 cat >> confdefs.h
<<\EOF
16426 #define HAVE_SLEEP 1
16429 HAVE_SOME_SLEEP_FUNC
=1
16432 if test "$USE_DARWIN" = 1; then
16433 cat >> confdefs.h
<<\EOF
16434 #define HAVE_USLEEP 1
16437 HAVE_SOME_SLEEP_FUNC
=1
16440 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
16442 for ac_func
in nanosleep
16444 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16445 echo "configure:16446: checking for $ac_func" >&5
16446 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16447 echo $ac_n "(cached) $ac_c" 1>&6
16449 cat > conftest.
$ac_ext <<EOF
16450 #line 16451 "configure"
16451 #include "confdefs.h"
16452 /* System header to define __stub macros and hopefully few prototypes,
16453 which can conflict with char $ac_func(); below. */
16454 #include <assert.h>
16455 /* Override any gcc2 internal prototype to avoid an error. */
16456 /* We use char because int might match the return type of a gcc2
16457 builtin and then its argument prototype would still apply. */
16462 /* The GNU C library defines this for functions which it implements
16463 to always fail with ENOSYS. Some functions are actually named
16464 something starting with __ and the normal name is an alias. */
16465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16473 if { (eval echo configure
:16474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16475 eval "ac_cv_func_$ac_func=yes"
16477 echo "configure: failed program was:" >&5
16478 cat conftest.
$ac_ext >&5
16480 eval "ac_cv_func_$ac_func=no"
16485 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16486 echo "$ac_t""yes" 1>&6
16487 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16488 cat >> confdefs.h
<<EOF
16489 #define $ac_tr_func 1
16491 cat >> confdefs.h
<<\EOF
16492 #define HAVE_NANOSLEEP 1
16496 echo "$ac_t""no" 1>&6
16497 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
16498 echo "configure:16499: checking for nanosleep in -lposix4" >&5
16499 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
16500 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16501 echo $ac_n "(cached) $ac_c" 1>&6
16503 ac_save_LIBS
="$LIBS"
16504 LIBS
="-lposix4 $LIBS"
16505 cat > conftest.
$ac_ext <<EOF
16506 #line 16507 "configure"
16507 #include "confdefs.h"
16508 /* Override any gcc2 internal prototype to avoid an error. */
16509 /* We use char because int might match the return type of a gcc2
16510 builtin and then its argument prototype would still apply. */
16517 if { (eval echo configure
:16518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16519 eval "ac_cv_lib_$ac_lib_var=yes"
16521 echo "configure: failed program was:" >&5
16522 cat conftest.
$ac_ext >&5
16524 eval "ac_cv_lib_$ac_lib_var=no"
16527 LIBS
="$ac_save_LIBS"
16530 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16531 echo "$ac_t""yes" 1>&6
16533 cat >> confdefs.h
<<\EOF
16534 #define HAVE_NANOSLEEP 1
16537 POSIX4_LINK
=" -lposix4"
16540 echo "$ac_t""no" 1>&6
16542 for ac_func
in usleep
16544 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16545 echo "configure:16546: checking for $ac_func" >&5
16546 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16547 echo $ac_n "(cached) $ac_c" 1>&6
16549 cat > conftest.
$ac_ext <<EOF
16550 #line 16551 "configure"
16551 #include "confdefs.h"
16552 /* System header to define __stub macros and hopefully few prototypes,
16553 which can conflict with char $ac_func(); below. */
16554 #include <assert.h>
16555 /* Override any gcc2 internal prototype to avoid an error. */
16556 /* We use char because int might match the return type of a gcc2
16557 builtin and then its argument prototype would still apply. */
16562 /* The GNU C library defines this for functions which it implements
16563 to always fail with ENOSYS. Some functions are actually named
16564 something starting with __ and the normal name is an alias. */
16565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16573 if { (eval echo configure
:16574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16575 eval "ac_cv_func_$ac_func=yes"
16577 echo "configure: failed program was:" >&5
16578 cat conftest.
$ac_ext >&5
16580 eval "ac_cv_func_$ac_func=no"
16585 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16586 echo "$ac_t""yes" 1>&6
16587 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16588 cat >> confdefs.h
<<EOF
16589 #define $ac_tr_func 1
16591 cat >> confdefs.h
<<\EOF
16592 #define HAVE_USLEEP 1
16596 echo "$ac_t""no" 1>&6
16597 echo "configure: warning: wxSleep() function will not work" 1>&2
16613 for ac_func
in uname gethostname
16615 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16616 echo "configure:16617: checking for $ac_func" >&5
16617 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16618 echo $ac_n "(cached) $ac_c" 1>&6
16620 cat > conftest.
$ac_ext <<EOF
16621 #line 16622 "configure"
16622 #include "confdefs.h"
16623 /* System header to define __stub macros and hopefully few prototypes,
16624 which can conflict with char $ac_func(); below. */
16625 #include <assert.h>
16626 /* Override any gcc2 internal prototype to avoid an error. */
16627 /* We use char because int might match the return type of a gcc2
16628 builtin and then its argument prototype would still apply. */
16633 /* The GNU C library defines this for functions which it implements
16634 to always fail with ENOSYS. Some functions are actually named
16635 something starting with __ and the normal name is an alias. */
16636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16644 if { (eval echo configure
:16645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16646 eval "ac_cv_func_$ac_func=yes"
16648 echo "configure: failed program was:" >&5
16649 cat conftest.
$ac_ext >&5
16651 eval "ac_cv_func_$ac_func=no"
16656 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16657 echo "$ac_t""yes" 1>&6
16658 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16659 cat >> confdefs.h
<<EOF
16660 #define $ac_tr_func 1
16664 echo "$ac_t""no" 1>&6
16671 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16672 ac_cpp
='$CXXCPP $CPPFLAGS'
16673 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16674 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16675 cross_compiling
=$ac_cv_prog_cxx_cross
16678 for ac_func
in strtok_r
16680 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16681 echo "configure:16682: checking for $ac_func" >&5
16682 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16683 echo $ac_n "(cached) $ac_c" 1>&6
16685 cat > conftest.
$ac_ext <<EOF
16686 #line 16687 "configure"
16687 #include "confdefs.h"
16688 /* System header to define __stub macros and hopefully few prototypes,
16689 which can conflict with char $ac_func(); below. */
16690 #include <assert.h>
16691 /* Override any gcc2 internal prototype to avoid an error. */
16695 /* We use char because int might match the return type of a gcc2
16696 builtin and then its argument prototype would still apply. */
16701 /* The GNU C library defines this for functions which it implements
16702 to always fail with ENOSYS. Some functions are actually named
16703 something starting with __ and the normal name is an alias. */
16704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16712 if { (eval echo configure
:16713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16714 eval "ac_cv_func_$ac_func=yes"
16716 echo "configure: failed program was:" >&5
16717 cat conftest.
$ac_ext >&5
16719 eval "ac_cv_func_$ac_func=no"
16724 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16725 echo "$ac_t""yes" 1>&6
16726 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16727 cat >> confdefs.h
<<EOF
16728 #define $ac_tr_func 1
16732 echo "$ac_t""no" 1>&6
16738 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16739 ac_cpp
='$CPP $CPPFLAGS'
16740 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16741 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16742 cross_compiling
=$ac_cv_prog_cc_cross
16746 for ac_func
in inet_addr
16748 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16749 echo "configure:16750: checking for $ac_func" >&5
16750 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16751 echo $ac_n "(cached) $ac_c" 1>&6
16753 cat > conftest.
$ac_ext <<EOF
16754 #line 16755 "configure"
16755 #include "confdefs.h"
16756 /* System header to define __stub macros and hopefully few prototypes,
16757 which can conflict with char $ac_func(); below. */
16758 #include <assert.h>
16759 /* Override any gcc2 internal prototype to avoid an error. */
16760 /* We use char because int might match the return type of a gcc2
16761 builtin and then its argument prototype would still apply. */
16766 /* The GNU C library defines this for functions which it implements
16767 to always fail with ENOSYS. Some functions are actually named
16768 something starting with __ and the normal name is an alias. */
16769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16777 if { (eval echo configure
:16778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16779 eval "ac_cv_func_$ac_func=yes"
16781 echo "configure: failed program was:" >&5
16782 cat conftest.
$ac_ext >&5
16784 eval "ac_cv_func_$ac_func=no"
16789 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16790 echo "$ac_t""yes" 1>&6
16791 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16792 cat >> confdefs.h
<<EOF
16793 #define $ac_tr_func 1
16795 cat >> confdefs.h
<<\EOF
16796 #define HAVE_INET_ADDR 1
16800 echo "$ac_t""no" 1>&6
16801 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
16802 echo "configure:16803: checking for inet_addr in -lnsl" >&5
16803 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
16804 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16805 echo $ac_n "(cached) $ac_c" 1>&6
16807 ac_save_LIBS
="$LIBS"
16809 cat > conftest.
$ac_ext <<EOF
16810 #line 16811 "configure"
16811 #include "confdefs.h"
16812 /* Override any gcc2 internal prototype to avoid an error. */
16813 /* We use char because int might match the return type of a gcc2
16814 builtin and then its argument prototype would still apply. */
16821 if { (eval echo configure
:16822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16823 eval "ac_cv_lib_$ac_lib_var=yes"
16825 echo "configure: failed program was:" >&5
16826 cat conftest.
$ac_ext >&5
16828 eval "ac_cv_lib_$ac_lib_var=no"
16831 LIBS
="$ac_save_LIBS"
16834 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16835 echo "$ac_t""yes" 1>&6
16838 echo "$ac_t""no" 1>&6
16839 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
16840 echo "configure:16841: checking for inet_addr in -lresolv" >&5
16841 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
16842 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16843 echo $ac_n "(cached) $ac_c" 1>&6
16845 ac_save_LIBS
="$LIBS"
16846 LIBS
="-lresolv $LIBS"
16847 cat > conftest.
$ac_ext <<EOF
16848 #line 16849 "configure"
16849 #include "confdefs.h"
16850 /* Override any gcc2 internal prototype to avoid an error. */
16851 /* We use char because int might match the return type of a gcc2
16852 builtin and then its argument prototype would still apply. */
16859 if { (eval echo configure
:16860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16861 eval "ac_cv_lib_$ac_lib_var=yes"
16863 echo "configure: failed program was:" >&5
16864 cat conftest.
$ac_ext >&5
16866 eval "ac_cv_lib_$ac_lib_var=no"
16869 LIBS
="$ac_save_LIBS"
16872 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16873 echo "$ac_t""yes" 1>&6
16876 echo "$ac_t""no" 1>&6
16877 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
16878 echo "configure:16879: checking for inet_addr in -lsocket" >&5
16879 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
16880 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16881 echo $ac_n "(cached) $ac_c" 1>&6
16883 ac_save_LIBS
="$LIBS"
16884 LIBS
="-lsocket $LIBS"
16885 cat > conftest.
$ac_ext <<EOF
16886 #line 16887 "configure"
16887 #include "confdefs.h"
16888 /* Override any gcc2 internal prototype to avoid an error. */
16889 /* We use char because int might match the return type of a gcc2
16890 builtin and then its argument prototype would still apply. */
16897 if { (eval echo configure
:16898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16899 eval "ac_cv_lib_$ac_lib_var=yes"
16901 echo "configure: failed program was:" >&5
16902 cat conftest.
$ac_ext >&5
16904 eval "ac_cv_lib_$ac_lib_var=no"
16907 LIBS
="$ac_save_LIBS"
16910 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16911 echo "$ac_t""yes" 1>&6
16915 echo "$ac_t""no" 1>&6
16930 for ac_func
in inet_aton
16932 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16933 echo "configure:16934: checking for $ac_func" >&5
16934 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16935 echo $ac_n "(cached) $ac_c" 1>&6
16937 cat > conftest.
$ac_ext <<EOF
16938 #line 16939 "configure"
16939 #include "confdefs.h"
16940 /* System header to define __stub macros and hopefully few prototypes,
16941 which can conflict with char $ac_func(); below. */
16942 #include <assert.h>
16943 /* Override any gcc2 internal prototype to avoid an error. */
16944 /* We use char because int might match the return type of a gcc2
16945 builtin and then its argument prototype would still apply. */
16950 /* The GNU C library defines this for functions which it implements
16951 to always fail with ENOSYS. Some functions are actually named
16952 something starting with __ and the normal name is an alias. */
16953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16961 if { (eval echo configure
:16962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16963 eval "ac_cv_func_$ac_func=yes"
16965 echo "configure: failed program was:" >&5
16966 cat conftest.
$ac_ext >&5
16968 eval "ac_cv_func_$ac_func=no"
16973 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16974 echo "$ac_t""yes" 1>&6
16975 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16976 cat >> confdefs.h
<<EOF
16977 #define $ac_tr_func 1
16979 cat >> confdefs.h
<<\EOF
16980 #define HAVE_INET_ATON 1
16984 echo "$ac_t""no" 1>&6
16985 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
16986 echo "configure:16987: checking for inet_aton in -l$INET_LINK" >&5
16987 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
16988 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16989 echo $ac_n "(cached) $ac_c" 1>&6
16991 ac_save_LIBS
="$LIBS"
16992 LIBS
="-l$INET_LINK $LIBS"
16993 cat > conftest.
$ac_ext <<EOF
16994 #line 16995 "configure"
16995 #include "confdefs.h"
16996 /* Override any gcc2 internal prototype to avoid an error. */
16997 /* We use char because int might match the return type of a gcc2
16998 builtin and then its argument prototype would still apply. */
17005 if { (eval echo configure
:17006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17007 eval "ac_cv_lib_$ac_lib_var=yes"
17009 echo "configure: failed program was:" >&5
17010 cat conftest.
$ac_ext >&5
17012 eval "ac_cv_lib_$ac_lib_var=no"
17015 LIBS
="$ac_save_LIBS"
17018 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17019 echo "$ac_t""yes" 1>&6
17020 cat >> confdefs.h
<<\EOF
17021 #define HAVE_INET_ATON 1
17025 echo "$ac_t""no" 1>&6
17033 if test "x$INET_LINK" != "x"; then
17034 cat >> confdefs.h
<<\EOF
17035 #define HAVE_INET_ADDR 1
17038 INET_LINK
=" -l$INET_LINK"
17044 cat > confcache
<<\EOF
17045 # This file is a shell script that caches the results of configure
17046 # tests run on this system so they can be shared between configure
17047 # scripts and configure runs. It is not useful on other systems.
17048 # If it contains results you don't want to keep, you may remove or edit it.
17050 # By default, configure uses ./config.cache as the cache file,
17051 # creating it if it does not exist already. You can give configure
17052 # the --cache-file=FILE option to use a different cache file; that is
17053 # what configure does when it calls configure scripts in
17054 # subdirectories, so they share the cache.
17055 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17056 # config.status only pays attention to the cache file if you give it the
17057 # --recheck option to rerun configure.
17060 # The following way of writing the cache mishandles newlines in values,
17061 # but we know of no workaround that is simple, portable, and efficient.
17062 # So, don't put newlines in cache variables' values.
17063 # Ultrix sh set writes to stderr and can't be redirected directly,
17064 # and sets the high bit in the cache file unless we assign to the vars.
17066 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17068 # `set' does not quote correctly, so add quotes (double-quote substitution
17069 # turns \\\\ into \\, and sed turns \\ into \).
17071 -e "s/'/'\\\\''/g" \
17072 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17075 # `set' quotes correctly as required by POSIX, so do not add quotes.
17076 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17079 if cmp -s $cache_file confcache
; then
17082 if test -w $cache_file; then
17083 echo "updating cache $cache_file"
17084 cat confcache
> $cache_file
17086 echo "not updating unwritable cache $cache_file"
17093 if test "$TOOLKIT" != "MSW"; then
17099 CODE_GEN_FLAGS_CXX
=
17101 if test "$wxUSE_THREADS" = "yes" ; then
17102 if test "$wxUSE_WINE" = 1 ; then
17103 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
17105 elif test "$USE_BEOS" = 1; then
17106 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
17111 if test "$wxUSE_THREADS" = "yes" ; then
17113 if test "$USE_AIX" = 1; then
17114 THREADS_LIB
=pthreads
17116 THREADS_LIB
=pthread
17119 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
17120 echo "configure:17121: checking for pthread_create in -l$THREADS_LIB" >&5
17121 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
17122 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17123 echo $ac_n "(cached) $ac_c" 1>&6
17125 ac_save_LIBS
="$LIBS"
17126 LIBS
="-l$THREADS_LIB $LIBS"
17127 cat > conftest.
$ac_ext <<EOF
17128 #line 17129 "configure"
17129 #include "confdefs.h"
17130 /* Override any gcc2 internal prototype to avoid an error. */
17131 /* We use char because int might match the return type of a gcc2
17132 builtin and then its argument prototype would still apply. */
17133 char pthread_create();
17139 if { (eval echo configure
:17140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17141 eval "ac_cv_lib_$ac_lib_var=yes"
17143 echo "configure: failed program was:" >&5
17144 cat conftest.
$ac_ext >&5
17146 eval "ac_cv_lib_$ac_lib_var=no"
17149 LIBS
="$ac_save_LIBS"
17152 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17153 echo "$ac_t""yes" 1>&6
17155 THREADS_OBJ
="threadpsx.lo"
17156 THREADS_LINK
=$THREADS_LIB
17159 echo "$ac_t""no" 1>&6
17161 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
17162 echo "configure:17163: checking for pthread_create in -lc_r" >&5
17163 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
17164 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17165 echo $ac_n "(cached) $ac_c" 1>&6
17167 ac_save_LIBS
="$LIBS"
17169 cat > conftest.
$ac_ext <<EOF
17170 #line 17171 "configure"
17171 #include "confdefs.h"
17172 /* Override any gcc2 internal prototype to avoid an error. */
17173 /* We use char because int might match the return type of a gcc2
17174 builtin and then its argument prototype would still apply. */
17175 char pthread_create();
17181 if { (eval echo configure
:17182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17183 eval "ac_cv_lib_$ac_lib_var=yes"
17185 echo "configure: failed program was:" >&5
17186 cat conftest.
$ac_ext >&5
17188 eval "ac_cv_lib_$ac_lib_var=no"
17191 LIBS
="$ac_save_LIBS"
17194 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17195 echo "$ac_t""yes" 1>&6
17197 THREADS_OBJ
="threadpsx.lo"
17201 echo "$ac_t""no" 1>&6
17203 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
17204 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
17205 echo "configure:17206: checking for sys/prctl.h" >&5
17206 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17207 echo $ac_n "(cached) $ac_c" 1>&6
17209 cat > conftest.
$ac_ext <<EOF
17210 #line 17211 "configure"
17211 #include "confdefs.h"
17212 #include <sys/prctl.h>
17214 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17215 { (eval echo configure
:17216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17216 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17217 if test -z "$ac_err"; then
17219 eval "ac_cv_header_$ac_safe=yes"
17222 echo "configure: failed program was:" >&5
17223 cat conftest.
$ac_ext >&5
17225 eval "ac_cv_header_$ac_safe=no"
17229 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17230 echo "$ac_t""yes" 1>&6
17232 THREADS_OBJ
="threadsgi.lo"
17235 echo "$ac_t""no" 1>&6
17245 if test -z "$THREADS_OBJ" ; then
17247 echo "configure: warning: No thread support on this system... disabled" 1>&2
17251 if test "$wxUSE_THREADS" = "yes" ; then
17252 for ac_func
in thr_setconcurrency
17254 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17255 echo "configure:17256: checking for $ac_func" >&5
17256 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17257 echo $ac_n "(cached) $ac_c" 1>&6
17259 cat > conftest.
$ac_ext <<EOF
17260 #line 17261 "configure"
17261 #include "confdefs.h"
17262 /* System header to define __stub macros and hopefully few prototypes,
17263 which can conflict with char $ac_func(); below. */
17264 #include <assert.h>
17265 /* Override any gcc2 internal prototype to avoid an error. */
17266 /* We use char because int might match the return type of a gcc2
17267 builtin and then its argument prototype would still apply. */
17272 /* The GNU C library defines this for functions which it implements
17273 to always fail with ENOSYS. Some functions are actually named
17274 something starting with __ and the normal name is an alias. */
17275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17283 if { (eval echo configure
:17284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17285 eval "ac_cv_func_$ac_func=yes"
17287 echo "configure: failed program was:" >&5
17288 cat conftest.
$ac_ext >&5
17290 eval "ac_cv_func_$ac_func=no"
17295 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17296 echo "$ac_t""yes" 1>&6
17297 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17298 cat >> confdefs.h
<<EOF
17299 #define $ac_tr_func 1
17303 echo "$ac_t""no" 1>&6
17309 for ac_hdr
in sched.h
17311 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17312 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17313 echo "configure:17314: checking for $ac_hdr" >&5
17314 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17315 echo $ac_n "(cached) $ac_c" 1>&6
17317 cat > conftest.
$ac_ext <<EOF
17318 #line 17319 "configure"
17319 #include "confdefs.h"
17322 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17323 { (eval echo configure
:17324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17324 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17325 if test -z "$ac_err"; then
17327 eval "ac_cv_header_$ac_safe=yes"
17330 echo "configure: failed program was:" >&5
17331 cat conftest.
$ac_ext >&5
17333 eval "ac_cv_header_$ac_safe=no"
17337 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17338 echo "$ac_t""yes" 1>&6
17339 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17340 cat >> confdefs.h
<<EOF
17341 #define $ac_tr_hdr 1
17345 echo "$ac_t""no" 1>&6
17350 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
17351 echo "configure:17352: checking for sched_yield in -l$THREADS_LINK" >&5
17352 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
17353 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17354 echo $ac_n "(cached) $ac_c" 1>&6
17356 ac_save_LIBS
="$LIBS"
17357 LIBS
="-l$THREADS_LINK $LIBS"
17358 cat > conftest.
$ac_ext <<EOF
17359 #line 17360 "configure"
17360 #include "confdefs.h"
17361 /* Override any gcc2 internal prototype to avoid an error. */
17362 /* We use char because int might match the return type of a gcc2
17363 builtin and then its argument prototype would still apply. */
17364 char sched_yield();
17370 if { (eval echo configure
:17371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17372 eval "ac_cv_lib_$ac_lib_var=yes"
17374 echo "configure: failed program was:" >&5
17375 cat conftest.
$ac_ext >&5
17377 eval "ac_cv_lib_$ac_lib_var=no"
17380 LIBS
="$ac_save_LIBS"
17383 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17384 echo "$ac_t""yes" 1>&6
17385 cat >> confdefs.h
<<\EOF
17386 #define HAVE_SCHED_YIELD 1
17390 echo "$ac_t""no" 1>&6
17391 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
17392 echo "configure:17393: checking for sched_yield in -lposix4" >&5
17393 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
17394 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17395 echo $ac_n "(cached) $ac_c" 1>&6
17397 ac_save_LIBS
="$LIBS"
17398 LIBS
="-lposix4 $LIBS"
17399 cat > conftest.
$ac_ext <<EOF
17400 #line 17401 "configure"
17401 #include "confdefs.h"
17402 /* Override any gcc2 internal prototype to avoid an error. */
17403 /* We use char because int might match the return type of a gcc2
17404 builtin and then its argument prototype would still apply. */
17405 char sched_yield();
17411 if { (eval echo configure
:17412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17413 eval "ac_cv_lib_$ac_lib_var=yes"
17415 echo "configure: failed program was:" >&5
17416 cat conftest.
$ac_ext >&5
17418 eval "ac_cv_lib_$ac_lib_var=no"
17421 LIBS
="$ac_save_LIBS"
17424 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17425 echo "$ac_t""yes" 1>&6
17426 cat >> confdefs.h
<<\EOF
17427 #define HAVE_SCHED_YIELD 1
17429 POSIX4_LINK
=" -lposix4"
17431 echo "$ac_t""no" 1>&6
17432 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
17441 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
17442 echo "configure:17443: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
17443 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
17444 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17445 echo $ac_n "(cached) $ac_c" 1>&6
17447 ac_save_LIBS
="$LIBS"
17448 LIBS
="-l$THREADS_LINK $LIBS"
17449 cat > conftest.
$ac_ext <<EOF
17450 #line 17451 "configure"
17451 #include "confdefs.h"
17452 /* Override any gcc2 internal prototype to avoid an error. */
17453 /* We use char because int might match the return type of a gcc2
17454 builtin and then its argument prototype would still apply. */
17455 char pthread_attr_getschedpolicy();
17458 pthread_attr_getschedpolicy()
17461 if { (eval echo configure
:17462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17463 eval "ac_cv_lib_$ac_lib_var=yes"
17465 echo "configure: failed program was:" >&5
17466 cat conftest.
$ac_ext >&5
17468 eval "ac_cv_lib_$ac_lib_var=no"
17471 LIBS
="$ac_save_LIBS"
17474 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17475 echo "$ac_t""yes" 1>&6
17476 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
17477 echo "configure:17478: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
17478 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
17479 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17480 echo $ac_n "(cached) $ac_c" 1>&6
17482 ac_save_LIBS
="$LIBS"
17483 LIBS
="-l$THREADS_LINK $LIBS"
17484 cat > conftest.
$ac_ext <<EOF
17485 #line 17486 "configure"
17486 #include "confdefs.h"
17487 /* Override any gcc2 internal prototype to avoid an error. */
17488 /* We use char because int might match the return type of a gcc2
17489 builtin and then its argument prototype would still apply. */
17490 char pthread_attr_setschedparam();
17493 pthread_attr_setschedparam()
17496 if { (eval echo configure
:17497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17498 eval "ac_cv_lib_$ac_lib_var=yes"
17500 echo "configure: failed program was:" >&5
17501 cat conftest.
$ac_ext >&5
17503 eval "ac_cv_lib_$ac_lib_var=no"
17506 LIBS
="$ac_save_LIBS"
17509 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17510 echo "$ac_t""yes" 1>&6
17511 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
17512 echo "configure:17513: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
17513 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17514 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17515 echo $ac_n "(cached) $ac_c" 1>&6
17517 ac_save_LIBS
="$LIBS"
17518 LIBS
="-l$THREADS_LINK $LIBS"
17519 cat > conftest.
$ac_ext <<EOF
17520 #line 17521 "configure"
17521 #include "confdefs.h"
17522 /* Override any gcc2 internal prototype to avoid an error. */
17523 /* We use char because int might match the return type of a gcc2
17524 builtin and then its argument prototype would still apply. */
17525 char sched_get_priority_max();
17528 sched_get_priority_max()
17531 if { (eval echo configure
:17532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17533 eval "ac_cv_lib_$ac_lib_var=yes"
17535 echo "configure: failed program was:" >&5
17536 cat conftest.
$ac_ext >&5
17538 eval "ac_cv_lib_$ac_lib_var=no"
17541 LIBS
="$ac_save_LIBS"
17544 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17545 echo "$ac_t""yes" 1>&6
17548 echo "$ac_t""no" 1>&6
17549 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
17550 echo "configure:17551: checking for sched_get_priority_max in -lposix4" >&5
17551 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17552 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17553 echo $ac_n "(cached) $ac_c" 1>&6
17555 ac_save_LIBS
="$LIBS"
17556 LIBS
="-lposix4 $LIBS"
17557 cat > conftest.
$ac_ext <<EOF
17558 #line 17559 "configure"
17559 #include "confdefs.h"
17560 /* Override any gcc2 internal prototype to avoid an error. */
17561 /* We use char because int might match the return type of a gcc2
17562 builtin and then its argument prototype would still apply. */
17563 char sched_get_priority_max();
17566 sched_get_priority_max()
17569 if { (eval echo configure
:17570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17571 eval "ac_cv_lib_$ac_lib_var=yes"
17573 echo "configure: failed program was:" >&5
17574 cat conftest.
$ac_ext >&5
17576 eval "ac_cv_lib_$ac_lib_var=no"
17579 LIBS
="$ac_save_LIBS"
17582 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17583 echo "$ac_t""yes" 1>&6
17586 POSIX4_LINK
=" -lposix4"
17589 echo "$ac_t""no" 1>&6
17597 echo "$ac_t""no" 1>&6
17602 echo "$ac_t""no" 1>&6
17606 if test "$HAVE_PRIOR_FUNCS" = 1; then
17607 cat >> confdefs.h
<<\EOF
17608 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
17612 echo "configure: warning: Setting thread priority will not work" 1>&2
17615 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
17616 echo "configure:17617: checking for pthread_cancel in -l$THREADS_LINK" >&5
17617 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
17618 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17619 echo $ac_n "(cached) $ac_c" 1>&6
17621 ac_save_LIBS
="$LIBS"
17622 LIBS
="-l$THREADS_LINK $LIBS"
17623 cat > conftest.
$ac_ext <<EOF
17624 #line 17625 "configure"
17625 #include "confdefs.h"
17626 /* Override any gcc2 internal prototype to avoid an error. */
17627 /* We use char because int might match the return type of a gcc2
17628 builtin and then its argument prototype would still apply. */
17629 char pthread_cancel();
17635 if { (eval echo configure
:17636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17637 eval "ac_cv_lib_$ac_lib_var=yes"
17639 echo "configure: failed program was:" >&5
17640 cat conftest.
$ac_ext >&5
17642 eval "ac_cv_lib_$ac_lib_var=no"
17645 LIBS
="$ac_save_LIBS"
17648 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17649 echo "$ac_t""yes" 1>&6
17650 cat >> confdefs.h
<<\EOF
17651 #define HAVE_PTHREAD_CANCEL 1
17655 echo "$ac_t""no" 1>&6
17656 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
17660 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
17661 echo "configure:17662: checking for pthread_cleanup_push/pop" >&5
17662 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
17663 echo $ac_n "(cached) $ac_c" 1>&6
17666 cat > conftest.
$ac_ext <<EOF
17667 #line 17668 "configure"
17668 #include "confdefs.h"
17669 #include <pthread.h>
17672 pthread_cleanup_push(NULL, NULL);
17673 pthread_cleanup_pop(0);
17677 if { (eval echo configure
:17678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17680 wx_cv_func_pthread_cleanup_push
=yes
17683 echo "configure: failed program was:" >&5
17684 cat conftest.
$ac_ext >&5
17687 wx_cv_func_pthread_cleanup_push
=no
17694 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
17696 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
17697 cat >> confdefs.h
<<\EOF
17698 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
17704 if test "x$wx_lib_glibc21" = "xyes"; then
17705 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
17708 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
17709 echo "configure:17710: checking for pthread_mutexattr_t" >&5
17710 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
17711 echo $ac_n "(cached) $ac_c" 1>&6
17714 cat > conftest.
$ac_ext <<EOF
17715 #line 17716 "configure"
17716 #include "confdefs.h"
17717 #include <pthread.h>
17720 pthread_mutexattr_t attr;
17721 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
17725 if { (eval echo configure
:17726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17728 wx_cv_type_pthread_mutexattr_t
=yes
17731 echo "configure: failed program was:" >&5
17732 cat conftest.
$ac_ext >&5
17735 wx_cv_type_pthread_mutexattr_t
=no
17743 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
17745 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
17746 cat >> confdefs.h
<<\EOF
17747 #define HAVE_PTHREAD_MUTEXATTR_T 1
17751 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
17752 echo "configure:17753: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
17753 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
17754 echo $ac_n "(cached) $ac_c" 1>&6
17757 cat > conftest.
$ac_ext <<EOF
17758 #line 17759 "configure"
17759 #include "confdefs.h"
17760 #include <pthread.h>
17763 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
17767 if { (eval echo configure
:17768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17770 wx_cv_type_pthread_rec_mutex_init
=yes
17773 echo "configure: failed program was:" >&5
17774 cat conftest.
$ac_ext >&5
17777 wx_cv_type_pthread_rec_mutex_init
=no
17785 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
17786 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
17787 cat >> confdefs.h
<<\EOF
17788 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
17792 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
17796 THREADS_LINK
=" -l$THREADS_LINK"
17798 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
17799 CPPFLAGS
="$CFLAGS -mt"
17800 CXXFLAGS
="$CXXFLAGS -mt"
17801 LDFLAGS
="$LDFLAGS -mt"
17807 if test "$wxUSE_THREADS" = "yes"; then
17808 cat >> confdefs.h
<<\EOF
17809 #define wxUSE_THREADS 1
17813 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS $CPP_MT_FLAG"
17815 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
17817 if test "$ac_cv_func_strtok_r" = "yes"; then
17818 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
17819 echo "configure:17820: checking if -D_REENTRANT is needed" >&5
17820 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
17821 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
17822 echo "$ac_t""yes" 1>&6
17824 echo "$ac_t""no" 1>&6
17829 if test "$WXGTK20" = 1 ; then
17830 cat >> confdefs.h
<<EOF
17831 #define __WXGTK20__ $WXGTK20
17837 if test "$WXGTK12" = 1 ; then
17838 cat >> confdefs.h
<<EOF
17839 #define __WXGTK12__ $WXGTK12
17844 if test "$WXGTK127" = 1 ; then
17845 cat >> confdefs.h
<<EOF
17846 #define __WXGTK127__ $WXGTK127
17853 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
17858 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
17859 wxUSE_DEBUG_INFO
=yes
17863 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
17864 cat >> confdefs.h
<<\EOF
17868 WXDEBUG_DEFINE
="-D__WXDEBUG__"
17870 if test "$wxUSE_GTK" = 1 ; then
17871 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
17875 if test "$wxUSE_MEM_TRACING" = "yes" ; then
17876 cat >> confdefs.h
<<\EOF
17877 #define wxUSE_MEMORY_TRACING 1
17880 cat >> confdefs.h
<<\EOF
17881 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
17884 cat >> confdefs.h
<<\EOF
17885 #define wxUSE_DEBUG_NEW_ALWAYS 1
17888 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
17891 if test "$wxUSE_DMALLOC" = "yes" ; then
17892 DMALLOC_LIBS
="-ldmalloc"
17896 if test "$wxUSE_PROFILE" = "yes" ; then
17900 if test "$GCC" = "yes" ; then
17901 if test "$wxUSE_NO_RTTI" = "yes" ; then
17902 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
17904 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
17905 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
17907 if test "$wxUSE_PERMISSIVE" = "yes" ; then
17908 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
17910 if test "$USE_WIN32" = 1 ; then
17911 # I'm not even really sure what this was ever added to solve,
17912 # but someone added it for mingw native builds, so I guess
17913 # they had a reason, right??
17914 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
17919 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
17920 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
17921 if test "$wxUSE_OPTIMISE" = "no" ; then
17924 if test "$GCC" = yes ; then
17927 i586
-*-*|i686
-*-* )
17928 OPTIMISE
="${OPTIMISE} "
17936 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
17937 cat >> confdefs.h
<<\EOF
17938 #define WXWIN_COMPATIBILITY_2 1
17942 WXWIN_COMPATIBILITY_2_2
="yes"
17945 if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
17946 cat >> confdefs.h
<<\EOF
17947 #define WXWIN_COMPATIBILITY_2_2 1
17953 if test "$wxUSE_GUI" = "yes"; then
17954 cat >> confdefs.h
<<\EOF
17955 #define wxUSE_GUI 1
17960 cat >> confdefs.h
<<\EOF
17961 #define wxUSE_NOGUI 1
17967 if test "$wxUSE_UNIX" = "yes"; then
17968 cat >> confdefs.h
<<\EOF
17969 #define wxUSE_UNIX 1
17975 if test "$wxUSE_APPLE_IEEE" = "yes"; then
17976 cat >> confdefs.h
<<\EOF
17977 #define wxUSE_APPLE_IEEE 1
17982 if test "$wxUSE_TIMER" = "yes"; then
17983 cat >> confdefs.h
<<\EOF
17984 #define wxUSE_TIMER 1
17989 if test "$wxUSE_WAVE" = "yes"; then
17990 cat >> confdefs.h
<<\EOF
17991 #define wxUSE_WAVE 1
17996 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
17997 cat >> confdefs.h
<<\EOF
17998 #define wxUSE_CMDLINE_PARSER 1
18003 if test "$wxUSE_STOPWATCH" = "yes"; then
18004 cat >> confdefs.h
<<\EOF
18005 #define wxUSE_STOPWATCH 1
18010 if test "$wxUSE_DATETIME" = "yes"; then
18011 cat >> confdefs.h
<<\EOF
18012 #define wxUSE_DATETIME 1
18017 if test "$wxUSE_TIMEDATE" = "yes"; then
18018 cat >> confdefs.h
<<\EOF
18019 #define wxUSE_TIMEDATE 1
18024 if test "$wxUSE_FILE" = "yes"; then
18025 cat >> confdefs.h
<<\EOF
18026 #define wxUSE_FILE 1
18031 if test "$wxUSE_FFILE" = "yes"; then
18032 cat >> confdefs.h
<<\EOF
18033 #define wxUSE_FFILE 1
18038 if test "$wxUSE_FILESYSTEM" = "yes"; then
18039 cat >> confdefs.h
<<\EOF
18040 #define wxUSE_FILESYSTEM 1
18045 if test "$wxUSE_FS_INET" = "yes"; then
18046 cat >> confdefs.h
<<\EOF
18047 #define wxUSE_FS_INET 1
18052 if test "$wxUSE_FS_ZIP" = "yes"; then
18053 cat >> confdefs.h
<<\EOF
18054 #define wxUSE_FS_ZIP 1
18059 if test "$wxUSE_ZIPSTREAM" = "yes"; then
18060 cat >> confdefs.h
<<\EOF
18061 #define wxUSE_ZIPSTREAM 1
18066 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
18067 cat >> confdefs.h
<<\EOF
18068 #define wxUSE_ON_FATAL_EXCEPTION 1
18073 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18074 cat >> confdefs.h
<<\EOF
18075 #define wxUSE_SNGLINST_CHECKER 1
18080 if test "$wxUSE_BUSYINFO" = "yes"; then
18081 cat >> confdefs.h
<<\EOF
18082 #define wxUSE_BUSYINFO 1
18087 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
18088 cat >> confdefs.h
<<\EOF
18089 #define wxUSE_STD_IOSTREAM 1
18094 if test "$wxUSE_TEXTBUFFER" = "yes"; then
18095 cat >> confdefs.h
<<\EOF
18096 #define wxUSE_TEXTBUFFER 1
18101 if test "$wxUSE_TEXTFILE" = "yes"; then
18102 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
18103 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
18105 cat >> confdefs.h
<<\EOF
18106 #define wxUSE_TEXTFILE 1
18112 if test "$wxUSE_CONFIG" = "yes" ; then
18113 if test "$wxUSE_TEXTFILE" != "yes"; then
18114 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
18116 cat >> confdefs.h
<<\EOF
18117 #define wxUSE_CONFIG 1
18120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
18124 if test "$wxUSE_INTL" = "yes" ; then
18125 if test "$wxUSE_FILE" != "yes"; then
18126 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
18128 cat >> confdefs.h
<<\EOF
18129 #define wxUSE_INTL 1
18132 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
18133 GUIDIST
="$GUIDIST INTL_DIST"
18137 if test "$wxUSE_LOG" = "yes"; then
18138 cat >> confdefs.h
<<\EOF
18139 #define wxUSE_LOG 1
18143 if test "$wxUSE_LOGGUI" = "yes"; then
18144 cat >> confdefs.h
<<\EOF
18145 #define wxUSE_LOGGUI 1
18150 if test "$wxUSE_LOGWINDOW" = "yes"; then
18151 cat >> confdefs.h
<<\EOF
18152 #define wxUSE_LOGWINDOW 1
18157 if test "$wxUSE_LOGDIALOG" = "yes"; then
18158 cat >> confdefs.h
<<\EOF
18159 #define wxUSE_LOG_DIALOG 1
18165 if test "$wxUSE_LONGLONG" = "yes"; then
18166 cat >> confdefs.h
<<\EOF
18167 #define wxUSE_LONGLONG 1
18172 if test "$wxUSE_GEOMETRY" = "yes"; then
18173 cat >> confdefs.h
<<\EOF
18174 #define wxUSE_GEOMETRY 1
18179 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
18180 cat >> confdefs.h
<<\EOF
18181 #define wxUSE_DIALUP_MANAGER 1
18184 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
18187 if test "$wxUSE_STREAMS" = "yes" ; then
18188 cat >> confdefs.h
<<\EOF
18189 #define wxUSE_STREAMS 1
18195 if test "$wxUSE_DATETIME" = "yes"; then
18196 for ac_func
in strptime
18198 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18199 echo "configure:18200: checking for $ac_func" >&5
18200 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18201 echo $ac_n "(cached) $ac_c" 1>&6
18203 cat > conftest.
$ac_ext <<EOF
18204 #line 18205 "configure"
18205 #include "confdefs.h"
18206 /* System header to define __stub macros and hopefully few prototypes,
18207 which can conflict with char $ac_func(); below. */
18208 #include <assert.h>
18209 /* Override any gcc2 internal prototype to avoid an error. */
18210 /* We use char because int might match the return type of a gcc2
18211 builtin and then its argument prototype would still apply. */
18216 /* The GNU C library defines this for functions which it implements
18217 to always fail with ENOSYS. Some functions are actually named
18218 something starting with __ and the normal name is an alias. */
18219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18227 if { (eval echo configure
:18228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18229 eval "ac_cv_func_$ac_func=yes"
18231 echo "configure: failed program was:" >&5
18232 cat conftest.
$ac_ext >&5
18234 eval "ac_cv_func_$ac_func=no"
18239 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18240 echo "$ac_t""yes" 1>&6
18241 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18242 cat >> confdefs.h
<<EOF
18243 #define $ac_tr_func 1
18247 echo "$ac_t""no" 1>&6
18252 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
18253 echo "configure:18254: checking for timezone variable in <time.h>" >&5
18254 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
18255 echo $ac_n "(cached) $ac_c" 1>&6
18258 cat > conftest.
$ac_ext <<EOF
18259 #line 18260 "configure"
18260 #include "confdefs.h"
18271 if { (eval echo configure
:18272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18274 wx_cv_var_timezone
=timezone
18277 echo "configure: failed program was:" >&5
18278 cat conftest.
$ac_ext >&5
18281 cat > conftest.
$ac_ext <<EOF
18282 #line 18283 "configure"
18283 #include "confdefs.h"
18294 if { (eval echo configure
:18295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18297 wx_cv_var_timezone
=_timezone
18300 echo "configure: failed program was:" >&5
18301 cat conftest.
$ac_ext >&5
18304 cat > conftest.
$ac_ext <<EOF
18305 #line 18306 "configure"
18306 #include "confdefs.h"
18317 if { (eval echo configure
:18318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18320 wx_cv_var_timezone
=__timezone
18323 echo "configure: failed program was:" >&5
18324 cat conftest.
$ac_ext >&5
18327 if test "$USE_DOS" = 0 ; then
18328 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
18346 echo "$ac_t""$wx_cv_var_timezone" 1>&6
18348 if test "x$wx_cv_var_timezone" != x
; then
18349 cat >> confdefs.h
<<EOF
18350 #define WX_TIMEZONE $wx_cv_var_timezone
18355 for ac_func
in localtime
18357 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18358 echo "configure:18359: checking for $ac_func" >&5
18359 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18360 echo $ac_n "(cached) $ac_c" 1>&6
18362 cat > conftest.
$ac_ext <<EOF
18363 #line 18364 "configure"
18364 #include "confdefs.h"
18365 /* System header to define __stub macros and hopefully few prototypes,
18366 which can conflict with char $ac_func(); below. */
18367 #include <assert.h>
18368 /* Override any gcc2 internal prototype to avoid an error. */
18369 /* We use char because int might match the return type of a gcc2
18370 builtin and then its argument prototype would still apply. */
18375 /* The GNU C library defines this for functions which it implements
18376 to always fail with ENOSYS. Some functions are actually named
18377 something starting with __ and the normal name is an alias. */
18378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18386 if { (eval echo configure
:18387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18388 eval "ac_cv_func_$ac_func=yes"
18390 echo "configure: failed program was:" >&5
18391 cat conftest.
$ac_ext >&5
18393 eval "ac_cv_func_$ac_func=no"
18398 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18399 echo "$ac_t""yes" 1>&6
18400 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18401 cat >> confdefs.h
<<EOF
18402 #define $ac_tr_func 1
18406 echo "$ac_t""no" 1>&6
18411 if test "$ac_cv_func_localtime" = "yes"; then
18412 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
18413 echo "configure:18414: checking for tm_gmtoff in struct tm" >&5
18414 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
18415 echo $ac_n "(cached) $ac_c" 1>&6
18418 cat > conftest.
$ac_ext <<EOF
18419 #line 18420 "configure"
18420 #include "confdefs.h"
18431 if { (eval echo configure
:18432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18434 wx_cv_struct_tm_has_gmtoff
=yes
18437 echo "configure: failed program was:" >&5
18438 cat conftest.
$ac_ext >&5
18440 wx_cv_struct_tm_has_gmtoff
=no
18447 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
18450 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
18451 cat >> confdefs.h
<<\EOF
18452 #define WX_GMTOFF_IN_TM 1
18457 for ac_func
in gettimeofday ftime
18459 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18460 echo "configure:18461: checking for $ac_func" >&5
18461 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18462 echo $ac_n "(cached) $ac_c" 1>&6
18464 cat > conftest.
$ac_ext <<EOF
18465 #line 18466 "configure"
18466 #include "confdefs.h"
18467 /* System header to define __stub macros and hopefully few prototypes,
18468 which can conflict with char $ac_func(); below. */
18469 #include <assert.h>
18470 /* Override any gcc2 internal prototype to avoid an error. */
18471 /* We use char because int might match the return type of a gcc2
18472 builtin and then its argument prototype would still apply. */
18477 /* The GNU C library defines this for functions which it implements
18478 to always fail with ENOSYS. Some functions are actually named
18479 something starting with __ and the normal name is an alias. */
18480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18488 if { (eval echo configure
:18489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18490 eval "ac_cv_func_$ac_func=yes"
18492 echo "configure: failed program was:" >&5
18493 cat conftest.
$ac_ext >&5
18495 eval "ac_cv_func_$ac_func=no"
18500 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18501 echo "$ac_t""yes" 1>&6
18502 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18503 cat >> confdefs.h
<<EOF
18504 #define $ac_tr_func 1
18508 echo "$ac_t""no" 1>&6
18513 if test "$ac_cv_func_gettimeofday" = "yes"; then
18514 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
18515 echo "configure:18516: checking whether gettimeofday takes two arguments" >&5
18516 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
18517 echo $ac_n "(cached) $ac_c" 1>&6
18522 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18523 ac_cpp
='$CXXCPP $CPPFLAGS'
18524 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18525 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18526 cross_compiling
=$ac_cv_prog_cxx_cross
18529 cat > conftest.
$ac_ext <<EOF
18530 #line 18531 "configure"
18531 #include "confdefs.h"
18533 #include <sys/time.h>
18534 #include <unistd.h>
18539 gettimeofday(&tv, NULL);
18543 if { (eval echo configure
:18544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18545 wx_cv_func_gettimeofday_has_2_args
=yes
18547 echo "configure: failed program was:" >&5
18548 cat conftest.
$ac_ext >&5
18550 cat > conftest.
$ac_ext <<EOF
18551 #line 18552 "configure"
18552 #include "confdefs.h"
18554 #include <sys/time.h>
18555 #include <unistd.h>
18564 if { (eval echo configure
:18565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18566 wx_cv_func_gettimeofday_has_2_args
=no
18568 echo "configure: failed program was:" >&5
18569 cat conftest.
$ac_ext >&5
18572 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
18573 wx_cv_func_gettimeofday_has_2_args
=unknown
18582 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18583 ac_cpp
='$CPP $CPPFLAGS'
18584 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18585 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18586 cross_compiling
=$ac_cv_prog_cc_cross
18591 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
18593 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
18594 cat >> confdefs.h
<<\EOF
18595 #define WX_GETTIMEOFDAY_NO_TZ 1
18601 cat >> confdefs.h
<<\EOF
18602 #define wxUSE_TIMEDATE 1
18605 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
18609 if test "$wxUSE_SOCKETS" = "yes"; then
18610 if test "$TOOLKIT" = "X11"; then
18611 echo "configure: warning: wxSocket not yet supported under X11... disabled" 1>&2
18616 if test "$wxUSE_SOCKETS" = "yes"; then
18617 if test "$TOOLKIT" != "MSW"; then
18618 echo $ac_n "checking for socket""... $ac_c" 1>&6
18619 echo "configure:18620: checking for socket" >&5
18620 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
18621 echo $ac_n "(cached) $ac_c" 1>&6
18623 cat > conftest.
$ac_ext <<EOF
18624 #line 18625 "configure"
18625 #include "confdefs.h"
18626 /* System header to define __stub macros and hopefully few prototypes,
18627 which can conflict with char socket(); below. */
18628 #include <assert.h>
18629 /* Override any gcc2 internal prototype to avoid an error. */
18630 /* We use char because int might match the return type of a gcc2
18631 builtin and then its argument prototype would still apply. */
18636 /* The GNU C library defines this for functions which it implements
18637 to always fail with ENOSYS. Some functions are actually named
18638 something starting with __ and the normal name is an alias. */
18639 #if defined (__stub_socket) || defined (__stub___socket)
18647 if { (eval echo configure
:18648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18649 eval "ac_cv_func_socket=yes"
18651 echo "configure: failed program was:" >&5
18652 cat conftest.
$ac_ext >&5
18654 eval "ac_cv_func_socket=no"
18659 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
18660 echo "$ac_t""yes" 1>&6
18663 echo "$ac_t""no" 1>&6
18664 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
18665 echo "configure:18666: checking for socket in -lsocket" >&5
18666 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
18667 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18668 echo $ac_n "(cached) $ac_c" 1>&6
18670 ac_save_LIBS
="$LIBS"
18671 LIBS
="-lsocket $LIBS"
18672 cat > conftest.
$ac_ext <<EOF
18673 #line 18674 "configure"
18674 #include "confdefs.h"
18675 /* Override any gcc2 internal prototype to avoid an error. */
18676 /* We use char because int might match the return type of a gcc2
18677 builtin and then its argument prototype would still apply. */
18684 if { (eval echo configure
:18685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18686 eval "ac_cv_lib_$ac_lib_var=yes"
18688 echo "configure: failed program was:" >&5
18689 cat conftest.
$ac_ext >&5
18691 eval "ac_cv_lib_$ac_lib_var=no"
18694 LIBS
="$ac_save_LIBS"
18697 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18698 echo "$ac_t""yes" 1>&6
18699 if test "$INET_LINK" != " -lsocket"; then
18700 INET_LINK
="$INET_LINK -lsocket"
18703 echo "$ac_t""no" 1>&6
18705 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
18717 if test "$wxUSE_SOCKETS" = "yes" ; then
18718 if test "$TOOLKIT" != "MSW"; then
18719 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
18720 echo "configure:18721: checking what is the type of the third argument of getsockname" >&5
18721 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
18722 echo $ac_n "(cached) $ac_c" 1>&6
18727 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18728 ac_cpp
='$CXXCPP $CPPFLAGS'
18729 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18730 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18731 cross_compiling
=$ac_cv_prog_cxx_cross
18734 cat > conftest.
$ac_ext <<EOF
18735 #line 18736 "configure"
18736 #include "confdefs.h"
18738 #include <sys/types.h>
18739 #include <sys/socket.h>
18744 getsockname(0, 0, &len);
18748 if { (eval echo configure
:18749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18750 wx_cv_type_getsockname3
=socklen_t
18752 echo "configure: failed program was:" >&5
18753 cat conftest.
$ac_ext >&5
18755 cat > conftest.
$ac_ext <<EOF
18756 #line 18757 "configure"
18757 #include "confdefs.h"
18759 #include <sys/types.h>
18760 #include <sys/socket.h>
18765 getsockname(0, 0, &len);
18769 if { (eval echo configure
:18770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18771 wx_cv_type_getsockname3
=size_t
18773 echo "configure: failed program was:" >&5
18774 cat conftest.
$ac_ext >&5
18776 cat > conftest.
$ac_ext <<EOF
18777 #line 18778 "configure"
18778 #include "confdefs.h"
18780 #include <sys/types.h>
18781 #include <sys/socket.h>
18786 getsockname(0, 0, &len);
18790 if { (eval echo configure
:18791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18792 wx_cv_type_getsockname3
=int
18794 echo "configure: failed program was:" >&5
18795 cat conftest.
$ac_ext >&5
18797 wx_cv_type_getsockname3
=unknown
18809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18810 ac_cpp
='$CPP $CPPFLAGS'
18811 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18812 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18813 cross_compiling
=$ac_cv_prog_cc_cross
18818 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
18820 if test "$wx_cv_type_getsockname3" = "unknown"; then
18822 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
18824 cat >> confdefs.h
<<EOF
18825 #define SOCKLEN_T $wx_cv_type_getsockname3
18832 if test "$wxUSE_SOCKETS" = "yes" ; then
18833 cat >> confdefs.h
<<\EOF
18834 #define wxUSE_SOCKETS 1
18837 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
18841 if test "$wxUSE_GUI" = "yes"; then
18843 if test "$TOOLKIT" = "MAC"; then
18844 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
18847 if test "$TOOLKIT" = "MOTIF"; then
18848 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
18851 if test "$TOOLKIT" = "X11"; then
18852 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
18856 if test "$TOOLKIT" != "MSW"; then
18857 if test "$wxUSE_JOYSTICK" = "yes"; then
18858 for ac_hdr
in linux
/joystick.h
18860 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18861 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18862 echo "configure:18863: checking for $ac_hdr" >&5
18863 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18864 echo $ac_n "(cached) $ac_c" 1>&6
18866 cat > conftest.
$ac_ext <<EOF
18867 #line 18868 "configure"
18868 #include "confdefs.h"
18871 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18872 { (eval echo configure
:18873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18873 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18874 if test -z "$ac_err"; then
18876 eval "ac_cv_header_$ac_safe=yes"
18879 echo "configure: failed program was:" >&5
18880 cat conftest.
$ac_ext >&5
18882 eval "ac_cv_header_$ac_safe=no"
18886 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18887 echo "$ac_t""yes" 1>&6
18888 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18889 cat >> confdefs.h
<<EOF
18890 #define $ac_tr_hdr 1
18894 echo "$ac_t""no" 1>&6
18898 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
18900 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
18905 if test "$wxUSE_JOYSTICK" = "yes"; then
18906 cat >> confdefs.h
<<\EOF
18907 #define wxUSE_JOYSTICK 1
18910 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
18915 if test "$TOOLKIT" != "MSW"; then
18919 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18920 if test "$USE_DARWIN" = 1; then
18923 for ac_func
in dlopen
18925 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18926 echo "configure:18927: checking for $ac_func" >&5
18927 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18928 echo $ac_n "(cached) $ac_c" 1>&6
18930 cat > conftest.
$ac_ext <<EOF
18931 #line 18932 "configure"
18932 #include "confdefs.h"
18933 /* System header to define __stub macros and hopefully few prototypes,
18934 which can conflict with char $ac_func(); below. */
18935 #include <assert.h>
18936 /* Override any gcc2 internal prototype to avoid an error. */
18937 /* We use char because int might match the return type of a gcc2
18938 builtin and then its argument prototype would still apply. */
18943 /* The GNU C library defines this for functions which it implements
18944 to always fail with ENOSYS. Some functions are actually named
18945 something starting with __ and the normal name is an alias. */
18946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18954 if { (eval echo configure
:18955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18956 eval "ac_cv_func_$ac_func=yes"
18958 echo "configure: failed program was:" >&5
18959 cat conftest.
$ac_ext >&5
18961 eval "ac_cv_func_$ac_func=no"
18966 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18967 echo "$ac_t""yes" 1>&6
18968 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18969 cat >> confdefs.h
<<EOF
18970 #define $ac_tr_func 1
18973 cat >> confdefs.h
<<\EOF
18974 #define HAVE_DLOPEN 1
18980 echo "$ac_t""no" 1>&6
18981 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
18982 echo "configure:18983: checking for dlopen in -ldl" >&5
18983 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
18984 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18985 echo $ac_n "(cached) $ac_c" 1>&6
18987 ac_save_LIBS
="$LIBS"
18989 cat > conftest.
$ac_ext <<EOF
18990 #line 18991 "configure"
18991 #include "confdefs.h"
18992 /* Override any gcc2 internal prototype to avoid an error. */
18993 /* We use char because int might match the return type of a gcc2
18994 builtin and then its argument prototype would still apply. */
19001 if { (eval echo configure
:19002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19003 eval "ac_cv_lib_$ac_lib_var=yes"
19005 echo "configure: failed program was:" >&5
19006 cat conftest.
$ac_ext >&5
19008 eval "ac_cv_lib_$ac_lib_var=no"
19011 LIBS
="$ac_save_LIBS"
19014 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19015 echo "$ac_t""yes" 1>&6
19017 cat >> confdefs.h
<<\EOF
19018 #define HAVE_DLOPEN 1
19022 DL_LINK
=" -ldl$DL_LINK"
19025 echo "$ac_t""no" 1>&6
19027 for ac_func
in shl_load
19029 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19030 echo "configure:19031: checking for $ac_func" >&5
19031 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19032 echo $ac_n "(cached) $ac_c" 1>&6
19034 cat > conftest.
$ac_ext <<EOF
19035 #line 19036 "configure"
19036 #include "confdefs.h"
19037 /* System header to define __stub macros and hopefully few prototypes,
19038 which can conflict with char $ac_func(); below. */
19039 #include <assert.h>
19040 /* Override any gcc2 internal prototype to avoid an error. */
19041 /* We use char because int might match the return type of a gcc2
19042 builtin and then its argument prototype would still apply. */
19047 /* The GNU C library defines this for functions which it implements
19048 to always fail with ENOSYS. Some functions are actually named
19049 something starting with __ and the normal name is an alias. */
19050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19058 if { (eval echo configure
:19059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19060 eval "ac_cv_func_$ac_func=yes"
19062 echo "configure: failed program was:" >&5
19063 cat conftest.
$ac_ext >&5
19065 eval "ac_cv_func_$ac_func=no"
19070 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19071 echo "$ac_t""yes" 1>&6
19072 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19073 cat >> confdefs.h
<<EOF
19074 #define $ac_tr_func 1
19077 cat >> confdefs.h
<<\EOF
19078 #define HAVE_SHL_LOAD 1
19084 echo "$ac_t""no" 1>&6
19085 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
19086 echo "configure:19087: checking for dld in -lshl_load" >&5
19087 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
19088 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19089 echo $ac_n "(cached) $ac_c" 1>&6
19091 ac_save_LIBS
="$LIBS"
19092 LIBS
="-lshl_load $LIBS"
19093 cat > conftest.
$ac_ext <<EOF
19094 #line 19095 "configure"
19095 #include "confdefs.h"
19096 /* Override any gcc2 internal prototype to avoid an error. */
19097 /* We use char because int might match the return type of a gcc2
19098 builtin and then its argument prototype would still apply. */
19105 if { (eval echo configure
:19106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19107 eval "ac_cv_lib_$ac_lib_var=yes"
19109 echo "configure: failed program was:" >&5
19110 cat conftest.
$ac_ext >&5
19112 eval "ac_cv_lib_$ac_lib_var=no"
19115 LIBS
="$ac_save_LIBS"
19118 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19119 echo "$ac_t""yes" 1>&6
19122 DL_LINK
=" -ldld$DL_LINK"
19125 echo "$ac_t""no" 1>&6
19140 if test "$HAVE_DL_FUNCS" = 1; then
19141 for ac_func
in dlerror
19143 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19144 echo "configure:19145: checking for $ac_func" >&5
19145 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19146 echo $ac_n "(cached) $ac_c" 1>&6
19148 cat > conftest.
$ac_ext <<EOF
19149 #line 19150 "configure"
19150 #include "confdefs.h"
19151 /* System header to define __stub macros and hopefully few prototypes,
19152 which can conflict with char $ac_func(); below. */
19153 #include <assert.h>
19154 /* Override any gcc2 internal prototype to avoid an error. */
19155 /* We use char because int might match the return type of a gcc2
19156 builtin and then its argument prototype would still apply. */
19161 /* The GNU C library defines this for functions which it implements
19162 to always fail with ENOSYS. Some functions are actually named
19163 something starting with __ and the normal name is an alias. */
19164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19172 if { (eval echo configure
:19173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19174 eval "ac_cv_func_$ac_func=yes"
19176 echo "configure: failed program was:" >&5
19177 cat conftest.
$ac_ext >&5
19179 eval "ac_cv_func_$ac_func=no"
19184 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19185 echo "$ac_t""yes" 1>&6
19186 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19187 cat >> confdefs.h
<<EOF
19188 #define $ac_tr_func 1
19190 cat >> confdefs.h
<<\EOF
19191 #define HAVE_DLERROR 1
19195 echo "$ac_t""no" 1>&6
19196 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
19197 echo "configure:19198: checking for dlerror in -ldl" >&5
19198 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
19199 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19200 echo $ac_n "(cached) $ac_c" 1>&6
19202 ac_save_LIBS
="$LIBS"
19204 cat > conftest.
$ac_ext <<EOF
19205 #line 19206 "configure"
19206 #include "confdefs.h"
19207 /* Override any gcc2 internal prototype to avoid an error. */
19208 /* We use char because int might match the return type of a gcc2
19209 builtin and then its argument prototype would still apply. */
19216 if { (eval echo configure
:19217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19218 eval "ac_cv_lib_$ac_lib_var=yes"
19220 echo "configure: failed program was:" >&5
19221 cat conftest.
$ac_ext >&5
19223 eval "ac_cv_lib_$ac_lib_var=no"
19226 LIBS
="$ac_save_LIBS"
19229 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19230 echo "$ac_t""yes" 1>&6
19231 cat >> confdefs.h
<<\EOF
19232 #define HAVE_DLERROR 1
19236 echo "$ac_t""no" 1>&6
19245 if test "$HAVE_DL_FUNCS" = 0; then
19246 if test "$HAVE_SHL_FUNCS" = 0; then
19247 if test "$USE_UNIX" = 1; then
19248 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
19249 wxUSE_DYNAMIC_LOADER
=no
19250 wxUSE_DYNLIB_CLASS
=no
19252 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
19259 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
19260 cat >> confdefs.h
<<\EOF
19261 #define wxUSE_DYNAMIC_LOADER 1
19264 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19265 cat >> confdefs.h
<<\EOF
19266 #define wxUSE_DYNLIB_CLASS 1
19272 if test "$wxUSE_FONTMAP" = "yes" ; then
19273 cat >> confdefs.h
<<\EOF
19274 #define wxUSE_FONTMAP 1
19279 if test "$wxUSE_UNICODE" = "yes" ; then
19280 cat >> confdefs.h
<<\EOF
19281 #define wxUSE_UNICODE 1
19285 if test "$wxUSE_MSW" != 1; then
19286 wxUSE_UNICODE_MSLU
=no
19289 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
19290 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
19291 echo "configure:19292: checking for main in -lunicows" >&5
19292 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
19293 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19294 echo $ac_n "(cached) $ac_c" 1>&6
19296 ac_save_LIBS
="$LIBS"
19297 LIBS
="-lunicows $LIBS"
19298 cat > conftest.
$ac_ext <<EOF
19299 #line 19300 "configure"
19300 #include "confdefs.h"
19306 if { (eval echo configure
:19307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19308 eval "ac_cv_lib_$ac_lib_var=yes"
19310 echo "configure: failed program was:" >&5
19311 cat conftest.
$ac_ext >&5
19313 eval "ac_cv_lib_$ac_lib_var=no"
19316 LIBS
="$ac_save_LIBS"
19319 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19320 echo "$ac_t""yes" 1>&6
19322 cat >> confdefs.h
<<\EOF
19323 #define wxUSE_UNICODE_MSLU 1
19328 echo "$ac_t""no" 1>&6
19330 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
19331 Applications will only run on Windows NT/2000/XP!" 1>&2
19332 wxUSE_UNICODE_MSLU
=no
19339 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
19340 cat >> confdefs.h
<<\EOF
19341 #define wxUSE_EXPERIMENTAL_PRINTF 1
19349 if test "$wxUSE_ODBC" = "yes" ; then
19350 cat >> confdefs.h
<<\EOF
19351 #define wxUSE_ODBC 1
19354 WXODBCFLAG
="-D_IODBC_"
19355 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
19359 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
19360 cat >> confdefs.h
<<\EOF
19361 #define wxUSE_POSTSCRIPT 1
19366 cat >> confdefs.h
<<\EOF
19367 #define wxUSE_AFM_FOR_POSTSCRIPT 1
19371 cat >> confdefs.h
<<\EOF
19372 #define wxUSE_NORMALIZED_PS_FONTS 1
19377 if test "$wxUSE_CONSTRAINTS" = "yes"; then
19378 cat >> confdefs.h
<<\EOF
19379 #define wxUSE_CONSTRAINTS 1
19382 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
19385 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19386 if test "$wxUSE_UNIVERSAL" = "yes"; then
19387 echo "configure: warning: MDI not yet supported for wxUniversal... disabled" 1>&2
19388 wxUSE_MDI_ARCHITECTURE
=no
19391 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19392 cat >> confdefs.h
<<\EOF
19393 #define wxUSE_MDI_ARCHITECTURE 1
19396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
19400 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
19401 cat >> confdefs.h
<<\EOF
19402 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
19405 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
19406 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19407 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
19411 if test "$wxUSE_HELP" = "yes"; then
19412 cat >> confdefs.h
<<\EOF
19413 #define wxUSE_HELP 1
19416 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
19418 if test "$wxUSE_MSW" = 1; then
19419 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
19420 cat >> confdefs.h
<<\EOF
19421 #define wxUSE_MS_HTML_HELP 1
19427 if test "$wxUSE_WXHTML_HELP" = "yes"; then
19428 if test "$wxUSE_HTML" = "yes"; then
19429 cat >> confdefs.h
<<\EOF
19430 #define wxUSE_WXHTML_HELP 1
19434 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
19435 wxUSE_WXHTML_HELP
=no
19440 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
19441 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19442 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
19444 cat >> confdefs.h
<<\EOF
19445 #define wxUSE_PRINTING_ARCHITECTURE 1
19449 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
19452 if test "$wxUSE_PROLOGIO" = "yes" ; then
19453 cat >> confdefs.h
<<\EOF
19454 #define wxUSE_PROLOGIO 1
19459 if test "$wxUSE_RESOURCES" = "yes" ; then
19460 if test "$wxUSE_NANOX" = "yes"; then
19461 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
19463 cat >> confdefs.h
<<\EOF
19464 #define wxUSE_RESOURCES 1
19467 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
19471 if test "$wxUSE_X_RESOURCES" = "yes"; then
19472 cat >> confdefs.h
<<\EOF
19473 #define wxUSE_X_RESOURCES 1
19479 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
19480 -o "$wxUSE_CLIPBOARD" = "yes" \
19481 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
19482 for ac_hdr
in ole2.h
19484 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19485 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19486 echo "configure:19487: checking for $ac_hdr" >&5
19487 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19488 echo $ac_n "(cached) $ac_c" 1>&6
19490 cat > conftest.
$ac_ext <<EOF
19491 #line 19492 "configure"
19492 #include "confdefs.h"
19495 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19496 { (eval echo configure
:19497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19497 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19498 if test -z "$ac_err"; then
19500 eval "ac_cv_header_$ac_safe=yes"
19503 echo "configure: failed program was:" >&5
19504 cat conftest.
$ac_ext >&5
19506 eval "ac_cv_header_$ac_safe=no"
19510 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19511 echo "$ac_t""yes" 1>&6
19512 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19513 cat >> confdefs.h
<<EOF
19514 #define $ac_tr_hdr 1
19518 echo "$ac_t""no" 1>&6
19523 if test "$ac_cv_header_ole2_h" = "yes" ; then
19524 if test "$GCC" = yes ; then
19525 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
19526 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
19527 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
19528 cat >> confdefs.h
<<\EOF
19529 #define wxUSE_OLE 1
19535 cat >> confdefs.h
<<\EOF
19536 #define wxUSE_DATAOBJ 1
19540 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
19543 wxUSE_DRAG_AND_DROP
=no
19547 if test "$wxUSE_METAFILE" = "yes"; then
19548 cat >> confdefs.h
<<\EOF
19549 #define wxUSE_METAFILE 1
19553 cat >> confdefs.h
<<\EOF
19554 #define wxUSE_ENH_METAFILE 1
19560 if test "$wxUSE_IPC" = "yes"; then
19561 if test "$wxUSE_SOCKETS" != "yes"; then
19562 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
19565 cat >> confdefs.h
<<\EOF
19566 #define wxUSE_IPC 1
19571 if test "$wxUSE_CLIPBOARD" = "yes"; then
19572 cat >> confdefs.h
<<\EOF
19573 #define wxUSE_CLIPBOARD 1
19577 cat >> confdefs.h
<<\EOF
19578 #define wxUSE_DATAOBJ 1
19583 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
19584 if test "$wxUSE_GTK" = 1; then
19585 if test "$WXGTK12" != 1; then
19586 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
19587 wxUSE_DRAG_AND_DROP
=no
19591 if test "$wxUSE_MOTIF" = 1; then
19592 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
19593 wxUSE_DRAG_AND_DROP
=no
19596 if test "$wxUSE_X11" = 1; then
19597 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
19598 wxUSE_DRAG_AND_DROP
=no
19601 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
19602 cat >> confdefs.h
<<\EOF
19603 #define wxUSE_DRAG_AND_DROP 1
19606 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
19611 if test "$wxUSE_SPLINES" = "yes" ; then
19612 cat >> confdefs.h
<<\EOF
19613 #define wxUSE_SPLINES 1
19620 if test "$wxUSE_CONTROLS" = "yes"; then
19624 if test "$wxUSE_ACCEL" = "yes"; then
19625 cat >> confdefs.h
<<\EOF
19626 #define wxUSE_ACCEL 1
19632 if test "$wxUSE_BUTTON" = "yes"; then
19633 cat >> confdefs.h
<<\EOF
19634 #define wxUSE_BUTTON 1
19640 if test "$wxUSE_BMPBUTTON" = "yes"; then
19641 cat >> confdefs.h
<<\EOF
19642 #define wxUSE_BMPBUTTON 1
19648 if test "$wxUSE_CALCTRL" = "yes"; then
19649 cat >> confdefs.h
<<\EOF
19650 #define wxUSE_CALENDARCTRL 1
19654 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
19657 if test "$wxUSE_CARET" = "yes"; then
19658 cat >> confdefs.h
<<\EOF
19659 #define wxUSE_CARET 1
19663 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
19666 if test "$wxUSE_COMBOBOX" = "yes"; then
19667 cat >> confdefs.h
<<\EOF
19668 #define wxUSE_COMBOBOX 1
19674 if test "$wxUSE_CHOICE" = "yes"; then
19675 cat >> confdefs.h
<<\EOF
19676 #define wxUSE_CHOICE 1
19682 if test "$wxUSE_CHECKBOX" = "yes"; then
19683 cat >> confdefs.h
<<\EOF
19684 #define wxUSE_CHECKBOX 1
19690 if test "$wxUSE_CHECKLST" = "yes"; then
19691 cat >> confdefs.h
<<\EOF
19692 #define wxUSE_CHECKLISTBOX 1
19696 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
19699 if test "$wxUSE_GAUGE" = "yes"; then
19700 cat >> confdefs.h
<<\EOF
19701 #define wxUSE_GAUGE 1
19707 if test "$wxUSE_NEW_GRID" = "yes"; then
19709 cat >> confdefs.h
<<\EOF
19710 #define wxUSE_NEW_GRID 1
19714 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
19717 if test "$wxUSE_GRID" = "yes"; then
19718 cat >> confdefs.h
<<\EOF
19719 #define wxUSE_GRID 1
19723 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
19726 if test "$wxUSE_IMAGLIST" = "yes"; then
19727 cat >> confdefs.h
<<\EOF
19728 #define wxUSE_IMAGLIST 1
19733 if test "$wxUSE_LISTBOX" = "yes"; then
19734 cat >> confdefs.h
<<\EOF
19735 #define wxUSE_LISTBOX 1
19741 if test "$wxUSE_LISTCTRL" = "yes"; then
19742 if test "$wxUSE_IMAGLIST" = "yes"; then
19743 cat >> confdefs.h
<<\EOF
19744 #define wxUSE_LISTCTRL 1
19748 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
19750 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
19754 if test "$wxUSE_NOTEBOOK" = "yes"; then
19755 cat >> confdefs.h
<<\EOF
19756 #define wxUSE_NOTEBOOK 1
19760 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
19763 if test "$wxUSE_PROPSHEET" = "yes"; then
19764 cat >> confdefs.h
<<\EOF
19765 #define wxUSE_PROPSHEET 1
19769 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
19772 if test "$wxUSE_RADIOBOX" = "yes"; then
19773 cat >> confdefs.h
<<\EOF
19774 #define wxUSE_RADIOBOX 1
19780 if test "$wxUSE_RADIOBTN" = "yes"; then
19781 cat >> confdefs.h
<<\EOF
19782 #define wxUSE_RADIOBTN 1
19788 if test "$wxUSE_SASH" = "yes"; then
19789 cat >> confdefs.h
<<\EOF
19790 #define wxUSE_SASH 1
19793 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
19796 if test "$wxUSE_SCROLLBAR" = "yes"; then
19797 cat >> confdefs.h
<<\EOF
19798 #define wxUSE_SCROLLBAR 1
19802 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
19805 if test "$wxUSE_SLIDER" = "yes"; then
19806 cat >> confdefs.h
<<\EOF
19807 #define wxUSE_SLIDER 1
19813 if test "$wxUSE_SPINBTN" = "yes"; then
19814 cat >> confdefs.h
<<\EOF
19815 #define wxUSE_SPINBTN 1
19821 if test "$wxUSE_SPINCTRL" = "yes"; then
19822 cat >> confdefs.h
<<\EOF
19823 #define wxUSE_SPINCTRL 1
19829 if test "$wxUSE_SPLITTER" = "yes"; then
19830 cat >> confdefs.h
<<\EOF
19831 #define wxUSE_SPLITTER 1
19834 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
19837 if test "$wxUSE_STATBMP" = "yes"; then
19838 cat >> confdefs.h
<<\EOF
19839 #define wxUSE_STATBMP 1
19845 if test "$wxUSE_STATBOX" = "yes"; then
19846 cat >> confdefs.h
<<\EOF
19847 #define wxUSE_STATBOX 1
19853 if test "$wxUSE_STATTEXT" = "yes"; then
19854 cat >> confdefs.h
<<\EOF
19855 #define wxUSE_STATTEXT 1
19861 if test "$wxUSE_STATLINE" = "yes"; then
19862 if test "$wxUSE_WINE" = 1 ; then
19863 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
19865 cat >> confdefs.h
<<\EOF
19866 #define wxUSE_STATLINE 1
19873 if test "$wxUSE_STATUSBAR" = "yes"; then
19874 cat >> confdefs.h
<<\EOF
19875 #define wxUSE_STATUSBAR 1
19880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
19883 if test "$wxUSE_TABDIALOG" = "yes"; then
19884 cat >> confdefs.h
<<\EOF
19885 #define wxUSE_TAB_DIALOG 1
19888 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
19891 if test "$wxUSE_TEXTCTRL" = "yes"; then
19892 cat >> confdefs.h
<<\EOF
19893 #define wxUSE_TEXTCTRL 1
19897 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
19900 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19901 if test "$wxUSE_MAC" = 1; then
19902 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
19905 if test "$wxUSE_UNIVERSAL" = "yes"; then
19906 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
19910 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19911 cat >> confdefs.h
<<\EOF
19912 #define wxUSE_TOGGLEBTN 1
19919 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
19920 cat >> confdefs.h
<<\EOF
19921 #define wxUSE_TOOLBAR_SIMPLE 1
19924 wxUSE_TOOLBAR
="yes"
19928 if test "$wxUSE_TOOLBAR" = "yes"; then
19929 cat >> confdefs.h
<<\EOF
19930 #define wxUSE_TOOLBAR 1
19935 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
19936 wxUSE_TOOLBAR_NATIVE
="yes"
19939 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
19940 cat >> confdefs.h
<<\EOF
19941 #define wxUSE_TOOLBAR_NATIVE 1
19947 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
19950 if test "$wxUSE_TOOLTIPS" = "yes"; then
19951 if test "$wxUSE_MOTIF" = 1; then
19952 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
19954 if test "$wxUSE_WINE" = 1; then
19955 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
19957 if test "$wxUSE_UNIVERSAL" = "yes"; then
19958 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
19960 cat >> confdefs.h
<<\EOF
19961 #define wxUSE_TOOLTIPS 1
19969 if test "$wxUSE_TREECTRL" = "yes"; then
19970 if test "$wxUSE_IMAGLIST" = "yes"; then
19971 cat >> confdefs.h
<<\EOF
19972 #define wxUSE_TREECTRL 1
19976 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
19978 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
19982 if test "$wxUSE_POPUPWIN" = "yes"; then
19983 if test "$wxUSE_MAC" = 1; then
19984 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
19986 if test "$wxUSE_MOTIF" = 1; then
19987 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
19989 if test "$wxUSE_PM" = 1; then
19990 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
19992 cat >> confdefs.h
<<\EOF
19993 #define wxUSE_POPUPWIN 1
20003 if test "$wxUSE_TIPWINDOW" = "yes"; then
20004 if test "$wxUSE_PM" = 1; then
20005 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
20007 cat >> confdefs.h
<<\EOF
20008 #define wxUSE_TIPWINDOW 1
20014 if test "$USES_CONTROLS" = 1; then
20015 cat >> confdefs.h
<<\EOF
20016 #define wxUSE_CONTROLS 1
20022 if test "$wxUSE_TREELAYOUT" = "yes"; then
20023 cat >> confdefs.h
<<\EOF
20024 #define wxUSE_TREELAYOUT 1
20027 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
20030 if test "$wxUSE_DRAGIMAGE" = "yes"; then
20031 cat >> confdefs.h
<<\EOF
20032 #define wxUSE_DRAGIMAGE 1
20035 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
20038 if test "$wxUSE_MENUS" = "yes"; then
20039 cat >> confdefs.h
<<\EOF
20040 #define wxUSE_MENUS 1
20043 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
20046 if test "$wxUSE_METAFILE" = "yes"; then
20047 cat >> confdefs.h
<<\EOF
20048 #define wxUSE_METAFILE 1
20053 if test "$wxUSE_MIMETYPE" = "yes"; then
20054 cat >> confdefs.h
<<\EOF
20055 #define wxUSE_MIMETYPE 1
20060 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
20061 cat >> confdefs.h
<<\EOF
20062 #define wxUSE_SYSTEM_OPTIONS 1
20067 if test "$wxUSE_PROTOCOL" = "yes"; then
20068 if test "$wxUSE_SOCKETS" != "yes"; then
20069 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
20073 if test "$wxUSE_PROTOCOL" = "yes"; then
20074 cat >> confdefs.h
<<\EOF
20075 #define wxUSE_PROTOCOL 1
20079 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
20080 cat >> confdefs.h
<<\EOF
20081 #define wxUSE_PROTOCOL_HTTP 1
20085 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
20086 cat >> confdefs.h
<<\EOF
20087 #define wxUSE_PROTOCOL_FTP 1
20091 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
20092 cat >> confdefs.h
<<\EOF
20093 #define wxUSE_PROTOCOL_FILE 1
20100 if test "$wxUSE_URL" = "yes"; then
20101 if test "$wxUSE_PROTOCOL" != "yes"; then
20102 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
20105 if test "$wxUSE_URL" = "yes"; then
20106 cat >> confdefs.h
<<\EOF
20107 #define wxUSE_URL 1
20113 if test "$wxUSE_MINIFRAME" = "yes"; then
20114 cat >> confdefs.h
<<\EOF
20115 #define wxUSE_MINIFRAME 1
20118 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
20121 if test "$wxUSE_HTML" = "yes"; then
20122 cat >> confdefs.h
<<\EOF
20123 #define wxUSE_HTML 1
20126 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
20129 if test "$wxUSE_VALIDATORS" = "yes"; then
20130 cat >> confdefs.h
<<\EOF
20131 #define wxUSE_VALIDATORS 1
20134 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
20137 if test "$wxUSE_PALETTE" = "yes" ; then
20138 cat >> confdefs.h
<<\EOF
20139 #define wxUSE_PALETTE 1
20144 if test "$wxUSE_IMAGE" = "yes" ; then
20145 cat >> confdefs.h
<<\EOF
20146 #define wxUSE_IMAGE 1
20151 if test "$wxUSE_GIF" = "yes" ; then
20152 cat >> confdefs.h
<<\EOF
20153 #define wxUSE_GIF 1
20158 if test "$wxUSE_PCX" = "yes" ; then
20159 cat >> confdefs.h
<<\EOF
20160 #define wxUSE_PCX 1
20165 if test "$wxUSE_IFF" = "yes" ; then
20166 cat >> confdefs.h
<<\EOF
20167 #define wxUSE_IFF 1
20172 if test "$wxUSE_PNM" = "yes" ; then
20173 cat >> confdefs.h
<<\EOF
20174 #define wxUSE_PNM 1
20179 if test "$wxUSE_XPM" = "yes" ; then
20180 cat >> confdefs.h
<<\EOF
20181 #define wxUSE_XPM 1
20186 if test "$wxUSE_ICO_CUR" = "yes" ; then
20187 cat >> confdefs.h
<<\EOF
20188 #define wxUSE_ICO_CUR 1
20193 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
20194 LIBS
=" -lunicows $LIBS"
20198 if test "$wxUSE_CHOICEDLG" = "yes"; then
20199 cat >> confdefs.h
<<\EOF
20200 #define wxUSE_CHOICEDLG 1
20205 if test "$wxUSE_COLOURDLG" = "yes"; then
20206 cat >> confdefs.h
<<\EOF
20207 #define wxUSE_COLOURDLG 1
20212 if test "$wxUSE_FILEDLG" = "yes"; then
20213 cat >> confdefs.h
<<\EOF
20214 #define wxUSE_FILEDLG 1
20219 if test "$wxUSE_FINDREPLDLG" = "yes"; then
20220 cat >> confdefs.h
<<\EOF
20221 #define wxUSE_FINDREPLDLG 1
20226 if test "$wxUSE_FONTDLG" = "yes"; then
20227 cat >> confdefs.h
<<\EOF
20228 #define wxUSE_FONTDLG 1
20233 if test "$wxUSE_DIRDLG" = "yes"; then
20234 if test "$wxUSE_TREECTRL" != "yes"; then
20235 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
20237 cat >> confdefs.h
<<\EOF
20238 #define wxUSE_DIRDLG 1
20244 if test "$wxUSE_MSGDLG" = "yes"; then
20245 cat >> confdefs.h
<<\EOF
20246 #define wxUSE_MSGDLG 1
20251 if test "$wxUSE_NUMBERDLG" = "yes"; then
20252 cat >> confdefs.h
<<\EOF
20253 #define wxUSE_NUMBERDLG 1
20258 if test "$wxUSE_PROGRESSDLG" = "yes"; then
20259 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20260 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
20262 cat >> confdefs.h
<<\EOF
20263 #define wxUSE_PROGRESSDLG 1
20269 if test "$wxUSE_SPLASH" = "yes"; then
20270 cat >> confdefs.h
<<\EOF
20271 #define wxUSE_SPLASH 1
20276 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
20277 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20278 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
20280 cat >> confdefs.h
<<\EOF
20281 #define wxUSE_STARTUP_TIPS 1
20287 if test "$wxUSE_TEXTDLG" = "yes"; then
20288 cat >> confdefs.h
<<\EOF
20289 #define wxUSE_TEXTDLG 1
20294 if test "$wxUSE_WIZARDDLG" = "yes"; then
20295 cat >> confdefs.h
<<\EOF
20296 #define wxUSE_WIZARDDLG 1
20299 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
20303 if test "$cross_compiling" = "yes"; then
20306 OSINFO
=`uname -s -r -m`
20307 OSINFO
="\"$OSINFO\""
20310 cat >> confdefs.h
<<EOF
20311 #define WXWIN_OS_DESCRIPTION $OSINFO
20316 if test "x$prefix" != "xNONE"; then
20319 wxPREFIX
=$ac_default_prefix
20322 cat >> confdefs.h
<<EOF
20323 #define wxINSTALL_PREFIX "$wxPREFIX"
20330 if test "$wxUSE_MAC" = 1 ; then
20331 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
20335 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DL_LINK -lm $LIBS"
20337 if test "$wxUSE_GUI" = "yes"; then
20339 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
20342 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
20343 drawing dynamic erase event exec font image \
20344 minimal richedit rotate widgets"
20346 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
20348 SAMPLES_SUBDIRS
="console"
20352 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
20353 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
20355 if test "$wxUSE_GTK" = 1; then
20358 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
20361 if test "$GXX" = yes ; then
20362 CXXWARNINGS
="-Wall"
20364 if test "$wxUSE_NO_DEPS" = "no" ; then
20365 CFLAGS
="-MMD $CFLAGS"
20366 CXXFLAGS
="-MMD $CXXFLAGS"
20370 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
20372 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
20373 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
20375 LDFLAGS
="$LDFLAGS$PROFILE"
20377 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
20466 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
20467 echo "configure:20468: checking whether ${MAKE-make} sets \${MAKE}" >&5
20468 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
20469 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
20470 echo $ac_n "(cached) $ac_c" 1>&6
20472 cat > conftestmake
<<\EOF
20474 @
echo 'ac_maketemp="${MAKE}"'
20476 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20477 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
20478 if test -n "$ac_maketemp"; then
20479 eval ac_cv_prog_make_
${ac_make}_set
=yes
20481 eval ac_cv_prog_make_
${ac_make}_set
=no
20485 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
20486 echo "$ac_t""yes" 1>&6
20489 echo "$ac_t""no" 1>&6
20490 SET_MAKE
="MAKE=${MAKE-make}"
20494 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
20495 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
20500 if test "$wxUSE_GUI" = "yes"; then
20501 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
20502 wx_cv_if_gnu_make
=$IF_GNU_MAKE
20503 wx_cv_path_ifs
=$PATH_IFS
20504 wx_cv_program_ext
=$PROGRAM_EXT
20505 wx_cv_target_library
=$WX_TARGET_LIBRARY
20506 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
20507 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
20508 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
20509 wx_cv_path_ifs wx_cv_program_ext \
20510 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
20511 subdirs
="demos samples utils contrib"
20516 cat > confcache
<<\EOF
20517 # This file is a shell script that caches the results of configure
20518 # tests run on this system so they can be shared between configure
20519 # scripts and configure runs. It is not useful on other systems.
20520 # If it contains results you don't want to keep, you may remove or edit it.
20522 # By default, configure uses ./config.cache as the cache file,
20523 # creating it if it does not exist already. You can give configure
20524 # the --cache-file=FILE option to use a different cache file; that is
20525 # what configure does when it calls configure scripts in
20526 # subdirectories, so they share the cache.
20527 # Giving --cache-file=/dev/null disables caching, for debugging configure.
20528 # config.status only pays attention to the cache file if you give it the
20529 # --recheck option to rerun configure.
20532 # The following way of writing the cache mishandles newlines in values,
20533 # but we know of no workaround that is simple, portable, and efficient.
20534 # So, don't put newlines in cache variables' values.
20535 # Ultrix sh set writes to stderr and can't be redirected directly,
20536 # and sets the high bit in the cache file unless we assign to the vars.
20538 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20540 # `set' does not quote correctly, so add quotes (double-quote substitution
20541 # turns \\\\ into \\, and sed turns \\ into \).
20543 -e "s/'/'\\\\''/g" \
20544 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20547 # `set' quotes correctly as required by POSIX, so do not add quotes.
20548 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20551 if cmp -s $cache_file confcache
; then
20554 if test -w $cache_file; then
20555 echo "updating cache $cache_file"
20556 cat confcache
> $cache_file
20558 echo "not updating unwritable cache $cache_file"
20563 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
20565 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20566 # Let make expand exec_prefix.
20567 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20569 # Any assignment to VPATH causes Sun make to only execute
20570 # the first set of double-colon rules, so remove it if not needed.
20571 # If there is a colon in the path, we need to keep it.
20572 if test "x$srcdir" = x.
; then
20573 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
20576 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
20578 DEFS
=-DHAVE_CONFIG_H
20580 # Without the "./", some shells look in PATH for config.status.
20581 : ${CONFIG_STATUS=./config.status}
20583 echo creating
$CONFIG_STATUS
20584 rm -f $CONFIG_STATUS
20585 cat > $CONFIG_STATUS <<EOF
20587 # Generated automatically by configure.
20588 # Run this file to recreate the current configuration.
20589 # This directory was configured as follows,
20590 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20592 # $0 $ac_configure_args
20594 # Compiler output produced by configure, useful for debugging
20595 # configure, is in ./config.log if it exists.
20597 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
20600 case "\$ac_option" in
20601 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20602 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
20603 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
20604 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
20605 echo "$CONFIG_STATUS generated by autoconf version 2.13"
20607 -help | --help | --hel | --he | --h)
20608 echo "\$ac_cs_usage"; exit 0 ;;
20609 *) echo "\$ac_cs_usage"; exit 1 ;;
20613 ac_given_srcdir=$srcdir
20614 ac_given_INSTALL="$INSTALL"
20616 trap 'rm -fr `echo "
20622 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
20624 cat >> $CONFIG_STATUS <<EOF
20626 # Protect against being on the right side of a sed subst in config.status.
20627 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
20628 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
20632 s%@CFLAGS@%$CFLAGS%g
20633 s%@CPPFLAGS@%$CPPFLAGS%g
20634 s%@CXXFLAGS@%$CXXFLAGS%g
20635 s%@FFLAGS@%$FFLAGS%g
20637 s%@LDFLAGS@%$LDFLAGS%g
20639 s%@exec_prefix@%$exec_prefix%g
20640 s%@prefix@%$prefix%g
20641 s%@program_transform_name@%$program_transform_name%g
20642 s%@bindir@%$bindir%g
20643 s%@sbindir@%$sbindir%g
20644 s%@libexecdir@%$libexecdir%g
20645 s%@datadir@%$datadir%g
20646 s%@sysconfdir@%$sysconfdir%g
20647 s%@sharedstatedir@%$sharedstatedir%g
20648 s%@localstatedir@%$localstatedir%g
20649 s%@libdir@%$libdir%g
20650 s%@includedir@%$includedir%g
20651 s%@oldincludedir@%$oldincludedir%g
20652 s%@infodir@%$infodir%g
20653 s%@mandir@%$mandir%g
20655 s%@host_alias@%$host_alias%g
20656 s%@host_cpu@%$host_cpu%g
20657 s%@host_vendor@%$host_vendor%g
20658 s%@host_os@%$host_os%g
20659 s%@target@%$target%g
20660 s%@target_alias@%$target_alias%g
20661 s%@target_cpu@%$target_cpu%g
20662 s%@target_vendor@%$target_vendor%g
20663 s%@target_os@%$target_os%g
20665 s%@build_alias@%$build_alias%g
20666 s%@build_cpu@%$build_cpu%g
20667 s%@build_vendor@%$build_vendor%g
20668 s%@build_os@%$build_os%g
20672 s%@RANLIB@%$RANLIB%g
20674 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
20675 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
20676 s%@INSTALL_DATA@%$INSTALL_DATA%g
20678 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
20681 s%@LEXLIB@%$LEXLIB%g
20683 s%@PKG_CONFIG@%$PKG_CONFIG%g
20684 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
20685 s%@GTK_LIBS@%$GTK_LIBS%g
20686 s%@GTK_CONFIG@%$GTK_CONFIG%g
20687 s%@X_CFLAGS@%$X_CFLAGS%g
20688 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
20689 s%@X_LIBS@%$X_LIBS%g
20690 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
20691 s%@RESCOMP@%$RESCOMP%g
20693 s%@CXXCPP@%$CXXCPP%g
20694 s%@LIBICONV@%$LIBICONV%g
20695 s%@LEX_STEM@%$LEX_STEM%g
20696 s%@PATH_IFS@%$PATH_IFS%g
20697 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
20698 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
20699 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
20700 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
20701 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
20702 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
20703 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
20704 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
20705 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
20706 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
20707 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
20708 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
20709 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
20710 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
20711 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
20712 s%@WX_ALL@%$WX_ALL%g
20713 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
20714 s%@SHARED_LD@%$SHARED_LD%g
20715 s%@PIC_FLAG@%$PIC_FLAG%g
20716 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
20717 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
20718 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
20719 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
20720 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
20721 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
20722 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
20723 s%@USE_GUI@%$USE_GUI%g
20724 s%@AFMINSTALL@%$AFMINSTALL%g
20725 s%@TOOLKIT@%$TOOLKIT%g
20726 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
20727 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
20728 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
20729 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
20730 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
20731 s%@cross_compiling@%$cross_compiling%g
20732 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
20733 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
20734 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
20735 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
20736 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
20737 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
20738 s%@ALL_HEADERS@%$ALL_HEADERS%g
20739 s%@ALL_SOURCES@%$ALL_SOURCES%g
20740 s%@GUIDIST@%$GUIDIST%g
20741 s%@PORT_FILES@%$PORT_FILES%g
20742 s%@DISTDIR@%$DISTDIR%g
20743 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
20744 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
20745 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
20746 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
20747 s%@EXTRADEFS@%$EXTRADEFS%g
20748 s%@RESFLAGS@%$RESFLAGS%g
20749 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
20750 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
20751 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
20752 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
20753 s%@LIBWXMACRES@%$LIBWXMACRES%g
20754 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
20755 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
20756 s%@DLLTOOL@%$DLLTOOL%g
20760 s%@MAKEINFO@%$MAKEINFO%g
20761 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
20762 s%@SET_MAKE@%$SET_MAKE%g
20763 s%@subdirs@%$subdirs%g
20768 cat >> $CONFIG_STATUS <<\EOF
20770 # Split the substitutions into bite-sized pieces for seds with
20771 # small command number limits, like on Digital OSF/1 and HP-UX.
20772 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
20773 ac_file
=1 # Number of current file.
20774 ac_beg
=1 # First line for current file.
20775 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
20778 while $ac_more_lines; do
20779 if test $ac_beg -gt 1; then
20780 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
20782 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
20784 if test ! -s conftest.s
$ac_file; then
20785 ac_more_lines
=false
20786 rm -f conftest.s
$ac_file
20788 if test -z "$ac_sed_cmds"; then
20789 ac_sed_cmds
="sed -f conftest.s$ac_file"
20791 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
20793 ac_file
=`expr $ac_file + 1`
20795 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
20798 if test -z "$ac_sed_cmds"; then
20803 cat >> $CONFIG_STATUS <<EOF
20805 CONFIG_FILES=\${CONFIG_FILES-"wx-config
20812 cat >> $CONFIG_STATUS <<\EOF
20813 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
20814 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20816 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
20817 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20818 *) ac_file_in
="${ac_file}.in" ;;
20821 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
20823 # Remove last slash and all that follows it. Not all systems have dirname.
20824 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20825 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
20826 # The file is in a subdirectory.
20827 test ! -d "$ac_dir" && mkdir "$ac_dir"
20828 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
20829 # A "../" for each directory in $ac_dir_suffix.
20830 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
20832 ac_dir_suffix
= ac_dots
=
20835 case "$ac_given_srcdir" in
20837 if test -z "$ac_dots"; then top_srcdir
=.
20838 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
20839 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
20840 *) # Relative path.
20841 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
20842 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
20845 case "$ac_given_INSTALL" in
20846 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
20847 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
20850 echo creating
"$ac_file"
20852 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
20854 *Makefile
*) ac_comsub
="1i\\
20855 # $configure_input" ;;
20859 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20861 s%@configure_input@%$configure_input%g
20862 s%@srcdir@%$srcdir%g
20863 s%@top_srcdir@%$top_srcdir%g
20864 s%@INSTALL@%$INSTALL%g
20865 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
20869 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20870 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20872 # ac_d sets the value in "#define NAME VALUE" lines.
20873 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20874 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
20877 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
20878 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20879 ac_uB
='\([ ]\)%\1#\2define\3'
20882 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20883 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20884 ac_eB
='$%\1#\2define\3'
20888 if test "${CONFIG_HEADERS+set}" != set; then
20890 cat >> $CONFIG_STATUS <<EOF
20891 CONFIG_HEADERS="setup.h:setup.h.in"
20893 cat >> $CONFIG_STATUS <<\EOF
20895 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
20896 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20898 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
20899 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20900 *) ac_file_in
="${ac_file}.in" ;;
20903 echo creating
$ac_file
20905 rm -f conftest.frag conftest.
in conftest.out
20906 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20907 cat $ac_file_inputs > conftest.
in
20911 # Transform confdefs.h into a sed script conftest.vals that substitutes
20912 # the proper values into config.h.in to produce config.h. And first:
20913 # Protect against being on the right side of a sed subst in config.status.
20914 # Protect against being in an unquoted here document in config.status.
20915 rm -f conftest.vals
20916 cat > conftest.hdr
<<\EOF
20919 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
20923 sed -n -f conftest.hdr confdefs.h > conftest.vals
20926 # This sed command replaces #undef with comments. This is necessary, for
20927 # example, in the case of _POSIX_SOURCE, which is predefined and required
20928 # on some systems where configure will not decide to define it.
20929 cat >> conftest.vals <<\EOF
20930 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
20933 # Break up conftest.vals because some shells have a limit on
20934 # the size of here documents, and old seds have small limits too.
20936 rm -f conftest.tail
20939 ac_lines=`grep -c . conftest.vals
`
20940 # grep -c gives empty output for an empty file on some AIX systems.
20941 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
20942 # Write a limited-size here document to conftest.frag.
20943 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
20944 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
20946 sed -f conftest.frag conftest.in > conftest.out
20948 mv conftest.out conftest.in
20949 ' >> $CONFIG_STATUS
20950 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
20951 rm -f conftest.vals
20952 mv conftest.tail conftest.vals
20954 rm -f conftest.vals
20956 cat >> $CONFIG_STATUS <<\EOF
20957 rm -f conftest.frag conftest.h
20958 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
20959 cat conftest.in >> conftest.h
20961 if cmp -s $ac_file conftest.h 2>/dev/null; then
20962 echo "$ac_file is unchanged"
20965 # Remove last slash and all that follows it. Not all systems have dirname.
20966 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20967 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20968 # The file is in a subdirectory.
20969 test ! -d "$ac_dir" && mkdir "$ac_dir"
20972 mv conftest.h $ac_file
20977 cat >> $CONFIG_STATUS <<EOF
20979 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
20984 cat >> $CONFIG_STATUS <<\EOF
20986 if test ! -h wx-config; then
20988 mv wx-config wx${TOOLCHAIN_NAME}-config
20989 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
20992 if test ! -d lib; then
20995 if test ! -d lib/wx; then
20998 if test ! -d lib/wx/include; then
20999 mkdir lib/wx/include
21001 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
21002 mkdir lib/wx/include/${TOOLCHAIN_NAME}
21004 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
21005 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
21007 if test -f setup.h; then
21008 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
21013 chmod +x $CONFIG_STATUS
21014 rm -fr confdefs* $ac_clean_files
21015 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21017 if test "$no_recursion" != yes; then
21019 # Remove --cache-file and --srcdir arguments so they do not pile up.
21020 ac_sub_configure_args=
21022 for ac_arg in $ac_configure_args; do
21023 if test -n "$ac_prev"; then
21028 -cache-file | --cache-file | --cache-fil | --cache-fi \
21029 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
21030 ac_prev=cache_file ;;
21031 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
21032 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
21034 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
21036 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
21038 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
21042 for ac_config_dir in demos samples utils contrib; do
21044 # Do not complain, so a configure script can configure whichever
21045 # parts of a large source tree are present.
21046 if test ! -d $srcdir/$ac_config_dir; then
21050 echo configuring in $ac_config_dir
21055 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
21057 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
21065 # A "../" for each directory in /$ac_config_dir.
21066 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
21069 .) # No --srcdir option. We are building in place.
21070 ac_sub_srcdir=$srcdir ;;
21071 /*) # Absolute path.
21072 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
21073 *) # Relative path.
21074 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
21077 # Check for guested configure; otherwise get Cygnus style configure.
21078 if test -f $ac_sub_srcdir/configure; then
21079 ac_sub_configure=$ac_sub_srcdir/configure
21080 elif test -f $ac_sub_srcdir/configure.in; then
21081 ac_sub_configure=$ac_configure
21083 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
21087 # The recursion is here.
21088 if test -n "$ac_sub_configure"; then
21090 # Make the cache file name correct relative to the subdirectory.
21091 case "$cache_file" in
21092 /*) ac_sub_cache_file=$cache_file ;;
21093 *) # Relative path.
21094 ac_sub_cache_file="$ac_dots$cache_file" ;;
21096 case "$ac_given_INSTALL" in
21097 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21098 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21101 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
21102 # The eval makes quoting arguments work.
21103 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
21106 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }