3 # From configure.in Id: configure.in
6 # generated automatically by aclocal 1.7.2 -*- Autoconf -*-
8 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
9 # Free Software Foundation, Inc.
10 # This file is free software; the Free Software Foundation
11 # gives unlimited permission to copy and/or distribute it,
12 # with or without modifications, as long as this notice is preserved.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
16 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
75 # Configure paths for GTK+
76 # Owen Taylor 1997-2001
80 # Configure paths for GTK+
127 # Guess values for system-dependent variables and create Makefiles.
128 # Generated automatically using autoconf version 2.13
129 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
131 # This configure script is free software; the Free Software Foundation
132 # gives unlimited permission to copy, distribute and modify it.
136 ac_default_prefix
=/usr
/local
137 # Any additions from configure.in:
139 --enable-gui use GUI classes"
141 --enable-universal use wxWindows GUI controls instead of native ones"
145 --with-motif use Motif/Lesstif"
147 --with-mac use Mac OS X"
149 --with-cocoa use Cocoa"
151 --with-wine use Wine"
153 --with-msw use MS-Windows"
155 --with-pm use OS/2 Presentation Manager"
157 --with-mgl use SciTech MGL"
159 --with-microwin use MicroWindows"
163 --enable-nanox use NanoX"
165 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
167 --with-libpng use libpng (PNG image format)"
169 --with-libjpeg use libjpeg (JPEG file format)"
171 --with-libtiff use libtiff (TIFF file format)"
173 --with-opengl use OpenGL (or Mesa)"
175 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
177 --with-regex enable support for wxRegEx class"
179 --with-zlib use zlib for LZW compression"
181 --with-odbc use the IODBC and wxODBC classes"
183 --enable-shared create shared library code"
185 --enable-soname set the DT_SONAME field in ELF shared libraries"
187 --enable-optimise create optimised code"
189 --enable-debug same as debug_flag and debug_info"
191 --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)"
193 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
195 --enable-debug_info create code with debugging information"
197 --enable-debug_gdb create code with extra GDB debugging information"
199 --enable-debug_cntxt use wxDebugContext"
201 --enable-mem_tracing create code with memory tracing"
203 --enable-profile create code with profiling information"
205 --enable-no_rtti create code without RTTI information"
207 --enable-no_exceptions create code without C++ exceptions handling"
209 --enable-permissive compile code disregarding strict ANSI"
211 --enable-no_deps create code without dependency information"
213 --enable-compat20 enable wxWindows 2.0 compatibility"
215 --enable-compat22 enable wxWindows 2.2 compatibility"
217 --disable-compat24 disable wxWindows 2.4 compatibility"
219 --enable-rpath=DIR output the rpath flag from wx-config"
221 --enable-intl use internationalization system"
223 --enable-config use wxConfig (and derived) classes"
225 --enable-protocols use wxProtocol and derived classes"
227 --enable-ftp use wxFTP (requires wxProtocol"
229 --enable-http use wxHTTP (requires wxProtocol"
231 --enable-fileproto use wxFileProto class (requires wxProtocol"
233 --enable-sockets use socket/network classes"
235 --enable-ole use OLE classes"
237 --enable-dataobj use data object classes"
239 --enable-ipc use interprocess communication (wxSocket etc.)"
241 --enable-cmdline use wxCmdLineParser class"
243 --enable-datetime use wxDateTime class"
245 --enable-stopwatch use wxStopWatch class"
247 --enable-dialupman use dialup network classes"
249 --enable-apple_ieee use the Apple IEEE codec"
251 --enable-timer use wxTimer class"
253 --enable-wave use wxWave class"
255 --enable-fraction use wxFraction class"
257 --enable-dynlib use wxLibrary class for DLL loading"
259 --enable-dynamicloader use (new) wxDynamicLibrary class"
261 --enable-longlong use wxLongLong class"
263 --enable-geometry use geometry class"
265 --enable-log use logging system"
267 --enable-streams use wxStream etc classes"
269 --enable-file use wxFile classes"
271 --enable-ffile use wxFFile classes"
273 --enable-textbuf use wxTextBuffer class"
275 --enable-textfile use wxTextFile class"
277 --enable-fontmap use font encodings conversion classes"
279 --enable-unicode compile wxString with Unicode support"
281 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
283 --enable-wxprintfv use wxWindows implementation of vprintf()"
285 --enable-std_iostreams use standard C++ stream classes"
287 --enable-filesystem use virtual file systems classes"
289 --enable-fs_inet use virtual HTTP/FTP filesystems"
291 --enable-fs_zip use virtual ZIP filesystems"
293 --enable-zipstream use wxZipInputStream"
295 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
297 --enable-snglinst use wxSingleInstanceChecker class"
299 --enable-mimetype use wxMimeTypesManager"
301 --enable-sysoptions use wxSystemOptions"
303 --enable-url use wxURL class"
305 --enable-protocol use wxProtocol class"
307 --enable-protocol-http HTTP support in wxProtocol"
309 --enable-protocol-ftp FTP support in wxProtocol"
311 --enable-protocol-file FILE support in wxProtocol"
313 --enable-threads use threads"
315 --enable-docview use document view architecture"
317 --enable-help use help subsystem"
319 --enable-mshtmlhelp use MS HTML Help (win32)"
321 --enable-html use wxHTML sub-library"
323 --enable-htmlhelp use wxHTML-based help"
325 --enable-constraints use layout-constraints system"
327 --enable-printarch use printing architecture"
329 --enable-mdi use multiple document interface architecture"
331 --enable-loggui use standard GUI logger"
333 --enable-logwin use wxLogWindow"
335 --enable-logdialog use wxLogDialog"
337 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
339 --enable-prologio not available; see contrib"
341 --enable-resources not available; see contrib"
343 --enable-clipboard use wxClipboard class"
345 --enable-dnd use Drag'n'Drop classes"
347 --enable-metafile use win32 metafiles"
349 --enable-controls use all usual controls"
351 --enable-accel use accelerators"
353 --enable-button use wxButton class"
355 --enable-bmpbutton use wxBitmapButton class"
357 --enable-calendar use wxCalendarCtrl class"
359 --enable-caret use wxCaret class"
361 --enable-checkbox use wxCheckBox class"
363 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
365 --enable-choice use wxChoice class"
367 --enable-combobox use wxComboBox class"
369 --enable-display use wxDisplay class"
371 --enable-gauge use wxGauge class"
373 --enable-grid use wxGrid class"
375 --enable-imaglist use wxImageList class"
377 --enable-listbox use wxListBox class"
379 --enable-listctrl use wxListCtrl class"
381 --enable-notebook use wxNotebook class"
383 --enable-radiobox use wxRadioBox class"
385 --enable-radiobtn use wxRadioButton class"
387 --enable-sash use wxSashWindow class"
389 --enable-scrollbar use wxScrollBar class and scrollable windows"
391 --enable-slider use wxSlider class"
393 --enable-spinbtn use wxSpinButton class"
395 --enable-spinctrl use wxSpinCtrl class"
397 --enable-splitter use wxSplitterWindow class"
399 --enable-statbmp use wxStaticBitmap class"
401 --enable-statbox use wxStaticBox class"
403 --enable-statline use wxStaticLine class"
405 --enable-stattext use wxStaticText class"
407 --enable-statusbar use wxStatusBar class"
409 --enable-tabdialog use wxTabControl class"
411 --enable-textctrl use wxTextCtrl class"
413 --enable-togglebtn use wxToggleButton class"
415 --enable-toolbar use wxToolBar class"
417 --enable-tbarnative use native wxToolBar class"
419 --enable-tbarsmpl use wxToolBarSimple class"
421 --enable-treectrl use wxTreeCtrl class"
423 --enable-tipwindow use wxTipWindow class"
425 --enable-popupwin use wxPopUpWindow class"
427 --enable-commondlg use all common dialogs"
429 --enable-choicedlg use wxChoiceDialog"
431 --enable-coldlg use wxColourDialog"
433 --enable-filedlg use wxFileDialog"
435 --enable-finddlg use wxFindReplaceDialog"
437 --enable-fontdlg use wxFontDialog"
439 --enable-dirdlg use wxDirDialog"
441 --enable-msgdlg use wxMessageDialog"
443 --enable-numberdlg use wxNumberEntryDialog"
445 --enable-splash use wxSplashScreen"
447 --enable-textdlg use wxTextDialog"
449 --enable-tipdlg use startup tips"
451 --enable-progressdlg use wxProgressDialog"
453 --enable-wizarddlg use wxWizard"
455 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
457 --enable-miniframe use wxMiniFrame class"
459 --enable-tooltips use wxToolTip class"
461 --enable-splines use spline drawing code"
463 --enable-validators use wxValidator and derived classes"
465 --enable-busyinfo use wxBusyInfo"
467 --enable-joystick use wxJoystick (Linux only)"
469 --enable-metafiles use wxMetaFile (Windows only)"
471 --enable-dragimage use wxDragImage"
473 --enable-accessibility enable accessibility support"
475 --enable-palette use wxPalette class"
477 --enable-image use wxImage class"
479 --enable-gif use gif images (GIF file format)"
481 --enable-pcx use pcx images (PCX file format)"
483 --enable-iff use iff images (IFF file format)"
485 --enable-pnm use pnm images (PNM file format)"
487 --enable-xpm use xpm images (XPM file format)"
489 --enable-icocur use Windows ICO and CUR formats"
491 --disable-largefile omit support for large files"
493 --disable-gtktest do not try to compile and run a test GTK+ program"
495 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
497 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
499 --disable-gtktest Do not try to compile and run a test GTK program"
501 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
503 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
505 --disable-gtktest Do not try to compile and run a test GTK program"
507 --with-x use the X Window System"
509 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
511 # Initialize some variables set by options.
512 # The variables have the same names as the options, with
513 # dashes changed to underlines.
515 cache_file
=.
/config.cache
524 program_transform_name
=s
,x
,x
,
532 bindir
='${exec_prefix}/bin'
533 sbindir
='${exec_prefix}/sbin'
534 libexecdir
='${exec_prefix}/libexec'
535 datadir
='${prefix}/share'
536 sysconfdir
='${prefix}/etc'
537 sharedstatedir
='${prefix}/com'
538 localstatedir
='${prefix}/var'
539 libdir
='${exec_prefix}/lib'
540 includedir
='${prefix}/include'
541 oldincludedir
='/usr/include'
542 infodir
='${prefix}/info'
543 mandir
='${prefix}/man'
545 # Initialize some other variables.
548 SHELL
=${CONFIG_SHELL-/bin/sh}
549 # Maximum number of lines to put in a shell here document.
556 # If the previous option needs an argument, assign it.
557 if test -n "$ac_prev"; then
558 eval "$ac_prev=\$ac_option"
564 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
568 # Accept the important Cygnus configure options, so we can diagnose typos.
572 -bindir | --bindir | --bindi | --bind | --bin | --bi)
574 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
575 bindir
="$ac_optarg" ;;
577 -build | --build | --buil | --bui | --bu)
579 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
580 build
="$ac_optarg" ;;
582 -cache-file | --cache-file | --cache-fil | --cache-fi \
583 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
584 ac_prev
=cache_file
;;
585 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
586 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
587 cache_file
="$ac_optarg" ;;
589 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
591 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
593 datadir
="$ac_optarg" ;;
595 -disable-* | --disable-*)
596 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
597 # Reject names that are not valid shell variable names.
598 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
599 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
601 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
602 eval "enable_${ac_feature}=no" ;;
604 -enable-* | --enable-*)
605 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
606 # Reject names that are not valid shell variable names.
607 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
608 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
610 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
615 eval "enable_${ac_feature}='$ac_optarg'" ;;
617 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
618 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
619 | --exec | --exe | --ex)
620 ac_prev
=exec_prefix
;;
621 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
622 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
623 | --exec=* | --exe=* | --ex=*)
624 exec_prefix
="$ac_optarg" ;;
626 -gas | --gas | --ga | --g)
627 # Obsolete; use --with-gas.
630 -help | --help | --hel | --he)
631 # Omit some internal or obsolete options to make the list less imposing.
632 # This message is too long to be a string in the A/UX 3.1 sh.
634 Usage: configure [options] [host]
635 Options: [defaults in brackets after descriptions]
637 --cache-file=FILE cache test results in FILE
638 --help print this message
639 --no-create do not create output files
640 --quiet, --silent do not print \`checking...' messages
641 --version print the version of autoconf that created configure
642 Directory and file names:
643 --prefix=PREFIX install architecture-independent files in PREFIX
645 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
647 --bindir=DIR user executables in DIR [EPREFIX/bin]
648 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
649 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
650 --datadir=DIR read-only architecture-independent data in DIR
652 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
653 --sharedstatedir=DIR modifiable architecture-independent data in DIR
655 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
656 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
657 --includedir=DIR C header files in DIR [PREFIX/include]
658 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
659 --infodir=DIR info documentation in DIR [PREFIX/info]
660 --mandir=DIR man documentation in DIR [PREFIX/man]
661 --srcdir=DIR find the sources in DIR [configure dir or ..]
662 --program-prefix=PREFIX prepend PREFIX to installed program names
663 --program-suffix=SUFFIX append SUFFIX to installed program names
664 --program-transform-name=PROGRAM
665 run sed PROGRAM on installed program names
669 --build=BUILD configure for building on BUILD [BUILD=HOST]
670 --host=HOST configure for HOST [guessed]
671 --target=TARGET configure for TARGET [TARGET=HOST]
672 Features and packages:
673 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
674 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
675 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
676 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
677 --x-includes=DIR X include files are in DIR
678 --x-libraries=DIR X library files are in DIR
680 if test -n "$ac_help"; then
681 echo "--enable and --with options recognized:$ac_help"
685 -host | --host | --hos | --ho)
687 -host=* | --host=* | --hos=* | --ho=*)
690 -includedir | --includedir | --includedi | --included | --include \
691 | --includ | --inclu | --incl | --inc)
692 ac_prev
=includedir
;;
693 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
694 | --includ=* | --inclu=* | --incl=* | --inc=*)
695 includedir
="$ac_optarg" ;;
697 -infodir | --infodir | --infodi | --infod | --info | --inf)
699 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
700 infodir
="$ac_optarg" ;;
702 -libdir | --libdir | --libdi | --libd)
704 -libdir=* | --libdir=* | --libdi=* | --libd=*)
705 libdir
="$ac_optarg" ;;
707 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
708 | --libexe | --libex | --libe)
709 ac_prev
=libexecdir
;;
710 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
711 | --libexe=* | --libex=* | --libe=*)
712 libexecdir
="$ac_optarg" ;;
714 -localstatedir | --localstatedir | --localstatedi | --localstated \
715 | --localstate | --localstat | --localsta | --localst \
716 | --locals | --local | --loca | --loc | --lo)
717 ac_prev
=localstatedir
;;
718 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
719 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
720 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
721 localstatedir
="$ac_optarg" ;;
723 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
725 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
726 mandir
="$ac_optarg" ;;
729 # Obsolete; use --without-fp.
732 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
736 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
737 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
740 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
741 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
742 | --oldin | --oldi | --old | --ol | --o)
743 ac_prev
=oldincludedir
;;
744 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
745 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
746 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
747 oldincludedir
="$ac_optarg" ;;
749 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
751 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
752 prefix
="$ac_optarg" ;;
754 -program-prefix | --program-prefix | --program-prefi | --program-pref \
755 | --program-pre | --program-pr | --program-p)
756 ac_prev
=program_prefix
;;
757 -program-prefix=* | --program-prefix=* | --program-prefi=* \
758 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
759 program_prefix
="$ac_optarg" ;;
761 -program-suffix | --program-suffix | --program-suffi | --program-suff \
762 | --program-suf | --program-su | --program-s)
763 ac_prev
=program_suffix
;;
764 -program-suffix=* | --program-suffix=* | --program-suffi=* \
765 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
766 program_suffix
="$ac_optarg" ;;
768 -program-transform-name | --program-transform-name \
769 | --program-transform-nam | --program-transform-na \
770 | --program-transform-n | --program-transform- \
771 | --program-transform | --program-transfor \
772 | --program-transfo | --program-transf \
773 | --program-trans | --program-tran \
774 | --progr-tra | --program-tr | --program-t)
775 ac_prev
=program_transform_name
;;
776 -program-transform-name=* | --program-transform-name=* \
777 | --program-transform-nam=* | --program-transform-na=* \
778 | --program-transform-n=* | --program-transform-=* \
779 | --program-transform=* | --program-transfor=* \
780 | --program-transfo=* | --program-transf=* \
781 | --program-trans=* | --program-tran=* \
782 | --progr-tra=* | --program-tr=* | --program-t=*)
783 program_transform_name
="$ac_optarg" ;;
785 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
786 | -silent | --silent | --silen | --sile | --sil)
789 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
791 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
793 sbindir
="$ac_optarg" ;;
795 -sharedstatedir | --sharedstatedir | --sharedstatedi \
796 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
797 | --sharedst | --shareds | --shared | --share | --shar \
799 ac_prev
=sharedstatedir
;;
800 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
801 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
802 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
804 sharedstatedir
="$ac_optarg" ;;
806 -site | --site | --sit)
808 -site=* | --site=* | --sit=*)
811 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
813 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
814 srcdir
="$ac_optarg" ;;
816 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
817 | --syscon | --sysco | --sysc | --sys | --sy)
818 ac_prev
=sysconfdir
;;
819 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
820 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
821 sysconfdir
="$ac_optarg" ;;
823 -target | --target | --targe | --targ | --tar | --ta | --t)
825 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
826 target
="$ac_optarg" ;;
828 -v | -verbose | --verbose | --verbos | --verbo | --verb)
831 -version | --version | --versio | --versi | --vers)
832 echo "configure generated by autoconf version 2.13"
836 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
837 # Reject names that are not valid shell variable names.
838 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
839 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
841 ac_package
=`echo $ac_package| sed 's/-/_/g'`
846 eval "with_${ac_package}='$ac_optarg'" ;;
848 -without-* | --without-*)
849 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
850 # Reject names that are not valid shell variable names.
851 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
852 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
854 ac_package
=`echo $ac_package| sed 's/-/_/g'`
855 eval "with_${ac_package}=no" ;;
858 # Obsolete; use --with-x.
861 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
862 | --x-incl | --x-inc | --x-in | --x-i)
863 ac_prev
=x_includes
;;
864 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
865 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
866 x_includes
="$ac_optarg" ;;
868 -x-libraries | --x-libraries | --x-librarie | --x-librari \
869 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
870 ac_prev
=x_libraries
;;
871 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
872 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
873 x_libraries
="$ac_optarg" ;;
875 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
879 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
880 echo "configure: warning: $ac_option: invalid host type" 1>&2
882 if test "x$nonopt" != xNONE
; then
883 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
891 if test -n "$ac_prev"; then
892 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
895 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
897 # File descriptor usage:
900 # 2 errors and warnings
901 # 3 some systems may open it to /dev/tty
902 # 4 used on the Kubota Titan
903 # 6 checking for... messages and results
904 # 5 compiler messages saved in config.log
905 if test "$silent" = yes; then
913 This file contains any messages produced by compilers while
914 running configure, to aid debugging if configure makes a mistake.
917 # Strip out --no-create and --no-recursion so they do not pile up.
918 # Also quote any args containing shell metacharacters.
923 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
924 | --no-cr | --no-c) ;;
925 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
926 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
927 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
928 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
929 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
934 # Only set these to C if already set. These must not be set unconditionally
935 # because not all systems understand e.g. LANG=C (notably SCO).
936 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
937 # Non-C LC_CTYPE values break the ctype check.
938 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
939 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
940 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
941 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
943 # confdefs.h avoids OS command line length limits that DEFS can exceed.
944 rm -rf conftest
* confdefs.h
945 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
948 # A filename unique to this package, relative to the directory that
949 # configure is in, which we can look for to find out if srcdir is correct.
950 ac_unique_file
=wx
-config.
in
952 # Find the source files, if location was not specified.
953 if test -z "$srcdir"; then
954 ac_srcdir_defaulted
=yes
955 # Try the directory containing this script, then its parent.
957 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
958 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
960 if test ! -r $srcdir/$ac_unique_file; then
964 ac_srcdir_defaulted
=no
966 if test ! -r $srcdir/$ac_unique_file; then
967 if test "$ac_srcdir_defaulted" = yes; then
968 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
970 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
973 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
975 # Prefer explicitly selected file to automatically selected ones.
976 if test -z "$CONFIG_SITE"; then
977 if test "x$prefix" != xNONE
; then
978 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
980 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
983 for ac_site_file
in $CONFIG_SITE; do
984 if test -r "$ac_site_file"; then
985 echo "loading site script $ac_site_file"
990 if test -r "$cache_file"; then
991 echo "loading cache $cache_file"
994 echo "creating cache $cache_file"
999 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1000 ac_cpp
='$CPP $CPPFLAGS'
1001 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1002 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1003 cross_compiling
=$ac_cv_prog_cc_cross
1007 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
1008 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
1009 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
1016 ac_n
= ac_c
='\c' ac_t
=
1022 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1023 if test -f $ac_dir/install-sh; then
1025 ac_install_sh
="$ac_aux_dir/install-sh -c"
1027 elif test -f $ac_dir/install.sh
; then
1029 ac_install_sh
="$ac_aux_dir/install.sh -c"
1033 if test -z "$ac_aux_dir"; then
1034 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1036 ac_config_guess
=$ac_aux_dir/config.guess
1037 ac_config_sub
=$ac_aux_dir/config.sub
1038 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
1041 # Do some error checking and defaulting for the host and target type.
1043 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
1046 # 1. You are not allowed to specify --host, --target, and nonopt at the
1048 # 2. Host defaults to nonopt.
1049 # 3. If nonopt is not specified, then host defaults to the current host,
1050 # as determined by config.guess.
1051 # 4. Target and build default to nonopt.
1052 # 5. If nonopt is not specified, then target and build default to host.
1054 # The aliases save the names the user supplied, while $host etc.
1055 # will get canonicalized.
1056 case $host---$target---$nonopt in
1057 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
1058 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1062 # Make sure we can run config.sub.
1063 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1064 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1067 echo $ac_n "checking host system type""... $ac_c" 1>&6
1068 echo "configure:1069: checking host system type" >&5
1071 case "$host_alias" in
1075 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1076 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1078 *) host_alias
=$nonopt ;;
1082 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1083 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1084 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1085 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1086 echo "$ac_t""$host" 1>&6
1088 echo $ac_n "checking target system type""... $ac_c" 1>&6
1089 echo "configure:1090: checking target system type" >&5
1091 target_alias
=$target
1092 case "$target_alias" in
1095 NONE
) target_alias
=$host_alias ;;
1096 *) target_alias
=$nonopt ;;
1100 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1101 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1102 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1103 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1104 echo "$ac_t""$target" 1>&6
1106 echo $ac_n "checking build system type""... $ac_c" 1>&6
1107 echo "configure:1108: checking build system type" >&5
1110 case "$build_alias" in
1113 NONE
) build_alias
=$host_alias ;;
1114 *) build_alias
=$nonopt ;;
1118 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1119 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1120 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1121 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1122 echo "$ac_t""$build" 1>&6
1124 test "$host_alias" != "$target_alias" &&
1125 test "$program_prefix$program_suffix$program_transform_name" = \
1127 program_prefix
=${target_alias}-
1131 WX_MAJOR_VERSION_NUMBER
=2
1132 WX_MINOR_VERSION_NUMBER
=5
1135 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1136 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1138 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1153 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1159 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1165 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1167 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1169 DEFAULT_wxUSE_COCOA
=0
1173 DEFAULT_wxUSE_MICROWIN
=0
1174 DEFAULT_wxUSE_MOTIF
=0
1179 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1180 DEFAULT_DEFAULT_wxUSE_GTK
=0
1181 DEFAULT_DEFAULT_wxUSE_MAC
=0
1182 DEFAULT_DEFAULT_wxUSE_MGL
=0
1183 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1184 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1185 DEFAULT_DEFAULT_wxUSE_MSW
=0
1186 DEFAULT_DEFAULT_wxUSE_PM
=0
1187 DEFAULT_DEFAULT_wxUSE_X11
=0
1196 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1197 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1199 cat >> confdefs.h
<<\EOF
1206 cat >> confdefs.h
<<\EOF
1211 if test "x$TMP" = "xalpha"; then
1213 cat >> confdefs.h
<<\EOF
1218 DEFAULT_DEFAULT_wxUSE_GTK
=1
1222 cat >> confdefs.h
<<\EOF
1227 if test "x$TMP" = "xalpha"; then
1229 cat >> confdefs.h
<<\EOF
1234 DEFAULT_DEFAULT_wxUSE_GTK
=1
1236 *-*-irix5* | *-*-irix6* )
1239 cat >> confdefs.h
<<\EOF
1243 cat >> confdefs.h
<<\EOF
1247 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1253 cat >> confdefs.h
<<\EOF
1257 cat >> confdefs.h
<<\EOF
1258 #define __SOLARIS__ 1
1261 cat >> confdefs.h
<<\EOF
1265 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1266 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1272 cat >> confdefs.h
<<\EOF
1276 cat >> confdefs.h
<<\EOF
1280 cat >> confdefs.h
<<\EOF
1284 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1289 cat >> confdefs.h
<<\EOF
1290 #define __FREEBSD__ 1
1293 cat >> confdefs.h
<<\EOF
1297 DEFAULT_DEFAULT_wxUSE_GTK
=1
1302 cat >> confdefs.h
<<\EOF
1303 #define __OPENBSD__ 1
1306 cat >> confdefs.h
<<\EOF
1310 DEFAULT_DEFAULT_wxUSE_GTK
=1
1315 cat >> confdefs.h
<<\EOF
1316 #define __NETBSD__ 1
1319 cat >> confdefs.h
<<\EOF
1323 DEFAULT_DEFAULT_wxUSE_GTK
=1
1328 cat >> confdefs.h
<<\EOF
1332 cat >> confdefs.h
<<\EOF
1336 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1337 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1342 cat >> confdefs.h
<<\EOF
1346 cat >> confdefs.h
<<\EOF
1350 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1355 cat >> confdefs.h
<<\EOF
1359 cat >> confdefs.h
<<\EOF
1363 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1370 cat >> confdefs.h
<<\EOF
1374 cat >> confdefs.h
<<\EOF
1378 cat >> confdefs.h
<<\EOF
1382 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1389 cat >> confdefs.h
<<\EOF
1390 #define __UNIXWARE__ 1
1395 *-*-cygwin* | *-*-mingw32* )
1399 DEFAULT_DEFAULT_wxUSE_MSW
=1
1405 cat >> confdefs.h
<<\EOF
1410 DEFAULT_DEFAULT_wxUSE_MGL
=1
1411 LIBS
="$LIBS -lstdc++"
1414 *-pc-os2_emx | *-pc-os2-emx )
1415 cat >> confdefs.h
<<\EOF
1420 DEFAULT_DEFAULT_wxUSE_PM
=1
1427 cat >> confdefs.h
<<\EOF
1431 cat >> confdefs.h
<<\EOF
1432 #define __DARWIN__ 1
1435 cat >> confdefs.h
<<\EOF
1436 #define __POWERPC__ 1
1439 cat >> confdefs.h
<<\EOF
1440 #define TARGET_CARBON 1
1443 DEFAULT_DEFAULT_wxUSE_MAC
=1
1448 cat >> confdefs.h
<<\EOF
1455 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1461 wx_arg_cache_file
="configarg.cache"
1462 echo "loading argument cache $wx_arg_cache_file"
1463 rm -f ${wx_arg_cache_file}.tmp
1464 touch ${wx_arg_cache_file}.tmp
1465 touch ${wx_arg_cache_file}
1469 if test $DEBUG_CONFIGURE = 1; then
1470 DEFAULT_wxUSE_UNIVERSAL
=no
1472 DEFAULT_wxUSE_NANOX
=no
1474 DEFAULT_wxUSE_THREADS
=yes
1476 DEFAULT_wxUSE_SHARED
=yes
1477 DEFAULT_wxUSE_SONAME
=no
1478 DEFAULT_wxUSE_OPTIMISE
=no
1479 DEFAULT_wxUSE_PROFILE
=no
1480 DEFAULT_wxUSE_NO_DEPS
=no
1481 DEFAULT_wxUSE_NO_RTTI
=no
1482 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1483 DEFAULT_wxUSE_PERMISSIVE
=no
1484 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1485 DEFAULT_wxUSE_DEBUG_INFO
=yes
1486 DEFAULT_wxUSE_DEBUG_GDB
=yes
1487 DEFAULT_wxUSE_MEM_TRACING
=no
1488 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1489 DEFAULT_wxUSE_DMALLOC
=no
1490 DEFAULT_wxUSE_PRECOMP
=no
1491 DEFAULT_wxUSE_APPLE_IEEE
=no
1493 DEFAULT_wxUSE_LOG
=yes
1494 DEFAULT_wxUSE_LOGWINDOW
=no
1495 DEFAULT_wxUSE_LOGGUI
=no
1496 DEFAULT_wxUSE_LOGDIALOG
=no
1498 DEFAULT_wxUSE_GUI
=yes
1499 DEFAULT_wxUSE_CONTROLS
=no
1501 DEFAULT_wxUSE_REGEX
=no
1502 DEFAULT_wxUSE_ZLIB
=no
1503 DEFAULT_wxUSE_LIBPNG
=no
1504 DEFAULT_wxUSE_LIBJPEG
=no
1505 DEFAULT_wxUSE_LIBTIFF
=no
1506 DEFAULT_wxUSE_ODBC
=no
1507 DEFAULT_wxUSE_OPENGL
=no
1509 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1510 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1511 DEFAULT_wxUSE_STD_IOSTREAM
=no
1512 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1513 DEFAULT_wxUSE_DATETIME
=no
1514 DEFAULT_wxUSE_TIMER
=no
1515 DEFAULT_wxUSE_STOPWATCH
=no
1516 DEFAULT_wxUSE_FILE
=no
1517 DEFAULT_wxUSE_FFILE
=no
1518 DEFAULT_wxUSE_TEXTBUFFER
=no
1519 DEFAULT_wxUSE_TEXTFILE
=no
1520 DEFAULT_wxUSE_WAVE
=no
1521 DEFAULT_wxUSE_INTL
=no
1522 DEFAULT_wxUSE_CONFIG
=no
1523 DEFAULT_wxUSE_FONTMAP
=no
1524 DEFAULT_wxUSE_STREAMS
=no
1525 DEFAULT_wxUSE_SOCKETS
=no
1526 DEFAULT_wxUSE_OLE
=no
1527 DEFAULT_wxUSE_DATAOBJ
=no
1528 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1529 DEFAULT_wxUSE_JOYSTICK
=no
1530 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1531 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1532 DEFAULT_wxUSE_LONGLONG
=no
1533 DEFAULT_wxUSE_GEOMETRY
=no
1535 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1536 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1537 DEFAULT_wxUSE_POSTSCRIPT
=no
1539 DEFAULT_wxUSE_CLIPBOARD
=no
1540 DEFAULT_wxUSE_TOOLTIPS
=no
1541 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1542 DEFAULT_wxUSE_DRAGIMAGE
=no
1543 DEFAULT_wxUSE_SPLINES
=no
1545 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1546 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1547 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1549 DEFAULT_wxUSE_RESOURCES
=no
1550 DEFAULT_wxUSE_CONSTRAINTS
=no
1551 DEFAULT_wxUSE_IPC
=no
1552 DEFAULT_wxUSE_HELP
=no
1553 DEFAULT_wxUSE_MS_HTML_HELP
=no
1554 DEFAULT_wxUSE_WXHTML_HELP
=no
1555 DEFAULT_wxUSE_TREELAYOUT
=no
1556 DEFAULT_wxUSE_METAFILE
=no
1557 DEFAULT_wxUSE_MIMETYPE
=no
1558 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1559 DEFAULT_wxUSE_PROTOCOL
=no
1560 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1561 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1562 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1563 DEFAULT_wxUSE_URL
=no
1565 DEFAULT_wxUSE_COMMONDLGS
=no
1566 DEFAULT_wxUSE_CHOICEDLG
=no
1567 DEFAULT_wxUSE_COLOURDLG
=no
1568 DEFAULT_wxUSE_DIRDLG
=no
1569 DEFAULT_wxUSE_FILEDLG
=no
1570 DEFAULT_wxUSE_FINDREPLDLG
=no
1571 DEFAULT_wxUSE_FONTDLG
=no
1572 DEFAULT_wxUSE_MSGDLG
=no
1573 DEFAULT_wxUSE_NUMBERDLG
=no
1574 DEFAULT_wxUSE_TEXTDLG
=no
1575 DEFAULT_wxUSE_SPLASH
=no
1576 DEFAULT_wxUSE_STARTUP_TIPS
=no
1577 DEFAULT_wxUSE_PROGRESSDLG
=no
1578 DEFAULT_wxUSE_WIZARDDLG
=no
1580 DEFAULT_wxUSE_MENUS
=no
1581 DEFAULT_wxUSE_MINIFRAME
=no
1582 DEFAULT_wxUSE_HTML
=no
1583 DEFAULT_wxUSE_FILESYSTEM
=no
1584 DEFAULT_wxUSE_FS_INET
=no
1585 DEFAULT_wxUSE_FS_ZIP
=no
1586 DEFAULT_wxUSE_BUSYINFO
=no
1587 DEFAULT_wxUSE_ZIPSTREAM
=no
1588 DEFAULT_wxUSE_VALIDATORS
=no
1590 DEFAULT_wxUSE_ACCEL
=no
1591 DEFAULT_wxUSE_BUTTON
=no
1592 DEFAULT_wxUSE_BMPBUTTON
=no
1593 DEFAULT_wxUSE_CALCTRL
=no
1594 DEFAULT_wxUSE_CARET
=no
1595 DEFAULT_wxUSE_CHECKBOX
=no
1596 DEFAULT_wxUSE_CHECKLST
=no
1597 DEFAULT_wxUSE_CHOICE
=no
1598 DEFAULT_wxUSE_COMBOBOX
=no
1599 DEFAULT_wxUSE_DISPLAY
=no
1600 DEFAULT_wxUSE_GAUGE
=no
1601 DEFAULT_wxUSE_GRID
=no
1602 DEFAULT_wxUSE_IMAGLIST
=no
1603 DEFAULT_wxUSE_LISTBOX
=no
1604 DEFAULT_wxUSE_LISTCTRL
=no
1605 DEFAULT_wxUSE_NOTEBOOK
=no
1606 DEFAULT_wxUSE_RADIOBOX
=no
1607 DEFAULT_wxUSE_RADIOBTN
=no
1608 DEFAULT_wxUSE_SASH
=no
1609 DEFAULT_wxUSE_SCROLLBAR
=no
1610 DEFAULT_wxUSE_SLIDER
=no
1611 DEFAULT_wxUSE_SPINBTN
=no
1612 DEFAULT_wxUSE_SPINCTRL
=no
1613 DEFAULT_wxUSE_SPLITTER
=no
1614 DEFAULT_wxUSE_STATBMP
=no
1615 DEFAULT_wxUSE_STATBOX
=no
1616 DEFAULT_wxUSE_STATLINE
=no
1617 DEFAULT_wxUSE_STATTEXT
=no
1618 DEFAULT_wxUSE_STATUSBAR
=yes
1619 DEFAULT_wxUSE_TABDIALOG
=no
1620 DEFAULT_wxUSE_TEXTCTRL
=no
1621 DEFAULT_wxUSE_TOGGLEBTN
=no
1622 DEFAULT_wxUSE_TOOLBAR
=no
1623 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1624 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1625 DEFAULT_wxUSE_TREECTRL
=no
1626 DEFAULT_wxUSE_POPUPWIN
=no
1627 DEFAULT_wxUSE_TIPWINDOW
=no
1629 DEFAULT_wxUSE_UNICODE
=no
1630 DEFAULT_wxUSE_UNICODE_MSLU
=no
1631 DEFAULT_wxUSE_WCSRTOMBS
=no
1633 DEFAULT_wxUSE_PALETTE
=no
1634 DEFAULT_wxUSE_IMAGE
=no
1635 DEFAULT_wxUSE_GIF
=no
1636 DEFAULT_wxUSE_PCX
=no
1637 DEFAULT_wxUSE_PNM
=no
1638 DEFAULT_wxUSE_IFF
=no
1639 DEFAULT_wxUSE_XPM
=no
1640 DEFAULT_wxUSE_ICO_CUR
=no
1641 DEFAULT_wxUSE_ACCESSIBILITY
=no
1643 DEFAULT_wxUSE_UNIVERSAL
=no
1645 DEFAULT_wxUSE_NANOX
=no
1647 DEFAULT_wxUSE_THREADS
=yes
1649 DEFAULT_wxUSE_SHARED
=yes
1650 DEFAULT_wxUSE_SONAME
=no
1651 DEFAULT_wxUSE_OPTIMISE
=yes
1652 DEFAULT_wxUSE_PROFILE
=no
1653 DEFAULT_wxUSE_NO_DEPS
=no
1654 DEFAULT_wxUSE_NO_RTTI
=no
1655 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1656 DEFAULT_wxUSE_PERMISSIVE
=no
1657 DEFAULT_wxUSE_DEBUG_FLAG
=no
1658 DEFAULT_wxUSE_DEBUG_INFO
=no
1659 DEFAULT_wxUSE_DEBUG_GDB
=no
1660 DEFAULT_wxUSE_MEM_TRACING
=no
1661 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1662 DEFAULT_wxUSE_DMALLOC
=no
1663 DEFAULT_wxUSE_PRECOMP
=no
1664 DEFAULT_wxUSE_APPLE_IEEE
=yes
1666 DEFAULT_wxUSE_LOG
=yes
1667 DEFAULT_wxUSE_LOGWINDOW
=yes
1668 DEFAULT_wxUSE_LOGGUI
=yes
1669 DEFAULT_wxUSE_LOGDIALOG
=yes
1671 DEFAULT_wxUSE_GUI
=yes
1673 DEFAULT_wxUSE_REGEX
=yes
1674 DEFAULT_wxUSE_ZLIB
=yes
1675 DEFAULT_wxUSE_LIBPNG
=yes
1676 DEFAULT_wxUSE_LIBJPEG
=yes
1677 DEFAULT_wxUSE_LIBTIFF
=yes
1678 DEFAULT_wxUSE_ODBC
=no
1679 DEFAULT_wxUSE_OPENGL
=no
1681 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1682 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1683 DEFAULT_wxUSE_STD_IOSTREAM
=no
1684 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1685 DEFAULT_wxUSE_DATETIME
=yes
1686 DEFAULT_wxUSE_TIMER
=yes
1687 DEFAULT_wxUSE_STOPWATCH
=yes
1688 DEFAULT_wxUSE_FILE
=yes
1689 DEFAULT_wxUSE_FFILE
=yes
1690 DEFAULT_wxUSE_TEXTBUFFER
=yes
1691 DEFAULT_wxUSE_TEXTFILE
=yes
1692 DEFAULT_wxUSE_WAVE
=no
1693 DEFAULT_wxUSE_INTL
=yes
1694 DEFAULT_wxUSE_CONFIG
=yes
1695 DEFAULT_wxUSE_FONTMAP
=yes
1696 DEFAULT_wxUSE_STREAMS
=yes
1697 DEFAULT_wxUSE_SOCKETS
=yes
1698 DEFAULT_wxUSE_OLE
=yes
1699 DEFAULT_wxUSE_DATAOBJ
=yes
1700 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1701 DEFAULT_wxUSE_JOYSTICK
=yes
1702 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1703 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1704 DEFAULT_wxUSE_LONGLONG
=yes
1705 DEFAULT_wxUSE_GEOMETRY
=yes
1707 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1708 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1709 DEFAULT_wxUSE_POSTSCRIPT
=yes
1711 DEFAULT_wxUSE_CLIPBOARD
=yes
1712 DEFAULT_wxUSE_TOOLTIPS
=yes
1713 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1714 DEFAULT_wxUSE_DRAGIMAGE
=yes
1715 DEFAULT_wxUSE_SPLINES
=yes
1717 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1718 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1719 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1721 DEFAULT_wxUSE_RESOURCES
=no
1722 DEFAULT_wxUSE_CONSTRAINTS
=yes
1723 DEFAULT_wxUSE_IPC
=yes
1724 DEFAULT_wxUSE_HELP
=yes
1725 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1726 DEFAULT_wxUSE_WXHTML_HELP
=yes
1727 DEFAULT_wxUSE_TREELAYOUT
=yes
1728 DEFAULT_wxUSE_METAFILE
=yes
1729 DEFAULT_wxUSE_MIMETYPE
=yes
1730 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1731 DEFAULT_wxUSE_PROTOCOL
=yes
1732 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1733 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1734 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1735 DEFAULT_wxUSE_URL
=yes
1737 DEFAULT_wxUSE_COMMONDLGS
=yes
1738 DEFAULT_wxUSE_CHOICEDLG
=yes
1739 DEFAULT_wxUSE_COLOURDLG
=yes
1740 DEFAULT_wxUSE_DIRDLG
=yes
1741 DEFAULT_wxUSE_FILEDLG
=yes
1742 DEFAULT_wxUSE_FINDREPLDLG
=yes
1743 DEFAULT_wxUSE_FONTDLG
=yes
1744 DEFAULT_wxUSE_MSGDLG
=yes
1745 DEFAULT_wxUSE_NUMBERDLG
=yes
1746 DEFAULT_wxUSE_TEXTDLG
=yes
1747 DEFAULT_wxUSE_SPLASH
=yes
1748 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1749 DEFAULT_wxUSE_PROGRESSDLG
=yes
1750 DEFAULT_wxUSE_WIZARDDLG
=yes
1752 DEFAULT_wxUSE_MENUS
=yes
1753 DEFAULT_wxUSE_MINIFRAME
=yes
1754 DEFAULT_wxUSE_HTML
=yes
1755 DEFAULT_wxUSE_FILESYSTEM
=yes
1756 DEFAULT_wxUSE_FS_INET
=yes
1757 DEFAULT_wxUSE_FS_ZIP
=yes
1758 DEFAULT_wxUSE_BUSYINFO
=yes
1759 DEFAULT_wxUSE_ZIPSTREAM
=yes
1760 DEFAULT_wxUSE_VALIDATORS
=yes
1762 DEFAULT_wxUSE_ACCEL
=yes
1763 DEFAULT_wxUSE_BUTTON
=yes
1764 DEFAULT_wxUSE_BMPBUTTON
=yes
1765 DEFAULT_wxUSE_CALCTRL
=yes
1766 DEFAULT_wxUSE_CARET
=yes
1767 DEFAULT_wxUSE_CHECKBOX
=yes
1768 DEFAULT_wxUSE_CHECKLST
=yes
1769 DEFAULT_wxUSE_CHOICE
=yes
1770 DEFAULT_wxUSE_COMBOBOX
=yes
1771 DEFAULT_wxUSE_DISPLAY
=no
1772 DEFAULT_wxUSE_GAUGE
=yes
1773 DEFAULT_wxUSE_GRID
=yes
1774 DEFAULT_wxUSE_IMAGLIST
=yes
1775 DEFAULT_wxUSE_LISTBOX
=yes
1776 DEFAULT_wxUSE_LISTCTRL
=yes
1777 DEFAULT_wxUSE_NOTEBOOK
=yes
1778 DEFAULT_wxUSE_RADIOBOX
=yes
1779 DEFAULT_wxUSE_RADIOBTN
=yes
1780 DEFAULT_wxUSE_SASH
=yes
1781 DEFAULT_wxUSE_SCROLLBAR
=yes
1782 DEFAULT_wxUSE_SLIDER
=yes
1783 DEFAULT_wxUSE_SPINBTN
=yes
1784 DEFAULT_wxUSE_SPINCTRL
=yes
1785 DEFAULT_wxUSE_SPLITTER
=yes
1786 DEFAULT_wxUSE_STATBMP
=yes
1787 DEFAULT_wxUSE_STATBOX
=yes
1788 DEFAULT_wxUSE_STATLINE
=yes
1789 DEFAULT_wxUSE_STATTEXT
=yes
1790 DEFAULT_wxUSE_STATUSBAR
=yes
1791 DEFAULT_wxUSE_TABDIALOG
=no
1792 DEFAULT_wxUSE_TEXTCTRL
=yes
1793 DEFAULT_wxUSE_TOGGLEBTN
=yes
1794 DEFAULT_wxUSE_TOOLBAR
=yes
1795 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1796 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1797 DEFAULT_wxUSE_TREECTRL
=yes
1798 DEFAULT_wxUSE_POPUPWIN
=yes
1799 DEFAULT_wxUSE_TIPWINDOW
=yes
1801 DEFAULT_wxUSE_UNICODE
=no
1802 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1803 DEFAULT_wxUSE_WCSRTOMBS
=no
1805 DEFAULT_wxUSE_PALETTE
=yes
1806 DEFAULT_wxUSE_IMAGE
=yes
1807 DEFAULT_wxUSE_GIF
=yes
1808 DEFAULT_wxUSE_PCX
=yes
1809 DEFAULT_wxUSE_IFF
=no
1810 DEFAULT_wxUSE_PNM
=yes
1811 DEFAULT_wxUSE_XPM
=yes
1812 DEFAULT_wxUSE_ICO_CUR
=yes
1813 DEFAULT_wxUSE_ACCESSIBILITY
=no
1818 for toolkit
in `echo $ALL_TOOLKITS`; do
1819 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
1820 if test "x$LINE" != "x" ; then
1821 has_toolkit_in_cache
=1
1822 eval "DEFAULT_$LINE"
1823 eval "CACHE_$toolkit=1"
1830 echo $ac_n "checking for --${enablestring:-enable}-gui""... $ac_c" 1>&6
1831 echo "configure:1832: checking for --${enablestring:-enable}-gui" >&5
1833 # Check whether --enable-gui or --disable-gui was given.
1834 if test "${enable_gui+set}" = set; then
1835 enableval
="$enable_gui"
1837 if test "$enableval" = yes; then
1838 ac_cv_use_gui
='wxUSE_GUI=yes'
1840 ac_cv_use_gui
='wxUSE_GUI=no'
1845 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1846 if test "x$LINE" != x
; then
1847 eval "DEFAULT_$LINE"
1852 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1857 eval "$ac_cv_use_gui"
1858 if test "$no_cache" != 1; then
1859 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1862 if test "$wxUSE_GUI" = yes; then
1863 echo "$ac_t""yes" 1>&6
1865 echo "$ac_t""no" 1>&6
1869 if test "$wxUSE_GUI" = "yes"; then
1873 echo $ac_n "checking for --${enablestring:-enable}-universal""... $ac_c" 1>&6
1874 echo "configure:1875: checking for --${enablestring:-enable}-universal" >&5
1876 # Check whether --enable-universal or --disable-universal was given.
1877 if test "${enable_universal+set}" = set; then
1878 enableval
="$enable_universal"
1880 if test "$enableval" = yes; then
1881 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1883 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1888 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1889 if test "x$LINE" != x
; then
1890 eval "DEFAULT_$LINE"
1895 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1900 eval "$ac_cv_use_universal"
1901 if test "$no_cache" != 1; then
1902 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1905 if test "$wxUSE_UNIVERSAL" = yes; then
1906 echo "$ac_t""yes" 1>&6
1908 echo "$ac_t""no" 1>&6
1911 # Check whether --with-gtk or --without-gtk was given.
1912 if test "${with_gtk+set}" = set; then
1914 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1917 # Check whether --with-motif or --without-motif was given.
1918 if test "${with_motif+set}" = set; then
1919 withval
="$with_motif"
1920 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1923 # Check whether --with-mac or --without-mac was given.
1924 if test "${with_mac+set}" = set; then
1926 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1929 # Check whether --with-cocoa or --without-cocoa was given.
1930 if test "${with_cocoa+set}" = set; then
1931 withval
="$with_cocoa"
1932 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
1935 # Check whether --with-wine or --without-wine was given.
1936 if test "${with_wine+set}" = set; then
1937 withval
="$with_wine"
1938 wxUSE_WINE
="$withval" CACHE_WINE
=1
1941 # Check whether --with-msw or --without-msw was given.
1942 if test "${with_msw+set}" = set; then
1944 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1947 # Check whether --with-pm or --without-pm was given.
1948 if test "${with_pm+set}" = set; then
1950 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1953 # Check whether --with-mgl or --without-mgl was given.
1954 if test "${with_mgl+set}" = set; then
1956 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1959 # Check whether --with-microwin or --without-microwin was given.
1960 if test "${with_microwin+set}" = set; then
1961 withval
="$with_microwin"
1962 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1965 # Check whether --with-x11 or --without-x11 was given.
1966 if test "${with_x11+set}" = set; then
1968 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1973 echo $ac_n "checking for --${enablestring:-enable}-nanox""... $ac_c" 1>&6
1974 echo "configure:1975: checking for --${enablestring:-enable}-nanox" >&5
1976 # Check whether --enable-nanox or --disable-nanox was given.
1977 if test "${enable_nanox+set}" = set; then
1978 enableval
="$enable_nanox"
1980 if test "$enableval" = yes; then
1981 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1983 ac_cv_use_nanox
='wxUSE_NANOX=no'
1988 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1989 if test "x$LINE" != x
; then
1990 eval "DEFAULT_$LINE"
1995 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2000 eval "$ac_cv_use_nanox"
2001 if test "$no_cache" != 1; then
2002 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2005 if test "$wxUSE_NANOX" = yes; then
2006 echo "$ac_t""yes" 1>&6
2008 echo "$ac_t""no" 1>&6
2014 echo $ac_n "checking for --${enablestring:-enable}-gtk2""... $ac_c" 1>&6
2015 echo "configure:2016: checking for --${enablestring:-enable}-gtk2" >&5
2017 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2018 if test "${enable_gtk2+set}" = set; then
2019 enableval
="$enable_gtk2"
2021 if test "$enableval" = yes; then
2022 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
2024 ac_cv_use_gtk2
='wxUSE_GTK2=no'
2029 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2030 if test "x$LINE" != x
; then
2031 eval "DEFAULT_$LINE"
2036 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2041 eval "$ac_cv_use_gtk2"
2042 if test "$no_cache" != 1; then
2043 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2046 if test "$wxUSE_GTK2" = yes; then
2047 echo "$ac_t""yes" 1>&6
2049 echo "$ac_t""no" 1>&6
2054 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
2055 echo "configure:2056: checking for --with-libpng" >&5
2057 # Check whether --with-libpng or --without-libpng was given.
2058 if test "${with_libpng+set}" = set; then
2059 withval
="$with_libpng"
2061 if test "$withval" = yes; then
2062 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2063 elif test "$withval" = no
; then
2064 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2065 elif test "$withval" = sys
; then
2066 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2067 elif test "$withval" = builtin; then
2068 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2070 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2075 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2076 if test "x$LINE" != x
; then
2077 eval "DEFAULT_$LINE"
2082 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2087 eval "$ac_cv_use_libpng"
2088 if test "$no_cache" != 1; then
2089 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2092 if test "$wxUSE_LIBPNG" = yes; then
2093 echo "$ac_t""yes" 1>&6
2094 elif test "$wxUSE_LIBPNG" = no
; then
2095 echo "$ac_t""no" 1>&6
2096 elif test "$wxUSE_LIBPNG" = sys
; then
2097 echo "$ac_t""system version" 1>&6
2098 elif test "$wxUSE_LIBPNG" = builtin; then
2099 echo "$ac_t""builtin version" 1>&6
2101 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2105 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2106 echo "configure:2107: checking for --with-libjpeg" >&5
2108 # Check whether --with-libjpeg or --without-libjpeg was given.
2109 if test "${with_libjpeg+set}" = set; then
2110 withval
="$with_libjpeg"
2112 if test "$withval" = yes; then
2113 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2114 elif test "$withval" = no
; then
2115 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2116 elif test "$withval" = sys
; then
2117 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2118 elif test "$withval" = builtin; then
2119 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2121 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2126 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2127 if test "x$LINE" != x
; then
2128 eval "DEFAULT_$LINE"
2133 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2138 eval "$ac_cv_use_libjpeg"
2139 if test "$no_cache" != 1; then
2140 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2143 if test "$wxUSE_LIBJPEG" = yes; then
2144 echo "$ac_t""yes" 1>&6
2145 elif test "$wxUSE_LIBJPEG" = no
; then
2146 echo "$ac_t""no" 1>&6
2147 elif test "$wxUSE_LIBJPEG" = sys
; then
2148 echo "$ac_t""system version" 1>&6
2149 elif test "$wxUSE_LIBJPEG" = builtin; then
2150 echo "$ac_t""builtin version" 1>&6
2152 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2156 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2157 echo "configure:2158: checking for --with-libtiff" >&5
2159 # Check whether --with-libtiff or --without-libtiff was given.
2160 if test "${with_libtiff+set}" = set; then
2161 withval
="$with_libtiff"
2163 if test "$withval" = yes; then
2164 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2165 elif test "$withval" = no
; then
2166 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2167 elif test "$withval" = sys
; then
2168 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2169 elif test "$withval" = builtin; then
2170 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2172 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2177 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2178 if test "x$LINE" != x
; then
2179 eval "DEFAULT_$LINE"
2184 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2189 eval "$ac_cv_use_libtiff"
2190 if test "$no_cache" != 1; then
2191 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2194 if test "$wxUSE_LIBTIFF" = yes; then
2195 echo "$ac_t""yes" 1>&6
2196 elif test "$wxUSE_LIBTIFF" = no
; then
2197 echo "$ac_t""no" 1>&6
2198 elif test "$wxUSE_LIBTIFF" = sys
; then
2199 echo "$ac_t""system version" 1>&6
2200 elif test "$wxUSE_LIBTIFF" = builtin; then
2201 echo "$ac_t""builtin version" 1>&6
2203 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2207 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2208 echo "configure:2209: checking for --with-opengl" >&5
2210 # Check whether --with-opengl or --without-opengl was given.
2211 if test "${with_opengl+set}" = set; then
2212 withval
="$with_opengl"
2214 if test "$withval" = yes; then
2215 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2217 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2222 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2223 if test "x$LINE" != x
; then
2224 eval "DEFAULT_$LINE"
2229 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2234 eval "$ac_cv_use_opengl"
2235 if test "$no_cache" != 1; then
2236 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2239 if test "$wxUSE_OPENGL" = yes; then
2240 echo "$ac_t""yes" 1>&6
2242 echo "$ac_t""no" 1>&6
2249 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2250 echo "configure:2251: checking for --with-dmalloc" >&5
2252 # Check whether --with-dmalloc or --without-dmalloc was given.
2253 if test "${with_dmalloc+set}" = set; then
2254 withval
="$with_dmalloc"
2256 if test "$withval" = yes; then
2257 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2259 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2264 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2265 if test "x$LINE" != x
; then
2266 eval "DEFAULT_$LINE"
2271 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2276 eval "$ac_cv_use_dmalloc"
2277 if test "$no_cache" != 1; then
2278 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2281 if test "$wxUSE_DMALLOC" = yes; then
2282 echo "$ac_t""yes" 1>&6
2284 echo "$ac_t""no" 1>&6
2288 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2289 echo "configure:2290: checking for --with-regex" >&5
2291 # Check whether --with-regex or --without-regex was given.
2292 if test "${with_regex+set}" = set; then
2293 withval
="$with_regex"
2295 if test "$withval" = yes; then
2296 ac_cv_use_regex
='wxUSE_REGEX=yes'
2297 elif test "$withval" = no
; then
2298 ac_cv_use_regex
='wxUSE_REGEX=no'
2299 elif test "$withval" = sys
; then
2300 ac_cv_use_regex
='wxUSE_REGEX=sys'
2301 elif test "$withval" = builtin; then
2302 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2304 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2309 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2310 if test "x$LINE" != x
; then
2311 eval "DEFAULT_$LINE"
2316 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2321 eval "$ac_cv_use_regex"
2322 if test "$no_cache" != 1; then
2323 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2326 if test "$wxUSE_REGEX" = yes; then
2327 echo "$ac_t""yes" 1>&6
2328 elif test "$wxUSE_REGEX" = no
; then
2329 echo "$ac_t""no" 1>&6
2330 elif test "$wxUSE_REGEX" = sys
; then
2331 echo "$ac_t""system version" 1>&6
2332 elif test "$wxUSE_REGEX" = builtin; then
2333 echo "$ac_t""builtin version" 1>&6
2335 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2339 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2340 echo "configure:2341: checking for --with-zlib" >&5
2342 # Check whether --with-zlib or --without-zlib was given.
2343 if test "${with_zlib+set}" = set; then
2344 withval
="$with_zlib"
2346 if test "$withval" = yes; then
2347 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2348 elif test "$withval" = no
; then
2349 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2350 elif test "$withval" = sys
; then
2351 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2352 elif test "$withval" = builtin; then
2353 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2355 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2360 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2361 if test "x$LINE" != x
; then
2362 eval "DEFAULT_$LINE"
2367 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2372 eval "$ac_cv_use_zlib"
2373 if test "$no_cache" != 1; then
2374 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2377 if test "$wxUSE_ZLIB" = yes; then
2378 echo "$ac_t""yes" 1>&6
2379 elif test "$wxUSE_ZLIB" = no
; then
2380 echo "$ac_t""no" 1>&6
2381 elif test "$wxUSE_ZLIB" = sys
; then
2382 echo "$ac_t""system version" 1>&6
2383 elif test "$wxUSE_ZLIB" = builtin; then
2384 echo "$ac_t""builtin version" 1>&6
2386 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2390 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2391 echo "configure:2392: checking for --with-odbc" >&5
2393 # Check whether --with-odbc or --without-odbc was given.
2394 if test "${with_odbc+set}" = set; then
2395 withval
="$with_odbc"
2397 if test "$withval" = yes; then
2398 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2399 elif test "$withval" = no
; then
2400 ac_cv_use_odbc
='wxUSE_ODBC=no'
2401 elif test "$withval" = sys
; then
2402 ac_cv_use_odbc
='wxUSE_ODBC=sys'
2403 elif test "$withval" = builtin; then
2404 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
2406 { echo "configure: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2411 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2412 if test "x$LINE" != x
; then
2413 eval "DEFAULT_$LINE"
2418 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2423 eval "$ac_cv_use_odbc"
2424 if test "$no_cache" != 1; then
2425 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2428 if test "$wxUSE_ODBC" = yes; then
2429 echo "$ac_t""yes" 1>&6
2430 elif test "$wxUSE_ODBC" = no
; then
2431 echo "$ac_t""no" 1>&6
2432 elif test "$wxUSE_ODBC" = sys
; then
2433 echo "$ac_t""system version" 1>&6
2434 elif test "$wxUSE_ODBC" = builtin; then
2435 echo "$ac_t""builtin version" 1>&6
2437 { echo "configure: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2444 echo $ac_n "checking for --${enablestring:-enable}-shared""... $ac_c" 1>&6
2445 echo "configure:2446: checking for --${enablestring:-enable}-shared" >&5
2447 # Check whether --enable-shared or --disable-shared was given.
2448 if test "${enable_shared+set}" = set; then
2449 enableval
="$enable_shared"
2451 if test "$enableval" = yes; then
2452 ac_cv_use_shared
='wxUSE_SHARED=yes'
2454 ac_cv_use_shared
='wxUSE_SHARED=no'
2459 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2460 if test "x$LINE" != x
; then
2461 eval "DEFAULT_$LINE"
2466 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2471 eval "$ac_cv_use_shared"
2472 if test "$no_cache" != 1; then
2473 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2476 if test "$wxUSE_SHARED" = yes; then
2477 echo "$ac_t""yes" 1>&6
2479 echo "$ac_t""no" 1>&6
2484 echo $ac_n "checking for --${enablestring:-enable}-soname""... $ac_c" 1>&6
2485 echo "configure:2486: checking for --${enablestring:-enable}-soname" >&5
2487 # Check whether --enable-soname or --disable-soname was given.
2488 if test "${enable_soname+set}" = set; then
2489 enableval
="$enable_soname"
2491 if test "$enableval" = yes; then
2492 ac_cv_use_soname
='wxUSE_SONAME=yes'
2494 ac_cv_use_soname
='wxUSE_SONAME=no'
2499 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2500 if test "x$LINE" != x
; then
2501 eval "DEFAULT_$LINE"
2506 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2511 eval "$ac_cv_use_soname"
2512 if test "$no_cache" != 1; then
2513 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2516 if test "$wxUSE_SONAME" = yes; then
2517 echo "$ac_t""yes" 1>&6
2519 echo "$ac_t""no" 1>&6
2524 echo $ac_n "checking for --${enablestring:-enable}-optimise""... $ac_c" 1>&6
2525 echo "configure:2526: checking for --${enablestring:-enable}-optimise" >&5
2527 # Check whether --enable-optimise or --disable-optimise was given.
2528 if test "${enable_optimise+set}" = set; then
2529 enableval
="$enable_optimise"
2531 if test "$enableval" = yes; then
2532 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2534 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2539 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2540 if test "x$LINE" != x
; then
2541 eval "DEFAULT_$LINE"
2546 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2551 eval "$ac_cv_use_optimise"
2552 if test "$no_cache" != 1; then
2553 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2556 if test "$wxUSE_OPTIMISE" = yes; then
2557 echo "$ac_t""yes" 1>&6
2559 echo "$ac_t""no" 1>&6
2564 echo $ac_n "checking for --${enablestring:-enable}-debug""... $ac_c" 1>&6
2565 echo "configure:2566: checking for --${enablestring:-enable}-debug" >&5
2567 # Check whether --enable-debug or --disable-debug was given.
2568 if test "${enable_debug+set}" = set; then
2569 enableval
="$enable_debug"
2571 if test "$enableval" = yes; then
2572 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2574 ac_cv_use_debug
='wxUSE_DEBUG=no'
2579 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2580 if test "x$LINE" != x
; then
2581 eval "DEFAULT_$LINE"
2586 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2591 eval "$ac_cv_use_debug"
2592 if test "$no_cache" != 1; then
2593 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2596 if test "$wxUSE_DEBUG" = yes; then
2597 echo "$ac_t""yes" 1>&6
2599 echo "$ac_t""no" 1>&6
2605 echo $ac_n "checking for --${enablestring:-enable}-precomp""... $ac_c" 1>&6
2606 echo "configure:2607: checking for --${enablestring:-enable}-precomp" >&5
2608 # Check whether --enable-precomp or --disable-precomp was given.
2609 if test "${enable_precomp+set}" = set; then
2610 enableval
="$enable_precomp"
2612 if test "$enableval" = yes; then
2613 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2615 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2620 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2621 if test "x$LINE" != x
; then
2622 eval "DEFAULT_$LINE"
2627 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2632 eval "$ac_cv_use_precomp"
2633 if test "$no_cache" != 1; then
2634 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2637 if test "$wxUSE_PRECOMP" = yes; then
2638 echo "$ac_t""yes" 1>&6
2640 echo "$ac_t""no" 1>&6
2644 if test "$wxUSE_DEBUG" = "yes"; then
2645 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2646 DEFAULT_wxUSE_DEBUG_INFO
=yes
2647 elif test "$wxUSE_DEBUG" = "no"; then
2648 DEFAULT_wxUSE_DEBUG_FLAG
=no
2649 DEFAULT_wxUSE_DEBUG_INFO
=no
2654 echo $ac_n "checking for --${enablestring:-enable}-debug_flag""... $ac_c" 1>&6
2655 echo "configure:2656: checking for --${enablestring:-enable}-debug_flag" >&5
2657 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2658 if test "${enable_debug_flag+set}" = set; then
2659 enableval
="$enable_debug_flag"
2661 if test "$enableval" = yes; then
2662 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2664 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2669 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2670 if test "x$LINE" != x
; then
2671 eval "DEFAULT_$LINE"
2676 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2681 eval "$ac_cv_use_debug_flag"
2682 if test "$no_cache" != 1; then
2683 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2686 if test "$wxUSE_DEBUG_FLAG" = yes; then
2687 echo "$ac_t""yes" 1>&6
2689 echo "$ac_t""no" 1>&6
2694 echo $ac_n "checking for --${enablestring:-enable}-debug_info""... $ac_c" 1>&6
2695 echo "configure:2696: checking for --${enablestring:-enable}-debug_info" >&5
2697 # Check whether --enable-debug_info or --disable-debug_info was given.
2698 if test "${enable_debug_info+set}" = set; then
2699 enableval
="$enable_debug_info"
2701 if test "$enableval" = yes; then
2702 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2704 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2709 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2710 if test "x$LINE" != x
; then
2711 eval "DEFAULT_$LINE"
2716 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2721 eval "$ac_cv_use_debug_info"
2722 if test "$no_cache" != 1; then
2723 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2726 if test "$wxUSE_DEBUG_INFO" = yes; then
2727 echo "$ac_t""yes" 1>&6
2729 echo "$ac_t""no" 1>&6
2734 echo $ac_n "checking for --${enablestring:-enable}-debug_gdb""... $ac_c" 1>&6
2735 echo "configure:2736: checking for --${enablestring:-enable}-debug_gdb" >&5
2737 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2738 if test "${enable_debug_gdb+set}" = set; then
2739 enableval
="$enable_debug_gdb"
2741 if test "$enableval" = yes; then
2742 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2744 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2749 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2750 if test "x$LINE" != x
; then
2751 eval "DEFAULT_$LINE"
2756 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2761 eval "$ac_cv_use_debug_gdb"
2762 if test "$no_cache" != 1; then
2763 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2766 if test "$wxUSE_DEBUG_GDB" = yes; then
2767 echo "$ac_t""yes" 1>&6
2769 echo "$ac_t""no" 1>&6
2774 echo $ac_n "checking for --${enablestring:-enable}-debug_cntxt""... $ac_c" 1>&6
2775 echo "configure:2776: checking for --${enablestring:-enable}-debug_cntxt" >&5
2777 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2778 if test "${enable_debug_cntxt+set}" = set; then
2779 enableval
="$enable_debug_cntxt"
2781 if test "$enableval" = yes; then
2782 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2784 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2789 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2790 if test "x$LINE" != x
; then
2791 eval "DEFAULT_$LINE"
2796 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2801 eval "$ac_cv_use_debug_cntxt"
2802 if test "$no_cache" != 1; then
2803 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2806 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2807 echo "$ac_t""yes" 1>&6
2809 echo "$ac_t""no" 1>&6
2814 echo $ac_n "checking for --${enablestring:-enable}-mem_tracing""... $ac_c" 1>&6
2815 echo "configure:2816: checking for --${enablestring:-enable}-mem_tracing" >&5
2817 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2818 if test "${enable_mem_tracing+set}" = set; then
2819 enableval
="$enable_mem_tracing"
2821 if test "$enableval" = yes; then
2822 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2824 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2829 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2830 if test "x$LINE" != x
; then
2831 eval "DEFAULT_$LINE"
2836 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2841 eval "$ac_cv_use_mem_tracing"
2842 if test "$no_cache" != 1; then
2843 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2846 if test "$wxUSE_MEM_TRACING" = yes; then
2847 echo "$ac_t""yes" 1>&6
2849 echo "$ac_t""no" 1>&6
2854 echo $ac_n "checking for --${enablestring:-enable}-profile""... $ac_c" 1>&6
2855 echo "configure:2856: checking for --${enablestring:-enable}-profile" >&5
2857 # Check whether --enable-profile or --disable-profile was given.
2858 if test "${enable_profile+set}" = set; then
2859 enableval
="$enable_profile"
2861 if test "$enableval" = yes; then
2862 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2864 ac_cv_use_profile
='wxUSE_PROFILE=no'
2869 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2870 if test "x$LINE" != x
; then
2871 eval "DEFAULT_$LINE"
2876 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2881 eval "$ac_cv_use_profile"
2882 if test "$no_cache" != 1; then
2883 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2886 if test "$wxUSE_PROFILE" = yes; then
2887 echo "$ac_t""yes" 1>&6
2889 echo "$ac_t""no" 1>&6
2894 echo $ac_n "checking for --${enablestring:-enable}-no_rtti""... $ac_c" 1>&6
2895 echo "configure:2896: checking for --${enablestring:-enable}-no_rtti" >&5
2897 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2898 if test "${enable_no_rtti+set}" = set; then
2899 enableval
="$enable_no_rtti"
2901 if test "$enableval" = yes; then
2902 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2904 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2909 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2910 if test "x$LINE" != x
; then
2911 eval "DEFAULT_$LINE"
2916 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2921 eval "$ac_cv_use_no_rtti"
2922 if test "$no_cache" != 1; then
2923 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2926 if test "$wxUSE_NO_RTTI" = yes; then
2927 echo "$ac_t""yes" 1>&6
2929 echo "$ac_t""no" 1>&6
2934 echo $ac_n "checking for --${enablestring:-enable}-no_exceptions""... $ac_c" 1>&6
2935 echo "configure:2936: checking for --${enablestring:-enable}-no_exceptions" >&5
2937 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2938 if test "${enable_no_exceptions+set}" = set; then
2939 enableval
="$enable_no_exceptions"
2941 if test "$enableval" = yes; then
2942 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2944 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2949 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2950 if test "x$LINE" != x
; then
2951 eval "DEFAULT_$LINE"
2956 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2961 eval "$ac_cv_use_no_exceptions"
2962 if test "$no_cache" != 1; then
2963 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2966 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2967 echo "$ac_t""yes" 1>&6
2969 echo "$ac_t""no" 1>&6
2974 echo $ac_n "checking for --${enablestring:-enable}-permissive""... $ac_c" 1>&6
2975 echo "configure:2976: checking for --${enablestring:-enable}-permissive" >&5
2977 # Check whether --enable-permissive or --disable-permissive was given.
2978 if test "${enable_permissive+set}" = set; then
2979 enableval
="$enable_permissive"
2981 if test "$enableval" = yes; then
2982 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2984 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2989 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2990 if test "x$LINE" != x
; then
2991 eval "DEFAULT_$LINE"
2996 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3001 eval "$ac_cv_use_permissive"
3002 if test "$no_cache" != 1; then
3003 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3006 if test "$wxUSE_PERMISSIVE" = yes; then
3007 echo "$ac_t""yes" 1>&6
3009 echo "$ac_t""no" 1>&6
3014 echo $ac_n "checking for --${enablestring:-enable}-no_deps""... $ac_c" 1>&6
3015 echo "configure:3016: checking for --${enablestring:-enable}-no_deps" >&5
3017 # Check whether --enable-no_deps or --disable-no_deps was given.
3018 if test "${enable_no_deps+set}" = set; then
3019 enableval
="$enable_no_deps"
3021 if test "$enableval" = yes; then
3022 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
3024 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
3029 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3030 if test "x$LINE" != x
; then
3031 eval "DEFAULT_$LINE"
3036 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3041 eval "$ac_cv_use_no_deps"
3042 if test "$no_cache" != 1; then
3043 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3046 if test "$wxUSE_NO_DEPS" = yes; then
3047 echo "$ac_t""yes" 1>&6
3049 echo "$ac_t""no" 1>&6
3055 echo $ac_n "checking for --${enablestring:-enable}-compat20""... $ac_c" 1>&6
3056 echo "configure:3057: checking for --${enablestring:-enable}-compat20" >&5
3058 # Check whether --enable-compat20 or --disable-compat20 was given.
3059 if test "${enable_compat20+set}" = set; then
3060 enableval
="$enable_compat20"
3062 if test "$enableval" = yes; then
3063 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
3065 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
3070 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3071 if test "x$LINE" != x
; then
3072 eval "DEFAULT_$LINE"
3077 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3082 eval "$ac_cv_use_compat20"
3083 if test "$no_cache" != 1; then
3084 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3087 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3088 echo "$ac_t""yes" 1>&6
3090 echo "$ac_t""no" 1>&6
3095 echo $ac_n "checking for --${enablestring:-enable}-compat22""... $ac_c" 1>&6
3096 echo "configure:3097: checking for --${enablestring:-enable}-compat22" >&5
3098 # Check whether --enable-compat22 or --disable-compat22 was given.
3099 if test "${enable_compat22+set}" = set; then
3100 enableval
="$enable_compat22"
3102 if test "$enableval" = yes; then
3103 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3105 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3110 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3111 if test "x$LINE" != x
; then
3112 eval "DEFAULT_$LINE"
3117 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3122 eval "$ac_cv_use_compat22"
3123 if test "$no_cache" != 1; then
3124 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3127 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3128 echo "$ac_t""yes" 1>&6
3130 echo "$ac_t""no" 1>&6
3134 enablestring
=disable
3135 echo $ac_n "checking for --${enablestring:-enable}-compat24""... $ac_c" 1>&6
3136 echo "configure:3137: checking for --${enablestring:-enable}-compat24" >&5
3138 # Check whether --enable-compat24 or --disable-compat24 was given.
3139 if test "${enable_compat24+set}" = set; then
3140 enableval
="$enable_compat24"
3142 if test "$enableval" = yes; then
3143 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
3145 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
3150 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3151 if test "x$LINE" != x
; then
3152 eval "DEFAULT_$LINE"
3157 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3162 eval "$ac_cv_use_compat24"
3163 if test "$no_cache" != 1; then
3164 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3167 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3168 echo "$ac_t""yes" 1>&6
3170 echo "$ac_t""no" 1>&6
3174 # Check whether --enable-rpath or --disable-rpath was given.
3175 if test "${enable_rpath+set}" = set; then
3176 enableval
="$enable_rpath"
3177 wxRPATH_DIR
="$enableval"
3181 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3182 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3189 echo $ac_n "checking for --${enablestring:-enable}-intl""... $ac_c" 1>&6
3190 echo "configure:3191: checking for --${enablestring:-enable}-intl" >&5
3192 # Check whether --enable-intl or --disable-intl was given.
3193 if test "${enable_intl+set}" = set; then
3194 enableval
="$enable_intl"
3196 if test "$enableval" = yes; then
3197 ac_cv_use_intl
='wxUSE_INTL=yes'
3199 ac_cv_use_intl
='wxUSE_INTL=no'
3204 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3205 if test "x$LINE" != x
; then
3206 eval "DEFAULT_$LINE"
3211 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3216 eval "$ac_cv_use_intl"
3217 if test "$no_cache" != 1; then
3218 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3221 if test "$wxUSE_INTL" = yes; then
3222 echo "$ac_t""yes" 1>&6
3224 echo "$ac_t""no" 1>&6
3229 echo $ac_n "checking for --${enablestring:-enable}-config""... $ac_c" 1>&6
3230 echo "configure:3231: checking for --${enablestring:-enable}-config" >&5
3232 # Check whether --enable-config or --disable-config was given.
3233 if test "${enable_config+set}" = set; then
3234 enableval
="$enable_config"
3236 if test "$enableval" = yes; then
3237 ac_cv_use_config
='wxUSE_CONFIG=yes'
3239 ac_cv_use_config
='wxUSE_CONFIG=no'
3244 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3245 if test "x$LINE" != x
; then
3246 eval "DEFAULT_$LINE"
3251 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3256 eval "$ac_cv_use_config"
3257 if test "$no_cache" != 1; then
3258 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3261 if test "$wxUSE_CONFIG" = yes; then
3262 echo "$ac_t""yes" 1>&6
3264 echo "$ac_t""no" 1>&6
3270 echo $ac_n "checking for --${enablestring:-enable}-protocols""... $ac_c" 1>&6
3271 echo "configure:3272: checking for --${enablestring:-enable}-protocols" >&5
3273 # Check whether --enable-protocols or --disable-protocols was given.
3274 if test "${enable_protocols+set}" = set; then
3275 enableval
="$enable_protocols"
3277 if test "$enableval" = yes; then
3278 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3280 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3285 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3286 if test "x$LINE" != x
; then
3287 eval "DEFAULT_$LINE"
3292 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3297 eval "$ac_cv_use_protocols"
3298 if test "$no_cache" != 1; then
3299 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3302 if test "$wxUSE_PROTOCOL" = yes; then
3303 echo "$ac_t""yes" 1>&6
3305 echo "$ac_t""no" 1>&6
3310 echo $ac_n "checking for --${enablestring:-enable}-ftp""... $ac_c" 1>&6
3311 echo "configure:3312: checking for --${enablestring:-enable}-ftp" >&5
3313 # Check whether --enable-ftp or --disable-ftp was given.
3314 if test "${enable_ftp+set}" = set; then
3315 enableval
="$enable_ftp"
3317 if test "$enableval" = yes; then
3318 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3320 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3325 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3326 if test "x$LINE" != x
; then
3327 eval "DEFAULT_$LINE"
3332 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3337 eval "$ac_cv_use_ftp"
3338 if test "$no_cache" != 1; then
3339 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3342 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3343 echo "$ac_t""yes" 1>&6
3345 echo "$ac_t""no" 1>&6
3350 echo $ac_n "checking for --${enablestring:-enable}-http""... $ac_c" 1>&6
3351 echo "configure:3352: checking for --${enablestring:-enable}-http" >&5
3353 # Check whether --enable-http or --disable-http was given.
3354 if test "${enable_http+set}" = set; then
3355 enableval
="$enable_http"
3357 if test "$enableval" = yes; then
3358 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3360 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3365 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3366 if test "x$LINE" != x
; then
3367 eval "DEFAULT_$LINE"
3372 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3377 eval "$ac_cv_use_http"
3378 if test "$no_cache" != 1; then
3379 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3382 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3383 echo "$ac_t""yes" 1>&6
3385 echo "$ac_t""no" 1>&6
3390 echo $ac_n "checking for --${enablestring:-enable}-fileproto""... $ac_c" 1>&6
3391 echo "configure:3392: checking for --${enablestring:-enable}-fileproto" >&5
3393 # Check whether --enable-fileproto or --disable-fileproto was given.
3394 if test "${enable_fileproto+set}" = set; then
3395 enableval
="$enable_fileproto"
3397 if test "$enableval" = yes; then
3398 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3400 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3405 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3406 if test "x$LINE" != x
; then
3407 eval "DEFAULT_$LINE"
3412 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3417 eval "$ac_cv_use_fileproto"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3422 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3423 echo "$ac_t""yes" 1>&6
3425 echo "$ac_t""no" 1>&6
3430 echo $ac_n "checking for --${enablestring:-enable}-sockets""... $ac_c" 1>&6
3431 echo "configure:3432: checking for --${enablestring:-enable}-sockets" >&5
3433 # Check whether --enable-sockets or --disable-sockets was given.
3434 if test "${enable_sockets+set}" = set; then
3435 enableval
="$enable_sockets"
3437 if test "$enableval" = yes; then
3438 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3440 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3445 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3446 if test "x$LINE" != x
; then
3447 eval "DEFAULT_$LINE"
3452 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3457 eval "$ac_cv_use_sockets"
3458 if test "$no_cache" != 1; then
3459 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3462 if test "$wxUSE_SOCKETS" = yes; then
3463 echo "$ac_t""yes" 1>&6
3465 echo "$ac_t""no" 1>&6
3470 echo $ac_n "checking for --${enablestring:-enable}-ole""... $ac_c" 1>&6
3471 echo "configure:3472: checking for --${enablestring:-enable}-ole" >&5
3473 # Check whether --enable-ole or --disable-ole was given.
3474 if test "${enable_ole+set}" = set; then
3475 enableval
="$enable_ole"
3477 if test "$enableval" = yes; then
3478 ac_cv_use_ole
='wxUSE_OLE=yes'
3480 ac_cv_use_ole
='wxUSE_OLE=no'
3485 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
3486 if test "x$LINE" != x
; then
3487 eval "DEFAULT_$LINE"
3492 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
3497 eval "$ac_cv_use_ole"
3498 if test "$no_cache" != 1; then
3499 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
3502 if test "$wxUSE_OLE" = yes; then
3503 echo "$ac_t""yes" 1>&6
3505 echo "$ac_t""no" 1>&6
3510 echo $ac_n "checking for --${enablestring:-enable}-dataobj""... $ac_c" 1>&6
3511 echo "configure:3512: checking for --${enablestring:-enable}-dataobj" >&5
3513 # Check whether --enable-dataobj or --disable-dataobj was given.
3514 if test "${enable_dataobj+set}" = set; then
3515 enableval
="$enable_dataobj"
3517 if test "$enableval" = yes; then
3518 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
3520 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
3525 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
3526 if test "x$LINE" != x
; then
3527 eval "DEFAULT_$LINE"
3532 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
3537 eval "$ac_cv_use_dataobj"
3538 if test "$no_cache" != 1; then
3539 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
3542 if test "$wxUSE_DATAOBJ" = yes; then
3543 echo "$ac_t""yes" 1>&6
3545 echo "$ac_t""no" 1>&6
3551 echo $ac_n "checking for --${enablestring:-enable}-ipc""... $ac_c" 1>&6
3552 echo "configure:3553: checking for --${enablestring:-enable}-ipc" >&5
3554 # Check whether --enable-ipc or --disable-ipc was given.
3555 if test "${enable_ipc+set}" = set; then
3556 enableval
="$enable_ipc"
3558 if test "$enableval" = yes; then
3559 ac_cv_use_ipc
='wxUSE_IPC=yes'
3561 ac_cv_use_ipc
='wxUSE_IPC=no'
3566 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3567 if test "x$LINE" != x
; then
3568 eval "DEFAULT_$LINE"
3573 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3578 eval "$ac_cv_use_ipc"
3579 if test "$no_cache" != 1; then
3580 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3583 if test "$wxUSE_IPC" = yes; then
3584 echo "$ac_t""yes" 1>&6
3586 echo "$ac_t""no" 1>&6
3592 echo $ac_n "checking for --${enablestring:-enable}-cmdline""... $ac_c" 1>&6
3593 echo "configure:3594: checking for --${enablestring:-enable}-cmdline" >&5
3595 # Check whether --enable-cmdline or --disable-cmdline was given.
3596 if test "${enable_cmdline+set}" = set; then
3597 enableval
="$enable_cmdline"
3599 if test "$enableval" = yes; then
3600 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3602 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3607 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3608 if test "x$LINE" != x
; then
3609 eval "DEFAULT_$LINE"
3614 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3619 eval "$ac_cv_use_cmdline"
3620 if test "$no_cache" != 1; then
3621 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3624 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3625 echo "$ac_t""yes" 1>&6
3627 echo "$ac_t""no" 1>&6
3632 echo $ac_n "checking for --${enablestring:-enable}-datetime""... $ac_c" 1>&6
3633 echo "configure:3634: checking for --${enablestring:-enable}-datetime" >&5
3635 # Check whether --enable-datetime or --disable-datetime was given.
3636 if test "${enable_datetime+set}" = set; then
3637 enableval
="$enable_datetime"
3639 if test "$enableval" = yes; then
3640 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3642 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3647 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3648 if test "x$LINE" != x
; then
3649 eval "DEFAULT_$LINE"
3654 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3659 eval "$ac_cv_use_datetime"
3660 if test "$no_cache" != 1; then
3661 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3664 if test "$wxUSE_DATETIME" = yes; then
3665 echo "$ac_t""yes" 1>&6
3667 echo "$ac_t""no" 1>&6
3672 echo $ac_n "checking for --${enablestring:-enable}-stopwatch""... $ac_c" 1>&6
3673 echo "configure:3674: checking for --${enablestring:-enable}-stopwatch" >&5
3675 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3676 if test "${enable_stopwatch+set}" = set; then
3677 enableval
="$enable_stopwatch"
3679 if test "$enableval" = yes; then
3680 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3682 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3687 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3688 if test "x$LINE" != x
; then
3689 eval "DEFAULT_$LINE"
3694 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3699 eval "$ac_cv_use_stopwatch"
3700 if test "$no_cache" != 1; then
3701 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3704 if test "$wxUSE_STOPWATCH" = yes; then
3705 echo "$ac_t""yes" 1>&6
3707 echo "$ac_t""no" 1>&6
3712 echo $ac_n "checking for --${enablestring:-enable}-dialupman""... $ac_c" 1>&6
3713 echo "configure:3714: checking for --${enablestring:-enable}-dialupman" >&5
3715 # Check whether --enable-dialupman or --disable-dialupman was given.
3716 if test "${enable_dialupman+set}" = set; then
3717 enableval
="$enable_dialupman"
3719 if test "$enableval" = yes; then
3720 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3722 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3727 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3728 if test "x$LINE" != x
; then
3729 eval "DEFAULT_$LINE"
3734 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3739 eval "$ac_cv_use_dialupman"
3740 if test "$no_cache" != 1; then
3741 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3744 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3745 echo "$ac_t""yes" 1>&6
3747 echo "$ac_t""no" 1>&6
3752 echo $ac_n "checking for --${enablestring:-enable}-apple_ieee""... $ac_c" 1>&6
3753 echo "configure:3754: checking for --${enablestring:-enable}-apple_ieee" >&5
3755 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3756 if test "${enable_apple_ieee+set}" = set; then
3757 enableval
="$enable_apple_ieee"
3759 if test "$enableval" = yes; then
3760 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3762 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3767 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3768 if test "x$LINE" != x
; then
3769 eval "DEFAULT_$LINE"
3774 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3779 eval "$ac_cv_use_apple_ieee"
3780 if test "$no_cache" != 1; then
3781 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3784 if test "$wxUSE_APPLE_IEEE" = yes; then
3785 echo "$ac_t""yes" 1>&6
3787 echo "$ac_t""no" 1>&6
3792 echo $ac_n "checking for --${enablestring:-enable}-timer""... $ac_c" 1>&6
3793 echo "configure:3794: checking for --${enablestring:-enable}-timer" >&5
3795 # Check whether --enable-timer or --disable-timer was given.
3796 if test "${enable_timer+set}" = set; then
3797 enableval
="$enable_timer"
3799 if test "$enableval" = yes; then
3800 ac_cv_use_timer
='wxUSE_TIMER=yes'
3802 ac_cv_use_timer
='wxUSE_TIMER=no'
3807 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3808 if test "x$LINE" != x
; then
3809 eval "DEFAULT_$LINE"
3814 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3819 eval "$ac_cv_use_timer"
3820 if test "$no_cache" != 1; then
3821 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3824 if test "$wxUSE_TIMER" = yes; then
3825 echo "$ac_t""yes" 1>&6
3827 echo "$ac_t""no" 1>&6
3832 echo $ac_n "checking for --${enablestring:-enable}-wave""... $ac_c" 1>&6
3833 echo "configure:3834: checking for --${enablestring:-enable}-wave" >&5
3835 # Check whether --enable-wave or --disable-wave was given.
3836 if test "${enable_wave+set}" = set; then
3837 enableval
="$enable_wave"
3839 if test "$enableval" = yes; then
3840 ac_cv_use_wave
='wxUSE_WAVE=yes'
3842 ac_cv_use_wave
='wxUSE_WAVE=no'
3847 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3848 if test "x$LINE" != x
; then
3849 eval "DEFAULT_$LINE"
3854 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3859 eval "$ac_cv_use_wave"
3860 if test "$no_cache" != 1; then
3861 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3864 if test "$wxUSE_WAVE" = yes; then
3865 echo "$ac_t""yes" 1>&6
3867 echo "$ac_t""no" 1>&6
3872 echo $ac_n "checking for --${enablestring:-enable}-fraction""... $ac_c" 1>&6
3873 echo "configure:3874: checking for --${enablestring:-enable}-fraction" >&5
3875 # Check whether --enable-fraction or --disable-fraction was given.
3876 if test "${enable_fraction+set}" = set; then
3877 enableval
="$enable_fraction"
3879 if test "$enableval" = yes; then
3880 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3882 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3887 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3888 if test "x$LINE" != x
; then
3889 eval "DEFAULT_$LINE"
3894 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3899 eval "$ac_cv_use_fraction"
3900 if test "$no_cache" != 1; then
3901 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3904 if test "$wxUSE_FRACTION" = yes; then
3905 echo "$ac_t""yes" 1>&6
3907 echo "$ac_t""no" 1>&6
3912 echo $ac_n "checking for --${enablestring:-enable}-dynlib""... $ac_c" 1>&6
3913 echo "configure:3914: checking for --${enablestring:-enable}-dynlib" >&5
3915 # Check whether --enable-dynlib or --disable-dynlib was given.
3916 if test "${enable_dynlib+set}" = set; then
3917 enableval
="$enable_dynlib"
3919 if test "$enableval" = yes; then
3920 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3922 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3927 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3928 if test "x$LINE" != x
; then
3929 eval "DEFAULT_$LINE"
3934 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3939 eval "$ac_cv_use_dynlib"
3940 if test "$no_cache" != 1; then
3941 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3944 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3945 echo "$ac_t""yes" 1>&6
3947 echo "$ac_t""no" 1>&6
3952 echo $ac_n "checking for --${enablestring:-enable}-dynamicloader""... $ac_c" 1>&6
3953 echo "configure:3954: checking for --${enablestring:-enable}-dynamicloader" >&5
3955 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3956 if test "${enable_dynamicloader+set}" = set; then
3957 enableval
="$enable_dynamicloader"
3959 if test "$enableval" = yes; then
3960 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3962 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3967 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3968 if test "x$LINE" != x
; then
3969 eval "DEFAULT_$LINE"
3974 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3979 eval "$ac_cv_use_dynamicloader"
3980 if test "$no_cache" != 1; then
3981 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3984 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3985 echo "$ac_t""yes" 1>&6
3987 echo "$ac_t""no" 1>&6
3992 echo $ac_n "checking for --${enablestring:-enable}-longlong""... $ac_c" 1>&6
3993 echo "configure:3994: checking for --${enablestring:-enable}-longlong" >&5
3995 # Check whether --enable-longlong or --disable-longlong was given.
3996 if test "${enable_longlong+set}" = set; then
3997 enableval
="$enable_longlong"
3999 if test "$enableval" = yes; then
4000 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
4002 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
4007 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4008 if test "x$LINE" != x
; then
4009 eval "DEFAULT_$LINE"
4014 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4019 eval "$ac_cv_use_longlong"
4020 if test "$no_cache" != 1; then
4021 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4024 if test "$wxUSE_LONGLONG" = yes; then
4025 echo "$ac_t""yes" 1>&6
4027 echo "$ac_t""no" 1>&6
4032 echo $ac_n "checking for --${enablestring:-enable}-geometry""... $ac_c" 1>&6
4033 echo "configure:4034: checking for --${enablestring:-enable}-geometry" >&5
4035 # Check whether --enable-geometry or --disable-geometry was given.
4036 if test "${enable_geometry+set}" = set; then
4037 enableval
="$enable_geometry"
4039 if test "$enableval" = yes; then
4040 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
4042 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
4047 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4048 if test "x$LINE" != x
; then
4049 eval "DEFAULT_$LINE"
4054 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4059 eval "$ac_cv_use_geometry"
4060 if test "$no_cache" != 1; then
4061 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4064 if test "$wxUSE_GEOMETRY" = yes; then
4065 echo "$ac_t""yes" 1>&6
4067 echo "$ac_t""no" 1>&6
4072 echo $ac_n "checking for --${enablestring:-enable}-log""... $ac_c" 1>&6
4073 echo "configure:4074: checking for --${enablestring:-enable}-log" >&5
4075 # Check whether --enable-log or --disable-log was given.
4076 if test "${enable_log+set}" = set; then
4077 enableval
="$enable_log"
4079 if test "$enableval" = yes; then
4080 ac_cv_use_log
='wxUSE_LOG=yes'
4082 ac_cv_use_log
='wxUSE_LOG=no'
4087 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4088 if test "x$LINE" != x
; then
4089 eval "DEFAULT_$LINE"
4094 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4099 eval "$ac_cv_use_log"
4100 if test "$no_cache" != 1; then
4101 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4104 if test "$wxUSE_LOG" = yes; then
4105 echo "$ac_t""yes" 1>&6
4107 echo "$ac_t""no" 1>&6
4112 echo $ac_n "checking for --${enablestring:-enable}-streams""... $ac_c" 1>&6
4113 echo "configure:4114: checking for --${enablestring:-enable}-streams" >&5
4115 # Check whether --enable-streams or --disable-streams was given.
4116 if test "${enable_streams+set}" = set; then
4117 enableval
="$enable_streams"
4119 if test "$enableval" = yes; then
4120 ac_cv_use_streams
='wxUSE_STREAMS=yes'
4122 ac_cv_use_streams
='wxUSE_STREAMS=no'
4127 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4128 if test "x$LINE" != x
; then
4129 eval "DEFAULT_$LINE"
4134 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4139 eval "$ac_cv_use_streams"
4140 if test "$no_cache" != 1; then
4141 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4144 if test "$wxUSE_STREAMS" = yes; then
4145 echo "$ac_t""yes" 1>&6
4147 echo "$ac_t""no" 1>&6
4152 echo $ac_n "checking for --${enablestring:-enable}-file""... $ac_c" 1>&6
4153 echo "configure:4154: checking for --${enablestring:-enable}-file" >&5
4155 # Check whether --enable-file or --disable-file was given.
4156 if test "${enable_file+set}" = set; then
4157 enableval
="$enable_file"
4159 if test "$enableval" = yes; then
4160 ac_cv_use_file
='wxUSE_FILE=yes'
4162 ac_cv_use_file
='wxUSE_FILE=no'
4167 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4168 if test "x$LINE" != x
; then
4169 eval "DEFAULT_$LINE"
4174 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4179 eval "$ac_cv_use_file"
4180 if test "$no_cache" != 1; then
4181 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4184 if test "$wxUSE_FILE" = yes; then
4185 echo "$ac_t""yes" 1>&6
4187 echo "$ac_t""no" 1>&6
4192 echo $ac_n "checking for --${enablestring:-enable}-ffile""... $ac_c" 1>&6
4193 echo "configure:4194: checking for --${enablestring:-enable}-ffile" >&5
4195 # Check whether --enable-ffile or --disable-ffile was given.
4196 if test "${enable_ffile+set}" = set; then
4197 enableval
="$enable_ffile"
4199 if test "$enableval" = yes; then
4200 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4202 ac_cv_use_ffile
='wxUSE_FFILE=no'
4207 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4208 if test "x$LINE" != x
; then
4209 eval "DEFAULT_$LINE"
4214 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4219 eval "$ac_cv_use_ffile"
4220 if test "$no_cache" != 1; then
4221 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4224 if test "$wxUSE_FFILE" = yes; then
4225 echo "$ac_t""yes" 1>&6
4227 echo "$ac_t""no" 1>&6
4232 echo $ac_n "checking for --${enablestring:-enable}-textbuf""... $ac_c" 1>&6
4233 echo "configure:4234: checking for --${enablestring:-enable}-textbuf" >&5
4235 # Check whether --enable-textbuf or --disable-textbuf was given.
4236 if test "${enable_textbuf+set}" = set; then
4237 enableval
="$enable_textbuf"
4239 if test "$enableval" = yes; then
4240 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4242 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4247 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4248 if test "x$LINE" != x
; then
4249 eval "DEFAULT_$LINE"
4254 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4259 eval "$ac_cv_use_textbuf"
4260 if test "$no_cache" != 1; then
4261 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4264 if test "$wxUSE_TEXTBUFFER" = yes; then
4265 echo "$ac_t""yes" 1>&6
4267 echo "$ac_t""no" 1>&6
4272 echo $ac_n "checking for --${enablestring:-enable}-textfile""... $ac_c" 1>&6
4273 echo "configure:4274: checking for --${enablestring:-enable}-textfile" >&5
4275 # Check whether --enable-textfile or --disable-textfile was given.
4276 if test "${enable_textfile+set}" = set; then
4277 enableval
="$enable_textfile"
4279 if test "$enableval" = yes; then
4280 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4282 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4287 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4288 if test "x$LINE" != x
; then
4289 eval "DEFAULT_$LINE"
4294 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4299 eval "$ac_cv_use_textfile"
4300 if test "$no_cache" != 1; then
4301 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4304 if test "$wxUSE_TEXTFILE" = yes; then
4305 echo "$ac_t""yes" 1>&6
4307 echo "$ac_t""no" 1>&6
4312 echo $ac_n "checking for --${enablestring:-enable}-fontmap""... $ac_c" 1>&6
4313 echo "configure:4314: checking for --${enablestring:-enable}-fontmap" >&5
4315 # Check whether --enable-fontmap or --disable-fontmap was given.
4316 if test "${enable_fontmap+set}" = set; then
4317 enableval
="$enable_fontmap"
4319 if test "$enableval" = yes; then
4320 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4322 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4327 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4328 if test "x$LINE" != x
; then
4329 eval "DEFAULT_$LINE"
4334 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4339 eval "$ac_cv_use_fontmap"
4340 if test "$no_cache" != 1; then
4341 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4344 if test "$wxUSE_FONTMAP" = yes; then
4345 echo "$ac_t""yes" 1>&6
4347 echo "$ac_t""no" 1>&6
4352 echo $ac_n "checking for --${enablestring:-enable}-unicode""... $ac_c" 1>&6
4353 echo "configure:4354: checking for --${enablestring:-enable}-unicode" >&5
4355 # Check whether --enable-unicode or --disable-unicode was given.
4356 if test "${enable_unicode+set}" = set; then
4357 enableval
="$enable_unicode"
4359 if test "$enableval" = yes; then
4360 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4362 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4367 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4368 if test "x$LINE" != x
; then
4369 eval "DEFAULT_$LINE"
4374 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4379 eval "$ac_cv_use_unicode"
4380 if test "$no_cache" != 1; then
4381 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4384 if test "$wxUSE_UNICODE" = yes; then
4385 echo "$ac_t""yes" 1>&6
4387 echo "$ac_t""no" 1>&6
4392 echo $ac_n "checking for --${enablestring:-enable}-mslu""... $ac_c" 1>&6
4393 echo "configure:4394: checking for --${enablestring:-enable}-mslu" >&5
4395 # Check whether --enable-mslu or --disable-mslu was given.
4396 if test "${enable_mslu+set}" = set; then
4397 enableval
="$enable_mslu"
4399 if test "$enableval" = yes; then
4400 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4402 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4407 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4408 if test "x$LINE" != x
; then
4409 eval "DEFAULT_$LINE"
4414 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4419 eval "$ac_cv_use_mslu"
4420 if test "$no_cache" != 1; then
4421 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4424 if test "$wxUSE_UNICODE_MSLU" = yes; then
4425 echo "$ac_t""yes" 1>&6
4427 echo "$ac_t""no" 1>&6
4432 echo $ac_n "checking for --${enablestring:-enable}-wxprintfv""... $ac_c" 1>&6
4433 echo "configure:4434: checking for --${enablestring:-enable}-wxprintfv" >&5
4435 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4436 if test "${enable_wxprintfv+set}" = set; then
4437 enableval
="$enable_wxprintfv"
4439 if test "$enableval" = yes; then
4440 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4442 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4447 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4448 if test "x$LINE" != x
; then
4449 eval "DEFAULT_$LINE"
4454 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4459 eval "$ac_cv_use_wxprintfv"
4460 if test "$no_cache" != 1; then
4461 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4464 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4465 echo "$ac_t""yes" 1>&6
4467 echo "$ac_t""no" 1>&6
4472 echo $ac_n "checking for --${enablestring:-enable}-std_iostreams""... $ac_c" 1>&6
4473 echo "configure:4474: checking for --${enablestring:-enable}-std_iostreams" >&5
4475 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4476 if test "${enable_std_iostreams+set}" = set; then
4477 enableval
="$enable_std_iostreams"
4479 if test "$enableval" = yes; then
4480 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4482 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4487 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4488 if test "x$LINE" != x
; then
4489 eval "DEFAULT_$LINE"
4494 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4499 eval "$ac_cv_use_std_iostreams"
4500 if test "$no_cache" != 1; then
4501 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4504 if test "$wxUSE_STD_IOSTREAM" = yes; then
4505 echo "$ac_t""yes" 1>&6
4507 echo "$ac_t""no" 1>&6
4512 echo $ac_n "checking for --${enablestring:-enable}-filesystem""... $ac_c" 1>&6
4513 echo "configure:4514: checking for --${enablestring:-enable}-filesystem" >&5
4515 # Check whether --enable-filesystem or --disable-filesystem was given.
4516 if test "${enable_filesystem+set}" = set; then
4517 enableval
="$enable_filesystem"
4519 if test "$enableval" = yes; then
4520 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4522 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4527 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4528 if test "x$LINE" != x
; then
4529 eval "DEFAULT_$LINE"
4534 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4539 eval "$ac_cv_use_filesystem"
4540 if test "$no_cache" != 1; then
4541 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4544 if test "$wxUSE_FILESYSTEM" = yes; then
4545 echo "$ac_t""yes" 1>&6
4547 echo "$ac_t""no" 1>&6
4552 echo $ac_n "checking for --${enablestring:-enable}-fs_inet""... $ac_c" 1>&6
4553 echo "configure:4554: checking for --${enablestring:-enable}-fs_inet" >&5
4555 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4556 if test "${enable_fs_inet+set}" = set; then
4557 enableval
="$enable_fs_inet"
4559 if test "$enableval" = yes; then
4560 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4562 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4567 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4568 if test "x$LINE" != x
; then
4569 eval "DEFAULT_$LINE"
4574 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4579 eval "$ac_cv_use_fs_inet"
4580 if test "$no_cache" != 1; then
4581 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4584 if test "$wxUSE_FS_INET" = yes; then
4585 echo "$ac_t""yes" 1>&6
4587 echo "$ac_t""no" 1>&6
4592 echo $ac_n "checking for --${enablestring:-enable}-fs_zip""... $ac_c" 1>&6
4593 echo "configure:4594: checking for --${enablestring:-enable}-fs_zip" >&5
4595 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4596 if test "${enable_fs_zip+set}" = set; then
4597 enableval
="$enable_fs_zip"
4599 if test "$enableval" = yes; then
4600 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4602 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4607 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4608 if test "x$LINE" != x
; then
4609 eval "DEFAULT_$LINE"
4614 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4619 eval "$ac_cv_use_fs_zip"
4620 if test "$no_cache" != 1; then
4621 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4624 if test "$wxUSE_FS_ZIP" = yes; then
4625 echo "$ac_t""yes" 1>&6
4627 echo "$ac_t""no" 1>&6
4632 echo $ac_n "checking for --${enablestring:-enable}-zipstream""... $ac_c" 1>&6
4633 echo "configure:4634: checking for --${enablestring:-enable}-zipstream" >&5
4635 # Check whether --enable-zipstream or --disable-zipstream was given.
4636 if test "${enable_zipstream+set}" = set; then
4637 enableval
="$enable_zipstream"
4639 if test "$enableval" = yes; then
4640 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4642 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4647 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4648 if test "x$LINE" != x
; then
4649 eval "DEFAULT_$LINE"
4654 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4659 eval "$ac_cv_use_zipstream"
4660 if test "$no_cache" != 1; then
4661 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4664 if test "$wxUSE_ZIPSTREAM" = yes; then
4665 echo "$ac_t""yes" 1>&6
4667 echo "$ac_t""no" 1>&6
4673 echo $ac_n "checking for --${enablestring:-enable}-catch_segvs""... $ac_c" 1>&6
4674 echo "configure:4675: checking for --${enablestring:-enable}-catch_segvs" >&5
4676 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4677 if test "${enable_catch_segvs+set}" = set; then
4678 enableval
="$enable_catch_segvs"
4680 if test "$enableval" = yes; then
4681 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4683 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4688 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4689 if test "x$LINE" != x
; then
4690 eval "DEFAULT_$LINE"
4695 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4700 eval "$ac_cv_use_catch_segvs"
4701 if test "$no_cache" != 1; then
4702 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4705 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4706 echo "$ac_t""yes" 1>&6
4708 echo "$ac_t""no" 1>&6
4713 echo $ac_n "checking for --${enablestring:-enable}-snglinst""... $ac_c" 1>&6
4714 echo "configure:4715: checking for --${enablestring:-enable}-snglinst" >&5
4716 # Check whether --enable-snglinst or --disable-snglinst was given.
4717 if test "${enable_snglinst+set}" = set; then
4718 enableval
="$enable_snglinst"
4720 if test "$enableval" = yes; then
4721 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4723 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4728 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4729 if test "x$LINE" != x
; then
4730 eval "DEFAULT_$LINE"
4735 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4740 eval "$ac_cv_use_snglinst"
4741 if test "$no_cache" != 1; then
4742 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4745 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4746 echo "$ac_t""yes" 1>&6
4748 echo "$ac_t""no" 1>&6
4754 echo $ac_n "checking for --${enablestring:-enable}-mimetype""... $ac_c" 1>&6
4755 echo "configure:4756: checking for --${enablestring:-enable}-mimetype" >&5
4757 # Check whether --enable-mimetype or --disable-mimetype was given.
4758 if test "${enable_mimetype+set}" = set; then
4759 enableval
="$enable_mimetype"
4761 if test "$enableval" = yes; then
4762 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4764 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4769 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4770 if test "x$LINE" != x
; then
4771 eval "DEFAULT_$LINE"
4776 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4781 eval "$ac_cv_use_mimetype"
4782 if test "$no_cache" != 1; then
4783 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4786 if test "$wxUSE_MIMETYPE" = yes; then
4787 echo "$ac_t""yes" 1>&6
4789 echo "$ac_t""no" 1>&6
4794 echo $ac_n "checking for --${enablestring:-enable}-system_options""... $ac_c" 1>&6
4795 echo "configure:4796: checking for --${enablestring:-enable}-system_options" >&5
4797 # Check whether --enable-system_options or --disable-system_options was given.
4798 if test "${enable_system_options+set}" = set; then
4799 enableval
="$enable_system_options"
4801 if test "$enableval" = yes; then
4802 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4804 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4809 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4810 if test "x$LINE" != x
; then
4811 eval "DEFAULT_$LINE"
4816 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4821 eval "$ac_cv_use_system_options"
4822 if test "$no_cache" != 1; then
4823 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4826 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4827 echo "$ac_t""yes" 1>&6
4829 echo "$ac_t""no" 1>&6
4835 echo $ac_n "checking for --${enablestring:-enable}-url""... $ac_c" 1>&6
4836 echo "configure:4837: checking for --${enablestring:-enable}-url" >&5
4838 # Check whether --enable-url or --disable-url was given.
4839 if test "${enable_url+set}" = set; then
4840 enableval
="$enable_url"
4842 if test "$enableval" = yes; then
4843 ac_cv_use_url
='wxUSE_URL=yes'
4845 ac_cv_use_url
='wxUSE_URL=no'
4850 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4851 if test "x$LINE" != x
; then
4852 eval "DEFAULT_$LINE"
4857 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4862 eval "$ac_cv_use_url"
4863 if test "$no_cache" != 1; then
4864 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4867 if test "$wxUSE_URL" = yes; then
4868 echo "$ac_t""yes" 1>&6
4870 echo "$ac_t""no" 1>&6
4875 echo $ac_n "checking for --${enablestring:-enable}-protocol""... $ac_c" 1>&6
4876 echo "configure:4877: checking for --${enablestring:-enable}-protocol" >&5
4878 # Check whether --enable-protocol or --disable-protocol was given.
4879 if test "${enable_protocol+set}" = set; then
4880 enableval
="$enable_protocol"
4882 if test "$enableval" = yes; then
4883 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4885 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4890 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4891 if test "x$LINE" != x
; then
4892 eval "DEFAULT_$LINE"
4897 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4902 eval "$ac_cv_use_protocol"
4903 if test "$no_cache" != 1; then
4904 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4907 if test "$wxUSE_PROTOCOL" = yes; then
4908 echo "$ac_t""yes" 1>&6
4910 echo "$ac_t""no" 1>&6
4915 echo $ac_n "checking for --${enablestring:-enable}-protocol_http""... $ac_c" 1>&6
4916 echo "configure:4917: checking for --${enablestring:-enable}-protocol_http" >&5
4918 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4919 if test "${enable_protocol_http+set}" = set; then
4920 enableval
="$enable_protocol_http"
4922 if test "$enableval" = yes; then
4923 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4925 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4930 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4931 if test "x$LINE" != x
; then
4932 eval "DEFAULT_$LINE"
4937 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4942 eval "$ac_cv_use_protocol_http"
4943 if test "$no_cache" != 1; then
4944 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4947 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4948 echo "$ac_t""yes" 1>&6
4950 echo "$ac_t""no" 1>&6
4955 echo $ac_n "checking for --${enablestring:-enable}-protocol_ftp""... $ac_c" 1>&6
4956 echo "configure:4957: checking for --${enablestring:-enable}-protocol_ftp" >&5
4958 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4959 if test "${enable_protocol_ftp+set}" = set; then
4960 enableval
="$enable_protocol_ftp"
4962 if test "$enableval" = yes; then
4963 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4965 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4970 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4971 if test "x$LINE" != x
; then
4972 eval "DEFAULT_$LINE"
4977 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4982 eval "$ac_cv_use_protocol_ftp"
4983 if test "$no_cache" != 1; then
4984 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4987 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4988 echo "$ac_t""yes" 1>&6
4990 echo "$ac_t""no" 1>&6
4995 echo $ac_n "checking for --${enablestring:-enable}-protocol_file""... $ac_c" 1>&6
4996 echo "configure:4997: checking for --${enablestring:-enable}-protocol_file" >&5
4998 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4999 if test "${enable_protocol_file+set}" = set; then
5000 enableval
="$enable_protocol_file"
5002 if test "$enableval" = yes; then
5003 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
5005 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
5010 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5011 if test "x$LINE" != x
; then
5012 eval "DEFAULT_$LINE"
5017 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5022 eval "$ac_cv_use_protocol_file"
5023 if test "$no_cache" != 1; then
5024 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5027 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5028 echo "$ac_t""yes" 1>&6
5030 echo "$ac_t""no" 1>&6
5038 echo $ac_n "checking for --${enablestring:-enable}-threads""... $ac_c" 1>&6
5039 echo "configure:5040: checking for --${enablestring:-enable}-threads" >&5
5041 # Check whether --enable-threads or --disable-threads was given.
5042 if test "${enable_threads+set}" = set; then
5043 enableval
="$enable_threads"
5045 if test "$enableval" = yes; then
5046 ac_cv_use_threads
='wxUSE_THREADS=yes'
5048 ac_cv_use_threads
='wxUSE_THREADS=no'
5053 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5054 if test "x$LINE" != x
; then
5055 eval "DEFAULT_$LINE"
5060 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5065 eval "$ac_cv_use_threads"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5070 if test "$wxUSE_THREADS" = yes; then
5071 echo "$ac_t""yes" 1>&6
5073 echo "$ac_t""no" 1>&6
5077 if test "$wxUSE_GUI" = "yes"; then
5082 echo $ac_n "checking for --${enablestring:-enable}-docview""... $ac_c" 1>&6
5083 echo "configure:5084: checking for --${enablestring:-enable}-docview" >&5
5085 # Check whether --enable-docview or --disable-docview was given.
5086 if test "${enable_docview+set}" = set; then
5087 enableval
="$enable_docview"
5089 if test "$enableval" = yes; then
5090 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5092 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5097 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5098 if test "x$LINE" != x
; then
5099 eval "DEFAULT_$LINE"
5104 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5109 eval "$ac_cv_use_docview"
5110 if test "$no_cache" != 1; then
5111 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5114 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5115 echo "$ac_t""yes" 1>&6
5117 echo "$ac_t""no" 1>&6
5122 echo $ac_n "checking for --${enablestring:-enable}-help""... $ac_c" 1>&6
5123 echo "configure:5124: checking for --${enablestring:-enable}-help" >&5
5125 # Check whether --enable-help or --disable-help was given.
5126 if test "${enable_help+set}" = set; then
5127 enableval
="$enable_help"
5129 if test "$enableval" = yes; then
5130 ac_cv_use_help
='wxUSE_HELP=yes'
5132 ac_cv_use_help
='wxUSE_HELP=no'
5137 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5138 if test "x$LINE" != x
; then
5139 eval "DEFAULT_$LINE"
5144 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5149 eval "$ac_cv_use_help"
5150 if test "$no_cache" != 1; then
5151 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5154 if test "$wxUSE_HELP" = yes; then
5155 echo "$ac_t""yes" 1>&6
5157 echo "$ac_t""no" 1>&6
5162 echo $ac_n "checking for --${enablestring:-enable}-mshtmlhelp""... $ac_c" 1>&6
5163 echo "configure:5164: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5165 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5166 if test "${enable_mshtmlhelp+set}" = set; then
5167 enableval
="$enable_mshtmlhelp"
5169 if test "$enableval" = yes; then
5170 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
5172 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
5177 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5178 if test "x$LINE" != x
; then
5179 eval "DEFAULT_$LINE"
5184 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5189 eval "$ac_cv_use_mshtmlhelp"
5190 if test "$no_cache" != 1; then
5191 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5194 if test "$wxUSE_MS_HTML_HELP" = yes; then
5195 echo "$ac_t""yes" 1>&6
5197 echo "$ac_t""no" 1>&6
5202 echo $ac_n "checking for --${enablestring:-enable}-html""... $ac_c" 1>&6
5203 echo "configure:5204: checking for --${enablestring:-enable}-html" >&5
5205 # Check whether --enable-html or --disable-html was given.
5206 if test "${enable_html+set}" = set; then
5207 enableval
="$enable_html"
5209 if test "$enableval" = yes; then
5210 ac_cv_use_html
='wxUSE_HTML=yes'
5212 ac_cv_use_html
='wxUSE_HTML=no'
5217 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5218 if test "x$LINE" != x
; then
5219 eval "DEFAULT_$LINE"
5224 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5229 eval "$ac_cv_use_html"
5230 if test "$no_cache" != 1; then
5231 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5234 if test "$wxUSE_HTML" = yes; then
5235 echo "$ac_t""yes" 1>&6
5237 echo "$ac_t""no" 1>&6
5242 echo $ac_n "checking for --${enablestring:-enable}-htmlhelp""... $ac_c" 1>&6
5243 echo "configure:5244: checking for --${enablestring:-enable}-htmlhelp" >&5
5245 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5246 if test "${enable_htmlhelp+set}" = set; then
5247 enableval
="$enable_htmlhelp"
5249 if test "$enableval" = yes; then
5250 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5252 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5257 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5258 if test "x$LINE" != x
; then
5259 eval "DEFAULT_$LINE"
5264 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5269 eval "$ac_cv_use_htmlhelp"
5270 if test "$no_cache" != 1; then
5271 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5274 if test "$wxUSE_WXHTML_HELP" = yes; then
5275 echo "$ac_t""yes" 1>&6
5277 echo "$ac_t""no" 1>&6
5282 echo $ac_n "checking for --${enablestring:-enable}-constraints""... $ac_c" 1>&6
5283 echo "configure:5284: checking for --${enablestring:-enable}-constraints" >&5
5285 # Check whether --enable-constraints or --disable-constraints was given.
5286 if test "${enable_constraints+set}" = set; then
5287 enableval
="$enable_constraints"
5289 if test "$enableval" = yes; then
5290 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5292 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5297 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x
; then
5299 eval "DEFAULT_$LINE"
5304 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5309 eval "$ac_cv_use_constraints"
5310 if test "$no_cache" != 1; then
5311 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5314 if test "$wxUSE_CONSTRAINTS" = yes; then
5315 echo "$ac_t""yes" 1>&6
5317 echo "$ac_t""no" 1>&6
5322 echo $ac_n "checking for --${enablestring:-enable}-printarch""... $ac_c" 1>&6
5323 echo "configure:5324: checking for --${enablestring:-enable}-printarch" >&5
5325 # Check whether --enable-printarch or --disable-printarch was given.
5326 if test "${enable_printarch+set}" = set; then
5327 enableval
="$enable_printarch"
5329 if test "$enableval" = yes; then
5330 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5332 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5337 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5338 if test "x$LINE" != x
; then
5339 eval "DEFAULT_$LINE"
5344 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5349 eval "$ac_cv_use_printarch"
5350 if test "$no_cache" != 1; then
5351 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5354 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5355 echo "$ac_t""yes" 1>&6
5357 echo "$ac_t""no" 1>&6
5362 echo $ac_n "checking for --${enablestring:-enable}-mdi""... $ac_c" 1>&6
5363 echo "configure:5364: checking for --${enablestring:-enable}-mdi" >&5
5365 # Check whether --enable-mdi or --disable-mdi was given.
5366 if test "${enable_mdi+set}" = set; then
5367 enableval
="$enable_mdi"
5369 if test "$enableval" = yes; then
5370 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5372 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5377 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5378 if test "x$LINE" != x
; then
5379 eval "DEFAULT_$LINE"
5384 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5389 eval "$ac_cv_use_mdi"
5390 if test "$no_cache" != 1; then
5391 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5394 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5395 echo "$ac_t""yes" 1>&6
5397 echo "$ac_t""no" 1>&6
5402 echo $ac_n "checking for --${enablestring:-enable}-loggui""... $ac_c" 1>&6
5403 echo "configure:5404: checking for --${enablestring:-enable}-loggui" >&5
5405 # Check whether --enable-loggui or --disable-loggui was given.
5406 if test "${enable_loggui+set}" = set; then
5407 enableval
="$enable_loggui"
5409 if test "$enableval" = yes; then
5410 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5412 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5417 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5418 if test "x$LINE" != x
; then
5419 eval "DEFAULT_$LINE"
5424 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5429 eval "$ac_cv_use_loggui"
5430 if test "$no_cache" != 1; then
5431 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5434 if test "$wxUSE_LOGGUI" = yes; then
5435 echo "$ac_t""yes" 1>&6
5437 echo "$ac_t""no" 1>&6
5442 echo $ac_n "checking for --${enablestring:-enable}-logwin""... $ac_c" 1>&6
5443 echo "configure:5444: checking for --${enablestring:-enable}-logwin" >&5
5445 # Check whether --enable-logwin or --disable-logwin was given.
5446 if test "${enable_logwin+set}" = set; then
5447 enableval
="$enable_logwin"
5449 if test "$enableval" = yes; then
5450 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5452 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5457 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5458 if test "x$LINE" != x
; then
5459 eval "DEFAULT_$LINE"
5464 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5469 eval "$ac_cv_use_logwin"
5470 if test "$no_cache" != 1; then
5471 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5474 if test "$wxUSE_LOGWINDOW" = yes; then
5475 echo "$ac_t""yes" 1>&6
5477 echo "$ac_t""no" 1>&6
5482 echo $ac_n "checking for --${enablestring:-enable}-logdialog""... $ac_c" 1>&6
5483 echo "configure:5484: checking for --${enablestring:-enable}-logdialog" >&5
5485 # Check whether --enable-logdialog or --disable-logdialog was given.
5486 if test "${enable_logdialog+set}" = set; then
5487 enableval
="$enable_logdialog"
5489 if test "$enableval" = yes; then
5490 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5492 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5497 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5498 if test "x$LINE" != x
; then
5499 eval "DEFAULT_$LINE"
5504 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5509 eval "$ac_cv_use_logdialog"
5510 if test "$no_cache" != 1; then
5511 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5514 if test "$wxUSE_LOGDIALOG" = yes; then
5515 echo "$ac_t""yes" 1>&6
5517 echo "$ac_t""no" 1>&6
5523 echo $ac_n "checking for --${enablestring:-enable}-postscript""... $ac_c" 1>&6
5524 echo "configure:5525: checking for --${enablestring:-enable}-postscript" >&5
5526 # Check whether --enable-postscript or --disable-postscript was given.
5527 if test "${enable_postscript+set}" = set; then
5528 enableval
="$enable_postscript"
5530 if test "$enableval" = yes; then
5531 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5533 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5538 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x
; then
5540 eval "DEFAULT_$LINE"
5545 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5550 eval "$ac_cv_use_postscript"
5551 if test "$no_cache" != 1; then
5552 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5555 if test "$wxUSE_POSTSCRIPT" = yes; then
5556 echo "$ac_t""yes" 1>&6
5558 echo "$ac_t""no" 1>&6
5566 echo $ac_n "checking for --${enablestring:-enable}-prologio""... $ac_c" 1>&6
5567 echo "configure:5568: checking for --${enablestring:-enable}-prologio" >&5
5569 # Check whether --enable-prologio or --disable-prologio was given.
5570 if test "${enable_prologio+set}" = set; then
5571 enableval
="$enable_prologio"
5573 if test "$enableval" = yes; then
5574 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5576 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5581 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5582 if test "x$LINE" != x
; then
5583 eval "DEFAULT_$LINE"
5588 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5593 eval "$ac_cv_use_prologio"
5594 if test "$no_cache" != 1; then
5595 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5598 if test "$wxUSE_PROLOGIO" = yes; then
5599 echo "$ac_t""yes" 1>&6
5601 echo "$ac_t""no" 1>&6
5606 echo $ac_n "checking for --${enablestring:-enable}-resources""... $ac_c" 1>&6
5607 echo "configure:5608: checking for --${enablestring:-enable}-resources" >&5
5609 # Check whether --enable-resources or --disable-resources was given.
5610 if test "${enable_resources+set}" = set; then
5611 enableval
="$enable_resources"
5613 if test "$enableval" = yes; then
5614 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5616 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5621 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5622 if test "x$LINE" != x
; then
5623 eval "DEFAULT_$LINE"
5628 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5633 eval "$ac_cv_use_resources"
5634 if test "$no_cache" != 1; then
5635 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5638 if test "$wxUSE_RESOURCES" = yes; then
5639 echo "$ac_t""yes" 1>&6
5641 echo "$ac_t""no" 1>&6
5648 echo $ac_n "checking for --${enablestring:-enable}-clipboard""... $ac_c" 1>&6
5649 echo "configure:5650: checking for --${enablestring:-enable}-clipboard" >&5
5651 # Check whether --enable-clipboard or --disable-clipboard was given.
5652 if test "${enable_clipboard+set}" = set; then
5653 enableval
="$enable_clipboard"
5655 if test "$enableval" = yes; then
5656 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5658 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5663 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5664 if test "x$LINE" != x
; then
5665 eval "DEFAULT_$LINE"
5670 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5675 eval "$ac_cv_use_clipboard"
5676 if test "$no_cache" != 1; then
5677 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5680 if test "$wxUSE_CLIPBOARD" = yes; then
5681 echo "$ac_t""yes" 1>&6
5683 echo "$ac_t""no" 1>&6
5688 echo $ac_n "checking for --${enablestring:-enable}-dnd""... $ac_c" 1>&6
5689 echo "configure:5690: checking for --${enablestring:-enable}-dnd" >&5
5691 # Check whether --enable-dnd or --disable-dnd was given.
5692 if test "${enable_dnd+set}" = set; then
5693 enableval
="$enable_dnd"
5695 if test "$enableval" = yes; then
5696 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5698 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5703 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5704 if test "x$LINE" != x
; then
5705 eval "DEFAULT_$LINE"
5710 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5715 eval "$ac_cv_use_dnd"
5716 if test "$no_cache" != 1; then
5717 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5720 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5721 echo "$ac_t""yes" 1>&6
5723 echo "$ac_t""no" 1>&6
5728 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
5729 echo "configure:5730: checking for --${enablestring:-enable}-metafile" >&5
5731 # Check whether --enable-metafile or --disable-metafile was given.
5732 if test "${enable_metafile+set}" = set; then
5733 enableval
="$enable_metafile"
5735 if test "$enableval" = yes; then
5736 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5738 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5743 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x
; then
5745 eval "DEFAULT_$LINE"
5750 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5755 eval "$ac_cv_use_metafile"
5756 if test "$no_cache" != 1; then
5757 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5760 if test "$wxUSE_METAFILE" = yes; then
5761 echo "$ac_t""yes" 1>&6
5763 echo "$ac_t""no" 1>&6
5771 echo $ac_n "checking for --${enablestring:-enable}-controls""... $ac_c" 1>&6
5772 echo "configure:5773: checking for --${enablestring:-enable}-controls" >&5
5774 # Check whether --enable-controls or --disable-controls was given.
5775 if test "${enable_controls+set}" = set; then
5776 enableval
="$enable_controls"
5778 if test "$enableval" = yes; then
5779 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5781 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5786 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5787 if test "x$LINE" != x
; then
5788 eval "DEFAULT_$LINE"
5793 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5798 eval "$ac_cv_use_controls"
5799 if test "$no_cache" != 1; then
5800 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5803 if test "$wxUSE_CONTROLS" = yes; then
5804 echo "$ac_t""yes" 1>&6
5806 echo "$ac_t""no" 1>&6
5810 if test "$wxUSE_CONTROLS" = "yes"; then
5811 DEFAULT_wxUSE_ACCEL
=yes
5812 DEFAULT_wxUSE_BMPBUTTON
=yes
5813 DEFAULT_wxUSE_BUTTON
=yes
5814 DEFAULT_wxUSE_CALCTRL
=no
5815 DEFAULT_wxUSE_CARET
=yes
5816 DEFAULT_wxUSE_COMBOBOX
=yes
5817 DEFAULT_wxUSE_CHECKBOX
=yes
5818 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5819 DEFAULT_wxUSE_CHOICE
=yes
5820 DEFAULT_wxUSE_GAUGE
=yes
5821 DEFAULT_wxUSE_GRID
=yes
5822 DEFAULT_wxUSE_IMAGLIST
=yes
5823 DEFAULT_wxUSE_LISTBOX
=yes
5824 DEFAULT_wxUSE_LISTCTRL
=yes
5825 DEFAULT_wxUSE_NOTEBOOK
=yes
5826 DEFAULT_wxUSE_RADIOBOX
=yes
5827 DEFAULT_wxUSE_RADIOBTN
=yes
5828 DEFAULT_wxUSE_SASH
=yes
5829 DEFAULT_wxUSE_SCROLLBAR
=yes
5830 DEFAULT_wxUSE_SLIDER
=yes
5831 DEFAULT_wxUSE_SPINBTN
=yes
5832 DEFAULT_wxUSE_SPINCTRL
=yes
5833 DEFAULT_wxUSE_SPLITTER
=yes
5834 DEFAULT_wxUSE_STATBMP
=yes
5835 DEFAULT_wxUSE_STATBOX
=yes
5836 DEFAULT_wxUSE_STATLINE
=yes
5837 DEFAULT_wxUSE_STATUSBAR
=yes
5838 DEFAULT_wxUSE_TAB_DIALOG
=yes
5839 DEFAULT_wxUSE_TOGGLEBTN
=yes
5840 DEFAULT_wxUSE_TOOLBAR
=yes
5841 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5842 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5843 DEFAULT_wxUSE_TOOLTIPS
=yes
5844 DEFAULT_wxUSE_TREECTRL
=yes
5845 DEFAULT_wxUSE_POPUPWIN
=yes
5846 DEFAULT_wxUSE_TIPWINDOW
=yes
5847 elif test "$wxUSE_CONTROLS" = "no"; then
5848 DEFAULT_wxUSE_ACCEL
=no
5849 DEFAULT_wxUSE_BMPBUTTON
=no
5850 DEFAULT_wxUSE_BUTTON
=no
5851 DEFAULT_wxUSE_CALCTRL
=no
5852 DEFAULT_wxUSE_CARET
=no
5853 DEFAULT_wxUSE_COMBOBOX
=no
5854 DEFAULT_wxUSE_CHECKBOX
=no
5855 DEFAULT_wxUSE_CHECKLISTBOX
=no
5856 DEFAULT_wxUSE_CHOICE
=no
5857 DEFAULT_wxUSE_GAUGE
=no
5858 DEFAULT_wxUSE_GRID
=no
5859 DEFAULT_wxUSE_IMAGLIST
=no
5860 DEFAULT_wxUSE_LISTBOX
=no
5861 DEFAULT_wxUSE_LISTCTRL
=no
5862 DEFAULT_wxUSE_NOTEBOOK
=no
5863 DEFAULT_wxUSE_RADIOBOX
=no
5864 DEFAULT_wxUSE_RADIOBTN
=no
5865 DEFAULT_wxUSE_SASH
=no
5866 DEFAULT_wxUSE_SCROLLBAR
=no
5867 DEFAULT_wxUSE_SLIDER
=no
5868 DEFAULT_wxUSE_SPINBTN
=no
5869 DEFAULT_wxUSE_SPINCTRL
=no
5870 DEFAULT_wxUSE_SPLITTER
=no
5871 DEFAULT_wxUSE_STATBMP
=no
5872 DEFAULT_wxUSE_STATBOX
=no
5873 DEFAULT_wxUSE_STATLINE
=no
5874 DEFAULT_wxUSE_STATUSBAR
=no
5875 DEFAULT_wxUSE_TAB_DIALOG
=no
5876 DEFAULT_wxUSE_TOGGLEBTN
=no
5877 DEFAULT_wxUSE_TOOLBAR
=no
5878 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5879 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5880 DEFAULT_wxUSE_TOOLTIPS
=no
5881 DEFAULT_wxUSE_TREECTRL
=no
5882 DEFAULT_wxUSE_POPUPWIN
=no
5883 DEFAULT_wxUSE_TIPWINDOW
=no
5886 ## FIXME: This is a blatant hack
5887 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
5888 wxUSE_PRINTING_ARCHITECTURE
=no
5891 wxUSE_DRAG_AND_DROP
=no
5893 # Generic notebook requires tab dialog
5894 DEFAULT_wxUSE_TABDIALOG
=yes
5895 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5896 DEFAULT_wxUSE_GAUGE
=no
5897 DEFAULT_wxUSE_SCROLLBAR
=no
5898 DEFAULT_wxUSE_COMBOBOX
=no
5899 DEFAULT_wxUSE_CALCTRL
=no
5900 DEFAULT_wxUSE_SPINBTN
=no
5901 DEFAULT_wxUSE_SPINCTRL
=no
5902 DEFAULT_wxUSE_TOOLTIPS
=no
5903 DEFAULT_wxUSE_DRAGIMAGE
=no
5904 DEFAULT_wxUSE_FINDREPLDLG
=no
5905 DEFAULT_wxUSE_FONTDLG
=no
5906 DEFAULT_wxUSE_GRID
=no
5907 DEFAULT_wxUSE_NUMBERDLG
=no
5908 DEFAULT_wxUSE_PROGRESSDLG
=no
5909 DEFAULT_wxUSE_SASH
=no
5910 DEFAULT_wxUSE_SPLITTER
=no
5911 DEFAULT_wxUSE_WIZARDDLG
=no
5912 DEFAULT_wxUSE_SPLITTER
=no
5913 DEFAULT_wxUSE_STARTUP_TIPS
=no
5918 echo $ac_n "checking for --${enablestring:-enable}-accel""... $ac_c" 1>&6
5919 echo "configure:5920: checking for --${enablestring:-enable}-accel" >&5
5921 # Check whether --enable-accel or --disable-accel was given.
5922 if test "${enable_accel+set}" = set; then
5923 enableval
="$enable_accel"
5925 if test "$enableval" = yes; then
5926 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5928 ac_cv_use_accel
='wxUSE_ACCEL=no'
5933 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5934 if test "x$LINE" != x
; then
5935 eval "DEFAULT_$LINE"
5940 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5945 eval "$ac_cv_use_accel"
5946 if test "$no_cache" != 1; then
5947 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5950 if test "$wxUSE_ACCEL" = yes; then
5951 echo "$ac_t""yes" 1>&6
5953 echo "$ac_t""no" 1>&6
5958 echo $ac_n "checking for --${enablestring:-enable}-button""... $ac_c" 1>&6
5959 echo "configure:5960: checking for --${enablestring:-enable}-button" >&5
5961 # Check whether --enable-button or --disable-button was given.
5962 if test "${enable_button+set}" = set; then
5963 enableval
="$enable_button"
5965 if test "$enableval" = yes; then
5966 ac_cv_use_button
='wxUSE_BUTTON=yes'
5968 ac_cv_use_button
='wxUSE_BUTTON=no'
5973 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5974 if test "x$LINE" != x
; then
5975 eval "DEFAULT_$LINE"
5980 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5985 eval "$ac_cv_use_button"
5986 if test "$no_cache" != 1; then
5987 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5990 if test "$wxUSE_BUTTON" = yes; then
5991 echo "$ac_t""yes" 1>&6
5993 echo "$ac_t""no" 1>&6
5998 echo $ac_n "checking for --${enablestring:-enable}-bmpbutton""... $ac_c" 1>&6
5999 echo "configure:6000: checking for --${enablestring:-enable}-bmpbutton" >&5
6001 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6002 if test "${enable_bmpbutton+set}" = set; then
6003 enableval
="$enable_bmpbutton"
6005 if test "$enableval" = yes; then
6006 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
6008 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
6013 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6014 if test "x$LINE" != x
; then
6015 eval "DEFAULT_$LINE"
6020 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6025 eval "$ac_cv_use_bmpbutton"
6026 if test "$no_cache" != 1; then
6027 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6030 if test "$wxUSE_BMPBUTTON" = yes; then
6031 echo "$ac_t""yes" 1>&6
6033 echo "$ac_t""no" 1>&6
6038 echo $ac_n "checking for --${enablestring:-enable}-calendar""... $ac_c" 1>&6
6039 echo "configure:6040: checking for --${enablestring:-enable}-calendar" >&5
6041 # Check whether --enable-calendar or --disable-calendar was given.
6042 if test "${enable_calendar+set}" = set; then
6043 enableval
="$enable_calendar"
6045 if test "$enableval" = yes; then
6046 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
6048 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
6053 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6054 if test "x$LINE" != x
; then
6055 eval "DEFAULT_$LINE"
6060 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6065 eval "$ac_cv_use_calendar"
6066 if test "$no_cache" != 1; then
6067 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6070 if test "$wxUSE_CALCTRL" = yes; then
6071 echo "$ac_t""yes" 1>&6
6073 echo "$ac_t""no" 1>&6
6078 echo $ac_n "checking for --${enablestring:-enable}-caret""... $ac_c" 1>&6
6079 echo "configure:6080: checking for --${enablestring:-enable}-caret" >&5
6081 # Check whether --enable-caret or --disable-caret was given.
6082 if test "${enable_caret+set}" = set; then
6083 enableval
="$enable_caret"
6085 if test "$enableval" = yes; then
6086 ac_cv_use_caret
='wxUSE_CARET=yes'
6088 ac_cv_use_caret
='wxUSE_CARET=no'
6093 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6094 if test "x$LINE" != x
; then
6095 eval "DEFAULT_$LINE"
6100 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6105 eval "$ac_cv_use_caret"
6106 if test "$no_cache" != 1; then
6107 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6110 if test "$wxUSE_CARET" = yes; then
6111 echo "$ac_t""yes" 1>&6
6113 echo "$ac_t""no" 1>&6
6118 echo $ac_n "checking for --${enablestring:-enable}-checkbox""... $ac_c" 1>&6
6119 echo "configure:6120: checking for --${enablestring:-enable}-checkbox" >&5
6121 # Check whether --enable-checkbox or --disable-checkbox was given.
6122 if test "${enable_checkbox+set}" = set; then
6123 enableval
="$enable_checkbox"
6125 if test "$enableval" = yes; then
6126 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
6128 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
6133 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6134 if test "x$LINE" != x
; then
6135 eval "DEFAULT_$LINE"
6140 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6145 eval "$ac_cv_use_checkbox"
6146 if test "$no_cache" != 1; then
6147 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6150 if test "$wxUSE_CHECKBOX" = yes; then
6151 echo "$ac_t""yes" 1>&6
6153 echo "$ac_t""no" 1>&6
6158 echo $ac_n "checking for --${enablestring:-enable}-checklst""... $ac_c" 1>&6
6159 echo "configure:6160: checking for --${enablestring:-enable}-checklst" >&5
6161 # Check whether --enable-checklst or --disable-checklst was given.
6162 if test "${enable_checklst+set}" = set; then
6163 enableval
="$enable_checklst"
6165 if test "$enableval" = yes; then
6166 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
6168 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
6173 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6174 if test "x$LINE" != x
; then
6175 eval "DEFAULT_$LINE"
6180 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6185 eval "$ac_cv_use_checklst"
6186 if test "$no_cache" != 1; then
6187 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6190 if test "$wxUSE_CHECKLST" = yes; then
6191 echo "$ac_t""yes" 1>&6
6193 echo "$ac_t""no" 1>&6
6198 echo $ac_n "checking for --${enablestring:-enable}-choice""... $ac_c" 1>&6
6199 echo "configure:6200: checking for --${enablestring:-enable}-choice" >&5
6201 # Check whether --enable-choice or --disable-choice was given.
6202 if test "${enable_choice+set}" = set; then
6203 enableval
="$enable_choice"
6205 if test "$enableval" = yes; then
6206 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6208 ac_cv_use_choice
='wxUSE_CHOICE=no'
6213 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6214 if test "x$LINE" != x
; then
6215 eval "DEFAULT_$LINE"
6220 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6225 eval "$ac_cv_use_choice"
6226 if test "$no_cache" != 1; then
6227 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6230 if test "$wxUSE_CHOICE" = yes; then
6231 echo "$ac_t""yes" 1>&6
6233 echo "$ac_t""no" 1>&6
6238 echo $ac_n "checking for --${enablestring:-enable}-combobox""... $ac_c" 1>&6
6239 echo "configure:6240: checking for --${enablestring:-enable}-combobox" >&5
6241 # Check whether --enable-combobox or --disable-combobox was given.
6242 if test "${enable_combobox+set}" = set; then
6243 enableval
="$enable_combobox"
6245 if test "$enableval" = yes; then
6246 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6248 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6253 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6254 if test "x$LINE" != x
; then
6255 eval "DEFAULT_$LINE"
6260 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6265 eval "$ac_cv_use_combobox"
6266 if test "$no_cache" != 1; then
6267 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6270 if test "$wxUSE_COMBOBOX" = yes; then
6271 echo "$ac_t""yes" 1>&6
6273 echo "$ac_t""no" 1>&6
6278 echo $ac_n "checking for --${enablestring:-enable}-display""... $ac_c" 1>&6
6279 echo "configure:6280: checking for --${enablestring:-enable}-display" >&5
6281 # Check whether --enable-display or --disable-display was given.
6282 if test "${enable_display+set}" = set; then
6283 enableval
="$enable_display"
6285 if test "$enableval" = yes; then
6286 ac_cv_use_display
='wxUSE_DISPLAY=yes'
6288 ac_cv_use_display
='wxUSE_DISPLAY=no'
6293 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6294 if test "x$LINE" != x
; then
6295 eval "DEFAULT_$LINE"
6300 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6305 eval "$ac_cv_use_display"
6306 if test "$no_cache" != 1; then
6307 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6310 if test "$wxUSE_DISPLAY" = yes; then
6311 echo "$ac_t""yes" 1>&6
6313 echo "$ac_t""no" 1>&6
6318 echo $ac_n "checking for --${enablestring:-enable}-gauge""... $ac_c" 1>&6
6319 echo "configure:6320: checking for --${enablestring:-enable}-gauge" >&5
6321 # Check whether --enable-gauge or --disable-gauge was given.
6322 if test "${enable_gauge+set}" = set; then
6323 enableval
="$enable_gauge"
6325 if test "$enableval" = yes; then
6326 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6328 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6333 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6334 if test "x$LINE" != x
; then
6335 eval "DEFAULT_$LINE"
6340 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6345 eval "$ac_cv_use_gauge"
6346 if test "$no_cache" != 1; then
6347 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6350 if test "$wxUSE_GAUGE" = yes; then
6351 echo "$ac_t""yes" 1>&6
6353 echo "$ac_t""no" 1>&6
6358 echo $ac_n "checking for --${enablestring:-enable}-grid""... $ac_c" 1>&6
6359 echo "configure:6360: checking for --${enablestring:-enable}-grid" >&5
6361 # Check whether --enable-grid or --disable-grid was given.
6362 if test "${enable_grid+set}" = set; then
6363 enableval
="$enable_grid"
6365 if test "$enableval" = yes; then
6366 ac_cv_use_grid
='wxUSE_GRID=yes'
6368 ac_cv_use_grid
='wxUSE_GRID=no'
6373 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6374 if test "x$LINE" != x
; then
6375 eval "DEFAULT_$LINE"
6380 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6385 eval "$ac_cv_use_grid"
6386 if test "$no_cache" != 1; then
6387 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6390 if test "$wxUSE_GRID" = yes; then
6391 echo "$ac_t""yes" 1>&6
6393 echo "$ac_t""no" 1>&6
6398 echo $ac_n "checking for --${enablestring:-enable}-imaglist""... $ac_c" 1>&6
6399 echo "configure:6400: checking for --${enablestring:-enable}-imaglist" >&5
6401 # Check whether --enable-imaglist or --disable-imaglist was given.
6402 if test "${enable_imaglist+set}" = set; then
6403 enableval
="$enable_imaglist"
6405 if test "$enableval" = yes; then
6406 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6408 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6413 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6414 if test "x$LINE" != x
; then
6415 eval "DEFAULT_$LINE"
6420 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6425 eval "$ac_cv_use_imaglist"
6426 if test "$no_cache" != 1; then
6427 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6430 if test "$wxUSE_IMAGLIST" = yes; then
6431 echo "$ac_t""yes" 1>&6
6433 echo "$ac_t""no" 1>&6
6438 echo $ac_n "checking for --${enablestring:-enable}-listbox""... $ac_c" 1>&6
6439 echo "configure:6440: checking for --${enablestring:-enable}-listbox" >&5
6441 # Check whether --enable-listbox or --disable-listbox was given.
6442 if test "${enable_listbox+set}" = set; then
6443 enableval
="$enable_listbox"
6445 if test "$enableval" = yes; then
6446 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6448 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6453 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6454 if test "x$LINE" != x
; then
6455 eval "DEFAULT_$LINE"
6460 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6465 eval "$ac_cv_use_listbox"
6466 if test "$no_cache" != 1; then
6467 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6470 if test "$wxUSE_LISTBOX" = yes; then
6471 echo "$ac_t""yes" 1>&6
6473 echo "$ac_t""no" 1>&6
6478 echo $ac_n "checking for --${enablestring:-enable}-listctrl""... $ac_c" 1>&6
6479 echo "configure:6480: checking for --${enablestring:-enable}-listctrl" >&5
6481 # Check whether --enable-listctrl or --disable-listctrl was given.
6482 if test "${enable_listctrl+set}" = set; then
6483 enableval
="$enable_listctrl"
6485 if test "$enableval" = yes; then
6486 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6488 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6493 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6494 if test "x$LINE" != x
; then
6495 eval "DEFAULT_$LINE"
6500 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6505 eval "$ac_cv_use_listctrl"
6506 if test "$no_cache" != 1; then
6507 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6510 if test "$wxUSE_LISTCTRL" = yes; then
6511 echo "$ac_t""yes" 1>&6
6513 echo "$ac_t""no" 1>&6
6518 echo $ac_n "checking for --${enablestring:-enable}-notebook""... $ac_c" 1>&6
6519 echo "configure:6520: checking for --${enablestring:-enable}-notebook" >&5
6521 # Check whether --enable-notebook or --disable-notebook was given.
6522 if test "${enable_notebook+set}" = set; then
6523 enableval
="$enable_notebook"
6525 if test "$enableval" = yes; then
6526 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6528 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6533 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6534 if test "x$LINE" != x
; then
6535 eval "DEFAULT_$LINE"
6540 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6545 eval "$ac_cv_use_notebook"
6546 if test "$no_cache" != 1; then
6547 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6550 if test "$wxUSE_NOTEBOOK" = yes; then
6551 echo "$ac_t""yes" 1>&6
6553 echo "$ac_t""no" 1>&6
6558 echo $ac_n "checking for --${enablestring:-enable}-radiobox""... $ac_c" 1>&6
6559 echo "configure:6560: checking for --${enablestring:-enable}-radiobox" >&5
6561 # Check whether --enable-radiobox or --disable-radiobox was given.
6562 if test "${enable_radiobox+set}" = set; then
6563 enableval
="$enable_radiobox"
6565 if test "$enableval" = yes; then
6566 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6568 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6573 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6574 if test "x$LINE" != x
; then
6575 eval "DEFAULT_$LINE"
6580 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6585 eval "$ac_cv_use_radiobox"
6586 if test "$no_cache" != 1; then
6587 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6590 if test "$wxUSE_RADIOBOX" = yes; then
6591 echo "$ac_t""yes" 1>&6
6593 echo "$ac_t""no" 1>&6
6598 echo $ac_n "checking for --${enablestring:-enable}-radiobtn""... $ac_c" 1>&6
6599 echo "configure:6600: checking for --${enablestring:-enable}-radiobtn" >&5
6601 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6602 if test "${enable_radiobtn+set}" = set; then
6603 enableval
="$enable_radiobtn"
6605 if test "$enableval" = yes; then
6606 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6608 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6613 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6614 if test "x$LINE" != x
; then
6615 eval "DEFAULT_$LINE"
6620 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6625 eval "$ac_cv_use_radiobtn"
6626 if test "$no_cache" != 1; then
6627 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6630 if test "$wxUSE_RADIOBTN" = yes; then
6631 echo "$ac_t""yes" 1>&6
6633 echo "$ac_t""no" 1>&6
6638 echo $ac_n "checking for --${enablestring:-enable}-sash""... $ac_c" 1>&6
6639 echo "configure:6640: checking for --${enablestring:-enable}-sash" >&5
6641 # Check whether --enable-sash or --disable-sash was given.
6642 if test "${enable_sash+set}" = set; then
6643 enableval
="$enable_sash"
6645 if test "$enableval" = yes; then
6646 ac_cv_use_sash
='wxUSE_SASH=yes'
6648 ac_cv_use_sash
='wxUSE_SASH=no'
6653 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6654 if test "x$LINE" != x
; then
6655 eval "DEFAULT_$LINE"
6660 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6665 eval "$ac_cv_use_sash"
6666 if test "$no_cache" != 1; then
6667 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6670 if test "$wxUSE_SASH" = yes; then
6671 echo "$ac_t""yes" 1>&6
6673 echo "$ac_t""no" 1>&6
6678 echo $ac_n "checking for --${enablestring:-enable}-scrollbar""... $ac_c" 1>&6
6679 echo "configure:6680: checking for --${enablestring:-enable}-scrollbar" >&5
6681 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6682 if test "${enable_scrollbar+set}" = set; then
6683 enableval
="$enable_scrollbar"
6685 if test "$enableval" = yes; then
6686 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6688 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6693 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6694 if test "x$LINE" != x
; then
6695 eval "DEFAULT_$LINE"
6700 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6705 eval "$ac_cv_use_scrollbar"
6706 if test "$no_cache" != 1; then
6707 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6710 if test "$wxUSE_SCROLLBAR" = yes; then
6711 echo "$ac_t""yes" 1>&6
6713 echo "$ac_t""no" 1>&6
6718 echo $ac_n "checking for --${enablestring:-enable}-slider""... $ac_c" 1>&6
6719 echo "configure:6720: checking for --${enablestring:-enable}-slider" >&5
6721 # Check whether --enable-slider or --disable-slider was given.
6722 if test "${enable_slider+set}" = set; then
6723 enableval
="$enable_slider"
6725 if test "$enableval" = yes; then
6726 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6728 ac_cv_use_slider
='wxUSE_SLIDER=no'
6733 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6734 if test "x$LINE" != x
; then
6735 eval "DEFAULT_$LINE"
6740 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6745 eval "$ac_cv_use_slider"
6746 if test "$no_cache" != 1; then
6747 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6750 if test "$wxUSE_SLIDER" = yes; then
6751 echo "$ac_t""yes" 1>&6
6753 echo "$ac_t""no" 1>&6
6758 echo $ac_n "checking for --${enablestring:-enable}-spinbtn""... $ac_c" 1>&6
6759 echo "configure:6760: checking for --${enablestring:-enable}-spinbtn" >&5
6761 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6762 if test "${enable_spinbtn+set}" = set; then
6763 enableval
="$enable_spinbtn"
6765 if test "$enableval" = yes; then
6766 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6768 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6773 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6774 if test "x$LINE" != x
; then
6775 eval "DEFAULT_$LINE"
6780 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6785 eval "$ac_cv_use_spinbtn"
6786 if test "$no_cache" != 1; then
6787 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6790 if test "$wxUSE_SPINBTN" = yes; then
6791 echo "$ac_t""yes" 1>&6
6793 echo "$ac_t""no" 1>&6
6798 echo $ac_n "checking for --${enablestring:-enable}-spinctrl""... $ac_c" 1>&6
6799 echo "configure:6800: checking for --${enablestring:-enable}-spinctrl" >&5
6801 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6802 if test "${enable_spinctrl+set}" = set; then
6803 enableval
="$enable_spinctrl"
6805 if test "$enableval" = yes; then
6806 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6808 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6813 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6814 if test "x$LINE" != x
; then
6815 eval "DEFAULT_$LINE"
6820 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6825 eval "$ac_cv_use_spinctrl"
6826 if test "$no_cache" != 1; then
6827 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6830 if test "$wxUSE_SPINCTRL" = yes; then
6831 echo "$ac_t""yes" 1>&6
6833 echo "$ac_t""no" 1>&6
6838 echo $ac_n "checking for --${enablestring:-enable}-splitter""... $ac_c" 1>&6
6839 echo "configure:6840: checking for --${enablestring:-enable}-splitter" >&5
6841 # Check whether --enable-splitter or --disable-splitter was given.
6842 if test "${enable_splitter+set}" = set; then
6843 enableval
="$enable_splitter"
6845 if test "$enableval" = yes; then
6846 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6848 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6853 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6854 if test "x$LINE" != x
; then
6855 eval "DEFAULT_$LINE"
6860 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6865 eval "$ac_cv_use_splitter"
6866 if test "$no_cache" != 1; then
6867 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6870 if test "$wxUSE_SPLITTER" = yes; then
6871 echo "$ac_t""yes" 1>&6
6873 echo "$ac_t""no" 1>&6
6878 echo $ac_n "checking for --${enablestring:-enable}-statbmp""... $ac_c" 1>&6
6879 echo "configure:6880: checking for --${enablestring:-enable}-statbmp" >&5
6881 # Check whether --enable-statbmp or --disable-statbmp was given.
6882 if test "${enable_statbmp+set}" = set; then
6883 enableval
="$enable_statbmp"
6885 if test "$enableval" = yes; then
6886 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6888 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6893 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6894 if test "x$LINE" != x
; then
6895 eval "DEFAULT_$LINE"
6900 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6905 eval "$ac_cv_use_statbmp"
6906 if test "$no_cache" != 1; then
6907 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6910 if test "$wxUSE_STATBMP" = yes; then
6911 echo "$ac_t""yes" 1>&6
6913 echo "$ac_t""no" 1>&6
6918 echo $ac_n "checking for --${enablestring:-enable}-statbox""... $ac_c" 1>&6
6919 echo "configure:6920: checking for --${enablestring:-enable}-statbox" >&5
6921 # Check whether --enable-statbox or --disable-statbox was given.
6922 if test "${enable_statbox+set}" = set; then
6923 enableval
="$enable_statbox"
6925 if test "$enableval" = yes; then
6926 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6928 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6933 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6934 if test "x$LINE" != x
; then
6935 eval "DEFAULT_$LINE"
6940 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6945 eval "$ac_cv_use_statbox"
6946 if test "$no_cache" != 1; then
6947 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6950 if test "$wxUSE_STATBOX" = yes; then
6951 echo "$ac_t""yes" 1>&6
6953 echo "$ac_t""no" 1>&6
6958 echo $ac_n "checking for --${enablestring:-enable}-statline""... $ac_c" 1>&6
6959 echo "configure:6960: checking for --${enablestring:-enable}-statline" >&5
6961 # Check whether --enable-statline or --disable-statline was given.
6962 if test "${enable_statline+set}" = set; then
6963 enableval
="$enable_statline"
6965 if test "$enableval" = yes; then
6966 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6968 ac_cv_use_statline
='wxUSE_STATLINE=no'
6973 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6974 if test "x$LINE" != x
; then
6975 eval "DEFAULT_$LINE"
6980 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6985 eval "$ac_cv_use_statline"
6986 if test "$no_cache" != 1; then
6987 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6990 if test "$wxUSE_STATLINE" = yes; then
6991 echo "$ac_t""yes" 1>&6
6993 echo "$ac_t""no" 1>&6
6998 echo $ac_n "checking for --${enablestring:-enable}-stattext""... $ac_c" 1>&6
6999 echo "configure:7000: checking for --${enablestring:-enable}-stattext" >&5
7001 # Check whether --enable-stattext or --disable-stattext was given.
7002 if test "${enable_stattext+set}" = set; then
7003 enableval
="$enable_stattext"
7005 if test "$enableval" = yes; then
7006 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
7008 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
7013 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7014 if test "x$LINE" != x
; then
7015 eval "DEFAULT_$LINE"
7020 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7025 eval "$ac_cv_use_stattext"
7026 if test "$no_cache" != 1; then
7027 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7030 if test "$wxUSE_STATTEXT" = yes; then
7031 echo "$ac_t""yes" 1>&6
7033 echo "$ac_t""no" 1>&6
7038 echo $ac_n "checking for --${enablestring:-enable}-statusbar""... $ac_c" 1>&6
7039 echo "configure:7040: checking for --${enablestring:-enable}-statusbar" >&5
7041 # Check whether --enable-statusbar or --disable-statusbar was given.
7042 if test "${enable_statusbar+set}" = set; then
7043 enableval
="$enable_statusbar"
7045 if test "$enableval" = yes; then
7046 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
7048 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
7053 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7054 if test "x$LINE" != x
; then
7055 eval "DEFAULT_$LINE"
7060 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7065 eval "$ac_cv_use_statusbar"
7066 if test "$no_cache" != 1; then
7067 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7070 if test "$wxUSE_STATUSBAR" = yes; then
7071 echo "$ac_t""yes" 1>&6
7073 echo "$ac_t""no" 1>&6
7078 echo $ac_n "checking for --${enablestring:-enable}-tabdialog""... $ac_c" 1>&6
7079 echo "configure:7080: checking for --${enablestring:-enable}-tabdialog" >&5
7081 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7082 if test "${enable_tabdialog+set}" = set; then
7083 enableval
="$enable_tabdialog"
7085 if test "$enableval" = yes; then
7086 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
7088 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
7093 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7094 if test "x$LINE" != x
; then
7095 eval "DEFAULT_$LINE"
7100 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7105 eval "$ac_cv_use_tabdialog"
7106 if test "$no_cache" != 1; then
7107 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7110 if test "$wxUSE_TABDIALOG" = yes; then
7111 echo "$ac_t""yes" 1>&6
7113 echo "$ac_t""no" 1>&6
7118 echo $ac_n "checking for --${enablestring:-enable}-textctrl""... $ac_c" 1>&6
7119 echo "configure:7120: checking for --${enablestring:-enable}-textctrl" >&5
7121 # Check whether --enable-textctrl or --disable-textctrl was given.
7122 if test "${enable_textctrl+set}" = set; then
7123 enableval
="$enable_textctrl"
7125 if test "$enableval" = yes; then
7126 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
7128 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
7133 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7134 if test "x$LINE" != x
; then
7135 eval "DEFAULT_$LINE"
7140 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7145 eval "$ac_cv_use_textctrl"
7146 if test "$no_cache" != 1; then
7147 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7150 if test "$wxUSE_TEXTCTRL" = yes; then
7151 echo "$ac_t""yes" 1>&6
7153 echo "$ac_t""no" 1>&6
7158 echo $ac_n "checking for --${enablestring:-enable}-togglebtn""... $ac_c" 1>&6
7159 echo "configure:7160: checking for --${enablestring:-enable}-togglebtn" >&5
7161 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7162 if test "${enable_togglebtn+set}" = set; then
7163 enableval
="$enable_togglebtn"
7165 if test "$enableval" = yes; then
7166 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7168 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7173 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7174 if test "x$LINE" != x
; then
7175 eval "DEFAULT_$LINE"
7180 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7185 eval "$ac_cv_use_togglebtn"
7186 if test "$no_cache" != 1; then
7187 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7190 if test "$wxUSE_TOGGLEBTN" = yes; then
7191 echo "$ac_t""yes" 1>&6
7193 echo "$ac_t""no" 1>&6
7198 echo $ac_n "checking for --${enablestring:-enable}-toolbar""... $ac_c" 1>&6
7199 echo "configure:7200: checking for --${enablestring:-enable}-toolbar" >&5
7201 # Check whether --enable-toolbar or --disable-toolbar was given.
7202 if test "${enable_toolbar+set}" = set; then
7203 enableval
="$enable_toolbar"
7205 if test "$enableval" = yes; then
7206 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7208 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7213 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7214 if test "x$LINE" != x
; then
7215 eval "DEFAULT_$LINE"
7220 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7225 eval "$ac_cv_use_toolbar"
7226 if test "$no_cache" != 1; then
7227 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7230 if test "$wxUSE_TOOLBAR" = yes; then
7231 echo "$ac_t""yes" 1>&6
7233 echo "$ac_t""no" 1>&6
7238 echo $ac_n "checking for --${enablestring:-enable}-tbarnative""... $ac_c" 1>&6
7239 echo "configure:7240: checking for --${enablestring:-enable}-tbarnative" >&5
7241 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7242 if test "${enable_tbarnative+set}" = set; then
7243 enableval
="$enable_tbarnative"
7245 if test "$enableval" = yes; then
7246 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7248 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7253 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7254 if test "x$LINE" != x
; then
7255 eval "DEFAULT_$LINE"
7260 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7265 eval "$ac_cv_use_tbarnative"
7266 if test "$no_cache" != 1; then
7267 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7270 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7271 echo "$ac_t""yes" 1>&6
7273 echo "$ac_t""no" 1>&6
7278 echo $ac_n "checking for --${enablestring:-enable}-tbarsmpl""... $ac_c" 1>&6
7279 echo "configure:7280: checking for --${enablestring:-enable}-tbarsmpl" >&5
7281 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7282 if test "${enable_tbarsmpl+set}" = set; then
7283 enableval
="$enable_tbarsmpl"
7285 if test "$enableval" = yes; then
7286 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7288 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7293 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7294 if test "x$LINE" != x
; then
7295 eval "DEFAULT_$LINE"
7300 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7305 eval "$ac_cv_use_tbarsmpl"
7306 if test "$no_cache" != 1; then
7307 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7310 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7311 echo "$ac_t""yes" 1>&6
7313 echo "$ac_t""no" 1>&6
7318 echo $ac_n "checking for --${enablestring:-enable}-treectrl""... $ac_c" 1>&6
7319 echo "configure:7320: checking for --${enablestring:-enable}-treectrl" >&5
7321 # Check whether --enable-treectrl or --disable-treectrl was given.
7322 if test "${enable_treectrl+set}" = set; then
7323 enableval
="$enable_treectrl"
7325 if test "$enableval" = yes; then
7326 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7328 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7333 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7334 if test "x$LINE" != x
; then
7335 eval "DEFAULT_$LINE"
7340 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7345 eval "$ac_cv_use_treectrl"
7346 if test "$no_cache" != 1; then
7347 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7350 if test "$wxUSE_TREECTRL" = yes; then
7351 echo "$ac_t""yes" 1>&6
7353 echo "$ac_t""no" 1>&6
7358 echo $ac_n "checking for --${enablestring:-enable}-tipwindow""... $ac_c" 1>&6
7359 echo "configure:7360: checking for --${enablestring:-enable}-tipwindow" >&5
7361 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7362 if test "${enable_tipwindow+set}" = set; then
7363 enableval
="$enable_tipwindow"
7365 if test "$enableval" = yes; then
7366 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7368 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7373 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7374 if test "x$LINE" != x
; then
7375 eval "DEFAULT_$LINE"
7380 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7385 eval "$ac_cv_use_tipwindow"
7386 if test "$no_cache" != 1; then
7387 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7390 if test "$wxUSE_TIPWINDOW" = yes; then
7391 echo "$ac_t""yes" 1>&6
7393 echo "$ac_t""no" 1>&6
7398 echo $ac_n "checking for --${enablestring:-enable}-popupwin""... $ac_c" 1>&6
7399 echo "configure:7400: checking for --${enablestring:-enable}-popupwin" >&5
7401 # Check whether --enable-popupwin or --disable-popupwin was given.
7402 if test "${enable_popupwin+set}" = set; then
7403 enableval
="$enable_popupwin"
7405 if test "$enableval" = yes; then
7406 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7408 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7413 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7414 if test "x$LINE" != x
; then
7415 eval "DEFAULT_$LINE"
7420 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7425 eval "$ac_cv_use_popupwin"
7426 if test "$no_cache" != 1; then
7427 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7430 if test "$wxUSE_POPUPWIN" = yes; then
7431 echo "$ac_t""yes" 1>&6
7433 echo "$ac_t""no" 1>&6
7440 echo $ac_n "checking for --${enablestring:-enable}-commondlg""... $ac_c" 1>&6
7441 echo "configure:7442: checking for --${enablestring:-enable}-commondlg" >&5
7443 # Check whether --enable-commondlg or --disable-commondlg was given.
7444 if test "${enable_commondlg+set}" = set; then
7445 enableval
="$enable_commondlg"
7447 if test "$enableval" = yes; then
7448 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7450 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7455 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7456 if test "x$LINE" != x
; then
7457 eval "DEFAULT_$LINE"
7462 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7467 eval "$ac_cv_use_commondlg"
7468 if test "$no_cache" != 1; then
7469 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7472 if test "$wxUSE_COMMONDLGS" = yes; then
7473 echo "$ac_t""yes" 1>&6
7475 echo "$ac_t""no" 1>&6
7480 echo $ac_n "checking for --${enablestring:-enable}-choicedlg""... $ac_c" 1>&6
7481 echo "configure:7482: checking for --${enablestring:-enable}-choicedlg" >&5
7483 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7484 if test "${enable_choicedlg+set}" = set; then
7485 enableval
="$enable_choicedlg"
7487 if test "$enableval" = yes; then
7488 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7490 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7495 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7496 if test "x$LINE" != x
; then
7497 eval "DEFAULT_$LINE"
7502 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7507 eval "$ac_cv_use_choicedlg"
7508 if test "$no_cache" != 1; then
7509 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7512 if test "$wxUSE_CHOICEDLG" = yes; then
7513 echo "$ac_t""yes" 1>&6
7515 echo "$ac_t""no" 1>&6
7520 echo $ac_n "checking for --${enablestring:-enable}-coldlg""... $ac_c" 1>&6
7521 echo "configure:7522: checking for --${enablestring:-enable}-coldlg" >&5
7523 # Check whether --enable-coldlg or --disable-coldlg was given.
7524 if test "${enable_coldlg+set}" = set; then
7525 enableval
="$enable_coldlg"
7527 if test "$enableval" = yes; then
7528 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7530 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7535 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7536 if test "x$LINE" != x
; then
7537 eval "DEFAULT_$LINE"
7542 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7547 eval "$ac_cv_use_coldlg"
7548 if test "$no_cache" != 1; then
7549 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7552 if test "$wxUSE_COLOURDLG" = yes; then
7553 echo "$ac_t""yes" 1>&6
7555 echo "$ac_t""no" 1>&6
7560 echo $ac_n "checking for --${enablestring:-enable}-filedlg""... $ac_c" 1>&6
7561 echo "configure:7562: checking for --${enablestring:-enable}-filedlg" >&5
7563 # Check whether --enable-filedlg or --disable-filedlg was given.
7564 if test "${enable_filedlg+set}" = set; then
7565 enableval
="$enable_filedlg"
7567 if test "$enableval" = yes; then
7568 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7570 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7575 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7576 if test "x$LINE" != x
; then
7577 eval "DEFAULT_$LINE"
7582 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7587 eval "$ac_cv_use_filedlg"
7588 if test "$no_cache" != 1; then
7589 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7592 if test "$wxUSE_FILEDLG" = yes; then
7593 echo "$ac_t""yes" 1>&6
7595 echo "$ac_t""no" 1>&6
7600 echo $ac_n "checking for --${enablestring:-enable}-finddlg""... $ac_c" 1>&6
7601 echo "configure:7602: checking for --${enablestring:-enable}-finddlg" >&5
7603 # Check whether --enable-finddlg or --disable-finddlg was given.
7604 if test "${enable_finddlg+set}" = set; then
7605 enableval
="$enable_finddlg"
7607 if test "$enableval" = yes; then
7608 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7610 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7615 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7616 if test "x$LINE" != x
; then
7617 eval "DEFAULT_$LINE"
7622 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7627 eval "$ac_cv_use_finddlg"
7628 if test "$no_cache" != 1; then
7629 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7632 if test "$wxUSE_FINDREPLDLG" = yes; then
7633 echo "$ac_t""yes" 1>&6
7635 echo "$ac_t""no" 1>&6
7640 echo $ac_n "checking for --${enablestring:-enable}-fontdlg""... $ac_c" 1>&6
7641 echo "configure:7642: checking for --${enablestring:-enable}-fontdlg" >&5
7643 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7644 if test "${enable_fontdlg+set}" = set; then
7645 enableval
="$enable_fontdlg"
7647 if test "$enableval" = yes; then
7648 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7650 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7655 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7656 if test "x$LINE" != x
; then
7657 eval "DEFAULT_$LINE"
7662 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7667 eval "$ac_cv_use_fontdlg"
7668 if test "$no_cache" != 1; then
7669 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7672 if test "$wxUSE_FONTDLG" = yes; then
7673 echo "$ac_t""yes" 1>&6
7675 echo "$ac_t""no" 1>&6
7680 echo $ac_n "checking for --${enablestring:-enable}-dirdlg""... $ac_c" 1>&6
7681 echo "configure:7682: checking for --${enablestring:-enable}-dirdlg" >&5
7683 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7684 if test "${enable_dirdlg+set}" = set; then
7685 enableval
="$enable_dirdlg"
7687 if test "$enableval" = yes; then
7688 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7690 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7695 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7696 if test "x$LINE" != x
; then
7697 eval "DEFAULT_$LINE"
7702 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7707 eval "$ac_cv_use_dirdlg"
7708 if test "$no_cache" != 1; then
7709 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7712 if test "$wxUSE_DIRDLG" = yes; then
7713 echo "$ac_t""yes" 1>&6
7715 echo "$ac_t""no" 1>&6
7720 echo $ac_n "checking for --${enablestring:-enable}-msgdlg""... $ac_c" 1>&6
7721 echo "configure:7722: checking for --${enablestring:-enable}-msgdlg" >&5
7723 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7724 if test "${enable_msgdlg+set}" = set; then
7725 enableval
="$enable_msgdlg"
7727 if test "$enableval" = yes; then
7728 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7730 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7735 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7736 if test "x$LINE" != x
; then
7737 eval "DEFAULT_$LINE"
7742 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7747 eval "$ac_cv_use_msgdlg"
7748 if test "$no_cache" != 1; then
7749 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7752 if test "$wxUSE_MSGDLG" = yes; then
7753 echo "$ac_t""yes" 1>&6
7755 echo "$ac_t""no" 1>&6
7760 echo $ac_n "checking for --${enablestring:-enable}-numberdlg""... $ac_c" 1>&6
7761 echo "configure:7762: checking for --${enablestring:-enable}-numberdlg" >&5
7763 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7764 if test "${enable_numberdlg+set}" = set; then
7765 enableval
="$enable_numberdlg"
7767 if test "$enableval" = yes; then
7768 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7770 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7775 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7776 if test "x$LINE" != x
; then
7777 eval "DEFAULT_$LINE"
7782 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7787 eval "$ac_cv_use_numberdlg"
7788 if test "$no_cache" != 1; then
7789 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7792 if test "$wxUSE_NUMBERDLG" = yes; then
7793 echo "$ac_t""yes" 1>&6
7795 echo "$ac_t""no" 1>&6
7800 echo $ac_n "checking for --${enablestring:-enable}-splash""... $ac_c" 1>&6
7801 echo "configure:7802: checking for --${enablestring:-enable}-splash" >&5
7803 # Check whether --enable-splash or --disable-splash was given.
7804 if test "${enable_splash+set}" = set; then
7805 enableval
="$enable_splash"
7807 if test "$enableval" = yes; then
7808 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7810 ac_cv_use_splash
='wxUSE_SPLASH=no'
7815 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7816 if test "x$LINE" != x
; then
7817 eval "DEFAULT_$LINE"
7822 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7827 eval "$ac_cv_use_splash"
7828 if test "$no_cache" != 1; then
7829 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7832 if test "$wxUSE_SPLASH" = yes; then
7833 echo "$ac_t""yes" 1>&6
7835 echo "$ac_t""no" 1>&6
7840 echo $ac_n "checking for --${enablestring:-enable}-textdlg""... $ac_c" 1>&6
7841 echo "configure:7842: checking for --${enablestring:-enable}-textdlg" >&5
7843 # Check whether --enable-textdlg or --disable-textdlg was given.
7844 if test "${enable_textdlg+set}" = set; then
7845 enableval
="$enable_textdlg"
7847 if test "$enableval" = yes; then
7848 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7850 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7855 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7856 if test "x$LINE" != x
; then
7857 eval "DEFAULT_$LINE"
7862 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7867 eval "$ac_cv_use_textdlg"
7868 if test "$no_cache" != 1; then
7869 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7872 if test "$wxUSE_TEXTDLG" = yes; then
7873 echo "$ac_t""yes" 1>&6
7875 echo "$ac_t""no" 1>&6
7880 echo $ac_n "checking for --${enablestring:-enable}-tipdlg""... $ac_c" 1>&6
7881 echo "configure:7882: checking for --${enablestring:-enable}-tipdlg" >&5
7883 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7884 if test "${enable_tipdlg+set}" = set; then
7885 enableval
="$enable_tipdlg"
7887 if test "$enableval" = yes; then
7888 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7890 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7895 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7896 if test "x$LINE" != x
; then
7897 eval "DEFAULT_$LINE"
7902 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7907 eval "$ac_cv_use_tipdlg"
7908 if test "$no_cache" != 1; then
7909 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7912 if test "$wxUSE_STARTUP_TIPS" = yes; then
7913 echo "$ac_t""yes" 1>&6
7915 echo "$ac_t""no" 1>&6
7920 echo $ac_n "checking for --${enablestring:-enable}-progressdlg""... $ac_c" 1>&6
7921 echo "configure:7922: checking for --${enablestring:-enable}-progressdlg" >&5
7923 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7924 if test "${enable_progressdlg+set}" = set; then
7925 enableval
="$enable_progressdlg"
7927 if test "$enableval" = yes; then
7928 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7930 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7935 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7936 if test "x$LINE" != x
; then
7937 eval "DEFAULT_$LINE"
7942 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7947 eval "$ac_cv_use_progressdlg"
7948 if test "$no_cache" != 1; then
7949 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7952 if test "$wxUSE_PROGRESSDLG" = yes; then
7953 echo "$ac_t""yes" 1>&6
7955 echo "$ac_t""no" 1>&6
7960 echo $ac_n "checking for --${enablestring:-enable}-wizarddlg""... $ac_c" 1>&6
7961 echo "configure:7962: checking for --${enablestring:-enable}-wizarddlg" >&5
7963 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7964 if test "${enable_wizarddlg+set}" = set; then
7965 enableval
="$enable_wizarddlg"
7967 if test "$enableval" = yes; then
7968 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7970 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7975 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7976 if test "x$LINE" != x
; then
7977 eval "DEFAULT_$LINE"
7982 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7987 eval "$ac_cv_use_wizarddlg"
7988 if test "$no_cache" != 1; then
7989 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7992 if test "$wxUSE_WIZARDDLG" = yes; then
7993 echo "$ac_t""yes" 1>&6
7995 echo "$ac_t""no" 1>&6
8002 echo $ac_n "checking for --${enablestring:-enable}-menus""... $ac_c" 1>&6
8003 echo "configure:8004: checking for --${enablestring:-enable}-menus" >&5
8005 # Check whether --enable-menus or --disable-menus was given.
8006 if test "${enable_menus+set}" = set; then
8007 enableval
="$enable_menus"
8009 if test "$enableval" = yes; then
8010 ac_cv_use_menus
='wxUSE_MENUS=yes'
8012 ac_cv_use_menus
='wxUSE_MENUS=no'
8017 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8018 if test "x$LINE" != x
; then
8019 eval "DEFAULT_$LINE"
8024 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8029 eval "$ac_cv_use_menus"
8030 if test "$no_cache" != 1; then
8031 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8034 if test "$wxUSE_MENUS" = yes; then
8035 echo "$ac_t""yes" 1>&6
8037 echo "$ac_t""no" 1>&6
8042 echo $ac_n "checking for --${enablestring:-enable}-miniframe""... $ac_c" 1>&6
8043 echo "configure:8044: checking for --${enablestring:-enable}-miniframe" >&5
8045 # Check whether --enable-miniframe or --disable-miniframe was given.
8046 if test "${enable_miniframe+set}" = set; then
8047 enableval
="$enable_miniframe"
8049 if test "$enableval" = yes; then
8050 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
8052 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
8057 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8058 if test "x$LINE" != x
; then
8059 eval "DEFAULT_$LINE"
8064 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8069 eval "$ac_cv_use_miniframe"
8070 if test "$no_cache" != 1; then
8071 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8074 if test "$wxUSE_MINIFRAME" = yes; then
8075 echo "$ac_t""yes" 1>&6
8077 echo "$ac_t""no" 1>&6
8082 echo $ac_n "checking for --${enablestring:-enable}-tooltips""... $ac_c" 1>&6
8083 echo "configure:8084: checking for --${enablestring:-enable}-tooltips" >&5
8085 # Check whether --enable-tooltips or --disable-tooltips was given.
8086 if test "${enable_tooltips+set}" = set; then
8087 enableval
="$enable_tooltips"
8089 if test "$enableval" = yes; then
8090 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
8092 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
8097 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8098 if test "x$LINE" != x
; then
8099 eval "DEFAULT_$LINE"
8104 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8109 eval "$ac_cv_use_tooltips"
8110 if test "$no_cache" != 1; then
8111 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8114 if test "$wxUSE_TOOLTIPS" = yes; then
8115 echo "$ac_t""yes" 1>&6
8117 echo "$ac_t""no" 1>&6
8122 echo $ac_n "checking for --${enablestring:-enable}-splines""... $ac_c" 1>&6
8123 echo "configure:8124: checking for --${enablestring:-enable}-splines" >&5
8125 # Check whether --enable-splines or --disable-splines was given.
8126 if test "${enable_splines+set}" = set; then
8127 enableval
="$enable_splines"
8129 if test "$enableval" = yes; then
8130 ac_cv_use_splines
='wxUSE_SPLINES=yes'
8132 ac_cv_use_splines
='wxUSE_SPLINES=no'
8137 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8138 if test "x$LINE" != x
; then
8139 eval "DEFAULT_$LINE"
8144 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8149 eval "$ac_cv_use_splines"
8150 if test "$no_cache" != 1; then
8151 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8154 if test "$wxUSE_SPLINES" = yes; then
8155 echo "$ac_t""yes" 1>&6
8157 echo "$ac_t""no" 1>&6
8162 echo $ac_n "checking for --${enablestring:-enable}-validators""... $ac_c" 1>&6
8163 echo "configure:8164: checking for --${enablestring:-enable}-validators" >&5
8165 # Check whether --enable-validators or --disable-validators was given.
8166 if test "${enable_validators+set}" = set; then
8167 enableval
="$enable_validators"
8169 if test "$enableval" = yes; then
8170 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
8172 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
8177 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8178 if test "x$LINE" != x
; then
8179 eval "DEFAULT_$LINE"
8184 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8189 eval "$ac_cv_use_validators"
8190 if test "$no_cache" != 1; then
8191 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8194 if test "$wxUSE_VALIDATORS" = yes; then
8195 echo "$ac_t""yes" 1>&6
8197 echo "$ac_t""no" 1>&6
8202 echo $ac_n "checking for --${enablestring:-enable}-busyinfo""... $ac_c" 1>&6
8203 echo "configure:8204: checking for --${enablestring:-enable}-busyinfo" >&5
8205 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8206 if test "${enable_busyinfo+set}" = set; then
8207 enableval
="$enable_busyinfo"
8209 if test "$enableval" = yes; then
8210 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8212 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8217 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8218 if test "x$LINE" != x
; then
8219 eval "DEFAULT_$LINE"
8224 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8229 eval "$ac_cv_use_busyinfo"
8230 if test "$no_cache" != 1; then
8231 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8234 if test "$wxUSE_BUSYINFO" = yes; then
8235 echo "$ac_t""yes" 1>&6
8237 echo "$ac_t""no" 1>&6
8242 echo $ac_n "checking for --${enablestring:-enable}-joystick""... $ac_c" 1>&6
8243 echo "configure:8244: checking for --${enablestring:-enable}-joystick" >&5
8245 # Check whether --enable-joystick or --disable-joystick was given.
8246 if test "${enable_joystick+set}" = set; then
8247 enableval
="$enable_joystick"
8249 if test "$enableval" = yes; then
8250 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8252 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8257 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8258 if test "x$LINE" != x
; then
8259 eval "DEFAULT_$LINE"
8264 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8269 eval "$ac_cv_use_joystick"
8270 if test "$no_cache" != 1; then
8271 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8274 if test "$wxUSE_JOYSTICK" = yes; then
8275 echo "$ac_t""yes" 1>&6
8277 echo "$ac_t""no" 1>&6
8282 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
8283 echo "configure:8284: checking for --${enablestring:-enable}-metafile" >&5
8285 # Check whether --enable-metafile or --disable-metafile was given.
8286 if test "${enable_metafile+set}" = set; then
8287 enableval
="$enable_metafile"
8289 if test "$enableval" = yes; then
8290 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8292 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8297 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8298 if test "x$LINE" != x
; then
8299 eval "DEFAULT_$LINE"
8304 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8309 eval "$ac_cv_use_metafile"
8310 if test "$no_cache" != 1; then
8311 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8314 if test "$wxUSE_METAFILE" = yes; then
8315 echo "$ac_t""yes" 1>&6
8317 echo "$ac_t""no" 1>&6
8322 echo $ac_n "checking for --${enablestring:-enable}-dragimage""... $ac_c" 1>&6
8323 echo "configure:8324: checking for --${enablestring:-enable}-dragimage" >&5
8325 # Check whether --enable-dragimage or --disable-dragimage was given.
8326 if test "${enable_dragimage+set}" = set; then
8327 enableval
="$enable_dragimage"
8329 if test "$enableval" = yes; then
8330 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8332 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8337 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8338 if test "x$LINE" != x
; then
8339 eval "DEFAULT_$LINE"
8344 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8349 eval "$ac_cv_use_dragimage"
8350 if test "$no_cache" != 1; then
8351 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8354 if test "$wxUSE_DRAGIMAGE" = yes; then
8355 echo "$ac_t""yes" 1>&6
8357 echo "$ac_t""no" 1>&6
8362 echo $ac_n "checking for --${enablestring:-enable}-accessibility""... $ac_c" 1>&6
8363 echo "configure:8364: checking for --${enablestring:-enable}-accessibility" >&5
8365 # Check whether --enable-accessibility or --disable-accessibility was given.
8366 if test "${enable_accessibility+set}" = set; then
8367 enableval
="$enable_accessibility"
8369 if test "$enableval" = yes; then
8370 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
8372 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
8377 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
8378 if test "x$LINE" != x
; then
8379 eval "DEFAULT_$LINE"
8384 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
8389 eval "$ac_cv_use_accessibility"
8390 if test "$no_cache" != 1; then
8391 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
8394 if test "$wxUSE_ACCESSIBILITY" = yes; then
8395 echo "$ac_t""yes" 1>&6
8397 echo "$ac_t""no" 1>&6
8404 echo $ac_n "checking for --${enablestring:-enable}-palette""... $ac_c" 1>&6
8405 echo "configure:8406: checking for --${enablestring:-enable}-palette" >&5
8407 # Check whether --enable-palette or --disable-palette was given.
8408 if test "${enable_palette+set}" = set; then
8409 enableval
="$enable_palette"
8411 if test "$enableval" = yes; then
8412 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8414 ac_cv_use_palette
='wxUSE_PALETTE=no'
8419 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8420 if test "x$LINE" != x
; then
8421 eval "DEFAULT_$LINE"
8426 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8431 eval "$ac_cv_use_palette"
8432 if test "$no_cache" != 1; then
8433 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8436 if test "$wxUSE_PALETTE" = yes; then
8437 echo "$ac_t""yes" 1>&6
8439 echo "$ac_t""no" 1>&6
8444 echo $ac_n "checking for --${enablestring:-enable}-image""... $ac_c" 1>&6
8445 echo "configure:8446: checking for --${enablestring:-enable}-image" >&5
8447 # Check whether --enable-image or --disable-image was given.
8448 if test "${enable_image+set}" = set; then
8449 enableval
="$enable_image"
8451 if test "$enableval" = yes; then
8452 ac_cv_use_image
='wxUSE_IMAGE=yes'
8454 ac_cv_use_image
='wxUSE_IMAGE=no'
8459 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8460 if test "x$LINE" != x
; then
8461 eval "DEFAULT_$LINE"
8466 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8471 eval "$ac_cv_use_image"
8472 if test "$no_cache" != 1; then
8473 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8476 if test "$wxUSE_IMAGE" = yes; then
8477 echo "$ac_t""yes" 1>&6
8479 echo "$ac_t""no" 1>&6
8484 echo $ac_n "checking for --${enablestring:-enable}-gif""... $ac_c" 1>&6
8485 echo "configure:8486: checking for --${enablestring:-enable}-gif" >&5
8487 # Check whether --enable-gif or --disable-gif was given.
8488 if test "${enable_gif+set}" = set; then
8489 enableval
="$enable_gif"
8491 if test "$enableval" = yes; then
8492 ac_cv_use_gif
='wxUSE_GIF=yes'
8494 ac_cv_use_gif
='wxUSE_GIF=no'
8499 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8500 if test "x$LINE" != x
; then
8501 eval "DEFAULT_$LINE"
8506 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8511 eval "$ac_cv_use_gif"
8512 if test "$no_cache" != 1; then
8513 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8516 if test "$wxUSE_GIF" = yes; then
8517 echo "$ac_t""yes" 1>&6
8519 echo "$ac_t""no" 1>&6
8524 echo $ac_n "checking for --${enablestring:-enable}-pcx""... $ac_c" 1>&6
8525 echo "configure:8526: checking for --${enablestring:-enable}-pcx" >&5
8527 # Check whether --enable-pcx or --disable-pcx was given.
8528 if test "${enable_pcx+set}" = set; then
8529 enableval
="$enable_pcx"
8531 if test "$enableval" = yes; then
8532 ac_cv_use_pcx
='wxUSE_PCX=yes'
8534 ac_cv_use_pcx
='wxUSE_PCX=no'
8539 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8540 if test "x$LINE" != x
; then
8541 eval "DEFAULT_$LINE"
8546 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8551 eval "$ac_cv_use_pcx"
8552 if test "$no_cache" != 1; then
8553 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8556 if test "$wxUSE_PCX" = yes; then
8557 echo "$ac_t""yes" 1>&6
8559 echo "$ac_t""no" 1>&6
8564 echo $ac_n "checking for --${enablestring:-enable}-iff""... $ac_c" 1>&6
8565 echo "configure:8566: checking for --${enablestring:-enable}-iff" >&5
8567 # Check whether --enable-iff or --disable-iff was given.
8568 if test "${enable_iff+set}" = set; then
8569 enableval
="$enable_iff"
8571 if test "$enableval" = yes; then
8572 ac_cv_use_iff
='wxUSE_IFF=yes'
8574 ac_cv_use_iff
='wxUSE_IFF=no'
8579 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8580 if test "x$LINE" != x
; then
8581 eval "DEFAULT_$LINE"
8586 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8591 eval "$ac_cv_use_iff"
8592 if test "$no_cache" != 1; then
8593 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8596 if test "$wxUSE_IFF" = yes; then
8597 echo "$ac_t""yes" 1>&6
8599 echo "$ac_t""no" 1>&6
8604 echo $ac_n "checking for --${enablestring:-enable}-pnm""... $ac_c" 1>&6
8605 echo "configure:8606: checking for --${enablestring:-enable}-pnm" >&5
8607 # Check whether --enable-pnm or --disable-pnm was given.
8608 if test "${enable_pnm+set}" = set; then
8609 enableval
="$enable_pnm"
8611 if test "$enableval" = yes; then
8612 ac_cv_use_pnm
='wxUSE_PNM=yes'
8614 ac_cv_use_pnm
='wxUSE_PNM=no'
8619 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8620 if test "x$LINE" != x
; then
8621 eval "DEFAULT_$LINE"
8626 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8631 eval "$ac_cv_use_pnm"
8632 if test "$no_cache" != 1; then
8633 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8636 if test "$wxUSE_PNM" = yes; then
8637 echo "$ac_t""yes" 1>&6
8639 echo "$ac_t""no" 1>&6
8644 echo $ac_n "checking for --${enablestring:-enable}-xpm""... $ac_c" 1>&6
8645 echo "configure:8646: checking for --${enablestring:-enable}-xpm" >&5
8647 # Check whether --enable-xpm or --disable-xpm was given.
8648 if test "${enable_xpm+set}" = set; then
8649 enableval
="$enable_xpm"
8651 if test "$enableval" = yes; then
8652 ac_cv_use_xpm
='wxUSE_XPM=yes'
8654 ac_cv_use_xpm
='wxUSE_XPM=no'
8659 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8660 if test "x$LINE" != x
; then
8661 eval "DEFAULT_$LINE"
8666 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8671 eval "$ac_cv_use_xpm"
8672 if test "$no_cache" != 1; then
8673 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8676 if test "$wxUSE_XPM" = yes; then
8677 echo "$ac_t""yes" 1>&6
8679 echo "$ac_t""no" 1>&6
8684 echo $ac_n "checking for --${enablestring:-enable}-ico_cur""... $ac_c" 1>&6
8685 echo "configure:8686: checking for --${enablestring:-enable}-ico_cur" >&5
8687 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8688 if test "${enable_ico_cur+set}" = set; then
8689 enableval
="$enable_ico_cur"
8691 if test "$enableval" = yes; then
8692 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8694 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8699 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8700 if test "x$LINE" != x
; then
8701 eval "DEFAULT_$LINE"
8706 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8711 eval "$ac_cv_use_ico_cur"
8712 if test "$no_cache" != 1; then
8713 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8716 if test "$wxUSE_ICO_CUR" = yes; then
8717 echo "$ac_t""yes" 1>&6
8719 echo "$ac_t""no" 1>&6
8726 *-pc-os2_emx | *-pc-os2-emx )
8738 echo "saving argument cache $wx_arg_cache_file"
8739 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8743 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8744 echo "configure:8745: checking for toolkit" >&5
8746 # In Wine, we need to default to MSW, not GTK or MOTIF
8747 if test "$wxUSE_WINE" = "yes"; then
8748 DEFAULT_DEFAULT_wxUSE_GTK
=0
8749 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
8750 DEFAULT_DEFAULT_wxUSE_MSW
=1
8753 if test "$wxUSE_GUI" = "yes"; then
8755 if test "$USE_BEOS" = 1; then
8756 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8759 if test "$TOOLKIT_GIVEN" = 1; then
8760 for toolkit
in `echo $ALL_TOOLKITS`; do
8762 eval "value=\$${var}"
8763 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8766 for toolkit
in `echo $ALL_TOOLKITS`; do
8767 if test "$has_toolkit_in_cache" != 1; then
8768 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8770 var
=DEFAULT_wxUSE_
$toolkit
8772 eval "wxUSE_$toolkit=\$${var}"
8776 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
8777 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
8778 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
8781 *-pc-os2_emx | *-pc-os2-emx )
8782 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8785 case "$NUM_TOOLKITS" in
8789 { echo "configure: error: Please specify a toolkit -- cannot determine the default for ${host}" 1>&2; exit 1; }
8792 { echo "configure: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" 1>&2; exit 1; }
8795 for toolkit
in `echo $ALL_TOOLKITS`; do
8797 eval "value=\$${var}"
8798 if test "x$value" != x
; then
8799 cache_var
=CACHE_
$toolkit
8800 eval "cache=\$${cache_var}"
8801 if test "$cache" = 1; then
8802 echo "$var=$value" >> ${wx_arg_cache_file}
8804 if test "$value" = 1; then
8805 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8806 echo "$ac_t""$toolkit_echo" 1>&6
8811 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8818 if test "$wxUSE_MSW" = 1 ; then
8829 if test "$wxUSE_WINE" = "yes"; then
8836 if test "$wants_win32" = 1 ; then
8839 cat >> confdefs.h
<<\EOF
8843 cat >> confdefs.h
<<\EOF
8847 cat >> confdefs.h
<<\EOF
8848 #define __WINDOWS__ 1
8851 cat >> confdefs.h
<<\EOF
8852 #define __GNUWIN32__ 1
8855 cat >> confdefs.h
<<\EOF
8859 cat >> confdefs.h
<<\EOF
8860 #define WINVER 0x0400
8864 if test "$doesnt_want_win32" = 1 ; then
8869 if test "$USE_UNIX" = 1 ; then
8871 cat >> confdefs.h
<<\EOF
8878 cat > confcache
<<\EOF
8879 # This file is a shell script that caches the results of configure
8880 # tests run on this system so they can be shared between configure
8881 # scripts and configure runs. It is not useful on other systems.
8882 # If it contains results you don't want to keep, you may remove or edit it.
8884 # By default, configure uses ./config.cache as the cache file,
8885 # creating it if it does not exist already. You can give configure
8886 # the --cache-file=FILE option to use a different cache file; that is
8887 # what configure does when it calls configure scripts in
8888 # subdirectories, so they share the cache.
8889 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8890 # config.status only pays attention to the cache file if you give it the
8891 # --recheck option to rerun configure.
8894 # The following way of writing the cache mishandles newlines in values,
8895 # but we know of no workaround that is simple, portable, and efficient.
8896 # So, don't put newlines in cache variables' values.
8897 # Ultrix sh set writes to stderr and can't be redirected directly,
8898 # and sets the high bit in the cache file unless we assign to the vars.
8900 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8902 # `set' does not quote correctly, so add quotes (double-quote substitution
8903 # turns \\\\ into \\, and sed turns \\ into \).
8905 -e "s/'/'\\\\''/g" \
8906 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8909 # `set' quotes correctly as required by POSIX, so do not add quotes.
8910 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8913 if cmp -s $cache_file confcache
; then
8916 if test -w $cache_file; then
8917 echo "updating cache $cache_file"
8918 cat confcache
> $cache_file
8920 echo "not updating unwritable cache $cache_file"
8926 if test "$build" != "$host" ; then
8927 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8931 RANLIB
=$host_alias-ranlib
8932 DLLTOOL
=$host_alias-dlltool
8933 RESCOMP
=$host_alias-windres
8936 STRIP
=$host_alias-strip
8938 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8943 # Extract the first word of "gcc", so it can be a program name with args.
8944 set dummy gcc
; ac_word
=$2
8945 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8946 echo "configure:8947: checking for $ac_word" >&5
8947 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8948 echo $ac_n "(cached) $ac_c" 1>&6
8950 if test -n "$CC"; then
8951 ac_cv_prog_CC
="$CC" # Let the user override the test.
8953 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8955 for ac_dir
in $ac_dummy; do
8956 test -z "$ac_dir" && ac_dir
=.
8957 if test -f $ac_dir/$ac_word; then
8966 if test -n "$CC"; then
8967 echo "$ac_t""$CC" 1>&6
8969 echo "$ac_t""no" 1>&6
8972 if test -z "$CC"; then
8973 # Extract the first word of "cc", so it can be a program name with args.
8974 set dummy cc
; ac_word
=$2
8975 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8976 echo "configure:8977: checking for $ac_word" >&5
8977 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8978 echo $ac_n "(cached) $ac_c" 1>&6
8980 if test -n "$CC"; then
8981 ac_cv_prog_CC
="$CC" # Let the user override the test.
8983 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8986 for ac_dir
in $ac_dummy; do
8987 test -z "$ac_dir" && ac_dir
=.
8988 if test -f $ac_dir/$ac_word; then
8989 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8990 ac_prog_rejected
=yes
8998 if test $ac_prog_rejected = yes; then
8999 # We found a bogon in the path, so make sure we never use it.
9000 set dummy
$ac_cv_prog_CC
9002 if test $# -gt 0; then
9003 # We chose a different compiler from the bogus one.
9004 # However, it has the same basename, so the bogon will be chosen
9005 # first if we set CC to just the basename; use the full file name.
9007 set dummy
"$ac_dir/$ac_word" "$@"
9015 if test -n "$CC"; then
9016 echo "$ac_t""$CC" 1>&6
9018 echo "$ac_t""no" 1>&6
9021 if test -z "$CC"; then
9022 case "`uname -s`" in
9024 # Extract the first word of "cl", so it can be a program name with args.
9025 set dummy cl
; ac_word
=$2
9026 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9027 echo "configure:9028: checking for $ac_word" >&5
9028 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
9029 echo $ac_n "(cached) $ac_c" 1>&6
9031 if test -n "$CC"; then
9032 ac_cv_prog_CC
="$CC" # Let the user override the test.
9034 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9036 for ac_dir
in $ac_dummy; do
9037 test -z "$ac_dir" && ac_dir
=.
9038 if test -f $ac_dir/$ac_word; then
9047 if test -n "$CC"; then
9048 echo "$ac_t""$CC" 1>&6
9050 echo "$ac_t""no" 1>&6
9055 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
9058 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9059 echo "configure:9060: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
9062 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9063 ac_cpp
='$CPP $CPPFLAGS'
9064 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9065 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9066 cross_compiling
=$ac_cv_prog_cc_cross
9068 cat > conftest.
$ac_ext << EOF
9070 #line 9071 "configure"
9071 #include "confdefs.h"
9075 if { (eval echo configure
:9076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9076 ac_cv_prog_cc_works
=yes
9077 # If we can't run a trivial program, we are probably using a cross compiler.
9078 if (.
/conftest
; exit) 2>/dev
/null
; then
9079 ac_cv_prog_cc_cross
=no
9081 ac_cv_prog_cc_cross
=yes
9084 echo "configure: failed program was:" >&5
9085 cat conftest.
$ac_ext >&5
9086 ac_cv_prog_cc_works
=no
9090 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9091 ac_cpp
='$CPP $CPPFLAGS'
9092 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9093 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9094 cross_compiling
=$ac_cv_prog_cc_cross
9096 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
9097 if test $ac_cv_prog_cc_works = no
; then
9098 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
9100 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9101 echo "configure:9102: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
9102 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
9103 cross_compiling
=$ac_cv_prog_cc_cross
9105 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
9106 echo "configure:9107: checking whether we are using GNU C" >&5
9107 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
9108 echo $ac_n "(cached) $ac_c" 1>&6
9110 cat > conftest.c
<<EOF
9115 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:9116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9122 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
9124 if test $ac_cv_prog_gcc = yes; then
9130 ac_test_CFLAGS
="${CFLAGS+set}"
9131 ac_save_CFLAGS
="$CFLAGS"
9133 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
9134 echo "configure:9135: checking whether ${CC-cc} accepts -g" >&5
9135 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
9136 echo $ac_n "(cached) $ac_c" 1>&6
9138 echo 'void f(){}' > conftest.c
9139 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
9148 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
9149 if test "$ac_test_CFLAGS" = set; then
9150 CFLAGS
="$ac_save_CFLAGS"
9151 elif test $ac_cv_prog_cc_g = yes; then
9152 if test "$GCC" = yes; then
9158 if test "$GCC" = yes; then
9166 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
9167 echo "configure:9168: checking how to run the C preprocessor" >&5
9168 # On Suns, sometimes $CPP names a directory.
9169 if test -n "$CPP" && test -d "$CPP"; then
9172 if test -z "$CPP"; then
9173 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
9174 echo $ac_n "(cached) $ac_c" 1>&6
9176 # This must be in double quotes, not single quotes, because CPP may get
9177 # substituted into the Makefile and "${CC-cc}" will confuse make.
9179 # On the NeXT, cc -E runs the code through the compiler's parser,
9180 # not just through cpp.
9181 cat > conftest.
$ac_ext <<EOF
9182 #line 9183 "configure"
9183 #include "confdefs.h"
9187 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9188 { (eval echo configure
:9189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9189 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9190 if test -z "$ac_err"; then
9194 echo "configure: failed program was:" >&5
9195 cat conftest.
$ac_ext >&5
9197 CPP
="${CC-cc} -E -traditional-cpp"
9198 cat > conftest.
$ac_ext <<EOF
9199 #line 9200 "configure"
9200 #include "confdefs.h"
9204 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9205 { (eval echo configure
:9206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9206 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9207 if test -z "$ac_err"; then
9211 echo "configure: failed program was:" >&5
9212 cat conftest.
$ac_ext >&5
9214 CPP
="${CC-cc} -nologo -E"
9215 cat > conftest.
$ac_ext <<EOF
9216 #line 9217 "configure"
9217 #include "confdefs.h"
9221 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9222 { (eval echo configure
:9223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9223 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9224 if test -z "$ac_err"; then
9228 echo "configure: failed program was:" >&5
9229 cat conftest.
$ac_ext >&5
9238 ac_cv_prog_CPP
="$CPP"
9240 CPP
="$ac_cv_prog_CPP"
9242 ac_cv_prog_CPP
="$CPP"
9244 echo "$ac_t""$CPP" 1>&6
9246 if test $ac_cv_prog_gcc = yes; then
9247 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
9248 echo "configure:9249: checking whether ${CC-cc} needs -traditional" >&5
9249 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
9250 echo $ac_n "(cached) $ac_c" 1>&6
9252 ac_pattern
="Autoconf.*'x'"
9253 cat > conftest.
$ac_ext <<EOF
9254 #line 9255 "configure"
9255 #include "confdefs.h"
9259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9260 egrep "$ac_pattern" >/dev
/null
2>&1; then
9262 ac_cv_prog_gcc_traditional
=yes
9265 ac_cv_prog_gcc_traditional
=no
9270 if test $ac_cv_prog_gcc_traditional = no
; then
9271 cat > conftest.
$ac_ext <<EOF
9272 #line 9273 "configure"
9273 #include "confdefs.h"
9277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9278 egrep "$ac_pattern" >/dev
/null
2>&1; then
9280 ac_cv_prog_gcc_traditional
=yes
9287 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
9288 if test $ac_cv_prog_gcc_traditional = yes; then
9289 CC
="$CC -traditional"
9296 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9297 ac_cpp
='$CXXCPP $CPPFLAGS'
9298 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9299 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9300 cross_compiling
=$ac_cv_prog_cxx_cross
9303 CXXFLAGS
=${CXXFLAGS:=}
9304 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
9306 # Extract the first word of "$ac_prog", so it can be a program name with args.
9307 set dummy
$ac_prog; ac_word
=$2
9308 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9309 echo "configure:9310: checking for $ac_word" >&5
9310 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
9311 echo $ac_n "(cached) $ac_c" 1>&6
9313 if test -n "$CXX"; then
9314 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9316 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9318 for ac_dir
in $ac_dummy; do
9319 test -z "$ac_dir" && ac_dir
=.
9320 if test -f $ac_dir/$ac_word; then
9321 ac_cv_prog_CXX
="$ac_prog"
9328 CXX
="$ac_cv_prog_CXX"
9329 if test -n "$CXX"; then
9330 echo "$ac_t""$CXX" 1>&6
9332 echo "$ac_t""no" 1>&6
9335 test -n "$CXX" && break
9337 test -n "$CXX" || CXX
="gcc"
9340 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9341 echo "configure:9342: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9344 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9345 ac_cpp
='$CXXCPP $CPPFLAGS'
9346 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9347 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9348 cross_compiling
=$ac_cv_prog_cxx_cross
9350 cat > conftest.
$ac_ext << EOF
9352 #line 9353 "configure"
9353 #include "confdefs.h"
9355 int main(){return(0);}
9357 if { (eval echo configure
:9358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9358 ac_cv_prog_cxx_works
=yes
9359 # If we can't run a trivial program, we are probably using a cross compiler.
9360 if (.
/conftest
; exit) 2>/dev
/null
; then
9361 ac_cv_prog_cxx_cross
=no
9363 ac_cv_prog_cxx_cross
=yes
9366 echo "configure: failed program was:" >&5
9367 cat conftest.
$ac_ext >&5
9368 ac_cv_prog_cxx_works
=no
9372 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9373 ac_cpp
='$CXXCPP $CPPFLAGS'
9374 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9375 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9376 cross_compiling
=$ac_cv_prog_cxx_cross
9378 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9379 if test $ac_cv_prog_cxx_works = no
; then
9380 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9382 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9383 echo "configure:9384: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9384 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9385 cross_compiling
=$ac_cv_prog_cxx_cross
9387 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9388 echo "configure:9389: checking whether we are using GNU C++" >&5
9389 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9390 echo $ac_n "(cached) $ac_c" 1>&6
9392 cat > conftest.C
<<EOF
9397 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9404 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9406 if test $ac_cv_prog_gxx = yes; then
9412 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9413 ac_save_CXXFLAGS
="$CXXFLAGS"
9415 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9416 echo "configure:9417: checking whether ${CXX-g++} accepts -g" >&5
9417 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9418 echo $ac_n "(cached) $ac_c" 1>&6
9420 echo 'void f(){}' > conftest.cc
9421 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9422 ac_cv_prog_cxx_g
=yes
9430 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9431 if test "$ac_test_CXXFLAGS" = set; then
9432 CXXFLAGS
="$ac_save_CXXFLAGS"
9433 elif test $ac_cv_prog_cxx_g = yes; then
9434 if test "$GXX" = yes; then
9440 if test "$GXX" = yes; then
9449 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9450 ac_cpp
='$CPP $CPPFLAGS'
9451 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9452 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9453 cross_compiling
=$ac_cv_prog_cc_cross
9456 # Extract the first word of "ranlib", so it can be a program name with args.
9457 set dummy ranlib
; ac_word
=$2
9458 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9459 echo "configure:9460: checking for $ac_word" >&5
9460 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9461 echo $ac_n "(cached) $ac_c" 1>&6
9463 if test -n "$RANLIB"; then
9464 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9466 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9468 for ac_dir
in $ac_dummy; do
9469 test -z "$ac_dir" && ac_dir
=.
9470 if test -f $ac_dir/$ac_word; then
9471 ac_cv_prog_RANLIB
="ranlib"
9476 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9479 RANLIB
="$ac_cv_prog_RANLIB"
9480 if test -n "$RANLIB"; then
9481 echo "$ac_t""$RANLIB" 1>&6
9483 echo "$ac_t""no" 1>&6
9487 # Extract the first word of "ar", so it can be a program name with args.
9488 set dummy
ar; ac_word
=$2
9489 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9490 echo "configure:9491: checking for $ac_word" >&5
9491 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9492 echo $ac_n "(cached) $ac_c" 1>&6
9494 if test -n "$AR"; then
9495 ac_cv_prog_AR
="$AR" # Let the user override the test.
9497 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9499 for ac_dir
in $ac_dummy; do
9500 test -z "$ac_dir" && ac_dir
=.
9501 if test -f $ac_dir/$ac_word; then
9507 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9511 if test -n "$AR"; then
9512 echo "$ac_t""$AR" 1>&6
9514 echo "$ac_t""no" 1>&6
9518 # Find a good install program. We prefer a C program (faster),
9519 # so one script is as good as another. But avoid the broken or
9520 # incompatible versions:
9521 # SysV /etc/install, /usr/sbin/install
9522 # SunOS /usr/etc/install
9523 # IRIX /sbin/install
9525 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9526 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9527 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9528 # ./install, which can be erroneously created by make from ./install.sh.
9529 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9530 echo "configure:9531: checking for a BSD compatible install" >&5
9531 if test -z "$INSTALL"; then
9532 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9533 echo $ac_n "(cached) $ac_c" 1>&6
9535 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9536 for ac_dir
in $PATH; do
9537 # Account for people who put trailing slashes in PATH elements.
9539 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9541 # OSF1 and SCO ODT 3.0 have their own names for install.
9542 # Don't use installbsd from OSF since it installs stuff as root
9544 for ac_prog
in ginstall scoinst
install; do
9545 if test -f $ac_dir/$ac_prog; then
9546 if test $ac_prog = install &&
9547 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9548 # AIX install. It has an incompatible calling convention.
9551 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9562 if test "${ac_cv_path_install+set}" = set; then
9563 INSTALL
="$ac_cv_path_install"
9565 # As a last resort, use the slow shell script. We don't cache a
9566 # path for INSTALL within a source directory, because that will
9567 # break other packages using the cache if that directory is
9568 # removed, or if the path is relative.
9569 INSTALL
="$ac_install_sh"
9572 echo "$ac_t""$INSTALL" 1>&6
9574 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9575 # It thinks the first close brace ends the variable substitution.
9576 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9578 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9580 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9586 ?
:* ) # Drive letter, considered as absolute.
9589 INSTALL
=`pwd`/${INSTALL} ;;
9597 *) INSTALL_DIR
="$INSTALL -d"
9605 INSTALL_PROGRAM
="cp -fp"
9606 INSTALL_DATA
="cp -fp"
9612 # Extract the first word of "strip", so it can be a program name with args.
9613 set dummy strip
; ac_word
=$2
9614 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9615 echo "configure:9616: checking for $ac_word" >&5
9616 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9617 echo $ac_n "(cached) $ac_c" 1>&6
9619 if test -n "$STRIP"; then
9620 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9622 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9624 for ac_dir
in $ac_dummy; do
9625 test -z "$ac_dir" && ac_dir
=.
9626 if test -f $ac_dir/$ac_word; then
9627 ac_cv_prog_STRIP
="strip"
9632 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9635 STRIP
="$ac_cv_prog_STRIP"
9636 if test -n "$STRIP"; then
9637 echo "$ac_t""$STRIP" 1>&6
9639 echo "$ac_t""no" 1>&6
9643 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9644 echo "configure:9645: checking if make is GNU make" >&5
9645 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9646 echo $ac_n "(cached) $ac_c" 1>&6
9649 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9650 egrep -s GNU
> /dev
/null
); then
9651 wx_cv_prog_makeisgnu
="yes"
9653 wx_cv_prog_makeisgnu
="no"
9658 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9660 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9668 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9669 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9670 echo "configure:9671: checking if make supports VPATH" >&5
9671 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9672 echo $ac_n "(cached) $ac_c" 1>&6
9675 cat - << EOF > confMake
9681 if test ! -d sub
; then
9684 echo dummy
> sub
/file
9685 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9687 rm -f sub
/file check final_file confMake
9689 if test "$RESULT" = 0; then
9690 wx_cv_prog_makevpath
="yes"
9692 wx_cv_prog_makevpath
="no"
9697 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9699 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9700 { echo "configure: error:
9701 You need a make-utility that is able to use the variable
9703 If your version of make does not support VPATH correctly,
9704 please install GNU-make (possibly as gmake), and start
9705 configure with the following command:
9706 export MAKE=gmake; ./configure for sh-type shells
9707 setenv MAKE gmake; ./configure for csh-type shells
9708 Also please do remember to use gmake in this case every time
9709 you are trying to compile.
9712 for ac_prog
in 'bison -y' byacc
9714 # Extract the first word of "$ac_prog", so it can be a program name with args.
9715 set dummy
$ac_prog; ac_word
=$2
9716 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9717 echo "configure:9718: checking for $ac_word" >&5
9718 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9719 echo $ac_n "(cached) $ac_c" 1>&6
9721 if test -n "$YACC"; then
9722 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9724 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9726 for ac_dir
in $ac_dummy; do
9727 test -z "$ac_dir" && ac_dir
=.
9728 if test -f $ac_dir/$ac_word; then
9729 ac_cv_prog_YACC
="$ac_prog"
9736 YACC
="$ac_cv_prog_YACC"
9737 if test -n "$YACC"; then
9738 echo "$ac_t""$YACC" 1>&6
9740 echo "$ac_t""no" 1>&6
9743 test -n "$YACC" && break
9745 test -n "$YACC" || YACC
="yacc"
9748 # Extract the first word of "flex", so it can be a program name with args.
9749 set dummy flex
; ac_word
=$2
9750 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9751 echo "configure:9752: checking for $ac_word" >&5
9752 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9753 echo $ac_n "(cached) $ac_c" 1>&6
9755 if test -n "$LEX"; then
9756 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9758 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9760 for ac_dir
in $ac_dummy; do
9761 test -z "$ac_dir" && ac_dir
=.
9762 if test -f $ac_dir/$ac_word; then
9763 ac_cv_prog_LEX
="flex"
9768 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9771 LEX
="$ac_cv_prog_LEX"
9772 if test -n "$LEX"; then
9773 echo "$ac_t""$LEX" 1>&6
9775 echo "$ac_t""no" 1>&6
9778 if test -z "$LEXLIB"
9784 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9785 echo "configure:9786: checking for yywrap in -l$ac_lib" >&5
9786 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9787 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9788 echo $ac_n "(cached) $ac_c" 1>&6
9790 ac_save_LIBS
="$LIBS"
9791 LIBS
="-l$ac_lib $LIBS"
9792 cat > conftest.
$ac_ext <<EOF
9793 #line 9794 "configure"
9794 #include "confdefs.h"
9795 /* Override any gcc2 internal prototype to avoid an error. */
9796 /* We use char because int might match the return type of a gcc2
9797 builtin and then its argument prototype would still apply. */
9804 if { (eval echo configure
:9805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9806 eval "ac_cv_lib_$ac_lib_var=yes"
9808 echo "configure: failed program was:" >&5
9809 cat conftest.
$ac_ext >&5
9811 eval "ac_cv_lib_$ac_lib_var=no"
9814 LIBS
="$ac_save_LIBS"
9817 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9818 echo "$ac_t""yes" 1>&6
9821 echo "$ac_t""no" 1>&6
9827 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9828 echo "configure:9829: checking whether ln -s works" >&5
9829 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9830 echo $ac_n "(cached) $ac_c" 1>&6
9833 if ln -s X conftestdata
2>/dev
/null
9836 ac_cv_prog_LN_S
="ln -s"
9841 LN_S
="$ac_cv_prog_LN_S"
9842 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9843 echo "$ac_t""yes" 1>&6
9845 echo "$ac_t""no" 1>&6
9850 *-pc-os2_emx | *-pc-os2-emx )
9851 LIBS
="$LIBS -lstdcpp"
9852 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
9853 echo $ac_n "checking for drand48 in -lcExt""... $ac_c" 1>&6
9854 echo "configure:9855: checking for drand48 in -lcExt" >&5
9855 ac_lib_var
=`echo cExt'_'drand48 | sed 'y%./+-%__p_%'`
9856 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9857 echo $ac_n "(cached) $ac_c" 1>&6
9859 ac_save_LIBS
="$LIBS"
9861 cat > conftest.
$ac_ext <<EOF
9862 #line 9863 "configure"
9863 #include "confdefs.h"
9864 /* Override any gcc2 internal prototype to avoid an error. */
9865 /* We use char because int might match the return type of a gcc2
9866 builtin and then its argument prototype would still apply. */
9873 if { (eval echo configure
:9874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9875 eval "ac_cv_lib_$ac_lib_var=yes"
9877 echo "configure: failed program was:" >&5
9878 cat conftest.
$ac_ext >&5
9880 eval "ac_cv_lib_$ac_lib_var=no"
9883 LIBS
="$ac_save_LIBS"
9886 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9887 echo "$ac_t""yes" 1>&6
9890 echo "$ac_t""no" 1>&6
9894 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
9900 if test "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
9901 for ac_hdr
in strings.h
9903 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9904 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9905 echo "configure:9906: checking for $ac_hdr" >&5
9906 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9907 echo $ac_n "(cached) $ac_c" 1>&6
9909 cat > conftest.
$ac_ext <<EOF
9910 #line 9911 "configure"
9911 #include "confdefs.h"
9914 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9915 { (eval echo configure
:9916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9916 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9917 if test -z "$ac_err"; then
9919 eval "ac_cv_header_$ac_safe=yes"
9922 echo "configure: failed program was:" >&5
9923 cat conftest.
$ac_ext >&5
9925 eval "ac_cv_header_$ac_safe=no"
9929 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9930 echo "$ac_t""yes" 1>&6
9931 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9932 cat >> confdefs.h
<<EOF
9933 #define $ac_tr_hdr 1
9937 echo "$ac_t""no" 1>&6
9943 for ac_hdr
in stdlib.h
9945 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9946 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9947 echo "configure:9948: checking for $ac_hdr" >&5
9948 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9949 echo $ac_n "(cached) $ac_c" 1>&6
9951 cat > conftest.
$ac_ext <<EOF
9952 #line 9953 "configure"
9953 #include "confdefs.h"
9956 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9957 { (eval echo configure
:9958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9958 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9959 if test -z "$ac_err"; then
9961 eval "ac_cv_header_$ac_safe=yes"
9964 echo "configure: failed program was:" >&5
9965 cat conftest.
$ac_ext >&5
9967 eval "ac_cv_header_$ac_safe=no"
9971 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9972 echo "$ac_t""yes" 1>&6
9973 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9974 cat >> confdefs.h
<<EOF
9975 #define $ac_tr_hdr 1
9979 echo "$ac_t""no" 1>&6
9983 for ac_hdr
in malloc.h
9985 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9986 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9987 echo "configure:9988: checking for $ac_hdr" >&5
9988 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9989 echo $ac_n "(cached) $ac_c" 1>&6
9991 cat > conftest.
$ac_ext <<EOF
9992 #line 9993 "configure"
9993 #include "confdefs.h"
9996 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9997 { (eval echo configure
:9998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9998 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9999 if test -z "$ac_err"; then
10001 eval "ac_cv_header_$ac_safe=yes"
10004 echo "configure: failed program was:" >&5
10005 cat conftest.
$ac_ext >&5
10007 eval "ac_cv_header_$ac_safe=no"
10011 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10012 echo "$ac_t""yes" 1>&6
10013 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10014 cat >> confdefs.h
<<EOF
10015 #define $ac_tr_hdr 1
10019 echo "$ac_t""no" 1>&6
10023 for ac_hdr
in unistd.h
10025 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10026 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10027 echo "configure:10028: checking for $ac_hdr" >&5
10028 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10029 echo $ac_n "(cached) $ac_c" 1>&6
10031 cat > conftest.
$ac_ext <<EOF
10032 #line 10033 "configure"
10033 #include "confdefs.h"
10036 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10037 { (eval echo configure
:10038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10038 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10039 if test -z "$ac_err"; then
10041 eval "ac_cv_header_$ac_safe=yes"
10044 echo "configure: failed program was:" >&5
10045 cat conftest.
$ac_ext >&5
10047 eval "ac_cv_header_$ac_safe=no"
10051 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10052 echo "$ac_t""yes" 1>&6
10053 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10054 cat >> confdefs.h
<<EOF
10055 #define $ac_tr_hdr 1
10059 echo "$ac_t""no" 1>&6
10063 for ac_hdr
in wchar.h
10065 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10066 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10067 echo "configure:10068: checking for $ac_hdr" >&5
10068 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10069 echo $ac_n "(cached) $ac_c" 1>&6
10071 cat > conftest.
$ac_ext <<EOF
10072 #line 10073 "configure"
10073 #include "confdefs.h"
10076 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10077 { (eval echo configure
:10078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10078 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10079 if test -z "$ac_err"; then
10081 eval "ac_cv_header_$ac_safe=yes"
10084 echo "configure: failed program was:" >&5
10085 cat conftest.
$ac_ext >&5
10087 eval "ac_cv_header_$ac_safe=no"
10091 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10092 echo "$ac_t""yes" 1>&6
10093 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10094 cat >> confdefs.h
<<EOF
10095 #define $ac_tr_hdr 1
10099 echo "$ac_t""no" 1>&6
10104 if test "$ac_cv_header_wchar_h" != "yes"; then
10105 for ac_hdr
in wcstr.h
10107 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10108 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10109 echo "configure:10110: checking for $ac_hdr" >&5
10110 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10111 echo $ac_n "(cached) $ac_c" 1>&6
10113 cat > conftest.
$ac_ext <<EOF
10114 #line 10115 "configure"
10115 #include "confdefs.h"
10118 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10119 { (eval echo configure
:10120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10120 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10121 if test -z "$ac_err"; then
10123 eval "ac_cv_header_$ac_safe=yes"
10126 echo "configure: failed program was:" >&5
10127 cat conftest.
$ac_ext >&5
10129 eval "ac_cv_header_$ac_safe=no"
10133 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10134 echo "$ac_t""yes" 1>&6
10135 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10136 cat >> confdefs.h
<<EOF
10137 #define $ac_tr_hdr 1
10141 echo "$ac_t""no" 1>&6
10147 for ac_hdr
in fnmatch.h
10149 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10150 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10151 echo "configure:10152: checking for $ac_hdr" >&5
10152 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10153 echo $ac_n "(cached) $ac_c" 1>&6
10155 cat > conftest.
$ac_ext <<EOF
10156 #line 10157 "configure"
10157 #include "confdefs.h"
10160 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10161 { (eval echo configure
:10162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10162 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10163 if test -z "$ac_err"; then
10165 eval "ac_cv_header_$ac_safe=yes"
10168 echo "configure: failed program was:" >&5
10169 cat conftest.
$ac_ext >&5
10171 eval "ac_cv_header_$ac_safe=no"
10175 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10176 echo "$ac_t""yes" 1>&6
10177 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10178 cat >> confdefs.h
<<EOF
10179 #define $ac_tr_hdr 1
10183 echo "$ac_t""no" 1>&6
10188 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
10189 for ac_func
in fnmatch
10191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10192 echo "configure:10193: checking for $ac_func" >&5
10193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10194 echo $ac_n "(cached) $ac_c" 1>&6
10196 cat > conftest.
$ac_ext <<EOF
10197 #line 10198 "configure"
10198 #include "confdefs.h"
10199 /* System header to define __stub macros and hopefully few prototypes,
10200 which can conflict with char $ac_func(); below. */
10201 #include <assert.h>
10202 /* Override any gcc2 internal prototype to avoid an error. */
10203 /* We use char because int might match the return type of a gcc2
10204 builtin and then its argument prototype would still apply. */
10209 /* The GNU C library defines this for functions which it implements
10210 to always fail with ENOSYS. Some functions are actually named
10211 something starting with __ and the normal name is an alias. */
10212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10220 if { (eval echo configure
:10221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10222 eval "ac_cv_func_$ac_func=yes"
10224 echo "configure: failed program was:" >&5
10225 cat conftest.
$ac_ext >&5
10227 eval "ac_cv_func_$ac_func=no"
10232 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10233 echo "$ac_t""yes" 1>&6
10234 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10235 cat >> confdefs.h
<<EOF
10236 #define $ac_tr_func 1
10240 echo "$ac_t""no" 1>&6
10246 for ac_hdr
in langinfo.h
10248 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10249 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10250 echo "configure:10251: checking for $ac_hdr" >&5
10251 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10252 echo $ac_n "(cached) $ac_c" 1>&6
10254 cat > conftest.
$ac_ext <<EOF
10255 #line 10256 "configure"
10256 #include "confdefs.h"
10259 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10260 { (eval echo configure
:10261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10261 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10262 if test -z "$ac_err"; then
10264 eval "ac_cv_header_$ac_safe=yes"
10267 echo "configure: failed program was:" >&5
10268 cat conftest.
$ac_ext >&5
10270 eval "ac_cv_header_$ac_safe=no"
10274 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10275 echo "$ac_t""yes" 1>&6
10276 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10277 cat >> confdefs.h
<<EOF
10278 #define $ac_tr_hdr 1
10282 echo "$ac_t""no" 1>&6
10288 *-pc-os2_emx | *-pc-os2-emx )
10289 if test $ac_cv_header_langinfo_h = "yes"; then
10290 LIBS
="$LIBS -lintl"
10295 if test "$wxUSE_GUI" = "yes"; then
10296 if test "$wxUSE_UNIX" = "yes"; then
10297 for ac_hdr
in X
11/XKBlib.h
10299 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10300 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10301 echo "configure:10302: checking for $ac_hdr" >&5
10302 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10303 echo $ac_n "(cached) $ac_c" 1>&6
10305 cat > conftest.
$ac_ext <<EOF
10306 #line 10307 "configure"
10307 #include "confdefs.h"
10310 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10311 { (eval echo configure
:10312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10312 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10313 if test -z "$ac_err"; then
10315 eval "ac_cv_header_$ac_safe=yes"
10318 echo "configure: failed program was:" >&5
10319 cat conftest.
$ac_ext >&5
10321 eval "ac_cv_header_$ac_safe=no"
10325 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10326 echo "$ac_t""yes" 1>&6
10327 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10328 cat >> confdefs.h
<<EOF
10329 #define $ac_tr_hdr 1
10333 echo "$ac_t""no" 1>&6
10341 echo $ac_n "checking for working const""... $ac_c" 1>&6
10342 echo "configure:10343: checking for working const" >&5
10343 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10344 echo $ac_n "(cached) $ac_c" 1>&6
10346 cat > conftest.
$ac_ext <<EOF
10347 #line 10348 "configure"
10348 #include "confdefs.h"
10352 /* Ultrix mips cc rejects this. */
10353 typedef int charset[2]; const charset x;
10354 /* SunOS 4.1.1 cc rejects this. */
10355 char const *const *ccp;
10357 /* NEC SVR4.0.2 mips cc rejects this. */
10358 struct point {int x, y;};
10359 static struct point const zero = {0,0};
10360 /* AIX XL C 1.02.0.0 rejects this.
10361 It does not let you subtract one const X* pointer from another in an arm
10362 of an if-expression whose if-part is not a constant expression */
10363 const char *g = "string";
10364 ccp = &g + (g ? g-g : 0);
10365 /* HPUX 7.0 cc rejects these. */
10368 ccp = (char const *const *) p;
10369 { /* SCO 3.2v4 cc rejects this. */
10371 char const *s = 0 ? (char *) 0 : (char const *) 0;
10375 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10376 int x[] = {25, 17};
10377 const int *foo = &x[0];
10380 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10381 typedef const int *iptr;
10385 { /* AIX XL C 1.02.0.0 rejects this saying
10386 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10387 struct s { int j; const int *ap[3]; };
10388 struct s *b; b->j = 5;
10390 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10391 const int foo = 10;
10396 if { (eval echo configure
:10397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10400 echo "configure: failed program was:" >&5
10401 cat conftest.
$ac_ext >&5
10408 echo "$ac_t""$ac_cv_c_const" 1>&6
10409 if test $ac_cv_c_const = no
; then
10410 cat >> confdefs.h
<<\EOF
10416 echo $ac_n "checking for inline""... $ac_c" 1>&6
10417 echo "configure:10418: checking for inline" >&5
10418 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10419 echo $ac_n "(cached) $ac_c" 1>&6
10422 for ac_kw
in inline __inline__ __inline
; do
10423 cat > conftest.
$ac_ext <<EOF
10424 #line 10425 "configure"
10425 #include "confdefs.h"
10431 if { (eval echo configure
:10432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10433 ac_cv_c_inline
=$ac_kw; break
10435 echo "configure: failed program was:" >&5
10436 cat conftest.
$ac_ext >&5
10443 echo "$ac_t""$ac_cv_c_inline" 1>&6
10444 case "$ac_cv_c_inline" in
10446 no
) cat >> confdefs.h
<<\EOF
10450 *) cat >> confdefs.h
<<EOF
10451 #define inline $ac_cv_c_inline
10457 echo $ac_n "checking size of char""... $ac_c" 1>&6
10458 echo "configure:10459: checking size of char" >&5
10459 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10460 echo $ac_n "(cached) $ac_c" 1>&6
10462 if test "$cross_compiling" = yes; then
10463 ac_cv_sizeof_char
=1
10465 cat > conftest.
$ac_ext <<EOF
10466 #line 10467 "configure"
10467 #include "confdefs.h"
10471 FILE *f=fopen("conftestval", "w");
10473 fprintf(f, "%d\n", sizeof(char));
10477 if { (eval echo configure
:10478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10479 ac_cv_sizeof_char
=`cat conftestval`
10481 echo "configure: failed program was:" >&5
10482 cat conftest.
$ac_ext >&5
10484 ac_cv_sizeof_char
=0
10490 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10491 cat >> confdefs.h
<<EOF
10492 #define SIZEOF_CHAR $ac_cv_sizeof_char
10496 echo $ac_n "checking size of short""... $ac_c" 1>&6
10497 echo "configure:10498: checking size of short" >&5
10498 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10499 echo $ac_n "(cached) $ac_c" 1>&6
10501 if test "$cross_compiling" = yes; then
10502 ac_cv_sizeof_short
=2
10504 cat > conftest.
$ac_ext <<EOF
10505 #line 10506 "configure"
10506 #include "confdefs.h"
10510 FILE *f=fopen("conftestval", "w");
10512 fprintf(f, "%d\n", sizeof(short));
10516 if { (eval echo configure
:10517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10518 ac_cv_sizeof_short
=`cat conftestval`
10520 echo "configure: failed program was:" >&5
10521 cat conftest.
$ac_ext >&5
10523 ac_cv_sizeof_short
=0
10529 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10530 cat >> confdefs.h
<<EOF
10531 #define SIZEOF_SHORT $ac_cv_sizeof_short
10535 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10536 echo "configure:10537: checking size of void *" >&5
10537 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10538 echo $ac_n "(cached) $ac_c" 1>&6
10540 if test "$cross_compiling" = yes; then
10541 ac_cv_sizeof_void_p
=4
10543 cat > conftest.
$ac_ext <<EOF
10544 #line 10545 "configure"
10545 #include "confdefs.h"
10549 FILE *f=fopen("conftestval", "w");
10551 fprintf(f, "%d\n", sizeof(void *));
10555 if { (eval echo configure
:10556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10557 ac_cv_sizeof_void_p
=`cat conftestval`
10559 echo "configure: failed program was:" >&5
10560 cat conftest.
$ac_ext >&5
10562 ac_cv_sizeof_void_p
=0
10568 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10569 cat >> confdefs.h
<<EOF
10570 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10574 echo $ac_n "checking size of int""... $ac_c" 1>&6
10575 echo "configure:10576: checking size of int" >&5
10576 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10577 echo $ac_n "(cached) $ac_c" 1>&6
10579 if test "$cross_compiling" = yes; then
10582 cat > conftest.
$ac_ext <<EOF
10583 #line 10584 "configure"
10584 #include "confdefs.h"
10588 FILE *f=fopen("conftestval", "w");
10590 fprintf(f, "%d\n", sizeof(int));
10594 if { (eval echo configure
:10595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10596 ac_cv_sizeof_int
=`cat conftestval`
10598 echo "configure: failed program was:" >&5
10599 cat conftest.
$ac_ext >&5
10607 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10608 cat >> confdefs.h
<<EOF
10609 #define SIZEOF_INT $ac_cv_sizeof_int
10613 echo $ac_n "checking size of long""... $ac_c" 1>&6
10614 echo "configure:10615: checking size of long" >&5
10615 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10616 echo $ac_n "(cached) $ac_c" 1>&6
10618 if test "$cross_compiling" = yes; then
10619 ac_cv_sizeof_long
=4
10621 cat > conftest.
$ac_ext <<EOF
10622 #line 10623 "configure"
10623 #include "confdefs.h"
10627 FILE *f=fopen("conftestval", "w");
10629 fprintf(f, "%d\n", sizeof(long));
10633 if { (eval echo configure
:10634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10635 ac_cv_sizeof_long
=`cat conftestval`
10637 echo "configure: failed program was:" >&5
10638 cat conftest.
$ac_ext >&5
10640 ac_cv_sizeof_long
=0
10646 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10647 cat >> confdefs.h
<<EOF
10648 #define SIZEOF_LONG $ac_cv_sizeof_long
10655 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10656 echo "configure:10657: checking size of long long" >&5
10657 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10658 echo $ac_n "(cached) $ac_c" 1>&6
10660 if test "$cross_compiling" = yes; then
10661 ac_cv_sizeof_long_long
=8
10663 cat > conftest.
$ac_ext <<EOF
10664 #line 10665 "configure"
10665 #include "confdefs.h"
10669 FILE *f=fopen("conftestval", "w");
10671 fprintf(f, "%d\n", sizeof(long long));
10675 if { (eval echo configure
:10676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10677 ac_cv_sizeof_long_long
=`cat conftestval`
10679 echo "configure: failed program was:" >&5
10680 cat conftest.
$ac_ext >&5
10682 ac_cv_sizeof_long_long
=0
10688 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10689 cat >> confdefs.h
<<EOF
10690 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10696 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10697 echo "configure:10698: checking size of long long" >&5
10698 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10699 echo $ac_n "(cached) $ac_c" 1>&6
10701 if test "$cross_compiling" = yes; then
10702 ac_cv_sizeof_long_long
=0
10704 cat > conftest.
$ac_ext <<EOF
10705 #line 10706 "configure"
10706 #include "confdefs.h"
10710 FILE *f=fopen("conftestval", "w");
10712 fprintf(f, "%d\n", sizeof(long long));
10716 if { (eval echo configure
:10717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10718 ac_cv_sizeof_long_long
=`cat conftestval`
10720 echo "configure: failed program was:" >&5
10721 cat conftest.
$ac_ext >&5
10723 ac_cv_sizeof_long_long
=0
10729 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10730 cat >> confdefs.h
<<EOF
10731 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10735 if test "$ac_cv_sizeof_long_long" != "0"; then
10736 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
10740 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10741 echo "configure:10742: checking size of long long" >&5
10742 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10743 echo $ac_n "(cached) $ac_c" 1>&6
10745 if test "$cross_compiling" = yes; then
10746 ac_cv_sizeof_long_long
=0
10748 cat > conftest.
$ac_ext <<EOF
10749 #line 10750 "configure"
10750 #include "confdefs.h"
10754 FILE *f=fopen("conftestval", "w");
10756 fprintf(f, "%d\n", sizeof(long long));
10760 if { (eval echo configure
:10761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10762 ac_cv_sizeof_long_long
=`cat conftestval`
10764 echo "configure: failed program was:" >&5
10765 cat conftest.
$ac_ext >&5
10767 ac_cv_sizeof_long_long
=0
10773 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10774 cat >> confdefs.h
<<EOF
10775 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10781 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10782 echo "configure:10783: checking size of wchar_t" >&5
10783 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10784 echo $ac_n "(cached) $ac_c" 1>&6
10787 if test "$cross_compiling" = yes; then
10791 wx_cv_sizeof_wchar_t
=0
10794 wx_cv_sizeof_wchar_t
=4
10800 cat > conftest.
$ac_ext <<EOF
10801 #line 10802 "configure"
10802 #include "confdefs.h"
10804 /* DJGPP only has fake wchar_t: */
10806 # error "fake wchar_t"
10808 #ifdef HAVE_WCHAR_H
10810 # include <stddef.h>
10812 # include <wchar.h>
10814 #ifdef HAVE_STDLIB_H
10815 # include <stdlib.h>
10820 FILE *f=fopen("conftestval", "w");
10822 fprintf(f, "%i", sizeof(wchar_t));
10827 if { (eval echo configure
:10828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10829 wx_cv_sizeof_wchar_t
=`cat conftestval`
10831 echo "configure: failed program was:" >&5
10832 cat conftest.
$ac_ext >&5
10834 wx_cv_sizeof_wchar_t
=0
10842 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10844 cat >> confdefs.h
<<EOF
10845 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10849 # Check whether --enable-largefile or --disable-largefile was given.
10850 if test "${enable_largefile+set}" = set; then
10851 enableval
="$enable_largefile"
10855 if test "$enable_largefile" != no
; then
10858 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10859 echo "configure:10860: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10860 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10861 echo $ac_n "(cached) $ac_c" 1>&6
10864 cat > conftest.
$ac_ext <<EOF
10865 #line 10866 "configure"
10866 #include "confdefs.h"
10867 #define _FILE_OFFSET_BITS 64
10868 #include <sys/types.h>
10871 unsigned int field: sizeof(off_t) == 8;
10876 if { (eval echo configure
:10877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10878 ac_cv_sys_file_offset_bits
=64
10880 echo "configure: failed program was:" >&5
10881 cat conftest.
$ac_ext >&5
10883 ac_cv_sys_file_offset_bits
=no
10890 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10892 if test "$ac_cv_sys_file_offset_bits" != no
; then
10894 cat >> confdefs.h
<<EOF
10895 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10900 if test "x$wx_largefile" != "xyes"; then
10902 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10903 echo "configure:10904: checking for _LARGE_FILES value needed for large files" >&5
10904 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10905 echo $ac_n "(cached) $ac_c" 1>&6
10908 cat > conftest.
$ac_ext <<EOF
10909 #line 10910 "configure"
10910 #include "confdefs.h"
10911 #define _LARGE_FILES 1
10912 #include <sys/types.h>
10915 unsigned int field: sizeof(off_t) == 8;
10920 if { (eval echo configure
:10921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10922 ac_cv_sys_large_files
=1
10924 echo "configure: failed program was:" >&5
10925 cat conftest.
$ac_ext >&5
10927 ac_cv_sys_large_files
=no
10934 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10936 if test "$ac_cv_sys_large_files" != no
; then
10938 cat >> confdefs.h
<<EOF
10939 #define _LARGE_FILES $ac_cv_sys_large_files
10946 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10947 echo "configure:10948: checking if large file support is available" >&5
10948 if test "x$wx_largefile" = "xyes"; then
10949 cat >> confdefs.h
<<\EOF
10950 #define HAVE_LARGEFILE_SUPPORT 1
10954 echo "$ac_t""$wx_largefile" 1>&6
10958 if test "x$wx_largefile" = "xyes"; then
10959 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
10960 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
10962 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
10964 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
10967 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10968 echo "configure:10969: checking whether byte ordering is bigendian" >&5
10969 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10970 echo $ac_n "(cached) $ac_c" 1>&6
10972 ac_cv_c_bigendian
=unknown
10973 # See if sys/param.h defines the BYTE_ORDER macro.
10974 cat > conftest.
$ac_ext <<EOF
10975 #line 10976 "configure"
10976 #include "confdefs.h"
10977 #include <sys/types.h>
10978 #include <sys/param.h>
10981 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10982 bogus endian macros
10986 if { (eval echo configure
:10987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10988 # It does; now see whether it defined to BIG_ENDIAN or not.
10989 cat > conftest.
$ac_ext <<EOF
10990 #line 10991 "configure"
10991 #include "confdefs.h"
10992 #include <sys/types.h>
10993 #include <sys/param.h>
10996 #if BYTE_ORDER != BIG_ENDIAN
11001 if { (eval echo configure
:11002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11003 ac_cv_c_bigendian
=yes
11005 echo "configure: failed program was:" >&5
11006 cat conftest.
$ac_ext >&5
11008 ac_cv_c_bigendian
=no
11012 echo "configure: failed program was:" >&5
11013 cat conftest.
$ac_ext >&5
11016 if test $ac_cv_c_bigendian = unknown
; then
11017 if test "$cross_compiling" = yes; then
11018 ac_cv_c_bigendian
=unknown
11020 cat > conftest.
$ac_ext <<EOF
11021 #line 11022 "configure"
11022 #include "confdefs.h"
11024 /* Are we little or big endian? From Harbison&Steele. */
11028 char c[sizeof (long)];
11031 exit (u.c[sizeof (long) - 1] == 1);
11034 if { (eval echo configure
:11035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11036 ac_cv_c_bigendian
=no
11038 echo "configure: failed program was:" >&5
11039 cat conftest.
$ac_ext >&5
11041 ac_cv_c_bigendian
=yes
11049 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
11050 if test $ac_cv_c_bigendian = unknown
; then
11051 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
11053 if test $ac_cv_c_bigendian = yes; then
11054 cat >> confdefs.h
<<\EOF
11055 #define WORDS_BIGENDIAN 1
11061 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
11062 echo "configure:11063: checking how to run the C++ preprocessor" >&5
11063 if test -z "$CXXCPP"; then
11064 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
11065 echo $ac_n "(cached) $ac_c" 1>&6
11068 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11069 ac_cpp
='$CXXCPP $CPPFLAGS'
11070 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11071 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11072 cross_compiling
=$ac_cv_prog_cxx_cross
11073 CXXCPP
="${CXX-g++} -E"
11074 cat > conftest.
$ac_ext <<EOF
11075 #line 11076 "configure"
11076 #include "confdefs.h"
11077 #include <stdlib.h>
11079 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11080 { (eval echo configure
:11081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11081 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11082 if test -z "$ac_err"; then
11086 echo "configure: failed program was:" >&5
11087 cat conftest.
$ac_ext >&5
11092 ac_cv_prog_CXXCPP
="$CXXCPP"
11094 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11095 ac_cpp
='$CXXCPP $CPPFLAGS'
11096 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11097 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11098 cross_compiling
=$ac_cv_prog_cxx_cross
11101 CXXCPP
="$ac_cv_prog_CXXCPP"
11102 echo "$ac_t""$CXXCPP" 1>&6
11105 if test "$cross_compiling" = "yes"; then
11106 cat >> confdefs.h
<<\EOF
11107 #define wxUSE_IOSTREAMH 1
11113 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11114 ac_cpp
='$CXXCPP $CPPFLAGS'
11115 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11116 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11117 cross_compiling
=$ac_cv_prog_cxx_cross
11120 for ac_hdr
in iostream
11122 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11123 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11124 echo "configure:11125: checking for $ac_hdr" >&5
11125 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11126 echo $ac_n "(cached) $ac_c" 1>&6
11128 cat > conftest.
$ac_ext <<EOF
11129 #line 11130 "configure"
11130 #include "confdefs.h"
11133 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11134 { (eval echo configure
:11135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11135 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11136 if test -z "$ac_err"; then
11138 eval "ac_cv_header_$ac_safe=yes"
11141 echo "configure: failed program was:" >&5
11142 cat conftest.
$ac_ext >&5
11144 eval "ac_cv_header_$ac_safe=no"
11148 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11149 echo "$ac_t""yes" 1>&6
11150 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11151 cat >> confdefs.h
<<EOF
11152 #define $ac_tr_hdr 1
11156 echo "$ac_t""no" 1>&6
11161 if test "$ac_cv_header_iostream" = "yes" ; then
11164 cat >> confdefs.h
<<\EOF
11165 #define wxUSE_IOSTREAMH 1
11171 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11172 ac_cpp
='$CPP $CPPFLAGS'
11173 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11174 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11175 cross_compiling
=$ac_cv_prog_cc_cross
11181 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
11182 echo "configure:11183: checking if C++ compiler supports bool" >&5
11183 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
11184 echo $ac_n "(cached) $ac_c" 1>&6
11189 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11190 ac_cpp
='$CXXCPP $CPPFLAGS'
11191 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11192 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11193 cross_compiling
=$ac_cv_prog_cxx_cross
11196 cat > conftest.
$ac_ext <<EOF
11197 #line 11198 "configure"
11198 #include "confdefs.h"
11209 if { (eval echo configure
:11210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11215 echo "configure: failed program was:" >&5
11216 cat conftest.
$ac_ext >&5
11226 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11227 ac_cpp
='$CPP $CPPFLAGS'
11228 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11229 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11230 cross_compiling
=$ac_cv_prog_cc_cross
11235 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
11237 if test "$wx_cv_cpp_bool" = "yes"; then
11238 cat >> confdefs.h
<<\EOF
11239 #define HAVE_BOOL 1
11246 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
11247 echo "configure:11248: checking if C++ compiler supports the explicit keyword" >&5
11248 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
11249 echo $ac_n "(cached) $ac_c" 1>&6
11254 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11255 ac_cpp
='$CXXCPP $CPPFLAGS'
11256 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11257 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11258 cross_compiling
=$ac_cv_prog_cxx_cross
11261 cat > conftest.
$ac_ext <<EOF
11262 #line 11263 "configure"
11263 #include "confdefs.h"
11265 class Foo { public: explicit Foo(int) {} };
11273 if { (eval echo configure
:11274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11276 cat > conftest.
$ac_ext <<EOF
11277 #line 11278 "configure"
11278 #include "confdefs.h"
11280 class Foo { public: explicit Foo(int) {} };
11281 static void TakeFoo(const Foo& foo) { }
11290 if { (eval echo configure
:11291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11294 echo "configure: failed program was:" >&5
11295 cat conftest.
$ac_ext >&5
11303 echo "configure: failed program was:" >&5
11304 cat conftest.
$ac_ext >&5
11312 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11313 ac_cpp
='$CPP $CPPFLAGS'
11314 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11315 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11316 cross_compiling
=$ac_cv_prog_cc_cross
11321 echo "$ac_t""$wx_cv_explicit" 1>&6
11323 if test "$wx_cv_explicit" = "yes"; then
11324 cat >> confdefs.h
<<\EOF
11325 #define HAVE_EXPLICIT 1
11331 echo $ac_n "checking whether the compiler supports const_cast<>""... $ac_c" 1>&6
11332 echo "configure:11333: checking whether the compiler supports const_cast<>" >&5
11333 if eval "test \"`echo '$''{'ac_cv_cxx_const_cast'+set}'`\" = set"; then
11334 echo $ac_n "(cached) $ac_c" 1>&6
11338 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11339 ac_cpp
='$CXXCPP $CPPFLAGS'
11340 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11341 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11342 cross_compiling
=$ac_cv_prog_cxx_cross
11344 cat > conftest.
$ac_ext <<EOF
11345 #line 11346 "configure"
11346 #include "confdefs.h"
11349 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
11352 if { (eval echo configure
:11353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11354 ac_cv_cxx_const_cast
=yes
11356 echo "configure: failed program was:" >&5
11357 cat conftest.
$ac_ext >&5
11359 ac_cv_cxx_const_cast
=no
11363 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11364 ac_cpp
='$CPP $CPPFLAGS'
11365 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11366 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11367 cross_compiling
=$ac_cv_prog_cc_cross
11372 echo "$ac_t""$ac_cv_cxx_const_cast" 1>&6
11373 if test "$ac_cv_cxx_const_cast" = yes; then
11374 cat >> confdefs.h
<<\EOF
11375 #define HAVE_CONST_CAST
11383 /usr/local/include \
11385 /usr/Motif-1.2/include \
11386 /usr/Motif-2.1/include \
11388 /usr/include/Motif1.2 \
11389 /opt/xpm/include/X11 \
11390 /opt/GBxpm/include/ \
11391 /opt/GBxpm/X11/include/ \
11393 /usr/Motif1.2/include \
11395 /usr/openwin/include \
11399 /usr/X11R6/include \
11400 /usr/X11R6.4/include \
11401 /usr/X11R5/include \
11402 /usr/X11R4/include \
11404 /usr/include/X11R6 \
11405 /usr/include/X11R5 \
11406 /usr/include/X11R4 \
11408 /usr/local/X11R6/include \
11409 /usr/local/X11R5/include \
11410 /usr/local/X11R4/include \
11412 /usr/local/include/X11R6 \
11413 /usr/local/include/X11R5 \
11414 /usr/local/include/X11R4 \
11418 /usr/local/X11/include \
11419 /usr/local/include/X11 \
11421 /usr/X386/include \
11422 /usr/x386/include \
11423 /usr/XFree86/include/X11 \
11425 X:/XFree86/include \
11426 X:/XFree86/include/X11 \
11429 /usr/local/include/gtk \
11430 /usr/include/glib \
11431 /usr/local/include/glib \
11434 /usr/local/include/qt \
11436 /usr/include/windows \
11437 /usr/include/wine \
11438 /usr/local/include/wine \
11440 /usr/unsupported/include \
11441 /usr/athena/include \
11442 /usr/local/x11r5/include \
11443 /usr/lpp/Xamples/include \
11445 /usr/openwin/share/include"
11447 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
11450 cat > confcache
<<\EOF
11451 # This file is a shell script that caches the results of configure
11452 # tests run on this system so they can be shared between configure
11453 # scripts and configure runs. It is not useful on other systems.
11454 # If it contains results you don't want to keep, you may remove or edit it.
11456 # By default, configure uses ./config.cache as the cache file,
11457 # creating it if it does not exist already. You can give configure
11458 # the --cache-file=FILE option to use a different cache file; that is
11459 # what configure does when it calls configure scripts in
11460 # subdirectories, so they share the cache.
11461 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11462 # config.status only pays attention to the cache file if you give it the
11463 # --recheck option to rerun configure.
11466 # The following way of writing the cache mishandles newlines in values,
11467 # but we know of no workaround that is simple, portable, and efficient.
11468 # So, don't put newlines in cache variables' values.
11469 # Ultrix sh set writes to stderr and can't be redirected directly,
11470 # and sets the high bit in the cache file unless we assign to the vars.
11472 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11474 # `set' does not quote correctly, so add quotes (double-quote substitution
11475 # turns \\\\ into \\, and sed turns \\ into \).
11477 -e "s/'/'\\\\''/g" \
11478 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11481 # `set' quotes correctly as required by POSIX, so do not add quotes.
11482 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11485 if cmp -s $cache_file confcache
; then
11488 if test -w $cache_file; then
11489 echo "updating cache $cache_file"
11490 cat confcache
> $cache_file
11492 echo "not updating unwritable cache $cache_file"
11498 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
11499 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
11500 echo "configure:11501: checking for glibc 2.1 or later" >&5
11501 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
11502 echo $ac_n "(cached) $ac_c" 1>&6
11505 cat > conftest.
$ac_ext <<EOF
11506 #line 11507 "configure"
11507 #include "confdefs.h"
11508 #include <features.h>
11511 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
11512 #error not glibc2.1
11517 if { (eval echo configure
:11518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11520 wx_cv_lib_glibc21
=yes
11523 echo "configure: failed program was:" >&5
11524 cat conftest.
$ac_ext >&5
11527 wx_cv_lib_glibc21
=no
11535 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11536 if test "$wx_cv_lib_glibc21" = "yes"; then
11537 cat >> confdefs.h
<<\EOF
11538 #define wxHAVE_GLIBC2 1
11544 if test "x$wx_cv_lib_glibc21" = "xyes"; then
11545 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
11546 cat >> confdefs.h
<<\EOF
11547 #define _GNU_SOURCE 1
11556 if test "$wxUSE_REGEX" != "no"; then
11557 cat >> confdefs.h
<<\EOF
11558 #define wxUSE_REGEX 1
11562 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11563 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11564 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11565 echo "configure:11566: checking for regex.h" >&5
11566 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11567 echo $ac_n "(cached) $ac_c" 1>&6
11569 cat > conftest.
$ac_ext <<EOF
11570 #line 11571 "configure"
11571 #include "confdefs.h"
11574 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11575 { (eval echo configure
:11576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11576 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11577 if test -z "$ac_err"; then
11579 eval "ac_cv_header_$ac_safe=yes"
11582 echo "configure: failed program was:" >&5
11583 cat conftest.
$ac_ext >&5
11585 eval "ac_cv_header_$ac_safe=no"
11589 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11590 echo "$ac_t""yes" 1>&6
11591 for ac_func
in regcomp
11593 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11594 echo "configure:11595: checking for $ac_func" >&5
11595 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11596 echo $ac_n "(cached) $ac_c" 1>&6
11598 cat > conftest.
$ac_ext <<EOF
11599 #line 11600 "configure"
11600 #include "confdefs.h"
11601 /* System header to define __stub macros and hopefully few prototypes,
11602 which can conflict with char $ac_func(); below. */
11603 #include <assert.h>
11604 /* Override any gcc2 internal prototype to avoid an error. */
11605 /* We use char because int might match the return type of a gcc2
11606 builtin and then its argument prototype would still apply. */
11611 /* The GNU C library defines this for functions which it implements
11612 to always fail with ENOSYS. Some functions are actually named
11613 something starting with __ and the normal name is an alias. */
11614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11622 if { (eval echo configure
:11623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11624 eval "ac_cv_func_$ac_func=yes"
11626 echo "configure: failed program was:" >&5
11627 cat conftest.
$ac_ext >&5
11629 eval "ac_cv_func_$ac_func=no"
11634 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11635 echo "$ac_t""yes" 1>&6
11636 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11637 cat >> confdefs.h
<<EOF
11638 #define $ac_tr_func 1
11642 echo "$ac_t""no" 1>&6
11647 echo "$ac_t""no" 1>&6
11651 if test "x$ac_cv_func_regcomp" != "xyes"; then
11652 if test "$wxUSE_REGEX" = "sys" ; then
11653 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11655 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11656 wxUSE_REGEX
=builtin
11663 if test "$wxUSE_REGEX" = "builtin" ; then
11664 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11671 if test "$wxUSE_ZLIB" != "no" ; then
11672 cat >> confdefs.h
<<\EOF
11673 #define wxUSE_ZLIB 1
11677 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11678 if test "$USE_DARWIN" = 1; then
11679 system_zlib_h_ok
="yes"
11681 echo $ac_n "checking for zlib.h >= 1.1.4""... $ac_c" 1>&6
11682 echo "configure:11683: checking for zlib.h >= 1.1.4" >&5
11683 if eval "test \"`echo '$''{'ac_cv_header_zlib_h'+set}'`\" = set"; then
11684 echo $ac_n "(cached) $ac_c" 1>&6
11686 if test "$cross_compiling" = yes; then
11687 unset ac_cv_header_zlib_h
11690 cat > conftest.
$ac_ext <<EOF
11691 #line 11692 "configure"
11692 #include "confdefs.h"
11699 FILE *f=fopen("conftestval", "w");
11702 ZLIB_VERSION[0] == '1' &&
11703 (ZLIB_VERSION[2] > '1' ||
11704 (ZLIB_VERSION[2] == '1' &&
11705 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
11710 if { (eval echo configure
:11711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11712 ac_cv_header_zlib_h
=`cat conftestval`
11714 echo "configure: failed program was:" >&5
11715 cat conftest.
$ac_ext >&5
11717 ac_cv_header_zlib_h
=no
11725 echo "$ac_t""$ac_cv_header_zlib_h" 1>&6
11726 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11727 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11728 echo "configure:11729: checking for zlib.h" >&5
11729 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11730 echo $ac_n "(cached) $ac_c" 1>&6
11732 cat > conftest.
$ac_ext <<EOF
11733 #line 11734 "configure"
11734 #include "confdefs.h"
11737 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11738 { (eval echo configure
:11739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11739 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11740 if test -z "$ac_err"; then
11742 eval "ac_cv_header_$ac_safe=yes"
11745 echo "configure: failed program was:" >&5
11746 cat conftest.
$ac_ext >&5
11748 eval "ac_cv_header_$ac_safe=no"
11752 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11753 echo "$ac_t""yes" 1>&6
11756 echo "$ac_t""no" 1>&6
11760 system_zlib_h_ok
=$ac_cv_header_zlib_h
11763 if test "$system_zlib_h_ok" = "yes"; then
11764 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11765 echo "configure:11766: checking for deflate in -lz" >&5
11766 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11767 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11768 echo $ac_n "(cached) $ac_c" 1>&6
11770 ac_save_LIBS
="$LIBS"
11772 cat > conftest.
$ac_ext <<EOF
11773 #line 11774 "configure"
11774 #include "confdefs.h"
11775 /* Override any gcc2 internal prototype to avoid an error. */
11776 /* We use char because int might match the return type of a gcc2
11777 builtin and then its argument prototype would still apply. */
11784 if { (eval echo configure
:11785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11786 eval "ac_cv_lib_$ac_lib_var=yes"
11788 echo "configure: failed program was:" >&5
11789 cat conftest.
$ac_ext >&5
11791 eval "ac_cv_lib_$ac_lib_var=no"
11794 LIBS
="$ac_save_LIBS"
11797 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11798 echo "$ac_t""yes" 1>&6
11801 echo "$ac_t""no" 1>&6
11806 if test "x$ZLIB_LINK" = "x" ; then
11807 if test "$wxUSE_ZLIB" = "sys" ; then
11808 { echo "configure: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11810 echo "configure: warning: zlib library not found or too old, will use built-in instead" 1>&2
11818 if test "$wxUSE_ZLIB" = "builtin" ; then
11819 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11826 if test "$wxUSE_LIBPNG" != "no" ; then
11827 cat >> confdefs.h
<<\EOF
11828 #define wxUSE_LIBPNG 1
11832 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11833 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11837 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11838 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11839 wxUSE_LIBPNG
=builtin
11842 if test "$wxUSE_MGL" != 1 ; then
11843 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11844 echo $ac_n "checking for png.h > 0.90""... $ac_c" 1>&6
11845 echo "configure:11846: checking for png.h > 0.90" >&5
11846 if eval "test \"`echo '$''{'ac_cv_header_png_h'+set}'`\" = set"; then
11847 echo $ac_n "(cached) $ac_c" 1>&6
11849 if test "$cross_compiling" = yes; then
11850 unset ac_cv_header_png_h
11853 cat > conftest.
$ac_ext <<EOF
11854 #line 11855 "configure"
11855 #include "confdefs.h"
11862 FILE *f=fopen("conftestval", "w");
11865 PNG_LIBPNG_VER > 90 ? "yes" : "no");
11870 if { (eval echo configure
:11871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11872 ac_cv_header_png_h
=`cat conftestval`
11874 echo "configure: failed program was:" >&5
11875 cat conftest.
$ac_ext >&5
11877 ac_cv_header_png_h
=no
11885 echo "$ac_t""$ac_cv_header_png_h" 1>&6
11886 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11887 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11888 echo "configure:11889: checking for png.h" >&5
11889 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11890 echo $ac_n "(cached) $ac_c" 1>&6
11892 cat > conftest.
$ac_ext <<EOF
11893 #line 11894 "configure"
11894 #include "confdefs.h"
11897 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11898 { (eval echo configure
:11899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11899 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11900 if test -z "$ac_err"; then
11902 eval "ac_cv_header_$ac_safe=yes"
11905 echo "configure: failed program was:" >&5
11906 cat conftest.
$ac_ext >&5
11908 eval "ac_cv_header_$ac_safe=no"
11912 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11913 echo "$ac_t""yes" 1>&6
11916 echo "$ac_t""no" 1>&6
11920 if test "$ac_cv_header_png_h" = "yes"; then
11921 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11922 echo "configure:11923: checking for png_check_sig in -lpng" >&5
11923 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11924 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11925 echo $ac_n "(cached) $ac_c" 1>&6
11927 ac_save_LIBS
="$LIBS"
11928 LIBS
="-lpng -lz -lm $LIBS"
11929 cat > conftest.
$ac_ext <<EOF
11930 #line 11931 "configure"
11931 #include "confdefs.h"
11932 /* Override any gcc2 internal prototype to avoid an error. */
11933 /* We use char because int might match the return type of a gcc2
11934 builtin and then its argument prototype would still apply. */
11935 char png_check_sig();
11941 if { (eval echo configure
:11942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11943 eval "ac_cv_lib_$ac_lib_var=yes"
11945 echo "configure: failed program was:" >&5
11946 cat conftest.
$ac_ext >&5
11948 eval "ac_cv_lib_$ac_lib_var=no"
11951 LIBS
="$ac_save_LIBS"
11954 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11955 echo "$ac_t""yes" 1>&6
11958 echo "$ac_t""no" 1>&6
11963 if test "x$PNG_LINK" = "x" ; then
11964 if test "$wxUSE_LIBPNG" = "sys" ; then
11965 { echo "configure: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11967 echo "configure: warning: system png library not found or too old, will use built-in instead" 1>&2
11968 wxUSE_LIBPNG
=builtin
11976 if test "$wxUSE_LIBPNG" = "builtin" ; then
11977 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11980 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11986 if test "$wxUSE_LIBJPEG" != "no" ; then
11987 cat >> confdefs.h
<<\EOF
11988 #define wxUSE_LIBJPEG 1
11992 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11993 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11997 if test "$wxUSE_MGL" != 1 ; then
11998 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11999 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
12000 echo "configure:12001: checking for jpeglib.h" >&5
12001 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
12002 echo $ac_n "(cached) $ac_c" 1>&6
12004 cat > conftest.
$ac_ext <<EOF
12005 #line 12006 "configure"
12006 #include "confdefs.h"
12008 #undef HAVE_STDLIB_H
12010 #include <jpeglib.h>
12017 if { (eval echo configure
:12018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12019 ac_cv_header_jpeglib_h
=yes
12021 echo "configure: failed program was:" >&5
12022 cat conftest.
$ac_ext >&5
12024 ac_cv_header_jpeglib_h
=no
12031 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
12033 if test "$ac_cv_header_jpeglib_h" = "yes"; then
12034 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
12035 echo "configure:12036: checking for jpeg_read_header in -ljpeg" >&5
12036 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
12037 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12038 echo $ac_n "(cached) $ac_c" 1>&6
12040 ac_save_LIBS
="$LIBS"
12041 LIBS
="-ljpeg $LIBS"
12042 cat > conftest.
$ac_ext <<EOF
12043 #line 12044 "configure"
12044 #include "confdefs.h"
12045 /* Override any gcc2 internal prototype to avoid an error. */
12046 /* We use char because int might match the return type of a gcc2
12047 builtin and then its argument prototype would still apply. */
12048 char jpeg_read_header();
12054 if { (eval echo configure
:12055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12056 eval "ac_cv_lib_$ac_lib_var=yes"
12058 echo "configure: failed program was:" >&5
12059 cat conftest.
$ac_ext >&5
12061 eval "ac_cv_lib_$ac_lib_var=no"
12064 LIBS
="$ac_save_LIBS"
12067 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12068 echo "$ac_t""yes" 1>&6
12069 JPEG_LINK
=" -ljpeg"
12071 echo "$ac_t""no" 1>&6
12076 if test "x$JPEG_LINK" = "x" ; then
12077 if test "$wxUSE_LIBJPEG" = "sys" ; then
12078 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
12080 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
12081 wxUSE_LIBJPEG
=builtin
12089 if test "$wxUSE_LIBJPEG" = "builtin" ; then
12090 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
12097 TIFF_PREREQ_LINKS
=-lm
12098 if test "$wxUSE_LIBTIFF" != "no" ; then
12099 cat >> confdefs.h
<<\EOF
12100 #define wxUSE_LIBTIFF 1
12104 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
12105 if test "$wxUSE_LIBJPEG" = "sys"; then
12106 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
12108 if test "$wxUSE_ZLIB" = "sys"; then
12109 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
12111 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
12112 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
12113 echo "configure:12114: checking for tiffio.h" >&5
12114 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12115 echo $ac_n "(cached) $ac_c" 1>&6
12117 cat > conftest.
$ac_ext <<EOF
12118 #line 12119 "configure"
12119 #include "confdefs.h"
12120 #include <tiffio.h>
12122 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12123 { (eval echo configure
:12124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12124 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12125 if test -z "$ac_err"; then
12127 eval "ac_cv_header_$ac_safe=yes"
12130 echo "configure: failed program was:" >&5
12131 cat conftest.
$ac_ext >&5
12133 eval "ac_cv_header_$ac_safe=no"
12137 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12138 echo "$ac_t""yes" 1>&6
12139 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
12140 echo "configure:12141: checking for TIFFError in -ltiff" >&5
12141 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
12142 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12143 echo $ac_n "(cached) $ac_c" 1>&6
12145 ac_save_LIBS
="$LIBS"
12146 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
12147 cat > conftest.
$ac_ext <<EOF
12148 #line 12149 "configure"
12149 #include "confdefs.h"
12150 /* Override any gcc2 internal prototype to avoid an error. */
12151 /* We use char because int might match the return type of a gcc2
12152 builtin and then its argument prototype would still apply. */
12159 if { (eval echo configure
:12160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12161 eval "ac_cv_lib_$ac_lib_var=yes"
12163 echo "configure: failed program was:" >&5
12164 cat conftest.
$ac_ext >&5
12166 eval "ac_cv_lib_$ac_lib_var=no"
12169 LIBS
="$ac_save_LIBS"
12172 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12173 echo "$ac_t""yes" 1>&6
12174 TIFF_LINK
=" -ltiff"
12176 echo "$ac_t""no" 1>&6
12181 echo "$ac_t""no" 1>&6
12185 if test "x$TIFF_LINK" = "x" ; then
12186 if test "$wxUSE_LIBTIFF" = "sys" ; then
12187 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
12189 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
12190 wxUSE_LIBTIFF
=builtin
12197 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12198 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
12210 if test "$USE_WIN32" = 1 ; then
12211 for ac_hdr
in w32api.h
12213 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12214 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12215 echo "configure:12216: checking for $ac_hdr" >&5
12216 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12217 echo $ac_n "(cached) $ac_c" 1>&6
12219 cat > conftest.
$ac_ext <<EOF
12220 #line 12221 "configure"
12221 #include "confdefs.h"
12224 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12225 { (eval echo configure
:12226: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12226 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12227 if test -z "$ac_err"; then
12229 eval "ac_cv_header_$ac_safe=yes"
12232 echo "configure: failed program was:" >&5
12233 cat conftest.
$ac_ext >&5
12235 eval "ac_cv_header_$ac_safe=no"
12239 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12240 echo "$ac_t""yes" 1>&6
12241 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12242 cat >> confdefs.h
<<EOF
12243 #define $ac_tr_hdr 1
12247 echo "$ac_t""no" 1>&6
12251 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
12252 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12253 echo "configure:12254: checking for windows.h" >&5
12254 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12255 echo $ac_n "(cached) $ac_c" 1>&6
12257 cat > conftest.
$ac_ext <<EOF
12258 #line 12259 "configure"
12259 #include "confdefs.h"
12260 #include <windows.h>
12262 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12263 { (eval echo configure
:12264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12264 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12265 if test -z "$ac_err"; then
12267 eval "ac_cv_header_$ac_safe=yes"
12270 echo "configure: failed program was:" >&5
12271 cat conftest.
$ac_ext >&5
12273 eval "ac_cv_header_$ac_safe=no"
12277 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12278 echo "$ac_t""yes" 1>&6
12281 echo "$ac_t""no" 1>&6
12283 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12288 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
12289 echo "configure:12290: checking if w32api has good enough MSIE support" >&5
12290 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
12291 echo $ac_n "(cached) $ac_c" 1>&6
12294 cat > conftest.
$ac_ext <<EOF
12295 #line 12296 "configure"
12296 #include "confdefs.h"
12297 #include <w32api.h>
12300 #define wxCHECK_W32API_VERSION( major, minor ) \
12301 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
12302 && ( ( __W32API_MAJOR_VERSION > (major) ) \
12303 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
12305 #if !wxCHECK_W32API_VERSION(1,1)
12306 #error You need w32api 1.1 or newer
12311 if { (eval echo configure
:12312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12314 wx_cv_w32api_win32_ie
=yes
12317 echo "configure: failed program was:" >&5
12318 cat conftest.
$ac_ext >&5
12321 wx_cv_w32api_win32_ie
=no
12328 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
12329 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
12330 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
12333 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
12335 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
12336 LIBS
="$LIBS -loleacc"
12341 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
12342 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
12345 if test "$wxUSE_ODBC" = "sys" ; then
12348 if test "$wxUSE_ODBC" = "yes" ; then
12349 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
12350 cat >> confdefs.h
<<\EOF
12351 #define wxUSE_ODBC 1
12356 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
12357 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
12359 WIN32INSTALL
=win32install
12362 if test "$USE_DARWIN" = 1; then
12363 if test "$wxUSE_PRECOMP" = "yes"; then
12364 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
12366 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
12370 if test "$wxUSE_GUI" = "yes"; then
12379 if test "$wxUSE_MSW" = 1 ; then
12383 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
12386 if test "$wxUSE_GTK" = 1; then
12387 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
12388 echo "configure:12389: checking for GTK+ version" >&5
12390 gtk_version_cached
=1
12391 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
12392 echo $ac_n "(cached) $ac_c" 1>&6
12395 gtk_version_cached
=0
12396 echo "$ac_t""" 1>&6
12399 if test "$wxUSE_THREADS" = "yes"; then
12400 GTK_MODULES
=gthread
12404 if test "x$wxUSE_GTK2" = "xyes"; then
12405 # Check whether --enable-gtktest or --disable-gtktest was given.
12406 if test "${enable_gtktest+set}" = set; then
12407 enableval
="$enable_gtktest"
12414 pkg_config_args
=gtk
+-2.0
12415 for module
in .
$GTK_MODULES
12419 pkg_config_args
="$pkg_config_args gthread-2.0"
12426 # Extract the first word of "pkg-config", so it can be a program name with args.
12427 set dummy pkg
-config; ac_word
=$2
12428 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12429 echo "configure:12430: checking for $ac_word" >&5
12430 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
12431 echo $ac_n "(cached) $ac_c" 1>&6
12433 case "$PKG_CONFIG" in
12435 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12438 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
12441 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12443 for ac_dir
in $ac_dummy; do
12444 test -z "$ac_dir" && ac_dir
=.
12445 if test -f $ac_dir/$ac_word; then
12446 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
12451 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12455 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12456 if test -n "$PKG_CONFIG"; then
12457 echo "$ac_t""$PKG_CONFIG" 1>&6
12459 echo "$ac_t""no" 1>&6
12463 if test x
$PKG_CONFIG != xno
; then
12464 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
12467 echo *** pkg
-config too old
; version
0.7 or better required.
12475 min_gtk_version
=2.0.0
12476 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
12477 echo "configure:12478: checking for GTK+ - version >= $min_gtk_version" >&5
12479 if test x
$PKG_CONFIG != xno
; then
12480 ## don't try to run the test against uninstalled libtool libs
12481 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12482 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
12486 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
12493 if test x
"$no_gtk" = x
; then
12494 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
12495 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
12496 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12497 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12498 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12499 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12500 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12501 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12502 if test "x$enable_gtktest" = "xyes" ; then
12503 ac_save_CFLAGS
="$CFLAGS"
12504 ac_save_LIBS
="$LIBS"
12505 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12506 LIBS
="$GTK_LIBS $LIBS"
12508 if test "$cross_compiling" = yes; then
12509 echo $ac_n "cross compiling; assumed OK... $ac_c"
12511 cat > conftest.
$ac_ext <<EOF
12512 #line 12513 "configure"
12513 #include "confdefs.h"
12515 #include <gtk/gtk.h>
12517 #include <stdlib.h>
12522 int major, minor, micro;
12525 system ("touch conf.gtktest");
12527 /* HP/UX 9 (%@#!) writes to sscanf strings */
12528 tmp_version = g_strdup("$min_gtk_version");
12529 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12530 printf("%s, bad version string\n", "$min_gtk_version");
12534 if ((gtk_major_version != $gtk_config_major_version) ||
12535 (gtk_minor_version != $gtk_config_minor_version) ||
12536 (gtk_micro_version != $gtk_config_micro_version))
12538 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12539 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12540 gtk_major_version, gtk_minor_version, gtk_micro_version);
12541 printf ("*** was found! If pkg-config was correct, then it is best\n");
12542 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12543 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12544 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12545 printf("*** required on your system.\n");
12546 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12547 printf("*** to point to the correct configuration files\n");
12549 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12550 (gtk_minor_version != GTK_MINOR_VERSION) ||
12551 (gtk_micro_version != GTK_MICRO_VERSION))
12553 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12554 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12555 printf("*** library (version %d.%d.%d)\n",
12556 gtk_major_version, gtk_minor_version, gtk_micro_version);
12560 if ((gtk_major_version > major) ||
12561 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12562 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12568 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12569 gtk_major_version, gtk_minor_version, gtk_micro_version);
12570 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12571 major, minor, micro);
12572 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12574 printf("*** If you have already installed a sufficiently new version, this error\n");
12575 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12576 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12577 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
12578 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12579 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12580 printf("*** so that the correct libraries are found at run-time))\n");
12587 if { (eval echo configure
:12588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12591 echo "configure: failed program was:" >&5
12592 cat conftest.
$ac_ext >&5
12599 CFLAGS
="$ac_save_CFLAGS"
12600 LIBS
="$ac_save_LIBS"
12603 if test "x$no_gtk" = x
; then
12604 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
12607 echo "$ac_t""no" 1>&6
12608 if test "$PKG_CONFIG" = "no" ; then
12609 echo "*** A new enough version of pkg-config was not found."
12610 echo "*** See http://pkgconfig.sourceforge.net"
12612 if test -f conf.gtktest
; then
12615 echo "*** Could not run GTK+ test program, checking why..."
12616 ac_save_CFLAGS
="$CFLAGS"
12617 ac_save_LIBS
="$LIBS"
12618 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12619 LIBS
="$LIBS $GTK_LIBS"
12620 cat > conftest.
$ac_ext <<EOF
12621 #line 12622 "configure"
12622 #include "confdefs.h"
12624 #include <gtk/gtk.h>
12628 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12631 if { (eval echo configure
:12632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12633 echo "*** The test program compiled, but did not run. This usually means"
12634 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
12635 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
12636 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12637 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12638 echo "*** is required on your system"
12640 echo "*** If you have an old version installed, it is best to remove it, although"
12641 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12643 echo "configure: failed program was:" >&5
12644 cat conftest.
$ac_ext >&5
12646 echo "*** The test program failed to compile or link. See the file config.log for the"
12647 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
12650 CFLAGS
="$ac_save_CFLAGS"
12651 LIBS
="$ac_save_LIBS"
12663 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12664 if test "${with_gtk_prefix+set}" = set; then
12665 withval
="$with_gtk_prefix"
12666 gtk_config_prefix
="$withval"
12668 gtk_config_prefix
=""
12671 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12672 if test "${with_gtk_exec_prefix+set}" = set; then
12673 withval
="$with_gtk_exec_prefix"
12674 gtk_config_exec_prefix
="$withval"
12676 gtk_config_exec_prefix
=""
12679 # Check whether --enable-gtktest or --disable-gtktest was given.
12680 if test "${enable_gtktest+set}" = set; then
12681 enableval
="$enable_gtktest"
12688 for module
in .
$GTK_MODULES
12692 gtk_config_args
="$gtk_config_args gthread"
12697 if test x
$gtk_config_exec_prefix != x
; then
12698 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12699 if test x
${GTK_CONFIG+set} != xset
; then
12700 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12703 if test x
$gtk_config_prefix != x
; then
12704 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12705 if test x
${GTK_CONFIG+set} != xset
; then
12706 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12710 # Extract the first word of "gtk-config", so it can be a program name with args.
12711 set dummy gtk
-config; ac_word
=$2
12712 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12713 echo "configure:12714: checking for $ac_word" >&5
12714 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12715 echo $ac_n "(cached) $ac_c" 1>&6
12717 case "$GTK_CONFIG" in
12719 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12722 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12725 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12727 for ac_dir
in $ac_dummy; do
12728 test -z "$ac_dir" && ac_dir
=.
12729 if test -f $ac_dir/$ac_word; then
12730 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12735 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12739 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12740 if test -n "$GTK_CONFIG"; then
12741 echo "$ac_t""$GTK_CONFIG" 1>&6
12743 echo "$ac_t""no" 1>&6
12746 min_gtk_version
=1.2.7
12747 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12748 echo "configure:12749: checking for GTK - version >= $min_gtk_version" >&5
12750 if test "$GTK_CONFIG" = "no" ; then
12753 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12754 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12755 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12756 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12757 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12758 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12759 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12760 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12761 if test "x$enable_gtktest" = "xyes" ; then
12762 ac_save_CFLAGS
="$CFLAGS"
12763 ac_save_LIBS
="$LIBS"
12764 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12765 LIBS
="$GTK_LIBS $LIBS"
12767 if test "$cross_compiling" = yes; then
12768 echo $ac_n "cross compiling; assumed OK... $ac_c"
12770 cat > conftest.
$ac_ext <<EOF
12771 #line 12772 "configure"
12772 #include "confdefs.h"
12774 #include <gtk/gtk.h>
12776 #include <stdlib.h>
12781 int major, minor, micro;
12784 system ("touch conf.gtktest");
12786 /* HP/UX 9 (%@#!) writes to sscanf strings */
12787 tmp_version = g_strdup("$min_gtk_version");
12788 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12789 printf("%s, bad version string\n", "$min_gtk_version");
12793 if ((gtk_major_version != $gtk_config_major_version) ||
12794 (gtk_minor_version != $gtk_config_minor_version) ||
12795 (gtk_micro_version != $gtk_config_micro_version))
12797 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12798 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12799 gtk_major_version, gtk_minor_version, gtk_micro_version);
12800 printf ("*** was found! If gtk-config was correct, then it is best\n");
12801 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12802 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12803 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12804 printf("*** required on your system.\n");
12805 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12806 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12807 printf("*** before re-running configure\n");
12809 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12810 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12811 (gtk_minor_version != GTK_MINOR_VERSION) ||
12812 (gtk_micro_version != GTK_MICRO_VERSION))
12814 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12815 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12816 printf("*** library (version %d.%d.%d)\n",
12817 gtk_major_version, gtk_minor_version, gtk_micro_version);
12819 #endif /* defined (GTK_MAJOR_VERSION) ... */
12822 if ((gtk_major_version > major) ||
12823 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12824 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12830 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12831 gtk_major_version, gtk_minor_version, gtk_micro_version);
12832 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12833 major, minor, micro);
12834 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12836 printf("*** If you have already installed a sufficiently new version, this error\n");
12837 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12838 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12839 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12840 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12841 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12842 printf("*** so that the correct libraries are found at run-time))\n");
12849 if { (eval echo configure
:12850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12853 echo "configure: failed program was:" >&5
12854 cat conftest.
$ac_ext >&5
12861 CFLAGS
="$ac_save_CFLAGS"
12862 LIBS
="$ac_save_LIBS"
12865 if test "x$no_gtk" = x
; then
12866 echo "$ac_t""yes" 1>&6
12867 wx_cv_lib_gtk
=1.2.7
12869 echo "$ac_t""no" 1>&6
12870 if test "$GTK_CONFIG" = "no" ; then
12871 echo "*** The gtk-config script installed by GTK could not be found"
12872 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12873 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12874 echo "*** full path to gtk-config."
12876 if test -f conf.gtktest
; then
12879 echo "*** Could not run GTK test program, checking why..."
12880 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12881 LIBS
="$LIBS $GTK_LIBS"
12882 cat > conftest.
$ac_ext <<EOF
12883 #line 12884 "configure"
12884 #include "confdefs.h"
12886 #include <gtk/gtk.h>
12890 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12893 if { (eval echo configure
:12894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12895 echo "*** The test program compiled, but did not run. This usually means"
12896 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12897 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12898 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12899 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12900 echo "*** is required on your system"
12902 echo "*** If you have an old version installed, it is best to remove it, although"
12903 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12905 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12906 echo "*** came with the system with the command"
12908 echo "*** rpm --erase --nodeps gtk gtk-devel"
12910 echo "configure: failed program was:" >&5
12911 cat conftest.
$ac_ext >&5
12913 echo "*** The test program failed to compile or link. See the file config.log for the"
12914 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12915 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12916 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12919 CFLAGS
="$ac_save_CFLAGS"
12920 LIBS
="$ac_save_LIBS"
12932 if test -z "$wx_cv_lib_gtk"; then
12933 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12934 if test "${with_gtk_prefix+set}" = set; then
12935 withval
="$with_gtk_prefix"
12936 gtk_config_prefix
="$withval"
12938 gtk_config_prefix
=""
12941 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12942 if test "${with_gtk_exec_prefix+set}" = set; then
12943 withval
="$with_gtk_exec_prefix"
12944 gtk_config_exec_prefix
="$withval"
12946 gtk_config_exec_prefix
=""
12949 # Check whether --enable-gtktest or --disable-gtktest was given.
12950 if test "${enable_gtktest+set}" = set; then
12951 enableval
="$enable_gtktest"
12958 for module
in .
$GTK_MODULES
12962 gtk_config_args
="$gtk_config_args gthread"
12967 if test x
$gtk_config_exec_prefix != x
; then
12968 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12969 if test x
${GTK_CONFIG+set} != xset
; then
12970 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12973 if test x
$gtk_config_prefix != x
; then
12974 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12975 if test x
${GTK_CONFIG+set} != xset
; then
12976 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12980 # Extract the first word of "gtk-config", so it can be a program name with args.
12981 set dummy gtk
-config; ac_word
=$2
12982 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12983 echo "configure:12984: checking for $ac_word" >&5
12984 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12985 echo $ac_n "(cached) $ac_c" 1>&6
12987 case "$GTK_CONFIG" in
12989 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12992 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12995 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12997 for ac_dir
in $ac_dummy; do
12998 test -z "$ac_dir" && ac_dir
=.
12999 if test -f $ac_dir/$ac_word; then
13000 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
13005 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
13009 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
13010 if test -n "$GTK_CONFIG"; then
13011 echo "$ac_t""$GTK_CONFIG" 1>&6
13013 echo "$ac_t""no" 1>&6
13016 min_gtk_version
=1.2.3
13017 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
13018 echo "configure:13019: checking for GTK - version >= $min_gtk_version" >&5
13020 if test "$GTK_CONFIG" = "no" ; then
13023 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
13024 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
13025 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
13026 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13027 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
13028 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13029 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
13030 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13031 if test "x$enable_gtktest" = "xyes" ; then
13032 ac_save_CFLAGS
="$CFLAGS"
13033 ac_save_LIBS
="$LIBS"
13034 CFLAGS
="$CFLAGS $GTK_CFLAGS"
13035 LIBS
="$GTK_LIBS $LIBS"
13037 if test "$cross_compiling" = yes; then
13038 echo $ac_n "cross compiling; assumed OK... $ac_c"
13040 cat > conftest.
$ac_ext <<EOF
13041 #line 13042 "configure"
13042 #include "confdefs.h"
13044 #include <gtk/gtk.h>
13046 #include <stdlib.h>
13051 int major, minor, micro;
13054 system ("touch conf.gtktest");
13056 /* HP/UX 9 (%@#!) writes to sscanf strings */
13057 tmp_version = g_strdup("$min_gtk_version");
13058 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
13059 printf("%s, bad version string\n", "$min_gtk_version");
13063 if ((gtk_major_version != $gtk_config_major_version) ||
13064 (gtk_minor_version != $gtk_config_minor_version) ||
13065 (gtk_micro_version != $gtk_config_micro_version))
13067 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
13068 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
13069 gtk_major_version, gtk_minor_version, gtk_micro_version);
13070 printf ("*** was found! If gtk-config was correct, then it is best\n");
13071 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
13072 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
13073 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
13074 printf("*** required on your system.\n");
13075 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
13076 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
13077 printf("*** before re-running configure\n");
13079 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
13080 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
13081 (gtk_minor_version != GTK_MINOR_VERSION) ||
13082 (gtk_micro_version != GTK_MICRO_VERSION))
13084 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
13085 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
13086 printf("*** library (version %d.%d.%d)\n",
13087 gtk_major_version, gtk_minor_version, gtk_micro_version);
13089 #endif /* defined (GTK_MAJOR_VERSION) ... */
13092 if ((gtk_major_version > major) ||
13093 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
13094 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
13100 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
13101 gtk_major_version, gtk_minor_version, gtk_micro_version);
13102 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
13103 major, minor, micro);
13104 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
13106 printf("*** If you have already installed a sufficiently new version, this error\n");
13107 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
13108 printf("*** being found. The easiest way to fix this is to remove the old version\n");
13109 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
13110 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
13111 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
13112 printf("*** so that the correct libraries are found at run-time))\n");
13119 if { (eval echo configure
:13120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13123 echo "configure: failed program was:" >&5
13124 cat conftest.
$ac_ext >&5
13131 CFLAGS
="$ac_save_CFLAGS"
13132 LIBS
="$ac_save_LIBS"
13135 if test "x$no_gtk" = x
; then
13136 echo "$ac_t""yes" 1>&6
13137 wx_cv_lib_gtk
=1.2.3
13139 echo "$ac_t""no" 1>&6
13140 if test "$GTK_CONFIG" = "no" ; then
13141 echo "*** The gtk-config script installed by GTK could not be found"
13142 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
13143 echo "*** your path, or set the GTK_CONFIG environment variable to the"
13144 echo "*** full path to gtk-config."
13146 if test -f conf.gtktest
; then
13149 echo "*** Could not run GTK test program, checking why..."
13150 CFLAGS
="$CFLAGS $GTK_CFLAGS"
13151 LIBS
="$LIBS $GTK_LIBS"
13152 cat > conftest.
$ac_ext <<EOF
13153 #line 13154 "configure"
13154 #include "confdefs.h"
13156 #include <gtk/gtk.h>
13160 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
13163 if { (eval echo configure
:13164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13165 echo "*** The test program compiled, but did not run. This usually means"
13166 echo "*** that the run-time linker is not finding GTK or finding the wrong"
13167 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
13168 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
13169 echo "*** to the installed location Also, make sure you have run ldconfig if that"
13170 echo "*** is required on your system"
13172 echo "*** If you have an old version installed, it is best to remove it, although"
13173 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13175 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
13176 echo "*** came with the system with the command"
13178 echo "*** rpm --erase --nodeps gtk gtk-devel"
13180 echo "configure: failed program was:" >&5
13181 cat conftest.
$ac_ext >&5
13183 echo "*** The test program failed to compile or link. See the file config.log for the"
13184 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
13185 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
13186 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
13189 CFLAGS
="$ac_save_CFLAGS"
13190 LIBS
="$ac_save_LIBS"
13204 if test -z "$wx_cv_lib_gtk"; then
13207 wx_cv_cflags_gtk
=$GTK_CFLAGS
13208 wx_cv_libs_gtk
=$GTK_LIBS
13215 if test "$gtk_version_cached" = 1; then
13216 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
13219 case "$wx_cv_lib_gtk" in
13228 *) { echo "configure: error:
13229 Please check that gtk-config is in path, the directory
13230 where GTK+ libraries are installed (returned by
13231 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
13232 equivalent variable and GTK+ is version 1.2.3 or above.
13237 if test "$WXGTK20" = 1; then
13238 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
13242 if test -z "$PKG_CONFIG"; then
13243 # Extract the first word of "pkg-config", so it can be a program name with args.
13244 set dummy pkg
-config; ac_word
=$2
13245 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13246 echo "configure:13247: checking for $ac_word" >&5
13247 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
13248 echo $ac_n "(cached) $ac_c" 1>&6
13250 case "$PKG_CONFIG" in
13252 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13255 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
13258 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13260 for ac_dir
in $ac_dummy; do
13261 test -z "$ac_dir" && ac_dir
=.
13262 if test -f $ac_dir/$ac_word; then
13263 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
13268 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13272 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13273 if test -n "$PKG_CONFIG"; then
13274 echo "$ac_t""$PKG_CONFIG" 1>&6
13276 echo "$ac_t""no" 1>&6
13281 if test "$PKG_CONFIG" = "no" ; then
13282 echo "*** The pkg-config script could not be found. Make sure it is"
13283 echo "*** in your path, or set the PKG_CONFIG environment variable"
13284 echo "*** to the full path to pkg-config."
13285 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13287 PKG_CONFIG_MIN_VERSION
=0.9.0
13288 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13289 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
13290 echo "configure:13291: checking for pangoft2" >&5
13292 if $PKG_CONFIG --exists "pangoft2" ; then
13293 echo "$ac_t""yes" 1>&6
13296 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
13297 echo "configure:13298: checking PANGOFT2_CFLAGS" >&5
13298 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
13299 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
13301 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
13302 echo "configure:13303: checking PANGOFT2_LIBS" >&5
13303 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
13304 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
13308 ## If we have a custom action on failure, don't print errors, but
13309 ## do set a variable so people can do so.
13310 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
13317 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13318 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13322 if test $succeeded = yes; then
13324 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
13325 LIBS
="$LIBS $PANGOFT2_LIBS"
13329 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
13330 wxUSE_PRINTING_ARCHITECTURE
="no"
13337 if test "$wxUSE_UNICODE" = "yes"; then
13338 echo "configure: warning: Unicode configuration not supported with GTK+ 1.x" 1>&2
13343 if test "$USE_DARWIN" != 1; then
13344 for ac_func
in poll
13346 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13347 echo "configure:13348: checking for $ac_func" >&5
13348 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13349 echo $ac_n "(cached) $ac_c" 1>&6
13351 cat > conftest.
$ac_ext <<EOF
13352 #line 13353 "configure"
13353 #include "confdefs.h"
13354 /* System header to define __stub macros and hopefully few prototypes,
13355 which can conflict with char $ac_func(); below. */
13356 #include <assert.h>
13357 /* Override any gcc2 internal prototype to avoid an error. */
13358 /* We use char because int might match the return type of a gcc2
13359 builtin and then its argument prototype would still apply. */
13364 /* The GNU C library defines this for functions which it implements
13365 to always fail with ENOSYS. Some functions are actually named
13366 something starting with __ and the normal name is an alias. */
13367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13375 if { (eval echo configure
:13376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13377 eval "ac_cv_func_$ac_func=yes"
13379 echo "configure: failed program was:" >&5
13380 cat conftest.
$ac_ext >&5
13382 eval "ac_cv_func_$ac_func=no"
13387 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13388 echo "$ac_t""yes" 1>&6
13389 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13390 cat >> confdefs.h
<<EOF
13391 #define $ac_tr_func 1
13395 echo "$ac_t""no" 1>&6
13401 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
13402 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
13404 AFMINSTALL
=afminstall
13408 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
13409 echo "configure:13410: checking for gdk_im_open in -lgdk" >&5
13410 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
13411 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13412 echo $ac_n "(cached) $ac_c" 1>&6
13414 ac_save_LIBS
="$LIBS"
13416 cat > conftest.
$ac_ext <<EOF
13417 #line 13418 "configure"
13418 #include "confdefs.h"
13419 /* Override any gcc2 internal prototype to avoid an error. */
13420 /* We use char because int might match the return type of a gcc2
13421 builtin and then its argument prototype would still apply. */
13422 char gdk_im_open();
13428 if { (eval echo configure
:13429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13430 eval "ac_cv_lib_$ac_lib_var=yes"
13432 echo "configure: failed program was:" >&5
13433 cat conftest.
$ac_ext >&5
13435 eval "ac_cv_lib_$ac_lib_var=no"
13438 LIBS
="$ac_save_LIBS"
13441 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13442 echo "$ac_t""yes" 1>&6
13443 cat >> confdefs.h
<<\EOF
13448 echo "$ac_t""no" 1>&6
13453 if test "$wxUSE_MGL" = 1; then
13454 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
13455 echo "configure:13456: checking for SciTech MGL library" >&5
13456 if test "x$MGL_ROOT" = x
; then
13457 echo "$ac_t""not found" 1>&6
13458 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
13460 echo "$ac_t""$MGL_ROOT" 1>&6
13463 echo $ac_n "checking for libmgl location""... $ac_c" 1>&6
13464 echo "configure:13465: checking for libmgl location" >&5
13467 if test "x$wxUSE_SHARED" = xyes
; then
13468 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
13470 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
13474 mgl_os_candidates
="dos32/dj2"
13477 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
13483 for mgl_os_i
in $mgl_os_candidates ; do
13484 if test "x$mgl_os" = x
; then
13485 if test "$wxUSE_DEBUG_FLAG" = yes ; then
13486 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
13487 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
13492 if test "x$mgl_lib_type" = x
; then
13493 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
13494 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
13495 mgl_lib_type
=release
13502 if test "x$mgl_os" = x
; then
13503 echo "$ac_t""not found" 1>&6
13504 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
13506 echo "$ac_t"""$MGL_ROOT/lib
/$mgl_lib_type/$mgl_os"" 1>&6
13508 wxUSE_UNIVERSAL
="yes"
13510 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
13511 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
13513 AFMINSTALL
=afminstall
13518 if test "$wxUSE_MICROWIN" = 1; then
13519 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
13520 echo "configure:13521: checking for MicroWindows" >&5
13521 if test "x$MICROWINDOWS" = x
; then
13522 echo "$ac_t""not found" 1>&6
13523 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
13525 echo "$ac_t""$MICROWINDOWS" 1>&6
13528 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
13529 echo "$ac_t""MicroWindows' libraries found." 1>&6
13531 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
13534 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
13535 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
13537 wxUSE_UNIVERSAL
="yes"
13539 AFMINSTALL
=afminstall
13541 GUIDIST
=MICROWIN_DIST
13543 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
13546 if test "$wxUSE_X11" = 1; then
13547 # If we find X, set shell vars x_includes and x_libraries to the
13548 # paths, otherwise set no_x=yes.
13549 # Uses ac_ vars as temps to allow command line to override cache and checks.
13550 # --without-x overrides everything else, but does not touch the cache.
13551 echo $ac_n "checking for X""... $ac_c" 1>&6
13552 echo "configure:13553: checking for X" >&5
13554 # Check whether --with-x or --without-x was given.
13555 if test "${with_x+set}" = set; then
13560 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13561 if test "x$with_x" = xno
; then
13562 # The user explicitly disabled X.
13565 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
13566 # Both variables are already set.
13569 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
13570 echo $ac_n "(cached) $ac_c" 1>&6
13572 # One or both of the vars are not set, and there is no cached value.
13573 ac_x_includes
=NO ac_x_libraries
=NO
13575 if mkdir conftestdir
; then
13577 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
13578 cat > Imakefile
<<'EOF'
13580 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
13582 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13583 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13584 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
13585 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13586 for ac_extension
in a so sl
; do
13587 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
13588 test -f $ac_im_libdir/libX11.
$ac_extension; then
13589 ac_im_usrlibdir
=$ac_im_libdir; break
13592 # Screen out bogus values from the imake configuration. They are
13593 # bogus both because they are the default anyway, and because
13594 # using them would break gcc on systems where it needs fixed includes.
13595 case "$ac_im_incroot" in
13597 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
13599 case "$ac_im_usrlibdir" in
13600 /usr
/lib
| /lib
) ;;
13601 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
13608 if test "$ac_x_includes" = NO
; then
13609 # Guess where to find include files, by looking for this one X11 .h file.
13610 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
13612 # First, try using that file with no special directory specified.
13613 cat > conftest.
$ac_ext <<EOF
13614 #line 13615 "configure"
13615 #include "confdefs.h"
13616 #include <$x_direct_test_include>
13618 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13619 { (eval echo configure
:13620: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13620 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13621 if test -z "$ac_err"; then
13623 # We can compile using X headers with no special include directory.
13627 echo "configure: failed program was:" >&5
13628 cat conftest.
$ac_ext >&5
13630 # Look for the header file in a standard set of common directories.
13631 # Check X11 before X11Rn because it is often a symlink to the current release.
13634 /usr
/X
11R
6/include \
13635 /usr
/X
11R
5/include \
13636 /usr
/X
11R
4/include \
13639 /usr
/include
/X11R6 \
13640 /usr
/include
/X11R5 \
13641 /usr
/include
/X11R4 \
13643 /usr
/local
/X
11/include \
13644 /usr
/local
/X
11R
6/include \
13645 /usr
/local
/X
11R
5/include \
13646 /usr
/local
/X
11R
4/include \
13648 /usr
/local
/include
/X11 \
13649 /usr
/local
/include
/X11R6 \
13650 /usr
/local
/include
/X11R5 \
13651 /usr
/local
/include
/X11R4 \
13653 /usr
/X
386/include \
13654 /usr
/x
386/include \
13655 /usr
/XFree
86/include
/X11 \
13658 /usr
/local
/include \
13659 /usr
/unsupported
/include \
13660 /usr
/athena
/include \
13661 /usr
/local
/x
11r
5/include \
13662 /usr
/lpp
/Xamples
/include \
13664 /usr
/openwin
/include \
13665 /usr
/openwin
/share
/include \
13668 if test -r "$ac_dir/$x_direct_test_include"; then
13669 ac_x_includes
=$ac_dir
13675 fi # $ac_x_includes = NO
13677 if test "$ac_x_libraries" = NO
; then
13678 # Check for the libraries.
13680 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
13681 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
13683 # See if we find them without any special options.
13684 # Don't add to $LIBS permanently.
13685 ac_save_LIBS
="$LIBS"
13686 LIBS
="-l$x_direct_test_library $LIBS"
13687 cat > conftest.
$ac_ext <<EOF
13688 #line 13689 "configure"
13689 #include "confdefs.h"
13692 ${x_direct_test_function}()
13695 if { (eval echo configure
:13696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13697 LIBS
="$ac_save_LIBS"
13698 # We can link X programs with no special library path.
13701 echo "configure: failed program was:" >&5
13702 cat conftest.
$ac_ext >&5
13704 LIBS
="$ac_save_LIBS"
13705 # First see if replacing the include by lib works.
13706 # Check X11 before X11Rn because it is often a symlink to the current release.
13707 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
13718 /usr
/local
/X
11/lib \
13719 /usr
/local
/X
11R
6/lib \
13720 /usr
/local
/X
11R
5/lib \
13721 /usr
/local
/X
11R
4/lib \
13723 /usr
/local
/lib
/X11 \
13724 /usr
/local
/lib
/X11R6 \
13725 /usr
/local
/lib
/X11R5 \
13726 /usr
/local
/lib
/X11R4 \
13730 /usr
/XFree
86/lib
/X11 \
13734 /usr
/unsupported
/lib \
13736 /usr
/local
/x
11r
5/lib \
13737 /usr
/lpp
/Xamples
/lib \
13741 /usr
/openwin
/share
/lib \
13744 for ac_extension
in a so sl
; do
13745 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
13746 ac_x_libraries
=$ac_dir
13753 fi # $ac_x_libraries = NO
13755 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
13756 # Didn't find X anywhere. Cache the known absence of X.
13757 ac_cv_have_x
="have_x=no"
13759 # Record where we found X for the cache.
13760 ac_cv_have_x
="have_x=yes \
13761 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
13765 eval "$ac_cv_have_x"
13768 if test "$have_x" != yes; then
13769 echo "$ac_t""$have_x" 1>&6
13772 # If each of the values was on the command line, it overrides each guess.
13773 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13774 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13775 # Update the cache value to reflect the command line values.
13776 ac_cv_have_x
="have_x=yes \
13777 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
13778 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
13781 if test "$no_x" = yes; then
13782 # Not all programs may use this symbol, but it does not hurt to define it.
13783 cat >> confdefs.h
<<\EOF
13784 #define X_DISPLAY_MISSING 1
13787 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13789 if test -n "$x_includes"; then
13790 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13793 # It would also be nice to do this for all -L options, not just this one.
13794 if test -n "$x_libraries"; then
13795 X_LIBS
="$X_LIBS -L$x_libraries"
13796 # For Solaris; some versions of Sun CC require a space after -R and
13797 # others require no space. Words are not sufficient . . . .
13798 case "`(uname -sr) 2>/dev/null`" in
13800 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13801 echo "configure:13802: checking whether -R must be followed by a space" >&5
13802 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13803 cat > conftest.
$ac_ext <<EOF
13804 #line 13805 "configure"
13805 #include "confdefs.h"
13811 if { (eval echo configure
:13812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13815 echo "configure: failed program was:" >&5
13816 cat conftest.
$ac_ext >&5
13821 if test $ac_R_nospace = yes; then
13822 echo "$ac_t""no" 1>&6
13823 X_LIBS
="$X_LIBS -R$x_libraries"
13825 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13826 cat > conftest.
$ac_ext <<EOF
13827 #line 13828 "configure"
13828 #include "confdefs.h"
13834 if { (eval echo configure
:13835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13838 echo "configure: failed program was:" >&5
13839 cat conftest.
$ac_ext >&5
13844 if test $ac_R_space = yes; then
13845 echo "$ac_t""yes" 1>&6
13846 X_LIBS
="$X_LIBS -R $x_libraries"
13848 echo "$ac_t""neither works" 1>&6
13851 LIBS
="$ac_xsave_LIBS"
13855 # Check for system-dependent libraries X programs must link with.
13856 # Do this before checking for the system-independent R6 libraries
13857 # (-lICE), since we may need -lsocket or whatever for X linking.
13859 if test "$ISC" = yes; then
13860 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13862 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13863 # libraries were built with DECnet support. And karl@cs.umb.edu says
13864 # the Alpha needs dnet_stub (dnet does not exist).
13865 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13866 echo "configure:13867: checking for dnet_ntoa in -ldnet" >&5
13867 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13868 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13869 echo $ac_n "(cached) $ac_c" 1>&6
13871 ac_save_LIBS
="$LIBS"
13872 LIBS
="-ldnet $LIBS"
13873 cat > conftest.
$ac_ext <<EOF
13874 #line 13875 "configure"
13875 #include "confdefs.h"
13876 /* Override any gcc2 internal prototype to avoid an error. */
13877 /* We use char because int might match the return type of a gcc2
13878 builtin and then its argument prototype would still apply. */
13885 if { (eval echo configure
:13886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13887 eval "ac_cv_lib_$ac_lib_var=yes"
13889 echo "configure: failed program was:" >&5
13890 cat conftest.
$ac_ext >&5
13892 eval "ac_cv_lib_$ac_lib_var=no"
13895 LIBS
="$ac_save_LIBS"
13898 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13899 echo "$ac_t""yes" 1>&6
13900 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13902 echo "$ac_t""no" 1>&6
13905 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13906 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13907 echo "configure:13908: checking for dnet_ntoa in -ldnet_stub" >&5
13908 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13909 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13910 echo $ac_n "(cached) $ac_c" 1>&6
13912 ac_save_LIBS
="$LIBS"
13913 LIBS
="-ldnet_stub $LIBS"
13914 cat > conftest.
$ac_ext <<EOF
13915 #line 13916 "configure"
13916 #include "confdefs.h"
13917 /* Override any gcc2 internal prototype to avoid an error. */
13918 /* We use char because int might match the return type of a gcc2
13919 builtin and then its argument prototype would still apply. */
13926 if { (eval echo configure
:13927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13928 eval "ac_cv_lib_$ac_lib_var=yes"
13930 echo "configure: failed program was:" >&5
13931 cat conftest.
$ac_ext >&5
13933 eval "ac_cv_lib_$ac_lib_var=no"
13936 LIBS
="$ac_save_LIBS"
13939 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13940 echo "$ac_t""yes" 1>&6
13941 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13943 echo "$ac_t""no" 1>&6
13948 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13949 # to get the SysV transport functions.
13950 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13952 # The nsl library prevents programs from opening the X display
13953 # on Irix 5.2, according to dickey@clark.net.
13954 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13955 echo "configure:13956: checking for gethostbyname" >&5
13956 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13957 echo $ac_n "(cached) $ac_c" 1>&6
13959 cat > conftest.
$ac_ext <<EOF
13960 #line 13961 "configure"
13961 #include "confdefs.h"
13962 /* System header to define __stub macros and hopefully few prototypes,
13963 which can conflict with char gethostbyname(); below. */
13964 #include <assert.h>
13965 /* Override any gcc2 internal prototype to avoid an error. */
13966 /* We use char because int might match the return type of a gcc2
13967 builtin and then its argument prototype would still apply. */
13968 char gethostbyname();
13972 /* The GNU C library defines this for functions which it implements
13973 to always fail with ENOSYS. Some functions are actually named
13974 something starting with __ and the normal name is an alias. */
13975 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
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_func_gethostbyname=yes"
13987 echo "configure: failed program was:" >&5
13988 cat conftest.
$ac_ext >&5
13990 eval "ac_cv_func_gethostbyname=no"
13995 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13996 echo "$ac_t""yes" 1>&6
13999 echo "$ac_t""no" 1>&6
14002 if test $ac_cv_func_gethostbyname = no
; then
14003 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
14004 echo "configure:14005: checking for gethostbyname in -lnsl" >&5
14005 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
14006 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14007 echo $ac_n "(cached) $ac_c" 1>&6
14009 ac_save_LIBS
="$LIBS"
14011 cat > conftest.
$ac_ext <<EOF
14012 #line 14013 "configure"
14013 #include "confdefs.h"
14014 /* Override any gcc2 internal prototype to avoid an error. */
14015 /* We use char because int might match the return type of a gcc2
14016 builtin and then its argument prototype would still apply. */
14017 char gethostbyname();
14023 if { (eval echo configure
:14024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14025 eval "ac_cv_lib_$ac_lib_var=yes"
14027 echo "configure: failed program was:" >&5
14028 cat conftest.
$ac_ext >&5
14030 eval "ac_cv_lib_$ac_lib_var=no"
14033 LIBS
="$ac_save_LIBS"
14036 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14037 echo "$ac_t""yes" 1>&6
14038 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14040 echo "$ac_t""no" 1>&6
14045 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14046 # socket/setsockopt and other routines are undefined under SCO ODT
14047 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14048 # on later versions), says simon@lia.di.epfl.ch: it contains
14049 # gethostby* variants that don't use the nameserver (or something).
14050 # -lsocket must be given before -lnsl if both are needed.
14051 # We assume that if connect needs -lnsl, so does gethostbyname.
14052 echo $ac_n "checking for connect""... $ac_c" 1>&6
14053 echo "configure:14054: checking for connect" >&5
14054 if eval "test \"`echo '$''{'ac_cv_func_connect'+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 connect(); 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. */
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_connect) || defined (__stub___connect)
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_connect=yes"
14085 echo "configure: failed program was:" >&5
14086 cat conftest.
$ac_ext >&5
14088 eval "ac_cv_func_connect=no"
14093 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14094 echo "$ac_t""yes" 1>&6
14097 echo "$ac_t""no" 1>&6
14100 if test $ac_cv_func_connect = no
; then
14101 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14102 echo "configure:14103: checking for connect in -lsocket" >&5
14103 ac_lib_var
=`echo socket'_'connect | 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"
14108 LIBS
="-lsocket $X_EXTRA_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. */
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
="-lsocket $X_EXTRA_LIBS"
14138 echo "$ac_t""no" 1>&6
14143 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14144 echo $ac_n "checking for remove""... $ac_c" 1>&6
14145 echo "configure:14146: checking for remove" >&5
14146 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14147 echo $ac_n "(cached) $ac_c" 1>&6
14149 cat > conftest.
$ac_ext <<EOF
14150 #line 14151 "configure"
14151 #include "confdefs.h"
14152 /* System header to define __stub macros and hopefully few prototypes,
14153 which can conflict with char remove(); below. */
14154 #include <assert.h>
14155 /* Override any gcc2 internal prototype to avoid an error. */
14156 /* We use char because int might match the return type of a gcc2
14157 builtin and then its argument prototype would still apply. */
14162 /* The GNU C library defines this for functions which it implements
14163 to always fail with ENOSYS. Some functions are actually named
14164 something starting with __ and the normal name is an alias. */
14165 #if defined (__stub_remove) || defined (__stub___remove)
14173 if { (eval echo configure
:14174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14175 eval "ac_cv_func_remove=yes"
14177 echo "configure: failed program was:" >&5
14178 cat conftest.
$ac_ext >&5
14180 eval "ac_cv_func_remove=no"
14185 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14186 echo "$ac_t""yes" 1>&6
14189 echo "$ac_t""no" 1>&6
14192 if test $ac_cv_func_remove = no
; then
14193 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14194 echo "configure:14195: checking for remove in -lposix" >&5
14195 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14196 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14197 echo $ac_n "(cached) $ac_c" 1>&6
14199 ac_save_LIBS
="$LIBS"
14200 LIBS
="-lposix $LIBS"
14201 cat > conftest.
$ac_ext <<EOF
14202 #line 14203 "configure"
14203 #include "confdefs.h"
14204 /* Override any gcc2 internal prototype to avoid an error. */
14205 /* We use char because int might match the return type of a gcc2
14206 builtin and then its argument prototype would still apply. */
14213 if { (eval echo configure
:14214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14215 eval "ac_cv_lib_$ac_lib_var=yes"
14217 echo "configure: failed program was:" >&5
14218 cat conftest.
$ac_ext >&5
14220 eval "ac_cv_lib_$ac_lib_var=no"
14223 LIBS
="$ac_save_LIBS"
14226 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14227 echo "$ac_t""yes" 1>&6
14228 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14230 echo "$ac_t""no" 1>&6
14235 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14236 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14237 echo "configure:14238: checking for shmat" >&5
14238 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14239 echo $ac_n "(cached) $ac_c" 1>&6
14241 cat > conftest.
$ac_ext <<EOF
14242 #line 14243 "configure"
14243 #include "confdefs.h"
14244 /* System header to define __stub macros and hopefully few prototypes,
14245 which can conflict with char shmat(); below. */
14246 #include <assert.h>
14247 /* Override any gcc2 internal prototype to avoid an error. */
14248 /* We use char because int might match the return type of a gcc2
14249 builtin and then its argument prototype would still apply. */
14254 /* The GNU C library defines this for functions which it implements
14255 to always fail with ENOSYS. Some functions are actually named
14256 something starting with __ and the normal name is an alias. */
14257 #if defined (__stub_shmat) || defined (__stub___shmat)
14265 if { (eval echo configure
:14266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14267 eval "ac_cv_func_shmat=yes"
14269 echo "configure: failed program was:" >&5
14270 cat conftest.
$ac_ext >&5
14272 eval "ac_cv_func_shmat=no"
14277 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14278 echo "$ac_t""yes" 1>&6
14281 echo "$ac_t""no" 1>&6
14284 if test $ac_cv_func_shmat = no
; then
14285 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14286 echo "configure:14287: checking for shmat in -lipc" >&5
14287 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14288 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14289 echo $ac_n "(cached) $ac_c" 1>&6
14291 ac_save_LIBS
="$LIBS"
14293 cat > conftest.
$ac_ext <<EOF
14294 #line 14295 "configure"
14295 #include "confdefs.h"
14296 /* Override any gcc2 internal prototype to avoid an error. */
14297 /* We use char because int might match the return type of a gcc2
14298 builtin and then its argument prototype would still apply. */
14305 if { (eval echo configure
:14306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14307 eval "ac_cv_lib_$ac_lib_var=yes"
14309 echo "configure: failed program was:" >&5
14310 cat conftest.
$ac_ext >&5
14312 eval "ac_cv_lib_$ac_lib_var=no"
14315 LIBS
="$ac_save_LIBS"
14318 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14319 echo "$ac_t""yes" 1>&6
14320 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14322 echo "$ac_t""no" 1>&6
14328 # Check for libraries that X11R6 Xt/Xaw programs need.
14329 ac_save_LDFLAGS
="$LDFLAGS"
14330 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14331 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14332 # check for ICE first), but we must link in the order -lSM -lICE or
14333 # we get undefined symbols. So assume we have SM if we have ICE.
14334 # These have to be linked with before -lX11, unlike the other
14335 # libraries we check for below, so use a different variable.
14336 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14337 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14338 echo "configure:14339: checking for IceConnectionNumber in -lICE" >&5
14339 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14340 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14341 echo $ac_n "(cached) $ac_c" 1>&6
14343 ac_save_LIBS
="$LIBS"
14344 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14345 cat > conftest.
$ac_ext <<EOF
14346 #line 14347 "configure"
14347 #include "confdefs.h"
14348 /* Override any gcc2 internal prototype to avoid an error. */
14349 /* We use char because int might match the return type of a gcc2
14350 builtin and then its argument prototype would still apply. */
14351 char IceConnectionNumber();
14354 IceConnectionNumber()
14357 if { (eval echo configure
:14358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14359 eval "ac_cv_lib_$ac_lib_var=yes"
14361 echo "configure: failed program was:" >&5
14362 cat conftest.
$ac_ext >&5
14364 eval "ac_cv_lib_$ac_lib_var=no"
14367 LIBS
="$ac_save_LIBS"
14370 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14371 echo "$ac_t""yes" 1>&6
14372 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14374 echo "$ac_t""no" 1>&6
14377 LDFLAGS
="$ac_save_LDFLAGS"
14382 if test "$no_x" = "yes"; then
14383 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14386 GUI_TK_LIBRARY
="$X_LIBS"
14387 TOOLKIT_INCLUDE
="$X_CFLAGS"
14388 AFMINSTALL
=afminstall
14389 COMPILED_X_PROGRAM
=0
14391 if test "$wxUSE_NANOX" = "yes"; then
14392 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
14393 echo "configure:14394: checking for MicroWindows/NanoX distribution" >&5
14394 if test "x$MICROWIN" = x
; then
14395 echo "$ac_t""not found" 1>&6
14396 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
14398 echo "$ac_t""$MICROWIN" 1>&6
14399 cat >> confdefs.h
<<\EOF
14400 #define wxUSE_NANOX 1
14407 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14408 echo "configure:14409: checking for Xpm library" >&5
14411 for ac_dir
in $SEARCH_LIB /usr
/lib
;
14413 for ac_extension
in a so sl dylib
; do
14414 if test -f "$ac_dir/libXpm.$ac_extension"; then
14415 ac_find_libraries
=$ac_dir
14421 if test "$ac_find_libraries" != "" ; then
14423 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14425 if test $result = 0; then
14428 ac_path_to_link
=" -L$ac_find_libraries"
14431 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14433 cat >> confdefs.h
<<\EOF
14434 #define wxHAVE_LIB_XPM 1
14437 echo "$ac_t""found at $ac_find_libraries" 1>&6
14439 cat > conftest.
$ac_ext <<EOF
14440 #line 14441 "configure"
14441 #include "confdefs.h"
14443 #include <X11/xpm.h>
14448 version = XpmLibraryVersion();
14452 if { (eval echo configure
:14453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14456 cat >> confdefs.h
<<\EOF
14457 #define wxHAVE_LIB_XPM 1
14460 echo "$ac_t""found in default search path" 1>&6
14461 COMPILED_X_PROGRAM
=0
14464 echo "configure: failed program was:" >&5
14465 cat conftest.
$ac_ext >&5
14468 echo "$ac_t""no" 1>&6
14469 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14476 echo $ac_n "checking for XShapeQueryExtension in -lXext""... $ac_c" 1>&6
14477 echo "configure:14478: checking for XShapeQueryExtension in -lXext" >&5
14478 ac_lib_var
=`echo Xext'_'XShapeQueryExtension | sed 'y%./+-%__p_%'`
14479 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14480 echo $ac_n "(cached) $ac_c" 1>&6
14482 ac_save_LIBS
="$LIBS"
14483 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
14484 cat > conftest.
$ac_ext <<EOF
14485 #line 14486 "configure"
14486 #include "confdefs.h"
14487 /* Override any gcc2 internal prototype to avoid an error. */
14488 /* We use char because int might match the return type of a gcc2
14489 builtin and then its argument prototype would still apply. */
14490 char XShapeQueryExtension();
14493 XShapeQueryExtension()
14496 if { (eval echo configure
:14497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14498 eval "ac_cv_lib_$ac_lib_var=yes"
14500 echo "configure: failed program was:" >&5
14501 cat conftest.
$ac_ext >&5
14503 eval "ac_cv_lib_$ac_lib_var=no"
14506 LIBS
="$ac_save_LIBS"
14509 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14510 echo "$ac_t""yes" 1>&6
14512 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
14516 echo "$ac_t""no" 1>&6
14520 if test "$wxUSE_UNICODE" = "yes"; then
14524 if test -z "$PKG_CONFIG"; then
14525 # Extract the first word of "pkg-config", so it can be a program name with args.
14526 set dummy pkg
-config; ac_word
=$2
14527 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14528 echo "configure:14529: checking for $ac_word" >&5
14529 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14530 echo $ac_n "(cached) $ac_c" 1>&6
14532 case "$PKG_CONFIG" in
14534 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14537 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14540 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14542 for ac_dir
in $ac_dummy; do
14543 test -z "$ac_dir" && ac_dir
=.
14544 if test -f $ac_dir/$ac_word; then
14545 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14550 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14554 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14555 if test -n "$PKG_CONFIG"; then
14556 echo "$ac_t""$PKG_CONFIG" 1>&6
14558 echo "$ac_t""no" 1>&6
14563 if test "$PKG_CONFIG" = "no" ; then
14564 echo "*** The pkg-config script could not be found. Make sure it is"
14565 echo "*** in your path, or set the PKG_CONFIG environment variable"
14566 echo "*** to the full path to pkg-config."
14567 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14569 PKG_CONFIG_MIN_VERSION
=0.9.0
14570 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14571 echo $ac_n "checking for pangox""... $ac_c" 1>&6
14572 echo "configure:14573: checking for pangox" >&5
14574 if $PKG_CONFIG --exists "pangox" ; then
14575 echo "$ac_t""yes" 1>&6
14578 echo $ac_n "checking PANGOX_CFLAGS""... $ac_c" 1>&6
14579 echo "configure:14580: checking PANGOX_CFLAGS" >&5
14580 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
14581 echo "$ac_t""$PANGOX_CFLAGS" 1>&6
14583 echo $ac_n "checking PANGOX_LIBS""... $ac_c" 1>&6
14584 echo "configure:14585: checking PANGOX_LIBS" >&5
14585 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
14586 echo "$ac_t""$PANGOX_LIBS" 1>&6
14590 ## If we have a custom action on failure, don't print errors, but
14591 ## do set a variable so people can do so.
14592 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
14599 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14600 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14604 if test $succeeded = yes; then
14606 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
14607 LIBS
="$LIBS $PANGOX_LIBS"
14611 { echo "configure: error: pangox library not found, library cannot be compiled in Unicode mode" 1>&2; exit 1; }
14619 if test -z "$PKG_CONFIG"; then
14620 # Extract the first word of "pkg-config", so it can be a program name with args.
14621 set dummy pkg
-config; ac_word
=$2
14622 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14623 echo "configure:14624: checking for $ac_word" >&5
14624 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14625 echo $ac_n "(cached) $ac_c" 1>&6
14627 case "$PKG_CONFIG" in
14629 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14632 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14635 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14637 for ac_dir
in $ac_dummy; do
14638 test -z "$ac_dir" && ac_dir
=.
14639 if test -f $ac_dir/$ac_word; then
14640 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14645 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14649 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14650 if test -n "$PKG_CONFIG"; then
14651 echo "$ac_t""$PKG_CONFIG" 1>&6
14653 echo "$ac_t""no" 1>&6
14658 if test "$PKG_CONFIG" = "no" ; then
14659 echo "*** The pkg-config script could not be found. Make sure it is"
14660 echo "*** in your path, or set the PKG_CONFIG environment variable"
14661 echo "*** to the full path to pkg-config."
14662 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14664 PKG_CONFIG_MIN_VERSION
=0.9.0
14665 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14666 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
14667 echo "configure:14668: checking for pangoft2" >&5
14669 if $PKG_CONFIG --exists "pangoft2" ; then
14670 echo "$ac_t""yes" 1>&6
14673 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
14674 echo "configure:14675: checking PANGOFT2_CFLAGS" >&5
14675 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
14676 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
14678 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
14679 echo "configure:14680: checking PANGOFT2_LIBS" >&5
14680 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
14681 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
14685 ## If we have a custom action on failure, don't print errors, but
14686 ## do set a variable so people can do so.
14687 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
14694 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14695 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14699 if test $succeeded = yes; then
14701 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
14702 LIBS
="$LIBS $PANGOFT2_LIBS"
14706 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
14707 wxUSE_PRINTING_ARCHITECTURE
="no"
14715 if test -z "$PKG_CONFIG"; then
14716 # Extract the first word of "pkg-config", so it can be a program name with args.
14717 set dummy pkg
-config; ac_word
=$2
14718 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14719 echo "configure:14720: checking for $ac_word" >&5
14720 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14721 echo $ac_n "(cached) $ac_c" 1>&6
14723 case "$PKG_CONFIG" in
14725 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14728 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14731 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14733 for ac_dir
in $ac_dummy; do
14734 test -z "$ac_dir" && ac_dir
=.
14735 if test -f $ac_dir/$ac_word; then
14736 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14741 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14745 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14746 if test -n "$PKG_CONFIG"; then
14747 echo "$ac_t""$PKG_CONFIG" 1>&6
14749 echo "$ac_t""no" 1>&6
14754 if test "$PKG_CONFIG" = "no" ; then
14755 echo "*** The pkg-config script could not be found. Make sure it is"
14756 echo "*** in your path, or set the PKG_CONFIG environment variable"
14757 echo "*** to the full path to pkg-config."
14758 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14760 PKG_CONFIG_MIN_VERSION
=0.9.0
14761 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14762 echo $ac_n "checking for pangoxft""... $ac_c" 1>&6
14763 echo "configure:14764: checking for pangoxft" >&5
14765 if $PKG_CONFIG --exists "pangoxft" ; then
14766 echo "$ac_t""yes" 1>&6
14769 echo $ac_n "checking PANGOXFT_CFLAGS""... $ac_c" 1>&6
14770 echo "configure:14771: checking PANGOXFT_CFLAGS" >&5
14771 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
14772 echo "$ac_t""$PANGOXFT_CFLAGS" 1>&6
14774 echo $ac_n "checking PANGOXFT_LIBS""... $ac_c" 1>&6
14775 echo "configure:14776: checking PANGOXFT_LIBS" >&5
14776 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
14777 echo "$ac_t""$PANGOXFT_LIBS" 1>&6
14781 ## If we have a custom action on failure, don't print errors, but
14782 ## do set a variable so people can do so.
14783 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
14790 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14791 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14795 if test $succeeded = yes; then
14797 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
14798 LIBS
="$LIBS $PANGOXFT_LIBS"
14802 echo "configure: warning: pangoxft library not found, library will be compiled without anti-aliasing support" 1>&2
14809 wxUSE_UNIVERSAL
="yes"
14811 if test "$wxUSE_NANOX" = "yes"; then
14812 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
14813 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 -DUNIX=1 -DUSE_EXPOSURE -DSCREEN_HEIGHT=480 -DSCREEN_WIDTH=640 -DSCREEN_DEPTH=4 -DX11=1"
14814 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
14816 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
14819 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
14824 if test "$wxUSE_MOTIF" = 1; then
14825 if test "$no_x" = yes; then
14826 # Not all programs may use this symbol, but it does not hurt to define it.
14827 cat >> confdefs.h
<<\EOF
14828 #define X_DISPLAY_MISSING 1
14831 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14833 if test -n "$x_includes"; then
14834 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14837 # It would also be nice to do this for all -L options, not just this one.
14838 if test -n "$x_libraries"; then
14839 X_LIBS
="$X_LIBS -L$x_libraries"
14840 # For Solaris; some versions of Sun CC require a space after -R and
14841 # others require no space. Words are not sufficient . . . .
14842 case "`(uname -sr) 2>/dev/null`" in
14844 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
14845 echo "configure:14846: checking whether -R must be followed by a space" >&5
14846 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
14847 cat > conftest.
$ac_ext <<EOF
14848 #line 14849 "configure"
14849 #include "confdefs.h"
14855 if { (eval echo configure
:14856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14859 echo "configure: failed program was:" >&5
14860 cat conftest.
$ac_ext >&5
14865 if test $ac_R_nospace = yes; then
14866 echo "$ac_t""no" 1>&6
14867 X_LIBS
="$X_LIBS -R$x_libraries"
14869 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14870 cat > conftest.
$ac_ext <<EOF
14871 #line 14872 "configure"
14872 #include "confdefs.h"
14878 if { (eval echo configure
:14879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14882 echo "configure: failed program was:" >&5
14883 cat conftest.
$ac_ext >&5
14888 if test $ac_R_space = yes; then
14889 echo "$ac_t""yes" 1>&6
14890 X_LIBS
="$X_LIBS -R $x_libraries"
14892 echo "$ac_t""neither works" 1>&6
14895 LIBS
="$ac_xsave_LIBS"
14899 # Check for system-dependent libraries X programs must link with.
14900 # Do this before checking for the system-independent R6 libraries
14901 # (-lICE), since we may need -lsocket or whatever for X linking.
14903 if test "$ISC" = yes; then
14904 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14906 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
14907 # libraries were built with DECnet support. And karl@cs.umb.edu says
14908 # the Alpha needs dnet_stub (dnet does not exist).
14909 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
14910 echo "configure:14911: checking for dnet_ntoa in -ldnet" >&5
14911 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14912 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14913 echo $ac_n "(cached) $ac_c" 1>&6
14915 ac_save_LIBS
="$LIBS"
14916 LIBS
="-ldnet $LIBS"
14917 cat > conftest.
$ac_ext <<EOF
14918 #line 14919 "configure"
14919 #include "confdefs.h"
14920 /* Override any gcc2 internal prototype to avoid an error. */
14921 /* We use char because int might match the return type of a gcc2
14922 builtin and then its argument prototype would still apply. */
14929 if { (eval echo configure
:14930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14931 eval "ac_cv_lib_$ac_lib_var=yes"
14933 echo "configure: failed program was:" >&5
14934 cat conftest.
$ac_ext >&5
14936 eval "ac_cv_lib_$ac_lib_var=no"
14939 LIBS
="$ac_save_LIBS"
14942 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14943 echo "$ac_t""yes" 1>&6
14944 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14946 echo "$ac_t""no" 1>&6
14949 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14950 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
14951 echo "configure:14952: checking for dnet_ntoa in -ldnet_stub" >&5
14952 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14953 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14954 echo $ac_n "(cached) $ac_c" 1>&6
14956 ac_save_LIBS
="$LIBS"
14957 LIBS
="-ldnet_stub $LIBS"
14958 cat > conftest.
$ac_ext <<EOF
14959 #line 14960 "configure"
14960 #include "confdefs.h"
14961 /* Override any gcc2 internal prototype to avoid an error. */
14962 /* We use char because int might match the return type of a gcc2
14963 builtin and then its argument prototype would still apply. */
14970 if { (eval echo configure
:14971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14972 eval "ac_cv_lib_$ac_lib_var=yes"
14974 echo "configure: failed program was:" >&5
14975 cat conftest.
$ac_ext >&5
14977 eval "ac_cv_lib_$ac_lib_var=no"
14980 LIBS
="$ac_save_LIBS"
14983 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14984 echo "$ac_t""yes" 1>&6
14985 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14987 echo "$ac_t""no" 1>&6
14992 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14993 # to get the SysV transport functions.
14994 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
14996 # The nsl library prevents programs from opening the X display
14997 # on Irix 5.2, according to dickey@clark.net.
14998 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
14999 echo "configure:15000: checking for gethostbyname" >&5
15000 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
15001 echo $ac_n "(cached) $ac_c" 1>&6
15003 cat > conftest.
$ac_ext <<EOF
15004 #line 15005 "configure"
15005 #include "confdefs.h"
15006 /* System header to define __stub macros and hopefully few prototypes,
15007 which can conflict with char gethostbyname(); below. */
15008 #include <assert.h>
15009 /* Override any gcc2 internal prototype to avoid an error. */
15010 /* We use char because int might match the return type of a gcc2
15011 builtin and then its argument prototype would still apply. */
15012 char gethostbyname();
15016 /* The GNU C library defines this for functions which it implements
15017 to always fail with ENOSYS. Some functions are actually named
15018 something starting with __ and the normal name is an alias. */
15019 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
15027 if { (eval echo configure
:15028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15029 eval "ac_cv_func_gethostbyname=yes"
15031 echo "configure: failed program was:" >&5
15032 cat conftest.
$ac_ext >&5
15034 eval "ac_cv_func_gethostbyname=no"
15039 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
15040 echo "$ac_t""yes" 1>&6
15043 echo "$ac_t""no" 1>&6
15046 if test $ac_cv_func_gethostbyname = no
; then
15047 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
15048 echo "configure:15049: checking for gethostbyname in -lnsl" >&5
15049 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
15050 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15051 echo $ac_n "(cached) $ac_c" 1>&6
15053 ac_save_LIBS
="$LIBS"
15055 cat > conftest.
$ac_ext <<EOF
15056 #line 15057 "configure"
15057 #include "confdefs.h"
15058 /* Override any gcc2 internal prototype to avoid an error. */
15059 /* We use char because int might match the return type of a gcc2
15060 builtin and then its argument prototype would still apply. */
15061 char gethostbyname();
15067 if { (eval echo configure
:15068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15069 eval "ac_cv_lib_$ac_lib_var=yes"
15071 echo "configure: failed program was:" >&5
15072 cat conftest.
$ac_ext >&5
15074 eval "ac_cv_lib_$ac_lib_var=no"
15077 LIBS
="$ac_save_LIBS"
15080 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15081 echo "$ac_t""yes" 1>&6
15082 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
15084 echo "$ac_t""no" 1>&6
15089 # lieder@skyler.mavd.honeywell.com says without -lsocket,
15090 # socket/setsockopt and other routines are undefined under SCO ODT
15091 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
15092 # on later versions), says simon@lia.di.epfl.ch: it contains
15093 # gethostby* variants that don't use the nameserver (or something).
15094 # -lsocket must be given before -lnsl if both are needed.
15095 # We assume that if connect needs -lnsl, so does gethostbyname.
15096 echo $ac_n "checking for connect""... $ac_c" 1>&6
15097 echo "configure:15098: checking for connect" >&5
15098 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
15099 echo $ac_n "(cached) $ac_c" 1>&6
15101 cat > conftest.
$ac_ext <<EOF
15102 #line 15103 "configure"
15103 #include "confdefs.h"
15104 /* System header to define __stub macros and hopefully few prototypes,
15105 which can conflict with char connect(); below. */
15106 #include <assert.h>
15107 /* Override any gcc2 internal prototype to avoid an error. */
15108 /* We use char because int might match the return type of a gcc2
15109 builtin and then its argument prototype would still apply. */
15114 /* The GNU C library defines this for functions which it implements
15115 to always fail with ENOSYS. Some functions are actually named
15116 something starting with __ and the normal name is an alias. */
15117 #if defined (__stub_connect) || defined (__stub___connect)
15125 if { (eval echo configure
:15126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15127 eval "ac_cv_func_connect=yes"
15129 echo "configure: failed program was:" >&5
15130 cat conftest.
$ac_ext >&5
15132 eval "ac_cv_func_connect=no"
15137 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
15138 echo "$ac_t""yes" 1>&6
15141 echo "$ac_t""no" 1>&6
15144 if test $ac_cv_func_connect = no
; then
15145 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
15146 echo "configure:15147: checking for connect in -lsocket" >&5
15147 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
15148 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15149 echo $ac_n "(cached) $ac_c" 1>&6
15151 ac_save_LIBS
="$LIBS"
15152 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
15153 cat > conftest.
$ac_ext <<EOF
15154 #line 15155 "configure"
15155 #include "confdefs.h"
15156 /* Override any gcc2 internal prototype to avoid an error. */
15157 /* We use char because int might match the return type of a gcc2
15158 builtin and then its argument prototype would still apply. */
15165 if { (eval echo configure
:15166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15167 eval "ac_cv_lib_$ac_lib_var=yes"
15169 echo "configure: failed program was:" >&5
15170 cat conftest.
$ac_ext >&5
15172 eval "ac_cv_lib_$ac_lib_var=no"
15175 LIBS
="$ac_save_LIBS"
15178 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15179 echo "$ac_t""yes" 1>&6
15180 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
15182 echo "$ac_t""no" 1>&6
15187 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
15188 echo $ac_n "checking for remove""... $ac_c" 1>&6
15189 echo "configure:15190: checking for remove" >&5
15190 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
15191 echo $ac_n "(cached) $ac_c" 1>&6
15193 cat > conftest.
$ac_ext <<EOF
15194 #line 15195 "configure"
15195 #include "confdefs.h"
15196 /* System header to define __stub macros and hopefully few prototypes,
15197 which can conflict with char remove(); below. */
15198 #include <assert.h>
15199 /* Override any gcc2 internal prototype to avoid an error. */
15200 /* We use char because int might match the return type of a gcc2
15201 builtin and then its argument prototype would still apply. */
15206 /* The GNU C library defines this for functions which it implements
15207 to always fail with ENOSYS. Some functions are actually named
15208 something starting with __ and the normal name is an alias. */
15209 #if defined (__stub_remove) || defined (__stub___remove)
15217 if { (eval echo configure
:15218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15219 eval "ac_cv_func_remove=yes"
15221 echo "configure: failed program was:" >&5
15222 cat conftest.
$ac_ext >&5
15224 eval "ac_cv_func_remove=no"
15229 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
15230 echo "$ac_t""yes" 1>&6
15233 echo "$ac_t""no" 1>&6
15236 if test $ac_cv_func_remove = no
; then
15237 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
15238 echo "configure:15239: checking for remove in -lposix" >&5
15239 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
15240 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15241 echo $ac_n "(cached) $ac_c" 1>&6
15243 ac_save_LIBS
="$LIBS"
15244 LIBS
="-lposix $LIBS"
15245 cat > conftest.
$ac_ext <<EOF
15246 #line 15247 "configure"
15247 #include "confdefs.h"
15248 /* Override any gcc2 internal prototype to avoid an error. */
15249 /* We use char because int might match the return type of a gcc2
15250 builtin and then its argument prototype would still apply. */
15257 if { (eval echo configure
:15258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15259 eval "ac_cv_lib_$ac_lib_var=yes"
15261 echo "configure: failed program was:" >&5
15262 cat conftest.
$ac_ext >&5
15264 eval "ac_cv_lib_$ac_lib_var=no"
15267 LIBS
="$ac_save_LIBS"
15270 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15271 echo "$ac_t""yes" 1>&6
15272 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
15274 echo "$ac_t""no" 1>&6
15279 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
15280 echo $ac_n "checking for shmat""... $ac_c" 1>&6
15281 echo "configure:15282: checking for shmat" >&5
15282 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
15283 echo $ac_n "(cached) $ac_c" 1>&6
15285 cat > conftest.
$ac_ext <<EOF
15286 #line 15287 "configure"
15287 #include "confdefs.h"
15288 /* System header to define __stub macros and hopefully few prototypes,
15289 which can conflict with char shmat(); below. */
15290 #include <assert.h>
15291 /* Override any gcc2 internal prototype to avoid an error. */
15292 /* We use char because int might match the return type of a gcc2
15293 builtin and then its argument prototype would still apply. */
15298 /* The GNU C library defines this for functions which it implements
15299 to always fail with ENOSYS. Some functions are actually named
15300 something starting with __ and the normal name is an alias. */
15301 #if defined (__stub_shmat) || defined (__stub___shmat)
15309 if { (eval echo configure
:15310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15311 eval "ac_cv_func_shmat=yes"
15313 echo "configure: failed program was:" >&5
15314 cat conftest.
$ac_ext >&5
15316 eval "ac_cv_func_shmat=no"
15321 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
15322 echo "$ac_t""yes" 1>&6
15325 echo "$ac_t""no" 1>&6
15328 if test $ac_cv_func_shmat = no
; then
15329 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
15330 echo "configure:15331: checking for shmat in -lipc" >&5
15331 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
15332 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15333 echo $ac_n "(cached) $ac_c" 1>&6
15335 ac_save_LIBS
="$LIBS"
15337 cat > conftest.
$ac_ext <<EOF
15338 #line 15339 "configure"
15339 #include "confdefs.h"
15340 /* Override any gcc2 internal prototype to avoid an error. */
15341 /* We use char because int might match the return type of a gcc2
15342 builtin and then its argument prototype would still apply. */
15349 if { (eval echo configure
:15350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15351 eval "ac_cv_lib_$ac_lib_var=yes"
15353 echo "configure: failed program was:" >&5
15354 cat conftest.
$ac_ext >&5
15356 eval "ac_cv_lib_$ac_lib_var=no"
15359 LIBS
="$ac_save_LIBS"
15362 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15363 echo "$ac_t""yes" 1>&6
15364 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
15366 echo "$ac_t""no" 1>&6
15372 # Check for libraries that X11R6 Xt/Xaw programs need.
15373 ac_save_LDFLAGS
="$LDFLAGS"
15374 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
15375 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
15376 # check for ICE first), but we must link in the order -lSM -lICE or
15377 # we get undefined symbols. So assume we have SM if we have ICE.
15378 # These have to be linked with before -lX11, unlike the other
15379 # libraries we check for below, so use a different variable.
15380 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
15381 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
15382 echo "configure:15383: checking for IceConnectionNumber in -lICE" >&5
15383 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
15384 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15385 echo $ac_n "(cached) $ac_c" 1>&6
15387 ac_save_LIBS
="$LIBS"
15388 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
15389 cat > conftest.
$ac_ext <<EOF
15390 #line 15391 "configure"
15391 #include "confdefs.h"
15392 /* Override any gcc2 internal prototype to avoid an error. */
15393 /* We use char because int might match the return type of a gcc2
15394 builtin and then its argument prototype would still apply. */
15395 char IceConnectionNumber();
15398 IceConnectionNumber()
15401 if { (eval echo configure
:15402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15403 eval "ac_cv_lib_$ac_lib_var=yes"
15405 echo "configure: failed program was:" >&5
15406 cat conftest.
$ac_ext >&5
15408 eval "ac_cv_lib_$ac_lib_var=no"
15411 LIBS
="$ac_save_LIBS"
15414 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15415 echo "$ac_t""yes" 1>&6
15416 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
15418 echo "$ac_t""no" 1>&6
15421 LDFLAGS
="$ac_save_LDFLAGS"
15426 if test "$no_x" = "yes"; then
15427 { echo "configure: error: X11 not found" 1>&2; exit 1; }
15430 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
15431 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
15432 AFMINSTALL
=afminstall
15433 COMPILED_X_PROGRAM
=0
15435 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
15436 echo "configure:15437: checking for Motif/Lesstif headers" >&5
15439 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
15441 if test -f "$ac_dir/Xm/Xm.h"; then
15442 ac_find_includes
=$ac_dir
15447 if test "$ac_find_includes" != "" ; then
15448 echo "$ac_t""found in $ac_find_includes" 1>&6
15450 if test "x$ac_find_includes" = "x/usr/include"; then
15451 ac_path_to_include
=""
15453 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
15455 if test $result = 0; then
15456 ac_path_to_include
=""
15458 ac_path_to_include
=" -I$ac_find_includes"
15462 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
15464 cat > conftest.
$ac_ext <<EOF
15465 #line 15466 "configure"
15466 #include "confdefs.h"
15473 version = xmUseVersion;
15477 if { (eval echo configure
:15478: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15480 echo "$ac_t""found in default search path" 1>&6
15481 COMPILED_X_PROGRAM
=1
15484 echo "configure: failed program was:" >&5
15485 cat conftest.
$ac_ext >&5
15488 echo "$ac_t""no" 1>&6
15489 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
15496 if test "$COMPILED_X_PROGRAM" = 0; then
15497 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
15498 echo "configure:15499: checking for Motif/Lesstif library" >&5
15501 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15503 for ac_extension
in a so sl dylib
; do
15504 if test -f "$ac_dir/libXm.$ac_extension"; then
15505 ac_find_libraries
=$ac_dir
15511 if test "$ac_find_libraries" != "" ; then
15512 echo "$ac_t""found at $ac_find_libraries" 1>&6
15515 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15517 if test $result = 0; then
15520 ac_path_to_link
=" -L$ac_find_libraries"
15523 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15525 save_CFLAGS
=$CFLAGS
15526 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15528 cat > conftest.
$ac_ext <<EOF
15529 #line 15530 "configure"
15530 #include "confdefs.h"
15537 version = xmUseVersion;
15541 if { (eval echo configure
:15542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15544 echo "$ac_t""found in default search path" 1>&6
15545 COMPILED_X_PROGRAM
=1
15548 echo "configure: failed program was:" >&5
15549 cat conftest.
$ac_ext >&5
15552 echo "$ac_t""no" 1>&6
15553 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
15559 CFLAGS
=$save_CFLAGS
15564 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
15565 echo "configure:15566: checking for Xpm library" >&5
15568 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15570 for ac_extension
in a so sl dylib
; do
15571 if test -f "$ac_dir/libXpm.$ac_extension"; then
15572 ac_find_libraries
=$ac_dir
15578 if test "$ac_find_libraries" != "" ; then
15580 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15582 if test $result = 0; then
15585 ac_path_to_link
=" -L$ac_find_libraries"
15588 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15591 cat >> confdefs.h
<<\EOF
15592 #define wxHAVE_LIB_XPM 1
15595 echo "$ac_t""found at $ac_find_libraries" 1>&6
15597 save_CFLAGS
=$CFLAGS
15598 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15600 cat > conftest.
$ac_ext <<EOF
15601 #line 15602 "configure"
15602 #include "confdefs.h"
15604 #include <X11/xpm.h>
15609 version = XpmLibraryVersion();
15613 if { (eval echo configure
:15614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15617 cat >> confdefs.h
<<\EOF
15618 #define wxHAVE_LIB_XPM 1
15621 echo "$ac_t""found in default search path" 1>&6
15622 COMPILED_X_PROGRAM
=0
15625 echo "configure: failed program was:" >&5
15626 cat conftest.
$ac_ext >&5
15629 echo "$ac_t""no" 1>&6
15630 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
15636 CFLAGS
=$save_CFLAGS
15639 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
15640 echo "configure:15641: checking if we need -lXp and/or -lSM -lICE" >&5
15644 for libp
in "" " -lXp"; do
15645 if test "$libs_found" = "0"; then
15646 for libsm_ice
in " -lSM -lICE"; do
15647 if test "$libs_found" = "0"; then
15649 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
15650 save_CFLAGS
=$CFLAGS
15651 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15653 cat > conftest.
$ac_ext <<EOF
15654 #line 15655 "configure"
15655 #include "confdefs.h"
15658 #include <Xm/List.h>
15662 XmString string = NULL;
15665 XmListAddItem(w, string, position);
15669 if { (eval echo configure
:15670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15673 libsm_ice_link
="$libsm_ice"
15674 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
15678 echo "configure: failed program was:" >&5
15679 cat conftest.
$ac_ext >&5
15687 CFLAGS
=$save_CFLAGS
15693 if test "$libs_found" = "0"; then
15694 echo "$ac_t""can't find the right libraries" 1>&6
15695 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
15698 save_CFLAGS
=$CFLAGS
15699 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15700 echo $ac_n "checking for Motif 2""... $ac_c" 1>&6
15701 echo "configure:15702: checking for Motif 2" >&5
15702 cat > conftest.
$ac_ext <<EOF
15703 #line 15704 "configure"
15704 #include "confdefs.h"
15710 #if XmVersion < 2000
15711 #error "Not Motif 2"
15716 if { (eval echo configure
:15717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15719 cat >> confdefs.h
<<\EOF
15720 #define __WXMOTIF20__ 1
15723 echo "$ac_t""found" 1>&6
15726 echo "configure: failed program was:" >&5
15727 cat conftest.
$ac_ext >&5
15730 cat >> confdefs.h
<<\EOF
15731 #define __WXMOTIF20__ 0
15734 echo "$ac_t""not found" 1>&6
15738 CFLAGS
=$save_CFLAGS
15740 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
15741 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
15747 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
15748 test "$wxHAVE_XEXT_LIB" = 1; then
15749 save_CFLAGS
="$CFLAGS"
15750 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15752 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6
15753 echo "configure:15754: checking for X11/extensions/shape.h" >&5
15754 cat > conftest.
$ac_ext <<EOF
15755 #line 15756 "configure"
15756 #include "confdefs.h"
15758 #include <X11/Xlib.h>
15759 #include <X11/extensions/shape.h>
15763 int dummy1, dummy2;
15764 XShapeQueryExtension((Display*)NULL,
15765 (int*)NULL, (int*)NULL);
15769 if { (eval echo configure
:15770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15772 cat >> confdefs.h
<<\EOF
15773 #define HAVE_XSHAPE 1
15776 echo "$ac_t""found" 1>&6
15779 echo "configure: failed program was:" >&5
15780 cat conftest.
$ac_ext >&5
15783 echo "$ac_t""not found" 1>&6
15787 CFLAGS
="$save_CFLAGS"
15790 if test "$wxUSE_MAC" = 1; then
15791 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
15793 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
15798 if test "$wxUSE_COCOA" = 1; then
15799 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
15804 if test "$wxUSE_PM" = 1; then
15807 echo "configure: warning: OS/2 threads are not yet supported... disabled" 1>&2
15811 if test "$TOOLKIT" = "PM" ; then
15814 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
15817 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
15819 if test "$wxUSE_UNIVERSAL" = "yes"; then
15820 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
15822 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
15823 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
15825 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
15826 if test "$wxUSE_X11" = 1; then
15827 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
15829 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
15831 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
15834 ALL_OBJECTS
="\$(GUIOBJS)"
15835 ALL_SOURCES
="\$(ALL_SOURCES)"
15836 ALL_HEADERS
="\$(ALL_HEADERS)"
15839 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
15841 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
15842 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
15845 if test "$wxUSE_HTML" = "yes"; then
15846 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
15849 if test "$wxUSE_LIBJPEG" = "builtin" ; then
15850 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
15852 if test "$wxUSE_LIBTIFF" = "builtin" ; then
15853 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
15855 if test "$wxUSE_LIBPNG" = "builtin" ; then
15856 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
15859 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
15860 DISTDIR
="wx\$(TOOLKIT)"
15866 if test "$USE_WIN32" = 1 ; then
15867 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
15868 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
15872 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
15873 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
15876 ALL_SOURCES
="\$(ALL_SOURCES)"
15877 ALL_HEADERS
="\$(ALL_HEADERS)"
15879 PORT_FILES
="\${top_srcdir}/src/files.lst"
15881 GUIDIST
="BASE_DIST"
15891 if test "$TOOLKIT" != "MSW" ; then
15893 if test "$wxUSE_ODBC" != "no" ; then
15894 cat >> confdefs.h
<<\EOF
15895 #define wxUSE_ODBC 1
15898 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
15900 WXODBCFLAG
="-D_IODBC_"
15903 if test "$wxUSE_ODBC" = "sys" ; then
15905 ac_safe
=`echo "sql.h" | sed 'y%./+-%__p_%'`
15906 echo $ac_n "checking for sql.h""... $ac_c" 1>&6
15907 echo "configure:15908: checking for sql.h" >&5
15908 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15909 echo $ac_n "(cached) $ac_c" 1>&6
15911 cat > conftest.
$ac_ext <<EOF
15912 #line 15913 "configure"
15913 #include "confdefs.h"
15916 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15917 { (eval echo configure
:15918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15918 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15919 if test -z "$ac_err"; then
15921 eval "ac_cv_header_$ac_safe=yes"
15924 echo "configure: failed program was:" >&5
15925 cat conftest.
$ac_ext >&5
15927 eval "ac_cv_header_$ac_safe=no"
15931 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15932 echo "$ac_t""yes" 1>&6
15935 echo "$ac_t""no" 1>&6
15939 echo $ac_n "checking for library containing SQLAllocEnv""... $ac_c" 1>&6
15940 echo "configure:15941: checking for library containing SQLAllocEnv" >&5
15941 if eval "test \"`echo '$''{'ac_cv_search_SQLAllocEnv'+set}'`\" = set"; then
15942 echo $ac_n "(cached) $ac_c" 1>&6
15944 ac_func_search_save_LIBS
="$LIBS"
15945 ac_cv_search_SQLAllocEnv
="no"
15946 cat > conftest.
$ac_ext <<EOF
15947 #line 15948 "configure"
15948 #include "confdefs.h"
15949 /* Override any gcc2 internal prototype to avoid an error. */
15950 /* We use char because int might match the return type of a gcc2
15951 builtin and then its argument prototype would still apply. */
15952 char SQLAllocEnv();
15958 if { (eval echo configure
:15959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15960 ac_cv_search_SQLAllocEnv
="none required"
15962 echo "configure: failed program was:" >&5
15963 cat conftest.
$ac_ext >&5
15966 test "$ac_cv_search_SQLAllocEnv" = "no" && for i
in iodbc unixodbc odbc
; do
15967 LIBS
="-l$i $ac_func_search_save_LIBS"
15968 cat > conftest.
$ac_ext <<EOF
15969 #line 15970 "configure"
15970 #include "confdefs.h"
15971 /* Override any gcc2 internal prototype to avoid an error. */
15972 /* We use char because int might match the return type of a gcc2
15973 builtin and then its argument prototype would still apply. */
15974 char SQLAllocEnv();
15980 if { (eval echo configure
:15981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15982 ac_cv_search_SQLAllocEnv
="-l$i"
15985 echo "configure: failed program was:" >&5
15986 cat conftest.
$ac_ext >&5
15990 LIBS
="$ac_func_search_save_LIBS"
15993 echo "$ac_t""$ac_cv_search_SQLAllocEnv" 1>&6
15994 if test "$ac_cv_search_SQLAllocEnv" != "no"; then
15995 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS
="$ac_cv_search_SQLAllocEnv $LIBS"
15999 wxUSE_ODBC
=builtin;
16000 echo "configure: warning: can't find system Odbc library falling back to builtin " 1>&2
16004 if test "$wxUSE_ODBC" != "sys" ; then
16005 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
16012 if test "$wxUSE_REGEX" = "builtin" ; then
16013 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
16015 if test "$wxUSE_ZLIB" = "builtin" ; then
16016 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
16020 if test "$wxUSE_OPENGL" = "yes"; then
16021 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
16022 OPENGL_LIBS
="-framework OpenGL -framework AGL"
16023 elif test "$wxUSE_MSW" = 1; then
16024 OPENGL_LIBS
="-lopengl32 -lglu32"
16026 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
16027 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
16028 echo "configure:16029: checking for GL/gl.h" >&5
16029 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16030 echo $ac_n "(cached) $ac_c" 1>&6
16032 cat > conftest.
$ac_ext <<EOF
16033 #line 16034 "configure"
16034 #include "confdefs.h"
16037 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16038 { (eval echo configure
:16039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16039 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16040 if test -z "$ac_err"; then
16042 eval "ac_cv_header_$ac_safe=yes"
16045 echo "configure: failed program was:" >&5
16046 cat conftest.
$ac_ext >&5
16048 eval "ac_cv_header_$ac_safe=no"
16052 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16053 echo "$ac_t""yes" 1>&6
16057 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
16058 echo "configure:16059: checking for -lGL" >&5
16061 for ac_dir
in $SEARCH_LIB /usr
/lib
;
16063 for ac_extension
in a so sl dylib
; do
16064 if test -f "$ac_dir/libGL.$ac_extension"; then
16065 ac_find_libraries
=$ac_dir
16071 if test "$ac_find_libraries" != "" ; then
16073 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
16075 if test $result = 0; then
16078 ac_path_to_link
=" -L$ac_find_libraries"
16081 if test "$ac_path_to_link" != " -L/usr/lib" ; then
16082 LDFLAGS_GL
="$ac_path_to_link"
16087 for ac_dir
in $SEARCH_LIB /usr
/lib
;
16089 for ac_extension
in a so sl dylib
; do
16090 if test -f "$ac_dir/libGLU.$ac_extension"; then
16091 ac_find_libraries
=$ac_dir
16097 if test "$ac_find_libraries" != "" ; then
16099 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
16101 if test $result = 0; then
16104 ac_path_to_link
=" -L$ac_find_libraries"
16107 if test "$ac_path_to_link" != " -L/usr/lib" -a \
16108 "$ac_path_to_link" != "$LDFLAGS_GL"; then
16109 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
16113 OPENGL_LIBS
="-lGL -lGLU"
16114 echo "$ac_t""yes" 1>&6
16118 if "$found_gl" != 1; then
16119 echo "$ac_t""no" 1>&6
16120 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
16121 echo "configure:16122: checking for -lMesaGL" >&5
16124 for ac_dir
in $SEARCH_LIB /usr
/lib
;
16126 for ac_extension
in a so sl dylib
; do
16127 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
16128 ac_find_libraries
=$ac_dir
16134 if test "$ac_find_libraries" != "" ; then
16136 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
16138 if test $result = 0; then
16141 ac_path_to_link
=" -L$ac_find_libraries"
16144 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
16145 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
16146 echo "$ac_t""yes" 1>&6
16148 echo "$ac_t""no" 1>&6
16153 echo "$ac_t""no" 1>&6
16157 if test "x$OPENGL_LIBS" = "x"; then
16158 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
16162 if test "$wxUSE_OPENGL" = "yes"; then
16163 cat >> confdefs.h
<<\EOF
16164 #define wxUSE_OPENGL 1
16167 cat >> confdefs.h
<<\EOF
16168 #define wxUSE_GLCANVAS 1
16171 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
16175 if test -z "$TOOLKIT_VPATH" ; then
16176 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
16179 if test -n "$TOOLKIT" ; then
16180 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
16184 lib_unicode_suffix
=
16185 if test "$wxUSE_UNICODE" = "yes"; then
16186 lib_unicode_suffix
=u
16192 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
16197 WX_VERSION_TAG
=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
16199 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
16200 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
16202 if test "$cross_compiling" = "yes"; then
16203 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
16204 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
16207 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
16208 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
16209 WX_LIBRARY_BASENAME
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
16211 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
16212 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
16214 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
16215 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16216 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
16217 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16220 *-*-cygwin* | *-*-mingw32* )
16224 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
16225 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
16226 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
16227 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
16228 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
16230 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16231 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16237 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
16238 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
16240 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
16241 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16242 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
16243 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16245 if test "$wxUSE_MAC" = 1; then
16246 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
16247 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
16252 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
16253 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
16255 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
16256 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
16258 if test "$wxUSE_OPENGL" = "yes"; then
16259 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
16260 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
16265 if test "$wxUSE_SHARED" = "yes"; then
16267 *-pc-os2_emx | *-pc-os2-emx | \
16270 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
16276 if test "$wxUSE_SHARED" = "yes"; then
16279 if test "$wxUSE_OPENGL" = "yes"; then
16280 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
16281 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
16283 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16284 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
16287 if test "$GCC" = "yes"; then
16293 found_versioning
=no
16296 if test $found_versioning = no
; then
16297 echo $ac_n "checking if the linker accepts --version-script""... $ac_c" 1>&6
16298 echo "configure:16299: checking if the linker accepts --version-script" >&5
16299 if eval "test \"`echo '$''{'wx_cv_version_script'+set}'`\" = set"; then
16300 echo $ac_n "(cached) $ac_c" 1>&6
16303 echo "VER_1 { *; };" >conftest.sym
16304 echo "int main() { return 0; }" >conftest.cpp
16307 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
16308 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'; { (eval echo configure
:16309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } ; then
16309 if test -s conftest.stderr
; then
16310 wx_cv_version_script
=no
16312 wx_cv_version_script
=yes
16315 wx_cv_version_script
=no
16317 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
16321 echo "$ac_t""$wx_cv_version_script" 1>&6
16322 if test $wx_cv_version_script = yes ; then
16323 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)/version-script"
16328 SHARED_LD
="${CXX} -shared -o"
16332 if test "$GCC" = "yes"; then
16333 SHARED_LD
="${CXX} -shared ${PIC_FLAG} -o"
16335 LDFLAGS
="$LDFLAGS -L/usr/lib"
16337 SHARED_LD
="${CXX} -b -o"
16341 if test "$wxUSE_OPENGL" = "yes"; then
16342 WX_ALL_INSTALLED
="preinstall_gl"
16343 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
16345 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16349 *-*-linux* | *-*-gnu* )
16350 if test "$GCC" != "yes"; then
16351 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
16352 echo "configure:16353: checking for Intel compiler" >&5
16353 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
16354 echo $ac_n "(cached) $ac_c" 1>&6
16357 cat > conftest.
$ac_ext <<EOF
16358 #line 16359 "configure"
16359 #include "confdefs.h"
16363 #ifndef __INTEL_COMPILER
16369 if { (eval echo configure
:16370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16373 echo "configure: failed program was:" >&5
16374 cat conftest.
$ac_ext >&5
16383 echo "$ac_t""$wx_cv_prog_icc" 1>&6
16384 if test "$wx_cv_prog_icc" = "yes"; then
16389 if test "$wxUSE_SONAME" = "yes" ; then
16390 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
16391 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
16392 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
16394 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)/lib"
16398 if test "$GCC" = yes ; then
16399 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
16401 saveLdflags
="$LDFLAGS"
16402 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
16403 echo $ac_n "checking if the linker accepts -rpath""... $ac_c" 1>&6
16404 echo "configure:16405: checking if the linker accepts -rpath" >&5
16405 cat > conftest.
$ac_ext <<EOF
16406 #line 16407 "configure"
16407 #include "confdefs.h"
16413 if { (eval echo configure
:16414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16416 echo "$ac_t""yes" 1>&6
16417 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)/lib"
16420 echo "configure: failed program was:" >&5
16421 cat conftest.
$ac_ext >&5
16424 echo "$ac_t""no" 1>&6
16425 echo $ac_n "checking if the linker accepts -R""... $ac_c" 1>&6
16426 echo "configure:16427: checking if the linker accepts -R" >&5
16427 LDFLAGS
="$saveLdflags -Wl,-R,/"
16428 cat > conftest.
$ac_ext <<EOF
16429 #line 16430 "configure"
16430 #include "confdefs.h"
16436 if { (eval echo configure
:16437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16439 echo "$ac_t""yes" 1>&6
16440 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)/lib"
16442 echo "configure: failed program was:" >&5
16443 cat conftest.
$ac_ext >&5
16446 echo "$ac_t""no" 1>&6
16453 LDFLAGS
="$saveLdflags"
16455 SHARED_LD
="${CXX} -G -o"
16457 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
16458 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
16459 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)/lib"
16464 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
16465 CFLAGS
="$CFLAGS -fno-common"
16466 CXXFLAGS
="$CXXFLAGS -fno-common"
16467 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
16468 PIC_FLAG
="-dynamic -fPIC"
16469 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1}"
16470 SONAME_FLAGS_GL
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1_GL}"
16474 if test "$GCC" != "yes"; then
16475 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
16476 set dummy makeC
++SharedLib
; ac_word
=$2
16477 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16478 echo "configure:16479: checking for $ac_word" >&5
16479 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
16480 echo $ac_n "(cached) $ac_c" 1>&6
16482 if test -n "$AIX_CXX_LD"; then
16483 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
16485 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16487 for ac_dir
in $ac_dummy; do
16488 test -z "$ac_dir" && ac_dir
=.
16489 if test -f $ac_dir/$ac_word; then
16490 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
16495 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
16498 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
16499 if test -n "$AIX_CXX_LD"; then
16500 echo "$ac_t""$AIX_CXX_LD" 1>&6
16502 echo "$ac_t""no" 1>&6
16506 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
16510 *-*-cygwin* | *-*-mingw32* )
16511 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
16513 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
16514 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
16516 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
16518 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16519 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16521 if test "$wxUSE_OPENGL" = "yes"; then
16522 LIBS
="${LIBS} ${OPENGL_LIBS}"
16527 SHARED_LD
="${LD} -shared -o"
16531 if test "$GCC" != "yes"; then
16536 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
16544 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
16547 if test "x$WX_TARGET_LIBRARY" = "x"; then
16548 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
16549 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
16552 WX_TARGET_LIBRARY_TYPE
="so"
16553 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
16556 if test "$wxUSE_SHARED" = "no"; then
16558 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
16559 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16562 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
16563 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16566 if test "$wxUSE_OPENGL" = "yes"; then
16567 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
16568 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
16570 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
16573 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
16574 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
16576 WX_TARGET_LIBRARY_TYPE
="a"
16577 INSTALL_LIBRARY
='$(INSTALL_DATA)'
16587 if test "$wxUSE_MAC" = 1; then
16588 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
16589 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
16590 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
16591 # Extract the first word of "Rez", so it can be a program name with args.
16592 set dummy Rez
; ac_word
=$2
16593 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16594 echo "configure:16595: checking for $ac_word" >&5
16595 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16596 echo $ac_n "(cached) $ac_c" 1>&6
16598 if test -n "$RESCOMP"; then
16599 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
16601 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16603 for ac_dir
in $ac_dummy; do
16604 test -z "$ac_dir" && ac_dir
=.
16605 if test -f $ac_dir/$ac_word; then
16606 ac_cv_prog_RESCOMP
="Rez"
16611 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
16614 RESCOMP
="$ac_cv_prog_RESCOMP"
16615 if test -n "$RESCOMP"; then
16616 echo "$ac_t""$RESCOMP" 1>&6
16618 echo "$ac_t""no" 1>&6
16621 # Extract the first word of "DeRez", so it can be a program name with args.
16622 set dummy DeRez
; ac_word
=$2
16623 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16624 echo "configure:16625: checking for $ac_word" >&5
16625 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16626 echo $ac_n "(cached) $ac_c" 1>&6
16628 if test -n "$DEREZ"; then
16629 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
16631 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16633 for ac_dir
in $ac_dummy; do
16634 test -z "$ac_dir" && ac_dir
=.
16635 if test -f $ac_dir/$ac_word; then
16636 ac_cv_prog_DEREZ
="DeRez"
16641 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
16644 DEREZ
="$ac_cv_prog_DEREZ"
16645 if test -n "$DEREZ"; then
16646 echo "$ac_t""$DEREZ" 1>&6
16648 echo "$ac_t""no" 1>&6
16651 # Extract the first word of "SetFile", so it can be a program name with args.
16652 set dummy SetFile
; ac_word
=$2
16653 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16654 echo "configure:16655: checking for $ac_word" >&5
16655 if eval "test \"`echo '$''{'ac_cv_prog_SETFILE'+set}'`\" = set"; then
16656 echo $ac_n "(cached) $ac_c" 1>&6
16658 if test -n "$SETFILE"; then
16659 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
16661 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16663 for ac_dir
in $ac_dummy; do
16664 test -z "$ac_dir" && ac_dir
=.
16665 if test -f $ac_dir/$ac_word; then
16666 ac_cv_prog_SETFILE
="SetFile"
16671 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
16674 SETFILE
="$ac_cv_prog_SETFILE"
16675 if test -n "$SETFILE"; then
16676 echo "$ac_t""$SETFILE" 1>&6
16678 echo "$ac_t""no" 1>&6
16681 MACOSX_BUNDLE
="bundle"
16682 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
16683 MACSETFILE
="\$(SETFILE)"
16684 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
16685 elif test "$wxUSE_COCOA" = 1; then
16686 # Extract the first word of "Rez", so it can be a program name with args.
16687 set dummy Rez
; ac_word
=$2
16688 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16689 echo "configure:16690: checking for $ac_word" >&5
16690 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16691 echo $ac_n "(cached) $ac_c" 1>&6
16693 if test -n "$RESCOMP"; then
16694 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
16696 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16698 for ac_dir
in $ac_dummy; do
16699 test -z "$ac_dir" && ac_dir
=.
16700 if test -f $ac_dir/$ac_word; then
16701 ac_cv_prog_RESCOMP
="Rez"
16706 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
16709 RESCOMP
="$ac_cv_prog_RESCOMP"
16710 if test -n "$RESCOMP"; then
16711 echo "$ac_t""$RESCOMP" 1>&6
16713 echo "$ac_t""no" 1>&6
16716 # Extract the first word of "DeRez", so it can be a program name with args.
16717 set dummy DeRez
; ac_word
=$2
16718 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16719 echo "configure:16720: checking for $ac_word" >&5
16720 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16721 echo $ac_n "(cached) $ac_c" 1>&6
16723 if test -n "$DEREZ"; then
16724 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
16726 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16728 for ac_dir
in $ac_dummy; do
16729 test -z "$ac_dir" && ac_dir
=.
16730 if test -f $ac_dir/$ac_word; then
16731 ac_cv_prog_DEREZ
="DeRez"
16736 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
16739 DEREZ
="$ac_cv_prog_DEREZ"
16740 if test -n "$DEREZ"; then
16741 echo "$ac_t""$DEREZ" 1>&6
16743 echo "$ac_t""no" 1>&6
16746 # Extract the first word of "SetFile", so it can be a program name with args.
16747 set dummy SetFile
; ac_word
=$2
16748 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16749 echo "configure:16750: checking for $ac_word" >&5
16750 if eval "test \"`echo '$''{'ac_cv_prog_SETFILE'+set}'`\" = set"; then
16751 echo $ac_n "(cached) $ac_c" 1>&6
16753 if test -n "$SETFILE"; then
16754 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
16756 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16758 for ac_dir
in $ac_dummy; do
16759 test -z "$ac_dir" && ac_dir
=.
16760 if test -f $ac_dir/$ac_word; then
16761 ac_cv_prog_SETFILE
="SetFile"
16766 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
16769 SETFILE
="$ac_cv_prog_SETFILE"
16770 if test -n "$SETFILE"; then
16771 echo "$ac_t""$SETFILE" 1>&6
16773 echo "$ac_t""no" 1>&6
16776 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
16777 MACSETFILE
="\$(SETFILE)"
16778 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
16780 if test "$wxUSE_PM" = 1; then
16781 MACRESCOMP
="emxbind -ep"
16786 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
16787 echo "configure:16788: checking for ANSI C header files" >&5
16788 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
16789 echo $ac_n "(cached) $ac_c" 1>&6
16791 cat > conftest.
$ac_ext <<EOF
16792 #line 16793 "configure"
16793 #include "confdefs.h"
16794 #include <stdlib.h>
16795 #include <stdarg.h>
16796 #include <string.h>
16799 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16800 { (eval echo configure
:16801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16801 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16802 if test -z "$ac_err"; then
16804 ac_cv_header_stdc
=yes
16807 echo "configure: failed program was:" >&5
16808 cat conftest.
$ac_ext >&5
16810 ac_cv_header_stdc
=no
16814 if test $ac_cv_header_stdc = yes; then
16815 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16816 cat > conftest.
$ac_ext <<EOF
16817 #line 16818 "configure"
16818 #include "confdefs.h"
16819 #include <string.h>
16821 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16822 egrep "memchr" >/dev
/null
2>&1; then
16826 ac_cv_header_stdc
=no
16832 if test $ac_cv_header_stdc = yes; then
16833 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16834 cat > conftest.
$ac_ext <<EOF
16835 #line 16836 "configure"
16836 #include "confdefs.h"
16837 #include <stdlib.h>
16839 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16840 egrep "free" >/dev
/null
2>&1; then
16844 ac_cv_header_stdc
=no
16850 if test $ac_cv_header_stdc = yes; then
16851 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16852 if test "$cross_compiling" = yes; then
16855 cat > conftest.
$ac_ext <<EOF
16856 #line 16857 "configure"
16857 #include "confdefs.h"
16859 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16860 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16861 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16862 int main () { int i; for (i = 0; i < 256; i++)
16863 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
16867 if { (eval echo configure
:16868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
16871 echo "configure: failed program was:" >&5
16872 cat conftest.
$ac_ext >&5
16874 ac_cv_header_stdc
=no
16882 echo "$ac_t""$ac_cv_header_stdc" 1>&6
16883 if test $ac_cv_header_stdc = yes; then
16884 cat >> confdefs.h
<<\EOF
16885 #define STDC_HEADERS 1
16890 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
16891 echo "configure:16892: checking for mode_t" >&5
16892 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
16893 echo $ac_n "(cached) $ac_c" 1>&6
16895 cat > conftest.
$ac_ext <<EOF
16896 #line 16897 "configure"
16897 #include "confdefs.h"
16898 #include <sys/types.h>
16900 #include <stdlib.h>
16901 #include <stddef.h>
16904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16905 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16907 ac_cv_type_mode_t
=yes
16910 ac_cv_type_mode_t
=no
16915 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
16916 if test $ac_cv_type_mode_t = no
; then
16917 cat >> confdefs.h
<<\EOF
16923 echo $ac_n "checking for off_t""... $ac_c" 1>&6
16924 echo "configure:16925: checking for off_t" >&5
16925 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
16926 echo $ac_n "(cached) $ac_c" 1>&6
16928 cat > conftest.
$ac_ext <<EOF
16929 #line 16930 "configure"
16930 #include "confdefs.h"
16931 #include <sys/types.h>
16933 #include <stdlib.h>
16934 #include <stddef.h>
16937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16938 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16940 ac_cv_type_off_t
=yes
16943 ac_cv_type_off_t
=no
16948 echo "$ac_t""$ac_cv_type_off_t" 1>&6
16949 if test $ac_cv_type_off_t = no
; then
16950 cat >> confdefs.h
<<\EOF
16956 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
16957 echo "configure:16958: checking for pid_t" >&5
16958 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
16959 echo $ac_n "(cached) $ac_c" 1>&6
16961 cat > conftest.
$ac_ext <<EOF
16962 #line 16963 "configure"
16963 #include "confdefs.h"
16964 #include <sys/types.h>
16966 #include <stdlib.h>
16967 #include <stddef.h>
16970 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16971 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16973 ac_cv_type_pid_t
=yes
16976 ac_cv_type_pid_t
=no
16981 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
16982 if test $ac_cv_type_pid_t = no
; then
16983 cat >> confdefs.h
<<\EOF
16989 echo $ac_n "checking for size_t""... $ac_c" 1>&6
16990 echo "configure:16991: checking for size_t" >&5
16991 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
16992 echo $ac_n "(cached) $ac_c" 1>&6
16994 cat > conftest.
$ac_ext <<EOF
16995 #line 16996 "configure"
16996 #include "confdefs.h"
16997 #include <sys/types.h>
16999 #include <stdlib.h>
17000 #include <stddef.h>
17003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17004 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
17006 ac_cv_type_size_t
=yes
17009 ac_cv_type_size_t
=no
17014 echo "$ac_t""$ac_cv_type_size_t" 1>&6
17015 if test $ac_cv_type_size_t = no
; then
17016 cat >> confdefs.h
<<\EOF
17017 #define size_t unsigned
17022 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
17023 echo "configure:17024: checking for uid_t in sys/types.h" >&5
17024 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
17025 echo $ac_n "(cached) $ac_c" 1>&6
17027 cat > conftest.
$ac_ext <<EOF
17028 #line 17029 "configure"
17029 #include "confdefs.h"
17030 #include <sys/types.h>
17032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17033 egrep "uid_t" >/dev
/null
2>&1; then
17035 ac_cv_type_uid_t
=yes
17038 ac_cv_type_uid_t
=no
17044 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
17045 if test $ac_cv_type_uid_t = no
; then
17046 cat >> confdefs.h
<<\EOF
17050 cat >> confdefs.h
<<\EOF
17059 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17060 ac_cpp
='$CXXCPP $CPPFLAGS'
17061 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17062 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17063 cross_compiling
=$ac_cv_prog_cxx_cross
17065 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
17066 echo "configure:17067: checking if size_t is unsigned int" >&5
17067 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
17068 echo $ac_n "(cached) $ac_c" 1>&6
17071 cat > conftest.
$ac_ext <<EOF
17072 #line 17073 "configure"
17073 #include "confdefs.h"
17074 #include <stddef.h>
17079 struct Foo { void foo(size_t); void foo(unsigned int); };
17085 if { (eval echo configure
:17086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17087 wx_cv_size_t_is_uint
=no
17089 echo "configure: failed program was:" >&5
17090 cat conftest.
$ac_ext >&5
17092 wx_cv_size_t_is_uint
=yes
17100 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
17102 if test "$wx_cv_size_t_is_uint" = "yes"; then
17103 cat >> confdefs.h
<<\EOF
17104 #define wxSIZE_T_IS_UINT 1
17108 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
17109 echo "configure:17110: checking if size_t is unsigned long" >&5
17110 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
17111 echo $ac_n "(cached) $ac_c" 1>&6
17113 cat > conftest.
$ac_ext <<EOF
17114 #line 17115 "configure"
17115 #include "confdefs.h"
17116 #include <stddef.h>
17121 struct Foo { void foo(size_t); void foo(unsigned long); };
17127 if { (eval echo configure
:17128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17129 wx_cv_size_t_is_ulong
=no
17131 echo "configure: failed program was:" >&5
17132 cat conftest.
$ac_ext >&5
17134 wx_cv_size_t_is_ulong
=yes
17141 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
17143 if test "$wx_cv_size_t_is_ulong" = "yes"; then
17144 cat >> confdefs.h
<<\EOF
17145 #define wxSIZE_T_IS_ULONG 1
17152 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17153 ac_cpp
='$CPP $CPPFLAGS'
17154 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17155 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17156 cross_compiling
=$ac_cv_prog_cc_cross
17160 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
17161 echo "configure:17162: checking for pw_gecos in struct passwd" >&5
17162 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
17163 echo $ac_n "(cached) $ac_c" 1>&6
17166 cat > conftest.
$ac_ext <<EOF
17167 #line 17168 "configure"
17168 #include "confdefs.h"
17178 if { (eval echo configure
:17179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17181 wx_cv_struct_pw_gecos
=yes
17184 echo "configure: failed program was:" >&5
17185 cat conftest.
$ac_ext >&5
17188 wx_cv_struct_pw_gecos
=no
17197 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
17199 if test "$wx_cv_struct_pw_gecos" = "yes"; then
17200 cat >> confdefs.h
<<\EOF
17201 #define HAVE_PW_GECOS 1
17207 if test "$wx_cv_sizeof_wchar_t" != "0"; then
17208 cat >> confdefs.h
<<\EOF
17209 #define wxUSE_WCHAR_T 1
17215 for ac_func
in wcslen
17217 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17218 echo "configure:17219: checking for $ac_func" >&5
17219 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17220 echo $ac_n "(cached) $ac_c" 1>&6
17222 cat > conftest.
$ac_ext <<EOF
17223 #line 17224 "configure"
17224 #include "confdefs.h"
17225 /* System header to define __stub macros and hopefully few prototypes,
17226 which can conflict with char $ac_func(); below. */
17227 #include <assert.h>
17228 /* Override any gcc2 internal prototype to avoid an error. */
17229 /* We use char because int might match the return type of a gcc2
17230 builtin and then its argument prototype would still apply. */
17235 /* The GNU C library defines this for functions which it implements
17236 to always fail with ENOSYS. Some functions are actually named
17237 something starting with __ and the normal name is an alias. */
17238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17246 if { (eval echo configure
:17247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17248 eval "ac_cv_func_$ac_func=yes"
17250 echo "configure: failed program was:" >&5
17251 cat conftest.
$ac_ext >&5
17253 eval "ac_cv_func_$ac_func=no"
17258 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17259 echo "$ac_t""yes" 1>&6
17260 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17261 cat >> confdefs.h
<<EOF
17262 #define $ac_tr_func 1
17266 echo "$ac_t""no" 1>&6
17271 if test "$WCSLEN_FOUND" = 0; then
17272 if test "$TOOLKIT" = "MSW"; then
17273 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
17274 echo "configure:17275: checking for wcslen in -lmsvcrt" >&5
17275 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
17276 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17277 echo $ac_n "(cached) $ac_c" 1>&6
17279 ac_save_LIBS
="$LIBS"
17280 LIBS
="-lmsvcrt $LIBS"
17281 cat > conftest.
$ac_ext <<EOF
17282 #line 17283 "configure"
17283 #include "confdefs.h"
17284 /* Override any gcc2 internal prototype to avoid an error. */
17285 /* We use char because int might match the return type of a gcc2
17286 builtin and then its argument prototype would still apply. */
17293 if { (eval echo configure
:17294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17295 eval "ac_cv_lib_$ac_lib_var=yes"
17297 echo "configure: failed program was:" >&5
17298 cat conftest.
$ac_ext >&5
17300 eval "ac_cv_lib_$ac_lib_var=no"
17303 LIBS
="$ac_save_LIBS"
17306 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17307 echo "$ac_t""yes" 1>&6
17310 echo "$ac_t""no" 1>&6
17314 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
17315 echo "configure:17316: checking for wcslen in -lw" >&5
17316 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
17317 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17318 echo $ac_n "(cached) $ac_c" 1>&6
17320 ac_save_LIBS
="$LIBS"
17322 cat > conftest.
$ac_ext <<EOF
17323 #line 17324 "configure"
17324 #include "confdefs.h"
17325 /* Override any gcc2 internal prototype to avoid an error. */
17326 /* We use char because int might match the return type of a gcc2
17327 builtin and then its argument prototype would still apply. */
17334 if { (eval echo configure
:17335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17336 eval "ac_cv_lib_$ac_lib_var=yes"
17338 echo "configure: failed program was:" >&5
17339 cat conftest.
$ac_ext >&5
17341 eval "ac_cv_lib_$ac_lib_var=no"
17344 LIBS
="$ac_save_LIBS"
17347 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17348 echo "$ac_t""yes" 1>&6
17354 echo "$ac_t""no" 1>&6
17360 if test "$WCSLEN_FOUND" = 1; then
17361 cat >> confdefs.h
<<\EOF
17362 #define HAVE_WCSLEN 1
17367 for ac_func
in wcsrtombs
17369 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17370 echo "configure:17371: checking for $ac_func" >&5
17371 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17372 echo $ac_n "(cached) $ac_c" 1>&6
17374 cat > conftest.
$ac_ext <<EOF
17375 #line 17376 "configure"
17376 #include "confdefs.h"
17377 /* System header to define __stub macros and hopefully few prototypes,
17378 which can conflict with char $ac_func(); below. */
17379 #include <assert.h>
17380 /* Override any gcc2 internal prototype to avoid an error. */
17381 /* We use char because int might match the return type of a gcc2
17382 builtin and then its argument prototype would still apply. */
17387 /* The GNU C library defines this for functions which it implements
17388 to always fail with ENOSYS. Some functions are actually named
17389 something starting with __ and the normal name is an alias. */
17390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17398 if { (eval echo configure
:17399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17400 eval "ac_cv_func_$ac_func=yes"
17402 echo "configure: failed program was:" >&5
17403 cat conftest.
$ac_ext >&5
17405 eval "ac_cv_func_$ac_func=no"
17410 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17411 echo "$ac_t""yes" 1>&6
17412 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17413 cat >> confdefs.h
<<EOF
17414 #define $ac_tr_func 1
17418 echo "$ac_t""no" 1>&6
17423 echo "configure: warning: Wide character support is unavailable" 1>&2
17428 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17429 ac_cpp
='$CXXCPP $CPPFLAGS'
17430 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17431 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17432 cross_compiling
=$ac_cv_prog_cxx_cross
17435 for ac_func
in vsnprintf
17437 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17438 echo "configure:17439: checking for $ac_func" >&5
17439 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17440 echo $ac_n "(cached) $ac_c" 1>&6
17442 cat > conftest.
$ac_ext <<EOF
17443 #line 17444 "configure"
17444 #include "confdefs.h"
17445 /* System header to define __stub macros and hopefully few prototypes,
17446 which can conflict with char $ac_func(); below. */
17447 #include <assert.h>
17448 /* Override any gcc2 internal prototype to avoid an error. */
17452 /* We use char because int might match the return type of a gcc2
17453 builtin and then its argument prototype would still apply. */
17458 /* The GNU C library defines this for functions which it implements
17459 to always fail with ENOSYS. Some functions are actually named
17460 something starting with __ and the normal name is an alias. */
17461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17469 if { (eval echo configure
:17470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17471 eval "ac_cv_func_$ac_func=yes"
17473 echo "configure: failed program was:" >&5
17474 cat conftest.
$ac_ext >&5
17476 eval "ac_cv_func_$ac_func=no"
17481 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17482 echo "$ac_t""yes" 1>&6
17483 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17484 cat >> confdefs.h
<<EOF
17485 #define $ac_tr_func 1
17489 echo "$ac_t""no" 1>&6
17494 if test "$ac_cv_func_vsnprintf" = "yes"; then
17495 echo $ac_n "checking for vsnprintf declaration""... $ac_c" 1>&6
17496 echo "configure:17497: checking for vsnprintf declaration" >&5
17497 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf_decl'+set}'`\" = set"; then
17498 echo $ac_n "(cached) $ac_c" 1>&6
17501 cat > conftest.
$ac_ext <<EOF
17502 #line 17503 "configure"
17503 #include "confdefs.h"
17506 #include <stdarg.h>
17512 vsnprintf(buf, 10u, "%s", ap);
17516 if { (eval echo configure
:17517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17518 wx_cv_func_vsnprintf_decl
=yes
17520 echo "configure: failed program was:" >&5
17521 cat conftest.
$ac_ext >&5
17523 wx_cv_func_vsnprintf_decl
=no
17531 echo "$ac_t""$wx_cv_func_vsnprintf_decl" 1>&6
17533 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
17534 cat >> confdefs.h
<<\EOF
17535 #define HAVE_VSNPRINTF_DECL 1
17541 if test "$wxUSE_UNICODE" = yes; then
17542 for ac_func
in fputwc wprintf vswprintf
17544 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17545 echo "configure:17546: checking for $ac_func" >&5
17546 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17547 echo $ac_n "(cached) $ac_c" 1>&6
17549 cat > conftest.
$ac_ext <<EOF
17550 #line 17551 "configure"
17551 #include "confdefs.h"
17552 /* System header to define __stub macros and hopefully few prototypes,
17553 which can conflict with char $ac_func(); below. */
17554 #include <assert.h>
17555 /* Override any gcc2 internal prototype to avoid an error. */
17559 /* We use char because int might match the return type of a gcc2
17560 builtin and then its argument prototype would still apply. */
17565 /* The GNU C library defines this for functions which it implements
17566 to always fail with ENOSYS. Some functions are actually named
17567 something starting with __ and the normal name is an alias. */
17568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17576 if { (eval echo configure
:17577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17578 eval "ac_cv_func_$ac_func=yes"
17580 echo "configure: failed program was:" >&5
17581 cat conftest.
$ac_ext >&5
17583 eval "ac_cv_func_$ac_func=no"
17588 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17589 echo "$ac_t""yes" 1>&6
17590 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17591 cat >> confdefs.h
<<EOF
17592 #define $ac_tr_func 1
17596 echo "$ac_t""no" 1>&6
17601 echo $ac_n "checking for _vsnwprintf""... $ac_c" 1>&6
17602 echo "configure:17603: checking for _vsnwprintf" >&5
17603 cat > conftest.
$ac_ext <<EOF
17604 #line 17605 "configure"
17605 #include "confdefs.h"
17611 if { (eval echo configure
:17612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17613 echo "$ac_t""yes" 1>&6
17614 cat >> confdefs.h
<<\EOF
17615 #define HAVE__VSNWPRINTF 1
17619 echo "configure: failed program was:" >&5
17620 cat conftest.
$ac_ext >&5
17622 echo "$ac_t""no" 1>&6
17628 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17629 ac_cpp
='$CPP $CPPFLAGS'
17630 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17631 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17632 cross_compiling
=$ac_cv_prog_cc_cross
17637 if test "$TOOLKIT" != "MSW"; then
17642 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17643 ac_cpp
='$CXXCPP $CPPFLAGS'
17644 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17645 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17646 cross_compiling
=$ac_cv_prog_cxx_cross
17650 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
17651 if test "${with_libiconv_prefix+set}" = set; then
17652 withval
="$with_libiconv_prefix"
17654 for dir
in `echo "$withval" | tr : ' '`; do
17655 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
17656 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
17662 echo $ac_n "checking for iconv""... $ac_c" 1>&6
17663 echo "configure:17664: checking for iconv" >&5
17664 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
17665 echo $ac_n "(cached) $ac_c" 1>&6
17668 am_cv_func_iconv
="no, consider installing GNU libiconv"
17670 cat > conftest.
$ac_ext <<EOF
17671 #line 17672 "configure"
17672 #include "confdefs.h"
17673 #include <stdlib.h>
17676 iconv_t cd = iconv_open("","");
17677 iconv(cd,NULL,NULL,NULL,NULL);
17681 if { (eval echo configure
:17682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17683 am_cv_func_iconv
=yes
17685 echo "configure: failed program was:" >&5
17686 cat conftest.
$ac_ext >&5
17689 if test "$am_cv_func_iconv" != yes; then
17690 am_save_LIBS
="$LIBS"
17691 LIBS
="$LIBS -liconv"
17692 cat > conftest.
$ac_ext <<EOF
17693 #line 17694 "configure"
17694 #include "confdefs.h"
17695 #include <stdlib.h>
17698 iconv_t cd = iconv_open("","");
17699 iconv(cd,NULL,NULL,NULL,NULL);
17703 if { (eval echo configure
:17704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17705 am_cv_lib_iconv
=yes
17706 am_cv_func_iconv
=yes
17708 echo "configure: failed program was:" >&5
17709 cat conftest.
$ac_ext >&5
17712 LIBS
="$am_save_LIBS"
17717 echo "$ac_t""$am_cv_func_iconv" 1>&6
17718 if test "$am_cv_func_iconv" = yes; then
17719 cat >> confdefs.h
<<\EOF
17720 #define HAVE_ICONV 1
17723 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
17724 echo "configure:17725: checking if iconv needs const" >&5
17725 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
17726 echo $ac_n "(cached) $ac_c" 1>&6
17728 cat > conftest.
$ac_ext <<EOF
17729 #line 17730 "configure"
17730 #include "confdefs.h"
17732 #include <stdlib.h>
17738 #if defined(__STDC__) || defined(__cplusplus)
17739 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17748 if { (eval echo configure
:17749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17750 wx_cv_func_iconv_const
="no"
17752 echo "configure: failed program was:" >&5
17753 cat conftest.
$ac_ext >&5
17755 wx_cv_func_iconv_const
="yes"
17762 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
17765 if test "x$wx_cv_func_iconv_const" = "xyes"; then
17766 iconv_const
="const"
17769 cat >> confdefs.h
<<EOF
17770 #define ICONV_CONST $iconv_const
17775 if test "$am_cv_lib_iconv" = yes; then
17780 LIBS
="$LIBICONV $LIBS"
17782 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17783 ac_cpp
='$CPP $CPPFLAGS'
17784 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17785 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17786 cross_compiling
=$ac_cv_prog_cc_cross
17789 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
17790 for ac_func
in sigaction
17792 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17793 echo "configure:17794: checking for $ac_func" >&5
17794 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17795 echo $ac_n "(cached) $ac_c" 1>&6
17797 cat > conftest.
$ac_ext <<EOF
17798 #line 17799 "configure"
17799 #include "confdefs.h"
17800 /* System header to define __stub macros and hopefully few prototypes,
17801 which can conflict with char $ac_func(); below. */
17802 #include <assert.h>
17803 /* Override any gcc2 internal prototype to avoid an error. */
17804 /* We use char because int might match the return type of a gcc2
17805 builtin and then its argument prototype would still apply. */
17810 /* The GNU C library defines this for functions which it implements
17811 to always fail with ENOSYS. Some functions are actually named
17812 something starting with __ and the normal name is an alias. */
17813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17821 if { (eval echo configure
:17822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17823 eval "ac_cv_func_$ac_func=yes"
17825 echo "configure: failed program was:" >&5
17826 cat conftest.
$ac_ext >&5
17828 eval "ac_cv_func_$ac_func=no"
17833 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17834 echo "$ac_t""yes" 1>&6
17835 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17836 cat >> confdefs.h
<<EOF
17837 #define $ac_tr_func 1
17841 echo "$ac_t""no" 1>&6
17846 if test "$ac_cv_func_sigaction" = "no"; then
17847 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
17848 wxUSE_ON_FATAL_EXCEPTION
=no
17851 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17854 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17855 ac_cpp
='$CXXCPP $CPPFLAGS'
17856 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17857 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17858 cross_compiling
=$ac_cv_prog_cxx_cross
17861 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
17862 echo "configure:17863: checking for sa_handler type" >&5
17863 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
17864 echo $ac_n "(cached) $ac_c" 1>&6
17867 cat > conftest.
$ac_ext <<EOF
17868 #line 17869 "configure"
17869 #include "confdefs.h"
17870 #include <signal.h>
17873 extern void testSigHandler(int);
17875 struct sigaction sa;
17876 sa.sa_handler = testSigHandler;
17880 if { (eval echo configure
:17881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17883 wx_cv_type_sa_handler
=int
17886 echo "configure: failed program was:" >&5
17887 cat conftest.
$ac_ext >&5
17890 wx_cv_type_sa_handler
=void
17897 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
17900 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17901 ac_cpp
='$CPP $CPPFLAGS'
17902 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17903 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17904 cross_compiling
=$ac_cv_prog_cc_cross
17907 cat >> confdefs.h
<<EOF
17908 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
17914 for ac_func
in mkstemp mktemp
17916 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17917 echo "configure:17918: checking for $ac_func" >&5
17918 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17919 echo $ac_n "(cached) $ac_c" 1>&6
17921 cat > conftest.
$ac_ext <<EOF
17922 #line 17923 "configure"
17923 #include "confdefs.h"
17924 /* System header to define __stub macros and hopefully few prototypes,
17925 which can conflict with char $ac_func(); below. */
17926 #include <assert.h>
17927 /* Override any gcc2 internal prototype to avoid an error. */
17928 /* We use char because int might match the return type of a gcc2
17929 builtin and then its argument prototype would still apply. */
17934 /* The GNU C library defines this for functions which it implements
17935 to always fail with ENOSYS. Some functions are actually named
17936 something starting with __ and the normal name is an alias. */
17937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17945 if { (eval echo configure
:17946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17947 eval "ac_cv_func_$ac_func=yes"
17949 echo "configure: failed program was:" >&5
17950 cat conftest.
$ac_ext >&5
17952 eval "ac_cv_func_$ac_func=no"
17957 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17958 echo "$ac_t""yes" 1>&6
17959 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17960 cat >> confdefs.h
<<EOF
17961 #define $ac_tr_func 1
17965 echo "$ac_t""no" 1>&6
17970 echo $ac_n "checking for statfs""... $ac_c" 1>&6
17971 echo "configure:17972: checking for statfs" >&5
17972 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
17973 echo $ac_n "(cached) $ac_c" 1>&6
17975 cat > conftest.
$ac_ext <<EOF
17976 #line 17977 "configure"
17977 #include "confdefs.h"
17979 #if defined(__BSD__)
17980 #include <sys/param.h>
17981 #include <sys/mount.h>
17983 #include <sys/vfs.h>
17997 if { (eval echo configure
:17998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18000 wx_cv_func_statfs
=yes
18003 echo "configure: failed program was:" >&5
18004 cat conftest.
$ac_ext >&5
18007 wx_cv_func_statfs
=no
18015 echo "$ac_t""$wx_cv_func_statfs" 1>&6
18017 if test "$wx_cv_func_statfs" = "yes"; then
18018 wx_cv_type_statvfs_t
="struct statfs"
18019 cat >> confdefs.h
<<\EOF
18020 #define HAVE_STATFS 1
18024 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
18025 echo "configure:18026: checking for statvfs" >&5
18026 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
18027 echo $ac_n "(cached) $ac_c" 1>&6
18029 cat > conftest.
$ac_ext <<EOF
18030 #line 18031 "configure"
18031 #include "confdefs.h"
18033 #include <stddef.h>
18034 #include <sys/statvfs.h>
18038 statvfs("/", NULL);
18042 if { (eval echo configure
:18043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18044 wx_cv_func_statvfs
=yes
18046 echo "configure: failed program was:" >&5
18047 cat conftest.
$ac_ext >&5
18049 wx_cv_func_statvfs
=no
18056 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
18058 if test "$wx_cv_func_statvfs" = "yes"; then
18061 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18062 ac_cpp
='$CXXCPP $CPPFLAGS'
18063 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18064 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18065 cross_compiling
=$ac_cv_prog_cxx_cross
18068 echo $ac_n "checking for statvfs argument type""... $ac_c" 1>&6
18069 echo "configure:18070: checking for statvfs argument type" >&5
18070 if eval "test \"`echo '$''{'wx_cv_type_statvfs_t'+set}'`\" = set"; then
18071 echo $ac_n "(cached) $ac_c" 1>&6
18073 cat > conftest.
$ac_ext <<EOF
18074 #line 18075 "configure"
18075 #include "confdefs.h"
18077 #include <sys/statvfs.h>
18090 if { (eval echo configure
:18091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18092 wx_cv_type_statvfs_t
=statvfs_t
18094 echo "configure: failed program was:" >&5
18095 cat conftest.
$ac_ext >&5
18098 cat > conftest.
$ac_ext <<EOF
18099 #line 18100 "configure"
18100 #include "confdefs.h"
18102 #include <sys/statvfs.h>
18115 if { (eval echo configure
:18116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18117 wx_cv_type_statvfs_t
="struct statvfs"
18119 echo "configure: failed program was:" >&5
18120 cat conftest.
$ac_ext >&5
18122 wx_cv_type_statvfs_t
="unknown"
18133 echo "$ac_t""$wx_cv_type_statvfs_t" 1>&6
18136 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18137 ac_cpp
='$CPP $CPPFLAGS'
18138 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18139 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18140 cross_compiling
=$ac_cv_prog_cc_cross
18143 if test "$wx_cv_type_statvfs_t" != "unknown"; then
18144 cat >> confdefs.h
<<\EOF
18145 #define HAVE_STATVFS 1
18150 wx_cv_type_statvfs_t
="unknown"
18154 if test "$wx_cv_type_statvfs_t" != "unknown"; then
18155 cat >> confdefs.h
<<EOF
18156 #define WX_STATFS_T $wx_cv_type_statvfs_t
18160 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
18163 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18164 for ac_func
in fcntl flock
18166 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18167 echo "configure:18168: checking for $ac_func" >&5
18168 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18169 echo $ac_n "(cached) $ac_c" 1>&6
18171 cat > conftest.
$ac_ext <<EOF
18172 #line 18173 "configure"
18173 #include "confdefs.h"
18174 /* System header to define __stub macros and hopefully few prototypes,
18175 which can conflict with char $ac_func(); below. */
18176 #include <assert.h>
18177 /* Override any gcc2 internal prototype to avoid an error. */
18178 /* We use char because int might match the return type of a gcc2
18179 builtin and then its argument prototype would still apply. */
18184 /* The GNU C library defines this for functions which it implements
18185 to always fail with ENOSYS. Some functions are actually named
18186 something starting with __ and the normal name is an alias. */
18187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18195 if { (eval echo configure
:18196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18197 eval "ac_cv_func_$ac_func=yes"
18199 echo "configure: failed program was:" >&5
18200 cat conftest.
$ac_ext >&5
18202 eval "ac_cv_func_$ac_func=no"
18207 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18208 echo "$ac_t""yes" 1>&6
18209 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18210 cat >> confdefs.h
<<EOF
18211 #define $ac_tr_func 1
18215 echo "$ac_t""no" 1>&6
18220 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
18221 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
18222 wxUSE_SNGLINST_CHECKER
=no
18226 for ac_func
in timegm
18228 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18229 echo "configure:18230: checking for $ac_func" >&5
18230 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18231 echo $ac_n "(cached) $ac_c" 1>&6
18233 cat > conftest.
$ac_ext <<EOF
18234 #line 18235 "configure"
18235 #include "confdefs.h"
18236 /* System header to define __stub macros and hopefully few prototypes,
18237 which can conflict with char $ac_func(); below. */
18238 #include <assert.h>
18239 /* Override any gcc2 internal prototype to avoid an error. */
18240 /* We use char because int might match the return type of a gcc2
18241 builtin and then its argument prototype would still apply. */
18246 /* The GNU C library defines this for functions which it implements
18247 to always fail with ENOSYS. Some functions are actually named
18248 something starting with __ and the normal name is an alias. */
18249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18257 if { (eval echo configure
:18258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18259 eval "ac_cv_func_$ac_func=yes"
18261 echo "configure: failed program was:" >&5
18262 cat conftest.
$ac_ext >&5
18264 eval "ac_cv_func_$ac_func=no"
18269 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18270 echo "$ac_t""yes" 1>&6
18271 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18272 cat >> confdefs.h
<<EOF
18273 #define $ac_tr_func 1
18277 echo "$ac_t""no" 1>&6
18282 for ac_func
in putenv setenv
18284 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18285 echo "configure:18286: checking for $ac_func" >&5
18286 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18287 echo $ac_n "(cached) $ac_c" 1>&6
18289 cat > conftest.
$ac_ext <<EOF
18290 #line 18291 "configure"
18291 #include "confdefs.h"
18292 /* System header to define __stub macros and hopefully few prototypes,
18293 which can conflict with char $ac_func(); below. */
18294 #include <assert.h>
18295 /* Override any gcc2 internal prototype to avoid an error. */
18296 /* We use char because int might match the return type of a gcc2
18297 builtin and then its argument prototype would still apply. */
18302 /* The GNU C library defines this for functions which it implements
18303 to always fail with ENOSYS. Some functions are actually named
18304 something starting with __ and the normal name is an alias. */
18305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18313 if { (eval echo configure
:18314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18315 eval "ac_cv_func_$ac_func=yes"
18317 echo "configure: failed program was:" >&5
18318 cat conftest.
$ac_ext >&5
18320 eval "ac_cv_func_$ac_func=no"
18325 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18326 echo "$ac_t""yes" 1>&6
18327 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18328 cat >> confdefs.h
<<EOF
18329 #define $ac_tr_func 1
18333 echo "$ac_t""no" 1>&6
18338 HAVE_SOME_SLEEP_FUNC
=0
18339 if test "$USE_BEOS" = 1; then
18340 cat >> confdefs.h
<<\EOF
18341 #define HAVE_SLEEP 1
18344 HAVE_SOME_SLEEP_FUNC
=1
18347 if test "$USE_DARWIN" = 1; then
18348 cat >> confdefs.h
<<\EOF
18349 #define HAVE_USLEEP 1
18352 HAVE_SOME_SLEEP_FUNC
=1
18355 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
18357 for ac_func
in nanosleep
18359 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18360 echo "configure:18361: checking for $ac_func" >&5
18361 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18362 echo $ac_n "(cached) $ac_c" 1>&6
18364 cat > conftest.
$ac_ext <<EOF
18365 #line 18366 "configure"
18366 #include "confdefs.h"
18367 /* System header to define __stub macros and hopefully few prototypes,
18368 which can conflict with char $ac_func(); below. */
18369 #include <assert.h>
18370 /* Override any gcc2 internal prototype to avoid an error. */
18371 /* We use char because int might match the return type of a gcc2
18372 builtin and then its argument prototype would still apply. */
18377 /* The GNU C library defines this for functions which it implements
18378 to always fail with ENOSYS. Some functions are actually named
18379 something starting with __ and the normal name is an alias. */
18380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18388 if { (eval echo configure
:18389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18390 eval "ac_cv_func_$ac_func=yes"
18392 echo "configure: failed program was:" >&5
18393 cat conftest.
$ac_ext >&5
18395 eval "ac_cv_func_$ac_func=no"
18400 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18401 echo "$ac_t""yes" 1>&6
18402 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18403 cat >> confdefs.h
<<EOF
18404 #define $ac_tr_func 1
18406 cat >> confdefs.h
<<\EOF
18407 #define HAVE_NANOSLEEP 1
18411 echo "$ac_t""no" 1>&6
18412 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
18413 echo "configure:18414: checking for nanosleep in -lposix4" >&5
18414 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
18415 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18416 echo $ac_n "(cached) $ac_c" 1>&6
18418 ac_save_LIBS
="$LIBS"
18419 LIBS
="-lposix4 $LIBS"
18420 cat > conftest.
$ac_ext <<EOF
18421 #line 18422 "configure"
18422 #include "confdefs.h"
18423 /* Override any gcc2 internal prototype to avoid an error. */
18424 /* We use char because int might match the return type of a gcc2
18425 builtin and then its argument prototype would still apply. */
18432 if { (eval echo configure
:18433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18434 eval "ac_cv_lib_$ac_lib_var=yes"
18436 echo "configure: failed program was:" >&5
18437 cat conftest.
$ac_ext >&5
18439 eval "ac_cv_lib_$ac_lib_var=no"
18442 LIBS
="$ac_save_LIBS"
18445 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18446 echo "$ac_t""yes" 1>&6
18448 cat >> confdefs.h
<<\EOF
18449 #define HAVE_NANOSLEEP 1
18452 POSIX4_LINK
=" -lposix4"
18455 echo "$ac_t""no" 1>&6
18457 for ac_func
in usleep
18459 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18460 echo "configure:18461: checking for $ac_func" >&5
18461 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18462 echo $ac_n "(cached) $ac_c" 1>&6
18464 cat > conftest.
$ac_ext <<EOF
18465 #line 18466 "configure"
18466 #include "confdefs.h"
18467 /* System header to define __stub macros and hopefully few prototypes,
18468 which can conflict with char $ac_func(); below. */
18469 #include <assert.h>
18470 /* Override any gcc2 internal prototype to avoid an error. */
18471 /* We use char because int might match the return type of a gcc2
18472 builtin and then its argument prototype would still apply. */
18477 /* The GNU C library defines this for functions which it implements
18478 to always fail with ENOSYS. Some functions are actually named
18479 something starting with __ and the normal name is an alias. */
18480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18488 if { (eval echo configure
:18489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18490 eval "ac_cv_func_$ac_func=yes"
18492 echo "configure: failed program was:" >&5
18493 cat conftest.
$ac_ext >&5
18495 eval "ac_cv_func_$ac_func=no"
18500 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18501 echo "$ac_t""yes" 1>&6
18502 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18503 cat >> confdefs.h
<<EOF
18504 #define $ac_tr_func 1
18506 cat >> confdefs.h
<<\EOF
18507 #define HAVE_USLEEP 1
18511 echo "$ac_t""no" 1>&6
18512 echo "configure: warning: wxSleep() function will not work" 1>&2
18528 for ac_func
in uname gethostname
18530 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18531 echo "configure:18532: checking for $ac_func" >&5
18532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18533 echo $ac_n "(cached) $ac_c" 1>&6
18535 cat > conftest.
$ac_ext <<EOF
18536 #line 18537 "configure"
18537 #include "confdefs.h"
18538 /* System header to define __stub macros and hopefully few prototypes,
18539 which can conflict with char $ac_func(); below. */
18540 #include <assert.h>
18541 /* Override any gcc2 internal prototype to avoid an error. */
18542 /* We use char because int might match the return type of a gcc2
18543 builtin and then its argument prototype would still apply. */
18548 /* The GNU C library defines this for functions which it implements
18549 to always fail with ENOSYS. Some functions are actually named
18550 something starting with __ and the normal name is an alias. */
18551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18559 if { (eval echo configure
:18560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18561 eval "ac_cv_func_$ac_func=yes"
18563 echo "configure: failed program was:" >&5
18564 cat conftest.
$ac_ext >&5
18566 eval "ac_cv_func_$ac_func=no"
18571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18572 echo "$ac_t""yes" 1>&6
18573 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18574 cat >> confdefs.h
<<EOF
18575 #define $ac_tr_func 1
18579 echo "$ac_t""no" 1>&6
18586 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18587 ac_cpp
='$CXXCPP $CPPFLAGS'
18588 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18589 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18590 cross_compiling
=$ac_cv_prog_cxx_cross
18593 for ac_func
in strtok_r
18595 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18596 echo "configure:18597: checking for $ac_func" >&5
18597 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18598 echo $ac_n "(cached) $ac_c" 1>&6
18600 cat > conftest.
$ac_ext <<EOF
18601 #line 18602 "configure"
18602 #include "confdefs.h"
18603 /* System header to define __stub macros and hopefully few prototypes,
18604 which can conflict with char $ac_func(); below. */
18605 #include <assert.h>
18606 /* Override any gcc2 internal prototype to avoid an error. */
18610 /* We use char because int might match the return type of a gcc2
18611 builtin and then its argument prototype would still apply. */
18616 /* The GNU C library defines this for functions which it implements
18617 to always fail with ENOSYS. Some functions are actually named
18618 something starting with __ and the normal name is an alias. */
18619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18627 if { (eval echo configure
:18628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18629 eval "ac_cv_func_$ac_func=yes"
18631 echo "configure: failed program was:" >&5
18632 cat conftest.
$ac_ext >&5
18634 eval "ac_cv_func_$ac_func=no"
18639 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18640 echo "$ac_t""yes" 1>&6
18641 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18642 cat >> confdefs.h
<<EOF
18643 #define $ac_tr_func 1
18647 echo "$ac_t""no" 1>&6
18653 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18654 ac_cpp
='$CPP $CPPFLAGS'
18655 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18656 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18657 cross_compiling
=$ac_cv_prog_cc_cross
18661 for ac_func
in inet_addr
18663 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18664 echo "configure:18665: checking for $ac_func" >&5
18665 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18666 echo $ac_n "(cached) $ac_c" 1>&6
18668 cat > conftest.
$ac_ext <<EOF
18669 #line 18670 "configure"
18670 #include "confdefs.h"
18671 /* System header to define __stub macros and hopefully few prototypes,
18672 which can conflict with char $ac_func(); below. */
18673 #include <assert.h>
18674 /* Override any gcc2 internal prototype to avoid an error. */
18675 /* We use char because int might match the return type of a gcc2
18676 builtin and then its argument prototype would still apply. */
18681 /* The GNU C library defines this for functions which it implements
18682 to always fail with ENOSYS. Some functions are actually named
18683 something starting with __ and the normal name is an alias. */
18684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18692 if { (eval echo configure
:18693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18694 eval "ac_cv_func_$ac_func=yes"
18696 echo "configure: failed program was:" >&5
18697 cat conftest.
$ac_ext >&5
18699 eval "ac_cv_func_$ac_func=no"
18704 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18705 echo "$ac_t""yes" 1>&6
18706 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18707 cat >> confdefs.h
<<EOF
18708 #define $ac_tr_func 1
18710 cat >> confdefs.h
<<\EOF
18711 #define HAVE_INET_ADDR 1
18715 echo "$ac_t""no" 1>&6
18716 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
18717 echo "configure:18718: checking for inet_addr in -lnsl" >&5
18718 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
18719 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18720 echo $ac_n "(cached) $ac_c" 1>&6
18722 ac_save_LIBS
="$LIBS"
18724 cat > conftest.
$ac_ext <<EOF
18725 #line 18726 "configure"
18726 #include "confdefs.h"
18727 /* Override any gcc2 internal prototype to avoid an error. */
18728 /* We use char because int might match the return type of a gcc2
18729 builtin and then its argument prototype would still apply. */
18736 if { (eval echo configure
:18737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18738 eval "ac_cv_lib_$ac_lib_var=yes"
18740 echo "configure: failed program was:" >&5
18741 cat conftest.
$ac_ext >&5
18743 eval "ac_cv_lib_$ac_lib_var=no"
18746 LIBS
="$ac_save_LIBS"
18749 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18750 echo "$ac_t""yes" 1>&6
18753 echo "$ac_t""no" 1>&6
18754 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
18755 echo "configure:18756: checking for inet_addr in -lresolv" >&5
18756 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
18757 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18758 echo $ac_n "(cached) $ac_c" 1>&6
18760 ac_save_LIBS
="$LIBS"
18761 LIBS
="-lresolv $LIBS"
18762 cat > conftest.
$ac_ext <<EOF
18763 #line 18764 "configure"
18764 #include "confdefs.h"
18765 /* Override any gcc2 internal prototype to avoid an error. */
18766 /* We use char because int might match the return type of a gcc2
18767 builtin and then its argument prototype would still apply. */
18774 if { (eval echo configure
:18775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18776 eval "ac_cv_lib_$ac_lib_var=yes"
18778 echo "configure: failed program was:" >&5
18779 cat conftest.
$ac_ext >&5
18781 eval "ac_cv_lib_$ac_lib_var=no"
18784 LIBS
="$ac_save_LIBS"
18787 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18788 echo "$ac_t""yes" 1>&6
18791 echo "$ac_t""no" 1>&6
18792 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
18793 echo "configure:18794: checking for inet_addr in -lsocket" >&5
18794 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
18795 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18796 echo $ac_n "(cached) $ac_c" 1>&6
18798 ac_save_LIBS
="$LIBS"
18799 LIBS
="-lsocket $LIBS"
18800 cat > conftest.
$ac_ext <<EOF
18801 #line 18802 "configure"
18802 #include "confdefs.h"
18803 /* Override any gcc2 internal prototype to avoid an error. */
18804 /* We use char because int might match the return type of a gcc2
18805 builtin and then its argument prototype would still apply. */
18812 if { (eval echo configure
:18813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18814 eval "ac_cv_lib_$ac_lib_var=yes"
18816 echo "configure: failed program was:" >&5
18817 cat conftest.
$ac_ext >&5
18819 eval "ac_cv_lib_$ac_lib_var=no"
18822 LIBS
="$ac_save_LIBS"
18825 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18826 echo "$ac_t""yes" 1>&6
18830 echo "$ac_t""no" 1>&6
18845 for ac_func
in inet_aton
18847 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18848 echo "configure:18849: checking for $ac_func" >&5
18849 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18850 echo $ac_n "(cached) $ac_c" 1>&6
18852 cat > conftest.
$ac_ext <<EOF
18853 #line 18854 "configure"
18854 #include "confdefs.h"
18855 /* System header to define __stub macros and hopefully few prototypes,
18856 which can conflict with char $ac_func(); below. */
18857 #include <assert.h>
18858 /* Override any gcc2 internal prototype to avoid an error. */
18859 /* We use char because int might match the return type of a gcc2
18860 builtin and then its argument prototype would still apply. */
18865 /* The GNU C library defines this for functions which it implements
18866 to always fail with ENOSYS. Some functions are actually named
18867 something starting with __ and the normal name is an alias. */
18868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18876 if { (eval echo configure
:18877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18878 eval "ac_cv_func_$ac_func=yes"
18880 echo "configure: failed program was:" >&5
18881 cat conftest.
$ac_ext >&5
18883 eval "ac_cv_func_$ac_func=no"
18888 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18889 echo "$ac_t""yes" 1>&6
18890 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18891 cat >> confdefs.h
<<EOF
18892 #define $ac_tr_func 1
18894 cat >> confdefs.h
<<\EOF
18895 #define HAVE_INET_ATON 1
18899 echo "$ac_t""no" 1>&6
18900 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
18901 echo "configure:18902: checking for inet_aton in -l$INET_LINK" >&5
18902 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
18903 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18904 echo $ac_n "(cached) $ac_c" 1>&6
18906 ac_save_LIBS
="$LIBS"
18907 LIBS
="-l$INET_LINK $LIBS"
18908 cat > conftest.
$ac_ext <<EOF
18909 #line 18910 "configure"
18910 #include "confdefs.h"
18911 /* Override any gcc2 internal prototype to avoid an error. */
18912 /* We use char because int might match the return type of a gcc2
18913 builtin and then its argument prototype would still apply. */
18920 if { (eval echo configure
:18921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18922 eval "ac_cv_lib_$ac_lib_var=yes"
18924 echo "configure: failed program was:" >&5
18925 cat conftest.
$ac_ext >&5
18927 eval "ac_cv_lib_$ac_lib_var=no"
18930 LIBS
="$ac_save_LIBS"
18933 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18934 echo "$ac_t""yes" 1>&6
18935 cat >> confdefs.h
<<\EOF
18936 #define HAVE_INET_ATON 1
18940 echo "$ac_t""no" 1>&6
18948 if test "x$INET_LINK" != "x"; then
18949 cat >> confdefs.h
<<\EOF
18950 #define HAVE_INET_ADDR 1
18953 INET_LINK
=" -l$INET_LINK"
18959 cat > confcache
<<\EOF
18960 # This file is a shell script that caches the results of configure
18961 # tests run on this system so they can be shared between configure
18962 # scripts and configure runs. It is not useful on other systems.
18963 # If it contains results you don't want to keep, you may remove or edit it.
18965 # By default, configure uses ./config.cache as the cache file,
18966 # creating it if it does not exist already. You can give configure
18967 # the --cache-file=FILE option to use a different cache file; that is
18968 # what configure does when it calls configure scripts in
18969 # subdirectories, so they share the cache.
18970 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18971 # config.status only pays attention to the cache file if you give it the
18972 # --recheck option to rerun configure.
18975 # The following way of writing the cache mishandles newlines in values,
18976 # but we know of no workaround that is simple, portable, and efficient.
18977 # So, don't put newlines in cache variables' values.
18978 # Ultrix sh set writes to stderr and can't be redirected directly,
18979 # and sets the high bit in the cache file unless we assign to the vars.
18981 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18983 # `set' does not quote correctly, so add quotes (double-quote substitution
18984 # turns \\\\ into \\, and sed turns \\ into \).
18986 -e "s/'/'\\\\''/g" \
18987 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18990 # `set' quotes correctly as required by POSIX, so do not add quotes.
18991 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18994 if cmp -s $cache_file confcache
; then
18997 if test -w $cache_file; then
18998 echo "updating cache $cache_file"
18999 cat confcache
> $cache_file
19001 echo "not updating unwritable cache $cache_file"
19009 if test "$TOOLKIT" != "MSW"; then
19015 if test "$wxUSE_THREADS" = "yes" ; then
19016 if test "$USE_BEOS" = 1; then
19017 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
19022 if test "$wxUSE_THREADS" = "yes" ; then
19025 THREAD_OPTS
="-pthread"
19027 *-*-solaris2* | *-*-sunos4* )
19028 if test "x$GCC" = "xyes"; then
19029 THREAD_OPTS
="-pthreads $THREAD_OPTS"
19031 THREAD_OPTS
="-mt $THREAD_OPTS"
19035 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
19037 *-*-darwin* | *-*-cygwin* )
19041 THREAD_OPTS
="pthreads"
19044 if test "x$GCC" != "xyes"; then
19050 if test "x$GCC" = "xyes"; then
19056 if test "x$GCC" != "xyes"; then
19057 THREAD_OPTS
="-Ethread"
19062 THREAD_OPTS
="$THREAD_OPTS pthread none"
19065 for flag
in $THREAD_OPTS; do
19068 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
19069 echo "configure:19070: checking whether pthreads work without any flags" >&5
19073 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
19074 echo "configure:19075: checking whether pthreads work with $flag" >&5
19075 THREADS_CFLAGS
="$flag"
19079 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
19080 echo "configure:19081: checking for the pthreads library -l$flag" >&5
19081 THREADS_LINK
="-l$flag"
19086 save_CFLAGS
="$CFLAGS"
19087 LIBS
="$THREADS_LINK $LIBS"
19088 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
19090 cat > conftest.
$ac_ext <<EOF
19091 #line 19092 "configure"
19092 #include "confdefs.h"
19093 #include <pthread.h>
19095 pthread_create(0,0,0,0);
19098 if { (eval echo configure
:19099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19102 echo "configure: failed program was:" >&5
19103 cat conftest.
$ac_ext >&5
19108 CFLAGS
="$save_CFLAGS"
19110 echo "$ac_t""$THREADS_OK" 1>&6
19111 if test "x$THREADS_OK" = "xyes"; then
19119 if test "x$THREADS_OK" != "xyes"; then
19121 echo "configure: warning: No thread support on this system... disabled" 1>&2
19123 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
19124 LIBS
="$THREADS_LINK $LIBS"
19126 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
19127 echo "configure:19128: checking if more special flags are required for pthreads" >&5
19131 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
19132 flag
="-D_THREAD_SAFE"
19135 flag
="-D_THREAD_SAFE"
19138 flag
="-D_REENTRANT"
19139 if test "x$GCC" != "xyes"; then
19140 flag
="$flag -D_RWSTD_MULTI_THREAD"
19143 *solaris
* | alpha
*-osf*)
19144 flag
="-D_REENTRANT"
19147 echo "$ac_t""${flag}" 1>&6
19148 if test "x$flag" != xno
; then
19149 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
19152 if test "x$THREADS_CFLAGS" != "x"; then
19153 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
19154 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
19159 if test "$wxUSE_THREADS" = "yes" ; then
19160 for ac_func
in thr_setconcurrency
19162 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19163 echo "configure:19164: checking for $ac_func" >&5
19164 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19165 echo $ac_n "(cached) $ac_c" 1>&6
19167 cat > conftest.
$ac_ext <<EOF
19168 #line 19169 "configure"
19169 #include "confdefs.h"
19170 /* System header to define __stub macros and hopefully few prototypes,
19171 which can conflict with char $ac_func(); below. */
19172 #include <assert.h>
19173 /* Override any gcc2 internal prototype to avoid an error. */
19174 /* We use char because int might match the return type of a gcc2
19175 builtin and then its argument prototype would still apply. */
19180 /* The GNU C library defines this for functions which it implements
19181 to always fail with ENOSYS. Some functions are actually named
19182 something starting with __ and the normal name is an alias. */
19183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19191 if { (eval echo configure
:19192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19193 eval "ac_cv_func_$ac_func=yes"
19195 echo "configure: failed program was:" >&5
19196 cat conftest.
$ac_ext >&5
19198 eval "ac_cv_func_$ac_func=no"
19203 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19204 echo "$ac_t""yes" 1>&6
19205 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19206 cat >> confdefs.h
<<EOF
19207 #define $ac_tr_func 1
19211 echo "$ac_t""no" 1>&6
19216 for ac_hdr
in sched.h
19218 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19219 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19220 echo "configure:19221: checking for $ac_hdr" >&5
19221 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19222 echo $ac_n "(cached) $ac_c" 1>&6
19224 cat > conftest.
$ac_ext <<EOF
19225 #line 19226 "configure"
19226 #include "confdefs.h"
19229 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19230 { (eval echo configure
:19231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19231 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19232 if test -z "$ac_err"; then
19234 eval "ac_cv_header_$ac_safe=yes"
19237 echo "configure: failed program was:" >&5
19238 cat conftest.
$ac_ext >&5
19240 eval "ac_cv_header_$ac_safe=no"
19244 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19245 echo "$ac_t""yes" 1>&6
19246 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19247 cat >> confdefs.h
<<EOF
19248 #define $ac_tr_hdr 1
19252 echo "$ac_t""no" 1>&6
19256 if test "$ac_cv_header_sched_h" = "yes"; then
19257 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
19258 echo "configure:19259: checking for sched_yield" >&5
19259 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
19260 echo $ac_n "(cached) $ac_c" 1>&6
19262 cat > conftest.
$ac_ext <<EOF
19263 #line 19264 "configure"
19264 #include "confdefs.h"
19265 /* System header to define __stub macros and hopefully few prototypes,
19266 which can conflict with char sched_yield(); below. */
19267 #include <assert.h>
19268 /* Override any gcc2 internal prototype to avoid an error. */
19269 /* We use char because int might match the return type of a gcc2
19270 builtin and then its argument prototype would still apply. */
19271 char sched_yield();
19275 /* The GNU C library defines this for functions which it implements
19276 to always fail with ENOSYS. Some functions are actually named
19277 something starting with __ and the normal name is an alias. */
19278 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
19286 if { (eval echo configure
:19287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19288 eval "ac_cv_func_sched_yield=yes"
19290 echo "configure: failed program was:" >&5
19291 cat conftest.
$ac_ext >&5
19293 eval "ac_cv_func_sched_yield=no"
19298 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
19299 echo "$ac_t""yes" 1>&6
19300 cat >> confdefs.h
<<\EOF
19301 #define HAVE_SCHED_YIELD 1
19305 echo "$ac_t""no" 1>&6
19307 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
19308 echo "configure:19309: checking for sched_yield in -lposix4" >&5
19309 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
19310 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19311 echo $ac_n "(cached) $ac_c" 1>&6
19313 ac_save_LIBS
="$LIBS"
19314 LIBS
="-lposix4 $LIBS"
19315 cat > conftest.
$ac_ext <<EOF
19316 #line 19317 "configure"
19317 #include "confdefs.h"
19318 /* Override any gcc2 internal prototype to avoid an error. */
19319 /* We use char because int might match the return type of a gcc2
19320 builtin and then its argument prototype would still apply. */
19321 char sched_yield();
19327 if { (eval echo configure
:19328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19329 eval "ac_cv_lib_$ac_lib_var=yes"
19331 echo "configure: failed program was:" >&5
19332 cat conftest.
$ac_ext >&5
19334 eval "ac_cv_lib_$ac_lib_var=no"
19337 LIBS
="$ac_save_LIBS"
19340 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19341 echo "$ac_t""yes" 1>&6
19342 cat >> confdefs.h
<<\EOF
19343 #define HAVE_SCHED_YIELD 1
19345 POSIX4_LINK
=" -lposix4"
19347 echo "$ac_t""no" 1>&6
19348 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
19359 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
19360 echo "configure:19361: checking for pthread_attr_getschedpolicy" >&5
19361 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
19362 echo $ac_n "(cached) $ac_c" 1>&6
19364 cat > conftest.
$ac_ext <<EOF
19365 #line 19366 "configure"
19366 #include "confdefs.h"
19367 /* System header to define __stub macros and hopefully few prototypes,
19368 which can conflict with char pthread_attr_getschedpolicy(); below. */
19369 #include <assert.h>
19370 /* Override any gcc2 internal prototype to avoid an error. */
19371 /* We use char because int might match the return type of a gcc2
19372 builtin and then its argument prototype would still apply. */
19373 char pthread_attr_getschedpolicy();
19377 /* The GNU C library defines this for functions which it implements
19378 to always fail with ENOSYS. Some functions are actually named
19379 something starting with __ and the normal name is an alias. */
19380 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
19383 pthread_attr_getschedpolicy();
19388 if { (eval echo configure
:19389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19390 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
19392 echo "configure: failed program was:" >&5
19393 cat conftest.
$ac_ext >&5
19395 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
19400 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
19401 echo "$ac_t""yes" 1>&6
19402 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
19403 echo "configure:19404: checking for pthread_attr_setschedparam" >&5
19404 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
19405 echo $ac_n "(cached) $ac_c" 1>&6
19407 cat > conftest.
$ac_ext <<EOF
19408 #line 19409 "configure"
19409 #include "confdefs.h"
19410 /* System header to define __stub macros and hopefully few prototypes,
19411 which can conflict with char pthread_attr_setschedparam(); below. */
19412 #include <assert.h>
19413 /* Override any gcc2 internal prototype to avoid an error. */
19414 /* We use char because int might match the return type of a gcc2
19415 builtin and then its argument prototype would still apply. */
19416 char pthread_attr_setschedparam();
19420 /* The GNU C library defines this for functions which it implements
19421 to always fail with ENOSYS. Some functions are actually named
19422 something starting with __ and the normal name is an alias. */
19423 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
19426 pthread_attr_setschedparam();
19431 if { (eval echo configure
:19432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19433 eval "ac_cv_func_pthread_attr_setschedparam=yes"
19435 echo "configure: failed program was:" >&5
19436 cat conftest.
$ac_ext >&5
19438 eval "ac_cv_func_pthread_attr_setschedparam=no"
19443 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
19444 echo "$ac_t""yes" 1>&6
19445 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
19446 echo "configure:19447: checking for sched_get_priority_max" >&5
19447 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
19448 echo $ac_n "(cached) $ac_c" 1>&6
19450 cat > conftest.
$ac_ext <<EOF
19451 #line 19452 "configure"
19452 #include "confdefs.h"
19453 /* System header to define __stub macros and hopefully few prototypes,
19454 which can conflict with char sched_get_priority_max(); below. */
19455 #include <assert.h>
19456 /* Override any gcc2 internal prototype to avoid an error. */
19457 /* We use char because int might match the return type of a gcc2
19458 builtin and then its argument prototype would still apply. */
19459 char sched_get_priority_max();
19463 /* The GNU C library defines this for functions which it implements
19464 to always fail with ENOSYS. Some functions are actually named
19465 something starting with __ and the normal name is an alias. */
19466 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
19469 sched_get_priority_max();
19474 if { (eval echo configure
:19475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19476 eval "ac_cv_func_sched_get_priority_max=yes"
19478 echo "configure: failed program was:" >&5
19479 cat conftest.
$ac_ext >&5
19481 eval "ac_cv_func_sched_get_priority_max=no"
19486 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
19487 echo "$ac_t""yes" 1>&6
19490 echo "$ac_t""no" 1>&6
19491 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
19492 echo "configure:19493: checking for sched_get_priority_max in -lposix4" >&5
19493 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
19494 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19495 echo $ac_n "(cached) $ac_c" 1>&6
19497 ac_save_LIBS
="$LIBS"
19498 LIBS
="-lposix4 $LIBS"
19499 cat > conftest.
$ac_ext <<EOF
19500 #line 19501 "configure"
19501 #include "confdefs.h"
19502 /* Override any gcc2 internal prototype to avoid an error. */
19503 /* We use char because int might match the return type of a gcc2
19504 builtin and then its argument prototype would still apply. */
19505 char sched_get_priority_max();
19508 sched_get_priority_max()
19511 if { (eval echo configure
:19512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19513 eval "ac_cv_lib_$ac_lib_var=yes"
19515 echo "configure: failed program was:" >&5
19516 cat conftest.
$ac_ext >&5
19518 eval "ac_cv_lib_$ac_lib_var=no"
19521 LIBS
="$ac_save_LIBS"
19524 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19525 echo "$ac_t""yes" 1>&6
19528 POSIX4_LINK
=" -lposix4"
19531 echo "$ac_t""no" 1>&6
19539 echo "$ac_t""no" 1>&6
19544 echo "$ac_t""no" 1>&6
19548 if test "$HAVE_PRIOR_FUNCS" = 1; then
19549 cat >> confdefs.h
<<\EOF
19550 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
19554 echo "configure: warning: Setting thread priority will not work" 1>&2
19557 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
19558 echo "configure:19559: checking for pthread_cancel" >&5
19559 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
19560 echo $ac_n "(cached) $ac_c" 1>&6
19562 cat > conftest.
$ac_ext <<EOF
19563 #line 19564 "configure"
19564 #include "confdefs.h"
19565 /* System header to define __stub macros and hopefully few prototypes,
19566 which can conflict with char pthread_cancel(); below. */
19567 #include <assert.h>
19568 /* Override any gcc2 internal prototype to avoid an error. */
19569 /* We use char because int might match the return type of a gcc2
19570 builtin and then its argument prototype would still apply. */
19571 char pthread_cancel();
19575 /* The GNU C library defines this for functions which it implements
19576 to always fail with ENOSYS. Some functions are actually named
19577 something starting with __ and the normal name is an alias. */
19578 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
19586 if { (eval echo configure
:19587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19588 eval "ac_cv_func_pthread_cancel=yes"
19590 echo "configure: failed program was:" >&5
19591 cat conftest.
$ac_ext >&5
19593 eval "ac_cv_func_pthread_cancel=no"
19598 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
19599 echo "$ac_t""yes" 1>&6
19600 cat >> confdefs.h
<<\EOF
19601 #define HAVE_PTHREAD_CANCEL 1
19605 echo "$ac_t""no" 1>&6
19606 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
19610 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
19611 echo "configure:19612: checking for pthread_cleanup_push/pop" >&5
19612 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
19613 echo $ac_n "(cached) $ac_c" 1>&6
19616 cat > conftest.
$ac_ext <<EOF
19617 #line 19618 "configure"
19618 #include "confdefs.h"
19619 #include <pthread.h>
19622 pthread_cleanup_push(NULL, NULL);
19623 pthread_cleanup_pop(0);
19627 if { (eval echo configure
:19628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19630 wx_cv_func_pthread_cleanup_push
=yes
19633 echo "configure: failed program was:" >&5
19634 cat conftest.
$ac_ext >&5
19637 wx_cv_func_pthread_cleanup_push
=no
19644 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
19646 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
19647 cat >> confdefs.h
<<\EOF
19648 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
19654 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
19655 echo "configure:19656: checking for pthread_mutexattr_t" >&5
19656 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
19657 echo $ac_n "(cached) $ac_c" 1>&6
19660 cat > conftest.
$ac_ext <<EOF
19661 #line 19662 "configure"
19662 #include "confdefs.h"
19663 #include <pthread.h>
19666 pthread_mutexattr_t attr;
19667 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
19671 if { (eval echo configure
:19672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19674 wx_cv_type_pthread_mutexattr_t
=yes
19677 echo "configure: failed program was:" >&5
19678 cat conftest.
$ac_ext >&5
19681 wx_cv_type_pthread_mutexattr_t
=no
19689 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
19691 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
19692 cat >> confdefs.h
<<\EOF
19693 #define HAVE_PTHREAD_MUTEXATTR_T 1
19697 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
19698 echo "configure:19699: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
19699 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
19700 echo $ac_n "(cached) $ac_c" 1>&6
19703 cat > conftest.
$ac_ext <<EOF
19704 #line 19705 "configure"
19705 #include "confdefs.h"
19706 #include <pthread.h>
19709 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
19713 if { (eval echo configure
:19714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19716 wx_cv_type_pthread_rec_mutex_init
=yes
19719 echo "configure: failed program was:" >&5
19720 cat conftest.
$ac_ext >&5
19723 wx_cv_type_pthread_rec_mutex_init
=no
19731 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
19732 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
19733 cat >> confdefs.h
<<\EOF
19734 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
19738 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
19744 if test "$wxUSE_THREADS" = "yes" ; then
19747 echo $ac_n "checking if compiler supports -mthreads""... $ac_c" 1>&6
19748 echo "configure:19749: checking if compiler supports -mthreads" >&5
19749 if eval "test \"`echo '$''{'wx_cv_cflags_mthread'+set}'`\" = set"; then
19750 echo $ac_n "(cached) $ac_c" 1>&6
19753 CFLAGS_OLD
="$CFLAGS"
19754 CFLAGS
="$CFLAGS -mthreads"
19755 cat > conftest.
$ac_ext <<EOF
19756 #line 19757 "configure"
19757 #include "confdefs.h"
19763 if { (eval echo configure
:19764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19765 wx_cv_cflags_mthread
=yes
19767 echo "configure: failed program was:" >&5
19768 cat conftest.
$ac_ext >&5
19770 wx_cv_cflags_mthread
=no
19778 echo "$ac_t""$wx_cv_cflags_mthread" 1>&6
19780 if test "$wx_cv_cflags_mthread" = "yes"; then
19781 CXXFLAGS
="$CXXFLAGS -mthreads"
19782 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
19783 LDFLAGS
="$LDFLAGS -mthreads"
19785 CFLAGS
="$CFLAGS_OLD"
19792 if test "$wxUSE_THREADS" = "yes"; then
19793 cat >> confdefs.h
<<\EOF
19794 #define wxUSE_THREADS 1
19798 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
19800 if test "$ac_cv_func_strtok_r" = "yes"; then
19801 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
19802 echo "configure:19803: checking if -D_REENTRANT is needed" >&5
19803 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
19804 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
19805 echo "$ac_t""yes" 1>&6
19807 echo "$ac_t""no" 1>&6
19812 if test "$WXGTK20" = 1 ; then
19813 cat >> confdefs.h
<<EOF
19814 #define __WXGTK20__ $WXGTK20
19820 if test "$WXGTK12" = 1 ; then
19821 cat >> confdefs.h
<<EOF
19822 #define __WXGTK12__ $WXGTK12
19827 if test "$WXGTK127" = 1 ; then
19828 cat >> confdefs.h
<<EOF
19829 #define __WXGTK127__ $WXGTK127
19836 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
19841 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
19842 wxUSE_DEBUG_INFO
=yes
19846 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
19847 cat >> confdefs.h
<<\EOF
19851 WXDEBUG_DEFINE
="-D__WXDEBUG__"
19853 if test "$wxUSE_GTK" = 1 ; then
19854 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
19858 if test "$wxUSE_MEM_TRACING" = "yes" ; then
19859 cat >> confdefs.h
<<\EOF
19860 #define wxUSE_MEMORY_TRACING 1
19863 cat >> confdefs.h
<<\EOF
19864 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
19867 cat >> confdefs.h
<<\EOF
19868 #define wxUSE_DEBUG_NEW_ALWAYS 1
19871 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
19874 if test "$wxUSE_DMALLOC" = "yes" ; then
19875 DMALLOC_LIBS
="-ldmalloc"
19879 if test "$wxUSE_PROFILE" = "yes" ; then
19884 CODE_GEN_FLAGS_CXX
=
19885 if test "$GCC" = "yes" ; then
19886 if test "$wxUSE_NO_RTTI" = "yes" ; then
19887 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
19889 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
19890 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
19892 if test "$wxUSE_PERMISSIVE" = "yes" ; then
19893 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
19895 if test "$USE_WIN32" = 1 ; then
19896 # I'm not even really sure what this was ever added to solve,
19897 # but someone added it for mingw native builds, so I guess
19898 # they had a reason, right??
19899 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
19904 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
19907 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
19913 if test "$wxUSE_OPTIMISE" = "no" ; then
19914 if test "$GCC" = yes ; then
19918 if test "$GCC" = yes ; then
19922 i586
-*-*|i686
-*-* )
19923 OPTIMISE
="${OPTIMISE} "
19932 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
19933 cat >> confdefs.h
<<\EOF
19934 #define WXWIN_COMPATIBILITY_2 1
19938 WXWIN_COMPATIBILITY_2_2
="yes"
19941 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
19942 cat >> confdefs.h
<<\EOF
19943 #define WXWIN_COMPATIBILITY_2_2 1
19947 WXWIN_COMPATIBILITY_2_4
="yes"
19950 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
19951 cat >> confdefs.h
<<\EOF
19952 #define WXWIN_COMPATIBILITY_2_4 1
19958 if test "$wxUSE_GUI" = "yes"; then
19959 cat >> confdefs.h
<<\EOF
19960 #define wxUSE_GUI 1
19965 cat >> confdefs.h
<<\EOF
19966 #define wxUSE_NOGUI 1
19972 if test "$wxUSE_UNIX" = "yes"; then
19973 cat >> confdefs.h
<<\EOF
19974 #define wxUSE_UNIX 1
19980 if test "$wxUSE_APPLE_IEEE" = "yes"; then
19981 cat >> confdefs.h
<<\EOF
19982 #define wxUSE_APPLE_IEEE 1
19987 if test "$wxUSE_TIMER" = "yes"; then
19988 cat >> confdefs.h
<<\EOF
19989 #define wxUSE_TIMER 1
19994 if test "$wxUSE_WAVE" = "yes"; then
19995 cat >> confdefs.h
<<\EOF
19996 #define wxUSE_WAVE 1
20001 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
20002 cat >> confdefs.h
<<\EOF
20003 #define wxUSE_CMDLINE_PARSER 1
20008 if test "$wxUSE_STOPWATCH" = "yes"; then
20009 cat >> confdefs.h
<<\EOF
20010 #define wxUSE_STOPWATCH 1
20015 if test "$wxUSE_DATETIME" = "yes"; then
20016 cat >> confdefs.h
<<\EOF
20017 #define wxUSE_DATETIME 1
20022 if test "$wxUSE_FILE" = "yes"; then
20023 cat >> confdefs.h
<<\EOF
20024 #define wxUSE_FILE 1
20029 if test "$wxUSE_FFILE" = "yes"; then
20030 cat >> confdefs.h
<<\EOF
20031 #define wxUSE_FFILE 1
20036 if test "$wxUSE_FILESYSTEM" = "yes"; then
20037 cat >> confdefs.h
<<\EOF
20038 #define wxUSE_FILESYSTEM 1
20043 if test "$wxUSE_FS_INET" = "yes"; then
20044 cat >> confdefs.h
<<\EOF
20045 #define wxUSE_FS_INET 1
20050 if test "$wxUSE_FS_ZIP" = "yes"; then
20051 cat >> confdefs.h
<<\EOF
20052 #define wxUSE_FS_ZIP 1
20057 if test "$wxUSE_ZIPSTREAM" = "yes"; then
20058 cat >> confdefs.h
<<\EOF
20059 #define wxUSE_ZIPSTREAM 1
20064 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
20065 cat >> confdefs.h
<<\EOF
20066 #define wxUSE_ON_FATAL_EXCEPTION 1
20071 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
20072 cat >> confdefs.h
<<\EOF
20073 #define wxUSE_SNGLINST_CHECKER 1
20078 if test "$wxUSE_BUSYINFO" = "yes"; then
20079 cat >> confdefs.h
<<\EOF
20080 #define wxUSE_BUSYINFO 1
20085 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
20086 cat >> confdefs.h
<<\EOF
20087 #define wxUSE_STD_IOSTREAM 1
20092 if test "$wxUSE_TEXTBUFFER" = "yes"; then
20093 cat >> confdefs.h
<<\EOF
20094 #define wxUSE_TEXTBUFFER 1
20099 if test "$wxUSE_TEXTFILE" = "yes"; then
20100 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
20101 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
20103 cat >> confdefs.h
<<\EOF
20104 #define wxUSE_TEXTFILE 1
20110 if test "$wxUSE_CONFIG" = "yes" ; then
20111 if test "$wxUSE_TEXTFILE" != "yes"; then
20112 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
20114 cat >> confdefs.h
<<\EOF
20115 #define wxUSE_CONFIG 1
20118 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
20122 if test "$wxUSE_INTL" = "yes" ; then
20123 if test "$wxUSE_FILE" != "yes"; then
20124 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
20126 cat >> confdefs.h
<<\EOF
20127 #define wxUSE_INTL 1
20130 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
20131 GUIDIST
="$GUIDIST INTL_DIST"
20135 if test "$wxUSE_LOG" = "yes"; then
20136 cat >> confdefs.h
<<\EOF
20137 #define wxUSE_LOG 1
20141 if test "$wxUSE_LOGGUI" = "yes"; then
20142 cat >> confdefs.h
<<\EOF
20143 #define wxUSE_LOGGUI 1
20148 if test "$wxUSE_LOGWINDOW" = "yes"; then
20149 cat >> confdefs.h
<<\EOF
20150 #define wxUSE_LOGWINDOW 1
20155 if test "$wxUSE_LOGDIALOG" = "yes"; then
20156 cat >> confdefs.h
<<\EOF
20157 #define wxUSE_LOG_DIALOG 1
20163 if test "$wxUSE_LONGLONG" = "yes"; then
20164 cat >> confdefs.h
<<\EOF
20165 #define wxUSE_LONGLONG 1
20170 if test "$wxUSE_GEOMETRY" = "yes"; then
20171 cat >> confdefs.h
<<\EOF
20172 #define wxUSE_GEOMETRY 1
20177 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
20178 cat >> confdefs.h
<<\EOF
20179 #define wxUSE_DIALUP_MANAGER 1
20182 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
20185 if test "$wxUSE_STREAMS" = "yes" ; then
20186 cat >> confdefs.h
<<\EOF
20187 #define wxUSE_STREAMS 1
20193 if test "$wxUSE_DATETIME" = "yes"; then
20194 for ac_func
in strptime
20196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20197 echo "configure:20198: checking for $ac_func" >&5
20198 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20199 echo $ac_n "(cached) $ac_c" 1>&6
20201 cat > conftest.
$ac_ext <<EOF
20202 #line 20203 "configure"
20203 #include "confdefs.h"
20204 /* System header to define __stub macros and hopefully few prototypes,
20205 which can conflict with char $ac_func(); below. */
20206 #include <assert.h>
20207 /* Override any gcc2 internal prototype to avoid an error. */
20208 /* We use char because int might match the return type of a gcc2
20209 builtin and then its argument prototype would still apply. */
20214 /* The GNU C library defines this for functions which it implements
20215 to always fail with ENOSYS. Some functions are actually named
20216 something starting with __ and the normal name is an alias. */
20217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20225 if { (eval echo configure
:20226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20227 eval "ac_cv_func_$ac_func=yes"
20229 echo "configure: failed program was:" >&5
20230 cat conftest.
$ac_ext >&5
20232 eval "ac_cv_func_$ac_func=no"
20237 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20238 echo "$ac_t""yes" 1>&6
20239 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20240 cat >> confdefs.h
<<EOF
20241 #define $ac_tr_func 1
20245 echo "$ac_t""no" 1>&6
20250 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
20251 echo "configure:20252: checking for timezone variable in <time.h>" >&5
20252 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
20253 echo $ac_n "(cached) $ac_c" 1>&6
20256 cat > conftest.
$ac_ext <<EOF
20257 #line 20258 "configure"
20258 #include "confdefs.h"
20269 if { (eval echo configure
:20270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20272 wx_cv_var_timezone
=timezone
20275 echo "configure: failed program was:" >&5
20276 cat conftest.
$ac_ext >&5
20279 cat > conftest.
$ac_ext <<EOF
20280 #line 20281 "configure"
20281 #include "confdefs.h"
20292 if { (eval echo configure
:20293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20295 wx_cv_var_timezone
=_timezone
20298 echo "configure: failed program was:" >&5
20299 cat conftest.
$ac_ext >&5
20302 cat > conftest.
$ac_ext <<EOF
20303 #line 20304 "configure"
20304 #include "confdefs.h"
20315 if { (eval echo configure
:20316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20318 wx_cv_var_timezone
=__timezone
20321 echo "configure: failed program was:" >&5
20322 cat conftest.
$ac_ext >&5
20325 if test "$USE_DOS" = 0 ; then
20326 echo "configure: warning: no timezone variable" 1>&2
20344 echo "$ac_t""$wx_cv_var_timezone" 1>&6
20346 if test "x$wx_cv_var_timezone" != x
; then
20347 cat >> confdefs.h
<<EOF
20348 #define WX_TIMEZONE $wx_cv_var_timezone
20353 for ac_func
in localtime
20355 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20356 echo "configure:20357: checking for $ac_func" >&5
20357 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20358 echo $ac_n "(cached) $ac_c" 1>&6
20360 cat > conftest.
$ac_ext <<EOF
20361 #line 20362 "configure"
20362 #include "confdefs.h"
20363 /* System header to define __stub macros and hopefully few prototypes,
20364 which can conflict with char $ac_func(); below. */
20365 #include <assert.h>
20366 /* Override any gcc2 internal prototype to avoid an error. */
20367 /* We use char because int might match the return type of a gcc2
20368 builtin and then its argument prototype would still apply. */
20373 /* The GNU C library defines this for functions which it implements
20374 to always fail with ENOSYS. Some functions are actually named
20375 something starting with __ and the normal name is an alias. */
20376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20384 if { (eval echo configure
:20385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20386 eval "ac_cv_func_$ac_func=yes"
20388 echo "configure: failed program was:" >&5
20389 cat conftest.
$ac_ext >&5
20391 eval "ac_cv_func_$ac_func=no"
20396 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20397 echo "$ac_t""yes" 1>&6
20398 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20399 cat >> confdefs.h
<<EOF
20400 #define $ac_tr_func 1
20404 echo "$ac_t""no" 1>&6
20409 if test "$ac_cv_func_localtime" = "yes"; then
20410 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
20411 echo "configure:20412: checking for tm_gmtoff in struct tm" >&5
20412 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
20413 echo $ac_n "(cached) $ac_c" 1>&6
20416 cat > conftest.
$ac_ext <<EOF
20417 #line 20418 "configure"
20418 #include "confdefs.h"
20429 if { (eval echo configure
:20430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20432 wx_cv_struct_tm_has_gmtoff
=yes
20435 echo "configure: failed program was:" >&5
20436 cat conftest.
$ac_ext >&5
20438 wx_cv_struct_tm_has_gmtoff
=no
20445 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
20448 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
20449 cat >> confdefs.h
<<\EOF
20450 #define WX_GMTOFF_IN_TM 1
20455 for ac_func
in gettimeofday ftime
20457 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20458 echo "configure:20459: checking for $ac_func" >&5
20459 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20460 echo $ac_n "(cached) $ac_c" 1>&6
20462 cat > conftest.
$ac_ext <<EOF
20463 #line 20464 "configure"
20464 #include "confdefs.h"
20465 /* System header to define __stub macros and hopefully few prototypes,
20466 which can conflict with char $ac_func(); below. */
20467 #include <assert.h>
20468 /* Override any gcc2 internal prototype to avoid an error. */
20469 /* We use char because int might match the return type of a gcc2
20470 builtin and then its argument prototype would still apply. */
20475 /* The GNU C library defines this for functions which it implements
20476 to always fail with ENOSYS. Some functions are actually named
20477 something starting with __ and the normal name is an alias. */
20478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20486 if { (eval echo configure
:20487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20488 eval "ac_cv_func_$ac_func=yes"
20490 echo "configure: failed program was:" >&5
20491 cat conftest.
$ac_ext >&5
20493 eval "ac_cv_func_$ac_func=no"
20498 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20499 echo "$ac_t""yes" 1>&6
20500 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20501 cat >> confdefs.h
<<EOF
20502 #define $ac_tr_func 1
20506 echo "$ac_t""no" 1>&6
20511 if test "$ac_cv_func_gettimeofday" = "yes"; then
20512 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
20513 echo "configure:20514: checking whether gettimeofday takes two arguments" >&5
20514 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
20515 echo $ac_n "(cached) $ac_c" 1>&6
20520 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20521 ac_cpp
='$CXXCPP $CPPFLAGS'
20522 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20523 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20524 cross_compiling
=$ac_cv_prog_cxx_cross
20527 cat > conftest.
$ac_ext <<EOF
20528 #line 20529 "configure"
20529 #include "confdefs.h"
20531 #include <sys/time.h>
20532 #include <unistd.h>
20537 gettimeofday(&tv, NULL);
20541 if { (eval echo configure
:20542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20543 wx_cv_func_gettimeofday_has_2_args
=yes
20545 echo "configure: failed program was:" >&5
20546 cat conftest.
$ac_ext >&5
20548 cat > conftest.
$ac_ext <<EOF
20549 #line 20550 "configure"
20550 #include "confdefs.h"
20552 #include <sys/time.h>
20553 #include <unistd.h>
20562 if { (eval echo configure
:20563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20564 wx_cv_func_gettimeofday_has_2_args
=no
20566 echo "configure: failed program was:" >&5
20567 cat conftest.
$ac_ext >&5
20570 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
20571 wx_cv_func_gettimeofday_has_2_args
=unknown
20580 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20581 ac_cpp
='$CPP $CPPFLAGS'
20582 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20583 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20584 cross_compiling
=$ac_cv_prog_cc_cross
20589 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
20591 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
20592 cat >> confdefs.h
<<\EOF
20593 #define WX_GETTIMEOFDAY_NO_TZ 1
20599 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
20603 if test "$wxUSE_SOCKETS" = "yes"; then
20604 if test "$wxUSE_MGL" = "1"; then
20605 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
20610 if test "$wxUSE_SOCKETS" = "yes"; then
20611 if test "$TOOLKIT" != "MSW"; then
20612 echo $ac_n "checking for socket""... $ac_c" 1>&6
20613 echo "configure:20614: checking for socket" >&5
20614 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
20615 echo $ac_n "(cached) $ac_c" 1>&6
20617 cat > conftest.
$ac_ext <<EOF
20618 #line 20619 "configure"
20619 #include "confdefs.h"
20620 /* System header to define __stub macros and hopefully few prototypes,
20621 which can conflict with char socket(); below. */
20622 #include <assert.h>
20623 /* Override any gcc2 internal prototype to avoid an error. */
20624 /* We use char because int might match the return type of a gcc2
20625 builtin and then its argument prototype would still apply. */
20630 /* The GNU C library defines this for functions which it implements
20631 to always fail with ENOSYS. Some functions are actually named
20632 something starting with __ and the normal name is an alias. */
20633 #if defined (__stub_socket) || defined (__stub___socket)
20641 if { (eval echo configure
:20642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20643 eval "ac_cv_func_socket=yes"
20645 echo "configure: failed program was:" >&5
20646 cat conftest.
$ac_ext >&5
20648 eval "ac_cv_func_socket=no"
20653 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
20654 echo "$ac_t""yes" 1>&6
20657 echo "$ac_t""no" 1>&6
20658 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
20659 echo "configure:20660: checking for socket in -lsocket" >&5
20660 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
20661 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20662 echo $ac_n "(cached) $ac_c" 1>&6
20664 ac_save_LIBS
="$LIBS"
20665 LIBS
="-lsocket $LIBS"
20666 cat > conftest.
$ac_ext <<EOF
20667 #line 20668 "configure"
20668 #include "confdefs.h"
20669 /* Override any gcc2 internal prototype to avoid an error. */
20670 /* We use char because int might match the return type of a gcc2
20671 builtin and then its argument prototype would still apply. */
20678 if { (eval echo configure
:20679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20680 eval "ac_cv_lib_$ac_lib_var=yes"
20682 echo "configure: failed program was:" >&5
20683 cat conftest.
$ac_ext >&5
20685 eval "ac_cv_lib_$ac_lib_var=no"
20688 LIBS
="$ac_save_LIBS"
20691 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20692 echo "$ac_t""yes" 1>&6
20693 if test "$INET_LINK" != " -lsocket"; then
20694 INET_LINK
="$INET_LINK -lsocket"
20697 echo "$ac_t""no" 1>&6
20699 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
20711 if test "$wxUSE_SOCKETS" = "yes" ; then
20712 if test "$TOOLKIT" != "MSW"; then
20713 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
20714 echo "configure:20715: checking what is the type of the third argument of getsockname" >&5
20715 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
20716 echo $ac_n "(cached) $ac_c" 1>&6
20719 cat > conftest.
$ac_ext <<EOF
20720 #line 20721 "configure"
20721 #include "confdefs.h"
20723 #include <sys/types.h>
20724 #include <sys/socket.h>
20729 getsockname(0, 0, &len);
20733 if { (eval echo configure
:20734: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20735 wx_cv_type_getsockname3
=socklen_t
20737 echo "configure: failed program was:" >&5
20738 cat conftest.
$ac_ext >&5
20741 CFLAGS_OLD
="$CFLAGS"
20742 if test "$GCC" = yes ; then
20743 CFLAGS
="$CFLAGS -Werror"
20746 cat > conftest.
$ac_ext <<EOF
20747 #line 20748 "configure"
20748 #include "confdefs.h"
20750 #include <sys/types.h>
20751 #include <sys/socket.h>
20756 getsockname(0, 0, &len);
20760 if { (eval echo configure
:20761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20762 wx_cv_type_getsockname3
=size_t
20764 echo "configure: failed program was:" >&5
20765 cat conftest.
$ac_ext >&5
20767 cat > conftest.
$ac_ext <<EOF
20768 #line 20769 "configure"
20769 #include "confdefs.h"
20771 #include <sys/types.h>
20772 #include <sys/socket.h>
20777 getsockname(0, 0, &len);
20781 if { (eval echo configure
:20782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20783 wx_cv_type_getsockname3
=int
20785 echo "configure: failed program was:" >&5
20786 cat conftest.
$ac_ext >&5
20788 wx_cv_type_getsockname3
=unknown
20796 CFLAGS
="$CFLAGS_OLD"
20804 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
20806 if test "$wx_cv_type_getsockname3" = "unknown"; then
20808 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
20810 cat >> confdefs.h
<<EOF
20811 #define SOCKLEN_T $wx_cv_type_getsockname3
20818 if test "$wxUSE_SOCKETS" = "yes" ; then
20819 cat >> confdefs.h
<<\EOF
20820 #define wxUSE_SOCKETS 1
20823 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
20827 if test "$wxUSE_GUI" = "yes"; then
20829 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
20830 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
20833 if test "$TOOLKIT" = "MOTIF"; then
20834 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
20837 if test "$TOOLKIT" = "X11"; then
20838 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
20842 if test "$TOOLKIT" != "MSW"; then
20843 if test "$wxUSE_JOYSTICK" = "yes"; then
20844 for ac_hdr
in linux
/joystick.h
20846 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20847 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20848 echo "configure:20849: checking for $ac_hdr" >&5
20849 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20850 echo $ac_n "(cached) $ac_c" 1>&6
20852 cat > conftest.
$ac_ext <<EOF
20853 #line 20854 "configure"
20854 #include "confdefs.h"
20857 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20858 { (eval echo configure
:20859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20859 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20860 if test -z "$ac_err"; then
20862 eval "ac_cv_header_$ac_safe=yes"
20865 echo "configure: failed program was:" >&5
20866 cat conftest.
$ac_ext >&5
20868 eval "ac_cv_header_$ac_safe=no"
20872 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20873 echo "$ac_t""yes" 1>&6
20874 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20875 cat >> confdefs.h
<<EOF
20876 #define $ac_tr_hdr 1
20880 echo "$ac_t""no" 1>&6
20884 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
20886 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
20891 if test "$wxUSE_JOYSTICK" = "yes"; then
20892 cat >> confdefs.h
<<\EOF
20893 #define wxUSE_JOYSTICK 1
20896 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
20901 if test "$TOOLKIT" != "MSW"; then
20905 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20906 if test "$USE_DARWIN" = 1; then
20909 for ac_func
in dlopen
20911 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20912 echo "configure:20913: checking for $ac_func" >&5
20913 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20914 echo $ac_n "(cached) $ac_c" 1>&6
20916 cat > conftest.
$ac_ext <<EOF
20917 #line 20918 "configure"
20918 #include "confdefs.h"
20919 /* System header to define __stub macros and hopefully few prototypes,
20920 which can conflict with char $ac_func(); below. */
20921 #include <assert.h>
20922 /* Override any gcc2 internal prototype to avoid an error. */
20923 /* We use char because int might match the return type of a gcc2
20924 builtin and then its argument prototype would still apply. */
20929 /* The GNU C library defines this for functions which it implements
20930 to always fail with ENOSYS. Some functions are actually named
20931 something starting with __ and the normal name is an alias. */
20932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20940 if { (eval echo configure
:20941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20942 eval "ac_cv_func_$ac_func=yes"
20944 echo "configure: failed program was:" >&5
20945 cat conftest.
$ac_ext >&5
20947 eval "ac_cv_func_$ac_func=no"
20952 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20953 echo "$ac_t""yes" 1>&6
20954 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20955 cat >> confdefs.h
<<EOF
20956 #define $ac_tr_func 1
20959 cat >> confdefs.h
<<\EOF
20960 #define HAVE_DLOPEN 1
20966 echo "$ac_t""no" 1>&6
20967 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
20968 echo "configure:20969: checking for dlopen in -ldl" >&5
20969 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
20970 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20971 echo $ac_n "(cached) $ac_c" 1>&6
20973 ac_save_LIBS
="$LIBS"
20975 cat > conftest.
$ac_ext <<EOF
20976 #line 20977 "configure"
20977 #include "confdefs.h"
20978 /* Override any gcc2 internal prototype to avoid an error. */
20979 /* We use char because int might match the return type of a gcc2
20980 builtin and then its argument prototype would still apply. */
20987 if { (eval echo configure
:20988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20989 eval "ac_cv_lib_$ac_lib_var=yes"
20991 echo "configure: failed program was:" >&5
20992 cat conftest.
$ac_ext >&5
20994 eval "ac_cv_lib_$ac_lib_var=no"
20997 LIBS
="$ac_save_LIBS"
21000 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21001 echo "$ac_t""yes" 1>&6
21003 cat >> confdefs.h
<<\EOF
21004 #define HAVE_DLOPEN 1
21008 DL_LINK
=" -ldl$DL_LINK"
21011 echo "$ac_t""no" 1>&6
21013 for ac_func
in shl_load
21015 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21016 echo "configure:21017: checking for $ac_func" >&5
21017 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21018 echo $ac_n "(cached) $ac_c" 1>&6
21020 cat > conftest.
$ac_ext <<EOF
21021 #line 21022 "configure"
21022 #include "confdefs.h"
21023 /* System header to define __stub macros and hopefully few prototypes,
21024 which can conflict with char $ac_func(); below. */
21025 #include <assert.h>
21026 /* Override any gcc2 internal prototype to avoid an error. */
21027 /* We use char because int might match the return type of a gcc2
21028 builtin and then its argument prototype would still apply. */
21033 /* The GNU C library defines this for functions which it implements
21034 to always fail with ENOSYS. Some functions are actually named
21035 something starting with __ and the normal name is an alias. */
21036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21044 if { (eval echo configure
:21045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21046 eval "ac_cv_func_$ac_func=yes"
21048 echo "configure: failed program was:" >&5
21049 cat conftest.
$ac_ext >&5
21051 eval "ac_cv_func_$ac_func=no"
21056 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21057 echo "$ac_t""yes" 1>&6
21058 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21059 cat >> confdefs.h
<<EOF
21060 #define $ac_tr_func 1
21063 cat >> confdefs.h
<<\EOF
21064 #define HAVE_SHL_LOAD 1
21070 echo "$ac_t""no" 1>&6
21071 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
21072 echo "configure:21073: checking for dld in -lshl_load" >&5
21073 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
21074 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21075 echo $ac_n "(cached) $ac_c" 1>&6
21077 ac_save_LIBS
="$LIBS"
21078 LIBS
="-lshl_load $LIBS"
21079 cat > conftest.
$ac_ext <<EOF
21080 #line 21081 "configure"
21081 #include "confdefs.h"
21082 /* Override any gcc2 internal prototype to avoid an error. */
21083 /* We use char because int might match the return type of a gcc2
21084 builtin and then its argument prototype would still apply. */
21091 if { (eval echo configure
:21092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21093 eval "ac_cv_lib_$ac_lib_var=yes"
21095 echo "configure: failed program was:" >&5
21096 cat conftest.
$ac_ext >&5
21098 eval "ac_cv_lib_$ac_lib_var=no"
21101 LIBS
="$ac_save_LIBS"
21104 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21105 echo "$ac_t""yes" 1>&6
21108 DL_LINK
=" -ldld$DL_LINK"
21111 echo "$ac_t""no" 1>&6
21126 if test "$HAVE_DL_FUNCS" = 1; then
21127 for ac_func
in dlerror
21129 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21130 echo "configure:21131: checking for $ac_func" >&5
21131 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21132 echo $ac_n "(cached) $ac_c" 1>&6
21134 cat > conftest.
$ac_ext <<EOF
21135 #line 21136 "configure"
21136 #include "confdefs.h"
21137 /* System header to define __stub macros and hopefully few prototypes,
21138 which can conflict with char $ac_func(); below. */
21139 #include <assert.h>
21140 /* Override any gcc2 internal prototype to avoid an error. */
21141 /* We use char because int might match the return type of a gcc2
21142 builtin and then its argument prototype would still apply. */
21147 /* The GNU C library defines this for functions which it implements
21148 to always fail with ENOSYS. Some functions are actually named
21149 something starting with __ and the normal name is an alias. */
21150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21158 if { (eval echo configure
:21159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21160 eval "ac_cv_func_$ac_func=yes"
21162 echo "configure: failed program was:" >&5
21163 cat conftest.
$ac_ext >&5
21165 eval "ac_cv_func_$ac_func=no"
21170 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21171 echo "$ac_t""yes" 1>&6
21172 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21173 cat >> confdefs.h
<<EOF
21174 #define $ac_tr_func 1
21176 cat >> confdefs.h
<<\EOF
21177 #define HAVE_DLERROR 1
21181 echo "$ac_t""no" 1>&6
21182 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
21183 echo "configure:21184: checking for dlerror in -ldl" >&5
21184 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
21185 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21186 echo $ac_n "(cached) $ac_c" 1>&6
21188 ac_save_LIBS
="$LIBS"
21190 cat > conftest.
$ac_ext <<EOF
21191 #line 21192 "configure"
21192 #include "confdefs.h"
21193 /* Override any gcc2 internal prototype to avoid an error. */
21194 /* We use char because int might match the return type of a gcc2
21195 builtin and then its argument prototype would still apply. */
21202 if { (eval echo configure
:21203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21204 eval "ac_cv_lib_$ac_lib_var=yes"
21206 echo "configure: failed program was:" >&5
21207 cat conftest.
$ac_ext >&5
21209 eval "ac_cv_lib_$ac_lib_var=no"
21212 LIBS
="$ac_save_LIBS"
21215 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21216 echo "$ac_t""yes" 1>&6
21217 cat >> confdefs.h
<<\EOF
21218 #define HAVE_DLERROR 1
21222 echo "$ac_t""no" 1>&6
21231 if test "$HAVE_DL_FUNCS" = 0; then
21232 if test "$HAVE_SHL_FUNCS" = 0; then
21233 if test "$USE_UNIX" = 1; then
21234 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
21235 wxUSE_DYNAMIC_LOADER
=no
21236 wxUSE_DYNLIB_CLASS
=no
21238 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
21245 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
21246 cat >> confdefs.h
<<\EOF
21247 #define wxUSE_DYNAMIC_LOADER 1
21250 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
21251 cat >> confdefs.h
<<\EOF
21252 #define wxUSE_DYNLIB_CLASS 1
21258 if test "$wxUSE_FONTMAP" = "yes" ; then
21259 cat >> confdefs.h
<<\EOF
21260 #define wxUSE_FONTMAP 1
21265 if test "$wxUSE_UNICODE" = "yes" ; then
21266 cat >> confdefs.h
<<\EOF
21267 #define wxUSE_UNICODE 1
21271 if test "$wxUSE_MSW" != 1; then
21272 wxUSE_UNICODE_MSLU
=no
21275 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
21276 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
21277 echo "configure:21278: checking for main in -lunicows" >&5
21278 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
21279 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21280 echo $ac_n "(cached) $ac_c" 1>&6
21282 ac_save_LIBS
="$LIBS"
21283 LIBS
="-lunicows $LIBS"
21284 cat > conftest.
$ac_ext <<EOF
21285 #line 21286 "configure"
21286 #include "confdefs.h"
21292 if { (eval echo configure
:21293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21294 eval "ac_cv_lib_$ac_lib_var=yes"
21296 echo "configure: failed program was:" >&5
21297 cat conftest.
$ac_ext >&5
21299 eval "ac_cv_lib_$ac_lib_var=no"
21302 LIBS
="$ac_save_LIBS"
21305 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21306 echo "$ac_t""yes" 1>&6
21308 cat >> confdefs.h
<<\EOF
21309 #define wxUSE_UNICODE_MSLU 1
21314 echo "$ac_t""no" 1>&6
21316 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
21317 Applications will only run on Windows NT/2000/XP!" 1>&2
21318 wxUSE_UNICODE_MSLU
=no
21325 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
21326 cat >> confdefs.h
<<\EOF
21327 #define wxUSE_EXPERIMENTAL_PRINTF 1
21333 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
21334 cat >> confdefs.h
<<\EOF
21335 #define wxUSE_POSTSCRIPT 1
21340 cat >> confdefs.h
<<\EOF
21341 #define wxUSE_AFM_FOR_POSTSCRIPT 1
21345 cat >> confdefs.h
<<\EOF
21346 #define wxUSE_NORMALIZED_PS_FONTS 1
21351 if test "$wxUSE_CONSTRAINTS" = "yes"; then
21352 cat >> confdefs.h
<<\EOF
21353 #define wxUSE_CONSTRAINTS 1
21356 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
21359 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21362 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21363 cat >> confdefs.h
<<\EOF
21364 #define wxUSE_MDI_ARCHITECTURE 1
21367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
21371 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
21372 cat >> confdefs.h
<<\EOF
21373 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
21376 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
21377 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21378 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
21382 if test "$wxUSE_HELP" = "yes"; then
21383 cat >> confdefs.h
<<\EOF
21384 #define wxUSE_HELP 1
21387 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
21389 if test "$wxUSE_MSW" = 1; then
21390 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
21391 cat >> confdefs.h
<<\EOF
21392 #define wxUSE_MS_HTML_HELP 1
21398 if test "$wxUSE_WXHTML_HELP" = "yes"; then
21399 if test "$wxUSE_HTML" = "yes"; then
21400 cat >> confdefs.h
<<\EOF
21401 #define wxUSE_WXHTML_HELP 1
21405 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
21406 wxUSE_WXHTML_HELP
=no
21411 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21412 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21413 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
21415 cat >> confdefs.h
<<\EOF
21416 #define wxUSE_PRINTING_ARCHITECTURE 1
21420 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
21423 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
21424 { echo "configure: error: wxExpr and old-style resources are now available in contrib only" 1>&2; exit 1; }
21428 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
21429 -o "$wxUSE_CLIPBOARD" = "yes" \
21430 -o "$wxUSE_OLE" = "yes" \
21431 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
21432 for ac_hdr
in ole2.h
21434 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21435 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21436 echo "configure:21437: checking for $ac_hdr" >&5
21437 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21438 echo $ac_n "(cached) $ac_c" 1>&6
21440 cat > conftest.
$ac_ext <<EOF
21441 #line 21442 "configure"
21442 #include "confdefs.h"
21445 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21446 { (eval echo configure
:21447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21447 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21448 if test -z "$ac_err"; then
21450 eval "ac_cv_header_$ac_safe=yes"
21453 echo "configure: failed program was:" >&5
21454 cat conftest.
$ac_ext >&5
21456 eval "ac_cv_header_$ac_safe=no"
21460 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21461 echo "$ac_t""yes" 1>&6
21462 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21463 cat >> confdefs.h
<<EOF
21464 #define $ac_tr_hdr 1
21468 echo "$ac_t""no" 1>&6
21473 if test "$ac_cv_header_ole2_h" = "yes" ; then
21474 if test "$GCC" = yes ; then
21477 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21478 ac_cpp
='$CXXCPP $CPPFLAGS'
21479 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21480 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21481 cross_compiling
=$ac_cv_prog_cxx_cross
21484 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
21485 echo "configure:21486: checking if g++ requires -fvtable-thunks" >&5
21486 cat > conftest.
$ac_ext <<EOF
21487 #line 21488 "configure"
21488 #include "confdefs.h"
21489 #include <windows.h>
21495 if { (eval echo configure
:21496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21497 echo "$ac_t""no" 1>&6
21499 echo "configure: failed program was:" >&5
21500 cat conftest.
$ac_ext >&5
21502 echo "$ac_t""yes" 1>&6
21503 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
21507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21508 ac_cpp
='$CPP $CPPFLAGS'
21509 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21510 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21511 cross_compiling
=$ac_cv_prog_cc_cross
21513 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
21514 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
21515 cat >> confdefs.h
<<\EOF
21516 #define wxUSE_OLE 1
21522 cat >> confdefs.h
<<\EOF
21523 #define wxUSE_DATAOBJ 1
21527 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
21530 wxUSE_DRAG_AND_DROP
=no
21535 if test "$wxUSE_METAFILE" = "yes"; then
21536 cat >> confdefs.h
<<\EOF
21537 #define wxUSE_METAFILE 1
21541 cat >> confdefs.h
<<\EOF
21542 #define wxUSE_ENH_METAFILE 1
21548 if test "$wxUSE_IPC" = "yes"; then
21549 if test "$wxUSE_SOCKETS" != "yes"; then
21550 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
21553 cat >> confdefs.h
<<\EOF
21554 #define wxUSE_IPC 1
21559 if test "$wxUSE_CLIPBOARD" = "yes"; then
21560 if test "$wxUSE_MGL" = 1; then
21561 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
21565 if test "$wxUSE_CLIPBOARD" = "yes"; then
21566 cat >> confdefs.h
<<\EOF
21567 #define wxUSE_CLIPBOARD 1
21571 cat >> confdefs.h
<<\EOF
21572 #define wxUSE_DATAOBJ 1
21578 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
21579 if test "$wxUSE_GTK" = 1; then
21580 if test "$WXGTK12" != 1; then
21581 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
21582 wxUSE_DRAG_AND_DROP
=no
21586 if test "$wxUSE_MOTIF" = 1; then
21587 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
21588 wxUSE_DRAG_AND_DROP
=no
21591 if test "$wxUSE_X11" = 1; then
21592 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
21593 wxUSE_DRAG_AND_DROP
=no
21596 if test "$wxUSE_MGL" = 1; then
21597 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
21598 wxUSE_DRAG_AND_DROP
=no
21601 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
21602 cat >> confdefs.h
<<\EOF
21603 #define wxUSE_DRAG_AND_DROP 1
21606 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
21611 if test "$wxUSE_SPLINES" = "yes" ; then
21612 cat >> confdefs.h
<<\EOF
21613 #define wxUSE_SPLINES 1
21620 if test "$wxUSE_CONTROLS" = "yes"; then
21624 if test "$wxUSE_ACCEL" = "yes"; then
21625 cat >> confdefs.h
<<\EOF
21626 #define wxUSE_ACCEL 1
21632 if test "$wxUSE_BUTTON" = "yes"; then
21633 cat >> confdefs.h
<<\EOF
21634 #define wxUSE_BUTTON 1
21640 if test "$wxUSE_BMPBUTTON" = "yes"; then
21641 cat >> confdefs.h
<<\EOF
21642 #define wxUSE_BMPBUTTON 1
21648 if test "$wxUSE_CALCTRL" = "yes"; then
21649 cat >> confdefs.h
<<\EOF
21650 #define wxUSE_CALENDARCTRL 1
21654 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
21657 if test "$wxUSE_CARET" = "yes"; then
21658 cat >> confdefs.h
<<\EOF
21659 #define wxUSE_CARET 1
21663 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
21666 if test "$wxUSE_COMBOBOX" = "yes"; then
21667 cat >> confdefs.h
<<\EOF
21668 #define wxUSE_COMBOBOX 1
21674 if test "$wxUSE_CHOICE" = "yes"; then
21675 cat >> confdefs.h
<<\EOF
21676 #define wxUSE_CHOICE 1
21682 if test "$wxUSE_CHECKBOX" = "yes"; then
21683 cat >> confdefs.h
<<\EOF
21684 #define wxUSE_CHECKBOX 1
21690 if test "$wxUSE_CHECKLST" = "yes"; then
21691 cat >> confdefs.h
<<\EOF
21692 #define wxUSE_CHECKLISTBOX 1
21696 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
21699 if test "$wxUSE_DISPLAY" = "yes"; then
21700 cat >> confdefs.h
<<\EOF
21701 #define wxUSE_DISPLAY 1
21704 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
21707 if test "$wxUSE_GAUGE" = "yes"; then
21708 cat >> confdefs.h
<<\EOF
21709 #define wxUSE_GAUGE 1
21715 if test "$wxUSE_GRID" = "yes"; then
21716 cat >> confdefs.h
<<\EOF
21717 #define wxUSE_GRID 1
21721 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
21724 if test "$wxUSE_IMAGLIST" = "yes"; then
21725 cat >> confdefs.h
<<\EOF
21726 #define wxUSE_IMAGLIST 1
21731 if test "$wxUSE_LISTBOX" = "yes"; then
21732 cat >> confdefs.h
<<\EOF
21733 #define wxUSE_LISTBOX 1
21739 if test "$wxUSE_LISTCTRL" = "yes"; then
21740 if test "$wxUSE_IMAGLIST" = "yes"; then
21741 cat >> confdefs.h
<<\EOF
21742 #define wxUSE_LISTCTRL 1
21746 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
21748 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
21752 if test "$wxUSE_NOTEBOOK" = "yes"; then
21753 cat >> confdefs.h
<<\EOF
21754 #define wxUSE_NOTEBOOK 1
21758 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
21762 if test "$wxUSE_RADIOBOX" = "yes"; then
21763 cat >> confdefs.h
<<\EOF
21764 #define wxUSE_RADIOBOX 1
21770 if test "$wxUSE_RADIOBTN" = "yes"; then
21771 cat >> confdefs.h
<<\EOF
21772 #define wxUSE_RADIOBTN 1
21778 if test "$wxUSE_SASH" = "yes"; then
21779 cat >> confdefs.h
<<\EOF
21780 #define wxUSE_SASH 1
21783 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
21786 if test "$wxUSE_SCROLLBAR" = "yes"; then
21787 cat >> confdefs.h
<<\EOF
21788 #define wxUSE_SCROLLBAR 1
21792 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
21795 if test "$wxUSE_SLIDER" = "yes"; then
21796 cat >> confdefs.h
<<\EOF
21797 #define wxUSE_SLIDER 1
21803 if test "$wxUSE_SPINBTN" = "yes"; then
21804 cat >> confdefs.h
<<\EOF
21805 #define wxUSE_SPINBTN 1
21811 if test "$wxUSE_SPINCTRL" = "yes"; then
21812 cat >> confdefs.h
<<\EOF
21813 #define wxUSE_SPINCTRL 1
21819 if test "$wxUSE_SPLITTER" = "yes"; then
21820 cat >> confdefs.h
<<\EOF
21821 #define wxUSE_SPLITTER 1
21824 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
21827 if test "$wxUSE_STATBMP" = "yes"; then
21828 cat >> confdefs.h
<<\EOF
21829 #define wxUSE_STATBMP 1
21835 if test "$wxUSE_STATBOX" = "yes"; then
21836 cat >> confdefs.h
<<\EOF
21837 #define wxUSE_STATBOX 1
21843 if test "$wxUSE_STATTEXT" = "yes"; then
21844 cat >> confdefs.h
<<\EOF
21845 #define wxUSE_STATTEXT 1
21851 if test "$wxUSE_STATLINE" = "yes"; then
21852 cat >> confdefs.h
<<\EOF
21853 #define wxUSE_STATLINE 1
21859 if test "$wxUSE_STATUSBAR" = "yes"; then
21860 cat >> confdefs.h
<<\EOF
21861 #define wxUSE_STATUSBAR 1
21866 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
21869 if test "$wxUSE_TABDIALOG" = "yes"; then
21870 cat >> confdefs.h
<<\EOF
21871 #define wxUSE_TAB_DIALOG 1
21874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
21877 if test "$wxUSE_TEXTCTRL" = "yes"; then
21878 cat >> confdefs.h
<<\EOF
21879 #define wxUSE_TEXTCTRL 1
21883 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
21886 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21887 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
21888 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
21891 if test "$wxUSE_UNIVERSAL" = "yes"; then
21892 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
21896 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21897 cat >> confdefs.h
<<\EOF
21898 #define wxUSE_TOGGLEBTN 1
21905 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
21906 cat >> confdefs.h
<<\EOF
21907 #define wxUSE_TOOLBAR_SIMPLE 1
21910 wxUSE_TOOLBAR
="yes"
21914 if test "$wxUSE_TOOLBAR" = "yes"; then
21915 cat >> confdefs.h
<<\EOF
21916 #define wxUSE_TOOLBAR 1
21921 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
21922 wxUSE_TOOLBAR_NATIVE
="yes"
21925 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
21926 cat >> confdefs.h
<<\EOF
21927 #define wxUSE_TOOLBAR_NATIVE 1
21933 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
21936 if test "$wxUSE_TOOLTIPS" = "yes"; then
21937 if test "$wxUSE_MOTIF" = 1; then
21938 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
21940 if test "$wxUSE_UNIVERSAL" = "yes"; then
21941 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
21943 cat >> confdefs.h
<<\EOF
21944 #define wxUSE_TOOLTIPS 1
21951 if test "$wxUSE_TREECTRL" = "yes"; then
21952 if test "$wxUSE_IMAGLIST" = "yes"; then
21953 cat >> confdefs.h
<<\EOF
21954 #define wxUSE_TREECTRL 1
21958 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
21960 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
21964 if test "$wxUSE_POPUPWIN" = "yes"; then
21965 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
21966 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
21968 if test "$wxUSE_MOTIF" = 1; then
21969 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
21971 if test "$wxUSE_PM" = 1; then
21972 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
21974 cat >> confdefs.h
<<\EOF
21975 #define wxUSE_POPUPWIN 1
21985 if test "$wxUSE_TIPWINDOW" = "yes"; then
21986 if test "$wxUSE_PM" = 1; then
21987 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
21989 cat >> confdefs.h
<<\EOF
21990 #define wxUSE_TIPWINDOW 1
21996 if test "$USES_CONTROLS" = 1; then
21997 cat >> confdefs.h
<<\EOF
21998 #define wxUSE_CONTROLS 1
22005 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22006 cat >> confdefs.h
<<\EOF
22007 #define wxUSE_DRAGIMAGE 1
22010 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
22013 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
22014 cat >> confdefs.h
<<\EOF
22015 #define wxUSE_ACCESSIBILITY 1
22018 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
22021 if test "$wxUSE_MENUS" = "yes"; then
22022 cat >> confdefs.h
<<\EOF
22023 #define wxUSE_MENUS 1
22026 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
22029 if test "$wxUSE_METAFILE" = "yes"; then
22030 cat >> confdefs.h
<<\EOF
22031 #define wxUSE_METAFILE 1
22036 if test "$wxUSE_MIMETYPE" = "yes"; then
22037 cat >> confdefs.h
<<\EOF
22038 #define wxUSE_MIMETYPE 1
22043 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
22044 cat >> confdefs.h
<<\EOF
22045 #define wxUSE_SYSTEM_OPTIONS 1
22048 if test "$TOOLKIT" = "MSW"; then
22049 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
22054 if test "$wxUSE_PROTOCOL" = "yes"; then
22055 if test "$wxUSE_SOCKETS" != "yes"; then
22056 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
22060 if test "$wxUSE_PROTOCOL" = "yes"; then
22061 cat >> confdefs.h
<<\EOF
22062 #define wxUSE_PROTOCOL 1
22066 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
22067 cat >> confdefs.h
<<\EOF
22068 #define wxUSE_PROTOCOL_HTTP 1
22072 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
22073 cat >> confdefs.h
<<\EOF
22074 #define wxUSE_PROTOCOL_FTP 1
22078 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
22079 cat >> confdefs.h
<<\EOF
22080 #define wxUSE_PROTOCOL_FILE 1
22087 if test "$wxUSE_URL" = "yes"; then
22088 if test "$wxUSE_PROTOCOL" != "yes"; then
22089 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
22092 if test "$wxUSE_URL" = "yes"; then
22093 cat >> confdefs.h
<<\EOF
22094 #define wxUSE_URL 1
22100 if test "$wxUSE_MINIFRAME" = "yes"; then
22101 cat >> confdefs.h
<<\EOF
22102 #define wxUSE_MINIFRAME 1
22105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
22108 if test "$wxUSE_HTML" = "yes"; then
22109 cat >> confdefs.h
<<\EOF
22110 #define wxUSE_HTML 1
22113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html htlbox"
22116 if test "$wxUSE_VALIDATORS" = "yes"; then
22117 cat >> confdefs.h
<<\EOF
22118 #define wxUSE_VALIDATORS 1
22121 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
22124 if test "$wxUSE_PALETTE" = "yes" ; then
22125 cat >> confdefs.h
<<\EOF
22126 #define wxUSE_PALETTE 1
22131 if test "$wxUSE_IMAGE" = "yes" ; then
22132 cat >> confdefs.h
<<\EOF
22133 #define wxUSE_IMAGE 1
22138 if test "$wxUSE_GIF" = "yes" ; then
22139 cat >> confdefs.h
<<\EOF
22140 #define wxUSE_GIF 1
22145 if test "$wxUSE_PCX" = "yes" ; then
22146 cat >> confdefs.h
<<\EOF
22147 #define wxUSE_PCX 1
22152 if test "$wxUSE_IFF" = "yes" ; then
22153 cat >> confdefs.h
<<\EOF
22154 #define wxUSE_IFF 1
22159 if test "$wxUSE_PNM" = "yes" ; then
22160 cat >> confdefs.h
<<\EOF
22161 #define wxUSE_PNM 1
22166 if test "$wxUSE_XPM" = "yes" ; then
22167 cat >> confdefs.h
<<\EOF
22168 #define wxUSE_XPM 1
22173 if test "$wxUSE_ICO_CUR" = "yes" ; then
22174 cat >> confdefs.h
<<\EOF
22175 #define wxUSE_ICO_CUR 1
22180 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
22181 LIBS
=" -lunicows $LIBS"
22185 if test "$wxUSE_CHOICEDLG" = "yes"; then
22186 cat >> confdefs.h
<<\EOF
22187 #define wxUSE_CHOICEDLG 1
22192 if test "$wxUSE_COLOURDLG" = "yes"; then
22193 cat >> confdefs.h
<<\EOF
22194 #define wxUSE_COLOURDLG 1
22199 if test "$wxUSE_FILEDLG" = "yes"; then
22200 cat >> confdefs.h
<<\EOF
22201 #define wxUSE_FILEDLG 1
22206 if test "$wxUSE_FINDREPLDLG" = "yes"; then
22207 cat >> confdefs.h
<<\EOF
22208 #define wxUSE_FINDREPLDLG 1
22213 if test "$wxUSE_FONTDLG" = "yes"; then
22214 cat >> confdefs.h
<<\EOF
22215 #define wxUSE_FONTDLG 1
22220 if test "$wxUSE_DIRDLG" = "yes"; then
22221 if test "$wxUSE_TREECTRL" != "yes"; then
22222 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
22224 cat >> confdefs.h
<<\EOF
22225 #define wxUSE_DIRDLG 1
22231 if test "$wxUSE_MSGDLG" = "yes"; then
22232 cat >> confdefs.h
<<\EOF
22233 #define wxUSE_MSGDLG 1
22238 if test "$wxUSE_NUMBERDLG" = "yes"; then
22239 cat >> confdefs.h
<<\EOF
22240 #define wxUSE_NUMBERDLG 1
22245 if test "$wxUSE_PROGRESSDLG" = "yes"; then
22246 if test "$wxUSE_CONSTRAINTS" != "yes"; then
22247 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
22249 cat >> confdefs.h
<<\EOF
22250 #define wxUSE_PROGRESSDLG 1
22256 if test "$wxUSE_SPLASH" = "yes"; then
22257 cat >> confdefs.h
<<\EOF
22258 #define wxUSE_SPLASH 1
22263 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
22264 if test "$wxUSE_CONSTRAINTS" != "yes"; then
22265 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
22267 cat >> confdefs.h
<<\EOF
22268 #define wxUSE_STARTUP_TIPS 1
22274 if test "$wxUSE_TEXTDLG" = "yes"; then
22275 cat >> confdefs.h
<<\EOF
22276 #define wxUSE_TEXTDLG 1
22281 if test "$wxUSE_WIZARDDLG" = "yes"; then
22282 cat >> confdefs.h
<<\EOF
22283 #define wxUSE_WIZARDDLG 1
22286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
22290 if test "$cross_compiling" = "yes"; then
22293 OSINFO
=`uname -s -r -m`
22294 OSINFO
="\"$OSINFO\""
22297 cat >> confdefs.h
<<EOF
22298 #define WXWIN_OS_DESCRIPTION $OSINFO
22303 if test "x$prefix" != "xNONE"; then
22306 wxPREFIX
=$ac_default_prefix
22309 cat >> confdefs.h
<<EOF
22310 #define wxINSTALL_PREFIX "$wxPREFIX"
22319 if test "$wxUSE_MAC" = 1 ; then
22320 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
22322 if test "$wxUSE_COCOA" = 1 ; then
22323 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
22327 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
22333 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22334 echo "configure:22335: checking for $ac_func" >&5
22335 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22336 echo $ac_n "(cached) $ac_c" 1>&6
22338 cat > conftest.
$ac_ext <<EOF
22339 #line 22340 "configure"
22340 #include "confdefs.h"
22341 /* System header to define __stub macros and hopefully few prototypes,
22342 which can conflict with char $ac_func(); below. */
22343 #include <assert.h>
22344 /* Override any gcc2 internal prototype to avoid an error. */
22345 /* We use char because int might match the return type of a gcc2
22346 builtin and then its argument prototype would still apply. */
22351 /* The GNU C library defines this for functions which it implements
22352 to always fail with ENOSYS. Some functions are actually named
22353 something starting with __ and the normal name is an alias. */
22354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22362 if { (eval echo configure
:22363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22364 eval "ac_cv_func_$ac_func=yes"
22366 echo "configure: failed program was:" >&5
22367 cat conftest.
$ac_ext >&5
22369 eval "ac_cv_func_$ac_func=no"
22374 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22375 echo "$ac_t""yes" 1>&6
22376 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22377 cat >> confdefs.h
<<EOF
22378 #define $ac_tr_func 1
22382 echo "$ac_t""no" 1>&6
22386 for ac_func
in floor
22388 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22389 echo "configure:22390: checking for $ac_func" >&5
22390 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22391 echo $ac_n "(cached) $ac_c" 1>&6
22393 cat > conftest.
$ac_ext <<EOF
22394 #line 22395 "configure"
22395 #include "confdefs.h"
22396 /* System header to define __stub macros and hopefully few prototypes,
22397 which can conflict with char $ac_func(); below. */
22398 #include <assert.h>
22399 /* Override any gcc2 internal prototype to avoid an error. */
22400 /* We use char because int might match the return type of a gcc2
22401 builtin and then its argument prototype would still apply. */
22406 /* The GNU C library defines this for functions which it implements
22407 to always fail with ENOSYS. Some functions are actually named
22408 something starting with __ and the normal name is an alias. */
22409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22417 if { (eval echo configure
:22418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22419 eval "ac_cv_func_$ac_func=yes"
22421 echo "configure: failed program was:" >&5
22422 cat conftest.
$ac_ext >&5
22424 eval "ac_cv_func_$ac_func=no"
22429 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22430 echo "$ac_t""yes" 1>&6
22431 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22432 cat >> confdefs.h
<<EOF
22433 #define $ac_tr_func 1
22437 echo "$ac_t""no" 1>&6
22441 echo $ac_n "checking if floating point functions link without -lm""... $ac_c" 1>&6
22442 echo "configure:22443: checking if floating point functions link without -lm" >&5
22443 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22444 echo "$ac_t""yes" 1>&6
22446 echo "$ac_t""no" 1>&6
22448 # use different functions to avoid configure caching
22453 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22454 echo "configure:22455: checking for $ac_func" >&5
22455 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22456 echo $ac_n "(cached) $ac_c" 1>&6
22458 cat > conftest.
$ac_ext <<EOF
22459 #line 22460 "configure"
22460 #include "confdefs.h"
22461 /* System header to define __stub macros and hopefully few prototypes,
22462 which can conflict with char $ac_func(); below. */
22463 #include <assert.h>
22464 /* Override any gcc2 internal prototype to avoid an error. */
22465 /* We use char because int might match the return type of a gcc2
22466 builtin and then its argument prototype would still apply. */
22471 /* The GNU C library defines this for functions which it implements
22472 to always fail with ENOSYS. Some functions are actually named
22473 something starting with __ and the normal name is an alias. */
22474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22482 if { (eval echo configure
:22483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22484 eval "ac_cv_func_$ac_func=yes"
22486 echo "configure: failed program was:" >&5
22487 cat conftest.
$ac_ext >&5
22489 eval "ac_cv_func_$ac_func=no"
22494 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22495 echo "$ac_t""yes" 1>&6
22496 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22497 cat >> confdefs.h
<<EOF
22498 #define $ac_tr_func 1
22502 echo "$ac_t""no" 1>&6
22506 for ac_func
in ceil
22508 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22509 echo "configure:22510: checking for $ac_func" >&5
22510 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22511 echo $ac_n "(cached) $ac_c" 1>&6
22513 cat > conftest.
$ac_ext <<EOF
22514 #line 22515 "configure"
22515 #include "confdefs.h"
22516 /* System header to define __stub macros and hopefully few prototypes,
22517 which can conflict with char $ac_func(); below. */
22518 #include <assert.h>
22519 /* Override any gcc2 internal prototype to avoid an error. */
22520 /* We use char because int might match the return type of a gcc2
22521 builtin and then its argument prototype would still apply. */
22526 /* The GNU C library defines this for functions which it implements
22527 to always fail with ENOSYS. Some functions are actually named
22528 something starting with __ and the normal name is an alias. */
22529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22537 if { (eval echo configure
:22538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22539 eval "ac_cv_func_$ac_func=yes"
22541 echo "configure: failed program was:" >&5
22542 cat conftest.
$ac_ext >&5
22544 eval "ac_cv_func_$ac_func=no"
22549 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22550 echo "$ac_t""yes" 1>&6
22551 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22552 cat >> confdefs.h
<<EOF
22553 #define $ac_tr_func 1
22557 echo "$ac_t""no" 1>&6
22561 echo $ac_n "checking if floating point functions link with -lm""... $ac_c" 1>&6
22562 echo "configure:22563: checking if floating point functions link with -lm" >&5
22563 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22564 echo "$ac_t""yes" 1>&6
22566 echo "$ac_t""no" 1>&6
22567 # not sure we should warn the user, crash, etc.
22571 if test "$wxUSE_GUI" = "yes"; then
22573 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
22576 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
22577 drawing dynamic erase event exec font image \
22578 minimal propsize rotate shaped widgets"
22580 SAMPLES_SUBDIRS
="console"
22584 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
22585 -I\${top_srcdir}/include \
22586 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
22589 if test "$wxUSE_GTK" = 1; then
22592 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
22595 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
22608 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
22618 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr [A-Z] [a-z]`
22624 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
22626 # Extract the first word of "ranlib", so it can be a program name with args.
22627 set dummy ranlib
; ac_word
=$2
22628 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
22629 echo "configure:22630: checking for $ac_word" >&5
22630 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
22631 echo $ac_n "(cached) $ac_c" 1>&6
22633 if test -n "$RANLIB"; then
22634 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
22636 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
22638 for ac_dir
in $ac_dummy; do
22639 test -z "$ac_dir" && ac_dir
=.
22640 if test -f $ac_dir/$ac_word; then
22641 ac_cv_prog_RANLIB
="ranlib"
22646 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
22649 RANLIB
="$ac_cv_prog_RANLIB"
22650 if test -n "$RANLIB"; then
22651 echo "$ac_t""$RANLIB" 1>&6
22653 echo "$ac_t""no" 1>&6
22656 # Find a good install program. We prefer a C program (faster),
22657 # so one script is as good as another. But avoid the broken or
22658 # incompatible versions:
22659 # SysV /etc/install, /usr/sbin/install
22660 # SunOS /usr/etc/install
22661 # IRIX /sbin/install
22663 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
22664 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
22665 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
22666 # ./install, which can be erroneously created by make from ./install.sh.
22667 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
22668 echo "configure:22669: checking for a BSD compatible install" >&5
22669 if test -z "$INSTALL"; then
22670 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
22671 echo $ac_n "(cached) $ac_c" 1>&6
22673 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
22674 for ac_dir
in $PATH; do
22675 # Account for people who put trailing slashes in PATH elements.
22677 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
22679 # OSF1 and SCO ODT 3.0 have their own names for install.
22680 # Don't use installbsd from OSF since it installs stuff as root
22682 for ac_prog
in ginstall scoinst
install; do
22683 if test -f $ac_dir/$ac_prog; then
22684 if test $ac_prog = install &&
22685 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
22686 # AIX install. It has an incompatible calling convention.
22689 ac_cv_path_install
="$ac_dir/$ac_prog -c"
22700 if test "${ac_cv_path_install+set}" = set; then
22701 INSTALL
="$ac_cv_path_install"
22703 # As a last resort, use the slow shell script. We don't cache a
22704 # path for INSTALL within a source directory, because that will
22705 # break other packages using the cache if that directory is
22706 # removed, or if the path is relative.
22707 INSTALL
="$ac_install_sh"
22710 echo "$ac_t""$INSTALL" 1>&6
22712 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
22713 # It thinks the first close brace ends the variable substitution.
22714 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
22716 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
22718 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
22720 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
22721 echo "configure:22722: checking whether ln -s works" >&5
22722 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
22723 echo $ac_n "(cached) $ac_c" 1>&6
22726 if ln -s X conftestdata
2>/dev
/null
22729 ac_cv_prog_LN_S
="ln -s"
22734 LN_S
="$ac_cv_prog_LN_S"
22735 if test "$ac_cv_prog_LN_S" = "ln -s"; then
22736 echo "$ac_t""yes" 1>&6
22738 echo "$ac_t""no" 1>&6
22742 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
22743 echo "configure:22744: checking whether ${MAKE-make} sets \${MAKE}" >&5
22744 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
22745 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
22746 echo $ac_n "(cached) $ac_c" 1>&6
22748 cat > conftestmake
<<\EOF
22750 @
echo 'ac_maketemp="${MAKE}"'
22752 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22753 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
22754 if test -n "$ac_maketemp"; then
22755 eval ac_cv_prog_make_
${ac_make}_set
=yes
22757 eval ac_cv_prog_make_
${ac_make}_set
=no
22761 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
22762 echo "$ac_t""yes" 1>&6
22765 echo "$ac_t""no" 1>&6
22766 SET_MAKE
="MAKE=${MAKE-make}"
22771 if test "$build" != "$host" ; then
22773 STRIP
=$host_alias-strip
22775 # Extract the first word of "ar", so it can be a program name with args.
22776 set dummy
ar; ac_word
=$2
22777 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
22778 echo "configure:22779: checking for $ac_word" >&5
22779 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
22780 echo $ac_n "(cached) $ac_c" 1>&6
22782 if test -n "$AR"; then
22783 ac_cv_prog_AR
="$AR" # Let the user override the test.
22785 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
22787 for ac_dir
in $ac_dummy; do
22788 test -z "$ac_dir" && ac_dir
=.
22789 if test -f $ac_dir/$ac_word; then
22795 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
22798 AR
="$ac_cv_prog_AR"
22799 if test -n "$AR"; then
22800 echo "$ac_t""$AR" 1>&6
22802 echo "$ac_t""no" 1>&6
22805 # Extract the first word of "strip", so it can be a program name with args.
22806 set dummy strip
; ac_word
=$2
22807 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
22808 echo "configure:22809: checking for $ac_word" >&5
22809 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
22810 echo $ac_n "(cached) $ac_c" 1>&6
22812 if test -n "$STRIP"; then
22813 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
22815 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
22817 for ac_dir
in $ac_dummy; do
22818 test -z "$ac_dir" && ac_dir
=.
22819 if test -f $ac_dir/$ac_word; then
22820 ac_cv_prog_STRIP
="strip"
22825 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
22828 STRIP
="$ac_cv_prog_STRIP"
22829 if test -n "$STRIP"; then
22830 echo "$ac_t""$STRIP" 1>&6
22832 echo "$ac_t""no" 1>&6
22839 INSTALL_DIR
="mkdir"
22841 *) INSTALL_DIR
="$INSTALL -d"
22848 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
22849 echo "configure:22850: checking if make is GNU make" >&5
22850 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
22851 echo $ac_n "(cached) $ac_c" 1>&6
22854 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
22855 egrep -s GNU
> /dev
/null
); then
22856 bakefile_cv_prog_makeisgnu
="yes"
22858 bakefile_cv_prog_makeisgnu
="no"
22863 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
22865 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
22880 *-*-cygwin* | *-*-mingw32* )
22883 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
22886 powerpc
-*-darwin* )
22913 *-*-cygwin* | *-*-mingw32* )
22918 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
22922 powerpc
-*-darwin* )
22932 SHARED_LD_CC
="\$(CC) -shared -o"
22933 SHARED_LD_CXX
="\$(CXX) -shared -o"
22935 if test "x$GCC" = "xyes"; then
22941 if test "x$GCC" = "xyes"; then
22942 SHARED_LD_CC
="${CC} -shared ${PIC_FLAG} -o"
22943 SHARED_LD_CXX
="${CXX} -shared ${PIC_FLAG} -o"
22945 LDFLAGS
="$LDFLAGS -L/usr/lib"
22947 SHARED_LD_CC
="${CC} -b -o"
22948 SHARED_LD_CXX
="${CXX} -b -o"
22954 if test "x$GCC" != "xyes"; then
22955 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
22956 echo "configure:22957: checking for Intel compiler" >&5
22957 if eval "test \"`echo '$''{'bakefile_cv_prog_icc'+set}'`\" = set"; then
22958 echo $ac_n "(cached) $ac_c" 1>&6
22961 cat > conftest.
$ac_ext <<EOF
22962 #line 22963 "configure"
22963 #include "confdefs.h"
22967 #ifndef __INTEL_COMPILER
22973 if { (eval echo configure
:22974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22975 bakefile_cv_prog_icc
=yes
22977 echo "configure: failed program was:" >&5
22978 cat conftest.
$ac_ext >&5
22980 bakefile_cv_prog_icc
=no
22987 echo "$ac_t""$bakefile_cv_prog_icc" 1>&6
22988 if test "$bakefile_cv_prog_icc" = "yes"; then
22995 if test "x$GCC" != xyes
; then
22996 SHARED_LD_CC
="${CC} -G -o"
22997 SHARED_LD_CXX
="${CXX} -G -o"
23003 CFLAGS
="$CFLAGS -fno-common"
23004 CXXFLAGS
="$CXXFLAGS -fno-common"
23007 cat <<EOF >shared-ld-sh
23009 #-----------------------------------------------------------------------------
23010 #-- Name: distrib/mac/shared-ld-sh
23011 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
23012 #-- Author: Gilles Depeyrot
23013 #-- Copyright: (c) 2002 Gilles Depeyrot
23014 #-- Licence: any use permitted
23015 #-----------------------------------------------------------------------------
23021 while test \${#} -gt 0; do
23028 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
23029 # collect these options and values
23030 args="\${args} \${1} \${2}"
23034 -l*|-L*|-flat_namespace)
23035 # collect these options
23036 args="\${args} \${1}"
23040 # skip these options
23044 echo "shared-ld: unhandled option '\${1}'"
23049 # collect object files
23050 objects="\${objects} \${1}"
23054 echo "shared-ld: unhandled argument '\${1}'"
23063 # Link one module containing all the others
23065 if test \${verbose} = 1; then
23066 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
23068 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
23070 if test \${status} != 0; then
23075 # Link the shared library from the single module created
23077 if test \${verbose} = 1; then
23078 echo "cc -dynamiclib master.\$\$.o \${args}"
23080 c++ -dynamiclib master.\$\$.o \${args}
23082 if test \${status} != 0; then
23087 # Remove intermediate module
23089 rm -f master.\$\$.o
23093 chmod +x shared
-ld-sh
23095 SHARED_LD_CC
="`pwd`/shared-ld-sh -undefined suppress -flat_namespace -o"
23096 SHARED_LD_CXX
="$SHARED_LD_CC"
23097 PIC_FLAG
="-dynamic -fPIC"
23101 if test "x$GCC" != "xyes"; then
23102 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
23103 set dummy makeC
++SharedLib
; ac_word
=$2
23104 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
23105 echo "configure:23106: checking for $ac_word" >&5
23106 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
23107 echo $ac_n "(cached) $ac_c" 1>&6
23109 if test -n "$AIX_CXX_LD"; then
23110 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
23112 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
23114 for ac_dir
in $ac_dummy; do
23115 test -z "$ac_dir" && ac_dir
=.
23116 if test -f $ac_dir/$ac_word; then
23117 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
23122 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
23125 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
23126 if test -n "$AIX_CXX_LD"; then
23127 echo "$ac_t""$AIX_CXX_LD" 1>&6
23129 echo "$ac_t""no" 1>&6
23132 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
23133 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
23138 SHARED_LD_CC
="${LD} -shared -o"
23139 SHARED_LD_CXX
="${LD} -shared -o"
23143 if test "x$GCC" != "xyes"; then
23148 *-*-cygwin* | *-*-mingw32* )
23152 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
23160 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
23177 SONAME_FLAG
="-Wl,-soname,"
23206 if test "x$GCC" = "xyes"; then
23217 *-*-cygwin* | *-*-mingw32* )
23218 if test "$build" != "$host" ; then
23219 RESCOMP
=$host_alias-windres
23221 # Extract the first word of "windres", so it can be a program name with args.
23222 set dummy windres
; ac_word
=$2
23223 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
23224 echo "configure:23225: checking for $ac_word" >&5
23225 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
23226 echo $ac_n "(cached) $ac_c" 1>&6
23228 if test -n "$RESCOMP"; then
23229 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
23231 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
23233 for ac_dir
in $ac_dummy; do
23234 test -z "$ac_dir" && ac_dir
=.
23235 if test -f $ac_dir/$ac_word; then
23236 ac_cv_prog_RESCOMP
="windres"
23241 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
23244 RESCOMP
="$ac_cv_prog_RESCOMP"
23245 if test -n "$RESCOMP"; then
23246 echo "$ac_t""$RESCOMP" 1>&6
23248 echo "$ac_t""no" 1>&6
23255 # Extract the first word of "Rez", so it can be a program name with args.
23256 set dummy Rez
; ac_word
=$2
23257 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
23258 echo "configure:23259: checking for $ac_word" >&5
23259 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
23260 echo $ac_n "(cached) $ac_c" 1>&6
23262 if test -n "$RESCOMP"; then
23263 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
23265 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
23267 for ac_dir
in $ac_dummy; do
23268 test -z "$ac_dir" && ac_dir
=.
23269 if test -f $ac_dir/$ac_word; then
23270 ac_cv_prog_RESCOMP
="Rez"
23275 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
23278 RESCOMP
="$ac_cv_prog_RESCOMP"
23279 if test -n "$RESCOMP"; then
23280 echo "$ac_t""$RESCOMP" 1>&6
23282 echo "$ac_t""no" 1>&6
23285 # Extract the first word of "SetFile", so it can be a program name with args.
23286 set dummy SetFile
; ac_word
=$2
23287 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
23288 echo "configure:23289: checking for $ac_word" >&5
23289 if eval "test \"`echo '$''{'ac_cv_prog_SETFILE'+set}'`\" = set"; then
23290 echo $ac_n "(cached) $ac_c" 1>&6
23292 if test -n "$SETFILE"; then
23293 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
23295 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
23297 for ac_dir
in $ac_dummy; do
23298 test -z "$ac_dir" && ac_dir
=.
23299 if test -f $ac_dir/$ac_word; then
23300 ac_cv_prog_SETFILE
="SetFile"
23305 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
23308 SETFILE
="$ac_cv_prog_SETFILE"
23309 if test -n "$SETFILE"; then
23310 echo "$ac_t""$SETFILE" 1>&6
23312 echo "$ac_t""no" 1>&6
23324 COND_WXUSE_ZLIBBUILTIN
="#"
23325 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
23326 COND_WXUSE_ZLIBBUILTIN
=
23330 if test "x$UNICODE" = "x1" ; then
23334 COND_BUILDDEBUG
="#"
23335 if test "x$BUILD" = "xdebug" ; then
23339 COND_WXUSE_REGEXBUILTIN
="#"
23340 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
23341 COND_WXUSE_REGEXBUILTIN
=
23344 COND_USE_SOSYMLINKS1
="#"
23345 if test "x$USE_SOSYMLINKS" = "x1" ; then
23346 COND_USE_SOSYMLINKS1
=
23349 COND_WXUSE_LIBJPEGBUILTIN
="#"
23350 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
23351 COND_WXUSE_LIBJPEGBUILTIN
=
23354 COND_WXUSE_LIBPNGBUILTIN
="#"
23355 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
23356 COND_WXUSE_LIBPNGBUILTIN
=
23359 COND_WXUSE_ODBCBUILTIN
="#"
23360 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
23361 COND_WXUSE_ODBCBUILTIN
=
23364 COND_TOOLKITGTK
="#"
23365 if test "x$TOOLKIT" = "xGTK" ; then
23369 COND_TOOLKITMOTIF
="#"
23370 if test "x$TOOLKIT" = "xMOTIF" ; then
23374 COND_TOOLKITMSW
="#"
23375 if test "x$TOOLKIT" = "xMSW" ; then
23379 COND_TOOLKITMAC
="#"
23380 if test "x$TOOLKIT" = "xMAC" ; then
23384 COND_TOOLKITCOCOA
="#"
23385 if test "x$TOOLKIT" = "xCOCOA" ; then
23389 COND_TOOLKITOS2
="#"
23390 if test "x$TOOLKIT" = "xOS2" ; then
23394 COND_TOOLKITX11
="#"
23395 if test "x$TOOLKIT" = "xX11" ; then
23399 COND_TOOLKITMGL
="#"
23400 if test "x$TOOLKIT" = "xMGL" ; then
23405 if test "x$WXUNIV" = "x1" ; then
23409 COND_SHARED0_MONOLITHIC1
="#"
23410 if test "x$SHARED" = "x0" -a \
23411 "x$MONOLITHIC" = "x1" ; then
23412 COND_SHARED0_MONOLITHIC1
=
23415 COND_SHARED1_MONOLITHIC1
="#"
23416 if test "x$SHARED" = "x1" -a \
23417 "x$MONOLITHIC" = "x1" ; then
23418 COND_SHARED1_MONOLITHIC1
=
23421 COND_PLATFORM_UNIX1
="#"
23422 if test "x$PLATFORM_UNIX" = "x1" ; then
23423 COND_PLATFORM_UNIX1
=
23426 COND_PLATFORM_MACOSX1
="#"
23427 if test "x$PLATFORM_MACOSX" = "x1" ; then
23428 COND_PLATFORM_MACOSX1
=
23431 COND_PLATFORM_WIN321
="#"
23432 if test "x$PLATFORM_WIN32" = "x1" ; then
23433 COND_PLATFORM_WIN321
=
23436 COND_USE_SOVERSION1_PLATFORM_MACOSX0
="#"
23437 if test "x$USE_SOVERSION" = "x1" -a \
23438 "x$PLATFORM_MACOSX" = "x0" ; then
23439 COND_USE_SOVERSION1_PLATFORM_MACOSX0
=
23442 COND_USE_SOVERSION1_PLATFORM_MACOSX1
="#"
23443 if test "x$USE_SOVERSION" = "x1" -a \
23444 "x$PLATFORM_MACOSX" = "x1" ; then
23445 COND_USE_SOVERSION1_PLATFORM_MACOSX1
=
23448 COND_WXUSE_LIBTIFFBUILTIN
="#"
23449 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
23450 COND_WXUSE_LIBTIFFBUILTIN
=
23453 COND_PLATFORM_WIN320
="#"
23454 if test "x$PLATFORM_WIN32" = "x0" ; then
23455 COND_PLATFORM_WIN320
=
23458 COND_MONOLITHIC1
="#"
23459 if test "x$MONOLITHIC" = "x1" ; then
23463 COND_MONOLITHIC0
="#"
23464 if test "x$MONOLITHIC" = "x0" ; then
23469 if test "x$USE_GUI" = "x1" ; then
23473 COND_DEPS_TYPEGCC
="#"
23474 if test "x$DEPS_TYPE" = "xgcc" ; then
23479 if test "x$USE_GUI" = "x0" ; then
23483 COND_USE_GUI1_WXUNIV0
="#"
23484 if test "x$USE_GUI" = "x1" -a \
23485 "x$WXUNIV" = "x0" ; then
23486 COND_USE_GUI1_WXUNIV0
=
23489 COND_USE_GUI1_WXUNIV1
="#"
23490 if test "x$USE_GUI" = "x1" -a \
23491 "x$WXUNIV" = "x1" ; then
23492 COND_USE_GUI1_WXUNIV1
=
23495 COND_USE_SOVERLINUX1
="#"
23496 if test "x$USE_SOVERLINUX" = "x1" ; then
23497 COND_USE_SOVERLINUX1
=
23500 COND_USE_SOVERSOLARIS1
="#"
23501 if test "x$USE_SOVERSOLARIS" = "x1" ; then
23502 COND_USE_SOVERSOLARIS1
=
23508 if test "$GXX" = yes ; then
23509 CXXWARNINGS
="-Wall"
23512 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
23514 CPPFLAGS
=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
23515 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
23516 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
23517 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
23519 LDFLAGS
="$LDFLAGS $PROFILE"
23521 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
23622 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
23623 echo "configure:23624: checking whether ${MAKE-make} sets \${MAKE}" >&5
23624 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
23625 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
23626 echo $ac_n "(cached) $ac_c" 1>&6
23628 cat > conftestmake
<<\EOF
23630 @
echo 'ac_maketemp="${MAKE}"'
23632 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23633 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
23634 if test -n "$ac_maketemp"; then
23635 eval ac_cv_prog_make_
${ac_make}_set
=yes
23637 eval ac_cv_prog_make_
${ac_make}_set
=no
23641 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
23642 echo "$ac_t""yes" 1>&6
23645 echo "$ac_t""no" 1>&6
23646 SET_MAKE
="MAKE=${MAKE-make}"
23650 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
23651 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
23656 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
23657 wx_cv_if_gnu_make
=$IF_GNU_MAKE
23658 wx_cv_path_ifs
=$PATH_IFS
23659 wx_cv_program_ext
=$PROGRAM_EXT
23660 wx_cv_target_library
=$WX_TARGET_LIBRARY
23661 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
23662 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
23663 wx_cv_library_basename
=${WX_LIBRARY_BASENAME}
23664 wx_cv_release
=${WX_RELEASE}
23665 wx_cv_current
=${WX_CURRENT}
23666 wx_cv_revision
=${WX_REVISION}
23667 wx_cv_age
=${WX_AGE}
23668 wx_cv_use_gui
=${USE_GUI}
23669 wx_cv_use_resources
=${wxUSE_RESOURCES}
23670 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
23671 wx_cv_path_ifs wx_cv_program_ext \
23672 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype \
23673 wx_cv_library_basename \
23674 wx_cv_release wx_cv_current wx_cv_revision wx_cv_age \
23675 wx_cv_use_gui wx_cv_use_resources \
23676 CFLAGS LDFLAGS CXXFLAGS CPPFLAGS \
23677 top_builddir USE_GUI MONOLITHIC \
23678 wxUSE_ZLIB wxUSE_REGEX wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG \
23679 wxUSE_LIBTIFF EXTRALIBS UNICODE BUILD SHARED TOOLKIT TOOLKIT_LOWERCASE \
23680 TOOLKIT_VERSION SAMPLES_RPATH_FLAG WXUNIV
23682 subdirs
="demos samples utils contrib"
23686 cat > confcache
<<\EOF
23687 # This file is a shell script that caches the results of configure
23688 # tests run on this system so they can be shared between configure
23689 # scripts and configure runs. It is not useful on other systems.
23690 # If it contains results you don't want to keep, you may remove or edit it.
23692 # By default, configure uses ./config.cache as the cache file,
23693 # creating it if it does not exist already. You can give configure
23694 # the --cache-file=FILE option to use a different cache file; that is
23695 # what configure does when it calls configure scripts in
23696 # subdirectories, so they share the cache.
23697 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23698 # config.status only pays attention to the cache file if you give it the
23699 # --recheck option to rerun configure.
23702 # The following way of writing the cache mishandles newlines in values,
23703 # but we know of no workaround that is simple, portable, and efficient.
23704 # So, don't put newlines in cache variables' values.
23705 # Ultrix sh set writes to stderr and can't be redirected directly,
23706 # and sets the high bit in the cache file unless we assign to the vars.
23708 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23710 # `set' does not quote correctly, so add quotes (double-quote substitution
23711 # turns \\\\ into \\, and sed turns \\ into \).
23713 -e "s/'/'\\\\''/g" \
23714 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
23717 # `set' quotes correctly as required by POSIX, so do not add quotes.
23718 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23721 if cmp -s $cache_file confcache
; then
23724 if test -w $cache_file; then
23725 echo "updating cache $cache_file"
23726 cat confcache
> $cache_file
23728 echo "not updating unwritable cache $cache_file"
23733 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
23735 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23736 # Let make expand exec_prefix.
23737 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23739 # Any assignment to VPATH causes Sun make to only execute
23740 # the first set of double-colon rules, so remove it if not needed.
23741 # If there is a colon in the path, we need to keep it.
23742 if test "x$srcdir" = x.
; then
23743 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
23746 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
23748 DEFS
=-DHAVE_CONFIG_H
23750 # Without the "./", some shells look in PATH for config.status.
23751 : ${CONFIG_STATUS=./config.status}
23753 echo creating
$CONFIG_STATUS
23754 rm -f $CONFIG_STATUS
23755 cat > $CONFIG_STATUS <<EOF
23757 # Generated automatically by configure.
23758 # Run this file to recreate the current configuration.
23759 # This directory was configured as follows,
23760 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23762 # $0 $ac_configure_args
23764 # Compiler output produced by configure, useful for debugging
23765 # configure, is in ./config.log if it exists.
23767 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
23770 case "\$ac_option" in
23771 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23772 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
23773 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
23774 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
23775 echo "$CONFIG_STATUS generated by autoconf version 2.13"
23777 -help | --help | --hel | --he | --h)
23778 echo "\$ac_cs_usage"; exit 0 ;;
23779 *) echo "\$ac_cs_usage"; exit 1 ;;
23783 ac_given_srcdir=$srcdir
23784 ac_given_INSTALL="$INSTALL"
23786 trap 'rm -fr `echo "
23790 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
23792 cat >> $CONFIG_STATUS <<EOF
23794 # Protect against being on the right side of a sed subst in config.status.
23795 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
23796 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
23800 s%@CFLAGS@%$CFLAGS%g
23801 s%@CPPFLAGS@%$CPPFLAGS%g
23802 s%@CXXFLAGS@%$CXXFLAGS%g
23803 s%@FFLAGS@%$FFLAGS%g
23805 s%@LDFLAGS@%$LDFLAGS%g
23807 s%@exec_prefix@%$exec_prefix%g
23808 s%@prefix@%$prefix%g
23809 s%@program_transform_name@%$program_transform_name%g
23810 s%@bindir@%$bindir%g
23811 s%@sbindir@%$sbindir%g
23812 s%@libexecdir@%$libexecdir%g
23813 s%@datadir@%$datadir%g
23814 s%@sysconfdir@%$sysconfdir%g
23815 s%@sharedstatedir@%$sharedstatedir%g
23816 s%@localstatedir@%$localstatedir%g
23817 s%@libdir@%$libdir%g
23818 s%@includedir@%$includedir%g
23819 s%@oldincludedir@%$oldincludedir%g
23820 s%@infodir@%$infodir%g
23821 s%@mandir@%$mandir%g
23823 s%@host_alias@%$host_alias%g
23824 s%@host_cpu@%$host_cpu%g
23825 s%@host_vendor@%$host_vendor%g
23826 s%@host_os@%$host_os%g
23827 s%@target@%$target%g
23828 s%@target_alias@%$target_alias%g
23829 s%@target_cpu@%$target_cpu%g
23830 s%@target_vendor@%$target_vendor%g
23831 s%@target_os@%$target_os%g
23833 s%@build_alias@%$build_alias%g
23834 s%@build_cpu@%$build_cpu%g
23835 s%@build_vendor@%$build_vendor%g
23836 s%@build_os@%$build_os%g
23840 s%@RANLIB@%$RANLIB%g
23842 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
23843 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
23844 s%@INSTALL_DATA@%$INSTALL_DATA%g
23846 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
23849 s%@LEXLIB@%$LEXLIB%g
23851 s%@CXXCPP@%$CXXCPP%g
23852 s%@PKG_CONFIG@%$PKG_CONFIG%g
23853 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
23854 s%@GTK_LIBS@%$GTK_LIBS%g
23855 s%@GTK_CONFIG@%$GTK_CONFIG%g
23856 s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
23857 s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
23858 s%@X_CFLAGS@%$X_CFLAGS%g
23859 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
23860 s%@X_LIBS@%$X_LIBS%g
23861 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
23862 s%@PANGOX_CFLAGS@%$PANGOX_CFLAGS%g
23863 s%@PANGOX_LIBS@%$PANGOX_LIBS%g
23864 s%@PANGOXFT_CFLAGS@%$PANGOXFT_CFLAGS%g
23865 s%@PANGOXFT_LIBS@%$PANGOXFT_LIBS%g
23866 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
23867 s%@RESCOMP@%$RESCOMP%g
23869 s%@SETFILE@%$SETFILE%g
23870 s%@LIBICONV@%$LIBICONV%g
23871 s%@wxUSE_ZLIB@%$wxUSE_ZLIB%g
23872 s%@wxUSE_REGEX@%$wxUSE_REGEX%g
23873 s%@wxUSE_ODBC@%$wxUSE_ODBC%g
23874 s%@wxUSE_LIBJPEG@%$wxUSE_LIBJPEG%g
23875 s%@wxUSE_LIBPNG@%$wxUSE_LIBPNG%g
23876 s%@wxUSE_LIBTIFF@%$wxUSE_LIBTIFF%g
23877 s%@WXUNIV@%$WXUNIV%g
23878 s%@MONOLITHIC@%$MONOLITHIC%g
23879 s%@EXTRALIBS@%$EXTRALIBS%g
23880 s%@UNICODE@%$UNICODE%g
23882 s%@SHARED@%$SHARED%g
23883 s%@TOOLKIT_LOWERCASE@%$TOOLKIT_LOWERCASE%g
23884 s%@TOOLKIT_VERSION@%$TOOLKIT_VERSION%g
23885 s%@SAMPLES_RPATH_FLAG@%$SAMPLES_RPATH_FLAG%g
23886 s%@SET_MAKE@%$SET_MAKE%g
23887 s%@MAKE_SET@%$MAKE_SET%g
23888 s%@INSTALL_DIR@%$INSTALL_DIR%g
23889 s%@PLATFORM_UNIX@%$PLATFORM_UNIX%g
23890 s%@PLATFORM_WIN32@%$PLATFORM_WIN32%g
23891 s%@PLATFORM_MSDOS@%$PLATFORM_MSDOS%g
23892 s%@PLATFORM_MAC@%$PLATFORM_MAC%g
23893 s%@PLATFORM_MACOSX@%$PLATFORM_MACOSX%g
23894 s%@SO_SUFFIX@%$SO_SUFFIX%g
23895 s%@EXEEXT@%$EXEEXT%g
23896 s%@DLLPREFIX@%$DLLPREFIX%g
23897 s%@SHARED_LD_CC@%$SHARED_LD_CC%g
23898 s%@SHARED_LD_CXX@%$SHARED_LD_CXX%g
23899 s%@PIC_FLAG@%$PIC_FLAG%g
23900 s%@USE_SOVERSION@%$USE_SOVERSION%g
23901 s%@USE_SOVERLINUX@%$USE_SOVERLINUX%g
23902 s%@USE_SOVERSOLARIS@%$USE_SOVERSOLARIS%g
23903 s%@USE_MACVERSION@%$USE_MACVERSION%g
23904 s%@USE_SOSYMLINKS@%$USE_SOSYMLINKS%g
23905 s%@SONAME_FLAG@%$SONAME_FLAG%g
23906 s%@DEPS_TYPE@%$DEPS_TYPE%g
23907 s%@COND_WXUSE_ZLIBBUILTIN@%$COND_WXUSE_ZLIBBUILTIN%g
23908 s%@COND_UNICODE1@%$COND_UNICODE1%g
23909 s%@COND_BUILDDEBUG@%$COND_BUILDDEBUG%g
23910 s%@COND_WXUSE_REGEXBUILTIN@%$COND_WXUSE_REGEXBUILTIN%g
23911 s%@COND_USE_SOSYMLINKS1@%$COND_USE_SOSYMLINKS1%g
23912 s%@COND_WXUSE_LIBJPEGBUILTIN@%$COND_WXUSE_LIBJPEGBUILTIN%g
23913 s%@COND_WXUSE_LIBPNGBUILTIN@%$COND_WXUSE_LIBPNGBUILTIN%g
23914 s%@COND_WXUSE_ODBCBUILTIN@%$COND_WXUSE_ODBCBUILTIN%g
23915 s%@COND_TOOLKITGTK@%$COND_TOOLKITGTK%g
23916 s%@COND_TOOLKITMOTIF@%$COND_TOOLKITMOTIF%g
23917 s%@COND_TOOLKITMSW@%$COND_TOOLKITMSW%g
23918 s%@COND_TOOLKITMAC@%$COND_TOOLKITMAC%g
23919 s%@COND_TOOLKITCOCOA@%$COND_TOOLKITCOCOA%g
23920 s%@COND_TOOLKITOS2@%$COND_TOOLKITOS2%g
23921 s%@COND_TOOLKITX11@%$COND_TOOLKITX11%g
23922 s%@COND_TOOLKITMGL@%$COND_TOOLKITMGL%g
23923 s%@COND_WXUNIV1@%$COND_WXUNIV1%g
23924 s%@COND_SHARED0_MONOLITHIC1@%$COND_SHARED0_MONOLITHIC1%g
23925 s%@COND_SHARED1_MONOLITHIC1@%$COND_SHARED1_MONOLITHIC1%g
23926 s%@COND_PLATFORM_UNIX1@%$COND_PLATFORM_UNIX1%g
23927 s%@COND_PLATFORM_MACOSX1@%$COND_PLATFORM_MACOSX1%g
23928 s%@COND_PLATFORM_WIN321@%$COND_PLATFORM_WIN321%g
23929 s%@COND_USE_SOVERSION1_PLATFORM_MACOSX0@%$COND_USE_SOVERSION1_PLATFORM_MACOSX0%g
23930 s%@COND_USE_SOVERSION1_PLATFORM_MACOSX1@%$COND_USE_SOVERSION1_PLATFORM_MACOSX1%g
23931 s%@COND_WXUSE_LIBTIFFBUILTIN@%$COND_WXUSE_LIBTIFFBUILTIN%g
23932 s%@COND_PLATFORM_WIN320@%$COND_PLATFORM_WIN320%g
23933 s%@COND_MONOLITHIC1@%$COND_MONOLITHIC1%g
23934 s%@COND_MONOLITHIC0@%$COND_MONOLITHIC0%g
23935 s%@COND_USE_GUI1@%$COND_USE_GUI1%g
23936 s%@COND_DEPS_TYPEGCC@%$COND_DEPS_TYPEGCC%g
23937 s%@COND_USE_GUI0@%$COND_USE_GUI0%g
23938 s%@COND_USE_GUI1_WXUNIV0@%$COND_USE_GUI1_WXUNIV0%g
23939 s%@COND_USE_GUI1_WXUNIV1@%$COND_USE_GUI1_WXUNIV1%g
23940 s%@COND_USE_SOVERLINUX1@%$COND_USE_SOVERLINUX1%g
23941 s%@COND_USE_SOVERSOLARIS1@%$COND_USE_SOVERSOLARIS1%g
23942 s%@LEX_STEM@%$LEX_STEM%g
23943 s%@PATH_IFS@%$PATH_IFS%g
23944 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
23945 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
23946 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
23947 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
23948 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
23949 s%@WX_LIBRARY_BASENAME@%$WX_LIBRARY_BASENAME%g
23950 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
23951 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
23952 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
23953 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
23954 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
23955 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
23956 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
23957 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
23958 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
23959 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
23960 s%@WX_ALL@%$WX_ALL%g
23961 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
23962 s%@SHARED_LD@%$SHARED_LD%g
23963 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
23964 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
23965 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
23966 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
23967 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
23968 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
23969 s%@STATIC_FLAG@%$STATIC_FLAG%g
23970 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
23971 s%@USE_GUI@%$USE_GUI%g
23972 s%@AFMINSTALL@%$AFMINSTALL%g
23973 s%@WIN32INSTALL@%$WIN32INSTALL%g
23974 s%@TOOLKIT@%$TOOLKIT%g
23975 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
23976 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
23977 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
23978 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
23979 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
23980 s%@top_builddir@%$top_builddir%g
23981 s%@cross_compiling@%$cross_compiling%g
23982 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
23983 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
23984 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
23985 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
23986 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
23987 s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
23988 s%@WX_LARGEFILE_FLAGS@%$WX_LARGEFILE_FLAGS%g
23989 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
23990 s%@ALL_HEADERS@%$ALL_HEADERS%g
23991 s%@ALL_SOURCES@%$ALL_SOURCES%g
23992 s%@GUIDIST@%$GUIDIST%g
23993 s%@PORT_FILES@%$PORT_FILES%g
23994 s%@DISTDIR@%$DISTDIR%g
23995 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
23996 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
23997 s%@LDFLAGS_VERSIONING@%$LDFLAGS_VERSIONING%g
23998 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
23999 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
24000 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
24001 s%@WX_VERSION_TAG@%$WX_VERSION_TAG%g
24002 s%@RESFLAGS@%$RESFLAGS%g
24003 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
24004 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
24005 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
24006 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
24007 s%@LIBWXMACRES@%$LIBWXMACRES%g
24008 s%@MACRESCOMP@%$MACRESCOMP%g
24009 s%@MACSETFILE@%$MACSETFILE%g
24010 s%@MACRESWXCONFIG@%$MACRESWXCONFIG%g
24012 s%@DLLTOOL@%$DLLTOOL%g
24016 s%@MAKEINFO@%$MAKEINFO%g
24017 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
24018 s%@subdirs@%$subdirs%g
24023 cat >> $CONFIG_STATUS <<\EOF
24025 # Split the substitutions into bite-sized pieces for seds with
24026 # small command number limits, like on Digital OSF/1 and HP-UX.
24027 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
24028 ac_file
=1 # Number of current file.
24029 ac_beg
=1 # First line for current file.
24030 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
24033 while $ac_more_lines; do
24034 if test $ac_beg -gt 1; then
24035 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
24037 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
24039 if test ! -s conftest.s
$ac_file; then
24040 ac_more_lines
=false
24041 rm -f conftest.s
$ac_file
24043 if test -z "$ac_sed_cmds"; then
24044 ac_sed_cmds
="sed -f conftest.s$ac_file"
24046 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
24048 ac_file
=`expr $ac_file + 1`
24050 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
24053 if test -z "$ac_sed_cmds"; then
24058 cat >> $CONFIG_STATUS <<EOF
24060 CONFIG_FILES=\${CONFIG_FILES-"wx-config
24065 cat >> $CONFIG_STATUS <<\EOF
24066 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
24067 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24069 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
24070 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
24071 *) ac_file_in
="${ac_file}.in" ;;
24074 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
24076 # Remove last slash and all that follows it. Not all systems have dirname.
24077 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24078 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
24079 # The file is in a subdirectory.
24080 test ! -d "$ac_dir" && mkdir "$ac_dir"
24081 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
24082 # A "../" for each directory in $ac_dir_suffix.
24083 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
24085 ac_dir_suffix
= ac_dots
=
24088 case "$ac_given_srcdir" in
24090 if test -z "$ac_dots"; then top_srcdir
=.
24091 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
24092 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
24093 *) # Relative path.
24094 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
24095 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
24098 case "$ac_given_INSTALL" in
24099 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
24100 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
24103 echo creating
"$ac_file"
24105 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
24107 *Makefile
*) ac_comsub
="1i\\
24108 # $configure_input" ;;
24112 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24114 s%@configure_input@%$configure_input%g
24115 s%@srcdir@%$srcdir%g
24116 s%@top_srcdir@%$top_srcdir%g
24117 s%@INSTALL@%$INSTALL%g
24118 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
24122 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24123 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24125 # ac_d sets the value in "#define NAME VALUE" lines.
24126 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24127 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
24130 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
24131 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24132 ac_uB
='\([ ]\)%\1#\2define\3'
24135 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24136 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24137 ac_eB
='$%\1#\2define\3'
24141 if test "${CONFIG_HEADERS+set}" != set; then
24143 cat >> $CONFIG_STATUS <<EOF
24144 CONFIG_HEADERS="setup.h:setup.h.in"
24146 cat >> $CONFIG_STATUS <<\EOF
24148 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
24149 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24151 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
24152 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
24153 *) ac_file_in
="${ac_file}.in" ;;
24156 echo creating
$ac_file
24158 rm -f conftest.frag conftest.
in conftest.out
24159 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24160 cat $ac_file_inputs > conftest.
in
24164 # Transform confdefs.h into a sed script conftest.vals that substitutes
24165 # the proper values into config.h.in to produce config.h. And first:
24166 # Protect against being on the right side of a sed subst in config.status.
24167 # Protect against being in an unquoted here document in config.status.
24168 rm -f conftest.vals
24169 cat > conftest.hdr
<<\EOF
24172 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
24176 sed -n -f conftest.hdr confdefs.h > conftest.vals
24179 # This sed command replaces #undef with comments. This is necessary, for
24180 # example, in the case of _POSIX_SOURCE, which is predefined and required
24181 # on some systems where configure will not decide to define it.
24182 cat >> conftest.vals <<\EOF
24183 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
24186 # Break up conftest.vals because some shells have a limit on
24187 # the size of here documents, and old seds have small limits too.
24189 rm -f conftest.tail
24192 ac_lines=`grep -c . conftest.vals
`
24193 # grep -c gives empty output for an empty file on some AIX systems.
24194 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
24195 # Write a limited-size here document to conftest.frag.
24196 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
24197 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
24199 sed -f conftest.frag conftest.in > conftest.out
24201 mv conftest.out conftest.in
24202 ' >> $CONFIG_STATUS
24203 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
24204 rm -f conftest.vals
24205 mv conftest.tail conftest.vals
24207 rm -f conftest.vals
24209 cat >> $CONFIG_STATUS <<\EOF
24210 rm -f conftest.frag conftest.h
24211 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
24212 cat conftest.in >> conftest.h
24214 if cmp -s $ac_file conftest.h 2>/dev/null; then
24215 echo "$ac_file is unchanged"
24218 # Remove last slash and all that follows it. Not all systems have dirname.
24219 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24220 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24221 # The file is in a subdirectory.
24222 test ! -d "$ac_dir" && mkdir "$ac_dir"
24225 mv conftest.h $ac_file
24230 cat >> $CONFIG_STATUS <<EOF
24232 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
24237 cat >> $CONFIG_STATUS <<\EOF
24239 if test ! -h wx-config; then
24241 mv wx-config wx${TOOLCHAIN_NAME}-config
24242 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
24245 if test ! -d lib; then
24248 if test ! -d lib/wx; then
24251 if test ! -d lib/wx/include; then
24252 mkdir lib/wx/include
24254 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
24255 mkdir lib/wx/include/${TOOLCHAIN_NAME}
24257 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
24258 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
24260 if test -f setup.h; then
24261 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
24266 chmod +x $CONFIG_STATUS
24267 rm -fr confdefs* $ac_clean_files
24268 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24270 if test "$no_recursion" != yes; then
24272 # Remove --cache-file and --srcdir arguments so they do not pile up.
24273 ac_sub_configure_args=
24275 for ac_arg in $ac_configure_args; do
24276 if test -n "$ac_prev"; then
24281 -cache-file | --cache-file | --cache-fil | --cache-fi \
24282 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
24283 ac_prev=cache_file ;;
24284 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
24285 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
24287 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
24289 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
24291 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
24295 for ac_config_dir in demos samples utils contrib; do
24297 # Do not complain, so a configure script can configure whichever
24298 # parts of a large source tree are present.
24299 if test ! -d $srcdir/$ac_config_dir; then
24303 echo configuring in $ac_config_dir
24308 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
24310 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
24318 # A "../" for each directory in /$ac_config_dir.
24319 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
24322 .) # No --srcdir option. We are building in place.
24323 ac_sub_srcdir=$srcdir ;;
24324 /*) # Absolute path.
24325 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
24326 *) # Relative path.
24327 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
24330 # Check for guested configure; otherwise get Cygnus style configure.
24331 if test -f $ac_sub_srcdir/configure; then
24332 ac_sub_configure=$ac_sub_srcdir/configure
24333 elif test -f $ac_sub_srcdir/configure.in; then
24334 ac_sub_configure=$ac_configure
24336 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
24340 # The recursion is here.
24341 if test -n "$ac_sub_configure"; then
24343 # Make the cache file name correct relative to the subdirectory.
24344 case "$cache_file" in
24345 /*) ac_sub_cache_file=$cache_file ;;
24346 *) # Relative path.
24347 ac_sub_cache_file="$ac_dots$cache_file" ;;
24349 case "$ac_given_INSTALL" in
24350 [/$]*) INSTALL="$ac_given_INSTALL" ;;
24351 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
24354 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
24355 # The eval makes quoting arguments work.
24356 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
24359 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
24369 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
24371 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
24373 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
24374 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
24375 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
24377 echo " What level of wxWindows compatibility should be enabled?"
24378 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
24379 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
24380 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
24382 echo " Which libraries should wxWindows use?"
24383 echo " jpeg ${wxUSE_LIBJPEG-none}"
24384 echo " png ${wxUSE_LIBPNG-none}"
24385 echo " regex ${wxUSE_REGEX}"
24386 echo " tiff ${wxUSE_LIBTIFF-none}"
24387 echo " zlib ${wxUSE_ZLIB}"
24388 echo " odbc ${wxUSE_ODBC}"