3 # From configure.in Id: configure.in
65 # Configure paths for GTK+
66 # Owen Taylor 1997-2001
70 # Configure paths for GTK+
80 # Guess values for system-dependent variables and create Makefiles.
81 # Generated automatically using autoconf version 2.13
82 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
84 # This configure script is free software; the Free Software Foundation
85 # gives unlimited permission to copy, distribute and modify it.
89 ac_default_prefix
=/usr
/local
90 # Any additions from configure.in:
92 --enable-gui use GUI classes"
94 --enable-universal use wxWindows GUI controls instead of native ones"
98 --with-motif use Motif/Lesstif"
100 --with-mac use Mac OS X"
102 --with-cocoa use Cocoa"
104 --with-wine use Wine"
106 --with-msw use MS-Windows"
108 --with-pm use OS/2 Presentation Manager"
110 --with-mgl use SciTech MGL"
112 --with-microwin use MicroWindows"
116 --enable-nanox use NanoX"
118 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
120 --with-libpng use libpng (PNG image format)"
122 --with-libjpeg use libjpeg (JPEG file format)"
124 --with-libtiff use libtiff (TIFF file format)"
126 --with-opengl use OpenGL (or Mesa)"
128 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
130 --with-regex enable support for wxRegEx class"
132 --with-zlib use zlib for LZW compression"
134 --with-odbc use the IODBC and wxODBC classes"
136 --enable-shared create shared library code"
138 --enable-soname set the DT_SONAME field in ELF shared libraries"
140 --enable-optimise create optimised code"
142 --enable-debug same as debug_flag and debug_info"
144 --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)"
146 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
148 --enable-debug_info create code with debugging information"
150 --enable-debug_gdb create code with extra GDB debugging information"
152 --enable-debug_cntxt use wxDebugContext"
154 --enable-mem_tracing create code with memory tracing"
156 --enable-profile create code with profiling information"
158 --enable-no_rtti create code without RTTI information"
160 --enable-no_exceptions create code without C++ exceptions handling"
162 --enable-permissive compile code disregarding strict ANSI"
164 --enable-no_deps create code without dependency information"
166 --enable-compat20 enable wxWindows 2.0 compatibility"
168 --enable-compat22 enable wxWindows 2.2 compatibility"
170 --disable-compat24 disable wxWindows 2.4 compatibility"
172 --enable-rpath=DIR output the rpath flag from wx-config"
174 --enable-intl use internationalization system"
176 --enable-config use wxConfig (and derived) classes"
178 --enable-protocols use wxProtocol and derived classes"
180 --enable-ftp use wxFTP (requires wxProtocol"
182 --enable-http use wxHTTP (requires wxProtocol"
184 --enable-fileproto use wxFileProto class (requires wxProtocol"
186 --enable-sockets use socket/network classes"
188 --enable-ole use OLE classes"
190 --enable-dataobj use data object classes"
192 --enable-ipc use interprocess communication (wxSocket etc.)"
194 --enable-cmdline use wxCmdLineParser class"
196 --enable-datetime use wxDateTime class"
198 --enable-timedate use obsolete wxDate/wxTime classes"
200 --enable-stopwatch use wxStopWatch class"
202 --enable-dialupman use dialup network classes"
204 --enable-apple_ieee use the Apple IEEE codec"
206 --enable-timer use wxTimer class"
208 --enable-wave use wxWave class"
210 --enable-fraction use wxFraction class"
212 --enable-dynlib use wxLibrary class for DLL loading"
214 --enable-dynamicloader use (new) wxDynamicLibrary class"
216 --enable-longlong use wxLongLong class"
218 --enable-geometry use geometry class"
220 --enable-log use logging system"
222 --enable-streams use wxStream etc classes"
224 --enable-file use wxFile classes"
226 --enable-ffile use wxFFile classes"
228 --enable-textbuf use wxTextBuffer class"
230 --enable-textfile use wxTextFile class"
232 --enable-fontmap use font encodings conversion classes"
234 --enable-unicode compile wxString with Unicode support"
236 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
238 --enable-wxprintfv use wxWindows implementation of vprintf()"
240 --enable-std_iostreams use standard C++ stream classes"
242 --enable-filesystem use virtual file systems classes"
244 --enable-fs_inet use virtual HTTP/FTP filesystems"
246 --enable-fs_zip use virtual ZIP filesystems"
248 --enable-zipstream use wxZipInputStream"
250 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
252 --enable-snglinst use wxSingleInstanceChecker class"
254 --enable-mimetype use wxMimeTypesManager"
256 --enable-sysoptions use wxSystemOptions"
258 --enable-url use wxURL class"
260 --enable-protocol use wxProtocol class"
262 --enable-protocol-http HTTP support in wxProtocol"
264 --enable-protocol-ftp FTP support in wxProtocol"
266 --enable-protocol-file FILE support in wxProtocol"
268 --enable-threads use threads"
270 --enable-docview use document view architecture"
272 --enable-help use help subsystem"
274 --enable-mshtmlhelp use MS HTML Help (win32)"
276 --enable-html use wxHTML sub-library"
278 --enable-htmlhelp use wxHTML-based help"
280 --enable-constraints use layout-constraints system"
282 --enable-printarch use printing architecture"
284 --enable-mdi use multiple document interface architecture"
286 --enable-loggui use standard GUI logger"
288 --enable-logwin use wxLogWindow"
290 --enable-logdialog use wxLogDialog"
292 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
294 --enable-prologio use Prolog IO library"
296 --enable-resources use wxWindows resources"
298 --enable-xresources use X resources for save (default for gtk+)"
300 --enable-clipboard use wxClipboard class"
302 --enable-dnd use Drag'n'Drop classes"
304 --enable-metafile use win32 metafiles"
306 --enable-treelayout use wxTreeLayout class"
308 --enable-controls use all usual controls"
310 --enable-accel use accelerators"
312 --enable-button use wxButton class"
314 --enable-bmpbutton use wxBitmapButton class"
316 --enable-calendar use wxCalendarCtrl class"
318 --enable-caret use wxCaret class"
320 --enable-checkbox use wxCheckBox class"
322 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
324 --enable-choice use wxChoice class"
326 --enable-combobox use wxComboBox class"
328 --enable-display use wxDisplay class"
330 --enable-gauge use wxGauge class"
332 --enable-grid use wxGrid class"
334 --enable-newgrid use new wxGrid class"
336 --enable-imaglist use wxImageList class"
338 --enable-listbox use wxListBox class"
340 --enable-listctrl use wxListCtrl class"
342 --enable-notebook use wxNotebook class"
344 --enable-propsheet use wxPropertySheet class"
346 --enable-radiobox use wxRadioBox class"
348 --enable-radiobtn use wxRadioButton class"
350 --enable-sash use wxSashWindow class"
352 --enable-scrollbar use wxScrollBar class and scrollable windows"
354 --enable-slider use wxSlider class"
356 --enable-spinbtn use wxSpinButton class"
358 --enable-spinctrl use wxSpinCtrl class"
360 --enable-splitter use wxSplitterWindow class"
362 --enable-statbmp use wxStaticBitmap class"
364 --enable-statbox use wxStaticBox class"
366 --enable-statline use wxStaticLine class"
368 --enable-stattext use wxStaticText class"
370 --enable-statusbar use wxStatusBar class"
372 --enable-tabdialog use wxTabControl class"
374 --enable-textctrl use wxTextCtrl class"
376 --enable-togglebtn use wxToggleButton class"
378 --enable-toolbar use wxToolBar class"
380 --enable-tbarnative use native wxToolBar class"
382 --enable-tbarsmpl use wxToolBarSimple class"
384 --enable-treectrl use wxTreeCtrl class"
386 --enable-tipwindow use wxTipWindow class"
388 --enable-popupwin use wxPopUpWindow class"
390 --enable-commondlg use all common dialogs"
392 --enable-choicedlg use wxChoiceDialog"
394 --enable-coldlg use wxColourDialog"
396 --enable-filedlg use wxFileDialog"
398 --enable-finddlg use wxFindReplaceDialog"
400 --enable-fontdlg use wxFontDialog"
402 --enable-dirdlg use wxDirDialog"
404 --enable-msgdlg use wxMessageDialog"
406 --enable-numberdlg use wxNumberEntryDialog"
408 --enable-splash use wxSplashScreen"
410 --enable-textdlg use wxTextDialog"
412 --enable-tipdlg use startup tips"
414 --enable-progressdlg use wxProgressDialog"
416 --enable-wizarddlg use wxWizard"
418 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
420 --enable-miniframe use wxMiniFrame class"
422 --enable-tooltips use wxToolTip class"
424 --enable-splines use spline drawing code"
426 --enable-validators use wxValidator and derived classes"
428 --enable-busyinfo use wxBusyInfo"
430 --enable-joystick use wxJoystick (Linux only)"
432 --enable-metafiles use wxMetaFile (Windows only)"
434 --enable-dragimage use wxDragImage"
436 --enable-palette use wxPalette class"
438 --enable-image use wxImage class"
440 --enable-gif use gif images (GIF file format)"
442 --enable-pcx use pcx images (PCX file format)"
444 --enable-iff use iff images (IFF file format)"
446 --enable-pnm use pnm images (PNM file format)"
448 --enable-xpm use xpm images (XPM file format)"
450 --enable-icocur use Windows ICO and CUR formats"
452 --disable-largefile omit support for large files"
454 --disable-gtktest do not try to compile and run a test GTK+ program"
456 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
458 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
460 --disable-gtktest Do not try to compile and run a test GTK program"
462 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
464 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
466 --disable-gtktest Do not try to compile and run a test GTK program"
468 --with-x use the X Window System"
470 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
472 # Initialize some variables set by options.
473 # The variables have the same names as the options, with
474 # dashes changed to underlines.
476 cache_file
=.
/config.cache
485 program_transform_name
=s
,x
,x
,
493 bindir
='${exec_prefix}/bin'
494 sbindir
='${exec_prefix}/sbin'
495 libexecdir
='${exec_prefix}/libexec'
496 datadir
='${prefix}/share'
497 sysconfdir
='${prefix}/etc'
498 sharedstatedir
='${prefix}/com'
499 localstatedir
='${prefix}/var'
500 libdir
='${exec_prefix}/lib'
501 includedir
='${prefix}/include'
502 oldincludedir
='/usr/include'
503 infodir
='${prefix}/info'
504 mandir
='${prefix}/man'
506 # Initialize some other variables.
509 SHELL
=${CONFIG_SHELL-/bin/sh}
510 # Maximum number of lines to put in a shell here document.
517 # If the previous option needs an argument, assign it.
518 if test -n "$ac_prev"; then
519 eval "$ac_prev=\$ac_option"
525 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
529 # Accept the important Cygnus configure options, so we can diagnose typos.
533 -bindir | --bindir | --bindi | --bind | --bin | --bi)
535 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
536 bindir
="$ac_optarg" ;;
538 -build | --build | --buil | --bui | --bu)
540 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
541 build
="$ac_optarg" ;;
543 -cache-file | --cache-file | --cache-fil | --cache-fi \
544 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
545 ac_prev
=cache_file
;;
546 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
547 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
548 cache_file
="$ac_optarg" ;;
550 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
552 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
554 datadir
="$ac_optarg" ;;
556 -disable-* | --disable-*)
557 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
558 # Reject names that are not valid shell variable names.
559 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
560 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
562 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
563 eval "enable_${ac_feature}=no" ;;
565 -enable-* | --enable-*)
566 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
567 # Reject names that are not valid shell variable names.
568 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
569 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
571 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
576 eval "enable_${ac_feature}='$ac_optarg'" ;;
578 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
579 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
580 | --exec | --exe | --ex)
581 ac_prev
=exec_prefix
;;
582 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
583 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
584 | --exec=* | --exe=* | --ex=*)
585 exec_prefix
="$ac_optarg" ;;
587 -gas | --gas | --ga | --g)
588 # Obsolete; use --with-gas.
591 -help | --help | --hel | --he)
592 # Omit some internal or obsolete options to make the list less imposing.
593 # This message is too long to be a string in the A/UX 3.1 sh.
595 Usage: configure [options] [host]
596 Options: [defaults in brackets after descriptions]
598 --cache-file=FILE cache test results in FILE
599 --help print this message
600 --no-create do not create output files
601 --quiet, --silent do not print \`checking...' messages
602 --version print the version of autoconf that created configure
603 Directory and file names:
604 --prefix=PREFIX install architecture-independent files in PREFIX
606 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
608 --bindir=DIR user executables in DIR [EPREFIX/bin]
609 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
610 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
611 --datadir=DIR read-only architecture-independent data in DIR
613 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
614 --sharedstatedir=DIR modifiable architecture-independent data in DIR
616 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
617 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
618 --includedir=DIR C header files in DIR [PREFIX/include]
619 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
620 --infodir=DIR info documentation in DIR [PREFIX/info]
621 --mandir=DIR man documentation in DIR [PREFIX/man]
622 --srcdir=DIR find the sources in DIR [configure dir or ..]
623 --program-prefix=PREFIX prepend PREFIX to installed program names
624 --program-suffix=SUFFIX append SUFFIX to installed program names
625 --program-transform-name=PROGRAM
626 run sed PROGRAM on installed program names
630 --build=BUILD configure for building on BUILD [BUILD=HOST]
631 --host=HOST configure for HOST [guessed]
632 --target=TARGET configure for TARGET [TARGET=HOST]
633 Features and packages:
634 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
635 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
636 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
637 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
638 --x-includes=DIR X include files are in DIR
639 --x-libraries=DIR X library files are in DIR
641 if test -n "$ac_help"; then
642 echo "--enable and --with options recognized:$ac_help"
646 -host | --host | --hos | --ho)
648 -host=* | --host=* | --hos=* | --ho=*)
651 -includedir | --includedir | --includedi | --included | --include \
652 | --includ | --inclu | --incl | --inc)
653 ac_prev
=includedir
;;
654 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
655 | --includ=* | --inclu=* | --incl=* | --inc=*)
656 includedir
="$ac_optarg" ;;
658 -infodir | --infodir | --infodi | --infod | --info | --inf)
660 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
661 infodir
="$ac_optarg" ;;
663 -libdir | --libdir | --libdi | --libd)
665 -libdir=* | --libdir=* | --libdi=* | --libd=*)
666 libdir
="$ac_optarg" ;;
668 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
669 | --libexe | --libex | --libe)
670 ac_prev
=libexecdir
;;
671 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
672 | --libexe=* | --libex=* | --libe=*)
673 libexecdir
="$ac_optarg" ;;
675 -localstatedir | --localstatedir | --localstatedi | --localstated \
676 | --localstate | --localstat | --localsta | --localst \
677 | --locals | --local | --loca | --loc | --lo)
678 ac_prev
=localstatedir
;;
679 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
680 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
681 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
682 localstatedir
="$ac_optarg" ;;
684 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
686 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
687 mandir
="$ac_optarg" ;;
690 # Obsolete; use --without-fp.
693 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
697 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
698 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
701 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
702 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
703 | --oldin | --oldi | --old | --ol | --o)
704 ac_prev
=oldincludedir
;;
705 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
706 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
707 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
708 oldincludedir
="$ac_optarg" ;;
710 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
712 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
713 prefix
="$ac_optarg" ;;
715 -program-prefix | --program-prefix | --program-prefi | --program-pref \
716 | --program-pre | --program-pr | --program-p)
717 ac_prev
=program_prefix
;;
718 -program-prefix=* | --program-prefix=* | --program-prefi=* \
719 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
720 program_prefix
="$ac_optarg" ;;
722 -program-suffix | --program-suffix | --program-suffi | --program-suff \
723 | --program-suf | --program-su | --program-s)
724 ac_prev
=program_suffix
;;
725 -program-suffix=* | --program-suffix=* | --program-suffi=* \
726 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
727 program_suffix
="$ac_optarg" ;;
729 -program-transform-name | --program-transform-name \
730 | --program-transform-nam | --program-transform-na \
731 | --program-transform-n | --program-transform- \
732 | --program-transform | --program-transfor \
733 | --program-transfo | --program-transf \
734 | --program-trans | --program-tran \
735 | --progr-tra | --program-tr | --program-t)
736 ac_prev
=program_transform_name
;;
737 -program-transform-name=* | --program-transform-name=* \
738 | --program-transform-nam=* | --program-transform-na=* \
739 | --program-transform-n=* | --program-transform-=* \
740 | --program-transform=* | --program-transfor=* \
741 | --program-transfo=* | --program-transf=* \
742 | --program-trans=* | --program-tran=* \
743 | --progr-tra=* | --program-tr=* | --program-t=*)
744 program_transform_name
="$ac_optarg" ;;
746 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
747 | -silent | --silent | --silen | --sile | --sil)
750 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
752 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
754 sbindir
="$ac_optarg" ;;
756 -sharedstatedir | --sharedstatedir | --sharedstatedi \
757 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
758 | --sharedst | --shareds | --shared | --share | --shar \
760 ac_prev
=sharedstatedir
;;
761 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
762 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
763 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
765 sharedstatedir
="$ac_optarg" ;;
767 -site | --site | --sit)
769 -site=* | --site=* | --sit=*)
772 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
774 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
775 srcdir
="$ac_optarg" ;;
777 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
778 | --syscon | --sysco | --sysc | --sys | --sy)
779 ac_prev
=sysconfdir
;;
780 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
781 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
782 sysconfdir
="$ac_optarg" ;;
784 -target | --target | --targe | --targ | --tar | --ta | --t)
786 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
787 target
="$ac_optarg" ;;
789 -v | -verbose | --verbose | --verbos | --verbo | --verb)
792 -version | --version | --versio | --versi | --vers)
793 echo "configure generated by autoconf version 2.13"
797 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
798 # Reject names that are not valid shell variable names.
799 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
800 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
802 ac_package
=`echo $ac_package| sed 's/-/_/g'`
807 eval "with_${ac_package}='$ac_optarg'" ;;
809 -without-* | --without-*)
810 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
811 # Reject names that are not valid shell variable names.
812 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
813 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
815 ac_package
=`echo $ac_package| sed 's/-/_/g'`
816 eval "with_${ac_package}=no" ;;
819 # Obsolete; use --with-x.
822 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
823 | --x-incl | --x-inc | --x-in | --x-i)
824 ac_prev
=x_includes
;;
825 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
826 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
827 x_includes
="$ac_optarg" ;;
829 -x-libraries | --x-libraries | --x-librarie | --x-librari \
830 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
831 ac_prev
=x_libraries
;;
832 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
833 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
834 x_libraries
="$ac_optarg" ;;
836 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
840 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
841 echo "configure: warning: $ac_option: invalid host type" 1>&2
843 if test "x$nonopt" != xNONE
; then
844 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
852 if test -n "$ac_prev"; then
853 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
856 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
858 # File descriptor usage:
861 # 2 errors and warnings
862 # 3 some systems may open it to /dev/tty
863 # 4 used on the Kubota Titan
864 # 6 checking for... messages and results
865 # 5 compiler messages saved in config.log
866 if test "$silent" = yes; then
874 This file contains any messages produced by compilers while
875 running configure, to aid debugging if configure makes a mistake.
878 # Strip out --no-create and --no-recursion so they do not pile up.
879 # Also quote any args containing shell metacharacters.
884 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
885 | --no-cr | --no-c) ;;
886 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
887 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
888 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
889 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
890 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
895 # Only set these to C if already set. These must not be set unconditionally
896 # because not all systems understand e.g. LANG=C (notably SCO).
897 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
898 # Non-C LC_CTYPE values break the ctype check.
899 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
900 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
901 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
902 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
904 # confdefs.h avoids OS command line length limits that DEFS can exceed.
905 rm -rf conftest
* confdefs.h
906 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
909 # A filename unique to this package, relative to the directory that
910 # configure is in, which we can look for to find out if srcdir is correct.
911 ac_unique_file
=wx
-config.
in
913 # Find the source files, if location was not specified.
914 if test -z "$srcdir"; then
915 ac_srcdir_defaulted
=yes
916 # Try the directory containing this script, then its parent.
918 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
919 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
921 if test ! -r $srcdir/$ac_unique_file; then
925 ac_srcdir_defaulted
=no
927 if test ! -r $srcdir/$ac_unique_file; then
928 if test "$ac_srcdir_defaulted" = yes; then
929 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
931 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
934 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
936 # Prefer explicitly selected file to automatically selected ones.
937 if test -z "$CONFIG_SITE"; then
938 if test "x$prefix" != xNONE
; then
939 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
941 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
944 for ac_site_file
in $CONFIG_SITE; do
945 if test -r "$ac_site_file"; then
946 echo "loading site script $ac_site_file"
951 if test -r "$cache_file"; then
952 echo "loading cache $cache_file"
955 echo "creating cache $cache_file"
960 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
961 ac_cpp
='$CPP $CPPFLAGS'
962 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
963 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
964 cross_compiling
=$ac_cv_prog_cc_cross
968 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
969 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
970 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
977 ac_n
= ac_c
='\c' ac_t
=
983 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
984 if test -f $ac_dir/install-sh; then
986 ac_install_sh
="$ac_aux_dir/install-sh -c"
988 elif test -f $ac_dir/install.sh
; then
990 ac_install_sh
="$ac_aux_dir/install.sh -c"
994 if test -z "$ac_aux_dir"; then
995 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
997 ac_config_guess
=$ac_aux_dir/config.guess
998 ac_config_sub
=$ac_aux_dir/config.sub
999 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
1002 # Do some error checking and defaulting for the host and target type.
1004 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
1007 # 1. You are not allowed to specify --host, --target, and nonopt at the
1009 # 2. Host defaults to nonopt.
1010 # 3. If nonopt is not specified, then host defaults to the current host,
1011 # as determined by config.guess.
1012 # 4. Target and build default to nonopt.
1013 # 5. If nonopt is not specified, then target and build default to host.
1015 # The aliases save the names the user supplied, while $host etc.
1016 # will get canonicalized.
1017 case $host---$target---$nonopt in
1018 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
1019 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1023 # Make sure we can run config.sub.
1024 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1025 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1028 echo $ac_n "checking host system type""... $ac_c" 1>&6
1029 echo "configure:1030: checking host system type" >&5
1032 case "$host_alias" in
1036 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1037 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1039 *) host_alias
=$nonopt ;;
1043 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1044 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1045 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1046 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1047 echo "$ac_t""$host" 1>&6
1049 echo $ac_n "checking target system type""... $ac_c" 1>&6
1050 echo "configure:1051: checking target system type" >&5
1052 target_alias
=$target
1053 case "$target_alias" in
1056 NONE
) target_alias
=$host_alias ;;
1057 *) target_alias
=$nonopt ;;
1061 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1062 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1063 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1064 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1065 echo "$ac_t""$target" 1>&6
1067 echo $ac_n "checking build system type""... $ac_c" 1>&6
1068 echo "configure:1069: checking build system type" >&5
1071 case "$build_alias" in
1074 NONE
) build_alias
=$host_alias ;;
1075 *) build_alias
=$nonopt ;;
1079 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1080 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1081 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1082 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1083 echo "$ac_t""$build" 1>&6
1085 test "$host_alias" != "$target_alias" &&
1086 test "$program_prefix$program_suffix$program_transform_name" = \
1088 program_prefix
=${target_alias}-
1092 WX_MAJOR_VERSION_NUMBER
=2
1093 WX_MINOR_VERSION_NUMBER
=5
1096 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1097 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1099 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1133 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1135 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1137 DEFAULT_wxUSE_COCOA
=0
1141 DEFAULT_wxUSE_MICROWIN
=0
1142 DEFAULT_wxUSE_MOTIF
=0
1147 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1148 DEFAULT_DEFAULT_wxUSE_GTK
=0
1149 DEFAULT_DEFAULT_wxUSE_MAC
=0
1150 DEFAULT_DEFAULT_wxUSE_MGL
=0
1151 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1152 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1153 DEFAULT_DEFAULT_wxUSE_MSW
=0
1154 DEFAULT_DEFAULT_wxUSE_PM
=0
1155 DEFAULT_DEFAULT_wxUSE_X11
=0
1163 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1164 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1166 cat >> confdefs.h
<<\EOF
1173 cat >> confdefs.h
<<\EOF
1178 if test "x$TMP" = "xalpha"; then
1180 cat >> confdefs.h
<<\EOF
1185 DEFAULT_DEFAULT_wxUSE_GTK
=1
1187 *-*-irix5* | *-*-irix6* )
1190 cat >> confdefs.h
<<\EOF
1194 cat >> confdefs.h
<<\EOF
1198 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1204 cat >> confdefs.h
<<\EOF
1208 cat >> confdefs.h
<<\EOF
1209 #define __SOLARIS__ 1
1212 cat >> confdefs.h
<<\EOF
1216 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1217 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1223 cat >> confdefs.h
<<\EOF
1227 cat >> confdefs.h
<<\EOF
1231 cat >> confdefs.h
<<\EOF
1235 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1240 cat >> confdefs.h
<<\EOF
1241 #define __FREEBSD__ 1
1244 cat >> confdefs.h
<<\EOF
1248 DEFAULT_DEFAULT_wxUSE_GTK
=1
1253 cat >> confdefs.h
<<\EOF
1254 #define __OPENBSD__ 1
1257 cat >> confdefs.h
<<\EOF
1261 DEFAULT_DEFAULT_wxUSE_GTK
=1
1266 cat >> confdefs.h
<<\EOF
1267 #define __NETBSD__ 1
1270 cat >> confdefs.h
<<\EOF
1274 DEFAULT_DEFAULT_wxUSE_GTK
=1
1279 cat >> confdefs.h
<<\EOF
1283 cat >> confdefs.h
<<\EOF
1287 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1288 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1293 cat >> confdefs.h
<<\EOF
1297 cat >> confdefs.h
<<\EOF
1301 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1306 cat >> confdefs.h
<<\EOF
1310 cat >> confdefs.h
<<\EOF
1314 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1321 cat >> confdefs.h
<<\EOF
1325 cat >> confdefs.h
<<\EOF
1329 cat >> confdefs.h
<<\EOF
1333 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1336 *-*-cygwin* | *-*-mingw32* )
1340 DEFAULT_DEFAULT_wxUSE_MSW
=1
1346 cat >> confdefs.h
<<\EOF
1351 DEFAULT_DEFAULT_wxUSE_MGL
=1
1352 LIBS
="$LIBS -lstdc++"
1355 *-pc-os2_emx | *-pc-os2-emx )
1356 cat >> confdefs.h
<<\EOF
1361 DEFAULT_DEFAULT_wxUSE_PM
=1
1368 cat >> confdefs.h
<<\EOF
1372 cat >> confdefs.h
<<\EOF
1373 #define __DARWIN__ 1
1376 cat >> confdefs.h
<<\EOF
1377 #define __POWERPC__ 1
1380 cat >> confdefs.h
<<\EOF
1381 #define TARGET_CARBON 1
1384 DEFAULT_DEFAULT_wxUSE_MAC
=1
1389 cat >> confdefs.h
<<\EOF
1396 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1402 wx_arg_cache_file
="configarg.cache"
1403 echo "loading argument cache $wx_arg_cache_file"
1404 rm -f ${wx_arg_cache_file}.tmp
1405 touch ${wx_arg_cache_file}.tmp
1406 touch ${wx_arg_cache_file}
1410 if test $DEBUG_CONFIGURE = 1; then
1411 DEFAULT_wxUSE_UNIVERSAL
=no
1413 DEFAULT_wxUSE_NANOX
=no
1415 DEFAULT_wxUSE_THREADS
=yes
1417 DEFAULT_wxUSE_SHARED
=yes
1418 DEFAULT_wxUSE_SONAME
=no
1419 DEFAULT_wxUSE_OPTIMISE
=no
1420 DEFAULT_wxUSE_PROFILE
=no
1421 DEFAULT_wxUSE_NO_DEPS
=no
1422 DEFAULT_wxUSE_NO_RTTI
=no
1423 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1424 DEFAULT_wxUSE_PERMISSIVE
=no
1425 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1426 DEFAULT_wxUSE_DEBUG_INFO
=yes
1427 DEFAULT_wxUSE_DEBUG_GDB
=yes
1428 DEFAULT_wxUSE_MEM_TRACING
=no
1429 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1430 DEFAULT_wxUSE_DMALLOC
=no
1431 DEFAULT_wxUSE_PRECOMP
=no
1432 DEFAULT_wxUSE_APPLE_IEEE
=no
1434 DEFAULT_wxUSE_LOG
=yes
1435 DEFAULT_wxUSE_LOGWINDOW
=no
1436 DEFAULT_wxUSE_LOGGUI
=no
1437 DEFAULT_wxUSE_LOGDIALOG
=no
1439 DEFAULT_wxUSE_GUI
=yes
1440 DEFAULT_wxUSE_CONTROLS
=no
1442 DEFAULT_wxUSE_REGEX
=no
1443 DEFAULT_wxUSE_ZLIB
=no
1444 DEFAULT_wxUSE_LIBPNG
=no
1445 DEFAULT_wxUSE_LIBJPEG
=no
1446 DEFAULT_wxUSE_LIBTIFF
=no
1447 DEFAULT_wxUSE_ODBC
=no
1448 DEFAULT_wxUSE_OPENGL
=no
1450 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1451 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1452 DEFAULT_wxUSE_STD_IOSTREAM
=no
1453 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1454 DEFAULT_wxUSE_DATETIME
=no
1455 DEFAULT_wxUSE_TIMEDATE
=no
1456 DEFAULT_wxUSE_TIMER
=no
1457 DEFAULT_wxUSE_STOPWATCH
=no
1458 DEFAULT_wxUSE_FILE
=no
1459 DEFAULT_wxUSE_FFILE
=no
1460 DEFAULT_wxUSE_TEXTBUFFER
=no
1461 DEFAULT_wxUSE_TEXTFILE
=no
1462 DEFAULT_wxUSE_WAVE
=no
1463 DEFAULT_wxUSE_INTL
=no
1464 DEFAULT_wxUSE_CONFIG
=no
1465 DEFAULT_wxUSE_FONTMAP
=no
1466 DEFAULT_wxUSE_STREAMS
=no
1467 DEFAULT_wxUSE_SOCKETS
=no
1468 DEFAULT_wxUSE_OLE
=no
1469 DEFAULT_wxUSE_DATAOBJ
=no
1470 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1471 DEFAULT_wxUSE_JOYSTICK
=no
1472 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1473 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1474 DEFAULT_wxUSE_LONGLONG
=no
1475 DEFAULT_wxUSE_GEOMETRY
=no
1477 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1478 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1479 DEFAULT_wxUSE_POSTSCRIPT
=no
1481 DEFAULT_wxUSE_X_RESOURCES
=no
1482 DEFAULT_wxUSE_CLIPBOARD
=no
1483 DEFAULT_wxUSE_TOOLTIPS
=no
1484 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1485 DEFAULT_wxUSE_DRAGIMAGE
=no
1486 DEFAULT_wxUSE_SPLINES
=no
1488 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1489 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1490 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1492 DEFAULT_wxUSE_PROLOGIO
=no
1493 DEFAULT_wxUSE_RESOURCES
=no
1494 DEFAULT_wxUSE_CONSTRAINTS
=no
1495 DEFAULT_wxUSE_IPC
=no
1496 DEFAULT_wxUSE_HELP
=no
1497 DEFAULT_wxUSE_MS_HTML_HELP
=no
1498 DEFAULT_wxUSE_WXHTML_HELP
=no
1499 DEFAULT_wxUSE_TREELAYOUT
=no
1500 DEFAULT_wxUSE_METAFILE
=no
1501 DEFAULT_wxUSE_MIMETYPE
=no
1502 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1503 DEFAULT_wxUSE_PROTOCOL
=no
1504 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1505 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1506 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1507 DEFAULT_wxUSE_URL
=no
1509 DEFAULT_wxUSE_COMMONDLGS
=no
1510 DEFAULT_wxUSE_CHOICEDLG
=no
1511 DEFAULT_wxUSE_COLOURDLG
=no
1512 DEFAULT_wxUSE_DIRDLG
=no
1513 DEFAULT_wxUSE_FILEDLG
=no
1514 DEFAULT_wxUSE_FINDREPLDLG
=no
1515 DEFAULT_wxUSE_FONTDLG
=no
1516 DEFAULT_wxUSE_MSGDLG
=no
1517 DEFAULT_wxUSE_NUMBERDLG
=no
1518 DEFAULT_wxUSE_TEXTDLG
=no
1519 DEFAULT_wxUSE_SPLASH
=no
1520 DEFAULT_wxUSE_STARTUP_TIPS
=no
1521 DEFAULT_wxUSE_PROGRESSDLG
=no
1522 DEFAULT_wxUSE_WIZARDDLG
=no
1524 DEFAULT_wxUSE_MENUS
=no
1525 DEFAULT_wxUSE_MINIFRAME
=no
1526 DEFAULT_wxUSE_HTML
=no
1527 DEFAULT_wxUSE_FILESYSTEM
=no
1528 DEFAULT_wxUSE_FS_INET
=no
1529 DEFAULT_wxUSE_FS_ZIP
=no
1530 DEFAULT_wxUSE_BUSYINFO
=no
1531 DEFAULT_wxUSE_ZIPSTREAM
=no
1532 DEFAULT_wxUSE_VALIDATORS
=no
1534 DEFAULT_wxUSE_ACCEL
=no
1535 DEFAULT_wxUSE_BUTTON
=no
1536 DEFAULT_wxUSE_BMPBUTTON
=no
1537 DEFAULT_wxUSE_CALCTRL
=no
1538 DEFAULT_wxUSE_CARET
=no
1539 DEFAULT_wxUSE_CHECKBOX
=no
1540 DEFAULT_wxUSE_CHECKLST
=no
1541 DEFAULT_wxUSE_CHOICE
=no
1542 DEFAULT_wxUSE_COMBOBOX
=no
1543 DEFAULT_wxUSE_DISPLAY
=no
1544 DEFAULT_wxUSE_GAUGE
=no
1545 DEFAULT_wxUSE_GRID
=no
1546 DEFAULT_wxUSE_NEW_GRID
=no
1547 DEFAULT_wxUSE_IMAGLIST
=no
1548 DEFAULT_wxUSE_LISTBOX
=no
1549 DEFAULT_wxUSE_LISTCTRL
=no
1550 DEFAULT_wxUSE_NOTEBOOK
=no
1551 DEFAULT_wxUSE_PROPSHEET
=no
1552 DEFAULT_wxUSE_RADIOBOX
=no
1553 DEFAULT_wxUSE_RADIOBTN
=no
1554 DEFAULT_wxUSE_SASH
=no
1555 DEFAULT_wxUSE_SCROLLBAR
=no
1556 DEFAULT_wxUSE_SLIDER
=no
1557 DEFAULT_wxUSE_SPINBTN
=no
1558 DEFAULT_wxUSE_SPINCTRL
=no
1559 DEFAULT_wxUSE_SPLITTER
=no
1560 DEFAULT_wxUSE_STATBMP
=no
1561 DEFAULT_wxUSE_STATBOX
=no
1562 DEFAULT_wxUSE_STATLINE
=no
1563 DEFAULT_wxUSE_STATTEXT
=no
1564 DEFAULT_wxUSE_STATUSBAR
=yes
1565 DEFAULT_wxUSE_TABDIALOG
=no
1566 DEFAULT_wxUSE_TEXTCTRL
=no
1567 DEFAULT_wxUSE_TOGGLEBTN
=no
1568 DEFAULT_wxUSE_TOOLBAR
=no
1569 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1570 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1571 DEFAULT_wxUSE_TREECTRL
=no
1572 DEFAULT_wxUSE_POPUPWIN
=no
1573 DEFAULT_wxUSE_TIPWINDOW
=no
1575 DEFAULT_wxUSE_UNICODE
=no
1576 DEFAULT_wxUSE_UNICODE_MSLU
=no
1577 DEFAULT_wxUSE_WCSRTOMBS
=no
1579 DEFAULT_wxUSE_PALETTE
=no
1580 DEFAULT_wxUSE_IMAGE
=no
1581 DEFAULT_wxUSE_GIF
=no
1582 DEFAULT_wxUSE_PCX
=no
1583 DEFAULT_wxUSE_PNM
=no
1584 DEFAULT_wxUSE_IFF
=no
1585 DEFAULT_wxUSE_XPM
=no
1586 DEFAULT_wxUSE_ICO_CUR
=no
1588 DEFAULT_wxUSE_UNIVERSAL
=no
1590 DEFAULT_wxUSE_NANOX
=no
1592 DEFAULT_wxUSE_THREADS
=yes
1594 DEFAULT_wxUSE_SHARED
=yes
1595 DEFAULT_wxUSE_SONAME
=no
1596 DEFAULT_wxUSE_OPTIMISE
=yes
1597 DEFAULT_wxUSE_PROFILE
=no
1598 DEFAULT_wxUSE_NO_DEPS
=no
1599 DEFAULT_wxUSE_NO_RTTI
=no
1600 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1601 DEFAULT_wxUSE_PERMISSIVE
=no
1602 DEFAULT_wxUSE_DEBUG_FLAG
=no
1603 DEFAULT_wxUSE_DEBUG_INFO
=no
1604 DEFAULT_wxUSE_DEBUG_GDB
=no
1605 DEFAULT_wxUSE_MEM_TRACING
=no
1606 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1607 DEFAULT_wxUSE_DMALLOC
=no
1608 DEFAULT_wxUSE_PRECOMP
=no
1609 DEFAULT_wxUSE_APPLE_IEEE
=yes
1611 DEFAULT_wxUSE_LOG
=yes
1612 DEFAULT_wxUSE_LOGWINDOW
=yes
1613 DEFAULT_wxUSE_LOGGUI
=yes
1614 DEFAULT_wxUSE_LOGDIALOG
=yes
1616 DEFAULT_wxUSE_GUI
=yes
1618 DEFAULT_wxUSE_REGEX
=yes
1619 DEFAULT_wxUSE_ZLIB
=yes
1620 DEFAULT_wxUSE_LIBPNG
=yes
1621 DEFAULT_wxUSE_LIBJPEG
=yes
1622 DEFAULT_wxUSE_LIBTIFF
=yes
1623 DEFAULT_wxUSE_ODBC
=no
1624 DEFAULT_wxUSE_OPENGL
=no
1626 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1627 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1628 DEFAULT_wxUSE_STD_IOSTREAM
=no
1629 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1630 DEFAULT_wxUSE_DATETIME
=yes
1631 DEFAULT_wxUSE_TIMEDATE
=no
1632 DEFAULT_wxUSE_TIMER
=yes
1633 DEFAULT_wxUSE_STOPWATCH
=yes
1634 DEFAULT_wxUSE_FILE
=yes
1635 DEFAULT_wxUSE_FFILE
=yes
1636 DEFAULT_wxUSE_TEXTBUFFER
=yes
1637 DEFAULT_wxUSE_TEXTFILE
=yes
1638 DEFAULT_wxUSE_WAVE
=no
1639 DEFAULT_wxUSE_INTL
=yes
1640 DEFAULT_wxUSE_CONFIG
=yes
1641 DEFAULT_wxUSE_FONTMAP
=yes
1642 DEFAULT_wxUSE_STREAMS
=yes
1643 DEFAULT_wxUSE_SOCKETS
=yes
1644 DEFAULT_wxUSE_OLE
=yes
1645 DEFAULT_wxUSE_DATAOBJ
=yes
1646 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1647 DEFAULT_wxUSE_JOYSTICK
=yes
1648 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1649 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1650 DEFAULT_wxUSE_LONGLONG
=yes
1651 DEFAULT_wxUSE_GEOMETRY
=yes
1653 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1654 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1655 DEFAULT_wxUSE_POSTSCRIPT
=yes
1657 DEFAULT_wxUSE_X_RESOURCES
=no
1658 DEFAULT_wxUSE_CLIPBOARD
=yes
1659 DEFAULT_wxUSE_TOOLTIPS
=yes
1660 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1661 DEFAULT_wxUSE_DRAGIMAGE
=yes
1662 DEFAULT_wxUSE_SPLINES
=yes
1664 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1665 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1666 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1668 DEFAULT_wxUSE_PROLOGIO
=no
1669 DEFAULT_wxUSE_RESOURCES
=no
1670 DEFAULT_wxUSE_CONSTRAINTS
=yes
1671 DEFAULT_wxUSE_IPC
=yes
1672 DEFAULT_wxUSE_HELP
=yes
1673 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1674 DEFAULT_wxUSE_WXHTML_HELP
=yes
1675 DEFAULT_wxUSE_TREELAYOUT
=yes
1676 DEFAULT_wxUSE_METAFILE
=yes
1677 DEFAULT_wxUSE_MIMETYPE
=yes
1678 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1679 DEFAULT_wxUSE_PROTOCOL
=yes
1680 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1681 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1682 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1683 DEFAULT_wxUSE_URL
=yes
1685 DEFAULT_wxUSE_COMMONDLGS
=yes
1686 DEFAULT_wxUSE_CHOICEDLG
=yes
1687 DEFAULT_wxUSE_COLOURDLG
=yes
1688 DEFAULT_wxUSE_DIRDLG
=yes
1689 DEFAULT_wxUSE_FILEDLG
=yes
1690 DEFAULT_wxUSE_FINDREPLDLG
=yes
1691 DEFAULT_wxUSE_FONTDLG
=yes
1692 DEFAULT_wxUSE_MSGDLG
=yes
1693 DEFAULT_wxUSE_NUMBERDLG
=yes
1694 DEFAULT_wxUSE_TEXTDLG
=yes
1695 DEFAULT_wxUSE_SPLASH
=yes
1696 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1697 DEFAULT_wxUSE_PROGRESSDLG
=yes
1698 DEFAULT_wxUSE_WIZARDDLG
=yes
1700 DEFAULT_wxUSE_MENUS
=yes
1701 DEFAULT_wxUSE_MINIFRAME
=yes
1702 DEFAULT_wxUSE_HTML
=yes
1703 DEFAULT_wxUSE_FILESYSTEM
=yes
1704 DEFAULT_wxUSE_FS_INET
=yes
1705 DEFAULT_wxUSE_FS_ZIP
=yes
1706 DEFAULT_wxUSE_BUSYINFO
=yes
1707 DEFAULT_wxUSE_ZIPSTREAM
=yes
1708 DEFAULT_wxUSE_VALIDATORS
=yes
1710 DEFAULT_wxUSE_ACCEL
=yes
1711 DEFAULT_wxUSE_BUTTON
=yes
1712 DEFAULT_wxUSE_BMPBUTTON
=yes
1713 DEFAULT_wxUSE_CALCTRL
=yes
1714 DEFAULT_wxUSE_CARET
=yes
1715 DEFAULT_wxUSE_CHECKBOX
=yes
1716 DEFAULT_wxUSE_CHECKLST
=yes
1717 DEFAULT_wxUSE_CHOICE
=yes
1718 DEFAULT_wxUSE_COMBOBOX
=yes
1719 DEFAULT_wxUSE_DISPLAY
=no
1720 DEFAULT_wxUSE_GAUGE
=yes
1721 DEFAULT_wxUSE_GRID
=yes
1722 DEFAULT_wxUSE_NEW_GRID
=yes
1723 DEFAULT_wxUSE_IMAGLIST
=yes
1724 DEFAULT_wxUSE_LISTBOX
=yes
1725 DEFAULT_wxUSE_LISTCTRL
=yes
1726 DEFAULT_wxUSE_NOTEBOOK
=yes
1727 DEFAULT_wxUSE_PROPSHEET
=yes
1728 DEFAULT_wxUSE_RADIOBOX
=yes
1729 DEFAULT_wxUSE_RADIOBTN
=yes
1730 DEFAULT_wxUSE_SASH
=yes
1731 DEFAULT_wxUSE_SCROLLBAR
=yes
1732 DEFAULT_wxUSE_SLIDER
=yes
1733 DEFAULT_wxUSE_SPINBTN
=yes
1734 DEFAULT_wxUSE_SPINCTRL
=yes
1735 DEFAULT_wxUSE_SPLITTER
=yes
1736 DEFAULT_wxUSE_STATBMP
=yes
1737 DEFAULT_wxUSE_STATBOX
=yes
1738 DEFAULT_wxUSE_STATLINE
=yes
1739 DEFAULT_wxUSE_STATTEXT
=yes
1740 DEFAULT_wxUSE_STATUSBAR
=yes
1741 DEFAULT_wxUSE_TABDIALOG
=no
1742 DEFAULT_wxUSE_TEXTCTRL
=yes
1743 DEFAULT_wxUSE_TOGGLEBTN
=yes
1744 DEFAULT_wxUSE_TOOLBAR
=yes
1745 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1746 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1747 DEFAULT_wxUSE_TREECTRL
=yes
1748 DEFAULT_wxUSE_POPUPWIN
=yes
1749 DEFAULT_wxUSE_TIPWINDOW
=yes
1751 DEFAULT_wxUSE_UNICODE
=no
1752 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1753 DEFAULT_wxUSE_WCSRTOMBS
=no
1755 DEFAULT_wxUSE_PALETTE
=yes
1756 DEFAULT_wxUSE_IMAGE
=yes
1757 DEFAULT_wxUSE_GIF
=yes
1758 DEFAULT_wxUSE_PCX
=yes
1759 DEFAULT_wxUSE_IFF
=no
1760 DEFAULT_wxUSE_PNM
=yes
1761 DEFAULT_wxUSE_XPM
=yes
1762 DEFAULT_wxUSE_ICO_CUR
=yes
1767 for toolkit
in `echo $ALL_TOOLKITS`; do
1768 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
1769 if test "x$LINE" != "x" ; then
1770 has_toolkit_in_cache
=1
1771 eval "DEFAULT_$LINE"
1772 eval "CACHE_$toolkit=1"
1779 echo $ac_n "checking for --${enablestring:-enable}-gui""... $ac_c" 1>&6
1780 echo "configure:1781: checking for --${enablestring:-enable}-gui" >&5
1782 # Check whether --enable-gui or --disable-gui was given.
1783 if test "${enable_gui+set}" = set; then
1784 enableval
="$enable_gui"
1786 if test "$enableval" = yes; then
1787 ac_cv_use_gui
='wxUSE_GUI=yes'
1789 ac_cv_use_gui
='wxUSE_GUI=no'
1794 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1795 if test "x$LINE" != x
; then
1796 eval "DEFAULT_$LINE"
1801 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1806 eval "$ac_cv_use_gui"
1807 if test "$no_cache" != 1; then
1808 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1811 if test "$wxUSE_GUI" = yes; then
1812 echo "$ac_t""yes" 1>&6
1814 echo "$ac_t""no" 1>&6
1818 if test "$wxUSE_GUI" = "yes"; then
1822 echo $ac_n "checking for --${enablestring:-enable}-universal""... $ac_c" 1>&6
1823 echo "configure:1824: checking for --${enablestring:-enable}-universal" >&5
1825 # Check whether --enable-universal or --disable-universal was given.
1826 if test "${enable_universal+set}" = set; then
1827 enableval
="$enable_universal"
1829 if test "$enableval" = yes; then
1830 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1832 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1837 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1838 if test "x$LINE" != x
; then
1839 eval "DEFAULT_$LINE"
1844 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1849 eval "$ac_cv_use_universal"
1850 if test "$no_cache" != 1; then
1851 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1854 if test "$wxUSE_UNIVERSAL" = yes; then
1855 echo "$ac_t""yes" 1>&6
1857 echo "$ac_t""no" 1>&6
1860 # Check whether --with-gtk or --without-gtk was given.
1861 if test "${with_gtk+set}" = set; then
1863 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1866 # Check whether --with-motif or --without-motif was given.
1867 if test "${with_motif+set}" = set; then
1868 withval
="$with_motif"
1869 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1872 # Check whether --with-mac or --without-mac was given.
1873 if test "${with_mac+set}" = set; then
1875 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1878 # Check whether --with-cocoa or --without-cocoa was given.
1879 if test "${with_cocoa+set}" = set; then
1880 withval
="$with_cocoa"
1881 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
1884 # Check whether --with-wine or --without-wine was given.
1885 if test "${with_wine+set}" = set; then
1886 withval
="$with_wine"
1887 wxUSE_WINE
="$withval" CACHE_WINE
=1
1890 # Check whether --with-msw or --without-msw was given.
1891 if test "${with_msw+set}" = set; then
1893 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1896 # Check whether --with-pm or --without-pm was given.
1897 if test "${with_pm+set}" = set; then
1899 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1902 # Check whether --with-mgl or --without-mgl was given.
1903 if test "${with_mgl+set}" = set; then
1905 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1908 # Check whether --with-microwin or --without-microwin was given.
1909 if test "${with_microwin+set}" = set; then
1910 withval
="$with_microwin"
1911 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1914 # Check whether --with-x11 or --without-x11 was given.
1915 if test "${with_x11+set}" = set; then
1917 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1922 echo $ac_n "checking for --${enablestring:-enable}-nanox""... $ac_c" 1>&6
1923 echo "configure:1924: checking for --${enablestring:-enable}-nanox" >&5
1925 # Check whether --enable-nanox or --disable-nanox was given.
1926 if test "${enable_nanox+set}" = set; then
1927 enableval
="$enable_nanox"
1929 if test "$enableval" = yes; then
1930 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1932 ac_cv_use_nanox
='wxUSE_NANOX=no'
1937 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1938 if test "x$LINE" != x
; then
1939 eval "DEFAULT_$LINE"
1944 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1949 eval "$ac_cv_use_nanox"
1950 if test "$no_cache" != 1; then
1951 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1954 if test "$wxUSE_NANOX" = yes; then
1955 echo "$ac_t""yes" 1>&6
1957 echo "$ac_t""no" 1>&6
1963 echo $ac_n "checking for --${enablestring:-enable}-gtk2""... $ac_c" 1>&6
1964 echo "configure:1965: checking for --${enablestring:-enable}-gtk2" >&5
1966 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1967 if test "${enable_gtk2+set}" = set; then
1968 enableval
="$enable_gtk2"
1970 if test "$enableval" = yes; then
1971 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
1973 ac_cv_use_gtk2
='wxUSE_GTK2=no'
1978 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
1979 if test "x$LINE" != x
; then
1980 eval "DEFAULT_$LINE"
1985 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
1990 eval "$ac_cv_use_gtk2"
1991 if test "$no_cache" != 1; then
1992 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
1995 if test "$wxUSE_GTK2" = yes; then
1996 echo "$ac_t""yes" 1>&6
1998 echo "$ac_t""no" 1>&6
2003 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
2004 echo "configure:2005: checking for --with-libpng" >&5
2006 # Check whether --with-libpng or --without-libpng was given.
2007 if test "${with_libpng+set}" = set; then
2008 withval
="$with_libpng"
2010 if test "$withval" = yes; then
2011 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2012 elif test "$withval" = no
; then
2013 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2014 elif test "$withval" = sys
; then
2015 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2016 elif test "$withval" = builtin; then
2017 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2019 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2024 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2025 if test "x$LINE" != x
; then
2026 eval "DEFAULT_$LINE"
2031 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2036 eval "$ac_cv_use_libpng"
2037 if test "$no_cache" != 1; then
2038 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2041 if test "$wxUSE_LIBPNG" = yes; then
2042 echo "$ac_t""yes" 1>&6
2043 elif test "$wxUSE_LIBPNG" = no
; then
2044 echo "$ac_t""no" 1>&6
2045 elif test "$wxUSE_LIBPNG" = sys
; then
2046 echo "$ac_t""system version" 1>&6
2047 elif test "$wxUSE_LIBPNG" = builtin; then
2048 echo "$ac_t""builtin version" 1>&6
2050 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2054 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2055 echo "configure:2056: checking for --with-libjpeg" >&5
2057 # Check whether --with-libjpeg or --without-libjpeg was given.
2058 if test "${with_libjpeg+set}" = set; then
2059 withval
="$with_libjpeg"
2061 if test "$withval" = yes; then
2062 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2063 elif test "$withval" = no
; then
2064 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2065 elif test "$withval" = sys
; then
2066 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2067 elif test "$withval" = builtin; then
2068 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2070 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2075 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2076 if test "x$LINE" != x
; then
2077 eval "DEFAULT_$LINE"
2082 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2087 eval "$ac_cv_use_libjpeg"
2088 if test "$no_cache" != 1; then
2089 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2092 if test "$wxUSE_LIBJPEG" = yes; then
2093 echo "$ac_t""yes" 1>&6
2094 elif test "$wxUSE_LIBJPEG" = no
; then
2095 echo "$ac_t""no" 1>&6
2096 elif test "$wxUSE_LIBJPEG" = sys
; then
2097 echo "$ac_t""system version" 1>&6
2098 elif test "$wxUSE_LIBJPEG" = builtin; then
2099 echo "$ac_t""builtin version" 1>&6
2101 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2105 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2106 echo "configure:2107: checking for --with-libtiff" >&5
2108 # Check whether --with-libtiff or --without-libtiff was given.
2109 if test "${with_libtiff+set}" = set; then
2110 withval
="$with_libtiff"
2112 if test "$withval" = yes; then
2113 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2114 elif test "$withval" = no
; then
2115 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2116 elif test "$withval" = sys
; then
2117 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2118 elif test "$withval" = builtin; then
2119 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2121 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2126 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2127 if test "x$LINE" != x
; then
2128 eval "DEFAULT_$LINE"
2133 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2138 eval "$ac_cv_use_libtiff"
2139 if test "$no_cache" != 1; then
2140 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2143 if test "$wxUSE_LIBTIFF" = yes; then
2144 echo "$ac_t""yes" 1>&6
2145 elif test "$wxUSE_LIBTIFF" = no
; then
2146 echo "$ac_t""no" 1>&6
2147 elif test "$wxUSE_LIBTIFF" = sys
; then
2148 echo "$ac_t""system version" 1>&6
2149 elif test "$wxUSE_LIBTIFF" = builtin; then
2150 echo "$ac_t""builtin version" 1>&6
2152 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2156 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2157 echo "configure:2158: checking for --with-opengl" >&5
2159 # Check whether --with-opengl or --without-opengl was given.
2160 if test "${with_opengl+set}" = set; then
2161 withval
="$with_opengl"
2163 if test "$withval" = yes; then
2164 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2166 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2171 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2172 if test "x$LINE" != x
; then
2173 eval "DEFAULT_$LINE"
2178 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2183 eval "$ac_cv_use_opengl"
2184 if test "$no_cache" != 1; then
2185 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2188 if test "$wxUSE_OPENGL" = yes; then
2189 echo "$ac_t""yes" 1>&6
2191 echo "$ac_t""no" 1>&6
2198 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2199 echo "configure:2200: checking for --with-dmalloc" >&5
2201 # Check whether --with-dmalloc or --without-dmalloc was given.
2202 if test "${with_dmalloc+set}" = set; then
2203 withval
="$with_dmalloc"
2205 if test "$withval" = yes; then
2206 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2208 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2213 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2214 if test "x$LINE" != x
; then
2215 eval "DEFAULT_$LINE"
2220 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2225 eval "$ac_cv_use_dmalloc"
2226 if test "$no_cache" != 1; then
2227 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2230 if test "$wxUSE_DMALLOC" = yes; then
2231 echo "$ac_t""yes" 1>&6
2233 echo "$ac_t""no" 1>&6
2237 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2238 echo "configure:2239: checking for --with-regex" >&5
2240 # Check whether --with-regex or --without-regex was given.
2241 if test "${with_regex+set}" = set; then
2242 withval
="$with_regex"
2244 if test "$withval" = yes; then
2245 ac_cv_use_regex
='wxUSE_REGEX=yes'
2246 elif test "$withval" = no
; then
2247 ac_cv_use_regex
='wxUSE_REGEX=no'
2248 elif test "$withval" = sys
; then
2249 ac_cv_use_regex
='wxUSE_REGEX=sys'
2250 elif test "$withval" = builtin; then
2251 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2253 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2258 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2259 if test "x$LINE" != x
; then
2260 eval "DEFAULT_$LINE"
2265 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2270 eval "$ac_cv_use_regex"
2271 if test "$no_cache" != 1; then
2272 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2275 if test "$wxUSE_REGEX" = yes; then
2276 echo "$ac_t""yes" 1>&6
2277 elif test "$wxUSE_REGEX" = no
; then
2278 echo "$ac_t""no" 1>&6
2279 elif test "$wxUSE_REGEX" = sys
; then
2280 echo "$ac_t""system version" 1>&6
2281 elif test "$wxUSE_REGEX" = builtin; then
2282 echo "$ac_t""builtin version" 1>&6
2284 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2288 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2289 echo "configure:2290: checking for --with-zlib" >&5
2291 # Check whether --with-zlib or --without-zlib was given.
2292 if test "${with_zlib+set}" = set; then
2293 withval
="$with_zlib"
2295 if test "$withval" = yes; then
2296 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2297 elif test "$withval" = no
; then
2298 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2299 elif test "$withval" = sys
; then
2300 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2301 elif test "$withval" = builtin; then
2302 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2304 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2309 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2310 if test "x$LINE" != x
; then
2311 eval "DEFAULT_$LINE"
2316 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2321 eval "$ac_cv_use_zlib"
2322 if test "$no_cache" != 1; then
2323 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2326 if test "$wxUSE_ZLIB" = yes; then
2327 echo "$ac_t""yes" 1>&6
2328 elif test "$wxUSE_ZLIB" = no
; then
2329 echo "$ac_t""no" 1>&6
2330 elif test "$wxUSE_ZLIB" = sys
; then
2331 echo "$ac_t""system version" 1>&6
2332 elif test "$wxUSE_ZLIB" = builtin; then
2333 echo "$ac_t""builtin version" 1>&6
2335 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2339 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2340 echo "configure:2341: checking for --with-odbc" >&5
2342 # Check whether --with-odbc or --without-odbc was given.
2343 if test "${with_odbc+set}" = set; then
2344 withval
="$with_odbc"
2346 if test "$withval" = yes; then
2347 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2349 ac_cv_use_odbc
='wxUSE_ODBC=no'
2354 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2355 if test "x$LINE" != x
; then
2356 eval "DEFAULT_$LINE"
2361 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2366 eval "$ac_cv_use_odbc"
2367 if test "$no_cache" != 1; then
2368 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2371 if test "$wxUSE_ODBC" = yes; then
2372 echo "$ac_t""yes" 1>&6
2374 echo "$ac_t""no" 1>&6
2381 echo $ac_n "checking for --${enablestring:-enable}-shared""... $ac_c" 1>&6
2382 echo "configure:2383: checking for --${enablestring:-enable}-shared" >&5
2384 # Check whether --enable-shared or --disable-shared was given.
2385 if test "${enable_shared+set}" = set; then
2386 enableval
="$enable_shared"
2388 if test "$enableval" = yes; then
2389 ac_cv_use_shared
='wxUSE_SHARED=yes'
2391 ac_cv_use_shared
='wxUSE_SHARED=no'
2396 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2397 if test "x$LINE" != x
; then
2398 eval "DEFAULT_$LINE"
2403 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2408 eval "$ac_cv_use_shared"
2409 if test "$no_cache" != 1; then
2410 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2413 if test "$wxUSE_SHARED" = yes; then
2414 echo "$ac_t""yes" 1>&6
2416 echo "$ac_t""no" 1>&6
2421 echo $ac_n "checking for --${enablestring:-enable}-soname""... $ac_c" 1>&6
2422 echo "configure:2423: checking for --${enablestring:-enable}-soname" >&5
2424 # Check whether --enable-soname or --disable-soname was given.
2425 if test "${enable_soname+set}" = set; then
2426 enableval
="$enable_soname"
2428 if test "$enableval" = yes; then
2429 ac_cv_use_soname
='wxUSE_SONAME=yes'
2431 ac_cv_use_soname
='wxUSE_SONAME=no'
2436 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2437 if test "x$LINE" != x
; then
2438 eval "DEFAULT_$LINE"
2443 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2448 eval "$ac_cv_use_soname"
2449 if test "$no_cache" != 1; then
2450 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2453 if test "$wxUSE_SONAME" = yes; then
2454 echo "$ac_t""yes" 1>&6
2456 echo "$ac_t""no" 1>&6
2461 echo $ac_n "checking for --${enablestring:-enable}-optimise""... $ac_c" 1>&6
2462 echo "configure:2463: checking for --${enablestring:-enable}-optimise" >&5
2464 # Check whether --enable-optimise or --disable-optimise was given.
2465 if test "${enable_optimise+set}" = set; then
2466 enableval
="$enable_optimise"
2468 if test "$enableval" = yes; then
2469 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2471 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2476 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2477 if test "x$LINE" != x
; then
2478 eval "DEFAULT_$LINE"
2483 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2488 eval "$ac_cv_use_optimise"
2489 if test "$no_cache" != 1; then
2490 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2493 if test "$wxUSE_OPTIMISE" = yes; then
2494 echo "$ac_t""yes" 1>&6
2496 echo "$ac_t""no" 1>&6
2501 echo $ac_n "checking for --${enablestring:-enable}-debug""... $ac_c" 1>&6
2502 echo "configure:2503: checking for --${enablestring:-enable}-debug" >&5
2504 # Check whether --enable-debug or --disable-debug was given.
2505 if test "${enable_debug+set}" = set; then
2506 enableval
="$enable_debug"
2508 if test "$enableval" = yes; then
2509 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2511 ac_cv_use_debug
='wxUSE_DEBUG=no'
2516 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2517 if test "x$LINE" != x
; then
2518 eval "DEFAULT_$LINE"
2523 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2528 eval "$ac_cv_use_debug"
2529 if test "$no_cache" != 1; then
2530 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2533 if test "$wxUSE_DEBUG" = yes; then
2534 echo "$ac_t""yes" 1>&6
2536 echo "$ac_t""no" 1>&6
2542 echo $ac_n "checking for --${enablestring:-enable}-precomp""... $ac_c" 1>&6
2543 echo "configure:2544: checking for --${enablestring:-enable}-precomp" >&5
2545 # Check whether --enable-precomp or --disable-precomp was given.
2546 if test "${enable_precomp+set}" = set; then
2547 enableval
="$enable_precomp"
2549 if test "$enableval" = yes; then
2550 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2552 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2557 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2558 if test "x$LINE" != x
; then
2559 eval "DEFAULT_$LINE"
2564 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2569 eval "$ac_cv_use_precomp"
2570 if test "$no_cache" != 1; then
2571 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2574 if test "$wxUSE_PRECOMP" = yes; then
2575 echo "$ac_t""yes" 1>&6
2577 echo "$ac_t""no" 1>&6
2581 if test "$wxUSE_DEBUG" = "yes"; then
2582 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2583 DEFAULT_wxUSE_DEBUG_INFO
=yes
2584 elif test "$wxUSE_DEBUG" = "no"; then
2585 DEFAULT_wxUSE_DEBUG_FLAG
=no
2586 DEFAULT_wxUSE_DEBUG_INFO
=no
2591 echo $ac_n "checking for --${enablestring:-enable}-debug_flag""... $ac_c" 1>&6
2592 echo "configure:2593: checking for --${enablestring:-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
2631 echo $ac_n "checking for --${enablestring:-enable}-debug_info""... $ac_c" 1>&6
2632 echo "configure:2633: checking for --${enablestring:-enable}-debug_info" >&5
2634 # Check whether --enable-debug_info or --disable-debug_info was given.
2635 if test "${enable_debug_info+set}" = set; then
2636 enableval
="$enable_debug_info"
2638 if test "$enableval" = yes; then
2639 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2641 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2646 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2647 if test "x$LINE" != x
; then
2648 eval "DEFAULT_$LINE"
2653 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2658 eval "$ac_cv_use_debug_info"
2659 if test "$no_cache" != 1; then
2660 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2663 if test "$wxUSE_DEBUG_INFO" = yes; then
2664 echo "$ac_t""yes" 1>&6
2666 echo "$ac_t""no" 1>&6
2671 echo $ac_n "checking for --${enablestring:-enable}-debug_gdb""... $ac_c" 1>&6
2672 echo "configure:2673: checking for --${enablestring:-enable}-debug_gdb" >&5
2674 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2675 if test "${enable_debug_gdb+set}" = set; then
2676 enableval
="$enable_debug_gdb"
2678 if test "$enableval" = yes; then
2679 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2681 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2686 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2687 if test "x$LINE" != x
; then
2688 eval "DEFAULT_$LINE"
2693 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2698 eval "$ac_cv_use_debug_gdb"
2699 if test "$no_cache" != 1; then
2700 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2703 if test "$wxUSE_DEBUG_GDB" = yes; then
2704 echo "$ac_t""yes" 1>&6
2706 echo "$ac_t""no" 1>&6
2711 echo $ac_n "checking for --${enablestring:-enable}-debug_cntxt""... $ac_c" 1>&6
2712 echo "configure:2713: checking for --${enablestring:-enable}-debug_cntxt" >&5
2714 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2715 if test "${enable_debug_cntxt+set}" = set; then
2716 enableval
="$enable_debug_cntxt"
2718 if test "$enableval" = yes; then
2719 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2721 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2726 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2727 if test "x$LINE" != x
; then
2728 eval "DEFAULT_$LINE"
2733 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2738 eval "$ac_cv_use_debug_cntxt"
2739 if test "$no_cache" != 1; then
2740 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2743 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2744 echo "$ac_t""yes" 1>&6
2746 echo "$ac_t""no" 1>&6
2751 echo $ac_n "checking for --${enablestring:-enable}-mem_tracing""... $ac_c" 1>&6
2752 echo "configure:2753: checking for --${enablestring:-enable}-mem_tracing" >&5
2754 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2755 if test "${enable_mem_tracing+set}" = set; then
2756 enableval
="$enable_mem_tracing"
2758 if test "$enableval" = yes; then
2759 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2761 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2766 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2767 if test "x$LINE" != x
; then
2768 eval "DEFAULT_$LINE"
2773 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2778 eval "$ac_cv_use_mem_tracing"
2779 if test "$no_cache" != 1; then
2780 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2783 if test "$wxUSE_MEM_TRACING" = yes; then
2784 echo "$ac_t""yes" 1>&6
2786 echo "$ac_t""no" 1>&6
2791 echo $ac_n "checking for --${enablestring:-enable}-profile""... $ac_c" 1>&6
2792 echo "configure:2793: checking for --${enablestring:-enable}-profile" >&5
2794 # Check whether --enable-profile or --disable-profile was given.
2795 if test "${enable_profile+set}" = set; then
2796 enableval
="$enable_profile"
2798 if test "$enableval" = yes; then
2799 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2801 ac_cv_use_profile
='wxUSE_PROFILE=no'
2806 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2807 if test "x$LINE" != x
; then
2808 eval "DEFAULT_$LINE"
2813 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2818 eval "$ac_cv_use_profile"
2819 if test "$no_cache" != 1; then
2820 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2823 if test "$wxUSE_PROFILE" = yes; then
2824 echo "$ac_t""yes" 1>&6
2826 echo "$ac_t""no" 1>&6
2831 echo $ac_n "checking for --${enablestring:-enable}-no_rtti""... $ac_c" 1>&6
2832 echo "configure:2833: checking for --${enablestring:-enable}-no_rtti" >&5
2834 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2835 if test "${enable_no_rtti+set}" = set; then
2836 enableval
="$enable_no_rtti"
2838 if test "$enableval" = yes; then
2839 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2841 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2846 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2847 if test "x$LINE" != x
; then
2848 eval "DEFAULT_$LINE"
2853 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2858 eval "$ac_cv_use_no_rtti"
2859 if test "$no_cache" != 1; then
2860 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2863 if test "$wxUSE_NO_RTTI" = yes; then
2864 echo "$ac_t""yes" 1>&6
2866 echo "$ac_t""no" 1>&6
2871 echo $ac_n "checking for --${enablestring:-enable}-no_exceptions""... $ac_c" 1>&6
2872 echo "configure:2873: checking for --${enablestring:-enable}-no_exceptions" >&5
2874 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2875 if test "${enable_no_exceptions+set}" = set; then
2876 enableval
="$enable_no_exceptions"
2878 if test "$enableval" = yes; then
2879 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2881 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2886 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2887 if test "x$LINE" != x
; then
2888 eval "DEFAULT_$LINE"
2893 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2898 eval "$ac_cv_use_no_exceptions"
2899 if test "$no_cache" != 1; then
2900 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2903 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2904 echo "$ac_t""yes" 1>&6
2906 echo "$ac_t""no" 1>&6
2911 echo $ac_n "checking for --${enablestring:-enable}-permissive""... $ac_c" 1>&6
2912 echo "configure:2913: checking for --${enablestring:-enable}-permissive" >&5
2914 # Check whether --enable-permissive or --disable-permissive was given.
2915 if test "${enable_permissive+set}" = set; then
2916 enableval
="$enable_permissive"
2918 if test "$enableval" = yes; then
2919 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2921 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2926 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2927 if test "x$LINE" != x
; then
2928 eval "DEFAULT_$LINE"
2933 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2938 eval "$ac_cv_use_permissive"
2939 if test "$no_cache" != 1; then
2940 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2943 if test "$wxUSE_PERMISSIVE" = yes; then
2944 echo "$ac_t""yes" 1>&6
2946 echo "$ac_t""no" 1>&6
2951 echo $ac_n "checking for --${enablestring:-enable}-no_deps""... $ac_c" 1>&6
2952 echo "configure:2953: checking for --${enablestring:-enable}-no_deps" >&5
2954 # Check whether --enable-no_deps or --disable-no_deps was given.
2955 if test "${enable_no_deps+set}" = set; then
2956 enableval
="$enable_no_deps"
2958 if test "$enableval" = yes; then
2959 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2961 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2966 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2967 if test "x$LINE" != x
; then
2968 eval "DEFAULT_$LINE"
2973 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2978 eval "$ac_cv_use_no_deps"
2979 if test "$no_cache" != 1; then
2980 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2983 if test "$wxUSE_NO_DEPS" = yes; then
2984 echo "$ac_t""yes" 1>&6
2986 echo "$ac_t""no" 1>&6
2992 echo $ac_n "checking for --${enablestring:-enable}-compat20""... $ac_c" 1>&6
2993 echo "configure:2994: checking for --${enablestring:-enable}-compat20" >&5
2995 # Check whether --enable-compat20 or --disable-compat20 was given.
2996 if test "${enable_compat20+set}" = set; then
2997 enableval
="$enable_compat20"
2999 if test "$enableval" = yes; then
3000 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
3002 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
3007 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3008 if test "x$LINE" != x
; then
3009 eval "DEFAULT_$LINE"
3014 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3019 eval "$ac_cv_use_compat20"
3020 if test "$no_cache" != 1; then
3021 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3024 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3025 echo "$ac_t""yes" 1>&6
3027 echo "$ac_t""no" 1>&6
3032 echo $ac_n "checking for --${enablestring:-enable}-compat22""... $ac_c" 1>&6
3033 echo "configure:3034: checking for --${enablestring:-enable}-compat22" >&5
3035 # Check whether --enable-compat22 or --disable-compat22 was given.
3036 if test "${enable_compat22+set}" = set; then
3037 enableval
="$enable_compat22"
3039 if test "$enableval" = yes; then
3040 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3042 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3047 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3048 if test "x$LINE" != x
; then
3049 eval "DEFAULT_$LINE"
3054 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3059 eval "$ac_cv_use_compat22"
3060 if test "$no_cache" != 1; then
3061 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3064 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3065 echo "$ac_t""yes" 1>&6
3067 echo "$ac_t""no" 1>&6
3071 enablestring
=disable
3072 echo $ac_n "checking for --${enablestring:-enable}-compat24""... $ac_c" 1>&6
3073 echo "configure:3074: checking for --${enablestring:-enable}-compat24" >&5
3075 # Check whether --enable-compat24 or --disable-compat24 was given.
3076 if test "${enable_compat24+set}" = set; then
3077 enableval
="$enable_compat24"
3079 if test "$enableval" = yes; then
3080 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
3082 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
3087 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3088 if test "x$LINE" != x
; then
3089 eval "DEFAULT_$LINE"
3094 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3099 eval "$ac_cv_use_compat24"
3100 if test "$no_cache" != 1; then
3101 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3104 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3105 echo "$ac_t""yes" 1>&6
3107 echo "$ac_t""no" 1>&6
3111 # Check whether --enable-rpath or --disable-rpath was given.
3112 if test "${enable_rpath+set}" = set; then
3113 enableval
="$enable_rpath"
3114 wxRPATH_DIR
="$enableval"
3118 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3119 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3126 echo $ac_n "checking for --${enablestring:-enable}-intl""... $ac_c" 1>&6
3127 echo "configure:3128: checking for --${enablestring:-enable}-intl" >&5
3129 # Check whether --enable-intl or --disable-intl was given.
3130 if test "${enable_intl+set}" = set; then
3131 enableval
="$enable_intl"
3133 if test "$enableval" = yes; then
3134 ac_cv_use_intl
='wxUSE_INTL=yes'
3136 ac_cv_use_intl
='wxUSE_INTL=no'
3141 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3142 if test "x$LINE" != x
; then
3143 eval "DEFAULT_$LINE"
3148 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3153 eval "$ac_cv_use_intl"
3154 if test "$no_cache" != 1; then
3155 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3158 if test "$wxUSE_INTL" = yes; then
3159 echo "$ac_t""yes" 1>&6
3161 echo "$ac_t""no" 1>&6
3166 echo $ac_n "checking for --${enablestring:-enable}-config""... $ac_c" 1>&6
3167 echo "configure:3168: checking for --${enablestring:-enable}-config" >&5
3169 # Check whether --enable-config or --disable-config was given.
3170 if test "${enable_config+set}" = set; then
3171 enableval
="$enable_config"
3173 if test "$enableval" = yes; then
3174 ac_cv_use_config
='wxUSE_CONFIG=yes'
3176 ac_cv_use_config
='wxUSE_CONFIG=no'
3181 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3182 if test "x$LINE" != x
; then
3183 eval "DEFAULT_$LINE"
3188 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3193 eval "$ac_cv_use_config"
3194 if test "$no_cache" != 1; then
3195 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3198 if test "$wxUSE_CONFIG" = yes; then
3199 echo "$ac_t""yes" 1>&6
3201 echo "$ac_t""no" 1>&6
3207 echo $ac_n "checking for --${enablestring:-enable}-protocols""... $ac_c" 1>&6
3208 echo "configure:3209: checking for --${enablestring:-enable}-protocols" >&5
3210 # Check whether --enable-protocols or --disable-protocols was given.
3211 if test "${enable_protocols+set}" = set; then
3212 enableval
="$enable_protocols"
3214 if test "$enableval" = yes; then
3215 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3217 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3222 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3223 if test "x$LINE" != x
; then
3224 eval "DEFAULT_$LINE"
3229 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3234 eval "$ac_cv_use_protocols"
3235 if test "$no_cache" != 1; then
3236 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3239 if test "$wxUSE_PROTOCOL" = yes; then
3240 echo "$ac_t""yes" 1>&6
3242 echo "$ac_t""no" 1>&6
3247 echo $ac_n "checking for --${enablestring:-enable}-ftp""... $ac_c" 1>&6
3248 echo "configure:3249: checking for --${enablestring:-enable}-ftp" >&5
3250 # Check whether --enable-ftp or --disable-ftp was given.
3251 if test "${enable_ftp+set}" = set; then
3252 enableval
="$enable_ftp"
3254 if test "$enableval" = yes; then
3255 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3257 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3262 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3263 if test "x$LINE" != x
; then
3264 eval "DEFAULT_$LINE"
3269 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3274 eval "$ac_cv_use_ftp"
3275 if test "$no_cache" != 1; then
3276 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3279 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3280 echo "$ac_t""yes" 1>&6
3282 echo "$ac_t""no" 1>&6
3287 echo $ac_n "checking for --${enablestring:-enable}-http""... $ac_c" 1>&6
3288 echo "configure:3289: checking for --${enablestring:-enable}-http" >&5
3290 # Check whether --enable-http or --disable-http was given.
3291 if test "${enable_http+set}" = set; then
3292 enableval
="$enable_http"
3294 if test "$enableval" = yes; then
3295 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3297 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3302 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3303 if test "x$LINE" != x
; then
3304 eval "DEFAULT_$LINE"
3309 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3314 eval "$ac_cv_use_http"
3315 if test "$no_cache" != 1; then
3316 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3319 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3320 echo "$ac_t""yes" 1>&6
3322 echo "$ac_t""no" 1>&6
3327 echo $ac_n "checking for --${enablestring:-enable}-fileproto""... $ac_c" 1>&6
3328 echo "configure:3329: checking for --${enablestring:-enable}-fileproto" >&5
3330 # Check whether --enable-fileproto or --disable-fileproto was given.
3331 if test "${enable_fileproto+set}" = set; then
3332 enableval
="$enable_fileproto"
3334 if test "$enableval" = yes; then
3335 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3337 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3342 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3343 if test "x$LINE" != x
; then
3344 eval "DEFAULT_$LINE"
3349 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3354 eval "$ac_cv_use_fileproto"
3355 if test "$no_cache" != 1; then
3356 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3359 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3360 echo "$ac_t""yes" 1>&6
3362 echo "$ac_t""no" 1>&6
3367 echo $ac_n "checking for --${enablestring:-enable}-sockets""... $ac_c" 1>&6
3368 echo "configure:3369: checking for --${enablestring:-enable}-sockets" >&5
3370 # Check whether --enable-sockets or --disable-sockets was given.
3371 if test "${enable_sockets+set}" = set; then
3372 enableval
="$enable_sockets"
3374 if test "$enableval" = yes; then
3375 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3377 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3382 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3383 if test "x$LINE" != x
; then
3384 eval "DEFAULT_$LINE"
3389 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3394 eval "$ac_cv_use_sockets"
3395 if test "$no_cache" != 1; then
3396 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3399 if test "$wxUSE_SOCKETS" = yes; then
3400 echo "$ac_t""yes" 1>&6
3402 echo "$ac_t""no" 1>&6
3407 echo $ac_n "checking for --${enablestring:-enable}-ole""... $ac_c" 1>&6
3408 echo "configure:3409: checking for --${enablestring:-enable}-ole" >&5
3410 # Check whether --enable-ole or --disable-ole was given.
3411 if test "${enable_ole+set}" = set; then
3412 enableval
="$enable_ole"
3414 if test "$enableval" = yes; then
3415 ac_cv_use_ole
='wxUSE_OLE=yes'
3417 ac_cv_use_ole
='wxUSE_OLE=no'
3422 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
3423 if test "x$LINE" != x
; then
3424 eval "DEFAULT_$LINE"
3429 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
3434 eval "$ac_cv_use_ole"
3435 if test "$no_cache" != 1; then
3436 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
3439 if test "$wxUSE_OLE" = yes; then
3440 echo "$ac_t""yes" 1>&6
3442 echo "$ac_t""no" 1>&6
3447 echo $ac_n "checking for --${enablestring:-enable}-dataobj""... $ac_c" 1>&6
3448 echo "configure:3449: checking for --${enablestring:-enable}-dataobj" >&5
3450 # Check whether --enable-dataobj or --disable-dataobj was given.
3451 if test "${enable_dataobj+set}" = set; then
3452 enableval
="$enable_dataobj"
3454 if test "$enableval" = yes; then
3455 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
3457 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
3462 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
3463 if test "x$LINE" != x
; then
3464 eval "DEFAULT_$LINE"
3469 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
3474 eval "$ac_cv_use_dataobj"
3475 if test "$no_cache" != 1; then
3476 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
3479 if test "$wxUSE_DATAOBJ" = yes; then
3480 echo "$ac_t""yes" 1>&6
3482 echo "$ac_t""no" 1>&6
3488 echo $ac_n "checking for --${enablestring:-enable}-ipc""... $ac_c" 1>&6
3489 echo "configure:3490: checking for --${enablestring:-enable}-ipc" >&5
3491 # Check whether --enable-ipc or --disable-ipc was given.
3492 if test "${enable_ipc+set}" = set; then
3493 enableval
="$enable_ipc"
3495 if test "$enableval" = yes; then
3496 ac_cv_use_ipc
='wxUSE_IPC=yes'
3498 ac_cv_use_ipc
='wxUSE_IPC=no'
3503 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3504 if test "x$LINE" != x
; then
3505 eval "DEFAULT_$LINE"
3510 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3515 eval "$ac_cv_use_ipc"
3516 if test "$no_cache" != 1; then
3517 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3520 if test "$wxUSE_IPC" = yes; then
3521 echo "$ac_t""yes" 1>&6
3523 echo "$ac_t""no" 1>&6
3529 echo $ac_n "checking for --${enablestring:-enable}-cmdline""... $ac_c" 1>&6
3530 echo "configure:3531: checking for --${enablestring:-enable}-cmdline" >&5
3532 # Check whether --enable-cmdline or --disable-cmdline was given.
3533 if test "${enable_cmdline+set}" = set; then
3534 enableval
="$enable_cmdline"
3536 if test "$enableval" = yes; then
3537 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3539 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3544 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3545 if test "x$LINE" != x
; then
3546 eval "DEFAULT_$LINE"
3551 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3556 eval "$ac_cv_use_cmdline"
3557 if test "$no_cache" != 1; then
3558 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3561 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3562 echo "$ac_t""yes" 1>&6
3564 echo "$ac_t""no" 1>&6
3569 echo $ac_n "checking for --${enablestring:-enable}-datetime""... $ac_c" 1>&6
3570 echo "configure:3571: checking for --${enablestring:-enable}-datetime" >&5
3572 # Check whether --enable-datetime or --disable-datetime was given.
3573 if test "${enable_datetime+set}" = set; then
3574 enableval
="$enable_datetime"
3576 if test "$enableval" = yes; then
3577 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3579 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3584 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3585 if test "x$LINE" != x
; then
3586 eval "DEFAULT_$LINE"
3591 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3596 eval "$ac_cv_use_datetime"
3597 if test "$no_cache" != 1; then
3598 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3601 if test "$wxUSE_DATETIME" = yes; then
3602 echo "$ac_t""yes" 1>&6
3604 echo "$ac_t""no" 1>&6
3609 echo $ac_n "checking for --${enablestring:-enable}-timedate""... $ac_c" 1>&6
3610 echo "configure:3611: checking for --${enablestring:-enable}-timedate" >&5
3612 # Check whether --enable-timedate or --disable-timedate was given.
3613 if test "${enable_timedate+set}" = set; then
3614 enableval
="$enable_timedate"
3616 if test "$enableval" = yes; then
3617 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3619 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3624 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3625 if test "x$LINE" != x
; then
3626 eval "DEFAULT_$LINE"
3631 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3636 eval "$ac_cv_use_timedate"
3637 if test "$no_cache" != 1; then
3638 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3641 if test "$wxUSE_TIMEDATE" = yes; then
3642 echo "$ac_t""yes" 1>&6
3644 echo "$ac_t""no" 1>&6
3649 echo $ac_n "checking for --${enablestring:-enable}-stopwatch""... $ac_c" 1>&6
3650 echo "configure:3651: checking for --${enablestring:-enable}-stopwatch" >&5
3652 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3653 if test "${enable_stopwatch+set}" = set; then
3654 enableval
="$enable_stopwatch"
3656 if test "$enableval" = yes; then
3657 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3659 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3664 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3665 if test "x$LINE" != x
; then
3666 eval "DEFAULT_$LINE"
3671 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3676 eval "$ac_cv_use_stopwatch"
3677 if test "$no_cache" != 1; then
3678 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3681 if test "$wxUSE_STOPWATCH" = yes; then
3682 echo "$ac_t""yes" 1>&6
3684 echo "$ac_t""no" 1>&6
3689 echo $ac_n "checking for --${enablestring:-enable}-dialupman""... $ac_c" 1>&6
3690 echo "configure:3691: checking for --${enablestring:-enable}-dialupman" >&5
3692 # Check whether --enable-dialupman or --disable-dialupman was given.
3693 if test "${enable_dialupman+set}" = set; then
3694 enableval
="$enable_dialupman"
3696 if test "$enableval" = yes; then
3697 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3699 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3704 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3705 if test "x$LINE" != x
; then
3706 eval "DEFAULT_$LINE"
3711 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3716 eval "$ac_cv_use_dialupman"
3717 if test "$no_cache" != 1; then
3718 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3721 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3722 echo "$ac_t""yes" 1>&6
3724 echo "$ac_t""no" 1>&6
3729 echo $ac_n "checking for --${enablestring:-enable}-apple_ieee""... $ac_c" 1>&6
3730 echo "configure:3731: checking for --${enablestring:-enable}-apple_ieee" >&5
3732 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3733 if test "${enable_apple_ieee+set}" = set; then
3734 enableval
="$enable_apple_ieee"
3736 if test "$enableval" = yes; then
3737 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3739 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3744 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3745 if test "x$LINE" != x
; then
3746 eval "DEFAULT_$LINE"
3751 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3756 eval "$ac_cv_use_apple_ieee"
3757 if test "$no_cache" != 1; then
3758 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3761 if test "$wxUSE_APPLE_IEEE" = yes; then
3762 echo "$ac_t""yes" 1>&6
3764 echo "$ac_t""no" 1>&6
3769 echo $ac_n "checking for --${enablestring:-enable}-timer""... $ac_c" 1>&6
3770 echo "configure:3771: checking for --${enablestring:-enable}-timer" >&5
3772 # Check whether --enable-timer or --disable-timer was given.
3773 if test "${enable_timer+set}" = set; then
3774 enableval
="$enable_timer"
3776 if test "$enableval" = yes; then
3777 ac_cv_use_timer
='wxUSE_TIMER=yes'
3779 ac_cv_use_timer
='wxUSE_TIMER=no'
3784 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3785 if test "x$LINE" != x
; then
3786 eval "DEFAULT_$LINE"
3791 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3796 eval "$ac_cv_use_timer"
3797 if test "$no_cache" != 1; then
3798 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3801 if test "$wxUSE_TIMER" = yes; then
3802 echo "$ac_t""yes" 1>&6
3804 echo "$ac_t""no" 1>&6
3809 echo $ac_n "checking for --${enablestring:-enable}-wave""... $ac_c" 1>&6
3810 echo "configure:3811: checking for --${enablestring:-enable}-wave" >&5
3812 # Check whether --enable-wave or --disable-wave was given.
3813 if test "${enable_wave+set}" = set; then
3814 enableval
="$enable_wave"
3816 if test "$enableval" = yes; then
3817 ac_cv_use_wave
='wxUSE_WAVE=yes'
3819 ac_cv_use_wave
='wxUSE_WAVE=no'
3824 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3825 if test "x$LINE" != x
; then
3826 eval "DEFAULT_$LINE"
3831 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3836 eval "$ac_cv_use_wave"
3837 if test "$no_cache" != 1; then
3838 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3841 if test "$wxUSE_WAVE" = yes; then
3842 echo "$ac_t""yes" 1>&6
3844 echo "$ac_t""no" 1>&6
3849 echo $ac_n "checking for --${enablestring:-enable}-fraction""... $ac_c" 1>&6
3850 echo "configure:3851: checking for --${enablestring:-enable}-fraction" >&5
3852 # Check whether --enable-fraction or --disable-fraction was given.
3853 if test "${enable_fraction+set}" = set; then
3854 enableval
="$enable_fraction"
3856 if test "$enableval" = yes; then
3857 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3859 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3864 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3865 if test "x$LINE" != x
; then
3866 eval "DEFAULT_$LINE"
3871 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3876 eval "$ac_cv_use_fraction"
3877 if test "$no_cache" != 1; then
3878 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3881 if test "$wxUSE_FRACTION" = yes; then
3882 echo "$ac_t""yes" 1>&6
3884 echo "$ac_t""no" 1>&6
3889 echo $ac_n "checking for --${enablestring:-enable}-dynlib""... $ac_c" 1>&6
3890 echo "configure:3891: checking for --${enablestring:-enable}-dynlib" >&5
3892 # Check whether --enable-dynlib or --disable-dynlib was given.
3893 if test "${enable_dynlib+set}" = set; then
3894 enableval
="$enable_dynlib"
3896 if test "$enableval" = yes; then
3897 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3899 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3904 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3905 if test "x$LINE" != x
; then
3906 eval "DEFAULT_$LINE"
3911 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3916 eval "$ac_cv_use_dynlib"
3917 if test "$no_cache" != 1; then
3918 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3921 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3922 echo "$ac_t""yes" 1>&6
3924 echo "$ac_t""no" 1>&6
3929 echo $ac_n "checking for --${enablestring:-enable}-dynamicloader""... $ac_c" 1>&6
3930 echo "configure:3931: checking for --${enablestring:-enable}-dynamicloader" >&5
3932 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3933 if test "${enable_dynamicloader+set}" = set; then
3934 enableval
="$enable_dynamicloader"
3936 if test "$enableval" = yes; then
3937 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3939 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3944 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3945 if test "x$LINE" != x
; then
3946 eval "DEFAULT_$LINE"
3951 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3956 eval "$ac_cv_use_dynamicloader"
3957 if test "$no_cache" != 1; then
3958 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3961 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3962 echo "$ac_t""yes" 1>&6
3964 echo "$ac_t""no" 1>&6
3969 echo $ac_n "checking for --${enablestring:-enable}-longlong""... $ac_c" 1>&6
3970 echo "configure:3971: checking for --${enablestring:-enable}-longlong" >&5
3972 # Check whether --enable-longlong or --disable-longlong was given.
3973 if test "${enable_longlong+set}" = set; then
3974 enableval
="$enable_longlong"
3976 if test "$enableval" = yes; then
3977 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3979 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3984 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3985 if test "x$LINE" != x
; then
3986 eval "DEFAULT_$LINE"
3991 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3996 eval "$ac_cv_use_longlong"
3997 if test "$no_cache" != 1; then
3998 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4001 if test "$wxUSE_LONGLONG" = yes; then
4002 echo "$ac_t""yes" 1>&6
4004 echo "$ac_t""no" 1>&6
4009 echo $ac_n "checking for --${enablestring:-enable}-geometry""... $ac_c" 1>&6
4010 echo "configure:4011: checking for --${enablestring:-enable}-geometry" >&5
4012 # Check whether --enable-geometry or --disable-geometry was given.
4013 if test "${enable_geometry+set}" = set; then
4014 enableval
="$enable_geometry"
4016 if test "$enableval" = yes; then
4017 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
4019 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
4024 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4025 if test "x$LINE" != x
; then
4026 eval "DEFAULT_$LINE"
4031 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4036 eval "$ac_cv_use_geometry"
4037 if test "$no_cache" != 1; then
4038 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4041 if test "$wxUSE_GEOMETRY" = yes; then
4042 echo "$ac_t""yes" 1>&6
4044 echo "$ac_t""no" 1>&6
4049 echo $ac_n "checking for --${enablestring:-enable}-log""... $ac_c" 1>&6
4050 echo "configure:4051: checking for --${enablestring:-enable}-log" >&5
4052 # Check whether --enable-log or --disable-log was given.
4053 if test "${enable_log+set}" = set; then
4054 enableval
="$enable_log"
4056 if test "$enableval" = yes; then
4057 ac_cv_use_log
='wxUSE_LOG=yes'
4059 ac_cv_use_log
='wxUSE_LOG=no'
4064 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4065 if test "x$LINE" != x
; then
4066 eval "DEFAULT_$LINE"
4071 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4076 eval "$ac_cv_use_log"
4077 if test "$no_cache" != 1; then
4078 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4081 if test "$wxUSE_LOG" = yes; then
4082 echo "$ac_t""yes" 1>&6
4084 echo "$ac_t""no" 1>&6
4089 echo $ac_n "checking for --${enablestring:-enable}-streams""... $ac_c" 1>&6
4090 echo "configure:4091: checking for --${enablestring:-enable}-streams" >&5
4092 # Check whether --enable-streams or --disable-streams was given.
4093 if test "${enable_streams+set}" = set; then
4094 enableval
="$enable_streams"
4096 if test "$enableval" = yes; then
4097 ac_cv_use_streams
='wxUSE_STREAMS=yes'
4099 ac_cv_use_streams
='wxUSE_STREAMS=no'
4104 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4105 if test "x$LINE" != x
; then
4106 eval "DEFAULT_$LINE"
4111 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4116 eval "$ac_cv_use_streams"
4117 if test "$no_cache" != 1; then
4118 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4121 if test "$wxUSE_STREAMS" = yes; then
4122 echo "$ac_t""yes" 1>&6
4124 echo "$ac_t""no" 1>&6
4129 echo $ac_n "checking for --${enablestring:-enable}-file""... $ac_c" 1>&6
4130 echo "configure:4131: checking for --${enablestring:-enable}-file" >&5
4132 # Check whether --enable-file or --disable-file was given.
4133 if test "${enable_file+set}" = set; then
4134 enableval
="$enable_file"
4136 if test "$enableval" = yes; then
4137 ac_cv_use_file
='wxUSE_FILE=yes'
4139 ac_cv_use_file
='wxUSE_FILE=no'
4144 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4145 if test "x$LINE" != x
; then
4146 eval "DEFAULT_$LINE"
4151 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4156 eval "$ac_cv_use_file"
4157 if test "$no_cache" != 1; then
4158 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4161 if test "$wxUSE_FILE" = yes; then
4162 echo "$ac_t""yes" 1>&6
4164 echo "$ac_t""no" 1>&6
4169 echo $ac_n "checking for --${enablestring:-enable}-ffile""... $ac_c" 1>&6
4170 echo "configure:4171: checking for --${enablestring:-enable}-ffile" >&5
4172 # Check whether --enable-ffile or --disable-ffile was given.
4173 if test "${enable_ffile+set}" = set; then
4174 enableval
="$enable_ffile"
4176 if test "$enableval" = yes; then
4177 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4179 ac_cv_use_ffile
='wxUSE_FFILE=no'
4184 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4185 if test "x$LINE" != x
; then
4186 eval "DEFAULT_$LINE"
4191 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4196 eval "$ac_cv_use_ffile"
4197 if test "$no_cache" != 1; then
4198 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4201 if test "$wxUSE_FFILE" = yes; then
4202 echo "$ac_t""yes" 1>&6
4204 echo "$ac_t""no" 1>&6
4209 echo $ac_n "checking for --${enablestring:-enable}-textbuf""... $ac_c" 1>&6
4210 echo "configure:4211: checking for --${enablestring:-enable}-textbuf" >&5
4212 # Check whether --enable-textbuf or --disable-textbuf was given.
4213 if test "${enable_textbuf+set}" = set; then
4214 enableval
="$enable_textbuf"
4216 if test "$enableval" = yes; then
4217 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4219 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4224 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4225 if test "x$LINE" != x
; then
4226 eval "DEFAULT_$LINE"
4231 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4236 eval "$ac_cv_use_textbuf"
4237 if test "$no_cache" != 1; then
4238 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4241 if test "$wxUSE_TEXTBUFFER" = yes; then
4242 echo "$ac_t""yes" 1>&6
4244 echo "$ac_t""no" 1>&6
4249 echo $ac_n "checking for --${enablestring:-enable}-textfile""... $ac_c" 1>&6
4250 echo "configure:4251: checking for --${enablestring:-enable}-textfile" >&5
4252 # Check whether --enable-textfile or --disable-textfile was given.
4253 if test "${enable_textfile+set}" = set; then
4254 enableval
="$enable_textfile"
4256 if test "$enableval" = yes; then
4257 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4259 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4264 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4265 if test "x$LINE" != x
; then
4266 eval "DEFAULT_$LINE"
4271 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4276 eval "$ac_cv_use_textfile"
4277 if test "$no_cache" != 1; then
4278 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4281 if test "$wxUSE_TEXTFILE" = yes; then
4282 echo "$ac_t""yes" 1>&6
4284 echo "$ac_t""no" 1>&6
4289 echo $ac_n "checking for --${enablestring:-enable}-fontmap""... $ac_c" 1>&6
4290 echo "configure:4291: checking for --${enablestring:-enable}-fontmap" >&5
4292 # Check whether --enable-fontmap or --disable-fontmap was given.
4293 if test "${enable_fontmap+set}" = set; then
4294 enableval
="$enable_fontmap"
4296 if test "$enableval" = yes; then
4297 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4299 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4304 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4305 if test "x$LINE" != x
; then
4306 eval "DEFAULT_$LINE"
4311 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4316 eval "$ac_cv_use_fontmap"
4317 if test "$no_cache" != 1; then
4318 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4321 if test "$wxUSE_FONTMAP" = yes; then
4322 echo "$ac_t""yes" 1>&6
4324 echo "$ac_t""no" 1>&6
4329 echo $ac_n "checking for --${enablestring:-enable}-unicode""... $ac_c" 1>&6
4330 echo "configure:4331: checking for --${enablestring:-enable}-unicode" >&5
4332 # Check whether --enable-unicode or --disable-unicode was given.
4333 if test "${enable_unicode+set}" = set; then
4334 enableval
="$enable_unicode"
4336 if test "$enableval" = yes; then
4337 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4339 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4344 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4345 if test "x$LINE" != x
; then
4346 eval "DEFAULT_$LINE"
4351 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4356 eval "$ac_cv_use_unicode"
4357 if test "$no_cache" != 1; then
4358 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4361 if test "$wxUSE_UNICODE" = yes; then
4362 echo "$ac_t""yes" 1>&6
4364 echo "$ac_t""no" 1>&6
4369 echo $ac_n "checking for --${enablestring:-enable}-mslu""... $ac_c" 1>&6
4370 echo "configure:4371: checking for --${enablestring:-enable}-mslu" >&5
4372 # Check whether --enable-mslu or --disable-mslu was given.
4373 if test "${enable_mslu+set}" = set; then
4374 enableval
="$enable_mslu"
4376 if test "$enableval" = yes; then
4377 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4379 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4384 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4385 if test "x$LINE" != x
; then
4386 eval "DEFAULT_$LINE"
4391 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4396 eval "$ac_cv_use_mslu"
4397 if test "$no_cache" != 1; then
4398 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4401 if test "$wxUSE_UNICODE_MSLU" = yes; then
4402 echo "$ac_t""yes" 1>&6
4404 echo "$ac_t""no" 1>&6
4409 echo $ac_n "checking for --${enablestring:-enable}-wxprintfv""... $ac_c" 1>&6
4410 echo "configure:4411: checking for --${enablestring:-enable}-wxprintfv" >&5
4412 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4413 if test "${enable_wxprintfv+set}" = set; then
4414 enableval
="$enable_wxprintfv"
4416 if test "$enableval" = yes; then
4417 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4419 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4424 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4425 if test "x$LINE" != x
; then
4426 eval "DEFAULT_$LINE"
4431 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4436 eval "$ac_cv_use_wxprintfv"
4437 if test "$no_cache" != 1; then
4438 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4441 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4442 echo "$ac_t""yes" 1>&6
4444 echo "$ac_t""no" 1>&6
4449 echo $ac_n "checking for --${enablestring:-enable}-std_iostreams""... $ac_c" 1>&6
4450 echo "configure:4451: checking for --${enablestring:-enable}-std_iostreams" >&5
4452 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4453 if test "${enable_std_iostreams+set}" = set; then
4454 enableval
="$enable_std_iostreams"
4456 if test "$enableval" = yes; then
4457 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4459 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4464 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4465 if test "x$LINE" != x
; then
4466 eval "DEFAULT_$LINE"
4471 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4476 eval "$ac_cv_use_std_iostreams"
4477 if test "$no_cache" != 1; then
4478 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4481 if test "$wxUSE_STD_IOSTREAM" = yes; then
4482 echo "$ac_t""yes" 1>&6
4484 echo "$ac_t""no" 1>&6
4489 echo $ac_n "checking for --${enablestring:-enable}-filesystem""... $ac_c" 1>&6
4490 echo "configure:4491: checking for --${enablestring:-enable}-filesystem" >&5
4492 # Check whether --enable-filesystem or --disable-filesystem was given.
4493 if test "${enable_filesystem+set}" = set; then
4494 enableval
="$enable_filesystem"
4496 if test "$enableval" = yes; then
4497 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4499 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4504 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x
; then
4506 eval "DEFAULT_$LINE"
4511 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4516 eval "$ac_cv_use_filesystem"
4517 if test "$no_cache" != 1; then
4518 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4521 if test "$wxUSE_FILESYSTEM" = yes; then
4522 echo "$ac_t""yes" 1>&6
4524 echo "$ac_t""no" 1>&6
4529 echo $ac_n "checking for --${enablestring:-enable}-fs_inet""... $ac_c" 1>&6
4530 echo "configure:4531: checking for --${enablestring:-enable}-fs_inet" >&5
4532 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4533 if test "${enable_fs_inet+set}" = set; then
4534 enableval
="$enable_fs_inet"
4536 if test "$enableval" = yes; then
4537 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4539 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4544 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4545 if test "x$LINE" != x
; then
4546 eval "DEFAULT_$LINE"
4551 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4556 eval "$ac_cv_use_fs_inet"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4561 if test "$wxUSE_FS_INET" = yes; then
4562 echo "$ac_t""yes" 1>&6
4564 echo "$ac_t""no" 1>&6
4569 echo $ac_n "checking for --${enablestring:-enable}-fs_zip""... $ac_c" 1>&6
4570 echo "configure:4571: checking for --${enablestring:-enable}-fs_zip" >&5
4572 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4573 if test "${enable_fs_zip+set}" = set; then
4574 enableval
="$enable_fs_zip"
4576 if test "$enableval" = yes; then
4577 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4579 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4584 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4585 if test "x$LINE" != x
; then
4586 eval "DEFAULT_$LINE"
4591 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4596 eval "$ac_cv_use_fs_zip"
4597 if test "$no_cache" != 1; then
4598 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4601 if test "$wxUSE_FS_ZIP" = yes; then
4602 echo "$ac_t""yes" 1>&6
4604 echo "$ac_t""no" 1>&6
4609 echo $ac_n "checking for --${enablestring:-enable}-zipstream""... $ac_c" 1>&6
4610 echo "configure:4611: checking for --${enablestring:-enable}-zipstream" >&5
4612 # Check whether --enable-zipstream or --disable-zipstream was given.
4613 if test "${enable_zipstream+set}" = set; then
4614 enableval
="$enable_zipstream"
4616 if test "$enableval" = yes; then
4617 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4619 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4624 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4625 if test "x$LINE" != x
; then
4626 eval "DEFAULT_$LINE"
4631 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4636 eval "$ac_cv_use_zipstream"
4637 if test "$no_cache" != 1; then
4638 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4641 if test "$wxUSE_ZIPSTREAM" = yes; then
4642 echo "$ac_t""yes" 1>&6
4644 echo "$ac_t""no" 1>&6
4650 echo $ac_n "checking for --${enablestring:-enable}-catch_segvs""... $ac_c" 1>&6
4651 echo "configure:4652: checking for --${enablestring:-enable}-catch_segvs" >&5
4653 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4654 if test "${enable_catch_segvs+set}" = set; then
4655 enableval
="$enable_catch_segvs"
4657 if test "$enableval" = yes; then
4658 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4660 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4665 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4666 if test "x$LINE" != x
; then
4667 eval "DEFAULT_$LINE"
4672 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4677 eval "$ac_cv_use_catch_segvs"
4678 if test "$no_cache" != 1; then
4679 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4682 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4683 echo "$ac_t""yes" 1>&6
4685 echo "$ac_t""no" 1>&6
4690 echo $ac_n "checking for --${enablestring:-enable}-snglinst""... $ac_c" 1>&6
4691 echo "configure:4692: checking for --${enablestring:-enable}-snglinst" >&5
4693 # Check whether --enable-snglinst or --disable-snglinst was given.
4694 if test "${enable_snglinst+set}" = set; then
4695 enableval
="$enable_snglinst"
4697 if test "$enableval" = yes; then
4698 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4700 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4705 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4706 if test "x$LINE" != x
; then
4707 eval "DEFAULT_$LINE"
4712 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4717 eval "$ac_cv_use_snglinst"
4718 if test "$no_cache" != 1; then
4719 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4722 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4723 echo "$ac_t""yes" 1>&6
4725 echo "$ac_t""no" 1>&6
4731 echo $ac_n "checking for --${enablestring:-enable}-mimetype""... $ac_c" 1>&6
4732 echo "configure:4733: checking for --${enablestring:-enable}-mimetype" >&5
4734 # Check whether --enable-mimetype or --disable-mimetype was given.
4735 if test "${enable_mimetype+set}" = set; then
4736 enableval
="$enable_mimetype"
4738 if test "$enableval" = yes; then
4739 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4741 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4746 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4747 if test "x$LINE" != x
; then
4748 eval "DEFAULT_$LINE"
4753 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4758 eval "$ac_cv_use_mimetype"
4759 if test "$no_cache" != 1; then
4760 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4763 if test "$wxUSE_MIMETYPE" = yes; then
4764 echo "$ac_t""yes" 1>&6
4766 echo "$ac_t""no" 1>&6
4771 echo $ac_n "checking for --${enablestring:-enable}-system_options""... $ac_c" 1>&6
4772 echo "configure:4773: checking for --${enablestring:-enable}-system_options" >&5
4774 # Check whether --enable-system_options or --disable-system_options was given.
4775 if test "${enable_system_options+set}" = set; then
4776 enableval
="$enable_system_options"
4778 if test "$enableval" = yes; then
4779 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4781 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4786 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4787 if test "x$LINE" != x
; then
4788 eval "DEFAULT_$LINE"
4793 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4798 eval "$ac_cv_use_system_options"
4799 if test "$no_cache" != 1; then
4800 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4803 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4804 echo "$ac_t""yes" 1>&6
4806 echo "$ac_t""no" 1>&6
4812 echo $ac_n "checking for --${enablestring:-enable}-url""... $ac_c" 1>&6
4813 echo "configure:4814: checking for --${enablestring:-enable}-url" >&5
4815 # Check whether --enable-url or --disable-url was given.
4816 if test "${enable_url+set}" = set; then
4817 enableval
="$enable_url"
4819 if test "$enableval" = yes; then
4820 ac_cv_use_url
='wxUSE_URL=yes'
4822 ac_cv_use_url
='wxUSE_URL=no'
4827 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4828 if test "x$LINE" != x
; then
4829 eval "DEFAULT_$LINE"
4834 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4839 eval "$ac_cv_use_url"
4840 if test "$no_cache" != 1; then
4841 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4844 if test "$wxUSE_URL" = yes; then
4845 echo "$ac_t""yes" 1>&6
4847 echo "$ac_t""no" 1>&6
4852 echo $ac_n "checking for --${enablestring:-enable}-protocol""... $ac_c" 1>&6
4853 echo "configure:4854: checking for --${enablestring:-enable}-protocol" >&5
4855 # Check whether --enable-protocol or --disable-protocol was given.
4856 if test "${enable_protocol+set}" = set; then
4857 enableval
="$enable_protocol"
4859 if test "$enableval" = yes; then
4860 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4862 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4867 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4868 if test "x$LINE" != x
; then
4869 eval "DEFAULT_$LINE"
4874 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4879 eval "$ac_cv_use_protocol"
4880 if test "$no_cache" != 1; then
4881 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4884 if test "$wxUSE_PROTOCOL" = yes; then
4885 echo "$ac_t""yes" 1>&6
4887 echo "$ac_t""no" 1>&6
4892 echo $ac_n "checking for --${enablestring:-enable}-protocol_http""... $ac_c" 1>&6
4893 echo "configure:4894: checking for --${enablestring:-enable}-protocol_http" >&5
4895 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4896 if test "${enable_protocol_http+set}" = set; then
4897 enableval
="$enable_protocol_http"
4899 if test "$enableval" = yes; then
4900 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4902 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4907 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4908 if test "x$LINE" != x
; then
4909 eval "DEFAULT_$LINE"
4914 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4919 eval "$ac_cv_use_protocol_http"
4920 if test "$no_cache" != 1; then
4921 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4924 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4925 echo "$ac_t""yes" 1>&6
4927 echo "$ac_t""no" 1>&6
4932 echo $ac_n "checking for --${enablestring:-enable}-protocol_ftp""... $ac_c" 1>&6
4933 echo "configure:4934: checking for --${enablestring:-enable}-protocol_ftp" >&5
4935 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4936 if test "${enable_protocol_ftp+set}" = set; then
4937 enableval
="$enable_protocol_ftp"
4939 if test "$enableval" = yes; then
4940 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4942 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4947 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4948 if test "x$LINE" != x
; then
4949 eval "DEFAULT_$LINE"
4954 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4959 eval "$ac_cv_use_protocol_ftp"
4960 if test "$no_cache" != 1; then
4961 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4964 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4965 echo "$ac_t""yes" 1>&6
4967 echo "$ac_t""no" 1>&6
4972 echo $ac_n "checking for --${enablestring:-enable}-protocol_file""... $ac_c" 1>&6
4973 echo "configure:4974: checking for --${enablestring:-enable}-protocol_file" >&5
4975 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4976 if test "${enable_protocol_file+set}" = set; then
4977 enableval
="$enable_protocol_file"
4979 if test "$enableval" = yes; then
4980 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4982 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4987 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4988 if test "x$LINE" != x
; then
4989 eval "DEFAULT_$LINE"
4994 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4999 eval "$ac_cv_use_protocol_file"
5000 if test "$no_cache" != 1; then
5001 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5004 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5005 echo "$ac_t""yes" 1>&6
5007 echo "$ac_t""no" 1>&6
5015 echo $ac_n "checking for --${enablestring:-enable}-threads""... $ac_c" 1>&6
5016 echo "configure:5017: checking for --${enablestring:-enable}-threads" >&5
5018 # Check whether --enable-threads or --disable-threads was given.
5019 if test "${enable_threads+set}" = set; then
5020 enableval
="$enable_threads"
5022 if test "$enableval" = yes; then
5023 ac_cv_use_threads
='wxUSE_THREADS=yes'
5025 ac_cv_use_threads
='wxUSE_THREADS=no'
5030 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5031 if test "x$LINE" != x
; then
5032 eval "DEFAULT_$LINE"
5037 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5042 eval "$ac_cv_use_threads"
5043 if test "$no_cache" != 1; then
5044 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5047 if test "$wxUSE_THREADS" = yes; then
5048 echo "$ac_t""yes" 1>&6
5050 echo "$ac_t""no" 1>&6
5054 if test "$wxUSE_GUI" = "yes"; then
5059 echo $ac_n "checking for --${enablestring:-enable}-docview""... $ac_c" 1>&6
5060 echo "configure:5061: checking for --${enablestring:-enable}-docview" >&5
5062 # Check whether --enable-docview or --disable-docview was given.
5063 if test "${enable_docview+set}" = set; then
5064 enableval
="$enable_docview"
5066 if test "$enableval" = yes; then
5067 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5069 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5074 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5075 if test "x$LINE" != x
; then
5076 eval "DEFAULT_$LINE"
5081 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5086 eval "$ac_cv_use_docview"
5087 if test "$no_cache" != 1; then
5088 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5091 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5092 echo "$ac_t""yes" 1>&6
5094 echo "$ac_t""no" 1>&6
5099 echo $ac_n "checking for --${enablestring:-enable}-help""... $ac_c" 1>&6
5100 echo "configure:5101: checking for --${enablestring:-enable}-help" >&5
5102 # Check whether --enable-help or --disable-help was given.
5103 if test "${enable_help+set}" = set; then
5104 enableval
="$enable_help"
5106 if test "$enableval" = yes; then
5107 ac_cv_use_help
='wxUSE_HELP=yes'
5109 ac_cv_use_help
='wxUSE_HELP=no'
5114 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5115 if test "x$LINE" != x
; then
5116 eval "DEFAULT_$LINE"
5121 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5126 eval "$ac_cv_use_help"
5127 if test "$no_cache" != 1; then
5128 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5131 if test "$wxUSE_HELP" = yes; then
5132 echo "$ac_t""yes" 1>&6
5134 echo "$ac_t""no" 1>&6
5139 echo $ac_n "checking for --${enablestring:-enable}-mshtmlhelp""... $ac_c" 1>&6
5140 echo "configure:5141: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5142 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5143 if test "${enable_mshtmlhelp+set}" = set; then
5144 enableval
="$enable_mshtmlhelp"
5146 if test "$enableval" = yes; then
5147 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
5149 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
5154 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5155 if test "x$LINE" != x
; then
5156 eval "DEFAULT_$LINE"
5161 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5166 eval "$ac_cv_use_mshtmlhelp"
5167 if test "$no_cache" != 1; then
5168 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5171 if test "$wxUSE_MS_HTML_HELP" = yes; then
5172 echo "$ac_t""yes" 1>&6
5174 echo "$ac_t""no" 1>&6
5179 echo $ac_n "checking for --${enablestring:-enable}-html""... $ac_c" 1>&6
5180 echo "configure:5181: checking for --${enablestring:-enable}-html" >&5
5182 # Check whether --enable-html or --disable-html was given.
5183 if test "${enable_html+set}" = set; then
5184 enableval
="$enable_html"
5186 if test "$enableval" = yes; then
5187 ac_cv_use_html
='wxUSE_HTML=yes'
5189 ac_cv_use_html
='wxUSE_HTML=no'
5194 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5195 if test "x$LINE" != x
; then
5196 eval "DEFAULT_$LINE"
5201 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5206 eval "$ac_cv_use_html"
5207 if test "$no_cache" != 1; then
5208 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5211 if test "$wxUSE_HTML" = yes; then
5212 echo "$ac_t""yes" 1>&6
5214 echo "$ac_t""no" 1>&6
5219 echo $ac_n "checking for --${enablestring:-enable}-htmlhelp""... $ac_c" 1>&6
5220 echo "configure:5221: checking for --${enablestring:-enable}-htmlhelp" >&5
5222 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5223 if test "${enable_htmlhelp+set}" = set; then
5224 enableval
="$enable_htmlhelp"
5226 if test "$enableval" = yes; then
5227 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5229 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5234 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5235 if test "x$LINE" != x
; then
5236 eval "DEFAULT_$LINE"
5241 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5246 eval "$ac_cv_use_htmlhelp"
5247 if test "$no_cache" != 1; then
5248 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5251 if test "$wxUSE_WXHTML_HELP" = yes; then
5252 echo "$ac_t""yes" 1>&6
5254 echo "$ac_t""no" 1>&6
5259 echo $ac_n "checking for --${enablestring:-enable}-constraints""... $ac_c" 1>&6
5260 echo "configure:5261: checking for --${enablestring:-enable}-constraints" >&5
5262 # Check whether --enable-constraints or --disable-constraints was given.
5263 if test "${enable_constraints+set}" = set; then
5264 enableval
="$enable_constraints"
5266 if test "$enableval" = yes; then
5267 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5269 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5274 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5275 if test "x$LINE" != x
; then
5276 eval "DEFAULT_$LINE"
5281 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5286 eval "$ac_cv_use_constraints"
5287 if test "$no_cache" != 1; then
5288 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5291 if test "$wxUSE_CONSTRAINTS" = yes; then
5292 echo "$ac_t""yes" 1>&6
5294 echo "$ac_t""no" 1>&6
5299 echo $ac_n "checking for --${enablestring:-enable}-printarch""... $ac_c" 1>&6
5300 echo "configure:5301: checking for --${enablestring:-enable}-printarch" >&5
5302 # Check whether --enable-printarch or --disable-printarch was given.
5303 if test "${enable_printarch+set}" = set; then
5304 enableval
="$enable_printarch"
5306 if test "$enableval" = yes; then
5307 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5309 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5314 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5315 if test "x$LINE" != x
; then
5316 eval "DEFAULT_$LINE"
5321 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5326 eval "$ac_cv_use_printarch"
5327 if test "$no_cache" != 1; then
5328 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5331 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5332 echo "$ac_t""yes" 1>&6
5334 echo "$ac_t""no" 1>&6
5339 echo $ac_n "checking for --${enablestring:-enable}-mdi""... $ac_c" 1>&6
5340 echo "configure:5341: checking for --${enablestring:-enable}-mdi" >&5
5342 # Check whether --enable-mdi or --disable-mdi was given.
5343 if test "${enable_mdi+set}" = set; then
5344 enableval
="$enable_mdi"
5346 if test "$enableval" = yes; then
5347 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5349 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5354 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5355 if test "x$LINE" != x
; then
5356 eval "DEFAULT_$LINE"
5361 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5366 eval "$ac_cv_use_mdi"
5367 if test "$no_cache" != 1; then
5368 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5371 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5372 echo "$ac_t""yes" 1>&6
5374 echo "$ac_t""no" 1>&6
5379 echo $ac_n "checking for --${enablestring:-enable}-loggui""... $ac_c" 1>&6
5380 echo "configure:5381: checking for --${enablestring:-enable}-loggui" >&5
5382 # Check whether --enable-loggui or --disable-loggui was given.
5383 if test "${enable_loggui+set}" = set; then
5384 enableval
="$enable_loggui"
5386 if test "$enableval" = yes; then
5387 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5389 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5394 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5395 if test "x$LINE" != x
; then
5396 eval "DEFAULT_$LINE"
5401 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5406 eval "$ac_cv_use_loggui"
5407 if test "$no_cache" != 1; then
5408 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5411 if test "$wxUSE_LOGGUI" = yes; then
5412 echo "$ac_t""yes" 1>&6
5414 echo "$ac_t""no" 1>&6
5419 echo $ac_n "checking for --${enablestring:-enable}-logwin""... $ac_c" 1>&6
5420 echo "configure:5421: checking for --${enablestring:-enable}-logwin" >&5
5422 # Check whether --enable-logwin or --disable-logwin was given.
5423 if test "${enable_logwin+set}" = set; then
5424 enableval
="$enable_logwin"
5426 if test "$enableval" = yes; then
5427 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5429 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5434 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5435 if test "x$LINE" != x
; then
5436 eval "DEFAULT_$LINE"
5441 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5446 eval "$ac_cv_use_logwin"
5447 if test "$no_cache" != 1; then
5448 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5451 if test "$wxUSE_LOGWINDOW" = yes; then
5452 echo "$ac_t""yes" 1>&6
5454 echo "$ac_t""no" 1>&6
5459 echo $ac_n "checking for --${enablestring:-enable}-logdialog""... $ac_c" 1>&6
5460 echo "configure:5461: checking for --${enablestring:-enable}-logdialog" >&5
5462 # Check whether --enable-logdialog or --disable-logdialog was given.
5463 if test "${enable_logdialog+set}" = set; then
5464 enableval
="$enable_logdialog"
5466 if test "$enableval" = yes; then
5467 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5469 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5474 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5475 if test "x$LINE" != x
; then
5476 eval "DEFAULT_$LINE"
5481 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5486 eval "$ac_cv_use_logdialog"
5487 if test "$no_cache" != 1; then
5488 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5491 if test "$wxUSE_LOGDIALOG" = yes; then
5492 echo "$ac_t""yes" 1>&6
5494 echo "$ac_t""no" 1>&6
5500 echo $ac_n "checking for --${enablestring:-enable}-postscript""... $ac_c" 1>&6
5501 echo "configure:5502: checking for --${enablestring:-enable}-postscript" >&5
5503 # Check whether --enable-postscript or --disable-postscript was given.
5504 if test "${enable_postscript+set}" = set; then
5505 enableval
="$enable_postscript"
5507 if test "$enableval" = yes; then
5508 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5510 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5515 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5516 if test "x$LINE" != x
; then
5517 eval "DEFAULT_$LINE"
5522 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5527 eval "$ac_cv_use_postscript"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5532 if test "$wxUSE_POSTSCRIPT" = yes; then
5533 echo "$ac_t""yes" 1>&6
5535 echo "$ac_t""no" 1>&6
5543 echo $ac_n "checking for --${enablestring:-enable}-prologio""... $ac_c" 1>&6
5544 echo "configure:5545: checking for --${enablestring:-enable}-prologio" >&5
5546 # Check whether --enable-prologio or --disable-prologio was given.
5547 if test "${enable_prologio+set}" = set; then
5548 enableval
="$enable_prologio"
5550 if test "$enableval" = yes; then
5551 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5553 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5558 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5559 if test "x$LINE" != x
; then
5560 eval "DEFAULT_$LINE"
5565 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5570 eval "$ac_cv_use_prologio"
5571 if test "$no_cache" != 1; then
5572 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5575 if test "$wxUSE_PROLOGIO" = yes; then
5576 echo "$ac_t""yes" 1>&6
5578 echo "$ac_t""no" 1>&6
5583 echo $ac_n "checking for --${enablestring:-enable}-resources""... $ac_c" 1>&6
5584 echo "configure:5585: checking for --${enablestring:-enable}-resources" >&5
5586 # Check whether --enable-resources or --disable-resources was given.
5587 if test "${enable_resources+set}" = set; then
5588 enableval
="$enable_resources"
5590 if test "$enableval" = yes; then
5591 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5593 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5598 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x
; then
5600 eval "DEFAULT_$LINE"
5605 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5610 eval "$ac_cv_use_resources"
5611 if test "$no_cache" != 1; then
5612 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5615 if test "$wxUSE_RESOURCES" = yes; then
5616 echo "$ac_t""yes" 1>&6
5618 echo "$ac_t""no" 1>&6
5624 echo $ac_n "checking for --${enablestring:-enable}-xresources""... $ac_c" 1>&6
5625 echo "configure:5626: checking for --${enablestring:-enable}-xresources" >&5
5627 # Check whether --enable-xresources or --disable-xresources was given.
5628 if test "${enable_xresources+set}" = set; then
5629 enableval
="$enable_xresources"
5631 if test "$enableval" = yes; then
5632 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5634 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5639 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5640 if test "x$LINE" != x
; then
5641 eval "DEFAULT_$LINE"
5646 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5651 eval "$ac_cv_use_xresources"
5652 if test "$no_cache" != 1; then
5653 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5656 if test "$wxUSE_X_RESOURCES" = yes; then
5657 echo "$ac_t""yes" 1>&6
5659 echo "$ac_t""no" 1>&6
5666 echo $ac_n "checking for --${enablestring:-enable}-clipboard""... $ac_c" 1>&6
5667 echo "configure:5668: checking for --${enablestring:-enable}-clipboard" >&5
5669 # Check whether --enable-clipboard or --disable-clipboard was given.
5670 if test "${enable_clipboard+set}" = set; then
5671 enableval
="$enable_clipboard"
5673 if test "$enableval" = yes; then
5674 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5676 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5681 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5682 if test "x$LINE" != x
; then
5683 eval "DEFAULT_$LINE"
5688 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5693 eval "$ac_cv_use_clipboard"
5694 if test "$no_cache" != 1; then
5695 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5698 if test "$wxUSE_CLIPBOARD" = yes; then
5699 echo "$ac_t""yes" 1>&6
5701 echo "$ac_t""no" 1>&6
5706 echo $ac_n "checking for --${enablestring:-enable}-dnd""... $ac_c" 1>&6
5707 echo "configure:5708: checking for --${enablestring:-enable}-dnd" >&5
5709 # Check whether --enable-dnd or --disable-dnd was given.
5710 if test "${enable_dnd+set}" = set; then
5711 enableval
="$enable_dnd"
5713 if test "$enableval" = yes; then
5714 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5716 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5721 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5722 if test "x$LINE" != x
; then
5723 eval "DEFAULT_$LINE"
5728 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5733 eval "$ac_cv_use_dnd"
5734 if test "$no_cache" != 1; then
5735 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5738 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5739 echo "$ac_t""yes" 1>&6
5741 echo "$ac_t""no" 1>&6
5746 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
5747 echo "configure:5748: checking for --${enablestring:-enable}-metafile" >&5
5749 # Check whether --enable-metafile or --disable-metafile was given.
5750 if test "${enable_metafile+set}" = set; then
5751 enableval
="$enable_metafile"
5753 if test "$enableval" = yes; then
5754 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5756 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5761 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5762 if test "x$LINE" != x
; then
5763 eval "DEFAULT_$LINE"
5768 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5773 eval "$ac_cv_use_metafile"
5774 if test "$no_cache" != 1; then
5775 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5778 if test "$wxUSE_METAFILE" = yes; then
5779 echo "$ac_t""yes" 1>&6
5781 echo "$ac_t""no" 1>&6
5787 echo $ac_n "checking for --${enablestring:-enable}-treelayout""... $ac_c" 1>&6
5788 echo "configure:5789: checking for --${enablestring:-enable}-treelayout" >&5
5790 # Check whether --enable-treelayout or --disable-treelayout was given.
5791 if test "${enable_treelayout+set}" = set; then
5792 enableval
="$enable_treelayout"
5794 if test "$enableval" = yes; then
5795 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5797 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5802 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5803 if test "x$LINE" != x
; then
5804 eval "DEFAULT_$LINE"
5809 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5814 eval "$ac_cv_use_treelayout"
5815 if test "$no_cache" != 1; then
5816 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5819 if test "$wxUSE_TREELAYOUT" = yes; then
5820 echo "$ac_t""yes" 1>&6
5822 echo "$ac_t""no" 1>&6
5829 echo $ac_n "checking for --${enablestring:-enable}-controls""... $ac_c" 1>&6
5830 echo "configure:5831: checking for --${enablestring:-enable}-controls" >&5
5832 # Check whether --enable-controls or --disable-controls was given.
5833 if test "${enable_controls+set}" = set; then
5834 enableval
="$enable_controls"
5836 if test "$enableval" = yes; then
5837 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5839 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5844 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5845 if test "x$LINE" != x
; then
5846 eval "DEFAULT_$LINE"
5851 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5856 eval "$ac_cv_use_controls"
5857 if test "$no_cache" != 1; then
5858 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5861 if test "$wxUSE_CONTROLS" = yes; then
5862 echo "$ac_t""yes" 1>&6
5864 echo "$ac_t""no" 1>&6
5868 if test "$wxUSE_CONTROLS" = "yes"; then
5869 DEFAULT_wxUSE_ACCEL
=yes
5870 DEFAULT_wxUSE_BMPBUTTON
=yes
5871 DEFAULT_wxUSE_BUTTON
=yes
5872 DEFAULT_wxUSE_CALCTRL
=no
5873 DEFAULT_wxUSE_CARET
=yes
5874 DEFAULT_wxUSE_COMBOBOX
=yes
5875 DEFAULT_wxUSE_CHECKBOX
=yes
5876 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5877 DEFAULT_wxUSE_CHOICE
=yes
5878 DEFAULT_wxUSE_GAUGE
=yes
5879 DEFAULT_wxUSE_GRID
=yes
5880 DEFAULT_wxUSE_NEW_GRID
=yes
5881 DEFAULT_wxUSE_IMAGLIST
=yes
5882 DEFAULT_wxUSE_LISTBOX
=yes
5883 DEFAULT_wxUSE_LISTCTRL
=yes
5884 DEFAULT_wxUSE_NOTEBOOK
=yes
5885 DEFAULT_wxUSE_PROPSHEET
=yes
5886 DEFAULT_wxUSE_RADIOBOX
=yes
5887 DEFAULT_wxUSE_RADIOBTN
=yes
5888 DEFAULT_wxUSE_SASH
=yes
5889 DEFAULT_wxUSE_SCROLLBAR
=yes
5890 DEFAULT_wxUSE_SLIDER
=yes
5891 DEFAULT_wxUSE_SPINBTN
=yes
5892 DEFAULT_wxUSE_SPINCTRL
=yes
5893 DEFAULT_wxUSE_SPLITTER
=yes
5894 DEFAULT_wxUSE_STATBMP
=yes
5895 DEFAULT_wxUSE_STATBOX
=yes
5896 DEFAULT_wxUSE_STATLINE
=yes
5897 DEFAULT_wxUSE_STATUSBAR
=yes
5898 DEFAULT_wxUSE_TAB_DIALOG
=yes
5899 DEFAULT_wxUSE_TOGGLEBTN
=yes
5900 DEFAULT_wxUSE_TOOLBAR
=yes
5901 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5902 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5903 DEFAULT_wxUSE_TOOLTIPS
=yes
5904 DEFAULT_wxUSE_TREECTRL
=yes
5905 DEFAULT_wxUSE_POPUPWIN
=yes
5906 DEFAULT_wxUSE_TIPWINDOW
=yes
5907 elif test "$wxUSE_CONTROLS" = "no"; then
5908 DEFAULT_wxUSE_ACCEL
=no
5909 DEFAULT_wxUSE_BMPBUTTON
=no
5910 DEFAULT_wxUSE_BUTTON
=no
5911 DEFAULT_wxUSE_CALCTRL
=no
5912 DEFAULT_wxUSE_CARET
=no
5913 DEFAULT_wxUSE_COMBOBOX
=no
5914 DEFAULT_wxUSE_CHECKBOX
=no
5915 DEFAULT_wxUSE_CHECKLISTBOX
=no
5916 DEFAULT_wxUSE_CHOICE
=no
5917 DEFAULT_wxUSE_GAUGE
=no
5918 DEFAULT_wxUSE_GRID
=no
5919 DEFAULT_wxUSE_NEW_GRID
=no
5920 DEFAULT_wxUSE_IMAGLIST
=no
5921 DEFAULT_wxUSE_LISTBOX
=no
5922 DEFAULT_wxUSE_LISTCTRL
=no
5923 DEFAULT_wxUSE_NOTEBOOK
=no
5924 DEFAULT_wxUSE_PROPSHEET
=no
5925 DEFAULT_wxUSE_RADIOBOX
=no
5926 DEFAULT_wxUSE_RADIOBTN
=no
5927 DEFAULT_wxUSE_SASH
=no
5928 DEFAULT_wxUSE_SCROLLBAR
=no
5929 DEFAULT_wxUSE_SLIDER
=no
5930 DEFAULT_wxUSE_SPINBTN
=no
5931 DEFAULT_wxUSE_SPINCTRL
=no
5932 DEFAULT_wxUSE_SPLITTER
=no
5933 DEFAULT_wxUSE_STATBMP
=no
5934 DEFAULT_wxUSE_STATBOX
=no
5935 DEFAULT_wxUSE_STATLINE
=no
5936 DEFAULT_wxUSE_STATUSBAR
=no
5937 DEFAULT_wxUSE_TAB_DIALOG
=no
5938 DEFAULT_wxUSE_TOGGLEBTN
=no
5939 DEFAULT_wxUSE_TOOLBAR
=no
5940 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5941 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5942 DEFAULT_wxUSE_TOOLTIPS
=no
5943 DEFAULT_wxUSE_TREECTRL
=no
5944 DEFAULT_wxUSE_POPUPWIN
=no
5945 DEFAULT_wxUSE_TIPWINDOW
=no
5948 ## FIXME: This is a blatant hack
5949 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
5950 wxUSE_PRINTING_ARCHITECTURE
=no
5953 wxUSE_DRAG_AND_DROP
=no
5955 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5956 DEFAULT_wxUSE_TEXTDLG
=no
5957 DEFAULT_wxUSE_GAUGE
=no
5958 DEFAULT_wxUSE_SCROLLBAR
=no
5959 DEFAULT_wxUSE_SLIDER
=no
5960 DEFAULT_wxUSE_COMBOBOX
=no
5961 DEFAULT_wxUSE_CALCTRL
=no
5962 DEFAULT_wxUSE_SPINBTN
=no
5963 DEFAULT_wxUSE_SPINCTRL
=no
5964 DEFAULT_wxUSE_TOOLTIPS
=no
5965 DEFAULT_wxUSE_COLOURDLG
=no
5966 DEFAULT_wxUSE_DIRDLG
=no
5967 DEFAULT_wxUSE_DRAGIMAGE
=no
5968 DEFAULT_wxUSE_FINDREPLDLG
=no
5969 DEFAULT_wxUSE_FONTDLG
=no
5970 DEFAULT_wxUSE_GRID
=no
5971 DEFAULT_wxUSE_NEW_GRID
=no
5972 DEFAULT_wxUSE_NUMBERDLG
=no
5973 DEFAULT_wxUSE_PROGRESSDLG
=no
5974 DEFAULT_wxUSE_PROPSHEET
=no
5975 DEFAULT_wxUSE_SASH
=no
5976 DEFAULT_wxUSE_SPLITTER
=no
5977 DEFAULT_wxUSE_WIZARDDLG
=no
5978 DEFAULT_wxUSE_SPLITTER
=no
5979 DEFAULT_wxUSE_STARTUP_TIPS
=no
5980 DEFAULT_wxUSE_TREECTRL
=no
5985 echo $ac_n "checking for --${enablestring:-enable}-accel""... $ac_c" 1>&6
5986 echo "configure:5987: checking for --${enablestring:-enable}-accel" >&5
5988 # Check whether --enable-accel or --disable-accel was given.
5989 if test "${enable_accel+set}" = set; then
5990 enableval
="$enable_accel"
5992 if test "$enableval" = yes; then
5993 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5995 ac_cv_use_accel
='wxUSE_ACCEL=no'
6000 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6001 if test "x$LINE" != x
; then
6002 eval "DEFAULT_$LINE"
6007 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6012 eval "$ac_cv_use_accel"
6013 if test "$no_cache" != 1; then
6014 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6017 if test "$wxUSE_ACCEL" = yes; then
6018 echo "$ac_t""yes" 1>&6
6020 echo "$ac_t""no" 1>&6
6025 echo $ac_n "checking for --${enablestring:-enable}-button""... $ac_c" 1>&6
6026 echo "configure:6027: checking for --${enablestring:-enable}-button" >&5
6028 # Check whether --enable-button or --disable-button was given.
6029 if test "${enable_button+set}" = set; then
6030 enableval
="$enable_button"
6032 if test "$enableval" = yes; then
6033 ac_cv_use_button
='wxUSE_BUTTON=yes'
6035 ac_cv_use_button
='wxUSE_BUTTON=no'
6040 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6041 if test "x$LINE" != x
; then
6042 eval "DEFAULT_$LINE"
6047 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6052 eval "$ac_cv_use_button"
6053 if test "$no_cache" != 1; then
6054 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6057 if test "$wxUSE_BUTTON" = yes; then
6058 echo "$ac_t""yes" 1>&6
6060 echo "$ac_t""no" 1>&6
6065 echo $ac_n "checking for --${enablestring:-enable}-bmpbutton""... $ac_c" 1>&6
6066 echo "configure:6067: checking for --${enablestring:-enable}-bmpbutton" >&5
6068 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6069 if test "${enable_bmpbutton+set}" = set; then
6070 enableval
="$enable_bmpbutton"
6072 if test "$enableval" = yes; then
6073 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
6075 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
6080 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6081 if test "x$LINE" != x
; then
6082 eval "DEFAULT_$LINE"
6087 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6092 eval "$ac_cv_use_bmpbutton"
6093 if test "$no_cache" != 1; then
6094 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6097 if test "$wxUSE_BMPBUTTON" = yes; then
6098 echo "$ac_t""yes" 1>&6
6100 echo "$ac_t""no" 1>&6
6105 echo $ac_n "checking for --${enablestring:-enable}-calendar""... $ac_c" 1>&6
6106 echo "configure:6107: checking for --${enablestring:-enable}-calendar" >&5
6108 # Check whether --enable-calendar or --disable-calendar was given.
6109 if test "${enable_calendar+set}" = set; then
6110 enableval
="$enable_calendar"
6112 if test "$enableval" = yes; then
6113 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
6115 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
6120 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6121 if test "x$LINE" != x
; then
6122 eval "DEFAULT_$LINE"
6127 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6132 eval "$ac_cv_use_calendar"
6133 if test "$no_cache" != 1; then
6134 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6137 if test "$wxUSE_CALCTRL" = yes; then
6138 echo "$ac_t""yes" 1>&6
6140 echo "$ac_t""no" 1>&6
6145 echo $ac_n "checking for --${enablestring:-enable}-caret""... $ac_c" 1>&6
6146 echo "configure:6147: checking for --${enablestring:-enable}-caret" >&5
6148 # Check whether --enable-caret or --disable-caret was given.
6149 if test "${enable_caret+set}" = set; then
6150 enableval
="$enable_caret"
6152 if test "$enableval" = yes; then
6153 ac_cv_use_caret
='wxUSE_CARET=yes'
6155 ac_cv_use_caret
='wxUSE_CARET=no'
6160 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6161 if test "x$LINE" != x
; then
6162 eval "DEFAULT_$LINE"
6167 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6172 eval "$ac_cv_use_caret"
6173 if test "$no_cache" != 1; then
6174 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6177 if test "$wxUSE_CARET" = yes; then
6178 echo "$ac_t""yes" 1>&6
6180 echo "$ac_t""no" 1>&6
6185 echo $ac_n "checking for --${enablestring:-enable}-checkbox""... $ac_c" 1>&6
6186 echo "configure:6187: checking for --${enablestring:-enable}-checkbox" >&5
6188 # Check whether --enable-checkbox or --disable-checkbox was given.
6189 if test "${enable_checkbox+set}" = set; then
6190 enableval
="$enable_checkbox"
6192 if test "$enableval" = yes; then
6193 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
6195 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
6200 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6201 if test "x$LINE" != x
; then
6202 eval "DEFAULT_$LINE"
6207 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6212 eval "$ac_cv_use_checkbox"
6213 if test "$no_cache" != 1; then
6214 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6217 if test "$wxUSE_CHECKBOX" = yes; then
6218 echo "$ac_t""yes" 1>&6
6220 echo "$ac_t""no" 1>&6
6225 echo $ac_n "checking for --${enablestring:-enable}-checklst""... $ac_c" 1>&6
6226 echo "configure:6227: checking for --${enablestring:-enable}-checklst" >&5
6228 # Check whether --enable-checklst or --disable-checklst was given.
6229 if test "${enable_checklst+set}" = set; then
6230 enableval
="$enable_checklst"
6232 if test "$enableval" = yes; then
6233 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
6235 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
6240 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x
; then
6242 eval "DEFAULT_$LINE"
6247 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6252 eval "$ac_cv_use_checklst"
6253 if test "$no_cache" != 1; then
6254 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6257 if test "$wxUSE_CHECKLST" = yes; then
6258 echo "$ac_t""yes" 1>&6
6260 echo "$ac_t""no" 1>&6
6265 echo $ac_n "checking for --${enablestring:-enable}-choice""... $ac_c" 1>&6
6266 echo "configure:6267: checking for --${enablestring:-enable}-choice" >&5
6268 # Check whether --enable-choice or --disable-choice was given.
6269 if test "${enable_choice+set}" = set; then
6270 enableval
="$enable_choice"
6272 if test "$enableval" = yes; then
6273 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6275 ac_cv_use_choice
='wxUSE_CHOICE=no'
6280 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6281 if test "x$LINE" != x
; then
6282 eval "DEFAULT_$LINE"
6287 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6292 eval "$ac_cv_use_choice"
6293 if test "$no_cache" != 1; then
6294 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6297 if test "$wxUSE_CHOICE" = yes; then
6298 echo "$ac_t""yes" 1>&6
6300 echo "$ac_t""no" 1>&6
6305 echo $ac_n "checking for --${enablestring:-enable}-combobox""... $ac_c" 1>&6
6306 echo "configure:6307: checking for --${enablestring:-enable}-combobox" >&5
6308 # Check whether --enable-combobox or --disable-combobox was given.
6309 if test "${enable_combobox+set}" = set; then
6310 enableval
="$enable_combobox"
6312 if test "$enableval" = yes; then
6313 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6315 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6320 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6321 if test "x$LINE" != x
; then
6322 eval "DEFAULT_$LINE"
6327 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6332 eval "$ac_cv_use_combobox"
6333 if test "$no_cache" != 1; then
6334 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6337 if test "$wxUSE_COMBOBOX" = yes; then
6338 echo "$ac_t""yes" 1>&6
6340 echo "$ac_t""no" 1>&6
6345 echo $ac_n "checking for --${enablestring:-enable}-display""... $ac_c" 1>&6
6346 echo "configure:6347: checking for --${enablestring:-enable}-display" >&5
6348 # Check whether --enable-display or --disable-display was given.
6349 if test "${enable_display+set}" = set; then
6350 enableval
="$enable_display"
6352 if test "$enableval" = yes; then
6353 ac_cv_use_display
='wxUSE_DISPLAY=yes'
6355 ac_cv_use_display
='wxUSE_DISPLAY=no'
6360 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6361 if test "x$LINE" != x
; then
6362 eval "DEFAULT_$LINE"
6367 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6372 eval "$ac_cv_use_display"
6373 if test "$no_cache" != 1; then
6374 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6377 if test "$wxUSE_DISPLAY" = yes; then
6378 echo "$ac_t""yes" 1>&6
6380 echo "$ac_t""no" 1>&6
6385 echo $ac_n "checking for --${enablestring:-enable}-gauge""... $ac_c" 1>&6
6386 echo "configure:6387: checking for --${enablestring:-enable}-gauge" >&5
6388 # Check whether --enable-gauge or --disable-gauge was given.
6389 if test "${enable_gauge+set}" = set; then
6390 enableval
="$enable_gauge"
6392 if test "$enableval" = yes; then
6393 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6395 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6400 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6401 if test "x$LINE" != x
; then
6402 eval "DEFAULT_$LINE"
6407 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6412 eval "$ac_cv_use_gauge"
6413 if test "$no_cache" != 1; then
6414 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6417 if test "$wxUSE_GAUGE" = yes; then
6418 echo "$ac_t""yes" 1>&6
6420 echo "$ac_t""no" 1>&6
6425 echo $ac_n "checking for --${enablestring:-enable}-grid""... $ac_c" 1>&6
6426 echo "configure:6427: checking for --${enablestring:-enable}-grid" >&5
6428 # Check whether --enable-grid or --disable-grid was given.
6429 if test "${enable_grid+set}" = set; then
6430 enableval
="$enable_grid"
6432 if test "$enableval" = yes; then
6433 ac_cv_use_grid
='wxUSE_GRID=yes'
6435 ac_cv_use_grid
='wxUSE_GRID=no'
6440 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6441 if test "x$LINE" != x
; then
6442 eval "DEFAULT_$LINE"
6447 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6452 eval "$ac_cv_use_grid"
6453 if test "$no_cache" != 1; then
6454 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6457 if test "$wxUSE_GRID" = yes; then
6458 echo "$ac_t""yes" 1>&6
6460 echo "$ac_t""no" 1>&6
6465 echo $ac_n "checking for --${enablestring:-enable}-newgrid""... $ac_c" 1>&6
6466 echo "configure:6467: checking for --${enablestring:-enable}-newgrid" >&5
6468 # Check whether --enable-newgrid or --disable-newgrid was given.
6469 if test "${enable_newgrid+set}" = set; then
6470 enableval
="$enable_newgrid"
6472 if test "$enableval" = yes; then
6473 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6475 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6480 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6481 if test "x$LINE" != x
; then
6482 eval "DEFAULT_$LINE"
6487 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6492 eval "$ac_cv_use_newgrid"
6493 if test "$no_cache" != 1; then
6494 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6497 if test "$wxUSE_NEW_GRID" = yes; then
6498 echo "$ac_t""yes" 1>&6
6500 echo "$ac_t""no" 1>&6
6505 echo $ac_n "checking for --${enablestring:-enable}-imaglist""... $ac_c" 1>&6
6506 echo "configure:6507: checking for --${enablestring:-enable}-imaglist" >&5
6508 # Check whether --enable-imaglist or --disable-imaglist was given.
6509 if test "${enable_imaglist+set}" = set; then
6510 enableval
="$enable_imaglist"
6512 if test "$enableval" = yes; then
6513 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6515 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6520 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6521 if test "x$LINE" != x
; then
6522 eval "DEFAULT_$LINE"
6527 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6532 eval "$ac_cv_use_imaglist"
6533 if test "$no_cache" != 1; then
6534 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6537 if test "$wxUSE_IMAGLIST" = yes; then
6538 echo "$ac_t""yes" 1>&6
6540 echo "$ac_t""no" 1>&6
6545 echo $ac_n "checking for --${enablestring:-enable}-listbox""... $ac_c" 1>&6
6546 echo "configure:6547: checking for --${enablestring:-enable}-listbox" >&5
6548 # Check whether --enable-listbox or --disable-listbox was given.
6549 if test "${enable_listbox+set}" = set; then
6550 enableval
="$enable_listbox"
6552 if test "$enableval" = yes; then
6553 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6555 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6560 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6561 if test "x$LINE" != x
; then
6562 eval "DEFAULT_$LINE"
6567 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6572 eval "$ac_cv_use_listbox"
6573 if test "$no_cache" != 1; then
6574 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6577 if test "$wxUSE_LISTBOX" = yes; then
6578 echo "$ac_t""yes" 1>&6
6580 echo "$ac_t""no" 1>&6
6585 echo $ac_n "checking for --${enablestring:-enable}-listctrl""... $ac_c" 1>&6
6586 echo "configure:6587: checking for --${enablestring:-enable}-listctrl" >&5
6588 # Check whether --enable-listctrl or --disable-listctrl was given.
6589 if test "${enable_listctrl+set}" = set; then
6590 enableval
="$enable_listctrl"
6592 if test "$enableval" = yes; then
6593 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6595 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6600 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6601 if test "x$LINE" != x
; then
6602 eval "DEFAULT_$LINE"
6607 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6612 eval "$ac_cv_use_listctrl"
6613 if test "$no_cache" != 1; then
6614 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6617 if test "$wxUSE_LISTCTRL" = yes; then
6618 echo "$ac_t""yes" 1>&6
6620 echo "$ac_t""no" 1>&6
6625 echo $ac_n "checking for --${enablestring:-enable}-notebook""... $ac_c" 1>&6
6626 echo "configure:6627: checking for --${enablestring:-enable}-notebook" >&5
6628 # Check whether --enable-notebook or --disable-notebook was given.
6629 if test "${enable_notebook+set}" = set; then
6630 enableval
="$enable_notebook"
6632 if test "$enableval" = yes; then
6633 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6635 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6640 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6641 if test "x$LINE" != x
; then
6642 eval "DEFAULT_$LINE"
6647 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6652 eval "$ac_cv_use_notebook"
6653 if test "$no_cache" != 1; then
6654 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6657 if test "$wxUSE_NOTEBOOK" = yes; then
6658 echo "$ac_t""yes" 1>&6
6660 echo "$ac_t""no" 1>&6
6665 echo $ac_n "checking for --${enablestring:-enable}-propsheet""... $ac_c" 1>&6
6666 echo "configure:6667: checking for --${enablestring:-enable}-propsheet" >&5
6668 # Check whether --enable-propsheet or --disable-propsheet was given.
6669 if test "${enable_propsheet+set}" = set; then
6670 enableval
="$enable_propsheet"
6672 if test "$enableval" = yes; then
6673 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6675 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6680 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6681 if test "x$LINE" != x
; then
6682 eval "DEFAULT_$LINE"
6687 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6692 eval "$ac_cv_use_propsheet"
6693 if test "$no_cache" != 1; then
6694 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6697 if test "$wxUSE_PROPSHEET" = yes; then
6698 echo "$ac_t""yes" 1>&6
6700 echo "$ac_t""no" 1>&6
6705 echo $ac_n "checking for --${enablestring:-enable}-radiobox""... $ac_c" 1>&6
6706 echo "configure:6707: checking for --${enablestring:-enable}-radiobox" >&5
6708 # Check whether --enable-radiobox or --disable-radiobox was given.
6709 if test "${enable_radiobox+set}" = set; then
6710 enableval
="$enable_radiobox"
6712 if test "$enableval" = yes; then
6713 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6715 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6720 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6721 if test "x$LINE" != x
; then
6722 eval "DEFAULT_$LINE"
6727 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6732 eval "$ac_cv_use_radiobox"
6733 if test "$no_cache" != 1; then
6734 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6737 if test "$wxUSE_RADIOBOX" = yes; then
6738 echo "$ac_t""yes" 1>&6
6740 echo "$ac_t""no" 1>&6
6745 echo $ac_n "checking for --${enablestring:-enable}-radiobtn""... $ac_c" 1>&6
6746 echo "configure:6747: checking for --${enablestring:-enable}-radiobtn" >&5
6748 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6749 if test "${enable_radiobtn+set}" = set; then
6750 enableval
="$enable_radiobtn"
6752 if test "$enableval" = yes; then
6753 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6755 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6760 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6761 if test "x$LINE" != x
; then
6762 eval "DEFAULT_$LINE"
6767 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6772 eval "$ac_cv_use_radiobtn"
6773 if test "$no_cache" != 1; then
6774 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6777 if test "$wxUSE_RADIOBTN" = yes; then
6778 echo "$ac_t""yes" 1>&6
6780 echo "$ac_t""no" 1>&6
6785 echo $ac_n "checking for --${enablestring:-enable}-sash""... $ac_c" 1>&6
6786 echo "configure:6787: checking for --${enablestring:-enable}-sash" >&5
6788 # Check whether --enable-sash or --disable-sash was given.
6789 if test "${enable_sash+set}" = set; then
6790 enableval
="$enable_sash"
6792 if test "$enableval" = yes; then
6793 ac_cv_use_sash
='wxUSE_SASH=yes'
6795 ac_cv_use_sash
='wxUSE_SASH=no'
6800 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6801 if test "x$LINE" != x
; then
6802 eval "DEFAULT_$LINE"
6807 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6812 eval "$ac_cv_use_sash"
6813 if test "$no_cache" != 1; then
6814 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6817 if test "$wxUSE_SASH" = yes; then
6818 echo "$ac_t""yes" 1>&6
6820 echo "$ac_t""no" 1>&6
6825 echo $ac_n "checking for --${enablestring:-enable}-scrollbar""... $ac_c" 1>&6
6826 echo "configure:6827: checking for --${enablestring:-enable}-scrollbar" >&5
6828 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6829 if test "${enable_scrollbar+set}" = set; then
6830 enableval
="$enable_scrollbar"
6832 if test "$enableval" = yes; then
6833 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6835 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6840 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6841 if test "x$LINE" != x
; then
6842 eval "DEFAULT_$LINE"
6847 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6852 eval "$ac_cv_use_scrollbar"
6853 if test "$no_cache" != 1; then
6854 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6857 if test "$wxUSE_SCROLLBAR" = yes; then
6858 echo "$ac_t""yes" 1>&6
6860 echo "$ac_t""no" 1>&6
6865 echo $ac_n "checking for --${enablestring:-enable}-slider""... $ac_c" 1>&6
6866 echo "configure:6867: checking for --${enablestring:-enable}-slider" >&5
6868 # Check whether --enable-slider or --disable-slider was given.
6869 if test "${enable_slider+set}" = set; then
6870 enableval
="$enable_slider"
6872 if test "$enableval" = yes; then
6873 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6875 ac_cv_use_slider
='wxUSE_SLIDER=no'
6880 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6881 if test "x$LINE" != x
; then
6882 eval "DEFAULT_$LINE"
6887 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6892 eval "$ac_cv_use_slider"
6893 if test "$no_cache" != 1; then
6894 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6897 if test "$wxUSE_SLIDER" = yes; then
6898 echo "$ac_t""yes" 1>&6
6900 echo "$ac_t""no" 1>&6
6905 echo $ac_n "checking for --${enablestring:-enable}-spinbtn""... $ac_c" 1>&6
6906 echo "configure:6907: checking for --${enablestring:-enable}-spinbtn" >&5
6908 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6909 if test "${enable_spinbtn+set}" = set; then
6910 enableval
="$enable_spinbtn"
6912 if test "$enableval" = yes; then
6913 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6915 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6920 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6921 if test "x$LINE" != x
; then
6922 eval "DEFAULT_$LINE"
6927 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6932 eval "$ac_cv_use_spinbtn"
6933 if test "$no_cache" != 1; then
6934 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6937 if test "$wxUSE_SPINBTN" = yes; then
6938 echo "$ac_t""yes" 1>&6
6940 echo "$ac_t""no" 1>&6
6945 echo $ac_n "checking for --${enablestring:-enable}-spinctrl""... $ac_c" 1>&6
6946 echo "configure:6947: checking for --${enablestring:-enable}-spinctrl" >&5
6948 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6949 if test "${enable_spinctrl+set}" = set; then
6950 enableval
="$enable_spinctrl"
6952 if test "$enableval" = yes; then
6953 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6955 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6960 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6961 if test "x$LINE" != x
; then
6962 eval "DEFAULT_$LINE"
6967 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6972 eval "$ac_cv_use_spinctrl"
6973 if test "$no_cache" != 1; then
6974 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6977 if test "$wxUSE_SPINCTRL" = yes; then
6978 echo "$ac_t""yes" 1>&6
6980 echo "$ac_t""no" 1>&6
6985 echo $ac_n "checking for --${enablestring:-enable}-splitter""... $ac_c" 1>&6
6986 echo "configure:6987: checking for --${enablestring:-enable}-splitter" >&5
6988 # Check whether --enable-splitter or --disable-splitter was given.
6989 if test "${enable_splitter+set}" = set; then
6990 enableval
="$enable_splitter"
6992 if test "$enableval" = yes; then
6993 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6995 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7000 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7001 if test "x$LINE" != x
; then
7002 eval "DEFAULT_$LINE"
7007 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7012 eval "$ac_cv_use_splitter"
7013 if test "$no_cache" != 1; then
7014 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7017 if test "$wxUSE_SPLITTER" = yes; then
7018 echo "$ac_t""yes" 1>&6
7020 echo "$ac_t""no" 1>&6
7025 echo $ac_n "checking for --${enablestring:-enable}-statbmp""... $ac_c" 1>&6
7026 echo "configure:7027: checking for --${enablestring:-enable}-statbmp" >&5
7028 # Check whether --enable-statbmp or --disable-statbmp was given.
7029 if test "${enable_statbmp+set}" = set; then
7030 enableval
="$enable_statbmp"
7032 if test "$enableval" = yes; then
7033 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
7035 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
7040 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7041 if test "x$LINE" != x
; then
7042 eval "DEFAULT_$LINE"
7047 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7052 eval "$ac_cv_use_statbmp"
7053 if test "$no_cache" != 1; then
7054 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7057 if test "$wxUSE_STATBMP" = yes; then
7058 echo "$ac_t""yes" 1>&6
7060 echo "$ac_t""no" 1>&6
7065 echo $ac_n "checking for --${enablestring:-enable}-statbox""... $ac_c" 1>&6
7066 echo "configure:7067: checking for --${enablestring:-enable}-statbox" >&5
7068 # Check whether --enable-statbox or --disable-statbox was given.
7069 if test "${enable_statbox+set}" = set; then
7070 enableval
="$enable_statbox"
7072 if test "$enableval" = yes; then
7073 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
7075 ac_cv_use_statbox
='wxUSE_STATBOX=no'
7080 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7081 if test "x$LINE" != x
; then
7082 eval "DEFAULT_$LINE"
7087 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7092 eval "$ac_cv_use_statbox"
7093 if test "$no_cache" != 1; then
7094 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7097 if test "$wxUSE_STATBOX" = yes; then
7098 echo "$ac_t""yes" 1>&6
7100 echo "$ac_t""no" 1>&6
7105 echo $ac_n "checking for --${enablestring:-enable}-statline""... $ac_c" 1>&6
7106 echo "configure:7107: checking for --${enablestring:-enable}-statline" >&5
7108 # Check whether --enable-statline or --disable-statline was given.
7109 if test "${enable_statline+set}" = set; then
7110 enableval
="$enable_statline"
7112 if test "$enableval" = yes; then
7113 ac_cv_use_statline
='wxUSE_STATLINE=yes'
7115 ac_cv_use_statline
='wxUSE_STATLINE=no'
7120 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7121 if test "x$LINE" != x
; then
7122 eval "DEFAULT_$LINE"
7127 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7132 eval "$ac_cv_use_statline"
7133 if test "$no_cache" != 1; then
7134 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7137 if test "$wxUSE_STATLINE" = yes; then
7138 echo "$ac_t""yes" 1>&6
7140 echo "$ac_t""no" 1>&6
7145 echo $ac_n "checking for --${enablestring:-enable}-stattext""... $ac_c" 1>&6
7146 echo "configure:7147: checking for --${enablestring:-enable}-stattext" >&5
7148 # Check whether --enable-stattext or --disable-stattext was given.
7149 if test "${enable_stattext+set}" = set; then
7150 enableval
="$enable_stattext"
7152 if test "$enableval" = yes; then
7153 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
7155 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
7160 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7161 if test "x$LINE" != x
; then
7162 eval "DEFAULT_$LINE"
7167 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7172 eval "$ac_cv_use_stattext"
7173 if test "$no_cache" != 1; then
7174 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7177 if test "$wxUSE_STATTEXT" = yes; then
7178 echo "$ac_t""yes" 1>&6
7180 echo "$ac_t""no" 1>&6
7185 echo $ac_n "checking for --${enablestring:-enable}-statusbar""... $ac_c" 1>&6
7186 echo "configure:7187: checking for --${enablestring:-enable}-statusbar" >&5
7188 # Check whether --enable-statusbar or --disable-statusbar was given.
7189 if test "${enable_statusbar+set}" = set; then
7190 enableval
="$enable_statusbar"
7192 if test "$enableval" = yes; then
7193 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
7195 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
7200 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7201 if test "x$LINE" != x
; then
7202 eval "DEFAULT_$LINE"
7207 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7212 eval "$ac_cv_use_statusbar"
7213 if test "$no_cache" != 1; then
7214 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7217 if test "$wxUSE_STATUSBAR" = yes; then
7218 echo "$ac_t""yes" 1>&6
7220 echo "$ac_t""no" 1>&6
7225 echo $ac_n "checking for --${enablestring:-enable}-tabdialog""... $ac_c" 1>&6
7226 echo "configure:7227: checking for --${enablestring:-enable}-tabdialog" >&5
7228 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7229 if test "${enable_tabdialog+set}" = set; then
7230 enableval
="$enable_tabdialog"
7232 if test "$enableval" = yes; then
7233 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
7235 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
7240 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7241 if test "x$LINE" != x
; then
7242 eval "DEFAULT_$LINE"
7247 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7252 eval "$ac_cv_use_tabdialog"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7257 if test "$wxUSE_TABDIALOG" = yes; then
7258 echo "$ac_t""yes" 1>&6
7260 echo "$ac_t""no" 1>&6
7265 echo $ac_n "checking for --${enablestring:-enable}-textctrl""... $ac_c" 1>&6
7266 echo "configure:7267: checking for --${enablestring:-enable}-textctrl" >&5
7268 # Check whether --enable-textctrl or --disable-textctrl was given.
7269 if test "${enable_textctrl+set}" = set; then
7270 enableval
="$enable_textctrl"
7272 if test "$enableval" = yes; then
7273 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
7275 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
7280 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7281 if test "x$LINE" != x
; then
7282 eval "DEFAULT_$LINE"
7287 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7292 eval "$ac_cv_use_textctrl"
7293 if test "$no_cache" != 1; then
7294 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7297 if test "$wxUSE_TEXTCTRL" = yes; then
7298 echo "$ac_t""yes" 1>&6
7300 echo "$ac_t""no" 1>&6
7305 echo $ac_n "checking for --${enablestring:-enable}-togglebtn""... $ac_c" 1>&6
7306 echo "configure:7307: checking for --${enablestring:-enable}-togglebtn" >&5
7308 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7309 if test "${enable_togglebtn+set}" = set; then
7310 enableval
="$enable_togglebtn"
7312 if test "$enableval" = yes; then
7313 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7315 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7320 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7321 if test "x$LINE" != x
; then
7322 eval "DEFAULT_$LINE"
7327 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7332 eval "$ac_cv_use_togglebtn"
7333 if test "$no_cache" != 1; then
7334 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7337 if test "$wxUSE_TOGGLEBTN" = yes; then
7338 echo "$ac_t""yes" 1>&6
7340 echo "$ac_t""no" 1>&6
7345 echo $ac_n "checking for --${enablestring:-enable}-toolbar""... $ac_c" 1>&6
7346 echo "configure:7347: checking for --${enablestring:-enable}-toolbar" >&5
7348 # Check whether --enable-toolbar or --disable-toolbar was given.
7349 if test "${enable_toolbar+set}" = set; then
7350 enableval
="$enable_toolbar"
7352 if test "$enableval" = yes; then
7353 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7355 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7360 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7361 if test "x$LINE" != x
; then
7362 eval "DEFAULT_$LINE"
7367 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7372 eval "$ac_cv_use_toolbar"
7373 if test "$no_cache" != 1; then
7374 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7377 if test "$wxUSE_TOOLBAR" = yes; then
7378 echo "$ac_t""yes" 1>&6
7380 echo "$ac_t""no" 1>&6
7385 echo $ac_n "checking for --${enablestring:-enable}-tbarnative""... $ac_c" 1>&6
7386 echo "configure:7387: checking for --${enablestring:-enable}-tbarnative" >&5
7388 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7389 if test "${enable_tbarnative+set}" = set; then
7390 enableval
="$enable_tbarnative"
7392 if test "$enableval" = yes; then
7393 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7395 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7400 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7401 if test "x$LINE" != x
; then
7402 eval "DEFAULT_$LINE"
7407 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7412 eval "$ac_cv_use_tbarnative"
7413 if test "$no_cache" != 1; then
7414 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7417 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7418 echo "$ac_t""yes" 1>&6
7420 echo "$ac_t""no" 1>&6
7425 echo $ac_n "checking for --${enablestring:-enable}-tbarsmpl""... $ac_c" 1>&6
7426 echo "configure:7427: checking for --${enablestring:-enable}-tbarsmpl" >&5
7428 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7429 if test "${enable_tbarsmpl+set}" = set; then
7430 enableval
="$enable_tbarsmpl"
7432 if test "$enableval" = yes; then
7433 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7435 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7440 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7441 if test "x$LINE" != x
; then
7442 eval "DEFAULT_$LINE"
7447 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7452 eval "$ac_cv_use_tbarsmpl"
7453 if test "$no_cache" != 1; then
7454 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7457 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7458 echo "$ac_t""yes" 1>&6
7460 echo "$ac_t""no" 1>&6
7465 echo $ac_n "checking for --${enablestring:-enable}-treectrl""... $ac_c" 1>&6
7466 echo "configure:7467: checking for --${enablestring:-enable}-treectrl" >&5
7468 # Check whether --enable-treectrl or --disable-treectrl was given.
7469 if test "${enable_treectrl+set}" = set; then
7470 enableval
="$enable_treectrl"
7472 if test "$enableval" = yes; then
7473 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7475 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7480 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7481 if test "x$LINE" != x
; then
7482 eval "DEFAULT_$LINE"
7487 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7492 eval "$ac_cv_use_treectrl"
7493 if test "$no_cache" != 1; then
7494 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7497 if test "$wxUSE_TREECTRL" = yes; then
7498 echo "$ac_t""yes" 1>&6
7500 echo "$ac_t""no" 1>&6
7505 echo $ac_n "checking for --${enablestring:-enable}-tipwindow""... $ac_c" 1>&6
7506 echo "configure:7507: checking for --${enablestring:-enable}-tipwindow" >&5
7508 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7509 if test "${enable_tipwindow+set}" = set; then
7510 enableval
="$enable_tipwindow"
7512 if test "$enableval" = yes; then
7513 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7515 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7520 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7521 if test "x$LINE" != x
; then
7522 eval "DEFAULT_$LINE"
7527 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7532 eval "$ac_cv_use_tipwindow"
7533 if test "$no_cache" != 1; then
7534 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7537 if test "$wxUSE_TIPWINDOW" = yes; then
7538 echo "$ac_t""yes" 1>&6
7540 echo "$ac_t""no" 1>&6
7545 echo $ac_n "checking for --${enablestring:-enable}-popupwin""... $ac_c" 1>&6
7546 echo "configure:7547: checking for --${enablestring:-enable}-popupwin" >&5
7548 # Check whether --enable-popupwin or --disable-popupwin was given.
7549 if test "${enable_popupwin+set}" = set; then
7550 enableval
="$enable_popupwin"
7552 if test "$enableval" = yes; then
7553 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7555 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7560 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7561 if test "x$LINE" != x
; then
7562 eval "DEFAULT_$LINE"
7567 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7572 eval "$ac_cv_use_popupwin"
7573 if test "$no_cache" != 1; then
7574 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7577 if test "$wxUSE_POPUPWIN" = yes; then
7578 echo "$ac_t""yes" 1>&6
7580 echo "$ac_t""no" 1>&6
7587 echo $ac_n "checking for --${enablestring:-enable}-commondlg""... $ac_c" 1>&6
7588 echo "configure:7589: checking for --${enablestring:-enable}-commondlg" >&5
7590 # Check whether --enable-commondlg or --disable-commondlg was given.
7591 if test "${enable_commondlg+set}" = set; then
7592 enableval
="$enable_commondlg"
7594 if test "$enableval" = yes; then
7595 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7597 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7602 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7603 if test "x$LINE" != x
; then
7604 eval "DEFAULT_$LINE"
7609 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7614 eval "$ac_cv_use_commondlg"
7615 if test "$no_cache" != 1; then
7616 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7619 if test "$wxUSE_COMMONDLGS" = yes; then
7620 echo "$ac_t""yes" 1>&6
7622 echo "$ac_t""no" 1>&6
7627 echo $ac_n "checking for --${enablestring:-enable}-choicedlg""... $ac_c" 1>&6
7628 echo "configure:7629: checking for --${enablestring:-enable}-choicedlg" >&5
7630 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7631 if test "${enable_choicedlg+set}" = set; then
7632 enableval
="$enable_choicedlg"
7634 if test "$enableval" = yes; then
7635 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7637 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7642 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7643 if test "x$LINE" != x
; then
7644 eval "DEFAULT_$LINE"
7649 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7654 eval "$ac_cv_use_choicedlg"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7659 if test "$wxUSE_CHOICEDLG" = yes; then
7660 echo "$ac_t""yes" 1>&6
7662 echo "$ac_t""no" 1>&6
7667 echo $ac_n "checking for --${enablestring:-enable}-coldlg""... $ac_c" 1>&6
7668 echo "configure:7669: checking for --${enablestring:-enable}-coldlg" >&5
7670 # Check whether --enable-coldlg or --disable-coldlg was given.
7671 if test "${enable_coldlg+set}" = set; then
7672 enableval
="$enable_coldlg"
7674 if test "$enableval" = yes; then
7675 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7677 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7682 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7683 if test "x$LINE" != x
; then
7684 eval "DEFAULT_$LINE"
7689 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7694 eval "$ac_cv_use_coldlg"
7695 if test "$no_cache" != 1; then
7696 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7699 if test "$wxUSE_COLOURDLG" = yes; then
7700 echo "$ac_t""yes" 1>&6
7702 echo "$ac_t""no" 1>&6
7707 echo $ac_n "checking for --${enablestring:-enable}-filedlg""... $ac_c" 1>&6
7708 echo "configure:7709: checking for --${enablestring:-enable}-filedlg" >&5
7710 # Check whether --enable-filedlg or --disable-filedlg was given.
7711 if test "${enable_filedlg+set}" = set; then
7712 enableval
="$enable_filedlg"
7714 if test "$enableval" = yes; then
7715 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7717 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7722 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7723 if test "x$LINE" != x
; then
7724 eval "DEFAULT_$LINE"
7729 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7734 eval "$ac_cv_use_filedlg"
7735 if test "$no_cache" != 1; then
7736 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7739 if test "$wxUSE_FILEDLG" = yes; then
7740 echo "$ac_t""yes" 1>&6
7742 echo "$ac_t""no" 1>&6
7747 echo $ac_n "checking for --${enablestring:-enable}-finddlg""... $ac_c" 1>&6
7748 echo "configure:7749: checking for --${enablestring:-enable}-finddlg" >&5
7750 # Check whether --enable-finddlg or --disable-finddlg was given.
7751 if test "${enable_finddlg+set}" = set; then
7752 enableval
="$enable_finddlg"
7754 if test "$enableval" = yes; then
7755 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7757 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7762 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7763 if test "x$LINE" != x
; then
7764 eval "DEFAULT_$LINE"
7769 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7774 eval "$ac_cv_use_finddlg"
7775 if test "$no_cache" != 1; then
7776 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7779 if test "$wxUSE_FINDREPLDLG" = yes; then
7780 echo "$ac_t""yes" 1>&6
7782 echo "$ac_t""no" 1>&6
7787 echo $ac_n "checking for --${enablestring:-enable}-fontdlg""... $ac_c" 1>&6
7788 echo "configure:7789: checking for --${enablestring:-enable}-fontdlg" >&5
7790 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7791 if test "${enable_fontdlg+set}" = set; then
7792 enableval
="$enable_fontdlg"
7794 if test "$enableval" = yes; then
7795 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7797 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7802 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7803 if test "x$LINE" != x
; then
7804 eval "DEFAULT_$LINE"
7809 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7814 eval "$ac_cv_use_fontdlg"
7815 if test "$no_cache" != 1; then
7816 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7819 if test "$wxUSE_FONTDLG" = yes; then
7820 echo "$ac_t""yes" 1>&6
7822 echo "$ac_t""no" 1>&6
7827 echo $ac_n "checking for --${enablestring:-enable}-dirdlg""... $ac_c" 1>&6
7828 echo "configure:7829: checking for --${enablestring:-enable}-dirdlg" >&5
7830 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7831 if test "${enable_dirdlg+set}" = set; then
7832 enableval
="$enable_dirdlg"
7834 if test "$enableval" = yes; then
7835 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7837 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7842 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7843 if test "x$LINE" != x
; then
7844 eval "DEFAULT_$LINE"
7849 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7854 eval "$ac_cv_use_dirdlg"
7855 if test "$no_cache" != 1; then
7856 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7859 if test "$wxUSE_DIRDLG" = yes; then
7860 echo "$ac_t""yes" 1>&6
7862 echo "$ac_t""no" 1>&6
7867 echo $ac_n "checking for --${enablestring:-enable}-msgdlg""... $ac_c" 1>&6
7868 echo "configure:7869: checking for --${enablestring:-enable}-msgdlg" >&5
7870 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7871 if test "${enable_msgdlg+set}" = set; then
7872 enableval
="$enable_msgdlg"
7874 if test "$enableval" = yes; then
7875 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7877 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7882 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7883 if test "x$LINE" != x
; then
7884 eval "DEFAULT_$LINE"
7889 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7894 eval "$ac_cv_use_msgdlg"
7895 if test "$no_cache" != 1; then
7896 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7899 if test "$wxUSE_MSGDLG" = yes; then
7900 echo "$ac_t""yes" 1>&6
7902 echo "$ac_t""no" 1>&6
7907 echo $ac_n "checking for --${enablestring:-enable}-numberdlg""... $ac_c" 1>&6
7908 echo "configure:7909: checking for --${enablestring:-enable}-numberdlg" >&5
7910 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7911 if test "${enable_numberdlg+set}" = set; then
7912 enableval
="$enable_numberdlg"
7914 if test "$enableval" = yes; then
7915 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7917 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7922 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7923 if test "x$LINE" != x
; then
7924 eval "DEFAULT_$LINE"
7929 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7934 eval "$ac_cv_use_numberdlg"
7935 if test "$no_cache" != 1; then
7936 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7939 if test "$wxUSE_NUMBERDLG" = yes; then
7940 echo "$ac_t""yes" 1>&6
7942 echo "$ac_t""no" 1>&6
7947 echo $ac_n "checking for --${enablestring:-enable}-splash""... $ac_c" 1>&6
7948 echo "configure:7949: checking for --${enablestring:-enable}-splash" >&5
7950 # Check whether --enable-splash or --disable-splash was given.
7951 if test "${enable_splash+set}" = set; then
7952 enableval
="$enable_splash"
7954 if test "$enableval" = yes; then
7955 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7957 ac_cv_use_splash
='wxUSE_SPLASH=no'
7962 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7963 if test "x$LINE" != x
; then
7964 eval "DEFAULT_$LINE"
7969 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7974 eval "$ac_cv_use_splash"
7975 if test "$no_cache" != 1; then
7976 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7979 if test "$wxUSE_SPLASH" = yes; then
7980 echo "$ac_t""yes" 1>&6
7982 echo "$ac_t""no" 1>&6
7987 echo $ac_n "checking for --${enablestring:-enable}-textdlg""... $ac_c" 1>&6
7988 echo "configure:7989: checking for --${enablestring:-enable}-textdlg" >&5
7990 # Check whether --enable-textdlg or --disable-textdlg was given.
7991 if test "${enable_textdlg+set}" = set; then
7992 enableval
="$enable_textdlg"
7994 if test "$enableval" = yes; then
7995 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7997 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8002 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8003 if test "x$LINE" != x
; then
8004 eval "DEFAULT_$LINE"
8009 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8014 eval "$ac_cv_use_textdlg"
8015 if test "$no_cache" != 1; then
8016 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8019 if test "$wxUSE_TEXTDLG" = yes; then
8020 echo "$ac_t""yes" 1>&6
8022 echo "$ac_t""no" 1>&6
8027 echo $ac_n "checking for --${enablestring:-enable}-tipdlg""... $ac_c" 1>&6
8028 echo "configure:8029: checking for --${enablestring:-enable}-tipdlg" >&5
8030 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8031 if test "${enable_tipdlg+set}" = set; then
8032 enableval
="$enable_tipdlg"
8034 if test "$enableval" = yes; then
8035 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
8037 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
8042 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8043 if test "x$LINE" != x
; then
8044 eval "DEFAULT_$LINE"
8049 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8054 eval "$ac_cv_use_tipdlg"
8055 if test "$no_cache" != 1; then
8056 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8059 if test "$wxUSE_STARTUP_TIPS" = yes; then
8060 echo "$ac_t""yes" 1>&6
8062 echo "$ac_t""no" 1>&6
8067 echo $ac_n "checking for --${enablestring:-enable}-progressdlg""... $ac_c" 1>&6
8068 echo "configure:8069: checking for --${enablestring:-enable}-progressdlg" >&5
8070 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8071 if test "${enable_progressdlg+set}" = set; then
8072 enableval
="$enable_progressdlg"
8074 if test "$enableval" = yes; then
8075 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
8077 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
8082 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8083 if test "x$LINE" != x
; then
8084 eval "DEFAULT_$LINE"
8089 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8094 eval "$ac_cv_use_progressdlg"
8095 if test "$no_cache" != 1; then
8096 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8099 if test "$wxUSE_PROGRESSDLG" = yes; then
8100 echo "$ac_t""yes" 1>&6
8102 echo "$ac_t""no" 1>&6
8107 echo $ac_n "checking for --${enablestring:-enable}-wizarddlg""... $ac_c" 1>&6
8108 echo "configure:8109: checking for --${enablestring:-enable}-wizarddlg" >&5
8110 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8111 if test "${enable_wizarddlg+set}" = set; then
8112 enableval
="$enable_wizarddlg"
8114 if test "$enableval" = yes; then
8115 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
8117 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
8122 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8123 if test "x$LINE" != x
; then
8124 eval "DEFAULT_$LINE"
8129 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8134 eval "$ac_cv_use_wizarddlg"
8135 if test "$no_cache" != 1; then
8136 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8139 if test "$wxUSE_WIZARDDLG" = yes; then
8140 echo "$ac_t""yes" 1>&6
8142 echo "$ac_t""no" 1>&6
8149 echo $ac_n "checking for --${enablestring:-enable}-menus""... $ac_c" 1>&6
8150 echo "configure:8151: checking for --${enablestring:-enable}-menus" >&5
8152 # Check whether --enable-menus or --disable-menus was given.
8153 if test "${enable_menus+set}" = set; then
8154 enableval
="$enable_menus"
8156 if test "$enableval" = yes; then
8157 ac_cv_use_menus
='wxUSE_MENUS=yes'
8159 ac_cv_use_menus
='wxUSE_MENUS=no'
8164 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8165 if test "x$LINE" != x
; then
8166 eval "DEFAULT_$LINE"
8171 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8176 eval "$ac_cv_use_menus"
8177 if test "$no_cache" != 1; then
8178 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8181 if test "$wxUSE_MENUS" = yes; then
8182 echo "$ac_t""yes" 1>&6
8184 echo "$ac_t""no" 1>&6
8189 echo $ac_n "checking for --${enablestring:-enable}-miniframe""... $ac_c" 1>&6
8190 echo "configure:8191: checking for --${enablestring:-enable}-miniframe" >&5
8192 # Check whether --enable-miniframe or --disable-miniframe was given.
8193 if test "${enable_miniframe+set}" = set; then
8194 enableval
="$enable_miniframe"
8196 if test "$enableval" = yes; then
8197 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
8199 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
8204 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8205 if test "x$LINE" != x
; then
8206 eval "DEFAULT_$LINE"
8211 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8216 eval "$ac_cv_use_miniframe"
8217 if test "$no_cache" != 1; then
8218 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8221 if test "$wxUSE_MINIFRAME" = yes; then
8222 echo "$ac_t""yes" 1>&6
8224 echo "$ac_t""no" 1>&6
8229 echo $ac_n "checking for --${enablestring:-enable}-tooltips""... $ac_c" 1>&6
8230 echo "configure:8231: checking for --${enablestring:-enable}-tooltips" >&5
8232 # Check whether --enable-tooltips or --disable-tooltips was given.
8233 if test "${enable_tooltips+set}" = set; then
8234 enableval
="$enable_tooltips"
8236 if test "$enableval" = yes; then
8237 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
8239 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
8244 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8245 if test "x$LINE" != x
; then
8246 eval "DEFAULT_$LINE"
8251 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8256 eval "$ac_cv_use_tooltips"
8257 if test "$no_cache" != 1; then
8258 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8261 if test "$wxUSE_TOOLTIPS" = yes; then
8262 echo "$ac_t""yes" 1>&6
8264 echo "$ac_t""no" 1>&6
8269 echo $ac_n "checking for --${enablestring:-enable}-splines""... $ac_c" 1>&6
8270 echo "configure:8271: checking for --${enablestring:-enable}-splines" >&5
8272 # Check whether --enable-splines or --disable-splines was given.
8273 if test "${enable_splines+set}" = set; then
8274 enableval
="$enable_splines"
8276 if test "$enableval" = yes; then
8277 ac_cv_use_splines
='wxUSE_SPLINES=yes'
8279 ac_cv_use_splines
='wxUSE_SPLINES=no'
8284 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8285 if test "x$LINE" != x
; then
8286 eval "DEFAULT_$LINE"
8291 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8296 eval "$ac_cv_use_splines"
8297 if test "$no_cache" != 1; then
8298 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8301 if test "$wxUSE_SPLINES" = yes; then
8302 echo "$ac_t""yes" 1>&6
8304 echo "$ac_t""no" 1>&6
8309 echo $ac_n "checking for --${enablestring:-enable}-validators""... $ac_c" 1>&6
8310 echo "configure:8311: checking for --${enablestring:-enable}-validators" >&5
8312 # Check whether --enable-validators or --disable-validators was given.
8313 if test "${enable_validators+set}" = set; then
8314 enableval
="$enable_validators"
8316 if test "$enableval" = yes; then
8317 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
8319 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
8324 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8325 if test "x$LINE" != x
; then
8326 eval "DEFAULT_$LINE"
8331 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8336 eval "$ac_cv_use_validators"
8337 if test "$no_cache" != 1; then
8338 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8341 if test "$wxUSE_VALIDATORS" = yes; then
8342 echo "$ac_t""yes" 1>&6
8344 echo "$ac_t""no" 1>&6
8349 echo $ac_n "checking for --${enablestring:-enable}-busyinfo""... $ac_c" 1>&6
8350 echo "configure:8351: checking for --${enablestring:-enable}-busyinfo" >&5
8352 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8353 if test "${enable_busyinfo+set}" = set; then
8354 enableval
="$enable_busyinfo"
8356 if test "$enableval" = yes; then
8357 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8359 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8364 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8365 if test "x$LINE" != x
; then
8366 eval "DEFAULT_$LINE"
8371 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8376 eval "$ac_cv_use_busyinfo"
8377 if test "$no_cache" != 1; then
8378 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8381 if test "$wxUSE_BUSYINFO" = yes; then
8382 echo "$ac_t""yes" 1>&6
8384 echo "$ac_t""no" 1>&6
8389 echo $ac_n "checking for --${enablestring:-enable}-joystick""... $ac_c" 1>&6
8390 echo "configure:8391: checking for --${enablestring:-enable}-joystick" >&5
8392 # Check whether --enable-joystick or --disable-joystick was given.
8393 if test "${enable_joystick+set}" = set; then
8394 enableval
="$enable_joystick"
8396 if test "$enableval" = yes; then
8397 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8399 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8404 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8405 if test "x$LINE" != x
; then
8406 eval "DEFAULT_$LINE"
8411 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8416 eval "$ac_cv_use_joystick"
8417 if test "$no_cache" != 1; then
8418 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8421 if test "$wxUSE_JOYSTICK" = yes; then
8422 echo "$ac_t""yes" 1>&6
8424 echo "$ac_t""no" 1>&6
8429 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
8430 echo "configure:8431: checking for --${enablestring:-enable}-metafile" >&5
8432 # Check whether --enable-metafile or --disable-metafile was given.
8433 if test "${enable_metafile+set}" = set; then
8434 enableval
="$enable_metafile"
8436 if test "$enableval" = yes; then
8437 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8439 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8444 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8445 if test "x$LINE" != x
; then
8446 eval "DEFAULT_$LINE"
8451 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8456 eval "$ac_cv_use_metafile"
8457 if test "$no_cache" != 1; then
8458 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8461 if test "$wxUSE_METAFILE" = yes; then
8462 echo "$ac_t""yes" 1>&6
8464 echo "$ac_t""no" 1>&6
8469 echo $ac_n "checking for --${enablestring:-enable}-dragimage""... $ac_c" 1>&6
8470 echo "configure:8471: checking for --${enablestring:-enable}-dragimage" >&5
8472 # Check whether --enable-dragimage or --disable-dragimage was given.
8473 if test "${enable_dragimage+set}" = set; then
8474 enableval
="$enable_dragimage"
8476 if test "$enableval" = yes; then
8477 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8479 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8484 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8485 if test "x$LINE" != x
; then
8486 eval "DEFAULT_$LINE"
8491 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8496 eval "$ac_cv_use_dragimage"
8497 if test "$no_cache" != 1; then
8498 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8501 if test "$wxUSE_DRAGIMAGE" = yes; then
8502 echo "$ac_t""yes" 1>&6
8504 echo "$ac_t""no" 1>&6
8511 echo $ac_n "checking for --${enablestring:-enable}-palette""... $ac_c" 1>&6
8512 echo "configure:8513: checking for --${enablestring:-enable}-palette" >&5
8514 # Check whether --enable-palette or --disable-palette was given.
8515 if test "${enable_palette+set}" = set; then
8516 enableval
="$enable_palette"
8518 if test "$enableval" = yes; then
8519 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8521 ac_cv_use_palette
='wxUSE_PALETTE=no'
8526 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8527 if test "x$LINE" != x
; then
8528 eval "DEFAULT_$LINE"
8533 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8538 eval "$ac_cv_use_palette"
8539 if test "$no_cache" != 1; then
8540 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8543 if test "$wxUSE_PALETTE" = yes; then
8544 echo "$ac_t""yes" 1>&6
8546 echo "$ac_t""no" 1>&6
8551 echo $ac_n "checking for --${enablestring:-enable}-image""... $ac_c" 1>&6
8552 echo "configure:8553: checking for --${enablestring:-enable}-image" >&5
8554 # Check whether --enable-image or --disable-image was given.
8555 if test "${enable_image+set}" = set; then
8556 enableval
="$enable_image"
8558 if test "$enableval" = yes; then
8559 ac_cv_use_image
='wxUSE_IMAGE=yes'
8561 ac_cv_use_image
='wxUSE_IMAGE=no'
8566 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8567 if test "x$LINE" != x
; then
8568 eval "DEFAULT_$LINE"
8573 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8578 eval "$ac_cv_use_image"
8579 if test "$no_cache" != 1; then
8580 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8583 if test "$wxUSE_IMAGE" = yes; then
8584 echo "$ac_t""yes" 1>&6
8586 echo "$ac_t""no" 1>&6
8591 echo $ac_n "checking for --${enablestring:-enable}-gif""... $ac_c" 1>&6
8592 echo "configure:8593: checking for --${enablestring:-enable}-gif" >&5
8594 # Check whether --enable-gif or --disable-gif was given.
8595 if test "${enable_gif+set}" = set; then
8596 enableval
="$enable_gif"
8598 if test "$enableval" = yes; then
8599 ac_cv_use_gif
='wxUSE_GIF=yes'
8601 ac_cv_use_gif
='wxUSE_GIF=no'
8606 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8607 if test "x$LINE" != x
; then
8608 eval "DEFAULT_$LINE"
8613 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8618 eval "$ac_cv_use_gif"
8619 if test "$no_cache" != 1; then
8620 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8623 if test "$wxUSE_GIF" = yes; then
8624 echo "$ac_t""yes" 1>&6
8626 echo "$ac_t""no" 1>&6
8631 echo $ac_n "checking for --${enablestring:-enable}-pcx""... $ac_c" 1>&6
8632 echo "configure:8633: checking for --${enablestring:-enable}-pcx" >&5
8634 # Check whether --enable-pcx or --disable-pcx was given.
8635 if test "${enable_pcx+set}" = set; then
8636 enableval
="$enable_pcx"
8638 if test "$enableval" = yes; then
8639 ac_cv_use_pcx
='wxUSE_PCX=yes'
8641 ac_cv_use_pcx
='wxUSE_PCX=no'
8646 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8647 if test "x$LINE" != x
; then
8648 eval "DEFAULT_$LINE"
8653 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8658 eval "$ac_cv_use_pcx"
8659 if test "$no_cache" != 1; then
8660 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8663 if test "$wxUSE_PCX" = yes; then
8664 echo "$ac_t""yes" 1>&6
8666 echo "$ac_t""no" 1>&6
8671 echo $ac_n "checking for --${enablestring:-enable}-iff""... $ac_c" 1>&6
8672 echo "configure:8673: checking for --${enablestring:-enable}-iff" >&5
8674 # Check whether --enable-iff or --disable-iff was given.
8675 if test "${enable_iff+set}" = set; then
8676 enableval
="$enable_iff"
8678 if test "$enableval" = yes; then
8679 ac_cv_use_iff
='wxUSE_IFF=yes'
8681 ac_cv_use_iff
='wxUSE_IFF=no'
8686 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8687 if test "x$LINE" != x
; then
8688 eval "DEFAULT_$LINE"
8693 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8698 eval "$ac_cv_use_iff"
8699 if test "$no_cache" != 1; then
8700 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8703 if test "$wxUSE_IFF" = yes; then
8704 echo "$ac_t""yes" 1>&6
8706 echo "$ac_t""no" 1>&6
8711 echo $ac_n "checking for --${enablestring:-enable}-pnm""... $ac_c" 1>&6
8712 echo "configure:8713: checking for --${enablestring:-enable}-pnm" >&5
8714 # Check whether --enable-pnm or --disable-pnm was given.
8715 if test "${enable_pnm+set}" = set; then
8716 enableval
="$enable_pnm"
8718 if test "$enableval" = yes; then
8719 ac_cv_use_pnm
='wxUSE_PNM=yes'
8721 ac_cv_use_pnm
='wxUSE_PNM=no'
8726 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8727 if test "x$LINE" != x
; then
8728 eval "DEFAULT_$LINE"
8733 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8738 eval "$ac_cv_use_pnm"
8739 if test "$no_cache" != 1; then
8740 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8743 if test "$wxUSE_PNM" = yes; then
8744 echo "$ac_t""yes" 1>&6
8746 echo "$ac_t""no" 1>&6
8751 echo $ac_n "checking for --${enablestring:-enable}-xpm""... $ac_c" 1>&6
8752 echo "configure:8753: checking for --${enablestring:-enable}-xpm" >&5
8754 # Check whether --enable-xpm or --disable-xpm was given.
8755 if test "${enable_xpm+set}" = set; then
8756 enableval
="$enable_xpm"
8758 if test "$enableval" = yes; then
8759 ac_cv_use_xpm
='wxUSE_XPM=yes'
8761 ac_cv_use_xpm
='wxUSE_XPM=no'
8766 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8767 if test "x$LINE" != x
; then
8768 eval "DEFAULT_$LINE"
8773 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8778 eval "$ac_cv_use_xpm"
8779 if test "$no_cache" != 1; then
8780 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8783 if test "$wxUSE_XPM" = yes; then
8784 echo "$ac_t""yes" 1>&6
8786 echo "$ac_t""no" 1>&6
8791 echo $ac_n "checking for --${enablestring:-enable}-ico_cur""... $ac_c" 1>&6
8792 echo "configure:8793: checking for --${enablestring:-enable}-ico_cur" >&5
8794 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8795 if test "${enable_ico_cur+set}" = set; then
8796 enableval
="$enable_ico_cur"
8798 if test "$enableval" = yes; then
8799 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8801 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8806 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8807 if test "x$LINE" != x
; then
8808 eval "DEFAULT_$LINE"
8813 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8818 eval "$ac_cv_use_ico_cur"
8819 if test "$no_cache" != 1; then
8820 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8823 if test "$wxUSE_ICO_CUR" = yes; then
8824 echo "$ac_t""yes" 1>&6
8826 echo "$ac_t""no" 1>&6
8833 *-pc-os2_emx | *-pc-os2-emx )
8845 echo "saving argument cache $wx_arg_cache_file"
8846 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8850 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8851 echo "configure:8852: checking for toolkit" >&5
8853 # In Wine, we need to default to MSW, not GTK or MOTIF
8854 if test "$wxUSE_WINE" = "yes"; then
8855 DEFAULT_DEFAULT_wxUSE_GTK
=0
8856 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
8857 DEFAULT_DEFAULT_wxUSE_MSW
=1
8860 if test "$wxUSE_GUI" = "yes"; then
8862 if test "$USE_BEOS" = 1; then
8863 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8866 if test "$TOOLKIT_GIVEN" = 1; then
8867 for toolkit
in `echo $ALL_TOOLKITS`; do
8869 eval "value=\$${var}"
8870 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8873 for toolkit
in `echo $ALL_TOOLKITS`; do
8874 if test "$has_toolkit_in_cache" != 1; then
8875 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8877 var
=DEFAULT_wxUSE_
$toolkit
8879 eval "wxUSE_$toolkit=\$${var}"
8883 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
8884 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
8885 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
8888 *-pc-os2_emx | *-pc-os2-emx )
8889 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8892 case "$NUM_TOOLKITS" in
8896 { echo "configure: error: Please specify a toolkit -- cannot determine the default for ${host}" 1>&2; exit 1; }
8899 { echo "configure: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" 1>&2; exit 1; }
8902 for toolkit
in `echo $ALL_TOOLKITS`; do
8904 eval "value=\$${var}"
8905 if test "x$value" != x
; then
8906 cache_var
=CACHE_
$toolkit
8907 eval "cache=\$${cache_var}"
8908 if test "$cache" = 1; then
8909 echo "$var=$value" >> ${wx_arg_cache_file}
8911 if test "$value" = 1; then
8912 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8913 echo "$ac_t""$toolkit_echo" 1>&6
8918 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8925 if test "$wxUSE_MSW" = 1 ; then
8936 if test "$wxUSE_WINE" = "yes"; then
8943 if test "$wants_win32" = 1 ; then
8946 cat >> confdefs.h
<<\EOF
8950 cat >> confdefs.h
<<\EOF
8954 cat >> confdefs.h
<<\EOF
8955 #define __WINDOWS__ 1
8958 cat >> confdefs.h
<<\EOF
8959 #define __GNUWIN32__ 1
8962 cat >> confdefs.h
<<\EOF
8966 cat >> confdefs.h
<<\EOF
8967 #define WINVER 0x0400
8971 if test "$doesnt_want_win32" = 1 ; then
8976 if test "$USE_UNIX" = 1 ; then
8978 cat >> confdefs.h
<<\EOF
8985 cat > confcache
<<\EOF
8986 # This file is a shell script that caches the results of configure
8987 # tests run on this system so they can be shared between configure
8988 # scripts and configure runs. It is not useful on other systems.
8989 # If it contains results you don't want to keep, you may remove or edit it.
8991 # By default, configure uses ./config.cache as the cache file,
8992 # creating it if it does not exist already. You can give configure
8993 # the --cache-file=FILE option to use a different cache file; that is
8994 # what configure does when it calls configure scripts in
8995 # subdirectories, so they share the cache.
8996 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8997 # config.status only pays attention to the cache file if you give it the
8998 # --recheck option to rerun configure.
9001 # The following way of writing the cache mishandles newlines in values,
9002 # but we know of no workaround that is simple, portable, and efficient.
9003 # So, don't put newlines in cache variables' values.
9004 # Ultrix sh set writes to stderr and can't be redirected directly,
9005 # and sets the high bit in the cache file unless we assign to the vars.
9007 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9009 # `set' does not quote correctly, so add quotes (double-quote substitution
9010 # turns \\\\ into \\, and sed turns \\ into \).
9012 -e "s/'/'\\\\''/g" \
9013 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9016 # `set' quotes correctly as required by POSIX, so do not add quotes.
9017 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9020 if cmp -s $cache_file confcache
; then
9023 if test -w $cache_file; then
9024 echo "updating cache $cache_file"
9025 cat confcache
> $cache_file
9027 echo "not updating unwritable cache $cache_file"
9033 if test "$build" != "$host" ; then
9034 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9038 RANLIB
=$host_alias-ranlib
9039 DLLTOOL
=$host_alias-dlltool
9040 RESCOMP
=$host_alias-windres
9043 STRIP
=$host_alias-strip
9045 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
9050 # Extract the first word of "gcc", so it can be a program name with args.
9051 set dummy gcc
; ac_word
=$2
9052 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9053 echo "configure:9054: checking for $ac_word" >&5
9054 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
9055 echo $ac_n "(cached) $ac_c" 1>&6
9057 if test -n "$CC"; then
9058 ac_cv_prog_CC
="$CC" # Let the user override the test.
9060 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9062 for ac_dir
in $ac_dummy; do
9063 test -z "$ac_dir" && ac_dir
=.
9064 if test -f $ac_dir/$ac_word; then
9073 if test -n "$CC"; then
9074 echo "$ac_t""$CC" 1>&6
9076 echo "$ac_t""no" 1>&6
9079 if test -z "$CC"; then
9080 # Extract the first word of "cc", so it can be a program name with args.
9081 set dummy cc
; ac_word
=$2
9082 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9083 echo "configure:9084: checking for $ac_word" >&5
9084 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
9085 echo $ac_n "(cached) $ac_c" 1>&6
9087 if test -n "$CC"; then
9088 ac_cv_prog_CC
="$CC" # Let the user override the test.
9090 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9093 for ac_dir
in $ac_dummy; do
9094 test -z "$ac_dir" && ac_dir
=.
9095 if test -f $ac_dir/$ac_word; then
9096 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
9097 ac_prog_rejected
=yes
9105 if test $ac_prog_rejected = yes; then
9106 # We found a bogon in the path, so make sure we never use it.
9107 set dummy
$ac_cv_prog_CC
9109 if test $# -gt 0; then
9110 # We chose a different compiler from the bogus one.
9111 # However, it has the same basename, so the bogon will be chosen
9112 # first if we set CC to just the basename; use the full file name.
9114 set dummy
"$ac_dir/$ac_word" "$@"
9122 if test -n "$CC"; then
9123 echo "$ac_t""$CC" 1>&6
9125 echo "$ac_t""no" 1>&6
9128 if test -z "$CC"; then
9129 case "`uname -s`" in
9131 # Extract the first word of "cl", so it can be a program name with args.
9132 set dummy cl
; ac_word
=$2
9133 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9134 echo "configure:9135: checking for $ac_word" >&5
9135 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
9136 echo $ac_n "(cached) $ac_c" 1>&6
9138 if test -n "$CC"; then
9139 ac_cv_prog_CC
="$CC" # Let the user override the test.
9141 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9143 for ac_dir
in $ac_dummy; do
9144 test -z "$ac_dir" && ac_dir
=.
9145 if test -f $ac_dir/$ac_word; then
9154 if test -n "$CC"; then
9155 echo "$ac_t""$CC" 1>&6
9157 echo "$ac_t""no" 1>&6
9162 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
9165 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9166 echo "configure:9167: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
9169 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9170 ac_cpp
='$CPP $CPPFLAGS'
9171 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9172 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9173 cross_compiling
=$ac_cv_prog_cc_cross
9175 cat > conftest.
$ac_ext << EOF
9177 #line 9178 "configure"
9178 #include "confdefs.h"
9182 if { (eval echo configure
:9183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9183 ac_cv_prog_cc_works
=yes
9184 # If we can't run a trivial program, we are probably using a cross compiler.
9185 if (.
/conftest
; exit) 2>/dev
/null
; then
9186 ac_cv_prog_cc_cross
=no
9188 ac_cv_prog_cc_cross
=yes
9191 echo "configure: failed program was:" >&5
9192 cat conftest.
$ac_ext >&5
9193 ac_cv_prog_cc_works
=no
9197 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9198 ac_cpp
='$CPP $CPPFLAGS'
9199 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9200 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9201 cross_compiling
=$ac_cv_prog_cc_cross
9203 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
9204 if test $ac_cv_prog_cc_works = no
; then
9205 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
9207 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9208 echo "configure:9209: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
9209 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
9210 cross_compiling
=$ac_cv_prog_cc_cross
9212 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
9213 echo "configure:9214: checking whether we are using GNU C" >&5
9214 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
9215 echo $ac_n "(cached) $ac_c" 1>&6
9217 cat > conftest.c
<<EOF
9222 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:9223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9229 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
9231 if test $ac_cv_prog_gcc = yes; then
9237 ac_test_CFLAGS
="${CFLAGS+set}"
9238 ac_save_CFLAGS
="$CFLAGS"
9240 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
9241 echo "configure:9242: checking whether ${CC-cc} accepts -g" >&5
9242 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
9243 echo $ac_n "(cached) $ac_c" 1>&6
9245 echo 'void f(){}' > conftest.c
9246 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
9255 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
9256 if test "$ac_test_CFLAGS" = set; then
9257 CFLAGS
="$ac_save_CFLAGS"
9258 elif test $ac_cv_prog_cc_g = yes; then
9259 if test "$GCC" = yes; then
9265 if test "$GCC" = yes; then
9273 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
9274 echo "configure:9275: checking how to run the C preprocessor" >&5
9275 # On Suns, sometimes $CPP names a directory.
9276 if test -n "$CPP" && test -d "$CPP"; then
9279 if test -z "$CPP"; then
9280 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
9281 echo $ac_n "(cached) $ac_c" 1>&6
9283 # This must be in double quotes, not single quotes, because CPP may get
9284 # substituted into the Makefile and "${CC-cc}" will confuse make.
9286 # On the NeXT, cc -E runs the code through the compiler's parser,
9287 # not just through cpp.
9288 cat > conftest.
$ac_ext <<EOF
9289 #line 9290 "configure"
9290 #include "confdefs.h"
9294 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9295 { (eval echo configure
:9296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9296 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9297 if test -z "$ac_err"; then
9301 echo "configure: failed program was:" >&5
9302 cat conftest.
$ac_ext >&5
9304 CPP
="${CC-cc} -E -traditional-cpp"
9305 cat > conftest.
$ac_ext <<EOF
9306 #line 9307 "configure"
9307 #include "confdefs.h"
9311 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9312 { (eval echo configure
:9313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9313 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9314 if test -z "$ac_err"; then
9318 echo "configure: failed program was:" >&5
9319 cat conftest.
$ac_ext >&5
9321 CPP
="${CC-cc} -nologo -E"
9322 cat > conftest.
$ac_ext <<EOF
9323 #line 9324 "configure"
9324 #include "confdefs.h"
9328 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9329 { (eval echo configure
:9330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9330 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9331 if test -z "$ac_err"; then
9335 echo "configure: failed program was:" >&5
9336 cat conftest.
$ac_ext >&5
9345 ac_cv_prog_CPP
="$CPP"
9347 CPP
="$ac_cv_prog_CPP"
9349 ac_cv_prog_CPP
="$CPP"
9351 echo "$ac_t""$CPP" 1>&6
9353 if test $ac_cv_prog_gcc = yes; then
9354 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
9355 echo "configure:9356: checking whether ${CC-cc} needs -traditional" >&5
9356 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
9357 echo $ac_n "(cached) $ac_c" 1>&6
9359 ac_pattern
="Autoconf.*'x'"
9360 cat > conftest.
$ac_ext <<EOF
9361 #line 9362 "configure"
9362 #include "confdefs.h"
9366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9367 egrep "$ac_pattern" >/dev
/null
2>&1; then
9369 ac_cv_prog_gcc_traditional
=yes
9372 ac_cv_prog_gcc_traditional
=no
9377 if test $ac_cv_prog_gcc_traditional = no
; then
9378 cat > conftest.
$ac_ext <<EOF
9379 #line 9380 "configure"
9380 #include "confdefs.h"
9384 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9385 egrep "$ac_pattern" >/dev
/null
2>&1; then
9387 ac_cv_prog_gcc_traditional
=yes
9394 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
9395 if test $ac_cv_prog_gcc_traditional = yes; then
9396 CC
="$CC -traditional"
9403 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9404 ac_cpp
='$CXXCPP $CPPFLAGS'
9405 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9406 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9407 cross_compiling
=$ac_cv_prog_cxx_cross
9410 CXXFLAGS
=${CXXFLAGS:=}
9411 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
9413 # Extract the first word of "$ac_prog", so it can be a program name with args.
9414 set dummy
$ac_prog; ac_word
=$2
9415 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9416 echo "configure:9417: checking for $ac_word" >&5
9417 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
9418 echo $ac_n "(cached) $ac_c" 1>&6
9420 if test -n "$CXX"; then
9421 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9423 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9425 for ac_dir
in $ac_dummy; do
9426 test -z "$ac_dir" && ac_dir
=.
9427 if test -f $ac_dir/$ac_word; then
9428 ac_cv_prog_CXX
="$ac_prog"
9435 CXX
="$ac_cv_prog_CXX"
9436 if test -n "$CXX"; then
9437 echo "$ac_t""$CXX" 1>&6
9439 echo "$ac_t""no" 1>&6
9442 test -n "$CXX" && break
9444 test -n "$CXX" || CXX
="gcc"
9447 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9448 echo "configure:9449: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9451 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9452 ac_cpp
='$CXXCPP $CPPFLAGS'
9453 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9454 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9455 cross_compiling
=$ac_cv_prog_cxx_cross
9457 cat > conftest.
$ac_ext << EOF
9459 #line 9460 "configure"
9460 #include "confdefs.h"
9462 int main(){return(0);}
9464 if { (eval echo configure
:9465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9465 ac_cv_prog_cxx_works
=yes
9466 # If we can't run a trivial program, we are probably using a cross compiler.
9467 if (.
/conftest
; exit) 2>/dev
/null
; then
9468 ac_cv_prog_cxx_cross
=no
9470 ac_cv_prog_cxx_cross
=yes
9473 echo "configure: failed program was:" >&5
9474 cat conftest.
$ac_ext >&5
9475 ac_cv_prog_cxx_works
=no
9479 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9480 ac_cpp
='$CXXCPP $CPPFLAGS'
9481 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9482 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9483 cross_compiling
=$ac_cv_prog_cxx_cross
9485 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9486 if test $ac_cv_prog_cxx_works = no
; then
9487 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9489 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9490 echo "configure:9491: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9491 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9492 cross_compiling
=$ac_cv_prog_cxx_cross
9494 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9495 echo "configure:9496: checking whether we are using GNU C++" >&5
9496 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9497 echo $ac_n "(cached) $ac_c" 1>&6
9499 cat > conftest.C
<<EOF
9504 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9511 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9513 if test $ac_cv_prog_gxx = yes; then
9519 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9520 ac_save_CXXFLAGS
="$CXXFLAGS"
9522 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9523 echo "configure:9524: checking whether ${CXX-g++} accepts -g" >&5
9524 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9525 echo $ac_n "(cached) $ac_c" 1>&6
9527 echo 'void f(){}' > conftest.cc
9528 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9529 ac_cv_prog_cxx_g
=yes
9537 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9538 if test "$ac_test_CXXFLAGS" = set; then
9539 CXXFLAGS
="$ac_save_CXXFLAGS"
9540 elif test $ac_cv_prog_cxx_g = yes; then
9541 if test "$GXX" = yes; then
9547 if test "$GXX" = yes; then
9556 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9557 ac_cpp
='$CPP $CPPFLAGS'
9558 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9559 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9560 cross_compiling
=$ac_cv_prog_cc_cross
9563 # Extract the first word of "ranlib", so it can be a program name with args.
9564 set dummy ranlib
; ac_word
=$2
9565 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9566 echo "configure:9567: checking for $ac_word" >&5
9567 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9568 echo $ac_n "(cached) $ac_c" 1>&6
9570 if test -n "$RANLIB"; then
9571 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9573 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9575 for ac_dir
in $ac_dummy; do
9576 test -z "$ac_dir" && ac_dir
=.
9577 if test -f $ac_dir/$ac_word; then
9578 ac_cv_prog_RANLIB
="ranlib"
9583 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9586 RANLIB
="$ac_cv_prog_RANLIB"
9587 if test -n "$RANLIB"; then
9588 echo "$ac_t""$RANLIB" 1>&6
9590 echo "$ac_t""no" 1>&6
9594 # Extract the first word of "ar", so it can be a program name with args.
9595 set dummy
ar; ac_word
=$2
9596 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9597 echo "configure:9598: checking for $ac_word" >&5
9598 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9599 echo $ac_n "(cached) $ac_c" 1>&6
9601 if test -n "$AR"; then
9602 ac_cv_prog_AR
="$AR" # Let the user override the test.
9604 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9606 for ac_dir
in $ac_dummy; do
9607 test -z "$ac_dir" && ac_dir
=.
9608 if test -f $ac_dir/$ac_word; then
9614 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9618 if test -n "$AR"; then
9619 echo "$ac_t""$AR" 1>&6
9621 echo "$ac_t""no" 1>&6
9625 # Find a good install program. We prefer a C program (faster),
9626 # so one script is as good as another. But avoid the broken or
9627 # incompatible versions:
9628 # SysV /etc/install, /usr/sbin/install
9629 # SunOS /usr/etc/install
9630 # IRIX /sbin/install
9632 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9633 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9634 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9635 # ./install, which can be erroneously created by make from ./install.sh.
9636 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9637 echo "configure:9638: checking for a BSD compatible install" >&5
9638 if test -z "$INSTALL"; then
9639 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9640 echo $ac_n "(cached) $ac_c" 1>&6
9642 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9643 for ac_dir
in $PATH; do
9644 # Account for people who put trailing slashes in PATH elements.
9646 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9648 # OSF1 and SCO ODT 3.0 have their own names for install.
9649 # Don't use installbsd from OSF since it installs stuff as root
9651 for ac_prog
in ginstall scoinst
install; do
9652 if test -f $ac_dir/$ac_prog; then
9653 if test $ac_prog = install &&
9654 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9655 # AIX install. It has an incompatible calling convention.
9658 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9669 if test "${ac_cv_path_install+set}" = set; then
9670 INSTALL
="$ac_cv_path_install"
9672 # As a last resort, use the slow shell script. We don't cache a
9673 # path for INSTALL within a source directory, because that will
9674 # break other packages using the cache if that directory is
9675 # removed, or if the path is relative.
9676 INSTALL
="$ac_install_sh"
9679 echo "$ac_t""$INSTALL" 1>&6
9681 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9682 # It thinks the first close brace ends the variable substitution.
9683 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9685 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9687 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9693 ?
:* ) # Drive letter, considered as absolute.
9696 INSTALL
=`pwd`/${INSTALL} ;;
9704 *) INSTALL_DIR
="$INSTALL -d"
9712 INSTALL_PROGRAM
="cp -fp"
9713 INSTALL_DATA
="cp -fp"
9719 # Extract the first word of "strip", so it can be a program name with args.
9720 set dummy strip
; ac_word
=$2
9721 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9722 echo "configure:9723: checking for $ac_word" >&5
9723 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9724 echo $ac_n "(cached) $ac_c" 1>&6
9726 if test -n "$STRIP"; then
9727 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9729 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9731 for ac_dir
in $ac_dummy; do
9732 test -z "$ac_dir" && ac_dir
=.
9733 if test -f $ac_dir/$ac_word; then
9734 ac_cv_prog_STRIP
="strip"
9739 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9742 STRIP
="$ac_cv_prog_STRIP"
9743 if test -n "$STRIP"; then
9744 echo "$ac_t""$STRIP" 1>&6
9746 echo "$ac_t""no" 1>&6
9750 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9751 echo "configure:9752: checking if make is GNU make" >&5
9752 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9753 echo $ac_n "(cached) $ac_c" 1>&6
9756 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9757 egrep -s GNU
> /dev
/null
); then
9758 wx_cv_prog_makeisgnu
="yes"
9760 wx_cv_prog_makeisgnu
="no"
9765 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9767 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9775 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9776 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9777 echo "configure:9778: checking if make supports VPATH" >&5
9778 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9779 echo $ac_n "(cached) $ac_c" 1>&6
9782 cat - << EOF > confMake
9788 if test ! -d sub
; then
9791 echo dummy
> sub
/file
9792 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9794 rm -f sub
/file check final_file confMake
9796 if test "$RESULT" = 0; then
9797 wx_cv_prog_makevpath
="yes"
9799 wx_cv_prog_makevpath
="no"
9804 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9806 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9807 { echo "configure: error:
9808 You need a make-utility that is able to use the variable
9810 If your version of make does not support VPATH correctly,
9811 please install GNU-make (possibly as gmake), and start
9812 configure with the following command:
9813 export MAKE=gmake; ./configure for sh-type shells
9814 setenv MAKE gmake; ./configure for csh-type shells
9815 Also please do remember to use gmake in this case every time
9816 you are trying to compile.
9819 for ac_prog
in 'bison -y' byacc
9821 # Extract the first word of "$ac_prog", so it can be a program name with args.
9822 set dummy
$ac_prog; ac_word
=$2
9823 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9824 echo "configure:9825: checking for $ac_word" >&5
9825 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9826 echo $ac_n "(cached) $ac_c" 1>&6
9828 if test -n "$YACC"; then
9829 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9831 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9833 for ac_dir
in $ac_dummy; do
9834 test -z "$ac_dir" && ac_dir
=.
9835 if test -f $ac_dir/$ac_word; then
9836 ac_cv_prog_YACC
="$ac_prog"
9843 YACC
="$ac_cv_prog_YACC"
9844 if test -n "$YACC"; then
9845 echo "$ac_t""$YACC" 1>&6
9847 echo "$ac_t""no" 1>&6
9850 test -n "$YACC" && break
9852 test -n "$YACC" || YACC
="yacc"
9855 # Extract the first word of "flex", so it can be a program name with args.
9856 set dummy flex
; ac_word
=$2
9857 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9858 echo "configure:9859: checking for $ac_word" >&5
9859 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9860 echo $ac_n "(cached) $ac_c" 1>&6
9862 if test -n "$LEX"; then
9863 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9865 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9867 for ac_dir
in $ac_dummy; do
9868 test -z "$ac_dir" && ac_dir
=.
9869 if test -f $ac_dir/$ac_word; then
9870 ac_cv_prog_LEX
="flex"
9875 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9878 LEX
="$ac_cv_prog_LEX"
9879 if test -n "$LEX"; then
9880 echo "$ac_t""$LEX" 1>&6
9882 echo "$ac_t""no" 1>&6
9885 if test -z "$LEXLIB"
9891 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9892 echo "configure:9893: checking for yywrap in -l$ac_lib" >&5
9893 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9894 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9895 echo $ac_n "(cached) $ac_c" 1>&6
9897 ac_save_LIBS
="$LIBS"
9898 LIBS
="-l$ac_lib $LIBS"
9899 cat > conftest.
$ac_ext <<EOF
9900 #line 9901 "configure"
9901 #include "confdefs.h"
9902 /* Override any gcc2 internal prototype to avoid an error. */
9903 /* We use char because int might match the return type of a gcc2
9904 builtin and then its argument prototype would still apply. */
9911 if { (eval echo configure
:9912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9913 eval "ac_cv_lib_$ac_lib_var=yes"
9915 echo "configure: failed program was:" >&5
9916 cat conftest.
$ac_ext >&5
9918 eval "ac_cv_lib_$ac_lib_var=no"
9921 LIBS
="$ac_save_LIBS"
9924 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9925 echo "$ac_t""yes" 1>&6
9928 echo "$ac_t""no" 1>&6
9934 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9935 echo "configure:9936: checking whether ln -s works" >&5
9936 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9937 echo $ac_n "(cached) $ac_c" 1>&6
9940 if ln -s X conftestdata
2>/dev
/null
9943 ac_cv_prog_LN_S
="ln -s"
9948 LN_S
="$ac_cv_prog_LN_S"
9949 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9950 echo "$ac_t""yes" 1>&6
9952 echo "$ac_t""no" 1>&6
9957 *-pc-os2_emx | *-pc-os2-emx )
9958 LIBS
="$LIBS -lstdcpp"
9959 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
9960 echo $ac_n "checking for drand48 in -lcExt""... $ac_c" 1>&6
9961 echo "configure:9962: checking for drand48 in -lcExt" >&5
9962 ac_lib_var
=`echo cExt'_'drand48 | sed 'y%./+-%__p_%'`
9963 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9964 echo $ac_n "(cached) $ac_c" 1>&6
9966 ac_save_LIBS
="$LIBS"
9968 cat > conftest.
$ac_ext <<EOF
9969 #line 9970 "configure"
9970 #include "confdefs.h"
9971 /* Override any gcc2 internal prototype to avoid an error. */
9972 /* We use char because int might match the return type of a gcc2
9973 builtin and then its argument prototype would still apply. */
9980 if { (eval echo configure
:9981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9982 eval "ac_cv_lib_$ac_lib_var=yes"
9984 echo "configure: failed program was:" >&5
9985 cat conftest.
$ac_ext >&5
9987 eval "ac_cv_lib_$ac_lib_var=no"
9990 LIBS
="$ac_save_LIBS"
9993 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9994 echo "$ac_t""yes" 1>&6
9997 echo "$ac_t""no" 1>&6
10001 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
10007 if test "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
10008 for ac_hdr
in strings.h
10010 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10011 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10012 echo "configure:10013: checking for $ac_hdr" >&5
10013 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10014 echo $ac_n "(cached) $ac_c" 1>&6
10016 cat > conftest.
$ac_ext <<EOF
10017 #line 10018 "configure"
10018 #include "confdefs.h"
10021 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10022 { (eval echo configure
:10023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10023 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10024 if test -z "$ac_err"; then
10026 eval "ac_cv_header_$ac_safe=yes"
10029 echo "configure: failed program was:" >&5
10030 cat conftest.
$ac_ext >&5
10032 eval "ac_cv_header_$ac_safe=no"
10036 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10037 echo "$ac_t""yes" 1>&6
10038 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10039 cat >> confdefs.h
<<EOF
10040 #define $ac_tr_hdr 1
10044 echo "$ac_t""no" 1>&6
10050 for ac_hdr
in stdlib.h
10052 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10053 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10054 echo "configure:10055: checking for $ac_hdr" >&5
10055 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10056 echo $ac_n "(cached) $ac_c" 1>&6
10058 cat > conftest.
$ac_ext <<EOF
10059 #line 10060 "configure"
10060 #include "confdefs.h"
10063 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10064 { (eval echo configure
:10065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10065 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10066 if test -z "$ac_err"; then
10068 eval "ac_cv_header_$ac_safe=yes"
10071 echo "configure: failed program was:" >&5
10072 cat conftest.
$ac_ext >&5
10074 eval "ac_cv_header_$ac_safe=no"
10078 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10079 echo "$ac_t""yes" 1>&6
10080 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10081 cat >> confdefs.h
<<EOF
10082 #define $ac_tr_hdr 1
10086 echo "$ac_t""no" 1>&6
10090 for ac_hdr
in malloc.h
10092 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10093 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10094 echo "configure:10095: checking for $ac_hdr" >&5
10095 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10096 echo $ac_n "(cached) $ac_c" 1>&6
10098 cat > conftest.
$ac_ext <<EOF
10099 #line 10100 "configure"
10100 #include "confdefs.h"
10103 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10104 { (eval echo configure
:10105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10105 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10106 if test -z "$ac_err"; then
10108 eval "ac_cv_header_$ac_safe=yes"
10111 echo "configure: failed program was:" >&5
10112 cat conftest.
$ac_ext >&5
10114 eval "ac_cv_header_$ac_safe=no"
10118 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10119 echo "$ac_t""yes" 1>&6
10120 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10121 cat >> confdefs.h
<<EOF
10122 #define $ac_tr_hdr 1
10126 echo "$ac_t""no" 1>&6
10130 for ac_hdr
in unistd.h
10132 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10133 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10134 echo "configure:10135: checking for $ac_hdr" >&5
10135 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10136 echo $ac_n "(cached) $ac_c" 1>&6
10138 cat > conftest.
$ac_ext <<EOF
10139 #line 10140 "configure"
10140 #include "confdefs.h"
10143 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10144 { (eval echo configure
:10145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10145 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10146 if test -z "$ac_err"; then
10148 eval "ac_cv_header_$ac_safe=yes"
10151 echo "configure: failed program was:" >&5
10152 cat conftest.
$ac_ext >&5
10154 eval "ac_cv_header_$ac_safe=no"
10158 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10159 echo "$ac_t""yes" 1>&6
10160 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10161 cat >> confdefs.h
<<EOF
10162 #define $ac_tr_hdr 1
10166 echo "$ac_t""no" 1>&6
10170 for ac_hdr
in wchar.h
10172 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10173 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10174 echo "configure:10175: checking for $ac_hdr" >&5
10175 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10176 echo $ac_n "(cached) $ac_c" 1>&6
10178 cat > conftest.
$ac_ext <<EOF
10179 #line 10180 "configure"
10180 #include "confdefs.h"
10183 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10184 { (eval echo configure
:10185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10185 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10186 if test -z "$ac_err"; then
10188 eval "ac_cv_header_$ac_safe=yes"
10191 echo "configure: failed program was:" >&5
10192 cat conftest.
$ac_ext >&5
10194 eval "ac_cv_header_$ac_safe=no"
10198 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10199 echo "$ac_t""yes" 1>&6
10200 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10201 cat >> confdefs.h
<<EOF
10202 #define $ac_tr_hdr 1
10206 echo "$ac_t""no" 1>&6
10211 if test "$ac_cv_header_wchar_h" != "yes"; then
10212 for ac_hdr
in wcstr.h
10214 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10215 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10216 echo "configure:10217: checking for $ac_hdr" >&5
10217 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10218 echo $ac_n "(cached) $ac_c" 1>&6
10220 cat > conftest.
$ac_ext <<EOF
10221 #line 10222 "configure"
10222 #include "confdefs.h"
10225 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10226 { (eval echo configure
:10227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10227 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10228 if test -z "$ac_err"; then
10230 eval "ac_cv_header_$ac_safe=yes"
10233 echo "configure: failed program was:" >&5
10234 cat conftest.
$ac_ext >&5
10236 eval "ac_cv_header_$ac_safe=no"
10240 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10241 echo "$ac_t""yes" 1>&6
10242 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10243 cat >> confdefs.h
<<EOF
10244 #define $ac_tr_hdr 1
10248 echo "$ac_t""no" 1>&6
10254 for ac_hdr
in fnmatch.h
10256 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10257 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10258 echo "configure:10259: checking for $ac_hdr" >&5
10259 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10260 echo $ac_n "(cached) $ac_c" 1>&6
10262 cat > conftest.
$ac_ext <<EOF
10263 #line 10264 "configure"
10264 #include "confdefs.h"
10267 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10268 { (eval echo configure
:10269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10269 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10270 if test -z "$ac_err"; then
10272 eval "ac_cv_header_$ac_safe=yes"
10275 echo "configure: failed program was:" >&5
10276 cat conftest.
$ac_ext >&5
10278 eval "ac_cv_header_$ac_safe=no"
10282 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10283 echo "$ac_t""yes" 1>&6
10284 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10285 cat >> confdefs.h
<<EOF
10286 #define $ac_tr_hdr 1
10290 echo "$ac_t""no" 1>&6
10295 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
10296 for ac_func
in fnmatch
10298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10299 echo "configure:10300: checking for $ac_func" >&5
10300 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10301 echo $ac_n "(cached) $ac_c" 1>&6
10303 cat > conftest.
$ac_ext <<EOF
10304 #line 10305 "configure"
10305 #include "confdefs.h"
10306 /* System header to define __stub macros and hopefully few prototypes,
10307 which can conflict with char $ac_func(); below. */
10308 #include <assert.h>
10309 /* Override any gcc2 internal prototype to avoid an error. */
10310 /* We use char because int might match the return type of a gcc2
10311 builtin and then its argument prototype would still apply. */
10316 /* The GNU C library defines this for functions which it implements
10317 to always fail with ENOSYS. Some functions are actually named
10318 something starting with __ and the normal name is an alias. */
10319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10327 if { (eval echo configure
:10328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10329 eval "ac_cv_func_$ac_func=yes"
10331 echo "configure: failed program was:" >&5
10332 cat conftest.
$ac_ext >&5
10334 eval "ac_cv_func_$ac_func=no"
10339 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10340 echo "$ac_t""yes" 1>&6
10341 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10342 cat >> confdefs.h
<<EOF
10343 #define $ac_tr_func 1
10347 echo "$ac_t""no" 1>&6
10353 for ac_hdr
in langinfo.h
10355 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10356 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10357 echo "configure:10358: checking for $ac_hdr" >&5
10358 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10359 echo $ac_n "(cached) $ac_c" 1>&6
10361 cat > conftest.
$ac_ext <<EOF
10362 #line 10363 "configure"
10363 #include "confdefs.h"
10366 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10367 { (eval echo configure
:10368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10368 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10369 if test -z "$ac_err"; then
10371 eval "ac_cv_header_$ac_safe=yes"
10374 echo "configure: failed program was:" >&5
10375 cat conftest.
$ac_ext >&5
10377 eval "ac_cv_header_$ac_safe=no"
10381 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10382 echo "$ac_t""yes" 1>&6
10383 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10384 cat >> confdefs.h
<<EOF
10385 #define $ac_tr_hdr 1
10389 echo "$ac_t""no" 1>&6
10395 *-pc-os2_emx | *-pc-os2-emx )
10396 if test $ac_cv_header_langinfo_h = "yes"; then
10397 LIBS
="$LIBS -lintl"
10402 if test "$wxUSE_GUI" = "yes"; then
10403 if test "$wxUSE_UNIX" = "yes"; then
10404 for ac_hdr
in X
11/XKBlib.h
10406 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10407 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10408 echo "configure:10409: checking for $ac_hdr" >&5
10409 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10410 echo $ac_n "(cached) $ac_c" 1>&6
10412 cat > conftest.
$ac_ext <<EOF
10413 #line 10414 "configure"
10414 #include "confdefs.h"
10417 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10418 { (eval echo configure
:10419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10419 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10420 if test -z "$ac_err"; then
10422 eval "ac_cv_header_$ac_safe=yes"
10425 echo "configure: failed program was:" >&5
10426 cat conftest.
$ac_ext >&5
10428 eval "ac_cv_header_$ac_safe=no"
10432 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10433 echo "$ac_t""yes" 1>&6
10434 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10435 cat >> confdefs.h
<<EOF
10436 #define $ac_tr_hdr 1
10440 echo "$ac_t""no" 1>&6
10448 echo $ac_n "checking for working const""... $ac_c" 1>&6
10449 echo "configure:10450: checking for working const" >&5
10450 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10451 echo $ac_n "(cached) $ac_c" 1>&6
10453 cat > conftest.
$ac_ext <<EOF
10454 #line 10455 "configure"
10455 #include "confdefs.h"
10459 /* Ultrix mips cc rejects this. */
10460 typedef int charset[2]; const charset x;
10461 /* SunOS 4.1.1 cc rejects this. */
10462 char const *const *ccp;
10464 /* NEC SVR4.0.2 mips cc rejects this. */
10465 struct point {int x, y;};
10466 static struct point const zero = {0,0};
10467 /* AIX XL C 1.02.0.0 rejects this.
10468 It does not let you subtract one const X* pointer from another in an arm
10469 of an if-expression whose if-part is not a constant expression */
10470 const char *g = "string";
10471 ccp = &g + (g ? g-g : 0);
10472 /* HPUX 7.0 cc rejects these. */
10475 ccp = (char const *const *) p;
10476 { /* SCO 3.2v4 cc rejects this. */
10478 char const *s = 0 ? (char *) 0 : (char const *) 0;
10482 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10483 int x[] = {25, 17};
10484 const int *foo = &x[0];
10487 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10488 typedef const int *iptr;
10492 { /* AIX XL C 1.02.0.0 rejects this saying
10493 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10494 struct s { int j; const int *ap[3]; };
10495 struct s *b; b->j = 5;
10497 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10498 const int foo = 10;
10503 if { (eval echo configure
:10504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10507 echo "configure: failed program was:" >&5
10508 cat conftest.
$ac_ext >&5
10515 echo "$ac_t""$ac_cv_c_const" 1>&6
10516 if test $ac_cv_c_const = no
; then
10517 cat >> confdefs.h
<<\EOF
10523 echo $ac_n "checking for inline""... $ac_c" 1>&6
10524 echo "configure:10525: checking for inline" >&5
10525 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10526 echo $ac_n "(cached) $ac_c" 1>&6
10529 for ac_kw
in inline __inline__ __inline
; do
10530 cat > conftest.
$ac_ext <<EOF
10531 #line 10532 "configure"
10532 #include "confdefs.h"
10538 if { (eval echo configure
:10539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10540 ac_cv_c_inline
=$ac_kw; break
10542 echo "configure: failed program was:" >&5
10543 cat conftest.
$ac_ext >&5
10550 echo "$ac_t""$ac_cv_c_inline" 1>&6
10551 case "$ac_cv_c_inline" in
10553 no
) cat >> confdefs.h
<<\EOF
10557 *) cat >> confdefs.h
<<EOF
10558 #define inline $ac_cv_c_inline
10564 echo $ac_n "checking size of char""... $ac_c" 1>&6
10565 echo "configure:10566: checking size of char" >&5
10566 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10567 echo $ac_n "(cached) $ac_c" 1>&6
10569 if test "$cross_compiling" = yes; then
10570 ac_cv_sizeof_char
=1
10572 cat > conftest.
$ac_ext <<EOF
10573 #line 10574 "configure"
10574 #include "confdefs.h"
10578 FILE *f=fopen("conftestval", "w");
10580 fprintf(f, "%d\n", sizeof(char));
10584 if { (eval echo configure
:10585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10586 ac_cv_sizeof_char
=`cat conftestval`
10588 echo "configure: failed program was:" >&5
10589 cat conftest.
$ac_ext >&5
10591 ac_cv_sizeof_char
=0
10597 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10598 cat >> confdefs.h
<<EOF
10599 #define SIZEOF_CHAR $ac_cv_sizeof_char
10603 echo $ac_n "checking size of short""... $ac_c" 1>&6
10604 echo "configure:10605: checking size of short" >&5
10605 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10606 echo $ac_n "(cached) $ac_c" 1>&6
10608 if test "$cross_compiling" = yes; then
10609 ac_cv_sizeof_short
=2
10611 cat > conftest.
$ac_ext <<EOF
10612 #line 10613 "configure"
10613 #include "confdefs.h"
10617 FILE *f=fopen("conftestval", "w");
10619 fprintf(f, "%d\n", sizeof(short));
10623 if { (eval echo configure
:10624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10625 ac_cv_sizeof_short
=`cat conftestval`
10627 echo "configure: failed program was:" >&5
10628 cat conftest.
$ac_ext >&5
10630 ac_cv_sizeof_short
=0
10636 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10637 cat >> confdefs.h
<<EOF
10638 #define SIZEOF_SHORT $ac_cv_sizeof_short
10642 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10643 echo "configure:10644: checking size of void *" >&5
10644 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10645 echo $ac_n "(cached) $ac_c" 1>&6
10647 if test "$cross_compiling" = yes; then
10648 ac_cv_sizeof_void_p
=4
10650 cat > conftest.
$ac_ext <<EOF
10651 #line 10652 "configure"
10652 #include "confdefs.h"
10656 FILE *f=fopen("conftestval", "w");
10658 fprintf(f, "%d\n", sizeof(void *));
10662 if { (eval echo configure
:10663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10664 ac_cv_sizeof_void_p
=`cat conftestval`
10666 echo "configure: failed program was:" >&5
10667 cat conftest.
$ac_ext >&5
10669 ac_cv_sizeof_void_p
=0
10675 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10676 cat >> confdefs.h
<<EOF
10677 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10681 echo $ac_n "checking size of int""... $ac_c" 1>&6
10682 echo "configure:10683: checking size of int" >&5
10683 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10684 echo $ac_n "(cached) $ac_c" 1>&6
10686 if test "$cross_compiling" = yes; then
10689 cat > conftest.
$ac_ext <<EOF
10690 #line 10691 "configure"
10691 #include "confdefs.h"
10695 FILE *f=fopen("conftestval", "w");
10697 fprintf(f, "%d\n", sizeof(int));
10701 if { (eval echo configure
:10702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10703 ac_cv_sizeof_int
=`cat conftestval`
10705 echo "configure: failed program was:" >&5
10706 cat conftest.
$ac_ext >&5
10714 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10715 cat >> confdefs.h
<<EOF
10716 #define SIZEOF_INT $ac_cv_sizeof_int
10720 echo $ac_n "checking size of long""... $ac_c" 1>&6
10721 echo "configure:10722: checking size of long" >&5
10722 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10723 echo $ac_n "(cached) $ac_c" 1>&6
10725 if test "$cross_compiling" = yes; then
10726 ac_cv_sizeof_long
=4
10728 cat > conftest.
$ac_ext <<EOF
10729 #line 10730 "configure"
10730 #include "confdefs.h"
10734 FILE *f=fopen("conftestval", "w");
10736 fprintf(f, "%d\n", sizeof(long));
10740 if { (eval echo configure
:10741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10742 ac_cv_sizeof_long
=`cat conftestval`
10744 echo "configure: failed program was:" >&5
10745 cat conftest.
$ac_ext >&5
10747 ac_cv_sizeof_long
=0
10753 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10754 cat >> confdefs.h
<<EOF
10755 #define SIZEOF_LONG $ac_cv_sizeof_long
10762 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10763 echo "configure:10764: checking size of long long" >&5
10764 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10765 echo $ac_n "(cached) $ac_c" 1>&6
10767 if test "$cross_compiling" = yes; then
10768 ac_cv_sizeof_long_long
=8
10770 cat > conftest.
$ac_ext <<EOF
10771 #line 10772 "configure"
10772 #include "confdefs.h"
10776 FILE *f=fopen("conftestval", "w");
10778 fprintf(f, "%d\n", sizeof(long long));
10782 if { (eval echo configure
:10783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10784 ac_cv_sizeof_long_long
=`cat conftestval`
10786 echo "configure: failed program was:" >&5
10787 cat conftest.
$ac_ext >&5
10789 ac_cv_sizeof_long_long
=0
10795 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10796 cat >> confdefs.h
<<EOF
10797 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10803 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10804 echo "configure:10805: checking size of long long" >&5
10805 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10806 echo $ac_n "(cached) $ac_c" 1>&6
10808 if test "$cross_compiling" = yes; then
10809 ac_cv_sizeof_long_long
=0
10811 cat > conftest.
$ac_ext <<EOF
10812 #line 10813 "configure"
10813 #include "confdefs.h"
10817 FILE *f=fopen("conftestval", "w");
10819 fprintf(f, "%d\n", sizeof(long long));
10823 if { (eval echo configure
:10824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10825 ac_cv_sizeof_long_long
=`cat conftestval`
10827 echo "configure: failed program was:" >&5
10828 cat conftest.
$ac_ext >&5
10830 ac_cv_sizeof_long_long
=0
10836 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10837 cat >> confdefs.h
<<EOF
10838 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10842 if test "$ac_cv_sizeof_long_long" != "0"; then
10843 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
10847 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10848 echo "configure:10849: checking size of long long" >&5
10849 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10850 echo $ac_n "(cached) $ac_c" 1>&6
10852 if test "$cross_compiling" = yes; then
10853 ac_cv_sizeof_long_long
=0
10855 cat > conftest.
$ac_ext <<EOF
10856 #line 10857 "configure"
10857 #include "confdefs.h"
10861 FILE *f=fopen("conftestval", "w");
10863 fprintf(f, "%d\n", sizeof(long long));
10867 if { (eval echo configure
:10868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10869 ac_cv_sizeof_long_long
=`cat conftestval`
10871 echo "configure: failed program was:" >&5
10872 cat conftest.
$ac_ext >&5
10874 ac_cv_sizeof_long_long
=0
10880 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10881 cat >> confdefs.h
<<EOF
10882 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10888 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10889 echo "configure:10890: checking size of wchar_t" >&5
10890 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10891 echo $ac_n "(cached) $ac_c" 1>&6
10894 if test "$cross_compiling" = yes; then
10898 wx_cv_sizeof_wchar_t
=0
10901 wx_cv_sizeof_wchar_t
=4
10907 cat > conftest.
$ac_ext <<EOF
10908 #line 10909 "configure"
10909 #include "confdefs.h"
10911 /* DJGPP only has fake wchar_t: */
10913 # error "fake wchar_t"
10915 #ifdef HAVE_WCHAR_H
10917 # include <stddef.h>
10919 # include <wchar.h>
10921 #ifdef HAVE_STDLIB_H
10922 # include <stdlib.h>
10927 FILE *f=fopen("conftestval", "w");
10929 fprintf(f, "%i", sizeof(wchar_t));
10934 if { (eval echo configure
:10935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10936 wx_cv_sizeof_wchar_t
=`cat conftestval`
10938 echo "configure: failed program was:" >&5
10939 cat conftest.
$ac_ext >&5
10941 wx_cv_sizeof_wchar_t
=0
10949 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10951 cat >> confdefs.h
<<EOF
10952 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10956 # Check whether --enable-largefile or --disable-largefile was given.
10957 if test "${enable_largefile+set}" = set; then
10958 enableval
="$enable_largefile"
10962 if test "$enable_largefile" != no
; then
10965 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10966 echo "configure:10967: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10967 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10968 echo $ac_n "(cached) $ac_c" 1>&6
10971 cat > conftest.
$ac_ext <<EOF
10972 #line 10973 "configure"
10973 #include "confdefs.h"
10974 #define _FILE_OFFSET_BITS 64
10975 #include <sys/types.h>
10978 unsigned int field: sizeof(off_t) == 8;
10983 if { (eval echo configure
:10984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10985 ac_cv_sys_file_offset_bits
=64
10987 echo "configure: failed program was:" >&5
10988 cat conftest.
$ac_ext >&5
10990 ac_cv_sys_file_offset_bits
=no
10997 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10999 if test "$ac_cv_sys_file_offset_bits" != no
; then
11001 cat >> confdefs.h
<<EOF
11002 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11007 if test "x$wx_largefile" != "xyes"; then
11009 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
11010 echo "configure:11011: checking for _LARGE_FILES value needed for large files" >&5
11011 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
11012 echo $ac_n "(cached) $ac_c" 1>&6
11015 cat > conftest.
$ac_ext <<EOF
11016 #line 11017 "configure"
11017 #include "confdefs.h"
11018 #define _LARGE_FILES 1
11019 #include <sys/types.h>
11022 unsigned int field: sizeof(off_t) == 8;
11027 if { (eval echo configure
:11028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11029 ac_cv_sys_large_files
=1
11031 echo "configure: failed program was:" >&5
11032 cat conftest.
$ac_ext >&5
11034 ac_cv_sys_large_files
=no
11041 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
11043 if test "$ac_cv_sys_large_files" != no
; then
11045 cat >> confdefs.h
<<EOF
11046 #define _LARGE_FILES $ac_cv_sys_large_files
11053 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
11054 echo "configure:11055: checking if large file support is available" >&5
11055 if test "x$wx_largefile" = "xyes"; then
11056 cat >> confdefs.h
<<\EOF
11057 #define HAVE_LARGEFILE_SUPPORT 1
11061 echo "$ac_t""$wx_largefile" 1>&6
11065 if test "x$wx_largefile" = "xyes"; then
11066 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
11067 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
11069 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
11071 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
11074 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
11075 echo "configure:11076: checking whether byte ordering is bigendian" >&5
11076 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
11077 echo $ac_n "(cached) $ac_c" 1>&6
11079 ac_cv_c_bigendian
=unknown
11080 # See if sys/param.h defines the BYTE_ORDER macro.
11081 cat > conftest.
$ac_ext <<EOF
11082 #line 11083 "configure"
11083 #include "confdefs.h"
11084 #include <sys/types.h>
11085 #include <sys/param.h>
11088 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
11089 bogus endian macros
11093 if { (eval echo configure
:11094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11095 # It does; now see whether it defined to BIG_ENDIAN or not.
11096 cat > conftest.
$ac_ext <<EOF
11097 #line 11098 "configure"
11098 #include "confdefs.h"
11099 #include <sys/types.h>
11100 #include <sys/param.h>
11103 #if BYTE_ORDER != BIG_ENDIAN
11108 if { (eval echo configure
:11109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11110 ac_cv_c_bigendian
=yes
11112 echo "configure: failed program was:" >&5
11113 cat conftest.
$ac_ext >&5
11115 ac_cv_c_bigendian
=no
11119 echo "configure: failed program was:" >&5
11120 cat conftest.
$ac_ext >&5
11123 if test $ac_cv_c_bigendian = unknown
; then
11124 if test "$cross_compiling" = yes; then
11125 ac_cv_c_bigendian
=unknown
11127 cat > conftest.
$ac_ext <<EOF
11128 #line 11129 "configure"
11129 #include "confdefs.h"
11131 /* Are we little or big endian? From Harbison&Steele. */
11135 char c[sizeof (long)];
11138 exit (u.c[sizeof (long) - 1] == 1);
11141 if { (eval echo configure
:11142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11143 ac_cv_c_bigendian
=no
11145 echo "configure: failed program was:" >&5
11146 cat conftest.
$ac_ext >&5
11148 ac_cv_c_bigendian
=yes
11156 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
11157 if test $ac_cv_c_bigendian = unknown
; then
11158 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
11160 if test $ac_cv_c_bigendian = yes; then
11161 cat >> confdefs.h
<<\EOF
11162 #define WORDS_BIGENDIAN 1
11168 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
11169 echo "configure:11170: checking how to run the C++ preprocessor" >&5
11170 if test -z "$CXXCPP"; then
11171 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
11172 echo $ac_n "(cached) $ac_c" 1>&6
11175 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11176 ac_cpp
='$CXXCPP $CPPFLAGS'
11177 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11178 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11179 cross_compiling
=$ac_cv_prog_cxx_cross
11180 CXXCPP
="${CXX-g++} -E"
11181 cat > conftest.
$ac_ext <<EOF
11182 #line 11183 "configure"
11183 #include "confdefs.h"
11184 #include <stdlib.h>
11186 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11187 { (eval echo configure
:11188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11188 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11189 if test -z "$ac_err"; then
11193 echo "configure: failed program was:" >&5
11194 cat conftest.
$ac_ext >&5
11199 ac_cv_prog_CXXCPP
="$CXXCPP"
11201 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11202 ac_cpp
='$CXXCPP $CPPFLAGS'
11203 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11204 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11205 cross_compiling
=$ac_cv_prog_cxx_cross
11208 CXXCPP
="$ac_cv_prog_CXXCPP"
11209 echo "$ac_t""$CXXCPP" 1>&6
11212 if test "$cross_compiling" = "yes"; then
11213 cat >> confdefs.h
<<\EOF
11214 #define wxUSE_IOSTREAMH 1
11220 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11221 ac_cpp
='$CXXCPP $CPPFLAGS'
11222 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11223 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11224 cross_compiling
=$ac_cv_prog_cxx_cross
11227 for ac_hdr
in iostream
11229 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11230 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11231 echo "configure:11232: checking for $ac_hdr" >&5
11232 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11233 echo $ac_n "(cached) $ac_c" 1>&6
11235 cat > conftest.
$ac_ext <<EOF
11236 #line 11237 "configure"
11237 #include "confdefs.h"
11240 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11241 { (eval echo configure
:11242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11242 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11243 if test -z "$ac_err"; then
11245 eval "ac_cv_header_$ac_safe=yes"
11248 echo "configure: failed program was:" >&5
11249 cat conftest.
$ac_ext >&5
11251 eval "ac_cv_header_$ac_safe=no"
11255 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11256 echo "$ac_t""yes" 1>&6
11257 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11258 cat >> confdefs.h
<<EOF
11259 #define $ac_tr_hdr 1
11263 echo "$ac_t""no" 1>&6
11268 if test "$ac_cv_header_iostream" = "yes" ; then
11271 cat >> confdefs.h
<<\EOF
11272 #define wxUSE_IOSTREAMH 1
11278 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11279 ac_cpp
='$CPP $CPPFLAGS'
11280 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11281 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11282 cross_compiling
=$ac_cv_prog_cc_cross
11288 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
11289 echo "configure:11290: checking if C++ compiler supports bool" >&5
11290 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
11291 echo $ac_n "(cached) $ac_c" 1>&6
11296 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11297 ac_cpp
='$CXXCPP $CPPFLAGS'
11298 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11299 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11300 cross_compiling
=$ac_cv_prog_cxx_cross
11303 cat > conftest.
$ac_ext <<EOF
11304 #line 11305 "configure"
11305 #include "confdefs.h"
11316 if { (eval echo configure
:11317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11322 echo "configure: failed program was:" >&5
11323 cat conftest.
$ac_ext >&5
11333 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11334 ac_cpp
='$CPP $CPPFLAGS'
11335 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11336 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11337 cross_compiling
=$ac_cv_prog_cc_cross
11342 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
11344 if test "$wx_cv_cpp_bool" = "yes"; then
11345 cat >> confdefs.h
<<\EOF
11346 #define HAVE_BOOL 1
11353 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
11354 echo "configure:11355: checking if C++ compiler supports the explicit keyword" >&5
11355 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
11356 echo $ac_n "(cached) $ac_c" 1>&6
11361 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11362 ac_cpp
='$CXXCPP $CPPFLAGS'
11363 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11364 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11365 cross_compiling
=$ac_cv_prog_cxx_cross
11368 cat > conftest.
$ac_ext <<EOF
11369 #line 11370 "configure"
11370 #include "confdefs.h"
11372 class Foo { public: explicit Foo(int) {} };
11380 if { (eval echo configure
:11381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11383 cat > conftest.
$ac_ext <<EOF
11384 #line 11385 "configure"
11385 #include "confdefs.h"
11387 class Foo { public: explicit Foo(int) {} };
11388 static void TakeFoo(const Foo& foo) { }
11397 if { (eval echo configure
:11398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11401 echo "configure: failed program was:" >&5
11402 cat conftest.
$ac_ext >&5
11410 echo "configure: failed program was:" >&5
11411 cat conftest.
$ac_ext >&5
11419 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11420 ac_cpp
='$CPP $CPPFLAGS'
11421 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11422 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11423 cross_compiling
=$ac_cv_prog_cc_cross
11428 echo "$ac_t""$wx_cv_explicit" 1>&6
11430 if test "$wx_cv_explicit" = "yes"; then
11431 cat >> confdefs.h
<<\EOF
11432 #define HAVE_EXPLICIT 1
11438 echo $ac_n "checking whether the compiler supports const_cast<>""... $ac_c" 1>&6
11439 echo "configure:11440: checking whether the compiler supports const_cast<>" >&5
11440 if eval "test \"`echo '$''{'ac_cv_cxx_const_cast'+set}'`\" = set"; then
11441 echo $ac_n "(cached) $ac_c" 1>&6
11445 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11446 ac_cpp
='$CXXCPP $CPPFLAGS'
11447 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11448 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11449 cross_compiling
=$ac_cv_prog_cxx_cross
11451 cat > conftest.
$ac_ext <<EOF
11452 #line 11453 "configure"
11453 #include "confdefs.h"
11456 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
11459 if { (eval echo configure
:11460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11461 ac_cv_cxx_const_cast
=yes
11463 echo "configure: failed program was:" >&5
11464 cat conftest.
$ac_ext >&5
11466 ac_cv_cxx_const_cast
=no
11470 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11471 ac_cpp
='$CPP $CPPFLAGS'
11472 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11473 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11474 cross_compiling
=$ac_cv_prog_cc_cross
11479 echo "$ac_t""$ac_cv_cxx_const_cast" 1>&6
11480 if test "$ac_cv_cxx_const_cast" = yes; then
11481 cat >> confdefs.h
<<\EOF
11482 #define HAVE_CONST_CAST
11490 /usr/local/include \
11492 /usr/Motif-1.2/include \
11493 /usr/Motif-2.1/include \
11495 /usr/include/Motif1.2 \
11496 /opt/xpm/include/X11 \
11497 /opt/GBxpm/include/ \
11498 /opt/GBxpm/X11/include/ \
11500 /usr/Motif1.2/include \
11502 /usr/openwin/include \
11506 /usr/X11R6/include \
11507 /usr/X11R6.4/include \
11508 /usr/X11R5/include \
11509 /usr/X11R4/include \
11511 /usr/include/X11R6 \
11512 /usr/include/X11R5 \
11513 /usr/include/X11R4 \
11515 /usr/local/X11R6/include \
11516 /usr/local/X11R5/include \
11517 /usr/local/X11R4/include \
11519 /usr/local/include/X11R6 \
11520 /usr/local/include/X11R5 \
11521 /usr/local/include/X11R4 \
11525 /usr/local/X11/include \
11526 /usr/local/include/X11 \
11528 /usr/X386/include \
11529 /usr/x386/include \
11530 /usr/XFree86/include/X11 \
11532 X:/XFree86/include \
11533 X:/XFree86/include/X11 \
11536 /usr/local/include/gtk \
11537 /usr/include/glib \
11538 /usr/local/include/glib \
11541 /usr/local/include/qt \
11543 /usr/include/windows \
11544 /usr/include/wine \
11545 /usr/local/include/wine \
11547 /usr/unsupported/include \
11548 /usr/athena/include \
11549 /usr/local/x11r5/include \
11550 /usr/lpp/Xamples/include \
11552 /usr/openwin/share/include"
11554 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
11557 cat > confcache
<<\EOF
11558 # This file is a shell script that caches the results of configure
11559 # tests run on this system so they can be shared between configure
11560 # scripts and configure runs. It is not useful on other systems.
11561 # If it contains results you don't want to keep, you may remove or edit it.
11563 # By default, configure uses ./config.cache as the cache file,
11564 # creating it if it does not exist already. You can give configure
11565 # the --cache-file=FILE option to use a different cache file; that is
11566 # what configure does when it calls configure scripts in
11567 # subdirectories, so they share the cache.
11568 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11569 # config.status only pays attention to the cache file if you give it the
11570 # --recheck option to rerun configure.
11573 # The following way of writing the cache mishandles newlines in values,
11574 # but we know of no workaround that is simple, portable, and efficient.
11575 # So, don't put newlines in cache variables' values.
11576 # Ultrix sh set writes to stderr and can't be redirected directly,
11577 # and sets the high bit in the cache file unless we assign to the vars.
11579 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11581 # `set' does not quote correctly, so add quotes (double-quote substitution
11582 # turns \\\\ into \\, and sed turns \\ into \).
11584 -e "s/'/'\\\\''/g" \
11585 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11588 # `set' quotes correctly as required by POSIX, so do not add quotes.
11589 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11592 if cmp -s $cache_file confcache
; then
11595 if test -w $cache_file; then
11596 echo "updating cache $cache_file"
11597 cat confcache
> $cache_file
11599 echo "not updating unwritable cache $cache_file"
11605 if test "$USE_LINUX" = 1; then
11606 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
11607 echo "configure:11608: checking for glibc 2.1 or later" >&5
11608 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
11609 echo $ac_n "(cached) $ac_c" 1>&6
11612 cat > conftest.
$ac_ext <<EOF
11613 #line 11614 "configure"
11614 #include "confdefs.h"
11615 #include <features.h>
11618 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
11619 #error not glibc2.1
11624 if { (eval echo configure
:11625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11627 wx_cv_lib_glibc21
=yes
11630 echo "configure: failed program was:" >&5
11631 cat conftest.
$ac_ext >&5
11634 wx_cv_lib_glibc21
=no
11642 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11643 if test "$wx_cv_lib_glibc21" = "yes"; then
11644 cat >> confdefs.h
<<\EOF
11645 #define wxHAVE_GLIBC2 1
11651 if test "x$wx_cv_lib_glibc21" = "xyes"; then
11652 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
11653 cat >> confdefs.h
<<\EOF
11654 #define _GNU_SOURCE 1
11663 if test "$wxUSE_REGEX" != "no"; then
11664 cat >> confdefs.h
<<\EOF
11665 #define wxUSE_REGEX 1
11669 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11670 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11671 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11672 echo "configure:11673: checking for regex.h" >&5
11673 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11674 echo $ac_n "(cached) $ac_c" 1>&6
11676 cat > conftest.
$ac_ext <<EOF
11677 #line 11678 "configure"
11678 #include "confdefs.h"
11681 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11682 { (eval echo configure
:11683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11683 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11684 if test -z "$ac_err"; then
11686 eval "ac_cv_header_$ac_safe=yes"
11689 echo "configure: failed program was:" >&5
11690 cat conftest.
$ac_ext >&5
11692 eval "ac_cv_header_$ac_safe=no"
11696 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11697 echo "$ac_t""yes" 1>&6
11698 for ac_func
in regcomp
11700 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11701 echo "configure:11702: checking for $ac_func" >&5
11702 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11703 echo $ac_n "(cached) $ac_c" 1>&6
11705 cat > conftest.
$ac_ext <<EOF
11706 #line 11707 "configure"
11707 #include "confdefs.h"
11708 /* System header to define __stub macros and hopefully few prototypes,
11709 which can conflict with char $ac_func(); below. */
11710 #include <assert.h>
11711 /* Override any gcc2 internal prototype to avoid an error. */
11712 /* We use char because int might match the return type of a gcc2
11713 builtin and then its argument prototype would still apply. */
11718 /* The GNU C library defines this for functions which it implements
11719 to always fail with ENOSYS. Some functions are actually named
11720 something starting with __ and the normal name is an alias. */
11721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11729 if { (eval echo configure
:11730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11731 eval "ac_cv_func_$ac_func=yes"
11733 echo "configure: failed program was:" >&5
11734 cat conftest.
$ac_ext >&5
11736 eval "ac_cv_func_$ac_func=no"
11741 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11742 echo "$ac_t""yes" 1>&6
11743 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11744 cat >> confdefs.h
<<EOF
11745 #define $ac_tr_func 1
11749 echo "$ac_t""no" 1>&6
11754 echo "$ac_t""no" 1>&6
11758 if test "x$ac_cv_func_regcomp" != "xyes"; then
11759 if test "$wxUSE_REGEX" = "sys" ; then
11760 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11762 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11763 wxUSE_REGEX
=builtin
11770 if test "$wxUSE_REGEX" = "builtin" ; then
11771 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11778 if test "$wxUSE_ZLIB" != "no" ; then
11779 cat >> confdefs.h
<<\EOF
11780 #define wxUSE_ZLIB 1
11784 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11785 if test "$USE_DARWIN" = 1; then
11786 system_zlib_h_ok
="yes"
11788 echo $ac_n "checking for zlib.h >= 1.1.4""... $ac_c" 1>&6
11789 echo "configure:11790: checking for zlib.h >= 1.1.4" >&5
11790 if eval "test \"`echo '$''{'ac_cv_header_zlib_h'+set}'`\" = set"; then
11791 echo $ac_n "(cached) $ac_c" 1>&6
11793 if test "$cross_compiling" = yes; then
11794 unset ac_cv_header_zlib_h
11797 cat > conftest.
$ac_ext <<EOF
11798 #line 11799 "configure"
11799 #include "confdefs.h"
11807 FILE *f=fopen("conftestval", "w");
11810 ZLIB_VERSION[0] == '1' &&
11811 (ZLIB_VERSION[2] > '1' ||
11812 (ZLIB_VERSION[2] == '1' &&
11813 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
11819 if { (eval echo configure
:11820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11821 ac_cv_header_zlib_h
=`cat conftestval`
11823 echo "configure: failed program was:" >&5
11824 cat conftest.
$ac_ext >&5
11826 ac_cv_header_zlib_h
=no
11834 echo "$ac_t""$ac_cv_header_zlib_h" 1>&6
11835 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11836 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11837 echo "configure:11838: checking for zlib.h" >&5
11838 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11839 echo $ac_n "(cached) $ac_c" 1>&6
11841 cat > conftest.
$ac_ext <<EOF
11842 #line 11843 "configure"
11843 #include "confdefs.h"
11846 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11847 { (eval echo configure
:11848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11848 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11849 if test -z "$ac_err"; then
11851 eval "ac_cv_header_$ac_safe=yes"
11854 echo "configure: failed program was:" >&5
11855 cat conftest.
$ac_ext >&5
11857 eval "ac_cv_header_$ac_safe=no"
11861 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11862 echo "$ac_t""yes" 1>&6
11865 echo "$ac_t""no" 1>&6
11869 system_zlib_h_ok
=$ac_cv_header_zlib_h
11872 if test "$system_zlib_h_ok" = "yes"; then
11873 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11874 echo "configure:11875: checking for deflate in -lz" >&5
11875 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11876 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11877 echo $ac_n "(cached) $ac_c" 1>&6
11879 ac_save_LIBS
="$LIBS"
11881 cat > conftest.
$ac_ext <<EOF
11882 #line 11883 "configure"
11883 #include "confdefs.h"
11884 /* Override any gcc2 internal prototype to avoid an error. */
11885 /* We use char because int might match the return type of a gcc2
11886 builtin and then its argument prototype would still apply. */
11893 if { (eval echo configure
:11894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11895 eval "ac_cv_lib_$ac_lib_var=yes"
11897 echo "configure: failed program was:" >&5
11898 cat conftest.
$ac_ext >&5
11900 eval "ac_cv_lib_$ac_lib_var=no"
11903 LIBS
="$ac_save_LIBS"
11906 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11907 echo "$ac_t""yes" 1>&6
11910 echo "$ac_t""no" 1>&6
11915 if test "x$ZLIB_LINK" = "x" ; then
11916 if test "$wxUSE_ZLIB" = "sys" ; then
11917 { echo "configure: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11919 echo "configure: warning: zlib library not found or too old, will use built-in instead" 1>&2
11927 if test "$wxUSE_ZLIB" = "builtin" ; then
11928 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11935 if test "$wxUSE_LIBPNG" != "no" ; then
11936 cat >> confdefs.h
<<\EOF
11937 #define wxUSE_LIBPNG 1
11941 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11942 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11946 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11947 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11948 wxUSE_LIBPNG
=builtin
11951 if test "$wxUSE_MGL" != 1 ; then
11952 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11953 echo $ac_n "checking for png.h > 0.90""... $ac_c" 1>&6
11954 echo "configure:11955: checking for png.h > 0.90" >&5
11955 if eval "test \"`echo '$''{'ac_cv_header_png_h'+set}'`\" = set"; then
11956 echo $ac_n "(cached) $ac_c" 1>&6
11958 if test "$cross_compiling" = yes; then
11959 unset ac_cv_header_png_h
11962 cat > conftest.
$ac_ext <<EOF
11963 #line 11964 "configure"
11964 #include "confdefs.h"
11971 FILE *f=fopen("conftestval", "w");
11974 PNG_LIBPNG_VER > 90 ? "yes" : "no");
11979 if { (eval echo configure
:11980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11981 ac_cv_header_png_h
=`cat conftestval`
11983 echo "configure: failed program was:" >&5
11984 cat conftest.
$ac_ext >&5
11986 ac_cv_header_png_h
=no
11994 echo "$ac_t""$ac_cv_header_png_h" 1>&6
11995 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11996 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11997 echo "configure:11998: checking for png.h" >&5
11998 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11999 echo $ac_n "(cached) $ac_c" 1>&6
12001 cat > conftest.
$ac_ext <<EOF
12002 #line 12003 "configure"
12003 #include "confdefs.h"
12006 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12007 { (eval echo configure
:12008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12008 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12009 if test -z "$ac_err"; then
12011 eval "ac_cv_header_$ac_safe=yes"
12014 echo "configure: failed program was:" >&5
12015 cat conftest.
$ac_ext >&5
12017 eval "ac_cv_header_$ac_safe=no"
12021 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12022 echo "$ac_t""yes" 1>&6
12025 echo "$ac_t""no" 1>&6
12029 if test "$ac_cv_header_png_h" = "yes"; then
12030 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
12031 echo "configure:12032: checking for png_check_sig in -lpng" >&5
12032 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
12033 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12034 echo $ac_n "(cached) $ac_c" 1>&6
12036 ac_save_LIBS
="$LIBS"
12037 LIBS
="-lpng -lz -lm $LIBS"
12038 cat > conftest.
$ac_ext <<EOF
12039 #line 12040 "configure"
12040 #include "confdefs.h"
12041 /* Override any gcc2 internal prototype to avoid an error. */
12042 /* We use char because int might match the return type of a gcc2
12043 builtin and then its argument prototype would still apply. */
12044 char png_check_sig();
12050 if { (eval echo configure
:12051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12052 eval "ac_cv_lib_$ac_lib_var=yes"
12054 echo "configure: failed program was:" >&5
12055 cat conftest.
$ac_ext >&5
12057 eval "ac_cv_lib_$ac_lib_var=no"
12060 LIBS
="$ac_save_LIBS"
12063 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12064 echo "$ac_t""yes" 1>&6
12067 echo "$ac_t""no" 1>&6
12072 if test "x$PNG_LINK" = "x" ; then
12073 if test "$wxUSE_LIBPNG" = "sys" ; then
12074 { echo "configure: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
12076 echo "configure: warning: system png library not found or too old, will use built-in instead" 1>&2
12077 wxUSE_LIBPNG
=builtin
12085 if test "$wxUSE_LIBPNG" = "builtin" ; then
12086 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
12089 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
12095 if test "$wxUSE_LIBJPEG" != "no" ; then
12096 cat >> confdefs.h
<<\EOF
12097 #define wxUSE_LIBJPEG 1
12101 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
12102 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
12106 if test "$wxUSE_MGL" != 1 ; then
12107 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
12108 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
12109 echo "configure:12110: checking for jpeglib.h" >&5
12110 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
12111 echo $ac_n "(cached) $ac_c" 1>&6
12113 cat > conftest.
$ac_ext <<EOF
12114 #line 12115 "configure"
12115 #include "confdefs.h"
12117 #undef HAVE_STDLIB_H
12119 #include <jpeglib.h>
12126 if { (eval echo configure
:12127: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12128 ac_cv_header_jpeglib_h
=yes
12130 echo "configure: failed program was:" >&5
12131 cat conftest.
$ac_ext >&5
12133 ac_cv_header_jpeglib_h
=no
12140 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
12142 if test "$ac_cv_header_jpeglib_h" = "yes"; then
12143 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
12144 echo "configure:12145: checking for jpeg_read_header in -ljpeg" >&5
12145 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
12146 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12147 echo $ac_n "(cached) $ac_c" 1>&6
12149 ac_save_LIBS
="$LIBS"
12150 LIBS
="-ljpeg $LIBS"
12151 cat > conftest.
$ac_ext <<EOF
12152 #line 12153 "configure"
12153 #include "confdefs.h"
12154 /* Override any gcc2 internal prototype to avoid an error. */
12155 /* We use char because int might match the return type of a gcc2
12156 builtin and then its argument prototype would still apply. */
12157 char jpeg_read_header();
12163 if { (eval echo configure
:12164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12165 eval "ac_cv_lib_$ac_lib_var=yes"
12167 echo "configure: failed program was:" >&5
12168 cat conftest.
$ac_ext >&5
12170 eval "ac_cv_lib_$ac_lib_var=no"
12173 LIBS
="$ac_save_LIBS"
12176 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12177 echo "$ac_t""yes" 1>&6
12178 JPEG_LINK
=" -ljpeg"
12180 echo "$ac_t""no" 1>&6
12185 if test "x$JPEG_LINK" = "x" ; then
12186 if test "$wxUSE_LIBJPEG" = "sys" ; then
12187 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
12189 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
12190 wxUSE_LIBJPEG
=builtin
12198 if test "$wxUSE_LIBJPEG" = "builtin" ; then
12199 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
12206 TIFF_PREREQ_LINKS
=-lm
12207 if test "$wxUSE_LIBTIFF" != "no" ; then
12208 cat >> confdefs.h
<<\EOF
12209 #define wxUSE_LIBTIFF 1
12213 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
12214 if test "$wxUSE_LIBJPEG" = "sys"; then
12215 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
12217 if test "$wxUSE_ZLIB" = "sys"; then
12218 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
12220 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
12221 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
12222 echo "configure:12223: checking for tiffio.h" >&5
12223 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12224 echo $ac_n "(cached) $ac_c" 1>&6
12226 cat > conftest.
$ac_ext <<EOF
12227 #line 12228 "configure"
12228 #include "confdefs.h"
12229 #include <tiffio.h>
12231 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12232 { (eval echo configure
:12233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12233 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12234 if test -z "$ac_err"; then
12236 eval "ac_cv_header_$ac_safe=yes"
12239 echo "configure: failed program was:" >&5
12240 cat conftest.
$ac_ext >&5
12242 eval "ac_cv_header_$ac_safe=no"
12246 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12247 echo "$ac_t""yes" 1>&6
12248 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
12249 echo "configure:12250: checking for TIFFError in -ltiff" >&5
12250 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
12251 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12252 echo $ac_n "(cached) $ac_c" 1>&6
12254 ac_save_LIBS
="$LIBS"
12255 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
12256 cat > conftest.
$ac_ext <<EOF
12257 #line 12258 "configure"
12258 #include "confdefs.h"
12259 /* Override any gcc2 internal prototype to avoid an error. */
12260 /* We use char because int might match the return type of a gcc2
12261 builtin and then its argument prototype would still apply. */
12268 if { (eval echo configure
:12269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12270 eval "ac_cv_lib_$ac_lib_var=yes"
12272 echo "configure: failed program was:" >&5
12273 cat conftest.
$ac_ext >&5
12275 eval "ac_cv_lib_$ac_lib_var=no"
12278 LIBS
="$ac_save_LIBS"
12281 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12282 echo "$ac_t""yes" 1>&6
12283 TIFF_LINK
=" -ltiff"
12285 echo "$ac_t""no" 1>&6
12290 echo "$ac_t""no" 1>&6
12294 if test "x$TIFF_LINK" = "x" ; then
12295 if test "$wxUSE_LIBTIFF" = "sys" ; then
12296 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
12298 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
12299 wxUSE_LIBTIFF
=builtin
12306 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12307 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
12319 if test "$USE_WIN32" = 1 ; then
12320 for ac_hdr
in w32api.h
12322 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12323 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12324 echo "configure:12325: checking for $ac_hdr" >&5
12325 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12326 echo $ac_n "(cached) $ac_c" 1>&6
12328 cat > conftest.
$ac_ext <<EOF
12329 #line 12330 "configure"
12330 #include "confdefs.h"
12333 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12334 { (eval echo configure
:12335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12335 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12336 if test -z "$ac_err"; then
12338 eval "ac_cv_header_$ac_safe=yes"
12341 echo "configure: failed program was:" >&5
12342 cat conftest.
$ac_ext >&5
12344 eval "ac_cv_header_$ac_safe=no"
12348 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12349 echo "$ac_t""yes" 1>&6
12350 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12351 cat >> confdefs.h
<<EOF
12352 #define $ac_tr_hdr 1
12356 echo "$ac_t""no" 1>&6
12360 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
12361 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12362 echo "configure:12363: checking for windows.h" >&5
12363 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12364 echo $ac_n "(cached) $ac_c" 1>&6
12366 cat > conftest.
$ac_ext <<EOF
12367 #line 12368 "configure"
12368 #include "confdefs.h"
12369 #include <windows.h>
12371 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12372 { (eval echo configure
:12373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12373 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12374 if test -z "$ac_err"; then
12376 eval "ac_cv_header_$ac_safe=yes"
12379 echo "configure: failed program was:" >&5
12380 cat conftest.
$ac_ext >&5
12382 eval "ac_cv_header_$ac_safe=no"
12386 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12387 echo "$ac_t""yes" 1>&6
12390 echo "$ac_t""no" 1>&6
12392 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12397 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
12398 echo "configure:12399: checking if w32api has good enough MSIE support" >&5
12399 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
12400 echo $ac_n "(cached) $ac_c" 1>&6
12403 cat > conftest.
$ac_ext <<EOF
12404 #line 12405 "configure"
12405 #include "confdefs.h"
12406 #include <w32api.h>
12409 #define wxCHECK_W32API_VERSION( major, minor ) \
12410 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
12411 && ( ( __W32API_MAJOR_VERSION > (major) ) \
12412 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
12414 #if !wxCHECK_W32API_VERSION(1,1)
12415 #error You need w32api 1.1 or newer
12420 if { (eval echo configure
:12421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12423 wx_cv_w32api_win32_ie
=yes
12426 echo "configure: failed program was:" >&5
12427 cat conftest.
$ac_ext >&5
12430 wx_cv_w32api_win32_ie
=no
12437 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
12438 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
12439 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
12442 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
12446 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
12447 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
12450 if test "$wxUSE_ODBC" = "yes" ; then
12451 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
12454 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
12455 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
12457 WIN32INSTALL
=win32install
12460 if test "$USE_DARWIN" = 1; then
12461 if test "$wxUSE_PRECOMP" = "yes"; then
12462 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
12464 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
12468 if test "$wxUSE_GUI" = "yes"; then
12477 if test "$wxUSE_MSW" = 1 ; then
12481 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
12484 if test "$wxUSE_GTK" = 1; then
12485 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
12486 echo "configure:12487: checking for GTK+ version" >&5
12488 gtk_version_cached
=1
12489 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
12490 echo $ac_n "(cached) $ac_c" 1>&6
12493 gtk_version_cached
=0
12494 echo "$ac_t""" 1>&6
12497 if test "$wxUSE_THREADS" = "yes"; then
12498 GTK_MODULES
=gthread
12502 if test "x$wxUSE_GTK2" = "xyes"; then
12503 # Check whether --enable-gtktest or --disable-gtktest was given.
12504 if test "${enable_gtktest+set}" = set; then
12505 enableval
="$enable_gtktest"
12512 pkg_config_args
=gtk
+-2.0
12513 for module
in .
$GTK_MODULES
12517 pkg_config_args
="$pkg_config_args gthread-2.0"
12524 # Extract the first word of "pkg-config", so it can be a program name with args.
12525 set dummy pkg
-config; ac_word
=$2
12526 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12527 echo "configure:12528: checking for $ac_word" >&5
12528 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
12529 echo $ac_n "(cached) $ac_c" 1>&6
12531 case "$PKG_CONFIG" in
12533 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12536 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
12539 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12541 for ac_dir
in $ac_dummy; do
12542 test -z "$ac_dir" && ac_dir
=.
12543 if test -f $ac_dir/$ac_word; then
12544 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
12549 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12553 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12554 if test -n "$PKG_CONFIG"; then
12555 echo "$ac_t""$PKG_CONFIG" 1>&6
12557 echo "$ac_t""no" 1>&6
12561 if test x
$PKG_CONFIG != xno
; then
12562 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
12565 echo *** pkg
-config too old
; version
0.7 or better required.
12573 min_gtk_version
=2.0.0
12574 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
12575 echo "configure:12576: checking for GTK+ - version >= $min_gtk_version" >&5
12577 if test x
$PKG_CONFIG != xno
; then
12578 ## don't try to run the test against uninstalled libtool libs
12579 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12580 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
12584 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
12591 if test x
"$no_gtk" = x
; then
12592 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
12593 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
12594 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12595 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12596 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12597 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12598 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12599 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12600 if test "x$enable_gtktest" = "xyes" ; then
12601 ac_save_CFLAGS
="$CFLAGS"
12602 ac_save_LIBS
="$LIBS"
12603 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12604 LIBS
="$GTK_LIBS $LIBS"
12606 if test "$cross_compiling" = yes; then
12607 echo $ac_n "cross compiling; assumed OK... $ac_c"
12609 cat > conftest.
$ac_ext <<EOF
12610 #line 12611 "configure"
12611 #include "confdefs.h"
12613 #include <gtk/gtk.h>
12615 #include <stdlib.h>
12620 int major, minor, micro;
12623 system ("touch conf.gtktest");
12625 /* HP/UX 9 (%@#!) writes to sscanf strings */
12626 tmp_version = g_strdup("$min_gtk_version");
12627 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12628 printf("%s, bad version string\n", "$min_gtk_version");
12632 if ((gtk_major_version != $gtk_config_major_version) ||
12633 (gtk_minor_version != $gtk_config_minor_version) ||
12634 (gtk_micro_version != $gtk_config_micro_version))
12636 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12637 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12638 gtk_major_version, gtk_minor_version, gtk_micro_version);
12639 printf ("*** was found! If pkg-config was correct, then it is best\n");
12640 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12641 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12642 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12643 printf("*** required on your system.\n");
12644 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12645 printf("*** to point to the correct configuration files\n");
12647 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12648 (gtk_minor_version != GTK_MINOR_VERSION) ||
12649 (gtk_micro_version != GTK_MICRO_VERSION))
12651 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12652 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12653 printf("*** library (version %d.%d.%d)\n",
12654 gtk_major_version, gtk_minor_version, gtk_micro_version);
12658 if ((gtk_major_version > major) ||
12659 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12660 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12666 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12667 gtk_major_version, gtk_minor_version, gtk_micro_version);
12668 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12669 major, minor, micro);
12670 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12672 printf("*** If you have already installed a sufficiently new version, this error\n");
12673 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12674 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12675 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
12676 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12677 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12678 printf("*** so that the correct libraries are found at run-time))\n");
12685 if { (eval echo configure
:12686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12689 echo "configure: failed program was:" >&5
12690 cat conftest.
$ac_ext >&5
12697 CFLAGS
="$ac_save_CFLAGS"
12698 LIBS
="$ac_save_LIBS"
12701 if test "x$no_gtk" = x
; then
12702 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
12705 echo "$ac_t""no" 1>&6
12706 if test "$PKG_CONFIG" = "no" ; then
12707 echo "*** A new enough version of pkg-config was not found."
12708 echo "*** See http://pkgconfig.sourceforge.net"
12710 if test -f conf.gtktest
; then
12713 echo "*** Could not run GTK+ test program, checking why..."
12714 ac_save_CFLAGS
="$CFLAGS"
12715 ac_save_LIBS
="$LIBS"
12716 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12717 LIBS
="$LIBS $GTK_LIBS"
12718 cat > conftest.
$ac_ext <<EOF
12719 #line 12720 "configure"
12720 #include "confdefs.h"
12722 #include <gtk/gtk.h>
12726 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12729 if { (eval echo configure
:12730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12731 echo "*** The test program compiled, but did not run. This usually means"
12732 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
12733 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
12734 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12735 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12736 echo "*** is required on your system"
12738 echo "*** If you have an old version installed, it is best to remove it, although"
12739 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12741 echo "configure: failed program was:" >&5
12742 cat conftest.
$ac_ext >&5
12744 echo "*** The test program failed to compile or link. See the file config.log for the"
12745 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
12748 CFLAGS
="$ac_save_CFLAGS"
12749 LIBS
="$ac_save_LIBS"
12761 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12762 if test "${with_gtk_prefix+set}" = set; then
12763 withval
="$with_gtk_prefix"
12764 gtk_config_prefix
="$withval"
12766 gtk_config_prefix
=""
12769 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12770 if test "${with_gtk_exec_prefix+set}" = set; then
12771 withval
="$with_gtk_exec_prefix"
12772 gtk_config_exec_prefix
="$withval"
12774 gtk_config_exec_prefix
=""
12777 # Check whether --enable-gtktest or --disable-gtktest was given.
12778 if test "${enable_gtktest+set}" = set; then
12779 enableval
="$enable_gtktest"
12786 for module
in .
$GTK_MODULES
12790 gtk_config_args
="$gtk_config_args gthread"
12795 if test x
$gtk_config_exec_prefix != x
; then
12796 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12797 if test x
${GTK_CONFIG+set} != xset
; then
12798 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12801 if test x
$gtk_config_prefix != x
; then
12802 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12803 if test x
${GTK_CONFIG+set} != xset
; then
12804 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12808 # Extract the first word of "gtk-config", so it can be a program name with args.
12809 set dummy gtk
-config; ac_word
=$2
12810 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12811 echo "configure:12812: checking for $ac_word" >&5
12812 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12813 echo $ac_n "(cached) $ac_c" 1>&6
12815 case "$GTK_CONFIG" in
12817 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12820 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12823 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12825 for ac_dir
in $ac_dummy; do
12826 test -z "$ac_dir" && ac_dir
=.
12827 if test -f $ac_dir/$ac_word; then
12828 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12833 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12837 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12838 if test -n "$GTK_CONFIG"; then
12839 echo "$ac_t""$GTK_CONFIG" 1>&6
12841 echo "$ac_t""no" 1>&6
12844 min_gtk_version
=1.2.7
12845 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12846 echo "configure:12847: checking for GTK - version >= $min_gtk_version" >&5
12848 if test "$GTK_CONFIG" = "no" ; then
12851 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12852 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12853 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12854 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12855 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12856 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12857 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12858 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12859 if test "x$enable_gtktest" = "xyes" ; then
12860 ac_save_CFLAGS
="$CFLAGS"
12861 ac_save_LIBS
="$LIBS"
12862 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12863 LIBS
="$GTK_LIBS $LIBS"
12865 if test "$cross_compiling" = yes; then
12866 echo $ac_n "cross compiling; assumed OK... $ac_c"
12868 cat > conftest.
$ac_ext <<EOF
12869 #line 12870 "configure"
12870 #include "confdefs.h"
12872 #include <gtk/gtk.h>
12874 #include <stdlib.h>
12879 int major, minor, micro;
12882 system ("touch conf.gtktest");
12884 /* HP/UX 9 (%@#!) writes to sscanf strings */
12885 tmp_version = g_strdup("$min_gtk_version");
12886 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12887 printf("%s, bad version string\n", "$min_gtk_version");
12891 if ((gtk_major_version != $gtk_config_major_version) ||
12892 (gtk_minor_version != $gtk_config_minor_version) ||
12893 (gtk_micro_version != $gtk_config_micro_version))
12895 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12896 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12897 gtk_major_version, gtk_minor_version, gtk_micro_version);
12898 printf ("*** was found! If gtk-config was correct, then it is best\n");
12899 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12900 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12901 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12902 printf("*** required on your system.\n");
12903 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12904 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12905 printf("*** before re-running configure\n");
12907 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12908 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12909 (gtk_minor_version != GTK_MINOR_VERSION) ||
12910 (gtk_micro_version != GTK_MICRO_VERSION))
12912 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12913 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12914 printf("*** library (version %d.%d.%d)\n",
12915 gtk_major_version, gtk_minor_version, gtk_micro_version);
12917 #endif /* defined (GTK_MAJOR_VERSION) ... */
12920 if ((gtk_major_version > major) ||
12921 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12922 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12928 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12929 gtk_major_version, gtk_minor_version, gtk_micro_version);
12930 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12931 major, minor, micro);
12932 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12934 printf("*** If you have already installed a sufficiently new version, this error\n");
12935 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12936 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12937 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12938 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12939 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12940 printf("*** so that the correct libraries are found at run-time))\n");
12947 if { (eval echo configure
:12948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12951 echo "configure: failed program was:" >&5
12952 cat conftest.
$ac_ext >&5
12959 CFLAGS
="$ac_save_CFLAGS"
12960 LIBS
="$ac_save_LIBS"
12963 if test "x$no_gtk" = x
; then
12964 echo "$ac_t""yes" 1>&6
12965 wx_cv_lib_gtk
=1.2.7
12967 echo "$ac_t""no" 1>&6
12968 if test "$GTK_CONFIG" = "no" ; then
12969 echo "*** The gtk-config script installed by GTK could not be found"
12970 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12971 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12972 echo "*** full path to gtk-config."
12974 if test -f conf.gtktest
; then
12977 echo "*** Could not run GTK test program, checking why..."
12978 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12979 LIBS
="$LIBS $GTK_LIBS"
12980 cat > conftest.
$ac_ext <<EOF
12981 #line 12982 "configure"
12982 #include "confdefs.h"
12984 #include <gtk/gtk.h>
12988 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12991 if { (eval echo configure
:12992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12993 echo "*** The test program compiled, but did not run. This usually means"
12994 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12995 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12996 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12997 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12998 echo "*** is required on your system"
13000 echo "*** If you have an old version installed, it is best to remove it, although"
13001 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13003 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
13004 echo "*** came with the system with the command"
13006 echo "*** rpm --erase --nodeps gtk gtk-devel"
13008 echo "configure: failed program was:" >&5
13009 cat conftest.
$ac_ext >&5
13011 echo "*** The test program failed to compile or link. See the file config.log for the"
13012 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
13013 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
13014 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
13017 CFLAGS
="$ac_save_CFLAGS"
13018 LIBS
="$ac_save_LIBS"
13030 if test -z "$wx_cv_lib_gtk"; then
13031 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
13032 if test "${with_gtk_prefix+set}" = set; then
13033 withval
="$with_gtk_prefix"
13034 gtk_config_prefix
="$withval"
13036 gtk_config_prefix
=""
13039 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
13040 if test "${with_gtk_exec_prefix+set}" = set; then
13041 withval
="$with_gtk_exec_prefix"
13042 gtk_config_exec_prefix
="$withval"
13044 gtk_config_exec_prefix
=""
13047 # Check whether --enable-gtktest or --disable-gtktest was given.
13048 if test "${enable_gtktest+set}" = set; then
13049 enableval
="$enable_gtktest"
13056 for module
in .
$GTK_MODULES
13060 gtk_config_args
="$gtk_config_args gthread"
13065 if test x
$gtk_config_exec_prefix != x
; then
13066 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
13067 if test x
${GTK_CONFIG+set} != xset
; then
13068 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
13071 if test x
$gtk_config_prefix != x
; then
13072 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
13073 if test x
${GTK_CONFIG+set} != xset
; then
13074 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
13078 # Extract the first word of "gtk-config", so it can be a program name with args.
13079 set dummy gtk
-config; ac_word
=$2
13080 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13081 echo "configure:13082: checking for $ac_word" >&5
13082 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
13083 echo $ac_n "(cached) $ac_c" 1>&6
13085 case "$GTK_CONFIG" in
13087 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
13090 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
13093 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13095 for ac_dir
in $ac_dummy; do
13096 test -z "$ac_dir" && ac_dir
=.
13097 if test -f $ac_dir/$ac_word; then
13098 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
13103 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
13107 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
13108 if test -n "$GTK_CONFIG"; then
13109 echo "$ac_t""$GTK_CONFIG" 1>&6
13111 echo "$ac_t""no" 1>&6
13114 min_gtk_version
=1.2.3
13115 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
13116 echo "configure:13117: checking for GTK - version >= $min_gtk_version" >&5
13118 if test "$GTK_CONFIG" = "no" ; then
13121 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
13122 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
13123 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
13124 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13125 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
13126 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13127 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
13128 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13129 if test "x$enable_gtktest" = "xyes" ; then
13130 ac_save_CFLAGS
="$CFLAGS"
13131 ac_save_LIBS
="$LIBS"
13132 CFLAGS
="$CFLAGS $GTK_CFLAGS"
13133 LIBS
="$GTK_LIBS $LIBS"
13135 if test "$cross_compiling" = yes; then
13136 echo $ac_n "cross compiling; assumed OK... $ac_c"
13138 cat > conftest.
$ac_ext <<EOF
13139 #line 13140 "configure"
13140 #include "confdefs.h"
13142 #include <gtk/gtk.h>
13144 #include <stdlib.h>
13149 int major, minor, micro;
13152 system ("touch conf.gtktest");
13154 /* HP/UX 9 (%@#!) writes to sscanf strings */
13155 tmp_version = g_strdup("$min_gtk_version");
13156 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
13157 printf("%s, bad version string\n", "$min_gtk_version");
13161 if ((gtk_major_version != $gtk_config_major_version) ||
13162 (gtk_minor_version != $gtk_config_minor_version) ||
13163 (gtk_micro_version != $gtk_config_micro_version))
13165 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
13166 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
13167 gtk_major_version, gtk_minor_version, gtk_micro_version);
13168 printf ("*** was found! If gtk-config was correct, then it is best\n");
13169 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
13170 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
13171 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
13172 printf("*** required on your system.\n");
13173 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
13174 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
13175 printf("*** before re-running configure\n");
13177 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
13178 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
13179 (gtk_minor_version != GTK_MINOR_VERSION) ||
13180 (gtk_micro_version != GTK_MICRO_VERSION))
13182 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
13183 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
13184 printf("*** library (version %d.%d.%d)\n",
13185 gtk_major_version, gtk_minor_version, gtk_micro_version);
13187 #endif /* defined (GTK_MAJOR_VERSION) ... */
13190 if ((gtk_major_version > major) ||
13191 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
13192 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
13198 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
13199 gtk_major_version, gtk_minor_version, gtk_micro_version);
13200 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
13201 major, minor, micro);
13202 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
13204 printf("*** If you have already installed a sufficiently new version, this error\n");
13205 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
13206 printf("*** being found. The easiest way to fix this is to remove the old version\n");
13207 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
13208 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
13209 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
13210 printf("*** so that the correct libraries are found at run-time))\n");
13217 if { (eval echo configure
:13218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13221 echo "configure: failed program was:" >&5
13222 cat conftest.
$ac_ext >&5
13229 CFLAGS
="$ac_save_CFLAGS"
13230 LIBS
="$ac_save_LIBS"
13233 if test "x$no_gtk" = x
; then
13234 echo "$ac_t""yes" 1>&6
13235 wx_cv_lib_gtk
=1.2.3
13237 echo "$ac_t""no" 1>&6
13238 if test "$GTK_CONFIG" = "no" ; then
13239 echo "*** The gtk-config script installed by GTK could not be found"
13240 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
13241 echo "*** your path, or set the GTK_CONFIG environment variable to the"
13242 echo "*** full path to gtk-config."
13244 if test -f conf.gtktest
; then
13247 echo "*** Could not run GTK test program, checking why..."
13248 CFLAGS
="$CFLAGS $GTK_CFLAGS"
13249 LIBS
="$LIBS $GTK_LIBS"
13250 cat > conftest.
$ac_ext <<EOF
13251 #line 13252 "configure"
13252 #include "confdefs.h"
13254 #include <gtk/gtk.h>
13258 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
13261 if { (eval echo configure
:13262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13263 echo "*** The test program compiled, but did not run. This usually means"
13264 echo "*** that the run-time linker is not finding GTK or finding the wrong"
13265 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
13266 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
13267 echo "*** to the installed location Also, make sure you have run ldconfig if that"
13268 echo "*** is required on your system"
13270 echo "*** If you have an old version installed, it is best to remove it, although"
13271 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13273 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
13274 echo "*** came with the system with the command"
13276 echo "*** rpm --erase --nodeps gtk gtk-devel"
13278 echo "configure: failed program was:" >&5
13279 cat conftest.
$ac_ext >&5
13281 echo "*** The test program failed to compile or link. See the file config.log for the"
13282 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
13283 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
13284 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
13287 CFLAGS
="$ac_save_CFLAGS"
13288 LIBS
="$ac_save_LIBS"
13302 if test -z "$wx_cv_lib_gtk"; then
13305 wx_cv_cflags_gtk
=$GTK_CFLAGS
13306 wx_cv_libs_gtk
=$GTK_LIBS
13313 if test "$gtk_version_cached" = 1; then
13314 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
13317 case "$wx_cv_lib_gtk" in
13326 *) { echo "configure: error:
13327 Please check that gtk-config is in path, the directory
13328 where GTK+ libraries are installed (returned by
13329 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
13330 equivalent variable and GTK+ is version 1.2.3 or above.
13335 if test "$WXGTK20" = 1; then
13336 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
13340 if test -z "$PKG_CONFIG"; then
13341 # Extract the first word of "pkg-config", so it can be a program name with args.
13342 set dummy pkg
-config; ac_word
=$2
13343 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13344 echo "configure:13345: checking for $ac_word" >&5
13345 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
13346 echo $ac_n "(cached) $ac_c" 1>&6
13348 case "$PKG_CONFIG" in
13350 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13353 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
13356 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13358 for ac_dir
in $ac_dummy; do
13359 test -z "$ac_dir" && ac_dir
=.
13360 if test -f $ac_dir/$ac_word; then
13361 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
13366 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13370 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13371 if test -n "$PKG_CONFIG"; then
13372 echo "$ac_t""$PKG_CONFIG" 1>&6
13374 echo "$ac_t""no" 1>&6
13379 if test "$PKG_CONFIG" = "no" ; then
13380 echo "*** The pkg-config script could not be found. Make sure it is"
13381 echo "*** in your path, or set the PKG_CONFIG environment variable"
13382 echo "*** to the full path to pkg-config."
13383 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13385 PKG_CONFIG_MIN_VERSION
=0.9.0
13386 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13387 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
13388 echo "configure:13389: checking for pangoft2" >&5
13390 if $PKG_CONFIG --exists "pangoft2" ; then
13391 echo "$ac_t""yes" 1>&6
13394 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
13395 echo "configure:13396: checking PANGOFT2_CFLAGS" >&5
13396 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
13397 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
13399 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
13400 echo "configure:13401: checking PANGOFT2_LIBS" >&5
13401 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
13402 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
13406 ## If we have a custom action on failure, don't print errors, but
13407 ## do set a variable so people can do so.
13408 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
13415 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13416 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13420 if test $succeeded = yes; then
13422 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
13423 LIBS
="$LIBS $PANGOFT2_LIBS"
13427 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
13428 wxUSE_PRINTING_ARCHITECTURE
="no"
13435 if test "$wxUSE_UNICODE" = "yes"; then
13436 echo "configure: warning: Unicode configuration not supported with GTK+ 1.x" 1>&2
13441 if test "$USE_DARWIN" != 1; then
13442 for ac_func
in poll
13444 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13445 echo "configure:13446: checking for $ac_func" >&5
13446 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13447 echo $ac_n "(cached) $ac_c" 1>&6
13449 cat > conftest.
$ac_ext <<EOF
13450 #line 13451 "configure"
13451 #include "confdefs.h"
13452 /* System header to define __stub macros and hopefully few prototypes,
13453 which can conflict with char $ac_func(); below. */
13454 #include <assert.h>
13455 /* Override any gcc2 internal prototype to avoid an error. */
13456 /* We use char because int might match the return type of a gcc2
13457 builtin and then its argument prototype would still apply. */
13462 /* The GNU C library defines this for functions which it implements
13463 to always fail with ENOSYS. Some functions are actually named
13464 something starting with __ and the normal name is an alias. */
13465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13473 if { (eval echo configure
:13474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13475 eval "ac_cv_func_$ac_func=yes"
13477 echo "configure: failed program was:" >&5
13478 cat conftest.
$ac_ext >&5
13480 eval "ac_cv_func_$ac_func=no"
13485 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13486 echo "$ac_t""yes" 1>&6
13487 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13488 cat >> confdefs.h
<<EOF
13489 #define $ac_tr_func 1
13493 echo "$ac_t""no" 1>&6
13499 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
13500 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
13502 AFMINSTALL
=afminstall
13506 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
13507 echo "configure:13508: checking for gdk_im_open in -lgdk" >&5
13508 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
13509 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13510 echo $ac_n "(cached) $ac_c" 1>&6
13512 ac_save_LIBS
="$LIBS"
13514 cat > conftest.
$ac_ext <<EOF
13515 #line 13516 "configure"
13516 #include "confdefs.h"
13517 /* Override any gcc2 internal prototype to avoid an error. */
13518 /* We use char because int might match the return type of a gcc2
13519 builtin and then its argument prototype would still apply. */
13520 char gdk_im_open();
13526 if { (eval echo configure
:13527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13528 eval "ac_cv_lib_$ac_lib_var=yes"
13530 echo "configure: failed program was:" >&5
13531 cat conftest.
$ac_ext >&5
13533 eval "ac_cv_lib_$ac_lib_var=no"
13536 LIBS
="$ac_save_LIBS"
13539 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13540 echo "$ac_t""yes" 1>&6
13541 cat >> confdefs.h
<<\EOF
13546 echo "$ac_t""no" 1>&6
13551 if test "$wxUSE_MGL" = 1; then
13552 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
13553 echo "configure:13554: checking for SciTech MGL library" >&5
13554 if test "x$MGL_ROOT" = x
; then
13555 echo "$ac_t""not found" 1>&6
13556 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
13558 echo "$ac_t""$MGL_ROOT" 1>&6
13561 echo $ac_n "checking for libmgl location""... $ac_c" 1>&6
13562 echo "configure:13563: checking for libmgl location" >&5
13565 if test "x$wxUSE_SHARED" = xyes
; then
13566 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
13568 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
13572 mgl_os_candidates
="dos32/dj2"
13575 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
13581 for mgl_os_i
in $mgl_os_candidates ; do
13582 if test "x$mgl_os" = x
; then
13583 if test "$wxUSE_DEBUG_FLAG" = yes ; then
13584 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
13585 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
13590 if test "x$mgl_lib_type" = x
; then
13591 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
13592 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
13593 mgl_lib_type
=release
13600 if test "x$mgl_os" = x
; then
13601 echo "$ac_t""not found" 1>&6
13602 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
13604 echo "$ac_t"""$MGL_ROOT/lib
/$mgl_lib_type/$mgl_os"" 1>&6
13606 wxUSE_UNIVERSAL
="yes"
13608 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
13609 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
13611 AFMINSTALL
=afminstall
13616 if test "$wxUSE_MICROWIN" = 1; then
13617 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
13618 echo "configure:13619: checking for MicroWindows" >&5
13619 if test "x$MICROWINDOWS" = x
; then
13620 echo "$ac_t""not found" 1>&6
13621 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
13623 echo "$ac_t""$MICROWINDOWS" 1>&6
13626 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
13627 echo "$ac_t""MicroWindows' libraries found." 1>&6
13629 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
13632 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
13633 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
13635 wxUSE_UNIVERSAL
="yes"
13637 AFMINSTALL
=afminstall
13639 GUIDIST
=MICROWIN_DIST
13641 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
13644 if test "$wxUSE_X11" = 1; then
13645 # If we find X, set shell vars x_includes and x_libraries to the
13646 # paths, otherwise set no_x=yes.
13647 # Uses ac_ vars as temps to allow command line to override cache and checks.
13648 # --without-x overrides everything else, but does not touch the cache.
13649 echo $ac_n "checking for X""... $ac_c" 1>&6
13650 echo "configure:13651: checking for X" >&5
13652 # Check whether --with-x or --without-x was given.
13653 if test "${with_x+set}" = set; then
13658 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13659 if test "x$with_x" = xno
; then
13660 # The user explicitly disabled X.
13663 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
13664 # Both variables are already set.
13667 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
13668 echo $ac_n "(cached) $ac_c" 1>&6
13670 # One or both of the vars are not set, and there is no cached value.
13671 ac_x_includes
=NO ac_x_libraries
=NO
13673 if mkdir conftestdir
; then
13675 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
13676 cat > Imakefile
<<'EOF'
13678 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
13680 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13681 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13682 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
13683 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13684 for ac_extension
in a so sl
; do
13685 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
13686 test -f $ac_im_libdir/libX11.
$ac_extension; then
13687 ac_im_usrlibdir
=$ac_im_libdir; break
13690 # Screen out bogus values from the imake configuration. They are
13691 # bogus both because they are the default anyway, and because
13692 # using them would break gcc on systems where it needs fixed includes.
13693 case "$ac_im_incroot" in
13695 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
13697 case "$ac_im_usrlibdir" in
13698 /usr
/lib
| /lib
) ;;
13699 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
13706 if test "$ac_x_includes" = NO
; then
13707 # Guess where to find include files, by looking for this one X11 .h file.
13708 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
13710 # First, try using that file with no special directory specified.
13711 cat > conftest.
$ac_ext <<EOF
13712 #line 13713 "configure"
13713 #include "confdefs.h"
13714 #include <$x_direct_test_include>
13716 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13717 { (eval echo configure
:13718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13718 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13719 if test -z "$ac_err"; then
13721 # We can compile using X headers with no special include directory.
13725 echo "configure: failed program was:" >&5
13726 cat conftest.
$ac_ext >&5
13728 # Look for the header file in a standard set of common directories.
13729 # Check X11 before X11Rn because it is often a symlink to the current release.
13732 /usr
/X
11R
6/include \
13733 /usr
/X
11R
5/include \
13734 /usr
/X
11R
4/include \
13737 /usr
/include
/X11R6 \
13738 /usr
/include
/X11R5 \
13739 /usr
/include
/X11R4 \
13741 /usr
/local
/X
11/include \
13742 /usr
/local
/X
11R
6/include \
13743 /usr
/local
/X
11R
5/include \
13744 /usr
/local
/X
11R
4/include \
13746 /usr
/local
/include
/X11 \
13747 /usr
/local
/include
/X11R6 \
13748 /usr
/local
/include
/X11R5 \
13749 /usr
/local
/include
/X11R4 \
13751 /usr
/X
386/include \
13752 /usr
/x
386/include \
13753 /usr
/XFree
86/include
/X11 \
13756 /usr
/local
/include \
13757 /usr
/unsupported
/include \
13758 /usr
/athena
/include \
13759 /usr
/local
/x
11r
5/include \
13760 /usr
/lpp
/Xamples
/include \
13762 /usr
/openwin
/include \
13763 /usr
/openwin
/share
/include \
13766 if test -r "$ac_dir/$x_direct_test_include"; then
13767 ac_x_includes
=$ac_dir
13773 fi # $ac_x_includes = NO
13775 if test "$ac_x_libraries" = NO
; then
13776 # Check for the libraries.
13778 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
13779 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
13781 # See if we find them without any special options.
13782 # Don't add to $LIBS permanently.
13783 ac_save_LIBS
="$LIBS"
13784 LIBS
="-l$x_direct_test_library $LIBS"
13785 cat > conftest.
$ac_ext <<EOF
13786 #line 13787 "configure"
13787 #include "confdefs.h"
13790 ${x_direct_test_function}()
13793 if { (eval echo configure
:13794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13795 LIBS
="$ac_save_LIBS"
13796 # We can link X programs with no special library path.
13799 echo "configure: failed program was:" >&5
13800 cat conftest.
$ac_ext >&5
13802 LIBS
="$ac_save_LIBS"
13803 # First see if replacing the include by lib works.
13804 # Check X11 before X11Rn because it is often a symlink to the current release.
13805 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
13816 /usr
/local
/X
11/lib \
13817 /usr
/local
/X
11R
6/lib \
13818 /usr
/local
/X
11R
5/lib \
13819 /usr
/local
/X
11R
4/lib \
13821 /usr
/local
/lib
/X11 \
13822 /usr
/local
/lib
/X11R6 \
13823 /usr
/local
/lib
/X11R5 \
13824 /usr
/local
/lib
/X11R4 \
13828 /usr
/XFree
86/lib
/X11 \
13832 /usr
/unsupported
/lib \
13834 /usr
/local
/x
11r
5/lib \
13835 /usr
/lpp
/Xamples
/lib \
13839 /usr
/openwin
/share
/lib \
13842 for ac_extension
in a so sl
; do
13843 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
13844 ac_x_libraries
=$ac_dir
13851 fi # $ac_x_libraries = NO
13853 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
13854 # Didn't find X anywhere. Cache the known absence of X.
13855 ac_cv_have_x
="have_x=no"
13857 # Record where we found X for the cache.
13858 ac_cv_have_x
="have_x=yes \
13859 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
13863 eval "$ac_cv_have_x"
13866 if test "$have_x" != yes; then
13867 echo "$ac_t""$have_x" 1>&6
13870 # If each of the values was on the command line, it overrides each guess.
13871 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13872 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13873 # Update the cache value to reflect the command line values.
13874 ac_cv_have_x
="have_x=yes \
13875 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
13876 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
13879 if test "$no_x" = yes; then
13880 # Not all programs may use this symbol, but it does not hurt to define it.
13881 cat >> confdefs.h
<<\EOF
13882 #define X_DISPLAY_MISSING 1
13885 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13887 if test -n "$x_includes"; then
13888 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13891 # It would also be nice to do this for all -L options, not just this one.
13892 if test -n "$x_libraries"; then
13893 X_LIBS
="$X_LIBS -L$x_libraries"
13894 # For Solaris; some versions of Sun CC require a space after -R and
13895 # others require no space. Words are not sufficient . . . .
13896 case "`(uname -sr) 2>/dev/null`" in
13898 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13899 echo "configure:13900: checking whether -R must be followed by a space" >&5
13900 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13901 cat > conftest.
$ac_ext <<EOF
13902 #line 13903 "configure"
13903 #include "confdefs.h"
13909 if { (eval echo configure
:13910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13913 echo "configure: failed program was:" >&5
13914 cat conftest.
$ac_ext >&5
13919 if test $ac_R_nospace = yes; then
13920 echo "$ac_t""no" 1>&6
13921 X_LIBS
="$X_LIBS -R$x_libraries"
13923 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13924 cat > conftest.
$ac_ext <<EOF
13925 #line 13926 "configure"
13926 #include "confdefs.h"
13932 if { (eval echo configure
:13933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13936 echo "configure: failed program was:" >&5
13937 cat conftest.
$ac_ext >&5
13942 if test $ac_R_space = yes; then
13943 echo "$ac_t""yes" 1>&6
13944 X_LIBS
="$X_LIBS -R $x_libraries"
13946 echo "$ac_t""neither works" 1>&6
13949 LIBS
="$ac_xsave_LIBS"
13953 # Check for system-dependent libraries X programs must link with.
13954 # Do this before checking for the system-independent R6 libraries
13955 # (-lICE), since we may need -lsocket or whatever for X linking.
13957 if test "$ISC" = yes; then
13958 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13960 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13961 # libraries were built with DECnet support. And karl@cs.umb.edu says
13962 # the Alpha needs dnet_stub (dnet does not exist).
13963 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13964 echo "configure:13965: checking for dnet_ntoa in -ldnet" >&5
13965 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13966 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13967 echo $ac_n "(cached) $ac_c" 1>&6
13969 ac_save_LIBS
="$LIBS"
13970 LIBS
="-ldnet $LIBS"
13971 cat > conftest.
$ac_ext <<EOF
13972 #line 13973 "configure"
13973 #include "confdefs.h"
13974 /* Override any gcc2 internal prototype to avoid an error. */
13975 /* We use char because int might match the return type of a gcc2
13976 builtin and then its argument prototype would still apply. */
13983 if { (eval echo configure
:13984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13985 eval "ac_cv_lib_$ac_lib_var=yes"
13987 echo "configure: failed program was:" >&5
13988 cat conftest.
$ac_ext >&5
13990 eval "ac_cv_lib_$ac_lib_var=no"
13993 LIBS
="$ac_save_LIBS"
13996 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13997 echo "$ac_t""yes" 1>&6
13998 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14000 echo "$ac_t""no" 1>&6
14003 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14004 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
14005 echo "configure:14006: checking for dnet_ntoa in -ldnet_stub" >&5
14006 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14007 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14008 echo $ac_n "(cached) $ac_c" 1>&6
14010 ac_save_LIBS
="$LIBS"
14011 LIBS
="-ldnet_stub $LIBS"
14012 cat > conftest.
$ac_ext <<EOF
14013 #line 14014 "configure"
14014 #include "confdefs.h"
14015 /* Override any gcc2 internal prototype to avoid an error. */
14016 /* We use char because int might match the return type of a gcc2
14017 builtin and then its argument prototype would still apply. */
14024 if { (eval echo configure
:14025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14026 eval "ac_cv_lib_$ac_lib_var=yes"
14028 echo "configure: failed program was:" >&5
14029 cat conftest.
$ac_ext >&5
14031 eval "ac_cv_lib_$ac_lib_var=no"
14034 LIBS
="$ac_save_LIBS"
14037 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14038 echo "$ac_t""yes" 1>&6
14039 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14041 echo "$ac_t""no" 1>&6
14046 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14047 # to get the SysV transport functions.
14048 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
14050 # The nsl library prevents programs from opening the X display
14051 # on Irix 5.2, according to dickey@clark.net.
14052 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
14053 echo "configure:14054: checking for gethostbyname" >&5
14054 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
14055 echo $ac_n "(cached) $ac_c" 1>&6
14057 cat > conftest.
$ac_ext <<EOF
14058 #line 14059 "configure"
14059 #include "confdefs.h"
14060 /* System header to define __stub macros and hopefully few prototypes,
14061 which can conflict with char gethostbyname(); below. */
14062 #include <assert.h>
14063 /* Override any gcc2 internal prototype to avoid an error. */
14064 /* We use char because int might match the return type of a gcc2
14065 builtin and then its argument prototype would still apply. */
14066 char gethostbyname();
14070 /* The GNU C library defines this for functions which it implements
14071 to always fail with ENOSYS. Some functions are actually named
14072 something starting with __ and the normal name is an alias. */
14073 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
14081 if { (eval echo configure
:14082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14083 eval "ac_cv_func_gethostbyname=yes"
14085 echo "configure: failed program was:" >&5
14086 cat conftest.
$ac_ext >&5
14088 eval "ac_cv_func_gethostbyname=no"
14093 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
14094 echo "$ac_t""yes" 1>&6
14097 echo "$ac_t""no" 1>&6
14100 if test $ac_cv_func_gethostbyname = no
; then
14101 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
14102 echo "configure:14103: checking for gethostbyname in -lnsl" >&5
14103 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
14104 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14105 echo $ac_n "(cached) $ac_c" 1>&6
14107 ac_save_LIBS
="$LIBS"
14109 cat > conftest.
$ac_ext <<EOF
14110 #line 14111 "configure"
14111 #include "confdefs.h"
14112 /* Override any gcc2 internal prototype to avoid an error. */
14113 /* We use char because int might match the return type of a gcc2
14114 builtin and then its argument prototype would still apply. */
14115 char gethostbyname();
14121 if { (eval echo configure
:14122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14123 eval "ac_cv_lib_$ac_lib_var=yes"
14125 echo "configure: failed program was:" >&5
14126 cat conftest.
$ac_ext >&5
14128 eval "ac_cv_lib_$ac_lib_var=no"
14131 LIBS
="$ac_save_LIBS"
14134 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14135 echo "$ac_t""yes" 1>&6
14136 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14138 echo "$ac_t""no" 1>&6
14143 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14144 # socket/setsockopt and other routines are undefined under SCO ODT
14145 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14146 # on later versions), says simon@lia.di.epfl.ch: it contains
14147 # gethostby* variants that don't use the nameserver (or something).
14148 # -lsocket must be given before -lnsl if both are needed.
14149 # We assume that if connect needs -lnsl, so does gethostbyname.
14150 echo $ac_n "checking for connect""... $ac_c" 1>&6
14151 echo "configure:14152: checking for connect" >&5
14152 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14153 echo $ac_n "(cached) $ac_c" 1>&6
14155 cat > conftest.
$ac_ext <<EOF
14156 #line 14157 "configure"
14157 #include "confdefs.h"
14158 /* System header to define __stub macros and hopefully few prototypes,
14159 which can conflict with char connect(); below. */
14160 #include <assert.h>
14161 /* Override any gcc2 internal prototype to avoid an error. */
14162 /* We use char because int might match the return type of a gcc2
14163 builtin and then its argument prototype would still apply. */
14168 /* The GNU C library defines this for functions which it implements
14169 to always fail with ENOSYS. Some functions are actually named
14170 something starting with __ and the normal name is an alias. */
14171 #if defined (__stub_connect) || defined (__stub___connect)
14179 if { (eval echo configure
:14180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14181 eval "ac_cv_func_connect=yes"
14183 echo "configure: failed program was:" >&5
14184 cat conftest.
$ac_ext >&5
14186 eval "ac_cv_func_connect=no"
14191 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14192 echo "$ac_t""yes" 1>&6
14195 echo "$ac_t""no" 1>&6
14198 if test $ac_cv_func_connect = no
; then
14199 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14200 echo "configure:14201: checking for connect in -lsocket" >&5
14201 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14202 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14203 echo $ac_n "(cached) $ac_c" 1>&6
14205 ac_save_LIBS
="$LIBS"
14206 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14207 cat > conftest.
$ac_ext <<EOF
14208 #line 14209 "configure"
14209 #include "confdefs.h"
14210 /* Override any gcc2 internal prototype to avoid an error. */
14211 /* We use char because int might match the return type of a gcc2
14212 builtin and then its argument prototype would still apply. */
14219 if { (eval echo configure
:14220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14221 eval "ac_cv_lib_$ac_lib_var=yes"
14223 echo "configure: failed program was:" >&5
14224 cat conftest.
$ac_ext >&5
14226 eval "ac_cv_lib_$ac_lib_var=no"
14229 LIBS
="$ac_save_LIBS"
14232 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14233 echo "$ac_t""yes" 1>&6
14234 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14236 echo "$ac_t""no" 1>&6
14241 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14242 echo $ac_n "checking for remove""... $ac_c" 1>&6
14243 echo "configure:14244: checking for remove" >&5
14244 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14245 echo $ac_n "(cached) $ac_c" 1>&6
14247 cat > conftest.
$ac_ext <<EOF
14248 #line 14249 "configure"
14249 #include "confdefs.h"
14250 /* System header to define __stub macros and hopefully few prototypes,
14251 which can conflict with char remove(); below. */
14252 #include <assert.h>
14253 /* Override any gcc2 internal prototype to avoid an error. */
14254 /* We use char because int might match the return type of a gcc2
14255 builtin and then its argument prototype would still apply. */
14260 /* The GNU C library defines this for functions which it implements
14261 to always fail with ENOSYS. Some functions are actually named
14262 something starting with __ and the normal name is an alias. */
14263 #if defined (__stub_remove) || defined (__stub___remove)
14271 if { (eval echo configure
:14272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14273 eval "ac_cv_func_remove=yes"
14275 echo "configure: failed program was:" >&5
14276 cat conftest.
$ac_ext >&5
14278 eval "ac_cv_func_remove=no"
14283 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14284 echo "$ac_t""yes" 1>&6
14287 echo "$ac_t""no" 1>&6
14290 if test $ac_cv_func_remove = no
; then
14291 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14292 echo "configure:14293: checking for remove in -lposix" >&5
14293 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14294 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14295 echo $ac_n "(cached) $ac_c" 1>&6
14297 ac_save_LIBS
="$LIBS"
14298 LIBS
="-lposix $LIBS"
14299 cat > conftest.
$ac_ext <<EOF
14300 #line 14301 "configure"
14301 #include "confdefs.h"
14302 /* Override any gcc2 internal prototype to avoid an error. */
14303 /* We use char because int might match the return type of a gcc2
14304 builtin and then its argument prototype would still apply. */
14311 if { (eval echo configure
:14312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14313 eval "ac_cv_lib_$ac_lib_var=yes"
14315 echo "configure: failed program was:" >&5
14316 cat conftest.
$ac_ext >&5
14318 eval "ac_cv_lib_$ac_lib_var=no"
14321 LIBS
="$ac_save_LIBS"
14324 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14325 echo "$ac_t""yes" 1>&6
14326 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14328 echo "$ac_t""no" 1>&6
14333 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14334 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14335 echo "configure:14336: checking for shmat" >&5
14336 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14337 echo $ac_n "(cached) $ac_c" 1>&6
14339 cat > conftest.
$ac_ext <<EOF
14340 #line 14341 "configure"
14341 #include "confdefs.h"
14342 /* System header to define __stub macros and hopefully few prototypes,
14343 which can conflict with char shmat(); below. */
14344 #include <assert.h>
14345 /* Override any gcc2 internal prototype to avoid an error. */
14346 /* We use char because int might match the return type of a gcc2
14347 builtin and then its argument prototype would still apply. */
14352 /* The GNU C library defines this for functions which it implements
14353 to always fail with ENOSYS. Some functions are actually named
14354 something starting with __ and the normal name is an alias. */
14355 #if defined (__stub_shmat) || defined (__stub___shmat)
14363 if { (eval echo configure
:14364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14365 eval "ac_cv_func_shmat=yes"
14367 echo "configure: failed program was:" >&5
14368 cat conftest.
$ac_ext >&5
14370 eval "ac_cv_func_shmat=no"
14375 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14376 echo "$ac_t""yes" 1>&6
14379 echo "$ac_t""no" 1>&6
14382 if test $ac_cv_func_shmat = no
; then
14383 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14384 echo "configure:14385: checking for shmat in -lipc" >&5
14385 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14386 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14387 echo $ac_n "(cached) $ac_c" 1>&6
14389 ac_save_LIBS
="$LIBS"
14391 cat > conftest.
$ac_ext <<EOF
14392 #line 14393 "configure"
14393 #include "confdefs.h"
14394 /* Override any gcc2 internal prototype to avoid an error. */
14395 /* We use char because int might match the return type of a gcc2
14396 builtin and then its argument prototype would still apply. */
14403 if { (eval echo configure
:14404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14405 eval "ac_cv_lib_$ac_lib_var=yes"
14407 echo "configure: failed program was:" >&5
14408 cat conftest.
$ac_ext >&5
14410 eval "ac_cv_lib_$ac_lib_var=no"
14413 LIBS
="$ac_save_LIBS"
14416 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14417 echo "$ac_t""yes" 1>&6
14418 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14420 echo "$ac_t""no" 1>&6
14426 # Check for libraries that X11R6 Xt/Xaw programs need.
14427 ac_save_LDFLAGS
="$LDFLAGS"
14428 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14429 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14430 # check for ICE first), but we must link in the order -lSM -lICE or
14431 # we get undefined symbols. So assume we have SM if we have ICE.
14432 # These have to be linked with before -lX11, unlike the other
14433 # libraries we check for below, so use a different variable.
14434 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14435 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14436 echo "configure:14437: checking for IceConnectionNumber in -lICE" >&5
14437 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14438 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14439 echo $ac_n "(cached) $ac_c" 1>&6
14441 ac_save_LIBS
="$LIBS"
14442 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14443 cat > conftest.
$ac_ext <<EOF
14444 #line 14445 "configure"
14445 #include "confdefs.h"
14446 /* Override any gcc2 internal prototype to avoid an error. */
14447 /* We use char because int might match the return type of a gcc2
14448 builtin and then its argument prototype would still apply. */
14449 char IceConnectionNumber();
14452 IceConnectionNumber()
14455 if { (eval echo configure
:14456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14457 eval "ac_cv_lib_$ac_lib_var=yes"
14459 echo "configure: failed program was:" >&5
14460 cat conftest.
$ac_ext >&5
14462 eval "ac_cv_lib_$ac_lib_var=no"
14465 LIBS
="$ac_save_LIBS"
14468 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14469 echo "$ac_t""yes" 1>&6
14470 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14472 echo "$ac_t""no" 1>&6
14475 LDFLAGS
="$ac_save_LDFLAGS"
14480 if test "$no_x" = "yes"; then
14481 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14484 GUI_TK_LIBRARY
="$X_LIBS"
14485 TOOLKIT_INCLUDE
="$X_CFLAGS"
14486 AFMINSTALL
=afminstall
14487 COMPILED_X_PROGRAM
=0
14489 if test "$wxUSE_NANOX" = "yes"; then
14490 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
14491 echo "configure:14492: checking for MicroWindows/NanoX distribution" >&5
14492 if test "x$MICROWIN" = x
; then
14493 echo "$ac_t""not found" 1>&6
14494 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
14496 echo "$ac_t""$MICROWIN" 1>&6
14497 cat >> confdefs.h
<<\EOF
14498 #define wxUSE_NANOX 1
14505 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14506 echo "configure:14507: checking for Xpm library" >&5
14509 for ac_dir
in $SEARCH_LIB /usr
/lib
;
14511 for ac_extension
in a so sl dylib
; do
14512 if test -f "$ac_dir/libXpm.$ac_extension"; then
14513 ac_find_libraries
=$ac_dir
14519 if test "$ac_find_libraries" != "" ; then
14521 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14523 if test $result = 0; then
14526 ac_path_to_link
=" -L$ac_find_libraries"
14529 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14531 cat >> confdefs.h
<<\EOF
14532 #define wxHAVE_LIB_XPM 1
14535 echo "$ac_t""found at $ac_find_libraries" 1>&6
14537 cat > conftest.
$ac_ext <<EOF
14538 #line 14539 "configure"
14539 #include "confdefs.h"
14541 #include <X11/xpm.h>
14546 version = XpmLibraryVersion();
14550 if { (eval echo configure
:14551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14554 cat >> confdefs.h
<<\EOF
14555 #define wxHAVE_LIB_XPM 1
14558 echo "$ac_t""found in default search path" 1>&6
14559 COMPILED_X_PROGRAM
=0
14562 echo "configure: failed program was:" >&5
14563 cat conftest.
$ac_ext >&5
14566 echo "$ac_t""no" 1>&6
14567 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14574 if test "$wxUSE_UNICODE" = "yes"; then
14578 if test -z "$PKG_CONFIG"; then
14579 # Extract the first word of "pkg-config", so it can be a program name with args.
14580 set dummy pkg
-config; ac_word
=$2
14581 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14582 echo "configure:14583: checking for $ac_word" >&5
14583 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14584 echo $ac_n "(cached) $ac_c" 1>&6
14586 case "$PKG_CONFIG" in
14588 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14591 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14594 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14596 for ac_dir
in $ac_dummy; do
14597 test -z "$ac_dir" && ac_dir
=.
14598 if test -f $ac_dir/$ac_word; then
14599 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14604 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14608 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14609 if test -n "$PKG_CONFIG"; then
14610 echo "$ac_t""$PKG_CONFIG" 1>&6
14612 echo "$ac_t""no" 1>&6
14617 if test "$PKG_CONFIG" = "no" ; then
14618 echo "*** The pkg-config script could not be found. Make sure it is"
14619 echo "*** in your path, or set the PKG_CONFIG environment variable"
14620 echo "*** to the full path to pkg-config."
14621 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14623 PKG_CONFIG_MIN_VERSION
=0.9.0
14624 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14625 echo $ac_n "checking for pangox""... $ac_c" 1>&6
14626 echo "configure:14627: checking for pangox" >&5
14628 if $PKG_CONFIG --exists "pangox" ; then
14629 echo "$ac_t""yes" 1>&6
14632 echo $ac_n "checking PANGOX_CFLAGS""... $ac_c" 1>&6
14633 echo "configure:14634: checking PANGOX_CFLAGS" >&5
14634 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
14635 echo "$ac_t""$PANGOX_CFLAGS" 1>&6
14637 echo $ac_n "checking PANGOX_LIBS""... $ac_c" 1>&6
14638 echo "configure:14639: checking PANGOX_LIBS" >&5
14639 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
14640 echo "$ac_t""$PANGOX_LIBS" 1>&6
14644 ## If we have a custom action on failure, don't print errors, but
14645 ## do set a variable so people can do so.
14646 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
14653 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14654 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14658 if test $succeeded = yes; then
14660 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
14661 LIBS
="$LIBS $PANGOX_LIBS"
14665 { echo "configure: error: pangox library not found, library cannot be compiled in Unicode mode" 1>&2; exit 1; }
14673 if test -z "$PKG_CONFIG"; then
14674 # Extract the first word of "pkg-config", so it can be a program name with args.
14675 set dummy pkg
-config; ac_word
=$2
14676 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14677 echo "configure:14678: checking for $ac_word" >&5
14678 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14679 echo $ac_n "(cached) $ac_c" 1>&6
14681 case "$PKG_CONFIG" in
14683 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14686 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14689 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14691 for ac_dir
in $ac_dummy; do
14692 test -z "$ac_dir" && ac_dir
=.
14693 if test -f $ac_dir/$ac_word; then
14694 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14699 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14703 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14704 if test -n "$PKG_CONFIG"; then
14705 echo "$ac_t""$PKG_CONFIG" 1>&6
14707 echo "$ac_t""no" 1>&6
14712 if test "$PKG_CONFIG" = "no" ; then
14713 echo "*** The pkg-config script could not be found. Make sure it is"
14714 echo "*** in your path, or set the PKG_CONFIG environment variable"
14715 echo "*** to the full path to pkg-config."
14716 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14718 PKG_CONFIG_MIN_VERSION
=0.9.0
14719 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14720 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
14721 echo "configure:14722: checking for pangoft2" >&5
14723 if $PKG_CONFIG --exists "pangoft2" ; then
14724 echo "$ac_t""yes" 1>&6
14727 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
14728 echo "configure:14729: checking PANGOFT2_CFLAGS" >&5
14729 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
14730 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
14732 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
14733 echo "configure:14734: checking PANGOFT2_LIBS" >&5
14734 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
14735 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
14739 ## If we have a custom action on failure, don't print errors, but
14740 ## do set a variable so people can do so.
14741 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
14748 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14749 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14753 if test $succeeded = yes; then
14755 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
14756 LIBS
="$LIBS $PANGOFT2_LIBS"
14760 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
14761 wxUSE_PRINTING_ARCHITECTURE
="no"
14769 if test -z "$PKG_CONFIG"; then
14770 # Extract the first word of "pkg-config", so it can be a program name with args.
14771 set dummy pkg
-config; ac_word
=$2
14772 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14773 echo "configure:14774: checking for $ac_word" >&5
14774 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14775 echo $ac_n "(cached) $ac_c" 1>&6
14777 case "$PKG_CONFIG" in
14779 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14782 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14785 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14787 for ac_dir
in $ac_dummy; do
14788 test -z "$ac_dir" && ac_dir
=.
14789 if test -f $ac_dir/$ac_word; then
14790 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14795 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14799 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14800 if test -n "$PKG_CONFIG"; then
14801 echo "$ac_t""$PKG_CONFIG" 1>&6
14803 echo "$ac_t""no" 1>&6
14808 if test "$PKG_CONFIG" = "no" ; then
14809 echo "*** The pkg-config script could not be found. Make sure it is"
14810 echo "*** in your path, or set the PKG_CONFIG environment variable"
14811 echo "*** to the full path to pkg-config."
14812 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14814 PKG_CONFIG_MIN_VERSION
=0.9.0
14815 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14816 echo $ac_n "checking for pangoxft""... $ac_c" 1>&6
14817 echo "configure:14818: checking for pangoxft" >&5
14819 if $PKG_CONFIG --exists "pangoxft" ; then
14820 echo "$ac_t""yes" 1>&6
14823 echo $ac_n "checking PANGOXFT_CFLAGS""... $ac_c" 1>&6
14824 echo "configure:14825: checking PANGOXFT_CFLAGS" >&5
14825 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
14826 echo "$ac_t""$PANGOXFT_CFLAGS" 1>&6
14828 echo $ac_n "checking PANGOXFT_LIBS""... $ac_c" 1>&6
14829 echo "configure:14830: checking PANGOXFT_LIBS" >&5
14830 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
14831 echo "$ac_t""$PANGOXFT_LIBS" 1>&6
14835 ## If we have a custom action on failure, don't print errors, but
14836 ## do set a variable so people can do so.
14837 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
14844 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14845 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14849 if test $succeeded = yes; then
14851 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
14852 LIBS
="$LIBS $PANGOXFT_LIBS"
14856 echo "configure: warning: pangoxft library not found, library will be compiled without anti-aliasing support" 1>&2
14863 wxUSE_UNIVERSAL
="yes"
14865 if test "$wxUSE_NANOX" = "yes"; then
14866 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
14867 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"
14868 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
14870 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
14873 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
14878 if test "$wxUSE_MOTIF" = 1; then
14879 if test "$no_x" = yes; then
14880 # Not all programs may use this symbol, but it does not hurt to define it.
14881 cat >> confdefs.h
<<\EOF
14882 #define X_DISPLAY_MISSING 1
14885 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14887 if test -n "$x_includes"; then
14888 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14891 # It would also be nice to do this for all -L options, not just this one.
14892 if test -n "$x_libraries"; then
14893 X_LIBS
="$X_LIBS -L$x_libraries"
14894 # For Solaris; some versions of Sun CC require a space after -R and
14895 # others require no space. Words are not sufficient . . . .
14896 case "`(uname -sr) 2>/dev/null`" in
14898 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
14899 echo "configure:14900: checking whether -R must be followed by a space" >&5
14900 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
14901 cat > conftest.
$ac_ext <<EOF
14902 #line 14903 "configure"
14903 #include "confdefs.h"
14909 if { (eval echo configure
:14910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14913 echo "configure: failed program was:" >&5
14914 cat conftest.
$ac_ext >&5
14919 if test $ac_R_nospace = yes; then
14920 echo "$ac_t""no" 1>&6
14921 X_LIBS
="$X_LIBS -R$x_libraries"
14923 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14924 cat > conftest.
$ac_ext <<EOF
14925 #line 14926 "configure"
14926 #include "confdefs.h"
14932 if { (eval echo configure
:14933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14936 echo "configure: failed program was:" >&5
14937 cat conftest.
$ac_ext >&5
14942 if test $ac_R_space = yes; then
14943 echo "$ac_t""yes" 1>&6
14944 X_LIBS
="$X_LIBS -R $x_libraries"
14946 echo "$ac_t""neither works" 1>&6
14949 LIBS
="$ac_xsave_LIBS"
14953 # Check for system-dependent libraries X programs must link with.
14954 # Do this before checking for the system-independent R6 libraries
14955 # (-lICE), since we may need -lsocket or whatever for X linking.
14957 if test "$ISC" = yes; then
14958 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14960 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
14961 # libraries were built with DECnet support. And karl@cs.umb.edu says
14962 # the Alpha needs dnet_stub (dnet does not exist).
14963 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
14964 echo "configure:14965: checking for dnet_ntoa in -ldnet" >&5
14965 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14966 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14967 echo $ac_n "(cached) $ac_c" 1>&6
14969 ac_save_LIBS
="$LIBS"
14970 LIBS
="-ldnet $LIBS"
14971 cat > conftest.
$ac_ext <<EOF
14972 #line 14973 "configure"
14973 #include "confdefs.h"
14974 /* Override any gcc2 internal prototype to avoid an error. */
14975 /* We use char because int might match the return type of a gcc2
14976 builtin and then its argument prototype would still apply. */
14983 if { (eval echo configure
:14984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14985 eval "ac_cv_lib_$ac_lib_var=yes"
14987 echo "configure: failed program was:" >&5
14988 cat conftest.
$ac_ext >&5
14990 eval "ac_cv_lib_$ac_lib_var=no"
14993 LIBS
="$ac_save_LIBS"
14996 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14997 echo "$ac_t""yes" 1>&6
14998 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
15000 echo "$ac_t""no" 1>&6
15003 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
15004 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
15005 echo "configure:15006: checking for dnet_ntoa in -ldnet_stub" >&5
15006 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
15007 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15008 echo $ac_n "(cached) $ac_c" 1>&6
15010 ac_save_LIBS
="$LIBS"
15011 LIBS
="-ldnet_stub $LIBS"
15012 cat > conftest.
$ac_ext <<EOF
15013 #line 15014 "configure"
15014 #include "confdefs.h"
15015 /* Override any gcc2 internal prototype to avoid an error. */
15016 /* We use char because int might match the return type of a gcc2
15017 builtin and then its argument prototype would still apply. */
15024 if { (eval echo configure
:15025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15026 eval "ac_cv_lib_$ac_lib_var=yes"
15028 echo "configure: failed program was:" >&5
15029 cat conftest.
$ac_ext >&5
15031 eval "ac_cv_lib_$ac_lib_var=no"
15034 LIBS
="$ac_save_LIBS"
15037 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15038 echo "$ac_t""yes" 1>&6
15039 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
15041 echo "$ac_t""no" 1>&6
15046 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
15047 # to get the SysV transport functions.
15048 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
15050 # The nsl library prevents programs from opening the X display
15051 # on Irix 5.2, according to dickey@clark.net.
15052 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
15053 echo "configure:15054: checking for gethostbyname" >&5
15054 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
15055 echo $ac_n "(cached) $ac_c" 1>&6
15057 cat > conftest.
$ac_ext <<EOF
15058 #line 15059 "configure"
15059 #include "confdefs.h"
15060 /* System header to define __stub macros and hopefully few prototypes,
15061 which can conflict with char gethostbyname(); below. */
15062 #include <assert.h>
15063 /* Override any gcc2 internal prototype to avoid an error. */
15064 /* We use char because int might match the return type of a gcc2
15065 builtin and then its argument prototype would still apply. */
15066 char gethostbyname();
15070 /* The GNU C library defines this for functions which it implements
15071 to always fail with ENOSYS. Some functions are actually named
15072 something starting with __ and the normal name is an alias. */
15073 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
15081 if { (eval echo configure
:15082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15083 eval "ac_cv_func_gethostbyname=yes"
15085 echo "configure: failed program was:" >&5
15086 cat conftest.
$ac_ext >&5
15088 eval "ac_cv_func_gethostbyname=no"
15093 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
15094 echo "$ac_t""yes" 1>&6
15097 echo "$ac_t""no" 1>&6
15100 if test $ac_cv_func_gethostbyname = no
; then
15101 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
15102 echo "configure:15103: checking for gethostbyname in -lnsl" >&5
15103 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
15104 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15105 echo $ac_n "(cached) $ac_c" 1>&6
15107 ac_save_LIBS
="$LIBS"
15109 cat > conftest.
$ac_ext <<EOF
15110 #line 15111 "configure"
15111 #include "confdefs.h"
15112 /* Override any gcc2 internal prototype to avoid an error. */
15113 /* We use char because int might match the return type of a gcc2
15114 builtin and then its argument prototype would still apply. */
15115 char gethostbyname();
15121 if { (eval echo configure
:15122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15123 eval "ac_cv_lib_$ac_lib_var=yes"
15125 echo "configure: failed program was:" >&5
15126 cat conftest.
$ac_ext >&5
15128 eval "ac_cv_lib_$ac_lib_var=no"
15131 LIBS
="$ac_save_LIBS"
15134 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15135 echo "$ac_t""yes" 1>&6
15136 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
15138 echo "$ac_t""no" 1>&6
15143 # lieder@skyler.mavd.honeywell.com says without -lsocket,
15144 # socket/setsockopt and other routines are undefined under SCO ODT
15145 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
15146 # on later versions), says simon@lia.di.epfl.ch: it contains
15147 # gethostby* variants that don't use the nameserver (or something).
15148 # -lsocket must be given before -lnsl if both are needed.
15149 # We assume that if connect needs -lnsl, so does gethostbyname.
15150 echo $ac_n "checking for connect""... $ac_c" 1>&6
15151 echo "configure:15152: checking for connect" >&5
15152 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
15153 echo $ac_n "(cached) $ac_c" 1>&6
15155 cat > conftest.
$ac_ext <<EOF
15156 #line 15157 "configure"
15157 #include "confdefs.h"
15158 /* System header to define __stub macros and hopefully few prototypes,
15159 which can conflict with char connect(); below. */
15160 #include <assert.h>
15161 /* Override any gcc2 internal prototype to avoid an error. */
15162 /* We use char because int might match the return type of a gcc2
15163 builtin and then its argument prototype would still apply. */
15168 /* The GNU C library defines this for functions which it implements
15169 to always fail with ENOSYS. Some functions are actually named
15170 something starting with __ and the normal name is an alias. */
15171 #if defined (__stub_connect) || defined (__stub___connect)
15179 if { (eval echo configure
:15180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15181 eval "ac_cv_func_connect=yes"
15183 echo "configure: failed program was:" >&5
15184 cat conftest.
$ac_ext >&5
15186 eval "ac_cv_func_connect=no"
15191 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
15192 echo "$ac_t""yes" 1>&6
15195 echo "$ac_t""no" 1>&6
15198 if test $ac_cv_func_connect = no
; then
15199 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
15200 echo "configure:15201: checking for connect in -lsocket" >&5
15201 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
15202 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15203 echo $ac_n "(cached) $ac_c" 1>&6
15205 ac_save_LIBS
="$LIBS"
15206 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
15207 cat > conftest.
$ac_ext <<EOF
15208 #line 15209 "configure"
15209 #include "confdefs.h"
15210 /* Override any gcc2 internal prototype to avoid an error. */
15211 /* We use char because int might match the return type of a gcc2
15212 builtin and then its argument prototype would still apply. */
15219 if { (eval echo configure
:15220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15221 eval "ac_cv_lib_$ac_lib_var=yes"
15223 echo "configure: failed program was:" >&5
15224 cat conftest.
$ac_ext >&5
15226 eval "ac_cv_lib_$ac_lib_var=no"
15229 LIBS
="$ac_save_LIBS"
15232 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15233 echo "$ac_t""yes" 1>&6
15234 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
15236 echo "$ac_t""no" 1>&6
15241 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
15242 echo $ac_n "checking for remove""... $ac_c" 1>&6
15243 echo "configure:15244: checking for remove" >&5
15244 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
15245 echo $ac_n "(cached) $ac_c" 1>&6
15247 cat > conftest.
$ac_ext <<EOF
15248 #line 15249 "configure"
15249 #include "confdefs.h"
15250 /* System header to define __stub macros and hopefully few prototypes,
15251 which can conflict with char remove(); below. */
15252 #include <assert.h>
15253 /* Override any gcc2 internal prototype to avoid an error. */
15254 /* We use char because int might match the return type of a gcc2
15255 builtin and then its argument prototype would still apply. */
15260 /* The GNU C library defines this for functions which it implements
15261 to always fail with ENOSYS. Some functions are actually named
15262 something starting with __ and the normal name is an alias. */
15263 #if defined (__stub_remove) || defined (__stub___remove)
15271 if { (eval echo configure
:15272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15273 eval "ac_cv_func_remove=yes"
15275 echo "configure: failed program was:" >&5
15276 cat conftest.
$ac_ext >&5
15278 eval "ac_cv_func_remove=no"
15283 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
15284 echo "$ac_t""yes" 1>&6
15287 echo "$ac_t""no" 1>&6
15290 if test $ac_cv_func_remove = no
; then
15291 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
15292 echo "configure:15293: checking for remove in -lposix" >&5
15293 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
15294 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15295 echo $ac_n "(cached) $ac_c" 1>&6
15297 ac_save_LIBS
="$LIBS"
15298 LIBS
="-lposix $LIBS"
15299 cat > conftest.
$ac_ext <<EOF
15300 #line 15301 "configure"
15301 #include "confdefs.h"
15302 /* Override any gcc2 internal prototype to avoid an error. */
15303 /* We use char because int might match the return type of a gcc2
15304 builtin and then its argument prototype would still apply. */
15311 if { (eval echo configure
:15312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15313 eval "ac_cv_lib_$ac_lib_var=yes"
15315 echo "configure: failed program was:" >&5
15316 cat conftest.
$ac_ext >&5
15318 eval "ac_cv_lib_$ac_lib_var=no"
15321 LIBS
="$ac_save_LIBS"
15324 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15325 echo "$ac_t""yes" 1>&6
15326 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
15328 echo "$ac_t""no" 1>&6
15333 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
15334 echo $ac_n "checking for shmat""... $ac_c" 1>&6
15335 echo "configure:15336: checking for shmat" >&5
15336 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
15337 echo $ac_n "(cached) $ac_c" 1>&6
15339 cat > conftest.
$ac_ext <<EOF
15340 #line 15341 "configure"
15341 #include "confdefs.h"
15342 /* System header to define __stub macros and hopefully few prototypes,
15343 which can conflict with char shmat(); below. */
15344 #include <assert.h>
15345 /* Override any gcc2 internal prototype to avoid an error. */
15346 /* We use char because int might match the return type of a gcc2
15347 builtin and then its argument prototype would still apply. */
15352 /* The GNU C library defines this for functions which it implements
15353 to always fail with ENOSYS. Some functions are actually named
15354 something starting with __ and the normal name is an alias. */
15355 #if defined (__stub_shmat) || defined (__stub___shmat)
15363 if { (eval echo configure
:15364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15365 eval "ac_cv_func_shmat=yes"
15367 echo "configure: failed program was:" >&5
15368 cat conftest.
$ac_ext >&5
15370 eval "ac_cv_func_shmat=no"
15375 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
15376 echo "$ac_t""yes" 1>&6
15379 echo "$ac_t""no" 1>&6
15382 if test $ac_cv_func_shmat = no
; then
15383 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
15384 echo "configure:15385: checking for shmat in -lipc" >&5
15385 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
15386 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15387 echo $ac_n "(cached) $ac_c" 1>&6
15389 ac_save_LIBS
="$LIBS"
15391 cat > conftest.
$ac_ext <<EOF
15392 #line 15393 "configure"
15393 #include "confdefs.h"
15394 /* Override any gcc2 internal prototype to avoid an error. */
15395 /* We use char because int might match the return type of a gcc2
15396 builtin and then its argument prototype would still apply. */
15403 if { (eval echo configure
:15404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15405 eval "ac_cv_lib_$ac_lib_var=yes"
15407 echo "configure: failed program was:" >&5
15408 cat conftest.
$ac_ext >&5
15410 eval "ac_cv_lib_$ac_lib_var=no"
15413 LIBS
="$ac_save_LIBS"
15416 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15417 echo "$ac_t""yes" 1>&6
15418 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
15420 echo "$ac_t""no" 1>&6
15426 # Check for libraries that X11R6 Xt/Xaw programs need.
15427 ac_save_LDFLAGS
="$LDFLAGS"
15428 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
15429 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
15430 # check for ICE first), but we must link in the order -lSM -lICE or
15431 # we get undefined symbols. So assume we have SM if we have ICE.
15432 # These have to be linked with before -lX11, unlike the other
15433 # libraries we check for below, so use a different variable.
15434 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
15435 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
15436 echo "configure:15437: checking for IceConnectionNumber in -lICE" >&5
15437 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
15438 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15439 echo $ac_n "(cached) $ac_c" 1>&6
15441 ac_save_LIBS
="$LIBS"
15442 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
15443 cat > conftest.
$ac_ext <<EOF
15444 #line 15445 "configure"
15445 #include "confdefs.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. */
15449 char IceConnectionNumber();
15452 IceConnectionNumber()
15455 if { (eval echo configure
:15456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15457 eval "ac_cv_lib_$ac_lib_var=yes"
15459 echo "configure: failed program was:" >&5
15460 cat conftest.
$ac_ext >&5
15462 eval "ac_cv_lib_$ac_lib_var=no"
15465 LIBS
="$ac_save_LIBS"
15468 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15469 echo "$ac_t""yes" 1>&6
15470 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
15472 echo "$ac_t""no" 1>&6
15475 LDFLAGS
="$ac_save_LDFLAGS"
15480 if test "$no_x" = "yes"; then
15481 { echo "configure: error: X11 not found" 1>&2; exit 1; }
15484 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
15485 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
15486 AFMINSTALL
=afminstall
15487 COMPILED_X_PROGRAM
=0
15489 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
15490 echo "configure:15491: checking for Motif/Lesstif headers" >&5
15493 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
15495 if test -f "$ac_dir/Xm/Xm.h"; then
15496 ac_find_includes
=$ac_dir
15501 if test "$ac_find_includes" != "" ; then
15502 echo "$ac_t""found in $ac_find_includes" 1>&6
15504 if test "x$ac_find_includes" = "x/usr/include"; then
15505 ac_path_to_include
=""
15507 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
15509 if test $result = 0; then
15510 ac_path_to_include
=""
15512 ac_path_to_include
=" -I$ac_find_includes"
15516 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
15518 cat > conftest.
$ac_ext <<EOF
15519 #line 15520 "configure"
15520 #include "confdefs.h"
15527 version = xmUseVersion;
15531 if { (eval echo configure
:15532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15534 echo "$ac_t""found in default search path" 1>&6
15535 COMPILED_X_PROGRAM
=1
15538 echo "configure: failed program was:" >&5
15539 cat conftest.
$ac_ext >&5
15542 echo "$ac_t""no" 1>&6
15543 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
15550 if test "$COMPILED_X_PROGRAM" = 0; then
15551 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
15552 echo "configure:15553: checking for Motif/Lesstif library" >&5
15555 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15557 for ac_extension
in a so sl dylib
; do
15558 if test -f "$ac_dir/libXm.$ac_extension"; then
15559 ac_find_libraries
=$ac_dir
15565 if test "$ac_find_libraries" != "" ; then
15566 echo "$ac_t""found at $ac_find_libraries" 1>&6
15569 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15571 if test $result = 0; then
15574 ac_path_to_link
=" -L$ac_find_libraries"
15577 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15579 save_CFLAGS
=$CFLAGS
15580 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15582 cat > conftest.
$ac_ext <<EOF
15583 #line 15584 "configure"
15584 #include "confdefs.h"
15591 version = xmUseVersion;
15595 if { (eval echo configure
:15596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15598 echo "$ac_t""found in default search path" 1>&6
15599 COMPILED_X_PROGRAM
=1
15602 echo "configure: failed program was:" >&5
15603 cat conftest.
$ac_ext >&5
15606 echo "$ac_t""no" 1>&6
15607 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
15613 CFLAGS
=$save_CFLAGS
15618 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
15619 echo "configure:15620: checking for Xpm library" >&5
15622 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15624 for ac_extension
in a so sl dylib
; do
15625 if test -f "$ac_dir/libXpm.$ac_extension"; then
15626 ac_find_libraries
=$ac_dir
15632 if test "$ac_find_libraries" != "" ; then
15634 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15636 if test $result = 0; then
15639 ac_path_to_link
=" -L$ac_find_libraries"
15642 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15645 cat >> confdefs.h
<<\EOF
15646 #define wxHAVE_LIB_XPM 1
15649 echo "$ac_t""found at $ac_find_libraries" 1>&6
15651 save_CFLAGS
=$CFLAGS
15652 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15654 cat > conftest.
$ac_ext <<EOF
15655 #line 15656 "configure"
15656 #include "confdefs.h"
15658 #include <X11/xpm.h>
15663 version = XpmLibraryVersion();
15667 if { (eval echo configure
:15668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15671 cat >> confdefs.h
<<\EOF
15672 #define wxHAVE_LIB_XPM 1
15675 echo "$ac_t""found in default search path" 1>&6
15676 COMPILED_X_PROGRAM
=0
15679 echo "configure: failed program was:" >&5
15680 cat conftest.
$ac_ext >&5
15683 echo "$ac_t""no" 1>&6
15684 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
15690 CFLAGS
=$save_CFLAGS
15693 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
15694 echo "configure:15695: checking if we need -lXp and/or -lSM -lICE" >&5
15698 for libp
in "" " -lXp"; do
15699 if test "$libs_found" = "0"; then
15700 for libsm_ice
in " -lSM -lICE"; do
15701 if test "$libs_found" = "0"; then
15703 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
15704 save_CFLAGS
=$CFLAGS
15705 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15707 cat > conftest.
$ac_ext <<EOF
15708 #line 15709 "configure"
15709 #include "confdefs.h"
15712 #include <Xm/List.h>
15716 XmString string = NULL;
15719 XmListAddItem(w, string, position);
15723 if { (eval echo configure
:15724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15727 libsm_ice_link
="$libsm_ice"
15728 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
15732 echo "configure: failed program was:" >&5
15733 cat conftest.
$ac_ext >&5
15741 CFLAGS
=$save_CFLAGS
15747 if test "$libs_found" = "0"; then
15748 echo "$ac_t""can't find the right libraries" 1>&6
15749 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
15752 save_CFLAGS
=$CFLAGS
15753 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15754 echo $ac_n "checking for Motif 2""... $ac_c" 1>&6
15755 echo "configure:15756: checking for Motif 2" >&5
15756 cat > conftest.
$ac_ext <<EOF
15757 #line 15758 "configure"
15758 #include "confdefs.h"
15764 #if XmVersion < 2000
15765 #error "Not Motif 2"
15770 if { (eval echo configure
:15771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15773 cat >> confdefs.h
<<\EOF
15774 #define __WXMOTIF20__ 1
15777 echo "$ac_t""found" 1>&6
15780 echo "configure: failed program was:" >&5
15781 cat conftest.
$ac_ext >&5
15784 cat >> confdefs.h
<<\EOF
15785 #define __WXMOTIF20__ 0
15788 echo "$ac_t""not found" 1>&6
15792 CFLAGS
=$save_CFLAGS
15794 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
15795 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
15800 if test "$wxUSE_MAC" = 1; then
15801 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
15803 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
15808 if test "$wxUSE_COCOA" = 1; then
15809 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
15814 if test "$wxUSE_PM" = 1; then
15817 echo "configure: warning: OS/2 PM requires old resource format, re-enabled" 1>&2
15818 wxUSE_PROLOGIO
="yes"
15819 wxUSE_RESOURCES
="yes"
15820 echo "configure: warning: OS/2 threads are not yet supported... disabled" 1>&2
15824 if test "$TOOLKIT" = "PM" ; then
15827 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
15830 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
15832 if test "$wxUSE_UNIVERSAL" = "yes"; then
15833 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
15835 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
15836 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
15838 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
15839 if test "$wxUSE_X11" = 1; then
15840 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
15842 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
15844 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
15847 ALL_OBJECTS
="\$(GUIOBJS)"
15848 ALL_SOURCES
="\$(ALL_SOURCES)"
15849 ALL_HEADERS
="\$(ALL_HEADERS)"
15852 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
15854 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
15855 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
15858 if test "$wxUSE_HTML" = "yes"; then
15859 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
15862 if test "$wxUSE_LIBJPEG" = "builtin" ; then
15863 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
15865 if test "$wxUSE_LIBTIFF" = "builtin" ; then
15866 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
15868 if test "$wxUSE_LIBPNG" = "builtin" ; then
15869 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
15872 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
15873 DISTDIR
="wx\$(TOOLKIT)"
15879 if test "$USE_WIN32" = 1 ; then
15880 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
15881 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
15885 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
15886 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
15889 ALL_SOURCES
="\$(ALL_SOURCES)"
15890 ALL_HEADERS
="\$(ALL_HEADERS)"
15892 PORT_FILES
="\${top_srcdir}/src/files.lst"
15894 GUIDIST
="BASE_DIST"
15899 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
15900 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
15903 if test "$wxUSE_REGEX" = "builtin" ; then
15904 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
15906 if test "$wxUSE_ZLIB" = "builtin" ; then
15907 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
15911 if test "$wxUSE_OPENGL" = "yes"; then
15912 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
15913 OPENGL_LIBS
="-framework OpenGL -framework AGL"
15914 elif test "$wxUSE_MSW" = 1; then
15915 OPENGL_LIBS
="-lopengl32 -lglu32"
15917 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15918 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15919 echo "configure:15920: checking for GL/gl.h" >&5
15920 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15921 echo $ac_n "(cached) $ac_c" 1>&6
15923 cat > conftest.
$ac_ext <<EOF
15924 #line 15925 "configure"
15925 #include "confdefs.h"
15928 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15929 { (eval echo configure
:15930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15930 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15931 if test -z "$ac_err"; then
15933 eval "ac_cv_header_$ac_safe=yes"
15936 echo "configure: failed program was:" >&5
15937 cat conftest.
$ac_ext >&5
15939 eval "ac_cv_header_$ac_safe=no"
15943 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15944 echo "$ac_t""yes" 1>&6
15946 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
15947 echo "configure:15948: checking for -lGL" >&5
15950 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15952 for ac_extension
in a so sl dylib
; do
15953 if test -f "$ac_dir/libGL.$ac_extension"; then
15954 ac_find_libraries
=$ac_dir
15960 if test "$ac_find_libraries" != "" ; then
15962 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15964 if test $result = 0; then
15967 ac_path_to_link
=" -L$ac_find_libraries"
15970 if test "$ac_path_to_link" = " -L/usr/lib" ; then
15971 LDFLAGS_GL
="$LDFLAGS"
15973 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15975 OPENGL_LIBS
="-lGL -lGLU"
15976 echo "$ac_t""yes" 1>&6
15978 echo "$ac_t""no" 1>&6
15979 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
15980 echo "configure:15981: checking for -lMesaGL" >&5
15983 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15985 for ac_extension
in a so sl dylib
; do
15986 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
15987 ac_find_libraries
=$ac_dir
15993 if test "$ac_find_libraries" != "" ; then
15995 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15997 if test $result = 0; then
16000 ac_path_to_link
=" -L$ac_find_libraries"
16003 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
16004 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
16005 echo "$ac_t""yes" 1>&6
16007 echo "$ac_t""no" 1>&6
16012 echo "$ac_t""no" 1>&6
16016 if test "x$OPENGL_LIBS" = "x"; then
16017 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
16021 if test "$wxUSE_OPENGL" = "yes"; then
16022 cat >> confdefs.h
<<\EOF
16023 #define wxUSE_OPENGL 1
16026 cat >> confdefs.h
<<\EOF
16027 #define wxUSE_GLCANVAS 1
16030 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
16034 if test -z "$TOOLKIT_VPATH" ; then
16035 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
16038 if test -n "$TOOLKIT" ; then
16039 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
16042 lib_unicode_suffix
=
16043 if test "$wxUSE_UNICODE" = "yes"; then
16044 lib_unicode_suffix
=u
16048 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
16052 WX_VERSION_TAG
=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
16054 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
16055 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
16057 if test "$cross_compiling" = "yes"; then
16058 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
16059 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
16062 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
16063 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
16064 WX_LIBRARY_BASENAME
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
16066 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
16067 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
16069 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
16070 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16071 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
16072 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16075 *-*-cygwin* | *-*-mingw32* )
16079 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
16080 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
16081 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
16082 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
16083 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
16085 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16086 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16092 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
16093 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
16095 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
16096 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16097 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
16098 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16100 if test "$wxUSE_MAC" = 1; then
16101 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
16102 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
16107 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
16108 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
16110 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
16111 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
16113 if test "$wxUSE_OPENGL" = "yes"; then
16114 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
16115 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
16120 if test "$wxUSE_SHARED" = "yes"; then
16122 *-pc-os2_emx | *-pc-os2-emx | \
16125 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
16130 if test "$wxUSE_SHARED" = "yes"; then
16132 if test "$wxUSE_OPENGL" = "yes"; then
16133 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
16134 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
16136 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16137 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
16140 if test "$GCC" = "yes"; then
16146 found_versioning
=no
16149 if test $found_versioning = no
; then
16150 echo $ac_n "checking if the linker accepts --version-script""... $ac_c" 1>&6
16151 echo "configure:16152: checking if the linker accepts --version-script" >&5
16152 if eval "test \"`echo '$''{'wx_cv_version_script'+set}'`\" = set"; then
16153 echo $ac_n "(cached) $ac_c" 1>&6
16156 echo "VER_1 { *; };" >conftest.sym
16157 echo "int main() { return 0; }" >conftest.cpp
16160 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
16161 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'; { (eval echo configure
:16162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } ; then
16162 if test -s conftest.stderr
; then
16163 wx_cv_version_script
=no
16165 wx_cv_version_script
=yes
16168 wx_cv_version_script
=no
16170 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
16174 echo "$ac_t""$wx_cv_version_script" 1>&6
16175 if test $wx_cv_version_script = yes ; then
16176 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)/version-script"
16181 SHARED_LD
="${CXX} -shared -o"
16185 if test "$GCC" = "yes"; then
16186 SHARED_LD
="${CXX} -shared ${PIC_FLAG} -o"
16188 LDFLAGS
="$LDFLAGS -L/usr/lib"
16190 SHARED_LD
="${CXX} -b -o"
16194 if test "$wxUSE_OPENGL" = "yes"; then
16195 WX_ALL_INSTALLED
="preinstall_gl"
16196 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
16198 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16203 if test "$GCC" != "yes"; then
16204 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
16205 echo "configure:16206: checking for Intel compiler" >&5
16206 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
16207 echo $ac_n "(cached) $ac_c" 1>&6
16210 cat > conftest.
$ac_ext <<EOF
16211 #line 16212 "configure"
16212 #include "confdefs.h"
16216 #ifndef __INTEL_COMPILER
16222 if { (eval echo configure
:16223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16226 echo "configure: failed program was:" >&5
16227 cat conftest.
$ac_ext >&5
16236 echo "$ac_t""$wx_cv_prog_icc" 1>&6
16237 if test "$wx_cv_prog_icc" = "yes"; then
16242 if test "$wxUSE_SONAME" = "yes" ; then
16243 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
16244 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
16245 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
16250 if test "$GCC" = yes ; then
16251 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
16253 SHARED_LD
="${CXX} -G -o"
16255 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
16256 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
16261 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
16262 CFLAGS
="$CFLAGS -fno-common"
16263 CXXFLAGS
="$CXXFLAGS -fno-common"
16264 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
16265 PIC_FLAG
="-dynamic -fPIC"
16266 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1}"
16267 SONAME_FLAGS_GL
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1_GL}"
16271 if test "$GCC" != "yes"; then
16272 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
16273 set dummy makeC
++SharedLib
; ac_word
=$2
16274 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16275 echo "configure:16276: checking for $ac_word" >&5
16276 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
16277 echo $ac_n "(cached) $ac_c" 1>&6
16279 if test -n "$AIX_CXX_LD"; then
16280 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
16282 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16284 for ac_dir
in $ac_dummy; do
16285 test -z "$ac_dir" && ac_dir
=.
16286 if test -f $ac_dir/$ac_word; then
16287 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
16292 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
16295 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
16296 if test -n "$AIX_CXX_LD"; then
16297 echo "$ac_t""$AIX_CXX_LD" 1>&6
16299 echo "$ac_t""no" 1>&6
16303 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
16307 *-*-cygwin* | *-*-mingw32* )
16308 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
16310 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
16311 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
16313 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
16315 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16316 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16318 if test "$wxUSE_OPENGL" = "yes"; then
16319 LIBS
="${LIBS} ${OPENGL_LIBS}"
16324 SHARED_LD
="${LD} -shared -o"
16328 if test "$GCC" != "yes"; then
16333 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
16341 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
16344 if test "x$WX_TARGET_LIBRARY" = "x"; then
16345 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
16346 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
16349 WX_TARGET_LIBRARY_TYPE
="so"
16350 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
16353 if test "$wxUSE_SHARED" = "no"; then
16355 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
16356 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16359 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
16360 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16363 if test "$wxUSE_OPENGL" = "yes"; then
16364 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
16365 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
16367 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
16370 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
16371 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
16373 WX_TARGET_LIBRARY_TYPE
="a"
16374 INSTALL_LIBRARY
='$(INSTALL_DATA)'
16384 if test "$wxUSE_MAC" = 1; then
16385 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
16386 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
16387 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
16388 # Extract the first word of "Rez", so it can be a program name with args.
16389 set dummy Rez
; ac_word
=$2
16390 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16391 echo "configure:16392: checking for $ac_word" >&5
16392 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16393 echo $ac_n "(cached) $ac_c" 1>&6
16395 if test -n "$RESCOMP"; then
16396 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
16398 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16400 for ac_dir
in $ac_dummy; do
16401 test -z "$ac_dir" && ac_dir
=.
16402 if test -f $ac_dir/$ac_word; then
16403 ac_cv_prog_RESCOMP
="Rez"
16408 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
16411 RESCOMP
="$ac_cv_prog_RESCOMP"
16412 if test -n "$RESCOMP"; then
16413 echo "$ac_t""$RESCOMP" 1>&6
16415 echo "$ac_t""no" 1>&6
16418 # Extract the first word of "DeRez", so it can be a program name with args.
16419 set dummy DeRez
; ac_word
=$2
16420 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16421 echo "configure:16422: checking for $ac_word" >&5
16422 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16423 echo $ac_n "(cached) $ac_c" 1>&6
16425 if test -n "$DEREZ"; then
16426 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
16428 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16430 for ac_dir
in $ac_dummy; do
16431 test -z "$ac_dir" && ac_dir
=.
16432 if test -f $ac_dir/$ac_word; then
16433 ac_cv_prog_DEREZ
="DeRez"
16438 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
16441 DEREZ
="$ac_cv_prog_DEREZ"
16442 if test -n "$DEREZ"; then
16443 echo "$ac_t""$DEREZ" 1>&6
16445 echo "$ac_t""no" 1>&6
16448 # Extract the first word of "SetFile", so it can be a program name with args.
16449 set dummy SetFile
; ac_word
=$2
16450 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16451 echo "configure:16452: checking for $ac_word" >&5
16452 if eval "test \"`echo '$''{'ac_cv_prog_SETFILE'+set}'`\" = set"; then
16453 echo $ac_n "(cached) $ac_c" 1>&6
16455 if test -n "$SETFILE"; then
16456 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
16458 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16460 for ac_dir
in $ac_dummy; do
16461 test -z "$ac_dir" && ac_dir
=.
16462 if test -f $ac_dir/$ac_word; then
16463 ac_cv_prog_SETFILE
="SetFile"
16468 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
16471 SETFILE
="$ac_cv_prog_SETFILE"
16472 if test -n "$SETFILE"; then
16473 echo "$ac_t""$SETFILE" 1>&6
16475 echo "$ac_t""no" 1>&6
16478 MACOSX_BUNDLE
="bundle"
16479 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
16480 MACSETFILE
="\$(SETFILE)"
16481 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}} -o"
16483 if test "$wxUSE_PM" = 1; then
16484 MACRESCOMP
="emxbind -ep"
16489 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
16490 echo "configure:16491: checking for ANSI C header files" >&5
16491 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
16492 echo $ac_n "(cached) $ac_c" 1>&6
16494 cat > conftest.
$ac_ext <<EOF
16495 #line 16496 "configure"
16496 #include "confdefs.h"
16497 #include <stdlib.h>
16498 #include <stdarg.h>
16499 #include <string.h>
16502 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16503 { (eval echo configure
:16504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16504 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16505 if test -z "$ac_err"; then
16507 ac_cv_header_stdc
=yes
16510 echo "configure: failed program was:" >&5
16511 cat conftest.
$ac_ext >&5
16513 ac_cv_header_stdc
=no
16517 if test $ac_cv_header_stdc = yes; then
16518 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16519 cat > conftest.
$ac_ext <<EOF
16520 #line 16521 "configure"
16521 #include "confdefs.h"
16522 #include <string.h>
16524 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16525 egrep "memchr" >/dev
/null
2>&1; then
16529 ac_cv_header_stdc
=no
16535 if test $ac_cv_header_stdc = yes; then
16536 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16537 cat > conftest.
$ac_ext <<EOF
16538 #line 16539 "configure"
16539 #include "confdefs.h"
16540 #include <stdlib.h>
16542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16543 egrep "free" >/dev
/null
2>&1; then
16547 ac_cv_header_stdc
=no
16553 if test $ac_cv_header_stdc = yes; then
16554 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16555 if test "$cross_compiling" = yes; then
16558 cat > conftest.
$ac_ext <<EOF
16559 #line 16560 "configure"
16560 #include "confdefs.h"
16562 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16563 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16564 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16565 int main () { int i; for (i = 0; i < 256; i++)
16566 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
16570 if { (eval echo configure
:16571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
16574 echo "configure: failed program was:" >&5
16575 cat conftest.
$ac_ext >&5
16577 ac_cv_header_stdc
=no
16585 echo "$ac_t""$ac_cv_header_stdc" 1>&6
16586 if test $ac_cv_header_stdc = yes; then
16587 cat >> confdefs.h
<<\EOF
16588 #define STDC_HEADERS 1
16593 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
16594 echo "configure:16595: checking for mode_t" >&5
16595 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
16596 echo $ac_n "(cached) $ac_c" 1>&6
16598 cat > conftest.
$ac_ext <<EOF
16599 #line 16600 "configure"
16600 #include "confdefs.h"
16601 #include <sys/types.h>
16603 #include <stdlib.h>
16604 #include <stddef.h>
16607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16608 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16610 ac_cv_type_mode_t
=yes
16613 ac_cv_type_mode_t
=no
16618 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
16619 if test $ac_cv_type_mode_t = no
; then
16620 cat >> confdefs.h
<<\EOF
16626 echo $ac_n "checking for off_t""... $ac_c" 1>&6
16627 echo "configure:16628: checking for off_t" >&5
16628 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
16629 echo $ac_n "(cached) $ac_c" 1>&6
16631 cat > conftest.
$ac_ext <<EOF
16632 #line 16633 "configure"
16633 #include "confdefs.h"
16634 #include <sys/types.h>
16636 #include <stdlib.h>
16637 #include <stddef.h>
16640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16641 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16643 ac_cv_type_off_t
=yes
16646 ac_cv_type_off_t
=no
16651 echo "$ac_t""$ac_cv_type_off_t" 1>&6
16652 if test $ac_cv_type_off_t = no
; then
16653 cat >> confdefs.h
<<\EOF
16659 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
16660 echo "configure:16661: checking for pid_t" >&5
16661 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
16662 echo $ac_n "(cached) $ac_c" 1>&6
16664 cat > conftest.
$ac_ext <<EOF
16665 #line 16666 "configure"
16666 #include "confdefs.h"
16667 #include <sys/types.h>
16669 #include <stdlib.h>
16670 #include <stddef.h>
16673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16674 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16676 ac_cv_type_pid_t
=yes
16679 ac_cv_type_pid_t
=no
16684 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
16685 if test $ac_cv_type_pid_t = no
; then
16686 cat >> confdefs.h
<<\EOF
16692 echo $ac_n "checking for size_t""... $ac_c" 1>&6
16693 echo "configure:16694: checking for size_t" >&5
16694 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
16695 echo $ac_n "(cached) $ac_c" 1>&6
16697 cat > conftest.
$ac_ext <<EOF
16698 #line 16699 "configure"
16699 #include "confdefs.h"
16700 #include <sys/types.h>
16702 #include <stdlib.h>
16703 #include <stddef.h>
16706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16707 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16709 ac_cv_type_size_t
=yes
16712 ac_cv_type_size_t
=no
16717 echo "$ac_t""$ac_cv_type_size_t" 1>&6
16718 if test $ac_cv_type_size_t = no
; then
16719 cat >> confdefs.h
<<\EOF
16720 #define size_t unsigned
16725 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
16726 echo "configure:16727: checking for uid_t in sys/types.h" >&5
16727 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
16728 echo $ac_n "(cached) $ac_c" 1>&6
16730 cat > conftest.
$ac_ext <<EOF
16731 #line 16732 "configure"
16732 #include "confdefs.h"
16733 #include <sys/types.h>
16735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16736 egrep "uid_t" >/dev
/null
2>&1; then
16738 ac_cv_type_uid_t
=yes
16741 ac_cv_type_uid_t
=no
16747 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
16748 if test $ac_cv_type_uid_t = no
; then
16749 cat >> confdefs.h
<<\EOF
16753 cat >> confdefs.h
<<\EOF
16762 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16763 ac_cpp
='$CXXCPP $CPPFLAGS'
16764 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16765 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16766 cross_compiling
=$ac_cv_prog_cxx_cross
16768 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
16769 echo "configure:16770: checking if size_t is unsigned int" >&5
16770 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
16771 echo $ac_n "(cached) $ac_c" 1>&6
16773 cat > conftest.
$ac_ext <<EOF
16774 #line 16775 "configure"
16775 #include "confdefs.h"
16776 #include <stddef.h>
16781 struct Foo { void foo(size_t); void foo(unsigned int); };
16787 if { (eval echo configure
:16788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16789 wx_cv_size_t_is_uint
=no
16791 echo "configure: failed program was:" >&5
16792 cat conftest.
$ac_ext >&5
16794 wx_cv_size_t_is_uint
=yes
16801 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
16803 if test "$wx_cv_size_t_is_uint" = "yes"; then
16804 cat >> confdefs.h
<<\EOF
16805 #define wxSIZE_T_IS_UINT 1
16809 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
16810 echo "configure:16811: checking if size_t is unsigned long" >&5
16811 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
16812 echo $ac_n "(cached) $ac_c" 1>&6
16814 cat > conftest.
$ac_ext <<EOF
16815 #line 16816 "configure"
16816 #include "confdefs.h"
16817 #include <stddef.h>
16822 struct Foo { void foo(size_t); void foo(unsigned long); };
16828 if { (eval echo configure
:16829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16830 wx_cv_size_t_is_ulong
=no
16832 echo "configure: failed program was:" >&5
16833 cat conftest.
$ac_ext >&5
16835 wx_cv_size_t_is_ulong
=yes
16842 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
16844 if test "$wx_cv_size_t_is_ulong" = "yes"; then
16845 cat >> confdefs.h
<<\EOF
16846 #define wxSIZE_T_IS_ULONG 1
16853 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16854 ac_cpp
='$CPP $CPPFLAGS'
16855 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16856 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16857 cross_compiling
=$ac_cv_prog_cc_cross
16861 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
16862 echo "configure:16863: checking for pw_gecos in struct passwd" >&5
16863 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
16864 echo $ac_n "(cached) $ac_c" 1>&6
16867 cat > conftest.
$ac_ext <<EOF
16868 #line 16869 "configure"
16869 #include "confdefs.h"
16879 if { (eval echo configure
:16880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16882 wx_cv_struct_pw_gecos
=yes
16885 echo "configure: failed program was:" >&5
16886 cat conftest.
$ac_ext >&5
16889 wx_cv_struct_pw_gecos
=no
16898 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
16900 if test "$wx_cv_struct_pw_gecos" = "yes"; then
16901 cat >> confdefs.h
<<\EOF
16902 #define HAVE_PW_GECOS 1
16908 if test "$wx_cv_sizeof_wchar_t" != "0"; then
16909 cat >> confdefs.h
<<\EOF
16910 #define wxUSE_WCHAR_T 1
16916 for ac_func
in wcslen
16918 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16919 echo "configure:16920: checking for $ac_func" >&5
16920 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16921 echo $ac_n "(cached) $ac_c" 1>&6
16923 cat > conftest.
$ac_ext <<EOF
16924 #line 16925 "configure"
16925 #include "confdefs.h"
16926 /* System header to define __stub macros and hopefully few prototypes,
16927 which can conflict with char $ac_func(); below. */
16928 #include <assert.h>
16929 /* Override any gcc2 internal prototype to avoid an error. */
16930 /* We use char because int might match the return type of a gcc2
16931 builtin and then its argument prototype would still apply. */
16936 /* The GNU C library defines this for functions which it implements
16937 to always fail with ENOSYS. Some functions are actually named
16938 something starting with __ and the normal name is an alias. */
16939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16947 if { (eval echo configure
:16948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16949 eval "ac_cv_func_$ac_func=yes"
16951 echo "configure: failed program was:" >&5
16952 cat conftest.
$ac_ext >&5
16954 eval "ac_cv_func_$ac_func=no"
16959 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16960 echo "$ac_t""yes" 1>&6
16961 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16962 cat >> confdefs.h
<<EOF
16963 #define $ac_tr_func 1
16967 echo "$ac_t""no" 1>&6
16972 if test "$WCSLEN_FOUND" = 0; then
16973 if test "$TOOLKIT" = "MSW"; then
16974 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
16975 echo "configure:16976: checking for wcslen in -lmsvcrt" >&5
16976 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
16977 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16978 echo $ac_n "(cached) $ac_c" 1>&6
16980 ac_save_LIBS
="$LIBS"
16981 LIBS
="-lmsvcrt $LIBS"
16982 cat > conftest.
$ac_ext <<EOF
16983 #line 16984 "configure"
16984 #include "confdefs.h"
16985 /* Override any gcc2 internal prototype to avoid an error. */
16986 /* We use char because int might match the return type of a gcc2
16987 builtin and then its argument prototype would still apply. */
16994 if { (eval echo configure
:16995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16996 eval "ac_cv_lib_$ac_lib_var=yes"
16998 echo "configure: failed program was:" >&5
16999 cat conftest.
$ac_ext >&5
17001 eval "ac_cv_lib_$ac_lib_var=no"
17004 LIBS
="$ac_save_LIBS"
17007 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17008 echo "$ac_t""yes" 1>&6
17011 echo "$ac_t""no" 1>&6
17015 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
17016 echo "configure:17017: checking for wcslen in -lw" >&5
17017 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
17018 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17019 echo $ac_n "(cached) $ac_c" 1>&6
17021 ac_save_LIBS
="$LIBS"
17023 cat > conftest.
$ac_ext <<EOF
17024 #line 17025 "configure"
17025 #include "confdefs.h"
17026 /* Override any gcc2 internal prototype to avoid an error. */
17027 /* We use char because int might match the return type of a gcc2
17028 builtin and then its argument prototype would still apply. */
17035 if { (eval echo configure
:17036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17037 eval "ac_cv_lib_$ac_lib_var=yes"
17039 echo "configure: failed program was:" >&5
17040 cat conftest.
$ac_ext >&5
17042 eval "ac_cv_lib_$ac_lib_var=no"
17045 LIBS
="$ac_save_LIBS"
17048 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17049 echo "$ac_t""yes" 1>&6
17055 echo "$ac_t""no" 1>&6
17061 if test "$WCSLEN_FOUND" = 1; then
17062 cat >> confdefs.h
<<\EOF
17063 #define HAVE_WCSLEN 1
17068 for ac_func
in wcsrtombs
17070 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17071 echo "configure:17072: checking for $ac_func" >&5
17072 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17073 echo $ac_n "(cached) $ac_c" 1>&6
17075 cat > conftest.
$ac_ext <<EOF
17076 #line 17077 "configure"
17077 #include "confdefs.h"
17078 /* System header to define __stub macros and hopefully few prototypes,
17079 which can conflict with char $ac_func(); below. */
17080 #include <assert.h>
17081 /* Override any gcc2 internal prototype to avoid an error. */
17082 /* We use char because int might match the return type of a gcc2
17083 builtin and then its argument prototype would still apply. */
17088 /* The GNU C library defines this for functions which it implements
17089 to always fail with ENOSYS. Some functions are actually named
17090 something starting with __ and the normal name is an alias. */
17091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17099 if { (eval echo configure
:17100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17101 eval "ac_cv_func_$ac_func=yes"
17103 echo "configure: failed program was:" >&5
17104 cat conftest.
$ac_ext >&5
17106 eval "ac_cv_func_$ac_func=no"
17111 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17112 echo "$ac_t""yes" 1>&6
17113 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17114 cat >> confdefs.h
<<EOF
17115 #define $ac_tr_func 1
17119 echo "$ac_t""no" 1>&6
17124 echo "configure: warning: Wide character support is unavailable" 1>&2
17129 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17130 ac_cpp
='$CXXCPP $CPPFLAGS'
17131 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17132 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17133 cross_compiling
=$ac_cv_prog_cxx_cross
17136 for ac_func
in vsnprintf
17138 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17139 echo "configure:17140: checking for $ac_func" >&5
17140 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17141 echo $ac_n "(cached) $ac_c" 1>&6
17143 cat > conftest.
$ac_ext <<EOF
17144 #line 17145 "configure"
17145 #include "confdefs.h"
17146 /* System header to define __stub macros and hopefully few prototypes,
17147 which can conflict with char $ac_func(); below. */
17148 #include <assert.h>
17149 /* Override any gcc2 internal prototype to avoid an error. */
17153 /* We use char because int might match the return type of a gcc2
17154 builtin and then its argument prototype would still apply. */
17159 /* The GNU C library defines this for functions which it implements
17160 to always fail with ENOSYS. Some functions are actually named
17161 something starting with __ and the normal name is an alias. */
17162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17170 if { (eval echo configure
:17171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17172 eval "ac_cv_func_$ac_func=yes"
17174 echo "configure: failed program was:" >&5
17175 cat conftest.
$ac_ext >&5
17177 eval "ac_cv_func_$ac_func=no"
17182 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17183 echo "$ac_t""yes" 1>&6
17184 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17185 cat >> confdefs.h
<<EOF
17186 #define $ac_tr_func 1
17190 echo "$ac_t""no" 1>&6
17195 if test "$ac_cv_func_vsnprintf" = "yes"; then
17196 echo $ac_n "checking for vsnprintf declaration""... $ac_c" 1>&6
17197 echo "configure:17198: checking for vsnprintf declaration" >&5
17198 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf_decl'+set}'`\" = set"; then
17199 echo $ac_n "(cached) $ac_c" 1>&6
17202 cat > conftest.
$ac_ext <<EOF
17203 #line 17204 "configure"
17204 #include "confdefs.h"
17207 #include <stdarg.h>
17213 vsnprintf(buf, 10u, "%s", ap);
17217 if { (eval echo configure
:17218: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17219 wx_cv_func_vsnprintf_decl
=yes
17221 echo "configure: failed program was:" >&5
17222 cat conftest.
$ac_ext >&5
17224 wx_cv_func_vsnprintf_decl
=no
17232 echo "$ac_t""$wx_cv_func_vsnprintf_decl" 1>&6
17234 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
17235 cat >> confdefs.h
<<\EOF
17236 #define HAVE_VSNPRINTF_DECL 1
17242 if test "$wxUSE_UNICODE" = yes; then
17243 for ac_func
in fputwc wprintf vswprintf
17245 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17246 echo "configure:17247: checking for $ac_func" >&5
17247 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17248 echo $ac_n "(cached) $ac_c" 1>&6
17250 cat > conftest.
$ac_ext <<EOF
17251 #line 17252 "configure"
17252 #include "confdefs.h"
17253 /* System header to define __stub macros and hopefully few prototypes,
17254 which can conflict with char $ac_func(); below. */
17255 #include <assert.h>
17256 /* Override any gcc2 internal prototype to avoid an error. */
17260 /* We use char because int might match the return type of a gcc2
17261 builtin and then its argument prototype would still apply. */
17266 /* The GNU C library defines this for functions which it implements
17267 to always fail with ENOSYS. Some functions are actually named
17268 something starting with __ and the normal name is an alias. */
17269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17277 if { (eval echo configure
:17278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17279 eval "ac_cv_func_$ac_func=yes"
17281 echo "configure: failed program was:" >&5
17282 cat conftest.
$ac_ext >&5
17284 eval "ac_cv_func_$ac_func=no"
17289 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17290 echo "$ac_t""yes" 1>&6
17291 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17292 cat >> confdefs.h
<<EOF
17293 #define $ac_tr_func 1
17297 echo "$ac_t""no" 1>&6
17302 echo $ac_n "checking for _vsnwprintf""... $ac_c" 1>&6
17303 echo "configure:17304: checking for _vsnwprintf" >&5
17304 cat > conftest.
$ac_ext <<EOF
17305 #line 17306 "configure"
17306 #include "confdefs.h"
17312 if { (eval echo configure
:17313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17314 echo "$ac_t""yes" 1>&6
17315 cat >> confdefs.h
<<\EOF
17316 #define HAVE__VSNWPRINTF 1
17320 echo "configure: failed program was:" >&5
17321 cat conftest.
$ac_ext >&5
17323 echo "$ac_t""no" 1>&6
17329 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17330 ac_cpp
='$CPP $CPPFLAGS'
17331 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17332 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17333 cross_compiling
=$ac_cv_prog_cc_cross
17338 if test "$TOOLKIT" != "MSW"; then
17343 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17344 ac_cpp
='$CXXCPP $CPPFLAGS'
17345 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17346 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17347 cross_compiling
=$ac_cv_prog_cxx_cross
17351 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
17352 if test "${with_libiconv_prefix+set}" = set; then
17353 withval
="$with_libiconv_prefix"
17355 for dir
in `echo "$withval" | tr : ' '`; do
17356 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
17357 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
17363 echo $ac_n "checking for iconv""... $ac_c" 1>&6
17364 echo "configure:17365: checking for iconv" >&5
17365 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
17366 echo $ac_n "(cached) $ac_c" 1>&6
17369 am_cv_func_iconv
="no, consider installing GNU libiconv"
17371 cat > conftest.
$ac_ext <<EOF
17372 #line 17373 "configure"
17373 #include "confdefs.h"
17374 #include <stdlib.h>
17377 iconv_t cd = iconv_open("","");
17378 iconv(cd,NULL,NULL,NULL,NULL);
17382 if { (eval echo configure
:17383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17384 am_cv_func_iconv
=yes
17386 echo "configure: failed program was:" >&5
17387 cat conftest.
$ac_ext >&5
17390 if test "$am_cv_func_iconv" != yes; then
17391 am_save_LIBS
="$LIBS"
17392 LIBS
="$LIBS -liconv"
17393 cat > conftest.
$ac_ext <<EOF
17394 #line 17395 "configure"
17395 #include "confdefs.h"
17396 #include <stdlib.h>
17399 iconv_t cd = iconv_open("","");
17400 iconv(cd,NULL,NULL,NULL,NULL);
17404 if { (eval echo configure
:17405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17406 am_cv_lib_iconv
=yes
17407 am_cv_func_iconv
=yes
17409 echo "configure: failed program was:" >&5
17410 cat conftest.
$ac_ext >&5
17413 LIBS
="$am_save_LIBS"
17418 echo "$ac_t""$am_cv_func_iconv" 1>&6
17419 if test "$am_cv_func_iconv" = yes; then
17420 cat >> confdefs.h
<<\EOF
17421 #define HAVE_ICONV 1
17424 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
17425 echo "configure:17426: checking if iconv needs const" >&5
17426 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
17427 echo $ac_n "(cached) $ac_c" 1>&6
17429 cat > conftest.
$ac_ext <<EOF
17430 #line 17431 "configure"
17431 #include "confdefs.h"
17433 #include <stdlib.h>
17439 #if defined(__STDC__) || defined(__cplusplus)
17440 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17449 if { (eval echo configure
:17450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17451 wx_cv_func_iconv_const
="no"
17453 echo "configure: failed program was:" >&5
17454 cat conftest.
$ac_ext >&5
17456 wx_cv_func_iconv_const
="yes"
17463 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
17466 if test "x$wx_cv_func_iconv_const" = "xyes"; then
17467 iconv_const
="const"
17470 cat >> confdefs.h
<<EOF
17471 #define ICONV_CONST $iconv_const
17476 if test "$am_cv_lib_iconv" = yes; then
17481 LIBS
="$LIBICONV $LIBS"
17483 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17484 ac_cpp
='$CPP $CPPFLAGS'
17485 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17486 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17487 cross_compiling
=$ac_cv_prog_cc_cross
17490 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
17491 for ac_func
in sigaction
17493 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17494 echo "configure:17495: checking for $ac_func" >&5
17495 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17496 echo $ac_n "(cached) $ac_c" 1>&6
17498 cat > conftest.
$ac_ext <<EOF
17499 #line 17500 "configure"
17500 #include "confdefs.h"
17501 /* System header to define __stub macros and hopefully few prototypes,
17502 which can conflict with char $ac_func(); below. */
17503 #include <assert.h>
17504 /* Override any gcc2 internal prototype to avoid an error. */
17505 /* We use char because int might match the return type of a gcc2
17506 builtin and then its argument prototype would still apply. */
17511 /* The GNU C library defines this for functions which it implements
17512 to always fail with ENOSYS. Some functions are actually named
17513 something starting with __ and the normal name is an alias. */
17514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17522 if { (eval echo configure
:17523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17524 eval "ac_cv_func_$ac_func=yes"
17526 echo "configure: failed program was:" >&5
17527 cat conftest.
$ac_ext >&5
17529 eval "ac_cv_func_$ac_func=no"
17534 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17535 echo "$ac_t""yes" 1>&6
17536 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17537 cat >> confdefs.h
<<EOF
17538 #define $ac_tr_func 1
17542 echo "$ac_t""no" 1>&6
17547 if test "$ac_cv_func_sigaction" = "no"; then
17548 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
17549 wxUSE_ON_FATAL_EXCEPTION
=no
17552 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17555 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17556 ac_cpp
='$CXXCPP $CPPFLAGS'
17557 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17558 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17559 cross_compiling
=$ac_cv_prog_cxx_cross
17562 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
17563 echo "configure:17564: checking for sa_handler type" >&5
17564 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
17565 echo $ac_n "(cached) $ac_c" 1>&6
17568 cat > conftest.
$ac_ext <<EOF
17569 #line 17570 "configure"
17570 #include "confdefs.h"
17571 #include <signal.h>
17574 extern void testSigHandler(int);
17576 struct sigaction sa;
17577 sa.sa_handler = testSigHandler;
17581 if { (eval echo configure
:17582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17584 wx_cv_type_sa_handler
=int
17587 echo "configure: failed program was:" >&5
17588 cat conftest.
$ac_ext >&5
17591 wx_cv_type_sa_handler
=void
17598 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
17601 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17602 ac_cpp
='$CPP $CPPFLAGS'
17603 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17604 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17605 cross_compiling
=$ac_cv_prog_cc_cross
17608 cat >> confdefs.h
<<EOF
17609 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
17615 for ac_func
in mkstemp mktemp
17617 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17618 echo "configure:17619: checking for $ac_func" >&5
17619 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17620 echo $ac_n "(cached) $ac_c" 1>&6
17622 cat > conftest.
$ac_ext <<EOF
17623 #line 17624 "configure"
17624 #include "confdefs.h"
17625 /* System header to define __stub macros and hopefully few prototypes,
17626 which can conflict with char $ac_func(); below. */
17627 #include <assert.h>
17628 /* Override any gcc2 internal prototype to avoid an error. */
17629 /* We use char because int might match the return type of a gcc2
17630 builtin and then its argument prototype would still apply. */
17635 /* The GNU C library defines this for functions which it implements
17636 to always fail with ENOSYS. Some functions are actually named
17637 something starting with __ and the normal name is an alias. */
17638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17646 if { (eval echo configure
:17647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17648 eval "ac_cv_func_$ac_func=yes"
17650 echo "configure: failed program was:" >&5
17651 cat conftest.
$ac_ext >&5
17653 eval "ac_cv_func_$ac_func=no"
17658 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17659 echo "$ac_t""yes" 1>&6
17660 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17661 cat >> confdefs.h
<<EOF
17662 #define $ac_tr_func 1
17666 echo "$ac_t""no" 1>&6
17671 echo $ac_n "checking for statfs""... $ac_c" 1>&6
17672 echo "configure:17673: checking for statfs" >&5
17673 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
17674 echo $ac_n "(cached) $ac_c" 1>&6
17676 cat > conftest.
$ac_ext <<EOF
17677 #line 17678 "configure"
17678 #include "confdefs.h"
17680 #if defined(__BSD__)
17681 #include <sys/param.h>
17682 #include <sys/mount.h>
17684 #include <sys/vfs.h>
17698 if { (eval echo configure
:17699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17701 wx_cv_func_statfs
=yes
17704 echo "configure: failed program was:" >&5
17705 cat conftest.
$ac_ext >&5
17708 wx_cv_func_statfs
=no
17716 echo "$ac_t""$wx_cv_func_statfs" 1>&6
17718 if test "$wx_cv_func_statfs" = "yes"; then
17719 wx_cv_type_statvfs_t
="struct statfs"
17720 cat >> confdefs.h
<<\EOF
17721 #define HAVE_STATFS 1
17725 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
17726 echo "configure:17727: checking for statvfs" >&5
17727 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
17728 echo $ac_n "(cached) $ac_c" 1>&6
17730 cat > conftest.
$ac_ext <<EOF
17731 #line 17732 "configure"
17732 #include "confdefs.h"
17734 #include <stddef.h>
17735 #include <sys/statvfs.h>
17739 statvfs("/", NULL);
17743 if { (eval echo configure
:17744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17745 wx_cv_func_statvfs
=yes
17747 echo "configure: failed program was:" >&5
17748 cat conftest.
$ac_ext >&5
17750 wx_cv_func_statvfs
=no
17757 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
17759 if test "$wx_cv_func_statvfs" = "yes"; then
17762 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17763 ac_cpp
='$CXXCPP $CPPFLAGS'
17764 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17765 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17766 cross_compiling
=$ac_cv_prog_cxx_cross
17769 echo $ac_n "checking for statvfs argument type""... $ac_c" 1>&6
17770 echo "configure:17771: checking for statvfs argument type" >&5
17771 if eval "test \"`echo '$''{'wx_cv_type_statvfs_t'+set}'`\" = set"; then
17772 echo $ac_n "(cached) $ac_c" 1>&6
17774 cat > conftest.
$ac_ext <<EOF
17775 #line 17776 "configure"
17776 #include "confdefs.h"
17778 #include <sys/statvfs.h>
17791 if { (eval echo configure
:17792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17793 wx_cv_type_statvfs_t
=statvfs_t
17795 echo "configure: failed program was:" >&5
17796 cat conftest.
$ac_ext >&5
17799 cat > conftest.
$ac_ext <<EOF
17800 #line 17801 "configure"
17801 #include "confdefs.h"
17803 #include <sys/statvfs.h>
17816 if { (eval echo configure
:17817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17818 wx_cv_type_statvfs_t
="struct statvfs"
17820 echo "configure: failed program was:" >&5
17821 cat conftest.
$ac_ext >&5
17823 wx_cv_type_statvfs_t
="unknown"
17834 echo "$ac_t""$wx_cv_type_statvfs_t" 1>&6
17837 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17838 ac_cpp
='$CPP $CPPFLAGS'
17839 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17840 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17841 cross_compiling
=$ac_cv_prog_cc_cross
17844 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17845 cat >> confdefs.h
<<\EOF
17846 #define HAVE_STATVFS 1
17851 wx_cv_type_statvfs_t
="unknown"
17855 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17856 cat >> confdefs.h
<<EOF
17857 #define WX_STATFS_T $wx_cv_type_statvfs_t
17861 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
17864 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17865 for ac_func
in fcntl flock
17867 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17868 echo "configure:17869: checking for $ac_func" >&5
17869 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17870 echo $ac_n "(cached) $ac_c" 1>&6
17872 cat > conftest.
$ac_ext <<EOF
17873 #line 17874 "configure"
17874 #include "confdefs.h"
17875 /* System header to define __stub macros and hopefully few prototypes,
17876 which can conflict with char $ac_func(); below. */
17877 #include <assert.h>
17878 /* Override any gcc2 internal prototype to avoid an error. */
17879 /* We use char because int might match the return type of a gcc2
17880 builtin and then its argument prototype would still apply. */
17885 /* The GNU C library defines this for functions which it implements
17886 to always fail with ENOSYS. Some functions are actually named
17887 something starting with __ and the normal name is an alias. */
17888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17896 if { (eval echo configure
:17897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17898 eval "ac_cv_func_$ac_func=yes"
17900 echo "configure: failed program was:" >&5
17901 cat conftest.
$ac_ext >&5
17903 eval "ac_cv_func_$ac_func=no"
17908 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17909 echo "$ac_t""yes" 1>&6
17910 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17911 cat >> confdefs.h
<<EOF
17912 #define $ac_tr_func 1
17916 echo "$ac_t""no" 1>&6
17921 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
17922 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
17923 wxUSE_SNGLINST_CHECKER
=no
17927 for ac_func
in timegm
17929 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17930 echo "configure:17931: checking for $ac_func" >&5
17931 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17932 echo $ac_n "(cached) $ac_c" 1>&6
17934 cat > conftest.
$ac_ext <<EOF
17935 #line 17936 "configure"
17936 #include "confdefs.h"
17937 /* System header to define __stub macros and hopefully few prototypes,
17938 which can conflict with char $ac_func(); below. */
17939 #include <assert.h>
17940 /* Override any gcc2 internal prototype to avoid an error. */
17941 /* We use char because int might match the return type of a gcc2
17942 builtin and then its argument prototype would still apply. */
17947 /* The GNU C library defines this for functions which it implements
17948 to always fail with ENOSYS. Some functions are actually named
17949 something starting with __ and the normal name is an alias. */
17950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17958 if { (eval echo configure
:17959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17960 eval "ac_cv_func_$ac_func=yes"
17962 echo "configure: failed program was:" >&5
17963 cat conftest.
$ac_ext >&5
17965 eval "ac_cv_func_$ac_func=no"
17970 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17971 echo "$ac_t""yes" 1>&6
17972 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17973 cat >> confdefs.h
<<EOF
17974 #define $ac_tr_func 1
17978 echo "$ac_t""no" 1>&6
17983 for ac_func
in putenv setenv
17985 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17986 echo "configure:17987: checking for $ac_func" >&5
17987 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17988 echo $ac_n "(cached) $ac_c" 1>&6
17990 cat > conftest.
$ac_ext <<EOF
17991 #line 17992 "configure"
17992 #include "confdefs.h"
17993 /* System header to define __stub macros and hopefully few prototypes,
17994 which can conflict with char $ac_func(); below. */
17995 #include <assert.h>
17996 /* Override any gcc2 internal prototype to avoid an error. */
17997 /* We use char because int might match the return type of a gcc2
17998 builtin and then its argument prototype would still apply. */
18003 /* The GNU C library defines this for functions which it implements
18004 to always fail with ENOSYS. Some functions are actually named
18005 something starting with __ and the normal name is an alias. */
18006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18014 if { (eval echo configure
:18015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18016 eval "ac_cv_func_$ac_func=yes"
18018 echo "configure: failed program was:" >&5
18019 cat conftest.
$ac_ext >&5
18021 eval "ac_cv_func_$ac_func=no"
18026 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18027 echo "$ac_t""yes" 1>&6
18028 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18029 cat >> confdefs.h
<<EOF
18030 #define $ac_tr_func 1
18034 echo "$ac_t""no" 1>&6
18039 HAVE_SOME_SLEEP_FUNC
=0
18040 if test "$USE_BEOS" = 1; then
18041 cat >> confdefs.h
<<\EOF
18042 #define HAVE_SLEEP 1
18045 HAVE_SOME_SLEEP_FUNC
=1
18048 if test "$USE_DARWIN" = 1; then
18049 cat >> confdefs.h
<<\EOF
18050 #define HAVE_USLEEP 1
18053 HAVE_SOME_SLEEP_FUNC
=1
18056 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
18058 for ac_func
in nanosleep
18060 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18061 echo "configure:18062: checking for $ac_func" >&5
18062 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18063 echo $ac_n "(cached) $ac_c" 1>&6
18065 cat > conftest.
$ac_ext <<EOF
18066 #line 18067 "configure"
18067 #include "confdefs.h"
18068 /* System header to define __stub macros and hopefully few prototypes,
18069 which can conflict with char $ac_func(); below. */
18070 #include <assert.h>
18071 /* Override any gcc2 internal prototype to avoid an error. */
18072 /* We use char because int might match the return type of a gcc2
18073 builtin and then its argument prototype would still apply. */
18078 /* The GNU C library defines this for functions which it implements
18079 to always fail with ENOSYS. Some functions are actually named
18080 something starting with __ and the normal name is an alias. */
18081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18089 if { (eval echo configure
:18090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18091 eval "ac_cv_func_$ac_func=yes"
18093 echo "configure: failed program was:" >&5
18094 cat conftest.
$ac_ext >&5
18096 eval "ac_cv_func_$ac_func=no"
18101 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18102 echo "$ac_t""yes" 1>&6
18103 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18104 cat >> confdefs.h
<<EOF
18105 #define $ac_tr_func 1
18107 cat >> confdefs.h
<<\EOF
18108 #define HAVE_NANOSLEEP 1
18112 echo "$ac_t""no" 1>&6
18113 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
18114 echo "configure:18115: checking for nanosleep in -lposix4" >&5
18115 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
18116 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18117 echo $ac_n "(cached) $ac_c" 1>&6
18119 ac_save_LIBS
="$LIBS"
18120 LIBS
="-lposix4 $LIBS"
18121 cat > conftest.
$ac_ext <<EOF
18122 #line 18123 "configure"
18123 #include "confdefs.h"
18124 /* Override any gcc2 internal prototype to avoid an error. */
18125 /* We use char because int might match the return type of a gcc2
18126 builtin and then its argument prototype would still apply. */
18133 if { (eval echo configure
:18134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18135 eval "ac_cv_lib_$ac_lib_var=yes"
18137 echo "configure: failed program was:" >&5
18138 cat conftest.
$ac_ext >&5
18140 eval "ac_cv_lib_$ac_lib_var=no"
18143 LIBS
="$ac_save_LIBS"
18146 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18147 echo "$ac_t""yes" 1>&6
18149 cat >> confdefs.h
<<\EOF
18150 #define HAVE_NANOSLEEP 1
18153 POSIX4_LINK
=" -lposix4"
18156 echo "$ac_t""no" 1>&6
18158 for ac_func
in usleep
18160 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18161 echo "configure:18162: checking for $ac_func" >&5
18162 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18163 echo $ac_n "(cached) $ac_c" 1>&6
18165 cat > conftest.
$ac_ext <<EOF
18166 #line 18167 "configure"
18167 #include "confdefs.h"
18168 /* System header to define __stub macros and hopefully few prototypes,
18169 which can conflict with char $ac_func(); below. */
18170 #include <assert.h>
18171 /* Override any gcc2 internal prototype to avoid an error. */
18172 /* We use char because int might match the return type of a gcc2
18173 builtin and then its argument prototype would still apply. */
18178 /* The GNU C library defines this for functions which it implements
18179 to always fail with ENOSYS. Some functions are actually named
18180 something starting with __ and the normal name is an alias. */
18181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18189 if { (eval echo configure
:18190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18191 eval "ac_cv_func_$ac_func=yes"
18193 echo "configure: failed program was:" >&5
18194 cat conftest.
$ac_ext >&5
18196 eval "ac_cv_func_$ac_func=no"
18201 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18202 echo "$ac_t""yes" 1>&6
18203 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18204 cat >> confdefs.h
<<EOF
18205 #define $ac_tr_func 1
18207 cat >> confdefs.h
<<\EOF
18208 #define HAVE_USLEEP 1
18212 echo "$ac_t""no" 1>&6
18213 echo "configure: warning: wxSleep() function will not work" 1>&2
18229 for ac_func
in uname gethostname
18231 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18232 echo "configure:18233: checking for $ac_func" >&5
18233 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18234 echo $ac_n "(cached) $ac_c" 1>&6
18236 cat > conftest.
$ac_ext <<EOF
18237 #line 18238 "configure"
18238 #include "confdefs.h"
18239 /* System header to define __stub macros and hopefully few prototypes,
18240 which can conflict with char $ac_func(); below. */
18241 #include <assert.h>
18242 /* Override any gcc2 internal prototype to avoid an error. */
18243 /* We use char because int might match the return type of a gcc2
18244 builtin and then its argument prototype would still apply. */
18249 /* The GNU C library defines this for functions which it implements
18250 to always fail with ENOSYS. Some functions are actually named
18251 something starting with __ and the normal name is an alias. */
18252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18260 if { (eval echo configure
:18261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18262 eval "ac_cv_func_$ac_func=yes"
18264 echo "configure: failed program was:" >&5
18265 cat conftest.
$ac_ext >&5
18267 eval "ac_cv_func_$ac_func=no"
18272 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18273 echo "$ac_t""yes" 1>&6
18274 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18275 cat >> confdefs.h
<<EOF
18276 #define $ac_tr_func 1
18280 echo "$ac_t""no" 1>&6
18287 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18288 ac_cpp
='$CXXCPP $CPPFLAGS'
18289 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18290 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18291 cross_compiling
=$ac_cv_prog_cxx_cross
18294 for ac_func
in strtok_r
18296 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18297 echo "configure:18298: checking for $ac_func" >&5
18298 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18299 echo $ac_n "(cached) $ac_c" 1>&6
18301 cat > conftest.
$ac_ext <<EOF
18302 #line 18303 "configure"
18303 #include "confdefs.h"
18304 /* System header to define __stub macros and hopefully few prototypes,
18305 which can conflict with char $ac_func(); below. */
18306 #include <assert.h>
18307 /* Override any gcc2 internal prototype to avoid an error. */
18311 /* We use char because int might match the return type of a gcc2
18312 builtin and then its argument prototype would still apply. */
18317 /* The GNU C library defines this for functions which it implements
18318 to always fail with ENOSYS. Some functions are actually named
18319 something starting with __ and the normal name is an alias. */
18320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18328 if { (eval echo configure
:18329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18330 eval "ac_cv_func_$ac_func=yes"
18332 echo "configure: failed program was:" >&5
18333 cat conftest.
$ac_ext >&5
18335 eval "ac_cv_func_$ac_func=no"
18340 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18341 echo "$ac_t""yes" 1>&6
18342 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18343 cat >> confdefs.h
<<EOF
18344 #define $ac_tr_func 1
18348 echo "$ac_t""no" 1>&6
18354 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18355 ac_cpp
='$CPP $CPPFLAGS'
18356 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18357 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18358 cross_compiling
=$ac_cv_prog_cc_cross
18362 for ac_func
in inet_addr
18364 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18365 echo "configure:18366: checking for $ac_func" >&5
18366 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18367 echo $ac_n "(cached) $ac_c" 1>&6
18369 cat > conftest.
$ac_ext <<EOF
18370 #line 18371 "configure"
18371 #include "confdefs.h"
18372 /* System header to define __stub macros and hopefully few prototypes,
18373 which can conflict with char $ac_func(); below. */
18374 #include <assert.h>
18375 /* Override any gcc2 internal prototype to avoid an error. */
18376 /* We use char because int might match the return type of a gcc2
18377 builtin and then its argument prototype would still apply. */
18382 /* The GNU C library defines this for functions which it implements
18383 to always fail with ENOSYS. Some functions are actually named
18384 something starting with __ and the normal name is an alias. */
18385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18393 if { (eval echo configure
:18394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18395 eval "ac_cv_func_$ac_func=yes"
18397 echo "configure: failed program was:" >&5
18398 cat conftest.
$ac_ext >&5
18400 eval "ac_cv_func_$ac_func=no"
18405 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18406 echo "$ac_t""yes" 1>&6
18407 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18408 cat >> confdefs.h
<<EOF
18409 #define $ac_tr_func 1
18411 cat >> confdefs.h
<<\EOF
18412 #define HAVE_INET_ADDR 1
18416 echo "$ac_t""no" 1>&6
18417 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
18418 echo "configure:18419: checking for inet_addr in -lnsl" >&5
18419 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
18420 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18421 echo $ac_n "(cached) $ac_c" 1>&6
18423 ac_save_LIBS
="$LIBS"
18425 cat > conftest.
$ac_ext <<EOF
18426 #line 18427 "configure"
18427 #include "confdefs.h"
18428 /* Override any gcc2 internal prototype to avoid an error. */
18429 /* We use char because int might match the return type of a gcc2
18430 builtin and then its argument prototype would still apply. */
18437 if { (eval echo configure
:18438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18439 eval "ac_cv_lib_$ac_lib_var=yes"
18441 echo "configure: failed program was:" >&5
18442 cat conftest.
$ac_ext >&5
18444 eval "ac_cv_lib_$ac_lib_var=no"
18447 LIBS
="$ac_save_LIBS"
18450 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18451 echo "$ac_t""yes" 1>&6
18454 echo "$ac_t""no" 1>&6
18455 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
18456 echo "configure:18457: checking for inet_addr in -lresolv" >&5
18457 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
18458 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18459 echo $ac_n "(cached) $ac_c" 1>&6
18461 ac_save_LIBS
="$LIBS"
18462 LIBS
="-lresolv $LIBS"
18463 cat > conftest.
$ac_ext <<EOF
18464 #line 18465 "configure"
18465 #include "confdefs.h"
18466 /* Override any gcc2 internal prototype to avoid an error. */
18467 /* We use char because int might match the return type of a gcc2
18468 builtin and then its argument prototype would still apply. */
18475 if { (eval echo configure
:18476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18477 eval "ac_cv_lib_$ac_lib_var=yes"
18479 echo "configure: failed program was:" >&5
18480 cat conftest.
$ac_ext >&5
18482 eval "ac_cv_lib_$ac_lib_var=no"
18485 LIBS
="$ac_save_LIBS"
18488 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18489 echo "$ac_t""yes" 1>&6
18492 echo "$ac_t""no" 1>&6
18493 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
18494 echo "configure:18495: checking for inet_addr in -lsocket" >&5
18495 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
18496 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18497 echo $ac_n "(cached) $ac_c" 1>&6
18499 ac_save_LIBS
="$LIBS"
18500 LIBS
="-lsocket $LIBS"
18501 cat > conftest.
$ac_ext <<EOF
18502 #line 18503 "configure"
18503 #include "confdefs.h"
18504 /* Override any gcc2 internal prototype to avoid an error. */
18505 /* We use char because int might match the return type of a gcc2
18506 builtin and then its argument prototype would still apply. */
18513 if { (eval echo configure
:18514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18515 eval "ac_cv_lib_$ac_lib_var=yes"
18517 echo "configure: failed program was:" >&5
18518 cat conftest.
$ac_ext >&5
18520 eval "ac_cv_lib_$ac_lib_var=no"
18523 LIBS
="$ac_save_LIBS"
18526 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18527 echo "$ac_t""yes" 1>&6
18531 echo "$ac_t""no" 1>&6
18546 for ac_func
in inet_aton
18548 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18549 echo "configure:18550: checking for $ac_func" >&5
18550 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18551 echo $ac_n "(cached) $ac_c" 1>&6
18553 cat > conftest.
$ac_ext <<EOF
18554 #line 18555 "configure"
18555 #include "confdefs.h"
18556 /* System header to define __stub macros and hopefully few prototypes,
18557 which can conflict with char $ac_func(); below. */
18558 #include <assert.h>
18559 /* Override any gcc2 internal prototype to avoid an error. */
18560 /* We use char because int might match the return type of a gcc2
18561 builtin and then its argument prototype would still apply. */
18566 /* The GNU C library defines this for functions which it implements
18567 to always fail with ENOSYS. Some functions are actually named
18568 something starting with __ and the normal name is an alias. */
18569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18577 if { (eval echo configure
:18578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18579 eval "ac_cv_func_$ac_func=yes"
18581 echo "configure: failed program was:" >&5
18582 cat conftest.
$ac_ext >&5
18584 eval "ac_cv_func_$ac_func=no"
18589 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18590 echo "$ac_t""yes" 1>&6
18591 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18592 cat >> confdefs.h
<<EOF
18593 #define $ac_tr_func 1
18595 cat >> confdefs.h
<<\EOF
18596 #define HAVE_INET_ATON 1
18600 echo "$ac_t""no" 1>&6
18601 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
18602 echo "configure:18603: checking for inet_aton in -l$INET_LINK" >&5
18603 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
18604 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18605 echo $ac_n "(cached) $ac_c" 1>&6
18607 ac_save_LIBS
="$LIBS"
18608 LIBS
="-l$INET_LINK $LIBS"
18609 cat > conftest.
$ac_ext <<EOF
18610 #line 18611 "configure"
18611 #include "confdefs.h"
18612 /* Override any gcc2 internal prototype to avoid an error. */
18613 /* We use char because int might match the return type of a gcc2
18614 builtin and then its argument prototype would still apply. */
18621 if { (eval echo configure
:18622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18623 eval "ac_cv_lib_$ac_lib_var=yes"
18625 echo "configure: failed program was:" >&5
18626 cat conftest.
$ac_ext >&5
18628 eval "ac_cv_lib_$ac_lib_var=no"
18631 LIBS
="$ac_save_LIBS"
18634 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18635 echo "$ac_t""yes" 1>&6
18636 cat >> confdefs.h
<<\EOF
18637 #define HAVE_INET_ATON 1
18641 echo "$ac_t""no" 1>&6
18649 if test "x$INET_LINK" != "x"; then
18650 cat >> confdefs.h
<<\EOF
18651 #define HAVE_INET_ADDR 1
18654 INET_LINK
=" -l$INET_LINK"
18660 cat > confcache
<<\EOF
18661 # This file is a shell script that caches the results of configure
18662 # tests run on this system so they can be shared between configure
18663 # scripts and configure runs. It is not useful on other systems.
18664 # If it contains results you don't want to keep, you may remove or edit it.
18666 # By default, configure uses ./config.cache as the cache file,
18667 # creating it if it does not exist already. You can give configure
18668 # the --cache-file=FILE option to use a different cache file; that is
18669 # what configure does when it calls configure scripts in
18670 # subdirectories, so they share the cache.
18671 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18672 # config.status only pays attention to the cache file if you give it the
18673 # --recheck option to rerun configure.
18676 # The following way of writing the cache mishandles newlines in values,
18677 # but we know of no workaround that is simple, portable, and efficient.
18678 # So, don't put newlines in cache variables' values.
18679 # Ultrix sh set writes to stderr and can't be redirected directly,
18680 # and sets the high bit in the cache file unless we assign to the vars.
18682 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18684 # `set' does not quote correctly, so add quotes (double-quote substitution
18685 # turns \\\\ into \\, and sed turns \\ into \).
18687 -e "s/'/'\\\\''/g" \
18688 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18691 # `set' quotes correctly as required by POSIX, so do not add quotes.
18692 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18695 if cmp -s $cache_file confcache
; then
18698 if test -w $cache_file; then
18699 echo "updating cache $cache_file"
18700 cat confcache
> $cache_file
18702 echo "not updating unwritable cache $cache_file"
18710 if test "$TOOLKIT" != "MSW"; then
18716 if test "$wxUSE_THREADS" = "yes" ; then
18717 if test "$USE_BEOS" = 1; then
18718 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
18723 if test "$wxUSE_THREADS" = "yes" ; then
18726 THREAD_OPTS
="-pthread"
18728 *-*-solaris2* | *-*-sunos4* )
18729 if test "x$GCC" = "xyes"; then
18730 THREAD_OPTS
="-pthreads $THREAD_OPTS"
18732 THREAD_OPTS
="-mt $THREAD_OPTS"
18736 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
18738 *-*-darwin* | *-*-cygwin* )
18742 THREAD_OPTS
="pthreads"
18745 if test "x$GCC" != "xyes"; then
18750 THREAD_OPTS
="$THREAD_OPTS pthread none"
18753 for flag
in $THREAD_OPTS; do
18756 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
18757 echo "configure:18758: checking whether pthreads work without any flags" >&5
18761 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
18762 echo "configure:18763: checking whether pthreads work with $flag" >&5
18763 THREADS_CFLAGS
="$flag"
18767 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
18768 echo "configure:18769: checking for the pthreads library -l$flag" >&5
18769 THREADS_LINK
="-l$flag"
18774 save_CFLAGS
="$CFLAGS"
18775 LIBS
="$THREADS_LINK $LIBS"
18776 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
18778 cat > conftest.
$ac_ext <<EOF
18779 #line 18780 "configure"
18780 #include "confdefs.h"
18781 #include <pthread.h>
18783 pthread_create(0,0,0,0);
18786 if { (eval echo configure
:18787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18790 echo "configure: failed program was:" >&5
18791 cat conftest.
$ac_ext >&5
18796 CFLAGS
="$save_CFLAGS"
18798 echo "$ac_t""$THREADS_OK" 1>&6
18799 if test "x$THREADS_OK" = "xyes"; then
18807 if test "x$THREADS_OK" != "xyes"; then
18809 echo "configure: warning: No thread support on this system... disabled" 1>&2
18811 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
18812 LIBS
="$THREADS_LINK $LIBS"
18814 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
18815 echo "configure:18816: checking if more special flags are required for pthreads" >&5
18819 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
18820 flag
="-D_THREAD_SAFE"
18823 flag
="-D_THREAD_SAFE"
18826 flag
="-D_REENTRANT"
18827 if test "x$GCC" != "xyes"; then
18828 flag
="$flag -D_RWSTD_MULTI_THREAD"
18831 *solaris
* | alpha
*-osf*)
18832 flag
="-D_REENTRANT"
18835 echo "$ac_t""${flag}" 1>&6
18836 if test "x$flag" != xno
; then
18837 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
18840 if test "x$THREADS_CFLAGS" != "x"; then
18841 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
18842 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
18847 if test "$wxUSE_THREADS" = "yes" ; then
18848 for ac_func
in thr_setconcurrency
18850 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18851 echo "configure:18852: checking for $ac_func" >&5
18852 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18853 echo $ac_n "(cached) $ac_c" 1>&6
18855 cat > conftest.
$ac_ext <<EOF
18856 #line 18857 "configure"
18857 #include "confdefs.h"
18858 /* System header to define __stub macros and hopefully few prototypes,
18859 which can conflict with char $ac_func(); below. */
18860 #include <assert.h>
18861 /* Override any gcc2 internal prototype to avoid an error. */
18862 /* We use char because int might match the return type of a gcc2
18863 builtin and then its argument prototype would still apply. */
18868 /* The GNU C library defines this for functions which it implements
18869 to always fail with ENOSYS. Some functions are actually named
18870 something starting with __ and the normal name is an alias. */
18871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18879 if { (eval echo configure
:18880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18881 eval "ac_cv_func_$ac_func=yes"
18883 echo "configure: failed program was:" >&5
18884 cat conftest.
$ac_ext >&5
18886 eval "ac_cv_func_$ac_func=no"
18891 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18892 echo "$ac_t""yes" 1>&6
18893 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18894 cat >> confdefs.h
<<EOF
18895 #define $ac_tr_func 1
18899 echo "$ac_t""no" 1>&6
18904 for ac_hdr
in sched.h
18906 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18907 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18908 echo "configure:18909: checking for $ac_hdr" >&5
18909 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18910 echo $ac_n "(cached) $ac_c" 1>&6
18912 cat > conftest.
$ac_ext <<EOF
18913 #line 18914 "configure"
18914 #include "confdefs.h"
18917 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18918 { (eval echo configure
:18919: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18919 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18920 if test -z "$ac_err"; then
18922 eval "ac_cv_header_$ac_safe=yes"
18925 echo "configure: failed program was:" >&5
18926 cat conftest.
$ac_ext >&5
18928 eval "ac_cv_header_$ac_safe=no"
18932 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18933 echo "$ac_t""yes" 1>&6
18934 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18935 cat >> confdefs.h
<<EOF
18936 #define $ac_tr_hdr 1
18940 echo "$ac_t""no" 1>&6
18944 if test "$ac_cv_header_sched_h" = "yes"; then
18945 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
18946 echo "configure:18947: checking for sched_yield" >&5
18947 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
18948 echo $ac_n "(cached) $ac_c" 1>&6
18950 cat > conftest.
$ac_ext <<EOF
18951 #line 18952 "configure"
18952 #include "confdefs.h"
18953 /* System header to define __stub macros and hopefully few prototypes,
18954 which can conflict with char sched_yield(); below. */
18955 #include <assert.h>
18956 /* Override any gcc2 internal prototype to avoid an error. */
18957 /* We use char because int might match the return type of a gcc2
18958 builtin and then its argument prototype would still apply. */
18959 char sched_yield();
18963 /* The GNU C library defines this for functions which it implements
18964 to always fail with ENOSYS. Some functions are actually named
18965 something starting with __ and the normal name is an alias. */
18966 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
18974 if { (eval echo configure
:18975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18976 eval "ac_cv_func_sched_yield=yes"
18978 echo "configure: failed program was:" >&5
18979 cat conftest.
$ac_ext >&5
18981 eval "ac_cv_func_sched_yield=no"
18986 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
18987 echo "$ac_t""yes" 1>&6
18988 cat >> confdefs.h
<<\EOF
18989 #define HAVE_SCHED_YIELD 1
18993 echo "$ac_t""no" 1>&6
18995 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
18996 echo "configure:18997: checking for sched_yield in -lposix4" >&5
18997 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
18998 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18999 echo $ac_n "(cached) $ac_c" 1>&6
19001 ac_save_LIBS
="$LIBS"
19002 LIBS
="-lposix4 $LIBS"
19003 cat > conftest.
$ac_ext <<EOF
19004 #line 19005 "configure"
19005 #include "confdefs.h"
19006 /* Override any gcc2 internal prototype to avoid an error. */
19007 /* We use char because int might match the return type of a gcc2
19008 builtin and then its argument prototype would still apply. */
19009 char sched_yield();
19015 if { (eval echo configure
:19016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19017 eval "ac_cv_lib_$ac_lib_var=yes"
19019 echo "configure: failed program was:" >&5
19020 cat conftest.
$ac_ext >&5
19022 eval "ac_cv_lib_$ac_lib_var=no"
19025 LIBS
="$ac_save_LIBS"
19028 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19029 echo "$ac_t""yes" 1>&6
19030 cat >> confdefs.h
<<\EOF
19031 #define HAVE_SCHED_YIELD 1
19033 POSIX4_LINK
=" -lposix4"
19035 echo "$ac_t""no" 1>&6
19036 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
19047 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
19048 echo "configure:19049: checking for pthread_attr_getschedpolicy" >&5
19049 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
19050 echo $ac_n "(cached) $ac_c" 1>&6
19052 cat > conftest.
$ac_ext <<EOF
19053 #line 19054 "configure"
19054 #include "confdefs.h"
19055 /* System header to define __stub macros and hopefully few prototypes,
19056 which can conflict with char pthread_attr_getschedpolicy(); below. */
19057 #include <assert.h>
19058 /* Override any gcc2 internal prototype to avoid an error. */
19059 /* We use char because int might match the return type of a gcc2
19060 builtin and then its argument prototype would still apply. */
19061 char pthread_attr_getschedpolicy();
19065 /* The GNU C library defines this for functions which it implements
19066 to always fail with ENOSYS. Some functions are actually named
19067 something starting with __ and the normal name is an alias. */
19068 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
19071 pthread_attr_getschedpolicy();
19076 if { (eval echo configure
:19077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19078 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
19080 echo "configure: failed program was:" >&5
19081 cat conftest.
$ac_ext >&5
19083 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
19088 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
19089 echo "$ac_t""yes" 1>&6
19090 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
19091 echo "configure:19092: checking for pthread_attr_setschedparam" >&5
19092 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
19093 echo $ac_n "(cached) $ac_c" 1>&6
19095 cat > conftest.
$ac_ext <<EOF
19096 #line 19097 "configure"
19097 #include "confdefs.h"
19098 /* System header to define __stub macros and hopefully few prototypes,
19099 which can conflict with char pthread_attr_setschedparam(); below. */
19100 #include <assert.h>
19101 /* Override any gcc2 internal prototype to avoid an error. */
19102 /* We use char because int might match the return type of a gcc2
19103 builtin and then its argument prototype would still apply. */
19104 char pthread_attr_setschedparam();
19108 /* The GNU C library defines this for functions which it implements
19109 to always fail with ENOSYS. Some functions are actually named
19110 something starting with __ and the normal name is an alias. */
19111 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
19114 pthread_attr_setschedparam();
19119 if { (eval echo configure
:19120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19121 eval "ac_cv_func_pthread_attr_setschedparam=yes"
19123 echo "configure: failed program was:" >&5
19124 cat conftest.
$ac_ext >&5
19126 eval "ac_cv_func_pthread_attr_setschedparam=no"
19131 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
19132 echo "$ac_t""yes" 1>&6
19133 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
19134 echo "configure:19135: checking for sched_get_priority_max" >&5
19135 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
19136 echo $ac_n "(cached) $ac_c" 1>&6
19138 cat > conftest.
$ac_ext <<EOF
19139 #line 19140 "configure"
19140 #include "confdefs.h"
19141 /* System header to define __stub macros and hopefully few prototypes
19143 echo "$ac_t""no" 1>&6
19144 which can conflict with char sched_get_priority_max(); below. */
19145 #include <assert.h>
19146 /* Override any gcc2 internal prototype to avoid an error. */
19147 /* We use char because int might match the return type of a gcc2
19148 builtin and then its argument prototype would still apply. */
19149 char sched_get_priority_max();
19153 /* The GNU C library defines this for functions which it implements
19154 to always fail with ENOSYS. Some functions are actually named
19155 something starting with __ and the normal name is an alias. */
19156 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
19159 sched_get_priority_max();
19164 if { (eval echo configure
:19165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19166 eval "ac_cv_func_sched_get_priority_max=yes"
19168 echo "configure: failed program was:" >&5
19169 cat conftest.
$ac_ext >&5
19171 eval "ac_cv_func_sched_get_priority_max=no"
19176 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
19177 echo "$ac_t""yes" 1>&6
19180 echo "$ac_t""no" 1>&6
19181 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
19182 echo "configure:19183: checking for sched_get_priority_max in -lposix4" >&5
19183 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
19184 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19185 echo $ac_n "(cached) $ac_c" 1>&6
19187 ac_save_LIBS
="$LIBS"
19188 LIBS
="-lposix4 $LIBS"
19189 cat > conftest.
$ac_ext <<EOF
19190 #line 19191 "configure"
19191 #include "confdefs.h"
19192 /* Override any gcc2 internal prototype to avoid an error. */
19193 /* We use char because int might match the return type of a gcc2
19194 builtin and then its argument prototype would still apply. */
19195 char sched_get_priority_max();
19198 sched_get_priority_max()
19201 if { (eval echo configure
:19202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19203 eval "ac_cv_lib_$ac_lib_var=yes"
19205 echo "configure: failed program was:" >&5
19206 cat conftest.
$ac_ext >&5
19208 eval "ac_cv_lib_$ac_lib_var=no"
19211 LIBS
="$ac_save_LIBS"
19214 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19215 echo "$ac_t""yes" 1>&6
19218 POSIX4_LINK
=" -lposix4"
19221 echo "$ac_t""no" 1>&6
19229 echo "$ac_t""no" 1>&6
19236 if test "$HAVE_PRIOR_FUNCS" = 1; then
19237 cat >> confdefs.h
<<\EOF
19238 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
19242 echo "configure: warning: Setting thread priority will not work" 1>&2
19245 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
19246 echo "configure:19247: checking for pthread_cancel" >&5
19247 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
19248 echo $ac_n "(cached) $ac_c" 1>&6
19250 cat > conftest.
$ac_ext <<EOF
19251 #line 19252 "configure"
19252 #include "confdefs.h"
19253 /* System header to define __stub macros and hopefully few prototypes,
19254 which can conflict with char pthread_cancel(); below. */
19255 #include <assert.h>
19256 /* Override any gcc2 internal prototype to avoid an error. */
19257 /* We use char because int might match the return type of a gcc2
19258 builtin and then its argument prototype would still apply. */
19259 char pthread_cancel();
19263 /* The GNU C library defines this for functions which it implements
19264 to always fail with ENOSYS. Some functions are actually named
19265 something starting with __ and the normal name is an alias. */
19266 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
19274 if { (eval echo configure
:19275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19276 eval "ac_cv_func_pthread_cancel=yes"
19278 echo "configure: failed program was:" >&5
19279 cat conftest.
$ac_ext >&5
19281 eval "ac_cv_func_pthread_cancel=no"
19286 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
19287 echo "$ac_t""yes" 1>&6
19288 cat >> confdefs.h
<<\EOF
19289 #define HAVE_PTHREAD_CANCEL 1
19293 echo "$ac_t""no" 1>&6
19294 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
19298 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
19299 echo "configure:19300: checking for pthread_cleanup_push/pop" >&5
19300 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
19301 echo $ac_n "(cached) $ac_c" 1>&6
19304 cat > conftest.
$ac_ext <<EOF
19305 #line 19306 "configure"
19306 #include "confdefs.h"
19307 #include <pthread.h>
19310 pthread_cleanup_push(NULL, NULL);
19311 pthread_cleanup_pop(0);
19315 if { (eval echo configure
:19316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19318 wx_cv_func_pthread_cleanup_push
=yes
19321 echo "configure: failed program was:" >&5
19322 cat conftest.
$ac_ext >&5
19325 wx_cv_func_pthread_cleanup_push
=no
19332 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
19334 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
19335 cat >> confdefs.h
<<\EOF
19336 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
19342 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
19343 echo "configure:19344: checking for pthread_mutexattr_t" >&5
19344 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
19345 echo $ac_n "(cached) $ac_c" 1>&6
19348 cat > conftest.
$ac_ext <<EOF
19349 #line 19350 "configure"
19350 #include "confdefs.h"
19351 #include <pthread.h>
19354 pthread_mutexattr_t attr;
19355 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
19359 if { (eval echo configure
:19360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19362 wx_cv_type_pthread_mutexattr_t
=yes
19365 echo "configure: failed program was:" >&5
19366 cat conftest.
$ac_ext >&5
19369 wx_cv_type_pthread_mutexattr_t
=no
19377 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
19379 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
19380 cat >> confdefs.h
<<\EOF
19381 #define HAVE_PTHREAD_MUTEXATTR_T 1
19385 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
19386 echo "configure:19387: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
19387 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
19388 echo $ac_n "(cached) $ac_c" 1>&6
19391 cat > conftest.
$ac_ext <<EOF
19392 #line 19393 "configure"
19393 #include "confdefs.h"
19394 #include <pthread.h>
19397 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
19401 if { (eval echo configure
:19402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19404 wx_cv_type_pthread_rec_mutex_init
=yes
19407 echo "configure: failed program was:" >&5
19408 cat conftest.
$ac_ext >&5
19411 wx_cv_type_pthread_rec_mutex_init
=no
19419 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
19420 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
19421 cat >> confdefs.h
<<\EOF
19422 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
19426 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
19432 if test "$wxUSE_THREADS" = "yes" ; then
19435 echo $ac_n "checking if compiler supports -mthreads""... $ac_c" 1>&6
19436 echo "configure:19437: checking if compiler supports -mthreads" >&5
19437 if eval "test \"`echo '$''{'wx_cv_cflags_mthread'+set}'`\" = set"; then
19438 echo $ac_n "(cached) $ac_c" 1>&6
19441 CFLAGS_OLD
="$CFLAGS"
19442 CFLAGS
="$CFLAGS -mthreads"
19443 cat > conftest.
$ac_ext <<EOF
19444 #line 19445 "configure"
19445 #include "confdefs.h"
19451 if { (eval echo configure
:19452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19453 wx_cv_cflags_mthread
=yes
19455 echo "configure: failed program was:" >&5
19456 cat conftest.
$ac_ext >&5
19458 wx_cv_cflags_mthread
=no
19466 echo "$ac_t""$wx_cv_cflags_mthread" 1>&6
19468 if test "$wx_cv_cflags_mthread" = "yes"; then
19469 CXXFLAGS
="$CXXFLAGS -mthreads"
19470 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
19471 LDFLAGS
="$LDFLAGS -mthreads"
19473 CFLAGS
="$CFLAGS_OLD"
19480 if test "$wxUSE_THREADS" = "yes"; then
19481 cat >> confdefs.h
<<\EOF
19482 #define wxUSE_THREADS 1
19486 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
19488 if test "$ac_cv_func_strtok_r" = "yes"; then
19489 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
19490 echo "configure:19491: checking if -D_REENTRANT is needed" >&5
19491 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
19492 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
19493 echo "$ac_t""yes" 1>&6
19495 echo "$ac_t""no" 1>&6
19500 if test "$WXGTK20" = 1 ; then
19501 cat >> confdefs.h
<<EOF
19502 #define __WXGTK20__ $WXGTK20
19508 if test "$WXGTK12" = 1 ; then
19509 cat >> confdefs.h
<<EOF
19510 #define __WXGTK12__ $WXGTK12
19515 if test "$WXGTK127" = 1 ; then
19516 cat >> confdefs.h
<<EOF
19517 #define __WXGTK127__ $WXGTK127
19524 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
19529 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
19530 wxUSE_DEBUG_INFO
=yes
19534 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
19535 cat >> confdefs.h
<<\EOF
19539 WXDEBUG_DEFINE
="-D__WXDEBUG__"
19541 if test "$wxUSE_GTK" = 1 ; then
19542 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
19546 if test "$wxUSE_MEM_TRACING" = "yes" ; then
19547 cat >> confdefs.h
<<\EOF
19548 #define wxUSE_MEMORY_TRACING 1
19551 cat >> confdefs.h
<<\EOF
19552 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
19555 cat >> confdefs.h
<<\EOF
19556 #define wxUSE_DEBUG_NEW_ALWAYS 1
19559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
19562 if test "$wxUSE_DMALLOC" = "yes" ; then
19563 DMALLOC_LIBS
="-ldmalloc"
19567 if test "$wxUSE_PROFILE" = "yes" ; then
19572 CODE_GEN_FLAGS_CXX
=
19573 if test "$GCC" = "yes" ; then
19574 if test "$wxUSE_NO_RTTI" = "yes" ; then
19575 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
19577 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
19578 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
19580 if test "$wxUSE_PERMISSIVE" = "yes" ; then
19581 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
19583 if test "$USE_WIN32" = 1 ; then
19584 # I'm not even really sure what this was ever added to solve,
19585 # but someone added it for mingw native builds, so I guess
19586 # they had a reason, right??
19587 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
19592 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
19595 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
19601 if test "$wxUSE_OPTIMISE" = "no" ; then
19602 if test "$GCC" = yes ; then
19606 if test "$GCC" = yes ; then
19610 i586
-*-*|i686
-*-* )
19611 OPTIMISE
="${OPTIMISE} "
19620 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
19621 cat >> confdefs.h
<<\EOF
19622 #define WXWIN_COMPATIBILITY_2 1
19626 WXWIN_COMPATIBILITY_2_2
="yes"
19629 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
19630 cat >> confdefs.h
<<\EOF
19631 #define WXWIN_COMPATIBILITY_2_2 1
19635 WXWIN_COMPATIBILITY_2_4
="yes"
19638 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
19639 cat >> confdefs.h
<<\EOF
19640 #define WXWIN_COMPATIBILITY_2_4 1
19646 if test "$wxUSE_GUI" = "yes"; then
19647 cat >> confdefs.h
<<\EOF
19648 #define wxUSE_GUI 1
19653 cat >> confdefs.h
<<\EOF
19654 #define wxUSE_NOGUI 1
19660 if test "$wxUSE_UNIX" = "yes"; then
19661 cat >> confdefs.h
<<\EOF
19662 #define wxUSE_UNIX 1
19668 if test "$wxUSE_APPLE_IEEE" = "yes"; then
19669 cat >> confdefs.h
<<\EOF
19670 #define wxUSE_APPLE_IEEE 1
19675 if test "$wxUSE_TIMER" = "yes"; then
19676 cat >> confdefs.h
<<\EOF
19677 #define wxUSE_TIMER 1
19682 if test "$wxUSE_WAVE" = "yes"; then
19683 cat >> confdefs.h
<<\EOF
19684 #define wxUSE_WAVE 1
19689 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
19690 cat >> confdefs.h
<<\EOF
19691 #define wxUSE_CMDLINE_PARSER 1
19696 if test "$wxUSE_STOPWATCH" = "yes"; then
19697 cat >> confdefs.h
<<\EOF
19698 #define wxUSE_STOPWATCH 1
19703 if test "$wxUSE_DATETIME" = "yes"; then
19704 cat >> confdefs.h
<<\EOF
19705 #define wxUSE_DATETIME 1
19710 if test "$wxUSE_TIMEDATE" = "yes"; then
19711 cat >> confdefs.h
<<\EOF
19712 #define wxUSE_TIMEDATE 1
19717 if test "$wxUSE_FILE" = "yes"; then
19718 cat >> confdefs.h
<<\EOF
19719 #define wxUSE_FILE 1
19724 if test "$wxUSE_FFILE" = "yes"; then
19725 cat >> confdefs.h
<<\EOF
19726 #define wxUSE_FFILE 1
19731 if test "$wxUSE_FILESYSTEM" = "yes"; then
19732 cat >> confdefs.h
<<\EOF
19733 #define wxUSE_FILESYSTEM 1
19738 if test "$wxUSE_FS_INET" = "yes"; then
19739 cat >> confdefs.h
<<\EOF
19740 #define wxUSE_FS_INET 1
19745 if test "$wxUSE_FS_ZIP" = "yes"; then
19746 cat >> confdefs.h
<<\EOF
19747 #define wxUSE_FS_ZIP 1
19752 if test "$wxUSE_ZIPSTREAM" = "yes"; then
19753 cat >> confdefs.h
<<\EOF
19754 #define wxUSE_ZIPSTREAM 1
19759 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
19760 cat >> confdefs.h
<<\EOF
19761 #define wxUSE_ON_FATAL_EXCEPTION 1
19766 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
19767 cat >> confdefs.h
<<\EOF
19768 #define wxUSE_SNGLINST_CHECKER 1
19773 if test "$wxUSE_BUSYINFO" = "yes"; then
19774 cat >> confdefs.h
<<\EOF
19775 #define wxUSE_BUSYINFO 1
19780 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
19781 cat >> confdefs.h
<<\EOF
19782 #define wxUSE_STD_IOSTREAM 1
19787 if test "$wxUSE_TEXTBUFFER" = "yes"; then
19788 cat >> confdefs.h
<<\EOF
19789 #define wxUSE_TEXTBUFFER 1
19794 if test "$wxUSE_TEXTFILE" = "yes"; then
19795 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
19796 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
19798 cat >> confdefs.h
<<\EOF
19799 #define wxUSE_TEXTFILE 1
19805 if test "$wxUSE_CONFIG" = "yes" ; then
19806 if test "$wxUSE_TEXTFILE" != "yes"; then
19807 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
19809 cat >> confdefs.h
<<\EOF
19810 #define wxUSE_CONFIG 1
19813 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
19817 if test "$wxUSE_INTL" = "yes" ; then
19818 if test "$wxUSE_FILE" != "yes"; then
19819 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
19821 cat >> confdefs.h
<<\EOF
19822 #define wxUSE_INTL 1
19825 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
19826 GUIDIST
="$GUIDIST INTL_DIST"
19830 if test "$wxUSE_LOG" = "yes"; then
19831 cat >> confdefs.h
<<\EOF
19832 #define wxUSE_LOG 1
19836 if test "$wxUSE_LOGGUI" = "yes"; then
19837 cat >> confdefs.h
<<\EOF
19838 #define wxUSE_LOGGUI 1
19843 if test "$wxUSE_LOGWINDOW" = "yes"; then
19844 cat >> confdefs.h
<<\EOF
19845 #define wxUSE_LOGWINDOW 1
19850 if test "$wxUSE_LOGDIALOG" = "yes"; then
19851 cat >> confdefs.h
<<\EOF
19852 #define wxUSE_LOG_DIALOG 1
19858 if test "$wxUSE_LONGLONG" = "yes"; then
19859 cat >> confdefs.h
<<\EOF
19860 #define wxUSE_LONGLONG 1
19865 if test "$wxUSE_GEOMETRY" = "yes"; then
19866 cat >> confdefs.h
<<\EOF
19867 #define wxUSE_GEOMETRY 1
19872 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
19873 cat >> confdefs.h
<<\EOF
19874 #define wxUSE_DIALUP_MANAGER 1
19877 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
19880 if test "$wxUSE_STREAMS" = "yes" ; then
19881 cat >> confdefs.h
<<\EOF
19882 #define wxUSE_STREAMS 1
19888 if test "$wxUSE_DATETIME" = "yes"; then
19889 for ac_func
in strptime
19891 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19892 echo "configure:19893: checking for $ac_func" >&5
19893 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19894 echo $ac_n "(cached) $ac_c" 1>&6
19896 cat > conftest.
$ac_ext <<EOF
19897 #line 19898 "configure"
19898 #include "confdefs.h"
19899 /* System header to define __stub macros and hopefully few prototypes,
19900 which can conflict with char $ac_func(); below. */
19901 #include <assert.h>
19902 /* Override any gcc2 internal prototype to avoid an error. */
19903 /* We use char because int might match the return type of a gcc2
19904 builtin and then its argument prototype would still apply. */
19909 /* The GNU C library defines this for functions which it implements
19910 to always fail with ENOSYS. Some functions are actually named
19911 something starting with __ and the normal name is an alias. */
19912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19920 if { (eval echo configure
:19921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19922 eval "ac_cv_func_$ac_func=yes"
19924 echo "configure: failed program was:" >&5
19925 cat conftest.
$ac_ext >&5
19927 eval "ac_cv_func_$ac_func=no"
19932 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19933 echo "$ac_t""yes" 1>&6
19934 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19935 cat >> confdefs.h
<<EOF
19936 #define $ac_tr_func 1
19940 echo "$ac_t""no" 1>&6
19945 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
19946 echo "configure:19947: checking for timezone variable in <time.h>" >&5
19947 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
19948 echo $ac_n "(cached) $ac_c" 1>&6
19951 cat > conftest.
$ac_ext <<EOF
19952 #line 19953 "configure"
19953 #include "confdefs.h"
19964 if { (eval echo configure
:19965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19967 wx_cv_var_timezone
=timezone
19970 echo "configure: failed program was:" >&5
19971 cat conftest.
$ac_ext >&5
19974 cat > conftest.
$ac_ext <<EOF
19975 #line 19976 "configure"
19976 #include "confdefs.h"
19987 if { (eval echo configure
:19988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19990 wx_cv_var_timezone
=_timezone
19993 echo "configure: failed program was:" >&5
19994 cat conftest.
$ac_ext >&5
19997 cat > conftest.
$ac_ext <<EOF
19998 #line 19999 "configure"
19999 #include "confdefs.h"
20010 if { (eval echo configure
:20011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20013 wx_cv_var_timezone
=__timezone
20016 echo "configure: failed program was:" >&5
20017 cat conftest.
$ac_ext >&5
20020 if test "$USE_DOS" = 0 ; then
20021 echo "configure: warning: no timezone variable" 1>&2
20039 echo "$ac_t""$wx_cv_var_timezone" 1>&6
20041 if test "x$wx_cv_var_timezone" != x
; then
20042 cat >> confdefs.h
<<EOF
20043 #define WX_TIMEZONE $wx_cv_var_timezone
20048 for ac_func
in localtime
20050 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20051 echo "configure:20052: checking for $ac_func" >&5
20052 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20053 echo $ac_n "(cached) $ac_c" 1>&6
20055 cat > conftest.
$ac_ext <<EOF
20056 #line 20057 "configure"
20057 #include "confdefs.h"
20058 /* System header to define __stub macros and hopefully few prototypes,
20059 which can conflict with char $ac_func(); below. */
20060 #include <assert.h>
20061 /* Override any gcc2 internal prototype to avoid an error. */
20062 /* We use char because int might match the return type of a gcc2
20063 builtin and then its argument prototype would still apply. */
20068 /* The GNU C library defines this for functions which it implements
20069 to always fail with ENOSYS. Some functions are actually named
20070 something starting with __ and the normal name is an alias. */
20071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20079 if { (eval echo configure
:20080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20081 eval "ac_cv_func_$ac_func=yes"
20083 echo "configure: failed program was:" >&5
20084 cat conftest.
$ac_ext >&5
20086 eval "ac_cv_func_$ac_func=no"
20091 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20092 echo "$ac_t""yes" 1>&6
20093 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20094 cat >> confdefs.h
<<EOF
20095 #define $ac_tr_func 1
20099 echo "$ac_t""no" 1>&6
20104 if test "$ac_cv_func_localtime" = "yes"; then
20105 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
20106 echo "configure:20107: checking for tm_gmtoff in struct tm" >&5
20107 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
20108 echo $ac_n "(cached) $ac_c" 1>&6
20111 cat > conftest.
$ac_ext <<EOF
20112 #line 20113 "configure"
20113 #include "confdefs.h"
20124 if { (eval echo configure
:20125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20127 wx_cv_struct_tm_has_gmtoff
=yes
20130 echo "configure: failed program was:" >&5
20131 cat conftest.
$ac_ext >&5
20133 wx_cv_struct_tm_has_gmtoff
=no
20140 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
20143 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
20144 cat >> confdefs.h
<<\EOF
20145 #define WX_GMTOFF_IN_TM 1
20150 for ac_func
in gettimeofday ftime
20152 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20153 echo "configure:20154: checking for $ac_func" >&5
20154 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20155 echo $ac_n "(cached) $ac_c" 1>&6
20157 cat > conftest.
$ac_ext <<EOF
20158 #line 20159 "configure"
20159 #include "confdefs.h"
20160 /* System header to define __stub macros and hopefully few prototypes,
20161 which can conflict with char $ac_func(); below. */
20162 #include <assert.h>
20163 /* Override any gcc2 internal prototype to avoid an error. */
20164 /* We use char because int might match the return type of a gcc2
20165 builtin and then its argument prototype would still apply. */
20170 /* The GNU C library defines this for functions which it implements
20171 to always fail with ENOSYS. Some functions are actually named
20172 something starting with __ and the normal name is an alias. */
20173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20181 if { (eval echo configure
:20182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20183 eval "ac_cv_func_$ac_func=yes"
20185 echo "configure: failed program was:" >&5
20186 cat conftest.
$ac_ext >&5
20188 eval "ac_cv_func_$ac_func=no"
20193 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20194 echo "$ac_t""yes" 1>&6
20195 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20196 cat >> confdefs.h
<<EOF
20197 #define $ac_tr_func 1
20201 echo "$ac_t""no" 1>&6
20206 if test "$ac_cv_func_gettimeofday" = "yes"; then
20207 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
20208 echo "configure:20209: checking whether gettimeofday takes two arguments" >&5
20209 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
20210 echo $ac_n "(cached) $ac_c" 1>&6
20215 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20216 ac_cpp
='$CXXCPP $CPPFLAGS'
20217 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20218 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20219 cross_compiling
=$ac_cv_prog_cxx_cross
20222 cat > conftest.
$ac_ext <<EOF
20223 #line 20224 "configure"
20224 #include "confdefs.h"
20226 #include <sys/time.h>
20227 #include <unistd.h>
20232 gettimeofday(&tv, NULL);
20236 if { (eval echo configure
:20237: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20238 wx_cv_func_gettimeofday_has_2_args
=yes
20240 echo "configure: failed program was:" >&5
20241 cat conftest.
$ac_ext >&5
20243 cat > conftest.
$ac_ext <<EOF
20244 #line 20245 "configure"
20245 #include "confdefs.h"
20247 #include <sys/time.h>
20248 #include <unistd.h>
20257 if { (eval echo configure
:20258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20259 wx_cv_func_gettimeofday_has_2_args
=no
20261 echo "configure: failed program was:" >&5
20262 cat conftest.
$ac_ext >&5
20265 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
20266 wx_cv_func_gettimeofday_has_2_args
=unknown
20275 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20276 ac_cpp
='$CPP $CPPFLAGS'
20277 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20278 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20279 cross_compiling
=$ac_cv_prog_cc_cross
20284 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
20286 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
20287 cat >> confdefs.h
<<\EOF
20288 #define WX_GETTIMEOFDAY_NO_TZ 1
20294 cat >> confdefs.h
<<\EOF
20295 #define wxUSE_TIMEDATE 1
20298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
20302 if test "$wxUSE_SOCKETS" = "yes"; then
20303 if test "$wxUSE_MGL" = "1"; then
20304 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
20309 if test "$wxUSE_SOCKETS" = "yes"; then
20310 if test "$TOOLKIT" != "MSW"; then
20311 echo $ac_n "checking for socket""... $ac_c" 1>&6
20312 echo "configure:20313: checking for socket" >&5
20313 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
20314 echo $ac_n "(cached) $ac_c" 1>&6
20316 cat > conftest.
$ac_ext <<EOF
20317 #line 20318 "configure"
20318 #include "confdefs.h"
20319 /* System header to define __stub macros and hopefully few prototypes,
20320 which can conflict with char socket(); below. */
20321 #include <assert.h>
20322 /* Override any gcc2 internal prototype to avoid an error. */
20323 /* We use char because int might match the return type of a gcc2
20324 builtin and then its argument prototype would still apply. */
20329 /* The GNU C library defines this for functions which it implements
20330 to always fail with ENOSYS. Some functions are actually named
20331 something starting with __ and the normal name is an alias. */
20332 #if defined (__stub_socket) || defined (__stub___socket)
20340 if { (eval echo configure
:20341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20342 eval "ac_cv_func_socket=yes"
20344 echo "configure: failed program was:" >&5
20345 cat conftest.
$ac_ext >&5
20347 eval "ac_cv_func_socket=no"
20352 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
20353 echo "$ac_t""yes" 1>&6
20356 echo "$ac_t""no" 1>&6
20357 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
20358 echo "configure:20359: checking for socket in -lsocket" >&5
20359 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
20360 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20361 echo $ac_n "(cached) $ac_c" 1>&6
20363 ac_save_LIBS
="$LIBS"
20364 LIBS
="-lsocket $LIBS"
20365 cat > conftest.
$ac_ext <<EOF
20366 #line 20367 "configure"
20367 #include "confdefs.h"
20368 /* Override any gcc2 internal prototype to avoid an error. */
20369 /* We use char because int might match the return type of a gcc2
20370 builtin and then its argument prototype would still apply. */
20377 if { (eval echo configure
:20378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20379 eval "ac_cv_lib_$ac_lib_var=yes"
20381 echo "configure: failed program was:" >&5
20382 cat conftest.
$ac_ext >&5
20384 eval "ac_cv_lib_$ac_lib_var=no"
20387 LIBS
="$ac_save_LIBS"
20390 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20391 echo "$ac_t""yes" 1>&6
20392 if test "$INET_LINK" != " -lsocket"; then
20393 INET_LINK
="$INET_LINK -lsocket"
20396 echo "$ac_t""no" 1>&6
20398 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
20410 if test "$wxUSE_SOCKETS" = "yes" ; then
20411 if test "$TOOLKIT" != "MSW"; then
20412 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
20413 echo "configure:20414: checking what is the type of the third argument of getsockname" >&5
20414 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
20415 echo $ac_n "(cached) $ac_c" 1>&6
20420 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20421 ac_cpp
='$CXXCPP $CPPFLAGS'
20422 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20423 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20424 cross_compiling
=$ac_cv_prog_cxx_cross
20427 cat > conftest.
$ac_ext <<EOF
20428 #line 20429 "configure"
20429 #include "confdefs.h"
20431 #include <sys/types.h>
20432 #include <sys/socket.h>
20437 getsockname(0, 0, &len);
20441 if { (eval echo configure
:20442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20443 wx_cv_type_getsockname3
=socklen_t
20445 echo "configure: failed program was:" >&5
20446 cat conftest.
$ac_ext >&5
20448 cat > conftest.
$ac_ext <<EOF
20449 #line 20450 "configure"
20450 #include "confdefs.h"
20452 #include <sys/types.h>
20453 #include <sys/socket.h>
20458 getsockname(0, 0, &len);
20462 if { (eval echo configure
:20463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20464 wx_cv_type_getsockname3
=size_t
20466 echo "configure: failed program was:" >&5
20467 cat conftest.
$ac_ext >&5
20469 cat > conftest.
$ac_ext <<EOF
20470 #line 20471 "configure"
20471 #include "confdefs.h"
20473 #include <sys/types.h>
20474 #include <sys/socket.h>
20479 getsockname(0, 0, &len);
20483 if { (eval echo configure
:20484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20485 wx_cv_type_getsockname3
=int
20487 echo "configure: failed program was:" >&5
20488 cat conftest.
$ac_ext >&5
20490 wx_cv_type_getsockname3
=unknown
20502 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20503 ac_cpp
='$CPP $CPPFLAGS'
20504 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20505 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20506 cross_compiling
=$ac_cv_prog_cc_cross
20511 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
20513 if test "$wx_cv_type_getsockname3" = "unknown"; then
20515 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
20517 cat >> confdefs.h
<<EOF
20518 #define SOCKLEN_T $wx_cv_type_getsockname3
20525 if test "$wxUSE_SOCKETS" = "yes" ; then
20526 cat >> confdefs.h
<<\EOF
20527 #define wxUSE_SOCKETS 1
20530 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
20534 if test "$wxUSE_GUI" = "yes"; then
20536 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
20537 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
20540 if test "$TOOLKIT" = "MOTIF"; then
20541 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
20544 if test "$TOOLKIT" = "X11"; then
20545 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
20549 if test "$TOOLKIT" != "MSW"; then
20550 if test "$wxUSE_JOYSTICK" = "yes"; then
20551 for ac_hdr
in linux
/joystick.h
20553 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20554 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20555 echo "configure:20556: checking for $ac_hdr" >&5
20556 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20557 echo $ac_n "(cached) $ac_c" 1>&6
20559 cat > conftest.
$ac_ext <<EOF
20560 #line 20561 "configure"
20561 #include "confdefs.h"
20564 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20565 { (eval echo configure
:20566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20566 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20567 if test -z "$ac_err"; then
20569 eval "ac_cv_header_$ac_safe=yes"
20572 echo "configure: failed program was:" >&5
20573 cat conftest.
$ac_ext >&5
20575 eval "ac_cv_header_$ac_safe=no"
20579 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20580 echo "$ac_t""yes" 1>&6
20581 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20582 cat >> confdefs.h
<<EOF
20583 #define $ac_tr_hdr 1
20587 echo "$ac_t""no" 1>&6
20591 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
20593 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
20598 if test "$wxUSE_JOYSTICK" = "yes"; then
20599 cat >> confdefs.h
<<\EOF
20600 #define wxUSE_JOYSTICK 1
20603 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
20608 if test "$TOOLKIT" != "MSW"; then
20612 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20613 if test "$USE_DARWIN" = 1; then
20616 for ac_func
in dlopen
20618 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20619 echo "configure:20620: checking for $ac_func" >&5
20620 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20621 echo $ac_n "(cached) $ac_c" 1>&6
20623 cat > conftest.
$ac_ext <<EOF
20624 #line 20625 "configure"
20625 #include "confdefs.h"
20626 /* System header to define __stub macros and hopefully few prototypes,
20627 which can conflict with char $ac_func(); below. */
20628 #include <assert.h>
20629 /* Override any gcc2 internal prototype to avoid an error. */
20630 /* We use char because int might match the return type of a gcc2
20631 builtin and then its argument prototype would still apply. */
20636 /* The GNU C library defines this for functions which it implements
20637 to always fail with ENOSYS. Some functions are actually named
20638 something starting with __ and the normal name is an alias. */
20639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20647 if { (eval echo configure
:20648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20649 eval "ac_cv_func_$ac_func=yes"
20651 echo "configure: failed program was:" >&5
20652 cat conftest.
$ac_ext >&5
20654 eval "ac_cv_func_$ac_func=no"
20659 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20660 echo "$ac_t""yes" 1>&6
20661 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20662 cat >> confdefs.h
<<EOF
20663 #define $ac_tr_func 1
20666 cat >> confdefs.h
<<\EOF
20667 #define HAVE_DLOPEN 1
20673 echo "$ac_t""no" 1>&6
20674 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
20675 echo "configure:20676: checking for dlopen in -ldl" >&5
20676 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
20677 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20678 echo $ac_n "(cached) $ac_c" 1>&6
20680 ac_save_LIBS
="$LIBS"
20682 cat > conftest.
$ac_ext <<EOF
20683 #line 20684 "configure"
20684 #include "confdefs.h"
20685 /* Override any gcc2 internal prototype to avoid an error. */
20686 /* We use char because int might match the return type of a gcc2
20687 builtin and then its argument prototype would still apply. */
20694 if { (eval echo configure
:20695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20696 eval "ac_cv_lib_$ac_lib_var=yes"
20698 echo "configure: failed program was:" >&5
20699 cat conftest.
$ac_ext >&5
20701 eval "ac_cv_lib_$ac_lib_var=no"
20704 LIBS
="$ac_save_LIBS"
20707 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20708 echo "$ac_t""yes" 1>&6
20710 cat >> confdefs.h
<<\EOF
20711 #define HAVE_DLOPEN 1
20715 DL_LINK
=" -ldl$DL_LINK"
20718 echo "$ac_t""no" 1>&6
20720 for ac_func
in shl_load
20722 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20723 echo "configure:20724: checking for $ac_func" >&5
20724 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20725 echo $ac_n "(cached) $ac_c" 1>&6
20727 cat > conftest.
$ac_ext <<EOF
20728 #line 20729 "configure"
20729 #include "confdefs.h"
20730 /* System header to define __stub macros and hopefully few prototypes,
20731 which can conflict with char $ac_func(); below. */
20732 #include <assert.h>
20733 /* Override any gcc2 internal prototype to avoid an error. */
20734 /* We use char because int might match the return type of a gcc2
20735 builtin and then its argument prototype would still apply. */
20740 /* The GNU C library defines this for functions which it implements
20741 to always fail with ENOSYS. Some functions are actually named
20742 something starting with __ and the normal name is an alias. */
20743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20751 if { (eval echo configure
:20752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20753 eval "ac_cv_func_$ac_func=yes"
20755 echo "configure: failed program was:" >&5
20756 cat conftest.
$ac_ext >&5
20758 eval "ac_cv_func_$ac_func=no"
20763 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20764 echo "$ac_t""yes" 1>&6
20765 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20766 cat >> confdefs.h
<<EOF
20767 #define $ac_tr_func 1
20770 cat >> confdefs.h
<<\EOF
20771 #define HAVE_SHL_LOAD 1
20777 echo "$ac_t""no" 1>&6
20778 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
20779 echo "configure:20780: checking for dld in -lshl_load" >&5
20780 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
20781 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20782 echo $ac_n "(cached) $ac_c" 1>&6
20784 ac_save_LIBS
="$LIBS"
20785 LIBS
="-lshl_load $LIBS"
20786 cat > conftest.
$ac_ext <<EOF
20787 #line 20788 "configure"
20788 #include "confdefs.h"
20789 /* Override any gcc2 internal prototype to avoid an error. */
20790 /* We use char because int might match the return type of a gcc2
20791 builtin and then its argument prototype would still apply. */
20798 if { (eval echo configure
:20799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20800 eval "ac_cv_lib_$ac_lib_var=yes"
20802 echo "configure: failed program was:" >&5
20803 cat conftest.
$ac_ext >&5
20805 eval "ac_cv_lib_$ac_lib_var=no"
20808 LIBS
="$ac_save_LIBS"
20811 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20812 echo "$ac_t""yes" 1>&6
20815 DL_LINK
=" -ldld$DL_LINK"
20818 echo "$ac_t""no" 1>&6
20833 if test "$HAVE_DL_FUNCS" = 1; then
20834 for ac_func
in dlerror
20836 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20837 echo "configure:20838: checking for $ac_func" >&5
20838 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20839 echo $ac_n "(cached) $ac_c" 1>&6
20841 cat > conftest.
$ac_ext <<EOF
20842 #line 20843 "configure"
20843 #include "confdefs.h"
20844 /* System header to define __stub macros and hopefully few prototypes,
20845 which can conflict with char $ac_func(); below. */
20846 #include <assert.h>
20847 /* Override any gcc2 internal prototype to avoid an error. */
20848 /* We use char because int might match the return type of a gcc2
20849 builtin and then its argument prototype would still apply. */
20854 /* The GNU C library defines this for functions which it implements
20855 to always fail with ENOSYS. Some functions are actually named
20856 something starting with __ and the normal name is an alias. */
20857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20865 if { (eval echo configure
:20866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20867 eval "ac_cv_func_$ac_func=yes"
20869 echo "configure: failed program was:" >&5
20870 cat conftest.
$ac_ext >&5
20872 eval "ac_cv_func_$ac_func=no"
20877 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20878 echo "$ac_t""yes" 1>&6
20879 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20880 cat >> confdefs.h
<<EOF
20881 #define $ac_tr_func 1
20883 cat >> confdefs.h
<<\EOF
20884 #define HAVE_DLERROR 1
20888 echo "$ac_t""no" 1>&6
20889 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
20890 echo "configure:20891: checking for dlerror in -ldl" >&5
20891 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
20892 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20893 echo $ac_n "(cached) $ac_c" 1>&6
20895 ac_save_LIBS
="$LIBS"
20897 cat > conftest.
$ac_ext <<EOF
20898 #line 20899 "configure"
20899 #include "confdefs.h"
20900 /* Override any gcc2 internal prototype to avoid an error. */
20901 /* We use char because int might match the return type of a gcc2
20902 builtin and then its argument prototype would still apply. */
20909 if { (eval echo configure
:20910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20911 eval "ac_cv_lib_$ac_lib_var=yes"
20913 echo "configure: failed program was:" >&5
20914 cat conftest.
$ac_ext >&5
20916 eval "ac_cv_lib_$ac_lib_var=no"
20919 LIBS
="$ac_save_LIBS"
20922 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20923 echo "$ac_t""yes" 1>&6
20924 cat >> confdefs.h
<<\EOF
20925 #define HAVE_DLERROR 1
20929 echo "$ac_t""no" 1>&6
20938 if test "$HAVE_DL_FUNCS" = 0; then
20939 if test "$HAVE_SHL_FUNCS" = 0; then
20940 if test "$USE_UNIX" = 1; then
20941 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
20942 wxUSE_DYNAMIC_LOADER
=no
20943 wxUSE_DYNLIB_CLASS
=no
20945 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
20952 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
20953 cat >> confdefs.h
<<\EOF
20954 #define wxUSE_DYNAMIC_LOADER 1
20957 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20958 cat >> confdefs.h
<<\EOF
20959 #define wxUSE_DYNLIB_CLASS 1
20965 if test "$wxUSE_FONTMAP" = "yes" ; then
20966 cat >> confdefs.h
<<\EOF
20967 #define wxUSE_FONTMAP 1
20972 if test "$wxUSE_UNICODE" = "yes" ; then
20973 cat >> confdefs.h
<<\EOF
20974 #define wxUSE_UNICODE 1
20978 if test "$wxUSE_MSW" != 1; then
20979 wxUSE_UNICODE_MSLU
=no
20982 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
20983 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
20984 echo "configure:20985: checking for main in -lunicows" >&5
20985 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
20986 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20987 echo $ac_n "(cached) $ac_c" 1>&6
20989 ac_save_LIBS
="$LIBS"
20990 LIBS
="-lunicows $LIBS"
20991 cat > conftest.
$ac_ext <<EOF
20992 #line 20993 "configure"
20993 #include "confdefs.h"
20999 if { (eval echo configure
:21000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21001 eval "ac_cv_lib_$ac_lib_var=yes"
21003 echo "configure: failed program was:" >&5
21004 cat conftest.
$ac_ext >&5
21006 eval "ac_cv_lib_$ac_lib_var=no"
21009 LIBS
="$ac_save_LIBS"
21012 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21013 echo "$ac_t""yes" 1>&6
21015 cat >> confdefs.h
<<\EOF
21016 #define wxUSE_UNICODE_MSLU 1
21021 echo "$ac_t""no" 1>&6
21023 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
21024 Applications will only run on Windows NT/2000/XP!" 1>&2
21025 wxUSE_UNICODE_MSLU
=no
21032 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
21033 cat >> confdefs.h
<<\EOF
21034 #define wxUSE_EXPERIMENTAL_PRINTF 1
21042 if test "$wxUSE_ODBC" = "yes" ; then
21043 cat >> confdefs.h
<<\EOF
21044 #define wxUSE_ODBC 1
21047 WXODBCFLAG
="-D_IODBC_"
21048 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
21052 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
21053 cat >> confdefs.h
<<\EOF
21054 #define wxUSE_POSTSCRIPT 1
21059 cat >> confdefs.h
<<\EOF
21060 #define wxUSE_AFM_FOR_POSTSCRIPT 1
21064 cat >> confdefs.h
<<\EOF
21065 #define wxUSE_NORMALIZED_PS_FONTS 1
21070 if test "$wxUSE_CONSTRAINTS" = "yes"; then
21071 cat >> confdefs.h
<<\EOF
21072 #define wxUSE_CONSTRAINTS 1
21075 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
21078 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21081 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21082 cat >> confdefs.h
<<\EOF
21083 #define wxUSE_MDI_ARCHITECTURE 1
21086 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
21090 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
21091 cat >> confdefs.h
<<\EOF
21092 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
21095 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
21096 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21097 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
21101 if test "$wxUSE_HELP" = "yes"; then
21102 cat >> confdefs.h
<<\EOF
21103 #define wxUSE_HELP 1
21106 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
21108 if test "$wxUSE_MSW" = 1; then
21109 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
21110 cat >> confdefs.h
<<\EOF
21111 #define wxUSE_MS_HTML_HELP 1
21117 if test "$wxUSE_WXHTML_HELP" = "yes"; then
21118 if test "$wxUSE_HTML" = "yes"; then
21119 cat >> confdefs.h
<<\EOF
21120 #define wxUSE_WXHTML_HELP 1
21124 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
21125 wxUSE_WXHTML_HELP
=no
21130 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21131 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21132 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
21134 cat >> confdefs.h
<<\EOF
21135 #define wxUSE_PRINTING_ARCHITECTURE 1
21139 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
21142 if test "$wxUSE_PROLOGIO" = "yes" ; then
21143 cat >> confdefs.h
<<\EOF
21144 #define wxUSE_PROLOGIO 1
21147 ALL_OBJECTS
="$ALL_OBJECTS parser.o"
21150 if test "$wxUSE_RESOURCES" = "yes" ; then
21151 if test "$wxUSE_NANOX" = "yes"; then
21152 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
21154 cat >> confdefs.h
<<\EOF
21155 #define wxUSE_RESOURCES 1
21158 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
21160 if test "$wxUSE_PROLOGIO" != "yes" ; then
21161 ALL_OBJECTS
="$ALL_OBJECTS parser.o"
21165 if test "$wxUSE_X_RESOURCES" = "yes"; then
21166 cat >> confdefs.h
<<\EOF
21167 #define wxUSE_X_RESOURCES 1
21173 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
21174 -o "$wxUSE_CLIPBOARD" = "yes" \
21175 -o "$wxUSE_OLE" = "yes" \
21176 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
21177 for ac_hdr
in ole2.h
21179 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21180 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21181 echo "configure:21182: checking for $ac_hdr" >&5
21182 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21183 echo $ac_n "(cached) $ac_c" 1>&6
21185 cat > conftest.
$ac_ext <<EOF
21186 #line 21187 "configure"
21187 #include "confdefs.h"
21190 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21191 { (eval echo configure
:21192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21192 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21193 if test -z "$ac_err"; then
21195 eval "ac_cv_header_$ac_safe=yes"
21198 echo "configure: failed program was:" >&5
21199 cat conftest.
$ac_ext >&5
21201 eval "ac_cv_header_$ac_safe=no"
21205 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21206 echo "$ac_t""yes" 1>&6
21207 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21208 cat >> confdefs.h
<<EOF
21209 #define $ac_tr_hdr 1
21213 echo "$ac_t""no" 1>&6
21218 if test "$ac_cv_header_ole2_h" = "yes" ; then
21219 if test "$GCC" = yes ; then
21222 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21223 ac_cpp
='$CXXCPP $CPPFLAGS'
21224 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21225 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21226 cross_compiling
=$ac_cv_prog_cxx_cross
21229 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
21230 echo "configure:21231: checking if g++ requires -fvtable-thunks" >&5
21231 cat > conftest.
$ac_ext <<EOF
21232 #line 21233 "configure"
21233 #include "confdefs.h"
21234 #include <windows.h>
21240 if { (eval echo configure
:21241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21242 echo "$ac_t""no" 1>&6
21244 echo "configure: failed program was:" >&5
21245 cat conftest.
$ac_ext >&5
21247 echo "$ac_t""yes" 1>&6
21248 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
21252 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21253 ac_cpp
='$CPP $CPPFLAGS'
21254 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21255 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21256 cross_compiling
=$ac_cv_prog_cc_cross
21258 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
21259 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
21260 cat >> confdefs.h
<<\EOF
21261 #define wxUSE_OLE 1
21267 cat >> confdefs.h
<<\EOF
21268 #define wxUSE_DATAOBJ 1
21272 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
21275 wxUSE_DRAG_AND_DROP
=no
21280 if test "$wxUSE_METAFILE" = "yes"; then
21281 cat >> confdefs.h
<<\EOF
21282 #define wxUSE_METAFILE 1
21286 cat >> confdefs.h
<<\EOF
21287 #define wxUSE_ENH_METAFILE 1
21293 if test "$wxUSE_IPC" = "yes"; then
21294 if test "$wxUSE_SOCKETS" != "yes"; then
21295 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
21298 cat >> confdefs.h
<<\EOF
21299 #define wxUSE_IPC 1
21304 if test "$wxUSE_CLIPBOARD" = "yes"; then
21305 if test "$wxUSE_MGL" = 1; then
21306 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
21310 if test "$wxUSE_CLIPBOARD" = "yes"; then
21311 cat >> confdefs.h
<<\EOF
21312 #define wxUSE_CLIPBOARD 1
21316 cat >> confdefs.h
<<\EOF
21317 #define wxUSE_DATAOBJ 1
21323 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
21324 if test "$wxUSE_GTK" = 1; then
21325 if test "$WXGTK12" != 1; then
21326 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
21327 wxUSE_DRAG_AND_DROP
=no
21331 if test "$wxUSE_MOTIF" = 1; then
21332 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
21333 wxUSE_DRAG_AND_DROP
=no
21336 if test "$wxUSE_X11" = 1; then
21337 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
21338 wxUSE_DRAG_AND_DROP
=no
21341 if test "$wxUSE_MGL" = 1; then
21342 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
21343 wxUSE_DRAG_AND_DROP
=no
21346 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
21347 cat >> confdefs.h
<<\EOF
21348 #define wxUSE_DRAG_AND_DROP 1
21351 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
21356 if test "$wxUSE_SPLINES" = "yes" ; then
21357 cat >> confdefs.h
<<\EOF
21358 #define wxUSE_SPLINES 1
21365 if test "$wxUSE_CONTROLS" = "yes"; then
21369 if test "$wxUSE_ACCEL" = "yes"; then
21370 cat >> confdefs.h
<<\EOF
21371 #define wxUSE_ACCEL 1
21377 if test "$wxUSE_BUTTON" = "yes"; then
21378 cat >> confdefs.h
<<\EOF
21379 #define wxUSE_BUTTON 1
21385 if test "$wxUSE_BMPBUTTON" = "yes"; then
21386 cat >> confdefs.h
<<\EOF
21387 #define wxUSE_BMPBUTTON 1
21393 if test "$wxUSE_CALCTRL" = "yes"; then
21394 cat >> confdefs.h
<<\EOF
21395 #define wxUSE_CALENDARCTRL 1
21399 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
21402 if test "$wxUSE_CARET" = "yes"; then
21403 cat >> confdefs.h
<<\EOF
21404 #define wxUSE_CARET 1
21408 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
21411 if test "$wxUSE_COMBOBOX" = "yes"; then
21412 cat >> confdefs.h
<<\EOF
21413 #define wxUSE_COMBOBOX 1
21419 if test "$wxUSE_CHOICE" = "yes"; then
21420 cat >> confdefs.h
<<\EOF
21421 #define wxUSE_CHOICE 1
21427 if test "$wxUSE_CHECKBOX" = "yes"; then
21428 cat >> confdefs.h
<<\EOF
21429 #define wxUSE_CHECKBOX 1
21435 if test "$wxUSE_CHECKLST" = "yes"; then
21436 cat >> confdefs.h
<<\EOF
21437 #define wxUSE_CHECKLISTBOX 1
21441 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
21444 if test "$wxUSE_DISPLAY" = "yes"; then
21445 cat >> confdefs.h
<<\EOF
21446 #define wxUSE_DISPLAY 1
21449 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
21452 if test "$wxUSE_GAUGE" = "yes"; then
21453 cat >> confdefs.h
<<\EOF
21454 #define wxUSE_GAUGE 1
21460 if test "$wxUSE_NEW_GRID" = "yes"; then
21462 cat >> confdefs.h
<<\EOF
21463 #define wxUSE_NEW_GRID 1
21467 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
21470 if test "$wxUSE_GRID" = "yes"; then
21471 cat >> confdefs.h
<<\EOF
21472 #define wxUSE_GRID 1
21476 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
21479 if test "$wxUSE_IMAGLIST" = "yes"; then
21480 cat >> confdefs.h
<<\EOF
21481 #define wxUSE_IMAGLIST 1
21486 if test "$wxUSE_LISTBOX" = "yes"; then
21487 cat >> confdefs.h
<<\EOF
21488 #define wxUSE_LISTBOX 1
21494 if test "$wxUSE_LISTCTRL" = "yes"; then
21495 if test "$wxUSE_IMAGLIST" = "yes"; then
21496 cat >> confdefs.h
<<\EOF
21497 #define wxUSE_LISTCTRL 1
21501 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
21503 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
21507 if test "$wxUSE_NOTEBOOK" = "yes"; then
21508 cat >> confdefs.h
<<\EOF
21509 #define wxUSE_NOTEBOOK 1
21513 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
21516 if test "$wxUSE_PROPSHEET" = "yes"; then
21517 cat >> confdefs.h
<<\EOF
21518 #define wxUSE_PROPSHEET 1
21522 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
21525 if test "$wxUSE_RADIOBOX" = "yes"; then
21526 cat >> confdefs.h
<<\EOF
21527 #define wxUSE_RADIOBOX 1
21533 if test "$wxUSE_RADIOBTN" = "yes"; then
21534 cat >> confdefs.h
<<\EOF
21535 #define wxUSE_RADIOBTN 1
21541 if test "$wxUSE_SASH" = "yes"; then
21542 cat >> confdefs.h
<<\EOF
21543 #define wxUSE_SASH 1
21546 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
21549 if test "$wxUSE_SCROLLBAR" = "yes"; then
21550 cat >> confdefs.h
<<\EOF
21551 #define wxUSE_SCROLLBAR 1
21555 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
21558 if test "$wxUSE_SLIDER" = "yes"; then
21559 cat >> confdefs.h
<<\EOF
21560 #define wxUSE_SLIDER 1
21566 if test "$wxUSE_SPINBTN" = "yes"; then
21567 cat >> confdefs.h
<<\EOF
21568 #define wxUSE_SPINBTN 1
21574 if test "$wxUSE_SPINCTRL" = "yes"; then
21575 cat >> confdefs.h
<<\EOF
21576 #define wxUSE_SPINCTRL 1
21582 if test "$wxUSE_SPLITTER" = "yes"; then
21583 cat >> confdefs.h
<<\EOF
21584 #define wxUSE_SPLITTER 1
21587 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
21590 if test "$wxUSE_STATBMP" = "yes"; then
21591 cat >> confdefs.h
<<\EOF
21592 #define wxUSE_STATBMP 1
21598 if test "$wxUSE_STATBOX" = "yes"; then
21599 cat >> confdefs.h
<<\EOF
21600 #define wxUSE_STATBOX 1
21606 if test "$wxUSE_STATTEXT" = "yes"; then
21607 cat >> confdefs.h
<<\EOF
21608 #define wxUSE_STATTEXT 1
21614 if test "$wxUSE_STATLINE" = "yes"; then
21615 cat >> confdefs.h
<<\EOF
21616 #define wxUSE_STATLINE 1
21622 if test "$wxUSE_STATUSBAR" = "yes"; then
21623 cat >> confdefs.h
<<\EOF
21624 #define wxUSE_STATUSBAR 1
21629 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
21632 if test "$wxUSE_TABDIALOG" = "yes"; then
21633 cat >> confdefs.h
<<\EOF
21634 #define wxUSE_TAB_DIALOG 1
21637 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
21640 if test "$wxUSE_TEXTCTRL" = "yes"; then
21641 cat >> confdefs.h
<<\EOF
21642 #define wxUSE_TEXTCTRL 1
21646 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
21649 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21650 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
21651 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
21654 if test "$wxUSE_UNIVERSAL" = "yes"; then
21655 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
21659 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21660 cat >> confdefs.h
<<\EOF
21661 #define wxUSE_TOGGLEBTN 1
21668 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
21669 cat >> confdefs.h
<<\EOF
21670 #define wxUSE_TOOLBAR_SIMPLE 1
21673 wxUSE_TOOLBAR
="yes"
21677 if test "$wxUSE_TOOLBAR" = "yes"; then
21678 cat >> confdefs.h
<<\EOF
21679 #define wxUSE_TOOLBAR 1
21684 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
21685 wxUSE_TOOLBAR_NATIVE
="yes"
21688 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
21689 cat >> confdefs.h
<<\EOF
21690 #define wxUSE_TOOLBAR_NATIVE 1
21696 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
21699 if test "$wxUSE_TOOLTIPS" = "yes"; then
21700 if test "$wxUSE_MOTIF" = 1; then
21701 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
21703 if test "$wxUSE_UNIVERSAL" = "yes"; then
21704 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
21706 cat >> confdefs.h
<<\EOF
21707 #define wxUSE_TOOLTIPS 1
21714 if test "$wxUSE_TREECTRL" = "yes"; then
21715 if test "$wxUSE_IMAGLIST" = "yes"; then
21716 cat >> confdefs.h
<<\EOF
21717 #define wxUSE_TREECTRL 1
21721 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
21723 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
21727 if test "$wxUSE_POPUPWIN" = "yes"; then
21728 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
21729 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
21731 if test "$wxUSE_MOTIF" = 1; then
21732 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
21734 if test "$wxUSE_PM" = 1; then
21735 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
21737 cat >> confdefs.h
<<\EOF
21738 #define wxUSE_POPUPWIN 1
21748 if test "$wxUSE_TIPWINDOW" = "yes"; then
21749 if test "$wxUSE_PM" = 1; then
21750 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
21752 cat >> confdefs.h
<<\EOF
21753 #define wxUSE_TIPWINDOW 1
21759 if test "$USES_CONTROLS" = 1; then
21760 cat >> confdefs.h
<<\EOF
21761 #define wxUSE_CONTROLS 1
21767 if test "$wxUSE_TREELAYOUT" = "yes"; then
21768 cat >> confdefs.h
<<\EOF
21769 #define wxUSE_TREELAYOUT 1
21772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
21775 if test "$wxUSE_DRAGIMAGE" = "yes"; then
21776 cat >> confdefs.h
<<\EOF
21777 #define wxUSE_DRAGIMAGE 1
21780 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
21783 if test "$wxUSE_MENUS" = "yes"; then
21784 cat >> confdefs.h
<<\EOF
21785 #define wxUSE_MENUS 1
21788 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
21791 if test "$wxUSE_METAFILE" = "yes"; then
21792 cat >> confdefs.h
<<\EOF
21793 #define wxUSE_METAFILE 1
21798 if test "$wxUSE_MIMETYPE" = "yes"; then
21799 cat >> confdefs.h
<<\EOF
21800 #define wxUSE_MIMETYPE 1
21805 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
21806 cat >> confdefs.h
<<\EOF
21807 #define wxUSE_SYSTEM_OPTIONS 1
21810 if test "$TOOLKIT" = "MSW"; then
21811 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
21816 if test "$wxUSE_PROTOCOL" = "yes"; then
21817 if test "$wxUSE_SOCKETS" != "yes"; then
21818 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
21822 if test "$wxUSE_PROTOCOL" = "yes"; then
21823 cat >> confdefs.h
<<\EOF
21824 #define wxUSE_PROTOCOL 1
21828 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
21829 cat >> confdefs.h
<<\EOF
21830 #define wxUSE_PROTOCOL_HTTP 1
21834 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
21835 cat >> confdefs.h
<<\EOF
21836 #define wxUSE_PROTOCOL_FTP 1
21840 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
21841 cat >> confdefs.h
<<\EOF
21842 #define wxUSE_PROTOCOL_FILE 1
21849 if test "$wxUSE_URL" = "yes"; then
21850 if test "$wxUSE_PROTOCOL" != "yes"; then
21851 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
21854 if test "$wxUSE_URL" = "yes"; then
21855 cat >> confdefs.h
<<\EOF
21856 #define wxUSE_URL 1
21862 if test "$wxUSE_MINIFRAME" = "yes"; then
21863 cat >> confdefs.h
<<\EOF
21864 #define wxUSE_MINIFRAME 1
21867 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
21870 if test "$wxUSE_HTML" = "yes"; then
21871 cat >> confdefs.h
<<\EOF
21872 #define wxUSE_HTML 1
21875 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
21878 if test "$wxUSE_VALIDATORS" = "yes"; then
21879 cat >> confdefs.h
<<\EOF
21880 #define wxUSE_VALIDATORS 1
21883 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
21886 if test "$wxUSE_PALETTE" = "yes" ; then
21887 cat >> confdefs.h
<<\EOF
21888 #define wxUSE_PALETTE 1
21893 if test "$wxUSE_IMAGE" = "yes" ; then
21894 cat >> confdefs.h
<<\EOF
21895 #define wxUSE_IMAGE 1
21900 if test "$wxUSE_GIF" = "yes" ; then
21901 cat >> confdefs.h
<<\EOF
21902 #define wxUSE_GIF 1
21907 if test "$wxUSE_PCX" = "yes" ; then
21908 cat >> confdefs.h
<<\EOF
21909 #define wxUSE_PCX 1
21914 if test "$wxUSE_IFF" = "yes" ; then
21915 cat >> confdefs.h
<<\EOF
21916 #define wxUSE_IFF 1
21921 if test "$wxUSE_PNM" = "yes" ; then
21922 cat >> confdefs.h
<<\EOF
21923 #define wxUSE_PNM 1
21928 if test "$wxUSE_XPM" = "yes" ; then
21929 cat >> confdefs.h
<<\EOF
21930 #define wxUSE_XPM 1
21935 if test "$wxUSE_ICO_CUR" = "yes" ; then
21936 cat >> confdefs.h
<<\EOF
21937 #define wxUSE_ICO_CUR 1
21942 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
21943 LIBS
=" -lunicows $LIBS"
21947 if test "$wxUSE_CHOICEDLG" = "yes"; then
21948 cat >> confdefs.h
<<\EOF
21949 #define wxUSE_CHOICEDLG 1
21954 if test "$wxUSE_COLOURDLG" = "yes"; then
21955 cat >> confdefs.h
<<\EOF
21956 #define wxUSE_COLOURDLG 1
21961 if test "$wxUSE_FILEDLG" = "yes"; then
21962 cat >> confdefs.h
<<\EOF
21963 #define wxUSE_FILEDLG 1
21968 if test "$wxUSE_FINDREPLDLG" = "yes"; then
21969 cat >> confdefs.h
<<\EOF
21970 #define wxUSE_FINDREPLDLG 1
21975 if test "$wxUSE_FONTDLG" = "yes"; then
21976 cat >> confdefs.h
<<\EOF
21977 #define wxUSE_FONTDLG 1
21982 if test "$wxUSE_DIRDLG" = "yes"; then
21983 if test "$wxUSE_TREECTRL" != "yes"; then
21984 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
21986 cat >> confdefs.h
<<\EOF
21987 #define wxUSE_DIRDLG 1
21993 if test "$wxUSE_MSGDLG" = "yes"; then
21994 cat >> confdefs.h
<<\EOF
21995 #define wxUSE_MSGDLG 1
22000 if test "$wxUSE_NUMBERDLG" = "yes"; then
22001 cat >> confdefs.h
<<\EOF
22002 #define wxUSE_NUMBERDLG 1
22007 if test "$wxUSE_PROGRESSDLG" = "yes"; then
22008 if test "$wxUSE_CONSTRAINTS" != "yes"; then
22009 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
22011 cat >> confdefs.h
<<\EOF
22012 #define wxUSE_PROGRESSDLG 1
22018 if test "$wxUSE_SPLASH" = "yes"; then
22019 cat >> confdefs.h
<<\EOF
22020 #define wxUSE_SPLASH 1
22025 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
22026 if test "$wxUSE_CONSTRAINTS" != "yes"; then
22027 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
22029 cat >> confdefs.h
<<\EOF
22030 #define wxUSE_STARTUP_TIPS 1
22036 if test "$wxUSE_TEXTDLG" = "yes"; then
22037 cat >> confdefs.h
<<\EOF
22038 #define wxUSE_TEXTDLG 1
22043 if test "$wxUSE_WIZARDDLG" = "yes"; then
22044 cat >> confdefs.h
<<\EOF
22045 #define wxUSE_WIZARDDLG 1
22048 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
22052 if test "$cross_compiling" = "yes"; then
22055 OSINFO
=`uname -s -r -m`
22056 OSINFO
="\"$OSINFO\""
22059 cat >> confdefs.h
<<EOF
22060 #define WXWIN_OS_DESCRIPTION $OSINFO
22065 if test "x$prefix" != "xNONE"; then
22068 wxPREFIX
=$ac_default_prefix
22071 cat >> confdefs.h
<<EOF
22072 #define wxINSTALL_PREFIX "$wxPREFIX"
22081 if test "$wxUSE_MAC" = 1 ; then
22082 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
22084 if test "$wxUSE_COCOA" = 1 ; then
22085 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
22089 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
22095 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22096 echo "configure:22097: checking for $ac_func" >&5
22097 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22098 echo $ac_n "(cached) $ac_c" 1>&6
22100 cat > conftest.
$ac_ext <<EOF
22101 #line 22102 "configure"
22102 #include "confdefs.h"
22103 /* System header to define __stub macros and hopefully few prototypes,
22104 which can conflict with char $ac_func(); below. */
22105 #include <assert.h>
22106 /* Override any gcc2 internal prototype to avoid an error. */
22107 /* We use char because int might match the return type of a gcc2
22108 builtin and then its argument prototype would still apply. */
22113 /* The GNU C library defines this for functions which it implements
22114 to always fail with ENOSYS. Some functions are actually named
22115 something starting with __ and the normal name is an alias. */
22116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22124 if { (eval echo configure
:22125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22126 eval "ac_cv_func_$ac_func=yes"
22128 echo "configure: failed program was:" >&5
22129 cat conftest.
$ac_ext >&5
22131 eval "ac_cv_func_$ac_func=no"
22136 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22137 echo "$ac_t""yes" 1>&6
22138 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22139 cat >> confdefs.h
<<EOF
22140 #define $ac_tr_func 1
22144 echo "$ac_t""no" 1>&6
22148 for ac_func
in floor
22150 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22151 echo "configure:22152: checking for $ac_func" >&5
22152 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22153 echo $ac_n "(cached) $ac_c" 1>&6
22155 cat > conftest.
$ac_ext <<EOF
22156 #line 22157 "configure"
22157 #include "confdefs.h"
22158 /* System header to define __stub macros and hopefully few prototypes,
22159 which can conflict with char $ac_func(); below. */
22160 #include <assert.h>
22161 /* Override any gcc2 internal prototype to avoid an error. */
22162 /* We use char because int might match the return type of a gcc2
22163 builtin and then its argument prototype would still apply. */
22168 /* The GNU C library defines this for functions which it implements
22169 to always fail with ENOSYS. Some functions are actually named
22170 something starting with __ and the normal name is an alias. */
22171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22179 if { (eval echo configure
:22180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22181 eval "ac_cv_func_$ac_func=yes"
22183 echo "configure: failed program was:" >&5
22184 cat conftest.
$ac_ext >&5
22186 eval "ac_cv_func_$ac_func=no"
22191 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22192 echo "$ac_t""yes" 1>&6
22193 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22194 cat >> confdefs.h
<<EOF
22195 #define $ac_tr_func 1
22199 echo "$ac_t""no" 1>&6
22203 echo $ac_n "checking if floating point functions link without -lm""... $ac_c" 1>&6
22204 echo "configure:22205: checking if floating point functions link without -lm" >&5
22205 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22206 echo "$ac_t""yes" 1>&6
22208 echo "$ac_t""no" 1>&6
22210 # use different functions to avoid configure caching
22215 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22216 echo "configure:22217: checking for $ac_func" >&5
22217 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22218 echo $ac_n "(cached) $ac_c" 1>&6
22220 cat > conftest.
$ac_ext <<EOF
22221 #line 22222 "configure"
22222 #include "confdefs.h"
22223 /* System header to define __stub macros and hopefully few prototypes,
22224 which can conflict with char $ac_func(); below. */
22225 #include <assert.h>
22226 /* Override any gcc2 internal prototype to avoid an error. */
22227 /* We use char because int might match the return type of a gcc2
22228 builtin and then its argument prototype would still apply. */
22233 /* The GNU C library defines this for functions which it implements
22234 to always fail with ENOSYS. Some functions are actually named
22235 something starting with __ and the normal name is an alias. */
22236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22244 if { (eval echo configure
:22245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22246 eval "ac_cv_func_$ac_func=yes"
22248 echo "configure: failed program was:" >&5
22249 cat conftest.
$ac_ext >&5
22251 eval "ac_cv_func_$ac_func=no"
22256 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22257 echo "$ac_t""yes" 1>&6
22258 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22259 cat >> confdefs.h
<<EOF
22260 #define $ac_tr_func 1
22264 echo "$ac_t""no" 1>&6
22268 for ac_func
in ceil
22270 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22271 echo "configure:22272: checking for $ac_func" >&5
22272 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22273 echo $ac_n "(cached) $ac_c" 1>&6
22275 cat > conftest.
$ac_ext <<EOF
22276 #line 22277 "configure"
22277 #include "confdefs.h"
22278 /* System header to define __stub macros and hopefully few prototypes,
22279 which can conflict with char $ac_func(); below. */
22280 #include <assert.h>
22281 /* Override any gcc2 internal prototype to avoid an error. */
22282 /* We use char because int might match the return type of a gcc2
22283 builtin and then its argument prototype would still apply. */
22288 /* The GNU C library defines this for functions which it implements
22289 to always fail with ENOSYS. Some functions are actually named
22290 something starting with __ and the normal name is an alias. */
22291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22299 if { (eval echo configure
:22300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22301 eval "ac_cv_func_$ac_func=yes"
22303 echo "configure: failed program was:" >&5
22304 cat conftest.
$ac_ext >&5
22306 eval "ac_cv_func_$ac_func=no"
22311 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22312 echo "$ac_t""yes" 1>&6
22313 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22314 cat >> confdefs.h
<<EOF
22315 #define $ac_tr_func 1
22319 echo "$ac_t""no" 1>&6
22323 echo $ac_n "checking if floating point functions link with -lm""... $ac_c" 1>&6
22324 echo "configure:22325: checking if floating point functions link with -lm" >&5
22325 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22326 echo "$ac_t""yes" 1>&6
22328 echo "$ac_t""no" 1>&6
22329 # not sure we should warn the user, crash, etc.
22333 if test "$wxUSE_GUI" = "yes"; then
22335 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
22338 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
22339 drawing dynamic erase event exec font image \
22340 minimal propsize rotate widgets"
22342 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
22344 SAMPLES_SUBDIRS
="console"
22348 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
22349 -I\${top_srcdir}/include \
22350 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
22353 if test "$wxUSE_GTK" = 1; then
22356 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
22359 if test "$GXX" = yes ; then
22360 CXXWARNINGS
="-Wall"
22362 if test "$wxUSE_NO_DEPS" = "no" ; then
22363 CFLAGS
="-MMD $CFLAGS"
22364 CXXFLAGS
="-MMD $CXXFLAGS"
22368 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
22370 CPPFLAGS
=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
22371 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
22372 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
22373 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
22375 LDFLAGS
="$LDFLAGS $PROFILE"
22377 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
22479 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
22480 echo "configure:22481: checking whether ${MAKE-make} sets \${MAKE}" >&5
22481 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
22482 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
22483 echo $ac_n "(cached) $ac_c" 1>&6
22485 cat > conftestmake
<<\EOF
22487 @
echo 'ac_maketemp="${MAKE}"'
22489 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22490 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
22491 if test -n "$ac_maketemp"; then
22492 eval ac_cv_prog_make_
${ac_make}_set
=yes
22494 eval ac_cv_prog_make_
${ac_make}_set
=no
22498 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
22499 echo "$ac_t""yes" 1>&6
22502 echo "$ac_t""no" 1>&6
22503 SET_MAKE
="MAKE=${MAKE-make}"
22507 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
22508 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
22513 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
22514 wx_cv_if_gnu_make
=$IF_GNU_MAKE
22515 wx_cv_path_ifs
=$PATH_IFS
22516 wx_cv_program_ext
=$PROGRAM_EXT
22517 wx_cv_target_library
=$WX_TARGET_LIBRARY
22518 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
22519 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
22520 wx_cv_library_basename
=${WX_LIBRARY_BASENAME}
22521 wx_cv_release
=${WX_RELEASE}
22522 wx_cv_current
=${WX_CURRENT}
22523 wx_cv_revision
=${WX_REVISION}
22524 wx_cv_age
=${WX_AGE}
22525 wx_cv_use_gui
=${USE_GUI}
22526 wx_cv_use_resources
=${wxUSE_RESOURCES}
22527 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
22528 wx_cv_path_ifs wx_cv_program_ext \
22529 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype \
22530 wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age \
22531 wx_cv_use_gui wx_cv_use_resources
22533 subdirs
="demos samples utils contrib"
22537 cat > confcache
<<\EOF
22538 # This file is a shell script that caches the results of configure
22539 # tests run on this system so they can be shared between configure
22540 # scripts and configure runs. It is not useful on other systems.
22541 # If it contains results you don't want to keep, you may remove or edit it.
22543 # By default, configure uses ./config.cache as the cache file,
22544 # creating it if it does not exist already. You can give configure
22545 # the --cache-file=FILE option to use a different cache file; that is
22546 # what configure does when it calls configure scripts in
22547 # subdirectories, so they share the cache.
22548 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22549 # config.status only pays attention to the cache file if you give it the
22550 # --recheck option to rerun configure.
22553 # The following way of writing the cache mishandles newlines in values,
22554 # but we know of no workaround that is simple, portable, and efficient.
22555 # So, don't put newlines in cache variables' values.
22556 # Ultrix sh set writes to stderr and can't be redirected directly,
22557 # and sets the high bit in the cache file unless we assign to the vars.
22559 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22561 # `set' does not quote correctly, so add quotes (double-quote substitution
22562 # turns \\\\ into \\, and sed turns \\ into \).
22564 -e "s/'/'\\\\''/g" \
22565 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22568 # `set' quotes correctly as required by POSIX, so do not add quotes.
22569 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22572 if cmp -s $cache_file confcache
; then
22575 if test -w $cache_file; then
22576 echo "updating cache $cache_file"
22577 cat confcache
> $cache_file
22579 echo "not updating unwritable cache $cache_file"
22584 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22586 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22587 # Let make expand exec_prefix.
22588 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22590 # Any assignment to VPATH causes Sun make to only execute
22591 # the first set of double-colon rules, so remove it if not needed.
22592 # If there is a colon in the path, we need to keep it.
22593 if test "x$srcdir" = x.
; then
22594 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
22597 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22599 DEFS
=-DHAVE_CONFIG_H
22601 # Without the "./", some shells look in PATH for config.status.
22602 : ${CONFIG_STATUS=./config.status}
22604 echo creating
$CONFIG_STATUS
22605 rm -f $CONFIG_STATUS
22606 cat > $CONFIG_STATUS <<EOF
22608 # Generated automatically by configure.
22609 # Run this file to recreate the current configuration.
22610 # This directory was configured as follows,
22611 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22613 # $0 $ac_configure_args
22615 # Compiler output produced by configure, useful for debugging
22616 # configure, is in ./config.log if it exists.
22618 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22621 case "\$ac_option" in
22622 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22623 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22624 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22625 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22626 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22628 -help | --help | --hel | --he | --h)
22629 echo "\$ac_cs_usage"; exit 0 ;;
22630 *) echo "\$ac_cs_usage"; exit 1 ;;
22634 ac_given_srcdir=$srcdir
22635 ac_given_INSTALL="$INSTALL"
22637 trap 'rm -fr `echo "
22644 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22646 cat >> $CONFIG_STATUS <<EOF
22648 # Protect against being on the right side of a sed subst in config.status.
22649 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22650 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22654 s%@CFLAGS@%$CFLAGS%g
22655 s%@CPPFLAGS@%$CPPFLAGS%g
22656 s%@CXXFLAGS@%$CXXFLAGS%g
22657 s%@FFLAGS@%$FFLAGS%g
22659 s%@LDFLAGS@%$LDFLAGS%g
22661 s%@exec_prefix@%$exec_prefix%g
22662 s%@prefix@%$prefix%g
22663 s%@program_transform_name@%$program_transform_name%g
22664 s%@bindir@%$bindir%g
22665 s%@sbindir@%$sbindir%g
22666 s%@libexecdir@%$libexecdir%g
22667 s%@datadir@%$datadir%g
22668 s%@sysconfdir@%$sysconfdir%g
22669 s%@sharedstatedir@%$sharedstatedir%g
22670 s%@localstatedir@%$localstatedir%g
22671 s%@libdir@%$libdir%g
22672 s%@includedir@%$includedir%g
22673 s%@oldincludedir@%$oldincludedir%g
22674 s%@infodir@%$infodir%g
22675 s%@mandir@%$mandir%g
22677 s%@host_alias@%$host_alias%g
22678 s%@host_cpu@%$host_cpu%g
22679 s%@host_vendor@%$host_vendor%g
22680 s%@host_os@%$host_os%g
22681 s%@target@%$target%g
22682 s%@target_alias@%$target_alias%g
22683 s%@target_cpu@%$target_cpu%g
22684 s%@target_vendor@%$target_vendor%g
22685 s%@target_os@%$target_os%g
22687 s%@build_alias@%$build_alias%g
22688 s%@build_cpu@%$build_cpu%g
22689 s%@build_vendor@%$build_vendor%g
22690 s%@build_os@%$build_os%g
22694 s%@RANLIB@%$RANLIB%g
22696 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22697 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22698 s%@INSTALL_DATA@%$INSTALL_DATA%g
22700 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
22703 s%@LEXLIB@%$LEXLIB%g
22705 s%@CXXCPP@%$CXXCPP%g
22706 s%@PKG_CONFIG@%$PKG_CONFIG%g
22707 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
22708 s%@GTK_LIBS@%$GTK_LIBS%g
22709 s%@GTK_CONFIG@%$GTK_CONFIG%g
22710 s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
22711 s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
22712 s%@X_CFLAGS@%$X_CFLAGS%g
22713 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
22714 s%@X_LIBS@%$X_LIBS%g
22715 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
22716 s%@PANGOX_CFLAGS@%$PANGOX_CFLAGS%g
22717 s%@PANGOX_LIBS@%$PANGOX_LIBS%g
22718 s%@PANGOXFT_CFLAGS@%$PANGOXFT_CFLAGS%g
22719 s%@PANGOXFT_LIBS@%$PANGOXFT_LIBS%g
22720 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
22721 s%@RESCOMP@%$RESCOMP%g
22723 s%@SETFILE@%$SETFILE%g
22724 s%@LIBICONV@%$LIBICONV%g
22725 s%@LEX_STEM@%$LEX_STEM%g
22726 s%@PATH_IFS@%$PATH_IFS%g
22727 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
22728 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
22729 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
22730 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
22731 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
22732 s%@WX_LIBRARY_BASENAME@%$WX_LIBRARY_BASENAME%g
22733 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
22734 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
22735 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
22736 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
22737 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
22738 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
22739 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
22740 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
22741 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
22742 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
22743 s%@WX_ALL@%$WX_ALL%g
22744 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
22745 s%@SHARED_LD@%$SHARED_LD%g
22746 s%@PIC_FLAG@%$PIC_FLAG%g
22747 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
22748 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
22749 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
22750 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
22751 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
22752 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
22753 s%@STATIC_FLAG@%$STATIC_FLAG%g
22754 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
22755 s%@USE_GUI@%$USE_GUI%g
22756 s%@AFMINSTALL@%$AFMINSTALL%g
22757 s%@WIN32INSTALL@%$WIN32INSTALL%g
22758 s%@TOOLKIT@%$TOOLKIT%g
22759 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
22760 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
22761 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
22762 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
22763 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
22764 s%@top_builddir@%$top_builddir%g
22765 s%@cross_compiling@%$cross_compiling%g
22766 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
22767 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
22768 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
22769 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
22770 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
22771 s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
22772 s%@WX_LARGEFILE_FLAGS@%$WX_LARGEFILE_FLAGS%g
22773 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
22774 s%@ALL_HEADERS@%$ALL_HEADERS%g
22775 s%@ALL_SOURCES@%$ALL_SOURCES%g
22776 s%@GUIDIST@%$GUIDIST%g
22777 s%@PORT_FILES@%$PORT_FILES%g
22778 s%@DISTDIR@%$DISTDIR%g
22779 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
22780 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
22781 s%@LDFLAGS_VERSIONING@%$LDFLAGS_VERSIONING%g
22782 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
22783 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
22784 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
22785 s%@EXTRADEFS@%$EXTRADEFS%g
22786 s%@WX_VERSION_TAG@%$WX_VERSION_TAG%g
22787 s%@RESFLAGS@%$RESFLAGS%g
22788 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
22789 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
22790 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
22791 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
22792 s%@LIBWXMACRES@%$LIBWXMACRES%g
22793 s%@MACRESCOMP@%$MACRESCOMP%g
22794 s%@MACSETFILE@%$MACSETFILE%g
22795 s%@MACRESWXCONFIG@%$MACRESWXCONFIG%g
22797 s%@DLLTOOL@%$DLLTOOL%g
22801 s%@MAKEINFO@%$MAKEINFO%g
22802 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
22803 s%@INSTALL_DIR@%$INSTALL_DIR%g
22804 s%@SET_MAKE@%$SET_MAKE%g
22805 s%@subdirs@%$subdirs%g
22810 cat >> $CONFIG_STATUS <<\EOF
22812 # Split the substitutions into bite-sized pieces for seds with
22813 # small command number limits, like on Digital OSF/1 and HP-UX.
22814 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
22815 ac_file
=1 # Number of current file.
22816 ac_beg
=1 # First line for current file.
22817 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
22820 while $ac_more_lines; do
22821 if test $ac_beg -gt 1; then
22822 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
22824 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
22826 if test ! -s conftest.s
$ac_file; then
22827 ac_more_lines
=false
22828 rm -f conftest.s
$ac_file
22830 if test -z "$ac_sed_cmds"; then
22831 ac_sed_cmds
="sed -f conftest.s$ac_file"
22833 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
22835 ac_file
=`expr $ac_file + 1`
22837 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
22840 if test -z "$ac_sed_cmds"; then
22845 cat >> $CONFIG_STATUS <<EOF
22847 CONFIG_FILES=\${CONFIG_FILES-"wx-config
22855 cat >> $CONFIG_STATUS <<\EOF
22856 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
22857 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22859 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22860 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22861 *) ac_file_in
="${ac_file}.in" ;;
22864 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22866 # Remove last slash and all that follows it. Not all systems have dirname.
22867 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22868 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
22869 # The file is in a subdirectory.
22870 test ! -d "$ac_dir" && mkdir "$ac_dir"
22871 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
22872 # A "../" for each directory in $ac_dir_suffix.
22873 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22875 ac_dir_suffix
= ac_dots
=
22878 case "$ac_given_srcdir" in
22880 if test -z "$ac_dots"; then top_srcdir
=.
22881 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22882 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
22883 *) # Relative path.
22884 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22885 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
22888 case "$ac_given_INSTALL" in
22889 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
22890 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
22893 echo creating
"$ac_file"
22895 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22897 *Makefile
*) ac_comsub
="1i\\
22898 # $configure_input" ;;
22902 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22904 s%@configure_input@%$configure_input%g
22905 s%@srcdir@%$srcdir%g
22906 s%@top_srcdir@%$top_srcdir%g
22907 s%@INSTALL@%$INSTALL%g
22908 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22912 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22913 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22915 # ac_d sets the value in "#define NAME VALUE" lines.
22916 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22917 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
22920 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22921 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22922 ac_uB
='\([ ]\)%\1#\2define\3'
22925 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22926 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22927 ac_eB
='$%\1#\2define\3'
22931 if test "${CONFIG_HEADERS+set}" != set; then
22933 cat >> $CONFIG_STATUS <<EOF
22934 CONFIG_HEADERS="setup.h:setup.h.in"
22936 cat >> $CONFIG_STATUS <<\EOF
22938 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
22939 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22941 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22942 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22943 *) ac_file_in
="${ac_file}.in" ;;
22946 echo creating
$ac_file
22948 rm -f conftest.frag conftest.
in conftest.out
22949 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22950 cat $ac_file_inputs > conftest.
in
22954 # Transform confdefs.h into a sed script conftest.vals that substitutes
22955 # the proper values into config.h.in to produce config.h. And first:
22956 # Protect against being on the right side of a sed subst in config.status.
22957 # Protect against being in an unquoted here document in config.status.
22958 rm -f conftest.vals
22959 cat > conftest.hdr
<<\EOF
22962 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22966 sed -n -f conftest.hdr confdefs.h > conftest.vals
22969 # This sed command replaces #undef with comments. This is necessary, for
22970 # example, in the case of _POSIX_SOURCE, which is predefined and required
22971 # on some systems where configure will not decide to define it.
22972 cat >> conftest.vals <<\EOF
22973 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22976 # Break up conftest.vals because some shells have a limit on
22977 # the size of here documents, and old seds have small limits too.
22979 rm -f conftest.tail
22982 ac_lines=`grep -c . conftest.vals
`
22983 # grep -c gives empty output for an empty file on some AIX systems.
22984 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22985 # Write a limited-size here document to conftest.frag.
22986 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22987 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22989 sed -f conftest.frag conftest.in > conftest.out
22991 mv conftest.out conftest.in
22992 ' >> $CONFIG_STATUS
22993 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22994 rm -f conftest.vals
22995 mv conftest.tail conftest.vals
22997 rm -f conftest.vals
22999 cat >> $CONFIG_STATUS <<\EOF
23000 rm -f conftest.frag conftest.h
23001 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
23002 cat conftest.in >> conftest.h
23004 if cmp -s $ac_file conftest.h 2>/dev/null; then
23005 echo "$ac_file is unchanged"
23008 # Remove last slash and all that follows it. Not all systems have dirname.
23009 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
23010 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
23011 # The file is in a subdirectory.
23012 test ! -d "$ac_dir" && mkdir "$ac_dir"
23015 mv conftest.h $ac_file
23020 cat >> $CONFIG_STATUS <<EOF
23022 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
23027 cat >> $CONFIG_STATUS <<\EOF
23029 if test ! -h wx-config; then
23031 mv wx-config wx${TOOLCHAIN_NAME}-config
23032 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
23035 if test ! -d lib; then
23038 if test ! -d lib/wx; then
23041 if test ! -d lib/wx/include; then
23042 mkdir lib/wx/include
23044 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
23045 mkdir lib/wx/include/${TOOLCHAIN_NAME}
23047 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
23048 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
23050 if test -f setup.h; then
23051 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
23056 chmod +x $CONFIG_STATUS
23057 rm -fr confdefs* $ac_clean_files
23058 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
23060 if test "$no_recursion" != yes; then
23062 # Remove --cache-file and --srcdir arguments so they do not pile up.
23063 ac_sub_configure_args=
23065 for ac_arg in $ac_configure_args; do
23066 if test -n "$ac_prev"; then
23071 -cache-file | --cache-file | --cache-fil | --cache-fi \
23072 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
23073 ac_prev=cache_file ;;
23074 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
23075 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
23077 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
23079 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
23081 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
23085 for ac_config_dir in demos samples utils contrib; do
23087 # Do not complain, so a configure script can configure whichever
23088 # parts of a large source tree are present.
23089 if test ! -d $srcdir/$ac_config_dir; then
23093 echo configuring in $ac_config_dir
23098 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
23100 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
23108 # A "../" for each directory in /$ac_config_dir.
23109 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
23112 .) # No --srcdir option. We are building in place.
23113 ac_sub_srcdir=$srcdir ;;
23114 /*) # Absolute path.
23115 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
23116 *) # Relative path.
23117 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
23120 # Check for guested configure; otherwise get Cygnus style configure.
23121 if test -f $ac_sub_srcdir/configure; then
23122 ac_sub_configure=$ac_sub_srcdir/configure
23123 elif test -f $ac_sub_srcdir/configure.in; then
23124 ac_sub_configure=$ac_configure
23126 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
23130 # The recursion is here.
23131 if test -n "$ac_sub_configure"; then
23133 # Make the cache file name correct relative to the subdirectory.
23134 case "$cache_file" in
23135 /*) ac_sub_cache_file=$cache_file ;;
23136 *) # Relative path.
23137 ac_sub_cache_file="$ac_dots$cache_file" ;;
23139 case "$ac_given_INSTALL" in
23140 [/$]*) INSTALL="$ac_given_INSTALL" ;;
23141 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
23144 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
23145 # The eval makes quoting arguments work.
23146 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
23149 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
23159 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
23161 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
23163 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
23164 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
23165 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
23167 echo " What level of wxWindows compatibility should be enabled?"
23168 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
23169 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
23170 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
23172 echo " Which libraries should wxWindows use?"
23173 echo " jpeg ${wxUSE_LIBJPEG-none}"
23174 echo " png ${wxUSE_LIBPNG-none}"
23175 echo " regex ${wxUSE_REGEX}"
23176 echo " tiff ${wxUSE_LIBTIFF-none}"
23177 echo " zlib ${wxUSE_ZLIB}"