3 # From configure.in Id: configure.in
62 # Configure paths for GTK+
63 # Owen Taylor 1997-2001
67 # Configure paths for GTK+
77 # Guess values for system-dependent variables and create Makefiles.
78 # Generated automatically using autoconf version 2.13
79 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
81 # This configure script is free software; the Free Software Foundation
82 # gives unlimited permission to copy, distribute and modify it.
86 ac_default_prefix
=/usr
/local
87 # Any additions from configure.in:
89 --enable-gui use GUI classes"
91 --enable-universal use wxWindows GUI controls instead of native ones"
95 --with-motif use Motif/Lesstif"
97 --with-mac use Mac OS X"
101 --with-msw use MS-Windows"
103 --with-pm use OS/2 Presentation Manager"
105 --with-mgl use SciTech MGL"
107 --with-microwin use MicroWindows"
111 --enable-nanox use NanoX"
113 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
115 --with-libpng use libpng (PNG image format)"
117 --with-libjpeg use libjpeg (JPEG file format)"
119 --with-libtiff use libtiff (TIFF file format)"
121 --with-opengl use OpenGL (or Mesa)"
123 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
125 --with-regex enable support for wxRegEx class"
127 --with-zlib use zlib for LZW compression"
129 --with-odbc use the IODBC and wxODBC classes"
131 --enable-shared create shared library code"
133 --enable-soname set the DT_SONAME field in ELF shared libraries"
135 --enable-optimise create optimised code"
137 --enable-debug same as debug_flag and debug_info"
139 --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)"
141 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
143 --enable-debug_info create code with debugging information"
145 --enable-debug_gdb create code with extra GDB debugging information"
147 --enable-debug_cntxt use wxDebugContext"
149 --enable-mem_tracing create code with memory tracing"
151 --enable-profile create code with profiling information"
153 --enable-no_rtti create code without RTTI information"
155 --enable-no_exceptions create code without C++ exceptions handling"
157 --enable-permissive compile code disregarding strict ANSI"
159 --enable-no_deps create code without dependency information"
161 --enable-compat20 enable wxWindows 2.0 compatibility"
163 --enable-compat22 enable wxWindows 2.2 compatibility"
165 --disable-compat24 disable wxWindows 2.4 compatibility"
167 --enable-rpath=DIR output the rpath flag from wx-config"
169 --enable-intl use internationalization system"
171 --enable-config use wxConfig (and derived) classes"
173 --enable-protocols use wxProtocol and derived classes"
175 --enable-ftp use wxFTP (requires wxProtocol"
177 --enable-http use wxHTTP (requires wxProtocol"
179 --enable-fileproto use wxFileProto class (requires wxProtocol"
181 --enable-sockets use socket/network classes"
183 --enable-ole use OLE classes"
185 --enable-dataobj use data object classes"
187 --enable-ipc use interprocess communication (wxSocket etc.)"
189 --enable-cmdline use wxCmdLineParser class"
191 --enable-datetime use wxDateTime class"
193 --enable-timedate use obsolete wxDate/wxTime classes"
195 --enable-stopwatch use wxStopWatch class"
197 --enable-dialupman use dialup network classes"
199 --enable-apple_ieee use the Apple IEEE codec"
201 --enable-timer use wxTimer class"
203 --enable-wave use wxWave class"
205 --enable-fraction use wxFraction class"
207 --enable-dynlib use wxLibrary class for DLL loading"
209 --enable-dynamicloader use (new) wxDynamicLibrary class"
211 --enable-longlong use wxLongLong class"
213 --enable-geometry use geometry class"
215 --enable-log use logging system"
217 --enable-streams use wxStream etc classes"
219 --enable-file use wxFile classes"
221 --enable-ffile use wxFFile classes"
223 --enable-textbuf use wxTextBuffer class"
225 --enable-textfile use wxTextFile class"
227 --enable-fontmap use font encodings conversion classes"
229 --enable-unicode compile wxString with Unicode support"
231 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
233 --enable-wxprintfv use wxWindows implementation of vprintf()"
235 --enable-std_iostreams use standard C++ stream classes"
237 --enable-filesystem use virtual file systems classes"
239 --enable-fs_inet use virtual HTTP/FTP filesystems"
241 --enable-fs_zip use virtual ZIP filesystems"
243 --enable-zipstream use wxZipInputStream"
245 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
247 --enable-snglinst use wxSingleInstanceChecker class"
249 --enable-mimetype use wxMimeTypesManager"
251 --enable-sysoptions use wxSystemOptions"
253 --enable-url use wxURL class"
255 --enable-protocol use wxProtocol class"
257 --enable-protocol-http HTTP support in wxProtocol"
259 --enable-protocol-ftp FTP support in wxProtocol"
261 --enable-protocol-file FILE support in wxProtocol"
263 --enable-threads use threads"
265 --enable-docview use document view architecture"
267 --enable-help use help subsystem"
269 --enable-mshtmlhelp use MS HTML Help (win32)"
271 --enable-html use wxHTML sub-library"
273 --enable-htmlhelp use wxHTML-based help"
275 --enable-constraints use layout-constraints system"
277 --enable-printarch use printing architecture"
279 --enable-mdi use multiple document interface architecture"
281 --enable-loggui use standard GUI logger"
283 --enable-logwin use wxLogWindow"
285 --enable-logdialog use wxLogDialog"
287 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
289 --enable-prologio use Prolog IO library"
291 --enable-resources use wxWindows resources"
293 --enable-xresources use X resources for save (default for gtk+)"
295 --enable-clipboard use wxClipboard classes"
297 --enable-dnd use Drag'n'Drop classes"
299 --enable-metafile use win32 metafiles"
301 --enable-treelayout use wxTreeLayout classes"
303 --enable-controls use all usual controls"
305 --enable-accel use accelerators"
307 --enable-button use wxButton class"
309 --enable-bmpbutton use wxBitmapButton class"
311 --enable-calendar use wxCalendarCtrl class"
313 --enable-caret use wxCaret class"
315 --enable-checkbox use wxCheckBox class"
317 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
319 --enable-choice use wxChoice class"
321 --enable-combobox use wxComboBox classes"
323 --enable-gauge use wxGauge class"
325 --enable-grid use wxGrid class"
327 --enable-newgrid use new wxGrid class"
329 --enable-imaglist use wxImageList class"
331 --enable-listbox use wxListBox class"
333 --enable-listctrl use wxListCtrl class"
335 --enable-notebook use wxNotebook class"
337 --enable-propsheet use wxPropertySheet class"
339 --enable-radiobox use wxRadioBox class"
341 --enable-radiobtn use wxRadioButton class"
343 --enable-sash use wxSashWindow class"
345 --enable-scrollbar use wxScrollBar class and scrollable windows"
347 --enable-slider use wxSlider class"
349 --enable-spinbtn use wxSpinButton class"
351 --enable-spinctrl use wxSpinCtrl class"
353 --enable-splitter use wxSplitterWindow class"
355 --enable-statbmp use wxStaticBitmap class"
357 --enable-statbox use wxStaticBox class"
359 --enable-statline use wxStaticLine class"
361 --enable-stattext use wxStaticText class"
363 --enable-statusbar use wxStatusBar class"
365 --enable-tabdialog use wxTabControl class"
367 --enable-textctrl use wxTextCtrl class"
369 --enable-togglebtn use wxToggleButton class"
371 --enable-toolbar use wxToolBar class"
373 --enable-tbarnative use native wxToolBar class"
375 --enable-tbarsmpl use wxToolBarSimple class"
377 --enable-treectrl use wxTreeCtrl class"
379 --enable-tipwindow use wxTipWindow class"
381 --enable-popupwin use wxPopUpWindow class"
383 --enable-commondlg use all common dialogs"
385 --enable-choicedlg use wxChoiceDialog"
387 --enable-coldlg use wxColourDialog"
389 --enable-filedlg use wxFileDialog"
391 --enable-finddlg use wxFindReplaceDialog"
393 --enable-fontdlg use wxFontDialog"
395 --enable-dirdlg use wxDirDialog"
397 --enable-msgdlg use wxMessageDialog"
399 --enable-numberdlg use wxNumberEntryDialog"
401 --enable-splash use wxSplashScreen"
403 --enable-textdlg use wxTextDialog"
405 --enable-tipdlg use startup tips"
407 --enable-progressdlg use wxProgressDialog"
409 --enable-wizarddlg use wxWizard"
411 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
413 --enable-miniframe use wxMiniFrame class"
415 --enable-tooltips use wxToolTip class"
417 --enable-splines use spline drawing code"
419 --enable-validators use wxValidator and derived classes"
421 --enable-busyinfo use wxBusyInfo"
423 --enable-joystick use wxJoystick (Linux only)"
425 --enable-metafiles use wxMetaFile (Windows only)"
427 --enable-dragimage use wxDragImage"
429 --enable-palette use wxPalette class"
431 --enable-image use wxImage class"
433 --enable-gif use gif images (GIF file format)"
435 --enable-pcx use pcx images (PCX file format)"
437 --enable-iff use iff images (IFF file format)"
439 --enable-pnm use pnm images (PNM file format)"
441 --enable-xpm use xpm images (XPM file format)"
443 --enable-icocur use Windows ICO and CUR formats"
445 --disable-largefile omit support for large files"
447 --disable-gtktest do not try to compile and run a test GTK+ program"
449 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
451 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
453 --disable-gtktest Do not try to compile and run a test GTK program"
455 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
457 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
459 --disable-gtktest Do not try to compile and run a test GTK program"
461 --with-x use the X Window System"
463 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
465 # Initialize some variables set by options.
466 # The variables have the same names as the options, with
467 # dashes changed to underlines.
469 cache_file
=.
/config.cache
478 program_transform_name
=s
,x
,x
,
486 bindir
='${exec_prefix}/bin'
487 sbindir
='${exec_prefix}/sbin'
488 libexecdir
='${exec_prefix}/libexec'
489 datadir
='${prefix}/share'
490 sysconfdir
='${prefix}/etc'
491 sharedstatedir
='${prefix}/com'
492 localstatedir
='${prefix}/var'
493 libdir
='${exec_prefix}/lib'
494 includedir
='${prefix}/include'
495 oldincludedir
='/usr/include'
496 infodir
='${prefix}/info'
497 mandir
='${prefix}/man'
499 # Initialize some other variables.
502 SHELL
=${CONFIG_SHELL-/bin/sh}
503 # Maximum number of lines to put in a shell here document.
510 # If the previous option needs an argument, assign it.
511 if test -n "$ac_prev"; then
512 eval "$ac_prev=\$ac_option"
518 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
522 # Accept the important Cygnus configure options, so we can diagnose typos.
526 -bindir | --bindir | --bindi | --bind | --bin | --bi)
528 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
529 bindir
="$ac_optarg" ;;
531 -build | --build | --buil | --bui | --bu)
533 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
534 build
="$ac_optarg" ;;
536 -cache-file | --cache-file | --cache-fil | --cache-fi \
537 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
538 ac_prev
=cache_file
;;
539 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
540 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
541 cache_file
="$ac_optarg" ;;
543 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
545 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
547 datadir
="$ac_optarg" ;;
549 -disable-* | --disable-*)
550 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
551 # Reject names that are not valid shell variable names.
552 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
553 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
555 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
556 eval "enable_${ac_feature}=no" ;;
558 -enable-* | --enable-*)
559 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
560 # Reject names that are not valid shell variable names.
561 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
562 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
564 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
569 eval "enable_${ac_feature}='$ac_optarg'" ;;
571 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
572 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
573 | --exec | --exe | --ex)
574 ac_prev
=exec_prefix
;;
575 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
576 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
577 | --exec=* | --exe=* | --ex=*)
578 exec_prefix
="$ac_optarg" ;;
580 -gas | --gas | --ga | --g)
581 # Obsolete; use --with-gas.
584 -help | --help | --hel | --he)
585 # Omit some internal or obsolete options to make the list less imposing.
586 # This message is too long to be a string in the A/UX 3.1 sh.
588 Usage: configure [options] [host]
589 Options: [defaults in brackets after descriptions]
591 --cache-file=FILE cache test results in FILE
592 --help print this message
593 --no-create do not create output files
594 --quiet, --silent do not print \`checking...' messages
595 --version print the version of autoconf that created configure
596 Directory and file names:
597 --prefix=PREFIX install architecture-independent files in PREFIX
599 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
601 --bindir=DIR user executables in DIR [EPREFIX/bin]
602 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
603 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
604 --datadir=DIR read-only architecture-independent data in DIR
606 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
607 --sharedstatedir=DIR modifiable architecture-independent data in DIR
609 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
610 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
611 --includedir=DIR C header files in DIR [PREFIX/include]
612 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
613 --infodir=DIR info documentation in DIR [PREFIX/info]
614 --mandir=DIR man documentation in DIR [PREFIX/man]
615 --srcdir=DIR find the sources in DIR [configure dir or ..]
616 --program-prefix=PREFIX prepend PREFIX to installed program names
617 --program-suffix=SUFFIX append SUFFIX to installed program names
618 --program-transform-name=PROGRAM
619 run sed PROGRAM on installed program names
623 --build=BUILD configure for building on BUILD [BUILD=HOST]
624 --host=HOST configure for HOST [guessed]
625 --target=TARGET configure for TARGET [TARGET=HOST]
626 Features and packages:
627 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
628 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
629 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
630 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
631 --x-includes=DIR X include files are in DIR
632 --x-libraries=DIR X library files are in DIR
634 if test -n "$ac_help"; then
635 echo "--enable and --with options recognized:$ac_help"
639 -host | --host | --hos | --ho)
641 -host=* | --host=* | --hos=* | --ho=*)
644 -includedir | --includedir | --includedi | --included | --include \
645 | --includ | --inclu | --incl | --inc)
646 ac_prev
=includedir
;;
647 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
648 | --includ=* | --inclu=* | --incl=* | --inc=*)
649 includedir
="$ac_optarg" ;;
651 -infodir | --infodir | --infodi | --infod | --info | --inf)
653 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
654 infodir
="$ac_optarg" ;;
656 -libdir | --libdir | --libdi | --libd)
658 -libdir=* | --libdir=* | --libdi=* | --libd=*)
659 libdir
="$ac_optarg" ;;
661 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
662 | --libexe | --libex | --libe)
663 ac_prev
=libexecdir
;;
664 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
665 | --libexe=* | --libex=* | --libe=*)
666 libexecdir
="$ac_optarg" ;;
668 -localstatedir | --localstatedir | --localstatedi | --localstated \
669 | --localstate | --localstat | --localsta | --localst \
670 | --locals | --local | --loca | --loc | --lo)
671 ac_prev
=localstatedir
;;
672 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
673 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
674 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
675 localstatedir
="$ac_optarg" ;;
677 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
679 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
680 mandir
="$ac_optarg" ;;
683 # Obsolete; use --without-fp.
686 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
690 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
691 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
694 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
695 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
696 | --oldin | --oldi | --old | --ol | --o)
697 ac_prev
=oldincludedir
;;
698 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
699 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
700 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
701 oldincludedir
="$ac_optarg" ;;
703 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
705 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
706 prefix
="$ac_optarg" ;;
708 -program-prefix | --program-prefix | --program-prefi | --program-pref \
709 | --program-pre | --program-pr | --program-p)
710 ac_prev
=program_prefix
;;
711 -program-prefix=* | --program-prefix=* | --program-prefi=* \
712 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
713 program_prefix
="$ac_optarg" ;;
715 -program-suffix | --program-suffix | --program-suffi | --program-suff \
716 | --program-suf | --program-su | --program-s)
717 ac_prev
=program_suffix
;;
718 -program-suffix=* | --program-suffix=* | --program-suffi=* \
719 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
720 program_suffix
="$ac_optarg" ;;
722 -program-transform-name | --program-transform-name \
723 | --program-transform-nam | --program-transform-na \
724 | --program-transform-n | --program-transform- \
725 | --program-transform | --program-transfor \
726 | --program-transfo | --program-transf \
727 | --program-trans | --program-tran \
728 | --progr-tra | --program-tr | --program-t)
729 ac_prev
=program_transform_name
;;
730 -program-transform-name=* | --program-transform-name=* \
731 | --program-transform-nam=* | --program-transform-na=* \
732 | --program-transform-n=* | --program-transform-=* \
733 | --program-transform=* | --program-transfor=* \
734 | --program-transfo=* | --program-transf=* \
735 | --program-trans=* | --program-tran=* \
736 | --progr-tra=* | --program-tr=* | --program-t=*)
737 program_transform_name
="$ac_optarg" ;;
739 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
740 | -silent | --silent | --silen | --sile | --sil)
743 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
745 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
747 sbindir
="$ac_optarg" ;;
749 -sharedstatedir | --sharedstatedir | --sharedstatedi \
750 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
751 | --sharedst | --shareds | --shared | --share | --shar \
753 ac_prev
=sharedstatedir
;;
754 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
755 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
756 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
758 sharedstatedir
="$ac_optarg" ;;
760 -site | --site | --sit)
762 -site=* | --site=* | --sit=*)
765 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
767 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
768 srcdir
="$ac_optarg" ;;
770 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
771 | --syscon | --sysco | --sysc | --sys | --sy)
772 ac_prev
=sysconfdir
;;
773 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
774 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
775 sysconfdir
="$ac_optarg" ;;
777 -target | --target | --targe | --targ | --tar | --ta | --t)
779 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
780 target
="$ac_optarg" ;;
782 -v | -verbose | --verbose | --verbos | --verbo | --verb)
785 -version | --version | --versio | --versi | --vers)
786 echo "configure generated by autoconf version 2.13"
790 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
791 # Reject names that are not valid shell variable names.
792 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
793 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
795 ac_package
=`echo $ac_package| sed 's/-/_/g'`
800 eval "with_${ac_package}='$ac_optarg'" ;;
802 -without-* | --without-*)
803 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
804 # Reject names that are not valid shell variable names.
805 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
806 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
808 ac_package
=`echo $ac_package| sed 's/-/_/g'`
809 eval "with_${ac_package}=no" ;;
812 # Obsolete; use --with-x.
815 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
816 | --x-incl | --x-inc | --x-in | --x-i)
817 ac_prev
=x_includes
;;
818 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
819 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
820 x_includes
="$ac_optarg" ;;
822 -x-libraries | --x-libraries | --x-librarie | --x-librari \
823 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
824 ac_prev
=x_libraries
;;
825 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
826 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
827 x_libraries
="$ac_optarg" ;;
829 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
833 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
834 echo "configure: warning: $ac_option: invalid host type" 1>&2
836 if test "x$nonopt" != xNONE
; then
837 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
845 if test -n "$ac_prev"; then
846 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
849 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
851 # File descriptor usage:
854 # 2 errors and warnings
855 # 3 some systems may open it to /dev/tty
856 # 4 used on the Kubota Titan
857 # 6 checking for... messages and results
858 # 5 compiler messages saved in config.log
859 if test "$silent" = yes; then
867 This file contains any messages produced by compilers while
868 running configure, to aid debugging if configure makes a mistake.
871 # Strip out --no-create and --no-recursion so they do not pile up.
872 # Also quote any args containing shell metacharacters.
877 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
878 | --no-cr | --no-c) ;;
879 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
880 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
881 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
882 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
883 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
888 # Only set these to C if already set. These must not be set unconditionally
889 # because not all systems understand e.g. LANG=C (notably SCO).
890 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
891 # Non-C LC_CTYPE values break the ctype check.
892 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
893 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
894 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
895 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
897 # confdefs.h avoids OS command line length limits that DEFS can exceed.
898 rm -rf conftest
* confdefs.h
899 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
902 # A filename unique to this package, relative to the directory that
903 # configure is in, which we can look for to find out if srcdir is correct.
904 ac_unique_file
=wx
-config.
in
906 # Find the source files, if location was not specified.
907 if test -z "$srcdir"; then
908 ac_srcdir_defaulted
=yes
909 # Try the directory containing this script, then its parent.
911 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
912 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
914 if test ! -r $srcdir/$ac_unique_file; then
918 ac_srcdir_defaulted
=no
920 if test ! -r $srcdir/$ac_unique_file; then
921 if test "$ac_srcdir_defaulted" = yes; then
922 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
924 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
927 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
929 # Prefer explicitly selected file to automatically selected ones.
930 if test -z "$CONFIG_SITE"; then
931 if test "x$prefix" != xNONE
; then
932 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
934 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
937 for ac_site_file
in $CONFIG_SITE; do
938 if test -r "$ac_site_file"; then
939 echo "loading site script $ac_site_file"
944 if test -r "$cache_file"; then
945 echo "loading cache $cache_file"
948 echo "creating cache $cache_file"
953 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
954 ac_cpp
='$CPP $CPPFLAGS'
955 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
956 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
957 cross_compiling
=$ac_cv_prog_cc_cross
961 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
962 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
963 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
970 ac_n
= ac_c
='\c' ac_t
=
976 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
977 if test -f $ac_dir/install-sh; then
979 ac_install_sh
="$ac_aux_dir/install-sh -c"
981 elif test -f $ac_dir/install.sh
; then
983 ac_install_sh
="$ac_aux_dir/install.sh -c"
987 if test -z "$ac_aux_dir"; then
988 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
990 ac_config_guess
=$ac_aux_dir/config.guess
991 ac_config_sub
=$ac_aux_dir/config.sub
992 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
995 # Do some error checking and defaulting for the host and target type.
997 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
1000 # 1. You are not allowed to specify --host, --target, and nonopt at the
1002 # 2. Host defaults to nonopt.
1003 # 3. If nonopt is not specified, then host defaults to the current host,
1004 # as determined by config.guess.
1005 # 4. Target and build default to nonopt.
1006 # 5. If nonopt is not specified, then target and build default to host.
1008 # The aliases save the names the user supplied, while $host etc.
1009 # will get canonicalized.
1010 case $host---$target---$nonopt in
1011 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
1012 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1016 # Make sure we can run config.sub.
1017 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1018 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1021 echo $ac_n "checking host system type""... $ac_c" 1>&6
1022 echo "configure:1023: checking host system type" >&5
1025 case "$host_alias" in
1029 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1030 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1032 *) host_alias
=$nonopt ;;
1036 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1037 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1038 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1039 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1040 echo "$ac_t""$host" 1>&6
1042 echo $ac_n "checking target system type""... $ac_c" 1>&6
1043 echo "configure:1044: checking target system type" >&5
1045 target_alias
=$target
1046 case "$target_alias" in
1049 NONE
) target_alias
=$host_alias ;;
1050 *) target_alias
=$nonopt ;;
1054 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1055 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1056 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1057 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1058 echo "$ac_t""$target" 1>&6
1060 echo $ac_n "checking build system type""... $ac_c" 1>&6
1061 echo "configure:1062: checking build system type" >&5
1064 case "$build_alias" in
1067 NONE
) build_alias
=$host_alias ;;
1068 *) build_alias
=$nonopt ;;
1072 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1073 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1074 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1075 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1076 echo "$ac_t""$build" 1>&6
1078 test "$host_alias" != "$target_alias" &&
1079 test "$program_prefix$program_suffix$program_transform_name" = \
1081 program_prefix
=${target_alias}-
1085 WX_MAJOR_VERSION_NUMBER
=2
1086 WX_MINOR_VERSION_NUMBER
=5
1089 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1090 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1092 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1126 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1128 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1133 DEFAULT_wxUSE_MICROWIN
=0
1134 DEFAULT_wxUSE_MOTIF
=0
1139 DEFAULT_DEFAULT_wxUSE_GTK
=0
1140 DEFAULT_DEFAULT_wxUSE_MAC
=0
1141 DEFAULT_DEFAULT_wxUSE_MGL
=0
1142 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1143 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1144 DEFAULT_DEFAULT_wxUSE_MSW
=0
1145 DEFAULT_DEFAULT_wxUSE_PM
=0
1146 DEFAULT_DEFAULT_wxUSE_X11
=0
1154 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1155 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1157 cat >> confdefs.h
<<\EOF
1164 cat >> confdefs.h
<<\EOF
1169 if test "x$TMP" = "xalpha"; then
1171 cat >> confdefs.h
<<\EOF
1176 DEFAULT_DEFAULT_wxUSE_GTK
=1
1178 *-*-irix5* | *-*-irix6* )
1181 cat >> confdefs.h
<<\EOF
1185 cat >> confdefs.h
<<\EOF
1189 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1195 cat >> confdefs.h
<<\EOF
1199 cat >> confdefs.h
<<\EOF
1200 #define __SOLARIS__ 1
1203 cat >> confdefs.h
<<\EOF
1207 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1208 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1214 cat >> confdefs.h
<<\EOF
1218 cat >> confdefs.h
<<\EOF
1222 cat >> confdefs.h
<<\EOF
1226 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1231 cat >> confdefs.h
<<\EOF
1232 #define __FREEBSD__ 1
1235 cat >> confdefs.h
<<\EOF
1239 DEFAULT_DEFAULT_wxUSE_GTK
=1
1244 cat >> confdefs.h
<<\EOF
1245 #define __OPENBSD__ 1
1248 cat >> confdefs.h
<<\EOF
1252 DEFAULT_DEFAULT_wxUSE_GTK
=1
1257 cat >> confdefs.h
<<\EOF
1258 #define __NETBSD__ 1
1261 cat >> confdefs.h
<<\EOF
1265 DEFAULT_DEFAULT_wxUSE_GTK
=1
1270 cat >> confdefs.h
<<\EOF
1274 cat >> confdefs.h
<<\EOF
1278 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1279 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1284 cat >> confdefs.h
<<\EOF
1288 cat >> confdefs.h
<<\EOF
1292 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1297 cat >> confdefs.h
<<\EOF
1301 cat >> confdefs.h
<<\EOF
1305 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1312 cat >> confdefs.h
<<\EOF
1316 cat >> confdefs.h
<<\EOF
1320 cat >> confdefs.h
<<\EOF
1324 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1327 *-*-cygwin* | *-*-mingw32* )
1331 DEFAULT_DEFAULT_wxUSE_MSW
=1
1337 cat >> confdefs.h
<<\EOF
1342 DEFAULT_DEFAULT_wxUSE_MGL
=1
1343 LIBS
="$LIBS -lstdc++"
1346 *-pc-os2_emx | *-pc-os2-emx )
1347 cat >> confdefs.h
<<\EOF
1352 DEFAULT_DEFAULT_wxUSE_PM
=1
1359 cat >> confdefs.h
<<\EOF
1363 cat >> confdefs.h
<<\EOF
1364 #define __DARWIN__ 1
1367 cat >> confdefs.h
<<\EOF
1368 #define __POWERPC__ 1
1371 DEFAULT_DEFAULT_wxUSE_MAC
=1
1376 cat >> confdefs.h
<<\EOF
1383 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1389 wx_arg_cache_file
="configarg.cache"
1390 echo "loading argument cache $wx_arg_cache_file"
1391 rm -f ${wx_arg_cache_file}.tmp
1392 touch ${wx_arg_cache_file}.tmp
1393 touch ${wx_arg_cache_file}
1397 if test $DEBUG_CONFIGURE = 1; then
1398 DEFAULT_wxUSE_UNIVERSAL
=no
1400 DEFAULT_wxUSE_NANOX
=no
1402 DEFAULT_wxUSE_THREADS
=yes
1404 DEFAULT_wxUSE_SHARED
=yes
1405 DEFAULT_wxUSE_SONAME
=no
1406 DEFAULT_wxUSE_OPTIMISE
=no
1407 DEFAULT_wxUSE_PROFILE
=no
1408 DEFAULT_wxUSE_NO_DEPS
=no
1409 DEFAULT_wxUSE_NO_RTTI
=no
1410 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1411 DEFAULT_wxUSE_PERMISSIVE
=no
1412 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1413 DEFAULT_wxUSE_DEBUG_INFO
=yes
1414 DEFAULT_wxUSE_DEBUG_GDB
=yes
1415 DEFAULT_wxUSE_MEM_TRACING
=no
1416 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1417 DEFAULT_wxUSE_DMALLOC
=no
1418 DEFAULT_wxUSE_PRECOMP
=no
1419 DEFAULT_wxUSE_APPLE_IEEE
=no
1421 DEFAULT_wxUSE_LOG
=yes
1422 DEFAULT_wxUSE_LOGWINDOW
=no
1423 DEFAULT_wxUSE_LOGGUI
=no
1424 DEFAULT_wxUSE_LOGDIALOG
=no
1426 DEFAULT_wxUSE_GUI
=yes
1427 DEFAULT_wxUSE_CONTROLS
=no
1429 DEFAULT_wxUSE_REGEX
=no
1430 DEFAULT_wxUSE_ZLIB
=no
1431 DEFAULT_wxUSE_LIBPNG
=no
1432 DEFAULT_wxUSE_LIBJPEG
=no
1433 DEFAULT_wxUSE_LIBTIFF
=no
1434 DEFAULT_wxUSE_ODBC
=no
1435 DEFAULT_wxUSE_OPENGL
=no
1437 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1438 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1439 DEFAULT_wxUSE_STD_IOSTREAM
=no
1440 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1441 DEFAULT_wxUSE_DATETIME
=no
1442 DEFAULT_wxUSE_TIMEDATE
=no
1443 DEFAULT_wxUSE_TIMER
=no
1444 DEFAULT_wxUSE_STOPWATCH
=no
1445 DEFAULT_wxUSE_FILE
=no
1446 DEFAULT_wxUSE_FFILE
=no
1447 DEFAULT_wxUSE_TEXTBUFFER
=no
1448 DEFAULT_wxUSE_TEXTFILE
=no
1449 DEFAULT_wxUSE_WAVE
=no
1450 DEFAULT_wxUSE_INTL
=no
1451 DEFAULT_wxUSE_CONFIG
=no
1452 DEFAULT_wxUSE_FONTMAP
=no
1453 DEFAULT_wxUSE_STREAMS
=no
1454 DEFAULT_wxUSE_SOCKETS
=no
1455 DEFAULT_wxUSE_OLE
=no
1456 DEFAULT_wxUSE_DATAOBJ
=no
1457 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1458 DEFAULT_wxUSE_JOYSTICK
=no
1459 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1460 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1461 DEFAULT_wxUSE_LONGLONG
=no
1462 DEFAULT_wxUSE_GEOMETRY
=no
1464 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1465 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1466 DEFAULT_wxUSE_POSTSCRIPT
=no
1468 DEFAULT_wxUSE_X_RESOURCES
=no
1469 DEFAULT_wxUSE_CLIPBOARD
=no
1470 DEFAULT_wxUSE_TOOLTIPS
=no
1471 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1472 DEFAULT_wxUSE_DRAGIMAGE
=no
1473 DEFAULT_wxUSE_SPLINES
=no
1475 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1476 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1477 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1479 DEFAULT_wxUSE_PROLOGIO
=no
1480 DEFAULT_wxUSE_RESOURCES
=no
1481 DEFAULT_wxUSE_CONSTRAINTS
=no
1482 DEFAULT_wxUSE_IPC
=no
1483 DEFAULT_wxUSE_HELP
=no
1484 DEFAULT_wxUSE_MS_HTML_HELP
=no
1485 DEFAULT_wxUSE_WXHTML_HELP
=no
1486 DEFAULT_wxUSE_TREELAYOUT
=no
1487 DEFAULT_wxUSE_METAFILE
=no
1488 DEFAULT_wxUSE_MIMETYPE
=no
1489 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1490 DEFAULT_wxUSE_PROTOCOL
=no
1491 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1492 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1493 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1494 DEFAULT_wxUSE_URL
=no
1496 DEFAULT_wxUSE_COMMONDLGS
=no
1497 DEFAULT_wxUSE_CHOICEDLG
=no
1498 DEFAULT_wxUSE_COLOURDLG
=no
1499 DEFAULT_wxUSE_DIRDLG
=no
1500 DEFAULT_wxUSE_FILEDLG
=no
1501 DEFAULT_wxUSE_FINDREPLDLG
=no
1502 DEFAULT_wxUSE_FONTDLG
=no
1503 DEFAULT_wxUSE_MSGDLG
=no
1504 DEFAULT_wxUSE_NUMBERDLG
=no
1505 DEFAULT_wxUSE_TEXTDLG
=no
1506 DEFAULT_wxUSE_SPLASH
=no
1507 DEFAULT_wxUSE_STARTUP_TIPS
=no
1508 DEFAULT_wxUSE_PROGRESSDLG
=no
1509 DEFAULT_wxUSE_WIZARDDLG
=no
1511 DEFAULT_wxUSE_MENUS
=no
1512 DEFAULT_wxUSE_MINIFRAME
=no
1513 DEFAULT_wxUSE_HTML
=no
1514 DEFAULT_wxUSE_FILESYSTEM
=no
1515 DEFAULT_wxUSE_FS_INET
=no
1516 DEFAULT_wxUSE_FS_ZIP
=no
1517 DEFAULT_wxUSE_BUSYINFO
=no
1518 DEFAULT_wxUSE_ZIPSTREAM
=no
1519 DEFAULT_wxUSE_VALIDATORS
=no
1521 DEFAULT_wxUSE_ACCEL
=no
1522 DEFAULT_wxUSE_BUTTON
=no
1523 DEFAULT_wxUSE_BMPBUTTON
=no
1524 DEFAULT_wxUSE_CALCTRL
=no
1525 DEFAULT_wxUSE_CARET
=no
1526 DEFAULT_wxUSE_CHECKBOX
=no
1527 DEFAULT_wxUSE_CHECKLST
=no
1528 DEFAULT_wxUSE_CHOICE
=no
1529 DEFAULT_wxUSE_COMBOBOX
=no
1530 DEFAULT_wxUSE_GAUGE
=no
1531 DEFAULT_wxUSE_GRID
=no
1532 DEFAULT_wxUSE_NEW_GRID
=no
1533 DEFAULT_wxUSE_IMAGLIST
=no
1534 DEFAULT_wxUSE_LISTBOX
=no
1535 DEFAULT_wxUSE_LISTCTRL
=no
1536 DEFAULT_wxUSE_NOTEBOOK
=no
1537 DEFAULT_wxUSE_PROPSHEET
=no
1538 DEFAULT_wxUSE_RADIOBOX
=no
1539 DEFAULT_wxUSE_RADIOBTN
=no
1540 DEFAULT_wxUSE_SASH
=no
1541 DEFAULT_wxUSE_SCROLLBAR
=no
1542 DEFAULT_wxUSE_SLIDER
=no
1543 DEFAULT_wxUSE_SPINBTN
=no
1544 DEFAULT_wxUSE_SPINCTRL
=no
1545 DEFAULT_wxUSE_SPLITTER
=no
1546 DEFAULT_wxUSE_STATBMP
=no
1547 DEFAULT_wxUSE_STATBOX
=no
1548 DEFAULT_wxUSE_STATLINE
=no
1549 DEFAULT_wxUSE_STATTEXT
=no
1550 DEFAULT_wxUSE_STATUSBAR
=yes
1551 DEFAULT_wxUSE_TABDIALOG
=no
1552 DEFAULT_wxUSE_TEXTCTRL
=no
1553 DEFAULT_wxUSE_TOGGLEBTN
=no
1554 DEFAULT_wxUSE_TOOLBAR
=no
1555 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1556 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1557 DEFAULT_wxUSE_TREECTRL
=no
1558 DEFAULT_wxUSE_POPUPWIN
=no
1559 DEFAULT_wxUSE_TIPWINDOW
=no
1561 DEFAULT_wxUSE_UNICODE
=no
1562 DEFAULT_wxUSE_UNICODE_MSLU
=no
1563 DEFAULT_wxUSE_WCSRTOMBS
=no
1565 DEFAULT_wxUSE_PALETTE
=no
1566 DEFAULT_wxUSE_IMAGE
=no
1567 DEFAULT_wxUSE_GIF
=no
1568 DEFAULT_wxUSE_PCX
=no
1569 DEFAULT_wxUSE_PNM
=no
1570 DEFAULT_wxUSE_IFF
=no
1571 DEFAULT_wxUSE_XPM
=no
1572 DEFAULT_wxUSE_ICO_CUR
=no
1574 DEFAULT_wxUSE_UNIVERSAL
=no
1576 DEFAULT_wxUSE_NANOX
=no
1578 DEFAULT_wxUSE_THREADS
=yes
1580 DEFAULT_wxUSE_SHARED
=yes
1581 DEFAULT_wxUSE_SONAME
=no
1582 DEFAULT_wxUSE_OPTIMISE
=yes
1583 DEFAULT_wxUSE_PROFILE
=no
1584 DEFAULT_wxUSE_NO_DEPS
=no
1585 DEFAULT_wxUSE_NO_RTTI
=no
1586 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1587 DEFAULT_wxUSE_PERMISSIVE
=no
1588 DEFAULT_wxUSE_DEBUG_FLAG
=no
1589 DEFAULT_wxUSE_DEBUG_INFO
=no
1590 DEFAULT_wxUSE_DEBUG_GDB
=no
1591 DEFAULT_wxUSE_MEM_TRACING
=no
1592 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1593 DEFAULT_wxUSE_DMALLOC
=no
1594 DEFAULT_wxUSE_PRECOMP
=no
1595 DEFAULT_wxUSE_APPLE_IEEE
=yes
1597 DEFAULT_wxUSE_LOG
=yes
1598 DEFAULT_wxUSE_LOGWINDOW
=yes
1599 DEFAULT_wxUSE_LOGGUI
=yes
1600 DEFAULT_wxUSE_LOGDIALOG
=yes
1602 DEFAULT_wxUSE_GUI
=yes
1604 DEFAULT_wxUSE_REGEX
=yes
1605 DEFAULT_wxUSE_ZLIB
=yes
1606 DEFAULT_wxUSE_LIBPNG
=yes
1607 DEFAULT_wxUSE_LIBJPEG
=yes
1608 DEFAULT_wxUSE_LIBTIFF
=yes
1609 DEFAULT_wxUSE_ODBC
=no
1610 DEFAULT_wxUSE_OPENGL
=no
1612 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1613 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1614 DEFAULT_wxUSE_STD_IOSTREAM
=no
1615 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1616 DEFAULT_wxUSE_DATETIME
=yes
1617 DEFAULT_wxUSE_TIMEDATE
=no
1618 DEFAULT_wxUSE_TIMER
=yes
1619 DEFAULT_wxUSE_STOPWATCH
=yes
1620 DEFAULT_wxUSE_FILE
=yes
1621 DEFAULT_wxUSE_FFILE
=yes
1622 DEFAULT_wxUSE_TEXTBUFFER
=yes
1623 DEFAULT_wxUSE_TEXTFILE
=yes
1624 DEFAULT_wxUSE_WAVE
=no
1625 DEFAULT_wxUSE_INTL
=yes
1626 DEFAULT_wxUSE_CONFIG
=yes
1627 DEFAULT_wxUSE_FONTMAP
=yes
1628 DEFAULT_wxUSE_STREAMS
=yes
1629 DEFAULT_wxUSE_SOCKETS
=yes
1630 DEFAULT_wxUSE_OLE
=yes
1631 DEFAULT_wxUSE_DATAOBJ
=yes
1632 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1633 DEFAULT_wxUSE_JOYSTICK
=yes
1634 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1635 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1636 DEFAULT_wxUSE_LONGLONG
=yes
1637 DEFAULT_wxUSE_GEOMETRY
=yes
1639 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1640 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1641 DEFAULT_wxUSE_POSTSCRIPT
=yes
1643 DEFAULT_wxUSE_X_RESOURCES
=no
1644 DEFAULT_wxUSE_CLIPBOARD
=yes
1645 DEFAULT_wxUSE_TOOLTIPS
=yes
1646 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1647 DEFAULT_wxUSE_DRAGIMAGE
=yes
1648 DEFAULT_wxUSE_SPLINES
=yes
1650 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1651 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1652 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1654 DEFAULT_wxUSE_PROLOGIO
=no
1655 DEFAULT_wxUSE_RESOURCES
=no
1656 DEFAULT_wxUSE_CONSTRAINTS
=yes
1657 DEFAULT_wxUSE_IPC
=yes
1658 DEFAULT_wxUSE_HELP
=yes
1659 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1660 DEFAULT_wxUSE_WXHTML_HELP
=yes
1661 DEFAULT_wxUSE_TREELAYOUT
=yes
1662 DEFAULT_wxUSE_METAFILE
=yes
1663 DEFAULT_wxUSE_MIMETYPE
=yes
1664 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1665 DEFAULT_wxUSE_PROTOCOL
=yes
1666 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1667 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1668 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1669 DEFAULT_wxUSE_URL
=yes
1671 DEFAULT_wxUSE_COMMONDLGS
=yes
1672 DEFAULT_wxUSE_CHOICEDLG
=yes
1673 DEFAULT_wxUSE_COLOURDLG
=yes
1674 DEFAULT_wxUSE_DIRDLG
=yes
1675 DEFAULT_wxUSE_FILEDLG
=yes
1676 DEFAULT_wxUSE_FINDREPLDLG
=yes
1677 DEFAULT_wxUSE_FONTDLG
=yes
1678 DEFAULT_wxUSE_MSGDLG
=yes
1679 DEFAULT_wxUSE_NUMBERDLG
=yes
1680 DEFAULT_wxUSE_TEXTDLG
=yes
1681 DEFAULT_wxUSE_SPLASH
=yes
1682 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1683 DEFAULT_wxUSE_PROGRESSDLG
=yes
1684 DEFAULT_wxUSE_WIZARDDLG
=yes
1686 DEFAULT_wxUSE_MENUS
=yes
1687 DEFAULT_wxUSE_MINIFRAME
=yes
1688 DEFAULT_wxUSE_HTML
=yes
1689 DEFAULT_wxUSE_FILESYSTEM
=yes
1690 DEFAULT_wxUSE_FS_INET
=yes
1691 DEFAULT_wxUSE_FS_ZIP
=yes
1692 DEFAULT_wxUSE_BUSYINFO
=yes
1693 DEFAULT_wxUSE_ZIPSTREAM
=yes
1694 DEFAULT_wxUSE_VALIDATORS
=yes
1696 DEFAULT_wxUSE_ACCEL
=yes
1697 DEFAULT_wxUSE_BUTTON
=yes
1698 DEFAULT_wxUSE_BMPBUTTON
=yes
1699 DEFAULT_wxUSE_CALCTRL
=yes
1700 DEFAULT_wxUSE_CARET
=yes
1701 DEFAULT_wxUSE_CHECKBOX
=yes
1702 DEFAULT_wxUSE_CHECKLST
=yes
1703 DEFAULT_wxUSE_CHOICE
=yes
1704 DEFAULT_wxUSE_COMBOBOX
=yes
1705 DEFAULT_wxUSE_GAUGE
=yes
1706 DEFAULT_wxUSE_GRID
=yes
1707 DEFAULT_wxUSE_NEW_GRID
=yes
1708 DEFAULT_wxUSE_IMAGLIST
=yes
1709 DEFAULT_wxUSE_LISTBOX
=yes
1710 DEFAULT_wxUSE_LISTCTRL
=yes
1711 DEFAULT_wxUSE_NOTEBOOK
=yes
1712 DEFAULT_wxUSE_PROPSHEET
=yes
1713 DEFAULT_wxUSE_RADIOBOX
=yes
1714 DEFAULT_wxUSE_RADIOBTN
=yes
1715 DEFAULT_wxUSE_SASH
=yes
1716 DEFAULT_wxUSE_SCROLLBAR
=yes
1717 DEFAULT_wxUSE_SLIDER
=yes
1718 DEFAULT_wxUSE_SPINBTN
=yes
1719 DEFAULT_wxUSE_SPINCTRL
=yes
1720 DEFAULT_wxUSE_SPLITTER
=yes
1721 DEFAULT_wxUSE_STATBMP
=yes
1722 DEFAULT_wxUSE_STATBOX
=yes
1723 DEFAULT_wxUSE_STATLINE
=yes
1724 DEFAULT_wxUSE_STATTEXT
=yes
1725 DEFAULT_wxUSE_STATUSBAR
=yes
1726 DEFAULT_wxUSE_TABDIALOG
=no
1727 DEFAULT_wxUSE_TEXTCTRL
=yes
1728 DEFAULT_wxUSE_TOGGLEBTN
=yes
1729 DEFAULT_wxUSE_TOOLBAR
=yes
1730 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1731 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1732 DEFAULT_wxUSE_TREECTRL
=yes
1733 DEFAULT_wxUSE_POPUPWIN
=yes
1734 DEFAULT_wxUSE_TIPWINDOW
=yes
1736 DEFAULT_wxUSE_UNICODE
=no
1737 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1738 DEFAULT_wxUSE_WCSRTOMBS
=no
1740 DEFAULT_wxUSE_PALETTE
=yes
1741 DEFAULT_wxUSE_IMAGE
=yes
1742 DEFAULT_wxUSE_GIF
=yes
1743 DEFAULT_wxUSE_PCX
=yes
1744 DEFAULT_wxUSE_IFF
=no
1745 DEFAULT_wxUSE_PNM
=yes
1746 DEFAULT_wxUSE_XPM
=yes
1747 DEFAULT_wxUSE_ICO_CUR
=yes
1752 for toolkit
in `echo $ALL_TOOLKITS`; do
1753 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
1754 if test "x$LINE" != "x" ; then
1755 has_toolkit_in_cache
=1
1756 eval "DEFAULT_$LINE"
1757 eval "CACHE_$toolkit=1"
1764 echo $ac_n "checking for --${enablestring:-enable}-gui""... $ac_c" 1>&6
1765 echo "configure:1766: checking for --${enablestring:-enable}-gui" >&5
1767 # Check whether --enable-gui or --disable-gui was given.
1768 if test "${enable_gui+set}" = set; then
1769 enableval
="$enable_gui"
1771 if test "$enableval" = yes; then
1772 ac_cv_use_gui
='wxUSE_GUI=yes'
1774 ac_cv_use_gui
='wxUSE_GUI=no'
1779 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1780 if test "x$LINE" != x
; then
1781 eval "DEFAULT_$LINE"
1786 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1791 eval "$ac_cv_use_gui"
1792 if test "$no_cache" != 1; then
1793 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1796 if test "$wxUSE_GUI" = yes; then
1797 echo "$ac_t""yes" 1>&6
1799 echo "$ac_t""no" 1>&6
1803 if test "$wxUSE_GUI" = "yes"; then
1807 echo $ac_n "checking for --${enablestring:-enable}-universal""... $ac_c" 1>&6
1808 echo "configure:1809: checking for --${enablestring:-enable}-universal" >&5
1810 # Check whether --enable-universal or --disable-universal was given.
1811 if test "${enable_universal+set}" = set; then
1812 enableval
="$enable_universal"
1814 if test "$enableval" = yes; then
1815 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1817 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1822 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1823 if test "x$LINE" != x
; then
1824 eval "DEFAULT_$LINE"
1829 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1834 eval "$ac_cv_use_universal"
1835 if test "$no_cache" != 1; then
1836 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1839 if test "$wxUSE_UNIVERSAL" = yes; then
1840 echo "$ac_t""yes" 1>&6
1842 echo "$ac_t""no" 1>&6
1845 # Check whether --with-gtk or --without-gtk was given.
1846 if test "${with_gtk+set}" = set; then
1848 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1851 # Check whether --with-motif or --without-motif was given.
1852 if test "${with_motif+set}" = set; then
1853 withval
="$with_motif"
1854 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1857 # Check whether --with-mac or --without-mac was given.
1858 if test "${with_mac+set}" = set; then
1860 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1863 # Check whether --with-wine or --without-wine was given.
1864 if test "${with_wine+set}" = set; then
1865 withval
="$with_wine"
1866 wxUSE_WINE
="$withval" CACHE_WINE
=1
1869 # Check whether --with-msw or --without-msw was given.
1870 if test "${with_msw+set}" = set; then
1872 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1875 # Check whether --with-pm or --without-pm was given.
1876 if test "${with_pm+set}" = set; then
1878 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1881 # Check whether --with-mgl or --without-mgl was given.
1882 if test "${with_mgl+set}" = set; then
1884 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1887 # Check whether --with-microwin or --without-microwin was given.
1888 if test "${with_microwin+set}" = set; then
1889 withval
="$with_microwin"
1890 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1893 # Check whether --with-x11 or --without-x11 was given.
1894 if test "${with_x11+set}" = set; then
1896 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1901 echo $ac_n "checking for --${enablestring:-enable}-nanox""... $ac_c" 1>&6
1902 echo "configure:1903: checking for --${enablestring:-enable}-nanox" >&5
1904 # Check whether --enable-nanox or --disable-nanox was given.
1905 if test "${enable_nanox+set}" = set; then
1906 enableval
="$enable_nanox"
1908 if test "$enableval" = yes; then
1909 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1911 ac_cv_use_nanox
='wxUSE_NANOX=no'
1916 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1917 if test "x$LINE" != x
; then
1918 eval "DEFAULT_$LINE"
1923 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1928 eval "$ac_cv_use_nanox"
1929 if test "$no_cache" != 1; then
1930 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1933 if test "$wxUSE_NANOX" = yes; then
1934 echo "$ac_t""yes" 1>&6
1936 echo "$ac_t""no" 1>&6
1942 echo $ac_n "checking for --${enablestring:-enable}-gtk2""... $ac_c" 1>&6
1943 echo "configure:1944: checking for --${enablestring:-enable}-gtk2" >&5
1945 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1946 if test "${enable_gtk2+set}" = set; then
1947 enableval
="$enable_gtk2"
1949 if test "$enableval" = yes; then
1950 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
1952 ac_cv_use_gtk2
='wxUSE_GTK2=no'
1957 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
1958 if test "x$LINE" != x
; then
1959 eval "DEFAULT_$LINE"
1964 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
1969 eval "$ac_cv_use_gtk2"
1970 if test "$no_cache" != 1; then
1971 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
1974 if test "$wxUSE_GTK2" = yes; then
1975 echo "$ac_t""yes" 1>&6
1977 echo "$ac_t""no" 1>&6
1982 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1983 echo "configure:1984: checking for --with-libpng" >&5
1985 # Check whether --with-libpng or --without-libpng was given.
1986 if test "${with_libpng+set}" = set; then
1987 withval
="$with_libpng"
1989 if test "$withval" = yes; then
1990 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1991 elif test "$withval" = no
; then
1992 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1993 elif test "$withval" = sys
; then
1994 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1995 elif test "$withval" = builtin; then
1996 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1998 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2003 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2004 if test "x$LINE" != x
; then
2005 eval "DEFAULT_$LINE"
2010 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2015 eval "$ac_cv_use_libpng"
2016 if test "$no_cache" != 1; then
2017 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2020 if test "$wxUSE_LIBPNG" = yes; then
2021 echo "$ac_t""yes" 1>&6
2022 elif test "$wxUSE_LIBPNG" = no
; then
2023 echo "$ac_t""no" 1>&6
2024 elif test "$wxUSE_LIBPNG" = sys
; then
2025 echo "$ac_t""system version" 1>&6
2026 elif test "$wxUSE_LIBPNG" = builtin; then
2027 echo "$ac_t""builtin version" 1>&6
2029 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2033 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2034 echo "configure:2035: checking for --with-libjpeg" >&5
2036 # Check whether --with-libjpeg or --without-libjpeg was given.
2037 if test "${with_libjpeg+set}" = set; then
2038 withval
="$with_libjpeg"
2040 if test "$withval" = yes; then
2041 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2042 elif test "$withval" = no
; then
2043 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2044 elif test "$withval" = sys
; then
2045 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2046 elif test "$withval" = builtin; then
2047 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2049 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2054 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2055 if test "x$LINE" != x
; then
2056 eval "DEFAULT_$LINE"
2061 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2066 eval "$ac_cv_use_libjpeg"
2067 if test "$no_cache" != 1; then
2068 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2071 if test "$wxUSE_LIBJPEG" = yes; then
2072 echo "$ac_t""yes" 1>&6
2073 elif test "$wxUSE_LIBJPEG" = no
; then
2074 echo "$ac_t""no" 1>&6
2075 elif test "$wxUSE_LIBJPEG" = sys
; then
2076 echo "$ac_t""system version" 1>&6
2077 elif test "$wxUSE_LIBJPEG" = builtin; then
2078 echo "$ac_t""builtin version" 1>&6
2080 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2084 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2085 echo "configure:2086: checking for --with-libtiff" >&5
2087 # Check whether --with-libtiff or --without-libtiff was given.
2088 if test "${with_libtiff+set}" = set; then
2089 withval
="$with_libtiff"
2091 if test "$withval" = yes; then
2092 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2093 elif test "$withval" = no
; then
2094 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2095 elif test "$withval" = sys
; then
2096 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2097 elif test "$withval" = builtin; then
2098 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2100 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2105 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2106 if test "x$LINE" != x
; then
2107 eval "DEFAULT_$LINE"
2112 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2117 eval "$ac_cv_use_libtiff"
2118 if test "$no_cache" != 1; then
2119 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2122 if test "$wxUSE_LIBTIFF" = yes; then
2123 echo "$ac_t""yes" 1>&6
2124 elif test "$wxUSE_LIBTIFF" = no
; then
2125 echo "$ac_t""no" 1>&6
2126 elif test "$wxUSE_LIBTIFF" = sys
; then
2127 echo "$ac_t""system version" 1>&6
2128 elif test "$wxUSE_LIBTIFF" = builtin; then
2129 echo "$ac_t""builtin version" 1>&6
2131 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2135 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2136 echo "configure:2137: checking for --with-opengl" >&5
2138 # Check whether --with-opengl or --without-opengl was given.
2139 if test "${with_opengl+set}" = set; then
2140 withval
="$with_opengl"
2142 if test "$withval" = yes; then
2143 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2145 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2150 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2151 if test "x$LINE" != x
; then
2152 eval "DEFAULT_$LINE"
2157 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2162 eval "$ac_cv_use_opengl"
2163 if test "$no_cache" != 1; then
2164 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2167 if test "$wxUSE_OPENGL" = yes; then
2168 echo "$ac_t""yes" 1>&6
2170 echo "$ac_t""no" 1>&6
2177 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2178 echo "configure:2179: checking for --with-dmalloc" >&5
2180 # Check whether --with-dmalloc or --without-dmalloc was given.
2181 if test "${with_dmalloc+set}" = set; then
2182 withval
="$with_dmalloc"
2184 if test "$withval" = yes; then
2185 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2187 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2192 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2193 if test "x$LINE" != x
; then
2194 eval "DEFAULT_$LINE"
2199 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2204 eval "$ac_cv_use_dmalloc"
2205 if test "$no_cache" != 1; then
2206 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2209 if test "$wxUSE_DMALLOC" = yes; then
2210 echo "$ac_t""yes" 1>&6
2212 echo "$ac_t""no" 1>&6
2216 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2217 echo "configure:2218: checking for --with-regex" >&5
2219 # Check whether --with-regex or --without-regex was given.
2220 if test "${with_regex+set}" = set; then
2221 withval
="$with_regex"
2223 if test "$withval" = yes; then
2224 ac_cv_use_regex
='wxUSE_REGEX=yes'
2225 elif test "$withval" = no
; then
2226 ac_cv_use_regex
='wxUSE_REGEX=no'
2227 elif test "$withval" = sys
; then
2228 ac_cv_use_regex
='wxUSE_REGEX=sys'
2229 elif test "$withval" = builtin; then
2230 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2232 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2237 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2238 if test "x$LINE" != x
; then
2239 eval "DEFAULT_$LINE"
2244 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2249 eval "$ac_cv_use_regex"
2250 if test "$no_cache" != 1; then
2251 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2254 if test "$wxUSE_REGEX" = yes; then
2255 echo "$ac_t""yes" 1>&6
2256 elif test "$wxUSE_REGEX" = no
; then
2257 echo "$ac_t""no" 1>&6
2258 elif test "$wxUSE_REGEX" = sys
; then
2259 echo "$ac_t""system version" 1>&6
2260 elif test "$wxUSE_REGEX" = builtin; then
2261 echo "$ac_t""builtin version" 1>&6
2263 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2267 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2268 echo "configure:2269: checking for --with-zlib" >&5
2270 # Check whether --with-zlib or --without-zlib was given.
2271 if test "${with_zlib+set}" = set; then
2272 withval
="$with_zlib"
2274 if test "$withval" = yes; then
2275 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2276 elif test "$withval" = no
; then
2277 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2278 elif test "$withval" = sys
; then
2279 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2280 elif test "$withval" = builtin; then
2281 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2283 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2288 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2289 if test "x$LINE" != x
; then
2290 eval "DEFAULT_$LINE"
2295 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2300 eval "$ac_cv_use_zlib"
2301 if test "$no_cache" != 1; then
2302 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2305 if test "$wxUSE_ZLIB" = yes; then
2306 echo "$ac_t""yes" 1>&6
2307 elif test "$wxUSE_ZLIB" = no
; then
2308 echo "$ac_t""no" 1>&6
2309 elif test "$wxUSE_ZLIB" = sys
; then
2310 echo "$ac_t""system version" 1>&6
2311 elif test "$wxUSE_ZLIB" = builtin; then
2312 echo "$ac_t""builtin version" 1>&6
2314 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2318 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2319 echo "configure:2320: checking for --with-odbc" >&5
2321 # Check whether --with-odbc or --without-odbc was given.
2322 if test "${with_odbc+set}" = set; then
2323 withval
="$with_odbc"
2325 if test "$withval" = yes; then
2326 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2328 ac_cv_use_odbc
='wxUSE_ODBC=no'
2333 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2334 if test "x$LINE" != x
; then
2335 eval "DEFAULT_$LINE"
2340 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2345 eval "$ac_cv_use_odbc"
2346 if test "$no_cache" != 1; then
2347 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2350 if test "$wxUSE_ODBC" = yes; then
2351 echo "$ac_t""yes" 1>&6
2353 echo "$ac_t""no" 1>&6
2360 echo $ac_n "checking for --${enablestring:-enable}-shared""... $ac_c" 1>&6
2361 echo "configure:2362: checking for --${enablestring:-enable}-shared" >&5
2363 # Check whether --enable-shared or --disable-shared was given.
2364 if test "${enable_shared+set}" = set; then
2365 enableval
="$enable_shared"
2367 if test "$enableval" = yes; then
2368 ac_cv_use_shared
='wxUSE_SHARED=yes'
2370 ac_cv_use_shared
='wxUSE_SHARED=no'
2375 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2376 if test "x$LINE" != x
; then
2377 eval "DEFAULT_$LINE"
2382 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2387 eval "$ac_cv_use_shared"
2388 if test "$no_cache" != 1; then
2389 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2392 if test "$wxUSE_SHARED" = yes; then
2393 echo "$ac_t""yes" 1>&6
2395 echo "$ac_t""no" 1>&6
2400 echo $ac_n "checking for --${enablestring:-enable}-soname""... $ac_c" 1>&6
2401 echo "configure:2402: checking for --${enablestring:-enable}-soname" >&5
2403 # Check whether --enable-soname or --disable-soname was given.
2404 if test "${enable_soname+set}" = set; then
2405 enableval
="$enable_soname"
2407 if test "$enableval" = yes; then
2408 ac_cv_use_soname
='wxUSE_SONAME=yes'
2410 ac_cv_use_soname
='wxUSE_SONAME=no'
2415 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2416 if test "x$LINE" != x
; then
2417 eval "DEFAULT_$LINE"
2422 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2427 eval "$ac_cv_use_soname"
2428 if test "$no_cache" != 1; then
2429 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2432 if test "$wxUSE_SONAME" = yes; then
2433 echo "$ac_t""yes" 1>&6
2435 echo "$ac_t""no" 1>&6
2440 echo $ac_n "checking for --${enablestring:-enable}-optimise""... $ac_c" 1>&6
2441 echo "configure:2442: checking for --${enablestring:-enable}-optimise" >&5
2443 # Check whether --enable-optimise or --disable-optimise was given.
2444 if test "${enable_optimise+set}" = set; then
2445 enableval
="$enable_optimise"
2447 if test "$enableval" = yes; then
2448 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2450 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2455 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2456 if test "x$LINE" != x
; then
2457 eval "DEFAULT_$LINE"
2462 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2467 eval "$ac_cv_use_optimise"
2468 if test "$no_cache" != 1; then
2469 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2472 if test "$wxUSE_OPTIMISE" = yes; then
2473 echo "$ac_t""yes" 1>&6
2475 echo "$ac_t""no" 1>&6
2480 echo $ac_n "checking for --${enablestring:-enable}-debug""... $ac_c" 1>&6
2481 echo "configure:2482: checking for --${enablestring:-enable}-debug" >&5
2483 # Check whether --enable-debug or --disable-debug was given.
2484 if test "${enable_debug+set}" = set; then
2485 enableval
="$enable_debug"
2487 if test "$enableval" = yes; then
2488 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2490 ac_cv_use_debug
='wxUSE_DEBUG=no'
2495 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2496 if test "x$LINE" != x
; then
2497 eval "DEFAULT_$LINE"
2502 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2507 eval "$ac_cv_use_debug"
2508 if test "$no_cache" != 1; then
2509 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2512 if test "$wxUSE_DEBUG" = yes; then
2513 echo "$ac_t""yes" 1>&6
2515 echo "$ac_t""no" 1>&6
2521 echo $ac_n "checking for --${enablestring:-enable}-precomp""... $ac_c" 1>&6
2522 echo "configure:2523: checking for --${enablestring:-enable}-precomp" >&5
2524 # Check whether --enable-precomp or --disable-precomp was given.
2525 if test "${enable_precomp+set}" = set; then
2526 enableval
="$enable_precomp"
2528 if test "$enableval" = yes; then
2529 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2531 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2536 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2537 if test "x$LINE" != x
; then
2538 eval "DEFAULT_$LINE"
2543 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2548 eval "$ac_cv_use_precomp"
2549 if test "$no_cache" != 1; then
2550 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2553 if test "$wxUSE_PRECOMP" = yes; then
2554 echo "$ac_t""yes" 1>&6
2556 echo "$ac_t""no" 1>&6
2560 if test "$wxUSE_DEBUG" = "yes"; then
2561 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2562 DEFAULT_wxUSE_DEBUG_INFO
=yes
2563 elif test "$wxUSE_DEBUG" = "no"; then
2564 DEFAULT_wxUSE_DEBUG_FLAG
=no
2565 DEFAULT_wxUSE_DEBUG_INFO
=no
2570 echo $ac_n "checking for --${enablestring:-enable}-debug_flag""... $ac_c" 1>&6
2571 echo "configure:2572: checking for --${enablestring:-enable}-debug_flag" >&5
2573 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2574 if test "${enable_debug_flag+set}" = set; then
2575 enableval
="$enable_debug_flag"
2577 if test "$enableval" = yes; then
2578 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2580 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2585 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2586 if test "x$LINE" != x
; then
2587 eval "DEFAULT_$LINE"
2592 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2597 eval "$ac_cv_use_debug_flag"
2598 if test "$no_cache" != 1; then
2599 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2602 if test "$wxUSE_DEBUG_FLAG" = yes; then
2603 echo "$ac_t""yes" 1>&6
2605 echo "$ac_t""no" 1>&6
2610 echo $ac_n "checking for --${enablestring:-enable}-debug_info""... $ac_c" 1>&6
2611 echo "configure:2612: checking for --${enablestring:-enable}-debug_info" >&5
2613 # Check whether --enable-debug_info or --disable-debug_info was given.
2614 if test "${enable_debug_info+set}" = set; then
2615 enableval
="$enable_debug_info"
2617 if test "$enableval" = yes; then
2618 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2620 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2625 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2626 if test "x$LINE" != x
; then
2627 eval "DEFAULT_$LINE"
2632 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2637 eval "$ac_cv_use_debug_info"
2638 if test "$no_cache" != 1; then
2639 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2642 if test "$wxUSE_DEBUG_INFO" = yes; then
2643 echo "$ac_t""yes" 1>&6
2645 echo "$ac_t""no" 1>&6
2650 echo $ac_n "checking for --${enablestring:-enable}-debug_gdb""... $ac_c" 1>&6
2651 echo "configure:2652: checking for --${enablestring:-enable}-debug_gdb" >&5
2653 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2654 if test "${enable_debug_gdb+set}" = set; then
2655 enableval
="$enable_debug_gdb"
2657 if test "$enableval" = yes; then
2658 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2660 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2665 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2666 if test "x$LINE" != x
; then
2667 eval "DEFAULT_$LINE"
2672 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2677 eval "$ac_cv_use_debug_gdb"
2678 if test "$no_cache" != 1; then
2679 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2682 if test "$wxUSE_DEBUG_GDB" = yes; then
2683 echo "$ac_t""yes" 1>&6
2685 echo "$ac_t""no" 1>&6
2690 echo $ac_n "checking for --${enablestring:-enable}-debug_cntxt""... $ac_c" 1>&6
2691 echo "configure:2692: checking for --${enablestring:-enable}-debug_cntxt" >&5
2693 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2694 if test "${enable_debug_cntxt+set}" = set; then
2695 enableval
="$enable_debug_cntxt"
2697 if test "$enableval" = yes; then
2698 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2700 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2705 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2706 if test "x$LINE" != x
; then
2707 eval "DEFAULT_$LINE"
2712 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2717 eval "$ac_cv_use_debug_cntxt"
2718 if test "$no_cache" != 1; then
2719 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2722 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2723 echo "$ac_t""yes" 1>&6
2725 echo "$ac_t""no" 1>&6
2730 echo $ac_n "checking for --${enablestring:-enable}-mem_tracing""... $ac_c" 1>&6
2731 echo "configure:2732: checking for --${enablestring:-enable}-mem_tracing" >&5
2733 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2734 if test "${enable_mem_tracing+set}" = set; then
2735 enableval
="$enable_mem_tracing"
2737 if test "$enableval" = yes; then
2738 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2740 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2745 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2746 if test "x$LINE" != x
; then
2747 eval "DEFAULT_$LINE"
2752 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2757 eval "$ac_cv_use_mem_tracing"
2758 if test "$no_cache" != 1; then
2759 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2762 if test "$wxUSE_MEM_TRACING" = yes; then
2763 echo "$ac_t""yes" 1>&6
2765 echo "$ac_t""no" 1>&6
2770 echo $ac_n "checking for --${enablestring:-enable}-profile""... $ac_c" 1>&6
2771 echo "configure:2772: checking for --${enablestring:-enable}-profile" >&5
2773 # Check whether --enable-profile or --disable-profile was given.
2774 if test "${enable_profile+set}" = set; then
2775 enableval
="$enable_profile"
2777 if test "$enableval" = yes; then
2778 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2780 ac_cv_use_profile
='wxUSE_PROFILE=no'
2785 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2786 if test "x$LINE" != x
; then
2787 eval "DEFAULT_$LINE"
2792 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2797 eval "$ac_cv_use_profile"
2798 if test "$no_cache" != 1; then
2799 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2802 if test "$wxUSE_PROFILE" = yes; then
2803 echo "$ac_t""yes" 1>&6
2805 echo "$ac_t""no" 1>&6
2810 echo $ac_n "checking for --${enablestring:-enable}-no_rtti""... $ac_c" 1>&6
2811 echo "configure:2812: checking for --${enablestring:-enable}-no_rtti" >&5
2813 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2814 if test "${enable_no_rtti+set}" = set; then
2815 enableval
="$enable_no_rtti"
2817 if test "$enableval" = yes; then
2818 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2820 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2825 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2826 if test "x$LINE" != x
; then
2827 eval "DEFAULT_$LINE"
2832 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2837 eval "$ac_cv_use_no_rtti"
2838 if test "$no_cache" != 1; then
2839 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2842 if test "$wxUSE_NO_RTTI" = yes; then
2843 echo "$ac_t""yes" 1>&6
2845 echo "$ac_t""no" 1>&6
2850 echo $ac_n "checking for --${enablestring:-enable}-no_exceptions""... $ac_c" 1>&6
2851 echo "configure:2852: checking for --${enablestring:-enable}-no_exceptions" >&5
2853 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2854 if test "${enable_no_exceptions+set}" = set; then
2855 enableval
="$enable_no_exceptions"
2857 if test "$enableval" = yes; then
2858 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2860 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2865 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2866 if test "x$LINE" != x
; then
2867 eval "DEFAULT_$LINE"
2872 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2877 eval "$ac_cv_use_no_exceptions"
2878 if test "$no_cache" != 1; then
2879 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2882 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2883 echo "$ac_t""yes" 1>&6
2885 echo "$ac_t""no" 1>&6
2890 echo $ac_n "checking for --${enablestring:-enable}-permissive""... $ac_c" 1>&6
2891 echo "configure:2892: checking for --${enablestring:-enable}-permissive" >&5
2893 # Check whether --enable-permissive or --disable-permissive was given.
2894 if test "${enable_permissive+set}" = set; then
2895 enableval
="$enable_permissive"
2897 if test "$enableval" = yes; then
2898 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2900 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2905 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2906 if test "x$LINE" != x
; then
2907 eval "DEFAULT_$LINE"
2912 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2917 eval "$ac_cv_use_permissive"
2918 if test "$no_cache" != 1; then
2919 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2922 if test "$wxUSE_PERMISSIVE" = yes; then
2923 echo "$ac_t""yes" 1>&6
2925 echo "$ac_t""no" 1>&6
2930 echo $ac_n "checking for --${enablestring:-enable}-no_deps""... $ac_c" 1>&6
2931 echo "configure:2932: checking for --${enablestring:-enable}-no_deps" >&5
2933 # Check whether --enable-no_deps or --disable-no_deps was given.
2934 if test "${enable_no_deps+set}" = set; then
2935 enableval
="$enable_no_deps"
2937 if test "$enableval" = yes; then
2938 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2940 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2945 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2946 if test "x$LINE" != x
; then
2947 eval "DEFAULT_$LINE"
2952 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2957 eval "$ac_cv_use_no_deps"
2958 if test "$no_cache" != 1; then
2959 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2962 if test "$wxUSE_NO_DEPS" = yes; then
2963 echo "$ac_t""yes" 1>&6
2965 echo "$ac_t""no" 1>&6
2971 echo $ac_n "checking for --${enablestring:-enable}-compat20""... $ac_c" 1>&6
2972 echo "configure:2973: checking for --${enablestring:-enable}-compat20" >&5
2974 # Check whether --enable-compat20 or --disable-compat20 was given.
2975 if test "${enable_compat20+set}" = set; then
2976 enableval
="$enable_compat20"
2978 if test "$enableval" = yes; then
2979 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2981 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2986 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x
; then
2988 eval "DEFAULT_$LINE"
2993 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2998 eval "$ac_cv_use_compat20"
2999 if test "$no_cache" != 1; then
3000 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3003 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3004 echo "$ac_t""yes" 1>&6
3006 echo "$ac_t""no" 1>&6
3011 echo $ac_n "checking for --${enablestring:-enable}-compat22""... $ac_c" 1>&6
3012 echo "configure:3013: checking for --${enablestring:-enable}-compat22" >&5
3014 # Check whether --enable-compat22 or --disable-compat22 was given.
3015 if test "${enable_compat22+set}" = set; then
3016 enableval
="$enable_compat22"
3018 if test "$enableval" = yes; then
3019 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3021 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3026 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3027 if test "x$LINE" != x
; then
3028 eval "DEFAULT_$LINE"
3033 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3038 eval "$ac_cv_use_compat22"
3039 if test "$no_cache" != 1; then
3040 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3043 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3044 echo "$ac_t""yes" 1>&6
3046 echo "$ac_t""no" 1>&6
3050 enablestring
=disable
3051 echo $ac_n "checking for --${enablestring:-enable}-compat24""... $ac_c" 1>&6
3052 echo "configure:3053: checking for --${enablestring:-enable}-compat24" >&5
3054 # Check whether --enable-compat24 or --disable-compat24 was given.
3055 if test "${enable_compat24+set}" = set; then
3056 enableval
="$enable_compat24"
3058 if test "$enableval" = yes; then
3059 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
3061 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
3066 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3067 if test "x$LINE" != x
; then
3068 eval "DEFAULT_$LINE"
3073 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3078 eval "$ac_cv_use_compat24"
3079 if test "$no_cache" != 1; then
3080 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3083 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3084 echo "$ac_t""yes" 1>&6
3086 echo "$ac_t""no" 1>&6
3090 # Check whether --enable-rpath or --disable-rpath was given.
3091 if test "${enable_rpath+set}" = set; then
3092 enableval
="$enable_rpath"
3093 wxRPATH_DIR
="$enableval"
3097 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3098 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3105 echo $ac_n "checking for --${enablestring:-enable}-intl""... $ac_c" 1>&6
3106 echo "configure:3107: checking for --${enablestring:-enable}-intl" >&5
3108 # Check whether --enable-intl or --disable-intl was given.
3109 if test "${enable_intl+set}" = set; then
3110 enableval
="$enable_intl"
3112 if test "$enableval" = yes; then
3113 ac_cv_use_intl
='wxUSE_INTL=yes'
3115 ac_cv_use_intl
='wxUSE_INTL=no'
3120 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3121 if test "x$LINE" != x
; then
3122 eval "DEFAULT_$LINE"
3127 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3132 eval "$ac_cv_use_intl"
3133 if test "$no_cache" != 1; then
3134 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3137 if test "$wxUSE_INTL" = yes; then
3138 echo "$ac_t""yes" 1>&6
3140 echo "$ac_t""no" 1>&6
3145 echo $ac_n "checking for --${enablestring:-enable}-config""... $ac_c" 1>&6
3146 echo "configure:3147: checking for --${enablestring:-enable}-config" >&5
3148 # Check whether --enable-config or --disable-config was given.
3149 if test "${enable_config+set}" = set; then
3150 enableval
="$enable_config"
3152 if test "$enableval" = yes; then
3153 ac_cv_use_config
='wxUSE_CONFIG=yes'
3155 ac_cv_use_config
='wxUSE_CONFIG=no'
3160 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3161 if test "x$LINE" != x
; then
3162 eval "DEFAULT_$LINE"
3167 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3172 eval "$ac_cv_use_config"
3173 if test "$no_cache" != 1; then
3174 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3177 if test "$wxUSE_CONFIG" = yes; then
3178 echo "$ac_t""yes" 1>&6
3180 echo "$ac_t""no" 1>&6
3186 echo $ac_n "checking for --${enablestring:-enable}-protocols""... $ac_c" 1>&6
3187 echo "configure:3188: checking for --${enablestring:-enable}-protocols" >&5
3189 # Check whether --enable-protocols or --disable-protocols was given.
3190 if test "${enable_protocols+set}" = set; then
3191 enableval
="$enable_protocols"
3193 if test "$enableval" = yes; then
3194 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3196 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3201 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3202 if test "x$LINE" != x
; then
3203 eval "DEFAULT_$LINE"
3208 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3213 eval "$ac_cv_use_protocols"
3214 if test "$no_cache" != 1; then
3215 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3218 if test "$wxUSE_PROTOCOL" = yes; then
3219 echo "$ac_t""yes" 1>&6
3221 echo "$ac_t""no" 1>&6
3226 echo $ac_n "checking for --${enablestring:-enable}-ftp""... $ac_c" 1>&6
3227 echo "configure:3228: checking for --${enablestring:-enable}-ftp" >&5
3229 # Check whether --enable-ftp or --disable-ftp was given.
3230 if test "${enable_ftp+set}" = set; then
3231 enableval
="$enable_ftp"
3233 if test "$enableval" = yes; then
3234 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3236 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3241 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3242 if test "x$LINE" != x
; then
3243 eval "DEFAULT_$LINE"
3248 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3253 eval "$ac_cv_use_ftp"
3254 if test "$no_cache" != 1; then
3255 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3258 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3259 echo "$ac_t""yes" 1>&6
3261 echo "$ac_t""no" 1>&6
3266 echo $ac_n "checking for --${enablestring:-enable}-http""... $ac_c" 1>&6
3267 echo "configure:3268: checking for --${enablestring:-enable}-http" >&5
3269 # Check whether --enable-http or --disable-http was given.
3270 if test "${enable_http+set}" = set; then
3271 enableval
="$enable_http"
3273 if test "$enableval" = yes; then
3274 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3276 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3281 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3282 if test "x$LINE" != x
; then
3283 eval "DEFAULT_$LINE"
3288 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3293 eval "$ac_cv_use_http"
3294 if test "$no_cache" != 1; then
3295 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3298 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3299 echo "$ac_t""yes" 1>&6
3301 echo "$ac_t""no" 1>&6
3306 echo $ac_n "checking for --${enablestring:-enable}-fileproto""... $ac_c" 1>&6
3307 echo "configure:3308: checking for --${enablestring:-enable}-fileproto" >&5
3309 # Check whether --enable-fileproto or --disable-fileproto was given.
3310 if test "${enable_fileproto+set}" = set; then
3311 enableval
="$enable_fileproto"
3313 if test "$enableval" = yes; then
3314 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3316 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3321 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3322 if test "x$LINE" != x
; then
3323 eval "DEFAULT_$LINE"
3328 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3333 eval "$ac_cv_use_fileproto"
3334 if test "$no_cache" != 1; then
3335 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3338 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3339 echo "$ac_t""yes" 1>&6
3341 echo "$ac_t""no" 1>&6
3346 echo $ac_n "checking for --${enablestring:-enable}-sockets""... $ac_c" 1>&6
3347 echo "configure:3348: checking for --${enablestring:-enable}-sockets" >&5
3349 # Check whether --enable-sockets or --disable-sockets was given.
3350 if test "${enable_sockets+set}" = set; then
3351 enableval
="$enable_sockets"
3353 if test "$enableval" = yes; then
3354 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3356 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3361 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3362 if test "x$LINE" != x
; then
3363 eval "DEFAULT_$LINE"
3368 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3373 eval "$ac_cv_use_sockets"
3374 if test "$no_cache" != 1; then
3375 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3378 if test "$wxUSE_SOCKETS" = yes; then
3379 echo "$ac_t""yes" 1>&6
3381 echo "$ac_t""no" 1>&6
3386 echo $ac_n "checking for --${enablestring:-enable}-ole""... $ac_c" 1>&6
3387 echo "configure:3388: checking for --${enablestring:-enable}-ole" >&5
3389 # Check whether --enable-ole or --disable-ole was given.
3390 if test "${enable_ole+set}" = set; then
3391 enableval
="$enable_ole"
3393 if test "$enableval" = yes; then
3394 ac_cv_use_ole
='wxUSE_OLE=yes'
3396 ac_cv_use_ole
='wxUSE_OLE=no'
3401 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
3402 if test "x$LINE" != x
; then
3403 eval "DEFAULT_$LINE"
3408 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
3413 eval "$ac_cv_use_ole"
3414 if test "$no_cache" != 1; then
3415 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
3418 if test "$wxUSE_OLE" = yes; then
3419 echo "$ac_t""yes" 1>&6
3421 echo "$ac_t""no" 1>&6
3426 echo $ac_n "checking for --${enablestring:-enable}-dataobj""... $ac_c" 1>&6
3427 echo "configure:3428: checking for --${enablestring:-enable}-dataobj" >&5
3429 # Check whether --enable-dataobj or --disable-dataobj was given.
3430 if test "${enable_dataobj+set}" = set; then
3431 enableval
="$enable_dataobj"
3433 if test "$enableval" = yes; then
3434 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
3436 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
3441 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
3442 if test "x$LINE" != x
; then
3443 eval "DEFAULT_$LINE"
3448 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
3453 eval "$ac_cv_use_dataobj"
3454 if test "$no_cache" != 1; then
3455 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
3458 if test "$wxUSE_DATAOBJ" = yes; then
3459 echo "$ac_t""yes" 1>&6
3461 echo "$ac_t""no" 1>&6
3467 echo $ac_n "checking for --${enablestring:-enable}-ipc""... $ac_c" 1>&6
3468 echo "configure:3469: checking for --${enablestring:-enable}-ipc" >&5
3470 # Check whether --enable-ipc or --disable-ipc was given.
3471 if test "${enable_ipc+set}" = set; then
3472 enableval
="$enable_ipc"
3474 if test "$enableval" = yes; then
3475 ac_cv_use_ipc
='wxUSE_IPC=yes'
3477 ac_cv_use_ipc
='wxUSE_IPC=no'
3482 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3483 if test "x$LINE" != x
; then
3484 eval "DEFAULT_$LINE"
3489 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3494 eval "$ac_cv_use_ipc"
3495 if test "$no_cache" != 1; then
3496 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3499 if test "$wxUSE_IPC" = yes; then
3500 echo "$ac_t""yes" 1>&6
3502 echo "$ac_t""no" 1>&6
3508 echo $ac_n "checking for --${enablestring:-enable}-cmdline""... $ac_c" 1>&6
3509 echo "configure:3510: checking for --${enablestring:-enable}-cmdline" >&5
3511 # Check whether --enable-cmdline or --disable-cmdline was given.
3512 if test "${enable_cmdline+set}" = set; then
3513 enableval
="$enable_cmdline"
3515 if test "$enableval" = yes; then
3516 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3518 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3523 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3524 if test "x$LINE" != x
; then
3525 eval "DEFAULT_$LINE"
3530 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3535 eval "$ac_cv_use_cmdline"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3540 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3541 echo "$ac_t""yes" 1>&6
3543 echo "$ac_t""no" 1>&6
3548 echo $ac_n "checking for --${enablestring:-enable}-datetime""... $ac_c" 1>&6
3549 echo "configure:3550: checking for --${enablestring:-enable}-datetime" >&5
3551 # Check whether --enable-datetime or --disable-datetime was given.
3552 if test "${enable_datetime+set}" = set; then
3553 enableval
="$enable_datetime"
3555 if test "$enableval" = yes; then
3556 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3558 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3563 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3564 if test "x$LINE" != x
; then
3565 eval "DEFAULT_$LINE"
3570 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3575 eval "$ac_cv_use_datetime"
3576 if test "$no_cache" != 1; then
3577 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3580 if test "$wxUSE_DATETIME" = yes; then
3581 echo "$ac_t""yes" 1>&6
3583 echo "$ac_t""no" 1>&6
3588 echo $ac_n "checking for --${enablestring:-enable}-timedate""... $ac_c" 1>&6
3589 echo "configure:3590: checking for --${enablestring:-enable}-timedate" >&5
3591 # Check whether --enable-timedate or --disable-timedate was given.
3592 if test "${enable_timedate+set}" = set; then
3593 enableval
="$enable_timedate"
3595 if test "$enableval" = yes; then
3596 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3598 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3603 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3604 if test "x$LINE" != x
; then
3605 eval "DEFAULT_$LINE"
3610 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3615 eval "$ac_cv_use_timedate"
3616 if test "$no_cache" != 1; then
3617 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3620 if test "$wxUSE_TIMEDATE" = yes; then
3621 echo "$ac_t""yes" 1>&6
3623 echo "$ac_t""no" 1>&6
3628 echo $ac_n "checking for --${enablestring:-enable}-stopwatch""... $ac_c" 1>&6
3629 echo "configure:3630: checking for --${enablestring:-enable}-stopwatch" >&5
3631 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3632 if test "${enable_stopwatch+set}" = set; then
3633 enableval
="$enable_stopwatch"
3635 if test "$enableval" = yes; then
3636 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3638 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3643 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3644 if test "x$LINE" != x
; then
3645 eval "DEFAULT_$LINE"
3650 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3655 eval "$ac_cv_use_stopwatch"
3656 if test "$no_cache" != 1; then
3657 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3660 if test "$wxUSE_STOPWATCH" = yes; then
3661 echo "$ac_t""yes" 1>&6
3663 echo "$ac_t""no" 1>&6
3668 echo $ac_n "checking for --${enablestring:-enable}-dialupman""... $ac_c" 1>&6
3669 echo "configure:3670: checking for --${enablestring:-enable}-dialupman" >&5
3671 # Check whether --enable-dialupman or --disable-dialupman was given.
3672 if test "${enable_dialupman+set}" = set; then
3673 enableval
="$enable_dialupman"
3675 if test "$enableval" = yes; then
3676 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3678 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3683 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3684 if test "x$LINE" != x
; then
3685 eval "DEFAULT_$LINE"
3690 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3695 eval "$ac_cv_use_dialupman"
3696 if test "$no_cache" != 1; then
3697 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3700 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3701 echo "$ac_t""yes" 1>&6
3703 echo "$ac_t""no" 1>&6
3708 echo $ac_n "checking for --${enablestring:-enable}-apple_ieee""... $ac_c" 1>&6
3709 echo "configure:3710: checking for --${enablestring:-enable}-apple_ieee" >&5
3711 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3712 if test "${enable_apple_ieee+set}" = set; then
3713 enableval
="$enable_apple_ieee"
3715 if test "$enableval" = yes; then
3716 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3718 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3723 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3724 if test "x$LINE" != x
; then
3725 eval "DEFAULT_$LINE"
3730 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3735 eval "$ac_cv_use_apple_ieee"
3736 if test "$no_cache" != 1; then
3737 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3740 if test "$wxUSE_APPLE_IEEE" = yes; then
3741 echo "$ac_t""yes" 1>&6
3743 echo "$ac_t""no" 1>&6
3748 echo $ac_n "checking for --${enablestring:-enable}-timer""... $ac_c" 1>&6
3749 echo "configure:3750: checking for --${enablestring:-enable}-timer" >&5
3751 # Check whether --enable-timer or --disable-timer was given.
3752 if test "${enable_timer+set}" = set; then
3753 enableval
="$enable_timer"
3755 if test "$enableval" = yes; then
3756 ac_cv_use_timer
='wxUSE_TIMER=yes'
3758 ac_cv_use_timer
='wxUSE_TIMER=no'
3763 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3764 if test "x$LINE" != x
; then
3765 eval "DEFAULT_$LINE"
3770 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3775 eval "$ac_cv_use_timer"
3776 if test "$no_cache" != 1; then
3777 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3780 if test "$wxUSE_TIMER" = yes; then
3781 echo "$ac_t""yes" 1>&6
3783 echo "$ac_t""no" 1>&6
3788 echo $ac_n "checking for --${enablestring:-enable}-wave""... $ac_c" 1>&6
3789 echo "configure:3790: checking for --${enablestring:-enable}-wave" >&5
3791 # Check whether --enable-wave or --disable-wave was given.
3792 if test "${enable_wave+set}" = set; then
3793 enableval
="$enable_wave"
3795 if test "$enableval" = yes; then
3796 ac_cv_use_wave
='wxUSE_WAVE=yes'
3798 ac_cv_use_wave
='wxUSE_WAVE=no'
3803 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3804 if test "x$LINE" != x
; then
3805 eval "DEFAULT_$LINE"
3810 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3815 eval "$ac_cv_use_wave"
3816 if test "$no_cache" != 1; then
3817 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3820 if test "$wxUSE_WAVE" = yes; then
3821 echo "$ac_t""yes" 1>&6
3823 echo "$ac_t""no" 1>&6
3828 echo $ac_n "checking for --${enablestring:-enable}-fraction""... $ac_c" 1>&6
3829 echo "configure:3830: checking for --${enablestring:-enable}-fraction" >&5
3831 # Check whether --enable-fraction or --disable-fraction was given.
3832 if test "${enable_fraction+set}" = set; then
3833 enableval
="$enable_fraction"
3835 if test "$enableval" = yes; then
3836 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3838 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3843 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3844 if test "x$LINE" != x
; then
3845 eval "DEFAULT_$LINE"
3850 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3855 eval "$ac_cv_use_fraction"
3856 if test "$no_cache" != 1; then
3857 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3860 if test "$wxUSE_FRACTION" = yes; then
3861 echo "$ac_t""yes" 1>&6
3863 echo "$ac_t""no" 1>&6
3868 echo $ac_n "checking for --${enablestring:-enable}-dynlib""... $ac_c" 1>&6
3869 echo "configure:3870: checking for --${enablestring:-enable}-dynlib" >&5
3871 # Check whether --enable-dynlib or --disable-dynlib was given.
3872 if test "${enable_dynlib+set}" = set; then
3873 enableval
="$enable_dynlib"
3875 if test "$enableval" = yes; then
3876 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3878 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3883 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3884 if test "x$LINE" != x
; then
3885 eval "DEFAULT_$LINE"
3890 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3895 eval "$ac_cv_use_dynlib"
3896 if test "$no_cache" != 1; then
3897 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3900 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3901 echo "$ac_t""yes" 1>&6
3903 echo "$ac_t""no" 1>&6
3908 echo $ac_n "checking for --${enablestring:-enable}-dynamicloader""... $ac_c" 1>&6
3909 echo "configure:3910: checking for --${enablestring:-enable}-dynamicloader" >&5
3911 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3912 if test "${enable_dynamicloader+set}" = set; then
3913 enableval
="$enable_dynamicloader"
3915 if test "$enableval" = yes; then
3916 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3918 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3923 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3924 if test "x$LINE" != x
; then
3925 eval "DEFAULT_$LINE"
3930 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3935 eval "$ac_cv_use_dynamicloader"
3936 if test "$no_cache" != 1; then
3937 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3940 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3941 echo "$ac_t""yes" 1>&6
3943 echo "$ac_t""no" 1>&6
3948 echo $ac_n "checking for --${enablestring:-enable}-longlong""... $ac_c" 1>&6
3949 echo "configure:3950: checking for --${enablestring:-enable}-longlong" >&5
3951 # Check whether --enable-longlong or --disable-longlong was given.
3952 if test "${enable_longlong+set}" = set; then
3953 enableval
="$enable_longlong"
3955 if test "$enableval" = yes; then
3956 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3958 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3963 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3964 if test "x$LINE" != x
; then
3965 eval "DEFAULT_$LINE"
3970 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3975 eval "$ac_cv_use_longlong"
3976 if test "$no_cache" != 1; then
3977 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3980 if test "$wxUSE_LONGLONG" = yes; then
3981 echo "$ac_t""yes" 1>&6
3983 echo "$ac_t""no" 1>&6
3988 echo $ac_n "checking for --${enablestring:-enable}-geometry""... $ac_c" 1>&6
3989 echo "configure:3990: checking for --${enablestring:-enable}-geometry" >&5
3991 # Check whether --enable-geometry or --disable-geometry was given.
3992 if test "${enable_geometry+set}" = set; then
3993 enableval
="$enable_geometry"
3995 if test "$enableval" = yes; then
3996 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3998 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
4003 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4004 if test "x$LINE" != x
; then
4005 eval "DEFAULT_$LINE"
4010 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4015 eval "$ac_cv_use_geometry"
4016 if test "$no_cache" != 1; then
4017 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4020 if test "$wxUSE_GEOMETRY" = yes; then
4021 echo "$ac_t""yes" 1>&6
4023 echo "$ac_t""no" 1>&6
4028 echo $ac_n "checking for --${enablestring:-enable}-log""... $ac_c" 1>&6
4029 echo "configure:4030: checking for --${enablestring:-enable}-log" >&5
4031 # Check whether --enable-log or --disable-log was given.
4032 if test "${enable_log+set}" = set; then
4033 enableval
="$enable_log"
4035 if test "$enableval" = yes; then
4036 ac_cv_use_log
='wxUSE_LOG=yes'
4038 ac_cv_use_log
='wxUSE_LOG=no'
4043 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4044 if test "x$LINE" != x
; then
4045 eval "DEFAULT_$LINE"
4050 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4055 eval "$ac_cv_use_log"
4056 if test "$no_cache" != 1; then
4057 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4060 if test "$wxUSE_LOG" = yes; then
4061 echo "$ac_t""yes" 1>&6
4063 echo "$ac_t""no" 1>&6
4068 echo $ac_n "checking for --${enablestring:-enable}-streams""... $ac_c" 1>&6
4069 echo "configure:4070: checking for --${enablestring:-enable}-streams" >&5
4071 # Check whether --enable-streams or --disable-streams was given.
4072 if test "${enable_streams+set}" = set; then
4073 enableval
="$enable_streams"
4075 if test "$enableval" = yes; then
4076 ac_cv_use_streams
='wxUSE_STREAMS=yes'
4078 ac_cv_use_streams
='wxUSE_STREAMS=no'
4083 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4084 if test "x$LINE" != x
; then
4085 eval "DEFAULT_$LINE"
4090 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4095 eval "$ac_cv_use_streams"
4096 if test "$no_cache" != 1; then
4097 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4100 if test "$wxUSE_STREAMS" = yes; then
4101 echo "$ac_t""yes" 1>&6
4103 echo "$ac_t""no" 1>&6
4108 echo $ac_n "checking for --${enablestring:-enable}-file""... $ac_c" 1>&6
4109 echo "configure:4110: checking for --${enablestring:-enable}-file" >&5
4111 # Check whether --enable-file or --disable-file was given.
4112 if test "${enable_file+set}" = set; then
4113 enableval
="$enable_file"
4115 if test "$enableval" = yes; then
4116 ac_cv_use_file
='wxUSE_FILE=yes'
4118 ac_cv_use_file
='wxUSE_FILE=no'
4123 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4124 if test "x$LINE" != x
; then
4125 eval "DEFAULT_$LINE"
4130 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4135 eval "$ac_cv_use_file"
4136 if test "$no_cache" != 1; then
4137 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4140 if test "$wxUSE_FILE" = yes; then
4141 echo "$ac_t""yes" 1>&6
4143 echo "$ac_t""no" 1>&6
4148 echo $ac_n "checking for --${enablestring:-enable}-ffile""... $ac_c" 1>&6
4149 echo "configure:4150: checking for --${enablestring:-enable}-ffile" >&5
4151 # Check whether --enable-ffile or --disable-ffile was given.
4152 if test "${enable_ffile+set}" = set; then
4153 enableval
="$enable_ffile"
4155 if test "$enableval" = yes; then
4156 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4158 ac_cv_use_ffile
='wxUSE_FFILE=no'
4163 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4164 if test "x$LINE" != x
; then
4165 eval "DEFAULT_$LINE"
4170 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4175 eval "$ac_cv_use_ffile"
4176 if test "$no_cache" != 1; then
4177 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4180 if test "$wxUSE_FFILE" = yes; then
4181 echo "$ac_t""yes" 1>&6
4183 echo "$ac_t""no" 1>&6
4188 echo $ac_n "checking for --${enablestring:-enable}-textbuf""... $ac_c" 1>&6
4189 echo "configure:4190: checking for --${enablestring:-enable}-textbuf" >&5
4191 # Check whether --enable-textbuf or --disable-textbuf was given.
4192 if test "${enable_textbuf+set}" = set; then
4193 enableval
="$enable_textbuf"
4195 if test "$enableval" = yes; then
4196 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4198 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4203 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4204 if test "x$LINE" != x
; then
4205 eval "DEFAULT_$LINE"
4210 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4215 eval "$ac_cv_use_textbuf"
4216 if test "$no_cache" != 1; then
4217 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4220 if test "$wxUSE_TEXTBUFFER" = yes; then
4221 echo "$ac_t""yes" 1>&6
4223 echo "$ac_t""no" 1>&6
4228 echo $ac_n "checking for --${enablestring:-enable}-textfile""... $ac_c" 1>&6
4229 echo "configure:4230: checking for --${enablestring:-enable}-textfile" >&5
4231 # Check whether --enable-textfile or --disable-textfile was given.
4232 if test "${enable_textfile+set}" = set; then
4233 enableval
="$enable_textfile"
4235 if test "$enableval" = yes; then
4236 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4238 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4243 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x
; then
4245 eval "DEFAULT_$LINE"
4250 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4255 eval "$ac_cv_use_textfile"
4256 if test "$no_cache" != 1; then
4257 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4260 if test "$wxUSE_TEXTFILE" = yes; then
4261 echo "$ac_t""yes" 1>&6
4263 echo "$ac_t""no" 1>&6
4268 echo $ac_n "checking for --${enablestring:-enable}-fontmap""... $ac_c" 1>&6
4269 echo "configure:4270: checking for --${enablestring:-enable}-fontmap" >&5
4271 # Check whether --enable-fontmap or --disable-fontmap was given.
4272 if test "${enable_fontmap+set}" = set; then
4273 enableval
="$enable_fontmap"
4275 if test "$enableval" = yes; then
4276 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4278 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4283 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4284 if test "x$LINE" != x
; then
4285 eval "DEFAULT_$LINE"
4290 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4295 eval "$ac_cv_use_fontmap"
4296 if test "$no_cache" != 1; then
4297 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4300 if test "$wxUSE_FONTMAP" = yes; then
4301 echo "$ac_t""yes" 1>&6
4303 echo "$ac_t""no" 1>&6
4308 echo $ac_n "checking for --${enablestring:-enable}-unicode""... $ac_c" 1>&6
4309 echo "configure:4310: checking for --${enablestring:-enable}-unicode" >&5
4311 # Check whether --enable-unicode or --disable-unicode was given.
4312 if test "${enable_unicode+set}" = set; then
4313 enableval
="$enable_unicode"
4315 if test "$enableval" = yes; then
4316 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4318 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4323 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4324 if test "x$LINE" != x
; then
4325 eval "DEFAULT_$LINE"
4330 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4335 eval "$ac_cv_use_unicode"
4336 if test "$no_cache" != 1; then
4337 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4340 if test "$wxUSE_UNICODE" = yes; then
4341 echo "$ac_t""yes" 1>&6
4343 echo "$ac_t""no" 1>&6
4348 echo $ac_n "checking for --${enablestring:-enable}-mslu""... $ac_c" 1>&6
4349 echo "configure:4350: checking for --${enablestring:-enable}-mslu" >&5
4351 # Check whether --enable-mslu or --disable-mslu was given.
4352 if test "${enable_mslu+set}" = set; then
4353 enableval
="$enable_mslu"
4355 if test "$enableval" = yes; then
4356 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4358 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4363 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4364 if test "x$LINE" != x
; then
4365 eval "DEFAULT_$LINE"
4370 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4375 eval "$ac_cv_use_mslu"
4376 if test "$no_cache" != 1; then
4377 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4380 if test "$wxUSE_UNICODE_MSLU" = yes; then
4381 echo "$ac_t""yes" 1>&6
4383 echo "$ac_t""no" 1>&6
4388 echo $ac_n "checking for --${enablestring:-enable}-wxprintfv""... $ac_c" 1>&6
4389 echo "configure:4390: checking for --${enablestring:-enable}-wxprintfv" >&5
4391 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4392 if test "${enable_wxprintfv+set}" = set; then
4393 enableval
="$enable_wxprintfv"
4395 if test "$enableval" = yes; then
4396 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4398 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4403 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4404 if test "x$LINE" != x
; then
4405 eval "DEFAULT_$LINE"
4410 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4415 eval "$ac_cv_use_wxprintfv"
4416 if test "$no_cache" != 1; then
4417 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4420 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4421 echo "$ac_t""yes" 1>&6
4423 echo "$ac_t""no" 1>&6
4428 echo $ac_n "checking for --${enablestring:-enable}-std_iostreams""... $ac_c" 1>&6
4429 echo "configure:4430: checking for --${enablestring:-enable}-std_iostreams" >&5
4431 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4432 if test "${enable_std_iostreams+set}" = set; then
4433 enableval
="$enable_std_iostreams"
4435 if test "$enableval" = yes; then
4436 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4438 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4443 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4444 if test "x$LINE" != x
; then
4445 eval "DEFAULT_$LINE"
4450 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4455 eval "$ac_cv_use_std_iostreams"
4456 if test "$no_cache" != 1; then
4457 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4460 if test "$wxUSE_STD_IOSTREAM" = yes; then
4461 echo "$ac_t""yes" 1>&6
4463 echo "$ac_t""no" 1>&6
4468 echo $ac_n "checking for --${enablestring:-enable}-filesystem""... $ac_c" 1>&6
4469 echo "configure:4470: checking for --${enablestring:-enable}-filesystem" >&5
4471 # Check whether --enable-filesystem or --disable-filesystem was given.
4472 if test "${enable_filesystem+set}" = set; then
4473 enableval
="$enable_filesystem"
4475 if test "$enableval" = yes; then
4476 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4478 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4483 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4484 if test "x$LINE" != x
; then
4485 eval "DEFAULT_$LINE"
4490 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4495 eval "$ac_cv_use_filesystem"
4496 if test "$no_cache" != 1; then
4497 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4500 if test "$wxUSE_FILESYSTEM" = yes; then
4501 echo "$ac_t""yes" 1>&6
4503 echo "$ac_t""no" 1>&6
4508 echo $ac_n "checking for --${enablestring:-enable}-fs_inet""... $ac_c" 1>&6
4509 echo "configure:4510: checking for --${enablestring:-enable}-fs_inet" >&5
4511 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4512 if test "${enable_fs_inet+set}" = set; then
4513 enableval
="$enable_fs_inet"
4515 if test "$enableval" = yes; then
4516 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4518 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4523 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4524 if test "x$LINE" != x
; then
4525 eval "DEFAULT_$LINE"
4530 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4535 eval "$ac_cv_use_fs_inet"
4536 if test "$no_cache" != 1; then
4537 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4540 if test "$wxUSE_FS_INET" = yes; then
4541 echo "$ac_t""yes" 1>&6
4543 echo "$ac_t""no" 1>&6
4548 echo $ac_n "checking for --${enablestring:-enable}-fs_zip""... $ac_c" 1>&6
4549 echo "configure:4550: checking for --${enablestring:-enable}-fs_zip" >&5
4551 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4552 if test "${enable_fs_zip+set}" = set; then
4553 enableval
="$enable_fs_zip"
4555 if test "$enableval" = yes; then
4556 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4558 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4563 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4564 if test "x$LINE" != x
; then
4565 eval "DEFAULT_$LINE"
4570 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4575 eval "$ac_cv_use_fs_zip"
4576 if test "$no_cache" != 1; then
4577 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4580 if test "$wxUSE_FS_ZIP" = yes; then
4581 echo "$ac_t""yes" 1>&6
4583 echo "$ac_t""no" 1>&6
4588 echo $ac_n "checking for --${enablestring:-enable}-zipstream""... $ac_c" 1>&6
4589 echo "configure:4590: checking for --${enablestring:-enable}-zipstream" >&5
4591 # Check whether --enable-zipstream or --disable-zipstream was given.
4592 if test "${enable_zipstream+set}" = set; then
4593 enableval
="$enable_zipstream"
4595 if test "$enableval" = yes; then
4596 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4598 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4603 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4604 if test "x$LINE" != x
; then
4605 eval "DEFAULT_$LINE"
4610 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4615 eval "$ac_cv_use_zipstream"
4616 if test "$no_cache" != 1; then
4617 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4620 if test "$wxUSE_ZIPSTREAM" = yes; then
4621 echo "$ac_t""yes" 1>&6
4623 echo "$ac_t""no" 1>&6
4629 echo $ac_n "checking for --${enablestring:-enable}-catch_segvs""... $ac_c" 1>&6
4630 echo "configure:4631: checking for --${enablestring:-enable}-catch_segvs" >&5
4632 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4633 if test "${enable_catch_segvs+set}" = set; then
4634 enableval
="$enable_catch_segvs"
4636 if test "$enableval" = yes; then
4637 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4639 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4644 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4645 if test "x$LINE" != x
; then
4646 eval "DEFAULT_$LINE"
4651 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4656 eval "$ac_cv_use_catch_segvs"
4657 if test "$no_cache" != 1; then
4658 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4661 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4662 echo "$ac_t""yes" 1>&6
4664 echo "$ac_t""no" 1>&6
4669 echo $ac_n "checking for --${enablestring:-enable}-snglinst""... $ac_c" 1>&6
4670 echo "configure:4671: checking for --${enablestring:-enable}-snglinst" >&5
4672 # Check whether --enable-snglinst or --disable-snglinst was given.
4673 if test "${enable_snglinst+set}" = set; then
4674 enableval
="$enable_snglinst"
4676 if test "$enableval" = yes; then
4677 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4679 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4684 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4685 if test "x$LINE" != x
; then
4686 eval "DEFAULT_$LINE"
4691 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4696 eval "$ac_cv_use_snglinst"
4697 if test "$no_cache" != 1; then
4698 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4701 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4702 echo "$ac_t""yes" 1>&6
4704 echo "$ac_t""no" 1>&6
4710 echo $ac_n "checking for --${enablestring:-enable}-mimetype""... $ac_c" 1>&6
4711 echo "configure:4712: checking for --${enablestring:-enable}-mimetype" >&5
4713 # Check whether --enable-mimetype or --disable-mimetype was given.
4714 if test "${enable_mimetype+set}" = set; then
4715 enableval
="$enable_mimetype"
4717 if test "$enableval" = yes; then
4718 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4720 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4725 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4726 if test "x$LINE" != x
; then
4727 eval "DEFAULT_$LINE"
4732 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4737 eval "$ac_cv_use_mimetype"
4738 if test "$no_cache" != 1; then
4739 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4742 if test "$wxUSE_MIMETYPE" = yes; then
4743 echo "$ac_t""yes" 1>&6
4745 echo "$ac_t""no" 1>&6
4750 echo $ac_n "checking for --${enablestring:-enable}-system_options""... $ac_c" 1>&6
4751 echo "configure:4752: checking for --${enablestring:-enable}-system_options" >&5
4753 # Check whether --enable-system_options or --disable-system_options was given.
4754 if test "${enable_system_options+set}" = set; then
4755 enableval
="$enable_system_options"
4757 if test "$enableval" = yes; then
4758 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4760 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4765 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4766 if test "x$LINE" != x
; then
4767 eval "DEFAULT_$LINE"
4772 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4777 eval "$ac_cv_use_system_options"
4778 if test "$no_cache" != 1; then
4779 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4782 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4783 echo "$ac_t""yes" 1>&6
4785 echo "$ac_t""no" 1>&6
4791 echo $ac_n "checking for --${enablestring:-enable}-url""... $ac_c" 1>&6
4792 echo "configure:4793: checking for --${enablestring:-enable}-url" >&5
4794 # Check whether --enable-url or --disable-url was given.
4795 if test "${enable_url+set}" = set; then
4796 enableval
="$enable_url"
4798 if test "$enableval" = yes; then
4799 ac_cv_use_url
='wxUSE_URL=yes'
4801 ac_cv_use_url
='wxUSE_URL=no'
4806 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4807 if test "x$LINE" != x
; then
4808 eval "DEFAULT_$LINE"
4813 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4818 eval "$ac_cv_use_url"
4819 if test "$no_cache" != 1; then
4820 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4823 if test "$wxUSE_URL" = yes; then
4824 echo "$ac_t""yes" 1>&6
4826 echo "$ac_t""no" 1>&6
4831 echo $ac_n "checking for --${enablestring:-enable}-protocol""... $ac_c" 1>&6
4832 echo "configure:4833: checking for --${enablestring:-enable}-protocol" >&5
4834 # Check whether --enable-protocol or --disable-protocol was given.
4835 if test "${enable_protocol+set}" = set; then
4836 enableval
="$enable_protocol"
4838 if test "$enableval" = yes; then
4839 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4841 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4846 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4847 if test "x$LINE" != x
; then
4848 eval "DEFAULT_$LINE"
4853 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4858 eval "$ac_cv_use_protocol"
4859 if test "$no_cache" != 1; then
4860 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4863 if test "$wxUSE_PROTOCOL" = yes; then
4864 echo "$ac_t""yes" 1>&6
4866 echo "$ac_t""no" 1>&6
4871 echo $ac_n "checking for --${enablestring:-enable}-protocol_http""... $ac_c" 1>&6
4872 echo "configure:4873: checking for --${enablestring:-enable}-protocol_http" >&5
4874 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4875 if test "${enable_protocol_http+set}" = set; then
4876 enableval
="$enable_protocol_http"
4878 if test "$enableval" = yes; then
4879 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4881 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4886 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4887 if test "x$LINE" != x
; then
4888 eval "DEFAULT_$LINE"
4893 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4898 eval "$ac_cv_use_protocol_http"
4899 if test "$no_cache" != 1; then
4900 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4903 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4904 echo "$ac_t""yes" 1>&6
4906 echo "$ac_t""no" 1>&6
4911 echo $ac_n "checking for --${enablestring:-enable}-protocol_ftp""... $ac_c" 1>&6
4912 echo "configure:4913: checking for --${enablestring:-enable}-protocol_ftp" >&5
4914 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4915 if test "${enable_protocol_ftp+set}" = set; then
4916 enableval
="$enable_protocol_ftp"
4918 if test "$enableval" = yes; then
4919 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4921 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4926 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x
; then
4928 eval "DEFAULT_$LINE"
4933 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4938 eval "$ac_cv_use_protocol_ftp"
4939 if test "$no_cache" != 1; then
4940 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4943 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4944 echo "$ac_t""yes" 1>&6
4946 echo "$ac_t""no" 1>&6
4951 echo $ac_n "checking for --${enablestring:-enable}-protocol_file""... $ac_c" 1>&6
4952 echo "configure:4953: checking for --${enablestring:-enable}-protocol_file" >&5
4954 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4955 if test "${enable_protocol_file+set}" = set; then
4956 enableval
="$enable_protocol_file"
4958 if test "$enableval" = yes; then
4959 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4961 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4966 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4967 if test "x$LINE" != x
; then
4968 eval "DEFAULT_$LINE"
4973 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4978 eval "$ac_cv_use_protocol_file"
4979 if test "$no_cache" != 1; then
4980 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4983 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4984 echo "$ac_t""yes" 1>&6
4986 echo "$ac_t""no" 1>&6
4994 echo $ac_n "checking for --${enablestring:-enable}-threads""... $ac_c" 1>&6
4995 echo "configure:4996: checking for --${enablestring:-enable}-threads" >&5
4997 # Check whether --enable-threads or --disable-threads was given.
4998 if test "${enable_threads+set}" = set; then
4999 enableval
="$enable_threads"
5001 if test "$enableval" = yes; then
5002 ac_cv_use_threads
='wxUSE_THREADS=yes'
5004 ac_cv_use_threads
='wxUSE_THREADS=no'
5009 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5010 if test "x$LINE" != x
; then
5011 eval "DEFAULT_$LINE"
5016 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5021 eval "$ac_cv_use_threads"
5022 if test "$no_cache" != 1; then
5023 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5026 if test "$wxUSE_THREADS" = yes; then
5027 echo "$ac_t""yes" 1>&6
5029 echo "$ac_t""no" 1>&6
5033 if test "$wxUSE_GUI" = "yes"; then
5038 echo $ac_n "checking for --${enablestring:-enable}-docview""... $ac_c" 1>&6
5039 echo "configure:5040: checking for --${enablestring:-enable}-docview" >&5
5041 # Check whether --enable-docview or --disable-docview was given.
5042 if test "${enable_docview+set}" = set; then
5043 enableval
="$enable_docview"
5045 if test "$enableval" = yes; then
5046 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5048 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5053 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5054 if test "x$LINE" != x
; then
5055 eval "DEFAULT_$LINE"
5060 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5065 eval "$ac_cv_use_docview"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5070 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5071 echo "$ac_t""yes" 1>&6
5073 echo "$ac_t""no" 1>&6
5078 echo $ac_n "checking for --${enablestring:-enable}-help""... $ac_c" 1>&6
5079 echo "configure:5080: checking for --${enablestring:-enable}-help" >&5
5081 # Check whether --enable-help or --disable-help was given.
5082 if test "${enable_help+set}" = set; then
5083 enableval
="$enable_help"
5085 if test "$enableval" = yes; then
5086 ac_cv_use_help
='wxUSE_HELP=yes'
5088 ac_cv_use_help
='wxUSE_HELP=no'
5093 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5094 if test "x$LINE" != x
; then
5095 eval "DEFAULT_$LINE"
5100 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5105 eval "$ac_cv_use_help"
5106 if test "$no_cache" != 1; then
5107 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5110 if test "$wxUSE_HELP" = yes; then
5111 echo "$ac_t""yes" 1>&6
5113 echo "$ac_t""no" 1>&6
5118 echo $ac_n "checking for --${enablestring:-enable}-mshtmlhelp""... $ac_c" 1>&6
5119 echo "configure:5120: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5121 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5122 if test "${enable_mshtmlhelp+set}" = set; then
5123 enableval
="$enable_mshtmlhelp"
5125 if test "$enableval" = yes; then
5126 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
5128 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
5133 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x
; then
5135 eval "DEFAULT_$LINE"
5140 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5145 eval "$ac_cv_use_mshtmlhelp"
5146 if test "$no_cache" != 1; then
5147 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5150 if test "$wxUSE_MS_HTML_HELP" = yes; then
5151 echo "$ac_t""yes" 1>&6
5153 echo "$ac_t""no" 1>&6
5158 echo $ac_n "checking for --${enablestring:-enable}-html""... $ac_c" 1>&6
5159 echo "configure:5160: checking for --${enablestring:-enable}-html" >&5
5161 # Check whether --enable-html or --disable-html was given.
5162 if test "${enable_html+set}" = set; then
5163 enableval
="$enable_html"
5165 if test "$enableval" = yes; then
5166 ac_cv_use_html
='wxUSE_HTML=yes'
5168 ac_cv_use_html
='wxUSE_HTML=no'
5173 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5174 if test "x$LINE" != x
; then
5175 eval "DEFAULT_$LINE"
5180 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5185 eval "$ac_cv_use_html"
5186 if test "$no_cache" != 1; then
5187 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5190 if test "$wxUSE_HTML" = yes; then
5191 echo "$ac_t""yes" 1>&6
5193 echo "$ac_t""no" 1>&6
5198 echo $ac_n "checking for --${enablestring:-enable}-htmlhelp""... $ac_c" 1>&6
5199 echo "configure:5200: checking for --${enablestring:-enable}-htmlhelp" >&5
5201 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5202 if test "${enable_htmlhelp+set}" = set; then
5203 enableval
="$enable_htmlhelp"
5205 if test "$enableval" = yes; then
5206 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5208 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5213 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5214 if test "x$LINE" != x
; then
5215 eval "DEFAULT_$LINE"
5220 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5225 eval "$ac_cv_use_htmlhelp"
5226 if test "$no_cache" != 1; then
5227 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5230 if test "$wxUSE_WXHTML_HELP" = yes; then
5231 echo "$ac_t""yes" 1>&6
5233 echo "$ac_t""no" 1>&6
5238 echo $ac_n "checking for --${enablestring:-enable}-constraints""... $ac_c" 1>&6
5239 echo "configure:5240: checking for --${enablestring:-enable}-constraints" >&5
5241 # Check whether --enable-constraints or --disable-constraints was given.
5242 if test "${enable_constraints+set}" = set; then
5243 enableval
="$enable_constraints"
5245 if test "$enableval" = yes; then
5246 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5248 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5253 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5254 if test "x$LINE" != x
; then
5255 eval "DEFAULT_$LINE"
5260 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5265 eval "$ac_cv_use_constraints"
5266 if test "$no_cache" != 1; then
5267 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5270 if test "$wxUSE_CONSTRAINTS" = yes; then
5271 echo "$ac_t""yes" 1>&6
5273 echo "$ac_t""no" 1>&6
5278 echo $ac_n "checking for --${enablestring:-enable}-printarch""... $ac_c" 1>&6
5279 echo "configure:5280: checking for --${enablestring:-enable}-printarch" >&5
5281 # Check whether --enable-printarch or --disable-printarch was given.
5282 if test "${enable_printarch+set}" = set; then
5283 enableval
="$enable_printarch"
5285 if test "$enableval" = yes; then
5286 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5288 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5293 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5294 if test "x$LINE" != x
; then
5295 eval "DEFAULT_$LINE"
5300 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5305 eval "$ac_cv_use_printarch"
5306 if test "$no_cache" != 1; then
5307 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5310 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5311 echo "$ac_t""yes" 1>&6
5313 echo "$ac_t""no" 1>&6
5318 echo $ac_n "checking for --${enablestring:-enable}-mdi""... $ac_c" 1>&6
5319 echo "configure:5320: checking for --${enablestring:-enable}-mdi" >&5
5321 # Check whether --enable-mdi or --disable-mdi was given.
5322 if test "${enable_mdi+set}" = set; then
5323 enableval
="$enable_mdi"
5325 if test "$enableval" = yes; then
5326 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5328 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5333 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5334 if test "x$LINE" != x
; then
5335 eval "DEFAULT_$LINE"
5340 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5345 eval "$ac_cv_use_mdi"
5346 if test "$no_cache" != 1; then
5347 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5350 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5351 echo "$ac_t""yes" 1>&6
5353 echo "$ac_t""no" 1>&6
5358 echo $ac_n "checking for --${enablestring:-enable}-loggui""... $ac_c" 1>&6
5359 echo "configure:5360: checking for --${enablestring:-enable}-loggui" >&5
5361 # Check whether --enable-loggui or --disable-loggui was given.
5362 if test "${enable_loggui+set}" = set; then
5363 enableval
="$enable_loggui"
5365 if test "$enableval" = yes; then
5366 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5368 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5373 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5374 if test "x$LINE" != x
; then
5375 eval "DEFAULT_$LINE"
5380 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5385 eval "$ac_cv_use_loggui"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5390 if test "$wxUSE_LOGGUI" = yes; then
5391 echo "$ac_t""yes" 1>&6
5393 echo "$ac_t""no" 1>&6
5398 echo $ac_n "checking for --${enablestring:-enable}-logwin""... $ac_c" 1>&6
5399 echo "configure:5400: checking for --${enablestring:-enable}-logwin" >&5
5401 # Check whether --enable-logwin or --disable-logwin was given.
5402 if test "${enable_logwin+set}" = set; then
5403 enableval
="$enable_logwin"
5405 if test "$enableval" = yes; then
5406 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5408 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5413 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5414 if test "x$LINE" != x
; then
5415 eval "DEFAULT_$LINE"
5420 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5425 eval "$ac_cv_use_logwin"
5426 if test "$no_cache" != 1; then
5427 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5430 if test "$wxUSE_LOGWINDOW" = yes; then
5431 echo "$ac_t""yes" 1>&6
5433 echo "$ac_t""no" 1>&6
5438 echo $ac_n "checking for --${enablestring:-enable}-logdialog""... $ac_c" 1>&6
5439 echo "configure:5440: checking for --${enablestring:-enable}-logdialog" >&5
5441 # Check whether --enable-logdialog or --disable-logdialog was given.
5442 if test "${enable_logdialog+set}" = set; then
5443 enableval
="$enable_logdialog"
5445 if test "$enableval" = yes; then
5446 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5448 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5453 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5454 if test "x$LINE" != x
; then
5455 eval "DEFAULT_$LINE"
5460 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5465 eval "$ac_cv_use_logdialog"
5466 if test "$no_cache" != 1; then
5467 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5470 if test "$wxUSE_LOGDIALOG" = yes; then
5471 echo "$ac_t""yes" 1>&6
5473 echo "$ac_t""no" 1>&6
5479 echo $ac_n "checking for --${enablestring:-enable}-postscript""... $ac_c" 1>&6
5480 echo "configure:5481: checking for --${enablestring:-enable}-postscript" >&5
5482 # Check whether --enable-postscript or --disable-postscript was given.
5483 if test "${enable_postscript+set}" = set; then
5484 enableval
="$enable_postscript"
5486 if test "$enableval" = yes; then
5487 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5489 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5494 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5495 if test "x$LINE" != x
; then
5496 eval "DEFAULT_$LINE"
5501 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5506 eval "$ac_cv_use_postscript"
5507 if test "$no_cache" != 1; then
5508 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5511 if test "$wxUSE_POSTSCRIPT" = yes; then
5512 echo "$ac_t""yes" 1>&6
5514 echo "$ac_t""no" 1>&6
5522 echo $ac_n "checking for --${enablestring:-enable}-prologio""... $ac_c" 1>&6
5523 echo "configure:5524: checking for --${enablestring:-enable}-prologio" >&5
5525 # Check whether --enable-prologio or --disable-prologio was given.
5526 if test "${enable_prologio+set}" = set; then
5527 enableval
="$enable_prologio"
5529 if test "$enableval" = yes; then
5530 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5532 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5537 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5538 if test "x$LINE" != x
; then
5539 eval "DEFAULT_$LINE"
5544 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5549 eval "$ac_cv_use_prologio"
5550 if test "$no_cache" != 1; then
5551 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5554 if test "$wxUSE_PROLOGIO" = yes; then
5555 echo "$ac_t""yes" 1>&6
5557 echo "$ac_t""no" 1>&6
5562 echo $ac_n "checking for --${enablestring:-enable}-resources""... $ac_c" 1>&6
5563 echo "configure:5564: checking for --${enablestring:-enable}-resources" >&5
5565 # Check whether --enable-resources or --disable-resources was given.
5566 if test "${enable_resources+set}" = set; then
5567 enableval
="$enable_resources"
5569 if test "$enableval" = yes; then
5570 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5572 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5577 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5578 if test "x$LINE" != x
; then
5579 eval "DEFAULT_$LINE"
5584 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5589 eval "$ac_cv_use_resources"
5590 if test "$no_cache" != 1; then
5591 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5594 if test "$wxUSE_RESOURCES" = yes; then
5595 echo "$ac_t""yes" 1>&6
5597 echo "$ac_t""no" 1>&6
5603 echo $ac_n "checking for --${enablestring:-enable}-xresources""... $ac_c" 1>&6
5604 echo "configure:5605: checking for --${enablestring:-enable}-xresources" >&5
5606 # Check whether --enable-xresources or --disable-xresources was given.
5607 if test "${enable_xresources+set}" = set; then
5608 enableval
="$enable_xresources"
5610 if test "$enableval" = yes; then
5611 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5613 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5618 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5619 if test "x$LINE" != x
; then
5620 eval "DEFAULT_$LINE"
5625 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5630 eval "$ac_cv_use_xresources"
5631 if test "$no_cache" != 1; then
5632 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5635 if test "$wxUSE_X_RESOURCES" = yes; then
5636 echo "$ac_t""yes" 1>&6
5638 echo "$ac_t""no" 1>&6
5645 echo $ac_n "checking for --${enablestring:-enable}-clipboard""... $ac_c" 1>&6
5646 echo "configure:5647: checking for --${enablestring:-enable}-clipboard" >&5
5648 # Check whether --enable-clipboard or --disable-clipboard was given.
5649 if test "${enable_clipboard+set}" = set; then
5650 enableval
="$enable_clipboard"
5652 if test "$enableval" = yes; then
5653 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5655 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5660 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5661 if test "x$LINE" != x
; then
5662 eval "DEFAULT_$LINE"
5667 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5672 eval "$ac_cv_use_clipboard"
5673 if test "$no_cache" != 1; then
5674 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5677 if test "$wxUSE_CLIPBOARD" = yes; then
5678 echo "$ac_t""yes" 1>&6
5680 echo "$ac_t""no" 1>&6
5685 echo $ac_n "checking for --${enablestring:-enable}-dnd""... $ac_c" 1>&6
5686 echo "configure:5687: checking for --${enablestring:-enable}-dnd" >&5
5688 # Check whether --enable-dnd or --disable-dnd was given.
5689 if test "${enable_dnd+set}" = set; then
5690 enableval
="$enable_dnd"
5692 if test "$enableval" = yes; then
5693 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5695 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5700 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5701 if test "x$LINE" != x
; then
5702 eval "DEFAULT_$LINE"
5707 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5712 eval "$ac_cv_use_dnd"
5713 if test "$no_cache" != 1; then
5714 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5717 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5718 echo "$ac_t""yes" 1>&6
5720 echo "$ac_t""no" 1>&6
5725 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
5726 echo "configure:5727: checking for --${enablestring:-enable}-metafile" >&5
5728 # Check whether --enable-metafile or --disable-metafile was given.
5729 if test "${enable_metafile+set}" = set; then
5730 enableval
="$enable_metafile"
5732 if test "$enableval" = yes; then
5733 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5735 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5740 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5741 if test "x$LINE" != x
; then
5742 eval "DEFAULT_$LINE"
5747 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5752 eval "$ac_cv_use_metafile"
5753 if test "$no_cache" != 1; then
5754 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5757 if test "$wxUSE_METAFILE" = yes; then
5758 echo "$ac_t""yes" 1>&6
5760 echo "$ac_t""no" 1>&6
5766 echo $ac_n "checking for --${enablestring:-enable}-treelayout""... $ac_c" 1>&6
5767 echo "configure:5768: checking for --${enablestring:-enable}-treelayout" >&5
5769 # Check whether --enable-treelayout or --disable-treelayout was given.
5770 if test "${enable_treelayout+set}" = set; then
5771 enableval
="$enable_treelayout"
5773 if test "$enableval" = yes; then
5774 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5776 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5781 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5782 if test "x$LINE" != x
; then
5783 eval "DEFAULT_$LINE"
5788 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5793 eval "$ac_cv_use_treelayout"
5794 if test "$no_cache" != 1; then
5795 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5798 if test "$wxUSE_TREELAYOUT" = yes; then
5799 echo "$ac_t""yes" 1>&6
5801 echo "$ac_t""no" 1>&6
5808 echo $ac_n "checking for --${enablestring:-enable}-controls""... $ac_c" 1>&6
5809 echo "configure:5810: checking for --${enablestring:-enable}-controls" >&5
5811 # Check whether --enable-controls or --disable-controls was given.
5812 if test "${enable_controls+set}" = set; then
5813 enableval
="$enable_controls"
5815 if test "$enableval" = yes; then
5816 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5818 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5823 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5824 if test "x$LINE" != x
; then
5825 eval "DEFAULT_$LINE"
5830 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5835 eval "$ac_cv_use_controls"
5836 if test "$no_cache" != 1; then
5837 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5840 if test "$wxUSE_CONTROLS" = yes; then
5841 echo "$ac_t""yes" 1>&6
5843 echo "$ac_t""no" 1>&6
5847 if test "$wxUSE_CONTROLS" = "yes"; then
5848 DEFAULT_wxUSE_ACCEL
=yes
5849 DEFAULT_wxUSE_BMPBUTTON
=yes
5850 DEFAULT_wxUSE_BUTTON
=yes
5851 DEFAULT_wxUSE_CALCTRL
=no
5852 DEFAULT_wxUSE_CARET
=yes
5853 DEFAULT_wxUSE_COMBOBOX
=yes
5854 DEFAULT_wxUSE_CHECKBOX
=yes
5855 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5856 DEFAULT_wxUSE_CHOICE
=yes
5857 DEFAULT_wxUSE_GAUGE
=yes
5858 DEFAULT_wxUSE_GRID
=yes
5859 DEFAULT_wxUSE_NEW_GRID
=yes
5860 DEFAULT_wxUSE_IMAGLIST
=yes
5861 DEFAULT_wxUSE_LISTBOX
=yes
5862 DEFAULT_wxUSE_LISTCTRL
=yes
5863 DEFAULT_wxUSE_NOTEBOOK
=yes
5864 DEFAULT_wxUSE_PROPSHEET
=yes
5865 DEFAULT_wxUSE_RADIOBOX
=yes
5866 DEFAULT_wxUSE_RADIOBTN
=yes
5867 DEFAULT_wxUSE_SASH
=yes
5868 DEFAULT_wxUSE_SCROLLBAR
=yes
5869 DEFAULT_wxUSE_SLIDER
=yes
5870 DEFAULT_wxUSE_SPINBTN
=yes
5871 DEFAULT_wxUSE_SPINCTRL
=yes
5872 DEFAULT_wxUSE_SPLITTER
=yes
5873 DEFAULT_wxUSE_STATBMP
=yes
5874 DEFAULT_wxUSE_STATBOX
=yes
5875 DEFAULT_wxUSE_STATLINE
=yes
5876 DEFAULT_wxUSE_STATUSBAR
=yes
5877 DEFAULT_wxUSE_TAB_DIALOG
=yes
5878 DEFAULT_wxUSE_TOGGLEBTN
=yes
5879 DEFAULT_wxUSE_TOOLBAR
=yes
5880 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5881 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5882 DEFAULT_wxUSE_TOOLTIPS
=yes
5883 DEFAULT_wxUSE_TREECTRL
=yes
5884 DEFAULT_wxUSE_POPUPWIN
=yes
5885 DEFAULT_wxUSE_TIPWINDOW
=yes
5886 elif test "$wxUSE_CONTROLS" = "no"; then
5887 DEFAULT_wxUSE_ACCEL
=no
5888 DEFAULT_wxUSE_BMPBUTTON
=no
5889 DEFAULT_wxUSE_BUTTON
=no
5890 DEFAULT_wxUSE_CALCTRL
=no
5891 DEFAULT_wxUSE_CARET
=no
5892 DEFAULT_wxUSE_COMBOBOX
=no
5893 DEFAULT_wxUSE_CHECKBOX
=no
5894 DEFAULT_wxUSE_CHECKLISTBOX
=no
5895 DEFAULT_wxUSE_CHOICE
=no
5896 DEFAULT_wxUSE_GAUGE
=no
5897 DEFAULT_wxUSE_GRID
=no
5898 DEFAULT_wxUSE_NEW_GRID
=no
5899 DEFAULT_wxUSE_IMAGLIST
=no
5900 DEFAULT_wxUSE_LISTBOX
=no
5901 DEFAULT_wxUSE_LISTCTRL
=no
5902 DEFAULT_wxUSE_NOTEBOOK
=no
5903 DEFAULT_wxUSE_PROPSHEET
=no
5904 DEFAULT_wxUSE_RADIOBOX
=no
5905 DEFAULT_wxUSE_RADIOBTN
=no
5906 DEFAULT_wxUSE_SASH
=no
5907 DEFAULT_wxUSE_SCROLLBAR
=no
5908 DEFAULT_wxUSE_SLIDER
=no
5909 DEFAULT_wxUSE_SPINBTN
=no
5910 DEFAULT_wxUSE_SPINCTRL
=no
5911 DEFAULT_wxUSE_SPLITTER
=no
5912 DEFAULT_wxUSE_STATBMP
=no
5913 DEFAULT_wxUSE_STATBOX
=no
5914 DEFAULT_wxUSE_STATLINE
=no
5915 DEFAULT_wxUSE_STATUSBAR
=no
5916 DEFAULT_wxUSE_TAB_DIALOG
=no
5917 DEFAULT_wxUSE_TOGGLEBTN
=no
5918 DEFAULT_wxUSE_TOOLBAR
=no
5919 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5920 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5921 DEFAULT_wxUSE_TOOLTIPS
=no
5922 DEFAULT_wxUSE_TREECTRL
=no
5923 DEFAULT_wxUSE_POPUPWIN
=no
5924 DEFAULT_wxUSE_TIPWINDOW
=no
5929 echo $ac_n "checking for --${enablestring:-enable}-accel""... $ac_c" 1>&6
5930 echo "configure:5931: checking for --${enablestring:-enable}-accel" >&5
5932 # Check whether --enable-accel or --disable-accel was given.
5933 if test "${enable_accel+set}" = set; then
5934 enableval
="$enable_accel"
5936 if test "$enableval" = yes; then
5937 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5939 ac_cv_use_accel
='wxUSE_ACCEL=no'
5944 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5945 if test "x$LINE" != x
; then
5946 eval "DEFAULT_$LINE"
5951 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5956 eval "$ac_cv_use_accel"
5957 if test "$no_cache" != 1; then
5958 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5961 if test "$wxUSE_ACCEL" = yes; then
5962 echo "$ac_t""yes" 1>&6
5964 echo "$ac_t""no" 1>&6
5969 echo $ac_n "checking for --${enablestring:-enable}-button""... $ac_c" 1>&6
5970 echo "configure:5971: checking for --${enablestring:-enable}-button" >&5
5972 # Check whether --enable-button or --disable-button was given.
5973 if test "${enable_button+set}" = set; then
5974 enableval
="$enable_button"
5976 if test "$enableval" = yes; then
5977 ac_cv_use_button
='wxUSE_BUTTON=yes'
5979 ac_cv_use_button
='wxUSE_BUTTON=no'
5984 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5985 if test "x$LINE" != x
; then
5986 eval "DEFAULT_$LINE"
5991 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5996 eval "$ac_cv_use_button"
5997 if test "$no_cache" != 1; then
5998 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6001 if test "$wxUSE_BUTTON" = yes; then
6002 echo "$ac_t""yes" 1>&6
6004 echo "$ac_t""no" 1>&6
6009 echo $ac_n "checking for --${enablestring:-enable}-bmpbutton""... $ac_c" 1>&6
6010 echo "configure:6011: checking for --${enablestring:-enable}-bmpbutton" >&5
6012 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6013 if test "${enable_bmpbutton+set}" = set; then
6014 enableval
="$enable_bmpbutton"
6016 if test "$enableval" = yes; then
6017 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
6019 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
6024 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6025 if test "x$LINE" != x
; then
6026 eval "DEFAULT_$LINE"
6031 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6036 eval "$ac_cv_use_bmpbutton"
6037 if test "$no_cache" != 1; then
6038 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6041 if test "$wxUSE_BMPBUTTON" = yes; then
6042 echo "$ac_t""yes" 1>&6
6044 echo "$ac_t""no" 1>&6
6049 echo $ac_n "checking for --${enablestring:-enable}-calendar""... $ac_c" 1>&6
6050 echo "configure:6051: checking for --${enablestring:-enable}-calendar" >&5
6052 # Check whether --enable-calendar or --disable-calendar was given.
6053 if test "${enable_calendar+set}" = set; then
6054 enableval
="$enable_calendar"
6056 if test "$enableval" = yes; then
6057 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
6059 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
6064 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6065 if test "x$LINE" != x
; then
6066 eval "DEFAULT_$LINE"
6071 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6076 eval "$ac_cv_use_calendar"
6077 if test "$no_cache" != 1; then
6078 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6081 if test "$wxUSE_CALCTRL" = yes; then
6082 echo "$ac_t""yes" 1>&6
6084 echo "$ac_t""no" 1>&6
6089 echo $ac_n "checking for --${enablestring:-enable}-caret""... $ac_c" 1>&6
6090 echo "configure:6091: checking for --${enablestring:-enable}-caret" >&5
6092 # Check whether --enable-caret or --disable-caret was given.
6093 if test "${enable_caret+set}" = set; then
6094 enableval
="$enable_caret"
6096 if test "$enableval" = yes; then
6097 ac_cv_use_caret
='wxUSE_CARET=yes'
6099 ac_cv_use_caret
='wxUSE_CARET=no'
6104 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6105 if test "x$LINE" != x
; then
6106 eval "DEFAULT_$LINE"
6111 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6116 eval "$ac_cv_use_caret"
6117 if test "$no_cache" != 1; then
6118 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6121 if test "$wxUSE_CARET" = yes; then
6122 echo "$ac_t""yes" 1>&6
6124 echo "$ac_t""no" 1>&6
6129 echo $ac_n "checking for --${enablestring:-enable}-checkbox""... $ac_c" 1>&6
6130 echo "configure:6131: checking for --${enablestring:-enable}-checkbox" >&5
6132 # Check whether --enable-checkbox or --disable-checkbox was given.
6133 if test "${enable_checkbox+set}" = set; then
6134 enableval
="$enable_checkbox"
6136 if test "$enableval" = yes; then
6137 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
6139 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
6144 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6145 if test "x$LINE" != x
; then
6146 eval "DEFAULT_$LINE"
6151 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6156 eval "$ac_cv_use_checkbox"
6157 if test "$no_cache" != 1; then
6158 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6161 if test "$wxUSE_CHECKBOX" = yes; then
6162 echo "$ac_t""yes" 1>&6
6164 echo "$ac_t""no" 1>&6
6169 echo $ac_n "checking for --${enablestring:-enable}-checklst""... $ac_c" 1>&6
6170 echo "configure:6171: checking for --${enablestring:-enable}-checklst" >&5
6172 # Check whether --enable-checklst or --disable-checklst was given.
6173 if test "${enable_checklst+set}" = set; then
6174 enableval
="$enable_checklst"
6176 if test "$enableval" = yes; then
6177 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
6179 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
6184 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6185 if test "x$LINE" != x
; then
6186 eval "DEFAULT_$LINE"
6191 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6196 eval "$ac_cv_use_checklst"
6197 if test "$no_cache" != 1; then
6198 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6201 if test "$wxUSE_CHECKLST" = yes; then
6202 echo "$ac_t""yes" 1>&6
6204 echo "$ac_t""no" 1>&6
6209 echo $ac_n "checking for --${enablestring:-enable}-choice""... $ac_c" 1>&6
6210 echo "configure:6211: checking for --${enablestring:-enable}-choice" >&5
6212 # Check whether --enable-choice or --disable-choice was given.
6213 if test "${enable_choice+set}" = set; then
6214 enableval
="$enable_choice"
6216 if test "$enableval" = yes; then
6217 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6219 ac_cv_use_choice
='wxUSE_CHOICE=no'
6224 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6225 if test "x$LINE" != x
; then
6226 eval "DEFAULT_$LINE"
6231 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6236 eval "$ac_cv_use_choice"
6237 if test "$no_cache" != 1; then
6238 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6241 if test "$wxUSE_CHOICE" = yes; then
6242 echo "$ac_t""yes" 1>&6
6244 echo "$ac_t""no" 1>&6
6249 echo $ac_n "checking for --${enablestring:-enable}-combobox""... $ac_c" 1>&6
6250 echo "configure:6251: checking for --${enablestring:-enable}-combobox" >&5
6252 # Check whether --enable-combobox or --disable-combobox was given.
6253 if test "${enable_combobox+set}" = set; then
6254 enableval
="$enable_combobox"
6256 if test "$enableval" = yes; then
6257 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6259 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6264 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6265 if test "x$LINE" != x
; then
6266 eval "DEFAULT_$LINE"
6271 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6276 eval "$ac_cv_use_combobox"
6277 if test "$no_cache" != 1; then
6278 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6281 if test "$wxUSE_COMBOBOX" = yes; then
6282 echo "$ac_t""yes" 1>&6
6284 echo "$ac_t""no" 1>&6
6289 echo $ac_n "checking for --${enablestring:-enable}-gauge""... $ac_c" 1>&6
6290 echo "configure:6291: checking for --${enablestring:-enable}-gauge" >&5
6292 # Check whether --enable-gauge or --disable-gauge was given.
6293 if test "${enable_gauge+set}" = set; then
6294 enableval
="$enable_gauge"
6296 if test "$enableval" = yes; then
6297 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6299 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6304 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6305 if test "x$LINE" != x
; then
6306 eval "DEFAULT_$LINE"
6311 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6316 eval "$ac_cv_use_gauge"
6317 if test "$no_cache" != 1; then
6318 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6321 if test "$wxUSE_GAUGE" = yes; then
6322 echo "$ac_t""yes" 1>&6
6324 echo "$ac_t""no" 1>&6
6329 echo $ac_n "checking for --${enablestring:-enable}-grid""... $ac_c" 1>&6
6330 echo "configure:6331: checking for --${enablestring:-enable}-grid" >&5
6332 # Check whether --enable-grid or --disable-grid was given.
6333 if test "${enable_grid+set}" = set; then
6334 enableval
="$enable_grid"
6336 if test "$enableval" = yes; then
6337 ac_cv_use_grid
='wxUSE_GRID=yes'
6339 ac_cv_use_grid
='wxUSE_GRID=no'
6344 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6345 if test "x$LINE" != x
; then
6346 eval "DEFAULT_$LINE"
6351 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6356 eval "$ac_cv_use_grid"
6357 if test "$no_cache" != 1; then
6358 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6361 if test "$wxUSE_GRID" = yes; then
6362 echo "$ac_t""yes" 1>&6
6364 echo "$ac_t""no" 1>&6
6369 echo $ac_n "checking for --${enablestring:-enable}-newgrid""... $ac_c" 1>&6
6370 echo "configure:6371: checking for --${enablestring:-enable}-newgrid" >&5
6372 # Check whether --enable-newgrid or --disable-newgrid was given.
6373 if test "${enable_newgrid+set}" = set; then
6374 enableval
="$enable_newgrid"
6376 if test "$enableval" = yes; then
6377 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6379 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6384 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6385 if test "x$LINE" != x
; then
6386 eval "DEFAULT_$LINE"
6391 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6396 eval "$ac_cv_use_newgrid"
6397 if test "$no_cache" != 1; then
6398 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6401 if test "$wxUSE_NEW_GRID" = yes; then
6402 echo "$ac_t""yes" 1>&6
6404 echo "$ac_t""no" 1>&6
6409 echo $ac_n "checking for --${enablestring:-enable}-imaglist""... $ac_c" 1>&6
6410 echo "configure:6411: checking for --${enablestring:-enable}-imaglist" >&5
6412 # Check whether --enable-imaglist or --disable-imaglist was given.
6413 if test "${enable_imaglist+set}" = set; then
6414 enableval
="$enable_imaglist"
6416 if test "$enableval" = yes; then
6417 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6419 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6424 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6425 if test "x$LINE" != x
; then
6426 eval "DEFAULT_$LINE"
6431 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6436 eval "$ac_cv_use_imaglist"
6437 if test "$no_cache" != 1; then
6438 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6441 if test "$wxUSE_IMAGLIST" = yes; then
6442 echo "$ac_t""yes" 1>&6
6444 echo "$ac_t""no" 1>&6
6449 echo $ac_n "checking for --${enablestring:-enable}-listbox""... $ac_c" 1>&6
6450 echo "configure:6451: checking for --${enablestring:-enable}-listbox" >&5
6452 # Check whether --enable-listbox or --disable-listbox was given.
6453 if test "${enable_listbox+set}" = set; then
6454 enableval
="$enable_listbox"
6456 if test "$enableval" = yes; then
6457 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6459 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6464 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6465 if test "x$LINE" != x
; then
6466 eval "DEFAULT_$LINE"
6471 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6476 eval "$ac_cv_use_listbox"
6477 if test "$no_cache" != 1; then
6478 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6481 if test "$wxUSE_LISTBOX" = yes; then
6482 echo "$ac_t""yes" 1>&6
6484 echo "$ac_t""no" 1>&6
6489 echo $ac_n "checking for --${enablestring:-enable}-listctrl""... $ac_c" 1>&6
6490 echo "configure:6491: checking for --${enablestring:-enable}-listctrl" >&5
6492 # Check whether --enable-listctrl or --disable-listctrl was given.
6493 if test "${enable_listctrl+set}" = set; then
6494 enableval
="$enable_listctrl"
6496 if test "$enableval" = yes; then
6497 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6499 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6504 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6505 if test "x$LINE" != x
; then
6506 eval "DEFAULT_$LINE"
6511 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6516 eval "$ac_cv_use_listctrl"
6517 if test "$no_cache" != 1; then
6518 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6521 if test "$wxUSE_LISTCTRL" = yes; then
6522 echo "$ac_t""yes" 1>&6
6524 echo "$ac_t""no" 1>&6
6529 echo $ac_n "checking for --${enablestring:-enable}-notebook""... $ac_c" 1>&6
6530 echo "configure:6531: checking for --${enablestring:-enable}-notebook" >&5
6532 # Check whether --enable-notebook or --disable-notebook was given.
6533 if test "${enable_notebook+set}" = set; then
6534 enableval
="$enable_notebook"
6536 if test "$enableval" = yes; then
6537 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6539 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6544 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6545 if test "x$LINE" != x
; then
6546 eval "DEFAULT_$LINE"
6551 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6556 eval "$ac_cv_use_notebook"
6557 if test "$no_cache" != 1; then
6558 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6561 if test "$wxUSE_NOTEBOOK" = yes; then
6562 echo "$ac_t""yes" 1>&6
6564 echo "$ac_t""no" 1>&6
6569 echo $ac_n "checking for --${enablestring:-enable}-propsheet""... $ac_c" 1>&6
6570 echo "configure:6571: checking for --${enablestring:-enable}-propsheet" >&5
6572 # Check whether --enable-propsheet or --disable-propsheet was given.
6573 if test "${enable_propsheet+set}" = set; then
6574 enableval
="$enable_propsheet"
6576 if test "$enableval" = yes; then
6577 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6579 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6584 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6585 if test "x$LINE" != x
; then
6586 eval "DEFAULT_$LINE"
6591 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6596 eval "$ac_cv_use_propsheet"
6597 if test "$no_cache" != 1; then
6598 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6601 if test "$wxUSE_PROPSHEET" = yes; then
6602 echo "$ac_t""yes" 1>&6
6604 echo "$ac_t""no" 1>&6
6609 echo $ac_n "checking for --${enablestring:-enable}-radiobox""... $ac_c" 1>&6
6610 echo "configure:6611: checking for --${enablestring:-enable}-radiobox" >&5
6612 # Check whether --enable-radiobox or --disable-radiobox was given.
6613 if test "${enable_radiobox+set}" = set; then
6614 enableval
="$enable_radiobox"
6616 if test "$enableval" = yes; then
6617 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6619 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6624 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6625 if test "x$LINE" != x
; then
6626 eval "DEFAULT_$LINE"
6631 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6636 eval "$ac_cv_use_radiobox"
6637 if test "$no_cache" != 1; then
6638 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6641 if test "$wxUSE_RADIOBOX" = yes; then
6642 echo "$ac_t""yes" 1>&6
6644 echo "$ac_t""no" 1>&6
6649 echo $ac_n "checking for --${enablestring:-enable}-radiobtn""... $ac_c" 1>&6
6650 echo "configure:6651: checking for --${enablestring:-enable}-radiobtn" >&5
6652 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6653 if test "${enable_radiobtn+set}" = set; then
6654 enableval
="$enable_radiobtn"
6656 if test "$enableval" = yes; then
6657 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6659 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6664 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6665 if test "x$LINE" != x
; then
6666 eval "DEFAULT_$LINE"
6671 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6676 eval "$ac_cv_use_radiobtn"
6677 if test "$no_cache" != 1; then
6678 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6681 if test "$wxUSE_RADIOBTN" = yes; then
6682 echo "$ac_t""yes" 1>&6
6684 echo "$ac_t""no" 1>&6
6689 echo $ac_n "checking for --${enablestring:-enable}-sash""... $ac_c" 1>&6
6690 echo "configure:6691: checking for --${enablestring:-enable}-sash" >&5
6692 # Check whether --enable-sash or --disable-sash was given.
6693 if test "${enable_sash+set}" = set; then
6694 enableval
="$enable_sash"
6696 if test "$enableval" = yes; then
6697 ac_cv_use_sash
='wxUSE_SASH=yes'
6699 ac_cv_use_sash
='wxUSE_SASH=no'
6704 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x
; then
6706 eval "DEFAULT_$LINE"
6711 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6716 eval "$ac_cv_use_sash"
6717 if test "$no_cache" != 1; then
6718 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6721 if test "$wxUSE_SASH" = yes; then
6722 echo "$ac_t""yes" 1>&6
6724 echo "$ac_t""no" 1>&6
6729 echo $ac_n "checking for --${enablestring:-enable}-scrollbar""... $ac_c" 1>&6
6730 echo "configure:6731: checking for --${enablestring:-enable}-scrollbar" >&5
6732 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6733 if test "${enable_scrollbar+set}" = set; then
6734 enableval
="$enable_scrollbar"
6736 if test "$enableval" = yes; then
6737 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6739 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6744 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6745 if test "x$LINE" != x
; then
6746 eval "DEFAULT_$LINE"
6751 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6756 eval "$ac_cv_use_scrollbar"
6757 if test "$no_cache" != 1; then
6758 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6761 if test "$wxUSE_SCROLLBAR" = yes; then
6762 echo "$ac_t""yes" 1>&6
6764 echo "$ac_t""no" 1>&6
6769 echo $ac_n "checking for --${enablestring:-enable}-slider""... $ac_c" 1>&6
6770 echo "configure:6771: checking for --${enablestring:-enable}-slider" >&5
6772 # Check whether --enable-slider or --disable-slider was given.
6773 if test "${enable_slider+set}" = set; then
6774 enableval
="$enable_slider"
6776 if test "$enableval" = yes; then
6777 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6779 ac_cv_use_slider
='wxUSE_SLIDER=no'
6784 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6785 if test "x$LINE" != x
; then
6786 eval "DEFAULT_$LINE"
6791 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6796 eval "$ac_cv_use_slider"
6797 if test "$no_cache" != 1; then
6798 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6801 if test "$wxUSE_SLIDER" = yes; then
6802 echo "$ac_t""yes" 1>&6
6804 echo "$ac_t""no" 1>&6
6809 echo $ac_n "checking for --${enablestring:-enable}-spinbtn""... $ac_c" 1>&6
6810 echo "configure:6811: checking for --${enablestring:-enable}-spinbtn" >&5
6812 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6813 if test "${enable_spinbtn+set}" = set; then
6814 enableval
="$enable_spinbtn"
6816 if test "$enableval" = yes; then
6817 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6819 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6824 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6825 if test "x$LINE" != x
; then
6826 eval "DEFAULT_$LINE"
6831 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6836 eval "$ac_cv_use_spinbtn"
6837 if test "$no_cache" != 1; then
6838 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6841 if test "$wxUSE_SPINBTN" = yes; then
6842 echo "$ac_t""yes" 1>&6
6844 echo "$ac_t""no" 1>&6
6849 echo $ac_n "checking for --${enablestring:-enable}-spinctrl""... $ac_c" 1>&6
6850 echo "configure:6851: checking for --${enablestring:-enable}-spinctrl" >&5
6852 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6853 if test "${enable_spinctrl+set}" = set; then
6854 enableval
="$enable_spinctrl"
6856 if test "$enableval" = yes; then
6857 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6859 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6864 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6865 if test "x$LINE" != x
; then
6866 eval "DEFAULT_$LINE"
6871 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6876 eval "$ac_cv_use_spinctrl"
6877 if test "$no_cache" != 1; then
6878 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6881 if test "$wxUSE_SPINCTRL" = yes; then
6882 echo "$ac_t""yes" 1>&6
6884 echo "$ac_t""no" 1>&6
6889 echo $ac_n "checking for --${enablestring:-enable}-splitter""... $ac_c" 1>&6
6890 echo "configure:6891: checking for --${enablestring:-enable}-splitter" >&5
6892 # Check whether --enable-splitter or --disable-splitter was given.
6893 if test "${enable_splitter+set}" = set; then
6894 enableval
="$enable_splitter"
6896 if test "$enableval" = yes; then
6897 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6899 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6904 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6905 if test "x$LINE" != x
; then
6906 eval "DEFAULT_$LINE"
6911 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6916 eval "$ac_cv_use_splitter"
6917 if test "$no_cache" != 1; then
6918 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6921 if test "$wxUSE_SPLITTER" = yes; then
6922 echo "$ac_t""yes" 1>&6
6924 echo "$ac_t""no" 1>&6
6929 echo $ac_n "checking for --${enablestring:-enable}-statbmp""... $ac_c" 1>&6
6930 echo "configure:6931: checking for --${enablestring:-enable}-statbmp" >&5
6932 # Check whether --enable-statbmp or --disable-statbmp was given.
6933 if test "${enable_statbmp+set}" = set; then
6934 enableval
="$enable_statbmp"
6936 if test "$enableval" = yes; then
6937 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6939 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6944 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6945 if test "x$LINE" != x
; then
6946 eval "DEFAULT_$LINE"
6951 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6956 eval "$ac_cv_use_statbmp"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6961 if test "$wxUSE_STATBMP" = yes; then
6962 echo "$ac_t""yes" 1>&6
6964 echo "$ac_t""no" 1>&6
6969 echo $ac_n "checking for --${enablestring:-enable}-statbox""... $ac_c" 1>&6
6970 echo "configure:6971: checking for --${enablestring:-enable}-statbox" >&5
6972 # Check whether --enable-statbox or --disable-statbox was given.
6973 if test "${enable_statbox+set}" = set; then
6974 enableval
="$enable_statbox"
6976 if test "$enableval" = yes; then
6977 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6979 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6984 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6985 if test "x$LINE" != x
; then
6986 eval "DEFAULT_$LINE"
6991 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6996 eval "$ac_cv_use_statbox"
6997 if test "$no_cache" != 1; then
6998 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7001 if test "$wxUSE_STATBOX" = yes; then
7002 echo "$ac_t""yes" 1>&6
7004 echo "$ac_t""no" 1>&6
7009 echo $ac_n "checking for --${enablestring:-enable}-statline""... $ac_c" 1>&6
7010 echo "configure:7011: checking for --${enablestring:-enable}-statline" >&5
7012 # Check whether --enable-statline or --disable-statline was given.
7013 if test "${enable_statline+set}" = set; then
7014 enableval
="$enable_statline"
7016 if test "$enableval" = yes; then
7017 ac_cv_use_statline
='wxUSE_STATLINE=yes'
7019 ac_cv_use_statline
='wxUSE_STATLINE=no'
7024 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x
; then
7026 eval "DEFAULT_$LINE"
7031 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7036 eval "$ac_cv_use_statline"
7037 if test "$no_cache" != 1; then
7038 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7041 if test "$wxUSE_STATLINE" = yes; then
7042 echo "$ac_t""yes" 1>&6
7044 echo "$ac_t""no" 1>&6
7049 echo $ac_n "checking for --${enablestring:-enable}-stattext""... $ac_c" 1>&6
7050 echo "configure:7051: checking for --${enablestring:-enable}-stattext" >&5
7052 # Check whether --enable-stattext or --disable-stattext was given.
7053 if test "${enable_stattext+set}" = set; then
7054 enableval
="$enable_stattext"
7056 if test "$enableval" = yes; then
7057 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
7059 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
7064 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7065 if test "x$LINE" != x
; then
7066 eval "DEFAULT_$LINE"
7071 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7076 eval "$ac_cv_use_stattext"
7077 if test "$no_cache" != 1; then
7078 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7081 if test "$wxUSE_STATTEXT" = yes; then
7082 echo "$ac_t""yes" 1>&6
7084 echo "$ac_t""no" 1>&6
7089 echo $ac_n "checking for --${enablestring:-enable}-statusbar""... $ac_c" 1>&6
7090 echo "configure:7091: checking for --${enablestring:-enable}-statusbar" >&5
7092 # Check whether --enable-statusbar or --disable-statusbar was given.
7093 if test "${enable_statusbar+set}" = set; then
7094 enableval
="$enable_statusbar"
7096 if test "$enableval" = yes; then
7097 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
7099 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
7104 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x
; then
7106 eval "DEFAULT_$LINE"
7111 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7116 eval "$ac_cv_use_statusbar"
7117 if test "$no_cache" != 1; then
7118 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7121 if test "$wxUSE_STATUSBAR" = yes; then
7122 echo "$ac_t""yes" 1>&6
7124 echo "$ac_t""no" 1>&6
7129 echo $ac_n "checking for --${enablestring:-enable}-tabdialog""... $ac_c" 1>&6
7130 echo "configure:7131: checking for --${enablestring:-enable}-tabdialog" >&5
7132 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7133 if test "${enable_tabdialog+set}" = set; then
7134 enableval
="$enable_tabdialog"
7136 if test "$enableval" = yes; then
7137 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
7139 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
7144 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7145 if test "x$LINE" != x
; then
7146 eval "DEFAULT_$LINE"
7151 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7156 eval "$ac_cv_use_tabdialog"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7161 if test "$wxUSE_TABDIALOG" = yes; then
7162 echo "$ac_t""yes" 1>&6
7164 echo "$ac_t""no" 1>&6
7169 echo $ac_n "checking for --${enablestring:-enable}-textctrl""... $ac_c" 1>&6
7170 echo "configure:7171: checking for --${enablestring:-enable}-textctrl" >&5
7172 # Check whether --enable-textctrl or --disable-textctrl was given.
7173 if test "${enable_textctrl+set}" = set; then
7174 enableval
="$enable_textctrl"
7176 if test "$enableval" = yes; then
7177 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
7179 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
7184 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7185 if test "x$LINE" != x
; then
7186 eval "DEFAULT_$LINE"
7191 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7196 eval "$ac_cv_use_textctrl"
7197 if test "$no_cache" != 1; then
7198 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7201 if test "$wxUSE_TEXTCTRL" = yes; then
7202 echo "$ac_t""yes" 1>&6
7204 echo "$ac_t""no" 1>&6
7209 echo $ac_n "checking for --${enablestring:-enable}-togglebtn""... $ac_c" 1>&6
7210 echo "configure:7211: checking for --${enablestring:-enable}-togglebtn" >&5
7212 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7213 if test "${enable_togglebtn+set}" = set; then
7214 enableval
="$enable_togglebtn"
7216 if test "$enableval" = yes; then
7217 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7219 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7224 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7225 if test "x$LINE" != x
; then
7226 eval "DEFAULT_$LINE"
7231 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7236 eval "$ac_cv_use_togglebtn"
7237 if test "$no_cache" != 1; then
7238 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7241 if test "$wxUSE_TOGGLEBTN" = yes; then
7242 echo "$ac_t""yes" 1>&6
7244 echo "$ac_t""no" 1>&6
7249 echo $ac_n "checking for --${enablestring:-enable}-toolbar""... $ac_c" 1>&6
7250 echo "configure:7251: checking for --${enablestring:-enable}-toolbar" >&5
7252 # Check whether --enable-toolbar or --disable-toolbar was given.
7253 if test "${enable_toolbar+set}" = set; then
7254 enableval
="$enable_toolbar"
7256 if test "$enableval" = yes; then
7257 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7259 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7264 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7265 if test "x$LINE" != x
; then
7266 eval "DEFAULT_$LINE"
7271 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7276 eval "$ac_cv_use_toolbar"
7277 if test "$no_cache" != 1; then
7278 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7281 if test "$wxUSE_TOOLBAR" = yes; then
7282 echo "$ac_t""yes" 1>&6
7284 echo "$ac_t""no" 1>&6
7289 echo $ac_n "checking for --${enablestring:-enable}-tbarnative""... $ac_c" 1>&6
7290 echo "configure:7291: checking for --${enablestring:-enable}-tbarnative" >&5
7292 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7293 if test "${enable_tbarnative+set}" = set; then
7294 enableval
="$enable_tbarnative"
7296 if test "$enableval" = yes; then
7297 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7299 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7304 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7305 if test "x$LINE" != x
; then
7306 eval "DEFAULT_$LINE"
7311 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7316 eval "$ac_cv_use_tbarnative"
7317 if test "$no_cache" != 1; then
7318 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7321 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7322 echo "$ac_t""yes" 1>&6
7324 echo "$ac_t""no" 1>&6
7329 echo $ac_n "checking for --${enablestring:-enable}-tbarsmpl""... $ac_c" 1>&6
7330 echo "configure:7331: checking for --${enablestring:-enable}-tbarsmpl" >&5
7332 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7333 if test "${enable_tbarsmpl+set}" = set; then
7334 enableval
="$enable_tbarsmpl"
7336 if test "$enableval" = yes; then
7337 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7339 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7344 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7345 if test "x$LINE" != x
; then
7346 eval "DEFAULT_$LINE"
7351 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7356 eval "$ac_cv_use_tbarsmpl"
7357 if test "$no_cache" != 1; then
7358 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7361 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7362 echo "$ac_t""yes" 1>&6
7364 echo "$ac_t""no" 1>&6
7369 echo $ac_n "checking for --${enablestring:-enable}-treectrl""... $ac_c" 1>&6
7370 echo "configure:7371: checking for --${enablestring:-enable}-treectrl" >&5
7372 # Check whether --enable-treectrl or --disable-treectrl was given.
7373 if test "${enable_treectrl+set}" = set; then
7374 enableval
="$enable_treectrl"
7376 if test "$enableval" = yes; then
7377 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7379 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7384 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7385 if test "x$LINE" != x
; then
7386 eval "DEFAULT_$LINE"
7391 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7396 eval "$ac_cv_use_treectrl"
7397 if test "$no_cache" != 1; then
7398 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7401 if test "$wxUSE_TREECTRL" = yes; then
7402 echo "$ac_t""yes" 1>&6
7404 echo "$ac_t""no" 1>&6
7409 echo $ac_n "checking for --${enablestring:-enable}-tipwindow""... $ac_c" 1>&6
7410 echo "configure:7411: checking for --${enablestring:-enable}-tipwindow" >&5
7412 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7413 if test "${enable_tipwindow+set}" = set; then
7414 enableval
="$enable_tipwindow"
7416 if test "$enableval" = yes; then
7417 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7419 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7424 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7425 if test "x$LINE" != x
; then
7426 eval "DEFAULT_$LINE"
7431 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7436 eval "$ac_cv_use_tipwindow"
7437 if test "$no_cache" != 1; then
7438 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7441 if test "$wxUSE_TIPWINDOW" = yes; then
7442 echo "$ac_t""yes" 1>&6
7444 echo "$ac_t""no" 1>&6
7449 echo $ac_n "checking for --${enablestring:-enable}-popupwin""... $ac_c" 1>&6
7450 echo "configure:7451: checking for --${enablestring:-enable}-popupwin" >&5
7452 # Check whether --enable-popupwin or --disable-popupwin was given.
7453 if test "${enable_popupwin+set}" = set; then
7454 enableval
="$enable_popupwin"
7456 if test "$enableval" = yes; then
7457 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7459 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7464 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7465 if test "x$LINE" != x
; then
7466 eval "DEFAULT_$LINE"
7471 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7476 eval "$ac_cv_use_popupwin"
7477 if test "$no_cache" != 1; then
7478 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7481 if test "$wxUSE_POPUPWIN" = yes; then
7482 echo "$ac_t""yes" 1>&6
7484 echo "$ac_t""no" 1>&6
7491 echo $ac_n "checking for --${enablestring:-enable}-commondlg""... $ac_c" 1>&6
7492 echo "configure:7493: checking for --${enablestring:-enable}-commondlg" >&5
7494 # Check whether --enable-commondlg or --disable-commondlg was given.
7495 if test "${enable_commondlg+set}" = set; then
7496 enableval
="$enable_commondlg"
7498 if test "$enableval" = yes; then
7499 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7501 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7506 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7507 if test "x$LINE" != x
; then
7508 eval "DEFAULT_$LINE"
7513 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7518 eval "$ac_cv_use_commondlg"
7519 if test "$no_cache" != 1; then
7520 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7523 if test "$wxUSE_COMMONDLGS" = yes; then
7524 echo "$ac_t""yes" 1>&6
7526 echo "$ac_t""no" 1>&6
7531 echo $ac_n "checking for --${enablestring:-enable}-choicedlg""... $ac_c" 1>&6
7532 echo "configure:7533: checking for --${enablestring:-enable}-choicedlg" >&5
7534 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7535 if test "${enable_choicedlg+set}" = set; then
7536 enableval
="$enable_choicedlg"
7538 if test "$enableval" = yes; then
7539 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7541 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7546 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7547 if test "x$LINE" != x
; then
7548 eval "DEFAULT_$LINE"
7553 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7558 eval "$ac_cv_use_choicedlg"
7559 if test "$no_cache" != 1; then
7560 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7563 if test "$wxUSE_CHOICEDLG" = yes; then
7564 echo "$ac_t""yes" 1>&6
7566 echo "$ac_t""no" 1>&6
7571 echo $ac_n "checking for --${enablestring:-enable}-coldlg""... $ac_c" 1>&6
7572 echo "configure:7573: checking for --${enablestring:-enable}-coldlg" >&5
7574 # Check whether --enable-coldlg or --disable-coldlg was given.
7575 if test "${enable_coldlg+set}" = set; then
7576 enableval
="$enable_coldlg"
7578 if test "$enableval" = yes; then
7579 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7581 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7586 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7587 if test "x$LINE" != x
; then
7588 eval "DEFAULT_$LINE"
7593 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7598 eval "$ac_cv_use_coldlg"
7599 if test "$no_cache" != 1; then
7600 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7603 if test "$wxUSE_COLOURDLG" = yes; then
7604 echo "$ac_t""yes" 1>&6
7606 echo "$ac_t""no" 1>&6
7611 echo $ac_n "checking for --${enablestring:-enable}-filedlg""... $ac_c" 1>&6
7612 echo "configure:7613: checking for --${enablestring:-enable}-filedlg" >&5
7614 # Check whether --enable-filedlg or --disable-filedlg was given.
7615 if test "${enable_filedlg+set}" = set; then
7616 enableval
="$enable_filedlg"
7618 if test "$enableval" = yes; then
7619 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7621 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7626 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7627 if test "x$LINE" != x
; then
7628 eval "DEFAULT_$LINE"
7633 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7638 eval "$ac_cv_use_filedlg"
7639 if test "$no_cache" != 1; then
7640 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7643 if test "$wxUSE_FILEDLG" = yes; then
7644 echo "$ac_t""yes" 1>&6
7646 echo "$ac_t""no" 1>&6
7651 echo $ac_n "checking for --${enablestring:-enable}-finddlg""... $ac_c" 1>&6
7652 echo "configure:7653: checking for --${enablestring:-enable}-finddlg" >&5
7654 # Check whether --enable-finddlg or --disable-finddlg was given.
7655 if test "${enable_finddlg+set}" = set; then
7656 enableval
="$enable_finddlg"
7658 if test "$enableval" = yes; then
7659 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7661 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7666 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7667 if test "x$LINE" != x
; then
7668 eval "DEFAULT_$LINE"
7673 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7678 eval "$ac_cv_use_finddlg"
7679 if test "$no_cache" != 1; then
7680 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7683 if test "$wxUSE_FINDREPLDLG" = yes; then
7684 echo "$ac_t""yes" 1>&6
7686 echo "$ac_t""no" 1>&6
7691 echo $ac_n "checking for --${enablestring:-enable}-fontdlg""... $ac_c" 1>&6
7692 echo "configure:7693: checking for --${enablestring:-enable}-fontdlg" >&5
7694 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7695 if test "${enable_fontdlg+set}" = set; then
7696 enableval
="$enable_fontdlg"
7698 if test "$enableval" = yes; then
7699 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7701 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7706 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7707 if test "x$LINE" != x
; then
7708 eval "DEFAULT_$LINE"
7713 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7718 eval "$ac_cv_use_fontdlg"
7719 if test "$no_cache" != 1; then
7720 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7723 if test "$wxUSE_FONTDLG" = yes; then
7724 echo "$ac_t""yes" 1>&6
7726 echo "$ac_t""no" 1>&6
7731 echo $ac_n "checking for --${enablestring:-enable}-dirdlg""... $ac_c" 1>&6
7732 echo "configure:7733: checking for --${enablestring:-enable}-dirdlg" >&5
7734 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7735 if test "${enable_dirdlg+set}" = set; then
7736 enableval
="$enable_dirdlg"
7738 if test "$enableval" = yes; then
7739 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7741 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7746 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7747 if test "x$LINE" != x
; then
7748 eval "DEFAULT_$LINE"
7753 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7758 eval "$ac_cv_use_dirdlg"
7759 if test "$no_cache" != 1; then
7760 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7763 if test "$wxUSE_DIRDLG" = yes; then
7764 echo "$ac_t""yes" 1>&6
7766 echo "$ac_t""no" 1>&6
7771 echo $ac_n "checking for --${enablestring:-enable}-msgdlg""... $ac_c" 1>&6
7772 echo "configure:7773: checking for --${enablestring:-enable}-msgdlg" >&5
7774 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7775 if test "${enable_msgdlg+set}" = set; then
7776 enableval
="$enable_msgdlg"
7778 if test "$enableval" = yes; then
7779 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7781 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7786 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7787 if test "x$LINE" != x
; then
7788 eval "DEFAULT_$LINE"
7793 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7798 eval "$ac_cv_use_msgdlg"
7799 if test "$no_cache" != 1; then
7800 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7803 if test "$wxUSE_MSGDLG" = yes; then
7804 echo "$ac_t""yes" 1>&6
7806 echo "$ac_t""no" 1>&6
7811 echo $ac_n "checking for --${enablestring:-enable}-numberdlg""... $ac_c" 1>&6
7812 echo "configure:7813: checking for --${enablestring:-enable}-numberdlg" >&5
7814 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7815 if test "${enable_numberdlg+set}" = set; then
7816 enableval
="$enable_numberdlg"
7818 if test "$enableval" = yes; then
7819 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7821 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7826 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7827 if test "x$LINE" != x
; then
7828 eval "DEFAULT_$LINE"
7833 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7838 eval "$ac_cv_use_numberdlg"
7839 if test "$no_cache" != 1; then
7840 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7843 if test "$wxUSE_NUMBERDLG" = yes; then
7844 echo "$ac_t""yes" 1>&6
7846 echo "$ac_t""no" 1>&6
7851 echo $ac_n "checking for --${enablestring:-enable}-splash""... $ac_c" 1>&6
7852 echo "configure:7853: checking for --${enablestring:-enable}-splash" >&5
7854 # Check whether --enable-splash or --disable-splash was given.
7855 if test "${enable_splash+set}" = set; then
7856 enableval
="$enable_splash"
7858 if test "$enableval" = yes; then
7859 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7861 ac_cv_use_splash
='wxUSE_SPLASH=no'
7866 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7867 if test "x$LINE" != x
; then
7868 eval "DEFAULT_$LINE"
7873 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7878 eval "$ac_cv_use_splash"
7879 if test "$no_cache" != 1; then
7880 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7883 if test "$wxUSE_SPLASH" = yes; then
7884 echo "$ac_t""yes" 1>&6
7886 echo "$ac_t""no" 1>&6
7891 echo $ac_n "checking for --${enablestring:-enable}-textdlg""... $ac_c" 1>&6
7892 echo "configure:7893: checking for --${enablestring:-enable}-textdlg" >&5
7894 # Check whether --enable-textdlg or --disable-textdlg was given.
7895 if test "${enable_textdlg+set}" = set; then
7896 enableval
="$enable_textdlg"
7898 if test "$enableval" = yes; then
7899 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7901 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7906 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7907 if test "x$LINE" != x
; then
7908 eval "DEFAULT_$LINE"
7913 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7918 eval "$ac_cv_use_textdlg"
7919 if test "$no_cache" != 1; then
7920 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7923 if test "$wxUSE_TEXTDLG" = yes; then
7924 echo "$ac_t""yes" 1>&6
7926 echo "$ac_t""no" 1>&6
7931 echo $ac_n "checking for --${enablestring:-enable}-tipdlg""... $ac_c" 1>&6
7932 echo "configure:7933: checking for --${enablestring:-enable}-tipdlg" >&5
7934 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7935 if test "${enable_tipdlg+set}" = set; then
7936 enableval
="$enable_tipdlg"
7938 if test "$enableval" = yes; then
7939 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7941 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7946 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7947 if test "x$LINE" != x
; then
7948 eval "DEFAULT_$LINE"
7953 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7958 eval "$ac_cv_use_tipdlg"
7959 if test "$no_cache" != 1; then
7960 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7963 if test "$wxUSE_STARTUP_TIPS" = yes; then
7964 echo "$ac_t""yes" 1>&6
7966 echo "$ac_t""no" 1>&6
7971 echo $ac_n "checking for --${enablestring:-enable}-progressdlg""... $ac_c" 1>&6
7972 echo "configure:7973: checking for --${enablestring:-enable}-progressdlg" >&5
7974 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7975 if test "${enable_progressdlg+set}" = set; then
7976 enableval
="$enable_progressdlg"
7978 if test "$enableval" = yes; then
7979 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7981 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7986 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7987 if test "x$LINE" != x
; then
7988 eval "DEFAULT_$LINE"
7993 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7998 eval "$ac_cv_use_progressdlg"
7999 if test "$no_cache" != 1; then
8000 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8003 if test "$wxUSE_PROGRESSDLG" = yes; then
8004 echo "$ac_t""yes" 1>&6
8006 echo "$ac_t""no" 1>&6
8011 echo $ac_n "checking for --${enablestring:-enable}-wizarddlg""... $ac_c" 1>&6
8012 echo "configure:8013: checking for --${enablestring:-enable}-wizarddlg" >&5
8014 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8015 if test "${enable_wizarddlg+set}" = set; then
8016 enableval
="$enable_wizarddlg"
8018 if test "$enableval" = yes; then
8019 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
8021 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
8026 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8027 if test "x$LINE" != x
; then
8028 eval "DEFAULT_$LINE"
8033 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8038 eval "$ac_cv_use_wizarddlg"
8039 if test "$no_cache" != 1; then
8040 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8043 if test "$wxUSE_WIZARDDLG" = yes; then
8044 echo "$ac_t""yes" 1>&6
8046 echo "$ac_t""no" 1>&6
8053 echo $ac_n "checking for --${enablestring:-enable}-menus""... $ac_c" 1>&6
8054 echo "configure:8055: checking for --${enablestring:-enable}-menus" >&5
8056 # Check whether --enable-menus or --disable-menus was given.
8057 if test "${enable_menus+set}" = set; then
8058 enableval
="$enable_menus"
8060 if test "$enableval" = yes; then
8061 ac_cv_use_menus
='wxUSE_MENUS=yes'
8063 ac_cv_use_menus
='wxUSE_MENUS=no'
8068 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8069 if test "x$LINE" != x
; then
8070 eval "DEFAULT_$LINE"
8075 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8080 eval "$ac_cv_use_menus"
8081 if test "$no_cache" != 1; then
8082 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8085 if test "$wxUSE_MENUS" = yes; then
8086 echo "$ac_t""yes" 1>&6
8088 echo "$ac_t""no" 1>&6
8093 echo $ac_n "checking for --${enablestring:-enable}-miniframe""... $ac_c" 1>&6
8094 echo "configure:8095: checking for --${enablestring:-enable}-miniframe" >&5
8096 # Check whether --enable-miniframe or --disable-miniframe was given.
8097 if test "${enable_miniframe+set}" = set; then
8098 enableval
="$enable_miniframe"
8100 if test "$enableval" = yes; then
8101 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
8103 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
8108 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8109 if test "x$LINE" != x
; then
8110 eval "DEFAULT_$LINE"
8115 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8120 eval "$ac_cv_use_miniframe"
8121 if test "$no_cache" != 1; then
8122 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8125 if test "$wxUSE_MINIFRAME" = yes; then
8126 echo "$ac_t""yes" 1>&6
8128 echo "$ac_t""no" 1>&6
8133 echo $ac_n "checking for --${enablestring:-enable}-tooltips""... $ac_c" 1>&6
8134 echo "configure:8135: checking for --${enablestring:-enable}-tooltips" >&5
8136 # Check whether --enable-tooltips or --disable-tooltips was given.
8137 if test "${enable_tooltips+set}" = set; then
8138 enableval
="$enable_tooltips"
8140 if test "$enableval" = yes; then
8141 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
8143 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
8148 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8149 if test "x$LINE" != x
; then
8150 eval "DEFAULT_$LINE"
8155 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8160 eval "$ac_cv_use_tooltips"
8161 if test "$no_cache" != 1; then
8162 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8165 if test "$wxUSE_TOOLTIPS" = yes; then
8166 echo "$ac_t""yes" 1>&6
8168 echo "$ac_t""no" 1>&6
8173 echo $ac_n "checking for --${enablestring:-enable}-splines""... $ac_c" 1>&6
8174 echo "configure:8175: checking for --${enablestring:-enable}-splines" >&5
8176 # Check whether --enable-splines or --disable-splines was given.
8177 if test "${enable_splines+set}" = set; then
8178 enableval
="$enable_splines"
8180 if test "$enableval" = yes; then
8181 ac_cv_use_splines
='wxUSE_SPLINES=yes'
8183 ac_cv_use_splines
='wxUSE_SPLINES=no'
8188 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8189 if test "x$LINE" != x
; then
8190 eval "DEFAULT_$LINE"
8195 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8200 eval "$ac_cv_use_splines"
8201 if test "$no_cache" != 1; then
8202 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8205 if test "$wxUSE_SPLINES" = yes; then
8206 echo "$ac_t""yes" 1>&6
8208 echo "$ac_t""no" 1>&6
8213 echo $ac_n "checking for --${enablestring:-enable}-validators""... $ac_c" 1>&6
8214 echo "configure:8215: checking for --${enablestring:-enable}-validators" >&5
8216 # Check whether --enable-validators or --disable-validators was given.
8217 if test "${enable_validators+set}" = set; then
8218 enableval
="$enable_validators"
8220 if test "$enableval" = yes; then
8221 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
8223 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
8228 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8229 if test "x$LINE" != x
; then
8230 eval "DEFAULT_$LINE"
8235 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8240 eval "$ac_cv_use_validators"
8241 if test "$no_cache" != 1; then
8242 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8245 if test "$wxUSE_VALIDATORS" = yes; then
8246 echo "$ac_t""yes" 1>&6
8248 echo "$ac_t""no" 1>&6
8253 echo $ac_n "checking for --${enablestring:-enable}-busyinfo""... $ac_c" 1>&6
8254 echo "configure:8255: checking for --${enablestring:-enable}-busyinfo" >&5
8256 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8257 if test "${enable_busyinfo+set}" = set; then
8258 enableval
="$enable_busyinfo"
8260 if test "$enableval" = yes; then
8261 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8263 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8268 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8269 if test "x$LINE" != x
; then
8270 eval "DEFAULT_$LINE"
8275 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8280 eval "$ac_cv_use_busyinfo"
8281 if test "$no_cache" != 1; then
8282 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8285 if test "$wxUSE_BUSYINFO" = yes; then
8286 echo "$ac_t""yes" 1>&6
8288 echo "$ac_t""no" 1>&6
8293 echo $ac_n "checking for --${enablestring:-enable}-joystick""... $ac_c" 1>&6
8294 echo "configure:8295: checking for --${enablestring:-enable}-joystick" >&5
8296 # Check whether --enable-joystick or --disable-joystick was given.
8297 if test "${enable_joystick+set}" = set; then
8298 enableval
="$enable_joystick"
8300 if test "$enableval" = yes; then
8301 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8303 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8308 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8309 if test "x$LINE" != x
; then
8310 eval "DEFAULT_$LINE"
8315 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8320 eval "$ac_cv_use_joystick"
8321 if test "$no_cache" != 1; then
8322 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8325 if test "$wxUSE_JOYSTICK" = yes; then
8326 echo "$ac_t""yes" 1>&6
8328 echo "$ac_t""no" 1>&6
8333 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
8334 echo "configure:8335: checking for --${enablestring:-enable}-metafile" >&5
8336 # Check whether --enable-metafile or --disable-metafile was given.
8337 if test "${enable_metafile+set}" = set; then
8338 enableval
="$enable_metafile"
8340 if test "$enableval" = yes; then
8341 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8343 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8348 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8349 if test "x$LINE" != x
; then
8350 eval "DEFAULT_$LINE"
8355 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8360 eval "$ac_cv_use_metafile"
8361 if test "$no_cache" != 1; then
8362 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8365 if test "$wxUSE_METAFILE" = yes; then
8366 echo "$ac_t""yes" 1>&6
8368 echo "$ac_t""no" 1>&6
8373 echo $ac_n "checking for --${enablestring:-enable}-dragimage""... $ac_c" 1>&6
8374 echo "configure:8375: checking for --${enablestring:-enable}-dragimage" >&5
8376 # Check whether --enable-dragimage or --disable-dragimage was given.
8377 if test "${enable_dragimage+set}" = set; then
8378 enableval
="$enable_dragimage"
8380 if test "$enableval" = yes; then
8381 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8383 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8388 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8389 if test "x$LINE" != x
; then
8390 eval "DEFAULT_$LINE"
8395 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8400 eval "$ac_cv_use_dragimage"
8401 if test "$no_cache" != 1; then
8402 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8405 if test "$wxUSE_DRAGIMAGE" = yes; then
8406 echo "$ac_t""yes" 1>&6
8408 echo "$ac_t""no" 1>&6
8415 echo $ac_n "checking for --${enablestring:-enable}-palette""... $ac_c" 1>&6
8416 echo "configure:8417: checking for --${enablestring:-enable}-palette" >&5
8418 # Check whether --enable-palette or --disable-palette was given.
8419 if test "${enable_palette+set}" = set; then
8420 enableval
="$enable_palette"
8422 if test "$enableval" = yes; then
8423 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8425 ac_cv_use_palette
='wxUSE_PALETTE=no'
8430 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8431 if test "x$LINE" != x
; then
8432 eval "DEFAULT_$LINE"
8437 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8442 eval "$ac_cv_use_palette"
8443 if test "$no_cache" != 1; then
8444 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8447 if test "$wxUSE_PALETTE" = yes; then
8448 echo "$ac_t""yes" 1>&6
8450 echo "$ac_t""no" 1>&6
8455 echo $ac_n "checking for --${enablestring:-enable}-image""... $ac_c" 1>&6
8456 echo "configure:8457: checking for --${enablestring:-enable}-image" >&5
8458 # Check whether --enable-image or --disable-image was given.
8459 if test "${enable_image+set}" = set; then
8460 enableval
="$enable_image"
8462 if test "$enableval" = yes; then
8463 ac_cv_use_image
='wxUSE_IMAGE=yes'
8465 ac_cv_use_image
='wxUSE_IMAGE=no'
8470 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8471 if test "x$LINE" != x
; then
8472 eval "DEFAULT_$LINE"
8477 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8482 eval "$ac_cv_use_image"
8483 if test "$no_cache" != 1; then
8484 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8487 if test "$wxUSE_IMAGE" = yes; then
8488 echo "$ac_t""yes" 1>&6
8490 echo "$ac_t""no" 1>&6
8495 echo $ac_n "checking for --${enablestring:-enable}-gif""... $ac_c" 1>&6
8496 echo "configure:8497: checking for --${enablestring:-enable}-gif" >&5
8498 # Check whether --enable-gif or --disable-gif was given.
8499 if test "${enable_gif+set}" = set; then
8500 enableval
="$enable_gif"
8502 if test "$enableval" = yes; then
8503 ac_cv_use_gif
='wxUSE_GIF=yes'
8505 ac_cv_use_gif
='wxUSE_GIF=no'
8510 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8511 if test "x$LINE" != x
; then
8512 eval "DEFAULT_$LINE"
8517 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8522 eval "$ac_cv_use_gif"
8523 if test "$no_cache" != 1; then
8524 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8527 if test "$wxUSE_GIF" = yes; then
8528 echo "$ac_t""yes" 1>&6
8530 echo "$ac_t""no" 1>&6
8535 echo $ac_n "checking for --${enablestring:-enable}-pcx""... $ac_c" 1>&6
8536 echo "configure:8537: checking for --${enablestring:-enable}-pcx" >&5
8538 # Check whether --enable-pcx or --disable-pcx was given.
8539 if test "${enable_pcx+set}" = set; then
8540 enableval
="$enable_pcx"
8542 if test "$enableval" = yes; then
8543 ac_cv_use_pcx
='wxUSE_PCX=yes'
8545 ac_cv_use_pcx
='wxUSE_PCX=no'
8550 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8551 if test "x$LINE" != x
; then
8552 eval "DEFAULT_$LINE"
8557 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8562 eval "$ac_cv_use_pcx"
8563 if test "$no_cache" != 1; then
8564 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8567 if test "$wxUSE_PCX" = yes; then
8568 echo "$ac_t""yes" 1>&6
8570 echo "$ac_t""no" 1>&6
8575 echo $ac_n "checking for --${enablestring:-enable}-iff""... $ac_c" 1>&6
8576 echo "configure:8577: checking for --${enablestring:-enable}-iff" >&5
8578 # Check whether --enable-iff or --disable-iff was given.
8579 if test "${enable_iff+set}" = set; then
8580 enableval
="$enable_iff"
8582 if test "$enableval" = yes; then
8583 ac_cv_use_iff
='wxUSE_IFF=yes'
8585 ac_cv_use_iff
='wxUSE_IFF=no'
8590 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8591 if test "x$LINE" != x
; then
8592 eval "DEFAULT_$LINE"
8597 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8602 eval "$ac_cv_use_iff"
8603 if test "$no_cache" != 1; then
8604 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8607 if test "$wxUSE_IFF" = yes; then
8608 echo "$ac_t""yes" 1>&6
8610 echo "$ac_t""no" 1>&6
8615 echo $ac_n "checking for --${enablestring:-enable}-pnm""... $ac_c" 1>&6
8616 echo "configure:8617: checking for --${enablestring:-enable}-pnm" >&5
8618 # Check whether --enable-pnm or --disable-pnm was given.
8619 if test "${enable_pnm+set}" = set; then
8620 enableval
="$enable_pnm"
8622 if test "$enableval" = yes; then
8623 ac_cv_use_pnm
='wxUSE_PNM=yes'
8625 ac_cv_use_pnm
='wxUSE_PNM=no'
8630 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8631 if test "x$LINE" != x
; then
8632 eval "DEFAULT_$LINE"
8637 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8642 eval "$ac_cv_use_pnm"
8643 if test "$no_cache" != 1; then
8644 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8647 if test "$wxUSE_PNM" = yes; then
8648 echo "$ac_t""yes" 1>&6
8650 echo "$ac_t""no" 1>&6
8655 echo $ac_n "checking for --${enablestring:-enable}-xpm""... $ac_c" 1>&6
8656 echo "configure:8657: checking for --${enablestring:-enable}-xpm" >&5
8658 # Check whether --enable-xpm or --disable-xpm was given.
8659 if test "${enable_xpm+set}" = set; then
8660 enableval
="$enable_xpm"
8662 if test "$enableval" = yes; then
8663 ac_cv_use_xpm
='wxUSE_XPM=yes'
8665 ac_cv_use_xpm
='wxUSE_XPM=no'
8670 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8671 if test "x$LINE" != x
; then
8672 eval "DEFAULT_$LINE"
8677 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8682 eval "$ac_cv_use_xpm"
8683 if test "$no_cache" != 1; then
8684 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8687 if test "$wxUSE_XPM" = yes; then
8688 echo "$ac_t""yes" 1>&6
8690 echo "$ac_t""no" 1>&6
8695 echo $ac_n "checking for --${enablestring:-enable}-ico_cur""... $ac_c" 1>&6
8696 echo "configure:8697: checking for --${enablestring:-enable}-ico_cur" >&5
8698 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8699 if test "${enable_ico_cur+set}" = set; then
8700 enableval
="$enable_ico_cur"
8702 if test "$enableval" = yes; then
8703 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8705 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8710 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8711 if test "x$LINE" != x
; then
8712 eval "DEFAULT_$LINE"
8717 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8722 eval "$ac_cv_use_ico_cur"
8723 if test "$no_cache" != 1; then
8724 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8727 if test "$wxUSE_ICO_CUR" = yes; then
8728 echo "$ac_t""yes" 1>&6
8730 echo "$ac_t""no" 1>&6
8737 *-pc-os2_emx | *-pc-os2-emx )
8749 echo "saving argument cache $wx_arg_cache_file"
8750 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8754 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8755 echo "configure:8756: checking for toolkit" >&5
8757 # In Wine, we need to default to MSW, not GTK or MOTIF
8758 if test "$wxUSE_WINE" = "yes"; then
8759 DEFAULT_DEFAULT_wxUSE_GTK
=0
8760 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
8761 DEFAULT_DEFAULT_wxUSE_MSW
=1
8764 if test "$wxUSE_GUI" = "yes"; then
8766 if test "$USE_BEOS" = 1; then
8767 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8770 if test "$TOOLKIT_GIVEN" = 1; then
8771 for toolkit
in `echo $ALL_TOOLKITS`; do
8773 eval "value=\$${var}"
8774 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8777 for toolkit
in `echo $ALL_TOOLKITS`; do
8778 if test "$has_toolkit_in_cache" != 1; then
8779 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8781 var
=DEFAULT_wxUSE_
$toolkit
8783 eval "wxUSE_$toolkit=\$${var}"
8787 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8788 + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8791 *-pc-os2_emx | *-pc-os2-emx )
8792 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8795 case "$NUM_TOOLKITS" in
8799 { echo "configure: error: Please specify a toolkit -- cannot determine the default for ${host}" 1>&2; exit 1; }
8802 { echo "configure: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" 1>&2; exit 1; }
8805 for toolkit
in `echo $ALL_TOOLKITS`; do
8807 eval "value=\$${var}"
8808 if test "x$value" != x
; then
8809 cache_var
=CACHE_
$toolkit
8810 eval "cache=\$${cache_var}"
8811 if test "$cache" = 1; then
8812 echo "$var=$value" >> ${wx_arg_cache_file}
8814 if test "$value" = 1; then
8815 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8816 echo "$ac_t""$toolkit_echo" 1>&6
8821 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8828 if test "$wxUSE_MSW" = 1 ; then
8839 if test "$wxUSE_WINE" = "yes"; then
8846 if test "$wants_win32" = 1 ; then
8849 cat >> confdefs.h
<<\EOF
8853 cat >> confdefs.h
<<\EOF
8857 cat >> confdefs.h
<<\EOF
8858 #define __WINDOWS__ 1
8861 cat >> confdefs.h
<<\EOF
8862 #define __GNUWIN32__ 1
8865 cat >> confdefs.h
<<\EOF
8869 cat >> confdefs.h
<<\EOF
8870 #define WINVER 0x0400
8874 if test "$doesnt_want_win32" = 1 ; then
8879 if test "$USE_UNIX" = 1 ; then
8881 cat >> confdefs.h
<<\EOF
8888 cat > confcache
<<\EOF
8889 # This file is a shell script that caches the results of configure
8890 # tests run on this system so they can be shared between configure
8891 # scripts and configure runs. It is not useful on other systems.
8892 # If it contains results you don't want to keep, you may remove or edit it.
8894 # By default, configure uses ./config.cache as the cache file,
8895 # creating it if it does not exist already. You can give configure
8896 # the --cache-file=FILE option to use a different cache file; that is
8897 # what configure does when it calls configure scripts in
8898 # subdirectories, so they share the cache.
8899 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8900 # config.status only pays attention to the cache file if you give it the
8901 # --recheck option to rerun configure.
8904 # The following way of writing the cache mishandles newlines in values,
8905 # but we know of no workaround that is simple, portable, and efficient.
8906 # So, don't put newlines in cache variables' values.
8907 # Ultrix sh set writes to stderr and can't be redirected directly,
8908 # and sets the high bit in the cache file unless we assign to the vars.
8910 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8912 # `set' does not quote correctly, so add quotes (double-quote substitution
8913 # turns \\\\ into \\, and sed turns \\ into \).
8915 -e "s/'/'\\\\''/g" \
8916 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8919 # `set' quotes correctly as required by POSIX, so do not add quotes.
8920 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8923 if cmp -s $cache_file confcache
; then
8926 if test -w $cache_file; then
8927 echo "updating cache $cache_file"
8928 cat confcache
> $cache_file
8930 echo "not updating unwritable cache $cache_file"
8936 if test "$build" != "$host" ; then
8937 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8941 RANLIB
=$host_alias-ranlib
8942 DLLTOOL
=$host_alias-dlltool
8943 RESCOMP
=$host_alias-windres
8946 STRIP
=$host_alias-strip
8948 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8953 # Extract the first word of "gcc", so it can be a program name with args.
8954 set dummy gcc
; ac_word
=$2
8955 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8956 echo "configure:8957: checking for $ac_word" >&5
8957 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8958 echo $ac_n "(cached) $ac_c" 1>&6
8960 if test -n "$CC"; then
8961 ac_cv_prog_CC
="$CC" # Let the user override the test.
8963 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8965 for ac_dir
in $ac_dummy; do
8966 test -z "$ac_dir" && ac_dir
=.
8967 if test -f $ac_dir/$ac_word; then
8976 if test -n "$CC"; then
8977 echo "$ac_t""$CC" 1>&6
8979 echo "$ac_t""no" 1>&6
8982 if test -z "$CC"; then
8983 # Extract the first word of "cc", so it can be a program name with args.
8984 set dummy cc
; ac_word
=$2
8985 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8986 echo "configure:8987: checking for $ac_word" >&5
8987 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8988 echo $ac_n "(cached) $ac_c" 1>&6
8990 if test -n "$CC"; then
8991 ac_cv_prog_CC
="$CC" # Let the user override the test.
8993 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8996 for ac_dir
in $ac_dummy; do
8997 test -z "$ac_dir" && ac_dir
=.
8998 if test -f $ac_dir/$ac_word; then
8999 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
9000 ac_prog_rejected
=yes
9008 if test $ac_prog_rejected = yes; then
9009 # We found a bogon in the path, so make sure we never use it.
9010 set dummy
$ac_cv_prog_CC
9012 if test $# -gt 0; then
9013 # We chose a different compiler from the bogus one.
9014 # However, it has the same basename, so the bogon will be chosen
9015 # first if we set CC to just the basename; use the full file name.
9017 set dummy
"$ac_dir/$ac_word" "$@"
9025 if test -n "$CC"; then
9026 echo "$ac_t""$CC" 1>&6
9028 echo "$ac_t""no" 1>&6
9031 if test -z "$CC"; then
9032 case "`uname -s`" in
9034 # Extract the first word of "cl", so it can be a program name with args.
9035 set dummy cl
; ac_word
=$2
9036 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9037 echo "configure:9038: checking for $ac_word" >&5
9038 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
9039 echo $ac_n "(cached) $ac_c" 1>&6
9041 if test -n "$CC"; then
9042 ac_cv_prog_CC
="$CC" # Let the user override the test.
9044 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9046 for ac_dir
in $ac_dummy; do
9047 test -z "$ac_dir" && ac_dir
=.
9048 if test -f $ac_dir/$ac_word; then
9057 if test -n "$CC"; then
9058 echo "$ac_t""$CC" 1>&6
9060 echo "$ac_t""no" 1>&6
9065 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
9068 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9069 echo "configure:9070: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
9072 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9073 ac_cpp
='$CPP $CPPFLAGS'
9074 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9075 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9076 cross_compiling
=$ac_cv_prog_cc_cross
9078 cat > conftest.
$ac_ext << EOF
9080 #line 9081 "configure"
9081 #include "confdefs.h"
9085 if { (eval echo configure
:9086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9086 ac_cv_prog_cc_works
=yes
9087 # If we can't run a trivial program, we are probably using a cross compiler.
9088 if (.
/conftest
; exit) 2>/dev
/null
; then
9089 ac_cv_prog_cc_cross
=no
9091 ac_cv_prog_cc_cross
=yes
9094 echo "configure: failed program was:" >&5
9095 cat conftest.
$ac_ext >&5
9096 ac_cv_prog_cc_works
=no
9100 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9101 ac_cpp
='$CPP $CPPFLAGS'
9102 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9103 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9104 cross_compiling
=$ac_cv_prog_cc_cross
9106 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
9107 if test $ac_cv_prog_cc_works = no
; then
9108 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
9110 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9111 echo "configure:9112: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
9112 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
9113 cross_compiling
=$ac_cv_prog_cc_cross
9115 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
9116 echo "configure:9117: checking whether we are using GNU C" >&5
9117 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
9118 echo $ac_n "(cached) $ac_c" 1>&6
9120 cat > conftest.c
<<EOF
9125 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:9126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9132 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
9134 if test $ac_cv_prog_gcc = yes; then
9140 ac_test_CFLAGS
="${CFLAGS+set}"
9141 ac_save_CFLAGS
="$CFLAGS"
9143 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
9144 echo "configure:9145: checking whether ${CC-cc} accepts -g" >&5
9145 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
9146 echo $ac_n "(cached) $ac_c" 1>&6
9148 echo 'void f(){}' > conftest.c
9149 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
9158 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
9159 if test "$ac_test_CFLAGS" = set; then
9160 CFLAGS
="$ac_save_CFLAGS"
9161 elif test $ac_cv_prog_cc_g = yes; then
9162 if test "$GCC" = yes; then
9168 if test "$GCC" = yes; then
9176 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
9177 echo "configure:9178: checking how to run the C preprocessor" >&5
9178 # On Suns, sometimes $CPP names a directory.
9179 if test -n "$CPP" && test -d "$CPP"; then
9182 if test -z "$CPP"; then
9183 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
9184 echo $ac_n "(cached) $ac_c" 1>&6
9186 # This must be in double quotes, not single quotes, because CPP may get
9187 # substituted into the Makefile and "${CC-cc}" will confuse make.
9189 # On the NeXT, cc -E runs the code through the compiler's parser,
9190 # not just through cpp.
9191 cat > conftest.
$ac_ext <<EOF
9192 #line 9193 "configure"
9193 #include "confdefs.h"
9197 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9198 { (eval echo configure
:9199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9199 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9200 if test -z "$ac_err"; then
9204 echo "configure: failed program was:" >&5
9205 cat conftest.
$ac_ext >&5
9207 CPP
="${CC-cc} -E -traditional-cpp"
9208 cat > conftest.
$ac_ext <<EOF
9209 #line 9210 "configure"
9210 #include "confdefs.h"
9214 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9215 { (eval echo configure
:9216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9216 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9217 if test -z "$ac_err"; then
9221 echo "configure: failed program was:" >&5
9222 cat conftest.
$ac_ext >&5
9224 CPP
="${CC-cc} -nologo -E"
9225 cat > conftest.
$ac_ext <<EOF
9226 #line 9227 "configure"
9227 #include "confdefs.h"
9231 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9232 { (eval echo configure
:9233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9233 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9234 if test -z "$ac_err"; then
9238 echo "configure: failed program was:" >&5
9239 cat conftest.
$ac_ext >&5
9248 ac_cv_prog_CPP
="$CPP"
9250 CPP
="$ac_cv_prog_CPP"
9252 ac_cv_prog_CPP
="$CPP"
9254 echo "$ac_t""$CPP" 1>&6
9256 if test $ac_cv_prog_gcc = yes; then
9257 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
9258 echo "configure:9259: checking whether ${CC-cc} needs -traditional" >&5
9259 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
9260 echo $ac_n "(cached) $ac_c" 1>&6
9262 ac_pattern
="Autoconf.*'x'"
9263 cat > conftest.
$ac_ext <<EOF
9264 #line 9265 "configure"
9265 #include "confdefs.h"
9269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9270 egrep "$ac_pattern" >/dev
/null
2>&1; then
9272 ac_cv_prog_gcc_traditional
=yes
9275 ac_cv_prog_gcc_traditional
=no
9280 if test $ac_cv_prog_gcc_traditional = no
; then
9281 cat > conftest.
$ac_ext <<EOF
9282 #line 9283 "configure"
9283 #include "confdefs.h"
9287 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9288 egrep "$ac_pattern" >/dev
/null
2>&1; then
9290 ac_cv_prog_gcc_traditional
=yes
9297 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
9298 if test $ac_cv_prog_gcc_traditional = yes; then
9299 CC
="$CC -traditional"
9306 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9307 ac_cpp
='$CXXCPP $CPPFLAGS'
9308 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9309 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9310 cross_compiling
=$ac_cv_prog_cxx_cross
9313 CXXFLAGS
=${CXXFLAGS:=}
9314 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
9316 # Extract the first word of "$ac_prog", so it can be a program name with args.
9317 set dummy
$ac_prog; ac_word
=$2
9318 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9319 echo "configure:9320: checking for $ac_word" >&5
9320 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
9321 echo $ac_n "(cached) $ac_c" 1>&6
9323 if test -n "$CXX"; then
9324 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9326 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9328 for ac_dir
in $ac_dummy; do
9329 test -z "$ac_dir" && ac_dir
=.
9330 if test -f $ac_dir/$ac_word; then
9331 ac_cv_prog_CXX
="$ac_prog"
9338 CXX
="$ac_cv_prog_CXX"
9339 if test -n "$CXX"; then
9340 echo "$ac_t""$CXX" 1>&6
9342 echo "$ac_t""no" 1>&6
9345 test -n "$CXX" && break
9347 test -n "$CXX" || CXX
="gcc"
9350 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9351 echo "configure:9352: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9354 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9355 ac_cpp
='$CXXCPP $CPPFLAGS'
9356 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9357 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9358 cross_compiling
=$ac_cv_prog_cxx_cross
9360 cat > conftest.
$ac_ext << EOF
9362 #line 9363 "configure"
9363 #include "confdefs.h"
9365 int main(){return(0);}
9367 if { (eval echo configure
:9368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9368 ac_cv_prog_cxx_works
=yes
9369 # If we can't run a trivial program, we are probably using a cross compiler.
9370 if (.
/conftest
; exit) 2>/dev
/null
; then
9371 ac_cv_prog_cxx_cross
=no
9373 ac_cv_prog_cxx_cross
=yes
9376 echo "configure: failed program was:" >&5
9377 cat conftest.
$ac_ext >&5
9378 ac_cv_prog_cxx_works
=no
9382 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9383 ac_cpp
='$CXXCPP $CPPFLAGS'
9384 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9385 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9386 cross_compiling
=$ac_cv_prog_cxx_cross
9388 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9389 if test $ac_cv_prog_cxx_works = no
; then
9390 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9392 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9393 echo "configure:9394: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9394 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9395 cross_compiling
=$ac_cv_prog_cxx_cross
9397 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9398 echo "configure:9399: checking whether we are using GNU C++" >&5
9399 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9400 echo $ac_n "(cached) $ac_c" 1>&6
9402 cat > conftest.C
<<EOF
9407 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9414 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9416 if test $ac_cv_prog_gxx = yes; then
9422 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9423 ac_save_CXXFLAGS
="$CXXFLAGS"
9425 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9426 echo "configure:9427: checking whether ${CXX-g++} accepts -g" >&5
9427 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9428 echo $ac_n "(cached) $ac_c" 1>&6
9430 echo 'void f(){}' > conftest.cc
9431 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9432 ac_cv_prog_cxx_g
=yes
9440 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9441 if test "$ac_test_CXXFLAGS" = set; then
9442 CXXFLAGS
="$ac_save_CXXFLAGS"
9443 elif test $ac_cv_prog_cxx_g = yes; then
9444 if test "$GXX" = yes; then
9450 if test "$GXX" = yes; then
9459 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9460 ac_cpp
='$CPP $CPPFLAGS'
9461 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9462 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9463 cross_compiling
=$ac_cv_prog_cc_cross
9466 # Extract the first word of "ranlib", so it can be a program name with args.
9467 set dummy ranlib
; ac_word
=$2
9468 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9469 echo "configure:9470: checking for $ac_word" >&5
9470 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9471 echo $ac_n "(cached) $ac_c" 1>&6
9473 if test -n "$RANLIB"; then
9474 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9476 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9478 for ac_dir
in $ac_dummy; do
9479 test -z "$ac_dir" && ac_dir
=.
9480 if test -f $ac_dir/$ac_word; then
9481 ac_cv_prog_RANLIB
="ranlib"
9486 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9489 RANLIB
="$ac_cv_prog_RANLIB"
9490 if test -n "$RANLIB"; then
9491 echo "$ac_t""$RANLIB" 1>&6
9493 echo "$ac_t""no" 1>&6
9497 # Extract the first word of "ar", so it can be a program name with args.
9498 set dummy
ar; ac_word
=$2
9499 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9500 echo "configure:9501: checking for $ac_word" >&5
9501 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9502 echo $ac_n "(cached) $ac_c" 1>&6
9504 if test -n "$AR"; then
9505 ac_cv_prog_AR
="$AR" # Let the user override the test.
9507 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9509 for ac_dir
in $ac_dummy; do
9510 test -z "$ac_dir" && ac_dir
=.
9511 if test -f $ac_dir/$ac_word; then
9517 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9521 if test -n "$AR"; then
9522 echo "$ac_t""$AR" 1>&6
9524 echo "$ac_t""no" 1>&6
9528 # Find a good install program. We prefer a C program (faster),
9529 # so one script is as good as another. But avoid the broken or
9530 # incompatible versions:
9531 # SysV /etc/install, /usr/sbin/install
9532 # SunOS /usr/etc/install
9533 # IRIX /sbin/install
9535 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9536 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9537 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9538 # ./install, which can be erroneously created by make from ./install.sh.
9539 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9540 echo "configure:9541: checking for a BSD compatible install" >&5
9541 if test -z "$INSTALL"; then
9542 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9543 echo $ac_n "(cached) $ac_c" 1>&6
9545 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9546 for ac_dir
in $PATH; do
9547 # Account for people who put trailing slashes in PATH elements.
9549 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9551 # OSF1 and SCO ODT 3.0 have their own names for install.
9552 # Don't use installbsd from OSF since it installs stuff as root
9554 for ac_prog
in ginstall scoinst
install; do
9555 if test -f $ac_dir/$ac_prog; then
9556 if test $ac_prog = install &&
9557 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9558 # AIX install. It has an incompatible calling convention.
9561 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9572 if test "${ac_cv_path_install+set}" = set; then
9573 INSTALL
="$ac_cv_path_install"
9575 # As a last resort, use the slow shell script. We don't cache a
9576 # path for INSTALL within a source directory, because that will
9577 # break other packages using the cache if that directory is
9578 # removed, or if the path is relative.
9579 INSTALL
="$ac_install_sh"
9582 echo "$ac_t""$INSTALL" 1>&6
9584 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9585 # It thinks the first close brace ends the variable substitution.
9586 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9588 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9590 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9597 INSTALL
=`pwd`/${INSTALL} ;;
9604 INSTALL_PROGRAM
="cp -fp"
9605 INSTALL_DATA
="cp -fp"
9611 # Extract the first word of "strip", so it can be a program name with args.
9612 set dummy strip
; ac_word
=$2
9613 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9614 echo "configure:9615: checking for $ac_word" >&5
9615 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9616 echo $ac_n "(cached) $ac_c" 1>&6
9618 if test -n "$STRIP"; then
9619 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9621 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9623 for ac_dir
in $ac_dummy; do
9624 test -z "$ac_dir" && ac_dir
=.
9625 if test -f $ac_dir/$ac_word; then
9626 ac_cv_prog_STRIP
="strip"
9631 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9634 STRIP
="$ac_cv_prog_STRIP"
9635 if test -n "$STRIP"; then
9636 echo "$ac_t""$STRIP" 1>&6
9638 echo "$ac_t""no" 1>&6
9642 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9643 echo "configure:9644: checking if make is GNU make" >&5
9644 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9645 echo $ac_n "(cached) $ac_c" 1>&6
9648 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9649 egrep -s GNU
> /dev
/null
); then
9650 wx_cv_prog_makeisgnu
="yes"
9652 wx_cv_prog_makeisgnu
="no"
9657 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9659 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9667 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9668 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9669 echo "configure:9670: checking if make supports VPATH" >&5
9670 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9671 echo $ac_n "(cached) $ac_c" 1>&6
9674 cat - << EOF > confMake
9680 if test ! -d sub
; then
9683 echo dummy
> sub
/file
9684 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9686 rm -f sub
/file check final_file confMake
9688 if test "$RESULT" = 0; then
9689 wx_cv_prog_makevpath
="yes"
9691 wx_cv_prog_makevpath
="no"
9696 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9698 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9699 { echo "configure: error:
9700 You need a make-utility that is able to use the variable
9702 If your version of make does not support VPATH correctly,
9703 please install GNU-make (possibly as gmake), and start
9704 configure with the following command:
9705 export MAKE=gmake; ./configure for sh-type shells
9706 setenv MAKE gmake; ./configure for csh-type shells
9707 Also please do remember to use gmake in this case every time
9708 you are trying to compile.
9711 for ac_prog
in 'bison -y' byacc
9713 # Extract the first word of "$ac_prog", so it can be a program name with args.
9714 set dummy
$ac_prog; ac_word
=$2
9715 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9716 echo "configure:9717: checking for $ac_word" >&5
9717 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9718 echo $ac_n "(cached) $ac_c" 1>&6
9720 if test -n "$YACC"; then
9721 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9723 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9725 for ac_dir
in $ac_dummy; do
9726 test -z "$ac_dir" && ac_dir
=.
9727 if test -f $ac_dir/$ac_word; then
9728 ac_cv_prog_YACC
="$ac_prog"
9735 YACC
="$ac_cv_prog_YACC"
9736 if test -n "$YACC"; then
9737 echo "$ac_t""$YACC" 1>&6
9739 echo "$ac_t""no" 1>&6
9742 test -n "$YACC" && break
9744 test -n "$YACC" || YACC
="yacc"
9747 # Extract the first word of "flex", so it can be a program name with args.
9748 set dummy flex
; ac_word
=$2
9749 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9750 echo "configure:9751: checking for $ac_word" >&5
9751 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9752 echo $ac_n "(cached) $ac_c" 1>&6
9754 if test -n "$LEX"; then
9755 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9757 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9759 for ac_dir
in $ac_dummy; do
9760 test -z "$ac_dir" && ac_dir
=.
9761 if test -f $ac_dir/$ac_word; then
9762 ac_cv_prog_LEX
="flex"
9767 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9770 LEX
="$ac_cv_prog_LEX"
9771 if test -n "$LEX"; then
9772 echo "$ac_t""$LEX" 1>&6
9774 echo "$ac_t""no" 1>&6
9777 if test -z "$LEXLIB"
9783 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9784 echo "configure:9785: checking for yywrap in -l$ac_lib" >&5
9785 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9786 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9787 echo $ac_n "(cached) $ac_c" 1>&6
9789 ac_save_LIBS
="$LIBS"
9790 LIBS
="-l$ac_lib $LIBS"
9791 cat > conftest.
$ac_ext <<EOF
9792 #line 9793 "configure"
9793 #include "confdefs.h"
9794 /* Override any gcc2 internal prototype to avoid an error. */
9795 /* We use char because int might match the return type of a gcc2
9796 builtin and then its argument prototype would still apply. */
9803 if { (eval echo configure
:9804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9805 eval "ac_cv_lib_$ac_lib_var=yes"
9807 echo "configure: failed program was:" >&5
9808 cat conftest.
$ac_ext >&5
9810 eval "ac_cv_lib_$ac_lib_var=no"
9813 LIBS
="$ac_save_LIBS"
9816 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9817 echo "$ac_t""yes" 1>&6
9820 echo "$ac_t""no" 1>&6
9826 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9827 echo "configure:9828: checking whether ln -s works" >&5
9828 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9829 echo $ac_n "(cached) $ac_c" 1>&6
9832 if ln -s X conftestdata
2>/dev
/null
9835 ac_cv_prog_LN_S
="ln -s"
9840 LN_S
="$ac_cv_prog_LN_S"
9841 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9842 echo "$ac_t""yes" 1>&6
9844 echo "$ac_t""no" 1>&6
9849 *-pc-os2_emx | *-pc-os2-emx )
9850 LIBS
="$LIBS -lstdcpp"
9851 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
9852 echo $ac_n "checking for drand48 in -lcExt""... $ac_c" 1>&6
9853 echo "configure:9854: checking for drand48 in -lcExt" >&5
9854 ac_lib_var
=`echo cExt'_'drand48 | sed 'y%./+-%__p_%'`
9855 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9856 echo $ac_n "(cached) $ac_c" 1>&6
9858 ac_save_LIBS
="$LIBS"
9860 cat > conftest.
$ac_ext <<EOF
9861 #line 9862 "configure"
9862 #include "confdefs.h"
9863 /* Override any gcc2 internal prototype to avoid an error. */
9864 /* We use char because int might match the return type of a gcc2
9865 builtin and then its argument prototype would still apply. */
9872 if { (eval echo configure
:9873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9874 eval "ac_cv_lib_$ac_lib_var=yes"
9876 echo "configure: failed program was:" >&5
9877 cat conftest.
$ac_ext >&5
9879 eval "ac_cv_lib_$ac_lib_var=no"
9882 LIBS
="$ac_save_LIBS"
9885 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9886 echo "$ac_t""yes" 1>&6
9889 echo "$ac_t""no" 1>&6
9893 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
9899 if test "$wxUSE_MAC" != 1; then
9900 for ac_hdr
in strings.h
9902 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9903 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9904 echo "configure:9905: checking for $ac_hdr" >&5
9905 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9906 echo $ac_n "(cached) $ac_c" 1>&6
9908 cat > conftest.
$ac_ext <<EOF
9909 #line 9910 "configure"
9910 #include "confdefs.h"
9913 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9914 { (eval echo configure
:9915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9915 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9916 if test -z "$ac_err"; then
9918 eval "ac_cv_header_$ac_safe=yes"
9921 echo "configure: failed program was:" >&5
9922 cat conftest.
$ac_ext >&5
9924 eval "ac_cv_header_$ac_safe=no"
9928 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9929 echo "$ac_t""yes" 1>&6
9930 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9931 cat >> confdefs.h
<<EOF
9932 #define $ac_tr_hdr 1
9936 echo "$ac_t""no" 1>&6
9942 for ac_hdr
in stdlib.h
9944 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9945 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9946 echo "configure:9947: checking for $ac_hdr" >&5
9947 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9948 echo $ac_n "(cached) $ac_c" 1>&6
9950 cat > conftest.
$ac_ext <<EOF
9951 #line 9952 "configure"
9952 #include "confdefs.h"
9955 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9956 { (eval echo configure
:9957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9957 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9958 if test -z "$ac_err"; then
9960 eval "ac_cv_header_$ac_safe=yes"
9963 echo "configure: failed program was:" >&5
9964 cat conftest.
$ac_ext >&5
9966 eval "ac_cv_header_$ac_safe=no"
9970 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9971 echo "$ac_t""yes" 1>&6
9972 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9973 cat >> confdefs.h
<<EOF
9974 #define $ac_tr_hdr 1
9978 echo "$ac_t""no" 1>&6
9982 for ac_hdr
in malloc.h
9984 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9985 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9986 echo "configure:9987: checking for $ac_hdr" >&5
9987 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9988 echo $ac_n "(cached) $ac_c" 1>&6
9990 cat > conftest.
$ac_ext <<EOF
9991 #line 9992 "configure"
9992 #include "confdefs.h"
9995 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9996 { (eval echo configure
:9997: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9997 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9998 if test -z "$ac_err"; then
10000 eval "ac_cv_header_$ac_safe=yes"
10003 echo "configure: failed program was:" >&5
10004 cat conftest.
$ac_ext >&5
10006 eval "ac_cv_header_$ac_safe=no"
10010 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10011 echo "$ac_t""yes" 1>&6
10012 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10013 cat >> confdefs.h
<<EOF
10014 #define $ac_tr_hdr 1
10018 echo "$ac_t""no" 1>&6
10022 for ac_hdr
in unistd.h
10024 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10025 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10026 echo "configure:10027: checking for $ac_hdr" >&5
10027 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10028 echo $ac_n "(cached) $ac_c" 1>&6
10030 cat > conftest.
$ac_ext <<EOF
10031 #line 10032 "configure"
10032 #include "confdefs.h"
10035 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10036 { (eval echo configure
:10037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10037 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10038 if test -z "$ac_err"; then
10040 eval "ac_cv_header_$ac_safe=yes"
10043 echo "configure: failed program was:" >&5
10044 cat conftest.
$ac_ext >&5
10046 eval "ac_cv_header_$ac_safe=no"
10050 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10051 echo "$ac_t""yes" 1>&6
10052 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10053 cat >> confdefs.h
<<EOF
10054 #define $ac_tr_hdr 1
10058 echo "$ac_t""no" 1>&6
10062 for ac_hdr
in wchar.h
10064 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10065 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10066 echo "configure:10067: checking for $ac_hdr" >&5
10067 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10068 echo $ac_n "(cached) $ac_c" 1>&6
10070 cat > conftest.
$ac_ext <<EOF
10071 #line 10072 "configure"
10072 #include "confdefs.h"
10075 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10076 { (eval echo configure
:10077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10077 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10078 if test -z "$ac_err"; then
10080 eval "ac_cv_header_$ac_safe=yes"
10083 echo "configure: failed program was:" >&5
10084 cat conftest.
$ac_ext >&5
10086 eval "ac_cv_header_$ac_safe=no"
10090 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10091 echo "$ac_t""yes" 1>&6
10092 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10093 cat >> confdefs.h
<<EOF
10094 #define $ac_tr_hdr 1
10098 echo "$ac_t""no" 1>&6
10103 if test "$ac_cv_header_wchar_h" != "yes"; then
10104 for ac_hdr
in wcstr.h
10106 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10107 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10108 echo "configure:10109: checking for $ac_hdr" >&5
10109 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10110 echo $ac_n "(cached) $ac_c" 1>&6
10112 cat > conftest.
$ac_ext <<EOF
10113 #line 10114 "configure"
10114 #include "confdefs.h"
10117 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10118 { (eval echo configure
:10119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10119 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10120 if test -z "$ac_err"; then
10122 eval "ac_cv_header_$ac_safe=yes"
10125 echo "configure: failed program was:" >&5
10126 cat conftest.
$ac_ext >&5
10128 eval "ac_cv_header_$ac_safe=no"
10132 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10133 echo "$ac_t""yes" 1>&6
10134 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10135 cat >> confdefs.h
<<EOF
10136 #define $ac_tr_hdr 1
10140 echo "$ac_t""no" 1>&6
10146 for ac_hdr
in fnmatch.h
10148 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10149 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10150 echo "configure:10151: checking for $ac_hdr" >&5
10151 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10152 echo $ac_n "(cached) $ac_c" 1>&6
10154 cat > conftest.
$ac_ext <<EOF
10155 #line 10156 "configure"
10156 #include "confdefs.h"
10159 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10160 { (eval echo configure
:10161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10161 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10162 if test -z "$ac_err"; then
10164 eval "ac_cv_header_$ac_safe=yes"
10167 echo "configure: failed program was:" >&5
10168 cat conftest.
$ac_ext >&5
10170 eval "ac_cv_header_$ac_safe=no"
10174 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10175 echo "$ac_t""yes" 1>&6
10176 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10177 cat >> confdefs.h
<<EOF
10178 #define $ac_tr_hdr 1
10182 echo "$ac_t""no" 1>&6
10187 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
10188 for ac_func
in fnmatch
10190 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10191 echo "configure:10192: checking for $ac_func" >&5
10192 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10193 echo $ac_n "(cached) $ac_c" 1>&6
10195 cat > conftest.
$ac_ext <<EOF
10196 #line 10197 "configure"
10197 #include "confdefs.h"
10198 /* System header to define __stub macros and hopefully few prototypes,
10199 which can conflict with char $ac_func(); below. */
10200 #include <assert.h>
10201 /* Override any gcc2 internal prototype to avoid an error. */
10202 /* We use char because int might match the return type of a gcc2
10203 builtin and then its argument prototype would still apply. */
10208 /* The GNU C library defines this for functions which it implements
10209 to always fail with ENOSYS. Some functions are actually named
10210 something starting with __ and the normal name is an alias. */
10211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10219 if { (eval echo configure
:10220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10221 eval "ac_cv_func_$ac_func=yes"
10223 echo "configure: failed program was:" >&5
10224 cat conftest.
$ac_ext >&5
10226 eval "ac_cv_func_$ac_func=no"
10231 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10232 echo "$ac_t""yes" 1>&6
10233 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10234 cat >> confdefs.h
<<EOF
10235 #define $ac_tr_func 1
10239 echo "$ac_t""no" 1>&6
10245 for ac_hdr
in langinfo.h
10247 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10248 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10249 echo "configure:10250: checking for $ac_hdr" >&5
10250 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10251 echo $ac_n "(cached) $ac_c" 1>&6
10253 cat > conftest.
$ac_ext <<EOF
10254 #line 10255 "configure"
10255 #include "confdefs.h"
10258 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10259 { (eval echo configure
:10260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10260 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10261 if test -z "$ac_err"; then
10263 eval "ac_cv_header_$ac_safe=yes"
10266 echo "configure: failed program was:" >&5
10267 cat conftest.
$ac_ext >&5
10269 eval "ac_cv_header_$ac_safe=no"
10273 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10274 echo "$ac_t""yes" 1>&6
10275 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10276 cat >> confdefs.h
<<EOF
10277 #define $ac_tr_hdr 1
10281 echo "$ac_t""no" 1>&6
10286 if test "$wxUSE_GUI" = "yes"; then
10287 if test "$wxUSE_UNIX" = "yes"; then
10288 for ac_hdr
in X
11/XKBlib.h
10290 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10291 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10292 echo "configure:10293: checking for $ac_hdr" >&5
10293 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10294 echo $ac_n "(cached) $ac_c" 1>&6
10296 cat > conftest.
$ac_ext <<EOF
10297 #line 10298 "configure"
10298 #include "confdefs.h"
10301 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10302 { (eval echo configure
:10303: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10303 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10304 if test -z "$ac_err"; then
10306 eval "ac_cv_header_$ac_safe=yes"
10309 echo "configure: failed program was:" >&5
10310 cat conftest.
$ac_ext >&5
10312 eval "ac_cv_header_$ac_safe=no"
10316 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10317 echo "$ac_t""yes" 1>&6
10318 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10319 cat >> confdefs.h
<<EOF
10320 #define $ac_tr_hdr 1
10324 echo "$ac_t""no" 1>&6
10332 echo $ac_n "checking for working const""... $ac_c" 1>&6
10333 echo "configure:10334: checking for working const" >&5
10334 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10335 echo $ac_n "(cached) $ac_c" 1>&6
10337 cat > conftest.
$ac_ext <<EOF
10338 #line 10339 "configure"
10339 #include "confdefs.h"
10343 /* Ultrix mips cc rejects this. */
10344 typedef int charset[2]; const charset x;
10345 /* SunOS 4.1.1 cc rejects this. */
10346 char const *const *ccp;
10348 /* NEC SVR4.0.2 mips cc rejects this. */
10349 struct point {int x, y;};
10350 static struct point const zero = {0,0};
10351 /* AIX XL C 1.02.0.0 rejects this.
10352 It does not let you subtract one const X* pointer from another in an arm
10353 of an if-expression whose if-part is not a constant expression */
10354 const char *g = "string";
10355 ccp = &g + (g ? g-g : 0);
10356 /* HPUX 7.0 cc rejects these. */
10359 ccp = (char const *const *) p;
10360 { /* SCO 3.2v4 cc rejects this. */
10362 char const *s = 0 ? (char *) 0 : (char const *) 0;
10366 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10367 int x[] = {25, 17};
10368 const int *foo = &x[0];
10371 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10372 typedef const int *iptr;
10376 { /* AIX XL C 1.02.0.0 rejects this saying
10377 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10378 struct s { int j; const int *ap[3]; };
10379 struct s *b; b->j = 5;
10381 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10382 const int foo = 10;
10387 if { (eval echo configure
:10388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10391 echo "configure: failed program was:" >&5
10392 cat conftest.
$ac_ext >&5
10399 echo "$ac_t""$ac_cv_c_const" 1>&6
10400 if test $ac_cv_c_const = no
; then
10401 cat >> confdefs.h
<<\EOF
10407 echo $ac_n "checking for inline""... $ac_c" 1>&6
10408 echo "configure:10409: checking for inline" >&5
10409 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10410 echo $ac_n "(cached) $ac_c" 1>&6
10413 for ac_kw
in inline __inline__ __inline
; do
10414 cat > conftest.
$ac_ext <<EOF
10415 #line 10416 "configure"
10416 #include "confdefs.h"
10422 if { (eval echo configure
:10423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10424 ac_cv_c_inline
=$ac_kw; break
10426 echo "configure: failed program was:" >&5
10427 cat conftest.
$ac_ext >&5
10434 echo "$ac_t""$ac_cv_c_inline" 1>&6
10435 case "$ac_cv_c_inline" in
10437 no
) cat >> confdefs.h
<<\EOF
10441 *) cat >> confdefs.h
<<EOF
10442 #define inline $ac_cv_c_inline
10448 echo $ac_n "checking size of char""... $ac_c" 1>&6
10449 echo "configure:10450: checking size of char" >&5
10450 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10451 echo $ac_n "(cached) $ac_c" 1>&6
10453 if test "$cross_compiling" = yes; then
10454 ac_cv_sizeof_char
=1
10456 cat > conftest.
$ac_ext <<EOF
10457 #line 10458 "configure"
10458 #include "confdefs.h"
10462 FILE *f=fopen("conftestval", "w");
10464 fprintf(f, "%d\n", sizeof(char));
10468 if { (eval echo configure
:10469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10470 ac_cv_sizeof_char
=`cat conftestval`
10472 echo "configure: failed program was:" >&5
10473 cat conftest.
$ac_ext >&5
10475 ac_cv_sizeof_char
=0
10481 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10482 cat >> confdefs.h
<<EOF
10483 #define SIZEOF_CHAR $ac_cv_sizeof_char
10487 echo $ac_n "checking size of short""... $ac_c" 1>&6
10488 echo "configure:10489: checking size of short" >&5
10489 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10490 echo $ac_n "(cached) $ac_c" 1>&6
10492 if test "$cross_compiling" = yes; then
10493 ac_cv_sizeof_short
=2
10495 cat > conftest.
$ac_ext <<EOF
10496 #line 10497 "configure"
10497 #include "confdefs.h"
10501 FILE *f=fopen("conftestval", "w");
10503 fprintf(f, "%d\n", sizeof(short));
10507 if { (eval echo configure
:10508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10509 ac_cv_sizeof_short
=`cat conftestval`
10511 echo "configure: failed program was:" >&5
10512 cat conftest.
$ac_ext >&5
10514 ac_cv_sizeof_short
=0
10520 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10521 cat >> confdefs.h
<<EOF
10522 #define SIZEOF_SHORT $ac_cv_sizeof_short
10526 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10527 echo "configure:10528: checking size of void *" >&5
10528 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10529 echo $ac_n "(cached) $ac_c" 1>&6
10531 if test "$cross_compiling" = yes; then
10532 ac_cv_sizeof_void_p
=4
10534 cat > conftest.
$ac_ext <<EOF
10535 #line 10536 "configure"
10536 #include "confdefs.h"
10540 FILE *f=fopen("conftestval", "w");
10542 fprintf(f, "%d\n", sizeof(void *));
10546 if { (eval echo configure
:10547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10548 ac_cv_sizeof_void_p
=`cat conftestval`
10550 echo "configure: failed program was:" >&5
10551 cat conftest.
$ac_ext >&5
10553 ac_cv_sizeof_void_p
=0
10559 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10560 cat >> confdefs.h
<<EOF
10561 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10565 echo $ac_n "checking size of int""... $ac_c" 1>&6
10566 echo "configure:10567: checking size of int" >&5
10567 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10568 echo $ac_n "(cached) $ac_c" 1>&6
10570 if test "$cross_compiling" = yes; then
10573 cat > conftest.
$ac_ext <<EOF
10574 #line 10575 "configure"
10575 #include "confdefs.h"
10579 FILE *f=fopen("conftestval", "w");
10581 fprintf(f, "%d\n", sizeof(int));
10585 if { (eval echo configure
:10586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10587 ac_cv_sizeof_int
=`cat conftestval`
10589 echo "configure: failed program was:" >&5
10590 cat conftest.
$ac_ext >&5
10598 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10599 cat >> confdefs.h
<<EOF
10600 #define SIZEOF_INT $ac_cv_sizeof_int
10604 echo $ac_n "checking size of long""... $ac_c" 1>&6
10605 echo "configure:10606: checking size of long" >&5
10606 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10607 echo $ac_n "(cached) $ac_c" 1>&6
10609 if test "$cross_compiling" = yes; then
10610 ac_cv_sizeof_long
=4
10612 cat > conftest.
$ac_ext <<EOF
10613 #line 10614 "configure"
10614 #include "confdefs.h"
10618 FILE *f=fopen("conftestval", "w");
10620 fprintf(f, "%d\n", sizeof(long));
10624 if { (eval echo configure
:10625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10626 ac_cv_sizeof_long
=`cat conftestval`
10628 echo "configure: failed program was:" >&5
10629 cat conftest.
$ac_ext >&5
10631 ac_cv_sizeof_long
=0
10637 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10638 cat >> confdefs.h
<<EOF
10639 #define SIZEOF_LONG $ac_cv_sizeof_long
10646 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10647 echo "configure:10648: checking size of long long" >&5
10648 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10649 echo $ac_n "(cached) $ac_c" 1>&6
10651 if test "$cross_compiling" = yes; then
10652 ac_cv_sizeof_long_long
=8
10654 cat > conftest.
$ac_ext <<EOF
10655 #line 10656 "configure"
10656 #include "confdefs.h"
10660 FILE *f=fopen("conftestval", "w");
10662 fprintf(f, "%d\n", sizeof(long long));
10666 if { (eval echo configure
:10667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10668 ac_cv_sizeof_long_long
=`cat conftestval`
10670 echo "configure: failed program was:" >&5
10671 cat conftest.
$ac_ext >&5
10673 ac_cv_sizeof_long_long
=0
10679 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10680 cat >> confdefs.h
<<EOF
10681 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10687 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10688 echo "configure:10689: checking size of long long" >&5
10689 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10690 echo $ac_n "(cached) $ac_c" 1>&6
10692 if test "$cross_compiling" = yes; then
10693 ac_cv_sizeof_long_long
=0
10695 cat > conftest.
$ac_ext <<EOF
10696 #line 10697 "configure"
10697 #include "confdefs.h"
10701 FILE *f=fopen("conftestval", "w");
10703 fprintf(f, "%d\n", sizeof(long long));
10707 if { (eval echo configure
:10708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10709 ac_cv_sizeof_long_long
=`cat conftestval`
10711 echo "configure: failed program was:" >&5
10712 cat conftest.
$ac_ext >&5
10714 ac_cv_sizeof_long_long
=0
10720 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10721 cat >> confdefs.h
<<EOF
10722 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10726 if test "$ac_cv_sizeof_long_long" != "0"; then
10727 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
10731 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10732 echo "configure:10733: checking size of long long" >&5
10733 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10734 echo $ac_n "(cached) $ac_c" 1>&6
10736 if test "$cross_compiling" = yes; then
10737 ac_cv_sizeof_long_long
=0
10739 cat > conftest.
$ac_ext <<EOF
10740 #line 10741 "configure"
10741 #include "confdefs.h"
10745 FILE *f=fopen("conftestval", "w");
10747 fprintf(f, "%d\n", sizeof(long long));
10751 if { (eval echo configure
:10752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10753 ac_cv_sizeof_long_long
=`cat conftestval`
10755 echo "configure: failed program was:" >&5
10756 cat conftest.
$ac_ext >&5
10758 ac_cv_sizeof_long_long
=0
10764 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10765 cat >> confdefs.h
<<EOF
10766 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10772 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10773 echo "configure:10774: checking size of wchar_t" >&5
10774 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10775 echo $ac_n "(cached) $ac_c" 1>&6
10778 if test "$cross_compiling" = yes; then
10782 wx_cv_sizeof_wchar_t
=0
10785 wx_cv_sizeof_wchar_t
=4
10791 cat > conftest.
$ac_ext <<EOF
10792 #line 10793 "configure"
10793 #include "confdefs.h"
10795 /* DJGPP only has fake wchar_t: */
10797 # error "fake wchar_t"
10799 #ifdef HAVE_WCHAR_H
10801 # include <stddef.h>
10803 # include <wchar.h>
10805 #ifdef HAVE_STDLIB_H
10806 # include <stdlib.h>
10811 FILE *f=fopen("conftestval", "w");
10813 fprintf(f, "%i", sizeof(wchar_t));
10818 if { (eval echo configure
:10819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10820 wx_cv_sizeof_wchar_t
=`cat conftestval`
10822 echo "configure: failed program was:" >&5
10823 cat conftest.
$ac_ext >&5
10825 wx_cv_sizeof_wchar_t
=0
10833 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10835 cat >> confdefs.h
<<EOF
10836 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10840 # Check whether --enable-largefile or --disable-largefile was given.
10841 if test "${enable_largefile+set}" = set; then
10842 enableval
="$enable_largefile"
10846 if test "$enable_largefile" != no
; then
10849 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10850 echo "configure:10851: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10851 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10852 echo $ac_n "(cached) $ac_c" 1>&6
10855 cat > conftest.
$ac_ext <<EOF
10856 #line 10857 "configure"
10857 #include "confdefs.h"
10858 #define _FILE_OFFSET_BITS 64
10859 #include <sys/types.h>
10862 unsigned int field: sizeof(off_t) == 8;
10867 if { (eval echo configure
:10868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10869 ac_cv_sys_file_offset_bits
=64
10871 echo "configure: failed program was:" >&5
10872 cat conftest.
$ac_ext >&5
10874 ac_cv_sys_file_offset_bits
=no
10881 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10883 if test "$ac_cv_sys_file_offset_bits" != no
; then
10885 cat >> confdefs.h
<<EOF
10886 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10891 if test "x$wx_largefile" != "xyes"; then
10893 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10894 echo "configure:10895: checking for _LARGE_FILES value needed for large files" >&5
10895 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10896 echo $ac_n "(cached) $ac_c" 1>&6
10899 cat > conftest.
$ac_ext <<EOF
10900 #line 10901 "configure"
10901 #include "confdefs.h"
10902 #define _LARGE_FILES 1
10903 #include <sys/types.h>
10906 unsigned int field: sizeof(off_t) == 8;
10911 if { (eval echo configure
:10912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10913 ac_cv_sys_large_files
=1
10915 echo "configure: failed program was:" >&5
10916 cat conftest.
$ac_ext >&5
10918 ac_cv_sys_large_files
=no
10925 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10927 if test "$ac_cv_sys_large_files" != no
; then
10929 cat >> confdefs.h
<<EOF
10930 #define _LARGE_FILES $ac_cv_sys_large_files
10937 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10938 echo "configure:10939: checking if large file support is available" >&5
10939 if test "x$wx_largefile" = "xyes"; then
10940 cat >> confdefs.h
<<\EOF
10941 #define HAVE_LARGEFILE_SUPPORT 1
10945 echo "$ac_t""$wx_largefile" 1>&6
10949 if test "x$wx_largefile" = "xyes"; then
10950 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
10951 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
10953 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
10955 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
10958 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10959 echo "configure:10960: checking whether byte ordering is bigendian" >&5
10960 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10961 echo $ac_n "(cached) $ac_c" 1>&6
10963 ac_cv_c_bigendian
=unknown
10964 # See if sys/param.h defines the BYTE_ORDER macro.
10965 cat > conftest.
$ac_ext <<EOF
10966 #line 10967 "configure"
10967 #include "confdefs.h"
10968 #include <sys/types.h>
10969 #include <sys/param.h>
10972 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10973 bogus endian macros
10977 if { (eval echo configure
:10978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10979 # It does; now see whether it defined to BIG_ENDIAN or not.
10980 cat > conftest.
$ac_ext <<EOF
10981 #line 10982 "configure"
10982 #include "confdefs.h"
10983 #include <sys/types.h>
10984 #include <sys/param.h>
10987 #if BYTE_ORDER != BIG_ENDIAN
10992 if { (eval echo configure
:10993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10994 ac_cv_c_bigendian
=yes
10996 echo "configure: failed program was:" >&5
10997 cat conftest.
$ac_ext >&5
10999 ac_cv_c_bigendian
=no
11003 echo "configure: failed program was:" >&5
11004 cat conftest.
$ac_ext >&5
11007 if test $ac_cv_c_bigendian = unknown
; then
11008 if test "$cross_compiling" = yes; then
11009 ac_cv_c_bigendian
=unknown
11011 cat > conftest.
$ac_ext <<EOF
11012 #line 11013 "configure"
11013 #include "confdefs.h"
11015 /* Are we little or big endian? From Harbison&Steele. */
11019 char c[sizeof (long)];
11022 exit (u.c[sizeof (long) - 1] == 1);
11025 if { (eval echo configure
:11026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11027 ac_cv_c_bigendian
=no
11029 echo "configure: failed program was:" >&5
11030 cat conftest.
$ac_ext >&5
11032 ac_cv_c_bigendian
=yes
11040 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
11041 if test $ac_cv_c_bigendian = unknown
; then
11042 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
11044 if test $ac_cv_c_bigendian = yes; then
11045 cat >> confdefs.h
<<\EOF
11046 #define WORDS_BIGENDIAN 1
11052 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
11053 echo "configure:11054: checking how to run the C++ preprocessor" >&5
11054 if test -z "$CXXCPP"; then
11055 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
11056 echo $ac_n "(cached) $ac_c" 1>&6
11059 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11060 ac_cpp
='$CXXCPP $CPPFLAGS'
11061 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11062 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11063 cross_compiling
=$ac_cv_prog_cxx_cross
11064 CXXCPP
="${CXX-g++} -E"
11065 cat > conftest.
$ac_ext <<EOF
11066 #line 11067 "configure"
11067 #include "confdefs.h"
11068 #include <stdlib.h>
11070 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11071 { (eval echo configure
:11072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11072 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11073 if test -z "$ac_err"; then
11077 echo "configure: failed program was:" >&5
11078 cat conftest.
$ac_ext >&5
11083 ac_cv_prog_CXXCPP
="$CXXCPP"
11085 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11086 ac_cpp
='$CXXCPP $CPPFLAGS'
11087 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11088 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11089 cross_compiling
=$ac_cv_prog_cxx_cross
11092 CXXCPP
="$ac_cv_prog_CXXCPP"
11093 echo "$ac_t""$CXXCPP" 1>&6
11096 if test "$cross_compiling" = "yes"; then
11097 cat >> confdefs.h
<<\EOF
11098 #define wxUSE_IOSTREAMH 1
11104 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11105 ac_cpp
='$CXXCPP $CPPFLAGS'
11106 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11107 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11108 cross_compiling
=$ac_cv_prog_cxx_cross
11111 for ac_hdr
in iostream
11113 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11114 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11115 echo "configure:11116: checking for $ac_hdr" >&5
11116 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11117 echo $ac_n "(cached) $ac_c" 1>&6
11119 cat > conftest.
$ac_ext <<EOF
11120 #line 11121 "configure"
11121 #include "confdefs.h"
11124 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11125 { (eval echo configure
:11126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11126 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11127 if test -z "$ac_err"; then
11129 eval "ac_cv_header_$ac_safe=yes"
11132 echo "configure: failed program was:" >&5
11133 cat conftest.
$ac_ext >&5
11135 eval "ac_cv_header_$ac_safe=no"
11139 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11140 echo "$ac_t""yes" 1>&6
11141 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11142 cat >> confdefs.h
<<EOF
11143 #define $ac_tr_hdr 1
11147 echo "$ac_t""no" 1>&6
11152 if test "$ac_cv_header_iostream" = "yes" ; then
11155 cat >> confdefs.h
<<\EOF
11156 #define wxUSE_IOSTREAMH 1
11162 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11163 ac_cpp
='$CPP $CPPFLAGS'
11164 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11165 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11166 cross_compiling
=$ac_cv_prog_cc_cross
11172 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
11173 echo "configure:11174: checking if C++ compiler supports bool" >&5
11174 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
11175 echo $ac_n "(cached) $ac_c" 1>&6
11180 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11181 ac_cpp
='$CXXCPP $CPPFLAGS'
11182 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11183 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11184 cross_compiling
=$ac_cv_prog_cxx_cross
11187 cat > conftest.
$ac_ext <<EOF
11188 #line 11189 "configure"
11189 #include "confdefs.h"
11200 if { (eval echo configure
:11201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11206 echo "configure: failed program was:" >&5
11207 cat conftest.
$ac_ext >&5
11217 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11218 ac_cpp
='$CPP $CPPFLAGS'
11219 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11220 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11221 cross_compiling
=$ac_cv_prog_cc_cross
11226 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
11228 if test "$wx_cv_cpp_bool" = "yes"; then
11229 cat >> confdefs.h
<<\EOF
11230 #define HAVE_BOOL 1
11237 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
11238 echo "configure:11239: checking if C++ compiler supports the explicit keyword" >&5
11239 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
11240 echo $ac_n "(cached) $ac_c" 1>&6
11245 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11246 ac_cpp
='$CXXCPP $CPPFLAGS'
11247 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11248 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11249 cross_compiling
=$ac_cv_prog_cxx_cross
11252 cat > conftest.
$ac_ext <<EOF
11253 #line 11254 "configure"
11254 #include "confdefs.h"
11256 class Foo { public: explicit Foo(int) {} };
11264 if { (eval echo configure
:11265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11267 cat > conftest.
$ac_ext <<EOF
11268 #line 11269 "configure"
11269 #include "confdefs.h"
11271 class Foo { public: explicit Foo(int) {} };
11272 static void TakeFoo(const Foo& foo) { }
11281 if { (eval echo configure
:11282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11285 echo "configure: failed program was:" >&5
11286 cat conftest.
$ac_ext >&5
11294 echo "configure: failed program was:" >&5
11295 cat conftest.
$ac_ext >&5
11303 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11304 ac_cpp
='$CPP $CPPFLAGS'
11305 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11306 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11307 cross_compiling
=$ac_cv_prog_cc_cross
11312 echo "$ac_t""$wx_cv_explicit" 1>&6
11314 if test "$wx_cv_explicit" = "yes"; then
11315 cat >> confdefs.h
<<\EOF
11316 #define HAVE_EXPLICIT 1
11324 /usr/local/include \
11326 /usr/Motif-1.2/include \
11327 /usr/Motif-2.1/include \
11329 /usr/include/Motif1.2 \
11330 /opt/xpm/include/X11 \
11331 /opt/GBxpm/include/ \
11332 /opt/GBxpm/X11/include/ \
11334 /usr/Motif1.2/include \
11336 /usr/openwin/include \
11340 /usr/X11R6/include \
11341 /usr/X11R6.4/include \
11342 /usr/X11R5/include \
11343 /usr/X11R4/include \
11345 /usr/include/X11R6 \
11346 /usr/include/X11R5 \
11347 /usr/include/X11R4 \
11349 /usr/local/X11R6/include \
11350 /usr/local/X11R5/include \
11351 /usr/local/X11R4/include \
11353 /usr/local/include/X11R6 \
11354 /usr/local/include/X11R5 \
11355 /usr/local/include/X11R4 \
11359 /usr/local/X11/include \
11360 /usr/local/include/X11 \
11362 /usr/X386/include \
11363 /usr/x386/include \
11364 /usr/XFree86/include/X11 \
11366 X:/XFree86/include \
11367 X:/XFree86/include/X11 \
11370 /usr/local/include/gtk \
11371 /usr/include/glib \
11372 /usr/local/include/glib \
11375 /usr/local/include/qt \
11377 /usr/include/windows \
11378 /usr/include/wine \
11379 /usr/local/include/wine \
11381 /usr/unsupported/include \
11382 /usr/athena/include \
11383 /usr/local/x11r5/include \
11384 /usr/lpp/Xamples/include \
11386 /usr/openwin/share/include"
11388 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
11391 cat > confcache
<<\EOF
11392 # This file is a shell script that caches the results of configure
11393 # tests run on this system so they can be shared between configure
11394 # scripts and configure runs. It is not useful on other systems.
11395 # If it contains results you don't want to keep, you may remove or edit it.
11397 # By default, configure uses ./config.cache as the cache file,
11398 # creating it if it does not exist already. You can give configure
11399 # the --cache-file=FILE option to use a different cache file; that is
11400 # what configure does when it calls configure scripts in
11401 # subdirectories, so they share the cache.
11402 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11403 # config.status only pays attention to the cache file if you give it the
11404 # --recheck option to rerun configure.
11407 # The following way of writing the cache mishandles newlines in values,
11408 # but we know of no workaround that is simple, portable, and efficient.
11409 # So, don't put newlines in cache variables' values.
11410 # Ultrix sh set writes to stderr and can't be redirected directly,
11411 # and sets the high bit in the cache file unless we assign to the vars.
11413 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11415 # `set' does not quote correctly, so add quotes (double-quote substitution
11416 # turns \\\\ into \\, and sed turns \\ into \).
11418 -e "s/'/'\\\\''/g" \
11419 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11422 # `set' quotes correctly as required by POSIX, so do not add quotes.
11423 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11426 if cmp -s $cache_file confcache
; then
11429 if test -w $cache_file; then
11430 echo "updating cache $cache_file"
11431 cat confcache
> $cache_file
11433 echo "not updating unwritable cache $cache_file"
11439 if test "$USE_LINUX" = 1; then
11440 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
11441 echo "configure:11442: checking for glibc 2.1 or later" >&5
11442 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
11443 echo $ac_n "(cached) $ac_c" 1>&6
11446 cat > conftest.
$ac_ext <<EOF
11447 #line 11448 "configure"
11448 #include "confdefs.h"
11449 #include <features.h>
11452 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
11453 #error not glibc2.1
11458 if { (eval echo configure
:11459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11461 wx_cv_lib_glibc21
=yes
11464 echo "configure: failed program was:" >&5
11465 cat conftest.
$ac_ext >&5
11468 wx_cv_lib_glibc21
=no
11476 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11477 if test "$wx_cv_lib_glibc21" = "yes"; then
11478 cat >> confdefs.h
<<\EOF
11479 #define wxHAVE_GLIBC2 1
11485 if test "x$wx_cv_lib_glibc21" = "xyes"; then
11486 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
11487 cat >> confdefs.h
<<\EOF
11488 #define _GNU_SOURCE 1
11497 if test "$wxUSE_REGEX" != "no"; then
11498 cat >> confdefs.h
<<\EOF
11499 #define wxUSE_REGEX 1
11503 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11504 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11505 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11506 echo "configure:11507: checking for regex.h" >&5
11507 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11508 echo $ac_n "(cached) $ac_c" 1>&6
11510 cat > conftest.
$ac_ext <<EOF
11511 #line 11512 "configure"
11512 #include "confdefs.h"
11515 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11516 { (eval echo configure
:11517: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11517 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11518 if test -z "$ac_err"; then
11520 eval "ac_cv_header_$ac_safe=yes"
11523 echo "configure: failed program was:" >&5
11524 cat conftest.
$ac_ext >&5
11526 eval "ac_cv_header_$ac_safe=no"
11530 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11531 echo "$ac_t""yes" 1>&6
11532 for ac_func
in regcomp
11534 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11535 echo "configure:11536: checking for $ac_func" >&5
11536 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11537 echo $ac_n "(cached) $ac_c" 1>&6
11539 cat > conftest.
$ac_ext <<EOF
11540 #line 11541 "configure"
11541 #include "confdefs.h"
11542 /* System header to define __stub macros and hopefully few prototypes,
11543 which can conflict with char $ac_func(); below. */
11544 #include <assert.h>
11545 /* Override any gcc2 internal prototype to avoid an error. */
11546 /* We use char because int might match the return type of a gcc2
11547 builtin and then its argument prototype would still apply. */
11552 /* The GNU C library defines this for functions which it implements
11553 to always fail with ENOSYS. Some functions are actually named
11554 something starting with __ and the normal name is an alias. */
11555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11563 if { (eval echo configure
:11564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11565 eval "ac_cv_func_$ac_func=yes"
11567 echo "configure: failed program was:" >&5
11568 cat conftest.
$ac_ext >&5
11570 eval "ac_cv_func_$ac_func=no"
11575 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11576 echo "$ac_t""yes" 1>&6
11577 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11578 cat >> confdefs.h
<<EOF
11579 #define $ac_tr_func 1
11583 echo "$ac_t""no" 1>&6
11588 echo "$ac_t""no" 1>&6
11592 if test "x$ac_cv_func_regcomp" != "xyes"; then
11593 if test "$wxUSE_REGEX" = "sys" ; then
11594 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11596 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11597 wxUSE_REGEX
=builtin
11604 if test "$wxUSE_REGEX" = "builtin" ; then
11605 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11612 if test "$wxUSE_ZLIB" != "no" ; then
11613 cat >> confdefs.h
<<\EOF
11614 #define wxUSE_ZLIB 1
11618 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11619 if test "$USE_DARWIN" = 1; then
11620 system_zlib_h_ok
="yes"
11622 echo $ac_n "checking for zlib.h >= 1.1.4""... $ac_c" 1>&6
11623 echo "configure:11624: checking for zlib.h >= 1.1.4" >&5
11624 if eval "test \"`echo '$''{'ac_cv_header_zlib_h'+set}'`\" = set"; then
11625 echo $ac_n "(cached) $ac_c" 1>&6
11627 if test "$cross_compiling" = yes; then
11628 unset ac_cv_header_zlib_h
11631 cat > conftest.
$ac_ext <<EOF
11632 #line 11633 "configure"
11633 #include "confdefs.h"
11641 FILE *f=fopen("conftestval", "w");
11644 ZLIB_VERSION[0] == '1' &&
11645 (ZLIB_VERSION[2] > '1' ||
11646 (ZLIB_VERSION[2] == '1' &&
11647 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
11653 if { (eval echo configure
:11654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11655 ac_cv_header_zlib_h
=`cat conftestval`
11657 echo "configure: failed program was:" >&5
11658 cat conftest.
$ac_ext >&5
11660 ac_cv_header_zlib_h
=no
11668 echo "$ac_t""$ac_cv_header_zlib_h" 1>&6
11669 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11670 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11671 echo "configure:11672: checking for zlib.h" >&5
11672 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11673 echo $ac_n "(cached) $ac_c" 1>&6
11675 cat > conftest.
$ac_ext <<EOF
11676 #line 11677 "configure"
11677 #include "confdefs.h"
11680 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11681 { (eval echo configure
:11682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11682 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11683 if test -z "$ac_err"; then
11685 eval "ac_cv_header_$ac_safe=yes"
11688 echo "configure: failed program was:" >&5
11689 cat conftest.
$ac_ext >&5
11691 eval "ac_cv_header_$ac_safe=no"
11695 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11696 echo "$ac_t""yes" 1>&6
11699 echo "$ac_t""no" 1>&6
11703 system_zlib_h_ok
=$ac_cv_header_zlib_h
11706 if test "$system_zlib_h_ok" = "yes"; then
11707 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11708 echo "configure:11709: checking for deflate in -lz" >&5
11709 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11710 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11711 echo $ac_n "(cached) $ac_c" 1>&6
11713 ac_save_LIBS
="$LIBS"
11715 cat > conftest.
$ac_ext <<EOF
11716 #line 11717 "configure"
11717 #include "confdefs.h"
11718 /* Override any gcc2 internal prototype to avoid an error. */
11719 /* We use char because int might match the return type of a gcc2
11720 builtin and then its argument prototype would still apply. */
11727 if { (eval echo configure
:11728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11729 eval "ac_cv_lib_$ac_lib_var=yes"
11731 echo "configure: failed program was:" >&5
11732 cat conftest.
$ac_ext >&5
11734 eval "ac_cv_lib_$ac_lib_var=no"
11737 LIBS
="$ac_save_LIBS"
11740 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11741 echo "$ac_t""yes" 1>&6
11744 echo "$ac_t""no" 1>&6
11749 if test "x$ZLIB_LINK" = "x" ; then
11750 if test "$wxUSE_ZLIB" = "sys" ; then
11751 { echo "configure: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11753 echo "configure: warning: zlib library not found or too old, will use built-in instead" 1>&2
11761 if test "$wxUSE_ZLIB" = "builtin" ; then
11762 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11769 if test "$wxUSE_LIBPNG" != "no" ; then
11770 cat >> confdefs.h
<<\EOF
11771 #define wxUSE_LIBPNG 1
11775 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11776 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11780 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11781 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11782 wxUSE_LIBPNG
=builtin
11785 if test "$wxUSE_MGL" != 1 ; then
11786 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11787 echo $ac_n "checking for png.h > 0.90""... $ac_c" 1>&6
11788 echo "configure:11789: checking for png.h > 0.90" >&5
11789 if eval "test \"`echo '$''{'ac_cv_header_png_h'+set}'`\" = set"; then
11790 echo $ac_n "(cached) $ac_c" 1>&6
11792 if test "$cross_compiling" = yes; then
11793 unset ac_cv_header_png_h
11796 cat > conftest.
$ac_ext <<EOF
11797 #line 11798 "configure"
11798 #include "confdefs.h"
11805 FILE *f=fopen("conftestval", "w");
11808 PNG_LIBPNG_VER > 90 ? "yes" : "no");
11813 if { (eval echo configure
:11814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11815 ac_cv_header_png_h
=`cat conftestval`
11817 echo "configure: failed program was:" >&5
11818 cat conftest.
$ac_ext >&5
11820 ac_cv_header_png_h
=no
11828 echo "$ac_t""$ac_cv_header_png_h" 1>&6
11829 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11830 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11831 echo "configure:11832: checking for png.h" >&5
11832 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11833 echo $ac_n "(cached) $ac_c" 1>&6
11835 cat > conftest.
$ac_ext <<EOF
11836 #line 11837 "configure"
11837 #include "confdefs.h"
11840 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11841 { (eval echo configure
:11842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11842 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11843 if test -z "$ac_err"; then
11845 eval "ac_cv_header_$ac_safe=yes"
11848 echo "configure: failed program was:" >&5
11849 cat conftest.
$ac_ext >&5
11851 eval "ac_cv_header_$ac_safe=no"
11855 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11856 echo "$ac_t""yes" 1>&6
11859 echo "$ac_t""no" 1>&6
11863 if test "$ac_cv_header_png_h" = "yes"; then
11864 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11865 echo "configure:11866: checking for png_check_sig in -lpng" >&5
11866 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11867 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11868 echo $ac_n "(cached) $ac_c" 1>&6
11870 ac_save_LIBS
="$LIBS"
11871 LIBS
="-lpng -lz -lm $LIBS"
11872 cat > conftest.
$ac_ext <<EOF
11873 #line 11874 "configure"
11874 #include "confdefs.h"
11875 /* Override any gcc2 internal prototype to avoid an error. */
11876 /* We use char because int might match the return type of a gcc2
11877 builtin and then its argument prototype would still apply. */
11878 char png_check_sig();
11884 if { (eval echo configure
:11885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11886 eval "ac_cv_lib_$ac_lib_var=yes"
11888 echo "configure: failed program was:" >&5
11889 cat conftest.
$ac_ext >&5
11891 eval "ac_cv_lib_$ac_lib_var=no"
11894 LIBS
="$ac_save_LIBS"
11897 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11898 echo "$ac_t""yes" 1>&6
11901 echo "$ac_t""no" 1>&6
11906 if test "x$PNG_LINK" = "x" ; then
11907 if test "$wxUSE_LIBPNG" = "sys" ; then
11908 { echo "configure: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11910 echo "configure: warning: system png library not found or too old, will use built-in instead" 1>&2
11911 wxUSE_LIBPNG
=builtin
11919 if test "$wxUSE_LIBPNG" = "builtin" ; then
11920 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11929 if test "$wxUSE_LIBJPEG" != "no" ; then
11930 cat >> confdefs.h
<<\EOF
11931 #define wxUSE_LIBJPEG 1
11935 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11936 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11940 if test "$wxUSE_MGL" != 1 ; then
11941 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11942 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11943 echo "configure:11944: checking for jpeglib.h" >&5
11944 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11945 echo $ac_n "(cached) $ac_c" 1>&6
11947 cat > conftest.
$ac_ext <<EOF
11948 #line 11949 "configure"
11949 #include "confdefs.h"
11951 #undef HAVE_STDLIB_H
11953 #include <jpeglib.h>
11960 if { (eval echo configure
:11961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11962 ac_cv_header_jpeglib_h
=yes
11964 echo "configure: failed program was:" >&5
11965 cat conftest.
$ac_ext >&5
11967 ac_cv_header_jpeglib_h
=no
11974 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
11976 if test "$ac_cv_header_jpeglib_h" = "yes"; then
11977 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11978 echo "configure:11979: checking for jpeg_read_header in -ljpeg" >&5
11979 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11980 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11981 echo $ac_n "(cached) $ac_c" 1>&6
11983 ac_save_LIBS
="$LIBS"
11984 LIBS
="-ljpeg $LIBS"
11985 cat > conftest.
$ac_ext <<EOF
11986 #line 11987 "configure"
11987 #include "confdefs.h"
11988 /* Override any gcc2 internal prototype to avoid an error. */
11989 /* We use char because int might match the return type of a gcc2
11990 builtin and then its argument prototype would still apply. */
11991 char jpeg_read_header();
11997 if { (eval echo configure
:11998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11999 eval "ac_cv_lib_$ac_lib_var=yes"
12001 echo "configure: failed program was:" >&5
12002 cat conftest.
$ac_ext >&5
12004 eval "ac_cv_lib_$ac_lib_var=no"
12007 LIBS
="$ac_save_LIBS"
12010 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12011 echo "$ac_t""yes" 1>&6
12012 JPEG_LINK
=" -ljpeg"
12014 echo "$ac_t""no" 1>&6
12019 if test "x$JPEG_LINK" = "x" ; then
12020 if test "$wxUSE_LIBJPEG" = "sys" ; then
12021 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
12023 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
12024 wxUSE_LIBJPEG
=builtin
12032 if test "$wxUSE_LIBJPEG" = "builtin" ; then
12033 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
12040 TIFF_PREREQ_LINKS
=-lm
12041 if test "$wxUSE_LIBTIFF" != "no" ; then
12042 cat >> confdefs.h
<<\EOF
12043 #define wxUSE_LIBTIFF 1
12047 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
12048 if test "$wxUSE_LIBJPEG" = "sys"; then
12049 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
12051 if test "$wxUSE_ZLIB" = "sys"; then
12052 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
12054 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
12055 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
12056 echo "configure:12057: checking for tiffio.h" >&5
12057 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12058 echo $ac_n "(cached) $ac_c" 1>&6
12060 cat > conftest.
$ac_ext <<EOF
12061 #line 12062 "configure"
12062 #include "confdefs.h"
12063 #include <tiffio.h>
12065 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12066 { (eval echo configure
:12067: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12067 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12068 if test -z "$ac_err"; then
12070 eval "ac_cv_header_$ac_safe=yes"
12073 echo "configure: failed program was:" >&5
12074 cat conftest.
$ac_ext >&5
12076 eval "ac_cv_header_$ac_safe=no"
12080 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12081 echo "$ac_t""yes" 1>&6
12082 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
12083 echo "configure:12084: checking for TIFFError in -ltiff" >&5
12084 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
12085 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12086 echo $ac_n "(cached) $ac_c" 1>&6
12088 ac_save_LIBS
="$LIBS"
12089 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
12090 cat > conftest.
$ac_ext <<EOF
12091 #line 12092 "configure"
12092 #include "confdefs.h"
12093 /* Override any gcc2 internal prototype to avoid an error. */
12094 /* We use char because int might match the return type of a gcc2
12095 builtin and then its argument prototype would still apply. */
12102 if { (eval echo configure
:12103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12104 eval "ac_cv_lib_$ac_lib_var=yes"
12106 echo "configure: failed program was:" >&5
12107 cat conftest.
$ac_ext >&5
12109 eval "ac_cv_lib_$ac_lib_var=no"
12112 LIBS
="$ac_save_LIBS"
12115 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12116 echo "$ac_t""yes" 1>&6
12117 TIFF_LINK
=" -ltiff"
12119 echo "$ac_t""no" 1>&6
12124 echo "$ac_t""no" 1>&6
12128 if test "x$TIFF_LINK" = "x" ; then
12129 if test "$wxUSE_LIBTIFF" = "sys" ; then
12130 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
12132 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
12133 wxUSE_LIBTIFF
=builtin
12140 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12141 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
12153 if test "$USE_WIN32" = 1 ; then
12154 for ac_hdr
in w32api.h
12156 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12157 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12158 echo "configure:12159: checking for $ac_hdr" >&5
12159 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12160 echo $ac_n "(cached) $ac_c" 1>&6
12162 cat > conftest.
$ac_ext <<EOF
12163 #line 12164 "configure"
12164 #include "confdefs.h"
12167 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12168 { (eval echo configure
:12169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12169 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12170 if test -z "$ac_err"; then
12172 eval "ac_cv_header_$ac_safe=yes"
12175 echo "configure: failed program was:" >&5
12176 cat conftest.
$ac_ext >&5
12178 eval "ac_cv_header_$ac_safe=no"
12182 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12183 echo "$ac_t""yes" 1>&6
12184 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12185 cat >> confdefs.h
<<EOF
12186 #define $ac_tr_hdr 1
12190 echo "$ac_t""no" 1>&6
12194 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
12195 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12196 echo "configure:12197: checking for windows.h" >&5
12197 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12198 echo $ac_n "(cached) $ac_c" 1>&6
12200 cat > conftest.
$ac_ext <<EOF
12201 #line 12202 "configure"
12202 #include "confdefs.h"
12203 #include <windows.h>
12205 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12206 { (eval echo configure
:12207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12207 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12208 if test -z "$ac_err"; then
12210 eval "ac_cv_header_$ac_safe=yes"
12213 echo "configure: failed program was:" >&5
12214 cat conftest.
$ac_ext >&5
12216 eval "ac_cv_header_$ac_safe=no"
12220 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12221 echo "$ac_t""yes" 1>&6
12224 echo "$ac_t""no" 1>&6
12226 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12231 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
12232 echo "configure:12233: checking if w32api has good enough MSIE support" >&5
12233 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
12234 echo $ac_n "(cached) $ac_c" 1>&6
12237 cat > conftest.
$ac_ext <<EOF
12238 #line 12239 "configure"
12239 #include "confdefs.h"
12240 #include <w32api.h>
12243 #define wxCHECK_W32API_VERSION( major, minor ) \
12244 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
12245 && ( ( __W32API_MAJOR_VERSION > (major) ) \
12246 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
12248 #if !wxCHECK_W32API_VERSION(1,1)
12249 #error You need w32api 1.1 or newer
12254 if { (eval echo configure
:12255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12257 wx_cv_w32api_win32_ie
=yes
12260 echo "configure: failed program was:" >&5
12261 cat conftest.
$ac_ext >&5
12264 wx_cv_w32api_win32_ie
=no
12271 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
12272 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
12273 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
12276 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
12280 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
12281 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
12284 if test "$wxUSE_ODBC" = "yes" ; then
12285 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
12288 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
12289 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
12291 WIN32INSTALL
=win32install
12294 if test "$USE_DARWIN" = 1; then
12295 if test "$wxUSE_PRECOMP" = "yes"; then
12296 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
12298 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
12302 if test "$wxUSE_GUI" = "yes"; then
12311 if test "$wxUSE_MSW" = 1 ; then
12315 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
12318 if test "$wxUSE_GTK" = 1; then
12319 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
12320 echo "configure:12321: checking for GTK+ version" >&5
12322 gtk_version_cached
=1
12323 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
12324 echo $ac_n "(cached) $ac_c" 1>&6
12327 gtk_version_cached
=0
12328 echo "$ac_t""" 1>&6
12331 if test "$wxUSE_THREADS" = "yes"; then
12332 GTK_MODULES
=gthread
12336 if test "x$wxUSE_GTK2" = "xyes"; then
12337 # Check whether --enable-gtktest or --disable-gtktest was given.
12338 if test "${enable_gtktest+set}" = set; then
12339 enableval
="$enable_gtktest"
12346 pkg_config_args
=gtk
+-2.0
12347 for module
in .
$GTK_MODULES
12351 pkg_config_args
="$pkg_config_args gthread-2.0"
12358 # Extract the first word of "pkg-config", so it can be a program name with args.
12359 set dummy pkg
-config; ac_word
=$2
12360 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12361 echo "configure:12362: checking for $ac_word" >&5
12362 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
12363 echo $ac_n "(cached) $ac_c" 1>&6
12365 case "$PKG_CONFIG" in
12367 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12370 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
12373 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12375 for ac_dir
in $ac_dummy; do
12376 test -z "$ac_dir" && ac_dir
=.
12377 if test -f $ac_dir/$ac_word; then
12378 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
12383 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12387 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12388 if test -n "$PKG_CONFIG"; then
12389 echo "$ac_t""$PKG_CONFIG" 1>&6
12391 echo "$ac_t""no" 1>&6
12395 if test x
$PKG_CONFIG != xno
; then
12396 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
12399 echo *** pkg
-config too old
; version
0.7 or better required.
12407 min_gtk_version
=2.0.0
12408 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
12409 echo "configure:12410: checking for GTK+ - version >= $min_gtk_version" >&5
12411 if test x
$PKG_CONFIG != xno
; then
12412 ## don't try to run the test against uninstalled libtool libs
12413 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12414 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
12418 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
12425 if test x
"$no_gtk" = x
; then
12426 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
12427 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
12428 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12429 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12430 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12431 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12432 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12433 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12434 if test "x$enable_gtktest" = "xyes" ; then
12435 ac_save_CFLAGS
="$CFLAGS"
12436 ac_save_LIBS
="$LIBS"
12437 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12438 LIBS
="$GTK_LIBS $LIBS"
12440 if test "$cross_compiling" = yes; then
12441 echo $ac_n "cross compiling; assumed OK... $ac_c"
12443 cat > conftest.
$ac_ext <<EOF
12444 #line 12445 "configure"
12445 #include "confdefs.h"
12447 #include <gtk/gtk.h>
12449 #include <stdlib.h>
12454 int major, minor, micro;
12457 system ("touch conf.gtktest");
12459 /* HP/UX 9 (%@#!) writes to sscanf strings */
12460 tmp_version = g_strdup("$min_gtk_version");
12461 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12462 printf("%s, bad version string\n", "$min_gtk_version");
12466 if ((gtk_major_version != $gtk_config_major_version) ||
12467 (gtk_minor_version != $gtk_config_minor_version) ||
12468 (gtk_micro_version != $gtk_config_micro_version))
12470 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12471 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12472 gtk_major_version, gtk_minor_version, gtk_micro_version);
12473 printf ("*** was found! If pkg-config was correct, then it is best\n");
12474 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12475 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12476 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12477 printf("*** required on your system.\n");
12478 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12479 printf("*** to point to the correct configuration files\n");
12481 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12482 (gtk_minor_version != GTK_MINOR_VERSION) ||
12483 (gtk_micro_version != GTK_MICRO_VERSION))
12485 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12486 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12487 printf("*** library (version %d.%d.%d)\n",
12488 gtk_major_version, gtk_minor_version, gtk_micro_version);
12492 if ((gtk_major_version > major) ||
12493 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12494 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12500 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12501 gtk_major_version, gtk_minor_version, gtk_micro_version);
12502 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12503 major, minor, micro);
12504 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12506 printf("*** If you have already installed a sufficiently new version, this error\n");
12507 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12508 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12509 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
12510 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12511 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12512 printf("*** so that the correct libraries are found at run-time))\n");
12519 if { (eval echo configure
:12520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12523 echo "configure: failed program was:" >&5
12524 cat conftest.
$ac_ext >&5
12531 CFLAGS
="$ac_save_CFLAGS"
12532 LIBS
="$ac_save_LIBS"
12535 if test "x$no_gtk" = x
; then
12536 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
12539 echo "$ac_t""no" 1>&6
12540 if test "$PKG_CONFIG" = "no" ; then
12541 echo "*** A new enough version of pkg-config was not found."
12542 echo "*** See http://pkgconfig.sourceforge.net"
12544 if test -f conf.gtktest
; then
12547 echo "*** Could not run GTK+ test program, checking why..."
12548 ac_save_CFLAGS
="$CFLAGS"
12549 ac_save_LIBS
="$LIBS"
12550 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12551 LIBS
="$LIBS $GTK_LIBS"
12552 cat > conftest.
$ac_ext <<EOF
12553 #line 12554 "configure"
12554 #include "confdefs.h"
12556 #include <gtk/gtk.h>
12560 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12563 if { (eval echo configure
:12564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12565 echo "*** The test program compiled, but did not run. This usually means"
12566 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
12567 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
12568 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12569 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12570 echo "*** is required on your system"
12572 echo "*** If you have an old version installed, it is best to remove it, although"
12573 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12575 echo "configure: failed program was:" >&5
12576 cat conftest.
$ac_ext >&5
12578 echo "*** The test program failed to compile or link. See the file config.log for the"
12579 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
12582 CFLAGS
="$ac_save_CFLAGS"
12583 LIBS
="$ac_save_LIBS"
12595 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12596 if test "${with_gtk_prefix+set}" = set; then
12597 withval
="$with_gtk_prefix"
12598 gtk_config_prefix
="$withval"
12600 gtk_config_prefix
=""
12603 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12604 if test "${with_gtk_exec_prefix+set}" = set; then
12605 withval
="$with_gtk_exec_prefix"
12606 gtk_config_exec_prefix
="$withval"
12608 gtk_config_exec_prefix
=""
12611 # Check whether --enable-gtktest or --disable-gtktest was given.
12612 if test "${enable_gtktest+set}" = set; then
12613 enableval
="$enable_gtktest"
12620 for module
in .
$GTK_MODULES
12624 gtk_config_args
="$gtk_config_args gthread"
12629 if test x
$gtk_config_exec_prefix != x
; then
12630 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12631 if test x
${GTK_CONFIG+set} != xset
; then
12632 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12635 if test x
$gtk_config_prefix != x
; then
12636 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12637 if test x
${GTK_CONFIG+set} != xset
; then
12638 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12642 # Extract the first word of "gtk-config", so it can be a program name with args.
12643 set dummy gtk
-config; ac_word
=$2
12644 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12645 echo "configure:12646: checking for $ac_word" >&5
12646 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12647 echo $ac_n "(cached) $ac_c" 1>&6
12649 case "$GTK_CONFIG" in
12651 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12654 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12657 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12659 for ac_dir
in $ac_dummy; do
12660 test -z "$ac_dir" && ac_dir
=.
12661 if test -f $ac_dir/$ac_word; then
12662 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12667 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12671 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12672 if test -n "$GTK_CONFIG"; then
12673 echo "$ac_t""$GTK_CONFIG" 1>&6
12675 echo "$ac_t""no" 1>&6
12678 min_gtk_version
=1.2.7
12679 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12680 echo "configure:12681: checking for GTK - version >= $min_gtk_version" >&5
12682 if test "$GTK_CONFIG" = "no" ; then
12685 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12686 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12687 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12688 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12689 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12690 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12691 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12692 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12693 if test "x$enable_gtktest" = "xyes" ; then
12694 ac_save_CFLAGS
="$CFLAGS"
12695 ac_save_LIBS
="$LIBS"
12696 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12697 LIBS
="$GTK_LIBS $LIBS"
12699 if test "$cross_compiling" = yes; then
12700 echo $ac_n "cross compiling; assumed OK... $ac_c"
12702 cat > conftest.
$ac_ext <<EOF
12703 #line 12704 "configure"
12704 #include "confdefs.h"
12706 #include <gtk/gtk.h>
12708 #include <stdlib.h>
12713 int major, minor, micro;
12716 system ("touch conf.gtktest");
12718 /* HP/UX 9 (%@#!) writes to sscanf strings */
12719 tmp_version = g_strdup("$min_gtk_version");
12720 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12721 printf("%s, bad version string\n", "$min_gtk_version");
12725 if ((gtk_major_version != $gtk_config_major_version) ||
12726 (gtk_minor_version != $gtk_config_minor_version) ||
12727 (gtk_micro_version != $gtk_config_micro_version))
12729 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12730 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12731 gtk_major_version, gtk_minor_version, gtk_micro_version);
12732 printf ("*** was found! If gtk-config was correct, then it is best\n");
12733 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12734 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12735 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12736 printf("*** required on your system.\n");
12737 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12738 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12739 printf("*** before re-running configure\n");
12741 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12742 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12743 (gtk_minor_version != GTK_MINOR_VERSION) ||
12744 (gtk_micro_version != GTK_MICRO_VERSION))
12746 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12747 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12748 printf("*** library (version %d.%d.%d)\n",
12749 gtk_major_version, gtk_minor_version, gtk_micro_version);
12751 #endif /* defined (GTK_MAJOR_VERSION) ... */
12754 if ((gtk_major_version > major) ||
12755 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12756 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12762 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12763 gtk_major_version, gtk_minor_version, gtk_micro_version);
12764 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12765 major, minor, micro);
12766 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12768 printf("*** If you have already installed a sufficiently new version, this error\n");
12769 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12770 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12771 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12772 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12773 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12774 printf("*** so that the correct libraries are found at run-time))\n");
12781 if { (eval echo configure
:12782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12785 echo "configure: failed program was:" >&5
12786 cat conftest.
$ac_ext >&5
12793 CFLAGS
="$ac_save_CFLAGS"
12794 LIBS
="$ac_save_LIBS"
12797 if test "x$no_gtk" = x
; then
12798 echo "$ac_t""yes" 1>&6
12799 wx_cv_lib_gtk
=1.2.7
12801 echo "$ac_t""no" 1>&6
12802 if test "$GTK_CONFIG" = "no" ; then
12803 echo "*** The gtk-config script installed by GTK could not be found"
12804 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12805 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12806 echo "*** full path to gtk-config."
12808 if test -f conf.gtktest
; then
12811 echo "*** Could not run GTK test program, checking why..."
12812 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12813 LIBS
="$LIBS $GTK_LIBS"
12814 cat > conftest.
$ac_ext <<EOF
12815 #line 12816 "configure"
12816 #include "confdefs.h"
12818 #include <gtk/gtk.h>
12822 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12825 if { (eval echo configure
:12826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12827 echo "*** The test program compiled, but did not run. This usually means"
12828 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12829 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12830 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12831 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12832 echo "*** is required on your system"
12834 echo "*** If you have an old version installed, it is best to remove it, although"
12835 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12837 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12838 echo "*** came with the system with the command"
12840 echo "*** rpm --erase --nodeps gtk gtk-devel"
12842 echo "configure: failed program was:" >&5
12843 cat conftest.
$ac_ext >&5
12845 echo "*** The test program failed to compile or link. See the file config.log for the"
12846 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12847 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12848 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12851 CFLAGS
="$ac_save_CFLAGS"
12852 LIBS
="$ac_save_LIBS"
12864 if test -z "$wx_cv_lib_gtk"; then
12865 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12866 if test "${with_gtk_prefix+set}" = set; then
12867 withval
="$with_gtk_prefix"
12868 gtk_config_prefix
="$withval"
12870 gtk_config_prefix
=""
12873 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12874 if test "${with_gtk_exec_prefix+set}" = set; then
12875 withval
="$with_gtk_exec_prefix"
12876 gtk_config_exec_prefix
="$withval"
12878 gtk_config_exec_prefix
=""
12881 # Check whether --enable-gtktest or --disable-gtktest was given.
12882 if test "${enable_gtktest+set}" = set; then
12883 enableval
="$enable_gtktest"
12890 for module
in .
$GTK_MODULES
12894 gtk_config_args
="$gtk_config_args gthread"
12899 if test x
$gtk_config_exec_prefix != x
; then
12900 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12901 if test x
${GTK_CONFIG+set} != xset
; then
12902 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12905 if test x
$gtk_config_prefix != x
; then
12906 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12907 if test x
${GTK_CONFIG+set} != xset
; then
12908 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12912 # Extract the first word of "gtk-config", so it can be a program name with args.
12913 set dummy gtk
-config; ac_word
=$2
12914 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12915 echo "configure:12916: checking for $ac_word" >&5
12916 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12917 echo $ac_n "(cached) $ac_c" 1>&6
12919 case "$GTK_CONFIG" in
12921 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12924 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12927 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12929 for ac_dir
in $ac_dummy; do
12930 test -z "$ac_dir" && ac_dir
=.
12931 if test -f $ac_dir/$ac_word; then
12932 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12937 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12941 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12942 if test -n "$GTK_CONFIG"; then
12943 echo "$ac_t""$GTK_CONFIG" 1>&6
12945 echo "$ac_t""no" 1>&6
12948 min_gtk_version
=1.2.3
12949 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12950 echo "configure:12951: checking for GTK - version >= $min_gtk_version" >&5
12952 if test "$GTK_CONFIG" = "no" ; then
12955 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12956 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12957 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12958 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12959 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12960 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12961 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12962 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12963 if test "x$enable_gtktest" = "xyes" ; then
12964 ac_save_CFLAGS
="$CFLAGS"
12965 ac_save_LIBS
="$LIBS"
12966 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12967 LIBS
="$GTK_LIBS $LIBS"
12969 if test "$cross_compiling" = yes; then
12970 echo $ac_n "cross compiling; assumed OK... $ac_c"
12972 cat > conftest.
$ac_ext <<EOF
12973 #line 12974 "configure"
12974 #include "confdefs.h"
12976 #include <gtk/gtk.h>
12978 #include <stdlib.h>
12983 int major, minor, micro;
12986 system ("touch conf.gtktest");
12988 /* HP/UX 9 (%@#!) writes to sscanf strings */
12989 tmp_version = g_strdup("$min_gtk_version");
12990 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12991 printf("%s, bad version string\n", "$min_gtk_version");
12995 if ((gtk_major_version != $gtk_config_major_version) ||
12996 (gtk_minor_version != $gtk_config_minor_version) ||
12997 (gtk_micro_version != $gtk_config_micro_version))
12999 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
13000 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
13001 gtk_major_version, gtk_minor_version, gtk_micro_version);
13002 printf ("*** was found! If gtk-config was correct, then it is best\n");
13003 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
13004 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
13005 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
13006 printf("*** required on your system.\n");
13007 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
13008 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
13009 printf("*** before re-running configure\n");
13011 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
13012 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
13013 (gtk_minor_version != GTK_MINOR_VERSION) ||
13014 (gtk_micro_version != GTK_MICRO_VERSION))
13016 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
13017 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
13018 printf("*** library (version %d.%d.%d)\n",
13019 gtk_major_version, gtk_minor_version, gtk_micro_version);
13021 #endif /* defined (GTK_MAJOR_VERSION) ... */
13024 if ((gtk_major_version > major) ||
13025 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
13026 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
13032 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
13033 gtk_major_version, gtk_minor_version, gtk_micro_version);
13034 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
13035 major, minor, micro);
13036 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
13038 printf("*** If you have already installed a sufficiently new version, this error\n");
13039 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
13040 printf("*** being found. The easiest way to fix this is to remove the old version\n");
13041 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
13042 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
13043 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
13044 printf("*** so that the correct libraries are found at run-time))\n");
13051 if { (eval echo configure
:13052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13055 echo "configure: failed program was:" >&5
13056 cat conftest.
$ac_ext >&5
13063 CFLAGS
="$ac_save_CFLAGS"
13064 LIBS
="$ac_save_LIBS"
13067 if test "x$no_gtk" = x
; then
13068 echo "$ac_t""yes" 1>&6
13069 wx_cv_lib_gtk
=1.2.3
13071 echo "$ac_t""no" 1>&6
13072 if test "$GTK_CONFIG" = "no" ; then
13073 echo "*** The gtk-config script installed by GTK could not be found"
13074 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
13075 echo "*** your path, or set the GTK_CONFIG environment variable to the"
13076 echo "*** full path to gtk-config."
13078 if test -f conf.gtktest
; then
13081 echo "*** Could not run GTK test program, checking why..."
13082 CFLAGS
="$CFLAGS $GTK_CFLAGS"
13083 LIBS
="$LIBS $GTK_LIBS"
13084 cat > conftest.
$ac_ext <<EOF
13085 #line 13086 "configure"
13086 #include "confdefs.h"
13088 #include <gtk/gtk.h>
13092 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
13095 if { (eval echo configure
:13096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13097 echo "*** The test program compiled, but did not run. This usually means"
13098 echo "*** that the run-time linker is not finding GTK or finding the wrong"
13099 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
13100 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
13101 echo "*** to the installed location Also, make sure you have run ldconfig if that"
13102 echo "*** is required on your system"
13104 echo "*** If you have an old version installed, it is best to remove it, although"
13105 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13107 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
13108 echo "*** came with the system with the command"
13110 echo "*** rpm --erase --nodeps gtk gtk-devel"
13112 echo "configure: failed program was:" >&5
13113 cat conftest.
$ac_ext >&5
13115 echo "*** The test program failed to compile or link. See the file config.log for the"
13116 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
13117 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
13118 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
13121 CFLAGS
="$ac_save_CFLAGS"
13122 LIBS
="$ac_save_LIBS"
13136 if test -z "$wx_cv_lib_gtk"; then
13139 wx_cv_cflags_gtk
=$GTK_CFLAGS
13140 wx_cv_libs_gtk
=$GTK_LIBS
13147 if test "$gtk_version_cached" = 1; then
13148 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
13151 case "$wx_cv_lib_gtk" in
13160 *) { echo "configure: error:
13161 Please check that gtk-config is in path, the directory
13162 where GTK+ libraries are installed (returned by
13163 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
13164 equivalent variable and GTK+ is version 1.2.3 or above.
13169 if test "$WXGTK20" = 1; then
13170 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
13174 if test -z "$PKG_CONFIG"; then
13175 # Extract the first word of "pkg-config", so it can be a program name with args.
13176 set dummy pkg
-config; ac_word
=$2
13177 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13178 echo "configure:13179: checking for $ac_word" >&5
13179 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
13180 echo $ac_n "(cached) $ac_c" 1>&6
13182 case "$PKG_CONFIG" in
13184 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13187 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
13190 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13192 for ac_dir
in $ac_dummy; do
13193 test -z "$ac_dir" && ac_dir
=.
13194 if test -f $ac_dir/$ac_word; then
13195 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
13200 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13204 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13205 if test -n "$PKG_CONFIG"; then
13206 echo "$ac_t""$PKG_CONFIG" 1>&6
13208 echo "$ac_t""no" 1>&6
13213 if test "$PKG_CONFIG" = "no" ; then
13214 echo "*** The pkg-config script could not be found. Make sure it is"
13215 echo "*** in your path, or set the PKG_CONFIG environment variable"
13216 echo "*** to the full path to pkg-config."
13217 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13219 PKG_CONFIG_MIN_VERSION
=0.9.0
13220 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13221 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
13222 echo "configure:13223: checking for pangoft2" >&5
13224 if $PKG_CONFIG --exists "pangoft2" ; then
13225 echo "$ac_t""yes" 1>&6
13228 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
13229 echo "configure:13230: checking PANGOFT2_CFLAGS" >&5
13230 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
13231 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
13233 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
13234 echo "configure:13235: checking PANGOFT2_LIBS" >&5
13235 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
13236 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
13240 ## If we have a custom action on failure, don't print errors, but
13241 ## do set a variable so people can do so.
13242 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
13249 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13250 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13254 if test $succeeded = yes; then
13256 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
13257 LIBS
="$LIBS $PANGOFT2_LIBS"
13261 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
13262 wxUSE_PRINTING_ARCHITECTURE
="no"
13269 if test "$wxUSE_UNICODE" = "yes"; then
13270 echo "configure: warning: Unicode configuration not supported with GTK+ 1.x" 1>&2
13275 if test "$USE_DARWIN" != 1; then
13276 for ac_func
in poll
13278 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13279 echo "configure:13280: checking for $ac_func" >&5
13280 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13281 echo $ac_n "(cached) $ac_c" 1>&6
13283 cat > conftest.
$ac_ext <<EOF
13284 #line 13285 "configure"
13285 #include "confdefs.h"
13286 /* System header to define __stub macros and hopefully few prototypes,
13287 which can conflict with char $ac_func(); below. */
13288 #include <assert.h>
13289 /* Override any gcc2 internal prototype to avoid an error. */
13290 /* We use char because int might match the return type of a gcc2
13291 builtin and then its argument prototype would still apply. */
13296 /* The GNU C library defines this for functions which it implements
13297 to always fail with ENOSYS. Some functions are actually named
13298 something starting with __ and the normal name is an alias. */
13299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13307 if { (eval echo configure
:13308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13309 eval "ac_cv_func_$ac_func=yes"
13311 echo "configure: failed program was:" >&5
13312 cat conftest.
$ac_ext >&5
13314 eval "ac_cv_func_$ac_func=no"
13319 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13320 echo "$ac_t""yes" 1>&6
13321 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13322 cat >> confdefs.h
<<EOF
13323 #define $ac_tr_func 1
13327 echo "$ac_t""no" 1>&6
13333 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
13334 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
13336 AFMINSTALL
=afminstall
13340 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
13341 echo "configure:13342: checking for gdk_im_open in -lgdk" >&5
13342 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
13343 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13344 echo $ac_n "(cached) $ac_c" 1>&6
13346 ac_save_LIBS
="$LIBS"
13348 cat > conftest.
$ac_ext <<EOF
13349 #line 13350 "configure"
13350 #include "confdefs.h"
13351 /* Override any gcc2 internal prototype to avoid an error. */
13352 /* We use char because int might match the return type of a gcc2
13353 builtin and then its argument prototype would still apply. */
13354 char gdk_im_open();
13360 if { (eval echo configure
:13361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13362 eval "ac_cv_lib_$ac_lib_var=yes"
13364 echo "configure: failed program was:" >&5
13365 cat conftest.
$ac_ext >&5
13367 eval "ac_cv_lib_$ac_lib_var=no"
13370 LIBS
="$ac_save_LIBS"
13373 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13374 echo "$ac_t""yes" 1>&6
13375 cat >> confdefs.h
<<\EOF
13380 echo "$ac_t""no" 1>&6
13385 if test "$wxUSE_MGL" = 1; then
13386 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
13387 echo "configure:13388: checking for SciTech MGL library" >&5
13388 if test "x$MGL_ROOT" = x
; then
13389 echo "$ac_t""not found" 1>&6
13390 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
13392 echo "$ac_t""$MGL_ROOT" 1>&6
13397 mgl_os
="linux/gcc/glibc*"
13403 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
13408 if test "$wxUSE_DEBUG_FLAG" = yes ; then
13409 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
13410 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
13414 if test "x$mgl_lib_type" = x
; then
13415 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
13416 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
13417 mgl_lib_type
=release
13419 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
13423 wxUSE_UNIVERSAL
="yes"
13425 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
13426 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
13428 AFMINSTALL
=afminstall
13433 if test "$wxUSE_MICROWIN" = 1; then
13434 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
13435 echo "configure:13436: checking for MicroWindows" >&5
13436 if test "x$MICROWINDOWS" = x
; then
13437 echo "$ac_t""not found" 1>&6
13438 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
13440 echo "$ac_t""$MICROWINDOWS" 1>&6
13443 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
13444 echo "$ac_t""MicroWindows' libraries found." 1>&6
13446 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
13449 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
13450 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
13452 wxUSE_UNIVERSAL
="yes"
13454 AFMINSTALL
=afminstall
13456 GUIDIST
=MICROWIN_DIST
13458 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
13461 if test "$wxUSE_X11" = 1; then
13462 # If we find X, set shell vars x_includes and x_libraries to the
13463 # paths, otherwise set no_x=yes.
13464 # Uses ac_ vars as temps to allow command line to override cache and checks.
13465 # --without-x overrides everything else, but does not touch the cache.
13466 echo $ac_n "checking for X""... $ac_c" 1>&6
13467 echo "configure:13468: checking for X" >&5
13469 # Check whether --with-x or --without-x was given.
13470 if test "${with_x+set}" = set; then
13475 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13476 if test "x$with_x" = xno
; then
13477 # The user explicitly disabled X.
13480 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
13481 # Both variables are already set.
13484 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
13485 echo $ac_n "(cached) $ac_c" 1>&6
13487 # One or both of the vars are not set, and there is no cached value.
13488 ac_x_includes
=NO ac_x_libraries
=NO
13490 if mkdir conftestdir
; then
13492 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
13493 cat > Imakefile
<<'EOF'
13495 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
13497 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13498 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13499 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
13500 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13501 for ac_extension
in a so sl
; do
13502 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
13503 test -f $ac_im_libdir/libX11.
$ac_extension; then
13504 ac_im_usrlibdir
=$ac_im_libdir; break
13507 # Screen out bogus values from the imake configuration. They are
13508 # bogus both because they are the default anyway, and because
13509 # using them would break gcc on systems where it needs fixed includes.
13510 case "$ac_im_incroot" in
13512 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
13514 case "$ac_im_usrlibdir" in
13515 /usr
/lib
| /lib
) ;;
13516 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
13523 if test "$ac_x_includes" = NO
; then
13524 # Guess where to find include files, by looking for this one X11 .h file.
13525 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
13527 # First, try using that file with no special directory specified.
13528 cat > conftest.
$ac_ext <<EOF
13529 #line 13530 "configure"
13530 #include "confdefs.h"
13531 #include <$x_direct_test_include>
13533 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13534 { (eval echo configure
:13535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13535 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13536 if test -z "$ac_err"; then
13538 # We can compile using X headers with no special include directory.
13542 echo "configure: failed program was:" >&5
13543 cat conftest.
$ac_ext >&5
13545 # Look for the header file in a standard set of common directories.
13546 # Check X11 before X11Rn because it is often a symlink to the current release.
13549 /usr
/X
11R
6/include \
13550 /usr
/X
11R
5/include \
13551 /usr
/X
11R
4/include \
13554 /usr
/include
/X11R6 \
13555 /usr
/include
/X11R5 \
13556 /usr
/include
/X11R4 \
13558 /usr
/local
/X
11/include \
13559 /usr
/local
/X
11R
6/include \
13560 /usr
/local
/X
11R
5/include \
13561 /usr
/local
/X
11R
4/include \
13563 /usr
/local
/include
/X11 \
13564 /usr
/local
/include
/X11R6 \
13565 /usr
/local
/include
/X11R5 \
13566 /usr
/local
/include
/X11R4 \
13568 /usr
/X
386/include \
13569 /usr
/x
386/include \
13570 /usr
/XFree
86/include
/X11 \
13573 /usr
/local
/include \
13574 /usr
/unsupported
/include \
13575 /usr
/athena
/include \
13576 /usr
/local
/x
11r
5/include \
13577 /usr
/lpp
/Xamples
/include \
13579 /usr
/openwin
/include \
13580 /usr
/openwin
/share
/include \
13583 if test -r "$ac_dir/$x_direct_test_include"; then
13584 ac_x_includes
=$ac_dir
13590 fi # $ac_x_includes = NO
13592 if test "$ac_x_libraries" = NO
; then
13593 # Check for the libraries.
13595 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
13596 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
13598 # See if we find them without any special options.
13599 # Don't add to $LIBS permanently.
13600 ac_save_LIBS
="$LIBS"
13601 LIBS
="-l$x_direct_test_library $LIBS"
13602 cat > conftest.
$ac_ext <<EOF
13603 #line 13604 "configure"
13604 #include "confdefs.h"
13607 ${x_direct_test_function}()
13610 if { (eval echo configure
:13611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13612 LIBS
="$ac_save_LIBS"
13613 # We can link X programs with no special library path.
13616 echo "configure: failed program was:" >&5
13617 cat conftest.
$ac_ext >&5
13619 LIBS
="$ac_save_LIBS"
13620 # First see if replacing the include by lib works.
13621 # Check X11 before X11Rn because it is often a symlink to the current release.
13622 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
13633 /usr
/local
/X
11/lib \
13634 /usr
/local
/X
11R
6/lib \
13635 /usr
/local
/X
11R
5/lib \
13636 /usr
/local
/X
11R
4/lib \
13638 /usr
/local
/lib
/X11 \
13639 /usr
/local
/lib
/X11R6 \
13640 /usr
/local
/lib
/X11R5 \
13641 /usr
/local
/lib
/X11R4 \
13645 /usr
/XFree
86/lib
/X11 \
13649 /usr
/unsupported
/lib \
13651 /usr
/local
/x
11r
5/lib \
13652 /usr
/lpp
/Xamples
/lib \
13656 /usr
/openwin
/share
/lib \
13659 for ac_extension
in a so sl
; do
13660 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
13661 ac_x_libraries
=$ac_dir
13668 fi # $ac_x_libraries = NO
13670 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
13671 # Didn't find X anywhere. Cache the known absence of X.
13672 ac_cv_have_x
="have_x=no"
13674 # Record where we found X for the cache.
13675 ac_cv_have_x
="have_x=yes \
13676 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
13680 eval "$ac_cv_have_x"
13683 if test "$have_x" != yes; then
13684 echo "$ac_t""$have_x" 1>&6
13687 # If each of the values was on the command line, it overrides each guess.
13688 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13689 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13690 # Update the cache value to reflect the command line values.
13691 ac_cv_have_x
="have_x=yes \
13692 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
13693 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
13696 if test "$no_x" = yes; then
13697 # Not all programs may use this symbol, but it does not hurt to define it.
13698 cat >> confdefs.h
<<\EOF
13699 #define X_DISPLAY_MISSING 1
13702 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13704 if test -n "$x_includes"; then
13705 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13708 # It would also be nice to do this for all -L options, not just this one.
13709 if test -n "$x_libraries"; then
13710 X_LIBS
="$X_LIBS -L$x_libraries"
13711 # For Solaris; some versions of Sun CC require a space after -R and
13712 # others require no space. Words are not sufficient . . . .
13713 case "`(uname -sr) 2>/dev/null`" in
13715 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13716 echo "configure:13717: checking whether -R must be followed by a space" >&5
13717 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13718 cat > conftest.
$ac_ext <<EOF
13719 #line 13720 "configure"
13720 #include "confdefs.h"
13726 if { (eval echo configure
:13727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13730 echo "configure: failed program was:" >&5
13731 cat conftest.
$ac_ext >&5
13736 if test $ac_R_nospace = yes; then
13737 echo "$ac_t""no" 1>&6
13738 X_LIBS
="$X_LIBS -R$x_libraries"
13740 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13741 cat > conftest.
$ac_ext <<EOF
13742 #line 13743 "configure"
13743 #include "confdefs.h"
13749 if { (eval echo configure
:13750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13753 echo "configure: failed program was:" >&5
13754 cat conftest.
$ac_ext >&5
13759 if test $ac_R_space = yes; then
13760 echo "$ac_t""yes" 1>&6
13761 X_LIBS
="$X_LIBS -R $x_libraries"
13763 echo "$ac_t""neither works" 1>&6
13766 LIBS
="$ac_xsave_LIBS"
13770 # Check for system-dependent libraries X programs must link with.
13771 # Do this before checking for the system-independent R6 libraries
13772 # (-lICE), since we may need -lsocket or whatever for X linking.
13774 if test "$ISC" = yes; then
13775 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13777 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13778 # libraries were built with DECnet support. And karl@cs.umb.edu says
13779 # the Alpha needs dnet_stub (dnet does not exist).
13780 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13781 echo "configure:13782: checking for dnet_ntoa in -ldnet" >&5
13782 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13783 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13784 echo $ac_n "(cached) $ac_c" 1>&6
13786 ac_save_LIBS
="$LIBS"
13787 LIBS
="-ldnet $LIBS"
13788 cat > conftest.
$ac_ext <<EOF
13789 #line 13790 "configure"
13790 #include "confdefs.h"
13791 /* Override any gcc2 internal prototype to avoid an error. */
13792 /* We use char because int might match the return type of a gcc2
13793 builtin and then its argument prototype would still apply. */
13800 if { (eval echo configure
:13801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13802 eval "ac_cv_lib_$ac_lib_var=yes"
13804 echo "configure: failed program was:" >&5
13805 cat conftest.
$ac_ext >&5
13807 eval "ac_cv_lib_$ac_lib_var=no"
13810 LIBS
="$ac_save_LIBS"
13813 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13814 echo "$ac_t""yes" 1>&6
13815 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13817 echo "$ac_t""no" 1>&6
13820 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13821 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13822 echo "configure:13823: checking for dnet_ntoa in -ldnet_stub" >&5
13823 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13824 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13825 echo $ac_n "(cached) $ac_c" 1>&6
13827 ac_save_LIBS
="$LIBS"
13828 LIBS
="-ldnet_stub $LIBS"
13829 cat > conftest.
$ac_ext <<EOF
13830 #line 13831 "configure"
13831 #include "confdefs.h"
13832 /* Override any gcc2 internal prototype to avoid an error. */
13833 /* We use char because int might match the return type of a gcc2
13834 builtin and then its argument prototype would still apply. */
13841 if { (eval echo configure
:13842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13843 eval "ac_cv_lib_$ac_lib_var=yes"
13845 echo "configure: failed program was:" >&5
13846 cat conftest.
$ac_ext >&5
13848 eval "ac_cv_lib_$ac_lib_var=no"
13851 LIBS
="$ac_save_LIBS"
13854 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13855 echo "$ac_t""yes" 1>&6
13856 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13858 echo "$ac_t""no" 1>&6
13863 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13864 # to get the SysV transport functions.
13865 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13867 # The nsl library prevents programs from opening the X display
13868 # on Irix 5.2, according to dickey@clark.net.
13869 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13870 echo "configure:13871: checking for gethostbyname" >&5
13871 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13872 echo $ac_n "(cached) $ac_c" 1>&6
13874 cat > conftest.
$ac_ext <<EOF
13875 #line 13876 "configure"
13876 #include "confdefs.h"
13877 /* System header to define __stub macros and hopefully few prototypes,
13878 which can conflict with char gethostbyname(); below. */
13879 #include <assert.h>
13880 /* Override any gcc2 internal prototype to avoid an error. */
13881 /* We use char because int might match the return type of a gcc2
13882 builtin and then its argument prototype would still apply. */
13883 char gethostbyname();
13887 /* The GNU C library defines this for functions which it implements
13888 to always fail with ENOSYS. Some functions are actually named
13889 something starting with __ and the normal name is an alias. */
13890 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13898 if { (eval echo configure
:13899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13900 eval "ac_cv_func_gethostbyname=yes"
13902 echo "configure: failed program was:" >&5
13903 cat conftest.
$ac_ext >&5
13905 eval "ac_cv_func_gethostbyname=no"
13910 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13911 echo "$ac_t""yes" 1>&6
13914 echo "$ac_t""no" 1>&6
13917 if test $ac_cv_func_gethostbyname = no
; then
13918 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13919 echo "configure:13920: checking for gethostbyname in -lnsl" >&5
13920 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13921 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13922 echo $ac_n "(cached) $ac_c" 1>&6
13924 ac_save_LIBS
="$LIBS"
13926 cat > conftest.
$ac_ext <<EOF
13927 #line 13928 "configure"
13928 #include "confdefs.h"
13929 /* Override any gcc2 internal prototype to avoid an error. */
13930 /* We use char because int might match the return type of a gcc2
13931 builtin and then its argument prototype would still apply. */
13932 char gethostbyname();
13938 if { (eval echo configure
:13939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13940 eval "ac_cv_lib_$ac_lib_var=yes"
13942 echo "configure: failed program was:" >&5
13943 cat conftest.
$ac_ext >&5
13945 eval "ac_cv_lib_$ac_lib_var=no"
13948 LIBS
="$ac_save_LIBS"
13951 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13952 echo "$ac_t""yes" 1>&6
13953 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13955 echo "$ac_t""no" 1>&6
13960 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13961 # socket/setsockopt and other routines are undefined under SCO ODT
13962 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13963 # on later versions), says simon@lia.di.epfl.ch: it contains
13964 # gethostby* variants that don't use the nameserver (or something).
13965 # -lsocket must be given before -lnsl if both are needed.
13966 # We assume that if connect needs -lnsl, so does gethostbyname.
13967 echo $ac_n "checking for connect""... $ac_c" 1>&6
13968 echo "configure:13969: checking for connect" >&5
13969 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13970 echo $ac_n "(cached) $ac_c" 1>&6
13972 cat > conftest.
$ac_ext <<EOF
13973 #line 13974 "configure"
13974 #include "confdefs.h"
13975 /* System header to define __stub macros and hopefully few prototypes,
13976 which can conflict with char connect(); below. */
13977 #include <assert.h>
13978 /* Override any gcc2 internal prototype to avoid an error. */
13979 /* We use char because int might match the return type of a gcc2
13980 builtin and then its argument prototype would still apply. */
13985 /* The GNU C library defines this for functions which it implements
13986 to always fail with ENOSYS. Some functions are actually named
13987 something starting with __ and the normal name is an alias. */
13988 #if defined (__stub_connect) || defined (__stub___connect)
13996 if { (eval echo configure
:13997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13998 eval "ac_cv_func_connect=yes"
14000 echo "configure: failed program was:" >&5
14001 cat conftest.
$ac_ext >&5
14003 eval "ac_cv_func_connect=no"
14008 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14009 echo "$ac_t""yes" 1>&6
14012 echo "$ac_t""no" 1>&6
14015 if test $ac_cv_func_connect = no
; then
14016 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14017 echo "configure:14018: checking for connect in -lsocket" >&5
14018 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14019 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14020 echo $ac_n "(cached) $ac_c" 1>&6
14022 ac_save_LIBS
="$LIBS"
14023 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14024 cat > conftest.
$ac_ext <<EOF
14025 #line 14026 "configure"
14026 #include "confdefs.h"
14027 /* Override any gcc2 internal prototype to avoid an error. */
14028 /* We use char because int might match the return type of a gcc2
14029 builtin and then its argument prototype would still apply. */
14036 if { (eval echo configure
:14037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14038 eval "ac_cv_lib_$ac_lib_var=yes"
14040 echo "configure: failed program was:" >&5
14041 cat conftest.
$ac_ext >&5
14043 eval "ac_cv_lib_$ac_lib_var=no"
14046 LIBS
="$ac_save_LIBS"
14049 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14050 echo "$ac_t""yes" 1>&6
14051 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14053 echo "$ac_t""no" 1>&6
14058 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14059 echo $ac_n "checking for remove""... $ac_c" 1>&6
14060 echo "configure:14061: checking for remove" >&5
14061 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14062 echo $ac_n "(cached) $ac_c" 1>&6
14064 cat > conftest.
$ac_ext <<EOF
14065 #line 14066 "configure"
14066 #include "confdefs.h"
14067 /* System header to define __stub macros and hopefully few prototypes,
14068 which can conflict with char remove(); below. */
14069 #include <assert.h>
14070 /* Override any gcc2 internal prototype to avoid an error. */
14071 /* We use char because int might match the return type of a gcc2
14072 builtin and then its argument prototype would still apply. */
14077 /* The GNU C library defines this for functions which it implements
14078 to always fail with ENOSYS. Some functions are actually named
14079 something starting with __ and the normal name is an alias. */
14080 #if defined (__stub_remove) || defined (__stub___remove)
14088 if { (eval echo configure
:14089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14090 eval "ac_cv_func_remove=yes"
14092 echo "configure: failed program was:" >&5
14093 cat conftest.
$ac_ext >&5
14095 eval "ac_cv_func_remove=no"
14100 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14101 echo "$ac_t""yes" 1>&6
14104 echo "$ac_t""no" 1>&6
14107 if test $ac_cv_func_remove = no
; then
14108 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14109 echo "configure:14110: checking for remove in -lposix" >&5
14110 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14111 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14112 echo $ac_n "(cached) $ac_c" 1>&6
14114 ac_save_LIBS
="$LIBS"
14115 LIBS
="-lposix $LIBS"
14116 cat > conftest.
$ac_ext <<EOF
14117 #line 14118 "configure"
14118 #include "confdefs.h"
14119 /* Override any gcc2 internal prototype to avoid an error. */
14120 /* We use char because int might match the return type of a gcc2
14121 builtin and then its argument prototype would still apply. */
14128 if { (eval echo configure
:14129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14130 eval "ac_cv_lib_$ac_lib_var=yes"
14132 echo "configure: failed program was:" >&5
14133 cat conftest.
$ac_ext >&5
14135 eval "ac_cv_lib_$ac_lib_var=no"
14138 LIBS
="$ac_save_LIBS"
14141 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14142 echo "$ac_t""yes" 1>&6
14143 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14145 echo "$ac_t""no" 1>&6
14150 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14151 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14152 echo "configure:14153: checking for shmat" >&5
14153 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14154 echo $ac_n "(cached) $ac_c" 1>&6
14156 cat > conftest.
$ac_ext <<EOF
14157 #line 14158 "configure"
14158 #include "confdefs.h"
14159 /* System header to define __stub macros and hopefully few prototypes,
14160 which can conflict with char shmat(); below. */
14161 #include <assert.h>
14162 /* Override any gcc2 internal prototype to avoid an error. */
14163 /* We use char because int might match the return type of a gcc2
14164 builtin and then its argument prototype would still apply. */
14169 /* The GNU C library defines this for functions which it implements
14170 to always fail with ENOSYS. Some functions are actually named
14171 something starting with __ and the normal name is an alias. */
14172 #if defined (__stub_shmat) || defined (__stub___shmat)
14180 if { (eval echo configure
:14181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14182 eval "ac_cv_func_shmat=yes"
14184 echo "configure: failed program was:" >&5
14185 cat conftest.
$ac_ext >&5
14187 eval "ac_cv_func_shmat=no"
14192 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14193 echo "$ac_t""yes" 1>&6
14196 echo "$ac_t""no" 1>&6
14199 if test $ac_cv_func_shmat = no
; then
14200 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14201 echo "configure:14202: checking for shmat in -lipc" >&5
14202 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14203 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14204 echo $ac_n "(cached) $ac_c" 1>&6
14206 ac_save_LIBS
="$LIBS"
14208 cat > conftest.
$ac_ext <<EOF
14209 #line 14210 "configure"
14210 #include "confdefs.h"
14211 /* Override any gcc2 internal prototype to avoid an error. */
14212 /* We use char because int might match the return type of a gcc2
14213 builtin and then its argument prototype would still apply. */
14220 if { (eval echo configure
:14221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14222 eval "ac_cv_lib_$ac_lib_var=yes"
14224 echo "configure: failed program was:" >&5
14225 cat conftest.
$ac_ext >&5
14227 eval "ac_cv_lib_$ac_lib_var=no"
14230 LIBS
="$ac_save_LIBS"
14233 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14234 echo "$ac_t""yes" 1>&6
14235 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14237 echo "$ac_t""no" 1>&6
14243 # Check for libraries that X11R6 Xt/Xaw programs need.
14244 ac_save_LDFLAGS
="$LDFLAGS"
14245 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14246 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14247 # check for ICE first), but we must link in the order -lSM -lICE or
14248 # we get undefined symbols. So assume we have SM if we have ICE.
14249 # These have to be linked with before -lX11, unlike the other
14250 # libraries we check for below, so use a different variable.
14251 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14252 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14253 echo "configure:14254: checking for IceConnectionNumber in -lICE" >&5
14254 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14255 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14256 echo $ac_n "(cached) $ac_c" 1>&6
14258 ac_save_LIBS
="$LIBS"
14259 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14260 cat > conftest.
$ac_ext <<EOF
14261 #line 14262 "configure"
14262 #include "confdefs.h"
14263 /* Override any gcc2 internal prototype to avoid an error. */
14264 /* We use char because int might match the return type of a gcc2
14265 builtin and then its argument prototype would still apply. */
14266 char IceConnectionNumber();
14269 IceConnectionNumber()
14272 if { (eval echo configure
:14273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14274 eval "ac_cv_lib_$ac_lib_var=yes"
14276 echo "configure: failed program was:" >&5
14277 cat conftest.
$ac_ext >&5
14279 eval "ac_cv_lib_$ac_lib_var=no"
14282 LIBS
="$ac_save_LIBS"
14285 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14286 echo "$ac_t""yes" 1>&6
14287 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14289 echo "$ac_t""no" 1>&6
14292 LDFLAGS
="$ac_save_LDFLAGS"
14297 if test "$no_x" = "yes"; then
14298 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14301 GUI_TK_LIBRARY
="$X_LIBS"
14302 TOOLKIT_INCLUDE
="$X_CFLAGS"
14303 AFMINSTALL
=afminstall
14304 COMPILED_X_PROGRAM
=0
14306 if test "$wxUSE_NANOX" = "yes"; then
14307 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
14308 echo "configure:14309: checking for MicroWindows/NanoX distribution" >&5
14309 if test "x$MICROWIN" = x
; then
14310 echo "$ac_t""not found" 1>&6
14311 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
14313 echo "$ac_t""$MICROWIN" 1>&6
14314 cat >> confdefs.h
<<\EOF
14315 #define wxUSE_NANOX 1
14322 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14323 echo "configure:14324: checking for Xpm library" >&5
14326 for ac_dir
in $SEARCH_LIB /usr
/lib
;
14328 for ac_extension
in a so sl dylib
; do
14329 if test -f "$ac_dir/libXpm.$ac_extension"; then
14330 ac_find_libraries
=$ac_dir
14336 if test "$ac_find_libraries" != "" ; then
14338 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14340 if test $result = 0; then
14343 ac_path_to_link
=" -L$ac_find_libraries"
14346 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14348 cat >> confdefs.h
<<\EOF
14349 #define wxHAVE_LIB_XPM 1
14352 echo "$ac_t""found at $ac_find_libraries" 1>&6
14354 cat > conftest.
$ac_ext <<EOF
14355 #line 14356 "configure"
14356 #include "confdefs.h"
14358 #include <X11/xpm.h>
14363 version = XpmLibraryVersion();
14367 if { (eval echo configure
:14368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14371 cat >> confdefs.h
<<\EOF
14372 #define wxHAVE_LIB_XPM 1
14375 echo "$ac_t""found in default search path" 1>&6
14376 COMPILED_X_PROGRAM
=0
14379 echo "configure: failed program was:" >&5
14380 cat conftest.
$ac_ext >&5
14383 echo "$ac_t""no" 1>&6
14384 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14391 if test "$wxUSE_UNICODE" = "yes"; then
14395 if test -z "$PKG_CONFIG"; then
14396 # Extract the first word of "pkg-config", so it can be a program name with args.
14397 set dummy pkg
-config; ac_word
=$2
14398 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14399 echo "configure:14400: checking for $ac_word" >&5
14400 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14401 echo $ac_n "(cached) $ac_c" 1>&6
14403 case "$PKG_CONFIG" in
14405 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14408 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14411 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14413 for ac_dir
in $ac_dummy; do
14414 test -z "$ac_dir" && ac_dir
=.
14415 if test -f $ac_dir/$ac_word; then
14416 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14421 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14425 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14426 if test -n "$PKG_CONFIG"; then
14427 echo "$ac_t""$PKG_CONFIG" 1>&6
14429 echo "$ac_t""no" 1>&6
14434 if test "$PKG_CONFIG" = "no" ; then
14435 echo "*** The pkg-config script could not be found. Make sure it is"
14436 echo "*** in your path, or set the PKG_CONFIG environment variable"
14437 echo "*** to the full path to pkg-config."
14438 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14440 PKG_CONFIG_MIN_VERSION
=0.9.0
14441 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14442 echo $ac_n "checking for pangox""... $ac_c" 1>&6
14443 echo "configure:14444: checking for pangox" >&5
14445 if $PKG_CONFIG --exists "pangox" ; then
14446 echo "$ac_t""yes" 1>&6
14449 echo $ac_n "checking PANGOX_CFLAGS""... $ac_c" 1>&6
14450 echo "configure:14451: checking PANGOX_CFLAGS" >&5
14451 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
14452 echo "$ac_t""$PANGOX_CFLAGS" 1>&6
14454 echo $ac_n "checking PANGOX_LIBS""... $ac_c" 1>&6
14455 echo "configure:14456: checking PANGOX_LIBS" >&5
14456 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
14457 echo "$ac_t""$PANGOX_LIBS" 1>&6
14461 ## If we have a custom action on failure, don't print errors, but
14462 ## do set a variable so people can do so.
14463 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
14470 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14471 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14475 if test $succeeded = yes; then
14477 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
14478 LIBS
="$LIBS $PANGOX_LIBS"
14482 { echo "configure: error: pangox library not found, library cannot be compiled in Unicode mode" 1>&2; exit 1; }
14490 if test -z "$PKG_CONFIG"; then
14491 # Extract the first word of "pkg-config", so it can be a program name with args.
14492 set dummy pkg
-config; ac_word
=$2
14493 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14494 echo "configure:14495: checking for $ac_word" >&5
14495 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14496 echo $ac_n "(cached) $ac_c" 1>&6
14498 case "$PKG_CONFIG" in
14500 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14503 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14506 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14508 for ac_dir
in $ac_dummy; do
14509 test -z "$ac_dir" && ac_dir
=.
14510 if test -f $ac_dir/$ac_word; then
14511 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14516 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14520 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14521 if test -n "$PKG_CONFIG"; then
14522 echo "$ac_t""$PKG_CONFIG" 1>&6
14524 echo "$ac_t""no" 1>&6
14529 if test "$PKG_CONFIG" = "no" ; then
14530 echo "*** The pkg-config script could not be found. Make sure it is"
14531 echo "*** in your path, or set the PKG_CONFIG environment variable"
14532 echo "*** to the full path to pkg-config."
14533 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14535 PKG_CONFIG_MIN_VERSION
=0.9.0
14536 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14537 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
14538 echo "configure:14539: checking for pangoft2" >&5
14540 if $PKG_CONFIG --exists "pangoft2" ; then
14541 echo "$ac_t""yes" 1>&6
14544 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
14545 echo "configure:14546: checking PANGOFT2_CFLAGS" >&5
14546 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
14547 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
14549 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
14550 echo "configure:14551: checking PANGOFT2_LIBS" >&5
14551 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
14552 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
14556 ## If we have a custom action on failure, don't print errors, but
14557 ## do set a variable so people can do so.
14558 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
14565 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14566 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14570 if test $succeeded = yes; then
14572 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
14573 LIBS
="$LIBS $PANGOFT2_LIBS"
14577 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
14578 wxUSE_PRINTING_ARCHITECTURE
="no"
14586 if test -z "$PKG_CONFIG"; then
14587 # Extract the first word of "pkg-config", so it can be a program name with args.
14588 set dummy pkg
-config; ac_word
=$2
14589 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14590 echo "configure:14591: checking for $ac_word" >&5
14591 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14592 echo $ac_n "(cached) $ac_c" 1>&6
14594 case "$PKG_CONFIG" in
14596 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14599 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14602 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14604 for ac_dir
in $ac_dummy; do
14605 test -z "$ac_dir" && ac_dir
=.
14606 if test -f $ac_dir/$ac_word; then
14607 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14612 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14616 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14617 if test -n "$PKG_CONFIG"; then
14618 echo "$ac_t""$PKG_CONFIG" 1>&6
14620 echo "$ac_t""no" 1>&6
14625 if test "$PKG_CONFIG" = "no" ; then
14626 echo "*** The pkg-config script could not be found. Make sure it is"
14627 echo "*** in your path, or set the PKG_CONFIG environment variable"
14628 echo "*** to the full path to pkg-config."
14629 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14631 PKG_CONFIG_MIN_VERSION
=0.9.0
14632 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14633 echo $ac_n "checking for pangoxft""... $ac_c" 1>&6
14634 echo "configure:14635: checking for pangoxft" >&5
14636 if $PKG_CONFIG --exists "pangoxft" ; then
14637 echo "$ac_t""yes" 1>&6
14640 echo $ac_n "checking PANGOXFT_CFLAGS""... $ac_c" 1>&6
14641 echo "configure:14642: checking PANGOXFT_CFLAGS" >&5
14642 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
14643 echo "$ac_t""$PANGOXFT_CFLAGS" 1>&6
14645 echo $ac_n "checking PANGOXFT_LIBS""... $ac_c" 1>&6
14646 echo "configure:14647: checking PANGOXFT_LIBS" >&5
14647 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
14648 echo "$ac_t""$PANGOXFT_LIBS" 1>&6
14652 ## If we have a custom action on failure, don't print errors, but
14653 ## do set a variable so people can do so.
14654 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
14661 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14662 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14666 if test $succeeded = yes; then
14668 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
14669 LIBS
="$LIBS $PANGOXFT_LIBS"
14673 echo "configure: warning: pangoxft library not found, library will be compiled without anti-aliasing support" 1>&2
14680 wxUSE_UNIVERSAL
="yes"
14682 if test "$wxUSE_NANOX" = "yes"; then
14683 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
14684 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"
14685 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
14687 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
14690 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
14695 if test "$wxUSE_MOTIF" = 1; then
14696 if test "$no_x" = yes; then
14697 # Not all programs may use this symbol, but it does not hurt to define it.
14698 cat >> confdefs.h
<<\EOF
14699 #define X_DISPLAY_MISSING 1
14702 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14704 if test -n "$x_includes"; then
14705 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14708 # It would also be nice to do this for all -L options, not just this one.
14709 if test -n "$x_libraries"; then
14710 X_LIBS
="$X_LIBS -L$x_libraries"
14711 # For Solaris; some versions of Sun CC require a space after -R and
14712 # others require no space. Words are not sufficient . . . .
14713 case "`(uname -sr) 2>/dev/null`" in
14715 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
14716 echo "configure:14717: checking whether -R must be followed by a space" >&5
14717 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
14718 cat > conftest.
$ac_ext <<EOF
14719 #line 14720 "configure"
14720 #include "confdefs.h"
14726 if { (eval echo configure
:14727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14730 echo "configure: failed program was:" >&5
14731 cat conftest.
$ac_ext >&5
14736 if test $ac_R_nospace = yes; then
14737 echo "$ac_t""no" 1>&6
14738 X_LIBS
="$X_LIBS -R$x_libraries"
14740 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14741 cat > conftest.
$ac_ext <<EOF
14742 #line 14743 "configure"
14743 #include "confdefs.h"
14749 if { (eval echo configure
:14750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14753 echo "configure: failed program was:" >&5
14754 cat conftest.
$ac_ext >&5
14759 if test $ac_R_space = yes; then
14760 echo "$ac_t""yes" 1>&6
14761 X_LIBS
="$X_LIBS -R $x_libraries"
14763 echo "$ac_t""neither works" 1>&6
14766 LIBS
="$ac_xsave_LIBS"
14770 # Check for system-dependent libraries X programs must link with.
14771 # Do this before checking for the system-independent R6 libraries
14772 # (-lICE), since we may need -lsocket or whatever for X linking.
14774 if test "$ISC" = yes; then
14775 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14777 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
14778 # libraries were built with DECnet support. And karl@cs.umb.edu says
14779 # the Alpha needs dnet_stub (dnet does not exist).
14780 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
14781 echo "configure:14782: checking for dnet_ntoa in -ldnet" >&5
14782 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14783 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14784 echo $ac_n "(cached) $ac_c" 1>&6
14786 ac_save_LIBS
="$LIBS"
14787 LIBS
="-ldnet $LIBS"
14788 cat > conftest.
$ac_ext <<EOF
14789 #line 14790 "configure"
14790 #include "confdefs.h"
14791 /* Override any gcc2 internal prototype to avoid an error. */
14792 /* We use char because int might match the return type of a gcc2
14793 builtin and then its argument prototype would still apply. */
14800 if { (eval echo configure
:14801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14802 eval "ac_cv_lib_$ac_lib_var=yes"
14804 echo "configure: failed program was:" >&5
14805 cat conftest.
$ac_ext >&5
14807 eval "ac_cv_lib_$ac_lib_var=no"
14810 LIBS
="$ac_save_LIBS"
14813 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14814 echo "$ac_t""yes" 1>&6
14815 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14817 echo "$ac_t""no" 1>&6
14820 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14821 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
14822 echo "configure:14823: checking for dnet_ntoa in -ldnet_stub" >&5
14823 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14824 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14825 echo $ac_n "(cached) $ac_c" 1>&6
14827 ac_save_LIBS
="$LIBS"
14828 LIBS
="-ldnet_stub $LIBS"
14829 cat > conftest.
$ac_ext <<EOF
14830 #line 14831 "configure"
14831 #include "confdefs.h"
14832 /* Override any gcc2 internal prototype to avoid an error. */
14833 /* We use char because int might match the return type of a gcc2
14834 builtin and then its argument prototype would still apply. */
14841 if { (eval echo configure
:14842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14843 eval "ac_cv_lib_$ac_lib_var=yes"
14845 echo "configure: failed program was:" >&5
14846 cat conftest.
$ac_ext >&5
14848 eval "ac_cv_lib_$ac_lib_var=no"
14851 LIBS
="$ac_save_LIBS"
14854 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14855 echo "$ac_t""yes" 1>&6
14856 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14858 echo "$ac_t""no" 1>&6
14863 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14864 # to get the SysV transport functions.
14865 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
14867 # The nsl library prevents programs from opening the X display
14868 # on Irix 5.2, according to dickey@clark.net.
14869 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
14870 echo "configure:14871: checking for gethostbyname" >&5
14871 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
14872 echo $ac_n "(cached) $ac_c" 1>&6
14874 cat > conftest.
$ac_ext <<EOF
14875 #line 14876 "configure"
14876 #include "confdefs.h"
14877 /* System header to define __stub macros and hopefully few prototypes,
14878 which can conflict with char gethostbyname(); below. */
14879 #include <assert.h>
14880 /* Override any gcc2 internal prototype to avoid an error. */
14881 /* We use char because int might match the return type of a gcc2
14882 builtin and then its argument prototype would still apply. */
14883 char gethostbyname();
14887 /* The GNU C library defines this for functions which it implements
14888 to always fail with ENOSYS. Some functions are actually named
14889 something starting with __ and the normal name is an alias. */
14890 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
14898 if { (eval echo configure
:14899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14900 eval "ac_cv_func_gethostbyname=yes"
14902 echo "configure: failed program was:" >&5
14903 cat conftest.
$ac_ext >&5
14905 eval "ac_cv_func_gethostbyname=no"
14910 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
14911 echo "$ac_t""yes" 1>&6
14914 echo "$ac_t""no" 1>&6
14917 if test $ac_cv_func_gethostbyname = no
; then
14918 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
14919 echo "configure:14920: checking for gethostbyname in -lnsl" >&5
14920 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
14921 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14922 echo $ac_n "(cached) $ac_c" 1>&6
14924 ac_save_LIBS
="$LIBS"
14926 cat > conftest.
$ac_ext <<EOF
14927 #line 14928 "configure"
14928 #include "confdefs.h"
14929 /* Override any gcc2 internal prototype to avoid an error. */
14930 /* We use char because int might match the return type of a gcc2
14931 builtin and then its argument prototype would still apply. */
14932 char gethostbyname();
14938 if { (eval echo configure
:14939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14940 eval "ac_cv_lib_$ac_lib_var=yes"
14942 echo "configure: failed program was:" >&5
14943 cat conftest.
$ac_ext >&5
14945 eval "ac_cv_lib_$ac_lib_var=no"
14948 LIBS
="$ac_save_LIBS"
14951 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14952 echo "$ac_t""yes" 1>&6
14953 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14955 echo "$ac_t""no" 1>&6
14960 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14961 # socket/setsockopt and other routines are undefined under SCO ODT
14962 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14963 # on later versions), says simon@lia.di.epfl.ch: it contains
14964 # gethostby* variants that don't use the nameserver (or something).
14965 # -lsocket must be given before -lnsl if both are needed.
14966 # We assume that if connect needs -lnsl, so does gethostbyname.
14967 echo $ac_n "checking for connect""... $ac_c" 1>&6
14968 echo "configure:14969: checking for connect" >&5
14969 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14970 echo $ac_n "(cached) $ac_c" 1>&6
14972 cat > conftest.
$ac_ext <<EOF
14973 #line 14974 "configure"
14974 #include "confdefs.h"
14975 /* System header to define __stub macros and hopefully few prototypes,
14976 which can conflict with char connect(); below. */
14977 #include <assert.h>
14978 /* Override any gcc2 internal prototype to avoid an error. */
14979 /* We use char because int might match the return type of a gcc2
14980 builtin and then its argument prototype would still apply. */
14985 /* The GNU C library defines this for functions which it implements
14986 to always fail with ENOSYS. Some functions are actually named
14987 something starting with __ and the normal name is an alias. */
14988 #if defined (__stub_connect) || defined (__stub___connect)
14996 if { (eval echo configure
:14997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14998 eval "ac_cv_func_connect=yes"
15000 echo "configure: failed program was:" >&5
15001 cat conftest.
$ac_ext >&5
15003 eval "ac_cv_func_connect=no"
15008 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
15009 echo "$ac_t""yes" 1>&6
15012 echo "$ac_t""no" 1>&6
15015 if test $ac_cv_func_connect = no
; then
15016 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
15017 echo "configure:15018: checking for connect in -lsocket" >&5
15018 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
15019 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15020 echo $ac_n "(cached) $ac_c" 1>&6
15022 ac_save_LIBS
="$LIBS"
15023 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
15024 cat > conftest.
$ac_ext <<EOF
15025 #line 15026 "configure"
15026 #include "confdefs.h"
15027 /* Override any gcc2 internal prototype to avoid an error. */
15028 /* We use char because int might match the return type of a gcc2
15029 builtin and then its argument prototype would still apply. */
15036 if { (eval echo configure
:15037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15038 eval "ac_cv_lib_$ac_lib_var=yes"
15040 echo "configure: failed program was:" >&5
15041 cat conftest.
$ac_ext >&5
15043 eval "ac_cv_lib_$ac_lib_var=no"
15046 LIBS
="$ac_save_LIBS"
15049 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15050 echo "$ac_t""yes" 1>&6
15051 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
15053 echo "$ac_t""no" 1>&6
15058 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
15059 echo $ac_n "checking for remove""... $ac_c" 1>&6
15060 echo "configure:15061: checking for remove" >&5
15061 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
15062 echo $ac_n "(cached) $ac_c" 1>&6
15064 cat > conftest.
$ac_ext <<EOF
15065 #line 15066 "configure"
15066 #include "confdefs.h"
15067 /* System header to define __stub macros and hopefully few prototypes,
15068 which can conflict with char remove(); below. */
15069 #include <assert.h>
15070 /* Override any gcc2 internal prototype to avoid an error. */
15071 /* We use char because int might match the return type of a gcc2
15072 builtin and then its argument prototype would still apply. */
15077 /* The GNU C library defines this for functions which it implements
15078 to always fail with ENOSYS. Some functions are actually named
15079 something starting with __ and the normal name is an alias. */
15080 #if defined (__stub_remove) || defined (__stub___remove)
15088 if { (eval echo configure
:15089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15090 eval "ac_cv_func_remove=yes"
15092 echo "configure: failed program was:" >&5
15093 cat conftest.
$ac_ext >&5
15095 eval "ac_cv_func_remove=no"
15100 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
15101 echo "$ac_t""yes" 1>&6
15104 echo "$ac_t""no" 1>&6
15107 if test $ac_cv_func_remove = no
; then
15108 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
15109 echo "configure:15110: checking for remove in -lposix" >&5
15110 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
15111 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15112 echo $ac_n "(cached) $ac_c" 1>&6
15114 ac_save_LIBS
="$LIBS"
15115 LIBS
="-lposix $LIBS"
15116 cat > conftest.
$ac_ext <<EOF
15117 #line 15118 "configure"
15118 #include "confdefs.h"
15119 /* Override any gcc2 internal prototype to avoid an error. */
15120 /* We use char because int might match the return type of a gcc2
15121 builtin and then its argument prototype would still apply. */
15128 if { (eval echo configure
:15129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15130 eval "ac_cv_lib_$ac_lib_var=yes"
15132 echo "configure: failed program was:" >&5
15133 cat conftest.
$ac_ext >&5
15135 eval "ac_cv_lib_$ac_lib_var=no"
15138 LIBS
="$ac_save_LIBS"
15141 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15142 echo "$ac_t""yes" 1>&6
15143 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
15145 echo "$ac_t""no" 1>&6
15150 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
15151 echo $ac_n "checking for shmat""... $ac_c" 1>&6
15152 echo "configure:15153: checking for shmat" >&5
15153 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
15154 echo $ac_n "(cached) $ac_c" 1>&6
15156 cat > conftest.
$ac_ext <<EOF
15157 #line 15158 "configure"
15158 #include "confdefs.h"
15159 /* System header to define __stub macros and hopefully few prototypes,
15160 which can conflict with char shmat(); below. */
15161 #include <assert.h>
15162 /* Override any gcc2 internal prototype to avoid an error. */
15163 /* We use char because int might match the return type of a gcc2
15164 builtin and then its argument prototype would still apply. */
15169 /* The GNU C library defines this for functions which it implements
15170 to always fail with ENOSYS. Some functions are actually named
15171 something starting with __ and the normal name is an alias. */
15172 #if defined (__stub_shmat) || defined (__stub___shmat)
15180 if { (eval echo configure
:15181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15182 eval "ac_cv_func_shmat=yes"
15184 echo "configure: failed program was:" >&5
15185 cat conftest.
$ac_ext >&5
15187 eval "ac_cv_func_shmat=no"
15192 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
15193 echo "$ac_t""yes" 1>&6
15196 echo "$ac_t""no" 1>&6
15199 if test $ac_cv_func_shmat = no
; then
15200 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
15201 echo "configure:15202: checking for shmat in -lipc" >&5
15202 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
15203 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15204 echo $ac_n "(cached) $ac_c" 1>&6
15206 ac_save_LIBS
="$LIBS"
15208 cat > conftest.
$ac_ext <<EOF
15209 #line 15210 "configure"
15210 #include "confdefs.h"
15211 /* Override any gcc2 internal prototype to avoid an error. */
15212 /* We use char because int might match the return type of a gcc2
15213 builtin and then its argument prototype would still apply. */
15220 if { (eval echo configure
:15221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15222 eval "ac_cv_lib_$ac_lib_var=yes"
15224 echo "configure: failed program was:" >&5
15225 cat conftest.
$ac_ext >&5
15227 eval "ac_cv_lib_$ac_lib_var=no"
15230 LIBS
="$ac_save_LIBS"
15233 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15234 echo "$ac_t""yes" 1>&6
15235 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
15237 echo "$ac_t""no" 1>&6
15243 # Check for libraries that X11R6 Xt/Xaw programs need.
15244 ac_save_LDFLAGS
="$LDFLAGS"
15245 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
15246 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
15247 # check for ICE first), but we must link in the order -lSM -lICE or
15248 # we get undefined symbols. So assume we have SM if we have ICE.
15249 # These have to be linked with before -lX11, unlike the other
15250 # libraries we check for below, so use a different variable.
15251 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
15252 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
15253 echo "configure:15254: checking for IceConnectionNumber in -lICE" >&5
15254 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
15255 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15256 echo $ac_n "(cached) $ac_c" 1>&6
15258 ac_save_LIBS
="$LIBS"
15259 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
15260 cat > conftest.
$ac_ext <<EOF
15261 #line 15262 "configure"
15262 #include "confdefs.h"
15263 /* Override any gcc2 internal prototype to avoid an error. */
15264 /* We use char because int might match the return type of a gcc2
15265 builtin and then its argument prototype would still apply. */
15266 char IceConnectionNumber();
15269 IceConnectionNumber()
15272 if { (eval echo configure
:15273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15274 eval "ac_cv_lib_$ac_lib_var=yes"
15276 echo "configure: failed program was:" >&5
15277 cat conftest.
$ac_ext >&5
15279 eval "ac_cv_lib_$ac_lib_var=no"
15282 LIBS
="$ac_save_LIBS"
15285 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15286 echo "$ac_t""yes" 1>&6
15287 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
15289 echo "$ac_t""no" 1>&6
15292 LDFLAGS
="$ac_save_LDFLAGS"
15297 if test "$no_x" = "yes"; then
15298 { echo "configure: error: X11 not found" 1>&2; exit 1; }
15301 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
15302 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
15303 AFMINSTALL
=afminstall
15304 COMPILED_X_PROGRAM
=0
15306 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
15307 echo "configure:15308: checking for Motif/Lesstif headers" >&5
15310 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
15312 if test -f "$ac_dir/Xm/Xm.h"; then
15313 ac_find_includes
=$ac_dir
15318 if test "$ac_find_includes" != "" ; then
15319 echo "$ac_t""found in $ac_find_includes" 1>&6
15321 if test "x$ac_find_includes" = "x/usr/include"; then
15322 ac_path_to_include
=""
15324 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
15326 if test $result = 0; then
15327 ac_path_to_include
=""
15329 ac_path_to_include
=" -I$ac_find_includes"
15333 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
15335 cat > conftest.
$ac_ext <<EOF
15336 #line 15337 "configure"
15337 #include "confdefs.h"
15344 version = xmUseVersion;
15348 if { (eval echo configure
:15349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15351 echo "$ac_t""found in default search path" 1>&6
15352 COMPILED_X_PROGRAM
=1
15355 echo "configure: failed program was:" >&5
15356 cat conftest.
$ac_ext >&5
15359 echo "$ac_t""no" 1>&6
15360 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
15367 if test "$COMPILED_X_PROGRAM" = 0; then
15368 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
15369 echo "configure:15370: checking for Motif/Lesstif library" >&5
15372 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15374 for ac_extension
in a so sl dylib
; do
15375 if test -f "$ac_dir/libXm.$ac_extension"; then
15376 ac_find_libraries
=$ac_dir
15382 if test "$ac_find_libraries" != "" ; then
15383 echo "$ac_t""found at $ac_find_libraries" 1>&6
15386 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15388 if test $result = 0; then
15391 ac_path_to_link
=" -L$ac_find_libraries"
15394 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15396 save_CFLAGS
=$CFLAGS
15397 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15399 cat > conftest.
$ac_ext <<EOF
15400 #line 15401 "configure"
15401 #include "confdefs.h"
15408 version = xmUseVersion;
15412 if { (eval echo configure
:15413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15415 echo "$ac_t""found in default search path" 1>&6
15416 COMPILED_X_PROGRAM
=1
15419 echo "configure: failed program was:" >&5
15420 cat conftest.
$ac_ext >&5
15423 echo "$ac_t""no" 1>&6
15424 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
15430 CFLAGS
=$save_CFLAGS
15435 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
15436 echo "configure:15437: checking for Xpm library" >&5
15439 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15441 for ac_extension
in a so sl dylib
; do
15442 if test -f "$ac_dir/libXpm.$ac_extension"; then
15443 ac_find_libraries
=$ac_dir
15449 if test "$ac_find_libraries" != "" ; then
15451 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15453 if test $result = 0; then
15456 ac_path_to_link
=" -L$ac_find_libraries"
15459 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15462 cat >> confdefs.h
<<\EOF
15463 #define wxHAVE_LIB_XPM 1
15466 echo "$ac_t""found at $ac_find_libraries" 1>&6
15468 save_CFLAGS
=$CFLAGS
15469 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15471 cat > conftest.
$ac_ext <<EOF
15472 #line 15473 "configure"
15473 #include "confdefs.h"
15475 #include <X11/xpm.h>
15480 version = XpmLibraryVersion();
15484 if { (eval echo configure
:15485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15488 cat >> confdefs.h
<<\EOF
15489 #define wxHAVE_LIB_XPM 1
15492 echo "$ac_t""found in default search path" 1>&6
15493 COMPILED_X_PROGRAM
=0
15496 echo "configure: failed program was:" >&5
15497 cat conftest.
$ac_ext >&5
15500 echo "$ac_t""no" 1>&6
15501 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
15507 CFLAGS
=$save_CFLAGS
15510 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
15511 echo "configure:15512: checking if we need -lXp and/or -lSM -lICE" >&5
15515 for libp
in "" " -lXp"; do
15516 if test "$libs_found" = "0"; then
15517 for libsm_ice
in " -lSM -lICE"; do
15518 if test "$libs_found" = "0"; then
15520 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
15521 save_CFLAGS
=$CFLAGS
15522 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15524 cat > conftest.
$ac_ext <<EOF
15525 #line 15526 "configure"
15526 #include "confdefs.h"
15529 #include <Xm/List.h>
15533 XmString string = NULL;
15536 XmListAddItem(w, string, position);
15540 if { (eval echo configure
:15541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15544 libsm_ice_link
="$libsm_ice"
15545 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
15549 echo "configure: failed program was:" >&5
15550 cat conftest.
$ac_ext >&5
15558 CFLAGS
=$save_CFLAGS
15564 if test "$libs_found" = "0"; then
15565 echo "$ac_t""can't find the right libraries" 1>&6
15566 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
15569 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
15570 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
15575 if test "$wxUSE_MAC" = 1; then
15576 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
15578 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
15583 if test "$wxUSE_PM" = 1; then
15586 echo "configure: warning: OS/2 PM requires old resource format, re-enabled" 1>&2
15587 wxUSE_PROLOGIO
="yes"
15588 wxUSE_RESOURCES
="yes"
15589 echo "configure: warning: OS/2 threads are not yet supported... disabled" 1>&2
15593 if test "$TOOLKIT" = "PM" ; then
15596 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
15599 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
15601 if test "$wxUSE_UNIVERSAL" = "yes"; then
15602 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
15604 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
15605 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
15607 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
15608 if test "$wxUSE_X11" = 1; then
15609 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
15611 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
15613 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
15616 ALL_OBJECTS
="\$(GUIOBJS)"
15617 ALL_SOURCES
="\$(ALL_SOURCES)"
15618 ALL_HEADERS
="\$(ALL_HEADERS)"
15621 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
15623 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
15624 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
15627 if test "$wxUSE_HTML" = "yes"; then
15628 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
15631 if test "$wxUSE_LIBJPEG" = "builtin" ; then
15632 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
15634 if test "$wxUSE_LIBTIFF" = "builtin" ; then
15635 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
15637 if test "$wxUSE_LIBPNG" = "builtin" ; then
15638 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
15641 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
15642 DISTDIR
="wx\$(TOOLKIT)"
15648 if test "$USE_WIN32" = 1 ; then
15649 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
15650 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
15654 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
15655 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
15658 ALL_SOURCES
="\$(ALL_SOURCES)"
15659 ALL_HEADERS
="\$(ALL_HEADERS)"
15661 PORT_FILES
="\${top_srcdir}/src/files.lst"
15663 GUIDIST
="BASE_DIST"
15668 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
15669 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
15672 if test "$wxUSE_REGEX" = "builtin" ; then
15673 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
15675 if test "$wxUSE_ZLIB" = "builtin" ; then
15676 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
15680 if test "$wxUSE_OPENGL" = "yes"; then
15681 if test "$wxUSE_MAC" = 1; then
15682 OPENGL_LIBS
="-framework OpenGL -framework AGL"
15683 elif test "$wxUSE_MSW" = 1; then
15684 OPENGL_LIBS
="-lopengl32 -lglu32"
15686 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15687 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15688 echo "configure:15689: checking for GL/gl.h" >&5
15689 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15690 echo $ac_n "(cached) $ac_c" 1>&6
15692 cat > conftest.
$ac_ext <<EOF
15693 #line 15694 "configure"
15694 #include "confdefs.h"
15697 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15698 { (eval echo configure
:15699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15699 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15700 if test -z "$ac_err"; then
15702 eval "ac_cv_header_$ac_safe=yes"
15705 echo "configure: failed program was:" >&5
15706 cat conftest.
$ac_ext >&5
15708 eval "ac_cv_header_$ac_safe=no"
15712 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15713 echo "$ac_t""yes" 1>&6
15715 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
15716 echo "configure:15717: checking for -lGL" >&5
15719 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15721 for ac_extension
in a so sl dylib
; do
15722 if test -f "$ac_dir/libGL.$ac_extension"; then
15723 ac_find_libraries
=$ac_dir
15729 if test "$ac_find_libraries" != "" ; then
15731 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15733 if test $result = 0; then
15736 ac_path_to_link
=" -L$ac_find_libraries"
15739 if test "$ac_path_to_link" = " -L/usr/lib" ; then
15740 LDFLAGS_GL
="$LDFLAGS"
15742 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15744 OPENGL_LIBS
="-lGL -lGLU"
15745 echo "$ac_t""yes" 1>&6
15747 echo "$ac_t""no" 1>&6
15748 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
15749 echo "configure:15750: checking for -lMesaGL" >&5
15752 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15754 for ac_extension
in a so sl dylib
; do
15755 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
15756 ac_find_libraries
=$ac_dir
15762 if test "$ac_find_libraries" != "" ; then
15764 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15766 if test $result = 0; then
15769 ac_path_to_link
=" -L$ac_find_libraries"
15772 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15773 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
15774 echo "$ac_t""yes" 1>&6
15776 echo "$ac_t""no" 1>&6
15781 echo "$ac_t""no" 1>&6
15785 if test "x$OPENGL_LIBS" = "x"; then
15786 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
15790 if test "$wxUSE_OPENGL" = "yes"; then
15791 cat >> confdefs.h
<<\EOF
15792 #define wxUSE_OPENGL 1
15795 cat >> confdefs.h
<<\EOF
15796 #define wxUSE_GLCANVAS 1
15799 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15803 if test -z "$TOOLKIT_VPATH" ; then
15804 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
15807 if test -n "$TOOLKIT" ; then
15808 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
15811 lib_unicode_suffix
=
15812 if test "$wxUSE_UNICODE" = "yes"; then
15813 lib_unicode_suffix
=u
15817 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
15821 WX_VERSION_TAG
=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
15823 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
15824 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
15826 if test "$cross_compiling" = "yes"; then
15827 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
15828 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
15831 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
15832 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
15833 WX_LIBRARY_BASENAME
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
15835 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15836 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15838 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
15839 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15840 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
15841 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15844 *-*-cygwin* | *-*-mingw32* )
15848 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
15849 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15850 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15851 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
15852 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
15854 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15855 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15861 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
15862 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
15864 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
15865 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15866 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
15867 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15869 if test "$wxUSE_MAC" = 1; then
15870 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
15871 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
15876 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
15877 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
15879 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
15880 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
15882 if test "$wxUSE_OPENGL" = "yes"; then
15883 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
15884 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
15889 if test "$wxUSE_SHARED" = "yes"; then
15891 *-pc-os2_emx | *-pc-os2-emx | \
15894 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
15899 if test "$wxUSE_SHARED" = "yes"; then
15901 if test "$wxUSE_OPENGL" = "yes"; then
15902 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
15903 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
15905 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
15906 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
15909 if test "$GCC" = "yes"; then
15915 found_versioning
=no
15918 if test $found_versioning = no
; then
15919 echo $ac_n "checking if the linker accepts --version-script""... $ac_c" 1>&6
15920 echo "configure:15921: checking if the linker accepts --version-script" >&5
15921 if eval "test \"`echo '$''{'wx_cv_version_script'+set}'`\" = set"; then
15922 echo $ac_n "(cached) $ac_c" 1>&6
15925 echo "VER_1 { *; };" >conftest.sym
15926 echo "int main() { return 0; }" >conftest.cpp
15929 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
15930 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'; { (eval echo configure
:15931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } ; then
15931 if test -s conftest.stderr
; then
15932 wx_cv_version_script
=no
15934 wx_cv_version_script
=yes
15937 wx_cv_version_script
=no
15939 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
15943 echo "$ac_t""$wx_cv_version_script" 1>&6
15944 if test $wx_cv_version_script = yes ; then
15945 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)/version-script"
15950 SHARED_LD
="${CXX} -shared -o"
15954 if test "$GCC" = "yes"; then
15955 SHARED_LD
="${CXX} -shared ${PIC_FLAG} -o"
15957 LDFLAGS
="$LDFLAGS -L/usr/lib"
15959 SHARED_LD
="${CXX} -b -o"
15963 if test "$wxUSE_OPENGL" = "yes"; then
15964 WX_ALL_INSTALLED
="preinstall_gl"
15965 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
15967 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
15972 if test "$GCC" != "yes"; then
15973 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
15974 echo "configure:15975: checking for Intel compiler" >&5
15975 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
15976 echo $ac_n "(cached) $ac_c" 1>&6
15979 cat > conftest.
$ac_ext <<EOF
15980 #line 15981 "configure"
15981 #include "confdefs.h"
15985 #ifndef __INTEL_COMPILER
15991 if { (eval echo configure
:15992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15995 echo "configure: failed program was:" >&5
15996 cat conftest.
$ac_ext >&5
16005 echo "$ac_t""$wx_cv_prog_icc" 1>&6
16006 if test "$wx_cv_prog_icc" = "yes"; then
16011 if test "$wxUSE_SONAME" = "yes" ; then
16012 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
16013 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
16014 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
16019 if test "$GCC" = yes ; then
16020 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
16022 SHARED_LD
="${CXX} -G -o"
16024 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
16025 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
16030 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
16031 CFLAGS
="$CFLAGS -fno-common"
16032 CXXFLAGS
="$CXXFLAGS -fno-common"
16033 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
16034 PIC_FLAG
="-dynamic -fPIC"
16035 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1}"
16036 SONAME_FLAGS_GL
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1_GL}"
16040 if test "$GCC" != "yes"; then
16041 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
16042 set dummy makeC
++SharedLib
; ac_word
=$2
16043 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16044 echo "configure:16045: checking for $ac_word" >&5
16045 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
16046 echo $ac_n "(cached) $ac_c" 1>&6
16048 if test -n "$AIX_CXX_LD"; then
16049 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
16051 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16053 for ac_dir
in $ac_dummy; do
16054 test -z "$ac_dir" && ac_dir
=.
16055 if test -f $ac_dir/$ac_word; then
16056 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
16061 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
16064 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
16065 if test -n "$AIX_CXX_LD"; then
16066 echo "$ac_t""$AIX_CXX_LD" 1>&6
16068 echo "$ac_t""no" 1>&6
16072 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
16076 *-*-cygwin* | *-*-mingw32* )
16077 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
16079 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
16080 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
16082 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
16084 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16085 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16087 if test "$wxUSE_OPENGL" = "yes"; then
16088 LIBS
="${LIBS} ${OPENGL_LIBS}"
16093 SHARED_LD
="${LD} -shared -o"
16097 if test "$GCC" != "yes"; then
16102 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
16110 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
16113 if test "x$WX_TARGET_LIBRARY" = "x"; then
16114 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
16115 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
16118 WX_TARGET_LIBRARY_TYPE
="so"
16119 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
16122 if test "$wxUSE_SHARED" = "no"; then
16124 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
16125 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16128 if test "$wxUSE_MAC" = 1; then
16129 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16132 if test "$wxUSE_OPENGL" = "yes"; then
16133 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
16134 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
16136 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
16139 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
16140 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
16142 WX_TARGET_LIBRARY_TYPE
="a"
16143 INSTALL_LIBRARY
='$(INSTALL_DATA)'
16150 if test "$wxUSE_MAC" = 1; then
16151 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
16152 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
16153 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
16154 # Extract the first word of "Rez", so it can be a program name with args.
16155 set dummy Rez
; ac_word
=$2
16156 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16157 echo "configure:16158: checking for $ac_word" >&5
16158 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16159 echo $ac_n "(cached) $ac_c" 1>&6
16161 if test -n "$RESCOMP"; then
16162 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
16164 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16166 for ac_dir
in $ac_dummy; do
16167 test -z "$ac_dir" && ac_dir
=.
16168 if test -f $ac_dir/$ac_word; then
16169 ac_cv_prog_RESCOMP
="Rez"
16174 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
16177 RESCOMP
="$ac_cv_prog_RESCOMP"
16178 if test -n "$RESCOMP"; then
16179 echo "$ac_t""$RESCOMP" 1>&6
16181 echo "$ac_t""no" 1>&6
16184 # Extract the first word of "DeRez", so it can be a program name with args.
16185 set dummy DeRez
; ac_word
=$2
16186 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16187 echo "configure:16188: checking for $ac_word" >&5
16188 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16189 echo $ac_n "(cached) $ac_c" 1>&6
16191 if test -n "$DEREZ"; then
16192 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
16194 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16196 for ac_dir
in $ac_dummy; do
16197 test -z "$ac_dir" && ac_dir
=.
16198 if test -f $ac_dir/$ac_word; then
16199 ac_cv_prog_DEREZ
="DeRez"
16204 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
16207 DEREZ
="$ac_cv_prog_DEREZ"
16208 if test -n "$DEREZ"; then
16209 echo "$ac_t""$DEREZ" 1>&6
16211 echo "$ac_t""no" 1>&6
16214 MACOSX_BUNDLE
="bundle"
16215 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
16216 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
16218 if test "$wxUSE_PM" = 1; then
16219 LIBWXMACRESCOMP
="emxbind -ep \$(BIN_PROGRAM)"
16224 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
16225 echo "configure:16226: checking for ANSI C header files" >&5
16226 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
16227 echo $ac_n "(cached) $ac_c" 1>&6
16229 cat > conftest.
$ac_ext <<EOF
16230 #line 16231 "configure"
16231 #include "confdefs.h"
16232 #include <stdlib.h>
16233 #include <stdarg.h>
16234 #include <string.h>
16237 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16238 { (eval echo configure
:16239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16239 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16240 if test -z "$ac_err"; then
16242 ac_cv_header_stdc
=yes
16245 echo "configure: failed program was:" >&5
16246 cat conftest.
$ac_ext >&5
16248 ac_cv_header_stdc
=no
16252 if test $ac_cv_header_stdc = yes; then
16253 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16254 cat > conftest.
$ac_ext <<EOF
16255 #line 16256 "configure"
16256 #include "confdefs.h"
16257 #include <string.h>
16259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16260 egrep "memchr" >/dev
/null
2>&1; then
16264 ac_cv_header_stdc
=no
16270 if test $ac_cv_header_stdc = yes; then
16271 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16272 cat > conftest.
$ac_ext <<EOF
16273 #line 16274 "configure"
16274 #include "confdefs.h"
16275 #include <stdlib.h>
16277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16278 egrep "free" >/dev
/null
2>&1; then
16282 ac_cv_header_stdc
=no
16288 if test $ac_cv_header_stdc = yes; then
16289 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16290 if test "$cross_compiling" = yes; then
16293 cat > conftest.
$ac_ext <<EOF
16294 #line 16295 "configure"
16295 #include "confdefs.h"
16297 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16298 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16299 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16300 int main () { int i; for (i = 0; i < 256; i++)
16301 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
16305 if { (eval echo configure
:16306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
16309 echo "configure: failed program was:" >&5
16310 cat conftest.
$ac_ext >&5
16312 ac_cv_header_stdc
=no
16320 echo "$ac_t""$ac_cv_header_stdc" 1>&6
16321 if test $ac_cv_header_stdc = yes; then
16322 cat >> confdefs.h
<<\EOF
16323 #define STDC_HEADERS 1
16328 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
16329 echo "configure:16330: checking for mode_t" >&5
16330 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
16331 echo $ac_n "(cached) $ac_c" 1>&6
16333 cat > conftest.
$ac_ext <<EOF
16334 #line 16335 "configure"
16335 #include "confdefs.h"
16336 #include <sys/types.h>
16338 #include <stdlib.h>
16339 #include <stddef.h>
16342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16343 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16345 ac_cv_type_mode_t
=yes
16348 ac_cv_type_mode_t
=no
16353 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
16354 if test $ac_cv_type_mode_t = no
; then
16355 cat >> confdefs.h
<<\EOF
16361 echo $ac_n "checking for off_t""... $ac_c" 1>&6
16362 echo "configure:16363: checking for off_t" >&5
16363 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
16364 echo $ac_n "(cached) $ac_c" 1>&6
16366 cat > conftest.
$ac_ext <<EOF
16367 #line 16368 "configure"
16368 #include "confdefs.h"
16369 #include <sys/types.h>
16371 #include <stdlib.h>
16372 #include <stddef.h>
16375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16376 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16378 ac_cv_type_off_t
=yes
16381 ac_cv_type_off_t
=no
16386 echo "$ac_t""$ac_cv_type_off_t" 1>&6
16387 if test $ac_cv_type_off_t = no
; then
16388 cat >> confdefs.h
<<\EOF
16394 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
16395 echo "configure:16396: checking for pid_t" >&5
16396 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
16397 echo $ac_n "(cached) $ac_c" 1>&6
16399 cat > conftest.
$ac_ext <<EOF
16400 #line 16401 "configure"
16401 #include "confdefs.h"
16402 #include <sys/types.h>
16404 #include <stdlib.h>
16405 #include <stddef.h>
16408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16409 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16411 ac_cv_type_pid_t
=yes
16414 ac_cv_type_pid_t
=no
16419 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
16420 if test $ac_cv_type_pid_t = no
; then
16421 cat >> confdefs.h
<<\EOF
16427 echo $ac_n "checking for size_t""... $ac_c" 1>&6
16428 echo "configure:16429: checking for size_t" >&5
16429 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
16430 echo $ac_n "(cached) $ac_c" 1>&6
16432 cat > conftest.
$ac_ext <<EOF
16433 #line 16434 "configure"
16434 #include "confdefs.h"
16435 #include <sys/types.h>
16437 #include <stdlib.h>
16438 #include <stddef.h>
16441 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16442 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16444 ac_cv_type_size_t
=yes
16447 ac_cv_type_size_t
=no
16452 echo "$ac_t""$ac_cv_type_size_t" 1>&6
16453 if test $ac_cv_type_size_t = no
; then
16454 cat >> confdefs.h
<<\EOF
16455 #define size_t unsigned
16460 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
16461 echo "configure:16462: checking for uid_t in sys/types.h" >&5
16462 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
16463 echo $ac_n "(cached) $ac_c" 1>&6
16465 cat > conftest.
$ac_ext <<EOF
16466 #line 16467 "configure"
16467 #include "confdefs.h"
16468 #include <sys/types.h>
16470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16471 egrep "uid_t" >/dev
/null
2>&1; then
16473 ac_cv_type_uid_t
=yes
16476 ac_cv_type_uid_t
=no
16482 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
16483 if test $ac_cv_type_uid_t = no
; then
16484 cat >> confdefs.h
<<\EOF
16488 cat >> confdefs.h
<<\EOF
16497 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16498 ac_cpp
='$CXXCPP $CPPFLAGS'
16499 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16500 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16501 cross_compiling
=$ac_cv_prog_cxx_cross
16503 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
16504 echo "configure:16505: checking if size_t is unsigned int" >&5
16505 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
16506 echo $ac_n "(cached) $ac_c" 1>&6
16508 cat > conftest.
$ac_ext <<EOF
16509 #line 16510 "configure"
16510 #include "confdefs.h"
16511 #include <stddef.h>
16516 struct Foo { void foo(size_t); void foo(unsigned int); };
16522 if { (eval echo configure
:16523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16524 wx_cv_size_t_is_uint
=no
16526 echo "configure: failed program was:" >&5
16527 cat conftest.
$ac_ext >&5
16529 wx_cv_size_t_is_uint
=yes
16536 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
16538 if test "$wx_cv_size_t_is_uint" = "yes"; then
16539 cat >> confdefs.h
<<\EOF
16540 #define wxSIZE_T_IS_UINT 1
16544 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
16545 echo "configure:16546: checking if size_t is unsigned long" >&5
16546 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
16547 echo $ac_n "(cached) $ac_c" 1>&6
16549 cat > conftest.
$ac_ext <<EOF
16550 #line 16551 "configure"
16551 #include "confdefs.h"
16552 #include <stddef.h>
16557 struct Foo { void foo(size_t); void foo(unsigned long); };
16563 if { (eval echo configure
:16564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16565 wx_cv_size_t_is_ulong
=no
16567 echo "configure: failed program was:" >&5
16568 cat conftest.
$ac_ext >&5
16570 wx_cv_size_t_is_ulong
=yes
16577 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
16579 if test "$wx_cv_size_t_is_ulong" = "yes"; then
16580 cat >> confdefs.h
<<\EOF
16581 #define wxSIZE_T_IS_ULONG 1
16588 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16589 ac_cpp
='$CPP $CPPFLAGS'
16590 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16591 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16592 cross_compiling
=$ac_cv_prog_cc_cross
16596 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
16597 echo "configure:16598: checking for pw_gecos in struct passwd" >&5
16598 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
16599 echo $ac_n "(cached) $ac_c" 1>&6
16602 cat > conftest.
$ac_ext <<EOF
16603 #line 16604 "configure"
16604 #include "confdefs.h"
16614 if { (eval echo configure
:16615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16617 wx_cv_struct_pw_gecos
=yes
16620 echo "configure: failed program was:" >&5
16621 cat conftest.
$ac_ext >&5
16624 wx_cv_struct_pw_gecos
=no
16633 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
16635 if test "$wx_cv_struct_pw_gecos" = "yes"; then
16636 cat >> confdefs.h
<<\EOF
16637 #define HAVE_PW_GECOS 1
16643 if test "$wx_cv_sizeof_wchar_t" != "0"; then
16644 cat >> confdefs.h
<<\EOF
16645 #define wxUSE_WCHAR_T 1
16651 for ac_func
in wcslen
16653 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16654 echo "configure:16655: checking for $ac_func" >&5
16655 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16656 echo $ac_n "(cached) $ac_c" 1>&6
16658 cat > conftest.
$ac_ext <<EOF
16659 #line 16660 "configure"
16660 #include "confdefs.h"
16661 /* System header to define __stub macros and hopefully few prototypes,
16662 which can conflict with char $ac_func(); below. */
16663 #include <assert.h>
16664 /* Override any gcc2 internal prototype to avoid an error. */
16665 /* We use char because int might match the return type of a gcc2
16666 builtin and then its argument prototype would still apply. */
16671 /* The GNU C library defines this for functions which it implements
16672 to always fail with ENOSYS. Some functions are actually named
16673 something starting with __ and the normal name is an alias. */
16674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16682 if { (eval echo configure
:16683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16684 eval "ac_cv_func_$ac_func=yes"
16686 echo "configure: failed program was:" >&5
16687 cat conftest.
$ac_ext >&5
16689 eval "ac_cv_func_$ac_func=no"
16694 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16695 echo "$ac_t""yes" 1>&6
16696 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16697 cat >> confdefs.h
<<EOF
16698 #define $ac_tr_func 1
16702 echo "$ac_t""no" 1>&6
16707 if test "$WCSLEN_FOUND" = 0; then
16708 if test "$TOOLKIT" = "MSW"; then
16709 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
16710 echo "configure:16711: checking for wcslen in -lmsvcrt" >&5
16711 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
16712 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16713 echo $ac_n "(cached) $ac_c" 1>&6
16715 ac_save_LIBS
="$LIBS"
16716 LIBS
="-lmsvcrt $LIBS"
16717 cat > conftest.
$ac_ext <<EOF
16718 #line 16719 "configure"
16719 #include "confdefs.h"
16720 /* Override any gcc2 internal prototype to avoid an error. */
16721 /* We use char because int might match the return type of a gcc2
16722 builtin and then its argument prototype would still apply. */
16729 if { (eval echo configure
:16730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16731 eval "ac_cv_lib_$ac_lib_var=yes"
16733 echo "configure: failed program was:" >&5
16734 cat conftest.
$ac_ext >&5
16736 eval "ac_cv_lib_$ac_lib_var=no"
16739 LIBS
="$ac_save_LIBS"
16742 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16743 echo "$ac_t""yes" 1>&6
16746 echo "$ac_t""no" 1>&6
16750 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
16751 echo "configure:16752: checking for wcslen in -lw" >&5
16752 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
16753 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16754 echo $ac_n "(cached) $ac_c" 1>&6
16756 ac_save_LIBS
="$LIBS"
16758 cat > conftest.
$ac_ext <<EOF
16759 #line 16760 "configure"
16760 #include "confdefs.h"
16761 /* Override any gcc2 internal prototype to avoid an error. */
16762 /* We use char because int might match the return type of a gcc2
16763 builtin and then its argument prototype would still apply. */
16770 if { (eval echo configure
:16771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16772 eval "ac_cv_lib_$ac_lib_var=yes"
16774 echo "configure: failed program was:" >&5
16775 cat conftest.
$ac_ext >&5
16777 eval "ac_cv_lib_$ac_lib_var=no"
16780 LIBS
="$ac_save_LIBS"
16783 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16784 echo "$ac_t""yes" 1>&6
16790 echo "$ac_t""no" 1>&6
16796 if test "$WCSLEN_FOUND" = 1; then
16797 cat >> confdefs.h
<<\EOF
16798 #define HAVE_WCSLEN 1
16803 for ac_func
in wcsrtombs
16805 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16806 echo "configure:16807: checking for $ac_func" >&5
16807 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16808 echo $ac_n "(cached) $ac_c" 1>&6
16810 cat > conftest.
$ac_ext <<EOF
16811 #line 16812 "configure"
16812 #include "confdefs.h"
16813 /* System header to define __stub macros and hopefully few prototypes,
16814 which can conflict with char $ac_func(); below. */
16815 #include <assert.h>
16816 /* Override any gcc2 internal prototype to avoid an error. */
16817 /* We use char because int might match the return type of a gcc2
16818 builtin and then its argument prototype would still apply. */
16823 /* The GNU C library defines this for functions which it implements
16824 to always fail with ENOSYS. Some functions are actually named
16825 something starting with __ and the normal name is an alias. */
16826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16834 if { (eval echo configure
:16835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16836 eval "ac_cv_func_$ac_func=yes"
16838 echo "configure: failed program was:" >&5
16839 cat conftest.
$ac_ext >&5
16841 eval "ac_cv_func_$ac_func=no"
16846 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16847 echo "$ac_t""yes" 1>&6
16848 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16849 cat >> confdefs.h
<<EOF
16850 #define $ac_tr_func 1
16854 echo "$ac_t""no" 1>&6
16859 echo "configure: warning: Wide character support is unavailable" 1>&2
16864 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16865 ac_cpp
='$CXXCPP $CPPFLAGS'
16866 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16867 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16868 cross_compiling
=$ac_cv_prog_cxx_cross
16871 for ac_func
in vsnprintf
16873 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16874 echo "configure:16875: checking for $ac_func" >&5
16875 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16876 echo $ac_n "(cached) $ac_c" 1>&6
16878 cat > conftest.
$ac_ext <<EOF
16879 #line 16880 "configure"
16880 #include "confdefs.h"
16881 /* System header to define __stub macros and hopefully few prototypes,
16882 which can conflict with char $ac_func(); below. */
16883 #include <assert.h>
16884 /* Override any gcc2 internal prototype to avoid an error. */
16888 /* We use char because int might match the return type of a gcc2
16889 builtin and then its argument prototype would still apply. */
16894 /* The GNU C library defines this for functions which it implements
16895 to always fail with ENOSYS. Some functions are actually named
16896 something starting with __ and the normal name is an alias. */
16897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16905 if { (eval echo configure
:16906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16907 eval "ac_cv_func_$ac_func=yes"
16909 echo "configure: failed program was:" >&5
16910 cat conftest.
$ac_ext >&5
16912 eval "ac_cv_func_$ac_func=no"
16917 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16918 echo "$ac_t""yes" 1>&6
16919 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16920 cat >> confdefs.h
<<EOF
16921 #define $ac_tr_func 1
16925 echo "$ac_t""no" 1>&6
16930 if test "$wxUSE_UNICODE" = yes; then
16931 for ac_func
in fputwc wprintf vswprintf
16933 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16934 echo "configure:16935: checking for $ac_func" >&5
16935 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16936 echo $ac_n "(cached) $ac_c" 1>&6
16938 cat > conftest.
$ac_ext <<EOF
16939 #line 16940 "configure"
16940 #include "confdefs.h"
16941 /* System header to define __stub macros and hopefully few prototypes,
16942 which can conflict with char $ac_func(); below. */
16943 #include <assert.h>
16944 /* Override any gcc2 internal prototype to avoid an error. */
16948 /* We use char because int might match the return type of a gcc2
16949 builtin and then its argument prototype would still apply. */
16954 /* The GNU C library defines this for functions which it implements
16955 to always fail with ENOSYS. Some functions are actually named
16956 something starting with __ and the normal name is an alias. */
16957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16965 if { (eval echo configure
:16966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16967 eval "ac_cv_func_$ac_func=yes"
16969 echo "configure: failed program was:" >&5
16970 cat conftest.
$ac_ext >&5
16972 eval "ac_cv_func_$ac_func=no"
16977 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16978 echo "$ac_t""yes" 1>&6
16979 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16980 cat >> confdefs.h
<<EOF
16981 #define $ac_tr_func 1
16985 echo "$ac_t""no" 1>&6
16989 echo $ac_n "checking for _vsnwprintf""... $ac_c" 1>&6
16990 echo "configure:16991: checking for _vsnwprintf" >&5
16991 cat > conftest.
$ac_ext <<EOF
16992 #line 16993 "configure"
16993 #include "confdefs.h"
16999 if { (eval echo configure
:17000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17001 echo "$ac_t""yes" 1>&6
17002 cat >> confdefs.h
<<\EOF
17003 #define HAVE__VSNWPRINTF 1
17007 echo "configure: failed program was:" >&5
17008 cat conftest.
$ac_ext >&5
17010 echo "$ac_t""no" 1>&6
17016 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17017 ac_cpp
='$CPP $CPPFLAGS'
17018 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17019 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17020 cross_compiling
=$ac_cv_prog_cc_cross
17025 if test "$TOOLKIT" != "MSW"; then
17030 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17031 ac_cpp
='$CXXCPP $CPPFLAGS'
17032 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17033 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17034 cross_compiling
=$ac_cv_prog_cxx_cross
17038 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
17039 if test "${with_libiconv_prefix+set}" = set; then
17040 withval
="$with_libiconv_prefix"
17042 for dir
in `echo "$withval" | tr : ' '`; do
17043 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
17044 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
17050 echo $ac_n "checking for iconv""... $ac_c" 1>&6
17051 echo "configure:17052: checking for iconv" >&5
17052 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
17053 echo $ac_n "(cached) $ac_c" 1>&6
17056 am_cv_func_iconv
="no, consider installing GNU libiconv"
17058 cat > conftest.
$ac_ext <<EOF
17059 #line 17060 "configure"
17060 #include "confdefs.h"
17061 #include <stdlib.h>
17064 iconv_t cd = iconv_open("","");
17065 iconv(cd,NULL,NULL,NULL,NULL);
17069 if { (eval echo configure
:17070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17071 am_cv_func_iconv
=yes
17073 echo "configure: failed program was:" >&5
17074 cat conftest.
$ac_ext >&5
17077 if test "$am_cv_func_iconv" != yes; then
17078 am_save_LIBS
="$LIBS"
17079 LIBS
="$LIBS -liconv"
17080 cat > conftest.
$ac_ext <<EOF
17081 #line 17082 "configure"
17082 #include "confdefs.h"
17083 #include <stdlib.h>
17086 iconv_t cd = iconv_open("","");
17087 iconv(cd,NULL,NULL,NULL,NULL);
17091 if { (eval echo configure
:17092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17093 am_cv_lib_iconv
=yes
17094 am_cv_func_iconv
=yes
17096 echo "configure: failed program was:" >&5
17097 cat conftest.
$ac_ext >&5
17100 LIBS
="$am_save_LIBS"
17105 echo "$ac_t""$am_cv_func_iconv" 1>&6
17106 if test "$am_cv_func_iconv" = yes; then
17107 cat >> confdefs.h
<<\EOF
17108 #define HAVE_ICONV 1
17111 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
17112 echo "configure:17113: checking if iconv needs const" >&5
17113 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
17114 echo $ac_n "(cached) $ac_c" 1>&6
17116 cat > conftest.
$ac_ext <<EOF
17117 #line 17118 "configure"
17118 #include "confdefs.h"
17120 #include <stdlib.h>
17126 #if defined(__STDC__) || defined(__cplusplus)
17127 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17136 if { (eval echo configure
:17137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17138 wx_cv_func_iconv_const
="no"
17140 echo "configure: failed program was:" >&5
17141 cat conftest.
$ac_ext >&5
17143 wx_cv_func_iconv_const
="yes"
17150 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
17153 if test "x$wx_cv_func_iconv_const" = "xyes"; then
17154 iconv_const
="const"
17157 cat >> confdefs.h
<<EOF
17158 #define ICONV_CONST $iconv_const
17163 if test "$am_cv_lib_iconv" = yes; then
17168 LIBS
="$LIBICONV $LIBS"
17170 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17171 ac_cpp
='$CPP $CPPFLAGS'
17172 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17173 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17174 cross_compiling
=$ac_cv_prog_cc_cross
17177 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
17178 for ac_func
in sigaction
17180 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17181 echo "configure:17182: checking for $ac_func" >&5
17182 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17183 echo $ac_n "(cached) $ac_c" 1>&6
17185 cat > conftest.
$ac_ext <<EOF
17186 #line 17187 "configure"
17187 #include "confdefs.h"
17188 /* System header to define __stub macros and hopefully few prototypes,
17189 which can conflict with char $ac_func(); below. */
17190 #include <assert.h>
17191 /* Override any gcc2 internal prototype to avoid an error. */
17192 /* We use char because int might match the return type of a gcc2
17193 builtin and then its argument prototype would still apply. */
17198 /* The GNU C library defines this for functions which it implements
17199 to always fail with ENOSYS. Some functions are actually named
17200 something starting with __ and the normal name is an alias. */
17201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17209 if { (eval echo configure
:17210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17211 eval "ac_cv_func_$ac_func=yes"
17213 echo "configure: failed program was:" >&5
17214 cat conftest.
$ac_ext >&5
17216 eval "ac_cv_func_$ac_func=no"
17221 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17222 echo "$ac_t""yes" 1>&6
17223 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17224 cat >> confdefs.h
<<EOF
17225 #define $ac_tr_func 1
17229 echo "$ac_t""no" 1>&6
17234 if test "$ac_cv_func_sigaction" = "no"; then
17235 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
17236 wxUSE_ON_FATAL_EXCEPTION
=no
17239 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17242 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17243 ac_cpp
='$CXXCPP $CPPFLAGS'
17244 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17245 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17246 cross_compiling
=$ac_cv_prog_cxx_cross
17249 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
17250 echo "configure:17251: checking for sa_handler type" >&5
17251 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
17252 echo $ac_n "(cached) $ac_c" 1>&6
17255 cat > conftest.
$ac_ext <<EOF
17256 #line 17257 "configure"
17257 #include "confdefs.h"
17258 #include <signal.h>
17261 extern void testSigHandler(int);
17263 struct sigaction sa;
17264 sa.sa_handler = testSigHandler;
17268 if { (eval echo configure
:17269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17271 wx_cv_type_sa_handler
=int
17274 echo "configure: failed program was:" >&5
17275 cat conftest.
$ac_ext >&5
17278 wx_cv_type_sa_handler
=void
17285 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
17288 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17289 ac_cpp
='$CPP $CPPFLAGS'
17290 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17291 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17292 cross_compiling
=$ac_cv_prog_cc_cross
17295 cat >> confdefs.h
<<EOF
17296 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
17302 for ac_func
in mkstemp mktemp
17304 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17305 echo "configure:17306: checking for $ac_func" >&5
17306 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17307 echo $ac_n "(cached) $ac_c" 1>&6
17309 cat > conftest.
$ac_ext <<EOF
17310 #line 17311 "configure"
17311 #include "confdefs.h"
17312 /* System header to define __stub macros and hopefully few prototypes,
17313 which can conflict with char $ac_func(); below. */
17314 #include <assert.h>
17315 /* Override any gcc2 internal prototype to avoid an error. */
17316 /* We use char because int might match the return type of a gcc2
17317 builtin and then its argument prototype would still apply. */
17322 /* The GNU C library defines this for functions which it implements
17323 to always fail with ENOSYS. Some functions are actually named
17324 something starting with __ and the normal name is an alias. */
17325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17333 if { (eval echo configure
:17334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17335 eval "ac_cv_func_$ac_func=yes"
17337 echo "configure: failed program was:" >&5
17338 cat conftest.
$ac_ext >&5
17340 eval "ac_cv_func_$ac_func=no"
17345 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17346 echo "$ac_t""yes" 1>&6
17347 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17348 cat >> confdefs.h
<<EOF
17349 #define $ac_tr_func 1
17353 echo "$ac_t""no" 1>&6
17358 echo $ac_n "checking for statfs""... $ac_c" 1>&6
17359 echo "configure:17360: checking for statfs" >&5
17360 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
17361 echo $ac_n "(cached) $ac_c" 1>&6
17363 cat > conftest.
$ac_ext <<EOF
17364 #line 17365 "configure"
17365 #include "confdefs.h"
17367 #if defined(__BSD__)
17368 #include <sys/param.h>
17369 #include <sys/mount.h>
17371 #include <sys/vfs.h>
17385 if { (eval echo configure
:17386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17388 wx_cv_func_statfs
=yes
17391 echo "configure: failed program was:" >&5
17392 cat conftest.
$ac_ext >&5
17395 wx_cv_func_statfs
=no
17403 echo "$ac_t""$wx_cv_func_statfs" 1>&6
17405 if test "$wx_cv_func_statfs" = "yes"; then
17406 wx_cv_type_statvfs_t
="struct statfs"
17407 cat >> confdefs.h
<<\EOF
17408 #define HAVE_STATFS 1
17412 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
17413 echo "configure:17414: checking for statvfs" >&5
17414 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
17415 echo $ac_n "(cached) $ac_c" 1>&6
17417 cat > conftest.
$ac_ext <<EOF
17418 #line 17419 "configure"
17419 #include "confdefs.h"
17421 #include <stddef.h>
17422 #include <sys/statvfs.h>
17426 statvfs("/", NULL);
17430 if { (eval echo configure
:17431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17432 wx_cv_func_statvfs
=yes
17434 echo "configure: failed program was:" >&5
17435 cat conftest.
$ac_ext >&5
17437 wx_cv_func_statvfs
=no
17444 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
17446 if test "$wx_cv_func_statvfs" = "yes"; then
17449 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17450 ac_cpp
='$CXXCPP $CPPFLAGS'
17451 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17452 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17453 cross_compiling
=$ac_cv_prog_cxx_cross
17456 echo $ac_n "checking for statvfs argument type""... $ac_c" 1>&6
17457 echo "configure:17458: checking for statvfs argument type" >&5
17458 if eval "test \"`echo '$''{'wx_cv_type_statvfs_t'+set}'`\" = set"; then
17459 echo $ac_n "(cached) $ac_c" 1>&6
17461 cat > conftest.
$ac_ext <<EOF
17462 #line 17463 "configure"
17463 #include "confdefs.h"
17465 #include <sys/statvfs.h>
17478 if { (eval echo configure
:17479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17480 wx_cv_type_statvfs_t
=statvfs_t
17482 echo "configure: failed program was:" >&5
17483 cat conftest.
$ac_ext >&5
17486 cat > conftest.
$ac_ext <<EOF
17487 #line 17488 "configure"
17488 #include "confdefs.h"
17490 #include <sys/statvfs.h>
17503 if { (eval echo configure
:17504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17505 wx_cv_type_statvfs_t
="struct statvfs"
17507 echo "configure: failed program was:" >&5
17508 cat conftest.
$ac_ext >&5
17510 wx_cv_type_statvfs_t
="unknown"
17521 echo "$ac_t""$wx_cv_type_statvfs_t" 1>&6
17524 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17525 ac_cpp
='$CPP $CPPFLAGS'
17526 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17527 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17528 cross_compiling
=$ac_cv_prog_cc_cross
17531 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17532 cat >> confdefs.h
<<\EOF
17533 #define HAVE_STATVFS 1
17538 wx_cv_type_statvfs_t
="unknown"
17542 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17543 cat >> confdefs.h
<<EOF
17544 #define WX_STATFS_T $wx_cv_type_statvfs_t
17548 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
17551 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17552 for ac_func
in fcntl flock
17554 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17555 echo "configure:17556: checking for $ac_func" >&5
17556 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17557 echo $ac_n "(cached) $ac_c" 1>&6
17559 cat > conftest.
$ac_ext <<EOF
17560 #line 17561 "configure"
17561 #include "confdefs.h"
17562 /* System header to define __stub macros and hopefully few prototypes,
17563 which can conflict with char $ac_func(); below. */
17564 #include <assert.h>
17565 /* Override any gcc2 internal prototype to avoid an error. */
17566 /* We use char because int might match the return type of a gcc2
17567 builtin and then its argument prototype would still apply. */
17572 /* The GNU C library defines this for functions which it implements
17573 to always fail with ENOSYS. Some functions are actually named
17574 something starting with __ and the normal name is an alias. */
17575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17583 if { (eval echo configure
:17584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17585 eval "ac_cv_func_$ac_func=yes"
17587 echo "configure: failed program was:" >&5
17588 cat conftest.
$ac_ext >&5
17590 eval "ac_cv_func_$ac_func=no"
17595 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17596 echo "$ac_t""yes" 1>&6
17597 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17598 cat >> confdefs.h
<<EOF
17599 #define $ac_tr_func 1
17603 echo "$ac_t""no" 1>&6
17608 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
17609 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
17610 wxUSE_SNGLINST_CHECKER
=no
17614 for ac_func
in timegm
17616 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17617 echo "configure:17618: checking for $ac_func" >&5
17618 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17619 echo $ac_n "(cached) $ac_c" 1>&6
17621 cat > conftest.
$ac_ext <<EOF
17622 #line 17623 "configure"
17623 #include "confdefs.h"
17624 /* System header to define __stub macros and hopefully few prototypes,
17625 which can conflict with char $ac_func(); below. */
17626 #include <assert.h>
17627 /* Override any gcc2 internal prototype to avoid an error. */
17628 /* We use char because int might match the return type of a gcc2
17629 builtin and then its argument prototype would still apply. */
17634 /* The GNU C library defines this for functions which it implements
17635 to always fail with ENOSYS. Some functions are actually named
17636 something starting with __ and the normal name is an alias. */
17637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17645 if { (eval echo configure
:17646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17647 eval "ac_cv_func_$ac_func=yes"
17649 echo "configure: failed program was:" >&5
17650 cat conftest.
$ac_ext >&5
17652 eval "ac_cv_func_$ac_func=no"
17657 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17658 echo "$ac_t""yes" 1>&6
17659 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17660 cat >> confdefs.h
<<EOF
17661 #define $ac_tr_func 1
17665 echo "$ac_t""no" 1>&6
17670 for ac_func
in putenv setenv
17672 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17673 echo "configure:17674: checking for $ac_func" >&5
17674 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17675 echo $ac_n "(cached) $ac_c" 1>&6
17677 cat > conftest.
$ac_ext <<EOF
17678 #line 17679 "configure"
17679 #include "confdefs.h"
17680 /* System header to define __stub macros and hopefully few prototypes,
17681 which can conflict with char $ac_func(); below. */
17682 #include <assert.h>
17683 /* Override any gcc2 internal prototype to avoid an error. */
17684 /* We use char because int might match the return type of a gcc2
17685 builtin and then its argument prototype would still apply. */
17690 /* The GNU C library defines this for functions which it implements
17691 to always fail with ENOSYS. Some functions are actually named
17692 something starting with __ and the normal name is an alias. */
17693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17701 if { (eval echo configure
:17702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17703 eval "ac_cv_func_$ac_func=yes"
17705 echo "configure: failed program was:" >&5
17706 cat conftest.
$ac_ext >&5
17708 eval "ac_cv_func_$ac_func=no"
17713 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17714 echo "$ac_t""yes" 1>&6
17715 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17716 cat >> confdefs.h
<<EOF
17717 #define $ac_tr_func 1
17721 echo "$ac_t""no" 1>&6
17726 HAVE_SOME_SLEEP_FUNC
=0
17727 if test "$USE_BEOS" = 1; then
17728 cat >> confdefs.h
<<\EOF
17729 #define HAVE_SLEEP 1
17732 HAVE_SOME_SLEEP_FUNC
=1
17735 if test "$USE_DARWIN" = 1; then
17736 cat >> confdefs.h
<<\EOF
17737 #define HAVE_USLEEP 1
17740 HAVE_SOME_SLEEP_FUNC
=1
17743 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
17745 for ac_func
in nanosleep
17747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17748 echo "configure:17749: checking for $ac_func" >&5
17749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17750 echo $ac_n "(cached) $ac_c" 1>&6
17752 cat > conftest.
$ac_ext <<EOF
17753 #line 17754 "configure"
17754 #include "confdefs.h"
17755 /* System header to define __stub macros and hopefully few prototypes,
17756 which can conflict with char $ac_func(); below. */
17757 #include <assert.h>
17758 /* Override any gcc2 internal prototype to avoid an error. */
17759 /* We use char because int might match the return type of a gcc2
17760 builtin and then its argument prototype would still apply. */
17765 /* The GNU C library defines this for functions which it implements
17766 to always fail with ENOSYS. Some functions are actually named
17767 something starting with __ and the normal name is an alias. */
17768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17776 if { (eval echo configure
:17777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17778 eval "ac_cv_func_$ac_func=yes"
17780 echo "configure: failed program was:" >&5
17781 cat conftest.
$ac_ext >&5
17783 eval "ac_cv_func_$ac_func=no"
17788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17789 echo "$ac_t""yes" 1>&6
17790 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17791 cat >> confdefs.h
<<EOF
17792 #define $ac_tr_func 1
17794 cat >> confdefs.h
<<\EOF
17795 #define HAVE_NANOSLEEP 1
17799 echo "$ac_t""no" 1>&6
17800 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
17801 echo "configure:17802: checking for nanosleep in -lposix4" >&5
17802 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
17803 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17804 echo $ac_n "(cached) $ac_c" 1>&6
17806 ac_save_LIBS
="$LIBS"
17807 LIBS
="-lposix4 $LIBS"
17808 cat > conftest.
$ac_ext <<EOF
17809 #line 17810 "configure"
17810 #include "confdefs.h"
17811 /* Override any gcc2 internal prototype to avoid an error. */
17812 /* We use char because int might match the return type of a gcc2
17813 builtin and then its argument prototype would still apply. */
17820 if { (eval echo configure
:17821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17822 eval "ac_cv_lib_$ac_lib_var=yes"
17824 echo "configure: failed program was:" >&5
17825 cat conftest.
$ac_ext >&5
17827 eval "ac_cv_lib_$ac_lib_var=no"
17830 LIBS
="$ac_save_LIBS"
17833 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17834 echo "$ac_t""yes" 1>&6
17836 cat >> confdefs.h
<<\EOF
17837 #define HAVE_NANOSLEEP 1
17840 POSIX4_LINK
=" -lposix4"
17843 echo "$ac_t""no" 1>&6
17845 for ac_func
in usleep
17847 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17848 echo "configure:17849: checking for $ac_func" >&5
17849 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17850 echo $ac_n "(cached) $ac_c" 1>&6
17852 cat > conftest.
$ac_ext <<EOF
17853 #line 17854 "configure"
17854 #include "confdefs.h"
17855 /* System header to define __stub macros and hopefully few prototypes,
17856 which can conflict with char $ac_func(); below. */
17857 #include <assert.h>
17858 /* Override any gcc2 internal prototype to avoid an error. */
17859 /* We use char because int might match the return type of a gcc2
17860 builtin and then its argument prototype would still apply. */
17865 /* The GNU C library defines this for functions which it implements
17866 to always fail with ENOSYS. Some functions are actually named
17867 something starting with __ and the normal name is an alias. */
17868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17876 if { (eval echo configure
:17877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17878 eval "ac_cv_func_$ac_func=yes"
17880 echo "configure: failed program was:" >&5
17881 cat conftest.
$ac_ext >&5
17883 eval "ac_cv_func_$ac_func=no"
17888 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17889 echo "$ac_t""yes" 1>&6
17890 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17891 cat >> confdefs.h
<<EOF
17892 #define $ac_tr_func 1
17894 cat >> confdefs.h
<<\EOF
17895 #define HAVE_USLEEP 1
17899 echo "$ac_t""no" 1>&6
17900 echo "configure: warning: wxSleep() function will not work" 1>&2
17916 for ac_func
in uname gethostname
17918 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17919 echo "configure:17920: checking for $ac_func" >&5
17920 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17921 echo $ac_n "(cached) $ac_c" 1>&6
17923 cat > conftest.
$ac_ext <<EOF
17924 #line 17925 "configure"
17925 #include "confdefs.h"
17926 /* System header to define __stub macros and hopefully few prototypes,
17927 which can conflict with char $ac_func(); below. */
17928 #include <assert.h>
17929 /* Override any gcc2 internal prototype to avoid an error. */
17930 /* We use char because int might match the return type of a gcc2
17931 builtin and then its argument prototype would still apply. */
17936 /* The GNU C library defines this for functions which it implements
17937 to always fail with ENOSYS. Some functions are actually named
17938 something starting with __ and the normal name is an alias. */
17939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17947 if { (eval echo configure
:17948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17949 eval "ac_cv_func_$ac_func=yes"
17951 echo "configure: failed program was:" >&5
17952 cat conftest.
$ac_ext >&5
17954 eval "ac_cv_func_$ac_func=no"
17959 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17960 echo "$ac_t""yes" 1>&6
17961 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17962 cat >> confdefs.h
<<EOF
17963 #define $ac_tr_func 1
17967 echo "$ac_t""no" 1>&6
17974 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17975 ac_cpp
='$CXXCPP $CPPFLAGS'
17976 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17977 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17978 cross_compiling
=$ac_cv_prog_cxx_cross
17981 for ac_func
in strtok_r
17983 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17984 echo "configure:17985: checking for $ac_func" >&5
17985 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17986 echo $ac_n "(cached) $ac_c" 1>&6
17988 cat > conftest.
$ac_ext <<EOF
17989 #line 17990 "configure"
17990 #include "confdefs.h"
17991 /* System header to define __stub macros and hopefully few prototypes,
17992 which can conflict with char $ac_func(); below. */
17993 #include <assert.h>
17994 /* Override any gcc2 internal prototype to avoid an error. */
17998 /* We use char because int might match the return type of a gcc2
17999 builtin and then its argument prototype would still apply. */
18004 /* The GNU C library defines this for functions which it implements
18005 to always fail with ENOSYS. Some functions are actually named
18006 something starting with __ and the normal name is an alias. */
18007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18015 if { (eval echo configure
:18016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18017 eval "ac_cv_func_$ac_func=yes"
18019 echo "configure: failed program was:" >&5
18020 cat conftest.
$ac_ext >&5
18022 eval "ac_cv_func_$ac_func=no"
18027 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18028 echo "$ac_t""yes" 1>&6
18029 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18030 cat >> confdefs.h
<<EOF
18031 #define $ac_tr_func 1
18035 echo "$ac_t""no" 1>&6
18041 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18042 ac_cpp
='$CPP $CPPFLAGS'
18043 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18044 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18045 cross_compiling
=$ac_cv_prog_cc_cross
18049 for ac_func
in inet_addr
18051 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18052 echo "configure:18053: checking for $ac_func" >&5
18053 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18054 echo $ac_n "(cached) $ac_c" 1>&6
18056 cat > conftest.
$ac_ext <<EOF
18057 #line 18058 "configure"
18058 #include "confdefs.h"
18059 /* System header to define __stub macros and hopefully few prototypes,
18060 which can conflict with char $ac_func(); below. */
18061 #include <assert.h>
18062 /* Override any gcc2 internal prototype to avoid an error. */
18063 /* We use char because int might match the return type of a gcc2
18064 builtin and then its argument prototype would still apply. */
18069 /* The GNU C library defines this for functions which it implements
18070 to always fail with ENOSYS. Some functions are actually named
18071 something starting with __ and the normal name is an alias. */
18072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18080 if { (eval echo configure
:18081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18082 eval "ac_cv_func_$ac_func=yes"
18084 echo "configure: failed program was:" >&5
18085 cat conftest.
$ac_ext >&5
18087 eval "ac_cv_func_$ac_func=no"
18092 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18093 echo "$ac_t""yes" 1>&6
18094 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18095 cat >> confdefs.h
<<EOF
18096 #define $ac_tr_func 1
18098 cat >> confdefs.h
<<\EOF
18099 #define HAVE_INET_ADDR 1
18103 echo "$ac_t""no" 1>&6
18104 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
18105 echo "configure:18106: checking for inet_addr in -lnsl" >&5
18106 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
18107 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18108 echo $ac_n "(cached) $ac_c" 1>&6
18110 ac_save_LIBS
="$LIBS"
18112 cat > conftest.
$ac_ext <<EOF
18113 #line 18114 "configure"
18114 #include "confdefs.h"
18115 /* Override any gcc2 internal prototype to avoid an error. */
18116 /* We use char because int might match the return type of a gcc2
18117 builtin and then its argument prototype would still apply. */
18124 if { (eval echo configure
:18125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18126 eval "ac_cv_lib_$ac_lib_var=yes"
18128 echo "configure: failed program was:" >&5
18129 cat conftest.
$ac_ext >&5
18131 eval "ac_cv_lib_$ac_lib_var=no"
18134 LIBS
="$ac_save_LIBS"
18137 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18138 echo "$ac_t""yes" 1>&6
18141 echo "$ac_t""no" 1>&6
18142 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
18143 echo "configure:18144: checking for inet_addr in -lresolv" >&5
18144 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
18145 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18146 echo $ac_n "(cached) $ac_c" 1>&6
18148 ac_save_LIBS
="$LIBS"
18149 LIBS
="-lresolv $LIBS"
18150 cat > conftest.
$ac_ext <<EOF
18151 #line 18152 "configure"
18152 #include "confdefs.h"
18153 /* Override any gcc2 internal prototype to avoid an error. */
18154 /* We use char because int might match the return type of a gcc2
18155 builtin and then its argument prototype would still apply. */
18162 if { (eval echo configure
:18163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18164 eval "ac_cv_lib_$ac_lib_var=yes"
18166 echo "configure: failed program was:" >&5
18167 cat conftest.
$ac_ext >&5
18169 eval "ac_cv_lib_$ac_lib_var=no"
18172 LIBS
="$ac_save_LIBS"
18175 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18176 echo "$ac_t""yes" 1>&6
18179 echo "$ac_t""no" 1>&6
18180 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
18181 echo "configure:18182: checking for inet_addr in -lsocket" >&5
18182 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
18183 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18184 echo $ac_n "(cached) $ac_c" 1>&6
18186 ac_save_LIBS
="$LIBS"
18187 LIBS
="-lsocket $LIBS"
18188 cat > conftest.
$ac_ext <<EOF
18189 #line 18190 "configure"
18190 #include "confdefs.h"
18191 /* Override any gcc2 internal prototype to avoid an error. */
18192 /* We use char because int might match the return type of a gcc2
18193 builtin and then its argument prototype would still apply. */
18200 if { (eval echo configure
:18201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18202 eval "ac_cv_lib_$ac_lib_var=yes"
18204 echo "configure: failed program was:" >&5
18205 cat conftest.
$ac_ext >&5
18207 eval "ac_cv_lib_$ac_lib_var=no"
18210 LIBS
="$ac_save_LIBS"
18213 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18214 echo "$ac_t""yes" 1>&6
18218 echo "$ac_t""no" 1>&6
18233 for ac_func
in inet_aton
18235 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18236 echo "configure:18237: checking for $ac_func" >&5
18237 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18238 echo $ac_n "(cached) $ac_c" 1>&6
18240 cat > conftest.
$ac_ext <<EOF
18241 #line 18242 "configure"
18242 #include "confdefs.h"
18243 /* System header to define __stub macros and hopefully few prototypes,
18244 which can conflict with char $ac_func(); below. */
18245 #include <assert.h>
18246 /* Override any gcc2 internal prototype to avoid an error. */
18247 /* We use char because int might match the return type of a gcc2
18248 builtin and then its argument prototype would still apply. */
18253 /* The GNU C library defines this for functions which it implements
18254 to always fail with ENOSYS. Some functions are actually named
18255 something starting with __ and the normal name is an alias. */
18256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18264 if { (eval echo configure
:18265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18266 eval "ac_cv_func_$ac_func=yes"
18268 echo "configure: failed program was:" >&5
18269 cat conftest.
$ac_ext >&5
18271 eval "ac_cv_func_$ac_func=no"
18276 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18277 echo "$ac_t""yes" 1>&6
18278 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18279 cat >> confdefs.h
<<EOF
18280 #define $ac_tr_func 1
18282 cat >> confdefs.h
<<\EOF
18283 #define HAVE_INET_ATON 1
18287 echo "$ac_t""no" 1>&6
18288 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
18289 echo "configure:18290: checking for inet_aton in -l$INET_LINK" >&5
18290 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
18291 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18292 echo $ac_n "(cached) $ac_c" 1>&6
18294 ac_save_LIBS
="$LIBS"
18295 LIBS
="-l$INET_LINK $LIBS"
18296 cat > conftest.
$ac_ext <<EOF
18297 #line 18298 "configure"
18298 #include "confdefs.h"
18299 /* Override any gcc2 internal prototype to avoid an error. */
18300 /* We use char because int might match the return type of a gcc2
18301 builtin and then its argument prototype would still apply. */
18308 if { (eval echo configure
:18309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18310 eval "ac_cv_lib_$ac_lib_var=yes"
18312 echo "configure: failed program was:" >&5
18313 cat conftest.
$ac_ext >&5
18315 eval "ac_cv_lib_$ac_lib_var=no"
18318 LIBS
="$ac_save_LIBS"
18321 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18322 echo "$ac_t""yes" 1>&6
18323 cat >> confdefs.h
<<\EOF
18324 #define HAVE_INET_ATON 1
18328 echo "$ac_t""no" 1>&6
18336 if test "x$INET_LINK" != "x"; then
18337 cat >> confdefs.h
<<\EOF
18338 #define HAVE_INET_ADDR 1
18341 INET_LINK
=" -l$INET_LINK"
18347 cat > confcache
<<\EOF
18348 # This file is a shell script that caches the results of configure
18349 # tests run on this system so they can be shared between configure
18350 # scripts and configure runs. It is not useful on other systems.
18351 # If it contains results you don't want to keep, you may remove or edit it.
18353 # By default, configure uses ./config.cache as the cache file,
18354 # creating it if it does not exist already. You can give configure
18355 # the --cache-file=FILE option to use a different cache file; that is
18356 # what configure does when it calls configure scripts in
18357 # subdirectories, so they share the cache.
18358 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18359 # config.status only pays attention to the cache file if you give it the
18360 # --recheck option to rerun configure.
18363 # The following way of writing the cache mishandles newlines in values,
18364 # but we know of no workaround that is simple, portable, and efficient.
18365 # So, don't put newlines in cache variables' values.
18366 # Ultrix sh set writes to stderr and can't be redirected directly,
18367 # and sets the high bit in the cache file unless we assign to the vars.
18369 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18371 # `set' does not quote correctly, so add quotes (double-quote substitution
18372 # turns \\\\ into \\, and sed turns \\ into \).
18374 -e "s/'/'\\\\''/g" \
18375 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18378 # `set' quotes correctly as required by POSIX, so do not add quotes.
18379 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18382 if cmp -s $cache_file confcache
; then
18385 if test -w $cache_file; then
18386 echo "updating cache $cache_file"
18387 cat confcache
> $cache_file
18389 echo "not updating unwritable cache $cache_file"
18397 if test "$TOOLKIT" != "MSW"; then
18403 if test "$wxUSE_THREADS" = "yes" ; then
18404 if test "$USE_BEOS" = 1; then
18405 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
18410 if test "$wxUSE_THREADS" = "yes" ; then
18413 THREAD_OPTS
="-pthread"
18415 *-*-solaris2* | *-*-sunos4* )
18416 if test "x$GCC" = "xyes"; then
18417 THREAD_OPTS
="-pthreads $THREAD_OPTS"
18419 THREAD_OPTS
="-mt $THREAD_OPTS"
18423 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
18425 *-*-darwin* | *-*-cygwin* )
18429 THREAD_OPTS
="pthreads"
18433 THREAD_OPTS
="$THREAD_OPTS pthread none"
18436 for flag
in $THREAD_OPTS; do
18439 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
18440 echo "configure:18441: checking whether pthreads work without any flags" >&5
18444 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
18445 echo "configure:18446: checking whether pthreads work with $flag" >&5
18446 THREADS_CFLAGS
="$flag"
18450 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
18451 echo "configure:18452: checking for the pthreads library -l$flag" >&5
18452 THREADS_LINK
="-l$flag"
18457 save_CFLAGS
="$CFLAGS"
18458 LIBS
="$THREADS_LINK $LIBS"
18459 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
18461 cat > conftest.
$ac_ext <<EOF
18462 #line 18463 "configure"
18463 #include "confdefs.h"
18464 #include <pthread.h>
18466 pthread_create(0,0,0,0);
18469 if { (eval echo configure
:18470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18473 echo "configure: failed program was:" >&5
18474 cat conftest.
$ac_ext >&5
18479 CFLAGS
="$save_CFLAGS"
18481 echo "$ac_t""$THREADS_OK" 1>&6
18482 if test "x$THREADS_OK" = "xyes"; then
18490 if test "x$THREADS_OK" != "xyes"; then
18492 echo "configure: warning: No thread support on this system... disabled" 1>&2
18494 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
18495 LIBS
="$THREADS_LINK $LIBS"
18497 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
18498 echo "configure:18499: checking if more special flags are required for pthreads" >&5
18502 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
18503 flag
="-D_THREAD_SAFE"
18506 flag
="-D_THREAD_SAFE"
18509 flag
="-D_REENTRANT"
18511 *solaris
* | alpha
*-osf*)
18512 flag
="-D_REENTRANT"
18515 echo "$ac_t""${flag}" 1>&6
18516 if test "x$flag" != xno
; then
18517 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
18520 if test "x$THREADS_CFLAGS" != "x"; then
18521 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
18522 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
18527 if test "$wxUSE_THREADS" = "yes" ; then
18528 for ac_func
in thr_setconcurrency
18530 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18531 echo "configure:18532: checking for $ac_func" >&5
18532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18533 echo $ac_n "(cached) $ac_c" 1>&6
18535 cat > conftest.
$ac_ext <<EOF
18536 #line 18537 "configure"
18537 #include "confdefs.h"
18538 /* System header to define __stub macros and hopefully few prototypes,
18539 which can conflict with char $ac_func(); below. */
18540 #include <assert.h>
18541 /* Override any gcc2 internal prototype to avoid an error. */
18542 /* We use char because int might match the return type of a gcc2
18543 builtin and then its argument prototype would still apply. */
18548 /* The GNU C library defines this for functions which it implements
18549 to always fail with ENOSYS. Some functions are actually named
18550 something starting with __ and the normal name is an alias. */
18551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18559 if { (eval echo configure
:18560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18561 eval "ac_cv_func_$ac_func=yes"
18563 echo "configure: failed program was:" >&5
18564 cat conftest.
$ac_ext >&5
18566 eval "ac_cv_func_$ac_func=no"
18571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18572 echo "$ac_t""yes" 1>&6
18573 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18574 cat >> confdefs.h
<<EOF
18575 #define $ac_tr_func 1
18579 echo "$ac_t""no" 1>&6
18584 for ac_hdr
in sched.h
18586 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18587 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18588 echo "configure:18589: checking for $ac_hdr" >&5
18589 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18590 echo $ac_n "(cached) $ac_c" 1>&6
18592 cat > conftest.
$ac_ext <<EOF
18593 #line 18594 "configure"
18594 #include "confdefs.h"
18597 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18598 { (eval echo configure
:18599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18599 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18600 if test -z "$ac_err"; then
18602 eval "ac_cv_header_$ac_safe=yes"
18605 echo "configure: failed program was:" >&5
18606 cat conftest.
$ac_ext >&5
18608 eval "ac_cv_header_$ac_safe=no"
18612 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18613 echo "$ac_t""yes" 1>&6
18614 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18615 cat >> confdefs.h
<<EOF
18616 #define $ac_tr_hdr 1
18620 echo "$ac_t""no" 1>&6
18624 if test "$ac_cv_header_sched_h" = "yes"; then
18625 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
18626 echo "configure:18627: checking for sched_yield" >&5
18627 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
18628 echo $ac_n "(cached) $ac_c" 1>&6
18630 cat > conftest.
$ac_ext <<EOF
18631 #line 18632 "configure"
18632 #include "confdefs.h"
18633 /* System header to define __stub macros and hopefully few prototypes,
18634 which can conflict with char sched_yield(); below. */
18635 #include <assert.h>
18636 /* Override any gcc2 internal prototype to avoid an error. */
18637 /* We use char because int might match the return type of a gcc2
18638 builtin and then its argument prototype would still apply. */
18639 char sched_yield();
18643 /* The GNU C library defines this for functions which it implements
18644 to always fail with ENOSYS. Some functions are actually named
18645 something starting with __ and the normal name is an alias. */
18646 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
18654 if { (eval echo configure
:18655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18656 eval "ac_cv_func_sched_yield=yes"
18658 echo "configure: failed program was:" >&5
18659 cat conftest.
$ac_ext >&5
18661 eval "ac_cv_func_sched_yield=no"
18666 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
18667 echo "$ac_t""yes" 1>&6
18668 cat >> confdefs.h
<<\EOF
18669 #define HAVE_SCHED_YIELD 1
18673 echo "$ac_t""no" 1>&6
18675 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
18676 echo "configure:18677: checking for sched_yield in -lposix4" >&5
18677 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
18678 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18679 echo $ac_n "(cached) $ac_c" 1>&6
18681 ac_save_LIBS
="$LIBS"
18682 LIBS
="-lposix4 $LIBS"
18683 cat > conftest.
$ac_ext <<EOF
18684 #line 18685 "configure"
18685 #include "confdefs.h"
18686 /* Override any gcc2 internal prototype to avoid an error. */
18687 /* We use char because int might match the return type of a gcc2
18688 builtin and then its argument prototype would still apply. */
18689 char sched_yield();
18695 if { (eval echo configure
:18696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18697 eval "ac_cv_lib_$ac_lib_var=yes"
18699 echo "configure: failed program was:" >&5
18700 cat conftest.
$ac_ext >&5
18702 eval "ac_cv_lib_$ac_lib_var=no"
18705 LIBS
="$ac_save_LIBS"
18708 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18709 echo "$ac_t""yes" 1>&6
18710 cat >> confdefs.h
<<\EOF
18711 #define HAVE_SCHED_YIELD 1
18713 POSIX4_LINK
=" -lposix4"
18715 echo "$ac_t""no" 1>&6
18716 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
18727 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
18728 echo "configure:18729: checking for pthread_attr_getschedpolicy" >&5
18729 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
18730 echo $ac_n "(cached) $ac_c" 1>&6
18732 cat > conftest.
$ac_ext <<EOF
18733 #line 18734 "configure"
18734 #include "confdefs.h"
18735 /* System header to define __stub macros and hopefully few prototypes,
18736 which can conflict with char pthread_attr_getschedpolicy(); below. */
18737 #include <assert.h>
18738 /* Override any gcc2 internal prototype to avoid an error. */
18739 /* We use char because int might match the return type of a gcc2
18740 builtin and then its argument prototype would still apply. */
18741 char pthread_attr_getschedpolicy();
18745 /* The GNU C library defines this for functions which it implements
18746 to always fail with ENOSYS. Some functions are actually named
18747 something starting with __ and the normal name is an alias. */
18748 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
18751 pthread_attr_getschedpolicy();
18756 if { (eval echo configure
:18757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18758 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
18760 echo "configure: failed program was:" >&5
18761 cat conftest.
$ac_ext >&5
18763 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
18768 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
18769 echo "$ac_t""yes" 1>&6
18770 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
18771 echo "configure:18772: checking for pthread_attr_setschedparam" >&5
18772 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
18773 echo $ac_n "(cached) $ac_c" 1>&6
18775 cat > conftest.
$ac_ext <<EOF
18776 #line 18777 "configure"
18777 #include "confdefs.h"
18778 /* System header to define __stub macros and hopefully few prototypes,
18779 which can conflict with char pthread_attr_setschedparam(); below. */
18780 #include <assert.h>
18781 /* Override any gcc2 internal prototype to avoid an error. */
18782 /* We use char because int might match the return type of a gcc2
18783 builtin and then its argument prototype would still apply. */
18784 char pthread_attr_setschedparam();
18788 /* The GNU C library defines this for functions which it implements
18789 to always fail with ENOSYS. Some functions are actually named
18790 something starting with __ and the normal name is an alias. */
18791 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
18794 pthread_attr_setschedparam();
18799 if { (eval echo configure
:18800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18801 eval "ac_cv_func_pthread_attr_setschedparam=yes"
18803 echo "configure: failed program was:" >&5
18804 cat conftest.
$ac_ext >&5
18806 eval "ac_cv_func_pthread_attr_setschedparam=no"
18811 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
18812 echo "$ac_t""yes" 1>&6
18813 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
18814 echo "configure:18815: checking for sched_get_priority_max" >&5
18815 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
18816 echo $ac_n "(cached) $ac_c" 1>&6
18818 cat > conftest.
$ac_ext <<EOF
18819 #line 18820 "configure"
18820 #include "confdefs.h"
18821 /* System header to define __stub macros and hopefully few prototypes
18823 echo "$ac_t""no" 1>&6
18824 which can conflict with char sched_get_priority_max(); below. */
18825 #include <assert.h>
18826 /* Override any gcc2 internal prototype to avoid an error. */
18827 /* We use char because int might match the return type of a gcc2
18828 builtin and then its argument prototype would still apply. */
18829 char sched_get_priority_max();
18833 /* The GNU C library defines this for functions which it implements
18834 to always fail with ENOSYS. Some functions are actually named
18835 something starting with __ and the normal name is an alias. */
18836 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
18839 sched_get_priority_max();
18844 if { (eval echo configure
:18845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18846 eval "ac_cv_func_sched_get_priority_max=yes"
18848 echo "configure: failed program was:" >&5
18849 cat conftest.
$ac_ext >&5
18851 eval "ac_cv_func_sched_get_priority_max=no"
18856 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
18857 echo "$ac_t""yes" 1>&6
18860 echo "$ac_t""no" 1>&6
18861 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
18862 echo "configure:18863: checking for sched_get_priority_max in -lposix4" >&5
18863 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
18864 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18865 echo $ac_n "(cached) $ac_c" 1>&6
18867 ac_save_LIBS
="$LIBS"
18868 LIBS
="-lposix4 $LIBS"
18869 cat > conftest.
$ac_ext <<EOF
18870 #line 18871 "configure"
18871 #include "confdefs.h"
18872 /* Override any gcc2 internal prototype to avoid an error. */
18873 /* We use char because int might match the return type of a gcc2
18874 builtin and then its argument prototype would still apply. */
18875 char sched_get_priority_max();
18878 sched_get_priority_max()
18881 if { (eval echo configure
:18882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18883 eval "ac_cv_lib_$ac_lib_var=yes"
18885 echo "configure: failed program was:" >&5
18886 cat conftest.
$ac_ext >&5
18888 eval "ac_cv_lib_$ac_lib_var=no"
18891 LIBS
="$ac_save_LIBS"
18894 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18895 echo "$ac_t""yes" 1>&6
18898 POSIX4_LINK
=" -lposix4"
18901 echo "$ac_t""no" 1>&6
18909 echo "$ac_t""no" 1>&6
18916 if test "$HAVE_PRIOR_FUNCS" = 1; then
18917 cat >> confdefs.h
<<\EOF
18918 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
18922 echo "configure: warning: Setting thread priority will not work" 1>&2
18925 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
18926 echo "configure:18927: checking for pthread_cancel" >&5
18927 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
18928 echo $ac_n "(cached) $ac_c" 1>&6
18930 cat > conftest.
$ac_ext <<EOF
18931 #line 18932 "configure"
18932 #include "confdefs.h"
18933 /* System header to define __stub macros and hopefully few prototypes,
18934 which can conflict with char pthread_cancel(); below. */
18935 #include <assert.h>
18936 /* Override any gcc2 internal prototype to avoid an error. */
18937 /* We use char because int might match the return type of a gcc2
18938 builtin and then its argument prototype would still apply. */
18939 char pthread_cancel();
18943 /* The GNU C library defines this for functions which it implements
18944 to always fail with ENOSYS. Some functions are actually named
18945 something starting with __ and the normal name is an alias. */
18946 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
18954 if { (eval echo configure
:18955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18956 eval "ac_cv_func_pthread_cancel=yes"
18958 echo "configure: failed program was:" >&5
18959 cat conftest.
$ac_ext >&5
18961 eval "ac_cv_func_pthread_cancel=no"
18966 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
18967 echo "$ac_t""yes" 1>&6
18968 cat >> confdefs.h
<<\EOF
18969 #define HAVE_PTHREAD_CANCEL 1
18973 echo "$ac_t""no" 1>&6
18974 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
18978 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
18979 echo "configure:18980: checking for pthread_cleanup_push/pop" >&5
18980 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
18981 echo $ac_n "(cached) $ac_c" 1>&6
18984 cat > conftest.
$ac_ext <<EOF
18985 #line 18986 "configure"
18986 #include "confdefs.h"
18987 #include <pthread.h>
18990 pthread_cleanup_push(NULL, NULL);
18991 pthread_cleanup_pop(0);
18995 if { (eval echo configure
:18996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18998 wx_cv_func_pthread_cleanup_push
=yes
19001 echo "configure: failed program was:" >&5
19002 cat conftest.
$ac_ext >&5
19005 wx_cv_func_pthread_cleanup_push
=no
19012 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
19014 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
19015 cat >> confdefs.h
<<\EOF
19016 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
19022 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
19023 echo "configure:19024: checking for pthread_mutexattr_t" >&5
19024 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
19025 echo $ac_n "(cached) $ac_c" 1>&6
19028 cat > conftest.
$ac_ext <<EOF
19029 #line 19030 "configure"
19030 #include "confdefs.h"
19031 #include <pthread.h>
19034 pthread_mutexattr_t attr;
19035 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
19039 if { (eval echo configure
:19040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19042 wx_cv_type_pthread_mutexattr_t
=yes
19045 echo "configure: failed program was:" >&5
19046 cat conftest.
$ac_ext >&5
19049 wx_cv_type_pthread_mutexattr_t
=no
19057 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
19059 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
19060 cat >> confdefs.h
<<\EOF
19061 #define HAVE_PTHREAD_MUTEXATTR_T 1
19065 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
19066 echo "configure:19067: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
19067 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
19068 echo $ac_n "(cached) $ac_c" 1>&6
19071 cat > conftest.
$ac_ext <<EOF
19072 #line 19073 "configure"
19073 #include "confdefs.h"
19074 #include <pthread.h>
19077 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
19081 if { (eval echo configure
:19082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19084 wx_cv_type_pthread_rec_mutex_init
=yes
19087 echo "configure: failed program was:" >&5
19088 cat conftest.
$ac_ext >&5
19091 wx_cv_type_pthread_rec_mutex_init
=no
19099 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
19100 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
19101 cat >> confdefs.h
<<\EOF
19102 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
19106 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
19112 if test "$wxUSE_THREADS" = "yes" ; then
19115 echo $ac_n "checking if compiler supports -mthreads""... $ac_c" 1>&6
19116 echo "configure:19117: checking if compiler supports -mthreads" >&5
19117 if eval "test \"`echo '$''{'wx_cv_cflags_mthread'+set}'`\" = set"; then
19118 echo $ac_n "(cached) $ac_c" 1>&6
19121 CFLAGS_OLD
="$CFLAGS"
19122 CFLAGS
="$CFLAGS -mthreads"
19123 cat > conftest.
$ac_ext <<EOF
19124 #line 19125 "configure"
19125 #include "confdefs.h"
19131 if { (eval echo configure
:19132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19133 wx_cv_cflags_mthread
=yes
19135 echo "configure: failed program was:" >&5
19136 cat conftest.
$ac_ext >&5
19138 wx_cv_cflags_mthread
=no
19146 echo "$ac_t""$wx_cv_cflags_mthread" 1>&6
19148 if test "$wx_cv_cflags_mthread" = "yes"; then
19149 CXXFLAGS
="$CXXFLAGS -mthreads"
19150 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
19151 LDFLAGS
="$LDFLAGS -mthreads"
19153 CFLAGS
="$CFLAGS_OLD"
19160 if test "$wxUSE_THREADS" = "yes"; then
19161 cat >> confdefs.h
<<\EOF
19162 #define wxUSE_THREADS 1
19166 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
19168 if test "$ac_cv_func_strtok_r" = "yes"; then
19169 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
19170 echo "configure:19171: checking if -D_REENTRANT is needed" >&5
19171 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
19172 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
19173 echo "$ac_t""yes" 1>&6
19175 echo "$ac_t""no" 1>&6
19180 if test "$WXGTK20" = 1 ; then
19181 cat >> confdefs.h
<<EOF
19182 #define __WXGTK20__ $WXGTK20
19188 if test "$WXGTK12" = 1 ; then
19189 cat >> confdefs.h
<<EOF
19190 #define __WXGTK12__ $WXGTK12
19195 if test "$WXGTK127" = 1 ; then
19196 cat >> confdefs.h
<<EOF
19197 #define __WXGTK127__ $WXGTK127
19204 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
19209 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
19210 wxUSE_DEBUG_INFO
=yes
19214 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
19215 cat >> confdefs.h
<<\EOF
19219 WXDEBUG_DEFINE
="-D__WXDEBUG__"
19221 if test "$wxUSE_GTK" = 1 ; then
19222 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
19226 if test "$wxUSE_MEM_TRACING" = "yes" ; then
19227 cat >> confdefs.h
<<\EOF
19228 #define wxUSE_MEMORY_TRACING 1
19231 cat >> confdefs.h
<<\EOF
19232 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
19235 cat >> confdefs.h
<<\EOF
19236 #define wxUSE_DEBUG_NEW_ALWAYS 1
19239 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
19242 if test "$wxUSE_DMALLOC" = "yes" ; then
19243 DMALLOC_LIBS
="-ldmalloc"
19247 if test "$wxUSE_PROFILE" = "yes" ; then
19252 CODE_GEN_FLAGS_CXX
=
19253 if test "$GCC" = "yes" ; then
19254 if test "$wxUSE_NO_RTTI" = "yes" ; then
19255 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
19257 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
19258 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
19260 if test "$wxUSE_PERMISSIVE" = "yes" ; then
19261 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
19263 if test "$USE_WIN32" = 1 ; then
19264 # I'm not even really sure what this was ever added to solve,
19265 # but someone added it for mingw native builds, so I guess
19266 # they had a reason, right??
19267 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
19272 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
19275 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
19280 if test "$wxUSE_OPTIMISE" = "no" ; then
19283 if test "$GCC" = yes ; then
19286 i586
-*-*|i686
-*-* )
19287 OPTIMISE
="${OPTIMISE} "
19295 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
19296 cat >> confdefs.h
<<\EOF
19297 #define WXWIN_COMPATIBILITY_2 1
19301 WXWIN_COMPATIBILITY_2_2
="yes"
19304 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
19305 cat >> confdefs.h
<<\EOF
19306 #define WXWIN_COMPATIBILITY_2_2 1
19311 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
19312 cat >> confdefs.h
<<\EOF
19313 #define WXWIN_COMPATIBILITY_2_4 1
19319 if test "$wxUSE_GUI" = "yes"; then
19320 cat >> confdefs.h
<<\EOF
19321 #define wxUSE_GUI 1
19326 cat >> confdefs.h
<<\EOF
19327 #define wxUSE_NOGUI 1
19333 if test "$wxUSE_UNIX" = "yes"; then
19334 cat >> confdefs.h
<<\EOF
19335 #define wxUSE_UNIX 1
19341 if test "$wxUSE_APPLE_IEEE" = "yes"; then
19342 cat >> confdefs.h
<<\EOF
19343 #define wxUSE_APPLE_IEEE 1
19348 if test "$wxUSE_TIMER" = "yes"; then
19349 cat >> confdefs.h
<<\EOF
19350 #define wxUSE_TIMER 1
19355 if test "$wxUSE_WAVE" = "yes"; then
19356 cat >> confdefs.h
<<\EOF
19357 #define wxUSE_WAVE 1
19362 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
19363 cat >> confdefs.h
<<\EOF
19364 #define wxUSE_CMDLINE_PARSER 1
19369 if test "$wxUSE_STOPWATCH" = "yes"; then
19370 cat >> confdefs.h
<<\EOF
19371 #define wxUSE_STOPWATCH 1
19376 if test "$wxUSE_DATETIME" = "yes"; then
19377 cat >> confdefs.h
<<\EOF
19378 #define wxUSE_DATETIME 1
19383 if test "$wxUSE_TIMEDATE" = "yes"; then
19384 cat >> confdefs.h
<<\EOF
19385 #define wxUSE_TIMEDATE 1
19390 if test "$wxUSE_FILE" = "yes"; then
19391 cat >> confdefs.h
<<\EOF
19392 #define wxUSE_FILE 1
19397 if test "$wxUSE_FFILE" = "yes"; then
19398 cat >> confdefs.h
<<\EOF
19399 #define wxUSE_FFILE 1
19404 if test "$wxUSE_FILESYSTEM" = "yes"; then
19405 cat >> confdefs.h
<<\EOF
19406 #define wxUSE_FILESYSTEM 1
19411 if test "$wxUSE_FS_INET" = "yes"; then
19412 cat >> confdefs.h
<<\EOF
19413 #define wxUSE_FS_INET 1
19418 if test "$wxUSE_FS_ZIP" = "yes"; then
19419 cat >> confdefs.h
<<\EOF
19420 #define wxUSE_FS_ZIP 1
19425 if test "$wxUSE_ZIPSTREAM" = "yes"; then
19426 cat >> confdefs.h
<<\EOF
19427 #define wxUSE_ZIPSTREAM 1
19432 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
19433 cat >> confdefs.h
<<\EOF
19434 #define wxUSE_ON_FATAL_EXCEPTION 1
19439 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
19440 cat >> confdefs.h
<<\EOF
19441 #define wxUSE_SNGLINST_CHECKER 1
19446 if test "$wxUSE_BUSYINFO" = "yes"; then
19447 cat >> confdefs.h
<<\EOF
19448 #define wxUSE_BUSYINFO 1
19453 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
19454 cat >> confdefs.h
<<\EOF
19455 #define wxUSE_STD_IOSTREAM 1
19460 if test "$wxUSE_TEXTBUFFER" = "yes"; then
19461 cat >> confdefs.h
<<\EOF
19462 #define wxUSE_TEXTBUFFER 1
19467 if test "$wxUSE_TEXTFILE" = "yes"; then
19468 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
19469 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
19471 cat >> confdefs.h
<<\EOF
19472 #define wxUSE_TEXTFILE 1
19478 if test "$wxUSE_CONFIG" = "yes" ; then
19479 if test "$wxUSE_TEXTFILE" != "yes"; then
19480 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
19482 cat >> confdefs.h
<<\EOF
19483 #define wxUSE_CONFIG 1
19486 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
19490 if test "$wxUSE_INTL" = "yes" ; then
19491 if test "$wxUSE_FILE" != "yes"; then
19492 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
19494 cat >> confdefs.h
<<\EOF
19495 #define wxUSE_INTL 1
19498 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
19499 GUIDIST
="$GUIDIST INTL_DIST"
19503 if test "$wxUSE_LOG" = "yes"; then
19504 cat >> confdefs.h
<<\EOF
19505 #define wxUSE_LOG 1
19509 if test "$wxUSE_LOGGUI" = "yes"; then
19510 cat >> confdefs.h
<<\EOF
19511 #define wxUSE_LOGGUI 1
19516 if test "$wxUSE_LOGWINDOW" = "yes"; then
19517 cat >> confdefs.h
<<\EOF
19518 #define wxUSE_LOGWINDOW 1
19523 if test "$wxUSE_LOGDIALOG" = "yes"; then
19524 cat >> confdefs.h
<<\EOF
19525 #define wxUSE_LOG_DIALOG 1
19531 if test "$wxUSE_LONGLONG" = "yes"; then
19532 cat >> confdefs.h
<<\EOF
19533 #define wxUSE_LONGLONG 1
19538 if test "$wxUSE_GEOMETRY" = "yes"; then
19539 cat >> confdefs.h
<<\EOF
19540 #define wxUSE_GEOMETRY 1
19545 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
19546 cat >> confdefs.h
<<\EOF
19547 #define wxUSE_DIALUP_MANAGER 1
19550 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
19553 if test "$wxUSE_STREAMS" = "yes" ; then
19554 cat >> confdefs.h
<<\EOF
19555 #define wxUSE_STREAMS 1
19561 if test "$wxUSE_DATETIME" = "yes"; then
19562 for ac_func
in strptime
19564 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19565 echo "configure:19566: checking for $ac_func" >&5
19566 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19567 echo $ac_n "(cached) $ac_c" 1>&6
19569 cat > conftest.
$ac_ext <<EOF
19570 #line 19571 "configure"
19571 #include "confdefs.h"
19572 /* System header to define __stub macros and hopefully few prototypes,
19573 which can conflict with char $ac_func(); below. */
19574 #include <assert.h>
19575 /* Override any gcc2 internal prototype to avoid an error. */
19576 /* We use char because int might match the return type of a gcc2
19577 builtin and then its argument prototype would still apply. */
19582 /* The GNU C library defines this for functions which it implements
19583 to always fail with ENOSYS. Some functions are actually named
19584 something starting with __ and the normal name is an alias. */
19585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19593 if { (eval echo configure
:19594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19595 eval "ac_cv_func_$ac_func=yes"
19597 echo "configure: failed program was:" >&5
19598 cat conftest.
$ac_ext >&5
19600 eval "ac_cv_func_$ac_func=no"
19605 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19606 echo "$ac_t""yes" 1>&6
19607 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19608 cat >> confdefs.h
<<EOF
19609 #define $ac_tr_func 1
19613 echo "$ac_t""no" 1>&6
19618 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
19619 echo "configure:19620: checking for timezone variable in <time.h>" >&5
19620 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
19621 echo $ac_n "(cached) $ac_c" 1>&6
19624 cat > conftest.
$ac_ext <<EOF
19625 #line 19626 "configure"
19626 #include "confdefs.h"
19637 if { (eval echo configure
:19638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19640 wx_cv_var_timezone
=timezone
19643 echo "configure: failed program was:" >&5
19644 cat conftest.
$ac_ext >&5
19647 cat > conftest.
$ac_ext <<EOF
19648 #line 19649 "configure"
19649 #include "confdefs.h"
19660 if { (eval echo configure
:19661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19663 wx_cv_var_timezone
=_timezone
19666 echo "configure: failed program was:" >&5
19667 cat conftest.
$ac_ext >&5
19670 cat > conftest.
$ac_ext <<EOF
19671 #line 19672 "configure"
19672 #include "confdefs.h"
19683 if { (eval echo configure
:19684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19686 wx_cv_var_timezone
=__timezone
19689 echo "configure: failed program was:" >&5
19690 cat conftest.
$ac_ext >&5
19693 if test "$USE_DOS" = 0 ; then
19694 echo "configure: warning: no timezone variable" 1>&2
19712 echo "$ac_t""$wx_cv_var_timezone" 1>&6
19714 if test "x$wx_cv_var_timezone" != x
; then
19715 cat >> confdefs.h
<<EOF
19716 #define WX_TIMEZONE $wx_cv_var_timezone
19721 for ac_func
in localtime
19723 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19724 echo "configure:19725: checking for $ac_func" >&5
19725 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19726 echo $ac_n "(cached) $ac_c" 1>&6
19728 cat > conftest.
$ac_ext <<EOF
19729 #line 19730 "configure"
19730 #include "confdefs.h"
19731 /* System header to define __stub macros and hopefully few prototypes,
19732 which can conflict with char $ac_func(); below. */
19733 #include <assert.h>
19734 /* Override any gcc2 internal prototype to avoid an error. */
19735 /* We use char because int might match the return type of a gcc2
19736 builtin and then its argument prototype would still apply. */
19741 /* The GNU C library defines this for functions which it implements
19742 to always fail with ENOSYS. Some functions are actually named
19743 something starting with __ and the normal name is an alias. */
19744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19752 if { (eval echo configure
:19753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19754 eval "ac_cv_func_$ac_func=yes"
19756 echo "configure: failed program was:" >&5
19757 cat conftest.
$ac_ext >&5
19759 eval "ac_cv_func_$ac_func=no"
19764 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19765 echo "$ac_t""yes" 1>&6
19766 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19767 cat >> confdefs.h
<<EOF
19768 #define $ac_tr_func 1
19772 echo "$ac_t""no" 1>&6
19777 if test "$ac_cv_func_localtime" = "yes"; then
19778 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
19779 echo "configure:19780: checking for tm_gmtoff in struct tm" >&5
19780 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
19781 echo $ac_n "(cached) $ac_c" 1>&6
19784 cat > conftest.
$ac_ext <<EOF
19785 #line 19786 "configure"
19786 #include "confdefs.h"
19797 if { (eval echo configure
:19798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19800 wx_cv_struct_tm_has_gmtoff
=yes
19803 echo "configure: failed program was:" >&5
19804 cat conftest.
$ac_ext >&5
19806 wx_cv_struct_tm_has_gmtoff
=no
19813 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
19816 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
19817 cat >> confdefs.h
<<\EOF
19818 #define WX_GMTOFF_IN_TM 1
19823 for ac_func
in gettimeofday ftime
19825 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19826 echo "configure:19827: checking for $ac_func" >&5
19827 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19828 echo $ac_n "(cached) $ac_c" 1>&6
19830 cat > conftest.
$ac_ext <<EOF
19831 #line 19832 "configure"
19832 #include "confdefs.h"
19833 /* System header to define __stub macros and hopefully few prototypes,
19834 which can conflict with char $ac_func(); below. */
19835 #include <assert.h>
19836 /* Override any gcc2 internal prototype to avoid an error. */
19837 /* We use char because int might match the return type of a gcc2
19838 builtin and then its argument prototype would still apply. */
19843 /* The GNU C library defines this for functions which it implements
19844 to always fail with ENOSYS. Some functions are actually named
19845 something starting with __ and the normal name is an alias. */
19846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19854 if { (eval echo configure
:19855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19856 eval "ac_cv_func_$ac_func=yes"
19858 echo "configure: failed program was:" >&5
19859 cat conftest.
$ac_ext >&5
19861 eval "ac_cv_func_$ac_func=no"
19866 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19867 echo "$ac_t""yes" 1>&6
19868 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19869 cat >> confdefs.h
<<EOF
19870 #define $ac_tr_func 1
19874 echo "$ac_t""no" 1>&6
19879 if test "$ac_cv_func_gettimeofday" = "yes"; then
19880 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
19881 echo "configure:19882: checking whether gettimeofday takes two arguments" >&5
19882 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
19883 echo $ac_n "(cached) $ac_c" 1>&6
19888 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19889 ac_cpp
='$CXXCPP $CPPFLAGS'
19890 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19891 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19892 cross_compiling
=$ac_cv_prog_cxx_cross
19895 cat > conftest.
$ac_ext <<EOF
19896 #line 19897 "configure"
19897 #include "confdefs.h"
19899 #include <sys/time.h>
19900 #include <unistd.h>
19905 gettimeofday(&tv, NULL);
19909 if { (eval echo configure
:19910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19911 wx_cv_func_gettimeofday_has_2_args
=yes
19913 echo "configure: failed program was:" >&5
19914 cat conftest.
$ac_ext >&5
19916 cat > conftest.
$ac_ext <<EOF
19917 #line 19918 "configure"
19918 #include "confdefs.h"
19920 #include <sys/time.h>
19921 #include <unistd.h>
19930 if { (eval echo configure
:19931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19932 wx_cv_func_gettimeofday_has_2_args
=no
19934 echo "configure: failed program was:" >&5
19935 cat conftest.
$ac_ext >&5
19938 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
19939 wx_cv_func_gettimeofday_has_2_args
=unknown
19948 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19949 ac_cpp
='$CPP $CPPFLAGS'
19950 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19951 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19952 cross_compiling
=$ac_cv_prog_cc_cross
19957 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
19959 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
19960 cat >> confdefs.h
<<\EOF
19961 #define WX_GETTIMEOFDAY_NO_TZ 1
19967 cat >> confdefs.h
<<\EOF
19968 #define wxUSE_TIMEDATE 1
19971 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
19975 if test "$wxUSE_SOCKETS" = "yes"; then
19976 if test "$wxUSE_MGL" = "1"; then
19977 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
19982 if test "$wxUSE_SOCKETS" = "yes"; then
19983 if test "$TOOLKIT" != "MSW"; then
19984 echo $ac_n "checking for socket""... $ac_c" 1>&6
19985 echo "configure:19986: checking for socket" >&5
19986 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
19987 echo $ac_n "(cached) $ac_c" 1>&6
19989 cat > conftest.
$ac_ext <<EOF
19990 #line 19991 "configure"
19991 #include "confdefs.h"
19992 /* System header to define __stub macros and hopefully few prototypes,
19993 which can conflict with char socket(); below. */
19994 #include <assert.h>
19995 /* Override any gcc2 internal prototype to avoid an error. */
19996 /* We use char because int might match the return type of a gcc2
19997 builtin and then its argument prototype would still apply. */
20002 /* The GNU C library defines this for functions which it implements
20003 to always fail with ENOSYS. Some functions are actually named
20004 something starting with __ and the normal name is an alias. */
20005 #if defined (__stub_socket) || defined (__stub___socket)
20013 if { (eval echo configure
:20014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20015 eval "ac_cv_func_socket=yes"
20017 echo "configure: failed program was:" >&5
20018 cat conftest.
$ac_ext >&5
20020 eval "ac_cv_func_socket=no"
20025 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
20026 echo "$ac_t""yes" 1>&6
20029 echo "$ac_t""no" 1>&6
20030 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
20031 echo "configure:20032: checking for socket in -lsocket" >&5
20032 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
20033 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20034 echo $ac_n "(cached) $ac_c" 1>&6
20036 ac_save_LIBS
="$LIBS"
20037 LIBS
="-lsocket $LIBS"
20038 cat > conftest.
$ac_ext <<EOF
20039 #line 20040 "configure"
20040 #include "confdefs.h"
20041 /* Override any gcc2 internal prototype to avoid an error. */
20042 /* We use char because int might match the return type of a gcc2
20043 builtin and then its argument prototype would still apply. */
20050 if { (eval echo configure
:20051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20052 eval "ac_cv_lib_$ac_lib_var=yes"
20054 echo "configure: failed program was:" >&5
20055 cat conftest.
$ac_ext >&5
20057 eval "ac_cv_lib_$ac_lib_var=no"
20060 LIBS
="$ac_save_LIBS"
20063 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20064 echo "$ac_t""yes" 1>&6
20065 if test "$INET_LINK" != " -lsocket"; then
20066 INET_LINK
="$INET_LINK -lsocket"
20069 echo "$ac_t""no" 1>&6
20071 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
20083 if test "$wxUSE_SOCKETS" = "yes" ; then
20084 if test "$TOOLKIT" != "MSW"; then
20085 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
20086 echo "configure:20087: checking what is the type of the third argument of getsockname" >&5
20087 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
20088 echo $ac_n "(cached) $ac_c" 1>&6
20093 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20094 ac_cpp
='$CXXCPP $CPPFLAGS'
20095 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20096 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20097 cross_compiling
=$ac_cv_prog_cxx_cross
20100 cat > conftest.
$ac_ext <<EOF
20101 #line 20102 "configure"
20102 #include "confdefs.h"
20104 #include <sys/types.h>
20105 #include <sys/socket.h>
20110 getsockname(0, 0, &len);
20114 if { (eval echo configure
:20115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20116 wx_cv_type_getsockname3
=socklen_t
20118 echo "configure: failed program was:" >&5
20119 cat conftest.
$ac_ext >&5
20121 cat > conftest.
$ac_ext <<EOF
20122 #line 20123 "configure"
20123 #include "confdefs.h"
20125 #include <sys/types.h>
20126 #include <sys/socket.h>
20131 getsockname(0, 0, &len);
20135 if { (eval echo configure
:20136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20137 wx_cv_type_getsockname3
=size_t
20139 echo "configure: failed program was:" >&5
20140 cat conftest.
$ac_ext >&5
20142 cat > conftest.
$ac_ext <<EOF
20143 #line 20144 "configure"
20144 #include "confdefs.h"
20146 #include <sys/types.h>
20147 #include <sys/socket.h>
20152 getsockname(0, 0, &len);
20156 if { (eval echo configure
:20157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20158 wx_cv_type_getsockname3
=int
20160 echo "configure: failed program was:" >&5
20161 cat conftest.
$ac_ext >&5
20163 wx_cv_type_getsockname3
=unknown
20175 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20176 ac_cpp
='$CPP $CPPFLAGS'
20177 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20178 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20179 cross_compiling
=$ac_cv_prog_cc_cross
20184 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
20186 if test "$wx_cv_type_getsockname3" = "unknown"; then
20188 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
20190 cat >> confdefs.h
<<EOF
20191 #define SOCKLEN_T $wx_cv_type_getsockname3
20198 if test "$wxUSE_SOCKETS" = "yes" ; then
20199 cat >> confdefs.h
<<\EOF
20200 #define wxUSE_SOCKETS 1
20203 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
20207 if test "$wxUSE_GUI" = "yes"; then
20209 if test "$TOOLKIT" = "MAC"; then
20210 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
20213 if test "$TOOLKIT" = "MOTIF"; then
20214 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
20217 if test "$TOOLKIT" = "X11"; then
20218 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
20222 if test "$TOOLKIT" != "MSW"; then
20223 if test "$wxUSE_JOYSTICK" = "yes"; then
20224 for ac_hdr
in linux
/joystick.h
20226 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20227 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20228 echo "configure:20229: checking for $ac_hdr" >&5
20229 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20230 echo $ac_n "(cached) $ac_c" 1>&6
20232 cat > conftest.
$ac_ext <<EOF
20233 #line 20234 "configure"
20234 #include "confdefs.h"
20237 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20238 { (eval echo configure
:20239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20239 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20240 if test -z "$ac_err"; then
20242 eval "ac_cv_header_$ac_safe=yes"
20245 echo "configure: failed program was:" >&5
20246 cat conftest.
$ac_ext >&5
20248 eval "ac_cv_header_$ac_safe=no"
20252 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20253 echo "$ac_t""yes" 1>&6
20254 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20255 cat >> confdefs.h
<<EOF
20256 #define $ac_tr_hdr 1
20260 echo "$ac_t""no" 1>&6
20264 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
20266 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
20271 if test "$wxUSE_JOYSTICK" = "yes"; then
20272 cat >> confdefs.h
<<\EOF
20273 #define wxUSE_JOYSTICK 1
20276 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
20281 if test "$TOOLKIT" != "MSW"; then
20285 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20286 if test "$USE_DARWIN" = 1; then
20289 for ac_func
in dlopen
20291 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20292 echo "configure:20293: checking for $ac_func" >&5
20293 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20294 echo $ac_n "(cached) $ac_c" 1>&6
20296 cat > conftest.
$ac_ext <<EOF
20297 #line 20298 "configure"
20298 #include "confdefs.h"
20299 /* System header to define __stub macros and hopefully few prototypes,
20300 which can conflict with char $ac_func(); below. */
20301 #include <assert.h>
20302 /* Override any gcc2 internal prototype to avoid an error. */
20303 /* We use char because int might match the return type of a gcc2
20304 builtin and then its argument prototype would still apply. */
20309 /* The GNU C library defines this for functions which it implements
20310 to always fail with ENOSYS. Some functions are actually named
20311 something starting with __ and the normal name is an alias. */
20312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20320 if { (eval echo configure
:20321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20322 eval "ac_cv_func_$ac_func=yes"
20324 echo "configure: failed program was:" >&5
20325 cat conftest.
$ac_ext >&5
20327 eval "ac_cv_func_$ac_func=no"
20332 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20333 echo "$ac_t""yes" 1>&6
20334 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20335 cat >> confdefs.h
<<EOF
20336 #define $ac_tr_func 1
20339 cat >> confdefs.h
<<\EOF
20340 #define HAVE_DLOPEN 1
20346 echo "$ac_t""no" 1>&6
20347 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
20348 echo "configure:20349: checking for dlopen in -ldl" >&5
20349 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
20350 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20351 echo $ac_n "(cached) $ac_c" 1>&6
20353 ac_save_LIBS
="$LIBS"
20355 cat > conftest.
$ac_ext <<EOF
20356 #line 20357 "configure"
20357 #include "confdefs.h"
20358 /* Override any gcc2 internal prototype to avoid an error. */
20359 /* We use char because int might match the return type of a gcc2
20360 builtin and then its argument prototype would still apply. */
20367 if { (eval echo configure
:20368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20369 eval "ac_cv_lib_$ac_lib_var=yes"
20371 echo "configure: failed program was:" >&5
20372 cat conftest.
$ac_ext >&5
20374 eval "ac_cv_lib_$ac_lib_var=no"
20377 LIBS
="$ac_save_LIBS"
20380 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20381 echo "$ac_t""yes" 1>&6
20383 cat >> confdefs.h
<<\EOF
20384 #define HAVE_DLOPEN 1
20388 DL_LINK
=" -ldl$DL_LINK"
20391 echo "$ac_t""no" 1>&6
20393 for ac_func
in shl_load
20395 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20396 echo "configure:20397: checking for $ac_func" >&5
20397 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20398 echo $ac_n "(cached) $ac_c" 1>&6
20400 cat > conftest.
$ac_ext <<EOF
20401 #line 20402 "configure"
20402 #include "confdefs.h"
20403 /* System header to define __stub macros and hopefully few prototypes,
20404 which can conflict with char $ac_func(); below. */
20405 #include <assert.h>
20406 /* Override any gcc2 internal prototype to avoid an error. */
20407 /* We use char because int might match the return type of a gcc2
20408 builtin and then its argument prototype would still apply. */
20413 /* The GNU C library defines this for functions which it implements
20414 to always fail with ENOSYS. Some functions are actually named
20415 something starting with __ and the normal name is an alias. */
20416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20424 if { (eval echo configure
:20425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20426 eval "ac_cv_func_$ac_func=yes"
20428 echo "configure: failed program was:" >&5
20429 cat conftest.
$ac_ext >&5
20431 eval "ac_cv_func_$ac_func=no"
20436 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20437 echo "$ac_t""yes" 1>&6
20438 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20439 cat >> confdefs.h
<<EOF
20440 #define $ac_tr_func 1
20443 cat >> confdefs.h
<<\EOF
20444 #define HAVE_SHL_LOAD 1
20450 echo "$ac_t""no" 1>&6
20451 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
20452 echo "configure:20453: checking for dld in -lshl_load" >&5
20453 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
20454 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20455 echo $ac_n "(cached) $ac_c" 1>&6
20457 ac_save_LIBS
="$LIBS"
20458 LIBS
="-lshl_load $LIBS"
20459 cat > conftest.
$ac_ext <<EOF
20460 #line 20461 "configure"
20461 #include "confdefs.h"
20462 /* Override any gcc2 internal prototype to avoid an error. */
20463 /* We use char because int might match the return type of a gcc2
20464 builtin and then its argument prototype would still apply. */
20471 if { (eval echo configure
:20472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20473 eval "ac_cv_lib_$ac_lib_var=yes"
20475 echo "configure: failed program was:" >&5
20476 cat conftest.
$ac_ext >&5
20478 eval "ac_cv_lib_$ac_lib_var=no"
20481 LIBS
="$ac_save_LIBS"
20484 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20485 echo "$ac_t""yes" 1>&6
20488 DL_LINK
=" -ldld$DL_LINK"
20491 echo "$ac_t""no" 1>&6
20506 if test "$HAVE_DL_FUNCS" = 1; then
20507 for ac_func
in dlerror
20509 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20510 echo "configure:20511: checking for $ac_func" >&5
20511 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20512 echo $ac_n "(cached) $ac_c" 1>&6
20514 cat > conftest.
$ac_ext <<EOF
20515 #line 20516 "configure"
20516 #include "confdefs.h"
20517 /* System header to define __stub macros and hopefully few prototypes,
20518 which can conflict with char $ac_func(); below. */
20519 #include <assert.h>
20520 /* Override any gcc2 internal prototype to avoid an error. */
20521 /* We use char because int might match the return type of a gcc2
20522 builtin and then its argument prototype would still apply. */
20527 /* The GNU C library defines this for functions which it implements
20528 to always fail with ENOSYS. Some functions are actually named
20529 something starting with __ and the normal name is an alias. */
20530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20538 if { (eval echo configure
:20539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20540 eval "ac_cv_func_$ac_func=yes"
20542 echo "configure: failed program was:" >&5
20543 cat conftest.
$ac_ext >&5
20545 eval "ac_cv_func_$ac_func=no"
20550 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20551 echo "$ac_t""yes" 1>&6
20552 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20553 cat >> confdefs.h
<<EOF
20554 #define $ac_tr_func 1
20556 cat >> confdefs.h
<<\EOF
20557 #define HAVE_DLERROR 1
20561 echo "$ac_t""no" 1>&6
20562 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
20563 echo "configure:20564: checking for dlerror in -ldl" >&5
20564 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
20565 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20566 echo $ac_n "(cached) $ac_c" 1>&6
20568 ac_save_LIBS
="$LIBS"
20570 cat > conftest.
$ac_ext <<EOF
20571 #line 20572 "configure"
20572 #include "confdefs.h"
20573 /* Override any gcc2 internal prototype to avoid an error. */
20574 /* We use char because int might match the return type of a gcc2
20575 builtin and then its argument prototype would still apply. */
20582 if { (eval echo configure
:20583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20584 eval "ac_cv_lib_$ac_lib_var=yes"
20586 echo "configure: failed program was:" >&5
20587 cat conftest.
$ac_ext >&5
20589 eval "ac_cv_lib_$ac_lib_var=no"
20592 LIBS
="$ac_save_LIBS"
20595 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20596 echo "$ac_t""yes" 1>&6
20597 cat >> confdefs.h
<<\EOF
20598 #define HAVE_DLERROR 1
20602 echo "$ac_t""no" 1>&6
20611 if test "$HAVE_DL_FUNCS" = 0; then
20612 if test "$HAVE_SHL_FUNCS" = 0; then
20613 if test "$USE_UNIX" = 1; then
20614 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
20615 wxUSE_DYNAMIC_LOADER
=no
20616 wxUSE_DYNLIB_CLASS
=no
20618 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
20625 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
20626 cat >> confdefs.h
<<\EOF
20627 #define wxUSE_DYNAMIC_LOADER 1
20630 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20631 cat >> confdefs.h
<<\EOF
20632 #define wxUSE_DYNLIB_CLASS 1
20638 if test "$wxUSE_FONTMAP" = "yes" ; then
20639 cat >> confdefs.h
<<\EOF
20640 #define wxUSE_FONTMAP 1
20645 if test "$wxUSE_UNICODE" = "yes" ; then
20646 cat >> confdefs.h
<<\EOF
20647 #define wxUSE_UNICODE 1
20651 if test "$wxUSE_MSW" != 1; then
20652 wxUSE_UNICODE_MSLU
=no
20655 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
20656 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
20657 echo "configure:20658: checking for main in -lunicows" >&5
20658 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
20659 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20660 echo $ac_n "(cached) $ac_c" 1>&6
20662 ac_save_LIBS
="$LIBS"
20663 LIBS
="-lunicows $LIBS"
20664 cat > conftest.
$ac_ext <<EOF
20665 #line 20666 "configure"
20666 #include "confdefs.h"
20672 if { (eval echo configure
:20673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20674 eval "ac_cv_lib_$ac_lib_var=yes"
20676 echo "configure: failed program was:" >&5
20677 cat conftest.
$ac_ext >&5
20679 eval "ac_cv_lib_$ac_lib_var=no"
20682 LIBS
="$ac_save_LIBS"
20685 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20686 echo "$ac_t""yes" 1>&6
20688 cat >> confdefs.h
<<\EOF
20689 #define wxUSE_UNICODE_MSLU 1
20694 echo "$ac_t""no" 1>&6
20696 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
20697 Applications will only run on Windows NT/2000/XP!" 1>&2
20698 wxUSE_UNICODE_MSLU
=no
20705 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
20706 cat >> confdefs.h
<<\EOF
20707 #define wxUSE_EXPERIMENTAL_PRINTF 1
20715 if test "$wxUSE_ODBC" = "yes" ; then
20716 cat >> confdefs.h
<<\EOF
20717 #define wxUSE_ODBC 1
20720 WXODBCFLAG
="-D_IODBC_"
20721 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
20725 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
20726 cat >> confdefs.h
<<\EOF
20727 #define wxUSE_POSTSCRIPT 1
20732 cat >> confdefs.h
<<\EOF
20733 #define wxUSE_AFM_FOR_POSTSCRIPT 1
20737 cat >> confdefs.h
<<\EOF
20738 #define wxUSE_NORMALIZED_PS_FONTS 1
20743 if test "$wxUSE_CONSTRAINTS" = "yes"; then
20744 cat >> confdefs.h
<<\EOF
20745 #define wxUSE_CONSTRAINTS 1
20748 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
20751 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20754 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20755 cat >> confdefs.h
<<\EOF
20756 #define wxUSE_MDI_ARCHITECTURE 1
20759 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
20763 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
20764 cat >> confdefs.h
<<\EOF
20765 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
20768 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
20769 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20770 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
20774 if test "$wxUSE_HELP" = "yes"; then
20775 cat >> confdefs.h
<<\EOF
20776 #define wxUSE_HELP 1
20779 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
20781 if test "$wxUSE_MSW" = 1; then
20782 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
20783 cat >> confdefs.h
<<\EOF
20784 #define wxUSE_MS_HTML_HELP 1
20790 if test "$wxUSE_WXHTML_HELP" = "yes"; then
20791 if test "$wxUSE_HTML" = "yes"; then
20792 cat >> confdefs.h
<<\EOF
20793 #define wxUSE_WXHTML_HELP 1
20797 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
20798 wxUSE_WXHTML_HELP
=no
20803 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20804 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20805 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
20807 cat >> confdefs.h
<<\EOF
20808 #define wxUSE_PRINTING_ARCHITECTURE 1
20812 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
20815 if test "$wxUSE_PROLOGIO" = "yes" ; then
20816 cat >> confdefs.h
<<\EOF
20817 #define wxUSE_PROLOGIO 1
20820 ALL_OBJECTS
="$ALL_OBJECTS parser.o"
20823 if test "$wxUSE_RESOURCES" = "yes" ; then
20824 if test "$wxUSE_NANOX" = "yes"; then
20825 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
20827 cat >> confdefs.h
<<\EOF
20828 #define wxUSE_RESOURCES 1
20831 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
20833 if test "$wxUSE_PROLOGIO" != "yes" ; then
20834 ALL_OBJECTS
="$ALL_OBJECTS parser.o"
20838 if test "$wxUSE_X_RESOURCES" = "yes"; then
20839 cat >> confdefs.h
<<\EOF
20840 #define wxUSE_X_RESOURCES 1
20846 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
20847 -o "$wxUSE_CLIPBOARD" = "yes" \
20848 -o "$wxUSE_OLE" = "yes" \
20849 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
20850 for ac_hdr
in ole2.h
20852 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20853 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20854 echo "configure:20855: checking for $ac_hdr" >&5
20855 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20856 echo $ac_n "(cached) $ac_c" 1>&6
20858 cat > conftest.
$ac_ext <<EOF
20859 #line 20860 "configure"
20860 #include "confdefs.h"
20863 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20864 { (eval echo configure
:20865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20865 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20866 if test -z "$ac_err"; then
20868 eval "ac_cv_header_$ac_safe=yes"
20871 echo "configure: failed program was:" >&5
20872 cat conftest.
$ac_ext >&5
20874 eval "ac_cv_header_$ac_safe=no"
20878 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20879 echo "$ac_t""yes" 1>&6
20880 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20881 cat >> confdefs.h
<<EOF
20882 #define $ac_tr_hdr 1
20886 echo "$ac_t""no" 1>&6
20891 if test "$ac_cv_header_ole2_h" = "yes" ; then
20892 if test "$GCC" = yes ; then
20895 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20896 ac_cpp
='$CXXCPP $CPPFLAGS'
20897 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20898 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20899 cross_compiling
=$ac_cv_prog_cxx_cross
20902 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
20903 echo "configure:20904: checking if g++ requires -fvtable-thunks" >&5
20904 cat > conftest.
$ac_ext <<EOF
20905 #line 20906 "configure"
20906 #include "confdefs.h"
20907 #include <windows.h>
20913 if { (eval echo configure
:20914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20915 echo "$ac_t""no" 1>&6
20917 echo "configure: failed program was:" >&5
20918 cat conftest.
$ac_ext >&5
20920 echo "$ac_t""yes" 1>&6
20921 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
20925 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20926 ac_cpp
='$CPP $CPPFLAGS'
20927 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20928 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20929 cross_compiling
=$ac_cv_prog_cc_cross
20931 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
20932 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
20933 cat >> confdefs.h
<<\EOF
20934 #define wxUSE_OLE 1
20940 cat >> confdefs.h
<<\EOF
20941 #define wxUSE_DATAOBJ 1
20945 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
20948 wxUSE_DRAG_AND_DROP
=no
20953 if test "$wxUSE_METAFILE" = "yes"; then
20954 cat >> confdefs.h
<<\EOF
20955 #define wxUSE_METAFILE 1
20959 cat >> confdefs.h
<<\EOF
20960 #define wxUSE_ENH_METAFILE 1
20966 if test "$wxUSE_IPC" = "yes"; then
20967 if test "$wxUSE_SOCKETS" != "yes"; then
20968 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
20971 cat >> confdefs.h
<<\EOF
20972 #define wxUSE_IPC 1
20977 if test "$wxUSE_CLIPBOARD" = "yes"; then
20978 if test "$wxUSE_MGL" = 1; then
20979 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
20983 if test "$wxUSE_CLIPBOARD" = "yes"; then
20984 cat >> confdefs.h
<<\EOF
20985 #define wxUSE_CLIPBOARD 1
20989 cat >> confdefs.h
<<\EOF
20990 #define wxUSE_DATAOBJ 1
20996 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
20997 if test "$wxUSE_GTK" = 1; then
20998 if test "$WXGTK12" != 1; then
20999 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
21000 wxUSE_DRAG_AND_DROP
=no
21004 if test "$wxUSE_MOTIF" = 1; then
21005 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
21006 wxUSE_DRAG_AND_DROP
=no
21009 if test "$wxUSE_X11" = 1; then
21010 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
21011 wxUSE_DRAG_AND_DROP
=no
21014 if test "$wxUSE_MGL" = 1; then
21015 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
21016 wxUSE_DRAG_AND_DROP
=no
21019 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
21020 cat >> confdefs.h
<<\EOF
21021 #define wxUSE_DRAG_AND_DROP 1
21024 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
21029 if test "$wxUSE_SPLINES" = "yes" ; then
21030 cat >> confdefs.h
<<\EOF
21031 #define wxUSE_SPLINES 1
21038 if test "$wxUSE_CONTROLS" = "yes"; then
21042 if test "$wxUSE_ACCEL" = "yes"; then
21043 cat >> confdefs.h
<<\EOF
21044 #define wxUSE_ACCEL 1
21050 if test "$wxUSE_BUTTON" = "yes"; then
21051 cat >> confdefs.h
<<\EOF
21052 #define wxUSE_BUTTON 1
21058 if test "$wxUSE_BMPBUTTON" = "yes"; then
21059 cat >> confdefs.h
<<\EOF
21060 #define wxUSE_BMPBUTTON 1
21066 if test "$wxUSE_CALCTRL" = "yes"; then
21067 cat >> confdefs.h
<<\EOF
21068 #define wxUSE_CALENDARCTRL 1
21072 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
21075 if test "$wxUSE_CARET" = "yes"; then
21076 cat >> confdefs.h
<<\EOF
21077 #define wxUSE_CARET 1
21081 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
21084 if test "$wxUSE_COMBOBOX" = "yes"; then
21085 cat >> confdefs.h
<<\EOF
21086 #define wxUSE_COMBOBOX 1
21092 if test "$wxUSE_CHOICE" = "yes"; then
21093 cat >> confdefs.h
<<\EOF
21094 #define wxUSE_CHOICE 1
21100 if test "$wxUSE_CHECKBOX" = "yes"; then
21101 cat >> confdefs.h
<<\EOF
21102 #define wxUSE_CHECKBOX 1
21108 if test "$wxUSE_CHECKLST" = "yes"; then
21109 cat >> confdefs.h
<<\EOF
21110 #define wxUSE_CHECKLISTBOX 1
21114 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
21117 if test "$wxUSE_GAUGE" = "yes"; then
21118 cat >> confdefs.h
<<\EOF
21119 #define wxUSE_GAUGE 1
21125 if test "$wxUSE_NEW_GRID" = "yes"; then
21127 cat >> confdefs.h
<<\EOF
21128 #define wxUSE_NEW_GRID 1
21132 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
21135 if test "$wxUSE_GRID" = "yes"; then
21136 cat >> confdefs.h
<<\EOF
21137 #define wxUSE_GRID 1
21141 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
21144 if test "$wxUSE_IMAGLIST" = "yes"; then
21145 cat >> confdefs.h
<<\EOF
21146 #define wxUSE_IMAGLIST 1
21151 if test "$wxUSE_LISTBOX" = "yes"; then
21152 cat >> confdefs.h
<<\EOF
21153 #define wxUSE_LISTBOX 1
21159 if test "$wxUSE_LISTCTRL" = "yes"; then
21160 if test "$wxUSE_IMAGLIST" = "yes"; then
21161 cat >> confdefs.h
<<\EOF
21162 #define wxUSE_LISTCTRL 1
21166 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
21168 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
21172 if test "$wxUSE_NOTEBOOK" = "yes"; then
21173 cat >> confdefs.h
<<\EOF
21174 #define wxUSE_NOTEBOOK 1
21178 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
21181 if test "$wxUSE_PROPSHEET" = "yes"; then
21182 cat >> confdefs.h
<<\EOF
21183 #define wxUSE_PROPSHEET 1
21187 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
21190 if test "$wxUSE_RADIOBOX" = "yes"; then
21191 cat >> confdefs.h
<<\EOF
21192 #define wxUSE_RADIOBOX 1
21198 if test "$wxUSE_RADIOBTN" = "yes"; then
21199 cat >> confdefs.h
<<\EOF
21200 #define wxUSE_RADIOBTN 1
21206 if test "$wxUSE_SASH" = "yes"; then
21207 cat >> confdefs.h
<<\EOF
21208 #define wxUSE_SASH 1
21211 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
21214 if test "$wxUSE_SCROLLBAR" = "yes"; then
21215 cat >> confdefs.h
<<\EOF
21216 #define wxUSE_SCROLLBAR 1
21220 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
21223 if test "$wxUSE_SLIDER" = "yes"; then
21224 cat >> confdefs.h
<<\EOF
21225 #define wxUSE_SLIDER 1
21231 if test "$wxUSE_SPINBTN" = "yes"; then
21232 cat >> confdefs.h
<<\EOF
21233 #define wxUSE_SPINBTN 1
21239 if test "$wxUSE_SPINCTRL" = "yes"; then
21240 cat >> confdefs.h
<<\EOF
21241 #define wxUSE_SPINCTRL 1
21247 if test "$wxUSE_SPLITTER" = "yes"; then
21248 cat >> confdefs.h
<<\EOF
21249 #define wxUSE_SPLITTER 1
21252 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
21255 if test "$wxUSE_STATBMP" = "yes"; then
21256 cat >> confdefs.h
<<\EOF
21257 #define wxUSE_STATBMP 1
21263 if test "$wxUSE_STATBOX" = "yes"; then
21264 cat >> confdefs.h
<<\EOF
21265 #define wxUSE_STATBOX 1
21271 if test "$wxUSE_STATTEXT" = "yes"; then
21272 cat >> confdefs.h
<<\EOF
21273 #define wxUSE_STATTEXT 1
21279 if test "$wxUSE_STATLINE" = "yes"; then
21280 cat >> confdefs.h
<<\EOF
21281 #define wxUSE_STATLINE 1
21287 if test "$wxUSE_STATUSBAR" = "yes"; then
21288 cat >> confdefs.h
<<\EOF
21289 #define wxUSE_STATUSBAR 1
21294 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
21297 if test "$wxUSE_TABDIALOG" = "yes"; then
21298 cat >> confdefs.h
<<\EOF
21299 #define wxUSE_TAB_DIALOG 1
21302 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
21305 if test "$wxUSE_TEXTCTRL" = "yes"; then
21306 cat >> confdefs.h
<<\EOF
21307 #define wxUSE_TEXTCTRL 1
21311 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
21314 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21315 if test "$wxUSE_MAC" = 1; then
21316 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
21319 if test "$wxUSE_UNIVERSAL" = "yes"; then
21320 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
21324 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21325 cat >> confdefs.h
<<\EOF
21326 #define wxUSE_TOGGLEBTN 1
21333 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
21334 cat >> confdefs.h
<<\EOF
21335 #define wxUSE_TOOLBAR_SIMPLE 1
21338 wxUSE_TOOLBAR
="yes"
21342 if test "$wxUSE_TOOLBAR" = "yes"; then
21343 cat >> confdefs.h
<<\EOF
21344 #define wxUSE_TOOLBAR 1
21349 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
21350 wxUSE_TOOLBAR_NATIVE
="yes"
21353 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
21354 cat >> confdefs.h
<<\EOF
21355 #define wxUSE_TOOLBAR_NATIVE 1
21361 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
21364 if test "$wxUSE_TOOLTIPS" = "yes"; then
21365 if test "$wxUSE_MOTIF" = 1; then
21366 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
21368 if test "$wxUSE_UNIVERSAL" = "yes"; then
21369 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
21371 cat >> confdefs.h
<<\EOF
21372 #define wxUSE_TOOLTIPS 1
21379 if test "$wxUSE_TREECTRL" = "yes"; then
21380 if test "$wxUSE_IMAGLIST" = "yes"; then
21381 cat >> confdefs.h
<<\EOF
21382 #define wxUSE_TREECTRL 1
21386 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
21388 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
21392 if test "$wxUSE_POPUPWIN" = "yes"; then
21393 if test "$wxUSE_MAC" = 1; then
21394 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
21396 if test "$wxUSE_MOTIF" = 1; then
21397 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
21399 if test "$wxUSE_PM" = 1; then
21400 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
21402 cat >> confdefs.h
<<\EOF
21403 #define wxUSE_POPUPWIN 1
21413 if test "$wxUSE_TIPWINDOW" = "yes"; then
21414 if test "$wxUSE_PM" = 1; then
21415 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
21417 cat >> confdefs.h
<<\EOF
21418 #define wxUSE_TIPWINDOW 1
21424 if test "$USES_CONTROLS" = 1; then
21425 cat >> confdefs.h
<<\EOF
21426 #define wxUSE_CONTROLS 1
21432 if test "$wxUSE_TREELAYOUT" = "yes"; then
21433 cat >> confdefs.h
<<\EOF
21434 #define wxUSE_TREELAYOUT 1
21437 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
21440 if test "$wxUSE_DRAGIMAGE" = "yes"; then
21441 cat >> confdefs.h
<<\EOF
21442 #define wxUSE_DRAGIMAGE 1
21445 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
21448 if test "$wxUSE_MENUS" = "yes"; then
21449 cat >> confdefs.h
<<\EOF
21450 #define wxUSE_MENUS 1
21453 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
21456 if test "$wxUSE_METAFILE" = "yes"; then
21457 cat >> confdefs.h
<<\EOF
21458 #define wxUSE_METAFILE 1
21463 if test "$wxUSE_MIMETYPE" = "yes"; then
21464 cat >> confdefs.h
<<\EOF
21465 #define wxUSE_MIMETYPE 1
21470 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
21471 cat >> confdefs.h
<<\EOF
21472 #define wxUSE_SYSTEM_OPTIONS 1
21475 if test "$TOOLKIT" = "MSW"; then
21476 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
21481 if test "$wxUSE_PROTOCOL" = "yes"; then
21482 if test "$wxUSE_SOCKETS" != "yes"; then
21483 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
21487 if test "$wxUSE_PROTOCOL" = "yes"; then
21488 cat >> confdefs.h
<<\EOF
21489 #define wxUSE_PROTOCOL 1
21493 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
21494 cat >> confdefs.h
<<\EOF
21495 #define wxUSE_PROTOCOL_HTTP 1
21499 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
21500 cat >> confdefs.h
<<\EOF
21501 #define wxUSE_PROTOCOL_FTP 1
21505 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
21506 cat >> confdefs.h
<<\EOF
21507 #define wxUSE_PROTOCOL_FILE 1
21514 if test "$wxUSE_URL" = "yes"; then
21515 if test "$wxUSE_PROTOCOL" != "yes"; then
21516 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
21519 if test "$wxUSE_URL" = "yes"; then
21520 cat >> confdefs.h
<<\EOF
21521 #define wxUSE_URL 1
21527 if test "$wxUSE_MINIFRAME" = "yes"; then
21528 cat >> confdefs.h
<<\EOF
21529 #define wxUSE_MINIFRAME 1
21532 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
21535 if test "$wxUSE_HTML" = "yes"; then
21536 cat >> confdefs.h
<<\EOF
21537 #define wxUSE_HTML 1
21540 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
21543 if test "$wxUSE_VALIDATORS" = "yes"; then
21544 cat >> confdefs.h
<<\EOF
21545 #define wxUSE_VALIDATORS 1
21548 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
21551 if test "$wxUSE_PALETTE" = "yes" ; then
21552 cat >> confdefs.h
<<\EOF
21553 #define wxUSE_PALETTE 1
21558 if test "$wxUSE_IMAGE" = "yes" ; then
21559 cat >> confdefs.h
<<\EOF
21560 #define wxUSE_IMAGE 1
21565 if test "$wxUSE_GIF" = "yes" ; then
21566 cat >> confdefs.h
<<\EOF
21567 #define wxUSE_GIF 1
21572 if test "$wxUSE_PCX" = "yes" ; then
21573 cat >> confdefs.h
<<\EOF
21574 #define wxUSE_PCX 1
21579 if test "$wxUSE_IFF" = "yes" ; then
21580 cat >> confdefs.h
<<\EOF
21581 #define wxUSE_IFF 1
21586 if test "$wxUSE_PNM" = "yes" ; then
21587 cat >> confdefs.h
<<\EOF
21588 #define wxUSE_PNM 1
21593 if test "$wxUSE_XPM" = "yes" ; then
21594 cat >> confdefs.h
<<\EOF
21595 #define wxUSE_XPM 1
21600 if test "$wxUSE_ICO_CUR" = "yes" ; then
21601 cat >> confdefs.h
<<\EOF
21602 #define wxUSE_ICO_CUR 1
21607 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
21608 LIBS
=" -lunicows $LIBS"
21612 if test "$wxUSE_CHOICEDLG" = "yes"; then
21613 cat >> confdefs.h
<<\EOF
21614 #define wxUSE_CHOICEDLG 1
21619 if test "$wxUSE_COLOURDLG" = "yes"; then
21620 cat >> confdefs.h
<<\EOF
21621 #define wxUSE_COLOURDLG 1
21626 if test "$wxUSE_FILEDLG" = "yes"; then
21627 cat >> confdefs.h
<<\EOF
21628 #define wxUSE_FILEDLG 1
21633 if test "$wxUSE_FINDREPLDLG" = "yes"; then
21634 cat >> confdefs.h
<<\EOF
21635 #define wxUSE_FINDREPLDLG 1
21640 if test "$wxUSE_FONTDLG" = "yes"; then
21641 cat >> confdefs.h
<<\EOF
21642 #define wxUSE_FONTDLG 1
21647 if test "$wxUSE_DIRDLG" = "yes"; then
21648 if test "$wxUSE_TREECTRL" != "yes"; then
21649 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
21651 cat >> confdefs.h
<<\EOF
21652 #define wxUSE_DIRDLG 1
21658 if test "$wxUSE_MSGDLG" = "yes"; then
21659 cat >> confdefs.h
<<\EOF
21660 #define wxUSE_MSGDLG 1
21665 if test "$wxUSE_NUMBERDLG" = "yes"; then
21666 cat >> confdefs.h
<<\EOF
21667 #define wxUSE_NUMBERDLG 1
21672 if test "$wxUSE_PROGRESSDLG" = "yes"; then
21673 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21674 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
21676 cat >> confdefs.h
<<\EOF
21677 #define wxUSE_PROGRESSDLG 1
21683 if test "$wxUSE_SPLASH" = "yes"; then
21684 cat >> confdefs.h
<<\EOF
21685 #define wxUSE_SPLASH 1
21690 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
21691 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21692 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
21694 cat >> confdefs.h
<<\EOF
21695 #define wxUSE_STARTUP_TIPS 1
21701 if test "$wxUSE_TEXTDLG" = "yes"; then
21702 cat >> confdefs.h
<<\EOF
21703 #define wxUSE_TEXTDLG 1
21708 if test "$wxUSE_WIZARDDLG" = "yes"; then
21709 cat >> confdefs.h
<<\EOF
21710 #define wxUSE_WIZARDDLG 1
21713 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
21717 if test "$cross_compiling" = "yes"; then
21720 OSINFO
=`uname -s -r -m`
21721 OSINFO
="\"$OSINFO\""
21724 cat >> confdefs.h
<<EOF
21725 #define WXWIN_OS_DESCRIPTION $OSINFO
21730 if test "x$prefix" != "xNONE"; then
21733 wxPREFIX
=$ac_default_prefix
21736 cat >> confdefs.h
<<EOF
21737 #define wxINSTALL_PREFIX "$wxPREFIX"
21744 if test "$wxUSE_MAC" = 1 ; then
21745 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
21749 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
21755 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21756 echo "configure:21757: checking for $ac_func" >&5
21757 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21758 echo $ac_n "(cached) $ac_c" 1>&6
21760 cat > conftest.
$ac_ext <<EOF
21761 #line 21762 "configure"
21762 #include "confdefs.h"
21763 /* System header to define __stub macros and hopefully few prototypes,
21764 which can conflict with char $ac_func(); below. */
21765 #include <assert.h>
21766 /* Override any gcc2 internal prototype to avoid an error. */
21767 /* We use char because int might match the return type of a gcc2
21768 builtin and then its argument prototype would still apply. */
21773 /* The GNU C library defines this for functions which it implements
21774 to always fail with ENOSYS. Some functions are actually named
21775 something starting with __ and the normal name is an alias. */
21776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21784 if { (eval echo configure
:21785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21786 eval "ac_cv_func_$ac_func=yes"
21788 echo "configure: failed program was:" >&5
21789 cat conftest.
$ac_ext >&5
21791 eval "ac_cv_func_$ac_func=no"
21796 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21797 echo "$ac_t""yes" 1>&6
21798 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21799 cat >> confdefs.h
<<EOF
21800 #define $ac_tr_func 1
21804 echo "$ac_t""no" 1>&6
21808 for ac_func
in floor
21810 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21811 echo "configure:21812: checking for $ac_func" >&5
21812 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21813 echo $ac_n "(cached) $ac_c" 1>&6
21815 cat > conftest.
$ac_ext <<EOF
21816 #line 21817 "configure"
21817 #include "confdefs.h"
21818 /* System header to define __stub macros and hopefully few prototypes,
21819 which can conflict with char $ac_func(); below. */
21820 #include <assert.h>
21821 /* Override any gcc2 internal prototype to avoid an error. */
21822 /* We use char because int might match the return type of a gcc2
21823 builtin and then its argument prototype would still apply. */
21828 /* The GNU C library defines this for functions which it implements
21829 to always fail with ENOSYS. Some functions are actually named
21830 something starting with __ and the normal name is an alias. */
21831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21839 if { (eval echo configure
:21840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21841 eval "ac_cv_func_$ac_func=yes"
21843 echo "configure: failed program was:" >&5
21844 cat conftest.
$ac_ext >&5
21846 eval "ac_cv_func_$ac_func=no"
21851 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21852 echo "$ac_t""yes" 1>&6
21853 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21854 cat >> confdefs.h
<<EOF
21855 #define $ac_tr_func 1
21859 echo "$ac_t""no" 1>&6
21863 echo $ac_n "checking if floating point functions link without -lm""... $ac_c" 1>&6
21864 echo "configure:21865: checking if floating point functions link without -lm" >&5
21865 if test "$have_cos" = 1 -a "$have_floor" = 1; then
21866 echo "$ac_t""yes" 1>&6
21868 echo "$ac_t""no" 1>&6
21870 # use different functions to avoid configure caching
21875 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21876 echo "configure:21877: checking for $ac_func" >&5
21877 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21878 echo $ac_n "(cached) $ac_c" 1>&6
21880 cat > conftest.
$ac_ext <<EOF
21881 #line 21882 "configure"
21882 #include "confdefs.h"
21883 /* System header to define __stub macros and hopefully few prototypes,
21884 which can conflict with char $ac_func(); below. */
21885 #include <assert.h>
21886 /* Override any gcc2 internal prototype to avoid an error. */
21887 /* We use char because int might match the return type of a gcc2
21888 builtin and then its argument prototype would still apply. */
21893 /* The GNU C library defines this for functions which it implements
21894 to always fail with ENOSYS. Some functions are actually named
21895 something starting with __ and the normal name is an alias. */
21896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21904 if { (eval echo configure
:21905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21906 eval "ac_cv_func_$ac_func=yes"
21908 echo "configure: failed program was:" >&5
21909 cat conftest.
$ac_ext >&5
21911 eval "ac_cv_func_$ac_func=no"
21916 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21917 echo "$ac_t""yes" 1>&6
21918 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21919 cat >> confdefs.h
<<EOF
21920 #define $ac_tr_func 1
21924 echo "$ac_t""no" 1>&6
21928 for ac_func
in ceil
21930 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21931 echo "configure:21932: checking for $ac_func" >&5
21932 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21933 echo $ac_n "(cached) $ac_c" 1>&6
21935 cat > conftest.
$ac_ext <<EOF
21936 #line 21937 "configure"
21937 #include "confdefs.h"
21938 /* System header to define __stub macros and hopefully few prototypes,
21939 which can conflict with char $ac_func(); below. */
21940 #include <assert.h>
21941 /* Override any gcc2 internal prototype to avoid an error. */
21942 /* We use char because int might match the return type of a gcc2
21943 builtin and then its argument prototype would still apply. */
21948 /* The GNU C library defines this for functions which it implements
21949 to always fail with ENOSYS. Some functions are actually named
21950 something starting with __ and the normal name is an alias. */
21951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21959 if { (eval echo configure
:21960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21961 eval "ac_cv_func_$ac_func=yes"
21963 echo "configure: failed program was:" >&5
21964 cat conftest.
$ac_ext >&5
21966 eval "ac_cv_func_$ac_func=no"
21971 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21972 echo "$ac_t""yes" 1>&6
21973 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21974 cat >> confdefs.h
<<EOF
21975 #define $ac_tr_func 1
21979 echo "$ac_t""no" 1>&6
21983 echo $ac_n "checking if floating point functions link with -lm""... $ac_c" 1>&6
21984 echo "configure:21985: checking if floating point functions link with -lm" >&5
21985 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
21986 echo "$ac_t""yes" 1>&6
21988 echo "$ac_t""no" 1>&6
21989 # not sure we should warn the user, crash, etc.
21993 if test "$wxUSE_GUI" = "yes"; then
21995 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
21998 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
21999 drawing dynamic erase event exec font image \
22000 minimal propsize rotate widgets"
22002 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
22004 SAMPLES_SUBDIRS
="console"
22008 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
22009 -I\${top_srcdir}/include \
22010 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
22013 if test "$wxUSE_GTK" = 1; then
22016 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
22019 if test "$GXX" = yes ; then
22020 CXXWARNINGS
="-Wall"
22022 if test "$wxUSE_NO_DEPS" = "no" ; then
22023 CFLAGS
="-MMD $CFLAGS"
22024 CXXFLAGS
="-MMD $CXXFLAGS"
22028 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
22030 CPPFLAGS
=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
22031 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
22032 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
22033 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
22035 LDFLAGS
="$LDFLAGS $PROFILE"
22037 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
22136 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
22137 echo "configure:22138: checking whether ${MAKE-make} sets \${MAKE}" >&5
22138 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
22139 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
22140 echo $ac_n "(cached) $ac_c" 1>&6
22142 cat > conftestmake
<<\EOF
22144 @
echo 'ac_maketemp="${MAKE}"'
22146 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22147 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
22148 if test -n "$ac_maketemp"; then
22149 eval ac_cv_prog_make_
${ac_make}_set
=yes
22151 eval ac_cv_prog_make_
${ac_make}_set
=no
22155 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
22156 echo "$ac_t""yes" 1>&6
22159 echo "$ac_t""no" 1>&6
22160 SET_MAKE
="MAKE=${MAKE-make}"
22164 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
22165 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
22170 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
22171 wx_cv_if_gnu_make
=$IF_GNU_MAKE
22172 wx_cv_path_ifs
=$PATH_IFS
22173 wx_cv_program_ext
=$PROGRAM_EXT
22174 wx_cv_target_library
=$WX_TARGET_LIBRARY
22175 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
22176 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
22177 wx_cv_library_basename
=${WX_LIBRARY_BASENAME}
22178 wx_cv_release
=${WX_RELEASE}
22179 wx_cv_current
=${WX_CURRENT}
22180 wx_cv_revision
=${WX_REVISION}
22181 wx_cv_age
=${WX_AGE}
22182 wx_cv_use_gui
=${USE_GUI}
22183 wx_cv_use_resources
=${wxUSE_RESOURCES}
22184 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
22185 wx_cv_path_ifs wx_cv_program_ext \
22186 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype \
22187 wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age \
22188 wx_cv_use_gui wx_cv_use_resources
22190 subdirs
="demos samples utils contrib"
22194 cat > confcache
<<\EOF
22195 # This file is a shell script that caches the results of configure
22196 # tests run on this system so they can be shared between configure
22197 # scripts and configure runs. It is not useful on other systems.
22198 # If it contains results you don't want to keep, you may remove or edit it.
22200 # By default, configure uses ./config.cache as the cache file,
22201 # creating it if it does not exist already. You can give configure
22202 # the --cache-file=FILE option to use a different cache file; that is
22203 # what configure does when it calls configure scripts in
22204 # subdirectories, so they share the cache.
22205 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22206 # config.status only pays attention to the cache file if you give it the
22207 # --recheck option to rerun configure.
22210 # The following way of writing the cache mishandles newlines in values,
22211 # but we know of no workaround that is simple, portable, and efficient.
22212 # So, don't put newlines in cache variables' values.
22213 # Ultrix sh set writes to stderr and can't be redirected directly,
22214 # and sets the high bit in the cache file unless we assign to the vars.
22216 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22218 # `set' does not quote correctly, so add quotes (double-quote substitution
22219 # turns \\\\ into \\, and sed turns \\ into \).
22221 -e "s/'/'\\\\''/g" \
22222 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22225 # `set' quotes correctly as required by POSIX, so do not add quotes.
22226 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22229 if cmp -s $cache_file confcache
; then
22232 if test -w $cache_file; then
22233 echo "updating cache $cache_file"
22234 cat confcache
> $cache_file
22236 echo "not updating unwritable cache $cache_file"
22241 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22243 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22244 # Let make expand exec_prefix.
22245 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22247 # Any assignment to VPATH causes Sun make to only execute
22248 # the first set of double-colon rules, so remove it if not needed.
22249 # If there is a colon in the path, we need to keep it.
22250 if test "x$srcdir" = x.
; then
22251 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
22254 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22256 DEFS
=-DHAVE_CONFIG_H
22258 # Without the "./", some shells look in PATH for config.status.
22259 : ${CONFIG_STATUS=./config.status}
22261 echo creating
$CONFIG_STATUS
22262 rm -f $CONFIG_STATUS
22263 cat > $CONFIG_STATUS <<EOF
22265 # Generated automatically by configure.
22266 # Run this file to recreate the current configuration.
22267 # This directory was configured as follows,
22268 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22270 # $0 $ac_configure_args
22272 # Compiler output produced by configure, useful for debugging
22273 # configure, is in ./config.log if it exists.
22275 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22278 case "\$ac_option" in
22279 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22280 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22281 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22282 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22283 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22285 -help | --help | --hel | --he | --h)
22286 echo "\$ac_cs_usage"; exit 0 ;;
22287 *) echo "\$ac_cs_usage"; exit 1 ;;
22291 ac_given_srcdir=$srcdir
22292 ac_given_INSTALL="$INSTALL"
22294 trap 'rm -fr `echo "
22301 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22303 cat >> $CONFIG_STATUS <<EOF
22305 # Protect against being on the right side of a sed subst in config.status.
22306 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22307 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22311 s%@CFLAGS@%$CFLAGS%g
22312 s%@CPPFLAGS@%$CPPFLAGS%g
22313 s%@CXXFLAGS@%$CXXFLAGS%g
22314 s%@FFLAGS@%$FFLAGS%g
22316 s%@LDFLAGS@%$LDFLAGS%g
22318 s%@exec_prefix@%$exec_prefix%g
22319 s%@prefix@%$prefix%g
22320 s%@program_transform_name@%$program_transform_name%g
22321 s%@bindir@%$bindir%g
22322 s%@sbindir@%$sbindir%g
22323 s%@libexecdir@%$libexecdir%g
22324 s%@datadir@%$datadir%g
22325 s%@sysconfdir@%$sysconfdir%g
22326 s%@sharedstatedir@%$sharedstatedir%g
22327 s%@localstatedir@%$localstatedir%g
22328 s%@libdir@%$libdir%g
22329 s%@includedir@%$includedir%g
22330 s%@oldincludedir@%$oldincludedir%g
22331 s%@infodir@%$infodir%g
22332 s%@mandir@%$mandir%g
22334 s%@host_alias@%$host_alias%g
22335 s%@host_cpu@%$host_cpu%g
22336 s%@host_vendor@%$host_vendor%g
22337 s%@host_os@%$host_os%g
22338 s%@target@%$target%g
22339 s%@target_alias@%$target_alias%g
22340 s%@target_cpu@%$target_cpu%g
22341 s%@target_vendor@%$target_vendor%g
22342 s%@target_os@%$target_os%g
22344 s%@build_alias@%$build_alias%g
22345 s%@build_cpu@%$build_cpu%g
22346 s%@build_vendor@%$build_vendor%g
22347 s%@build_os@%$build_os%g
22351 s%@RANLIB@%$RANLIB%g
22353 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22354 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22355 s%@INSTALL_DATA@%$INSTALL_DATA%g
22357 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
22360 s%@LEXLIB@%$LEXLIB%g
22362 s%@CXXCPP@%$CXXCPP%g
22363 s%@PKG_CONFIG@%$PKG_CONFIG%g
22364 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
22365 s%@GTK_LIBS@%$GTK_LIBS%g
22366 s%@GTK_CONFIG@%$GTK_CONFIG%g
22367 s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
22368 s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
22369 s%@X_CFLAGS@%$X_CFLAGS%g
22370 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
22371 s%@X_LIBS@%$X_LIBS%g
22372 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
22373 s%@PANGOX_CFLAGS@%$PANGOX_CFLAGS%g
22374 s%@PANGOX_LIBS@%$PANGOX_LIBS%g
22375 s%@PANGOXFT_CFLAGS@%$PANGOXFT_CFLAGS%g
22376 s%@PANGOXFT_LIBS@%$PANGOXFT_LIBS%g
22377 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
22378 s%@RESCOMP@%$RESCOMP%g
22380 s%@LIBICONV@%$LIBICONV%g
22381 s%@LEX_STEM@%$LEX_STEM%g
22382 s%@PATH_IFS@%$PATH_IFS%g
22383 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
22384 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
22385 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
22386 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
22387 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
22388 s%@WX_LIBRARY_BASENAME@%$WX_LIBRARY_BASENAME%g
22389 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
22390 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
22391 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
22392 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
22393 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
22394 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
22395 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
22396 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
22397 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
22398 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
22399 s%@WX_ALL@%$WX_ALL%g
22400 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
22401 s%@SHARED_LD@%$SHARED_LD%g
22402 s%@PIC_FLAG@%$PIC_FLAG%g
22403 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
22404 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
22405 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
22406 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
22407 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
22408 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
22409 s%@STATIC_FLAG@%$STATIC_FLAG%g
22410 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
22411 s%@USE_GUI@%$USE_GUI%g
22412 s%@AFMINSTALL@%$AFMINSTALL%g
22413 s%@WIN32INSTALL@%$WIN32INSTALL%g
22414 s%@TOOLKIT@%$TOOLKIT%g
22415 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
22416 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
22417 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
22418 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
22419 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
22420 s%@cross_compiling@%$cross_compiling%g
22421 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
22422 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
22423 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
22424 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
22425 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
22426 s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
22427 s%@WX_LARGEFILE_FLAGS@%$WX_LARGEFILE_FLAGS%g
22428 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
22429 s%@ALL_HEADERS@%$ALL_HEADERS%g
22430 s%@ALL_SOURCES@%$ALL_SOURCES%g
22431 s%@GUIDIST@%$GUIDIST%g
22432 s%@PORT_FILES@%$PORT_FILES%g
22433 s%@DISTDIR@%$DISTDIR%g
22434 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
22435 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
22436 s%@LDFLAGS_VERSIONING@%$LDFLAGS_VERSIONING%g
22437 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
22438 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
22439 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
22440 s%@EXTRADEFS@%$EXTRADEFS%g
22441 s%@WX_VERSION_TAG@%$WX_VERSION_TAG%g
22442 s%@RESFLAGS@%$RESFLAGS%g
22443 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
22444 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
22445 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
22446 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
22447 s%@LIBWXMACRES@%$LIBWXMACRES%g
22448 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
22449 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
22451 s%@DLLTOOL@%$DLLTOOL%g
22455 s%@MAKEINFO@%$MAKEINFO%g
22456 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
22457 s%@SET_MAKE@%$SET_MAKE%g
22458 s%@subdirs@%$subdirs%g
22463 cat >> $CONFIG_STATUS <<\EOF
22465 # Split the substitutions into bite-sized pieces for seds with
22466 # small command number limits, like on Digital OSF/1 and HP-UX.
22467 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
22468 ac_file
=1 # Number of current file.
22469 ac_beg
=1 # First line for current file.
22470 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
22473 while $ac_more_lines; do
22474 if test $ac_beg -gt 1; then
22475 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
22477 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
22479 if test ! -s conftest.s
$ac_file; then
22480 ac_more_lines
=false
22481 rm -f conftest.s
$ac_file
22483 if test -z "$ac_sed_cmds"; then
22484 ac_sed_cmds
="sed -f conftest.s$ac_file"
22486 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
22488 ac_file
=`expr $ac_file + 1`
22490 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
22493 if test -z "$ac_sed_cmds"; then
22498 cat >> $CONFIG_STATUS <<EOF
22500 CONFIG_FILES=\${CONFIG_FILES-"wx-config
22508 cat >> $CONFIG_STATUS <<\EOF
22509 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
22510 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22512 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22513 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22514 *) ac_file_in
="${ac_file}.in" ;;
22517 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22519 # Remove last slash and all that follows it. Not all systems have dirname.
22520 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22521 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
22522 # The file is in a subdirectory.
22523 test ! -d "$ac_dir" && mkdir "$ac_dir"
22524 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
22525 # A "../" for each directory in $ac_dir_suffix.
22526 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22528 ac_dir_suffix
= ac_dots
=
22531 case "$ac_given_srcdir" in
22533 if test -z "$ac_dots"; then top_srcdir
=.
22534 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22535 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
22536 *) # Relative path.
22537 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22538 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
22541 case "$ac_given_INSTALL" in
22542 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
22543 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
22546 echo creating
"$ac_file"
22548 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22550 *Makefile
*) ac_comsub
="1i\\
22551 # $configure_input" ;;
22555 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22557 s%@configure_input@%$configure_input%g
22558 s%@srcdir@%$srcdir%g
22559 s%@top_srcdir@%$top_srcdir%g
22560 s%@INSTALL@%$INSTALL%g
22561 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22565 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22566 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22568 # ac_d sets the value in "#define NAME VALUE" lines.
22569 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22570 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
22573 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22574 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22575 ac_uB
='\([ ]\)%\1#\2define\3'
22578 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22579 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22580 ac_eB
='$%\1#\2define\3'
22584 if test "${CONFIG_HEADERS+set}" != set; then
22586 cat >> $CONFIG_STATUS <<EOF
22587 CONFIG_HEADERS="setup.h:setup.h.in"
22589 cat >> $CONFIG_STATUS <<\EOF
22591 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
22592 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22594 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22595 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22596 *) ac_file_in
="${ac_file}.in" ;;
22599 echo creating
$ac_file
22601 rm -f conftest.frag conftest.
in conftest.out
22602 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22603 cat $ac_file_inputs > conftest.
in
22607 # Transform confdefs.h into a sed script conftest.vals that substitutes
22608 # the proper values into config.h.in to produce config.h. And first:
22609 # Protect against being on the right side of a sed subst in config.status.
22610 # Protect against being in an unquoted here document in config.status.
22611 rm -f conftest.vals
22612 cat > conftest.hdr
<<\EOF
22615 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22619 sed -n -f conftest.hdr confdefs.h > conftest.vals
22622 # This sed command replaces #undef with comments. This is necessary, for
22623 # example, in the case of _POSIX_SOURCE, which is predefined and required
22624 # on some systems where configure will not decide to define it.
22625 cat >> conftest.vals <<\EOF
22626 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22629 # Break up conftest.vals because some shells have a limit on
22630 # the size of here documents, and old seds have small limits too.
22632 rm -f conftest.tail
22635 ac_lines=`grep -c . conftest.vals
`
22636 # grep -c gives empty output for an empty file on some AIX systems.
22637 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22638 # Write a limited-size here document to conftest.frag.
22639 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22640 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22642 sed -f conftest.frag conftest.in > conftest.out
22644 mv conftest.out conftest.in
22645 ' >> $CONFIG_STATUS
22646 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22647 rm -f conftest.vals
22648 mv conftest.tail conftest.vals
22650 rm -f conftest.vals
22652 cat >> $CONFIG_STATUS <<\EOF
22653 rm -f conftest.frag conftest.h
22654 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22655 cat conftest.in >> conftest.h
22657 if cmp -s $ac_file conftest.h 2>/dev/null; then
22658 echo "$ac_file is unchanged"
22661 # Remove last slash and all that follows it. Not all systems have dirname.
22662 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22663 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22664 # The file is in a subdirectory.
22665 test ! -d "$ac_dir" && mkdir "$ac_dir"
22668 mv conftest.h $ac_file
22673 cat >> $CONFIG_STATUS <<EOF
22675 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
22680 cat >> $CONFIG_STATUS <<\EOF
22682 if test ! -h wx-config; then
22684 mv wx-config wx${TOOLCHAIN_NAME}-config
22685 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
22688 if test ! -d lib; then
22691 if test ! -d lib/wx; then
22694 if test ! -d lib/wx/include; then
22695 mkdir lib/wx/include
22697 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
22698 mkdir lib/wx/include/${TOOLCHAIN_NAME}
22700 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
22701 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
22703 if test -f setup.h; then
22704 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
22709 chmod +x $CONFIG_STATUS
22710 rm -fr confdefs* $ac_clean_files
22711 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22713 if test "$no_recursion" != yes; then
22715 # Remove --cache-file and --srcdir arguments so they do not pile up.
22716 ac_sub_configure_args=
22718 for ac_arg in $ac_configure_args; do
22719 if test -n "$ac_prev"; then
22724 -cache-file | --cache-file | --cache-fil | --cache-fi \
22725 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
22726 ac_prev=cache_file ;;
22727 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
22728 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
22730 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
22732 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
22734 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
22738 for ac_config_dir in demos samples utils contrib; do
22740 # Do not complain, so a configure script can configure whichever
22741 # parts of a large source tree are present.
22742 if test ! -d $srcdir/$ac_config_dir; then
22746 echo configuring in $ac_config_dir
22751 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
22753 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
22761 # A "../" for each directory in /$ac_config_dir.
22762 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
22765 .) # No --srcdir option. We are building in place.
22766 ac_sub_srcdir=$srcdir ;;
22767 /*) # Absolute path.
22768 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
22769 *) # Relative path.
22770 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
22773 # Check for guested configure; otherwise get Cygnus style configure.
22774 if test -f $ac_sub_srcdir/configure; then
22775 ac_sub_configure=$ac_sub_srcdir/configure
22776 elif test -f $ac_sub_srcdir/configure.in; then
22777 ac_sub_configure=$ac_configure
22779 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
22783 # The recursion is here.
22784 if test -n "$ac_sub_configure"; then
22786 # Make the cache file name correct relative to the subdirectory.
22787 case "$cache_file" in
22788 /*) ac_sub_cache_file=$cache_file ;;
22789 *) # Relative path.
22790 ac_sub_cache_file="$ac_dots$cache_file" ;;
22792 case "$ac_given_INSTALL" in
22793 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22794 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22797 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
22798 # The eval makes quoting arguments work.
22799 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
22802 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
22812 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
22814 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
22816 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
22817 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
22818 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
22820 echo " What level of wxWindows compatibility should be enabled?"
22821 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
22822 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
22823 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
22825 echo " Which libraries should wxWindows use?"
22826 echo " jpeg ${wxUSE_LIBJPEG-none}"
22827 echo " png ${wxUSE_LIBPNG-none}"
22828 echo " regex ${wxUSE_REGEX}"
22829 echo " tiff ${wxUSE_LIBTIFF-none}"
22830 echo " zlib ${wxUSE_ZLIB}"