3 # From configure.in Id: configure.in
59 # Configure paths for GTK+
60 # Owen Taylor 1997-2001
64 # Configure paths for GTK+
69 # Guess values for system-dependent variables and create Makefiles.
70 # Generated automatically using autoconf version 2.13
71 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
73 # This configure script is free software; the Free Software Foundation
74 # gives unlimited permission to copy, distribute and modify it.
78 ac_default_prefix
=/usr
/local
79 # Any additions from configure.in:
81 --enable-gui use GUI classes"
83 --enable-universal use wxWindows GUI controls instead of native ones"
87 --with-motif use Motif/Lesstif"
89 --with-mac use Mac OS X"
93 --with-msw use MS-Windows"
95 --with-pm use OS/2 Presentation Manager"
97 --with-mgl use SciTech MGL"
99 --with-microwin use MicroWindows"
103 --enable-nanox use NanoX"
105 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
107 --with-libpng use libpng (PNG image format)"
109 --with-libjpeg use libjpeg (JPEG file format)"
111 --with-libtiff use libtiff (TIFF file format)"
113 --with-opengl use OpenGL (or Mesa)"
115 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
117 --with-regex enable support for wxRegEx class"
119 --with-zlib use zlib for LZW compression"
121 --with-odbc use the IODBC and wxODBC classes"
123 --enable-shared create shared library code"
125 --enable-soname set the DT_SONAME field in ELF shared libraries"
127 --enable-optimise create optimised code"
129 --enable-debug same as debug_flag and debug_info"
131 --enable-precomp enable use of precompiled headers (Mac OS X)"
133 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
135 --enable-debug_info create code with debugging information"
137 --enable-debug_gdb create code with extra GDB debugging information"
139 --enable-debug_cntxt use wxDebugContext"
141 --enable-mem_tracing create code with memory tracing"
143 --enable-profile create code with profiling information"
145 --enable-no_rtti create code without RTTI information"
147 --enable-no_exceptions create code without C++ exceptions handling"
149 --enable-permissive compile code disregarding strict ANSI"
151 --enable-no_deps create code without dependency information"
153 --enable-compat20 enable wxWindows 2.0 compatibility"
155 --disable-compat22 disable wxWindows 2.2 compatibility"
157 --enable-rpath=DIR output the rpath flag from wx-config"
159 --enable-intl use internationalization system"
161 --enable-config use wxConfig (and derived) classes"
163 --enable-protocols use wxProtocol and derived classes"
165 --enable-ftp use wxFTP (requires wxProtocol"
167 --enable-http use wxHTTP (requires wxProtocol"
169 --enable-fileproto use wxFileProto class (requires wxProtocol"
171 --enable-sockets use socket/network classes"
173 --enable-ipc use interprocess communication (wxSocket etc.)"
175 --enable-cmdline use wxCmdLineParser class"
177 --enable-datetime use wxDateTime class"
179 --enable-timedate use obsolete wxDate/wxTime classes"
181 --enable-stopwatch use wxStopWatch class"
183 --enable-dialupman use dialup network classes"
185 --enable-apple_ieee use the Apple IEEE codec"
187 --enable-timer use wxTimer class"
189 --enable-wave use wxWave class"
191 --enable-fraction use wxFraction class"
193 --enable-dynlib use wxLibrary class for DLL loading"
195 --enable-dynamicloader use (new) wxDynamicLibrary class"
197 --enable-longlong use wxLongLong class"
199 --enable-geometry use geometry class"
201 --enable-log use logging system"
203 --enable-streams use wxStream etc classes"
205 --enable-file use wxFile classes"
207 --enable-ffile use wxFFile classes"
209 --enable-textbuf use wxTextBuffer class"
211 --enable-textfile use wxTextFile class"
213 --enable-fontmap use font encodings conversion classes"
215 --enable-unicode compile wxString with Unicode support"
217 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
219 --enable-wxprintfv use wxWindows implementation of vprintf()"
221 --enable-std_iostreams use standard C++ stream classes"
223 --enable-filesystem use virtual file systems classes"
225 --enable-fs_inet use virtual HTTP/FTP filesystems"
227 --enable-fs_zip use virtual ZIP filesystems"
229 --enable-zipstream use wxZipInputStream"
231 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
233 --enable-snglinst use wxSingleInstanceChecker class"
235 --enable-mimetype use wxMimeTypesManager"
237 --enable-sysoptions use wxSystemOptions"
239 --enable-url use wxURL class"
241 --enable-protocol use wxProtocol class"
243 --enable-protocol-http HTTP support in wxProtocol"
245 --enable-protocol-ftp FTP support in wxProtocol"
247 --enable-protocol-file FILE support in wxProtocol"
249 --enable-threads use threads"
251 --enable-docview use document view architecture"
253 --enable-help use help subsystem"
255 --enable-mshtmlhelp use MS HTML Help (win32)"
257 --enable-html use wxHTML sub-library"
259 --enable-htmlhelp use wxHTML-based help"
261 --enable-constraints use layout-constraints system"
263 --enable-printarch use printing architecture"
265 --enable-mdi use multiple document interface architecture"
267 --enable-loggui use standard GUI logger"
269 --enable-logwin use wxLogWindow"
271 --enable-logdialog use wxLogDialog"
273 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
275 --enable-prologio use Prolog IO library"
277 --enable-resources use wxWindows resources"
279 --enable-xresources use X resources for save (default for gtk+)"
281 --enable-clipboard use wxClipboard classes"
283 --enable-dnd use Drag'n'Drop classes"
285 --enable-metafile use win32 metafiles"
287 --enable-treelayout use wxTreeLayout classes"
289 --enable-controls use all usual controls"
291 --enable-accel use accelerators"
293 --enable-button use wxButton class"
295 --enable-bmpbutton use wxBitmapButton class"
297 --enable-calendar use wxCalendarCtrl class"
299 --enable-caret use wxCaret class"
301 --enable-checkbox use wxCheckBox class"
303 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
305 --enable-choice use wxChoice class"
307 --enable-combobox use wxComboBox classes"
309 --enable-gauge use wxGauge class"
311 --enable-grid use wxGrid class"
313 --enable-newgrid use new wxGrid class"
315 --enable-imaglist use wxImageList class"
317 --enable-listbox use wxListBox class"
319 --enable-listctrl use wxListCtrl class"
321 --enable-notebook use wxNotebook class"
323 --enable-propsheet use wxPropertySheet class"
325 --enable-radiobox use wxRadioBox class"
327 --enable-radiobtn use wxRadioButton class"
329 --enable-sash use wxSashWindow class"
331 --enable-scrollbar use wxScrollBar class and scrollable windows"
333 --enable-slider use wxSlider class"
335 --enable-spinbtn use wxSpinButton class"
337 --enable-spinctrl use wxSpinCtrl class"
339 --enable-splitter use wxSplitterWindow class"
341 --enable-statbmp use wxStaticBitmap class"
343 --enable-statbox use wxStaticBox class"
345 --enable-statline use wxStaticLine class"
347 --enable-stattext use wxStaticText class"
349 --enable-statusbar use wxStatusBar class"
351 --enable-tabdialog use wxTabControl class"
353 --enable-textctrl use wxTextCtrl class"
355 --enable-togglebtn use wxToggleButton class"
357 --enable-toolbar use wxToolBar class"
359 --enable-tbarnative use native wxToolBar class"
361 --enable-tbarsmpl use wxToolBarSimple class"
363 --enable-treectrl use wxTreeCtrl class"
365 --enable-tipwindow use wxTipWindow class"
367 --enable-popupwin use wxPopUpWindow class"
369 --enable-commondlg use all common dialogs"
371 --enable-choicedlg use wxChoiceDialog"
373 --enable-coldlg use wxColourDialog"
375 --enable-filedlg use wxFileDialog"
377 --enable-finddlg use wxFindReplaceDialog"
379 --enable-fontdlg use wxFontDialog"
381 --enable-dirdlg use wxDirDialog"
383 --enable-msgdlg use wxMessageDialog"
385 --enable-numberdlg use wxNumberEntryDialog"
387 --enable-splash use wxSplashScreen"
389 --enable-textdlg use wxTextDialog"
391 --enable-tipdlg use startup tips"
393 --enable-progressdlg use wxProgressDialog"
395 --enable-wizarddlg use wxWizard"
397 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
399 --enable-miniframe use wxMiniFrame class"
401 --enable-tooltips use wxToolTip class"
403 --enable-splines use spline drawing code"
405 --enable-validators use wxValidator and derived classes"
407 --enable-busyinfo use wxBusyInfo"
409 --enable-joystick use wxJoystick (Linux only)"
411 --enable-metafiles use wxMetaFile (Windows only)"
413 --enable-dragimage use wxDragImage"
415 --enable-palette use wxPalette class"
417 --enable-image use wxImage class"
419 --enable-gif use gif images (GIF file format)"
421 --enable-pcx use pcx images (PCX file format)"
423 --enable-iff use iff images (IFF file format)"
425 --enable-pnm use pnm images (PNM file format)"
427 --enable-xpm use xpm images (XPM file format)"
429 --enable-icocur use Windows ICO and CUR formats"
431 --disable-largefile omit support for large files"
433 --disable-gtktest do not try to compile and run a test GTK+ program"
435 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
437 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
439 --disable-gtktest Do not try to compile and run a test GTK program"
441 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
443 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
445 --disable-gtktest Do not try to compile and run a test GTK program"
447 --with-x use the X Window System"
449 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
451 # Initialize some variables set by options.
452 # The variables have the same names as the options, with
453 # dashes changed to underlines.
455 cache_file
=.
/config.cache
464 program_transform_name
=s
,x
,x
,
472 bindir
='${exec_prefix}/bin'
473 sbindir
='${exec_prefix}/sbin'
474 libexecdir
='${exec_prefix}/libexec'
475 datadir
='${prefix}/share'
476 sysconfdir
='${prefix}/etc'
477 sharedstatedir
='${prefix}/com'
478 localstatedir
='${prefix}/var'
479 libdir
='${exec_prefix}/lib'
480 includedir
='${prefix}/include'
481 oldincludedir
='/usr/include'
482 infodir
='${prefix}/info'
483 mandir
='${prefix}/man'
485 # Initialize some other variables.
488 SHELL
=${CONFIG_SHELL-/bin/sh}
489 # Maximum number of lines to put in a shell here document.
496 # If the previous option needs an argument, assign it.
497 if test -n "$ac_prev"; then
498 eval "$ac_prev=\$ac_option"
504 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
508 # Accept the important Cygnus configure options, so we can diagnose typos.
512 -bindir | --bindir | --bindi | --bind | --bin | --bi)
514 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
515 bindir
="$ac_optarg" ;;
517 -build | --build | --buil | --bui | --bu)
519 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
520 build
="$ac_optarg" ;;
522 -cache-file | --cache-file | --cache-fil | --cache-fi \
523 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
524 ac_prev
=cache_file
;;
525 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
526 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
527 cache_file
="$ac_optarg" ;;
529 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
531 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
533 datadir
="$ac_optarg" ;;
535 -disable-* | --disable-*)
536 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
537 # Reject names that are not valid shell variable names.
538 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
539 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
541 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
542 eval "enable_${ac_feature}=no" ;;
544 -enable-* | --enable-*)
545 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
546 # Reject names that are not valid shell variable names.
547 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
548 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
550 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
555 eval "enable_${ac_feature}='$ac_optarg'" ;;
557 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
558 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
559 | --exec | --exe | --ex)
560 ac_prev
=exec_prefix
;;
561 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
562 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
563 | --exec=* | --exe=* | --ex=*)
564 exec_prefix
="$ac_optarg" ;;
566 -gas | --gas | --ga | --g)
567 # Obsolete; use --with-gas.
570 -help | --help | --hel | --he)
571 # Omit some internal or obsolete options to make the list less imposing.
572 # This message is too long to be a string in the A/UX 3.1 sh.
574 Usage: configure [options] [host]
575 Options: [defaults in brackets after descriptions]
577 --cache-file=FILE cache test results in FILE
578 --help print this message
579 --no-create do not create output files
580 --quiet, --silent do not print \`checking...' messages
581 --version print the version of autoconf that created configure
582 Directory and file names:
583 --prefix=PREFIX install architecture-independent files in PREFIX
585 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
587 --bindir=DIR user executables in DIR [EPREFIX/bin]
588 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
589 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
590 --datadir=DIR read-only architecture-independent data in DIR
592 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
593 --sharedstatedir=DIR modifiable architecture-independent data in DIR
595 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
596 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
597 --includedir=DIR C header files in DIR [PREFIX/include]
598 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
599 --infodir=DIR info documentation in DIR [PREFIX/info]
600 --mandir=DIR man documentation in DIR [PREFIX/man]
601 --srcdir=DIR find the sources in DIR [configure dir or ..]
602 --program-prefix=PREFIX prepend PREFIX to installed program names
603 --program-suffix=SUFFIX append SUFFIX to installed program names
604 --program-transform-name=PROGRAM
605 run sed PROGRAM on installed program names
609 --build=BUILD configure for building on BUILD [BUILD=HOST]
610 --host=HOST configure for HOST [guessed]
611 --target=TARGET configure for TARGET [TARGET=HOST]
612 Features and packages:
613 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
614 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
615 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
616 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
617 --x-includes=DIR X include files are in DIR
618 --x-libraries=DIR X library files are in DIR
620 if test -n "$ac_help"; then
621 echo "--enable and --with options recognized:$ac_help"
625 -host | --host | --hos | --ho)
627 -host=* | --host=* | --hos=* | --ho=*)
630 -includedir | --includedir | --includedi | --included | --include \
631 | --includ | --inclu | --incl | --inc)
632 ac_prev
=includedir
;;
633 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
634 | --includ=* | --inclu=* | --incl=* | --inc=*)
635 includedir
="$ac_optarg" ;;
637 -infodir | --infodir | --infodi | --infod | --info | --inf)
639 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
640 infodir
="$ac_optarg" ;;
642 -libdir | --libdir | --libdi | --libd)
644 -libdir=* | --libdir=* | --libdi=* | --libd=*)
645 libdir
="$ac_optarg" ;;
647 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
648 | --libexe | --libex | --libe)
649 ac_prev
=libexecdir
;;
650 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
651 | --libexe=* | --libex=* | --libe=*)
652 libexecdir
="$ac_optarg" ;;
654 -localstatedir | --localstatedir | --localstatedi | --localstated \
655 | --localstate | --localstat | --localsta | --localst \
656 | --locals | --local | --loca | --loc | --lo)
657 ac_prev
=localstatedir
;;
658 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
659 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
660 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
661 localstatedir
="$ac_optarg" ;;
663 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
665 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
666 mandir
="$ac_optarg" ;;
669 # Obsolete; use --without-fp.
672 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
676 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
677 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
680 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
681 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
682 | --oldin | --oldi | --old | --ol | --o)
683 ac_prev
=oldincludedir
;;
684 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
685 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
686 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
687 oldincludedir
="$ac_optarg" ;;
689 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
691 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
692 prefix
="$ac_optarg" ;;
694 -program-prefix | --program-prefix | --program-prefi | --program-pref \
695 | --program-pre | --program-pr | --program-p)
696 ac_prev
=program_prefix
;;
697 -program-prefix=* | --program-prefix=* | --program-prefi=* \
698 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
699 program_prefix
="$ac_optarg" ;;
701 -program-suffix | --program-suffix | --program-suffi | --program-suff \
702 | --program-suf | --program-su | --program-s)
703 ac_prev
=program_suffix
;;
704 -program-suffix=* | --program-suffix=* | --program-suffi=* \
705 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
706 program_suffix
="$ac_optarg" ;;
708 -program-transform-name | --program-transform-name \
709 | --program-transform-nam | --program-transform-na \
710 | --program-transform-n | --program-transform- \
711 | --program-transform | --program-transfor \
712 | --program-transfo | --program-transf \
713 | --program-trans | --program-tran \
714 | --progr-tra | --program-tr | --program-t)
715 ac_prev
=program_transform_name
;;
716 -program-transform-name=* | --program-transform-name=* \
717 | --program-transform-nam=* | --program-transform-na=* \
718 | --program-transform-n=* | --program-transform-=* \
719 | --program-transform=* | --program-transfor=* \
720 | --program-transfo=* | --program-transf=* \
721 | --program-trans=* | --program-tran=* \
722 | --progr-tra=* | --program-tr=* | --program-t=*)
723 program_transform_name
="$ac_optarg" ;;
725 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
726 | -silent | --silent | --silen | --sile | --sil)
729 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
731 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
733 sbindir
="$ac_optarg" ;;
735 -sharedstatedir | --sharedstatedir | --sharedstatedi \
736 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
737 | --sharedst | --shareds | --shared | --share | --shar \
739 ac_prev
=sharedstatedir
;;
740 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
741 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
742 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
744 sharedstatedir
="$ac_optarg" ;;
746 -site | --site | --sit)
748 -site=* | --site=* | --sit=*)
751 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
753 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
754 srcdir
="$ac_optarg" ;;
756 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
757 | --syscon | --sysco | --sysc | --sys | --sy)
758 ac_prev
=sysconfdir
;;
759 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
760 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
761 sysconfdir
="$ac_optarg" ;;
763 -target | --target | --targe | --targ | --tar | --ta | --t)
765 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
766 target
="$ac_optarg" ;;
768 -v | -verbose | --verbose | --verbos | --verbo | --verb)
771 -version | --version | --versio | --versi | --vers)
772 echo "configure generated by autoconf version 2.13"
776 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
777 # Reject names that are not valid shell variable names.
778 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
779 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
781 ac_package
=`echo $ac_package| sed 's/-/_/g'`
786 eval "with_${ac_package}='$ac_optarg'" ;;
788 -without-* | --without-*)
789 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
790 # Reject names that are not valid shell variable names.
791 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
792 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
794 ac_package
=`echo $ac_package| sed 's/-/_/g'`
795 eval "with_${ac_package}=no" ;;
798 # Obsolete; use --with-x.
801 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
802 | --x-incl | --x-inc | --x-in | --x-i)
803 ac_prev
=x_includes
;;
804 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
805 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
806 x_includes
="$ac_optarg" ;;
808 -x-libraries | --x-libraries | --x-librarie | --x-librari \
809 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
810 ac_prev
=x_libraries
;;
811 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
812 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
813 x_libraries
="$ac_optarg" ;;
815 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
819 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
820 echo "configure: warning: $ac_option: invalid host type" 1>&2
822 if test "x$nonopt" != xNONE
; then
823 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
831 if test -n "$ac_prev"; then
832 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
835 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
837 # File descriptor usage:
840 # 2 errors and warnings
841 # 3 some systems may open it to /dev/tty
842 # 4 used on the Kubota Titan
843 # 6 checking for... messages and results
844 # 5 compiler messages saved in config.log
845 if test "$silent" = yes; then
853 This file contains any messages produced by compilers while
854 running configure, to aid debugging if configure makes a mistake.
857 # Strip out --no-create and --no-recursion so they do not pile up.
858 # Also quote any args containing shell metacharacters.
863 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
864 | --no-cr | --no-c) ;;
865 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
866 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
867 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
868 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
869 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
874 # Only set these to C if already set. These must not be set unconditionally
875 # because not all systems understand e.g. LANG=C (notably SCO).
876 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
877 # Non-C LC_CTYPE values break the ctype check.
878 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
879 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
880 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
881 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
883 # confdefs.h avoids OS command line length limits that DEFS can exceed.
884 rm -rf conftest
* confdefs.h
885 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
888 # A filename unique to this package, relative to the directory that
889 # configure is in, which we can look for to find out if srcdir is correct.
890 ac_unique_file
=wx
-config.
in
892 # Find the source files, if location was not specified.
893 if test -z "$srcdir"; then
894 ac_srcdir_defaulted
=yes
895 # Try the directory containing this script, then its parent.
897 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
898 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
900 if test ! -r $srcdir/$ac_unique_file; then
904 ac_srcdir_defaulted
=no
906 if test ! -r $srcdir/$ac_unique_file; then
907 if test "$ac_srcdir_defaulted" = yes; then
908 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
910 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
913 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
915 # Prefer explicitly selected file to automatically selected ones.
916 if test -z "$CONFIG_SITE"; then
917 if test "x$prefix" != xNONE
; then
918 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
920 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
923 for ac_site_file
in $CONFIG_SITE; do
924 if test -r "$ac_site_file"; then
925 echo "loading site script $ac_site_file"
930 if test -r "$cache_file"; then
931 echo "loading cache $cache_file"
934 echo "creating cache $cache_file"
939 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
940 ac_cpp
='$CPP $CPPFLAGS'
941 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
942 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
943 cross_compiling
=$ac_cv_prog_cc_cross
947 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
948 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
949 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
956 ac_n
= ac_c
='\c' ac_t
=
962 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
963 if test -f $ac_dir/install-sh; then
965 ac_install_sh
="$ac_aux_dir/install-sh -c"
967 elif test -f $ac_dir/install.sh
; then
969 ac_install_sh
="$ac_aux_dir/install.sh -c"
973 if test -z "$ac_aux_dir"; then
974 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
976 ac_config_guess
=$ac_aux_dir/config.guess
977 ac_config_sub
=$ac_aux_dir/config.sub
978 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
981 # Do some error checking and defaulting for the host and target type.
983 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
986 # 1. You are not allowed to specify --host, --target, and nonopt at the
988 # 2. Host defaults to nonopt.
989 # 3. If nonopt is not specified, then host defaults to the current host,
990 # as determined by config.guess.
991 # 4. Target and build default to nonopt.
992 # 5. If nonopt is not specified, then target and build default to host.
994 # The aliases save the names the user supplied, while $host etc.
995 # will get canonicalized.
996 case $host---$target---$nonopt in
997 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
998 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1002 # Make sure we can run config.sub.
1003 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1004 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1007 echo $ac_n "checking host system type""... $ac_c" 1>&6
1008 echo "configure:1009: checking host system type" >&5
1011 case "$host_alias" in
1015 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1016 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1018 *) host_alias
=$nonopt ;;
1022 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1023 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1024 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1025 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1026 echo "$ac_t""$host" 1>&6
1028 echo $ac_n "checking target system type""... $ac_c" 1>&6
1029 echo "configure:1030: checking target system type" >&5
1031 target_alias
=$target
1032 case "$target_alias" in
1035 NONE
) target_alias
=$host_alias ;;
1036 *) target_alias
=$nonopt ;;
1040 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1041 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1042 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1043 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1044 echo "$ac_t""$target" 1>&6
1046 echo $ac_n "checking build system type""... $ac_c" 1>&6
1047 echo "configure:1048: checking build system type" >&5
1050 case "$build_alias" in
1053 NONE
) build_alias
=$host_alias ;;
1054 *) build_alias
=$nonopt ;;
1058 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1059 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1060 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1061 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1062 echo "$ac_t""$build" 1>&6
1064 test "$host_alias" != "$target_alias" &&
1065 test "$program_prefix$program_suffix$program_transform_name" = \
1067 program_prefix
=${target_alias}-
1071 WX_MAJOR_VERSION_NUMBER
=2
1072 WX_MINOR_VERSION_NUMBER
=3
1075 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1076 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1078 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1112 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1114 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM WINE X11"
1119 DEFAULT_wxUSE_MICROWIN
=0
1120 DEFAULT_wxUSE_MOTIF
=0
1123 DEFAULT_wxUSE_WINE
=0
1126 DEFAULT_DEFAULT_wxUSE_GTK
=0
1127 DEFAULT_DEFAULT_wxUSE_MAC
=0
1128 DEFAULT_DEFAULT_wxUSE_MGL
=0
1129 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1130 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1131 DEFAULT_DEFAULT_wxUSE_MSW
=0
1132 DEFAULT_DEFAULT_wxUSE_PM
=0
1133 DEFAULT_DEFAULT_wxUSE_WINE
=0
1134 DEFAULT_DEFAULT_wxUSE_X11
=0
1142 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1143 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1145 cat >> confdefs.h
<<\EOF
1152 cat >> confdefs.h
<<\EOF
1157 if test "x$TMP" = "xalpha"; then
1159 cat >> confdefs.h
<<\EOF
1164 DEFAULT_DEFAULT_wxUSE_GTK
=1
1166 *-*-irix5* | *-*-irix6* )
1169 cat >> confdefs.h
<<\EOF
1173 cat >> confdefs.h
<<\EOF
1177 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1183 cat >> confdefs.h
<<\EOF
1187 cat >> confdefs.h
<<\EOF
1188 #define __SOLARIS__ 1
1191 cat >> confdefs.h
<<\EOF
1195 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1196 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1202 cat >> confdefs.h
<<\EOF
1206 cat >> confdefs.h
<<\EOF
1210 cat >> confdefs.h
<<\EOF
1214 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1219 cat >> confdefs.h
<<\EOF
1220 #define __FREEBSD__ 1
1223 cat >> confdefs.h
<<\EOF
1227 DEFAULT_DEFAULT_wxUSE_GTK
=1
1232 cat >> confdefs.h
<<\EOF
1233 #define __FREEBSD__ 1
1236 cat >> confdefs.h
<<\EOF
1237 #define __OPENBSD__ 1
1240 DEFAULT_DEFAULT_wxUSE_GTK
=1
1245 cat >> confdefs.h
<<\EOF
1246 #define __FREEBSD__ 1
1249 cat >> confdefs.h
<<\EOF
1250 #define __NETBSD__ 1
1253 DEFAULT_DEFAULT_wxUSE_GTK
=1
1258 cat >> confdefs.h
<<\EOF
1262 cat >> confdefs.h
<<\EOF
1266 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1267 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1272 cat >> confdefs.h
<<\EOF
1276 cat >> confdefs.h
<<\EOF
1280 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1285 cat >> confdefs.h
<<\EOF
1289 cat >> confdefs.h
<<\EOF
1293 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1300 cat >> confdefs.h
<<\EOF
1304 cat >> confdefs.h
<<\EOF
1308 cat >> confdefs.h
<<\EOF
1312 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1315 *-*-cygwin* | *-*-mingw32* )
1319 DEFAULT_DEFAULT_wxUSE_MSW
=1
1325 cat >> confdefs.h
<<\EOF
1330 DEFAULT_DEFAULT_wxUSE_MGL
=1
1331 LIBS
="$LIBS -lstdc++"
1334 *-pc-os2_emx | *-pc-os2-emx )
1335 cat >> confdefs.h
<<\EOF
1340 DEFAULT_DEFAULT_wxUSE_PM
=1
1341 LIBS
="$LIBS -lstdcpp"
1348 cat >> confdefs.h
<<\EOF
1352 cat >> confdefs.h
<<\EOF
1353 #define __DARWIN__ 1
1356 cat >> confdefs.h
<<\EOF
1357 #define __POWERPC__ 1
1360 DEFAULT_DEFAULT_wxUSE_MAC
=1
1365 cat >> confdefs.h
<<\EOF
1372 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1378 wx_arg_cache_file
="configarg.cache"
1379 echo "loading argument cache $wx_arg_cache_file"
1380 rm -f ${wx_arg_cache_file}.tmp
1381 touch ${wx_arg_cache_file}.tmp
1382 touch ${wx_arg_cache_file}
1386 if test $DEBUG_CONFIGURE = 1; then
1387 DEFAULT_wxUSE_UNIVERSAL
=no
1389 DEFAULT_wxUSE_NANOX
=no
1391 DEFAULT_wxUSE_THREADS
=yes
1393 DEFAULT_wxUSE_SHARED
=yes
1394 DEFAULT_wxUSE_SONAME
=no
1395 DEFAULT_wxUSE_OPTIMISE
=no
1396 DEFAULT_wxUSE_PROFILE
=no
1397 DEFAULT_wxUSE_NO_DEPS
=no
1398 DEFAULT_wxUSE_NO_RTTI
=no
1399 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1400 DEFAULT_wxUSE_PERMISSIVE
=no
1401 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1402 DEFAULT_wxUSE_DEBUG_INFO
=yes
1403 DEFAULT_wxUSE_DEBUG_GDB
=yes
1404 DEFAULT_wxUSE_MEM_TRACING
=no
1405 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1406 DEFAULT_wxUSE_DMALLOC
=no
1407 DEFAULT_wxUSE_PRECOMP
=no
1408 DEFAULT_wxUSE_APPLE_IEEE
=no
1410 DEFAULT_wxUSE_LOG
=yes
1411 DEFAULT_wxUSE_LOGWINDOW
=no
1412 DEFAULT_wxUSE_LOGGUI
=no
1413 DEFAULT_wxUSE_LOGDIALOG
=no
1415 DEFAULT_wxUSE_GUI
=yes
1416 DEFAULT_wxUSE_CONTROLS
=no
1418 DEFAULT_wxUSE_REGEX
=no
1419 DEFAULT_wxUSE_ZLIB
=no
1420 DEFAULT_wxUSE_LIBPNG
=no
1421 DEFAULT_wxUSE_LIBJPEG
=no
1422 DEFAULT_wxUSE_LIBTIFF
=no
1423 DEFAULT_wxUSE_ODBC
=no
1424 DEFAULT_wxUSE_OPENGL
=no
1426 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1427 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1428 DEFAULT_wxUSE_STD_IOSTREAM
=no
1429 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1430 DEFAULT_wxUSE_DATETIME
=no
1431 DEFAULT_wxUSE_TIMEDATE
=no
1432 DEFAULT_wxUSE_TIMER
=no
1433 DEFAULT_wxUSE_STOPWATCH
=no
1434 DEFAULT_wxUSE_FILE
=no
1435 DEFAULT_wxUSE_FFILE
=no
1436 DEFAULT_wxUSE_TEXTBUFFER
=no
1437 DEFAULT_wxUSE_TEXTFILE
=no
1438 DEFAULT_wxUSE_WAVE
=no
1439 DEFAULT_wxUSE_INTL
=no
1440 DEFAULT_wxUSE_CONFIG
=no
1441 DEFAULT_wxUSE_FONTMAP
=no
1442 DEFAULT_wxUSE_STREAMS
=no
1443 DEFAULT_wxUSE_SOCKETS
=no
1444 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1445 DEFAULT_wxUSE_JOYSTICK
=no
1446 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1447 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1448 DEFAULT_wxUSE_LONGLONG
=no
1449 DEFAULT_wxUSE_GEOMETRY
=no
1451 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1452 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1453 DEFAULT_wxUSE_POSTSCRIPT
=no
1455 DEFAULT_wxUSE_X_RESOURCES
=no
1456 DEFAULT_wxUSE_CLIPBOARD
=no
1457 DEFAULT_wxUSE_TOOLTIPS
=no
1458 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1459 DEFAULT_wxUSE_DRAGIMAGE
=no
1460 DEFAULT_wxUSE_SPLINES
=no
1462 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1463 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1464 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1466 DEFAULT_wxUSE_PROLOGIO
=no
1467 DEFAULT_wxUSE_RESOURCES
=no
1468 DEFAULT_wxUSE_CONSTRAINTS
=no
1469 DEFAULT_wxUSE_IPC
=no
1470 DEFAULT_wxUSE_HELP
=no
1471 DEFAULT_wxUSE_MS_HTML_HELP
=no
1472 DEFAULT_wxUSE_WXHTML_HELP
=no
1473 DEFAULT_wxUSE_TREELAYOUT
=no
1474 DEFAULT_wxUSE_METAFILE
=no
1475 DEFAULT_wxUSE_MIMETYPE
=no
1476 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1477 DEFAULT_wxUSE_PROTOCOL
=no
1478 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1479 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1480 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1481 DEFAULT_wxUSE_URL
=no
1483 DEFAULT_wxUSE_COMMONDLGS
=no
1484 DEFAULT_wxUSE_CHOICEDLG
=no
1485 DEFAULT_wxUSE_COLOURDLG
=no
1486 DEFAULT_wxUSE_DIRDLG
=no
1487 DEFAULT_wxUSE_FILEDLG
=no
1488 DEFAULT_wxUSE_FINDREPLDLG
=no
1489 DEFAULT_wxUSE_FONTDLG
=no
1490 DEFAULT_wxUSE_MSGDLG
=no
1491 DEFAULT_wxUSE_NUMBERDLG
=no
1492 DEFAULT_wxUSE_TEXTDLG
=no
1493 DEFAULT_wxUSE_SPLASH
=no
1494 DEFAULT_wxUSE_STARTUP_TIPS
=no
1495 DEFAULT_wxUSE_PROGRESSDLG
=no
1496 DEFAULT_wxUSE_WIZARDDLG
=no
1498 DEFAULT_wxUSE_MENUS
=no
1499 DEFAULT_wxUSE_MINIFRAME
=no
1500 DEFAULT_wxUSE_HTML
=no
1501 DEFAULT_wxUSE_FILESYSTEM
=no
1502 DEFAULT_wxUSE_FS_INET
=no
1503 DEFAULT_wxUSE_FS_ZIP
=no
1504 DEFAULT_wxUSE_BUSYINFO
=no
1505 DEFAULT_wxUSE_ZIPSTREAM
=no
1506 DEFAULT_wxUSE_VALIDATORS
=no
1508 DEFAULT_wxUSE_ACCEL
=no
1509 DEFAULT_wxUSE_BUTTON
=no
1510 DEFAULT_wxUSE_BMPBUTTON
=no
1511 DEFAULT_wxUSE_CALCTRL
=no
1512 DEFAULT_wxUSE_CARET
=no
1513 DEFAULT_wxUSE_CHECKBOX
=no
1514 DEFAULT_wxUSE_CHECKLST
=no
1515 DEFAULT_wxUSE_CHOICE
=no
1516 DEFAULT_wxUSE_COMBOBOX
=no
1517 DEFAULT_wxUSE_GAUGE
=no
1518 DEFAULT_wxUSE_GRID
=no
1519 DEFAULT_wxUSE_NEW_GRID
=no
1520 DEFAULT_wxUSE_IMAGLIST
=no
1521 DEFAULT_wxUSE_LISTBOX
=no
1522 DEFAULT_wxUSE_LISTCTRL
=no
1523 DEFAULT_wxUSE_NOTEBOOK
=no
1524 DEFAULT_wxUSE_PROPSHEET
=no
1525 DEFAULT_wxUSE_RADIOBOX
=no
1526 DEFAULT_wxUSE_RADIOBTN
=no
1527 DEFAULT_wxUSE_SASH
=no
1528 DEFAULT_wxUSE_SCROLLBAR
=no
1529 DEFAULT_wxUSE_SLIDER
=no
1530 DEFAULT_wxUSE_SPINBTN
=no
1531 DEFAULT_wxUSE_SPINCTRL
=no
1532 DEFAULT_wxUSE_SPLITTER
=no
1533 DEFAULT_wxUSE_STATBMP
=no
1534 DEFAULT_wxUSE_STATBOX
=no
1535 DEFAULT_wxUSE_STATLINE
=no
1536 DEFAULT_wxUSE_STATTEXT
=no
1537 DEFAULT_wxUSE_STATUSBAR
=yes
1538 DEFAULT_wxUSE_TABDIALOG
=no
1539 DEFAULT_wxUSE_TEXTCTRL
=no
1540 DEFAULT_wxUSE_TOGGLEBTN
=no
1541 DEFAULT_wxUSE_TOOLBAR
=no
1542 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1543 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1544 DEFAULT_wxUSE_TREECTRL
=no
1545 DEFAULT_wxUSE_POPUPWIN
=no
1546 DEFAULT_wxUSE_TIPWINDOW
=no
1548 DEFAULT_wxUSE_UNICODE
=no
1549 DEFAULT_wxUSE_UNICODE_MSLU
=no
1550 DEFAULT_wxUSE_WCSRTOMBS
=no
1552 DEFAULT_wxUSE_PALETTE
=no
1553 DEFAULT_wxUSE_IMAGE
=no
1554 DEFAULT_wxUSE_GIF
=no
1555 DEFAULT_wxUSE_PCX
=no
1556 DEFAULT_wxUSE_PNM
=no
1557 DEFAULT_wxUSE_IFF
=no
1558 DEFAULT_wxUSE_XPM
=no
1559 DEFAULT_wxUSE_ICO_CUR
=no
1561 DEFAULT_wxUSE_UNIVERSAL
=no
1563 DEFAULT_wxUSE_NANOX
=no
1565 DEFAULT_wxUSE_THREADS
=yes
1567 DEFAULT_wxUSE_SHARED
=yes
1568 DEFAULT_wxUSE_SONAME
=no
1569 DEFAULT_wxUSE_OPTIMISE
=yes
1570 DEFAULT_wxUSE_PROFILE
=no
1571 DEFAULT_wxUSE_NO_DEPS
=no
1572 DEFAULT_wxUSE_NO_RTTI
=no
1573 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1574 DEFAULT_wxUSE_PERMISSIVE
=no
1575 DEFAULT_wxUSE_DEBUG_FLAG
=no
1576 DEFAULT_wxUSE_DEBUG_INFO
=no
1577 DEFAULT_wxUSE_DEBUG_GDB
=no
1578 DEFAULT_wxUSE_MEM_TRACING
=no
1579 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1580 DEFAULT_wxUSE_DMALLOC
=no
1581 DEFAULT_wxUSE_PRECOMP
=no
1582 DEFAULT_wxUSE_APPLE_IEEE
=yes
1584 DEFAULT_wxUSE_LOG
=yes
1585 DEFAULT_wxUSE_LOGWINDOW
=yes
1586 DEFAULT_wxUSE_LOGGUI
=yes
1587 DEFAULT_wxUSE_LOGDIALOG
=yes
1589 DEFAULT_wxUSE_GUI
=yes
1591 DEFAULT_wxUSE_REGEX
=yes
1592 DEFAULT_wxUSE_ZLIB
=yes
1593 DEFAULT_wxUSE_LIBPNG
=yes
1594 DEFAULT_wxUSE_LIBJPEG
=yes
1595 DEFAULT_wxUSE_LIBTIFF
=yes
1596 DEFAULT_wxUSE_ODBC
=no
1597 DEFAULT_wxUSE_OPENGL
=no
1599 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1600 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1601 DEFAULT_wxUSE_STD_IOSTREAM
=no
1602 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1603 DEFAULT_wxUSE_DATETIME
=yes
1604 DEFAULT_wxUSE_TIMEDATE
=no
1605 DEFAULT_wxUSE_TIMER
=yes
1606 DEFAULT_wxUSE_STOPWATCH
=yes
1607 DEFAULT_wxUSE_FILE
=yes
1608 DEFAULT_wxUSE_FFILE
=yes
1609 DEFAULT_wxUSE_TEXTBUFFER
=yes
1610 DEFAULT_wxUSE_TEXTFILE
=yes
1611 DEFAULT_wxUSE_WAVE
=no
1612 DEFAULT_wxUSE_INTL
=yes
1613 DEFAULT_wxUSE_CONFIG
=yes
1614 DEFAULT_wxUSE_FONTMAP
=yes
1615 DEFAULT_wxUSE_STREAMS
=yes
1616 DEFAULT_wxUSE_SOCKETS
=yes
1617 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1618 DEFAULT_wxUSE_JOYSTICK
=yes
1619 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1620 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1621 DEFAULT_wxUSE_LONGLONG
=yes
1622 DEFAULT_wxUSE_GEOMETRY
=yes
1624 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1625 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1626 DEFAULT_wxUSE_POSTSCRIPT
=yes
1628 DEFAULT_wxUSE_X_RESOURCES
=no
1629 DEFAULT_wxUSE_CLIPBOARD
=yes
1630 DEFAULT_wxUSE_TOOLTIPS
=yes
1631 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1632 DEFAULT_wxUSE_DRAGIMAGE
=yes
1633 DEFAULT_wxUSE_SPLINES
=yes
1635 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1636 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1637 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1639 DEFAULT_wxUSE_PROLOGIO
=yes
1640 DEFAULT_wxUSE_RESOURCES
=yes
1641 DEFAULT_wxUSE_CONSTRAINTS
=yes
1642 DEFAULT_wxUSE_IPC
=yes
1643 DEFAULT_wxUSE_HELP
=yes
1644 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1645 DEFAULT_wxUSE_WXHTML_HELP
=yes
1646 DEFAULT_wxUSE_TREELAYOUT
=yes
1647 DEFAULT_wxUSE_METAFILE
=yes
1648 DEFAULT_wxUSE_MIMETYPE
=yes
1649 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1650 DEFAULT_wxUSE_PROTOCOL
=yes
1651 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1652 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1653 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1654 DEFAULT_wxUSE_URL
=yes
1656 DEFAULT_wxUSE_COMMONDLGS
=yes
1657 DEFAULT_wxUSE_CHOICEDLG
=yes
1658 DEFAULT_wxUSE_COLOURDLG
=yes
1659 DEFAULT_wxUSE_DIRDLG
=yes
1660 DEFAULT_wxUSE_FILEDLG
=yes
1661 DEFAULT_wxUSE_FINDREPLDLG
=yes
1662 DEFAULT_wxUSE_FONTDLG
=yes
1663 DEFAULT_wxUSE_MSGDLG
=yes
1664 DEFAULT_wxUSE_NUMBERDLG
=yes
1665 DEFAULT_wxUSE_TEXTDLG
=yes
1666 DEFAULT_wxUSE_SPLASH
=yes
1667 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1668 DEFAULT_wxUSE_PROGRESSDLG
=yes
1669 DEFAULT_wxUSE_WIZARDDLG
=yes
1671 DEFAULT_wxUSE_MENUS
=yes
1672 DEFAULT_wxUSE_MINIFRAME
=yes
1673 DEFAULT_wxUSE_HTML
=yes
1674 DEFAULT_wxUSE_FILESYSTEM
=yes
1675 DEFAULT_wxUSE_FS_INET
=yes
1676 DEFAULT_wxUSE_FS_ZIP
=yes
1677 DEFAULT_wxUSE_BUSYINFO
=yes
1678 DEFAULT_wxUSE_ZIPSTREAM
=yes
1679 DEFAULT_wxUSE_VALIDATORS
=yes
1681 DEFAULT_wxUSE_ACCEL
=yes
1682 DEFAULT_wxUSE_BUTTON
=yes
1683 DEFAULT_wxUSE_BMPBUTTON
=yes
1684 DEFAULT_wxUSE_CALCTRL
=yes
1685 DEFAULT_wxUSE_CARET
=yes
1686 DEFAULT_wxUSE_CHECKBOX
=yes
1687 DEFAULT_wxUSE_CHECKLST
=yes
1688 DEFAULT_wxUSE_CHOICE
=yes
1689 DEFAULT_wxUSE_COMBOBOX
=yes
1690 DEFAULT_wxUSE_GAUGE
=yes
1691 DEFAULT_wxUSE_GRID
=yes
1692 DEFAULT_wxUSE_NEW_GRID
=yes
1693 DEFAULT_wxUSE_IMAGLIST
=yes
1694 DEFAULT_wxUSE_LISTBOX
=yes
1695 DEFAULT_wxUSE_LISTCTRL
=yes
1696 DEFAULT_wxUSE_NOTEBOOK
=yes
1697 DEFAULT_wxUSE_PROPSHEET
=yes
1698 DEFAULT_wxUSE_RADIOBOX
=yes
1699 DEFAULT_wxUSE_RADIOBTN
=yes
1700 DEFAULT_wxUSE_SASH
=yes
1701 DEFAULT_wxUSE_SCROLLBAR
=yes
1702 DEFAULT_wxUSE_SLIDER
=yes
1703 DEFAULT_wxUSE_SPINBTN
=yes
1704 DEFAULT_wxUSE_SPINCTRL
=yes
1705 DEFAULT_wxUSE_SPLITTER
=yes
1706 DEFAULT_wxUSE_STATBMP
=yes
1707 DEFAULT_wxUSE_STATBOX
=yes
1708 DEFAULT_wxUSE_STATLINE
=yes
1709 DEFAULT_wxUSE_STATTEXT
=yes
1710 DEFAULT_wxUSE_STATUSBAR
=yes
1711 DEFAULT_wxUSE_TABDIALOG
=no
1712 DEFAULT_wxUSE_TEXTCTRL
=yes
1713 DEFAULT_wxUSE_TOGGLEBTN
=yes
1714 DEFAULT_wxUSE_TOOLBAR
=yes
1715 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1716 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1717 DEFAULT_wxUSE_TREECTRL
=yes
1718 DEFAULT_wxUSE_POPUPWIN
=yes
1719 DEFAULT_wxUSE_TIPWINDOW
=yes
1721 DEFAULT_wxUSE_UNICODE
=no
1722 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1723 DEFAULT_wxUSE_WCSRTOMBS
=no
1725 DEFAULT_wxUSE_PALETTE
=yes
1726 DEFAULT_wxUSE_IMAGE
=yes
1727 DEFAULT_wxUSE_GIF
=yes
1728 DEFAULT_wxUSE_PCX
=yes
1729 DEFAULT_wxUSE_IFF
=no
1730 DEFAULT_wxUSE_PNM
=yes
1731 DEFAULT_wxUSE_XPM
=yes
1732 DEFAULT_wxUSE_ICO_CUR
=yes
1737 for toolkit
in `echo $ALL_TOOLKITS`; do
1738 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1739 if test "x$LINE" != x
; then
1740 has_toolkit_in_cache
=1
1741 eval "DEFAULT_$LINE"
1742 eval "CACHE_$toolkit=1"
1748 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1749 echo "configure:1750: checking for --enable-gui" >&5
1751 # Check whether --enable-gui or --disable-gui was given.
1752 if test "${enable_gui+set}" = set; then
1753 enableval
="$enable_gui"
1755 if test "$enableval" = yes; then
1756 ac_cv_use_gui
='wxUSE_GUI=yes'
1758 ac_cv_use_gui
='wxUSE_GUI=no'
1763 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1764 if test "x$LINE" != x
; then
1765 eval "DEFAULT_$LINE"
1770 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1775 eval "$ac_cv_use_gui"
1776 if test "$no_cache" != 1; then
1777 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1780 if test "$wxUSE_GUI" = yes; then
1781 echo "$ac_t""yes" 1>&6
1783 echo "$ac_t""no" 1>&6
1787 if test "$wxUSE_GUI" = "yes"; then
1790 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1791 echo "configure:1792: checking for --enable-universal" >&5
1793 # Check whether --enable-universal or --disable-universal was given.
1794 if test "${enable_universal+set}" = set; then
1795 enableval
="$enable_universal"
1797 if test "$enableval" = yes; then
1798 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1800 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1805 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1806 if test "x$LINE" != x
; then
1807 eval "DEFAULT_$LINE"
1812 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1817 eval "$ac_cv_use_universal"
1818 if test "$no_cache" != 1; then
1819 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1822 if test "$wxUSE_UNIVERSAL" = yes; then
1823 echo "$ac_t""yes" 1>&6
1825 echo "$ac_t""no" 1>&6
1828 # Check whether --with-gtk or --without-gtk was given.
1829 if test "${with_gtk+set}" = set; then
1831 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1834 # Check whether --with-motif or --without-motif was given.
1835 if test "${with_motif+set}" = set; then
1836 withval
="$with_motif"
1837 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1840 # Check whether --with-mac or --without-mac was given.
1841 if test "${with_mac+set}" = set; then
1843 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1846 # Check whether --with-wine or --without-wine was given.
1847 if test "${with_wine+set}" = set; then
1848 withval
="$with_wine"
1849 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1852 # Check whether --with-msw or --without-msw was given.
1853 if test "${with_msw+set}" = set; then
1855 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1858 # Check whether --with-pm or --without-pm was given.
1859 if test "${with_pm+set}" = set; then
1861 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1864 # Check whether --with-mgl or --without-mgl was given.
1865 if test "${with_mgl+set}" = set; then
1867 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1870 # Check whether --with-microwin or --without-microwin was given.
1871 if test "${with_microwin+set}" = set; then
1872 withval
="$with_microwin"
1873 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1876 # Check whether --with-x11 or --without-x11 was given.
1877 if test "${with_x11+set}" = set; then
1879 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1883 echo $ac_n "checking for --enable-nanox""... $ac_c" 1>&6
1884 echo "configure:1885: checking for --enable-nanox" >&5
1886 # Check whether --enable-nanox or --disable-nanox was given.
1887 if test "${enable_nanox+set}" = set; then
1888 enableval
="$enable_nanox"
1890 if test "$enableval" = yes; then
1891 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1893 ac_cv_use_nanox
='wxUSE_NANOX=no'
1898 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1899 if test "x$LINE" != x
; then
1900 eval "DEFAULT_$LINE"
1905 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1910 eval "$ac_cv_use_nanox"
1911 if test "$no_cache" != 1; then
1912 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1915 if test "$wxUSE_NANOX" = yes; then
1916 echo "$ac_t""yes" 1>&6
1918 echo "$ac_t""no" 1>&6
1922 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1923 if test "${enable_gtk2+set}" = set; then
1924 enableval
="$enable_gtk2"
1932 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1933 echo "configure:1934: checking for --with-libpng" >&5
1935 # Check whether --with-libpng or --without-libpng was given.
1936 if test "${with_libpng+set}" = set; then
1937 withval
="$with_libpng"
1939 if test "$withval" = yes; then
1940 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1941 elif test "$withval" = no
; then
1942 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1943 elif test "$withval" = sys
; then
1944 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1945 elif test "$withval" = builtin; then
1946 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1948 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1953 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1954 if test "x$LINE" != x
; then
1955 eval "DEFAULT_$LINE"
1960 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1965 eval "$ac_cv_use_libpng"
1966 if test "$no_cache" != 1; then
1967 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1970 if test "$wxUSE_LIBPNG" = yes; then
1971 echo "$ac_t""yes" 1>&6
1972 elif test "$wxUSE_LIBPNG" = no
; then
1973 echo "$ac_t""no" 1>&6
1974 elif test "$wxUSE_LIBPNG" = sys
; then
1975 echo "$ac_t""system version" 1>&6
1976 elif test "$wxUSE_LIBPNG" = builtin; then
1977 echo "$ac_t""builtin version" 1>&6
1979 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1983 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1984 echo "configure:1985: checking for --with-libjpeg" >&5
1986 # Check whether --with-libjpeg or --without-libjpeg was given.
1987 if test "${with_libjpeg+set}" = set; then
1988 withval
="$with_libjpeg"
1990 if test "$withval" = yes; then
1991 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1992 elif test "$withval" = no
; then
1993 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1994 elif test "$withval" = sys
; then
1995 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1996 elif test "$withval" = builtin; then
1997 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
1999 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2004 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2005 if test "x$LINE" != x
; then
2006 eval "DEFAULT_$LINE"
2011 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2016 eval "$ac_cv_use_libjpeg"
2017 if test "$no_cache" != 1; then
2018 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2021 if test "$wxUSE_LIBJPEG" = yes; then
2022 echo "$ac_t""yes" 1>&6
2023 elif test "$wxUSE_LIBJPEG" = no
; then
2024 echo "$ac_t""no" 1>&6
2025 elif test "$wxUSE_LIBJPEG" = sys
; then
2026 echo "$ac_t""system version" 1>&6
2027 elif test "$wxUSE_LIBJPEG" = builtin; then
2028 echo "$ac_t""builtin version" 1>&6
2030 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2034 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2035 echo "configure:2036: checking for --with-libtiff" >&5
2037 # Check whether --with-libtiff or --without-libtiff was given.
2038 if test "${with_libtiff+set}" = set; then
2039 withval
="$with_libtiff"
2041 if test "$withval" = yes; then
2042 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2043 elif test "$withval" = no
; then
2044 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2045 elif test "$withval" = sys
; then
2046 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2047 elif test "$withval" = builtin; then
2048 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2050 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2055 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2056 if test "x$LINE" != x
; then
2057 eval "DEFAULT_$LINE"
2062 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2067 eval "$ac_cv_use_libtiff"
2068 if test "$no_cache" != 1; then
2069 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2072 if test "$wxUSE_LIBTIFF" = yes; then
2073 echo "$ac_t""yes" 1>&6
2074 elif test "$wxUSE_LIBTIFF" = no
; then
2075 echo "$ac_t""no" 1>&6
2076 elif test "$wxUSE_LIBTIFF" = sys
; then
2077 echo "$ac_t""system version" 1>&6
2078 elif test "$wxUSE_LIBTIFF" = builtin; then
2079 echo "$ac_t""builtin version" 1>&6
2081 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2085 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2086 echo "configure:2087: checking for --with-opengl" >&5
2088 # Check whether --with-opengl or --without-opengl was given.
2089 if test "${with_opengl+set}" = set; then
2090 withval
="$with_opengl"
2092 if test "$withval" = yes; then
2093 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2095 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2100 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2101 if test "x$LINE" != x
; then
2102 eval "DEFAULT_$LINE"
2107 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2112 eval "$ac_cv_use_opengl"
2113 if test "$no_cache" != 1; then
2114 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2117 if test "$wxUSE_OPENGL" = yes; then
2118 echo "$ac_t""yes" 1>&6
2120 echo "$ac_t""no" 1>&6
2127 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2128 echo "configure:2129: checking for --with-dmalloc" >&5
2130 # Check whether --with-dmalloc or --without-dmalloc was given.
2131 if test "${with_dmalloc+set}" = set; then
2132 withval
="$with_dmalloc"
2134 if test "$withval" = yes; then
2135 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2137 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2142 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2143 if test "x$LINE" != x
; then
2144 eval "DEFAULT_$LINE"
2149 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2154 eval "$ac_cv_use_dmalloc"
2155 if test "$no_cache" != 1; then
2156 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2159 if test "$wxUSE_DMALLOC" = yes; then
2160 echo "$ac_t""yes" 1>&6
2162 echo "$ac_t""no" 1>&6
2166 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2167 echo "configure:2168: checking for --with-regex" >&5
2169 # Check whether --with-regex or --without-regex was given.
2170 if test "${with_regex+set}" = set; then
2171 withval
="$with_regex"
2173 if test "$withval" = yes; then
2174 ac_cv_use_regex
='wxUSE_REGEX=yes'
2175 elif test "$withval" = no
; then
2176 ac_cv_use_regex
='wxUSE_REGEX=no'
2177 elif test "$withval" = sys
; then
2178 ac_cv_use_regex
='wxUSE_REGEX=sys'
2179 elif test "$withval" = builtin; then
2180 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2182 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2187 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2188 if test "x$LINE" != x
; then
2189 eval "DEFAULT_$LINE"
2194 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2199 eval "$ac_cv_use_regex"
2200 if test "$no_cache" != 1; then
2201 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2204 if test "$wxUSE_REGEX" = yes; then
2205 echo "$ac_t""yes" 1>&6
2206 elif test "$wxUSE_REGEX" = no
; then
2207 echo "$ac_t""no" 1>&6
2208 elif test "$wxUSE_REGEX" = sys
; then
2209 echo "$ac_t""system version" 1>&6
2210 elif test "$wxUSE_REGEX" = builtin; then
2211 echo "$ac_t""builtin version" 1>&6
2213 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2217 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2218 echo "configure:2219: checking for --with-zlib" >&5
2220 # Check whether --with-zlib or --without-zlib was given.
2221 if test "${with_zlib+set}" = set; then
2222 withval
="$with_zlib"
2224 if test "$withval" = yes; then
2225 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2226 elif test "$withval" = no
; then
2227 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2228 elif test "$withval" = sys
; then
2229 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2230 elif test "$withval" = builtin; then
2231 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2233 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2238 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2239 if test "x$LINE" != x
; then
2240 eval "DEFAULT_$LINE"
2245 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2250 eval "$ac_cv_use_zlib"
2251 if test "$no_cache" != 1; then
2252 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2255 if test "$wxUSE_ZLIB" = yes; then
2256 echo "$ac_t""yes" 1>&6
2257 elif test "$wxUSE_ZLIB" = no
; then
2258 echo "$ac_t""no" 1>&6
2259 elif test "$wxUSE_ZLIB" = sys
; then
2260 echo "$ac_t""system version" 1>&6
2261 elif test "$wxUSE_ZLIB" = builtin; then
2262 echo "$ac_t""builtin version" 1>&6
2264 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2268 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2269 echo "configure:2270: checking for --with-odbc" >&5
2271 # Check whether --with-odbc or --without-odbc was given.
2272 if test "${with_odbc+set}" = set; then
2273 withval
="$with_odbc"
2275 if test "$withval" = yes; then
2276 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2278 ac_cv_use_odbc
='wxUSE_ODBC=no'
2283 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2284 if test "x$LINE" != x
; then
2285 eval "DEFAULT_$LINE"
2290 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2295 eval "$ac_cv_use_odbc"
2296 if test "$no_cache" != 1; then
2297 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2300 if test "$wxUSE_ODBC" = yes; then
2301 echo "$ac_t""yes" 1>&6
2303 echo "$ac_t""no" 1>&6
2309 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2310 echo "configure:2311: checking for --enable-shared" >&5
2312 # Check whether --enable-shared or --disable-shared was given.
2313 if test "${enable_shared+set}" = set; then
2314 enableval
="$enable_shared"
2316 if test "$enableval" = yes; then
2317 ac_cv_use_shared
='wxUSE_SHARED=yes'
2319 ac_cv_use_shared
='wxUSE_SHARED=no'
2324 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2325 if test "x$LINE" != x
; then
2326 eval "DEFAULT_$LINE"
2331 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2336 eval "$ac_cv_use_shared"
2337 if test "$no_cache" != 1; then
2338 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2341 if test "$wxUSE_SHARED" = yes; then
2342 echo "$ac_t""yes" 1>&6
2344 echo "$ac_t""no" 1>&6
2348 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2349 echo "configure:2350: checking for --enable-soname" >&5
2351 # Check whether --enable-soname or --disable-soname was given.
2352 if test "${enable_soname+set}" = set; then
2353 enableval
="$enable_soname"
2355 if test "$enableval" = yes; then
2356 ac_cv_use_soname
='wxUSE_SONAME=yes'
2358 ac_cv_use_soname
='wxUSE_SONAME=no'
2363 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2364 if test "x$LINE" != x
; then
2365 eval "DEFAULT_$LINE"
2370 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2375 eval "$ac_cv_use_soname"
2376 if test "$no_cache" != 1; then
2377 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2380 if test "$wxUSE_SONAME" = yes; then
2381 echo "$ac_t""yes" 1>&6
2383 echo "$ac_t""no" 1>&6
2387 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2388 echo "configure:2389: checking for --enable-optimise" >&5
2390 # Check whether --enable-optimise or --disable-optimise was given.
2391 if test "${enable_optimise+set}" = set; then
2392 enableval
="$enable_optimise"
2394 if test "$enableval" = yes; then
2395 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2397 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2402 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2403 if test "x$LINE" != x
; then
2404 eval "DEFAULT_$LINE"
2409 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2414 eval "$ac_cv_use_optimise"
2415 if test "$no_cache" != 1; then
2416 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2419 if test "$wxUSE_OPTIMISE" = yes; then
2420 echo "$ac_t""yes" 1>&6
2422 echo "$ac_t""no" 1>&6
2426 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2427 echo "configure:2428: checking for --enable-debug" >&5
2429 # Check whether --enable-debug or --disable-debug was given.
2430 if test "${enable_debug+set}" = set; then
2431 enableval
="$enable_debug"
2433 if test "$enableval" = yes; then
2434 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2436 ac_cv_use_debug
='wxUSE_DEBUG=no'
2441 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2442 if test "x$LINE" != x
; then
2443 eval "DEFAULT_$LINE"
2448 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2453 eval "$ac_cv_use_debug"
2454 if test "$no_cache" != 1; then
2455 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2458 if test "$wxUSE_DEBUG" = yes; then
2459 echo "$ac_t""yes" 1>&6
2461 echo "$ac_t""no" 1>&6
2466 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2467 echo "configure:2468: checking for --enable-precomp" >&5
2469 # Check whether --enable-precomp or --disable-precomp was given.
2470 if test "${enable_precomp+set}" = set; then
2471 enableval
="$enable_precomp"
2473 if test "$enableval" = yes; then
2474 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2476 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2481 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2482 if test "x$LINE" != x
; then
2483 eval "DEFAULT_$LINE"
2488 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2493 eval "$ac_cv_use_precomp"
2494 if test "$no_cache" != 1; then
2495 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2498 if test "$wxUSE_PRECOMP" = yes; then
2499 echo "$ac_t""yes" 1>&6
2501 echo "$ac_t""no" 1>&6
2505 if test "$wxUSE_DEBUG" = "yes"; then
2506 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2507 DEFAULT_wxUSE_DEBUG_INFO
=yes
2508 elif test "$wxUSE_DEBUG" = "no"; then
2509 DEFAULT_wxUSE_DEBUG_FLAG
=no
2510 DEFAULT_wxUSE_DEBUG_INFO
=no
2514 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2515 echo "configure:2516: checking for --enable-debug_flag" >&5
2517 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2518 if test "${enable_debug_flag+set}" = set; then
2519 enableval
="$enable_debug_flag"
2521 if test "$enableval" = yes; then
2522 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2524 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2529 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2530 if test "x$LINE" != x
; then
2531 eval "DEFAULT_$LINE"
2536 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2541 eval "$ac_cv_use_debug_flag"
2542 if test "$no_cache" != 1; then
2543 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2546 if test "$wxUSE_DEBUG_FLAG" = yes; then
2547 echo "$ac_t""yes" 1>&6
2549 echo "$ac_t""no" 1>&6
2553 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2554 echo "configure:2555: checking for --enable-debug_info" >&5
2556 # Check whether --enable-debug_info or --disable-debug_info was given.
2557 if test "${enable_debug_info+set}" = set; then
2558 enableval
="$enable_debug_info"
2560 if test "$enableval" = yes; then
2561 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2563 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2568 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2569 if test "x$LINE" != x
; then
2570 eval "DEFAULT_$LINE"
2575 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2580 eval "$ac_cv_use_debug_info"
2581 if test "$no_cache" != 1; then
2582 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2585 if test "$wxUSE_DEBUG_INFO" = yes; then
2586 echo "$ac_t""yes" 1>&6
2588 echo "$ac_t""no" 1>&6
2592 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2593 echo "configure:2594: checking for --enable-debug_gdb" >&5
2595 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2596 if test "${enable_debug_gdb+set}" = set; then
2597 enableval
="$enable_debug_gdb"
2599 if test "$enableval" = yes; then
2600 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2602 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2607 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2608 if test "x$LINE" != x
; then
2609 eval "DEFAULT_$LINE"
2614 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2619 eval "$ac_cv_use_debug_gdb"
2620 if test "$no_cache" != 1; then
2621 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2624 if test "$wxUSE_DEBUG_GDB" = yes; then
2625 echo "$ac_t""yes" 1>&6
2627 echo "$ac_t""no" 1>&6
2631 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2632 echo "configure:2633: checking for --enable-debug_cntxt" >&5
2634 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2635 if test "${enable_debug_cntxt+set}" = set; then
2636 enableval
="$enable_debug_cntxt"
2638 if test "$enableval" = yes; then
2639 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2641 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2646 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2647 if test "x$LINE" != x
; then
2648 eval "DEFAULT_$LINE"
2653 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2658 eval "$ac_cv_use_debug_cntxt"
2659 if test "$no_cache" != 1; then
2660 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2663 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2664 echo "$ac_t""yes" 1>&6
2666 echo "$ac_t""no" 1>&6
2670 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2671 echo "configure:2672: checking for --enable-mem_tracing" >&5
2673 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2674 if test "${enable_mem_tracing+set}" = set; then
2675 enableval
="$enable_mem_tracing"
2677 if test "$enableval" = yes; then
2678 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2680 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2685 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2686 if test "x$LINE" != x
; then
2687 eval "DEFAULT_$LINE"
2692 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2697 eval "$ac_cv_use_mem_tracing"
2698 if test "$no_cache" != 1; then
2699 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2702 if test "$wxUSE_MEM_TRACING" = yes; then
2703 echo "$ac_t""yes" 1>&6
2705 echo "$ac_t""no" 1>&6
2709 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2710 echo "configure:2711: checking for --enable-profile" >&5
2712 # Check whether --enable-profile or --disable-profile was given.
2713 if test "${enable_profile+set}" = set; then
2714 enableval
="$enable_profile"
2716 if test "$enableval" = yes; then
2717 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2719 ac_cv_use_profile
='wxUSE_PROFILE=no'
2724 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2725 if test "x$LINE" != x
; then
2726 eval "DEFAULT_$LINE"
2731 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2736 eval "$ac_cv_use_profile"
2737 if test "$no_cache" != 1; then
2738 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2741 if test "$wxUSE_PROFILE" = yes; then
2742 echo "$ac_t""yes" 1>&6
2744 echo "$ac_t""no" 1>&6
2748 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2749 echo "configure:2750: checking for --enable-no_rtti" >&5
2751 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2752 if test "${enable_no_rtti+set}" = set; then
2753 enableval
="$enable_no_rtti"
2755 if test "$enableval" = yes; then
2756 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2758 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2763 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2764 if test "x$LINE" != x
; then
2765 eval "DEFAULT_$LINE"
2770 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2775 eval "$ac_cv_use_no_rtti"
2776 if test "$no_cache" != 1; then
2777 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2780 if test "$wxUSE_NO_RTTI" = yes; then
2781 echo "$ac_t""yes" 1>&6
2783 echo "$ac_t""no" 1>&6
2787 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2788 echo "configure:2789: checking for --enable-no_exceptions" >&5
2790 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2791 if test "${enable_no_exceptions+set}" = set; then
2792 enableval
="$enable_no_exceptions"
2794 if test "$enableval" = yes; then
2795 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2797 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2802 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2803 if test "x$LINE" != x
; then
2804 eval "DEFAULT_$LINE"
2809 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2814 eval "$ac_cv_use_no_exceptions"
2815 if test "$no_cache" != 1; then
2816 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2819 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2820 echo "$ac_t""yes" 1>&6
2822 echo "$ac_t""no" 1>&6
2826 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2827 echo "configure:2828: checking for --enable-permissive" >&5
2829 # Check whether --enable-permissive or --disable-permissive was given.
2830 if test "${enable_permissive+set}" = set; then
2831 enableval
="$enable_permissive"
2833 if test "$enableval" = yes; then
2834 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2836 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2841 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2842 if test "x$LINE" != x
; then
2843 eval "DEFAULT_$LINE"
2848 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2853 eval "$ac_cv_use_permissive"
2854 if test "$no_cache" != 1; then
2855 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2858 if test "$wxUSE_PERMISSIVE" = yes; then
2859 echo "$ac_t""yes" 1>&6
2861 echo "$ac_t""no" 1>&6
2865 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2866 echo "configure:2867: checking for --enable-no_deps" >&5
2868 # Check whether --enable-no_deps or --disable-no_deps was given.
2869 if test "${enable_no_deps+set}" = set; then
2870 enableval
="$enable_no_deps"
2872 if test "$enableval" = yes; then
2873 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2875 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2880 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2881 if test "x$LINE" != x
; then
2882 eval "DEFAULT_$LINE"
2887 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2892 eval "$ac_cv_use_no_deps"
2893 if test "$no_cache" != 1; then
2894 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2897 if test "$wxUSE_NO_DEPS" = yes; then
2898 echo "$ac_t""yes" 1>&6
2900 echo "$ac_t""no" 1>&6
2905 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2906 echo "configure:2907: checking for --enable-compat20" >&5
2908 # Check whether --enable-compat20 or --disable-compat20 was given.
2909 if test "${enable_compat20+set}" = set; then
2910 enableval
="$enable_compat20"
2912 if test "$enableval" = yes; then
2913 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2915 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2920 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2921 if test "x$LINE" != x
; then
2922 eval "DEFAULT_$LINE"
2927 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2932 eval "$ac_cv_use_compat20"
2933 if test "$no_cache" != 1; then
2934 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2937 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2938 echo "$ac_t""yes" 1>&6
2940 echo "$ac_t""no" 1>&6
2944 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2945 echo "configure:2946: checking for --enable-compat22" >&5
2947 # Check whether --enable-compat22 or --disable-compat22 was given.
2948 if test "${enable_compat22+set}" = set; then
2949 enableval
="$enable_compat22"
2951 if test "$enableval" = yes; then
2952 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2954 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2959 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2960 if test "x$LINE" != x
; then
2961 eval "DEFAULT_$LINE"
2966 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2971 eval "$ac_cv_use_compat22"
2972 if test "$no_cache" != 1; then
2973 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2976 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2977 echo "$ac_t""yes" 1>&6
2979 echo "$ac_t""no" 1>&6
2983 # Check whether --enable-rpath or --disable-rpath was given.
2984 if test "${enable_rpath+set}" = set; then
2985 enableval
="$enable_rpath"
2986 wxRPATH_DIR
="$enableval"
2990 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
2991 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
2997 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2998 echo "configure:2999: checking for --enable-intl" >&5
3000 # Check whether --enable-intl or --disable-intl was given.
3001 if test "${enable_intl+set}" = set; then
3002 enableval
="$enable_intl"
3004 if test "$enableval" = yes; then
3005 ac_cv_use_intl
='wxUSE_INTL=yes'
3007 ac_cv_use_intl
='wxUSE_INTL=no'
3012 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3013 if test "x$LINE" != x
; then
3014 eval "DEFAULT_$LINE"
3019 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3024 eval "$ac_cv_use_intl"
3025 if test "$no_cache" != 1; then
3026 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3029 if test "$wxUSE_INTL" = yes; then
3030 echo "$ac_t""yes" 1>&6
3032 echo "$ac_t""no" 1>&6
3036 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3037 echo "configure:3038: checking for --enable-config" >&5
3039 # Check whether --enable-config or --disable-config was given.
3040 if test "${enable_config+set}" = set; then
3041 enableval
="$enable_config"
3043 if test "$enableval" = yes; then
3044 ac_cv_use_config
='wxUSE_CONFIG=yes'
3046 ac_cv_use_config
='wxUSE_CONFIG=no'
3051 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3052 if test "x$LINE" != x
; then
3053 eval "DEFAULT_$LINE"
3058 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3063 eval "$ac_cv_use_config"
3064 if test "$no_cache" != 1; then
3065 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3068 if test "$wxUSE_CONFIG" = yes; then
3069 echo "$ac_t""yes" 1>&6
3071 echo "$ac_t""no" 1>&6
3076 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3077 echo "configure:3078: checking for --enable-protocols" >&5
3079 # Check whether --enable-protocols or --disable-protocols was given.
3080 if test "${enable_protocols+set}" = set; then
3081 enableval
="$enable_protocols"
3083 if test "$enableval" = yes; then
3084 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3086 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3091 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3092 if test "x$LINE" != x
; then
3093 eval "DEFAULT_$LINE"
3098 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3103 eval "$ac_cv_use_protocols"
3104 if test "$no_cache" != 1; then
3105 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3108 if test "$wxUSE_PROTOCOL" = yes; then
3109 echo "$ac_t""yes" 1>&6
3111 echo "$ac_t""no" 1>&6
3115 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3116 echo "configure:3117: checking for --enable-ftp" >&5
3118 # Check whether --enable-ftp or --disable-ftp was given.
3119 if test "${enable_ftp+set}" = set; then
3120 enableval
="$enable_ftp"
3122 if test "$enableval" = yes; then
3123 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3125 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3130 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3131 if test "x$LINE" != x
; then
3132 eval "DEFAULT_$LINE"
3137 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3142 eval "$ac_cv_use_ftp"
3143 if test "$no_cache" != 1; then
3144 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3147 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3148 echo "$ac_t""yes" 1>&6
3150 echo "$ac_t""no" 1>&6
3154 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3155 echo "configure:3156: checking for --enable-http" >&5
3157 # Check whether --enable-http or --disable-http was given.
3158 if test "${enable_http+set}" = set; then
3159 enableval
="$enable_http"
3161 if test "$enableval" = yes; then
3162 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3164 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3169 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3170 if test "x$LINE" != x
; then
3171 eval "DEFAULT_$LINE"
3176 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3181 eval "$ac_cv_use_http"
3182 if test "$no_cache" != 1; then
3183 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3186 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3187 echo "$ac_t""yes" 1>&6
3189 echo "$ac_t""no" 1>&6
3193 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3194 echo "configure:3195: checking for --enable-fileproto" >&5
3196 # Check whether --enable-fileproto or --disable-fileproto was given.
3197 if test "${enable_fileproto+set}" = set; then
3198 enableval
="$enable_fileproto"
3200 if test "$enableval" = yes; then
3201 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3203 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3208 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3209 if test "x$LINE" != x
; then
3210 eval "DEFAULT_$LINE"
3215 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3220 eval "$ac_cv_use_fileproto"
3221 if test "$no_cache" != 1; then
3222 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3225 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3226 echo "$ac_t""yes" 1>&6
3228 echo "$ac_t""no" 1>&6
3232 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3233 echo "configure:3234: checking for --enable-sockets" >&5
3235 # Check whether --enable-sockets or --disable-sockets was given.
3236 if test "${enable_sockets+set}" = set; then
3237 enableval
="$enable_sockets"
3239 if test "$enableval" = yes; then
3240 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3242 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3247 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3248 if test "x$LINE" != x
; then
3249 eval "DEFAULT_$LINE"
3254 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3259 eval "$ac_cv_use_sockets"
3260 if test "$no_cache" != 1; then
3261 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3264 if test "$wxUSE_SOCKETS" = yes; then
3265 echo "$ac_t""yes" 1>&6
3267 echo "$ac_t""no" 1>&6
3272 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3273 echo "configure:3274: checking for --enable-ipc" >&5
3275 # Check whether --enable-ipc or --disable-ipc was given.
3276 if test "${enable_ipc+set}" = set; then
3277 enableval
="$enable_ipc"
3279 if test "$enableval" = yes; then
3280 ac_cv_use_ipc
='wxUSE_IPC=yes'
3282 ac_cv_use_ipc
='wxUSE_IPC=no'
3287 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3288 if test "x$LINE" != x
; then
3289 eval "DEFAULT_$LINE"
3294 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3299 eval "$ac_cv_use_ipc"
3300 if test "$no_cache" != 1; then
3301 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3304 if test "$wxUSE_IPC" = yes; then
3305 echo "$ac_t""yes" 1>&6
3307 echo "$ac_t""no" 1>&6
3312 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3313 echo "configure:3314: checking for --enable-cmdline" >&5
3315 # Check whether --enable-cmdline or --disable-cmdline was given.
3316 if test "${enable_cmdline+set}" = set; then
3317 enableval
="$enable_cmdline"
3319 if test "$enableval" = yes; then
3320 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3322 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3327 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3328 if test "x$LINE" != x
; then
3329 eval "DEFAULT_$LINE"
3334 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3339 eval "$ac_cv_use_cmdline"
3340 if test "$no_cache" != 1; then
3341 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3344 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3345 echo "$ac_t""yes" 1>&6
3347 echo "$ac_t""no" 1>&6
3351 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3352 echo "configure:3353: checking for --enable-datetime" >&5
3354 # Check whether --enable-datetime or --disable-datetime was given.
3355 if test "${enable_datetime+set}" = set; then
3356 enableval
="$enable_datetime"
3358 if test "$enableval" = yes; then
3359 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3361 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3366 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3367 if test "x$LINE" != x
; then
3368 eval "DEFAULT_$LINE"
3373 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3378 eval "$ac_cv_use_datetime"
3379 if test "$no_cache" != 1; then
3380 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3383 if test "$wxUSE_DATETIME" = yes; then
3384 echo "$ac_t""yes" 1>&6
3386 echo "$ac_t""no" 1>&6
3390 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3391 echo "configure:3392: checking for --enable-timedate" >&5
3393 # Check whether --enable-timedate or --disable-timedate was given.
3394 if test "${enable_timedate+set}" = set; then
3395 enableval
="$enable_timedate"
3397 if test "$enableval" = yes; then
3398 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3400 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3405 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3406 if test "x$LINE" != x
; then
3407 eval "DEFAULT_$LINE"
3412 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3417 eval "$ac_cv_use_timedate"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3422 if test "$wxUSE_TIMEDATE" = yes; then
3423 echo "$ac_t""yes" 1>&6
3425 echo "$ac_t""no" 1>&6
3429 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3430 echo "configure:3431: checking for --enable-stopwatch" >&5
3432 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3433 if test "${enable_stopwatch+set}" = set; then
3434 enableval
="$enable_stopwatch"
3436 if test "$enableval" = yes; then
3437 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3439 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3444 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3445 if test "x$LINE" != x
; then
3446 eval "DEFAULT_$LINE"
3451 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3456 eval "$ac_cv_use_stopwatch"
3457 if test "$no_cache" != 1; then
3458 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3461 if test "$wxUSE_STOPWATCH" = yes; then
3462 echo "$ac_t""yes" 1>&6
3464 echo "$ac_t""no" 1>&6
3468 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3469 echo "configure:3470: checking for --enable-dialupman" >&5
3471 # Check whether --enable-dialupman or --disable-dialupman was given.
3472 if test "${enable_dialupman+set}" = set; then
3473 enableval
="$enable_dialupman"
3475 if test "$enableval" = yes; then
3476 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3478 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3483 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x
; then
3485 eval "DEFAULT_$LINE"
3490 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3495 eval "$ac_cv_use_dialupman"
3496 if test "$no_cache" != 1; then
3497 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3500 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3501 echo "$ac_t""yes" 1>&6
3503 echo "$ac_t""no" 1>&6
3507 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3508 echo "configure:3509: checking for --enable-apple_ieee" >&5
3510 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3511 if test "${enable_apple_ieee+set}" = set; then
3512 enableval
="$enable_apple_ieee"
3514 if test "$enableval" = yes; then
3515 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3517 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3522 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3523 if test "x$LINE" != x
; then
3524 eval "DEFAULT_$LINE"
3529 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3534 eval "$ac_cv_use_apple_ieee"
3535 if test "$no_cache" != 1; then
3536 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3539 if test "$wxUSE_APPLE_IEEE" = yes; then
3540 echo "$ac_t""yes" 1>&6
3542 echo "$ac_t""no" 1>&6
3546 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3547 echo "configure:3548: checking for --enable-timer" >&5
3549 # Check whether --enable-timer or --disable-timer was given.
3550 if test "${enable_timer+set}" = set; then
3551 enableval
="$enable_timer"
3553 if test "$enableval" = yes; then
3554 ac_cv_use_timer
='wxUSE_TIMER=yes'
3556 ac_cv_use_timer
='wxUSE_TIMER=no'
3561 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3562 if test "x$LINE" != x
; then
3563 eval "DEFAULT_$LINE"
3568 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3573 eval "$ac_cv_use_timer"
3574 if test "$no_cache" != 1; then
3575 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3578 if test "$wxUSE_TIMER" = yes; then
3579 echo "$ac_t""yes" 1>&6
3581 echo "$ac_t""no" 1>&6
3585 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3586 echo "configure:3587: checking for --enable-wave" >&5
3588 # Check whether --enable-wave or --disable-wave was given.
3589 if test "${enable_wave+set}" = set; then
3590 enableval
="$enable_wave"
3592 if test "$enableval" = yes; then
3593 ac_cv_use_wave
='wxUSE_WAVE=yes'
3595 ac_cv_use_wave
='wxUSE_WAVE=no'
3600 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3601 if test "x$LINE" != x
; then
3602 eval "DEFAULT_$LINE"
3607 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3612 eval "$ac_cv_use_wave"
3613 if test "$no_cache" != 1; then
3614 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3617 if test "$wxUSE_WAVE" = yes; then
3618 echo "$ac_t""yes" 1>&6
3620 echo "$ac_t""no" 1>&6
3624 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3625 echo "configure:3626: checking for --enable-fraction" >&5
3627 # Check whether --enable-fraction or --disable-fraction was given.
3628 if test "${enable_fraction+set}" = set; then
3629 enableval
="$enable_fraction"
3631 if test "$enableval" = yes; then
3632 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3634 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3639 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3640 if test "x$LINE" != x
; then
3641 eval "DEFAULT_$LINE"
3646 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3651 eval "$ac_cv_use_fraction"
3652 if test "$no_cache" != 1; then
3653 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3656 if test "$wxUSE_FRACTION" = yes; then
3657 echo "$ac_t""yes" 1>&6
3659 echo "$ac_t""no" 1>&6
3663 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3664 echo "configure:3665: checking for --enable-dynlib" >&5
3666 # Check whether --enable-dynlib or --disable-dynlib was given.
3667 if test "${enable_dynlib+set}" = set; then
3668 enableval
="$enable_dynlib"
3670 if test "$enableval" = yes; then
3671 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3673 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3678 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3679 if test "x$LINE" != x
; then
3680 eval "DEFAULT_$LINE"
3685 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3690 eval "$ac_cv_use_dynlib"
3691 if test "$no_cache" != 1; then
3692 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3695 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3696 echo "$ac_t""yes" 1>&6
3698 echo "$ac_t""no" 1>&6
3702 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3703 echo "configure:3704: checking for --enable-dynamicloader" >&5
3705 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3706 if test "${enable_dynamicloader+set}" = set; then
3707 enableval
="$enable_dynamicloader"
3709 if test "$enableval" = yes; then
3710 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3712 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3717 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3718 if test "x$LINE" != x
; then
3719 eval "DEFAULT_$LINE"
3724 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3729 eval "$ac_cv_use_dynamicloader"
3730 if test "$no_cache" != 1; then
3731 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3734 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3735 echo "$ac_t""yes" 1>&6
3737 echo "$ac_t""no" 1>&6
3741 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3742 echo "configure:3743: checking for --enable-longlong" >&5
3744 # Check whether --enable-longlong or --disable-longlong was given.
3745 if test "${enable_longlong+set}" = set; then
3746 enableval
="$enable_longlong"
3748 if test "$enableval" = yes; then
3749 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3751 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3756 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3757 if test "x$LINE" != x
; then
3758 eval "DEFAULT_$LINE"
3763 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3768 eval "$ac_cv_use_longlong"
3769 if test "$no_cache" != 1; then
3770 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3773 if test "$wxUSE_LONGLONG" = yes; then
3774 echo "$ac_t""yes" 1>&6
3776 echo "$ac_t""no" 1>&6
3780 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3781 echo "configure:3782: checking for --enable-geometry" >&5
3783 # Check whether --enable-geometry or --disable-geometry was given.
3784 if test "${enable_geometry+set}" = set; then
3785 enableval
="$enable_geometry"
3787 if test "$enableval" = yes; then
3788 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3790 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3795 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3796 if test "x$LINE" != x
; then
3797 eval "DEFAULT_$LINE"
3802 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3807 eval "$ac_cv_use_geometry"
3808 if test "$no_cache" != 1; then
3809 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3812 if test "$wxUSE_GEOMETRY" = yes; then
3813 echo "$ac_t""yes" 1>&6
3815 echo "$ac_t""no" 1>&6
3819 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3820 echo "configure:3821: checking for --enable-log" >&5
3822 # Check whether --enable-log or --disable-log was given.
3823 if test "${enable_log+set}" = set; then
3824 enableval
="$enable_log"
3826 if test "$enableval" = yes; then
3827 ac_cv_use_log
='wxUSE_LOG=yes'
3829 ac_cv_use_log
='wxUSE_LOG=no'
3834 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3835 if test "x$LINE" != x
; then
3836 eval "DEFAULT_$LINE"
3841 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3846 eval "$ac_cv_use_log"
3847 if test "$no_cache" != 1; then
3848 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3851 if test "$wxUSE_LOG" = yes; then
3852 echo "$ac_t""yes" 1>&6
3854 echo "$ac_t""no" 1>&6
3858 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3859 echo "configure:3860: checking for --enable-streams" >&5
3861 # Check whether --enable-streams or --disable-streams was given.
3862 if test "${enable_streams+set}" = set; then
3863 enableval
="$enable_streams"
3865 if test "$enableval" = yes; then
3866 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3868 ac_cv_use_streams
='wxUSE_STREAMS=no'
3873 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3874 if test "x$LINE" != x
; then
3875 eval "DEFAULT_$LINE"
3880 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3885 eval "$ac_cv_use_streams"
3886 if test "$no_cache" != 1; then
3887 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3890 if test "$wxUSE_STREAMS" = yes; then
3891 echo "$ac_t""yes" 1>&6
3893 echo "$ac_t""no" 1>&6
3897 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3898 echo "configure:3899: checking for --enable-file" >&5
3900 # Check whether --enable-file or --disable-file was given.
3901 if test "${enable_file+set}" = set; then
3902 enableval
="$enable_file"
3904 if test "$enableval" = yes; then
3905 ac_cv_use_file
='wxUSE_FILE=yes'
3907 ac_cv_use_file
='wxUSE_FILE=no'
3912 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3913 if test "x$LINE" != x
; then
3914 eval "DEFAULT_$LINE"
3919 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3924 eval "$ac_cv_use_file"
3925 if test "$no_cache" != 1; then
3926 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3929 if test "$wxUSE_FILE" = yes; then
3930 echo "$ac_t""yes" 1>&6
3932 echo "$ac_t""no" 1>&6
3936 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3937 echo "configure:3938: checking for --enable-ffile" >&5
3939 # Check whether --enable-ffile or --disable-ffile was given.
3940 if test "${enable_ffile+set}" = set; then
3941 enableval
="$enable_ffile"
3943 if test "$enableval" = yes; then
3944 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3946 ac_cv_use_ffile
='wxUSE_FFILE=no'
3951 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3952 if test "x$LINE" != x
; then
3953 eval "DEFAULT_$LINE"
3958 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3963 eval "$ac_cv_use_ffile"
3964 if test "$no_cache" != 1; then
3965 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3968 if test "$wxUSE_FFILE" = yes; then
3969 echo "$ac_t""yes" 1>&6
3971 echo "$ac_t""no" 1>&6
3975 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
3976 echo "configure:3977: checking for --enable-textbuf" >&5
3978 # Check whether --enable-textbuf or --disable-textbuf was given.
3979 if test "${enable_textbuf+set}" = set; then
3980 enableval
="$enable_textbuf"
3982 if test "$enableval" = yes; then
3983 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
3985 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
3990 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
3991 if test "x$LINE" != x
; then
3992 eval "DEFAULT_$LINE"
3997 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4002 eval "$ac_cv_use_textbuf"
4003 if test "$no_cache" != 1; then
4004 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4007 if test "$wxUSE_TEXTBUFFER" = yes; then
4008 echo "$ac_t""yes" 1>&6
4010 echo "$ac_t""no" 1>&6
4014 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4015 echo "configure:4016: checking for --enable-textfile" >&5
4017 # Check whether --enable-textfile or --disable-textfile was given.
4018 if test "${enable_textfile+set}" = set; then
4019 enableval
="$enable_textfile"
4021 if test "$enableval" = yes; then
4022 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4024 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4029 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4030 if test "x$LINE" != x
; then
4031 eval "DEFAULT_$LINE"
4036 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4041 eval "$ac_cv_use_textfile"
4042 if test "$no_cache" != 1; then
4043 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4046 if test "$wxUSE_TEXTFILE" = yes; then
4047 echo "$ac_t""yes" 1>&6
4049 echo "$ac_t""no" 1>&6
4053 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4054 echo "configure:4055: checking for --enable-fontmap" >&5
4056 # Check whether --enable-fontmap or --disable-fontmap was given.
4057 if test "${enable_fontmap+set}" = set; then
4058 enableval
="$enable_fontmap"
4060 if test "$enableval" = yes; then
4061 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4063 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4068 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x
; then
4070 eval "DEFAULT_$LINE"
4075 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4080 eval "$ac_cv_use_fontmap"
4081 if test "$no_cache" != 1; then
4082 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4085 if test "$wxUSE_FONTMAP" = yes; then
4086 echo "$ac_t""yes" 1>&6
4088 echo "$ac_t""no" 1>&6
4092 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4093 echo "configure:4094: checking for --enable-unicode" >&5
4095 # Check whether --enable-unicode or --disable-unicode was given.
4096 if test "${enable_unicode+set}" = set; then
4097 enableval
="$enable_unicode"
4099 if test "$enableval" = yes; then
4100 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4102 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4107 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4108 if test "x$LINE" != x
; then
4109 eval "DEFAULT_$LINE"
4114 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4119 eval "$ac_cv_use_unicode"
4120 if test "$no_cache" != 1; then
4121 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4124 if test "$wxUSE_UNICODE" = yes; then
4125 echo "$ac_t""yes" 1>&6
4127 echo "$ac_t""no" 1>&6
4131 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4132 echo "configure:4133: checking for --enable-mslu" >&5
4134 # Check whether --enable-mslu or --disable-mslu was given.
4135 if test "${enable_mslu+set}" = set; then
4136 enableval
="$enable_mslu"
4138 if test "$enableval" = yes; then
4139 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4141 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4146 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4147 if test "x$LINE" != x
; then
4148 eval "DEFAULT_$LINE"
4153 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4158 eval "$ac_cv_use_mslu"
4159 if test "$no_cache" != 1; then
4160 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4163 if test "$wxUSE_UNICODE_MSLU" = yes; then
4164 echo "$ac_t""yes" 1>&6
4166 echo "$ac_t""no" 1>&6
4170 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4171 echo "configure:4172: checking for --enable-wxprintfv" >&5
4173 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4174 if test "${enable_wxprintfv+set}" = set; then
4175 enableval
="$enable_wxprintfv"
4177 if test "$enableval" = yes; then
4178 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4180 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4185 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4186 if test "x$LINE" != x
; then
4187 eval "DEFAULT_$LINE"
4192 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4197 eval "$ac_cv_use_wxprintfv"
4198 if test "$no_cache" != 1; then
4199 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4202 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4203 echo "$ac_t""yes" 1>&6
4205 echo "$ac_t""no" 1>&6
4209 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4210 echo "configure:4211: checking for --enable-std_iostreams" >&5
4212 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4213 if test "${enable_std_iostreams+set}" = set; then
4214 enableval
="$enable_std_iostreams"
4216 if test "$enableval" = yes; then
4217 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4219 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4224 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4225 if test "x$LINE" != x
; then
4226 eval "DEFAULT_$LINE"
4231 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4236 eval "$ac_cv_use_std_iostreams"
4237 if test "$no_cache" != 1; then
4238 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4241 if test "$wxUSE_STD_IOSTREAM" = yes; then
4242 echo "$ac_t""yes" 1>&6
4244 echo "$ac_t""no" 1>&6
4248 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4249 echo "configure:4250: checking for --enable-filesystem" >&5
4251 # Check whether --enable-filesystem or --disable-filesystem was given.
4252 if test "${enable_filesystem+set}" = set; then
4253 enableval
="$enable_filesystem"
4255 if test "$enableval" = yes; then
4256 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4258 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4263 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4264 if test "x$LINE" != x
; then
4265 eval "DEFAULT_$LINE"
4270 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4275 eval "$ac_cv_use_filesystem"
4276 if test "$no_cache" != 1; then
4277 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4280 if test "$wxUSE_FILESYSTEM" = yes; then
4281 echo "$ac_t""yes" 1>&6
4283 echo "$ac_t""no" 1>&6
4287 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4288 echo "configure:4289: checking for --enable-fs_inet" >&5
4290 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4291 if test "${enable_fs_inet+set}" = set; then
4292 enableval
="$enable_fs_inet"
4294 if test "$enableval" = yes; then
4295 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4297 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4302 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4303 if test "x$LINE" != x
; then
4304 eval "DEFAULT_$LINE"
4309 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4314 eval "$ac_cv_use_fs_inet"
4315 if test "$no_cache" != 1; then
4316 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4319 if test "$wxUSE_FS_INET" = yes; then
4320 echo "$ac_t""yes" 1>&6
4322 echo "$ac_t""no" 1>&6
4326 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4327 echo "configure:4328: checking for --enable-fs_zip" >&5
4329 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4330 if test "${enable_fs_zip+set}" = set; then
4331 enableval
="$enable_fs_zip"
4333 if test "$enableval" = yes; then
4334 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4336 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4341 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4342 if test "x$LINE" != x
; then
4343 eval "DEFAULT_$LINE"
4348 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4353 eval "$ac_cv_use_fs_zip"
4354 if test "$no_cache" != 1; then
4355 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4358 if test "$wxUSE_FS_ZIP" = yes; then
4359 echo "$ac_t""yes" 1>&6
4361 echo "$ac_t""no" 1>&6
4365 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4366 echo "configure:4367: checking for --enable-zipstream" >&5
4368 # Check whether --enable-zipstream or --disable-zipstream was given.
4369 if test "${enable_zipstream+set}" = set; then
4370 enableval
="$enable_zipstream"
4372 if test "$enableval" = yes; then
4373 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4375 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4380 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4381 if test "x$LINE" != x
; then
4382 eval "DEFAULT_$LINE"
4387 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4392 eval "$ac_cv_use_zipstream"
4393 if test "$no_cache" != 1; then
4394 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4397 if test "$wxUSE_ZIPSTREAM" = yes; then
4398 echo "$ac_t""yes" 1>&6
4400 echo "$ac_t""no" 1>&6
4405 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4406 echo "configure:4407: checking for --enable-catch_segvs" >&5
4408 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4409 if test "${enable_catch_segvs+set}" = set; then
4410 enableval
="$enable_catch_segvs"
4412 if test "$enableval" = yes; then
4413 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4415 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4420 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4421 if test "x$LINE" != x
; then
4422 eval "DEFAULT_$LINE"
4427 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4432 eval "$ac_cv_use_catch_segvs"
4433 if test "$no_cache" != 1; then
4434 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4437 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4438 echo "$ac_t""yes" 1>&6
4440 echo "$ac_t""no" 1>&6
4444 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4445 echo "configure:4446: checking for --enable-snglinst" >&5
4447 # Check whether --enable-snglinst or --disable-snglinst was given.
4448 if test "${enable_snglinst+set}" = set; then
4449 enableval
="$enable_snglinst"
4451 if test "$enableval" = yes; then
4452 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4454 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4459 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4460 if test "x$LINE" != x
; then
4461 eval "DEFAULT_$LINE"
4466 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4471 eval "$ac_cv_use_snglinst"
4472 if test "$no_cache" != 1; then
4473 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4476 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4477 echo "$ac_t""yes" 1>&6
4479 echo "$ac_t""no" 1>&6
4484 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4485 echo "configure:4486: checking for --enable-mimetype" >&5
4487 # Check whether --enable-mimetype or --disable-mimetype was given.
4488 if test "${enable_mimetype+set}" = set; then
4489 enableval
="$enable_mimetype"
4491 if test "$enableval" = yes; then
4492 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4494 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4499 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4500 if test "x$LINE" != x
; then
4501 eval "DEFAULT_$LINE"
4506 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4511 eval "$ac_cv_use_mimetype"
4512 if test "$no_cache" != 1; then
4513 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4516 if test "$wxUSE_MIMETYPE" = yes; then
4517 echo "$ac_t""yes" 1>&6
4519 echo "$ac_t""no" 1>&6
4523 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4524 echo "configure:4525: checking for --enable-system_options" >&5
4526 # Check whether --enable-system_options or --disable-system_options was given.
4527 if test "${enable_system_options+set}" = set; then
4528 enableval
="$enable_system_options"
4530 if test "$enableval" = yes; then
4531 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4533 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4538 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4539 if test "x$LINE" != x
; then
4540 eval "DEFAULT_$LINE"
4545 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4550 eval "$ac_cv_use_system_options"
4551 if test "$no_cache" != 1; then
4552 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4555 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4556 echo "$ac_t""yes" 1>&6
4558 echo "$ac_t""no" 1>&6
4563 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4564 echo "configure:4565: checking for --enable-url" >&5
4566 # Check whether --enable-url or --disable-url was given.
4567 if test "${enable_url+set}" = set; then
4568 enableval
="$enable_url"
4570 if test "$enableval" = yes; then
4571 ac_cv_use_url
='wxUSE_URL=yes'
4573 ac_cv_use_url
='wxUSE_URL=no'
4578 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4579 if test "x$LINE" != x
; then
4580 eval "DEFAULT_$LINE"
4585 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4590 eval "$ac_cv_use_url"
4591 if test "$no_cache" != 1; then
4592 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4595 if test "$wxUSE_URL" = yes; then
4596 echo "$ac_t""yes" 1>&6
4598 echo "$ac_t""no" 1>&6
4602 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4603 echo "configure:4604: checking for --enable-protocol" >&5
4605 # Check whether --enable-protocol or --disable-protocol was given.
4606 if test "${enable_protocol+set}" = set; then
4607 enableval
="$enable_protocol"
4609 if test "$enableval" = yes; then
4610 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4612 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4617 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4618 if test "x$LINE" != x
; then
4619 eval "DEFAULT_$LINE"
4624 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4629 eval "$ac_cv_use_protocol"
4630 if test "$no_cache" != 1; then
4631 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4634 if test "$wxUSE_PROTOCOL" = yes; then
4635 echo "$ac_t""yes" 1>&6
4637 echo "$ac_t""no" 1>&6
4641 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4642 echo "configure:4643: checking for --enable-protocol_http" >&5
4644 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4645 if test "${enable_protocol_http+set}" = set; then
4646 enableval
="$enable_protocol_http"
4648 if test "$enableval" = yes; then
4649 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4651 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4656 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4657 if test "x$LINE" != x
; then
4658 eval "DEFAULT_$LINE"
4663 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4668 eval "$ac_cv_use_protocol_http"
4669 if test "$no_cache" != 1; then
4670 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4673 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4674 echo "$ac_t""yes" 1>&6
4676 echo "$ac_t""no" 1>&6
4680 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4681 echo "configure:4682: checking for --enable-protocol_ftp" >&5
4683 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4684 if test "${enable_protocol_ftp+set}" = set; then
4685 enableval
="$enable_protocol_ftp"
4687 if test "$enableval" = yes; then
4688 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4690 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4695 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4696 if test "x$LINE" != x
; then
4697 eval "DEFAULT_$LINE"
4702 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4707 eval "$ac_cv_use_protocol_ftp"
4708 if test "$no_cache" != 1; then
4709 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4712 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4713 echo "$ac_t""yes" 1>&6
4715 echo "$ac_t""no" 1>&6
4719 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4720 echo "configure:4721: checking for --enable-protocol_file" >&5
4722 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4723 if test "${enable_protocol_file+set}" = set; then
4724 enableval
="$enable_protocol_file"
4726 if test "$enableval" = yes; then
4727 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4729 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4734 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4735 if test "x$LINE" != x
; then
4736 eval "DEFAULT_$LINE"
4741 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4746 eval "$ac_cv_use_protocol_file"
4747 if test "$no_cache" != 1; then
4748 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4751 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4752 echo "$ac_t""yes" 1>&6
4754 echo "$ac_t""no" 1>&6
4761 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4762 echo "configure:4763: checking for --enable-threads" >&5
4764 # Check whether --enable-threads or --disable-threads was given.
4765 if test "${enable_threads+set}" = set; then
4766 enableval
="$enable_threads"
4768 if test "$enableval" = yes; then
4769 ac_cv_use_threads
='wxUSE_THREADS=yes'
4771 ac_cv_use_threads
='wxUSE_THREADS=no'
4776 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4777 if test "x$LINE" != x
; then
4778 eval "DEFAULT_$LINE"
4783 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4788 eval "$ac_cv_use_threads"
4789 if test "$no_cache" != 1; then
4790 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4793 if test "$wxUSE_THREADS" = yes; then
4794 echo "$ac_t""yes" 1>&6
4796 echo "$ac_t""no" 1>&6
4800 if test "$wxUSE_GUI" = "yes"; then
4804 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4805 echo "configure:4806: checking for --enable-docview" >&5
4807 # Check whether --enable-docview or --disable-docview was given.
4808 if test "${enable_docview+set}" = set; then
4809 enableval
="$enable_docview"
4811 if test "$enableval" = yes; then
4812 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4814 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4819 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4820 if test "x$LINE" != x
; then
4821 eval "DEFAULT_$LINE"
4826 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4831 eval "$ac_cv_use_docview"
4832 if test "$no_cache" != 1; then
4833 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4836 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4837 echo "$ac_t""yes" 1>&6
4839 echo "$ac_t""no" 1>&6
4843 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4844 echo "configure:4845: checking for --enable-help" >&5
4846 # Check whether --enable-help or --disable-help was given.
4847 if test "${enable_help+set}" = set; then
4848 enableval
="$enable_help"
4850 if test "$enableval" = yes; then
4851 ac_cv_use_help
='wxUSE_HELP=yes'
4853 ac_cv_use_help
='wxUSE_HELP=no'
4858 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4859 if test "x$LINE" != x
; then
4860 eval "DEFAULT_$LINE"
4865 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4870 eval "$ac_cv_use_help"
4871 if test "$no_cache" != 1; then
4872 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4875 if test "$wxUSE_HELP" = yes; then
4876 echo "$ac_t""yes" 1>&6
4878 echo "$ac_t""no" 1>&6
4882 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4883 echo "configure:4884: checking for --enable-mshtmlhelp" >&5
4885 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4886 if test "${enable_mshtmlhelp+set}" = set; then
4887 enableval
="$enable_mshtmlhelp"
4889 if test "$enableval" = yes; then
4890 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4892 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4897 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4898 if test "x$LINE" != x
; then
4899 eval "DEFAULT_$LINE"
4904 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4909 eval "$ac_cv_use_mshtmlhelp"
4910 if test "$no_cache" != 1; then
4911 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4914 if test "$wxUSE_MS_HTML_HELP" = yes; then
4915 echo "$ac_t""yes" 1>&6
4917 echo "$ac_t""no" 1>&6
4921 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4922 echo "configure:4923: checking for --enable-html" >&5
4924 # Check whether --enable-html or --disable-html was given.
4925 if test "${enable_html+set}" = set; then
4926 enableval
="$enable_html"
4928 if test "$enableval" = yes; then
4929 ac_cv_use_html
='wxUSE_HTML=yes'
4931 ac_cv_use_html
='wxUSE_HTML=no'
4936 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4937 if test "x$LINE" != x
; then
4938 eval "DEFAULT_$LINE"
4943 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4948 eval "$ac_cv_use_html"
4949 if test "$no_cache" != 1; then
4950 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4953 if test "$wxUSE_HTML" = yes; then
4954 echo "$ac_t""yes" 1>&6
4956 echo "$ac_t""no" 1>&6
4960 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4961 echo "configure:4962: checking for --enable-htmlhelp" >&5
4963 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4964 if test "${enable_htmlhelp+set}" = set; then
4965 enableval
="$enable_htmlhelp"
4967 if test "$enableval" = yes; then
4968 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4970 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4975 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4976 if test "x$LINE" != x
; then
4977 eval "DEFAULT_$LINE"
4982 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4987 eval "$ac_cv_use_htmlhelp"
4988 if test "$no_cache" != 1; then
4989 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4992 if test "$wxUSE_WXHTML_HELP" = yes; then
4993 echo "$ac_t""yes" 1>&6
4995 echo "$ac_t""no" 1>&6
4999 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5000 echo "configure:5001: checking for --enable-constraints" >&5
5002 # Check whether --enable-constraints or --disable-constraints was given.
5003 if test "${enable_constraints+set}" = set; then
5004 enableval
="$enable_constraints"
5006 if test "$enableval" = yes; then
5007 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5009 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5014 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5015 if test "x$LINE" != x
; then
5016 eval "DEFAULT_$LINE"
5021 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5026 eval "$ac_cv_use_constraints"
5027 if test "$no_cache" != 1; then
5028 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5031 if test "$wxUSE_CONSTRAINTS" = yes; then
5032 echo "$ac_t""yes" 1>&6
5034 echo "$ac_t""no" 1>&6
5038 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5039 echo "configure:5040: checking for --enable-printarch" >&5
5041 # Check whether --enable-printarch or --disable-printarch was given.
5042 if test "${enable_printarch+set}" = set; then
5043 enableval
="$enable_printarch"
5045 if test "$enableval" = yes; then
5046 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5048 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5053 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5054 if test "x$LINE" != x
; then
5055 eval "DEFAULT_$LINE"
5060 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5065 eval "$ac_cv_use_printarch"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5070 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5071 echo "$ac_t""yes" 1>&6
5073 echo "$ac_t""no" 1>&6
5077 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5078 echo "configure:5079: checking for --enable-mdi" >&5
5080 # Check whether --enable-mdi or --disable-mdi was given.
5081 if test "${enable_mdi+set}" = set; then
5082 enableval
="$enable_mdi"
5084 if test "$enableval" = yes; then
5085 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5087 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5092 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x
; then
5094 eval "DEFAULT_$LINE"
5099 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5104 eval "$ac_cv_use_mdi"
5105 if test "$no_cache" != 1; then
5106 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5109 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5110 echo "$ac_t""yes" 1>&6
5112 echo "$ac_t""no" 1>&6
5116 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5117 echo "configure:5118: checking for --enable-loggui" >&5
5119 # Check whether --enable-loggui or --disable-loggui was given.
5120 if test "${enable_loggui+set}" = set; then
5121 enableval
="$enable_loggui"
5123 if test "$enableval" = yes; then
5124 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5126 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5131 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5132 if test "x$LINE" != x
; then
5133 eval "DEFAULT_$LINE"
5138 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5143 eval "$ac_cv_use_loggui"
5144 if test "$no_cache" != 1; then
5145 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5148 if test "$wxUSE_LOGGUI" = yes; then
5149 echo "$ac_t""yes" 1>&6
5151 echo "$ac_t""no" 1>&6
5155 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5156 echo "configure:5157: checking for --enable-logwin" >&5
5158 # Check whether --enable-logwin or --disable-logwin was given.
5159 if test "${enable_logwin+set}" = set; then
5160 enableval
="$enable_logwin"
5162 if test "$enableval" = yes; then
5163 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5165 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5170 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5171 if test "x$LINE" != x
; then
5172 eval "DEFAULT_$LINE"
5177 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5182 eval "$ac_cv_use_logwin"
5183 if test "$no_cache" != 1; then
5184 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5187 if test "$wxUSE_LOGWINDOW" = yes; then
5188 echo "$ac_t""yes" 1>&6
5190 echo "$ac_t""no" 1>&6
5194 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5195 echo "configure:5196: checking for --enable-logdialog" >&5
5197 # Check whether --enable-logdialog or --disable-logdialog was given.
5198 if test "${enable_logdialog+set}" = set; then
5199 enableval
="$enable_logdialog"
5201 if test "$enableval" = yes; then
5202 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5204 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5209 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5210 if test "x$LINE" != x
; then
5211 eval "DEFAULT_$LINE"
5216 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5221 eval "$ac_cv_use_logdialog"
5222 if test "$no_cache" != 1; then
5223 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5226 if test "$wxUSE_LOGDIALOG" = yes; then
5227 echo "$ac_t""yes" 1>&6
5229 echo "$ac_t""no" 1>&6
5234 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5235 echo "configure:5236: checking for --enable-postscript" >&5
5237 # Check whether --enable-postscript or --disable-postscript was given.
5238 if test "${enable_postscript+set}" = set; then
5239 enableval
="$enable_postscript"
5241 if test "$enableval" = yes; then
5242 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5244 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5249 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5250 if test "x$LINE" != x
; then
5251 eval "DEFAULT_$LINE"
5256 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5261 eval "$ac_cv_use_postscript"
5262 if test "$no_cache" != 1; then
5263 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5266 if test "$wxUSE_POSTSCRIPT" = yes; then
5267 echo "$ac_t""yes" 1>&6
5269 echo "$ac_t""no" 1>&6
5276 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5277 echo "configure:5278: checking for --enable-prologio" >&5
5279 # Check whether --enable-prologio or --disable-prologio was given.
5280 if test "${enable_prologio+set}" = set; then
5281 enableval
="$enable_prologio"
5283 if test "$enableval" = yes; then
5284 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5286 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5291 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5292 if test "x$LINE" != x
; then
5293 eval "DEFAULT_$LINE"
5298 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5303 eval "$ac_cv_use_prologio"
5304 if test "$no_cache" != 1; then
5305 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5308 if test "$wxUSE_PROLOGIO" = yes; then
5309 echo "$ac_t""yes" 1>&6
5311 echo "$ac_t""no" 1>&6
5315 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5316 echo "configure:5317: checking for --enable-resources" >&5
5318 # Check whether --enable-resources or --disable-resources was given.
5319 if test "${enable_resources+set}" = set; then
5320 enableval
="$enable_resources"
5322 if test "$enableval" = yes; then
5323 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5325 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5330 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5331 if test "x$LINE" != x
; then
5332 eval "DEFAULT_$LINE"
5337 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5342 eval "$ac_cv_use_resources"
5343 if test "$no_cache" != 1; then
5344 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5347 if test "$wxUSE_RESOURCES" = yes; then
5348 echo "$ac_t""yes" 1>&6
5350 echo "$ac_t""no" 1>&6
5355 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5356 echo "configure:5357: checking for --enable-xresources" >&5
5358 # Check whether --enable-xresources or --disable-xresources was given.
5359 if test "${enable_xresources+set}" = set; then
5360 enableval
="$enable_xresources"
5362 if test "$enableval" = yes; then
5363 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5365 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5370 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x
; then
5372 eval "DEFAULT_$LINE"
5377 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5382 eval "$ac_cv_use_xresources"
5383 if test "$no_cache" != 1; then
5384 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5387 if test "$wxUSE_X_RESOURCES" = yes; then
5388 echo "$ac_t""yes" 1>&6
5390 echo "$ac_t""no" 1>&6
5396 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5397 echo "configure:5398: checking for --enable-clipboard" >&5
5399 # Check whether --enable-clipboard or --disable-clipboard was given.
5400 if test "${enable_clipboard+set}" = set; then
5401 enableval
="$enable_clipboard"
5403 if test "$enableval" = yes; then
5404 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5406 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5411 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5412 if test "x$LINE" != x
; then
5413 eval "DEFAULT_$LINE"
5418 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5423 eval "$ac_cv_use_clipboard"
5424 if test "$no_cache" != 1; then
5425 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5428 if test "$wxUSE_CLIPBOARD" = yes; then
5429 echo "$ac_t""yes" 1>&6
5431 echo "$ac_t""no" 1>&6
5435 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5436 echo "configure:5437: checking for --enable-dnd" >&5
5438 # Check whether --enable-dnd or --disable-dnd was given.
5439 if test "${enable_dnd+set}" = set; then
5440 enableval
="$enable_dnd"
5442 if test "$enableval" = yes; then
5443 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5445 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5450 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5451 if test "x$LINE" != x
; then
5452 eval "DEFAULT_$LINE"
5457 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5462 eval "$ac_cv_use_dnd"
5463 if test "$no_cache" != 1; then
5464 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5467 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5468 echo "$ac_t""yes" 1>&6
5470 echo "$ac_t""no" 1>&6
5474 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5475 echo "configure:5476: checking for --enable-metafile" >&5
5477 # Check whether --enable-metafile or --disable-metafile was given.
5478 if test "${enable_metafile+set}" = set; then
5479 enableval
="$enable_metafile"
5481 if test "$enableval" = yes; then
5482 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5484 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5489 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5490 if test "x$LINE" != x
; then
5491 eval "DEFAULT_$LINE"
5496 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5501 eval "$ac_cv_use_metafile"
5502 if test "$no_cache" != 1; then
5503 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5506 if test "$wxUSE_METAFILE" = yes; then
5507 echo "$ac_t""yes" 1>&6
5509 echo "$ac_t""no" 1>&6
5514 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5515 echo "configure:5516: checking for --enable-treelayout" >&5
5517 # Check whether --enable-treelayout or --disable-treelayout was given.
5518 if test "${enable_treelayout+set}" = set; then
5519 enableval
="$enable_treelayout"
5521 if test "$enableval" = yes; then
5522 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5524 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5529 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5530 if test "x$LINE" != x
; then
5531 eval "DEFAULT_$LINE"
5536 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5541 eval "$ac_cv_use_treelayout"
5542 if test "$no_cache" != 1; then
5543 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5546 if test "$wxUSE_TREELAYOUT" = yes; then
5547 echo "$ac_t""yes" 1>&6
5549 echo "$ac_t""no" 1>&6
5555 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5556 echo "configure:5557: checking for --enable-controls" >&5
5558 # Check whether --enable-controls or --disable-controls was given.
5559 if test "${enable_controls+set}" = set; then
5560 enableval
="$enable_controls"
5562 if test "$enableval" = yes; then
5563 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5565 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5570 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5571 if test "x$LINE" != x
; then
5572 eval "DEFAULT_$LINE"
5577 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5582 eval "$ac_cv_use_controls"
5583 if test "$no_cache" != 1; then
5584 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5587 if test "$wxUSE_CONTROLS" = yes; then
5588 echo "$ac_t""yes" 1>&6
5590 echo "$ac_t""no" 1>&6
5594 if test "$wxUSE_CONTROLS" = "yes"; then
5595 DEFAULT_wxUSE_ACCEL
=yes
5596 DEFAULT_wxUSE_BMPBUTTON
=yes
5597 DEFAULT_wxUSE_BUTTON
=yes
5598 DEFAULT_wxUSE_CALCTRL
=no
5599 DEFAULT_wxUSE_CARET
=yes
5600 DEFAULT_wxUSE_COMBOBOX
=yes
5601 DEFAULT_wxUSE_CHECKBOX
=yes
5602 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5603 DEFAULT_wxUSE_CHOICE
=yes
5604 DEFAULT_wxUSE_GAUGE
=yes
5605 DEFAULT_wxUSE_GRID
=yes
5606 DEFAULT_wxUSE_NEW_GRID
=yes
5607 DEFAULT_wxUSE_IMAGLIST
=yes
5608 DEFAULT_wxUSE_LISTBOX
=yes
5609 DEFAULT_wxUSE_LISTCTRL
=yes
5610 DEFAULT_wxUSE_NOTEBOOK
=yes
5611 DEFAULT_wxUSE_PROPSHEET
=yes
5612 DEFAULT_wxUSE_RADIOBOX
=yes
5613 DEFAULT_wxUSE_RADIOBTN
=yes
5614 DEFAULT_wxUSE_SASH
=yes
5615 DEFAULT_wxUSE_SCROLLBAR
=yes
5616 DEFAULT_wxUSE_SLIDER
=yes
5617 DEFAULT_wxUSE_SPINBTN
=yes
5618 DEFAULT_wxUSE_SPINCTRL
=yes
5619 DEFAULT_wxUSE_SPLITTER
=yes
5620 DEFAULT_wxUSE_STATBMP
=yes
5621 DEFAULT_wxUSE_STATBOX
=yes
5622 DEFAULT_wxUSE_STATLINE
=yes
5623 DEFAULT_wxUSE_STATUSBAR
=yes
5624 DEFAULT_wxUSE_TAB_DIALOG
=yes
5625 DEFAULT_wxUSE_TOGGLEBTN
=yes
5626 DEFAULT_wxUSE_TOOLBAR
=yes
5627 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5628 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5629 DEFAULT_wxUSE_TOOLTIPS
=yes
5630 DEFAULT_wxUSE_TREECTRL
=yes
5631 DEFAULT_wxUSE_POPUPWIN
=yes
5632 DEFAULT_wxUSE_TIPWINDOW
=yes
5633 elif test "$wxUSE_CONTROLS" = "no"; then
5634 DEFAULT_wxUSE_ACCEL
=no
5635 DEFAULT_wxUSE_BMPBUTTON
=no
5636 DEFAULT_wxUSE_BUTTON
=no
5637 DEFAULT_wxUSE_CALCTRL
=no
5638 DEFAULT_wxUSE_CARET
=no
5639 DEFAULT_wxUSE_COMBOBOX
=no
5640 DEFAULT_wxUSE_CHECKBOX
=no
5641 DEFAULT_wxUSE_CHECKLISTBOX
=no
5642 DEFAULT_wxUSE_CHOICE
=no
5643 DEFAULT_wxUSE_GAUGE
=no
5644 DEFAULT_wxUSE_GRID
=no
5645 DEFAULT_wxUSE_NEW_GRID
=no
5646 DEFAULT_wxUSE_IMAGLIST
=no
5647 DEFAULT_wxUSE_LISTBOX
=no
5648 DEFAULT_wxUSE_LISTCTRL
=no
5649 DEFAULT_wxUSE_NOTEBOOK
=no
5650 DEFAULT_wxUSE_PROPSHEET
=no
5651 DEFAULT_wxUSE_RADIOBOX
=no
5652 DEFAULT_wxUSE_RADIOBTN
=no
5653 DEFAULT_wxUSE_SASH
=no
5654 DEFAULT_wxUSE_SCROLLBAR
=no
5655 DEFAULT_wxUSE_SLIDER
=no
5656 DEFAULT_wxUSE_SPINBTN
=no
5657 DEFAULT_wxUSE_SPINCTRL
=no
5658 DEFAULT_wxUSE_SPLITTER
=no
5659 DEFAULT_wxUSE_STATBMP
=no
5660 DEFAULT_wxUSE_STATBOX
=no
5661 DEFAULT_wxUSE_STATLINE
=no
5662 DEFAULT_wxUSE_STATUSBAR
=no
5663 DEFAULT_wxUSE_TAB_DIALOG
=no
5664 DEFAULT_wxUSE_TOGGLEBTN
=no
5665 DEFAULT_wxUSE_TOOLBAR
=no
5666 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5667 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5668 DEFAULT_wxUSE_TOOLTIPS
=no
5669 DEFAULT_wxUSE_TREECTRL
=no
5670 DEFAULT_wxUSE_POPUPWIN
=no
5671 DEFAULT_wxUSE_TIPWINDOW
=no
5675 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5676 echo "configure:5677: checking for --enable-accel" >&5
5678 # Check whether --enable-accel or --disable-accel was given.
5679 if test "${enable_accel+set}" = set; then
5680 enableval
="$enable_accel"
5682 if test "$enableval" = yes; then
5683 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5685 ac_cv_use_accel
='wxUSE_ACCEL=no'
5690 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5691 if test "x$LINE" != x
; then
5692 eval "DEFAULT_$LINE"
5697 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5702 eval "$ac_cv_use_accel"
5703 if test "$no_cache" != 1; then
5704 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5707 if test "$wxUSE_ACCEL" = yes; then
5708 echo "$ac_t""yes" 1>&6
5710 echo "$ac_t""no" 1>&6
5714 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5715 echo "configure:5716: checking for --enable-button" >&5
5717 # Check whether --enable-button or --disable-button was given.
5718 if test "${enable_button+set}" = set; then
5719 enableval
="$enable_button"
5721 if test "$enableval" = yes; then
5722 ac_cv_use_button
='wxUSE_BUTTON=yes'
5724 ac_cv_use_button
='wxUSE_BUTTON=no'
5729 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5730 if test "x$LINE" != x
; then
5731 eval "DEFAULT_$LINE"
5736 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5741 eval "$ac_cv_use_button"
5742 if test "$no_cache" != 1; then
5743 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5746 if test "$wxUSE_BUTTON" = yes; then
5747 echo "$ac_t""yes" 1>&6
5749 echo "$ac_t""no" 1>&6
5753 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5754 echo "configure:5755: checking for --enable-bmpbutton" >&5
5756 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5757 if test "${enable_bmpbutton+set}" = set; then
5758 enableval
="$enable_bmpbutton"
5760 if test "$enableval" = yes; then
5761 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5763 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5768 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5769 if test "x$LINE" != x
; then
5770 eval "DEFAULT_$LINE"
5775 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5780 eval "$ac_cv_use_bmpbutton"
5781 if test "$no_cache" != 1; then
5782 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5785 if test "$wxUSE_BMPBUTTON" = yes; then
5786 echo "$ac_t""yes" 1>&6
5788 echo "$ac_t""no" 1>&6
5792 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5793 echo "configure:5794: checking for --enable-calendar" >&5
5795 # Check whether --enable-calendar or --disable-calendar was given.
5796 if test "${enable_calendar+set}" = set; then
5797 enableval
="$enable_calendar"
5799 if test "$enableval" = yes; then
5800 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5802 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5807 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5808 if test "x$LINE" != x
; then
5809 eval "DEFAULT_$LINE"
5814 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5819 eval "$ac_cv_use_calendar"
5820 if test "$no_cache" != 1; then
5821 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5824 if test "$wxUSE_CALCTRL" = yes; then
5825 echo "$ac_t""yes" 1>&6
5827 echo "$ac_t""no" 1>&6
5831 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5832 echo "configure:5833: checking for --enable-caret" >&5
5834 # Check whether --enable-caret or --disable-caret was given.
5835 if test "${enable_caret+set}" = set; then
5836 enableval
="$enable_caret"
5838 if test "$enableval" = yes; then
5839 ac_cv_use_caret
='wxUSE_CARET=yes'
5841 ac_cv_use_caret
='wxUSE_CARET=no'
5846 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5847 if test "x$LINE" != x
; then
5848 eval "DEFAULT_$LINE"
5853 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5858 eval "$ac_cv_use_caret"
5859 if test "$no_cache" != 1; then
5860 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5863 if test "$wxUSE_CARET" = yes; then
5864 echo "$ac_t""yes" 1>&6
5866 echo "$ac_t""no" 1>&6
5870 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5871 echo "configure:5872: checking for --enable-checkbox" >&5
5873 # Check whether --enable-checkbox or --disable-checkbox was given.
5874 if test "${enable_checkbox+set}" = set; then
5875 enableval
="$enable_checkbox"
5877 if test "$enableval" = yes; then
5878 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5880 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5885 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5886 if test "x$LINE" != x
; then
5887 eval "DEFAULT_$LINE"
5892 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5897 eval "$ac_cv_use_checkbox"
5898 if test "$no_cache" != 1; then
5899 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5902 if test "$wxUSE_CHECKBOX" = yes; then
5903 echo "$ac_t""yes" 1>&6
5905 echo "$ac_t""no" 1>&6
5909 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5910 echo "configure:5911: checking for --enable-checklst" >&5
5912 # Check whether --enable-checklst or --disable-checklst was given.
5913 if test "${enable_checklst+set}" = set; then
5914 enableval
="$enable_checklst"
5916 if test "$enableval" = yes; then
5917 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5919 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5924 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5925 if test "x$LINE" != x
; then
5926 eval "DEFAULT_$LINE"
5931 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5936 eval "$ac_cv_use_checklst"
5937 if test "$no_cache" != 1; then
5938 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5941 if test "$wxUSE_CHECKLST" = yes; then
5942 echo "$ac_t""yes" 1>&6
5944 echo "$ac_t""no" 1>&6
5948 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5949 echo "configure:5950: checking for --enable-choice" >&5
5951 # Check whether --enable-choice or --disable-choice was given.
5952 if test "${enable_choice+set}" = set; then
5953 enableval
="$enable_choice"
5955 if test "$enableval" = yes; then
5956 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5958 ac_cv_use_choice
='wxUSE_CHOICE=no'
5963 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5964 if test "x$LINE" != x
; then
5965 eval "DEFAULT_$LINE"
5970 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5975 eval "$ac_cv_use_choice"
5976 if test "$no_cache" != 1; then
5977 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5980 if test "$wxUSE_CHOICE" = yes; then
5981 echo "$ac_t""yes" 1>&6
5983 echo "$ac_t""no" 1>&6
5987 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5988 echo "configure:5989: checking for --enable-combobox" >&5
5990 # Check whether --enable-combobox or --disable-combobox was given.
5991 if test "${enable_combobox+set}" = set; then
5992 enableval
="$enable_combobox"
5994 if test "$enableval" = yes; then
5995 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5997 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6002 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6003 if test "x$LINE" != x
; then
6004 eval "DEFAULT_$LINE"
6009 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6014 eval "$ac_cv_use_combobox"
6015 if test "$no_cache" != 1; then
6016 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6019 if test "$wxUSE_COMBOBOX" = yes; then
6020 echo "$ac_t""yes" 1>&6
6022 echo "$ac_t""no" 1>&6
6026 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6027 echo "configure:6028: checking for --enable-gauge" >&5
6029 # Check whether --enable-gauge or --disable-gauge was given.
6030 if test "${enable_gauge+set}" = set; then
6031 enableval
="$enable_gauge"
6033 if test "$enableval" = yes; then
6034 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6036 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6041 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6042 if test "x$LINE" != x
; then
6043 eval "DEFAULT_$LINE"
6048 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6053 eval "$ac_cv_use_gauge"
6054 if test "$no_cache" != 1; then
6055 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6058 if test "$wxUSE_GAUGE" = yes; then
6059 echo "$ac_t""yes" 1>&6
6061 echo "$ac_t""no" 1>&6
6065 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6066 echo "configure:6067: checking for --enable-grid" >&5
6068 # Check whether --enable-grid or --disable-grid was given.
6069 if test "${enable_grid+set}" = set; then
6070 enableval
="$enable_grid"
6072 if test "$enableval" = yes; then
6073 ac_cv_use_grid
='wxUSE_GRID=yes'
6075 ac_cv_use_grid
='wxUSE_GRID=no'
6080 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6081 if test "x$LINE" != x
; then
6082 eval "DEFAULT_$LINE"
6087 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6092 eval "$ac_cv_use_grid"
6093 if test "$no_cache" != 1; then
6094 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6097 if test "$wxUSE_GRID" = yes; then
6098 echo "$ac_t""yes" 1>&6
6100 echo "$ac_t""no" 1>&6
6104 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6105 echo "configure:6106: checking for --enable-newgrid" >&5
6107 # Check whether --enable-newgrid or --disable-newgrid was given.
6108 if test "${enable_newgrid+set}" = set; then
6109 enableval
="$enable_newgrid"
6111 if test "$enableval" = yes; then
6112 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6114 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6119 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6120 if test "x$LINE" != x
; then
6121 eval "DEFAULT_$LINE"
6126 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6131 eval "$ac_cv_use_newgrid"
6132 if test "$no_cache" != 1; then
6133 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6136 if test "$wxUSE_NEW_GRID" = yes; then
6137 echo "$ac_t""yes" 1>&6
6139 echo "$ac_t""no" 1>&6
6143 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6144 echo "configure:6145: checking for --enable-imaglist" >&5
6146 # Check whether --enable-imaglist or --disable-imaglist was given.
6147 if test "${enable_imaglist+set}" = set; then
6148 enableval
="$enable_imaglist"
6150 if test "$enableval" = yes; then
6151 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6153 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6158 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6159 if test "x$LINE" != x
; then
6160 eval "DEFAULT_$LINE"
6165 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6170 eval "$ac_cv_use_imaglist"
6171 if test "$no_cache" != 1; then
6172 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6175 if test "$wxUSE_IMAGLIST" = yes; then
6176 echo "$ac_t""yes" 1>&6
6178 echo "$ac_t""no" 1>&6
6182 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6183 echo "configure:6184: checking for --enable-listbox" >&5
6185 # Check whether --enable-listbox or --disable-listbox was given.
6186 if test "${enable_listbox+set}" = set; then
6187 enableval
="$enable_listbox"
6189 if test "$enableval" = yes; then
6190 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6192 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6197 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6198 if test "x$LINE" != x
; then
6199 eval "DEFAULT_$LINE"
6204 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6209 eval "$ac_cv_use_listbox"
6210 if test "$no_cache" != 1; then
6211 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6214 if test "$wxUSE_LISTBOX" = yes; then
6215 echo "$ac_t""yes" 1>&6
6217 echo "$ac_t""no" 1>&6
6221 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6222 echo "configure:6223: checking for --enable-listctrl" >&5
6224 # Check whether --enable-listctrl or --disable-listctrl was given.
6225 if test "${enable_listctrl+set}" = set; then
6226 enableval
="$enable_listctrl"
6228 if test "$enableval" = yes; then
6229 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6231 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6236 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6237 if test "x$LINE" != x
; then
6238 eval "DEFAULT_$LINE"
6243 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6248 eval "$ac_cv_use_listctrl"
6249 if test "$no_cache" != 1; then
6250 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6253 if test "$wxUSE_LISTCTRL" = yes; then
6254 echo "$ac_t""yes" 1>&6
6256 echo "$ac_t""no" 1>&6
6260 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6261 echo "configure:6262: checking for --enable-notebook" >&5
6263 # Check whether --enable-notebook or --disable-notebook was given.
6264 if test "${enable_notebook+set}" = set; then
6265 enableval
="$enable_notebook"
6267 if test "$enableval" = yes; then
6268 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6270 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6275 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6276 if test "x$LINE" != x
; then
6277 eval "DEFAULT_$LINE"
6282 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6287 eval "$ac_cv_use_notebook"
6288 if test "$no_cache" != 1; then
6289 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6292 if test "$wxUSE_NOTEBOOK" = yes; then
6293 echo "$ac_t""yes" 1>&6
6295 echo "$ac_t""no" 1>&6
6299 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6300 echo "configure:6301: checking for --enable-propsheet" >&5
6302 # Check whether --enable-propsheet or --disable-propsheet was given.
6303 if test "${enable_propsheet+set}" = set; then
6304 enableval
="$enable_propsheet"
6306 if test "$enableval" = yes; then
6307 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6309 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6314 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6315 if test "x$LINE" != x
; then
6316 eval "DEFAULT_$LINE"
6321 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6326 eval "$ac_cv_use_propsheet"
6327 if test "$no_cache" != 1; then
6328 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6331 if test "$wxUSE_PROPSHEET" = yes; then
6332 echo "$ac_t""yes" 1>&6
6334 echo "$ac_t""no" 1>&6
6338 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6339 echo "configure:6340: checking for --enable-radiobox" >&5
6341 # Check whether --enable-radiobox or --disable-radiobox was given.
6342 if test "${enable_radiobox+set}" = set; then
6343 enableval
="$enable_radiobox"
6345 if test "$enableval" = yes; then
6346 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6348 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6353 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6354 if test "x$LINE" != x
; then
6355 eval "DEFAULT_$LINE"
6360 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6365 eval "$ac_cv_use_radiobox"
6366 if test "$no_cache" != 1; then
6367 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6370 if test "$wxUSE_RADIOBOX" = yes; then
6371 echo "$ac_t""yes" 1>&6
6373 echo "$ac_t""no" 1>&6
6377 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6378 echo "configure:6379: checking for --enable-radiobtn" >&5
6380 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6381 if test "${enable_radiobtn+set}" = set; then
6382 enableval
="$enable_radiobtn"
6384 if test "$enableval" = yes; then
6385 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6387 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6392 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6393 if test "x$LINE" != x
; then
6394 eval "DEFAULT_$LINE"
6399 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6404 eval "$ac_cv_use_radiobtn"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6409 if test "$wxUSE_RADIOBTN" = yes; then
6410 echo "$ac_t""yes" 1>&6
6412 echo "$ac_t""no" 1>&6
6416 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6417 echo "configure:6418: checking for --enable-sash" >&5
6419 # Check whether --enable-sash or --disable-sash was given.
6420 if test "${enable_sash+set}" = set; then
6421 enableval
="$enable_sash"
6423 if test "$enableval" = yes; then
6424 ac_cv_use_sash
='wxUSE_SASH=yes'
6426 ac_cv_use_sash
='wxUSE_SASH=no'
6431 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6432 if test "x$LINE" != x
; then
6433 eval "DEFAULT_$LINE"
6438 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6443 eval "$ac_cv_use_sash"
6444 if test "$no_cache" != 1; then
6445 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6448 if test "$wxUSE_SASH" = yes; then
6449 echo "$ac_t""yes" 1>&6
6451 echo "$ac_t""no" 1>&6
6455 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6456 echo "configure:6457: checking for --enable-scrollbar" >&5
6458 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6459 if test "${enable_scrollbar+set}" = set; then
6460 enableval
="$enable_scrollbar"
6462 if test "$enableval" = yes; then
6463 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6465 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6470 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6471 if test "x$LINE" != x
; then
6472 eval "DEFAULT_$LINE"
6477 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6482 eval "$ac_cv_use_scrollbar"
6483 if test "$no_cache" != 1; then
6484 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6487 if test "$wxUSE_SCROLLBAR" = yes; then
6488 echo "$ac_t""yes" 1>&6
6490 echo "$ac_t""no" 1>&6
6494 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6495 echo "configure:6496: checking for --enable-slider" >&5
6497 # Check whether --enable-slider or --disable-slider was given.
6498 if test "${enable_slider+set}" = set; then
6499 enableval
="$enable_slider"
6501 if test "$enableval" = yes; then
6502 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6504 ac_cv_use_slider
='wxUSE_SLIDER=no'
6509 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6510 if test "x$LINE" != x
; then
6511 eval "DEFAULT_$LINE"
6516 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6521 eval "$ac_cv_use_slider"
6522 if test "$no_cache" != 1; then
6523 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6526 if test "$wxUSE_SLIDER" = yes; then
6527 echo "$ac_t""yes" 1>&6
6529 echo "$ac_t""no" 1>&6
6533 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6534 echo "configure:6535: checking for --enable-spinbtn" >&5
6536 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6537 if test "${enable_spinbtn+set}" = set; then
6538 enableval
="$enable_spinbtn"
6540 if test "$enableval" = yes; then
6541 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6543 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6548 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6549 if test "x$LINE" != x
; then
6550 eval "DEFAULT_$LINE"
6555 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6560 eval "$ac_cv_use_spinbtn"
6561 if test "$no_cache" != 1; then
6562 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6565 if test "$wxUSE_SPINBTN" = yes; then
6566 echo "$ac_t""yes" 1>&6
6568 echo "$ac_t""no" 1>&6
6572 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6573 echo "configure:6574: checking for --enable-spinctrl" >&5
6575 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6576 if test "${enable_spinctrl+set}" = set; then
6577 enableval
="$enable_spinctrl"
6579 if test "$enableval" = yes; then
6580 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6582 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6587 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6588 if test "x$LINE" != x
; then
6589 eval "DEFAULT_$LINE"
6594 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6599 eval "$ac_cv_use_spinctrl"
6600 if test "$no_cache" != 1; then
6601 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6604 if test "$wxUSE_SPINCTRL" = yes; then
6605 echo "$ac_t""yes" 1>&6
6607 echo "$ac_t""no" 1>&6
6611 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6612 echo "configure:6613: checking for --enable-splitter" >&5
6614 # Check whether --enable-splitter or --disable-splitter was given.
6615 if test "${enable_splitter+set}" = set; then
6616 enableval
="$enable_splitter"
6618 if test "$enableval" = yes; then
6619 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6621 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6626 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6627 if test "x$LINE" != x
; then
6628 eval "DEFAULT_$LINE"
6633 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6638 eval "$ac_cv_use_splitter"
6639 if test "$no_cache" != 1; then
6640 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6643 if test "$wxUSE_SPLITTER" = yes; then
6644 echo "$ac_t""yes" 1>&6
6646 echo "$ac_t""no" 1>&6
6650 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6651 echo "configure:6652: checking for --enable-statbmp" >&5
6653 # Check whether --enable-statbmp or --disable-statbmp was given.
6654 if test "${enable_statbmp+set}" = set; then
6655 enableval
="$enable_statbmp"
6657 if test "$enableval" = yes; then
6658 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6660 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6665 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6666 if test "x$LINE" != x
; then
6667 eval "DEFAULT_$LINE"
6672 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6677 eval "$ac_cv_use_statbmp"
6678 if test "$no_cache" != 1; then
6679 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6682 if test "$wxUSE_STATBMP" = yes; then
6683 echo "$ac_t""yes" 1>&6
6685 echo "$ac_t""no" 1>&6
6689 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6690 echo "configure:6691: checking for --enable-statbox" >&5
6692 # Check whether --enable-statbox or --disable-statbox was given.
6693 if test "${enable_statbox+set}" = set; then
6694 enableval
="$enable_statbox"
6696 if test "$enableval" = yes; then
6697 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6699 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6704 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x
; then
6706 eval "DEFAULT_$LINE"
6711 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6716 eval "$ac_cv_use_statbox"
6717 if test "$no_cache" != 1; then
6718 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6721 if test "$wxUSE_STATBOX" = yes; then
6722 echo "$ac_t""yes" 1>&6
6724 echo "$ac_t""no" 1>&6
6728 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6729 echo "configure:6730: checking for --enable-statline" >&5
6731 # Check whether --enable-statline or --disable-statline was given.
6732 if test "${enable_statline+set}" = set; then
6733 enableval
="$enable_statline"
6735 if test "$enableval" = yes; then
6736 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6738 ac_cv_use_statline
='wxUSE_STATLINE=no'
6743 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6744 if test "x$LINE" != x
; then
6745 eval "DEFAULT_$LINE"
6750 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6755 eval "$ac_cv_use_statline"
6756 if test "$no_cache" != 1; then
6757 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6760 if test "$wxUSE_STATLINE" = yes; then
6761 echo "$ac_t""yes" 1>&6
6763 echo "$ac_t""no" 1>&6
6767 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6768 echo "configure:6769: checking for --enable-stattext" >&5
6770 # Check whether --enable-stattext or --disable-stattext was given.
6771 if test "${enable_stattext+set}" = set; then
6772 enableval
="$enable_stattext"
6774 if test "$enableval" = yes; then
6775 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6777 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6782 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6783 if test "x$LINE" != x
; then
6784 eval "DEFAULT_$LINE"
6789 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6794 eval "$ac_cv_use_stattext"
6795 if test "$no_cache" != 1; then
6796 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6799 if test "$wxUSE_STATTEXT" = yes; then
6800 echo "$ac_t""yes" 1>&6
6802 echo "$ac_t""no" 1>&6
6806 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6807 echo "configure:6808: checking for --enable-statusbar" >&5
6809 # Check whether --enable-statusbar or --disable-statusbar was given.
6810 if test "${enable_statusbar+set}" = set; then
6811 enableval
="$enable_statusbar"
6813 if test "$enableval" = yes; then
6814 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6816 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6821 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6822 if test "x$LINE" != x
; then
6823 eval "DEFAULT_$LINE"
6828 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6833 eval "$ac_cv_use_statusbar"
6834 if test "$no_cache" != 1; then
6835 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6838 if test "$wxUSE_STATUSBAR" = yes; then
6839 echo "$ac_t""yes" 1>&6
6841 echo "$ac_t""no" 1>&6
6845 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6846 echo "configure:6847: checking for --enable-tabdialog" >&5
6848 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6849 if test "${enable_tabdialog+set}" = set; then
6850 enableval
="$enable_tabdialog"
6852 if test "$enableval" = yes; then
6853 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6855 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6860 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6861 if test "x$LINE" != x
; then
6862 eval "DEFAULT_$LINE"
6867 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6872 eval "$ac_cv_use_tabdialog"
6873 if test "$no_cache" != 1; then
6874 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6877 if test "$wxUSE_TABDIALOG" = yes; then
6878 echo "$ac_t""yes" 1>&6
6880 echo "$ac_t""no" 1>&6
6884 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6885 echo "configure:6886: checking for --enable-textctrl" >&5
6887 # Check whether --enable-textctrl or --disable-textctrl was given.
6888 if test "${enable_textctrl+set}" = set; then
6889 enableval
="$enable_textctrl"
6891 if test "$enableval" = yes; then
6892 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6894 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6899 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6900 if test "x$LINE" != x
; then
6901 eval "DEFAULT_$LINE"
6906 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6911 eval "$ac_cv_use_textctrl"
6912 if test "$no_cache" != 1; then
6913 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6916 if test "$wxUSE_TEXTCTRL" = yes; then
6917 echo "$ac_t""yes" 1>&6
6919 echo "$ac_t""no" 1>&6
6923 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6924 echo "configure:6925: checking for --enable-togglebtn" >&5
6926 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6927 if test "${enable_togglebtn+set}" = set; then
6928 enableval
="$enable_togglebtn"
6930 if test "$enableval" = yes; then
6931 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6933 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6938 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6939 if test "x$LINE" != x
; then
6940 eval "DEFAULT_$LINE"
6945 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6950 eval "$ac_cv_use_togglebtn"
6951 if test "$no_cache" != 1; then
6952 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6955 if test "$wxUSE_TOGGLEBTN" = yes; then
6956 echo "$ac_t""yes" 1>&6
6958 echo "$ac_t""no" 1>&6
6962 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6963 echo "configure:6964: checking for --enable-toolbar" >&5
6965 # Check whether --enable-toolbar or --disable-toolbar was given.
6966 if test "${enable_toolbar+set}" = set; then
6967 enableval
="$enable_toolbar"
6969 if test "$enableval" = yes; then
6970 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6972 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6977 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x
; then
6979 eval "DEFAULT_$LINE"
6984 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6989 eval "$ac_cv_use_toolbar"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6994 if test "$wxUSE_TOOLBAR" = yes; then
6995 echo "$ac_t""yes" 1>&6
6997 echo "$ac_t""no" 1>&6
7001 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7002 echo "configure:7003: checking for --enable-tbarnative" >&5
7004 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7005 if test "${enable_tbarnative+set}" = set; then
7006 enableval
="$enable_tbarnative"
7008 if test "$enableval" = yes; then
7009 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7011 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7016 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7017 if test "x$LINE" != x
; then
7018 eval "DEFAULT_$LINE"
7023 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7028 eval "$ac_cv_use_tbarnative"
7029 if test "$no_cache" != 1; then
7030 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7033 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7034 echo "$ac_t""yes" 1>&6
7036 echo "$ac_t""no" 1>&6
7040 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7041 echo "configure:7042: checking for --enable-tbarsmpl" >&5
7043 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7044 if test "${enable_tbarsmpl+set}" = set; then
7045 enableval
="$enable_tbarsmpl"
7047 if test "$enableval" = yes; then
7048 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7050 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7055 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7056 if test "x$LINE" != x
; then
7057 eval "DEFAULT_$LINE"
7062 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7067 eval "$ac_cv_use_tbarsmpl"
7068 if test "$no_cache" != 1; then
7069 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7072 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7073 echo "$ac_t""yes" 1>&6
7075 echo "$ac_t""no" 1>&6
7079 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7080 echo "configure:7081: checking for --enable-treectrl" >&5
7082 # Check whether --enable-treectrl or --disable-treectrl was given.
7083 if test "${enable_treectrl+set}" = set; then
7084 enableval
="$enable_treectrl"
7086 if test "$enableval" = yes; then
7087 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7089 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7094 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7095 if test "x$LINE" != x
; then
7096 eval "DEFAULT_$LINE"
7101 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7106 eval "$ac_cv_use_treectrl"
7107 if test "$no_cache" != 1; then
7108 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7111 if test "$wxUSE_TREECTRL" = yes; then
7112 echo "$ac_t""yes" 1>&6
7114 echo "$ac_t""no" 1>&6
7118 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7119 echo "configure:7120: checking for --enable-tipwindow" >&5
7121 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7122 if test "${enable_tipwindow+set}" = set; then
7123 enableval
="$enable_tipwindow"
7125 if test "$enableval" = yes; then
7126 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7128 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7133 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7134 if test "x$LINE" != x
; then
7135 eval "DEFAULT_$LINE"
7140 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7145 eval "$ac_cv_use_tipwindow"
7146 if test "$no_cache" != 1; then
7147 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7150 if test "$wxUSE_TIPWINDOW" = yes; then
7151 echo "$ac_t""yes" 1>&6
7153 echo "$ac_t""no" 1>&6
7157 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7158 echo "configure:7159: checking for --enable-popupwin" >&5
7160 # Check whether --enable-popupwin or --disable-popupwin was given.
7161 if test "${enable_popupwin+set}" = set; then
7162 enableval
="$enable_popupwin"
7164 if test "$enableval" = yes; then
7165 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7167 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7172 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7173 if test "x$LINE" != x
; then
7174 eval "DEFAULT_$LINE"
7179 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7184 eval "$ac_cv_use_popupwin"
7185 if test "$no_cache" != 1; then
7186 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7189 if test "$wxUSE_POPUPWIN" = yes; then
7190 echo "$ac_t""yes" 1>&6
7192 echo "$ac_t""no" 1>&6
7198 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7199 echo "configure:7200: checking for --enable-commondlg" >&5
7201 # Check whether --enable-commondlg or --disable-commondlg was given.
7202 if test "${enable_commondlg+set}" = set; then
7203 enableval
="$enable_commondlg"
7205 if test "$enableval" = yes; then
7206 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7208 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7213 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7214 if test "x$LINE" != x
; then
7215 eval "DEFAULT_$LINE"
7220 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7225 eval "$ac_cv_use_commondlg"
7226 if test "$no_cache" != 1; then
7227 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7230 if test "$wxUSE_COMMONDLGS" = yes; then
7231 echo "$ac_t""yes" 1>&6
7233 echo "$ac_t""no" 1>&6
7237 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7238 echo "configure:7239: checking for --enable-choicedlg" >&5
7240 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7241 if test "${enable_choicedlg+set}" = set; then
7242 enableval
="$enable_choicedlg"
7244 if test "$enableval" = yes; then
7245 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7247 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7252 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7253 if test "x$LINE" != x
; then
7254 eval "DEFAULT_$LINE"
7259 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7264 eval "$ac_cv_use_choicedlg"
7265 if test "$no_cache" != 1; then
7266 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7269 if test "$wxUSE_CHOICEDLG" = yes; then
7270 echo "$ac_t""yes" 1>&6
7272 echo "$ac_t""no" 1>&6
7276 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7277 echo "configure:7278: checking for --enable-coldlg" >&5
7279 # Check whether --enable-coldlg or --disable-coldlg was given.
7280 if test "${enable_coldlg+set}" = set; then
7281 enableval
="$enable_coldlg"
7283 if test "$enableval" = yes; then
7284 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7286 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7291 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7292 if test "x$LINE" != x
; then
7293 eval "DEFAULT_$LINE"
7298 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7303 eval "$ac_cv_use_coldlg"
7304 if test "$no_cache" != 1; then
7305 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7308 if test "$wxUSE_COLOURDLG" = yes; then
7309 echo "$ac_t""yes" 1>&6
7311 echo "$ac_t""no" 1>&6
7315 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7316 echo "configure:7317: checking for --enable-filedlg" >&5
7318 # Check whether --enable-filedlg or --disable-filedlg was given.
7319 if test "${enable_filedlg+set}" = set; then
7320 enableval
="$enable_filedlg"
7322 if test "$enableval" = yes; then
7323 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7325 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7330 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7331 if test "x$LINE" != x
; then
7332 eval "DEFAULT_$LINE"
7337 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7342 eval "$ac_cv_use_filedlg"
7343 if test "$no_cache" != 1; then
7344 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7347 if test "$wxUSE_FILEDLG" = yes; then
7348 echo "$ac_t""yes" 1>&6
7350 echo "$ac_t""no" 1>&6
7354 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7355 echo "configure:7356: checking for --enable-finddlg" >&5
7357 # Check whether --enable-finddlg or --disable-finddlg was given.
7358 if test "${enable_finddlg+set}" = set; then
7359 enableval
="$enable_finddlg"
7361 if test "$enableval" = yes; then
7362 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7364 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7369 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7370 if test "x$LINE" != x
; then
7371 eval "DEFAULT_$LINE"
7376 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7381 eval "$ac_cv_use_finddlg"
7382 if test "$no_cache" != 1; then
7383 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7386 if test "$wxUSE_FINDREPLDLG" = yes; then
7387 echo "$ac_t""yes" 1>&6
7389 echo "$ac_t""no" 1>&6
7393 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7394 echo "configure:7395: checking for --enable-fontdlg" >&5
7396 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7397 if test "${enable_fontdlg+set}" = set; then
7398 enableval
="$enable_fontdlg"
7400 if test "$enableval" = yes; then
7401 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7403 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7408 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7409 if test "x$LINE" != x
; then
7410 eval "DEFAULT_$LINE"
7415 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7420 eval "$ac_cv_use_fontdlg"
7421 if test "$no_cache" != 1; then
7422 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7425 if test "$wxUSE_FONTDLG" = yes; then
7426 echo "$ac_t""yes" 1>&6
7428 echo "$ac_t""no" 1>&6
7432 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7433 echo "configure:7434: checking for --enable-dirdlg" >&5
7435 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7436 if test "${enable_dirdlg+set}" = set; then
7437 enableval
="$enable_dirdlg"
7439 if test "$enableval" = yes; then
7440 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7442 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7447 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7448 if test "x$LINE" != x
; then
7449 eval "DEFAULT_$LINE"
7454 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7459 eval "$ac_cv_use_dirdlg"
7460 if test "$no_cache" != 1; then
7461 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7464 if test "$wxUSE_DIRDLG" = yes; then
7465 echo "$ac_t""yes" 1>&6
7467 echo "$ac_t""no" 1>&6
7471 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7472 echo "configure:7473: checking for --enable-msgdlg" >&5
7474 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7475 if test "${enable_msgdlg+set}" = set; then
7476 enableval
="$enable_msgdlg"
7478 if test "$enableval" = yes; then
7479 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7481 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7486 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7487 if test "x$LINE" != x
; then
7488 eval "DEFAULT_$LINE"
7493 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7498 eval "$ac_cv_use_msgdlg"
7499 if test "$no_cache" != 1; then
7500 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7503 if test "$wxUSE_MSGDLG" = yes; then
7504 echo "$ac_t""yes" 1>&6
7506 echo "$ac_t""no" 1>&6
7510 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7511 echo "configure:7512: checking for --enable-numberdlg" >&5
7513 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7514 if test "${enable_numberdlg+set}" = set; then
7515 enableval
="$enable_numberdlg"
7517 if test "$enableval" = yes; then
7518 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7520 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7525 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7526 if test "x$LINE" != x
; then
7527 eval "DEFAULT_$LINE"
7532 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7537 eval "$ac_cv_use_numberdlg"
7538 if test "$no_cache" != 1; then
7539 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7542 if test "$wxUSE_NUMBERDLG" = yes; then
7543 echo "$ac_t""yes" 1>&6
7545 echo "$ac_t""no" 1>&6
7549 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7550 echo "configure:7551: checking for --enable-splash" >&5
7552 # Check whether --enable-splash or --disable-splash was given.
7553 if test "${enable_splash+set}" = set; then
7554 enableval
="$enable_splash"
7556 if test "$enableval" = yes; then
7557 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7559 ac_cv_use_splash
='wxUSE_SPLASH=no'
7564 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7565 if test "x$LINE" != x
; then
7566 eval "DEFAULT_$LINE"
7571 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7576 eval "$ac_cv_use_splash"
7577 if test "$no_cache" != 1; then
7578 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7581 if test "$wxUSE_SPLASH" = yes; then
7582 echo "$ac_t""yes" 1>&6
7584 echo "$ac_t""no" 1>&6
7588 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7589 echo "configure:7590: checking for --enable-textdlg" >&5
7591 # Check whether --enable-textdlg or --disable-textdlg was given.
7592 if test "${enable_textdlg+set}" = set; then
7593 enableval
="$enable_textdlg"
7595 if test "$enableval" = yes; then
7596 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7598 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7603 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7604 if test "x$LINE" != x
; then
7605 eval "DEFAULT_$LINE"
7610 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7615 eval "$ac_cv_use_textdlg"
7616 if test "$no_cache" != 1; then
7617 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7620 if test "$wxUSE_TEXTDLG" = yes; then
7621 echo "$ac_t""yes" 1>&6
7623 echo "$ac_t""no" 1>&6
7627 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7628 echo "configure:7629: checking for --enable-tipdlg" >&5
7630 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7631 if test "${enable_tipdlg+set}" = set; then
7632 enableval
="$enable_tipdlg"
7634 if test "$enableval" = yes; then
7635 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7637 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7642 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7643 if test "x$LINE" != x
; then
7644 eval "DEFAULT_$LINE"
7649 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7654 eval "$ac_cv_use_tipdlg"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7659 if test "$wxUSE_STARTUP_TIPS" = yes; then
7660 echo "$ac_t""yes" 1>&6
7662 echo "$ac_t""no" 1>&6
7666 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7667 echo "configure:7668: checking for --enable-progressdlg" >&5
7669 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7670 if test "${enable_progressdlg+set}" = set; then
7671 enableval
="$enable_progressdlg"
7673 if test "$enableval" = yes; then
7674 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7676 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7681 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7682 if test "x$LINE" != x
; then
7683 eval "DEFAULT_$LINE"
7688 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7693 eval "$ac_cv_use_progressdlg"
7694 if test "$no_cache" != 1; then
7695 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7698 if test "$wxUSE_PROGRESSDLG" = yes; then
7699 echo "$ac_t""yes" 1>&6
7701 echo "$ac_t""no" 1>&6
7705 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7706 echo "configure:7707: checking for --enable-wizarddlg" >&5
7708 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7709 if test "${enable_wizarddlg+set}" = set; then
7710 enableval
="$enable_wizarddlg"
7712 if test "$enableval" = yes; then
7713 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7715 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7720 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7721 if test "x$LINE" != x
; then
7722 eval "DEFAULT_$LINE"
7727 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7732 eval "$ac_cv_use_wizarddlg"
7733 if test "$no_cache" != 1; then
7734 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7737 if test "$wxUSE_WIZARDDLG" = yes; then
7738 echo "$ac_t""yes" 1>&6
7740 echo "$ac_t""no" 1>&6
7746 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7747 echo "configure:7748: checking for --enable-menus" >&5
7749 # Check whether --enable-menus or --disable-menus was given.
7750 if test "${enable_menus+set}" = set; then
7751 enableval
="$enable_menus"
7753 if test "$enableval" = yes; then
7754 ac_cv_use_menus
='wxUSE_MENUS=yes'
7756 ac_cv_use_menus
='wxUSE_MENUS=no'
7761 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7762 if test "x$LINE" != x
; then
7763 eval "DEFAULT_$LINE"
7768 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7773 eval "$ac_cv_use_menus"
7774 if test "$no_cache" != 1; then
7775 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7778 if test "$wxUSE_MENUS" = yes; then
7779 echo "$ac_t""yes" 1>&6
7781 echo "$ac_t""no" 1>&6
7785 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7786 echo "configure:7787: checking for --enable-miniframe" >&5
7788 # Check whether --enable-miniframe or --disable-miniframe was given.
7789 if test "${enable_miniframe+set}" = set; then
7790 enableval
="$enable_miniframe"
7792 if test "$enableval" = yes; then
7793 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7795 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7800 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7801 if test "x$LINE" != x
; then
7802 eval "DEFAULT_$LINE"
7807 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7812 eval "$ac_cv_use_miniframe"
7813 if test "$no_cache" != 1; then
7814 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7817 if test "$wxUSE_MINIFRAME" = yes; then
7818 echo "$ac_t""yes" 1>&6
7820 echo "$ac_t""no" 1>&6
7824 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7825 echo "configure:7826: checking for --enable-tooltips" >&5
7827 # Check whether --enable-tooltips or --disable-tooltips was given.
7828 if test "${enable_tooltips+set}" = set; then
7829 enableval
="$enable_tooltips"
7831 if test "$enableval" = yes; then
7832 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7834 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7839 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7840 if test "x$LINE" != x
; then
7841 eval "DEFAULT_$LINE"
7846 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7851 eval "$ac_cv_use_tooltips"
7852 if test "$no_cache" != 1; then
7853 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7856 if test "$wxUSE_TOOLTIPS" = yes; then
7857 echo "$ac_t""yes" 1>&6
7859 echo "$ac_t""no" 1>&6
7863 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7864 echo "configure:7865: checking for --enable-splines" >&5
7866 # Check whether --enable-splines or --disable-splines was given.
7867 if test "${enable_splines+set}" = set; then
7868 enableval
="$enable_splines"
7870 if test "$enableval" = yes; then
7871 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7873 ac_cv_use_splines
='wxUSE_SPLINES=no'
7878 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7879 if test "x$LINE" != x
; then
7880 eval "DEFAULT_$LINE"
7885 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7890 eval "$ac_cv_use_splines"
7891 if test "$no_cache" != 1; then
7892 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7895 if test "$wxUSE_SPLINES" = yes; then
7896 echo "$ac_t""yes" 1>&6
7898 echo "$ac_t""no" 1>&6
7902 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7903 echo "configure:7904: checking for --enable-validators" >&5
7905 # Check whether --enable-validators or --disable-validators was given.
7906 if test "${enable_validators+set}" = set; then
7907 enableval
="$enable_validators"
7909 if test "$enableval" = yes; then
7910 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7912 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7917 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7918 if test "x$LINE" != x
; then
7919 eval "DEFAULT_$LINE"
7924 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7929 eval "$ac_cv_use_validators"
7930 if test "$no_cache" != 1; then
7931 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7934 if test "$wxUSE_VALIDATORS" = yes; then
7935 echo "$ac_t""yes" 1>&6
7937 echo "$ac_t""no" 1>&6
7941 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7942 echo "configure:7943: checking for --enable-busyinfo" >&5
7944 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7945 if test "${enable_busyinfo+set}" = set; then
7946 enableval
="$enable_busyinfo"
7948 if test "$enableval" = yes; then
7949 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7951 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7956 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7957 if test "x$LINE" != x
; then
7958 eval "DEFAULT_$LINE"
7963 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7968 eval "$ac_cv_use_busyinfo"
7969 if test "$no_cache" != 1; then
7970 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7973 if test "$wxUSE_BUSYINFO" = yes; then
7974 echo "$ac_t""yes" 1>&6
7976 echo "$ac_t""no" 1>&6
7980 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7981 echo "configure:7982: checking for --enable-joystick" >&5
7983 # Check whether --enable-joystick or --disable-joystick was given.
7984 if test "${enable_joystick+set}" = set; then
7985 enableval
="$enable_joystick"
7987 if test "$enableval" = yes; then
7988 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7990 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7995 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7996 if test "x$LINE" != x
; then
7997 eval "DEFAULT_$LINE"
8002 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8007 eval "$ac_cv_use_joystick"
8008 if test "$no_cache" != 1; then
8009 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8012 if test "$wxUSE_JOYSTICK" = yes; then
8013 echo "$ac_t""yes" 1>&6
8015 echo "$ac_t""no" 1>&6
8019 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8020 echo "configure:8021: checking for --enable-metafile" >&5
8022 # Check whether --enable-metafile or --disable-metafile was given.
8023 if test "${enable_metafile+set}" = set; then
8024 enableval
="$enable_metafile"
8026 if test "$enableval" = yes; then
8027 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8029 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8034 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8035 if test "x$LINE" != x
; then
8036 eval "DEFAULT_$LINE"
8041 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8046 eval "$ac_cv_use_metafile"
8047 if test "$no_cache" != 1; then
8048 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8051 if test "$wxUSE_METAFILE" = yes; then
8052 echo "$ac_t""yes" 1>&6
8054 echo "$ac_t""no" 1>&6
8058 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8059 echo "configure:8060: checking for --enable-dragimage" >&5
8061 # Check whether --enable-dragimage or --disable-dragimage was given.
8062 if test "${enable_dragimage+set}" = set; then
8063 enableval
="$enable_dragimage"
8065 if test "$enableval" = yes; then
8066 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8068 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8073 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8074 if test "x$LINE" != x
; then
8075 eval "DEFAULT_$LINE"
8080 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8085 eval "$ac_cv_use_dragimage"
8086 if test "$no_cache" != 1; then
8087 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8090 if test "$wxUSE_DRAGIMAGE" = yes; then
8091 echo "$ac_t""yes" 1>&6
8093 echo "$ac_t""no" 1>&6
8099 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8100 echo "configure:8101: checking for --enable-palette" >&5
8102 # Check whether --enable-palette or --disable-palette was given.
8103 if test "${enable_palette+set}" = set; then
8104 enableval
="$enable_palette"
8106 if test "$enableval" = yes; then
8107 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8109 ac_cv_use_palette
='wxUSE_PALETTE=no'
8114 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8115 if test "x$LINE" != x
; then
8116 eval "DEFAULT_$LINE"
8121 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8126 eval "$ac_cv_use_palette"
8127 if test "$no_cache" != 1; then
8128 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8131 if test "$wxUSE_PALETTE" = yes; then
8132 echo "$ac_t""yes" 1>&6
8134 echo "$ac_t""no" 1>&6
8138 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8139 echo "configure:8140: checking for --enable-image" >&5
8141 # Check whether --enable-image or --disable-image was given.
8142 if test "${enable_image+set}" = set; then
8143 enableval
="$enable_image"
8145 if test "$enableval" = yes; then
8146 ac_cv_use_image
='wxUSE_IMAGE=yes'
8148 ac_cv_use_image
='wxUSE_IMAGE=no'
8153 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8154 if test "x$LINE" != x
; then
8155 eval "DEFAULT_$LINE"
8160 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8165 eval "$ac_cv_use_image"
8166 if test "$no_cache" != 1; then
8167 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8170 if test "$wxUSE_IMAGE" = yes; then
8171 echo "$ac_t""yes" 1>&6
8173 echo "$ac_t""no" 1>&6
8177 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8178 echo "configure:8179: checking for --enable-gif" >&5
8180 # Check whether --enable-gif or --disable-gif was given.
8181 if test "${enable_gif+set}" = set; then
8182 enableval
="$enable_gif"
8184 if test "$enableval" = yes; then
8185 ac_cv_use_gif
='wxUSE_GIF=yes'
8187 ac_cv_use_gif
='wxUSE_GIF=no'
8192 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8193 if test "x$LINE" != x
; then
8194 eval "DEFAULT_$LINE"
8199 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8204 eval "$ac_cv_use_gif"
8205 if test "$no_cache" != 1; then
8206 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8209 if test "$wxUSE_GIF" = yes; then
8210 echo "$ac_t""yes" 1>&6
8212 echo "$ac_t""no" 1>&6
8216 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8217 echo "configure:8218: checking for --enable-pcx" >&5
8219 # Check whether --enable-pcx or --disable-pcx was given.
8220 if test "${enable_pcx+set}" = set; then
8221 enableval
="$enable_pcx"
8223 if test "$enableval" = yes; then
8224 ac_cv_use_pcx
='wxUSE_PCX=yes'
8226 ac_cv_use_pcx
='wxUSE_PCX=no'
8231 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8232 if test "x$LINE" != x
; then
8233 eval "DEFAULT_$LINE"
8238 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8243 eval "$ac_cv_use_pcx"
8244 if test "$no_cache" != 1; then
8245 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8248 if test "$wxUSE_PCX" = yes; then
8249 echo "$ac_t""yes" 1>&6
8251 echo "$ac_t""no" 1>&6
8255 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8256 echo "configure:8257: checking for --enable-iff" >&5
8258 # Check whether --enable-iff or --disable-iff was given.
8259 if test "${enable_iff+set}" = set; then
8260 enableval
="$enable_iff"
8262 if test "$enableval" = yes; then
8263 ac_cv_use_iff
='wxUSE_IFF=yes'
8265 ac_cv_use_iff
='wxUSE_IFF=no'
8270 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8271 if test "x$LINE" != x
; then
8272 eval "DEFAULT_$LINE"
8277 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8282 eval "$ac_cv_use_iff"
8283 if test "$no_cache" != 1; then
8284 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8287 if test "$wxUSE_IFF" = yes; then
8288 echo "$ac_t""yes" 1>&6
8290 echo "$ac_t""no" 1>&6
8294 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8295 echo "configure:8296: checking for --enable-pnm" >&5
8297 # Check whether --enable-pnm or --disable-pnm was given.
8298 if test "${enable_pnm+set}" = set; then
8299 enableval
="$enable_pnm"
8301 if test "$enableval" = yes; then
8302 ac_cv_use_pnm
='wxUSE_PNM=yes'
8304 ac_cv_use_pnm
='wxUSE_PNM=no'
8309 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8310 if test "x$LINE" != x
; then
8311 eval "DEFAULT_$LINE"
8316 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8321 eval "$ac_cv_use_pnm"
8322 if test "$no_cache" != 1; then
8323 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8326 if test "$wxUSE_PNM" = yes; then
8327 echo "$ac_t""yes" 1>&6
8329 echo "$ac_t""no" 1>&6
8333 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8334 echo "configure:8335: checking for --enable-xpm" >&5
8336 # Check whether --enable-xpm or --disable-xpm was given.
8337 if test "${enable_xpm+set}" = set; then
8338 enableval
="$enable_xpm"
8340 if test "$enableval" = yes; then
8341 ac_cv_use_xpm
='wxUSE_XPM=yes'
8343 ac_cv_use_xpm
='wxUSE_XPM=no'
8348 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8349 if test "x$LINE" != x
; then
8350 eval "DEFAULT_$LINE"
8355 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8360 eval "$ac_cv_use_xpm"
8361 if test "$no_cache" != 1; then
8362 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8365 if test "$wxUSE_XPM" = yes; then
8366 echo "$ac_t""yes" 1>&6
8368 echo "$ac_t""no" 1>&6
8372 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8373 echo "configure:8374: checking for --enable-ico_cur" >&5
8375 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8376 if test "${enable_ico_cur+set}" = set; then
8377 enableval
="$enable_ico_cur"
8379 if test "$enableval" = yes; then
8380 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8382 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8387 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8388 if test "x$LINE" != x
; then
8389 eval "DEFAULT_$LINE"
8394 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8399 eval "$ac_cv_use_ico_cur"
8400 if test "$no_cache" != 1; then
8401 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8404 if test "$wxUSE_ICO_CUR" = yes; then
8405 echo "$ac_t""yes" 1>&6
8407 echo "$ac_t""no" 1>&6
8414 *-pc-os2_emx | *-pc-os2-emx )
8425 echo "saving argument cache $wx_arg_cache_file"
8426 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8430 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8431 echo "configure:8432: checking for toolkit" >&5
8433 if test "$wxUSE_GUI" = "yes"; then
8435 if test "$USE_BEOS" = 1; then
8436 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8439 if test "$TOOLKIT_GIVEN" = 1; then
8440 for toolkit
in `echo $ALL_TOOLKITS`; do
8442 eval "value=\$${var}"
8443 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8446 for toolkit
in `echo $ALL_TOOLKITS`; do
8447 if test "$has_toolkit_in_cache" != 1; then
8448 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8450 var
=DEFAULT_wxUSE_
$toolkit
8452 eval "wxUSE_$toolkit=\$${var}"
8456 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8457 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8460 *-pc-os2_emx | *-pc-os2-emx )
8461 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8464 case "$NUM_TOOLKITS" in
8468 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8471 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8474 for toolkit
in `echo $ALL_TOOLKITS`; do
8476 eval "value=\$${var}"
8477 if test "x$value" != x
; then
8478 cache_var
=CACHE_
$toolkit
8479 eval "cache=\$${cache_var}"
8480 if test "$cache" = 1; then
8481 echo "$var=$value" >> ${wx_arg_cache_file}
8483 if test "$value" = 1; then
8484 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8485 echo "$ac_t""$toolkit_echo" 1>&6
8490 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8497 if test "$wxUSE_MSW" = 1 ; then
8506 if test "$define_win32" = 1 ; then
8509 cat >> confdefs.h
<<\EOF
8513 cat >> confdefs.h
<<\EOF
8517 cat >> confdefs.h
<<\EOF
8518 #define __WINDOWS__ 1
8521 cat >> confdefs.h
<<\EOF
8522 #define __GNUWIN32__ 1
8525 cat >> confdefs.h
<<\EOF
8529 cat >> confdefs.h
<<\EOF
8530 #define WINVER 0x0400
8538 if test "$USE_UNIX" = 1 ; then
8540 cat >> confdefs.h
<<\EOF
8547 cat > confcache
<<\EOF
8548 # This file is a shell script that caches the results of configure
8549 # tests run on this system so they can be shared between configure
8550 # scripts and configure runs. It is not useful on other systems.
8551 # If it contains results you don't want to keep, you may remove or edit it.
8553 # By default, configure uses ./config.cache as the cache file,
8554 # creating it if it does not exist already. You can give configure
8555 # the --cache-file=FILE option to use a different cache file; that is
8556 # what configure does when it calls configure scripts in
8557 # subdirectories, so they share the cache.
8558 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8559 # config.status only pays attention to the cache file if you give it the
8560 # --recheck option to rerun configure.
8563 # The following way of writing the cache mishandles newlines in values,
8564 # but we know of no workaround that is simple, portable, and efficient.
8565 # So, don't put newlines in cache variables' values.
8566 # Ultrix sh set writes to stderr and can't be redirected directly,
8567 # and sets the high bit in the cache file unless we assign to the vars.
8569 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8571 # `set' does not quote correctly, so add quotes (double-quote substitution
8572 # turns \\\\ into \\, and sed turns \\ into \).
8574 -e "s/'/'\\\\''/g" \
8575 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8578 # `set' quotes correctly as required by POSIX, so do not add quotes.
8579 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8582 if cmp -s $cache_file confcache
; then
8585 if test -w $cache_file; then
8586 echo "updating cache $cache_file"
8587 cat confcache
> $cache_file
8589 echo "not updating unwritable cache $cache_file"
8595 if test "$build" != "$host" ; then
8596 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8600 RANLIB
=$host_alias-ranlib
8601 DLLTOOL
=$host_alias-dlltool
8602 RESCOMP
=$host_alias-windres
8605 STRIP
=$host_alias-strip
8607 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8612 # Extract the first word of "gcc", so it can be a program name with args.
8613 set dummy gcc
; ac_word
=$2
8614 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8615 echo "configure:8616: checking for $ac_word" >&5
8616 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8617 echo $ac_n "(cached) $ac_c" 1>&6
8619 if test -n "$CC"; then
8620 ac_cv_prog_CC
="$CC" # Let the user override the test.
8622 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8624 for ac_dir
in $ac_dummy; do
8625 test -z "$ac_dir" && ac_dir
=.
8626 if test -f $ac_dir/$ac_word; then
8635 if test -n "$CC"; then
8636 echo "$ac_t""$CC" 1>&6
8638 echo "$ac_t""no" 1>&6
8641 if test -z "$CC"; then
8642 # Extract the first word of "cc", so it can be a program name with args.
8643 set dummy cc
; ac_word
=$2
8644 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8645 echo "configure:8646: checking for $ac_word" >&5
8646 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8647 echo $ac_n "(cached) $ac_c" 1>&6
8649 if test -n "$CC"; then
8650 ac_cv_prog_CC
="$CC" # Let the user override the test.
8652 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8655 for ac_dir
in $ac_dummy; do
8656 test -z "$ac_dir" && ac_dir
=.
8657 if test -f $ac_dir/$ac_word; then
8658 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8659 ac_prog_rejected
=yes
8667 if test $ac_prog_rejected = yes; then
8668 # We found a bogon in the path, so make sure we never use it.
8669 set dummy
$ac_cv_prog_CC
8671 if test $# -gt 0; then
8672 # We chose a different compiler from the bogus one.
8673 # However, it has the same basename, so the bogon will be chosen
8674 # first if we set CC to just the basename; use the full file name.
8676 set dummy
"$ac_dir/$ac_word" "$@"
8684 if test -n "$CC"; then
8685 echo "$ac_t""$CC" 1>&6
8687 echo "$ac_t""no" 1>&6
8690 if test -z "$CC"; then
8691 case "`uname -s`" in
8693 # Extract the first word of "cl", so it can be a program name with args.
8694 set dummy cl
; ac_word
=$2
8695 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8696 echo "configure:8697: checking for $ac_word" >&5
8697 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8698 echo $ac_n "(cached) $ac_c" 1>&6
8700 if test -n "$CC"; then
8701 ac_cv_prog_CC
="$CC" # Let the user override the test.
8703 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8705 for ac_dir
in $ac_dummy; do
8706 test -z "$ac_dir" && ac_dir
=.
8707 if test -f $ac_dir/$ac_word; then
8716 if test -n "$CC"; then
8717 echo "$ac_t""$CC" 1>&6
8719 echo "$ac_t""no" 1>&6
8724 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8727 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8728 echo "configure:8729: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8731 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8732 ac_cpp
='$CPP $CPPFLAGS'
8733 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8734 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8735 cross_compiling
=$ac_cv_prog_cc_cross
8737 cat > conftest.
$ac_ext << EOF
8739 #line 8740 "configure"
8740 #include "confdefs.h"
8744 if { (eval echo configure
:8745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8745 ac_cv_prog_cc_works
=yes
8746 # If we can't run a trivial program, we are probably using a cross compiler.
8747 if (.
/conftest
; exit) 2>/dev
/null
; then
8748 ac_cv_prog_cc_cross
=no
8750 ac_cv_prog_cc_cross
=yes
8753 echo "configure: failed program was:" >&5
8754 cat conftest.
$ac_ext >&5
8755 ac_cv_prog_cc_works
=no
8759 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8760 ac_cpp
='$CPP $CPPFLAGS'
8761 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8762 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8763 cross_compiling
=$ac_cv_prog_cc_cross
8765 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8766 if test $ac_cv_prog_cc_works = no
; then
8767 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8769 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8770 echo "configure:8771: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8771 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8772 cross_compiling
=$ac_cv_prog_cc_cross
8774 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8775 echo "configure:8776: checking whether we are using GNU C" >&5
8776 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8777 echo $ac_n "(cached) $ac_c" 1>&6
8779 cat > conftest.c
<<EOF
8784 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8791 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8793 if test $ac_cv_prog_gcc = yes; then
8799 ac_test_CFLAGS
="${CFLAGS+set}"
8800 ac_save_CFLAGS
="$CFLAGS"
8802 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8803 echo "configure:8804: checking whether ${CC-cc} accepts -g" >&5
8804 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8805 echo $ac_n "(cached) $ac_c" 1>&6
8807 echo 'void f(){}' > conftest.c
8808 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8817 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8818 if test "$ac_test_CFLAGS" = set; then
8819 CFLAGS
="$ac_save_CFLAGS"
8820 elif test $ac_cv_prog_cc_g = yes; then
8821 if test "$GCC" = yes; then
8827 if test "$GCC" = yes; then
8835 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8836 echo "configure:8837: checking how to run the C preprocessor" >&5
8837 # On Suns, sometimes $CPP names a directory.
8838 if test -n "$CPP" && test -d "$CPP"; then
8841 if test -z "$CPP"; then
8842 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8843 echo $ac_n "(cached) $ac_c" 1>&6
8845 # This must be in double quotes, not single quotes, because CPP may get
8846 # substituted into the Makefile and "${CC-cc}" will confuse make.
8848 # On the NeXT, cc -E runs the code through the compiler's parser,
8849 # not just through cpp.
8850 cat > conftest.
$ac_ext <<EOF
8851 #line 8852 "configure"
8852 #include "confdefs.h"
8856 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8857 { (eval echo configure
:8858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8858 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8859 if test -z "$ac_err"; then
8863 echo "configure: failed program was:" >&5
8864 cat conftest.
$ac_ext >&5
8866 CPP
="${CC-cc} -E -traditional-cpp"
8867 cat > conftest.
$ac_ext <<EOF
8868 #line 8869 "configure"
8869 #include "confdefs.h"
8873 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8874 { (eval echo configure
:8875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8875 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8876 if test -z "$ac_err"; then
8880 echo "configure: failed program was:" >&5
8881 cat conftest.
$ac_ext >&5
8883 CPP
="${CC-cc} -nologo -E"
8884 cat > conftest.
$ac_ext <<EOF
8885 #line 8886 "configure"
8886 #include "confdefs.h"
8890 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8891 { (eval echo configure
:8892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8892 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8893 if test -z "$ac_err"; then
8897 echo "configure: failed program was:" >&5
8898 cat conftest.
$ac_ext >&5
8907 ac_cv_prog_CPP
="$CPP"
8909 CPP
="$ac_cv_prog_CPP"
8911 ac_cv_prog_CPP
="$CPP"
8913 echo "$ac_t""$CPP" 1>&6
8915 if test $ac_cv_prog_gcc = yes; then
8916 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8917 echo "configure:8918: checking whether ${CC-cc} needs -traditional" >&5
8918 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8919 echo $ac_n "(cached) $ac_c" 1>&6
8921 ac_pattern
="Autoconf.*'x'"
8922 cat > conftest.
$ac_ext <<EOF
8923 #line 8924 "configure"
8924 #include "confdefs.h"
8928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8929 egrep "$ac_pattern" >/dev
/null
2>&1; then
8931 ac_cv_prog_gcc_traditional
=yes
8934 ac_cv_prog_gcc_traditional
=no
8939 if test $ac_cv_prog_gcc_traditional = no
; then
8940 cat > conftest.
$ac_ext <<EOF
8941 #line 8942 "configure"
8942 #include "confdefs.h"
8946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8947 egrep "$ac_pattern" >/dev
/null
2>&1; then
8949 ac_cv_prog_gcc_traditional
=yes
8956 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8957 if test $ac_cv_prog_gcc_traditional = yes; then
8958 CC
="$CC -traditional"
8965 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8966 ac_cpp
='$CXXCPP $CPPFLAGS'
8967 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8968 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8969 cross_compiling
=$ac_cv_prog_cxx_cross
8972 CXXFLAGS
=${CXXFLAGS:=}
8973 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8975 # Extract the first word of "$ac_prog", so it can be a program name with args.
8976 set dummy
$ac_prog; ac_word
=$2
8977 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8978 echo "configure:8979: checking for $ac_word" >&5
8979 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8980 echo $ac_n "(cached) $ac_c" 1>&6
8982 if test -n "$CXX"; then
8983 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8985 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8987 for ac_dir
in $ac_dummy; do
8988 test -z "$ac_dir" && ac_dir
=.
8989 if test -f $ac_dir/$ac_word; then
8990 ac_cv_prog_CXX
="$ac_prog"
8997 CXX
="$ac_cv_prog_CXX"
8998 if test -n "$CXX"; then
8999 echo "$ac_t""$CXX" 1>&6
9001 echo "$ac_t""no" 1>&6
9004 test -n "$CXX" && break
9006 test -n "$CXX" || CXX
="gcc"
9009 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9010 echo "configure:9011: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9013 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9014 ac_cpp
='$CXXCPP $CPPFLAGS'
9015 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9016 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9017 cross_compiling
=$ac_cv_prog_cxx_cross
9019 cat > conftest.
$ac_ext << EOF
9021 #line 9022 "configure"
9022 #include "confdefs.h"
9024 int main(){return(0);}
9026 if { (eval echo configure
:9027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9027 ac_cv_prog_cxx_works
=yes
9028 # If we can't run a trivial program, we are probably using a cross compiler.
9029 if (.
/conftest
; exit) 2>/dev
/null
; then
9030 ac_cv_prog_cxx_cross
=no
9032 ac_cv_prog_cxx_cross
=yes
9035 echo "configure: failed program was:" >&5
9036 cat conftest.
$ac_ext >&5
9037 ac_cv_prog_cxx_works
=no
9041 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9042 ac_cpp
='$CXXCPP $CPPFLAGS'
9043 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9044 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9045 cross_compiling
=$ac_cv_prog_cxx_cross
9047 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9048 if test $ac_cv_prog_cxx_works = no
; then
9049 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9051 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9052 echo "configure:9053: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9053 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9054 cross_compiling
=$ac_cv_prog_cxx_cross
9056 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9057 echo "configure:9058: checking whether we are using GNU C++" >&5
9058 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9059 echo $ac_n "(cached) $ac_c" 1>&6
9061 cat > conftest.C
<<EOF
9066 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9067: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9073 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9075 if test $ac_cv_prog_gxx = yes; then
9081 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9082 ac_save_CXXFLAGS
="$CXXFLAGS"
9084 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9085 echo "configure:9086: checking whether ${CXX-g++} accepts -g" >&5
9086 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9087 echo $ac_n "(cached) $ac_c" 1>&6
9089 echo 'void f(){}' > conftest.cc
9090 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9091 ac_cv_prog_cxx_g
=yes
9099 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9100 if test "$ac_test_CXXFLAGS" = set; then
9101 CXXFLAGS
="$ac_save_CXXFLAGS"
9102 elif test $ac_cv_prog_cxx_g = yes; then
9103 if test "$GXX" = yes; then
9109 if test "$GXX" = yes; then
9118 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9119 ac_cpp
='$CPP $CPPFLAGS'
9120 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9121 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9122 cross_compiling
=$ac_cv_prog_cc_cross
9125 # Extract the first word of "ranlib", so it can be a program name with args.
9126 set dummy ranlib
; ac_word
=$2
9127 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9128 echo "configure:9129: checking for $ac_word" >&5
9129 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9130 echo $ac_n "(cached) $ac_c" 1>&6
9132 if test -n "$RANLIB"; then
9133 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9135 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9137 for ac_dir
in $ac_dummy; do
9138 test -z "$ac_dir" && ac_dir
=.
9139 if test -f $ac_dir/$ac_word; then
9140 ac_cv_prog_RANLIB
="ranlib"
9145 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9148 RANLIB
="$ac_cv_prog_RANLIB"
9149 if test -n "$RANLIB"; then
9150 echo "$ac_t""$RANLIB" 1>&6
9152 echo "$ac_t""no" 1>&6
9156 # Extract the first word of "ar", so it can be a program name with args.
9157 set dummy
ar; ac_word
=$2
9158 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9159 echo "configure:9160: checking for $ac_word" >&5
9160 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9161 echo $ac_n "(cached) $ac_c" 1>&6
9163 if test -n "$AR"; then
9164 ac_cv_prog_AR
="$AR" # Let the user override the test.
9166 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9168 for ac_dir
in $ac_dummy; do
9169 test -z "$ac_dir" && ac_dir
=.
9170 if test -f $ac_dir/$ac_word; then
9176 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9180 if test -n "$AR"; then
9181 echo "$ac_t""$AR" 1>&6
9183 echo "$ac_t""no" 1>&6
9187 # Find a good install program. We prefer a C program (faster),
9188 # so one script is as good as another. But avoid the broken or
9189 # incompatible versions:
9190 # SysV /etc/install, /usr/sbin/install
9191 # SunOS /usr/etc/install
9192 # IRIX /sbin/install
9194 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9195 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9196 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9197 # ./install, which can be erroneously created by make from ./install.sh.
9198 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9199 echo "configure:9200: checking for a BSD compatible install" >&5
9200 if test -z "$INSTALL"; then
9201 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9202 echo $ac_n "(cached) $ac_c" 1>&6
9204 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9205 for ac_dir
in $PATH; do
9206 # Account for people who put trailing slashes in PATH elements.
9208 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9210 # OSF1 and SCO ODT 3.0 have their own names for install.
9211 # Don't use installbsd from OSF since it installs stuff as root
9213 for ac_prog
in ginstall scoinst
install; do
9214 if test -f $ac_dir/$ac_prog; then
9215 if test $ac_prog = install &&
9216 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9217 # AIX install. It has an incompatible calling convention.
9220 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9231 if test "${ac_cv_path_install+set}" = set; then
9232 INSTALL
="$ac_cv_path_install"
9234 # As a last resort, use the slow shell script. We don't cache a
9235 # path for INSTALL within a source directory, because that will
9236 # break other packages using the cache if that directory is
9237 # removed, or if the path is relative.
9238 INSTALL
="$ac_install_sh"
9241 echo "$ac_t""$INSTALL" 1>&6
9243 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9244 # It thinks the first close brace ends the variable substitution.
9245 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9247 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9249 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9256 INSTALL
=`pwd`/${INSTALL} ;;
9263 INSTALL_PROGRAM
="cp -fp"
9264 INSTALL_DATA
="cp -fp"
9270 # Extract the first word of "strip", so it can be a program name with args.
9271 set dummy strip
; ac_word
=$2
9272 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9273 echo "configure:9274: checking for $ac_word" >&5
9274 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9275 echo $ac_n "(cached) $ac_c" 1>&6
9277 if test -n "$STRIP"; then
9278 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9280 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9282 for ac_dir
in $ac_dummy; do
9283 test -z "$ac_dir" && ac_dir
=.
9284 if test -f $ac_dir/$ac_word; then
9285 ac_cv_prog_STRIP
="strip"
9290 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9293 STRIP
="$ac_cv_prog_STRIP"
9294 if test -n "$STRIP"; then
9295 echo "$ac_t""$STRIP" 1>&6
9297 echo "$ac_t""no" 1>&6
9301 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9302 echo "configure:9303: checking if make is GNU make" >&5
9303 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9304 echo $ac_n "(cached) $ac_c" 1>&6
9307 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9308 egrep -s GNU
> /dev
/null
); then
9309 wx_cv_prog_makeisgnu
="yes"
9311 wx_cv_prog_makeisgnu
="no"
9316 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9318 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9326 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9327 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9328 echo "configure:9329: checking if make supports VPATH" >&5
9329 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9330 echo $ac_n "(cached) $ac_c" 1>&6
9333 cat - << EOF > confMake
9339 if test ! -d sub
; then
9342 echo dummy
> sub
/file
9343 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9345 rm -f sub
/file check final_file confMake
9347 if test "$RESULT" = 0; then
9348 wx_cv_prog_makevpath
="yes"
9350 wx_cv_prog_makevpath
="no"
9355 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9357 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9358 { echo "configure: error:
9359 You need a make-utility that is able to use the variable
9361 If your version of make does not support VPATH correctly,
9362 please install GNU-make (possibly as gmake), and start
9363 configure with the following command:
9364 export MAKE=gmake; ./configure for sh-type shells
9365 setenv MAKE gmake; ./configure for csh-type shells
9366 Also please do remember to use gmake in this case every time
9367 you are trying to compile.
9370 for ac_prog
in 'bison -y' byacc
9372 # Extract the first word of "$ac_prog", so it can be a program name with args.
9373 set dummy
$ac_prog; ac_word
=$2
9374 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9375 echo "configure:9376: checking for $ac_word" >&5
9376 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9377 echo $ac_n "(cached) $ac_c" 1>&6
9379 if test -n "$YACC"; then
9380 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9382 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9384 for ac_dir
in $ac_dummy; do
9385 test -z "$ac_dir" && ac_dir
=.
9386 if test -f $ac_dir/$ac_word; then
9387 ac_cv_prog_YACC
="$ac_prog"
9394 YACC
="$ac_cv_prog_YACC"
9395 if test -n "$YACC"; then
9396 echo "$ac_t""$YACC" 1>&6
9398 echo "$ac_t""no" 1>&6
9401 test -n "$YACC" && break
9403 test -n "$YACC" || YACC
="yacc"
9406 # Extract the first word of "flex", so it can be a program name with args.
9407 set dummy flex
; ac_word
=$2
9408 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9409 echo "configure:9410: checking for $ac_word" >&5
9410 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9411 echo $ac_n "(cached) $ac_c" 1>&6
9413 if test -n "$LEX"; then
9414 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9416 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9418 for ac_dir
in $ac_dummy; do
9419 test -z "$ac_dir" && ac_dir
=.
9420 if test -f $ac_dir/$ac_word; then
9421 ac_cv_prog_LEX
="flex"
9426 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9429 LEX
="$ac_cv_prog_LEX"
9430 if test -n "$LEX"; then
9431 echo "$ac_t""$LEX" 1>&6
9433 echo "$ac_t""no" 1>&6
9436 if test -z "$LEXLIB"
9442 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9443 echo "configure:9444: checking for yywrap in -l$ac_lib" >&5
9444 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9445 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9446 echo $ac_n "(cached) $ac_c" 1>&6
9448 ac_save_LIBS
="$LIBS"
9449 LIBS
="-l$ac_lib $LIBS"
9450 cat > conftest.
$ac_ext <<EOF
9451 #line 9452 "configure"
9452 #include "confdefs.h"
9453 /* Override any gcc2 internal prototype to avoid an error. */
9454 /* We use char because int might match the return type of a gcc2
9455 builtin and then its argument prototype would still apply. */
9462 if { (eval echo configure
:9463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9464 eval "ac_cv_lib_$ac_lib_var=yes"
9466 echo "configure: failed program was:" >&5
9467 cat conftest.
$ac_ext >&5
9469 eval "ac_cv_lib_$ac_lib_var=no"
9472 LIBS
="$ac_save_LIBS"
9475 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9476 echo "$ac_t""yes" 1>&6
9479 echo "$ac_t""no" 1>&6
9485 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9486 echo "configure:9487: checking whether ln -s works" >&5
9487 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9488 echo $ac_n "(cached) $ac_c" 1>&6
9491 if ln -s X conftestdata
2>/dev
/null
9494 ac_cv_prog_LN_S
="ln -s"
9499 LN_S
="$ac_cv_prog_LN_S"
9500 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9501 echo "$ac_t""yes" 1>&6
9503 echo "$ac_t""no" 1>&6
9508 if test "$wxUSE_MAC" != 1; then
9509 for ac_hdr
in strings.h
9511 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9512 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9513 echo "configure:9514: checking for $ac_hdr" >&5
9514 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9515 echo $ac_n "(cached) $ac_c" 1>&6
9517 cat > conftest.
$ac_ext <<EOF
9518 #line 9519 "configure"
9519 #include "confdefs.h"
9522 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9523 { (eval echo configure
:9524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9524 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9525 if test -z "$ac_err"; then
9527 eval "ac_cv_header_$ac_safe=yes"
9530 echo "configure: failed program was:" >&5
9531 cat conftest.
$ac_ext >&5
9533 eval "ac_cv_header_$ac_safe=no"
9537 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9538 echo "$ac_t""yes" 1>&6
9539 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9540 cat >> confdefs.h
<<EOF
9541 #define $ac_tr_hdr 1
9545 echo "$ac_t""no" 1>&6
9551 for ac_hdr
in stdlib.h
9553 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9554 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9555 echo "configure:9556: checking for $ac_hdr" >&5
9556 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9557 echo $ac_n "(cached) $ac_c" 1>&6
9559 cat > conftest.
$ac_ext <<EOF
9560 #line 9561 "configure"
9561 #include "confdefs.h"
9564 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9565 { (eval echo configure
:9566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9566 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9567 if test -z "$ac_err"; then
9569 eval "ac_cv_header_$ac_safe=yes"
9572 echo "configure: failed program was:" >&5
9573 cat conftest.
$ac_ext >&5
9575 eval "ac_cv_header_$ac_safe=no"
9579 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9580 echo "$ac_t""yes" 1>&6
9581 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9582 cat >> confdefs.h
<<EOF
9583 #define $ac_tr_hdr 1
9587 echo "$ac_t""no" 1>&6
9591 for ac_hdr
in malloc.h
9593 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9594 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9595 echo "configure:9596: checking for $ac_hdr" >&5
9596 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9597 echo $ac_n "(cached) $ac_c" 1>&6
9599 cat > conftest.
$ac_ext <<EOF
9600 #line 9601 "configure"
9601 #include "confdefs.h"
9604 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9605 { (eval echo configure
:9606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9606 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9607 if test -z "$ac_err"; then
9609 eval "ac_cv_header_$ac_safe=yes"
9612 echo "configure: failed program was:" >&5
9613 cat conftest.
$ac_ext >&5
9615 eval "ac_cv_header_$ac_safe=no"
9619 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9620 echo "$ac_t""yes" 1>&6
9621 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9622 cat >> confdefs.h
<<EOF
9623 #define $ac_tr_hdr 1
9627 echo "$ac_t""no" 1>&6
9631 for ac_hdr
in unistd.h
9633 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9634 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9635 echo "configure:9636: checking for $ac_hdr" >&5
9636 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9637 echo $ac_n "(cached) $ac_c" 1>&6
9639 cat > conftest.
$ac_ext <<EOF
9640 #line 9641 "configure"
9641 #include "confdefs.h"
9644 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9645 { (eval echo configure
:9646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9646 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9647 if test -z "$ac_err"; then
9649 eval "ac_cv_header_$ac_safe=yes"
9652 echo "configure: failed program was:" >&5
9653 cat conftest.
$ac_ext >&5
9655 eval "ac_cv_header_$ac_safe=no"
9659 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9660 echo "$ac_t""yes" 1>&6
9661 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9662 cat >> confdefs.h
<<EOF
9663 #define $ac_tr_hdr 1
9667 echo "$ac_t""no" 1>&6
9671 for ac_hdr
in wchar.h
9673 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9674 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9675 echo "configure:9676: checking for $ac_hdr" >&5
9676 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9677 echo $ac_n "(cached) $ac_c" 1>&6
9679 cat > conftest.
$ac_ext <<EOF
9680 #line 9681 "configure"
9681 #include "confdefs.h"
9684 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9685 { (eval echo configure
:9686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9686 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9687 if test -z "$ac_err"; then
9689 eval "ac_cv_header_$ac_safe=yes"
9692 echo "configure: failed program was:" >&5
9693 cat conftest.
$ac_ext >&5
9695 eval "ac_cv_header_$ac_safe=no"
9699 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9700 echo "$ac_t""yes" 1>&6
9701 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9702 cat >> confdefs.h
<<EOF
9703 #define $ac_tr_hdr 1
9707 echo "$ac_t""no" 1>&6
9712 if test "$ac_cv_header_wchar_h" != "yes"; then
9713 for ac_hdr
in wcstr.h
9715 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9716 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9717 echo "configure:9718: checking for $ac_hdr" >&5
9718 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9719 echo $ac_n "(cached) $ac_c" 1>&6
9721 cat > conftest.
$ac_ext <<EOF
9722 #line 9723 "configure"
9723 #include "confdefs.h"
9726 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9727 { (eval echo configure
:9728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9728 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9729 if test -z "$ac_err"; then
9731 eval "ac_cv_header_$ac_safe=yes"
9734 echo "configure: failed program was:" >&5
9735 cat conftest.
$ac_ext >&5
9737 eval "ac_cv_header_$ac_safe=no"
9741 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9742 echo "$ac_t""yes" 1>&6
9743 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9744 cat >> confdefs.h
<<EOF
9745 #define $ac_tr_hdr 1
9749 echo "$ac_t""no" 1>&6
9756 for ac_hdr
in fnmatch.h
9758 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9759 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9760 echo "configure:9761: checking for $ac_hdr" >&5
9761 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9762 echo $ac_n "(cached) $ac_c" 1>&6
9764 cat > conftest.
$ac_ext <<EOF
9765 #line 9766 "configure"
9766 #include "confdefs.h"
9769 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9770 { (eval echo configure
:9771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9771 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9772 if test -z "$ac_err"; then
9774 eval "ac_cv_header_$ac_safe=yes"
9777 echo "configure: failed program was:" >&5
9778 cat conftest.
$ac_ext >&5
9780 eval "ac_cv_header_$ac_safe=no"
9784 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9785 echo "$ac_t""yes" 1>&6
9786 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9787 cat >> confdefs.h
<<EOF
9788 #define $ac_tr_hdr 1
9792 echo "$ac_t""no" 1>&6
9797 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
9798 for ac_func
in fnmatch
9800 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9801 echo "configure:9802: checking for $ac_func" >&5
9802 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9803 echo $ac_n "(cached) $ac_c" 1>&6
9805 cat > conftest.
$ac_ext <<EOF
9806 #line 9807 "configure"
9807 #include "confdefs.h"
9808 /* System header to define __stub macros and hopefully few prototypes,
9809 which can conflict with char $ac_func(); below. */
9811 /* Override any gcc2 internal prototype to avoid an error. */
9812 /* We use char because int might match the return type of a gcc2
9813 builtin and then its argument prototype would still apply. */
9818 /* The GNU C library defines this for functions which it implements
9819 to always fail with ENOSYS. Some functions are actually named
9820 something starting with __ and the normal name is an alias. */
9821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9829 if { (eval echo configure
:9830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9831 eval "ac_cv_func_$ac_func=yes"
9833 echo "configure: failed program was:" >&5
9834 cat conftest.
$ac_ext >&5
9836 eval "ac_cv_func_$ac_func=no"
9841 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9842 echo "$ac_t""yes" 1>&6
9843 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9844 cat >> confdefs.h
<<EOF
9845 #define $ac_tr_func 1
9849 echo "$ac_t""no" 1>&6
9855 for ac_hdr
in langinfo.h
9857 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9858 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9859 echo "configure:9860: checking for $ac_hdr" >&5
9860 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9861 echo $ac_n "(cached) $ac_c" 1>&6
9863 cat > conftest.
$ac_ext <<EOF
9864 #line 9865 "configure"
9865 #include "confdefs.h"
9868 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9869 { (eval echo configure
:9870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9870 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9871 if test -z "$ac_err"; then
9873 eval "ac_cv_header_$ac_safe=yes"
9876 echo "configure: failed program was:" >&5
9877 cat conftest.
$ac_ext >&5
9879 eval "ac_cv_header_$ac_safe=no"
9883 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9884 echo "$ac_t""yes" 1>&6
9885 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9886 cat >> confdefs.h
<<EOF
9887 #define $ac_tr_hdr 1
9891 echo "$ac_t""no" 1>&6
9896 if test "$wxUSE_GUI" = "yes"; then
9897 if test "$wxUSE_UNIX" = "yes"; then
9898 for ac_hdr
in X
11/XKBlib.h
9900 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9901 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9902 echo "configure:9903: checking for $ac_hdr" >&5
9903 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9904 echo $ac_n "(cached) $ac_c" 1>&6
9906 cat > conftest.
$ac_ext <<EOF
9907 #line 9908 "configure"
9908 #include "confdefs.h"
9911 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9912 { (eval echo configure
:9913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9913 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9914 if test -z "$ac_err"; then
9916 eval "ac_cv_header_$ac_safe=yes"
9919 echo "configure: failed program was:" >&5
9920 cat conftest.
$ac_ext >&5
9922 eval "ac_cv_header_$ac_safe=no"
9926 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9927 echo "$ac_t""yes" 1>&6
9928 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9929 cat >> confdefs.h
<<EOF
9930 #define $ac_tr_hdr 1
9934 echo "$ac_t""no" 1>&6
9942 echo $ac_n "checking for working const""... $ac_c" 1>&6
9943 echo "configure:9944: checking for working const" >&5
9944 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9945 echo $ac_n "(cached) $ac_c" 1>&6
9947 cat > conftest.
$ac_ext <<EOF
9948 #line 9949 "configure"
9949 #include "confdefs.h"
9953 /* Ultrix mips cc rejects this. */
9954 typedef int charset[2]; const charset x;
9955 /* SunOS 4.1.1 cc rejects this. */
9956 char const *const *ccp;
9958 /* NEC SVR4.0.2 mips cc rejects this. */
9959 struct point {int x, y;};
9960 static struct point const zero = {0,0};
9961 /* AIX XL C 1.02.0.0 rejects this.
9962 It does not let you subtract one const X* pointer from another in an arm
9963 of an if-expression whose if-part is not a constant expression */
9964 const char *g = "string";
9965 ccp = &g + (g ? g-g : 0);
9966 /* HPUX 7.0 cc rejects these. */
9969 ccp = (char const *const *) p;
9970 { /* SCO 3.2v4 cc rejects this. */
9972 char const *s = 0 ? (char *) 0 : (char const *) 0;
9976 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9978 const int *foo = &x[0];
9981 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9982 typedef const int *iptr;
9986 { /* AIX XL C 1.02.0.0 rejects this saying
9987 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9988 struct s { int j; const int *ap[3]; };
9989 struct s *b; b->j = 5;
9991 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9997 if { (eval echo configure
:9998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10001 echo "configure: failed program was:" >&5
10002 cat conftest.
$ac_ext >&5
10009 echo "$ac_t""$ac_cv_c_const" 1>&6
10010 if test $ac_cv_c_const = no
; then
10011 cat >> confdefs.h
<<\EOF
10017 echo $ac_n "checking for inline""... $ac_c" 1>&6
10018 echo "configure:10019: checking for inline" >&5
10019 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10020 echo $ac_n "(cached) $ac_c" 1>&6
10023 for ac_kw
in inline __inline__ __inline
; do
10024 cat > conftest.
$ac_ext <<EOF
10025 #line 10026 "configure"
10026 #include "confdefs.h"
10032 if { (eval echo configure
:10033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10034 ac_cv_c_inline
=$ac_kw; break
10036 echo "configure: failed program was:" >&5
10037 cat conftest.
$ac_ext >&5
10044 echo "$ac_t""$ac_cv_c_inline" 1>&6
10045 case "$ac_cv_c_inline" in
10047 no
) cat >> confdefs.h
<<\EOF
10051 *) cat >> confdefs.h
<<EOF
10052 #define inline $ac_cv_c_inline
10058 echo $ac_n "checking size of char""... $ac_c" 1>&6
10059 echo "configure:10060: checking size of char" >&5
10060 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10061 echo $ac_n "(cached) $ac_c" 1>&6
10063 if test "$cross_compiling" = yes; then
10064 ac_cv_sizeof_char
=1
10066 cat > conftest.
$ac_ext <<EOF
10067 #line 10068 "configure"
10068 #include "confdefs.h"
10072 FILE *f=fopen("conftestval", "w");
10074 fprintf(f, "%d\n", sizeof(char));
10078 if { (eval echo configure
:10079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10080 ac_cv_sizeof_char
=`cat conftestval`
10082 echo "configure: failed program was:" >&5
10083 cat conftest.
$ac_ext >&5
10085 ac_cv_sizeof_char
=0
10091 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10092 cat >> confdefs.h
<<EOF
10093 #define SIZEOF_CHAR $ac_cv_sizeof_char
10097 echo $ac_n "checking size of short""... $ac_c" 1>&6
10098 echo "configure:10099: checking size of short" >&5
10099 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10100 echo $ac_n "(cached) $ac_c" 1>&6
10102 if test "$cross_compiling" = yes; then
10103 ac_cv_sizeof_short
=2
10105 cat > conftest.
$ac_ext <<EOF
10106 #line 10107 "configure"
10107 #include "confdefs.h"
10111 FILE *f=fopen("conftestval", "w");
10113 fprintf(f, "%d\n", sizeof(short));
10117 if { (eval echo configure
:10118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10119 ac_cv_sizeof_short
=`cat conftestval`
10121 echo "configure: failed program was:" >&5
10122 cat conftest.
$ac_ext >&5
10124 ac_cv_sizeof_short
=0
10130 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10131 cat >> confdefs.h
<<EOF
10132 #define SIZEOF_SHORT $ac_cv_sizeof_short
10136 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10137 echo "configure:10138: checking size of void *" >&5
10138 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10139 echo $ac_n "(cached) $ac_c" 1>&6
10141 if test "$cross_compiling" = yes; then
10142 ac_cv_sizeof_void_p
=4
10144 cat > conftest.
$ac_ext <<EOF
10145 #line 10146 "configure"
10146 #include "confdefs.h"
10150 FILE *f=fopen("conftestval", "w");
10152 fprintf(f, "%d\n", sizeof(void *));
10156 if { (eval echo configure
:10157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10158 ac_cv_sizeof_void_p
=`cat conftestval`
10160 echo "configure: failed program was:" >&5
10161 cat conftest.
$ac_ext >&5
10163 ac_cv_sizeof_void_p
=0
10169 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10170 cat >> confdefs.h
<<EOF
10171 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10175 echo $ac_n "checking size of int""... $ac_c" 1>&6
10176 echo "configure:10177: checking size of int" >&5
10177 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10178 echo $ac_n "(cached) $ac_c" 1>&6
10180 if test "$cross_compiling" = yes; then
10183 cat > conftest.
$ac_ext <<EOF
10184 #line 10185 "configure"
10185 #include "confdefs.h"
10189 FILE *f=fopen("conftestval", "w");
10191 fprintf(f, "%d\n", sizeof(int));
10195 if { (eval echo configure
:10196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10197 ac_cv_sizeof_int
=`cat conftestval`
10199 echo "configure: failed program was:" >&5
10200 cat conftest.
$ac_ext >&5
10208 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10209 cat >> confdefs.h
<<EOF
10210 #define SIZEOF_INT $ac_cv_sizeof_int
10214 echo $ac_n "checking size of long""... $ac_c" 1>&6
10215 echo "configure:10216: checking size of long" >&5
10216 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10217 echo $ac_n "(cached) $ac_c" 1>&6
10219 if test "$cross_compiling" = yes; then
10220 ac_cv_sizeof_long
=4
10222 cat > conftest.
$ac_ext <<EOF
10223 #line 10224 "configure"
10224 #include "confdefs.h"
10228 FILE *f=fopen("conftestval", "w");
10230 fprintf(f, "%d\n", sizeof(long));
10234 if { (eval echo configure
:10235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10236 ac_cv_sizeof_long
=`cat conftestval`
10238 echo "configure: failed program was:" >&5
10239 cat conftest.
$ac_ext >&5
10241 ac_cv_sizeof_long
=0
10247 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10248 cat >> confdefs.h
<<EOF
10249 #define SIZEOF_LONG $ac_cv_sizeof_long
10256 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10257 echo "configure:10258: checking size of long long" >&5
10258 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10259 echo $ac_n "(cached) $ac_c" 1>&6
10261 if test "$cross_compiling" = yes; then
10262 ac_cv_sizeof_long_long
=8
10264 cat > conftest.
$ac_ext <<EOF
10265 #line 10266 "configure"
10266 #include "confdefs.h"
10270 FILE *f=fopen("conftestval", "w");
10272 fprintf(f, "%d\n", sizeof(long long));
10276 if { (eval echo configure
:10277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10278 ac_cv_sizeof_long_long
=`cat conftestval`
10280 echo "configure: failed program was:" >&5
10281 cat conftest.
$ac_ext >&5
10283 ac_cv_sizeof_long_long
=0
10289 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10290 cat >> confdefs.h
<<EOF
10291 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10297 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10298 echo "configure:10299: checking size of long long" >&5
10299 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10300 echo $ac_n "(cached) $ac_c" 1>&6
10302 if test "$cross_compiling" = yes; then
10303 ac_cv_sizeof_long_long
=0
10305 cat > conftest.
$ac_ext <<EOF
10306 #line 10307 "configure"
10307 #include "confdefs.h"
10311 FILE *f=fopen("conftestval", "w");
10313 fprintf(f, "%d\n", sizeof(long long));
10317 if { (eval echo configure
:10318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10319 ac_cv_sizeof_long_long
=`cat conftestval`
10321 echo "configure: failed program was:" >&5
10322 cat conftest.
$ac_ext >&5
10324 ac_cv_sizeof_long_long
=0
10330 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10331 cat >> confdefs.h
<<EOF
10332 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10338 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10339 echo "configure:10340: checking size of wchar_t" >&5
10340 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10341 echo $ac_n "(cached) $ac_c" 1>&6
10344 if test "$cross_compiling" = yes; then
10345 wx_cv_sizeof_wchar_t
=4
10348 cat > conftest.
$ac_ext <<EOF
10349 #line 10350 "configure"
10350 #include "confdefs.h"
10352 #ifdef HAVE_WCHAR_H
10354 # include <stddef.h>
10356 # include <wchar.h>
10358 #ifdef HAVE_STDLIB_H
10359 # include <stdlib.h>
10364 FILE *f=fopen("conftestval", "w");
10366 fprintf(f, "%i", sizeof(wchar_t));
10371 if { (eval echo configure
:10372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10373 wx_cv_sizeof_wchar_t
=`cat conftestval`
10375 echo "configure: failed program was:" >&5
10376 cat conftest.
$ac_ext >&5
10378 wx_cv_sizeof_wchar_t
=0
10386 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10388 cat >> confdefs.h
<<EOF
10389 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10393 # Check whether --enable-largefile or --disable-largefile was given.
10394 if test "${enable_largefile+set}" = set; then
10395 enableval
="$enable_largefile"
10399 if test "$enable_largefile" != no
; then
10402 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10403 echo "configure:10404: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10404 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10405 echo $ac_n "(cached) $ac_c" 1>&6
10408 cat > conftest.
$ac_ext <<EOF
10409 #line 10410 "configure"
10410 #include "confdefs.h"
10411 #define _FILE_OFFSET_BITS 64
10412 #include <sys/types.h>
10415 unsigned int field: sizeof(off_t) == 8;
10420 if { (eval echo configure
:10421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10422 ac_cv_sys_file_offset_bits
=64
10424 echo "configure: failed program was:" >&5
10425 cat conftest.
$ac_ext >&5
10427 ac_cv_sys_file_offset_bits
=no
10434 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10436 if test "$ac_cv_sys_file_offset_bits" != no
; then
10438 cat >> confdefs.h
<<EOF
10439 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10444 if test "x$wx_largefile" != "xyes"; then
10446 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10447 echo "configure:10448: checking for _LARGE_FILES value needed for large files" >&5
10448 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10449 echo $ac_n "(cached) $ac_c" 1>&6
10452 cat > conftest.
$ac_ext <<EOF
10453 #line 10454 "configure"
10454 #include "confdefs.h"
10455 #define _LARGE_FILES 1
10456 #include <sys/types.h>
10459 unsigned int field: sizeof(off_t) == 8;
10464 if { (eval echo configure
:10465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10466 ac_cv_sys_large_files
=1
10468 echo "configure: failed program was:" >&5
10469 cat conftest.
$ac_ext >&5
10471 ac_cv_sys_large_files
=no
10478 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10480 if test "$ac_cv_sys_large_files" != no
; then
10482 cat >> confdefs.h
<<EOF
10483 #define _LARGE_FILES $ac_cv_sys_large_files
10490 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10491 echo "configure:10492: checking if large file support is available" >&5
10492 if test "x$wx_largefile" = "xyes"; then
10493 cat >> confdefs.h
<<\EOF
10494 #define HAVE_LARGEFILE_SUPPORT 1
10498 echo "$ac_t""$wx_largefile" 1>&6
10502 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10503 echo "configure:10504: checking whether byte ordering is bigendian" >&5
10504 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10505 echo $ac_n "(cached) $ac_c" 1>&6
10507 ac_cv_c_bigendian
=unknown
10508 # See if sys/param.h defines the BYTE_ORDER macro.
10509 cat > conftest.
$ac_ext <<EOF
10510 #line 10511 "configure"
10511 #include "confdefs.h"
10512 #include <sys/types.h>
10513 #include <sys/param.h>
10516 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10517 bogus endian macros
10521 if { (eval echo configure
:10522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10523 # It does; now see whether it defined to BIG_ENDIAN or not.
10524 cat > conftest.
$ac_ext <<EOF
10525 #line 10526 "configure"
10526 #include "confdefs.h"
10527 #include <sys/types.h>
10528 #include <sys/param.h>
10531 #if BYTE_ORDER != BIG_ENDIAN
10536 if { (eval echo configure
:10537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10538 ac_cv_c_bigendian
=yes
10540 echo "configure: failed program was:" >&5
10541 cat conftest.
$ac_ext >&5
10543 ac_cv_c_bigendian
=no
10547 echo "configure: failed program was:" >&5
10548 cat conftest.
$ac_ext >&5
10551 if test $ac_cv_c_bigendian = unknown
; then
10552 if test "$cross_compiling" = yes; then
10553 ac_cv_c_bigendian
=unknown
10555 cat > conftest.
$ac_ext <<EOF
10556 #line 10557 "configure"
10557 #include "confdefs.h"
10559 /* Are we little or big endian? From Harbison&Steele. */
10563 char c[sizeof (long)];
10566 exit (u.c[sizeof (long) - 1] == 1);
10569 if { (eval echo configure
:10570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10571 ac_cv_c_bigendian
=no
10573 echo "configure: failed program was:" >&5
10574 cat conftest.
$ac_ext >&5
10576 ac_cv_c_bigendian
=yes
10584 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10585 if test $ac_cv_c_bigendian = unknown
; then
10586 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
10588 if test $ac_cv_c_bigendian = yes; then
10589 cat >> confdefs.h
<<\EOF
10590 #define WORDS_BIGENDIAN 1
10596 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
10597 echo "configure:10598: checking how to run the C++ preprocessor" >&5
10598 if test -z "$CXXCPP"; then
10599 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
10600 echo $ac_n "(cached) $ac_c" 1>&6
10603 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10604 ac_cpp
='$CXXCPP $CPPFLAGS'
10605 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10606 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10607 cross_compiling
=$ac_cv_prog_cxx_cross
10608 CXXCPP
="${CXX-g++} -E"
10609 cat > conftest.
$ac_ext <<EOF
10610 #line 10611 "configure"
10611 #include "confdefs.h"
10612 #include <stdlib.h>
10614 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10615 { (eval echo configure
:10616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10616 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10617 if test -z "$ac_err"; then
10621 echo "configure: failed program was:" >&5
10622 cat conftest.
$ac_ext >&5
10627 ac_cv_prog_CXXCPP
="$CXXCPP"
10629 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10630 ac_cpp
='$CXXCPP $CPPFLAGS'
10631 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10632 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10633 cross_compiling
=$ac_cv_prog_cxx_cross
10636 CXXCPP
="$ac_cv_prog_CXXCPP"
10637 echo "$ac_t""$CXXCPP" 1>&6
10640 if test "$cross_compiling" = "yes"; then
10641 cat >> confdefs.h
<<\EOF
10642 #define wxUSE_IOSTREAMH 1
10648 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10649 ac_cpp
='$CXXCPP $CPPFLAGS'
10650 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10651 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10652 cross_compiling
=$ac_cv_prog_cxx_cross
10655 for ac_hdr
in iostream
10657 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10658 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10659 echo "configure:10660: checking for $ac_hdr" >&5
10660 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10661 echo $ac_n "(cached) $ac_c" 1>&6
10663 cat > conftest.
$ac_ext <<EOF
10664 #line 10665 "configure"
10665 #include "confdefs.h"
10668 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10669 { (eval echo configure
:10670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10670 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10671 if test -z "$ac_err"; then
10673 eval "ac_cv_header_$ac_safe=yes"
10676 echo "configure: failed program was:" >&5
10677 cat conftest.
$ac_ext >&5
10679 eval "ac_cv_header_$ac_safe=no"
10683 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10684 echo "$ac_t""yes" 1>&6
10685 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10686 cat >> confdefs.h
<<EOF
10687 #define $ac_tr_hdr 1
10691 echo "$ac_t""no" 1>&6
10696 if test "$ac_cv_header_iostream" = "yes" ; then
10699 cat >> confdefs.h
<<\EOF
10700 #define wxUSE_IOSTREAMH 1
10706 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10707 ac_cpp
='$CPP $CPPFLAGS'
10708 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10709 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10710 cross_compiling
=$ac_cv_prog_cc_cross
10716 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
10717 echo "configure:10718: checking if C++ compiler supports bool" >&5
10718 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
10719 echo $ac_n "(cached) $ac_c" 1>&6
10724 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10725 ac_cpp
='$CXXCPP $CPPFLAGS'
10726 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10727 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10728 cross_compiling
=$ac_cv_prog_cxx_cross
10731 cat > conftest.
$ac_ext <<EOF
10732 #line 10733 "configure"
10733 #include "confdefs.h"
10744 if { (eval echo configure
:10745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10750 echo "configure: failed program was:" >&5
10751 cat conftest.
$ac_ext >&5
10761 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10762 ac_cpp
='$CPP $CPPFLAGS'
10763 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10764 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10765 cross_compiling
=$ac_cv_prog_cc_cross
10770 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10772 if test "$wx_cv_cpp_bool" = "yes"; then
10773 cat >> confdefs.h
<<\EOF
10774 #define HAVE_BOOL 1
10781 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
10782 echo "configure:10783: checking if C++ compiler supports the explicit keyword" >&5
10783 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
10784 echo $ac_n "(cached) $ac_c" 1>&6
10789 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10790 ac_cpp
='$CXXCPP $CPPFLAGS'
10791 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10792 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10793 cross_compiling
=$ac_cv_prog_cxx_cross
10796 cat > conftest.
$ac_ext <<EOF
10797 #line 10798 "configure"
10798 #include "confdefs.h"
10800 class Foo { public: explicit Foo(int) {} };
10808 if { (eval echo configure
:10809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10811 cat > conftest.
$ac_ext <<EOF
10812 #line 10813 "configure"
10813 #include "confdefs.h"
10815 class Foo { public: explicit Foo(int) {} };
10816 static void TakeFoo(const Foo& foo) { }
10825 if { (eval echo configure
:10826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10829 echo "configure: failed program was:" >&5
10830 cat conftest.
$ac_ext >&5
10838 echo "configure: failed program was:" >&5
10839 cat conftest.
$ac_ext >&5
10847 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10848 ac_cpp
='$CPP $CPPFLAGS'
10849 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10850 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10851 cross_compiling
=$ac_cv_prog_cc_cross
10856 echo "$ac_t""$wx_cv_explicit" 1>&6
10858 if test "$wx_cv_explicit" = "yes"; then
10859 cat >> confdefs.h
<<\EOF
10860 #define HAVE_EXPLICIT 1
10868 /usr/local/include \
10870 /usr/Motif-1.2/include \
10871 /usr/Motif-2.1/include \
10873 /usr/include/Motif1.2 \
10874 /opt/xpm/include/X11 \
10875 /opt/GBxpm/include/ \
10876 /opt/GBxpm/X11/include/ \
10878 /usr/Motif1.2/include \
10880 /usr/openwin/include \
10884 /usr/X11R6/include \
10885 /usr/X11R6.4/include \
10886 /usr/X11R5/include \
10887 /usr/X11R4/include \
10889 /usr/include/X11R6 \
10890 /usr/include/X11R5 \
10891 /usr/include/X11R4 \
10893 /usr/local/X11R6/include \
10894 /usr/local/X11R5/include \
10895 /usr/local/X11R4/include \
10897 /usr/local/include/X11R6 \
10898 /usr/local/include/X11R5 \
10899 /usr/local/include/X11R4 \
10903 /usr/local/X11/include \
10904 /usr/local/include/X11 \
10906 /usr/X386/include \
10907 /usr/x386/include \
10908 /usr/XFree86/include/X11 \
10910 X:/XFree86/include \
10911 X:/XFree86/include/X11 \
10914 /usr/local/include/gtk \
10915 /usr/include/glib \
10916 /usr/local/include/glib \
10919 /usr/local/include/qt \
10921 /usr/include/windows \
10922 /usr/include/wine \
10923 /usr/local/include/wine \
10925 /usr/unsupported/include \
10926 /usr/athena/include \
10927 /usr/local/x11r5/include \
10928 /usr/lpp/Xamples/include \
10930 /usr/openwin/share/include \
10934 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
10937 cat > confcache
<<\EOF
10938 # This file is a shell script that caches the results of configure
10939 # tests run on this system so they can be shared between configure
10940 # scripts and configure runs. It is not useful on other systems.
10941 # If it contains results you don't want to keep, you may remove or edit it.
10943 # By default, configure uses ./config.cache as the cache file,
10944 # creating it if it does not exist already. You can give configure
10945 # the --cache-file=FILE option to use a different cache file; that is
10946 # what configure does when it calls configure scripts in
10947 # subdirectories, so they share the cache.
10948 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10949 # config.status only pays attention to the cache file if you give it the
10950 # --recheck option to rerun configure.
10953 # The following way of writing the cache mishandles newlines in values,
10954 # but we know of no workaround that is simple, portable, and efficient.
10955 # So, don't put newlines in cache variables' values.
10956 # Ultrix sh set writes to stderr and can't be redirected directly,
10957 # and sets the high bit in the cache file unless we assign to the vars.
10959 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10961 # `set' does not quote correctly, so add quotes (double-quote substitution
10962 # turns \\\\ into \\, and sed turns \\ into \).
10964 -e "s/'/'\\\\''/g" \
10965 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10968 # `set' quotes correctly as required by POSIX, so do not add quotes.
10969 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10972 if cmp -s $cache_file confcache
; then
10975 if test -w $cache_file; then
10976 echo "updating cache $cache_file"
10977 cat confcache
> $cache_file
10979 echo "not updating unwritable cache $cache_file"
10985 if test "$USE_LINUX" = 1; then
10986 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
10987 echo "configure:10988: checking for glibc 2.1 or later" >&5
10988 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
10989 echo $ac_n "(cached) $ac_c" 1>&6
10992 cat > conftest.
$ac_ext <<EOF
10993 #line 10994 "configure"
10994 #include "confdefs.h"
10995 #include <features.h>
10998 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
10999 #error not glibc2.1
11004 if { (eval echo configure
:11005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11007 wx_cv_lib_glibc21
=yes
11010 echo "configure: failed program was:" >&5
11011 cat conftest.
$ac_ext >&5
11014 wx_cv_lib_glibc21
=no
11022 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11023 if test "$wx_cv_lib_glibc21" = "yes"; then
11024 cat >> confdefs.h
<<\EOF
11025 #define wxHAVE_GLIBC2 1
11034 if test "$wxUSE_REGEX" != "no"; then
11035 cat >> confdefs.h
<<\EOF
11036 #define wxUSE_REGEX 1
11040 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11041 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11042 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11043 echo "configure:11044: checking for regex.h" >&5
11044 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11045 echo $ac_n "(cached) $ac_c" 1>&6
11047 cat > conftest.
$ac_ext <<EOF
11048 #line 11049 "configure"
11049 #include "confdefs.h"
11052 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11053 { (eval echo configure
:11054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11054 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11055 if test -z "$ac_err"; then
11057 eval "ac_cv_header_$ac_safe=yes"
11060 echo "configure: failed program was:" >&5
11061 cat conftest.
$ac_ext >&5
11063 eval "ac_cv_header_$ac_safe=no"
11067 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11068 echo "$ac_t""yes" 1>&6
11069 for ac_func
in regcomp
11071 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11072 echo "configure:11073: checking for $ac_func" >&5
11073 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11074 echo $ac_n "(cached) $ac_c" 1>&6
11076 cat > conftest.
$ac_ext <<EOF
11077 #line 11078 "configure"
11078 #include "confdefs.h"
11079 /* System header to define __stub macros and hopefully few prototypes,
11080 which can conflict with char $ac_func(); below. */
11081 #include <assert.h>
11082 /* Override any gcc2 internal prototype to avoid an error. */
11083 /* We use char because int might match the return type of a gcc2
11084 builtin and then its argument prototype would still apply. */
11089 /* The GNU C library defines this for functions which it implements
11090 to always fail with ENOSYS. Some functions are actually named
11091 something starting with __ and the normal name is an alias. */
11092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11100 if { (eval echo configure
:11101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11102 eval "ac_cv_func_$ac_func=yes"
11104 echo "configure: failed program was:" >&5
11105 cat conftest.
$ac_ext >&5
11107 eval "ac_cv_func_$ac_func=no"
11112 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11113 echo "$ac_t""yes" 1>&6
11114 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11115 cat >> confdefs.h
<<EOF
11116 #define $ac_tr_func 1
11120 echo "$ac_t""no" 1>&6
11125 echo "$ac_t""no" 1>&6
11129 if test "x$ac_cv_func_regcomp" != "xyes"; then
11130 if test "$wxUSE_REGEX" = "sys" ; then
11131 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11133 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11134 wxUSE_REGEX
=builtin
11141 if test "$wxUSE_REGEX" = "builtin" ; then
11142 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11149 if test "$wxUSE_ZLIB" != "no" ; then
11150 cat >> confdefs.h
<<\EOF
11151 #define wxUSE_ZLIB 1
11155 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11156 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11157 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11158 echo "configure:11159: checking for zlib.h" >&5
11159 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11160 echo $ac_n "(cached) $ac_c" 1>&6
11162 cat > conftest.
$ac_ext <<EOF
11163 #line 11164 "configure"
11164 #include "confdefs.h"
11167 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11168 { (eval echo configure
:11169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11169 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11170 if test -z "$ac_err"; then
11172 eval "ac_cv_header_$ac_safe=yes"
11175 echo "configure: failed program was:" >&5
11176 cat conftest.
$ac_ext >&5
11178 eval "ac_cv_header_$ac_safe=no"
11182 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11183 echo "$ac_t""yes" 1>&6
11184 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11185 echo "configure:11186: checking for deflate in -lz" >&5
11186 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11187 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11188 echo $ac_n "(cached) $ac_c" 1>&6
11190 ac_save_LIBS
="$LIBS"
11192 cat > conftest.
$ac_ext <<EOF
11193 #line 11194 "configure"
11194 #include "confdefs.h"
11195 /* Override any gcc2 internal prototype to avoid an error. */
11196 /* We use char because int might match the return type of a gcc2
11197 builtin and then its argument prototype would still apply. */
11204 if { (eval echo configure
:11205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11206 eval "ac_cv_lib_$ac_lib_var=yes"
11208 echo "configure: failed program was:" >&5
11209 cat conftest.
$ac_ext >&5
11211 eval "ac_cv_lib_$ac_lib_var=no"
11214 LIBS
="$ac_save_LIBS"
11217 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11218 echo "$ac_t""yes" 1>&6
11221 echo "$ac_t""no" 1>&6
11225 echo "$ac_t""no" 1>&6
11229 if test "x$ZLIB_LINK" = "x" ; then
11230 if test "$wxUSE_ZLIB" = "sys" ; then
11231 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11233 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
11241 if test "$wxUSE_ZLIB" = "builtin" ; then
11242 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11249 if test "$wxUSE_LIBPNG" != "no" ; then
11250 cat >> confdefs.h
<<\EOF
11251 #define wxUSE_LIBPNG 1
11255 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11256 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11260 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11261 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11262 wxUSE_LIBPNG
=builtin
11265 if test "$wxUSE_MGL" != 1 ; then
11266 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11267 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11268 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11269 echo "configure:11270: checking for png.h" >&5
11270 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11271 echo $ac_n "(cached) $ac_c" 1>&6
11273 cat > conftest.
$ac_ext <<EOF
11274 #line 11275 "configure"
11275 #include "confdefs.h"
11278 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11279 { (eval echo configure
:11280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11280 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11281 if test -z "$ac_err"; then
11283 eval "ac_cv_header_$ac_safe=yes"
11286 echo "configure: failed program was:" >&5
11287 cat conftest.
$ac_ext >&5
11289 eval "ac_cv_header_$ac_safe=no"
11293 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11294 echo "$ac_t""yes" 1>&6
11295 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11296 echo "configure:11297: checking for png_check_sig in -lpng" >&5
11297 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11298 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11299 echo $ac_n "(cached) $ac_c" 1>&6
11301 ac_save_LIBS
="$LIBS"
11302 LIBS
="-lpng -lz -lm $LIBS"
11303 cat > conftest.
$ac_ext <<EOF
11304 #line 11305 "configure"
11305 #include "confdefs.h"
11306 /* Override any gcc2 internal prototype to avoid an error. */
11307 /* We use char because int might match the return type of a gcc2
11308 builtin and then its argument prototype would still apply. */
11309 char png_check_sig();
11315 if { (eval echo configure
:11316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11317 eval "ac_cv_lib_$ac_lib_var=yes"
11319 echo "configure: failed program was:" >&5
11320 cat conftest.
$ac_ext >&5
11322 eval "ac_cv_lib_$ac_lib_var=no"
11325 LIBS
="$ac_save_LIBS"
11328 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11329 echo "$ac_t""yes" 1>&6
11332 echo "$ac_t""no" 1>&6
11337 echo "$ac_t""no" 1>&6
11341 if test "x$PNG_LINK" = "x" ; then
11342 if test "$wxUSE_LIBPNG" = "sys" ; then
11343 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11345 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
11346 wxUSE_LIBPNG
=builtin
11354 if test "$wxUSE_LIBPNG" = "builtin" ; then
11355 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11358 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11364 if test "$wxUSE_LIBJPEG" != "no" ; then
11365 cat >> confdefs.h
<<\EOF
11366 #define wxUSE_LIBJPEG 1
11370 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11371 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11375 if test "$wxUSE_MGL" != 1 ; then
11376 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11377 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11378 echo "configure:11379: checking for jpeglib.h" >&5
11379 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11380 echo $ac_n "(cached) $ac_c" 1>&6
11382 cat > conftest.
$ac_ext <<EOF
11383 #line 11384 "configure"
11384 #include "confdefs.h"
11386 #undef HAVE_STDLIB_H
11388 #include <jpeglib.h>
11395 if { (eval echo configure
:11396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11397 ac_cv_header_jpeglib_h
=yes
11399 echo "configure: failed program was:" >&5
11400 cat conftest.
$ac_ext >&5
11402 ac_cv_header_jpeglib_h
=no
11409 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
11411 if test "$ac_cv_header_jpeglib_h" = "yes"; then
11412 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11413 echo "configure:11414: checking for jpeg_read_header in -ljpeg" >&5
11414 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11415 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11416 echo $ac_n "(cached) $ac_c" 1>&6
11418 ac_save_LIBS
="$LIBS"
11419 LIBS
="-ljpeg $LIBS"
11420 cat > conftest.
$ac_ext <<EOF
11421 #line 11422 "configure"
11422 #include "confdefs.h"
11423 /* Override any gcc2 internal prototype to avoid an error. */
11424 /* We use char because int might match the return type of a gcc2
11425 builtin and then its argument prototype would still apply. */
11426 char jpeg_read_header();
11432 if { (eval echo configure
:11433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11434 eval "ac_cv_lib_$ac_lib_var=yes"
11436 echo "configure: failed program was:" >&5
11437 cat conftest.
$ac_ext >&5
11439 eval "ac_cv_lib_$ac_lib_var=no"
11442 LIBS
="$ac_save_LIBS"
11445 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11446 echo "$ac_t""yes" 1>&6
11447 JPEG_LINK
=" -ljpeg"
11449 echo "$ac_t""no" 1>&6
11454 if test "x$JPEG_LINK" = "x" ; then
11455 if test "$wxUSE_LIBJPEG" = "sys" ; then
11456 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
11458 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
11459 wxUSE_LIBJPEG
=builtin
11467 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11468 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11475 if test "$wxUSE_LIBTIFF" != "no" ; then
11476 cat >> confdefs.h
<<\EOF
11477 #define wxUSE_LIBTIFF 1
11481 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
11482 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
11483 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
11484 echo "configure:11485: checking for tiffio.h" >&5
11485 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11486 echo $ac_n "(cached) $ac_c" 1>&6
11488 cat > conftest.
$ac_ext <<EOF
11489 #line 11490 "configure"
11490 #include "confdefs.h"
11491 #include <tiffio.h>
11493 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11494 { (eval echo configure
:11495: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11495 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11496 if test -z "$ac_err"; then
11498 eval "ac_cv_header_$ac_safe=yes"
11501 echo "configure: failed program was:" >&5
11502 cat conftest.
$ac_ext >&5
11504 eval "ac_cv_header_$ac_safe=no"
11508 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11509 echo "$ac_t""yes" 1>&6
11510 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
11511 echo "configure:11512: checking for TIFFError in -ltiff" >&5
11512 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
11513 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11514 echo $ac_n "(cached) $ac_c" 1>&6
11516 ac_save_LIBS
="$LIBS"
11517 LIBS
="-ltiff -lm $LIBS"
11518 cat > conftest.
$ac_ext <<EOF
11519 #line 11520 "configure"
11520 #include "confdefs.h"
11521 /* Override any gcc2 internal prototype to avoid an error. */
11522 /* We use char because int might match the return type of a gcc2
11523 builtin and then its argument prototype would still apply. */
11530 if { (eval echo configure
:11531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11532 eval "ac_cv_lib_$ac_lib_var=yes"
11534 echo "configure: failed program was:" >&5
11535 cat conftest.
$ac_ext >&5
11537 eval "ac_cv_lib_$ac_lib_var=no"
11540 LIBS
="$ac_save_LIBS"
11543 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11544 echo "$ac_t""yes" 1>&6
11545 TIFF_LINK
=" -ltiff"
11547 echo "$ac_t""no" 1>&6
11552 echo "$ac_t""no" 1>&6
11556 if test "x$TIFF_LINK" = "x" ; then
11557 if test "$wxUSE_LIBTIFF" = "sys" ; then
11558 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
11560 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
11561 wxUSE_LIBTIFF
=builtin
11568 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11569 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11580 if test "$USE_WIN32" = 1 ; then
11581 for ac_hdr
in w32api.h
11583 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11584 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11585 echo "configure:11586: checking for $ac_hdr" >&5
11586 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11587 echo $ac_n "(cached) $ac_c" 1>&6
11589 cat > conftest.
$ac_ext <<EOF
11590 #line 11591 "configure"
11591 #include "confdefs.h"
11594 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11595 { (eval echo configure
:11596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11596 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11597 if test -z "$ac_err"; then
11599 eval "ac_cv_header_$ac_safe=yes"
11602 echo "configure: failed program was:" >&5
11603 cat conftest.
$ac_ext >&5
11605 eval "ac_cv_header_$ac_safe=no"
11609 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11610 echo "$ac_t""yes" 1>&6
11611 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11612 cat >> confdefs.h
<<EOF
11613 #define $ac_tr_hdr 1
11617 echo "$ac_t""no" 1>&6
11621 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
11622 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
11623 echo "configure:11624: checking for windows.h" >&5
11624 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11625 echo $ac_n "(cached) $ac_c" 1>&6
11627 cat > conftest.
$ac_ext <<EOF
11628 #line 11629 "configure"
11629 #include "confdefs.h"
11630 #include <windows.h>
11632 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11633 { (eval echo configure
:11634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11634 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11635 if test -z "$ac_err"; then
11637 eval "ac_cv_header_$ac_safe=yes"
11640 echo "configure: failed program was:" >&5
11641 cat conftest.
$ac_ext >&5
11643 eval "ac_cv_header_$ac_safe=no"
11647 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11648 echo "$ac_t""yes" 1>&6
11651 echo "$ac_t""no" 1>&6
11653 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
11658 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
11659 echo "configure:11660: checking if w32api has good enough MSIE support" >&5
11660 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
11661 echo $ac_n "(cached) $ac_c" 1>&6
11664 cat > conftest.
$ac_ext <<EOF
11665 #line 11666 "configure"
11666 #include "confdefs.h"
11667 #include <w32api.h>
11670 #define wxCHECK_W32API_VERSION( major, minor ) \
11671 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
11672 && ( ( __W32API_MAJOR_VERSION > (major) ) \
11673 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
11675 #if !wxCHECK_W32API_VERSION(1,1)
11676 #error You need w32api 1.1 or newer
11681 if { (eval echo configure
:11682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11684 wx_cv_w32api_win32_ie
=yes
11687 echo "configure: failed program was:" >&5
11688 cat conftest.
$ac_ext >&5
11691 wx_cv_w32api_win32_ie
=no
11698 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
11699 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
11700 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
11703 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
11707 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
11708 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
11711 if test "$wxUSE_ODBC" = "yes" ; then
11712 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
11715 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
11716 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
11719 if test "$wxUSE_GUI" = "yes"; then
11728 if test "$wxUSE_MSW" = 1 ; then
11734 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
11738 if test "$wxUSE_GTK" = 1; then
11739 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
11740 echo "configure:11741: checking for GTK+ version" >&5
11742 gtk_version_cached
=1
11743 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
11744 echo $ac_n "(cached) $ac_c" 1>&6
11747 gtk_version_cached
=0
11748 echo "$ac_t""" 1>&6
11751 if test "$wxUSE_THREADS" = "yes"; then
11752 GTK_MODULES
=gthread
11756 if test "x$wxUSE_GTK2" = "xyes"; then
11757 # Check whether --enable-gtktest or --disable-gtktest was given.
11758 if test "${enable_gtktest+set}" = set; then
11759 enableval
="$enable_gtktest"
11766 pkg_config_args
=gtk
+-2.0
11767 for module
in .
$GTK_MODULES
11771 pkg_config_args
="$pkg_config_args gthread-2.0"
11778 # Extract the first word of "pkg-config", so it can be a program name with args.
11779 set dummy pkg
-config; ac_word
=$2
11780 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11781 echo "configure:11782: checking for $ac_word" >&5
11782 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
11783 echo $ac_n "(cached) $ac_c" 1>&6
11785 case "$PKG_CONFIG" in
11787 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11790 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
11793 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11795 for ac_dir
in $ac_dummy; do
11796 test -z "$ac_dir" && ac_dir
=.
11797 if test -f $ac_dir/$ac_word; then
11798 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
11803 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11807 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
11808 if test -n "$PKG_CONFIG"; then
11809 echo "$ac_t""$PKG_CONFIG" 1>&6
11811 echo "$ac_t""no" 1>&6
11815 if test x
$PKG_CONFIG != xno
; then
11816 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
11819 echo *** pkg
-config too old
; version
0.7 or better required.
11827 min_gtk_version
=2.0.0
11828 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
11829 echo "configure:11830: checking for GTK+ - version >= $min_gtk_version" >&5
11831 if test x
$PKG_CONFIG != xno
; then
11832 ## don't try to run the test against uninstalled libtool libs
11833 if $PKG_CONFIG --uninstalled $pkg_config_args; then
11834 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
11838 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
11845 if test x
"$no_gtk" = x
; then
11846 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
11847 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
11848 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11849 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11850 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11851 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11852 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11853 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11854 if test "x$enable_gtktest" = "xyes" ; then
11855 ac_save_CFLAGS
="$CFLAGS"
11856 ac_save_LIBS
="$LIBS"
11857 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11858 LIBS
="$GTK_LIBS $LIBS"
11860 if test "$cross_compiling" = yes; then
11861 echo $ac_n "cross compiling; assumed OK... $ac_c"
11863 cat > conftest.
$ac_ext <<EOF
11864 #line 11865 "configure"
11865 #include "confdefs.h"
11867 #include <gtk/gtk.h>
11869 #include <stdlib.h>
11874 int major, minor, micro;
11877 system ("touch conf.gtktest");
11879 /* HP/UX 9 (%@#!) writes to sscanf strings */
11880 tmp_version = g_strdup("$min_gtk_version");
11881 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11882 printf("%s, bad version string\n", "$min_gtk_version");
11886 if ((gtk_major_version != $gtk_config_major_version) ||
11887 (gtk_minor_version != $gtk_config_minor_version) ||
11888 (gtk_micro_version != $gtk_config_micro_version))
11890 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11891 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11892 gtk_major_version, gtk_minor_version, gtk_micro_version);
11893 printf ("*** was found! If pkg-config was correct, then it is best\n");
11894 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11895 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11896 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11897 printf("*** required on your system.\n");
11898 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
11899 printf("*** to point to the correct configuration files\n");
11901 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11902 (gtk_minor_version != GTK_MINOR_VERSION) ||
11903 (gtk_micro_version != GTK_MICRO_VERSION))
11905 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11906 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11907 printf("*** library (version %d.%d.%d)\n",
11908 gtk_major_version, gtk_minor_version, gtk_micro_version);
11912 if ((gtk_major_version > major) ||
11913 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11914 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11920 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11921 gtk_major_version, gtk_minor_version, gtk_micro_version);
11922 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11923 major, minor, micro);
11924 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11926 printf("*** If you have already installed a sufficiently new version, this error\n");
11927 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
11928 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11929 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
11930 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
11931 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11932 printf("*** so that the correct libraries are found at run-time))\n");
11939 if { (eval echo configure
:11940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11943 echo "configure: failed program was:" >&5
11944 cat conftest.
$ac_ext >&5
11951 CFLAGS
="$ac_save_CFLAGS"
11952 LIBS
="$ac_save_LIBS"
11955 if test "x$no_gtk" = x
; then
11956 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
11959 echo "$ac_t""no" 1>&6
11960 if test "$PKG_CONFIG" = "no" ; then
11961 echo "*** A new enough version of pkg-config was not found."
11962 echo "*** See http://pkgconfig.sourceforge.net"
11964 if test -f conf.gtktest
; then
11967 echo "*** Could not run GTK+ test program, checking why..."
11968 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11969 LIBS
="$LIBS $GTK_LIBS"
11970 cat > conftest.
$ac_ext <<EOF
11971 #line 11972 "configure"
11972 #include "confdefs.h"
11974 #include <gtk/gtk.h>
11978 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11981 if { (eval echo configure
:11982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11983 echo "*** The test program compiled, but did not run. This usually means"
11984 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
11985 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
11986 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11987 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11988 echo "*** is required on your system"
11990 echo "*** If you have an old version installed, it is best to remove it, although"
11991 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11993 echo "configure: failed program was:" >&5
11994 cat conftest.
$ac_ext >&5
11996 echo "*** The test program failed to compile or link. See the file config.log for the"
11997 echo "*** exact error that occured. This usually means GTK+ was incorrectly installed"
11998 echo "*** or that you have moved GTK+ since it was installed. In the latter case, you"
11999 echo "*** may want to edit the pkg-config script: $PKG_CONFIG"
12002 CFLAGS
="$ac_save_CFLAGS"
12003 LIBS
="$ac_save_LIBS"
12016 if test -z "$wx_cv_lib_gtk"; then
12017 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12018 if test "${with_gtk_prefix+set}" = set; then
12019 withval
="$with_gtk_prefix"
12020 gtk_config_prefix
="$withval"
12022 gtk_config_prefix
=""
12025 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12026 if test "${with_gtk_exec_prefix+set}" = set; then
12027 withval
="$with_gtk_exec_prefix"
12028 gtk_config_exec_prefix
="$withval"
12030 gtk_config_exec_prefix
=""
12033 # Check whether --enable-gtktest or --disable-gtktest was given.
12034 if test "${enable_gtktest+set}" = set; then
12035 enableval
="$enable_gtktest"
12042 for module
in .
$GTK_MODULES
12046 gtk_config_args
="$gtk_config_args gthread"
12051 if test x
$gtk_config_exec_prefix != x
; then
12052 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12053 if test x
${GTK_CONFIG+set} != xset
; then
12054 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12057 if test x
$gtk_config_prefix != x
; then
12058 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12059 if test x
${GTK_CONFIG+set} != xset
; then
12060 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12064 # Extract the first word of "gtk-config", so it can be a program name with args.
12065 set dummy gtk
-config; ac_word
=$2
12066 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12067 echo "configure:12068: checking for $ac_word" >&5
12068 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12069 echo $ac_n "(cached) $ac_c" 1>&6
12071 case "$GTK_CONFIG" in
12073 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12076 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12079 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12081 for ac_dir
in $ac_dummy; do
12082 test -z "$ac_dir" && ac_dir
=.
12083 if test -f $ac_dir/$ac_word; then
12084 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12089 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12093 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12094 if test -n "$GTK_CONFIG"; then
12095 echo "$ac_t""$GTK_CONFIG" 1>&6
12097 echo "$ac_t""no" 1>&6
12100 min_gtk_version
=1.2.7
12101 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12102 echo "configure:12103: checking for GTK - version >= $min_gtk_version" >&5
12104 if test "$GTK_CONFIG" = "no" ; then
12107 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12108 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12109 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12110 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12111 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12112 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12113 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12114 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12115 if test "x$enable_gtktest" = "xyes" ; then
12116 ac_save_CFLAGS
="$CFLAGS"
12117 ac_save_LIBS
="$LIBS"
12118 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12119 LIBS
="$GTK_LIBS $LIBS"
12121 if test "$cross_compiling" = yes; then
12122 echo $ac_n "cross compiling; assumed OK... $ac_c"
12124 cat > conftest.
$ac_ext <<EOF
12125 #line 12126 "configure"
12126 #include "confdefs.h"
12128 #include <gtk/gtk.h>
12130 #include <stdlib.h>
12135 int major, minor, micro;
12138 system ("touch conf.gtktest");
12140 /* HP/UX 9 (%@#!) writes to sscanf strings */
12141 tmp_version = g_strdup("$min_gtk_version");
12142 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12143 printf("%s, bad version string\n", "$min_gtk_version");
12147 if ((gtk_major_version != $gtk_config_major_version) ||
12148 (gtk_minor_version != $gtk_config_minor_version) ||
12149 (gtk_micro_version != $gtk_config_micro_version))
12151 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12152 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12153 gtk_major_version, gtk_minor_version, gtk_micro_version);
12154 printf ("*** was found! If gtk-config was correct, then it is best\n");
12155 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12156 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12157 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12158 printf("*** required on your system.\n");
12159 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12160 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12161 printf("*** before re-running configure\n");
12163 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12164 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12165 (gtk_minor_version != GTK_MINOR_VERSION) ||
12166 (gtk_micro_version != GTK_MICRO_VERSION))
12168 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12169 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12170 printf("*** library (version %d.%d.%d)\n",
12171 gtk_major_version, gtk_minor_version, gtk_micro_version);
12173 #endif /* defined (GTK_MAJOR_VERSION) ... */
12176 if ((gtk_major_version > major) ||
12177 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12178 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12184 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12185 gtk_major_version, gtk_minor_version, gtk_micro_version);
12186 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12187 major, minor, micro);
12188 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12190 printf("*** If you have already installed a sufficiently new version, this error\n");
12191 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12192 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12193 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12194 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12195 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12196 printf("*** so that the correct libraries are found at run-time))\n");
12203 if { (eval echo configure
:12204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12207 echo "configure: failed program was:" >&5
12208 cat conftest.
$ac_ext >&5
12215 CFLAGS
="$ac_save_CFLAGS"
12216 LIBS
="$ac_save_LIBS"
12219 if test "x$no_gtk" = x
; then
12220 echo "$ac_t""yes" 1>&6
12221 wx_cv_lib_gtk
=1.2.7
12223 echo "$ac_t""no" 1>&6
12224 if test "$GTK_CONFIG" = "no" ; then
12225 echo "*** The gtk-config script installed by GTK could not be found"
12226 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12227 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12228 echo "*** full path to gtk-config."
12230 if test -f conf.gtktest
; then
12233 echo "*** Could not run GTK test program, checking why..."
12234 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12235 LIBS
="$LIBS $GTK_LIBS"
12236 cat > conftest.
$ac_ext <<EOF
12237 #line 12238 "configure"
12238 #include "confdefs.h"
12240 #include <gtk/gtk.h>
12244 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12247 if { (eval echo configure
:12248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12249 echo "*** The test program compiled, but did not run. This usually means"
12250 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12251 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12252 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12253 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12254 echo "*** is required on your system"
12256 echo "*** If you have an old version installed, it is best to remove it, although"
12257 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12259 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12260 echo "*** came with the system with the command"
12262 echo "*** rpm --erase --nodeps gtk gtk-devel"
12264 echo "configure: failed program was:" >&5
12265 cat conftest.
$ac_ext >&5
12267 echo "*** The test program failed to compile or link. See the file config.log for the"
12268 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12269 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12270 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12273 CFLAGS
="$ac_save_CFLAGS"
12274 LIBS
="$ac_save_LIBS"
12287 if test -z "$wx_cv_lib_gtk"; then
12288 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12289 if test "${with_gtk_prefix+set}" = set; then
12290 withval
="$with_gtk_prefix"
12291 gtk_config_prefix
="$withval"
12293 gtk_config_prefix
=""
12296 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12297 if test "${with_gtk_exec_prefix+set}" = set; then
12298 withval
="$with_gtk_exec_prefix"
12299 gtk_config_exec_prefix
="$withval"
12301 gtk_config_exec_prefix
=""
12304 # Check whether --enable-gtktest or --disable-gtktest was given.
12305 if test "${enable_gtktest+set}" = set; then
12306 enableval
="$enable_gtktest"
12313 for module
in .
$GTK_MODULES
12317 gtk_config_args
="$gtk_config_args gthread"
12322 if test x
$gtk_config_exec_prefix != x
; then
12323 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12324 if test x
${GTK_CONFIG+set} != xset
; then
12325 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12328 if test x
$gtk_config_prefix != x
; then
12329 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12330 if test x
${GTK_CONFIG+set} != xset
; then
12331 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12335 # Extract the first word of "gtk-config", so it can be a program name with args.
12336 set dummy gtk
-config; ac_word
=$2
12337 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12338 echo "configure:12339: checking for $ac_word" >&5
12339 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12340 echo $ac_n "(cached) $ac_c" 1>&6
12342 case "$GTK_CONFIG" in
12344 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12347 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12350 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12352 for ac_dir
in $ac_dummy; do
12353 test -z "$ac_dir" && ac_dir
=.
12354 if test -f $ac_dir/$ac_word; then
12355 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12360 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12364 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12365 if test -n "$GTK_CONFIG"; then
12366 echo "$ac_t""$GTK_CONFIG" 1>&6
12368 echo "$ac_t""no" 1>&6
12371 min_gtk_version
=1.2.3
12372 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12373 echo "configure:12374: checking for GTK - version >= $min_gtk_version" >&5
12375 if test "$GTK_CONFIG" = "no" ; then
12378 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12379 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12380 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12381 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12382 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12383 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12384 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12385 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12386 if test "x$enable_gtktest" = "xyes" ; then
12387 ac_save_CFLAGS
="$CFLAGS"
12388 ac_save_LIBS
="$LIBS"
12389 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12390 LIBS
="$GTK_LIBS $LIBS"
12392 if test "$cross_compiling" = yes; then
12393 echo $ac_n "cross compiling; assumed OK... $ac_c"
12395 cat > conftest.
$ac_ext <<EOF
12396 #line 12397 "configure"
12397 #include "confdefs.h"
12399 #include <gtk/gtk.h>
12401 #include <stdlib.h>
12406 int major, minor, micro;
12409 system ("touch conf.gtktest");
12411 /* HP/UX 9 (%@#!) writes to sscanf strings */
12412 tmp_version = g_strdup("$min_gtk_version");
12413 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12414 printf("%s, bad version string\n", "$min_gtk_version");
12418 if ((gtk_major_version != $gtk_config_major_version) ||
12419 (gtk_minor_version != $gtk_config_minor_version) ||
12420 (gtk_micro_version != $gtk_config_micro_version))
12422 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12423 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12424 gtk_major_version, gtk_minor_version, gtk_micro_version);
12425 printf ("*** was found! If gtk-config was correct, then it is best\n");
12426 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12427 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12428 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12429 printf("*** required on your system.\n");
12430 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12431 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12432 printf("*** before re-running configure\n");
12434 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12435 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12436 (gtk_minor_version != GTK_MINOR_VERSION) ||
12437 (gtk_micro_version != GTK_MICRO_VERSION))
12439 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12440 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12441 printf("*** library (version %d.%d.%d)\n",
12442 gtk_major_version, gtk_minor_version, gtk_micro_version);
12444 #endif /* defined (GTK_MAJOR_VERSION) ... */
12447 if ((gtk_major_version > major) ||
12448 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12449 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12455 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12456 gtk_major_version, gtk_minor_version, gtk_micro_version);
12457 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12458 major, minor, micro);
12459 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12461 printf("*** If you have already installed a sufficiently new version, this error\n");
12462 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12463 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12464 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12465 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12466 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12467 printf("*** so that the correct libraries are found at run-time))\n");
12474 if { (eval echo configure
:12475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12478 echo "configure: failed program was:" >&5
12479 cat conftest.
$ac_ext >&5
12486 CFLAGS
="$ac_save_CFLAGS"
12487 LIBS
="$ac_save_LIBS"
12490 if test "x$no_gtk" = x
; then
12491 echo "$ac_t""yes" 1>&6
12492 wx_cv_lib_gtk
=1.2.3
12494 echo "$ac_t""no" 1>&6
12495 if test "$GTK_CONFIG" = "no" ; then
12496 echo "*** The gtk-config script installed by GTK could not be found"
12497 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12498 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12499 echo "*** full path to gtk-config."
12501 if test -f conf.gtktest
; then
12504 echo "*** Could not run GTK test program, checking why..."
12505 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12506 LIBS
="$LIBS $GTK_LIBS"
12507 cat > conftest.
$ac_ext <<EOF
12508 #line 12509 "configure"
12509 #include "confdefs.h"
12511 #include <gtk/gtk.h>
12515 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12518 if { (eval echo configure
:12519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12520 echo "*** The test program compiled, but did not run. This usually means"
12521 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12522 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12523 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12524 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12525 echo "*** is required on your system"
12527 echo "*** If you have an old version installed, it is best to remove it, although"
12528 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12530 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12531 echo "*** came with the system with the command"
12533 echo "*** rpm --erase --nodeps gtk gtk-devel"
12535 echo "configure: failed program was:" >&5
12536 cat conftest.
$ac_ext >&5
12538 echo "*** The test program failed to compile or link. See the file config.log for the"
12539 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12540 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12541 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12544 CFLAGS
="$ac_save_CFLAGS"
12545 LIBS
="$ac_save_LIBS"
12558 if test -z "$wx_cv_lib_gtk"; then
12561 wx_cv_cflags_gtk
=$GTK_CFLAGS
12562 wx_cv_libs_gtk
=$GTK_LIBS
12569 if test "$gtk_version_cached" = 1; then
12570 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
12573 case "$wx_cv_lib_gtk" in
12581 *) { echo "configure: error:
12582 Please check that gtk-config is in path, the directory
12583 where GTK+ libraries are installed (returned by
12584 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
12585 equivalent variable and GTK+ is version 1.2.3 or above.
12590 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
12591 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
12593 AFMINSTALL
=afminstall
12597 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
12598 echo "configure:12599: checking for gdk_im_open in -lgdk" >&5
12599 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
12600 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12601 echo $ac_n "(cached) $ac_c" 1>&6
12603 ac_save_LIBS
="$LIBS"
12605 cat > conftest.
$ac_ext <<EOF
12606 #line 12607 "configure"
12607 #include "confdefs.h"
12608 /* Override any gcc2 internal prototype to avoid an error. */
12609 /* We use char because int might match the return type of a gcc2
12610 builtin and then its argument prototype would still apply. */
12611 char gdk_im_open();
12617 if { (eval echo configure
:12618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12619 eval "ac_cv_lib_$ac_lib_var=yes"
12621 echo "configure: failed program was:" >&5
12622 cat conftest.
$ac_ext >&5
12624 eval "ac_cv_lib_$ac_lib_var=no"
12627 LIBS
="$ac_save_LIBS"
12630 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12631 echo "$ac_t""yes" 1>&6
12632 cat >> confdefs.h
<<\EOF
12637 echo "$ac_t""no" 1>&6
12642 if test "$wxUSE_MGL" = 1; then
12643 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
12644 echo "configure:12645: checking for SciTech MGL library" >&5
12645 if test "x$MGL_ROOT" = x
; then
12646 echo "$ac_t""not found" 1>&6
12647 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
12649 echo "$ac_t""$MGL_ROOT" 1>&6
12654 mgl_os
=linux
/gcc
/glibc
12660 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
12665 if test "$wxUSE_DEBUG_FLAG" = yes ; then
12666 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
12667 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
12671 if test "x$mgl_lib_type" = x
; then
12672 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
12673 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
12674 mgl_lib_type
=release
12676 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
12680 wxUSE_UNIVERSAL
="yes"
12682 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
12683 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
12685 AFMINSTALL
=afminstall
12690 if test "$wxUSE_MICROWIN" = 1; then
12691 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
12692 echo "configure:12693: checking for MicroWindows" >&5
12693 if test "x$MICROWINDOWS" = x
; then
12694 echo "$ac_t""not found" 1>&6
12695 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
12697 echo "$ac_t""$MICROWINDOWS" 1>&6
12700 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
12701 echo "$ac_t""MicroWindows' libraries found." 1>&6
12703 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
12706 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
12707 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
12709 wxUSE_UNIVERSAL
="yes"
12711 AFMINSTALL
=afminstall
12713 GUIDIST
=MICROWIN_DIST
12715 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
12718 if test "$wxUSE_X11" = 1; then
12719 # If we find X, set shell vars x_includes and x_libraries to the
12720 # paths, otherwise set no_x=yes.
12721 # Uses ac_ vars as temps to allow command line to override cache and checks.
12722 # --without-x overrides everything else, but does not touch the cache.
12723 echo $ac_n "checking for X""... $ac_c" 1>&6
12724 echo "configure:12725: checking for X" >&5
12726 # Check whether --with-x or --without-x was given.
12727 if test "${with_x+set}" = set; then
12732 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
12733 if test "x$with_x" = xno
; then
12734 # The user explicitly disabled X.
12737 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
12738 # Both variables are already set.
12741 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
12742 echo $ac_n "(cached) $ac_c" 1>&6
12744 # One or both of the vars are not set, and there is no cached value.
12745 ac_x_includes
=NO ac_x_libraries
=NO
12747 if mkdir conftestdir
; then
12749 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
12750 cat > Imakefile
<<'EOF'
12752 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
12754 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
12755 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12756 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
12757 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12758 for ac_extension
in a so sl
; do
12759 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
12760 test -f $ac_im_libdir/libX11.
$ac_extension; then
12761 ac_im_usrlibdir
=$ac_im_libdir; break
12764 # Screen out bogus values from the imake configuration. They are
12765 # bogus both because they are the default anyway, and because
12766 # using them would break gcc on systems where it needs fixed includes.
12767 case "$ac_im_incroot" in
12769 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
12771 case "$ac_im_usrlibdir" in
12772 /usr
/lib
| /lib
) ;;
12773 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
12780 if test "$ac_x_includes" = NO
; then
12781 # Guess where to find include files, by looking for this one X11 .h file.
12782 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
12784 # First, try using that file with no special directory specified.
12785 cat > conftest.
$ac_ext <<EOF
12786 #line 12787 "configure"
12787 #include "confdefs.h"
12788 #include <$x_direct_test_include>
12790 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12791 { (eval echo configure
:12792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12792 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12793 if test -z "$ac_err"; then
12795 # We can compile using X headers with no special include directory.
12799 echo "configure: failed program was:" >&5
12800 cat conftest.
$ac_ext >&5
12802 # Look for the header file in a standard set of common directories.
12803 # Check X11 before X11Rn because it is often a symlink to the current release.
12806 /usr
/X
11R
6/include \
12807 /usr
/X
11R
5/include \
12808 /usr
/X
11R
4/include \
12811 /usr
/include
/X11R6 \
12812 /usr
/include
/X11R5 \
12813 /usr
/include
/X11R4 \
12815 /usr
/local
/X
11/include \
12816 /usr
/local
/X
11R
6/include \
12817 /usr
/local
/X
11R
5/include \
12818 /usr
/local
/X
11R
4/include \
12820 /usr
/local
/include
/X11 \
12821 /usr
/local
/include
/X11R6 \
12822 /usr
/local
/include
/X11R5 \
12823 /usr
/local
/include
/X11R4 \
12825 /usr
/X
386/include \
12826 /usr
/x
386/include \
12827 /usr
/XFree
86/include
/X11 \
12830 /usr
/local
/include \
12831 /usr
/unsupported
/include \
12832 /usr
/athena
/include \
12833 /usr
/local
/x
11r
5/include \
12834 /usr
/lpp
/Xamples
/include \
12836 /usr
/openwin
/include \
12837 /usr
/openwin
/share
/include \
12840 if test -r "$ac_dir/$x_direct_test_include"; then
12841 ac_x_includes
=$ac_dir
12847 fi # $ac_x_includes = NO
12849 if test "$ac_x_libraries" = NO
; then
12850 # Check for the libraries.
12852 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
12853 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
12855 # See if we find them without any special options.
12856 # Don't add to $LIBS permanently.
12857 ac_save_LIBS
="$LIBS"
12858 LIBS
="-l$x_direct_test_library $LIBS"
12859 cat > conftest.
$ac_ext <<EOF
12860 #line 12861 "configure"
12861 #include "confdefs.h"
12864 ${x_direct_test_function}()
12867 if { (eval echo configure
:12868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12869 LIBS
="$ac_save_LIBS"
12870 # We can link X programs with no special library path.
12873 echo "configure: failed program was:" >&5
12874 cat conftest.
$ac_ext >&5
12876 LIBS
="$ac_save_LIBS"
12877 # First see if replacing the include by lib works.
12878 # Check X11 before X11Rn because it is often a symlink to the current release.
12879 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
12890 /usr
/local
/X
11/lib \
12891 /usr
/local
/X
11R
6/lib \
12892 /usr
/local
/X
11R
5/lib \
12893 /usr
/local
/X
11R
4/lib \
12895 /usr
/local
/lib
/X11 \
12896 /usr
/local
/lib
/X11R6 \
12897 /usr
/local
/lib
/X11R5 \
12898 /usr
/local
/lib
/X11R4 \
12902 /usr
/XFree
86/lib
/X11 \
12906 /usr
/unsupported
/lib \
12908 /usr
/local
/x
11r
5/lib \
12909 /usr
/lpp
/Xamples
/lib \
12913 /usr
/openwin
/share
/lib \
12916 for ac_extension
in a so sl
; do
12917 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
12918 ac_x_libraries
=$ac_dir
12925 fi # $ac_x_libraries = NO
12927 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
12928 # Didn't find X anywhere. Cache the known absence of X.
12929 ac_cv_have_x
="have_x=no"
12931 # Record where we found X for the cache.
12932 ac_cv_have_x
="have_x=yes \
12933 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
12937 eval "$ac_cv_have_x"
12940 if test "$have_x" != yes; then
12941 echo "$ac_t""$have_x" 1>&6
12944 # If each of the values was on the command line, it overrides each guess.
12945 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
12946 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
12947 # Update the cache value to reflect the command line values.
12948 ac_cv_have_x
="have_x=yes \
12949 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
12950 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
12953 if test "$no_x" = yes; then
12954 # Not all programs may use this symbol, but it does not hurt to define it.
12955 cat >> confdefs.h
<<\EOF
12956 #define X_DISPLAY_MISSING 1
12959 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
12961 if test -n "$x_includes"; then
12962 X_CFLAGS
="$X_CFLAGS -I$x_includes"
12965 # It would also be nice to do this for all -L options, not just this one.
12966 if test -n "$x_libraries"; then
12967 X_LIBS
="$X_LIBS -L$x_libraries"
12968 # For Solaris; some versions of Sun CC require a space after -R and
12969 # others require no space. Words are not sufficient . . . .
12970 case "`(uname -sr) 2>/dev/null`" in
12972 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
12973 echo "configure:12974: checking whether -R must be followed by a space" >&5
12974 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
12975 cat > conftest.
$ac_ext <<EOF
12976 #line 12977 "configure"
12977 #include "confdefs.h"
12983 if { (eval echo configure
:12984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12987 echo "configure: failed program was:" >&5
12988 cat conftest.
$ac_ext >&5
12993 if test $ac_R_nospace = yes; then
12994 echo "$ac_t""no" 1>&6
12995 X_LIBS
="$X_LIBS -R$x_libraries"
12997 LIBS
="$ac_xsave_LIBS -R $x_libraries"
12998 cat > conftest.
$ac_ext <<EOF
12999 #line 13000 "configure"
13000 #include "confdefs.h"
13006 if { (eval echo configure
:13007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13010 echo "configure: failed program was:" >&5
13011 cat conftest.
$ac_ext >&5
13016 if test $ac_R_space = yes; then
13017 echo "$ac_t""yes" 1>&6
13018 X_LIBS
="$X_LIBS -R $x_libraries"
13020 echo "$ac_t""neither works" 1>&6
13023 LIBS
="$ac_xsave_LIBS"
13027 # Check for system-dependent libraries X programs must link with.
13028 # Do this before checking for the system-independent R6 libraries
13029 # (-lICE), since we may need -lsocket or whatever for X linking.
13031 if test "$ISC" = yes; then
13032 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13034 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13035 # libraries were built with DECnet support. And karl@cs.umb.edu says
13036 # the Alpha needs dnet_stub (dnet does not exist).
13037 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13038 echo "configure:13039: checking for dnet_ntoa in -ldnet" >&5
13039 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13040 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13041 echo $ac_n "(cached) $ac_c" 1>&6
13043 ac_save_LIBS
="$LIBS"
13044 LIBS
="-ldnet $LIBS"
13045 cat > conftest.
$ac_ext <<EOF
13046 #line 13047 "configure"
13047 #include "confdefs.h"
13048 /* Override any gcc2 internal prototype to avoid an error. */
13049 /* We use char because int might match the return type of a gcc2
13050 builtin and then its argument prototype would still apply. */
13057 if { (eval echo configure
:13058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13059 eval "ac_cv_lib_$ac_lib_var=yes"
13061 echo "configure: failed program was:" >&5
13062 cat conftest.
$ac_ext >&5
13064 eval "ac_cv_lib_$ac_lib_var=no"
13067 LIBS
="$ac_save_LIBS"
13070 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13071 echo "$ac_t""yes" 1>&6
13072 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13074 echo "$ac_t""no" 1>&6
13077 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13078 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13079 echo "configure:13080: checking for dnet_ntoa in -ldnet_stub" >&5
13080 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13081 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13082 echo $ac_n "(cached) $ac_c" 1>&6
13084 ac_save_LIBS
="$LIBS"
13085 LIBS
="-ldnet_stub $LIBS"
13086 cat > conftest.
$ac_ext <<EOF
13087 #line 13088 "configure"
13088 #include "confdefs.h"
13089 /* Override any gcc2 internal prototype to avoid an error. */
13090 /* We use char because int might match the return type of a gcc2
13091 builtin and then its argument prototype would still apply. */
13098 if { (eval echo configure
:13099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13100 eval "ac_cv_lib_$ac_lib_var=yes"
13102 echo "configure: failed program was:" >&5
13103 cat conftest.
$ac_ext >&5
13105 eval "ac_cv_lib_$ac_lib_var=no"
13108 LIBS
="$ac_save_LIBS"
13111 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13112 echo "$ac_t""yes" 1>&6
13113 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13115 echo "$ac_t""no" 1>&6
13120 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13121 # to get the SysV transport functions.
13122 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13124 # The nsl library prevents programs from opening the X display
13125 # on Irix 5.2, according to dickey@clark.net.
13126 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13127 echo "configure:13128: checking for gethostbyname" >&5
13128 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13129 echo $ac_n "(cached) $ac_c" 1>&6
13131 cat > conftest.
$ac_ext <<EOF
13132 #line 13133 "configure"
13133 #include "confdefs.h"
13134 /* System header to define __stub macros and hopefully few prototypes,
13135 which can conflict with char gethostbyname(); below. */
13136 #include <assert.h>
13137 /* Override any gcc2 internal prototype to avoid an error. */
13138 /* We use char because int might match the return type of a gcc2
13139 builtin and then its argument prototype would still apply. */
13140 char gethostbyname();
13144 /* The GNU C library defines this for functions which it implements
13145 to always fail with ENOSYS. Some functions are actually named
13146 something starting with __ and the normal name is an alias. */
13147 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13155 if { (eval echo configure
:13156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13157 eval "ac_cv_func_gethostbyname=yes"
13159 echo "configure: failed program was:" >&5
13160 cat conftest.
$ac_ext >&5
13162 eval "ac_cv_func_gethostbyname=no"
13167 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13168 echo "$ac_t""yes" 1>&6
13171 echo "$ac_t""no" 1>&6
13174 if test $ac_cv_func_gethostbyname = no
; then
13175 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13176 echo "configure:13177: checking for gethostbyname in -lnsl" >&5
13177 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13178 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13179 echo $ac_n "(cached) $ac_c" 1>&6
13181 ac_save_LIBS
="$LIBS"
13183 cat > conftest.
$ac_ext <<EOF
13184 #line 13185 "configure"
13185 #include "confdefs.h"
13186 /* Override any gcc2 internal prototype to avoid an error. */
13187 /* We use char because int might match the return type of a gcc2
13188 builtin and then its argument prototype would still apply. */
13189 char gethostbyname();
13195 if { (eval echo configure
:13196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13197 eval "ac_cv_lib_$ac_lib_var=yes"
13199 echo "configure: failed program was:" >&5
13200 cat conftest.
$ac_ext >&5
13202 eval "ac_cv_lib_$ac_lib_var=no"
13205 LIBS
="$ac_save_LIBS"
13208 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13209 echo "$ac_t""yes" 1>&6
13210 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13212 echo "$ac_t""no" 1>&6
13217 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13218 # socket/setsockopt and other routines are undefined under SCO ODT
13219 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13220 # on later versions), says simon@lia.di.epfl.ch: it contains
13221 # gethostby* variants that don't use the nameserver (or something).
13222 # -lsocket must be given before -lnsl if both are needed.
13223 # We assume that if connect needs -lnsl, so does gethostbyname.
13224 echo $ac_n "checking for connect""... $ac_c" 1>&6
13225 echo "configure:13226: checking for connect" >&5
13226 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13227 echo $ac_n "(cached) $ac_c" 1>&6
13229 cat > conftest.
$ac_ext <<EOF
13230 #line 13231 "configure"
13231 #include "confdefs.h"
13232 /* System header to define __stub macros and hopefully few prototypes,
13233 which can conflict with char connect(); below. */
13234 #include <assert.h>
13235 /* Override any gcc2 internal prototype to avoid an error. */
13236 /* We use char because int might match the return type of a gcc2
13237 builtin and then its argument prototype would still apply. */
13242 /* The GNU C library defines this for functions which it implements
13243 to always fail with ENOSYS. Some functions are actually named
13244 something starting with __ and the normal name is an alias. */
13245 #if defined (__stub_connect) || defined (__stub___connect)
13253 if { (eval echo configure
:13254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13255 eval "ac_cv_func_connect=yes"
13257 echo "configure: failed program was:" >&5
13258 cat conftest.
$ac_ext >&5
13260 eval "ac_cv_func_connect=no"
13265 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
13266 echo "$ac_t""yes" 1>&6
13269 echo "$ac_t""no" 1>&6
13272 if test $ac_cv_func_connect = no
; then
13273 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
13274 echo "configure:13275: checking for connect in -lsocket" >&5
13275 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
13276 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13277 echo $ac_n "(cached) $ac_c" 1>&6
13279 ac_save_LIBS
="$LIBS"
13280 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13281 cat > conftest.
$ac_ext <<EOF
13282 #line 13283 "configure"
13283 #include "confdefs.h"
13284 /* Override any gcc2 internal prototype to avoid an error. */
13285 /* We use char because int might match the return type of a gcc2
13286 builtin and then its argument prototype would still apply. */
13293 if { (eval echo configure
:13294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13295 eval "ac_cv_lib_$ac_lib_var=yes"
13297 echo "configure: failed program was:" >&5
13298 cat conftest.
$ac_ext >&5
13300 eval "ac_cv_lib_$ac_lib_var=no"
13303 LIBS
="$ac_save_LIBS"
13306 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13307 echo "$ac_t""yes" 1>&6
13308 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
13310 echo "$ac_t""no" 1>&6
13315 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
13316 echo $ac_n "checking for remove""... $ac_c" 1>&6
13317 echo "configure:13318: checking for remove" >&5
13318 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
13319 echo $ac_n "(cached) $ac_c" 1>&6
13321 cat > conftest.
$ac_ext <<EOF
13322 #line 13323 "configure"
13323 #include "confdefs.h"
13324 /* System header to define __stub macros and hopefully few prototypes,
13325 which can conflict with char remove(); below. */
13326 #include <assert.h>
13327 /* Override any gcc2 internal prototype to avoid an error. */
13328 /* We use char because int might match the return type of a gcc2
13329 builtin and then its argument prototype would still apply. */
13334 /* The GNU C library defines this for functions which it implements
13335 to always fail with ENOSYS. Some functions are actually named
13336 something starting with __ and the normal name is an alias. */
13337 #if defined (__stub_remove) || defined (__stub___remove)
13345 if { (eval echo configure
:13346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13347 eval "ac_cv_func_remove=yes"
13349 echo "configure: failed program was:" >&5
13350 cat conftest.
$ac_ext >&5
13352 eval "ac_cv_func_remove=no"
13357 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
13358 echo "$ac_t""yes" 1>&6
13361 echo "$ac_t""no" 1>&6
13364 if test $ac_cv_func_remove = no
; then
13365 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
13366 echo "configure:13367: checking for remove in -lposix" >&5
13367 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
13368 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13369 echo $ac_n "(cached) $ac_c" 1>&6
13371 ac_save_LIBS
="$LIBS"
13372 LIBS
="-lposix $LIBS"
13373 cat > conftest.
$ac_ext <<EOF
13374 #line 13375 "configure"
13375 #include "confdefs.h"
13376 /* Override any gcc2 internal prototype to avoid an error. */
13377 /* We use char because int might match the return type of a gcc2
13378 builtin and then its argument prototype would still apply. */
13385 if { (eval echo configure
:13386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13387 eval "ac_cv_lib_$ac_lib_var=yes"
13389 echo "configure: failed program was:" >&5
13390 cat conftest.
$ac_ext >&5
13392 eval "ac_cv_lib_$ac_lib_var=no"
13395 LIBS
="$ac_save_LIBS"
13398 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13399 echo "$ac_t""yes" 1>&6
13400 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
13402 echo "$ac_t""no" 1>&6
13407 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13408 echo $ac_n "checking for shmat""... $ac_c" 1>&6
13409 echo "configure:13410: checking for shmat" >&5
13410 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
13411 echo $ac_n "(cached) $ac_c" 1>&6
13413 cat > conftest.
$ac_ext <<EOF
13414 #line 13415 "configure"
13415 #include "confdefs.h"
13416 /* System header to define __stub macros and hopefully few prototypes,
13417 which can conflict with char shmat(); below. */
13418 #include <assert.h>
13419 /* Override any gcc2 internal prototype to avoid an error. */
13420 /* We use char because int might match the return type of a gcc2
13421 builtin and then its argument prototype would still apply. */
13426 /* The GNU C library defines this for functions which it implements
13427 to always fail with ENOSYS. Some functions are actually named
13428 something starting with __ and the normal name is an alias. */
13429 #if defined (__stub_shmat) || defined (__stub___shmat)
13437 if { (eval echo configure
:13438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13439 eval "ac_cv_func_shmat=yes"
13441 echo "configure: failed program was:" >&5
13442 cat conftest.
$ac_ext >&5
13444 eval "ac_cv_func_shmat=no"
13449 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
13450 echo "$ac_t""yes" 1>&6
13453 echo "$ac_t""no" 1>&6
13456 if test $ac_cv_func_shmat = no
; then
13457 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
13458 echo "configure:13459: checking for shmat in -lipc" >&5
13459 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
13460 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13461 echo $ac_n "(cached) $ac_c" 1>&6
13463 ac_save_LIBS
="$LIBS"
13465 cat > conftest.
$ac_ext <<EOF
13466 #line 13467 "configure"
13467 #include "confdefs.h"
13468 /* Override any gcc2 internal prototype to avoid an error. */
13469 /* We use char because int might match the return type of a gcc2
13470 builtin and then its argument prototype would still apply. */
13477 if { (eval echo configure
:13478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13479 eval "ac_cv_lib_$ac_lib_var=yes"
13481 echo "configure: failed program was:" >&5
13482 cat conftest.
$ac_ext >&5
13484 eval "ac_cv_lib_$ac_lib_var=no"
13487 LIBS
="$ac_save_LIBS"
13490 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13491 echo "$ac_t""yes" 1>&6
13492 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
13494 echo "$ac_t""no" 1>&6
13500 # Check for libraries that X11R6 Xt/Xaw programs need.
13501 ac_save_LDFLAGS
="$LDFLAGS"
13502 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
13503 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13504 # check for ICE first), but we must link in the order -lSM -lICE or
13505 # we get undefined symbols. So assume we have SM if we have ICE.
13506 # These have to be linked with before -lX11, unlike the other
13507 # libraries we check for below, so use a different variable.
13508 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
13509 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
13510 echo "configure:13511: checking for IceConnectionNumber in -lICE" >&5
13511 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
13512 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13513 echo $ac_n "(cached) $ac_c" 1>&6
13515 ac_save_LIBS
="$LIBS"
13516 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
13517 cat > conftest.
$ac_ext <<EOF
13518 #line 13519 "configure"
13519 #include "confdefs.h"
13520 /* Override any gcc2 internal prototype to avoid an error. */
13521 /* We use char because int might match the return type of a gcc2
13522 builtin and then its argument prototype would still apply. */
13523 char IceConnectionNumber();
13526 IceConnectionNumber()
13529 if { (eval echo configure
:13530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13531 eval "ac_cv_lib_$ac_lib_var=yes"
13533 echo "configure: failed program was:" >&5
13534 cat conftest.
$ac_ext >&5
13536 eval "ac_cv_lib_$ac_lib_var=no"
13539 LIBS
="$ac_save_LIBS"
13542 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13543 echo "$ac_t""yes" 1>&6
13544 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
13546 echo "$ac_t""no" 1>&6
13549 LDFLAGS
="$ac_save_LDFLAGS"
13554 if test "$no_x" = "yes"; then
13555 { echo "configure: error: X11 not found" 1>&2; exit 1; }
13558 GUI_TK_LIBRARY
="$X_LIBS"
13559 TOOLKIT_INCLUDE
="$X_CFLAGS"
13560 AFMINSTALL
=afminstall
13561 COMPILED_X_PROGRAM
=0
13563 if test "$wxUSE_NANOX" = "yes"; then
13564 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
13565 echo "configure:13566: checking for MicroWindows/NanoX distribution" >&5
13566 if test "x$MICROWIN" = x
; then
13567 echo "$ac_t""not found" 1>&6
13568 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
13570 echo "$ac_t""$MICROWIN" 1>&6
13571 cat >> confdefs.h
<<\EOF
13572 #define wxUSE_NANOX 1
13579 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13580 echo "configure:13581: checking for Xpm library" >&5
13583 for ac_dir
in $SEARCH_LIB;
13585 for ac_extension
in a so sl dylib
; do
13586 if test -f "$ac_dir/libXpm.$ac_extension"; then
13587 ac_find_libraries
=$ac_dir
13593 if test "$ac_find_libraries" != "" ; then
13595 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13597 if test $result = 0; then
13600 ac_path_to_link
=" -L$ac_find_libraries"
13603 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13605 cat >> confdefs.h
<<\EOF
13606 #define wxHAVE_LIB_XPM 1
13609 echo "$ac_t""found at $ac_find_libraries" 1>&6
13611 cat > conftest.
$ac_ext <<EOF
13612 #line 13613 "configure"
13613 #include "confdefs.h"
13615 #include <X11/xpm.h>
13620 version = XpmLibraryVersion();
13624 if { (eval echo configure
:13625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13628 cat >> confdefs.h
<<\EOF
13629 #define wxHAVE_LIB_XPM 1
13632 echo "$ac_t""found in default search path" 1>&6
13633 COMPILED_X_PROGRAM
=0
13636 echo "configure: failed program was:" >&5
13637 cat conftest.
$ac_ext >&5
13640 echo "$ac_t""no" 1>&6
13641 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13648 wxUSE_UNIVERSAL
="yes"
13650 if test "$wxUSE_NANOX" = "yes"; then
13651 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
13652 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"
13653 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
13655 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
13658 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
13663 if test "$wxUSE_WINE" = 1; then
13664 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
13665 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
13666 echo "configure:13667: checking for windows.h" >&5
13667 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13668 echo $ac_n "(cached) $ac_c" 1>&6
13670 cat > conftest.
$ac_ext <<EOF
13671 #line 13672 "configure"
13672 #include "confdefs.h"
13673 #include <windows.h>
13675 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13676 { (eval echo configure
:13677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13677 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13678 if test -z "$ac_err"; then
13680 eval "ac_cv_header_$ac_safe=yes"
13683 echo "configure: failed program was:" >&5
13684 cat conftest.
$ac_ext >&5
13686 eval "ac_cv_header_$ac_safe=no"
13690 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13691 echo "$ac_t""yes" 1>&6
13694 echo "$ac_t""no" 1>&6
13696 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
13702 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13703 echo "configure:13704: checking for Xpm library" >&5
13706 for ac_dir
in $SEARCH_LIB;
13708 for ac_extension
in a so sl dylib
; do
13709 if test -f "$ac_dir/libXpm.$ac_extension"; then
13710 ac_find_libraries
=$ac_dir
13716 if test "$ac_find_libraries" != "" ; then
13717 GUI_TK_LIBRARY
="-L$ac_find_libraries"
13719 cat >> confdefs.h
<<\EOF
13720 #define wxHAVE_LIB_XPM 1
13723 echo "$ac_t""found at $ac_find_libraries" 1>&6
13725 echo "$ac_t""no" 1>&6
13726 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13730 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
13731 echo "configure:13732: checking for Mesa library" >&5
13734 for ac_dir
in $SEARCH_LIB;
13736 for ac_extension
in a so sl dylib
; do
13737 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
13738 ac_find_libraries
=$ac_dir
13744 if test "$ac_find_libraries" != "" ; then
13745 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
13746 mesa_link
=" -lMesaGL"
13747 echo "$ac_t""found at $ac_find_libraries" 1>&6
13749 { echo "configure: error: no" 1>&2; exit 1; }
13752 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
13755 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
13758 if test "$wxUSE_MOTIF" = 1; then
13759 if test "$no_x" = yes; then
13760 # Not all programs may use this symbol, but it does not hurt to define it.
13761 cat >> confdefs.h
<<\EOF
13762 #define X_DISPLAY_MISSING 1
13765 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13767 if test -n "$x_includes"; then
13768 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13771 # It would also be nice to do this for all -L options, not just this one.
13772 if test -n "$x_libraries"; then
13773 X_LIBS
="$X_LIBS -L$x_libraries"
13774 # For Solaris; some versions of Sun CC require a space after -R and
13775 # others require no space. Words are not sufficient . . . .
13776 case "`(uname -sr) 2>/dev/null`" in
13778 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13779 echo "configure:13780: checking whether -R must be followed by a space" >&5
13780 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13781 cat > conftest.
$ac_ext <<EOF
13782 #line 13783 "configure"
13783 #include "confdefs.h"
13789 if { (eval echo configure
:13790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13793 echo "configure: failed program was:" >&5
13794 cat conftest.
$ac_ext >&5
13799 if test $ac_R_nospace = yes; then
13800 echo "$ac_t""no" 1>&6
13801 X_LIBS
="$X_LIBS -R$x_libraries"
13803 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13804 cat > conftest.
$ac_ext <<EOF
13805 #line 13806 "configure"
13806 #include "confdefs.h"
13812 if { (eval echo configure
:13813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13816 echo "configure: failed program was:" >&5
13817 cat conftest.
$ac_ext >&5
13822 if test $ac_R_space = yes; then
13823 echo "$ac_t""yes" 1>&6
13824 X_LIBS
="$X_LIBS -R $x_libraries"
13826 echo "$ac_t""neither works" 1>&6
13829 LIBS
="$ac_xsave_LIBS"
13833 # Check for system-dependent libraries X programs must link with.
13834 # Do this before checking for the system-independent R6 libraries
13835 # (-lICE), since we may need -lsocket or whatever for X linking.
13837 if test "$ISC" = yes; then
13838 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13840 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13841 # libraries were built with DECnet support. And karl@cs.umb.edu says
13842 # the Alpha needs dnet_stub (dnet does not exist).
13843 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13844 echo "configure:13845: checking for dnet_ntoa in -ldnet" >&5
13845 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13846 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13847 echo $ac_n "(cached) $ac_c" 1>&6
13849 ac_save_LIBS
="$LIBS"
13850 LIBS
="-ldnet $LIBS"
13851 cat > conftest.
$ac_ext <<EOF
13852 #line 13853 "configure"
13853 #include "confdefs.h"
13854 /* Override any gcc2 internal prototype to avoid an error. */
13855 /* We use char because int might match the return type of a gcc2
13856 builtin and then its argument prototype would still apply. */
13863 if { (eval echo configure
:13864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13865 eval "ac_cv_lib_$ac_lib_var=yes"
13867 echo "configure: failed program was:" >&5
13868 cat conftest.
$ac_ext >&5
13870 eval "ac_cv_lib_$ac_lib_var=no"
13873 LIBS
="$ac_save_LIBS"
13876 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13877 echo "$ac_t""yes" 1>&6
13878 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13880 echo "$ac_t""no" 1>&6
13883 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13884 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13885 echo "configure:13886: checking for dnet_ntoa in -ldnet_stub" >&5
13886 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13887 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13888 echo $ac_n "(cached) $ac_c" 1>&6
13890 ac_save_LIBS
="$LIBS"
13891 LIBS
="-ldnet_stub $LIBS"
13892 cat > conftest.
$ac_ext <<EOF
13893 #line 13894 "configure"
13894 #include "confdefs.h"
13895 /* Override any gcc2 internal prototype to avoid an error. */
13896 /* We use char because int might match the return type of a gcc2
13897 builtin and then its argument prototype would still apply. */
13904 if { (eval echo configure
:13905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13906 eval "ac_cv_lib_$ac_lib_var=yes"
13908 echo "configure: failed program was:" >&5
13909 cat conftest.
$ac_ext >&5
13911 eval "ac_cv_lib_$ac_lib_var=no"
13914 LIBS
="$ac_save_LIBS"
13917 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13918 echo "$ac_t""yes" 1>&6
13919 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13921 echo "$ac_t""no" 1>&6
13926 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13927 # to get the SysV transport functions.
13928 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13930 # The nsl library prevents programs from opening the X display
13931 # on Irix 5.2, according to dickey@clark.net.
13932 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13933 echo "configure:13934: checking for gethostbyname" >&5
13934 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13935 echo $ac_n "(cached) $ac_c" 1>&6
13937 cat > conftest.
$ac_ext <<EOF
13938 #line 13939 "configure"
13939 #include "confdefs.h"
13940 /* System header to define __stub macros and hopefully few prototypes,
13941 which can conflict with char gethostbyname(); below. */
13942 #include <assert.h>
13943 /* Override any gcc2 internal prototype to avoid an error. */
13944 /* We use char because int might match the return type of a gcc2
13945 builtin and then its argument prototype would still apply. */
13946 char gethostbyname();
13950 /* The GNU C library defines this for functions which it implements
13951 to always fail with ENOSYS. Some functions are actually named
13952 something starting with __ and the normal name is an alias. */
13953 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13961 if { (eval echo configure
:13962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13963 eval "ac_cv_func_gethostbyname=yes"
13965 echo "configure: failed program was:" >&5
13966 cat conftest.
$ac_ext >&5
13968 eval "ac_cv_func_gethostbyname=no"
13973 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13974 echo "$ac_t""yes" 1>&6
13977 echo "$ac_t""no" 1>&6
13980 if test $ac_cv_func_gethostbyname = no
; then
13981 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13982 echo "configure:13983: checking for gethostbyname in -lnsl" >&5
13983 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13984 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13985 echo $ac_n "(cached) $ac_c" 1>&6
13987 ac_save_LIBS
="$LIBS"
13989 cat > conftest.
$ac_ext <<EOF
13990 #line 13991 "configure"
13991 #include "confdefs.h"
13992 /* Override any gcc2 internal prototype to avoid an error. */
13993 /* We use char because int might match the return type of a gcc2
13994 builtin and then its argument prototype would still apply. */
13995 char gethostbyname();
14001 if { (eval echo configure
:14002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14003 eval "ac_cv_lib_$ac_lib_var=yes"
14005 echo "configure: failed program was:" >&5
14006 cat conftest.
$ac_ext >&5
14008 eval "ac_cv_lib_$ac_lib_var=no"
14011 LIBS
="$ac_save_LIBS"
14014 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14015 echo "$ac_t""yes" 1>&6
14016 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14018 echo "$ac_t""no" 1>&6
14023 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14024 # socket/setsockopt and other routines are undefined under SCO ODT
14025 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14026 # on later versions), says simon@lia.di.epfl.ch: it contains
14027 # gethostby* variants that don't use the nameserver (or something).
14028 # -lsocket must be given before -lnsl if both are needed.
14029 # We assume that if connect needs -lnsl, so does gethostbyname.
14030 echo $ac_n "checking for connect""... $ac_c" 1>&6
14031 echo "configure:14032: checking for connect" >&5
14032 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14033 echo $ac_n "(cached) $ac_c" 1>&6
14035 cat > conftest.
$ac_ext <<EOF
14036 #line 14037 "configure"
14037 #include "confdefs.h"
14038 /* System header to define __stub macros and hopefully few prototypes,
14039 which can conflict with char connect(); below. */
14040 #include <assert.h>
14041 /* Override any gcc2 internal prototype to avoid an error. */
14042 /* We use char because int might match the return type of a gcc2
14043 builtin and then its argument prototype would still apply. */
14048 /* The GNU C library defines this for functions which it implements
14049 to always fail with ENOSYS. Some functions are actually named
14050 something starting with __ and the normal name is an alias. */
14051 #if defined (__stub_connect) || defined (__stub___connect)
14059 if { (eval echo configure
:14060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14061 eval "ac_cv_func_connect=yes"
14063 echo "configure: failed program was:" >&5
14064 cat conftest.
$ac_ext >&5
14066 eval "ac_cv_func_connect=no"
14071 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14072 echo "$ac_t""yes" 1>&6
14075 echo "$ac_t""no" 1>&6
14078 if test $ac_cv_func_connect = no
; then
14079 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14080 echo "configure:14081: checking for connect in -lsocket" >&5
14081 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14082 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14083 echo $ac_n "(cached) $ac_c" 1>&6
14085 ac_save_LIBS
="$LIBS"
14086 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14087 cat > conftest.
$ac_ext <<EOF
14088 #line 14089 "configure"
14089 #include "confdefs.h"
14090 /* Override any gcc2 internal prototype to avoid an error. */
14091 /* We use char because int might match the return type of a gcc2
14092 builtin and then its argument prototype would still apply. */
14099 if { (eval echo configure
:14100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14101 eval "ac_cv_lib_$ac_lib_var=yes"
14103 echo "configure: failed program was:" >&5
14104 cat conftest.
$ac_ext >&5
14106 eval "ac_cv_lib_$ac_lib_var=no"
14109 LIBS
="$ac_save_LIBS"
14112 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14113 echo "$ac_t""yes" 1>&6
14114 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14116 echo "$ac_t""no" 1>&6
14121 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14122 echo $ac_n "checking for remove""... $ac_c" 1>&6
14123 echo "configure:14124: checking for remove" >&5
14124 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14125 echo $ac_n "(cached) $ac_c" 1>&6
14127 cat > conftest.
$ac_ext <<EOF
14128 #line 14129 "configure"
14129 #include "confdefs.h"
14130 /* System header to define __stub macros and hopefully few prototypes,
14131 which can conflict with char remove(); below. */
14132 #include <assert.h>
14133 /* Override any gcc2 internal prototype to avoid an error. */
14134 /* We use char because int might match the return type of a gcc2
14135 builtin and then its argument prototype would still apply. */
14140 /* The GNU C library defines this for functions which it implements
14141 to always fail with ENOSYS. Some functions are actually named
14142 something starting with __ and the normal name is an alias. */
14143 #if defined (__stub_remove) || defined (__stub___remove)
14151 if { (eval echo configure
:14152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14153 eval "ac_cv_func_remove=yes"
14155 echo "configure: failed program was:" >&5
14156 cat conftest.
$ac_ext >&5
14158 eval "ac_cv_func_remove=no"
14163 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14164 echo "$ac_t""yes" 1>&6
14167 echo "$ac_t""no" 1>&6
14170 if test $ac_cv_func_remove = no
; then
14171 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14172 echo "configure:14173: checking for remove in -lposix" >&5
14173 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14174 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14175 echo $ac_n "(cached) $ac_c" 1>&6
14177 ac_save_LIBS
="$LIBS"
14178 LIBS
="-lposix $LIBS"
14179 cat > conftest.
$ac_ext <<EOF
14180 #line 14181 "configure"
14181 #include "confdefs.h"
14182 /* Override any gcc2 internal prototype to avoid an error. */
14183 /* We use char because int might match the return type of a gcc2
14184 builtin and then its argument prototype would still apply. */
14191 if { (eval echo configure
:14192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14193 eval "ac_cv_lib_$ac_lib_var=yes"
14195 echo "configure: failed program was:" >&5
14196 cat conftest.
$ac_ext >&5
14198 eval "ac_cv_lib_$ac_lib_var=no"
14201 LIBS
="$ac_save_LIBS"
14204 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14205 echo "$ac_t""yes" 1>&6
14206 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14208 echo "$ac_t""no" 1>&6
14213 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14214 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14215 echo "configure:14216: checking for shmat" >&5
14216 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14217 echo $ac_n "(cached) $ac_c" 1>&6
14219 cat > conftest.
$ac_ext <<EOF
14220 #line 14221 "configure"
14221 #include "confdefs.h"
14222 /* System header to define __stub macros and hopefully few prototypes,
14223 which can conflict with char shmat(); below. */
14224 #include <assert.h>
14225 /* Override any gcc2 internal prototype to avoid an error. */
14226 /* We use char because int might match the return type of a gcc2
14227 builtin and then its argument prototype would still apply. */
14232 /* The GNU C library defines this for functions which it implements
14233 to always fail with ENOSYS. Some functions are actually named
14234 something starting with __ and the normal name is an alias. */
14235 #if defined (__stub_shmat) || defined (__stub___shmat)
14243 if { (eval echo configure
:14244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14245 eval "ac_cv_func_shmat=yes"
14247 echo "configure: failed program was:" >&5
14248 cat conftest.
$ac_ext >&5
14250 eval "ac_cv_func_shmat=no"
14255 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14256 echo "$ac_t""yes" 1>&6
14259 echo "$ac_t""no" 1>&6
14262 if test $ac_cv_func_shmat = no
; then
14263 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14264 echo "configure:14265: checking for shmat in -lipc" >&5
14265 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14266 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14267 echo $ac_n "(cached) $ac_c" 1>&6
14269 ac_save_LIBS
="$LIBS"
14271 cat > conftest.
$ac_ext <<EOF
14272 #line 14273 "configure"
14273 #include "confdefs.h"
14274 /* Override any gcc2 internal prototype to avoid an error. */
14275 /* We use char because int might match the return type of a gcc2
14276 builtin and then its argument prototype would still apply. */
14283 if { (eval echo configure
:14284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14285 eval "ac_cv_lib_$ac_lib_var=yes"
14287 echo "configure: failed program was:" >&5
14288 cat conftest.
$ac_ext >&5
14290 eval "ac_cv_lib_$ac_lib_var=no"
14293 LIBS
="$ac_save_LIBS"
14296 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14297 echo "$ac_t""yes" 1>&6
14298 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14300 echo "$ac_t""no" 1>&6
14306 # Check for libraries that X11R6 Xt/Xaw programs need.
14307 ac_save_LDFLAGS
="$LDFLAGS"
14308 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14309 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14310 # check for ICE first), but we must link in the order -lSM -lICE or
14311 # we get undefined symbols. So assume we have SM if we have ICE.
14312 # These have to be linked with before -lX11, unlike the other
14313 # libraries we check for below, so use a different variable.
14314 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14315 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14316 echo "configure:14317: checking for IceConnectionNumber in -lICE" >&5
14317 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14318 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14319 echo $ac_n "(cached) $ac_c" 1>&6
14321 ac_save_LIBS
="$LIBS"
14322 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14323 cat > conftest.
$ac_ext <<EOF
14324 #line 14325 "configure"
14325 #include "confdefs.h"
14326 /* Override any gcc2 internal prototype to avoid an error. */
14327 /* We use char because int might match the return type of a gcc2
14328 builtin and then its argument prototype would still apply. */
14329 char IceConnectionNumber();
14332 IceConnectionNumber()
14335 if { (eval echo configure
:14336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14337 eval "ac_cv_lib_$ac_lib_var=yes"
14339 echo "configure: failed program was:" >&5
14340 cat conftest.
$ac_ext >&5
14342 eval "ac_cv_lib_$ac_lib_var=no"
14345 LIBS
="$ac_save_LIBS"
14348 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14349 echo "$ac_t""yes" 1>&6
14350 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14352 echo "$ac_t""no" 1>&6
14355 LDFLAGS
="$ac_save_LDFLAGS"
14360 if test "$no_x" = "yes"; then
14361 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14364 GUI_TK_LIBRARY
="$X_LIBS"
14365 TOOLKIT_INCLUDE
="$X_CFLAGS"
14366 AFMINSTALL
=afminstall
14367 COMPILED_X_PROGRAM
=0
14369 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
14370 echo "configure:14371: checking for Motif/Lesstif headers" >&5
14373 for ac_dir
in $SEARCH_INCLUDE;
14375 if test -f "$ac_dir/Xm/Xm.h"; then
14376 ac_find_includes
=$ac_dir
14381 if test "$ac_find_includes" != "" ; then
14382 echo "$ac_t""found $ac_find_includes" 1>&6
14384 cat > conftest.
$ac_ext <<EOF
14385 #line 14386 "configure"
14386 #include "confdefs.h"
14393 version = xmUseVersion;
14397 if { (eval echo configure
:14398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14400 echo "$ac_t""found in default search path" 1>&6
14401 COMPILED_X_PROGRAM
=1
14404 echo "configure: failed program was:" >&5
14405 cat conftest.
$ac_ext >&5
14408 echo "$ac_t""no" 1>&6
14409 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
14416 if test "$COMPILED_X_PROGRAM" = 0; then
14417 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
14418 echo "configure:14419: checking for Motif/Lesstif library" >&5
14421 for ac_dir
in $SEARCH_LIB;
14423 for ac_extension
in a so sl dylib
; do
14424 if test -f "$ac_dir/libXm.$ac_extension"; then
14425 ac_find_libraries
=$ac_dir
14431 if test "$ac_find_libraries" != "" ; then
14433 ac_path_to_include
=$ac_find_includes
14434 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
14436 if test $result = 0; then
14437 ac_path_to_include
=""
14439 ac_path_to_include
=" -I$ac_find_includes"
14443 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14445 if test $result = 0; then
14448 ac_path_to_link
=" -L$ac_find_libraries"
14452 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14453 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
14454 echo "$ac_t""found at $ac_find_libraries" 1>&6
14456 cat > conftest.
$ac_ext <<EOF
14457 #line 14458 "configure"
14458 #include "confdefs.h"
14465 version = xmUseVersion;
14469 if { (eval echo configure
:14470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14472 echo "$ac_t""found in default search path" 1>&6
14473 COMPILED_X_PROGRAM
=1
14476 echo "configure: failed program was:" >&5
14477 cat conftest.
$ac_ext >&5
14480 echo "$ac_t""no" 1>&6
14481 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
14490 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14491 echo "configure:14492: checking for Xpm library" >&5
14494 for ac_dir
in $SEARCH_LIB;
14496 for ac_extension
in a so sl dylib
; do
14497 if test -f "$ac_dir/libXpm.$ac_extension"; then
14498 ac_find_libraries
=$ac_dir
14504 if test "$ac_find_libraries" != "" ; then
14506 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14508 if test $result = 0; then
14511 ac_path_to_link
=" -L$ac_find_libraries"
14514 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14516 cat >> confdefs.h
<<\EOF
14517 #define wxHAVE_LIB_XPM 1
14520 echo "$ac_t""found at $ac_find_libraries" 1>&6
14522 cat > conftest.
$ac_ext <<EOF
14523 #line 14524 "configure"
14524 #include "confdefs.h"
14526 #include <X11/xpm.h>
14531 version = XpmLibraryVersion();
14535 if { (eval echo configure
:14536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14539 cat >> confdefs.h
<<\EOF
14540 #define wxHAVE_LIB_XPM 1
14543 echo "$ac_t""found in default search path" 1>&6
14544 COMPILED_X_PROGRAM
=0
14547 echo "configure: failed program was:" >&5
14548 cat conftest.
$ac_ext >&5
14551 echo "$ac_t""no" 1>&6
14552 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14562 xt_needs_sm_ice
=" -lSM -lICE"
14566 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt${xt_needs_sm_ice} -lX11"
14567 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
14572 if test "$wxUSE_MAC" = 1; then
14573 if test "$wxUSE_PRECOMP" = "yes"; then
14574 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
14576 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
14578 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
14579 CFLAGS
="$CFLAGS -fpascal-strings"
14580 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
14582 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
14587 if test "$wxUSE_PM" = 1; then
14592 if test "$TOOLKIT" = "PM" ; then
14595 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
14598 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
14600 if test "$wxUSE_UNIVERSAL" = "yes"; then
14601 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
14603 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
14604 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
14606 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
14607 if test "$wxUSE_X11" = 1; then
14608 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
14610 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
14612 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
14615 ALL_OBJECTS
="\$(GUIOBJS)"
14616 ALL_SOURCES
="\$(ALL_SOURCES)"
14617 ALL_HEADERS
="\$(ALL_HEADERS)"
14620 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
14622 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
14623 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
14626 if test "$wxUSE_HTML" = "yes"; then
14627 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
14630 if test "$wxUSE_LIBJPEG" = "builtin" ; then
14631 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
14633 if test "$wxUSE_LIBTIFF" = "builtin" ; then
14634 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
14636 if test "$wxUSE_LIBPNG" = "builtin" ; then
14637 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
14640 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
14641 DISTDIR
="wx\$(TOOLKIT)"
14647 if test "$USE_WIN32" = 1 ; then
14648 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
14649 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
14653 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
14654 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
14657 ALL_SOURCES
="\$(ALL_SOURCES)"
14658 ALL_HEADERS
="\$(ALL_HEADERS)"
14660 PORT_FILES
="\${top_srcdir}/src/files.lst"
14662 GUIDIST
="BASE_DIST"
14667 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
14668 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
14671 if test "$wxUSE_REGEX" = "builtin" ; then
14672 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
14674 if test "$wxUSE_ZLIB" = "builtin" ; then
14675 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
14679 if test "$wxUSE_OPENGL" = "yes"; then
14680 if test "$wxUSE_MAC" = 1; then
14681 OPENGL_LIBS
="-framework OpenGL -framework AGL"
14682 elif test "$wxUSE_MSW" = 1; then
14683 OPENGL_LIBS
="-lopengl32 -lglu32"
14685 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
14686 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
14687 echo "configure:14688: checking for GL/gl.h" >&5
14688 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14689 echo $ac_n "(cached) $ac_c" 1>&6
14691 cat > conftest.
$ac_ext <<EOF
14692 #line 14693 "configure"
14693 #include "confdefs.h"
14696 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14697 { (eval echo configure
:14698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14698 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14699 if test -z "$ac_err"; then
14701 eval "ac_cv_header_$ac_safe=yes"
14704 echo "configure: failed program was:" >&5
14705 cat conftest.
$ac_ext >&5
14707 eval "ac_cv_header_$ac_safe=no"
14711 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14712 echo "$ac_t""yes" 1>&6
14714 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
14715 echo "configure:14716: checking for -lGL" >&5
14718 for ac_dir
in $SEARCH_LIB;
14720 for ac_extension
in a so sl dylib
; do
14721 if test -f "$ac_dir/libGL.$ac_extension"; then
14722 ac_find_libraries
=$ac_dir
14728 if test "$ac_find_libraries" != "" ; then
14730 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
14732 if test $result = 0; then
14735 ac_path_to_link
=" -L$ac_find_libraries"
14738 if test "$ac_path_to_link" = " -L/usr/lib" ; then
14739 LDFLAGS_GL
="$LDFLAGS"
14741 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
14743 OPENGL_LIBS
="-lGL -lGLU"
14744 echo "$ac_t""yes" 1>&6
14746 echo "$ac_t""no" 1>&6
14747 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
14748 echo "configure:14749: checking for -lMesaGL" >&5
14751 for ac_dir
in $SEARCH_LIB;
14753 for ac_extension
in a so sl dylib
; do
14754 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
14755 ac_find_libraries
=$ac_dir
14761 if test "$ac_find_libraries" != "" ; then
14763 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
14765 if test $result = 0; then
14768 ac_path_to_link
=" -L$ac_find_libraries"
14771 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
14772 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
14773 echo "$ac_t""yes" 1>&6
14775 echo "$ac_t""no" 1>&6
14780 echo "$ac_t""no" 1>&6
14784 if test "x$OPENGL_LIBS" = "x"; then
14785 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
14789 if test "$wxUSE_OPENGL" = "yes"; then
14790 cat >> confdefs.h
<<\EOF
14791 #define wxUSE_OPENGL 1
14794 cat >> confdefs.h
<<\EOF
14795 #define wxUSE_GLCANVAS 1
14798 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
14802 if test -z "$TOOLKIT_VPATH" ; then
14803 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
14806 if test -n "$TOOLKIT" ; then
14807 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
14810 lib_unicode_suffix
=
14811 if test "$wxUSE_UNICODE" = "yes"; then
14812 lib_unicode_suffix
=u
14816 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
14820 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
14821 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
14823 if test "$cross_compiling" = "yes"; then
14824 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
14825 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
14828 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
14829 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
14831 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
14832 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
14834 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
14835 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
14836 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
14837 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
14840 *-*-cygwin* | *-*-mingw32* )
14844 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
14845 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
14846 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
14847 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
14848 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
14850 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
14851 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
14856 if test "$wxUSE_MAC" = 1; then
14857 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.r"
14858 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.rsrc"
14863 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
14864 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
14866 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
14867 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
14869 if test "$wxUSE_OPENGL" = "yes"; then
14870 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
14871 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
14876 if test "$wxUSE_SHARED" = "yes"; then
14878 *-pc-os2_emx | *-pc-os2-emx | \
14881 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
14886 if test "$wxUSE_SHARED" = "yes"; then
14888 if test "$wxUSE_OPENGL" = "yes"; then
14889 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
14890 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
14892 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
14893 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
14896 if test "$GCC" = "yes"; then
14900 SHARED_LD
="${CXX} -shared -o"
14904 if test "$GCC" == "yes"; then
14905 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
14907 LDFLAGS
="$LDFLAGS -L/usr/lib"
14909 SHARED_LD
="${CXX} -b -o"
14913 if test "$wxUSE_OPENGL" = "yes"; then
14914 WX_ALL_INSTALLED
="preinstall_gl"
14915 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
14917 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
14922 if test "$GCC" != "yes"; then
14923 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
14924 echo "configure:14925: checking for Intel compiler" >&5
14925 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
14926 echo $ac_n "(cached) $ac_c" 1>&6
14929 cat > conftest.
$ac_ext <<EOF
14930 #line 14931 "configure"
14931 #include "confdefs.h"
14935 #ifndef __INTEL_COMPILER
14941 if { (eval echo configure
:14942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14945 echo "configure: failed program was:" >&5
14946 cat conftest.
$ac_ext >&5
14955 echo "$ac_t""$wx_cv_prog_icc" 1>&6
14956 if test "$wx_cv_prog_icc" = "yes"; then
14961 if test "$wxUSE_SONAME" = "yes" ; then
14962 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
14963 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
14964 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
14969 if test "$GCC" = yes ; then
14970 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
14972 SHARED_LD
="${CXX} -G -o"
14974 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
14975 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
14980 CFLAGS
="$CFLAGS -fno-common -DWXMAKINGDLL"
14981 CXXFLAGS
="$CXXFLAGS -fno-common -DWXMAKINGDLL"
14982 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
14983 PIC_FLAG
="-dynamic -fPIC"
14984 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"
14985 SONAME_FLAGS_GL
=${SONAME_FLAGS}
14989 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
14990 set dummy makeC
++SharedLib
; ac_word
=$2
14991 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14992 echo "configure:14993: checking for $ac_word" >&5
14993 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
14994 echo $ac_n "(cached) $ac_c" 1>&6
14996 if test -n "$AIX_CXX_LD"; then
14997 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
14999 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15001 for ac_dir
in $ac_dummy; do
15002 test -z "$ac_dir" && ac_dir
=.
15003 if test -f $ac_dir/$ac_word; then
15004 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
15009 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
15012 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
15013 if test -n "$AIX_CXX_LD"; then
15014 echo "$ac_t""$AIX_CXX_LD" 1>&6
15016 echo "$ac_t""no" 1>&6
15020 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
15023 *-*-cygwin* | *-*-mingw32* )
15025 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
15027 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
15028 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
15030 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
15032 if test "$wxUSE_OPENGL" = "yes"; then
15033 WX_ALL_INSTALLED
="preinstall_gl"
15034 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
15036 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
15041 SHARED_LD
="${LD} -shared -o"
15044 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
15046 *-*-irix5* | *-*-irix6* | \
15053 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
15056 if test "x$WX_TARGET_LIBRARY" = "x"; then
15057 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
15058 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
15061 WX_TARGET_LIBRARY_TYPE
="so"
15062 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
15065 if test "$wxUSE_SHARED" = "no"; then
15067 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
15068 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
15071 if test "$wxUSE_MAC" = 1; then
15072 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
15075 if test "$wxUSE_OPENGL" = "yes"; then
15076 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
15077 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
15079 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
15082 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
15083 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
15085 WX_TARGET_LIBRARY_TYPE
="a"
15086 INSTALL_LIBRARY
='$(INSTALL_DATA)'
15089 if test "$wxUSE_MAC" = 1; then
15090 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
15091 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
15092 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
15093 # Extract the first word of "Rez", so it can be a program name with args.
15094 set dummy Rez
; ac_word
=$2
15095 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15096 echo "configure:15097: checking for $ac_word" >&5
15097 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
15098 echo $ac_n "(cached) $ac_c" 1>&6
15100 if test -n "$RESCOMP"; then
15101 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
15103 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15105 for ac_dir
in $ac_dummy; do
15106 test -z "$ac_dir" && ac_dir
=.
15107 if test -f $ac_dir/$ac_word; then
15108 ac_cv_prog_RESCOMP
="Rez"
15113 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
15116 RESCOMP
="$ac_cv_prog_RESCOMP"
15117 if test -n "$RESCOMP"; then
15118 echo "$ac_t""$RESCOMP" 1>&6
15120 echo "$ac_t""no" 1>&6
15123 # Extract the first word of "DeRez", so it can be a program name with args.
15124 set dummy DeRez
; ac_word
=$2
15125 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15126 echo "configure:15127: checking for $ac_word" >&5
15127 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
15128 echo $ac_n "(cached) $ac_c" 1>&6
15130 if test -n "$DEREZ"; then
15131 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
15133 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15135 for ac_dir
in $ac_dummy; do
15136 test -z "$ac_dir" && ac_dir
=.
15137 if test -f $ac_dir/$ac_word; then
15138 ac_cv_prog_DEREZ
="DeRez"
15143 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
15146 DEREZ
="$ac_cv_prog_DEREZ"
15147 if test -n "$DEREZ"; then
15148 echo "$ac_t""$DEREZ" 1>&6
15150 echo "$ac_t""no" 1>&6
15153 MACOSX_BUNDLE
="bundle"
15154 if test "$wxUSE_SHARED" = "yes"; then
15155 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r -o \$(BIN_PROGRAM)"
15156 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r -o"
15158 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
15159 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
15162 if test "$wxUSE_PM" = 1; then
15163 LIBWXMACRESCOMP
="emxbind -ep \$(BIN_PROGRAM)"
15168 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
15169 echo "configure:15170: checking for ANSI C header files" >&5
15170 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
15171 echo $ac_n "(cached) $ac_c" 1>&6
15173 cat > conftest.
$ac_ext <<EOF
15174 #line 15175 "configure"
15175 #include "confdefs.h"
15176 #include <stdlib.h>
15177 #include <stdarg.h>
15178 #include <string.h>
15181 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15182 { (eval echo configure
:15183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15183 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15184 if test -z "$ac_err"; then
15186 ac_cv_header_stdc
=yes
15189 echo "configure: failed program was:" >&5
15190 cat conftest.
$ac_ext >&5
15192 ac_cv_header_stdc
=no
15196 if test $ac_cv_header_stdc = yes; then
15197 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15198 cat > conftest.
$ac_ext <<EOF
15199 #line 15200 "configure"
15200 #include "confdefs.h"
15201 #include <string.h>
15203 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15204 egrep "memchr" >/dev
/null
2>&1; then
15208 ac_cv_header_stdc
=no
15214 if test $ac_cv_header_stdc = yes; then
15215 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15216 cat > conftest.
$ac_ext <<EOF
15217 #line 15218 "configure"
15218 #include "confdefs.h"
15219 #include <stdlib.h>
15221 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15222 egrep "free" >/dev
/null
2>&1; then
15226 ac_cv_header_stdc
=no
15232 if test $ac_cv_header_stdc = yes; then
15233 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15234 if test "$cross_compiling" = yes; then
15237 cat > conftest.
$ac_ext <<EOF
15238 #line 15239 "configure"
15239 #include "confdefs.h"
15241 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15242 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15243 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15244 int main () { int i; for (i = 0; i < 256; i++)
15245 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
15249 if { (eval echo configure
:15250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
15253 echo "configure: failed program was:" >&5
15254 cat conftest.
$ac_ext >&5
15256 ac_cv_header_stdc
=no
15264 echo "$ac_t""$ac_cv_header_stdc" 1>&6
15265 if test $ac_cv_header_stdc = yes; then
15266 cat >> confdefs.h
<<\EOF
15267 #define STDC_HEADERS 1
15272 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
15273 echo "configure:15274: checking for mode_t" >&5
15274 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
15275 echo $ac_n "(cached) $ac_c" 1>&6
15277 cat > conftest.
$ac_ext <<EOF
15278 #line 15279 "configure"
15279 #include "confdefs.h"
15280 #include <sys/types.h>
15282 #include <stdlib.h>
15283 #include <stddef.h>
15286 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15287 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15289 ac_cv_type_mode_t
=yes
15292 ac_cv_type_mode_t
=no
15297 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
15298 if test $ac_cv_type_mode_t = no
; then
15299 cat >> confdefs.h
<<\EOF
15305 echo $ac_n "checking for off_t""... $ac_c" 1>&6
15306 echo "configure:15307: checking for off_t" >&5
15307 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
15308 echo $ac_n "(cached) $ac_c" 1>&6
15310 cat > conftest.
$ac_ext <<EOF
15311 #line 15312 "configure"
15312 #include "confdefs.h"
15313 #include <sys/types.h>
15315 #include <stdlib.h>
15316 #include <stddef.h>
15319 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15320 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15322 ac_cv_type_off_t
=yes
15325 ac_cv_type_off_t
=no
15330 echo "$ac_t""$ac_cv_type_off_t" 1>&6
15331 if test $ac_cv_type_off_t = no
; then
15332 cat >> confdefs.h
<<\EOF
15338 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
15339 echo "configure:15340: checking for pid_t" >&5
15340 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
15341 echo $ac_n "(cached) $ac_c" 1>&6
15343 cat > conftest.
$ac_ext <<EOF
15344 #line 15345 "configure"
15345 #include "confdefs.h"
15346 #include <sys/types.h>
15348 #include <stdlib.h>
15349 #include <stddef.h>
15352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15353 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15355 ac_cv_type_pid_t
=yes
15358 ac_cv_type_pid_t
=no
15363 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
15364 if test $ac_cv_type_pid_t = no
; then
15365 cat >> confdefs.h
<<\EOF
15371 echo $ac_n "checking for size_t""... $ac_c" 1>&6
15372 echo "configure:15373: checking for size_t" >&5
15373 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
15374 echo $ac_n "(cached) $ac_c" 1>&6
15376 cat > conftest.
$ac_ext <<EOF
15377 #line 15378 "configure"
15378 #include "confdefs.h"
15379 #include <sys/types.h>
15381 #include <stdlib.h>
15382 #include <stddef.h>
15385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15386 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15388 ac_cv_type_size_t
=yes
15391 ac_cv_type_size_t
=no
15396 echo "$ac_t""$ac_cv_type_size_t" 1>&6
15397 if test $ac_cv_type_size_t = no
; then
15398 cat >> confdefs.h
<<\EOF
15399 #define size_t unsigned
15404 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
15405 echo "configure:15406: checking for uid_t in sys/types.h" >&5
15406 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
15407 echo $ac_n "(cached) $ac_c" 1>&6
15409 cat > conftest.
$ac_ext <<EOF
15410 #line 15411 "configure"
15411 #include "confdefs.h"
15412 #include <sys/types.h>
15414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15415 egrep "uid_t" >/dev
/null
2>&1; then
15417 ac_cv_type_uid_t
=yes
15420 ac_cv_type_uid_t
=no
15426 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
15427 if test $ac_cv_type_uid_t = no
; then
15428 cat >> confdefs.h
<<\EOF
15432 cat >> confdefs.h
<<\EOF
15441 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15442 ac_cpp
='$CXXCPP $CPPFLAGS'
15443 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15444 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15445 cross_compiling
=$ac_cv_prog_cxx_cross
15447 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
15448 echo "configure:15449: checking if size_t is unsigned int" >&5
15449 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
15450 echo $ac_n "(cached) $ac_c" 1>&6
15452 cat > conftest.
$ac_ext <<EOF
15453 #line 15454 "configure"
15454 #include "confdefs.h"
15455 #include <stddef.h>
15460 struct Foo { void foo(size_t); void foo(unsigned int); };
15466 if { (eval echo configure
:15467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15468 wx_cv_size_t_is_uint
=no
15470 echo "configure: failed program was:" >&5
15471 cat conftest.
$ac_ext >&5
15473 wx_cv_size_t_is_uint
=yes
15480 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
15482 if test "$wx_cv_size_t_is_uint" = "yes"; then
15483 cat >> confdefs.h
<<\EOF
15484 #define wxSIZE_T_IS_UINT 1
15488 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
15489 echo "configure:15490: checking if size_t is unsigned long" >&5
15490 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
15491 echo $ac_n "(cached) $ac_c" 1>&6
15493 cat > conftest.
$ac_ext <<EOF
15494 #line 15495 "configure"
15495 #include "confdefs.h"
15496 #include <stddef.h>
15501 struct Foo { void foo(size_t); void foo(unsigned long); };
15507 if { (eval echo configure
:15508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15509 wx_cv_size_t_is_ulong
=no
15511 echo "configure: failed program was:" >&5
15512 cat conftest.
$ac_ext >&5
15514 wx_cv_size_t_is_ulong
=yes
15521 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
15523 if test "$wx_cv_size_t_is_ulong" = "yes"; then
15524 cat >> confdefs.h
<<\EOF
15525 #define wxSIZE_T_IS_ULONG 1
15532 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15533 ac_cpp
='$CPP $CPPFLAGS'
15534 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15535 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15536 cross_compiling
=$ac_cv_prog_cc_cross
15540 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
15541 echo "configure:15542: checking for pw_gecos in struct passwd" >&5
15542 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
15543 echo $ac_n "(cached) $ac_c" 1>&6
15546 cat > conftest.
$ac_ext <<EOF
15547 #line 15548 "configure"
15548 #include "confdefs.h"
15558 if { (eval echo configure
:15559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15561 wx_cv_struct_pw_gecos
=yes
15564 echo "configure: failed program was:" >&5
15565 cat conftest.
$ac_ext >&5
15568 wx_cv_struct_pw_gecos
=no
15577 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
15579 if test "$wx_cv_struct_pw_gecos" = "yes"; then
15580 cat >> confdefs.h
<<\EOF
15581 #define HAVE_PW_GECOS 1
15588 if test "$wx_cv_sizeof_wchar_t" != "0"; then
15590 for ac_func
in wcslen
15592 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15593 echo "configure:15594: checking for $ac_func" >&5
15594 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15595 echo $ac_n "(cached) $ac_c" 1>&6
15597 cat > conftest.
$ac_ext <<EOF
15598 #line 15599 "configure"
15599 #include "confdefs.h"
15600 /* System header to define __stub macros and hopefully few prototypes,
15601 which can conflict with char $ac_func(); below. */
15602 #include <assert.h>
15603 /* Override any gcc2 internal prototype to avoid an error. */
15604 /* We use char because int might match the return type of a gcc2
15605 builtin and then its argument prototype would still apply. */
15610 /* The GNU C library defines this for functions which it implements
15611 to always fail with ENOSYS. Some functions are actually named
15612 something starting with __ and the normal name is an alias. */
15613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15621 if { (eval echo configure
:15622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15623 eval "ac_cv_func_$ac_func=yes"
15625 echo "configure: failed program was:" >&5
15626 cat conftest.
$ac_ext >&5
15628 eval "ac_cv_func_$ac_func=no"
15633 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15634 echo "$ac_t""yes" 1>&6
15635 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15636 cat >> confdefs.h
<<EOF
15637 #define $ac_tr_func 1
15640 cat >> confdefs.h
<<\EOF
15641 #define HAVE_WCSLEN 1
15647 echo "$ac_t""no" 1>&6
15652 if test "$WCHAR_OK" = 0; then
15653 if test "$TOOLKIT" = "MSW"; then
15654 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
15655 echo "configure:15656: checking for wcslen in -lmsvcrt" >&5
15656 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
15657 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15658 echo $ac_n "(cached) $ac_c" 1>&6
15660 ac_save_LIBS
="$LIBS"
15661 LIBS
="-lmsvcrt $LIBS"
15662 cat > conftest.
$ac_ext <<EOF
15663 #line 15664 "configure"
15664 #include "confdefs.h"
15665 /* Override any gcc2 internal prototype to avoid an error. */
15666 /* We use char because int might match the return type of a gcc2
15667 builtin and then its argument prototype would still apply. */
15674 if { (eval echo configure
:15675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15676 eval "ac_cv_lib_$ac_lib_var=yes"
15678 echo "configure: failed program was:" >&5
15679 cat conftest.
$ac_ext >&5
15681 eval "ac_cv_lib_$ac_lib_var=no"
15684 LIBS
="$ac_save_LIBS"
15687 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15688 echo "$ac_t""yes" 1>&6
15690 cat >> confdefs.h
<<\EOF
15691 #define HAVE_WCSLEN 1
15697 echo "$ac_t""no" 1>&6
15701 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
15702 echo "configure:15703: checking for wcslen in -lw" >&5
15703 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
15704 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15705 echo $ac_n "(cached) $ac_c" 1>&6
15707 ac_save_LIBS
="$LIBS"
15709 cat > conftest.
$ac_ext <<EOF
15710 #line 15711 "configure"
15711 #include "confdefs.h"
15712 /* Override any gcc2 internal prototype to avoid an error. */
15713 /* We use char because int might match the return type of a gcc2
15714 builtin and then its argument prototype would still apply. */
15721 if { (eval echo configure
:15722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15723 eval "ac_cv_lib_$ac_lib_var=yes"
15725 echo "configure: failed program was:" >&5
15726 cat conftest.
$ac_ext >&5
15728 eval "ac_cv_lib_$ac_lib_var=no"
15731 LIBS
="$ac_save_LIBS"
15734 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15735 echo "$ac_t""yes" 1>&6
15737 cat >> confdefs.h
<<\EOF
15738 #define HAVE_WCSLEN 1
15745 echo "$ac_t""no" 1>&6
15752 if test "$WCHAR_OK" = 1; then
15753 cat >> confdefs.h
<<\EOF
15754 #define wxUSE_WCHAR_T 1
15758 for ac_func
in wcsrtombs
15760 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15761 echo "configure:15762: checking for $ac_func" >&5
15762 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15763 echo $ac_n "(cached) $ac_c" 1>&6
15765 cat > conftest.
$ac_ext <<EOF
15766 #line 15767 "configure"
15767 #include "confdefs.h"
15768 /* System header to define __stub macros and hopefully few prototypes,
15769 which can conflict with char $ac_func(); below. */
15770 #include <assert.h>
15771 /* Override any gcc2 internal prototype to avoid an error. */
15772 /* We use char because int might match the return type of a gcc2
15773 builtin and then its argument prototype would still apply. */
15778 /* The GNU C library defines this for functions which it implements
15779 to always fail with ENOSYS. Some functions are actually named
15780 something starting with __ and the normal name is an alias. */
15781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15789 if { (eval echo configure
:15790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15791 eval "ac_cv_func_$ac_func=yes"
15793 echo "configure: failed program was:" >&5
15794 cat conftest.
$ac_ext >&5
15796 eval "ac_cv_func_$ac_func=no"
15801 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15802 echo "$ac_t""yes" 1>&6
15803 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15804 cat >> confdefs.h
<<EOF
15805 #define $ac_tr_func 1
15809 echo "$ac_t""no" 1>&6
15814 if test "$USE_DARWIN" = 1; then
15815 cat >> confdefs.h
<<\EOF
15816 #define wxUSE_WCHAR_T 1
15820 echo "configure: warning: Wide character support is unavailable" 1>&2
15824 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
15825 echo "configure:15826: checking for vprintf" >&5
15826 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
15827 echo $ac_n "(cached) $ac_c" 1>&6
15829 cat > conftest.
$ac_ext <<EOF
15830 #line 15831 "configure"
15831 #include "confdefs.h"
15832 /* System header to define __stub macros and hopefully few prototypes,
15833 which can conflict with char vprintf(); below. */
15834 #include <assert.h>
15835 /* Override any gcc2 internal prototype to avoid an error. */
15836 /* We use char because int might match the return type of a gcc2
15837 builtin and then its argument prototype would still apply. */
15842 /* The GNU C library defines this for functions which it implements
15843 to always fail with ENOSYS. Some functions are actually named
15844 something starting with __ and the normal name is an alias. */
15845 #if defined (__stub_vprintf) || defined (__stub___vprintf)
15853 if { (eval echo configure
:15854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15855 eval "ac_cv_func_vprintf=yes"
15857 echo "configure: failed program was:" >&5
15858 cat conftest.
$ac_ext >&5
15860 eval "ac_cv_func_vprintf=no"
15865 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
15866 echo "$ac_t""yes" 1>&6
15867 cat >> confdefs.h
<<\EOF
15868 #define HAVE_VPRINTF 1
15872 echo "$ac_t""no" 1>&6
15875 if test "$ac_cv_func_vprintf" != yes; then
15876 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
15877 echo "configure:15878: checking for _doprnt" >&5
15878 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
15879 echo $ac_n "(cached) $ac_c" 1>&6
15881 cat > conftest.
$ac_ext <<EOF
15882 #line 15883 "configure"
15883 #include "confdefs.h"
15884 /* System header to define __stub macros and hopefully few prototypes,
15885 which can conflict with char _doprnt(); below. */
15886 #include <assert.h>
15887 /* Override any gcc2 internal prototype to avoid an error. */
15888 /* We use char because int might match the return type of a gcc2
15889 builtin and then its argument prototype would still apply. */
15894 /* The GNU C library defines this for functions which it implements
15895 to always fail with ENOSYS. Some functions are actually named
15896 something starting with __ and the normal name is an alias. */
15897 #if defined (__stub__doprnt) || defined (__stub____doprnt)
15905 if { (eval echo configure
:15906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15907 eval "ac_cv_func__doprnt=yes"
15909 echo "configure: failed program was:" >&5
15910 cat conftest.
$ac_ext >&5
15912 eval "ac_cv_func__doprnt=no"
15917 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
15918 echo "$ac_t""yes" 1>&6
15919 cat >> confdefs.h
<<\EOF
15920 #define HAVE_DOPRNT 1
15924 echo "$ac_t""no" 1>&6
15934 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
15935 echo "configure:15936: checking for vsnprintf" >&5
15936 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
15937 echo $ac_n "(cached) $ac_c" 1>&6
15940 cat > conftest.
$ac_ext <<EOF
15941 #line 15942 "configure"
15942 #include "confdefs.h"
15945 #include <stdarg.h>
15949 int wx_test_vsnprintf(const char *, ...);
15951 wx_test_vsnprintf("%s");
15955 int wx_test_vsnprintf(const char *fmt, ...)
15960 va_start(argp, fmt);
15961 vsnprintf(s, 42, fmt, argp);
15966 if { (eval echo configure
:15967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15969 wx_cv_func_vsnprintf
=yes
15972 echo "configure: failed program was:" >&5
15973 cat conftest.
$ac_ext >&5
15976 cat > conftest.
$ac_ext <<EOF
15977 #line 15978 "configure"
15978 #include "confdefs.h"
15981 #include <stdarg.h>
15985 int wx_test_vsnprintf(const char *, ...);
15987 wx_test_vsnprintf("%s");
15991 int wx_test_vsnprintf(const char *fmt, ...)
15996 va_start(argp, fmt);
15997 _vsnprintf(s, 42, fmt, argp);
16002 if { (eval echo configure
:16003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16005 wx_cv_func_vsnprintf
=yes
16008 echo "configure: failed program was:" >&5
16009 cat conftest.
$ac_ext >&5
16012 wx_cv_func_vsnprintf
=no
16022 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
16024 if test "$wx_cv_func_vsnprintf" = yes; then
16025 cat >> confdefs.h
<<\EOF
16026 #define HAVE_VSNPRINTF 1
16030 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
16033 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
16034 echo "configure:16035: checking for vsscanf" >&5
16035 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
16036 echo $ac_n "(cached) $ac_c" 1>&6
16039 cat > conftest.
$ac_ext <<EOF
16040 #line 16041 "configure"
16041 #include "confdefs.h"
16044 #include <stdarg.h>
16048 int wx_test_vsscanf(const char *, ...);
16050 wx_test_vsscanf("%d");
16054 int wx_test_vsscanf(const char *fmt, ...)
16057 va_start(argp, fmt);
16058 vsscanf("42", fmt, argp);
16063 if { (eval echo configure
:16064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16066 wx_cv_func_vsscanf
=yes
16069 echo "configure: failed program was:" >&5
16070 cat conftest.
$ac_ext >&5
16073 wx_cv_func_vsscanf
=no
16080 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
16082 if test "$wx_cv_func_vsscanf" = yes; then
16083 cat >> confdefs.h
<<\EOF
16084 #define HAVE_VSSCANF 1
16089 if test "$TOOLKIT" != "MSW"; then
16094 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16095 ac_cpp
='$CXXCPP $CPPFLAGS'
16096 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16097 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16098 cross_compiling
=$ac_cv_prog_cxx_cross
16102 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
16103 if test "${with_libiconv_prefix+set}" = set; then
16104 withval
="$with_libiconv_prefix"
16106 for dir
in `echo "$withval" | tr : ' '`; do
16107 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
16108 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
16114 echo $ac_n "checking for iconv""... $ac_c" 1>&6
16115 echo "configure:16116: checking for iconv" >&5
16116 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
16117 echo $ac_n "(cached) $ac_c" 1>&6
16120 am_cv_func_iconv
="no, consider installing GNU libiconv"
16122 cat > conftest.
$ac_ext <<EOF
16123 #line 16124 "configure"
16124 #include "confdefs.h"
16125 #include <stdlib.h>
16128 iconv_t cd = iconv_open("","");
16129 iconv(cd,NULL,NULL,NULL,NULL);
16133 if { (eval echo configure
:16134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16135 am_cv_func_iconv
=yes
16137 echo "configure: failed program was:" >&5
16138 cat conftest.
$ac_ext >&5
16141 if test "$am_cv_func_iconv" != yes; then
16142 am_save_LIBS
="$LIBS"
16143 LIBS
="$LIBS -liconv"
16144 cat > conftest.
$ac_ext <<EOF
16145 #line 16146 "configure"
16146 #include "confdefs.h"
16147 #include <stdlib.h>
16150 iconv_t cd = iconv_open("","");
16151 iconv(cd,NULL,NULL,NULL,NULL);
16155 if { (eval echo configure
:16156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16157 am_cv_lib_iconv
=yes
16158 am_cv_func_iconv
=yes
16160 echo "configure: failed program was:" >&5
16161 cat conftest.
$ac_ext >&5
16164 LIBS
="$am_save_LIBS"
16169 echo "$ac_t""$am_cv_func_iconv" 1>&6
16170 if test "$am_cv_func_iconv" = yes; then
16171 cat >> confdefs.h
<<\EOF
16172 #define HAVE_ICONV 1
16175 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
16176 echo "configure:16177: checking if iconv needs const" >&5
16177 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
16178 echo $ac_n "(cached) $ac_c" 1>&6
16180 cat > conftest.
$ac_ext <<EOF
16181 #line 16182 "configure"
16182 #include "confdefs.h"
16184 #include <stdlib.h>
16190 #if defined(__STDC__) || defined(__cplusplus)
16191 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
16200 if { (eval echo configure
:16201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16202 wx_cv_func_iconv_const
="no"
16204 echo "configure: failed program was:" >&5
16205 cat conftest.
$ac_ext >&5
16207 wx_cv_func_iconv_const
="yes"
16214 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
16217 if test "x$wx_cv_func_iconv_const" = "xyes"; then
16218 iconv_const
="const"
16221 cat >> confdefs.h
<<EOF
16222 #define ICONV_CONST $iconv_const
16227 if test "$am_cv_lib_iconv" = yes; then
16232 LIBS
="$LIBICONV $LIBS"
16234 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16235 ac_cpp
='$CPP $CPPFLAGS'
16236 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16237 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16238 cross_compiling
=$ac_cv_prog_cc_cross
16241 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
16242 for ac_func
in sigaction
16244 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16245 echo "configure:16246: checking for $ac_func" >&5
16246 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16247 echo $ac_n "(cached) $ac_c" 1>&6
16249 cat > conftest.
$ac_ext <<EOF
16250 #line 16251 "configure"
16251 #include "confdefs.h"
16252 /* System header to define __stub macros and hopefully few prototypes,
16253 which can conflict with char $ac_func(); below. */
16254 #include <assert.h>
16255 /* Override any gcc2 internal prototype to avoid an error. */
16256 /* We use char because int might match the return type of a gcc2
16257 builtin and then its argument prototype would still apply. */
16262 /* The GNU C library defines this for functions which it implements
16263 to always fail with ENOSYS. Some functions are actually named
16264 something starting with __ and the normal name is an alias. */
16265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16273 if { (eval echo configure
:16274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16275 eval "ac_cv_func_$ac_func=yes"
16277 echo "configure: failed program was:" >&5
16278 cat conftest.
$ac_ext >&5
16280 eval "ac_cv_func_$ac_func=no"
16285 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16286 echo "$ac_t""yes" 1>&6
16287 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16288 cat >> confdefs.h
<<EOF
16289 #define $ac_tr_func 1
16293 echo "$ac_t""no" 1>&6
16298 if test "$ac_cv_func_sigaction" = "no"; then
16299 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
16300 wxUSE_ON_FATAL_EXCEPTION
=no
16303 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16306 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16307 ac_cpp
='$CXXCPP $CPPFLAGS'
16308 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16309 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16310 cross_compiling
=$ac_cv_prog_cxx_cross
16313 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
16314 echo "configure:16315: checking for sa_handler type" >&5
16315 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
16316 echo $ac_n "(cached) $ac_c" 1>&6
16319 cat > conftest.
$ac_ext <<EOF
16320 #line 16321 "configure"
16321 #include "confdefs.h"
16322 #include <signal.h>
16325 extern void testSigHandler(int);
16327 struct sigaction sa;
16328 sa.sa_handler = testSigHandler;
16332 if { (eval echo configure
:16333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16335 wx_cv_type_sa_handler
=int
16338 echo "configure: failed program was:" >&5
16339 cat conftest.
$ac_ext >&5
16342 wx_cv_type_sa_handler
=void
16349 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
16352 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16353 ac_cpp
='$CPP $CPPFLAGS'
16354 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16355 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16356 cross_compiling
=$ac_cv_prog_cc_cross
16359 cat >> confdefs.h
<<EOF
16360 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
16366 for ac_func
in vfork
16368 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16369 echo "configure:16370: checking for $ac_func" >&5
16370 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16371 echo $ac_n "(cached) $ac_c" 1>&6
16373 cat > conftest.
$ac_ext <<EOF
16374 #line 16375 "configure"
16375 #include "confdefs.h"
16376 /* System header to define __stub macros and hopefully few prototypes,
16377 which can conflict with char $ac_func(); below. */
16378 #include <assert.h>
16379 /* Override any gcc2 internal prototype to avoid an error. */
16380 /* We use char because int might match the return type of a gcc2
16381 builtin and then its argument prototype would still apply. */
16386 /* The GNU C library defines this for functions which it implements
16387 to always fail with ENOSYS. Some functions are actually named
16388 something starting with __ and the normal name is an alias. */
16389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16397 if { (eval echo configure
:16398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16399 eval "ac_cv_func_$ac_func=yes"
16401 echo "configure: failed program was:" >&5
16402 cat conftest.
$ac_ext >&5
16404 eval "ac_cv_func_$ac_func=no"
16409 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16410 echo "$ac_t""yes" 1>&6
16411 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16412 cat >> confdefs.h
<<EOF
16413 #define $ac_tr_func 1
16417 echo "$ac_t""no" 1>&6
16422 for ac_func
in mkstemp mktemp
16424 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16425 echo "configure:16426: checking for $ac_func" >&5
16426 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16427 echo $ac_n "(cached) $ac_c" 1>&6
16429 cat > conftest.
$ac_ext <<EOF
16430 #line 16431 "configure"
16431 #include "confdefs.h"
16432 /* System header to define __stub macros and hopefully few prototypes,
16433 which can conflict with char $ac_func(); below. */
16434 #include <assert.h>
16435 /* Override any gcc2 internal prototype to avoid an error. */
16436 /* We use char because int might match the return type of a gcc2
16437 builtin and then its argument prototype would still apply. */
16442 /* The GNU C library defines this for functions which it implements
16443 to always fail with ENOSYS. Some functions are actually named
16444 something starting with __ and the normal name is an alias. */
16445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16453 if { (eval echo configure
:16454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16455 eval "ac_cv_func_$ac_func=yes"
16457 echo "configure: failed program was:" >&5
16458 cat conftest.
$ac_ext >&5
16460 eval "ac_cv_func_$ac_func=no"
16465 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16466 echo "$ac_t""yes" 1>&6
16467 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16468 cat >> confdefs.h
<<EOF
16469 #define $ac_tr_func 1
16473 echo "$ac_t""no" 1>&6
16478 echo $ac_n "checking for statfs""... $ac_c" 1>&6
16479 echo "configure:16480: checking for statfs" >&5
16480 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
16481 echo $ac_n "(cached) $ac_c" 1>&6
16483 cat > conftest.
$ac_ext <<EOF
16484 #line 16485 "configure"
16485 #include "confdefs.h"
16487 #if defined(__BSD__)
16488 #include <sys/param.h>
16489 #include <sys/mount.h>
16491 #include <sys/vfs.h>
16505 if { (eval echo configure
:16506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16508 wx_cv_func_statfs
=yes
16511 echo "configure: failed program was:" >&5
16512 cat conftest.
$ac_ext >&5
16515 wx_cv_func_statfs
=no
16523 echo "$ac_t""$wx_cv_func_statfs" 1>&6
16525 if test "$wx_cv_func_statfs" = "yes"; then
16526 cat >> confdefs.h
<<\EOF
16527 #define HAVE_STATFS 1
16531 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
16532 echo "configure:16533: checking for statvfs" >&5
16533 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
16534 echo $ac_n "(cached) $ac_c" 1>&6
16536 cat > conftest.
$ac_ext <<EOF
16537 #line 16538 "configure"
16538 #include "confdefs.h"
16540 #include <sys/statvfs.h>
16553 if { (eval echo configure
:16554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16556 wx_cv_func_statvfs
=yes
16559 echo "configure: failed program was:" >&5
16560 cat conftest.
$ac_ext >&5
16563 wx_cv_func_statvfs
=no
16571 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
16573 if test "$wx_cv_func_statvfs" = "yes"; then
16574 cat >> confdefs.h
<<\EOF
16575 #define HAVE_STATVFS 1
16579 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
16583 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16584 for ac_func
in fcntl flock
16586 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16587 echo "configure:16588: checking for $ac_func" >&5
16588 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16589 echo $ac_n "(cached) $ac_c" 1>&6
16591 cat > conftest.
$ac_ext <<EOF
16592 #line 16593 "configure"
16593 #include "confdefs.h"
16594 /* System header to define __stub macros and hopefully few prototypes,
16595 which can conflict with char $ac_func(); below. */
16596 #include <assert.h>
16597 /* Override any gcc2 internal prototype to avoid an error. */
16598 /* We use char because int might match the return type of a gcc2
16599 builtin and then its argument prototype would still apply. */
16604 /* The GNU C library defines this for functions which it implements
16605 to always fail with ENOSYS. Some functions are actually named
16606 something starting with __ and the normal name is an alias. */
16607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16615 if { (eval echo configure
:16616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16617 eval "ac_cv_func_$ac_func=yes"
16619 echo "configure: failed program was:" >&5
16620 cat conftest.
$ac_ext >&5
16622 eval "ac_cv_func_$ac_func=no"
16627 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16628 echo "$ac_t""yes" 1>&6
16629 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16630 cat >> confdefs.h
<<EOF
16631 #define $ac_tr_func 1
16635 echo "$ac_t""no" 1>&6
16640 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
16641 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
16642 wxUSE_SNGLINST_CHECKER
=no
16646 for ac_func
in timegm
16648 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16649 echo "configure:16650: checking for $ac_func" >&5
16650 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16651 echo $ac_n "(cached) $ac_c" 1>&6
16653 cat > conftest.
$ac_ext <<EOF
16654 #line 16655 "configure"
16655 #include "confdefs.h"
16656 /* System header to define __stub macros and hopefully few prototypes,
16657 which can conflict with char $ac_func(); below. */
16658 #include <assert.h>
16659 /* Override any gcc2 internal prototype to avoid an error. */
16660 /* We use char because int might match the return type of a gcc2
16661 builtin and then its argument prototype would still apply. */
16666 /* The GNU C library defines this for functions which it implements
16667 to always fail with ENOSYS. Some functions are actually named
16668 something starting with __ and the normal name is an alias. */
16669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16677 if { (eval echo configure
:16678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16679 eval "ac_cv_func_$ac_func=yes"
16681 echo "configure: failed program was:" >&5
16682 cat conftest.
$ac_ext >&5
16684 eval "ac_cv_func_$ac_func=no"
16689 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16690 echo "$ac_t""yes" 1>&6
16691 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16692 cat >> confdefs.h
<<EOF
16693 #define $ac_tr_func 1
16697 echo "$ac_t""no" 1>&6
16702 for ac_func
in putenv setenv
16704 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16705 echo "configure:16706: checking for $ac_func" >&5
16706 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16707 echo $ac_n "(cached) $ac_c" 1>&6
16709 cat > conftest.
$ac_ext <<EOF
16710 #line 16711 "configure"
16711 #include "confdefs.h"
16712 /* System header to define __stub macros and hopefully few prototypes,
16713 which can conflict with char $ac_func(); below. */
16714 #include <assert.h>
16715 /* Override any gcc2 internal prototype to avoid an error. */
16716 /* We use char because int might match the return type of a gcc2
16717 builtin and then its argument prototype would still apply. */
16722 /* The GNU C library defines this for functions which it implements
16723 to always fail with ENOSYS. Some functions are actually named
16724 something starting with __ and the normal name is an alias. */
16725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16733 if { (eval echo configure
:16734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16735 eval "ac_cv_func_$ac_func=yes"
16737 echo "configure: failed program was:" >&5
16738 cat conftest.
$ac_ext >&5
16740 eval "ac_cv_func_$ac_func=no"
16745 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16746 echo "$ac_t""yes" 1>&6
16747 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16748 cat >> confdefs.h
<<EOF
16749 #define $ac_tr_func 1
16753 echo "$ac_t""no" 1>&6
16758 HAVE_SOME_SLEEP_FUNC
=0
16759 if test "$USE_BEOS" = 1; then
16760 cat >> confdefs.h
<<\EOF
16761 #define HAVE_SLEEP 1
16764 HAVE_SOME_SLEEP_FUNC
=1
16767 if test "$USE_DARWIN" = 1; then
16768 cat >> confdefs.h
<<\EOF
16769 #define HAVE_USLEEP 1
16772 HAVE_SOME_SLEEP_FUNC
=1
16775 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
16777 for ac_func
in nanosleep
16779 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16780 echo "configure:16781: checking for $ac_func" >&5
16781 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16782 echo $ac_n "(cached) $ac_c" 1>&6
16784 cat > conftest.
$ac_ext <<EOF
16785 #line 16786 "configure"
16786 #include "confdefs.h"
16787 /* System header to define __stub macros and hopefully few prototypes,
16788 which can conflict with char $ac_func(); below. */
16789 #include <assert.h>
16790 /* Override any gcc2 internal prototype to avoid an error. */
16791 /* We use char because int might match the return type of a gcc2
16792 builtin and then its argument prototype would still apply. */
16797 /* The GNU C library defines this for functions which it implements
16798 to always fail with ENOSYS. Some functions are actually named
16799 something starting with __ and the normal name is an alias. */
16800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16808 if { (eval echo configure
:16809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16810 eval "ac_cv_func_$ac_func=yes"
16812 echo "configure: failed program was:" >&5
16813 cat conftest.
$ac_ext >&5
16815 eval "ac_cv_func_$ac_func=no"
16820 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16821 echo "$ac_t""yes" 1>&6
16822 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16823 cat >> confdefs.h
<<EOF
16824 #define $ac_tr_func 1
16826 cat >> confdefs.h
<<\EOF
16827 #define HAVE_NANOSLEEP 1
16831 echo "$ac_t""no" 1>&6
16832 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
16833 echo "configure:16834: checking for nanosleep in -lposix4" >&5
16834 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
16835 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16836 echo $ac_n "(cached) $ac_c" 1>&6
16838 ac_save_LIBS
="$LIBS"
16839 LIBS
="-lposix4 $LIBS"
16840 cat > conftest.
$ac_ext <<EOF
16841 #line 16842 "configure"
16842 #include "confdefs.h"
16843 /* Override any gcc2 internal prototype to avoid an error. */
16844 /* We use char because int might match the return type of a gcc2
16845 builtin and then its argument prototype would still apply. */
16852 if { (eval echo configure
:16853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16854 eval "ac_cv_lib_$ac_lib_var=yes"
16856 echo "configure: failed program was:" >&5
16857 cat conftest.
$ac_ext >&5
16859 eval "ac_cv_lib_$ac_lib_var=no"
16862 LIBS
="$ac_save_LIBS"
16865 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16866 echo "$ac_t""yes" 1>&6
16868 cat >> confdefs.h
<<\EOF
16869 #define HAVE_NANOSLEEP 1
16872 POSIX4_LINK
=" -lposix4"
16875 echo "$ac_t""no" 1>&6
16877 for ac_func
in usleep
16879 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16880 echo "configure:16881: checking for $ac_func" >&5
16881 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16882 echo $ac_n "(cached) $ac_c" 1>&6
16884 cat > conftest.
$ac_ext <<EOF
16885 #line 16886 "configure"
16886 #include "confdefs.h"
16887 /* System header to define __stub macros and hopefully few prototypes,
16888 which can conflict with char $ac_func(); below. */
16889 #include <assert.h>
16890 /* Override any gcc2 internal prototype to avoid an error. */
16891 /* We use char because int might match the return type of a gcc2
16892 builtin and then its argument prototype would still apply. */
16897 /* The GNU C library defines this for functions which it implements
16898 to always fail with ENOSYS. Some functions are actually named
16899 something starting with __ and the normal name is an alias. */
16900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16908 if { (eval echo configure
:16909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16910 eval "ac_cv_func_$ac_func=yes"
16912 echo "configure: failed program was:" >&5
16913 cat conftest.
$ac_ext >&5
16915 eval "ac_cv_func_$ac_func=no"
16920 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16921 echo "$ac_t""yes" 1>&6
16922 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16923 cat >> confdefs.h
<<EOF
16924 #define $ac_tr_func 1
16926 cat >> confdefs.h
<<\EOF
16927 #define HAVE_USLEEP 1
16931 echo "$ac_t""no" 1>&6
16932 echo "configure: warning: wxSleep() function will not work" 1>&2
16948 for ac_func
in uname gethostname
16950 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16951 echo "configure:16952: checking for $ac_func" >&5
16952 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16953 echo $ac_n "(cached) $ac_c" 1>&6
16955 cat > conftest.
$ac_ext <<EOF
16956 #line 16957 "configure"
16957 #include "confdefs.h"
16958 /* System header to define __stub macros and hopefully few prototypes,
16959 which can conflict with char $ac_func(); below. */
16960 #include <assert.h>
16961 /* Override any gcc2 internal prototype to avoid an error. */
16962 /* We use char because int might match the return type of a gcc2
16963 builtin and then its argument prototype would still apply. */
16968 /* The GNU C library defines this for functions which it implements
16969 to always fail with ENOSYS. Some functions are actually named
16970 something starting with __ and the normal name is an alias. */
16971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16979 if { (eval echo configure
:16980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16981 eval "ac_cv_func_$ac_func=yes"
16983 echo "configure: failed program was:" >&5
16984 cat conftest.
$ac_ext >&5
16986 eval "ac_cv_func_$ac_func=no"
16991 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16992 echo "$ac_t""yes" 1>&6
16993 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16994 cat >> confdefs.h
<<EOF
16995 #define $ac_tr_func 1
16999 echo "$ac_t""no" 1>&6
17006 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17007 ac_cpp
='$CXXCPP $CPPFLAGS'
17008 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17009 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17010 cross_compiling
=$ac_cv_prog_cxx_cross
17013 for ac_func
in strtok_r
17015 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17016 echo "configure:17017: checking for $ac_func" >&5
17017 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17018 echo $ac_n "(cached) $ac_c" 1>&6
17020 cat > conftest.
$ac_ext <<EOF
17021 #line 17022 "configure"
17022 #include "confdefs.h"
17023 /* System header to define __stub macros and hopefully few prototypes,
17024 which can conflict with char $ac_func(); below. */
17025 #include <assert.h>
17026 /* Override any gcc2 internal prototype to avoid an error. */
17030 /* We use char because int might match the return type of a gcc2
17031 builtin and then its argument prototype would still apply. */
17036 /* The GNU C library defines this for functions which it implements
17037 to always fail with ENOSYS. Some functions are actually named
17038 something starting with __ and the normal name is an alias. */
17039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17047 if { (eval echo configure
:17048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17049 eval "ac_cv_func_$ac_func=yes"
17051 echo "configure: failed program was:" >&5
17052 cat conftest.
$ac_ext >&5
17054 eval "ac_cv_func_$ac_func=no"
17059 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17060 echo "$ac_t""yes" 1>&6
17061 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17062 cat >> confdefs.h
<<EOF
17063 #define $ac_tr_func 1
17067 echo "$ac_t""no" 1>&6
17073 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17074 ac_cpp
='$CPP $CPPFLAGS'
17075 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17076 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17077 cross_compiling
=$ac_cv_prog_cc_cross
17081 for ac_func
in inet_addr
17083 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17084 echo "configure:17085: checking for $ac_func" >&5
17085 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17086 echo $ac_n "(cached) $ac_c" 1>&6
17088 cat > conftest.
$ac_ext <<EOF
17089 #line 17090 "configure"
17090 #include "confdefs.h"
17091 /* System header to define __stub macros and hopefully few prototypes,
17092 which can conflict with char $ac_func(); below. */
17093 #include <assert.h>
17094 /* Override any gcc2 internal prototype to avoid an error. */
17095 /* We use char because int might match the return type of a gcc2
17096 builtin and then its argument prototype would still apply. */
17101 /* The GNU C library defines this for functions which it implements
17102 to always fail with ENOSYS. Some functions are actually named
17103 something starting with __ and the normal name is an alias. */
17104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17112 if { (eval echo configure
:17113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17114 eval "ac_cv_func_$ac_func=yes"
17116 echo "configure: failed program was:" >&5
17117 cat conftest.
$ac_ext >&5
17119 eval "ac_cv_func_$ac_func=no"
17124 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17125 echo "$ac_t""yes" 1>&6
17126 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17127 cat >> confdefs.h
<<EOF
17128 #define $ac_tr_func 1
17130 cat >> confdefs.h
<<\EOF
17131 #define HAVE_INET_ADDR 1
17135 echo "$ac_t""no" 1>&6
17136 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
17137 echo "configure:17138: checking for inet_addr in -lnsl" >&5
17138 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
17139 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17140 echo $ac_n "(cached) $ac_c" 1>&6
17142 ac_save_LIBS
="$LIBS"
17144 cat > conftest.
$ac_ext <<EOF
17145 #line 17146 "configure"
17146 #include "confdefs.h"
17147 /* Override any gcc2 internal prototype to avoid an error. */
17148 /* We use char because int might match the return type of a gcc2
17149 builtin and then its argument prototype would still apply. */
17156 if { (eval echo configure
:17157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17158 eval "ac_cv_lib_$ac_lib_var=yes"
17160 echo "configure: failed program was:" >&5
17161 cat conftest.
$ac_ext >&5
17163 eval "ac_cv_lib_$ac_lib_var=no"
17166 LIBS
="$ac_save_LIBS"
17169 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17170 echo "$ac_t""yes" 1>&6
17173 echo "$ac_t""no" 1>&6
17174 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
17175 echo "configure:17176: checking for inet_addr in -lresolv" >&5
17176 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
17177 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17178 echo $ac_n "(cached) $ac_c" 1>&6
17180 ac_save_LIBS
="$LIBS"
17181 LIBS
="-lresolv $LIBS"
17182 cat > conftest.
$ac_ext <<EOF
17183 #line 17184 "configure"
17184 #include "confdefs.h"
17185 /* Override any gcc2 internal prototype to avoid an error. */
17186 /* We use char because int might match the return type of a gcc2
17187 builtin and then its argument prototype would still apply. */
17194 if { (eval echo configure
:17195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17196 eval "ac_cv_lib_$ac_lib_var=yes"
17198 echo "configure: failed program was:" >&5
17199 cat conftest.
$ac_ext >&5
17201 eval "ac_cv_lib_$ac_lib_var=no"
17204 LIBS
="$ac_save_LIBS"
17207 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17208 echo "$ac_t""yes" 1>&6
17211 echo "$ac_t""no" 1>&6
17212 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
17213 echo "configure:17214: checking for inet_addr in -lsocket" >&5
17214 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
17215 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17216 echo $ac_n "(cached) $ac_c" 1>&6
17218 ac_save_LIBS
="$LIBS"
17219 LIBS
="-lsocket $LIBS"
17220 cat > conftest.
$ac_ext <<EOF
17221 #line 17222 "configure"
17222 #include "confdefs.h"
17223 /* Override any gcc2 internal prototype to avoid an error. */
17224 /* We use char because int might match the return type of a gcc2
17225 builtin and then its argument prototype would still apply. */
17232 if { (eval echo configure
:17233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17234 eval "ac_cv_lib_$ac_lib_var=yes"
17236 echo "configure: failed program was:" >&5
17237 cat conftest.
$ac_ext >&5
17239 eval "ac_cv_lib_$ac_lib_var=no"
17242 LIBS
="$ac_save_LIBS"
17245 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17246 echo "$ac_t""yes" 1>&6
17250 echo "$ac_t""no" 1>&6
17265 for ac_func
in inet_aton
17267 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17268 echo "configure:17269: checking for $ac_func" >&5
17269 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17270 echo $ac_n "(cached) $ac_c" 1>&6
17272 cat > conftest.
$ac_ext <<EOF
17273 #line 17274 "configure"
17274 #include "confdefs.h"
17275 /* System header to define __stub macros and hopefully few prototypes,
17276 which can conflict with char $ac_func(); below. */
17277 #include <assert.h>
17278 /* Override any gcc2 internal prototype to avoid an error. */
17279 /* We use char because int might match the return type of a gcc2
17280 builtin and then its argument prototype would still apply. */
17285 /* The GNU C library defines this for functions which it implements
17286 to always fail with ENOSYS. Some functions are actually named
17287 something starting with __ and the normal name is an alias. */
17288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17296 if { (eval echo configure
:17297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17298 eval "ac_cv_func_$ac_func=yes"
17300 echo "configure: failed program was:" >&5
17301 cat conftest.
$ac_ext >&5
17303 eval "ac_cv_func_$ac_func=no"
17308 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17309 echo "$ac_t""yes" 1>&6
17310 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17311 cat >> confdefs.h
<<EOF
17312 #define $ac_tr_func 1
17314 cat >> confdefs.h
<<\EOF
17315 #define HAVE_INET_ATON 1
17319 echo "$ac_t""no" 1>&6
17320 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
17321 echo "configure:17322: checking for inet_aton in -l$INET_LINK" >&5
17322 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
17323 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17324 echo $ac_n "(cached) $ac_c" 1>&6
17326 ac_save_LIBS
="$LIBS"
17327 LIBS
="-l$INET_LINK $LIBS"
17328 cat > conftest.
$ac_ext <<EOF
17329 #line 17330 "configure"
17330 #include "confdefs.h"
17331 /* Override any gcc2 internal prototype to avoid an error. */
17332 /* We use char because int might match the return type of a gcc2
17333 builtin and then its argument prototype would still apply. */
17340 if { (eval echo configure
:17341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17342 eval "ac_cv_lib_$ac_lib_var=yes"
17344 echo "configure: failed program was:" >&5
17345 cat conftest.
$ac_ext >&5
17347 eval "ac_cv_lib_$ac_lib_var=no"
17350 LIBS
="$ac_save_LIBS"
17353 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17354 echo "$ac_t""yes" 1>&6
17355 cat >> confdefs.h
<<\EOF
17356 #define HAVE_INET_ATON 1
17360 echo "$ac_t""no" 1>&6
17368 if test "x$INET_LINK" != "x"; then
17369 cat >> confdefs.h
<<\EOF
17370 #define HAVE_INET_ADDR 1
17373 INET_LINK
=" -l$INET_LINK"
17379 cat > confcache
<<\EOF
17380 # This file is a shell script that caches the results of configure
17381 # tests run on this system so they can be shared between configure
17382 # scripts and configure runs. It is not useful on other systems.
17383 # If it contains results you don't want to keep, you may remove or edit it.
17385 # By default, configure uses ./config.cache as the cache file,
17386 # creating it if it does not exist already. You can give configure
17387 # the --cache-file=FILE option to use a different cache file; that is
17388 # what configure does when it calls configure scripts in
17389 # subdirectories, so they share the cache.
17390 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17391 # config.status only pays attention to the cache file if you give it the
17392 # --recheck option to rerun configure.
17395 # The following way of writing the cache mishandles newlines in values,
17396 # but we know of no workaround that is simple, portable, and efficient.
17397 # So, don't put newlines in cache variables' values.
17398 # Ultrix sh set writes to stderr and can't be redirected directly,
17399 # and sets the high bit in the cache file unless we assign to the vars.
17401 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17403 # `set' does not quote correctly, so add quotes (double-quote substitution
17404 # turns \\\\ into \\, and sed turns \\ into \).
17406 -e "s/'/'\\\\''/g" \
17407 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17410 # `set' quotes correctly as required by POSIX, so do not add quotes.
17411 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17414 if cmp -s $cache_file confcache
; then
17417 if test -w $cache_file; then
17418 echo "updating cache $cache_file"
17419 cat confcache
> $cache_file
17421 echo "not updating unwritable cache $cache_file"
17429 if test "$TOOLKIT" != "MSW"; then
17435 if test "$wxUSE_THREADS" = "yes" ; then
17436 if test "$wxUSE_WINE" = 1 ; then
17437 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
17439 elif test "$USE_BEOS" = 1; then
17440 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
17445 if test "$wxUSE_THREADS" = "yes" ; then
17448 THREAD_OPTS
="-pthread"
17450 *-*-solaris2* | *-*-sunos4* )
17451 if test "x$GCC" = "xyes"; then
17452 THREAD_OPTS
="-pthreads $THREAD_OPTS"
17454 THREAD_OPTS
="-mt $THREAD_OPTS"
17458 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
17460 *-*-darwin* | *-*-cygwin* )
17464 THREAD_OPTS
="pthreads"
17468 THREAD_OPTS
="$THREAD_OPTS pthread none"
17471 for flag
in $THREAD_OPTS; do
17474 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
17475 echo "configure:17476: checking whether pthreads work without any flags" >&5
17479 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
17480 echo "configure:17481: checking whether pthreads work with $flag" >&5
17481 THREADS_CFLAGS
="$flag"
17485 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
17486 echo "configure:17487: checking for the pthreads library -l$flag" >&5
17487 THREADS_LINK
="-l$flag"
17492 save_CFLAGS
="$CFLAGS"
17493 LIBS
="$THREADS_LINK $LIBS"
17494 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
17496 cat > conftest.
$ac_ext <<EOF
17497 #line 17498 "configure"
17498 #include "confdefs.h"
17499 #include <pthread.h>
17501 pthread_create(0,0,0,0);
17504 if { (eval echo configure
:17505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17508 echo "configure: failed program was:" >&5
17509 cat conftest.
$ac_ext >&5
17514 CFLAGS
="$save_CFLAGS"
17516 echo "$ac_t""$THREADS_OK" 1>&6
17517 if test "x$THREADS_OK" = "xyes"; then
17525 if test "x$THREADS_OK" != "xyes"; then
17527 echo "configure: warning: No thread support on this system... disabled" 1>&2
17529 LIBS
="$THREADS_LINK $THREADS_CFLAGS $LIBS"
17531 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
17532 echo "configure:17533: checking if more special flags are required for pthreads" >&5
17535 *-aix* | *-freebsd*)
17536 flag
="-D_THREAD_SAFE"
17538 *solaris
* | alpha
*-osf*)
17539 flag
="-D_REENTRANT"
17542 echo "$ac_t""${flag}" 1>&6
17543 if test "x$flag" != xno
; then
17544 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
17547 if test "x$THREADS_CFLAGS" != "x"; then
17548 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
17549 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
17554 if test "$wxUSE_THREADS" = "yes" ; then
17555 for ac_func
in thr_setconcurrency
17557 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17558 echo "configure:17559: checking for $ac_func" >&5
17559 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17560 echo $ac_n "(cached) $ac_c" 1>&6
17562 cat > conftest.
$ac_ext <<EOF
17563 #line 17564 "configure"
17564 #include "confdefs.h"
17565 /* System header to define __stub macros and hopefully few prototypes,
17566 which can conflict with char $ac_func(); below. */
17567 #include <assert.h>
17568 /* Override any gcc2 internal prototype to avoid an error. */
17569 /* We use char because int might match the return type of a gcc2
17570 builtin and then its argument prototype would still apply. */
17575 /* The GNU C library defines this for functions which it implements
17576 to always fail with ENOSYS. Some functions are actually named
17577 something starting with __ and the normal name is an alias. */
17578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17586 if { (eval echo configure
:17587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17588 eval "ac_cv_func_$ac_func=yes"
17590 echo "configure: failed program was:" >&5
17591 cat conftest.
$ac_ext >&5
17593 eval "ac_cv_func_$ac_func=no"
17598 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17599 echo "$ac_t""yes" 1>&6
17600 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17601 cat >> confdefs.h
<<EOF
17602 #define $ac_tr_func 1
17606 echo "$ac_t""no" 1>&6
17611 for ac_hdr
in sched.h
17613 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17614 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17615 echo "configure:17616: checking for $ac_hdr" >&5
17616 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17617 echo $ac_n "(cached) $ac_c" 1>&6
17619 cat > conftest.
$ac_ext <<EOF
17620 #line 17621 "configure"
17621 #include "confdefs.h"
17624 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17625 { (eval echo configure
:17626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17626 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17627 if test -z "$ac_err"; then
17629 eval "ac_cv_header_$ac_safe=yes"
17632 echo "configure: failed program was:" >&5
17633 cat conftest.
$ac_ext >&5
17635 eval "ac_cv_header_$ac_safe=no"
17639 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17640 echo "$ac_t""yes" 1>&6
17641 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17642 cat >> confdefs.h
<<EOF
17643 #define $ac_tr_hdr 1
17647 echo "$ac_t""no" 1>&6
17651 if test "$ac_cv_header_sched_h" = "yes"; then
17652 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
17653 echo "configure:17654: checking for sched_yield" >&5
17654 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
17655 echo $ac_n "(cached) $ac_c" 1>&6
17657 cat > conftest.
$ac_ext <<EOF
17658 #line 17659 "configure"
17659 #include "confdefs.h"
17660 /* System header to define __stub macros and hopefully few prototypes,
17661 which can conflict with char sched_yield(); below. */
17662 #include <assert.h>
17663 /* Override any gcc2 internal prototype to avoid an error. */
17664 /* We use char because int might match the return type of a gcc2
17665 builtin and then its argument prototype would still apply. */
17666 char sched_yield();
17670 /* The GNU C library defines this for functions which it implements
17671 to always fail with ENOSYS. Some functions are actually named
17672 something starting with __ and the normal name is an alias. */
17673 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
17681 if { (eval echo configure
:17682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17683 eval "ac_cv_func_sched_yield=yes"
17685 echo "configure: failed program was:" >&5
17686 cat conftest.
$ac_ext >&5
17688 eval "ac_cv_func_sched_yield=no"
17693 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
17694 echo "$ac_t""yes" 1>&6
17695 cat >> confdefs.h
<<\EOF
17696 #define HAVE_SCHED_YIELD 1
17700 echo "$ac_t""no" 1>&6
17702 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
17703 echo "configure:17704: checking for sched_yield in -lposix4" >&5
17704 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
17705 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17706 echo $ac_n "(cached) $ac_c" 1>&6
17708 ac_save_LIBS
="$LIBS"
17709 LIBS
="-lposix4 $LIBS"
17710 cat > conftest.
$ac_ext <<EOF
17711 #line 17712 "configure"
17712 #include "confdefs.h"
17713 /* Override any gcc2 internal prototype to avoid an error. */
17714 /* We use char because int might match the return type of a gcc2
17715 builtin and then its argument prototype would still apply. */
17716 char sched_yield();
17722 if { (eval echo configure
:17723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17724 eval "ac_cv_lib_$ac_lib_var=yes"
17726 echo "configure: failed program was:" >&5
17727 cat conftest.
$ac_ext >&5
17729 eval "ac_cv_lib_$ac_lib_var=no"
17732 LIBS
="$ac_save_LIBS"
17735 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17736 echo "$ac_t""yes" 1>&6
17737 cat >> confdefs.h
<<\EOF
17738 #define HAVE_SCHED_YIELD 1
17740 POSIX4_LINK
=" -lposix4"
17742 echo "$ac_t""no" 1>&6
17743 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
17754 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
17755 echo "configure:17756: checking for pthread_attr_getschedpolicy" >&5
17756 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
17757 echo $ac_n "(cached) $ac_c" 1>&6
17759 cat > conftest.
$ac_ext <<EOF
17760 #line 17761 "configure"
17761 #include "confdefs.h"
17762 /* System header to define __stub macros and hopefully few prototypes,
17763 which can conflict with char pthread_attr_getschedpolicy(); below. */
17764 #include <assert.h>
17765 /* Override any gcc2 internal prototype to avoid an error. */
17766 /* We use char because int might match the return type of a gcc2
17767 builtin and then its argument prototype would still apply. */
17768 char pthread_attr_getschedpolicy();
17772 /* The GNU C library defines this for functions which it implements
17773 to always fail with ENOSYS. Some functions are actually named
17774 something starting with __ and the normal name is an alias. */
17775 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
17778 pthread_attr_getschedpolicy();
17783 if { (eval echo configure
:17784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17785 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
17787 echo "configure: failed program was:" >&5
17788 cat conftest.
$ac_ext >&5
17790 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
17795 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
17796 echo "$ac_t""yes" 1>&6
17797 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
17798 echo "configure:17799: checking for pthread_attr_setschedparam" >&5
17799 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
17800 echo $ac_n "(cached) $ac_c" 1>&6
17802 cat > conftest.
$ac_ext <<EOF
17803 #line 17804 "configure"
17804 #include "confdefs.h"
17805 /* System header to define __stub macros and hopefully few prototypes,
17806 which can conflict with char pthread_attr_setschedparam(); below. */
17807 #include <assert.h>
17808 /* Override any gcc2 internal prototype to avoid an error. */
17809 /* We use char because int might match the return type of a gcc2
17810 builtin and then its argument prototype would still apply. */
17811 char pthread_attr_setschedparam();
17815 /* The GNU C library defines this for functions which it implements
17816 to always fail with ENOSYS. Some functions are actually named
17817 something starting with __ and the normal name is an alias. */
17818 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
17821 pthread_attr_setschedparam();
17826 if { (eval echo configure
:17827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17828 eval "ac_cv_func_pthread_attr_setschedparam=yes"
17830 echo "configure: failed program was:" >&5
17831 cat conftest.
$ac_ext >&5
17833 eval "ac_cv_func_pthread_attr_setschedparam=no"
17838 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
17839 echo "$ac_t""yes" 1>&6
17840 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
17841 echo "configure:17842: checking for sched_get_priority_max" >&5
17842 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
17843 echo $ac_n "(cached) $ac_c" 1>&6
17845 cat > conftest.
$ac_ext <<EOF
17846 #line 17847 "configure"
17847 #include "confdefs.h"
17848 /* System header to define __stub macros and hopefully few prototypes
17850 echo "$ac_t""no" 1>&6
17851 which can conflict with char sched_get_priority_max(); below. */
17852 #include <assert.h>
17853 /* Override any gcc2 internal prototype to avoid an error. */
17854 /* We use char because int might match the return type of a gcc2
17855 builtin and then its argument prototype would still apply. */
17856 char sched_get_priority_max();
17860 /* The GNU C library defines this for functions which it implements
17861 to always fail with ENOSYS. Some functions are actually named
17862 something starting with __ and the normal name is an alias. */
17863 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
17866 sched_get_priority_max();
17871 if { (eval echo configure
:17872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17873 eval "ac_cv_func_sched_get_priority_max=yes"
17875 echo "configure: failed program was:" >&5
17876 cat conftest.
$ac_ext >&5
17878 eval "ac_cv_func_sched_get_priority_max=no"
17883 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
17884 echo "$ac_t""yes" 1>&6
17887 echo "$ac_t""no" 1>&6
17888 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
17889 echo "configure:17890: checking for sched_get_priority_max in -lposix4" >&5
17890 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17891 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17892 echo $ac_n "(cached) $ac_c" 1>&6
17894 ac_save_LIBS
="$LIBS"
17895 LIBS
="-lposix4 $LIBS"
17896 cat > conftest.
$ac_ext <<EOF
17897 #line 17898 "configure"
17898 #include "confdefs.h"
17899 /* Override any gcc2 internal prototype to avoid an error. */
17900 /* We use char because int might match the return type of a gcc2
17901 builtin and then its argument prototype would still apply. */
17902 char sched_get_priority_max();
17905 sched_get_priority_max()
17908 if { (eval echo configure
:17909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17910 eval "ac_cv_lib_$ac_lib_var=yes"
17912 echo "configure: failed program was:" >&5
17913 cat conftest.
$ac_ext >&5
17915 eval "ac_cv_lib_$ac_lib_var=no"
17918 LIBS
="$ac_save_LIBS"
17921 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17922 echo "$ac_t""yes" 1>&6
17925 POSIX4_LINK
=" -lposix4"
17928 echo "$ac_t""no" 1>&6
17936 echo "$ac_t""no" 1>&6
17943 if test "$HAVE_PRIOR_FUNCS" = 1; then
17944 cat >> confdefs.h
<<\EOF
17945 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
17949 echo "configure: warning: Setting thread priority will not work" 1>&2
17952 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
17953 echo "configure:17954: checking for pthread_cancel" >&5
17954 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
17955 echo $ac_n "(cached) $ac_c" 1>&6
17957 cat > conftest.
$ac_ext <<EOF
17958 #line 17959 "configure"
17959 #include "confdefs.h"
17960 /* System header to define __stub macros and hopefully few prototypes,
17961 which can conflict with char pthread_cancel(); below. */
17962 #include <assert.h>
17963 /* Override any gcc2 internal prototype to avoid an error. */
17964 /* We use char because int might match the return type of a gcc2
17965 builtin and then its argument prototype would still apply. */
17966 char pthread_cancel();
17970 /* The GNU C library defines this for functions which it implements
17971 to always fail with ENOSYS. Some functions are actually named
17972 something starting with __ and the normal name is an alias. */
17973 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
17981 if { (eval echo configure
:17982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17983 eval "ac_cv_func_pthread_cancel=yes"
17985 echo "configure: failed program was:" >&5
17986 cat conftest.
$ac_ext >&5
17988 eval "ac_cv_func_pthread_cancel=no"
17993 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
17994 echo "$ac_t""yes" 1>&6
17995 cat >> confdefs.h
<<\EOF
17996 #define HAVE_PTHREAD_CANCEL 1
18000 echo "$ac_t""no" 1>&6
18001 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
18005 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
18006 echo "configure:18007: checking for pthread_cleanup_push/pop" >&5
18007 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
18008 echo $ac_n "(cached) $ac_c" 1>&6
18011 cat > conftest.
$ac_ext <<EOF
18012 #line 18013 "configure"
18013 #include "confdefs.h"
18014 #include <pthread.h>
18017 pthread_cleanup_push(NULL, NULL);
18018 pthread_cleanup_pop(0);
18022 if { (eval echo configure
:18023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18025 wx_cv_func_pthread_cleanup_push
=yes
18028 echo "configure: failed program was:" >&5
18029 cat conftest.
$ac_ext >&5
18032 wx_cv_func_pthread_cleanup_push
=no
18039 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
18041 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
18042 cat >> confdefs.h
<<\EOF
18043 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
18049 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18050 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
18053 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
18054 echo "configure:18055: checking for pthread_mutexattr_t" >&5
18055 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
18056 echo $ac_n "(cached) $ac_c" 1>&6
18059 cat > conftest.
$ac_ext <<EOF
18060 #line 18061 "configure"
18061 #include "confdefs.h"
18062 #include <pthread.h>
18065 pthread_mutexattr_t attr;
18066 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
18070 if { (eval echo configure
:18071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18073 wx_cv_type_pthread_mutexattr_t
=yes
18076 echo "configure: failed program was:" >&5
18077 cat conftest.
$ac_ext >&5
18080 wx_cv_type_pthread_mutexattr_t
=no
18088 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
18090 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
18091 cat >> confdefs.h
<<\EOF
18092 #define HAVE_PTHREAD_MUTEXATTR_T 1
18096 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
18097 echo "configure:18098: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
18098 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
18099 echo $ac_n "(cached) $ac_c" 1>&6
18102 cat > conftest.
$ac_ext <<EOF
18103 #line 18104 "configure"
18104 #include "confdefs.h"
18105 #include <pthread.h>
18108 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
18112 if { (eval echo configure
:18113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18115 wx_cv_type_pthread_rec_mutex_init
=yes
18118 echo "configure: failed program was:" >&5
18119 cat conftest.
$ac_ext >&5
18122 wx_cv_type_pthread_rec_mutex_init
=no
18130 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
18131 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
18132 cat >> confdefs.h
<<\EOF
18133 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
18137 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
18144 if test "$wxUSE_THREADS" = "yes"; then
18145 cat >> confdefs.h
<<\EOF
18146 #define wxUSE_THREADS 1
18150 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
18152 if test "$ac_cv_func_strtok_r" = "yes"; then
18153 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
18154 echo "configure:18155: checking if -D_REENTRANT is needed" >&5
18155 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
18156 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
18157 echo "$ac_t""yes" 1>&6
18159 echo "$ac_t""no" 1>&6
18164 if test "$WXGTK20" = 1 ; then
18165 cat >> confdefs.h
<<EOF
18166 #define __WXGTK20__ $WXGTK20
18172 if test "$WXGTK12" = 1 ; then
18173 cat >> confdefs.h
<<EOF
18174 #define __WXGTK12__ $WXGTK12
18179 if test "$WXGTK127" = 1 ; then
18180 cat >> confdefs.h
<<EOF
18181 #define __WXGTK127__ $WXGTK127
18188 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
18193 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
18194 wxUSE_DEBUG_INFO
=yes
18198 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
18199 cat >> confdefs.h
<<\EOF
18203 WXDEBUG_DEFINE
="-D__WXDEBUG__"
18205 if test "$wxUSE_GTK" = 1 ; then
18206 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
18210 if test "$wxUSE_MEM_TRACING" = "yes" ; then
18211 cat >> confdefs.h
<<\EOF
18212 #define wxUSE_MEMORY_TRACING 1
18215 cat >> confdefs.h
<<\EOF
18216 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
18219 cat >> confdefs.h
<<\EOF
18220 #define wxUSE_DEBUG_NEW_ALWAYS 1
18223 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
18226 if test "$wxUSE_DMALLOC" = "yes" ; then
18227 DMALLOC_LIBS
="-ldmalloc"
18231 if test "$wxUSE_PROFILE" = "yes" ; then
18236 CODE_GEN_FLAGS_CXX
=
18237 if test "$GCC" = "yes" ; then
18238 if test "$wxUSE_NO_RTTI" = "yes" ; then
18239 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
18241 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
18242 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
18244 if test "$wxUSE_PERMISSIVE" = "yes" ; then
18245 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
18247 if test "$USE_WIN32" = 1 ; then
18248 # I'm not even really sure what this was ever added to solve,
18249 # but someone added it for mingw native builds, so I guess
18250 # they had a reason, right??
18251 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
18256 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
18261 if test "$wxUSE_OPTIMISE" = "no" ; then
18264 if test "$GCC" = yes ; then
18267 i586
-*-*|i686
-*-* )
18268 OPTIMISE
="${OPTIMISE} "
18276 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
18277 cat >> confdefs.h
<<\EOF
18278 #define WXWIN_COMPATIBILITY_2 1
18282 WXWIN_COMPATIBILITY_2_2
="yes"
18285 if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
18286 cat >> confdefs.h
<<\EOF
18287 #define WXWIN_COMPATIBILITY_2_2 1
18293 if test "$wxUSE_GUI" = "yes"; then
18294 cat >> confdefs.h
<<\EOF
18295 #define wxUSE_GUI 1
18300 cat >> confdefs.h
<<\EOF
18301 #define wxUSE_NOGUI 1
18307 if test "$wxUSE_UNIX" = "yes"; then
18308 cat >> confdefs.h
<<\EOF
18309 #define wxUSE_UNIX 1
18315 if test "$wxUSE_APPLE_IEEE" = "yes"; then
18316 cat >> confdefs.h
<<\EOF
18317 #define wxUSE_APPLE_IEEE 1
18322 if test "$wxUSE_TIMER" = "yes"; then
18323 cat >> confdefs.h
<<\EOF
18324 #define wxUSE_TIMER 1
18329 if test "$wxUSE_WAVE" = "yes"; then
18330 cat >> confdefs.h
<<\EOF
18331 #define wxUSE_WAVE 1
18336 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
18337 cat >> confdefs.h
<<\EOF
18338 #define wxUSE_CMDLINE_PARSER 1
18343 if test "$wxUSE_STOPWATCH" = "yes"; then
18344 cat >> confdefs.h
<<\EOF
18345 #define wxUSE_STOPWATCH 1
18350 if test "$wxUSE_DATETIME" = "yes"; then
18351 cat >> confdefs.h
<<\EOF
18352 #define wxUSE_DATETIME 1
18357 if test "$wxUSE_TIMEDATE" = "yes"; then
18358 cat >> confdefs.h
<<\EOF
18359 #define wxUSE_TIMEDATE 1
18364 if test "$wxUSE_FILE" = "yes"; then
18365 cat >> confdefs.h
<<\EOF
18366 #define wxUSE_FILE 1
18371 if test "$wxUSE_FFILE" = "yes"; then
18372 cat >> confdefs.h
<<\EOF
18373 #define wxUSE_FFILE 1
18378 if test "$wxUSE_FILESYSTEM" = "yes"; then
18379 cat >> confdefs.h
<<\EOF
18380 #define wxUSE_FILESYSTEM 1
18385 if test "$wxUSE_FS_INET" = "yes"; then
18386 cat >> confdefs.h
<<\EOF
18387 #define wxUSE_FS_INET 1
18392 if test "$wxUSE_FS_ZIP" = "yes"; then
18393 cat >> confdefs.h
<<\EOF
18394 #define wxUSE_FS_ZIP 1
18399 if test "$wxUSE_ZIPSTREAM" = "yes"; then
18400 cat >> confdefs.h
<<\EOF
18401 #define wxUSE_ZIPSTREAM 1
18406 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
18407 cat >> confdefs.h
<<\EOF
18408 #define wxUSE_ON_FATAL_EXCEPTION 1
18413 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18414 cat >> confdefs.h
<<\EOF
18415 #define wxUSE_SNGLINST_CHECKER 1
18420 if test "$wxUSE_BUSYINFO" = "yes"; then
18421 cat >> confdefs.h
<<\EOF
18422 #define wxUSE_BUSYINFO 1
18427 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
18428 cat >> confdefs.h
<<\EOF
18429 #define wxUSE_STD_IOSTREAM 1
18434 if test "$wxUSE_TEXTBUFFER" = "yes"; then
18435 cat >> confdefs.h
<<\EOF
18436 #define wxUSE_TEXTBUFFER 1
18441 if test "$wxUSE_TEXTFILE" = "yes"; then
18442 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
18443 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
18445 cat >> confdefs.h
<<\EOF
18446 #define wxUSE_TEXTFILE 1
18452 if test "$wxUSE_CONFIG" = "yes" ; then
18453 if test "$wxUSE_TEXTFILE" != "yes"; then
18454 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
18456 cat >> confdefs.h
<<\EOF
18457 #define wxUSE_CONFIG 1
18460 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
18464 if test "$wxUSE_INTL" = "yes" ; then
18465 if test "$wxUSE_FILE" != "yes"; then
18466 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
18468 cat >> confdefs.h
<<\EOF
18469 #define wxUSE_INTL 1
18472 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
18473 GUIDIST
="$GUIDIST INTL_DIST"
18477 if test "$wxUSE_LOG" = "yes"; then
18478 cat >> confdefs.h
<<\EOF
18479 #define wxUSE_LOG 1
18483 if test "$wxUSE_LOGGUI" = "yes"; then
18484 cat >> confdefs.h
<<\EOF
18485 #define wxUSE_LOGGUI 1
18490 if test "$wxUSE_LOGWINDOW" = "yes"; then
18491 cat >> confdefs.h
<<\EOF
18492 #define wxUSE_LOGWINDOW 1
18497 if test "$wxUSE_LOGDIALOG" = "yes"; then
18498 cat >> confdefs.h
<<\EOF
18499 #define wxUSE_LOG_DIALOG 1
18505 if test "$wxUSE_LONGLONG" = "yes"; then
18506 cat >> confdefs.h
<<\EOF
18507 #define wxUSE_LONGLONG 1
18512 if test "$wxUSE_GEOMETRY" = "yes"; then
18513 cat >> confdefs.h
<<\EOF
18514 #define wxUSE_GEOMETRY 1
18519 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
18520 cat >> confdefs.h
<<\EOF
18521 #define wxUSE_DIALUP_MANAGER 1
18524 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
18527 if test "$wxUSE_STREAMS" = "yes" ; then
18528 cat >> confdefs.h
<<\EOF
18529 #define wxUSE_STREAMS 1
18535 if test "$wxUSE_DATETIME" = "yes"; then
18536 for ac_func
in strptime
18538 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18539 echo "configure:18540: checking for $ac_func" >&5
18540 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18541 echo $ac_n "(cached) $ac_c" 1>&6
18543 cat > conftest.
$ac_ext <<EOF
18544 #line 18545 "configure"
18545 #include "confdefs.h"
18546 /* System header to define __stub macros and hopefully few prototypes,
18547 which can conflict with char $ac_func(); below. */
18548 #include <assert.h>
18549 /* Override any gcc2 internal prototype to avoid an error. */
18550 /* We use char because int might match the return type of a gcc2
18551 builtin and then its argument prototype would still apply. */
18556 /* The GNU C library defines this for functions which it implements
18557 to always fail with ENOSYS. Some functions are actually named
18558 something starting with __ and the normal name is an alias. */
18559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18567 if { (eval echo configure
:18568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18569 eval "ac_cv_func_$ac_func=yes"
18571 echo "configure: failed program was:" >&5
18572 cat conftest.
$ac_ext >&5
18574 eval "ac_cv_func_$ac_func=no"
18579 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18580 echo "$ac_t""yes" 1>&6
18581 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18582 cat >> confdefs.h
<<EOF
18583 #define $ac_tr_func 1
18587 echo "$ac_t""no" 1>&6
18592 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
18593 echo "configure:18594: checking for timezone variable in <time.h>" >&5
18594 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
18595 echo $ac_n "(cached) $ac_c" 1>&6
18598 cat > conftest.
$ac_ext <<EOF
18599 #line 18600 "configure"
18600 #include "confdefs.h"
18611 if { (eval echo configure
:18612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18614 wx_cv_var_timezone
=timezone
18617 echo "configure: failed program was:" >&5
18618 cat conftest.
$ac_ext >&5
18621 cat > conftest.
$ac_ext <<EOF
18622 #line 18623 "configure"
18623 #include "confdefs.h"
18634 if { (eval echo configure
:18635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18637 wx_cv_var_timezone
=_timezone
18640 echo "configure: failed program was:" >&5
18641 cat conftest.
$ac_ext >&5
18644 cat > conftest.
$ac_ext <<EOF
18645 #line 18646 "configure"
18646 #include "confdefs.h"
18657 if { (eval echo configure
:18658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18660 wx_cv_var_timezone
=__timezone
18663 echo "configure: failed program was:" >&5
18664 cat conftest.
$ac_ext >&5
18667 if test "$USE_DOS" = 0 ; then
18668 echo "configure: warning: no timezone variable" 1>&2
18686 echo "$ac_t""$wx_cv_var_timezone" 1>&6
18688 if test "x$wx_cv_var_timezone" != x
; then
18689 cat >> confdefs.h
<<EOF
18690 #define WX_TIMEZONE $wx_cv_var_timezone
18695 for ac_func
in localtime
18697 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18698 echo "configure:18699: checking for $ac_func" >&5
18699 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18700 echo $ac_n "(cached) $ac_c" 1>&6
18702 cat > conftest.
$ac_ext <<EOF
18703 #line 18704 "configure"
18704 #include "confdefs.h"
18705 /* System header to define __stub macros and hopefully few prototypes,
18706 which can conflict with char $ac_func(); below. */
18707 #include <assert.h>
18708 /* Override any gcc2 internal prototype to avoid an error. */
18709 /* We use char because int might match the return type of a gcc2
18710 builtin and then its argument prototype would still apply. */
18715 /* The GNU C library defines this for functions which it implements
18716 to always fail with ENOSYS. Some functions are actually named
18717 something starting with __ and the normal name is an alias. */
18718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18726 if { (eval echo configure
:18727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18728 eval "ac_cv_func_$ac_func=yes"
18730 echo "configure: failed program was:" >&5
18731 cat conftest.
$ac_ext >&5
18733 eval "ac_cv_func_$ac_func=no"
18738 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18739 echo "$ac_t""yes" 1>&6
18740 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18741 cat >> confdefs.h
<<EOF
18742 #define $ac_tr_func 1
18746 echo "$ac_t""no" 1>&6
18751 if test "$ac_cv_func_localtime" = "yes"; then
18752 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
18753 echo "configure:18754: checking for tm_gmtoff in struct tm" >&5
18754 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
18755 echo $ac_n "(cached) $ac_c" 1>&6
18758 cat > conftest.
$ac_ext <<EOF
18759 #line 18760 "configure"
18760 #include "confdefs.h"
18771 if { (eval echo configure
:18772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18774 wx_cv_struct_tm_has_gmtoff
=yes
18777 echo "configure: failed program was:" >&5
18778 cat conftest.
$ac_ext >&5
18780 wx_cv_struct_tm_has_gmtoff
=no
18787 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
18790 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
18791 cat >> confdefs.h
<<\EOF
18792 #define WX_GMTOFF_IN_TM 1
18797 for ac_func
in gettimeofday ftime
18799 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18800 echo "configure:18801: checking for $ac_func" >&5
18801 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18802 echo $ac_n "(cached) $ac_c" 1>&6
18804 cat > conftest.
$ac_ext <<EOF
18805 #line 18806 "configure"
18806 #include "confdefs.h"
18807 /* System header to define __stub macros and hopefully few prototypes,
18808 which can conflict with char $ac_func(); below. */
18809 #include <assert.h>
18810 /* Override any gcc2 internal prototype to avoid an error. */
18811 /* We use char because int might match the return type of a gcc2
18812 builtin and then its argument prototype would still apply. */
18817 /* The GNU C library defines this for functions which it implements
18818 to always fail with ENOSYS. Some functions are actually named
18819 something starting with __ and the normal name is an alias. */
18820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18828 if { (eval echo configure
:18829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18830 eval "ac_cv_func_$ac_func=yes"
18832 echo "configure: failed program was:" >&5
18833 cat conftest.
$ac_ext >&5
18835 eval "ac_cv_func_$ac_func=no"
18840 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18841 echo "$ac_t""yes" 1>&6
18842 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18843 cat >> confdefs.h
<<EOF
18844 #define $ac_tr_func 1
18848 echo "$ac_t""no" 1>&6
18853 if test "$ac_cv_func_gettimeofday" = "yes"; then
18854 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
18855 echo "configure:18856: checking whether gettimeofday takes two arguments" >&5
18856 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
18857 echo $ac_n "(cached) $ac_c" 1>&6
18862 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18863 ac_cpp
='$CXXCPP $CPPFLAGS'
18864 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18865 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18866 cross_compiling
=$ac_cv_prog_cxx_cross
18869 cat > conftest.
$ac_ext <<EOF
18870 #line 18871 "configure"
18871 #include "confdefs.h"
18873 #include <sys/time.h>
18874 #include <unistd.h>
18879 gettimeofday(&tv, NULL);
18883 if { (eval echo configure
:18884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18885 wx_cv_func_gettimeofday_has_2_args
=yes
18887 echo "configure: failed program was:" >&5
18888 cat conftest.
$ac_ext >&5
18890 cat > conftest.
$ac_ext <<EOF
18891 #line 18892 "configure"
18892 #include "confdefs.h"
18894 #include <sys/time.h>
18895 #include <unistd.h>
18904 if { (eval echo configure
:18905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18906 wx_cv_func_gettimeofday_has_2_args
=no
18908 echo "configure: failed program was:" >&5
18909 cat conftest.
$ac_ext >&5
18912 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
18913 wx_cv_func_gettimeofday_has_2_args
=unknown
18922 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18923 ac_cpp
='$CPP $CPPFLAGS'
18924 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18925 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18926 cross_compiling
=$ac_cv_prog_cc_cross
18931 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
18933 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
18934 cat >> confdefs.h
<<\EOF
18935 #define WX_GETTIMEOFDAY_NO_TZ 1
18941 cat >> confdefs.h
<<\EOF
18942 #define wxUSE_TIMEDATE 1
18945 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
18949 if test "$wxUSE_SOCKETS" = "yes"; then
18950 if test "$wxUSE_X11" = "1"; then
18951 echo "configure: warning: wxSocket not yet supported under X11... disabled" 1>&2
18955 if test "$wxUSE_MGL" = "1"; then
18956 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
18961 if test "$wxUSE_SOCKETS" = "yes"; then
18962 if test "$TOOLKIT" != "MSW"; then
18963 echo $ac_n "checking for socket""... $ac_c" 1>&6
18964 echo "configure:18965: checking for socket" >&5
18965 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
18966 echo $ac_n "(cached) $ac_c" 1>&6
18968 cat > conftest.
$ac_ext <<EOF
18969 #line 18970 "configure"
18970 #include "confdefs.h"
18971 /* System header to define __stub macros and hopefully few prototypes,
18972 which can conflict with char socket(); below. */
18973 #include <assert.h>
18974 /* Override any gcc2 internal prototype to avoid an error. */
18975 /* We use char because int might match the return type of a gcc2
18976 builtin and then its argument prototype would still apply. */
18981 /* The GNU C library defines this for functions which it implements
18982 to always fail with ENOSYS. Some functions are actually named
18983 something starting with __ and the normal name is an alias. */
18984 #if defined (__stub_socket) || defined (__stub___socket)
18992 if { (eval echo configure
:18993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18994 eval "ac_cv_func_socket=yes"
18996 echo "configure: failed program was:" >&5
18997 cat conftest.
$ac_ext >&5
18999 eval "ac_cv_func_socket=no"
19004 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
19005 echo "$ac_t""yes" 1>&6
19008 echo "$ac_t""no" 1>&6
19009 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
19010 echo "configure:19011: checking for socket in -lsocket" >&5
19011 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
19012 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19013 echo $ac_n "(cached) $ac_c" 1>&6
19015 ac_save_LIBS
="$LIBS"
19016 LIBS
="-lsocket $LIBS"
19017 cat > conftest.
$ac_ext <<EOF
19018 #line 19019 "configure"
19019 #include "confdefs.h"
19020 /* Override any gcc2 internal prototype to avoid an error. */
19021 /* We use char because int might match the return type of a gcc2
19022 builtin and then its argument prototype would still apply. */
19029 if { (eval echo configure
:19030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19031 eval "ac_cv_lib_$ac_lib_var=yes"
19033 echo "configure: failed program was:" >&5
19034 cat conftest.
$ac_ext >&5
19036 eval "ac_cv_lib_$ac_lib_var=no"
19039 LIBS
="$ac_save_LIBS"
19042 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19043 echo "$ac_t""yes" 1>&6
19044 if test "$INET_LINK" != " -lsocket"; then
19045 INET_LINK
="$INET_LINK -lsocket"
19048 echo "$ac_t""no" 1>&6
19050 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
19062 if test "$wxUSE_SOCKETS" = "yes" ; then
19063 if test "$TOOLKIT" != "MSW"; then
19064 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
19065 echo "configure:19066: checking what is the type of the third argument of getsockname" >&5
19066 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
19067 echo $ac_n "(cached) $ac_c" 1>&6
19072 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19073 ac_cpp
='$CXXCPP $CPPFLAGS'
19074 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19075 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19076 cross_compiling
=$ac_cv_prog_cxx_cross
19079 cat > conftest.
$ac_ext <<EOF
19080 #line 19081 "configure"
19081 #include "confdefs.h"
19083 #include <sys/types.h>
19084 #include <sys/socket.h>
19089 getsockname(0, 0, &len);
19093 if { (eval echo configure
:19094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19095 wx_cv_type_getsockname3
=socklen_t
19097 echo "configure: failed program was:" >&5
19098 cat conftest.
$ac_ext >&5
19100 cat > conftest.
$ac_ext <<EOF
19101 #line 19102 "configure"
19102 #include "confdefs.h"
19104 #include <sys/types.h>
19105 #include <sys/socket.h>
19110 getsockname(0, 0, &len);
19114 if { (eval echo configure
:19115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19116 wx_cv_type_getsockname3
=size_t
19118 echo "configure: failed program was:" >&5
19119 cat conftest.
$ac_ext >&5
19121 cat > conftest.
$ac_ext <<EOF
19122 #line 19123 "configure"
19123 #include "confdefs.h"
19125 #include <sys/types.h>
19126 #include <sys/socket.h>
19131 getsockname(0, 0, &len);
19135 if { (eval echo configure
:19136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19137 wx_cv_type_getsockname3
=int
19139 echo "configure: failed program was:" >&5
19140 cat conftest.
$ac_ext >&5
19142 wx_cv_type_getsockname3
=unknown
19154 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19155 ac_cpp
='$CPP $CPPFLAGS'
19156 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19157 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19158 cross_compiling
=$ac_cv_prog_cc_cross
19163 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
19165 if test "$wx_cv_type_getsockname3" = "unknown"; then
19167 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
19169 cat >> confdefs.h
<<EOF
19170 #define SOCKLEN_T $wx_cv_type_getsockname3
19177 if test "$wxUSE_SOCKETS" = "yes" ; then
19178 cat >> confdefs.h
<<\EOF
19179 #define wxUSE_SOCKETS 1
19182 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
19186 if test "$wxUSE_GUI" = "yes"; then
19188 if test "$TOOLKIT" = "MAC"; then
19189 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
19192 if test "$TOOLKIT" = "MOTIF"; then
19193 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
19196 if test "$TOOLKIT" = "X11"; then
19197 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
19201 if test "$TOOLKIT" != "MSW"; then
19202 if test "$wxUSE_JOYSTICK" = "yes"; then
19203 for ac_hdr
in linux
/joystick.h
19205 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19206 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19207 echo "configure:19208: checking for $ac_hdr" >&5
19208 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19209 echo $ac_n "(cached) $ac_c" 1>&6
19211 cat > conftest.
$ac_ext <<EOF
19212 #line 19213 "configure"
19213 #include "confdefs.h"
19216 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19217 { (eval echo configure
:19218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19218 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19219 if test -z "$ac_err"; then
19221 eval "ac_cv_header_$ac_safe=yes"
19224 echo "configure: failed program was:" >&5
19225 cat conftest.
$ac_ext >&5
19227 eval "ac_cv_header_$ac_safe=no"
19231 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19232 echo "$ac_t""yes" 1>&6
19233 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19234 cat >> confdefs.h
<<EOF
19235 #define $ac_tr_hdr 1
19239 echo "$ac_t""no" 1>&6
19243 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
19245 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
19250 if test "$wxUSE_JOYSTICK" = "yes"; then
19251 cat >> confdefs.h
<<\EOF
19252 #define wxUSE_JOYSTICK 1
19255 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
19260 if test "$TOOLKIT" != "MSW"; then
19264 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19265 if test "$USE_DARWIN" = 1; then
19268 for ac_func
in dlopen
19270 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19271 echo "configure:19272: checking for $ac_func" >&5
19272 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19273 echo $ac_n "(cached) $ac_c" 1>&6
19275 cat > conftest.
$ac_ext <<EOF
19276 #line 19277 "configure"
19277 #include "confdefs.h"
19278 /* System header to define __stub macros and hopefully few prototypes,
19279 which can conflict with char $ac_func(); below. */
19280 #include <assert.h>
19281 /* Override any gcc2 internal prototype to avoid an error. */
19282 /* We use char because int might match the return type of a gcc2
19283 builtin and then its argument prototype would still apply. */
19288 /* The GNU C library defines this for functions which it implements
19289 to always fail with ENOSYS. Some functions are actually named
19290 something starting with __ and the normal name is an alias. */
19291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19299 if { (eval echo configure
:19300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19301 eval "ac_cv_func_$ac_func=yes"
19303 echo "configure: failed program was:" >&5
19304 cat conftest.
$ac_ext >&5
19306 eval "ac_cv_func_$ac_func=no"
19311 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19312 echo "$ac_t""yes" 1>&6
19313 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19314 cat >> confdefs.h
<<EOF
19315 #define $ac_tr_func 1
19318 cat >> confdefs.h
<<\EOF
19319 #define HAVE_DLOPEN 1
19325 echo "$ac_t""no" 1>&6
19326 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
19327 echo "configure:19328: checking for dlopen in -ldl" >&5
19328 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
19329 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19330 echo $ac_n "(cached) $ac_c" 1>&6
19332 ac_save_LIBS
="$LIBS"
19334 cat > conftest.
$ac_ext <<EOF
19335 #line 19336 "configure"
19336 #include "confdefs.h"
19337 /* Override any gcc2 internal prototype to avoid an error. */
19338 /* We use char because int might match the return type of a gcc2
19339 builtin and then its argument prototype would still apply. */
19346 if { (eval echo configure
:19347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19348 eval "ac_cv_lib_$ac_lib_var=yes"
19350 echo "configure: failed program was:" >&5
19351 cat conftest.
$ac_ext >&5
19353 eval "ac_cv_lib_$ac_lib_var=no"
19356 LIBS
="$ac_save_LIBS"
19359 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19360 echo "$ac_t""yes" 1>&6
19362 cat >> confdefs.h
<<\EOF
19363 #define HAVE_DLOPEN 1
19367 DL_LINK
=" -ldl$DL_LINK"
19370 echo "$ac_t""no" 1>&6
19372 for ac_func
in shl_load
19374 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19375 echo "configure:19376: checking for $ac_func" >&5
19376 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19377 echo $ac_n "(cached) $ac_c" 1>&6
19379 cat > conftest.
$ac_ext <<EOF
19380 #line 19381 "configure"
19381 #include "confdefs.h"
19382 /* System header to define __stub macros and hopefully few prototypes,
19383 which can conflict with char $ac_func(); below. */
19384 #include <assert.h>
19385 /* Override any gcc2 internal prototype to avoid an error. */
19386 /* We use char because int might match the return type of a gcc2
19387 builtin and then its argument prototype would still apply. */
19392 /* The GNU C library defines this for functions which it implements
19393 to always fail with ENOSYS. Some functions are actually named
19394 something starting with __ and the normal name is an alias. */
19395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19403 if { (eval echo configure
:19404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19405 eval "ac_cv_func_$ac_func=yes"
19407 echo "configure: failed program was:" >&5
19408 cat conftest.
$ac_ext >&5
19410 eval "ac_cv_func_$ac_func=no"
19415 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19416 echo "$ac_t""yes" 1>&6
19417 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19418 cat >> confdefs.h
<<EOF
19419 #define $ac_tr_func 1
19422 cat >> confdefs.h
<<\EOF
19423 #define HAVE_SHL_LOAD 1
19429 echo "$ac_t""no" 1>&6
19430 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
19431 echo "configure:19432: checking for dld in -lshl_load" >&5
19432 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
19433 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19434 echo $ac_n "(cached) $ac_c" 1>&6
19436 ac_save_LIBS
="$LIBS"
19437 LIBS
="-lshl_load $LIBS"
19438 cat > conftest.
$ac_ext <<EOF
19439 #line 19440 "configure"
19440 #include "confdefs.h"
19441 /* Override any gcc2 internal prototype to avoid an error. */
19442 /* We use char because int might match the return type of a gcc2
19443 builtin and then its argument prototype would still apply. */
19450 if { (eval echo configure
:19451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19452 eval "ac_cv_lib_$ac_lib_var=yes"
19454 echo "configure: failed program was:" >&5
19455 cat conftest.
$ac_ext >&5
19457 eval "ac_cv_lib_$ac_lib_var=no"
19460 LIBS
="$ac_save_LIBS"
19463 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19464 echo "$ac_t""yes" 1>&6
19467 DL_LINK
=" -ldld$DL_LINK"
19470 echo "$ac_t""no" 1>&6
19485 if test "$HAVE_DL_FUNCS" = 1; then
19486 for ac_func
in dlerror
19488 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19489 echo "configure:19490: checking for $ac_func" >&5
19490 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19491 echo $ac_n "(cached) $ac_c" 1>&6
19493 cat > conftest.
$ac_ext <<EOF
19494 #line 19495 "configure"
19495 #include "confdefs.h"
19496 /* System header to define __stub macros and hopefully few prototypes,
19497 which can conflict with char $ac_func(); below. */
19498 #include <assert.h>
19499 /* Override any gcc2 internal prototype to avoid an error. */
19500 /* We use char because int might match the return type of a gcc2
19501 builtin and then its argument prototype would still apply. */
19506 /* The GNU C library defines this for functions which it implements
19507 to always fail with ENOSYS. Some functions are actually named
19508 something starting with __ and the normal name is an alias. */
19509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19517 if { (eval echo configure
:19518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19519 eval "ac_cv_func_$ac_func=yes"
19521 echo "configure: failed program was:" >&5
19522 cat conftest.
$ac_ext >&5
19524 eval "ac_cv_func_$ac_func=no"
19529 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19530 echo "$ac_t""yes" 1>&6
19531 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19532 cat >> confdefs.h
<<EOF
19533 #define $ac_tr_func 1
19535 cat >> confdefs.h
<<\EOF
19536 #define HAVE_DLERROR 1
19540 echo "$ac_t""no" 1>&6
19541 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
19542 echo "configure:19543: checking for dlerror in -ldl" >&5
19543 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
19544 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19545 echo $ac_n "(cached) $ac_c" 1>&6
19547 ac_save_LIBS
="$LIBS"
19549 cat > conftest.
$ac_ext <<EOF
19550 #line 19551 "configure"
19551 #include "confdefs.h"
19552 /* Override any gcc2 internal prototype to avoid an error. */
19553 /* We use char because int might match the return type of a gcc2
19554 builtin and then its argument prototype would still apply. */
19561 if { (eval echo configure
:19562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19563 eval "ac_cv_lib_$ac_lib_var=yes"
19565 echo "configure: failed program was:" >&5
19566 cat conftest.
$ac_ext >&5
19568 eval "ac_cv_lib_$ac_lib_var=no"
19571 LIBS
="$ac_save_LIBS"
19574 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19575 echo "$ac_t""yes" 1>&6
19576 cat >> confdefs.h
<<\EOF
19577 #define HAVE_DLERROR 1
19581 echo "$ac_t""no" 1>&6
19590 if test "$HAVE_DL_FUNCS" = 0; then
19591 if test "$HAVE_SHL_FUNCS" = 0; then
19592 if test "$USE_UNIX" = 1; then
19593 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
19594 wxUSE_DYNAMIC_LOADER
=no
19595 wxUSE_DYNLIB_CLASS
=no
19597 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
19604 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
19605 cat >> confdefs.h
<<\EOF
19606 #define wxUSE_DYNAMIC_LOADER 1
19609 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19610 cat >> confdefs.h
<<\EOF
19611 #define wxUSE_DYNLIB_CLASS 1
19617 if test "$wxUSE_FONTMAP" = "yes" ; then
19618 cat >> confdefs.h
<<\EOF
19619 #define wxUSE_FONTMAP 1
19624 if test "$wxUSE_UNICODE" = "yes" ; then
19625 cat >> confdefs.h
<<\EOF
19626 #define wxUSE_UNICODE 1
19630 if test "$wxUSE_MSW" != 1; then
19631 wxUSE_UNICODE_MSLU
=no
19634 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
19635 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
19636 echo "configure:19637: checking for main in -lunicows" >&5
19637 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
19638 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19639 echo $ac_n "(cached) $ac_c" 1>&6
19641 ac_save_LIBS
="$LIBS"
19642 LIBS
="-lunicows $LIBS"
19643 cat > conftest.
$ac_ext <<EOF
19644 #line 19645 "configure"
19645 #include "confdefs.h"
19651 if { (eval echo configure
:19652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19653 eval "ac_cv_lib_$ac_lib_var=yes"
19655 echo "configure: failed program was:" >&5
19656 cat conftest.
$ac_ext >&5
19658 eval "ac_cv_lib_$ac_lib_var=no"
19661 LIBS
="$ac_save_LIBS"
19664 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19665 echo "$ac_t""yes" 1>&6
19667 cat >> confdefs.h
<<\EOF
19668 #define wxUSE_UNICODE_MSLU 1
19673 echo "$ac_t""no" 1>&6
19675 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
19676 Applications will only run on Windows NT/2000/XP!" 1>&2
19677 wxUSE_UNICODE_MSLU
=no
19684 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
19685 cat >> confdefs.h
<<\EOF
19686 #define wxUSE_EXPERIMENTAL_PRINTF 1
19694 if test "$wxUSE_ODBC" = "yes" ; then
19695 cat >> confdefs.h
<<\EOF
19696 #define wxUSE_ODBC 1
19699 WXODBCFLAG
="-D_IODBC_"
19700 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
19704 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
19705 cat >> confdefs.h
<<\EOF
19706 #define wxUSE_POSTSCRIPT 1
19711 cat >> confdefs.h
<<\EOF
19712 #define wxUSE_AFM_FOR_POSTSCRIPT 1
19716 cat >> confdefs.h
<<\EOF
19717 #define wxUSE_NORMALIZED_PS_FONTS 1
19722 if test "$wxUSE_CONSTRAINTS" = "yes"; then
19723 cat >> confdefs.h
<<\EOF
19724 #define wxUSE_CONSTRAINTS 1
19727 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
19730 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19731 if test "$wxUSE_UNIVERSAL" = "yes"; then
19732 echo "configure: warning: MDI not yet supported for wxUniversal... disabled" 1>&2
19733 wxUSE_MDI_ARCHITECTURE
=no
19736 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19737 cat >> confdefs.h
<<\EOF
19738 #define wxUSE_MDI_ARCHITECTURE 1
19741 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
19745 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
19746 cat >> confdefs.h
<<\EOF
19747 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
19750 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
19751 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19752 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
19756 if test "$wxUSE_HELP" = "yes"; then
19757 cat >> confdefs.h
<<\EOF
19758 #define wxUSE_HELP 1
19761 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
19763 if test "$wxUSE_MSW" = 1; then
19764 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
19765 cat >> confdefs.h
<<\EOF
19766 #define wxUSE_MS_HTML_HELP 1
19772 if test "$wxUSE_WXHTML_HELP" = "yes"; then
19773 if test "$wxUSE_HTML" = "yes"; then
19774 cat >> confdefs.h
<<\EOF
19775 #define wxUSE_WXHTML_HELP 1
19779 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
19780 wxUSE_WXHTML_HELP
=no
19785 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
19786 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19787 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
19789 cat >> confdefs.h
<<\EOF
19790 #define wxUSE_PRINTING_ARCHITECTURE 1
19794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
19797 if test "$wxUSE_PROLOGIO" = "yes" ; then
19798 cat >> confdefs.h
<<\EOF
19799 #define wxUSE_PROLOGIO 1
19804 if test "$wxUSE_RESOURCES" = "yes" ; then
19805 if test "$wxUSE_NANOX" = "yes"; then
19806 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
19808 cat >> confdefs.h
<<\EOF
19809 #define wxUSE_RESOURCES 1
19812 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
19816 if test "$wxUSE_X_RESOURCES" = "yes"; then
19817 cat >> confdefs.h
<<\EOF
19818 #define wxUSE_X_RESOURCES 1
19824 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
19825 -o "$wxUSE_CLIPBOARD" = "yes" \
19826 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
19827 for ac_hdr
in ole2.h
19829 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19830 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19831 echo "configure:19832: checking for $ac_hdr" >&5
19832 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19833 echo $ac_n "(cached) $ac_c" 1>&6
19835 cat > conftest.
$ac_ext <<EOF
19836 #line 19837 "configure"
19837 #include "confdefs.h"
19840 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19841 { (eval echo configure
:19842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19842 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19843 if test -z "$ac_err"; then
19845 eval "ac_cv_header_$ac_safe=yes"
19848 echo "configure: failed program was:" >&5
19849 cat conftest.
$ac_ext >&5
19851 eval "ac_cv_header_$ac_safe=no"
19855 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19856 echo "$ac_t""yes" 1>&6
19857 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19858 cat >> confdefs.h
<<EOF
19859 #define $ac_tr_hdr 1
19863 echo "$ac_t""no" 1>&6
19868 if test "$ac_cv_header_ole2_h" = "yes" ; then
19869 if test "$GCC" = yes ; then
19870 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
19871 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
19872 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
19873 cat >> confdefs.h
<<\EOF
19874 #define wxUSE_OLE 1
19880 cat >> confdefs.h
<<\EOF
19881 #define wxUSE_DATAOBJ 1
19885 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
19888 wxUSE_DRAG_AND_DROP
=no
19892 if test "$wxUSE_METAFILE" = "yes"; then
19893 cat >> confdefs.h
<<\EOF
19894 #define wxUSE_METAFILE 1
19898 cat >> confdefs.h
<<\EOF
19899 #define wxUSE_ENH_METAFILE 1
19905 if test "$wxUSE_IPC" = "yes"; then
19906 if test "$wxUSE_SOCKETS" != "yes"; then
19907 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
19910 cat >> confdefs.h
<<\EOF
19911 #define wxUSE_IPC 1
19916 if test "$wxUSE_CLIPBOARD" = "yes"; then
19917 if test "$wxUSE_MGL" = 1; then
19918 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
19922 if test "$wxUSE_CLIPBOARD" = "yes"; then
19923 cat >> confdefs.h
<<\EOF
19924 #define wxUSE_CLIPBOARD 1
19928 cat >> confdefs.h
<<\EOF
19929 #define wxUSE_DATAOBJ 1
19935 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
19936 if test "$wxUSE_GTK" = 1; then
19937 if test "$WXGTK12" != 1; then
19938 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
19939 wxUSE_DRAG_AND_DROP
=no
19943 if test "$wxUSE_MOTIF" = 1; then
19944 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
19945 wxUSE_DRAG_AND_DROP
=no
19948 if test "$wxUSE_X11" = 1; then
19949 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
19950 wxUSE_DRAG_AND_DROP
=no
19953 if test "$wxUSE_MGL" = 1; then
19954 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
19955 wxUSE_DRAG_AND_DROP
=no
19958 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
19959 cat >> confdefs.h
<<\EOF
19960 #define wxUSE_DRAG_AND_DROP 1
19963 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
19968 if test "$wxUSE_SPLINES" = "yes" ; then
19969 cat >> confdefs.h
<<\EOF
19970 #define wxUSE_SPLINES 1
19977 if test "$wxUSE_CONTROLS" = "yes"; then
19981 if test "$wxUSE_ACCEL" = "yes"; then
19982 cat >> confdefs.h
<<\EOF
19983 #define wxUSE_ACCEL 1
19989 if test "$wxUSE_BUTTON" = "yes"; then
19990 cat >> confdefs.h
<<\EOF
19991 #define wxUSE_BUTTON 1
19997 if test "$wxUSE_BMPBUTTON" = "yes"; then
19998 cat >> confdefs.h
<<\EOF
19999 #define wxUSE_BMPBUTTON 1
20005 if test "$wxUSE_CALCTRL" = "yes"; then
20006 cat >> confdefs.h
<<\EOF
20007 #define wxUSE_CALENDARCTRL 1
20011 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
20014 if test "$wxUSE_CARET" = "yes"; then
20015 cat >> confdefs.h
<<\EOF
20016 #define wxUSE_CARET 1
20020 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
20023 if test "$wxUSE_COMBOBOX" = "yes"; then
20024 cat >> confdefs.h
<<\EOF
20025 #define wxUSE_COMBOBOX 1
20031 if test "$wxUSE_CHOICE" = "yes"; then
20032 cat >> confdefs.h
<<\EOF
20033 #define wxUSE_CHOICE 1
20039 if test "$wxUSE_CHECKBOX" = "yes"; then
20040 cat >> confdefs.h
<<\EOF
20041 #define wxUSE_CHECKBOX 1
20047 if test "$wxUSE_CHECKLST" = "yes"; then
20048 cat >> confdefs.h
<<\EOF
20049 #define wxUSE_CHECKLISTBOX 1
20053 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
20056 if test "$wxUSE_GAUGE" = "yes"; then
20057 cat >> confdefs.h
<<\EOF
20058 #define wxUSE_GAUGE 1
20064 if test "$wxUSE_NEW_GRID" = "yes"; then
20066 cat >> confdefs.h
<<\EOF
20067 #define wxUSE_NEW_GRID 1
20071 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
20074 if test "$wxUSE_GRID" = "yes"; then
20075 cat >> confdefs.h
<<\EOF
20076 #define wxUSE_GRID 1
20080 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
20083 if test "$wxUSE_IMAGLIST" = "yes"; then
20084 cat >> confdefs.h
<<\EOF
20085 #define wxUSE_IMAGLIST 1
20090 if test "$wxUSE_LISTBOX" = "yes"; then
20091 cat >> confdefs.h
<<\EOF
20092 #define wxUSE_LISTBOX 1
20098 if test "$wxUSE_LISTCTRL" = "yes"; then
20099 if test "$wxUSE_IMAGLIST" = "yes"; then
20100 cat >> confdefs.h
<<\EOF
20101 #define wxUSE_LISTCTRL 1
20105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
20107 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
20111 if test "$wxUSE_NOTEBOOK" = "yes"; then
20112 cat >> confdefs.h
<<\EOF
20113 #define wxUSE_NOTEBOOK 1
20117 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
20120 if test "$wxUSE_PROPSHEET" = "yes"; then
20121 cat >> confdefs.h
<<\EOF
20122 #define wxUSE_PROPSHEET 1
20126 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
20129 if test "$wxUSE_RADIOBOX" = "yes"; then
20130 cat >> confdefs.h
<<\EOF
20131 #define wxUSE_RADIOBOX 1
20137 if test "$wxUSE_RADIOBTN" = "yes"; then
20138 cat >> confdefs.h
<<\EOF
20139 #define wxUSE_RADIOBTN 1
20145 if test "$wxUSE_SASH" = "yes"; then
20146 cat >> confdefs.h
<<\EOF
20147 #define wxUSE_SASH 1
20150 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
20153 if test "$wxUSE_SCROLLBAR" = "yes"; then
20154 cat >> confdefs.h
<<\EOF
20155 #define wxUSE_SCROLLBAR 1
20159 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
20162 if test "$wxUSE_SLIDER" = "yes"; then
20163 cat >> confdefs.h
<<\EOF
20164 #define wxUSE_SLIDER 1
20170 if test "$wxUSE_SPINBTN" = "yes"; then
20171 cat >> confdefs.h
<<\EOF
20172 #define wxUSE_SPINBTN 1
20178 if test "$wxUSE_SPINCTRL" = "yes"; then
20179 cat >> confdefs.h
<<\EOF
20180 #define wxUSE_SPINCTRL 1
20186 if test "$wxUSE_SPLITTER" = "yes"; then
20187 cat >> confdefs.h
<<\EOF
20188 #define wxUSE_SPLITTER 1
20191 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
20194 if test "$wxUSE_STATBMP" = "yes"; then
20195 cat >> confdefs.h
<<\EOF
20196 #define wxUSE_STATBMP 1
20202 if test "$wxUSE_STATBOX" = "yes"; then
20203 cat >> confdefs.h
<<\EOF
20204 #define wxUSE_STATBOX 1
20210 if test "$wxUSE_STATTEXT" = "yes"; then
20211 cat >> confdefs.h
<<\EOF
20212 #define wxUSE_STATTEXT 1
20218 if test "$wxUSE_STATLINE" = "yes"; then
20219 if test "$wxUSE_WINE" = 1 ; then
20220 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
20222 cat >> confdefs.h
<<\EOF
20223 #define wxUSE_STATLINE 1
20230 if test "$wxUSE_STATUSBAR" = "yes"; then
20231 cat >> confdefs.h
<<\EOF
20232 #define wxUSE_STATUSBAR 1
20237 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
20240 if test "$wxUSE_TABDIALOG" = "yes"; then
20241 cat >> confdefs.h
<<\EOF
20242 #define wxUSE_TAB_DIALOG 1
20245 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
20248 if test "$wxUSE_TEXTCTRL" = "yes"; then
20249 cat >> confdefs.h
<<\EOF
20250 #define wxUSE_TEXTCTRL 1
20254 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
20257 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20258 if test "$wxUSE_MAC" = 1; then
20259 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
20262 if test "$wxUSE_UNIVERSAL" = "yes"; then
20263 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
20267 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20268 cat >> confdefs.h
<<\EOF
20269 #define wxUSE_TOGGLEBTN 1
20276 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
20277 cat >> confdefs.h
<<\EOF
20278 #define wxUSE_TOOLBAR_SIMPLE 1
20281 wxUSE_TOOLBAR
="yes"
20285 if test "$wxUSE_TOOLBAR" = "yes"; then
20286 cat >> confdefs.h
<<\EOF
20287 #define wxUSE_TOOLBAR 1
20292 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
20293 wxUSE_TOOLBAR_NATIVE
="yes"
20296 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
20297 cat >> confdefs.h
<<\EOF
20298 #define wxUSE_TOOLBAR_NATIVE 1
20304 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
20307 if test "$wxUSE_TOOLTIPS" = "yes"; then
20308 if test "$wxUSE_MOTIF" = 1; then
20309 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
20311 if test "$wxUSE_WINE" = 1; then
20312 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
20314 if test "$wxUSE_UNIVERSAL" = "yes"; then
20315 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
20317 cat >> confdefs.h
<<\EOF
20318 #define wxUSE_TOOLTIPS 1
20326 if test "$wxUSE_TREECTRL" = "yes"; then
20327 if test "$wxUSE_IMAGLIST" = "yes"; then
20328 cat >> confdefs.h
<<\EOF
20329 #define wxUSE_TREECTRL 1
20333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
20335 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
20339 if test "$wxUSE_POPUPWIN" = "yes"; then
20340 if test "$wxUSE_MAC" = 1; then
20341 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
20343 if test "$wxUSE_MOTIF" = 1; then
20344 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
20346 if test "$wxUSE_PM" = 1; then
20347 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
20349 cat >> confdefs.h
<<\EOF
20350 #define wxUSE_POPUPWIN 1
20360 if test "$wxUSE_TIPWINDOW" = "yes"; then
20361 if test "$wxUSE_PM" = 1; then
20362 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
20364 cat >> confdefs.h
<<\EOF
20365 #define wxUSE_TIPWINDOW 1
20371 if test "$USES_CONTROLS" = 1; then
20372 cat >> confdefs.h
<<\EOF
20373 #define wxUSE_CONTROLS 1
20379 if test "$wxUSE_TREELAYOUT" = "yes"; then
20380 cat >> confdefs.h
<<\EOF
20381 #define wxUSE_TREELAYOUT 1
20384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
20387 if test "$wxUSE_DRAGIMAGE" = "yes"; then
20388 cat >> confdefs.h
<<\EOF
20389 #define wxUSE_DRAGIMAGE 1
20392 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
20395 if test "$wxUSE_MENUS" = "yes"; then
20396 cat >> confdefs.h
<<\EOF
20397 #define wxUSE_MENUS 1
20400 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
20403 if test "$wxUSE_METAFILE" = "yes"; then
20404 cat >> confdefs.h
<<\EOF
20405 #define wxUSE_METAFILE 1
20410 if test "$wxUSE_MIMETYPE" = "yes"; then
20411 cat >> confdefs.h
<<\EOF
20412 #define wxUSE_MIMETYPE 1
20417 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
20418 cat >> confdefs.h
<<\EOF
20419 #define wxUSE_SYSTEM_OPTIONS 1
20422 if test "$TOOLKIT" = "MSW"; then
20423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
20428 if test "$wxUSE_PROTOCOL" = "yes"; then
20429 if test "$wxUSE_SOCKETS" != "yes"; then
20430 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
20434 if test "$wxUSE_PROTOCOL" = "yes"; then
20435 cat >> confdefs.h
<<\EOF
20436 #define wxUSE_PROTOCOL 1
20440 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
20441 cat >> confdefs.h
<<\EOF
20442 #define wxUSE_PROTOCOL_HTTP 1
20446 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
20447 cat >> confdefs.h
<<\EOF
20448 #define wxUSE_PROTOCOL_FTP 1
20452 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
20453 cat >> confdefs.h
<<\EOF
20454 #define wxUSE_PROTOCOL_FILE 1
20461 if test "$wxUSE_URL" = "yes"; then
20462 if test "$wxUSE_PROTOCOL" != "yes"; then
20463 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
20466 if test "$wxUSE_URL" = "yes"; then
20467 cat >> confdefs.h
<<\EOF
20468 #define wxUSE_URL 1
20474 if test "$wxUSE_MINIFRAME" = "yes"; then
20475 cat >> confdefs.h
<<\EOF
20476 #define wxUSE_MINIFRAME 1
20479 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
20482 if test "$wxUSE_HTML" = "yes"; then
20483 cat >> confdefs.h
<<\EOF
20484 #define wxUSE_HTML 1
20487 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
20490 if test "$wxUSE_VALIDATORS" = "yes"; then
20491 cat >> confdefs.h
<<\EOF
20492 #define wxUSE_VALIDATORS 1
20495 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
20498 if test "$wxUSE_PALETTE" = "yes" ; then
20499 cat >> confdefs.h
<<\EOF
20500 #define wxUSE_PALETTE 1
20505 if test "$wxUSE_IMAGE" = "yes" ; then
20506 cat >> confdefs.h
<<\EOF
20507 #define wxUSE_IMAGE 1
20512 if test "$wxUSE_GIF" = "yes" ; then
20513 cat >> confdefs.h
<<\EOF
20514 #define wxUSE_GIF 1
20519 if test "$wxUSE_PCX" = "yes" ; then
20520 cat >> confdefs.h
<<\EOF
20521 #define wxUSE_PCX 1
20526 if test "$wxUSE_IFF" = "yes" ; then
20527 cat >> confdefs.h
<<\EOF
20528 #define wxUSE_IFF 1
20533 if test "$wxUSE_PNM" = "yes" ; then
20534 cat >> confdefs.h
<<\EOF
20535 #define wxUSE_PNM 1
20540 if test "$wxUSE_XPM" = "yes" ; then
20541 cat >> confdefs.h
<<\EOF
20542 #define wxUSE_XPM 1
20547 if test "$wxUSE_ICO_CUR" = "yes" ; then
20548 cat >> confdefs.h
<<\EOF
20549 #define wxUSE_ICO_CUR 1
20554 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
20555 LIBS
=" -lunicows $LIBS"
20559 if test "$wxUSE_CHOICEDLG" = "yes"; then
20560 cat >> confdefs.h
<<\EOF
20561 #define wxUSE_CHOICEDLG 1
20566 if test "$wxUSE_COLOURDLG" = "yes"; then
20567 cat >> confdefs.h
<<\EOF
20568 #define wxUSE_COLOURDLG 1
20573 if test "$wxUSE_FILEDLG" = "yes"; then
20574 cat >> confdefs.h
<<\EOF
20575 #define wxUSE_FILEDLG 1
20580 if test "$wxUSE_FINDREPLDLG" = "yes"; then
20581 cat >> confdefs.h
<<\EOF
20582 #define wxUSE_FINDREPLDLG 1
20587 if test "$wxUSE_FONTDLG" = "yes"; then
20588 cat >> confdefs.h
<<\EOF
20589 #define wxUSE_FONTDLG 1
20594 if test "$wxUSE_DIRDLG" = "yes"; then
20595 if test "$wxUSE_TREECTRL" != "yes"; then
20596 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
20598 cat >> confdefs.h
<<\EOF
20599 #define wxUSE_DIRDLG 1
20605 if test "$wxUSE_MSGDLG" = "yes"; then
20606 cat >> confdefs.h
<<\EOF
20607 #define wxUSE_MSGDLG 1
20612 if test "$wxUSE_NUMBERDLG" = "yes"; then
20613 cat >> confdefs.h
<<\EOF
20614 #define wxUSE_NUMBERDLG 1
20619 if test "$wxUSE_PROGRESSDLG" = "yes"; then
20620 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20621 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
20623 cat >> confdefs.h
<<\EOF
20624 #define wxUSE_PROGRESSDLG 1
20630 if test "$wxUSE_SPLASH" = "yes"; then
20631 cat >> confdefs.h
<<\EOF
20632 #define wxUSE_SPLASH 1
20637 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
20638 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20639 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
20641 cat >> confdefs.h
<<\EOF
20642 #define wxUSE_STARTUP_TIPS 1
20648 if test "$wxUSE_TEXTDLG" = "yes"; then
20649 cat >> confdefs.h
<<\EOF
20650 #define wxUSE_TEXTDLG 1
20655 if test "$wxUSE_WIZARDDLG" = "yes"; then
20656 cat >> confdefs.h
<<\EOF
20657 #define wxUSE_WIZARDDLG 1
20660 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
20664 if test "$cross_compiling" = "yes"; then
20667 OSINFO
=`uname -s -r -m`
20668 OSINFO
="\"$OSINFO\""
20671 cat >> confdefs.h
<<EOF
20672 #define WXWIN_OS_DESCRIPTION $OSINFO
20677 if test "x$prefix" != "xNONE"; then
20680 wxPREFIX
=$ac_default_prefix
20683 cat >> confdefs.h
<<EOF
20684 #define wxINSTALL_PREFIX "$wxPREFIX"
20691 if test "$wxUSE_MAC" = 1 ; then
20692 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
20696 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK -lm $LIBS"
20698 if test "$wxUSE_GUI" = "yes"; then
20700 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
20703 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
20704 drawing dynamic erase event exec font image \
20705 minimal richedit rotate widgets"
20707 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
20709 SAMPLES_SUBDIRS
="console"
20713 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
20714 -I\${top_srcdir}/include \
20715 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
20718 if test "$wxUSE_GTK" = 1; then
20721 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
20724 if test "$GXX" = yes ; then
20725 CXXWARNINGS
="-Wall"
20727 if test "$wxUSE_NO_DEPS" = "no" ; then
20728 CFLAGS
="-MMD $CFLAGS"
20729 CXXFLAGS
="-MMD $CXXFLAGS"
20733 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
20735 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
20736 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
20737 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
20739 LDFLAGS
="$LDFLAGS $PROFILE"
20741 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
20832 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
20833 echo "configure:20834: checking whether ${MAKE-make} sets \${MAKE}" >&5
20834 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
20835 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
20836 echo $ac_n "(cached) $ac_c" 1>&6
20838 cat > conftestmake
<<\EOF
20840 @
echo 'ac_maketemp="${MAKE}"'
20842 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20843 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
20844 if test -n "$ac_maketemp"; then
20845 eval ac_cv_prog_make_
${ac_make}_set
=yes
20847 eval ac_cv_prog_make_
${ac_make}_set
=no
20851 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
20852 echo "$ac_t""yes" 1>&6
20855 echo "$ac_t""no" 1>&6
20856 SET_MAKE
="MAKE=${MAKE-make}"
20860 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
20861 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
20866 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
20867 wx_cv_if_gnu_make
=$IF_GNU_MAKE
20868 wx_cv_path_ifs
=$PATH_IFS
20869 wx_cv_program_ext
=$PROGRAM_EXT
20870 wx_cv_target_library
=$WX_TARGET_LIBRARY
20871 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
20872 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
20873 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
20874 wx_cv_path_ifs wx_cv_program_ext \
20875 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
20877 subdirs
="demos samples utils contrib"
20881 cat > confcache
<<\EOF
20882 # This file is a shell script that caches the results of configure
20883 # tests run on this system so they can be shared between configure
20884 # scripts and configure runs. It is not useful on other systems.
20885 # If it contains results you don't want to keep, you may remove or edit it.
20887 # By default, configure uses ./config.cache as the cache file,
20888 # creating it if it does not exist already. You can give configure
20889 # the --cache-file=FILE option to use a different cache file; that is
20890 # what configure does when it calls configure scripts in
20891 # subdirectories, so they share the cache.
20892 # Giving --cache-file=/dev/null disables caching, for debugging configure.
20893 # config.status only pays attention to the cache file if you give it the
20894 # --recheck option to rerun configure.
20897 # The following way of writing the cache mishandles newlines in values,
20898 # but we know of no workaround that is simple, portable, and efficient.
20899 # So, don't put newlines in cache variables' values.
20900 # Ultrix sh set writes to stderr and can't be redirected directly,
20901 # and sets the high bit in the cache file unless we assign to the vars.
20903 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20905 # `set' does not quote correctly, so add quotes (double-quote substitution
20906 # turns \\\\ into \\, and sed turns \\ into \).
20908 -e "s/'/'\\\\''/g" \
20909 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20912 # `set' quotes correctly as required by POSIX, so do not add quotes.
20913 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20916 if cmp -s $cache_file confcache
; then
20919 if test -w $cache_file; then
20920 echo "updating cache $cache_file"
20921 cat confcache
> $cache_file
20923 echo "not updating unwritable cache $cache_file"
20928 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
20930 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20931 # Let make expand exec_prefix.
20932 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20934 # Any assignment to VPATH causes Sun make to only execute
20935 # the first set of double-colon rules, so remove it if not needed.
20936 # If there is a colon in the path, we need to keep it.
20937 if test "x$srcdir" = x.
; then
20938 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
20941 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
20943 DEFS
=-DHAVE_CONFIG_H
20945 # Without the "./", some shells look in PATH for config.status.
20946 : ${CONFIG_STATUS=./config.status}
20948 echo creating
$CONFIG_STATUS
20949 rm -f $CONFIG_STATUS
20950 cat > $CONFIG_STATUS <<EOF
20952 # Generated automatically by configure.
20953 # Run this file to recreate the current configuration.
20954 # This directory was configured as follows,
20955 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20957 # $0 $ac_configure_args
20959 # Compiler output produced by configure, useful for debugging
20960 # configure, is in ./config.log if it exists.
20962 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
20965 case "\$ac_option" in
20966 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20967 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
20968 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
20969 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
20970 echo "$CONFIG_STATUS generated by autoconf version 2.13"
20972 -help | --help | --hel | --he | --h)
20973 echo "\$ac_cs_usage"; exit 0 ;;
20974 *) echo "\$ac_cs_usage"; exit 1 ;;
20978 ac_given_srcdir=$srcdir
20979 ac_given_INSTALL="$INSTALL"
20981 trap 'rm -fr `echo "
20987 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
20989 cat >> $CONFIG_STATUS <<EOF
20991 # Protect against being on the right side of a sed subst in config.status.
20992 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
20993 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
20997 s%@CFLAGS@%$CFLAGS%g
20998 s%@CPPFLAGS@%$CPPFLAGS%g
20999 s%@CXXFLAGS@%$CXXFLAGS%g
21000 s%@FFLAGS@%$FFLAGS%g
21002 s%@LDFLAGS@%$LDFLAGS%g
21004 s%@exec_prefix@%$exec_prefix%g
21005 s%@prefix@%$prefix%g
21006 s%@program_transform_name@%$program_transform_name%g
21007 s%@bindir@%$bindir%g
21008 s%@sbindir@%$sbindir%g
21009 s%@libexecdir@%$libexecdir%g
21010 s%@datadir@%$datadir%g
21011 s%@sysconfdir@%$sysconfdir%g
21012 s%@sharedstatedir@%$sharedstatedir%g
21013 s%@localstatedir@%$localstatedir%g
21014 s%@libdir@%$libdir%g
21015 s%@includedir@%$includedir%g
21016 s%@oldincludedir@%$oldincludedir%g
21017 s%@infodir@%$infodir%g
21018 s%@mandir@%$mandir%g
21020 s%@host_alias@%$host_alias%g
21021 s%@host_cpu@%$host_cpu%g
21022 s%@host_vendor@%$host_vendor%g
21023 s%@host_os@%$host_os%g
21024 s%@target@%$target%g
21025 s%@target_alias@%$target_alias%g
21026 s%@target_cpu@%$target_cpu%g
21027 s%@target_vendor@%$target_vendor%g
21028 s%@target_os@%$target_os%g
21030 s%@build_alias@%$build_alias%g
21031 s%@build_cpu@%$build_cpu%g
21032 s%@build_vendor@%$build_vendor%g
21033 s%@build_os@%$build_os%g
21037 s%@RANLIB@%$RANLIB%g
21039 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
21040 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
21041 s%@INSTALL_DATA@%$INSTALL_DATA%g
21043 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
21046 s%@LEXLIB@%$LEXLIB%g
21048 s%@CXXCPP@%$CXXCPP%g
21049 s%@PKG_CONFIG@%$PKG_CONFIG%g
21050 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
21051 s%@GTK_LIBS@%$GTK_LIBS%g
21052 s%@GTK_CONFIG@%$GTK_CONFIG%g
21053 s%@X_CFLAGS@%$X_CFLAGS%g
21054 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
21055 s%@X_LIBS@%$X_LIBS%g
21056 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
21057 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
21058 s%@RESCOMP@%$RESCOMP%g
21060 s%@LIBICONV@%$LIBICONV%g
21061 s%@LEX_STEM@%$LEX_STEM%g
21062 s%@PATH_IFS@%$PATH_IFS%g
21063 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
21064 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
21065 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
21066 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
21067 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
21068 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
21069 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
21070 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
21071 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
21072 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
21073 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
21074 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
21075 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
21076 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
21077 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
21078 s%@WX_ALL@%$WX_ALL%g
21079 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
21080 s%@SHARED_LD@%$SHARED_LD%g
21081 s%@PIC_FLAG@%$PIC_FLAG%g
21082 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
21083 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
21084 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
21085 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
21086 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
21087 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
21088 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
21089 s%@USE_GUI@%$USE_GUI%g
21090 s%@AFMINSTALL@%$AFMINSTALL%g
21091 s%@TOOLKIT@%$TOOLKIT%g
21092 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
21093 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
21094 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
21095 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
21096 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
21097 s%@cross_compiling@%$cross_compiling%g
21098 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
21099 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
21100 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
21101 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
21102 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
21103 s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
21104 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
21105 s%@ALL_HEADERS@%$ALL_HEADERS%g
21106 s%@ALL_SOURCES@%$ALL_SOURCES%g
21107 s%@GUIDIST@%$GUIDIST%g
21108 s%@PORT_FILES@%$PORT_FILES%g
21109 s%@DISTDIR@%$DISTDIR%g
21110 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
21111 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
21112 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
21113 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
21114 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
21115 s%@EXTRADEFS@%$EXTRADEFS%g
21116 s%@RESFLAGS@%$RESFLAGS%g
21117 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
21118 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
21119 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
21120 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
21121 s%@LIBWXMACRES@%$LIBWXMACRES%g
21122 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
21123 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
21124 s%@DLLTOOL@%$DLLTOOL%g
21128 s%@MAKEINFO@%$MAKEINFO%g
21129 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
21130 s%@SET_MAKE@%$SET_MAKE%g
21131 s%@subdirs@%$subdirs%g
21136 cat >> $CONFIG_STATUS <<\EOF
21138 # Split the substitutions into bite-sized pieces for seds with
21139 # small command number limits, like on Digital OSF/1 and HP-UX.
21140 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
21141 ac_file
=1 # Number of current file.
21142 ac_beg
=1 # First line for current file.
21143 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
21146 while $ac_more_lines; do
21147 if test $ac_beg -gt 1; then
21148 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
21150 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
21152 if test ! -s conftest.s
$ac_file; then
21153 ac_more_lines
=false
21154 rm -f conftest.s
$ac_file
21156 if test -z "$ac_sed_cmds"; then
21157 ac_sed_cmds
="sed -f conftest.s$ac_file"
21159 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
21161 ac_file
=`expr $ac_file + 1`
21163 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
21166 if test -z "$ac_sed_cmds"; then
21171 cat >> $CONFIG_STATUS <<EOF
21173 CONFIG_FILES=\${CONFIG_FILES-"wx-config
21180 cat >> $CONFIG_STATUS <<\EOF
21181 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
21182 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21184 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
21185 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21186 *) ac_file_in
="${ac_file}.in" ;;
21189 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
21191 # Remove last slash and all that follows it. Not all systems have dirname.
21192 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21193 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
21194 # The file is in a subdirectory.
21195 test ! -d "$ac_dir" && mkdir "$ac_dir"
21196 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
21197 # A "../" for each directory in $ac_dir_suffix.
21198 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
21200 ac_dir_suffix
= ac_dots
=
21203 case "$ac_given_srcdir" in
21205 if test -z "$ac_dots"; then top_srcdir
=.
21206 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
21207 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
21208 *) # Relative path.
21209 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
21210 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
21213 case "$ac_given_INSTALL" in
21214 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
21215 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
21218 echo creating
"$ac_file"
21220 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
21222 *Makefile
*) ac_comsub
="1i\\
21223 # $configure_input" ;;
21227 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21229 s%@configure_input@%$configure_input%g
21230 s%@srcdir@%$srcdir%g
21231 s%@top_srcdir@%$top_srcdir%g
21232 s%@INSTALL@%$INSTALL%g
21233 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
21237 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21238 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21240 # ac_d sets the value in "#define NAME VALUE" lines.
21241 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21242 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
21245 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
21246 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21247 ac_uB
='\([ ]\)%\1#\2define\3'
21250 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21251 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21252 ac_eB
='$%\1#\2define\3'
21256 if test "${CONFIG_HEADERS+set}" != set; then
21258 cat >> $CONFIG_STATUS <<EOF
21259 CONFIG_HEADERS="setup.h:setup.h.in"
21261 cat >> $CONFIG_STATUS <<\EOF
21263 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
21264 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21266 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
21267 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21268 *) ac_file_in
="${ac_file}.in" ;;
21271 echo creating
$ac_file
21273 rm -f conftest.frag conftest.
in conftest.out
21274 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21275 cat $ac_file_inputs > conftest.
in
21279 # Transform confdefs.h into a sed script conftest.vals that substitutes
21280 # the proper values into config.h.in to produce config.h. And first:
21281 # Protect against being on the right side of a sed subst in config.status.
21282 # Protect against being in an unquoted here document in config.status.
21283 rm -f conftest.vals
21284 cat > conftest.hdr
<<\EOF
21287 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
21291 sed -n -f conftest.hdr confdefs.h > conftest.vals
21294 # This sed command replaces #undef with comments. This is necessary, for
21295 # example, in the case of _POSIX_SOURCE, which is predefined and required
21296 # on some systems where configure will not decide to define it.
21297 cat >> conftest.vals <<\EOF
21298 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
21301 # Break up conftest.vals because some shells have a limit on
21302 # the size of here documents, and old seds have small limits too.
21304 rm -f conftest.tail
21307 ac_lines=`grep -c . conftest.vals
`
21308 # grep -c gives empty output for an empty file on some AIX systems.
21309 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
21310 # Write a limited-size here document to conftest.frag.
21311 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
21312 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
21314 sed -f conftest.frag conftest.in > conftest.out
21316 mv conftest.out conftest.in
21317 ' >> $CONFIG_STATUS
21318 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
21319 rm -f conftest.vals
21320 mv conftest.tail conftest.vals
21322 rm -f conftest.vals
21324 cat >> $CONFIG_STATUS <<\EOF
21325 rm -f conftest.frag conftest.h
21326 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
21327 cat conftest.in >> conftest.h
21329 if cmp -s $ac_file conftest.h 2>/dev/null; then
21330 echo "$ac_file is unchanged"
21333 # Remove last slash and all that follows it. Not all systems have dirname.
21334 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21335 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21336 # The file is in a subdirectory.
21337 test ! -d "$ac_dir" && mkdir "$ac_dir"
21340 mv conftest.h $ac_file
21345 cat >> $CONFIG_STATUS <<EOF
21347 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
21352 cat >> $CONFIG_STATUS <<\EOF
21354 if test ! -h wx-config; then
21356 mv wx-config wx${TOOLCHAIN_NAME}-config
21357 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
21360 if test ! -d lib; then
21363 if test ! -d lib/wx; then
21366 if test ! -d lib/wx/include; then
21367 mkdir lib/wx/include
21369 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
21370 mkdir lib/wx/include/${TOOLCHAIN_NAME}
21372 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
21373 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
21375 if test -f setup.h; then
21376 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
21381 chmod +x $CONFIG_STATUS
21382 rm -fr confdefs* $ac_clean_files
21383 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21385 if test "$no_recursion" != yes; then
21387 # Remove --cache-file and --srcdir arguments so they do not pile up.
21388 ac_sub_configure_args=
21390 for ac_arg in $ac_configure_args; do
21391 if test -n "$ac_prev"; then
21396 -cache-file | --cache-file | --cache-fil | --cache-fi \
21397 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
21398 ac_prev=cache_file ;;
21399 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
21400 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
21402 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
21404 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
21406 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
21410 for ac_config_dir in demos samples utils contrib; do
21412 # Do not complain, so a configure script can configure whichever
21413 # parts of a large source tree are present.
21414 if test ! -d $srcdir/$ac_config_dir; then
21418 echo configuring in $ac_config_dir
21423 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
21425 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
21433 # A "../" for each directory in /$ac_config_dir.
21434 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
21437 .) # No --srcdir option. We are building in place.
21438 ac_sub_srcdir=$srcdir ;;
21439 /*) # Absolute path.
21440 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
21441 *) # Relative path.
21442 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
21445 # Check for guested configure; otherwise get Cygnus style configure.
21446 if test -f $ac_sub_srcdir/configure; then
21447 ac_sub_configure=$ac_sub_srcdir/configure
21448 elif test -f $ac_sub_srcdir/configure.in; then
21449 ac_sub_configure=$ac_configure
21451 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
21455 # The recursion is here.
21456 if test -n "$ac_sub_configure"; then
21458 # Make the cache file name correct relative to the subdirectory.
21459 case "$cache_file" in
21460 /*) ac_sub_cache_file=$cache_file ;;
21461 *) # Relative path.
21462 ac_sub_cache_file="$ac_dots$cache_file" ;;
21464 case "$ac_given_INSTALL" in
21465 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21466 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21469 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
21470 # The eval makes quoting arguments work.
21471 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
21474 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }