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 --disable-compat22 disable wxWindows 2.2 compatibility"
165 --enable-rpath=DIR output the rpath flag from wx-config"
167 --enable-intl use internationalization system"
169 --enable-config use wxConfig (and derived) classes"
171 --enable-protocols use wxProtocol and derived classes"
173 --enable-ftp use wxFTP (requires wxProtocol"
175 --enable-http use wxHTTP (requires wxProtocol"
177 --enable-fileproto use wxFileProto class (requires wxProtocol"
179 --enable-sockets use socket/network classes"
181 --enable-ole use OLE classes"
183 --enable-dataobj use data object classes"
185 --enable-ipc use interprocess communication (wxSocket etc.)"
187 --enable-cmdline use wxCmdLineParser class"
189 --enable-datetime use wxDateTime class"
191 --enable-timedate use obsolete wxDate/wxTime classes"
193 --enable-stopwatch use wxStopWatch class"
195 --enable-dialupman use dialup network classes"
197 --enable-apple_ieee use the Apple IEEE codec"
199 --enable-timer use wxTimer class"
201 --enable-wave use wxWave class"
203 --enable-fraction use wxFraction class"
205 --enable-dynlib use wxLibrary class for DLL loading"
207 --enable-dynamicloader use (new) wxDynamicLibrary class"
209 --enable-longlong use wxLongLong class"
211 --enable-geometry use geometry class"
213 --enable-log use logging system"
215 --enable-streams use wxStream etc classes"
217 --enable-file use wxFile classes"
219 --enable-ffile use wxFFile classes"
221 --enable-textbuf use wxTextBuffer class"
223 --enable-textfile use wxTextFile class"
225 --enable-fontmap use font encodings conversion classes"
227 --enable-unicode compile wxString with Unicode support"
229 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
231 --enable-wxprintfv use wxWindows implementation of vprintf()"
233 --enable-std_iostreams use standard C++ stream classes"
235 --enable-filesystem use virtual file systems classes"
237 --enable-fs_inet use virtual HTTP/FTP filesystems"
239 --enable-fs_zip use virtual ZIP filesystems"
241 --enable-zipstream use wxZipInputStream"
243 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
245 --enable-snglinst use wxSingleInstanceChecker class"
247 --enable-mimetype use wxMimeTypesManager"
249 --enable-sysoptions use wxSystemOptions"
251 --enable-url use wxURL class"
253 --enable-protocol use wxProtocol class"
255 --enable-protocol-http HTTP support in wxProtocol"
257 --enable-protocol-ftp FTP support in wxProtocol"
259 --enable-protocol-file FILE support in wxProtocol"
261 --enable-threads use threads"
263 --enable-docview use document view architecture"
265 --enable-help use help subsystem"
267 --enable-mshtmlhelp use MS HTML Help (win32)"
269 --enable-html use wxHTML sub-library"
271 --enable-htmlhelp use wxHTML-based help"
273 --enable-constraints use layout-constraints system"
275 --enable-printarch use printing architecture"
277 --enable-mdi use multiple document interface architecture"
279 --enable-loggui use standard GUI logger"
281 --enable-logwin use wxLogWindow"
283 --enable-logdialog use wxLogDialog"
285 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
287 --enable-prologio use Prolog IO library"
289 --enable-resources use wxWindows resources"
291 --enable-xresources use X resources for save (default for gtk+)"
293 --enable-clipboard use wxClipboard classes"
295 --enable-dnd use Drag'n'Drop classes"
297 --enable-metafile use win32 metafiles"
299 --enable-treelayout use wxTreeLayout classes"
301 --enable-controls use all usual controls"
303 --enable-accel use accelerators"
305 --enable-button use wxButton class"
307 --enable-bmpbutton use wxBitmapButton class"
309 --enable-calendar use wxCalendarCtrl class"
311 --enable-caret use wxCaret class"
313 --enable-checkbox use wxCheckBox class"
315 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
317 --enable-choice use wxChoice class"
319 --enable-combobox use wxComboBox classes"
321 --enable-gauge use wxGauge class"
323 --enable-grid use wxGrid class"
325 --enable-newgrid use new wxGrid class"
327 --enable-imaglist use wxImageList class"
329 --enable-listbox use wxListBox class"
331 --enable-listctrl use wxListCtrl class"
333 --enable-notebook use wxNotebook class"
335 --enable-propsheet use wxPropertySheet class"
337 --enable-radiobox use wxRadioBox class"
339 --enable-radiobtn use wxRadioButton class"
341 --enable-sash use wxSashWindow class"
343 --enable-scrollbar use wxScrollBar class and scrollable windows"
345 --enable-slider use wxSlider class"
347 --enable-spinbtn use wxSpinButton class"
349 --enable-spinctrl use wxSpinCtrl class"
351 --enable-splitter use wxSplitterWindow class"
353 --enable-statbmp use wxStaticBitmap class"
355 --enable-statbox use wxStaticBox class"
357 --enable-statline use wxStaticLine class"
359 --enable-stattext use wxStaticText class"
361 --enable-statusbar use wxStatusBar class"
363 --enable-tabdialog use wxTabControl class"
365 --enable-textctrl use wxTextCtrl class"
367 --enable-togglebtn use wxToggleButton class"
369 --enable-toolbar use wxToolBar class"
371 --enable-tbarnative use native wxToolBar class"
373 --enable-tbarsmpl use wxToolBarSimple class"
375 --enable-treectrl use wxTreeCtrl class"
377 --enable-tipwindow use wxTipWindow class"
379 --enable-popupwin use wxPopUpWindow class"
381 --enable-commondlg use all common dialogs"
383 --enable-choicedlg use wxChoiceDialog"
385 --enable-coldlg use wxColourDialog"
387 --enable-filedlg use wxFileDialog"
389 --enable-finddlg use wxFindReplaceDialog"
391 --enable-fontdlg use wxFontDialog"
393 --enable-dirdlg use wxDirDialog"
395 --enable-msgdlg use wxMessageDialog"
397 --enable-numberdlg use wxNumberEntryDialog"
399 --enable-splash use wxSplashScreen"
401 --enable-textdlg use wxTextDialog"
403 --enable-tipdlg use startup tips"
405 --enable-progressdlg use wxProgressDialog"
407 --enable-wizarddlg use wxWizard"
409 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
411 --enable-miniframe use wxMiniFrame class"
413 --enable-tooltips use wxToolTip class"
415 --enable-splines use spline drawing code"
417 --enable-validators use wxValidator and derived classes"
419 --enable-busyinfo use wxBusyInfo"
421 --enable-joystick use wxJoystick (Linux only)"
423 --enable-metafiles use wxMetaFile (Windows only)"
425 --enable-dragimage use wxDragImage"
427 --enable-palette use wxPalette class"
429 --enable-image use wxImage class"
431 --enable-gif use gif images (GIF file format)"
433 --enable-pcx use pcx images (PCX file format)"
435 --enable-iff use iff images (IFF file format)"
437 --enable-pnm use pnm images (PNM file format)"
439 --enable-xpm use xpm images (XPM file format)"
441 --enable-icocur use Windows ICO and CUR formats"
443 --disable-largefile omit support for large files"
445 --disable-gtktest do not try to compile and run a test GTK+ program"
447 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
449 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
451 --disable-gtktest Do not try to compile and run a test GTK program"
453 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
455 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
457 --disable-gtktest Do not try to compile and run a test GTK program"
459 --with-x use the X Window System"
461 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
463 # Initialize some variables set by options.
464 # The variables have the same names as the options, with
465 # dashes changed to underlines.
467 cache_file
=.
/config.cache
476 program_transform_name
=s
,x
,x
,
484 bindir
='${exec_prefix}/bin'
485 sbindir
='${exec_prefix}/sbin'
486 libexecdir
='${exec_prefix}/libexec'
487 datadir
='${prefix}/share'
488 sysconfdir
='${prefix}/etc'
489 sharedstatedir
='${prefix}/com'
490 localstatedir
='${prefix}/var'
491 libdir
='${exec_prefix}/lib'
492 includedir
='${prefix}/include'
493 oldincludedir
='/usr/include'
494 infodir
='${prefix}/info'
495 mandir
='${prefix}/man'
497 # Initialize some other variables.
500 SHELL
=${CONFIG_SHELL-/bin/sh}
501 # Maximum number of lines to put in a shell here document.
508 # If the previous option needs an argument, assign it.
509 if test -n "$ac_prev"; then
510 eval "$ac_prev=\$ac_option"
516 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
520 # Accept the important Cygnus configure options, so we can diagnose typos.
524 -bindir | --bindir | --bindi | --bind | --bin | --bi)
526 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
527 bindir
="$ac_optarg" ;;
529 -build | --build | --buil | --bui | --bu)
531 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
532 build
="$ac_optarg" ;;
534 -cache-file | --cache-file | --cache-fil | --cache-fi \
535 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
536 ac_prev
=cache_file
;;
537 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
538 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
539 cache_file
="$ac_optarg" ;;
541 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
543 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
545 datadir
="$ac_optarg" ;;
547 -disable-* | --disable-*)
548 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
549 # Reject names that are not valid shell variable names.
550 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
551 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
553 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
554 eval "enable_${ac_feature}=no" ;;
556 -enable-* | --enable-*)
557 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
558 # Reject names that are not valid shell variable names.
559 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
560 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
562 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
567 eval "enable_${ac_feature}='$ac_optarg'" ;;
569 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
570 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
571 | --exec | --exe | --ex)
572 ac_prev
=exec_prefix
;;
573 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
574 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
575 | --exec=* | --exe=* | --ex=*)
576 exec_prefix
="$ac_optarg" ;;
578 -gas | --gas | --ga | --g)
579 # Obsolete; use --with-gas.
582 -help | --help | --hel | --he)
583 # Omit some internal or obsolete options to make the list less imposing.
584 # This message is too long to be a string in the A/UX 3.1 sh.
586 Usage: configure [options] [host]
587 Options: [defaults in brackets after descriptions]
589 --cache-file=FILE cache test results in FILE
590 --help print this message
591 --no-create do not create output files
592 --quiet, --silent do not print \`checking...' messages
593 --version print the version of autoconf that created configure
594 Directory and file names:
595 --prefix=PREFIX install architecture-independent files in PREFIX
597 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
599 --bindir=DIR user executables in DIR [EPREFIX/bin]
600 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
601 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
602 --datadir=DIR read-only architecture-independent data in DIR
604 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
605 --sharedstatedir=DIR modifiable architecture-independent data in DIR
607 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
608 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
609 --includedir=DIR C header files in DIR [PREFIX/include]
610 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
611 --infodir=DIR info documentation in DIR [PREFIX/info]
612 --mandir=DIR man documentation in DIR [PREFIX/man]
613 --srcdir=DIR find the sources in DIR [configure dir or ..]
614 --program-prefix=PREFIX prepend PREFIX to installed program names
615 --program-suffix=SUFFIX append SUFFIX to installed program names
616 --program-transform-name=PROGRAM
617 run sed PROGRAM on installed program names
621 --build=BUILD configure for building on BUILD [BUILD=HOST]
622 --host=HOST configure for HOST [guessed]
623 --target=TARGET configure for TARGET [TARGET=HOST]
624 Features and packages:
625 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
626 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
627 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
628 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
629 --x-includes=DIR X include files are in DIR
630 --x-libraries=DIR X library files are in DIR
632 if test -n "$ac_help"; then
633 echo "--enable and --with options recognized:$ac_help"
637 -host | --host | --hos | --ho)
639 -host=* | --host=* | --hos=* | --ho=*)
642 -includedir | --includedir | --includedi | --included | --include \
643 | --includ | --inclu | --incl | --inc)
644 ac_prev
=includedir
;;
645 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
646 | --includ=* | --inclu=* | --incl=* | --inc=*)
647 includedir
="$ac_optarg" ;;
649 -infodir | --infodir | --infodi | --infod | --info | --inf)
651 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
652 infodir
="$ac_optarg" ;;
654 -libdir | --libdir | --libdi | --libd)
656 -libdir=* | --libdir=* | --libdi=* | --libd=*)
657 libdir
="$ac_optarg" ;;
659 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
660 | --libexe | --libex | --libe)
661 ac_prev
=libexecdir
;;
662 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
663 | --libexe=* | --libex=* | --libe=*)
664 libexecdir
="$ac_optarg" ;;
666 -localstatedir | --localstatedir | --localstatedi | --localstated \
667 | --localstate | --localstat | --localsta | --localst \
668 | --locals | --local | --loca | --loc | --lo)
669 ac_prev
=localstatedir
;;
670 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
671 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
672 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
673 localstatedir
="$ac_optarg" ;;
675 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
677 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
678 mandir
="$ac_optarg" ;;
681 # Obsolete; use --without-fp.
684 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
688 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
689 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
692 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
693 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
694 | --oldin | --oldi | --old | --ol | --o)
695 ac_prev
=oldincludedir
;;
696 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
697 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
698 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
699 oldincludedir
="$ac_optarg" ;;
701 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
703 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
704 prefix
="$ac_optarg" ;;
706 -program-prefix | --program-prefix | --program-prefi | --program-pref \
707 | --program-pre | --program-pr | --program-p)
708 ac_prev
=program_prefix
;;
709 -program-prefix=* | --program-prefix=* | --program-prefi=* \
710 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
711 program_prefix
="$ac_optarg" ;;
713 -program-suffix | --program-suffix | --program-suffi | --program-suff \
714 | --program-suf | --program-su | --program-s)
715 ac_prev
=program_suffix
;;
716 -program-suffix=* | --program-suffix=* | --program-suffi=* \
717 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
718 program_suffix
="$ac_optarg" ;;
720 -program-transform-name | --program-transform-name \
721 | --program-transform-nam | --program-transform-na \
722 | --program-transform-n | --program-transform- \
723 | --program-transform | --program-transfor \
724 | --program-transfo | --program-transf \
725 | --program-trans | --program-tran \
726 | --progr-tra | --program-tr | --program-t)
727 ac_prev
=program_transform_name
;;
728 -program-transform-name=* | --program-transform-name=* \
729 | --program-transform-nam=* | --program-transform-na=* \
730 | --program-transform-n=* | --program-transform-=* \
731 | --program-transform=* | --program-transfor=* \
732 | --program-transfo=* | --program-transf=* \
733 | --program-trans=* | --program-tran=* \
734 | --progr-tra=* | --program-tr=* | --program-t=*)
735 program_transform_name
="$ac_optarg" ;;
737 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
738 | -silent | --silent | --silen | --sile | --sil)
741 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
743 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
745 sbindir
="$ac_optarg" ;;
747 -sharedstatedir | --sharedstatedir | --sharedstatedi \
748 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
749 | --sharedst | --shareds | --shared | --share | --shar \
751 ac_prev
=sharedstatedir
;;
752 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
753 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
754 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
756 sharedstatedir
="$ac_optarg" ;;
758 -site | --site | --sit)
760 -site=* | --site=* | --sit=*)
763 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
765 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
766 srcdir
="$ac_optarg" ;;
768 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
769 | --syscon | --sysco | --sysc | --sys | --sy)
770 ac_prev
=sysconfdir
;;
771 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
772 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
773 sysconfdir
="$ac_optarg" ;;
775 -target | --target | --targe | --targ | --tar | --ta | --t)
777 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
778 target
="$ac_optarg" ;;
780 -v | -verbose | --verbose | --verbos | --verbo | --verb)
783 -version | --version | --versio | --versi | --vers)
784 echo "configure generated by autoconf version 2.13"
788 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
789 # Reject names that are not valid shell variable names.
790 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
791 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
793 ac_package
=`echo $ac_package| sed 's/-/_/g'`
798 eval "with_${ac_package}='$ac_optarg'" ;;
800 -without-* | --without-*)
801 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
802 # Reject names that are not valid shell variable names.
803 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
804 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
806 ac_package
=`echo $ac_package| sed 's/-/_/g'`
807 eval "with_${ac_package}=no" ;;
810 # Obsolete; use --with-x.
813 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
814 | --x-incl | --x-inc | --x-in | --x-i)
815 ac_prev
=x_includes
;;
816 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
817 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
818 x_includes
="$ac_optarg" ;;
820 -x-libraries | --x-libraries | --x-librarie | --x-librari \
821 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
822 ac_prev
=x_libraries
;;
823 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
824 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
825 x_libraries
="$ac_optarg" ;;
827 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
831 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
832 echo "configure: warning: $ac_option: invalid host type" 1>&2
834 if test "x$nonopt" != xNONE
; then
835 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
843 if test -n "$ac_prev"; then
844 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
847 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
849 # File descriptor usage:
852 # 2 errors and warnings
853 # 3 some systems may open it to /dev/tty
854 # 4 used on the Kubota Titan
855 # 6 checking for... messages and results
856 # 5 compiler messages saved in config.log
857 if test "$silent" = yes; then
865 This file contains any messages produced by compilers while
866 running configure, to aid debugging if configure makes a mistake.
869 # Strip out --no-create and --no-recursion so they do not pile up.
870 # Also quote any args containing shell metacharacters.
875 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
876 | --no-cr | --no-c) ;;
877 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
878 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
879 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
880 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
881 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
886 # Only set these to C if already set. These must not be set unconditionally
887 # because not all systems understand e.g. LANG=C (notably SCO).
888 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
889 # Non-C LC_CTYPE values break the ctype check.
890 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
891 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
892 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
893 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
895 # confdefs.h avoids OS command line length limits that DEFS can exceed.
896 rm -rf conftest
* confdefs.h
897 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
900 # A filename unique to this package, relative to the directory that
901 # configure is in, which we can look for to find out if srcdir is correct.
902 ac_unique_file
=wx
-config.
in
904 # Find the source files, if location was not specified.
905 if test -z "$srcdir"; then
906 ac_srcdir_defaulted
=yes
907 # Try the directory containing this script, then its parent.
909 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
910 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
912 if test ! -r $srcdir/$ac_unique_file; then
916 ac_srcdir_defaulted
=no
918 if test ! -r $srcdir/$ac_unique_file; then
919 if test "$ac_srcdir_defaulted" = yes; then
920 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
922 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
925 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
927 # Prefer explicitly selected file to automatically selected ones.
928 if test -z "$CONFIG_SITE"; then
929 if test "x$prefix" != xNONE
; then
930 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
932 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
935 for ac_site_file
in $CONFIG_SITE; do
936 if test -r "$ac_site_file"; then
937 echo "loading site script $ac_site_file"
942 if test -r "$cache_file"; then
943 echo "loading cache $cache_file"
946 echo "creating cache $cache_file"
951 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
952 ac_cpp
='$CPP $CPPFLAGS'
953 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
954 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
955 cross_compiling
=$ac_cv_prog_cc_cross
959 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
960 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
961 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
968 ac_n
= ac_c
='\c' ac_t
=
974 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
975 if test -f $ac_dir/install-sh; then
977 ac_install_sh
="$ac_aux_dir/install-sh -c"
979 elif test -f $ac_dir/install.sh
; then
981 ac_install_sh
="$ac_aux_dir/install.sh -c"
985 if test -z "$ac_aux_dir"; then
986 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
988 ac_config_guess
=$ac_aux_dir/config.guess
989 ac_config_sub
=$ac_aux_dir/config.sub
990 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
993 # Do some error checking and defaulting for the host and target type.
995 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
998 # 1. You are not allowed to specify --host, --target, and nonopt at the
1000 # 2. Host defaults to nonopt.
1001 # 3. If nonopt is not specified, then host defaults to the current host,
1002 # as determined by config.guess.
1003 # 4. Target and build default to nonopt.
1004 # 5. If nonopt is not specified, then target and build default to host.
1006 # The aliases save the names the user supplied, while $host etc.
1007 # will get canonicalized.
1008 case $host---$target---$nonopt in
1009 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
1010 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1014 # Make sure we can run config.sub.
1015 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1016 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1019 echo $ac_n "checking host system type""... $ac_c" 1>&6
1020 echo "configure:1021: checking host system type" >&5
1023 case "$host_alias" in
1027 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1028 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1030 *) host_alias
=$nonopt ;;
1034 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1035 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1036 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1037 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1038 echo "$ac_t""$host" 1>&6
1040 echo $ac_n "checking target system type""... $ac_c" 1>&6
1041 echo "configure:1042: checking target system type" >&5
1043 target_alias
=$target
1044 case "$target_alias" in
1047 NONE
) target_alias
=$host_alias ;;
1048 *) target_alias
=$nonopt ;;
1052 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1053 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1054 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1055 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1056 echo "$ac_t""$target" 1>&6
1058 echo $ac_n "checking build system type""... $ac_c" 1>&6
1059 echo "configure:1060: checking build system type" >&5
1062 case "$build_alias" in
1065 NONE
) build_alias
=$host_alias ;;
1066 *) build_alias
=$nonopt ;;
1070 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1071 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1072 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1073 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1074 echo "$ac_t""$build" 1>&6
1076 test "$host_alias" != "$target_alias" &&
1077 test "$program_prefix$program_suffix$program_transform_name" = \
1079 program_prefix
=${target_alias}-
1083 WX_MAJOR_VERSION_NUMBER
=2
1084 WX_MINOR_VERSION_NUMBER
=3
1087 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1088 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1090 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1124 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1126 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM WINE X11"
1131 DEFAULT_wxUSE_MICROWIN
=0
1132 DEFAULT_wxUSE_MOTIF
=0
1135 DEFAULT_wxUSE_WINE
=0
1138 DEFAULT_DEFAULT_wxUSE_GTK
=0
1139 DEFAULT_DEFAULT_wxUSE_MAC
=0
1140 DEFAULT_DEFAULT_wxUSE_MGL
=0
1141 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1142 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1143 DEFAULT_DEFAULT_wxUSE_MSW
=0
1144 DEFAULT_DEFAULT_wxUSE_PM
=0
1145 DEFAULT_DEFAULT_wxUSE_WINE
=0
1146 DEFAULT_DEFAULT_wxUSE_X11
=0
1154 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1155 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1157 cat >> confdefs.h
<<\EOF
1164 cat >> confdefs.h
<<\EOF
1169 if test "x$TMP" = "xalpha"; then
1171 cat >> confdefs.h
<<\EOF
1176 DEFAULT_DEFAULT_wxUSE_GTK
=1
1178 *-*-irix5* | *-*-irix6* )
1181 cat >> confdefs.h
<<\EOF
1185 cat >> confdefs.h
<<\EOF
1189 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1195 cat >> confdefs.h
<<\EOF
1199 cat >> confdefs.h
<<\EOF
1200 #define __SOLARIS__ 1
1203 cat >> confdefs.h
<<\EOF
1207 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1208 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1214 cat >> confdefs.h
<<\EOF
1218 cat >> confdefs.h
<<\EOF
1222 cat >> confdefs.h
<<\EOF
1226 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1231 cat >> confdefs.h
<<\EOF
1232 #define __FREEBSD__ 1
1235 cat >> confdefs.h
<<\EOF
1239 DEFAULT_DEFAULT_wxUSE_GTK
=1
1244 cat >> confdefs.h
<<\EOF
1245 #define __OPENBSD__ 1
1248 cat >> confdefs.h
<<\EOF
1252 DEFAULT_DEFAULT_wxUSE_GTK
=1
1257 cat >> confdefs.h
<<\EOF
1258 #define __NETBSD__ 1
1261 cat >> confdefs.h
<<\EOF
1265 DEFAULT_DEFAULT_wxUSE_GTK
=1
1270 cat >> confdefs.h
<<\EOF
1274 cat >> confdefs.h
<<\EOF
1278 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1279 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1284 cat >> confdefs.h
<<\EOF
1288 cat >> confdefs.h
<<\EOF
1292 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1297 cat >> confdefs.h
<<\EOF
1301 cat >> confdefs.h
<<\EOF
1305 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1312 cat >> confdefs.h
<<\EOF
1316 cat >> confdefs.h
<<\EOF
1320 cat >> confdefs.h
<<\EOF
1324 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1327 *-*-cygwin* | *-*-mingw32* )
1331 DEFAULT_DEFAULT_wxUSE_MSW
=1
1337 cat >> confdefs.h
<<\EOF
1342 DEFAULT_DEFAULT_wxUSE_MGL
=1
1343 LIBS
="$LIBS -lstdc++"
1346 *-pc-os2_emx | *-pc-os2-emx )
1347 cat >> confdefs.h
<<\EOF
1352 DEFAULT_DEFAULT_wxUSE_PM
=1
1359 cat >> confdefs.h
<<\EOF
1363 cat >> confdefs.h
<<\EOF
1364 #define __DARWIN__ 1
1367 cat >> confdefs.h
<<\EOF
1368 #define __POWERPC__ 1
1371 DEFAULT_DEFAULT_wxUSE_MAC
=1
1376 cat >> confdefs.h
<<\EOF
1383 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1389 wx_arg_cache_file
="configarg.cache"
1390 echo "loading argument cache $wx_arg_cache_file"
1391 rm -f ${wx_arg_cache_file}.tmp
1392 touch ${wx_arg_cache_file}.tmp
1393 touch ${wx_arg_cache_file}
1397 if test $DEBUG_CONFIGURE = 1; then
1398 DEFAULT_wxUSE_UNIVERSAL
=no
1400 DEFAULT_wxUSE_NANOX
=no
1402 DEFAULT_wxUSE_THREADS
=yes
1404 DEFAULT_wxUSE_SHARED
=yes
1405 DEFAULT_wxUSE_SONAME
=no
1406 DEFAULT_wxUSE_OPTIMISE
=no
1407 DEFAULT_wxUSE_PROFILE
=no
1408 DEFAULT_wxUSE_NO_DEPS
=no
1409 DEFAULT_wxUSE_NO_RTTI
=no
1410 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1411 DEFAULT_wxUSE_PERMISSIVE
=no
1412 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1413 DEFAULT_wxUSE_DEBUG_INFO
=yes
1414 DEFAULT_wxUSE_DEBUG_GDB
=yes
1415 DEFAULT_wxUSE_MEM_TRACING
=no
1416 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1417 DEFAULT_wxUSE_DMALLOC
=no
1418 DEFAULT_wxUSE_PRECOMP
=no
1419 DEFAULT_wxUSE_APPLE_IEEE
=no
1421 DEFAULT_wxUSE_LOG
=yes
1422 DEFAULT_wxUSE_LOGWINDOW
=no
1423 DEFAULT_wxUSE_LOGGUI
=no
1424 DEFAULT_wxUSE_LOGDIALOG
=no
1426 DEFAULT_wxUSE_GUI
=yes
1427 DEFAULT_wxUSE_CONTROLS
=no
1429 DEFAULT_wxUSE_REGEX
=no
1430 DEFAULT_wxUSE_ZLIB
=no
1431 DEFAULT_wxUSE_LIBPNG
=no
1432 DEFAULT_wxUSE_LIBJPEG
=no
1433 DEFAULT_wxUSE_LIBTIFF
=no
1434 DEFAULT_wxUSE_ODBC
=no
1435 DEFAULT_wxUSE_OPENGL
=no
1437 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1438 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1439 DEFAULT_wxUSE_STD_IOSTREAM
=no
1440 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1441 DEFAULT_wxUSE_DATETIME
=no
1442 DEFAULT_wxUSE_TIMEDATE
=no
1443 DEFAULT_wxUSE_TIMER
=no
1444 DEFAULT_wxUSE_STOPWATCH
=no
1445 DEFAULT_wxUSE_FILE
=no
1446 DEFAULT_wxUSE_FFILE
=no
1447 DEFAULT_wxUSE_TEXTBUFFER
=no
1448 DEFAULT_wxUSE_TEXTFILE
=no
1449 DEFAULT_wxUSE_WAVE
=no
1450 DEFAULT_wxUSE_INTL
=no
1451 DEFAULT_wxUSE_CONFIG
=no
1452 DEFAULT_wxUSE_FONTMAP
=no
1453 DEFAULT_wxUSE_STREAMS
=no
1454 DEFAULT_wxUSE_SOCKETS
=no
1455 DEFAULT_wxUSE_OLE
=no
1456 DEFAULT_wxUSE_DATAOBJ
=no
1457 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1458 DEFAULT_wxUSE_JOYSTICK
=no
1459 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1460 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1461 DEFAULT_wxUSE_LONGLONG
=no
1462 DEFAULT_wxUSE_GEOMETRY
=no
1464 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1465 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1466 DEFAULT_wxUSE_POSTSCRIPT
=no
1468 DEFAULT_wxUSE_X_RESOURCES
=no
1469 DEFAULT_wxUSE_CLIPBOARD
=no
1470 DEFAULT_wxUSE_TOOLTIPS
=no
1471 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1472 DEFAULT_wxUSE_DRAGIMAGE
=no
1473 DEFAULT_wxUSE_SPLINES
=no
1475 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1476 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1477 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1479 DEFAULT_wxUSE_PROLOGIO
=no
1480 DEFAULT_wxUSE_RESOURCES
=no
1481 DEFAULT_wxUSE_CONSTRAINTS
=no
1482 DEFAULT_wxUSE_IPC
=no
1483 DEFAULT_wxUSE_HELP
=no
1484 DEFAULT_wxUSE_MS_HTML_HELP
=no
1485 DEFAULT_wxUSE_WXHTML_HELP
=no
1486 DEFAULT_wxUSE_TREELAYOUT
=no
1487 DEFAULT_wxUSE_METAFILE
=no
1488 DEFAULT_wxUSE_MIMETYPE
=no
1489 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1490 DEFAULT_wxUSE_PROTOCOL
=no
1491 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1492 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1493 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1494 DEFAULT_wxUSE_URL
=no
1496 DEFAULT_wxUSE_COMMONDLGS
=no
1497 DEFAULT_wxUSE_CHOICEDLG
=no
1498 DEFAULT_wxUSE_COLOURDLG
=no
1499 DEFAULT_wxUSE_DIRDLG
=no
1500 DEFAULT_wxUSE_FILEDLG
=no
1501 DEFAULT_wxUSE_FINDREPLDLG
=no
1502 DEFAULT_wxUSE_FONTDLG
=no
1503 DEFAULT_wxUSE_MSGDLG
=no
1504 DEFAULT_wxUSE_NUMBERDLG
=no
1505 DEFAULT_wxUSE_TEXTDLG
=no
1506 DEFAULT_wxUSE_SPLASH
=no
1507 DEFAULT_wxUSE_STARTUP_TIPS
=no
1508 DEFAULT_wxUSE_PROGRESSDLG
=no
1509 DEFAULT_wxUSE_WIZARDDLG
=no
1511 DEFAULT_wxUSE_MENUS
=no
1512 DEFAULT_wxUSE_MINIFRAME
=no
1513 DEFAULT_wxUSE_HTML
=no
1514 DEFAULT_wxUSE_FILESYSTEM
=no
1515 DEFAULT_wxUSE_FS_INET
=no
1516 DEFAULT_wxUSE_FS_ZIP
=no
1517 DEFAULT_wxUSE_BUSYINFO
=no
1518 DEFAULT_wxUSE_ZIPSTREAM
=no
1519 DEFAULT_wxUSE_VALIDATORS
=no
1521 DEFAULT_wxUSE_ACCEL
=no
1522 DEFAULT_wxUSE_BUTTON
=no
1523 DEFAULT_wxUSE_BMPBUTTON
=no
1524 DEFAULT_wxUSE_CALCTRL
=no
1525 DEFAULT_wxUSE_CARET
=no
1526 DEFAULT_wxUSE_CHECKBOX
=no
1527 DEFAULT_wxUSE_CHECKLST
=no
1528 DEFAULT_wxUSE_CHOICE
=no
1529 DEFAULT_wxUSE_COMBOBOX
=no
1530 DEFAULT_wxUSE_GAUGE
=no
1531 DEFAULT_wxUSE_GRID
=no
1532 DEFAULT_wxUSE_NEW_GRID
=no
1533 DEFAULT_wxUSE_IMAGLIST
=no
1534 DEFAULT_wxUSE_LISTBOX
=no
1535 DEFAULT_wxUSE_LISTCTRL
=no
1536 DEFAULT_wxUSE_NOTEBOOK
=no
1537 DEFAULT_wxUSE_PROPSHEET
=no
1538 DEFAULT_wxUSE_RADIOBOX
=no
1539 DEFAULT_wxUSE_RADIOBTN
=no
1540 DEFAULT_wxUSE_SASH
=no
1541 DEFAULT_wxUSE_SCROLLBAR
=no
1542 DEFAULT_wxUSE_SLIDER
=no
1543 DEFAULT_wxUSE_SPINBTN
=no
1544 DEFAULT_wxUSE_SPINCTRL
=no
1545 DEFAULT_wxUSE_SPLITTER
=no
1546 DEFAULT_wxUSE_STATBMP
=no
1547 DEFAULT_wxUSE_STATBOX
=no
1548 DEFAULT_wxUSE_STATLINE
=no
1549 DEFAULT_wxUSE_STATTEXT
=no
1550 DEFAULT_wxUSE_STATUSBAR
=yes
1551 DEFAULT_wxUSE_TABDIALOG
=no
1552 DEFAULT_wxUSE_TEXTCTRL
=no
1553 DEFAULT_wxUSE_TOGGLEBTN
=no
1554 DEFAULT_wxUSE_TOOLBAR
=no
1555 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1556 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1557 DEFAULT_wxUSE_TREECTRL
=no
1558 DEFAULT_wxUSE_POPUPWIN
=no
1559 DEFAULT_wxUSE_TIPWINDOW
=no
1561 DEFAULT_wxUSE_UNICODE
=no
1562 DEFAULT_wxUSE_UNICODE_MSLU
=no
1563 DEFAULT_wxUSE_WCSRTOMBS
=no
1565 DEFAULT_wxUSE_PALETTE
=no
1566 DEFAULT_wxUSE_IMAGE
=no
1567 DEFAULT_wxUSE_GIF
=no
1568 DEFAULT_wxUSE_PCX
=no
1569 DEFAULT_wxUSE_PNM
=no
1570 DEFAULT_wxUSE_IFF
=no
1571 DEFAULT_wxUSE_XPM
=no
1572 DEFAULT_wxUSE_ICO_CUR
=no
1574 DEFAULT_wxUSE_UNIVERSAL
=no
1576 DEFAULT_wxUSE_NANOX
=no
1578 DEFAULT_wxUSE_THREADS
=yes
1580 DEFAULT_wxUSE_SHARED
=yes
1581 DEFAULT_wxUSE_SONAME
=no
1582 DEFAULT_wxUSE_OPTIMISE
=yes
1583 DEFAULT_wxUSE_PROFILE
=no
1584 DEFAULT_wxUSE_NO_DEPS
=no
1585 DEFAULT_wxUSE_NO_RTTI
=no
1586 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1587 DEFAULT_wxUSE_PERMISSIVE
=no
1588 DEFAULT_wxUSE_DEBUG_FLAG
=no
1589 DEFAULT_wxUSE_DEBUG_INFO
=no
1590 DEFAULT_wxUSE_DEBUG_GDB
=no
1591 DEFAULT_wxUSE_MEM_TRACING
=no
1592 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1593 DEFAULT_wxUSE_DMALLOC
=no
1594 DEFAULT_wxUSE_PRECOMP
=no
1595 DEFAULT_wxUSE_APPLE_IEEE
=yes
1597 DEFAULT_wxUSE_LOG
=yes
1598 DEFAULT_wxUSE_LOGWINDOW
=yes
1599 DEFAULT_wxUSE_LOGGUI
=yes
1600 DEFAULT_wxUSE_LOGDIALOG
=yes
1602 DEFAULT_wxUSE_GUI
=yes
1604 DEFAULT_wxUSE_REGEX
=yes
1605 DEFAULT_wxUSE_ZLIB
=yes
1606 DEFAULT_wxUSE_LIBPNG
=yes
1607 DEFAULT_wxUSE_LIBJPEG
=yes
1608 DEFAULT_wxUSE_LIBTIFF
=yes
1609 DEFAULT_wxUSE_ODBC
=no
1610 DEFAULT_wxUSE_OPENGL
=no
1612 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1613 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1614 DEFAULT_wxUSE_STD_IOSTREAM
=no
1615 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1616 DEFAULT_wxUSE_DATETIME
=yes
1617 DEFAULT_wxUSE_TIMEDATE
=no
1618 DEFAULT_wxUSE_TIMER
=yes
1619 DEFAULT_wxUSE_STOPWATCH
=yes
1620 DEFAULT_wxUSE_FILE
=yes
1621 DEFAULT_wxUSE_FFILE
=yes
1622 DEFAULT_wxUSE_TEXTBUFFER
=yes
1623 DEFAULT_wxUSE_TEXTFILE
=yes
1624 DEFAULT_wxUSE_WAVE
=no
1625 DEFAULT_wxUSE_INTL
=yes
1626 DEFAULT_wxUSE_CONFIG
=yes
1627 DEFAULT_wxUSE_FONTMAP
=yes
1628 DEFAULT_wxUSE_STREAMS
=yes
1629 DEFAULT_wxUSE_SOCKETS
=yes
1630 DEFAULT_wxUSE_OLE
=yes
1631 DEFAULT_wxUSE_DATAOBJ
=yes
1632 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1633 DEFAULT_wxUSE_JOYSTICK
=yes
1634 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1635 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1636 DEFAULT_wxUSE_LONGLONG
=yes
1637 DEFAULT_wxUSE_GEOMETRY
=yes
1639 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1640 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1641 DEFAULT_wxUSE_POSTSCRIPT
=yes
1643 DEFAULT_wxUSE_X_RESOURCES
=no
1644 DEFAULT_wxUSE_CLIPBOARD
=yes
1645 DEFAULT_wxUSE_TOOLTIPS
=yes
1646 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1647 DEFAULT_wxUSE_DRAGIMAGE
=yes
1648 DEFAULT_wxUSE_SPLINES
=yes
1650 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1651 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1652 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1654 DEFAULT_wxUSE_PROLOGIO
=no
1655 DEFAULT_wxUSE_RESOURCES
=no
1656 DEFAULT_wxUSE_CONSTRAINTS
=yes
1657 DEFAULT_wxUSE_IPC
=yes
1658 DEFAULT_wxUSE_HELP
=yes
1659 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1660 DEFAULT_wxUSE_WXHTML_HELP
=yes
1661 DEFAULT_wxUSE_TREELAYOUT
=yes
1662 DEFAULT_wxUSE_METAFILE
=yes
1663 DEFAULT_wxUSE_MIMETYPE
=yes
1664 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1665 DEFAULT_wxUSE_PROTOCOL
=yes
1666 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1667 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1668 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1669 DEFAULT_wxUSE_URL
=yes
1671 DEFAULT_wxUSE_COMMONDLGS
=yes
1672 DEFAULT_wxUSE_CHOICEDLG
=yes
1673 DEFAULT_wxUSE_COLOURDLG
=yes
1674 DEFAULT_wxUSE_DIRDLG
=yes
1675 DEFAULT_wxUSE_FILEDLG
=yes
1676 DEFAULT_wxUSE_FINDREPLDLG
=yes
1677 DEFAULT_wxUSE_FONTDLG
=yes
1678 DEFAULT_wxUSE_MSGDLG
=yes
1679 DEFAULT_wxUSE_NUMBERDLG
=yes
1680 DEFAULT_wxUSE_TEXTDLG
=yes
1681 DEFAULT_wxUSE_SPLASH
=yes
1682 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1683 DEFAULT_wxUSE_PROGRESSDLG
=yes
1684 DEFAULT_wxUSE_WIZARDDLG
=yes
1686 DEFAULT_wxUSE_MENUS
=yes
1687 DEFAULT_wxUSE_MINIFRAME
=yes
1688 DEFAULT_wxUSE_HTML
=yes
1689 DEFAULT_wxUSE_FILESYSTEM
=yes
1690 DEFAULT_wxUSE_FS_INET
=yes
1691 DEFAULT_wxUSE_FS_ZIP
=yes
1692 DEFAULT_wxUSE_BUSYINFO
=yes
1693 DEFAULT_wxUSE_ZIPSTREAM
=yes
1694 DEFAULT_wxUSE_VALIDATORS
=yes
1696 DEFAULT_wxUSE_ACCEL
=yes
1697 DEFAULT_wxUSE_BUTTON
=yes
1698 DEFAULT_wxUSE_BMPBUTTON
=yes
1699 DEFAULT_wxUSE_CALCTRL
=yes
1700 DEFAULT_wxUSE_CARET
=yes
1701 DEFAULT_wxUSE_CHECKBOX
=yes
1702 DEFAULT_wxUSE_CHECKLST
=yes
1703 DEFAULT_wxUSE_CHOICE
=yes
1704 DEFAULT_wxUSE_COMBOBOX
=yes
1705 DEFAULT_wxUSE_GAUGE
=yes
1706 DEFAULT_wxUSE_GRID
=yes
1707 DEFAULT_wxUSE_NEW_GRID
=yes
1708 DEFAULT_wxUSE_IMAGLIST
=yes
1709 DEFAULT_wxUSE_LISTBOX
=yes
1710 DEFAULT_wxUSE_LISTCTRL
=yes
1711 DEFAULT_wxUSE_NOTEBOOK
=yes
1712 DEFAULT_wxUSE_PROPSHEET
=yes
1713 DEFAULT_wxUSE_RADIOBOX
=yes
1714 DEFAULT_wxUSE_RADIOBTN
=yes
1715 DEFAULT_wxUSE_SASH
=yes
1716 DEFAULT_wxUSE_SCROLLBAR
=yes
1717 DEFAULT_wxUSE_SLIDER
=yes
1718 DEFAULT_wxUSE_SPINBTN
=yes
1719 DEFAULT_wxUSE_SPINCTRL
=yes
1720 DEFAULT_wxUSE_SPLITTER
=yes
1721 DEFAULT_wxUSE_STATBMP
=yes
1722 DEFAULT_wxUSE_STATBOX
=yes
1723 DEFAULT_wxUSE_STATLINE
=yes
1724 DEFAULT_wxUSE_STATTEXT
=yes
1725 DEFAULT_wxUSE_STATUSBAR
=yes
1726 DEFAULT_wxUSE_TABDIALOG
=no
1727 DEFAULT_wxUSE_TEXTCTRL
=yes
1728 DEFAULT_wxUSE_TOGGLEBTN
=yes
1729 DEFAULT_wxUSE_TOOLBAR
=yes
1730 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1731 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1732 DEFAULT_wxUSE_TREECTRL
=yes
1733 DEFAULT_wxUSE_POPUPWIN
=yes
1734 DEFAULT_wxUSE_TIPWINDOW
=yes
1736 DEFAULT_wxUSE_UNICODE
=no
1737 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1738 DEFAULT_wxUSE_WCSRTOMBS
=no
1740 DEFAULT_wxUSE_PALETTE
=yes
1741 DEFAULT_wxUSE_IMAGE
=yes
1742 DEFAULT_wxUSE_GIF
=yes
1743 DEFAULT_wxUSE_PCX
=yes
1744 DEFAULT_wxUSE_IFF
=no
1745 DEFAULT_wxUSE_PNM
=yes
1746 DEFAULT_wxUSE_XPM
=yes
1747 DEFAULT_wxUSE_ICO_CUR
=yes
1752 for toolkit
in `echo $ALL_TOOLKITS`; do
1753 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
1754 if test "x$LINE" != "x" ; then
1755 has_toolkit_in_cache
=1
1756 eval "DEFAULT_$LINE"
1757 eval "CACHE_$toolkit=1"
1764 echo $ac_n "checking for --${enablestring:-enable}-gui""... $ac_c" 1>&6
1765 echo "configure:1766: checking for --${enablestring:-enable}-gui" >&5
1767 # Check whether --enable-gui or --disable-gui was given.
1768 if test "${enable_gui+set}" = set; then
1769 enableval
="$enable_gui"
1771 if test "$enableval" = yes; then
1772 ac_cv_use_gui
='wxUSE_GUI=yes'
1774 ac_cv_use_gui
='wxUSE_GUI=no'
1779 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1780 if test "x$LINE" != x
; then
1781 eval "DEFAULT_$LINE"
1786 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1791 eval "$ac_cv_use_gui"
1792 if test "$no_cache" != 1; then
1793 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1796 if test "$wxUSE_GUI" = yes; then
1797 echo "$ac_t""yes" 1>&6
1799 echo "$ac_t""no" 1>&6
1803 if test "$wxUSE_GUI" = "yes"; then
1807 echo $ac_n "checking for --${enablestring:-enable}-universal""... $ac_c" 1>&6
1808 echo "configure:1809: checking for --${enablestring:-enable}-universal" >&5
1810 # Check whether --enable-universal or --disable-universal was given.
1811 if test "${enable_universal+set}" = set; then
1812 enableval
="$enable_universal"
1814 if test "$enableval" = yes; then
1815 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1817 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1822 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1823 if test "x$LINE" != x
; then
1824 eval "DEFAULT_$LINE"
1829 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1834 eval "$ac_cv_use_universal"
1835 if test "$no_cache" != 1; then
1836 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1839 if test "$wxUSE_UNIVERSAL" = yes; then
1840 echo "$ac_t""yes" 1>&6
1842 echo "$ac_t""no" 1>&6
1845 # Check whether --with-gtk or --without-gtk was given.
1846 if test "${with_gtk+set}" = set; then
1848 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1851 # Check whether --with-motif or --without-motif was given.
1852 if test "${with_motif+set}" = set; then
1853 withval
="$with_motif"
1854 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1857 # Check whether --with-mac or --without-mac was given.
1858 if test "${with_mac+set}" = set; then
1860 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1863 # Check whether --with-wine or --without-wine was given.
1864 if test "${with_wine+set}" = set; then
1865 withval
="$with_wine"
1866 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1869 # Check whether --with-msw or --without-msw was given.
1870 if test "${with_msw+set}" = set; then
1872 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1875 # Check whether --with-pm or --without-pm was given.
1876 if test "${with_pm+set}" = set; then
1878 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1881 # Check whether --with-mgl or --without-mgl was given.
1882 if test "${with_mgl+set}" = set; then
1884 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1887 # Check whether --with-microwin or --without-microwin was given.
1888 if test "${with_microwin+set}" = set; then
1889 withval
="$with_microwin"
1890 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1893 # Check whether --with-x11 or --without-x11 was given.
1894 if test "${with_x11+set}" = set; then
1896 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1901 echo $ac_n "checking for --${enablestring:-enable}-nanox""... $ac_c" 1>&6
1902 echo "configure:1903: checking for --${enablestring:-enable}-nanox" >&5
1904 # Check whether --enable-nanox or --disable-nanox was given.
1905 if test "${enable_nanox+set}" = set; then
1906 enableval
="$enable_nanox"
1908 if test "$enableval" = yes; then
1909 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1911 ac_cv_use_nanox
='wxUSE_NANOX=no'
1916 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1917 if test "x$LINE" != x
; then
1918 eval "DEFAULT_$LINE"
1923 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1928 eval "$ac_cv_use_nanox"
1929 if test "$no_cache" != 1; then
1930 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1933 if test "$wxUSE_NANOX" = yes; then
1934 echo "$ac_t""yes" 1>&6
1936 echo "$ac_t""no" 1>&6
1942 echo $ac_n "checking for --${enablestring:-enable}-gtk2""... $ac_c" 1>&6
1943 echo "configure:1944: checking for --${enablestring:-enable}-gtk2" >&5
1945 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1946 if test "${enable_gtk2+set}" = set; then
1947 enableval
="$enable_gtk2"
1949 if test "$enableval" = yes; then
1950 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
1952 ac_cv_use_gtk2
='wxUSE_GTK2=no'
1957 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
1958 if test "x$LINE" != x
; then
1959 eval "DEFAULT_$LINE"
1964 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
1969 eval "$ac_cv_use_gtk2"
1970 if test "$no_cache" != 1; then
1971 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
1974 if test "$wxUSE_GTK2" = yes; then
1975 echo "$ac_t""yes" 1>&6
1977 echo "$ac_t""no" 1>&6
1982 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1983 echo "configure:1984: checking for --with-libpng" >&5
1985 # Check whether --with-libpng or --without-libpng was given.
1986 if test "${with_libpng+set}" = set; then
1987 withval
="$with_libpng"
1989 if test "$withval" = yes; then
1990 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1991 elif test "$withval" = no
; then
1992 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1993 elif test "$withval" = sys
; then
1994 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1995 elif test "$withval" = builtin; then
1996 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1998 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2003 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2004 if test "x$LINE" != x
; then
2005 eval "DEFAULT_$LINE"
2010 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2015 eval "$ac_cv_use_libpng"
2016 if test "$no_cache" != 1; then
2017 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2020 if test "$wxUSE_LIBPNG" = yes; then
2021 echo "$ac_t""yes" 1>&6
2022 elif test "$wxUSE_LIBPNG" = no
; then
2023 echo "$ac_t""no" 1>&6
2024 elif test "$wxUSE_LIBPNG" = sys
; then
2025 echo "$ac_t""system version" 1>&6
2026 elif test "$wxUSE_LIBPNG" = builtin; then
2027 echo "$ac_t""builtin version" 1>&6
2029 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2033 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2034 echo "configure:2035: checking for --with-libjpeg" >&5
2036 # Check whether --with-libjpeg or --without-libjpeg was given.
2037 if test "${with_libjpeg+set}" = set; then
2038 withval
="$with_libjpeg"
2040 if test "$withval" = yes; then
2041 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2042 elif test "$withval" = no
; then
2043 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2044 elif test "$withval" = sys
; then
2045 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2046 elif test "$withval" = builtin; then
2047 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2049 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2054 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2055 if test "x$LINE" != x
; then
2056 eval "DEFAULT_$LINE"
2061 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2066 eval "$ac_cv_use_libjpeg"
2067 if test "$no_cache" != 1; then
2068 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2071 if test "$wxUSE_LIBJPEG" = yes; then
2072 echo "$ac_t""yes" 1>&6
2073 elif test "$wxUSE_LIBJPEG" = no
; then
2074 echo "$ac_t""no" 1>&6
2075 elif test "$wxUSE_LIBJPEG" = sys
; then
2076 echo "$ac_t""system version" 1>&6
2077 elif test "$wxUSE_LIBJPEG" = builtin; then
2078 echo "$ac_t""builtin version" 1>&6
2080 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2084 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2085 echo "configure:2086: checking for --with-libtiff" >&5
2087 # Check whether --with-libtiff or --without-libtiff was given.
2088 if test "${with_libtiff+set}" = set; then
2089 withval
="$with_libtiff"
2091 if test "$withval" = yes; then
2092 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2093 elif test "$withval" = no
; then
2094 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2095 elif test "$withval" = sys
; then
2096 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2097 elif test "$withval" = builtin; then
2098 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2100 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2105 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2106 if test "x$LINE" != x
; then
2107 eval "DEFAULT_$LINE"
2112 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2117 eval "$ac_cv_use_libtiff"
2118 if test "$no_cache" != 1; then
2119 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2122 if test "$wxUSE_LIBTIFF" = yes; then
2123 echo "$ac_t""yes" 1>&6
2124 elif test "$wxUSE_LIBTIFF" = no
; then
2125 echo "$ac_t""no" 1>&6
2126 elif test "$wxUSE_LIBTIFF" = sys
; then
2127 echo "$ac_t""system version" 1>&6
2128 elif test "$wxUSE_LIBTIFF" = builtin; then
2129 echo "$ac_t""builtin version" 1>&6
2131 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2135 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2136 echo "configure:2137: checking for --with-opengl" >&5
2138 # Check whether --with-opengl or --without-opengl was given.
2139 if test "${with_opengl+set}" = set; then
2140 withval
="$with_opengl"
2142 if test "$withval" = yes; then
2143 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2145 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2150 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2151 if test "x$LINE" != x
; then
2152 eval "DEFAULT_$LINE"
2157 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2162 eval "$ac_cv_use_opengl"
2163 if test "$no_cache" != 1; then
2164 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2167 if test "$wxUSE_OPENGL" = yes; then
2168 echo "$ac_t""yes" 1>&6
2170 echo "$ac_t""no" 1>&6
2177 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2178 echo "configure:2179: checking for --with-dmalloc" >&5
2180 # Check whether --with-dmalloc or --without-dmalloc was given.
2181 if test "${with_dmalloc+set}" = set; then
2182 withval
="$with_dmalloc"
2184 if test "$withval" = yes; then
2185 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2187 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2192 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2193 if test "x$LINE" != x
; then
2194 eval "DEFAULT_$LINE"
2199 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2204 eval "$ac_cv_use_dmalloc"
2205 if test "$no_cache" != 1; then
2206 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2209 if test "$wxUSE_DMALLOC" = yes; then
2210 echo "$ac_t""yes" 1>&6
2212 echo "$ac_t""no" 1>&6
2216 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2217 echo "configure:2218: checking for --with-regex" >&5
2219 # Check whether --with-regex or --without-regex was given.
2220 if test "${with_regex+set}" = set; then
2221 withval
="$with_regex"
2223 if test "$withval" = yes; then
2224 ac_cv_use_regex
='wxUSE_REGEX=yes'
2225 elif test "$withval" = no
; then
2226 ac_cv_use_regex
='wxUSE_REGEX=no'
2227 elif test "$withval" = sys
; then
2228 ac_cv_use_regex
='wxUSE_REGEX=sys'
2229 elif test "$withval" = builtin; then
2230 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2232 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2237 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2238 if test "x$LINE" != x
; then
2239 eval "DEFAULT_$LINE"
2244 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2249 eval "$ac_cv_use_regex"
2250 if test "$no_cache" != 1; then
2251 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2254 if test "$wxUSE_REGEX" = yes; then
2255 echo "$ac_t""yes" 1>&6
2256 elif test "$wxUSE_REGEX" = no
; then
2257 echo "$ac_t""no" 1>&6
2258 elif test "$wxUSE_REGEX" = sys
; then
2259 echo "$ac_t""system version" 1>&6
2260 elif test "$wxUSE_REGEX" = builtin; then
2261 echo "$ac_t""builtin version" 1>&6
2263 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2267 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2268 echo "configure:2269: checking for --with-zlib" >&5
2270 # Check whether --with-zlib or --without-zlib was given.
2271 if test "${with_zlib+set}" = set; then
2272 withval
="$with_zlib"
2274 if test "$withval" = yes; then
2275 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2276 elif test "$withval" = no
; then
2277 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2278 elif test "$withval" = sys
; then
2279 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2280 elif test "$withval" = builtin; then
2281 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2283 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2288 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2289 if test "x$LINE" != x
; then
2290 eval "DEFAULT_$LINE"
2295 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2300 eval "$ac_cv_use_zlib"
2301 if test "$no_cache" != 1; then
2302 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2305 if test "$wxUSE_ZLIB" = yes; then
2306 echo "$ac_t""yes" 1>&6
2307 elif test "$wxUSE_ZLIB" = no
; then
2308 echo "$ac_t""no" 1>&6
2309 elif test "$wxUSE_ZLIB" = sys
; then
2310 echo "$ac_t""system version" 1>&6
2311 elif test "$wxUSE_ZLIB" = builtin; then
2312 echo "$ac_t""builtin version" 1>&6
2314 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2318 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2319 echo "configure:2320: checking for --with-odbc" >&5
2321 # Check whether --with-odbc or --without-odbc was given.
2322 if test "${with_odbc+set}" = set; then
2323 withval
="$with_odbc"
2325 if test "$withval" = yes; then
2326 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2328 ac_cv_use_odbc
='wxUSE_ODBC=no'
2333 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2334 if test "x$LINE" != x
; then
2335 eval "DEFAULT_$LINE"
2340 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2345 eval "$ac_cv_use_odbc"
2346 if test "$no_cache" != 1; then
2347 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2350 if test "$wxUSE_ODBC" = yes; then
2351 echo "$ac_t""yes" 1>&6
2353 echo "$ac_t""no" 1>&6
2360 echo $ac_n "checking for --${enablestring:-enable}-shared""... $ac_c" 1>&6
2361 echo "configure:2362: checking for --${enablestring:-enable}-shared" >&5
2363 # Check whether --enable-shared or --disable-shared was given.
2364 if test "${enable_shared+set}" = set; then
2365 enableval
="$enable_shared"
2367 if test "$enableval" = yes; then
2368 ac_cv_use_shared
='wxUSE_SHARED=yes'
2370 ac_cv_use_shared
='wxUSE_SHARED=no'
2375 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2376 if test "x$LINE" != x
; then
2377 eval "DEFAULT_$LINE"
2382 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2387 eval "$ac_cv_use_shared"
2388 if test "$no_cache" != 1; then
2389 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2392 if test "$wxUSE_SHARED" = yes; then
2393 echo "$ac_t""yes" 1>&6
2395 echo "$ac_t""no" 1>&6
2400 echo $ac_n "checking for --${enablestring:-enable}-soname""... $ac_c" 1>&6
2401 echo "configure:2402: checking for --${enablestring:-enable}-soname" >&5
2403 # Check whether --enable-soname or --disable-soname was given.
2404 if test "${enable_soname+set}" = set; then
2405 enableval
="$enable_soname"
2407 if test "$enableval" = yes; then
2408 ac_cv_use_soname
='wxUSE_SONAME=yes'
2410 ac_cv_use_soname
='wxUSE_SONAME=no'
2415 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2416 if test "x$LINE" != x
; then
2417 eval "DEFAULT_$LINE"
2422 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2427 eval "$ac_cv_use_soname"
2428 if test "$no_cache" != 1; then
2429 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2432 if test "$wxUSE_SONAME" = yes; then
2433 echo "$ac_t""yes" 1>&6
2435 echo "$ac_t""no" 1>&6
2440 echo $ac_n "checking for --${enablestring:-enable}-optimise""... $ac_c" 1>&6
2441 echo "configure:2442: checking for --${enablestring:-enable}-optimise" >&5
2443 # Check whether --enable-optimise or --disable-optimise was given.
2444 if test "${enable_optimise+set}" = set; then
2445 enableval
="$enable_optimise"
2447 if test "$enableval" = yes; then
2448 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2450 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2455 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2456 if test "x$LINE" != x
; then
2457 eval "DEFAULT_$LINE"
2462 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2467 eval "$ac_cv_use_optimise"
2468 if test "$no_cache" != 1; then
2469 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2472 if test "$wxUSE_OPTIMISE" = yes; then
2473 echo "$ac_t""yes" 1>&6
2475 echo "$ac_t""no" 1>&6
2480 echo $ac_n "checking for --${enablestring:-enable}-debug""... $ac_c" 1>&6
2481 echo "configure:2482: checking for --${enablestring:-enable}-debug" >&5
2483 # Check whether --enable-debug or --disable-debug was given.
2484 if test "${enable_debug+set}" = set; then
2485 enableval
="$enable_debug"
2487 if test "$enableval" = yes; then
2488 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2490 ac_cv_use_debug
='wxUSE_DEBUG=no'
2495 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2496 if test "x$LINE" != x
; then
2497 eval "DEFAULT_$LINE"
2502 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2507 eval "$ac_cv_use_debug"
2508 if test "$no_cache" != 1; then
2509 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2512 if test "$wxUSE_DEBUG" = yes; then
2513 echo "$ac_t""yes" 1>&6
2515 echo "$ac_t""no" 1>&6
2521 echo $ac_n "checking for --${enablestring:-enable}-precomp""... $ac_c" 1>&6
2522 echo "configure:2523: checking for --${enablestring:-enable}-precomp" >&5
2524 # Check whether --enable-precomp or --disable-precomp was given.
2525 if test "${enable_precomp+set}" = set; then
2526 enableval
="$enable_precomp"
2528 if test "$enableval" = yes; then
2529 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2531 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2536 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2537 if test "x$LINE" != x
; then
2538 eval "DEFAULT_$LINE"
2543 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2548 eval "$ac_cv_use_precomp"
2549 if test "$no_cache" != 1; then
2550 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2553 if test "$wxUSE_PRECOMP" = yes; then
2554 echo "$ac_t""yes" 1>&6
2556 echo "$ac_t""no" 1>&6
2560 if test "$wxUSE_DEBUG" = "yes"; then
2561 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2562 DEFAULT_wxUSE_DEBUG_INFO
=yes
2563 elif test "$wxUSE_DEBUG" = "no"; then
2564 DEFAULT_wxUSE_DEBUG_FLAG
=no
2565 DEFAULT_wxUSE_DEBUG_INFO
=no
2570 echo $ac_n "checking for --${enablestring:-enable}-debug_flag""... $ac_c" 1>&6
2571 echo "configure:2572: checking for --${enablestring:-enable}-debug_flag" >&5
2573 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2574 if test "${enable_debug_flag+set}" = set; then
2575 enableval
="$enable_debug_flag"
2577 if test "$enableval" = yes; then
2578 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2580 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2585 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2586 if test "x$LINE" != x
; then
2587 eval "DEFAULT_$LINE"
2592 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2597 eval "$ac_cv_use_debug_flag"
2598 if test "$no_cache" != 1; then
2599 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2602 if test "$wxUSE_DEBUG_FLAG" = yes; then
2603 echo "$ac_t""yes" 1>&6
2605 echo "$ac_t""no" 1>&6
2610 echo $ac_n "checking for --${enablestring:-enable}-debug_info""... $ac_c" 1>&6
2611 echo "configure:2612: checking for --${enablestring:-enable}-debug_info" >&5
2613 # Check whether --enable-debug_info or --disable-debug_info was given.
2614 if test "${enable_debug_info+set}" = set; then
2615 enableval
="$enable_debug_info"
2617 if test "$enableval" = yes; then
2618 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2620 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2625 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2626 if test "x$LINE" != x
; then
2627 eval "DEFAULT_$LINE"
2632 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2637 eval "$ac_cv_use_debug_info"
2638 if test "$no_cache" != 1; then
2639 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2642 if test "$wxUSE_DEBUG_INFO" = yes; then
2643 echo "$ac_t""yes" 1>&6
2645 echo "$ac_t""no" 1>&6
2650 echo $ac_n "checking for --${enablestring:-enable}-debug_gdb""... $ac_c" 1>&6
2651 echo "configure:2652: checking for --${enablestring:-enable}-debug_gdb" >&5
2653 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2654 if test "${enable_debug_gdb+set}" = set; then
2655 enableval
="$enable_debug_gdb"
2657 if test "$enableval" = yes; then
2658 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2660 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2665 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2666 if test "x$LINE" != x
; then
2667 eval "DEFAULT_$LINE"
2672 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2677 eval "$ac_cv_use_debug_gdb"
2678 if test "$no_cache" != 1; then
2679 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2682 if test "$wxUSE_DEBUG_GDB" = yes; then
2683 echo "$ac_t""yes" 1>&6
2685 echo "$ac_t""no" 1>&6
2690 echo $ac_n "checking for --${enablestring:-enable}-debug_cntxt""... $ac_c" 1>&6
2691 echo "configure:2692: checking for --${enablestring:-enable}-debug_cntxt" >&5
2693 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2694 if test "${enable_debug_cntxt+set}" = set; then
2695 enableval
="$enable_debug_cntxt"
2697 if test "$enableval" = yes; then
2698 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2700 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2705 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2706 if test "x$LINE" != x
; then
2707 eval "DEFAULT_$LINE"
2712 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2717 eval "$ac_cv_use_debug_cntxt"
2718 if test "$no_cache" != 1; then
2719 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2722 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2723 echo "$ac_t""yes" 1>&6
2725 echo "$ac_t""no" 1>&6
2730 echo $ac_n "checking for --${enablestring:-enable}-mem_tracing""... $ac_c" 1>&6
2731 echo "configure:2732: checking for --${enablestring:-enable}-mem_tracing" >&5
2733 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2734 if test "${enable_mem_tracing+set}" = set; then
2735 enableval
="$enable_mem_tracing"
2737 if test "$enableval" = yes; then
2738 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2740 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2745 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2746 if test "x$LINE" != x
; then
2747 eval "DEFAULT_$LINE"
2752 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2757 eval "$ac_cv_use_mem_tracing"
2758 if test "$no_cache" != 1; then
2759 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2762 if test "$wxUSE_MEM_TRACING" = yes; then
2763 echo "$ac_t""yes" 1>&6
2765 echo "$ac_t""no" 1>&6
2770 echo $ac_n "checking for --${enablestring:-enable}-profile""... $ac_c" 1>&6
2771 echo "configure:2772: checking for --${enablestring:-enable}-profile" >&5
2773 # Check whether --enable-profile or --disable-profile was given.
2774 if test "${enable_profile+set}" = set; then
2775 enableval
="$enable_profile"
2777 if test "$enableval" = yes; then
2778 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2780 ac_cv_use_profile
='wxUSE_PROFILE=no'
2785 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2786 if test "x$LINE" != x
; then
2787 eval "DEFAULT_$LINE"
2792 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2797 eval "$ac_cv_use_profile"
2798 if test "$no_cache" != 1; then
2799 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2802 if test "$wxUSE_PROFILE" = yes; then
2803 echo "$ac_t""yes" 1>&6
2805 echo "$ac_t""no" 1>&6
2810 echo $ac_n "checking for --${enablestring:-enable}-no_rtti""... $ac_c" 1>&6
2811 echo "configure:2812: checking for --${enablestring:-enable}-no_rtti" >&5
2813 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2814 if test "${enable_no_rtti+set}" = set; then
2815 enableval
="$enable_no_rtti"
2817 if test "$enableval" = yes; then
2818 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2820 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2825 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2826 if test "x$LINE" != x
; then
2827 eval "DEFAULT_$LINE"
2832 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2837 eval "$ac_cv_use_no_rtti"
2838 if test "$no_cache" != 1; then
2839 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2842 if test "$wxUSE_NO_RTTI" = yes; then
2843 echo "$ac_t""yes" 1>&6
2845 echo "$ac_t""no" 1>&6
2850 echo $ac_n "checking for --${enablestring:-enable}-no_exceptions""... $ac_c" 1>&6
2851 echo "configure:2852: checking for --${enablestring:-enable}-no_exceptions" >&5
2853 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2854 if test "${enable_no_exceptions+set}" = set; then
2855 enableval
="$enable_no_exceptions"
2857 if test "$enableval" = yes; then
2858 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2860 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2865 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2866 if test "x$LINE" != x
; then
2867 eval "DEFAULT_$LINE"
2872 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2877 eval "$ac_cv_use_no_exceptions"
2878 if test "$no_cache" != 1; then
2879 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2882 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2883 echo "$ac_t""yes" 1>&6
2885 echo "$ac_t""no" 1>&6
2890 echo $ac_n "checking for --${enablestring:-enable}-permissive""... $ac_c" 1>&6
2891 echo "configure:2892: checking for --${enablestring:-enable}-permissive" >&5
2893 # Check whether --enable-permissive or --disable-permissive was given.
2894 if test "${enable_permissive+set}" = set; then
2895 enableval
="$enable_permissive"
2897 if test "$enableval" = yes; then
2898 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2900 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2905 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2906 if test "x$LINE" != x
; then
2907 eval "DEFAULT_$LINE"
2912 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2917 eval "$ac_cv_use_permissive"
2918 if test "$no_cache" != 1; then
2919 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2922 if test "$wxUSE_PERMISSIVE" = yes; then
2923 echo "$ac_t""yes" 1>&6
2925 echo "$ac_t""no" 1>&6
2930 echo $ac_n "checking for --${enablestring:-enable}-no_deps""... $ac_c" 1>&6
2931 echo "configure:2932: checking for --${enablestring:-enable}-no_deps" >&5
2933 # Check whether --enable-no_deps or --disable-no_deps was given.
2934 if test "${enable_no_deps+set}" = set; then
2935 enableval
="$enable_no_deps"
2937 if test "$enableval" = yes; then
2938 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2940 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2945 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2946 if test "x$LINE" != x
; then
2947 eval "DEFAULT_$LINE"
2952 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2957 eval "$ac_cv_use_no_deps"
2958 if test "$no_cache" != 1; then
2959 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2962 if test "$wxUSE_NO_DEPS" = yes; then
2963 echo "$ac_t""yes" 1>&6
2965 echo "$ac_t""no" 1>&6
2971 echo $ac_n "checking for --${enablestring:-enable}-compat20""... $ac_c" 1>&6
2972 echo "configure:2973: checking for --${enablestring:-enable}-compat20" >&5
2974 # Check whether --enable-compat20 or --disable-compat20 was given.
2975 if test "${enable_compat20+set}" = set; then
2976 enableval
="$enable_compat20"
2978 if test "$enableval" = yes; then
2979 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2981 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2986 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x
; then
2988 eval "DEFAULT_$LINE"
2993 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2998 eval "$ac_cv_use_compat20"
2999 if test "$no_cache" != 1; then
3000 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3003 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3004 echo "$ac_t""yes" 1>&6
3006 echo "$ac_t""no" 1>&6
3010 enablestring
=disable
3011 echo $ac_n "checking for --${enablestring:-enable}-compat22""... $ac_c" 1>&6
3012 echo "configure:3013: checking for --${enablestring:-enable}-compat22" >&5
3014 # Check whether --enable-compat22 or --disable-compat22 was given.
3015 if test "${enable_compat22+set}" = set; then
3016 enableval
="$enable_compat22"
3018 if test "$enableval" = yes; then
3019 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3021 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3026 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3027 if test "x$LINE" != x
; then
3028 eval "DEFAULT_$LINE"
3033 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3038 eval "$ac_cv_use_compat22"
3039 if test "$no_cache" != 1; then
3040 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3043 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3044 echo "$ac_t""yes" 1>&6
3046 echo "$ac_t""no" 1>&6
3050 # Check whether --enable-rpath or --disable-rpath was given.
3051 if test "${enable_rpath+set}" = set; then
3052 enableval
="$enable_rpath"
3053 wxRPATH_DIR
="$enableval"
3057 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3058 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3065 echo $ac_n "checking for --${enablestring:-enable}-intl""... $ac_c" 1>&6
3066 echo "configure:3067: checking for --${enablestring:-enable}-intl" >&5
3068 # Check whether --enable-intl or --disable-intl was given.
3069 if test "${enable_intl+set}" = set; then
3070 enableval
="$enable_intl"
3072 if test "$enableval" = yes; then
3073 ac_cv_use_intl
='wxUSE_INTL=yes'
3075 ac_cv_use_intl
='wxUSE_INTL=no'
3080 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3081 if test "x$LINE" != x
; then
3082 eval "DEFAULT_$LINE"
3087 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3092 eval "$ac_cv_use_intl"
3093 if test "$no_cache" != 1; then
3094 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3097 if test "$wxUSE_INTL" = yes; then
3098 echo "$ac_t""yes" 1>&6
3100 echo "$ac_t""no" 1>&6
3105 echo $ac_n "checking for --${enablestring:-enable}-config""... $ac_c" 1>&6
3106 echo "configure:3107: checking for --${enablestring:-enable}-config" >&5
3108 # Check whether --enable-config or --disable-config was given.
3109 if test "${enable_config+set}" = set; then
3110 enableval
="$enable_config"
3112 if test "$enableval" = yes; then
3113 ac_cv_use_config
='wxUSE_CONFIG=yes'
3115 ac_cv_use_config
='wxUSE_CONFIG=no'
3120 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3121 if test "x$LINE" != x
; then
3122 eval "DEFAULT_$LINE"
3127 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3132 eval "$ac_cv_use_config"
3133 if test "$no_cache" != 1; then
3134 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3137 if test "$wxUSE_CONFIG" = yes; then
3138 echo "$ac_t""yes" 1>&6
3140 echo "$ac_t""no" 1>&6
3146 echo $ac_n "checking for --${enablestring:-enable}-protocols""... $ac_c" 1>&6
3147 echo "configure:3148: checking for --${enablestring:-enable}-protocols" >&5
3149 # Check whether --enable-protocols or --disable-protocols was given.
3150 if test "${enable_protocols+set}" = set; then
3151 enableval
="$enable_protocols"
3153 if test "$enableval" = yes; then
3154 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3156 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3161 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3162 if test "x$LINE" != x
; then
3163 eval "DEFAULT_$LINE"
3168 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3173 eval "$ac_cv_use_protocols"
3174 if test "$no_cache" != 1; then
3175 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3178 if test "$wxUSE_PROTOCOL" = yes; then
3179 echo "$ac_t""yes" 1>&6
3181 echo "$ac_t""no" 1>&6
3186 echo $ac_n "checking for --${enablestring:-enable}-ftp""... $ac_c" 1>&6
3187 echo "configure:3188: checking for --${enablestring:-enable}-ftp" >&5
3189 # Check whether --enable-ftp or --disable-ftp was given.
3190 if test "${enable_ftp+set}" = set; then
3191 enableval
="$enable_ftp"
3193 if test "$enableval" = yes; then
3194 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3196 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3201 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3202 if test "x$LINE" != x
; then
3203 eval "DEFAULT_$LINE"
3208 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3213 eval "$ac_cv_use_ftp"
3214 if test "$no_cache" != 1; then
3215 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3218 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3219 echo "$ac_t""yes" 1>&6
3221 echo "$ac_t""no" 1>&6
3226 echo $ac_n "checking for --${enablestring:-enable}-http""... $ac_c" 1>&6
3227 echo "configure:3228: checking for --${enablestring:-enable}-http" >&5
3229 # Check whether --enable-http or --disable-http was given.
3230 if test "${enable_http+set}" = set; then
3231 enableval
="$enable_http"
3233 if test "$enableval" = yes; then
3234 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3236 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3241 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3242 if test "x$LINE" != x
; then
3243 eval "DEFAULT_$LINE"
3248 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3253 eval "$ac_cv_use_http"
3254 if test "$no_cache" != 1; then
3255 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3258 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3259 echo "$ac_t""yes" 1>&6
3261 echo "$ac_t""no" 1>&6
3266 echo $ac_n "checking for --${enablestring:-enable}-fileproto""... $ac_c" 1>&6
3267 echo "configure:3268: checking for --${enablestring:-enable}-fileproto" >&5
3269 # Check whether --enable-fileproto or --disable-fileproto was given.
3270 if test "${enable_fileproto+set}" = set; then
3271 enableval
="$enable_fileproto"
3273 if test "$enableval" = yes; then
3274 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3276 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3281 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3282 if test "x$LINE" != x
; then
3283 eval "DEFAULT_$LINE"
3288 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3293 eval "$ac_cv_use_fileproto"
3294 if test "$no_cache" != 1; then
3295 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3298 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3299 echo "$ac_t""yes" 1>&6
3301 echo "$ac_t""no" 1>&6
3306 echo $ac_n "checking for --${enablestring:-enable}-sockets""... $ac_c" 1>&6
3307 echo "configure:3308: checking for --${enablestring:-enable}-sockets" >&5
3309 # Check whether --enable-sockets or --disable-sockets was given.
3310 if test "${enable_sockets+set}" = set; then
3311 enableval
="$enable_sockets"
3313 if test "$enableval" = yes; then
3314 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3316 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3321 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3322 if test "x$LINE" != x
; then
3323 eval "DEFAULT_$LINE"
3328 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3333 eval "$ac_cv_use_sockets"
3334 if test "$no_cache" != 1; then
3335 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3338 if test "$wxUSE_SOCKETS" = yes; then
3339 echo "$ac_t""yes" 1>&6
3341 echo "$ac_t""no" 1>&6
3346 echo $ac_n "checking for --${enablestring:-enable}-ole""... $ac_c" 1>&6
3347 echo "configure:3348: checking for --${enablestring:-enable}-ole" >&5
3349 # Check whether --enable-ole or --disable-ole was given.
3350 if test "${enable_ole+set}" = set; then
3351 enableval
="$enable_ole"
3353 if test "$enableval" = yes; then
3354 ac_cv_use_ole
='wxUSE_OLE=yes'
3356 ac_cv_use_ole
='wxUSE_OLE=no'
3361 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
3362 if test "x$LINE" != x
; then
3363 eval "DEFAULT_$LINE"
3368 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
3373 eval "$ac_cv_use_ole"
3374 if test "$no_cache" != 1; then
3375 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
3378 if test "$wxUSE_OLE" = yes; then
3379 echo "$ac_t""yes" 1>&6
3381 echo "$ac_t""no" 1>&6
3386 echo $ac_n "checking for --${enablestring:-enable}-dataobj""... $ac_c" 1>&6
3387 echo "configure:3388: checking for --${enablestring:-enable}-dataobj" >&5
3389 # Check whether --enable-dataobj or --disable-dataobj was given.
3390 if test "${enable_dataobj+set}" = set; then
3391 enableval
="$enable_dataobj"
3393 if test "$enableval" = yes; then
3394 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
3396 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
3401 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
3402 if test "x$LINE" != x
; then
3403 eval "DEFAULT_$LINE"
3408 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
3413 eval "$ac_cv_use_dataobj"
3414 if test "$no_cache" != 1; then
3415 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
3418 if test "$wxUSE_DATAOBJ" = yes; then
3419 echo "$ac_t""yes" 1>&6
3421 echo "$ac_t""no" 1>&6
3427 echo $ac_n "checking for --${enablestring:-enable}-ipc""... $ac_c" 1>&6
3428 echo "configure:3429: checking for --${enablestring:-enable}-ipc" >&5
3430 # Check whether --enable-ipc or --disable-ipc was given.
3431 if test "${enable_ipc+set}" = set; then
3432 enableval
="$enable_ipc"
3434 if test "$enableval" = yes; then
3435 ac_cv_use_ipc
='wxUSE_IPC=yes'
3437 ac_cv_use_ipc
='wxUSE_IPC=no'
3442 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3443 if test "x$LINE" != x
; then
3444 eval "DEFAULT_$LINE"
3449 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3454 eval "$ac_cv_use_ipc"
3455 if test "$no_cache" != 1; then
3456 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3459 if test "$wxUSE_IPC" = yes; then
3460 echo "$ac_t""yes" 1>&6
3462 echo "$ac_t""no" 1>&6
3468 echo $ac_n "checking for --${enablestring:-enable}-cmdline""... $ac_c" 1>&6
3469 echo "configure:3470: checking for --${enablestring:-enable}-cmdline" >&5
3471 # Check whether --enable-cmdline or --disable-cmdline was given.
3472 if test "${enable_cmdline+set}" = set; then
3473 enableval
="$enable_cmdline"
3475 if test "$enableval" = yes; then
3476 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3478 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3483 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x
; then
3485 eval "DEFAULT_$LINE"
3490 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3495 eval "$ac_cv_use_cmdline"
3496 if test "$no_cache" != 1; then
3497 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3500 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3501 echo "$ac_t""yes" 1>&6
3503 echo "$ac_t""no" 1>&6
3508 echo $ac_n "checking for --${enablestring:-enable}-datetime""... $ac_c" 1>&6
3509 echo "configure:3510: checking for --${enablestring:-enable}-datetime" >&5
3511 # Check whether --enable-datetime or --disable-datetime was given.
3512 if test "${enable_datetime+set}" = set; then
3513 enableval
="$enable_datetime"
3515 if test "$enableval" = yes; then
3516 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3518 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3523 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3524 if test "x$LINE" != x
; then
3525 eval "DEFAULT_$LINE"
3530 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3535 eval "$ac_cv_use_datetime"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3540 if test "$wxUSE_DATETIME" = yes; then
3541 echo "$ac_t""yes" 1>&6
3543 echo "$ac_t""no" 1>&6
3548 echo $ac_n "checking for --${enablestring:-enable}-timedate""... $ac_c" 1>&6
3549 echo "configure:3550: checking for --${enablestring:-enable}-timedate" >&5
3551 # Check whether --enable-timedate or --disable-timedate was given.
3552 if test "${enable_timedate+set}" = set; then
3553 enableval
="$enable_timedate"
3555 if test "$enableval" = yes; then
3556 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3558 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3563 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3564 if test "x$LINE" != x
; then
3565 eval "DEFAULT_$LINE"
3570 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3575 eval "$ac_cv_use_timedate"
3576 if test "$no_cache" != 1; then
3577 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3580 if test "$wxUSE_TIMEDATE" = yes; then
3581 echo "$ac_t""yes" 1>&6
3583 echo "$ac_t""no" 1>&6
3588 echo $ac_n "checking for --${enablestring:-enable}-stopwatch""... $ac_c" 1>&6
3589 echo "configure:3590: checking for --${enablestring:-enable}-stopwatch" >&5
3591 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3592 if test "${enable_stopwatch+set}" = set; then
3593 enableval
="$enable_stopwatch"
3595 if test "$enableval" = yes; then
3596 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3598 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3603 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3604 if test "x$LINE" != x
; then
3605 eval "DEFAULT_$LINE"
3610 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3615 eval "$ac_cv_use_stopwatch"
3616 if test "$no_cache" != 1; then
3617 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3620 if test "$wxUSE_STOPWATCH" = yes; then
3621 echo "$ac_t""yes" 1>&6
3623 echo "$ac_t""no" 1>&6
3628 echo $ac_n "checking for --${enablestring:-enable}-dialupman""... $ac_c" 1>&6
3629 echo "configure:3630: checking for --${enablestring:-enable}-dialupman" >&5
3631 # Check whether --enable-dialupman or --disable-dialupman was given.
3632 if test "${enable_dialupman+set}" = set; then
3633 enableval
="$enable_dialupman"
3635 if test "$enableval" = yes; then
3636 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3638 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3643 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3644 if test "x$LINE" != x
; then
3645 eval "DEFAULT_$LINE"
3650 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3655 eval "$ac_cv_use_dialupman"
3656 if test "$no_cache" != 1; then
3657 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3660 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3661 echo "$ac_t""yes" 1>&6
3663 echo "$ac_t""no" 1>&6
3668 echo $ac_n "checking for --${enablestring:-enable}-apple_ieee""... $ac_c" 1>&6
3669 echo "configure:3670: checking for --${enablestring:-enable}-apple_ieee" >&5
3671 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3672 if test "${enable_apple_ieee+set}" = set; then
3673 enableval
="$enable_apple_ieee"
3675 if test "$enableval" = yes; then
3676 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3678 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3683 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3684 if test "x$LINE" != x
; then
3685 eval "DEFAULT_$LINE"
3690 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3695 eval "$ac_cv_use_apple_ieee"
3696 if test "$no_cache" != 1; then
3697 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3700 if test "$wxUSE_APPLE_IEEE" = yes; then
3701 echo "$ac_t""yes" 1>&6
3703 echo "$ac_t""no" 1>&6
3708 echo $ac_n "checking for --${enablestring:-enable}-timer""... $ac_c" 1>&6
3709 echo "configure:3710: checking for --${enablestring:-enable}-timer" >&5
3711 # Check whether --enable-timer or --disable-timer was given.
3712 if test "${enable_timer+set}" = set; then
3713 enableval
="$enable_timer"
3715 if test "$enableval" = yes; then
3716 ac_cv_use_timer
='wxUSE_TIMER=yes'
3718 ac_cv_use_timer
='wxUSE_TIMER=no'
3723 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3724 if test "x$LINE" != x
; then
3725 eval "DEFAULT_$LINE"
3730 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3735 eval "$ac_cv_use_timer"
3736 if test "$no_cache" != 1; then
3737 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3740 if test "$wxUSE_TIMER" = yes; then
3741 echo "$ac_t""yes" 1>&6
3743 echo "$ac_t""no" 1>&6
3748 echo $ac_n "checking for --${enablestring:-enable}-wave""... $ac_c" 1>&6
3749 echo "configure:3750: checking for --${enablestring:-enable}-wave" >&5
3751 # Check whether --enable-wave or --disable-wave was given.
3752 if test "${enable_wave+set}" = set; then
3753 enableval
="$enable_wave"
3755 if test "$enableval" = yes; then
3756 ac_cv_use_wave
='wxUSE_WAVE=yes'
3758 ac_cv_use_wave
='wxUSE_WAVE=no'
3763 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3764 if test "x$LINE" != x
; then
3765 eval "DEFAULT_$LINE"
3770 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3775 eval "$ac_cv_use_wave"
3776 if test "$no_cache" != 1; then
3777 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3780 if test "$wxUSE_WAVE" = yes; then
3781 echo "$ac_t""yes" 1>&6
3783 echo "$ac_t""no" 1>&6
3788 echo $ac_n "checking for --${enablestring:-enable}-fraction""... $ac_c" 1>&6
3789 echo "configure:3790: checking for --${enablestring:-enable}-fraction" >&5
3791 # Check whether --enable-fraction or --disable-fraction was given.
3792 if test "${enable_fraction+set}" = set; then
3793 enableval
="$enable_fraction"
3795 if test "$enableval" = yes; then
3796 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3798 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3803 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3804 if test "x$LINE" != x
; then
3805 eval "DEFAULT_$LINE"
3810 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3815 eval "$ac_cv_use_fraction"
3816 if test "$no_cache" != 1; then
3817 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3820 if test "$wxUSE_FRACTION" = yes; then
3821 echo "$ac_t""yes" 1>&6
3823 echo "$ac_t""no" 1>&6
3828 echo $ac_n "checking for --${enablestring:-enable}-dynlib""... $ac_c" 1>&6
3829 echo "configure:3830: checking for --${enablestring:-enable}-dynlib" >&5
3831 # Check whether --enable-dynlib or --disable-dynlib was given.
3832 if test "${enable_dynlib+set}" = set; then
3833 enableval
="$enable_dynlib"
3835 if test "$enableval" = yes; then
3836 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3838 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3843 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3844 if test "x$LINE" != x
; then
3845 eval "DEFAULT_$LINE"
3850 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3855 eval "$ac_cv_use_dynlib"
3856 if test "$no_cache" != 1; then
3857 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3860 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3861 echo "$ac_t""yes" 1>&6
3863 echo "$ac_t""no" 1>&6
3868 echo $ac_n "checking for --${enablestring:-enable}-dynamicloader""... $ac_c" 1>&6
3869 echo "configure:3870: checking for --${enablestring:-enable}-dynamicloader" >&5
3871 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3872 if test "${enable_dynamicloader+set}" = set; then
3873 enableval
="$enable_dynamicloader"
3875 if test "$enableval" = yes; then
3876 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3878 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3883 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3884 if test "x$LINE" != x
; then
3885 eval "DEFAULT_$LINE"
3890 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3895 eval "$ac_cv_use_dynamicloader"
3896 if test "$no_cache" != 1; then
3897 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3900 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3901 echo "$ac_t""yes" 1>&6
3903 echo "$ac_t""no" 1>&6
3908 echo $ac_n "checking for --${enablestring:-enable}-longlong""... $ac_c" 1>&6
3909 echo "configure:3910: checking for --${enablestring:-enable}-longlong" >&5
3911 # Check whether --enable-longlong or --disable-longlong was given.
3912 if test "${enable_longlong+set}" = set; then
3913 enableval
="$enable_longlong"
3915 if test "$enableval" = yes; then
3916 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3918 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3923 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3924 if test "x$LINE" != x
; then
3925 eval "DEFAULT_$LINE"
3930 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3935 eval "$ac_cv_use_longlong"
3936 if test "$no_cache" != 1; then
3937 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3940 if test "$wxUSE_LONGLONG" = yes; then
3941 echo "$ac_t""yes" 1>&6
3943 echo "$ac_t""no" 1>&6
3948 echo $ac_n "checking for --${enablestring:-enable}-geometry""... $ac_c" 1>&6
3949 echo "configure:3950: checking for --${enablestring:-enable}-geometry" >&5
3951 # Check whether --enable-geometry or --disable-geometry was given.
3952 if test "${enable_geometry+set}" = set; then
3953 enableval
="$enable_geometry"
3955 if test "$enableval" = yes; then
3956 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3958 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3963 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3964 if test "x$LINE" != x
; then
3965 eval "DEFAULT_$LINE"
3970 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3975 eval "$ac_cv_use_geometry"
3976 if test "$no_cache" != 1; then
3977 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3980 if test "$wxUSE_GEOMETRY" = yes; then
3981 echo "$ac_t""yes" 1>&6
3983 echo "$ac_t""no" 1>&6
3988 echo $ac_n "checking for --${enablestring:-enable}-log""... $ac_c" 1>&6
3989 echo "configure:3990: checking for --${enablestring:-enable}-log" >&5
3991 # Check whether --enable-log or --disable-log was given.
3992 if test "${enable_log+set}" = set; then
3993 enableval
="$enable_log"
3995 if test "$enableval" = yes; then
3996 ac_cv_use_log
='wxUSE_LOG=yes'
3998 ac_cv_use_log
='wxUSE_LOG=no'
4003 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4004 if test "x$LINE" != x
; then
4005 eval "DEFAULT_$LINE"
4010 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4015 eval "$ac_cv_use_log"
4016 if test "$no_cache" != 1; then
4017 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4020 if test "$wxUSE_LOG" = yes; then
4021 echo "$ac_t""yes" 1>&6
4023 echo "$ac_t""no" 1>&6
4028 echo $ac_n "checking for --${enablestring:-enable}-streams""... $ac_c" 1>&6
4029 echo "configure:4030: checking for --${enablestring:-enable}-streams" >&5
4031 # Check whether --enable-streams or --disable-streams was given.
4032 if test "${enable_streams+set}" = set; then
4033 enableval
="$enable_streams"
4035 if test "$enableval" = yes; then
4036 ac_cv_use_streams
='wxUSE_STREAMS=yes'
4038 ac_cv_use_streams
='wxUSE_STREAMS=no'
4043 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4044 if test "x$LINE" != x
; then
4045 eval "DEFAULT_$LINE"
4050 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4055 eval "$ac_cv_use_streams"
4056 if test "$no_cache" != 1; then
4057 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4060 if test "$wxUSE_STREAMS" = yes; then
4061 echo "$ac_t""yes" 1>&6
4063 echo "$ac_t""no" 1>&6
4068 echo $ac_n "checking for --${enablestring:-enable}-file""... $ac_c" 1>&6
4069 echo "configure:4070: checking for --${enablestring:-enable}-file" >&5
4071 # Check whether --enable-file or --disable-file was given.
4072 if test "${enable_file+set}" = set; then
4073 enableval
="$enable_file"
4075 if test "$enableval" = yes; then
4076 ac_cv_use_file
='wxUSE_FILE=yes'
4078 ac_cv_use_file
='wxUSE_FILE=no'
4083 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4084 if test "x$LINE" != x
; then
4085 eval "DEFAULT_$LINE"
4090 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4095 eval "$ac_cv_use_file"
4096 if test "$no_cache" != 1; then
4097 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4100 if test "$wxUSE_FILE" = yes; then
4101 echo "$ac_t""yes" 1>&6
4103 echo "$ac_t""no" 1>&6
4108 echo $ac_n "checking for --${enablestring:-enable}-ffile""... $ac_c" 1>&6
4109 echo "configure:4110: checking for --${enablestring:-enable}-ffile" >&5
4111 # Check whether --enable-ffile or --disable-ffile was given.
4112 if test "${enable_ffile+set}" = set; then
4113 enableval
="$enable_ffile"
4115 if test "$enableval" = yes; then
4116 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4118 ac_cv_use_ffile
='wxUSE_FFILE=no'
4123 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4124 if test "x$LINE" != x
; then
4125 eval "DEFAULT_$LINE"
4130 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4135 eval "$ac_cv_use_ffile"
4136 if test "$no_cache" != 1; then
4137 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4140 if test "$wxUSE_FFILE" = yes; then
4141 echo "$ac_t""yes" 1>&6
4143 echo "$ac_t""no" 1>&6
4148 echo $ac_n "checking for --${enablestring:-enable}-textbuf""... $ac_c" 1>&6
4149 echo "configure:4150: checking for --${enablestring:-enable}-textbuf" >&5
4151 # Check whether --enable-textbuf or --disable-textbuf was given.
4152 if test "${enable_textbuf+set}" = set; then
4153 enableval
="$enable_textbuf"
4155 if test "$enableval" = yes; then
4156 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4158 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4163 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4164 if test "x$LINE" != x
; then
4165 eval "DEFAULT_$LINE"
4170 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4175 eval "$ac_cv_use_textbuf"
4176 if test "$no_cache" != 1; then
4177 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4180 if test "$wxUSE_TEXTBUFFER" = yes; then
4181 echo "$ac_t""yes" 1>&6
4183 echo "$ac_t""no" 1>&6
4188 echo $ac_n "checking for --${enablestring:-enable}-textfile""... $ac_c" 1>&6
4189 echo "configure:4190: checking for --${enablestring:-enable}-textfile" >&5
4191 # Check whether --enable-textfile or --disable-textfile was given.
4192 if test "${enable_textfile+set}" = set; then
4193 enableval
="$enable_textfile"
4195 if test "$enableval" = yes; then
4196 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4198 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4203 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4204 if test "x$LINE" != x
; then
4205 eval "DEFAULT_$LINE"
4210 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4215 eval "$ac_cv_use_textfile"
4216 if test "$no_cache" != 1; then
4217 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4220 if test "$wxUSE_TEXTFILE" = yes; then
4221 echo "$ac_t""yes" 1>&6
4223 echo "$ac_t""no" 1>&6
4228 echo $ac_n "checking for --${enablestring:-enable}-fontmap""... $ac_c" 1>&6
4229 echo "configure:4230: checking for --${enablestring:-enable}-fontmap" >&5
4231 # Check whether --enable-fontmap or --disable-fontmap was given.
4232 if test "${enable_fontmap+set}" = set; then
4233 enableval
="$enable_fontmap"
4235 if test "$enableval" = yes; then
4236 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4238 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4243 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x
; then
4245 eval "DEFAULT_$LINE"
4250 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4255 eval "$ac_cv_use_fontmap"
4256 if test "$no_cache" != 1; then
4257 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4260 if test "$wxUSE_FONTMAP" = yes; then
4261 echo "$ac_t""yes" 1>&6
4263 echo "$ac_t""no" 1>&6
4268 echo $ac_n "checking for --${enablestring:-enable}-unicode""... $ac_c" 1>&6
4269 echo "configure:4270: checking for --${enablestring:-enable}-unicode" >&5
4271 # Check whether --enable-unicode or --disable-unicode was given.
4272 if test "${enable_unicode+set}" = set; then
4273 enableval
="$enable_unicode"
4275 if test "$enableval" = yes; then
4276 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4278 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4283 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4284 if test "x$LINE" != x
; then
4285 eval "DEFAULT_$LINE"
4290 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4295 eval "$ac_cv_use_unicode"
4296 if test "$no_cache" != 1; then
4297 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4300 if test "$wxUSE_UNICODE" = yes; then
4301 echo "$ac_t""yes" 1>&6
4303 echo "$ac_t""no" 1>&6
4308 echo $ac_n "checking for --${enablestring:-enable}-mslu""... $ac_c" 1>&6
4309 echo "configure:4310: checking for --${enablestring:-enable}-mslu" >&5
4311 # Check whether --enable-mslu or --disable-mslu was given.
4312 if test "${enable_mslu+set}" = set; then
4313 enableval
="$enable_mslu"
4315 if test "$enableval" = yes; then
4316 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4318 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4323 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4324 if test "x$LINE" != x
; then
4325 eval "DEFAULT_$LINE"
4330 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4335 eval "$ac_cv_use_mslu"
4336 if test "$no_cache" != 1; then
4337 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4340 if test "$wxUSE_UNICODE_MSLU" = yes; then
4341 echo "$ac_t""yes" 1>&6
4343 echo "$ac_t""no" 1>&6
4348 echo $ac_n "checking for --${enablestring:-enable}-wxprintfv""... $ac_c" 1>&6
4349 echo "configure:4350: checking for --${enablestring:-enable}-wxprintfv" >&5
4351 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4352 if test "${enable_wxprintfv+set}" = set; then
4353 enableval
="$enable_wxprintfv"
4355 if test "$enableval" = yes; then
4356 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4358 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4363 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4364 if test "x$LINE" != x
; then
4365 eval "DEFAULT_$LINE"
4370 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4375 eval "$ac_cv_use_wxprintfv"
4376 if test "$no_cache" != 1; then
4377 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4380 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4381 echo "$ac_t""yes" 1>&6
4383 echo "$ac_t""no" 1>&6
4388 echo $ac_n "checking for --${enablestring:-enable}-std_iostreams""... $ac_c" 1>&6
4389 echo "configure:4390: checking for --${enablestring:-enable}-std_iostreams" >&5
4391 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4392 if test "${enable_std_iostreams+set}" = set; then
4393 enableval
="$enable_std_iostreams"
4395 if test "$enableval" = yes; then
4396 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4398 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4403 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4404 if test "x$LINE" != x
; then
4405 eval "DEFAULT_$LINE"
4410 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4415 eval "$ac_cv_use_std_iostreams"
4416 if test "$no_cache" != 1; then
4417 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4420 if test "$wxUSE_STD_IOSTREAM" = yes; then
4421 echo "$ac_t""yes" 1>&6
4423 echo "$ac_t""no" 1>&6
4428 echo $ac_n "checking for --${enablestring:-enable}-filesystem""... $ac_c" 1>&6
4429 echo "configure:4430: checking for --${enablestring:-enable}-filesystem" >&5
4431 # Check whether --enable-filesystem or --disable-filesystem was given.
4432 if test "${enable_filesystem+set}" = set; then
4433 enableval
="$enable_filesystem"
4435 if test "$enableval" = yes; then
4436 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4438 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4443 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4444 if test "x$LINE" != x
; then
4445 eval "DEFAULT_$LINE"
4450 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4455 eval "$ac_cv_use_filesystem"
4456 if test "$no_cache" != 1; then
4457 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4460 if test "$wxUSE_FILESYSTEM" = yes; then
4461 echo "$ac_t""yes" 1>&6
4463 echo "$ac_t""no" 1>&6
4468 echo $ac_n "checking for --${enablestring:-enable}-fs_inet""... $ac_c" 1>&6
4469 echo "configure:4470: checking for --${enablestring:-enable}-fs_inet" >&5
4471 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4472 if test "${enable_fs_inet+set}" = set; then
4473 enableval
="$enable_fs_inet"
4475 if test "$enableval" = yes; then
4476 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4478 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4483 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4484 if test "x$LINE" != x
; then
4485 eval "DEFAULT_$LINE"
4490 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4495 eval "$ac_cv_use_fs_inet"
4496 if test "$no_cache" != 1; then
4497 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4500 if test "$wxUSE_FS_INET" = yes; then
4501 echo "$ac_t""yes" 1>&6
4503 echo "$ac_t""no" 1>&6
4508 echo $ac_n "checking for --${enablestring:-enable}-fs_zip""... $ac_c" 1>&6
4509 echo "configure:4510: checking for --${enablestring:-enable}-fs_zip" >&5
4511 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4512 if test "${enable_fs_zip+set}" = set; then
4513 enableval
="$enable_fs_zip"
4515 if test "$enableval" = yes; then
4516 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4518 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4523 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4524 if test "x$LINE" != x
; then
4525 eval "DEFAULT_$LINE"
4530 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4535 eval "$ac_cv_use_fs_zip"
4536 if test "$no_cache" != 1; then
4537 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4540 if test "$wxUSE_FS_ZIP" = yes; then
4541 echo "$ac_t""yes" 1>&6
4543 echo "$ac_t""no" 1>&6
4548 echo $ac_n "checking for --${enablestring:-enable}-zipstream""... $ac_c" 1>&6
4549 echo "configure:4550: checking for --${enablestring:-enable}-zipstream" >&5
4551 # Check whether --enable-zipstream or --disable-zipstream was given.
4552 if test "${enable_zipstream+set}" = set; then
4553 enableval
="$enable_zipstream"
4555 if test "$enableval" = yes; then
4556 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4558 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4563 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4564 if test "x$LINE" != x
; then
4565 eval "DEFAULT_$LINE"
4570 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4575 eval "$ac_cv_use_zipstream"
4576 if test "$no_cache" != 1; then
4577 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4580 if test "$wxUSE_ZIPSTREAM" = yes; then
4581 echo "$ac_t""yes" 1>&6
4583 echo "$ac_t""no" 1>&6
4589 echo $ac_n "checking for --${enablestring:-enable}-catch_segvs""... $ac_c" 1>&6
4590 echo "configure:4591: checking for --${enablestring:-enable}-catch_segvs" >&5
4592 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4593 if test "${enable_catch_segvs+set}" = set; then
4594 enableval
="$enable_catch_segvs"
4596 if test "$enableval" = yes; then
4597 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4599 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4604 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4605 if test "x$LINE" != x
; then
4606 eval "DEFAULT_$LINE"
4611 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4616 eval "$ac_cv_use_catch_segvs"
4617 if test "$no_cache" != 1; then
4618 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4621 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4622 echo "$ac_t""yes" 1>&6
4624 echo "$ac_t""no" 1>&6
4629 echo $ac_n "checking for --${enablestring:-enable}-snglinst""... $ac_c" 1>&6
4630 echo "configure:4631: checking for --${enablestring:-enable}-snglinst" >&5
4632 # Check whether --enable-snglinst or --disable-snglinst was given.
4633 if test "${enable_snglinst+set}" = set; then
4634 enableval
="$enable_snglinst"
4636 if test "$enableval" = yes; then
4637 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4639 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4644 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4645 if test "x$LINE" != x
; then
4646 eval "DEFAULT_$LINE"
4651 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4656 eval "$ac_cv_use_snglinst"
4657 if test "$no_cache" != 1; then
4658 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4661 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4662 echo "$ac_t""yes" 1>&6
4664 echo "$ac_t""no" 1>&6
4670 echo $ac_n "checking for --${enablestring:-enable}-mimetype""... $ac_c" 1>&6
4671 echo "configure:4672: checking for --${enablestring:-enable}-mimetype" >&5
4673 # Check whether --enable-mimetype or --disable-mimetype was given.
4674 if test "${enable_mimetype+set}" = set; then
4675 enableval
="$enable_mimetype"
4677 if test "$enableval" = yes; then
4678 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4680 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4685 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4686 if test "x$LINE" != x
; then
4687 eval "DEFAULT_$LINE"
4692 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4697 eval "$ac_cv_use_mimetype"
4698 if test "$no_cache" != 1; then
4699 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4702 if test "$wxUSE_MIMETYPE" = yes; then
4703 echo "$ac_t""yes" 1>&6
4705 echo "$ac_t""no" 1>&6
4710 echo $ac_n "checking for --${enablestring:-enable}-system_options""... $ac_c" 1>&6
4711 echo "configure:4712: checking for --${enablestring:-enable}-system_options" >&5
4713 # Check whether --enable-system_options or --disable-system_options was given.
4714 if test "${enable_system_options+set}" = set; then
4715 enableval
="$enable_system_options"
4717 if test "$enableval" = yes; then
4718 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4720 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4725 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4726 if test "x$LINE" != x
; then
4727 eval "DEFAULT_$LINE"
4732 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4737 eval "$ac_cv_use_system_options"
4738 if test "$no_cache" != 1; then
4739 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4742 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4743 echo "$ac_t""yes" 1>&6
4745 echo "$ac_t""no" 1>&6
4751 echo $ac_n "checking for --${enablestring:-enable}-url""... $ac_c" 1>&6
4752 echo "configure:4753: checking for --${enablestring:-enable}-url" >&5
4754 # Check whether --enable-url or --disable-url was given.
4755 if test "${enable_url+set}" = set; then
4756 enableval
="$enable_url"
4758 if test "$enableval" = yes; then
4759 ac_cv_use_url
='wxUSE_URL=yes'
4761 ac_cv_use_url
='wxUSE_URL=no'
4766 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4767 if test "x$LINE" != x
; then
4768 eval "DEFAULT_$LINE"
4773 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4778 eval "$ac_cv_use_url"
4779 if test "$no_cache" != 1; then
4780 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4783 if test "$wxUSE_URL" = yes; then
4784 echo "$ac_t""yes" 1>&6
4786 echo "$ac_t""no" 1>&6
4791 echo $ac_n "checking for --${enablestring:-enable}-protocol""... $ac_c" 1>&6
4792 echo "configure:4793: checking for --${enablestring:-enable}-protocol" >&5
4794 # Check whether --enable-protocol or --disable-protocol was given.
4795 if test "${enable_protocol+set}" = set; then
4796 enableval
="$enable_protocol"
4798 if test "$enableval" = yes; then
4799 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4801 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4806 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4807 if test "x$LINE" != x
; then
4808 eval "DEFAULT_$LINE"
4813 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4818 eval "$ac_cv_use_protocol"
4819 if test "$no_cache" != 1; then
4820 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4823 if test "$wxUSE_PROTOCOL" = yes; then
4824 echo "$ac_t""yes" 1>&6
4826 echo "$ac_t""no" 1>&6
4831 echo $ac_n "checking for --${enablestring:-enable}-protocol_http""... $ac_c" 1>&6
4832 echo "configure:4833: checking for --${enablestring:-enable}-protocol_http" >&5
4834 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4835 if test "${enable_protocol_http+set}" = set; then
4836 enableval
="$enable_protocol_http"
4838 if test "$enableval" = yes; then
4839 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4841 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4846 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4847 if test "x$LINE" != x
; then
4848 eval "DEFAULT_$LINE"
4853 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4858 eval "$ac_cv_use_protocol_http"
4859 if test "$no_cache" != 1; then
4860 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4863 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4864 echo "$ac_t""yes" 1>&6
4866 echo "$ac_t""no" 1>&6
4871 echo $ac_n "checking for --${enablestring:-enable}-protocol_ftp""... $ac_c" 1>&6
4872 echo "configure:4873: checking for --${enablestring:-enable}-protocol_ftp" >&5
4874 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4875 if test "${enable_protocol_ftp+set}" = set; then
4876 enableval
="$enable_protocol_ftp"
4878 if test "$enableval" = yes; then
4879 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4881 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4886 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4887 if test "x$LINE" != x
; then
4888 eval "DEFAULT_$LINE"
4893 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4898 eval "$ac_cv_use_protocol_ftp"
4899 if test "$no_cache" != 1; then
4900 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4903 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4904 echo "$ac_t""yes" 1>&6
4906 echo "$ac_t""no" 1>&6
4911 echo $ac_n "checking for --${enablestring:-enable}-protocol_file""... $ac_c" 1>&6
4912 echo "configure:4913: checking for --${enablestring:-enable}-protocol_file" >&5
4914 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4915 if test "${enable_protocol_file+set}" = set; then
4916 enableval
="$enable_protocol_file"
4918 if test "$enableval" = yes; then
4919 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4921 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4926 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x
; then
4928 eval "DEFAULT_$LINE"
4933 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4938 eval "$ac_cv_use_protocol_file"
4939 if test "$no_cache" != 1; then
4940 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4943 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4944 echo "$ac_t""yes" 1>&6
4946 echo "$ac_t""no" 1>&6
4954 echo $ac_n "checking for --${enablestring:-enable}-threads""... $ac_c" 1>&6
4955 echo "configure:4956: checking for --${enablestring:-enable}-threads" >&5
4957 # Check whether --enable-threads or --disable-threads was given.
4958 if test "${enable_threads+set}" = set; then
4959 enableval
="$enable_threads"
4961 if test "$enableval" = yes; then
4962 ac_cv_use_threads
='wxUSE_THREADS=yes'
4964 ac_cv_use_threads
='wxUSE_THREADS=no'
4969 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4970 if test "x$LINE" != x
; then
4971 eval "DEFAULT_$LINE"
4976 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4981 eval "$ac_cv_use_threads"
4982 if test "$no_cache" != 1; then
4983 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4986 if test "$wxUSE_THREADS" = yes; then
4987 echo "$ac_t""yes" 1>&6
4989 echo "$ac_t""no" 1>&6
4993 if test "$wxUSE_GUI" = "yes"; then
4998 echo $ac_n "checking for --${enablestring:-enable}-docview""... $ac_c" 1>&6
4999 echo "configure:5000: checking for --${enablestring:-enable}-docview" >&5
5001 # Check whether --enable-docview or --disable-docview was given.
5002 if test "${enable_docview+set}" = set; then
5003 enableval
="$enable_docview"
5005 if test "$enableval" = yes; then
5006 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5008 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5013 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5014 if test "x$LINE" != x
; then
5015 eval "DEFAULT_$LINE"
5020 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5025 eval "$ac_cv_use_docview"
5026 if test "$no_cache" != 1; then
5027 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5030 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5031 echo "$ac_t""yes" 1>&6
5033 echo "$ac_t""no" 1>&6
5038 echo $ac_n "checking for --${enablestring:-enable}-help""... $ac_c" 1>&6
5039 echo "configure:5040: checking for --${enablestring:-enable}-help" >&5
5041 # Check whether --enable-help or --disable-help was given.
5042 if test "${enable_help+set}" = set; then
5043 enableval
="$enable_help"
5045 if test "$enableval" = yes; then
5046 ac_cv_use_help
='wxUSE_HELP=yes'
5048 ac_cv_use_help
='wxUSE_HELP=no'
5053 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5054 if test "x$LINE" != x
; then
5055 eval "DEFAULT_$LINE"
5060 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5065 eval "$ac_cv_use_help"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5070 if test "$wxUSE_HELP" = yes; then
5071 echo "$ac_t""yes" 1>&6
5073 echo "$ac_t""no" 1>&6
5078 echo $ac_n "checking for --${enablestring:-enable}-mshtmlhelp""... $ac_c" 1>&6
5079 echo "configure:5080: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5081 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5082 if test "${enable_mshtmlhelp+set}" = set; then
5083 enableval
="$enable_mshtmlhelp"
5085 if test "$enableval" = yes; then
5086 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
5088 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
5093 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5094 if test "x$LINE" != x
; then
5095 eval "DEFAULT_$LINE"
5100 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5105 eval "$ac_cv_use_mshtmlhelp"
5106 if test "$no_cache" != 1; then
5107 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5110 if test "$wxUSE_MS_HTML_HELP" = yes; then
5111 echo "$ac_t""yes" 1>&6
5113 echo "$ac_t""no" 1>&6
5118 echo $ac_n "checking for --${enablestring:-enable}-html""... $ac_c" 1>&6
5119 echo "configure:5120: checking for --${enablestring:-enable}-html" >&5
5121 # Check whether --enable-html or --disable-html was given.
5122 if test "${enable_html+set}" = set; then
5123 enableval
="$enable_html"
5125 if test "$enableval" = yes; then
5126 ac_cv_use_html
='wxUSE_HTML=yes'
5128 ac_cv_use_html
='wxUSE_HTML=no'
5133 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x
; then
5135 eval "DEFAULT_$LINE"
5140 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5145 eval "$ac_cv_use_html"
5146 if test "$no_cache" != 1; then
5147 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5150 if test "$wxUSE_HTML" = yes; then
5151 echo "$ac_t""yes" 1>&6
5153 echo "$ac_t""no" 1>&6
5158 echo $ac_n "checking for --${enablestring:-enable}-htmlhelp""... $ac_c" 1>&6
5159 echo "configure:5160: checking for --${enablestring:-enable}-htmlhelp" >&5
5161 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5162 if test "${enable_htmlhelp+set}" = set; then
5163 enableval
="$enable_htmlhelp"
5165 if test "$enableval" = yes; then
5166 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5168 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5173 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5174 if test "x$LINE" != x
; then
5175 eval "DEFAULT_$LINE"
5180 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5185 eval "$ac_cv_use_htmlhelp"
5186 if test "$no_cache" != 1; then
5187 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5190 if test "$wxUSE_WXHTML_HELP" = yes; then
5191 echo "$ac_t""yes" 1>&6
5193 echo "$ac_t""no" 1>&6
5198 echo $ac_n "checking for --${enablestring:-enable}-constraints""... $ac_c" 1>&6
5199 echo "configure:5200: checking for --${enablestring:-enable}-constraints" >&5
5201 # Check whether --enable-constraints or --disable-constraints was given.
5202 if test "${enable_constraints+set}" = set; then
5203 enableval
="$enable_constraints"
5205 if test "$enableval" = yes; then
5206 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5208 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5213 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5214 if test "x$LINE" != x
; then
5215 eval "DEFAULT_$LINE"
5220 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5225 eval "$ac_cv_use_constraints"
5226 if test "$no_cache" != 1; then
5227 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5230 if test "$wxUSE_CONSTRAINTS" = yes; then
5231 echo "$ac_t""yes" 1>&6
5233 echo "$ac_t""no" 1>&6
5238 echo $ac_n "checking for --${enablestring:-enable}-printarch""... $ac_c" 1>&6
5239 echo "configure:5240: checking for --${enablestring:-enable}-printarch" >&5
5241 # Check whether --enable-printarch or --disable-printarch was given.
5242 if test "${enable_printarch+set}" = set; then
5243 enableval
="$enable_printarch"
5245 if test "$enableval" = yes; then
5246 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5248 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5253 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5254 if test "x$LINE" != x
; then
5255 eval "DEFAULT_$LINE"
5260 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5265 eval "$ac_cv_use_printarch"
5266 if test "$no_cache" != 1; then
5267 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5270 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5271 echo "$ac_t""yes" 1>&6
5273 echo "$ac_t""no" 1>&6
5278 echo $ac_n "checking for --${enablestring:-enable}-mdi""... $ac_c" 1>&6
5279 echo "configure:5280: checking for --${enablestring:-enable}-mdi" >&5
5281 # Check whether --enable-mdi or --disable-mdi was given.
5282 if test "${enable_mdi+set}" = set; then
5283 enableval
="$enable_mdi"
5285 if test "$enableval" = yes; then
5286 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5288 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5293 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5294 if test "x$LINE" != x
; then
5295 eval "DEFAULT_$LINE"
5300 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5305 eval "$ac_cv_use_mdi"
5306 if test "$no_cache" != 1; then
5307 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5310 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5311 echo "$ac_t""yes" 1>&6
5313 echo "$ac_t""no" 1>&6
5318 echo $ac_n "checking for --${enablestring:-enable}-loggui""... $ac_c" 1>&6
5319 echo "configure:5320: checking for --${enablestring:-enable}-loggui" >&5
5321 # Check whether --enable-loggui or --disable-loggui was given.
5322 if test "${enable_loggui+set}" = set; then
5323 enableval
="$enable_loggui"
5325 if test "$enableval" = yes; then
5326 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5328 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5333 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5334 if test "x$LINE" != x
; then
5335 eval "DEFAULT_$LINE"
5340 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5345 eval "$ac_cv_use_loggui"
5346 if test "$no_cache" != 1; then
5347 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5350 if test "$wxUSE_LOGGUI" = yes; then
5351 echo "$ac_t""yes" 1>&6
5353 echo "$ac_t""no" 1>&6
5358 echo $ac_n "checking for --${enablestring:-enable}-logwin""... $ac_c" 1>&6
5359 echo "configure:5360: checking for --${enablestring:-enable}-logwin" >&5
5361 # Check whether --enable-logwin or --disable-logwin was given.
5362 if test "${enable_logwin+set}" = set; then
5363 enableval
="$enable_logwin"
5365 if test "$enableval" = yes; then
5366 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5368 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5373 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5374 if test "x$LINE" != x
; then
5375 eval "DEFAULT_$LINE"
5380 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5385 eval "$ac_cv_use_logwin"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5390 if test "$wxUSE_LOGWINDOW" = yes; then
5391 echo "$ac_t""yes" 1>&6
5393 echo "$ac_t""no" 1>&6
5398 echo $ac_n "checking for --${enablestring:-enable}-logdialog""... $ac_c" 1>&6
5399 echo "configure:5400: checking for --${enablestring:-enable}-logdialog" >&5
5401 # Check whether --enable-logdialog or --disable-logdialog was given.
5402 if test "${enable_logdialog+set}" = set; then
5403 enableval
="$enable_logdialog"
5405 if test "$enableval" = yes; then
5406 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5408 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5413 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5414 if test "x$LINE" != x
; then
5415 eval "DEFAULT_$LINE"
5420 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5425 eval "$ac_cv_use_logdialog"
5426 if test "$no_cache" != 1; then
5427 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5430 if test "$wxUSE_LOGDIALOG" = yes; then
5431 echo "$ac_t""yes" 1>&6
5433 echo "$ac_t""no" 1>&6
5439 echo $ac_n "checking for --${enablestring:-enable}-postscript""... $ac_c" 1>&6
5440 echo "configure:5441: checking for --${enablestring:-enable}-postscript" >&5
5442 # Check whether --enable-postscript or --disable-postscript was given.
5443 if test "${enable_postscript+set}" = set; then
5444 enableval
="$enable_postscript"
5446 if test "$enableval" = yes; then
5447 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5449 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5454 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5455 if test "x$LINE" != x
; then
5456 eval "DEFAULT_$LINE"
5461 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5466 eval "$ac_cv_use_postscript"
5467 if test "$no_cache" != 1; then
5468 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5471 if test "$wxUSE_POSTSCRIPT" = yes; then
5472 echo "$ac_t""yes" 1>&6
5474 echo "$ac_t""no" 1>&6
5482 echo $ac_n "checking for --${enablestring:-enable}-prologio""... $ac_c" 1>&6
5483 echo "configure:5484: checking for --${enablestring:-enable}-prologio" >&5
5485 # Check whether --enable-prologio or --disable-prologio was given.
5486 if test "${enable_prologio+set}" = set; then
5487 enableval
="$enable_prologio"
5489 if test "$enableval" = yes; then
5490 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5492 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5497 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5498 if test "x$LINE" != x
; then
5499 eval "DEFAULT_$LINE"
5504 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5509 eval "$ac_cv_use_prologio"
5510 if test "$no_cache" != 1; then
5511 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5514 if test "$wxUSE_PROLOGIO" = yes; then
5515 echo "$ac_t""yes" 1>&6
5517 echo "$ac_t""no" 1>&6
5522 echo $ac_n "checking for --${enablestring:-enable}-resources""... $ac_c" 1>&6
5523 echo "configure:5524: checking for --${enablestring:-enable}-resources" >&5
5525 # Check whether --enable-resources or --disable-resources was given.
5526 if test "${enable_resources+set}" = set; then
5527 enableval
="$enable_resources"
5529 if test "$enableval" = yes; then
5530 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5532 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5537 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5538 if test "x$LINE" != x
; then
5539 eval "DEFAULT_$LINE"
5544 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5549 eval "$ac_cv_use_resources"
5550 if test "$no_cache" != 1; then
5551 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5554 if test "$wxUSE_RESOURCES" = yes; then
5555 echo "$ac_t""yes" 1>&6
5557 echo "$ac_t""no" 1>&6
5563 echo $ac_n "checking for --${enablestring:-enable}-xresources""... $ac_c" 1>&6
5564 echo "configure:5565: checking for --${enablestring:-enable}-xresources" >&5
5566 # Check whether --enable-xresources or --disable-xresources was given.
5567 if test "${enable_xresources+set}" = set; then
5568 enableval
="$enable_xresources"
5570 if test "$enableval" = yes; then
5571 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5573 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5578 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5579 if test "x$LINE" != x
; then
5580 eval "DEFAULT_$LINE"
5585 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5590 eval "$ac_cv_use_xresources"
5591 if test "$no_cache" != 1; then
5592 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5595 if test "$wxUSE_X_RESOURCES" = yes; then
5596 echo "$ac_t""yes" 1>&6
5598 echo "$ac_t""no" 1>&6
5605 echo $ac_n "checking for --${enablestring:-enable}-clipboard""... $ac_c" 1>&6
5606 echo "configure:5607: checking for --${enablestring:-enable}-clipboard" >&5
5608 # Check whether --enable-clipboard or --disable-clipboard was given.
5609 if test "${enable_clipboard+set}" = set; then
5610 enableval
="$enable_clipboard"
5612 if test "$enableval" = yes; then
5613 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5615 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5620 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5621 if test "x$LINE" != x
; then
5622 eval "DEFAULT_$LINE"
5627 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5632 eval "$ac_cv_use_clipboard"
5633 if test "$no_cache" != 1; then
5634 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5637 if test "$wxUSE_CLIPBOARD" = yes; then
5638 echo "$ac_t""yes" 1>&6
5640 echo "$ac_t""no" 1>&6
5645 echo $ac_n "checking for --${enablestring:-enable}-dnd""... $ac_c" 1>&6
5646 echo "configure:5647: checking for --${enablestring:-enable}-dnd" >&5
5648 # Check whether --enable-dnd or --disable-dnd was given.
5649 if test "${enable_dnd+set}" = set; then
5650 enableval
="$enable_dnd"
5652 if test "$enableval" = yes; then
5653 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5655 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5660 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5661 if test "x$LINE" != x
; then
5662 eval "DEFAULT_$LINE"
5667 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5672 eval "$ac_cv_use_dnd"
5673 if test "$no_cache" != 1; then
5674 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5677 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5678 echo "$ac_t""yes" 1>&6
5680 echo "$ac_t""no" 1>&6
5685 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
5686 echo "configure:5687: checking for --${enablestring:-enable}-metafile" >&5
5688 # Check whether --enable-metafile or --disable-metafile was given.
5689 if test "${enable_metafile+set}" = set; then
5690 enableval
="$enable_metafile"
5692 if test "$enableval" = yes; then
5693 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5695 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5700 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5701 if test "x$LINE" != x
; then
5702 eval "DEFAULT_$LINE"
5707 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5712 eval "$ac_cv_use_metafile"
5713 if test "$no_cache" != 1; then
5714 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5717 if test "$wxUSE_METAFILE" = yes; then
5718 echo "$ac_t""yes" 1>&6
5720 echo "$ac_t""no" 1>&6
5726 echo $ac_n "checking for --${enablestring:-enable}-treelayout""... $ac_c" 1>&6
5727 echo "configure:5728: checking for --${enablestring:-enable}-treelayout" >&5
5729 # Check whether --enable-treelayout or --disable-treelayout was given.
5730 if test "${enable_treelayout+set}" = set; then
5731 enableval
="$enable_treelayout"
5733 if test "$enableval" = yes; then
5734 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5736 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5741 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5742 if test "x$LINE" != x
; then
5743 eval "DEFAULT_$LINE"
5748 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5753 eval "$ac_cv_use_treelayout"
5754 if test "$no_cache" != 1; then
5755 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5758 if test "$wxUSE_TREELAYOUT" = yes; then
5759 echo "$ac_t""yes" 1>&6
5761 echo "$ac_t""no" 1>&6
5768 echo $ac_n "checking for --${enablestring:-enable}-controls""... $ac_c" 1>&6
5769 echo "configure:5770: checking for --${enablestring:-enable}-controls" >&5
5771 # Check whether --enable-controls or --disable-controls was given.
5772 if test "${enable_controls+set}" = set; then
5773 enableval
="$enable_controls"
5775 if test "$enableval" = yes; then
5776 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5778 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5783 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5784 if test "x$LINE" != x
; then
5785 eval "DEFAULT_$LINE"
5790 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5795 eval "$ac_cv_use_controls"
5796 if test "$no_cache" != 1; then
5797 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5800 if test "$wxUSE_CONTROLS" = yes; then
5801 echo "$ac_t""yes" 1>&6
5803 echo "$ac_t""no" 1>&6
5807 if test "$wxUSE_CONTROLS" = "yes"; then
5808 DEFAULT_wxUSE_ACCEL
=yes
5809 DEFAULT_wxUSE_BMPBUTTON
=yes
5810 DEFAULT_wxUSE_BUTTON
=yes
5811 DEFAULT_wxUSE_CALCTRL
=no
5812 DEFAULT_wxUSE_CARET
=yes
5813 DEFAULT_wxUSE_COMBOBOX
=yes
5814 DEFAULT_wxUSE_CHECKBOX
=yes
5815 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5816 DEFAULT_wxUSE_CHOICE
=yes
5817 DEFAULT_wxUSE_GAUGE
=yes
5818 DEFAULT_wxUSE_GRID
=yes
5819 DEFAULT_wxUSE_NEW_GRID
=yes
5820 DEFAULT_wxUSE_IMAGLIST
=yes
5821 DEFAULT_wxUSE_LISTBOX
=yes
5822 DEFAULT_wxUSE_LISTCTRL
=yes
5823 DEFAULT_wxUSE_NOTEBOOK
=yes
5824 DEFAULT_wxUSE_PROPSHEET
=yes
5825 DEFAULT_wxUSE_RADIOBOX
=yes
5826 DEFAULT_wxUSE_RADIOBTN
=yes
5827 DEFAULT_wxUSE_SASH
=yes
5828 DEFAULT_wxUSE_SCROLLBAR
=yes
5829 DEFAULT_wxUSE_SLIDER
=yes
5830 DEFAULT_wxUSE_SPINBTN
=yes
5831 DEFAULT_wxUSE_SPINCTRL
=yes
5832 DEFAULT_wxUSE_SPLITTER
=yes
5833 DEFAULT_wxUSE_STATBMP
=yes
5834 DEFAULT_wxUSE_STATBOX
=yes
5835 DEFAULT_wxUSE_STATLINE
=yes
5836 DEFAULT_wxUSE_STATUSBAR
=yes
5837 DEFAULT_wxUSE_TAB_DIALOG
=yes
5838 DEFAULT_wxUSE_TOGGLEBTN
=yes
5839 DEFAULT_wxUSE_TOOLBAR
=yes
5840 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5841 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5842 DEFAULT_wxUSE_TOOLTIPS
=yes
5843 DEFAULT_wxUSE_TREECTRL
=yes
5844 DEFAULT_wxUSE_POPUPWIN
=yes
5845 DEFAULT_wxUSE_TIPWINDOW
=yes
5846 elif test "$wxUSE_CONTROLS" = "no"; then
5847 DEFAULT_wxUSE_ACCEL
=no
5848 DEFAULT_wxUSE_BMPBUTTON
=no
5849 DEFAULT_wxUSE_BUTTON
=no
5850 DEFAULT_wxUSE_CALCTRL
=no
5851 DEFAULT_wxUSE_CARET
=no
5852 DEFAULT_wxUSE_COMBOBOX
=no
5853 DEFAULT_wxUSE_CHECKBOX
=no
5854 DEFAULT_wxUSE_CHECKLISTBOX
=no
5855 DEFAULT_wxUSE_CHOICE
=no
5856 DEFAULT_wxUSE_GAUGE
=no
5857 DEFAULT_wxUSE_GRID
=no
5858 DEFAULT_wxUSE_NEW_GRID
=no
5859 DEFAULT_wxUSE_IMAGLIST
=no
5860 DEFAULT_wxUSE_LISTBOX
=no
5861 DEFAULT_wxUSE_LISTCTRL
=no
5862 DEFAULT_wxUSE_NOTEBOOK
=no
5863 DEFAULT_wxUSE_PROPSHEET
=no
5864 DEFAULT_wxUSE_RADIOBOX
=no
5865 DEFAULT_wxUSE_RADIOBTN
=no
5866 DEFAULT_wxUSE_SASH
=no
5867 DEFAULT_wxUSE_SCROLLBAR
=no
5868 DEFAULT_wxUSE_SLIDER
=no
5869 DEFAULT_wxUSE_SPINBTN
=no
5870 DEFAULT_wxUSE_SPINCTRL
=no
5871 DEFAULT_wxUSE_SPLITTER
=no
5872 DEFAULT_wxUSE_STATBMP
=no
5873 DEFAULT_wxUSE_STATBOX
=no
5874 DEFAULT_wxUSE_STATLINE
=no
5875 DEFAULT_wxUSE_STATUSBAR
=no
5876 DEFAULT_wxUSE_TAB_DIALOG
=no
5877 DEFAULT_wxUSE_TOGGLEBTN
=no
5878 DEFAULT_wxUSE_TOOLBAR
=no
5879 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5880 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5881 DEFAULT_wxUSE_TOOLTIPS
=no
5882 DEFAULT_wxUSE_TREECTRL
=no
5883 DEFAULT_wxUSE_POPUPWIN
=no
5884 DEFAULT_wxUSE_TIPWINDOW
=no
5889 echo $ac_n "checking for --${enablestring:-enable}-accel""... $ac_c" 1>&6
5890 echo "configure:5891: checking for --${enablestring:-enable}-accel" >&5
5892 # Check whether --enable-accel or --disable-accel was given.
5893 if test "${enable_accel+set}" = set; then
5894 enableval
="$enable_accel"
5896 if test "$enableval" = yes; then
5897 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5899 ac_cv_use_accel
='wxUSE_ACCEL=no'
5904 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5905 if test "x$LINE" != x
; then
5906 eval "DEFAULT_$LINE"
5911 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5916 eval "$ac_cv_use_accel"
5917 if test "$no_cache" != 1; then
5918 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5921 if test "$wxUSE_ACCEL" = yes; then
5922 echo "$ac_t""yes" 1>&6
5924 echo "$ac_t""no" 1>&6
5929 echo $ac_n "checking for --${enablestring:-enable}-button""... $ac_c" 1>&6
5930 echo "configure:5931: checking for --${enablestring:-enable}-button" >&5
5932 # Check whether --enable-button or --disable-button was given.
5933 if test "${enable_button+set}" = set; then
5934 enableval
="$enable_button"
5936 if test "$enableval" = yes; then
5937 ac_cv_use_button
='wxUSE_BUTTON=yes'
5939 ac_cv_use_button
='wxUSE_BUTTON=no'
5944 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5945 if test "x$LINE" != x
; then
5946 eval "DEFAULT_$LINE"
5951 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5956 eval "$ac_cv_use_button"
5957 if test "$no_cache" != 1; then
5958 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5961 if test "$wxUSE_BUTTON" = yes; then
5962 echo "$ac_t""yes" 1>&6
5964 echo "$ac_t""no" 1>&6
5969 echo $ac_n "checking for --${enablestring:-enable}-bmpbutton""... $ac_c" 1>&6
5970 echo "configure:5971: checking for --${enablestring:-enable}-bmpbutton" >&5
5972 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5973 if test "${enable_bmpbutton+set}" = set; then
5974 enableval
="$enable_bmpbutton"
5976 if test "$enableval" = yes; then
5977 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5979 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5984 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5985 if test "x$LINE" != x
; then
5986 eval "DEFAULT_$LINE"
5991 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5996 eval "$ac_cv_use_bmpbutton"
5997 if test "$no_cache" != 1; then
5998 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6001 if test "$wxUSE_BMPBUTTON" = yes; then
6002 echo "$ac_t""yes" 1>&6
6004 echo "$ac_t""no" 1>&6
6009 echo $ac_n "checking for --${enablestring:-enable}-calendar""... $ac_c" 1>&6
6010 echo "configure:6011: checking for --${enablestring:-enable}-calendar" >&5
6012 # Check whether --enable-calendar or --disable-calendar was given.
6013 if test "${enable_calendar+set}" = set; then
6014 enableval
="$enable_calendar"
6016 if test "$enableval" = yes; then
6017 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
6019 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
6024 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6025 if test "x$LINE" != x
; then
6026 eval "DEFAULT_$LINE"
6031 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6036 eval "$ac_cv_use_calendar"
6037 if test "$no_cache" != 1; then
6038 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6041 if test "$wxUSE_CALCTRL" = yes; then
6042 echo "$ac_t""yes" 1>&6
6044 echo "$ac_t""no" 1>&6
6049 echo $ac_n "checking for --${enablestring:-enable}-caret""... $ac_c" 1>&6
6050 echo "configure:6051: checking for --${enablestring:-enable}-caret" >&5
6052 # Check whether --enable-caret or --disable-caret was given.
6053 if test "${enable_caret+set}" = set; then
6054 enableval
="$enable_caret"
6056 if test "$enableval" = yes; then
6057 ac_cv_use_caret
='wxUSE_CARET=yes'
6059 ac_cv_use_caret
='wxUSE_CARET=no'
6064 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6065 if test "x$LINE" != x
; then
6066 eval "DEFAULT_$LINE"
6071 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6076 eval "$ac_cv_use_caret"
6077 if test "$no_cache" != 1; then
6078 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6081 if test "$wxUSE_CARET" = yes; then
6082 echo "$ac_t""yes" 1>&6
6084 echo "$ac_t""no" 1>&6
6089 echo $ac_n "checking for --${enablestring:-enable}-checkbox""... $ac_c" 1>&6
6090 echo "configure:6091: checking for --${enablestring:-enable}-checkbox" >&5
6092 # Check whether --enable-checkbox or --disable-checkbox was given.
6093 if test "${enable_checkbox+set}" = set; then
6094 enableval
="$enable_checkbox"
6096 if test "$enableval" = yes; then
6097 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
6099 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
6104 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6105 if test "x$LINE" != x
; then
6106 eval "DEFAULT_$LINE"
6111 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6116 eval "$ac_cv_use_checkbox"
6117 if test "$no_cache" != 1; then
6118 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6121 if test "$wxUSE_CHECKBOX" = yes; then
6122 echo "$ac_t""yes" 1>&6
6124 echo "$ac_t""no" 1>&6
6129 echo $ac_n "checking for --${enablestring:-enable}-checklst""... $ac_c" 1>&6
6130 echo "configure:6131: checking for --${enablestring:-enable}-checklst" >&5
6132 # Check whether --enable-checklst or --disable-checklst was given.
6133 if test "${enable_checklst+set}" = set; then
6134 enableval
="$enable_checklst"
6136 if test "$enableval" = yes; then
6137 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
6139 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
6144 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6145 if test "x$LINE" != x
; then
6146 eval "DEFAULT_$LINE"
6151 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6156 eval "$ac_cv_use_checklst"
6157 if test "$no_cache" != 1; then
6158 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6161 if test "$wxUSE_CHECKLST" = yes; then
6162 echo "$ac_t""yes" 1>&6
6164 echo "$ac_t""no" 1>&6
6169 echo $ac_n "checking for --${enablestring:-enable}-choice""... $ac_c" 1>&6
6170 echo "configure:6171: checking for --${enablestring:-enable}-choice" >&5
6172 # Check whether --enable-choice or --disable-choice was given.
6173 if test "${enable_choice+set}" = set; then
6174 enableval
="$enable_choice"
6176 if test "$enableval" = yes; then
6177 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6179 ac_cv_use_choice
='wxUSE_CHOICE=no'
6184 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6185 if test "x$LINE" != x
; then
6186 eval "DEFAULT_$LINE"
6191 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6196 eval "$ac_cv_use_choice"
6197 if test "$no_cache" != 1; then
6198 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6201 if test "$wxUSE_CHOICE" = yes; then
6202 echo "$ac_t""yes" 1>&6
6204 echo "$ac_t""no" 1>&6
6209 echo $ac_n "checking for --${enablestring:-enable}-combobox""... $ac_c" 1>&6
6210 echo "configure:6211: checking for --${enablestring:-enable}-combobox" >&5
6212 # Check whether --enable-combobox or --disable-combobox was given.
6213 if test "${enable_combobox+set}" = set; then
6214 enableval
="$enable_combobox"
6216 if test "$enableval" = yes; then
6217 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6219 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6224 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6225 if test "x$LINE" != x
; then
6226 eval "DEFAULT_$LINE"
6231 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6236 eval "$ac_cv_use_combobox"
6237 if test "$no_cache" != 1; then
6238 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6241 if test "$wxUSE_COMBOBOX" = yes; then
6242 echo "$ac_t""yes" 1>&6
6244 echo "$ac_t""no" 1>&6
6249 echo $ac_n "checking for --${enablestring:-enable}-gauge""... $ac_c" 1>&6
6250 echo "configure:6251: checking for --${enablestring:-enable}-gauge" >&5
6252 # Check whether --enable-gauge or --disable-gauge was given.
6253 if test "${enable_gauge+set}" = set; then
6254 enableval
="$enable_gauge"
6256 if test "$enableval" = yes; then
6257 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6259 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6264 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6265 if test "x$LINE" != x
; then
6266 eval "DEFAULT_$LINE"
6271 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6276 eval "$ac_cv_use_gauge"
6277 if test "$no_cache" != 1; then
6278 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6281 if test "$wxUSE_GAUGE" = yes; then
6282 echo "$ac_t""yes" 1>&6
6284 echo "$ac_t""no" 1>&6
6289 echo $ac_n "checking for --${enablestring:-enable}-grid""... $ac_c" 1>&6
6290 echo "configure:6291: checking for --${enablestring:-enable}-grid" >&5
6292 # Check whether --enable-grid or --disable-grid was given.
6293 if test "${enable_grid+set}" = set; then
6294 enableval
="$enable_grid"
6296 if test "$enableval" = yes; then
6297 ac_cv_use_grid
='wxUSE_GRID=yes'
6299 ac_cv_use_grid
='wxUSE_GRID=no'
6304 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6305 if test "x$LINE" != x
; then
6306 eval "DEFAULT_$LINE"
6311 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6316 eval "$ac_cv_use_grid"
6317 if test "$no_cache" != 1; then
6318 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6321 if test "$wxUSE_GRID" = yes; then
6322 echo "$ac_t""yes" 1>&6
6324 echo "$ac_t""no" 1>&6
6329 echo $ac_n "checking for --${enablestring:-enable}-newgrid""... $ac_c" 1>&6
6330 echo "configure:6331: checking for --${enablestring:-enable}-newgrid" >&5
6332 # Check whether --enable-newgrid or --disable-newgrid was given.
6333 if test "${enable_newgrid+set}" = set; then
6334 enableval
="$enable_newgrid"
6336 if test "$enableval" = yes; then
6337 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6339 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6344 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6345 if test "x$LINE" != x
; then
6346 eval "DEFAULT_$LINE"
6351 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6356 eval "$ac_cv_use_newgrid"
6357 if test "$no_cache" != 1; then
6358 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6361 if test "$wxUSE_NEW_GRID" = yes; then
6362 echo "$ac_t""yes" 1>&6
6364 echo "$ac_t""no" 1>&6
6369 echo $ac_n "checking for --${enablestring:-enable}-imaglist""... $ac_c" 1>&6
6370 echo "configure:6371: checking for --${enablestring:-enable}-imaglist" >&5
6372 # Check whether --enable-imaglist or --disable-imaglist was given.
6373 if test "${enable_imaglist+set}" = set; then
6374 enableval
="$enable_imaglist"
6376 if test "$enableval" = yes; then
6377 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6379 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6384 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6385 if test "x$LINE" != x
; then
6386 eval "DEFAULT_$LINE"
6391 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6396 eval "$ac_cv_use_imaglist"
6397 if test "$no_cache" != 1; then
6398 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6401 if test "$wxUSE_IMAGLIST" = yes; then
6402 echo "$ac_t""yes" 1>&6
6404 echo "$ac_t""no" 1>&6
6409 echo $ac_n "checking for --${enablestring:-enable}-listbox""... $ac_c" 1>&6
6410 echo "configure:6411: checking for --${enablestring:-enable}-listbox" >&5
6412 # Check whether --enable-listbox or --disable-listbox was given.
6413 if test "${enable_listbox+set}" = set; then
6414 enableval
="$enable_listbox"
6416 if test "$enableval" = yes; then
6417 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6419 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6424 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6425 if test "x$LINE" != x
; then
6426 eval "DEFAULT_$LINE"
6431 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6436 eval "$ac_cv_use_listbox"
6437 if test "$no_cache" != 1; then
6438 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6441 if test "$wxUSE_LISTBOX" = yes; then
6442 echo "$ac_t""yes" 1>&6
6444 echo "$ac_t""no" 1>&6
6449 echo $ac_n "checking for --${enablestring:-enable}-listctrl""... $ac_c" 1>&6
6450 echo "configure:6451: checking for --${enablestring:-enable}-listctrl" >&5
6452 # Check whether --enable-listctrl or --disable-listctrl was given.
6453 if test "${enable_listctrl+set}" = set; then
6454 enableval
="$enable_listctrl"
6456 if test "$enableval" = yes; then
6457 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6459 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6464 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6465 if test "x$LINE" != x
; then
6466 eval "DEFAULT_$LINE"
6471 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6476 eval "$ac_cv_use_listctrl"
6477 if test "$no_cache" != 1; then
6478 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6481 if test "$wxUSE_LISTCTRL" = yes; then
6482 echo "$ac_t""yes" 1>&6
6484 echo "$ac_t""no" 1>&6
6489 echo $ac_n "checking for --${enablestring:-enable}-notebook""... $ac_c" 1>&6
6490 echo "configure:6491: checking for --${enablestring:-enable}-notebook" >&5
6492 # Check whether --enable-notebook or --disable-notebook was given.
6493 if test "${enable_notebook+set}" = set; then
6494 enableval
="$enable_notebook"
6496 if test "$enableval" = yes; then
6497 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6499 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6504 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6505 if test "x$LINE" != x
; then
6506 eval "DEFAULT_$LINE"
6511 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6516 eval "$ac_cv_use_notebook"
6517 if test "$no_cache" != 1; then
6518 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6521 if test "$wxUSE_NOTEBOOK" = yes; then
6522 echo "$ac_t""yes" 1>&6
6524 echo "$ac_t""no" 1>&6
6529 echo $ac_n "checking for --${enablestring:-enable}-propsheet""... $ac_c" 1>&6
6530 echo "configure:6531: checking for --${enablestring:-enable}-propsheet" >&5
6532 # Check whether --enable-propsheet or --disable-propsheet was given.
6533 if test "${enable_propsheet+set}" = set; then
6534 enableval
="$enable_propsheet"
6536 if test "$enableval" = yes; then
6537 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6539 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6544 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6545 if test "x$LINE" != x
; then
6546 eval "DEFAULT_$LINE"
6551 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6556 eval "$ac_cv_use_propsheet"
6557 if test "$no_cache" != 1; then
6558 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6561 if test "$wxUSE_PROPSHEET" = yes; then
6562 echo "$ac_t""yes" 1>&6
6564 echo "$ac_t""no" 1>&6
6569 echo $ac_n "checking for --${enablestring:-enable}-radiobox""... $ac_c" 1>&6
6570 echo "configure:6571: checking for --${enablestring:-enable}-radiobox" >&5
6572 # Check whether --enable-radiobox or --disable-radiobox was given.
6573 if test "${enable_radiobox+set}" = set; then
6574 enableval
="$enable_radiobox"
6576 if test "$enableval" = yes; then
6577 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6579 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6584 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6585 if test "x$LINE" != x
; then
6586 eval "DEFAULT_$LINE"
6591 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6596 eval "$ac_cv_use_radiobox"
6597 if test "$no_cache" != 1; then
6598 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6601 if test "$wxUSE_RADIOBOX" = yes; then
6602 echo "$ac_t""yes" 1>&6
6604 echo "$ac_t""no" 1>&6
6609 echo $ac_n "checking for --${enablestring:-enable}-radiobtn""... $ac_c" 1>&6
6610 echo "configure:6611: checking for --${enablestring:-enable}-radiobtn" >&5
6612 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6613 if test "${enable_radiobtn+set}" = set; then
6614 enableval
="$enable_radiobtn"
6616 if test "$enableval" = yes; then
6617 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6619 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6624 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6625 if test "x$LINE" != x
; then
6626 eval "DEFAULT_$LINE"
6631 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6636 eval "$ac_cv_use_radiobtn"
6637 if test "$no_cache" != 1; then
6638 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6641 if test "$wxUSE_RADIOBTN" = yes; then
6642 echo "$ac_t""yes" 1>&6
6644 echo "$ac_t""no" 1>&6
6649 echo $ac_n "checking for --${enablestring:-enable}-sash""... $ac_c" 1>&6
6650 echo "configure:6651: checking for --${enablestring:-enable}-sash" >&5
6652 # Check whether --enable-sash or --disable-sash was given.
6653 if test "${enable_sash+set}" = set; then
6654 enableval
="$enable_sash"
6656 if test "$enableval" = yes; then
6657 ac_cv_use_sash
='wxUSE_SASH=yes'
6659 ac_cv_use_sash
='wxUSE_SASH=no'
6664 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6665 if test "x$LINE" != x
; then
6666 eval "DEFAULT_$LINE"
6671 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6676 eval "$ac_cv_use_sash"
6677 if test "$no_cache" != 1; then
6678 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6681 if test "$wxUSE_SASH" = yes; then
6682 echo "$ac_t""yes" 1>&6
6684 echo "$ac_t""no" 1>&6
6689 echo $ac_n "checking for --${enablestring:-enable}-scrollbar""... $ac_c" 1>&6
6690 echo "configure:6691: checking for --${enablestring:-enable}-scrollbar" >&5
6692 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6693 if test "${enable_scrollbar+set}" = set; then
6694 enableval
="$enable_scrollbar"
6696 if test "$enableval" = yes; then
6697 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6699 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6704 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x
; then
6706 eval "DEFAULT_$LINE"
6711 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6716 eval "$ac_cv_use_scrollbar"
6717 if test "$no_cache" != 1; then
6718 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6721 if test "$wxUSE_SCROLLBAR" = yes; then
6722 echo "$ac_t""yes" 1>&6
6724 echo "$ac_t""no" 1>&6
6729 echo $ac_n "checking for --${enablestring:-enable}-slider""... $ac_c" 1>&6
6730 echo "configure:6731: checking for --${enablestring:-enable}-slider" >&5
6732 # Check whether --enable-slider or --disable-slider was given.
6733 if test "${enable_slider+set}" = set; then
6734 enableval
="$enable_slider"
6736 if test "$enableval" = yes; then
6737 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6739 ac_cv_use_slider
='wxUSE_SLIDER=no'
6744 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6745 if test "x$LINE" != x
; then
6746 eval "DEFAULT_$LINE"
6751 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6756 eval "$ac_cv_use_slider"
6757 if test "$no_cache" != 1; then
6758 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6761 if test "$wxUSE_SLIDER" = yes; then
6762 echo "$ac_t""yes" 1>&6
6764 echo "$ac_t""no" 1>&6
6769 echo $ac_n "checking for --${enablestring:-enable}-spinbtn""... $ac_c" 1>&6
6770 echo "configure:6771: checking for --${enablestring:-enable}-spinbtn" >&5
6772 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6773 if test "${enable_spinbtn+set}" = set; then
6774 enableval
="$enable_spinbtn"
6776 if test "$enableval" = yes; then
6777 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6779 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6784 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6785 if test "x$LINE" != x
; then
6786 eval "DEFAULT_$LINE"
6791 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6796 eval "$ac_cv_use_spinbtn"
6797 if test "$no_cache" != 1; then
6798 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6801 if test "$wxUSE_SPINBTN" = yes; then
6802 echo "$ac_t""yes" 1>&6
6804 echo "$ac_t""no" 1>&6
6809 echo $ac_n "checking for --${enablestring:-enable}-spinctrl""... $ac_c" 1>&6
6810 echo "configure:6811: checking for --${enablestring:-enable}-spinctrl" >&5
6812 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6813 if test "${enable_spinctrl+set}" = set; then
6814 enableval
="$enable_spinctrl"
6816 if test "$enableval" = yes; then
6817 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6819 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6824 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6825 if test "x$LINE" != x
; then
6826 eval "DEFAULT_$LINE"
6831 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6836 eval "$ac_cv_use_spinctrl"
6837 if test "$no_cache" != 1; then
6838 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6841 if test "$wxUSE_SPINCTRL" = yes; then
6842 echo "$ac_t""yes" 1>&6
6844 echo "$ac_t""no" 1>&6
6849 echo $ac_n "checking for --${enablestring:-enable}-splitter""... $ac_c" 1>&6
6850 echo "configure:6851: checking for --${enablestring:-enable}-splitter" >&5
6852 # Check whether --enable-splitter or --disable-splitter was given.
6853 if test "${enable_splitter+set}" = set; then
6854 enableval
="$enable_splitter"
6856 if test "$enableval" = yes; then
6857 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6859 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6864 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6865 if test "x$LINE" != x
; then
6866 eval "DEFAULT_$LINE"
6871 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6876 eval "$ac_cv_use_splitter"
6877 if test "$no_cache" != 1; then
6878 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6881 if test "$wxUSE_SPLITTER" = yes; then
6882 echo "$ac_t""yes" 1>&6
6884 echo "$ac_t""no" 1>&6
6889 echo $ac_n "checking for --${enablestring:-enable}-statbmp""... $ac_c" 1>&6
6890 echo "configure:6891: checking for --${enablestring:-enable}-statbmp" >&5
6892 # Check whether --enable-statbmp or --disable-statbmp was given.
6893 if test "${enable_statbmp+set}" = set; then
6894 enableval
="$enable_statbmp"
6896 if test "$enableval" = yes; then
6897 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6899 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6904 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6905 if test "x$LINE" != x
; then
6906 eval "DEFAULT_$LINE"
6911 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6916 eval "$ac_cv_use_statbmp"
6917 if test "$no_cache" != 1; then
6918 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6921 if test "$wxUSE_STATBMP" = yes; then
6922 echo "$ac_t""yes" 1>&6
6924 echo "$ac_t""no" 1>&6
6929 echo $ac_n "checking for --${enablestring:-enable}-statbox""... $ac_c" 1>&6
6930 echo "configure:6931: checking for --${enablestring:-enable}-statbox" >&5
6932 # Check whether --enable-statbox or --disable-statbox was given.
6933 if test "${enable_statbox+set}" = set; then
6934 enableval
="$enable_statbox"
6936 if test "$enableval" = yes; then
6937 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6939 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6944 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6945 if test "x$LINE" != x
; then
6946 eval "DEFAULT_$LINE"
6951 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6956 eval "$ac_cv_use_statbox"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6961 if test "$wxUSE_STATBOX" = yes; then
6962 echo "$ac_t""yes" 1>&6
6964 echo "$ac_t""no" 1>&6
6969 echo $ac_n "checking for --${enablestring:-enable}-statline""... $ac_c" 1>&6
6970 echo "configure:6971: checking for --${enablestring:-enable}-statline" >&5
6972 # Check whether --enable-statline or --disable-statline was given.
6973 if test "${enable_statline+set}" = set; then
6974 enableval
="$enable_statline"
6976 if test "$enableval" = yes; then
6977 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6979 ac_cv_use_statline
='wxUSE_STATLINE=no'
6984 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6985 if test "x$LINE" != x
; then
6986 eval "DEFAULT_$LINE"
6991 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6996 eval "$ac_cv_use_statline"
6997 if test "$no_cache" != 1; then
6998 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7001 if test "$wxUSE_STATLINE" = yes; then
7002 echo "$ac_t""yes" 1>&6
7004 echo "$ac_t""no" 1>&6
7009 echo $ac_n "checking for --${enablestring:-enable}-stattext""... $ac_c" 1>&6
7010 echo "configure:7011: checking for --${enablestring:-enable}-stattext" >&5
7012 # Check whether --enable-stattext or --disable-stattext was given.
7013 if test "${enable_stattext+set}" = set; then
7014 enableval
="$enable_stattext"
7016 if test "$enableval" = yes; then
7017 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
7019 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
7024 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x
; then
7026 eval "DEFAULT_$LINE"
7031 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7036 eval "$ac_cv_use_stattext"
7037 if test "$no_cache" != 1; then
7038 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7041 if test "$wxUSE_STATTEXT" = yes; then
7042 echo "$ac_t""yes" 1>&6
7044 echo "$ac_t""no" 1>&6
7049 echo $ac_n "checking for --${enablestring:-enable}-statusbar""... $ac_c" 1>&6
7050 echo "configure:7051: checking for --${enablestring:-enable}-statusbar" >&5
7052 # Check whether --enable-statusbar or --disable-statusbar was given.
7053 if test "${enable_statusbar+set}" = set; then
7054 enableval
="$enable_statusbar"
7056 if test "$enableval" = yes; then
7057 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
7059 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
7064 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7065 if test "x$LINE" != x
; then
7066 eval "DEFAULT_$LINE"
7071 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7076 eval "$ac_cv_use_statusbar"
7077 if test "$no_cache" != 1; then
7078 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7081 if test "$wxUSE_STATUSBAR" = yes; then
7082 echo "$ac_t""yes" 1>&6
7084 echo "$ac_t""no" 1>&6
7089 echo $ac_n "checking for --${enablestring:-enable}-tabdialog""... $ac_c" 1>&6
7090 echo "configure:7091: checking for --${enablestring:-enable}-tabdialog" >&5
7092 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7093 if test "${enable_tabdialog+set}" = set; then
7094 enableval
="$enable_tabdialog"
7096 if test "$enableval" = yes; then
7097 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
7099 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
7104 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x
; then
7106 eval "DEFAULT_$LINE"
7111 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7116 eval "$ac_cv_use_tabdialog"
7117 if test "$no_cache" != 1; then
7118 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7121 if test "$wxUSE_TABDIALOG" = yes; then
7122 echo "$ac_t""yes" 1>&6
7124 echo "$ac_t""no" 1>&6
7129 echo $ac_n "checking for --${enablestring:-enable}-textctrl""... $ac_c" 1>&6
7130 echo "configure:7131: checking for --${enablestring:-enable}-textctrl" >&5
7132 # Check whether --enable-textctrl or --disable-textctrl was given.
7133 if test "${enable_textctrl+set}" = set; then
7134 enableval
="$enable_textctrl"
7136 if test "$enableval" = yes; then
7137 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
7139 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
7144 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7145 if test "x$LINE" != x
; then
7146 eval "DEFAULT_$LINE"
7151 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7156 eval "$ac_cv_use_textctrl"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7161 if test "$wxUSE_TEXTCTRL" = yes; then
7162 echo "$ac_t""yes" 1>&6
7164 echo "$ac_t""no" 1>&6
7169 echo $ac_n "checking for --${enablestring:-enable}-togglebtn""... $ac_c" 1>&6
7170 echo "configure:7171: checking for --${enablestring:-enable}-togglebtn" >&5
7172 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7173 if test "${enable_togglebtn+set}" = set; then
7174 enableval
="$enable_togglebtn"
7176 if test "$enableval" = yes; then
7177 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7179 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7184 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7185 if test "x$LINE" != x
; then
7186 eval "DEFAULT_$LINE"
7191 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7196 eval "$ac_cv_use_togglebtn"
7197 if test "$no_cache" != 1; then
7198 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7201 if test "$wxUSE_TOGGLEBTN" = yes; then
7202 echo "$ac_t""yes" 1>&6
7204 echo "$ac_t""no" 1>&6
7209 echo $ac_n "checking for --${enablestring:-enable}-toolbar""... $ac_c" 1>&6
7210 echo "configure:7211: checking for --${enablestring:-enable}-toolbar" >&5
7212 # Check whether --enable-toolbar or --disable-toolbar was given.
7213 if test "${enable_toolbar+set}" = set; then
7214 enableval
="$enable_toolbar"
7216 if test "$enableval" = yes; then
7217 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7219 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7224 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7225 if test "x$LINE" != x
; then
7226 eval "DEFAULT_$LINE"
7231 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7236 eval "$ac_cv_use_toolbar"
7237 if test "$no_cache" != 1; then
7238 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7241 if test "$wxUSE_TOOLBAR" = yes; then
7242 echo "$ac_t""yes" 1>&6
7244 echo "$ac_t""no" 1>&6
7249 echo $ac_n "checking for --${enablestring:-enable}-tbarnative""... $ac_c" 1>&6
7250 echo "configure:7251: checking for --${enablestring:-enable}-tbarnative" >&5
7252 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7253 if test "${enable_tbarnative+set}" = set; then
7254 enableval
="$enable_tbarnative"
7256 if test "$enableval" = yes; then
7257 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7259 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7264 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7265 if test "x$LINE" != x
; then
7266 eval "DEFAULT_$LINE"
7271 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7276 eval "$ac_cv_use_tbarnative"
7277 if test "$no_cache" != 1; then
7278 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7281 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7282 echo "$ac_t""yes" 1>&6
7284 echo "$ac_t""no" 1>&6
7289 echo $ac_n "checking for --${enablestring:-enable}-tbarsmpl""... $ac_c" 1>&6
7290 echo "configure:7291: checking for --${enablestring:-enable}-tbarsmpl" >&5
7292 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7293 if test "${enable_tbarsmpl+set}" = set; then
7294 enableval
="$enable_tbarsmpl"
7296 if test "$enableval" = yes; then
7297 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7299 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7304 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7305 if test "x$LINE" != x
; then
7306 eval "DEFAULT_$LINE"
7311 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7316 eval "$ac_cv_use_tbarsmpl"
7317 if test "$no_cache" != 1; then
7318 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7321 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7322 echo "$ac_t""yes" 1>&6
7324 echo "$ac_t""no" 1>&6
7329 echo $ac_n "checking for --${enablestring:-enable}-treectrl""... $ac_c" 1>&6
7330 echo "configure:7331: checking for --${enablestring:-enable}-treectrl" >&5
7332 # Check whether --enable-treectrl or --disable-treectrl was given.
7333 if test "${enable_treectrl+set}" = set; then
7334 enableval
="$enable_treectrl"
7336 if test "$enableval" = yes; then
7337 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7339 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7344 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7345 if test "x$LINE" != x
; then
7346 eval "DEFAULT_$LINE"
7351 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7356 eval "$ac_cv_use_treectrl"
7357 if test "$no_cache" != 1; then
7358 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7361 if test "$wxUSE_TREECTRL" = yes; then
7362 echo "$ac_t""yes" 1>&6
7364 echo "$ac_t""no" 1>&6
7369 echo $ac_n "checking for --${enablestring:-enable}-tipwindow""... $ac_c" 1>&6
7370 echo "configure:7371: checking for --${enablestring:-enable}-tipwindow" >&5
7372 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7373 if test "${enable_tipwindow+set}" = set; then
7374 enableval
="$enable_tipwindow"
7376 if test "$enableval" = yes; then
7377 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7379 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7384 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7385 if test "x$LINE" != x
; then
7386 eval "DEFAULT_$LINE"
7391 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7396 eval "$ac_cv_use_tipwindow"
7397 if test "$no_cache" != 1; then
7398 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7401 if test "$wxUSE_TIPWINDOW" = yes; then
7402 echo "$ac_t""yes" 1>&6
7404 echo "$ac_t""no" 1>&6
7409 echo $ac_n "checking for --${enablestring:-enable}-popupwin""... $ac_c" 1>&6
7410 echo "configure:7411: checking for --${enablestring:-enable}-popupwin" >&5
7412 # Check whether --enable-popupwin or --disable-popupwin was given.
7413 if test "${enable_popupwin+set}" = set; then
7414 enableval
="$enable_popupwin"
7416 if test "$enableval" = yes; then
7417 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7419 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7424 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7425 if test "x$LINE" != x
; then
7426 eval "DEFAULT_$LINE"
7431 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7436 eval "$ac_cv_use_popupwin"
7437 if test "$no_cache" != 1; then
7438 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7441 if test "$wxUSE_POPUPWIN" = yes; then
7442 echo "$ac_t""yes" 1>&6
7444 echo "$ac_t""no" 1>&6
7451 echo $ac_n "checking for --${enablestring:-enable}-commondlg""... $ac_c" 1>&6
7452 echo "configure:7453: checking for --${enablestring:-enable}-commondlg" >&5
7454 # Check whether --enable-commondlg or --disable-commondlg was given.
7455 if test "${enable_commondlg+set}" = set; then
7456 enableval
="$enable_commondlg"
7458 if test "$enableval" = yes; then
7459 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7461 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7466 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7467 if test "x$LINE" != x
; then
7468 eval "DEFAULT_$LINE"
7473 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7478 eval "$ac_cv_use_commondlg"
7479 if test "$no_cache" != 1; then
7480 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7483 if test "$wxUSE_COMMONDLGS" = yes; then
7484 echo "$ac_t""yes" 1>&6
7486 echo "$ac_t""no" 1>&6
7491 echo $ac_n "checking for --${enablestring:-enable}-choicedlg""... $ac_c" 1>&6
7492 echo "configure:7493: checking for --${enablestring:-enable}-choicedlg" >&5
7494 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7495 if test "${enable_choicedlg+set}" = set; then
7496 enableval
="$enable_choicedlg"
7498 if test "$enableval" = yes; then
7499 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7501 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7506 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7507 if test "x$LINE" != x
; then
7508 eval "DEFAULT_$LINE"
7513 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7518 eval "$ac_cv_use_choicedlg"
7519 if test "$no_cache" != 1; then
7520 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7523 if test "$wxUSE_CHOICEDLG" = yes; then
7524 echo "$ac_t""yes" 1>&6
7526 echo "$ac_t""no" 1>&6
7531 echo $ac_n "checking for --${enablestring:-enable}-coldlg""... $ac_c" 1>&6
7532 echo "configure:7533: checking for --${enablestring:-enable}-coldlg" >&5
7534 # Check whether --enable-coldlg or --disable-coldlg was given.
7535 if test "${enable_coldlg+set}" = set; then
7536 enableval
="$enable_coldlg"
7538 if test "$enableval" = yes; then
7539 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7541 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7546 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7547 if test "x$LINE" != x
; then
7548 eval "DEFAULT_$LINE"
7553 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7558 eval "$ac_cv_use_coldlg"
7559 if test "$no_cache" != 1; then
7560 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7563 if test "$wxUSE_COLOURDLG" = yes; then
7564 echo "$ac_t""yes" 1>&6
7566 echo "$ac_t""no" 1>&6
7571 echo $ac_n "checking for --${enablestring:-enable}-filedlg""... $ac_c" 1>&6
7572 echo "configure:7573: checking for --${enablestring:-enable}-filedlg" >&5
7574 # Check whether --enable-filedlg or --disable-filedlg was given.
7575 if test "${enable_filedlg+set}" = set; then
7576 enableval
="$enable_filedlg"
7578 if test "$enableval" = yes; then
7579 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7581 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7586 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7587 if test "x$LINE" != x
; then
7588 eval "DEFAULT_$LINE"
7593 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7598 eval "$ac_cv_use_filedlg"
7599 if test "$no_cache" != 1; then
7600 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7603 if test "$wxUSE_FILEDLG" = yes; then
7604 echo "$ac_t""yes" 1>&6
7606 echo "$ac_t""no" 1>&6
7611 echo $ac_n "checking for --${enablestring:-enable}-finddlg""... $ac_c" 1>&6
7612 echo "configure:7613: checking for --${enablestring:-enable}-finddlg" >&5
7614 # Check whether --enable-finddlg or --disable-finddlg was given.
7615 if test "${enable_finddlg+set}" = set; then
7616 enableval
="$enable_finddlg"
7618 if test "$enableval" = yes; then
7619 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7621 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7626 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7627 if test "x$LINE" != x
; then
7628 eval "DEFAULT_$LINE"
7633 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7638 eval "$ac_cv_use_finddlg"
7639 if test "$no_cache" != 1; then
7640 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7643 if test "$wxUSE_FINDREPLDLG" = yes; then
7644 echo "$ac_t""yes" 1>&6
7646 echo "$ac_t""no" 1>&6
7651 echo $ac_n "checking for --${enablestring:-enable}-fontdlg""... $ac_c" 1>&6
7652 echo "configure:7653: checking for --${enablestring:-enable}-fontdlg" >&5
7654 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7655 if test "${enable_fontdlg+set}" = set; then
7656 enableval
="$enable_fontdlg"
7658 if test "$enableval" = yes; then
7659 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7661 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7666 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7667 if test "x$LINE" != x
; then
7668 eval "DEFAULT_$LINE"
7673 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7678 eval "$ac_cv_use_fontdlg"
7679 if test "$no_cache" != 1; then
7680 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7683 if test "$wxUSE_FONTDLG" = yes; then
7684 echo "$ac_t""yes" 1>&6
7686 echo "$ac_t""no" 1>&6
7691 echo $ac_n "checking for --${enablestring:-enable}-dirdlg""... $ac_c" 1>&6
7692 echo "configure:7693: checking for --${enablestring:-enable}-dirdlg" >&5
7694 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7695 if test "${enable_dirdlg+set}" = set; then
7696 enableval
="$enable_dirdlg"
7698 if test "$enableval" = yes; then
7699 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7701 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7706 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7707 if test "x$LINE" != x
; then
7708 eval "DEFAULT_$LINE"
7713 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7718 eval "$ac_cv_use_dirdlg"
7719 if test "$no_cache" != 1; then
7720 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7723 if test "$wxUSE_DIRDLG" = yes; then
7724 echo "$ac_t""yes" 1>&6
7726 echo "$ac_t""no" 1>&6
7731 echo $ac_n "checking for --${enablestring:-enable}-msgdlg""... $ac_c" 1>&6
7732 echo "configure:7733: checking for --${enablestring:-enable}-msgdlg" >&5
7734 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7735 if test "${enable_msgdlg+set}" = set; then
7736 enableval
="$enable_msgdlg"
7738 if test "$enableval" = yes; then
7739 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7741 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7746 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7747 if test "x$LINE" != x
; then
7748 eval "DEFAULT_$LINE"
7753 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7758 eval "$ac_cv_use_msgdlg"
7759 if test "$no_cache" != 1; then
7760 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7763 if test "$wxUSE_MSGDLG" = yes; then
7764 echo "$ac_t""yes" 1>&6
7766 echo "$ac_t""no" 1>&6
7771 echo $ac_n "checking for --${enablestring:-enable}-numberdlg""... $ac_c" 1>&6
7772 echo "configure:7773: checking for --${enablestring:-enable}-numberdlg" >&5
7774 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7775 if test "${enable_numberdlg+set}" = set; then
7776 enableval
="$enable_numberdlg"
7778 if test "$enableval" = yes; then
7779 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7781 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7786 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7787 if test "x$LINE" != x
; then
7788 eval "DEFAULT_$LINE"
7793 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7798 eval "$ac_cv_use_numberdlg"
7799 if test "$no_cache" != 1; then
7800 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7803 if test "$wxUSE_NUMBERDLG" = yes; then
7804 echo "$ac_t""yes" 1>&6
7806 echo "$ac_t""no" 1>&6
7811 echo $ac_n "checking for --${enablestring:-enable}-splash""... $ac_c" 1>&6
7812 echo "configure:7813: checking for --${enablestring:-enable}-splash" >&5
7814 # Check whether --enable-splash or --disable-splash was given.
7815 if test "${enable_splash+set}" = set; then
7816 enableval
="$enable_splash"
7818 if test "$enableval" = yes; then
7819 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7821 ac_cv_use_splash
='wxUSE_SPLASH=no'
7826 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7827 if test "x$LINE" != x
; then
7828 eval "DEFAULT_$LINE"
7833 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7838 eval "$ac_cv_use_splash"
7839 if test "$no_cache" != 1; then
7840 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7843 if test "$wxUSE_SPLASH" = yes; then
7844 echo "$ac_t""yes" 1>&6
7846 echo "$ac_t""no" 1>&6
7851 echo $ac_n "checking for --${enablestring:-enable}-textdlg""... $ac_c" 1>&6
7852 echo "configure:7853: checking for --${enablestring:-enable}-textdlg" >&5
7854 # Check whether --enable-textdlg or --disable-textdlg was given.
7855 if test "${enable_textdlg+set}" = set; then
7856 enableval
="$enable_textdlg"
7858 if test "$enableval" = yes; then
7859 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7861 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7866 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7867 if test "x$LINE" != x
; then
7868 eval "DEFAULT_$LINE"
7873 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7878 eval "$ac_cv_use_textdlg"
7879 if test "$no_cache" != 1; then
7880 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7883 if test "$wxUSE_TEXTDLG" = yes; then
7884 echo "$ac_t""yes" 1>&6
7886 echo "$ac_t""no" 1>&6
7891 echo $ac_n "checking for --${enablestring:-enable}-tipdlg""... $ac_c" 1>&6
7892 echo "configure:7893: checking for --${enablestring:-enable}-tipdlg" >&5
7894 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7895 if test "${enable_tipdlg+set}" = set; then
7896 enableval
="$enable_tipdlg"
7898 if test "$enableval" = yes; then
7899 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7901 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7906 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7907 if test "x$LINE" != x
; then
7908 eval "DEFAULT_$LINE"
7913 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7918 eval "$ac_cv_use_tipdlg"
7919 if test "$no_cache" != 1; then
7920 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7923 if test "$wxUSE_STARTUP_TIPS" = yes; then
7924 echo "$ac_t""yes" 1>&6
7926 echo "$ac_t""no" 1>&6
7931 echo $ac_n "checking for --${enablestring:-enable}-progressdlg""... $ac_c" 1>&6
7932 echo "configure:7933: checking for --${enablestring:-enable}-progressdlg" >&5
7934 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7935 if test "${enable_progressdlg+set}" = set; then
7936 enableval
="$enable_progressdlg"
7938 if test "$enableval" = yes; then
7939 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7941 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7946 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7947 if test "x$LINE" != x
; then
7948 eval "DEFAULT_$LINE"
7953 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7958 eval "$ac_cv_use_progressdlg"
7959 if test "$no_cache" != 1; then
7960 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7963 if test "$wxUSE_PROGRESSDLG" = yes; then
7964 echo "$ac_t""yes" 1>&6
7966 echo "$ac_t""no" 1>&6
7971 echo $ac_n "checking for --${enablestring:-enable}-wizarddlg""... $ac_c" 1>&6
7972 echo "configure:7973: checking for --${enablestring:-enable}-wizarddlg" >&5
7974 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7975 if test "${enable_wizarddlg+set}" = set; then
7976 enableval
="$enable_wizarddlg"
7978 if test "$enableval" = yes; then
7979 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7981 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7986 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7987 if test "x$LINE" != x
; then
7988 eval "DEFAULT_$LINE"
7993 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7998 eval "$ac_cv_use_wizarddlg"
7999 if test "$no_cache" != 1; then
8000 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8003 if test "$wxUSE_WIZARDDLG" = yes; then
8004 echo "$ac_t""yes" 1>&6
8006 echo "$ac_t""no" 1>&6
8013 echo $ac_n "checking for --${enablestring:-enable}-menus""... $ac_c" 1>&6
8014 echo "configure:8015: checking for --${enablestring:-enable}-menus" >&5
8016 # Check whether --enable-menus or --disable-menus was given.
8017 if test "${enable_menus+set}" = set; then
8018 enableval
="$enable_menus"
8020 if test "$enableval" = yes; then
8021 ac_cv_use_menus
='wxUSE_MENUS=yes'
8023 ac_cv_use_menus
='wxUSE_MENUS=no'
8028 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8029 if test "x$LINE" != x
; then
8030 eval "DEFAULT_$LINE"
8035 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8040 eval "$ac_cv_use_menus"
8041 if test "$no_cache" != 1; then
8042 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8045 if test "$wxUSE_MENUS" = yes; then
8046 echo "$ac_t""yes" 1>&6
8048 echo "$ac_t""no" 1>&6
8053 echo $ac_n "checking for --${enablestring:-enable}-miniframe""... $ac_c" 1>&6
8054 echo "configure:8055: checking for --${enablestring:-enable}-miniframe" >&5
8056 # Check whether --enable-miniframe or --disable-miniframe was given.
8057 if test "${enable_miniframe+set}" = set; then
8058 enableval
="$enable_miniframe"
8060 if test "$enableval" = yes; then
8061 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
8063 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
8068 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8069 if test "x$LINE" != x
; then
8070 eval "DEFAULT_$LINE"
8075 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8080 eval "$ac_cv_use_miniframe"
8081 if test "$no_cache" != 1; then
8082 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8085 if test "$wxUSE_MINIFRAME" = yes; then
8086 echo "$ac_t""yes" 1>&6
8088 echo "$ac_t""no" 1>&6
8093 echo $ac_n "checking for --${enablestring:-enable}-tooltips""... $ac_c" 1>&6
8094 echo "configure:8095: checking for --${enablestring:-enable}-tooltips" >&5
8096 # Check whether --enable-tooltips or --disable-tooltips was given.
8097 if test "${enable_tooltips+set}" = set; then
8098 enableval
="$enable_tooltips"
8100 if test "$enableval" = yes; then
8101 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
8103 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
8108 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8109 if test "x$LINE" != x
; then
8110 eval "DEFAULT_$LINE"
8115 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8120 eval "$ac_cv_use_tooltips"
8121 if test "$no_cache" != 1; then
8122 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8125 if test "$wxUSE_TOOLTIPS" = yes; then
8126 echo "$ac_t""yes" 1>&6
8128 echo "$ac_t""no" 1>&6
8133 echo $ac_n "checking for --${enablestring:-enable}-splines""... $ac_c" 1>&6
8134 echo "configure:8135: checking for --${enablestring:-enable}-splines" >&5
8136 # Check whether --enable-splines or --disable-splines was given.
8137 if test "${enable_splines+set}" = set; then
8138 enableval
="$enable_splines"
8140 if test "$enableval" = yes; then
8141 ac_cv_use_splines
='wxUSE_SPLINES=yes'
8143 ac_cv_use_splines
='wxUSE_SPLINES=no'
8148 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8149 if test "x$LINE" != x
; then
8150 eval "DEFAULT_$LINE"
8155 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8160 eval "$ac_cv_use_splines"
8161 if test "$no_cache" != 1; then
8162 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8165 if test "$wxUSE_SPLINES" = yes; then
8166 echo "$ac_t""yes" 1>&6
8168 echo "$ac_t""no" 1>&6
8173 echo $ac_n "checking for --${enablestring:-enable}-validators""... $ac_c" 1>&6
8174 echo "configure:8175: checking for --${enablestring:-enable}-validators" >&5
8176 # Check whether --enable-validators or --disable-validators was given.
8177 if test "${enable_validators+set}" = set; then
8178 enableval
="$enable_validators"
8180 if test "$enableval" = yes; then
8181 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
8183 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
8188 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8189 if test "x$LINE" != x
; then
8190 eval "DEFAULT_$LINE"
8195 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8200 eval "$ac_cv_use_validators"
8201 if test "$no_cache" != 1; then
8202 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8205 if test "$wxUSE_VALIDATORS" = yes; then
8206 echo "$ac_t""yes" 1>&6
8208 echo "$ac_t""no" 1>&6
8213 echo $ac_n "checking for --${enablestring:-enable}-busyinfo""... $ac_c" 1>&6
8214 echo "configure:8215: checking for --${enablestring:-enable}-busyinfo" >&5
8216 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8217 if test "${enable_busyinfo+set}" = set; then
8218 enableval
="$enable_busyinfo"
8220 if test "$enableval" = yes; then
8221 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8223 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8228 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8229 if test "x$LINE" != x
; then
8230 eval "DEFAULT_$LINE"
8235 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8240 eval "$ac_cv_use_busyinfo"
8241 if test "$no_cache" != 1; then
8242 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8245 if test "$wxUSE_BUSYINFO" = yes; then
8246 echo "$ac_t""yes" 1>&6
8248 echo "$ac_t""no" 1>&6
8253 echo $ac_n "checking for --${enablestring:-enable}-joystick""... $ac_c" 1>&6
8254 echo "configure:8255: checking for --${enablestring:-enable}-joystick" >&5
8256 # Check whether --enable-joystick or --disable-joystick was given.
8257 if test "${enable_joystick+set}" = set; then
8258 enableval
="$enable_joystick"
8260 if test "$enableval" = yes; then
8261 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8263 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8268 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8269 if test "x$LINE" != x
; then
8270 eval "DEFAULT_$LINE"
8275 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8280 eval "$ac_cv_use_joystick"
8281 if test "$no_cache" != 1; then
8282 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8285 if test "$wxUSE_JOYSTICK" = yes; then
8286 echo "$ac_t""yes" 1>&6
8288 echo "$ac_t""no" 1>&6
8293 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
8294 echo "configure:8295: checking for --${enablestring:-enable}-metafile" >&5
8296 # Check whether --enable-metafile or --disable-metafile was given.
8297 if test "${enable_metafile+set}" = set; then
8298 enableval
="$enable_metafile"
8300 if test "$enableval" = yes; then
8301 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8303 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8308 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8309 if test "x$LINE" != x
; then
8310 eval "DEFAULT_$LINE"
8315 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8320 eval "$ac_cv_use_metafile"
8321 if test "$no_cache" != 1; then
8322 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8325 if test "$wxUSE_METAFILE" = yes; then
8326 echo "$ac_t""yes" 1>&6
8328 echo "$ac_t""no" 1>&6
8333 echo $ac_n "checking for --${enablestring:-enable}-dragimage""... $ac_c" 1>&6
8334 echo "configure:8335: checking for --${enablestring:-enable}-dragimage" >&5
8336 # Check whether --enable-dragimage or --disable-dragimage was given.
8337 if test "${enable_dragimage+set}" = set; then
8338 enableval
="$enable_dragimage"
8340 if test "$enableval" = yes; then
8341 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8343 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8348 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8349 if test "x$LINE" != x
; then
8350 eval "DEFAULT_$LINE"
8355 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8360 eval "$ac_cv_use_dragimage"
8361 if test "$no_cache" != 1; then
8362 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8365 if test "$wxUSE_DRAGIMAGE" = yes; then
8366 echo "$ac_t""yes" 1>&6
8368 echo "$ac_t""no" 1>&6
8375 echo $ac_n "checking for --${enablestring:-enable}-palette""... $ac_c" 1>&6
8376 echo "configure:8377: checking for --${enablestring:-enable}-palette" >&5
8378 # Check whether --enable-palette or --disable-palette was given.
8379 if test "${enable_palette+set}" = set; then
8380 enableval
="$enable_palette"
8382 if test "$enableval" = yes; then
8383 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8385 ac_cv_use_palette
='wxUSE_PALETTE=no'
8390 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8391 if test "x$LINE" != x
; then
8392 eval "DEFAULT_$LINE"
8397 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8402 eval "$ac_cv_use_palette"
8403 if test "$no_cache" != 1; then
8404 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8407 if test "$wxUSE_PALETTE" = yes; then
8408 echo "$ac_t""yes" 1>&6
8410 echo "$ac_t""no" 1>&6
8415 echo $ac_n "checking for --${enablestring:-enable}-image""... $ac_c" 1>&6
8416 echo "configure:8417: checking for --${enablestring:-enable}-image" >&5
8418 # Check whether --enable-image or --disable-image was given.
8419 if test "${enable_image+set}" = set; then
8420 enableval
="$enable_image"
8422 if test "$enableval" = yes; then
8423 ac_cv_use_image
='wxUSE_IMAGE=yes'
8425 ac_cv_use_image
='wxUSE_IMAGE=no'
8430 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8431 if test "x$LINE" != x
; then
8432 eval "DEFAULT_$LINE"
8437 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8442 eval "$ac_cv_use_image"
8443 if test "$no_cache" != 1; then
8444 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8447 if test "$wxUSE_IMAGE" = yes; then
8448 echo "$ac_t""yes" 1>&6
8450 echo "$ac_t""no" 1>&6
8455 echo $ac_n "checking for --${enablestring:-enable}-gif""... $ac_c" 1>&6
8456 echo "configure:8457: checking for --${enablestring:-enable}-gif" >&5
8458 # Check whether --enable-gif or --disable-gif was given.
8459 if test "${enable_gif+set}" = set; then
8460 enableval
="$enable_gif"
8462 if test "$enableval" = yes; then
8463 ac_cv_use_gif
='wxUSE_GIF=yes'
8465 ac_cv_use_gif
='wxUSE_GIF=no'
8470 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8471 if test "x$LINE" != x
; then
8472 eval "DEFAULT_$LINE"
8477 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8482 eval "$ac_cv_use_gif"
8483 if test "$no_cache" != 1; then
8484 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8487 if test "$wxUSE_GIF" = yes; then
8488 echo "$ac_t""yes" 1>&6
8490 echo "$ac_t""no" 1>&6
8495 echo $ac_n "checking for --${enablestring:-enable}-pcx""... $ac_c" 1>&6
8496 echo "configure:8497: checking for --${enablestring:-enable}-pcx" >&5
8498 # Check whether --enable-pcx or --disable-pcx was given.
8499 if test "${enable_pcx+set}" = set; then
8500 enableval
="$enable_pcx"
8502 if test "$enableval" = yes; then
8503 ac_cv_use_pcx
='wxUSE_PCX=yes'
8505 ac_cv_use_pcx
='wxUSE_PCX=no'
8510 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8511 if test "x$LINE" != x
; then
8512 eval "DEFAULT_$LINE"
8517 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8522 eval "$ac_cv_use_pcx"
8523 if test "$no_cache" != 1; then
8524 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8527 if test "$wxUSE_PCX" = yes; then
8528 echo "$ac_t""yes" 1>&6
8530 echo "$ac_t""no" 1>&6
8535 echo $ac_n "checking for --${enablestring:-enable}-iff""... $ac_c" 1>&6
8536 echo "configure:8537: checking for --${enablestring:-enable}-iff" >&5
8538 # Check whether --enable-iff or --disable-iff was given.
8539 if test "${enable_iff+set}" = set; then
8540 enableval
="$enable_iff"
8542 if test "$enableval" = yes; then
8543 ac_cv_use_iff
='wxUSE_IFF=yes'
8545 ac_cv_use_iff
='wxUSE_IFF=no'
8550 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8551 if test "x$LINE" != x
; then
8552 eval "DEFAULT_$LINE"
8557 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8562 eval "$ac_cv_use_iff"
8563 if test "$no_cache" != 1; then
8564 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8567 if test "$wxUSE_IFF" = yes; then
8568 echo "$ac_t""yes" 1>&6
8570 echo "$ac_t""no" 1>&6
8575 echo $ac_n "checking for --${enablestring:-enable}-pnm""... $ac_c" 1>&6
8576 echo "configure:8577: checking for --${enablestring:-enable}-pnm" >&5
8578 # Check whether --enable-pnm or --disable-pnm was given.
8579 if test "${enable_pnm+set}" = set; then
8580 enableval
="$enable_pnm"
8582 if test "$enableval" = yes; then
8583 ac_cv_use_pnm
='wxUSE_PNM=yes'
8585 ac_cv_use_pnm
='wxUSE_PNM=no'
8590 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8591 if test "x$LINE" != x
; then
8592 eval "DEFAULT_$LINE"
8597 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8602 eval "$ac_cv_use_pnm"
8603 if test "$no_cache" != 1; then
8604 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8607 if test "$wxUSE_PNM" = yes; then
8608 echo "$ac_t""yes" 1>&6
8610 echo "$ac_t""no" 1>&6
8615 echo $ac_n "checking for --${enablestring:-enable}-xpm""... $ac_c" 1>&6
8616 echo "configure:8617: checking for --${enablestring:-enable}-xpm" >&5
8618 # Check whether --enable-xpm or --disable-xpm was given.
8619 if test "${enable_xpm+set}" = set; then
8620 enableval
="$enable_xpm"
8622 if test "$enableval" = yes; then
8623 ac_cv_use_xpm
='wxUSE_XPM=yes'
8625 ac_cv_use_xpm
='wxUSE_XPM=no'
8630 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8631 if test "x$LINE" != x
; then
8632 eval "DEFAULT_$LINE"
8637 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8642 eval "$ac_cv_use_xpm"
8643 if test "$no_cache" != 1; then
8644 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8647 if test "$wxUSE_XPM" = yes; then
8648 echo "$ac_t""yes" 1>&6
8650 echo "$ac_t""no" 1>&6
8655 echo $ac_n "checking for --${enablestring:-enable}-ico_cur""... $ac_c" 1>&6
8656 echo "configure:8657: checking for --${enablestring:-enable}-ico_cur" >&5
8658 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8659 if test "${enable_ico_cur+set}" = set; then
8660 enableval
="$enable_ico_cur"
8662 if test "$enableval" = yes; then
8663 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8665 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8670 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8671 if test "x$LINE" != x
; then
8672 eval "DEFAULT_$LINE"
8677 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8682 eval "$ac_cv_use_ico_cur"
8683 if test "$no_cache" != 1; then
8684 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8687 if test "$wxUSE_ICO_CUR" = yes; then
8688 echo "$ac_t""yes" 1>&6
8690 echo "$ac_t""no" 1>&6
8697 *-pc-os2_emx | *-pc-os2-emx )
8709 echo "saving argument cache $wx_arg_cache_file"
8710 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8714 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8715 echo "configure:8716: checking for toolkit" >&5
8717 if test "$wxUSE_GUI" = "yes"; then
8719 if test "$USE_BEOS" = 1; then
8720 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8723 if test "$TOOLKIT_GIVEN" = 1; then
8724 for toolkit
in `echo $ALL_TOOLKITS`; do
8726 eval "value=\$${var}"
8727 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8730 for toolkit
in `echo $ALL_TOOLKITS`; do
8731 if test "$has_toolkit_in_cache" != 1; then
8732 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8734 var
=DEFAULT_wxUSE_
$toolkit
8736 eval "wxUSE_$toolkit=\$${var}"
8740 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8741 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8744 *-pc-os2_emx | *-pc-os2-emx )
8745 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8748 case "$NUM_TOOLKITS" in
8752 { echo "configure: error: Please specify a toolkit -- cannot determine the default for ${host}" 1>&2; exit 1; }
8755 { echo "configure: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" 1>&2; exit 1; }
8758 for toolkit
in `echo $ALL_TOOLKITS`; do
8760 eval "value=\$${var}"
8761 if test "x$value" != x
; then
8762 cache_var
=CACHE_
$toolkit
8763 eval "cache=\$${cache_var}"
8764 if test "$cache" = 1; then
8765 echo "$var=$value" >> ${wx_arg_cache_file}
8767 if test "$value" = 1; then
8768 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8769 echo "$ac_t""$toolkit_echo" 1>&6
8774 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8781 if test "$wxUSE_MSW" = 1 ; then
8792 if test "$wants_win32" = 1 ; then
8795 cat >> confdefs.h
<<\EOF
8799 cat >> confdefs.h
<<\EOF
8803 cat >> confdefs.h
<<\EOF
8804 #define __WINDOWS__ 1
8807 cat >> confdefs.h
<<\EOF
8808 #define __GNUWIN32__ 1
8811 cat >> confdefs.h
<<\EOF
8815 cat >> confdefs.h
<<\EOF
8816 #define WINVER 0x0400
8820 if test "$doesnt_want_win32" = 1 ; then
8825 if test "$USE_UNIX" = 1 ; then
8827 cat >> confdefs.h
<<\EOF
8834 cat > confcache
<<\EOF
8835 # This file is a shell script that caches the results of configure
8836 # tests run on this system so they can be shared between configure
8837 # scripts and configure runs. It is not useful on other systems.
8838 # If it contains results you don't want to keep, you may remove or edit it.
8840 # By default, configure uses ./config.cache as the cache file,
8841 # creating it if it does not exist already. You can give configure
8842 # the --cache-file=FILE option to use a different cache file; that is
8843 # what configure does when it calls configure scripts in
8844 # subdirectories, so they share the cache.
8845 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8846 # config.status only pays attention to the cache file if you give it the
8847 # --recheck option to rerun configure.
8850 # The following way of writing the cache mishandles newlines in values,
8851 # but we know of no workaround that is simple, portable, and efficient.
8852 # So, don't put newlines in cache variables' values.
8853 # Ultrix sh set writes to stderr and can't be redirected directly,
8854 # and sets the high bit in the cache file unless we assign to the vars.
8856 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8858 # `set' does not quote correctly, so add quotes (double-quote substitution
8859 # turns \\\\ into \\, and sed turns \\ into \).
8861 -e "s/'/'\\\\''/g" \
8862 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8865 # `set' quotes correctly as required by POSIX, so do not add quotes.
8866 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8869 if cmp -s $cache_file confcache
; then
8872 if test -w $cache_file; then
8873 echo "updating cache $cache_file"
8874 cat confcache
> $cache_file
8876 echo "not updating unwritable cache $cache_file"
8882 if test "$build" != "$host" ; then
8883 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8887 RANLIB
=$host_alias-ranlib
8888 DLLTOOL
=$host_alias-dlltool
8889 RESCOMP
=$host_alias-windres
8892 STRIP
=$host_alias-strip
8894 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8899 # Extract the first word of "gcc", so it can be a program name with args.
8900 set dummy gcc
; ac_word
=$2
8901 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8902 echo "configure:8903: checking for $ac_word" >&5
8903 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8904 echo $ac_n "(cached) $ac_c" 1>&6
8906 if test -n "$CC"; then
8907 ac_cv_prog_CC
="$CC" # Let the user override the test.
8909 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8911 for ac_dir
in $ac_dummy; do
8912 test -z "$ac_dir" && ac_dir
=.
8913 if test -f $ac_dir/$ac_word; then
8922 if test -n "$CC"; then
8923 echo "$ac_t""$CC" 1>&6
8925 echo "$ac_t""no" 1>&6
8928 if test -z "$CC"; then
8929 # Extract the first word of "cc", so it can be a program name with args.
8930 set dummy cc
; ac_word
=$2
8931 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8932 echo "configure:8933: checking for $ac_word" >&5
8933 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8934 echo $ac_n "(cached) $ac_c" 1>&6
8936 if test -n "$CC"; then
8937 ac_cv_prog_CC
="$CC" # Let the user override the test.
8939 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8942 for ac_dir
in $ac_dummy; do
8943 test -z "$ac_dir" && ac_dir
=.
8944 if test -f $ac_dir/$ac_word; then
8945 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8946 ac_prog_rejected
=yes
8954 if test $ac_prog_rejected = yes; then
8955 # We found a bogon in the path, so make sure we never use it.
8956 set dummy
$ac_cv_prog_CC
8958 if test $# -gt 0; then
8959 # We chose a different compiler from the bogus one.
8960 # However, it has the same basename, so the bogon will be chosen
8961 # first if we set CC to just the basename; use the full file name.
8963 set dummy
"$ac_dir/$ac_word" "$@"
8971 if test -n "$CC"; then
8972 echo "$ac_t""$CC" 1>&6
8974 echo "$ac_t""no" 1>&6
8977 if test -z "$CC"; then
8978 case "`uname -s`" in
8980 # Extract the first word of "cl", so it can be a program name with args.
8981 set dummy cl
; ac_word
=$2
8982 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8983 echo "configure:8984: checking for $ac_word" >&5
8984 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8985 echo $ac_n "(cached) $ac_c" 1>&6
8987 if test -n "$CC"; then
8988 ac_cv_prog_CC
="$CC" # Let the user override the test.
8990 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8992 for ac_dir
in $ac_dummy; do
8993 test -z "$ac_dir" && ac_dir
=.
8994 if test -f $ac_dir/$ac_word; then
9003 if test -n "$CC"; then
9004 echo "$ac_t""$CC" 1>&6
9006 echo "$ac_t""no" 1>&6
9011 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
9014 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9015 echo "configure:9016: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
9018 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9019 ac_cpp
='$CPP $CPPFLAGS'
9020 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9021 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9022 cross_compiling
=$ac_cv_prog_cc_cross
9024 cat > conftest.
$ac_ext << EOF
9026 #line 9027 "configure"
9027 #include "confdefs.h"
9031 if { (eval echo configure
:9032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9032 ac_cv_prog_cc_works
=yes
9033 # If we can't run a trivial program, we are probably using a cross compiler.
9034 if (.
/conftest
; exit) 2>/dev
/null
; then
9035 ac_cv_prog_cc_cross
=no
9037 ac_cv_prog_cc_cross
=yes
9040 echo "configure: failed program was:" >&5
9041 cat conftest.
$ac_ext >&5
9042 ac_cv_prog_cc_works
=no
9046 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9047 ac_cpp
='$CPP $CPPFLAGS'
9048 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9049 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9050 cross_compiling
=$ac_cv_prog_cc_cross
9052 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
9053 if test $ac_cv_prog_cc_works = no
; then
9054 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
9056 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9057 echo "configure:9058: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
9058 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
9059 cross_compiling
=$ac_cv_prog_cc_cross
9061 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
9062 echo "configure:9063: checking whether we are using GNU C" >&5
9063 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
9064 echo $ac_n "(cached) $ac_c" 1>&6
9066 cat > conftest.c
<<EOF
9071 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:9072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9078 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
9080 if test $ac_cv_prog_gcc = yes; then
9086 ac_test_CFLAGS
="${CFLAGS+set}"
9087 ac_save_CFLAGS
="$CFLAGS"
9089 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
9090 echo "configure:9091: checking whether ${CC-cc} accepts -g" >&5
9091 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
9092 echo $ac_n "(cached) $ac_c" 1>&6
9094 echo 'void f(){}' > conftest.c
9095 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
9104 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
9105 if test "$ac_test_CFLAGS" = set; then
9106 CFLAGS
="$ac_save_CFLAGS"
9107 elif test $ac_cv_prog_cc_g = yes; then
9108 if test "$GCC" = yes; then
9114 if test "$GCC" = yes; then
9122 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
9123 echo "configure:9124: checking how to run the C preprocessor" >&5
9124 # On Suns, sometimes $CPP names a directory.
9125 if test -n "$CPP" && test -d "$CPP"; then
9128 if test -z "$CPP"; then
9129 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
9130 echo $ac_n "(cached) $ac_c" 1>&6
9132 # This must be in double quotes, not single quotes, because CPP may get
9133 # substituted into the Makefile and "${CC-cc}" will confuse make.
9135 # On the NeXT, cc -E runs the code through the compiler's parser,
9136 # not just through cpp.
9137 cat > conftest.
$ac_ext <<EOF
9138 #line 9139 "configure"
9139 #include "confdefs.h"
9143 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9144 { (eval echo configure
:9145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9145 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9146 if test -z "$ac_err"; then
9150 echo "configure: failed program was:" >&5
9151 cat conftest.
$ac_ext >&5
9153 CPP
="${CC-cc} -E -traditional-cpp"
9154 cat > conftest.
$ac_ext <<EOF
9155 #line 9156 "configure"
9156 #include "confdefs.h"
9160 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9161 { (eval echo configure
:9162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9162 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9163 if test -z "$ac_err"; then
9167 echo "configure: failed program was:" >&5
9168 cat conftest.
$ac_ext >&5
9170 CPP
="${CC-cc} -nologo -E"
9171 cat > conftest.
$ac_ext <<EOF
9172 #line 9173 "configure"
9173 #include "confdefs.h"
9177 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9178 { (eval echo configure
:9179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9179 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9180 if test -z "$ac_err"; then
9184 echo "configure: failed program was:" >&5
9185 cat conftest.
$ac_ext >&5
9194 ac_cv_prog_CPP
="$CPP"
9196 CPP
="$ac_cv_prog_CPP"
9198 ac_cv_prog_CPP
="$CPP"
9200 echo "$ac_t""$CPP" 1>&6
9202 if test $ac_cv_prog_gcc = yes; then
9203 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
9204 echo "configure:9205: checking whether ${CC-cc} needs -traditional" >&5
9205 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
9206 echo $ac_n "(cached) $ac_c" 1>&6
9208 ac_pattern
="Autoconf.*'x'"
9209 cat > conftest.
$ac_ext <<EOF
9210 #line 9211 "configure"
9211 #include "confdefs.h"
9215 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9216 egrep "$ac_pattern" >/dev
/null
2>&1; then
9218 ac_cv_prog_gcc_traditional
=yes
9221 ac_cv_prog_gcc_traditional
=no
9226 if test $ac_cv_prog_gcc_traditional = no
; then
9227 cat > conftest.
$ac_ext <<EOF
9228 #line 9229 "configure"
9229 #include "confdefs.h"
9233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9234 egrep "$ac_pattern" >/dev
/null
2>&1; then
9236 ac_cv_prog_gcc_traditional
=yes
9243 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
9244 if test $ac_cv_prog_gcc_traditional = yes; then
9245 CC
="$CC -traditional"
9252 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9253 ac_cpp
='$CXXCPP $CPPFLAGS'
9254 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9255 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9256 cross_compiling
=$ac_cv_prog_cxx_cross
9259 CXXFLAGS
=${CXXFLAGS:=}
9260 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
9262 # Extract the first word of "$ac_prog", so it can be a program name with args.
9263 set dummy
$ac_prog; ac_word
=$2
9264 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9265 echo "configure:9266: checking for $ac_word" >&5
9266 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
9267 echo $ac_n "(cached) $ac_c" 1>&6
9269 if test -n "$CXX"; then
9270 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9272 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9274 for ac_dir
in $ac_dummy; do
9275 test -z "$ac_dir" && ac_dir
=.
9276 if test -f $ac_dir/$ac_word; then
9277 ac_cv_prog_CXX
="$ac_prog"
9284 CXX
="$ac_cv_prog_CXX"
9285 if test -n "$CXX"; then
9286 echo "$ac_t""$CXX" 1>&6
9288 echo "$ac_t""no" 1>&6
9291 test -n "$CXX" && break
9293 test -n "$CXX" || CXX
="gcc"
9296 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9297 echo "configure:9298: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9300 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9301 ac_cpp
='$CXXCPP $CPPFLAGS'
9302 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9303 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9304 cross_compiling
=$ac_cv_prog_cxx_cross
9306 cat > conftest.
$ac_ext << EOF
9308 #line 9309 "configure"
9309 #include "confdefs.h"
9311 int main(){return(0);}
9313 if { (eval echo configure
:9314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9314 ac_cv_prog_cxx_works
=yes
9315 # If we can't run a trivial program, we are probably using a cross compiler.
9316 if (.
/conftest
; exit) 2>/dev
/null
; then
9317 ac_cv_prog_cxx_cross
=no
9319 ac_cv_prog_cxx_cross
=yes
9322 echo "configure: failed program was:" >&5
9323 cat conftest.
$ac_ext >&5
9324 ac_cv_prog_cxx_works
=no
9328 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9329 ac_cpp
='$CXXCPP $CPPFLAGS'
9330 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9331 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9332 cross_compiling
=$ac_cv_prog_cxx_cross
9334 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9335 if test $ac_cv_prog_cxx_works = no
; then
9336 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9338 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9339 echo "configure:9340: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9340 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9341 cross_compiling
=$ac_cv_prog_cxx_cross
9343 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9344 echo "configure:9345: checking whether we are using GNU C++" >&5
9345 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9346 echo $ac_n "(cached) $ac_c" 1>&6
9348 cat > conftest.C
<<EOF
9353 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9360 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9362 if test $ac_cv_prog_gxx = yes; then
9368 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9369 ac_save_CXXFLAGS
="$CXXFLAGS"
9371 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9372 echo "configure:9373: checking whether ${CXX-g++} accepts -g" >&5
9373 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9374 echo $ac_n "(cached) $ac_c" 1>&6
9376 echo 'void f(){}' > conftest.cc
9377 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9378 ac_cv_prog_cxx_g
=yes
9386 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9387 if test "$ac_test_CXXFLAGS" = set; then
9388 CXXFLAGS
="$ac_save_CXXFLAGS"
9389 elif test $ac_cv_prog_cxx_g = yes; then
9390 if test "$GXX" = yes; then
9396 if test "$GXX" = yes; then
9405 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9406 ac_cpp
='$CPP $CPPFLAGS'
9407 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9408 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9409 cross_compiling
=$ac_cv_prog_cc_cross
9412 # Extract the first word of "ranlib", so it can be a program name with args.
9413 set dummy ranlib
; ac_word
=$2
9414 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9415 echo "configure:9416: checking for $ac_word" >&5
9416 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9417 echo $ac_n "(cached) $ac_c" 1>&6
9419 if test -n "$RANLIB"; then
9420 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9422 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9424 for ac_dir
in $ac_dummy; do
9425 test -z "$ac_dir" && ac_dir
=.
9426 if test -f $ac_dir/$ac_word; then
9427 ac_cv_prog_RANLIB
="ranlib"
9432 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9435 RANLIB
="$ac_cv_prog_RANLIB"
9436 if test -n "$RANLIB"; then
9437 echo "$ac_t""$RANLIB" 1>&6
9439 echo "$ac_t""no" 1>&6
9443 # Extract the first word of "ar", so it can be a program name with args.
9444 set dummy
ar; ac_word
=$2
9445 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9446 echo "configure:9447: checking for $ac_word" >&5
9447 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9448 echo $ac_n "(cached) $ac_c" 1>&6
9450 if test -n "$AR"; then
9451 ac_cv_prog_AR
="$AR" # Let the user override the test.
9453 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9455 for ac_dir
in $ac_dummy; do
9456 test -z "$ac_dir" && ac_dir
=.
9457 if test -f $ac_dir/$ac_word; then
9463 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9467 if test -n "$AR"; then
9468 echo "$ac_t""$AR" 1>&6
9470 echo "$ac_t""no" 1>&6
9474 # Find a good install program. We prefer a C program (faster),
9475 # so one script is as good as another. But avoid the broken or
9476 # incompatible versions:
9477 # SysV /etc/install, /usr/sbin/install
9478 # SunOS /usr/etc/install
9479 # IRIX /sbin/install
9481 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9482 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9483 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9484 # ./install, which can be erroneously created by make from ./install.sh.
9485 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9486 echo "configure:9487: checking for a BSD compatible install" >&5
9487 if test -z "$INSTALL"; then
9488 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9489 echo $ac_n "(cached) $ac_c" 1>&6
9491 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9492 for ac_dir
in $PATH; do
9493 # Account for people who put trailing slashes in PATH elements.
9495 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9497 # OSF1 and SCO ODT 3.0 have their own names for install.
9498 # Don't use installbsd from OSF since it installs stuff as root
9500 for ac_prog
in ginstall scoinst
install; do
9501 if test -f $ac_dir/$ac_prog; then
9502 if test $ac_prog = install &&
9503 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9504 # AIX install. It has an incompatible calling convention.
9507 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9518 if test "${ac_cv_path_install+set}" = set; then
9519 INSTALL
="$ac_cv_path_install"
9521 # As a last resort, use the slow shell script. We don't cache a
9522 # path for INSTALL within a source directory, because that will
9523 # break other packages using the cache if that directory is
9524 # removed, or if the path is relative.
9525 INSTALL
="$ac_install_sh"
9528 echo "$ac_t""$INSTALL" 1>&6
9530 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9531 # It thinks the first close brace ends the variable substitution.
9532 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9534 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9536 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9543 INSTALL
=`pwd`/${INSTALL} ;;
9550 INSTALL_PROGRAM
="cp -fp"
9551 INSTALL_DATA
="cp -fp"
9557 # Extract the first word of "strip", so it can be a program name with args.
9558 set dummy strip
; ac_word
=$2
9559 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9560 echo "configure:9561: checking for $ac_word" >&5
9561 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9562 echo $ac_n "(cached) $ac_c" 1>&6
9564 if test -n "$STRIP"; then
9565 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9567 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9569 for ac_dir
in $ac_dummy; do
9570 test -z "$ac_dir" && ac_dir
=.
9571 if test -f $ac_dir/$ac_word; then
9572 ac_cv_prog_STRIP
="strip"
9577 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9580 STRIP
="$ac_cv_prog_STRIP"
9581 if test -n "$STRIP"; then
9582 echo "$ac_t""$STRIP" 1>&6
9584 echo "$ac_t""no" 1>&6
9588 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9589 echo "configure:9590: checking if make is GNU make" >&5
9590 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9591 echo $ac_n "(cached) $ac_c" 1>&6
9594 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9595 egrep -s GNU
> /dev
/null
); then
9596 wx_cv_prog_makeisgnu
="yes"
9598 wx_cv_prog_makeisgnu
="no"
9603 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9605 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9613 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9614 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9615 echo "configure:9616: checking if make supports VPATH" >&5
9616 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9617 echo $ac_n "(cached) $ac_c" 1>&6
9620 cat - << EOF > confMake
9626 if test ! -d sub
; then
9629 echo dummy
> sub
/file
9630 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9632 rm -f sub
/file check final_file confMake
9634 if test "$RESULT" = 0; then
9635 wx_cv_prog_makevpath
="yes"
9637 wx_cv_prog_makevpath
="no"
9642 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9644 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9645 { echo "configure: error:
9646 You need a make-utility that is able to use the variable
9648 If your version of make does not support VPATH correctly,
9649 please install GNU-make (possibly as gmake), and start
9650 configure with the following command:
9651 export MAKE=gmake; ./configure for sh-type shells
9652 setenv MAKE gmake; ./configure for csh-type shells
9653 Also please do remember to use gmake in this case every time
9654 you are trying to compile.
9657 for ac_prog
in 'bison -y' byacc
9659 # Extract the first word of "$ac_prog", so it can be a program name with args.
9660 set dummy
$ac_prog; ac_word
=$2
9661 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9662 echo "configure:9663: checking for $ac_word" >&5
9663 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9664 echo $ac_n "(cached) $ac_c" 1>&6
9666 if test -n "$YACC"; then
9667 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9669 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9671 for ac_dir
in $ac_dummy; do
9672 test -z "$ac_dir" && ac_dir
=.
9673 if test -f $ac_dir/$ac_word; then
9674 ac_cv_prog_YACC
="$ac_prog"
9681 YACC
="$ac_cv_prog_YACC"
9682 if test -n "$YACC"; then
9683 echo "$ac_t""$YACC" 1>&6
9685 echo "$ac_t""no" 1>&6
9688 test -n "$YACC" && break
9690 test -n "$YACC" || YACC
="yacc"
9693 # Extract the first word of "flex", so it can be a program name with args.
9694 set dummy flex
; ac_word
=$2
9695 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9696 echo "configure:9697: checking for $ac_word" >&5
9697 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9698 echo $ac_n "(cached) $ac_c" 1>&6
9700 if test -n "$LEX"; then
9701 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9703 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9705 for ac_dir
in $ac_dummy; do
9706 test -z "$ac_dir" && ac_dir
=.
9707 if test -f $ac_dir/$ac_word; then
9708 ac_cv_prog_LEX
="flex"
9713 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9716 LEX
="$ac_cv_prog_LEX"
9717 if test -n "$LEX"; then
9718 echo "$ac_t""$LEX" 1>&6
9720 echo "$ac_t""no" 1>&6
9723 if test -z "$LEXLIB"
9729 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9730 echo "configure:9731: checking for yywrap in -l$ac_lib" >&5
9731 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9732 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9733 echo $ac_n "(cached) $ac_c" 1>&6
9735 ac_save_LIBS
="$LIBS"
9736 LIBS
="-l$ac_lib $LIBS"
9737 cat > conftest.
$ac_ext <<EOF
9738 #line 9739 "configure"
9739 #include "confdefs.h"
9740 /* Override any gcc2 internal prototype to avoid an error. */
9741 /* We use char because int might match the return type of a gcc2
9742 builtin and then its argument prototype would still apply. */
9749 if { (eval echo configure
:9750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9751 eval "ac_cv_lib_$ac_lib_var=yes"
9753 echo "configure: failed program was:" >&5
9754 cat conftest.
$ac_ext >&5
9756 eval "ac_cv_lib_$ac_lib_var=no"
9759 LIBS
="$ac_save_LIBS"
9762 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9763 echo "$ac_t""yes" 1>&6
9766 echo "$ac_t""no" 1>&6
9772 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9773 echo "configure:9774: checking whether ln -s works" >&5
9774 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9775 echo $ac_n "(cached) $ac_c" 1>&6
9778 if ln -s X conftestdata
2>/dev
/null
9781 ac_cv_prog_LN_S
="ln -s"
9786 LN_S
="$ac_cv_prog_LN_S"
9787 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9788 echo "$ac_t""yes" 1>&6
9790 echo "$ac_t""no" 1>&6
9795 *-pc-os2_emx | *-pc-os2-emx )
9796 LIBS
="$LIBS -lstdcpp"
9797 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
9798 echo $ac_n "checking for drand48 in -lcExt""... $ac_c" 1>&6
9799 echo "configure:9800: checking for drand48 in -lcExt" >&5
9800 ac_lib_var
=`echo cExt'_'drand48 | sed 'y%./+-%__p_%'`
9801 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9802 echo $ac_n "(cached) $ac_c" 1>&6
9804 ac_save_LIBS
="$LIBS"
9806 cat > conftest.
$ac_ext <<EOF
9807 #line 9808 "configure"
9808 #include "confdefs.h"
9809 /* Override any gcc2 internal prototype to avoid an error. */
9810 /* We use char because int might match the return type of a gcc2
9811 builtin and then its argument prototype would still apply. */
9818 if { (eval echo configure
:9819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9820 eval "ac_cv_lib_$ac_lib_var=yes"
9822 echo "configure: failed program was:" >&5
9823 cat conftest.
$ac_ext >&5
9825 eval "ac_cv_lib_$ac_lib_var=no"
9828 LIBS
="$ac_save_LIBS"
9831 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9832 echo "$ac_t""yes" 1>&6
9835 echo "$ac_t""no" 1>&6
9839 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
9845 if test "$wxUSE_MAC" != 1; then
9846 for ac_hdr
in strings.h
9848 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9849 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9850 echo "configure:9851: checking for $ac_hdr" >&5
9851 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9852 echo $ac_n "(cached) $ac_c" 1>&6
9854 cat > conftest.
$ac_ext <<EOF
9855 #line 9856 "configure"
9856 #include "confdefs.h"
9859 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9860 { (eval echo configure
:9861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9861 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9862 if test -z "$ac_err"; then
9864 eval "ac_cv_header_$ac_safe=yes"
9867 echo "configure: failed program was:" >&5
9868 cat conftest.
$ac_ext >&5
9870 eval "ac_cv_header_$ac_safe=no"
9874 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9875 echo "$ac_t""yes" 1>&6
9876 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9877 cat >> confdefs.h
<<EOF
9878 #define $ac_tr_hdr 1
9882 echo "$ac_t""no" 1>&6
9888 for ac_hdr
in stdlib.h
9890 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9891 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9892 echo "configure:9893: checking for $ac_hdr" >&5
9893 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9894 echo $ac_n "(cached) $ac_c" 1>&6
9896 cat > conftest.
$ac_ext <<EOF
9897 #line 9898 "configure"
9898 #include "confdefs.h"
9901 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9902 { (eval echo configure
:9903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9903 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9904 if test -z "$ac_err"; then
9906 eval "ac_cv_header_$ac_safe=yes"
9909 echo "configure: failed program was:" >&5
9910 cat conftest.
$ac_ext >&5
9912 eval "ac_cv_header_$ac_safe=no"
9916 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9917 echo "$ac_t""yes" 1>&6
9918 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9919 cat >> confdefs.h
<<EOF
9920 #define $ac_tr_hdr 1
9924 echo "$ac_t""no" 1>&6
9928 for ac_hdr
in malloc.h
9930 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9931 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9932 echo "configure:9933: checking for $ac_hdr" >&5
9933 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9934 echo $ac_n "(cached) $ac_c" 1>&6
9936 cat > conftest.
$ac_ext <<EOF
9937 #line 9938 "configure"
9938 #include "confdefs.h"
9941 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9942 { (eval echo configure
:9943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9943 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9944 if test -z "$ac_err"; then
9946 eval "ac_cv_header_$ac_safe=yes"
9949 echo "configure: failed program was:" >&5
9950 cat conftest.
$ac_ext >&5
9952 eval "ac_cv_header_$ac_safe=no"
9956 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9957 echo "$ac_t""yes" 1>&6
9958 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9959 cat >> confdefs.h
<<EOF
9960 #define $ac_tr_hdr 1
9964 echo "$ac_t""no" 1>&6
9968 for ac_hdr
in unistd.h
9970 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9971 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9972 echo "configure:9973: checking for $ac_hdr" >&5
9973 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9974 echo $ac_n "(cached) $ac_c" 1>&6
9976 cat > conftest.
$ac_ext <<EOF
9977 #line 9978 "configure"
9978 #include "confdefs.h"
9981 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9982 { (eval echo configure
:9983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9983 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9984 if test -z "$ac_err"; then
9986 eval "ac_cv_header_$ac_safe=yes"
9989 echo "configure: failed program was:" >&5
9990 cat conftest.
$ac_ext >&5
9992 eval "ac_cv_header_$ac_safe=no"
9996 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9997 echo "$ac_t""yes" 1>&6
9998 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9999 cat >> confdefs.h
<<EOF
10000 #define $ac_tr_hdr 1
10004 echo "$ac_t""no" 1>&6
10008 for ac_hdr
in wchar.h
10010 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10011 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10012 echo "configure:10013: checking for $ac_hdr" >&5
10013 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10014 echo $ac_n "(cached) $ac_c" 1>&6
10016 cat > conftest.
$ac_ext <<EOF
10017 #line 10018 "configure"
10018 #include "confdefs.h"
10021 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10022 { (eval echo configure
:10023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10023 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10024 if test -z "$ac_err"; then
10026 eval "ac_cv_header_$ac_safe=yes"
10029 echo "configure: failed program was:" >&5
10030 cat conftest.
$ac_ext >&5
10032 eval "ac_cv_header_$ac_safe=no"
10036 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10037 echo "$ac_t""yes" 1>&6
10038 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10039 cat >> confdefs.h
<<EOF
10040 #define $ac_tr_hdr 1
10044 echo "$ac_t""no" 1>&6
10049 if test "$ac_cv_header_wchar_h" != "yes"; then
10050 for ac_hdr
in wcstr.h
10052 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10053 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10054 echo "configure:10055: checking for $ac_hdr" >&5
10055 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10056 echo $ac_n "(cached) $ac_c" 1>&6
10058 cat > conftest.
$ac_ext <<EOF
10059 #line 10060 "configure"
10060 #include "confdefs.h"
10063 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10064 { (eval echo configure
:10065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10065 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10066 if test -z "$ac_err"; then
10068 eval "ac_cv_header_$ac_safe=yes"
10071 echo "configure: failed program was:" >&5
10072 cat conftest.
$ac_ext >&5
10074 eval "ac_cv_header_$ac_safe=no"
10078 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10079 echo "$ac_t""yes" 1>&6
10080 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10081 cat >> confdefs.h
<<EOF
10082 #define $ac_tr_hdr 1
10086 echo "$ac_t""no" 1>&6
10092 for ac_hdr
in fnmatch.h
10094 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10095 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10096 echo "configure:10097: checking for $ac_hdr" >&5
10097 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10098 echo $ac_n "(cached) $ac_c" 1>&6
10100 cat > conftest.
$ac_ext <<EOF
10101 #line 10102 "configure"
10102 #include "confdefs.h"
10105 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10106 { (eval echo configure
:10107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10107 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10108 if test -z "$ac_err"; then
10110 eval "ac_cv_header_$ac_safe=yes"
10113 echo "configure: failed program was:" >&5
10114 cat conftest.
$ac_ext >&5
10116 eval "ac_cv_header_$ac_safe=no"
10120 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10121 echo "$ac_t""yes" 1>&6
10122 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10123 cat >> confdefs.h
<<EOF
10124 #define $ac_tr_hdr 1
10128 echo "$ac_t""no" 1>&6
10133 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
10134 for ac_func
in fnmatch
10136 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10137 echo "configure:10138: checking for $ac_func" >&5
10138 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10139 echo $ac_n "(cached) $ac_c" 1>&6
10141 cat > conftest.
$ac_ext <<EOF
10142 #line 10143 "configure"
10143 #include "confdefs.h"
10144 /* System header to define __stub macros and hopefully few prototypes,
10145 which can conflict with char $ac_func(); below. */
10146 #include <assert.h>
10147 /* Override any gcc2 internal prototype to avoid an error. */
10148 /* We use char because int might match the return type of a gcc2
10149 builtin and then its argument prototype would still apply. */
10154 /* The GNU C library defines this for functions which it implements
10155 to always fail with ENOSYS. Some functions are actually named
10156 something starting with __ and the normal name is an alias. */
10157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10165 if { (eval echo configure
:10166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10167 eval "ac_cv_func_$ac_func=yes"
10169 echo "configure: failed program was:" >&5
10170 cat conftest.
$ac_ext >&5
10172 eval "ac_cv_func_$ac_func=no"
10177 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10178 echo "$ac_t""yes" 1>&6
10179 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10180 cat >> confdefs.h
<<EOF
10181 #define $ac_tr_func 1
10185 echo "$ac_t""no" 1>&6
10191 for ac_hdr
in langinfo.h
10193 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10194 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10195 echo "configure:10196: checking for $ac_hdr" >&5
10196 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10197 echo $ac_n "(cached) $ac_c" 1>&6
10199 cat > conftest.
$ac_ext <<EOF
10200 #line 10201 "configure"
10201 #include "confdefs.h"
10204 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10205 { (eval echo configure
:10206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10206 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10207 if test -z "$ac_err"; then
10209 eval "ac_cv_header_$ac_safe=yes"
10212 echo "configure: failed program was:" >&5
10213 cat conftest.
$ac_ext >&5
10215 eval "ac_cv_header_$ac_safe=no"
10219 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10220 echo "$ac_t""yes" 1>&6
10221 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10222 cat >> confdefs.h
<<EOF
10223 #define $ac_tr_hdr 1
10227 echo "$ac_t""no" 1>&6
10232 if test "$wxUSE_GUI" = "yes"; then
10233 if test "$wxUSE_UNIX" = "yes"; then
10234 for ac_hdr
in X
11/XKBlib.h
10236 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10237 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10238 echo "configure:10239: checking for $ac_hdr" >&5
10239 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10240 echo $ac_n "(cached) $ac_c" 1>&6
10242 cat > conftest.
$ac_ext <<EOF
10243 #line 10244 "configure"
10244 #include "confdefs.h"
10247 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10248 { (eval echo configure
:10249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10249 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10250 if test -z "$ac_err"; then
10252 eval "ac_cv_header_$ac_safe=yes"
10255 echo "configure: failed program was:" >&5
10256 cat conftest.
$ac_ext >&5
10258 eval "ac_cv_header_$ac_safe=no"
10262 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10263 echo "$ac_t""yes" 1>&6
10264 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10265 cat >> confdefs.h
<<EOF
10266 #define $ac_tr_hdr 1
10270 echo "$ac_t""no" 1>&6
10278 echo $ac_n "checking for working const""... $ac_c" 1>&6
10279 echo "configure:10280: checking for working const" >&5
10280 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10281 echo $ac_n "(cached) $ac_c" 1>&6
10283 cat > conftest.
$ac_ext <<EOF
10284 #line 10285 "configure"
10285 #include "confdefs.h"
10289 /* Ultrix mips cc rejects this. */
10290 typedef int charset[2]; const charset x;
10291 /* SunOS 4.1.1 cc rejects this. */
10292 char const *const *ccp;
10294 /* NEC SVR4.0.2 mips cc rejects this. */
10295 struct point {int x, y;};
10296 static struct point const zero = {0,0};
10297 /* AIX XL C 1.02.0.0 rejects this.
10298 It does not let you subtract one const X* pointer from another in an arm
10299 of an if-expression whose if-part is not a constant expression */
10300 const char *g = "string";
10301 ccp = &g + (g ? g-g : 0);
10302 /* HPUX 7.0 cc rejects these. */
10305 ccp = (char const *const *) p;
10306 { /* SCO 3.2v4 cc rejects this. */
10308 char const *s = 0 ? (char *) 0 : (char const *) 0;
10312 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10313 int x[] = {25, 17};
10314 const int *foo = &x[0];
10317 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10318 typedef const int *iptr;
10322 { /* AIX XL C 1.02.0.0 rejects this saying
10323 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10324 struct s { int j; const int *ap[3]; };
10325 struct s *b; b->j = 5;
10327 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10328 const int foo = 10;
10333 if { (eval echo configure
:10334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10337 echo "configure: failed program was:" >&5
10338 cat conftest.
$ac_ext >&5
10345 echo "$ac_t""$ac_cv_c_const" 1>&6
10346 if test $ac_cv_c_const = no
; then
10347 cat >> confdefs.h
<<\EOF
10353 echo $ac_n "checking for inline""... $ac_c" 1>&6
10354 echo "configure:10355: checking for inline" >&5
10355 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10356 echo $ac_n "(cached) $ac_c" 1>&6
10359 for ac_kw
in inline __inline__ __inline
; do
10360 cat > conftest.
$ac_ext <<EOF
10361 #line 10362 "configure"
10362 #include "confdefs.h"
10368 if { (eval echo configure
:10369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10370 ac_cv_c_inline
=$ac_kw; break
10372 echo "configure: failed program was:" >&5
10373 cat conftest.
$ac_ext >&5
10380 echo "$ac_t""$ac_cv_c_inline" 1>&6
10381 case "$ac_cv_c_inline" in
10383 no
) cat >> confdefs.h
<<\EOF
10387 *) cat >> confdefs.h
<<EOF
10388 #define inline $ac_cv_c_inline
10394 echo $ac_n "checking size of char""... $ac_c" 1>&6
10395 echo "configure:10396: checking size of char" >&5
10396 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10397 echo $ac_n "(cached) $ac_c" 1>&6
10399 if test "$cross_compiling" = yes; then
10400 ac_cv_sizeof_char
=1
10402 cat > conftest.
$ac_ext <<EOF
10403 #line 10404 "configure"
10404 #include "confdefs.h"
10406 #include <sys/types.h>
10409 FILE *f=fopen("conftestval", "w");
10411 fprintf(f, "%d\n", sizeof(char));
10415 if { (eval echo configure
:10416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10417 ac_cv_sizeof_char
=`cat conftestval`
10419 echo "configure: failed program was:" >&5
10420 cat conftest.
$ac_ext >&5
10422 ac_cv_sizeof_char
=0
10428 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10429 cat >> confdefs.h
<<EOF
10430 #define SIZEOF_CHAR $ac_cv_sizeof_char
10434 echo $ac_n "checking size of short""... $ac_c" 1>&6
10435 echo "configure:10436: checking size of short" >&5
10436 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10437 echo $ac_n "(cached) $ac_c" 1>&6
10439 if test "$cross_compiling" = yes; then
10440 ac_cv_sizeof_short
=2
10442 cat > conftest.
$ac_ext <<EOF
10443 #line 10444 "configure"
10444 #include "confdefs.h"
10446 #include <sys/types.h>
10449 FILE *f=fopen("conftestval", "w");
10451 fprintf(f, "%d\n", sizeof(short));
10455 if { (eval echo configure
:10456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10457 ac_cv_sizeof_short
=`cat conftestval`
10459 echo "configure: failed program was:" >&5
10460 cat conftest.
$ac_ext >&5
10462 ac_cv_sizeof_short
=0
10468 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10469 cat >> confdefs.h
<<EOF
10470 #define SIZEOF_SHORT $ac_cv_sizeof_short
10474 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10475 echo "configure:10476: checking size of void *" >&5
10476 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10477 echo $ac_n "(cached) $ac_c" 1>&6
10479 if test "$cross_compiling" = yes; then
10480 ac_cv_sizeof_void_p
=4
10482 cat > conftest.
$ac_ext <<EOF
10483 #line 10484 "configure"
10484 #include "confdefs.h"
10486 #include <sys/types.h>
10489 FILE *f=fopen("conftestval", "w");
10491 fprintf(f, "%d\n", sizeof(void *));
10495 if { (eval echo configure
:10496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10497 ac_cv_sizeof_void_p
=`cat conftestval`
10499 echo "configure: failed program was:" >&5
10500 cat conftest.
$ac_ext >&5
10502 ac_cv_sizeof_void_p
=0
10508 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10509 cat >> confdefs.h
<<EOF
10510 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10514 echo $ac_n "checking size of int""... $ac_c" 1>&6
10515 echo "configure:10516: checking size of int" >&5
10516 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10517 echo $ac_n "(cached) $ac_c" 1>&6
10519 if test "$cross_compiling" = yes; then
10522 cat > conftest.
$ac_ext <<EOF
10523 #line 10524 "configure"
10524 #include "confdefs.h"
10526 #include <sys/types.h>
10529 FILE *f=fopen("conftestval", "w");
10531 fprintf(f, "%d\n", sizeof(int));
10535 if { (eval echo configure
:10536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10537 ac_cv_sizeof_int
=`cat conftestval`
10539 echo "configure: failed program was:" >&5
10540 cat conftest.
$ac_ext >&5
10548 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10549 cat >> confdefs.h
<<EOF
10550 #define SIZEOF_INT $ac_cv_sizeof_int
10554 echo $ac_n "checking size of long""... $ac_c" 1>&6
10555 echo "configure:10556: checking size of long" >&5
10556 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10557 echo $ac_n "(cached) $ac_c" 1>&6
10559 if test "$cross_compiling" = yes; then
10560 ac_cv_sizeof_long
=4
10562 cat > conftest.
$ac_ext <<EOF
10563 #line 10564 "configure"
10564 #include "confdefs.h"
10566 #include <sys/types.h>
10569 FILE *f=fopen("conftestval", "w");
10571 fprintf(f, "%d\n", sizeof(long));
10575 if { (eval echo configure
:10576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10577 ac_cv_sizeof_long
=`cat conftestval`
10579 echo "configure: failed program was:" >&5
10580 cat conftest.
$ac_ext >&5
10582 ac_cv_sizeof_long
=0
10588 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10589 cat >> confdefs.h
<<EOF
10590 #define SIZEOF_LONG $ac_cv_sizeof_long
10597 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10598 echo "configure:10599: checking size of long long" >&5
10599 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10600 echo $ac_n "(cached) $ac_c" 1>&6
10602 if test "$cross_compiling" = yes; then
10603 ac_cv_sizeof_long_long
=8
10605 cat > conftest.
$ac_ext <<EOF
10606 #line 10607 "configure"
10607 #include "confdefs.h"
10609 #include <sys/types.h>
10612 FILE *f=fopen("conftestval", "w");
10614 fprintf(f, "%d\n", sizeof(long long));
10618 if { (eval echo configure
:10619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10620 ac_cv_sizeof_long_long
=`cat conftestval`
10622 echo "configure: failed program was:" >&5
10623 cat conftest.
$ac_ext >&5
10625 ac_cv_sizeof_long_long
=0
10631 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10632 cat >> confdefs.h
<<EOF
10633 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10639 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10640 echo "configure:10641: checking size of long long" >&5
10641 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10642 echo $ac_n "(cached) $ac_c" 1>&6
10644 if test "$cross_compiling" = yes; then
10645 ac_cv_sizeof_long_long
=0
10647 cat > conftest.
$ac_ext <<EOF
10648 #line 10649 "configure"
10649 #include "confdefs.h"
10651 #include <sys/types.h>
10654 FILE *f=fopen("conftestval", "w");
10656 fprintf(f, "%d\n", sizeof(long long));
10660 if { (eval echo configure
:10661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10662 ac_cv_sizeof_long_long
=`cat conftestval`
10664 echo "configure: failed program was:" >&5
10665 cat conftest.
$ac_ext >&5
10667 ac_cv_sizeof_long_long
=0
10673 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10674 cat >> confdefs.h
<<EOF
10675 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10679 if test "$ac_cv_sizeof_long_long" != "0"; then
10680 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
10684 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10685 echo "configure:10686: checking size of long long" >&5
10686 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10687 echo $ac_n "(cached) $ac_c" 1>&6
10689 if test "$cross_compiling" = yes; then
10690 ac_cv_sizeof_long_long
=0
10692 cat > conftest.
$ac_ext <<EOF
10693 #line 10694 "configure"
10694 #include "confdefs.h"
10696 #include <sys/types.h>
10699 FILE *f=fopen("conftestval", "w");
10701 fprintf(f, "%d\n", sizeof(long long));
10705 if { (eval echo configure
:10706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10707 ac_cv_sizeof_long_long
=`cat conftestval`
10709 echo "configure: failed program was:" >&5
10710 cat conftest.
$ac_ext >&5
10712 ac_cv_sizeof_long_long
=0
10718 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10719 cat >> confdefs.h
<<EOF
10720 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10726 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10727 echo "configure:10728: checking size of wchar_t" >&5
10728 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10729 echo $ac_n "(cached) $ac_c" 1>&6
10732 if test "$cross_compiling" = yes; then
10736 wx_cv_sizeof_wchar_t
=0
10739 wx_cv_sizeof_wchar_t
=4
10745 cat > conftest.
$ac_ext <<EOF
10746 #line 10747 "configure"
10747 #include "confdefs.h"
10749 /* DJGPP only has fake wchar_t: */
10751 # error "fake wchar_t"
10753 #ifdef HAVE_WCHAR_H
10755 # include <stddef.h>
10757 # include <wchar.h>
10759 #ifdef HAVE_STDLIB_H
10760 # include <stdlib.h>
10765 FILE *f=fopen("conftestval", "w");
10767 fprintf(f, "%i", sizeof(wchar_t));
10772 if { (eval echo configure
:10773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10774 wx_cv_sizeof_wchar_t
=`cat conftestval`
10776 echo "configure: failed program was:" >&5
10777 cat conftest.
$ac_ext >&5
10779 wx_cv_sizeof_wchar_t
=0
10787 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10789 cat >> confdefs.h
<<EOF
10790 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10794 # Check whether --enable-largefile or --disable-largefile was given.
10795 if test "${enable_largefile+set}" = set; then
10796 enableval
="$enable_largefile"
10800 if test "$enable_largefile" != no
; then
10803 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10804 echo "configure:10805: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10805 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10806 echo $ac_n "(cached) $ac_c" 1>&6
10809 cat > conftest.
$ac_ext <<EOF
10810 #line 10811 "configure"
10811 #include "confdefs.h"
10812 #define _FILE_OFFSET_BITS 64
10813 #include <sys/types.h>
10816 unsigned int field: sizeof(off_t) == 8;
10821 if { (eval echo configure
:10822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10823 ac_cv_sys_file_offset_bits
=64
10825 echo "configure: failed program was:" >&5
10826 cat conftest.
$ac_ext >&5
10828 ac_cv_sys_file_offset_bits
=no
10835 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10837 if test "$ac_cv_sys_file_offset_bits" != no
; then
10839 cat >> confdefs.h
<<EOF
10840 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10845 if test "x$wx_largefile" != "xyes"; then
10847 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10848 echo "configure:10849: checking for _LARGE_FILES value needed for large files" >&5
10849 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10850 echo $ac_n "(cached) $ac_c" 1>&6
10853 cat > conftest.
$ac_ext <<EOF
10854 #line 10855 "configure"
10855 #include "confdefs.h"
10856 #define _LARGE_FILES 1
10857 #include <sys/types.h>
10860 unsigned int field: sizeof(off_t) == 8;
10865 if { (eval echo configure
:10866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10867 ac_cv_sys_large_files
=1
10869 echo "configure: failed program was:" >&5
10870 cat conftest.
$ac_ext >&5
10872 ac_cv_sys_large_files
=no
10879 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10881 if test "$ac_cv_sys_large_files" != no
; then
10883 cat >> confdefs.h
<<EOF
10884 #define _LARGE_FILES $ac_cv_sys_large_files
10891 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10892 echo "configure:10893: checking if large file support is available" >&5
10893 if test "x$wx_largefile" = "xyes"; then
10894 cat >> confdefs.h
<<\EOF
10895 #define HAVE_LARGEFILE_SUPPORT 1
10899 echo "$ac_t""$wx_largefile" 1>&6
10903 if test "x$wx_largefile" = "xyes"; then
10904 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
10905 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
10907 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
10909 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
10912 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10913 echo "configure:10914: checking whether byte ordering is bigendian" >&5
10914 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10915 echo $ac_n "(cached) $ac_c" 1>&6
10917 ac_cv_c_bigendian
=unknown
10918 # See if sys/param.h defines the BYTE_ORDER macro.
10919 cat > conftest.
$ac_ext <<EOF
10920 #line 10921 "configure"
10921 #include "confdefs.h"
10922 #include <sys/types.h>
10923 #include <sys/param.h>
10926 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10927 bogus endian macros
10931 if { (eval echo configure
:10932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10933 # It does; now see whether it defined to BIG_ENDIAN or not.
10934 cat > conftest.
$ac_ext <<EOF
10935 #line 10936 "configure"
10936 #include "confdefs.h"
10937 #include <sys/types.h>
10938 #include <sys/param.h>
10941 #if BYTE_ORDER != BIG_ENDIAN
10946 if { (eval echo configure
:10947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10948 ac_cv_c_bigendian
=yes
10950 echo "configure: failed program was:" >&5
10951 cat conftest.
$ac_ext >&5
10953 ac_cv_c_bigendian
=no
10957 echo "configure: failed program was:" >&5
10958 cat conftest.
$ac_ext >&5
10961 if test $ac_cv_c_bigendian = unknown
; then
10962 if test "$cross_compiling" = yes; then
10963 ac_cv_c_bigendian
=unknown
10965 cat > conftest.
$ac_ext <<EOF
10966 #line 10967 "configure"
10967 #include "confdefs.h"
10969 /* Are we little or big endian? From Harbison&Steele. */
10973 char c[sizeof (long)];
10976 exit (u.c[sizeof (long) - 1] == 1);
10979 if { (eval echo configure
:10980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10981 ac_cv_c_bigendian
=no
10983 echo "configure: failed program was:" >&5
10984 cat conftest.
$ac_ext >&5
10986 ac_cv_c_bigendian
=yes
10994 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10995 if test $ac_cv_c_bigendian = unknown
; then
10996 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
10998 if test $ac_cv_c_bigendian = yes; then
10999 cat >> confdefs.h
<<\EOF
11000 #define WORDS_BIGENDIAN 1
11006 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
11007 echo "configure:11008: checking how to run the C++ preprocessor" >&5
11008 if test -z "$CXXCPP"; then
11009 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
11010 echo $ac_n "(cached) $ac_c" 1>&6
11013 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11014 ac_cpp
='$CXXCPP $CPPFLAGS'
11015 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11016 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11017 cross_compiling
=$ac_cv_prog_cxx_cross
11018 CXXCPP
="${CXX-g++} -E"
11019 cat > conftest.
$ac_ext <<EOF
11020 #line 11021 "configure"
11021 #include "confdefs.h"
11022 #include <stdlib.h>
11024 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11025 { (eval echo configure
:11026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11026 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11027 if test -z "$ac_err"; then
11031 echo "configure: failed program was:" >&5
11032 cat conftest.
$ac_ext >&5
11037 ac_cv_prog_CXXCPP
="$CXXCPP"
11039 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11040 ac_cpp
='$CXXCPP $CPPFLAGS'
11041 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11042 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11043 cross_compiling
=$ac_cv_prog_cxx_cross
11046 CXXCPP
="$ac_cv_prog_CXXCPP"
11047 echo "$ac_t""$CXXCPP" 1>&6
11050 if test "$cross_compiling" = "yes"; then
11051 cat >> confdefs.h
<<\EOF
11052 #define wxUSE_IOSTREAMH 1
11058 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11059 ac_cpp
='$CXXCPP $CPPFLAGS'
11060 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11061 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11062 cross_compiling
=$ac_cv_prog_cxx_cross
11065 for ac_hdr
in iostream
11067 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11068 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11069 echo "configure:11070: checking for $ac_hdr" >&5
11070 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11071 echo $ac_n "(cached) $ac_c" 1>&6
11073 cat > conftest.
$ac_ext <<EOF
11074 #line 11075 "configure"
11075 #include "confdefs.h"
11078 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11079 { (eval echo configure
:11080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11080 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11081 if test -z "$ac_err"; then
11083 eval "ac_cv_header_$ac_safe=yes"
11086 echo "configure: failed program was:" >&5
11087 cat conftest.
$ac_ext >&5
11089 eval "ac_cv_header_$ac_safe=no"
11093 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11094 echo "$ac_t""yes" 1>&6
11095 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11096 cat >> confdefs.h
<<EOF
11097 #define $ac_tr_hdr 1
11101 echo "$ac_t""no" 1>&6
11106 if test "$ac_cv_header_iostream" = "yes" ; then
11109 cat >> confdefs.h
<<\EOF
11110 #define wxUSE_IOSTREAMH 1
11116 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11117 ac_cpp
='$CPP $CPPFLAGS'
11118 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11119 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11120 cross_compiling
=$ac_cv_prog_cc_cross
11126 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
11127 echo "configure:11128: checking if C++ compiler supports bool" >&5
11128 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
11129 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
11141 cat > conftest.
$ac_ext <<EOF
11142 #line 11143 "configure"
11143 #include "confdefs.h"
11154 if { (eval echo configure
:11155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11160 echo "configure: failed program was:" >&5
11161 cat conftest.
$ac_ext >&5
11171 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11172 ac_cpp
='$CPP $CPPFLAGS'
11173 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11174 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11175 cross_compiling
=$ac_cv_prog_cc_cross
11180 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
11182 if test "$wx_cv_cpp_bool" = "yes"; then
11183 cat >> confdefs.h
<<\EOF
11184 #define HAVE_BOOL 1
11191 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
11192 echo "configure:11193: checking if C++ compiler supports the explicit keyword" >&5
11193 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
11194 echo $ac_n "(cached) $ac_c" 1>&6
11199 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11200 ac_cpp
='$CXXCPP $CPPFLAGS'
11201 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11202 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11203 cross_compiling
=$ac_cv_prog_cxx_cross
11206 cat > conftest.
$ac_ext <<EOF
11207 #line 11208 "configure"
11208 #include "confdefs.h"
11210 class Foo { public: explicit Foo(int) {} };
11218 if { (eval echo configure
:11219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11221 cat > conftest.
$ac_ext <<EOF
11222 #line 11223 "configure"
11223 #include "confdefs.h"
11225 class Foo { public: explicit Foo(int) {} };
11226 static void TakeFoo(const Foo& foo) { }
11235 if { (eval echo configure
:11236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11239 echo "configure: failed program was:" >&5
11240 cat conftest.
$ac_ext >&5
11248 echo "configure: failed program was:" >&5
11249 cat conftest.
$ac_ext >&5
11257 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11258 ac_cpp
='$CPP $CPPFLAGS'
11259 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11260 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11261 cross_compiling
=$ac_cv_prog_cc_cross
11266 echo "$ac_t""$wx_cv_explicit" 1>&6
11268 if test "$wx_cv_explicit" = "yes"; then
11269 cat >> confdefs.h
<<\EOF
11270 #define HAVE_EXPLICIT 1
11278 /usr/local/include \
11280 /usr/Motif-1.2/include \
11281 /usr/Motif-2.1/include \
11283 /usr/include/Motif1.2 \
11284 /opt/xpm/include/X11 \
11285 /opt/GBxpm/include/ \
11286 /opt/GBxpm/X11/include/ \
11288 /usr/Motif1.2/include \
11290 /usr/openwin/include \
11294 /usr/X11R6/include \
11295 /usr/X11R6.4/include \
11296 /usr/X11R5/include \
11297 /usr/X11R4/include \
11299 /usr/include/X11R6 \
11300 /usr/include/X11R5 \
11301 /usr/include/X11R4 \
11303 /usr/local/X11R6/include \
11304 /usr/local/X11R5/include \
11305 /usr/local/X11R4/include \
11307 /usr/local/include/X11R6 \
11308 /usr/local/include/X11R5 \
11309 /usr/local/include/X11R4 \
11313 /usr/local/X11/include \
11314 /usr/local/include/X11 \
11316 /usr/X386/include \
11317 /usr/x386/include \
11318 /usr/XFree86/include/X11 \
11320 X:/XFree86/include \
11321 X:/XFree86/include/X11 \
11324 /usr/local/include/gtk \
11325 /usr/include/glib \
11326 /usr/local/include/glib \
11329 /usr/local/include/qt \
11331 /usr/include/windows \
11332 /usr/include/wine \
11333 /usr/local/include/wine \
11335 /usr/unsupported/include \
11336 /usr/athena/include \
11337 /usr/local/x11r5/include \
11338 /usr/lpp/Xamples/include \
11340 /usr/openwin/share/include"
11342 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
11345 cat > confcache
<<\EOF
11346 # This file is a shell script that caches the results of configure
11347 # tests run on this system so they can be shared between configure
11348 # scripts and configure runs. It is not useful on other systems.
11349 # If it contains results you don't want to keep, you may remove or edit it.
11351 # By default, configure uses ./config.cache as the cache file,
11352 # creating it if it does not exist already. You can give configure
11353 # the --cache-file=FILE option to use a different cache file; that is
11354 # what configure does when it calls configure scripts in
11355 # subdirectories, so they share the cache.
11356 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11357 # config.status only pays attention to the cache file if you give it the
11358 # --recheck option to rerun configure.
11361 # The following way of writing the cache mishandles newlines in values,
11362 # but we know of no workaround that is simple, portable, and efficient.
11363 # So, don't put newlines in cache variables' values.
11364 # Ultrix sh set writes to stderr and can't be redirected directly,
11365 # and sets the high bit in the cache file unless we assign to the vars.
11367 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11369 # `set' does not quote correctly, so add quotes (double-quote substitution
11370 # turns \\\\ into \\, and sed turns \\ into \).
11372 -e "s/'/'\\\\''/g" \
11373 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11376 # `set' quotes correctly as required by POSIX, so do not add quotes.
11377 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11380 if cmp -s $cache_file confcache
; then
11383 if test -w $cache_file; then
11384 echo "updating cache $cache_file"
11385 cat confcache
> $cache_file
11387 echo "not updating unwritable cache $cache_file"
11393 if test "$USE_LINUX" = 1; then
11394 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
11395 echo "configure:11396: checking for glibc 2.1 or later" >&5
11396 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
11397 echo $ac_n "(cached) $ac_c" 1>&6
11400 cat > conftest.
$ac_ext <<EOF
11401 #line 11402 "configure"
11402 #include "confdefs.h"
11403 #include <features.h>
11406 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
11407 #error not glibc2.1
11412 if { (eval echo configure
:11413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11415 wx_cv_lib_glibc21
=yes
11418 echo "configure: failed program was:" >&5
11419 cat conftest.
$ac_ext >&5
11422 wx_cv_lib_glibc21
=no
11430 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11431 if test "$wx_cv_lib_glibc21" = "yes"; then
11432 cat >> confdefs.h
<<\EOF
11433 #define wxHAVE_GLIBC2 1
11439 if test "x$wx_cv_lib_glibc21" = "xyes"; then
11440 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
11441 cat >> confdefs.h
<<\EOF
11442 #define _GNU_SOURCE 1
11451 if test "$wxUSE_REGEX" != "no"; then
11452 cat >> confdefs.h
<<\EOF
11453 #define wxUSE_REGEX 1
11457 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11458 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11459 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11460 echo "configure:11461: checking for regex.h" >&5
11461 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11462 echo $ac_n "(cached) $ac_c" 1>&6
11464 cat > conftest.
$ac_ext <<EOF
11465 #line 11466 "configure"
11466 #include "confdefs.h"
11469 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11470 { (eval echo configure
:11471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11471 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11472 if test -z "$ac_err"; then
11474 eval "ac_cv_header_$ac_safe=yes"
11477 echo "configure: failed program was:" >&5
11478 cat conftest.
$ac_ext >&5
11480 eval "ac_cv_header_$ac_safe=no"
11484 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11485 echo "$ac_t""yes" 1>&6
11486 for ac_func
in regcomp
11488 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11489 echo "configure:11490: checking for $ac_func" >&5
11490 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11491 echo $ac_n "(cached) $ac_c" 1>&6
11493 cat > conftest.
$ac_ext <<EOF
11494 #line 11495 "configure"
11495 #include "confdefs.h"
11496 /* System header to define __stub macros and hopefully few prototypes,
11497 which can conflict with char $ac_func(); below. */
11498 #include <assert.h>
11499 /* Override any gcc2 internal prototype to avoid an error. */
11500 /* We use char because int might match the return type of a gcc2
11501 builtin and then its argument prototype would still apply. */
11506 /* The GNU C library defines this for functions which it implements
11507 to always fail with ENOSYS. Some functions are actually named
11508 something starting with __ and the normal name is an alias. */
11509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11517 if { (eval echo configure
:11518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11519 eval "ac_cv_func_$ac_func=yes"
11521 echo "configure: failed program was:" >&5
11522 cat conftest.
$ac_ext >&5
11524 eval "ac_cv_func_$ac_func=no"
11529 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11530 echo "$ac_t""yes" 1>&6
11531 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11532 cat >> confdefs.h
<<EOF
11533 #define $ac_tr_func 1
11537 echo "$ac_t""no" 1>&6
11542 echo "$ac_t""no" 1>&6
11546 if test "x$ac_cv_func_regcomp" != "xyes"; then
11547 if test "$wxUSE_REGEX" = "sys" ; then
11548 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11550 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11551 wxUSE_REGEX
=builtin
11558 if test "$wxUSE_REGEX" = "builtin" ; then
11559 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11566 if test "$wxUSE_ZLIB" != "no" ; then
11567 cat >> confdefs.h
<<\EOF
11568 #define wxUSE_ZLIB 1
11572 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11573 echo $ac_n "checking for zlib.h >= 1.1.4""... $ac_c" 1>&6
11574 echo "configure:11575: checking for zlib.h >= 1.1.4" >&5
11575 if eval "test \"`echo '$''{'ac_cv_header_zlib_h'+set}'`\" = set"; then
11576 echo $ac_n "(cached) $ac_c" 1>&6
11578 if test "$cross_compiling" = yes; then
11579 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11580 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11581 echo "configure:11582: checking for zlib.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
11609 echo "$ac_t""no" 1>&6
11614 cat > conftest.
$ac_ext <<EOF
11615 #line 11616 "configure"
11616 #include "confdefs.h"
11624 FILE *f=fopen("conftestval", "w");
11627 ZLIB_VERSION[0] == '1' &&
11628 (ZLIB_VERSION[2] > '1' ||
11629 (ZLIB_VERSION[2] == '1' &&
11630 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
11636 if { (eval echo configure
:11637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11638 ac_cv_header_zlib_h
=`cat conftestval`
11640 echo "configure: failed program was:" >&5
11641 cat conftest.
$ac_ext >&5
11643 ac_cv_header_zlib_h
=no
11651 echo "$ac_t""$ac_cv_header_zlib_h" 1>&6
11653 if test "$ac_cv_header_zlib_h" = "yes"; then
11654 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11655 echo "configure:11656: checking for deflate in -lz" >&5
11656 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11657 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11658 echo $ac_n "(cached) $ac_c" 1>&6
11660 ac_save_LIBS
="$LIBS"
11662 cat > conftest.
$ac_ext <<EOF
11663 #line 11664 "configure"
11664 #include "confdefs.h"
11665 /* Override any gcc2 internal prototype to avoid an error. */
11666 /* We use char because int might match the return type of a gcc2
11667 builtin and then its argument prototype would still apply. */
11674 if { (eval echo configure
:11675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11676 eval "ac_cv_lib_$ac_lib_var=yes"
11678 echo "configure: failed program was:" >&5
11679 cat conftest.
$ac_ext >&5
11681 eval "ac_cv_lib_$ac_lib_var=no"
11684 LIBS
="$ac_save_LIBS"
11687 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11688 echo "$ac_t""yes" 1>&6
11691 echo "$ac_t""no" 1>&6
11696 if test "x$ZLIB_LINK" = "x" ; then
11697 if test "$wxUSE_ZLIB" = "sys" ; then
11698 { echo "configure: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11700 echo "configure: warning: zlib library not found or too old, will use built-in instead" 1>&2
11708 if test "$wxUSE_ZLIB" = "builtin" ; then
11709 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11716 if test "$wxUSE_LIBPNG" != "no" ; then
11717 cat >> confdefs.h
<<\EOF
11718 #define wxUSE_LIBPNG 1
11722 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11723 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11727 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11728 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11729 wxUSE_LIBPNG
=builtin
11732 if test "$wxUSE_MGL" != 1 ; then
11733 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11734 echo $ac_n "checking for png.h > 0.90""... $ac_c" 1>&6
11735 echo "configure:11736: checking for png.h > 0.90" >&5
11736 if eval "test \"`echo '$''{'ac_cv_header_png_h'+set}'`\" = set"; then
11737 echo $ac_n "(cached) $ac_c" 1>&6
11739 if test "$cross_compiling" = yes; then
11740 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11741 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11742 echo "configure:11743: checking for png.h" >&5
11743 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11744 echo $ac_n "(cached) $ac_c" 1>&6
11746 cat > conftest.
$ac_ext <<EOF
11747 #line 11748 "configure"
11748 #include "confdefs.h"
11751 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11752 { (eval echo configure
:11753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11753 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11754 if test -z "$ac_err"; then
11756 eval "ac_cv_header_$ac_safe=yes"
11759 echo "configure: failed program was:" >&5
11760 cat conftest.
$ac_ext >&5
11762 eval "ac_cv_header_$ac_safe=no"
11766 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11767 echo "$ac_t""yes" 1>&6
11770 echo "$ac_t""no" 1>&6
11775 cat > conftest.
$ac_ext <<EOF
11776 #line 11777 "configure"
11777 #include "confdefs.h"
11784 FILE *f=fopen("conftestval", "w");
11787 PNG_LIBPNG_VER > 90 ? "yes" : "no");
11792 if { (eval echo configure
:11793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11794 ac_cv_header_png_h
=`cat conftestval`
11796 echo "configure: failed program was:" >&5
11797 cat conftest.
$ac_ext >&5
11799 ac_cv_header_png_h
=no
11807 echo "$ac_t""$ac_cv_header_png_h" 1>&6
11809 if test "$ac_cv_header_png_h" = "yes"; then
11810 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11811 echo "configure:11812: checking for png_check_sig in -lpng" >&5
11812 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11813 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11814 echo $ac_n "(cached) $ac_c" 1>&6
11816 ac_save_LIBS
="$LIBS"
11817 LIBS
="-lpng -lz -lm $LIBS"
11818 cat > conftest.
$ac_ext <<EOF
11819 #line 11820 "configure"
11820 #include "confdefs.h"
11821 /* Override any gcc2 internal prototype to avoid an error. */
11822 /* We use char because int might match the return type of a gcc2
11823 builtin and then its argument prototype would still apply. */
11824 char png_check_sig();
11830 if { (eval echo configure
:11831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11832 eval "ac_cv_lib_$ac_lib_var=yes"
11834 echo "configure: failed program was:" >&5
11835 cat conftest.
$ac_ext >&5
11837 eval "ac_cv_lib_$ac_lib_var=no"
11840 LIBS
="$ac_save_LIBS"
11843 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11844 echo "$ac_t""yes" 1>&6
11847 echo "$ac_t""no" 1>&6
11852 if test "x$PNG_LINK" = "x" ; then
11853 if test "$wxUSE_LIBPNG" = "sys" ; then
11854 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11856 echo "configure: warning: png library not found or too old, will use built-in instead" 1>&2
11857 wxUSE_LIBPNG
=builtin
11865 if test "$wxUSE_LIBPNG" = "builtin" ; then
11866 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11869 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11875 if test "$wxUSE_LIBJPEG" != "no" ; then
11876 cat >> confdefs.h
<<\EOF
11877 #define wxUSE_LIBJPEG 1
11881 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11882 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11886 if test "$wxUSE_MGL" != 1 ; then
11887 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11888 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11889 echo "configure:11890: checking for jpeglib.h" >&5
11890 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11891 echo $ac_n "(cached) $ac_c" 1>&6
11893 cat > conftest.
$ac_ext <<EOF
11894 #line 11895 "configure"
11895 #include "confdefs.h"
11897 #undef HAVE_STDLIB_H
11899 #include <jpeglib.h>
11906 if { (eval echo configure
:11907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11908 ac_cv_header_jpeglib_h
=yes
11910 echo "configure: failed program was:" >&5
11911 cat conftest.
$ac_ext >&5
11913 ac_cv_header_jpeglib_h
=no
11920 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
11922 if test "$ac_cv_header_jpeglib_h" = "yes"; then
11923 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11924 echo "configure:11925: checking for jpeg_read_header in -ljpeg" >&5
11925 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11926 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11927 echo $ac_n "(cached) $ac_c" 1>&6
11929 ac_save_LIBS
="$LIBS"
11930 LIBS
="-ljpeg $LIBS"
11931 cat > conftest.
$ac_ext <<EOF
11932 #line 11933 "configure"
11933 #include "confdefs.h"
11934 /* Override any gcc2 internal prototype to avoid an error. */
11935 /* We use char because int might match the return type of a gcc2
11936 builtin and then its argument prototype would still apply. */
11937 char jpeg_read_header();
11943 if { (eval echo configure
:11944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11945 eval "ac_cv_lib_$ac_lib_var=yes"
11947 echo "configure: failed program was:" >&5
11948 cat conftest.
$ac_ext >&5
11950 eval "ac_cv_lib_$ac_lib_var=no"
11953 LIBS
="$ac_save_LIBS"
11956 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11957 echo "$ac_t""yes" 1>&6
11958 JPEG_LINK
=" -ljpeg"
11960 echo "$ac_t""no" 1>&6
11965 if test "x$JPEG_LINK" = "x" ; then
11966 if test "$wxUSE_LIBJPEG" = "sys" ; then
11967 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
11969 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
11970 wxUSE_LIBJPEG
=builtin
11978 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11979 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11986 TIFF_PREREQ_LINKS
=-lm
11987 if test "$wxUSE_LIBTIFF" != "no" ; then
11988 cat >> confdefs.h
<<\EOF
11989 #define wxUSE_LIBTIFF 1
11993 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
11994 if test "$wxUSE_LIBJPEG" = "sys"; then
11995 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
11997 if test "$wxUSE_ZLIB" = "sys"; then
11998 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
12000 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
12001 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
12002 echo "configure:12003: checking for tiffio.h" >&5
12003 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12004 echo $ac_n "(cached) $ac_c" 1>&6
12006 cat > conftest.
$ac_ext <<EOF
12007 #line 12008 "configure"
12008 #include "confdefs.h"
12009 #include <tiffio.h>
12011 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12012 { (eval echo configure
:12013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12013 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12014 if test -z "$ac_err"; then
12016 eval "ac_cv_header_$ac_safe=yes"
12019 echo "configure: failed program was:" >&5
12020 cat conftest.
$ac_ext >&5
12022 eval "ac_cv_header_$ac_safe=no"
12026 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12027 echo "$ac_t""yes" 1>&6
12028 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
12029 echo "configure:12030: checking for TIFFError in -ltiff" >&5
12030 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
12031 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12032 echo $ac_n "(cached) $ac_c" 1>&6
12034 ac_save_LIBS
="$LIBS"
12035 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
12036 cat > conftest.
$ac_ext <<EOF
12037 #line 12038 "configure"
12038 #include "confdefs.h"
12039 /* Override any gcc2 internal prototype to avoid an error. */
12040 /* We use char because int might match the return type of a gcc2
12041 builtin and then its argument prototype would still apply. */
12048 if { (eval echo configure
:12049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12050 eval "ac_cv_lib_$ac_lib_var=yes"
12052 echo "configure: failed program was:" >&5
12053 cat conftest.
$ac_ext >&5
12055 eval "ac_cv_lib_$ac_lib_var=no"
12058 LIBS
="$ac_save_LIBS"
12061 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12062 echo "$ac_t""yes" 1>&6
12063 TIFF_LINK
=" -ltiff"
12065 echo "$ac_t""no" 1>&6
12070 echo "$ac_t""no" 1>&6
12074 if test "x$TIFF_LINK" = "x" ; then
12075 if test "$wxUSE_LIBTIFF" = "sys" ; then
12076 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
12078 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
12079 wxUSE_LIBTIFF
=builtin
12086 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12087 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
12099 if test "$USE_WIN32" = 1 ; then
12100 for ac_hdr
in w32api.h
12102 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12103 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12104 echo "configure:12105: checking for $ac_hdr" >&5
12105 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12106 echo $ac_n "(cached) $ac_c" 1>&6
12108 cat > conftest.
$ac_ext <<EOF
12109 #line 12110 "configure"
12110 #include "confdefs.h"
12113 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12114 { (eval echo configure
:12115: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12115 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12116 if test -z "$ac_err"; then
12118 eval "ac_cv_header_$ac_safe=yes"
12121 echo "configure: failed program was:" >&5
12122 cat conftest.
$ac_ext >&5
12124 eval "ac_cv_header_$ac_safe=no"
12128 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12129 echo "$ac_t""yes" 1>&6
12130 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12131 cat >> confdefs.h
<<EOF
12132 #define $ac_tr_hdr 1
12136 echo "$ac_t""no" 1>&6
12140 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
12141 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12142 echo "configure:12143: checking for windows.h" >&5
12143 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12144 echo $ac_n "(cached) $ac_c" 1>&6
12146 cat > conftest.
$ac_ext <<EOF
12147 #line 12148 "configure"
12148 #include "confdefs.h"
12149 #include <windows.h>
12151 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12152 { (eval echo configure
:12153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12153 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12154 if test -z "$ac_err"; then
12156 eval "ac_cv_header_$ac_safe=yes"
12159 echo "configure: failed program was:" >&5
12160 cat conftest.
$ac_ext >&5
12162 eval "ac_cv_header_$ac_safe=no"
12166 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12167 echo "$ac_t""yes" 1>&6
12170 echo "$ac_t""no" 1>&6
12172 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12177 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
12178 echo "configure:12179: checking if w32api has good enough MSIE support" >&5
12179 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
12180 echo $ac_n "(cached) $ac_c" 1>&6
12183 cat > conftest.
$ac_ext <<EOF
12184 #line 12185 "configure"
12185 #include "confdefs.h"
12186 #include <w32api.h>
12189 #define wxCHECK_W32API_VERSION( major, minor ) \
12190 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
12191 && ( ( __W32API_MAJOR_VERSION > (major) ) \
12192 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
12194 #if !wxCHECK_W32API_VERSION(1,1)
12195 #error You need w32api 1.1 or newer
12200 if { (eval echo configure
:12201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12203 wx_cv_w32api_win32_ie
=yes
12206 echo "configure: failed program was:" >&5
12207 cat conftest.
$ac_ext >&5
12210 wx_cv_w32api_win32_ie
=no
12217 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
12218 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
12219 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
12222 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
12226 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
12227 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
12230 if test "$wxUSE_ODBC" = "yes" ; then
12231 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
12234 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
12235 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
12237 WIN32INSTALL
=win32install
12240 if test "$USE_DARWIN" = 1; then
12241 if test "$wxUSE_PRECOMP" = "yes"; then
12242 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
12244 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
12248 if test "$wxUSE_GUI" = "yes"; then
12257 if test "$wxUSE_MSW" = 1 ; then
12263 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
12267 if test "$wxUSE_GTK" = 1; then
12268 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
12269 echo "configure:12270: checking for GTK+ version" >&5
12271 gtk_version_cached
=1
12272 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
12273 echo $ac_n "(cached) $ac_c" 1>&6
12276 gtk_version_cached
=0
12277 echo "$ac_t""" 1>&6
12280 if test "$wxUSE_THREADS" = "yes"; then
12281 GTK_MODULES
=gthread
12285 if test "x$wxUSE_GTK2" = "xyes"; then
12286 # Check whether --enable-gtktest or --disable-gtktest was given.
12287 if test "${enable_gtktest+set}" = set; then
12288 enableval
="$enable_gtktest"
12295 pkg_config_args
=gtk
+-2.0
12296 for module
in .
$GTK_MODULES
12300 pkg_config_args
="$pkg_config_args gthread-2.0"
12307 # Extract the first word of "pkg-config", so it can be a program name with args.
12308 set dummy pkg
-config; ac_word
=$2
12309 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12310 echo "configure:12311: checking for $ac_word" >&5
12311 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
12312 echo $ac_n "(cached) $ac_c" 1>&6
12314 case "$PKG_CONFIG" in
12316 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12319 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
12322 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12324 for ac_dir
in $ac_dummy; do
12325 test -z "$ac_dir" && ac_dir
=.
12326 if test -f $ac_dir/$ac_word; then
12327 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
12332 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12336 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12337 if test -n "$PKG_CONFIG"; then
12338 echo "$ac_t""$PKG_CONFIG" 1>&6
12340 echo "$ac_t""no" 1>&6
12344 if test x
$PKG_CONFIG != xno
; then
12345 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
12348 echo *** pkg
-config too old
; version
0.7 or better required.
12356 min_gtk_version
=2.0.0
12357 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
12358 echo "configure:12359: checking for GTK+ - version >= $min_gtk_version" >&5
12360 if test x
$PKG_CONFIG != xno
; then
12361 ## don't try to run the test against uninstalled libtool libs
12362 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12363 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
12367 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
12374 if test x
"$no_gtk" = x
; then
12375 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
12376 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
12377 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12378 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12379 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12380 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12381 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12382 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12383 if test "x$enable_gtktest" = "xyes" ; then
12384 ac_save_CFLAGS
="$CFLAGS"
12385 ac_save_LIBS
="$LIBS"
12386 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12387 LIBS
="$GTK_LIBS $LIBS"
12389 if test "$cross_compiling" = yes; then
12390 echo $ac_n "cross compiling; assumed OK... $ac_c"
12392 cat > conftest.
$ac_ext <<EOF
12393 #line 12394 "configure"
12394 #include "confdefs.h"
12396 #include <gtk/gtk.h>
12398 #include <stdlib.h>
12403 int major, minor, micro;
12406 system ("touch conf.gtktest");
12408 /* HP/UX 9 (%@#!) writes to sscanf strings */
12409 tmp_version = g_strdup("$min_gtk_version");
12410 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12411 printf("%s, bad version string\n", "$min_gtk_version");
12415 if ((gtk_major_version != $gtk_config_major_version) ||
12416 (gtk_minor_version != $gtk_config_minor_version) ||
12417 (gtk_micro_version != $gtk_config_micro_version))
12419 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12420 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12421 gtk_major_version, gtk_minor_version, gtk_micro_version);
12422 printf ("*** was found! If pkg-config was correct, then it is best\n");
12423 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12424 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12425 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12426 printf("*** required on your system.\n");
12427 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12428 printf("*** to point to the correct configuration files\n");
12430 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12431 (gtk_minor_version != GTK_MINOR_VERSION) ||
12432 (gtk_micro_version != GTK_MICRO_VERSION))
12434 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12435 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12436 printf("*** library (version %d.%d.%d)\n",
12437 gtk_major_version, gtk_minor_version, gtk_micro_version);
12441 if ((gtk_major_version > major) ||
12442 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12443 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12449 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12450 gtk_major_version, gtk_minor_version, gtk_micro_version);
12451 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12452 major, minor, micro);
12453 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12455 printf("*** If you have already installed a sufficiently new version, this error\n");
12456 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12457 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12458 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
12459 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12460 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12461 printf("*** so that the correct libraries are found at run-time))\n");
12468 if { (eval echo configure
:12469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12472 echo "configure: failed program was:" >&5
12473 cat conftest.
$ac_ext >&5
12480 CFLAGS
="$ac_save_CFLAGS"
12481 LIBS
="$ac_save_LIBS"
12484 if test "x$no_gtk" = x
; then
12485 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
12488 echo "$ac_t""no" 1>&6
12489 if test "$PKG_CONFIG" = "no" ; then
12490 echo "*** A new enough version of pkg-config was not found."
12491 echo "*** See http://pkgconfig.sourceforge.net"
12493 if test -f conf.gtktest
; then
12496 echo "*** Could not run GTK+ test program, checking why..."
12497 ac_save_CFLAGS
="$CFLAGS"
12498 ac_save_LIBS
="$LIBS"
12499 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12500 LIBS
="$LIBS $GTK_LIBS"
12501 cat > conftest.
$ac_ext <<EOF
12502 #line 12503 "configure"
12503 #include "confdefs.h"
12505 #include <gtk/gtk.h>
12509 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12512 if { (eval echo configure
:12513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12514 echo "*** The test program compiled, but did not run. This usually means"
12515 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
12516 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
12517 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12518 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12519 echo "*** is required on your system"
12521 echo "*** If you have an old version installed, it is best to remove it, although"
12522 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12524 echo "configure: failed program was:" >&5
12525 cat conftest.
$ac_ext >&5
12527 echo "*** The test program failed to compile or link. See the file config.log for the"
12528 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
12531 CFLAGS
="$ac_save_CFLAGS"
12532 LIBS
="$ac_save_LIBS"
12544 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12545 if test "${with_gtk_prefix+set}" = set; then
12546 withval
="$with_gtk_prefix"
12547 gtk_config_prefix
="$withval"
12549 gtk_config_prefix
=""
12552 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12553 if test "${with_gtk_exec_prefix+set}" = set; then
12554 withval
="$with_gtk_exec_prefix"
12555 gtk_config_exec_prefix
="$withval"
12557 gtk_config_exec_prefix
=""
12560 # Check whether --enable-gtktest or --disable-gtktest was given.
12561 if test "${enable_gtktest+set}" = set; then
12562 enableval
="$enable_gtktest"
12569 for module
in .
$GTK_MODULES
12573 gtk_config_args
="$gtk_config_args gthread"
12578 if test x
$gtk_config_exec_prefix != x
; then
12579 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12580 if test x
${GTK_CONFIG+set} != xset
; then
12581 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12584 if test x
$gtk_config_prefix != x
; then
12585 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12586 if test x
${GTK_CONFIG+set} != xset
; then
12587 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12591 # Extract the first word of "gtk-config", so it can be a program name with args.
12592 set dummy gtk
-config; ac_word
=$2
12593 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12594 echo "configure:12595: checking for $ac_word" >&5
12595 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12596 echo $ac_n "(cached) $ac_c" 1>&6
12598 case "$GTK_CONFIG" in
12600 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12603 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12606 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12608 for ac_dir
in $ac_dummy; do
12609 test -z "$ac_dir" && ac_dir
=.
12610 if test -f $ac_dir/$ac_word; then
12611 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12616 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12620 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12621 if test -n "$GTK_CONFIG"; then
12622 echo "$ac_t""$GTK_CONFIG" 1>&6
12624 echo "$ac_t""no" 1>&6
12627 min_gtk_version
=1.2.7
12628 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12629 echo "configure:12630: checking for GTK - version >= $min_gtk_version" >&5
12631 if test "$GTK_CONFIG" = "no" ; then
12634 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12635 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12636 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12637 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12638 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12639 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12640 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12641 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12642 if test "x$enable_gtktest" = "xyes" ; then
12643 ac_save_CFLAGS
="$CFLAGS"
12644 ac_save_LIBS
="$LIBS"
12645 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12646 LIBS
="$GTK_LIBS $LIBS"
12648 if test "$cross_compiling" = yes; then
12649 echo $ac_n "cross compiling; assumed OK... $ac_c"
12651 cat > conftest.
$ac_ext <<EOF
12652 #line 12653 "configure"
12653 #include "confdefs.h"
12655 #include <gtk/gtk.h>
12657 #include <stdlib.h>
12662 int major, minor, micro;
12665 system ("touch conf.gtktest");
12667 /* HP/UX 9 (%@#!) writes to sscanf strings */
12668 tmp_version = g_strdup("$min_gtk_version");
12669 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12670 printf("%s, bad version string\n", "$min_gtk_version");
12674 if ((gtk_major_version != $gtk_config_major_version) ||
12675 (gtk_minor_version != $gtk_config_minor_version) ||
12676 (gtk_micro_version != $gtk_config_micro_version))
12678 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12679 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12680 gtk_major_version, gtk_minor_version, gtk_micro_version);
12681 printf ("*** was found! If gtk-config was correct, then it is best\n");
12682 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12683 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12684 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12685 printf("*** required on your system.\n");
12686 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12687 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12688 printf("*** before re-running configure\n");
12690 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12691 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12692 (gtk_minor_version != GTK_MINOR_VERSION) ||
12693 (gtk_micro_version != GTK_MICRO_VERSION))
12695 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12696 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12697 printf("*** library (version %d.%d.%d)\n",
12698 gtk_major_version, gtk_minor_version, gtk_micro_version);
12700 #endif /* defined (GTK_MAJOR_VERSION) ... */
12703 if ((gtk_major_version > major) ||
12704 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12705 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12711 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12712 gtk_major_version, gtk_minor_version, gtk_micro_version);
12713 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12714 major, minor, micro);
12715 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12717 printf("*** If you have already installed a sufficiently new version, this error\n");
12718 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12719 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12720 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12721 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12722 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12723 printf("*** so that the correct libraries are found at run-time))\n");
12730 if { (eval echo configure
:12731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12734 echo "configure: failed program was:" >&5
12735 cat conftest.
$ac_ext >&5
12742 CFLAGS
="$ac_save_CFLAGS"
12743 LIBS
="$ac_save_LIBS"
12746 if test "x$no_gtk" = x
; then
12747 echo "$ac_t""yes" 1>&6
12748 wx_cv_lib_gtk
=1.2.7
12750 echo "$ac_t""no" 1>&6
12751 if test "$GTK_CONFIG" = "no" ; then
12752 echo "*** The gtk-config script installed by GTK could not be found"
12753 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12754 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12755 echo "*** full path to gtk-config."
12757 if test -f conf.gtktest
; then
12760 echo "*** Could not run GTK test program, checking why..."
12761 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12762 LIBS
="$LIBS $GTK_LIBS"
12763 cat > conftest.
$ac_ext <<EOF
12764 #line 12765 "configure"
12765 #include "confdefs.h"
12767 #include <gtk/gtk.h>
12771 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12774 if { (eval echo configure
:12775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12776 echo "*** The test program compiled, but did not run. This usually means"
12777 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12778 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12779 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12780 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12781 echo "*** is required on your system"
12783 echo "*** If you have an old version installed, it is best to remove it, although"
12784 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12786 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12787 echo "*** came with the system with the command"
12789 echo "*** rpm --erase --nodeps gtk gtk-devel"
12791 echo "configure: failed program was:" >&5
12792 cat conftest.
$ac_ext >&5
12794 echo "*** The test program failed to compile or link. See the file config.log for the"
12795 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12796 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12797 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12800 CFLAGS
="$ac_save_CFLAGS"
12801 LIBS
="$ac_save_LIBS"
12813 if test -z "$wx_cv_lib_gtk"; then
12814 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12815 if test "${with_gtk_prefix+set}" = set; then
12816 withval
="$with_gtk_prefix"
12817 gtk_config_prefix
="$withval"
12819 gtk_config_prefix
=""
12822 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12823 if test "${with_gtk_exec_prefix+set}" = set; then
12824 withval
="$with_gtk_exec_prefix"
12825 gtk_config_exec_prefix
="$withval"
12827 gtk_config_exec_prefix
=""
12830 # Check whether --enable-gtktest or --disable-gtktest was given.
12831 if test "${enable_gtktest+set}" = set; then
12832 enableval
="$enable_gtktest"
12839 for module
in .
$GTK_MODULES
12843 gtk_config_args
="$gtk_config_args gthread"
12848 if test x
$gtk_config_exec_prefix != x
; then
12849 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12850 if test x
${GTK_CONFIG+set} != xset
; then
12851 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12854 if test x
$gtk_config_prefix != x
; then
12855 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12856 if test x
${GTK_CONFIG+set} != xset
; then
12857 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12861 # Extract the first word of "gtk-config", so it can be a program name with args.
12862 set dummy gtk
-config; ac_word
=$2
12863 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12864 echo "configure:12865: checking for $ac_word" >&5
12865 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12866 echo $ac_n "(cached) $ac_c" 1>&6
12868 case "$GTK_CONFIG" in
12870 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12873 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12876 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12878 for ac_dir
in $ac_dummy; do
12879 test -z "$ac_dir" && ac_dir
=.
12880 if test -f $ac_dir/$ac_word; then
12881 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12886 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12890 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12891 if test -n "$GTK_CONFIG"; then
12892 echo "$ac_t""$GTK_CONFIG" 1>&6
12894 echo "$ac_t""no" 1>&6
12897 min_gtk_version
=1.2.3
12898 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12899 echo "configure:12900: checking for GTK - version >= $min_gtk_version" >&5
12901 if test "$GTK_CONFIG" = "no" ; then
12904 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12905 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12906 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12907 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12908 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12909 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12910 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12911 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12912 if test "x$enable_gtktest" = "xyes" ; then
12913 ac_save_CFLAGS
="$CFLAGS"
12914 ac_save_LIBS
="$LIBS"
12915 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12916 LIBS
="$GTK_LIBS $LIBS"
12918 if test "$cross_compiling" = yes; then
12919 echo $ac_n "cross compiling; assumed OK... $ac_c"
12921 cat > conftest.
$ac_ext <<EOF
12922 #line 12923 "configure"
12923 #include "confdefs.h"
12925 #include <gtk/gtk.h>
12927 #include <stdlib.h>
12932 int major, minor, micro;
12935 system ("touch conf.gtktest");
12937 /* HP/UX 9 (%@#!) writes to sscanf strings */
12938 tmp_version = g_strdup("$min_gtk_version");
12939 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12940 printf("%s, bad version string\n", "$min_gtk_version");
12944 if ((gtk_major_version != $gtk_config_major_version) ||
12945 (gtk_minor_version != $gtk_config_minor_version) ||
12946 (gtk_micro_version != $gtk_config_micro_version))
12948 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12949 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12950 gtk_major_version, gtk_minor_version, gtk_micro_version);
12951 printf ("*** was found! If gtk-config was correct, then it is best\n");
12952 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12953 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12954 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12955 printf("*** required on your system.\n");
12956 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12957 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12958 printf("*** before re-running configure\n");
12960 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12961 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12962 (gtk_minor_version != GTK_MINOR_VERSION) ||
12963 (gtk_micro_version != GTK_MICRO_VERSION))
12965 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12966 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12967 printf("*** library (version %d.%d.%d)\n",
12968 gtk_major_version, gtk_minor_version, gtk_micro_version);
12970 #endif /* defined (GTK_MAJOR_VERSION) ... */
12973 if ((gtk_major_version > major) ||
12974 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12975 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12981 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12982 gtk_major_version, gtk_minor_version, gtk_micro_version);
12983 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12984 major, minor, micro);
12985 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12987 printf("*** If you have already installed a sufficiently new version, this error\n");
12988 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12989 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12990 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12991 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12992 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12993 printf("*** so that the correct libraries are found at run-time))\n");
13000 if { (eval echo configure
:13001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13004 echo "configure: failed program was:" >&5
13005 cat conftest.
$ac_ext >&5
13012 CFLAGS
="$ac_save_CFLAGS"
13013 LIBS
="$ac_save_LIBS"
13016 if test "x$no_gtk" = x
; then
13017 echo "$ac_t""yes" 1>&6
13018 wx_cv_lib_gtk
=1.2.3
13020 echo "$ac_t""no" 1>&6
13021 if test "$GTK_CONFIG" = "no" ; then
13022 echo "*** The gtk-config script installed by GTK could not be found"
13023 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
13024 echo "*** your path, or set the GTK_CONFIG environment variable to the"
13025 echo "*** full path to gtk-config."
13027 if test -f conf.gtktest
; then
13030 echo "*** Could not run GTK test program, checking why..."
13031 CFLAGS
="$CFLAGS $GTK_CFLAGS"
13032 LIBS
="$LIBS $GTK_LIBS"
13033 cat > conftest.
$ac_ext <<EOF
13034 #line 13035 "configure"
13035 #include "confdefs.h"
13037 #include <gtk/gtk.h>
13041 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
13044 if { (eval echo configure
:13045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13046 echo "*** The test program compiled, but did not run. This usually means"
13047 echo "*** that the run-time linker is not finding GTK or finding the wrong"
13048 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
13049 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
13050 echo "*** to the installed location Also, make sure you have run ldconfig if that"
13051 echo "*** is required on your system"
13053 echo "*** If you have an old version installed, it is best to remove it, although"
13054 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13056 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
13057 echo "*** came with the system with the command"
13059 echo "*** rpm --erase --nodeps gtk gtk-devel"
13061 echo "configure: failed program was:" >&5
13062 cat conftest.
$ac_ext >&5
13064 echo "*** The test program failed to compile or link. See the file config.log for the"
13065 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
13066 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
13067 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
13070 CFLAGS
="$ac_save_CFLAGS"
13071 LIBS
="$ac_save_LIBS"
13085 if test -z "$wx_cv_lib_gtk"; then
13088 wx_cv_cflags_gtk
=$GTK_CFLAGS
13089 wx_cv_libs_gtk
=$GTK_LIBS
13096 if test "$gtk_version_cached" = 1; then
13097 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
13100 case "$wx_cv_lib_gtk" in
13109 *) { echo "configure: error:
13110 Please check that gtk-config is in path, the directory
13111 where GTK+ libraries are installed (returned by
13112 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
13113 equivalent variable and GTK+ is version 1.2.3 or above.
13118 if test "$WXGTK20" = 1; then
13119 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
13123 if test -z "$PKG_CONFIG"; then
13124 # Extract the first word of "pkg-config", so it can be a program name with args.
13125 set dummy pkg
-config; ac_word
=$2
13126 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13127 echo "configure:13128: checking for $ac_word" >&5
13128 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
13129 echo $ac_n "(cached) $ac_c" 1>&6
13131 case "$PKG_CONFIG" in
13133 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13136 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
13139 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13141 for ac_dir
in $ac_dummy; do
13142 test -z "$ac_dir" && ac_dir
=.
13143 if test -f $ac_dir/$ac_word; then
13144 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
13149 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13153 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13154 if test -n "$PKG_CONFIG"; then
13155 echo "$ac_t""$PKG_CONFIG" 1>&6
13157 echo "$ac_t""no" 1>&6
13162 if test "$PKG_CONFIG" = "no" ; then
13163 echo "*** The pkg-config script could not be found. Make sure it is"
13164 echo "*** in your path, or set the PKG_CONFIG environment variable"
13165 echo "*** to the full path to pkg-config."
13166 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13168 PKG_CONFIG_MIN_VERSION
=0.9.0
13169 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13170 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
13171 echo "configure:13172: checking for pangoft2" >&5
13173 if $PKG_CONFIG --exists "pangoft2" ; then
13174 echo "$ac_t""yes" 1>&6
13177 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
13178 echo "configure:13179: checking PANGOFT2_CFLAGS" >&5
13179 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
13180 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
13182 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
13183 echo "configure:13184: checking PANGOFT2_LIBS" >&5
13184 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
13185 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
13189 ## If we have a custom action on failure, don't print errors, but
13190 ## do set a variable so people can do so.
13191 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
13198 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13199 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13203 if test $succeeded = yes; then
13205 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
13206 LIBS
="$LIBS $PANGOFT2_LIBS"
13210 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
13211 wxUSE_PRINTING_ARCHITECTURE
="no"
13218 if test "$wxUSE_UNICODE" = "yes"; then
13219 echo "configure: warning: Unicode configuration not supported with GTK+ 1.x" 1>&2
13224 if test "$USE_DARWIN" != 1; then
13225 for ac_func
in poll
13227 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13228 echo "configure:13229: checking for $ac_func" >&5
13229 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13230 echo $ac_n "(cached) $ac_c" 1>&6
13232 cat > conftest.
$ac_ext <<EOF
13233 #line 13234 "configure"
13234 #include "confdefs.h"
13235 /* System header to define __stub macros and hopefully few prototypes,
13236 which can conflict with char $ac_func(); below. */
13237 #include <assert.h>
13238 /* Override any gcc2 internal prototype to avoid an error. */
13239 /* We use char because int might match the return type of a gcc2
13240 builtin and then its argument prototype would still apply. */
13245 /* The GNU C library defines this for functions which it implements
13246 to always fail with ENOSYS. Some functions are actually named
13247 something starting with __ and the normal name is an alias. */
13248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13256 if { (eval echo configure
:13257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13258 eval "ac_cv_func_$ac_func=yes"
13260 echo "configure: failed program was:" >&5
13261 cat conftest.
$ac_ext >&5
13263 eval "ac_cv_func_$ac_func=no"
13268 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13269 echo "$ac_t""yes" 1>&6
13270 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13271 cat >> confdefs.h
<<EOF
13272 #define $ac_tr_func 1
13276 echo "$ac_t""no" 1>&6
13282 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
13283 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
13285 AFMINSTALL
=afminstall
13289 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
13290 echo "configure:13291: checking for gdk_im_open in -lgdk" >&5
13291 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
13292 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13293 echo $ac_n "(cached) $ac_c" 1>&6
13295 ac_save_LIBS
="$LIBS"
13297 cat > conftest.
$ac_ext <<EOF
13298 #line 13299 "configure"
13299 #include "confdefs.h"
13300 /* Override any gcc2 internal prototype to avoid an error. */
13301 /* We use char because int might match the return type of a gcc2
13302 builtin and then its argument prototype would still apply. */
13303 char gdk_im_open();
13309 if { (eval echo configure
:13310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13311 eval "ac_cv_lib_$ac_lib_var=yes"
13313 echo "configure: failed program was:" >&5
13314 cat conftest.
$ac_ext >&5
13316 eval "ac_cv_lib_$ac_lib_var=no"
13319 LIBS
="$ac_save_LIBS"
13322 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13323 echo "$ac_t""yes" 1>&6
13324 cat >> confdefs.h
<<\EOF
13329 echo "$ac_t""no" 1>&6
13334 if test "$wxUSE_MGL" = 1; then
13335 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
13336 echo "configure:13337: checking for SciTech MGL library" >&5
13337 if test "x$MGL_ROOT" = x
; then
13338 echo "$ac_t""not found" 1>&6
13339 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
13341 echo "$ac_t""$MGL_ROOT" 1>&6
13346 mgl_os
="linux/gcc/glibc*"
13352 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
13357 if test "$wxUSE_DEBUG_FLAG" = yes ; then
13358 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
13359 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
13363 if test "x$mgl_lib_type" = x
; then
13364 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
13365 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
13366 mgl_lib_type
=release
13368 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
13372 wxUSE_UNIVERSAL
="yes"
13374 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
13375 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
13377 AFMINSTALL
=afminstall
13382 if test "$wxUSE_MICROWIN" = 1; then
13383 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
13384 echo "configure:13385: checking for MicroWindows" >&5
13385 if test "x$MICROWINDOWS" = x
; then
13386 echo "$ac_t""not found" 1>&6
13387 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
13389 echo "$ac_t""$MICROWINDOWS" 1>&6
13392 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
13393 echo "$ac_t""MicroWindows' libraries found." 1>&6
13395 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
13398 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
13399 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
13401 wxUSE_UNIVERSAL
="yes"
13403 AFMINSTALL
=afminstall
13405 GUIDIST
=MICROWIN_DIST
13407 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
13410 if test "$wxUSE_X11" = 1; then
13411 # If we find X, set shell vars x_includes and x_libraries to the
13412 # paths, otherwise set no_x=yes.
13413 # Uses ac_ vars as temps to allow command line to override cache and checks.
13414 # --without-x overrides everything else, but does not touch the cache.
13415 echo $ac_n "checking for X""... $ac_c" 1>&6
13416 echo "configure:13417: checking for X" >&5
13418 # Check whether --with-x or --without-x was given.
13419 if test "${with_x+set}" = set; then
13424 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13425 if test "x$with_x" = xno
; then
13426 # The user explicitly disabled X.
13429 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
13430 # Both variables are already set.
13433 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
13434 echo $ac_n "(cached) $ac_c" 1>&6
13436 # One or both of the vars are not set, and there is no cached value.
13437 ac_x_includes
=NO ac_x_libraries
=NO
13439 if mkdir conftestdir
; then
13441 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
13442 cat > Imakefile
<<'EOF'
13444 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
13446 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13447 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13448 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
13449 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13450 for ac_extension
in a so sl
; do
13451 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
13452 test -f $ac_im_libdir/libX11.
$ac_extension; then
13453 ac_im_usrlibdir
=$ac_im_libdir; break
13456 # Screen out bogus values from the imake configuration. They are
13457 # bogus both because they are the default anyway, and because
13458 # using them would break gcc on systems where it needs fixed includes.
13459 case "$ac_im_incroot" in
13461 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
13463 case "$ac_im_usrlibdir" in
13464 /usr
/lib
| /lib
) ;;
13465 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
13472 if test "$ac_x_includes" = NO
; then
13473 # Guess where to find include files, by looking for this one X11 .h file.
13474 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
13476 # First, try using that file with no special directory specified.
13477 cat > conftest.
$ac_ext <<EOF
13478 #line 13479 "configure"
13479 #include "confdefs.h"
13480 #include <$x_direct_test_include>
13482 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13483 { (eval echo configure
:13484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13484 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13485 if test -z "$ac_err"; then
13487 # We can compile using X headers with no special include directory.
13491 echo "configure: failed program was:" >&5
13492 cat conftest.
$ac_ext >&5
13494 # Look for the header file in a standard set of common directories.
13495 # Check X11 before X11Rn because it is often a symlink to the current release.
13498 /usr
/X
11R
6/include \
13499 /usr
/X
11R
5/include \
13500 /usr
/X
11R
4/include \
13503 /usr
/include
/X11R6 \
13504 /usr
/include
/X11R5 \
13505 /usr
/include
/X11R4 \
13507 /usr
/local
/X
11/include \
13508 /usr
/local
/X
11R
6/include \
13509 /usr
/local
/X
11R
5/include \
13510 /usr
/local
/X
11R
4/include \
13512 /usr
/local
/include
/X11 \
13513 /usr
/local
/include
/X11R6 \
13514 /usr
/local
/include
/X11R5 \
13515 /usr
/local
/include
/X11R4 \
13517 /usr
/X
386/include \
13518 /usr
/x
386/include \
13519 /usr
/XFree
86/include
/X11 \
13522 /usr
/local
/include \
13523 /usr
/unsupported
/include \
13524 /usr
/athena
/include \
13525 /usr
/local
/x
11r
5/include \
13526 /usr
/lpp
/Xamples
/include \
13528 /usr
/openwin
/include \
13529 /usr
/openwin
/share
/include \
13532 if test -r "$ac_dir/$x_direct_test_include"; then
13533 ac_x_includes
=$ac_dir
13539 fi # $ac_x_includes = NO
13541 if test "$ac_x_libraries" = NO
; then
13542 # Check for the libraries.
13544 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
13545 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
13547 # See if we find them without any special options.
13548 # Don't add to $LIBS permanently.
13549 ac_save_LIBS
="$LIBS"
13550 LIBS
="-l$x_direct_test_library $LIBS"
13551 cat > conftest.
$ac_ext <<EOF
13552 #line 13553 "configure"
13553 #include "confdefs.h"
13556 ${x_direct_test_function}()
13559 if { (eval echo configure
:13560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13561 LIBS
="$ac_save_LIBS"
13562 # We can link X programs with no special library path.
13565 echo "configure: failed program was:" >&5
13566 cat conftest.
$ac_ext >&5
13568 LIBS
="$ac_save_LIBS"
13569 # First see if replacing the include by lib works.
13570 # Check X11 before X11Rn because it is often a symlink to the current release.
13571 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
13582 /usr
/local
/X
11/lib \
13583 /usr
/local
/X
11R
6/lib \
13584 /usr
/local
/X
11R
5/lib \
13585 /usr
/local
/X
11R
4/lib \
13587 /usr
/local
/lib
/X11 \
13588 /usr
/local
/lib
/X11R6 \
13589 /usr
/local
/lib
/X11R5 \
13590 /usr
/local
/lib
/X11R4 \
13594 /usr
/XFree
86/lib
/X11 \
13598 /usr
/unsupported
/lib \
13600 /usr
/local
/x
11r
5/lib \
13601 /usr
/lpp
/Xamples
/lib \
13605 /usr
/openwin
/share
/lib \
13608 for ac_extension
in a so sl
; do
13609 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
13610 ac_x_libraries
=$ac_dir
13617 fi # $ac_x_libraries = NO
13619 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
13620 # Didn't find X anywhere. Cache the known absence of X.
13621 ac_cv_have_x
="have_x=no"
13623 # Record where we found X for the cache.
13624 ac_cv_have_x
="have_x=yes \
13625 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
13629 eval "$ac_cv_have_x"
13632 if test "$have_x" != yes; then
13633 echo "$ac_t""$have_x" 1>&6
13636 # If each of the values was on the command line, it overrides each guess.
13637 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13638 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13639 # Update the cache value to reflect the command line values.
13640 ac_cv_have_x
="have_x=yes \
13641 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
13642 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
13645 if test "$no_x" = yes; then
13646 # Not all programs may use this symbol, but it does not hurt to define it.
13647 cat >> confdefs.h
<<\EOF
13648 #define X_DISPLAY_MISSING 1
13651 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13653 if test -n "$x_includes"; then
13654 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13657 # It would also be nice to do this for all -L options, not just this one.
13658 if test -n "$x_libraries"; then
13659 X_LIBS
="$X_LIBS -L$x_libraries"
13660 # For Solaris; some versions of Sun CC require a space after -R and
13661 # others require no space. Words are not sufficient . . . .
13662 case "`(uname -sr) 2>/dev/null`" in
13664 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13665 echo "configure:13666: checking whether -R must be followed by a space" >&5
13666 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13667 cat > conftest.
$ac_ext <<EOF
13668 #line 13669 "configure"
13669 #include "confdefs.h"
13675 if { (eval echo configure
:13676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13679 echo "configure: failed program was:" >&5
13680 cat conftest.
$ac_ext >&5
13685 if test $ac_R_nospace = yes; then
13686 echo "$ac_t""no" 1>&6
13687 X_LIBS
="$X_LIBS -R$x_libraries"
13689 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13690 cat > conftest.
$ac_ext <<EOF
13691 #line 13692 "configure"
13692 #include "confdefs.h"
13698 if { (eval echo configure
:13699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13702 echo "configure: failed program was:" >&5
13703 cat conftest.
$ac_ext >&5
13708 if test $ac_R_space = yes; then
13709 echo "$ac_t""yes" 1>&6
13710 X_LIBS
="$X_LIBS -R $x_libraries"
13712 echo "$ac_t""neither works" 1>&6
13715 LIBS
="$ac_xsave_LIBS"
13719 # Check for system-dependent libraries X programs must link with.
13720 # Do this before checking for the system-independent R6 libraries
13721 # (-lICE), since we may need -lsocket or whatever for X linking.
13723 if test "$ISC" = yes; then
13724 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13726 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13727 # libraries were built with DECnet support. And karl@cs.umb.edu says
13728 # the Alpha needs dnet_stub (dnet does not exist).
13729 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13730 echo "configure:13731: checking for dnet_ntoa in -ldnet" >&5
13731 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13732 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13733 echo $ac_n "(cached) $ac_c" 1>&6
13735 ac_save_LIBS
="$LIBS"
13736 LIBS
="-ldnet $LIBS"
13737 cat > conftest.
$ac_ext <<EOF
13738 #line 13739 "configure"
13739 #include "confdefs.h"
13740 /* Override any gcc2 internal prototype to avoid an error. */
13741 /* We use char because int might match the return type of a gcc2
13742 builtin and then its argument prototype would still apply. */
13749 if { (eval echo configure
:13750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13751 eval "ac_cv_lib_$ac_lib_var=yes"
13753 echo "configure: failed program was:" >&5
13754 cat conftest.
$ac_ext >&5
13756 eval "ac_cv_lib_$ac_lib_var=no"
13759 LIBS
="$ac_save_LIBS"
13762 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13763 echo "$ac_t""yes" 1>&6
13764 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13766 echo "$ac_t""no" 1>&6
13769 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13770 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13771 echo "configure:13772: checking for dnet_ntoa in -ldnet_stub" >&5
13772 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13773 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13774 echo $ac_n "(cached) $ac_c" 1>&6
13776 ac_save_LIBS
="$LIBS"
13777 LIBS
="-ldnet_stub $LIBS"
13778 cat > conftest.
$ac_ext <<EOF
13779 #line 13780 "configure"
13780 #include "confdefs.h"
13781 /* Override any gcc2 internal prototype to avoid an error. */
13782 /* We use char because int might match the return type of a gcc2
13783 builtin and then its argument prototype would still apply. */
13790 if { (eval echo configure
:13791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13792 eval "ac_cv_lib_$ac_lib_var=yes"
13794 echo "configure: failed program was:" >&5
13795 cat conftest.
$ac_ext >&5
13797 eval "ac_cv_lib_$ac_lib_var=no"
13800 LIBS
="$ac_save_LIBS"
13803 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13804 echo "$ac_t""yes" 1>&6
13805 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13807 echo "$ac_t""no" 1>&6
13812 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13813 # to get the SysV transport functions.
13814 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13816 # The nsl library prevents programs from opening the X display
13817 # on Irix 5.2, according to dickey@clark.net.
13818 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13819 echo "configure:13820: checking for gethostbyname" >&5
13820 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13821 echo $ac_n "(cached) $ac_c" 1>&6
13823 cat > conftest.
$ac_ext <<EOF
13824 #line 13825 "configure"
13825 #include "confdefs.h"
13826 /* System header to define __stub macros and hopefully few prototypes,
13827 which can conflict with char gethostbyname(); below. */
13828 #include <assert.h>
13829 /* Override any gcc2 internal prototype to avoid an error. */
13830 /* We use char because int might match the return type of a gcc2
13831 builtin and then its argument prototype would still apply. */
13832 char gethostbyname();
13836 /* The GNU C library defines this for functions which it implements
13837 to always fail with ENOSYS. Some functions are actually named
13838 something starting with __ and the normal name is an alias. */
13839 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13847 if { (eval echo configure
:13848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13849 eval "ac_cv_func_gethostbyname=yes"
13851 echo "configure: failed program was:" >&5
13852 cat conftest.
$ac_ext >&5
13854 eval "ac_cv_func_gethostbyname=no"
13859 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13860 echo "$ac_t""yes" 1>&6
13863 echo "$ac_t""no" 1>&6
13866 if test $ac_cv_func_gethostbyname = no
; then
13867 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13868 echo "configure:13869: checking for gethostbyname in -lnsl" >&5
13869 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13870 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13871 echo $ac_n "(cached) $ac_c" 1>&6
13873 ac_save_LIBS
="$LIBS"
13875 cat > conftest.
$ac_ext <<EOF
13876 #line 13877 "configure"
13877 #include "confdefs.h"
13878 /* Override any gcc2 internal prototype to avoid an error. */
13879 /* We use char because int might match the return type of a gcc2
13880 builtin and then its argument prototype would still apply. */
13881 char gethostbyname();
13887 if { (eval echo configure
:13888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13889 eval "ac_cv_lib_$ac_lib_var=yes"
13891 echo "configure: failed program was:" >&5
13892 cat conftest.
$ac_ext >&5
13894 eval "ac_cv_lib_$ac_lib_var=no"
13897 LIBS
="$ac_save_LIBS"
13900 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13901 echo "$ac_t""yes" 1>&6
13902 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13904 echo "$ac_t""no" 1>&6
13909 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13910 # socket/setsockopt and other routines are undefined under SCO ODT
13911 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13912 # on later versions), says simon@lia.di.epfl.ch: it contains
13913 # gethostby* variants that don't use the nameserver (or something).
13914 # -lsocket must be given before -lnsl if both are needed.
13915 # We assume that if connect needs -lnsl, so does gethostbyname.
13916 echo $ac_n "checking for connect""... $ac_c" 1>&6
13917 echo "configure:13918: checking for connect" >&5
13918 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13919 echo $ac_n "(cached) $ac_c" 1>&6
13921 cat > conftest.
$ac_ext <<EOF
13922 #line 13923 "configure"
13923 #include "confdefs.h"
13924 /* System header to define __stub macros and hopefully few prototypes,
13925 which can conflict with char connect(); below. */
13926 #include <assert.h>
13927 /* Override any gcc2 internal prototype to avoid an error. */
13928 /* We use char because int might match the return type of a gcc2
13929 builtin and then its argument prototype would still apply. */
13934 /* The GNU C library defines this for functions which it implements
13935 to always fail with ENOSYS. Some functions are actually named
13936 something starting with __ and the normal name is an alias. */
13937 #if defined (__stub_connect) || defined (__stub___connect)
13945 if { (eval echo configure
:13946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13947 eval "ac_cv_func_connect=yes"
13949 echo "configure: failed program was:" >&5
13950 cat conftest.
$ac_ext >&5
13952 eval "ac_cv_func_connect=no"
13957 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
13958 echo "$ac_t""yes" 1>&6
13961 echo "$ac_t""no" 1>&6
13964 if test $ac_cv_func_connect = no
; then
13965 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
13966 echo "configure:13967: checking for connect in -lsocket" >&5
13967 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
13968 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13969 echo $ac_n "(cached) $ac_c" 1>&6
13971 ac_save_LIBS
="$LIBS"
13972 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13973 cat > conftest.
$ac_ext <<EOF
13974 #line 13975 "configure"
13975 #include "confdefs.h"
13976 /* Override any gcc2 internal prototype to avoid an error. */
13977 /* We use char because int might match the return type of a gcc2
13978 builtin and then its argument prototype would still apply. */
13985 if { (eval echo configure
:13986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13987 eval "ac_cv_lib_$ac_lib_var=yes"
13989 echo "configure: failed program was:" >&5
13990 cat conftest.
$ac_ext >&5
13992 eval "ac_cv_lib_$ac_lib_var=no"
13995 LIBS
="$ac_save_LIBS"
13998 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13999 echo "$ac_t""yes" 1>&6
14000 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14002 echo "$ac_t""no" 1>&6
14007 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14008 echo $ac_n "checking for remove""... $ac_c" 1>&6
14009 echo "configure:14010: checking for remove" >&5
14010 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14011 echo $ac_n "(cached) $ac_c" 1>&6
14013 cat > conftest.
$ac_ext <<EOF
14014 #line 14015 "configure"
14015 #include "confdefs.h"
14016 /* System header to define __stub macros and hopefully few prototypes,
14017 which can conflict with char remove(); below. */
14018 #include <assert.h>
14019 /* Override any gcc2 internal prototype to avoid an error. */
14020 /* We use char because int might match the return type of a gcc2
14021 builtin and then its argument prototype would still apply. */
14026 /* The GNU C library defines this for functions which it implements
14027 to always fail with ENOSYS. Some functions are actually named
14028 something starting with __ and the normal name is an alias. */
14029 #if defined (__stub_remove) || defined (__stub___remove)
14037 if { (eval echo configure
:14038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14039 eval "ac_cv_func_remove=yes"
14041 echo "configure: failed program was:" >&5
14042 cat conftest.
$ac_ext >&5
14044 eval "ac_cv_func_remove=no"
14049 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14050 echo "$ac_t""yes" 1>&6
14053 echo "$ac_t""no" 1>&6
14056 if test $ac_cv_func_remove = no
; then
14057 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14058 echo "configure:14059: checking for remove in -lposix" >&5
14059 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14060 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14061 echo $ac_n "(cached) $ac_c" 1>&6
14063 ac_save_LIBS
="$LIBS"
14064 LIBS
="-lposix $LIBS"
14065 cat > conftest.
$ac_ext <<EOF
14066 #line 14067 "configure"
14067 #include "confdefs.h"
14068 /* Override any gcc2 internal prototype to avoid an error. */
14069 /* We use char because int might match the return type of a gcc2
14070 builtin and then its argument prototype would still apply. */
14077 if { (eval echo configure
:14078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14079 eval "ac_cv_lib_$ac_lib_var=yes"
14081 echo "configure: failed program was:" >&5
14082 cat conftest.
$ac_ext >&5
14084 eval "ac_cv_lib_$ac_lib_var=no"
14087 LIBS
="$ac_save_LIBS"
14090 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14091 echo "$ac_t""yes" 1>&6
14092 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14094 echo "$ac_t""no" 1>&6
14099 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14100 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14101 echo "configure:14102: checking for shmat" >&5
14102 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14103 echo $ac_n "(cached) $ac_c" 1>&6
14105 cat > conftest.
$ac_ext <<EOF
14106 #line 14107 "configure"
14107 #include "confdefs.h"
14108 /* System header to define __stub macros and hopefully few prototypes,
14109 which can conflict with char shmat(); below. */
14110 #include <assert.h>
14111 /* Override any gcc2 internal prototype to avoid an error. */
14112 /* We use char because int might match the return type of a gcc2
14113 builtin and then its argument prototype would still apply. */
14118 /* The GNU C library defines this for functions which it implements
14119 to always fail with ENOSYS. Some functions are actually named
14120 something starting with __ and the normal name is an alias. */
14121 #if defined (__stub_shmat) || defined (__stub___shmat)
14129 if { (eval echo configure
:14130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14131 eval "ac_cv_func_shmat=yes"
14133 echo "configure: failed program was:" >&5
14134 cat conftest.
$ac_ext >&5
14136 eval "ac_cv_func_shmat=no"
14141 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14142 echo "$ac_t""yes" 1>&6
14145 echo "$ac_t""no" 1>&6
14148 if test $ac_cv_func_shmat = no
; then
14149 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14150 echo "configure:14151: checking for shmat in -lipc" >&5
14151 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14152 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14153 echo $ac_n "(cached) $ac_c" 1>&6
14155 ac_save_LIBS
="$LIBS"
14157 cat > conftest.
$ac_ext <<EOF
14158 #line 14159 "configure"
14159 #include "confdefs.h"
14160 /* Override any gcc2 internal prototype to avoid an error. */
14161 /* We use char because int might match the return type of a gcc2
14162 builtin and then its argument prototype would still apply. */
14169 if { (eval echo configure
:14170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14171 eval "ac_cv_lib_$ac_lib_var=yes"
14173 echo "configure: failed program was:" >&5
14174 cat conftest.
$ac_ext >&5
14176 eval "ac_cv_lib_$ac_lib_var=no"
14179 LIBS
="$ac_save_LIBS"
14182 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14183 echo "$ac_t""yes" 1>&6
14184 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14186 echo "$ac_t""no" 1>&6
14192 # Check for libraries that X11R6 Xt/Xaw programs need.
14193 ac_save_LDFLAGS
="$LDFLAGS"
14194 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14195 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14196 # check for ICE first), but we must link in the order -lSM -lICE or
14197 # we get undefined symbols. So assume we have SM if we have ICE.
14198 # These have to be linked with before -lX11, unlike the other
14199 # libraries we check for below, so use a different variable.
14200 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14201 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14202 echo "configure:14203: checking for IceConnectionNumber in -lICE" >&5
14203 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14204 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14205 echo $ac_n "(cached) $ac_c" 1>&6
14207 ac_save_LIBS
="$LIBS"
14208 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14209 cat > conftest.
$ac_ext <<EOF
14210 #line 14211 "configure"
14211 #include "confdefs.h"
14212 /* Override any gcc2 internal prototype to avoid an error. */
14213 /* We use char because int might match the return type of a gcc2
14214 builtin and then its argument prototype would still apply. */
14215 char IceConnectionNumber();
14218 IceConnectionNumber()
14221 if { (eval echo configure
:14222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14223 eval "ac_cv_lib_$ac_lib_var=yes"
14225 echo "configure: failed program was:" >&5
14226 cat conftest.
$ac_ext >&5
14228 eval "ac_cv_lib_$ac_lib_var=no"
14231 LIBS
="$ac_save_LIBS"
14234 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14235 echo "$ac_t""yes" 1>&6
14236 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14238 echo "$ac_t""no" 1>&6
14241 LDFLAGS
="$ac_save_LDFLAGS"
14246 if test "$no_x" = "yes"; then
14247 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14250 GUI_TK_LIBRARY
="$X_LIBS"
14251 TOOLKIT_INCLUDE
="$X_CFLAGS"
14252 AFMINSTALL
=afminstall
14253 COMPILED_X_PROGRAM
=0
14255 if test "$wxUSE_NANOX" = "yes"; then
14256 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
14257 echo "configure:14258: checking for MicroWindows/NanoX distribution" >&5
14258 if test "x$MICROWIN" = x
; then
14259 echo "$ac_t""not found" 1>&6
14260 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
14262 echo "$ac_t""$MICROWIN" 1>&6
14263 cat >> confdefs.h
<<\EOF
14264 #define wxUSE_NANOX 1
14271 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14272 echo "configure:14273: checking for Xpm library" >&5
14275 for ac_dir
in $SEARCH_LIB /usr
/lib
;
14277 for ac_extension
in a so sl dylib
; do
14278 if test -f "$ac_dir/libXpm.$ac_extension"; then
14279 ac_find_libraries
=$ac_dir
14285 if test "$ac_find_libraries" != "" ; then
14287 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14289 if test $result = 0; then
14292 ac_path_to_link
=" -L$ac_find_libraries"
14295 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14297 cat >> confdefs.h
<<\EOF
14298 #define wxHAVE_LIB_XPM 1
14301 echo "$ac_t""found at $ac_find_libraries" 1>&6
14303 cat > conftest.
$ac_ext <<EOF
14304 #line 14305 "configure"
14305 #include "confdefs.h"
14307 #include <X11/xpm.h>
14312 version = XpmLibraryVersion();
14316 if { (eval echo configure
:14317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14320 cat >> confdefs.h
<<\EOF
14321 #define wxHAVE_LIB_XPM 1
14324 echo "$ac_t""found in default search path" 1>&6
14325 COMPILED_X_PROGRAM
=0
14328 echo "configure: failed program was:" >&5
14329 cat conftest.
$ac_ext >&5
14332 echo "$ac_t""no" 1>&6
14333 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14340 if test "$wxUSE_UNICODE" = "yes"; then
14344 if test -z "$PKG_CONFIG"; then
14345 # Extract the first word of "pkg-config", so it can be a program name with args.
14346 set dummy pkg
-config; ac_word
=$2
14347 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14348 echo "configure:14349: checking for $ac_word" >&5
14349 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14350 echo $ac_n "(cached) $ac_c" 1>&6
14352 case "$PKG_CONFIG" in
14354 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14357 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14360 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14362 for ac_dir
in $ac_dummy; do
14363 test -z "$ac_dir" && ac_dir
=.
14364 if test -f $ac_dir/$ac_word; then
14365 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14370 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14374 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14375 if test -n "$PKG_CONFIG"; then
14376 echo "$ac_t""$PKG_CONFIG" 1>&6
14378 echo "$ac_t""no" 1>&6
14383 if test "$PKG_CONFIG" = "no" ; then
14384 echo "*** The pkg-config script could not be found. Make sure it is"
14385 echo "*** in your path, or set the PKG_CONFIG environment variable"
14386 echo "*** to the full path to pkg-config."
14387 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14389 PKG_CONFIG_MIN_VERSION
=0.9.0
14390 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14391 echo $ac_n "checking for pangox""... $ac_c" 1>&6
14392 echo "configure:14393: checking for pangox" >&5
14394 if $PKG_CONFIG --exists "pangox" ; then
14395 echo "$ac_t""yes" 1>&6
14398 echo $ac_n "checking PANGOX_CFLAGS""... $ac_c" 1>&6
14399 echo "configure:14400: checking PANGOX_CFLAGS" >&5
14400 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
14401 echo "$ac_t""$PANGOX_CFLAGS" 1>&6
14403 echo $ac_n "checking PANGOX_LIBS""... $ac_c" 1>&6
14404 echo "configure:14405: checking PANGOX_LIBS" >&5
14405 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
14406 echo "$ac_t""$PANGOX_LIBS" 1>&6
14410 ## If we have a custom action on failure, don't print errors, but
14411 ## do set a variable so people can do so.
14412 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
14419 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14420 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14424 if test $succeeded = yes; then
14426 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
14427 LIBS
="$LIBS $PANGOX_LIBS"
14431 { echo "configure: error: pangox library not found, library cannot be compiled in Unicode mode" 1>&2; exit 1; }
14439 if test -z "$PKG_CONFIG"; then
14440 # Extract the first word of "pkg-config", so it can be a program name with args.
14441 set dummy pkg
-config; ac_word
=$2
14442 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14443 echo "configure:14444: checking for $ac_word" >&5
14444 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14445 echo $ac_n "(cached) $ac_c" 1>&6
14447 case "$PKG_CONFIG" in
14449 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14452 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14455 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14457 for ac_dir
in $ac_dummy; do
14458 test -z "$ac_dir" && ac_dir
=.
14459 if test -f $ac_dir/$ac_word; then
14460 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14465 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14469 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14470 if test -n "$PKG_CONFIG"; then
14471 echo "$ac_t""$PKG_CONFIG" 1>&6
14473 echo "$ac_t""no" 1>&6
14478 if test "$PKG_CONFIG" = "no" ; then
14479 echo "*** The pkg-config script could not be found. Make sure it is"
14480 echo "*** in your path, or set the PKG_CONFIG environment variable"
14481 echo "*** to the full path to pkg-config."
14482 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14484 PKG_CONFIG_MIN_VERSION
=0.9.0
14485 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14486 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
14487 echo "configure:14488: checking for pangoft2" >&5
14489 if $PKG_CONFIG --exists "pangoft2" ; then
14490 echo "$ac_t""yes" 1>&6
14493 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
14494 echo "configure:14495: checking PANGOFT2_CFLAGS" >&5
14495 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
14496 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
14498 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
14499 echo "configure:14500: checking PANGOFT2_LIBS" >&5
14500 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
14501 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
14505 ## If we have a custom action on failure, don't print errors, but
14506 ## do set a variable so people can do so.
14507 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
14514 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14515 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14519 if test $succeeded = yes; then
14521 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
14522 LIBS
="$LIBS $PANGOFT2_LIBS"
14526 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
14527 wxUSE_PRINTING_ARCHITECTURE
="no"
14535 if test -z "$PKG_CONFIG"; then
14536 # Extract the first word of "pkg-config", so it can be a program name with args.
14537 set dummy pkg
-config; ac_word
=$2
14538 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14539 echo "configure:14540: checking for $ac_word" >&5
14540 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14541 echo $ac_n "(cached) $ac_c" 1>&6
14543 case "$PKG_CONFIG" in
14545 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14548 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14551 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14553 for ac_dir
in $ac_dummy; do
14554 test -z "$ac_dir" && ac_dir
=.
14555 if test -f $ac_dir/$ac_word; then
14556 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14561 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14565 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14566 if test -n "$PKG_CONFIG"; then
14567 echo "$ac_t""$PKG_CONFIG" 1>&6
14569 echo "$ac_t""no" 1>&6
14574 if test "$PKG_CONFIG" = "no" ; then
14575 echo "*** The pkg-config script could not be found. Make sure it is"
14576 echo "*** in your path, or set the PKG_CONFIG environment variable"
14577 echo "*** to the full path to pkg-config."
14578 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14580 PKG_CONFIG_MIN_VERSION
=0.9.0
14581 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14582 echo $ac_n "checking for pangoxft""... $ac_c" 1>&6
14583 echo "configure:14584: checking for pangoxft" >&5
14585 if $PKG_CONFIG --exists "pangoxft" ; then
14586 echo "$ac_t""yes" 1>&6
14589 echo $ac_n "checking PANGOXFT_CFLAGS""... $ac_c" 1>&6
14590 echo "configure:14591: checking PANGOXFT_CFLAGS" >&5
14591 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
14592 echo "$ac_t""$PANGOXFT_CFLAGS" 1>&6
14594 echo $ac_n "checking PANGOXFT_LIBS""... $ac_c" 1>&6
14595 echo "configure:14596: checking PANGOXFT_LIBS" >&5
14596 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
14597 echo "$ac_t""$PANGOXFT_LIBS" 1>&6
14601 ## If we have a custom action on failure, don't print errors, but
14602 ## do set a variable so people can do so.
14603 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
14610 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14611 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14615 if test $succeeded = yes; then
14617 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
14618 LIBS
="$LIBS $PANGOXFT_LIBS"
14622 echo "configure: warning: pangoxft library not found, library will be compiled without anti-aliasing support" 1>&2
14629 wxUSE_UNIVERSAL
="yes"
14631 if test "$wxUSE_NANOX" = "yes"; then
14632 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
14633 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"
14634 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
14636 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
14639 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
14644 if test "$wxUSE_WINE" = 1; then
14645 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
14646 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
14647 echo "configure:14648: checking for windows.h" >&5
14648 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14649 echo $ac_n "(cached) $ac_c" 1>&6
14651 cat > conftest.
$ac_ext <<EOF
14652 #line 14653 "configure"
14653 #include "confdefs.h"
14654 #include <windows.h>
14656 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14657 { (eval echo configure
:14658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14658 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14659 if test -z "$ac_err"; then
14661 eval "ac_cv_header_$ac_safe=yes"
14664 echo "configure: failed program was:" >&5
14665 cat conftest.
$ac_ext >&5
14667 eval "ac_cv_header_$ac_safe=no"
14671 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14672 echo "$ac_t""yes" 1>&6
14675 echo "$ac_t""no" 1>&6
14677 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
14683 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14684 echo "configure:14685: checking for Xpm library" >&5
14687 for ac_dir
in $SEARCH_LIB /usr
/lib
;
14689 for ac_extension
in a so sl dylib
; do
14690 if test -f "$ac_dir/libXpm.$ac_extension"; then
14691 ac_find_libraries
=$ac_dir
14697 if test "$ac_find_libraries" != "" ; then
14698 GUI_TK_LIBRARY
="-L$ac_find_libraries"
14700 cat >> confdefs.h
<<\EOF
14701 #define wxHAVE_LIB_XPM 1
14704 echo "$ac_t""found at $ac_find_libraries" 1>&6
14706 echo "$ac_t""no" 1>&6
14707 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14711 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
14712 echo "configure:14713: checking for Mesa library" >&5
14715 for ac_dir
in $SEARCH_LIB /usr
/lib
;
14717 for ac_extension
in a so sl dylib
; do
14718 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
14719 ac_find_libraries
=$ac_dir
14725 if test "$ac_find_libraries" != "" ; then
14726 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
14727 mesa_link
=" -lMesaGL"
14728 echo "$ac_t""found at $ac_find_libraries" 1>&6
14731 echo "$ac_t""no" 1>&6
14732 echo "configure: warning: library will be compiled without Mesa support" 1>&2
14735 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
14738 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
14741 if test "$wxUSE_MOTIF" = 1; then
14742 if test "$no_x" = yes; then
14743 # Not all programs may use this symbol, but it does not hurt to define it.
14744 cat >> confdefs.h
<<\EOF
14745 #define X_DISPLAY_MISSING 1
14748 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14750 if test -n "$x_includes"; then
14751 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14754 # It would also be nice to do this for all -L options, not just this one.
14755 if test -n "$x_libraries"; then
14756 X_LIBS
="$X_LIBS -L$x_libraries"
14757 # For Solaris; some versions of Sun CC require a space after -R and
14758 # others require no space. Words are not sufficient . . . .
14759 case "`(uname -sr) 2>/dev/null`" in
14761 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
14762 echo "configure:14763: checking whether -R must be followed by a space" >&5
14763 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
14764 cat > conftest.
$ac_ext <<EOF
14765 #line 14766 "configure"
14766 #include "confdefs.h"
14772 if { (eval echo configure
:14773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14776 echo "configure: failed program was:" >&5
14777 cat conftest.
$ac_ext >&5
14782 if test $ac_R_nospace = yes; then
14783 echo "$ac_t""no" 1>&6
14784 X_LIBS
="$X_LIBS -R$x_libraries"
14786 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14787 cat > conftest.
$ac_ext <<EOF
14788 #line 14789 "configure"
14789 #include "confdefs.h"
14795 if { (eval echo configure
:14796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14799 echo "configure: failed program was:" >&5
14800 cat conftest.
$ac_ext >&5
14805 if test $ac_R_space = yes; then
14806 echo "$ac_t""yes" 1>&6
14807 X_LIBS
="$X_LIBS -R $x_libraries"
14809 echo "$ac_t""neither works" 1>&6
14812 LIBS
="$ac_xsave_LIBS"
14816 # Check for system-dependent libraries X programs must link with.
14817 # Do this before checking for the system-independent R6 libraries
14818 # (-lICE), since we may need -lsocket or whatever for X linking.
14820 if test "$ISC" = yes; then
14821 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14823 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
14824 # libraries were built with DECnet support. And karl@cs.umb.edu says
14825 # the Alpha needs dnet_stub (dnet does not exist).
14826 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
14827 echo "configure:14828: checking for dnet_ntoa in -ldnet" >&5
14828 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14829 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14830 echo $ac_n "(cached) $ac_c" 1>&6
14832 ac_save_LIBS
="$LIBS"
14833 LIBS
="-ldnet $LIBS"
14834 cat > conftest.
$ac_ext <<EOF
14835 #line 14836 "configure"
14836 #include "confdefs.h"
14837 /* Override any gcc2 internal prototype to avoid an error. */
14838 /* We use char because int might match the return type of a gcc2
14839 builtin and then its argument prototype would still apply. */
14846 if { (eval echo configure
:14847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14848 eval "ac_cv_lib_$ac_lib_var=yes"
14850 echo "configure: failed program was:" >&5
14851 cat conftest.
$ac_ext >&5
14853 eval "ac_cv_lib_$ac_lib_var=no"
14856 LIBS
="$ac_save_LIBS"
14859 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14860 echo "$ac_t""yes" 1>&6
14861 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14863 echo "$ac_t""no" 1>&6
14866 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14867 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
14868 echo "configure:14869: checking for dnet_ntoa in -ldnet_stub" >&5
14869 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14870 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14871 echo $ac_n "(cached) $ac_c" 1>&6
14873 ac_save_LIBS
="$LIBS"
14874 LIBS
="-ldnet_stub $LIBS"
14875 cat > conftest.
$ac_ext <<EOF
14876 #line 14877 "configure"
14877 #include "confdefs.h"
14878 /* Override any gcc2 internal prototype to avoid an error. */
14879 /* We use char because int might match the return type of a gcc2
14880 builtin and then its argument prototype would still apply. */
14887 if { (eval echo configure
:14888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14889 eval "ac_cv_lib_$ac_lib_var=yes"
14891 echo "configure: failed program was:" >&5
14892 cat conftest.
$ac_ext >&5
14894 eval "ac_cv_lib_$ac_lib_var=no"
14897 LIBS
="$ac_save_LIBS"
14900 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14901 echo "$ac_t""yes" 1>&6
14902 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14904 echo "$ac_t""no" 1>&6
14909 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14910 # to get the SysV transport functions.
14911 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
14913 # The nsl library prevents programs from opening the X display
14914 # on Irix 5.2, according to dickey@clark.net.
14915 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
14916 echo "configure:14917: checking for gethostbyname" >&5
14917 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
14918 echo $ac_n "(cached) $ac_c" 1>&6
14920 cat > conftest.
$ac_ext <<EOF
14921 #line 14922 "configure"
14922 #include "confdefs.h"
14923 /* System header to define __stub macros and hopefully few prototypes,
14924 which can conflict with char gethostbyname(); below. */
14925 #include <assert.h>
14926 /* Override any gcc2 internal prototype to avoid an error. */
14927 /* We use char because int might match the return type of a gcc2
14928 builtin and then its argument prototype would still apply. */
14929 char gethostbyname();
14933 /* The GNU C library defines this for functions which it implements
14934 to always fail with ENOSYS. Some functions are actually named
14935 something starting with __ and the normal name is an alias. */
14936 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
14944 if { (eval echo configure
:14945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14946 eval "ac_cv_func_gethostbyname=yes"
14948 echo "configure: failed program was:" >&5
14949 cat conftest.
$ac_ext >&5
14951 eval "ac_cv_func_gethostbyname=no"
14956 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
14957 echo "$ac_t""yes" 1>&6
14960 echo "$ac_t""no" 1>&6
14963 if test $ac_cv_func_gethostbyname = no
; then
14964 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
14965 echo "configure:14966: checking for gethostbyname in -lnsl" >&5
14966 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
14967 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14968 echo $ac_n "(cached) $ac_c" 1>&6
14970 ac_save_LIBS
="$LIBS"
14972 cat > conftest.
$ac_ext <<EOF
14973 #line 14974 "configure"
14974 #include "confdefs.h"
14975 /* Override any gcc2 internal prototype to avoid an error. */
14976 /* We use char because int might match the return type of a gcc2
14977 builtin and then its argument prototype would still apply. */
14978 char gethostbyname();
14984 if { (eval echo configure
:14985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14986 eval "ac_cv_lib_$ac_lib_var=yes"
14988 echo "configure: failed program was:" >&5
14989 cat conftest.
$ac_ext >&5
14991 eval "ac_cv_lib_$ac_lib_var=no"
14994 LIBS
="$ac_save_LIBS"
14997 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14998 echo "$ac_t""yes" 1>&6
14999 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
15001 echo "$ac_t""no" 1>&6
15006 # lieder@skyler.mavd.honeywell.com says without -lsocket,
15007 # socket/setsockopt and other routines are undefined under SCO ODT
15008 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
15009 # on later versions), says simon@lia.di.epfl.ch: it contains
15010 # gethostby* variants that don't use the nameserver (or something).
15011 # -lsocket must be given before -lnsl if both are needed.
15012 # We assume that if connect needs -lnsl, so does gethostbyname.
15013 echo $ac_n "checking for connect""... $ac_c" 1>&6
15014 echo "configure:15015: checking for connect" >&5
15015 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
15016 echo $ac_n "(cached) $ac_c" 1>&6
15018 cat > conftest.
$ac_ext <<EOF
15019 #line 15020 "configure"
15020 #include "confdefs.h"
15021 /* System header to define __stub macros and hopefully few prototypes,
15022 which can conflict with char connect(); below. */
15023 #include <assert.h>
15024 /* Override any gcc2 internal prototype to avoid an error. */
15025 /* We use char because int might match the return type of a gcc2
15026 builtin and then its argument prototype would still apply. */
15031 /* The GNU C library defines this for functions which it implements
15032 to always fail with ENOSYS. Some functions are actually named
15033 something starting with __ and the normal name is an alias. */
15034 #if defined (__stub_connect) || defined (__stub___connect)
15042 if { (eval echo configure
:15043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15044 eval "ac_cv_func_connect=yes"
15046 echo "configure: failed program was:" >&5
15047 cat conftest.
$ac_ext >&5
15049 eval "ac_cv_func_connect=no"
15054 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
15055 echo "$ac_t""yes" 1>&6
15058 echo "$ac_t""no" 1>&6
15061 if test $ac_cv_func_connect = no
; then
15062 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
15063 echo "configure:15064: checking for connect in -lsocket" >&5
15064 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
15065 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15066 echo $ac_n "(cached) $ac_c" 1>&6
15068 ac_save_LIBS
="$LIBS"
15069 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
15070 cat > conftest.
$ac_ext <<EOF
15071 #line 15072 "configure"
15072 #include "confdefs.h"
15073 /* Override any gcc2 internal prototype to avoid an error. */
15074 /* We use char because int might match the return type of a gcc2
15075 builtin and then its argument prototype would still apply. */
15082 if { (eval echo configure
:15083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15084 eval "ac_cv_lib_$ac_lib_var=yes"
15086 echo "configure: failed program was:" >&5
15087 cat conftest.
$ac_ext >&5
15089 eval "ac_cv_lib_$ac_lib_var=no"
15092 LIBS
="$ac_save_LIBS"
15095 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15096 echo "$ac_t""yes" 1>&6
15097 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
15099 echo "$ac_t""no" 1>&6
15104 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
15105 echo $ac_n "checking for remove""... $ac_c" 1>&6
15106 echo "configure:15107: checking for remove" >&5
15107 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
15108 echo $ac_n "(cached) $ac_c" 1>&6
15110 cat > conftest.
$ac_ext <<EOF
15111 #line 15112 "configure"
15112 #include "confdefs.h"
15113 /* System header to define __stub macros and hopefully few prototypes,
15114 which can conflict with char remove(); below. */
15115 #include <assert.h>
15116 /* Override any gcc2 internal prototype to avoid an error. */
15117 /* We use char because int might match the return type of a gcc2
15118 builtin and then its argument prototype would still apply. */
15123 /* The GNU C library defines this for functions which it implements
15124 to always fail with ENOSYS. Some functions are actually named
15125 something starting with __ and the normal name is an alias. */
15126 #if defined (__stub_remove) || defined (__stub___remove)
15134 if { (eval echo configure
:15135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15136 eval "ac_cv_func_remove=yes"
15138 echo "configure: failed program was:" >&5
15139 cat conftest.
$ac_ext >&5
15141 eval "ac_cv_func_remove=no"
15146 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
15147 echo "$ac_t""yes" 1>&6
15150 echo "$ac_t""no" 1>&6
15153 if test $ac_cv_func_remove = no
; then
15154 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
15155 echo "configure:15156: checking for remove in -lposix" >&5
15156 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
15157 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15158 echo $ac_n "(cached) $ac_c" 1>&6
15160 ac_save_LIBS
="$LIBS"
15161 LIBS
="-lposix $LIBS"
15162 cat > conftest.
$ac_ext <<EOF
15163 #line 15164 "configure"
15164 #include "confdefs.h"
15165 /* Override any gcc2 internal prototype to avoid an error. */
15166 /* We use char because int might match the return type of a gcc2
15167 builtin and then its argument prototype would still apply. */
15174 if { (eval echo configure
:15175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15176 eval "ac_cv_lib_$ac_lib_var=yes"
15178 echo "configure: failed program was:" >&5
15179 cat conftest.
$ac_ext >&5
15181 eval "ac_cv_lib_$ac_lib_var=no"
15184 LIBS
="$ac_save_LIBS"
15187 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15188 echo "$ac_t""yes" 1>&6
15189 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
15191 echo "$ac_t""no" 1>&6
15196 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
15197 echo $ac_n "checking for shmat""... $ac_c" 1>&6
15198 echo "configure:15199: checking for shmat" >&5
15199 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
15200 echo $ac_n "(cached) $ac_c" 1>&6
15202 cat > conftest.
$ac_ext <<EOF
15203 #line 15204 "configure"
15204 #include "confdefs.h"
15205 /* System header to define __stub macros and hopefully few prototypes,
15206 which can conflict with char shmat(); below. */
15207 #include <assert.h>
15208 /* Override any gcc2 internal prototype to avoid an error. */
15209 /* We use char because int might match the return type of a gcc2
15210 builtin and then its argument prototype would still apply. */
15215 /* The GNU C library defines this for functions which it implements
15216 to always fail with ENOSYS. Some functions are actually named
15217 something starting with __ and the normal name is an alias. */
15218 #if defined (__stub_shmat) || defined (__stub___shmat)
15226 if { (eval echo configure
:15227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15228 eval "ac_cv_func_shmat=yes"
15230 echo "configure: failed program was:" >&5
15231 cat conftest.
$ac_ext >&5
15233 eval "ac_cv_func_shmat=no"
15238 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
15239 echo "$ac_t""yes" 1>&6
15242 echo "$ac_t""no" 1>&6
15245 if test $ac_cv_func_shmat = no
; then
15246 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
15247 echo "configure:15248: checking for shmat in -lipc" >&5
15248 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
15249 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15250 echo $ac_n "(cached) $ac_c" 1>&6
15252 ac_save_LIBS
="$LIBS"
15254 cat > conftest.
$ac_ext <<EOF
15255 #line 15256 "configure"
15256 #include "confdefs.h"
15257 /* Override any gcc2 internal prototype to avoid an error. */
15258 /* We use char because int might match the return type of a gcc2
15259 builtin and then its argument prototype would still apply. */
15266 if { (eval echo configure
:15267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15268 eval "ac_cv_lib_$ac_lib_var=yes"
15270 echo "configure: failed program was:" >&5
15271 cat conftest.
$ac_ext >&5
15273 eval "ac_cv_lib_$ac_lib_var=no"
15276 LIBS
="$ac_save_LIBS"
15279 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15280 echo "$ac_t""yes" 1>&6
15281 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
15283 echo "$ac_t""no" 1>&6
15289 # Check for libraries that X11R6 Xt/Xaw programs need.
15290 ac_save_LDFLAGS
="$LDFLAGS"
15291 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
15292 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
15293 # check for ICE first), but we must link in the order -lSM -lICE or
15294 # we get undefined symbols. So assume we have SM if we have ICE.
15295 # These have to be linked with before -lX11, unlike the other
15296 # libraries we check for below, so use a different variable.
15297 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
15298 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
15299 echo "configure:15300: checking for IceConnectionNumber in -lICE" >&5
15300 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
15301 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15302 echo $ac_n "(cached) $ac_c" 1>&6
15304 ac_save_LIBS
="$LIBS"
15305 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
15306 cat > conftest.
$ac_ext <<EOF
15307 #line 15308 "configure"
15308 #include "confdefs.h"
15309 /* Override any gcc2 internal prototype to avoid an error. */
15310 /* We use char because int might match the return type of a gcc2
15311 builtin and then its argument prototype would still apply. */
15312 char IceConnectionNumber();
15315 IceConnectionNumber()
15318 if { (eval echo configure
:15319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15320 eval "ac_cv_lib_$ac_lib_var=yes"
15322 echo "configure: failed program was:" >&5
15323 cat conftest.
$ac_ext >&5
15325 eval "ac_cv_lib_$ac_lib_var=no"
15328 LIBS
="$ac_save_LIBS"
15331 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15332 echo "$ac_t""yes" 1>&6
15333 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
15335 echo "$ac_t""no" 1>&6
15338 LDFLAGS
="$ac_save_LDFLAGS"
15343 if test "$no_x" = "yes"; then
15344 { echo "configure: error: X11 not found" 1>&2; exit 1; }
15347 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
15348 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
15349 AFMINSTALL
=afminstall
15350 COMPILED_X_PROGRAM
=0
15352 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
15353 echo "configure:15354: checking for Motif/Lesstif headers" >&5
15356 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
15358 if test -f "$ac_dir/Xm/Xm.h"; then
15359 ac_find_includes
=$ac_dir
15364 if test "$ac_find_includes" != "" ; then
15365 echo "$ac_t""found in $ac_find_includes" 1>&6
15367 if test "x$ac_find_includes" = "x/usr/include"; then
15368 ac_path_to_include
=""
15370 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
15372 if test $result = 0; then
15373 ac_path_to_include
=""
15375 ac_path_to_include
=" -I$ac_find_includes"
15379 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
15381 cat > conftest.
$ac_ext <<EOF
15382 #line 15383 "configure"
15383 #include "confdefs.h"
15390 version = xmUseVersion;
15394 if { (eval echo configure
:15395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15397 echo "$ac_t""found in default search path" 1>&6
15398 COMPILED_X_PROGRAM
=1
15401 echo "configure: failed program was:" >&5
15402 cat conftest.
$ac_ext >&5
15405 echo "$ac_t""no" 1>&6
15406 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
15413 if test "$COMPILED_X_PROGRAM" = 0; then
15414 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
15415 echo "configure:15416: checking for Motif/Lesstif library" >&5
15418 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15420 for ac_extension
in a so sl dylib
; do
15421 if test -f "$ac_dir/libXm.$ac_extension"; then
15422 ac_find_libraries
=$ac_dir
15428 if test "$ac_find_libraries" != "" ; then
15429 echo "$ac_t""found at $ac_find_libraries" 1>&6
15432 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15434 if test $result = 0; then
15437 ac_path_to_link
=" -L$ac_find_libraries"
15440 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15442 save_CFLAGS
=$CFLAGS
15443 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15445 cat > conftest.
$ac_ext <<EOF
15446 #line 15447 "configure"
15447 #include "confdefs.h"
15454 version = xmUseVersion;
15458 if { (eval echo configure
:15459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15461 echo "$ac_t""found in default search path" 1>&6
15462 COMPILED_X_PROGRAM
=1
15465 echo "configure: failed program was:" >&5
15466 cat conftest.
$ac_ext >&5
15469 echo "$ac_t""no" 1>&6
15470 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
15476 CFLAGS
=$save_CFLAGS
15481 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
15482 echo "configure:15483: checking for Xpm library" >&5
15485 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15487 for ac_extension
in a so sl dylib
; do
15488 if test -f "$ac_dir/libXpm.$ac_extension"; then
15489 ac_find_libraries
=$ac_dir
15495 if test "$ac_find_libraries" != "" ; then
15497 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15499 if test $result = 0; then
15502 ac_path_to_link
=" -L$ac_find_libraries"
15505 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15508 cat >> confdefs.h
<<\EOF
15509 #define wxHAVE_LIB_XPM 1
15512 echo "$ac_t""found at $ac_find_libraries" 1>&6
15514 save_CFLAGS
=$CFLAGS
15515 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15517 cat > conftest.
$ac_ext <<EOF
15518 #line 15519 "configure"
15519 #include "confdefs.h"
15521 #include <X11/xpm.h>
15526 version = XpmLibraryVersion();
15530 if { (eval echo configure
:15531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15534 cat >> confdefs.h
<<\EOF
15535 #define wxHAVE_LIB_XPM 1
15538 echo "$ac_t""found in default search path" 1>&6
15539 COMPILED_X_PROGRAM
=0
15542 echo "configure: failed program was:" >&5
15543 cat conftest.
$ac_ext >&5
15546 echo "$ac_t""no" 1>&6
15547 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
15553 CFLAGS
=$save_CFLAGS
15556 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
15557 echo "configure:15558: checking if we need -lXp and/or -lSM -lICE" >&5
15561 for libp
in "" " -lXp"; do
15562 if test "$libs_found" = "0"; then
15563 for libsm_ice
in " -lSM -lICE"; do
15564 if test "$libs_found" = "0"; then
15566 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
15567 save_CFLAGS
=$CFLAGS
15568 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15570 cat > conftest.
$ac_ext <<EOF
15571 #line 15572 "configure"
15572 #include "confdefs.h"
15575 #include <Xm/List.h>
15579 XmString string = NULL;
15582 XmListAddItem(w, string, position);
15586 if { (eval echo configure
:15587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15590 libsm_ice_link
="$libsm_ice"
15591 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
15595 echo "configure: failed program was:" >&5
15596 cat conftest.
$ac_ext >&5
15604 CFLAGS
=$save_CFLAGS
15610 if test "$libs_found" = "0"; then
15611 echo "$ac_t""can't find the right libraries" 1>&6
15612 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
15615 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
15616 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
15621 if test "$wxUSE_MAC" = 1; then
15622 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefile -I/Developer/Headers/FlatCarbon"
15624 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
15629 if test "$wxUSE_PM" = 1; then
15632 echo "configure: warning: OS/2 PM requires old resource format, re-enabled" 1>&2
15633 wxUSE_PROLOGIO
="yes"
15634 wxUSE_RESOURCES
="yes"
15635 echo "configure: warning: OS/2 threads are not yet supported... disabled" 1>&2
15639 if test "$TOOLKIT" = "PM" ; then
15642 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
15645 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
15647 if test "$wxUSE_UNIVERSAL" = "yes"; then
15648 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
15650 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
15651 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
15653 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
15654 if test "$wxUSE_X11" = 1; then
15655 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
15657 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
15659 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
15662 ALL_OBJECTS
="\$(GUIOBJS)"
15663 ALL_SOURCES
="\$(ALL_SOURCES)"
15664 ALL_HEADERS
="\$(ALL_HEADERS)"
15667 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
15669 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
15670 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
15673 if test "$wxUSE_HTML" = "yes"; then
15674 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
15677 if test "$wxUSE_LIBJPEG" = "builtin" ; then
15678 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
15680 if test "$wxUSE_LIBTIFF" = "builtin" ; then
15681 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
15683 if test "$wxUSE_LIBPNG" = "builtin" ; then
15684 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
15687 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
15688 DISTDIR
="wx\$(TOOLKIT)"
15694 if test "$USE_WIN32" = 1 ; then
15695 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
15696 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
15700 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
15701 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
15704 ALL_SOURCES
="\$(ALL_SOURCES)"
15705 ALL_HEADERS
="\$(ALL_HEADERS)"
15707 PORT_FILES
="\${top_srcdir}/src/files.lst"
15709 GUIDIST
="BASE_DIST"
15714 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
15715 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
15718 if test "$wxUSE_REGEX" = "builtin" ; then
15719 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
15721 if test "$wxUSE_ZLIB" = "builtin" ; then
15722 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
15726 if test "$wxUSE_OPENGL" = "yes"; then
15727 if test "$wxUSE_MAC" = 1; then
15728 OPENGL_LIBS
="-framework OpenGL -framework AGL"
15729 elif test "$wxUSE_MSW" = 1; then
15730 OPENGL_LIBS
="-lopengl32 -lglu32"
15732 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15733 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15734 echo "configure:15735: checking for GL/gl.h" >&5
15735 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15736 echo $ac_n "(cached) $ac_c" 1>&6
15738 cat > conftest.
$ac_ext <<EOF
15739 #line 15740 "configure"
15740 #include "confdefs.h"
15743 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15744 { (eval echo configure
:15745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15745 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15746 if test -z "$ac_err"; then
15748 eval "ac_cv_header_$ac_safe=yes"
15751 echo "configure: failed program was:" >&5
15752 cat conftest.
$ac_ext >&5
15754 eval "ac_cv_header_$ac_safe=no"
15758 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15759 echo "$ac_t""yes" 1>&6
15761 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
15762 echo "configure:15763: checking for -lGL" >&5
15765 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15767 for ac_extension
in a so sl dylib
; do
15768 if test -f "$ac_dir/libGL.$ac_extension"; then
15769 ac_find_libraries
=$ac_dir
15775 if test "$ac_find_libraries" != "" ; then
15777 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15779 if test $result = 0; then
15782 ac_path_to_link
=" -L$ac_find_libraries"
15785 if test "$ac_path_to_link" = " -L/usr/lib" ; then
15786 LDFLAGS_GL
="$LDFLAGS"
15788 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15790 OPENGL_LIBS
="-lGL -lGLU"
15791 echo "$ac_t""yes" 1>&6
15793 echo "$ac_t""no" 1>&6
15794 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
15795 echo "configure:15796: checking for -lMesaGL" >&5
15798 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15800 for ac_extension
in a so sl dylib
; do
15801 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
15802 ac_find_libraries
=$ac_dir
15808 if test "$ac_find_libraries" != "" ; then
15810 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15812 if test $result = 0; then
15815 ac_path_to_link
=" -L$ac_find_libraries"
15818 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15819 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
15820 echo "$ac_t""yes" 1>&6
15822 echo "$ac_t""no" 1>&6
15827 echo "$ac_t""no" 1>&6
15831 if test "x$OPENGL_LIBS" = "x"; then
15832 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
15836 if test "$wxUSE_OPENGL" = "yes"; then
15837 cat >> confdefs.h
<<\EOF
15838 #define wxUSE_OPENGL 1
15841 cat >> confdefs.h
<<\EOF
15842 #define wxUSE_GLCANVAS 1
15845 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15849 if test -z "$TOOLKIT_VPATH" ; then
15850 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
15853 if test -n "$TOOLKIT" ; then
15854 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
15857 lib_unicode_suffix
=
15858 if test "$wxUSE_UNICODE" = "yes"; then
15859 lib_unicode_suffix
=u
15863 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
15867 WX_VERSION_TAG
=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
15869 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
15870 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
15872 if test "$cross_compiling" = "yes"; then
15873 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
15874 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
15877 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
15878 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
15879 WX_LIBRARY_BASENAME
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
15881 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15882 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15884 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
15885 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15886 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
15887 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15890 *-*-cygwin* | *-*-mingw32* )
15894 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
15895 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15896 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15897 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
15898 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
15900 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15901 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15906 if test "$wxUSE_MAC" = 1; then
15907 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.r"
15908 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.rsrc"
15913 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
15914 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
15916 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
15917 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
15919 if test "$wxUSE_OPENGL" = "yes"; then
15920 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
15921 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
15926 if test "$wxUSE_SHARED" = "yes"; then
15928 *-pc-os2_emx | *-pc-os2-emx | \
15931 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
15936 if test "$wxUSE_SHARED" = "yes"; then
15938 if test "$wxUSE_OPENGL" = "yes"; then
15939 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
15940 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
15942 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
15943 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
15946 if test "$GCC" = "yes"; then
15952 found_versioning
=no
15956 if test "x$GCC" != "xyes" ; then
15957 LDFLAGS_VERSIONING
="-M \$(top_builddir)/version-script"
15958 found_versioning
=yes
15963 if test $found_versioning = no
; then
15964 echo $ac_n "checking if the linker accepts --version-script""... $ac_c" 1>&6
15965 echo "configure:15966: checking if the linker accepts --version-script" >&5
15966 if eval "test \"`echo '$''{'wx_cv_version_script'+set}'`\" = set"; then
15967 echo $ac_n "(cached) $ac_c" 1>&6
15970 echo "VER_1 { *; };" >conftest.sym
15971 echo "int main() { return 0; }" >conftest.cpp
15974 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
15975 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'; { (eval echo configure
:15976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } ; then
15976 if test -s conftest.stderr
; then
15977 wx_cv_version_script
=no
15979 wx_cv_version_script
=yes
15982 wx_cv_version_script
=no
15984 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
15988 echo "$ac_t""$wx_cv_version_script" 1>&6
15989 if test $wx_cv_version_script = yes ; then
15990 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)/version-script"
15995 SHARED_LD
="${CXX} -shared -o"
15999 if test "$GCC" = "yes"; then
16000 SHARED_LD
="${CXX} -shared ${PIC_FLAG} -o"
16002 LDFLAGS
="$LDFLAGS -L/usr/lib"
16004 SHARED_LD
="${CXX} -b -o"
16008 if test "$wxUSE_OPENGL" = "yes"; then
16009 WX_ALL_INSTALLED
="preinstall_gl"
16010 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
16012 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16017 if test "$GCC" != "yes"; then
16018 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
16019 echo "configure:16020: checking for Intel compiler" >&5
16020 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
16021 echo $ac_n "(cached) $ac_c" 1>&6
16024 cat > conftest.
$ac_ext <<EOF
16025 #line 16026 "configure"
16026 #include "confdefs.h"
16030 #ifndef __INTEL_COMPILER
16036 if { (eval echo configure
:16037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16040 echo "configure: failed program was:" >&5
16041 cat conftest.
$ac_ext >&5
16050 echo "$ac_t""$wx_cv_prog_icc" 1>&6
16051 if test "$wx_cv_prog_icc" = "yes"; then
16056 if test "$wxUSE_SONAME" = "yes" ; then
16057 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
16058 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
16059 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
16064 if test "$GCC" = yes ; then
16065 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
16067 SHARED_LD
="${CXX} -G -o"
16069 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
16070 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
16075 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
16076 CFLAGS
="$CFLAGS -fno-common"
16077 CXXFLAGS
="$CXXFLAGS -fno-common"
16078 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
16079 PIC_FLAG
="-dynamic -fPIC"
16080 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"
16081 SONAME_FLAGS_GL
=${SONAME_FLAGS}
16085 if test "$GCC" != "yes"; then
16086 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
16087 set dummy makeC
++SharedLib
; ac_word
=$2
16088 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16089 echo "configure:16090: checking for $ac_word" >&5
16090 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
16091 echo $ac_n "(cached) $ac_c" 1>&6
16093 if test -n "$AIX_CXX_LD"; then
16094 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
16096 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16098 for ac_dir
in $ac_dummy; do
16099 test -z "$ac_dir" && ac_dir
=.
16100 if test -f $ac_dir/$ac_word; then
16101 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
16106 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
16109 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
16110 if test -n "$AIX_CXX_LD"; then
16111 echo "$ac_t""$AIX_CXX_LD" 1>&6
16113 echo "$ac_t""no" 1>&6
16117 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
16121 *-*-cygwin* | *-*-mingw32* )
16122 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
16124 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
16125 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
16127 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
16129 if test "$wxUSE_OPENGL" = "yes"; then
16130 WX_ALL_INSTALLED
="preinstall_gl"
16131 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
16133 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16138 SHARED_LD
="${LD} -shared -o"
16142 if test "$GCC" != "yes"; then
16147 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
16155 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
16158 if test "x$WX_TARGET_LIBRARY" = "x"; then
16159 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
16160 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
16163 WX_TARGET_LIBRARY_TYPE
="so"
16164 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
16167 if test "$wxUSE_SHARED" = "no"; then
16169 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
16170 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16173 if test "$wxUSE_MAC" = 1; then
16174 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16177 if test "$wxUSE_OPENGL" = "yes"; then
16178 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
16179 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
16181 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
16184 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
16185 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
16187 WX_TARGET_LIBRARY_TYPE
="a"
16188 INSTALL_LIBRARY
='$(INSTALL_DATA)'
16195 if test "$wxUSE_MAC" = 1; then
16196 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
16197 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
16198 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
16199 # Extract the first word of "Rez", so it can be a program name with args.
16200 set dummy Rez
; ac_word
=$2
16201 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16202 echo "configure:16203: checking for $ac_word" >&5
16203 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16204 echo $ac_n "(cached) $ac_c" 1>&6
16206 if test -n "$RESCOMP"; then
16207 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
16209 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16211 for ac_dir
in $ac_dummy; do
16212 test -z "$ac_dir" && ac_dir
=.
16213 if test -f $ac_dir/$ac_word; then
16214 ac_cv_prog_RESCOMP
="Rez"
16219 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
16222 RESCOMP
="$ac_cv_prog_RESCOMP"
16223 if test -n "$RESCOMP"; then
16224 echo "$ac_t""$RESCOMP" 1>&6
16226 echo "$ac_t""no" 1>&6
16229 # Extract the first word of "DeRez", so it can be a program name with args.
16230 set dummy DeRez
; ac_word
=$2
16231 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16232 echo "configure:16233: checking for $ac_word" >&5
16233 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16234 echo $ac_n "(cached) $ac_c" 1>&6
16236 if test -n "$DEREZ"; then
16237 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
16239 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16241 for ac_dir
in $ac_dummy; do
16242 test -z "$ac_dir" && ac_dir
=.
16243 if test -f $ac_dir/$ac_word; then
16244 ac_cv_prog_DEREZ
="DeRez"
16249 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
16252 DEREZ
="$ac_cv_prog_DEREZ"
16253 if test -n "$DEREZ"; then
16254 echo "$ac_t""$DEREZ" 1>&6
16256 echo "$ac_t""no" 1>&6
16259 MACOSX_BUNDLE
="bundle"
16260 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
16261 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
16263 if test "$wxUSE_PM" = 1; then
16264 LIBWXMACRESCOMP
="emxbind -ep \$(BIN_PROGRAM)"
16269 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
16270 echo "configure:16271: checking for ANSI C header files" >&5
16271 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
16272 echo $ac_n "(cached) $ac_c" 1>&6
16274 cat > conftest.
$ac_ext <<EOF
16275 #line 16276 "configure"
16276 #include "confdefs.h"
16277 #include <stdlib.h>
16278 #include <stdarg.h>
16279 #include <string.h>
16282 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16283 { (eval echo configure
:16284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16284 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16285 if test -z "$ac_err"; then
16287 ac_cv_header_stdc
=yes
16290 echo "configure: failed program was:" >&5
16291 cat conftest.
$ac_ext >&5
16293 ac_cv_header_stdc
=no
16297 if test $ac_cv_header_stdc = yes; then
16298 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16299 cat > conftest.
$ac_ext <<EOF
16300 #line 16301 "configure"
16301 #include "confdefs.h"
16302 #include <string.h>
16304 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16305 egrep "memchr" >/dev
/null
2>&1; then
16309 ac_cv_header_stdc
=no
16315 if test $ac_cv_header_stdc = yes; then
16316 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16317 cat > conftest.
$ac_ext <<EOF
16318 #line 16319 "configure"
16319 #include "confdefs.h"
16320 #include <stdlib.h>
16322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16323 egrep "free" >/dev
/null
2>&1; then
16327 ac_cv_header_stdc
=no
16333 if test $ac_cv_header_stdc = yes; then
16334 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16335 if test "$cross_compiling" = yes; then
16338 cat > conftest.
$ac_ext <<EOF
16339 #line 16340 "configure"
16340 #include "confdefs.h"
16342 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16343 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16344 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16345 int main () { int i; for (i = 0; i < 256; i++)
16346 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
16350 if { (eval echo configure
:16351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
16354 echo "configure: failed program was:" >&5
16355 cat conftest.
$ac_ext >&5
16357 ac_cv_header_stdc
=no
16365 echo "$ac_t""$ac_cv_header_stdc" 1>&6
16366 if test $ac_cv_header_stdc = yes; then
16367 cat >> confdefs.h
<<\EOF
16368 #define STDC_HEADERS 1
16373 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
16374 echo "configure:16375: checking for mode_t" >&5
16375 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
16376 echo $ac_n "(cached) $ac_c" 1>&6
16378 cat > conftest.
$ac_ext <<EOF
16379 #line 16380 "configure"
16380 #include "confdefs.h"
16381 #include <sys/types.h>
16383 #include <stdlib.h>
16384 #include <stddef.h>
16387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16388 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16390 ac_cv_type_mode_t
=yes
16393 ac_cv_type_mode_t
=no
16398 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
16399 if test $ac_cv_type_mode_t = no
; then
16400 cat >> confdefs.h
<<\EOF
16406 echo $ac_n "checking for off_t""... $ac_c" 1>&6
16407 echo "configure:16408: checking for off_t" >&5
16408 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
16409 echo $ac_n "(cached) $ac_c" 1>&6
16411 cat > conftest.
$ac_ext <<EOF
16412 #line 16413 "configure"
16413 #include "confdefs.h"
16414 #include <sys/types.h>
16416 #include <stdlib.h>
16417 #include <stddef.h>
16420 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16421 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16423 ac_cv_type_off_t
=yes
16426 ac_cv_type_off_t
=no
16431 echo "$ac_t""$ac_cv_type_off_t" 1>&6
16432 if test $ac_cv_type_off_t = no
; then
16433 cat >> confdefs.h
<<\EOF
16439 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
16440 echo "configure:16441: checking for pid_t" >&5
16441 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
16442 echo $ac_n "(cached) $ac_c" 1>&6
16444 cat > conftest.
$ac_ext <<EOF
16445 #line 16446 "configure"
16446 #include "confdefs.h"
16447 #include <sys/types.h>
16449 #include <stdlib.h>
16450 #include <stddef.h>
16453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16454 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16456 ac_cv_type_pid_t
=yes
16459 ac_cv_type_pid_t
=no
16464 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
16465 if test $ac_cv_type_pid_t = no
; then
16466 cat >> confdefs.h
<<\EOF
16472 echo $ac_n "checking for size_t""... $ac_c" 1>&6
16473 echo "configure:16474: checking for size_t" >&5
16474 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
16475 echo $ac_n "(cached) $ac_c" 1>&6
16477 cat > conftest.
$ac_ext <<EOF
16478 #line 16479 "configure"
16479 #include "confdefs.h"
16480 #include <sys/types.h>
16482 #include <stdlib.h>
16483 #include <stddef.h>
16486 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16487 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16489 ac_cv_type_size_t
=yes
16492 ac_cv_type_size_t
=no
16497 echo "$ac_t""$ac_cv_type_size_t" 1>&6
16498 if test $ac_cv_type_size_t = no
; then
16499 cat >> confdefs.h
<<\EOF
16500 #define size_t unsigned
16505 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
16506 echo "configure:16507: checking for uid_t in sys/types.h" >&5
16507 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
16508 echo $ac_n "(cached) $ac_c" 1>&6
16510 cat > conftest.
$ac_ext <<EOF
16511 #line 16512 "configure"
16512 #include "confdefs.h"
16513 #include <sys/types.h>
16515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16516 egrep "uid_t" >/dev
/null
2>&1; then
16518 ac_cv_type_uid_t
=yes
16521 ac_cv_type_uid_t
=no
16527 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
16528 if test $ac_cv_type_uid_t = no
; then
16529 cat >> confdefs.h
<<\EOF
16533 cat >> confdefs.h
<<\EOF
16542 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16543 ac_cpp
='$CXXCPP $CPPFLAGS'
16544 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16545 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16546 cross_compiling
=$ac_cv_prog_cxx_cross
16548 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
16549 echo "configure:16550: checking if size_t is unsigned int" >&5
16550 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
16551 echo $ac_n "(cached) $ac_c" 1>&6
16553 cat > conftest.
$ac_ext <<EOF
16554 #line 16555 "configure"
16555 #include "confdefs.h"
16556 #include <stddef.h>
16561 struct Foo { void foo(size_t); void foo(unsigned int); };
16567 if { (eval echo configure
:16568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16569 wx_cv_size_t_is_uint
=no
16571 echo "configure: failed program was:" >&5
16572 cat conftest.
$ac_ext >&5
16574 wx_cv_size_t_is_uint
=yes
16581 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
16583 if test "$wx_cv_size_t_is_uint" = "yes"; then
16584 cat >> confdefs.h
<<\EOF
16585 #define wxSIZE_T_IS_UINT 1
16589 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
16590 echo "configure:16591: checking if size_t is unsigned long" >&5
16591 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
16592 echo $ac_n "(cached) $ac_c" 1>&6
16594 cat > conftest.
$ac_ext <<EOF
16595 #line 16596 "configure"
16596 #include "confdefs.h"
16597 #include <stddef.h>
16602 struct Foo { void foo(size_t); void foo(unsigned long); };
16608 if { (eval echo configure
:16609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16610 wx_cv_size_t_is_ulong
=no
16612 echo "configure: failed program was:" >&5
16613 cat conftest.
$ac_ext >&5
16615 wx_cv_size_t_is_ulong
=yes
16622 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
16624 if test "$wx_cv_size_t_is_ulong" = "yes"; then
16625 cat >> confdefs.h
<<\EOF
16626 #define wxSIZE_T_IS_ULONG 1
16633 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16634 ac_cpp
='$CPP $CPPFLAGS'
16635 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16636 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16637 cross_compiling
=$ac_cv_prog_cc_cross
16641 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
16642 echo "configure:16643: checking for pw_gecos in struct passwd" >&5
16643 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
16644 echo $ac_n "(cached) $ac_c" 1>&6
16647 cat > conftest.
$ac_ext <<EOF
16648 #line 16649 "configure"
16649 #include "confdefs.h"
16659 if { (eval echo configure
:16660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16662 wx_cv_struct_pw_gecos
=yes
16665 echo "configure: failed program was:" >&5
16666 cat conftest.
$ac_ext >&5
16669 wx_cv_struct_pw_gecos
=no
16678 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
16680 if test "$wx_cv_struct_pw_gecos" = "yes"; then
16681 cat >> confdefs.h
<<\EOF
16682 #define HAVE_PW_GECOS 1
16688 if test "$wx_cv_sizeof_wchar_t" != "0"; then
16689 cat >> confdefs.h
<<\EOF
16690 #define wxUSE_WCHAR_T 1
16696 for ac_func
in wcslen
16698 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16699 echo "configure:16700: checking for $ac_func" >&5
16700 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16701 echo $ac_n "(cached) $ac_c" 1>&6
16703 cat > conftest.
$ac_ext <<EOF
16704 #line 16705 "configure"
16705 #include "confdefs.h"
16706 /* System header to define __stub macros and hopefully few prototypes,
16707 which can conflict with char $ac_func(); below. */
16708 #include <assert.h>
16709 /* Override any gcc2 internal prototype to avoid an error. */
16710 /* We use char because int might match the return type of a gcc2
16711 builtin and then its argument prototype would still apply. */
16716 /* The GNU C library defines this for functions which it implements
16717 to always fail with ENOSYS. Some functions are actually named
16718 something starting with __ and the normal name is an alias. */
16719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16727 if { (eval echo configure
:16728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16729 eval "ac_cv_func_$ac_func=yes"
16731 echo "configure: failed program was:" >&5
16732 cat conftest.
$ac_ext >&5
16734 eval "ac_cv_func_$ac_func=no"
16739 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16740 echo "$ac_t""yes" 1>&6
16741 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16742 cat >> confdefs.h
<<EOF
16743 #define $ac_tr_func 1
16747 echo "$ac_t""no" 1>&6
16752 if test "$WCSLEN_FOUND" = 0; then
16753 if test "$TOOLKIT" = "MSW"; then
16754 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
16755 echo "configure:16756: checking for wcslen in -lmsvcrt" >&5
16756 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
16757 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16758 echo $ac_n "(cached) $ac_c" 1>&6
16760 ac_save_LIBS
="$LIBS"
16761 LIBS
="-lmsvcrt $LIBS"
16762 cat > conftest.
$ac_ext <<EOF
16763 #line 16764 "configure"
16764 #include "confdefs.h"
16765 /* Override any gcc2 internal prototype to avoid an error. */
16766 /* We use char because int might match the return type of a gcc2
16767 builtin and then its argument prototype would still apply. */
16774 if { (eval echo configure
:16775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16776 eval "ac_cv_lib_$ac_lib_var=yes"
16778 echo "configure: failed program was:" >&5
16779 cat conftest.
$ac_ext >&5
16781 eval "ac_cv_lib_$ac_lib_var=no"
16784 LIBS
="$ac_save_LIBS"
16787 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16788 echo "$ac_t""yes" 1>&6
16791 echo "$ac_t""no" 1>&6
16795 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
16796 echo "configure:16797: checking for wcslen in -lw" >&5
16797 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
16798 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16799 echo $ac_n "(cached) $ac_c" 1>&6
16801 ac_save_LIBS
="$LIBS"
16803 cat > conftest.
$ac_ext <<EOF
16804 #line 16805 "configure"
16805 #include "confdefs.h"
16806 /* Override any gcc2 internal prototype to avoid an error. */
16807 /* We use char because int might match the return type of a gcc2
16808 builtin and then its argument prototype would still apply. */
16815 if { (eval echo configure
:16816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16817 eval "ac_cv_lib_$ac_lib_var=yes"
16819 echo "configure: failed program was:" >&5
16820 cat conftest.
$ac_ext >&5
16822 eval "ac_cv_lib_$ac_lib_var=no"
16825 LIBS
="$ac_save_LIBS"
16828 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16829 echo "$ac_t""yes" 1>&6
16835 echo "$ac_t""no" 1>&6
16841 if test "$WCSLEN_FOUND" = 1; then
16842 cat >> confdefs.h
<<\EOF
16843 #define HAVE_WCSLEN 1
16848 for ac_func
in wcsrtombs
16850 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16851 echo "configure:16852: checking for $ac_func" >&5
16852 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16853 echo $ac_n "(cached) $ac_c" 1>&6
16855 cat > conftest.
$ac_ext <<EOF
16856 #line 16857 "configure"
16857 #include "confdefs.h"
16858 /* System header to define __stub macros and hopefully few prototypes,
16859 which can conflict with char $ac_func(); below. */
16860 #include <assert.h>
16861 /* Override any gcc2 internal prototype to avoid an error. */
16862 /* We use char because int might match the return type of a gcc2
16863 builtin and then its argument prototype would still apply. */
16868 /* The GNU C library defines this for functions which it implements
16869 to always fail with ENOSYS. Some functions are actually named
16870 something starting with __ and the normal name is an alias. */
16871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16879 if { (eval echo configure
:16880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16881 eval "ac_cv_func_$ac_func=yes"
16883 echo "configure: failed program was:" >&5
16884 cat conftest.
$ac_ext >&5
16886 eval "ac_cv_func_$ac_func=no"
16891 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16892 echo "$ac_t""yes" 1>&6
16893 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16894 cat >> confdefs.h
<<EOF
16895 #define $ac_tr_func 1
16899 echo "$ac_t""no" 1>&6
16904 echo "configure: warning: Wide character support is unavailable" 1>&2
16909 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16910 ac_cpp
='$CXXCPP $CPPFLAGS'
16911 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16912 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16913 cross_compiling
=$ac_cv_prog_cxx_cross
16916 for ac_func
in vsnprintf
16918 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16919 echo "configure:16920: checking for $ac_func" >&5
16920 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16921 echo $ac_n "(cached) $ac_c" 1>&6
16923 cat > conftest.
$ac_ext <<EOF
16924 #line 16925 "configure"
16925 #include "confdefs.h"
16926 /* System header to define __stub macros and hopefully few prototypes,
16927 which can conflict with char $ac_func(); below. */
16928 #include <assert.h>
16929 /* Override any gcc2 internal prototype to avoid an error. */
16933 /* We use char because int might match the return type of a gcc2
16934 builtin and then its argument prototype would still apply. */
16939 /* The GNU C library defines this for functions which it implements
16940 to always fail with ENOSYS. Some functions are actually named
16941 something starting with __ and the normal name is an alias. */
16942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16950 if { (eval echo configure
:16951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16952 eval "ac_cv_func_$ac_func=yes"
16954 echo "configure: failed program was:" >&5
16955 cat conftest.
$ac_ext >&5
16957 eval "ac_cv_func_$ac_func=no"
16962 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16963 echo "$ac_t""yes" 1>&6
16964 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16965 cat >> confdefs.h
<<EOF
16966 #define $ac_tr_func 1
16970 echo "$ac_t""no" 1>&6
16975 if test "$wxUSE_UNICODE" = yes; then
16976 for ac_func
in fputwc wprintf vswprintf
16978 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16979 echo "configure:16980: checking for $ac_func" >&5
16980 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16981 echo $ac_n "(cached) $ac_c" 1>&6
16983 cat > conftest.
$ac_ext <<EOF
16984 #line 16985 "configure"
16985 #include "confdefs.h"
16986 /* System header to define __stub macros and hopefully few prototypes,
16987 which can conflict with char $ac_func(); below. */
16988 #include <assert.h>
16989 /* Override any gcc2 internal prototype to avoid an error. */
16993 /* We use char because int might match the return type of a gcc2
16994 builtin and then its argument prototype would still apply. */
16999 /* The GNU C library defines this for functions which it implements
17000 to always fail with ENOSYS. Some functions are actually named
17001 something starting with __ and the normal name is an alias. */
17002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17010 if { (eval echo configure
:17011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17012 eval "ac_cv_func_$ac_func=yes"
17014 echo "configure: failed program was:" >&5
17015 cat conftest.
$ac_ext >&5
17017 eval "ac_cv_func_$ac_func=no"
17022 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17023 echo "$ac_t""yes" 1>&6
17024 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17025 cat >> confdefs.h
<<EOF
17026 #define $ac_tr_func 1
17030 echo "$ac_t""no" 1>&6
17034 echo $ac_n "checking for _vsnwprintf""... $ac_c" 1>&6
17035 echo "configure:17036: checking for _vsnwprintf" >&5
17036 cat > conftest.
$ac_ext <<EOF
17037 #line 17038 "configure"
17038 #include "confdefs.h"
17044 if { (eval echo configure
:17045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17046 echo "$ac_t""yes" 1>&6
17047 cat >> confdefs.h
<<\EOF
17048 #define HAVE__VSNWPRINTF 1
17052 echo "configure: failed program was:" >&5
17053 cat conftest.
$ac_ext >&5
17055 echo "$ac_t""no" 1>&6
17061 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17062 ac_cpp
='$CPP $CPPFLAGS'
17063 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17064 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17065 cross_compiling
=$ac_cv_prog_cc_cross
17070 if test "$TOOLKIT" != "MSW"; then
17075 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17076 ac_cpp
='$CXXCPP $CPPFLAGS'
17077 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17078 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17079 cross_compiling
=$ac_cv_prog_cxx_cross
17083 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
17084 if test "${with_libiconv_prefix+set}" = set; then
17085 withval
="$with_libiconv_prefix"
17087 for dir
in `echo "$withval" | tr : ' '`; do
17088 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
17089 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
17095 echo $ac_n "checking for iconv""... $ac_c" 1>&6
17096 echo "configure:17097: checking for iconv" >&5
17097 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
17098 echo $ac_n "(cached) $ac_c" 1>&6
17101 am_cv_func_iconv
="no, consider installing GNU libiconv"
17103 cat > conftest.
$ac_ext <<EOF
17104 #line 17105 "configure"
17105 #include "confdefs.h"
17106 #include <stdlib.h>
17109 iconv_t cd = iconv_open("","");
17110 iconv(cd,NULL,NULL,NULL,NULL);
17114 if { (eval echo configure
:17115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17116 am_cv_func_iconv
=yes
17118 echo "configure: failed program was:" >&5
17119 cat conftest.
$ac_ext >&5
17122 if test "$am_cv_func_iconv" != yes; then
17123 am_save_LIBS
="$LIBS"
17124 LIBS
="$LIBS -liconv"
17125 cat > conftest.
$ac_ext <<EOF
17126 #line 17127 "configure"
17127 #include "confdefs.h"
17128 #include <stdlib.h>
17131 iconv_t cd = iconv_open("","");
17132 iconv(cd,NULL,NULL,NULL,NULL);
17136 if { (eval echo configure
:17137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17138 am_cv_lib_iconv
=yes
17139 am_cv_func_iconv
=yes
17141 echo "configure: failed program was:" >&5
17142 cat conftest.
$ac_ext >&5
17145 LIBS
="$am_save_LIBS"
17150 echo "$ac_t""$am_cv_func_iconv" 1>&6
17151 if test "$am_cv_func_iconv" = yes; then
17152 cat >> confdefs.h
<<\EOF
17153 #define HAVE_ICONV 1
17156 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
17157 echo "configure:17158: checking if iconv needs const" >&5
17158 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
17159 echo $ac_n "(cached) $ac_c" 1>&6
17161 cat > conftest.
$ac_ext <<EOF
17162 #line 17163 "configure"
17163 #include "confdefs.h"
17165 #include <stdlib.h>
17171 #if defined(__STDC__) || defined(__cplusplus)
17172 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17181 if { (eval echo configure
:17182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17183 wx_cv_func_iconv_const
="no"
17185 echo "configure: failed program was:" >&5
17186 cat conftest.
$ac_ext >&5
17188 wx_cv_func_iconv_const
="yes"
17195 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
17198 if test "x$wx_cv_func_iconv_const" = "xyes"; then
17199 iconv_const
="const"
17202 cat >> confdefs.h
<<EOF
17203 #define ICONV_CONST $iconv_const
17208 if test "$am_cv_lib_iconv" = yes; then
17213 LIBS
="$LIBICONV $LIBS"
17215 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17216 ac_cpp
='$CPP $CPPFLAGS'
17217 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17218 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17219 cross_compiling
=$ac_cv_prog_cc_cross
17222 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
17223 for ac_func
in sigaction
17225 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17226 echo "configure:17227: checking for $ac_func" >&5
17227 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17228 echo $ac_n "(cached) $ac_c" 1>&6
17230 cat > conftest.
$ac_ext <<EOF
17231 #line 17232 "configure"
17232 #include "confdefs.h"
17233 /* System header to define __stub macros and hopefully few prototypes,
17234 which can conflict with char $ac_func(); below. */
17235 #include <assert.h>
17236 /* Override any gcc2 internal prototype to avoid an error. */
17237 /* We use char because int might match the return type of a gcc2
17238 builtin and then its argument prototype would still apply. */
17243 /* The GNU C library defines this for functions which it implements
17244 to always fail with ENOSYS. Some functions are actually named
17245 something starting with __ and the normal name is an alias. */
17246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17254 if { (eval echo configure
:17255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17256 eval "ac_cv_func_$ac_func=yes"
17258 echo "configure: failed program was:" >&5
17259 cat conftest.
$ac_ext >&5
17261 eval "ac_cv_func_$ac_func=no"
17266 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17267 echo "$ac_t""yes" 1>&6
17268 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17269 cat >> confdefs.h
<<EOF
17270 #define $ac_tr_func 1
17274 echo "$ac_t""no" 1>&6
17279 if test "$ac_cv_func_sigaction" = "no"; then
17280 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
17281 wxUSE_ON_FATAL_EXCEPTION
=no
17284 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17287 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17288 ac_cpp
='$CXXCPP $CPPFLAGS'
17289 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17290 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17291 cross_compiling
=$ac_cv_prog_cxx_cross
17294 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
17295 echo "configure:17296: checking for sa_handler type" >&5
17296 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
17297 echo $ac_n "(cached) $ac_c" 1>&6
17300 cat > conftest.
$ac_ext <<EOF
17301 #line 17302 "configure"
17302 #include "confdefs.h"
17303 #include <signal.h>
17306 extern void testSigHandler(int);
17308 struct sigaction sa;
17309 sa.sa_handler = testSigHandler;
17313 if { (eval echo configure
:17314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17316 wx_cv_type_sa_handler
=int
17319 echo "configure: failed program was:" >&5
17320 cat conftest.
$ac_ext >&5
17323 wx_cv_type_sa_handler
=void
17330 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
17333 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17334 ac_cpp
='$CPP $CPPFLAGS'
17335 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17336 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17337 cross_compiling
=$ac_cv_prog_cc_cross
17340 cat >> confdefs.h
<<EOF
17341 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
17347 for ac_func
in mkstemp mktemp
17349 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17350 echo "configure:17351: checking for $ac_func" >&5
17351 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17352 echo $ac_n "(cached) $ac_c" 1>&6
17354 cat > conftest.
$ac_ext <<EOF
17355 #line 17356 "configure"
17356 #include "confdefs.h"
17357 /* System header to define __stub macros and hopefully few prototypes,
17358 which can conflict with char $ac_func(); below. */
17359 #include <assert.h>
17360 /* Override any gcc2 internal prototype to avoid an error. */
17361 /* We use char because int might match the return type of a gcc2
17362 builtin and then its argument prototype would still apply. */
17367 /* The GNU C library defines this for functions which it implements
17368 to always fail with ENOSYS. Some functions are actually named
17369 something starting with __ and the normal name is an alias. */
17370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17378 if { (eval echo configure
:17379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17380 eval "ac_cv_func_$ac_func=yes"
17382 echo "configure: failed program was:" >&5
17383 cat conftest.
$ac_ext >&5
17385 eval "ac_cv_func_$ac_func=no"
17390 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17391 echo "$ac_t""yes" 1>&6
17392 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17393 cat >> confdefs.h
<<EOF
17394 #define $ac_tr_func 1
17398 echo "$ac_t""no" 1>&6
17403 echo $ac_n "checking for statfs""... $ac_c" 1>&6
17404 echo "configure:17405: checking for statfs" >&5
17405 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
17406 echo $ac_n "(cached) $ac_c" 1>&6
17408 cat > conftest.
$ac_ext <<EOF
17409 #line 17410 "configure"
17410 #include "confdefs.h"
17412 #if defined(__BSD__)
17413 #include <sys/param.h>
17414 #include <sys/mount.h>
17416 #include <sys/vfs.h>
17430 if { (eval echo configure
:17431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17433 wx_cv_func_statfs
=yes
17436 echo "configure: failed program was:" >&5
17437 cat conftest.
$ac_ext >&5
17440 wx_cv_func_statfs
=no
17448 echo "$ac_t""$wx_cv_func_statfs" 1>&6
17450 if test "$wx_cv_func_statfs" = "yes"; then
17451 cat >> confdefs.h
<<\EOF
17452 #define HAVE_STATFS 1
17456 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
17457 echo "configure:17458: checking for statvfs" >&5
17458 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
17459 echo $ac_n "(cached) $ac_c" 1>&6
17461 cat > conftest.
$ac_ext <<EOF
17462 #line 17463 "configure"
17463 #include "confdefs.h"
17465 #include <sys/statvfs.h>
17478 if { (eval echo configure
:17479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17481 wx_cv_func_statvfs
=yes
17484 echo "configure: failed program was:" >&5
17485 cat conftest.
$ac_ext >&5
17488 wx_cv_func_statvfs
=no
17496 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
17498 if test "$wx_cv_func_statvfs" = "yes"; then
17499 cat >> confdefs.h
<<\EOF
17500 #define HAVE_STATVFS 1
17504 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
17508 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17509 for ac_func
in fcntl flock
17511 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17512 echo "configure:17513: checking for $ac_func" >&5
17513 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17514 echo $ac_n "(cached) $ac_c" 1>&6
17516 cat > conftest.
$ac_ext <<EOF
17517 #line 17518 "configure"
17518 #include "confdefs.h"
17519 /* System header to define __stub macros and hopefully few prototypes,
17520 which can conflict with char $ac_func(); below. */
17521 #include <assert.h>
17522 /* Override any gcc2 internal prototype to avoid an error. */
17523 /* We use char because int might match the return type of a gcc2
17524 builtin and then its argument prototype would still apply. */
17529 /* The GNU C library defines this for functions which it implements
17530 to always fail with ENOSYS. Some functions are actually named
17531 something starting with __ and the normal name is an alias. */
17532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17540 if { (eval echo configure
:17541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17542 eval "ac_cv_func_$ac_func=yes"
17544 echo "configure: failed program was:" >&5
17545 cat conftest.
$ac_ext >&5
17547 eval "ac_cv_func_$ac_func=no"
17552 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17553 echo "$ac_t""yes" 1>&6
17554 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17555 cat >> confdefs.h
<<EOF
17556 #define $ac_tr_func 1
17560 echo "$ac_t""no" 1>&6
17565 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
17566 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
17567 wxUSE_SNGLINST_CHECKER
=no
17571 for ac_func
in timegm
17573 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17574 echo "configure:17575: checking for $ac_func" >&5
17575 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17576 echo $ac_n "(cached) $ac_c" 1>&6
17578 cat > conftest.
$ac_ext <<EOF
17579 #line 17580 "configure"
17580 #include "confdefs.h"
17581 /* System header to define __stub macros and hopefully few prototypes,
17582 which can conflict with char $ac_func(); below. */
17583 #include <assert.h>
17584 /* Override any gcc2 internal prototype to avoid an error. */
17585 /* We use char because int might match the return type of a gcc2
17586 builtin and then its argument prototype would still apply. */
17591 /* The GNU C library defines this for functions which it implements
17592 to always fail with ENOSYS. Some functions are actually named
17593 something starting with __ and the normal name is an alias. */
17594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17602 if { (eval echo configure
:17603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17604 eval "ac_cv_func_$ac_func=yes"
17606 echo "configure: failed program was:" >&5
17607 cat conftest.
$ac_ext >&5
17609 eval "ac_cv_func_$ac_func=no"
17614 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17615 echo "$ac_t""yes" 1>&6
17616 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17617 cat >> confdefs.h
<<EOF
17618 #define $ac_tr_func 1
17622 echo "$ac_t""no" 1>&6
17627 for ac_func
in putenv setenv
17629 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17630 echo "configure:17631: checking for $ac_func" >&5
17631 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17632 echo $ac_n "(cached) $ac_c" 1>&6
17634 cat > conftest.
$ac_ext <<EOF
17635 #line 17636 "configure"
17636 #include "confdefs.h"
17637 /* System header to define __stub macros and hopefully few prototypes,
17638 which can conflict with char $ac_func(); below. */
17639 #include <assert.h>
17640 /* Override any gcc2 internal prototype to avoid an error. */
17641 /* We use char because int might match the return type of a gcc2
17642 builtin and then its argument prototype would still apply. */
17647 /* The GNU C library defines this for functions which it implements
17648 to always fail with ENOSYS. Some functions are actually named
17649 something starting with __ and the normal name is an alias. */
17650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17658 if { (eval echo configure
:17659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17660 eval "ac_cv_func_$ac_func=yes"
17662 echo "configure: failed program was:" >&5
17663 cat conftest.
$ac_ext >&5
17665 eval "ac_cv_func_$ac_func=no"
17670 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17671 echo "$ac_t""yes" 1>&6
17672 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17673 cat >> confdefs.h
<<EOF
17674 #define $ac_tr_func 1
17678 echo "$ac_t""no" 1>&6
17683 HAVE_SOME_SLEEP_FUNC
=0
17684 if test "$USE_BEOS" = 1; then
17685 cat >> confdefs.h
<<\EOF
17686 #define HAVE_SLEEP 1
17689 HAVE_SOME_SLEEP_FUNC
=1
17692 if test "$USE_DARWIN" = 1; then
17693 cat >> confdefs.h
<<\EOF
17694 #define HAVE_USLEEP 1
17697 HAVE_SOME_SLEEP_FUNC
=1
17700 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
17702 for ac_func
in nanosleep
17704 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17705 echo "configure:17706: checking for $ac_func" >&5
17706 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17707 echo $ac_n "(cached) $ac_c" 1>&6
17709 cat > conftest.
$ac_ext <<EOF
17710 #line 17711 "configure"
17711 #include "confdefs.h"
17712 /* System header to define __stub macros and hopefully few prototypes,
17713 which can conflict with char $ac_func(); below. */
17714 #include <assert.h>
17715 /* Override any gcc2 internal prototype to avoid an error. */
17716 /* We use char because int might match the return type of a gcc2
17717 builtin and then its argument prototype would still apply. */
17722 /* The GNU C library defines this for functions which it implements
17723 to always fail with ENOSYS. Some functions are actually named
17724 something starting with __ and the normal name is an alias. */
17725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17733 if { (eval echo configure
:17734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17735 eval "ac_cv_func_$ac_func=yes"
17737 echo "configure: failed program was:" >&5
17738 cat conftest.
$ac_ext >&5
17740 eval "ac_cv_func_$ac_func=no"
17745 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17746 echo "$ac_t""yes" 1>&6
17747 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17748 cat >> confdefs.h
<<EOF
17749 #define $ac_tr_func 1
17751 cat >> confdefs.h
<<\EOF
17752 #define HAVE_NANOSLEEP 1
17756 echo "$ac_t""no" 1>&6
17757 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
17758 echo "configure:17759: checking for nanosleep in -lposix4" >&5
17759 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
17760 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17761 echo $ac_n "(cached) $ac_c" 1>&6
17763 ac_save_LIBS
="$LIBS"
17764 LIBS
="-lposix4 $LIBS"
17765 cat > conftest.
$ac_ext <<EOF
17766 #line 17767 "configure"
17767 #include "confdefs.h"
17768 /* Override any gcc2 internal prototype to avoid an error. */
17769 /* We use char because int might match the return type of a gcc2
17770 builtin and then its argument prototype would still apply. */
17777 if { (eval echo configure
:17778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17779 eval "ac_cv_lib_$ac_lib_var=yes"
17781 echo "configure: failed program was:" >&5
17782 cat conftest.
$ac_ext >&5
17784 eval "ac_cv_lib_$ac_lib_var=no"
17787 LIBS
="$ac_save_LIBS"
17790 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17791 echo "$ac_t""yes" 1>&6
17793 cat >> confdefs.h
<<\EOF
17794 #define HAVE_NANOSLEEP 1
17797 POSIX4_LINK
=" -lposix4"
17800 echo "$ac_t""no" 1>&6
17802 for ac_func
in usleep
17804 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17805 echo "configure:17806: checking for $ac_func" >&5
17806 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17807 echo $ac_n "(cached) $ac_c" 1>&6
17809 cat > conftest.
$ac_ext <<EOF
17810 #line 17811 "configure"
17811 #include "confdefs.h"
17812 /* System header to define __stub macros and hopefully few prototypes,
17813 which can conflict with char $ac_func(); below. */
17814 #include <assert.h>
17815 /* Override any gcc2 internal prototype to avoid an error. */
17816 /* We use char because int might match the return type of a gcc2
17817 builtin and then its argument prototype would still apply. */
17822 /* The GNU C library defines this for functions which it implements
17823 to always fail with ENOSYS. Some functions are actually named
17824 something starting with __ and the normal name is an alias. */
17825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17833 if { (eval echo configure
:17834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17835 eval "ac_cv_func_$ac_func=yes"
17837 echo "configure: failed program was:" >&5
17838 cat conftest.
$ac_ext >&5
17840 eval "ac_cv_func_$ac_func=no"
17845 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17846 echo "$ac_t""yes" 1>&6
17847 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17848 cat >> confdefs.h
<<EOF
17849 #define $ac_tr_func 1
17851 cat >> confdefs.h
<<\EOF
17852 #define HAVE_USLEEP 1
17856 echo "$ac_t""no" 1>&6
17857 echo "configure: warning: wxSleep() function will not work" 1>&2
17873 for ac_func
in uname gethostname
17875 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17876 echo "configure:17877: checking for $ac_func" >&5
17877 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17878 echo $ac_n "(cached) $ac_c" 1>&6
17880 cat > conftest.
$ac_ext <<EOF
17881 #line 17882 "configure"
17882 #include "confdefs.h"
17883 /* System header to define __stub macros and hopefully few prototypes,
17884 which can conflict with char $ac_func(); below. */
17885 #include <assert.h>
17886 /* Override any gcc2 internal prototype to avoid an error. */
17887 /* We use char because int might match the return type of a gcc2
17888 builtin and then its argument prototype would still apply. */
17893 /* The GNU C library defines this for functions which it implements
17894 to always fail with ENOSYS. Some functions are actually named
17895 something starting with __ and the normal name is an alias. */
17896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17904 if { (eval echo configure
:17905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17906 eval "ac_cv_func_$ac_func=yes"
17908 echo "configure: failed program was:" >&5
17909 cat conftest.
$ac_ext >&5
17911 eval "ac_cv_func_$ac_func=no"
17916 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17917 echo "$ac_t""yes" 1>&6
17918 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17919 cat >> confdefs.h
<<EOF
17920 #define $ac_tr_func 1
17924 echo "$ac_t""no" 1>&6
17931 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17932 ac_cpp
='$CXXCPP $CPPFLAGS'
17933 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17934 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17935 cross_compiling
=$ac_cv_prog_cxx_cross
17938 for ac_func
in strtok_r
17940 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17941 echo "configure:17942: checking for $ac_func" >&5
17942 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17943 echo $ac_n "(cached) $ac_c" 1>&6
17945 cat > conftest.
$ac_ext <<EOF
17946 #line 17947 "configure"
17947 #include "confdefs.h"
17948 /* System header to define __stub macros and hopefully few prototypes,
17949 which can conflict with char $ac_func(); below. */
17950 #include <assert.h>
17951 /* Override any gcc2 internal prototype to avoid an error. */
17955 /* We use char because int might match the return type of a gcc2
17956 builtin and then its argument prototype would still apply. */
17961 /* The GNU C library defines this for functions which it implements
17962 to always fail with ENOSYS. Some functions are actually named
17963 something starting with __ and the normal name is an alias. */
17964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17972 if { (eval echo configure
:17973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17974 eval "ac_cv_func_$ac_func=yes"
17976 echo "configure: failed program was:" >&5
17977 cat conftest.
$ac_ext >&5
17979 eval "ac_cv_func_$ac_func=no"
17984 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17985 echo "$ac_t""yes" 1>&6
17986 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17987 cat >> confdefs.h
<<EOF
17988 #define $ac_tr_func 1
17992 echo "$ac_t""no" 1>&6
17998 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17999 ac_cpp
='$CPP $CPPFLAGS'
18000 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18001 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18002 cross_compiling
=$ac_cv_prog_cc_cross
18006 for ac_func
in inet_addr
18008 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18009 echo "configure:18010: checking for $ac_func" >&5
18010 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18011 echo $ac_n "(cached) $ac_c" 1>&6
18013 cat > conftest.
$ac_ext <<EOF
18014 #line 18015 "configure"
18015 #include "confdefs.h"
18016 /* System header to define __stub macros and hopefully few prototypes,
18017 which can conflict with char $ac_func(); below. */
18018 #include <assert.h>
18019 /* Override any gcc2 internal prototype to avoid an error. */
18020 /* We use char because int might match the return type of a gcc2
18021 builtin and then its argument prototype would still apply. */
18026 /* The GNU C library defines this for functions which it implements
18027 to always fail with ENOSYS. Some functions are actually named
18028 something starting with __ and the normal name is an alias. */
18029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18037 if { (eval echo configure
:18038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18039 eval "ac_cv_func_$ac_func=yes"
18041 echo "configure: failed program was:" >&5
18042 cat conftest.
$ac_ext >&5
18044 eval "ac_cv_func_$ac_func=no"
18049 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18050 echo "$ac_t""yes" 1>&6
18051 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18052 cat >> confdefs.h
<<EOF
18053 #define $ac_tr_func 1
18055 cat >> confdefs.h
<<\EOF
18056 #define HAVE_INET_ADDR 1
18060 echo "$ac_t""no" 1>&6
18061 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
18062 echo "configure:18063: checking for inet_addr in -lnsl" >&5
18063 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
18064 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18065 echo $ac_n "(cached) $ac_c" 1>&6
18067 ac_save_LIBS
="$LIBS"
18069 cat > conftest.
$ac_ext <<EOF
18070 #line 18071 "configure"
18071 #include "confdefs.h"
18072 /* Override any gcc2 internal prototype to avoid an error. */
18073 /* We use char because int might match the return type of a gcc2
18074 builtin and then its argument prototype would still apply. */
18081 if { (eval echo configure
:18082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18083 eval "ac_cv_lib_$ac_lib_var=yes"
18085 echo "configure: failed program was:" >&5
18086 cat conftest.
$ac_ext >&5
18088 eval "ac_cv_lib_$ac_lib_var=no"
18091 LIBS
="$ac_save_LIBS"
18094 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18095 echo "$ac_t""yes" 1>&6
18098 echo "$ac_t""no" 1>&6
18099 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
18100 echo "configure:18101: checking for inet_addr in -lresolv" >&5
18101 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
18102 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18103 echo $ac_n "(cached) $ac_c" 1>&6
18105 ac_save_LIBS
="$LIBS"
18106 LIBS
="-lresolv $LIBS"
18107 cat > conftest.
$ac_ext <<EOF
18108 #line 18109 "configure"
18109 #include "confdefs.h"
18110 /* Override any gcc2 internal prototype to avoid an error. */
18111 /* We use char because int might match the return type of a gcc2
18112 builtin and then its argument prototype would still apply. */
18119 if { (eval echo configure
:18120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18121 eval "ac_cv_lib_$ac_lib_var=yes"
18123 echo "configure: failed program was:" >&5
18124 cat conftest.
$ac_ext >&5
18126 eval "ac_cv_lib_$ac_lib_var=no"
18129 LIBS
="$ac_save_LIBS"
18132 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18133 echo "$ac_t""yes" 1>&6
18136 echo "$ac_t""no" 1>&6
18137 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
18138 echo "configure:18139: checking for inet_addr in -lsocket" >&5
18139 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
18140 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18141 echo $ac_n "(cached) $ac_c" 1>&6
18143 ac_save_LIBS
="$LIBS"
18144 LIBS
="-lsocket $LIBS"
18145 cat > conftest.
$ac_ext <<EOF
18146 #line 18147 "configure"
18147 #include "confdefs.h"
18148 /* Override any gcc2 internal prototype to avoid an error. */
18149 /* We use char because int might match the return type of a gcc2
18150 builtin and then its argument prototype would still apply. */
18157 if { (eval echo configure
:18158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18159 eval "ac_cv_lib_$ac_lib_var=yes"
18161 echo "configure: failed program was:" >&5
18162 cat conftest.
$ac_ext >&5
18164 eval "ac_cv_lib_$ac_lib_var=no"
18167 LIBS
="$ac_save_LIBS"
18170 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18171 echo "$ac_t""yes" 1>&6
18175 echo "$ac_t""no" 1>&6
18190 for ac_func
in inet_aton
18192 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18193 echo "configure:18194: checking for $ac_func" >&5
18194 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18195 echo $ac_n "(cached) $ac_c" 1>&6
18197 cat > conftest.
$ac_ext <<EOF
18198 #line 18199 "configure"
18199 #include "confdefs.h"
18200 /* System header to define __stub macros and hopefully few prototypes,
18201 which can conflict with char $ac_func(); below. */
18202 #include <assert.h>
18203 /* Override any gcc2 internal prototype to avoid an error. */
18204 /* We use char because int might match the return type of a gcc2
18205 builtin and then its argument prototype would still apply. */
18210 /* The GNU C library defines this for functions which it implements
18211 to always fail with ENOSYS. Some functions are actually named
18212 something starting with __ and the normal name is an alias. */
18213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18221 if { (eval echo configure
:18222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18223 eval "ac_cv_func_$ac_func=yes"
18225 echo "configure: failed program was:" >&5
18226 cat conftest.
$ac_ext >&5
18228 eval "ac_cv_func_$ac_func=no"
18233 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18234 echo "$ac_t""yes" 1>&6
18235 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18236 cat >> confdefs.h
<<EOF
18237 #define $ac_tr_func 1
18239 cat >> confdefs.h
<<\EOF
18240 #define HAVE_INET_ATON 1
18244 echo "$ac_t""no" 1>&6
18245 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
18246 echo "configure:18247: checking for inet_aton in -l$INET_LINK" >&5
18247 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
18248 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18249 echo $ac_n "(cached) $ac_c" 1>&6
18251 ac_save_LIBS
="$LIBS"
18252 LIBS
="-l$INET_LINK $LIBS"
18253 cat > conftest.
$ac_ext <<EOF
18254 #line 18255 "configure"
18255 #include "confdefs.h"
18256 /* Override any gcc2 internal prototype to avoid an error. */
18257 /* We use char because int might match the return type of a gcc2
18258 builtin and then its argument prototype would still apply. */
18265 if { (eval echo configure
:18266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18267 eval "ac_cv_lib_$ac_lib_var=yes"
18269 echo "configure: failed program was:" >&5
18270 cat conftest.
$ac_ext >&5
18272 eval "ac_cv_lib_$ac_lib_var=no"
18275 LIBS
="$ac_save_LIBS"
18278 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18279 echo "$ac_t""yes" 1>&6
18280 cat >> confdefs.h
<<\EOF
18281 #define HAVE_INET_ATON 1
18285 echo "$ac_t""no" 1>&6
18293 if test "x$INET_LINK" != "x"; then
18294 cat >> confdefs.h
<<\EOF
18295 #define HAVE_INET_ADDR 1
18298 INET_LINK
=" -l$INET_LINK"
18304 cat > confcache
<<\EOF
18305 # This file is a shell script that caches the results of configure
18306 # tests run on this system so they can be shared between configure
18307 # scripts and configure runs. It is not useful on other systems.
18308 # If it contains results you don't want to keep, you may remove or edit it.
18310 # By default, configure uses ./config.cache as the cache file,
18311 # creating it if it does not exist already. You can give configure
18312 # the --cache-file=FILE option to use a different cache file; that is
18313 # what configure does when it calls configure scripts in
18314 # subdirectories, so they share the cache.
18315 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18316 # config.status only pays attention to the cache file if you give it the
18317 # --recheck option to rerun configure.
18320 # The following way of writing the cache mishandles newlines in values,
18321 # but we know of no workaround that is simple, portable, and efficient.
18322 # So, don't put newlines in cache variables' values.
18323 # Ultrix sh set writes to stderr and can't be redirected directly,
18324 # and sets the high bit in the cache file unless we assign to the vars.
18326 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18328 # `set' does not quote correctly, so add quotes (double-quote substitution
18329 # turns \\\\ into \\, and sed turns \\ into \).
18331 -e "s/'/'\\\\''/g" \
18332 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18335 # `set' quotes correctly as required by POSIX, so do not add quotes.
18336 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18339 if cmp -s $cache_file confcache
; then
18342 if test -w $cache_file; then
18343 echo "updating cache $cache_file"
18344 cat confcache
> $cache_file
18346 echo "not updating unwritable cache $cache_file"
18354 if test "$TOOLKIT" != "MSW"; then
18360 if test "$wxUSE_THREADS" = "yes" ; then
18361 if test "$wxUSE_WINE" = 1 ; then
18362 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
18364 elif test "$USE_BEOS" = 1; then
18365 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
18370 if test "$wxUSE_THREADS" = "yes" ; then
18373 THREAD_OPTS
="-pthread"
18375 *-*-solaris2* | *-*-sunos4* )
18376 if test "x$GCC" = "xyes"; then
18377 THREAD_OPTS
="-pthreads $THREAD_OPTS"
18379 THREAD_OPTS
="-mt $THREAD_OPTS"
18383 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
18385 *-*-darwin* | *-*-cygwin* )
18389 THREAD_OPTS
="pthreads"
18393 THREAD_OPTS
="$THREAD_OPTS pthread none"
18396 for flag
in $THREAD_OPTS; do
18399 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
18400 echo "configure:18401: checking whether pthreads work without any flags" >&5
18404 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
18405 echo "configure:18406: checking whether pthreads work with $flag" >&5
18406 THREADS_CFLAGS
="$flag"
18410 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
18411 echo "configure:18412: checking for the pthreads library -l$flag" >&5
18412 THREADS_LINK
="-l$flag"
18417 save_CFLAGS
="$CFLAGS"
18418 LIBS
="$THREADS_LINK $LIBS"
18419 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
18421 cat > conftest.
$ac_ext <<EOF
18422 #line 18423 "configure"
18423 #include "confdefs.h"
18424 #include <pthread.h>
18426 pthread_create(0,0,0,0);
18429 if { (eval echo configure
:18430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18433 echo "configure: failed program was:" >&5
18434 cat conftest.
$ac_ext >&5
18439 CFLAGS
="$save_CFLAGS"
18441 echo "$ac_t""$THREADS_OK" 1>&6
18442 if test "x$THREADS_OK" = "xyes"; then
18450 if test "x$THREADS_OK" != "xyes"; then
18452 echo "configure: warning: No thread support on this system... disabled" 1>&2
18454 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
18455 LIBS
="$THREADS_LINK $LIBS"
18457 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
18458 echo "configure:18459: checking if more special flags are required for pthreads" >&5
18462 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
18463 flag
="-D_THREAD_SAFE"
18466 flag
="-D_THREAD_SAFE"
18469 flag
="-D_REENTRANT"
18471 *solaris
* | alpha
*-osf*)
18472 flag
="-D_REENTRANT"
18475 echo "$ac_t""${flag}" 1>&6
18476 if test "x$flag" != xno
; then
18477 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
18480 if test "x$THREADS_CFLAGS" != "x"; then
18481 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
18482 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
18487 if test "$wxUSE_THREADS" = "yes" ; then
18488 for ac_func
in thr_setconcurrency
18490 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18491 echo "configure:18492: checking for $ac_func" >&5
18492 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18493 echo $ac_n "(cached) $ac_c" 1>&6
18495 cat > conftest.
$ac_ext <<EOF
18496 #line 18497 "configure"
18497 #include "confdefs.h"
18498 /* System header to define __stub macros and hopefully few prototypes,
18499 which can conflict with char $ac_func(); below. */
18500 #include <assert.h>
18501 /* Override any gcc2 internal prototype to avoid an error. */
18502 /* We use char because int might match the return type of a gcc2
18503 builtin and then its argument prototype would still apply. */
18508 /* The GNU C library defines this for functions which it implements
18509 to always fail with ENOSYS. Some functions are actually named
18510 something starting with __ and the normal name is an alias. */
18511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18519 if { (eval echo configure
:18520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18521 eval "ac_cv_func_$ac_func=yes"
18523 echo "configure: failed program was:" >&5
18524 cat conftest.
$ac_ext >&5
18526 eval "ac_cv_func_$ac_func=no"
18531 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18532 echo "$ac_t""yes" 1>&6
18533 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18534 cat >> confdefs.h
<<EOF
18535 #define $ac_tr_func 1
18539 echo "$ac_t""no" 1>&6
18544 for ac_hdr
in sched.h
18546 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18547 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18548 echo "configure:18549: checking for $ac_hdr" >&5
18549 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18550 echo $ac_n "(cached) $ac_c" 1>&6
18552 cat > conftest.
$ac_ext <<EOF
18553 #line 18554 "configure"
18554 #include "confdefs.h"
18557 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18558 { (eval echo configure
:18559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18559 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18560 if test -z "$ac_err"; then
18562 eval "ac_cv_header_$ac_safe=yes"
18565 echo "configure: failed program was:" >&5
18566 cat conftest.
$ac_ext >&5
18568 eval "ac_cv_header_$ac_safe=no"
18572 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18573 echo "$ac_t""yes" 1>&6
18574 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18575 cat >> confdefs.h
<<EOF
18576 #define $ac_tr_hdr 1
18580 echo "$ac_t""no" 1>&6
18584 if test "$ac_cv_header_sched_h" = "yes"; then
18585 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
18586 echo "configure:18587: checking for sched_yield" >&5
18587 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
18588 echo $ac_n "(cached) $ac_c" 1>&6
18590 cat > conftest.
$ac_ext <<EOF
18591 #line 18592 "configure"
18592 #include "confdefs.h"
18593 /* System header to define __stub macros and hopefully few prototypes,
18594 which can conflict with char sched_yield(); below. */
18595 #include <assert.h>
18596 /* Override any gcc2 internal prototype to avoid an error. */
18597 /* We use char because int might match the return type of a gcc2
18598 builtin and then its argument prototype would still apply. */
18599 char sched_yield();
18603 /* The GNU C library defines this for functions which it implements
18604 to always fail with ENOSYS. Some functions are actually named
18605 something starting with __ and the normal name is an alias. */
18606 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
18614 if { (eval echo configure
:18615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18616 eval "ac_cv_func_sched_yield=yes"
18618 echo "configure: failed program was:" >&5
18619 cat conftest.
$ac_ext >&5
18621 eval "ac_cv_func_sched_yield=no"
18626 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
18627 echo "$ac_t""yes" 1>&6
18628 cat >> confdefs.h
<<\EOF
18629 #define HAVE_SCHED_YIELD 1
18633 echo "$ac_t""no" 1>&6
18635 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
18636 echo "configure:18637: checking for sched_yield in -lposix4" >&5
18637 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
18638 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18639 echo $ac_n "(cached) $ac_c" 1>&6
18641 ac_save_LIBS
="$LIBS"
18642 LIBS
="-lposix4 $LIBS"
18643 cat > conftest.
$ac_ext <<EOF
18644 #line 18645 "configure"
18645 #include "confdefs.h"
18646 /* Override any gcc2 internal prototype to avoid an error. */
18647 /* We use char because int might match the return type of a gcc2
18648 builtin and then its argument prototype would still apply. */
18649 char sched_yield();
18655 if { (eval echo configure
:18656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18657 eval "ac_cv_lib_$ac_lib_var=yes"
18659 echo "configure: failed program was:" >&5
18660 cat conftest.
$ac_ext >&5
18662 eval "ac_cv_lib_$ac_lib_var=no"
18665 LIBS
="$ac_save_LIBS"
18668 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18669 echo "$ac_t""yes" 1>&6
18670 cat >> confdefs.h
<<\EOF
18671 #define HAVE_SCHED_YIELD 1
18673 POSIX4_LINK
=" -lposix4"
18675 echo "$ac_t""no" 1>&6
18676 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
18687 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
18688 echo "configure:18689: checking for pthread_attr_getschedpolicy" >&5
18689 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
18690 echo $ac_n "(cached) $ac_c" 1>&6
18692 cat > conftest.
$ac_ext <<EOF
18693 #line 18694 "configure"
18694 #include "confdefs.h"
18695 /* System header to define __stub macros and hopefully few prototypes,
18696 which can conflict with char pthread_attr_getschedpolicy(); below. */
18697 #include <assert.h>
18698 /* Override any gcc2 internal prototype to avoid an error. */
18699 /* We use char because int might match the return type of a gcc2
18700 builtin and then its argument prototype would still apply. */
18701 char pthread_attr_getschedpolicy();
18705 /* The GNU C library defines this for functions which it implements
18706 to always fail with ENOSYS. Some functions are actually named
18707 something starting with __ and the normal name is an alias. */
18708 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
18711 pthread_attr_getschedpolicy();
18716 if { (eval echo configure
:18717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18718 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
18720 echo "configure: failed program was:" >&5
18721 cat conftest.
$ac_ext >&5
18723 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
18728 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
18729 echo "$ac_t""yes" 1>&6
18730 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
18731 echo "configure:18732: checking for pthread_attr_setschedparam" >&5
18732 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
18733 echo $ac_n "(cached) $ac_c" 1>&6
18735 cat > conftest.
$ac_ext <<EOF
18736 #line 18737 "configure"
18737 #include "confdefs.h"
18738 /* System header to define __stub macros and hopefully few prototypes,
18739 which can conflict with char pthread_attr_setschedparam(); below. */
18740 #include <assert.h>
18741 /* Override any gcc2 internal prototype to avoid an error. */
18742 /* We use char because int might match the return type of a gcc2
18743 builtin and then its argument prototype would still apply. */
18744 char pthread_attr_setschedparam();
18748 /* The GNU C library defines this for functions which it implements
18749 to always fail with ENOSYS. Some functions are actually named
18750 something starting with __ and the normal name is an alias. */
18751 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
18754 pthread_attr_setschedparam();
18759 if { (eval echo configure
:18760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18761 eval "ac_cv_func_pthread_attr_setschedparam=yes"
18763 echo "configure: failed program was:" >&5
18764 cat conftest.
$ac_ext >&5
18766 eval "ac_cv_func_pthread_attr_setschedparam=no"
18771 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
18772 echo "$ac_t""yes" 1>&6
18773 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
18774 echo "configure:18775: checking for sched_get_priority_max" >&5
18775 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
18776 echo $ac_n "(cached) $ac_c" 1>&6
18778 cat > conftest.
$ac_ext <<EOF
18779 #line 18780 "configure"
18780 #include "confdefs.h"
18781 /* System header to define __stub macros and hopefully few prototypes
18783 echo "$ac_t""no" 1>&6
18784 which can conflict with char sched_get_priority_max(); below. */
18785 #include <assert.h>
18786 /* Override any gcc2 internal prototype to avoid an error. */
18787 /* We use char because int might match the return type of a gcc2
18788 builtin and then its argument prototype would still apply. */
18789 char sched_get_priority_max();
18793 /* The GNU C library defines this for functions which it implements
18794 to always fail with ENOSYS. Some functions are actually named
18795 something starting with __ and the normal name is an alias. */
18796 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
18799 sched_get_priority_max();
18804 if { (eval echo configure
:18805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18806 eval "ac_cv_func_sched_get_priority_max=yes"
18808 echo "configure: failed program was:" >&5
18809 cat conftest.
$ac_ext >&5
18811 eval "ac_cv_func_sched_get_priority_max=no"
18816 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
18817 echo "$ac_t""yes" 1>&6
18820 echo "$ac_t""no" 1>&6
18821 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
18822 echo "configure:18823: checking for sched_get_priority_max in -lposix4" >&5
18823 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
18824 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18825 echo $ac_n "(cached) $ac_c" 1>&6
18827 ac_save_LIBS
="$LIBS"
18828 LIBS
="-lposix4 $LIBS"
18829 cat > conftest.
$ac_ext <<EOF
18830 #line 18831 "configure"
18831 #include "confdefs.h"
18832 /* Override any gcc2 internal prototype to avoid an error. */
18833 /* We use char because int might match the return type of a gcc2
18834 builtin and then its argument prototype would still apply. */
18835 char sched_get_priority_max();
18838 sched_get_priority_max()
18841 if { (eval echo configure
:18842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18843 eval "ac_cv_lib_$ac_lib_var=yes"
18845 echo "configure: failed program was:" >&5
18846 cat conftest.
$ac_ext >&5
18848 eval "ac_cv_lib_$ac_lib_var=no"
18851 LIBS
="$ac_save_LIBS"
18854 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18855 echo "$ac_t""yes" 1>&6
18858 POSIX4_LINK
=" -lposix4"
18861 echo "$ac_t""no" 1>&6
18869 echo "$ac_t""no" 1>&6
18876 if test "$HAVE_PRIOR_FUNCS" = 1; then
18877 cat >> confdefs.h
<<\EOF
18878 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
18882 echo "configure: warning: Setting thread priority will not work" 1>&2
18885 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
18886 echo "configure:18887: checking for pthread_cancel" >&5
18887 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
18888 echo $ac_n "(cached) $ac_c" 1>&6
18890 cat > conftest.
$ac_ext <<EOF
18891 #line 18892 "configure"
18892 #include "confdefs.h"
18893 /* System header to define __stub macros and hopefully few prototypes,
18894 which can conflict with char pthread_cancel(); below. */
18895 #include <assert.h>
18896 /* Override any gcc2 internal prototype to avoid an error. */
18897 /* We use char because int might match the return type of a gcc2
18898 builtin and then its argument prototype would still apply. */
18899 char pthread_cancel();
18903 /* The GNU C library defines this for functions which it implements
18904 to always fail with ENOSYS. Some functions are actually named
18905 something starting with __ and the normal name is an alias. */
18906 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
18914 if { (eval echo configure
:18915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18916 eval "ac_cv_func_pthread_cancel=yes"
18918 echo "configure: failed program was:" >&5
18919 cat conftest.
$ac_ext >&5
18921 eval "ac_cv_func_pthread_cancel=no"
18926 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
18927 echo "$ac_t""yes" 1>&6
18928 cat >> confdefs.h
<<\EOF
18929 #define HAVE_PTHREAD_CANCEL 1
18933 echo "$ac_t""no" 1>&6
18934 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
18938 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
18939 echo "configure:18940: checking for pthread_cleanup_push/pop" >&5
18940 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
18941 echo $ac_n "(cached) $ac_c" 1>&6
18944 cat > conftest.
$ac_ext <<EOF
18945 #line 18946 "configure"
18946 #include "confdefs.h"
18947 #include <pthread.h>
18950 pthread_cleanup_push(NULL, NULL);
18951 pthread_cleanup_pop(0);
18955 if { (eval echo configure
:18956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18958 wx_cv_func_pthread_cleanup_push
=yes
18961 echo "configure: failed program was:" >&5
18962 cat conftest.
$ac_ext >&5
18965 wx_cv_func_pthread_cleanup_push
=no
18972 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
18974 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
18975 cat >> confdefs.h
<<\EOF
18976 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
18982 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
18983 echo "configure:18984: checking for pthread_mutexattr_t" >&5
18984 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
18985 echo $ac_n "(cached) $ac_c" 1>&6
18988 cat > conftest.
$ac_ext <<EOF
18989 #line 18990 "configure"
18990 #include "confdefs.h"
18991 #include <pthread.h>
18994 pthread_mutexattr_t attr;
18995 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
18999 if { (eval echo configure
:19000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19002 wx_cv_type_pthread_mutexattr_t
=yes
19005 echo "configure: failed program was:" >&5
19006 cat conftest.
$ac_ext >&5
19009 wx_cv_type_pthread_mutexattr_t
=no
19017 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
19019 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
19020 cat >> confdefs.h
<<\EOF
19021 #define HAVE_PTHREAD_MUTEXATTR_T 1
19025 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
19026 echo "configure:19027: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
19027 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
19028 echo $ac_n "(cached) $ac_c" 1>&6
19031 cat > conftest.
$ac_ext <<EOF
19032 #line 19033 "configure"
19033 #include "confdefs.h"
19034 #include <pthread.h>
19037 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
19041 if { (eval echo configure
:19042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19044 wx_cv_type_pthread_rec_mutex_init
=yes
19047 echo "configure: failed program was:" >&5
19048 cat conftest.
$ac_ext >&5
19051 wx_cv_type_pthread_rec_mutex_init
=no
19059 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
19060 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
19061 cat >> confdefs.h
<<\EOF
19062 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
19066 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
19072 if test "$wxUSE_THREADS" = "yes" ; then
19075 echo $ac_n "checking if compiler supports -mthreads""... $ac_c" 1>&6
19076 echo "configure:19077: checking if compiler supports -mthreads" >&5
19077 if eval "test \"`echo '$''{'wx_cv_cflags_mthread'+set}'`\" = set"; then
19078 echo $ac_n "(cached) $ac_c" 1>&6
19081 CFLAGS_OLD
="$CFLAGS"
19082 CFLAGS
="$CFLAGS -mthreads"
19083 cat > conftest.
$ac_ext <<EOF
19084 #line 19085 "configure"
19085 #include "confdefs.h"
19091 if { (eval echo configure
:19092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19093 wx_cv_cflags_mthread
=yes
19095 echo "configure: failed program was:" >&5
19096 cat conftest.
$ac_ext >&5
19098 wx_cv_cflags_mthread
=no
19106 echo "$ac_t""$wx_cv_cflags_mthread" 1>&6
19108 if test "$wx_cv_cflags_mthread" = "yes"; then
19109 CXXFLAGS
="$CXXFLAGS -mthreads"
19110 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
19111 LDFLAGS
="$LDFLAGS -mthreads"
19113 CFLAGS
="$CFLAGS_OLD"
19120 if test "$wxUSE_THREADS" = "yes"; then
19121 cat >> confdefs.h
<<\EOF
19122 #define wxUSE_THREADS 1
19126 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
19128 if test "$ac_cv_func_strtok_r" = "yes"; then
19129 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
19130 echo "configure:19131: checking if -D_REENTRANT is needed" >&5
19131 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
19132 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
19133 echo "$ac_t""yes" 1>&6
19135 echo "$ac_t""no" 1>&6
19140 if test "$WXGTK20" = 1 ; then
19141 cat >> confdefs.h
<<EOF
19142 #define __WXGTK20__ $WXGTK20
19148 if test "$WXGTK12" = 1 ; then
19149 cat >> confdefs.h
<<EOF
19150 #define __WXGTK12__ $WXGTK12
19155 if test "$WXGTK127" = 1 ; then
19156 cat >> confdefs.h
<<EOF
19157 #define __WXGTK127__ $WXGTK127
19164 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
19169 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
19170 wxUSE_DEBUG_INFO
=yes
19174 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
19175 cat >> confdefs.h
<<\EOF
19179 WXDEBUG_DEFINE
="-D__WXDEBUG__"
19181 if test "$wxUSE_GTK" = 1 ; then
19182 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
19186 if test "$wxUSE_MEM_TRACING" = "yes" ; then
19187 cat >> confdefs.h
<<\EOF
19188 #define wxUSE_MEMORY_TRACING 1
19191 cat >> confdefs.h
<<\EOF
19192 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
19195 cat >> confdefs.h
<<\EOF
19196 #define wxUSE_DEBUG_NEW_ALWAYS 1
19199 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
19202 if test "$wxUSE_DMALLOC" = "yes" ; then
19203 DMALLOC_LIBS
="-ldmalloc"
19207 if test "$wxUSE_PROFILE" = "yes" ; then
19212 CODE_GEN_FLAGS_CXX
=
19213 if test "$GCC" = "yes" ; then
19214 if test "$wxUSE_NO_RTTI" = "yes" ; then
19215 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
19217 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
19218 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
19220 if test "$wxUSE_PERMISSIVE" = "yes" ; then
19221 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
19223 if test "$USE_WIN32" = 1 ; then
19224 # I'm not even really sure what this was ever added to solve,
19225 # but someone added it for mingw native builds, so I guess
19226 # they had a reason, right??
19227 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
19232 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
19235 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
19240 if test "$wxUSE_OPTIMISE" = "no" ; then
19243 if test "$GCC" = yes ; then
19246 i586
-*-*|i686
-*-* )
19247 OPTIMISE
="${OPTIMISE} "
19255 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
19256 cat >> confdefs.h
<<\EOF
19257 #define WXWIN_COMPATIBILITY_2 1
19261 WXWIN_COMPATIBILITY_2_2
="yes"
19264 if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
19265 cat >> confdefs.h
<<\EOF
19266 #define WXWIN_COMPATIBILITY_2_2 1
19272 if test "$wxUSE_GUI" = "yes"; then
19273 cat >> confdefs.h
<<\EOF
19274 #define wxUSE_GUI 1
19279 cat >> confdefs.h
<<\EOF
19280 #define wxUSE_NOGUI 1
19286 if test "$wxUSE_UNIX" = "yes"; then
19287 cat >> confdefs.h
<<\EOF
19288 #define wxUSE_UNIX 1
19294 if test "$wxUSE_APPLE_IEEE" = "yes"; then
19295 cat >> confdefs.h
<<\EOF
19296 #define wxUSE_APPLE_IEEE 1
19301 if test "$wxUSE_TIMER" = "yes"; then
19302 cat >> confdefs.h
<<\EOF
19303 #define wxUSE_TIMER 1
19308 if test "$wxUSE_WAVE" = "yes"; then
19309 cat >> confdefs.h
<<\EOF
19310 #define wxUSE_WAVE 1
19315 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
19316 cat >> confdefs.h
<<\EOF
19317 #define wxUSE_CMDLINE_PARSER 1
19322 if test "$wxUSE_STOPWATCH" = "yes"; then
19323 cat >> confdefs.h
<<\EOF
19324 #define wxUSE_STOPWATCH 1
19329 if test "$wxUSE_DATETIME" = "yes"; then
19330 cat >> confdefs.h
<<\EOF
19331 #define wxUSE_DATETIME 1
19336 if test "$wxUSE_TIMEDATE" = "yes"; then
19337 cat >> confdefs.h
<<\EOF
19338 #define wxUSE_TIMEDATE 1
19343 if test "$wxUSE_FILE" = "yes"; then
19344 cat >> confdefs.h
<<\EOF
19345 #define wxUSE_FILE 1
19350 if test "$wxUSE_FFILE" = "yes"; then
19351 cat >> confdefs.h
<<\EOF
19352 #define wxUSE_FFILE 1
19357 if test "$wxUSE_FILESYSTEM" = "yes"; then
19358 cat >> confdefs.h
<<\EOF
19359 #define wxUSE_FILESYSTEM 1
19364 if test "$wxUSE_FS_INET" = "yes"; then
19365 cat >> confdefs.h
<<\EOF
19366 #define wxUSE_FS_INET 1
19371 if test "$wxUSE_FS_ZIP" = "yes"; then
19372 cat >> confdefs.h
<<\EOF
19373 #define wxUSE_FS_ZIP 1
19378 if test "$wxUSE_ZIPSTREAM" = "yes"; then
19379 cat >> confdefs.h
<<\EOF
19380 #define wxUSE_ZIPSTREAM 1
19385 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
19386 cat >> confdefs.h
<<\EOF
19387 #define wxUSE_ON_FATAL_EXCEPTION 1
19392 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
19393 cat >> confdefs.h
<<\EOF
19394 #define wxUSE_SNGLINST_CHECKER 1
19399 if test "$wxUSE_BUSYINFO" = "yes"; then
19400 cat >> confdefs.h
<<\EOF
19401 #define wxUSE_BUSYINFO 1
19406 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
19407 cat >> confdefs.h
<<\EOF
19408 #define wxUSE_STD_IOSTREAM 1
19413 if test "$wxUSE_TEXTBUFFER" = "yes"; then
19414 cat >> confdefs.h
<<\EOF
19415 #define wxUSE_TEXTBUFFER 1
19420 if test "$wxUSE_TEXTFILE" = "yes"; then
19421 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
19422 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
19424 cat >> confdefs.h
<<\EOF
19425 #define wxUSE_TEXTFILE 1
19431 if test "$wxUSE_CONFIG" = "yes" ; then
19432 if test "$wxUSE_TEXTFILE" != "yes"; then
19433 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
19435 cat >> confdefs.h
<<\EOF
19436 #define wxUSE_CONFIG 1
19439 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
19443 if test "$wxUSE_INTL" = "yes" ; then
19444 if test "$wxUSE_FILE" != "yes"; then
19445 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
19447 cat >> confdefs.h
<<\EOF
19448 #define wxUSE_INTL 1
19451 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
19452 GUIDIST
="$GUIDIST INTL_DIST"
19456 if test "$wxUSE_LOG" = "yes"; then
19457 cat >> confdefs.h
<<\EOF
19458 #define wxUSE_LOG 1
19462 if test "$wxUSE_LOGGUI" = "yes"; then
19463 cat >> confdefs.h
<<\EOF
19464 #define wxUSE_LOGGUI 1
19469 if test "$wxUSE_LOGWINDOW" = "yes"; then
19470 cat >> confdefs.h
<<\EOF
19471 #define wxUSE_LOGWINDOW 1
19476 if test "$wxUSE_LOGDIALOG" = "yes"; then
19477 cat >> confdefs.h
<<\EOF
19478 #define wxUSE_LOG_DIALOG 1
19484 if test "$wxUSE_LONGLONG" = "yes"; then
19485 cat >> confdefs.h
<<\EOF
19486 #define wxUSE_LONGLONG 1
19491 if test "$wxUSE_GEOMETRY" = "yes"; then
19492 cat >> confdefs.h
<<\EOF
19493 #define wxUSE_GEOMETRY 1
19498 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
19499 cat >> confdefs.h
<<\EOF
19500 #define wxUSE_DIALUP_MANAGER 1
19503 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
19506 if test "$wxUSE_STREAMS" = "yes" ; then
19507 cat >> confdefs.h
<<\EOF
19508 #define wxUSE_STREAMS 1
19514 if test "$wxUSE_DATETIME" = "yes"; then
19515 for ac_func
in strptime
19517 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19518 echo "configure:19519: checking for $ac_func" >&5
19519 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19520 echo $ac_n "(cached) $ac_c" 1>&6
19522 cat > conftest.
$ac_ext <<EOF
19523 #line 19524 "configure"
19524 #include "confdefs.h"
19525 /* System header to define __stub macros and hopefully few prototypes,
19526 which can conflict with char $ac_func(); below. */
19527 #include <assert.h>
19528 /* Override any gcc2 internal prototype to avoid an error. */
19529 /* We use char because int might match the return type of a gcc2
19530 builtin and then its argument prototype would still apply. */
19535 /* The GNU C library defines this for functions which it implements
19536 to always fail with ENOSYS. Some functions are actually named
19537 something starting with __ and the normal name is an alias. */
19538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19546 if { (eval echo configure
:19547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19548 eval "ac_cv_func_$ac_func=yes"
19550 echo "configure: failed program was:" >&5
19551 cat conftest.
$ac_ext >&5
19553 eval "ac_cv_func_$ac_func=no"
19558 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19559 echo "$ac_t""yes" 1>&6
19560 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19561 cat >> confdefs.h
<<EOF
19562 #define $ac_tr_func 1
19566 echo "$ac_t""no" 1>&6
19571 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
19572 echo "configure:19573: checking for timezone variable in <time.h>" >&5
19573 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
19574 echo $ac_n "(cached) $ac_c" 1>&6
19577 cat > conftest.
$ac_ext <<EOF
19578 #line 19579 "configure"
19579 #include "confdefs.h"
19590 if { (eval echo configure
:19591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19593 wx_cv_var_timezone
=timezone
19596 echo "configure: failed program was:" >&5
19597 cat conftest.
$ac_ext >&5
19600 cat > conftest.
$ac_ext <<EOF
19601 #line 19602 "configure"
19602 #include "confdefs.h"
19613 if { (eval echo configure
:19614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19616 wx_cv_var_timezone
=_timezone
19619 echo "configure: failed program was:" >&5
19620 cat conftest.
$ac_ext >&5
19623 cat > conftest.
$ac_ext <<EOF
19624 #line 19625 "configure"
19625 #include "confdefs.h"
19636 if { (eval echo configure
:19637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19639 wx_cv_var_timezone
=__timezone
19642 echo "configure: failed program was:" >&5
19643 cat conftest.
$ac_ext >&5
19646 if test "$USE_DOS" = 0 ; then
19647 echo "configure: warning: no timezone variable" 1>&2
19665 echo "$ac_t""$wx_cv_var_timezone" 1>&6
19667 if test "x$wx_cv_var_timezone" != x
; then
19668 cat >> confdefs.h
<<EOF
19669 #define WX_TIMEZONE $wx_cv_var_timezone
19674 for ac_func
in localtime
19676 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19677 echo "configure:19678: checking for $ac_func" >&5
19678 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19679 echo $ac_n "(cached) $ac_c" 1>&6
19681 cat > conftest.
$ac_ext <<EOF
19682 #line 19683 "configure"
19683 #include "confdefs.h"
19684 /* System header to define __stub macros and hopefully few prototypes,
19685 which can conflict with char $ac_func(); below. */
19686 #include <assert.h>
19687 /* Override any gcc2 internal prototype to avoid an error. */
19688 /* We use char because int might match the return type of a gcc2
19689 builtin and then its argument prototype would still apply. */
19694 /* The GNU C library defines this for functions which it implements
19695 to always fail with ENOSYS. Some functions are actually named
19696 something starting with __ and the normal name is an alias. */
19697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19705 if { (eval echo configure
:19706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19707 eval "ac_cv_func_$ac_func=yes"
19709 echo "configure: failed program was:" >&5
19710 cat conftest.
$ac_ext >&5
19712 eval "ac_cv_func_$ac_func=no"
19717 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19718 echo "$ac_t""yes" 1>&6
19719 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19720 cat >> confdefs.h
<<EOF
19721 #define $ac_tr_func 1
19725 echo "$ac_t""no" 1>&6
19730 if test "$ac_cv_func_localtime" = "yes"; then
19731 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
19732 echo "configure:19733: checking for tm_gmtoff in struct tm" >&5
19733 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
19734 echo $ac_n "(cached) $ac_c" 1>&6
19737 cat > conftest.
$ac_ext <<EOF
19738 #line 19739 "configure"
19739 #include "confdefs.h"
19750 if { (eval echo configure
:19751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19753 wx_cv_struct_tm_has_gmtoff
=yes
19756 echo "configure: failed program was:" >&5
19757 cat conftest.
$ac_ext >&5
19759 wx_cv_struct_tm_has_gmtoff
=no
19766 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
19769 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
19770 cat >> confdefs.h
<<\EOF
19771 #define WX_GMTOFF_IN_TM 1
19776 for ac_func
in gettimeofday ftime
19778 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19779 echo "configure:19780: checking for $ac_func" >&5
19780 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19781 echo $ac_n "(cached) $ac_c" 1>&6
19783 cat > conftest.
$ac_ext <<EOF
19784 #line 19785 "configure"
19785 #include "confdefs.h"
19786 /* System header to define __stub macros and hopefully few prototypes,
19787 which can conflict with char $ac_func(); below. */
19788 #include <assert.h>
19789 /* Override any gcc2 internal prototype to avoid an error. */
19790 /* We use char because int might match the return type of a gcc2
19791 builtin and then its argument prototype would still apply. */
19796 /* The GNU C library defines this for functions which it implements
19797 to always fail with ENOSYS. Some functions are actually named
19798 something starting with __ and the normal name is an alias. */
19799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19807 if { (eval echo configure
:19808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19809 eval "ac_cv_func_$ac_func=yes"
19811 echo "configure: failed program was:" >&5
19812 cat conftest.
$ac_ext >&5
19814 eval "ac_cv_func_$ac_func=no"
19819 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19820 echo "$ac_t""yes" 1>&6
19821 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19822 cat >> confdefs.h
<<EOF
19823 #define $ac_tr_func 1
19827 echo "$ac_t""no" 1>&6
19832 if test "$ac_cv_func_gettimeofday" = "yes"; then
19833 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
19834 echo "configure:19835: checking whether gettimeofday takes two arguments" >&5
19835 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
19836 echo $ac_n "(cached) $ac_c" 1>&6
19841 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19842 ac_cpp
='$CXXCPP $CPPFLAGS'
19843 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19844 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19845 cross_compiling
=$ac_cv_prog_cxx_cross
19848 cat > conftest.
$ac_ext <<EOF
19849 #line 19850 "configure"
19850 #include "confdefs.h"
19852 #include <sys/time.h>
19853 #include <unistd.h>
19858 gettimeofday(&tv, NULL);
19862 if { (eval echo configure
:19863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19864 wx_cv_func_gettimeofday_has_2_args
=yes
19866 echo "configure: failed program was:" >&5
19867 cat conftest.
$ac_ext >&5
19869 cat > conftest.
$ac_ext <<EOF
19870 #line 19871 "configure"
19871 #include "confdefs.h"
19873 #include <sys/time.h>
19874 #include <unistd.h>
19883 if { (eval echo configure
:19884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19885 wx_cv_func_gettimeofday_has_2_args
=no
19887 echo "configure: failed program was:" >&5
19888 cat conftest.
$ac_ext >&5
19891 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
19892 wx_cv_func_gettimeofday_has_2_args
=unknown
19901 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19902 ac_cpp
='$CPP $CPPFLAGS'
19903 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19904 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19905 cross_compiling
=$ac_cv_prog_cc_cross
19910 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
19912 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
19913 cat >> confdefs.h
<<\EOF
19914 #define WX_GETTIMEOFDAY_NO_TZ 1
19920 cat >> confdefs.h
<<\EOF
19921 #define wxUSE_TIMEDATE 1
19924 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
19928 if test "$wxUSE_SOCKETS" = "yes"; then
19929 if test "$wxUSE_MGL" = "1"; then
19930 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
19935 if test "$wxUSE_SOCKETS" = "yes"; then
19936 if test "$TOOLKIT" != "MSW"; then
19937 echo $ac_n "checking for socket""... $ac_c" 1>&6
19938 echo "configure:19939: checking for socket" >&5
19939 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
19940 echo $ac_n "(cached) $ac_c" 1>&6
19942 cat > conftest.
$ac_ext <<EOF
19943 #line 19944 "configure"
19944 #include "confdefs.h"
19945 /* System header to define __stub macros and hopefully few prototypes,
19946 which can conflict with char socket(); below. */
19947 #include <assert.h>
19948 /* Override any gcc2 internal prototype to avoid an error. */
19949 /* We use char because int might match the return type of a gcc2
19950 builtin and then its argument prototype would still apply. */
19955 /* The GNU C library defines this for functions which it implements
19956 to always fail with ENOSYS. Some functions are actually named
19957 something starting with __ and the normal name is an alias. */
19958 #if defined (__stub_socket) || defined (__stub___socket)
19966 if { (eval echo configure
:19967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19968 eval "ac_cv_func_socket=yes"
19970 echo "configure: failed program was:" >&5
19971 cat conftest.
$ac_ext >&5
19973 eval "ac_cv_func_socket=no"
19978 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
19979 echo "$ac_t""yes" 1>&6
19982 echo "$ac_t""no" 1>&6
19983 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
19984 echo "configure:19985: checking for socket in -lsocket" >&5
19985 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
19986 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19987 echo $ac_n "(cached) $ac_c" 1>&6
19989 ac_save_LIBS
="$LIBS"
19990 LIBS
="-lsocket $LIBS"
19991 cat > conftest.
$ac_ext <<EOF
19992 #line 19993 "configure"
19993 #include "confdefs.h"
19994 /* Override any gcc2 internal prototype to avoid an error. */
19995 /* We use char because int might match the return type of a gcc2
19996 builtin and then its argument prototype would still apply. */
20003 if { (eval echo configure
:20004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20005 eval "ac_cv_lib_$ac_lib_var=yes"
20007 echo "configure: failed program was:" >&5
20008 cat conftest.
$ac_ext >&5
20010 eval "ac_cv_lib_$ac_lib_var=no"
20013 LIBS
="$ac_save_LIBS"
20016 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20017 echo "$ac_t""yes" 1>&6
20018 if test "$INET_LINK" != " -lsocket"; then
20019 INET_LINK
="$INET_LINK -lsocket"
20022 echo "$ac_t""no" 1>&6
20024 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
20036 if test "$wxUSE_SOCKETS" = "yes" ; then
20037 if test "$TOOLKIT" != "MSW"; then
20038 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
20039 echo "configure:20040: checking what is the type of the third argument of getsockname" >&5
20040 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
20041 echo $ac_n "(cached) $ac_c" 1>&6
20046 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20047 ac_cpp
='$CXXCPP $CPPFLAGS'
20048 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20049 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20050 cross_compiling
=$ac_cv_prog_cxx_cross
20053 cat > conftest.
$ac_ext <<EOF
20054 #line 20055 "configure"
20055 #include "confdefs.h"
20057 #include <sys/types.h>
20058 #include <sys/socket.h>
20063 getsockname(0, 0, &len);
20067 if { (eval echo configure
:20068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20069 wx_cv_type_getsockname3
=socklen_t
20071 echo "configure: failed program was:" >&5
20072 cat conftest.
$ac_ext >&5
20074 cat > conftest.
$ac_ext <<EOF
20075 #line 20076 "configure"
20076 #include "confdefs.h"
20078 #include <sys/types.h>
20079 #include <sys/socket.h>
20084 getsockname(0, 0, &len);
20088 if { (eval echo configure
:20089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20090 wx_cv_type_getsockname3
=size_t
20092 echo "configure: failed program was:" >&5
20093 cat conftest.
$ac_ext >&5
20095 cat > conftest.
$ac_ext <<EOF
20096 #line 20097 "configure"
20097 #include "confdefs.h"
20099 #include <sys/types.h>
20100 #include <sys/socket.h>
20105 getsockname(0, 0, &len);
20109 if { (eval echo configure
:20110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20111 wx_cv_type_getsockname3
=int
20113 echo "configure: failed program was:" >&5
20114 cat conftest.
$ac_ext >&5
20116 wx_cv_type_getsockname3
=unknown
20128 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20129 ac_cpp
='$CPP $CPPFLAGS'
20130 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20131 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20132 cross_compiling
=$ac_cv_prog_cc_cross
20137 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
20139 if test "$wx_cv_type_getsockname3" = "unknown"; then
20141 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
20143 cat >> confdefs.h
<<EOF
20144 #define SOCKLEN_T $wx_cv_type_getsockname3
20151 if test "$wxUSE_SOCKETS" = "yes" ; then
20152 cat >> confdefs.h
<<\EOF
20153 #define wxUSE_SOCKETS 1
20156 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
20160 if test "$wxUSE_GUI" = "yes"; then
20162 if test "$TOOLKIT" = "MAC"; then
20163 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
20166 if test "$TOOLKIT" = "MOTIF"; then
20167 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
20170 if test "$TOOLKIT" = "X11"; then
20171 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
20175 if test "$TOOLKIT" != "MSW"; then
20176 if test "$wxUSE_JOYSTICK" = "yes"; then
20177 for ac_hdr
in linux
/joystick.h
20179 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20180 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20181 echo "configure:20182: checking for $ac_hdr" >&5
20182 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20183 echo $ac_n "(cached) $ac_c" 1>&6
20185 cat > conftest.
$ac_ext <<EOF
20186 #line 20187 "configure"
20187 #include "confdefs.h"
20190 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20191 { (eval echo configure
:20192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20192 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20193 if test -z "$ac_err"; then
20195 eval "ac_cv_header_$ac_safe=yes"
20198 echo "configure: failed program was:" >&5
20199 cat conftest.
$ac_ext >&5
20201 eval "ac_cv_header_$ac_safe=no"
20205 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20206 echo "$ac_t""yes" 1>&6
20207 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20208 cat >> confdefs.h
<<EOF
20209 #define $ac_tr_hdr 1
20213 echo "$ac_t""no" 1>&6
20217 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
20219 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
20224 if test "$wxUSE_JOYSTICK" = "yes"; then
20225 cat >> confdefs.h
<<\EOF
20226 #define wxUSE_JOYSTICK 1
20229 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
20234 if test "$TOOLKIT" != "MSW"; then
20238 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20239 if test "$USE_DARWIN" = 1; then
20242 for ac_func
in dlopen
20244 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20245 echo "configure:20246: checking for $ac_func" >&5
20246 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20247 echo $ac_n "(cached) $ac_c" 1>&6
20249 cat > conftest.
$ac_ext <<EOF
20250 #line 20251 "configure"
20251 #include "confdefs.h"
20252 /* System header to define __stub macros and hopefully few prototypes,
20253 which can conflict with char $ac_func(); below. */
20254 #include <assert.h>
20255 /* Override any gcc2 internal prototype to avoid an error. */
20256 /* We use char because int might match the return type of a gcc2
20257 builtin and then its argument prototype would still apply. */
20262 /* The GNU C library defines this for functions which it implements
20263 to always fail with ENOSYS. Some functions are actually named
20264 something starting with __ and the normal name is an alias. */
20265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20273 if { (eval echo configure
:20274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20275 eval "ac_cv_func_$ac_func=yes"
20277 echo "configure: failed program was:" >&5
20278 cat conftest.
$ac_ext >&5
20280 eval "ac_cv_func_$ac_func=no"
20285 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20286 echo "$ac_t""yes" 1>&6
20287 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20288 cat >> confdefs.h
<<EOF
20289 #define $ac_tr_func 1
20292 cat >> confdefs.h
<<\EOF
20293 #define HAVE_DLOPEN 1
20299 echo "$ac_t""no" 1>&6
20300 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
20301 echo "configure:20302: checking for dlopen in -ldl" >&5
20302 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
20303 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20304 echo $ac_n "(cached) $ac_c" 1>&6
20306 ac_save_LIBS
="$LIBS"
20308 cat > conftest.
$ac_ext <<EOF
20309 #line 20310 "configure"
20310 #include "confdefs.h"
20311 /* Override any gcc2 internal prototype to avoid an error. */
20312 /* We use char because int might match the return type of a gcc2
20313 builtin and then its argument prototype would still apply. */
20320 if { (eval echo configure
:20321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20322 eval "ac_cv_lib_$ac_lib_var=yes"
20324 echo "configure: failed program was:" >&5
20325 cat conftest.
$ac_ext >&5
20327 eval "ac_cv_lib_$ac_lib_var=no"
20330 LIBS
="$ac_save_LIBS"
20333 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20334 echo "$ac_t""yes" 1>&6
20336 cat >> confdefs.h
<<\EOF
20337 #define HAVE_DLOPEN 1
20341 DL_LINK
=" -ldl$DL_LINK"
20344 echo "$ac_t""no" 1>&6
20346 for ac_func
in shl_load
20348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20349 echo "configure:20350: checking for $ac_func" >&5
20350 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20351 echo $ac_n "(cached) $ac_c" 1>&6
20353 cat > conftest.
$ac_ext <<EOF
20354 #line 20355 "configure"
20355 #include "confdefs.h"
20356 /* System header to define __stub macros and hopefully few prototypes,
20357 which can conflict with char $ac_func(); below. */
20358 #include <assert.h>
20359 /* Override any gcc2 internal prototype to avoid an error. */
20360 /* We use char because int might match the return type of a gcc2
20361 builtin and then its argument prototype would still apply. */
20366 /* The GNU C library defines this for functions which it implements
20367 to always fail with ENOSYS. Some functions are actually named
20368 something starting with __ and the normal name is an alias. */
20369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20377 if { (eval echo configure
:20378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20379 eval "ac_cv_func_$ac_func=yes"
20381 echo "configure: failed program was:" >&5
20382 cat conftest.
$ac_ext >&5
20384 eval "ac_cv_func_$ac_func=no"
20389 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20390 echo "$ac_t""yes" 1>&6
20391 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20392 cat >> confdefs.h
<<EOF
20393 #define $ac_tr_func 1
20396 cat >> confdefs.h
<<\EOF
20397 #define HAVE_SHL_LOAD 1
20403 echo "$ac_t""no" 1>&6
20404 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
20405 echo "configure:20406: checking for dld in -lshl_load" >&5
20406 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
20407 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20408 echo $ac_n "(cached) $ac_c" 1>&6
20410 ac_save_LIBS
="$LIBS"
20411 LIBS
="-lshl_load $LIBS"
20412 cat > conftest.
$ac_ext <<EOF
20413 #line 20414 "configure"
20414 #include "confdefs.h"
20415 /* Override any gcc2 internal prototype to avoid an error. */
20416 /* We use char because int might match the return type of a gcc2
20417 builtin and then its argument prototype would still apply. */
20424 if { (eval echo configure
:20425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20426 eval "ac_cv_lib_$ac_lib_var=yes"
20428 echo "configure: failed program was:" >&5
20429 cat conftest.
$ac_ext >&5
20431 eval "ac_cv_lib_$ac_lib_var=no"
20434 LIBS
="$ac_save_LIBS"
20437 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20438 echo "$ac_t""yes" 1>&6
20441 DL_LINK
=" -ldld$DL_LINK"
20444 echo "$ac_t""no" 1>&6
20459 if test "$HAVE_DL_FUNCS" = 1; then
20460 for ac_func
in dlerror
20462 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20463 echo "configure:20464: checking for $ac_func" >&5
20464 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20465 echo $ac_n "(cached) $ac_c" 1>&6
20467 cat > conftest.
$ac_ext <<EOF
20468 #line 20469 "configure"
20469 #include "confdefs.h"
20470 /* System header to define __stub macros and hopefully few prototypes,
20471 which can conflict with char $ac_func(); below. */
20472 #include <assert.h>
20473 /* Override any gcc2 internal prototype to avoid an error. */
20474 /* We use char because int might match the return type of a gcc2
20475 builtin and then its argument prototype would still apply. */
20480 /* The GNU C library defines this for functions which it implements
20481 to always fail with ENOSYS. Some functions are actually named
20482 something starting with __ and the normal name is an alias. */
20483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20491 if { (eval echo configure
:20492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20493 eval "ac_cv_func_$ac_func=yes"
20495 echo "configure: failed program was:" >&5
20496 cat conftest.
$ac_ext >&5
20498 eval "ac_cv_func_$ac_func=no"
20503 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20504 echo "$ac_t""yes" 1>&6
20505 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20506 cat >> confdefs.h
<<EOF
20507 #define $ac_tr_func 1
20509 cat >> confdefs.h
<<\EOF
20510 #define HAVE_DLERROR 1
20514 echo "$ac_t""no" 1>&6
20515 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
20516 echo "configure:20517: checking for dlerror in -ldl" >&5
20517 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
20518 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20519 echo $ac_n "(cached) $ac_c" 1>&6
20521 ac_save_LIBS
="$LIBS"
20523 cat > conftest.
$ac_ext <<EOF
20524 #line 20525 "configure"
20525 #include "confdefs.h"
20526 /* Override any gcc2 internal prototype to avoid an error. */
20527 /* We use char because int might match the return type of a gcc2
20528 builtin and then its argument prototype would still apply. */
20535 if { (eval echo configure
:20536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20537 eval "ac_cv_lib_$ac_lib_var=yes"
20539 echo "configure: failed program was:" >&5
20540 cat conftest.
$ac_ext >&5
20542 eval "ac_cv_lib_$ac_lib_var=no"
20545 LIBS
="$ac_save_LIBS"
20548 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20549 echo "$ac_t""yes" 1>&6
20550 cat >> confdefs.h
<<\EOF
20551 #define HAVE_DLERROR 1
20555 echo "$ac_t""no" 1>&6
20564 if test "$HAVE_DL_FUNCS" = 0; then
20565 if test "$HAVE_SHL_FUNCS" = 0; then
20566 if test "$USE_UNIX" = 1; then
20567 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
20568 wxUSE_DYNAMIC_LOADER
=no
20569 wxUSE_DYNLIB_CLASS
=no
20571 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
20578 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
20579 cat >> confdefs.h
<<\EOF
20580 #define wxUSE_DYNAMIC_LOADER 1
20583 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20584 cat >> confdefs.h
<<\EOF
20585 #define wxUSE_DYNLIB_CLASS 1
20591 if test "$wxUSE_FONTMAP" = "yes" ; then
20592 cat >> confdefs.h
<<\EOF
20593 #define wxUSE_FONTMAP 1
20598 if test "$wxUSE_UNICODE" = "yes" ; then
20599 cat >> confdefs.h
<<\EOF
20600 #define wxUSE_UNICODE 1
20604 if test "$wxUSE_MSW" != 1; then
20605 wxUSE_UNICODE_MSLU
=no
20608 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
20609 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
20610 echo "configure:20611: checking for main in -lunicows" >&5
20611 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
20612 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20613 echo $ac_n "(cached) $ac_c" 1>&6
20615 ac_save_LIBS
="$LIBS"
20616 LIBS
="-lunicows $LIBS"
20617 cat > conftest.
$ac_ext <<EOF
20618 #line 20619 "configure"
20619 #include "confdefs.h"
20625 if { (eval echo configure
:20626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20627 eval "ac_cv_lib_$ac_lib_var=yes"
20629 echo "configure: failed program was:" >&5
20630 cat conftest.
$ac_ext >&5
20632 eval "ac_cv_lib_$ac_lib_var=no"
20635 LIBS
="$ac_save_LIBS"
20638 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20639 echo "$ac_t""yes" 1>&6
20641 cat >> confdefs.h
<<\EOF
20642 #define wxUSE_UNICODE_MSLU 1
20647 echo "$ac_t""no" 1>&6
20649 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
20650 Applications will only run on Windows NT/2000/XP!" 1>&2
20651 wxUSE_UNICODE_MSLU
=no
20658 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
20659 cat >> confdefs.h
<<\EOF
20660 #define wxUSE_EXPERIMENTAL_PRINTF 1
20668 if test "$wxUSE_ODBC" = "yes" ; then
20669 cat >> confdefs.h
<<\EOF
20670 #define wxUSE_ODBC 1
20673 WXODBCFLAG
="-D_IODBC_"
20674 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
20678 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
20679 cat >> confdefs.h
<<\EOF
20680 #define wxUSE_POSTSCRIPT 1
20685 cat >> confdefs.h
<<\EOF
20686 #define wxUSE_AFM_FOR_POSTSCRIPT 1
20690 cat >> confdefs.h
<<\EOF
20691 #define wxUSE_NORMALIZED_PS_FONTS 1
20696 if test "$wxUSE_CONSTRAINTS" = "yes"; then
20697 cat >> confdefs.h
<<\EOF
20698 #define wxUSE_CONSTRAINTS 1
20701 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
20704 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20707 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20708 cat >> confdefs.h
<<\EOF
20709 #define wxUSE_MDI_ARCHITECTURE 1
20712 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
20716 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
20717 cat >> confdefs.h
<<\EOF
20718 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
20721 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
20722 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20723 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
20727 if test "$wxUSE_HELP" = "yes"; then
20728 cat >> confdefs.h
<<\EOF
20729 #define wxUSE_HELP 1
20732 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
20734 if test "$wxUSE_MSW" = 1; then
20735 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
20736 cat >> confdefs.h
<<\EOF
20737 #define wxUSE_MS_HTML_HELP 1
20743 if test "$wxUSE_WXHTML_HELP" = "yes"; then
20744 if test "$wxUSE_HTML" = "yes"; then
20745 cat >> confdefs.h
<<\EOF
20746 #define wxUSE_WXHTML_HELP 1
20750 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
20751 wxUSE_WXHTML_HELP
=no
20756 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20757 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20758 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
20760 cat >> confdefs.h
<<\EOF
20761 #define wxUSE_PRINTING_ARCHITECTURE 1
20765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
20768 if test "$wxUSE_PROLOGIO" = "yes" ; then
20769 cat >> confdefs.h
<<\EOF
20770 #define wxUSE_PROLOGIO 1
20773 ALL_OBJECTS
="$ALL_OBJECTS parser.o"
20776 if test "$wxUSE_RESOURCES" = "yes" ; then
20777 if test "$wxUSE_NANOX" = "yes"; then
20778 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
20780 cat >> confdefs.h
<<\EOF
20781 #define wxUSE_RESOURCES 1
20784 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
20786 if test "$wxUSE_PROLOGIO" != "yes" ; then
20787 ALL_OBJECTS
="$ALL_OBJECTS parser.o"
20791 if test "$wxUSE_X_RESOURCES" = "yes"; then
20792 cat >> confdefs.h
<<\EOF
20793 #define wxUSE_X_RESOURCES 1
20799 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
20800 -o "$wxUSE_CLIPBOARD" = "yes" \
20801 -o "$wxUSE_OLE" = "yes" \
20802 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
20803 for ac_hdr
in ole2.h
20805 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20806 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20807 echo "configure:20808: checking for $ac_hdr" >&5
20808 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20809 echo $ac_n "(cached) $ac_c" 1>&6
20811 cat > conftest.
$ac_ext <<EOF
20812 #line 20813 "configure"
20813 #include "confdefs.h"
20816 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20817 { (eval echo configure
:20818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20818 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20819 if test -z "$ac_err"; then
20821 eval "ac_cv_header_$ac_safe=yes"
20824 echo "configure: failed program was:" >&5
20825 cat conftest.
$ac_ext >&5
20827 eval "ac_cv_header_$ac_safe=no"
20831 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20832 echo "$ac_t""yes" 1>&6
20833 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20834 cat >> confdefs.h
<<EOF
20835 #define $ac_tr_hdr 1
20839 echo "$ac_t""no" 1>&6
20844 if test "$ac_cv_header_ole2_h" = "yes" ; then
20845 if test "$GCC" = yes ; then
20848 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20849 ac_cpp
='$CXXCPP $CPPFLAGS'
20850 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20851 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20852 cross_compiling
=$ac_cv_prog_cxx_cross
20855 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
20856 echo "configure:20857: checking if g++ requires -fvtable-thunks" >&5
20857 cat > conftest.
$ac_ext <<EOF
20858 #line 20859 "configure"
20859 #include "confdefs.h"
20860 #include <windows.h>
20866 if { (eval echo configure
:20867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20868 echo "$ac_t""no" 1>&6
20870 echo "configure: failed program was:" >&5
20871 cat conftest.
$ac_ext >&5
20873 echo "$ac_t""yes" 1>&6
20874 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
20878 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20879 ac_cpp
='$CPP $CPPFLAGS'
20880 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20881 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20882 cross_compiling
=$ac_cv_prog_cc_cross
20884 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
20885 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
20886 cat >> confdefs.h
<<\EOF
20887 #define wxUSE_OLE 1
20893 cat >> confdefs.h
<<\EOF
20894 #define wxUSE_DATAOBJ 1
20898 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
20901 wxUSE_DRAG_AND_DROP
=no
20906 if test "$wxUSE_METAFILE" = "yes"; then
20907 cat >> confdefs.h
<<\EOF
20908 #define wxUSE_METAFILE 1
20912 cat >> confdefs.h
<<\EOF
20913 #define wxUSE_ENH_METAFILE 1
20919 if test "$wxUSE_WINE" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
20920 -o "$wxUSE_CLIPBOARD" = "yes" \
20921 -o "$wxUSE_OLE" = "yes" \
20922 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
20923 for ac_hdr
in ole2.h
20925 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20926 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20927 echo "configure:20928: checking for $ac_hdr" >&5
20928 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20929 echo $ac_n "(cached) $ac_c" 1>&6
20931 cat > conftest.
$ac_ext <<EOF
20932 #line 20933 "configure"
20933 #include "confdefs.h"
20936 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20937 { (eval echo configure
:20938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20938 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20939 if test -z "$ac_err"; then
20941 eval "ac_cv_header_$ac_safe=yes"
20944 echo "configure: failed program was:" >&5
20945 cat conftest.
$ac_ext >&5
20947 eval "ac_cv_header_$ac_safe=no"
20951 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20952 echo "$ac_t""yes" 1>&6
20953 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20954 cat >> confdefs.h
<<EOF
20955 #define $ac_tr_hdr 1
20959 echo "$ac_t""no" 1>&6
20964 if test "$ac_cv_header_ole2_h" = "yes" ; then
20965 if test "$GCC" = yes ; then
20968 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20969 ac_cpp
='$CXXCPP $CPPFLAGS'
20970 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20971 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20972 cross_compiling
=$ac_cv_prog_cxx_cross
20975 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
20976 echo "configure:20977: checking if g++ requires -fvtable-thunks" >&5
20977 cat > conftest.
$ac_ext <<EOF
20978 #line 20979 "configure"
20979 #include "confdefs.h"
20980 #include <windows.h>
20986 if { (eval echo configure
:20987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20988 echo "$ac_t""no" 1>&6
20990 echo "configure: failed program was:" >&5
20991 cat conftest.
$ac_ext >&5
20993 echo "$ac_t""yes" 1>&6
20994 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
20998 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20999 ac_cpp
='$CPP $CPPFLAGS'
21000 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21001 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21002 cross_compiling
=$ac_cv_prog_cc_cross
21004 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
21005 LIBS
=" -lwine_uuid$LIBS"
21006 cat >> confdefs.h
<<\EOF
21007 #define wxUSE_OLE 1
21013 cat >> confdefs.h
<<\EOF
21014 #define wxUSE_DATAOBJ 1
21018 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
21021 wxUSE_DRAG_AND_DROP
=no
21026 if test "$wxUSE_METAFILE" = "yes"; then
21027 cat >> confdefs.h
<<\EOF
21028 #define wxUSE_METAFILE 1
21032 cat >> confdefs.h
<<\EOF
21033 #define wxUSE_ENH_METAFILE 1
21039 if test "$wxUSE_IPC" = "yes"; then
21040 if test "$wxUSE_SOCKETS" != "yes"; then
21041 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
21044 cat >> confdefs.h
<<\EOF
21045 #define wxUSE_IPC 1
21050 if test "$wxUSE_CLIPBOARD" = "yes"; then
21051 if test "$wxUSE_MGL" = 1; then
21052 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
21056 if test "$wxUSE_CLIPBOARD" = "yes"; then
21057 cat >> confdefs.h
<<\EOF
21058 #define wxUSE_CLIPBOARD 1
21062 cat >> confdefs.h
<<\EOF
21063 #define wxUSE_DATAOBJ 1
21069 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
21070 if test "$wxUSE_GTK" = 1; then
21071 if test "$WXGTK12" != 1; then
21072 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
21073 wxUSE_DRAG_AND_DROP
=no
21077 if test "$wxUSE_MOTIF" = 1; then
21078 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
21079 wxUSE_DRAG_AND_DROP
=no
21082 if test "$wxUSE_X11" = 1; then
21083 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
21084 wxUSE_DRAG_AND_DROP
=no
21087 if test "$wxUSE_MGL" = 1; then
21088 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
21089 wxUSE_DRAG_AND_DROP
=no
21092 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
21093 cat >> confdefs.h
<<\EOF
21094 #define wxUSE_DRAG_AND_DROP 1
21097 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
21102 if test "$wxUSE_SPLINES" = "yes" ; then
21103 cat >> confdefs.h
<<\EOF
21104 #define wxUSE_SPLINES 1
21111 if test "$wxUSE_CONTROLS" = "yes"; then
21115 if test "$wxUSE_ACCEL" = "yes"; then
21116 cat >> confdefs.h
<<\EOF
21117 #define wxUSE_ACCEL 1
21123 if test "$wxUSE_BUTTON" = "yes"; then
21124 cat >> confdefs.h
<<\EOF
21125 #define wxUSE_BUTTON 1
21131 if test "$wxUSE_BMPBUTTON" = "yes"; then
21132 cat >> confdefs.h
<<\EOF
21133 #define wxUSE_BMPBUTTON 1
21139 if test "$wxUSE_CALCTRL" = "yes"; then
21140 cat >> confdefs.h
<<\EOF
21141 #define wxUSE_CALENDARCTRL 1
21145 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
21148 if test "$wxUSE_CARET" = "yes"; then
21149 cat >> confdefs.h
<<\EOF
21150 #define wxUSE_CARET 1
21154 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
21157 if test "$wxUSE_COMBOBOX" = "yes"; then
21158 cat >> confdefs.h
<<\EOF
21159 #define wxUSE_COMBOBOX 1
21165 if test "$wxUSE_CHOICE" = "yes"; then
21166 cat >> confdefs.h
<<\EOF
21167 #define wxUSE_CHOICE 1
21173 if test "$wxUSE_CHECKBOX" = "yes"; then
21174 cat >> confdefs.h
<<\EOF
21175 #define wxUSE_CHECKBOX 1
21181 if test "$wxUSE_CHECKLST" = "yes"; then
21182 cat >> confdefs.h
<<\EOF
21183 #define wxUSE_CHECKLISTBOX 1
21187 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
21190 if test "$wxUSE_GAUGE" = "yes"; then
21191 cat >> confdefs.h
<<\EOF
21192 #define wxUSE_GAUGE 1
21198 if test "$wxUSE_NEW_GRID" = "yes"; then
21200 cat >> confdefs.h
<<\EOF
21201 #define wxUSE_NEW_GRID 1
21205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
21208 if test "$wxUSE_GRID" = "yes"; then
21209 cat >> confdefs.h
<<\EOF
21210 #define wxUSE_GRID 1
21214 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
21217 if test "$wxUSE_IMAGLIST" = "yes"; then
21218 cat >> confdefs.h
<<\EOF
21219 #define wxUSE_IMAGLIST 1
21224 if test "$wxUSE_LISTBOX" = "yes"; then
21225 cat >> confdefs.h
<<\EOF
21226 #define wxUSE_LISTBOX 1
21232 if test "$wxUSE_LISTCTRL" = "yes"; then
21233 if test "$wxUSE_IMAGLIST" = "yes"; then
21234 cat >> confdefs.h
<<\EOF
21235 #define wxUSE_LISTCTRL 1
21239 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
21241 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
21245 if test "$wxUSE_NOTEBOOK" = "yes"; then
21246 cat >> confdefs.h
<<\EOF
21247 #define wxUSE_NOTEBOOK 1
21251 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
21254 if test "$wxUSE_PROPSHEET" = "yes"; then
21255 cat >> confdefs.h
<<\EOF
21256 #define wxUSE_PROPSHEET 1
21260 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
21263 if test "$wxUSE_RADIOBOX" = "yes"; then
21264 cat >> confdefs.h
<<\EOF
21265 #define wxUSE_RADIOBOX 1
21271 if test "$wxUSE_RADIOBTN" = "yes"; then
21272 cat >> confdefs.h
<<\EOF
21273 #define wxUSE_RADIOBTN 1
21279 if test "$wxUSE_SASH" = "yes"; then
21280 cat >> confdefs.h
<<\EOF
21281 #define wxUSE_SASH 1
21284 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
21287 if test "$wxUSE_SCROLLBAR" = "yes"; then
21288 cat >> confdefs.h
<<\EOF
21289 #define wxUSE_SCROLLBAR 1
21293 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
21296 if test "$wxUSE_SLIDER" = "yes"; then
21297 cat >> confdefs.h
<<\EOF
21298 #define wxUSE_SLIDER 1
21304 if test "$wxUSE_SPINBTN" = "yes"; then
21305 cat >> confdefs.h
<<\EOF
21306 #define wxUSE_SPINBTN 1
21312 if test "$wxUSE_SPINCTRL" = "yes"; then
21313 cat >> confdefs.h
<<\EOF
21314 #define wxUSE_SPINCTRL 1
21320 if test "$wxUSE_SPLITTER" = "yes"; then
21321 cat >> confdefs.h
<<\EOF
21322 #define wxUSE_SPLITTER 1
21325 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
21328 if test "$wxUSE_STATBMP" = "yes"; then
21329 cat >> confdefs.h
<<\EOF
21330 #define wxUSE_STATBMP 1
21336 if test "$wxUSE_STATBOX" = "yes"; then
21337 cat >> confdefs.h
<<\EOF
21338 #define wxUSE_STATBOX 1
21344 if test "$wxUSE_STATTEXT" = "yes"; then
21345 cat >> confdefs.h
<<\EOF
21346 #define wxUSE_STATTEXT 1
21352 if test "$wxUSE_STATLINE" = "yes"; then
21353 if test "$wxUSE_WINE" = 1 ; then
21354 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
21356 cat >> confdefs.h
<<\EOF
21357 #define wxUSE_STATLINE 1
21364 if test "$wxUSE_STATUSBAR" = "yes"; then
21365 cat >> confdefs.h
<<\EOF
21366 #define wxUSE_STATUSBAR 1
21371 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
21374 if test "$wxUSE_TABDIALOG" = "yes"; then
21375 cat >> confdefs.h
<<\EOF
21376 #define wxUSE_TAB_DIALOG 1
21379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
21382 if test "$wxUSE_TEXTCTRL" = "yes"; then
21383 cat >> confdefs.h
<<\EOF
21384 #define wxUSE_TEXTCTRL 1
21388 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
21391 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21392 if test "$wxUSE_MAC" = 1; then
21393 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
21396 if test "$wxUSE_UNIVERSAL" = "yes"; then
21397 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
21401 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21402 cat >> confdefs.h
<<\EOF
21403 #define wxUSE_TOGGLEBTN 1
21410 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
21411 cat >> confdefs.h
<<\EOF
21412 #define wxUSE_TOOLBAR_SIMPLE 1
21415 wxUSE_TOOLBAR
="yes"
21419 if test "$wxUSE_TOOLBAR" = "yes"; then
21420 cat >> confdefs.h
<<\EOF
21421 #define wxUSE_TOOLBAR 1
21426 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
21427 wxUSE_TOOLBAR_NATIVE
="yes"
21430 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
21431 cat >> confdefs.h
<<\EOF
21432 #define wxUSE_TOOLBAR_NATIVE 1
21438 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
21441 if test "$wxUSE_TOOLTIPS" = "yes"; then
21442 if test "$wxUSE_MOTIF" = 1; then
21443 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
21445 if test "$wxUSE_WINE" = 1; then
21446 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
21448 if test "$wxUSE_UNIVERSAL" = "yes"; then
21449 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
21451 cat >> confdefs.h
<<\EOF
21452 #define wxUSE_TOOLTIPS 1
21460 if test "$wxUSE_TREECTRL" = "yes"; then
21461 if test "$wxUSE_IMAGLIST" = "yes"; then
21462 cat >> confdefs.h
<<\EOF
21463 #define wxUSE_TREECTRL 1
21467 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
21469 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
21473 if test "$wxUSE_POPUPWIN" = "yes"; then
21474 if test "$wxUSE_MAC" = 1; then
21475 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
21477 if test "$wxUSE_MOTIF" = 1; then
21478 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
21480 if test "$wxUSE_PM" = 1; then
21481 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
21483 cat >> confdefs.h
<<\EOF
21484 #define wxUSE_POPUPWIN 1
21494 if test "$wxUSE_TIPWINDOW" = "yes"; then
21495 if test "$wxUSE_PM" = 1; then
21496 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
21498 cat >> confdefs.h
<<\EOF
21499 #define wxUSE_TIPWINDOW 1
21505 if test "$USES_CONTROLS" = 1; then
21506 cat >> confdefs.h
<<\EOF
21507 #define wxUSE_CONTROLS 1
21513 if test "$wxUSE_TREELAYOUT" = "yes"; then
21514 cat >> confdefs.h
<<\EOF
21515 #define wxUSE_TREELAYOUT 1
21518 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
21521 if test "$wxUSE_DRAGIMAGE" = "yes"; then
21522 cat >> confdefs.h
<<\EOF
21523 #define wxUSE_DRAGIMAGE 1
21526 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
21529 if test "$wxUSE_MENUS" = "yes"; then
21530 cat >> confdefs.h
<<\EOF
21531 #define wxUSE_MENUS 1
21534 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
21537 if test "$wxUSE_METAFILE" = "yes"; then
21538 cat >> confdefs.h
<<\EOF
21539 #define wxUSE_METAFILE 1
21544 if test "$wxUSE_MIMETYPE" = "yes"; then
21545 cat >> confdefs.h
<<\EOF
21546 #define wxUSE_MIMETYPE 1
21551 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
21552 cat >> confdefs.h
<<\EOF
21553 #define wxUSE_SYSTEM_OPTIONS 1
21556 if test "$TOOLKIT" = "MSW"; then
21557 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
21562 if test "$wxUSE_PROTOCOL" = "yes"; then
21563 if test "$wxUSE_SOCKETS" != "yes"; then
21564 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
21568 if test "$wxUSE_PROTOCOL" = "yes"; then
21569 cat >> confdefs.h
<<\EOF
21570 #define wxUSE_PROTOCOL 1
21574 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
21575 cat >> confdefs.h
<<\EOF
21576 #define wxUSE_PROTOCOL_HTTP 1
21580 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
21581 cat >> confdefs.h
<<\EOF
21582 #define wxUSE_PROTOCOL_FTP 1
21586 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
21587 cat >> confdefs.h
<<\EOF
21588 #define wxUSE_PROTOCOL_FILE 1
21595 if test "$wxUSE_URL" = "yes"; then
21596 if test "$wxUSE_PROTOCOL" != "yes"; then
21597 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
21600 if test "$wxUSE_URL" = "yes"; then
21601 cat >> confdefs.h
<<\EOF
21602 #define wxUSE_URL 1
21608 if test "$wxUSE_MINIFRAME" = "yes"; then
21609 cat >> confdefs.h
<<\EOF
21610 #define wxUSE_MINIFRAME 1
21613 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
21616 if test "$wxUSE_HTML" = "yes"; then
21617 cat >> confdefs.h
<<\EOF
21618 #define wxUSE_HTML 1
21621 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
21624 if test "$wxUSE_VALIDATORS" = "yes"; then
21625 cat >> confdefs.h
<<\EOF
21626 #define wxUSE_VALIDATORS 1
21629 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
21632 if test "$wxUSE_PALETTE" = "yes" ; then
21633 cat >> confdefs.h
<<\EOF
21634 #define wxUSE_PALETTE 1
21639 if test "$wxUSE_IMAGE" = "yes" ; then
21640 cat >> confdefs.h
<<\EOF
21641 #define wxUSE_IMAGE 1
21646 if test "$wxUSE_GIF" = "yes" ; then
21647 cat >> confdefs.h
<<\EOF
21648 #define wxUSE_GIF 1
21653 if test "$wxUSE_PCX" = "yes" ; then
21654 cat >> confdefs.h
<<\EOF
21655 #define wxUSE_PCX 1
21660 if test "$wxUSE_IFF" = "yes" ; then
21661 cat >> confdefs.h
<<\EOF
21662 #define wxUSE_IFF 1
21667 if test "$wxUSE_PNM" = "yes" ; then
21668 cat >> confdefs.h
<<\EOF
21669 #define wxUSE_PNM 1
21674 if test "$wxUSE_XPM" = "yes" ; then
21675 cat >> confdefs.h
<<\EOF
21676 #define wxUSE_XPM 1
21681 if test "$wxUSE_ICO_CUR" = "yes" ; then
21682 cat >> confdefs.h
<<\EOF
21683 #define wxUSE_ICO_CUR 1
21688 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
21689 LIBS
=" -lunicows $LIBS"
21693 if test "$wxUSE_CHOICEDLG" = "yes"; then
21694 cat >> confdefs.h
<<\EOF
21695 #define wxUSE_CHOICEDLG 1
21700 if test "$wxUSE_COLOURDLG" = "yes"; then
21701 cat >> confdefs.h
<<\EOF
21702 #define wxUSE_COLOURDLG 1
21707 if test "$wxUSE_FILEDLG" = "yes"; then
21708 cat >> confdefs.h
<<\EOF
21709 #define wxUSE_FILEDLG 1
21714 if test "$wxUSE_FINDREPLDLG" = "yes"; then
21715 cat >> confdefs.h
<<\EOF
21716 #define wxUSE_FINDREPLDLG 1
21721 if test "$wxUSE_FONTDLG" = "yes"; then
21722 cat >> confdefs.h
<<\EOF
21723 #define wxUSE_FONTDLG 1
21728 if test "$wxUSE_DIRDLG" = "yes"; then
21729 if test "$wxUSE_TREECTRL" != "yes"; then
21730 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
21732 cat >> confdefs.h
<<\EOF
21733 #define wxUSE_DIRDLG 1
21739 if test "$wxUSE_MSGDLG" = "yes"; then
21740 cat >> confdefs.h
<<\EOF
21741 #define wxUSE_MSGDLG 1
21746 if test "$wxUSE_NUMBERDLG" = "yes"; then
21747 cat >> confdefs.h
<<\EOF
21748 #define wxUSE_NUMBERDLG 1
21753 if test "$wxUSE_PROGRESSDLG" = "yes"; then
21754 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21755 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
21757 cat >> confdefs.h
<<\EOF
21758 #define wxUSE_PROGRESSDLG 1
21764 if test "$wxUSE_SPLASH" = "yes"; then
21765 cat >> confdefs.h
<<\EOF
21766 #define wxUSE_SPLASH 1
21771 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
21772 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21773 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
21775 cat >> confdefs.h
<<\EOF
21776 #define wxUSE_STARTUP_TIPS 1
21782 if test "$wxUSE_TEXTDLG" = "yes"; then
21783 cat >> confdefs.h
<<\EOF
21784 #define wxUSE_TEXTDLG 1
21789 if test "$wxUSE_WIZARDDLG" = "yes"; then
21790 cat >> confdefs.h
<<\EOF
21791 #define wxUSE_WIZARDDLG 1
21794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
21798 if test "$cross_compiling" = "yes"; then
21801 OSINFO
=`uname -s -r -m`
21802 OSINFO
="\"$OSINFO\""
21805 cat >> confdefs.h
<<EOF
21806 #define WXWIN_OS_DESCRIPTION $OSINFO
21811 if test "x$prefix" != "xNONE"; then
21814 wxPREFIX
=$ac_default_prefix
21817 cat >> confdefs.h
<<EOF
21818 #define wxINSTALL_PREFIX "$wxPREFIX"
21825 if test "$wxUSE_MAC" = 1 ; then
21826 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
21830 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
21836 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21837 echo "configure:21838: checking for $ac_func" >&5
21838 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21839 echo $ac_n "(cached) $ac_c" 1>&6
21841 cat > conftest.
$ac_ext <<EOF
21842 #line 21843 "configure"
21843 #include "confdefs.h"
21844 /* System header to define __stub macros and hopefully few prototypes,
21845 which can conflict with char $ac_func(); below. */
21846 #include <assert.h>
21847 /* Override any gcc2 internal prototype to avoid an error. */
21848 /* We use char because int might match the return type of a gcc2
21849 builtin and then its argument prototype would still apply. */
21854 /* The GNU C library defines this for functions which it implements
21855 to always fail with ENOSYS. Some functions are actually named
21856 something starting with __ and the normal name is an alias. */
21857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21865 if { (eval echo configure
:21866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21867 eval "ac_cv_func_$ac_func=yes"
21869 echo "configure: failed program was:" >&5
21870 cat conftest.
$ac_ext >&5
21872 eval "ac_cv_func_$ac_func=no"
21877 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21878 echo "$ac_t""yes" 1>&6
21879 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21880 cat >> confdefs.h
<<EOF
21881 #define $ac_tr_func 1
21885 echo "$ac_t""no" 1>&6
21889 for ac_func
in floor
21891 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21892 echo "configure:21893: checking for $ac_func" >&5
21893 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21894 echo $ac_n "(cached) $ac_c" 1>&6
21896 cat > conftest.
$ac_ext <<EOF
21897 #line 21898 "configure"
21898 #include "confdefs.h"
21899 /* System header to define __stub macros and hopefully few prototypes,
21900 which can conflict with char $ac_func(); below. */
21901 #include <assert.h>
21902 /* Override any gcc2 internal prototype to avoid an error. */
21903 /* We use char because int might match the return type of a gcc2
21904 builtin and then its argument prototype would still apply. */
21909 /* The GNU C library defines this for functions which it implements
21910 to always fail with ENOSYS. Some functions are actually named
21911 something starting with __ and the normal name is an alias. */
21912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21920 if { (eval echo configure
:21921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21922 eval "ac_cv_func_$ac_func=yes"
21924 echo "configure: failed program was:" >&5
21925 cat conftest.
$ac_ext >&5
21927 eval "ac_cv_func_$ac_func=no"
21932 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21933 echo "$ac_t""yes" 1>&6
21934 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21935 cat >> confdefs.h
<<EOF
21936 #define $ac_tr_func 1
21940 echo "$ac_t""no" 1>&6
21944 echo $ac_n "checking if floating point functions link without -lm""... $ac_c" 1>&6
21945 echo "configure:21946: checking if floating point functions link without -lm" >&5
21946 if test "$have_cos" = 1 -a "$have_floor" = 1; then
21947 echo "$ac_t""yes" 1>&6
21949 echo "$ac_t""no" 1>&6
21951 # use different functions to avoid configure caching
21956 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21957 echo "configure:21958: checking for $ac_func" >&5
21958 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21959 echo $ac_n "(cached) $ac_c" 1>&6
21961 cat > conftest.
$ac_ext <<EOF
21962 #line 21963 "configure"
21963 #include "confdefs.h"
21964 /* System header to define __stub macros and hopefully few prototypes,
21965 which can conflict with char $ac_func(); below. */
21966 #include <assert.h>
21967 /* Override any gcc2 internal prototype to avoid an error. */
21968 /* We use char because int might match the return type of a gcc2
21969 builtin and then its argument prototype would still apply. */
21974 /* The GNU C library defines this for functions which it implements
21975 to always fail with ENOSYS. Some functions are actually named
21976 something starting with __ and the normal name is an alias. */
21977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21985 if { (eval echo configure
:21986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21987 eval "ac_cv_func_$ac_func=yes"
21989 echo "configure: failed program was:" >&5
21990 cat conftest.
$ac_ext >&5
21992 eval "ac_cv_func_$ac_func=no"
21997 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21998 echo "$ac_t""yes" 1>&6
21999 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22000 cat >> confdefs.h
<<EOF
22001 #define $ac_tr_func 1
22005 echo "$ac_t""no" 1>&6
22009 for ac_func
in ceil
22011 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22012 echo "configure:22013: checking for $ac_func" >&5
22013 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22014 echo $ac_n "(cached) $ac_c" 1>&6
22016 cat > conftest.
$ac_ext <<EOF
22017 #line 22018 "configure"
22018 #include "confdefs.h"
22019 /* System header to define __stub macros and hopefully few prototypes,
22020 which can conflict with char $ac_func(); below. */
22021 #include <assert.h>
22022 /* Override any gcc2 internal prototype to avoid an error. */
22023 /* We use char because int might match the return type of a gcc2
22024 builtin and then its argument prototype would still apply. */
22029 /* The GNU C library defines this for functions which it implements
22030 to always fail with ENOSYS. Some functions are actually named
22031 something starting with __ and the normal name is an alias. */
22032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22040 if { (eval echo configure
:22041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22042 eval "ac_cv_func_$ac_func=yes"
22044 echo "configure: failed program was:" >&5
22045 cat conftest.
$ac_ext >&5
22047 eval "ac_cv_func_$ac_func=no"
22052 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22053 echo "$ac_t""yes" 1>&6
22054 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22055 cat >> confdefs.h
<<EOF
22056 #define $ac_tr_func 1
22060 echo "$ac_t""no" 1>&6
22064 echo $ac_n "checking if floating point functions link with -lm""... $ac_c" 1>&6
22065 echo "configure:22066: checking if floating point functions link with -lm" >&5
22066 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22067 echo "$ac_t""yes" 1>&6
22069 echo "$ac_t""no" 1>&6
22070 # not sure we should warn the user, crash, etc.
22074 if test "$wxUSE_GUI" = "yes"; then
22076 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
22079 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
22080 drawing dynamic erase event exec font image \
22081 minimal propsize rotate widgets"
22083 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
22085 SAMPLES_SUBDIRS
="console"
22089 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
22090 -I\${top_srcdir}/include \
22091 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
22094 if test "$wxUSE_GTK" = 1; then
22097 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
22100 if test "$GXX" = yes ; then
22101 CXXWARNINGS
="-Wall"
22103 if test "$wxUSE_NO_DEPS" = "no" ; then
22104 CFLAGS
="-MMD $CFLAGS"
22105 CXXFLAGS
="-MMD $CXXFLAGS"
22109 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
22111 CPPFLAGS
=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
22112 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
22113 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
22114 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
22116 LDFLAGS
="$LDFLAGS $PROFILE"
22118 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
22217 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
22218 echo "configure:22219: checking whether ${MAKE-make} sets \${MAKE}" >&5
22219 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
22220 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
22221 echo $ac_n "(cached) $ac_c" 1>&6
22223 cat > conftestmake
<<\EOF
22225 @
echo 'ac_maketemp="${MAKE}"'
22227 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22228 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
22229 if test -n "$ac_maketemp"; then
22230 eval ac_cv_prog_make_
${ac_make}_set
=yes
22232 eval ac_cv_prog_make_
${ac_make}_set
=no
22236 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
22237 echo "$ac_t""yes" 1>&6
22240 echo "$ac_t""no" 1>&6
22241 SET_MAKE
="MAKE=${MAKE-make}"
22245 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
22246 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
22251 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
22252 wx_cv_if_gnu_make
=$IF_GNU_MAKE
22253 wx_cv_path_ifs
=$PATH_IFS
22254 wx_cv_program_ext
=$PROGRAM_EXT
22255 wx_cv_target_library
=$WX_TARGET_LIBRARY
22256 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
22257 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
22258 wx_cv_library_basename
=${WX_LIBRARY_BASENAME}
22259 wx_cv_release
=${WX_RELEASE}
22260 wx_cv_current
=${WX_CURRENT}
22261 wx_cv_revision
=${WX_REVISION}
22262 wx_cv_age
=${WX_AGE}
22263 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
22264 wx_cv_path_ifs wx_cv_program_ext \
22265 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype \
22266 wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age
22269 subdirs
="demos samples utils contrib"
22273 cat > confcache
<<\EOF
22274 # This file is a shell script that caches the results of configure
22275 # tests run on this system so they can be shared between configure
22276 # scripts and configure runs. It is not useful on other systems.
22277 # If it contains results you don't want to keep, you may remove or edit it.
22279 # By default, configure uses ./config.cache as the cache file,
22280 # creating it if it does not exist already. You can give configure
22281 # the --cache-file=FILE option to use a different cache file; that is
22282 # what configure does when it calls configure scripts in
22283 # subdirectories, so they share the cache.
22284 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22285 # config.status only pays attention to the cache file if you give it the
22286 # --recheck option to rerun configure.
22289 # The following way of writing the cache mishandles newlines in values,
22290 # but we know of no workaround that is simple, portable, and efficient.
22291 # So, don't put newlines in cache variables' values.
22292 # Ultrix sh set writes to stderr and can't be redirected directly,
22293 # and sets the high bit in the cache file unless we assign to the vars.
22295 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22297 # `set' does not quote correctly, so add quotes (double-quote substitution
22298 # turns \\\\ into \\, and sed turns \\ into \).
22300 -e "s/'/'\\\\''/g" \
22301 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22304 # `set' quotes correctly as required by POSIX, so do not add quotes.
22305 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22308 if cmp -s $cache_file confcache
; then
22311 if test -w $cache_file; then
22312 echo "updating cache $cache_file"
22313 cat confcache
> $cache_file
22315 echo "not updating unwritable cache $cache_file"
22320 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22322 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22323 # Let make expand exec_prefix.
22324 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22326 # Any assignment to VPATH causes Sun make to only execute
22327 # the first set of double-colon rules, so remove it if not needed.
22328 # If there is a colon in the path, we need to keep it.
22329 if test "x$srcdir" = x.
; then
22330 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
22333 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22335 DEFS
=-DHAVE_CONFIG_H
22337 # Without the "./", some shells look in PATH for config.status.
22338 : ${CONFIG_STATUS=./config.status}
22340 echo creating
$CONFIG_STATUS
22341 rm -f $CONFIG_STATUS
22342 cat > $CONFIG_STATUS <<EOF
22344 # Generated automatically by configure.
22345 # Run this file to recreate the current configuration.
22346 # This directory was configured as follows,
22347 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22349 # $0 $ac_configure_args
22351 # Compiler output produced by configure, useful for debugging
22352 # configure, is in ./config.log if it exists.
22354 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22357 case "\$ac_option" in
22358 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22359 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22360 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22361 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22362 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22364 -help | --help | --hel | --he | --h)
22365 echo "\$ac_cs_usage"; exit 0 ;;
22366 *) echo "\$ac_cs_usage"; exit 1 ;;
22370 ac_given_srcdir=$srcdir
22371 ac_given_INSTALL="$INSTALL"
22373 trap 'rm -fr `echo "
22380 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22382 cat >> $CONFIG_STATUS <<EOF
22384 # Protect against being on the right side of a sed subst in config.status.
22385 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22386 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22390 s%@CFLAGS@%$CFLAGS%g
22391 s%@CPPFLAGS@%$CPPFLAGS%g
22392 s%@CXXFLAGS@%$CXXFLAGS%g
22393 s%@FFLAGS@%$FFLAGS%g
22395 s%@LDFLAGS@%$LDFLAGS%g
22397 s%@exec_prefix@%$exec_prefix%g
22398 s%@prefix@%$prefix%g
22399 s%@program_transform_name@%$program_transform_name%g
22400 s%@bindir@%$bindir%g
22401 s%@sbindir@%$sbindir%g
22402 s%@libexecdir@%$libexecdir%g
22403 s%@datadir@%$datadir%g
22404 s%@sysconfdir@%$sysconfdir%g
22405 s%@sharedstatedir@%$sharedstatedir%g
22406 s%@localstatedir@%$localstatedir%g
22407 s%@libdir@%$libdir%g
22408 s%@includedir@%$includedir%g
22409 s%@oldincludedir@%$oldincludedir%g
22410 s%@infodir@%$infodir%g
22411 s%@mandir@%$mandir%g
22413 s%@host_alias@%$host_alias%g
22414 s%@host_cpu@%$host_cpu%g
22415 s%@host_vendor@%$host_vendor%g
22416 s%@host_os@%$host_os%g
22417 s%@target@%$target%g
22418 s%@target_alias@%$target_alias%g
22419 s%@target_cpu@%$target_cpu%g
22420 s%@target_vendor@%$target_vendor%g
22421 s%@target_os@%$target_os%g
22423 s%@build_alias@%$build_alias%g
22424 s%@build_cpu@%$build_cpu%g
22425 s%@build_vendor@%$build_vendor%g
22426 s%@build_os@%$build_os%g
22430 s%@RANLIB@%$RANLIB%g
22432 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22433 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22434 s%@INSTALL_DATA@%$INSTALL_DATA%g
22436 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
22439 s%@LEXLIB@%$LEXLIB%g
22441 s%@CXXCPP@%$CXXCPP%g
22442 s%@PKG_CONFIG@%$PKG_CONFIG%g
22443 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
22444 s%@GTK_LIBS@%$GTK_LIBS%g
22445 s%@GTK_CONFIG@%$GTK_CONFIG%g
22446 s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
22447 s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
22448 s%@X_CFLAGS@%$X_CFLAGS%g
22449 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
22450 s%@X_LIBS@%$X_LIBS%g
22451 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
22452 s%@PANGOX_CFLAGS@%$PANGOX_CFLAGS%g
22453 s%@PANGOX_LIBS@%$PANGOX_LIBS%g
22454 s%@PANGOXFT_CFLAGS@%$PANGOXFT_CFLAGS%g
22455 s%@PANGOXFT_LIBS@%$PANGOXFT_LIBS%g
22456 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
22457 s%@RESCOMP@%$RESCOMP%g
22459 s%@LIBICONV@%$LIBICONV%g
22460 s%@LEX_STEM@%$LEX_STEM%g
22461 s%@PATH_IFS@%$PATH_IFS%g
22462 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
22463 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
22464 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
22465 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
22466 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
22467 s%@WX_LIBRARY_BASENAME@%$WX_LIBRARY_BASENAME%g
22468 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
22469 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
22470 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
22471 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
22472 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
22473 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
22474 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
22475 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
22476 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
22477 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
22478 s%@WX_ALL@%$WX_ALL%g
22479 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
22480 s%@SHARED_LD@%$SHARED_LD%g
22481 s%@PIC_FLAG@%$PIC_FLAG%g
22482 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
22483 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
22484 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
22485 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
22486 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
22487 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
22488 s%@STATIC_FLAG@%$STATIC_FLAG%g
22489 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
22490 s%@USE_GUI@%$USE_GUI%g
22491 s%@AFMINSTALL@%$AFMINSTALL%g
22492 s%@WIN32INSTALL@%$WIN32INSTALL%g
22493 s%@TOOLKIT@%$TOOLKIT%g
22494 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
22495 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
22496 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
22497 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
22498 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
22499 s%@cross_compiling@%$cross_compiling%g
22500 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
22501 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
22502 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
22503 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
22504 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
22505 s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
22506 s%@WX_LARGEFILE_FLAGS@%$WX_LARGEFILE_FLAGS%g
22507 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
22508 s%@ALL_HEADERS@%$ALL_HEADERS%g
22509 s%@ALL_SOURCES@%$ALL_SOURCES%g
22510 s%@GUIDIST@%$GUIDIST%g
22511 s%@PORT_FILES@%$PORT_FILES%g
22512 s%@DISTDIR@%$DISTDIR%g
22513 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
22514 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
22515 s%@LDFLAGS_VERSIONING@%$LDFLAGS_VERSIONING%g
22516 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
22517 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
22518 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
22519 s%@EXTRADEFS@%$EXTRADEFS%g
22520 s%@WX_VERSION_TAG@%$WX_VERSION_TAG%g
22521 s%@RESFLAGS@%$RESFLAGS%g
22522 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
22523 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
22524 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
22525 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
22526 s%@LIBWXMACRES@%$LIBWXMACRES%g
22527 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
22528 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
22530 s%@DLLTOOL@%$DLLTOOL%g
22534 s%@MAKEINFO@%$MAKEINFO%g
22535 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
22536 s%@SET_MAKE@%$SET_MAKE%g
22537 s%@subdirs@%$subdirs%g
22542 cat >> $CONFIG_STATUS <<\EOF
22544 # Split the substitutions into bite-sized pieces for seds with
22545 # small command number limits, like on Digital OSF/1 and HP-UX.
22546 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
22547 ac_file
=1 # Number of current file.
22548 ac_beg
=1 # First line for current file.
22549 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
22552 while $ac_more_lines; do
22553 if test $ac_beg -gt 1; then
22554 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
22556 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
22558 if test ! -s conftest.s
$ac_file; then
22559 ac_more_lines
=false
22560 rm -f conftest.s
$ac_file
22562 if test -z "$ac_sed_cmds"; then
22563 ac_sed_cmds
="sed -f conftest.s$ac_file"
22565 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
22567 ac_file
=`expr $ac_file + 1`
22569 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
22572 if test -z "$ac_sed_cmds"; then
22577 cat >> $CONFIG_STATUS <<EOF
22579 CONFIG_FILES=\${CONFIG_FILES-"wx-config
22587 cat >> $CONFIG_STATUS <<\EOF
22588 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
22589 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22591 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22592 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22593 *) ac_file_in
="${ac_file}.in" ;;
22596 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22598 # Remove last slash and all that follows it. Not all systems have dirname.
22599 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22600 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
22601 # The file is in a subdirectory.
22602 test ! -d "$ac_dir" && mkdir "$ac_dir"
22603 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
22604 # A "../" for each directory in $ac_dir_suffix.
22605 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22607 ac_dir_suffix
= ac_dots
=
22610 case "$ac_given_srcdir" in
22612 if test -z "$ac_dots"; then top_srcdir
=.
22613 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22614 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
22615 *) # Relative path.
22616 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22617 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
22620 case "$ac_given_INSTALL" in
22621 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
22622 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
22625 echo creating
"$ac_file"
22627 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22629 *Makefile
*) ac_comsub
="1i\\
22630 # $configure_input" ;;
22634 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22636 s%@configure_input@%$configure_input%g
22637 s%@srcdir@%$srcdir%g
22638 s%@top_srcdir@%$top_srcdir%g
22639 s%@INSTALL@%$INSTALL%g
22640 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22644 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22645 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22647 # ac_d sets the value in "#define NAME VALUE" lines.
22648 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22649 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
22652 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22653 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22654 ac_uB
='\([ ]\)%\1#\2define\3'
22657 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22658 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22659 ac_eB
='$%\1#\2define\3'
22663 if test "${CONFIG_HEADERS+set}" != set; then
22665 cat >> $CONFIG_STATUS <<EOF
22666 CONFIG_HEADERS="setup.h:setup.h.in"
22668 cat >> $CONFIG_STATUS <<\EOF
22670 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
22671 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22673 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22674 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22675 *) ac_file_in
="${ac_file}.in" ;;
22678 echo creating
$ac_file
22680 rm -f conftest.frag conftest.
in conftest.out
22681 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22682 cat $ac_file_inputs > conftest.
in
22686 # Transform confdefs.h into a sed script conftest.vals that substitutes
22687 # the proper values into config.h.in to produce config.h. And first:
22688 # Protect against being on the right side of a sed subst in config.status.
22689 # Protect against being in an unquoted here document in config.status.
22690 rm -f conftest.vals
22691 cat > conftest.hdr
<<\EOF
22694 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22698 sed -n -f conftest.hdr confdefs.h > conftest.vals
22701 # This sed command replaces #undef with comments. This is necessary, for
22702 # example, in the case of _POSIX_SOURCE, which is predefined and required
22703 # on some systems where configure will not decide to define it.
22704 cat >> conftest.vals <<\EOF
22705 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22708 # Break up conftest.vals because some shells have a limit on
22709 # the size of here documents, and old seds have small limits too.
22711 rm -f conftest.tail
22714 ac_lines=`grep -c . conftest.vals
`
22715 # grep -c gives empty output for an empty file on some AIX systems.
22716 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22717 # Write a limited-size here document to conftest.frag.
22718 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22719 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22721 sed -f conftest.frag conftest.in > conftest.out
22723 mv conftest.out conftest.in
22724 ' >> $CONFIG_STATUS
22725 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22726 rm -f conftest.vals
22727 mv conftest.tail conftest.vals
22729 rm -f conftest.vals
22731 cat >> $CONFIG_STATUS <<\EOF
22732 rm -f conftest.frag conftest.h
22733 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22734 cat conftest.in >> conftest.h
22736 if cmp -s $ac_file conftest.h 2>/dev/null; then
22737 echo "$ac_file is unchanged"
22740 # Remove last slash and all that follows it. Not all systems have dirname.
22741 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22742 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22743 # The file is in a subdirectory.
22744 test ! -d "$ac_dir" && mkdir "$ac_dir"
22747 mv conftest.h $ac_file
22752 cat >> $CONFIG_STATUS <<EOF
22754 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
22759 cat >> $CONFIG_STATUS <<\EOF
22761 if test ! -h wx-config; then
22763 mv wx-config wx${TOOLCHAIN_NAME}-config
22764 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
22767 if test ! -d lib; then
22770 if test ! -d lib/wx; then
22773 if test ! -d lib/wx/include; then
22774 mkdir lib/wx/include
22776 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
22777 mkdir lib/wx/include/${TOOLCHAIN_NAME}
22779 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
22780 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
22782 if test -f setup.h; then
22783 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
22788 chmod +x $CONFIG_STATUS
22789 rm -fr confdefs* $ac_clean_files
22790 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22792 if test "$no_recursion" != yes; then
22794 # Remove --cache-file and --srcdir arguments so they do not pile up.
22795 ac_sub_configure_args=
22797 for ac_arg in $ac_configure_args; do
22798 if test -n "$ac_prev"; then
22803 -cache-file | --cache-file | --cache-fil | --cache-fi \
22804 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
22805 ac_prev=cache_file ;;
22806 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
22807 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
22809 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
22811 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
22813 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
22817 for ac_config_dir in demos samples utils contrib; do
22819 # Do not complain, so a configure script can configure whichever
22820 # parts of a large source tree are present.
22821 if test ! -d $srcdir/$ac_config_dir; then
22825 echo configuring in $ac_config_dir
22830 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
22832 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
22840 # A "../" for each directory in /$ac_config_dir.
22841 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
22844 .) # No --srcdir option. We are building in place.
22845 ac_sub_srcdir=$srcdir ;;
22846 /*) # Absolute path.
22847 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
22848 *) # Relative path.
22849 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
22852 # Check for guested configure; otherwise get Cygnus style configure.
22853 if test -f $ac_sub_srcdir/configure; then
22854 ac_sub_configure=$ac_sub_srcdir/configure
22855 elif test -f $ac_sub_srcdir/configure.in; then
22856 ac_sub_configure=$ac_configure
22858 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
22862 # The recursion is here.
22863 if test -n "$ac_sub_configure"; then
22865 # Make the cache file name correct relative to the subdirectory.
22866 case "$cache_file" in
22867 /*) ac_sub_cache_file=$cache_file ;;
22868 *) # Relative path.
22869 ac_sub_cache_file="$ac_dots$cache_file" ;;
22871 case "$ac_given_INSTALL" in
22872 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22873 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22876 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
22877 # The eval makes quoting arguments work.
22878 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
22881 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
22891 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
22893 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
22895 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
22896 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
22897 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
22899 echo " Which libraries should wxWindows use?"
22900 echo " jpeg ${wxUSE_LIBJPEG-none}"
22901 echo " png ${wxUSE_LIBPNG-none}"
22902 echo " regex ${wxUSE_REGEX}"
22903 echo " tiff ${wxUSE_LIBTIFF-none}"
22904 echo " zlib ${wxUSE_ZLIB}"