3 # From configure.in Id: configure.in
62 # Configure paths for GTK+
63 # Owen Taylor 1997-2001
67 # Configure paths for GTK+
77 # Guess values for system-dependent variables and create Makefiles.
78 # Generated automatically using autoconf version 2.13
79 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
81 # This configure script is free software; the Free Software Foundation
82 # gives unlimited permission to copy, distribute and modify it.
86 ac_default_prefix
=/usr
/local
87 # Any additions from configure.in:
89 --enable-gui use GUI classes"
91 --enable-universal use wxWindows GUI controls instead of native ones"
95 --with-motif use Motif/Lesstif"
97 --with-mac use Mac OS X"
101 --with-msw use MS-Windows"
103 --with-pm use OS/2 Presentation Manager"
105 --with-mgl use SciTech MGL"
107 --with-microwin use MicroWindows"
111 --enable-nanox use NanoX"
113 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
115 --with-libpng use libpng (PNG image format)"
117 --with-libjpeg use libjpeg (JPEG file format)"
119 --with-libtiff use libtiff (TIFF file format)"
121 --with-opengl use OpenGL (or Mesa)"
123 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
125 --with-regex enable support for wxRegEx class"
127 --with-zlib use zlib for LZW compression"
129 --with-odbc use the IODBC and wxODBC classes"
131 --enable-shared create shared library code"
133 --enable-soname set the DT_SONAME field in ELF shared libraries"
135 --enable-optimise create optimised code"
137 --enable-debug same as debug_flag and debug_info"
139 --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)"
141 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
143 --enable-debug_info create code with debugging information"
145 --enable-debug_gdb create code with extra GDB debugging information"
147 --enable-debug_cntxt use wxDebugContext"
149 --enable-mem_tracing create code with memory tracing"
151 --enable-profile create code with profiling information"
153 --enable-no_rtti create code without RTTI information"
155 --enable-no_exceptions create code without C++ exceptions handling"
157 --enable-permissive compile code disregarding strict ANSI"
159 --enable-no_deps create code without dependency information"
161 --enable-compat20 enable wxWindows 2.0 compatibility"
163 --enable-compat22 enable wxWindows 2.2 compatibility"
165 --disable-compat24 disable wxWindows 2.4 compatibility"
167 --enable-rpath=DIR output the rpath flag from wx-config"
169 --enable-intl use internationalization system"
171 --enable-config use wxConfig (and derived) classes"
173 --enable-protocols use wxProtocol and derived classes"
175 --enable-ftp use wxFTP (requires wxProtocol"
177 --enable-http use wxHTTP (requires wxProtocol"
179 --enable-fileproto use wxFileProto class (requires wxProtocol"
181 --enable-sockets use socket/network classes"
183 --enable-ole use OLE classes"
185 --enable-dataobj use data object classes"
187 --enable-ipc use interprocess communication (wxSocket etc.)"
189 --enable-cmdline use wxCmdLineParser class"
191 --enable-datetime use wxDateTime class"
193 --enable-timedate use obsolete wxDate/wxTime classes"
195 --enable-stopwatch use wxStopWatch class"
197 --enable-dialupman use dialup network classes"
199 --enable-apple_ieee use the Apple IEEE codec"
201 --enable-timer use wxTimer class"
203 --enable-wave use wxWave class"
205 --enable-fraction use wxFraction class"
207 --enable-dynlib use wxLibrary class for DLL loading"
209 --enable-dynamicloader use (new) wxDynamicLibrary class"
211 --enable-longlong use wxLongLong class"
213 --enable-geometry use geometry class"
215 --enable-log use logging system"
217 --enable-streams use wxStream etc classes"
219 --enable-file use wxFile classes"
221 --enable-ffile use wxFFile classes"
223 --enable-textbuf use wxTextBuffer class"
225 --enable-textfile use wxTextFile class"
227 --enable-fontmap use font encodings conversion classes"
229 --enable-unicode compile wxString with Unicode support"
231 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
233 --enable-wxprintfv use wxWindows implementation of vprintf()"
235 --enable-std_iostreams use standard C++ stream classes"
237 --enable-filesystem use virtual file systems classes"
239 --enable-fs_inet use virtual HTTP/FTP filesystems"
241 --enable-fs_zip use virtual ZIP filesystems"
243 --enable-zipstream use wxZipInputStream"
245 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
247 --enable-snglinst use wxSingleInstanceChecker class"
249 --enable-mimetype use wxMimeTypesManager"
251 --enable-sysoptions use wxSystemOptions"
253 --enable-url use wxURL class"
255 --enable-protocol use wxProtocol class"
257 --enable-protocol-http HTTP support in wxProtocol"
259 --enable-protocol-ftp FTP support in wxProtocol"
261 --enable-protocol-file FILE support in wxProtocol"
263 --enable-threads use threads"
265 --enable-docview use document view architecture"
267 --enable-help use help subsystem"
269 --enable-mshtmlhelp use MS HTML Help (win32)"
271 --enable-html use wxHTML sub-library"
273 --enable-htmlhelp use wxHTML-based help"
275 --enable-constraints use layout-constraints system"
277 --enable-printarch use printing architecture"
279 --enable-mdi use multiple document interface architecture"
281 --enable-loggui use standard GUI logger"
283 --enable-logwin use wxLogWindow"
285 --enable-logdialog use wxLogDialog"
287 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
289 --enable-prologio use Prolog IO library"
291 --enable-resources use wxWindows resources"
293 --enable-xresources use X resources for save (default for gtk+)"
295 --enable-clipboard use wxClipboard class"
297 --enable-dnd use Drag'n'Drop classes"
299 --enable-metafile use win32 metafiles"
301 --enable-treelayout use wxTreeLayout class"
303 --enable-controls use all usual controls"
305 --enable-accel use accelerators"
307 --enable-button use wxButton class"
309 --enable-bmpbutton use wxBitmapButton class"
311 --enable-calendar use wxCalendarCtrl class"
313 --enable-caret use wxCaret class"
315 --enable-checkbox use wxCheckBox class"
317 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
319 --enable-choice use wxChoice class"
321 --enable-combobox use wxComboBox class"
323 --enable-display use wxDisplay class"
325 --enable-gauge use wxGauge class"
327 --enable-grid use wxGrid class"
329 --enable-newgrid use new wxGrid class"
331 --enable-imaglist use wxImageList class"
333 --enable-listbox use wxListBox class"
335 --enable-listctrl use wxListCtrl class"
337 --enable-notebook use wxNotebook class"
339 --enable-propsheet use wxPropertySheet class"
341 --enable-radiobox use wxRadioBox class"
343 --enable-radiobtn use wxRadioButton class"
345 --enable-sash use wxSashWindow class"
347 --enable-scrollbar use wxScrollBar class and scrollable windows"
349 --enable-slider use wxSlider class"
351 --enable-spinbtn use wxSpinButton class"
353 --enable-spinctrl use wxSpinCtrl class"
355 --enable-splitter use wxSplitterWindow class"
357 --enable-statbmp use wxStaticBitmap class"
359 --enable-statbox use wxStaticBox class"
361 --enable-statline use wxStaticLine class"
363 --enable-stattext use wxStaticText class"
365 --enable-statusbar use wxStatusBar class"
367 --enable-tabdialog use wxTabControl class"
369 --enable-textctrl use wxTextCtrl class"
371 --enable-togglebtn use wxToggleButton class"
373 --enable-toolbar use wxToolBar class"
375 --enable-tbarnative use native wxToolBar class"
377 --enable-tbarsmpl use wxToolBarSimple class"
379 --enable-treectrl use wxTreeCtrl class"
381 --enable-tipwindow use wxTipWindow class"
383 --enable-popupwin use wxPopUpWindow class"
385 --enable-commondlg use all common dialogs"
387 --enable-choicedlg use wxChoiceDialog"
389 --enable-coldlg use wxColourDialog"
391 --enable-filedlg use wxFileDialog"
393 --enable-finddlg use wxFindReplaceDialog"
395 --enable-fontdlg use wxFontDialog"
397 --enable-dirdlg use wxDirDialog"
399 --enable-msgdlg use wxMessageDialog"
401 --enable-numberdlg use wxNumberEntryDialog"
403 --enable-splash use wxSplashScreen"
405 --enable-textdlg use wxTextDialog"
407 --enable-tipdlg use startup tips"
409 --enable-progressdlg use wxProgressDialog"
411 --enable-wizarddlg use wxWizard"
413 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
415 --enable-miniframe use wxMiniFrame class"
417 --enable-tooltips use wxToolTip class"
419 --enable-splines use spline drawing code"
421 --enable-validators use wxValidator and derived classes"
423 --enable-busyinfo use wxBusyInfo"
425 --enable-joystick use wxJoystick (Linux only)"
427 --enable-metafiles use wxMetaFile (Windows only)"
429 --enable-dragimage use wxDragImage"
431 --enable-palette use wxPalette class"
433 --enable-image use wxImage class"
435 --enable-gif use gif images (GIF file format)"
437 --enable-pcx use pcx images (PCX file format)"
439 --enable-iff use iff images (IFF file format)"
441 --enable-pnm use pnm images (PNM file format)"
443 --enable-xpm use xpm images (XPM file format)"
445 --enable-icocur use Windows ICO and CUR formats"
447 --disable-largefile omit support for large files"
449 --disable-gtktest do not try to compile and run a test GTK+ program"
451 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
453 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
455 --disable-gtktest Do not try to compile and run a test GTK program"
457 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
459 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
461 --disable-gtktest Do not try to compile and run a test GTK program"
463 --with-x use the X Window System"
465 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
467 # Initialize some variables set by options.
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
471 cache_file
=.
/config.cache
480 program_transform_name
=s
,x
,x
,
488 bindir
='${exec_prefix}/bin'
489 sbindir
='${exec_prefix}/sbin'
490 libexecdir
='${exec_prefix}/libexec'
491 datadir
='${prefix}/share'
492 sysconfdir
='${prefix}/etc'
493 sharedstatedir
='${prefix}/com'
494 localstatedir
='${prefix}/var'
495 libdir
='${exec_prefix}/lib'
496 includedir
='${prefix}/include'
497 oldincludedir
='/usr/include'
498 infodir
='${prefix}/info'
499 mandir
='${prefix}/man'
501 # Initialize some other variables.
504 SHELL
=${CONFIG_SHELL-/bin/sh}
505 # Maximum number of lines to put in a shell here document.
512 # If the previous option needs an argument, assign it.
513 if test -n "$ac_prev"; then
514 eval "$ac_prev=\$ac_option"
520 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
524 # Accept the important Cygnus configure options, so we can diagnose typos.
528 -bindir | --bindir | --bindi | --bind | --bin | --bi)
530 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
531 bindir
="$ac_optarg" ;;
533 -build | --build | --buil | --bui | --bu)
535 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
536 build
="$ac_optarg" ;;
538 -cache-file | --cache-file | --cache-fil | --cache-fi \
539 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
540 ac_prev
=cache_file
;;
541 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
542 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
543 cache_file
="$ac_optarg" ;;
545 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
547 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
549 datadir
="$ac_optarg" ;;
551 -disable-* | --disable-*)
552 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
553 # Reject names that are not valid shell variable names.
554 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
555 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
557 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
558 eval "enable_${ac_feature}=no" ;;
560 -enable-* | --enable-*)
561 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
562 # Reject names that are not valid shell variable names.
563 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
564 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
566 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
571 eval "enable_${ac_feature}='$ac_optarg'" ;;
573 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
574 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
575 | --exec | --exe | --ex)
576 ac_prev
=exec_prefix
;;
577 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
578 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
579 | --exec=* | --exe=* | --ex=*)
580 exec_prefix
="$ac_optarg" ;;
582 -gas | --gas | --ga | --g)
583 # Obsolete; use --with-gas.
586 -help | --help | --hel | --he)
587 # Omit some internal or obsolete options to make the list less imposing.
588 # This message is too long to be a string in the A/UX 3.1 sh.
590 Usage: configure [options] [host]
591 Options: [defaults in brackets after descriptions]
593 --cache-file=FILE cache test results in FILE
594 --help print this message
595 --no-create do not create output files
596 --quiet, --silent do not print \`checking...' messages
597 --version print the version of autoconf that created configure
598 Directory and file names:
599 --prefix=PREFIX install architecture-independent files in PREFIX
601 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
603 --bindir=DIR user executables in DIR [EPREFIX/bin]
604 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
605 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
606 --datadir=DIR read-only architecture-independent data in DIR
608 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
609 --sharedstatedir=DIR modifiable architecture-independent data in DIR
611 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
612 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
613 --includedir=DIR C header files in DIR [PREFIX/include]
614 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
615 --infodir=DIR info documentation in DIR [PREFIX/info]
616 --mandir=DIR man documentation in DIR [PREFIX/man]
617 --srcdir=DIR find the sources in DIR [configure dir or ..]
618 --program-prefix=PREFIX prepend PREFIX to installed program names
619 --program-suffix=SUFFIX append SUFFIX to installed program names
620 --program-transform-name=PROGRAM
621 run sed PROGRAM on installed program names
625 --build=BUILD configure for building on BUILD [BUILD=HOST]
626 --host=HOST configure for HOST [guessed]
627 --target=TARGET configure for TARGET [TARGET=HOST]
628 Features and packages:
629 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
630 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
631 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
632 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
633 --x-includes=DIR X include files are in DIR
634 --x-libraries=DIR X library files are in DIR
636 if test -n "$ac_help"; then
637 echo "--enable and --with options recognized:$ac_help"
641 -host | --host | --hos | --ho)
643 -host=* | --host=* | --hos=* | --ho=*)
646 -includedir | --includedir | --includedi | --included | --include \
647 | --includ | --inclu | --incl | --inc)
648 ac_prev
=includedir
;;
649 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
650 | --includ=* | --inclu=* | --incl=* | --inc=*)
651 includedir
="$ac_optarg" ;;
653 -infodir | --infodir | --infodi | --infod | --info | --inf)
655 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
656 infodir
="$ac_optarg" ;;
658 -libdir | --libdir | --libdi | --libd)
660 -libdir=* | --libdir=* | --libdi=* | --libd=*)
661 libdir
="$ac_optarg" ;;
663 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
664 | --libexe | --libex | --libe)
665 ac_prev
=libexecdir
;;
666 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
667 | --libexe=* | --libex=* | --libe=*)
668 libexecdir
="$ac_optarg" ;;
670 -localstatedir | --localstatedir | --localstatedi | --localstated \
671 | --localstate | --localstat | --localsta | --localst \
672 | --locals | --local | --loca | --loc | --lo)
673 ac_prev
=localstatedir
;;
674 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
675 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
676 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
677 localstatedir
="$ac_optarg" ;;
679 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
681 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
682 mandir
="$ac_optarg" ;;
685 # Obsolete; use --without-fp.
688 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
692 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
693 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
696 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
697 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
698 | --oldin | --oldi | --old | --ol | --o)
699 ac_prev
=oldincludedir
;;
700 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
701 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
702 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
703 oldincludedir
="$ac_optarg" ;;
705 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
707 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
708 prefix
="$ac_optarg" ;;
710 -program-prefix | --program-prefix | --program-prefi | --program-pref \
711 | --program-pre | --program-pr | --program-p)
712 ac_prev
=program_prefix
;;
713 -program-prefix=* | --program-prefix=* | --program-prefi=* \
714 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
715 program_prefix
="$ac_optarg" ;;
717 -program-suffix | --program-suffix | --program-suffi | --program-suff \
718 | --program-suf | --program-su | --program-s)
719 ac_prev
=program_suffix
;;
720 -program-suffix=* | --program-suffix=* | --program-suffi=* \
721 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
722 program_suffix
="$ac_optarg" ;;
724 -program-transform-name | --program-transform-name \
725 | --program-transform-nam | --program-transform-na \
726 | --program-transform-n | --program-transform- \
727 | --program-transform | --program-transfor \
728 | --program-transfo | --program-transf \
729 | --program-trans | --program-tran \
730 | --progr-tra | --program-tr | --program-t)
731 ac_prev
=program_transform_name
;;
732 -program-transform-name=* | --program-transform-name=* \
733 | --program-transform-nam=* | --program-transform-na=* \
734 | --program-transform-n=* | --program-transform-=* \
735 | --program-transform=* | --program-transfor=* \
736 | --program-transfo=* | --program-transf=* \
737 | --program-trans=* | --program-tran=* \
738 | --progr-tra=* | --program-tr=* | --program-t=*)
739 program_transform_name
="$ac_optarg" ;;
741 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
742 | -silent | --silent | --silen | --sile | --sil)
745 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
747 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
749 sbindir
="$ac_optarg" ;;
751 -sharedstatedir | --sharedstatedir | --sharedstatedi \
752 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
753 | --sharedst | --shareds | --shared | --share | --shar \
755 ac_prev
=sharedstatedir
;;
756 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
757 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
758 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
760 sharedstatedir
="$ac_optarg" ;;
762 -site | --site | --sit)
764 -site=* | --site=* | --sit=*)
767 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
769 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
770 srcdir
="$ac_optarg" ;;
772 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
773 | --syscon | --sysco | --sysc | --sys | --sy)
774 ac_prev
=sysconfdir
;;
775 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
776 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
777 sysconfdir
="$ac_optarg" ;;
779 -target | --target | --targe | --targ | --tar | --ta | --t)
781 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
782 target
="$ac_optarg" ;;
784 -v | -verbose | --verbose | --verbos | --verbo | --verb)
787 -version | --version | --versio | --versi | --vers)
788 echo "configure generated by autoconf version 2.13"
792 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
793 # Reject names that are not valid shell variable names.
794 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
795 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
797 ac_package
=`echo $ac_package| sed 's/-/_/g'`
802 eval "with_${ac_package}='$ac_optarg'" ;;
804 -without-* | --without-*)
805 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
806 # Reject names that are not valid shell variable names.
807 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
808 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
810 ac_package
=`echo $ac_package| sed 's/-/_/g'`
811 eval "with_${ac_package}=no" ;;
814 # Obsolete; use --with-x.
817 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
818 | --x-incl | --x-inc | --x-in | --x-i)
819 ac_prev
=x_includes
;;
820 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
821 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
822 x_includes
="$ac_optarg" ;;
824 -x-libraries | --x-libraries | --x-librarie | --x-librari \
825 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
826 ac_prev
=x_libraries
;;
827 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
828 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
829 x_libraries
="$ac_optarg" ;;
831 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
835 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
836 echo "configure: warning: $ac_option: invalid host type" 1>&2
838 if test "x$nonopt" != xNONE
; then
839 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
847 if test -n "$ac_prev"; then
848 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
851 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
853 # File descriptor usage:
856 # 2 errors and warnings
857 # 3 some systems may open it to /dev/tty
858 # 4 used on the Kubota Titan
859 # 6 checking for... messages and results
860 # 5 compiler messages saved in config.log
861 if test "$silent" = yes; then
869 This file contains any messages produced by compilers while
870 running configure, to aid debugging if configure makes a mistake.
873 # Strip out --no-create and --no-recursion so they do not pile up.
874 # Also quote any args containing shell metacharacters.
879 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
880 | --no-cr | --no-c) ;;
881 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
882 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
883 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
884 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
885 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
890 # Only set these to C if already set. These must not be set unconditionally
891 # because not all systems understand e.g. LANG=C (notably SCO).
892 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
893 # Non-C LC_CTYPE values break the ctype check.
894 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
895 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
896 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
897 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
899 # confdefs.h avoids OS command line length limits that DEFS can exceed.
900 rm -rf conftest
* confdefs.h
901 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
904 # A filename unique to this package, relative to the directory that
905 # configure is in, which we can look for to find out if srcdir is correct.
906 ac_unique_file
=wx
-config.
in
908 # Find the source files, if location was not specified.
909 if test -z "$srcdir"; then
910 ac_srcdir_defaulted
=yes
911 # Try the directory containing this script, then its parent.
913 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
914 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
916 if test ! -r $srcdir/$ac_unique_file; then
920 ac_srcdir_defaulted
=no
922 if test ! -r $srcdir/$ac_unique_file; then
923 if test "$ac_srcdir_defaulted" = yes; then
924 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
926 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
929 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
931 # Prefer explicitly selected file to automatically selected ones.
932 if test -z "$CONFIG_SITE"; then
933 if test "x$prefix" != xNONE
; then
934 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
936 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
939 for ac_site_file
in $CONFIG_SITE; do
940 if test -r "$ac_site_file"; then
941 echo "loading site script $ac_site_file"
946 if test -r "$cache_file"; then
947 echo "loading cache $cache_file"
950 echo "creating cache $cache_file"
955 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
956 ac_cpp
='$CPP $CPPFLAGS'
957 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
958 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
959 cross_compiling
=$ac_cv_prog_cc_cross
963 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
964 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
965 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
972 ac_n
= ac_c
='\c' ac_t
=
978 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
979 if test -f $ac_dir/install-sh; then
981 ac_install_sh
="$ac_aux_dir/install-sh -c"
983 elif test -f $ac_dir/install.sh
; then
985 ac_install_sh
="$ac_aux_dir/install.sh -c"
989 if test -z "$ac_aux_dir"; then
990 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
992 ac_config_guess
=$ac_aux_dir/config.guess
993 ac_config_sub
=$ac_aux_dir/config.sub
994 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
997 # Do some error checking and defaulting for the host and target type.
999 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
1002 # 1. You are not allowed to specify --host, --target, and nonopt at the
1004 # 2. Host defaults to nonopt.
1005 # 3. If nonopt is not specified, then host defaults to the current host,
1006 # as determined by config.guess.
1007 # 4. Target and build default to nonopt.
1008 # 5. If nonopt is not specified, then target and build default to host.
1010 # The aliases save the names the user supplied, while $host etc.
1011 # will get canonicalized.
1012 case $host---$target---$nonopt in
1013 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
1014 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1018 # Make sure we can run config.sub.
1019 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1020 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1023 echo $ac_n "checking host system type""... $ac_c" 1>&6
1024 echo "configure:1025: checking host system type" >&5
1027 case "$host_alias" in
1031 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1032 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1034 *) host_alias
=$nonopt ;;
1038 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1039 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1040 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1041 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1042 echo "$ac_t""$host" 1>&6
1044 echo $ac_n "checking target system type""... $ac_c" 1>&6
1045 echo "configure:1046: checking target system type" >&5
1047 target_alias
=$target
1048 case "$target_alias" in
1051 NONE
) target_alias
=$host_alias ;;
1052 *) target_alias
=$nonopt ;;
1056 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1057 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1058 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1059 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1060 echo "$ac_t""$target" 1>&6
1062 echo $ac_n "checking build system type""... $ac_c" 1>&6
1063 echo "configure:1064: checking build system type" >&5
1066 case "$build_alias" in
1069 NONE
) build_alias
=$host_alias ;;
1070 *) build_alias
=$nonopt ;;
1074 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1075 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1076 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1077 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1078 echo "$ac_t""$build" 1>&6
1080 test "$host_alias" != "$target_alias" &&
1081 test "$program_prefix$program_suffix$program_transform_name" = \
1083 program_prefix
=${target_alias}-
1087 WX_MAJOR_VERSION_NUMBER
=2
1088 WX_MINOR_VERSION_NUMBER
=5
1091 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1092 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1094 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1128 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1130 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1135 DEFAULT_wxUSE_MICROWIN
=0
1136 DEFAULT_wxUSE_MOTIF
=0
1141 DEFAULT_DEFAULT_wxUSE_GTK
=0
1142 DEFAULT_DEFAULT_wxUSE_MAC
=0
1143 DEFAULT_DEFAULT_wxUSE_MGL
=0
1144 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1145 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1146 DEFAULT_DEFAULT_wxUSE_MSW
=0
1147 DEFAULT_DEFAULT_wxUSE_PM
=0
1148 DEFAULT_DEFAULT_wxUSE_X11
=0
1156 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1157 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1159 cat >> confdefs.h
<<\EOF
1166 cat >> confdefs.h
<<\EOF
1171 if test "x$TMP" = "xalpha"; then
1173 cat >> confdefs.h
<<\EOF
1178 DEFAULT_DEFAULT_wxUSE_GTK
=1
1180 *-*-irix5* | *-*-irix6* )
1183 cat >> confdefs.h
<<\EOF
1187 cat >> confdefs.h
<<\EOF
1191 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1197 cat >> confdefs.h
<<\EOF
1201 cat >> confdefs.h
<<\EOF
1202 #define __SOLARIS__ 1
1205 cat >> confdefs.h
<<\EOF
1209 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1210 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1216 cat >> confdefs.h
<<\EOF
1220 cat >> confdefs.h
<<\EOF
1224 cat >> confdefs.h
<<\EOF
1228 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1233 cat >> confdefs.h
<<\EOF
1234 #define __FREEBSD__ 1
1237 cat >> confdefs.h
<<\EOF
1241 DEFAULT_DEFAULT_wxUSE_GTK
=1
1246 cat >> confdefs.h
<<\EOF
1247 #define __OPENBSD__ 1
1250 cat >> confdefs.h
<<\EOF
1254 DEFAULT_DEFAULT_wxUSE_GTK
=1
1259 cat >> confdefs.h
<<\EOF
1260 #define __NETBSD__ 1
1263 cat >> confdefs.h
<<\EOF
1267 DEFAULT_DEFAULT_wxUSE_GTK
=1
1272 cat >> confdefs.h
<<\EOF
1276 cat >> confdefs.h
<<\EOF
1280 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1281 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1286 cat >> confdefs.h
<<\EOF
1290 cat >> confdefs.h
<<\EOF
1294 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1299 cat >> confdefs.h
<<\EOF
1303 cat >> confdefs.h
<<\EOF
1307 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1314 cat >> confdefs.h
<<\EOF
1318 cat >> confdefs.h
<<\EOF
1322 cat >> confdefs.h
<<\EOF
1326 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1329 *-*-cygwin* | *-*-mingw32* )
1333 DEFAULT_DEFAULT_wxUSE_MSW
=1
1339 cat >> confdefs.h
<<\EOF
1344 DEFAULT_DEFAULT_wxUSE_MGL
=1
1345 LIBS
="$LIBS -lstdc++"
1348 *-pc-os2_emx | *-pc-os2-emx )
1349 cat >> confdefs.h
<<\EOF
1354 DEFAULT_DEFAULT_wxUSE_PM
=1
1361 cat >> confdefs.h
<<\EOF
1365 cat >> confdefs.h
<<\EOF
1366 #define __DARWIN__ 1
1369 cat >> confdefs.h
<<\EOF
1370 #define __POWERPC__ 1
1373 cat >> confdefs.h
<<\EOF
1374 #define TARGET_CARBON 1
1377 DEFAULT_DEFAULT_wxUSE_MAC
=1
1382 cat >> confdefs.h
<<\EOF
1389 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1395 wx_arg_cache_file
="configarg.cache"
1396 echo "loading argument cache $wx_arg_cache_file"
1397 rm -f ${wx_arg_cache_file}.tmp
1398 touch ${wx_arg_cache_file}.tmp
1399 touch ${wx_arg_cache_file}
1403 if test $DEBUG_CONFIGURE = 1; then
1404 DEFAULT_wxUSE_UNIVERSAL
=no
1406 DEFAULT_wxUSE_NANOX
=no
1408 DEFAULT_wxUSE_THREADS
=yes
1410 DEFAULT_wxUSE_SHARED
=yes
1411 DEFAULT_wxUSE_SONAME
=no
1412 DEFAULT_wxUSE_OPTIMISE
=no
1413 DEFAULT_wxUSE_PROFILE
=no
1414 DEFAULT_wxUSE_NO_DEPS
=no
1415 DEFAULT_wxUSE_NO_RTTI
=no
1416 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1417 DEFAULT_wxUSE_PERMISSIVE
=no
1418 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1419 DEFAULT_wxUSE_DEBUG_INFO
=yes
1420 DEFAULT_wxUSE_DEBUG_GDB
=yes
1421 DEFAULT_wxUSE_MEM_TRACING
=no
1422 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1423 DEFAULT_wxUSE_DMALLOC
=no
1424 DEFAULT_wxUSE_PRECOMP
=no
1425 DEFAULT_wxUSE_APPLE_IEEE
=no
1427 DEFAULT_wxUSE_LOG
=yes
1428 DEFAULT_wxUSE_LOGWINDOW
=no
1429 DEFAULT_wxUSE_LOGGUI
=no
1430 DEFAULT_wxUSE_LOGDIALOG
=no
1432 DEFAULT_wxUSE_GUI
=yes
1433 DEFAULT_wxUSE_CONTROLS
=no
1435 DEFAULT_wxUSE_REGEX
=no
1436 DEFAULT_wxUSE_ZLIB
=no
1437 DEFAULT_wxUSE_LIBPNG
=no
1438 DEFAULT_wxUSE_LIBJPEG
=no
1439 DEFAULT_wxUSE_LIBTIFF
=no
1440 DEFAULT_wxUSE_ODBC
=no
1441 DEFAULT_wxUSE_OPENGL
=no
1443 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1444 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1445 DEFAULT_wxUSE_STD_IOSTREAM
=no
1446 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1447 DEFAULT_wxUSE_DATETIME
=no
1448 DEFAULT_wxUSE_TIMEDATE
=no
1449 DEFAULT_wxUSE_TIMER
=no
1450 DEFAULT_wxUSE_STOPWATCH
=no
1451 DEFAULT_wxUSE_FILE
=no
1452 DEFAULT_wxUSE_FFILE
=no
1453 DEFAULT_wxUSE_TEXTBUFFER
=no
1454 DEFAULT_wxUSE_TEXTFILE
=no
1455 DEFAULT_wxUSE_WAVE
=no
1456 DEFAULT_wxUSE_INTL
=no
1457 DEFAULT_wxUSE_CONFIG
=no
1458 DEFAULT_wxUSE_FONTMAP
=no
1459 DEFAULT_wxUSE_STREAMS
=no
1460 DEFAULT_wxUSE_SOCKETS
=no
1461 DEFAULT_wxUSE_OLE
=no
1462 DEFAULT_wxUSE_DATAOBJ
=no
1463 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1464 DEFAULT_wxUSE_JOYSTICK
=no
1465 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1466 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1467 DEFAULT_wxUSE_LONGLONG
=no
1468 DEFAULT_wxUSE_GEOMETRY
=no
1470 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1471 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1472 DEFAULT_wxUSE_POSTSCRIPT
=no
1474 DEFAULT_wxUSE_X_RESOURCES
=no
1475 DEFAULT_wxUSE_CLIPBOARD
=no
1476 DEFAULT_wxUSE_TOOLTIPS
=no
1477 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1478 DEFAULT_wxUSE_DRAGIMAGE
=no
1479 DEFAULT_wxUSE_SPLINES
=no
1481 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1482 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1483 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1485 DEFAULT_wxUSE_PROLOGIO
=no
1486 DEFAULT_wxUSE_RESOURCES
=no
1487 DEFAULT_wxUSE_CONSTRAINTS
=no
1488 DEFAULT_wxUSE_IPC
=no
1489 DEFAULT_wxUSE_HELP
=no
1490 DEFAULT_wxUSE_MS_HTML_HELP
=no
1491 DEFAULT_wxUSE_WXHTML_HELP
=no
1492 DEFAULT_wxUSE_TREELAYOUT
=no
1493 DEFAULT_wxUSE_METAFILE
=no
1494 DEFAULT_wxUSE_MIMETYPE
=no
1495 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1496 DEFAULT_wxUSE_PROTOCOL
=no
1497 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1498 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1499 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1500 DEFAULT_wxUSE_URL
=no
1502 DEFAULT_wxUSE_COMMONDLGS
=no
1503 DEFAULT_wxUSE_CHOICEDLG
=no
1504 DEFAULT_wxUSE_COLOURDLG
=no
1505 DEFAULT_wxUSE_DIRDLG
=no
1506 DEFAULT_wxUSE_FILEDLG
=no
1507 DEFAULT_wxUSE_FINDREPLDLG
=no
1508 DEFAULT_wxUSE_FONTDLG
=no
1509 DEFAULT_wxUSE_MSGDLG
=no
1510 DEFAULT_wxUSE_NUMBERDLG
=no
1511 DEFAULT_wxUSE_TEXTDLG
=no
1512 DEFAULT_wxUSE_SPLASH
=no
1513 DEFAULT_wxUSE_STARTUP_TIPS
=no
1514 DEFAULT_wxUSE_PROGRESSDLG
=no
1515 DEFAULT_wxUSE_WIZARDDLG
=no
1517 DEFAULT_wxUSE_MENUS
=no
1518 DEFAULT_wxUSE_MINIFRAME
=no
1519 DEFAULT_wxUSE_HTML
=no
1520 DEFAULT_wxUSE_FILESYSTEM
=no
1521 DEFAULT_wxUSE_FS_INET
=no
1522 DEFAULT_wxUSE_FS_ZIP
=no
1523 DEFAULT_wxUSE_BUSYINFO
=no
1524 DEFAULT_wxUSE_ZIPSTREAM
=no
1525 DEFAULT_wxUSE_VALIDATORS
=no
1527 DEFAULT_wxUSE_ACCEL
=no
1528 DEFAULT_wxUSE_BUTTON
=no
1529 DEFAULT_wxUSE_BMPBUTTON
=no
1530 DEFAULT_wxUSE_CALCTRL
=no
1531 DEFAULT_wxUSE_CARET
=no
1532 DEFAULT_wxUSE_CHECKBOX
=no
1533 DEFAULT_wxUSE_CHECKLST
=no
1534 DEFAULT_wxUSE_CHOICE
=no
1535 DEFAULT_wxUSE_COMBOBOX
=no
1536 DEFAULT_wxUSE_DISPLAY
=no
1537 DEFAULT_wxUSE_GAUGE
=no
1538 DEFAULT_wxUSE_GRID
=no
1539 DEFAULT_wxUSE_NEW_GRID
=no
1540 DEFAULT_wxUSE_IMAGLIST
=no
1541 DEFAULT_wxUSE_LISTBOX
=no
1542 DEFAULT_wxUSE_LISTCTRL
=no
1543 DEFAULT_wxUSE_NOTEBOOK
=no
1544 DEFAULT_wxUSE_PROPSHEET
=no
1545 DEFAULT_wxUSE_RADIOBOX
=no
1546 DEFAULT_wxUSE_RADIOBTN
=no
1547 DEFAULT_wxUSE_SASH
=no
1548 DEFAULT_wxUSE_SCROLLBAR
=no
1549 DEFAULT_wxUSE_SLIDER
=no
1550 DEFAULT_wxUSE_SPINBTN
=no
1551 DEFAULT_wxUSE_SPINCTRL
=no
1552 DEFAULT_wxUSE_SPLITTER
=no
1553 DEFAULT_wxUSE_STATBMP
=no
1554 DEFAULT_wxUSE_STATBOX
=no
1555 DEFAULT_wxUSE_STATLINE
=no
1556 DEFAULT_wxUSE_STATTEXT
=no
1557 DEFAULT_wxUSE_STATUSBAR
=yes
1558 DEFAULT_wxUSE_TABDIALOG
=no
1559 DEFAULT_wxUSE_TEXTCTRL
=no
1560 DEFAULT_wxUSE_TOGGLEBTN
=no
1561 DEFAULT_wxUSE_TOOLBAR
=no
1562 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1563 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1564 DEFAULT_wxUSE_TREECTRL
=no
1565 DEFAULT_wxUSE_POPUPWIN
=no
1566 DEFAULT_wxUSE_TIPWINDOW
=no
1568 DEFAULT_wxUSE_UNICODE
=no
1569 DEFAULT_wxUSE_UNICODE_MSLU
=no
1570 DEFAULT_wxUSE_WCSRTOMBS
=no
1572 DEFAULT_wxUSE_PALETTE
=no
1573 DEFAULT_wxUSE_IMAGE
=no
1574 DEFAULT_wxUSE_GIF
=no
1575 DEFAULT_wxUSE_PCX
=no
1576 DEFAULT_wxUSE_PNM
=no
1577 DEFAULT_wxUSE_IFF
=no
1578 DEFAULT_wxUSE_XPM
=no
1579 DEFAULT_wxUSE_ICO_CUR
=no
1581 DEFAULT_wxUSE_UNIVERSAL
=no
1583 DEFAULT_wxUSE_NANOX
=no
1585 DEFAULT_wxUSE_THREADS
=yes
1587 DEFAULT_wxUSE_SHARED
=yes
1588 DEFAULT_wxUSE_SONAME
=no
1589 DEFAULT_wxUSE_OPTIMISE
=yes
1590 DEFAULT_wxUSE_PROFILE
=no
1591 DEFAULT_wxUSE_NO_DEPS
=no
1592 DEFAULT_wxUSE_NO_RTTI
=no
1593 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1594 DEFAULT_wxUSE_PERMISSIVE
=no
1595 DEFAULT_wxUSE_DEBUG_FLAG
=no
1596 DEFAULT_wxUSE_DEBUG_INFO
=no
1597 DEFAULT_wxUSE_DEBUG_GDB
=no
1598 DEFAULT_wxUSE_MEM_TRACING
=no
1599 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1600 DEFAULT_wxUSE_DMALLOC
=no
1601 DEFAULT_wxUSE_PRECOMP
=no
1602 DEFAULT_wxUSE_APPLE_IEEE
=yes
1604 DEFAULT_wxUSE_LOG
=yes
1605 DEFAULT_wxUSE_LOGWINDOW
=yes
1606 DEFAULT_wxUSE_LOGGUI
=yes
1607 DEFAULT_wxUSE_LOGDIALOG
=yes
1609 DEFAULT_wxUSE_GUI
=yes
1611 DEFAULT_wxUSE_REGEX
=yes
1612 DEFAULT_wxUSE_ZLIB
=yes
1613 DEFAULT_wxUSE_LIBPNG
=yes
1614 DEFAULT_wxUSE_LIBJPEG
=yes
1615 DEFAULT_wxUSE_LIBTIFF
=yes
1616 DEFAULT_wxUSE_ODBC
=no
1617 DEFAULT_wxUSE_OPENGL
=no
1619 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1620 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1621 DEFAULT_wxUSE_STD_IOSTREAM
=no
1622 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1623 DEFAULT_wxUSE_DATETIME
=yes
1624 DEFAULT_wxUSE_TIMEDATE
=no
1625 DEFAULT_wxUSE_TIMER
=yes
1626 DEFAULT_wxUSE_STOPWATCH
=yes
1627 DEFAULT_wxUSE_FILE
=yes
1628 DEFAULT_wxUSE_FFILE
=yes
1629 DEFAULT_wxUSE_TEXTBUFFER
=yes
1630 DEFAULT_wxUSE_TEXTFILE
=yes
1631 DEFAULT_wxUSE_WAVE
=no
1632 DEFAULT_wxUSE_INTL
=yes
1633 DEFAULT_wxUSE_CONFIG
=yes
1634 DEFAULT_wxUSE_FONTMAP
=yes
1635 DEFAULT_wxUSE_STREAMS
=yes
1636 DEFAULT_wxUSE_SOCKETS
=yes
1637 DEFAULT_wxUSE_OLE
=yes
1638 DEFAULT_wxUSE_DATAOBJ
=yes
1639 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1640 DEFAULT_wxUSE_JOYSTICK
=yes
1641 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1642 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1643 DEFAULT_wxUSE_LONGLONG
=yes
1644 DEFAULT_wxUSE_GEOMETRY
=yes
1646 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1647 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1648 DEFAULT_wxUSE_POSTSCRIPT
=yes
1650 DEFAULT_wxUSE_X_RESOURCES
=no
1651 DEFAULT_wxUSE_CLIPBOARD
=yes
1652 DEFAULT_wxUSE_TOOLTIPS
=yes
1653 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1654 DEFAULT_wxUSE_DRAGIMAGE
=yes
1655 DEFAULT_wxUSE_SPLINES
=yes
1657 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1658 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1659 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1661 DEFAULT_wxUSE_PROLOGIO
=no
1662 DEFAULT_wxUSE_RESOURCES
=no
1663 DEFAULT_wxUSE_CONSTRAINTS
=yes
1664 DEFAULT_wxUSE_IPC
=yes
1665 DEFAULT_wxUSE_HELP
=yes
1666 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1667 DEFAULT_wxUSE_WXHTML_HELP
=yes
1668 DEFAULT_wxUSE_TREELAYOUT
=yes
1669 DEFAULT_wxUSE_METAFILE
=yes
1670 DEFAULT_wxUSE_MIMETYPE
=yes
1671 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1672 DEFAULT_wxUSE_PROTOCOL
=yes
1673 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1674 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1675 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1676 DEFAULT_wxUSE_URL
=yes
1678 DEFAULT_wxUSE_COMMONDLGS
=yes
1679 DEFAULT_wxUSE_CHOICEDLG
=yes
1680 DEFAULT_wxUSE_COLOURDLG
=yes
1681 DEFAULT_wxUSE_DIRDLG
=yes
1682 DEFAULT_wxUSE_FILEDLG
=yes
1683 DEFAULT_wxUSE_FINDREPLDLG
=yes
1684 DEFAULT_wxUSE_FONTDLG
=yes
1685 DEFAULT_wxUSE_MSGDLG
=yes
1686 DEFAULT_wxUSE_NUMBERDLG
=yes
1687 DEFAULT_wxUSE_TEXTDLG
=yes
1688 DEFAULT_wxUSE_SPLASH
=yes
1689 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1690 DEFAULT_wxUSE_PROGRESSDLG
=yes
1691 DEFAULT_wxUSE_WIZARDDLG
=yes
1693 DEFAULT_wxUSE_MENUS
=yes
1694 DEFAULT_wxUSE_MINIFRAME
=yes
1695 DEFAULT_wxUSE_HTML
=yes
1696 DEFAULT_wxUSE_FILESYSTEM
=yes
1697 DEFAULT_wxUSE_FS_INET
=yes
1698 DEFAULT_wxUSE_FS_ZIP
=yes
1699 DEFAULT_wxUSE_BUSYINFO
=yes
1700 DEFAULT_wxUSE_ZIPSTREAM
=yes
1701 DEFAULT_wxUSE_VALIDATORS
=yes
1703 DEFAULT_wxUSE_ACCEL
=yes
1704 DEFAULT_wxUSE_BUTTON
=yes
1705 DEFAULT_wxUSE_BMPBUTTON
=yes
1706 DEFAULT_wxUSE_CALCTRL
=yes
1707 DEFAULT_wxUSE_CARET
=yes
1708 DEFAULT_wxUSE_CHECKBOX
=yes
1709 DEFAULT_wxUSE_CHECKLST
=yes
1710 DEFAULT_wxUSE_CHOICE
=yes
1711 DEFAULT_wxUSE_COMBOBOX
=yes
1712 DEFAULT_wxUSE_DISPLAY
=no
1713 DEFAULT_wxUSE_GAUGE
=yes
1714 DEFAULT_wxUSE_GRID
=yes
1715 DEFAULT_wxUSE_NEW_GRID
=yes
1716 DEFAULT_wxUSE_IMAGLIST
=yes
1717 DEFAULT_wxUSE_LISTBOX
=yes
1718 DEFAULT_wxUSE_LISTCTRL
=yes
1719 DEFAULT_wxUSE_NOTEBOOK
=yes
1720 DEFAULT_wxUSE_PROPSHEET
=yes
1721 DEFAULT_wxUSE_RADIOBOX
=yes
1722 DEFAULT_wxUSE_RADIOBTN
=yes
1723 DEFAULT_wxUSE_SASH
=yes
1724 DEFAULT_wxUSE_SCROLLBAR
=yes
1725 DEFAULT_wxUSE_SLIDER
=yes
1726 DEFAULT_wxUSE_SPINBTN
=yes
1727 DEFAULT_wxUSE_SPINCTRL
=yes
1728 DEFAULT_wxUSE_SPLITTER
=yes
1729 DEFAULT_wxUSE_STATBMP
=yes
1730 DEFAULT_wxUSE_STATBOX
=yes
1731 DEFAULT_wxUSE_STATLINE
=yes
1732 DEFAULT_wxUSE_STATTEXT
=yes
1733 DEFAULT_wxUSE_STATUSBAR
=yes
1734 DEFAULT_wxUSE_TABDIALOG
=no
1735 DEFAULT_wxUSE_TEXTCTRL
=yes
1736 DEFAULT_wxUSE_TOGGLEBTN
=yes
1737 DEFAULT_wxUSE_TOOLBAR
=yes
1738 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1739 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1740 DEFAULT_wxUSE_TREECTRL
=yes
1741 DEFAULT_wxUSE_POPUPWIN
=yes
1742 DEFAULT_wxUSE_TIPWINDOW
=yes
1744 DEFAULT_wxUSE_UNICODE
=no
1745 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1746 DEFAULT_wxUSE_WCSRTOMBS
=no
1748 DEFAULT_wxUSE_PALETTE
=yes
1749 DEFAULT_wxUSE_IMAGE
=yes
1750 DEFAULT_wxUSE_GIF
=yes
1751 DEFAULT_wxUSE_PCX
=yes
1752 DEFAULT_wxUSE_IFF
=no
1753 DEFAULT_wxUSE_PNM
=yes
1754 DEFAULT_wxUSE_XPM
=yes
1755 DEFAULT_wxUSE_ICO_CUR
=yes
1760 for toolkit
in `echo $ALL_TOOLKITS`; do
1761 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
1762 if test "x$LINE" != "x" ; then
1763 has_toolkit_in_cache
=1
1764 eval "DEFAULT_$LINE"
1765 eval "CACHE_$toolkit=1"
1772 echo $ac_n "checking for --${enablestring:-enable}-gui""... $ac_c" 1>&6
1773 echo "configure:1774: checking for --${enablestring:-enable}-gui" >&5
1775 # Check whether --enable-gui or --disable-gui was given.
1776 if test "${enable_gui+set}" = set; then
1777 enableval
="$enable_gui"
1779 if test "$enableval" = yes; then
1780 ac_cv_use_gui
='wxUSE_GUI=yes'
1782 ac_cv_use_gui
='wxUSE_GUI=no'
1787 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1788 if test "x$LINE" != x
; then
1789 eval "DEFAULT_$LINE"
1794 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1799 eval "$ac_cv_use_gui"
1800 if test "$no_cache" != 1; then
1801 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1804 if test "$wxUSE_GUI" = yes; then
1805 echo "$ac_t""yes" 1>&6
1807 echo "$ac_t""no" 1>&6
1811 if test "$wxUSE_GUI" = "yes"; then
1815 echo $ac_n "checking for --${enablestring:-enable}-universal""... $ac_c" 1>&6
1816 echo "configure:1817: checking for --${enablestring:-enable}-universal" >&5
1818 # Check whether --enable-universal or --disable-universal was given.
1819 if test "${enable_universal+set}" = set; then
1820 enableval
="$enable_universal"
1822 if test "$enableval" = yes; then
1823 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1825 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1830 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1831 if test "x$LINE" != x
; then
1832 eval "DEFAULT_$LINE"
1837 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1842 eval "$ac_cv_use_universal"
1843 if test "$no_cache" != 1; then
1844 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1847 if test "$wxUSE_UNIVERSAL" = yes; then
1848 echo "$ac_t""yes" 1>&6
1850 echo "$ac_t""no" 1>&6
1853 # Check whether --with-gtk or --without-gtk was given.
1854 if test "${with_gtk+set}" = set; then
1856 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1859 # Check whether --with-motif or --without-motif was given.
1860 if test "${with_motif+set}" = set; then
1861 withval
="$with_motif"
1862 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1865 # Check whether --with-mac or --without-mac was given.
1866 if test "${with_mac+set}" = set; then
1868 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1871 # Check whether --with-wine or --without-wine was given.
1872 if test "${with_wine+set}" = set; then
1873 withval
="$with_wine"
1874 wxUSE_WINE
="$withval" CACHE_WINE
=1
1877 # Check whether --with-msw or --without-msw was given.
1878 if test "${with_msw+set}" = set; then
1880 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1883 # Check whether --with-pm or --without-pm was given.
1884 if test "${with_pm+set}" = set; then
1886 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1889 # Check whether --with-mgl or --without-mgl was given.
1890 if test "${with_mgl+set}" = set; then
1892 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1895 # Check whether --with-microwin or --without-microwin was given.
1896 if test "${with_microwin+set}" = set; then
1897 withval
="$with_microwin"
1898 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1901 # Check whether --with-x11 or --without-x11 was given.
1902 if test "${with_x11+set}" = set; then
1904 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1909 echo $ac_n "checking for --${enablestring:-enable}-nanox""... $ac_c" 1>&6
1910 echo "configure:1911: checking for --${enablestring:-enable}-nanox" >&5
1912 # Check whether --enable-nanox or --disable-nanox was given.
1913 if test "${enable_nanox+set}" = set; then
1914 enableval
="$enable_nanox"
1916 if test "$enableval" = yes; then
1917 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1919 ac_cv_use_nanox
='wxUSE_NANOX=no'
1924 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1925 if test "x$LINE" != x
; then
1926 eval "DEFAULT_$LINE"
1931 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1936 eval "$ac_cv_use_nanox"
1937 if test "$no_cache" != 1; then
1938 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1941 if test "$wxUSE_NANOX" = yes; then
1942 echo "$ac_t""yes" 1>&6
1944 echo "$ac_t""no" 1>&6
1950 echo $ac_n "checking for --${enablestring:-enable}-gtk2""... $ac_c" 1>&6
1951 echo "configure:1952: checking for --${enablestring:-enable}-gtk2" >&5
1953 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1954 if test "${enable_gtk2+set}" = set; then
1955 enableval
="$enable_gtk2"
1957 if test "$enableval" = yes; then
1958 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
1960 ac_cv_use_gtk2
='wxUSE_GTK2=no'
1965 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
1966 if test "x$LINE" != x
; then
1967 eval "DEFAULT_$LINE"
1972 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
1977 eval "$ac_cv_use_gtk2"
1978 if test "$no_cache" != 1; then
1979 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
1982 if test "$wxUSE_GTK2" = yes; then
1983 echo "$ac_t""yes" 1>&6
1985 echo "$ac_t""no" 1>&6
1990 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1991 echo "configure:1992: checking for --with-libpng" >&5
1993 # Check whether --with-libpng or --without-libpng was given.
1994 if test "${with_libpng+set}" = set; then
1995 withval
="$with_libpng"
1997 if test "$withval" = yes; then
1998 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1999 elif test "$withval" = no
; then
2000 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2001 elif test "$withval" = sys
; then
2002 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2003 elif test "$withval" = builtin; then
2004 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2006 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2011 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2012 if test "x$LINE" != x
; then
2013 eval "DEFAULT_$LINE"
2018 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2023 eval "$ac_cv_use_libpng"
2024 if test "$no_cache" != 1; then
2025 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2028 if test "$wxUSE_LIBPNG" = yes; then
2029 echo "$ac_t""yes" 1>&6
2030 elif test "$wxUSE_LIBPNG" = no
; then
2031 echo "$ac_t""no" 1>&6
2032 elif test "$wxUSE_LIBPNG" = sys
; then
2033 echo "$ac_t""system version" 1>&6
2034 elif test "$wxUSE_LIBPNG" = builtin; then
2035 echo "$ac_t""builtin version" 1>&6
2037 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2041 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2042 echo "configure:2043: checking for --with-libjpeg" >&5
2044 # Check whether --with-libjpeg or --without-libjpeg was given.
2045 if test "${with_libjpeg+set}" = set; then
2046 withval
="$with_libjpeg"
2048 if test "$withval" = yes; then
2049 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2050 elif test "$withval" = no
; then
2051 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2052 elif test "$withval" = sys
; then
2053 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2054 elif test "$withval" = builtin; then
2055 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2057 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2062 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2063 if test "x$LINE" != x
; then
2064 eval "DEFAULT_$LINE"
2069 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2074 eval "$ac_cv_use_libjpeg"
2075 if test "$no_cache" != 1; then
2076 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2079 if test "$wxUSE_LIBJPEG" = yes; then
2080 echo "$ac_t""yes" 1>&6
2081 elif test "$wxUSE_LIBJPEG" = no
; then
2082 echo "$ac_t""no" 1>&6
2083 elif test "$wxUSE_LIBJPEG" = sys
; then
2084 echo "$ac_t""system version" 1>&6
2085 elif test "$wxUSE_LIBJPEG" = builtin; then
2086 echo "$ac_t""builtin version" 1>&6
2088 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2092 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2093 echo "configure:2094: checking for --with-libtiff" >&5
2095 # Check whether --with-libtiff or --without-libtiff was given.
2096 if test "${with_libtiff+set}" = set; then
2097 withval
="$with_libtiff"
2099 if test "$withval" = yes; then
2100 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2101 elif test "$withval" = no
; then
2102 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2103 elif test "$withval" = sys
; then
2104 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2105 elif test "$withval" = builtin; then
2106 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2108 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2113 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2114 if test "x$LINE" != x
; then
2115 eval "DEFAULT_$LINE"
2120 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2125 eval "$ac_cv_use_libtiff"
2126 if test "$no_cache" != 1; then
2127 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2130 if test "$wxUSE_LIBTIFF" = yes; then
2131 echo "$ac_t""yes" 1>&6
2132 elif test "$wxUSE_LIBTIFF" = no
; then
2133 echo "$ac_t""no" 1>&6
2134 elif test "$wxUSE_LIBTIFF" = sys
; then
2135 echo "$ac_t""system version" 1>&6
2136 elif test "$wxUSE_LIBTIFF" = builtin; then
2137 echo "$ac_t""builtin version" 1>&6
2139 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2143 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2144 echo "configure:2145: checking for --with-opengl" >&5
2146 # Check whether --with-opengl or --without-opengl was given.
2147 if test "${with_opengl+set}" = set; then
2148 withval
="$with_opengl"
2150 if test "$withval" = yes; then
2151 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2153 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2158 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2159 if test "x$LINE" != x
; then
2160 eval "DEFAULT_$LINE"
2165 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2170 eval "$ac_cv_use_opengl"
2171 if test "$no_cache" != 1; then
2172 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2175 if test "$wxUSE_OPENGL" = yes; then
2176 echo "$ac_t""yes" 1>&6
2178 echo "$ac_t""no" 1>&6
2185 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2186 echo "configure:2187: checking for --with-dmalloc" >&5
2188 # Check whether --with-dmalloc or --without-dmalloc was given.
2189 if test "${with_dmalloc+set}" = set; then
2190 withval
="$with_dmalloc"
2192 if test "$withval" = yes; then
2193 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2195 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2200 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2201 if test "x$LINE" != x
; then
2202 eval "DEFAULT_$LINE"
2207 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2212 eval "$ac_cv_use_dmalloc"
2213 if test "$no_cache" != 1; then
2214 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2217 if test "$wxUSE_DMALLOC" = yes; then
2218 echo "$ac_t""yes" 1>&6
2220 echo "$ac_t""no" 1>&6
2224 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2225 echo "configure:2226: checking for --with-regex" >&5
2227 # Check whether --with-regex or --without-regex was given.
2228 if test "${with_regex+set}" = set; then
2229 withval
="$with_regex"
2231 if test "$withval" = yes; then
2232 ac_cv_use_regex
='wxUSE_REGEX=yes'
2233 elif test "$withval" = no
; then
2234 ac_cv_use_regex
='wxUSE_REGEX=no'
2235 elif test "$withval" = sys
; then
2236 ac_cv_use_regex
='wxUSE_REGEX=sys'
2237 elif test "$withval" = builtin; then
2238 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2240 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2245 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2246 if test "x$LINE" != x
; then
2247 eval "DEFAULT_$LINE"
2252 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2257 eval "$ac_cv_use_regex"
2258 if test "$no_cache" != 1; then
2259 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2262 if test "$wxUSE_REGEX" = yes; then
2263 echo "$ac_t""yes" 1>&6
2264 elif test "$wxUSE_REGEX" = no
; then
2265 echo "$ac_t""no" 1>&6
2266 elif test "$wxUSE_REGEX" = sys
; then
2267 echo "$ac_t""system version" 1>&6
2268 elif test "$wxUSE_REGEX" = builtin; then
2269 echo "$ac_t""builtin version" 1>&6
2271 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2275 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2276 echo "configure:2277: checking for --with-zlib" >&5
2278 # Check whether --with-zlib or --without-zlib was given.
2279 if test "${with_zlib+set}" = set; then
2280 withval
="$with_zlib"
2282 if test "$withval" = yes; then
2283 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2284 elif test "$withval" = no
; then
2285 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2286 elif test "$withval" = sys
; then
2287 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2288 elif test "$withval" = builtin; then
2289 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2291 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2296 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2297 if test "x$LINE" != x
; then
2298 eval "DEFAULT_$LINE"
2303 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2308 eval "$ac_cv_use_zlib"
2309 if test "$no_cache" != 1; then
2310 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2313 if test "$wxUSE_ZLIB" = yes; then
2314 echo "$ac_t""yes" 1>&6
2315 elif test "$wxUSE_ZLIB" = no
; then
2316 echo "$ac_t""no" 1>&6
2317 elif test "$wxUSE_ZLIB" = sys
; then
2318 echo "$ac_t""system version" 1>&6
2319 elif test "$wxUSE_ZLIB" = builtin; then
2320 echo "$ac_t""builtin version" 1>&6
2322 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2326 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2327 echo "configure:2328: checking for --with-odbc" >&5
2329 # Check whether --with-odbc or --without-odbc was given.
2330 if test "${with_odbc+set}" = set; then
2331 withval
="$with_odbc"
2333 if test "$withval" = yes; then
2334 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2336 ac_cv_use_odbc
='wxUSE_ODBC=no'
2341 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2342 if test "x$LINE" != x
; then
2343 eval "DEFAULT_$LINE"
2348 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2353 eval "$ac_cv_use_odbc"
2354 if test "$no_cache" != 1; then
2355 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2358 if test "$wxUSE_ODBC" = yes; then
2359 echo "$ac_t""yes" 1>&6
2361 echo "$ac_t""no" 1>&6
2368 echo $ac_n "checking for --${enablestring:-enable}-shared""... $ac_c" 1>&6
2369 echo "configure:2370: checking for --${enablestring:-enable}-shared" >&5
2371 # Check whether --enable-shared or --disable-shared was given.
2372 if test "${enable_shared+set}" = set; then
2373 enableval
="$enable_shared"
2375 if test "$enableval" = yes; then
2376 ac_cv_use_shared
='wxUSE_SHARED=yes'
2378 ac_cv_use_shared
='wxUSE_SHARED=no'
2383 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2384 if test "x$LINE" != x
; then
2385 eval "DEFAULT_$LINE"
2390 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2395 eval "$ac_cv_use_shared"
2396 if test "$no_cache" != 1; then
2397 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2400 if test "$wxUSE_SHARED" = yes; then
2401 echo "$ac_t""yes" 1>&6
2403 echo "$ac_t""no" 1>&6
2408 echo $ac_n "checking for --${enablestring:-enable}-soname""... $ac_c" 1>&6
2409 echo "configure:2410: checking for --${enablestring:-enable}-soname" >&5
2411 # Check whether --enable-soname or --disable-soname was given.
2412 if test "${enable_soname+set}" = set; then
2413 enableval
="$enable_soname"
2415 if test "$enableval" = yes; then
2416 ac_cv_use_soname
='wxUSE_SONAME=yes'
2418 ac_cv_use_soname
='wxUSE_SONAME=no'
2423 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2424 if test "x$LINE" != x
; then
2425 eval "DEFAULT_$LINE"
2430 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2435 eval "$ac_cv_use_soname"
2436 if test "$no_cache" != 1; then
2437 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2440 if test "$wxUSE_SONAME" = yes; then
2441 echo "$ac_t""yes" 1>&6
2443 echo "$ac_t""no" 1>&6
2448 echo $ac_n "checking for --${enablestring:-enable}-optimise""... $ac_c" 1>&6
2449 echo "configure:2450: checking for --${enablestring:-enable}-optimise" >&5
2451 # Check whether --enable-optimise or --disable-optimise was given.
2452 if test "${enable_optimise+set}" = set; then
2453 enableval
="$enable_optimise"
2455 if test "$enableval" = yes; then
2456 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2458 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2463 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2464 if test "x$LINE" != x
; then
2465 eval "DEFAULT_$LINE"
2470 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2475 eval "$ac_cv_use_optimise"
2476 if test "$no_cache" != 1; then
2477 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2480 if test "$wxUSE_OPTIMISE" = yes; then
2481 echo "$ac_t""yes" 1>&6
2483 echo "$ac_t""no" 1>&6
2488 echo $ac_n "checking for --${enablestring:-enable}-debug""... $ac_c" 1>&6
2489 echo "configure:2490: checking for --${enablestring:-enable}-debug" >&5
2491 # Check whether --enable-debug or --disable-debug was given.
2492 if test "${enable_debug+set}" = set; then
2493 enableval
="$enable_debug"
2495 if test "$enableval" = yes; then
2496 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2498 ac_cv_use_debug
='wxUSE_DEBUG=no'
2503 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2504 if test "x$LINE" != x
; then
2505 eval "DEFAULT_$LINE"
2510 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2515 eval "$ac_cv_use_debug"
2516 if test "$no_cache" != 1; then
2517 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2520 if test "$wxUSE_DEBUG" = yes; then
2521 echo "$ac_t""yes" 1>&6
2523 echo "$ac_t""no" 1>&6
2529 echo $ac_n "checking for --${enablestring:-enable}-precomp""... $ac_c" 1>&6
2530 echo "configure:2531: checking for --${enablestring:-enable}-precomp" >&5
2532 # Check whether --enable-precomp or --disable-precomp was given.
2533 if test "${enable_precomp+set}" = set; then
2534 enableval
="$enable_precomp"
2536 if test "$enableval" = yes; then
2537 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2539 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2544 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x
; then
2546 eval "DEFAULT_$LINE"
2551 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2556 eval "$ac_cv_use_precomp"
2557 if test "$no_cache" != 1; then
2558 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2561 if test "$wxUSE_PRECOMP" = yes; then
2562 echo "$ac_t""yes" 1>&6
2564 echo "$ac_t""no" 1>&6
2568 if test "$wxUSE_DEBUG" = "yes"; then
2569 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2570 DEFAULT_wxUSE_DEBUG_INFO
=yes
2571 elif test "$wxUSE_DEBUG" = "no"; then
2572 DEFAULT_wxUSE_DEBUG_FLAG
=no
2573 DEFAULT_wxUSE_DEBUG_INFO
=no
2578 echo $ac_n "checking for --${enablestring:-enable}-debug_flag""... $ac_c" 1>&6
2579 echo "configure:2580: checking for --${enablestring:-enable}-debug_flag" >&5
2581 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2582 if test "${enable_debug_flag+set}" = set; then
2583 enableval
="$enable_debug_flag"
2585 if test "$enableval" = yes; then
2586 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2588 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2593 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2594 if test "x$LINE" != x
; then
2595 eval "DEFAULT_$LINE"
2600 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2605 eval "$ac_cv_use_debug_flag"
2606 if test "$no_cache" != 1; then
2607 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2610 if test "$wxUSE_DEBUG_FLAG" = yes; then
2611 echo "$ac_t""yes" 1>&6
2613 echo "$ac_t""no" 1>&6
2618 echo $ac_n "checking for --${enablestring:-enable}-debug_info""... $ac_c" 1>&6
2619 echo "configure:2620: checking for --${enablestring:-enable}-debug_info" >&5
2621 # Check whether --enable-debug_info or --disable-debug_info was given.
2622 if test "${enable_debug_info+set}" = set; then
2623 enableval
="$enable_debug_info"
2625 if test "$enableval" = yes; then
2626 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2628 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2633 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2634 if test "x$LINE" != x
; then
2635 eval "DEFAULT_$LINE"
2640 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2645 eval "$ac_cv_use_debug_info"
2646 if test "$no_cache" != 1; then
2647 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2650 if test "$wxUSE_DEBUG_INFO" = yes; then
2651 echo "$ac_t""yes" 1>&6
2653 echo "$ac_t""no" 1>&6
2658 echo $ac_n "checking for --${enablestring:-enable}-debug_gdb""... $ac_c" 1>&6
2659 echo "configure:2660: checking for --${enablestring:-enable}-debug_gdb" >&5
2661 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2662 if test "${enable_debug_gdb+set}" = set; then
2663 enableval
="$enable_debug_gdb"
2665 if test "$enableval" = yes; then
2666 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2668 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2673 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2674 if test "x$LINE" != x
; then
2675 eval "DEFAULT_$LINE"
2680 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2685 eval "$ac_cv_use_debug_gdb"
2686 if test "$no_cache" != 1; then
2687 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2690 if test "$wxUSE_DEBUG_GDB" = yes; then
2691 echo "$ac_t""yes" 1>&6
2693 echo "$ac_t""no" 1>&6
2698 echo $ac_n "checking for --${enablestring:-enable}-debug_cntxt""... $ac_c" 1>&6
2699 echo "configure:2700: checking for --${enablestring:-enable}-debug_cntxt" >&5
2701 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2702 if test "${enable_debug_cntxt+set}" = set; then
2703 enableval
="$enable_debug_cntxt"
2705 if test "$enableval" = yes; then
2706 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2708 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2713 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2714 if test "x$LINE" != x
; then
2715 eval "DEFAULT_$LINE"
2720 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2725 eval "$ac_cv_use_debug_cntxt"
2726 if test "$no_cache" != 1; then
2727 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2730 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2731 echo "$ac_t""yes" 1>&6
2733 echo "$ac_t""no" 1>&6
2738 echo $ac_n "checking for --${enablestring:-enable}-mem_tracing""... $ac_c" 1>&6
2739 echo "configure:2740: checking for --${enablestring:-enable}-mem_tracing" >&5
2741 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2742 if test "${enable_mem_tracing+set}" = set; then
2743 enableval
="$enable_mem_tracing"
2745 if test "$enableval" = yes; then
2746 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2748 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2753 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2754 if test "x$LINE" != x
; then
2755 eval "DEFAULT_$LINE"
2760 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2765 eval "$ac_cv_use_mem_tracing"
2766 if test "$no_cache" != 1; then
2767 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2770 if test "$wxUSE_MEM_TRACING" = yes; then
2771 echo "$ac_t""yes" 1>&6
2773 echo "$ac_t""no" 1>&6
2778 echo $ac_n "checking for --${enablestring:-enable}-profile""... $ac_c" 1>&6
2779 echo "configure:2780: checking for --${enablestring:-enable}-profile" >&5
2781 # Check whether --enable-profile or --disable-profile was given.
2782 if test "${enable_profile+set}" = set; then
2783 enableval
="$enable_profile"
2785 if test "$enableval" = yes; then
2786 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2788 ac_cv_use_profile
='wxUSE_PROFILE=no'
2793 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2794 if test "x$LINE" != x
; then
2795 eval "DEFAULT_$LINE"
2800 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2805 eval "$ac_cv_use_profile"
2806 if test "$no_cache" != 1; then
2807 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2810 if test "$wxUSE_PROFILE" = yes; then
2811 echo "$ac_t""yes" 1>&6
2813 echo "$ac_t""no" 1>&6
2818 echo $ac_n "checking for --${enablestring:-enable}-no_rtti""... $ac_c" 1>&6
2819 echo "configure:2820: checking for --${enablestring:-enable}-no_rtti" >&5
2821 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2822 if test "${enable_no_rtti+set}" = set; then
2823 enableval
="$enable_no_rtti"
2825 if test "$enableval" = yes; then
2826 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2828 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2833 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2834 if test "x$LINE" != x
; then
2835 eval "DEFAULT_$LINE"
2840 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2845 eval "$ac_cv_use_no_rtti"
2846 if test "$no_cache" != 1; then
2847 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2850 if test "$wxUSE_NO_RTTI" = yes; then
2851 echo "$ac_t""yes" 1>&6
2853 echo "$ac_t""no" 1>&6
2858 echo $ac_n "checking for --${enablestring:-enable}-no_exceptions""... $ac_c" 1>&6
2859 echo "configure:2860: checking for --${enablestring:-enable}-no_exceptions" >&5
2861 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2862 if test "${enable_no_exceptions+set}" = set; then
2863 enableval
="$enable_no_exceptions"
2865 if test "$enableval" = yes; then
2866 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2868 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2873 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2874 if test "x$LINE" != x
; then
2875 eval "DEFAULT_$LINE"
2880 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2885 eval "$ac_cv_use_no_exceptions"
2886 if test "$no_cache" != 1; then
2887 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2890 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2891 echo "$ac_t""yes" 1>&6
2893 echo "$ac_t""no" 1>&6
2898 echo $ac_n "checking for --${enablestring:-enable}-permissive""... $ac_c" 1>&6
2899 echo "configure:2900: checking for --${enablestring:-enable}-permissive" >&5
2901 # Check whether --enable-permissive or --disable-permissive was given.
2902 if test "${enable_permissive+set}" = set; then
2903 enableval
="$enable_permissive"
2905 if test "$enableval" = yes; then
2906 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2908 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2913 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2914 if test "x$LINE" != x
; then
2915 eval "DEFAULT_$LINE"
2920 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2925 eval "$ac_cv_use_permissive"
2926 if test "$no_cache" != 1; then
2927 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2930 if test "$wxUSE_PERMISSIVE" = yes; then
2931 echo "$ac_t""yes" 1>&6
2933 echo "$ac_t""no" 1>&6
2938 echo $ac_n "checking for --${enablestring:-enable}-no_deps""... $ac_c" 1>&6
2939 echo "configure:2940: checking for --${enablestring:-enable}-no_deps" >&5
2941 # Check whether --enable-no_deps or --disable-no_deps was given.
2942 if test "${enable_no_deps+set}" = set; then
2943 enableval
="$enable_no_deps"
2945 if test "$enableval" = yes; then
2946 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2948 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2953 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2954 if test "x$LINE" != x
; then
2955 eval "DEFAULT_$LINE"
2960 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2965 eval "$ac_cv_use_no_deps"
2966 if test "$no_cache" != 1; then
2967 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2970 if test "$wxUSE_NO_DEPS" = yes; then
2971 echo "$ac_t""yes" 1>&6
2973 echo "$ac_t""no" 1>&6
2979 echo $ac_n "checking for --${enablestring:-enable}-compat20""... $ac_c" 1>&6
2980 echo "configure:2981: checking for --${enablestring:-enable}-compat20" >&5
2982 # Check whether --enable-compat20 or --disable-compat20 was given.
2983 if test "${enable_compat20+set}" = set; then
2984 enableval
="$enable_compat20"
2986 if test "$enableval" = yes; then
2987 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2989 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2994 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2995 if test "x$LINE" != x
; then
2996 eval "DEFAULT_$LINE"
3001 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3006 eval "$ac_cv_use_compat20"
3007 if test "$no_cache" != 1; then
3008 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3011 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3012 echo "$ac_t""yes" 1>&6
3014 echo "$ac_t""no" 1>&6
3019 echo $ac_n "checking for --${enablestring:-enable}-compat22""... $ac_c" 1>&6
3020 echo "configure:3021: checking for --${enablestring:-enable}-compat22" >&5
3022 # Check whether --enable-compat22 or --disable-compat22 was given.
3023 if test "${enable_compat22+set}" = set; then
3024 enableval
="$enable_compat22"
3026 if test "$enableval" = yes; then
3027 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3029 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3034 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3035 if test "x$LINE" != x
; then
3036 eval "DEFAULT_$LINE"
3041 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3046 eval "$ac_cv_use_compat22"
3047 if test "$no_cache" != 1; then
3048 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3051 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3052 echo "$ac_t""yes" 1>&6
3054 echo "$ac_t""no" 1>&6
3058 enablestring
=disable
3059 echo $ac_n "checking for --${enablestring:-enable}-compat24""... $ac_c" 1>&6
3060 echo "configure:3061: checking for --${enablestring:-enable}-compat24" >&5
3062 # Check whether --enable-compat24 or --disable-compat24 was given.
3063 if test "${enable_compat24+set}" = set; then
3064 enableval
="$enable_compat24"
3066 if test "$enableval" = yes; then
3067 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
3069 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
3074 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3075 if test "x$LINE" != x
; then
3076 eval "DEFAULT_$LINE"
3081 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3086 eval "$ac_cv_use_compat24"
3087 if test "$no_cache" != 1; then
3088 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3091 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3092 echo "$ac_t""yes" 1>&6
3094 echo "$ac_t""no" 1>&6
3098 # Check whether --enable-rpath or --disable-rpath was given.
3099 if test "${enable_rpath+set}" = set; then
3100 enableval
="$enable_rpath"
3101 wxRPATH_DIR
="$enableval"
3105 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3106 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3113 echo $ac_n "checking for --${enablestring:-enable}-intl""... $ac_c" 1>&6
3114 echo "configure:3115: checking for --${enablestring:-enable}-intl" >&5
3116 # Check whether --enable-intl or --disable-intl was given.
3117 if test "${enable_intl+set}" = set; then
3118 enableval
="$enable_intl"
3120 if test "$enableval" = yes; then
3121 ac_cv_use_intl
='wxUSE_INTL=yes'
3123 ac_cv_use_intl
='wxUSE_INTL=no'
3128 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3129 if test "x$LINE" != x
; then
3130 eval "DEFAULT_$LINE"
3135 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3140 eval "$ac_cv_use_intl"
3141 if test "$no_cache" != 1; then
3142 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3145 if test "$wxUSE_INTL" = yes; then
3146 echo "$ac_t""yes" 1>&6
3148 echo "$ac_t""no" 1>&6
3153 echo $ac_n "checking for --${enablestring:-enable}-config""... $ac_c" 1>&6
3154 echo "configure:3155: checking for --${enablestring:-enable}-config" >&5
3156 # Check whether --enable-config or --disable-config was given.
3157 if test "${enable_config+set}" = set; then
3158 enableval
="$enable_config"
3160 if test "$enableval" = yes; then
3161 ac_cv_use_config
='wxUSE_CONFIG=yes'
3163 ac_cv_use_config
='wxUSE_CONFIG=no'
3168 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3169 if test "x$LINE" != x
; then
3170 eval "DEFAULT_$LINE"
3175 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3180 eval "$ac_cv_use_config"
3181 if test "$no_cache" != 1; then
3182 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3185 if test "$wxUSE_CONFIG" = yes; then
3186 echo "$ac_t""yes" 1>&6
3188 echo "$ac_t""no" 1>&6
3194 echo $ac_n "checking for --${enablestring:-enable}-protocols""... $ac_c" 1>&6
3195 echo "configure:3196: checking for --${enablestring:-enable}-protocols" >&5
3197 # Check whether --enable-protocols or --disable-protocols was given.
3198 if test "${enable_protocols+set}" = set; then
3199 enableval
="$enable_protocols"
3201 if test "$enableval" = yes; then
3202 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3204 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3209 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3210 if test "x$LINE" != x
; then
3211 eval "DEFAULT_$LINE"
3216 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3221 eval "$ac_cv_use_protocols"
3222 if test "$no_cache" != 1; then
3223 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3226 if test "$wxUSE_PROTOCOL" = yes; then
3227 echo "$ac_t""yes" 1>&6
3229 echo "$ac_t""no" 1>&6
3234 echo $ac_n "checking for --${enablestring:-enable}-ftp""... $ac_c" 1>&6
3235 echo "configure:3236: checking for --${enablestring:-enable}-ftp" >&5
3237 # Check whether --enable-ftp or --disable-ftp was given.
3238 if test "${enable_ftp+set}" = set; then
3239 enableval
="$enable_ftp"
3241 if test "$enableval" = yes; then
3242 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3244 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3249 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3250 if test "x$LINE" != x
; then
3251 eval "DEFAULT_$LINE"
3256 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3261 eval "$ac_cv_use_ftp"
3262 if test "$no_cache" != 1; then
3263 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3266 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3267 echo "$ac_t""yes" 1>&6
3269 echo "$ac_t""no" 1>&6
3274 echo $ac_n "checking for --${enablestring:-enable}-http""... $ac_c" 1>&6
3275 echo "configure:3276: checking for --${enablestring:-enable}-http" >&5
3277 # Check whether --enable-http or --disable-http was given.
3278 if test "${enable_http+set}" = set; then
3279 enableval
="$enable_http"
3281 if test "$enableval" = yes; then
3282 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3284 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3289 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3290 if test "x$LINE" != x
; then
3291 eval "DEFAULT_$LINE"
3296 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3301 eval "$ac_cv_use_http"
3302 if test "$no_cache" != 1; then
3303 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3306 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3307 echo "$ac_t""yes" 1>&6
3309 echo "$ac_t""no" 1>&6
3314 echo $ac_n "checking for --${enablestring:-enable}-fileproto""... $ac_c" 1>&6
3315 echo "configure:3316: checking for --${enablestring:-enable}-fileproto" >&5
3317 # Check whether --enable-fileproto or --disable-fileproto was given.
3318 if test "${enable_fileproto+set}" = set; then
3319 enableval
="$enable_fileproto"
3321 if test "$enableval" = yes; then
3322 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3324 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3329 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3330 if test "x$LINE" != x
; then
3331 eval "DEFAULT_$LINE"
3336 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3341 eval "$ac_cv_use_fileproto"
3342 if test "$no_cache" != 1; then
3343 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3346 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3347 echo "$ac_t""yes" 1>&6
3349 echo "$ac_t""no" 1>&6
3354 echo $ac_n "checking for --${enablestring:-enable}-sockets""... $ac_c" 1>&6
3355 echo "configure:3356: checking for --${enablestring:-enable}-sockets" >&5
3357 # Check whether --enable-sockets or --disable-sockets was given.
3358 if test "${enable_sockets+set}" = set; then
3359 enableval
="$enable_sockets"
3361 if test "$enableval" = yes; then
3362 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3364 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3369 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3370 if test "x$LINE" != x
; then
3371 eval "DEFAULT_$LINE"
3376 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3381 eval "$ac_cv_use_sockets"
3382 if test "$no_cache" != 1; then
3383 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3386 if test "$wxUSE_SOCKETS" = yes; then
3387 echo "$ac_t""yes" 1>&6
3389 echo "$ac_t""no" 1>&6
3394 echo $ac_n "checking for --${enablestring:-enable}-ole""... $ac_c" 1>&6
3395 echo "configure:3396: checking for --${enablestring:-enable}-ole" >&5
3397 # Check whether --enable-ole or --disable-ole was given.
3398 if test "${enable_ole+set}" = set; then
3399 enableval
="$enable_ole"
3401 if test "$enableval" = yes; then
3402 ac_cv_use_ole
='wxUSE_OLE=yes'
3404 ac_cv_use_ole
='wxUSE_OLE=no'
3409 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
3410 if test "x$LINE" != x
; then
3411 eval "DEFAULT_$LINE"
3416 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
3421 eval "$ac_cv_use_ole"
3422 if test "$no_cache" != 1; then
3423 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
3426 if test "$wxUSE_OLE" = yes; then
3427 echo "$ac_t""yes" 1>&6
3429 echo "$ac_t""no" 1>&6
3434 echo $ac_n "checking for --${enablestring:-enable}-dataobj""... $ac_c" 1>&6
3435 echo "configure:3436: checking for --${enablestring:-enable}-dataobj" >&5
3437 # Check whether --enable-dataobj or --disable-dataobj was given.
3438 if test "${enable_dataobj+set}" = set; then
3439 enableval
="$enable_dataobj"
3441 if test "$enableval" = yes; then
3442 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
3444 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
3449 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
3450 if test "x$LINE" != x
; then
3451 eval "DEFAULT_$LINE"
3456 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
3461 eval "$ac_cv_use_dataobj"
3462 if test "$no_cache" != 1; then
3463 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
3466 if test "$wxUSE_DATAOBJ" = yes; then
3467 echo "$ac_t""yes" 1>&6
3469 echo "$ac_t""no" 1>&6
3475 echo $ac_n "checking for --${enablestring:-enable}-ipc""... $ac_c" 1>&6
3476 echo "configure:3477: checking for --${enablestring:-enable}-ipc" >&5
3478 # Check whether --enable-ipc or --disable-ipc was given.
3479 if test "${enable_ipc+set}" = set; then
3480 enableval
="$enable_ipc"
3482 if test "$enableval" = yes; then
3483 ac_cv_use_ipc
='wxUSE_IPC=yes'
3485 ac_cv_use_ipc
='wxUSE_IPC=no'
3490 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3491 if test "x$LINE" != x
; then
3492 eval "DEFAULT_$LINE"
3497 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3502 eval "$ac_cv_use_ipc"
3503 if test "$no_cache" != 1; then
3504 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3507 if test "$wxUSE_IPC" = yes; then
3508 echo "$ac_t""yes" 1>&6
3510 echo "$ac_t""no" 1>&6
3516 echo $ac_n "checking for --${enablestring:-enable}-cmdline""... $ac_c" 1>&6
3517 echo "configure:3518: checking for --${enablestring:-enable}-cmdline" >&5
3519 # Check whether --enable-cmdline or --disable-cmdline was given.
3520 if test "${enable_cmdline+set}" = set; then
3521 enableval
="$enable_cmdline"
3523 if test "$enableval" = yes; then
3524 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3526 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3531 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3532 if test "x$LINE" != x
; then
3533 eval "DEFAULT_$LINE"
3538 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3543 eval "$ac_cv_use_cmdline"
3544 if test "$no_cache" != 1; then
3545 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3548 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3549 echo "$ac_t""yes" 1>&6
3551 echo "$ac_t""no" 1>&6
3556 echo $ac_n "checking for --${enablestring:-enable}-datetime""... $ac_c" 1>&6
3557 echo "configure:3558: checking for --${enablestring:-enable}-datetime" >&5
3559 # Check whether --enable-datetime or --disable-datetime was given.
3560 if test "${enable_datetime+set}" = set; then
3561 enableval
="$enable_datetime"
3563 if test "$enableval" = yes; then
3564 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3566 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3571 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3572 if test "x$LINE" != x
; then
3573 eval "DEFAULT_$LINE"
3578 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3583 eval "$ac_cv_use_datetime"
3584 if test "$no_cache" != 1; then
3585 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3588 if test "$wxUSE_DATETIME" = yes; then
3589 echo "$ac_t""yes" 1>&6
3591 echo "$ac_t""no" 1>&6
3596 echo $ac_n "checking for --${enablestring:-enable}-timedate""... $ac_c" 1>&6
3597 echo "configure:3598: checking for --${enablestring:-enable}-timedate" >&5
3599 # Check whether --enable-timedate or --disable-timedate was given.
3600 if test "${enable_timedate+set}" = set; then
3601 enableval
="$enable_timedate"
3603 if test "$enableval" = yes; then
3604 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3606 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3611 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3612 if test "x$LINE" != x
; then
3613 eval "DEFAULT_$LINE"
3618 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3623 eval "$ac_cv_use_timedate"
3624 if test "$no_cache" != 1; then
3625 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3628 if test "$wxUSE_TIMEDATE" = yes; then
3629 echo "$ac_t""yes" 1>&6
3631 echo "$ac_t""no" 1>&6
3636 echo $ac_n "checking for --${enablestring:-enable}-stopwatch""... $ac_c" 1>&6
3637 echo "configure:3638: checking for --${enablestring:-enable}-stopwatch" >&5
3639 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3640 if test "${enable_stopwatch+set}" = set; then
3641 enableval
="$enable_stopwatch"
3643 if test "$enableval" = yes; then
3644 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3646 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3651 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3652 if test "x$LINE" != x
; then
3653 eval "DEFAULT_$LINE"
3658 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3663 eval "$ac_cv_use_stopwatch"
3664 if test "$no_cache" != 1; then
3665 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3668 if test "$wxUSE_STOPWATCH" = yes; then
3669 echo "$ac_t""yes" 1>&6
3671 echo "$ac_t""no" 1>&6
3676 echo $ac_n "checking for --${enablestring:-enable}-dialupman""... $ac_c" 1>&6
3677 echo "configure:3678: checking for --${enablestring:-enable}-dialupman" >&5
3679 # Check whether --enable-dialupman or --disable-dialupman was given.
3680 if test "${enable_dialupman+set}" = set; then
3681 enableval
="$enable_dialupman"
3683 if test "$enableval" = yes; then
3684 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3686 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3691 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3692 if test "x$LINE" != x
; then
3693 eval "DEFAULT_$LINE"
3698 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3703 eval "$ac_cv_use_dialupman"
3704 if test "$no_cache" != 1; then
3705 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3708 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3709 echo "$ac_t""yes" 1>&6
3711 echo "$ac_t""no" 1>&6
3716 echo $ac_n "checking for --${enablestring:-enable}-apple_ieee""... $ac_c" 1>&6
3717 echo "configure:3718: checking for --${enablestring:-enable}-apple_ieee" >&5
3719 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3720 if test "${enable_apple_ieee+set}" = set; then
3721 enableval
="$enable_apple_ieee"
3723 if test "$enableval" = yes; then
3724 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3726 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3731 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3732 if test "x$LINE" != x
; then
3733 eval "DEFAULT_$LINE"
3738 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3743 eval "$ac_cv_use_apple_ieee"
3744 if test "$no_cache" != 1; then
3745 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3748 if test "$wxUSE_APPLE_IEEE" = yes; then
3749 echo "$ac_t""yes" 1>&6
3751 echo "$ac_t""no" 1>&6
3756 echo $ac_n "checking for --${enablestring:-enable}-timer""... $ac_c" 1>&6
3757 echo "configure:3758: checking for --${enablestring:-enable}-timer" >&5
3759 # Check whether --enable-timer or --disable-timer was given.
3760 if test "${enable_timer+set}" = set; then
3761 enableval
="$enable_timer"
3763 if test "$enableval" = yes; then
3764 ac_cv_use_timer
='wxUSE_TIMER=yes'
3766 ac_cv_use_timer
='wxUSE_TIMER=no'
3771 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3772 if test "x$LINE" != x
; then
3773 eval "DEFAULT_$LINE"
3778 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3783 eval "$ac_cv_use_timer"
3784 if test "$no_cache" != 1; then
3785 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3788 if test "$wxUSE_TIMER" = yes; then
3789 echo "$ac_t""yes" 1>&6
3791 echo "$ac_t""no" 1>&6
3796 echo $ac_n "checking for --${enablestring:-enable}-wave""... $ac_c" 1>&6
3797 echo "configure:3798: checking for --${enablestring:-enable}-wave" >&5
3799 # Check whether --enable-wave or --disable-wave was given.
3800 if test "${enable_wave+set}" = set; then
3801 enableval
="$enable_wave"
3803 if test "$enableval" = yes; then
3804 ac_cv_use_wave
='wxUSE_WAVE=yes'
3806 ac_cv_use_wave
='wxUSE_WAVE=no'
3811 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3812 if test "x$LINE" != x
; then
3813 eval "DEFAULT_$LINE"
3818 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3823 eval "$ac_cv_use_wave"
3824 if test "$no_cache" != 1; then
3825 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3828 if test "$wxUSE_WAVE" = yes; then
3829 echo "$ac_t""yes" 1>&6
3831 echo "$ac_t""no" 1>&6
3836 echo $ac_n "checking for --${enablestring:-enable}-fraction""... $ac_c" 1>&6
3837 echo "configure:3838: checking for --${enablestring:-enable}-fraction" >&5
3839 # Check whether --enable-fraction or --disable-fraction was given.
3840 if test "${enable_fraction+set}" = set; then
3841 enableval
="$enable_fraction"
3843 if test "$enableval" = yes; then
3844 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3846 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3851 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3852 if test "x$LINE" != x
; then
3853 eval "DEFAULT_$LINE"
3858 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3863 eval "$ac_cv_use_fraction"
3864 if test "$no_cache" != 1; then
3865 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3868 if test "$wxUSE_FRACTION" = yes; then
3869 echo "$ac_t""yes" 1>&6
3871 echo "$ac_t""no" 1>&6
3876 echo $ac_n "checking for --${enablestring:-enable}-dynlib""... $ac_c" 1>&6
3877 echo "configure:3878: checking for --${enablestring:-enable}-dynlib" >&5
3879 # Check whether --enable-dynlib or --disable-dynlib was given.
3880 if test "${enable_dynlib+set}" = set; then
3881 enableval
="$enable_dynlib"
3883 if test "$enableval" = yes; then
3884 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3886 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3891 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3892 if test "x$LINE" != x
; then
3893 eval "DEFAULT_$LINE"
3898 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3903 eval "$ac_cv_use_dynlib"
3904 if test "$no_cache" != 1; then
3905 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3908 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3909 echo "$ac_t""yes" 1>&6
3911 echo "$ac_t""no" 1>&6
3916 echo $ac_n "checking for --${enablestring:-enable}-dynamicloader""... $ac_c" 1>&6
3917 echo "configure:3918: checking for --${enablestring:-enable}-dynamicloader" >&5
3919 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3920 if test "${enable_dynamicloader+set}" = set; then
3921 enableval
="$enable_dynamicloader"
3923 if test "$enableval" = yes; then
3924 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3926 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3931 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3932 if test "x$LINE" != x
; then
3933 eval "DEFAULT_$LINE"
3938 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3943 eval "$ac_cv_use_dynamicloader"
3944 if test "$no_cache" != 1; then
3945 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3948 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3949 echo "$ac_t""yes" 1>&6
3951 echo "$ac_t""no" 1>&6
3956 echo $ac_n "checking for --${enablestring:-enable}-longlong""... $ac_c" 1>&6
3957 echo "configure:3958: checking for --${enablestring:-enable}-longlong" >&5
3959 # Check whether --enable-longlong or --disable-longlong was given.
3960 if test "${enable_longlong+set}" = set; then
3961 enableval
="$enable_longlong"
3963 if test "$enableval" = yes; then
3964 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3966 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3971 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3972 if test "x$LINE" != x
; then
3973 eval "DEFAULT_$LINE"
3978 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3983 eval "$ac_cv_use_longlong"
3984 if test "$no_cache" != 1; then
3985 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3988 if test "$wxUSE_LONGLONG" = yes; then
3989 echo "$ac_t""yes" 1>&6
3991 echo "$ac_t""no" 1>&6
3996 echo $ac_n "checking for --${enablestring:-enable}-geometry""... $ac_c" 1>&6
3997 echo "configure:3998: checking for --${enablestring:-enable}-geometry" >&5
3999 # Check whether --enable-geometry or --disable-geometry was given.
4000 if test "${enable_geometry+set}" = set; then
4001 enableval
="$enable_geometry"
4003 if test "$enableval" = yes; then
4004 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
4006 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
4011 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4012 if test "x$LINE" != x
; then
4013 eval "DEFAULT_$LINE"
4018 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4023 eval "$ac_cv_use_geometry"
4024 if test "$no_cache" != 1; then
4025 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4028 if test "$wxUSE_GEOMETRY" = yes; then
4029 echo "$ac_t""yes" 1>&6
4031 echo "$ac_t""no" 1>&6
4036 echo $ac_n "checking for --${enablestring:-enable}-log""... $ac_c" 1>&6
4037 echo "configure:4038: checking for --${enablestring:-enable}-log" >&5
4039 # Check whether --enable-log or --disable-log was given.
4040 if test "${enable_log+set}" = set; then
4041 enableval
="$enable_log"
4043 if test "$enableval" = yes; then
4044 ac_cv_use_log
='wxUSE_LOG=yes'
4046 ac_cv_use_log
='wxUSE_LOG=no'
4051 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4052 if test "x$LINE" != x
; then
4053 eval "DEFAULT_$LINE"
4058 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4063 eval "$ac_cv_use_log"
4064 if test "$no_cache" != 1; then
4065 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4068 if test "$wxUSE_LOG" = yes; then
4069 echo "$ac_t""yes" 1>&6
4071 echo "$ac_t""no" 1>&6
4076 echo $ac_n "checking for --${enablestring:-enable}-streams""... $ac_c" 1>&6
4077 echo "configure:4078: checking for --${enablestring:-enable}-streams" >&5
4079 # Check whether --enable-streams or --disable-streams was given.
4080 if test "${enable_streams+set}" = set; then
4081 enableval
="$enable_streams"
4083 if test "$enableval" = yes; then
4084 ac_cv_use_streams
='wxUSE_STREAMS=yes'
4086 ac_cv_use_streams
='wxUSE_STREAMS=no'
4091 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4092 if test "x$LINE" != x
; then
4093 eval "DEFAULT_$LINE"
4098 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4103 eval "$ac_cv_use_streams"
4104 if test "$no_cache" != 1; then
4105 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4108 if test "$wxUSE_STREAMS" = yes; then
4109 echo "$ac_t""yes" 1>&6
4111 echo "$ac_t""no" 1>&6
4116 echo $ac_n "checking for --${enablestring:-enable}-file""... $ac_c" 1>&6
4117 echo "configure:4118: checking for --${enablestring:-enable}-file" >&5
4119 # Check whether --enable-file or --disable-file was given.
4120 if test "${enable_file+set}" = set; then
4121 enableval
="$enable_file"
4123 if test "$enableval" = yes; then
4124 ac_cv_use_file
='wxUSE_FILE=yes'
4126 ac_cv_use_file
='wxUSE_FILE=no'
4131 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4132 if test "x$LINE" != x
; then
4133 eval "DEFAULT_$LINE"
4138 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4143 eval "$ac_cv_use_file"
4144 if test "$no_cache" != 1; then
4145 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4148 if test "$wxUSE_FILE" = yes; then
4149 echo "$ac_t""yes" 1>&6
4151 echo "$ac_t""no" 1>&6
4156 echo $ac_n "checking for --${enablestring:-enable}-ffile""... $ac_c" 1>&6
4157 echo "configure:4158: checking for --${enablestring:-enable}-ffile" >&5
4159 # Check whether --enable-ffile or --disable-ffile was given.
4160 if test "${enable_ffile+set}" = set; then
4161 enableval
="$enable_ffile"
4163 if test "$enableval" = yes; then
4164 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4166 ac_cv_use_ffile
='wxUSE_FFILE=no'
4171 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4172 if test "x$LINE" != x
; then
4173 eval "DEFAULT_$LINE"
4178 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4183 eval "$ac_cv_use_ffile"
4184 if test "$no_cache" != 1; then
4185 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4188 if test "$wxUSE_FFILE" = yes; then
4189 echo "$ac_t""yes" 1>&6
4191 echo "$ac_t""no" 1>&6
4196 echo $ac_n "checking for --${enablestring:-enable}-textbuf""... $ac_c" 1>&6
4197 echo "configure:4198: checking for --${enablestring:-enable}-textbuf" >&5
4199 # Check whether --enable-textbuf or --disable-textbuf was given.
4200 if test "${enable_textbuf+set}" = set; then
4201 enableval
="$enable_textbuf"
4203 if test "$enableval" = yes; then
4204 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4206 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4211 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4212 if test "x$LINE" != x
; then
4213 eval "DEFAULT_$LINE"
4218 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4223 eval "$ac_cv_use_textbuf"
4224 if test "$no_cache" != 1; then
4225 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4228 if test "$wxUSE_TEXTBUFFER" = yes; then
4229 echo "$ac_t""yes" 1>&6
4231 echo "$ac_t""no" 1>&6
4236 echo $ac_n "checking for --${enablestring:-enable}-textfile""... $ac_c" 1>&6
4237 echo "configure:4238: checking for --${enablestring:-enable}-textfile" >&5
4239 # Check whether --enable-textfile or --disable-textfile was given.
4240 if test "${enable_textfile+set}" = set; then
4241 enableval
="$enable_textfile"
4243 if test "$enableval" = yes; then
4244 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4246 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4251 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4252 if test "x$LINE" != x
; then
4253 eval "DEFAULT_$LINE"
4258 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4263 eval "$ac_cv_use_textfile"
4264 if test "$no_cache" != 1; then
4265 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4268 if test "$wxUSE_TEXTFILE" = yes; then
4269 echo "$ac_t""yes" 1>&6
4271 echo "$ac_t""no" 1>&6
4276 echo $ac_n "checking for --${enablestring:-enable}-fontmap""... $ac_c" 1>&6
4277 echo "configure:4278: checking for --${enablestring:-enable}-fontmap" >&5
4279 # Check whether --enable-fontmap or --disable-fontmap was given.
4280 if test "${enable_fontmap+set}" = set; then
4281 enableval
="$enable_fontmap"
4283 if test "$enableval" = yes; then
4284 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4286 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4291 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4292 if test "x$LINE" != x
; then
4293 eval "DEFAULT_$LINE"
4298 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4303 eval "$ac_cv_use_fontmap"
4304 if test "$no_cache" != 1; then
4305 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4308 if test "$wxUSE_FONTMAP" = yes; then
4309 echo "$ac_t""yes" 1>&6
4311 echo "$ac_t""no" 1>&6
4316 echo $ac_n "checking for --${enablestring:-enable}-unicode""... $ac_c" 1>&6
4317 echo "configure:4318: checking for --${enablestring:-enable}-unicode" >&5
4319 # Check whether --enable-unicode or --disable-unicode was given.
4320 if test "${enable_unicode+set}" = set; then
4321 enableval
="$enable_unicode"
4323 if test "$enableval" = yes; then
4324 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4326 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4331 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4332 if test "x$LINE" != x
; then
4333 eval "DEFAULT_$LINE"
4338 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4343 eval "$ac_cv_use_unicode"
4344 if test "$no_cache" != 1; then
4345 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4348 if test "$wxUSE_UNICODE" = yes; then
4349 echo "$ac_t""yes" 1>&6
4351 echo "$ac_t""no" 1>&6
4356 echo $ac_n "checking for --${enablestring:-enable}-mslu""... $ac_c" 1>&6
4357 echo "configure:4358: checking for --${enablestring:-enable}-mslu" >&5
4359 # Check whether --enable-mslu or --disable-mslu was given.
4360 if test "${enable_mslu+set}" = set; then
4361 enableval
="$enable_mslu"
4363 if test "$enableval" = yes; then
4364 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4366 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4371 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4372 if test "x$LINE" != x
; then
4373 eval "DEFAULT_$LINE"
4378 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4383 eval "$ac_cv_use_mslu"
4384 if test "$no_cache" != 1; then
4385 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4388 if test "$wxUSE_UNICODE_MSLU" = yes; then
4389 echo "$ac_t""yes" 1>&6
4391 echo "$ac_t""no" 1>&6
4396 echo $ac_n "checking for --${enablestring:-enable}-wxprintfv""... $ac_c" 1>&6
4397 echo "configure:4398: checking for --${enablestring:-enable}-wxprintfv" >&5
4399 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4400 if test "${enable_wxprintfv+set}" = set; then
4401 enableval
="$enable_wxprintfv"
4403 if test "$enableval" = yes; then
4404 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4406 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4411 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4412 if test "x$LINE" != x
; then
4413 eval "DEFAULT_$LINE"
4418 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4423 eval "$ac_cv_use_wxprintfv"
4424 if test "$no_cache" != 1; then
4425 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4428 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4429 echo "$ac_t""yes" 1>&6
4431 echo "$ac_t""no" 1>&6
4436 echo $ac_n "checking for --${enablestring:-enable}-std_iostreams""... $ac_c" 1>&6
4437 echo "configure:4438: checking for --${enablestring:-enable}-std_iostreams" >&5
4439 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4440 if test "${enable_std_iostreams+set}" = set; then
4441 enableval
="$enable_std_iostreams"
4443 if test "$enableval" = yes; then
4444 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4446 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4451 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4452 if test "x$LINE" != x
; then
4453 eval "DEFAULT_$LINE"
4458 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4463 eval "$ac_cv_use_std_iostreams"
4464 if test "$no_cache" != 1; then
4465 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4468 if test "$wxUSE_STD_IOSTREAM" = yes; then
4469 echo "$ac_t""yes" 1>&6
4471 echo "$ac_t""no" 1>&6
4476 echo $ac_n "checking for --${enablestring:-enable}-filesystem""... $ac_c" 1>&6
4477 echo "configure:4478: checking for --${enablestring:-enable}-filesystem" >&5
4479 # Check whether --enable-filesystem or --disable-filesystem was given.
4480 if test "${enable_filesystem+set}" = set; then
4481 enableval
="$enable_filesystem"
4483 if test "$enableval" = yes; then
4484 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4486 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4491 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4492 if test "x$LINE" != x
; then
4493 eval "DEFAULT_$LINE"
4498 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4503 eval "$ac_cv_use_filesystem"
4504 if test "$no_cache" != 1; then
4505 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4508 if test "$wxUSE_FILESYSTEM" = yes; then
4509 echo "$ac_t""yes" 1>&6
4511 echo "$ac_t""no" 1>&6
4516 echo $ac_n "checking for --${enablestring:-enable}-fs_inet""... $ac_c" 1>&6
4517 echo "configure:4518: checking for --${enablestring:-enable}-fs_inet" >&5
4519 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4520 if test "${enable_fs_inet+set}" = set; then
4521 enableval
="$enable_fs_inet"
4523 if test "$enableval" = yes; then
4524 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4526 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4531 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4532 if test "x$LINE" != x
; then
4533 eval "DEFAULT_$LINE"
4538 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4543 eval "$ac_cv_use_fs_inet"
4544 if test "$no_cache" != 1; then
4545 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4548 if test "$wxUSE_FS_INET" = yes; then
4549 echo "$ac_t""yes" 1>&6
4551 echo "$ac_t""no" 1>&6
4556 echo $ac_n "checking for --${enablestring:-enable}-fs_zip""... $ac_c" 1>&6
4557 echo "configure:4558: checking for --${enablestring:-enable}-fs_zip" >&5
4559 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4560 if test "${enable_fs_zip+set}" = set; then
4561 enableval
="$enable_fs_zip"
4563 if test "$enableval" = yes; then
4564 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4566 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4571 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4572 if test "x$LINE" != x
; then
4573 eval "DEFAULT_$LINE"
4578 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4583 eval "$ac_cv_use_fs_zip"
4584 if test "$no_cache" != 1; then
4585 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4588 if test "$wxUSE_FS_ZIP" = yes; then
4589 echo "$ac_t""yes" 1>&6
4591 echo "$ac_t""no" 1>&6
4596 echo $ac_n "checking for --${enablestring:-enable}-zipstream""... $ac_c" 1>&6
4597 echo "configure:4598: checking for --${enablestring:-enable}-zipstream" >&5
4599 # Check whether --enable-zipstream or --disable-zipstream was given.
4600 if test "${enable_zipstream+set}" = set; then
4601 enableval
="$enable_zipstream"
4603 if test "$enableval" = yes; then
4604 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4606 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4611 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4612 if test "x$LINE" != x
; then
4613 eval "DEFAULT_$LINE"
4618 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4623 eval "$ac_cv_use_zipstream"
4624 if test "$no_cache" != 1; then
4625 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4628 if test "$wxUSE_ZIPSTREAM" = yes; then
4629 echo "$ac_t""yes" 1>&6
4631 echo "$ac_t""no" 1>&6
4637 echo $ac_n "checking for --${enablestring:-enable}-catch_segvs""... $ac_c" 1>&6
4638 echo "configure:4639: checking for --${enablestring:-enable}-catch_segvs" >&5
4640 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4641 if test "${enable_catch_segvs+set}" = set; then
4642 enableval
="$enable_catch_segvs"
4644 if test "$enableval" = yes; then
4645 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4647 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4652 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4653 if test "x$LINE" != x
; then
4654 eval "DEFAULT_$LINE"
4659 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4664 eval "$ac_cv_use_catch_segvs"
4665 if test "$no_cache" != 1; then
4666 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4669 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4670 echo "$ac_t""yes" 1>&6
4672 echo "$ac_t""no" 1>&6
4677 echo $ac_n "checking for --${enablestring:-enable}-snglinst""... $ac_c" 1>&6
4678 echo "configure:4679: checking for --${enablestring:-enable}-snglinst" >&5
4680 # Check whether --enable-snglinst or --disable-snglinst was given.
4681 if test "${enable_snglinst+set}" = set; then
4682 enableval
="$enable_snglinst"
4684 if test "$enableval" = yes; then
4685 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4687 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4692 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4693 if test "x$LINE" != x
; then
4694 eval "DEFAULT_$LINE"
4699 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4704 eval "$ac_cv_use_snglinst"
4705 if test "$no_cache" != 1; then
4706 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4709 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4710 echo "$ac_t""yes" 1>&6
4712 echo "$ac_t""no" 1>&6
4718 echo $ac_n "checking for --${enablestring:-enable}-mimetype""... $ac_c" 1>&6
4719 echo "configure:4720: checking for --${enablestring:-enable}-mimetype" >&5
4721 # Check whether --enable-mimetype or --disable-mimetype was given.
4722 if test "${enable_mimetype+set}" = set; then
4723 enableval
="$enable_mimetype"
4725 if test "$enableval" = yes; then
4726 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4728 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4733 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4734 if test "x$LINE" != x
; then
4735 eval "DEFAULT_$LINE"
4740 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4745 eval "$ac_cv_use_mimetype"
4746 if test "$no_cache" != 1; then
4747 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4750 if test "$wxUSE_MIMETYPE" = yes; then
4751 echo "$ac_t""yes" 1>&6
4753 echo "$ac_t""no" 1>&6
4758 echo $ac_n "checking for --${enablestring:-enable}-system_options""... $ac_c" 1>&6
4759 echo "configure:4760: checking for --${enablestring:-enable}-system_options" >&5
4761 # Check whether --enable-system_options or --disable-system_options was given.
4762 if test "${enable_system_options+set}" = set; then
4763 enableval
="$enable_system_options"
4765 if test "$enableval" = yes; then
4766 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4768 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4773 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4774 if test "x$LINE" != x
; then
4775 eval "DEFAULT_$LINE"
4780 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4785 eval "$ac_cv_use_system_options"
4786 if test "$no_cache" != 1; then
4787 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4790 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4791 echo "$ac_t""yes" 1>&6
4793 echo "$ac_t""no" 1>&6
4799 echo $ac_n "checking for --${enablestring:-enable}-url""... $ac_c" 1>&6
4800 echo "configure:4801: checking for --${enablestring:-enable}-url" >&5
4802 # Check whether --enable-url or --disable-url was given.
4803 if test "${enable_url+set}" = set; then
4804 enableval
="$enable_url"
4806 if test "$enableval" = yes; then
4807 ac_cv_use_url
='wxUSE_URL=yes'
4809 ac_cv_use_url
='wxUSE_URL=no'
4814 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4815 if test "x$LINE" != x
; then
4816 eval "DEFAULT_$LINE"
4821 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4826 eval "$ac_cv_use_url"
4827 if test "$no_cache" != 1; then
4828 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4831 if test "$wxUSE_URL" = yes; then
4832 echo "$ac_t""yes" 1>&6
4834 echo "$ac_t""no" 1>&6
4839 echo $ac_n "checking for --${enablestring:-enable}-protocol""... $ac_c" 1>&6
4840 echo "configure:4841: checking for --${enablestring:-enable}-protocol" >&5
4842 # Check whether --enable-protocol or --disable-protocol was given.
4843 if test "${enable_protocol+set}" = set; then
4844 enableval
="$enable_protocol"
4846 if test "$enableval" = yes; then
4847 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4849 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4854 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4855 if test "x$LINE" != x
; then
4856 eval "DEFAULT_$LINE"
4861 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4866 eval "$ac_cv_use_protocol"
4867 if test "$no_cache" != 1; then
4868 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4871 if test "$wxUSE_PROTOCOL" = yes; then
4872 echo "$ac_t""yes" 1>&6
4874 echo "$ac_t""no" 1>&6
4879 echo $ac_n "checking for --${enablestring:-enable}-protocol_http""... $ac_c" 1>&6
4880 echo "configure:4881: checking for --${enablestring:-enable}-protocol_http" >&5
4882 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4883 if test "${enable_protocol_http+set}" = set; then
4884 enableval
="$enable_protocol_http"
4886 if test "$enableval" = yes; then
4887 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4889 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4894 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4895 if test "x$LINE" != x
; then
4896 eval "DEFAULT_$LINE"
4901 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4906 eval "$ac_cv_use_protocol_http"
4907 if test "$no_cache" != 1; then
4908 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4911 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4912 echo "$ac_t""yes" 1>&6
4914 echo "$ac_t""no" 1>&6
4919 echo $ac_n "checking for --${enablestring:-enable}-protocol_ftp""... $ac_c" 1>&6
4920 echo "configure:4921: checking for --${enablestring:-enable}-protocol_ftp" >&5
4922 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4923 if test "${enable_protocol_ftp+set}" = set; then
4924 enableval
="$enable_protocol_ftp"
4926 if test "$enableval" = yes; then
4927 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4929 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4934 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4935 if test "x$LINE" != x
; then
4936 eval "DEFAULT_$LINE"
4941 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4946 eval "$ac_cv_use_protocol_ftp"
4947 if test "$no_cache" != 1; then
4948 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4951 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4952 echo "$ac_t""yes" 1>&6
4954 echo "$ac_t""no" 1>&6
4959 echo $ac_n "checking for --${enablestring:-enable}-protocol_file""... $ac_c" 1>&6
4960 echo "configure:4961: checking for --${enablestring:-enable}-protocol_file" >&5
4962 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4963 if test "${enable_protocol_file+set}" = set; then
4964 enableval
="$enable_protocol_file"
4966 if test "$enableval" = yes; then
4967 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4969 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4974 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4975 if test "x$LINE" != x
; then
4976 eval "DEFAULT_$LINE"
4981 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4986 eval "$ac_cv_use_protocol_file"
4987 if test "$no_cache" != 1; then
4988 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4991 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4992 echo "$ac_t""yes" 1>&6
4994 echo "$ac_t""no" 1>&6
5002 echo $ac_n "checking for --${enablestring:-enable}-threads""... $ac_c" 1>&6
5003 echo "configure:5004: checking for --${enablestring:-enable}-threads" >&5
5005 # Check whether --enable-threads or --disable-threads was given.
5006 if test "${enable_threads+set}" = set; then
5007 enableval
="$enable_threads"
5009 if test "$enableval" = yes; then
5010 ac_cv_use_threads
='wxUSE_THREADS=yes'
5012 ac_cv_use_threads
='wxUSE_THREADS=no'
5017 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5018 if test "x$LINE" != x
; then
5019 eval "DEFAULT_$LINE"
5024 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5029 eval "$ac_cv_use_threads"
5030 if test "$no_cache" != 1; then
5031 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5034 if test "$wxUSE_THREADS" = yes; then
5035 echo "$ac_t""yes" 1>&6
5037 echo "$ac_t""no" 1>&6
5041 if test "$wxUSE_GUI" = "yes"; then
5046 echo $ac_n "checking for --${enablestring:-enable}-docview""... $ac_c" 1>&6
5047 echo "configure:5048: checking for --${enablestring:-enable}-docview" >&5
5049 # Check whether --enable-docview or --disable-docview was given.
5050 if test "${enable_docview+set}" = set; then
5051 enableval
="$enable_docview"
5053 if test "$enableval" = yes; then
5054 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5056 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5061 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5062 if test "x$LINE" != x
; then
5063 eval "DEFAULT_$LINE"
5068 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5073 eval "$ac_cv_use_docview"
5074 if test "$no_cache" != 1; then
5075 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5078 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5079 echo "$ac_t""yes" 1>&6
5081 echo "$ac_t""no" 1>&6
5086 echo $ac_n "checking for --${enablestring:-enable}-help""... $ac_c" 1>&6
5087 echo "configure:5088: checking for --${enablestring:-enable}-help" >&5
5089 # Check whether --enable-help or --disable-help was given.
5090 if test "${enable_help+set}" = set; then
5091 enableval
="$enable_help"
5093 if test "$enableval" = yes; then
5094 ac_cv_use_help
='wxUSE_HELP=yes'
5096 ac_cv_use_help
='wxUSE_HELP=no'
5101 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5102 if test "x$LINE" != x
; then
5103 eval "DEFAULT_$LINE"
5108 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5113 eval "$ac_cv_use_help"
5114 if test "$no_cache" != 1; then
5115 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5118 if test "$wxUSE_HELP" = yes; then
5119 echo "$ac_t""yes" 1>&6
5121 echo "$ac_t""no" 1>&6
5126 echo $ac_n "checking for --${enablestring:-enable}-mshtmlhelp""... $ac_c" 1>&6
5127 echo "configure:5128: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5129 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5130 if test "${enable_mshtmlhelp+set}" = set; then
5131 enableval
="$enable_mshtmlhelp"
5133 if test "$enableval" = yes; then
5134 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
5136 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
5141 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5142 if test "x$LINE" != x
; then
5143 eval "DEFAULT_$LINE"
5148 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5153 eval "$ac_cv_use_mshtmlhelp"
5154 if test "$no_cache" != 1; then
5155 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5158 if test "$wxUSE_MS_HTML_HELP" = yes; then
5159 echo "$ac_t""yes" 1>&6
5161 echo "$ac_t""no" 1>&6
5166 echo $ac_n "checking for --${enablestring:-enable}-html""... $ac_c" 1>&6
5167 echo "configure:5168: checking for --${enablestring:-enable}-html" >&5
5169 # Check whether --enable-html or --disable-html was given.
5170 if test "${enable_html+set}" = set; then
5171 enableval
="$enable_html"
5173 if test "$enableval" = yes; then
5174 ac_cv_use_html
='wxUSE_HTML=yes'
5176 ac_cv_use_html
='wxUSE_HTML=no'
5181 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5182 if test "x$LINE" != x
; then
5183 eval "DEFAULT_$LINE"
5188 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5193 eval "$ac_cv_use_html"
5194 if test "$no_cache" != 1; then
5195 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5198 if test "$wxUSE_HTML" = yes; then
5199 echo "$ac_t""yes" 1>&6
5201 echo "$ac_t""no" 1>&6
5206 echo $ac_n "checking for --${enablestring:-enable}-htmlhelp""... $ac_c" 1>&6
5207 echo "configure:5208: checking for --${enablestring:-enable}-htmlhelp" >&5
5209 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5210 if test "${enable_htmlhelp+set}" = set; then
5211 enableval
="$enable_htmlhelp"
5213 if test "$enableval" = yes; then
5214 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5216 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5221 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5222 if test "x$LINE" != x
; then
5223 eval "DEFAULT_$LINE"
5228 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5233 eval "$ac_cv_use_htmlhelp"
5234 if test "$no_cache" != 1; then
5235 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5238 if test "$wxUSE_WXHTML_HELP" = yes; then
5239 echo "$ac_t""yes" 1>&6
5241 echo "$ac_t""no" 1>&6
5246 echo $ac_n "checking for --${enablestring:-enable}-constraints""... $ac_c" 1>&6
5247 echo "configure:5248: checking for --${enablestring:-enable}-constraints" >&5
5249 # Check whether --enable-constraints or --disable-constraints was given.
5250 if test "${enable_constraints+set}" = set; then
5251 enableval
="$enable_constraints"
5253 if test "$enableval" = yes; then
5254 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5256 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5261 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5262 if test "x$LINE" != x
; then
5263 eval "DEFAULT_$LINE"
5268 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5273 eval "$ac_cv_use_constraints"
5274 if test "$no_cache" != 1; then
5275 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5278 if test "$wxUSE_CONSTRAINTS" = yes; then
5279 echo "$ac_t""yes" 1>&6
5281 echo "$ac_t""no" 1>&6
5286 echo $ac_n "checking for --${enablestring:-enable}-printarch""... $ac_c" 1>&6
5287 echo "configure:5288: checking for --${enablestring:-enable}-printarch" >&5
5289 # Check whether --enable-printarch or --disable-printarch was given.
5290 if test "${enable_printarch+set}" = set; then
5291 enableval
="$enable_printarch"
5293 if test "$enableval" = yes; then
5294 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5296 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5301 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5302 if test "x$LINE" != x
; then
5303 eval "DEFAULT_$LINE"
5308 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5313 eval "$ac_cv_use_printarch"
5314 if test "$no_cache" != 1; then
5315 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5318 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5319 echo "$ac_t""yes" 1>&6
5321 echo "$ac_t""no" 1>&6
5326 echo $ac_n "checking for --${enablestring:-enable}-mdi""... $ac_c" 1>&6
5327 echo "configure:5328: checking for --${enablestring:-enable}-mdi" >&5
5329 # Check whether --enable-mdi or --disable-mdi was given.
5330 if test "${enable_mdi+set}" = set; then
5331 enableval
="$enable_mdi"
5333 if test "$enableval" = yes; then
5334 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5336 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5341 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5342 if test "x$LINE" != x
; then
5343 eval "DEFAULT_$LINE"
5348 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5353 eval "$ac_cv_use_mdi"
5354 if test "$no_cache" != 1; then
5355 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5358 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5359 echo "$ac_t""yes" 1>&6
5361 echo "$ac_t""no" 1>&6
5366 echo $ac_n "checking for --${enablestring:-enable}-loggui""... $ac_c" 1>&6
5367 echo "configure:5368: checking for --${enablestring:-enable}-loggui" >&5
5369 # Check whether --enable-loggui or --disable-loggui was given.
5370 if test "${enable_loggui+set}" = set; then
5371 enableval
="$enable_loggui"
5373 if test "$enableval" = yes; then
5374 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5376 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5381 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5382 if test "x$LINE" != x
; then
5383 eval "DEFAULT_$LINE"
5388 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5393 eval "$ac_cv_use_loggui"
5394 if test "$no_cache" != 1; then
5395 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5398 if test "$wxUSE_LOGGUI" = yes; then
5399 echo "$ac_t""yes" 1>&6
5401 echo "$ac_t""no" 1>&6
5406 echo $ac_n "checking for --${enablestring:-enable}-logwin""... $ac_c" 1>&6
5407 echo "configure:5408: checking for --${enablestring:-enable}-logwin" >&5
5409 # Check whether --enable-logwin or --disable-logwin was given.
5410 if test "${enable_logwin+set}" = set; then
5411 enableval
="$enable_logwin"
5413 if test "$enableval" = yes; then
5414 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5416 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5421 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5422 if test "x$LINE" != x
; then
5423 eval "DEFAULT_$LINE"
5428 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5433 eval "$ac_cv_use_logwin"
5434 if test "$no_cache" != 1; then
5435 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5438 if test "$wxUSE_LOGWINDOW" = yes; then
5439 echo "$ac_t""yes" 1>&6
5441 echo "$ac_t""no" 1>&6
5446 echo $ac_n "checking for --${enablestring:-enable}-logdialog""... $ac_c" 1>&6
5447 echo "configure:5448: checking for --${enablestring:-enable}-logdialog" >&5
5449 # Check whether --enable-logdialog or --disable-logdialog was given.
5450 if test "${enable_logdialog+set}" = set; then
5451 enableval
="$enable_logdialog"
5453 if test "$enableval" = yes; then
5454 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5456 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5461 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5462 if test "x$LINE" != x
; then
5463 eval "DEFAULT_$LINE"
5468 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5473 eval "$ac_cv_use_logdialog"
5474 if test "$no_cache" != 1; then
5475 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5478 if test "$wxUSE_LOGDIALOG" = yes; then
5479 echo "$ac_t""yes" 1>&6
5481 echo "$ac_t""no" 1>&6
5487 echo $ac_n "checking for --${enablestring:-enable}-postscript""... $ac_c" 1>&6
5488 echo "configure:5489: checking for --${enablestring:-enable}-postscript" >&5
5490 # Check whether --enable-postscript or --disable-postscript was given.
5491 if test "${enable_postscript+set}" = set; then
5492 enableval
="$enable_postscript"
5494 if test "$enableval" = yes; then
5495 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5497 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5502 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5503 if test "x$LINE" != x
; then
5504 eval "DEFAULT_$LINE"
5509 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5514 eval "$ac_cv_use_postscript"
5515 if test "$no_cache" != 1; then
5516 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5519 if test "$wxUSE_POSTSCRIPT" = yes; then
5520 echo "$ac_t""yes" 1>&6
5522 echo "$ac_t""no" 1>&6
5530 echo $ac_n "checking for --${enablestring:-enable}-prologio""... $ac_c" 1>&6
5531 echo "configure:5532: checking for --${enablestring:-enable}-prologio" >&5
5533 # Check whether --enable-prologio or --disable-prologio was given.
5534 if test "${enable_prologio+set}" = set; then
5535 enableval
="$enable_prologio"
5537 if test "$enableval" = yes; then
5538 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5540 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5545 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5546 if test "x$LINE" != x
; then
5547 eval "DEFAULT_$LINE"
5552 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5557 eval "$ac_cv_use_prologio"
5558 if test "$no_cache" != 1; then
5559 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5562 if test "$wxUSE_PROLOGIO" = yes; then
5563 echo "$ac_t""yes" 1>&6
5565 echo "$ac_t""no" 1>&6
5570 echo $ac_n "checking for --${enablestring:-enable}-resources""... $ac_c" 1>&6
5571 echo "configure:5572: checking for --${enablestring:-enable}-resources" >&5
5573 # Check whether --enable-resources or --disable-resources was given.
5574 if test "${enable_resources+set}" = set; then
5575 enableval
="$enable_resources"
5577 if test "$enableval" = yes; then
5578 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5580 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5585 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5586 if test "x$LINE" != x
; then
5587 eval "DEFAULT_$LINE"
5592 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5597 eval "$ac_cv_use_resources"
5598 if test "$no_cache" != 1; then
5599 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5602 if test "$wxUSE_RESOURCES" = yes; then
5603 echo "$ac_t""yes" 1>&6
5605 echo "$ac_t""no" 1>&6
5611 echo $ac_n "checking for --${enablestring:-enable}-xresources""... $ac_c" 1>&6
5612 echo "configure:5613: checking for --${enablestring:-enable}-xresources" >&5
5614 # Check whether --enable-xresources or --disable-xresources was given.
5615 if test "${enable_xresources+set}" = set; then
5616 enableval
="$enable_xresources"
5618 if test "$enableval" = yes; then
5619 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5621 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5626 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5627 if test "x$LINE" != x
; then
5628 eval "DEFAULT_$LINE"
5633 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5638 eval "$ac_cv_use_xresources"
5639 if test "$no_cache" != 1; then
5640 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5643 if test "$wxUSE_X_RESOURCES" = yes; then
5644 echo "$ac_t""yes" 1>&6
5646 echo "$ac_t""no" 1>&6
5653 echo $ac_n "checking for --${enablestring:-enable}-clipboard""... $ac_c" 1>&6
5654 echo "configure:5655: checking for --${enablestring:-enable}-clipboard" >&5
5656 # Check whether --enable-clipboard or --disable-clipboard was given.
5657 if test "${enable_clipboard+set}" = set; then
5658 enableval
="$enable_clipboard"
5660 if test "$enableval" = yes; then
5661 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5663 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5668 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5669 if test "x$LINE" != x
; then
5670 eval "DEFAULT_$LINE"
5675 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5680 eval "$ac_cv_use_clipboard"
5681 if test "$no_cache" != 1; then
5682 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5685 if test "$wxUSE_CLIPBOARD" = yes; then
5686 echo "$ac_t""yes" 1>&6
5688 echo "$ac_t""no" 1>&6
5693 echo $ac_n "checking for --${enablestring:-enable}-dnd""... $ac_c" 1>&6
5694 echo "configure:5695: checking for --${enablestring:-enable}-dnd" >&5
5696 # Check whether --enable-dnd or --disable-dnd was given.
5697 if test "${enable_dnd+set}" = set; then
5698 enableval
="$enable_dnd"
5700 if test "$enableval" = yes; then
5701 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5703 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5708 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5709 if test "x$LINE" != x
; then
5710 eval "DEFAULT_$LINE"
5715 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5720 eval "$ac_cv_use_dnd"
5721 if test "$no_cache" != 1; then
5722 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5725 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5726 echo "$ac_t""yes" 1>&6
5728 echo "$ac_t""no" 1>&6
5733 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
5734 echo "configure:5735: checking for --${enablestring:-enable}-metafile" >&5
5736 # Check whether --enable-metafile or --disable-metafile was given.
5737 if test "${enable_metafile+set}" = set; then
5738 enableval
="$enable_metafile"
5740 if test "$enableval" = yes; then
5741 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5743 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5748 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x
; then
5750 eval "DEFAULT_$LINE"
5755 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5760 eval "$ac_cv_use_metafile"
5761 if test "$no_cache" != 1; then
5762 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5765 if test "$wxUSE_METAFILE" = yes; then
5766 echo "$ac_t""yes" 1>&6
5768 echo "$ac_t""no" 1>&6
5774 echo $ac_n "checking for --${enablestring:-enable}-treelayout""... $ac_c" 1>&6
5775 echo "configure:5776: checking for --${enablestring:-enable}-treelayout" >&5
5777 # Check whether --enable-treelayout or --disable-treelayout was given.
5778 if test "${enable_treelayout+set}" = set; then
5779 enableval
="$enable_treelayout"
5781 if test "$enableval" = yes; then
5782 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5784 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5789 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5790 if test "x$LINE" != x
; then
5791 eval "DEFAULT_$LINE"
5796 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5801 eval "$ac_cv_use_treelayout"
5802 if test "$no_cache" != 1; then
5803 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5806 if test "$wxUSE_TREELAYOUT" = yes; then
5807 echo "$ac_t""yes" 1>&6
5809 echo "$ac_t""no" 1>&6
5816 echo $ac_n "checking for --${enablestring:-enable}-controls""... $ac_c" 1>&6
5817 echo "configure:5818: checking for --${enablestring:-enable}-controls" >&5
5819 # Check whether --enable-controls or --disable-controls was given.
5820 if test "${enable_controls+set}" = set; then
5821 enableval
="$enable_controls"
5823 if test "$enableval" = yes; then
5824 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5826 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5831 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5832 if test "x$LINE" != x
; then
5833 eval "DEFAULT_$LINE"
5838 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5843 eval "$ac_cv_use_controls"
5844 if test "$no_cache" != 1; then
5845 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5848 if test "$wxUSE_CONTROLS" = yes; then
5849 echo "$ac_t""yes" 1>&6
5851 echo "$ac_t""no" 1>&6
5855 if test "$wxUSE_CONTROLS" = "yes"; then
5856 DEFAULT_wxUSE_ACCEL
=yes
5857 DEFAULT_wxUSE_BMPBUTTON
=yes
5858 DEFAULT_wxUSE_BUTTON
=yes
5859 DEFAULT_wxUSE_CALCTRL
=no
5860 DEFAULT_wxUSE_CARET
=yes
5861 DEFAULT_wxUSE_COMBOBOX
=yes
5862 DEFAULT_wxUSE_CHECKBOX
=yes
5863 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5864 DEFAULT_wxUSE_CHOICE
=yes
5865 DEFAULT_wxUSE_GAUGE
=yes
5866 DEFAULT_wxUSE_GRID
=yes
5867 DEFAULT_wxUSE_NEW_GRID
=yes
5868 DEFAULT_wxUSE_IMAGLIST
=yes
5869 DEFAULT_wxUSE_LISTBOX
=yes
5870 DEFAULT_wxUSE_LISTCTRL
=yes
5871 DEFAULT_wxUSE_NOTEBOOK
=yes
5872 DEFAULT_wxUSE_PROPSHEET
=yes
5873 DEFAULT_wxUSE_RADIOBOX
=yes
5874 DEFAULT_wxUSE_RADIOBTN
=yes
5875 DEFAULT_wxUSE_SASH
=yes
5876 DEFAULT_wxUSE_SCROLLBAR
=yes
5877 DEFAULT_wxUSE_SLIDER
=yes
5878 DEFAULT_wxUSE_SPINBTN
=yes
5879 DEFAULT_wxUSE_SPINCTRL
=yes
5880 DEFAULT_wxUSE_SPLITTER
=yes
5881 DEFAULT_wxUSE_STATBMP
=yes
5882 DEFAULT_wxUSE_STATBOX
=yes
5883 DEFAULT_wxUSE_STATLINE
=yes
5884 DEFAULT_wxUSE_STATUSBAR
=yes
5885 DEFAULT_wxUSE_TAB_DIALOG
=yes
5886 DEFAULT_wxUSE_TOGGLEBTN
=yes
5887 DEFAULT_wxUSE_TOOLBAR
=yes
5888 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5889 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5890 DEFAULT_wxUSE_TOOLTIPS
=yes
5891 DEFAULT_wxUSE_TREECTRL
=yes
5892 DEFAULT_wxUSE_POPUPWIN
=yes
5893 DEFAULT_wxUSE_TIPWINDOW
=yes
5894 elif test "$wxUSE_CONTROLS" = "no"; then
5895 DEFAULT_wxUSE_ACCEL
=no
5896 DEFAULT_wxUSE_BMPBUTTON
=no
5897 DEFAULT_wxUSE_BUTTON
=no
5898 DEFAULT_wxUSE_CALCTRL
=no
5899 DEFAULT_wxUSE_CARET
=no
5900 DEFAULT_wxUSE_COMBOBOX
=no
5901 DEFAULT_wxUSE_CHECKBOX
=no
5902 DEFAULT_wxUSE_CHECKLISTBOX
=no
5903 DEFAULT_wxUSE_CHOICE
=no
5904 DEFAULT_wxUSE_GAUGE
=no
5905 DEFAULT_wxUSE_GRID
=no
5906 DEFAULT_wxUSE_NEW_GRID
=no
5907 DEFAULT_wxUSE_IMAGLIST
=no
5908 DEFAULT_wxUSE_LISTBOX
=no
5909 DEFAULT_wxUSE_LISTCTRL
=no
5910 DEFAULT_wxUSE_NOTEBOOK
=no
5911 DEFAULT_wxUSE_PROPSHEET
=no
5912 DEFAULT_wxUSE_RADIOBOX
=no
5913 DEFAULT_wxUSE_RADIOBTN
=no
5914 DEFAULT_wxUSE_SASH
=no
5915 DEFAULT_wxUSE_SCROLLBAR
=no
5916 DEFAULT_wxUSE_SLIDER
=no
5917 DEFAULT_wxUSE_SPINBTN
=no
5918 DEFAULT_wxUSE_SPINCTRL
=no
5919 DEFAULT_wxUSE_SPLITTER
=no
5920 DEFAULT_wxUSE_STATBMP
=no
5921 DEFAULT_wxUSE_STATBOX
=no
5922 DEFAULT_wxUSE_STATLINE
=no
5923 DEFAULT_wxUSE_STATUSBAR
=no
5924 DEFAULT_wxUSE_TAB_DIALOG
=no
5925 DEFAULT_wxUSE_TOGGLEBTN
=no
5926 DEFAULT_wxUSE_TOOLBAR
=no
5927 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5928 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5929 DEFAULT_wxUSE_TOOLTIPS
=no
5930 DEFAULT_wxUSE_TREECTRL
=no
5931 DEFAULT_wxUSE_POPUPWIN
=no
5932 DEFAULT_wxUSE_TIPWINDOW
=no
5937 echo $ac_n "checking for --${enablestring:-enable}-accel""... $ac_c" 1>&6
5938 echo "configure:5939: checking for --${enablestring:-enable}-accel" >&5
5940 # Check whether --enable-accel or --disable-accel was given.
5941 if test "${enable_accel+set}" = set; then
5942 enableval
="$enable_accel"
5944 if test "$enableval" = yes; then
5945 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5947 ac_cv_use_accel
='wxUSE_ACCEL=no'
5952 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5953 if test "x$LINE" != x
; then
5954 eval "DEFAULT_$LINE"
5959 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5964 eval "$ac_cv_use_accel"
5965 if test "$no_cache" != 1; then
5966 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5969 if test "$wxUSE_ACCEL" = yes; then
5970 echo "$ac_t""yes" 1>&6
5972 echo "$ac_t""no" 1>&6
5977 echo $ac_n "checking for --${enablestring:-enable}-button""... $ac_c" 1>&6
5978 echo "configure:5979: checking for --${enablestring:-enable}-button" >&5
5980 # Check whether --enable-button or --disable-button was given.
5981 if test "${enable_button+set}" = set; then
5982 enableval
="$enable_button"
5984 if test "$enableval" = yes; then
5985 ac_cv_use_button
='wxUSE_BUTTON=yes'
5987 ac_cv_use_button
='wxUSE_BUTTON=no'
5992 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5993 if test "x$LINE" != x
; then
5994 eval "DEFAULT_$LINE"
5999 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6004 eval "$ac_cv_use_button"
6005 if test "$no_cache" != 1; then
6006 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6009 if test "$wxUSE_BUTTON" = yes; then
6010 echo "$ac_t""yes" 1>&6
6012 echo "$ac_t""no" 1>&6
6017 echo $ac_n "checking for --${enablestring:-enable}-bmpbutton""... $ac_c" 1>&6
6018 echo "configure:6019: checking for --${enablestring:-enable}-bmpbutton" >&5
6020 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6021 if test "${enable_bmpbutton+set}" = set; then
6022 enableval
="$enable_bmpbutton"
6024 if test "$enableval" = yes; then
6025 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
6027 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
6032 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6033 if test "x$LINE" != x
; then
6034 eval "DEFAULT_$LINE"
6039 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6044 eval "$ac_cv_use_bmpbutton"
6045 if test "$no_cache" != 1; then
6046 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6049 if test "$wxUSE_BMPBUTTON" = yes; then
6050 echo "$ac_t""yes" 1>&6
6052 echo "$ac_t""no" 1>&6
6057 echo $ac_n "checking for --${enablestring:-enable}-calendar""... $ac_c" 1>&6
6058 echo "configure:6059: checking for --${enablestring:-enable}-calendar" >&5
6060 # Check whether --enable-calendar or --disable-calendar was given.
6061 if test "${enable_calendar+set}" = set; then
6062 enableval
="$enable_calendar"
6064 if test "$enableval" = yes; then
6065 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
6067 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
6072 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6073 if test "x$LINE" != x
; then
6074 eval "DEFAULT_$LINE"
6079 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6084 eval "$ac_cv_use_calendar"
6085 if test "$no_cache" != 1; then
6086 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6089 if test "$wxUSE_CALCTRL" = yes; then
6090 echo "$ac_t""yes" 1>&6
6092 echo "$ac_t""no" 1>&6
6097 echo $ac_n "checking for --${enablestring:-enable}-caret""... $ac_c" 1>&6
6098 echo "configure:6099: checking for --${enablestring:-enable}-caret" >&5
6100 # Check whether --enable-caret or --disable-caret was given.
6101 if test "${enable_caret+set}" = set; then
6102 enableval
="$enable_caret"
6104 if test "$enableval" = yes; then
6105 ac_cv_use_caret
='wxUSE_CARET=yes'
6107 ac_cv_use_caret
='wxUSE_CARET=no'
6112 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6113 if test "x$LINE" != x
; then
6114 eval "DEFAULT_$LINE"
6119 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6124 eval "$ac_cv_use_caret"
6125 if test "$no_cache" != 1; then
6126 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6129 if test "$wxUSE_CARET" = yes; then
6130 echo "$ac_t""yes" 1>&6
6132 echo "$ac_t""no" 1>&6
6137 echo $ac_n "checking for --${enablestring:-enable}-checkbox""... $ac_c" 1>&6
6138 echo "configure:6139: checking for --${enablestring:-enable}-checkbox" >&5
6140 # Check whether --enable-checkbox or --disable-checkbox was given.
6141 if test "${enable_checkbox+set}" = set; then
6142 enableval
="$enable_checkbox"
6144 if test "$enableval" = yes; then
6145 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
6147 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
6152 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6153 if test "x$LINE" != x
; then
6154 eval "DEFAULT_$LINE"
6159 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6164 eval "$ac_cv_use_checkbox"
6165 if test "$no_cache" != 1; then
6166 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6169 if test "$wxUSE_CHECKBOX" = yes; then
6170 echo "$ac_t""yes" 1>&6
6172 echo "$ac_t""no" 1>&6
6177 echo $ac_n "checking for --${enablestring:-enable}-checklst""... $ac_c" 1>&6
6178 echo "configure:6179: checking for --${enablestring:-enable}-checklst" >&5
6180 # Check whether --enable-checklst or --disable-checklst was given.
6181 if test "${enable_checklst+set}" = set; then
6182 enableval
="$enable_checklst"
6184 if test "$enableval" = yes; then
6185 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
6187 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
6192 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6193 if test "x$LINE" != x
; then
6194 eval "DEFAULT_$LINE"
6199 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6204 eval "$ac_cv_use_checklst"
6205 if test "$no_cache" != 1; then
6206 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6209 if test "$wxUSE_CHECKLST" = yes; then
6210 echo "$ac_t""yes" 1>&6
6212 echo "$ac_t""no" 1>&6
6217 echo $ac_n "checking for --${enablestring:-enable}-choice""... $ac_c" 1>&6
6218 echo "configure:6219: checking for --${enablestring:-enable}-choice" >&5
6220 # Check whether --enable-choice or --disable-choice was given.
6221 if test "${enable_choice+set}" = set; then
6222 enableval
="$enable_choice"
6224 if test "$enableval" = yes; then
6225 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6227 ac_cv_use_choice
='wxUSE_CHOICE=no'
6232 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6233 if test "x$LINE" != x
; then
6234 eval "DEFAULT_$LINE"
6239 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6244 eval "$ac_cv_use_choice"
6245 if test "$no_cache" != 1; then
6246 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6249 if test "$wxUSE_CHOICE" = yes; then
6250 echo "$ac_t""yes" 1>&6
6252 echo "$ac_t""no" 1>&6
6257 echo $ac_n "checking for --${enablestring:-enable}-combobox""... $ac_c" 1>&6
6258 echo "configure:6259: checking for --${enablestring:-enable}-combobox" >&5
6260 # Check whether --enable-combobox or --disable-combobox was given.
6261 if test "${enable_combobox+set}" = set; then
6262 enableval
="$enable_combobox"
6264 if test "$enableval" = yes; then
6265 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6267 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6272 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6273 if test "x$LINE" != x
; then
6274 eval "DEFAULT_$LINE"
6279 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6284 eval "$ac_cv_use_combobox"
6285 if test "$no_cache" != 1; then
6286 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6289 if test "$wxUSE_COMBOBOX" = yes; then
6290 echo "$ac_t""yes" 1>&6
6292 echo "$ac_t""no" 1>&6
6297 echo $ac_n "checking for --${enablestring:-enable}-display""... $ac_c" 1>&6
6298 echo "configure:6299: checking for --${enablestring:-enable}-display" >&5
6300 # Check whether --enable-display or --disable-display was given.
6301 if test "${enable_display+set}" = set; then
6302 enableval
="$enable_display"
6304 if test "$enableval" = yes; then
6305 ac_cv_use_display
='wxUSE_DISPLAY=yes'
6307 ac_cv_use_display
='wxUSE_DISPLAY=no'
6312 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6313 if test "x$LINE" != x
; then
6314 eval "DEFAULT_$LINE"
6319 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6324 eval "$ac_cv_use_display"
6325 if test "$no_cache" != 1; then
6326 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6329 if test "$wxUSE_DISPLAY" = yes; then
6330 echo "$ac_t""yes" 1>&6
6332 echo "$ac_t""no" 1>&6
6337 echo $ac_n "checking for --${enablestring:-enable}-gauge""... $ac_c" 1>&6
6338 echo "configure:6339: checking for --${enablestring:-enable}-gauge" >&5
6340 # Check whether --enable-gauge or --disable-gauge was given.
6341 if test "${enable_gauge+set}" = set; then
6342 enableval
="$enable_gauge"
6344 if test "$enableval" = yes; then
6345 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6347 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6352 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6353 if test "x$LINE" != x
; then
6354 eval "DEFAULT_$LINE"
6359 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6364 eval "$ac_cv_use_gauge"
6365 if test "$no_cache" != 1; then
6366 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6369 if test "$wxUSE_GAUGE" = yes; then
6370 echo "$ac_t""yes" 1>&6
6372 echo "$ac_t""no" 1>&6
6377 echo $ac_n "checking for --${enablestring:-enable}-grid""... $ac_c" 1>&6
6378 echo "configure:6379: checking for --${enablestring:-enable}-grid" >&5
6380 # Check whether --enable-grid or --disable-grid was given.
6381 if test "${enable_grid+set}" = set; then
6382 enableval
="$enable_grid"
6384 if test "$enableval" = yes; then
6385 ac_cv_use_grid
='wxUSE_GRID=yes'
6387 ac_cv_use_grid
='wxUSE_GRID=no'
6392 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6393 if test "x$LINE" != x
; then
6394 eval "DEFAULT_$LINE"
6399 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6404 eval "$ac_cv_use_grid"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6409 if test "$wxUSE_GRID" = yes; then
6410 echo "$ac_t""yes" 1>&6
6412 echo "$ac_t""no" 1>&6
6417 echo $ac_n "checking for --${enablestring:-enable}-newgrid""... $ac_c" 1>&6
6418 echo "configure:6419: checking for --${enablestring:-enable}-newgrid" >&5
6420 # Check whether --enable-newgrid or --disable-newgrid was given.
6421 if test "${enable_newgrid+set}" = set; then
6422 enableval
="$enable_newgrid"
6424 if test "$enableval" = yes; then
6425 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6427 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6432 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6433 if test "x$LINE" != x
; then
6434 eval "DEFAULT_$LINE"
6439 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6444 eval "$ac_cv_use_newgrid"
6445 if test "$no_cache" != 1; then
6446 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6449 if test "$wxUSE_NEW_GRID" = yes; then
6450 echo "$ac_t""yes" 1>&6
6452 echo "$ac_t""no" 1>&6
6457 echo $ac_n "checking for --${enablestring:-enable}-imaglist""... $ac_c" 1>&6
6458 echo "configure:6459: checking for --${enablestring:-enable}-imaglist" >&5
6460 # Check whether --enable-imaglist or --disable-imaglist was given.
6461 if test "${enable_imaglist+set}" = set; then
6462 enableval
="$enable_imaglist"
6464 if test "$enableval" = yes; then
6465 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6467 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6472 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6473 if test "x$LINE" != x
; then
6474 eval "DEFAULT_$LINE"
6479 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6484 eval "$ac_cv_use_imaglist"
6485 if test "$no_cache" != 1; then
6486 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6489 if test "$wxUSE_IMAGLIST" = yes; then
6490 echo "$ac_t""yes" 1>&6
6492 echo "$ac_t""no" 1>&6
6497 echo $ac_n "checking for --${enablestring:-enable}-listbox""... $ac_c" 1>&6
6498 echo "configure:6499: checking for --${enablestring:-enable}-listbox" >&5
6500 # Check whether --enable-listbox or --disable-listbox was given.
6501 if test "${enable_listbox+set}" = set; then
6502 enableval
="$enable_listbox"
6504 if test "$enableval" = yes; then
6505 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6507 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6512 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6513 if test "x$LINE" != x
; then
6514 eval "DEFAULT_$LINE"
6519 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6524 eval "$ac_cv_use_listbox"
6525 if test "$no_cache" != 1; then
6526 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6529 if test "$wxUSE_LISTBOX" = yes; then
6530 echo "$ac_t""yes" 1>&6
6532 echo "$ac_t""no" 1>&6
6537 echo $ac_n "checking for --${enablestring:-enable}-listctrl""... $ac_c" 1>&6
6538 echo "configure:6539: checking for --${enablestring:-enable}-listctrl" >&5
6540 # Check whether --enable-listctrl or --disable-listctrl was given.
6541 if test "${enable_listctrl+set}" = set; then
6542 enableval
="$enable_listctrl"
6544 if test "$enableval" = yes; then
6545 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6547 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6552 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6553 if test "x$LINE" != x
; then
6554 eval "DEFAULT_$LINE"
6559 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6564 eval "$ac_cv_use_listctrl"
6565 if test "$no_cache" != 1; then
6566 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6569 if test "$wxUSE_LISTCTRL" = yes; then
6570 echo "$ac_t""yes" 1>&6
6572 echo "$ac_t""no" 1>&6
6577 echo $ac_n "checking for --${enablestring:-enable}-notebook""... $ac_c" 1>&6
6578 echo "configure:6579: checking for --${enablestring:-enable}-notebook" >&5
6580 # Check whether --enable-notebook or --disable-notebook was given.
6581 if test "${enable_notebook+set}" = set; then
6582 enableval
="$enable_notebook"
6584 if test "$enableval" = yes; then
6585 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6587 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6592 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6593 if test "x$LINE" != x
; then
6594 eval "DEFAULT_$LINE"
6599 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6604 eval "$ac_cv_use_notebook"
6605 if test "$no_cache" != 1; then
6606 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6609 if test "$wxUSE_NOTEBOOK" = yes; then
6610 echo "$ac_t""yes" 1>&6
6612 echo "$ac_t""no" 1>&6
6617 echo $ac_n "checking for --${enablestring:-enable}-propsheet""... $ac_c" 1>&6
6618 echo "configure:6619: checking for --${enablestring:-enable}-propsheet" >&5
6620 # Check whether --enable-propsheet or --disable-propsheet was given.
6621 if test "${enable_propsheet+set}" = set; then
6622 enableval
="$enable_propsheet"
6624 if test "$enableval" = yes; then
6625 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6627 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6632 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6633 if test "x$LINE" != x
; then
6634 eval "DEFAULT_$LINE"
6639 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6644 eval "$ac_cv_use_propsheet"
6645 if test "$no_cache" != 1; then
6646 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6649 if test "$wxUSE_PROPSHEET" = yes; then
6650 echo "$ac_t""yes" 1>&6
6652 echo "$ac_t""no" 1>&6
6657 echo $ac_n "checking for --${enablestring:-enable}-radiobox""... $ac_c" 1>&6
6658 echo "configure:6659: checking for --${enablestring:-enable}-radiobox" >&5
6660 # Check whether --enable-radiobox or --disable-radiobox was given.
6661 if test "${enable_radiobox+set}" = set; then
6662 enableval
="$enable_radiobox"
6664 if test "$enableval" = yes; then
6665 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6667 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6672 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6673 if test "x$LINE" != x
; then
6674 eval "DEFAULT_$LINE"
6679 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6684 eval "$ac_cv_use_radiobox"
6685 if test "$no_cache" != 1; then
6686 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6689 if test "$wxUSE_RADIOBOX" = yes; then
6690 echo "$ac_t""yes" 1>&6
6692 echo "$ac_t""no" 1>&6
6697 echo $ac_n "checking for --${enablestring:-enable}-radiobtn""... $ac_c" 1>&6
6698 echo "configure:6699: checking for --${enablestring:-enable}-radiobtn" >&5
6700 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6701 if test "${enable_radiobtn+set}" = set; then
6702 enableval
="$enable_radiobtn"
6704 if test "$enableval" = yes; then
6705 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6707 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6712 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6713 if test "x$LINE" != x
; then
6714 eval "DEFAULT_$LINE"
6719 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6724 eval "$ac_cv_use_radiobtn"
6725 if test "$no_cache" != 1; then
6726 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6729 if test "$wxUSE_RADIOBTN" = yes; then
6730 echo "$ac_t""yes" 1>&6
6732 echo "$ac_t""no" 1>&6
6737 echo $ac_n "checking for --${enablestring:-enable}-sash""... $ac_c" 1>&6
6738 echo "configure:6739: checking for --${enablestring:-enable}-sash" >&5
6740 # Check whether --enable-sash or --disable-sash was given.
6741 if test "${enable_sash+set}" = set; then
6742 enableval
="$enable_sash"
6744 if test "$enableval" = yes; then
6745 ac_cv_use_sash
='wxUSE_SASH=yes'
6747 ac_cv_use_sash
='wxUSE_SASH=no'
6752 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6753 if test "x$LINE" != x
; then
6754 eval "DEFAULT_$LINE"
6759 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6764 eval "$ac_cv_use_sash"
6765 if test "$no_cache" != 1; then
6766 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6769 if test "$wxUSE_SASH" = yes; then
6770 echo "$ac_t""yes" 1>&6
6772 echo "$ac_t""no" 1>&6
6777 echo $ac_n "checking for --${enablestring:-enable}-scrollbar""... $ac_c" 1>&6
6778 echo "configure:6779: checking for --${enablestring:-enable}-scrollbar" >&5
6780 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6781 if test "${enable_scrollbar+set}" = set; then
6782 enableval
="$enable_scrollbar"
6784 if test "$enableval" = yes; then
6785 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6787 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6792 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6793 if test "x$LINE" != x
; then
6794 eval "DEFAULT_$LINE"
6799 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6804 eval "$ac_cv_use_scrollbar"
6805 if test "$no_cache" != 1; then
6806 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6809 if test "$wxUSE_SCROLLBAR" = yes; then
6810 echo "$ac_t""yes" 1>&6
6812 echo "$ac_t""no" 1>&6
6817 echo $ac_n "checking for --${enablestring:-enable}-slider""... $ac_c" 1>&6
6818 echo "configure:6819: checking for --${enablestring:-enable}-slider" >&5
6820 # Check whether --enable-slider or --disable-slider was given.
6821 if test "${enable_slider+set}" = set; then
6822 enableval
="$enable_slider"
6824 if test "$enableval" = yes; then
6825 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6827 ac_cv_use_slider
='wxUSE_SLIDER=no'
6832 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6833 if test "x$LINE" != x
; then
6834 eval "DEFAULT_$LINE"
6839 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6844 eval "$ac_cv_use_slider"
6845 if test "$no_cache" != 1; then
6846 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6849 if test "$wxUSE_SLIDER" = yes; then
6850 echo "$ac_t""yes" 1>&6
6852 echo "$ac_t""no" 1>&6
6857 echo $ac_n "checking for --${enablestring:-enable}-spinbtn""... $ac_c" 1>&6
6858 echo "configure:6859: checking for --${enablestring:-enable}-spinbtn" >&5
6860 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6861 if test "${enable_spinbtn+set}" = set; then
6862 enableval
="$enable_spinbtn"
6864 if test "$enableval" = yes; then
6865 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6867 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6872 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6873 if test "x$LINE" != x
; then
6874 eval "DEFAULT_$LINE"
6879 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6884 eval "$ac_cv_use_spinbtn"
6885 if test "$no_cache" != 1; then
6886 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6889 if test "$wxUSE_SPINBTN" = yes; then
6890 echo "$ac_t""yes" 1>&6
6892 echo "$ac_t""no" 1>&6
6897 echo $ac_n "checking for --${enablestring:-enable}-spinctrl""... $ac_c" 1>&6
6898 echo "configure:6899: checking for --${enablestring:-enable}-spinctrl" >&5
6900 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6901 if test "${enable_spinctrl+set}" = set; then
6902 enableval
="$enable_spinctrl"
6904 if test "$enableval" = yes; then
6905 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6907 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6912 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6913 if test "x$LINE" != x
; then
6914 eval "DEFAULT_$LINE"
6919 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6924 eval "$ac_cv_use_spinctrl"
6925 if test "$no_cache" != 1; then
6926 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6929 if test "$wxUSE_SPINCTRL" = yes; then
6930 echo "$ac_t""yes" 1>&6
6932 echo "$ac_t""no" 1>&6
6937 echo $ac_n "checking for --${enablestring:-enable}-splitter""... $ac_c" 1>&6
6938 echo "configure:6939: checking for --${enablestring:-enable}-splitter" >&5
6940 # Check whether --enable-splitter or --disable-splitter was given.
6941 if test "${enable_splitter+set}" = set; then
6942 enableval
="$enable_splitter"
6944 if test "$enableval" = yes; then
6945 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6947 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6952 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6953 if test "x$LINE" != x
; then
6954 eval "DEFAULT_$LINE"
6959 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6964 eval "$ac_cv_use_splitter"
6965 if test "$no_cache" != 1; then
6966 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6969 if test "$wxUSE_SPLITTER" = yes; then
6970 echo "$ac_t""yes" 1>&6
6972 echo "$ac_t""no" 1>&6
6977 echo $ac_n "checking for --${enablestring:-enable}-statbmp""... $ac_c" 1>&6
6978 echo "configure:6979: checking for --${enablestring:-enable}-statbmp" >&5
6980 # Check whether --enable-statbmp or --disable-statbmp was given.
6981 if test "${enable_statbmp+set}" = set; then
6982 enableval
="$enable_statbmp"
6984 if test "$enableval" = yes; then
6985 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6987 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6992 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6993 if test "x$LINE" != x
; then
6994 eval "DEFAULT_$LINE"
6999 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7004 eval "$ac_cv_use_statbmp"
7005 if test "$no_cache" != 1; then
7006 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7009 if test "$wxUSE_STATBMP" = yes; then
7010 echo "$ac_t""yes" 1>&6
7012 echo "$ac_t""no" 1>&6
7017 echo $ac_n "checking for --${enablestring:-enable}-statbox""... $ac_c" 1>&6
7018 echo "configure:7019: checking for --${enablestring:-enable}-statbox" >&5
7020 # Check whether --enable-statbox or --disable-statbox was given.
7021 if test "${enable_statbox+set}" = set; then
7022 enableval
="$enable_statbox"
7024 if test "$enableval" = yes; then
7025 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
7027 ac_cv_use_statbox
='wxUSE_STATBOX=no'
7032 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7033 if test "x$LINE" != x
; then
7034 eval "DEFAULT_$LINE"
7039 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7044 eval "$ac_cv_use_statbox"
7045 if test "$no_cache" != 1; then
7046 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7049 if test "$wxUSE_STATBOX" = yes; then
7050 echo "$ac_t""yes" 1>&6
7052 echo "$ac_t""no" 1>&6
7057 echo $ac_n "checking for --${enablestring:-enable}-statline""... $ac_c" 1>&6
7058 echo "configure:7059: checking for --${enablestring:-enable}-statline" >&5
7060 # Check whether --enable-statline or --disable-statline was given.
7061 if test "${enable_statline+set}" = set; then
7062 enableval
="$enable_statline"
7064 if test "$enableval" = yes; then
7065 ac_cv_use_statline
='wxUSE_STATLINE=yes'
7067 ac_cv_use_statline
='wxUSE_STATLINE=no'
7072 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7073 if test "x$LINE" != x
; then
7074 eval "DEFAULT_$LINE"
7079 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7084 eval "$ac_cv_use_statline"
7085 if test "$no_cache" != 1; then
7086 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7089 if test "$wxUSE_STATLINE" = yes; then
7090 echo "$ac_t""yes" 1>&6
7092 echo "$ac_t""no" 1>&6
7097 echo $ac_n "checking for --${enablestring:-enable}-stattext""... $ac_c" 1>&6
7098 echo "configure:7099: checking for --${enablestring:-enable}-stattext" >&5
7100 # Check whether --enable-stattext or --disable-stattext was given.
7101 if test "${enable_stattext+set}" = set; then
7102 enableval
="$enable_stattext"
7104 if test "$enableval" = yes; then
7105 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
7107 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
7112 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7113 if test "x$LINE" != x
; then
7114 eval "DEFAULT_$LINE"
7119 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7124 eval "$ac_cv_use_stattext"
7125 if test "$no_cache" != 1; then
7126 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7129 if test "$wxUSE_STATTEXT" = yes; then
7130 echo "$ac_t""yes" 1>&6
7132 echo "$ac_t""no" 1>&6
7137 echo $ac_n "checking for --${enablestring:-enable}-statusbar""... $ac_c" 1>&6
7138 echo "configure:7139: checking for --${enablestring:-enable}-statusbar" >&5
7140 # Check whether --enable-statusbar or --disable-statusbar was given.
7141 if test "${enable_statusbar+set}" = set; then
7142 enableval
="$enable_statusbar"
7144 if test "$enableval" = yes; then
7145 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
7147 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
7152 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7153 if test "x$LINE" != x
; then
7154 eval "DEFAULT_$LINE"
7159 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7164 eval "$ac_cv_use_statusbar"
7165 if test "$no_cache" != 1; then
7166 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7169 if test "$wxUSE_STATUSBAR" = yes; then
7170 echo "$ac_t""yes" 1>&6
7172 echo "$ac_t""no" 1>&6
7177 echo $ac_n "checking for --${enablestring:-enable}-tabdialog""... $ac_c" 1>&6
7178 echo "configure:7179: checking for --${enablestring:-enable}-tabdialog" >&5
7180 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7181 if test "${enable_tabdialog+set}" = set; then
7182 enableval
="$enable_tabdialog"
7184 if test "$enableval" = yes; then
7185 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
7187 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
7192 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7193 if test "x$LINE" != x
; then
7194 eval "DEFAULT_$LINE"
7199 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7204 eval "$ac_cv_use_tabdialog"
7205 if test "$no_cache" != 1; then
7206 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7209 if test "$wxUSE_TABDIALOG" = yes; then
7210 echo "$ac_t""yes" 1>&6
7212 echo "$ac_t""no" 1>&6
7217 echo $ac_n "checking for --${enablestring:-enable}-textctrl""... $ac_c" 1>&6
7218 echo "configure:7219: checking for --${enablestring:-enable}-textctrl" >&5
7220 # Check whether --enable-textctrl or --disable-textctrl was given.
7221 if test "${enable_textctrl+set}" = set; then
7222 enableval
="$enable_textctrl"
7224 if test "$enableval" = yes; then
7225 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
7227 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
7232 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x
; then
7234 eval "DEFAULT_$LINE"
7239 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7244 eval "$ac_cv_use_textctrl"
7245 if test "$no_cache" != 1; then
7246 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7249 if test "$wxUSE_TEXTCTRL" = yes; then
7250 echo "$ac_t""yes" 1>&6
7252 echo "$ac_t""no" 1>&6
7257 echo $ac_n "checking for --${enablestring:-enable}-togglebtn""... $ac_c" 1>&6
7258 echo "configure:7259: checking for --${enablestring:-enable}-togglebtn" >&5
7260 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7261 if test "${enable_togglebtn+set}" = set; then
7262 enableval
="$enable_togglebtn"
7264 if test "$enableval" = yes; then
7265 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7267 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7272 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7273 if test "x$LINE" != x
; then
7274 eval "DEFAULT_$LINE"
7279 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7284 eval "$ac_cv_use_togglebtn"
7285 if test "$no_cache" != 1; then
7286 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7289 if test "$wxUSE_TOGGLEBTN" = yes; then
7290 echo "$ac_t""yes" 1>&6
7292 echo "$ac_t""no" 1>&6
7297 echo $ac_n "checking for --${enablestring:-enable}-toolbar""... $ac_c" 1>&6
7298 echo "configure:7299: checking for --${enablestring:-enable}-toolbar" >&5
7300 # Check whether --enable-toolbar or --disable-toolbar was given.
7301 if test "${enable_toolbar+set}" = set; then
7302 enableval
="$enable_toolbar"
7304 if test "$enableval" = yes; then
7305 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7307 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7312 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7313 if test "x$LINE" != x
; then
7314 eval "DEFAULT_$LINE"
7319 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7324 eval "$ac_cv_use_toolbar"
7325 if test "$no_cache" != 1; then
7326 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7329 if test "$wxUSE_TOOLBAR" = yes; then
7330 echo "$ac_t""yes" 1>&6
7332 echo "$ac_t""no" 1>&6
7337 echo $ac_n "checking for --${enablestring:-enable}-tbarnative""... $ac_c" 1>&6
7338 echo "configure:7339: checking for --${enablestring:-enable}-tbarnative" >&5
7340 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7341 if test "${enable_tbarnative+set}" = set; then
7342 enableval
="$enable_tbarnative"
7344 if test "$enableval" = yes; then
7345 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7347 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7352 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7353 if test "x$LINE" != x
; then
7354 eval "DEFAULT_$LINE"
7359 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7364 eval "$ac_cv_use_tbarnative"
7365 if test "$no_cache" != 1; then
7366 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7369 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7370 echo "$ac_t""yes" 1>&6
7372 echo "$ac_t""no" 1>&6
7377 echo $ac_n "checking for --${enablestring:-enable}-tbarsmpl""... $ac_c" 1>&6
7378 echo "configure:7379: checking for --${enablestring:-enable}-tbarsmpl" >&5
7380 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7381 if test "${enable_tbarsmpl+set}" = set; then
7382 enableval
="$enable_tbarsmpl"
7384 if test "$enableval" = yes; then
7385 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7387 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7392 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7393 if test "x$LINE" != x
; then
7394 eval "DEFAULT_$LINE"
7399 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7404 eval "$ac_cv_use_tbarsmpl"
7405 if test "$no_cache" != 1; then
7406 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7409 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7410 echo "$ac_t""yes" 1>&6
7412 echo "$ac_t""no" 1>&6
7417 echo $ac_n "checking for --${enablestring:-enable}-treectrl""... $ac_c" 1>&6
7418 echo "configure:7419: checking for --${enablestring:-enable}-treectrl" >&5
7420 # Check whether --enable-treectrl or --disable-treectrl was given.
7421 if test "${enable_treectrl+set}" = set; then
7422 enableval
="$enable_treectrl"
7424 if test "$enableval" = yes; then
7425 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7427 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7432 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7433 if test "x$LINE" != x
; then
7434 eval "DEFAULT_$LINE"
7439 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7444 eval "$ac_cv_use_treectrl"
7445 if test "$no_cache" != 1; then
7446 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7449 if test "$wxUSE_TREECTRL" = yes; then
7450 echo "$ac_t""yes" 1>&6
7452 echo "$ac_t""no" 1>&6
7457 echo $ac_n "checking for --${enablestring:-enable}-tipwindow""... $ac_c" 1>&6
7458 echo "configure:7459: checking for --${enablestring:-enable}-tipwindow" >&5
7460 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7461 if test "${enable_tipwindow+set}" = set; then
7462 enableval
="$enable_tipwindow"
7464 if test "$enableval" = yes; then
7465 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7467 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7472 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7473 if test "x$LINE" != x
; then
7474 eval "DEFAULT_$LINE"
7479 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7484 eval "$ac_cv_use_tipwindow"
7485 if test "$no_cache" != 1; then
7486 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7489 if test "$wxUSE_TIPWINDOW" = yes; then
7490 echo "$ac_t""yes" 1>&6
7492 echo "$ac_t""no" 1>&6
7497 echo $ac_n "checking for --${enablestring:-enable}-popupwin""... $ac_c" 1>&6
7498 echo "configure:7499: checking for --${enablestring:-enable}-popupwin" >&5
7500 # Check whether --enable-popupwin or --disable-popupwin was given.
7501 if test "${enable_popupwin+set}" = set; then
7502 enableval
="$enable_popupwin"
7504 if test "$enableval" = yes; then
7505 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7507 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7512 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7513 if test "x$LINE" != x
; then
7514 eval "DEFAULT_$LINE"
7519 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7524 eval "$ac_cv_use_popupwin"
7525 if test "$no_cache" != 1; then
7526 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7529 if test "$wxUSE_POPUPWIN" = yes; then
7530 echo "$ac_t""yes" 1>&6
7532 echo "$ac_t""no" 1>&6
7539 echo $ac_n "checking for --${enablestring:-enable}-commondlg""... $ac_c" 1>&6
7540 echo "configure:7541: checking for --${enablestring:-enable}-commondlg" >&5
7542 # Check whether --enable-commondlg or --disable-commondlg was given.
7543 if test "${enable_commondlg+set}" = set; then
7544 enableval
="$enable_commondlg"
7546 if test "$enableval" = yes; then
7547 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7549 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7554 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7555 if test "x$LINE" != x
; then
7556 eval "DEFAULT_$LINE"
7561 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7566 eval "$ac_cv_use_commondlg"
7567 if test "$no_cache" != 1; then
7568 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7571 if test "$wxUSE_COMMONDLGS" = yes; then
7572 echo "$ac_t""yes" 1>&6
7574 echo "$ac_t""no" 1>&6
7579 echo $ac_n "checking for --${enablestring:-enable}-choicedlg""... $ac_c" 1>&6
7580 echo "configure:7581: checking for --${enablestring:-enable}-choicedlg" >&5
7582 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7583 if test "${enable_choicedlg+set}" = set; then
7584 enableval
="$enable_choicedlg"
7586 if test "$enableval" = yes; then
7587 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7589 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7594 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7595 if test "x$LINE" != x
; then
7596 eval "DEFAULT_$LINE"
7601 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7606 eval "$ac_cv_use_choicedlg"
7607 if test "$no_cache" != 1; then
7608 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7611 if test "$wxUSE_CHOICEDLG" = yes; then
7612 echo "$ac_t""yes" 1>&6
7614 echo "$ac_t""no" 1>&6
7619 echo $ac_n "checking for --${enablestring:-enable}-coldlg""... $ac_c" 1>&6
7620 echo "configure:7621: checking for --${enablestring:-enable}-coldlg" >&5
7622 # Check whether --enable-coldlg or --disable-coldlg was given.
7623 if test "${enable_coldlg+set}" = set; then
7624 enableval
="$enable_coldlg"
7626 if test "$enableval" = yes; then
7627 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7629 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7634 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7635 if test "x$LINE" != x
; then
7636 eval "DEFAULT_$LINE"
7641 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7646 eval "$ac_cv_use_coldlg"
7647 if test "$no_cache" != 1; then
7648 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7651 if test "$wxUSE_COLOURDLG" = yes; then
7652 echo "$ac_t""yes" 1>&6
7654 echo "$ac_t""no" 1>&6
7659 echo $ac_n "checking for --${enablestring:-enable}-filedlg""... $ac_c" 1>&6
7660 echo "configure:7661: checking for --${enablestring:-enable}-filedlg" >&5
7662 # Check whether --enable-filedlg or --disable-filedlg was given.
7663 if test "${enable_filedlg+set}" = set; then
7664 enableval
="$enable_filedlg"
7666 if test "$enableval" = yes; then
7667 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7669 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7674 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7675 if test "x$LINE" != x
; then
7676 eval "DEFAULT_$LINE"
7681 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7686 eval "$ac_cv_use_filedlg"
7687 if test "$no_cache" != 1; then
7688 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7691 if test "$wxUSE_FILEDLG" = yes; then
7692 echo "$ac_t""yes" 1>&6
7694 echo "$ac_t""no" 1>&6
7699 echo $ac_n "checking for --${enablestring:-enable}-finddlg""... $ac_c" 1>&6
7700 echo "configure:7701: checking for --${enablestring:-enable}-finddlg" >&5
7702 # Check whether --enable-finddlg or --disable-finddlg was given.
7703 if test "${enable_finddlg+set}" = set; then
7704 enableval
="$enable_finddlg"
7706 if test "$enableval" = yes; then
7707 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7709 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7714 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7715 if test "x$LINE" != x
; then
7716 eval "DEFAULT_$LINE"
7721 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7726 eval "$ac_cv_use_finddlg"
7727 if test "$no_cache" != 1; then
7728 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7731 if test "$wxUSE_FINDREPLDLG" = yes; then
7732 echo "$ac_t""yes" 1>&6
7734 echo "$ac_t""no" 1>&6
7739 echo $ac_n "checking for --${enablestring:-enable}-fontdlg""... $ac_c" 1>&6
7740 echo "configure:7741: checking for --${enablestring:-enable}-fontdlg" >&5
7742 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7743 if test "${enable_fontdlg+set}" = set; then
7744 enableval
="$enable_fontdlg"
7746 if test "$enableval" = yes; then
7747 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7749 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7754 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7755 if test "x$LINE" != x
; then
7756 eval "DEFAULT_$LINE"
7761 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7766 eval "$ac_cv_use_fontdlg"
7767 if test "$no_cache" != 1; then
7768 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7771 if test "$wxUSE_FONTDLG" = yes; then
7772 echo "$ac_t""yes" 1>&6
7774 echo "$ac_t""no" 1>&6
7779 echo $ac_n "checking for --${enablestring:-enable}-dirdlg""... $ac_c" 1>&6
7780 echo "configure:7781: checking for --${enablestring:-enable}-dirdlg" >&5
7782 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7783 if test "${enable_dirdlg+set}" = set; then
7784 enableval
="$enable_dirdlg"
7786 if test "$enableval" = yes; then
7787 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7789 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7794 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7795 if test "x$LINE" != x
; then
7796 eval "DEFAULT_$LINE"
7801 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7806 eval "$ac_cv_use_dirdlg"
7807 if test "$no_cache" != 1; then
7808 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7811 if test "$wxUSE_DIRDLG" = yes; then
7812 echo "$ac_t""yes" 1>&6
7814 echo "$ac_t""no" 1>&6
7819 echo $ac_n "checking for --${enablestring:-enable}-msgdlg""... $ac_c" 1>&6
7820 echo "configure:7821: checking for --${enablestring:-enable}-msgdlg" >&5
7822 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7823 if test "${enable_msgdlg+set}" = set; then
7824 enableval
="$enable_msgdlg"
7826 if test "$enableval" = yes; then
7827 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7829 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7834 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7835 if test "x$LINE" != x
; then
7836 eval "DEFAULT_$LINE"
7841 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7846 eval "$ac_cv_use_msgdlg"
7847 if test "$no_cache" != 1; then
7848 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7851 if test "$wxUSE_MSGDLG" = yes; then
7852 echo "$ac_t""yes" 1>&6
7854 echo "$ac_t""no" 1>&6
7859 echo $ac_n "checking for --${enablestring:-enable}-numberdlg""... $ac_c" 1>&6
7860 echo "configure:7861: checking for --${enablestring:-enable}-numberdlg" >&5
7862 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7863 if test "${enable_numberdlg+set}" = set; then
7864 enableval
="$enable_numberdlg"
7866 if test "$enableval" = yes; then
7867 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7869 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7874 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7875 if test "x$LINE" != x
; then
7876 eval "DEFAULT_$LINE"
7881 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7886 eval "$ac_cv_use_numberdlg"
7887 if test "$no_cache" != 1; then
7888 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7891 if test "$wxUSE_NUMBERDLG" = yes; then
7892 echo "$ac_t""yes" 1>&6
7894 echo "$ac_t""no" 1>&6
7899 echo $ac_n "checking for --${enablestring:-enable}-splash""... $ac_c" 1>&6
7900 echo "configure:7901: checking for --${enablestring:-enable}-splash" >&5
7902 # Check whether --enable-splash or --disable-splash was given.
7903 if test "${enable_splash+set}" = set; then
7904 enableval
="$enable_splash"
7906 if test "$enableval" = yes; then
7907 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7909 ac_cv_use_splash
='wxUSE_SPLASH=no'
7914 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7915 if test "x$LINE" != x
; then
7916 eval "DEFAULT_$LINE"
7921 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7926 eval "$ac_cv_use_splash"
7927 if test "$no_cache" != 1; then
7928 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7931 if test "$wxUSE_SPLASH" = yes; then
7932 echo "$ac_t""yes" 1>&6
7934 echo "$ac_t""no" 1>&6
7939 echo $ac_n "checking for --${enablestring:-enable}-textdlg""... $ac_c" 1>&6
7940 echo "configure:7941: checking for --${enablestring:-enable}-textdlg" >&5
7942 # Check whether --enable-textdlg or --disable-textdlg was given.
7943 if test "${enable_textdlg+set}" = set; then
7944 enableval
="$enable_textdlg"
7946 if test "$enableval" = yes; then
7947 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7949 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7954 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7955 if test "x$LINE" != x
; then
7956 eval "DEFAULT_$LINE"
7961 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7966 eval "$ac_cv_use_textdlg"
7967 if test "$no_cache" != 1; then
7968 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7971 if test "$wxUSE_TEXTDLG" = yes; then
7972 echo "$ac_t""yes" 1>&6
7974 echo "$ac_t""no" 1>&6
7979 echo $ac_n "checking for --${enablestring:-enable}-tipdlg""... $ac_c" 1>&6
7980 echo "configure:7981: checking for --${enablestring:-enable}-tipdlg" >&5
7982 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7983 if test "${enable_tipdlg+set}" = set; then
7984 enableval
="$enable_tipdlg"
7986 if test "$enableval" = yes; then
7987 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7989 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7994 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7995 if test "x$LINE" != x
; then
7996 eval "DEFAULT_$LINE"
8001 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8006 eval "$ac_cv_use_tipdlg"
8007 if test "$no_cache" != 1; then
8008 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8011 if test "$wxUSE_STARTUP_TIPS" = yes; then
8012 echo "$ac_t""yes" 1>&6
8014 echo "$ac_t""no" 1>&6
8019 echo $ac_n "checking for --${enablestring:-enable}-progressdlg""... $ac_c" 1>&6
8020 echo "configure:8021: checking for --${enablestring:-enable}-progressdlg" >&5
8022 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8023 if test "${enable_progressdlg+set}" = set; then
8024 enableval
="$enable_progressdlg"
8026 if test "$enableval" = yes; then
8027 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
8029 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
8034 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8035 if test "x$LINE" != x
; then
8036 eval "DEFAULT_$LINE"
8041 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8046 eval "$ac_cv_use_progressdlg"
8047 if test "$no_cache" != 1; then
8048 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8051 if test "$wxUSE_PROGRESSDLG" = yes; then
8052 echo "$ac_t""yes" 1>&6
8054 echo "$ac_t""no" 1>&6
8059 echo $ac_n "checking for --${enablestring:-enable}-wizarddlg""... $ac_c" 1>&6
8060 echo "configure:8061: checking for --${enablestring:-enable}-wizarddlg" >&5
8062 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8063 if test "${enable_wizarddlg+set}" = set; then
8064 enableval
="$enable_wizarddlg"
8066 if test "$enableval" = yes; then
8067 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
8069 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
8074 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8075 if test "x$LINE" != x
; then
8076 eval "DEFAULT_$LINE"
8081 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8086 eval "$ac_cv_use_wizarddlg"
8087 if test "$no_cache" != 1; then
8088 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8091 if test "$wxUSE_WIZARDDLG" = yes; then
8092 echo "$ac_t""yes" 1>&6
8094 echo "$ac_t""no" 1>&6
8101 echo $ac_n "checking for --${enablestring:-enable}-menus""... $ac_c" 1>&6
8102 echo "configure:8103: checking for --${enablestring:-enable}-menus" >&5
8104 # Check whether --enable-menus or --disable-menus was given.
8105 if test "${enable_menus+set}" = set; then
8106 enableval
="$enable_menus"
8108 if test "$enableval" = yes; then
8109 ac_cv_use_menus
='wxUSE_MENUS=yes'
8111 ac_cv_use_menus
='wxUSE_MENUS=no'
8116 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8117 if test "x$LINE" != x
; then
8118 eval "DEFAULT_$LINE"
8123 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8128 eval "$ac_cv_use_menus"
8129 if test "$no_cache" != 1; then
8130 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8133 if test "$wxUSE_MENUS" = yes; then
8134 echo "$ac_t""yes" 1>&6
8136 echo "$ac_t""no" 1>&6
8141 echo $ac_n "checking for --${enablestring:-enable}-miniframe""... $ac_c" 1>&6
8142 echo "configure:8143: checking for --${enablestring:-enable}-miniframe" >&5
8144 # Check whether --enable-miniframe or --disable-miniframe was given.
8145 if test "${enable_miniframe+set}" = set; then
8146 enableval
="$enable_miniframe"
8148 if test "$enableval" = yes; then
8149 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
8151 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
8156 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8157 if test "x$LINE" != x
; then
8158 eval "DEFAULT_$LINE"
8163 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8168 eval "$ac_cv_use_miniframe"
8169 if test "$no_cache" != 1; then
8170 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8173 if test "$wxUSE_MINIFRAME" = yes; then
8174 echo "$ac_t""yes" 1>&6
8176 echo "$ac_t""no" 1>&6
8181 echo $ac_n "checking for --${enablestring:-enable}-tooltips""... $ac_c" 1>&6
8182 echo "configure:8183: checking for --${enablestring:-enable}-tooltips" >&5
8184 # Check whether --enable-tooltips or --disable-tooltips was given.
8185 if test "${enable_tooltips+set}" = set; then
8186 enableval
="$enable_tooltips"
8188 if test "$enableval" = yes; then
8189 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
8191 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
8196 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8197 if test "x$LINE" != x
; then
8198 eval "DEFAULT_$LINE"
8203 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8208 eval "$ac_cv_use_tooltips"
8209 if test "$no_cache" != 1; then
8210 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8213 if test "$wxUSE_TOOLTIPS" = yes; then
8214 echo "$ac_t""yes" 1>&6
8216 echo "$ac_t""no" 1>&6
8221 echo $ac_n "checking for --${enablestring:-enable}-splines""... $ac_c" 1>&6
8222 echo "configure:8223: checking for --${enablestring:-enable}-splines" >&5
8224 # Check whether --enable-splines or --disable-splines was given.
8225 if test "${enable_splines+set}" = set; then
8226 enableval
="$enable_splines"
8228 if test "$enableval" = yes; then
8229 ac_cv_use_splines
='wxUSE_SPLINES=yes'
8231 ac_cv_use_splines
='wxUSE_SPLINES=no'
8236 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8237 if test "x$LINE" != x
; then
8238 eval "DEFAULT_$LINE"
8243 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8248 eval "$ac_cv_use_splines"
8249 if test "$no_cache" != 1; then
8250 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8253 if test "$wxUSE_SPLINES" = yes; then
8254 echo "$ac_t""yes" 1>&6
8256 echo "$ac_t""no" 1>&6
8261 echo $ac_n "checking for --${enablestring:-enable}-validators""... $ac_c" 1>&6
8262 echo "configure:8263: checking for --${enablestring:-enable}-validators" >&5
8264 # Check whether --enable-validators or --disable-validators was given.
8265 if test "${enable_validators+set}" = set; then
8266 enableval
="$enable_validators"
8268 if test "$enableval" = yes; then
8269 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
8271 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
8276 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8277 if test "x$LINE" != x
; then
8278 eval "DEFAULT_$LINE"
8283 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8288 eval "$ac_cv_use_validators"
8289 if test "$no_cache" != 1; then
8290 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8293 if test "$wxUSE_VALIDATORS" = yes; then
8294 echo "$ac_t""yes" 1>&6
8296 echo "$ac_t""no" 1>&6
8301 echo $ac_n "checking for --${enablestring:-enable}-busyinfo""... $ac_c" 1>&6
8302 echo "configure:8303: checking for --${enablestring:-enable}-busyinfo" >&5
8304 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8305 if test "${enable_busyinfo+set}" = set; then
8306 enableval
="$enable_busyinfo"
8308 if test "$enableval" = yes; then
8309 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8311 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8316 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8317 if test "x$LINE" != x
; then
8318 eval "DEFAULT_$LINE"
8323 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8328 eval "$ac_cv_use_busyinfo"
8329 if test "$no_cache" != 1; then
8330 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8333 if test "$wxUSE_BUSYINFO" = yes; then
8334 echo "$ac_t""yes" 1>&6
8336 echo "$ac_t""no" 1>&6
8341 echo $ac_n "checking for --${enablestring:-enable}-joystick""... $ac_c" 1>&6
8342 echo "configure:8343: checking for --${enablestring:-enable}-joystick" >&5
8344 # Check whether --enable-joystick or --disable-joystick was given.
8345 if test "${enable_joystick+set}" = set; then
8346 enableval
="$enable_joystick"
8348 if test "$enableval" = yes; then
8349 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8351 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8356 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8357 if test "x$LINE" != x
; then
8358 eval "DEFAULT_$LINE"
8363 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8368 eval "$ac_cv_use_joystick"
8369 if test "$no_cache" != 1; then
8370 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8373 if test "$wxUSE_JOYSTICK" = yes; then
8374 echo "$ac_t""yes" 1>&6
8376 echo "$ac_t""no" 1>&6
8381 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
8382 echo "configure:8383: checking for --${enablestring:-enable}-metafile" >&5
8384 # Check whether --enable-metafile or --disable-metafile was given.
8385 if test "${enable_metafile+set}" = set; then
8386 enableval
="$enable_metafile"
8388 if test "$enableval" = yes; then
8389 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8391 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8396 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8397 if test "x$LINE" != x
; then
8398 eval "DEFAULT_$LINE"
8403 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8408 eval "$ac_cv_use_metafile"
8409 if test "$no_cache" != 1; then
8410 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8413 if test "$wxUSE_METAFILE" = yes; then
8414 echo "$ac_t""yes" 1>&6
8416 echo "$ac_t""no" 1>&6
8421 echo $ac_n "checking for --${enablestring:-enable}-dragimage""... $ac_c" 1>&6
8422 echo "configure:8423: checking for --${enablestring:-enable}-dragimage" >&5
8424 # Check whether --enable-dragimage or --disable-dragimage was given.
8425 if test "${enable_dragimage+set}" = set; then
8426 enableval
="$enable_dragimage"
8428 if test "$enableval" = yes; then
8429 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8431 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8436 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8437 if test "x$LINE" != x
; then
8438 eval "DEFAULT_$LINE"
8443 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8448 eval "$ac_cv_use_dragimage"
8449 if test "$no_cache" != 1; then
8450 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8453 if test "$wxUSE_DRAGIMAGE" = yes; then
8454 echo "$ac_t""yes" 1>&6
8456 echo "$ac_t""no" 1>&6
8463 echo $ac_n "checking for --${enablestring:-enable}-palette""... $ac_c" 1>&6
8464 echo "configure:8465: checking for --${enablestring:-enable}-palette" >&5
8466 # Check whether --enable-palette or --disable-palette was given.
8467 if test "${enable_palette+set}" = set; then
8468 enableval
="$enable_palette"
8470 if test "$enableval" = yes; then
8471 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8473 ac_cv_use_palette
='wxUSE_PALETTE=no'
8478 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8479 if test "x$LINE" != x
; then
8480 eval "DEFAULT_$LINE"
8485 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8490 eval "$ac_cv_use_palette"
8491 if test "$no_cache" != 1; then
8492 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8495 if test "$wxUSE_PALETTE" = yes; then
8496 echo "$ac_t""yes" 1>&6
8498 echo "$ac_t""no" 1>&6
8503 echo $ac_n "checking for --${enablestring:-enable}-image""... $ac_c" 1>&6
8504 echo "configure:8505: checking for --${enablestring:-enable}-image" >&5
8506 # Check whether --enable-image or --disable-image was given.
8507 if test "${enable_image+set}" = set; then
8508 enableval
="$enable_image"
8510 if test "$enableval" = yes; then
8511 ac_cv_use_image
='wxUSE_IMAGE=yes'
8513 ac_cv_use_image
='wxUSE_IMAGE=no'
8518 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8519 if test "x$LINE" != x
; then
8520 eval "DEFAULT_$LINE"
8525 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8530 eval "$ac_cv_use_image"
8531 if test "$no_cache" != 1; then
8532 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8535 if test "$wxUSE_IMAGE" = yes; then
8536 echo "$ac_t""yes" 1>&6
8538 echo "$ac_t""no" 1>&6
8543 echo $ac_n "checking for --${enablestring:-enable}-gif""... $ac_c" 1>&6
8544 echo "configure:8545: checking for --${enablestring:-enable}-gif" >&5
8546 # Check whether --enable-gif or --disable-gif was given.
8547 if test "${enable_gif+set}" = set; then
8548 enableval
="$enable_gif"
8550 if test "$enableval" = yes; then
8551 ac_cv_use_gif
='wxUSE_GIF=yes'
8553 ac_cv_use_gif
='wxUSE_GIF=no'
8558 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8559 if test "x$LINE" != x
; then
8560 eval "DEFAULT_$LINE"
8565 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8570 eval "$ac_cv_use_gif"
8571 if test "$no_cache" != 1; then
8572 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8575 if test "$wxUSE_GIF" = yes; then
8576 echo "$ac_t""yes" 1>&6
8578 echo "$ac_t""no" 1>&6
8583 echo $ac_n "checking for --${enablestring:-enable}-pcx""... $ac_c" 1>&6
8584 echo "configure:8585: checking for --${enablestring:-enable}-pcx" >&5
8586 # Check whether --enable-pcx or --disable-pcx was given.
8587 if test "${enable_pcx+set}" = set; then
8588 enableval
="$enable_pcx"
8590 if test "$enableval" = yes; then
8591 ac_cv_use_pcx
='wxUSE_PCX=yes'
8593 ac_cv_use_pcx
='wxUSE_PCX=no'
8598 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8599 if test "x$LINE" != x
; then
8600 eval "DEFAULT_$LINE"
8605 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8610 eval "$ac_cv_use_pcx"
8611 if test "$no_cache" != 1; then
8612 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8615 if test "$wxUSE_PCX" = yes; then
8616 echo "$ac_t""yes" 1>&6
8618 echo "$ac_t""no" 1>&6
8623 echo $ac_n "checking for --${enablestring:-enable}-iff""... $ac_c" 1>&6
8624 echo "configure:8625: checking for --${enablestring:-enable}-iff" >&5
8626 # Check whether --enable-iff or --disable-iff was given.
8627 if test "${enable_iff+set}" = set; then
8628 enableval
="$enable_iff"
8630 if test "$enableval" = yes; then
8631 ac_cv_use_iff
='wxUSE_IFF=yes'
8633 ac_cv_use_iff
='wxUSE_IFF=no'
8638 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8639 if test "x$LINE" != x
; then
8640 eval "DEFAULT_$LINE"
8645 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8650 eval "$ac_cv_use_iff"
8651 if test "$no_cache" != 1; then
8652 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8655 if test "$wxUSE_IFF" = yes; then
8656 echo "$ac_t""yes" 1>&6
8658 echo "$ac_t""no" 1>&6
8663 echo $ac_n "checking for --${enablestring:-enable}-pnm""... $ac_c" 1>&6
8664 echo "configure:8665: checking for --${enablestring:-enable}-pnm" >&5
8666 # Check whether --enable-pnm or --disable-pnm was given.
8667 if test "${enable_pnm+set}" = set; then
8668 enableval
="$enable_pnm"
8670 if test "$enableval" = yes; then
8671 ac_cv_use_pnm
='wxUSE_PNM=yes'
8673 ac_cv_use_pnm
='wxUSE_PNM=no'
8678 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8679 if test "x$LINE" != x
; then
8680 eval "DEFAULT_$LINE"
8685 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8690 eval "$ac_cv_use_pnm"
8691 if test "$no_cache" != 1; then
8692 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8695 if test "$wxUSE_PNM" = yes; then
8696 echo "$ac_t""yes" 1>&6
8698 echo "$ac_t""no" 1>&6
8703 echo $ac_n "checking for --${enablestring:-enable}-xpm""... $ac_c" 1>&6
8704 echo "configure:8705: checking for --${enablestring:-enable}-xpm" >&5
8706 # Check whether --enable-xpm or --disable-xpm was given.
8707 if test "${enable_xpm+set}" = set; then
8708 enableval
="$enable_xpm"
8710 if test "$enableval" = yes; then
8711 ac_cv_use_xpm
='wxUSE_XPM=yes'
8713 ac_cv_use_xpm
='wxUSE_XPM=no'
8718 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8719 if test "x$LINE" != x
; then
8720 eval "DEFAULT_$LINE"
8725 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8730 eval "$ac_cv_use_xpm"
8731 if test "$no_cache" != 1; then
8732 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8735 if test "$wxUSE_XPM" = yes; then
8736 echo "$ac_t""yes" 1>&6
8738 echo "$ac_t""no" 1>&6
8743 echo $ac_n "checking for --${enablestring:-enable}-ico_cur""... $ac_c" 1>&6
8744 echo "configure:8745: checking for --${enablestring:-enable}-ico_cur" >&5
8746 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8747 if test "${enable_ico_cur+set}" = set; then
8748 enableval
="$enable_ico_cur"
8750 if test "$enableval" = yes; then
8751 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8753 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8758 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8759 if test "x$LINE" != x
; then
8760 eval "DEFAULT_$LINE"
8765 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8770 eval "$ac_cv_use_ico_cur"
8771 if test "$no_cache" != 1; then
8772 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8775 if test "$wxUSE_ICO_CUR" = yes; then
8776 echo "$ac_t""yes" 1>&6
8778 echo "$ac_t""no" 1>&6
8785 *-pc-os2_emx | *-pc-os2-emx )
8797 echo "saving argument cache $wx_arg_cache_file"
8798 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8802 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8803 echo "configure:8804: checking for toolkit" >&5
8805 # In Wine, we need to default to MSW, not GTK or MOTIF
8806 if test "$wxUSE_WINE" = "yes"; then
8807 DEFAULT_DEFAULT_wxUSE_GTK
=0
8808 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
8809 DEFAULT_DEFAULT_wxUSE_MSW
=1
8812 if test "$wxUSE_GUI" = "yes"; then
8814 if test "$USE_BEOS" = 1; then
8815 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8818 if test "$TOOLKIT_GIVEN" = 1; then
8819 for toolkit
in `echo $ALL_TOOLKITS`; do
8821 eval "value=\$${var}"
8822 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8825 for toolkit
in `echo $ALL_TOOLKITS`; do
8826 if test "$has_toolkit_in_cache" != 1; then
8827 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8829 var
=DEFAULT_wxUSE_
$toolkit
8831 eval "wxUSE_$toolkit=\$${var}"
8835 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8836 + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8839 *-pc-os2_emx | *-pc-os2-emx )
8840 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8843 case "$NUM_TOOLKITS" in
8847 { echo "configure: error: Please specify a toolkit -- cannot determine the default for ${host}" 1>&2; exit 1; }
8850 { echo "configure: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" 1>&2; exit 1; }
8853 for toolkit
in `echo $ALL_TOOLKITS`; do
8855 eval "value=\$${var}"
8856 if test "x$value" != x
; then
8857 cache_var
=CACHE_
$toolkit
8858 eval "cache=\$${cache_var}"
8859 if test "$cache" = 1; then
8860 echo "$var=$value" >> ${wx_arg_cache_file}
8862 if test "$value" = 1; then
8863 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8864 echo "$ac_t""$toolkit_echo" 1>&6
8869 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8876 if test "$wxUSE_MSW" = 1 ; then
8887 if test "$wxUSE_WINE" = "yes"; then
8894 if test "$wants_win32" = 1 ; then
8897 cat >> confdefs.h
<<\EOF
8901 cat >> confdefs.h
<<\EOF
8905 cat >> confdefs.h
<<\EOF
8906 #define __WINDOWS__ 1
8909 cat >> confdefs.h
<<\EOF
8910 #define __GNUWIN32__ 1
8913 cat >> confdefs.h
<<\EOF
8917 cat >> confdefs.h
<<\EOF
8918 #define WINVER 0x0400
8922 if test "$doesnt_want_win32" = 1 ; then
8927 if test "$USE_UNIX" = 1 ; then
8929 cat >> confdefs.h
<<\EOF
8936 cat > confcache
<<\EOF
8937 # This file is a shell script that caches the results of configure
8938 # tests run on this system so they can be shared between configure
8939 # scripts and configure runs. It is not useful on other systems.
8940 # If it contains results you don't want to keep, you may remove or edit it.
8942 # By default, configure uses ./config.cache as the cache file,
8943 # creating it if it does not exist already. You can give configure
8944 # the --cache-file=FILE option to use a different cache file; that is
8945 # what configure does when it calls configure scripts in
8946 # subdirectories, so they share the cache.
8947 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8948 # config.status only pays attention to the cache file if you give it the
8949 # --recheck option to rerun configure.
8952 # The following way of writing the cache mishandles newlines in values,
8953 # but we know of no workaround that is simple, portable, and efficient.
8954 # So, don't put newlines in cache variables' values.
8955 # Ultrix sh set writes to stderr and can't be redirected directly,
8956 # and sets the high bit in the cache file unless we assign to the vars.
8958 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8960 # `set' does not quote correctly, so add quotes (double-quote substitution
8961 # turns \\\\ into \\, and sed turns \\ into \).
8963 -e "s/'/'\\\\''/g" \
8964 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8967 # `set' quotes correctly as required by POSIX, so do not add quotes.
8968 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8971 if cmp -s $cache_file confcache
; then
8974 if test -w $cache_file; then
8975 echo "updating cache $cache_file"
8976 cat confcache
> $cache_file
8978 echo "not updating unwritable cache $cache_file"
8984 if test "$build" != "$host" ; then
8985 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8989 RANLIB
=$host_alias-ranlib
8990 DLLTOOL
=$host_alias-dlltool
8991 RESCOMP
=$host_alias-windres
8994 STRIP
=$host_alias-strip
8996 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
9001 # Extract the first word of "gcc", so it can be a program name with args.
9002 set dummy gcc
; ac_word
=$2
9003 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9004 echo "configure:9005: checking for $ac_word" >&5
9005 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
9006 echo $ac_n "(cached) $ac_c" 1>&6
9008 if test -n "$CC"; then
9009 ac_cv_prog_CC
="$CC" # Let the user override the test.
9011 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9013 for ac_dir
in $ac_dummy; do
9014 test -z "$ac_dir" && ac_dir
=.
9015 if test -f $ac_dir/$ac_word; then
9024 if test -n "$CC"; then
9025 echo "$ac_t""$CC" 1>&6
9027 echo "$ac_t""no" 1>&6
9030 if test -z "$CC"; then
9031 # Extract the first word of "cc", so it can be a program name with args.
9032 set dummy cc
; ac_word
=$2
9033 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9034 echo "configure:9035: checking for $ac_word" >&5
9035 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
9036 echo $ac_n "(cached) $ac_c" 1>&6
9038 if test -n "$CC"; then
9039 ac_cv_prog_CC
="$CC" # Let the user override the test.
9041 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9044 for ac_dir
in $ac_dummy; do
9045 test -z "$ac_dir" && ac_dir
=.
9046 if test -f $ac_dir/$ac_word; then
9047 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
9048 ac_prog_rejected
=yes
9056 if test $ac_prog_rejected = yes; then
9057 # We found a bogon in the path, so make sure we never use it.
9058 set dummy
$ac_cv_prog_CC
9060 if test $# -gt 0; then
9061 # We chose a different compiler from the bogus one.
9062 # However, it has the same basename, so the bogon will be chosen
9063 # first if we set CC to just the basename; use the full file name.
9065 set dummy
"$ac_dir/$ac_word" "$@"
9073 if test -n "$CC"; then
9074 echo "$ac_t""$CC" 1>&6
9076 echo "$ac_t""no" 1>&6
9079 if test -z "$CC"; then
9080 case "`uname -s`" in
9082 # Extract the first word of "cl", so it can be a program name with args.
9083 set dummy cl
; ac_word
=$2
9084 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9085 echo "configure:9086: checking for $ac_word" >&5
9086 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
9087 echo $ac_n "(cached) $ac_c" 1>&6
9089 if test -n "$CC"; then
9090 ac_cv_prog_CC
="$CC" # Let the user override the test.
9092 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9094 for ac_dir
in $ac_dummy; do
9095 test -z "$ac_dir" && ac_dir
=.
9096 if test -f $ac_dir/$ac_word; then
9105 if test -n "$CC"; then
9106 echo "$ac_t""$CC" 1>&6
9108 echo "$ac_t""no" 1>&6
9113 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
9116 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9117 echo "configure:9118: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
9120 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9121 ac_cpp
='$CPP $CPPFLAGS'
9122 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9123 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9124 cross_compiling
=$ac_cv_prog_cc_cross
9126 cat > conftest.
$ac_ext << EOF
9128 #line 9129 "configure"
9129 #include "confdefs.h"
9133 if { (eval echo configure
:9134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9134 ac_cv_prog_cc_works
=yes
9135 # If we can't run a trivial program, we are probably using a cross compiler.
9136 if (.
/conftest
; exit) 2>/dev
/null
; then
9137 ac_cv_prog_cc_cross
=no
9139 ac_cv_prog_cc_cross
=yes
9142 echo "configure: failed program was:" >&5
9143 cat conftest.
$ac_ext >&5
9144 ac_cv_prog_cc_works
=no
9148 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9149 ac_cpp
='$CPP $CPPFLAGS'
9150 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9151 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9152 cross_compiling
=$ac_cv_prog_cc_cross
9154 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
9155 if test $ac_cv_prog_cc_works = no
; then
9156 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
9158 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9159 echo "configure:9160: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
9160 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
9161 cross_compiling
=$ac_cv_prog_cc_cross
9163 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
9164 echo "configure:9165: checking whether we are using GNU C" >&5
9165 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
9166 echo $ac_n "(cached) $ac_c" 1>&6
9168 cat > conftest.c
<<EOF
9173 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:9174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9180 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
9182 if test $ac_cv_prog_gcc = yes; then
9188 ac_test_CFLAGS
="${CFLAGS+set}"
9189 ac_save_CFLAGS
="$CFLAGS"
9191 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
9192 echo "configure:9193: checking whether ${CC-cc} accepts -g" >&5
9193 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
9194 echo $ac_n "(cached) $ac_c" 1>&6
9196 echo 'void f(){}' > conftest.c
9197 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
9206 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
9207 if test "$ac_test_CFLAGS" = set; then
9208 CFLAGS
="$ac_save_CFLAGS"
9209 elif test $ac_cv_prog_cc_g = yes; then
9210 if test "$GCC" = yes; then
9216 if test "$GCC" = yes; then
9224 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
9225 echo "configure:9226: checking how to run the C preprocessor" >&5
9226 # On Suns, sometimes $CPP names a directory.
9227 if test -n "$CPP" && test -d "$CPP"; then
9230 if test -z "$CPP"; then
9231 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
9232 echo $ac_n "(cached) $ac_c" 1>&6
9234 # This must be in double quotes, not single quotes, because CPP may get
9235 # substituted into the Makefile and "${CC-cc}" will confuse make.
9237 # On the NeXT, cc -E runs the code through the compiler's parser,
9238 # not just through cpp.
9239 cat > conftest.
$ac_ext <<EOF
9240 #line 9241 "configure"
9241 #include "confdefs.h"
9245 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9246 { (eval echo configure
:9247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9247 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9248 if test -z "$ac_err"; then
9252 echo "configure: failed program was:" >&5
9253 cat conftest.
$ac_ext >&5
9255 CPP
="${CC-cc} -E -traditional-cpp"
9256 cat > conftest.
$ac_ext <<EOF
9257 #line 9258 "configure"
9258 #include "confdefs.h"
9262 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9263 { (eval echo configure
:9264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9264 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9265 if test -z "$ac_err"; then
9269 echo "configure: failed program was:" >&5
9270 cat conftest.
$ac_ext >&5
9272 CPP
="${CC-cc} -nologo -E"
9273 cat > conftest.
$ac_ext <<EOF
9274 #line 9275 "configure"
9275 #include "confdefs.h"
9279 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9280 { (eval echo configure
:9281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9281 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9282 if test -z "$ac_err"; then
9286 echo "configure: failed program was:" >&5
9287 cat conftest.
$ac_ext >&5
9296 ac_cv_prog_CPP
="$CPP"
9298 CPP
="$ac_cv_prog_CPP"
9300 ac_cv_prog_CPP
="$CPP"
9302 echo "$ac_t""$CPP" 1>&6
9304 if test $ac_cv_prog_gcc = yes; then
9305 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
9306 echo "configure:9307: checking whether ${CC-cc} needs -traditional" >&5
9307 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
9308 echo $ac_n "(cached) $ac_c" 1>&6
9310 ac_pattern
="Autoconf.*'x'"
9311 cat > conftest.
$ac_ext <<EOF
9312 #line 9313 "configure"
9313 #include "confdefs.h"
9317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9318 egrep "$ac_pattern" >/dev
/null
2>&1; then
9320 ac_cv_prog_gcc_traditional
=yes
9323 ac_cv_prog_gcc_traditional
=no
9328 if test $ac_cv_prog_gcc_traditional = no
; then
9329 cat > conftest.
$ac_ext <<EOF
9330 #line 9331 "configure"
9331 #include "confdefs.h"
9335 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9336 egrep "$ac_pattern" >/dev
/null
2>&1; then
9338 ac_cv_prog_gcc_traditional
=yes
9345 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
9346 if test $ac_cv_prog_gcc_traditional = yes; then
9347 CC
="$CC -traditional"
9354 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9355 ac_cpp
='$CXXCPP $CPPFLAGS'
9356 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9357 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9358 cross_compiling
=$ac_cv_prog_cxx_cross
9361 CXXFLAGS
=${CXXFLAGS:=}
9362 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
9364 # Extract the first word of "$ac_prog", so it can be a program name with args.
9365 set dummy
$ac_prog; ac_word
=$2
9366 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9367 echo "configure:9368: checking for $ac_word" >&5
9368 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
9369 echo $ac_n "(cached) $ac_c" 1>&6
9371 if test -n "$CXX"; then
9372 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9374 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9376 for ac_dir
in $ac_dummy; do
9377 test -z "$ac_dir" && ac_dir
=.
9378 if test -f $ac_dir/$ac_word; then
9379 ac_cv_prog_CXX
="$ac_prog"
9386 CXX
="$ac_cv_prog_CXX"
9387 if test -n "$CXX"; then
9388 echo "$ac_t""$CXX" 1>&6
9390 echo "$ac_t""no" 1>&6
9393 test -n "$CXX" && break
9395 test -n "$CXX" || CXX
="gcc"
9398 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9399 echo "configure:9400: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9402 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9403 ac_cpp
='$CXXCPP $CPPFLAGS'
9404 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9405 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9406 cross_compiling
=$ac_cv_prog_cxx_cross
9408 cat > conftest.
$ac_ext << EOF
9410 #line 9411 "configure"
9411 #include "confdefs.h"
9413 int main(){return(0);}
9415 if { (eval echo configure
:9416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9416 ac_cv_prog_cxx_works
=yes
9417 # If we can't run a trivial program, we are probably using a cross compiler.
9418 if (.
/conftest
; exit) 2>/dev
/null
; then
9419 ac_cv_prog_cxx_cross
=no
9421 ac_cv_prog_cxx_cross
=yes
9424 echo "configure: failed program was:" >&5
9425 cat conftest.
$ac_ext >&5
9426 ac_cv_prog_cxx_works
=no
9430 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9431 ac_cpp
='$CXXCPP $CPPFLAGS'
9432 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9433 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9434 cross_compiling
=$ac_cv_prog_cxx_cross
9436 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9437 if test $ac_cv_prog_cxx_works = no
; then
9438 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9440 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9441 echo "configure:9442: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9442 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9443 cross_compiling
=$ac_cv_prog_cxx_cross
9445 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9446 echo "configure:9447: checking whether we are using GNU C++" >&5
9447 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9448 echo $ac_n "(cached) $ac_c" 1>&6
9450 cat > conftest.C
<<EOF
9455 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9462 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9464 if test $ac_cv_prog_gxx = yes; then
9470 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9471 ac_save_CXXFLAGS
="$CXXFLAGS"
9473 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9474 echo "configure:9475: checking whether ${CXX-g++} accepts -g" >&5
9475 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9476 echo $ac_n "(cached) $ac_c" 1>&6
9478 echo 'void f(){}' > conftest.cc
9479 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9480 ac_cv_prog_cxx_g
=yes
9488 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9489 if test "$ac_test_CXXFLAGS" = set; then
9490 CXXFLAGS
="$ac_save_CXXFLAGS"
9491 elif test $ac_cv_prog_cxx_g = yes; then
9492 if test "$GXX" = yes; then
9498 if test "$GXX" = yes; then
9507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9508 ac_cpp
='$CPP $CPPFLAGS'
9509 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9510 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9511 cross_compiling
=$ac_cv_prog_cc_cross
9514 # Extract the first word of "ranlib", so it can be a program name with args.
9515 set dummy ranlib
; ac_word
=$2
9516 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9517 echo "configure:9518: checking for $ac_word" >&5
9518 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9519 echo $ac_n "(cached) $ac_c" 1>&6
9521 if test -n "$RANLIB"; then
9522 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9524 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9526 for ac_dir
in $ac_dummy; do
9527 test -z "$ac_dir" && ac_dir
=.
9528 if test -f $ac_dir/$ac_word; then
9529 ac_cv_prog_RANLIB
="ranlib"
9534 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9537 RANLIB
="$ac_cv_prog_RANLIB"
9538 if test -n "$RANLIB"; then
9539 echo "$ac_t""$RANLIB" 1>&6
9541 echo "$ac_t""no" 1>&6
9545 # Extract the first word of "ar", so it can be a program name with args.
9546 set dummy
ar; ac_word
=$2
9547 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9548 echo "configure:9549: checking for $ac_word" >&5
9549 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9550 echo $ac_n "(cached) $ac_c" 1>&6
9552 if test -n "$AR"; then
9553 ac_cv_prog_AR
="$AR" # Let the user override the test.
9555 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9557 for ac_dir
in $ac_dummy; do
9558 test -z "$ac_dir" && ac_dir
=.
9559 if test -f $ac_dir/$ac_word; then
9565 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9569 if test -n "$AR"; then
9570 echo "$ac_t""$AR" 1>&6
9572 echo "$ac_t""no" 1>&6
9576 # Find a good install program. We prefer a C program (faster),
9577 # so one script is as good as another. But avoid the broken or
9578 # incompatible versions:
9579 # SysV /etc/install, /usr/sbin/install
9580 # SunOS /usr/etc/install
9581 # IRIX /sbin/install
9583 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9584 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9585 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9586 # ./install, which can be erroneously created by make from ./install.sh.
9587 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9588 echo "configure:9589: checking for a BSD compatible install" >&5
9589 if test -z "$INSTALL"; then
9590 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9591 echo $ac_n "(cached) $ac_c" 1>&6
9593 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9594 for ac_dir
in $PATH; do
9595 # Account for people who put trailing slashes in PATH elements.
9597 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9599 # OSF1 and SCO ODT 3.0 have their own names for install.
9600 # Don't use installbsd from OSF since it installs stuff as root
9602 for ac_prog
in ginstall scoinst
install; do
9603 if test -f $ac_dir/$ac_prog; then
9604 if test $ac_prog = install &&
9605 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9606 # AIX install. It has an incompatible calling convention.
9609 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9620 if test "${ac_cv_path_install+set}" = set; then
9621 INSTALL
="$ac_cv_path_install"
9623 # As a last resort, use the slow shell script. We don't cache a
9624 # path for INSTALL within a source directory, because that will
9625 # break other packages using the cache if that directory is
9626 # removed, or if the path is relative.
9627 INSTALL
="$ac_install_sh"
9630 echo "$ac_t""$INSTALL" 1>&6
9632 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9633 # It thinks the first close brace ends the variable substitution.
9634 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9636 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9638 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9644 ?
:* ) # Drive letter, considered as absolute.
9647 INSTALL
=`pwd`/${INSTALL} ;;
9655 *) INSTALL_DIR
="$INSTALL -d"
9663 INSTALL_PROGRAM
="cp -fp"
9664 INSTALL_DATA
="cp -fp"
9670 # Extract the first word of "strip", so it can be a program name with args.
9671 set dummy strip
; ac_word
=$2
9672 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9673 echo "configure:9674: checking for $ac_word" >&5
9674 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9675 echo $ac_n "(cached) $ac_c" 1>&6
9677 if test -n "$STRIP"; then
9678 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9680 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9682 for ac_dir
in $ac_dummy; do
9683 test -z "$ac_dir" && ac_dir
=.
9684 if test -f $ac_dir/$ac_word; then
9685 ac_cv_prog_STRIP
="strip"
9690 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9693 STRIP
="$ac_cv_prog_STRIP"
9694 if test -n "$STRIP"; then
9695 echo "$ac_t""$STRIP" 1>&6
9697 echo "$ac_t""no" 1>&6
9701 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9702 echo "configure:9703: checking if make is GNU make" >&5
9703 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9704 echo $ac_n "(cached) $ac_c" 1>&6
9707 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9708 egrep -s GNU
> /dev
/null
); then
9709 wx_cv_prog_makeisgnu
="yes"
9711 wx_cv_prog_makeisgnu
="no"
9716 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9718 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9726 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9727 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9728 echo "configure:9729: checking if make supports VPATH" >&5
9729 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9730 echo $ac_n "(cached) $ac_c" 1>&6
9733 cat - << EOF > confMake
9739 if test ! -d sub
; then
9742 echo dummy
> sub
/file
9743 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9745 rm -f sub
/file check final_file confMake
9747 if test "$RESULT" = 0; then
9748 wx_cv_prog_makevpath
="yes"
9750 wx_cv_prog_makevpath
="no"
9755 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9757 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9758 { echo "configure: error:
9759 You need a make-utility that is able to use the variable
9761 If your version of make does not support VPATH correctly,
9762 please install GNU-make (possibly as gmake), and start
9763 configure with the following command:
9764 export MAKE=gmake; ./configure for sh-type shells
9765 setenv MAKE gmake; ./configure for csh-type shells
9766 Also please do remember to use gmake in this case every time
9767 you are trying to compile.
9770 for ac_prog
in 'bison -y' byacc
9772 # Extract the first word of "$ac_prog", so it can be a program name with args.
9773 set dummy
$ac_prog; ac_word
=$2
9774 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9775 echo "configure:9776: checking for $ac_word" >&5
9776 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9777 echo $ac_n "(cached) $ac_c" 1>&6
9779 if test -n "$YACC"; then
9780 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9782 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9784 for ac_dir
in $ac_dummy; do
9785 test -z "$ac_dir" && ac_dir
=.
9786 if test -f $ac_dir/$ac_word; then
9787 ac_cv_prog_YACC
="$ac_prog"
9794 YACC
="$ac_cv_prog_YACC"
9795 if test -n "$YACC"; then
9796 echo "$ac_t""$YACC" 1>&6
9798 echo "$ac_t""no" 1>&6
9801 test -n "$YACC" && break
9803 test -n "$YACC" || YACC
="yacc"
9806 # Extract the first word of "flex", so it can be a program name with args.
9807 set dummy flex
; ac_word
=$2
9808 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9809 echo "configure:9810: checking for $ac_word" >&5
9810 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9811 echo $ac_n "(cached) $ac_c" 1>&6
9813 if test -n "$LEX"; then
9814 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9816 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9818 for ac_dir
in $ac_dummy; do
9819 test -z "$ac_dir" && ac_dir
=.
9820 if test -f $ac_dir/$ac_word; then
9821 ac_cv_prog_LEX
="flex"
9826 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9829 LEX
="$ac_cv_prog_LEX"
9830 if test -n "$LEX"; then
9831 echo "$ac_t""$LEX" 1>&6
9833 echo "$ac_t""no" 1>&6
9836 if test -z "$LEXLIB"
9842 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9843 echo "configure:9844: checking for yywrap in -l$ac_lib" >&5
9844 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9845 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9846 echo $ac_n "(cached) $ac_c" 1>&6
9848 ac_save_LIBS
="$LIBS"
9849 LIBS
="-l$ac_lib $LIBS"
9850 cat > conftest.
$ac_ext <<EOF
9851 #line 9852 "configure"
9852 #include "confdefs.h"
9853 /* Override any gcc2 internal prototype to avoid an error. */
9854 /* We use char because int might match the return type of a gcc2
9855 builtin and then its argument prototype would still apply. */
9862 if { (eval echo configure
:9863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9864 eval "ac_cv_lib_$ac_lib_var=yes"
9866 echo "configure: failed program was:" >&5
9867 cat conftest.
$ac_ext >&5
9869 eval "ac_cv_lib_$ac_lib_var=no"
9872 LIBS
="$ac_save_LIBS"
9875 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9876 echo "$ac_t""yes" 1>&6
9879 echo "$ac_t""no" 1>&6
9885 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9886 echo "configure:9887: checking whether ln -s works" >&5
9887 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9888 echo $ac_n "(cached) $ac_c" 1>&6
9891 if ln -s X conftestdata
2>/dev
/null
9894 ac_cv_prog_LN_S
="ln -s"
9899 LN_S
="$ac_cv_prog_LN_S"
9900 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9901 echo "$ac_t""yes" 1>&6
9903 echo "$ac_t""no" 1>&6
9908 *-pc-os2_emx | *-pc-os2-emx )
9909 LIBS
="$LIBS -lstdcpp"
9910 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
9911 echo $ac_n "checking for drand48 in -lcExt""... $ac_c" 1>&6
9912 echo "configure:9913: checking for drand48 in -lcExt" >&5
9913 ac_lib_var
=`echo cExt'_'drand48 | sed 'y%./+-%__p_%'`
9914 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9915 echo $ac_n "(cached) $ac_c" 1>&6
9917 ac_save_LIBS
="$LIBS"
9919 cat > conftest.
$ac_ext <<EOF
9920 #line 9921 "configure"
9921 #include "confdefs.h"
9922 /* Override any gcc2 internal prototype to avoid an error. */
9923 /* We use char because int might match the return type of a gcc2
9924 builtin and then its argument prototype would still apply. */
9931 if { (eval echo configure
:9932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9933 eval "ac_cv_lib_$ac_lib_var=yes"
9935 echo "configure: failed program was:" >&5
9936 cat conftest.
$ac_ext >&5
9938 eval "ac_cv_lib_$ac_lib_var=no"
9941 LIBS
="$ac_save_LIBS"
9944 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9945 echo "$ac_t""yes" 1>&6
9948 echo "$ac_t""no" 1>&6
9952 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
9958 if test "$wxUSE_MAC" != 1; then
9959 for ac_hdr
in strings.h
9961 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9962 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9963 echo "configure:9964: checking for $ac_hdr" >&5
9964 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9965 echo $ac_n "(cached) $ac_c" 1>&6
9967 cat > conftest.
$ac_ext <<EOF
9968 #line 9969 "configure"
9969 #include "confdefs.h"
9972 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9973 { (eval echo configure
:9974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9974 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9975 if test -z "$ac_err"; then
9977 eval "ac_cv_header_$ac_safe=yes"
9980 echo "configure: failed program was:" >&5
9981 cat conftest.
$ac_ext >&5
9983 eval "ac_cv_header_$ac_safe=no"
9987 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9988 echo "$ac_t""yes" 1>&6
9989 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9990 cat >> confdefs.h
<<EOF
9991 #define $ac_tr_hdr 1
9995 echo "$ac_t""no" 1>&6
10001 for ac_hdr
in stdlib.h
10003 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10004 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10005 echo "configure:10006: checking for $ac_hdr" >&5
10006 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10007 echo $ac_n "(cached) $ac_c" 1>&6
10009 cat > conftest.
$ac_ext <<EOF
10010 #line 10011 "configure"
10011 #include "confdefs.h"
10014 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10015 { (eval echo configure
:10016: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10016 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10017 if test -z "$ac_err"; then
10019 eval "ac_cv_header_$ac_safe=yes"
10022 echo "configure: failed program was:" >&5
10023 cat conftest.
$ac_ext >&5
10025 eval "ac_cv_header_$ac_safe=no"
10029 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10030 echo "$ac_t""yes" 1>&6
10031 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10032 cat >> confdefs.h
<<EOF
10033 #define $ac_tr_hdr 1
10037 echo "$ac_t""no" 1>&6
10041 for ac_hdr
in malloc.h
10043 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10044 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10045 echo "configure:10046: checking for $ac_hdr" >&5
10046 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10047 echo $ac_n "(cached) $ac_c" 1>&6
10049 cat > conftest.
$ac_ext <<EOF
10050 #line 10051 "configure"
10051 #include "confdefs.h"
10054 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10055 { (eval echo configure
:10056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10056 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10057 if test -z "$ac_err"; then
10059 eval "ac_cv_header_$ac_safe=yes"
10062 echo "configure: failed program was:" >&5
10063 cat conftest.
$ac_ext >&5
10065 eval "ac_cv_header_$ac_safe=no"
10069 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10070 echo "$ac_t""yes" 1>&6
10071 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10072 cat >> confdefs.h
<<EOF
10073 #define $ac_tr_hdr 1
10077 echo "$ac_t""no" 1>&6
10081 for ac_hdr
in unistd.h
10083 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10084 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10085 echo "configure:10086: checking for $ac_hdr" >&5
10086 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10087 echo $ac_n "(cached) $ac_c" 1>&6
10089 cat > conftest.
$ac_ext <<EOF
10090 #line 10091 "configure"
10091 #include "confdefs.h"
10094 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10095 { (eval echo configure
:10096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10096 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10097 if test -z "$ac_err"; then
10099 eval "ac_cv_header_$ac_safe=yes"
10102 echo "configure: failed program was:" >&5
10103 cat conftest.
$ac_ext >&5
10105 eval "ac_cv_header_$ac_safe=no"
10109 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10110 echo "$ac_t""yes" 1>&6
10111 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10112 cat >> confdefs.h
<<EOF
10113 #define $ac_tr_hdr 1
10117 echo "$ac_t""no" 1>&6
10121 for ac_hdr
in wchar.h
10123 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10124 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10125 echo "configure:10126: checking for $ac_hdr" >&5
10126 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10127 echo $ac_n "(cached) $ac_c" 1>&6
10129 cat > conftest.
$ac_ext <<EOF
10130 #line 10131 "configure"
10131 #include "confdefs.h"
10134 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10135 { (eval echo configure
:10136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10136 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10137 if test -z "$ac_err"; then
10139 eval "ac_cv_header_$ac_safe=yes"
10142 echo "configure: failed program was:" >&5
10143 cat conftest.
$ac_ext >&5
10145 eval "ac_cv_header_$ac_safe=no"
10149 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10150 echo "$ac_t""yes" 1>&6
10151 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10152 cat >> confdefs.h
<<EOF
10153 #define $ac_tr_hdr 1
10157 echo "$ac_t""no" 1>&6
10162 if test "$ac_cv_header_wchar_h" != "yes"; then
10163 for ac_hdr
in wcstr.h
10165 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10166 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10167 echo "configure:10168: checking for $ac_hdr" >&5
10168 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10169 echo $ac_n "(cached) $ac_c" 1>&6
10171 cat > conftest.
$ac_ext <<EOF
10172 #line 10173 "configure"
10173 #include "confdefs.h"
10176 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10177 { (eval echo configure
:10178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10178 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10179 if test -z "$ac_err"; then
10181 eval "ac_cv_header_$ac_safe=yes"
10184 echo "configure: failed program was:" >&5
10185 cat conftest.
$ac_ext >&5
10187 eval "ac_cv_header_$ac_safe=no"
10191 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10192 echo "$ac_t""yes" 1>&6
10193 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10194 cat >> confdefs.h
<<EOF
10195 #define $ac_tr_hdr 1
10199 echo "$ac_t""no" 1>&6
10205 for ac_hdr
in fnmatch.h
10207 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10208 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10209 echo "configure:10210: checking for $ac_hdr" >&5
10210 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10211 echo $ac_n "(cached) $ac_c" 1>&6
10213 cat > conftest.
$ac_ext <<EOF
10214 #line 10215 "configure"
10215 #include "confdefs.h"
10218 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10219 { (eval echo configure
:10220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10220 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10221 if test -z "$ac_err"; then
10223 eval "ac_cv_header_$ac_safe=yes"
10226 echo "configure: failed program was:" >&5
10227 cat conftest.
$ac_ext >&5
10229 eval "ac_cv_header_$ac_safe=no"
10233 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10234 echo "$ac_t""yes" 1>&6
10235 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10236 cat >> confdefs.h
<<EOF
10237 #define $ac_tr_hdr 1
10241 echo "$ac_t""no" 1>&6
10246 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
10247 for ac_func
in fnmatch
10249 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10250 echo "configure:10251: checking for $ac_func" >&5
10251 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+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"
10257 /* System header to define __stub macros and hopefully few prototypes,
10258 which can conflict with char $ac_func(); below. */
10259 #include <assert.h>
10260 /* Override any gcc2 internal prototype to avoid an error. */
10261 /* We use char because int might match the return type of a gcc2
10262 builtin and then its argument prototype would still apply. */
10267 /* The GNU C library defines this for functions which it implements
10268 to always fail with ENOSYS. Some functions are actually named
10269 something starting with __ and the normal name is an alias. */
10270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10278 if { (eval echo configure
:10279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10280 eval "ac_cv_func_$ac_func=yes"
10282 echo "configure: failed program was:" >&5
10283 cat conftest.
$ac_ext >&5
10285 eval "ac_cv_func_$ac_func=no"
10290 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10291 echo "$ac_t""yes" 1>&6
10292 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10293 cat >> confdefs.h
<<EOF
10294 #define $ac_tr_func 1
10298 echo "$ac_t""no" 1>&6
10304 for ac_hdr
in langinfo.h
10306 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10307 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10308 echo "configure:10309: checking for $ac_hdr" >&5
10309 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10310 echo $ac_n "(cached) $ac_c" 1>&6
10312 cat > conftest.
$ac_ext <<EOF
10313 #line 10314 "configure"
10314 #include "confdefs.h"
10317 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10318 { (eval echo configure
:10319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10319 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10320 if test -z "$ac_err"; then
10322 eval "ac_cv_header_$ac_safe=yes"
10325 echo "configure: failed program was:" >&5
10326 cat conftest.
$ac_ext >&5
10328 eval "ac_cv_header_$ac_safe=no"
10332 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10333 echo "$ac_t""yes" 1>&6
10334 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10335 cat >> confdefs.h
<<EOF
10336 #define $ac_tr_hdr 1
10340 echo "$ac_t""no" 1>&6
10346 *-pc-os2_emx | *-pc-os2-emx )
10347 if test $ac_cv_header_langinfo_h = "yes"; then
10348 LIBS
="$LIBS -lintl"
10353 if test "$wxUSE_GUI" = "yes"; then
10354 if test "$wxUSE_UNIX" = "yes"; then
10355 for ac_hdr
in X
11/XKBlib.h
10357 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10358 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10359 echo "configure:10360: checking for $ac_hdr" >&5
10360 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10361 echo $ac_n "(cached) $ac_c" 1>&6
10363 cat > conftest.
$ac_ext <<EOF
10364 #line 10365 "configure"
10365 #include "confdefs.h"
10368 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10369 { (eval echo configure
:10370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10370 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10371 if test -z "$ac_err"; then
10373 eval "ac_cv_header_$ac_safe=yes"
10376 echo "configure: failed program was:" >&5
10377 cat conftest.
$ac_ext >&5
10379 eval "ac_cv_header_$ac_safe=no"
10383 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10384 echo "$ac_t""yes" 1>&6
10385 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10386 cat >> confdefs.h
<<EOF
10387 #define $ac_tr_hdr 1
10391 echo "$ac_t""no" 1>&6
10399 echo $ac_n "checking for working const""... $ac_c" 1>&6
10400 echo "configure:10401: checking for working const" >&5
10401 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10402 echo $ac_n "(cached) $ac_c" 1>&6
10404 cat > conftest.
$ac_ext <<EOF
10405 #line 10406 "configure"
10406 #include "confdefs.h"
10410 /* Ultrix mips cc rejects this. */
10411 typedef int charset[2]; const charset x;
10412 /* SunOS 4.1.1 cc rejects this. */
10413 char const *const *ccp;
10415 /* NEC SVR4.0.2 mips cc rejects this. */
10416 struct point {int x, y;};
10417 static struct point const zero = {0,0};
10418 /* AIX XL C 1.02.0.0 rejects this.
10419 It does not let you subtract one const X* pointer from another in an arm
10420 of an if-expression whose if-part is not a constant expression */
10421 const char *g = "string";
10422 ccp = &g + (g ? g-g : 0);
10423 /* HPUX 7.0 cc rejects these. */
10426 ccp = (char const *const *) p;
10427 { /* SCO 3.2v4 cc rejects this. */
10429 char const *s = 0 ? (char *) 0 : (char const *) 0;
10433 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10434 int x[] = {25, 17};
10435 const int *foo = &x[0];
10438 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10439 typedef const int *iptr;
10443 { /* AIX XL C 1.02.0.0 rejects this saying
10444 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10445 struct s { int j; const int *ap[3]; };
10446 struct s *b; b->j = 5;
10448 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10449 const int foo = 10;
10454 if { (eval echo configure
:10455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10458 echo "configure: failed program was:" >&5
10459 cat conftest.
$ac_ext >&5
10466 echo "$ac_t""$ac_cv_c_const" 1>&6
10467 if test $ac_cv_c_const = no
; then
10468 cat >> confdefs.h
<<\EOF
10474 echo $ac_n "checking for inline""... $ac_c" 1>&6
10475 echo "configure:10476: checking for inline" >&5
10476 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10477 echo $ac_n "(cached) $ac_c" 1>&6
10480 for ac_kw
in inline __inline__ __inline
; do
10481 cat > conftest.
$ac_ext <<EOF
10482 #line 10483 "configure"
10483 #include "confdefs.h"
10489 if { (eval echo configure
:10490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10491 ac_cv_c_inline
=$ac_kw; break
10493 echo "configure: failed program was:" >&5
10494 cat conftest.
$ac_ext >&5
10501 echo "$ac_t""$ac_cv_c_inline" 1>&6
10502 case "$ac_cv_c_inline" in
10504 no
) cat >> confdefs.h
<<\EOF
10508 *) cat >> confdefs.h
<<EOF
10509 #define inline $ac_cv_c_inline
10515 echo $ac_n "checking size of char""... $ac_c" 1>&6
10516 echo "configure:10517: checking size of char" >&5
10517 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10518 echo $ac_n "(cached) $ac_c" 1>&6
10520 if test "$cross_compiling" = yes; then
10521 ac_cv_sizeof_char
=1
10523 cat > conftest.
$ac_ext <<EOF
10524 #line 10525 "configure"
10525 #include "confdefs.h"
10527 #include <sys/types.h>
10530 FILE *f=fopen("conftestval", "w");
10532 fprintf(f, "%d\n", sizeof(char));
10536 if { (eval echo configure
:10537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10538 ac_cv_sizeof_char
=`cat conftestval`
10540 echo "configure: failed program was:" >&5
10541 cat conftest.
$ac_ext >&5
10543 ac_cv_sizeof_char
=0
10549 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10550 cat >> confdefs.h
<<EOF
10551 #define SIZEOF_CHAR $ac_cv_sizeof_char
10555 echo $ac_n "checking size of short""... $ac_c" 1>&6
10556 echo "configure:10557: checking size of short" >&5
10557 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10558 echo $ac_n "(cached) $ac_c" 1>&6
10560 if test "$cross_compiling" = yes; then
10561 ac_cv_sizeof_short
=2
10563 cat > conftest.
$ac_ext <<EOF
10564 #line 10565 "configure"
10565 #include "confdefs.h"
10567 #include <sys/types.h>
10570 FILE *f=fopen("conftestval", "w");
10572 fprintf(f, "%d\n", sizeof(short));
10576 if { (eval echo configure
:10577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10578 ac_cv_sizeof_short
=`cat conftestval`
10580 echo "configure: failed program was:" >&5
10581 cat conftest.
$ac_ext >&5
10583 ac_cv_sizeof_short
=0
10589 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10590 cat >> confdefs.h
<<EOF
10591 #define SIZEOF_SHORT $ac_cv_sizeof_short
10595 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10596 echo "configure:10597: checking size of void *" >&5
10597 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10598 echo $ac_n "(cached) $ac_c" 1>&6
10600 if test "$cross_compiling" = yes; then
10601 ac_cv_sizeof_void_p
=4
10603 cat > conftest.
$ac_ext <<EOF
10604 #line 10605 "configure"
10605 #include "confdefs.h"
10607 #include <sys/types.h>
10610 FILE *f=fopen("conftestval", "w");
10612 fprintf(f, "%d\n", sizeof(void *));
10616 if { (eval echo configure
:10617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10618 ac_cv_sizeof_void_p
=`cat conftestval`
10620 echo "configure: failed program was:" >&5
10621 cat conftest.
$ac_ext >&5
10623 ac_cv_sizeof_void_p
=0
10629 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10630 cat >> confdefs.h
<<EOF
10631 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10635 echo $ac_n "checking size of int""... $ac_c" 1>&6
10636 echo "configure:10637: checking size of int" >&5
10637 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10638 echo $ac_n "(cached) $ac_c" 1>&6
10640 if test "$cross_compiling" = yes; then
10643 cat > conftest.
$ac_ext <<EOF
10644 #line 10645 "configure"
10645 #include "confdefs.h"
10647 #include <sys/types.h>
10650 FILE *f=fopen("conftestval", "w");
10652 fprintf(f, "%d\n", sizeof(int));
10656 if { (eval echo configure
:10657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10658 ac_cv_sizeof_int
=`cat conftestval`
10660 echo "configure: failed program was:" >&5
10661 cat conftest.
$ac_ext >&5
10669 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10670 cat >> confdefs.h
<<EOF
10671 #define SIZEOF_INT $ac_cv_sizeof_int
10675 echo $ac_n "checking size of long""... $ac_c" 1>&6
10676 echo "configure:10677: checking size of long" >&5
10677 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10678 echo $ac_n "(cached) $ac_c" 1>&6
10680 if test "$cross_compiling" = yes; then
10681 ac_cv_sizeof_long
=4
10683 cat > conftest.
$ac_ext <<EOF
10684 #line 10685 "configure"
10685 #include "confdefs.h"
10687 #include <sys/types.h>
10690 FILE *f=fopen("conftestval", "w");
10692 fprintf(f, "%d\n", sizeof(long));
10696 if { (eval echo configure
:10697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10698 ac_cv_sizeof_long
=`cat conftestval`
10700 echo "configure: failed program was:" >&5
10701 cat conftest.
$ac_ext >&5
10703 ac_cv_sizeof_long
=0
10709 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10710 cat >> confdefs.h
<<EOF
10711 #define SIZEOF_LONG $ac_cv_sizeof_long
10718 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10719 echo "configure:10720: checking size of long long" >&5
10720 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10721 echo $ac_n "(cached) $ac_c" 1>&6
10723 if test "$cross_compiling" = yes; then
10724 ac_cv_sizeof_long_long
=8
10726 cat > conftest.
$ac_ext <<EOF
10727 #line 10728 "configure"
10728 #include "confdefs.h"
10730 #include <sys/types.h>
10733 FILE *f=fopen("conftestval", "w");
10735 fprintf(f, "%d\n", sizeof(long long));
10739 if { (eval echo configure
:10740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10741 ac_cv_sizeof_long_long
=`cat conftestval`
10743 echo "configure: failed program was:" >&5
10744 cat conftest.
$ac_ext >&5
10746 ac_cv_sizeof_long_long
=0
10752 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10753 cat >> confdefs.h
<<EOF
10754 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10760 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10761 echo "configure:10762: checking size of long long" >&5
10762 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10763 echo $ac_n "(cached) $ac_c" 1>&6
10765 if test "$cross_compiling" = yes; then
10766 ac_cv_sizeof_long_long
=0
10768 cat > conftest.
$ac_ext <<EOF
10769 #line 10770 "configure"
10770 #include "confdefs.h"
10772 #include <sys/types.h>
10775 FILE *f=fopen("conftestval", "w");
10777 fprintf(f, "%d\n", sizeof(long long));
10781 if { (eval echo configure
:10782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10783 ac_cv_sizeof_long_long
=`cat conftestval`
10785 echo "configure: failed program was:" >&5
10786 cat conftest.
$ac_ext >&5
10788 ac_cv_sizeof_long_long
=0
10794 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10795 cat >> confdefs.h
<<EOF
10796 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10800 if test "$ac_cv_sizeof_long_long" != "0"; then
10801 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
10805 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10806 echo "configure:10807: checking size of long long" >&5
10807 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10808 echo $ac_n "(cached) $ac_c" 1>&6
10810 if test "$cross_compiling" = yes; then
10811 ac_cv_sizeof_long_long
=0
10813 cat > conftest.
$ac_ext <<EOF
10814 #line 10815 "configure"
10815 #include "confdefs.h"
10817 #include <sys/types.h>
10820 FILE *f=fopen("conftestval", "w");
10822 fprintf(f, "%d\n", sizeof(long long));
10826 if { (eval echo configure
:10827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10828 ac_cv_sizeof_long_long
=`cat conftestval`
10830 echo "configure: failed program was:" >&5
10831 cat conftest.
$ac_ext >&5
10833 ac_cv_sizeof_long_long
=0
10839 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10840 cat >> confdefs.h
<<EOF
10841 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10847 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10848 echo "configure:10849: checking size of wchar_t" >&5
10849 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10850 echo $ac_n "(cached) $ac_c" 1>&6
10853 if test "$cross_compiling" = yes; then
10857 wx_cv_sizeof_wchar_t
=0
10860 wx_cv_sizeof_wchar_t
=4
10866 cat > conftest.
$ac_ext <<EOF
10867 #line 10868 "configure"
10868 #include "confdefs.h"
10870 /* DJGPP only has fake wchar_t: */
10872 # error "fake wchar_t"
10874 #ifdef HAVE_WCHAR_H
10876 # include <stddef.h>
10878 # include <wchar.h>
10880 #ifdef HAVE_STDLIB_H
10881 # include <stdlib.h>
10886 FILE *f=fopen("conftestval", "w");
10888 fprintf(f, "%i", sizeof(wchar_t));
10893 if { (eval echo configure
:10894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10895 wx_cv_sizeof_wchar_t
=`cat conftestval`
10897 echo "configure: failed program was:" >&5
10898 cat conftest.
$ac_ext >&5
10900 wx_cv_sizeof_wchar_t
=0
10908 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10910 cat >> confdefs.h
<<EOF
10911 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10915 # Check whether --enable-largefile or --disable-largefile was given.
10916 if test "${enable_largefile+set}" = set; then
10917 enableval
="$enable_largefile"
10921 if test "$enable_largefile" != no
; then
10924 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10925 echo "configure:10926: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10926 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10927 echo $ac_n "(cached) $ac_c" 1>&6
10930 cat > conftest.
$ac_ext <<EOF
10931 #line 10932 "configure"
10932 #include "confdefs.h"
10933 #define _FILE_OFFSET_BITS 64
10934 #include <sys/types.h>
10937 unsigned int field: sizeof(off_t) == 8;
10942 if { (eval echo configure
:10943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10944 ac_cv_sys_file_offset_bits
=64
10946 echo "configure: failed program was:" >&5
10947 cat conftest.
$ac_ext >&5
10949 ac_cv_sys_file_offset_bits
=no
10956 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10958 if test "$ac_cv_sys_file_offset_bits" != no
; then
10960 cat >> confdefs.h
<<EOF
10961 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10966 if test "x$wx_largefile" != "xyes"; then
10968 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10969 echo "configure:10970: checking for _LARGE_FILES value needed for large files" >&5
10970 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10971 echo $ac_n "(cached) $ac_c" 1>&6
10974 cat > conftest.
$ac_ext <<EOF
10975 #line 10976 "configure"
10976 #include "confdefs.h"
10977 #define _LARGE_FILES 1
10978 #include <sys/types.h>
10981 unsigned int field: sizeof(off_t) == 8;
10986 if { (eval echo configure
:10987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10988 ac_cv_sys_large_files
=1
10990 echo "configure: failed program was:" >&5
10991 cat conftest.
$ac_ext >&5
10993 ac_cv_sys_large_files
=no
11000 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
11002 if test "$ac_cv_sys_large_files" != no
; then
11004 cat >> confdefs.h
<<EOF
11005 #define _LARGE_FILES $ac_cv_sys_large_files
11012 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
11013 echo "configure:11014: checking if large file support is available" >&5
11014 if test "x$wx_largefile" = "xyes"; then
11015 cat >> confdefs.h
<<\EOF
11016 #define HAVE_LARGEFILE_SUPPORT 1
11020 echo "$ac_t""$wx_largefile" 1>&6
11024 if test "x$wx_largefile" = "xyes"; then
11025 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
11026 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
11028 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
11030 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
11033 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
11034 echo "configure:11035: checking whether byte ordering is bigendian" >&5
11035 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
11036 echo $ac_n "(cached) $ac_c" 1>&6
11038 ac_cv_c_bigendian
=unknown
11039 # See if sys/param.h defines the BYTE_ORDER macro.
11040 cat > conftest.
$ac_ext <<EOF
11041 #line 11042 "configure"
11042 #include "confdefs.h"
11043 #include <sys/types.h>
11044 #include <sys/param.h>
11047 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
11048 bogus endian macros
11052 if { (eval echo configure
:11053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11054 # It does; now see whether it defined to BIG_ENDIAN or not.
11055 cat > conftest.
$ac_ext <<EOF
11056 #line 11057 "configure"
11057 #include "confdefs.h"
11058 #include <sys/types.h>
11059 #include <sys/param.h>
11062 #if BYTE_ORDER != BIG_ENDIAN
11067 if { (eval echo configure
:11068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11069 ac_cv_c_bigendian
=yes
11071 echo "configure: failed program was:" >&5
11072 cat conftest.
$ac_ext >&5
11074 ac_cv_c_bigendian
=no
11078 echo "configure: failed program was:" >&5
11079 cat conftest.
$ac_ext >&5
11082 if test $ac_cv_c_bigendian = unknown
; then
11083 if test "$cross_compiling" = yes; then
11084 ac_cv_c_bigendian
=unknown
11086 cat > conftest.
$ac_ext <<EOF
11087 #line 11088 "configure"
11088 #include "confdefs.h"
11090 /* Are we little or big endian? From Harbison&Steele. */
11094 char c[sizeof (long)];
11097 exit (u.c[sizeof (long) - 1] == 1);
11100 if { (eval echo configure
:11101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11102 ac_cv_c_bigendian
=no
11104 echo "configure: failed program was:" >&5
11105 cat conftest.
$ac_ext >&5
11107 ac_cv_c_bigendian
=yes
11115 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
11116 if test $ac_cv_c_bigendian = unknown
; then
11117 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
11119 if test $ac_cv_c_bigendian = yes; then
11120 cat >> confdefs.h
<<\EOF
11121 #define WORDS_BIGENDIAN 1
11127 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
11128 echo "configure:11129: checking how to run the C++ preprocessor" >&5
11129 if test -z "$CXXCPP"; then
11130 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
11131 echo $ac_n "(cached) $ac_c" 1>&6
11134 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11135 ac_cpp
='$CXXCPP $CPPFLAGS'
11136 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11137 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11138 cross_compiling
=$ac_cv_prog_cxx_cross
11139 CXXCPP
="${CXX-g++} -E"
11140 cat > conftest.
$ac_ext <<EOF
11141 #line 11142 "configure"
11142 #include "confdefs.h"
11143 #include <stdlib.h>
11145 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11146 { (eval echo configure
:11147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11147 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11148 if test -z "$ac_err"; then
11152 echo "configure: failed program was:" >&5
11153 cat conftest.
$ac_ext >&5
11158 ac_cv_prog_CXXCPP
="$CXXCPP"
11160 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11161 ac_cpp
='$CXXCPP $CPPFLAGS'
11162 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11163 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11164 cross_compiling
=$ac_cv_prog_cxx_cross
11167 CXXCPP
="$ac_cv_prog_CXXCPP"
11168 echo "$ac_t""$CXXCPP" 1>&6
11171 if test "$cross_compiling" = "yes"; then
11172 cat >> confdefs.h
<<\EOF
11173 #define wxUSE_IOSTREAMH 1
11179 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11180 ac_cpp
='$CXXCPP $CPPFLAGS'
11181 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11182 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11183 cross_compiling
=$ac_cv_prog_cxx_cross
11186 for ac_hdr
in iostream
11188 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11189 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11190 echo "configure:11191: checking for $ac_hdr" >&5
11191 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11192 echo $ac_n "(cached) $ac_c" 1>&6
11194 cat > conftest.
$ac_ext <<EOF
11195 #line 11196 "configure"
11196 #include "confdefs.h"
11199 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11200 { (eval echo configure
:11201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11201 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11202 if test -z "$ac_err"; then
11204 eval "ac_cv_header_$ac_safe=yes"
11207 echo "configure: failed program was:" >&5
11208 cat conftest.
$ac_ext >&5
11210 eval "ac_cv_header_$ac_safe=no"
11214 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11215 echo "$ac_t""yes" 1>&6
11216 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11217 cat >> confdefs.h
<<EOF
11218 #define $ac_tr_hdr 1
11222 echo "$ac_t""no" 1>&6
11227 if test "$ac_cv_header_iostream" = "yes" ; then
11230 cat >> confdefs.h
<<\EOF
11231 #define wxUSE_IOSTREAMH 1
11237 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11238 ac_cpp
='$CPP $CPPFLAGS'
11239 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11240 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11241 cross_compiling
=$ac_cv_prog_cc_cross
11247 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
11248 echo "configure:11249: checking if C++ compiler supports bool" >&5
11249 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
11250 echo $ac_n "(cached) $ac_c" 1>&6
11255 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11256 ac_cpp
='$CXXCPP $CPPFLAGS'
11257 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11258 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11259 cross_compiling
=$ac_cv_prog_cxx_cross
11262 cat > conftest.
$ac_ext <<EOF
11263 #line 11264 "configure"
11264 #include "confdefs.h"
11275 if { (eval echo configure
:11276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11281 echo "configure: failed program was:" >&5
11282 cat conftest.
$ac_ext >&5
11292 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11293 ac_cpp
='$CPP $CPPFLAGS'
11294 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11295 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11296 cross_compiling
=$ac_cv_prog_cc_cross
11301 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
11303 if test "$wx_cv_cpp_bool" = "yes"; then
11304 cat >> confdefs.h
<<\EOF
11305 #define HAVE_BOOL 1
11312 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
11313 echo "configure:11314: checking if C++ compiler supports the explicit keyword" >&5
11314 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
11315 echo $ac_n "(cached) $ac_c" 1>&6
11320 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11321 ac_cpp
='$CXXCPP $CPPFLAGS'
11322 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11323 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11324 cross_compiling
=$ac_cv_prog_cxx_cross
11327 cat > conftest.
$ac_ext <<EOF
11328 #line 11329 "configure"
11329 #include "confdefs.h"
11331 class Foo { public: explicit Foo(int) {} };
11339 if { (eval echo configure
:11340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11342 cat > conftest.
$ac_ext <<EOF
11343 #line 11344 "configure"
11344 #include "confdefs.h"
11346 class Foo { public: explicit Foo(int) {} };
11347 static void TakeFoo(const Foo& foo) { }
11356 if { (eval echo configure
:11357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11360 echo "configure: failed program was:" >&5
11361 cat conftest.
$ac_ext >&5
11369 echo "configure: failed program was:" >&5
11370 cat conftest.
$ac_ext >&5
11378 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11379 ac_cpp
='$CPP $CPPFLAGS'
11380 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11381 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11382 cross_compiling
=$ac_cv_prog_cc_cross
11387 echo "$ac_t""$wx_cv_explicit" 1>&6
11389 if test "$wx_cv_explicit" = "yes"; then
11390 cat >> confdefs.h
<<\EOF
11391 #define HAVE_EXPLICIT 1
11399 /usr/local/include \
11401 /usr/Motif-1.2/include \
11402 /usr/Motif-2.1/include \
11404 /usr/include/Motif1.2 \
11405 /opt/xpm/include/X11 \
11406 /opt/GBxpm/include/ \
11407 /opt/GBxpm/X11/include/ \
11409 /usr/Motif1.2/include \
11411 /usr/openwin/include \
11415 /usr/X11R6/include \
11416 /usr/X11R6.4/include \
11417 /usr/X11R5/include \
11418 /usr/X11R4/include \
11420 /usr/include/X11R6 \
11421 /usr/include/X11R5 \
11422 /usr/include/X11R4 \
11424 /usr/local/X11R6/include \
11425 /usr/local/X11R5/include \
11426 /usr/local/X11R4/include \
11428 /usr/local/include/X11R6 \
11429 /usr/local/include/X11R5 \
11430 /usr/local/include/X11R4 \
11434 /usr/local/X11/include \
11435 /usr/local/include/X11 \
11437 /usr/X386/include \
11438 /usr/x386/include \
11439 /usr/XFree86/include/X11 \
11441 X:/XFree86/include \
11442 X:/XFree86/include/X11 \
11445 /usr/local/include/gtk \
11446 /usr/include/glib \
11447 /usr/local/include/glib \
11450 /usr/local/include/qt \
11452 /usr/include/windows \
11453 /usr/include/wine \
11454 /usr/local/include/wine \
11456 /usr/unsupported/include \
11457 /usr/athena/include \
11458 /usr/local/x11r5/include \
11459 /usr/lpp/Xamples/include \
11461 /usr/openwin/share/include"
11463 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
11466 cat > confcache
<<\EOF
11467 # This file is a shell script that caches the results of configure
11468 # tests run on this system so they can be shared between configure
11469 # scripts and configure runs. It is not useful on other systems.
11470 # If it contains results you don't want to keep, you may remove or edit it.
11472 # By default, configure uses ./config.cache as the cache file,
11473 # creating it if it does not exist already. You can give configure
11474 # the --cache-file=FILE option to use a different cache file; that is
11475 # what configure does when it calls configure scripts in
11476 # subdirectories, so they share the cache.
11477 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11478 # config.status only pays attention to the cache file if you give it the
11479 # --recheck option to rerun configure.
11482 # The following way of writing the cache mishandles newlines in values,
11483 # but we know of no workaround that is simple, portable, and efficient.
11484 # So, don't put newlines in cache variables' values.
11485 # Ultrix sh set writes to stderr and can't be redirected directly,
11486 # and sets the high bit in the cache file unless we assign to the vars.
11488 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11490 # `set' does not quote correctly, so add quotes (double-quote substitution
11491 # turns \\\\ into \\, and sed turns \\ into \).
11493 -e "s/'/'\\\\''/g" \
11494 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11497 # `set' quotes correctly as required by POSIX, so do not add quotes.
11498 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11501 if cmp -s $cache_file confcache
; then
11504 if test -w $cache_file; then
11505 echo "updating cache $cache_file"
11506 cat confcache
> $cache_file
11508 echo "not updating unwritable cache $cache_file"
11514 if test "$USE_LINUX" = 1; then
11515 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
11516 echo "configure:11517: checking for glibc 2.1 or later" >&5
11517 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
11518 echo $ac_n "(cached) $ac_c" 1>&6
11521 cat > conftest.
$ac_ext <<EOF
11522 #line 11523 "configure"
11523 #include "confdefs.h"
11524 #include <features.h>
11527 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
11528 #error not glibc2.1
11533 if { (eval echo configure
:11534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11536 wx_cv_lib_glibc21
=yes
11539 echo "configure: failed program was:" >&5
11540 cat conftest.
$ac_ext >&5
11543 wx_cv_lib_glibc21
=no
11551 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11552 if test "$wx_cv_lib_glibc21" = "yes"; then
11553 cat >> confdefs.h
<<\EOF
11554 #define wxHAVE_GLIBC2 1
11560 if test "x$wx_cv_lib_glibc21" = "xyes"; then
11561 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
11562 cat >> confdefs.h
<<\EOF
11563 #define _GNU_SOURCE 1
11572 if test "$wxUSE_REGEX" != "no"; then
11573 cat >> confdefs.h
<<\EOF
11574 #define wxUSE_REGEX 1
11578 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11579 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11580 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11581 echo "configure:11582: checking for regex.h" >&5
11582 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11583 echo $ac_n "(cached) $ac_c" 1>&6
11585 cat > conftest.
$ac_ext <<EOF
11586 #line 11587 "configure"
11587 #include "confdefs.h"
11590 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11591 { (eval echo configure
:11592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11592 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11593 if test -z "$ac_err"; then
11595 eval "ac_cv_header_$ac_safe=yes"
11598 echo "configure: failed program was:" >&5
11599 cat conftest.
$ac_ext >&5
11601 eval "ac_cv_header_$ac_safe=no"
11605 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11606 echo "$ac_t""yes" 1>&6
11607 for ac_func
in regcomp
11609 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11610 echo "configure:11611: checking for $ac_func" >&5
11611 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11612 echo $ac_n "(cached) $ac_c" 1>&6
11614 cat > conftest.
$ac_ext <<EOF
11615 #line 11616 "configure"
11616 #include "confdefs.h"
11617 /* System header to define __stub macros and hopefully few prototypes,
11618 which can conflict with char $ac_func(); below. */
11619 #include <assert.h>
11620 /* Override any gcc2 internal prototype to avoid an error. */
11621 /* We use char because int might match the return type of a gcc2
11622 builtin and then its argument prototype would still apply. */
11627 /* The GNU C library defines this for functions which it implements
11628 to always fail with ENOSYS. Some functions are actually named
11629 something starting with __ and the normal name is an alias. */
11630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11638 if { (eval echo configure
:11639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11640 eval "ac_cv_func_$ac_func=yes"
11642 echo "configure: failed program was:" >&5
11643 cat conftest.
$ac_ext >&5
11645 eval "ac_cv_func_$ac_func=no"
11650 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11651 echo "$ac_t""yes" 1>&6
11652 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11653 cat >> confdefs.h
<<EOF
11654 #define $ac_tr_func 1
11658 echo "$ac_t""no" 1>&6
11663 echo "$ac_t""no" 1>&6
11667 if test "x$ac_cv_func_regcomp" != "xyes"; then
11668 if test "$wxUSE_REGEX" = "sys" ; then
11669 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11671 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11672 wxUSE_REGEX
=builtin
11679 if test "$wxUSE_REGEX" = "builtin" ; then
11680 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11687 if test "$wxUSE_ZLIB" != "no" ; then
11688 cat >> confdefs.h
<<\EOF
11689 #define wxUSE_ZLIB 1
11693 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11694 if test "$USE_DARWIN" = 1; then
11695 system_zlib_h_ok
="yes"
11697 echo $ac_n "checking for zlib.h >= 1.1.4""... $ac_c" 1>&6
11698 echo "configure:11699: checking for zlib.h >= 1.1.4" >&5
11699 if eval "test \"`echo '$''{'ac_cv_header_zlib_h'+set}'`\" = set"; then
11700 echo $ac_n "(cached) $ac_c" 1>&6
11702 if test "$cross_compiling" = yes; then
11703 unset ac_cv_header_zlib_h
11706 cat > conftest.
$ac_ext <<EOF
11707 #line 11708 "configure"
11708 #include "confdefs.h"
11716 FILE *f=fopen("conftestval", "w");
11719 ZLIB_VERSION[0] == '1' &&
11720 (ZLIB_VERSION[2] > '1' ||
11721 (ZLIB_VERSION[2] == '1' &&
11722 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
11728 if { (eval echo configure
:11729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11730 ac_cv_header_zlib_h
=`cat conftestval`
11732 echo "configure: failed program was:" >&5
11733 cat conftest.
$ac_ext >&5
11735 ac_cv_header_zlib_h
=no
11743 echo "$ac_t""$ac_cv_header_zlib_h" 1>&6
11744 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11745 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11746 echo "configure:11747: checking for zlib.h" >&5
11747 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11748 echo $ac_n "(cached) $ac_c" 1>&6
11750 cat > conftest.
$ac_ext <<EOF
11751 #line 11752 "configure"
11752 #include "confdefs.h"
11755 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11756 { (eval echo configure
:11757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11757 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11758 if test -z "$ac_err"; then
11760 eval "ac_cv_header_$ac_safe=yes"
11763 echo "configure: failed program was:" >&5
11764 cat conftest.
$ac_ext >&5
11766 eval "ac_cv_header_$ac_safe=no"
11770 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11771 echo "$ac_t""yes" 1>&6
11774 echo "$ac_t""no" 1>&6
11778 system_zlib_h_ok
=$ac_cv_header_zlib_h
11781 if test "$system_zlib_h_ok" = "yes"; then
11782 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11783 echo "configure:11784: checking for deflate in -lz" >&5
11784 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11785 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11786 echo $ac_n "(cached) $ac_c" 1>&6
11788 ac_save_LIBS
="$LIBS"
11790 cat > conftest.
$ac_ext <<EOF
11791 #line 11792 "configure"
11792 #include "confdefs.h"
11793 /* Override any gcc2 internal prototype to avoid an error. */
11794 /* We use char because int might match the return type of a gcc2
11795 builtin and then its argument prototype would still apply. */
11802 if { (eval echo configure
:11803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11804 eval "ac_cv_lib_$ac_lib_var=yes"
11806 echo "configure: failed program was:" >&5
11807 cat conftest.
$ac_ext >&5
11809 eval "ac_cv_lib_$ac_lib_var=no"
11812 LIBS
="$ac_save_LIBS"
11815 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11816 echo "$ac_t""yes" 1>&6
11819 echo "$ac_t""no" 1>&6
11824 if test "x$ZLIB_LINK" = "x" ; then
11825 if test "$wxUSE_ZLIB" = "sys" ; then
11826 { echo "configure: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11828 echo "configure: warning: zlib library not found or too old, will use built-in instead" 1>&2
11836 if test "$wxUSE_ZLIB" = "builtin" ; then
11837 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11844 if test "$wxUSE_LIBPNG" != "no" ; then
11845 cat >> confdefs.h
<<\EOF
11846 #define wxUSE_LIBPNG 1
11850 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11851 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11855 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11856 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11857 wxUSE_LIBPNG
=builtin
11860 if test "$wxUSE_MGL" != 1 ; then
11861 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11862 echo $ac_n "checking for png.h > 0.90""... $ac_c" 1>&6
11863 echo "configure:11864: checking for png.h > 0.90" >&5
11864 if eval "test \"`echo '$''{'ac_cv_header_png_h'+set}'`\" = set"; then
11865 echo $ac_n "(cached) $ac_c" 1>&6
11867 if test "$cross_compiling" = yes; then
11868 unset ac_cv_header_png_h
11871 cat > conftest.
$ac_ext <<EOF
11872 #line 11873 "configure"
11873 #include "confdefs.h"
11880 FILE *f=fopen("conftestval", "w");
11883 PNG_LIBPNG_VER > 90 ? "yes" : "no");
11888 if { (eval echo configure
:11889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11890 ac_cv_header_png_h
=`cat conftestval`
11892 echo "configure: failed program was:" >&5
11893 cat conftest.
$ac_ext >&5
11895 ac_cv_header_png_h
=no
11903 echo "$ac_t""$ac_cv_header_png_h" 1>&6
11904 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11905 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11906 echo "configure:11907: checking for png.h" >&5
11907 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11908 echo $ac_n "(cached) $ac_c" 1>&6
11910 cat > conftest.
$ac_ext <<EOF
11911 #line 11912 "configure"
11912 #include "confdefs.h"
11915 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11916 { (eval echo configure
:11917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11917 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11918 if test -z "$ac_err"; then
11920 eval "ac_cv_header_$ac_safe=yes"
11923 echo "configure: failed program was:" >&5
11924 cat conftest.
$ac_ext >&5
11926 eval "ac_cv_header_$ac_safe=no"
11930 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11931 echo "$ac_t""yes" 1>&6
11934 echo "$ac_t""no" 1>&6
11938 if test "$ac_cv_header_png_h" = "yes"; then
11939 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11940 echo "configure:11941: checking for png_check_sig in -lpng" >&5
11941 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11942 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11943 echo $ac_n "(cached) $ac_c" 1>&6
11945 ac_save_LIBS
="$LIBS"
11946 LIBS
="-lpng -lz -lm $LIBS"
11947 cat > conftest.
$ac_ext <<EOF
11948 #line 11949 "configure"
11949 #include "confdefs.h"
11950 /* Override any gcc2 internal prototype to avoid an error. */
11951 /* We use char because int might match the return type of a gcc2
11952 builtin and then its argument prototype would still apply. */
11953 char png_check_sig();
11959 if { (eval echo configure
:11960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11961 eval "ac_cv_lib_$ac_lib_var=yes"
11963 echo "configure: failed program was:" >&5
11964 cat conftest.
$ac_ext >&5
11966 eval "ac_cv_lib_$ac_lib_var=no"
11969 LIBS
="$ac_save_LIBS"
11972 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11973 echo "$ac_t""yes" 1>&6
11976 echo "$ac_t""no" 1>&6
11981 if test "x$PNG_LINK" = "x" ; then
11982 if test "$wxUSE_LIBPNG" = "sys" ; then
11983 { echo "configure: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11985 echo "configure: warning: system png library not found or too old, will use built-in instead" 1>&2
11986 wxUSE_LIBPNG
=builtin
11994 if test "$wxUSE_LIBPNG" = "builtin" ; then
11995 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11998 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
12004 if test "$wxUSE_LIBJPEG" != "no" ; then
12005 cat >> confdefs.h
<<\EOF
12006 #define wxUSE_LIBJPEG 1
12010 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
12011 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
12015 if test "$wxUSE_MGL" != 1 ; then
12016 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
12017 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
12018 echo "configure:12019: checking for jpeglib.h" >&5
12019 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
12020 echo $ac_n "(cached) $ac_c" 1>&6
12022 cat > conftest.
$ac_ext <<EOF
12023 #line 12024 "configure"
12024 #include "confdefs.h"
12026 #undef HAVE_STDLIB_H
12028 #include <jpeglib.h>
12035 if { (eval echo configure
:12036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12037 ac_cv_header_jpeglib_h
=yes
12039 echo "configure: failed program was:" >&5
12040 cat conftest.
$ac_ext >&5
12042 ac_cv_header_jpeglib_h
=no
12049 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
12051 if test "$ac_cv_header_jpeglib_h" = "yes"; then
12052 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
12053 echo "configure:12054: checking for jpeg_read_header in -ljpeg" >&5
12054 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
12055 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12056 echo $ac_n "(cached) $ac_c" 1>&6
12058 ac_save_LIBS
="$LIBS"
12059 LIBS
="-ljpeg $LIBS"
12060 cat > conftest.
$ac_ext <<EOF
12061 #line 12062 "configure"
12062 #include "confdefs.h"
12063 /* Override any gcc2 internal prototype to avoid an error. */
12064 /* We use char because int might match the return type of a gcc2
12065 builtin and then its argument prototype would still apply. */
12066 char jpeg_read_header();
12072 if { (eval echo configure
:12073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12074 eval "ac_cv_lib_$ac_lib_var=yes"
12076 echo "configure: failed program was:" >&5
12077 cat conftest.
$ac_ext >&5
12079 eval "ac_cv_lib_$ac_lib_var=no"
12082 LIBS
="$ac_save_LIBS"
12085 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12086 echo "$ac_t""yes" 1>&6
12087 JPEG_LINK
=" -ljpeg"
12089 echo "$ac_t""no" 1>&6
12094 if test "x$JPEG_LINK" = "x" ; then
12095 if test "$wxUSE_LIBJPEG" = "sys" ; then
12096 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
12098 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
12099 wxUSE_LIBJPEG
=builtin
12107 if test "$wxUSE_LIBJPEG" = "builtin" ; then
12108 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
12115 TIFF_PREREQ_LINKS
=-lm
12116 if test "$wxUSE_LIBTIFF" != "no" ; then
12117 cat >> confdefs.h
<<\EOF
12118 #define wxUSE_LIBTIFF 1
12122 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
12123 if test "$wxUSE_LIBJPEG" = "sys"; then
12124 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
12126 if test "$wxUSE_ZLIB" = "sys"; then
12127 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
12129 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
12130 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
12131 echo "configure:12132: checking for tiffio.h" >&5
12132 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12133 echo $ac_n "(cached) $ac_c" 1>&6
12135 cat > conftest.
$ac_ext <<EOF
12136 #line 12137 "configure"
12137 #include "confdefs.h"
12138 #include <tiffio.h>
12140 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12141 { (eval echo configure
:12142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12142 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12143 if test -z "$ac_err"; then
12145 eval "ac_cv_header_$ac_safe=yes"
12148 echo "configure: failed program was:" >&5
12149 cat conftest.
$ac_ext >&5
12151 eval "ac_cv_header_$ac_safe=no"
12155 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12156 echo "$ac_t""yes" 1>&6
12157 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
12158 echo "configure:12159: checking for TIFFError in -ltiff" >&5
12159 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
12160 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12161 echo $ac_n "(cached) $ac_c" 1>&6
12163 ac_save_LIBS
="$LIBS"
12164 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
12165 cat > conftest.
$ac_ext <<EOF
12166 #line 12167 "configure"
12167 #include "confdefs.h"
12168 /* Override any gcc2 internal prototype to avoid an error. */
12169 /* We use char because int might match the return type of a gcc2
12170 builtin and then its argument prototype would still apply. */
12177 if { (eval echo configure
:12178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12179 eval "ac_cv_lib_$ac_lib_var=yes"
12181 echo "configure: failed program was:" >&5
12182 cat conftest.
$ac_ext >&5
12184 eval "ac_cv_lib_$ac_lib_var=no"
12187 LIBS
="$ac_save_LIBS"
12190 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12191 echo "$ac_t""yes" 1>&6
12192 TIFF_LINK
=" -ltiff"
12194 echo "$ac_t""no" 1>&6
12199 echo "$ac_t""no" 1>&6
12203 if test "x$TIFF_LINK" = "x" ; then
12204 if test "$wxUSE_LIBTIFF" = "sys" ; then
12205 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
12207 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
12208 wxUSE_LIBTIFF
=builtin
12215 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12216 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
12228 if test "$USE_WIN32" = 1 ; then
12229 for ac_hdr
in w32api.h
12231 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12232 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12233 echo "configure:12234: checking for $ac_hdr" >&5
12234 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12235 echo $ac_n "(cached) $ac_c" 1>&6
12237 cat > conftest.
$ac_ext <<EOF
12238 #line 12239 "configure"
12239 #include "confdefs.h"
12242 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12243 { (eval echo configure
:12244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12244 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12245 if test -z "$ac_err"; then
12247 eval "ac_cv_header_$ac_safe=yes"
12250 echo "configure: failed program was:" >&5
12251 cat conftest.
$ac_ext >&5
12253 eval "ac_cv_header_$ac_safe=no"
12257 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12258 echo "$ac_t""yes" 1>&6
12259 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12260 cat >> confdefs.h
<<EOF
12261 #define $ac_tr_hdr 1
12265 echo "$ac_t""no" 1>&6
12269 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
12270 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12271 echo "configure:12272: checking for windows.h" >&5
12272 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12273 echo $ac_n "(cached) $ac_c" 1>&6
12275 cat > conftest.
$ac_ext <<EOF
12276 #line 12277 "configure"
12277 #include "confdefs.h"
12278 #include <windows.h>
12280 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12281 { (eval echo configure
:12282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12282 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12283 if test -z "$ac_err"; then
12285 eval "ac_cv_header_$ac_safe=yes"
12288 echo "configure: failed program was:" >&5
12289 cat conftest.
$ac_ext >&5
12291 eval "ac_cv_header_$ac_safe=no"
12295 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12296 echo "$ac_t""yes" 1>&6
12299 echo "$ac_t""no" 1>&6
12301 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12306 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
12307 echo "configure:12308: checking if w32api has good enough MSIE support" >&5
12308 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
12309 echo $ac_n "(cached) $ac_c" 1>&6
12312 cat > conftest.
$ac_ext <<EOF
12313 #line 12314 "configure"
12314 #include "confdefs.h"
12315 #include <w32api.h>
12318 #define wxCHECK_W32API_VERSION( major, minor ) \
12319 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
12320 && ( ( __W32API_MAJOR_VERSION > (major) ) \
12321 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
12323 #if !wxCHECK_W32API_VERSION(1,1)
12324 #error You need w32api 1.1 or newer
12329 if { (eval echo configure
:12330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12332 wx_cv_w32api_win32_ie
=yes
12335 echo "configure: failed program was:" >&5
12336 cat conftest.
$ac_ext >&5
12339 wx_cv_w32api_win32_ie
=no
12346 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
12347 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
12348 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
12351 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
12355 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
12356 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
12359 if test "$wxUSE_ODBC" = "yes" ; then
12360 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
12363 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
12364 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
12366 WIN32INSTALL
=win32install
12369 if test "$USE_DARWIN" = 1; then
12370 if test "$wxUSE_PRECOMP" = "yes"; then
12371 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
12373 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
12377 if test "$wxUSE_GUI" = "yes"; then
12386 if test "$wxUSE_MSW" = 1 ; then
12390 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
12393 if test "$wxUSE_GTK" = 1; then
12394 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
12395 echo "configure:12396: checking for GTK+ version" >&5
12397 gtk_version_cached
=1
12398 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
12399 echo $ac_n "(cached) $ac_c" 1>&6
12402 gtk_version_cached
=0
12403 echo "$ac_t""" 1>&6
12406 if test "$wxUSE_THREADS" = "yes"; then
12407 GTK_MODULES
=gthread
12411 if test "x$wxUSE_GTK2" = "xyes"; then
12412 # Check whether --enable-gtktest or --disable-gtktest was given.
12413 if test "${enable_gtktest+set}" = set; then
12414 enableval
="$enable_gtktest"
12421 pkg_config_args
=gtk
+-2.0
12422 for module
in .
$GTK_MODULES
12426 pkg_config_args
="$pkg_config_args gthread-2.0"
12433 # Extract the first word of "pkg-config", so it can be a program name with args.
12434 set dummy pkg
-config; ac_word
=$2
12435 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12436 echo "configure:12437: checking for $ac_word" >&5
12437 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
12438 echo $ac_n "(cached) $ac_c" 1>&6
12440 case "$PKG_CONFIG" in
12442 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12445 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
12448 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12450 for ac_dir
in $ac_dummy; do
12451 test -z "$ac_dir" && ac_dir
=.
12452 if test -f $ac_dir/$ac_word; then
12453 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
12458 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12462 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12463 if test -n "$PKG_CONFIG"; then
12464 echo "$ac_t""$PKG_CONFIG" 1>&6
12466 echo "$ac_t""no" 1>&6
12470 if test x
$PKG_CONFIG != xno
; then
12471 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
12474 echo *** pkg
-config too old
; version
0.7 or better required.
12482 min_gtk_version
=2.0.0
12483 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
12484 echo "configure:12485: checking for GTK+ - version >= $min_gtk_version" >&5
12486 if test x
$PKG_CONFIG != xno
; then
12487 ## don't try to run the test against uninstalled libtool libs
12488 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12489 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
12493 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
12500 if test x
"$no_gtk" = x
; then
12501 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
12502 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
12503 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12504 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12505 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12506 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12507 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12508 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12509 if test "x$enable_gtktest" = "xyes" ; then
12510 ac_save_CFLAGS
="$CFLAGS"
12511 ac_save_LIBS
="$LIBS"
12512 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12513 LIBS
="$GTK_LIBS $LIBS"
12515 if test "$cross_compiling" = yes; then
12516 echo $ac_n "cross compiling; assumed OK... $ac_c"
12518 cat > conftest.
$ac_ext <<EOF
12519 #line 12520 "configure"
12520 #include "confdefs.h"
12522 #include <gtk/gtk.h>
12524 #include <stdlib.h>
12529 int major, minor, micro;
12532 system ("touch conf.gtktest");
12534 /* HP/UX 9 (%@#!) writes to sscanf strings */
12535 tmp_version = g_strdup("$min_gtk_version");
12536 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12537 printf("%s, bad version string\n", "$min_gtk_version");
12541 if ((gtk_major_version != $gtk_config_major_version) ||
12542 (gtk_minor_version != $gtk_config_minor_version) ||
12543 (gtk_micro_version != $gtk_config_micro_version))
12545 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12546 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12547 gtk_major_version, gtk_minor_version, gtk_micro_version);
12548 printf ("*** was found! If pkg-config was correct, then it is best\n");
12549 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12550 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12551 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12552 printf("*** required on your system.\n");
12553 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12554 printf("*** to point to the correct configuration files\n");
12556 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12557 (gtk_minor_version != GTK_MINOR_VERSION) ||
12558 (gtk_micro_version != GTK_MICRO_VERSION))
12560 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12561 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12562 printf("*** library (version %d.%d.%d)\n",
12563 gtk_major_version, gtk_minor_version, gtk_micro_version);
12567 if ((gtk_major_version > major) ||
12568 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12569 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12575 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12576 gtk_major_version, gtk_minor_version, gtk_micro_version);
12577 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12578 major, minor, micro);
12579 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12581 printf("*** If you have already installed a sufficiently new version, this error\n");
12582 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12583 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12584 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
12585 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12586 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12587 printf("*** so that the correct libraries are found at run-time))\n");
12594 if { (eval echo configure
:12595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12598 echo "configure: failed program was:" >&5
12599 cat conftest.
$ac_ext >&5
12606 CFLAGS
="$ac_save_CFLAGS"
12607 LIBS
="$ac_save_LIBS"
12610 if test "x$no_gtk" = x
; then
12611 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
12614 echo "$ac_t""no" 1>&6
12615 if test "$PKG_CONFIG" = "no" ; then
12616 echo "*** A new enough version of pkg-config was not found."
12617 echo "*** See http://pkgconfig.sourceforge.net"
12619 if test -f conf.gtktest
; then
12622 echo "*** Could not run GTK+ test program, checking why..."
12623 ac_save_CFLAGS
="$CFLAGS"
12624 ac_save_LIBS
="$LIBS"
12625 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12626 LIBS
="$LIBS $GTK_LIBS"
12627 cat > conftest.
$ac_ext <<EOF
12628 #line 12629 "configure"
12629 #include "confdefs.h"
12631 #include <gtk/gtk.h>
12635 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12638 if { (eval echo configure
:12639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12640 echo "*** The test program compiled, but did not run. This usually means"
12641 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
12642 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
12643 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12644 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12645 echo "*** is required on your system"
12647 echo "*** If you have an old version installed, it is best to remove it, although"
12648 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12650 echo "configure: failed program was:" >&5
12651 cat conftest.
$ac_ext >&5
12653 echo "*** The test program failed to compile or link. See the file config.log for the"
12654 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
12657 CFLAGS
="$ac_save_CFLAGS"
12658 LIBS
="$ac_save_LIBS"
12670 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12671 if test "${with_gtk_prefix+set}" = set; then
12672 withval
="$with_gtk_prefix"
12673 gtk_config_prefix
="$withval"
12675 gtk_config_prefix
=""
12678 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12679 if test "${with_gtk_exec_prefix+set}" = set; then
12680 withval
="$with_gtk_exec_prefix"
12681 gtk_config_exec_prefix
="$withval"
12683 gtk_config_exec_prefix
=""
12686 # Check whether --enable-gtktest or --disable-gtktest was given.
12687 if test "${enable_gtktest+set}" = set; then
12688 enableval
="$enable_gtktest"
12695 for module
in .
$GTK_MODULES
12699 gtk_config_args
="$gtk_config_args gthread"
12704 if test x
$gtk_config_exec_prefix != x
; then
12705 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12706 if test x
${GTK_CONFIG+set} != xset
; then
12707 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12710 if test x
$gtk_config_prefix != x
; then
12711 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12712 if test x
${GTK_CONFIG+set} != xset
; then
12713 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12717 # Extract the first word of "gtk-config", so it can be a program name with args.
12718 set dummy gtk
-config; ac_word
=$2
12719 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12720 echo "configure:12721: checking for $ac_word" >&5
12721 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12722 echo $ac_n "(cached) $ac_c" 1>&6
12724 case "$GTK_CONFIG" in
12726 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12729 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12732 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12734 for ac_dir
in $ac_dummy; do
12735 test -z "$ac_dir" && ac_dir
=.
12736 if test -f $ac_dir/$ac_word; then
12737 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12742 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12746 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12747 if test -n "$GTK_CONFIG"; then
12748 echo "$ac_t""$GTK_CONFIG" 1>&6
12750 echo "$ac_t""no" 1>&6
12753 min_gtk_version
=1.2.7
12754 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12755 echo "configure:12756: checking for GTK - version >= $min_gtk_version" >&5
12757 if test "$GTK_CONFIG" = "no" ; then
12760 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12761 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12762 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12763 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12764 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12765 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12766 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12767 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12768 if test "x$enable_gtktest" = "xyes" ; then
12769 ac_save_CFLAGS
="$CFLAGS"
12770 ac_save_LIBS
="$LIBS"
12771 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12772 LIBS
="$GTK_LIBS $LIBS"
12774 if test "$cross_compiling" = yes; then
12775 echo $ac_n "cross compiling; assumed OK... $ac_c"
12777 cat > conftest.
$ac_ext <<EOF
12778 #line 12779 "configure"
12779 #include "confdefs.h"
12781 #include <gtk/gtk.h>
12783 #include <stdlib.h>
12788 int major, minor, micro;
12791 system ("touch conf.gtktest");
12793 /* HP/UX 9 (%@#!) writes to sscanf strings */
12794 tmp_version = g_strdup("$min_gtk_version");
12795 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12796 printf("%s, bad version string\n", "$min_gtk_version");
12800 if ((gtk_major_version != $gtk_config_major_version) ||
12801 (gtk_minor_version != $gtk_config_minor_version) ||
12802 (gtk_micro_version != $gtk_config_micro_version))
12804 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12805 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12806 gtk_major_version, gtk_minor_version, gtk_micro_version);
12807 printf ("*** was found! If gtk-config was correct, then it is best\n");
12808 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12809 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12810 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12811 printf("*** required on your system.\n");
12812 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12813 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12814 printf("*** before re-running configure\n");
12816 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12817 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12818 (gtk_minor_version != GTK_MINOR_VERSION) ||
12819 (gtk_micro_version != GTK_MICRO_VERSION))
12821 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12822 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12823 printf("*** library (version %d.%d.%d)\n",
12824 gtk_major_version, gtk_minor_version, gtk_micro_version);
12826 #endif /* defined (GTK_MAJOR_VERSION) ... */
12829 if ((gtk_major_version > major) ||
12830 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12831 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12837 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12838 gtk_major_version, gtk_minor_version, gtk_micro_version);
12839 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12840 major, minor, micro);
12841 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12843 printf("*** If you have already installed a sufficiently new version, this error\n");
12844 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12845 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12846 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12847 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12848 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12849 printf("*** so that the correct libraries are found at run-time))\n");
12856 if { (eval echo configure
:12857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12860 echo "configure: failed program was:" >&5
12861 cat conftest.
$ac_ext >&5
12868 CFLAGS
="$ac_save_CFLAGS"
12869 LIBS
="$ac_save_LIBS"
12872 if test "x$no_gtk" = x
; then
12873 echo "$ac_t""yes" 1>&6
12874 wx_cv_lib_gtk
=1.2.7
12876 echo "$ac_t""no" 1>&6
12877 if test "$GTK_CONFIG" = "no" ; then
12878 echo "*** The gtk-config script installed by GTK could not be found"
12879 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12880 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12881 echo "*** full path to gtk-config."
12883 if test -f conf.gtktest
; then
12886 echo "*** Could not run GTK test program, checking why..."
12887 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12888 LIBS
="$LIBS $GTK_LIBS"
12889 cat > conftest.
$ac_ext <<EOF
12890 #line 12891 "configure"
12891 #include "confdefs.h"
12893 #include <gtk/gtk.h>
12897 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12900 if { (eval echo configure
:12901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12902 echo "*** The test program compiled, but did not run. This usually means"
12903 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12904 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12905 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12906 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12907 echo "*** is required on your system"
12909 echo "*** If you have an old version installed, it is best to remove it, although"
12910 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12912 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12913 echo "*** came with the system with the command"
12915 echo "*** rpm --erase --nodeps gtk gtk-devel"
12917 echo "configure: failed program was:" >&5
12918 cat conftest.
$ac_ext >&5
12920 echo "*** The test program failed to compile or link. See the file config.log for the"
12921 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12922 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12923 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12926 CFLAGS
="$ac_save_CFLAGS"
12927 LIBS
="$ac_save_LIBS"
12939 if test -z "$wx_cv_lib_gtk"; then
12940 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12941 if test "${with_gtk_prefix+set}" = set; then
12942 withval
="$with_gtk_prefix"
12943 gtk_config_prefix
="$withval"
12945 gtk_config_prefix
=""
12948 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12949 if test "${with_gtk_exec_prefix+set}" = set; then
12950 withval
="$with_gtk_exec_prefix"
12951 gtk_config_exec_prefix
="$withval"
12953 gtk_config_exec_prefix
=""
12956 # Check whether --enable-gtktest or --disable-gtktest was given.
12957 if test "${enable_gtktest+set}" = set; then
12958 enableval
="$enable_gtktest"
12965 for module
in .
$GTK_MODULES
12969 gtk_config_args
="$gtk_config_args gthread"
12974 if test x
$gtk_config_exec_prefix != x
; then
12975 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12976 if test x
${GTK_CONFIG+set} != xset
; then
12977 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12980 if test x
$gtk_config_prefix != x
; then
12981 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12982 if test x
${GTK_CONFIG+set} != xset
; then
12983 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12987 # Extract the first word of "gtk-config", so it can be a program name with args.
12988 set dummy gtk
-config; ac_word
=$2
12989 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12990 echo "configure:12991: checking for $ac_word" >&5
12991 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12992 echo $ac_n "(cached) $ac_c" 1>&6
12994 case "$GTK_CONFIG" in
12996 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12999 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
13002 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13004 for ac_dir
in $ac_dummy; do
13005 test -z "$ac_dir" && ac_dir
=.
13006 if test -f $ac_dir/$ac_word; then
13007 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
13012 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
13016 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
13017 if test -n "$GTK_CONFIG"; then
13018 echo "$ac_t""$GTK_CONFIG" 1>&6
13020 echo "$ac_t""no" 1>&6
13023 min_gtk_version
=1.2.3
13024 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
13025 echo "configure:13026: checking for GTK - version >= $min_gtk_version" >&5
13027 if test "$GTK_CONFIG" = "no" ; then
13030 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
13031 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
13032 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
13033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13034 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
13035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13036 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
13037 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13038 if test "x$enable_gtktest" = "xyes" ; then
13039 ac_save_CFLAGS
="$CFLAGS"
13040 ac_save_LIBS
="$LIBS"
13041 CFLAGS
="$CFLAGS $GTK_CFLAGS"
13042 LIBS
="$GTK_LIBS $LIBS"
13044 if test "$cross_compiling" = yes; then
13045 echo $ac_n "cross compiling; assumed OK... $ac_c"
13047 cat > conftest.
$ac_ext <<EOF
13048 #line 13049 "configure"
13049 #include "confdefs.h"
13051 #include <gtk/gtk.h>
13053 #include <stdlib.h>
13058 int major, minor, micro;
13061 system ("touch conf.gtktest");
13063 /* HP/UX 9 (%@#!) writes to sscanf strings */
13064 tmp_version = g_strdup("$min_gtk_version");
13065 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
13066 printf("%s, bad version string\n", "$min_gtk_version");
13070 if ((gtk_major_version != $gtk_config_major_version) ||
13071 (gtk_minor_version != $gtk_config_minor_version) ||
13072 (gtk_micro_version != $gtk_config_micro_version))
13074 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
13075 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
13076 gtk_major_version, gtk_minor_version, gtk_micro_version);
13077 printf ("*** was found! If gtk-config was correct, then it is best\n");
13078 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
13079 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
13080 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
13081 printf("*** required on your system.\n");
13082 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
13083 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
13084 printf("*** before re-running configure\n");
13086 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
13087 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
13088 (gtk_minor_version != GTK_MINOR_VERSION) ||
13089 (gtk_micro_version != GTK_MICRO_VERSION))
13091 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
13092 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
13093 printf("*** library (version %d.%d.%d)\n",
13094 gtk_major_version, gtk_minor_version, gtk_micro_version);
13096 #endif /* defined (GTK_MAJOR_VERSION) ... */
13099 if ((gtk_major_version > major) ||
13100 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
13101 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
13107 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
13108 gtk_major_version, gtk_minor_version, gtk_micro_version);
13109 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
13110 major, minor, micro);
13111 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
13113 printf("*** If you have already installed a sufficiently new version, this error\n");
13114 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
13115 printf("*** being found. The easiest way to fix this is to remove the old version\n");
13116 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
13117 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
13118 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
13119 printf("*** so that the correct libraries are found at run-time))\n");
13126 if { (eval echo configure
:13127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13130 echo "configure: failed program was:" >&5
13131 cat conftest.
$ac_ext >&5
13138 CFLAGS
="$ac_save_CFLAGS"
13139 LIBS
="$ac_save_LIBS"
13142 if test "x$no_gtk" = x
; then
13143 echo "$ac_t""yes" 1>&6
13144 wx_cv_lib_gtk
=1.2.3
13146 echo "$ac_t""no" 1>&6
13147 if test "$GTK_CONFIG" = "no" ; then
13148 echo "*** The gtk-config script installed by GTK could not be found"
13149 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
13150 echo "*** your path, or set the GTK_CONFIG environment variable to the"
13151 echo "*** full path to gtk-config."
13153 if test -f conf.gtktest
; then
13156 echo "*** Could not run GTK test program, checking why..."
13157 CFLAGS
="$CFLAGS $GTK_CFLAGS"
13158 LIBS
="$LIBS $GTK_LIBS"
13159 cat > conftest.
$ac_ext <<EOF
13160 #line 13161 "configure"
13161 #include "confdefs.h"
13163 #include <gtk/gtk.h>
13167 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
13170 if { (eval echo configure
:13171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13172 echo "*** The test program compiled, but did not run. This usually means"
13173 echo "*** that the run-time linker is not finding GTK or finding the wrong"
13174 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
13175 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
13176 echo "*** to the installed location Also, make sure you have run ldconfig if that"
13177 echo "*** is required on your system"
13179 echo "*** If you have an old version installed, it is best to remove it, although"
13180 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13182 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
13183 echo "*** came with the system with the command"
13185 echo "*** rpm --erase --nodeps gtk gtk-devel"
13187 echo "configure: failed program was:" >&5
13188 cat conftest.
$ac_ext >&5
13190 echo "*** The test program failed to compile or link. See the file config.log for the"
13191 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
13192 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
13193 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
13196 CFLAGS
="$ac_save_CFLAGS"
13197 LIBS
="$ac_save_LIBS"
13211 if test -z "$wx_cv_lib_gtk"; then
13214 wx_cv_cflags_gtk
=$GTK_CFLAGS
13215 wx_cv_libs_gtk
=$GTK_LIBS
13222 if test "$gtk_version_cached" = 1; then
13223 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
13226 case "$wx_cv_lib_gtk" in
13235 *) { echo "configure: error:
13236 Please check that gtk-config is in path, the directory
13237 where GTK+ libraries are installed (returned by
13238 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
13239 equivalent variable and GTK+ is version 1.2.3 or above.
13244 if test "$WXGTK20" = 1; then
13245 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
13249 if test -z "$PKG_CONFIG"; then
13250 # Extract the first word of "pkg-config", so it can be a program name with args.
13251 set dummy pkg
-config; ac_word
=$2
13252 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13253 echo "configure:13254: checking for $ac_word" >&5
13254 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
13255 echo $ac_n "(cached) $ac_c" 1>&6
13257 case "$PKG_CONFIG" in
13259 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13262 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
13265 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13267 for ac_dir
in $ac_dummy; do
13268 test -z "$ac_dir" && ac_dir
=.
13269 if test -f $ac_dir/$ac_word; then
13270 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
13275 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13279 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13280 if test -n "$PKG_CONFIG"; then
13281 echo "$ac_t""$PKG_CONFIG" 1>&6
13283 echo "$ac_t""no" 1>&6
13288 if test "$PKG_CONFIG" = "no" ; then
13289 echo "*** The pkg-config script could not be found. Make sure it is"
13290 echo "*** in your path, or set the PKG_CONFIG environment variable"
13291 echo "*** to the full path to pkg-config."
13292 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13294 PKG_CONFIG_MIN_VERSION
=0.9.0
13295 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13296 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
13297 echo "configure:13298: checking for pangoft2" >&5
13299 if $PKG_CONFIG --exists "pangoft2" ; then
13300 echo "$ac_t""yes" 1>&6
13303 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
13304 echo "configure:13305: checking PANGOFT2_CFLAGS" >&5
13305 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
13306 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
13308 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
13309 echo "configure:13310: checking PANGOFT2_LIBS" >&5
13310 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
13311 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
13315 ## If we have a custom action on failure, don't print errors, but
13316 ## do set a variable so people can do so.
13317 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
13324 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13325 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13329 if test $succeeded = yes; then
13331 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
13332 LIBS
="$LIBS $PANGOFT2_LIBS"
13336 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
13337 wxUSE_PRINTING_ARCHITECTURE
="no"
13344 if test "$wxUSE_UNICODE" = "yes"; then
13345 echo "configure: warning: Unicode configuration not supported with GTK+ 1.x" 1>&2
13350 if test "$USE_DARWIN" != 1; then
13351 for ac_func
in poll
13353 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13354 echo "configure:13355: checking for $ac_func" >&5
13355 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13356 echo $ac_n "(cached) $ac_c" 1>&6
13358 cat > conftest.
$ac_ext <<EOF
13359 #line 13360 "configure"
13360 #include "confdefs.h"
13361 /* System header to define __stub macros and hopefully few prototypes,
13362 which can conflict with char $ac_func(); below. */
13363 #include <assert.h>
13364 /* Override any gcc2 internal prototype to avoid an error. */
13365 /* We use char because int might match the return type of a gcc2
13366 builtin and then its argument prototype would still apply. */
13371 /* The GNU C library defines this for functions which it implements
13372 to always fail with ENOSYS. Some functions are actually named
13373 something starting with __ and the normal name is an alias. */
13374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13382 if { (eval echo configure
:13383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13384 eval "ac_cv_func_$ac_func=yes"
13386 echo "configure: failed program was:" >&5
13387 cat conftest.
$ac_ext >&5
13389 eval "ac_cv_func_$ac_func=no"
13394 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13395 echo "$ac_t""yes" 1>&6
13396 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13397 cat >> confdefs.h
<<EOF
13398 #define $ac_tr_func 1
13402 echo "$ac_t""no" 1>&6
13408 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
13409 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
13411 AFMINSTALL
=afminstall
13415 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
13416 echo "configure:13417: checking for gdk_im_open in -lgdk" >&5
13417 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
13418 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13419 echo $ac_n "(cached) $ac_c" 1>&6
13421 ac_save_LIBS
="$LIBS"
13423 cat > conftest.
$ac_ext <<EOF
13424 #line 13425 "configure"
13425 #include "confdefs.h"
13426 /* Override any gcc2 internal prototype to avoid an error. */
13427 /* We use char because int might match the return type of a gcc2
13428 builtin and then its argument prototype would still apply. */
13429 char gdk_im_open();
13435 if { (eval echo configure
:13436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13437 eval "ac_cv_lib_$ac_lib_var=yes"
13439 echo "configure: failed program was:" >&5
13440 cat conftest.
$ac_ext >&5
13442 eval "ac_cv_lib_$ac_lib_var=no"
13445 LIBS
="$ac_save_LIBS"
13448 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13449 echo "$ac_t""yes" 1>&6
13450 cat >> confdefs.h
<<\EOF
13455 echo "$ac_t""no" 1>&6
13460 if test "$wxUSE_MGL" = 1; then
13461 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
13462 echo "configure:13463: checking for SciTech MGL library" >&5
13463 if test "x$MGL_ROOT" = x
; then
13464 echo "$ac_t""not found" 1>&6
13465 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
13467 echo "$ac_t""$MGL_ROOT" 1>&6
13470 echo $ac_n "checking for libmgl location""... $ac_c" 1>&6
13471 echo "configure:13472: checking for libmgl location" >&5
13474 if test "x$wxUSE_SHARED" = xyes
; then
13475 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
13477 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
13481 mgl_os_candidates
="dos32/dj2"
13484 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
13490 for mgl_os_i
in $mgl_os_candidates ; do
13491 if test "x$mgl_os" = x
; then
13492 if test "$wxUSE_DEBUG_FLAG" = yes ; then
13493 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
13494 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
13499 if test "x$mgl_lib_type" = x
; then
13500 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
13501 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
13502 mgl_lib_type
=release
13509 if test "x$mgl_os" = x
; then
13510 echo "$ac_t""not found" 1>&6
13511 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
13513 echo "$ac_t"""$MGL_ROOT/lib
/$mgl_lib_type/$mgl_os"" 1>&6
13515 wxUSE_UNIVERSAL
="yes"
13517 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
13518 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
13520 AFMINSTALL
=afminstall
13525 if test "$wxUSE_MICROWIN" = 1; then
13526 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
13527 echo "configure:13528: checking for MicroWindows" >&5
13528 if test "x$MICROWINDOWS" = x
; then
13529 echo "$ac_t""not found" 1>&6
13530 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
13532 echo "$ac_t""$MICROWINDOWS" 1>&6
13535 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
13536 echo "$ac_t""MicroWindows' libraries found." 1>&6
13538 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
13541 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
13542 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
13544 wxUSE_UNIVERSAL
="yes"
13546 AFMINSTALL
=afminstall
13548 GUIDIST
=MICROWIN_DIST
13550 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
13553 if test "$wxUSE_X11" = 1; then
13554 # If we find X, set shell vars x_includes and x_libraries to the
13555 # paths, otherwise set no_x=yes.
13556 # Uses ac_ vars as temps to allow command line to override cache and checks.
13557 # --without-x overrides everything else, but does not touch the cache.
13558 echo $ac_n "checking for X""... $ac_c" 1>&6
13559 echo "configure:13560: checking for X" >&5
13561 # Check whether --with-x or --without-x was given.
13562 if test "${with_x+set}" = set; then
13567 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13568 if test "x$with_x" = xno
; then
13569 # The user explicitly disabled X.
13572 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
13573 # Both variables are already set.
13576 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
13577 echo $ac_n "(cached) $ac_c" 1>&6
13579 # One or both of the vars are not set, and there is no cached value.
13580 ac_x_includes
=NO ac_x_libraries
=NO
13582 if mkdir conftestdir
; then
13584 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
13585 cat > Imakefile
<<'EOF'
13587 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
13589 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13590 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13591 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
13592 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13593 for ac_extension
in a so sl
; do
13594 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
13595 test -f $ac_im_libdir/libX11.
$ac_extension; then
13596 ac_im_usrlibdir
=$ac_im_libdir; break
13599 # Screen out bogus values from the imake configuration. They are
13600 # bogus both because they are the default anyway, and because
13601 # using them would break gcc on systems where it needs fixed includes.
13602 case "$ac_im_incroot" in
13604 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
13606 case "$ac_im_usrlibdir" in
13607 /usr
/lib
| /lib
) ;;
13608 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
13615 if test "$ac_x_includes" = NO
; then
13616 # Guess where to find include files, by looking for this one X11 .h file.
13617 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
13619 # First, try using that file with no special directory specified.
13620 cat > conftest.
$ac_ext <<EOF
13621 #line 13622 "configure"
13622 #include "confdefs.h"
13623 #include <$x_direct_test_include>
13625 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13626 { (eval echo configure
:13627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13627 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13628 if test -z "$ac_err"; then
13630 # We can compile using X headers with no special include directory.
13634 echo "configure: failed program was:" >&5
13635 cat conftest.
$ac_ext >&5
13637 # Look for the header file in a standard set of common directories.
13638 # Check X11 before X11Rn because it is often a symlink to the current release.
13641 /usr
/X
11R
6/include \
13642 /usr
/X
11R
5/include \
13643 /usr
/X
11R
4/include \
13646 /usr
/include
/X11R6 \
13647 /usr
/include
/X11R5 \
13648 /usr
/include
/X11R4 \
13650 /usr
/local
/X
11/include \
13651 /usr
/local
/X
11R
6/include \
13652 /usr
/local
/X
11R
5/include \
13653 /usr
/local
/X
11R
4/include \
13655 /usr
/local
/include
/X11 \
13656 /usr
/local
/include
/X11R6 \
13657 /usr
/local
/include
/X11R5 \
13658 /usr
/local
/include
/X11R4 \
13660 /usr
/X
386/include \
13661 /usr
/x
386/include \
13662 /usr
/XFree
86/include
/X11 \
13665 /usr
/local
/include \
13666 /usr
/unsupported
/include \
13667 /usr
/athena
/include \
13668 /usr
/local
/x
11r
5/include \
13669 /usr
/lpp
/Xamples
/include \
13671 /usr
/openwin
/include \
13672 /usr
/openwin
/share
/include \
13675 if test -r "$ac_dir/$x_direct_test_include"; then
13676 ac_x_includes
=$ac_dir
13682 fi # $ac_x_includes = NO
13684 if test "$ac_x_libraries" = NO
; then
13685 # Check for the libraries.
13687 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
13688 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
13690 # See if we find them without any special options.
13691 # Don't add to $LIBS permanently.
13692 ac_save_LIBS
="$LIBS"
13693 LIBS
="-l$x_direct_test_library $LIBS"
13694 cat > conftest.
$ac_ext <<EOF
13695 #line 13696 "configure"
13696 #include "confdefs.h"
13699 ${x_direct_test_function}()
13702 if { (eval echo configure
:13703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13704 LIBS
="$ac_save_LIBS"
13705 # We can link X programs with no special library path.
13708 echo "configure: failed program was:" >&5
13709 cat conftest.
$ac_ext >&5
13711 LIBS
="$ac_save_LIBS"
13712 # First see if replacing the include by lib works.
13713 # Check X11 before X11Rn because it is often a symlink to the current release.
13714 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
13725 /usr
/local
/X
11/lib \
13726 /usr
/local
/X
11R
6/lib \
13727 /usr
/local
/X
11R
5/lib \
13728 /usr
/local
/X
11R
4/lib \
13730 /usr
/local
/lib
/X11 \
13731 /usr
/local
/lib
/X11R6 \
13732 /usr
/local
/lib
/X11R5 \
13733 /usr
/local
/lib
/X11R4 \
13737 /usr
/XFree
86/lib
/X11 \
13741 /usr
/unsupported
/lib \
13743 /usr
/local
/x
11r
5/lib \
13744 /usr
/lpp
/Xamples
/lib \
13748 /usr
/openwin
/share
/lib \
13751 for ac_extension
in a so sl
; do
13752 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
13753 ac_x_libraries
=$ac_dir
13760 fi # $ac_x_libraries = NO
13762 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
13763 # Didn't find X anywhere. Cache the known absence of X.
13764 ac_cv_have_x
="have_x=no"
13766 # Record where we found X for the cache.
13767 ac_cv_have_x
="have_x=yes \
13768 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
13772 eval "$ac_cv_have_x"
13775 if test "$have_x" != yes; then
13776 echo "$ac_t""$have_x" 1>&6
13779 # If each of the values was on the command line, it overrides each guess.
13780 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13781 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13782 # Update the cache value to reflect the command line values.
13783 ac_cv_have_x
="have_x=yes \
13784 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
13785 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
13788 if test "$no_x" = yes; then
13789 # Not all programs may use this symbol, but it does not hurt to define it.
13790 cat >> confdefs.h
<<\EOF
13791 #define X_DISPLAY_MISSING 1
13794 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13796 if test -n "$x_includes"; then
13797 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13800 # It would also be nice to do this for all -L options, not just this one.
13801 if test -n "$x_libraries"; then
13802 X_LIBS
="$X_LIBS -L$x_libraries"
13803 # For Solaris; some versions of Sun CC require a space after -R and
13804 # others require no space. Words are not sufficient . . . .
13805 case "`(uname -sr) 2>/dev/null`" in
13807 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13808 echo "configure:13809: checking whether -R must be followed by a space" >&5
13809 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13810 cat > conftest.
$ac_ext <<EOF
13811 #line 13812 "configure"
13812 #include "confdefs.h"
13818 if { (eval echo configure
:13819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13822 echo "configure: failed program was:" >&5
13823 cat conftest.
$ac_ext >&5
13828 if test $ac_R_nospace = yes; then
13829 echo "$ac_t""no" 1>&6
13830 X_LIBS
="$X_LIBS -R$x_libraries"
13832 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13833 cat > conftest.
$ac_ext <<EOF
13834 #line 13835 "configure"
13835 #include "confdefs.h"
13841 if { (eval echo configure
:13842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13845 echo "configure: failed program was:" >&5
13846 cat conftest.
$ac_ext >&5
13851 if test $ac_R_space = yes; then
13852 echo "$ac_t""yes" 1>&6
13853 X_LIBS
="$X_LIBS -R $x_libraries"
13855 echo "$ac_t""neither works" 1>&6
13858 LIBS
="$ac_xsave_LIBS"
13862 # Check for system-dependent libraries X programs must link with.
13863 # Do this before checking for the system-independent R6 libraries
13864 # (-lICE), since we may need -lsocket or whatever for X linking.
13866 if test "$ISC" = yes; then
13867 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13869 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13870 # libraries were built with DECnet support. And karl@cs.umb.edu says
13871 # the Alpha needs dnet_stub (dnet does not exist).
13872 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13873 echo "configure:13874: checking for dnet_ntoa in -ldnet" >&5
13874 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13875 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13876 echo $ac_n "(cached) $ac_c" 1>&6
13878 ac_save_LIBS
="$LIBS"
13879 LIBS
="-ldnet $LIBS"
13880 cat > conftest.
$ac_ext <<EOF
13881 #line 13882 "configure"
13882 #include "confdefs.h"
13883 /* Override any gcc2 internal prototype to avoid an error. */
13884 /* We use char because int might match the return type of a gcc2
13885 builtin and then its argument prototype would still apply. */
13892 if { (eval echo configure
:13893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13894 eval "ac_cv_lib_$ac_lib_var=yes"
13896 echo "configure: failed program was:" >&5
13897 cat conftest.
$ac_ext >&5
13899 eval "ac_cv_lib_$ac_lib_var=no"
13902 LIBS
="$ac_save_LIBS"
13905 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13906 echo "$ac_t""yes" 1>&6
13907 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13909 echo "$ac_t""no" 1>&6
13912 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13913 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13914 echo "configure:13915: checking for dnet_ntoa in -ldnet_stub" >&5
13915 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13916 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13917 echo $ac_n "(cached) $ac_c" 1>&6
13919 ac_save_LIBS
="$LIBS"
13920 LIBS
="-ldnet_stub $LIBS"
13921 cat > conftest.
$ac_ext <<EOF
13922 #line 13923 "configure"
13923 #include "confdefs.h"
13924 /* Override any gcc2 internal prototype to avoid an error. */
13925 /* We use char because int might match the return type of a gcc2
13926 builtin and then its argument prototype would still apply. */
13933 if { (eval echo configure
:13934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13935 eval "ac_cv_lib_$ac_lib_var=yes"
13937 echo "configure: failed program was:" >&5
13938 cat conftest.
$ac_ext >&5
13940 eval "ac_cv_lib_$ac_lib_var=no"
13943 LIBS
="$ac_save_LIBS"
13946 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13947 echo "$ac_t""yes" 1>&6
13948 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13950 echo "$ac_t""no" 1>&6
13955 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13956 # to get the SysV transport functions.
13957 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13959 # The nsl library prevents programs from opening the X display
13960 # on Irix 5.2, according to dickey@clark.net.
13961 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13962 echo "configure:13963: checking for gethostbyname" >&5
13963 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13964 echo $ac_n "(cached) $ac_c" 1>&6
13966 cat > conftest.
$ac_ext <<EOF
13967 #line 13968 "configure"
13968 #include "confdefs.h"
13969 /* System header to define __stub macros and hopefully few prototypes,
13970 which can conflict with char gethostbyname(); below. */
13971 #include <assert.h>
13972 /* Override any gcc2 internal prototype to avoid an error. */
13973 /* We use char because int might match the return type of a gcc2
13974 builtin and then its argument prototype would still apply. */
13975 char gethostbyname();
13979 /* The GNU C library defines this for functions which it implements
13980 to always fail with ENOSYS. Some functions are actually named
13981 something starting with __ and the normal name is an alias. */
13982 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13990 if { (eval echo configure
:13991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13992 eval "ac_cv_func_gethostbyname=yes"
13994 echo "configure: failed program was:" >&5
13995 cat conftest.
$ac_ext >&5
13997 eval "ac_cv_func_gethostbyname=no"
14002 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
14003 echo "$ac_t""yes" 1>&6
14006 echo "$ac_t""no" 1>&6
14009 if test $ac_cv_func_gethostbyname = no
; then
14010 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
14011 echo "configure:14012: checking for gethostbyname in -lnsl" >&5
14012 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
14013 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14014 echo $ac_n "(cached) $ac_c" 1>&6
14016 ac_save_LIBS
="$LIBS"
14018 cat > conftest.
$ac_ext <<EOF
14019 #line 14020 "configure"
14020 #include "confdefs.h"
14021 /* Override any gcc2 internal prototype to avoid an error. */
14022 /* We use char because int might match the return type of a gcc2
14023 builtin and then its argument prototype would still apply. */
14024 char gethostbyname();
14030 if { (eval echo configure
:14031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14032 eval "ac_cv_lib_$ac_lib_var=yes"
14034 echo "configure: failed program was:" >&5
14035 cat conftest.
$ac_ext >&5
14037 eval "ac_cv_lib_$ac_lib_var=no"
14040 LIBS
="$ac_save_LIBS"
14043 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14044 echo "$ac_t""yes" 1>&6
14045 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14047 echo "$ac_t""no" 1>&6
14052 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14053 # socket/setsockopt and other routines are undefined under SCO ODT
14054 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14055 # on later versions), says simon@lia.di.epfl.ch: it contains
14056 # gethostby* variants that don't use the nameserver (or something).
14057 # -lsocket must be given before -lnsl if both are needed.
14058 # We assume that if connect needs -lnsl, so does gethostbyname.
14059 echo $ac_n "checking for connect""... $ac_c" 1>&6
14060 echo "configure:14061: checking for connect" >&5
14061 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14062 echo $ac_n "(cached) $ac_c" 1>&6
14064 cat > conftest.
$ac_ext <<EOF
14065 #line 14066 "configure"
14066 #include "confdefs.h"
14067 /* System header to define __stub macros and hopefully few prototypes,
14068 which can conflict with char connect(); below. */
14069 #include <assert.h>
14070 /* Override any gcc2 internal prototype to avoid an error. */
14071 /* We use char because int might match the return type of a gcc2
14072 builtin and then its argument prototype would still apply. */
14077 /* The GNU C library defines this for functions which it implements
14078 to always fail with ENOSYS. Some functions are actually named
14079 something starting with __ and the normal name is an alias. */
14080 #if defined (__stub_connect) || defined (__stub___connect)
14088 if { (eval echo configure
:14089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14090 eval "ac_cv_func_connect=yes"
14092 echo "configure: failed program was:" >&5
14093 cat conftest.
$ac_ext >&5
14095 eval "ac_cv_func_connect=no"
14100 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14101 echo "$ac_t""yes" 1>&6
14104 echo "$ac_t""no" 1>&6
14107 if test $ac_cv_func_connect = no
; then
14108 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14109 echo "configure:14110: checking for connect in -lsocket" >&5
14110 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14111 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14112 echo $ac_n "(cached) $ac_c" 1>&6
14114 ac_save_LIBS
="$LIBS"
14115 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14116 cat > conftest.
$ac_ext <<EOF
14117 #line 14118 "configure"
14118 #include "confdefs.h"
14119 /* Override any gcc2 internal prototype to avoid an error. */
14120 /* We use char because int might match the return type of a gcc2
14121 builtin and then its argument prototype would still apply. */
14128 if { (eval echo configure
:14129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14130 eval "ac_cv_lib_$ac_lib_var=yes"
14132 echo "configure: failed program was:" >&5
14133 cat conftest.
$ac_ext >&5
14135 eval "ac_cv_lib_$ac_lib_var=no"
14138 LIBS
="$ac_save_LIBS"
14141 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14142 echo "$ac_t""yes" 1>&6
14143 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14145 echo "$ac_t""no" 1>&6
14150 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14151 echo $ac_n "checking for remove""... $ac_c" 1>&6
14152 echo "configure:14153: checking for remove" >&5
14153 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14154 echo $ac_n "(cached) $ac_c" 1>&6
14156 cat > conftest.
$ac_ext <<EOF
14157 #line 14158 "configure"
14158 #include "confdefs.h"
14159 /* System header to define __stub macros and hopefully few prototypes,
14160 which can conflict with char remove(); below. */
14161 #include <assert.h>
14162 /* Override any gcc2 internal prototype to avoid an error. */
14163 /* We use char because int might match the return type of a gcc2
14164 builtin and then its argument prototype would still apply. */
14169 /* The GNU C library defines this for functions which it implements
14170 to always fail with ENOSYS. Some functions are actually named
14171 something starting with __ and the normal name is an alias. */
14172 #if defined (__stub_remove) || defined (__stub___remove)
14180 if { (eval echo configure
:14181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14182 eval "ac_cv_func_remove=yes"
14184 echo "configure: failed program was:" >&5
14185 cat conftest.
$ac_ext >&5
14187 eval "ac_cv_func_remove=no"
14192 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14193 echo "$ac_t""yes" 1>&6
14196 echo "$ac_t""no" 1>&6
14199 if test $ac_cv_func_remove = no
; then
14200 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14201 echo "configure:14202: checking for remove in -lposix" >&5
14202 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14203 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14204 echo $ac_n "(cached) $ac_c" 1>&6
14206 ac_save_LIBS
="$LIBS"
14207 LIBS
="-lposix $LIBS"
14208 cat > conftest.
$ac_ext <<EOF
14209 #line 14210 "configure"
14210 #include "confdefs.h"
14211 /* Override any gcc2 internal prototype to avoid an error. */
14212 /* We use char because int might match the return type of a gcc2
14213 builtin and then its argument prototype would still apply. */
14220 if { (eval echo configure
:14221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14222 eval "ac_cv_lib_$ac_lib_var=yes"
14224 echo "configure: failed program was:" >&5
14225 cat conftest.
$ac_ext >&5
14227 eval "ac_cv_lib_$ac_lib_var=no"
14230 LIBS
="$ac_save_LIBS"
14233 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14234 echo "$ac_t""yes" 1>&6
14235 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14237 echo "$ac_t""no" 1>&6
14242 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14243 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14244 echo "configure:14245: checking for shmat" >&5
14245 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14246 echo $ac_n "(cached) $ac_c" 1>&6
14248 cat > conftest.
$ac_ext <<EOF
14249 #line 14250 "configure"
14250 #include "confdefs.h"
14251 /* System header to define __stub macros and hopefully few prototypes,
14252 which can conflict with char shmat(); below. */
14253 #include <assert.h>
14254 /* Override any gcc2 internal prototype to avoid an error. */
14255 /* We use char because int might match the return type of a gcc2
14256 builtin and then its argument prototype would still apply. */
14261 /* The GNU C library defines this for functions which it implements
14262 to always fail with ENOSYS. Some functions are actually named
14263 something starting with __ and the normal name is an alias. */
14264 #if defined (__stub_shmat) || defined (__stub___shmat)
14272 if { (eval echo configure
:14273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14274 eval "ac_cv_func_shmat=yes"
14276 echo "configure: failed program was:" >&5
14277 cat conftest.
$ac_ext >&5
14279 eval "ac_cv_func_shmat=no"
14284 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14285 echo "$ac_t""yes" 1>&6
14288 echo "$ac_t""no" 1>&6
14291 if test $ac_cv_func_shmat = no
; then
14292 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14293 echo "configure:14294: checking for shmat in -lipc" >&5
14294 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14295 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14296 echo $ac_n "(cached) $ac_c" 1>&6
14298 ac_save_LIBS
="$LIBS"
14300 cat > conftest.
$ac_ext <<EOF
14301 #line 14302 "configure"
14302 #include "confdefs.h"
14303 /* Override any gcc2 internal prototype to avoid an error. */
14304 /* We use char because int might match the return type of a gcc2
14305 builtin and then its argument prototype would still apply. */
14312 if { (eval echo configure
:14313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14314 eval "ac_cv_lib_$ac_lib_var=yes"
14316 echo "configure: failed program was:" >&5
14317 cat conftest.
$ac_ext >&5
14319 eval "ac_cv_lib_$ac_lib_var=no"
14322 LIBS
="$ac_save_LIBS"
14325 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14326 echo "$ac_t""yes" 1>&6
14327 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14329 echo "$ac_t""no" 1>&6
14335 # Check for libraries that X11R6 Xt/Xaw programs need.
14336 ac_save_LDFLAGS
="$LDFLAGS"
14337 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14338 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14339 # check for ICE first), but we must link in the order -lSM -lICE or
14340 # we get undefined symbols. So assume we have SM if we have ICE.
14341 # These have to be linked with before -lX11, unlike the other
14342 # libraries we check for below, so use a different variable.
14343 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14344 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14345 echo "configure:14346: checking for IceConnectionNumber in -lICE" >&5
14346 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14347 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14348 echo $ac_n "(cached) $ac_c" 1>&6
14350 ac_save_LIBS
="$LIBS"
14351 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14352 cat > conftest.
$ac_ext <<EOF
14353 #line 14354 "configure"
14354 #include "confdefs.h"
14355 /* Override any gcc2 internal prototype to avoid an error. */
14356 /* We use char because int might match the return type of a gcc2
14357 builtin and then its argument prototype would still apply. */
14358 char IceConnectionNumber();
14361 IceConnectionNumber()
14364 if { (eval echo configure
:14365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14366 eval "ac_cv_lib_$ac_lib_var=yes"
14368 echo "configure: failed program was:" >&5
14369 cat conftest.
$ac_ext >&5
14371 eval "ac_cv_lib_$ac_lib_var=no"
14374 LIBS
="$ac_save_LIBS"
14377 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14378 echo "$ac_t""yes" 1>&6
14379 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14381 echo "$ac_t""no" 1>&6
14384 LDFLAGS
="$ac_save_LDFLAGS"
14389 if test "$no_x" = "yes"; then
14390 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14393 GUI_TK_LIBRARY
="$X_LIBS"
14394 TOOLKIT_INCLUDE
="$X_CFLAGS"
14395 AFMINSTALL
=afminstall
14396 COMPILED_X_PROGRAM
=0
14398 if test "$wxUSE_NANOX" = "yes"; then
14399 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
14400 echo "configure:14401: checking for MicroWindows/NanoX distribution" >&5
14401 if test "x$MICROWIN" = x
; then
14402 echo "$ac_t""not found" 1>&6
14403 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
14405 echo "$ac_t""$MICROWIN" 1>&6
14406 cat >> confdefs.h
<<\EOF
14407 #define wxUSE_NANOX 1
14414 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14415 echo "configure:14416: checking for Xpm library" >&5
14418 for ac_dir
in $SEARCH_LIB /usr
/lib
;
14420 for ac_extension
in a so sl dylib
; do
14421 if test -f "$ac_dir/libXpm.$ac_extension"; then
14422 ac_find_libraries
=$ac_dir
14428 if test "$ac_find_libraries" != "" ; then
14430 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14432 if test $result = 0; then
14435 ac_path_to_link
=" -L$ac_find_libraries"
14438 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14440 cat >> confdefs.h
<<\EOF
14441 #define wxHAVE_LIB_XPM 1
14444 echo "$ac_t""found at $ac_find_libraries" 1>&6
14446 cat > conftest.
$ac_ext <<EOF
14447 #line 14448 "configure"
14448 #include "confdefs.h"
14450 #include <X11/xpm.h>
14455 version = XpmLibraryVersion();
14459 if { (eval echo configure
:14460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14463 cat >> confdefs.h
<<\EOF
14464 #define wxHAVE_LIB_XPM 1
14467 echo "$ac_t""found in default search path" 1>&6
14468 COMPILED_X_PROGRAM
=0
14471 echo "configure: failed program was:" >&5
14472 cat conftest.
$ac_ext >&5
14475 echo "$ac_t""no" 1>&6
14476 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14483 if test "$wxUSE_UNICODE" = "yes"; then
14487 if test -z "$PKG_CONFIG"; then
14488 # Extract the first word of "pkg-config", so it can be a program name with args.
14489 set dummy pkg
-config; ac_word
=$2
14490 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14491 echo "configure:14492: checking for $ac_word" >&5
14492 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14493 echo $ac_n "(cached) $ac_c" 1>&6
14495 case "$PKG_CONFIG" in
14497 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14500 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14503 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14505 for ac_dir
in $ac_dummy; do
14506 test -z "$ac_dir" && ac_dir
=.
14507 if test -f $ac_dir/$ac_word; then
14508 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14513 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14517 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14518 if test -n "$PKG_CONFIG"; then
14519 echo "$ac_t""$PKG_CONFIG" 1>&6
14521 echo "$ac_t""no" 1>&6
14526 if test "$PKG_CONFIG" = "no" ; then
14527 echo "*** The pkg-config script could not be found. Make sure it is"
14528 echo "*** in your path, or set the PKG_CONFIG environment variable"
14529 echo "*** to the full path to pkg-config."
14530 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14532 PKG_CONFIG_MIN_VERSION
=0.9.0
14533 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14534 echo $ac_n "checking for pangox""... $ac_c" 1>&6
14535 echo "configure:14536: checking for pangox" >&5
14537 if $PKG_CONFIG --exists "pangox" ; then
14538 echo "$ac_t""yes" 1>&6
14541 echo $ac_n "checking PANGOX_CFLAGS""... $ac_c" 1>&6
14542 echo "configure:14543: checking PANGOX_CFLAGS" >&5
14543 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
14544 echo "$ac_t""$PANGOX_CFLAGS" 1>&6
14546 echo $ac_n "checking PANGOX_LIBS""... $ac_c" 1>&6
14547 echo "configure:14548: checking PANGOX_LIBS" >&5
14548 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
14549 echo "$ac_t""$PANGOX_LIBS" 1>&6
14553 ## If we have a custom action on failure, don't print errors, but
14554 ## do set a variable so people can do so.
14555 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
14562 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14563 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14567 if test $succeeded = yes; then
14569 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
14570 LIBS
="$LIBS $PANGOX_LIBS"
14574 { echo "configure: error: pangox library not found, library cannot be compiled in Unicode mode" 1>&2; exit 1; }
14582 if test -z "$PKG_CONFIG"; then
14583 # Extract the first word of "pkg-config", so it can be a program name with args.
14584 set dummy pkg
-config; ac_word
=$2
14585 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14586 echo "configure:14587: checking for $ac_word" >&5
14587 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14588 echo $ac_n "(cached) $ac_c" 1>&6
14590 case "$PKG_CONFIG" in
14592 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14595 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14598 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14600 for ac_dir
in $ac_dummy; do
14601 test -z "$ac_dir" && ac_dir
=.
14602 if test -f $ac_dir/$ac_word; then
14603 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14608 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14612 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14613 if test -n "$PKG_CONFIG"; then
14614 echo "$ac_t""$PKG_CONFIG" 1>&6
14616 echo "$ac_t""no" 1>&6
14621 if test "$PKG_CONFIG" = "no" ; then
14622 echo "*** The pkg-config script could not be found. Make sure it is"
14623 echo "*** in your path, or set the PKG_CONFIG environment variable"
14624 echo "*** to the full path to pkg-config."
14625 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14627 PKG_CONFIG_MIN_VERSION
=0.9.0
14628 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14629 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
14630 echo "configure:14631: checking for pangoft2" >&5
14632 if $PKG_CONFIG --exists "pangoft2" ; then
14633 echo "$ac_t""yes" 1>&6
14636 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
14637 echo "configure:14638: checking PANGOFT2_CFLAGS" >&5
14638 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
14639 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
14641 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
14642 echo "configure:14643: checking PANGOFT2_LIBS" >&5
14643 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
14644 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
14648 ## If we have a custom action on failure, don't print errors, but
14649 ## do set a variable so people can do so.
14650 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
14657 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14658 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14662 if test $succeeded = yes; then
14664 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
14665 LIBS
="$LIBS $PANGOFT2_LIBS"
14669 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
14670 wxUSE_PRINTING_ARCHITECTURE
="no"
14678 if test -z "$PKG_CONFIG"; then
14679 # Extract the first word of "pkg-config", so it can be a program name with args.
14680 set dummy pkg
-config; ac_word
=$2
14681 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14682 echo "configure:14683: checking for $ac_word" >&5
14683 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14684 echo $ac_n "(cached) $ac_c" 1>&6
14686 case "$PKG_CONFIG" in
14688 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14691 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14694 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14696 for ac_dir
in $ac_dummy; do
14697 test -z "$ac_dir" && ac_dir
=.
14698 if test -f $ac_dir/$ac_word; then
14699 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14704 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14708 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14709 if test -n "$PKG_CONFIG"; then
14710 echo "$ac_t""$PKG_CONFIG" 1>&6
14712 echo "$ac_t""no" 1>&6
14717 if test "$PKG_CONFIG" = "no" ; then
14718 echo "*** The pkg-config script could not be found. Make sure it is"
14719 echo "*** in your path, or set the PKG_CONFIG environment variable"
14720 echo "*** to the full path to pkg-config."
14721 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14723 PKG_CONFIG_MIN_VERSION
=0.9.0
14724 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14725 echo $ac_n "checking for pangoxft""... $ac_c" 1>&6
14726 echo "configure:14727: checking for pangoxft" >&5
14728 if $PKG_CONFIG --exists "pangoxft" ; then
14729 echo "$ac_t""yes" 1>&6
14732 echo $ac_n "checking PANGOXFT_CFLAGS""... $ac_c" 1>&6
14733 echo "configure:14734: checking PANGOXFT_CFLAGS" >&5
14734 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
14735 echo "$ac_t""$PANGOXFT_CFLAGS" 1>&6
14737 echo $ac_n "checking PANGOXFT_LIBS""... $ac_c" 1>&6
14738 echo "configure:14739: checking PANGOXFT_LIBS" >&5
14739 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
14740 echo "$ac_t""$PANGOXFT_LIBS" 1>&6
14744 ## If we have a custom action on failure, don't print errors, but
14745 ## do set a variable so people can do so.
14746 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
14753 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14754 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14758 if test $succeeded = yes; then
14760 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
14761 LIBS
="$LIBS $PANGOXFT_LIBS"
14765 echo "configure: warning: pangoxft library not found, library will be compiled without anti-aliasing support" 1>&2
14772 wxUSE_UNIVERSAL
="yes"
14774 if test "$wxUSE_NANOX" = "yes"; then
14775 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
14776 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__NANOX__ -DMWPIXEL_FORMAT=MWPF_TRUECOLOR0888 -DHAVE_FILEIO -DHAVE_BMP_SUPPORT=1 -DHAVE_GIF_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1 -DLINUX=1 -DUNIX=1 -DUSE_EXPOSURE -DSCREEN_HEIGHT=480 -DSCREEN_WIDTH=640 -DSCREEN_DEPTH=4 -DX11=1"
14777 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
14779 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
14782 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
14787 if test "$wxUSE_MOTIF" = 1; then
14788 if test "$no_x" = yes; then
14789 # Not all programs may use this symbol, but it does not hurt to define it.
14790 cat >> confdefs.h
<<\EOF
14791 #define X_DISPLAY_MISSING 1
14794 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14796 if test -n "$x_includes"; then
14797 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14800 # It would also be nice to do this for all -L options, not just this one.
14801 if test -n "$x_libraries"; then
14802 X_LIBS
="$X_LIBS -L$x_libraries"
14803 # For Solaris; some versions of Sun CC require a space after -R and
14804 # others require no space. Words are not sufficient . . . .
14805 case "`(uname -sr) 2>/dev/null`" in
14807 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
14808 echo "configure:14809: checking whether -R must be followed by a space" >&5
14809 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
14810 cat > conftest.
$ac_ext <<EOF
14811 #line 14812 "configure"
14812 #include "confdefs.h"
14818 if { (eval echo configure
:14819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14822 echo "configure: failed program was:" >&5
14823 cat conftest.
$ac_ext >&5
14828 if test $ac_R_nospace = yes; then
14829 echo "$ac_t""no" 1>&6
14830 X_LIBS
="$X_LIBS -R$x_libraries"
14832 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14833 cat > conftest.
$ac_ext <<EOF
14834 #line 14835 "configure"
14835 #include "confdefs.h"
14841 if { (eval echo configure
:14842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14845 echo "configure: failed program was:" >&5
14846 cat conftest.
$ac_ext >&5
14851 if test $ac_R_space = yes; then
14852 echo "$ac_t""yes" 1>&6
14853 X_LIBS
="$X_LIBS -R $x_libraries"
14855 echo "$ac_t""neither works" 1>&6
14858 LIBS
="$ac_xsave_LIBS"
14862 # Check for system-dependent libraries X programs must link with.
14863 # Do this before checking for the system-independent R6 libraries
14864 # (-lICE), since we may need -lsocket or whatever for X linking.
14866 if test "$ISC" = yes; then
14867 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14869 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
14870 # libraries were built with DECnet support. And karl@cs.umb.edu says
14871 # the Alpha needs dnet_stub (dnet does not exist).
14872 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
14873 echo "configure:14874: checking for dnet_ntoa in -ldnet" >&5
14874 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14875 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14876 echo $ac_n "(cached) $ac_c" 1>&6
14878 ac_save_LIBS
="$LIBS"
14879 LIBS
="-ldnet $LIBS"
14880 cat > conftest.
$ac_ext <<EOF
14881 #line 14882 "configure"
14882 #include "confdefs.h"
14883 /* Override any gcc2 internal prototype to avoid an error. */
14884 /* We use char because int might match the return type of a gcc2
14885 builtin and then its argument prototype would still apply. */
14892 if { (eval echo configure
:14893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14894 eval "ac_cv_lib_$ac_lib_var=yes"
14896 echo "configure: failed program was:" >&5
14897 cat conftest.
$ac_ext >&5
14899 eval "ac_cv_lib_$ac_lib_var=no"
14902 LIBS
="$ac_save_LIBS"
14905 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14906 echo "$ac_t""yes" 1>&6
14907 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14909 echo "$ac_t""no" 1>&6
14912 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14913 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
14914 echo "configure:14915: checking for dnet_ntoa in -ldnet_stub" >&5
14915 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14916 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14917 echo $ac_n "(cached) $ac_c" 1>&6
14919 ac_save_LIBS
="$LIBS"
14920 LIBS
="-ldnet_stub $LIBS"
14921 cat > conftest.
$ac_ext <<EOF
14922 #line 14923 "configure"
14923 #include "confdefs.h"
14924 /* Override any gcc2 internal prototype to avoid an error. */
14925 /* We use char because int might match the return type of a gcc2
14926 builtin and then its argument prototype would still apply. */
14933 if { (eval echo configure
:14934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14935 eval "ac_cv_lib_$ac_lib_var=yes"
14937 echo "configure: failed program was:" >&5
14938 cat conftest.
$ac_ext >&5
14940 eval "ac_cv_lib_$ac_lib_var=no"
14943 LIBS
="$ac_save_LIBS"
14946 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14947 echo "$ac_t""yes" 1>&6
14948 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14950 echo "$ac_t""no" 1>&6
14955 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14956 # to get the SysV transport functions.
14957 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
14959 # The nsl library prevents programs from opening the X display
14960 # on Irix 5.2, according to dickey@clark.net.
14961 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
14962 echo "configure:14963: checking for gethostbyname" >&5
14963 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
14964 echo $ac_n "(cached) $ac_c" 1>&6
14966 cat > conftest.
$ac_ext <<EOF
14967 #line 14968 "configure"
14968 #include "confdefs.h"
14969 /* System header to define __stub macros and hopefully few prototypes,
14970 which can conflict with char gethostbyname(); below. */
14971 #include <assert.h>
14972 /* Override any gcc2 internal prototype to avoid an error. */
14973 /* We use char because int might match the return type of a gcc2
14974 builtin and then its argument prototype would still apply. */
14975 char gethostbyname();
14979 /* The GNU C library defines this for functions which it implements
14980 to always fail with ENOSYS. Some functions are actually named
14981 something starting with __ and the normal name is an alias. */
14982 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
14990 if { (eval echo configure
:14991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14992 eval "ac_cv_func_gethostbyname=yes"
14994 echo "configure: failed program was:" >&5
14995 cat conftest.
$ac_ext >&5
14997 eval "ac_cv_func_gethostbyname=no"
15002 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
15003 echo "$ac_t""yes" 1>&6
15006 echo "$ac_t""no" 1>&6
15009 if test $ac_cv_func_gethostbyname = no
; then
15010 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
15011 echo "configure:15012: checking for gethostbyname in -lnsl" >&5
15012 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
15013 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15014 echo $ac_n "(cached) $ac_c" 1>&6
15016 ac_save_LIBS
="$LIBS"
15018 cat > conftest.
$ac_ext <<EOF
15019 #line 15020 "configure"
15020 #include "confdefs.h"
15021 /* Override any gcc2 internal prototype to avoid an error. */
15022 /* We use char because int might match the return type of a gcc2
15023 builtin and then its argument prototype would still apply. */
15024 char gethostbyname();
15030 if { (eval echo configure
:15031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15032 eval "ac_cv_lib_$ac_lib_var=yes"
15034 echo "configure: failed program was:" >&5
15035 cat conftest.
$ac_ext >&5
15037 eval "ac_cv_lib_$ac_lib_var=no"
15040 LIBS
="$ac_save_LIBS"
15043 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15044 echo "$ac_t""yes" 1>&6
15045 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
15047 echo "$ac_t""no" 1>&6
15052 # lieder@skyler.mavd.honeywell.com says without -lsocket,
15053 # socket/setsockopt and other routines are undefined under SCO ODT
15054 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
15055 # on later versions), says simon@lia.di.epfl.ch: it contains
15056 # gethostby* variants that don't use the nameserver (or something).
15057 # -lsocket must be given before -lnsl if both are needed.
15058 # We assume that if connect needs -lnsl, so does gethostbyname.
15059 echo $ac_n "checking for connect""... $ac_c" 1>&6
15060 echo "configure:15061: checking for connect" >&5
15061 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
15062 echo $ac_n "(cached) $ac_c" 1>&6
15064 cat > conftest.
$ac_ext <<EOF
15065 #line 15066 "configure"
15066 #include "confdefs.h"
15067 /* System header to define __stub macros and hopefully few prototypes,
15068 which can conflict with char connect(); below. */
15069 #include <assert.h>
15070 /* Override any gcc2 internal prototype to avoid an error. */
15071 /* We use char because int might match the return type of a gcc2
15072 builtin and then its argument prototype would still apply. */
15077 /* The GNU C library defines this for functions which it implements
15078 to always fail with ENOSYS. Some functions are actually named
15079 something starting with __ and the normal name is an alias. */
15080 #if defined (__stub_connect) || defined (__stub___connect)
15088 if { (eval echo configure
:15089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15090 eval "ac_cv_func_connect=yes"
15092 echo "configure: failed program was:" >&5
15093 cat conftest.
$ac_ext >&5
15095 eval "ac_cv_func_connect=no"
15100 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
15101 echo "$ac_t""yes" 1>&6
15104 echo "$ac_t""no" 1>&6
15107 if test $ac_cv_func_connect = no
; then
15108 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
15109 echo "configure:15110: checking for connect in -lsocket" >&5
15110 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
15111 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15112 echo $ac_n "(cached) $ac_c" 1>&6
15114 ac_save_LIBS
="$LIBS"
15115 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
15116 cat > conftest.
$ac_ext <<EOF
15117 #line 15118 "configure"
15118 #include "confdefs.h"
15119 /* Override any gcc2 internal prototype to avoid an error. */
15120 /* We use char because int might match the return type of a gcc2
15121 builtin and then its argument prototype would still apply. */
15128 if { (eval echo configure
:15129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15130 eval "ac_cv_lib_$ac_lib_var=yes"
15132 echo "configure: failed program was:" >&5
15133 cat conftest.
$ac_ext >&5
15135 eval "ac_cv_lib_$ac_lib_var=no"
15138 LIBS
="$ac_save_LIBS"
15141 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15142 echo "$ac_t""yes" 1>&6
15143 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
15145 echo "$ac_t""no" 1>&6
15150 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
15151 echo $ac_n "checking for remove""... $ac_c" 1>&6
15152 echo "configure:15153: checking for remove" >&5
15153 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
15154 echo $ac_n "(cached) $ac_c" 1>&6
15156 cat > conftest.
$ac_ext <<EOF
15157 #line 15158 "configure"
15158 #include "confdefs.h"
15159 /* System header to define __stub macros and hopefully few prototypes,
15160 which can conflict with char remove(); below. */
15161 #include <assert.h>
15162 /* Override any gcc2 internal prototype to avoid an error. */
15163 /* We use char because int might match the return type of a gcc2
15164 builtin and then its argument prototype would still apply. */
15169 /* The GNU C library defines this for functions which it implements
15170 to always fail with ENOSYS. Some functions are actually named
15171 something starting with __ and the normal name is an alias. */
15172 #if defined (__stub_remove) || defined (__stub___remove)
15180 if { (eval echo configure
:15181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15182 eval "ac_cv_func_remove=yes"
15184 echo "configure: failed program was:" >&5
15185 cat conftest.
$ac_ext >&5
15187 eval "ac_cv_func_remove=no"
15192 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
15193 echo "$ac_t""yes" 1>&6
15196 echo "$ac_t""no" 1>&6
15199 if test $ac_cv_func_remove = no
; then
15200 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
15201 echo "configure:15202: checking for remove in -lposix" >&5
15202 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
15203 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15204 echo $ac_n "(cached) $ac_c" 1>&6
15206 ac_save_LIBS
="$LIBS"
15207 LIBS
="-lposix $LIBS"
15208 cat > conftest.
$ac_ext <<EOF
15209 #line 15210 "configure"
15210 #include "confdefs.h"
15211 /* Override any gcc2 internal prototype to avoid an error. */
15212 /* We use char because int might match the return type of a gcc2
15213 builtin and then its argument prototype would still apply. */
15220 if { (eval echo configure
:15221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15222 eval "ac_cv_lib_$ac_lib_var=yes"
15224 echo "configure: failed program was:" >&5
15225 cat conftest.
$ac_ext >&5
15227 eval "ac_cv_lib_$ac_lib_var=no"
15230 LIBS
="$ac_save_LIBS"
15233 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15234 echo "$ac_t""yes" 1>&6
15235 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
15237 echo "$ac_t""no" 1>&6
15242 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
15243 echo $ac_n "checking for shmat""... $ac_c" 1>&6
15244 echo "configure:15245: checking for shmat" >&5
15245 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
15246 echo $ac_n "(cached) $ac_c" 1>&6
15248 cat > conftest.
$ac_ext <<EOF
15249 #line 15250 "configure"
15250 #include "confdefs.h"
15251 /* System header to define __stub macros and hopefully few prototypes,
15252 which can conflict with char shmat(); below. */
15253 #include <assert.h>
15254 /* Override any gcc2 internal prototype to avoid an error. */
15255 /* We use char because int might match the return type of a gcc2
15256 builtin and then its argument prototype would still apply. */
15261 /* The GNU C library defines this for functions which it implements
15262 to always fail with ENOSYS. Some functions are actually named
15263 something starting with __ and the normal name is an alias. */
15264 #if defined (__stub_shmat) || defined (__stub___shmat)
15272 if { (eval echo configure
:15273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15274 eval "ac_cv_func_shmat=yes"
15276 echo "configure: failed program was:" >&5
15277 cat conftest.
$ac_ext >&5
15279 eval "ac_cv_func_shmat=no"
15284 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
15285 echo "$ac_t""yes" 1>&6
15288 echo "$ac_t""no" 1>&6
15291 if test $ac_cv_func_shmat = no
; then
15292 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
15293 echo "configure:15294: checking for shmat in -lipc" >&5
15294 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
15295 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15296 echo $ac_n "(cached) $ac_c" 1>&6
15298 ac_save_LIBS
="$LIBS"
15300 cat > conftest.
$ac_ext <<EOF
15301 #line 15302 "configure"
15302 #include "confdefs.h"
15303 /* Override any gcc2 internal prototype to avoid an error. */
15304 /* We use char because int might match the return type of a gcc2
15305 builtin and then its argument prototype would still apply. */
15312 if { (eval echo configure
:15313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15314 eval "ac_cv_lib_$ac_lib_var=yes"
15316 echo "configure: failed program was:" >&5
15317 cat conftest.
$ac_ext >&5
15319 eval "ac_cv_lib_$ac_lib_var=no"
15322 LIBS
="$ac_save_LIBS"
15325 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15326 echo "$ac_t""yes" 1>&6
15327 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
15329 echo "$ac_t""no" 1>&6
15335 # Check for libraries that X11R6 Xt/Xaw programs need.
15336 ac_save_LDFLAGS
="$LDFLAGS"
15337 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
15338 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
15339 # check for ICE first), but we must link in the order -lSM -lICE or
15340 # we get undefined symbols. So assume we have SM if we have ICE.
15341 # These have to be linked with before -lX11, unlike the other
15342 # libraries we check for below, so use a different variable.
15343 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
15344 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
15345 echo "configure:15346: checking for IceConnectionNumber in -lICE" >&5
15346 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
15347 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15348 echo $ac_n "(cached) $ac_c" 1>&6
15350 ac_save_LIBS
="$LIBS"
15351 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
15352 cat > conftest.
$ac_ext <<EOF
15353 #line 15354 "configure"
15354 #include "confdefs.h"
15355 /* Override any gcc2 internal prototype to avoid an error. */
15356 /* We use char because int might match the return type of a gcc2
15357 builtin and then its argument prototype would still apply. */
15358 char IceConnectionNumber();
15361 IceConnectionNumber()
15364 if { (eval echo configure
:15365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15366 eval "ac_cv_lib_$ac_lib_var=yes"
15368 echo "configure: failed program was:" >&5
15369 cat conftest.
$ac_ext >&5
15371 eval "ac_cv_lib_$ac_lib_var=no"
15374 LIBS
="$ac_save_LIBS"
15377 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15378 echo "$ac_t""yes" 1>&6
15379 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
15381 echo "$ac_t""no" 1>&6
15384 LDFLAGS
="$ac_save_LDFLAGS"
15389 if test "$no_x" = "yes"; then
15390 { echo "configure: error: X11 not found" 1>&2; exit 1; }
15393 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
15394 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
15395 AFMINSTALL
=afminstall
15396 COMPILED_X_PROGRAM
=0
15398 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
15399 echo "configure:15400: checking for Motif/Lesstif headers" >&5
15402 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
15404 if test -f "$ac_dir/Xm/Xm.h"; then
15405 ac_find_includes
=$ac_dir
15410 if test "$ac_find_includes" != "" ; then
15411 echo "$ac_t""found in $ac_find_includes" 1>&6
15413 if test "x$ac_find_includes" = "x/usr/include"; then
15414 ac_path_to_include
=""
15416 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
15418 if test $result = 0; then
15419 ac_path_to_include
=""
15421 ac_path_to_include
=" -I$ac_find_includes"
15425 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
15427 cat > conftest.
$ac_ext <<EOF
15428 #line 15429 "configure"
15429 #include "confdefs.h"
15436 version = xmUseVersion;
15440 if { (eval echo configure
:15441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15443 echo "$ac_t""found in default search path" 1>&6
15444 COMPILED_X_PROGRAM
=1
15447 echo "configure: failed program was:" >&5
15448 cat conftest.
$ac_ext >&5
15451 echo "$ac_t""no" 1>&6
15452 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
15459 if test "$COMPILED_X_PROGRAM" = 0; then
15460 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
15461 echo "configure:15462: checking for Motif/Lesstif library" >&5
15464 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15466 for ac_extension
in a so sl dylib
; do
15467 if test -f "$ac_dir/libXm.$ac_extension"; then
15468 ac_find_libraries
=$ac_dir
15474 if test "$ac_find_libraries" != "" ; then
15475 echo "$ac_t""found at $ac_find_libraries" 1>&6
15478 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15480 if test $result = 0; then
15483 ac_path_to_link
=" -L$ac_find_libraries"
15486 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15488 save_CFLAGS
=$CFLAGS
15489 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15491 cat > conftest.
$ac_ext <<EOF
15492 #line 15493 "configure"
15493 #include "confdefs.h"
15500 version = xmUseVersion;
15504 if { (eval echo configure
:15505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15507 echo "$ac_t""found in default search path" 1>&6
15508 COMPILED_X_PROGRAM
=1
15511 echo "configure: failed program was:" >&5
15512 cat conftest.
$ac_ext >&5
15515 echo "$ac_t""no" 1>&6
15516 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
15522 CFLAGS
=$save_CFLAGS
15527 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
15528 echo "configure:15529: checking for Xpm library" >&5
15531 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15533 for ac_extension
in a so sl dylib
; do
15534 if test -f "$ac_dir/libXpm.$ac_extension"; then
15535 ac_find_libraries
=$ac_dir
15541 if test "$ac_find_libraries" != "" ; then
15543 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15545 if test $result = 0; then
15548 ac_path_to_link
=" -L$ac_find_libraries"
15551 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15554 cat >> confdefs.h
<<\EOF
15555 #define wxHAVE_LIB_XPM 1
15558 echo "$ac_t""found at $ac_find_libraries" 1>&6
15560 save_CFLAGS
=$CFLAGS
15561 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15563 cat > conftest.
$ac_ext <<EOF
15564 #line 15565 "configure"
15565 #include "confdefs.h"
15567 #include <X11/xpm.h>
15572 version = XpmLibraryVersion();
15576 if { (eval echo configure
:15577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15580 cat >> confdefs.h
<<\EOF
15581 #define wxHAVE_LIB_XPM 1
15584 echo "$ac_t""found in default search path" 1>&6
15585 COMPILED_X_PROGRAM
=0
15588 echo "configure: failed program was:" >&5
15589 cat conftest.
$ac_ext >&5
15592 echo "$ac_t""no" 1>&6
15593 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
15599 CFLAGS
=$save_CFLAGS
15602 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
15603 echo "configure:15604: checking if we need -lXp and/or -lSM -lICE" >&5
15607 for libp
in "" " -lXp"; do
15608 if test "$libs_found" = "0"; then
15609 for libsm_ice
in " -lSM -lICE"; do
15610 if test "$libs_found" = "0"; then
15612 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
15613 save_CFLAGS
=$CFLAGS
15614 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15616 cat > conftest.
$ac_ext <<EOF
15617 #line 15618 "configure"
15618 #include "confdefs.h"
15621 #include <Xm/List.h>
15625 XmString string = NULL;
15628 XmListAddItem(w, string, position);
15632 if { (eval echo configure
:15633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15636 libsm_ice_link
="$libsm_ice"
15637 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
15641 echo "configure: failed program was:" >&5
15642 cat conftest.
$ac_ext >&5
15650 CFLAGS
=$save_CFLAGS
15656 if test "$libs_found" = "0"; then
15657 echo "$ac_t""can't find the right libraries" 1>&6
15658 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
15661 save_CFLAGS
=$CFLAGS
15662 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15663 echo $ac_n "checking for Motif 2""... $ac_c" 1>&6
15664 echo "configure:15665: checking for Motif 2" >&5
15665 cat > conftest.
$ac_ext <<EOF
15666 #line 15667 "configure"
15667 #include "confdefs.h"
15673 #if XmVersion < 2000
15674 #error "Not Motif 2"
15679 if { (eval echo configure
:15680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15682 cat >> confdefs.h
<<\EOF
15683 #define __WXMOTIF20__ 1
15686 echo "$ac_t""found" 1>&6
15689 echo "configure: failed program was:" >&5
15690 cat conftest.
$ac_ext >&5
15693 cat >> confdefs.h
<<\EOF
15694 #define __WXMOTIF20__ 0
15697 echo "$ac_t""not found" 1>&6
15701 CFLAGS
=$save_CFLAGS
15703 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
15704 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
15709 if test "$wxUSE_MAC" = 1; then
15710 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
15712 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
15717 if test "$wxUSE_PM" = 1; then
15720 echo "configure: warning: OS/2 PM requires old resource format, re-enabled" 1>&2
15721 wxUSE_PROLOGIO
="yes"
15722 wxUSE_RESOURCES
="yes"
15723 echo "configure: warning: OS/2 threads are not yet supported... disabled" 1>&2
15727 if test "$TOOLKIT" = "PM" ; then
15730 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
15733 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
15735 if test "$wxUSE_UNIVERSAL" = "yes"; then
15736 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
15738 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
15739 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
15741 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
15742 if test "$wxUSE_X11" = 1; then
15743 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
15745 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
15747 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
15750 ALL_OBJECTS
="\$(GUIOBJS)"
15751 ALL_SOURCES
="\$(ALL_SOURCES)"
15752 ALL_HEADERS
="\$(ALL_HEADERS)"
15755 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
15757 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
15758 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
15761 if test "$wxUSE_HTML" = "yes"; then
15762 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
15765 if test "$wxUSE_LIBJPEG" = "builtin" ; then
15766 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
15768 if test "$wxUSE_LIBTIFF" = "builtin" ; then
15769 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
15771 if test "$wxUSE_LIBPNG" = "builtin" ; then
15772 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
15775 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
15776 DISTDIR
="wx\$(TOOLKIT)"
15782 if test "$USE_WIN32" = 1 ; then
15783 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
15784 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
15788 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
15789 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
15792 ALL_SOURCES
="\$(ALL_SOURCES)"
15793 ALL_HEADERS
="\$(ALL_HEADERS)"
15795 PORT_FILES
="\${top_srcdir}/src/files.lst"
15797 GUIDIST
="BASE_DIST"
15802 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
15803 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
15806 if test "$wxUSE_REGEX" = "builtin" ; then
15807 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
15809 if test "$wxUSE_ZLIB" = "builtin" ; then
15810 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
15814 if test "$wxUSE_OPENGL" = "yes"; then
15815 if test "$wxUSE_MAC" = 1; then
15816 OPENGL_LIBS
="-framework OpenGL -framework AGL"
15817 elif test "$wxUSE_MSW" = 1; then
15818 OPENGL_LIBS
="-lopengl32 -lglu32"
15820 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15821 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15822 echo "configure:15823: checking for GL/gl.h" >&5
15823 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15824 echo $ac_n "(cached) $ac_c" 1>&6
15826 cat > conftest.
$ac_ext <<EOF
15827 #line 15828 "configure"
15828 #include "confdefs.h"
15831 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15832 { (eval echo configure
:15833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15833 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15834 if test -z "$ac_err"; then
15836 eval "ac_cv_header_$ac_safe=yes"
15839 echo "configure: failed program was:" >&5
15840 cat conftest.
$ac_ext >&5
15842 eval "ac_cv_header_$ac_safe=no"
15846 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15847 echo "$ac_t""yes" 1>&6
15849 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
15850 echo "configure:15851: checking for -lGL" >&5
15853 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15855 for ac_extension
in a so sl dylib
; do
15856 if test -f "$ac_dir/libGL.$ac_extension"; then
15857 ac_find_libraries
=$ac_dir
15863 if test "$ac_find_libraries" != "" ; then
15865 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15867 if test $result = 0; then
15870 ac_path_to_link
=" -L$ac_find_libraries"
15873 if test "$ac_path_to_link" = " -L/usr/lib" ; then
15874 LDFLAGS_GL
="$LDFLAGS"
15876 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15878 OPENGL_LIBS
="-lGL -lGLU"
15879 echo "$ac_t""yes" 1>&6
15881 echo "$ac_t""no" 1>&6
15882 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
15883 echo "configure:15884: checking for -lMesaGL" >&5
15886 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15888 for ac_extension
in a so sl dylib
; do
15889 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
15890 ac_find_libraries
=$ac_dir
15896 if test "$ac_find_libraries" != "" ; then
15898 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15900 if test $result = 0; then
15903 ac_path_to_link
=" -L$ac_find_libraries"
15906 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15907 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
15908 echo "$ac_t""yes" 1>&6
15910 echo "$ac_t""no" 1>&6
15915 echo "$ac_t""no" 1>&6
15919 if test "x$OPENGL_LIBS" = "x"; then
15920 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
15924 if test "$wxUSE_OPENGL" = "yes"; then
15925 cat >> confdefs.h
<<\EOF
15926 #define wxUSE_OPENGL 1
15929 cat >> confdefs.h
<<\EOF
15930 #define wxUSE_GLCANVAS 1
15933 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15937 if test -z "$TOOLKIT_VPATH" ; then
15938 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
15941 if test -n "$TOOLKIT" ; then
15942 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
15945 lib_unicode_suffix
=
15946 if test "$wxUSE_UNICODE" = "yes"; then
15947 lib_unicode_suffix
=u
15951 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
15955 WX_VERSION_TAG
=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
15957 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
15958 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
15960 if test "$cross_compiling" = "yes"; then
15961 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
15962 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
15965 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
15966 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
15967 WX_LIBRARY_BASENAME
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
15969 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15970 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15972 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
15973 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15974 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
15975 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15978 *-*-cygwin* | *-*-mingw32* )
15982 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
15983 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15984 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15985 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
15986 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
15988 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15989 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15995 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
15996 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
15998 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
15999 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16000 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
16001 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16003 if test "$wxUSE_MAC" = 1; then
16004 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
16005 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
16010 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
16011 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
16013 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
16014 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
16016 if test "$wxUSE_OPENGL" = "yes"; then
16017 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
16018 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
16023 if test "$wxUSE_SHARED" = "yes"; then
16025 *-pc-os2_emx | *-pc-os2-emx | \
16028 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
16033 if test "$wxUSE_SHARED" = "yes"; then
16035 if test "$wxUSE_OPENGL" = "yes"; then
16036 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
16037 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
16039 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16040 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
16043 if test "$GCC" = "yes"; then
16049 found_versioning
=no
16052 if test $found_versioning = no
; then
16053 echo $ac_n "checking if the linker accepts --version-script""... $ac_c" 1>&6
16054 echo "configure:16055: checking if the linker accepts --version-script" >&5
16055 if eval "test \"`echo '$''{'wx_cv_version_script'+set}'`\" = set"; then
16056 echo $ac_n "(cached) $ac_c" 1>&6
16059 echo "VER_1 { *; };" >conftest.sym
16060 echo "int main() { return 0; }" >conftest.cpp
16063 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
16064 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'; { (eval echo configure
:16065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } ; then
16065 if test -s conftest.stderr
; then
16066 wx_cv_version_script
=no
16068 wx_cv_version_script
=yes
16071 wx_cv_version_script
=no
16073 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
16077 echo "$ac_t""$wx_cv_version_script" 1>&6
16078 if test $wx_cv_version_script = yes ; then
16079 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)/version-script"
16084 SHARED_LD
="${CXX} -shared -o"
16088 if test "$GCC" = "yes"; then
16089 SHARED_LD
="${CXX} -shared ${PIC_FLAG} -o"
16091 LDFLAGS
="$LDFLAGS -L/usr/lib"
16093 SHARED_LD
="${CXX} -b -o"
16097 if test "$wxUSE_OPENGL" = "yes"; then
16098 WX_ALL_INSTALLED
="preinstall_gl"
16099 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
16101 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16106 if test "$GCC" != "yes"; then
16107 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
16108 echo "configure:16109: checking for Intel compiler" >&5
16109 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
16110 echo $ac_n "(cached) $ac_c" 1>&6
16113 cat > conftest.
$ac_ext <<EOF
16114 #line 16115 "configure"
16115 #include "confdefs.h"
16119 #ifndef __INTEL_COMPILER
16125 if { (eval echo configure
:16126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16129 echo "configure: failed program was:" >&5
16130 cat conftest.
$ac_ext >&5
16139 echo "$ac_t""$wx_cv_prog_icc" 1>&6
16140 if test "$wx_cv_prog_icc" = "yes"; then
16145 if test "$wxUSE_SONAME" = "yes" ; then
16146 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
16147 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
16148 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
16153 if test "$GCC" = yes ; then
16154 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
16156 SHARED_LD
="${CXX} -G -o"
16158 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
16159 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
16164 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
16165 CFLAGS
="$CFLAGS -fno-common"
16166 CXXFLAGS
="$CXXFLAGS -fno-common"
16167 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
16168 PIC_FLAG
="-dynamic -fPIC"
16169 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1}"
16170 SONAME_FLAGS_GL
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1_GL}"
16174 if test "$GCC" != "yes"; then
16175 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
16176 set dummy makeC
++SharedLib
; ac_word
=$2
16177 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16178 echo "configure:16179: checking for $ac_word" >&5
16179 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
16180 echo $ac_n "(cached) $ac_c" 1>&6
16182 if test -n "$AIX_CXX_LD"; then
16183 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
16185 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16187 for ac_dir
in $ac_dummy; do
16188 test -z "$ac_dir" && ac_dir
=.
16189 if test -f $ac_dir/$ac_word; then
16190 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
16195 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
16198 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
16199 if test -n "$AIX_CXX_LD"; then
16200 echo "$ac_t""$AIX_CXX_LD" 1>&6
16202 echo "$ac_t""no" 1>&6
16206 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
16210 *-*-cygwin* | *-*-mingw32* )
16211 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
16213 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
16214 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
16216 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
16218 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16219 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16221 if test "$wxUSE_OPENGL" = "yes"; then
16222 LIBS
="${LIBS} ${OPENGL_LIBS}"
16227 SHARED_LD
="${LD} -shared -o"
16231 if test "$GCC" != "yes"; then
16236 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
16244 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
16247 if test "x$WX_TARGET_LIBRARY" = "x"; then
16248 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
16249 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
16252 WX_TARGET_LIBRARY_TYPE
="so"
16253 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
16256 if test "$wxUSE_SHARED" = "no"; then
16258 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
16259 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16262 if test "$wxUSE_MAC" = 1; then
16263 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16266 if test "$wxUSE_OPENGL" = "yes"; then
16267 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
16268 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
16270 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
16273 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
16274 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
16276 WX_TARGET_LIBRARY_TYPE
="a"
16277 INSTALL_LIBRARY
='$(INSTALL_DATA)'
16287 if test "$wxUSE_MAC" = 1; then
16288 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
16289 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
16290 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
16291 # Extract the first word of "Rez", so it can be a program name with args.
16292 set dummy Rez
; ac_word
=$2
16293 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16294 echo "configure:16295: checking for $ac_word" >&5
16295 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16296 echo $ac_n "(cached) $ac_c" 1>&6
16298 if test -n "$RESCOMP"; then
16299 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
16301 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16303 for ac_dir
in $ac_dummy; do
16304 test -z "$ac_dir" && ac_dir
=.
16305 if test -f $ac_dir/$ac_word; then
16306 ac_cv_prog_RESCOMP
="Rez"
16311 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
16314 RESCOMP
="$ac_cv_prog_RESCOMP"
16315 if test -n "$RESCOMP"; then
16316 echo "$ac_t""$RESCOMP" 1>&6
16318 echo "$ac_t""no" 1>&6
16321 # Extract the first word of "DeRez", so it can be a program name with args.
16322 set dummy DeRez
; ac_word
=$2
16323 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16324 echo "configure:16325: checking for $ac_word" >&5
16325 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16326 echo $ac_n "(cached) $ac_c" 1>&6
16328 if test -n "$DEREZ"; then
16329 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
16331 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16333 for ac_dir
in $ac_dummy; do
16334 test -z "$ac_dir" && ac_dir
=.
16335 if test -f $ac_dir/$ac_word; then
16336 ac_cv_prog_DEREZ
="DeRez"
16341 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
16344 DEREZ
="$ac_cv_prog_DEREZ"
16345 if test -n "$DEREZ"; then
16346 echo "$ac_t""$DEREZ" 1>&6
16348 echo "$ac_t""no" 1>&6
16351 # Extract the first word of "SetFile", so it can be a program name with args.
16352 set dummy SetFile
; ac_word
=$2
16353 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16354 echo "configure:16355: checking for $ac_word" >&5
16355 if eval "test \"`echo '$''{'ac_cv_prog_SETFILE'+set}'`\" = set"; then
16356 echo $ac_n "(cached) $ac_c" 1>&6
16358 if test -n "$SETFILE"; then
16359 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
16361 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16363 for ac_dir
in $ac_dummy; do
16364 test -z "$ac_dir" && ac_dir
=.
16365 if test -f $ac_dir/$ac_word; then
16366 ac_cv_prog_SETFILE
="SetFile"
16371 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
16374 SETFILE
="$ac_cv_prog_SETFILE"
16375 if test -n "$SETFILE"; then
16376 echo "$ac_t""$SETFILE" 1>&6
16378 echo "$ac_t""no" 1>&6
16381 MACOSX_BUNDLE
="bundle"
16382 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
16383 MACSETFILE
="\$(SETFILE)"
16384 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}} -o"
16386 if test "$wxUSE_PM" = 1; then
16387 MACRESCOMP
="emxbind -ep"
16392 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
16393 echo "configure:16394: checking for ANSI C header files" >&5
16394 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
16395 echo $ac_n "(cached) $ac_c" 1>&6
16397 cat > conftest.
$ac_ext <<EOF
16398 #line 16399 "configure"
16399 #include "confdefs.h"
16400 #include <stdlib.h>
16401 #include <stdarg.h>
16402 #include <string.h>
16405 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16406 { (eval echo configure
:16407: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16407 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16408 if test -z "$ac_err"; then
16410 ac_cv_header_stdc
=yes
16413 echo "configure: failed program was:" >&5
16414 cat conftest.
$ac_ext >&5
16416 ac_cv_header_stdc
=no
16420 if test $ac_cv_header_stdc = yes; then
16421 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16422 cat > conftest.
$ac_ext <<EOF
16423 #line 16424 "configure"
16424 #include "confdefs.h"
16425 #include <string.h>
16427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16428 egrep "memchr" >/dev
/null
2>&1; then
16432 ac_cv_header_stdc
=no
16438 if test $ac_cv_header_stdc = yes; then
16439 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16440 cat > conftest.
$ac_ext <<EOF
16441 #line 16442 "configure"
16442 #include "confdefs.h"
16443 #include <stdlib.h>
16445 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16446 egrep "free" >/dev
/null
2>&1; then
16450 ac_cv_header_stdc
=no
16456 if test $ac_cv_header_stdc = yes; then
16457 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16458 if test "$cross_compiling" = yes; then
16461 cat > conftest.
$ac_ext <<EOF
16462 #line 16463 "configure"
16463 #include "confdefs.h"
16465 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16466 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16467 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16468 int main () { int i; for (i = 0; i < 256; i++)
16469 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
16473 if { (eval echo configure
:16474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
16477 echo "configure: failed program was:" >&5
16478 cat conftest.
$ac_ext >&5
16480 ac_cv_header_stdc
=no
16488 echo "$ac_t""$ac_cv_header_stdc" 1>&6
16489 if test $ac_cv_header_stdc = yes; then
16490 cat >> confdefs.h
<<\EOF
16491 #define STDC_HEADERS 1
16496 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
16497 echo "configure:16498: checking for mode_t" >&5
16498 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
16499 echo $ac_n "(cached) $ac_c" 1>&6
16501 cat > conftest.
$ac_ext <<EOF
16502 #line 16503 "configure"
16503 #include "confdefs.h"
16504 #include <sys/types.h>
16506 #include <stdlib.h>
16507 #include <stddef.h>
16510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16511 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16513 ac_cv_type_mode_t
=yes
16516 ac_cv_type_mode_t
=no
16521 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
16522 if test $ac_cv_type_mode_t = no
; then
16523 cat >> confdefs.h
<<\EOF
16529 echo $ac_n "checking for off_t""... $ac_c" 1>&6
16530 echo "configure:16531: checking for off_t" >&5
16531 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
16532 echo $ac_n "(cached) $ac_c" 1>&6
16534 cat > conftest.
$ac_ext <<EOF
16535 #line 16536 "configure"
16536 #include "confdefs.h"
16537 #include <sys/types.h>
16539 #include <stdlib.h>
16540 #include <stddef.h>
16543 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16544 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16546 ac_cv_type_off_t
=yes
16549 ac_cv_type_off_t
=no
16554 echo "$ac_t""$ac_cv_type_off_t" 1>&6
16555 if test $ac_cv_type_off_t = no
; then
16556 cat >> confdefs.h
<<\EOF
16562 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
16563 echo "configure:16564: checking for pid_t" >&5
16564 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
16565 echo $ac_n "(cached) $ac_c" 1>&6
16567 cat > conftest.
$ac_ext <<EOF
16568 #line 16569 "configure"
16569 #include "confdefs.h"
16570 #include <sys/types.h>
16572 #include <stdlib.h>
16573 #include <stddef.h>
16576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16577 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16579 ac_cv_type_pid_t
=yes
16582 ac_cv_type_pid_t
=no
16587 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
16588 if test $ac_cv_type_pid_t = no
; then
16589 cat >> confdefs.h
<<\EOF
16595 echo $ac_n "checking for size_t""... $ac_c" 1>&6
16596 echo "configure:16597: checking for size_t" >&5
16597 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
16598 echo $ac_n "(cached) $ac_c" 1>&6
16600 cat > conftest.
$ac_ext <<EOF
16601 #line 16602 "configure"
16602 #include "confdefs.h"
16603 #include <sys/types.h>
16605 #include <stdlib.h>
16606 #include <stddef.h>
16609 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16610 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16612 ac_cv_type_size_t
=yes
16615 ac_cv_type_size_t
=no
16620 echo "$ac_t""$ac_cv_type_size_t" 1>&6
16621 if test $ac_cv_type_size_t = no
; then
16622 cat >> confdefs.h
<<\EOF
16623 #define size_t unsigned
16628 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
16629 echo "configure:16630: checking for uid_t in sys/types.h" >&5
16630 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
16631 echo $ac_n "(cached) $ac_c" 1>&6
16633 cat > conftest.
$ac_ext <<EOF
16634 #line 16635 "configure"
16635 #include "confdefs.h"
16636 #include <sys/types.h>
16638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16639 egrep "uid_t" >/dev
/null
2>&1; then
16641 ac_cv_type_uid_t
=yes
16644 ac_cv_type_uid_t
=no
16650 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
16651 if test $ac_cv_type_uid_t = no
; then
16652 cat >> confdefs.h
<<\EOF
16656 cat >> confdefs.h
<<\EOF
16665 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16666 ac_cpp
='$CXXCPP $CPPFLAGS'
16667 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16668 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16669 cross_compiling
=$ac_cv_prog_cxx_cross
16671 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
16672 echo "configure:16673: checking if size_t is unsigned int" >&5
16673 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
16674 echo $ac_n "(cached) $ac_c" 1>&6
16676 cat > conftest.
$ac_ext <<EOF
16677 #line 16678 "configure"
16678 #include "confdefs.h"
16679 #include <stddef.h>
16684 struct Foo { void foo(size_t); void foo(unsigned int); };
16690 if { (eval echo configure
:16691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16692 wx_cv_size_t_is_uint
=no
16694 echo "configure: failed program was:" >&5
16695 cat conftest.
$ac_ext >&5
16697 wx_cv_size_t_is_uint
=yes
16704 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
16706 if test "$wx_cv_size_t_is_uint" = "yes"; then
16707 cat >> confdefs.h
<<\EOF
16708 #define wxSIZE_T_IS_UINT 1
16712 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
16713 echo "configure:16714: checking if size_t is unsigned long" >&5
16714 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
16715 echo $ac_n "(cached) $ac_c" 1>&6
16717 cat > conftest.
$ac_ext <<EOF
16718 #line 16719 "configure"
16719 #include "confdefs.h"
16720 #include <stddef.h>
16725 struct Foo { void foo(size_t); void foo(unsigned long); };
16731 if { (eval echo configure
:16732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16733 wx_cv_size_t_is_ulong
=no
16735 echo "configure: failed program was:" >&5
16736 cat conftest.
$ac_ext >&5
16738 wx_cv_size_t_is_ulong
=yes
16745 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
16747 if test "$wx_cv_size_t_is_ulong" = "yes"; then
16748 cat >> confdefs.h
<<\EOF
16749 #define wxSIZE_T_IS_ULONG 1
16756 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16757 ac_cpp
='$CPP $CPPFLAGS'
16758 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16759 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16760 cross_compiling
=$ac_cv_prog_cc_cross
16764 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
16765 echo "configure:16766: checking for pw_gecos in struct passwd" >&5
16766 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
16767 echo $ac_n "(cached) $ac_c" 1>&6
16770 cat > conftest.
$ac_ext <<EOF
16771 #line 16772 "configure"
16772 #include "confdefs.h"
16782 if { (eval echo configure
:16783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16785 wx_cv_struct_pw_gecos
=yes
16788 echo "configure: failed program was:" >&5
16789 cat conftest.
$ac_ext >&5
16792 wx_cv_struct_pw_gecos
=no
16801 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
16803 if test "$wx_cv_struct_pw_gecos" = "yes"; then
16804 cat >> confdefs.h
<<\EOF
16805 #define HAVE_PW_GECOS 1
16811 if test "$wx_cv_sizeof_wchar_t" != "0"; then
16812 cat >> confdefs.h
<<\EOF
16813 #define wxUSE_WCHAR_T 1
16819 for ac_func
in wcslen
16821 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16822 echo "configure:16823: checking for $ac_func" >&5
16823 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16824 echo $ac_n "(cached) $ac_c" 1>&6
16826 cat > conftest.
$ac_ext <<EOF
16827 #line 16828 "configure"
16828 #include "confdefs.h"
16829 /* System header to define __stub macros and hopefully few prototypes,
16830 which can conflict with char $ac_func(); below. */
16831 #include <assert.h>
16832 /* Override any gcc2 internal prototype to avoid an error. */
16833 /* We use char because int might match the return type of a gcc2
16834 builtin and then its argument prototype would still apply. */
16839 /* The GNU C library defines this for functions which it implements
16840 to always fail with ENOSYS. Some functions are actually named
16841 something starting with __ and the normal name is an alias. */
16842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16850 if { (eval echo configure
:16851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16852 eval "ac_cv_func_$ac_func=yes"
16854 echo "configure: failed program was:" >&5
16855 cat conftest.
$ac_ext >&5
16857 eval "ac_cv_func_$ac_func=no"
16862 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16863 echo "$ac_t""yes" 1>&6
16864 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16865 cat >> confdefs.h
<<EOF
16866 #define $ac_tr_func 1
16870 echo "$ac_t""no" 1>&6
16875 if test "$WCSLEN_FOUND" = 0; then
16876 if test "$TOOLKIT" = "MSW"; then
16877 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
16878 echo "configure:16879: checking for wcslen in -lmsvcrt" >&5
16879 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
16880 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16881 echo $ac_n "(cached) $ac_c" 1>&6
16883 ac_save_LIBS
="$LIBS"
16884 LIBS
="-lmsvcrt $LIBS"
16885 cat > conftest.
$ac_ext <<EOF
16886 #line 16887 "configure"
16887 #include "confdefs.h"
16888 /* Override any gcc2 internal prototype to avoid an error. */
16889 /* We use char because int might match the return type of a gcc2
16890 builtin and then its argument prototype would still apply. */
16897 if { (eval echo configure
:16898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16899 eval "ac_cv_lib_$ac_lib_var=yes"
16901 echo "configure: failed program was:" >&5
16902 cat conftest.
$ac_ext >&5
16904 eval "ac_cv_lib_$ac_lib_var=no"
16907 LIBS
="$ac_save_LIBS"
16910 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16911 echo "$ac_t""yes" 1>&6
16914 echo "$ac_t""no" 1>&6
16918 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
16919 echo "configure:16920: checking for wcslen in -lw" >&5
16920 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
16921 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16922 echo $ac_n "(cached) $ac_c" 1>&6
16924 ac_save_LIBS
="$LIBS"
16926 cat > conftest.
$ac_ext <<EOF
16927 #line 16928 "configure"
16928 #include "confdefs.h"
16929 /* Override any gcc2 internal prototype to avoid an error. */
16930 /* We use char because int might match the return type of a gcc2
16931 builtin and then its argument prototype would still apply. */
16938 if { (eval echo configure
:16939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16940 eval "ac_cv_lib_$ac_lib_var=yes"
16942 echo "configure: failed program was:" >&5
16943 cat conftest.
$ac_ext >&5
16945 eval "ac_cv_lib_$ac_lib_var=no"
16948 LIBS
="$ac_save_LIBS"
16951 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16952 echo "$ac_t""yes" 1>&6
16958 echo "$ac_t""no" 1>&6
16964 if test "$WCSLEN_FOUND" = 1; then
16965 cat >> confdefs.h
<<\EOF
16966 #define HAVE_WCSLEN 1
16971 for ac_func
in wcsrtombs
16973 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16974 echo "configure:16975: checking for $ac_func" >&5
16975 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16976 echo $ac_n "(cached) $ac_c" 1>&6
16978 cat > conftest.
$ac_ext <<EOF
16979 #line 16980 "configure"
16980 #include "confdefs.h"
16981 /* System header to define __stub macros and hopefully few prototypes,
16982 which can conflict with char $ac_func(); below. */
16983 #include <assert.h>
16984 /* Override any gcc2 internal prototype to avoid an error. */
16985 /* We use char because int might match the return type of a gcc2
16986 builtin and then its argument prototype would still apply. */
16991 /* The GNU C library defines this for functions which it implements
16992 to always fail with ENOSYS. Some functions are actually named
16993 something starting with __ and the normal name is an alias. */
16994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17002 if { (eval echo configure
:17003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17004 eval "ac_cv_func_$ac_func=yes"
17006 echo "configure: failed program was:" >&5
17007 cat conftest.
$ac_ext >&5
17009 eval "ac_cv_func_$ac_func=no"
17014 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17015 echo "$ac_t""yes" 1>&6
17016 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17017 cat >> confdefs.h
<<EOF
17018 #define $ac_tr_func 1
17022 echo "$ac_t""no" 1>&6
17027 echo "configure: warning: Wide character support is unavailable" 1>&2
17032 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17033 ac_cpp
='$CXXCPP $CPPFLAGS'
17034 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17035 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17036 cross_compiling
=$ac_cv_prog_cxx_cross
17039 for ac_func
in vsnprintf
17041 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17042 echo "configure:17043: checking for $ac_func" >&5
17043 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17044 echo $ac_n "(cached) $ac_c" 1>&6
17046 cat > conftest.
$ac_ext <<EOF
17047 #line 17048 "configure"
17048 #include "confdefs.h"
17049 /* System header to define __stub macros and hopefully few prototypes,
17050 which can conflict with char $ac_func(); below. */
17051 #include <assert.h>
17052 /* Override any gcc2 internal prototype to avoid an error. */
17056 /* We use char because int might match the return type of a gcc2
17057 builtin and then its argument prototype would still apply. */
17062 /* The GNU C library defines this for functions which it implements
17063 to always fail with ENOSYS. Some functions are actually named
17064 something starting with __ and the normal name is an alias. */
17065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17073 if { (eval echo configure
:17074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17075 eval "ac_cv_func_$ac_func=yes"
17077 echo "configure: failed program was:" >&5
17078 cat conftest.
$ac_ext >&5
17080 eval "ac_cv_func_$ac_func=no"
17085 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17086 echo "$ac_t""yes" 1>&6
17087 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17088 cat >> confdefs.h
<<EOF
17089 #define $ac_tr_func 1
17093 echo "$ac_t""no" 1>&6
17098 if test "$ac_cv_func_vsnprintf" = "yes"; then
17099 echo $ac_n "checking for vsnprintf declaration""... $ac_c" 1>&6
17100 echo "configure:17101: checking for vsnprintf declaration" >&5
17101 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf_decl'+set}'`\" = set"; then
17102 echo $ac_n "(cached) $ac_c" 1>&6
17105 cat > conftest.
$ac_ext <<EOF
17106 #line 17107 "configure"
17107 #include "confdefs.h"
17110 #include <stdarg.h>
17116 vsnprintf(buf, 10u, "%s", ap);
17120 if { (eval echo configure
:17121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17122 wx_cv_func_vsnprintf_decl
=yes
17124 echo "configure: failed program was:" >&5
17125 cat conftest.
$ac_ext >&5
17127 wx_cv_func_vsnprintf_decl
=no
17135 echo "$ac_t""$wx_cv_func_vsnprintf_decl" 1>&6
17137 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
17138 cat >> confdefs.h
<<\EOF
17139 #define HAVE_VSNPRINTF_DECL 1
17145 if test "$wxUSE_UNICODE" = yes; then
17146 for ac_func
in fputwc wprintf vswprintf
17148 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17149 echo "configure:17150: checking for $ac_func" >&5
17150 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17151 echo $ac_n "(cached) $ac_c" 1>&6
17153 cat > conftest.
$ac_ext <<EOF
17154 #line 17155 "configure"
17155 #include "confdefs.h"
17156 /* System header to define __stub macros and hopefully few prototypes,
17157 which can conflict with char $ac_func(); below. */
17158 #include <assert.h>
17159 /* Override any gcc2 internal prototype to avoid an error. */
17163 /* We use char because int might match the return type of a gcc2
17164 builtin and then its argument prototype would still apply. */
17169 /* The GNU C library defines this for functions which it implements
17170 to always fail with ENOSYS. Some functions are actually named
17171 something starting with __ and the normal name is an alias. */
17172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17180 if { (eval echo configure
:17181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17182 eval "ac_cv_func_$ac_func=yes"
17184 echo "configure: failed program was:" >&5
17185 cat conftest.
$ac_ext >&5
17187 eval "ac_cv_func_$ac_func=no"
17192 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17193 echo "$ac_t""yes" 1>&6
17194 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17195 cat >> confdefs.h
<<EOF
17196 #define $ac_tr_func 1
17200 echo "$ac_t""no" 1>&6
17205 echo $ac_n "checking for _vsnwprintf""... $ac_c" 1>&6
17206 echo "configure:17207: checking for _vsnwprintf" >&5
17207 cat > conftest.
$ac_ext <<EOF
17208 #line 17209 "configure"
17209 #include "confdefs.h"
17215 if { (eval echo configure
:17216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17217 echo "$ac_t""yes" 1>&6
17218 cat >> confdefs.h
<<\EOF
17219 #define HAVE__VSNWPRINTF 1
17223 echo "configure: failed program was:" >&5
17224 cat conftest.
$ac_ext >&5
17226 echo "$ac_t""no" 1>&6
17232 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17233 ac_cpp
='$CPP $CPPFLAGS'
17234 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17235 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17236 cross_compiling
=$ac_cv_prog_cc_cross
17241 if test "$TOOLKIT" != "MSW"; then
17246 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17247 ac_cpp
='$CXXCPP $CPPFLAGS'
17248 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17249 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17250 cross_compiling
=$ac_cv_prog_cxx_cross
17254 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
17255 if test "${with_libiconv_prefix+set}" = set; then
17256 withval
="$with_libiconv_prefix"
17258 for dir
in `echo "$withval" | tr : ' '`; do
17259 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
17260 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
17266 echo $ac_n "checking for iconv""... $ac_c" 1>&6
17267 echo "configure:17268: checking for iconv" >&5
17268 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
17269 echo $ac_n "(cached) $ac_c" 1>&6
17272 am_cv_func_iconv
="no, consider installing GNU libiconv"
17274 cat > conftest.
$ac_ext <<EOF
17275 #line 17276 "configure"
17276 #include "confdefs.h"
17277 #include <stdlib.h>
17280 iconv_t cd = iconv_open("","");
17281 iconv(cd,NULL,NULL,NULL,NULL);
17285 if { (eval echo configure
:17286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17287 am_cv_func_iconv
=yes
17289 echo "configure: failed program was:" >&5
17290 cat conftest.
$ac_ext >&5
17293 if test "$am_cv_func_iconv" != yes; then
17294 am_save_LIBS
="$LIBS"
17295 LIBS
="$LIBS -liconv"
17296 cat > conftest.
$ac_ext <<EOF
17297 #line 17298 "configure"
17298 #include "confdefs.h"
17299 #include <stdlib.h>
17302 iconv_t cd = iconv_open("","");
17303 iconv(cd,NULL,NULL,NULL,NULL);
17307 if { (eval echo configure
:17308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17309 am_cv_lib_iconv
=yes
17310 am_cv_func_iconv
=yes
17312 echo "configure: failed program was:" >&5
17313 cat conftest.
$ac_ext >&5
17316 LIBS
="$am_save_LIBS"
17321 echo "$ac_t""$am_cv_func_iconv" 1>&6
17322 if test "$am_cv_func_iconv" = yes; then
17323 cat >> confdefs.h
<<\EOF
17324 #define HAVE_ICONV 1
17327 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
17328 echo "configure:17329: checking if iconv needs const" >&5
17329 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
17330 echo $ac_n "(cached) $ac_c" 1>&6
17332 cat > conftest.
$ac_ext <<EOF
17333 #line 17334 "configure"
17334 #include "confdefs.h"
17336 #include <stdlib.h>
17342 #if defined(__STDC__) || defined(__cplusplus)
17343 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17352 if { (eval echo configure
:17353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17354 wx_cv_func_iconv_const
="no"
17356 echo "configure: failed program was:" >&5
17357 cat conftest.
$ac_ext >&5
17359 wx_cv_func_iconv_const
="yes"
17366 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
17369 if test "x$wx_cv_func_iconv_const" = "xyes"; then
17370 iconv_const
="const"
17373 cat >> confdefs.h
<<EOF
17374 #define ICONV_CONST $iconv_const
17379 if test "$am_cv_lib_iconv" = yes; then
17384 LIBS
="$LIBICONV $LIBS"
17386 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17387 ac_cpp
='$CPP $CPPFLAGS'
17388 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17389 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17390 cross_compiling
=$ac_cv_prog_cc_cross
17393 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
17394 for ac_func
in sigaction
17396 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17397 echo "configure:17398: checking for $ac_func" >&5
17398 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17399 echo $ac_n "(cached) $ac_c" 1>&6
17401 cat > conftest.
$ac_ext <<EOF
17402 #line 17403 "configure"
17403 #include "confdefs.h"
17404 /* System header to define __stub macros and hopefully few prototypes,
17405 which can conflict with char $ac_func(); below. */
17406 #include <assert.h>
17407 /* Override any gcc2 internal prototype to avoid an error. */
17408 /* We use char because int might match the return type of a gcc2
17409 builtin and then its argument prototype would still apply. */
17414 /* The GNU C library defines this for functions which it implements
17415 to always fail with ENOSYS. Some functions are actually named
17416 something starting with __ and the normal name is an alias. */
17417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17425 if { (eval echo configure
:17426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17427 eval "ac_cv_func_$ac_func=yes"
17429 echo "configure: failed program was:" >&5
17430 cat conftest.
$ac_ext >&5
17432 eval "ac_cv_func_$ac_func=no"
17437 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17438 echo "$ac_t""yes" 1>&6
17439 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17440 cat >> confdefs.h
<<EOF
17441 #define $ac_tr_func 1
17445 echo "$ac_t""no" 1>&6
17450 if test "$ac_cv_func_sigaction" = "no"; then
17451 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
17452 wxUSE_ON_FATAL_EXCEPTION
=no
17455 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17458 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17459 ac_cpp
='$CXXCPP $CPPFLAGS'
17460 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17461 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17462 cross_compiling
=$ac_cv_prog_cxx_cross
17465 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
17466 echo "configure:17467: checking for sa_handler type" >&5
17467 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
17468 echo $ac_n "(cached) $ac_c" 1>&6
17471 cat > conftest.
$ac_ext <<EOF
17472 #line 17473 "configure"
17473 #include "confdefs.h"
17474 #include <signal.h>
17477 extern void testSigHandler(int);
17479 struct sigaction sa;
17480 sa.sa_handler = testSigHandler;
17484 if { (eval echo configure
:17485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17487 wx_cv_type_sa_handler
=int
17490 echo "configure: failed program was:" >&5
17491 cat conftest.
$ac_ext >&5
17494 wx_cv_type_sa_handler
=void
17501 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
17504 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17505 ac_cpp
='$CPP $CPPFLAGS'
17506 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17507 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17508 cross_compiling
=$ac_cv_prog_cc_cross
17511 cat >> confdefs.h
<<EOF
17512 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
17518 for ac_func
in mkstemp mktemp
17520 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17521 echo "configure:17522: checking for $ac_func" >&5
17522 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17523 echo $ac_n "(cached) $ac_c" 1>&6
17525 cat > conftest.
$ac_ext <<EOF
17526 #line 17527 "configure"
17527 #include "confdefs.h"
17528 /* System header to define __stub macros and hopefully few prototypes,
17529 which can conflict with char $ac_func(); below. */
17530 #include <assert.h>
17531 /* Override any gcc2 internal prototype to avoid an error. */
17532 /* We use char because int might match the return type of a gcc2
17533 builtin and then its argument prototype would still apply. */
17538 /* The GNU C library defines this for functions which it implements
17539 to always fail with ENOSYS. Some functions are actually named
17540 something starting with __ and the normal name is an alias. */
17541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17549 if { (eval echo configure
:17550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17551 eval "ac_cv_func_$ac_func=yes"
17553 echo "configure: failed program was:" >&5
17554 cat conftest.
$ac_ext >&5
17556 eval "ac_cv_func_$ac_func=no"
17561 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17562 echo "$ac_t""yes" 1>&6
17563 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17564 cat >> confdefs.h
<<EOF
17565 #define $ac_tr_func 1
17569 echo "$ac_t""no" 1>&6
17574 echo $ac_n "checking for statfs""... $ac_c" 1>&6
17575 echo "configure:17576: checking for statfs" >&5
17576 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
17577 echo $ac_n "(cached) $ac_c" 1>&6
17579 cat > conftest.
$ac_ext <<EOF
17580 #line 17581 "configure"
17581 #include "confdefs.h"
17583 #if defined(__BSD__)
17584 #include <sys/param.h>
17585 #include <sys/mount.h>
17587 #include <sys/vfs.h>
17601 if { (eval echo configure
:17602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17604 wx_cv_func_statfs
=yes
17607 echo "configure: failed program was:" >&5
17608 cat conftest.
$ac_ext >&5
17611 wx_cv_func_statfs
=no
17619 echo "$ac_t""$wx_cv_func_statfs" 1>&6
17621 if test "$wx_cv_func_statfs" = "yes"; then
17622 wx_cv_type_statvfs_t
="struct statfs"
17623 cat >> confdefs.h
<<\EOF
17624 #define HAVE_STATFS 1
17628 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
17629 echo "configure:17630: checking for statvfs" >&5
17630 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
17631 echo $ac_n "(cached) $ac_c" 1>&6
17633 cat > conftest.
$ac_ext <<EOF
17634 #line 17635 "configure"
17635 #include "confdefs.h"
17637 #include <stddef.h>
17638 #include <sys/statvfs.h>
17642 statvfs("/", NULL);
17646 if { (eval echo configure
:17647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17648 wx_cv_func_statvfs
=yes
17650 echo "configure: failed program was:" >&5
17651 cat conftest.
$ac_ext >&5
17653 wx_cv_func_statvfs
=no
17660 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
17662 if test "$wx_cv_func_statvfs" = "yes"; then
17665 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17666 ac_cpp
='$CXXCPP $CPPFLAGS'
17667 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17668 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17669 cross_compiling
=$ac_cv_prog_cxx_cross
17672 echo $ac_n "checking for statvfs argument type""... $ac_c" 1>&6
17673 echo "configure:17674: checking for statvfs argument type" >&5
17674 if eval "test \"`echo '$''{'wx_cv_type_statvfs_t'+set}'`\" = set"; then
17675 echo $ac_n "(cached) $ac_c" 1>&6
17677 cat > conftest.
$ac_ext <<EOF
17678 #line 17679 "configure"
17679 #include "confdefs.h"
17681 #include <sys/statvfs.h>
17694 if { (eval echo configure
:17695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17696 wx_cv_type_statvfs_t
=statvfs_t
17698 echo "configure: failed program was:" >&5
17699 cat conftest.
$ac_ext >&5
17702 cat > conftest.
$ac_ext <<EOF
17703 #line 17704 "configure"
17704 #include "confdefs.h"
17706 #include <sys/statvfs.h>
17719 if { (eval echo configure
:17720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17721 wx_cv_type_statvfs_t
="struct statvfs"
17723 echo "configure: failed program was:" >&5
17724 cat conftest.
$ac_ext >&5
17726 wx_cv_type_statvfs_t
="unknown"
17737 echo "$ac_t""$wx_cv_type_statvfs_t" 1>&6
17740 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17741 ac_cpp
='$CPP $CPPFLAGS'
17742 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17743 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17744 cross_compiling
=$ac_cv_prog_cc_cross
17747 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17748 cat >> confdefs.h
<<\EOF
17749 #define HAVE_STATVFS 1
17754 wx_cv_type_statvfs_t
="unknown"
17758 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17759 cat >> confdefs.h
<<EOF
17760 #define WX_STATFS_T $wx_cv_type_statvfs_t
17764 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
17767 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17768 for ac_func
in fcntl flock
17770 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17771 echo "configure:17772: checking for $ac_func" >&5
17772 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17773 echo $ac_n "(cached) $ac_c" 1>&6
17775 cat > conftest.
$ac_ext <<EOF
17776 #line 17777 "configure"
17777 #include "confdefs.h"
17778 /* System header to define __stub macros and hopefully few prototypes,
17779 which can conflict with char $ac_func(); below. */
17780 #include <assert.h>
17781 /* Override any gcc2 internal prototype to avoid an error. */
17782 /* We use char because int might match the return type of a gcc2
17783 builtin and then its argument prototype would still apply. */
17788 /* The GNU C library defines this for functions which it implements
17789 to always fail with ENOSYS. Some functions are actually named
17790 something starting with __ and the normal name is an alias. */
17791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17799 if { (eval echo configure
:17800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17801 eval "ac_cv_func_$ac_func=yes"
17803 echo "configure: failed program was:" >&5
17804 cat conftest.
$ac_ext >&5
17806 eval "ac_cv_func_$ac_func=no"
17811 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17812 echo "$ac_t""yes" 1>&6
17813 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17814 cat >> confdefs.h
<<EOF
17815 #define $ac_tr_func 1
17819 echo "$ac_t""no" 1>&6
17824 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
17825 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
17826 wxUSE_SNGLINST_CHECKER
=no
17830 for ac_func
in timegm
17832 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17833 echo "configure:17834: checking for $ac_func" >&5
17834 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17835 echo $ac_n "(cached) $ac_c" 1>&6
17837 cat > conftest.
$ac_ext <<EOF
17838 #line 17839 "configure"
17839 #include "confdefs.h"
17840 /* System header to define __stub macros and hopefully few prototypes,
17841 which can conflict with char $ac_func(); below. */
17842 #include <assert.h>
17843 /* Override any gcc2 internal prototype to avoid an error. */
17844 /* We use char because int might match the return type of a gcc2
17845 builtin and then its argument prototype would still apply. */
17850 /* The GNU C library defines this for functions which it implements
17851 to always fail with ENOSYS. Some functions are actually named
17852 something starting with __ and the normal name is an alias. */
17853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17861 if { (eval echo configure
:17862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17863 eval "ac_cv_func_$ac_func=yes"
17865 echo "configure: failed program was:" >&5
17866 cat conftest.
$ac_ext >&5
17868 eval "ac_cv_func_$ac_func=no"
17873 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17874 echo "$ac_t""yes" 1>&6
17875 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17876 cat >> confdefs.h
<<EOF
17877 #define $ac_tr_func 1
17881 echo "$ac_t""no" 1>&6
17886 for ac_func
in putenv setenv
17888 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17889 echo "configure:17890: checking for $ac_func" >&5
17890 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17891 echo $ac_n "(cached) $ac_c" 1>&6
17893 cat > conftest.
$ac_ext <<EOF
17894 #line 17895 "configure"
17895 #include "confdefs.h"
17896 /* System header to define __stub macros and hopefully few prototypes,
17897 which can conflict with char $ac_func(); below. */
17898 #include <assert.h>
17899 /* Override any gcc2 internal prototype to avoid an error. */
17900 /* We use char because int might match the return type of a gcc2
17901 builtin and then its argument prototype would still apply. */
17906 /* The GNU C library defines this for functions which it implements
17907 to always fail with ENOSYS. Some functions are actually named
17908 something starting with __ and the normal name is an alias. */
17909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17917 if { (eval echo configure
:17918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17919 eval "ac_cv_func_$ac_func=yes"
17921 echo "configure: failed program was:" >&5
17922 cat conftest.
$ac_ext >&5
17924 eval "ac_cv_func_$ac_func=no"
17929 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17930 echo "$ac_t""yes" 1>&6
17931 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17932 cat >> confdefs.h
<<EOF
17933 #define $ac_tr_func 1
17937 echo "$ac_t""no" 1>&6
17942 HAVE_SOME_SLEEP_FUNC
=0
17943 if test "$USE_BEOS" = 1; then
17944 cat >> confdefs.h
<<\EOF
17945 #define HAVE_SLEEP 1
17948 HAVE_SOME_SLEEP_FUNC
=1
17951 if test "$USE_DARWIN" = 1; then
17952 cat >> confdefs.h
<<\EOF
17953 #define HAVE_USLEEP 1
17956 HAVE_SOME_SLEEP_FUNC
=1
17959 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
17961 for ac_func
in nanosleep
17963 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17964 echo "configure:17965: checking for $ac_func" >&5
17965 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17966 echo $ac_n "(cached) $ac_c" 1>&6
17968 cat > conftest.
$ac_ext <<EOF
17969 #line 17970 "configure"
17970 #include "confdefs.h"
17971 /* System header to define __stub macros and hopefully few prototypes,
17972 which can conflict with char $ac_func(); below. */
17973 #include <assert.h>
17974 /* Override any gcc2 internal prototype to avoid an error. */
17975 /* We use char because int might match the return type of a gcc2
17976 builtin and then its argument prototype would still apply. */
17981 /* The GNU C library defines this for functions which it implements
17982 to always fail with ENOSYS. Some functions are actually named
17983 something starting with __ and the normal name is an alias. */
17984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17992 if { (eval echo configure
:17993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17994 eval "ac_cv_func_$ac_func=yes"
17996 echo "configure: failed program was:" >&5
17997 cat conftest.
$ac_ext >&5
17999 eval "ac_cv_func_$ac_func=no"
18004 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18005 echo "$ac_t""yes" 1>&6
18006 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18007 cat >> confdefs.h
<<EOF
18008 #define $ac_tr_func 1
18010 cat >> confdefs.h
<<\EOF
18011 #define HAVE_NANOSLEEP 1
18015 echo "$ac_t""no" 1>&6
18016 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
18017 echo "configure:18018: checking for nanosleep in -lposix4" >&5
18018 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
18019 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18020 echo $ac_n "(cached) $ac_c" 1>&6
18022 ac_save_LIBS
="$LIBS"
18023 LIBS
="-lposix4 $LIBS"
18024 cat > conftest.
$ac_ext <<EOF
18025 #line 18026 "configure"
18026 #include "confdefs.h"
18027 /* Override any gcc2 internal prototype to avoid an error. */
18028 /* We use char because int might match the return type of a gcc2
18029 builtin and then its argument prototype would still apply. */
18036 if { (eval echo configure
:18037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18038 eval "ac_cv_lib_$ac_lib_var=yes"
18040 echo "configure: failed program was:" >&5
18041 cat conftest.
$ac_ext >&5
18043 eval "ac_cv_lib_$ac_lib_var=no"
18046 LIBS
="$ac_save_LIBS"
18049 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18050 echo "$ac_t""yes" 1>&6
18052 cat >> confdefs.h
<<\EOF
18053 #define HAVE_NANOSLEEP 1
18056 POSIX4_LINK
=" -lposix4"
18059 echo "$ac_t""no" 1>&6
18061 for ac_func
in usleep
18063 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18064 echo "configure:18065: checking for $ac_func" >&5
18065 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18066 echo $ac_n "(cached) $ac_c" 1>&6
18068 cat > conftest.
$ac_ext <<EOF
18069 #line 18070 "configure"
18070 #include "confdefs.h"
18071 /* System header to define __stub macros and hopefully few prototypes,
18072 which can conflict with char $ac_func(); below. */
18073 #include <assert.h>
18074 /* Override any gcc2 internal prototype to avoid an error. */
18075 /* We use char because int might match the return type of a gcc2
18076 builtin and then its argument prototype would still apply. */
18081 /* The GNU C library defines this for functions which it implements
18082 to always fail with ENOSYS. Some functions are actually named
18083 something starting with __ and the normal name is an alias. */
18084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18092 if { (eval echo configure
:18093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18094 eval "ac_cv_func_$ac_func=yes"
18096 echo "configure: failed program was:" >&5
18097 cat conftest.
$ac_ext >&5
18099 eval "ac_cv_func_$ac_func=no"
18104 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18105 echo "$ac_t""yes" 1>&6
18106 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18107 cat >> confdefs.h
<<EOF
18108 #define $ac_tr_func 1
18110 cat >> confdefs.h
<<\EOF
18111 #define HAVE_USLEEP 1
18115 echo "$ac_t""no" 1>&6
18116 echo "configure: warning: wxSleep() function will not work" 1>&2
18132 for ac_func
in uname gethostname
18134 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18135 echo "configure:18136: checking for $ac_func" >&5
18136 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18137 echo $ac_n "(cached) $ac_c" 1>&6
18139 cat > conftest.
$ac_ext <<EOF
18140 #line 18141 "configure"
18141 #include "confdefs.h"
18142 /* System header to define __stub macros and hopefully few prototypes,
18143 which can conflict with char $ac_func(); below. */
18144 #include <assert.h>
18145 /* Override any gcc2 internal prototype to avoid an error. */
18146 /* We use char because int might match the return type of a gcc2
18147 builtin and then its argument prototype would still apply. */
18152 /* The GNU C library defines this for functions which it implements
18153 to always fail with ENOSYS. Some functions are actually named
18154 something starting with __ and the normal name is an alias. */
18155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18163 if { (eval echo configure
:18164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18165 eval "ac_cv_func_$ac_func=yes"
18167 echo "configure: failed program was:" >&5
18168 cat conftest.
$ac_ext >&5
18170 eval "ac_cv_func_$ac_func=no"
18175 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18176 echo "$ac_t""yes" 1>&6
18177 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18178 cat >> confdefs.h
<<EOF
18179 #define $ac_tr_func 1
18183 echo "$ac_t""no" 1>&6
18190 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18191 ac_cpp
='$CXXCPP $CPPFLAGS'
18192 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18193 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18194 cross_compiling
=$ac_cv_prog_cxx_cross
18197 for ac_func
in strtok_r
18199 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18200 echo "configure:18201: checking for $ac_func" >&5
18201 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18202 echo $ac_n "(cached) $ac_c" 1>&6
18204 cat > conftest.
$ac_ext <<EOF
18205 #line 18206 "configure"
18206 #include "confdefs.h"
18207 /* System header to define __stub macros and hopefully few prototypes,
18208 which can conflict with char $ac_func(); below. */
18209 #include <assert.h>
18210 /* Override any gcc2 internal prototype to avoid an error. */
18214 /* We use char because int might match the return type of a gcc2
18215 builtin and then its argument prototype would still apply. */
18220 /* The GNU C library defines this for functions which it implements
18221 to always fail with ENOSYS. Some functions are actually named
18222 something starting with __ and the normal name is an alias. */
18223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18231 if { (eval echo configure
:18232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18233 eval "ac_cv_func_$ac_func=yes"
18235 echo "configure: failed program was:" >&5
18236 cat conftest.
$ac_ext >&5
18238 eval "ac_cv_func_$ac_func=no"
18243 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18244 echo "$ac_t""yes" 1>&6
18245 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18246 cat >> confdefs.h
<<EOF
18247 #define $ac_tr_func 1
18251 echo "$ac_t""no" 1>&6
18257 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18258 ac_cpp
='$CPP $CPPFLAGS'
18259 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18260 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18261 cross_compiling
=$ac_cv_prog_cc_cross
18265 for ac_func
in inet_addr
18267 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18268 echo "configure:18269: checking for $ac_func" >&5
18269 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18270 echo $ac_n "(cached) $ac_c" 1>&6
18272 cat > conftest.
$ac_ext <<EOF
18273 #line 18274 "configure"
18274 #include "confdefs.h"
18275 /* System header to define __stub macros and hopefully few prototypes,
18276 which can conflict with char $ac_func(); below. */
18277 #include <assert.h>
18278 /* Override any gcc2 internal prototype to avoid an error. */
18279 /* We use char because int might match the return type of a gcc2
18280 builtin and then its argument prototype would still apply. */
18285 /* The GNU C library defines this for functions which it implements
18286 to always fail with ENOSYS. Some functions are actually named
18287 something starting with __ and the normal name is an alias. */
18288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18296 if { (eval echo configure
:18297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18298 eval "ac_cv_func_$ac_func=yes"
18300 echo "configure: failed program was:" >&5
18301 cat conftest.
$ac_ext >&5
18303 eval "ac_cv_func_$ac_func=no"
18308 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18309 echo "$ac_t""yes" 1>&6
18310 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18311 cat >> confdefs.h
<<EOF
18312 #define $ac_tr_func 1
18314 cat >> confdefs.h
<<\EOF
18315 #define HAVE_INET_ADDR 1
18319 echo "$ac_t""no" 1>&6
18320 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
18321 echo "configure:18322: checking for inet_addr in -lnsl" >&5
18322 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
18323 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18324 echo $ac_n "(cached) $ac_c" 1>&6
18326 ac_save_LIBS
="$LIBS"
18328 cat > conftest.
$ac_ext <<EOF
18329 #line 18330 "configure"
18330 #include "confdefs.h"
18331 /* Override any gcc2 internal prototype to avoid an error. */
18332 /* We use char because int might match the return type of a gcc2
18333 builtin and then its argument prototype would still apply. */
18340 if { (eval echo configure
:18341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18342 eval "ac_cv_lib_$ac_lib_var=yes"
18344 echo "configure: failed program was:" >&5
18345 cat conftest.
$ac_ext >&5
18347 eval "ac_cv_lib_$ac_lib_var=no"
18350 LIBS
="$ac_save_LIBS"
18353 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18354 echo "$ac_t""yes" 1>&6
18357 echo "$ac_t""no" 1>&6
18358 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
18359 echo "configure:18360: checking for inet_addr in -lresolv" >&5
18360 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
18361 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18362 echo $ac_n "(cached) $ac_c" 1>&6
18364 ac_save_LIBS
="$LIBS"
18365 LIBS
="-lresolv $LIBS"
18366 cat > conftest.
$ac_ext <<EOF
18367 #line 18368 "configure"
18368 #include "confdefs.h"
18369 /* Override any gcc2 internal prototype to avoid an error. */
18370 /* We use char because int might match the return type of a gcc2
18371 builtin and then its argument prototype would still apply. */
18378 if { (eval echo configure
:18379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18380 eval "ac_cv_lib_$ac_lib_var=yes"
18382 echo "configure: failed program was:" >&5
18383 cat conftest.
$ac_ext >&5
18385 eval "ac_cv_lib_$ac_lib_var=no"
18388 LIBS
="$ac_save_LIBS"
18391 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18392 echo "$ac_t""yes" 1>&6
18395 echo "$ac_t""no" 1>&6
18396 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
18397 echo "configure:18398: checking for inet_addr in -lsocket" >&5
18398 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
18399 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18400 echo $ac_n "(cached) $ac_c" 1>&6
18402 ac_save_LIBS
="$LIBS"
18403 LIBS
="-lsocket $LIBS"
18404 cat > conftest.
$ac_ext <<EOF
18405 #line 18406 "configure"
18406 #include "confdefs.h"
18407 /* Override any gcc2 internal prototype to avoid an error. */
18408 /* We use char because int might match the return type of a gcc2
18409 builtin and then its argument prototype would still apply. */
18416 if { (eval echo configure
:18417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18418 eval "ac_cv_lib_$ac_lib_var=yes"
18420 echo "configure: failed program was:" >&5
18421 cat conftest.
$ac_ext >&5
18423 eval "ac_cv_lib_$ac_lib_var=no"
18426 LIBS
="$ac_save_LIBS"
18429 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18430 echo "$ac_t""yes" 1>&6
18434 echo "$ac_t""no" 1>&6
18449 for ac_func
in inet_aton
18451 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18452 echo "configure:18453: checking for $ac_func" >&5
18453 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18454 echo $ac_n "(cached) $ac_c" 1>&6
18456 cat > conftest.
$ac_ext <<EOF
18457 #line 18458 "configure"
18458 #include "confdefs.h"
18459 /* System header to define __stub macros and hopefully few prototypes,
18460 which can conflict with char $ac_func(); below. */
18461 #include <assert.h>
18462 /* Override any gcc2 internal prototype to avoid an error. */
18463 /* We use char because int might match the return type of a gcc2
18464 builtin and then its argument prototype would still apply. */
18469 /* The GNU C library defines this for functions which it implements
18470 to always fail with ENOSYS. Some functions are actually named
18471 something starting with __ and the normal name is an alias. */
18472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18480 if { (eval echo configure
:18481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18482 eval "ac_cv_func_$ac_func=yes"
18484 echo "configure: failed program was:" >&5
18485 cat conftest.
$ac_ext >&5
18487 eval "ac_cv_func_$ac_func=no"
18492 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18493 echo "$ac_t""yes" 1>&6
18494 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18495 cat >> confdefs.h
<<EOF
18496 #define $ac_tr_func 1
18498 cat >> confdefs.h
<<\EOF
18499 #define HAVE_INET_ATON 1
18503 echo "$ac_t""no" 1>&6
18504 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
18505 echo "configure:18506: checking for inet_aton in -l$INET_LINK" >&5
18506 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
18507 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18508 echo $ac_n "(cached) $ac_c" 1>&6
18510 ac_save_LIBS
="$LIBS"
18511 LIBS
="-l$INET_LINK $LIBS"
18512 cat > conftest.
$ac_ext <<EOF
18513 #line 18514 "configure"
18514 #include "confdefs.h"
18515 /* Override any gcc2 internal prototype to avoid an error. */
18516 /* We use char because int might match the return type of a gcc2
18517 builtin and then its argument prototype would still apply. */
18524 if { (eval echo configure
:18525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18526 eval "ac_cv_lib_$ac_lib_var=yes"
18528 echo "configure: failed program was:" >&5
18529 cat conftest.
$ac_ext >&5
18531 eval "ac_cv_lib_$ac_lib_var=no"
18534 LIBS
="$ac_save_LIBS"
18537 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18538 echo "$ac_t""yes" 1>&6
18539 cat >> confdefs.h
<<\EOF
18540 #define HAVE_INET_ATON 1
18544 echo "$ac_t""no" 1>&6
18552 if test "x$INET_LINK" != "x"; then
18553 cat >> confdefs.h
<<\EOF
18554 #define HAVE_INET_ADDR 1
18557 INET_LINK
=" -l$INET_LINK"
18563 cat > confcache
<<\EOF
18564 # This file is a shell script that caches the results of configure
18565 # tests run on this system so they can be shared between configure
18566 # scripts and configure runs. It is not useful on other systems.
18567 # If it contains results you don't want to keep, you may remove or edit it.
18569 # By default, configure uses ./config.cache as the cache file,
18570 # creating it if it does not exist already. You can give configure
18571 # the --cache-file=FILE option to use a different cache file; that is
18572 # what configure does when it calls configure scripts in
18573 # subdirectories, so they share the cache.
18574 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18575 # config.status only pays attention to the cache file if you give it the
18576 # --recheck option to rerun configure.
18579 # The following way of writing the cache mishandles newlines in values,
18580 # but we know of no workaround that is simple, portable, and efficient.
18581 # So, don't put newlines in cache variables' values.
18582 # Ultrix sh set writes to stderr and can't be redirected directly,
18583 # and sets the high bit in the cache file unless we assign to the vars.
18585 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18587 # `set' does not quote correctly, so add quotes (double-quote substitution
18588 # turns \\\\ into \\, and sed turns \\ into \).
18590 -e "s/'/'\\\\''/g" \
18591 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18594 # `set' quotes correctly as required by POSIX, so do not add quotes.
18595 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18598 if cmp -s $cache_file confcache
; then
18601 if test -w $cache_file; then
18602 echo "updating cache $cache_file"
18603 cat confcache
> $cache_file
18605 echo "not updating unwritable cache $cache_file"
18613 if test "$TOOLKIT" != "MSW"; then
18619 if test "$wxUSE_THREADS" = "yes" ; then
18620 if test "$USE_BEOS" = 1; then
18621 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
18626 if test "$wxUSE_THREADS" = "yes" ; then
18629 THREAD_OPTS
="-pthread"
18631 *-*-solaris2* | *-*-sunos4* )
18632 if test "x$GCC" = "xyes"; then
18633 THREAD_OPTS
="-pthreads $THREAD_OPTS"
18635 THREAD_OPTS
="-mt $THREAD_OPTS"
18639 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
18641 *-*-darwin* | *-*-cygwin* )
18645 THREAD_OPTS
="pthreads"
18648 if test "x$GCC" != "xyes"; then
18653 THREAD_OPTS
="$THREAD_OPTS pthread none"
18656 for flag
in $THREAD_OPTS; do
18659 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
18660 echo "configure:18661: checking whether pthreads work without any flags" >&5
18664 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
18665 echo "configure:18666: checking whether pthreads work with $flag" >&5
18666 THREADS_CFLAGS
="$flag"
18670 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
18671 echo "configure:18672: checking for the pthreads library -l$flag" >&5
18672 THREADS_LINK
="-l$flag"
18677 save_CFLAGS
="$CFLAGS"
18678 LIBS
="$THREADS_LINK $LIBS"
18679 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
18681 cat > conftest.
$ac_ext <<EOF
18682 #line 18683 "configure"
18683 #include "confdefs.h"
18684 #include <pthread.h>
18686 pthread_create(0,0,0,0);
18689 if { (eval echo configure
:18690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18693 echo "configure: failed program was:" >&5
18694 cat conftest.
$ac_ext >&5
18699 CFLAGS
="$save_CFLAGS"
18701 echo "$ac_t""$THREADS_OK" 1>&6
18702 if test "x$THREADS_OK" = "xyes"; then
18710 if test "x$THREADS_OK" != "xyes"; then
18712 echo "configure: warning: No thread support on this system... disabled" 1>&2
18714 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
18715 LIBS
="$THREADS_LINK $LIBS"
18717 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
18718 echo "configure:18719: checking if more special flags are required for pthreads" >&5
18722 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
18723 flag
="-D_THREAD_SAFE"
18726 flag
="-D_THREAD_SAFE"
18729 flag
="-D_REENTRANT"
18730 if test "x$GCC" != "xyes"; then
18731 flag
="$flag -D_RWSTD_MULTI_THREAD"
18734 *solaris
* | alpha
*-osf*)
18735 flag
="-D_REENTRANT"
18738 echo "$ac_t""${flag}" 1>&6
18739 if test "x$flag" != xno
; then
18740 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
18743 if test "x$THREADS_CFLAGS" != "x"; then
18744 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
18745 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
18750 if test "$wxUSE_THREADS" = "yes" ; then
18751 for ac_func
in thr_setconcurrency
18753 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18754 echo "configure:18755: checking for $ac_func" >&5
18755 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18756 echo $ac_n "(cached) $ac_c" 1>&6
18758 cat > conftest.
$ac_ext <<EOF
18759 #line 18760 "configure"
18760 #include "confdefs.h"
18761 /* System header to define __stub macros and hopefully few prototypes,
18762 which can conflict with char $ac_func(); below. */
18763 #include <assert.h>
18764 /* Override any gcc2 internal prototype to avoid an error. */
18765 /* We use char because int might match the return type of a gcc2
18766 builtin and then its argument prototype would still apply. */
18771 /* The GNU C library defines this for functions which it implements
18772 to always fail with ENOSYS. Some functions are actually named
18773 something starting with __ and the normal name is an alias. */
18774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18782 if { (eval echo configure
:18783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18784 eval "ac_cv_func_$ac_func=yes"
18786 echo "configure: failed program was:" >&5
18787 cat conftest.
$ac_ext >&5
18789 eval "ac_cv_func_$ac_func=no"
18794 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18795 echo "$ac_t""yes" 1>&6
18796 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18797 cat >> confdefs.h
<<EOF
18798 #define $ac_tr_func 1
18802 echo "$ac_t""no" 1>&6
18807 for ac_hdr
in sched.h
18809 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18810 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18811 echo "configure:18812: checking for $ac_hdr" >&5
18812 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18813 echo $ac_n "(cached) $ac_c" 1>&6
18815 cat > conftest.
$ac_ext <<EOF
18816 #line 18817 "configure"
18817 #include "confdefs.h"
18820 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18821 { (eval echo configure
:18822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18822 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18823 if test -z "$ac_err"; then
18825 eval "ac_cv_header_$ac_safe=yes"
18828 echo "configure: failed program was:" >&5
18829 cat conftest.
$ac_ext >&5
18831 eval "ac_cv_header_$ac_safe=no"
18835 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18836 echo "$ac_t""yes" 1>&6
18837 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18838 cat >> confdefs.h
<<EOF
18839 #define $ac_tr_hdr 1
18843 echo "$ac_t""no" 1>&6
18847 if test "$ac_cv_header_sched_h" = "yes"; then
18848 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
18849 echo "configure:18850: checking for sched_yield" >&5
18850 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
18851 echo $ac_n "(cached) $ac_c" 1>&6
18853 cat > conftest.
$ac_ext <<EOF
18854 #line 18855 "configure"
18855 #include "confdefs.h"
18856 /* System header to define __stub macros and hopefully few prototypes,
18857 which can conflict with char sched_yield(); below. */
18858 #include <assert.h>
18859 /* Override any gcc2 internal prototype to avoid an error. */
18860 /* We use char because int might match the return type of a gcc2
18861 builtin and then its argument prototype would still apply. */
18862 char sched_yield();
18866 /* The GNU C library defines this for functions which it implements
18867 to always fail with ENOSYS. Some functions are actually named
18868 something starting with __ and the normal name is an alias. */
18869 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
18877 if { (eval echo configure
:18878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18879 eval "ac_cv_func_sched_yield=yes"
18881 echo "configure: failed program was:" >&5
18882 cat conftest.
$ac_ext >&5
18884 eval "ac_cv_func_sched_yield=no"
18889 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
18890 echo "$ac_t""yes" 1>&6
18891 cat >> confdefs.h
<<\EOF
18892 #define HAVE_SCHED_YIELD 1
18896 echo "$ac_t""no" 1>&6
18898 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
18899 echo "configure:18900: checking for sched_yield in -lposix4" >&5
18900 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
18901 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18902 echo $ac_n "(cached) $ac_c" 1>&6
18904 ac_save_LIBS
="$LIBS"
18905 LIBS
="-lposix4 $LIBS"
18906 cat > conftest.
$ac_ext <<EOF
18907 #line 18908 "configure"
18908 #include "confdefs.h"
18909 /* Override any gcc2 internal prototype to avoid an error. */
18910 /* We use char because int might match the return type of a gcc2
18911 builtin and then its argument prototype would still apply. */
18912 char sched_yield();
18918 if { (eval echo configure
:18919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18920 eval "ac_cv_lib_$ac_lib_var=yes"
18922 echo "configure: failed program was:" >&5
18923 cat conftest.
$ac_ext >&5
18925 eval "ac_cv_lib_$ac_lib_var=no"
18928 LIBS
="$ac_save_LIBS"
18931 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18932 echo "$ac_t""yes" 1>&6
18933 cat >> confdefs.h
<<\EOF
18934 #define HAVE_SCHED_YIELD 1
18936 POSIX4_LINK
=" -lposix4"
18938 echo "$ac_t""no" 1>&6
18939 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
18950 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
18951 echo "configure:18952: checking for pthread_attr_getschedpolicy" >&5
18952 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
18953 echo $ac_n "(cached) $ac_c" 1>&6
18955 cat > conftest.
$ac_ext <<EOF
18956 #line 18957 "configure"
18957 #include "confdefs.h"
18958 /* System header to define __stub macros and hopefully few prototypes,
18959 which can conflict with char pthread_attr_getschedpolicy(); below. */
18960 #include <assert.h>
18961 /* Override any gcc2 internal prototype to avoid an error. */
18962 /* We use char because int might match the return type of a gcc2
18963 builtin and then its argument prototype would still apply. */
18964 char pthread_attr_getschedpolicy();
18968 /* The GNU C library defines this for functions which it implements
18969 to always fail with ENOSYS. Some functions are actually named
18970 something starting with __ and the normal name is an alias. */
18971 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
18974 pthread_attr_getschedpolicy();
18979 if { (eval echo configure
:18980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18981 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
18983 echo "configure: failed program was:" >&5
18984 cat conftest.
$ac_ext >&5
18986 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
18991 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
18992 echo "$ac_t""yes" 1>&6
18993 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
18994 echo "configure:18995: checking for pthread_attr_setschedparam" >&5
18995 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
18996 echo $ac_n "(cached) $ac_c" 1>&6
18998 cat > conftest.
$ac_ext <<EOF
18999 #line 19000 "configure"
19000 #include "confdefs.h"
19001 /* System header to define __stub macros and hopefully few prototypes,
19002 which can conflict with char pthread_attr_setschedparam(); below. */
19003 #include <assert.h>
19004 /* Override any gcc2 internal prototype to avoid an error. */
19005 /* We use char because int might match the return type of a gcc2
19006 builtin and then its argument prototype would still apply. */
19007 char pthread_attr_setschedparam();
19011 /* The GNU C library defines this for functions which it implements
19012 to always fail with ENOSYS. Some functions are actually named
19013 something starting with __ and the normal name is an alias. */
19014 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
19017 pthread_attr_setschedparam();
19022 if { (eval echo configure
:19023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19024 eval "ac_cv_func_pthread_attr_setschedparam=yes"
19026 echo "configure: failed program was:" >&5
19027 cat conftest.
$ac_ext >&5
19029 eval "ac_cv_func_pthread_attr_setschedparam=no"
19034 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
19035 echo "$ac_t""yes" 1>&6
19036 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
19037 echo "configure:19038: checking for sched_get_priority_max" >&5
19038 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
19039 echo $ac_n "(cached) $ac_c" 1>&6
19041 cat > conftest.
$ac_ext <<EOF
19042 #line 19043 "configure"
19043 #include "confdefs.h"
19044 /* System header to define __stub macros and hopefully few prototypes
19046 echo "$ac_t""no" 1>&6
19047 which can conflict with char sched_get_priority_max(); below. */
19048 #include <assert.h>
19049 /* Override any gcc2 internal prototype to avoid an error. */
19050 /* We use char because int might match the return type of a gcc2
19051 builtin and then its argument prototype would still apply. */
19052 char sched_get_priority_max();
19056 /* The GNU C library defines this for functions which it implements
19057 to always fail with ENOSYS. Some functions are actually named
19058 something starting with __ and the normal name is an alias. */
19059 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
19062 sched_get_priority_max();
19067 if { (eval echo configure
:19068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19069 eval "ac_cv_func_sched_get_priority_max=yes"
19071 echo "configure: failed program was:" >&5
19072 cat conftest.
$ac_ext >&5
19074 eval "ac_cv_func_sched_get_priority_max=no"
19079 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
19080 echo "$ac_t""yes" 1>&6
19083 echo "$ac_t""no" 1>&6
19084 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
19085 echo "configure:19086: checking for sched_get_priority_max in -lposix4" >&5
19086 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
19087 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19088 echo $ac_n "(cached) $ac_c" 1>&6
19090 ac_save_LIBS
="$LIBS"
19091 LIBS
="-lposix4 $LIBS"
19092 cat > conftest.
$ac_ext <<EOF
19093 #line 19094 "configure"
19094 #include "confdefs.h"
19095 /* Override any gcc2 internal prototype to avoid an error. */
19096 /* We use char because int might match the return type of a gcc2
19097 builtin and then its argument prototype would still apply. */
19098 char sched_get_priority_max();
19101 sched_get_priority_max()
19104 if { (eval echo configure
:19105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19106 eval "ac_cv_lib_$ac_lib_var=yes"
19108 echo "configure: failed program was:" >&5
19109 cat conftest.
$ac_ext >&5
19111 eval "ac_cv_lib_$ac_lib_var=no"
19114 LIBS
="$ac_save_LIBS"
19117 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19118 echo "$ac_t""yes" 1>&6
19121 POSIX4_LINK
=" -lposix4"
19124 echo "$ac_t""no" 1>&6
19132 echo "$ac_t""no" 1>&6
19139 if test "$HAVE_PRIOR_FUNCS" = 1; then
19140 cat >> confdefs.h
<<\EOF
19141 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
19145 echo "configure: warning: Setting thread priority will not work" 1>&2
19148 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
19149 echo "configure:19150: checking for pthread_cancel" >&5
19150 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
19151 echo $ac_n "(cached) $ac_c" 1>&6
19153 cat > conftest.
$ac_ext <<EOF
19154 #line 19155 "configure"
19155 #include "confdefs.h"
19156 /* System header to define __stub macros and hopefully few prototypes,
19157 which can conflict with char pthread_cancel(); below. */
19158 #include <assert.h>
19159 /* Override any gcc2 internal prototype to avoid an error. */
19160 /* We use char because int might match the return type of a gcc2
19161 builtin and then its argument prototype would still apply. */
19162 char pthread_cancel();
19166 /* The GNU C library defines this for functions which it implements
19167 to always fail with ENOSYS. Some functions are actually named
19168 something starting with __ and the normal name is an alias. */
19169 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
19177 if { (eval echo configure
:19178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19179 eval "ac_cv_func_pthread_cancel=yes"
19181 echo "configure: failed program was:" >&5
19182 cat conftest.
$ac_ext >&5
19184 eval "ac_cv_func_pthread_cancel=no"
19189 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
19190 echo "$ac_t""yes" 1>&6
19191 cat >> confdefs.h
<<\EOF
19192 #define HAVE_PTHREAD_CANCEL 1
19196 echo "$ac_t""no" 1>&6
19197 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
19201 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
19202 echo "configure:19203: checking for pthread_cleanup_push/pop" >&5
19203 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
19204 echo $ac_n "(cached) $ac_c" 1>&6
19207 cat > conftest.
$ac_ext <<EOF
19208 #line 19209 "configure"
19209 #include "confdefs.h"
19210 #include <pthread.h>
19213 pthread_cleanup_push(NULL, NULL);
19214 pthread_cleanup_pop(0);
19218 if { (eval echo configure
:19219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19221 wx_cv_func_pthread_cleanup_push
=yes
19224 echo "configure: failed program was:" >&5
19225 cat conftest.
$ac_ext >&5
19228 wx_cv_func_pthread_cleanup_push
=no
19235 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
19237 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
19238 cat >> confdefs.h
<<\EOF
19239 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
19245 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
19246 echo "configure:19247: checking for pthread_mutexattr_t" >&5
19247 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
19248 echo $ac_n "(cached) $ac_c" 1>&6
19251 cat > conftest.
$ac_ext <<EOF
19252 #line 19253 "configure"
19253 #include "confdefs.h"
19254 #include <pthread.h>
19257 pthread_mutexattr_t attr;
19258 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
19262 if { (eval echo configure
:19263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19265 wx_cv_type_pthread_mutexattr_t
=yes
19268 echo "configure: failed program was:" >&5
19269 cat conftest.
$ac_ext >&5
19272 wx_cv_type_pthread_mutexattr_t
=no
19280 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
19282 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
19283 cat >> confdefs.h
<<\EOF
19284 #define HAVE_PTHREAD_MUTEXATTR_T 1
19288 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
19289 echo "configure:19290: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
19290 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
19291 echo $ac_n "(cached) $ac_c" 1>&6
19294 cat > conftest.
$ac_ext <<EOF
19295 #line 19296 "configure"
19296 #include "confdefs.h"
19297 #include <pthread.h>
19300 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
19304 if { (eval echo configure
:19305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19307 wx_cv_type_pthread_rec_mutex_init
=yes
19310 echo "configure: failed program was:" >&5
19311 cat conftest.
$ac_ext >&5
19314 wx_cv_type_pthread_rec_mutex_init
=no
19322 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
19323 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
19324 cat >> confdefs.h
<<\EOF
19325 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
19329 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
19335 if test "$wxUSE_THREADS" = "yes" ; then
19338 echo $ac_n "checking if compiler supports -mthreads""... $ac_c" 1>&6
19339 echo "configure:19340: checking if compiler supports -mthreads" >&5
19340 if eval "test \"`echo '$''{'wx_cv_cflags_mthread'+set}'`\" = set"; then
19341 echo $ac_n "(cached) $ac_c" 1>&6
19344 CFLAGS_OLD
="$CFLAGS"
19345 CFLAGS
="$CFLAGS -mthreads"
19346 cat > conftest.
$ac_ext <<EOF
19347 #line 19348 "configure"
19348 #include "confdefs.h"
19354 if { (eval echo configure
:19355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19356 wx_cv_cflags_mthread
=yes
19358 echo "configure: failed program was:" >&5
19359 cat conftest.
$ac_ext >&5
19361 wx_cv_cflags_mthread
=no
19369 echo "$ac_t""$wx_cv_cflags_mthread" 1>&6
19371 if test "$wx_cv_cflags_mthread" = "yes"; then
19372 CXXFLAGS
="$CXXFLAGS -mthreads"
19373 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
19374 LDFLAGS
="$LDFLAGS -mthreads"
19376 CFLAGS
="$CFLAGS_OLD"
19383 if test "$wxUSE_THREADS" = "yes"; then
19384 cat >> confdefs.h
<<\EOF
19385 #define wxUSE_THREADS 1
19389 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
19391 if test "$ac_cv_func_strtok_r" = "yes"; then
19392 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
19393 echo "configure:19394: checking if -D_REENTRANT is needed" >&5
19394 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
19395 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
19396 echo "$ac_t""yes" 1>&6
19398 echo "$ac_t""no" 1>&6
19403 if test "$WXGTK20" = 1 ; then
19404 cat >> confdefs.h
<<EOF
19405 #define __WXGTK20__ $WXGTK20
19411 if test "$WXGTK12" = 1 ; then
19412 cat >> confdefs.h
<<EOF
19413 #define __WXGTK12__ $WXGTK12
19418 if test "$WXGTK127" = 1 ; then
19419 cat >> confdefs.h
<<EOF
19420 #define __WXGTK127__ $WXGTK127
19427 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
19432 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
19433 wxUSE_DEBUG_INFO
=yes
19437 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
19438 cat >> confdefs.h
<<\EOF
19442 WXDEBUG_DEFINE
="-D__WXDEBUG__"
19444 if test "$wxUSE_GTK" = 1 ; then
19445 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
19449 if test "$wxUSE_MEM_TRACING" = "yes" ; then
19450 cat >> confdefs.h
<<\EOF
19451 #define wxUSE_MEMORY_TRACING 1
19454 cat >> confdefs.h
<<\EOF
19455 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
19458 cat >> confdefs.h
<<\EOF
19459 #define wxUSE_DEBUG_NEW_ALWAYS 1
19462 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
19465 if test "$wxUSE_DMALLOC" = "yes" ; then
19466 DMALLOC_LIBS
="-ldmalloc"
19470 if test "$wxUSE_PROFILE" = "yes" ; then
19475 CODE_GEN_FLAGS_CXX
=
19476 if test "$GCC" = "yes" ; then
19477 if test "$wxUSE_NO_RTTI" = "yes" ; then
19478 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
19480 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
19481 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
19483 if test "$wxUSE_PERMISSIVE" = "yes" ; then
19484 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
19486 if test "$USE_WIN32" = 1 ; then
19487 # I'm not even really sure what this was ever added to solve,
19488 # but someone added it for mingw native builds, so I guess
19489 # they had a reason, right??
19490 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
19495 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
19498 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
19504 if test "$wxUSE_OPTIMISE" = "no" ; then
19505 if test "$GCC" = yes ; then
19509 if test "$GCC" = yes ; then
19513 i586
-*-*|i686
-*-* )
19514 OPTIMISE
="${OPTIMISE} "
19523 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
19524 cat >> confdefs.h
<<\EOF
19525 #define WXWIN_COMPATIBILITY_2 1
19529 WXWIN_COMPATIBILITY_2_2
="yes"
19532 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
19533 cat >> confdefs.h
<<\EOF
19534 #define WXWIN_COMPATIBILITY_2_2 1
19538 WXWIN_COMPATIBILITY_2_4
="yes"
19541 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
19542 cat >> confdefs.h
<<\EOF
19543 #define WXWIN_COMPATIBILITY_2_4 1
19549 if test "$wxUSE_GUI" = "yes"; then
19550 cat >> confdefs.h
<<\EOF
19551 #define wxUSE_GUI 1
19556 cat >> confdefs.h
<<\EOF
19557 #define wxUSE_NOGUI 1
19563 if test "$wxUSE_UNIX" = "yes"; then
19564 cat >> confdefs.h
<<\EOF
19565 #define wxUSE_UNIX 1
19571 if test "$wxUSE_APPLE_IEEE" = "yes"; then
19572 cat >> confdefs.h
<<\EOF
19573 #define wxUSE_APPLE_IEEE 1
19578 if test "$wxUSE_TIMER" = "yes"; then
19579 cat >> confdefs.h
<<\EOF
19580 #define wxUSE_TIMER 1
19585 if test "$wxUSE_WAVE" = "yes"; then
19586 cat >> confdefs.h
<<\EOF
19587 #define wxUSE_WAVE 1
19592 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
19593 cat >> confdefs.h
<<\EOF
19594 #define wxUSE_CMDLINE_PARSER 1
19599 if test "$wxUSE_STOPWATCH" = "yes"; then
19600 cat >> confdefs.h
<<\EOF
19601 #define wxUSE_STOPWATCH 1
19606 if test "$wxUSE_DATETIME" = "yes"; then
19607 cat >> confdefs.h
<<\EOF
19608 #define wxUSE_DATETIME 1
19613 if test "$wxUSE_TIMEDATE" = "yes"; then
19614 cat >> confdefs.h
<<\EOF
19615 #define wxUSE_TIMEDATE 1
19620 if test "$wxUSE_FILE" = "yes"; then
19621 cat >> confdefs.h
<<\EOF
19622 #define wxUSE_FILE 1
19627 if test "$wxUSE_FFILE" = "yes"; then
19628 cat >> confdefs.h
<<\EOF
19629 #define wxUSE_FFILE 1
19634 if test "$wxUSE_FILESYSTEM" = "yes"; then
19635 cat >> confdefs.h
<<\EOF
19636 #define wxUSE_FILESYSTEM 1
19641 if test "$wxUSE_FS_INET" = "yes"; then
19642 cat >> confdefs.h
<<\EOF
19643 #define wxUSE_FS_INET 1
19648 if test "$wxUSE_FS_ZIP" = "yes"; then
19649 cat >> confdefs.h
<<\EOF
19650 #define wxUSE_FS_ZIP 1
19655 if test "$wxUSE_ZIPSTREAM" = "yes"; then
19656 cat >> confdefs.h
<<\EOF
19657 #define wxUSE_ZIPSTREAM 1
19662 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
19663 cat >> confdefs.h
<<\EOF
19664 #define wxUSE_ON_FATAL_EXCEPTION 1
19669 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
19670 cat >> confdefs.h
<<\EOF
19671 #define wxUSE_SNGLINST_CHECKER 1
19676 if test "$wxUSE_BUSYINFO" = "yes"; then
19677 cat >> confdefs.h
<<\EOF
19678 #define wxUSE_BUSYINFO 1
19683 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
19684 cat >> confdefs.h
<<\EOF
19685 #define wxUSE_STD_IOSTREAM 1
19690 if test "$wxUSE_TEXTBUFFER" = "yes"; then
19691 cat >> confdefs.h
<<\EOF
19692 #define wxUSE_TEXTBUFFER 1
19697 if test "$wxUSE_TEXTFILE" = "yes"; then
19698 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
19699 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
19701 cat >> confdefs.h
<<\EOF
19702 #define wxUSE_TEXTFILE 1
19708 if test "$wxUSE_CONFIG" = "yes" ; then
19709 if test "$wxUSE_TEXTFILE" != "yes"; then
19710 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
19712 cat >> confdefs.h
<<\EOF
19713 #define wxUSE_CONFIG 1
19716 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
19720 if test "$wxUSE_INTL" = "yes" ; then
19721 if test "$wxUSE_FILE" != "yes"; then
19722 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
19724 cat >> confdefs.h
<<\EOF
19725 #define wxUSE_INTL 1
19728 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
19729 GUIDIST
="$GUIDIST INTL_DIST"
19733 if test "$wxUSE_LOG" = "yes"; then
19734 cat >> confdefs.h
<<\EOF
19735 #define wxUSE_LOG 1
19739 if test "$wxUSE_LOGGUI" = "yes"; then
19740 cat >> confdefs.h
<<\EOF
19741 #define wxUSE_LOGGUI 1
19746 if test "$wxUSE_LOGWINDOW" = "yes"; then
19747 cat >> confdefs.h
<<\EOF
19748 #define wxUSE_LOGWINDOW 1
19753 if test "$wxUSE_LOGDIALOG" = "yes"; then
19754 cat >> confdefs.h
<<\EOF
19755 #define wxUSE_LOG_DIALOG 1
19761 if test "$wxUSE_LONGLONG" = "yes"; then
19762 cat >> confdefs.h
<<\EOF
19763 #define wxUSE_LONGLONG 1
19768 if test "$wxUSE_GEOMETRY" = "yes"; then
19769 cat >> confdefs.h
<<\EOF
19770 #define wxUSE_GEOMETRY 1
19775 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
19776 cat >> confdefs.h
<<\EOF
19777 #define wxUSE_DIALUP_MANAGER 1
19780 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
19783 if test "$wxUSE_STREAMS" = "yes" ; then
19784 cat >> confdefs.h
<<\EOF
19785 #define wxUSE_STREAMS 1
19791 if test "$wxUSE_DATETIME" = "yes"; then
19792 for ac_func
in strptime
19794 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19795 echo "configure:19796: checking for $ac_func" >&5
19796 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19797 echo $ac_n "(cached) $ac_c" 1>&6
19799 cat > conftest.
$ac_ext <<EOF
19800 #line 19801 "configure"
19801 #include "confdefs.h"
19802 /* System header to define __stub macros and hopefully few prototypes,
19803 which can conflict with char $ac_func(); below. */
19804 #include <assert.h>
19805 /* Override any gcc2 internal prototype to avoid an error. */
19806 /* We use char because int might match the return type of a gcc2
19807 builtin and then its argument prototype would still apply. */
19812 /* The GNU C library defines this for functions which it implements
19813 to always fail with ENOSYS. Some functions are actually named
19814 something starting with __ and the normal name is an alias. */
19815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19823 if { (eval echo configure
:19824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19825 eval "ac_cv_func_$ac_func=yes"
19827 echo "configure: failed program was:" >&5
19828 cat conftest.
$ac_ext >&5
19830 eval "ac_cv_func_$ac_func=no"
19835 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19836 echo "$ac_t""yes" 1>&6
19837 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19838 cat >> confdefs.h
<<EOF
19839 #define $ac_tr_func 1
19843 echo "$ac_t""no" 1>&6
19848 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
19849 echo "configure:19850: checking for timezone variable in <time.h>" >&5
19850 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
19851 echo $ac_n "(cached) $ac_c" 1>&6
19854 cat > conftest.
$ac_ext <<EOF
19855 #line 19856 "configure"
19856 #include "confdefs.h"
19867 if { (eval echo configure
:19868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19870 wx_cv_var_timezone
=timezone
19873 echo "configure: failed program was:" >&5
19874 cat conftest.
$ac_ext >&5
19877 cat > conftest.
$ac_ext <<EOF
19878 #line 19879 "configure"
19879 #include "confdefs.h"
19890 if { (eval echo configure
:19891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19893 wx_cv_var_timezone
=_timezone
19896 echo "configure: failed program was:" >&5
19897 cat conftest.
$ac_ext >&5
19900 cat > conftest.
$ac_ext <<EOF
19901 #line 19902 "configure"
19902 #include "confdefs.h"
19913 if { (eval echo configure
:19914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19916 wx_cv_var_timezone
=__timezone
19919 echo "configure: failed program was:" >&5
19920 cat conftest.
$ac_ext >&5
19923 if test "$USE_DOS" = 0 ; then
19924 echo "configure: warning: no timezone variable" 1>&2
19942 echo "$ac_t""$wx_cv_var_timezone" 1>&6
19944 if test "x$wx_cv_var_timezone" != x
; then
19945 cat >> confdefs.h
<<EOF
19946 #define WX_TIMEZONE $wx_cv_var_timezone
19951 for ac_func
in localtime
19953 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19954 echo "configure:19955: checking for $ac_func" >&5
19955 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19956 echo $ac_n "(cached) $ac_c" 1>&6
19958 cat > conftest.
$ac_ext <<EOF
19959 #line 19960 "configure"
19960 #include "confdefs.h"
19961 /* System header to define __stub macros and hopefully few prototypes,
19962 which can conflict with char $ac_func(); below. */
19963 #include <assert.h>
19964 /* Override any gcc2 internal prototype to avoid an error. */
19965 /* We use char because int might match the return type of a gcc2
19966 builtin and then its argument prototype would still apply. */
19971 /* The GNU C library defines this for functions which it implements
19972 to always fail with ENOSYS. Some functions are actually named
19973 something starting with __ and the normal name is an alias. */
19974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19982 if { (eval echo configure
:19983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19984 eval "ac_cv_func_$ac_func=yes"
19986 echo "configure: failed program was:" >&5
19987 cat conftest.
$ac_ext >&5
19989 eval "ac_cv_func_$ac_func=no"
19994 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19995 echo "$ac_t""yes" 1>&6
19996 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19997 cat >> confdefs.h
<<EOF
19998 #define $ac_tr_func 1
20002 echo "$ac_t""no" 1>&6
20007 if test "$ac_cv_func_localtime" = "yes"; then
20008 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
20009 echo "configure:20010: checking for tm_gmtoff in struct tm" >&5
20010 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
20011 echo $ac_n "(cached) $ac_c" 1>&6
20014 cat > conftest.
$ac_ext <<EOF
20015 #line 20016 "configure"
20016 #include "confdefs.h"
20027 if { (eval echo configure
:20028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20030 wx_cv_struct_tm_has_gmtoff
=yes
20033 echo "configure: failed program was:" >&5
20034 cat conftest.
$ac_ext >&5
20036 wx_cv_struct_tm_has_gmtoff
=no
20043 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
20046 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
20047 cat >> confdefs.h
<<\EOF
20048 #define WX_GMTOFF_IN_TM 1
20053 for ac_func
in gettimeofday ftime
20055 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20056 echo "configure:20057: checking for $ac_func" >&5
20057 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20058 echo $ac_n "(cached) $ac_c" 1>&6
20060 cat > conftest.
$ac_ext <<EOF
20061 #line 20062 "configure"
20062 #include "confdefs.h"
20063 /* System header to define __stub macros and hopefully few prototypes,
20064 which can conflict with char $ac_func(); below. */
20065 #include <assert.h>
20066 /* Override any gcc2 internal prototype to avoid an error. */
20067 /* We use char because int might match the return type of a gcc2
20068 builtin and then its argument prototype would still apply. */
20073 /* The GNU C library defines this for functions which it implements
20074 to always fail with ENOSYS. Some functions are actually named
20075 something starting with __ and the normal name is an alias. */
20076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20084 if { (eval echo configure
:20085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20086 eval "ac_cv_func_$ac_func=yes"
20088 echo "configure: failed program was:" >&5
20089 cat conftest.
$ac_ext >&5
20091 eval "ac_cv_func_$ac_func=no"
20096 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20097 echo "$ac_t""yes" 1>&6
20098 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20099 cat >> confdefs.h
<<EOF
20100 #define $ac_tr_func 1
20104 echo "$ac_t""no" 1>&6
20109 if test "$ac_cv_func_gettimeofday" = "yes"; then
20110 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
20111 echo "configure:20112: checking whether gettimeofday takes two arguments" >&5
20112 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
20113 echo $ac_n "(cached) $ac_c" 1>&6
20118 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20119 ac_cpp
='$CXXCPP $CPPFLAGS'
20120 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20121 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20122 cross_compiling
=$ac_cv_prog_cxx_cross
20125 cat > conftest.
$ac_ext <<EOF
20126 #line 20127 "configure"
20127 #include "confdefs.h"
20129 #include <sys/time.h>
20130 #include <unistd.h>
20135 gettimeofday(&tv, NULL);
20139 if { (eval echo configure
:20140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20141 wx_cv_func_gettimeofday_has_2_args
=yes
20143 echo "configure: failed program was:" >&5
20144 cat conftest.
$ac_ext >&5
20146 cat > conftest.
$ac_ext <<EOF
20147 #line 20148 "configure"
20148 #include "confdefs.h"
20150 #include <sys/time.h>
20151 #include <unistd.h>
20160 if { (eval echo configure
:20161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20162 wx_cv_func_gettimeofday_has_2_args
=no
20164 echo "configure: failed program was:" >&5
20165 cat conftest.
$ac_ext >&5
20168 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
20169 wx_cv_func_gettimeofday_has_2_args
=unknown
20178 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20179 ac_cpp
='$CPP $CPPFLAGS'
20180 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20181 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20182 cross_compiling
=$ac_cv_prog_cc_cross
20187 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
20189 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
20190 cat >> confdefs.h
<<\EOF
20191 #define WX_GETTIMEOFDAY_NO_TZ 1
20197 cat >> confdefs.h
<<\EOF
20198 #define wxUSE_TIMEDATE 1
20201 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
20205 if test "$wxUSE_SOCKETS" = "yes"; then
20206 if test "$wxUSE_MGL" = "1"; then
20207 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
20212 if test "$wxUSE_SOCKETS" = "yes"; then
20213 if test "$TOOLKIT" != "MSW"; then
20214 echo $ac_n "checking for socket""... $ac_c" 1>&6
20215 echo "configure:20216: checking for socket" >&5
20216 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
20217 echo $ac_n "(cached) $ac_c" 1>&6
20219 cat > conftest.
$ac_ext <<EOF
20220 #line 20221 "configure"
20221 #include "confdefs.h"
20222 /* System header to define __stub macros and hopefully few prototypes,
20223 which can conflict with char socket(); below. */
20224 #include <assert.h>
20225 /* Override any gcc2 internal prototype to avoid an error. */
20226 /* We use char because int might match the return type of a gcc2
20227 builtin and then its argument prototype would still apply. */
20232 /* The GNU C library defines this for functions which it implements
20233 to always fail with ENOSYS. Some functions are actually named
20234 something starting with __ and the normal name is an alias. */
20235 #if defined (__stub_socket) || defined (__stub___socket)
20243 if { (eval echo configure
:20244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20245 eval "ac_cv_func_socket=yes"
20247 echo "configure: failed program was:" >&5
20248 cat conftest.
$ac_ext >&5
20250 eval "ac_cv_func_socket=no"
20255 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
20256 echo "$ac_t""yes" 1>&6
20259 echo "$ac_t""no" 1>&6
20260 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
20261 echo "configure:20262: checking for socket in -lsocket" >&5
20262 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
20263 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20264 echo $ac_n "(cached) $ac_c" 1>&6
20266 ac_save_LIBS
="$LIBS"
20267 LIBS
="-lsocket $LIBS"
20268 cat > conftest.
$ac_ext <<EOF
20269 #line 20270 "configure"
20270 #include "confdefs.h"
20271 /* Override any gcc2 internal prototype to avoid an error. */
20272 /* We use char because int might match the return type of a gcc2
20273 builtin and then its argument prototype would still apply. */
20280 if { (eval echo configure
:20281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20282 eval "ac_cv_lib_$ac_lib_var=yes"
20284 echo "configure: failed program was:" >&5
20285 cat conftest.
$ac_ext >&5
20287 eval "ac_cv_lib_$ac_lib_var=no"
20290 LIBS
="$ac_save_LIBS"
20293 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20294 echo "$ac_t""yes" 1>&6
20295 if test "$INET_LINK" != " -lsocket"; then
20296 INET_LINK
="$INET_LINK -lsocket"
20299 echo "$ac_t""no" 1>&6
20301 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
20313 if test "$wxUSE_SOCKETS" = "yes" ; then
20314 if test "$TOOLKIT" != "MSW"; then
20315 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
20316 echo "configure:20317: checking what is the type of the third argument of getsockname" >&5
20317 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
20318 echo $ac_n "(cached) $ac_c" 1>&6
20323 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20324 ac_cpp
='$CXXCPP $CPPFLAGS'
20325 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20326 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20327 cross_compiling
=$ac_cv_prog_cxx_cross
20330 cat > conftest.
$ac_ext <<EOF
20331 #line 20332 "configure"
20332 #include "confdefs.h"
20334 #include <sys/types.h>
20335 #include <sys/socket.h>
20340 getsockname(0, 0, &len);
20344 if { (eval echo configure
:20345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20346 wx_cv_type_getsockname3
=socklen_t
20348 echo "configure: failed program was:" >&5
20349 cat conftest.
$ac_ext >&5
20351 cat > conftest.
$ac_ext <<EOF
20352 #line 20353 "configure"
20353 #include "confdefs.h"
20355 #include <sys/types.h>
20356 #include <sys/socket.h>
20361 getsockname(0, 0, &len);
20365 if { (eval echo configure
:20366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20367 wx_cv_type_getsockname3
=size_t
20369 echo "configure: failed program was:" >&5
20370 cat conftest.
$ac_ext >&5
20372 cat > conftest.
$ac_ext <<EOF
20373 #line 20374 "configure"
20374 #include "confdefs.h"
20376 #include <sys/types.h>
20377 #include <sys/socket.h>
20382 getsockname(0, 0, &len);
20386 if { (eval echo configure
:20387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20388 wx_cv_type_getsockname3
=int
20390 echo "configure: failed program was:" >&5
20391 cat conftest.
$ac_ext >&5
20393 wx_cv_type_getsockname3
=unknown
20405 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20406 ac_cpp
='$CPP $CPPFLAGS'
20407 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20408 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20409 cross_compiling
=$ac_cv_prog_cc_cross
20414 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
20416 if test "$wx_cv_type_getsockname3" = "unknown"; then
20418 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
20420 cat >> confdefs.h
<<EOF
20421 #define SOCKLEN_T $wx_cv_type_getsockname3
20428 if test "$wxUSE_SOCKETS" = "yes" ; then
20429 cat >> confdefs.h
<<\EOF
20430 #define wxUSE_SOCKETS 1
20433 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
20437 if test "$wxUSE_GUI" = "yes"; then
20439 if test "$TOOLKIT" = "MAC"; then
20440 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
20443 if test "$TOOLKIT" = "MOTIF"; then
20444 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
20447 if test "$TOOLKIT" = "X11"; then
20448 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
20452 if test "$TOOLKIT" != "MSW"; then
20453 if test "$wxUSE_JOYSTICK" = "yes"; then
20454 for ac_hdr
in linux
/joystick.h
20456 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20457 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20458 echo "configure:20459: checking for $ac_hdr" >&5
20459 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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"
20467 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20468 { (eval echo configure
:20469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20469 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20470 if test -z "$ac_err"; then
20472 eval "ac_cv_header_$ac_safe=yes"
20475 echo "configure: failed program was:" >&5
20476 cat conftest.
$ac_ext >&5
20478 eval "ac_cv_header_$ac_safe=no"
20482 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20483 echo "$ac_t""yes" 1>&6
20484 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20485 cat >> confdefs.h
<<EOF
20486 #define $ac_tr_hdr 1
20490 echo "$ac_t""no" 1>&6
20494 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
20496 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
20501 if test "$wxUSE_JOYSTICK" = "yes"; then
20502 cat >> confdefs.h
<<\EOF
20503 #define wxUSE_JOYSTICK 1
20506 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
20511 if test "$TOOLKIT" != "MSW"; then
20515 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20516 if test "$USE_DARWIN" = 1; then
20519 for ac_func
in dlopen
20521 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20522 echo "configure:20523: checking for $ac_func" >&5
20523 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20524 echo $ac_n "(cached) $ac_c" 1>&6
20526 cat > conftest.
$ac_ext <<EOF
20527 #line 20528 "configure"
20528 #include "confdefs.h"
20529 /* System header to define __stub macros and hopefully few prototypes,
20530 which can conflict with char $ac_func(); below. */
20531 #include <assert.h>
20532 /* Override any gcc2 internal prototype to avoid an error. */
20533 /* We use char because int might match the return type of a gcc2
20534 builtin and then its argument prototype would still apply. */
20539 /* The GNU C library defines this for functions which it implements
20540 to always fail with ENOSYS. Some functions are actually named
20541 something starting with __ and the normal name is an alias. */
20542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20550 if { (eval echo configure
:20551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20552 eval "ac_cv_func_$ac_func=yes"
20554 echo "configure: failed program was:" >&5
20555 cat conftest.
$ac_ext >&5
20557 eval "ac_cv_func_$ac_func=no"
20562 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20563 echo "$ac_t""yes" 1>&6
20564 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20565 cat >> confdefs.h
<<EOF
20566 #define $ac_tr_func 1
20569 cat >> confdefs.h
<<\EOF
20570 #define HAVE_DLOPEN 1
20576 echo "$ac_t""no" 1>&6
20577 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
20578 echo "configure:20579: checking for dlopen in -ldl" >&5
20579 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
20580 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20581 echo $ac_n "(cached) $ac_c" 1>&6
20583 ac_save_LIBS
="$LIBS"
20585 cat > conftest.
$ac_ext <<EOF
20586 #line 20587 "configure"
20587 #include "confdefs.h"
20588 /* Override any gcc2 internal prototype to avoid an error. */
20589 /* We use char because int might match the return type of a gcc2
20590 builtin and then its argument prototype would still apply. */
20597 if { (eval echo configure
:20598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20599 eval "ac_cv_lib_$ac_lib_var=yes"
20601 echo "configure: failed program was:" >&5
20602 cat conftest.
$ac_ext >&5
20604 eval "ac_cv_lib_$ac_lib_var=no"
20607 LIBS
="$ac_save_LIBS"
20610 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20611 echo "$ac_t""yes" 1>&6
20613 cat >> confdefs.h
<<\EOF
20614 #define HAVE_DLOPEN 1
20618 DL_LINK
=" -ldl$DL_LINK"
20621 echo "$ac_t""no" 1>&6
20623 for ac_func
in shl_load
20625 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20626 echo "configure:20627: checking for $ac_func" >&5
20627 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20628 echo $ac_n "(cached) $ac_c" 1>&6
20630 cat > conftest.
$ac_ext <<EOF
20631 #line 20632 "configure"
20632 #include "confdefs.h"
20633 /* System header to define __stub macros and hopefully few prototypes,
20634 which can conflict with char $ac_func(); below. */
20635 #include <assert.h>
20636 /* Override any gcc2 internal prototype to avoid an error. */
20637 /* We use char because int might match the return type of a gcc2
20638 builtin and then its argument prototype would still apply. */
20643 /* The GNU C library defines this for functions which it implements
20644 to always fail with ENOSYS. Some functions are actually named
20645 something starting with __ and the normal name is an alias. */
20646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20654 if { (eval echo configure
:20655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20656 eval "ac_cv_func_$ac_func=yes"
20658 echo "configure: failed program was:" >&5
20659 cat conftest.
$ac_ext >&5
20661 eval "ac_cv_func_$ac_func=no"
20666 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20667 echo "$ac_t""yes" 1>&6
20668 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20669 cat >> confdefs.h
<<EOF
20670 #define $ac_tr_func 1
20673 cat >> confdefs.h
<<\EOF
20674 #define HAVE_SHL_LOAD 1
20680 echo "$ac_t""no" 1>&6
20681 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
20682 echo "configure:20683: checking for dld in -lshl_load" >&5
20683 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
20684 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20685 echo $ac_n "(cached) $ac_c" 1>&6
20687 ac_save_LIBS
="$LIBS"
20688 LIBS
="-lshl_load $LIBS"
20689 cat > conftest.
$ac_ext <<EOF
20690 #line 20691 "configure"
20691 #include "confdefs.h"
20692 /* Override any gcc2 internal prototype to avoid an error. */
20693 /* We use char because int might match the return type of a gcc2
20694 builtin and then its argument prototype would still apply. */
20701 if { (eval echo configure
:20702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20703 eval "ac_cv_lib_$ac_lib_var=yes"
20705 echo "configure: failed program was:" >&5
20706 cat conftest.
$ac_ext >&5
20708 eval "ac_cv_lib_$ac_lib_var=no"
20711 LIBS
="$ac_save_LIBS"
20714 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20715 echo "$ac_t""yes" 1>&6
20718 DL_LINK
=" -ldld$DL_LINK"
20721 echo "$ac_t""no" 1>&6
20736 if test "$HAVE_DL_FUNCS" = 1; then
20737 for ac_func
in dlerror
20739 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20740 echo "configure:20741: checking for $ac_func" >&5
20741 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20742 echo $ac_n "(cached) $ac_c" 1>&6
20744 cat > conftest.
$ac_ext <<EOF
20745 #line 20746 "configure"
20746 #include "confdefs.h"
20747 /* System header to define __stub macros and hopefully few prototypes,
20748 which can conflict with char $ac_func(); below. */
20749 #include <assert.h>
20750 /* Override any gcc2 internal prototype to avoid an error. */
20751 /* We use char because int might match the return type of a gcc2
20752 builtin and then its argument prototype would still apply. */
20757 /* The GNU C library defines this for functions which it implements
20758 to always fail with ENOSYS. Some functions are actually named
20759 something starting with __ and the normal name is an alias. */
20760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20768 if { (eval echo configure
:20769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20770 eval "ac_cv_func_$ac_func=yes"
20772 echo "configure: failed program was:" >&5
20773 cat conftest.
$ac_ext >&5
20775 eval "ac_cv_func_$ac_func=no"
20780 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20781 echo "$ac_t""yes" 1>&6
20782 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20783 cat >> confdefs.h
<<EOF
20784 #define $ac_tr_func 1
20786 cat >> confdefs.h
<<\EOF
20787 #define HAVE_DLERROR 1
20791 echo "$ac_t""no" 1>&6
20792 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
20793 echo "configure:20794: checking for dlerror in -ldl" >&5
20794 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
20795 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20796 echo $ac_n "(cached) $ac_c" 1>&6
20798 ac_save_LIBS
="$LIBS"
20800 cat > conftest.
$ac_ext <<EOF
20801 #line 20802 "configure"
20802 #include "confdefs.h"
20803 /* Override any gcc2 internal prototype to avoid an error. */
20804 /* We use char because int might match the return type of a gcc2
20805 builtin and then its argument prototype would still apply. */
20812 if { (eval echo configure
:20813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20814 eval "ac_cv_lib_$ac_lib_var=yes"
20816 echo "configure: failed program was:" >&5
20817 cat conftest.
$ac_ext >&5
20819 eval "ac_cv_lib_$ac_lib_var=no"
20822 LIBS
="$ac_save_LIBS"
20825 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20826 echo "$ac_t""yes" 1>&6
20827 cat >> confdefs.h
<<\EOF
20828 #define HAVE_DLERROR 1
20832 echo "$ac_t""no" 1>&6
20841 if test "$HAVE_DL_FUNCS" = 0; then
20842 if test "$HAVE_SHL_FUNCS" = 0; then
20843 if test "$USE_UNIX" = 1; then
20844 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
20845 wxUSE_DYNAMIC_LOADER
=no
20846 wxUSE_DYNLIB_CLASS
=no
20848 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
20855 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
20856 cat >> confdefs.h
<<\EOF
20857 #define wxUSE_DYNAMIC_LOADER 1
20860 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20861 cat >> confdefs.h
<<\EOF
20862 #define wxUSE_DYNLIB_CLASS 1
20868 if test "$wxUSE_FONTMAP" = "yes" ; then
20869 cat >> confdefs.h
<<\EOF
20870 #define wxUSE_FONTMAP 1
20875 if test "$wxUSE_UNICODE" = "yes" ; then
20876 cat >> confdefs.h
<<\EOF
20877 #define wxUSE_UNICODE 1
20881 if test "$wxUSE_MSW" != 1; then
20882 wxUSE_UNICODE_MSLU
=no
20885 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
20886 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
20887 echo "configure:20888: checking for main in -lunicows" >&5
20888 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
20889 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20890 echo $ac_n "(cached) $ac_c" 1>&6
20892 ac_save_LIBS
="$LIBS"
20893 LIBS
="-lunicows $LIBS"
20894 cat > conftest.
$ac_ext <<EOF
20895 #line 20896 "configure"
20896 #include "confdefs.h"
20902 if { (eval echo configure
:20903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20904 eval "ac_cv_lib_$ac_lib_var=yes"
20906 echo "configure: failed program was:" >&5
20907 cat conftest.
$ac_ext >&5
20909 eval "ac_cv_lib_$ac_lib_var=no"
20912 LIBS
="$ac_save_LIBS"
20915 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20916 echo "$ac_t""yes" 1>&6
20918 cat >> confdefs.h
<<\EOF
20919 #define wxUSE_UNICODE_MSLU 1
20924 echo "$ac_t""no" 1>&6
20926 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
20927 Applications will only run on Windows NT/2000/XP!" 1>&2
20928 wxUSE_UNICODE_MSLU
=no
20935 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
20936 cat >> confdefs.h
<<\EOF
20937 #define wxUSE_EXPERIMENTAL_PRINTF 1
20945 if test "$wxUSE_ODBC" = "yes" ; then
20946 cat >> confdefs.h
<<\EOF
20947 #define wxUSE_ODBC 1
20950 WXODBCFLAG
="-D_IODBC_"
20951 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
20955 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
20956 cat >> confdefs.h
<<\EOF
20957 #define wxUSE_POSTSCRIPT 1
20962 cat >> confdefs.h
<<\EOF
20963 #define wxUSE_AFM_FOR_POSTSCRIPT 1
20967 cat >> confdefs.h
<<\EOF
20968 #define wxUSE_NORMALIZED_PS_FONTS 1
20973 if test "$wxUSE_CONSTRAINTS" = "yes"; then
20974 cat >> confdefs.h
<<\EOF
20975 #define wxUSE_CONSTRAINTS 1
20978 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
20981 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20984 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20985 cat >> confdefs.h
<<\EOF
20986 #define wxUSE_MDI_ARCHITECTURE 1
20989 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
20993 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
20994 cat >> confdefs.h
<<\EOF
20995 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
20998 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
20999 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21000 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
21004 if test "$wxUSE_HELP" = "yes"; then
21005 cat >> confdefs.h
<<\EOF
21006 #define wxUSE_HELP 1
21009 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
21011 if test "$wxUSE_MSW" = 1; then
21012 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
21013 cat >> confdefs.h
<<\EOF
21014 #define wxUSE_MS_HTML_HELP 1
21020 if test "$wxUSE_WXHTML_HELP" = "yes"; then
21021 if test "$wxUSE_HTML" = "yes"; then
21022 cat >> confdefs.h
<<\EOF
21023 #define wxUSE_WXHTML_HELP 1
21027 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
21028 wxUSE_WXHTML_HELP
=no
21033 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21034 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21035 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
21037 cat >> confdefs.h
<<\EOF
21038 #define wxUSE_PRINTING_ARCHITECTURE 1
21042 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
21045 if test "$wxUSE_PROLOGIO" = "yes" ; then
21046 cat >> confdefs.h
<<\EOF
21047 #define wxUSE_PROLOGIO 1
21050 ALL_OBJECTS
="$ALL_OBJECTS parser.o"
21053 if test "$wxUSE_RESOURCES" = "yes" ; then
21054 if test "$wxUSE_NANOX" = "yes"; then
21055 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
21057 cat >> confdefs.h
<<\EOF
21058 #define wxUSE_RESOURCES 1
21061 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
21063 if test "$wxUSE_PROLOGIO" != "yes" ; then
21064 ALL_OBJECTS
="$ALL_OBJECTS parser.o"
21068 if test "$wxUSE_X_RESOURCES" = "yes"; then
21069 cat >> confdefs.h
<<\EOF
21070 #define wxUSE_X_RESOURCES 1
21076 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
21077 -o "$wxUSE_CLIPBOARD" = "yes" \
21078 -o "$wxUSE_OLE" = "yes" \
21079 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
21080 for ac_hdr
in ole2.h
21082 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21083 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21084 echo "configure:21085: checking for $ac_hdr" >&5
21085 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21086 echo $ac_n "(cached) $ac_c" 1>&6
21088 cat > conftest.
$ac_ext <<EOF
21089 #line 21090 "configure"
21090 #include "confdefs.h"
21093 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21094 { (eval echo configure
:21095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21095 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21096 if test -z "$ac_err"; then
21098 eval "ac_cv_header_$ac_safe=yes"
21101 echo "configure: failed program was:" >&5
21102 cat conftest.
$ac_ext >&5
21104 eval "ac_cv_header_$ac_safe=no"
21108 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21109 echo "$ac_t""yes" 1>&6
21110 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21111 cat >> confdefs.h
<<EOF
21112 #define $ac_tr_hdr 1
21116 echo "$ac_t""no" 1>&6
21121 if test "$ac_cv_header_ole2_h" = "yes" ; then
21122 if test "$GCC" = yes ; then
21125 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21126 ac_cpp
='$CXXCPP $CPPFLAGS'
21127 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21128 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21129 cross_compiling
=$ac_cv_prog_cxx_cross
21132 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
21133 echo "configure:21134: checking if g++ requires -fvtable-thunks" >&5
21134 cat > conftest.
$ac_ext <<EOF
21135 #line 21136 "configure"
21136 #include "confdefs.h"
21137 #include <windows.h>
21143 if { (eval echo configure
:21144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21145 echo "$ac_t""no" 1>&6
21147 echo "configure: failed program was:" >&5
21148 cat conftest.
$ac_ext >&5
21150 echo "$ac_t""yes" 1>&6
21151 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
21155 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21156 ac_cpp
='$CPP $CPPFLAGS'
21157 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21158 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21159 cross_compiling
=$ac_cv_prog_cc_cross
21161 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
21162 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
21163 cat >> confdefs.h
<<\EOF
21164 #define wxUSE_OLE 1
21170 cat >> confdefs.h
<<\EOF
21171 #define wxUSE_DATAOBJ 1
21175 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
21178 wxUSE_DRAG_AND_DROP
=no
21183 if test "$wxUSE_METAFILE" = "yes"; then
21184 cat >> confdefs.h
<<\EOF
21185 #define wxUSE_METAFILE 1
21189 cat >> confdefs.h
<<\EOF
21190 #define wxUSE_ENH_METAFILE 1
21196 if test "$wxUSE_IPC" = "yes"; then
21197 if test "$wxUSE_SOCKETS" != "yes"; then
21198 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
21201 cat >> confdefs.h
<<\EOF
21202 #define wxUSE_IPC 1
21207 if test "$wxUSE_CLIPBOARD" = "yes"; then
21208 if test "$wxUSE_MGL" = 1; then
21209 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
21213 if test "$wxUSE_CLIPBOARD" = "yes"; then
21214 cat >> confdefs.h
<<\EOF
21215 #define wxUSE_CLIPBOARD 1
21219 cat >> confdefs.h
<<\EOF
21220 #define wxUSE_DATAOBJ 1
21226 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
21227 if test "$wxUSE_GTK" = 1; then
21228 if test "$WXGTK12" != 1; then
21229 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
21230 wxUSE_DRAG_AND_DROP
=no
21234 if test "$wxUSE_MOTIF" = 1; then
21235 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
21236 wxUSE_DRAG_AND_DROP
=no
21239 if test "$wxUSE_X11" = 1; then
21240 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
21241 wxUSE_DRAG_AND_DROP
=no
21244 if test "$wxUSE_MGL" = 1; then
21245 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
21246 wxUSE_DRAG_AND_DROP
=no
21249 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
21250 cat >> confdefs.h
<<\EOF
21251 #define wxUSE_DRAG_AND_DROP 1
21254 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
21259 if test "$wxUSE_SPLINES" = "yes" ; then
21260 cat >> confdefs.h
<<\EOF
21261 #define wxUSE_SPLINES 1
21268 if test "$wxUSE_CONTROLS" = "yes"; then
21272 if test "$wxUSE_ACCEL" = "yes"; then
21273 cat >> confdefs.h
<<\EOF
21274 #define wxUSE_ACCEL 1
21280 if test "$wxUSE_BUTTON" = "yes"; then
21281 cat >> confdefs.h
<<\EOF
21282 #define wxUSE_BUTTON 1
21288 if test "$wxUSE_BMPBUTTON" = "yes"; then
21289 cat >> confdefs.h
<<\EOF
21290 #define wxUSE_BMPBUTTON 1
21296 if test "$wxUSE_CALCTRL" = "yes"; then
21297 cat >> confdefs.h
<<\EOF
21298 #define wxUSE_CALENDARCTRL 1
21302 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
21305 if test "$wxUSE_CARET" = "yes"; then
21306 cat >> confdefs.h
<<\EOF
21307 #define wxUSE_CARET 1
21311 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
21314 if test "$wxUSE_COMBOBOX" = "yes"; then
21315 cat >> confdefs.h
<<\EOF
21316 #define wxUSE_COMBOBOX 1
21322 if test "$wxUSE_CHOICE" = "yes"; then
21323 cat >> confdefs.h
<<\EOF
21324 #define wxUSE_CHOICE 1
21330 if test "$wxUSE_CHECKBOX" = "yes"; then
21331 cat >> confdefs.h
<<\EOF
21332 #define wxUSE_CHECKBOX 1
21338 if test "$wxUSE_CHECKLST" = "yes"; then
21339 cat >> confdefs.h
<<\EOF
21340 #define wxUSE_CHECKLISTBOX 1
21344 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
21347 if test "$wxUSE_DISPLAY" = "yes"; then
21348 cat >> confdefs.h
<<\EOF
21349 #define wxUSE_DISPLAY 1
21352 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
21355 if test "$wxUSE_GAUGE" = "yes"; then
21356 cat >> confdefs.h
<<\EOF
21357 #define wxUSE_GAUGE 1
21363 if test "$wxUSE_NEW_GRID" = "yes"; then
21365 cat >> confdefs.h
<<\EOF
21366 #define wxUSE_NEW_GRID 1
21370 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
21373 if test "$wxUSE_GRID" = "yes"; then
21374 cat >> confdefs.h
<<\EOF
21375 #define wxUSE_GRID 1
21379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
21382 if test "$wxUSE_IMAGLIST" = "yes"; then
21383 cat >> confdefs.h
<<\EOF
21384 #define wxUSE_IMAGLIST 1
21389 if test "$wxUSE_LISTBOX" = "yes"; then
21390 cat >> confdefs.h
<<\EOF
21391 #define wxUSE_LISTBOX 1
21397 if test "$wxUSE_LISTCTRL" = "yes"; then
21398 if test "$wxUSE_IMAGLIST" = "yes"; then
21399 cat >> confdefs.h
<<\EOF
21400 #define wxUSE_LISTCTRL 1
21404 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
21406 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
21410 if test "$wxUSE_NOTEBOOK" = "yes"; then
21411 cat >> confdefs.h
<<\EOF
21412 #define wxUSE_NOTEBOOK 1
21416 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
21419 if test "$wxUSE_PROPSHEET" = "yes"; then
21420 cat >> confdefs.h
<<\EOF
21421 #define wxUSE_PROPSHEET 1
21425 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
21428 if test "$wxUSE_RADIOBOX" = "yes"; then
21429 cat >> confdefs.h
<<\EOF
21430 #define wxUSE_RADIOBOX 1
21436 if test "$wxUSE_RADIOBTN" = "yes"; then
21437 cat >> confdefs.h
<<\EOF
21438 #define wxUSE_RADIOBTN 1
21444 if test "$wxUSE_SASH" = "yes"; then
21445 cat >> confdefs.h
<<\EOF
21446 #define wxUSE_SASH 1
21449 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
21452 if test "$wxUSE_SCROLLBAR" = "yes"; then
21453 cat >> confdefs.h
<<\EOF
21454 #define wxUSE_SCROLLBAR 1
21458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
21461 if test "$wxUSE_SLIDER" = "yes"; then
21462 cat >> confdefs.h
<<\EOF
21463 #define wxUSE_SLIDER 1
21469 if test "$wxUSE_SPINBTN" = "yes"; then
21470 cat >> confdefs.h
<<\EOF
21471 #define wxUSE_SPINBTN 1
21477 if test "$wxUSE_SPINCTRL" = "yes"; then
21478 cat >> confdefs.h
<<\EOF
21479 #define wxUSE_SPINCTRL 1
21485 if test "$wxUSE_SPLITTER" = "yes"; then
21486 cat >> confdefs.h
<<\EOF
21487 #define wxUSE_SPLITTER 1
21490 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
21493 if test "$wxUSE_STATBMP" = "yes"; then
21494 cat >> confdefs.h
<<\EOF
21495 #define wxUSE_STATBMP 1
21501 if test "$wxUSE_STATBOX" = "yes"; then
21502 cat >> confdefs.h
<<\EOF
21503 #define wxUSE_STATBOX 1
21509 if test "$wxUSE_STATTEXT" = "yes"; then
21510 cat >> confdefs.h
<<\EOF
21511 #define wxUSE_STATTEXT 1
21517 if test "$wxUSE_STATLINE" = "yes"; then
21518 cat >> confdefs.h
<<\EOF
21519 #define wxUSE_STATLINE 1
21525 if test "$wxUSE_STATUSBAR" = "yes"; then
21526 cat >> confdefs.h
<<\EOF
21527 #define wxUSE_STATUSBAR 1
21532 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
21535 if test "$wxUSE_TABDIALOG" = "yes"; then
21536 cat >> confdefs.h
<<\EOF
21537 #define wxUSE_TAB_DIALOG 1
21540 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
21543 if test "$wxUSE_TEXTCTRL" = "yes"; then
21544 cat >> confdefs.h
<<\EOF
21545 #define wxUSE_TEXTCTRL 1
21549 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
21552 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21553 if test "$wxUSE_MAC" = 1; then
21554 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
21557 if test "$wxUSE_UNIVERSAL" = "yes"; then
21558 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
21562 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21563 cat >> confdefs.h
<<\EOF
21564 #define wxUSE_TOGGLEBTN 1
21571 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
21572 cat >> confdefs.h
<<\EOF
21573 #define wxUSE_TOOLBAR_SIMPLE 1
21576 wxUSE_TOOLBAR
="yes"
21580 if test "$wxUSE_TOOLBAR" = "yes"; then
21581 cat >> confdefs.h
<<\EOF
21582 #define wxUSE_TOOLBAR 1
21587 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
21588 wxUSE_TOOLBAR_NATIVE
="yes"
21591 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
21592 cat >> confdefs.h
<<\EOF
21593 #define wxUSE_TOOLBAR_NATIVE 1
21599 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
21602 if test "$wxUSE_TOOLTIPS" = "yes"; then
21603 if test "$wxUSE_MOTIF" = 1; then
21604 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
21606 if test "$wxUSE_UNIVERSAL" = "yes"; then
21607 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
21609 cat >> confdefs.h
<<\EOF
21610 #define wxUSE_TOOLTIPS 1
21617 if test "$wxUSE_TREECTRL" = "yes"; then
21618 if test "$wxUSE_IMAGLIST" = "yes"; then
21619 cat >> confdefs.h
<<\EOF
21620 #define wxUSE_TREECTRL 1
21624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
21626 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
21630 if test "$wxUSE_POPUPWIN" = "yes"; then
21631 if test "$wxUSE_MAC" = 1; then
21632 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
21634 if test "$wxUSE_MOTIF" = 1; then
21635 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
21637 if test "$wxUSE_PM" = 1; then
21638 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
21640 cat >> confdefs.h
<<\EOF
21641 #define wxUSE_POPUPWIN 1
21651 if test "$wxUSE_TIPWINDOW" = "yes"; then
21652 if test "$wxUSE_PM" = 1; then
21653 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
21655 cat >> confdefs.h
<<\EOF
21656 #define wxUSE_TIPWINDOW 1
21662 if test "$USES_CONTROLS" = 1; then
21663 cat >> confdefs.h
<<\EOF
21664 #define wxUSE_CONTROLS 1
21670 if test "$wxUSE_TREELAYOUT" = "yes"; then
21671 cat >> confdefs.h
<<\EOF
21672 #define wxUSE_TREELAYOUT 1
21675 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
21678 if test "$wxUSE_DRAGIMAGE" = "yes"; then
21679 cat >> confdefs.h
<<\EOF
21680 #define wxUSE_DRAGIMAGE 1
21683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
21686 if test "$wxUSE_MENUS" = "yes"; then
21687 cat >> confdefs.h
<<\EOF
21688 #define wxUSE_MENUS 1
21691 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
21694 if test "$wxUSE_METAFILE" = "yes"; then
21695 cat >> confdefs.h
<<\EOF
21696 #define wxUSE_METAFILE 1
21701 if test "$wxUSE_MIMETYPE" = "yes"; then
21702 cat >> confdefs.h
<<\EOF
21703 #define wxUSE_MIMETYPE 1
21708 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
21709 cat >> confdefs.h
<<\EOF
21710 #define wxUSE_SYSTEM_OPTIONS 1
21713 if test "$TOOLKIT" = "MSW"; then
21714 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
21719 if test "$wxUSE_PROTOCOL" = "yes"; then
21720 if test "$wxUSE_SOCKETS" != "yes"; then
21721 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
21725 if test "$wxUSE_PROTOCOL" = "yes"; then
21726 cat >> confdefs.h
<<\EOF
21727 #define wxUSE_PROTOCOL 1
21731 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
21732 cat >> confdefs.h
<<\EOF
21733 #define wxUSE_PROTOCOL_HTTP 1
21737 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
21738 cat >> confdefs.h
<<\EOF
21739 #define wxUSE_PROTOCOL_FTP 1
21743 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
21744 cat >> confdefs.h
<<\EOF
21745 #define wxUSE_PROTOCOL_FILE 1
21752 if test "$wxUSE_URL" = "yes"; then
21753 if test "$wxUSE_PROTOCOL" != "yes"; then
21754 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
21757 if test "$wxUSE_URL" = "yes"; then
21758 cat >> confdefs.h
<<\EOF
21759 #define wxUSE_URL 1
21765 if test "$wxUSE_MINIFRAME" = "yes"; then
21766 cat >> confdefs.h
<<\EOF
21767 #define wxUSE_MINIFRAME 1
21770 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
21773 if test "$wxUSE_HTML" = "yes"; then
21774 cat >> confdefs.h
<<\EOF
21775 #define wxUSE_HTML 1
21778 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
21781 if test "$wxUSE_VALIDATORS" = "yes"; then
21782 cat >> confdefs.h
<<\EOF
21783 #define wxUSE_VALIDATORS 1
21786 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
21789 if test "$wxUSE_PALETTE" = "yes" ; then
21790 cat >> confdefs.h
<<\EOF
21791 #define wxUSE_PALETTE 1
21796 if test "$wxUSE_IMAGE" = "yes" ; then
21797 cat >> confdefs.h
<<\EOF
21798 #define wxUSE_IMAGE 1
21803 if test "$wxUSE_GIF" = "yes" ; then
21804 cat >> confdefs.h
<<\EOF
21805 #define wxUSE_GIF 1
21810 if test "$wxUSE_PCX" = "yes" ; then
21811 cat >> confdefs.h
<<\EOF
21812 #define wxUSE_PCX 1
21817 if test "$wxUSE_IFF" = "yes" ; then
21818 cat >> confdefs.h
<<\EOF
21819 #define wxUSE_IFF 1
21824 if test "$wxUSE_PNM" = "yes" ; then
21825 cat >> confdefs.h
<<\EOF
21826 #define wxUSE_PNM 1
21831 if test "$wxUSE_XPM" = "yes" ; then
21832 cat >> confdefs.h
<<\EOF
21833 #define wxUSE_XPM 1
21838 if test "$wxUSE_ICO_CUR" = "yes" ; then
21839 cat >> confdefs.h
<<\EOF
21840 #define wxUSE_ICO_CUR 1
21845 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
21846 LIBS
=" -lunicows $LIBS"
21850 if test "$wxUSE_CHOICEDLG" = "yes"; then
21851 cat >> confdefs.h
<<\EOF
21852 #define wxUSE_CHOICEDLG 1
21857 if test "$wxUSE_COLOURDLG" = "yes"; then
21858 cat >> confdefs.h
<<\EOF
21859 #define wxUSE_COLOURDLG 1
21864 if test "$wxUSE_FILEDLG" = "yes"; then
21865 cat >> confdefs.h
<<\EOF
21866 #define wxUSE_FILEDLG 1
21871 if test "$wxUSE_FINDREPLDLG" = "yes"; then
21872 cat >> confdefs.h
<<\EOF
21873 #define wxUSE_FINDREPLDLG 1
21878 if test "$wxUSE_FONTDLG" = "yes"; then
21879 cat >> confdefs.h
<<\EOF
21880 #define wxUSE_FONTDLG 1
21885 if test "$wxUSE_DIRDLG" = "yes"; then
21886 if test "$wxUSE_TREECTRL" != "yes"; then
21887 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
21889 cat >> confdefs.h
<<\EOF
21890 #define wxUSE_DIRDLG 1
21896 if test "$wxUSE_MSGDLG" = "yes"; then
21897 cat >> confdefs.h
<<\EOF
21898 #define wxUSE_MSGDLG 1
21903 if test "$wxUSE_NUMBERDLG" = "yes"; then
21904 cat >> confdefs.h
<<\EOF
21905 #define wxUSE_NUMBERDLG 1
21910 if test "$wxUSE_PROGRESSDLG" = "yes"; then
21911 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21912 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
21914 cat >> confdefs.h
<<\EOF
21915 #define wxUSE_PROGRESSDLG 1
21921 if test "$wxUSE_SPLASH" = "yes"; then
21922 cat >> confdefs.h
<<\EOF
21923 #define wxUSE_SPLASH 1
21928 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
21929 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21930 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
21932 cat >> confdefs.h
<<\EOF
21933 #define wxUSE_STARTUP_TIPS 1
21939 if test "$wxUSE_TEXTDLG" = "yes"; then
21940 cat >> confdefs.h
<<\EOF
21941 #define wxUSE_TEXTDLG 1
21946 if test "$wxUSE_WIZARDDLG" = "yes"; then
21947 cat >> confdefs.h
<<\EOF
21948 #define wxUSE_WIZARDDLG 1
21951 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
21955 if test "$cross_compiling" = "yes"; then
21958 OSINFO
=`uname -s -r -m`
21959 OSINFO
="\"$OSINFO\""
21962 cat >> confdefs.h
<<EOF
21963 #define WXWIN_OS_DESCRIPTION $OSINFO
21968 if test "x$prefix" != "xNONE"; then
21971 wxPREFIX
=$ac_default_prefix
21974 cat >> confdefs.h
<<EOF
21975 #define wxINSTALL_PREFIX "$wxPREFIX"
21984 if test "$wxUSE_MAC" = 1 ; then
21985 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
21989 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
21995 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21996 echo "configure:21997: checking for $ac_func" >&5
21997 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21998 echo $ac_n "(cached) $ac_c" 1>&6
22000 cat > conftest.
$ac_ext <<EOF
22001 #line 22002 "configure"
22002 #include "confdefs.h"
22003 /* System header to define __stub macros and hopefully few prototypes,
22004 which can conflict with char $ac_func(); below. */
22005 #include <assert.h>
22006 /* Override any gcc2 internal prototype to avoid an error. */
22007 /* We use char because int might match the return type of a gcc2
22008 builtin and then its argument prototype would still apply. */
22013 /* The GNU C library defines this for functions which it implements
22014 to always fail with ENOSYS. Some functions are actually named
22015 something starting with __ and the normal name is an alias. */
22016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22024 if { (eval echo configure
:22025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22026 eval "ac_cv_func_$ac_func=yes"
22028 echo "configure: failed program was:" >&5
22029 cat conftest.
$ac_ext >&5
22031 eval "ac_cv_func_$ac_func=no"
22036 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22037 echo "$ac_t""yes" 1>&6
22038 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22039 cat >> confdefs.h
<<EOF
22040 #define $ac_tr_func 1
22044 echo "$ac_t""no" 1>&6
22048 for ac_func
in floor
22050 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22051 echo "configure:22052: checking for $ac_func" >&5
22052 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22053 echo $ac_n "(cached) $ac_c" 1>&6
22055 cat > conftest.
$ac_ext <<EOF
22056 #line 22057 "configure"
22057 #include "confdefs.h"
22058 /* System header to define __stub macros and hopefully few prototypes,
22059 which can conflict with char $ac_func(); below. */
22060 #include <assert.h>
22061 /* Override any gcc2 internal prototype to avoid an error. */
22062 /* We use char because int might match the return type of a gcc2
22063 builtin and then its argument prototype would still apply. */
22068 /* The GNU C library defines this for functions which it implements
22069 to always fail with ENOSYS. Some functions are actually named
22070 something starting with __ and the normal name is an alias. */
22071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22079 if { (eval echo configure
:22080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22081 eval "ac_cv_func_$ac_func=yes"
22083 echo "configure: failed program was:" >&5
22084 cat conftest.
$ac_ext >&5
22086 eval "ac_cv_func_$ac_func=no"
22091 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22092 echo "$ac_t""yes" 1>&6
22093 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22094 cat >> confdefs.h
<<EOF
22095 #define $ac_tr_func 1
22099 echo "$ac_t""no" 1>&6
22103 echo $ac_n "checking if floating point functions link without -lm""... $ac_c" 1>&6
22104 echo "configure:22105: checking if floating point functions link without -lm" >&5
22105 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22106 echo "$ac_t""yes" 1>&6
22108 echo "$ac_t""no" 1>&6
22110 # use different functions to avoid configure caching
22115 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22116 echo "configure:22117: checking for $ac_func" >&5
22117 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22118 echo $ac_n "(cached) $ac_c" 1>&6
22120 cat > conftest.
$ac_ext <<EOF
22121 #line 22122 "configure"
22122 #include "confdefs.h"
22123 /* System header to define __stub macros and hopefully few prototypes,
22124 which can conflict with char $ac_func(); below. */
22125 #include <assert.h>
22126 /* Override any gcc2 internal prototype to avoid an error. */
22127 /* We use char because int might match the return type of a gcc2
22128 builtin and then its argument prototype would still apply. */
22133 /* The GNU C library defines this for functions which it implements
22134 to always fail with ENOSYS. Some functions are actually named
22135 something starting with __ and the normal name is an alias. */
22136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22144 if { (eval echo configure
:22145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22146 eval "ac_cv_func_$ac_func=yes"
22148 echo "configure: failed program was:" >&5
22149 cat conftest.
$ac_ext >&5
22151 eval "ac_cv_func_$ac_func=no"
22156 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22157 echo "$ac_t""yes" 1>&6
22158 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22159 cat >> confdefs.h
<<EOF
22160 #define $ac_tr_func 1
22164 echo "$ac_t""no" 1>&6
22168 for ac_func
in ceil
22170 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22171 echo "configure:22172: checking for $ac_func" >&5
22172 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22173 echo $ac_n "(cached) $ac_c" 1>&6
22175 cat > conftest.
$ac_ext <<EOF
22176 #line 22177 "configure"
22177 #include "confdefs.h"
22178 /* System header to define __stub macros and hopefully few prototypes,
22179 which can conflict with char $ac_func(); below. */
22180 #include <assert.h>
22181 /* Override any gcc2 internal prototype to avoid an error. */
22182 /* We use char because int might match the return type of a gcc2
22183 builtin and then its argument prototype would still apply. */
22188 /* The GNU C library defines this for functions which it implements
22189 to always fail with ENOSYS. Some functions are actually named
22190 something starting with __ and the normal name is an alias. */
22191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22199 if { (eval echo configure
:22200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22201 eval "ac_cv_func_$ac_func=yes"
22203 echo "configure: failed program was:" >&5
22204 cat conftest.
$ac_ext >&5
22206 eval "ac_cv_func_$ac_func=no"
22211 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22212 echo "$ac_t""yes" 1>&6
22213 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22214 cat >> confdefs.h
<<EOF
22215 #define $ac_tr_func 1
22219 echo "$ac_t""no" 1>&6
22223 echo $ac_n "checking if floating point functions link with -lm""... $ac_c" 1>&6
22224 echo "configure:22225: checking if floating point functions link with -lm" >&5
22225 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22226 echo "$ac_t""yes" 1>&6
22228 echo "$ac_t""no" 1>&6
22229 # not sure we should warn the user, crash, etc.
22233 if test "$wxUSE_GUI" = "yes"; then
22235 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
22238 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
22239 drawing dynamic erase event exec font image \
22240 minimal propsize rotate widgets"
22242 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
22244 SAMPLES_SUBDIRS
="console"
22248 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
22249 -I\${top_srcdir}/include \
22250 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
22253 if test "$wxUSE_GTK" = 1; then
22256 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
22259 if test "$GXX" = yes ; then
22260 CXXWARNINGS
="-Wall"
22262 if test "$wxUSE_NO_DEPS" = "no" ; then
22263 CFLAGS
="-MMD $CFLAGS"
22264 CXXFLAGS
="-MMD $CXXFLAGS"
22268 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
22270 CPPFLAGS
=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
22271 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
22272 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
22273 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
22275 LDFLAGS
="$LDFLAGS $PROFILE"
22277 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
22379 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
22380 echo "configure:22381: checking whether ${MAKE-make} sets \${MAKE}" >&5
22381 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
22382 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
22383 echo $ac_n "(cached) $ac_c" 1>&6
22385 cat > conftestmake
<<\EOF
22387 @
echo 'ac_maketemp="${MAKE}"'
22389 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22390 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
22391 if test -n "$ac_maketemp"; then
22392 eval ac_cv_prog_make_
${ac_make}_set
=yes
22394 eval ac_cv_prog_make_
${ac_make}_set
=no
22398 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
22399 echo "$ac_t""yes" 1>&6
22402 echo "$ac_t""no" 1>&6
22403 SET_MAKE
="MAKE=${MAKE-make}"
22407 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
22408 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
22413 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
22414 wx_cv_if_gnu_make
=$IF_GNU_MAKE
22415 wx_cv_path_ifs
=$PATH_IFS
22416 wx_cv_program_ext
=$PROGRAM_EXT
22417 wx_cv_target_library
=$WX_TARGET_LIBRARY
22418 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
22419 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
22420 wx_cv_library_basename
=${WX_LIBRARY_BASENAME}
22421 wx_cv_release
=${WX_RELEASE}
22422 wx_cv_current
=${WX_CURRENT}
22423 wx_cv_revision
=${WX_REVISION}
22424 wx_cv_age
=${WX_AGE}
22425 wx_cv_use_gui
=${USE_GUI}
22426 wx_cv_use_resources
=${wxUSE_RESOURCES}
22427 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
22428 wx_cv_path_ifs wx_cv_program_ext \
22429 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype \
22430 wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age \
22431 wx_cv_use_gui wx_cv_use_resources
22433 subdirs
="demos samples utils contrib"
22437 cat > confcache
<<\EOF
22438 # This file is a shell script that caches the results of configure
22439 # tests run on this system so they can be shared between configure
22440 # scripts and configure runs. It is not useful on other systems.
22441 # If it contains results you don't want to keep, you may remove or edit it.
22443 # By default, configure uses ./config.cache as the cache file,
22444 # creating it if it does not exist already. You can give configure
22445 # the --cache-file=FILE option to use a different cache file; that is
22446 # what configure does when it calls configure scripts in
22447 # subdirectories, so they share the cache.
22448 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22449 # config.status only pays attention to the cache file if you give it the
22450 # --recheck option to rerun configure.
22453 # The following way of writing the cache mishandles newlines in values,
22454 # but we know of no workaround that is simple, portable, and efficient.
22455 # So, don't put newlines in cache variables' values.
22456 # Ultrix sh set writes to stderr and can't be redirected directly,
22457 # and sets the high bit in the cache file unless we assign to the vars.
22459 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22461 # `set' does not quote correctly, so add quotes (double-quote substitution
22462 # turns \\\\ into \\, and sed turns \\ into \).
22464 -e "s/'/'\\\\''/g" \
22465 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22468 # `set' quotes correctly as required by POSIX, so do not add quotes.
22469 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22472 if cmp -s $cache_file confcache
; then
22475 if test -w $cache_file; then
22476 echo "updating cache $cache_file"
22477 cat confcache
> $cache_file
22479 echo "not updating unwritable cache $cache_file"
22484 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22486 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22487 # Let make expand exec_prefix.
22488 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22490 # Any assignment to VPATH causes Sun make to only execute
22491 # the first set of double-colon rules, so remove it if not needed.
22492 # If there is a colon in the path, we need to keep it.
22493 if test "x$srcdir" = x.
; then
22494 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
22497 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22499 DEFS
=-DHAVE_CONFIG_H
22501 # Without the "./", some shells look in PATH for config.status.
22502 : ${CONFIG_STATUS=./config.status}
22504 echo creating
$CONFIG_STATUS
22505 rm -f $CONFIG_STATUS
22506 cat > $CONFIG_STATUS <<EOF
22508 # Generated automatically by configure.
22509 # Run this file to recreate the current configuration.
22510 # This directory was configured as follows,
22511 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22513 # $0 $ac_configure_args
22515 # Compiler output produced by configure, useful for debugging
22516 # configure, is in ./config.log if it exists.
22518 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22521 case "\$ac_option" in
22522 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22523 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22524 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22525 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22526 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22528 -help | --help | --hel | --he | --h)
22529 echo "\$ac_cs_usage"; exit 0 ;;
22530 *) echo "\$ac_cs_usage"; exit 1 ;;
22534 ac_given_srcdir=$srcdir
22535 ac_given_INSTALL="$INSTALL"
22537 trap 'rm -fr `echo "
22544 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22546 cat >> $CONFIG_STATUS <<EOF
22548 # Protect against being on the right side of a sed subst in config.status.
22549 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22550 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22554 s%@CFLAGS@%$CFLAGS%g
22555 s%@CPPFLAGS@%$CPPFLAGS%g
22556 s%@CXXFLAGS@%$CXXFLAGS%g
22557 s%@FFLAGS@%$FFLAGS%g
22559 s%@LDFLAGS@%$LDFLAGS%g
22561 s%@exec_prefix@%$exec_prefix%g
22562 s%@prefix@%$prefix%g
22563 s%@program_transform_name@%$program_transform_name%g
22564 s%@bindir@%$bindir%g
22565 s%@sbindir@%$sbindir%g
22566 s%@libexecdir@%$libexecdir%g
22567 s%@datadir@%$datadir%g
22568 s%@sysconfdir@%$sysconfdir%g
22569 s%@sharedstatedir@%$sharedstatedir%g
22570 s%@localstatedir@%$localstatedir%g
22571 s%@libdir@%$libdir%g
22572 s%@includedir@%$includedir%g
22573 s%@oldincludedir@%$oldincludedir%g
22574 s%@infodir@%$infodir%g
22575 s%@mandir@%$mandir%g
22577 s%@host_alias@%$host_alias%g
22578 s%@host_cpu@%$host_cpu%g
22579 s%@host_vendor@%$host_vendor%g
22580 s%@host_os@%$host_os%g
22581 s%@target@%$target%g
22582 s%@target_alias@%$target_alias%g
22583 s%@target_cpu@%$target_cpu%g
22584 s%@target_vendor@%$target_vendor%g
22585 s%@target_os@%$target_os%g
22587 s%@build_alias@%$build_alias%g
22588 s%@build_cpu@%$build_cpu%g
22589 s%@build_vendor@%$build_vendor%g
22590 s%@build_os@%$build_os%g
22594 s%@RANLIB@%$RANLIB%g
22596 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22597 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22598 s%@INSTALL_DATA@%$INSTALL_DATA%g
22600 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
22603 s%@LEXLIB@%$LEXLIB%g
22605 s%@CXXCPP@%$CXXCPP%g
22606 s%@PKG_CONFIG@%$PKG_CONFIG%g
22607 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
22608 s%@GTK_LIBS@%$GTK_LIBS%g
22609 s%@GTK_CONFIG@%$GTK_CONFIG%g
22610 s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
22611 s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
22612 s%@X_CFLAGS@%$X_CFLAGS%g
22613 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
22614 s%@X_LIBS@%$X_LIBS%g
22615 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
22616 s%@PANGOX_CFLAGS@%$PANGOX_CFLAGS%g
22617 s%@PANGOX_LIBS@%$PANGOX_LIBS%g
22618 s%@PANGOXFT_CFLAGS@%$PANGOXFT_CFLAGS%g
22619 s%@PANGOXFT_LIBS@%$PANGOXFT_LIBS%g
22620 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
22621 s%@RESCOMP@%$RESCOMP%g
22623 s%@SETFILE@%$SETFILE%g
22624 s%@LIBICONV@%$LIBICONV%g
22625 s%@LEX_STEM@%$LEX_STEM%g
22626 s%@PATH_IFS@%$PATH_IFS%g
22627 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
22628 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
22629 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
22630 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
22631 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
22632 s%@WX_LIBRARY_BASENAME@%$WX_LIBRARY_BASENAME%g
22633 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
22634 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
22635 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
22636 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
22637 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
22638 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
22639 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
22640 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
22641 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
22642 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
22643 s%@WX_ALL@%$WX_ALL%g
22644 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
22645 s%@SHARED_LD@%$SHARED_LD%g
22646 s%@PIC_FLAG@%$PIC_FLAG%g
22647 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
22648 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
22649 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
22650 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
22651 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
22652 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
22653 s%@STATIC_FLAG@%$STATIC_FLAG%g
22654 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
22655 s%@USE_GUI@%$USE_GUI%g
22656 s%@AFMINSTALL@%$AFMINSTALL%g
22657 s%@WIN32INSTALL@%$WIN32INSTALL%g
22658 s%@TOOLKIT@%$TOOLKIT%g
22659 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
22660 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
22661 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
22662 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
22663 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
22664 s%@top_builddir@%$top_builddir%g
22665 s%@cross_compiling@%$cross_compiling%g
22666 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
22667 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
22668 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
22669 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
22670 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
22671 s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
22672 s%@WX_LARGEFILE_FLAGS@%$WX_LARGEFILE_FLAGS%g
22673 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
22674 s%@ALL_HEADERS@%$ALL_HEADERS%g
22675 s%@ALL_SOURCES@%$ALL_SOURCES%g
22676 s%@GUIDIST@%$GUIDIST%g
22677 s%@PORT_FILES@%$PORT_FILES%g
22678 s%@DISTDIR@%$DISTDIR%g
22679 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
22680 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
22681 s%@LDFLAGS_VERSIONING@%$LDFLAGS_VERSIONING%g
22682 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
22683 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
22684 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
22685 s%@EXTRADEFS@%$EXTRADEFS%g
22686 s%@WX_VERSION_TAG@%$WX_VERSION_TAG%g
22687 s%@RESFLAGS@%$RESFLAGS%g
22688 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
22689 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
22690 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
22691 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
22692 s%@LIBWXMACRES@%$LIBWXMACRES%g
22693 s%@MACRESCOMP@%$MACRESCOMP%g
22694 s%@MACSETFILE@%$MACSETFILE%g
22695 s%@MACRESWXCONFIG@%$MACRESWXCONFIG%g
22697 s%@DLLTOOL@%$DLLTOOL%g
22701 s%@MAKEINFO@%$MAKEINFO%g
22702 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
22703 s%@INSTALL_DIR@%$INSTALL_DIR%g
22704 s%@SET_MAKE@%$SET_MAKE%g
22705 s%@subdirs@%$subdirs%g
22710 cat >> $CONFIG_STATUS <<\EOF
22712 # Split the substitutions into bite-sized pieces for seds with
22713 # small command number limits, like on Digital OSF/1 and HP-UX.
22714 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
22715 ac_file
=1 # Number of current file.
22716 ac_beg
=1 # First line for current file.
22717 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
22720 while $ac_more_lines; do
22721 if test $ac_beg -gt 1; then
22722 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
22724 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
22726 if test ! -s conftest.s
$ac_file; then
22727 ac_more_lines
=false
22728 rm -f conftest.s
$ac_file
22730 if test -z "$ac_sed_cmds"; then
22731 ac_sed_cmds
="sed -f conftest.s$ac_file"
22733 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
22735 ac_file
=`expr $ac_file + 1`
22737 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
22740 if test -z "$ac_sed_cmds"; then
22745 cat >> $CONFIG_STATUS <<EOF
22747 CONFIG_FILES=\${CONFIG_FILES-"wx-config
22755 cat >> $CONFIG_STATUS <<\EOF
22756 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
22757 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22759 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22760 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22761 *) ac_file_in
="${ac_file}.in" ;;
22764 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22766 # Remove last slash and all that follows it. Not all systems have dirname.
22767 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22768 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
22769 # The file is in a subdirectory.
22770 test ! -d "$ac_dir" && mkdir "$ac_dir"
22771 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
22772 # A "../" for each directory in $ac_dir_suffix.
22773 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22775 ac_dir_suffix
= ac_dots
=
22778 case "$ac_given_srcdir" in
22780 if test -z "$ac_dots"; then top_srcdir
=.
22781 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22782 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
22783 *) # Relative path.
22784 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22785 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
22788 case "$ac_given_INSTALL" in
22789 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
22790 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
22793 echo creating
"$ac_file"
22795 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22797 *Makefile
*) ac_comsub
="1i\\
22798 # $configure_input" ;;
22802 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22804 s%@configure_input@%$configure_input%g
22805 s%@srcdir@%$srcdir%g
22806 s%@top_srcdir@%$top_srcdir%g
22807 s%@INSTALL@%$INSTALL%g
22808 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22812 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22813 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22815 # ac_d sets the value in "#define NAME VALUE" lines.
22816 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22817 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
22820 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22821 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22822 ac_uB
='\([ ]\)%\1#\2define\3'
22825 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22826 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22827 ac_eB
='$%\1#\2define\3'
22831 if test "${CONFIG_HEADERS+set}" != set; then
22833 cat >> $CONFIG_STATUS <<EOF
22834 CONFIG_HEADERS="setup.h:setup.h.in"
22836 cat >> $CONFIG_STATUS <<\EOF
22838 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
22839 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22841 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22842 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22843 *) ac_file_in
="${ac_file}.in" ;;
22846 echo creating
$ac_file
22848 rm -f conftest.frag conftest.
in conftest.out
22849 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22850 cat $ac_file_inputs > conftest.
in
22854 # Transform confdefs.h into a sed script conftest.vals that substitutes
22855 # the proper values into config.h.in to produce config.h. And first:
22856 # Protect against being on the right side of a sed subst in config.status.
22857 # Protect against being in an unquoted here document in config.status.
22858 rm -f conftest.vals
22859 cat > conftest.hdr
<<\EOF
22862 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22866 sed -n -f conftest.hdr confdefs.h > conftest.vals
22869 # This sed command replaces #undef with comments. This is necessary, for
22870 # example, in the case of _POSIX_SOURCE, which is predefined and required
22871 # on some systems where configure will not decide to define it.
22872 cat >> conftest.vals <<\EOF
22873 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22876 # Break up conftest.vals because some shells have a limit on
22877 # the size of here documents, and old seds have small limits too.
22879 rm -f conftest.tail
22882 ac_lines=`grep -c . conftest.vals
`
22883 # grep -c gives empty output for an empty file on some AIX systems.
22884 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22885 # Write a limited-size here document to conftest.frag.
22886 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22887 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22889 sed -f conftest.frag conftest.in > conftest.out
22891 mv conftest.out conftest.in
22892 ' >> $CONFIG_STATUS
22893 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22894 rm -f conftest.vals
22895 mv conftest.tail conftest.vals
22897 rm -f conftest.vals
22899 cat >> $CONFIG_STATUS <<\EOF
22900 rm -f conftest.frag conftest.h
22901 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22902 cat conftest.in >> conftest.h
22904 if cmp -s $ac_file conftest.h 2>/dev/null; then
22905 echo "$ac_file is unchanged"
22908 # Remove last slash and all that follows it. Not all systems have dirname.
22909 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22910 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22911 # The file is in a subdirectory.
22912 test ! -d "$ac_dir" && mkdir "$ac_dir"
22915 mv conftest.h $ac_file
22920 cat >> $CONFIG_STATUS <<EOF
22922 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
22927 cat >> $CONFIG_STATUS <<\EOF
22929 if test ! -h wx-config; then
22931 mv wx-config wx${TOOLCHAIN_NAME}-config
22932 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
22935 if test ! -d lib; then
22938 if test ! -d lib/wx; then
22941 if test ! -d lib/wx/include; then
22942 mkdir lib/wx/include
22944 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
22945 mkdir lib/wx/include/${TOOLCHAIN_NAME}
22947 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
22948 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
22950 if test -f setup.h; then
22951 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
22956 chmod +x $CONFIG_STATUS
22957 rm -fr confdefs* $ac_clean_files
22958 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22960 if test "$no_recursion" != yes; then
22962 # Remove --cache-file and --srcdir arguments so they do not pile up.
22963 ac_sub_configure_args=
22965 for ac_arg in $ac_configure_args; do
22966 if test -n "$ac_prev"; then
22971 -cache-file | --cache-file | --cache-fil | --cache-fi \
22972 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
22973 ac_prev=cache_file ;;
22974 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
22975 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
22977 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
22979 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
22981 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
22985 for ac_config_dir in demos samples utils contrib; do
22987 # Do not complain, so a configure script can configure whichever
22988 # parts of a large source tree are present.
22989 if test ! -d $srcdir/$ac_config_dir; then
22993 echo configuring in $ac_config_dir
22998 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
23000 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
23008 # A "../" for each directory in /$ac_config_dir.
23009 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
23012 .) # No --srcdir option. We are building in place.
23013 ac_sub_srcdir=$srcdir ;;
23014 /*) # Absolute path.
23015 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
23016 *) # Relative path.
23017 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
23020 # Check for guested configure; otherwise get Cygnus style configure.
23021 if test -f $ac_sub_srcdir/configure; then
23022 ac_sub_configure=$ac_sub_srcdir/configure
23023 elif test -f $ac_sub_srcdir/configure.in; then
23024 ac_sub_configure=$ac_configure
23026 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
23030 # The recursion is here.
23031 if test -n "$ac_sub_configure"; then
23033 # Make the cache file name correct relative to the subdirectory.
23034 case "$cache_file" in
23035 /*) ac_sub_cache_file=$cache_file ;;
23036 *) # Relative path.
23037 ac_sub_cache_file="$ac_dots$cache_file" ;;
23039 case "$ac_given_INSTALL" in
23040 [/$]*) INSTALL="$ac_given_INSTALL" ;;
23041 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
23044 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
23045 # The eval makes quoting arguments work.
23046 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
23049 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
23059 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
23061 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
23063 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
23064 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
23065 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
23067 echo " What level of wxWindows compatibility should be enabled?"
23068 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
23069 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
23070 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
23072 echo " Which libraries should wxWindows use?"
23073 echo " jpeg ${wxUSE_LIBJPEG-none}"
23074 echo " png ${wxUSE_LIBPNG-none}"
23075 echo " regex ${wxUSE_REGEX}"
23076 echo " tiff ${wxUSE_LIBTIFF-none}"
23077 echo " zlib ${wxUSE_ZLIB}"