3 # From configure.in Id: configure.in
62 # Configure paths for GTK+
63 # Owen Taylor 1997-2001
67 # Configure paths for GTK+
77 # Guess values for system-dependent variables and create Makefiles.
78 # Generated automatically using autoconf version 2.13
79 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
81 # This configure script is free software; the Free Software Foundation
82 # gives unlimited permission to copy, distribute and modify it.
86 ac_default_prefix
=/usr
/local
87 # Any additions from configure.in:
89 --enable-gui use GUI classes"
91 --enable-universal use wxWindows GUI controls instead of native ones"
95 --with-motif use Motif/Lesstif"
97 --with-mac use Mac OS X"
101 --with-msw use MS-Windows"
103 --with-pm use OS/2 Presentation Manager"
105 --with-mgl use SciTech MGL"
107 --with-microwin use MicroWindows"
111 --enable-nanox use NanoX"
113 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
115 --with-libpng use libpng (PNG image format)"
117 --with-libjpeg use libjpeg (JPEG file format)"
119 --with-libtiff use libtiff (TIFF file format)"
121 --with-opengl use OpenGL (or Mesa)"
123 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
125 --with-regex enable support for wxRegEx class"
127 --with-zlib use zlib for LZW compression"
129 --with-odbc use the IODBC and wxODBC classes"
131 --enable-shared create shared library code"
133 --enable-soname set the DT_SONAME field in ELF shared libraries"
135 --enable-optimise create optimised code"
137 --enable-debug same as debug_flag and debug_info"
139 --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)"
141 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
143 --enable-debug_info create code with debugging information"
145 --enable-debug_gdb create code with extra GDB debugging information"
147 --enable-debug_cntxt use wxDebugContext"
149 --enable-mem_tracing create code with memory tracing"
151 --enable-profile create code with profiling information"
153 --enable-no_rtti create code without RTTI information"
155 --enable-no_exceptions create code without C++ exceptions handling"
157 --enable-permissive compile code disregarding strict ANSI"
159 --enable-no_deps create code without dependency information"
161 --enable-compat20 enable wxWindows 2.0 compatibility"
163 --disable-compat22 disable wxWindows 2.2 compatibility"
165 --enable-rpath=DIR output the rpath flag from wx-config"
167 --enable-intl use internationalization system"
169 --enable-config use wxConfig (and derived) classes"
171 --enable-protocols use wxProtocol and derived classes"
173 --enable-ftp use wxFTP (requires wxProtocol"
175 --enable-http use wxHTTP (requires wxProtocol"
177 --enable-fileproto use wxFileProto class (requires wxProtocol"
179 --enable-sockets use socket/network classes"
181 --enable-ole use OLE classes"
183 --enable-dataobj use data object classes"
185 --enable-ipc use interprocess communication (wxSocket etc.)"
187 --enable-cmdline use wxCmdLineParser class"
189 --enable-datetime use wxDateTime class"
191 --enable-timedate use obsolete wxDate/wxTime classes"
193 --enable-stopwatch use wxStopWatch class"
195 --enable-dialupman use dialup network classes"
197 --enable-apple_ieee use the Apple IEEE codec"
199 --enable-timer use wxTimer class"
201 --enable-wave use wxWave class"
203 --enable-fraction use wxFraction class"
205 --enable-dynlib use wxLibrary class for DLL loading"
207 --enable-dynamicloader use (new) wxDynamicLibrary class"
209 --enable-longlong use wxLongLong class"
211 --enable-geometry use geometry class"
213 --enable-log use logging system"
215 --enable-streams use wxStream etc classes"
217 --enable-file use wxFile classes"
219 --enable-ffile use wxFFile classes"
221 --enable-textbuf use wxTextBuffer class"
223 --enable-textfile use wxTextFile class"
225 --enable-fontmap use font encodings conversion classes"
227 --enable-unicode compile wxString with Unicode support"
229 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
231 --enable-wxprintfv use wxWindows implementation of vprintf()"
233 --enable-std_iostreams use standard C++ stream classes"
235 --enable-filesystem use virtual file systems classes"
237 --enable-fs_inet use virtual HTTP/FTP filesystems"
239 --enable-fs_zip use virtual ZIP filesystems"
241 --enable-zipstream use wxZipInputStream"
243 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
245 --enable-snglinst use wxSingleInstanceChecker class"
247 --enable-mimetype use wxMimeTypesManager"
249 --enable-sysoptions use wxSystemOptions"
251 --enable-url use wxURL class"
253 --enable-protocol use wxProtocol class"
255 --enable-protocol-http HTTP support in wxProtocol"
257 --enable-protocol-ftp FTP support in wxProtocol"
259 --enable-protocol-file FILE support in wxProtocol"
261 --enable-threads use threads"
263 --enable-docview use document view architecture"
265 --enable-help use help subsystem"
267 --enable-mshtmlhelp use MS HTML Help (win32)"
269 --enable-html use wxHTML sub-library"
271 --enable-htmlhelp use wxHTML-based help"
273 --enable-constraints use layout-constraints system"
275 --enable-printarch use printing architecture"
277 --enable-mdi use multiple document interface architecture"
279 --enable-loggui use standard GUI logger"
281 --enable-logwin use wxLogWindow"
283 --enable-logdialog use wxLogDialog"
285 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
287 --enable-prologio use Prolog IO library"
289 --enable-resources use wxWindows resources"
291 --enable-xresources use X resources for save (default for gtk+)"
293 --enable-clipboard use wxClipboard classes"
295 --enable-dnd use Drag'n'Drop classes"
297 --enable-metafile use win32 metafiles"
299 --enable-treelayout use wxTreeLayout classes"
301 --enable-controls use all usual controls"
303 --enable-accel use accelerators"
305 --enable-button use wxButton class"
307 --enable-bmpbutton use wxBitmapButton class"
309 --enable-calendar use wxCalendarCtrl class"
311 --enable-caret use wxCaret class"
313 --enable-checkbox use wxCheckBox class"
315 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
317 --enable-choice use wxChoice class"
319 --enable-combobox use wxComboBox classes"
321 --enable-gauge use wxGauge class"
323 --enable-grid use wxGrid class"
325 --enable-newgrid use new wxGrid class"
327 --enable-imaglist use wxImageList class"
329 --enable-listbox use wxListBox class"
331 --enable-listctrl use wxListCtrl class"
333 --enable-notebook use wxNotebook class"
335 --enable-propsheet use wxPropertySheet class"
337 --enable-radiobox use wxRadioBox class"
339 --enable-radiobtn use wxRadioButton class"
341 --enable-sash use wxSashWindow class"
343 --enable-scrollbar use wxScrollBar class and scrollable windows"
345 --enable-slider use wxSlider class"
347 --enable-spinbtn use wxSpinButton class"
349 --enable-spinctrl use wxSpinCtrl class"
351 --enable-splitter use wxSplitterWindow class"
353 --enable-statbmp use wxStaticBitmap class"
355 --enable-statbox use wxStaticBox class"
357 --enable-statline use wxStaticLine class"
359 --enable-stattext use wxStaticText class"
361 --enable-statusbar use wxStatusBar class"
363 --enable-tabdialog use wxTabControl class"
365 --enable-textctrl use wxTextCtrl class"
367 --enable-togglebtn use wxToggleButton class"
369 --enable-toolbar use wxToolBar class"
371 --enable-tbarnative use native wxToolBar class"
373 --enable-tbarsmpl use wxToolBarSimple class"
375 --enable-treectrl use wxTreeCtrl class"
377 --enable-tipwindow use wxTipWindow class"
379 --enable-popupwin use wxPopUpWindow class"
381 --enable-commondlg use all common dialogs"
383 --enable-choicedlg use wxChoiceDialog"
385 --enable-coldlg use wxColourDialog"
387 --enable-filedlg use wxFileDialog"
389 --enable-finddlg use wxFindReplaceDialog"
391 --enable-fontdlg use wxFontDialog"
393 --enable-dirdlg use wxDirDialog"
395 --enable-msgdlg use wxMessageDialog"
397 --enable-numberdlg use wxNumberEntryDialog"
399 --enable-splash use wxSplashScreen"
401 --enable-textdlg use wxTextDialog"
403 --enable-tipdlg use startup tips"
405 --enable-progressdlg use wxProgressDialog"
407 --enable-wizarddlg use wxWizard"
409 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
411 --enable-miniframe use wxMiniFrame class"
413 --enable-tooltips use wxToolTip class"
415 --enable-splines use spline drawing code"
417 --enable-validators use wxValidator and derived classes"
419 --enable-busyinfo use wxBusyInfo"
421 --enable-joystick use wxJoystick (Linux only)"
423 --enable-metafiles use wxMetaFile (Windows only)"
425 --enable-dragimage use wxDragImage"
427 --enable-palette use wxPalette class"
429 --enable-image use wxImage class"
431 --enable-gif use gif images (GIF file format)"
433 --enable-pcx use pcx images (PCX file format)"
435 --enable-iff use iff images (IFF file format)"
437 --enable-pnm use pnm images (PNM file format)"
439 --enable-xpm use xpm images (XPM file format)"
441 --enable-icocur use Windows ICO and CUR formats"
443 --disable-largefile omit support for large files"
445 --disable-gtktest do not try to compile and run a test GTK+ program"
447 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
449 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
451 --disable-gtktest Do not try to compile and run a test GTK program"
453 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
455 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
457 --disable-gtktest Do not try to compile and run a test GTK program"
459 --with-x use the X Window System"
461 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
463 # Initialize some variables set by options.
464 # The variables have the same names as the options, with
465 # dashes changed to underlines.
467 cache_file
=.
/config.cache
476 program_transform_name
=s
,x
,x
,
484 bindir
='${exec_prefix}/bin'
485 sbindir
='${exec_prefix}/sbin'
486 libexecdir
='${exec_prefix}/libexec'
487 datadir
='${prefix}/share'
488 sysconfdir
='${prefix}/etc'
489 sharedstatedir
='${prefix}/com'
490 localstatedir
='${prefix}/var'
491 libdir
='${exec_prefix}/lib'
492 includedir
='${prefix}/include'
493 oldincludedir
='/usr/include'
494 infodir
='${prefix}/info'
495 mandir
='${prefix}/man'
497 # Initialize some other variables.
500 SHELL
=${CONFIG_SHELL-/bin/sh}
501 # Maximum number of lines to put in a shell here document.
508 # If the previous option needs an argument, assign it.
509 if test -n "$ac_prev"; then
510 eval "$ac_prev=\$ac_option"
516 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
520 # Accept the important Cygnus configure options, so we can diagnose typos.
524 -bindir | --bindir | --bindi | --bind | --bin | --bi)
526 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
527 bindir
="$ac_optarg" ;;
529 -build | --build | --buil | --bui | --bu)
531 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
532 build
="$ac_optarg" ;;
534 -cache-file | --cache-file | --cache-fil | --cache-fi \
535 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
536 ac_prev
=cache_file
;;
537 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
538 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
539 cache_file
="$ac_optarg" ;;
541 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
543 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
545 datadir
="$ac_optarg" ;;
547 -disable-* | --disable-*)
548 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
549 # Reject names that are not valid shell variable names.
550 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
551 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
553 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
554 eval "enable_${ac_feature}=no" ;;
556 -enable-* | --enable-*)
557 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
558 # Reject names that are not valid shell variable names.
559 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
560 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
562 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
567 eval "enable_${ac_feature}='$ac_optarg'" ;;
569 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
570 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
571 | --exec | --exe | --ex)
572 ac_prev
=exec_prefix
;;
573 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
574 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
575 | --exec=* | --exe=* | --ex=*)
576 exec_prefix
="$ac_optarg" ;;
578 -gas | --gas | --ga | --g)
579 # Obsolete; use --with-gas.
582 -help | --help | --hel | --he)
583 # Omit some internal or obsolete options to make the list less imposing.
584 # This message is too long to be a string in the A/UX 3.1 sh.
586 Usage: configure [options] [host]
587 Options: [defaults in brackets after descriptions]
589 --cache-file=FILE cache test results in FILE
590 --help print this message
591 --no-create do not create output files
592 --quiet, --silent do not print \`checking...' messages
593 --version print the version of autoconf that created configure
594 Directory and file names:
595 --prefix=PREFIX install architecture-independent files in PREFIX
597 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
599 --bindir=DIR user executables in DIR [EPREFIX/bin]
600 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
601 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
602 --datadir=DIR read-only architecture-independent data in DIR
604 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
605 --sharedstatedir=DIR modifiable architecture-independent data in DIR
607 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
608 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
609 --includedir=DIR C header files in DIR [PREFIX/include]
610 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
611 --infodir=DIR info documentation in DIR [PREFIX/info]
612 --mandir=DIR man documentation in DIR [PREFIX/man]
613 --srcdir=DIR find the sources in DIR [configure dir or ..]
614 --program-prefix=PREFIX prepend PREFIX to installed program names
615 --program-suffix=SUFFIX append SUFFIX to installed program names
616 --program-transform-name=PROGRAM
617 run sed PROGRAM on installed program names
621 --build=BUILD configure for building on BUILD [BUILD=HOST]
622 --host=HOST configure for HOST [guessed]
623 --target=TARGET configure for TARGET [TARGET=HOST]
624 Features and packages:
625 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
626 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
627 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
628 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
629 --x-includes=DIR X include files are in DIR
630 --x-libraries=DIR X library files are in DIR
632 if test -n "$ac_help"; then
633 echo "--enable and --with options recognized:$ac_help"
637 -host | --host | --hos | --ho)
639 -host=* | --host=* | --hos=* | --ho=*)
642 -includedir | --includedir | --includedi | --included | --include \
643 | --includ | --inclu | --incl | --inc)
644 ac_prev
=includedir
;;
645 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
646 | --includ=* | --inclu=* | --incl=* | --inc=*)
647 includedir
="$ac_optarg" ;;
649 -infodir | --infodir | --infodi | --infod | --info | --inf)
651 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
652 infodir
="$ac_optarg" ;;
654 -libdir | --libdir | --libdi | --libd)
656 -libdir=* | --libdir=* | --libdi=* | --libd=*)
657 libdir
="$ac_optarg" ;;
659 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
660 | --libexe | --libex | --libe)
661 ac_prev
=libexecdir
;;
662 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
663 | --libexe=* | --libex=* | --libe=*)
664 libexecdir
="$ac_optarg" ;;
666 -localstatedir | --localstatedir | --localstatedi | --localstated \
667 | --localstate | --localstat | --localsta | --localst \
668 | --locals | --local | --loca | --loc | --lo)
669 ac_prev
=localstatedir
;;
670 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
671 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
672 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
673 localstatedir
="$ac_optarg" ;;
675 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
677 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
678 mandir
="$ac_optarg" ;;
681 # Obsolete; use --without-fp.
684 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
688 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
689 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
692 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
693 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
694 | --oldin | --oldi | --old | --ol | --o)
695 ac_prev
=oldincludedir
;;
696 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
697 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
698 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
699 oldincludedir
="$ac_optarg" ;;
701 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
703 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
704 prefix
="$ac_optarg" ;;
706 -program-prefix | --program-prefix | --program-prefi | --program-pref \
707 | --program-pre | --program-pr | --program-p)
708 ac_prev
=program_prefix
;;
709 -program-prefix=* | --program-prefix=* | --program-prefi=* \
710 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
711 program_prefix
="$ac_optarg" ;;
713 -program-suffix | --program-suffix | --program-suffi | --program-suff \
714 | --program-suf | --program-su | --program-s)
715 ac_prev
=program_suffix
;;
716 -program-suffix=* | --program-suffix=* | --program-suffi=* \
717 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
718 program_suffix
="$ac_optarg" ;;
720 -program-transform-name | --program-transform-name \
721 | --program-transform-nam | --program-transform-na \
722 | --program-transform-n | --program-transform- \
723 | --program-transform | --program-transfor \
724 | --program-transfo | --program-transf \
725 | --program-trans | --program-tran \
726 | --progr-tra | --program-tr | --program-t)
727 ac_prev
=program_transform_name
;;
728 -program-transform-name=* | --program-transform-name=* \
729 | --program-transform-nam=* | --program-transform-na=* \
730 | --program-transform-n=* | --program-transform-=* \
731 | --program-transform=* | --program-transfor=* \
732 | --program-transfo=* | --program-transf=* \
733 | --program-trans=* | --program-tran=* \
734 | --progr-tra=* | --program-tr=* | --program-t=*)
735 program_transform_name
="$ac_optarg" ;;
737 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
738 | -silent | --silent | --silen | --sile | --sil)
741 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
743 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
745 sbindir
="$ac_optarg" ;;
747 -sharedstatedir | --sharedstatedir | --sharedstatedi \
748 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
749 | --sharedst | --shareds | --shared | --share | --shar \
751 ac_prev
=sharedstatedir
;;
752 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
753 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
754 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
756 sharedstatedir
="$ac_optarg" ;;
758 -site | --site | --sit)
760 -site=* | --site=* | --sit=*)
763 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
765 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
766 srcdir
="$ac_optarg" ;;
768 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
769 | --syscon | --sysco | --sysc | --sys | --sy)
770 ac_prev
=sysconfdir
;;
771 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
772 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
773 sysconfdir
="$ac_optarg" ;;
775 -target | --target | --targe | --targ | --tar | --ta | --t)
777 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
778 target
="$ac_optarg" ;;
780 -v | -verbose | --verbose | --verbos | --verbo | --verb)
783 -version | --version | --versio | --versi | --vers)
784 echo "configure generated by autoconf version 2.13"
788 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
789 # Reject names that are not valid shell variable names.
790 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
791 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
793 ac_package
=`echo $ac_package| sed 's/-/_/g'`
798 eval "with_${ac_package}='$ac_optarg'" ;;
800 -without-* | --without-*)
801 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
802 # Reject names that are not valid shell variable names.
803 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
804 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
806 ac_package
=`echo $ac_package| sed 's/-/_/g'`
807 eval "with_${ac_package}=no" ;;
810 # Obsolete; use --with-x.
813 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
814 | --x-incl | --x-inc | --x-in | --x-i)
815 ac_prev
=x_includes
;;
816 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
817 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
818 x_includes
="$ac_optarg" ;;
820 -x-libraries | --x-libraries | --x-librarie | --x-librari \
821 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
822 ac_prev
=x_libraries
;;
823 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
824 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
825 x_libraries
="$ac_optarg" ;;
827 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
831 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
832 echo "configure: warning: $ac_option: invalid host type" 1>&2
834 if test "x$nonopt" != xNONE
; then
835 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
843 if test -n "$ac_prev"; then
844 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
847 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
849 # File descriptor usage:
852 # 2 errors and warnings
853 # 3 some systems may open it to /dev/tty
854 # 4 used on the Kubota Titan
855 # 6 checking for... messages and results
856 # 5 compiler messages saved in config.log
857 if test "$silent" = yes; then
865 This file contains any messages produced by compilers while
866 running configure, to aid debugging if configure makes a mistake.
869 # Strip out --no-create and --no-recursion so they do not pile up.
870 # Also quote any args containing shell metacharacters.
875 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
876 | --no-cr | --no-c) ;;
877 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
878 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
879 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
880 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
881 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
886 # Only set these to C if already set. These must not be set unconditionally
887 # because not all systems understand e.g. LANG=C (notably SCO).
888 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
889 # Non-C LC_CTYPE values break the ctype check.
890 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
891 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
892 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
893 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
895 # confdefs.h avoids OS command line length limits that DEFS can exceed.
896 rm -rf conftest
* confdefs.h
897 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
900 # A filename unique to this package, relative to the directory that
901 # configure is in, which we can look for to find out if srcdir is correct.
902 ac_unique_file
=wx
-config.
in
904 # Find the source files, if location was not specified.
905 if test -z "$srcdir"; then
906 ac_srcdir_defaulted
=yes
907 # Try the directory containing this script, then its parent.
909 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
910 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
912 if test ! -r $srcdir/$ac_unique_file; then
916 ac_srcdir_defaulted
=no
918 if test ! -r $srcdir/$ac_unique_file; then
919 if test "$ac_srcdir_defaulted" = yes; then
920 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
922 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
925 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
927 # Prefer explicitly selected file to automatically selected ones.
928 if test -z "$CONFIG_SITE"; then
929 if test "x$prefix" != xNONE
; then
930 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
932 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
935 for ac_site_file
in $CONFIG_SITE; do
936 if test -r "$ac_site_file"; then
937 echo "loading site script $ac_site_file"
942 if test -r "$cache_file"; then
943 echo "loading cache $cache_file"
946 echo "creating cache $cache_file"
951 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
952 ac_cpp
='$CPP $CPPFLAGS'
953 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
954 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
955 cross_compiling
=$ac_cv_prog_cc_cross
959 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
960 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
961 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
968 ac_n
= ac_c
='\c' ac_t
=
974 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
975 if test -f $ac_dir/install-sh; then
977 ac_install_sh
="$ac_aux_dir/install-sh -c"
979 elif test -f $ac_dir/install.sh
; then
981 ac_install_sh
="$ac_aux_dir/install.sh -c"
985 if test -z "$ac_aux_dir"; then
986 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
988 ac_config_guess
=$ac_aux_dir/config.guess
989 ac_config_sub
=$ac_aux_dir/config.sub
990 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
993 # Do some error checking and defaulting for the host and target type.
995 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
998 # 1. You are not allowed to specify --host, --target, and nonopt at the
1000 # 2. Host defaults to nonopt.
1001 # 3. If nonopt is not specified, then host defaults to the current host,
1002 # as determined by config.guess.
1003 # 4. Target and build default to nonopt.
1004 # 5. If nonopt is not specified, then target and build default to host.
1006 # The aliases save the names the user supplied, while $host etc.
1007 # will get canonicalized.
1008 case $host---$target---$nonopt in
1009 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
1010 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1014 # Make sure we can run config.sub.
1015 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1016 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1019 echo $ac_n "checking host system type""... $ac_c" 1>&6
1020 echo "configure:1021: checking host system type" >&5
1023 case "$host_alias" in
1027 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1028 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1030 *) host_alias
=$nonopt ;;
1034 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1035 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1036 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1037 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1038 echo "$ac_t""$host" 1>&6
1040 echo $ac_n "checking target system type""... $ac_c" 1>&6
1041 echo "configure:1042: checking target system type" >&5
1043 target_alias
=$target
1044 case "$target_alias" in
1047 NONE
) target_alias
=$host_alias ;;
1048 *) target_alias
=$nonopt ;;
1052 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1053 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1054 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1055 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1056 echo "$ac_t""$target" 1>&6
1058 echo $ac_n "checking build system type""... $ac_c" 1>&6
1059 echo "configure:1060: checking build system type" >&5
1062 case "$build_alias" in
1065 NONE
) build_alias
=$host_alias ;;
1066 *) build_alias
=$nonopt ;;
1070 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1071 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1072 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1073 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1074 echo "$ac_t""$build" 1>&6
1076 test "$host_alias" != "$target_alias" &&
1077 test "$program_prefix$program_suffix$program_transform_name" = \
1079 program_prefix
=${target_alias}-
1083 WX_MAJOR_VERSION_NUMBER
=2
1084 WX_MINOR_VERSION_NUMBER
=5
1087 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1088 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1090 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1124 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1126 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1131 DEFAULT_wxUSE_MICROWIN
=0
1132 DEFAULT_wxUSE_MOTIF
=0
1137 DEFAULT_DEFAULT_wxUSE_GTK
=0
1138 DEFAULT_DEFAULT_wxUSE_MAC
=0
1139 DEFAULT_DEFAULT_wxUSE_MGL
=0
1140 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1141 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1142 DEFAULT_DEFAULT_wxUSE_MSW
=0
1143 DEFAULT_DEFAULT_wxUSE_PM
=0
1144 DEFAULT_DEFAULT_wxUSE_X11
=0
1152 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1153 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1155 cat >> confdefs.h
<<\EOF
1162 cat >> confdefs.h
<<\EOF
1167 if test "x$TMP" = "xalpha"; then
1169 cat >> confdefs.h
<<\EOF
1174 DEFAULT_DEFAULT_wxUSE_GTK
=1
1176 *-*-irix5* | *-*-irix6* )
1179 cat >> confdefs.h
<<\EOF
1183 cat >> confdefs.h
<<\EOF
1187 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1193 cat >> confdefs.h
<<\EOF
1197 cat >> confdefs.h
<<\EOF
1198 #define __SOLARIS__ 1
1201 cat >> confdefs.h
<<\EOF
1205 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1206 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1212 cat >> confdefs.h
<<\EOF
1216 cat >> confdefs.h
<<\EOF
1220 cat >> confdefs.h
<<\EOF
1224 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1229 cat >> confdefs.h
<<\EOF
1230 #define __FREEBSD__ 1
1233 cat >> confdefs.h
<<\EOF
1237 DEFAULT_DEFAULT_wxUSE_GTK
=1
1242 cat >> confdefs.h
<<\EOF
1243 #define __OPENBSD__ 1
1246 cat >> confdefs.h
<<\EOF
1250 DEFAULT_DEFAULT_wxUSE_GTK
=1
1255 cat >> confdefs.h
<<\EOF
1256 #define __NETBSD__ 1
1259 cat >> confdefs.h
<<\EOF
1263 DEFAULT_DEFAULT_wxUSE_GTK
=1
1268 cat >> confdefs.h
<<\EOF
1272 cat >> confdefs.h
<<\EOF
1276 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1277 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1282 cat >> confdefs.h
<<\EOF
1286 cat >> confdefs.h
<<\EOF
1290 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1295 cat >> confdefs.h
<<\EOF
1299 cat >> confdefs.h
<<\EOF
1303 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1310 cat >> confdefs.h
<<\EOF
1314 cat >> confdefs.h
<<\EOF
1318 cat >> confdefs.h
<<\EOF
1322 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1325 *-*-cygwin* | *-*-mingw32* )
1329 DEFAULT_DEFAULT_wxUSE_MSW
=1
1335 cat >> confdefs.h
<<\EOF
1340 DEFAULT_DEFAULT_wxUSE_MGL
=1
1341 LIBS
="$LIBS -lstdc++"
1344 *-pc-os2_emx | *-pc-os2-emx )
1345 cat >> confdefs.h
<<\EOF
1350 DEFAULT_DEFAULT_wxUSE_PM
=1
1357 cat >> confdefs.h
<<\EOF
1361 cat >> confdefs.h
<<\EOF
1362 #define __DARWIN__ 1
1365 cat >> confdefs.h
<<\EOF
1366 #define __POWERPC__ 1
1369 DEFAULT_DEFAULT_wxUSE_MAC
=1
1374 cat >> confdefs.h
<<\EOF
1381 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1387 wx_arg_cache_file
="configarg.cache"
1388 echo "loading argument cache $wx_arg_cache_file"
1389 rm -f ${wx_arg_cache_file}.tmp
1390 touch ${wx_arg_cache_file}.tmp
1391 touch ${wx_arg_cache_file}
1395 if test $DEBUG_CONFIGURE = 1; then
1396 DEFAULT_wxUSE_UNIVERSAL
=no
1398 DEFAULT_wxUSE_NANOX
=no
1400 DEFAULT_wxUSE_THREADS
=yes
1402 DEFAULT_wxUSE_SHARED
=yes
1403 DEFAULT_wxUSE_SONAME
=no
1404 DEFAULT_wxUSE_OPTIMISE
=no
1405 DEFAULT_wxUSE_PROFILE
=no
1406 DEFAULT_wxUSE_NO_DEPS
=no
1407 DEFAULT_wxUSE_NO_RTTI
=no
1408 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1409 DEFAULT_wxUSE_PERMISSIVE
=no
1410 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1411 DEFAULT_wxUSE_DEBUG_INFO
=yes
1412 DEFAULT_wxUSE_DEBUG_GDB
=yes
1413 DEFAULT_wxUSE_MEM_TRACING
=no
1414 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1415 DEFAULT_wxUSE_DMALLOC
=no
1416 DEFAULT_wxUSE_PRECOMP
=no
1417 DEFAULT_wxUSE_APPLE_IEEE
=no
1419 DEFAULT_wxUSE_LOG
=yes
1420 DEFAULT_wxUSE_LOGWINDOW
=no
1421 DEFAULT_wxUSE_LOGGUI
=no
1422 DEFAULT_wxUSE_LOGDIALOG
=no
1424 DEFAULT_wxUSE_GUI
=yes
1425 DEFAULT_wxUSE_CONTROLS
=no
1427 DEFAULT_wxUSE_REGEX
=no
1428 DEFAULT_wxUSE_ZLIB
=no
1429 DEFAULT_wxUSE_LIBPNG
=no
1430 DEFAULT_wxUSE_LIBJPEG
=no
1431 DEFAULT_wxUSE_LIBTIFF
=no
1432 DEFAULT_wxUSE_ODBC
=no
1433 DEFAULT_wxUSE_OPENGL
=no
1435 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1436 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1437 DEFAULT_wxUSE_STD_IOSTREAM
=no
1438 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1439 DEFAULT_wxUSE_DATETIME
=no
1440 DEFAULT_wxUSE_TIMEDATE
=no
1441 DEFAULT_wxUSE_TIMER
=no
1442 DEFAULT_wxUSE_STOPWATCH
=no
1443 DEFAULT_wxUSE_FILE
=no
1444 DEFAULT_wxUSE_FFILE
=no
1445 DEFAULT_wxUSE_TEXTBUFFER
=no
1446 DEFAULT_wxUSE_TEXTFILE
=no
1447 DEFAULT_wxUSE_WAVE
=no
1448 DEFAULT_wxUSE_INTL
=no
1449 DEFAULT_wxUSE_CONFIG
=no
1450 DEFAULT_wxUSE_FONTMAP
=no
1451 DEFAULT_wxUSE_STREAMS
=no
1452 DEFAULT_wxUSE_SOCKETS
=no
1453 DEFAULT_wxUSE_OLE
=no
1454 DEFAULT_wxUSE_DATAOBJ
=no
1455 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1456 DEFAULT_wxUSE_JOYSTICK
=no
1457 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1458 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1459 DEFAULT_wxUSE_LONGLONG
=no
1460 DEFAULT_wxUSE_GEOMETRY
=no
1462 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1463 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1464 DEFAULT_wxUSE_POSTSCRIPT
=no
1466 DEFAULT_wxUSE_X_RESOURCES
=no
1467 DEFAULT_wxUSE_CLIPBOARD
=no
1468 DEFAULT_wxUSE_TOOLTIPS
=no
1469 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1470 DEFAULT_wxUSE_DRAGIMAGE
=no
1471 DEFAULT_wxUSE_SPLINES
=no
1473 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1474 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1475 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1477 DEFAULT_wxUSE_PROLOGIO
=no
1478 DEFAULT_wxUSE_RESOURCES
=no
1479 DEFAULT_wxUSE_CONSTRAINTS
=no
1480 DEFAULT_wxUSE_IPC
=no
1481 DEFAULT_wxUSE_HELP
=no
1482 DEFAULT_wxUSE_MS_HTML_HELP
=no
1483 DEFAULT_wxUSE_WXHTML_HELP
=no
1484 DEFAULT_wxUSE_TREELAYOUT
=no
1485 DEFAULT_wxUSE_METAFILE
=no
1486 DEFAULT_wxUSE_MIMETYPE
=no
1487 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1488 DEFAULT_wxUSE_PROTOCOL
=no
1489 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1490 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1491 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1492 DEFAULT_wxUSE_URL
=no
1494 DEFAULT_wxUSE_COMMONDLGS
=no
1495 DEFAULT_wxUSE_CHOICEDLG
=no
1496 DEFAULT_wxUSE_COLOURDLG
=no
1497 DEFAULT_wxUSE_DIRDLG
=no
1498 DEFAULT_wxUSE_FILEDLG
=no
1499 DEFAULT_wxUSE_FINDREPLDLG
=no
1500 DEFAULT_wxUSE_FONTDLG
=no
1501 DEFAULT_wxUSE_MSGDLG
=no
1502 DEFAULT_wxUSE_NUMBERDLG
=no
1503 DEFAULT_wxUSE_TEXTDLG
=no
1504 DEFAULT_wxUSE_SPLASH
=no
1505 DEFAULT_wxUSE_STARTUP_TIPS
=no
1506 DEFAULT_wxUSE_PROGRESSDLG
=no
1507 DEFAULT_wxUSE_WIZARDDLG
=no
1509 DEFAULT_wxUSE_MENUS
=no
1510 DEFAULT_wxUSE_MINIFRAME
=no
1511 DEFAULT_wxUSE_HTML
=no
1512 DEFAULT_wxUSE_FILESYSTEM
=no
1513 DEFAULT_wxUSE_FS_INET
=no
1514 DEFAULT_wxUSE_FS_ZIP
=no
1515 DEFAULT_wxUSE_BUSYINFO
=no
1516 DEFAULT_wxUSE_ZIPSTREAM
=no
1517 DEFAULT_wxUSE_VALIDATORS
=no
1519 DEFAULT_wxUSE_ACCEL
=no
1520 DEFAULT_wxUSE_BUTTON
=no
1521 DEFAULT_wxUSE_BMPBUTTON
=no
1522 DEFAULT_wxUSE_CALCTRL
=no
1523 DEFAULT_wxUSE_CARET
=no
1524 DEFAULT_wxUSE_CHECKBOX
=no
1525 DEFAULT_wxUSE_CHECKLST
=no
1526 DEFAULT_wxUSE_CHOICE
=no
1527 DEFAULT_wxUSE_COMBOBOX
=no
1528 DEFAULT_wxUSE_GAUGE
=no
1529 DEFAULT_wxUSE_GRID
=no
1530 DEFAULT_wxUSE_NEW_GRID
=no
1531 DEFAULT_wxUSE_IMAGLIST
=no
1532 DEFAULT_wxUSE_LISTBOX
=no
1533 DEFAULT_wxUSE_LISTCTRL
=no
1534 DEFAULT_wxUSE_NOTEBOOK
=no
1535 DEFAULT_wxUSE_PROPSHEET
=no
1536 DEFAULT_wxUSE_RADIOBOX
=no
1537 DEFAULT_wxUSE_RADIOBTN
=no
1538 DEFAULT_wxUSE_SASH
=no
1539 DEFAULT_wxUSE_SCROLLBAR
=no
1540 DEFAULT_wxUSE_SLIDER
=no
1541 DEFAULT_wxUSE_SPINBTN
=no
1542 DEFAULT_wxUSE_SPINCTRL
=no
1543 DEFAULT_wxUSE_SPLITTER
=no
1544 DEFAULT_wxUSE_STATBMP
=no
1545 DEFAULT_wxUSE_STATBOX
=no
1546 DEFAULT_wxUSE_STATLINE
=no
1547 DEFAULT_wxUSE_STATTEXT
=no
1548 DEFAULT_wxUSE_STATUSBAR
=yes
1549 DEFAULT_wxUSE_TABDIALOG
=no
1550 DEFAULT_wxUSE_TEXTCTRL
=no
1551 DEFAULT_wxUSE_TOGGLEBTN
=no
1552 DEFAULT_wxUSE_TOOLBAR
=no
1553 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1554 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1555 DEFAULT_wxUSE_TREECTRL
=no
1556 DEFAULT_wxUSE_POPUPWIN
=no
1557 DEFAULT_wxUSE_TIPWINDOW
=no
1559 DEFAULT_wxUSE_UNICODE
=no
1560 DEFAULT_wxUSE_UNICODE_MSLU
=no
1561 DEFAULT_wxUSE_WCSRTOMBS
=no
1563 DEFAULT_wxUSE_PALETTE
=no
1564 DEFAULT_wxUSE_IMAGE
=no
1565 DEFAULT_wxUSE_GIF
=no
1566 DEFAULT_wxUSE_PCX
=no
1567 DEFAULT_wxUSE_PNM
=no
1568 DEFAULT_wxUSE_IFF
=no
1569 DEFAULT_wxUSE_XPM
=no
1570 DEFAULT_wxUSE_ICO_CUR
=no
1572 DEFAULT_wxUSE_UNIVERSAL
=no
1574 DEFAULT_wxUSE_NANOX
=no
1576 DEFAULT_wxUSE_THREADS
=yes
1578 DEFAULT_wxUSE_SHARED
=yes
1579 DEFAULT_wxUSE_SONAME
=no
1580 DEFAULT_wxUSE_OPTIMISE
=yes
1581 DEFAULT_wxUSE_PROFILE
=no
1582 DEFAULT_wxUSE_NO_DEPS
=no
1583 DEFAULT_wxUSE_NO_RTTI
=no
1584 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1585 DEFAULT_wxUSE_PERMISSIVE
=no
1586 DEFAULT_wxUSE_DEBUG_FLAG
=no
1587 DEFAULT_wxUSE_DEBUG_INFO
=no
1588 DEFAULT_wxUSE_DEBUG_GDB
=no
1589 DEFAULT_wxUSE_MEM_TRACING
=no
1590 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1591 DEFAULT_wxUSE_DMALLOC
=no
1592 DEFAULT_wxUSE_PRECOMP
=no
1593 DEFAULT_wxUSE_APPLE_IEEE
=yes
1595 DEFAULT_wxUSE_LOG
=yes
1596 DEFAULT_wxUSE_LOGWINDOW
=yes
1597 DEFAULT_wxUSE_LOGGUI
=yes
1598 DEFAULT_wxUSE_LOGDIALOG
=yes
1600 DEFAULT_wxUSE_GUI
=yes
1602 DEFAULT_wxUSE_REGEX
=yes
1603 DEFAULT_wxUSE_ZLIB
=yes
1604 DEFAULT_wxUSE_LIBPNG
=yes
1605 DEFAULT_wxUSE_LIBJPEG
=yes
1606 DEFAULT_wxUSE_LIBTIFF
=yes
1607 DEFAULT_wxUSE_ODBC
=no
1608 DEFAULT_wxUSE_OPENGL
=no
1610 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1611 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1612 DEFAULT_wxUSE_STD_IOSTREAM
=no
1613 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1614 DEFAULT_wxUSE_DATETIME
=yes
1615 DEFAULT_wxUSE_TIMEDATE
=no
1616 DEFAULT_wxUSE_TIMER
=yes
1617 DEFAULT_wxUSE_STOPWATCH
=yes
1618 DEFAULT_wxUSE_FILE
=yes
1619 DEFAULT_wxUSE_FFILE
=yes
1620 DEFAULT_wxUSE_TEXTBUFFER
=yes
1621 DEFAULT_wxUSE_TEXTFILE
=yes
1622 DEFAULT_wxUSE_WAVE
=no
1623 DEFAULT_wxUSE_INTL
=yes
1624 DEFAULT_wxUSE_CONFIG
=yes
1625 DEFAULT_wxUSE_FONTMAP
=yes
1626 DEFAULT_wxUSE_STREAMS
=yes
1627 DEFAULT_wxUSE_SOCKETS
=yes
1628 DEFAULT_wxUSE_OLE
=yes
1629 DEFAULT_wxUSE_DATAOBJ
=yes
1630 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1631 DEFAULT_wxUSE_JOYSTICK
=yes
1632 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1633 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1634 DEFAULT_wxUSE_LONGLONG
=yes
1635 DEFAULT_wxUSE_GEOMETRY
=yes
1637 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1638 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1639 DEFAULT_wxUSE_POSTSCRIPT
=yes
1641 DEFAULT_wxUSE_X_RESOURCES
=no
1642 DEFAULT_wxUSE_CLIPBOARD
=yes
1643 DEFAULT_wxUSE_TOOLTIPS
=yes
1644 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1645 DEFAULT_wxUSE_DRAGIMAGE
=yes
1646 DEFAULT_wxUSE_SPLINES
=yes
1648 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1649 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1650 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1652 DEFAULT_wxUSE_PROLOGIO
=no
1653 DEFAULT_wxUSE_RESOURCES
=no
1654 DEFAULT_wxUSE_CONSTRAINTS
=yes
1655 DEFAULT_wxUSE_IPC
=yes
1656 DEFAULT_wxUSE_HELP
=yes
1657 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1658 DEFAULT_wxUSE_WXHTML_HELP
=yes
1659 DEFAULT_wxUSE_TREELAYOUT
=yes
1660 DEFAULT_wxUSE_METAFILE
=yes
1661 DEFAULT_wxUSE_MIMETYPE
=yes
1662 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1663 DEFAULT_wxUSE_PROTOCOL
=yes
1664 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1665 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1666 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1667 DEFAULT_wxUSE_URL
=yes
1669 DEFAULT_wxUSE_COMMONDLGS
=yes
1670 DEFAULT_wxUSE_CHOICEDLG
=yes
1671 DEFAULT_wxUSE_COLOURDLG
=yes
1672 DEFAULT_wxUSE_DIRDLG
=yes
1673 DEFAULT_wxUSE_FILEDLG
=yes
1674 DEFAULT_wxUSE_FINDREPLDLG
=yes
1675 DEFAULT_wxUSE_FONTDLG
=yes
1676 DEFAULT_wxUSE_MSGDLG
=yes
1677 DEFAULT_wxUSE_NUMBERDLG
=yes
1678 DEFAULT_wxUSE_TEXTDLG
=yes
1679 DEFAULT_wxUSE_SPLASH
=yes
1680 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1681 DEFAULT_wxUSE_PROGRESSDLG
=yes
1682 DEFAULT_wxUSE_WIZARDDLG
=yes
1684 DEFAULT_wxUSE_MENUS
=yes
1685 DEFAULT_wxUSE_MINIFRAME
=yes
1686 DEFAULT_wxUSE_HTML
=yes
1687 DEFAULT_wxUSE_FILESYSTEM
=yes
1688 DEFAULT_wxUSE_FS_INET
=yes
1689 DEFAULT_wxUSE_FS_ZIP
=yes
1690 DEFAULT_wxUSE_BUSYINFO
=yes
1691 DEFAULT_wxUSE_ZIPSTREAM
=yes
1692 DEFAULT_wxUSE_VALIDATORS
=yes
1694 DEFAULT_wxUSE_ACCEL
=yes
1695 DEFAULT_wxUSE_BUTTON
=yes
1696 DEFAULT_wxUSE_BMPBUTTON
=yes
1697 DEFAULT_wxUSE_CALCTRL
=yes
1698 DEFAULT_wxUSE_CARET
=yes
1699 DEFAULT_wxUSE_CHECKBOX
=yes
1700 DEFAULT_wxUSE_CHECKLST
=yes
1701 DEFAULT_wxUSE_CHOICE
=yes
1702 DEFAULT_wxUSE_COMBOBOX
=yes
1703 DEFAULT_wxUSE_GAUGE
=yes
1704 DEFAULT_wxUSE_GRID
=yes
1705 DEFAULT_wxUSE_NEW_GRID
=yes
1706 DEFAULT_wxUSE_IMAGLIST
=yes
1707 DEFAULT_wxUSE_LISTBOX
=yes
1708 DEFAULT_wxUSE_LISTCTRL
=yes
1709 DEFAULT_wxUSE_NOTEBOOK
=yes
1710 DEFAULT_wxUSE_PROPSHEET
=yes
1711 DEFAULT_wxUSE_RADIOBOX
=yes
1712 DEFAULT_wxUSE_RADIOBTN
=yes
1713 DEFAULT_wxUSE_SASH
=yes
1714 DEFAULT_wxUSE_SCROLLBAR
=yes
1715 DEFAULT_wxUSE_SLIDER
=yes
1716 DEFAULT_wxUSE_SPINBTN
=yes
1717 DEFAULT_wxUSE_SPINCTRL
=yes
1718 DEFAULT_wxUSE_SPLITTER
=yes
1719 DEFAULT_wxUSE_STATBMP
=yes
1720 DEFAULT_wxUSE_STATBOX
=yes
1721 DEFAULT_wxUSE_STATLINE
=yes
1722 DEFAULT_wxUSE_STATTEXT
=yes
1723 DEFAULT_wxUSE_STATUSBAR
=yes
1724 DEFAULT_wxUSE_TABDIALOG
=no
1725 DEFAULT_wxUSE_TEXTCTRL
=yes
1726 DEFAULT_wxUSE_TOGGLEBTN
=yes
1727 DEFAULT_wxUSE_TOOLBAR
=yes
1728 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1729 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1730 DEFAULT_wxUSE_TREECTRL
=yes
1731 DEFAULT_wxUSE_POPUPWIN
=yes
1732 DEFAULT_wxUSE_TIPWINDOW
=yes
1734 DEFAULT_wxUSE_UNICODE
=no
1735 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1736 DEFAULT_wxUSE_WCSRTOMBS
=no
1738 DEFAULT_wxUSE_PALETTE
=yes
1739 DEFAULT_wxUSE_IMAGE
=yes
1740 DEFAULT_wxUSE_GIF
=yes
1741 DEFAULT_wxUSE_PCX
=yes
1742 DEFAULT_wxUSE_IFF
=no
1743 DEFAULT_wxUSE_PNM
=yes
1744 DEFAULT_wxUSE_XPM
=yes
1745 DEFAULT_wxUSE_ICO_CUR
=yes
1750 for toolkit
in `echo $ALL_TOOLKITS`; do
1751 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
1752 if test "x$LINE" != "x" ; then
1753 has_toolkit_in_cache
=1
1754 eval "DEFAULT_$LINE"
1755 eval "CACHE_$toolkit=1"
1762 echo $ac_n "checking for --${enablestring:-enable}-gui""... $ac_c" 1>&6
1763 echo "configure:1764: checking for --${enablestring:-enable}-gui" >&5
1765 # Check whether --enable-gui or --disable-gui was given.
1766 if test "${enable_gui+set}" = set; then
1767 enableval
="$enable_gui"
1769 if test "$enableval" = yes; then
1770 ac_cv_use_gui
='wxUSE_GUI=yes'
1772 ac_cv_use_gui
='wxUSE_GUI=no'
1777 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1778 if test "x$LINE" != x
; then
1779 eval "DEFAULT_$LINE"
1784 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1789 eval "$ac_cv_use_gui"
1790 if test "$no_cache" != 1; then
1791 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1794 if test "$wxUSE_GUI" = yes; then
1795 echo "$ac_t""yes" 1>&6
1797 echo "$ac_t""no" 1>&6
1801 if test "$wxUSE_GUI" = "yes"; then
1805 echo $ac_n "checking for --${enablestring:-enable}-universal""... $ac_c" 1>&6
1806 echo "configure:1807: checking for --${enablestring:-enable}-universal" >&5
1808 # Check whether --enable-universal or --disable-universal was given.
1809 if test "${enable_universal+set}" = set; then
1810 enableval
="$enable_universal"
1812 if test "$enableval" = yes; then
1813 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1815 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1820 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1821 if test "x$LINE" != x
; then
1822 eval "DEFAULT_$LINE"
1827 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1832 eval "$ac_cv_use_universal"
1833 if test "$no_cache" != 1; then
1834 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1837 if test "$wxUSE_UNIVERSAL" = yes; then
1838 echo "$ac_t""yes" 1>&6
1840 echo "$ac_t""no" 1>&6
1843 # Check whether --with-gtk or --without-gtk was given.
1844 if test "${with_gtk+set}" = set; then
1846 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1849 # Check whether --with-motif or --without-motif was given.
1850 if test "${with_motif+set}" = set; then
1851 withval
="$with_motif"
1852 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1855 # Check whether --with-mac or --without-mac was given.
1856 if test "${with_mac+set}" = set; then
1858 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1861 # Check whether --with-wine or --without-wine was given.
1862 if test "${with_wine+set}" = set; then
1863 withval
="$with_wine"
1864 wxUSE_WINE
="$withval" CACHE_WINE
=1
1867 # Check whether --with-msw or --without-msw was given.
1868 if test "${with_msw+set}" = set; then
1870 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1873 # Check whether --with-pm or --without-pm was given.
1874 if test "${with_pm+set}" = set; then
1876 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1879 # Check whether --with-mgl or --without-mgl was given.
1880 if test "${with_mgl+set}" = set; then
1882 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1885 # Check whether --with-microwin or --without-microwin was given.
1886 if test "${with_microwin+set}" = set; then
1887 withval
="$with_microwin"
1888 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1891 # Check whether --with-x11 or --without-x11 was given.
1892 if test "${with_x11+set}" = set; then
1894 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1899 echo $ac_n "checking for --${enablestring:-enable}-nanox""... $ac_c" 1>&6
1900 echo "configure:1901: checking for --${enablestring:-enable}-nanox" >&5
1902 # Check whether --enable-nanox or --disable-nanox was given.
1903 if test "${enable_nanox+set}" = set; then
1904 enableval
="$enable_nanox"
1906 if test "$enableval" = yes; then
1907 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1909 ac_cv_use_nanox
='wxUSE_NANOX=no'
1914 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1915 if test "x$LINE" != x
; then
1916 eval "DEFAULT_$LINE"
1921 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1926 eval "$ac_cv_use_nanox"
1927 if test "$no_cache" != 1; then
1928 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1931 if test "$wxUSE_NANOX" = yes; then
1932 echo "$ac_t""yes" 1>&6
1934 echo "$ac_t""no" 1>&6
1940 echo $ac_n "checking for --${enablestring:-enable}-gtk2""... $ac_c" 1>&6
1941 echo "configure:1942: checking for --${enablestring:-enable}-gtk2" >&5
1943 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1944 if test "${enable_gtk2+set}" = set; then
1945 enableval
="$enable_gtk2"
1947 if test "$enableval" = yes; then
1948 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
1950 ac_cv_use_gtk2
='wxUSE_GTK2=no'
1955 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
1956 if test "x$LINE" != x
; then
1957 eval "DEFAULT_$LINE"
1962 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
1967 eval "$ac_cv_use_gtk2"
1968 if test "$no_cache" != 1; then
1969 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
1972 if test "$wxUSE_GTK2" = yes; then
1973 echo "$ac_t""yes" 1>&6
1975 echo "$ac_t""no" 1>&6
1980 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1981 echo "configure:1982: checking for --with-libpng" >&5
1983 # Check whether --with-libpng or --without-libpng was given.
1984 if test "${with_libpng+set}" = set; then
1985 withval
="$with_libpng"
1987 if test "$withval" = yes; then
1988 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1989 elif test "$withval" = no
; then
1990 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1991 elif test "$withval" = sys
; then
1992 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1993 elif test "$withval" = builtin; then
1994 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1996 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2001 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2002 if test "x$LINE" != x
; then
2003 eval "DEFAULT_$LINE"
2008 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2013 eval "$ac_cv_use_libpng"
2014 if test "$no_cache" != 1; then
2015 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2018 if test "$wxUSE_LIBPNG" = yes; then
2019 echo "$ac_t""yes" 1>&6
2020 elif test "$wxUSE_LIBPNG" = no
; then
2021 echo "$ac_t""no" 1>&6
2022 elif test "$wxUSE_LIBPNG" = sys
; then
2023 echo "$ac_t""system version" 1>&6
2024 elif test "$wxUSE_LIBPNG" = builtin; then
2025 echo "$ac_t""builtin version" 1>&6
2027 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2031 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2032 echo "configure:2033: checking for --with-libjpeg" >&5
2034 # Check whether --with-libjpeg or --without-libjpeg was given.
2035 if test "${with_libjpeg+set}" = set; then
2036 withval
="$with_libjpeg"
2038 if test "$withval" = yes; then
2039 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2040 elif test "$withval" = no
; then
2041 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2042 elif test "$withval" = sys
; then
2043 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2044 elif test "$withval" = builtin; then
2045 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2047 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2052 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2053 if test "x$LINE" != x
; then
2054 eval "DEFAULT_$LINE"
2059 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2064 eval "$ac_cv_use_libjpeg"
2065 if test "$no_cache" != 1; then
2066 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2069 if test "$wxUSE_LIBJPEG" = yes; then
2070 echo "$ac_t""yes" 1>&6
2071 elif test "$wxUSE_LIBJPEG" = no
; then
2072 echo "$ac_t""no" 1>&6
2073 elif test "$wxUSE_LIBJPEG" = sys
; then
2074 echo "$ac_t""system version" 1>&6
2075 elif test "$wxUSE_LIBJPEG" = builtin; then
2076 echo "$ac_t""builtin version" 1>&6
2078 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2082 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2083 echo "configure:2084: checking for --with-libtiff" >&5
2085 # Check whether --with-libtiff or --without-libtiff was given.
2086 if test "${with_libtiff+set}" = set; then
2087 withval
="$with_libtiff"
2089 if test "$withval" = yes; then
2090 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2091 elif test "$withval" = no
; then
2092 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2093 elif test "$withval" = sys
; then
2094 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2095 elif test "$withval" = builtin; then
2096 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2098 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2103 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2104 if test "x$LINE" != x
; then
2105 eval "DEFAULT_$LINE"
2110 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2115 eval "$ac_cv_use_libtiff"
2116 if test "$no_cache" != 1; then
2117 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2120 if test "$wxUSE_LIBTIFF" = yes; then
2121 echo "$ac_t""yes" 1>&6
2122 elif test "$wxUSE_LIBTIFF" = no
; then
2123 echo "$ac_t""no" 1>&6
2124 elif test "$wxUSE_LIBTIFF" = sys
; then
2125 echo "$ac_t""system version" 1>&6
2126 elif test "$wxUSE_LIBTIFF" = builtin; then
2127 echo "$ac_t""builtin version" 1>&6
2129 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2133 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2134 echo "configure:2135: checking for --with-opengl" >&5
2136 # Check whether --with-opengl or --without-opengl was given.
2137 if test "${with_opengl+set}" = set; then
2138 withval
="$with_opengl"
2140 if test "$withval" = yes; then
2141 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2143 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2148 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2149 if test "x$LINE" != x
; then
2150 eval "DEFAULT_$LINE"
2155 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2160 eval "$ac_cv_use_opengl"
2161 if test "$no_cache" != 1; then
2162 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2165 if test "$wxUSE_OPENGL" = yes; then
2166 echo "$ac_t""yes" 1>&6
2168 echo "$ac_t""no" 1>&6
2175 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2176 echo "configure:2177: checking for --with-dmalloc" >&5
2178 # Check whether --with-dmalloc or --without-dmalloc was given.
2179 if test "${with_dmalloc+set}" = set; then
2180 withval
="$with_dmalloc"
2182 if test "$withval" = yes; then
2183 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2185 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2190 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2191 if test "x$LINE" != x
; then
2192 eval "DEFAULT_$LINE"
2197 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2202 eval "$ac_cv_use_dmalloc"
2203 if test "$no_cache" != 1; then
2204 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2207 if test "$wxUSE_DMALLOC" = yes; then
2208 echo "$ac_t""yes" 1>&6
2210 echo "$ac_t""no" 1>&6
2214 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2215 echo "configure:2216: checking for --with-regex" >&5
2217 # Check whether --with-regex or --without-regex was given.
2218 if test "${with_regex+set}" = set; then
2219 withval
="$with_regex"
2221 if test "$withval" = yes; then
2222 ac_cv_use_regex
='wxUSE_REGEX=yes'
2223 elif test "$withval" = no
; then
2224 ac_cv_use_regex
='wxUSE_REGEX=no'
2225 elif test "$withval" = sys
; then
2226 ac_cv_use_regex
='wxUSE_REGEX=sys'
2227 elif test "$withval" = builtin; then
2228 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2230 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2235 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2236 if test "x$LINE" != x
; then
2237 eval "DEFAULT_$LINE"
2242 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2247 eval "$ac_cv_use_regex"
2248 if test "$no_cache" != 1; then
2249 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2252 if test "$wxUSE_REGEX" = yes; then
2253 echo "$ac_t""yes" 1>&6
2254 elif test "$wxUSE_REGEX" = no
; then
2255 echo "$ac_t""no" 1>&6
2256 elif test "$wxUSE_REGEX" = sys
; then
2257 echo "$ac_t""system version" 1>&6
2258 elif test "$wxUSE_REGEX" = builtin; then
2259 echo "$ac_t""builtin version" 1>&6
2261 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2265 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2266 echo "configure:2267: checking for --with-zlib" >&5
2268 # Check whether --with-zlib or --without-zlib was given.
2269 if test "${with_zlib+set}" = set; then
2270 withval
="$with_zlib"
2272 if test "$withval" = yes; then
2273 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2274 elif test "$withval" = no
; then
2275 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2276 elif test "$withval" = sys
; then
2277 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2278 elif test "$withval" = builtin; then
2279 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2281 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2286 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2287 if test "x$LINE" != x
; then
2288 eval "DEFAULT_$LINE"
2293 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2298 eval "$ac_cv_use_zlib"
2299 if test "$no_cache" != 1; then
2300 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2303 if test "$wxUSE_ZLIB" = yes; then
2304 echo "$ac_t""yes" 1>&6
2305 elif test "$wxUSE_ZLIB" = no
; then
2306 echo "$ac_t""no" 1>&6
2307 elif test "$wxUSE_ZLIB" = sys
; then
2308 echo "$ac_t""system version" 1>&6
2309 elif test "$wxUSE_ZLIB" = builtin; then
2310 echo "$ac_t""builtin version" 1>&6
2312 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2316 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2317 echo "configure:2318: checking for --with-odbc" >&5
2319 # Check whether --with-odbc or --without-odbc was given.
2320 if test "${with_odbc+set}" = set; then
2321 withval
="$with_odbc"
2323 if test "$withval" = yes; then
2324 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2326 ac_cv_use_odbc
='wxUSE_ODBC=no'
2331 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2332 if test "x$LINE" != x
; then
2333 eval "DEFAULT_$LINE"
2338 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2343 eval "$ac_cv_use_odbc"
2344 if test "$no_cache" != 1; then
2345 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2348 if test "$wxUSE_ODBC" = yes; then
2349 echo "$ac_t""yes" 1>&6
2351 echo "$ac_t""no" 1>&6
2358 echo $ac_n "checking for --${enablestring:-enable}-shared""... $ac_c" 1>&6
2359 echo "configure:2360: checking for --${enablestring:-enable}-shared" >&5
2361 # Check whether --enable-shared or --disable-shared was given.
2362 if test "${enable_shared+set}" = set; then
2363 enableval
="$enable_shared"
2365 if test "$enableval" = yes; then
2366 ac_cv_use_shared
='wxUSE_SHARED=yes'
2368 ac_cv_use_shared
='wxUSE_SHARED=no'
2373 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2374 if test "x$LINE" != x
; then
2375 eval "DEFAULT_$LINE"
2380 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2385 eval "$ac_cv_use_shared"
2386 if test "$no_cache" != 1; then
2387 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2390 if test "$wxUSE_SHARED" = yes; then
2391 echo "$ac_t""yes" 1>&6
2393 echo "$ac_t""no" 1>&6
2398 echo $ac_n "checking for --${enablestring:-enable}-soname""... $ac_c" 1>&6
2399 echo "configure:2400: checking for --${enablestring:-enable}-soname" >&5
2401 # Check whether --enable-soname or --disable-soname was given.
2402 if test "${enable_soname+set}" = set; then
2403 enableval
="$enable_soname"
2405 if test "$enableval" = yes; then
2406 ac_cv_use_soname
='wxUSE_SONAME=yes'
2408 ac_cv_use_soname
='wxUSE_SONAME=no'
2413 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2414 if test "x$LINE" != x
; then
2415 eval "DEFAULT_$LINE"
2420 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2425 eval "$ac_cv_use_soname"
2426 if test "$no_cache" != 1; then
2427 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2430 if test "$wxUSE_SONAME" = yes; then
2431 echo "$ac_t""yes" 1>&6
2433 echo "$ac_t""no" 1>&6
2438 echo $ac_n "checking for --${enablestring:-enable}-optimise""... $ac_c" 1>&6
2439 echo "configure:2440: checking for --${enablestring:-enable}-optimise" >&5
2441 # Check whether --enable-optimise or --disable-optimise was given.
2442 if test "${enable_optimise+set}" = set; then
2443 enableval
="$enable_optimise"
2445 if test "$enableval" = yes; then
2446 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2448 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2453 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2454 if test "x$LINE" != x
; then
2455 eval "DEFAULT_$LINE"
2460 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2465 eval "$ac_cv_use_optimise"
2466 if test "$no_cache" != 1; then
2467 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2470 if test "$wxUSE_OPTIMISE" = yes; then
2471 echo "$ac_t""yes" 1>&6
2473 echo "$ac_t""no" 1>&6
2478 echo $ac_n "checking for --${enablestring:-enable}-debug""... $ac_c" 1>&6
2479 echo "configure:2480: checking for --${enablestring:-enable}-debug" >&5
2481 # Check whether --enable-debug or --disable-debug was given.
2482 if test "${enable_debug+set}" = set; then
2483 enableval
="$enable_debug"
2485 if test "$enableval" = yes; then
2486 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2488 ac_cv_use_debug
='wxUSE_DEBUG=no'
2493 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2494 if test "x$LINE" != x
; then
2495 eval "DEFAULT_$LINE"
2500 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2505 eval "$ac_cv_use_debug"
2506 if test "$no_cache" != 1; then
2507 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2510 if test "$wxUSE_DEBUG" = yes; then
2511 echo "$ac_t""yes" 1>&6
2513 echo "$ac_t""no" 1>&6
2519 echo $ac_n "checking for --${enablestring:-enable}-precomp""... $ac_c" 1>&6
2520 echo "configure:2521: checking for --${enablestring:-enable}-precomp" >&5
2522 # Check whether --enable-precomp or --disable-precomp was given.
2523 if test "${enable_precomp+set}" = set; then
2524 enableval
="$enable_precomp"
2526 if test "$enableval" = yes; then
2527 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2529 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2534 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2535 if test "x$LINE" != x
; then
2536 eval "DEFAULT_$LINE"
2541 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2546 eval "$ac_cv_use_precomp"
2547 if test "$no_cache" != 1; then
2548 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2551 if test "$wxUSE_PRECOMP" = yes; then
2552 echo "$ac_t""yes" 1>&6
2554 echo "$ac_t""no" 1>&6
2558 if test "$wxUSE_DEBUG" = "yes"; then
2559 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2560 DEFAULT_wxUSE_DEBUG_INFO
=yes
2561 elif test "$wxUSE_DEBUG" = "no"; then
2562 DEFAULT_wxUSE_DEBUG_FLAG
=no
2563 DEFAULT_wxUSE_DEBUG_INFO
=no
2568 echo $ac_n "checking for --${enablestring:-enable}-debug_flag""... $ac_c" 1>&6
2569 echo "configure:2570: checking for --${enablestring:-enable}-debug_flag" >&5
2571 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2572 if test "${enable_debug_flag+set}" = set; then
2573 enableval
="$enable_debug_flag"
2575 if test "$enableval" = yes; then
2576 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2578 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2583 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2584 if test "x$LINE" != x
; then
2585 eval "DEFAULT_$LINE"
2590 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2595 eval "$ac_cv_use_debug_flag"
2596 if test "$no_cache" != 1; then
2597 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2600 if test "$wxUSE_DEBUG_FLAG" = yes; then
2601 echo "$ac_t""yes" 1>&6
2603 echo "$ac_t""no" 1>&6
2608 echo $ac_n "checking for --${enablestring:-enable}-debug_info""... $ac_c" 1>&6
2609 echo "configure:2610: checking for --${enablestring:-enable}-debug_info" >&5
2611 # Check whether --enable-debug_info or --disable-debug_info was given.
2612 if test "${enable_debug_info+set}" = set; then
2613 enableval
="$enable_debug_info"
2615 if test "$enableval" = yes; then
2616 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2618 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2623 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2624 if test "x$LINE" != x
; then
2625 eval "DEFAULT_$LINE"
2630 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2635 eval "$ac_cv_use_debug_info"
2636 if test "$no_cache" != 1; then
2637 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2640 if test "$wxUSE_DEBUG_INFO" = yes; then
2641 echo "$ac_t""yes" 1>&6
2643 echo "$ac_t""no" 1>&6
2648 echo $ac_n "checking for --${enablestring:-enable}-debug_gdb""... $ac_c" 1>&6
2649 echo "configure:2650: checking for --${enablestring:-enable}-debug_gdb" >&5
2651 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2652 if test "${enable_debug_gdb+set}" = set; then
2653 enableval
="$enable_debug_gdb"
2655 if test "$enableval" = yes; then
2656 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2658 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2663 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2664 if test "x$LINE" != x
; then
2665 eval "DEFAULT_$LINE"
2670 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2675 eval "$ac_cv_use_debug_gdb"
2676 if test "$no_cache" != 1; then
2677 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2680 if test "$wxUSE_DEBUG_GDB" = yes; then
2681 echo "$ac_t""yes" 1>&6
2683 echo "$ac_t""no" 1>&6
2688 echo $ac_n "checking for --${enablestring:-enable}-debug_cntxt""... $ac_c" 1>&6
2689 echo "configure:2690: checking for --${enablestring:-enable}-debug_cntxt" >&5
2691 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2692 if test "${enable_debug_cntxt+set}" = set; then
2693 enableval
="$enable_debug_cntxt"
2695 if test "$enableval" = yes; then
2696 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2698 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2703 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2704 if test "x$LINE" != x
; then
2705 eval "DEFAULT_$LINE"
2710 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2715 eval "$ac_cv_use_debug_cntxt"
2716 if test "$no_cache" != 1; then
2717 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2720 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2721 echo "$ac_t""yes" 1>&6
2723 echo "$ac_t""no" 1>&6
2728 echo $ac_n "checking for --${enablestring:-enable}-mem_tracing""... $ac_c" 1>&6
2729 echo "configure:2730: checking for --${enablestring:-enable}-mem_tracing" >&5
2731 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2732 if test "${enable_mem_tracing+set}" = set; then
2733 enableval
="$enable_mem_tracing"
2735 if test "$enableval" = yes; then
2736 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2738 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2743 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2744 if test "x$LINE" != x
; then
2745 eval "DEFAULT_$LINE"
2750 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2755 eval "$ac_cv_use_mem_tracing"
2756 if test "$no_cache" != 1; then
2757 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2760 if test "$wxUSE_MEM_TRACING" = yes; then
2761 echo "$ac_t""yes" 1>&6
2763 echo "$ac_t""no" 1>&6
2768 echo $ac_n "checking for --${enablestring:-enable}-profile""... $ac_c" 1>&6
2769 echo "configure:2770: checking for --${enablestring:-enable}-profile" >&5
2771 # Check whether --enable-profile or --disable-profile was given.
2772 if test "${enable_profile+set}" = set; then
2773 enableval
="$enable_profile"
2775 if test "$enableval" = yes; then
2776 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2778 ac_cv_use_profile
='wxUSE_PROFILE=no'
2783 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2784 if test "x$LINE" != x
; then
2785 eval "DEFAULT_$LINE"
2790 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2795 eval "$ac_cv_use_profile"
2796 if test "$no_cache" != 1; then
2797 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2800 if test "$wxUSE_PROFILE" = yes; then
2801 echo "$ac_t""yes" 1>&6
2803 echo "$ac_t""no" 1>&6
2808 echo $ac_n "checking for --${enablestring:-enable}-no_rtti""... $ac_c" 1>&6
2809 echo "configure:2810: checking for --${enablestring:-enable}-no_rtti" >&5
2811 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2812 if test "${enable_no_rtti+set}" = set; then
2813 enableval
="$enable_no_rtti"
2815 if test "$enableval" = yes; then
2816 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2818 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2823 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2824 if test "x$LINE" != x
; then
2825 eval "DEFAULT_$LINE"
2830 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2835 eval "$ac_cv_use_no_rtti"
2836 if test "$no_cache" != 1; then
2837 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2840 if test "$wxUSE_NO_RTTI" = yes; then
2841 echo "$ac_t""yes" 1>&6
2843 echo "$ac_t""no" 1>&6
2848 echo $ac_n "checking for --${enablestring:-enable}-no_exceptions""... $ac_c" 1>&6
2849 echo "configure:2850: checking for --${enablestring:-enable}-no_exceptions" >&5
2851 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2852 if test "${enable_no_exceptions+set}" = set; then
2853 enableval
="$enable_no_exceptions"
2855 if test "$enableval" = yes; then
2856 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2858 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2863 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2864 if test "x$LINE" != x
; then
2865 eval "DEFAULT_$LINE"
2870 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2875 eval "$ac_cv_use_no_exceptions"
2876 if test "$no_cache" != 1; then
2877 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2880 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2881 echo "$ac_t""yes" 1>&6
2883 echo "$ac_t""no" 1>&6
2888 echo $ac_n "checking for --${enablestring:-enable}-permissive""... $ac_c" 1>&6
2889 echo "configure:2890: checking for --${enablestring:-enable}-permissive" >&5
2891 # Check whether --enable-permissive or --disable-permissive was given.
2892 if test "${enable_permissive+set}" = set; then
2893 enableval
="$enable_permissive"
2895 if test "$enableval" = yes; then
2896 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2898 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2903 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2904 if test "x$LINE" != x
; then
2905 eval "DEFAULT_$LINE"
2910 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2915 eval "$ac_cv_use_permissive"
2916 if test "$no_cache" != 1; then
2917 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2920 if test "$wxUSE_PERMISSIVE" = yes; then
2921 echo "$ac_t""yes" 1>&6
2923 echo "$ac_t""no" 1>&6
2928 echo $ac_n "checking for --${enablestring:-enable}-no_deps""... $ac_c" 1>&6
2929 echo "configure:2930: checking for --${enablestring:-enable}-no_deps" >&5
2931 # Check whether --enable-no_deps or --disable-no_deps was given.
2932 if test "${enable_no_deps+set}" = set; then
2933 enableval
="$enable_no_deps"
2935 if test "$enableval" = yes; then
2936 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2938 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2943 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2944 if test "x$LINE" != x
; then
2945 eval "DEFAULT_$LINE"
2950 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2955 eval "$ac_cv_use_no_deps"
2956 if test "$no_cache" != 1; then
2957 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2960 if test "$wxUSE_NO_DEPS" = yes; then
2961 echo "$ac_t""yes" 1>&6
2963 echo "$ac_t""no" 1>&6
2969 echo $ac_n "checking for --${enablestring:-enable}-compat20""... $ac_c" 1>&6
2970 echo "configure:2971: checking for --${enablestring:-enable}-compat20" >&5
2972 # Check whether --enable-compat20 or --disable-compat20 was given.
2973 if test "${enable_compat20+set}" = set; then
2974 enableval
="$enable_compat20"
2976 if test "$enableval" = yes; then
2977 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2979 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2984 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2985 if test "x$LINE" != x
; then
2986 eval "DEFAULT_$LINE"
2991 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2996 eval "$ac_cv_use_compat20"
2997 if test "$no_cache" != 1; then
2998 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3001 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3002 echo "$ac_t""yes" 1>&6
3004 echo "$ac_t""no" 1>&6
3008 enablestring
=disable
3009 echo $ac_n "checking for --${enablestring:-enable}-compat22""... $ac_c" 1>&6
3010 echo "configure:3011: checking for --${enablestring:-enable}-compat22" >&5
3012 # Check whether --enable-compat22 or --disable-compat22 was given.
3013 if test "${enable_compat22+set}" = set; then
3014 enableval
="$enable_compat22"
3016 if test "$enableval" = yes; then
3017 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3019 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3024 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3025 if test "x$LINE" != x
; then
3026 eval "DEFAULT_$LINE"
3031 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3036 eval "$ac_cv_use_compat22"
3037 if test "$no_cache" != 1; then
3038 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3041 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3042 echo "$ac_t""yes" 1>&6
3044 echo "$ac_t""no" 1>&6
3048 # Check whether --enable-rpath or --disable-rpath was given.
3049 if test "${enable_rpath+set}" = set; then
3050 enableval
="$enable_rpath"
3051 wxRPATH_DIR
="$enableval"
3055 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3056 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3063 echo $ac_n "checking for --${enablestring:-enable}-intl""... $ac_c" 1>&6
3064 echo "configure:3065: checking for --${enablestring:-enable}-intl" >&5
3066 # Check whether --enable-intl or --disable-intl was given.
3067 if test "${enable_intl+set}" = set; then
3068 enableval
="$enable_intl"
3070 if test "$enableval" = yes; then
3071 ac_cv_use_intl
='wxUSE_INTL=yes'
3073 ac_cv_use_intl
='wxUSE_INTL=no'
3078 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3079 if test "x$LINE" != x
; then
3080 eval "DEFAULT_$LINE"
3085 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3090 eval "$ac_cv_use_intl"
3091 if test "$no_cache" != 1; then
3092 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3095 if test "$wxUSE_INTL" = yes; then
3096 echo "$ac_t""yes" 1>&6
3098 echo "$ac_t""no" 1>&6
3103 echo $ac_n "checking for --${enablestring:-enable}-config""... $ac_c" 1>&6
3104 echo "configure:3105: checking for --${enablestring:-enable}-config" >&5
3106 # Check whether --enable-config or --disable-config was given.
3107 if test "${enable_config+set}" = set; then
3108 enableval
="$enable_config"
3110 if test "$enableval" = yes; then
3111 ac_cv_use_config
='wxUSE_CONFIG=yes'
3113 ac_cv_use_config
='wxUSE_CONFIG=no'
3118 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3119 if test "x$LINE" != x
; then
3120 eval "DEFAULT_$LINE"
3125 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3130 eval "$ac_cv_use_config"
3131 if test "$no_cache" != 1; then
3132 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3135 if test "$wxUSE_CONFIG" = yes; then
3136 echo "$ac_t""yes" 1>&6
3138 echo "$ac_t""no" 1>&6
3144 echo $ac_n "checking for --${enablestring:-enable}-protocols""... $ac_c" 1>&6
3145 echo "configure:3146: checking for --${enablestring:-enable}-protocols" >&5
3147 # Check whether --enable-protocols or --disable-protocols was given.
3148 if test "${enable_protocols+set}" = set; then
3149 enableval
="$enable_protocols"
3151 if test "$enableval" = yes; then
3152 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3154 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3159 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3160 if test "x$LINE" != x
; then
3161 eval "DEFAULT_$LINE"
3166 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3171 eval "$ac_cv_use_protocols"
3172 if test "$no_cache" != 1; then
3173 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3176 if test "$wxUSE_PROTOCOL" = yes; then
3177 echo "$ac_t""yes" 1>&6
3179 echo "$ac_t""no" 1>&6
3184 echo $ac_n "checking for --${enablestring:-enable}-ftp""... $ac_c" 1>&6
3185 echo "configure:3186: checking for --${enablestring:-enable}-ftp" >&5
3187 # Check whether --enable-ftp or --disable-ftp was given.
3188 if test "${enable_ftp+set}" = set; then
3189 enableval
="$enable_ftp"
3191 if test "$enableval" = yes; then
3192 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3194 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3199 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3200 if test "x$LINE" != x
; then
3201 eval "DEFAULT_$LINE"
3206 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3211 eval "$ac_cv_use_ftp"
3212 if test "$no_cache" != 1; then
3213 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3216 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3217 echo "$ac_t""yes" 1>&6
3219 echo "$ac_t""no" 1>&6
3224 echo $ac_n "checking for --${enablestring:-enable}-http""... $ac_c" 1>&6
3225 echo "configure:3226: checking for --${enablestring:-enable}-http" >&5
3227 # Check whether --enable-http or --disable-http was given.
3228 if test "${enable_http+set}" = set; then
3229 enableval
="$enable_http"
3231 if test "$enableval" = yes; then
3232 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3234 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3239 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3240 if test "x$LINE" != x
; then
3241 eval "DEFAULT_$LINE"
3246 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3251 eval "$ac_cv_use_http"
3252 if test "$no_cache" != 1; then
3253 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3256 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3257 echo "$ac_t""yes" 1>&6
3259 echo "$ac_t""no" 1>&6
3264 echo $ac_n "checking for --${enablestring:-enable}-fileproto""... $ac_c" 1>&6
3265 echo "configure:3266: checking for --${enablestring:-enable}-fileproto" >&5
3267 # Check whether --enable-fileproto or --disable-fileproto was given.
3268 if test "${enable_fileproto+set}" = set; then
3269 enableval
="$enable_fileproto"
3271 if test "$enableval" = yes; then
3272 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3274 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3279 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3280 if test "x$LINE" != x
; then
3281 eval "DEFAULT_$LINE"
3286 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3291 eval "$ac_cv_use_fileproto"
3292 if test "$no_cache" != 1; then
3293 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3296 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3297 echo "$ac_t""yes" 1>&6
3299 echo "$ac_t""no" 1>&6
3304 echo $ac_n "checking for --${enablestring:-enable}-sockets""... $ac_c" 1>&6
3305 echo "configure:3306: checking for --${enablestring:-enable}-sockets" >&5
3307 # Check whether --enable-sockets or --disable-sockets was given.
3308 if test "${enable_sockets+set}" = set; then
3309 enableval
="$enable_sockets"
3311 if test "$enableval" = yes; then
3312 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3314 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3319 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3320 if test "x$LINE" != x
; then
3321 eval "DEFAULT_$LINE"
3326 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3331 eval "$ac_cv_use_sockets"
3332 if test "$no_cache" != 1; then
3333 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3336 if test "$wxUSE_SOCKETS" = yes; then
3337 echo "$ac_t""yes" 1>&6
3339 echo "$ac_t""no" 1>&6
3344 echo $ac_n "checking for --${enablestring:-enable}-ole""... $ac_c" 1>&6
3345 echo "configure:3346: checking for --${enablestring:-enable}-ole" >&5
3347 # Check whether --enable-ole or --disable-ole was given.
3348 if test "${enable_ole+set}" = set; then
3349 enableval
="$enable_ole"
3351 if test "$enableval" = yes; then
3352 ac_cv_use_ole
='wxUSE_OLE=yes'
3354 ac_cv_use_ole
='wxUSE_OLE=no'
3359 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
3360 if test "x$LINE" != x
; then
3361 eval "DEFAULT_$LINE"
3366 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
3371 eval "$ac_cv_use_ole"
3372 if test "$no_cache" != 1; then
3373 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
3376 if test "$wxUSE_OLE" = yes; then
3377 echo "$ac_t""yes" 1>&6
3379 echo "$ac_t""no" 1>&6
3384 echo $ac_n "checking for --${enablestring:-enable}-dataobj""... $ac_c" 1>&6
3385 echo "configure:3386: checking for --${enablestring:-enable}-dataobj" >&5
3387 # Check whether --enable-dataobj or --disable-dataobj was given.
3388 if test "${enable_dataobj+set}" = set; then
3389 enableval
="$enable_dataobj"
3391 if test "$enableval" = yes; then
3392 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
3394 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
3399 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
3400 if test "x$LINE" != x
; then
3401 eval "DEFAULT_$LINE"
3406 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
3411 eval "$ac_cv_use_dataobj"
3412 if test "$no_cache" != 1; then
3413 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
3416 if test "$wxUSE_DATAOBJ" = yes; then
3417 echo "$ac_t""yes" 1>&6
3419 echo "$ac_t""no" 1>&6
3425 echo $ac_n "checking for --${enablestring:-enable}-ipc""... $ac_c" 1>&6
3426 echo "configure:3427: checking for --${enablestring:-enable}-ipc" >&5
3428 # Check whether --enable-ipc or --disable-ipc was given.
3429 if test "${enable_ipc+set}" = set; then
3430 enableval
="$enable_ipc"
3432 if test "$enableval" = yes; then
3433 ac_cv_use_ipc
='wxUSE_IPC=yes'
3435 ac_cv_use_ipc
='wxUSE_IPC=no'
3440 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3441 if test "x$LINE" != x
; then
3442 eval "DEFAULT_$LINE"
3447 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3452 eval "$ac_cv_use_ipc"
3453 if test "$no_cache" != 1; then
3454 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3457 if test "$wxUSE_IPC" = yes; then
3458 echo "$ac_t""yes" 1>&6
3460 echo "$ac_t""no" 1>&6
3466 echo $ac_n "checking for --${enablestring:-enable}-cmdline""... $ac_c" 1>&6
3467 echo "configure:3468: checking for --${enablestring:-enable}-cmdline" >&5
3469 # Check whether --enable-cmdline or --disable-cmdline was given.
3470 if test "${enable_cmdline+set}" = set; then
3471 enableval
="$enable_cmdline"
3473 if test "$enableval" = yes; then
3474 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3476 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3481 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3482 if test "x$LINE" != x
; then
3483 eval "DEFAULT_$LINE"
3488 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3493 eval "$ac_cv_use_cmdline"
3494 if test "$no_cache" != 1; then
3495 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3498 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3499 echo "$ac_t""yes" 1>&6
3501 echo "$ac_t""no" 1>&6
3506 echo $ac_n "checking for --${enablestring:-enable}-datetime""... $ac_c" 1>&6
3507 echo "configure:3508: checking for --${enablestring:-enable}-datetime" >&5
3509 # Check whether --enable-datetime or --disable-datetime was given.
3510 if test "${enable_datetime+set}" = set; then
3511 enableval
="$enable_datetime"
3513 if test "$enableval" = yes; then
3514 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3516 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3521 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3522 if test "x$LINE" != x
; then
3523 eval "DEFAULT_$LINE"
3528 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3533 eval "$ac_cv_use_datetime"
3534 if test "$no_cache" != 1; then
3535 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3538 if test "$wxUSE_DATETIME" = yes; then
3539 echo "$ac_t""yes" 1>&6
3541 echo "$ac_t""no" 1>&6
3546 echo $ac_n "checking for --${enablestring:-enable}-timedate""... $ac_c" 1>&6
3547 echo "configure:3548: checking for --${enablestring:-enable}-timedate" >&5
3549 # Check whether --enable-timedate or --disable-timedate was given.
3550 if test "${enable_timedate+set}" = set; then
3551 enableval
="$enable_timedate"
3553 if test "$enableval" = yes; then
3554 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3556 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3561 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3562 if test "x$LINE" != x
; then
3563 eval "DEFAULT_$LINE"
3568 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3573 eval "$ac_cv_use_timedate"
3574 if test "$no_cache" != 1; then
3575 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3578 if test "$wxUSE_TIMEDATE" = yes; then
3579 echo "$ac_t""yes" 1>&6
3581 echo "$ac_t""no" 1>&6
3586 echo $ac_n "checking for --${enablestring:-enable}-stopwatch""... $ac_c" 1>&6
3587 echo "configure:3588: checking for --${enablestring:-enable}-stopwatch" >&5
3589 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3590 if test "${enable_stopwatch+set}" = set; then
3591 enableval
="$enable_stopwatch"
3593 if test "$enableval" = yes; then
3594 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3596 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3601 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3602 if test "x$LINE" != x
; then
3603 eval "DEFAULT_$LINE"
3608 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3613 eval "$ac_cv_use_stopwatch"
3614 if test "$no_cache" != 1; then
3615 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3618 if test "$wxUSE_STOPWATCH" = yes; then
3619 echo "$ac_t""yes" 1>&6
3621 echo "$ac_t""no" 1>&6
3626 echo $ac_n "checking for --${enablestring:-enable}-dialupman""... $ac_c" 1>&6
3627 echo "configure:3628: checking for --${enablestring:-enable}-dialupman" >&5
3629 # Check whether --enable-dialupman or --disable-dialupman was given.
3630 if test "${enable_dialupman+set}" = set; then
3631 enableval
="$enable_dialupman"
3633 if test "$enableval" = yes; then
3634 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3636 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3641 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3642 if test "x$LINE" != x
; then
3643 eval "DEFAULT_$LINE"
3648 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3653 eval "$ac_cv_use_dialupman"
3654 if test "$no_cache" != 1; then
3655 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3658 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3659 echo "$ac_t""yes" 1>&6
3661 echo "$ac_t""no" 1>&6
3666 echo $ac_n "checking for --${enablestring:-enable}-apple_ieee""... $ac_c" 1>&6
3667 echo "configure:3668: checking for --${enablestring:-enable}-apple_ieee" >&5
3669 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3670 if test "${enable_apple_ieee+set}" = set; then
3671 enableval
="$enable_apple_ieee"
3673 if test "$enableval" = yes; then
3674 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3676 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3681 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3682 if test "x$LINE" != x
; then
3683 eval "DEFAULT_$LINE"
3688 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3693 eval "$ac_cv_use_apple_ieee"
3694 if test "$no_cache" != 1; then
3695 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3698 if test "$wxUSE_APPLE_IEEE" = yes; then
3699 echo "$ac_t""yes" 1>&6
3701 echo "$ac_t""no" 1>&6
3706 echo $ac_n "checking for --${enablestring:-enable}-timer""... $ac_c" 1>&6
3707 echo "configure:3708: checking for --${enablestring:-enable}-timer" >&5
3709 # Check whether --enable-timer or --disable-timer was given.
3710 if test "${enable_timer+set}" = set; then
3711 enableval
="$enable_timer"
3713 if test "$enableval" = yes; then
3714 ac_cv_use_timer
='wxUSE_TIMER=yes'
3716 ac_cv_use_timer
='wxUSE_TIMER=no'
3721 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3722 if test "x$LINE" != x
; then
3723 eval "DEFAULT_$LINE"
3728 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3733 eval "$ac_cv_use_timer"
3734 if test "$no_cache" != 1; then
3735 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3738 if test "$wxUSE_TIMER" = yes; then
3739 echo "$ac_t""yes" 1>&6
3741 echo "$ac_t""no" 1>&6
3746 echo $ac_n "checking for --${enablestring:-enable}-wave""... $ac_c" 1>&6
3747 echo "configure:3748: checking for --${enablestring:-enable}-wave" >&5
3749 # Check whether --enable-wave or --disable-wave was given.
3750 if test "${enable_wave+set}" = set; then
3751 enableval
="$enable_wave"
3753 if test "$enableval" = yes; then
3754 ac_cv_use_wave
='wxUSE_WAVE=yes'
3756 ac_cv_use_wave
='wxUSE_WAVE=no'
3761 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x
; then
3763 eval "DEFAULT_$LINE"
3768 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3773 eval "$ac_cv_use_wave"
3774 if test "$no_cache" != 1; then
3775 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3778 if test "$wxUSE_WAVE" = yes; then
3779 echo "$ac_t""yes" 1>&6
3781 echo "$ac_t""no" 1>&6
3786 echo $ac_n "checking for --${enablestring:-enable}-fraction""... $ac_c" 1>&6
3787 echo "configure:3788: checking for --${enablestring:-enable}-fraction" >&5
3789 # Check whether --enable-fraction or --disable-fraction was given.
3790 if test "${enable_fraction+set}" = set; then
3791 enableval
="$enable_fraction"
3793 if test "$enableval" = yes; then
3794 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3796 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3801 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3802 if test "x$LINE" != x
; then
3803 eval "DEFAULT_$LINE"
3808 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3813 eval "$ac_cv_use_fraction"
3814 if test "$no_cache" != 1; then
3815 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3818 if test "$wxUSE_FRACTION" = yes; then
3819 echo "$ac_t""yes" 1>&6
3821 echo "$ac_t""no" 1>&6
3826 echo $ac_n "checking for --${enablestring:-enable}-dynlib""... $ac_c" 1>&6
3827 echo "configure:3828: checking for --${enablestring:-enable}-dynlib" >&5
3829 # Check whether --enable-dynlib or --disable-dynlib was given.
3830 if test "${enable_dynlib+set}" = set; then
3831 enableval
="$enable_dynlib"
3833 if test "$enableval" = yes; then
3834 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3836 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3841 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3842 if test "x$LINE" != x
; then
3843 eval "DEFAULT_$LINE"
3848 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3853 eval "$ac_cv_use_dynlib"
3854 if test "$no_cache" != 1; then
3855 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3858 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3859 echo "$ac_t""yes" 1>&6
3861 echo "$ac_t""no" 1>&6
3866 echo $ac_n "checking for --${enablestring:-enable}-dynamicloader""... $ac_c" 1>&6
3867 echo "configure:3868: checking for --${enablestring:-enable}-dynamicloader" >&5
3869 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3870 if test "${enable_dynamicloader+set}" = set; then
3871 enableval
="$enable_dynamicloader"
3873 if test "$enableval" = yes; then
3874 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3876 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3881 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3882 if test "x$LINE" != x
; then
3883 eval "DEFAULT_$LINE"
3888 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3893 eval "$ac_cv_use_dynamicloader"
3894 if test "$no_cache" != 1; then
3895 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3898 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3899 echo "$ac_t""yes" 1>&6
3901 echo "$ac_t""no" 1>&6
3906 echo $ac_n "checking for --${enablestring:-enable}-longlong""... $ac_c" 1>&6
3907 echo "configure:3908: checking for --${enablestring:-enable}-longlong" >&5
3909 # Check whether --enable-longlong or --disable-longlong was given.
3910 if test "${enable_longlong+set}" = set; then
3911 enableval
="$enable_longlong"
3913 if test "$enableval" = yes; then
3914 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3916 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3921 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3922 if test "x$LINE" != x
; then
3923 eval "DEFAULT_$LINE"
3928 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3933 eval "$ac_cv_use_longlong"
3934 if test "$no_cache" != 1; then
3935 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3938 if test "$wxUSE_LONGLONG" = yes; then
3939 echo "$ac_t""yes" 1>&6
3941 echo "$ac_t""no" 1>&6
3946 echo $ac_n "checking for --${enablestring:-enable}-geometry""... $ac_c" 1>&6
3947 echo "configure:3948: checking for --${enablestring:-enable}-geometry" >&5
3949 # Check whether --enable-geometry or --disable-geometry was given.
3950 if test "${enable_geometry+set}" = set; then
3951 enableval
="$enable_geometry"
3953 if test "$enableval" = yes; then
3954 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3956 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3961 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3962 if test "x$LINE" != x
; then
3963 eval "DEFAULT_$LINE"
3968 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3973 eval "$ac_cv_use_geometry"
3974 if test "$no_cache" != 1; then
3975 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3978 if test "$wxUSE_GEOMETRY" = yes; then
3979 echo "$ac_t""yes" 1>&6
3981 echo "$ac_t""no" 1>&6
3986 echo $ac_n "checking for --${enablestring:-enable}-log""... $ac_c" 1>&6
3987 echo "configure:3988: checking for --${enablestring:-enable}-log" >&5
3989 # Check whether --enable-log or --disable-log was given.
3990 if test "${enable_log+set}" = set; then
3991 enableval
="$enable_log"
3993 if test "$enableval" = yes; then
3994 ac_cv_use_log
='wxUSE_LOG=yes'
3996 ac_cv_use_log
='wxUSE_LOG=no'
4001 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4002 if test "x$LINE" != x
; then
4003 eval "DEFAULT_$LINE"
4008 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4013 eval "$ac_cv_use_log"
4014 if test "$no_cache" != 1; then
4015 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4018 if test "$wxUSE_LOG" = yes; then
4019 echo "$ac_t""yes" 1>&6
4021 echo "$ac_t""no" 1>&6
4026 echo $ac_n "checking for --${enablestring:-enable}-streams""... $ac_c" 1>&6
4027 echo "configure:4028: checking for --${enablestring:-enable}-streams" >&5
4029 # Check whether --enable-streams or --disable-streams was given.
4030 if test "${enable_streams+set}" = set; then
4031 enableval
="$enable_streams"
4033 if test "$enableval" = yes; then
4034 ac_cv_use_streams
='wxUSE_STREAMS=yes'
4036 ac_cv_use_streams
='wxUSE_STREAMS=no'
4041 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4042 if test "x$LINE" != x
; then
4043 eval "DEFAULT_$LINE"
4048 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4053 eval "$ac_cv_use_streams"
4054 if test "$no_cache" != 1; then
4055 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4058 if test "$wxUSE_STREAMS" = yes; then
4059 echo "$ac_t""yes" 1>&6
4061 echo "$ac_t""no" 1>&6
4066 echo $ac_n "checking for --${enablestring:-enable}-file""... $ac_c" 1>&6
4067 echo "configure:4068: checking for --${enablestring:-enable}-file" >&5
4069 # Check whether --enable-file or --disable-file was given.
4070 if test "${enable_file+set}" = set; then
4071 enableval
="$enable_file"
4073 if test "$enableval" = yes; then
4074 ac_cv_use_file
='wxUSE_FILE=yes'
4076 ac_cv_use_file
='wxUSE_FILE=no'
4081 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4082 if test "x$LINE" != x
; then
4083 eval "DEFAULT_$LINE"
4088 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4093 eval "$ac_cv_use_file"
4094 if test "$no_cache" != 1; then
4095 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4098 if test "$wxUSE_FILE" = yes; then
4099 echo "$ac_t""yes" 1>&6
4101 echo "$ac_t""no" 1>&6
4106 echo $ac_n "checking for --${enablestring:-enable}-ffile""... $ac_c" 1>&6
4107 echo "configure:4108: checking for --${enablestring:-enable}-ffile" >&5
4109 # Check whether --enable-ffile or --disable-ffile was given.
4110 if test "${enable_ffile+set}" = set; then
4111 enableval
="$enable_ffile"
4113 if test "$enableval" = yes; then
4114 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4116 ac_cv_use_ffile
='wxUSE_FFILE=no'
4121 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4122 if test "x$LINE" != x
; then
4123 eval "DEFAULT_$LINE"
4128 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4133 eval "$ac_cv_use_ffile"
4134 if test "$no_cache" != 1; then
4135 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4138 if test "$wxUSE_FFILE" = yes; then
4139 echo "$ac_t""yes" 1>&6
4141 echo "$ac_t""no" 1>&6
4146 echo $ac_n "checking for --${enablestring:-enable}-textbuf""... $ac_c" 1>&6
4147 echo "configure:4148: checking for --${enablestring:-enable}-textbuf" >&5
4149 # Check whether --enable-textbuf or --disable-textbuf was given.
4150 if test "${enable_textbuf+set}" = set; then
4151 enableval
="$enable_textbuf"
4153 if test "$enableval" = yes; then
4154 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4156 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4161 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4162 if test "x$LINE" != x
; then
4163 eval "DEFAULT_$LINE"
4168 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4173 eval "$ac_cv_use_textbuf"
4174 if test "$no_cache" != 1; then
4175 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4178 if test "$wxUSE_TEXTBUFFER" = yes; then
4179 echo "$ac_t""yes" 1>&6
4181 echo "$ac_t""no" 1>&6
4186 echo $ac_n "checking for --${enablestring:-enable}-textfile""... $ac_c" 1>&6
4187 echo "configure:4188: checking for --${enablestring:-enable}-textfile" >&5
4189 # Check whether --enable-textfile or --disable-textfile was given.
4190 if test "${enable_textfile+set}" = set; then
4191 enableval
="$enable_textfile"
4193 if test "$enableval" = yes; then
4194 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4196 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4201 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4202 if test "x$LINE" != x
; then
4203 eval "DEFAULT_$LINE"
4208 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4213 eval "$ac_cv_use_textfile"
4214 if test "$no_cache" != 1; then
4215 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4218 if test "$wxUSE_TEXTFILE" = yes; then
4219 echo "$ac_t""yes" 1>&6
4221 echo "$ac_t""no" 1>&6
4226 echo $ac_n "checking for --${enablestring:-enable}-fontmap""... $ac_c" 1>&6
4227 echo "configure:4228: checking for --${enablestring:-enable}-fontmap" >&5
4229 # Check whether --enable-fontmap or --disable-fontmap was given.
4230 if test "${enable_fontmap+set}" = set; then
4231 enableval
="$enable_fontmap"
4233 if test "$enableval" = yes; then
4234 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4236 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4241 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4242 if test "x$LINE" != x
; then
4243 eval "DEFAULT_$LINE"
4248 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4253 eval "$ac_cv_use_fontmap"
4254 if test "$no_cache" != 1; then
4255 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4258 if test "$wxUSE_FONTMAP" = yes; then
4259 echo "$ac_t""yes" 1>&6
4261 echo "$ac_t""no" 1>&6
4266 echo $ac_n "checking for --${enablestring:-enable}-unicode""... $ac_c" 1>&6
4267 echo "configure:4268: checking for --${enablestring:-enable}-unicode" >&5
4269 # Check whether --enable-unicode or --disable-unicode was given.
4270 if test "${enable_unicode+set}" = set; then
4271 enableval
="$enable_unicode"
4273 if test "$enableval" = yes; then
4274 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4276 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4281 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4282 if test "x$LINE" != x
; then
4283 eval "DEFAULT_$LINE"
4288 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4293 eval "$ac_cv_use_unicode"
4294 if test "$no_cache" != 1; then
4295 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4298 if test "$wxUSE_UNICODE" = yes; then
4299 echo "$ac_t""yes" 1>&6
4301 echo "$ac_t""no" 1>&6
4306 echo $ac_n "checking for --${enablestring:-enable}-mslu""... $ac_c" 1>&6
4307 echo "configure:4308: checking for --${enablestring:-enable}-mslu" >&5
4309 # Check whether --enable-mslu or --disable-mslu was given.
4310 if test "${enable_mslu+set}" = set; then
4311 enableval
="$enable_mslu"
4313 if test "$enableval" = yes; then
4314 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4316 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4321 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4322 if test "x$LINE" != x
; then
4323 eval "DEFAULT_$LINE"
4328 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4333 eval "$ac_cv_use_mslu"
4334 if test "$no_cache" != 1; then
4335 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4338 if test "$wxUSE_UNICODE_MSLU" = yes; then
4339 echo "$ac_t""yes" 1>&6
4341 echo "$ac_t""no" 1>&6
4346 echo $ac_n "checking for --${enablestring:-enable}-wxprintfv""... $ac_c" 1>&6
4347 echo "configure:4348: checking for --${enablestring:-enable}-wxprintfv" >&5
4349 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4350 if test "${enable_wxprintfv+set}" = set; then
4351 enableval
="$enable_wxprintfv"
4353 if test "$enableval" = yes; then
4354 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4356 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4361 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4362 if test "x$LINE" != x
; then
4363 eval "DEFAULT_$LINE"
4368 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4373 eval "$ac_cv_use_wxprintfv"
4374 if test "$no_cache" != 1; then
4375 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4378 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4379 echo "$ac_t""yes" 1>&6
4381 echo "$ac_t""no" 1>&6
4386 echo $ac_n "checking for --${enablestring:-enable}-std_iostreams""... $ac_c" 1>&6
4387 echo "configure:4388: checking for --${enablestring:-enable}-std_iostreams" >&5
4389 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4390 if test "${enable_std_iostreams+set}" = set; then
4391 enableval
="$enable_std_iostreams"
4393 if test "$enableval" = yes; then
4394 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4396 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4401 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4402 if test "x$LINE" != x
; then
4403 eval "DEFAULT_$LINE"
4408 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4413 eval "$ac_cv_use_std_iostreams"
4414 if test "$no_cache" != 1; then
4415 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4418 if test "$wxUSE_STD_IOSTREAM" = yes; then
4419 echo "$ac_t""yes" 1>&6
4421 echo "$ac_t""no" 1>&6
4426 echo $ac_n "checking for --${enablestring:-enable}-filesystem""... $ac_c" 1>&6
4427 echo "configure:4428: checking for --${enablestring:-enable}-filesystem" >&5
4429 # Check whether --enable-filesystem or --disable-filesystem was given.
4430 if test "${enable_filesystem+set}" = set; then
4431 enableval
="$enable_filesystem"
4433 if test "$enableval" = yes; then
4434 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4436 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4441 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4442 if test "x$LINE" != x
; then
4443 eval "DEFAULT_$LINE"
4448 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4453 eval "$ac_cv_use_filesystem"
4454 if test "$no_cache" != 1; then
4455 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4458 if test "$wxUSE_FILESYSTEM" = yes; then
4459 echo "$ac_t""yes" 1>&6
4461 echo "$ac_t""no" 1>&6
4466 echo $ac_n "checking for --${enablestring:-enable}-fs_inet""... $ac_c" 1>&6
4467 echo "configure:4468: checking for --${enablestring:-enable}-fs_inet" >&5
4469 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4470 if test "${enable_fs_inet+set}" = set; then
4471 enableval
="$enable_fs_inet"
4473 if test "$enableval" = yes; then
4474 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4476 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4481 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4482 if test "x$LINE" != x
; then
4483 eval "DEFAULT_$LINE"
4488 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4493 eval "$ac_cv_use_fs_inet"
4494 if test "$no_cache" != 1; then
4495 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4498 if test "$wxUSE_FS_INET" = yes; then
4499 echo "$ac_t""yes" 1>&6
4501 echo "$ac_t""no" 1>&6
4506 echo $ac_n "checking for --${enablestring:-enable}-fs_zip""... $ac_c" 1>&6
4507 echo "configure:4508: checking for --${enablestring:-enable}-fs_zip" >&5
4509 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4510 if test "${enable_fs_zip+set}" = set; then
4511 enableval
="$enable_fs_zip"
4513 if test "$enableval" = yes; then
4514 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4516 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4521 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4522 if test "x$LINE" != x
; then
4523 eval "DEFAULT_$LINE"
4528 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4533 eval "$ac_cv_use_fs_zip"
4534 if test "$no_cache" != 1; then
4535 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4538 if test "$wxUSE_FS_ZIP" = yes; then
4539 echo "$ac_t""yes" 1>&6
4541 echo "$ac_t""no" 1>&6
4546 echo $ac_n "checking for --${enablestring:-enable}-zipstream""... $ac_c" 1>&6
4547 echo "configure:4548: checking for --${enablestring:-enable}-zipstream" >&5
4549 # Check whether --enable-zipstream or --disable-zipstream was given.
4550 if test "${enable_zipstream+set}" = set; then
4551 enableval
="$enable_zipstream"
4553 if test "$enableval" = yes; then
4554 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4556 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4561 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4562 if test "x$LINE" != x
; then
4563 eval "DEFAULT_$LINE"
4568 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4573 eval "$ac_cv_use_zipstream"
4574 if test "$no_cache" != 1; then
4575 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4578 if test "$wxUSE_ZIPSTREAM" = yes; then
4579 echo "$ac_t""yes" 1>&6
4581 echo "$ac_t""no" 1>&6
4587 echo $ac_n "checking for --${enablestring:-enable}-catch_segvs""... $ac_c" 1>&6
4588 echo "configure:4589: checking for --${enablestring:-enable}-catch_segvs" >&5
4590 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4591 if test "${enable_catch_segvs+set}" = set; then
4592 enableval
="$enable_catch_segvs"
4594 if test "$enableval" = yes; then
4595 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4597 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4602 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4603 if test "x$LINE" != x
; then
4604 eval "DEFAULT_$LINE"
4609 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4614 eval "$ac_cv_use_catch_segvs"
4615 if test "$no_cache" != 1; then
4616 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4619 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4620 echo "$ac_t""yes" 1>&6
4622 echo "$ac_t""no" 1>&6
4627 echo $ac_n "checking for --${enablestring:-enable}-snglinst""... $ac_c" 1>&6
4628 echo "configure:4629: checking for --${enablestring:-enable}-snglinst" >&5
4630 # Check whether --enable-snglinst or --disable-snglinst was given.
4631 if test "${enable_snglinst+set}" = set; then
4632 enableval
="$enable_snglinst"
4634 if test "$enableval" = yes; then
4635 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4637 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4642 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4643 if test "x$LINE" != x
; then
4644 eval "DEFAULT_$LINE"
4649 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4654 eval "$ac_cv_use_snglinst"
4655 if test "$no_cache" != 1; then
4656 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4659 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4660 echo "$ac_t""yes" 1>&6
4662 echo "$ac_t""no" 1>&6
4668 echo $ac_n "checking for --${enablestring:-enable}-mimetype""... $ac_c" 1>&6
4669 echo "configure:4670: checking for --${enablestring:-enable}-mimetype" >&5
4671 # Check whether --enable-mimetype or --disable-mimetype was given.
4672 if test "${enable_mimetype+set}" = set; then
4673 enableval
="$enable_mimetype"
4675 if test "$enableval" = yes; then
4676 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4678 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4683 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4684 if test "x$LINE" != x
; then
4685 eval "DEFAULT_$LINE"
4690 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4695 eval "$ac_cv_use_mimetype"
4696 if test "$no_cache" != 1; then
4697 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4700 if test "$wxUSE_MIMETYPE" = yes; then
4701 echo "$ac_t""yes" 1>&6
4703 echo "$ac_t""no" 1>&6
4708 echo $ac_n "checking for --${enablestring:-enable}-system_options""... $ac_c" 1>&6
4709 echo "configure:4710: checking for --${enablestring:-enable}-system_options" >&5
4711 # Check whether --enable-system_options or --disable-system_options was given.
4712 if test "${enable_system_options+set}" = set; then
4713 enableval
="$enable_system_options"
4715 if test "$enableval" = yes; then
4716 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4718 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4723 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4724 if test "x$LINE" != x
; then
4725 eval "DEFAULT_$LINE"
4730 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4735 eval "$ac_cv_use_system_options"
4736 if test "$no_cache" != 1; then
4737 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4740 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4741 echo "$ac_t""yes" 1>&6
4743 echo "$ac_t""no" 1>&6
4749 echo $ac_n "checking for --${enablestring:-enable}-url""... $ac_c" 1>&6
4750 echo "configure:4751: checking for --${enablestring:-enable}-url" >&5
4752 # Check whether --enable-url or --disable-url was given.
4753 if test "${enable_url+set}" = set; then
4754 enableval
="$enable_url"
4756 if test "$enableval" = yes; then
4757 ac_cv_use_url
='wxUSE_URL=yes'
4759 ac_cv_use_url
='wxUSE_URL=no'
4764 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4765 if test "x$LINE" != x
; then
4766 eval "DEFAULT_$LINE"
4771 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4776 eval "$ac_cv_use_url"
4777 if test "$no_cache" != 1; then
4778 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4781 if test "$wxUSE_URL" = yes; then
4782 echo "$ac_t""yes" 1>&6
4784 echo "$ac_t""no" 1>&6
4789 echo $ac_n "checking for --${enablestring:-enable}-protocol""... $ac_c" 1>&6
4790 echo "configure:4791: checking for --${enablestring:-enable}-protocol" >&5
4792 # Check whether --enable-protocol or --disable-protocol was given.
4793 if test "${enable_protocol+set}" = set; then
4794 enableval
="$enable_protocol"
4796 if test "$enableval" = yes; then
4797 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4799 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4804 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4805 if test "x$LINE" != x
; then
4806 eval "DEFAULT_$LINE"
4811 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4816 eval "$ac_cv_use_protocol"
4817 if test "$no_cache" != 1; then
4818 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4821 if test "$wxUSE_PROTOCOL" = yes; then
4822 echo "$ac_t""yes" 1>&6
4824 echo "$ac_t""no" 1>&6
4829 echo $ac_n "checking for --${enablestring:-enable}-protocol_http""... $ac_c" 1>&6
4830 echo "configure:4831: checking for --${enablestring:-enable}-protocol_http" >&5
4832 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4833 if test "${enable_protocol_http+set}" = set; then
4834 enableval
="$enable_protocol_http"
4836 if test "$enableval" = yes; then
4837 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4839 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4844 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4845 if test "x$LINE" != x
; then
4846 eval "DEFAULT_$LINE"
4851 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4856 eval "$ac_cv_use_protocol_http"
4857 if test "$no_cache" != 1; then
4858 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4861 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4862 echo "$ac_t""yes" 1>&6
4864 echo "$ac_t""no" 1>&6
4869 echo $ac_n "checking for --${enablestring:-enable}-protocol_ftp""... $ac_c" 1>&6
4870 echo "configure:4871: checking for --${enablestring:-enable}-protocol_ftp" >&5
4872 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4873 if test "${enable_protocol_ftp+set}" = set; then
4874 enableval
="$enable_protocol_ftp"
4876 if test "$enableval" = yes; then
4877 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4879 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4884 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4885 if test "x$LINE" != x
; then
4886 eval "DEFAULT_$LINE"
4891 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4896 eval "$ac_cv_use_protocol_ftp"
4897 if test "$no_cache" != 1; then
4898 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4901 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4902 echo "$ac_t""yes" 1>&6
4904 echo "$ac_t""no" 1>&6
4909 echo $ac_n "checking for --${enablestring:-enable}-protocol_file""... $ac_c" 1>&6
4910 echo "configure:4911: checking for --${enablestring:-enable}-protocol_file" >&5
4912 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4913 if test "${enable_protocol_file+set}" = set; then
4914 enableval
="$enable_protocol_file"
4916 if test "$enableval" = yes; then
4917 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4919 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4924 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4925 if test "x$LINE" != x
; then
4926 eval "DEFAULT_$LINE"
4931 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4936 eval "$ac_cv_use_protocol_file"
4937 if test "$no_cache" != 1; then
4938 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4941 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4942 echo "$ac_t""yes" 1>&6
4944 echo "$ac_t""no" 1>&6
4952 echo $ac_n "checking for --${enablestring:-enable}-threads""... $ac_c" 1>&6
4953 echo "configure:4954: checking for --${enablestring:-enable}-threads" >&5
4955 # Check whether --enable-threads or --disable-threads was given.
4956 if test "${enable_threads+set}" = set; then
4957 enableval
="$enable_threads"
4959 if test "$enableval" = yes; then
4960 ac_cv_use_threads
='wxUSE_THREADS=yes'
4962 ac_cv_use_threads
='wxUSE_THREADS=no'
4967 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4968 if test "x$LINE" != x
; then
4969 eval "DEFAULT_$LINE"
4974 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4979 eval "$ac_cv_use_threads"
4980 if test "$no_cache" != 1; then
4981 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4984 if test "$wxUSE_THREADS" = yes; then
4985 echo "$ac_t""yes" 1>&6
4987 echo "$ac_t""no" 1>&6
4991 if test "$wxUSE_GUI" = "yes"; then
4996 echo $ac_n "checking for --${enablestring:-enable}-docview""... $ac_c" 1>&6
4997 echo "configure:4998: checking for --${enablestring:-enable}-docview" >&5
4999 # Check whether --enable-docview or --disable-docview was given.
5000 if test "${enable_docview+set}" = set; then
5001 enableval
="$enable_docview"
5003 if test "$enableval" = yes; then
5004 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5006 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5011 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5012 if test "x$LINE" != x
; then
5013 eval "DEFAULT_$LINE"
5018 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5023 eval "$ac_cv_use_docview"
5024 if test "$no_cache" != 1; then
5025 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5028 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5029 echo "$ac_t""yes" 1>&6
5031 echo "$ac_t""no" 1>&6
5036 echo $ac_n "checking for --${enablestring:-enable}-help""... $ac_c" 1>&6
5037 echo "configure:5038: checking for --${enablestring:-enable}-help" >&5
5039 # Check whether --enable-help or --disable-help was given.
5040 if test "${enable_help+set}" = set; then
5041 enableval
="$enable_help"
5043 if test "$enableval" = yes; then
5044 ac_cv_use_help
='wxUSE_HELP=yes'
5046 ac_cv_use_help
='wxUSE_HELP=no'
5051 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x
; then
5053 eval "DEFAULT_$LINE"
5058 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5063 eval "$ac_cv_use_help"
5064 if test "$no_cache" != 1; then
5065 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5068 if test "$wxUSE_HELP" = yes; then
5069 echo "$ac_t""yes" 1>&6
5071 echo "$ac_t""no" 1>&6
5076 echo $ac_n "checking for --${enablestring:-enable}-mshtmlhelp""... $ac_c" 1>&6
5077 echo "configure:5078: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5079 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5080 if test "${enable_mshtmlhelp+set}" = set; then
5081 enableval
="$enable_mshtmlhelp"
5083 if test "$enableval" = yes; then
5084 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
5086 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
5091 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5092 if test "x$LINE" != x
; then
5093 eval "DEFAULT_$LINE"
5098 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5103 eval "$ac_cv_use_mshtmlhelp"
5104 if test "$no_cache" != 1; then
5105 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5108 if test "$wxUSE_MS_HTML_HELP" = yes; then
5109 echo "$ac_t""yes" 1>&6
5111 echo "$ac_t""no" 1>&6
5116 echo $ac_n "checking for --${enablestring:-enable}-html""... $ac_c" 1>&6
5117 echo "configure:5118: checking for --${enablestring:-enable}-html" >&5
5119 # Check whether --enable-html or --disable-html was given.
5120 if test "${enable_html+set}" = set; then
5121 enableval
="$enable_html"
5123 if test "$enableval" = yes; then
5124 ac_cv_use_html
='wxUSE_HTML=yes'
5126 ac_cv_use_html
='wxUSE_HTML=no'
5131 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5132 if test "x$LINE" != x
; then
5133 eval "DEFAULT_$LINE"
5138 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5143 eval "$ac_cv_use_html"
5144 if test "$no_cache" != 1; then
5145 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5148 if test "$wxUSE_HTML" = yes; then
5149 echo "$ac_t""yes" 1>&6
5151 echo "$ac_t""no" 1>&6
5156 echo $ac_n "checking for --${enablestring:-enable}-htmlhelp""... $ac_c" 1>&6
5157 echo "configure:5158: checking for --${enablestring:-enable}-htmlhelp" >&5
5159 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5160 if test "${enable_htmlhelp+set}" = set; then
5161 enableval
="$enable_htmlhelp"
5163 if test "$enableval" = yes; then
5164 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5166 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5171 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5172 if test "x$LINE" != x
; then
5173 eval "DEFAULT_$LINE"
5178 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5183 eval "$ac_cv_use_htmlhelp"
5184 if test "$no_cache" != 1; then
5185 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5188 if test "$wxUSE_WXHTML_HELP" = yes; then
5189 echo "$ac_t""yes" 1>&6
5191 echo "$ac_t""no" 1>&6
5196 echo $ac_n "checking for --${enablestring:-enable}-constraints""... $ac_c" 1>&6
5197 echo "configure:5198: checking for --${enablestring:-enable}-constraints" >&5
5199 # Check whether --enable-constraints or --disable-constraints was given.
5200 if test "${enable_constraints+set}" = set; then
5201 enableval
="$enable_constraints"
5203 if test "$enableval" = yes; then
5204 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5206 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5211 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5212 if test "x$LINE" != x
; then
5213 eval "DEFAULT_$LINE"
5218 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5223 eval "$ac_cv_use_constraints"
5224 if test "$no_cache" != 1; then
5225 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5228 if test "$wxUSE_CONSTRAINTS" = yes; then
5229 echo "$ac_t""yes" 1>&6
5231 echo "$ac_t""no" 1>&6
5236 echo $ac_n "checking for --${enablestring:-enable}-printarch""... $ac_c" 1>&6
5237 echo "configure:5238: checking for --${enablestring:-enable}-printarch" >&5
5239 # Check whether --enable-printarch or --disable-printarch was given.
5240 if test "${enable_printarch+set}" = set; then
5241 enableval
="$enable_printarch"
5243 if test "$enableval" = yes; then
5244 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5246 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5251 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5252 if test "x$LINE" != x
; then
5253 eval "DEFAULT_$LINE"
5258 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5263 eval "$ac_cv_use_printarch"
5264 if test "$no_cache" != 1; then
5265 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5268 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5269 echo "$ac_t""yes" 1>&6
5271 echo "$ac_t""no" 1>&6
5276 echo $ac_n "checking for --${enablestring:-enable}-mdi""... $ac_c" 1>&6
5277 echo "configure:5278: checking for --${enablestring:-enable}-mdi" >&5
5279 # Check whether --enable-mdi or --disable-mdi was given.
5280 if test "${enable_mdi+set}" = set; then
5281 enableval
="$enable_mdi"
5283 if test "$enableval" = yes; then
5284 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5286 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5291 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5292 if test "x$LINE" != x
; then
5293 eval "DEFAULT_$LINE"
5298 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5303 eval "$ac_cv_use_mdi"
5304 if test "$no_cache" != 1; then
5305 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5308 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5309 echo "$ac_t""yes" 1>&6
5311 echo "$ac_t""no" 1>&6
5316 echo $ac_n "checking for --${enablestring:-enable}-loggui""... $ac_c" 1>&6
5317 echo "configure:5318: checking for --${enablestring:-enable}-loggui" >&5
5319 # Check whether --enable-loggui or --disable-loggui was given.
5320 if test "${enable_loggui+set}" = set; then
5321 enableval
="$enable_loggui"
5323 if test "$enableval" = yes; then
5324 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5326 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5331 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5332 if test "x$LINE" != x
; then
5333 eval "DEFAULT_$LINE"
5338 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5343 eval "$ac_cv_use_loggui"
5344 if test "$no_cache" != 1; then
5345 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5348 if test "$wxUSE_LOGGUI" = yes; then
5349 echo "$ac_t""yes" 1>&6
5351 echo "$ac_t""no" 1>&6
5356 echo $ac_n "checking for --${enablestring:-enable}-logwin""... $ac_c" 1>&6
5357 echo "configure:5358: checking for --${enablestring:-enable}-logwin" >&5
5359 # Check whether --enable-logwin or --disable-logwin was given.
5360 if test "${enable_logwin+set}" = set; then
5361 enableval
="$enable_logwin"
5363 if test "$enableval" = yes; then
5364 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5366 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5371 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5372 if test "x$LINE" != x
; then
5373 eval "DEFAULT_$LINE"
5378 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5383 eval "$ac_cv_use_logwin"
5384 if test "$no_cache" != 1; then
5385 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5388 if test "$wxUSE_LOGWINDOW" = yes; then
5389 echo "$ac_t""yes" 1>&6
5391 echo "$ac_t""no" 1>&6
5396 echo $ac_n "checking for --${enablestring:-enable}-logdialog""... $ac_c" 1>&6
5397 echo "configure:5398: checking for --${enablestring:-enable}-logdialog" >&5
5399 # Check whether --enable-logdialog or --disable-logdialog was given.
5400 if test "${enable_logdialog+set}" = set; then
5401 enableval
="$enable_logdialog"
5403 if test "$enableval" = yes; then
5404 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5406 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5411 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5412 if test "x$LINE" != x
; then
5413 eval "DEFAULT_$LINE"
5418 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5423 eval "$ac_cv_use_logdialog"
5424 if test "$no_cache" != 1; then
5425 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5428 if test "$wxUSE_LOGDIALOG" = yes; then
5429 echo "$ac_t""yes" 1>&6
5431 echo "$ac_t""no" 1>&6
5437 echo $ac_n "checking for --${enablestring:-enable}-postscript""... $ac_c" 1>&6
5438 echo "configure:5439: checking for --${enablestring:-enable}-postscript" >&5
5440 # Check whether --enable-postscript or --disable-postscript was given.
5441 if test "${enable_postscript+set}" = set; then
5442 enableval
="$enable_postscript"
5444 if test "$enableval" = yes; then
5445 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5447 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5452 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5453 if test "x$LINE" != x
; then
5454 eval "DEFAULT_$LINE"
5459 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5464 eval "$ac_cv_use_postscript"
5465 if test "$no_cache" != 1; then
5466 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5469 if test "$wxUSE_POSTSCRIPT" = yes; then
5470 echo "$ac_t""yes" 1>&6
5472 echo "$ac_t""no" 1>&6
5480 echo $ac_n "checking for --${enablestring:-enable}-prologio""... $ac_c" 1>&6
5481 echo "configure:5482: checking for --${enablestring:-enable}-prologio" >&5
5483 # Check whether --enable-prologio or --disable-prologio was given.
5484 if test "${enable_prologio+set}" = set; then
5485 enableval
="$enable_prologio"
5487 if test "$enableval" = yes; then
5488 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5490 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5495 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5496 if test "x$LINE" != x
; then
5497 eval "DEFAULT_$LINE"
5502 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5507 eval "$ac_cv_use_prologio"
5508 if test "$no_cache" != 1; then
5509 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5512 if test "$wxUSE_PROLOGIO" = yes; then
5513 echo "$ac_t""yes" 1>&6
5515 echo "$ac_t""no" 1>&6
5520 echo $ac_n "checking for --${enablestring:-enable}-resources""... $ac_c" 1>&6
5521 echo "configure:5522: checking for --${enablestring:-enable}-resources" >&5
5523 # Check whether --enable-resources or --disable-resources was given.
5524 if test "${enable_resources+set}" = set; then
5525 enableval
="$enable_resources"
5527 if test "$enableval" = yes; then
5528 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5530 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5535 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5536 if test "x$LINE" != x
; then
5537 eval "DEFAULT_$LINE"
5542 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5547 eval "$ac_cv_use_resources"
5548 if test "$no_cache" != 1; then
5549 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5552 if test "$wxUSE_RESOURCES" = yes; then
5553 echo "$ac_t""yes" 1>&6
5555 echo "$ac_t""no" 1>&6
5561 echo $ac_n "checking for --${enablestring:-enable}-xresources""... $ac_c" 1>&6
5562 echo "configure:5563: checking for --${enablestring:-enable}-xresources" >&5
5564 # Check whether --enable-xresources or --disable-xresources was given.
5565 if test "${enable_xresources+set}" = set; then
5566 enableval
="$enable_xresources"
5568 if test "$enableval" = yes; then
5569 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5571 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5576 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5577 if test "x$LINE" != x
; then
5578 eval "DEFAULT_$LINE"
5583 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5588 eval "$ac_cv_use_xresources"
5589 if test "$no_cache" != 1; then
5590 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5593 if test "$wxUSE_X_RESOURCES" = yes; then
5594 echo "$ac_t""yes" 1>&6
5596 echo "$ac_t""no" 1>&6
5603 echo $ac_n "checking for --${enablestring:-enable}-clipboard""... $ac_c" 1>&6
5604 echo "configure:5605: checking for --${enablestring:-enable}-clipboard" >&5
5606 # Check whether --enable-clipboard or --disable-clipboard was given.
5607 if test "${enable_clipboard+set}" = set; then
5608 enableval
="$enable_clipboard"
5610 if test "$enableval" = yes; then
5611 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5613 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5618 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5619 if test "x$LINE" != x
; then
5620 eval "DEFAULT_$LINE"
5625 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5630 eval "$ac_cv_use_clipboard"
5631 if test "$no_cache" != 1; then
5632 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5635 if test "$wxUSE_CLIPBOARD" = yes; then
5636 echo "$ac_t""yes" 1>&6
5638 echo "$ac_t""no" 1>&6
5643 echo $ac_n "checking for --${enablestring:-enable}-dnd""... $ac_c" 1>&6
5644 echo "configure:5645: checking for --${enablestring:-enable}-dnd" >&5
5646 # Check whether --enable-dnd or --disable-dnd was given.
5647 if test "${enable_dnd+set}" = set; then
5648 enableval
="$enable_dnd"
5650 if test "$enableval" = yes; then
5651 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5653 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5658 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5659 if test "x$LINE" != x
; then
5660 eval "DEFAULT_$LINE"
5665 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5670 eval "$ac_cv_use_dnd"
5671 if test "$no_cache" != 1; then
5672 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5675 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5676 echo "$ac_t""yes" 1>&6
5678 echo "$ac_t""no" 1>&6
5683 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
5684 echo "configure:5685: checking for --${enablestring:-enable}-metafile" >&5
5686 # Check whether --enable-metafile or --disable-metafile was given.
5687 if test "${enable_metafile+set}" = set; then
5688 enableval
="$enable_metafile"
5690 if test "$enableval" = yes; then
5691 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5693 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5698 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5699 if test "x$LINE" != x
; then
5700 eval "DEFAULT_$LINE"
5705 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5710 eval "$ac_cv_use_metafile"
5711 if test "$no_cache" != 1; then
5712 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5715 if test "$wxUSE_METAFILE" = yes; then
5716 echo "$ac_t""yes" 1>&6
5718 echo "$ac_t""no" 1>&6
5724 echo $ac_n "checking for --${enablestring:-enable}-treelayout""... $ac_c" 1>&6
5725 echo "configure:5726: checking for --${enablestring:-enable}-treelayout" >&5
5727 # Check whether --enable-treelayout or --disable-treelayout was given.
5728 if test "${enable_treelayout+set}" = set; then
5729 enableval
="$enable_treelayout"
5731 if test "$enableval" = yes; then
5732 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5734 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5739 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5740 if test "x$LINE" != x
; then
5741 eval "DEFAULT_$LINE"
5746 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5751 eval "$ac_cv_use_treelayout"
5752 if test "$no_cache" != 1; then
5753 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5756 if test "$wxUSE_TREELAYOUT" = yes; then
5757 echo "$ac_t""yes" 1>&6
5759 echo "$ac_t""no" 1>&6
5766 echo $ac_n "checking for --${enablestring:-enable}-controls""... $ac_c" 1>&6
5767 echo "configure:5768: checking for --${enablestring:-enable}-controls" >&5
5769 # Check whether --enable-controls or --disable-controls was given.
5770 if test "${enable_controls+set}" = set; then
5771 enableval
="$enable_controls"
5773 if test "$enableval" = yes; then
5774 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5776 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5781 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5782 if test "x$LINE" != x
; then
5783 eval "DEFAULT_$LINE"
5788 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5793 eval "$ac_cv_use_controls"
5794 if test "$no_cache" != 1; then
5795 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5798 if test "$wxUSE_CONTROLS" = yes; then
5799 echo "$ac_t""yes" 1>&6
5801 echo "$ac_t""no" 1>&6
5805 if test "$wxUSE_CONTROLS" = "yes"; then
5806 DEFAULT_wxUSE_ACCEL
=yes
5807 DEFAULT_wxUSE_BMPBUTTON
=yes
5808 DEFAULT_wxUSE_BUTTON
=yes
5809 DEFAULT_wxUSE_CALCTRL
=no
5810 DEFAULT_wxUSE_CARET
=yes
5811 DEFAULT_wxUSE_COMBOBOX
=yes
5812 DEFAULT_wxUSE_CHECKBOX
=yes
5813 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5814 DEFAULT_wxUSE_CHOICE
=yes
5815 DEFAULT_wxUSE_GAUGE
=yes
5816 DEFAULT_wxUSE_GRID
=yes
5817 DEFAULT_wxUSE_NEW_GRID
=yes
5818 DEFAULT_wxUSE_IMAGLIST
=yes
5819 DEFAULT_wxUSE_LISTBOX
=yes
5820 DEFAULT_wxUSE_LISTCTRL
=yes
5821 DEFAULT_wxUSE_NOTEBOOK
=yes
5822 DEFAULT_wxUSE_PROPSHEET
=yes
5823 DEFAULT_wxUSE_RADIOBOX
=yes
5824 DEFAULT_wxUSE_RADIOBTN
=yes
5825 DEFAULT_wxUSE_SASH
=yes
5826 DEFAULT_wxUSE_SCROLLBAR
=yes
5827 DEFAULT_wxUSE_SLIDER
=yes
5828 DEFAULT_wxUSE_SPINBTN
=yes
5829 DEFAULT_wxUSE_SPINCTRL
=yes
5830 DEFAULT_wxUSE_SPLITTER
=yes
5831 DEFAULT_wxUSE_STATBMP
=yes
5832 DEFAULT_wxUSE_STATBOX
=yes
5833 DEFAULT_wxUSE_STATLINE
=yes
5834 DEFAULT_wxUSE_STATUSBAR
=yes
5835 DEFAULT_wxUSE_TAB_DIALOG
=yes
5836 DEFAULT_wxUSE_TOGGLEBTN
=yes
5837 DEFAULT_wxUSE_TOOLBAR
=yes
5838 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5839 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5840 DEFAULT_wxUSE_TOOLTIPS
=yes
5841 DEFAULT_wxUSE_TREECTRL
=yes
5842 DEFAULT_wxUSE_POPUPWIN
=yes
5843 DEFAULT_wxUSE_TIPWINDOW
=yes
5844 elif test "$wxUSE_CONTROLS" = "no"; then
5845 DEFAULT_wxUSE_ACCEL
=no
5846 DEFAULT_wxUSE_BMPBUTTON
=no
5847 DEFAULT_wxUSE_BUTTON
=no
5848 DEFAULT_wxUSE_CALCTRL
=no
5849 DEFAULT_wxUSE_CARET
=no
5850 DEFAULT_wxUSE_COMBOBOX
=no
5851 DEFAULT_wxUSE_CHECKBOX
=no
5852 DEFAULT_wxUSE_CHECKLISTBOX
=no
5853 DEFAULT_wxUSE_CHOICE
=no
5854 DEFAULT_wxUSE_GAUGE
=no
5855 DEFAULT_wxUSE_GRID
=no
5856 DEFAULT_wxUSE_NEW_GRID
=no
5857 DEFAULT_wxUSE_IMAGLIST
=no
5858 DEFAULT_wxUSE_LISTBOX
=no
5859 DEFAULT_wxUSE_LISTCTRL
=no
5860 DEFAULT_wxUSE_NOTEBOOK
=no
5861 DEFAULT_wxUSE_PROPSHEET
=no
5862 DEFAULT_wxUSE_RADIOBOX
=no
5863 DEFAULT_wxUSE_RADIOBTN
=no
5864 DEFAULT_wxUSE_SASH
=no
5865 DEFAULT_wxUSE_SCROLLBAR
=no
5866 DEFAULT_wxUSE_SLIDER
=no
5867 DEFAULT_wxUSE_SPINBTN
=no
5868 DEFAULT_wxUSE_SPINCTRL
=no
5869 DEFAULT_wxUSE_SPLITTER
=no
5870 DEFAULT_wxUSE_STATBMP
=no
5871 DEFAULT_wxUSE_STATBOX
=no
5872 DEFAULT_wxUSE_STATLINE
=no
5873 DEFAULT_wxUSE_STATUSBAR
=no
5874 DEFAULT_wxUSE_TAB_DIALOG
=no
5875 DEFAULT_wxUSE_TOGGLEBTN
=no
5876 DEFAULT_wxUSE_TOOLBAR
=no
5877 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5878 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5879 DEFAULT_wxUSE_TOOLTIPS
=no
5880 DEFAULT_wxUSE_TREECTRL
=no
5881 DEFAULT_wxUSE_POPUPWIN
=no
5882 DEFAULT_wxUSE_TIPWINDOW
=no
5887 echo $ac_n "checking for --${enablestring:-enable}-accel""... $ac_c" 1>&6
5888 echo "configure:5889: checking for --${enablestring:-enable}-accel" >&5
5890 # Check whether --enable-accel or --disable-accel was given.
5891 if test "${enable_accel+set}" = set; then
5892 enableval
="$enable_accel"
5894 if test "$enableval" = yes; then
5895 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5897 ac_cv_use_accel
='wxUSE_ACCEL=no'
5902 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5903 if test "x$LINE" != x
; then
5904 eval "DEFAULT_$LINE"
5909 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5914 eval "$ac_cv_use_accel"
5915 if test "$no_cache" != 1; then
5916 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5919 if test "$wxUSE_ACCEL" = yes; then
5920 echo "$ac_t""yes" 1>&6
5922 echo "$ac_t""no" 1>&6
5927 echo $ac_n "checking for --${enablestring:-enable}-button""... $ac_c" 1>&6
5928 echo "configure:5929: checking for --${enablestring:-enable}-button" >&5
5930 # Check whether --enable-button or --disable-button was given.
5931 if test "${enable_button+set}" = set; then
5932 enableval
="$enable_button"
5934 if test "$enableval" = yes; then
5935 ac_cv_use_button
='wxUSE_BUTTON=yes'
5937 ac_cv_use_button
='wxUSE_BUTTON=no'
5942 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5943 if test "x$LINE" != x
; then
5944 eval "DEFAULT_$LINE"
5949 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5954 eval "$ac_cv_use_button"
5955 if test "$no_cache" != 1; then
5956 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5959 if test "$wxUSE_BUTTON" = yes; then
5960 echo "$ac_t""yes" 1>&6
5962 echo "$ac_t""no" 1>&6
5967 echo $ac_n "checking for --${enablestring:-enable}-bmpbutton""... $ac_c" 1>&6
5968 echo "configure:5969: checking for --${enablestring:-enable}-bmpbutton" >&5
5970 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5971 if test "${enable_bmpbutton+set}" = set; then
5972 enableval
="$enable_bmpbutton"
5974 if test "$enableval" = yes; then
5975 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5977 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5982 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5983 if test "x$LINE" != x
; then
5984 eval "DEFAULT_$LINE"
5989 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5994 eval "$ac_cv_use_bmpbutton"
5995 if test "$no_cache" != 1; then
5996 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5999 if test "$wxUSE_BMPBUTTON" = yes; then
6000 echo "$ac_t""yes" 1>&6
6002 echo "$ac_t""no" 1>&6
6007 echo $ac_n "checking for --${enablestring:-enable}-calendar""... $ac_c" 1>&6
6008 echo "configure:6009: checking for --${enablestring:-enable}-calendar" >&5
6010 # Check whether --enable-calendar or --disable-calendar was given.
6011 if test "${enable_calendar+set}" = set; then
6012 enableval
="$enable_calendar"
6014 if test "$enableval" = yes; then
6015 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
6017 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
6022 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6023 if test "x$LINE" != x
; then
6024 eval "DEFAULT_$LINE"
6029 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6034 eval "$ac_cv_use_calendar"
6035 if test "$no_cache" != 1; then
6036 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6039 if test "$wxUSE_CALCTRL" = yes; then
6040 echo "$ac_t""yes" 1>&6
6042 echo "$ac_t""no" 1>&6
6047 echo $ac_n "checking for --${enablestring:-enable}-caret""... $ac_c" 1>&6
6048 echo "configure:6049: checking for --${enablestring:-enable}-caret" >&5
6050 # Check whether --enable-caret or --disable-caret was given.
6051 if test "${enable_caret+set}" = set; then
6052 enableval
="$enable_caret"
6054 if test "$enableval" = yes; then
6055 ac_cv_use_caret
='wxUSE_CARET=yes'
6057 ac_cv_use_caret
='wxUSE_CARET=no'
6062 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6063 if test "x$LINE" != x
; then
6064 eval "DEFAULT_$LINE"
6069 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6074 eval "$ac_cv_use_caret"
6075 if test "$no_cache" != 1; then
6076 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6079 if test "$wxUSE_CARET" = yes; then
6080 echo "$ac_t""yes" 1>&6
6082 echo "$ac_t""no" 1>&6
6087 echo $ac_n "checking for --${enablestring:-enable}-checkbox""... $ac_c" 1>&6
6088 echo "configure:6089: checking for --${enablestring:-enable}-checkbox" >&5
6090 # Check whether --enable-checkbox or --disable-checkbox was given.
6091 if test "${enable_checkbox+set}" = set; then
6092 enableval
="$enable_checkbox"
6094 if test "$enableval" = yes; then
6095 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
6097 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
6102 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6103 if test "x$LINE" != x
; then
6104 eval "DEFAULT_$LINE"
6109 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6114 eval "$ac_cv_use_checkbox"
6115 if test "$no_cache" != 1; then
6116 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6119 if test "$wxUSE_CHECKBOX" = yes; then
6120 echo "$ac_t""yes" 1>&6
6122 echo "$ac_t""no" 1>&6
6127 echo $ac_n "checking for --${enablestring:-enable}-checklst""... $ac_c" 1>&6
6128 echo "configure:6129: checking for --${enablestring:-enable}-checklst" >&5
6130 # Check whether --enable-checklst or --disable-checklst was given.
6131 if test "${enable_checklst+set}" = set; then
6132 enableval
="$enable_checklst"
6134 if test "$enableval" = yes; then
6135 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
6137 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
6142 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6143 if test "x$LINE" != x
; then
6144 eval "DEFAULT_$LINE"
6149 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6154 eval "$ac_cv_use_checklst"
6155 if test "$no_cache" != 1; then
6156 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6159 if test "$wxUSE_CHECKLST" = yes; then
6160 echo "$ac_t""yes" 1>&6
6162 echo "$ac_t""no" 1>&6
6167 echo $ac_n "checking for --${enablestring:-enable}-choice""... $ac_c" 1>&6
6168 echo "configure:6169: checking for --${enablestring:-enable}-choice" >&5
6170 # Check whether --enable-choice or --disable-choice was given.
6171 if test "${enable_choice+set}" = set; then
6172 enableval
="$enable_choice"
6174 if test "$enableval" = yes; then
6175 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6177 ac_cv_use_choice
='wxUSE_CHOICE=no'
6182 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6183 if test "x$LINE" != x
; then
6184 eval "DEFAULT_$LINE"
6189 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6194 eval "$ac_cv_use_choice"
6195 if test "$no_cache" != 1; then
6196 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6199 if test "$wxUSE_CHOICE" = yes; then
6200 echo "$ac_t""yes" 1>&6
6202 echo "$ac_t""no" 1>&6
6207 echo $ac_n "checking for --${enablestring:-enable}-combobox""... $ac_c" 1>&6
6208 echo "configure:6209: checking for --${enablestring:-enable}-combobox" >&5
6210 # Check whether --enable-combobox or --disable-combobox was given.
6211 if test "${enable_combobox+set}" = set; then
6212 enableval
="$enable_combobox"
6214 if test "$enableval" = yes; then
6215 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6217 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6222 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6223 if test "x$LINE" != x
; then
6224 eval "DEFAULT_$LINE"
6229 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6234 eval "$ac_cv_use_combobox"
6235 if test "$no_cache" != 1; then
6236 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6239 if test "$wxUSE_COMBOBOX" = yes; then
6240 echo "$ac_t""yes" 1>&6
6242 echo "$ac_t""no" 1>&6
6247 echo $ac_n "checking for --${enablestring:-enable}-gauge""... $ac_c" 1>&6
6248 echo "configure:6249: checking for --${enablestring:-enable}-gauge" >&5
6250 # Check whether --enable-gauge or --disable-gauge was given.
6251 if test "${enable_gauge+set}" = set; then
6252 enableval
="$enable_gauge"
6254 if test "$enableval" = yes; then
6255 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6257 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6262 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6263 if test "x$LINE" != x
; then
6264 eval "DEFAULT_$LINE"
6269 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6274 eval "$ac_cv_use_gauge"
6275 if test "$no_cache" != 1; then
6276 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6279 if test "$wxUSE_GAUGE" = yes; then
6280 echo "$ac_t""yes" 1>&6
6282 echo "$ac_t""no" 1>&6
6287 echo $ac_n "checking for --${enablestring:-enable}-grid""... $ac_c" 1>&6
6288 echo "configure:6289: checking for --${enablestring:-enable}-grid" >&5
6290 # Check whether --enable-grid or --disable-grid was given.
6291 if test "${enable_grid+set}" = set; then
6292 enableval
="$enable_grid"
6294 if test "$enableval" = yes; then
6295 ac_cv_use_grid
='wxUSE_GRID=yes'
6297 ac_cv_use_grid
='wxUSE_GRID=no'
6302 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6303 if test "x$LINE" != x
; then
6304 eval "DEFAULT_$LINE"
6309 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6314 eval "$ac_cv_use_grid"
6315 if test "$no_cache" != 1; then
6316 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6319 if test "$wxUSE_GRID" = yes; then
6320 echo "$ac_t""yes" 1>&6
6322 echo "$ac_t""no" 1>&6
6327 echo $ac_n "checking for --${enablestring:-enable}-newgrid""... $ac_c" 1>&6
6328 echo "configure:6329: checking for --${enablestring:-enable}-newgrid" >&5
6330 # Check whether --enable-newgrid or --disable-newgrid was given.
6331 if test "${enable_newgrid+set}" = set; then
6332 enableval
="$enable_newgrid"
6334 if test "$enableval" = yes; then
6335 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6337 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6342 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6343 if test "x$LINE" != x
; then
6344 eval "DEFAULT_$LINE"
6349 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6354 eval "$ac_cv_use_newgrid"
6355 if test "$no_cache" != 1; then
6356 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6359 if test "$wxUSE_NEW_GRID" = yes; then
6360 echo "$ac_t""yes" 1>&6
6362 echo "$ac_t""no" 1>&6
6367 echo $ac_n "checking for --${enablestring:-enable}-imaglist""... $ac_c" 1>&6
6368 echo "configure:6369: checking for --${enablestring:-enable}-imaglist" >&5
6370 # Check whether --enable-imaglist or --disable-imaglist was given.
6371 if test "${enable_imaglist+set}" = set; then
6372 enableval
="$enable_imaglist"
6374 if test "$enableval" = yes; then
6375 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6377 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6382 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6383 if test "x$LINE" != x
; then
6384 eval "DEFAULT_$LINE"
6389 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6394 eval "$ac_cv_use_imaglist"
6395 if test "$no_cache" != 1; then
6396 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6399 if test "$wxUSE_IMAGLIST" = yes; then
6400 echo "$ac_t""yes" 1>&6
6402 echo "$ac_t""no" 1>&6
6407 echo $ac_n "checking for --${enablestring:-enable}-listbox""... $ac_c" 1>&6
6408 echo "configure:6409: checking for --${enablestring:-enable}-listbox" >&5
6410 # Check whether --enable-listbox or --disable-listbox was given.
6411 if test "${enable_listbox+set}" = set; then
6412 enableval
="$enable_listbox"
6414 if test "$enableval" = yes; then
6415 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6417 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6422 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6423 if test "x$LINE" != x
; then
6424 eval "DEFAULT_$LINE"
6429 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6434 eval "$ac_cv_use_listbox"
6435 if test "$no_cache" != 1; then
6436 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6439 if test "$wxUSE_LISTBOX" = yes; then
6440 echo "$ac_t""yes" 1>&6
6442 echo "$ac_t""no" 1>&6
6447 echo $ac_n "checking for --${enablestring:-enable}-listctrl""... $ac_c" 1>&6
6448 echo "configure:6449: checking for --${enablestring:-enable}-listctrl" >&5
6450 # Check whether --enable-listctrl or --disable-listctrl was given.
6451 if test "${enable_listctrl+set}" = set; then
6452 enableval
="$enable_listctrl"
6454 if test "$enableval" = yes; then
6455 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6457 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6462 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6463 if test "x$LINE" != x
; then
6464 eval "DEFAULT_$LINE"
6469 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6474 eval "$ac_cv_use_listctrl"
6475 if test "$no_cache" != 1; then
6476 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6479 if test "$wxUSE_LISTCTRL" = yes; then
6480 echo "$ac_t""yes" 1>&6
6482 echo "$ac_t""no" 1>&6
6487 echo $ac_n "checking for --${enablestring:-enable}-notebook""... $ac_c" 1>&6
6488 echo "configure:6489: checking for --${enablestring:-enable}-notebook" >&5
6490 # Check whether --enable-notebook or --disable-notebook was given.
6491 if test "${enable_notebook+set}" = set; then
6492 enableval
="$enable_notebook"
6494 if test "$enableval" = yes; then
6495 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6497 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6502 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6503 if test "x$LINE" != x
; then
6504 eval "DEFAULT_$LINE"
6509 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6514 eval "$ac_cv_use_notebook"
6515 if test "$no_cache" != 1; then
6516 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6519 if test "$wxUSE_NOTEBOOK" = yes; then
6520 echo "$ac_t""yes" 1>&6
6522 echo "$ac_t""no" 1>&6
6527 echo $ac_n "checking for --${enablestring:-enable}-propsheet""... $ac_c" 1>&6
6528 echo "configure:6529: checking for --${enablestring:-enable}-propsheet" >&5
6530 # Check whether --enable-propsheet or --disable-propsheet was given.
6531 if test "${enable_propsheet+set}" = set; then
6532 enableval
="$enable_propsheet"
6534 if test "$enableval" = yes; then
6535 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6537 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6542 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6543 if test "x$LINE" != x
; then
6544 eval "DEFAULT_$LINE"
6549 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6554 eval "$ac_cv_use_propsheet"
6555 if test "$no_cache" != 1; then
6556 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6559 if test "$wxUSE_PROPSHEET" = yes; then
6560 echo "$ac_t""yes" 1>&6
6562 echo "$ac_t""no" 1>&6
6567 echo $ac_n "checking for --${enablestring:-enable}-radiobox""... $ac_c" 1>&6
6568 echo "configure:6569: checking for --${enablestring:-enable}-radiobox" >&5
6570 # Check whether --enable-radiobox or --disable-radiobox was given.
6571 if test "${enable_radiobox+set}" = set; then
6572 enableval
="$enable_radiobox"
6574 if test "$enableval" = yes; then
6575 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6577 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6582 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6583 if test "x$LINE" != x
; then
6584 eval "DEFAULT_$LINE"
6589 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6594 eval "$ac_cv_use_radiobox"
6595 if test "$no_cache" != 1; then
6596 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6599 if test "$wxUSE_RADIOBOX" = yes; then
6600 echo "$ac_t""yes" 1>&6
6602 echo "$ac_t""no" 1>&6
6607 echo $ac_n "checking for --${enablestring:-enable}-radiobtn""... $ac_c" 1>&6
6608 echo "configure:6609: checking for --${enablestring:-enable}-radiobtn" >&5
6610 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6611 if test "${enable_radiobtn+set}" = set; then
6612 enableval
="$enable_radiobtn"
6614 if test "$enableval" = yes; then
6615 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6617 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6622 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6623 if test "x$LINE" != x
; then
6624 eval "DEFAULT_$LINE"
6629 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6634 eval "$ac_cv_use_radiobtn"
6635 if test "$no_cache" != 1; then
6636 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6639 if test "$wxUSE_RADIOBTN" = yes; then
6640 echo "$ac_t""yes" 1>&6
6642 echo "$ac_t""no" 1>&6
6647 echo $ac_n "checking for --${enablestring:-enable}-sash""... $ac_c" 1>&6
6648 echo "configure:6649: checking for --${enablestring:-enable}-sash" >&5
6650 # Check whether --enable-sash or --disable-sash was given.
6651 if test "${enable_sash+set}" = set; then
6652 enableval
="$enable_sash"
6654 if test "$enableval" = yes; then
6655 ac_cv_use_sash
='wxUSE_SASH=yes'
6657 ac_cv_use_sash
='wxUSE_SASH=no'
6662 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6663 if test "x$LINE" != x
; then
6664 eval "DEFAULT_$LINE"
6669 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6674 eval "$ac_cv_use_sash"
6675 if test "$no_cache" != 1; then
6676 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6679 if test "$wxUSE_SASH" = yes; then
6680 echo "$ac_t""yes" 1>&6
6682 echo "$ac_t""no" 1>&6
6687 echo $ac_n "checking for --${enablestring:-enable}-scrollbar""... $ac_c" 1>&6
6688 echo "configure:6689: checking for --${enablestring:-enable}-scrollbar" >&5
6690 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6691 if test "${enable_scrollbar+set}" = set; then
6692 enableval
="$enable_scrollbar"
6694 if test "$enableval" = yes; then
6695 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6697 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6702 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6703 if test "x$LINE" != x
; then
6704 eval "DEFAULT_$LINE"
6709 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6714 eval "$ac_cv_use_scrollbar"
6715 if test "$no_cache" != 1; then
6716 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6719 if test "$wxUSE_SCROLLBAR" = yes; then
6720 echo "$ac_t""yes" 1>&6
6722 echo "$ac_t""no" 1>&6
6727 echo $ac_n "checking for --${enablestring:-enable}-slider""... $ac_c" 1>&6
6728 echo "configure:6729: checking for --${enablestring:-enable}-slider" >&5
6730 # Check whether --enable-slider or --disable-slider was given.
6731 if test "${enable_slider+set}" = set; then
6732 enableval
="$enable_slider"
6734 if test "$enableval" = yes; then
6735 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6737 ac_cv_use_slider
='wxUSE_SLIDER=no'
6742 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6743 if test "x$LINE" != x
; then
6744 eval "DEFAULT_$LINE"
6749 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6754 eval "$ac_cv_use_slider"
6755 if test "$no_cache" != 1; then
6756 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6759 if test "$wxUSE_SLIDER" = yes; then
6760 echo "$ac_t""yes" 1>&6
6762 echo "$ac_t""no" 1>&6
6767 echo $ac_n "checking for --${enablestring:-enable}-spinbtn""... $ac_c" 1>&6
6768 echo "configure:6769: checking for --${enablestring:-enable}-spinbtn" >&5
6770 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6771 if test "${enable_spinbtn+set}" = set; then
6772 enableval
="$enable_spinbtn"
6774 if test "$enableval" = yes; then
6775 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6777 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6782 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6783 if test "x$LINE" != x
; then
6784 eval "DEFAULT_$LINE"
6789 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6794 eval "$ac_cv_use_spinbtn"
6795 if test "$no_cache" != 1; then
6796 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6799 if test "$wxUSE_SPINBTN" = yes; then
6800 echo "$ac_t""yes" 1>&6
6802 echo "$ac_t""no" 1>&6
6807 echo $ac_n "checking for --${enablestring:-enable}-spinctrl""... $ac_c" 1>&6
6808 echo "configure:6809: checking for --${enablestring:-enable}-spinctrl" >&5
6810 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6811 if test "${enable_spinctrl+set}" = set; then
6812 enableval
="$enable_spinctrl"
6814 if test "$enableval" = yes; then
6815 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6817 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6822 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6823 if test "x$LINE" != x
; then
6824 eval "DEFAULT_$LINE"
6829 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6834 eval "$ac_cv_use_spinctrl"
6835 if test "$no_cache" != 1; then
6836 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6839 if test "$wxUSE_SPINCTRL" = yes; then
6840 echo "$ac_t""yes" 1>&6
6842 echo "$ac_t""no" 1>&6
6847 echo $ac_n "checking for --${enablestring:-enable}-splitter""... $ac_c" 1>&6
6848 echo "configure:6849: checking for --${enablestring:-enable}-splitter" >&5
6850 # Check whether --enable-splitter or --disable-splitter was given.
6851 if test "${enable_splitter+set}" = set; then
6852 enableval
="$enable_splitter"
6854 if test "$enableval" = yes; then
6855 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6857 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6862 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6863 if test "x$LINE" != x
; then
6864 eval "DEFAULT_$LINE"
6869 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6874 eval "$ac_cv_use_splitter"
6875 if test "$no_cache" != 1; then
6876 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6879 if test "$wxUSE_SPLITTER" = yes; then
6880 echo "$ac_t""yes" 1>&6
6882 echo "$ac_t""no" 1>&6
6887 echo $ac_n "checking for --${enablestring:-enable}-statbmp""... $ac_c" 1>&6
6888 echo "configure:6889: checking for --${enablestring:-enable}-statbmp" >&5
6890 # Check whether --enable-statbmp or --disable-statbmp was given.
6891 if test "${enable_statbmp+set}" = set; then
6892 enableval
="$enable_statbmp"
6894 if test "$enableval" = yes; then
6895 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6897 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6902 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6903 if test "x$LINE" != x
; then
6904 eval "DEFAULT_$LINE"
6909 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6914 eval "$ac_cv_use_statbmp"
6915 if test "$no_cache" != 1; then
6916 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6919 if test "$wxUSE_STATBMP" = yes; then
6920 echo "$ac_t""yes" 1>&6
6922 echo "$ac_t""no" 1>&6
6927 echo $ac_n "checking for --${enablestring:-enable}-statbox""... $ac_c" 1>&6
6928 echo "configure:6929: checking for --${enablestring:-enable}-statbox" >&5
6930 # Check whether --enable-statbox or --disable-statbox was given.
6931 if test "${enable_statbox+set}" = set; then
6932 enableval
="$enable_statbox"
6934 if test "$enableval" = yes; then
6935 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6937 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6942 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6943 if test "x$LINE" != x
; then
6944 eval "DEFAULT_$LINE"
6949 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6954 eval "$ac_cv_use_statbox"
6955 if test "$no_cache" != 1; then
6956 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6959 if test "$wxUSE_STATBOX" = yes; then
6960 echo "$ac_t""yes" 1>&6
6962 echo "$ac_t""no" 1>&6
6967 echo $ac_n "checking for --${enablestring:-enable}-statline""... $ac_c" 1>&6
6968 echo "configure:6969: checking for --${enablestring:-enable}-statline" >&5
6970 # Check whether --enable-statline or --disable-statline was given.
6971 if test "${enable_statline+set}" = set; then
6972 enableval
="$enable_statline"
6974 if test "$enableval" = yes; then
6975 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6977 ac_cv_use_statline
='wxUSE_STATLINE=no'
6982 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6983 if test "x$LINE" != x
; then
6984 eval "DEFAULT_$LINE"
6989 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6994 eval "$ac_cv_use_statline"
6995 if test "$no_cache" != 1; then
6996 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6999 if test "$wxUSE_STATLINE" = yes; then
7000 echo "$ac_t""yes" 1>&6
7002 echo "$ac_t""no" 1>&6
7007 echo $ac_n "checking for --${enablestring:-enable}-stattext""... $ac_c" 1>&6
7008 echo "configure:7009: checking for --${enablestring:-enable}-stattext" >&5
7010 # Check whether --enable-stattext or --disable-stattext was given.
7011 if test "${enable_stattext+set}" = set; then
7012 enableval
="$enable_stattext"
7014 if test "$enableval" = yes; then
7015 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
7017 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
7022 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x
; then
7024 eval "DEFAULT_$LINE"
7029 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7034 eval "$ac_cv_use_stattext"
7035 if test "$no_cache" != 1; then
7036 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7039 if test "$wxUSE_STATTEXT" = yes; then
7040 echo "$ac_t""yes" 1>&6
7042 echo "$ac_t""no" 1>&6
7047 echo $ac_n "checking for --${enablestring:-enable}-statusbar""... $ac_c" 1>&6
7048 echo "configure:7049: checking for --${enablestring:-enable}-statusbar" >&5
7050 # Check whether --enable-statusbar or --disable-statusbar was given.
7051 if test "${enable_statusbar+set}" = set; then
7052 enableval
="$enable_statusbar"
7054 if test "$enableval" = yes; then
7055 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
7057 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
7062 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7063 if test "x$LINE" != x
; then
7064 eval "DEFAULT_$LINE"
7069 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7074 eval "$ac_cv_use_statusbar"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7079 if test "$wxUSE_STATUSBAR" = yes; then
7080 echo "$ac_t""yes" 1>&6
7082 echo "$ac_t""no" 1>&6
7087 echo $ac_n "checking for --${enablestring:-enable}-tabdialog""... $ac_c" 1>&6
7088 echo "configure:7089: checking for --${enablestring:-enable}-tabdialog" >&5
7090 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7091 if test "${enable_tabdialog+set}" = set; then
7092 enableval
="$enable_tabdialog"
7094 if test "$enableval" = yes; then
7095 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
7097 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
7102 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7103 if test "x$LINE" != x
; then
7104 eval "DEFAULT_$LINE"
7109 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7114 eval "$ac_cv_use_tabdialog"
7115 if test "$no_cache" != 1; then
7116 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7119 if test "$wxUSE_TABDIALOG" = yes; then
7120 echo "$ac_t""yes" 1>&6
7122 echo "$ac_t""no" 1>&6
7127 echo $ac_n "checking for --${enablestring:-enable}-textctrl""... $ac_c" 1>&6
7128 echo "configure:7129: checking for --${enablestring:-enable}-textctrl" >&5
7130 # Check whether --enable-textctrl or --disable-textctrl was given.
7131 if test "${enable_textctrl+set}" = set; then
7132 enableval
="$enable_textctrl"
7134 if test "$enableval" = yes; then
7135 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
7137 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
7142 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7143 if test "x$LINE" != x
; then
7144 eval "DEFAULT_$LINE"
7149 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7154 eval "$ac_cv_use_textctrl"
7155 if test "$no_cache" != 1; then
7156 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7159 if test "$wxUSE_TEXTCTRL" = yes; then
7160 echo "$ac_t""yes" 1>&6
7162 echo "$ac_t""no" 1>&6
7167 echo $ac_n "checking for --${enablestring:-enable}-togglebtn""... $ac_c" 1>&6
7168 echo "configure:7169: checking for --${enablestring:-enable}-togglebtn" >&5
7170 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7171 if test "${enable_togglebtn+set}" = set; then
7172 enableval
="$enable_togglebtn"
7174 if test "$enableval" = yes; then
7175 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7177 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7182 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7183 if test "x$LINE" != x
; then
7184 eval "DEFAULT_$LINE"
7189 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7194 eval "$ac_cv_use_togglebtn"
7195 if test "$no_cache" != 1; then
7196 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7199 if test "$wxUSE_TOGGLEBTN" = yes; then
7200 echo "$ac_t""yes" 1>&6
7202 echo "$ac_t""no" 1>&6
7207 echo $ac_n "checking for --${enablestring:-enable}-toolbar""... $ac_c" 1>&6
7208 echo "configure:7209: checking for --${enablestring:-enable}-toolbar" >&5
7210 # Check whether --enable-toolbar or --disable-toolbar was given.
7211 if test "${enable_toolbar+set}" = set; then
7212 enableval
="$enable_toolbar"
7214 if test "$enableval" = yes; then
7215 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7217 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7222 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7223 if test "x$LINE" != x
; then
7224 eval "DEFAULT_$LINE"
7229 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7234 eval "$ac_cv_use_toolbar"
7235 if test "$no_cache" != 1; then
7236 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7239 if test "$wxUSE_TOOLBAR" = yes; then
7240 echo "$ac_t""yes" 1>&6
7242 echo "$ac_t""no" 1>&6
7247 echo $ac_n "checking for --${enablestring:-enable}-tbarnative""... $ac_c" 1>&6
7248 echo "configure:7249: checking for --${enablestring:-enable}-tbarnative" >&5
7250 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7251 if test "${enable_tbarnative+set}" = set; then
7252 enableval
="$enable_tbarnative"
7254 if test "$enableval" = yes; then
7255 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7257 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7262 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7263 if test "x$LINE" != x
; then
7264 eval "DEFAULT_$LINE"
7269 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7274 eval "$ac_cv_use_tbarnative"
7275 if test "$no_cache" != 1; then
7276 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7279 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7280 echo "$ac_t""yes" 1>&6
7282 echo "$ac_t""no" 1>&6
7287 echo $ac_n "checking for --${enablestring:-enable}-tbarsmpl""... $ac_c" 1>&6
7288 echo "configure:7289: checking for --${enablestring:-enable}-tbarsmpl" >&5
7290 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7291 if test "${enable_tbarsmpl+set}" = set; then
7292 enableval
="$enable_tbarsmpl"
7294 if test "$enableval" = yes; then
7295 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7297 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7302 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7303 if test "x$LINE" != x
; then
7304 eval "DEFAULT_$LINE"
7309 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7314 eval "$ac_cv_use_tbarsmpl"
7315 if test "$no_cache" != 1; then
7316 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7319 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7320 echo "$ac_t""yes" 1>&6
7322 echo "$ac_t""no" 1>&6
7327 echo $ac_n "checking for --${enablestring:-enable}-treectrl""... $ac_c" 1>&6
7328 echo "configure:7329: checking for --${enablestring:-enable}-treectrl" >&5
7330 # Check whether --enable-treectrl or --disable-treectrl was given.
7331 if test "${enable_treectrl+set}" = set; then
7332 enableval
="$enable_treectrl"
7334 if test "$enableval" = yes; then
7335 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7337 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7342 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7343 if test "x$LINE" != x
; then
7344 eval "DEFAULT_$LINE"
7349 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7354 eval "$ac_cv_use_treectrl"
7355 if test "$no_cache" != 1; then
7356 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7359 if test "$wxUSE_TREECTRL" = yes; then
7360 echo "$ac_t""yes" 1>&6
7362 echo "$ac_t""no" 1>&6
7367 echo $ac_n "checking for --${enablestring:-enable}-tipwindow""... $ac_c" 1>&6
7368 echo "configure:7369: checking for --${enablestring:-enable}-tipwindow" >&5
7370 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7371 if test "${enable_tipwindow+set}" = set; then
7372 enableval
="$enable_tipwindow"
7374 if test "$enableval" = yes; then
7375 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7377 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7382 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7383 if test "x$LINE" != x
; then
7384 eval "DEFAULT_$LINE"
7389 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7394 eval "$ac_cv_use_tipwindow"
7395 if test "$no_cache" != 1; then
7396 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7399 if test "$wxUSE_TIPWINDOW" = yes; then
7400 echo "$ac_t""yes" 1>&6
7402 echo "$ac_t""no" 1>&6
7407 echo $ac_n "checking for --${enablestring:-enable}-popupwin""... $ac_c" 1>&6
7408 echo "configure:7409: checking for --${enablestring:-enable}-popupwin" >&5
7410 # Check whether --enable-popupwin or --disable-popupwin was given.
7411 if test "${enable_popupwin+set}" = set; then
7412 enableval
="$enable_popupwin"
7414 if test "$enableval" = yes; then
7415 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7417 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7422 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7423 if test "x$LINE" != x
; then
7424 eval "DEFAULT_$LINE"
7429 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7434 eval "$ac_cv_use_popupwin"
7435 if test "$no_cache" != 1; then
7436 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7439 if test "$wxUSE_POPUPWIN" = yes; then
7440 echo "$ac_t""yes" 1>&6
7442 echo "$ac_t""no" 1>&6
7449 echo $ac_n "checking for --${enablestring:-enable}-commondlg""... $ac_c" 1>&6
7450 echo "configure:7451: checking for --${enablestring:-enable}-commondlg" >&5
7452 # Check whether --enable-commondlg or --disable-commondlg was given.
7453 if test "${enable_commondlg+set}" = set; then
7454 enableval
="$enable_commondlg"
7456 if test "$enableval" = yes; then
7457 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7459 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7464 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7465 if test "x$LINE" != x
; then
7466 eval "DEFAULT_$LINE"
7471 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7476 eval "$ac_cv_use_commondlg"
7477 if test "$no_cache" != 1; then
7478 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7481 if test "$wxUSE_COMMONDLGS" = yes; then
7482 echo "$ac_t""yes" 1>&6
7484 echo "$ac_t""no" 1>&6
7489 echo $ac_n "checking for --${enablestring:-enable}-choicedlg""... $ac_c" 1>&6
7490 echo "configure:7491: checking for --${enablestring:-enable}-choicedlg" >&5
7492 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7493 if test "${enable_choicedlg+set}" = set; then
7494 enableval
="$enable_choicedlg"
7496 if test "$enableval" = yes; then
7497 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7499 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7504 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7505 if test "x$LINE" != x
; then
7506 eval "DEFAULT_$LINE"
7511 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7516 eval "$ac_cv_use_choicedlg"
7517 if test "$no_cache" != 1; then
7518 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7521 if test "$wxUSE_CHOICEDLG" = yes; then
7522 echo "$ac_t""yes" 1>&6
7524 echo "$ac_t""no" 1>&6
7529 echo $ac_n "checking for --${enablestring:-enable}-coldlg""... $ac_c" 1>&6
7530 echo "configure:7531: checking for --${enablestring:-enable}-coldlg" >&5
7532 # Check whether --enable-coldlg or --disable-coldlg was given.
7533 if test "${enable_coldlg+set}" = set; then
7534 enableval
="$enable_coldlg"
7536 if test "$enableval" = yes; then
7537 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7539 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7544 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7545 if test "x$LINE" != x
; then
7546 eval "DEFAULT_$LINE"
7551 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7556 eval "$ac_cv_use_coldlg"
7557 if test "$no_cache" != 1; then
7558 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7561 if test "$wxUSE_COLOURDLG" = yes; then
7562 echo "$ac_t""yes" 1>&6
7564 echo "$ac_t""no" 1>&6
7569 echo $ac_n "checking for --${enablestring:-enable}-filedlg""... $ac_c" 1>&6
7570 echo "configure:7571: checking for --${enablestring:-enable}-filedlg" >&5
7572 # Check whether --enable-filedlg or --disable-filedlg was given.
7573 if test "${enable_filedlg+set}" = set; then
7574 enableval
="$enable_filedlg"
7576 if test "$enableval" = yes; then
7577 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7579 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7584 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7585 if test "x$LINE" != x
; then
7586 eval "DEFAULT_$LINE"
7591 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7596 eval "$ac_cv_use_filedlg"
7597 if test "$no_cache" != 1; then
7598 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7601 if test "$wxUSE_FILEDLG" = yes; then
7602 echo "$ac_t""yes" 1>&6
7604 echo "$ac_t""no" 1>&6
7609 echo $ac_n "checking for --${enablestring:-enable}-finddlg""... $ac_c" 1>&6
7610 echo "configure:7611: checking for --${enablestring:-enable}-finddlg" >&5
7612 # Check whether --enable-finddlg or --disable-finddlg was given.
7613 if test "${enable_finddlg+set}" = set; then
7614 enableval
="$enable_finddlg"
7616 if test "$enableval" = yes; then
7617 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7619 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7624 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7625 if test "x$LINE" != x
; then
7626 eval "DEFAULT_$LINE"
7631 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7636 eval "$ac_cv_use_finddlg"
7637 if test "$no_cache" != 1; then
7638 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7641 if test "$wxUSE_FINDREPLDLG" = yes; then
7642 echo "$ac_t""yes" 1>&6
7644 echo "$ac_t""no" 1>&6
7649 echo $ac_n "checking for --${enablestring:-enable}-fontdlg""... $ac_c" 1>&6
7650 echo "configure:7651: checking for --${enablestring:-enable}-fontdlg" >&5
7652 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7653 if test "${enable_fontdlg+set}" = set; then
7654 enableval
="$enable_fontdlg"
7656 if test "$enableval" = yes; then
7657 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7659 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7664 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7665 if test "x$LINE" != x
; then
7666 eval "DEFAULT_$LINE"
7671 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7676 eval "$ac_cv_use_fontdlg"
7677 if test "$no_cache" != 1; then
7678 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7681 if test "$wxUSE_FONTDLG" = yes; then
7682 echo "$ac_t""yes" 1>&6
7684 echo "$ac_t""no" 1>&6
7689 echo $ac_n "checking for --${enablestring:-enable}-dirdlg""... $ac_c" 1>&6
7690 echo "configure:7691: checking for --${enablestring:-enable}-dirdlg" >&5
7692 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7693 if test "${enable_dirdlg+set}" = set; then
7694 enableval
="$enable_dirdlg"
7696 if test "$enableval" = yes; then
7697 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7699 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7704 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7705 if test "x$LINE" != x
; then
7706 eval "DEFAULT_$LINE"
7711 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7716 eval "$ac_cv_use_dirdlg"
7717 if test "$no_cache" != 1; then
7718 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7721 if test "$wxUSE_DIRDLG" = yes; then
7722 echo "$ac_t""yes" 1>&6
7724 echo "$ac_t""no" 1>&6
7729 echo $ac_n "checking for --${enablestring:-enable}-msgdlg""... $ac_c" 1>&6
7730 echo "configure:7731: checking for --${enablestring:-enable}-msgdlg" >&5
7732 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7733 if test "${enable_msgdlg+set}" = set; then
7734 enableval
="$enable_msgdlg"
7736 if test "$enableval" = yes; then
7737 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7739 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7744 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7745 if test "x$LINE" != x
; then
7746 eval "DEFAULT_$LINE"
7751 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7756 eval "$ac_cv_use_msgdlg"
7757 if test "$no_cache" != 1; then
7758 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7761 if test "$wxUSE_MSGDLG" = yes; then
7762 echo "$ac_t""yes" 1>&6
7764 echo "$ac_t""no" 1>&6
7769 echo $ac_n "checking for --${enablestring:-enable}-numberdlg""... $ac_c" 1>&6
7770 echo "configure:7771: checking for --${enablestring:-enable}-numberdlg" >&5
7772 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7773 if test "${enable_numberdlg+set}" = set; then
7774 enableval
="$enable_numberdlg"
7776 if test "$enableval" = yes; then
7777 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7779 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7784 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7785 if test "x$LINE" != x
; then
7786 eval "DEFAULT_$LINE"
7791 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7796 eval "$ac_cv_use_numberdlg"
7797 if test "$no_cache" != 1; then
7798 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7801 if test "$wxUSE_NUMBERDLG" = yes; then
7802 echo "$ac_t""yes" 1>&6
7804 echo "$ac_t""no" 1>&6
7809 echo $ac_n "checking for --${enablestring:-enable}-splash""... $ac_c" 1>&6
7810 echo "configure:7811: checking for --${enablestring:-enable}-splash" >&5
7812 # Check whether --enable-splash or --disable-splash was given.
7813 if test "${enable_splash+set}" = set; then
7814 enableval
="$enable_splash"
7816 if test "$enableval" = yes; then
7817 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7819 ac_cv_use_splash
='wxUSE_SPLASH=no'
7824 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7825 if test "x$LINE" != x
; then
7826 eval "DEFAULT_$LINE"
7831 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7836 eval "$ac_cv_use_splash"
7837 if test "$no_cache" != 1; then
7838 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7841 if test "$wxUSE_SPLASH" = yes; then
7842 echo "$ac_t""yes" 1>&6
7844 echo "$ac_t""no" 1>&6
7849 echo $ac_n "checking for --${enablestring:-enable}-textdlg""... $ac_c" 1>&6
7850 echo "configure:7851: checking for --${enablestring:-enable}-textdlg" >&5
7852 # Check whether --enable-textdlg or --disable-textdlg was given.
7853 if test "${enable_textdlg+set}" = set; then
7854 enableval
="$enable_textdlg"
7856 if test "$enableval" = yes; then
7857 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7859 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7864 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7865 if test "x$LINE" != x
; then
7866 eval "DEFAULT_$LINE"
7871 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7876 eval "$ac_cv_use_textdlg"
7877 if test "$no_cache" != 1; then
7878 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7881 if test "$wxUSE_TEXTDLG" = yes; then
7882 echo "$ac_t""yes" 1>&6
7884 echo "$ac_t""no" 1>&6
7889 echo $ac_n "checking for --${enablestring:-enable}-tipdlg""... $ac_c" 1>&6
7890 echo "configure:7891: checking for --${enablestring:-enable}-tipdlg" >&5
7892 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7893 if test "${enable_tipdlg+set}" = set; then
7894 enableval
="$enable_tipdlg"
7896 if test "$enableval" = yes; then
7897 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7899 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7904 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7905 if test "x$LINE" != x
; then
7906 eval "DEFAULT_$LINE"
7911 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7916 eval "$ac_cv_use_tipdlg"
7917 if test "$no_cache" != 1; then
7918 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7921 if test "$wxUSE_STARTUP_TIPS" = yes; then
7922 echo "$ac_t""yes" 1>&6
7924 echo "$ac_t""no" 1>&6
7929 echo $ac_n "checking for --${enablestring:-enable}-progressdlg""... $ac_c" 1>&6
7930 echo "configure:7931: checking for --${enablestring:-enable}-progressdlg" >&5
7932 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7933 if test "${enable_progressdlg+set}" = set; then
7934 enableval
="$enable_progressdlg"
7936 if test "$enableval" = yes; then
7937 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7939 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7944 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7945 if test "x$LINE" != x
; then
7946 eval "DEFAULT_$LINE"
7951 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7956 eval "$ac_cv_use_progressdlg"
7957 if test "$no_cache" != 1; then
7958 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7961 if test "$wxUSE_PROGRESSDLG" = yes; then
7962 echo "$ac_t""yes" 1>&6
7964 echo "$ac_t""no" 1>&6
7969 echo $ac_n "checking for --${enablestring:-enable}-wizarddlg""... $ac_c" 1>&6
7970 echo "configure:7971: checking for --${enablestring:-enable}-wizarddlg" >&5
7972 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7973 if test "${enable_wizarddlg+set}" = set; then
7974 enableval
="$enable_wizarddlg"
7976 if test "$enableval" = yes; then
7977 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7979 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7984 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7985 if test "x$LINE" != x
; then
7986 eval "DEFAULT_$LINE"
7991 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7996 eval "$ac_cv_use_wizarddlg"
7997 if test "$no_cache" != 1; then
7998 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8001 if test "$wxUSE_WIZARDDLG" = yes; then
8002 echo "$ac_t""yes" 1>&6
8004 echo "$ac_t""no" 1>&6
8011 echo $ac_n "checking for --${enablestring:-enable}-menus""... $ac_c" 1>&6
8012 echo "configure:8013: checking for --${enablestring:-enable}-menus" >&5
8014 # Check whether --enable-menus or --disable-menus was given.
8015 if test "${enable_menus+set}" = set; then
8016 enableval
="$enable_menus"
8018 if test "$enableval" = yes; then
8019 ac_cv_use_menus
='wxUSE_MENUS=yes'
8021 ac_cv_use_menus
='wxUSE_MENUS=no'
8026 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8027 if test "x$LINE" != x
; then
8028 eval "DEFAULT_$LINE"
8033 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8038 eval "$ac_cv_use_menus"
8039 if test "$no_cache" != 1; then
8040 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8043 if test "$wxUSE_MENUS" = yes; then
8044 echo "$ac_t""yes" 1>&6
8046 echo "$ac_t""no" 1>&6
8051 echo $ac_n "checking for --${enablestring:-enable}-miniframe""... $ac_c" 1>&6
8052 echo "configure:8053: checking for --${enablestring:-enable}-miniframe" >&5
8054 # Check whether --enable-miniframe or --disable-miniframe was given.
8055 if test "${enable_miniframe+set}" = set; then
8056 enableval
="$enable_miniframe"
8058 if test "$enableval" = yes; then
8059 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
8061 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
8066 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8067 if test "x$LINE" != x
; then
8068 eval "DEFAULT_$LINE"
8073 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8078 eval "$ac_cv_use_miniframe"
8079 if test "$no_cache" != 1; then
8080 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8083 if test "$wxUSE_MINIFRAME" = yes; then
8084 echo "$ac_t""yes" 1>&6
8086 echo "$ac_t""no" 1>&6
8091 echo $ac_n "checking for --${enablestring:-enable}-tooltips""... $ac_c" 1>&6
8092 echo "configure:8093: checking for --${enablestring:-enable}-tooltips" >&5
8094 # Check whether --enable-tooltips or --disable-tooltips was given.
8095 if test "${enable_tooltips+set}" = set; then
8096 enableval
="$enable_tooltips"
8098 if test "$enableval" = yes; then
8099 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
8101 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
8106 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8107 if test "x$LINE" != x
; then
8108 eval "DEFAULT_$LINE"
8113 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8118 eval "$ac_cv_use_tooltips"
8119 if test "$no_cache" != 1; then
8120 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8123 if test "$wxUSE_TOOLTIPS" = yes; then
8124 echo "$ac_t""yes" 1>&6
8126 echo "$ac_t""no" 1>&6
8131 echo $ac_n "checking for --${enablestring:-enable}-splines""... $ac_c" 1>&6
8132 echo "configure:8133: checking for --${enablestring:-enable}-splines" >&5
8134 # Check whether --enable-splines or --disable-splines was given.
8135 if test "${enable_splines+set}" = set; then
8136 enableval
="$enable_splines"
8138 if test "$enableval" = yes; then
8139 ac_cv_use_splines
='wxUSE_SPLINES=yes'
8141 ac_cv_use_splines
='wxUSE_SPLINES=no'
8146 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8147 if test "x$LINE" != x
; then
8148 eval "DEFAULT_$LINE"
8153 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8158 eval "$ac_cv_use_splines"
8159 if test "$no_cache" != 1; then
8160 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8163 if test "$wxUSE_SPLINES" = yes; then
8164 echo "$ac_t""yes" 1>&6
8166 echo "$ac_t""no" 1>&6
8171 echo $ac_n "checking for --${enablestring:-enable}-validators""... $ac_c" 1>&6
8172 echo "configure:8173: checking for --${enablestring:-enable}-validators" >&5
8174 # Check whether --enable-validators or --disable-validators was given.
8175 if test "${enable_validators+set}" = set; then
8176 enableval
="$enable_validators"
8178 if test "$enableval" = yes; then
8179 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
8181 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
8186 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8187 if test "x$LINE" != x
; then
8188 eval "DEFAULT_$LINE"
8193 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8198 eval "$ac_cv_use_validators"
8199 if test "$no_cache" != 1; then
8200 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8203 if test "$wxUSE_VALIDATORS" = yes; then
8204 echo "$ac_t""yes" 1>&6
8206 echo "$ac_t""no" 1>&6
8211 echo $ac_n "checking for --${enablestring:-enable}-busyinfo""... $ac_c" 1>&6
8212 echo "configure:8213: checking for --${enablestring:-enable}-busyinfo" >&5
8214 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8215 if test "${enable_busyinfo+set}" = set; then
8216 enableval
="$enable_busyinfo"
8218 if test "$enableval" = yes; then
8219 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8221 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8226 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8227 if test "x$LINE" != x
; then
8228 eval "DEFAULT_$LINE"
8233 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8238 eval "$ac_cv_use_busyinfo"
8239 if test "$no_cache" != 1; then
8240 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8243 if test "$wxUSE_BUSYINFO" = yes; then
8244 echo "$ac_t""yes" 1>&6
8246 echo "$ac_t""no" 1>&6
8251 echo $ac_n "checking for --${enablestring:-enable}-joystick""... $ac_c" 1>&6
8252 echo "configure:8253: checking for --${enablestring:-enable}-joystick" >&5
8254 # Check whether --enable-joystick or --disable-joystick was given.
8255 if test "${enable_joystick+set}" = set; then
8256 enableval
="$enable_joystick"
8258 if test "$enableval" = yes; then
8259 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8261 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8266 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8267 if test "x$LINE" != x
; then
8268 eval "DEFAULT_$LINE"
8273 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8278 eval "$ac_cv_use_joystick"
8279 if test "$no_cache" != 1; then
8280 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8283 if test "$wxUSE_JOYSTICK" = yes; then
8284 echo "$ac_t""yes" 1>&6
8286 echo "$ac_t""no" 1>&6
8291 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
8292 echo "configure:8293: checking for --${enablestring:-enable}-metafile" >&5
8294 # Check whether --enable-metafile or --disable-metafile was given.
8295 if test "${enable_metafile+set}" = set; then
8296 enableval
="$enable_metafile"
8298 if test "$enableval" = yes; then
8299 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8301 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8306 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8307 if test "x$LINE" != x
; then
8308 eval "DEFAULT_$LINE"
8313 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8318 eval "$ac_cv_use_metafile"
8319 if test "$no_cache" != 1; then
8320 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8323 if test "$wxUSE_METAFILE" = yes; then
8324 echo "$ac_t""yes" 1>&6
8326 echo "$ac_t""no" 1>&6
8331 echo $ac_n "checking for --${enablestring:-enable}-dragimage""... $ac_c" 1>&6
8332 echo "configure:8333: checking for --${enablestring:-enable}-dragimage" >&5
8334 # Check whether --enable-dragimage or --disable-dragimage was given.
8335 if test "${enable_dragimage+set}" = set; then
8336 enableval
="$enable_dragimage"
8338 if test "$enableval" = yes; then
8339 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8341 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8346 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8347 if test "x$LINE" != x
; then
8348 eval "DEFAULT_$LINE"
8353 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8358 eval "$ac_cv_use_dragimage"
8359 if test "$no_cache" != 1; then
8360 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8363 if test "$wxUSE_DRAGIMAGE" = yes; then
8364 echo "$ac_t""yes" 1>&6
8366 echo "$ac_t""no" 1>&6
8373 echo $ac_n "checking for --${enablestring:-enable}-palette""... $ac_c" 1>&6
8374 echo "configure:8375: checking for --${enablestring:-enable}-palette" >&5
8376 # Check whether --enable-palette or --disable-palette was given.
8377 if test "${enable_palette+set}" = set; then
8378 enableval
="$enable_palette"
8380 if test "$enableval" = yes; then
8381 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8383 ac_cv_use_palette
='wxUSE_PALETTE=no'
8388 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8389 if test "x$LINE" != x
; then
8390 eval "DEFAULT_$LINE"
8395 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8400 eval "$ac_cv_use_palette"
8401 if test "$no_cache" != 1; then
8402 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8405 if test "$wxUSE_PALETTE" = yes; then
8406 echo "$ac_t""yes" 1>&6
8408 echo "$ac_t""no" 1>&6
8413 echo $ac_n "checking for --${enablestring:-enable}-image""... $ac_c" 1>&6
8414 echo "configure:8415: checking for --${enablestring:-enable}-image" >&5
8416 # Check whether --enable-image or --disable-image was given.
8417 if test "${enable_image+set}" = set; then
8418 enableval
="$enable_image"
8420 if test "$enableval" = yes; then
8421 ac_cv_use_image
='wxUSE_IMAGE=yes'
8423 ac_cv_use_image
='wxUSE_IMAGE=no'
8428 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8429 if test "x$LINE" != x
; then
8430 eval "DEFAULT_$LINE"
8435 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8440 eval "$ac_cv_use_image"
8441 if test "$no_cache" != 1; then
8442 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8445 if test "$wxUSE_IMAGE" = yes; then
8446 echo "$ac_t""yes" 1>&6
8448 echo "$ac_t""no" 1>&6
8453 echo $ac_n "checking for --${enablestring:-enable}-gif""... $ac_c" 1>&6
8454 echo "configure:8455: checking for --${enablestring:-enable}-gif" >&5
8456 # Check whether --enable-gif or --disable-gif was given.
8457 if test "${enable_gif+set}" = set; then
8458 enableval
="$enable_gif"
8460 if test "$enableval" = yes; then
8461 ac_cv_use_gif
='wxUSE_GIF=yes'
8463 ac_cv_use_gif
='wxUSE_GIF=no'
8468 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8469 if test "x$LINE" != x
; then
8470 eval "DEFAULT_$LINE"
8475 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8480 eval "$ac_cv_use_gif"
8481 if test "$no_cache" != 1; then
8482 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8485 if test "$wxUSE_GIF" = yes; then
8486 echo "$ac_t""yes" 1>&6
8488 echo "$ac_t""no" 1>&6
8493 echo $ac_n "checking for --${enablestring:-enable}-pcx""... $ac_c" 1>&6
8494 echo "configure:8495: checking for --${enablestring:-enable}-pcx" >&5
8496 # Check whether --enable-pcx or --disable-pcx was given.
8497 if test "${enable_pcx+set}" = set; then
8498 enableval
="$enable_pcx"
8500 if test "$enableval" = yes; then
8501 ac_cv_use_pcx
='wxUSE_PCX=yes'
8503 ac_cv_use_pcx
='wxUSE_PCX=no'
8508 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8509 if test "x$LINE" != x
; then
8510 eval "DEFAULT_$LINE"
8515 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8520 eval "$ac_cv_use_pcx"
8521 if test "$no_cache" != 1; then
8522 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8525 if test "$wxUSE_PCX" = yes; then
8526 echo "$ac_t""yes" 1>&6
8528 echo "$ac_t""no" 1>&6
8533 echo $ac_n "checking for --${enablestring:-enable}-iff""... $ac_c" 1>&6
8534 echo "configure:8535: checking for --${enablestring:-enable}-iff" >&5
8536 # Check whether --enable-iff or --disable-iff was given.
8537 if test "${enable_iff+set}" = set; then
8538 enableval
="$enable_iff"
8540 if test "$enableval" = yes; then
8541 ac_cv_use_iff
='wxUSE_IFF=yes'
8543 ac_cv_use_iff
='wxUSE_IFF=no'
8548 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8549 if test "x$LINE" != x
; then
8550 eval "DEFAULT_$LINE"
8555 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8560 eval "$ac_cv_use_iff"
8561 if test "$no_cache" != 1; then
8562 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8565 if test "$wxUSE_IFF" = yes; then
8566 echo "$ac_t""yes" 1>&6
8568 echo "$ac_t""no" 1>&6
8573 echo $ac_n "checking for --${enablestring:-enable}-pnm""... $ac_c" 1>&6
8574 echo "configure:8575: checking for --${enablestring:-enable}-pnm" >&5
8576 # Check whether --enable-pnm or --disable-pnm was given.
8577 if test "${enable_pnm+set}" = set; then
8578 enableval
="$enable_pnm"
8580 if test "$enableval" = yes; then
8581 ac_cv_use_pnm
='wxUSE_PNM=yes'
8583 ac_cv_use_pnm
='wxUSE_PNM=no'
8588 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8589 if test "x$LINE" != x
; then
8590 eval "DEFAULT_$LINE"
8595 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8600 eval "$ac_cv_use_pnm"
8601 if test "$no_cache" != 1; then
8602 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8605 if test "$wxUSE_PNM" = yes; then
8606 echo "$ac_t""yes" 1>&6
8608 echo "$ac_t""no" 1>&6
8613 echo $ac_n "checking for --${enablestring:-enable}-xpm""... $ac_c" 1>&6
8614 echo "configure:8615: checking for --${enablestring:-enable}-xpm" >&5
8616 # Check whether --enable-xpm or --disable-xpm was given.
8617 if test "${enable_xpm+set}" = set; then
8618 enableval
="$enable_xpm"
8620 if test "$enableval" = yes; then
8621 ac_cv_use_xpm
='wxUSE_XPM=yes'
8623 ac_cv_use_xpm
='wxUSE_XPM=no'
8628 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8629 if test "x$LINE" != x
; then
8630 eval "DEFAULT_$LINE"
8635 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8640 eval "$ac_cv_use_xpm"
8641 if test "$no_cache" != 1; then
8642 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8645 if test "$wxUSE_XPM" = yes; then
8646 echo "$ac_t""yes" 1>&6
8648 echo "$ac_t""no" 1>&6
8653 echo $ac_n "checking for --${enablestring:-enable}-ico_cur""... $ac_c" 1>&6
8654 echo "configure:8655: checking for --${enablestring:-enable}-ico_cur" >&5
8656 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8657 if test "${enable_ico_cur+set}" = set; then
8658 enableval
="$enable_ico_cur"
8660 if test "$enableval" = yes; then
8661 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8663 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8668 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8669 if test "x$LINE" != x
; then
8670 eval "DEFAULT_$LINE"
8675 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8680 eval "$ac_cv_use_ico_cur"
8681 if test "$no_cache" != 1; then
8682 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8685 if test "$wxUSE_ICO_CUR" = yes; then
8686 echo "$ac_t""yes" 1>&6
8688 echo "$ac_t""no" 1>&6
8695 *-pc-os2_emx | *-pc-os2-emx )
8707 echo "saving argument cache $wx_arg_cache_file"
8708 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8712 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8713 echo "configure:8714: checking for toolkit" >&5
8715 # In Wine, we need to default to MSW, not GTK or MOTIF
8716 if test "$wxUSE_WINE" = "yes"; then
8717 DEFAULT_DEFAULT_wxUSE_GTK
=0
8718 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
8719 DEFAULT_DEFAULT_wxUSE_MSW
=1
8722 if test "$wxUSE_GUI" = "yes"; then
8724 if test "$USE_BEOS" = 1; then
8725 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8728 if test "$TOOLKIT_GIVEN" = 1; then
8729 for toolkit
in `echo $ALL_TOOLKITS`; do
8731 eval "value=\$${var}"
8732 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8735 for toolkit
in `echo $ALL_TOOLKITS`; do
8736 if test "$has_toolkit_in_cache" != 1; then
8737 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8739 var
=DEFAULT_wxUSE_
$toolkit
8741 eval "wxUSE_$toolkit=\$${var}"
8745 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8746 + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8749 *-pc-os2_emx | *-pc-os2-emx )
8750 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8753 case "$NUM_TOOLKITS" in
8757 { echo "configure: error: Please specify a toolkit -- cannot determine the default for ${host}" 1>&2; exit 1; }
8760 { echo "configure: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" 1>&2; exit 1; }
8763 for toolkit
in `echo $ALL_TOOLKITS`; do
8765 eval "value=\$${var}"
8766 if test "x$value" != x
; then
8767 cache_var
=CACHE_
$toolkit
8768 eval "cache=\$${cache_var}"
8769 if test "$cache" = 1; then
8770 echo "$var=$value" >> ${wx_arg_cache_file}
8772 if test "$value" = 1; then
8773 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8774 echo "$ac_t""$toolkit_echo" 1>&6
8779 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8786 if test "$wxUSE_MSW" = 1 ; then
8797 if test "$wxUSE_WINE" = "yes"; then
8804 if test "$wants_win32" = 1 ; then
8807 cat >> confdefs.h
<<\EOF
8811 cat >> confdefs.h
<<\EOF
8815 cat >> confdefs.h
<<\EOF
8816 #define __WINDOWS__ 1
8819 cat >> confdefs.h
<<\EOF
8820 #define __GNUWIN32__ 1
8823 cat >> confdefs.h
<<\EOF
8827 cat >> confdefs.h
<<\EOF
8828 #define WINVER 0x0400
8832 if test "$doesnt_want_win32" = 1 ; then
8837 if test "$USE_UNIX" = 1 ; then
8839 cat >> confdefs.h
<<\EOF
8846 cat > confcache
<<\EOF
8847 # This file is a shell script that caches the results of configure
8848 # tests run on this system so they can be shared between configure
8849 # scripts and configure runs. It is not useful on other systems.
8850 # If it contains results you don't want to keep, you may remove or edit it.
8852 # By default, configure uses ./config.cache as the cache file,
8853 # creating it if it does not exist already. You can give configure
8854 # the --cache-file=FILE option to use a different cache file; that is
8855 # what configure does when it calls configure scripts in
8856 # subdirectories, so they share the cache.
8857 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8858 # config.status only pays attention to the cache file if you give it the
8859 # --recheck option to rerun configure.
8862 # The following way of writing the cache mishandles newlines in values,
8863 # but we know of no workaround that is simple, portable, and efficient.
8864 # So, don't put newlines in cache variables' values.
8865 # Ultrix sh set writes to stderr and can't be redirected directly,
8866 # and sets the high bit in the cache file unless we assign to the vars.
8868 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8870 # `set' does not quote correctly, so add quotes (double-quote substitution
8871 # turns \\\\ into \\, and sed turns \\ into \).
8873 -e "s/'/'\\\\''/g" \
8874 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8877 # `set' quotes correctly as required by POSIX, so do not add quotes.
8878 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8881 if cmp -s $cache_file confcache
; then
8884 if test -w $cache_file; then
8885 echo "updating cache $cache_file"
8886 cat confcache
> $cache_file
8888 echo "not updating unwritable cache $cache_file"
8894 if test "$build" != "$host" ; then
8895 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8899 RANLIB
=$host_alias-ranlib
8900 DLLTOOL
=$host_alias-dlltool
8901 RESCOMP
=$host_alias-windres
8904 STRIP
=$host_alias-strip
8906 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8911 # Extract the first word of "gcc", so it can be a program name with args.
8912 set dummy gcc
; ac_word
=$2
8913 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8914 echo "configure:8915: checking for $ac_word" >&5
8915 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8916 echo $ac_n "(cached) $ac_c" 1>&6
8918 if test -n "$CC"; then
8919 ac_cv_prog_CC
="$CC" # Let the user override the test.
8921 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8923 for ac_dir
in $ac_dummy; do
8924 test -z "$ac_dir" && ac_dir
=.
8925 if test -f $ac_dir/$ac_word; then
8934 if test -n "$CC"; then
8935 echo "$ac_t""$CC" 1>&6
8937 echo "$ac_t""no" 1>&6
8940 if test -z "$CC"; then
8941 # Extract the first word of "cc", so it can be a program name with args.
8942 set dummy cc
; ac_word
=$2
8943 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8944 echo "configure:8945: checking for $ac_word" >&5
8945 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8946 echo $ac_n "(cached) $ac_c" 1>&6
8948 if test -n "$CC"; then
8949 ac_cv_prog_CC
="$CC" # Let the user override the test.
8951 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8954 for ac_dir
in $ac_dummy; do
8955 test -z "$ac_dir" && ac_dir
=.
8956 if test -f $ac_dir/$ac_word; then
8957 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8958 ac_prog_rejected
=yes
8966 if test $ac_prog_rejected = yes; then
8967 # We found a bogon in the path, so make sure we never use it.
8968 set dummy
$ac_cv_prog_CC
8970 if test $# -gt 0; then
8971 # We chose a different compiler from the bogus one.
8972 # However, it has the same basename, so the bogon will be chosen
8973 # first if we set CC to just the basename; use the full file name.
8975 set dummy
"$ac_dir/$ac_word" "$@"
8983 if test -n "$CC"; then
8984 echo "$ac_t""$CC" 1>&6
8986 echo "$ac_t""no" 1>&6
8989 if test -z "$CC"; then
8990 case "`uname -s`" in
8992 # Extract the first word of "cl", so it can be a program name with args.
8993 set dummy cl
; ac_word
=$2
8994 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8995 echo "configure:8996: checking for $ac_word" >&5
8996 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8997 echo $ac_n "(cached) $ac_c" 1>&6
8999 if test -n "$CC"; then
9000 ac_cv_prog_CC
="$CC" # Let the user override the test.
9002 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9004 for ac_dir
in $ac_dummy; do
9005 test -z "$ac_dir" && ac_dir
=.
9006 if test -f $ac_dir/$ac_word; then
9015 if test -n "$CC"; then
9016 echo "$ac_t""$CC" 1>&6
9018 echo "$ac_t""no" 1>&6
9023 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
9026 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9027 echo "configure:9028: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
9030 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9031 ac_cpp
='$CPP $CPPFLAGS'
9032 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9033 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9034 cross_compiling
=$ac_cv_prog_cc_cross
9036 cat > conftest.
$ac_ext << EOF
9038 #line 9039 "configure"
9039 #include "confdefs.h"
9043 if { (eval echo configure
:9044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9044 ac_cv_prog_cc_works
=yes
9045 # If we can't run a trivial program, we are probably using a cross compiler.
9046 if (.
/conftest
; exit) 2>/dev
/null
; then
9047 ac_cv_prog_cc_cross
=no
9049 ac_cv_prog_cc_cross
=yes
9052 echo "configure: failed program was:" >&5
9053 cat conftest.
$ac_ext >&5
9054 ac_cv_prog_cc_works
=no
9058 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9059 ac_cpp
='$CPP $CPPFLAGS'
9060 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9061 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9062 cross_compiling
=$ac_cv_prog_cc_cross
9064 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
9065 if test $ac_cv_prog_cc_works = no
; then
9066 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
9068 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9069 echo "configure:9070: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
9070 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
9071 cross_compiling
=$ac_cv_prog_cc_cross
9073 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
9074 echo "configure:9075: checking whether we are using GNU C" >&5
9075 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
9076 echo $ac_n "(cached) $ac_c" 1>&6
9078 cat > conftest.c
<<EOF
9083 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:9084: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9090 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
9092 if test $ac_cv_prog_gcc = yes; then
9098 ac_test_CFLAGS
="${CFLAGS+set}"
9099 ac_save_CFLAGS
="$CFLAGS"
9101 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
9102 echo "configure:9103: checking whether ${CC-cc} accepts -g" >&5
9103 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
9104 echo $ac_n "(cached) $ac_c" 1>&6
9106 echo 'void f(){}' > conftest.c
9107 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
9116 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
9117 if test "$ac_test_CFLAGS" = set; then
9118 CFLAGS
="$ac_save_CFLAGS"
9119 elif test $ac_cv_prog_cc_g = yes; then
9120 if test "$GCC" = yes; then
9126 if test "$GCC" = yes; then
9134 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
9135 echo "configure:9136: checking how to run the C preprocessor" >&5
9136 # On Suns, sometimes $CPP names a directory.
9137 if test -n "$CPP" && test -d "$CPP"; then
9140 if test -z "$CPP"; then
9141 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
9142 echo $ac_n "(cached) $ac_c" 1>&6
9144 # This must be in double quotes, not single quotes, because CPP may get
9145 # substituted into the Makefile and "${CC-cc}" will confuse make.
9147 # On the NeXT, cc -E runs the code through the compiler's parser,
9148 # not just through cpp.
9149 cat > conftest.
$ac_ext <<EOF
9150 #line 9151 "configure"
9151 #include "confdefs.h"
9155 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9156 { (eval echo configure
:9157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9157 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9158 if test -z "$ac_err"; then
9162 echo "configure: failed program was:" >&5
9163 cat conftest.
$ac_ext >&5
9165 CPP
="${CC-cc} -E -traditional-cpp"
9166 cat > conftest.
$ac_ext <<EOF
9167 #line 9168 "configure"
9168 #include "confdefs.h"
9172 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9173 { (eval echo configure
:9174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9174 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9175 if test -z "$ac_err"; then
9179 echo "configure: failed program was:" >&5
9180 cat conftest.
$ac_ext >&5
9182 CPP
="${CC-cc} -nologo -E"
9183 cat > conftest.
$ac_ext <<EOF
9184 #line 9185 "configure"
9185 #include "confdefs.h"
9189 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9190 { (eval echo configure
:9191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9191 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9192 if test -z "$ac_err"; then
9196 echo "configure: failed program was:" >&5
9197 cat conftest.
$ac_ext >&5
9206 ac_cv_prog_CPP
="$CPP"
9208 CPP
="$ac_cv_prog_CPP"
9210 ac_cv_prog_CPP
="$CPP"
9212 echo "$ac_t""$CPP" 1>&6
9214 if test $ac_cv_prog_gcc = yes; then
9215 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
9216 echo "configure:9217: checking whether ${CC-cc} needs -traditional" >&5
9217 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
9218 echo $ac_n "(cached) $ac_c" 1>&6
9220 ac_pattern
="Autoconf.*'x'"
9221 cat > conftest.
$ac_ext <<EOF
9222 #line 9223 "configure"
9223 #include "confdefs.h"
9227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9228 egrep "$ac_pattern" >/dev
/null
2>&1; then
9230 ac_cv_prog_gcc_traditional
=yes
9233 ac_cv_prog_gcc_traditional
=no
9238 if test $ac_cv_prog_gcc_traditional = no
; then
9239 cat > conftest.
$ac_ext <<EOF
9240 #line 9241 "configure"
9241 #include "confdefs.h"
9245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9246 egrep "$ac_pattern" >/dev
/null
2>&1; then
9248 ac_cv_prog_gcc_traditional
=yes
9255 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
9256 if test $ac_cv_prog_gcc_traditional = yes; then
9257 CC
="$CC -traditional"
9264 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9265 ac_cpp
='$CXXCPP $CPPFLAGS'
9266 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9267 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9268 cross_compiling
=$ac_cv_prog_cxx_cross
9271 CXXFLAGS
=${CXXFLAGS:=}
9272 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
9274 # Extract the first word of "$ac_prog", so it can be a program name with args.
9275 set dummy
$ac_prog; ac_word
=$2
9276 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9277 echo "configure:9278: checking for $ac_word" >&5
9278 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
9279 echo $ac_n "(cached) $ac_c" 1>&6
9281 if test -n "$CXX"; then
9282 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9284 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9286 for ac_dir
in $ac_dummy; do
9287 test -z "$ac_dir" && ac_dir
=.
9288 if test -f $ac_dir/$ac_word; then
9289 ac_cv_prog_CXX
="$ac_prog"
9296 CXX
="$ac_cv_prog_CXX"
9297 if test -n "$CXX"; then
9298 echo "$ac_t""$CXX" 1>&6
9300 echo "$ac_t""no" 1>&6
9303 test -n "$CXX" && break
9305 test -n "$CXX" || CXX
="gcc"
9308 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9309 echo "configure:9310: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9312 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9313 ac_cpp
='$CXXCPP $CPPFLAGS'
9314 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9315 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9316 cross_compiling
=$ac_cv_prog_cxx_cross
9318 cat > conftest.
$ac_ext << EOF
9320 #line 9321 "configure"
9321 #include "confdefs.h"
9323 int main(){return(0);}
9325 if { (eval echo configure
:9326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9326 ac_cv_prog_cxx_works
=yes
9327 # If we can't run a trivial program, we are probably using a cross compiler.
9328 if (.
/conftest
; exit) 2>/dev
/null
; then
9329 ac_cv_prog_cxx_cross
=no
9331 ac_cv_prog_cxx_cross
=yes
9334 echo "configure: failed program was:" >&5
9335 cat conftest.
$ac_ext >&5
9336 ac_cv_prog_cxx_works
=no
9340 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9341 ac_cpp
='$CXXCPP $CPPFLAGS'
9342 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9343 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9344 cross_compiling
=$ac_cv_prog_cxx_cross
9346 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9347 if test $ac_cv_prog_cxx_works = no
; then
9348 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9350 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9351 echo "configure:9352: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9352 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9353 cross_compiling
=$ac_cv_prog_cxx_cross
9355 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9356 echo "configure:9357: checking whether we are using GNU C++" >&5
9357 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9358 echo $ac_n "(cached) $ac_c" 1>&6
9360 cat > conftest.C
<<EOF
9365 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9372 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9374 if test $ac_cv_prog_gxx = yes; then
9380 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9381 ac_save_CXXFLAGS
="$CXXFLAGS"
9383 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9384 echo "configure:9385: checking whether ${CXX-g++} accepts -g" >&5
9385 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9386 echo $ac_n "(cached) $ac_c" 1>&6
9388 echo 'void f(){}' > conftest.cc
9389 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9390 ac_cv_prog_cxx_g
=yes
9398 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9399 if test "$ac_test_CXXFLAGS" = set; then
9400 CXXFLAGS
="$ac_save_CXXFLAGS"
9401 elif test $ac_cv_prog_cxx_g = yes; then
9402 if test "$GXX" = yes; then
9408 if test "$GXX" = yes; then
9417 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9418 ac_cpp
='$CPP $CPPFLAGS'
9419 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9420 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9421 cross_compiling
=$ac_cv_prog_cc_cross
9424 # Extract the first word of "ranlib", so it can be a program name with args.
9425 set dummy ranlib
; ac_word
=$2
9426 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9427 echo "configure:9428: checking for $ac_word" >&5
9428 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9429 echo $ac_n "(cached) $ac_c" 1>&6
9431 if test -n "$RANLIB"; then
9432 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9434 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9436 for ac_dir
in $ac_dummy; do
9437 test -z "$ac_dir" && ac_dir
=.
9438 if test -f $ac_dir/$ac_word; then
9439 ac_cv_prog_RANLIB
="ranlib"
9444 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9447 RANLIB
="$ac_cv_prog_RANLIB"
9448 if test -n "$RANLIB"; then
9449 echo "$ac_t""$RANLIB" 1>&6
9451 echo "$ac_t""no" 1>&6
9455 # Extract the first word of "ar", so it can be a program name with args.
9456 set dummy
ar; ac_word
=$2
9457 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9458 echo "configure:9459: checking for $ac_word" >&5
9459 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9460 echo $ac_n "(cached) $ac_c" 1>&6
9462 if test -n "$AR"; then
9463 ac_cv_prog_AR
="$AR" # Let the user override the test.
9465 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9467 for ac_dir
in $ac_dummy; do
9468 test -z "$ac_dir" && ac_dir
=.
9469 if test -f $ac_dir/$ac_word; then
9475 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9479 if test -n "$AR"; then
9480 echo "$ac_t""$AR" 1>&6
9482 echo "$ac_t""no" 1>&6
9486 # Find a good install program. We prefer a C program (faster),
9487 # so one script is as good as another. But avoid the broken or
9488 # incompatible versions:
9489 # SysV /etc/install, /usr/sbin/install
9490 # SunOS /usr/etc/install
9491 # IRIX /sbin/install
9493 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9494 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9495 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9496 # ./install, which can be erroneously created by make from ./install.sh.
9497 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9498 echo "configure:9499: checking for a BSD compatible install" >&5
9499 if test -z "$INSTALL"; then
9500 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9501 echo $ac_n "(cached) $ac_c" 1>&6
9503 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9504 for ac_dir
in $PATH; do
9505 # Account for people who put trailing slashes in PATH elements.
9507 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9509 # OSF1 and SCO ODT 3.0 have their own names for install.
9510 # Don't use installbsd from OSF since it installs stuff as root
9512 for ac_prog
in ginstall scoinst
install; do
9513 if test -f $ac_dir/$ac_prog; then
9514 if test $ac_prog = install &&
9515 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9516 # AIX install. It has an incompatible calling convention.
9519 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9530 if test "${ac_cv_path_install+set}" = set; then
9531 INSTALL
="$ac_cv_path_install"
9533 # As a last resort, use the slow shell script. We don't cache a
9534 # path for INSTALL within a source directory, because that will
9535 # break other packages using the cache if that directory is
9536 # removed, or if the path is relative.
9537 INSTALL
="$ac_install_sh"
9540 echo "$ac_t""$INSTALL" 1>&6
9542 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9543 # It thinks the first close brace ends the variable substitution.
9544 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9546 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9548 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9555 INSTALL
=`pwd`/${INSTALL} ;;
9562 INSTALL_PROGRAM
="cp -fp"
9563 INSTALL_DATA
="cp -fp"
9569 # Extract the first word of "strip", so it can be a program name with args.
9570 set dummy strip
; ac_word
=$2
9571 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9572 echo "configure:9573: checking for $ac_word" >&5
9573 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9574 echo $ac_n "(cached) $ac_c" 1>&6
9576 if test -n "$STRIP"; then
9577 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9579 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9581 for ac_dir
in $ac_dummy; do
9582 test -z "$ac_dir" && ac_dir
=.
9583 if test -f $ac_dir/$ac_word; then
9584 ac_cv_prog_STRIP
="strip"
9589 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9592 STRIP
="$ac_cv_prog_STRIP"
9593 if test -n "$STRIP"; then
9594 echo "$ac_t""$STRIP" 1>&6
9596 echo "$ac_t""no" 1>&6
9600 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9601 echo "configure:9602: checking if make is GNU make" >&5
9602 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9603 echo $ac_n "(cached) $ac_c" 1>&6
9606 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9607 egrep -s GNU
> /dev
/null
); then
9608 wx_cv_prog_makeisgnu
="yes"
9610 wx_cv_prog_makeisgnu
="no"
9615 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9617 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9625 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9626 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9627 echo "configure:9628: checking if make supports VPATH" >&5
9628 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9629 echo $ac_n "(cached) $ac_c" 1>&6
9632 cat - << EOF > confMake
9638 if test ! -d sub
; then
9641 echo dummy
> sub
/file
9642 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9644 rm -f sub
/file check final_file confMake
9646 if test "$RESULT" = 0; then
9647 wx_cv_prog_makevpath
="yes"
9649 wx_cv_prog_makevpath
="no"
9654 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9656 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9657 { echo "configure: error:
9658 You need a make-utility that is able to use the variable
9660 If your version of make does not support VPATH correctly,
9661 please install GNU-make (possibly as gmake), and start
9662 configure with the following command:
9663 export MAKE=gmake; ./configure for sh-type shells
9664 setenv MAKE gmake; ./configure for csh-type shells
9665 Also please do remember to use gmake in this case every time
9666 you are trying to compile.
9669 for ac_prog
in 'bison -y' byacc
9671 # Extract the first word of "$ac_prog", so it can be a program name with args.
9672 set dummy
$ac_prog; ac_word
=$2
9673 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9674 echo "configure:9675: checking for $ac_word" >&5
9675 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9676 echo $ac_n "(cached) $ac_c" 1>&6
9678 if test -n "$YACC"; then
9679 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9681 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9683 for ac_dir
in $ac_dummy; do
9684 test -z "$ac_dir" && ac_dir
=.
9685 if test -f $ac_dir/$ac_word; then
9686 ac_cv_prog_YACC
="$ac_prog"
9693 YACC
="$ac_cv_prog_YACC"
9694 if test -n "$YACC"; then
9695 echo "$ac_t""$YACC" 1>&6
9697 echo "$ac_t""no" 1>&6
9700 test -n "$YACC" && break
9702 test -n "$YACC" || YACC
="yacc"
9705 # Extract the first word of "flex", so it can be a program name with args.
9706 set dummy flex
; ac_word
=$2
9707 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9708 echo "configure:9709: checking for $ac_word" >&5
9709 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9710 echo $ac_n "(cached) $ac_c" 1>&6
9712 if test -n "$LEX"; then
9713 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9715 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9717 for ac_dir
in $ac_dummy; do
9718 test -z "$ac_dir" && ac_dir
=.
9719 if test -f $ac_dir/$ac_word; then
9720 ac_cv_prog_LEX
="flex"
9725 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9728 LEX
="$ac_cv_prog_LEX"
9729 if test -n "$LEX"; then
9730 echo "$ac_t""$LEX" 1>&6
9732 echo "$ac_t""no" 1>&6
9735 if test -z "$LEXLIB"
9741 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9742 echo "configure:9743: checking for yywrap in -l$ac_lib" >&5
9743 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9744 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9745 echo $ac_n "(cached) $ac_c" 1>&6
9747 ac_save_LIBS
="$LIBS"
9748 LIBS
="-l$ac_lib $LIBS"
9749 cat > conftest.
$ac_ext <<EOF
9750 #line 9751 "configure"
9751 #include "confdefs.h"
9752 /* Override any gcc2 internal prototype to avoid an error. */
9753 /* We use char because int might match the return type of a gcc2
9754 builtin and then its argument prototype would still apply. */
9761 if { (eval echo configure
:9762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9763 eval "ac_cv_lib_$ac_lib_var=yes"
9765 echo "configure: failed program was:" >&5
9766 cat conftest.
$ac_ext >&5
9768 eval "ac_cv_lib_$ac_lib_var=no"
9771 LIBS
="$ac_save_LIBS"
9774 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9775 echo "$ac_t""yes" 1>&6
9778 echo "$ac_t""no" 1>&6
9784 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9785 echo "configure:9786: checking whether ln -s works" >&5
9786 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9787 echo $ac_n "(cached) $ac_c" 1>&6
9790 if ln -s X conftestdata
2>/dev
/null
9793 ac_cv_prog_LN_S
="ln -s"
9798 LN_S
="$ac_cv_prog_LN_S"
9799 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9800 echo "$ac_t""yes" 1>&6
9802 echo "$ac_t""no" 1>&6
9807 *-pc-os2_emx | *-pc-os2-emx )
9808 LIBS
="$LIBS -lstdcpp"
9809 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
9810 echo $ac_n "checking for drand48 in -lcExt""... $ac_c" 1>&6
9811 echo "configure:9812: checking for drand48 in -lcExt" >&5
9812 ac_lib_var
=`echo cExt'_'drand48 | sed 'y%./+-%__p_%'`
9813 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9814 echo $ac_n "(cached) $ac_c" 1>&6
9816 ac_save_LIBS
="$LIBS"
9818 cat > conftest.
$ac_ext <<EOF
9819 #line 9820 "configure"
9820 #include "confdefs.h"
9821 /* Override any gcc2 internal prototype to avoid an error. */
9822 /* We use char because int might match the return type of a gcc2
9823 builtin and then its argument prototype would still apply. */
9830 if { (eval echo configure
:9831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9832 eval "ac_cv_lib_$ac_lib_var=yes"
9834 echo "configure: failed program was:" >&5
9835 cat conftest.
$ac_ext >&5
9837 eval "ac_cv_lib_$ac_lib_var=no"
9840 LIBS
="$ac_save_LIBS"
9843 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9844 echo "$ac_t""yes" 1>&6
9847 echo "$ac_t""no" 1>&6
9851 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
9857 if test "$wxUSE_MAC" != 1; then
9858 for ac_hdr
in strings.h
9860 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9861 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9862 echo "configure:9863: checking for $ac_hdr" >&5
9863 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9864 echo $ac_n "(cached) $ac_c" 1>&6
9866 cat > conftest.
$ac_ext <<EOF
9867 #line 9868 "configure"
9868 #include "confdefs.h"
9871 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9872 { (eval echo configure
:9873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9873 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9874 if test -z "$ac_err"; then
9876 eval "ac_cv_header_$ac_safe=yes"
9879 echo "configure: failed program was:" >&5
9880 cat conftest.
$ac_ext >&5
9882 eval "ac_cv_header_$ac_safe=no"
9886 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9887 echo "$ac_t""yes" 1>&6
9888 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9889 cat >> confdefs.h
<<EOF
9890 #define $ac_tr_hdr 1
9894 echo "$ac_t""no" 1>&6
9900 for ac_hdr
in stdlib.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
9940 for ac_hdr
in malloc.h
9942 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9943 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9944 echo "configure:9945: checking for $ac_hdr" >&5
9945 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9946 echo $ac_n "(cached) $ac_c" 1>&6
9948 cat > conftest.
$ac_ext <<EOF
9949 #line 9950 "configure"
9950 #include "confdefs.h"
9953 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9954 { (eval echo configure
:9955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9955 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9956 if test -z "$ac_err"; then
9958 eval "ac_cv_header_$ac_safe=yes"
9961 echo "configure: failed program was:" >&5
9962 cat conftest.
$ac_ext >&5
9964 eval "ac_cv_header_$ac_safe=no"
9968 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9969 echo "$ac_t""yes" 1>&6
9970 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9971 cat >> confdefs.h
<<EOF
9972 #define $ac_tr_hdr 1
9976 echo "$ac_t""no" 1>&6
9980 for ac_hdr
in unistd.h
9982 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9983 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9984 echo "configure:9985: checking for $ac_hdr" >&5
9985 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9986 echo $ac_n "(cached) $ac_c" 1>&6
9988 cat > conftest.
$ac_ext <<EOF
9989 #line 9990 "configure"
9990 #include "confdefs.h"
9993 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9994 { (eval echo configure
:9995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9995 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9996 if test -z "$ac_err"; then
9998 eval "ac_cv_header_$ac_safe=yes"
10001 echo "configure: failed program was:" >&5
10002 cat conftest.
$ac_ext >&5
10004 eval "ac_cv_header_$ac_safe=no"
10008 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10009 echo "$ac_t""yes" 1>&6
10010 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10011 cat >> confdefs.h
<<EOF
10012 #define $ac_tr_hdr 1
10016 echo "$ac_t""no" 1>&6
10020 for ac_hdr
in wchar.h
10022 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10023 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10024 echo "configure:10025: checking for $ac_hdr" >&5
10025 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10026 echo $ac_n "(cached) $ac_c" 1>&6
10028 cat > conftest.
$ac_ext <<EOF
10029 #line 10030 "configure"
10030 #include "confdefs.h"
10033 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10034 { (eval echo configure
:10035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10035 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10036 if test -z "$ac_err"; then
10038 eval "ac_cv_header_$ac_safe=yes"
10041 echo "configure: failed program was:" >&5
10042 cat conftest.
$ac_ext >&5
10044 eval "ac_cv_header_$ac_safe=no"
10048 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10049 echo "$ac_t""yes" 1>&6
10050 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10051 cat >> confdefs.h
<<EOF
10052 #define $ac_tr_hdr 1
10056 echo "$ac_t""no" 1>&6
10061 if test "$ac_cv_header_wchar_h" != "yes"; then
10062 for ac_hdr
in wcstr.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
10104 for ac_hdr
in fnmatch.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
10145 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
10146 for ac_func
in fnmatch
10148 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10149 echo "configure:10150: checking for $ac_func" >&5
10150 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10151 echo $ac_n "(cached) $ac_c" 1>&6
10153 cat > conftest.
$ac_ext <<EOF
10154 #line 10155 "configure"
10155 #include "confdefs.h"
10156 /* System header to define __stub macros and hopefully few prototypes,
10157 which can conflict with char $ac_func(); below. */
10158 #include <assert.h>
10159 /* Override any gcc2 internal prototype to avoid an error. */
10160 /* We use char because int might match the return type of a gcc2
10161 builtin and then its argument prototype would still apply. */
10166 /* The GNU C library defines this for functions which it implements
10167 to always fail with ENOSYS. Some functions are actually named
10168 something starting with __ and the normal name is an alias. */
10169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10177 if { (eval echo configure
:10178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10179 eval "ac_cv_func_$ac_func=yes"
10181 echo "configure: failed program was:" >&5
10182 cat conftest.
$ac_ext >&5
10184 eval "ac_cv_func_$ac_func=no"
10189 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10190 echo "$ac_t""yes" 1>&6
10191 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10192 cat >> confdefs.h
<<EOF
10193 #define $ac_tr_func 1
10197 echo "$ac_t""no" 1>&6
10203 for ac_hdr
in langinfo.h
10205 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10206 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10207 echo "configure:10208: checking for $ac_hdr" >&5
10208 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10209 echo $ac_n "(cached) $ac_c" 1>&6
10211 cat > conftest.
$ac_ext <<EOF
10212 #line 10213 "configure"
10213 #include "confdefs.h"
10216 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10217 { (eval echo configure
:10218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10218 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10219 if test -z "$ac_err"; then
10221 eval "ac_cv_header_$ac_safe=yes"
10224 echo "configure: failed program was:" >&5
10225 cat conftest.
$ac_ext >&5
10227 eval "ac_cv_header_$ac_safe=no"
10231 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10232 echo "$ac_t""yes" 1>&6
10233 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10234 cat >> confdefs.h
<<EOF
10235 #define $ac_tr_hdr 1
10239 echo "$ac_t""no" 1>&6
10244 if test "$wxUSE_GUI" = "yes"; then
10245 if test "$wxUSE_UNIX" = "yes"; then
10246 for ac_hdr
in X
11/XKBlib.h
10248 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10249 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10250 echo "configure:10251: checking for $ac_hdr" >&5
10251 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10252 echo $ac_n "(cached) $ac_c" 1>&6
10254 cat > conftest.
$ac_ext <<EOF
10255 #line 10256 "configure"
10256 #include "confdefs.h"
10259 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10260 { (eval echo configure
:10261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10261 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10262 if test -z "$ac_err"; then
10264 eval "ac_cv_header_$ac_safe=yes"
10267 echo "configure: failed program was:" >&5
10268 cat conftest.
$ac_ext >&5
10270 eval "ac_cv_header_$ac_safe=no"
10274 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10275 echo "$ac_t""yes" 1>&6
10276 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10277 cat >> confdefs.h
<<EOF
10278 #define $ac_tr_hdr 1
10282 echo "$ac_t""no" 1>&6
10290 echo $ac_n "checking for working const""... $ac_c" 1>&6
10291 echo "configure:10292: checking for working const" >&5
10292 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10293 echo $ac_n "(cached) $ac_c" 1>&6
10295 cat > conftest.
$ac_ext <<EOF
10296 #line 10297 "configure"
10297 #include "confdefs.h"
10301 /* Ultrix mips cc rejects this. */
10302 typedef int charset[2]; const charset x;
10303 /* SunOS 4.1.1 cc rejects this. */
10304 char const *const *ccp;
10306 /* NEC SVR4.0.2 mips cc rejects this. */
10307 struct point {int x, y;};
10308 static struct point const zero = {0,0};
10309 /* AIX XL C 1.02.0.0 rejects this.
10310 It does not let you subtract one const X* pointer from another in an arm
10311 of an if-expression whose if-part is not a constant expression */
10312 const char *g = "string";
10313 ccp = &g + (g ? g-g : 0);
10314 /* HPUX 7.0 cc rejects these. */
10317 ccp = (char const *const *) p;
10318 { /* SCO 3.2v4 cc rejects this. */
10320 char const *s = 0 ? (char *) 0 : (char const *) 0;
10324 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10325 int x[] = {25, 17};
10326 const int *foo = &x[0];
10329 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10330 typedef const int *iptr;
10334 { /* AIX XL C 1.02.0.0 rejects this saying
10335 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10336 struct s { int j; const int *ap[3]; };
10337 struct s *b; b->j = 5;
10339 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10340 const int foo = 10;
10345 if { (eval echo configure
:10346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10349 echo "configure: failed program was:" >&5
10350 cat conftest.
$ac_ext >&5
10357 echo "$ac_t""$ac_cv_c_const" 1>&6
10358 if test $ac_cv_c_const = no
; then
10359 cat >> confdefs.h
<<\EOF
10365 echo $ac_n "checking for inline""... $ac_c" 1>&6
10366 echo "configure:10367: checking for inline" >&5
10367 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10368 echo $ac_n "(cached) $ac_c" 1>&6
10371 for ac_kw
in inline __inline__ __inline
; do
10372 cat > conftest.
$ac_ext <<EOF
10373 #line 10374 "configure"
10374 #include "confdefs.h"
10380 if { (eval echo configure
:10381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10382 ac_cv_c_inline
=$ac_kw; break
10384 echo "configure: failed program was:" >&5
10385 cat conftest.
$ac_ext >&5
10392 echo "$ac_t""$ac_cv_c_inline" 1>&6
10393 case "$ac_cv_c_inline" in
10395 no
) cat >> confdefs.h
<<\EOF
10399 *) cat >> confdefs.h
<<EOF
10400 #define inline $ac_cv_c_inline
10406 echo $ac_n "checking size of char""... $ac_c" 1>&6
10407 echo "configure:10408: checking size of char" >&5
10408 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10409 echo $ac_n "(cached) $ac_c" 1>&6
10411 if test "$cross_compiling" = yes; then
10412 ac_cv_sizeof_char
=1
10414 cat > conftest.
$ac_ext <<EOF
10415 #line 10416 "configure"
10416 #include "confdefs.h"
10418 #include <sys/types.h>
10421 FILE *f=fopen("conftestval", "w");
10423 fprintf(f, "%d\n", sizeof(char));
10427 if { (eval echo configure
:10428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10429 ac_cv_sizeof_char
=`cat conftestval`
10431 echo "configure: failed program was:" >&5
10432 cat conftest.
$ac_ext >&5
10434 ac_cv_sizeof_char
=0
10440 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10441 cat >> confdefs.h
<<EOF
10442 #define SIZEOF_CHAR $ac_cv_sizeof_char
10446 echo $ac_n "checking size of short""... $ac_c" 1>&6
10447 echo "configure:10448: checking size of short" >&5
10448 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10449 echo $ac_n "(cached) $ac_c" 1>&6
10451 if test "$cross_compiling" = yes; then
10452 ac_cv_sizeof_short
=2
10454 cat > conftest.
$ac_ext <<EOF
10455 #line 10456 "configure"
10456 #include "confdefs.h"
10458 #include <sys/types.h>
10461 FILE *f=fopen("conftestval", "w");
10463 fprintf(f, "%d\n", sizeof(short));
10467 if { (eval echo configure
:10468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10469 ac_cv_sizeof_short
=`cat conftestval`
10471 echo "configure: failed program was:" >&5
10472 cat conftest.
$ac_ext >&5
10474 ac_cv_sizeof_short
=0
10480 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10481 cat >> confdefs.h
<<EOF
10482 #define SIZEOF_SHORT $ac_cv_sizeof_short
10486 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10487 echo "configure:10488: checking size of void *" >&5
10488 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10489 echo $ac_n "(cached) $ac_c" 1>&6
10491 if test "$cross_compiling" = yes; then
10492 ac_cv_sizeof_void_p
=4
10494 cat > conftest.
$ac_ext <<EOF
10495 #line 10496 "configure"
10496 #include "confdefs.h"
10498 #include <sys/types.h>
10501 FILE *f=fopen("conftestval", "w");
10503 fprintf(f, "%d\n", sizeof(void *));
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_void_p
=`cat conftestval`
10511 echo "configure: failed program was:" >&5
10512 cat conftest.
$ac_ext >&5
10514 ac_cv_sizeof_void_p
=0
10520 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10521 cat >> confdefs.h
<<EOF
10522 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10526 echo $ac_n "checking size of int""... $ac_c" 1>&6
10527 echo "configure:10528: checking size of int" >&5
10528 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10529 echo $ac_n "(cached) $ac_c" 1>&6
10531 if test "$cross_compiling" = yes; then
10534 cat > conftest.
$ac_ext <<EOF
10535 #line 10536 "configure"
10536 #include "confdefs.h"
10538 #include <sys/types.h>
10541 FILE *f=fopen("conftestval", "w");
10543 fprintf(f, "%d\n", sizeof(int));
10547 if { (eval echo configure
:10548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10549 ac_cv_sizeof_int
=`cat conftestval`
10551 echo "configure: failed program was:" >&5
10552 cat conftest.
$ac_ext >&5
10560 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10561 cat >> confdefs.h
<<EOF
10562 #define SIZEOF_INT $ac_cv_sizeof_int
10566 echo $ac_n "checking size of long""... $ac_c" 1>&6
10567 echo "configure:10568: checking size of long" >&5
10568 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10569 echo $ac_n "(cached) $ac_c" 1>&6
10571 if test "$cross_compiling" = yes; then
10572 ac_cv_sizeof_long
=4
10574 cat > conftest.
$ac_ext <<EOF
10575 #line 10576 "configure"
10576 #include "confdefs.h"
10578 #include <sys/types.h>
10581 FILE *f=fopen("conftestval", "w");
10583 fprintf(f, "%d\n", sizeof(long));
10587 if { (eval echo configure
:10588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10589 ac_cv_sizeof_long
=`cat conftestval`
10591 echo "configure: failed program was:" >&5
10592 cat conftest.
$ac_ext >&5
10594 ac_cv_sizeof_long
=0
10600 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10601 cat >> confdefs.h
<<EOF
10602 #define SIZEOF_LONG $ac_cv_sizeof_long
10609 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10610 echo "configure:10611: checking size of long long" >&5
10611 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10612 echo $ac_n "(cached) $ac_c" 1>&6
10614 if test "$cross_compiling" = yes; then
10615 ac_cv_sizeof_long_long
=8
10617 cat > conftest.
$ac_ext <<EOF
10618 #line 10619 "configure"
10619 #include "confdefs.h"
10621 #include <sys/types.h>
10624 FILE *f=fopen("conftestval", "w");
10626 fprintf(f, "%d\n", sizeof(long long));
10630 if { (eval echo configure
:10631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10632 ac_cv_sizeof_long_long
=`cat conftestval`
10634 echo "configure: failed program was:" >&5
10635 cat conftest.
$ac_ext >&5
10637 ac_cv_sizeof_long_long
=0
10643 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10644 cat >> confdefs.h
<<EOF
10645 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10651 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10652 echo "configure:10653: checking size of long long" >&5
10653 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10654 echo $ac_n "(cached) $ac_c" 1>&6
10656 if test "$cross_compiling" = yes; then
10657 ac_cv_sizeof_long_long
=0
10659 cat > conftest.
$ac_ext <<EOF
10660 #line 10661 "configure"
10661 #include "confdefs.h"
10663 #include <sys/types.h>
10666 FILE *f=fopen("conftestval", "w");
10668 fprintf(f, "%d\n", sizeof(long long));
10672 if { (eval echo configure
:10673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10674 ac_cv_sizeof_long_long
=`cat conftestval`
10676 echo "configure: failed program was:" >&5
10677 cat conftest.
$ac_ext >&5
10679 ac_cv_sizeof_long_long
=0
10685 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10686 cat >> confdefs.h
<<EOF
10687 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10691 if test "$ac_cv_sizeof_long_long" != "0"; then
10692 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
10696 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10697 echo "configure:10698: checking size of long long" >&5
10698 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10699 echo $ac_n "(cached) $ac_c" 1>&6
10701 if test "$cross_compiling" = yes; then
10702 ac_cv_sizeof_long_long
=0
10704 cat > conftest.
$ac_ext <<EOF
10705 #line 10706 "configure"
10706 #include "confdefs.h"
10708 #include <sys/types.h>
10711 FILE *f=fopen("conftestval", "w");
10713 fprintf(f, "%d\n", sizeof(long long));
10717 if { (eval echo configure
:10718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10719 ac_cv_sizeof_long_long
=`cat conftestval`
10721 echo "configure: failed program was:" >&5
10722 cat conftest.
$ac_ext >&5
10724 ac_cv_sizeof_long_long
=0
10730 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10731 cat >> confdefs.h
<<EOF
10732 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10738 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10739 echo "configure:10740: checking size of wchar_t" >&5
10740 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10741 echo $ac_n "(cached) $ac_c" 1>&6
10744 if test "$cross_compiling" = yes; then
10748 wx_cv_sizeof_wchar_t
=0
10751 wx_cv_sizeof_wchar_t
=4
10757 cat > conftest.
$ac_ext <<EOF
10758 #line 10759 "configure"
10759 #include "confdefs.h"
10761 /* DJGPP only has fake wchar_t: */
10763 # error "fake wchar_t"
10765 #ifdef HAVE_WCHAR_H
10767 # include <stddef.h>
10769 # include <wchar.h>
10771 #ifdef HAVE_STDLIB_H
10772 # include <stdlib.h>
10777 FILE *f=fopen("conftestval", "w");
10779 fprintf(f, "%i", sizeof(wchar_t));
10784 if { (eval echo configure
:10785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10786 wx_cv_sizeof_wchar_t
=`cat conftestval`
10788 echo "configure: failed program was:" >&5
10789 cat conftest.
$ac_ext >&5
10791 wx_cv_sizeof_wchar_t
=0
10799 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10801 cat >> confdefs.h
<<EOF
10802 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10806 # Check whether --enable-largefile or --disable-largefile was given.
10807 if test "${enable_largefile+set}" = set; then
10808 enableval
="$enable_largefile"
10812 if test "$enable_largefile" != no
; then
10815 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10816 echo "configure:10817: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10817 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10818 echo $ac_n "(cached) $ac_c" 1>&6
10821 cat > conftest.
$ac_ext <<EOF
10822 #line 10823 "configure"
10823 #include "confdefs.h"
10824 #define _FILE_OFFSET_BITS 64
10825 #include <sys/types.h>
10828 unsigned int field: sizeof(off_t) == 8;
10833 if { (eval echo configure
:10834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10835 ac_cv_sys_file_offset_bits
=64
10837 echo "configure: failed program was:" >&5
10838 cat conftest.
$ac_ext >&5
10840 ac_cv_sys_file_offset_bits
=no
10847 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10849 if test "$ac_cv_sys_file_offset_bits" != no
; then
10851 cat >> confdefs.h
<<EOF
10852 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10857 if test "x$wx_largefile" != "xyes"; then
10859 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10860 echo "configure:10861: checking for _LARGE_FILES value needed for large files" >&5
10861 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10862 echo $ac_n "(cached) $ac_c" 1>&6
10865 cat > conftest.
$ac_ext <<EOF
10866 #line 10867 "configure"
10867 #include "confdefs.h"
10868 #define _LARGE_FILES 1
10869 #include <sys/types.h>
10872 unsigned int field: sizeof(off_t) == 8;
10877 if { (eval echo configure
:10878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10879 ac_cv_sys_large_files
=1
10881 echo "configure: failed program was:" >&5
10882 cat conftest.
$ac_ext >&5
10884 ac_cv_sys_large_files
=no
10891 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10893 if test "$ac_cv_sys_large_files" != no
; then
10895 cat >> confdefs.h
<<EOF
10896 #define _LARGE_FILES $ac_cv_sys_large_files
10903 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10904 echo "configure:10905: checking if large file support is available" >&5
10905 if test "x$wx_largefile" = "xyes"; then
10906 cat >> confdefs.h
<<\EOF
10907 #define HAVE_LARGEFILE_SUPPORT 1
10911 echo "$ac_t""$wx_largefile" 1>&6
10915 if test "x$wx_largefile" = "xyes"; then
10916 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
10917 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
10919 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
10921 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
10924 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10925 echo "configure:10926: checking whether byte ordering is bigendian" >&5
10926 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10927 echo $ac_n "(cached) $ac_c" 1>&6
10929 ac_cv_c_bigendian
=unknown
10930 # See if sys/param.h defines the BYTE_ORDER macro.
10931 cat > conftest.
$ac_ext <<EOF
10932 #line 10933 "configure"
10933 #include "confdefs.h"
10934 #include <sys/types.h>
10935 #include <sys/param.h>
10938 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10939 bogus endian macros
10943 if { (eval echo configure
:10944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10945 # It does; now see whether it defined to BIG_ENDIAN or not.
10946 cat > conftest.
$ac_ext <<EOF
10947 #line 10948 "configure"
10948 #include "confdefs.h"
10949 #include <sys/types.h>
10950 #include <sys/param.h>
10953 #if BYTE_ORDER != BIG_ENDIAN
10958 if { (eval echo configure
:10959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10960 ac_cv_c_bigendian
=yes
10962 echo "configure: failed program was:" >&5
10963 cat conftest.
$ac_ext >&5
10965 ac_cv_c_bigendian
=no
10969 echo "configure: failed program was:" >&5
10970 cat conftest.
$ac_ext >&5
10973 if test $ac_cv_c_bigendian = unknown
; then
10974 if test "$cross_compiling" = yes; then
10975 ac_cv_c_bigendian
=unknown
10977 cat > conftest.
$ac_ext <<EOF
10978 #line 10979 "configure"
10979 #include "confdefs.h"
10981 /* Are we little or big endian? From Harbison&Steele. */
10985 char c[sizeof (long)];
10988 exit (u.c[sizeof (long) - 1] == 1);
10991 if { (eval echo configure
:10992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10993 ac_cv_c_bigendian
=no
10995 echo "configure: failed program was:" >&5
10996 cat conftest.
$ac_ext >&5
10998 ac_cv_c_bigendian
=yes
11006 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
11007 if test $ac_cv_c_bigendian = unknown
; then
11008 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
11010 if test $ac_cv_c_bigendian = yes; then
11011 cat >> confdefs.h
<<\EOF
11012 #define WORDS_BIGENDIAN 1
11018 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
11019 echo "configure:11020: checking how to run the C++ preprocessor" >&5
11020 if test -z "$CXXCPP"; then
11021 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
11022 echo $ac_n "(cached) $ac_c" 1>&6
11025 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11026 ac_cpp
='$CXXCPP $CPPFLAGS'
11027 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11028 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11029 cross_compiling
=$ac_cv_prog_cxx_cross
11030 CXXCPP
="${CXX-g++} -E"
11031 cat > conftest.
$ac_ext <<EOF
11032 #line 11033 "configure"
11033 #include "confdefs.h"
11034 #include <stdlib.h>
11036 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11037 { (eval echo configure
:11038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11038 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11039 if test -z "$ac_err"; then
11043 echo "configure: failed program was:" >&5
11044 cat conftest.
$ac_ext >&5
11049 ac_cv_prog_CXXCPP
="$CXXCPP"
11051 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11052 ac_cpp
='$CXXCPP $CPPFLAGS'
11053 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11054 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11055 cross_compiling
=$ac_cv_prog_cxx_cross
11058 CXXCPP
="$ac_cv_prog_CXXCPP"
11059 echo "$ac_t""$CXXCPP" 1>&6
11062 if test "$cross_compiling" = "yes"; then
11063 cat >> confdefs.h
<<\EOF
11064 #define wxUSE_IOSTREAMH 1
11070 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11071 ac_cpp
='$CXXCPP $CPPFLAGS'
11072 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11073 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11074 cross_compiling
=$ac_cv_prog_cxx_cross
11077 for ac_hdr
in iostream
11079 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11080 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11081 echo "configure:11082: checking for $ac_hdr" >&5
11082 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11083 echo $ac_n "(cached) $ac_c" 1>&6
11085 cat > conftest.
$ac_ext <<EOF
11086 #line 11087 "configure"
11087 #include "confdefs.h"
11090 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11091 { (eval echo configure
:11092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11092 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11093 if test -z "$ac_err"; then
11095 eval "ac_cv_header_$ac_safe=yes"
11098 echo "configure: failed program was:" >&5
11099 cat conftest.
$ac_ext >&5
11101 eval "ac_cv_header_$ac_safe=no"
11105 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11106 echo "$ac_t""yes" 1>&6
11107 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11108 cat >> confdefs.h
<<EOF
11109 #define $ac_tr_hdr 1
11113 echo "$ac_t""no" 1>&6
11118 if test "$ac_cv_header_iostream" = "yes" ; then
11121 cat >> confdefs.h
<<\EOF
11122 #define wxUSE_IOSTREAMH 1
11128 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11129 ac_cpp
='$CPP $CPPFLAGS'
11130 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11131 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11132 cross_compiling
=$ac_cv_prog_cc_cross
11138 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
11139 echo "configure:11140: checking if C++ compiler supports bool" >&5
11140 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
11141 echo $ac_n "(cached) $ac_c" 1>&6
11146 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11147 ac_cpp
='$CXXCPP $CPPFLAGS'
11148 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11149 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11150 cross_compiling
=$ac_cv_prog_cxx_cross
11153 cat > conftest.
$ac_ext <<EOF
11154 #line 11155 "configure"
11155 #include "confdefs.h"
11166 if { (eval echo configure
:11167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11172 echo "configure: failed program was:" >&5
11173 cat conftest.
$ac_ext >&5
11183 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11184 ac_cpp
='$CPP $CPPFLAGS'
11185 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11186 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11187 cross_compiling
=$ac_cv_prog_cc_cross
11192 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
11194 if test "$wx_cv_cpp_bool" = "yes"; then
11195 cat >> confdefs.h
<<\EOF
11196 #define HAVE_BOOL 1
11203 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
11204 echo "configure:11205: checking if C++ compiler supports the explicit keyword" >&5
11205 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
11206 echo $ac_n "(cached) $ac_c" 1>&6
11211 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11212 ac_cpp
='$CXXCPP $CPPFLAGS'
11213 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11214 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11215 cross_compiling
=$ac_cv_prog_cxx_cross
11218 cat > conftest.
$ac_ext <<EOF
11219 #line 11220 "configure"
11220 #include "confdefs.h"
11222 class Foo { public: explicit Foo(int) {} };
11230 if { (eval echo configure
:11231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11233 cat > conftest.
$ac_ext <<EOF
11234 #line 11235 "configure"
11235 #include "confdefs.h"
11237 class Foo { public: explicit Foo(int) {} };
11238 static void TakeFoo(const Foo& foo) { }
11247 if { (eval echo configure
:11248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11251 echo "configure: failed program was:" >&5
11252 cat conftest.
$ac_ext >&5
11260 echo "configure: failed program was:" >&5
11261 cat conftest.
$ac_ext >&5
11269 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11270 ac_cpp
='$CPP $CPPFLAGS'
11271 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11272 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11273 cross_compiling
=$ac_cv_prog_cc_cross
11278 echo "$ac_t""$wx_cv_explicit" 1>&6
11280 if test "$wx_cv_explicit" = "yes"; then
11281 cat >> confdefs.h
<<\EOF
11282 #define HAVE_EXPLICIT 1
11290 /usr/local/include \
11292 /usr/Motif-1.2/include \
11293 /usr/Motif-2.1/include \
11295 /usr/include/Motif1.2 \
11296 /opt/xpm/include/X11 \
11297 /opt/GBxpm/include/ \
11298 /opt/GBxpm/X11/include/ \
11300 /usr/Motif1.2/include \
11302 /usr/openwin/include \
11306 /usr/X11R6/include \
11307 /usr/X11R6.4/include \
11308 /usr/X11R5/include \
11309 /usr/X11R4/include \
11311 /usr/include/X11R6 \
11312 /usr/include/X11R5 \
11313 /usr/include/X11R4 \
11315 /usr/local/X11R6/include \
11316 /usr/local/X11R5/include \
11317 /usr/local/X11R4/include \
11319 /usr/local/include/X11R6 \
11320 /usr/local/include/X11R5 \
11321 /usr/local/include/X11R4 \
11325 /usr/local/X11/include \
11326 /usr/local/include/X11 \
11328 /usr/X386/include \
11329 /usr/x386/include \
11330 /usr/XFree86/include/X11 \
11332 X:/XFree86/include \
11333 X:/XFree86/include/X11 \
11336 /usr/local/include/gtk \
11337 /usr/include/glib \
11338 /usr/local/include/glib \
11341 /usr/local/include/qt \
11343 /usr/include/windows \
11344 /usr/include/wine \
11345 /usr/local/include/wine \
11347 /usr/unsupported/include \
11348 /usr/athena/include \
11349 /usr/local/x11r5/include \
11350 /usr/lpp/Xamples/include \
11352 /usr/openwin/share/include"
11354 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
11357 cat > confcache
<<\EOF
11358 # This file is a shell script that caches the results of configure
11359 # tests run on this system so they can be shared between configure
11360 # scripts and configure runs. It is not useful on other systems.
11361 # If it contains results you don't want to keep, you may remove or edit it.
11363 # By default, configure uses ./config.cache as the cache file,
11364 # creating it if it does not exist already. You can give configure
11365 # the --cache-file=FILE option to use a different cache file; that is
11366 # what configure does when it calls configure scripts in
11367 # subdirectories, so they share the cache.
11368 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11369 # config.status only pays attention to the cache file if you give it the
11370 # --recheck option to rerun configure.
11373 # The following way of writing the cache mishandles newlines in values,
11374 # but we know of no workaround that is simple, portable, and efficient.
11375 # So, don't put newlines in cache variables' values.
11376 # Ultrix sh set writes to stderr and can't be redirected directly,
11377 # and sets the high bit in the cache file unless we assign to the vars.
11379 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11381 # `set' does not quote correctly, so add quotes (double-quote substitution
11382 # turns \\\\ into \\, and sed turns \\ into \).
11384 -e "s/'/'\\\\''/g" \
11385 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11388 # `set' quotes correctly as required by POSIX, so do not add quotes.
11389 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11392 if cmp -s $cache_file confcache
; then
11395 if test -w $cache_file; then
11396 echo "updating cache $cache_file"
11397 cat confcache
> $cache_file
11399 echo "not updating unwritable cache $cache_file"
11405 if test "$USE_LINUX" = 1; then
11406 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
11407 echo "configure:11408: checking for glibc 2.1 or later" >&5
11408 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
11409 echo $ac_n "(cached) $ac_c" 1>&6
11412 cat > conftest.
$ac_ext <<EOF
11413 #line 11414 "configure"
11414 #include "confdefs.h"
11415 #include <features.h>
11418 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
11419 #error not glibc2.1
11424 if { (eval echo configure
:11425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11427 wx_cv_lib_glibc21
=yes
11430 echo "configure: failed program was:" >&5
11431 cat conftest.
$ac_ext >&5
11434 wx_cv_lib_glibc21
=no
11442 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11443 if test "$wx_cv_lib_glibc21" = "yes"; then
11444 cat >> confdefs.h
<<\EOF
11445 #define wxHAVE_GLIBC2 1
11451 if test "x$wx_cv_lib_glibc21" = "xyes"; then
11452 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
11453 cat >> confdefs.h
<<\EOF
11454 #define _GNU_SOURCE 1
11463 if test "$wxUSE_REGEX" != "no"; then
11464 cat >> confdefs.h
<<\EOF
11465 #define wxUSE_REGEX 1
11469 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11470 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11471 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11472 echo "configure:11473: checking for regex.h" >&5
11473 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11474 echo $ac_n "(cached) $ac_c" 1>&6
11476 cat > conftest.
$ac_ext <<EOF
11477 #line 11478 "configure"
11478 #include "confdefs.h"
11481 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11482 { (eval echo configure
:11483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11483 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11484 if test -z "$ac_err"; then
11486 eval "ac_cv_header_$ac_safe=yes"
11489 echo "configure: failed program was:" >&5
11490 cat conftest.
$ac_ext >&5
11492 eval "ac_cv_header_$ac_safe=no"
11496 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11497 echo "$ac_t""yes" 1>&6
11498 for ac_func
in regcomp
11500 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11501 echo "configure:11502: checking for $ac_func" >&5
11502 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11503 echo $ac_n "(cached) $ac_c" 1>&6
11505 cat > conftest.
$ac_ext <<EOF
11506 #line 11507 "configure"
11507 #include "confdefs.h"
11508 /* System header to define __stub macros and hopefully few prototypes,
11509 which can conflict with char $ac_func(); below. */
11510 #include <assert.h>
11511 /* Override any gcc2 internal prototype to avoid an error. */
11512 /* We use char because int might match the return type of a gcc2
11513 builtin and then its argument prototype would still apply. */
11518 /* The GNU C library defines this for functions which it implements
11519 to always fail with ENOSYS. Some functions are actually named
11520 something starting with __ and the normal name is an alias. */
11521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11529 if { (eval echo configure
:11530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11531 eval "ac_cv_func_$ac_func=yes"
11533 echo "configure: failed program was:" >&5
11534 cat conftest.
$ac_ext >&5
11536 eval "ac_cv_func_$ac_func=no"
11541 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11542 echo "$ac_t""yes" 1>&6
11543 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11544 cat >> confdefs.h
<<EOF
11545 #define $ac_tr_func 1
11549 echo "$ac_t""no" 1>&6
11554 echo "$ac_t""no" 1>&6
11558 if test "x$ac_cv_func_regcomp" != "xyes"; then
11559 if test "$wxUSE_REGEX" = "sys" ; then
11560 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11562 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11563 wxUSE_REGEX
=builtin
11570 if test "$wxUSE_REGEX" = "builtin" ; then
11571 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11578 if test "$wxUSE_ZLIB" != "no" ; then
11579 cat >> confdefs.h
<<\EOF
11580 #define wxUSE_ZLIB 1
11584 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11585 if test "$USE_DARWIN" = 1; then
11586 system_zlib_h_ok
="yes"
11588 echo $ac_n "checking for zlib.h >= 1.1.4""... $ac_c" 1>&6
11589 echo "configure:11590: checking for zlib.h >= 1.1.4" >&5
11590 if eval "test \"`echo '$''{'ac_cv_header_zlib_h'+set}'`\" = set"; then
11591 echo $ac_n "(cached) $ac_c" 1>&6
11593 if test "$cross_compiling" = yes; then
11594 unset ac_cv_header_zlib_h
11597 cat > conftest.
$ac_ext <<EOF
11598 #line 11599 "configure"
11599 #include "confdefs.h"
11607 FILE *f=fopen("conftestval", "w");
11610 ZLIB_VERSION[0] == '1' &&
11611 (ZLIB_VERSION[2] > '1' ||
11612 (ZLIB_VERSION[2] == '1' &&
11613 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
11619 if { (eval echo configure
:11620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11621 ac_cv_header_zlib_h
=`cat conftestval`
11623 echo "configure: failed program was:" >&5
11624 cat conftest.
$ac_ext >&5
11626 ac_cv_header_zlib_h
=no
11634 echo "$ac_t""$ac_cv_header_zlib_h" 1>&6
11635 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11636 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11637 echo "configure:11638: checking for zlib.h" >&5
11638 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11639 echo $ac_n "(cached) $ac_c" 1>&6
11641 cat > conftest.
$ac_ext <<EOF
11642 #line 11643 "configure"
11643 #include "confdefs.h"
11646 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11647 { (eval echo configure
:11648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11648 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11649 if test -z "$ac_err"; then
11651 eval "ac_cv_header_$ac_safe=yes"
11654 echo "configure: failed program was:" >&5
11655 cat conftest.
$ac_ext >&5
11657 eval "ac_cv_header_$ac_safe=no"
11661 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11662 echo "$ac_t""yes" 1>&6
11665 echo "$ac_t""no" 1>&6
11669 system_zlib_h_ok
=$ac_cv_header_zlib_h
11672 if test "$system_zlib_h_ok" = "yes"; then
11673 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11674 echo "configure:11675: checking for deflate in -lz" >&5
11675 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11676 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11677 echo $ac_n "(cached) $ac_c" 1>&6
11679 ac_save_LIBS
="$LIBS"
11681 cat > conftest.
$ac_ext <<EOF
11682 #line 11683 "configure"
11683 #include "confdefs.h"
11684 /* Override any gcc2 internal prototype to avoid an error. */
11685 /* We use char because int might match the return type of a gcc2
11686 builtin and then its argument prototype would still apply. */
11693 if { (eval echo configure
:11694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11695 eval "ac_cv_lib_$ac_lib_var=yes"
11697 echo "configure: failed program was:" >&5
11698 cat conftest.
$ac_ext >&5
11700 eval "ac_cv_lib_$ac_lib_var=no"
11703 LIBS
="$ac_save_LIBS"
11706 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11707 echo "$ac_t""yes" 1>&6
11710 echo "$ac_t""no" 1>&6
11715 if test "x$ZLIB_LINK" = "x" ; then
11716 if test "$wxUSE_ZLIB" = "sys" ; then
11717 { echo "configure: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11719 echo "configure: warning: zlib library not found or too old, will use built-in instead" 1>&2
11727 if test "$wxUSE_ZLIB" = "builtin" ; then
11728 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11735 if test "$wxUSE_LIBPNG" != "no" ; then
11736 cat >> confdefs.h
<<\EOF
11737 #define wxUSE_LIBPNG 1
11741 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11742 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11746 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11747 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11748 wxUSE_LIBPNG
=builtin
11751 if test "$wxUSE_MGL" != 1 ; then
11752 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11753 echo $ac_n "checking for png.h > 0.90""... $ac_c" 1>&6
11754 echo "configure:11755: checking for png.h > 0.90" >&5
11755 if eval "test \"`echo '$''{'ac_cv_header_png_h'+set}'`\" = set"; then
11756 echo $ac_n "(cached) $ac_c" 1>&6
11758 if test "$cross_compiling" = yes; then
11759 unset ac_cv_header_png_h
11762 cat > conftest.
$ac_ext <<EOF
11763 #line 11764 "configure"
11764 #include "confdefs.h"
11771 FILE *f=fopen("conftestval", "w");
11774 PNG_LIBPNG_VER > 90 ? "yes" : "no");
11779 if { (eval echo configure
:11780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11781 ac_cv_header_png_h
=`cat conftestval`
11783 echo "configure: failed program was:" >&5
11784 cat conftest.
$ac_ext >&5
11786 ac_cv_header_png_h
=no
11794 echo "$ac_t""$ac_cv_header_png_h" 1>&6
11795 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11796 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11797 echo "configure:11798: checking for png.h" >&5
11798 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11799 echo $ac_n "(cached) $ac_c" 1>&6
11801 cat > conftest.
$ac_ext <<EOF
11802 #line 11803 "configure"
11803 #include "confdefs.h"
11806 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11807 { (eval echo configure
:11808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11808 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11809 if test -z "$ac_err"; then
11811 eval "ac_cv_header_$ac_safe=yes"
11814 echo "configure: failed program was:" >&5
11815 cat conftest.
$ac_ext >&5
11817 eval "ac_cv_header_$ac_safe=no"
11821 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11822 echo "$ac_t""yes" 1>&6
11825 echo "$ac_t""no" 1>&6
11829 if test "$ac_cv_header_png_h" = "yes"; then
11830 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11831 echo "configure:11832: checking for png_check_sig in -lpng" >&5
11832 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11833 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11834 echo $ac_n "(cached) $ac_c" 1>&6
11836 ac_save_LIBS
="$LIBS"
11837 LIBS
="-lpng -lz -lm $LIBS"
11838 cat > conftest.
$ac_ext <<EOF
11839 #line 11840 "configure"
11840 #include "confdefs.h"
11841 /* Override any gcc2 internal prototype to avoid an error. */
11842 /* We use char because int might match the return type of a gcc2
11843 builtin and then its argument prototype would still apply. */
11844 char png_check_sig();
11850 if { (eval echo configure
:11851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11852 eval "ac_cv_lib_$ac_lib_var=yes"
11854 echo "configure: failed program was:" >&5
11855 cat conftest.
$ac_ext >&5
11857 eval "ac_cv_lib_$ac_lib_var=no"
11860 LIBS
="$ac_save_LIBS"
11863 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11864 echo "$ac_t""yes" 1>&6
11867 echo "$ac_t""no" 1>&6
11872 if test "x$PNG_LINK" = "x" ; then
11873 if test "$wxUSE_LIBPNG" = "sys" ; then
11874 { echo "configure: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11876 echo "configure: warning: system png library not found or too old, will use built-in instead" 1>&2
11877 wxUSE_LIBPNG
=builtin
11885 if test "$wxUSE_LIBPNG" = "builtin" ; then
11886 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11889 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11895 if test "$wxUSE_LIBJPEG" != "no" ; then
11896 cat >> confdefs.h
<<\EOF
11897 #define wxUSE_LIBJPEG 1
11901 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11902 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11906 if test "$wxUSE_MGL" != 1 ; then
11907 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11908 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11909 echo "configure:11910: checking for jpeglib.h" >&5
11910 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11911 echo $ac_n "(cached) $ac_c" 1>&6
11913 cat > conftest.
$ac_ext <<EOF
11914 #line 11915 "configure"
11915 #include "confdefs.h"
11917 #undef HAVE_STDLIB_H
11919 #include <jpeglib.h>
11926 if { (eval echo configure
:11927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11928 ac_cv_header_jpeglib_h
=yes
11930 echo "configure: failed program was:" >&5
11931 cat conftest.
$ac_ext >&5
11933 ac_cv_header_jpeglib_h
=no
11940 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
11942 if test "$ac_cv_header_jpeglib_h" = "yes"; then
11943 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11944 echo "configure:11945: checking for jpeg_read_header in -ljpeg" >&5
11945 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11946 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11947 echo $ac_n "(cached) $ac_c" 1>&6
11949 ac_save_LIBS
="$LIBS"
11950 LIBS
="-ljpeg $LIBS"
11951 cat > conftest.
$ac_ext <<EOF
11952 #line 11953 "configure"
11953 #include "confdefs.h"
11954 /* Override any gcc2 internal prototype to avoid an error. */
11955 /* We use char because int might match the return type of a gcc2
11956 builtin and then its argument prototype would still apply. */
11957 char jpeg_read_header();
11963 if { (eval echo configure
:11964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11965 eval "ac_cv_lib_$ac_lib_var=yes"
11967 echo "configure: failed program was:" >&5
11968 cat conftest.
$ac_ext >&5
11970 eval "ac_cv_lib_$ac_lib_var=no"
11973 LIBS
="$ac_save_LIBS"
11976 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11977 echo "$ac_t""yes" 1>&6
11978 JPEG_LINK
=" -ljpeg"
11980 echo "$ac_t""no" 1>&6
11985 if test "x$JPEG_LINK" = "x" ; then
11986 if test "$wxUSE_LIBJPEG" = "sys" ; then
11987 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
11989 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
11990 wxUSE_LIBJPEG
=builtin
11998 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11999 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
12006 TIFF_PREREQ_LINKS
=-lm
12007 if test "$wxUSE_LIBTIFF" != "no" ; then
12008 cat >> confdefs.h
<<\EOF
12009 #define wxUSE_LIBTIFF 1
12013 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
12014 if test "$wxUSE_LIBJPEG" = "sys"; then
12015 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
12017 if test "$wxUSE_ZLIB" = "sys"; then
12018 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
12020 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
12021 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
12022 echo "configure:12023: checking for tiffio.h" >&5
12023 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12024 echo $ac_n "(cached) $ac_c" 1>&6
12026 cat > conftest.
$ac_ext <<EOF
12027 #line 12028 "configure"
12028 #include "confdefs.h"
12029 #include <tiffio.h>
12031 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12032 { (eval echo configure
:12033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12033 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12034 if test -z "$ac_err"; then
12036 eval "ac_cv_header_$ac_safe=yes"
12039 echo "configure: failed program was:" >&5
12040 cat conftest.
$ac_ext >&5
12042 eval "ac_cv_header_$ac_safe=no"
12046 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12047 echo "$ac_t""yes" 1>&6
12048 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
12049 echo "configure:12050: checking for TIFFError in -ltiff" >&5
12050 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
12051 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12052 echo $ac_n "(cached) $ac_c" 1>&6
12054 ac_save_LIBS
="$LIBS"
12055 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
12056 cat > conftest.
$ac_ext <<EOF
12057 #line 12058 "configure"
12058 #include "confdefs.h"
12059 /* Override any gcc2 internal prototype to avoid an error. */
12060 /* We use char because int might match the return type of a gcc2
12061 builtin and then its argument prototype would still apply. */
12068 if { (eval echo configure
:12069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12070 eval "ac_cv_lib_$ac_lib_var=yes"
12072 echo "configure: failed program was:" >&5
12073 cat conftest.
$ac_ext >&5
12075 eval "ac_cv_lib_$ac_lib_var=no"
12078 LIBS
="$ac_save_LIBS"
12081 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12082 echo "$ac_t""yes" 1>&6
12083 TIFF_LINK
=" -ltiff"
12085 echo "$ac_t""no" 1>&6
12090 echo "$ac_t""no" 1>&6
12094 if test "x$TIFF_LINK" = "x" ; then
12095 if test "$wxUSE_LIBTIFF" = "sys" ; then
12096 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
12098 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
12099 wxUSE_LIBTIFF
=builtin
12106 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12107 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
12119 if test "$USE_WIN32" = 1 ; then
12120 for ac_hdr
in w32api.h
12122 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12123 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12124 echo "configure:12125: checking for $ac_hdr" >&5
12125 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12126 echo $ac_n "(cached) $ac_c" 1>&6
12128 cat > conftest.
$ac_ext <<EOF
12129 #line 12130 "configure"
12130 #include "confdefs.h"
12133 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12134 { (eval echo configure
:12135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12135 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12136 if test -z "$ac_err"; then
12138 eval "ac_cv_header_$ac_safe=yes"
12141 echo "configure: failed program was:" >&5
12142 cat conftest.
$ac_ext >&5
12144 eval "ac_cv_header_$ac_safe=no"
12148 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12149 echo "$ac_t""yes" 1>&6
12150 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12151 cat >> confdefs.h
<<EOF
12152 #define $ac_tr_hdr 1
12156 echo "$ac_t""no" 1>&6
12160 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
12161 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12162 echo "configure:12163: checking for windows.h" >&5
12163 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12164 echo $ac_n "(cached) $ac_c" 1>&6
12166 cat > conftest.
$ac_ext <<EOF
12167 #line 12168 "configure"
12168 #include "confdefs.h"
12169 #include <windows.h>
12171 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12172 { (eval echo configure
:12173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12173 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12174 if test -z "$ac_err"; then
12176 eval "ac_cv_header_$ac_safe=yes"
12179 echo "configure: failed program was:" >&5
12180 cat conftest.
$ac_ext >&5
12182 eval "ac_cv_header_$ac_safe=no"
12186 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12187 echo "$ac_t""yes" 1>&6
12190 echo "$ac_t""no" 1>&6
12192 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12197 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
12198 echo "configure:12199: checking if w32api has good enough MSIE support" >&5
12199 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
12200 echo $ac_n "(cached) $ac_c" 1>&6
12203 cat > conftest.
$ac_ext <<EOF
12204 #line 12205 "configure"
12205 #include "confdefs.h"
12206 #include <w32api.h>
12209 #define wxCHECK_W32API_VERSION( major, minor ) \
12210 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
12211 && ( ( __W32API_MAJOR_VERSION > (major) ) \
12212 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
12214 #if !wxCHECK_W32API_VERSION(1,1)
12215 #error You need w32api 1.1 or newer
12220 if { (eval echo configure
:12221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12223 wx_cv_w32api_win32_ie
=yes
12226 echo "configure: failed program was:" >&5
12227 cat conftest.
$ac_ext >&5
12230 wx_cv_w32api_win32_ie
=no
12237 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
12238 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
12239 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
12242 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
12246 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
12247 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
12250 if test "$wxUSE_ODBC" = "yes" ; then
12251 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
12254 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
12255 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
12257 WIN32INSTALL
=win32install
12260 if test "$USE_DARWIN" = 1; then
12261 if test "$wxUSE_PRECOMP" = "yes"; then
12262 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
12264 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
12268 if test "$wxUSE_GUI" = "yes"; then
12277 if test "$wxUSE_MSW" = 1 ; then
12281 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
12284 if test "$wxUSE_GTK" = 1; then
12285 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
12286 echo "configure:12287: checking for GTK+ version" >&5
12288 gtk_version_cached
=1
12289 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
12290 echo $ac_n "(cached) $ac_c" 1>&6
12293 gtk_version_cached
=0
12294 echo "$ac_t""" 1>&6
12297 if test "$wxUSE_THREADS" = "yes"; then
12298 GTK_MODULES
=gthread
12302 if test "x$wxUSE_GTK2" = "xyes"; then
12303 # Check whether --enable-gtktest or --disable-gtktest was given.
12304 if test "${enable_gtktest+set}" = set; then
12305 enableval
="$enable_gtktest"
12312 pkg_config_args
=gtk
+-2.0
12313 for module
in .
$GTK_MODULES
12317 pkg_config_args
="$pkg_config_args gthread-2.0"
12324 # Extract the first word of "pkg-config", so it can be a program name with args.
12325 set dummy pkg
-config; ac_word
=$2
12326 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12327 echo "configure:12328: checking for $ac_word" >&5
12328 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
12329 echo $ac_n "(cached) $ac_c" 1>&6
12331 case "$PKG_CONFIG" in
12333 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12336 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
12339 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12341 for ac_dir
in $ac_dummy; do
12342 test -z "$ac_dir" && ac_dir
=.
12343 if test -f $ac_dir/$ac_word; then
12344 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
12349 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12353 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12354 if test -n "$PKG_CONFIG"; then
12355 echo "$ac_t""$PKG_CONFIG" 1>&6
12357 echo "$ac_t""no" 1>&6
12361 if test x
$PKG_CONFIG != xno
; then
12362 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
12365 echo *** pkg
-config too old
; version
0.7 or better required.
12373 min_gtk_version
=2.0.0
12374 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
12375 echo "configure:12376: checking for GTK+ - version >= $min_gtk_version" >&5
12377 if test x
$PKG_CONFIG != xno
; then
12378 ## don't try to run the test against uninstalled libtool libs
12379 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12380 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
12384 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
12391 if test x
"$no_gtk" = x
; then
12392 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
12393 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
12394 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12395 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12396 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12397 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12398 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12399 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12400 if test "x$enable_gtktest" = "xyes" ; then
12401 ac_save_CFLAGS
="$CFLAGS"
12402 ac_save_LIBS
="$LIBS"
12403 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12404 LIBS
="$GTK_LIBS $LIBS"
12406 if test "$cross_compiling" = yes; then
12407 echo $ac_n "cross compiling; assumed OK... $ac_c"
12409 cat > conftest.
$ac_ext <<EOF
12410 #line 12411 "configure"
12411 #include "confdefs.h"
12413 #include <gtk/gtk.h>
12415 #include <stdlib.h>
12420 int major, minor, micro;
12423 system ("touch conf.gtktest");
12425 /* HP/UX 9 (%@#!) writes to sscanf strings */
12426 tmp_version = g_strdup("$min_gtk_version");
12427 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12428 printf("%s, bad version string\n", "$min_gtk_version");
12432 if ((gtk_major_version != $gtk_config_major_version) ||
12433 (gtk_minor_version != $gtk_config_minor_version) ||
12434 (gtk_micro_version != $gtk_config_micro_version))
12436 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12437 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12438 gtk_major_version, gtk_minor_version, gtk_micro_version);
12439 printf ("*** was found! If pkg-config was correct, then it is best\n");
12440 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12441 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12442 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12443 printf("*** required on your system.\n");
12444 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12445 printf("*** to point to the correct configuration files\n");
12447 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12448 (gtk_minor_version != GTK_MINOR_VERSION) ||
12449 (gtk_micro_version != GTK_MICRO_VERSION))
12451 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12452 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12453 printf("*** library (version %d.%d.%d)\n",
12454 gtk_major_version, gtk_minor_version, gtk_micro_version);
12458 if ((gtk_major_version > major) ||
12459 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12460 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12466 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12467 gtk_major_version, gtk_minor_version, gtk_micro_version);
12468 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12469 major, minor, micro);
12470 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12472 printf("*** If you have already installed a sufficiently new version, this error\n");
12473 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12474 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12475 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
12476 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12477 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12478 printf("*** so that the correct libraries are found at run-time))\n");
12485 if { (eval echo configure
:12486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12489 echo "configure: failed program was:" >&5
12490 cat conftest.
$ac_ext >&5
12497 CFLAGS
="$ac_save_CFLAGS"
12498 LIBS
="$ac_save_LIBS"
12501 if test "x$no_gtk" = x
; then
12502 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
12505 echo "$ac_t""no" 1>&6
12506 if test "$PKG_CONFIG" = "no" ; then
12507 echo "*** A new enough version of pkg-config was not found."
12508 echo "*** See http://pkgconfig.sourceforge.net"
12510 if test -f conf.gtktest
; then
12513 echo "*** Could not run GTK+ test program, checking why..."
12514 ac_save_CFLAGS
="$CFLAGS"
12515 ac_save_LIBS
="$LIBS"
12516 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12517 LIBS
="$LIBS $GTK_LIBS"
12518 cat > conftest.
$ac_ext <<EOF
12519 #line 12520 "configure"
12520 #include "confdefs.h"
12522 #include <gtk/gtk.h>
12526 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12529 if { (eval echo configure
:12530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12531 echo "*** The test program compiled, but did not run. This usually means"
12532 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
12533 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
12534 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12535 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12536 echo "*** is required on your system"
12538 echo "*** If you have an old version installed, it is best to remove it, although"
12539 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12541 echo "configure: failed program was:" >&5
12542 cat conftest.
$ac_ext >&5
12544 echo "*** The test program failed to compile or link. See the file config.log for the"
12545 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
12548 CFLAGS
="$ac_save_CFLAGS"
12549 LIBS
="$ac_save_LIBS"
12561 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12562 if test "${with_gtk_prefix+set}" = set; then
12563 withval
="$with_gtk_prefix"
12564 gtk_config_prefix
="$withval"
12566 gtk_config_prefix
=""
12569 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12570 if test "${with_gtk_exec_prefix+set}" = set; then
12571 withval
="$with_gtk_exec_prefix"
12572 gtk_config_exec_prefix
="$withval"
12574 gtk_config_exec_prefix
=""
12577 # Check whether --enable-gtktest or --disable-gtktest was given.
12578 if test "${enable_gtktest+set}" = set; then
12579 enableval
="$enable_gtktest"
12586 for module
in .
$GTK_MODULES
12590 gtk_config_args
="$gtk_config_args gthread"
12595 if test x
$gtk_config_exec_prefix != x
; then
12596 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12597 if test x
${GTK_CONFIG+set} != xset
; then
12598 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12601 if test x
$gtk_config_prefix != x
; then
12602 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12603 if test x
${GTK_CONFIG+set} != xset
; then
12604 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12608 # Extract the first word of "gtk-config", so it can be a program name with args.
12609 set dummy gtk
-config; ac_word
=$2
12610 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12611 echo "configure:12612: checking for $ac_word" >&5
12612 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12613 echo $ac_n "(cached) $ac_c" 1>&6
12615 case "$GTK_CONFIG" in
12617 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12620 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12623 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12625 for ac_dir
in $ac_dummy; do
12626 test -z "$ac_dir" && ac_dir
=.
12627 if test -f $ac_dir/$ac_word; then
12628 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12633 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12637 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12638 if test -n "$GTK_CONFIG"; then
12639 echo "$ac_t""$GTK_CONFIG" 1>&6
12641 echo "$ac_t""no" 1>&6
12644 min_gtk_version
=1.2.7
12645 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12646 echo "configure:12647: checking for GTK - version >= $min_gtk_version" >&5
12648 if test "$GTK_CONFIG" = "no" ; then
12651 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12652 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12653 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12654 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12655 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12656 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12657 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12658 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12659 if test "x$enable_gtktest" = "xyes" ; then
12660 ac_save_CFLAGS
="$CFLAGS"
12661 ac_save_LIBS
="$LIBS"
12662 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12663 LIBS
="$GTK_LIBS $LIBS"
12665 if test "$cross_compiling" = yes; then
12666 echo $ac_n "cross compiling; assumed OK... $ac_c"
12668 cat > conftest.
$ac_ext <<EOF
12669 #line 12670 "configure"
12670 #include "confdefs.h"
12672 #include <gtk/gtk.h>
12674 #include <stdlib.h>
12679 int major, minor, micro;
12682 system ("touch conf.gtktest");
12684 /* HP/UX 9 (%@#!) writes to sscanf strings */
12685 tmp_version = g_strdup("$min_gtk_version");
12686 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12687 printf("%s, bad version string\n", "$min_gtk_version");
12691 if ((gtk_major_version != $gtk_config_major_version) ||
12692 (gtk_minor_version != $gtk_config_minor_version) ||
12693 (gtk_micro_version != $gtk_config_micro_version))
12695 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12696 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12697 gtk_major_version, gtk_minor_version, gtk_micro_version);
12698 printf ("*** was found! If gtk-config was correct, then it is best\n");
12699 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12700 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12701 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12702 printf("*** required on your system.\n");
12703 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12704 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12705 printf("*** before re-running configure\n");
12707 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12708 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12709 (gtk_minor_version != GTK_MINOR_VERSION) ||
12710 (gtk_micro_version != GTK_MICRO_VERSION))
12712 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12713 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12714 printf("*** library (version %d.%d.%d)\n",
12715 gtk_major_version, gtk_minor_version, gtk_micro_version);
12717 #endif /* defined (GTK_MAJOR_VERSION) ... */
12720 if ((gtk_major_version > major) ||
12721 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12722 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12728 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12729 gtk_major_version, gtk_minor_version, gtk_micro_version);
12730 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12731 major, minor, micro);
12732 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12734 printf("*** If you have already installed a sufficiently new version, this error\n");
12735 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12736 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12737 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12738 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12739 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12740 printf("*** so that the correct libraries are found at run-time))\n");
12747 if { (eval echo configure
:12748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12751 echo "configure: failed program was:" >&5
12752 cat conftest.
$ac_ext >&5
12759 CFLAGS
="$ac_save_CFLAGS"
12760 LIBS
="$ac_save_LIBS"
12763 if test "x$no_gtk" = x
; then
12764 echo "$ac_t""yes" 1>&6
12765 wx_cv_lib_gtk
=1.2.7
12767 echo "$ac_t""no" 1>&6
12768 if test "$GTK_CONFIG" = "no" ; then
12769 echo "*** The gtk-config script installed by GTK could not be found"
12770 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12771 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12772 echo "*** full path to gtk-config."
12774 if test -f conf.gtktest
; then
12777 echo "*** Could not run GTK test program, checking why..."
12778 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12779 LIBS
="$LIBS $GTK_LIBS"
12780 cat > conftest.
$ac_ext <<EOF
12781 #line 12782 "configure"
12782 #include "confdefs.h"
12784 #include <gtk/gtk.h>
12788 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12791 if { (eval echo configure
:12792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12793 echo "*** The test program compiled, but did not run. This usually means"
12794 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12795 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12796 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12797 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12798 echo "*** is required on your system"
12800 echo "*** If you have an old version installed, it is best to remove it, although"
12801 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12803 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12804 echo "*** came with the system with the command"
12806 echo "*** rpm --erase --nodeps gtk gtk-devel"
12808 echo "configure: failed program was:" >&5
12809 cat conftest.
$ac_ext >&5
12811 echo "*** The test program failed to compile or link. See the file config.log for the"
12812 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12813 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12814 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12817 CFLAGS
="$ac_save_CFLAGS"
12818 LIBS
="$ac_save_LIBS"
12830 if test -z "$wx_cv_lib_gtk"; then
12831 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12832 if test "${with_gtk_prefix+set}" = set; then
12833 withval
="$with_gtk_prefix"
12834 gtk_config_prefix
="$withval"
12836 gtk_config_prefix
=""
12839 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12840 if test "${with_gtk_exec_prefix+set}" = set; then
12841 withval
="$with_gtk_exec_prefix"
12842 gtk_config_exec_prefix
="$withval"
12844 gtk_config_exec_prefix
=""
12847 # Check whether --enable-gtktest or --disable-gtktest was given.
12848 if test "${enable_gtktest+set}" = set; then
12849 enableval
="$enable_gtktest"
12856 for module
in .
$GTK_MODULES
12860 gtk_config_args
="$gtk_config_args gthread"
12865 if test x
$gtk_config_exec_prefix != x
; then
12866 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12867 if test x
${GTK_CONFIG+set} != xset
; then
12868 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12871 if test x
$gtk_config_prefix != x
; then
12872 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12873 if test x
${GTK_CONFIG+set} != xset
; then
12874 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12878 # Extract the first word of "gtk-config", so it can be a program name with args.
12879 set dummy gtk
-config; ac_word
=$2
12880 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12881 echo "configure:12882: checking for $ac_word" >&5
12882 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12883 echo $ac_n "(cached) $ac_c" 1>&6
12885 case "$GTK_CONFIG" in
12887 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12890 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12893 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12895 for ac_dir
in $ac_dummy; do
12896 test -z "$ac_dir" && ac_dir
=.
12897 if test -f $ac_dir/$ac_word; then
12898 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12903 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12907 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12908 if test -n "$GTK_CONFIG"; then
12909 echo "$ac_t""$GTK_CONFIG" 1>&6
12911 echo "$ac_t""no" 1>&6
12914 min_gtk_version
=1.2.3
12915 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12916 echo "configure:12917: checking for GTK - version >= $min_gtk_version" >&5
12918 if test "$GTK_CONFIG" = "no" ; then
12921 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12922 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12923 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12924 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12925 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12926 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12927 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12929 if test "x$enable_gtktest" = "xyes" ; then
12930 ac_save_CFLAGS
="$CFLAGS"
12931 ac_save_LIBS
="$LIBS"
12932 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12933 LIBS
="$GTK_LIBS $LIBS"
12935 if test "$cross_compiling" = yes; then
12936 echo $ac_n "cross compiling; assumed OK... $ac_c"
12938 cat > conftest.
$ac_ext <<EOF
12939 #line 12940 "configure"
12940 #include "confdefs.h"
12942 #include <gtk/gtk.h>
12944 #include <stdlib.h>
12949 int major, minor, micro;
12952 system ("touch conf.gtktest");
12954 /* HP/UX 9 (%@#!) writes to sscanf strings */
12955 tmp_version = g_strdup("$min_gtk_version");
12956 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12957 printf("%s, bad version string\n", "$min_gtk_version");
12961 if ((gtk_major_version != $gtk_config_major_version) ||
12962 (gtk_minor_version != $gtk_config_minor_version) ||
12963 (gtk_micro_version != $gtk_config_micro_version))
12965 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12966 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12967 gtk_major_version, gtk_minor_version, gtk_micro_version);
12968 printf ("*** was found! If gtk-config was correct, then it is best\n");
12969 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12970 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12971 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12972 printf("*** required on your system.\n");
12973 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12974 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12975 printf("*** before re-running configure\n");
12977 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12978 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12979 (gtk_minor_version != GTK_MINOR_VERSION) ||
12980 (gtk_micro_version != GTK_MICRO_VERSION))
12982 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12983 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12984 printf("*** library (version %d.%d.%d)\n",
12985 gtk_major_version, gtk_minor_version, gtk_micro_version);
12987 #endif /* defined (GTK_MAJOR_VERSION) ... */
12990 if ((gtk_major_version > major) ||
12991 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12992 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12998 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12999 gtk_major_version, gtk_minor_version, gtk_micro_version);
13000 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
13001 major, minor, micro);
13002 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
13004 printf("*** If you have already installed a sufficiently new version, this error\n");
13005 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
13006 printf("*** being found. The easiest way to fix this is to remove the old version\n");
13007 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
13008 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
13009 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
13010 printf("*** so that the correct libraries are found at run-time))\n");
13017 if { (eval echo configure
:13018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13021 echo "configure: failed program was:" >&5
13022 cat conftest.
$ac_ext >&5
13029 CFLAGS
="$ac_save_CFLAGS"
13030 LIBS
="$ac_save_LIBS"
13033 if test "x$no_gtk" = x
; then
13034 echo "$ac_t""yes" 1>&6
13035 wx_cv_lib_gtk
=1.2.3
13037 echo "$ac_t""no" 1>&6
13038 if test "$GTK_CONFIG" = "no" ; then
13039 echo "*** The gtk-config script installed by GTK could not be found"
13040 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
13041 echo "*** your path, or set the GTK_CONFIG environment variable to the"
13042 echo "*** full path to gtk-config."
13044 if test -f conf.gtktest
; then
13047 echo "*** Could not run GTK test program, checking why..."
13048 CFLAGS
="$CFLAGS $GTK_CFLAGS"
13049 LIBS
="$LIBS $GTK_LIBS"
13050 cat > conftest.
$ac_ext <<EOF
13051 #line 13052 "configure"
13052 #include "confdefs.h"
13054 #include <gtk/gtk.h>
13058 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
13061 if { (eval echo configure
:13062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13063 echo "*** The test program compiled, but did not run. This usually means"
13064 echo "*** that the run-time linker is not finding GTK or finding the wrong"
13065 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
13066 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
13067 echo "*** to the installed location Also, make sure you have run ldconfig if that"
13068 echo "*** is required on your system"
13070 echo "*** If you have an old version installed, it is best to remove it, although"
13071 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13073 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
13074 echo "*** came with the system with the command"
13076 echo "*** rpm --erase --nodeps gtk gtk-devel"
13078 echo "configure: failed program was:" >&5
13079 cat conftest.
$ac_ext >&5
13081 echo "*** The test program failed to compile or link. See the file config.log for the"
13082 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
13083 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
13084 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
13087 CFLAGS
="$ac_save_CFLAGS"
13088 LIBS
="$ac_save_LIBS"
13102 if test -z "$wx_cv_lib_gtk"; then
13105 wx_cv_cflags_gtk
=$GTK_CFLAGS
13106 wx_cv_libs_gtk
=$GTK_LIBS
13113 if test "$gtk_version_cached" = 1; then
13114 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
13117 case "$wx_cv_lib_gtk" in
13126 *) { echo "configure: error:
13127 Please check that gtk-config is in path, the directory
13128 where GTK+ libraries are installed (returned by
13129 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
13130 equivalent variable and GTK+ is version 1.2.3 or above.
13135 if test "$WXGTK20" = 1; then
13136 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
13140 if test -z "$PKG_CONFIG"; then
13141 # Extract the first word of "pkg-config", so it can be a program name with args.
13142 set dummy pkg
-config; ac_word
=$2
13143 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13144 echo "configure:13145: checking for $ac_word" >&5
13145 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
13146 echo $ac_n "(cached) $ac_c" 1>&6
13148 case "$PKG_CONFIG" in
13150 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13153 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
13156 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13158 for ac_dir
in $ac_dummy; do
13159 test -z "$ac_dir" && ac_dir
=.
13160 if test -f $ac_dir/$ac_word; then
13161 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
13166 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13170 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13171 if test -n "$PKG_CONFIG"; then
13172 echo "$ac_t""$PKG_CONFIG" 1>&6
13174 echo "$ac_t""no" 1>&6
13179 if test "$PKG_CONFIG" = "no" ; then
13180 echo "*** The pkg-config script could not be found. Make sure it is"
13181 echo "*** in your path, or set the PKG_CONFIG environment variable"
13182 echo "*** to the full path to pkg-config."
13183 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13185 PKG_CONFIG_MIN_VERSION
=0.9.0
13186 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13187 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
13188 echo "configure:13189: checking for pangoft2" >&5
13190 if $PKG_CONFIG --exists "pangoft2" ; then
13191 echo "$ac_t""yes" 1>&6
13194 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
13195 echo "configure:13196: checking PANGOFT2_CFLAGS" >&5
13196 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
13197 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
13199 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
13200 echo "configure:13201: checking PANGOFT2_LIBS" >&5
13201 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
13202 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
13206 ## If we have a custom action on failure, don't print errors, but
13207 ## do set a variable so people can do so.
13208 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
13215 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13216 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13220 if test $succeeded = yes; then
13222 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
13223 LIBS
="$LIBS $PANGOFT2_LIBS"
13227 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
13228 wxUSE_PRINTING_ARCHITECTURE
="no"
13235 if test "$wxUSE_UNICODE" = "yes"; then
13236 echo "configure: warning: Unicode configuration not supported with GTK+ 1.x" 1>&2
13241 if test "$USE_DARWIN" != 1; then
13242 for ac_func
in poll
13244 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13245 echo "configure:13246: checking for $ac_func" >&5
13246 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13247 echo $ac_n "(cached) $ac_c" 1>&6
13249 cat > conftest.
$ac_ext <<EOF
13250 #line 13251 "configure"
13251 #include "confdefs.h"
13252 /* System header to define __stub macros and hopefully few prototypes,
13253 which can conflict with char $ac_func(); below. */
13254 #include <assert.h>
13255 /* Override any gcc2 internal prototype to avoid an error. */
13256 /* We use char because int might match the return type of a gcc2
13257 builtin and then its argument prototype would still apply. */
13262 /* The GNU C library defines this for functions which it implements
13263 to always fail with ENOSYS. Some functions are actually named
13264 something starting with __ and the normal name is an alias. */
13265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13273 if { (eval echo configure
:13274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13275 eval "ac_cv_func_$ac_func=yes"
13277 echo "configure: failed program was:" >&5
13278 cat conftest.
$ac_ext >&5
13280 eval "ac_cv_func_$ac_func=no"
13285 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13286 echo "$ac_t""yes" 1>&6
13287 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13288 cat >> confdefs.h
<<EOF
13289 #define $ac_tr_func 1
13293 echo "$ac_t""no" 1>&6
13299 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
13300 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
13302 AFMINSTALL
=afminstall
13306 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
13307 echo "configure:13308: checking for gdk_im_open in -lgdk" >&5
13308 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
13309 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13310 echo $ac_n "(cached) $ac_c" 1>&6
13312 ac_save_LIBS
="$LIBS"
13314 cat > conftest.
$ac_ext <<EOF
13315 #line 13316 "configure"
13316 #include "confdefs.h"
13317 /* Override any gcc2 internal prototype to avoid an error. */
13318 /* We use char because int might match the return type of a gcc2
13319 builtin and then its argument prototype would still apply. */
13320 char gdk_im_open();
13326 if { (eval echo configure
:13327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13328 eval "ac_cv_lib_$ac_lib_var=yes"
13330 echo "configure: failed program was:" >&5
13331 cat conftest.
$ac_ext >&5
13333 eval "ac_cv_lib_$ac_lib_var=no"
13336 LIBS
="$ac_save_LIBS"
13339 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13340 echo "$ac_t""yes" 1>&6
13341 cat >> confdefs.h
<<\EOF
13346 echo "$ac_t""no" 1>&6
13351 if test "$wxUSE_MGL" = 1; then
13352 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
13353 echo "configure:13354: checking for SciTech MGL library" >&5
13354 if test "x$MGL_ROOT" = x
; then
13355 echo "$ac_t""not found" 1>&6
13356 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
13358 echo "$ac_t""$MGL_ROOT" 1>&6
13363 mgl_os
="linux/gcc/glibc*"
13369 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
13374 if test "$wxUSE_DEBUG_FLAG" = yes ; then
13375 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
13376 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
13380 if test "x$mgl_lib_type" = x
; then
13381 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
13382 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
13383 mgl_lib_type
=release
13385 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
13389 wxUSE_UNIVERSAL
="yes"
13391 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
13392 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
13394 AFMINSTALL
=afminstall
13399 if test "$wxUSE_MICROWIN" = 1; then
13400 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
13401 echo "configure:13402: checking for MicroWindows" >&5
13402 if test "x$MICROWINDOWS" = x
; then
13403 echo "$ac_t""not found" 1>&6
13404 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
13406 echo "$ac_t""$MICROWINDOWS" 1>&6
13409 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
13410 echo "$ac_t""MicroWindows' libraries found." 1>&6
13412 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
13415 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
13416 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
13418 wxUSE_UNIVERSAL
="yes"
13420 AFMINSTALL
=afminstall
13422 GUIDIST
=MICROWIN_DIST
13424 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
13427 if test "$wxUSE_X11" = 1; then
13428 # If we find X, set shell vars x_includes and x_libraries to the
13429 # paths, otherwise set no_x=yes.
13430 # Uses ac_ vars as temps to allow command line to override cache and checks.
13431 # --without-x overrides everything else, but does not touch the cache.
13432 echo $ac_n "checking for X""... $ac_c" 1>&6
13433 echo "configure:13434: checking for X" >&5
13435 # Check whether --with-x or --without-x was given.
13436 if test "${with_x+set}" = set; then
13441 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13442 if test "x$with_x" = xno
; then
13443 # The user explicitly disabled X.
13446 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
13447 # Both variables are already set.
13450 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
13451 echo $ac_n "(cached) $ac_c" 1>&6
13453 # One or both of the vars are not set, and there is no cached value.
13454 ac_x_includes
=NO ac_x_libraries
=NO
13456 if mkdir conftestdir
; then
13458 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
13459 cat > Imakefile
<<'EOF'
13461 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
13463 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13464 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13465 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
13466 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13467 for ac_extension
in a so sl
; do
13468 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
13469 test -f $ac_im_libdir/libX11.
$ac_extension; then
13470 ac_im_usrlibdir
=$ac_im_libdir; break
13473 # Screen out bogus values from the imake configuration. They are
13474 # bogus both because they are the default anyway, and because
13475 # using them would break gcc on systems where it needs fixed includes.
13476 case "$ac_im_incroot" in
13478 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
13480 case "$ac_im_usrlibdir" in
13481 /usr
/lib
| /lib
) ;;
13482 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
13489 if test "$ac_x_includes" = NO
; then
13490 # Guess where to find include files, by looking for this one X11 .h file.
13491 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
13493 # First, try using that file with no special directory specified.
13494 cat > conftest.
$ac_ext <<EOF
13495 #line 13496 "configure"
13496 #include "confdefs.h"
13497 #include <$x_direct_test_include>
13499 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13500 { (eval echo configure
:13501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13501 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13502 if test -z "$ac_err"; then
13504 # We can compile using X headers with no special include directory.
13508 echo "configure: failed program was:" >&5
13509 cat conftest.
$ac_ext >&5
13511 # Look for the header file in a standard set of common directories.
13512 # Check X11 before X11Rn because it is often a symlink to the current release.
13515 /usr
/X
11R
6/include \
13516 /usr
/X
11R
5/include \
13517 /usr
/X
11R
4/include \
13520 /usr
/include
/X11R6 \
13521 /usr
/include
/X11R5 \
13522 /usr
/include
/X11R4 \
13524 /usr
/local
/X
11/include \
13525 /usr
/local
/X
11R
6/include \
13526 /usr
/local
/X
11R
5/include \
13527 /usr
/local
/X
11R
4/include \
13529 /usr
/local
/include
/X11 \
13530 /usr
/local
/include
/X11R6 \
13531 /usr
/local
/include
/X11R5 \
13532 /usr
/local
/include
/X11R4 \
13534 /usr
/X
386/include \
13535 /usr
/x
386/include \
13536 /usr
/XFree
86/include
/X11 \
13539 /usr
/local
/include \
13540 /usr
/unsupported
/include \
13541 /usr
/athena
/include \
13542 /usr
/local
/x
11r
5/include \
13543 /usr
/lpp
/Xamples
/include \
13545 /usr
/openwin
/include \
13546 /usr
/openwin
/share
/include \
13549 if test -r "$ac_dir/$x_direct_test_include"; then
13550 ac_x_includes
=$ac_dir
13556 fi # $ac_x_includes = NO
13558 if test "$ac_x_libraries" = NO
; then
13559 # Check for the libraries.
13561 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
13562 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
13564 # See if we find them without any special options.
13565 # Don't add to $LIBS permanently.
13566 ac_save_LIBS
="$LIBS"
13567 LIBS
="-l$x_direct_test_library $LIBS"
13568 cat > conftest.
$ac_ext <<EOF
13569 #line 13570 "configure"
13570 #include "confdefs.h"
13573 ${x_direct_test_function}()
13576 if { (eval echo configure
:13577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13578 LIBS
="$ac_save_LIBS"
13579 # We can link X programs with no special library path.
13582 echo "configure: failed program was:" >&5
13583 cat conftest.
$ac_ext >&5
13585 LIBS
="$ac_save_LIBS"
13586 # First see if replacing the include by lib works.
13587 # Check X11 before X11Rn because it is often a symlink to the current release.
13588 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
13599 /usr
/local
/X
11/lib \
13600 /usr
/local
/X
11R
6/lib \
13601 /usr
/local
/X
11R
5/lib \
13602 /usr
/local
/X
11R
4/lib \
13604 /usr
/local
/lib
/X11 \
13605 /usr
/local
/lib
/X11R6 \
13606 /usr
/local
/lib
/X11R5 \
13607 /usr
/local
/lib
/X11R4 \
13611 /usr
/XFree
86/lib
/X11 \
13615 /usr
/unsupported
/lib \
13617 /usr
/local
/x
11r
5/lib \
13618 /usr
/lpp
/Xamples
/lib \
13622 /usr
/openwin
/share
/lib \
13625 for ac_extension
in a so sl
; do
13626 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
13627 ac_x_libraries
=$ac_dir
13634 fi # $ac_x_libraries = NO
13636 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
13637 # Didn't find X anywhere. Cache the known absence of X.
13638 ac_cv_have_x
="have_x=no"
13640 # Record where we found X for the cache.
13641 ac_cv_have_x
="have_x=yes \
13642 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
13646 eval "$ac_cv_have_x"
13649 if test "$have_x" != yes; then
13650 echo "$ac_t""$have_x" 1>&6
13653 # If each of the values was on the command line, it overrides each guess.
13654 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13655 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13656 # Update the cache value to reflect the command line values.
13657 ac_cv_have_x
="have_x=yes \
13658 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
13659 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
13662 if test "$no_x" = yes; then
13663 # Not all programs may use this symbol, but it does not hurt to define it.
13664 cat >> confdefs.h
<<\EOF
13665 #define X_DISPLAY_MISSING 1
13668 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13670 if test -n "$x_includes"; then
13671 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13674 # It would also be nice to do this for all -L options, not just this one.
13675 if test -n "$x_libraries"; then
13676 X_LIBS
="$X_LIBS -L$x_libraries"
13677 # For Solaris; some versions of Sun CC require a space after -R and
13678 # others require no space. Words are not sufficient . . . .
13679 case "`(uname -sr) 2>/dev/null`" in
13681 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13682 echo "configure:13683: checking whether -R must be followed by a space" >&5
13683 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13684 cat > conftest.
$ac_ext <<EOF
13685 #line 13686 "configure"
13686 #include "confdefs.h"
13692 if { (eval echo configure
:13693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13696 echo "configure: failed program was:" >&5
13697 cat conftest.
$ac_ext >&5
13702 if test $ac_R_nospace = yes; then
13703 echo "$ac_t""no" 1>&6
13704 X_LIBS
="$X_LIBS -R$x_libraries"
13706 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13707 cat > conftest.
$ac_ext <<EOF
13708 #line 13709 "configure"
13709 #include "confdefs.h"
13715 if { (eval echo configure
:13716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13719 echo "configure: failed program was:" >&5
13720 cat conftest.
$ac_ext >&5
13725 if test $ac_R_space = yes; then
13726 echo "$ac_t""yes" 1>&6
13727 X_LIBS
="$X_LIBS -R $x_libraries"
13729 echo "$ac_t""neither works" 1>&6
13732 LIBS
="$ac_xsave_LIBS"
13736 # Check for system-dependent libraries X programs must link with.
13737 # Do this before checking for the system-independent R6 libraries
13738 # (-lICE), since we may need -lsocket or whatever for X linking.
13740 if test "$ISC" = yes; then
13741 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13743 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13744 # libraries were built with DECnet support. And karl@cs.umb.edu says
13745 # the Alpha needs dnet_stub (dnet does not exist).
13746 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13747 echo "configure:13748: checking for dnet_ntoa in -ldnet" >&5
13748 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13749 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13750 echo $ac_n "(cached) $ac_c" 1>&6
13752 ac_save_LIBS
="$LIBS"
13753 LIBS
="-ldnet $LIBS"
13754 cat > conftest.
$ac_ext <<EOF
13755 #line 13756 "configure"
13756 #include "confdefs.h"
13757 /* Override any gcc2 internal prototype to avoid an error. */
13758 /* We use char because int might match the return type of a gcc2
13759 builtin and then its argument prototype would still apply. */
13766 if { (eval echo configure
:13767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13768 eval "ac_cv_lib_$ac_lib_var=yes"
13770 echo "configure: failed program was:" >&5
13771 cat conftest.
$ac_ext >&5
13773 eval "ac_cv_lib_$ac_lib_var=no"
13776 LIBS
="$ac_save_LIBS"
13779 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13780 echo "$ac_t""yes" 1>&6
13781 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13783 echo "$ac_t""no" 1>&6
13786 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13787 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13788 echo "configure:13789: checking for dnet_ntoa in -ldnet_stub" >&5
13789 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13790 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13791 echo $ac_n "(cached) $ac_c" 1>&6
13793 ac_save_LIBS
="$LIBS"
13794 LIBS
="-ldnet_stub $LIBS"
13795 cat > conftest.
$ac_ext <<EOF
13796 #line 13797 "configure"
13797 #include "confdefs.h"
13798 /* Override any gcc2 internal prototype to avoid an error. */
13799 /* We use char because int might match the return type of a gcc2
13800 builtin and then its argument prototype would still apply. */
13807 if { (eval echo configure
:13808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13809 eval "ac_cv_lib_$ac_lib_var=yes"
13811 echo "configure: failed program was:" >&5
13812 cat conftest.
$ac_ext >&5
13814 eval "ac_cv_lib_$ac_lib_var=no"
13817 LIBS
="$ac_save_LIBS"
13820 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13821 echo "$ac_t""yes" 1>&6
13822 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13824 echo "$ac_t""no" 1>&6
13829 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13830 # to get the SysV transport functions.
13831 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13833 # The nsl library prevents programs from opening the X display
13834 # on Irix 5.2, according to dickey@clark.net.
13835 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13836 echo "configure:13837: checking for gethostbyname" >&5
13837 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13838 echo $ac_n "(cached) $ac_c" 1>&6
13840 cat > conftest.
$ac_ext <<EOF
13841 #line 13842 "configure"
13842 #include "confdefs.h"
13843 /* System header to define __stub macros and hopefully few prototypes,
13844 which can conflict with char gethostbyname(); below. */
13845 #include <assert.h>
13846 /* Override any gcc2 internal prototype to avoid an error. */
13847 /* We use char because int might match the return type of a gcc2
13848 builtin and then its argument prototype would still apply. */
13849 char gethostbyname();
13853 /* The GNU C library defines this for functions which it implements
13854 to always fail with ENOSYS. Some functions are actually named
13855 something starting with __ and the normal name is an alias. */
13856 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13864 if { (eval echo configure
:13865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13866 eval "ac_cv_func_gethostbyname=yes"
13868 echo "configure: failed program was:" >&5
13869 cat conftest.
$ac_ext >&5
13871 eval "ac_cv_func_gethostbyname=no"
13876 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13877 echo "$ac_t""yes" 1>&6
13880 echo "$ac_t""no" 1>&6
13883 if test $ac_cv_func_gethostbyname = no
; then
13884 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13885 echo "configure:13886: checking for gethostbyname in -lnsl" >&5
13886 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13887 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13888 echo $ac_n "(cached) $ac_c" 1>&6
13890 ac_save_LIBS
="$LIBS"
13892 cat > conftest.
$ac_ext <<EOF
13893 #line 13894 "configure"
13894 #include "confdefs.h"
13895 /* Override any gcc2 internal prototype to avoid an error. */
13896 /* We use char because int might match the return type of a gcc2
13897 builtin and then its argument prototype would still apply. */
13898 char gethostbyname();
13904 if { (eval echo configure
:13905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13906 eval "ac_cv_lib_$ac_lib_var=yes"
13908 echo "configure: failed program was:" >&5
13909 cat conftest.
$ac_ext >&5
13911 eval "ac_cv_lib_$ac_lib_var=no"
13914 LIBS
="$ac_save_LIBS"
13917 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13918 echo "$ac_t""yes" 1>&6
13919 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13921 echo "$ac_t""no" 1>&6
13926 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13927 # socket/setsockopt and other routines are undefined under SCO ODT
13928 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13929 # on later versions), says simon@lia.di.epfl.ch: it contains
13930 # gethostby* variants that don't use the nameserver (or something).
13931 # -lsocket must be given before -lnsl if both are needed.
13932 # We assume that if connect needs -lnsl, so does gethostbyname.
13933 echo $ac_n "checking for connect""... $ac_c" 1>&6
13934 echo "configure:13935: checking for connect" >&5
13935 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13936 echo $ac_n "(cached) $ac_c" 1>&6
13938 cat > conftest.
$ac_ext <<EOF
13939 #line 13940 "configure"
13940 #include "confdefs.h"
13941 /* System header to define __stub macros and hopefully few prototypes,
13942 which can conflict with char connect(); below. */
13943 #include <assert.h>
13944 /* Override any gcc2 internal prototype to avoid an error. */
13945 /* We use char because int might match the return type of a gcc2
13946 builtin and then its argument prototype would still apply. */
13951 /* The GNU C library defines this for functions which it implements
13952 to always fail with ENOSYS. Some functions are actually named
13953 something starting with __ and the normal name is an alias. */
13954 #if defined (__stub_connect) || defined (__stub___connect)
13962 if { (eval echo configure
:13963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13964 eval "ac_cv_func_connect=yes"
13966 echo "configure: failed program was:" >&5
13967 cat conftest.
$ac_ext >&5
13969 eval "ac_cv_func_connect=no"
13974 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
13975 echo "$ac_t""yes" 1>&6
13978 echo "$ac_t""no" 1>&6
13981 if test $ac_cv_func_connect = no
; then
13982 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
13983 echo "configure:13984: checking for connect in -lsocket" >&5
13984 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
13985 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13986 echo $ac_n "(cached) $ac_c" 1>&6
13988 ac_save_LIBS
="$LIBS"
13989 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13990 cat > conftest.
$ac_ext <<EOF
13991 #line 13992 "configure"
13992 #include "confdefs.h"
13993 /* Override any gcc2 internal prototype to avoid an error. */
13994 /* We use char because int might match the return type of a gcc2
13995 builtin and then its argument prototype would still apply. */
14002 if { (eval echo configure
:14003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14004 eval "ac_cv_lib_$ac_lib_var=yes"
14006 echo "configure: failed program was:" >&5
14007 cat conftest.
$ac_ext >&5
14009 eval "ac_cv_lib_$ac_lib_var=no"
14012 LIBS
="$ac_save_LIBS"
14015 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14016 echo "$ac_t""yes" 1>&6
14017 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14019 echo "$ac_t""no" 1>&6
14024 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14025 echo $ac_n "checking for remove""... $ac_c" 1>&6
14026 echo "configure:14027: checking for remove" >&5
14027 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14028 echo $ac_n "(cached) $ac_c" 1>&6
14030 cat > conftest.
$ac_ext <<EOF
14031 #line 14032 "configure"
14032 #include "confdefs.h"
14033 /* System header to define __stub macros and hopefully few prototypes,
14034 which can conflict with char remove(); below. */
14035 #include <assert.h>
14036 /* Override any gcc2 internal prototype to avoid an error. */
14037 /* We use char because int might match the return type of a gcc2
14038 builtin and then its argument prototype would still apply. */
14043 /* The GNU C library defines this for functions which it implements
14044 to always fail with ENOSYS. Some functions are actually named
14045 something starting with __ and the normal name is an alias. */
14046 #if defined (__stub_remove) || defined (__stub___remove)
14054 if { (eval echo configure
:14055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14056 eval "ac_cv_func_remove=yes"
14058 echo "configure: failed program was:" >&5
14059 cat conftest.
$ac_ext >&5
14061 eval "ac_cv_func_remove=no"
14066 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14067 echo "$ac_t""yes" 1>&6
14070 echo "$ac_t""no" 1>&6
14073 if test $ac_cv_func_remove = no
; then
14074 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14075 echo "configure:14076: checking for remove in -lposix" >&5
14076 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14077 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14078 echo $ac_n "(cached) $ac_c" 1>&6
14080 ac_save_LIBS
="$LIBS"
14081 LIBS
="-lposix $LIBS"
14082 cat > conftest.
$ac_ext <<EOF
14083 #line 14084 "configure"
14084 #include "confdefs.h"
14085 /* Override any gcc2 internal prototype to avoid an error. */
14086 /* We use char because int might match the return type of a gcc2
14087 builtin and then its argument prototype would still apply. */
14094 if { (eval echo configure
:14095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14096 eval "ac_cv_lib_$ac_lib_var=yes"
14098 echo "configure: failed program was:" >&5
14099 cat conftest.
$ac_ext >&5
14101 eval "ac_cv_lib_$ac_lib_var=no"
14104 LIBS
="$ac_save_LIBS"
14107 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14108 echo "$ac_t""yes" 1>&6
14109 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14111 echo "$ac_t""no" 1>&6
14116 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14117 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14118 echo "configure:14119: checking for shmat" >&5
14119 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14120 echo $ac_n "(cached) $ac_c" 1>&6
14122 cat > conftest.
$ac_ext <<EOF
14123 #line 14124 "configure"
14124 #include "confdefs.h"
14125 /* System header to define __stub macros and hopefully few prototypes,
14126 which can conflict with char shmat(); below. */
14127 #include <assert.h>
14128 /* Override any gcc2 internal prototype to avoid an error. */
14129 /* We use char because int might match the return type of a gcc2
14130 builtin and then its argument prototype would still apply. */
14135 /* The GNU C library defines this for functions which it implements
14136 to always fail with ENOSYS. Some functions are actually named
14137 something starting with __ and the normal name is an alias. */
14138 #if defined (__stub_shmat) || defined (__stub___shmat)
14146 if { (eval echo configure
:14147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14148 eval "ac_cv_func_shmat=yes"
14150 echo "configure: failed program was:" >&5
14151 cat conftest.
$ac_ext >&5
14153 eval "ac_cv_func_shmat=no"
14158 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14159 echo "$ac_t""yes" 1>&6
14162 echo "$ac_t""no" 1>&6
14165 if test $ac_cv_func_shmat = no
; then
14166 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14167 echo "configure:14168: checking for shmat in -lipc" >&5
14168 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14169 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14170 echo $ac_n "(cached) $ac_c" 1>&6
14172 ac_save_LIBS
="$LIBS"
14174 cat > conftest.
$ac_ext <<EOF
14175 #line 14176 "configure"
14176 #include "confdefs.h"
14177 /* Override any gcc2 internal prototype to avoid an error. */
14178 /* We use char because int might match the return type of a gcc2
14179 builtin and then its argument prototype would still apply. */
14186 if { (eval echo configure
:14187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14188 eval "ac_cv_lib_$ac_lib_var=yes"
14190 echo "configure: failed program was:" >&5
14191 cat conftest.
$ac_ext >&5
14193 eval "ac_cv_lib_$ac_lib_var=no"
14196 LIBS
="$ac_save_LIBS"
14199 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14200 echo "$ac_t""yes" 1>&6
14201 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14203 echo "$ac_t""no" 1>&6
14209 # Check for libraries that X11R6 Xt/Xaw programs need.
14210 ac_save_LDFLAGS
="$LDFLAGS"
14211 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14212 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14213 # check for ICE first), but we must link in the order -lSM -lICE or
14214 # we get undefined symbols. So assume we have SM if we have ICE.
14215 # These have to be linked with before -lX11, unlike the other
14216 # libraries we check for below, so use a different variable.
14217 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14218 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14219 echo "configure:14220: checking for IceConnectionNumber in -lICE" >&5
14220 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14221 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14222 echo $ac_n "(cached) $ac_c" 1>&6
14224 ac_save_LIBS
="$LIBS"
14225 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14226 cat > conftest.
$ac_ext <<EOF
14227 #line 14228 "configure"
14228 #include "confdefs.h"
14229 /* Override any gcc2 internal prototype to avoid an error. */
14230 /* We use char because int might match the return type of a gcc2
14231 builtin and then its argument prototype would still apply. */
14232 char IceConnectionNumber();
14235 IceConnectionNumber()
14238 if { (eval echo configure
:14239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14240 eval "ac_cv_lib_$ac_lib_var=yes"
14242 echo "configure: failed program was:" >&5
14243 cat conftest.
$ac_ext >&5
14245 eval "ac_cv_lib_$ac_lib_var=no"
14248 LIBS
="$ac_save_LIBS"
14251 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14252 echo "$ac_t""yes" 1>&6
14253 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14255 echo "$ac_t""no" 1>&6
14258 LDFLAGS
="$ac_save_LDFLAGS"
14263 if test "$no_x" = "yes"; then
14264 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14267 GUI_TK_LIBRARY
="$X_LIBS"
14268 TOOLKIT_INCLUDE
="$X_CFLAGS"
14269 AFMINSTALL
=afminstall
14270 COMPILED_X_PROGRAM
=0
14272 if test "$wxUSE_NANOX" = "yes"; then
14273 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
14274 echo "configure:14275: checking for MicroWindows/NanoX distribution" >&5
14275 if test "x$MICROWIN" = x
; then
14276 echo "$ac_t""not found" 1>&6
14277 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
14279 echo "$ac_t""$MICROWIN" 1>&6
14280 cat >> confdefs.h
<<\EOF
14281 #define wxUSE_NANOX 1
14288 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14289 echo "configure:14290: checking for Xpm library" >&5
14292 for ac_dir
in $SEARCH_LIB /usr
/lib
;
14294 for ac_extension
in a so sl dylib
; do
14295 if test -f "$ac_dir/libXpm.$ac_extension"; then
14296 ac_find_libraries
=$ac_dir
14302 if test "$ac_find_libraries" != "" ; then
14304 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14306 if test $result = 0; then
14309 ac_path_to_link
=" -L$ac_find_libraries"
14312 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14314 cat >> confdefs.h
<<\EOF
14315 #define wxHAVE_LIB_XPM 1
14318 echo "$ac_t""found at $ac_find_libraries" 1>&6
14320 cat > conftest.
$ac_ext <<EOF
14321 #line 14322 "configure"
14322 #include "confdefs.h"
14324 #include <X11/xpm.h>
14329 version = XpmLibraryVersion();
14333 if { (eval echo configure
:14334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14337 cat >> confdefs.h
<<\EOF
14338 #define wxHAVE_LIB_XPM 1
14341 echo "$ac_t""found in default search path" 1>&6
14342 COMPILED_X_PROGRAM
=0
14345 echo "configure: failed program was:" >&5
14346 cat conftest.
$ac_ext >&5
14349 echo "$ac_t""no" 1>&6
14350 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14357 if test "$wxUSE_UNICODE" = "yes"; then
14361 if test -z "$PKG_CONFIG"; then
14362 # Extract the first word of "pkg-config", so it can be a program name with args.
14363 set dummy pkg
-config; ac_word
=$2
14364 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14365 echo "configure:14366: checking for $ac_word" >&5
14366 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14367 echo $ac_n "(cached) $ac_c" 1>&6
14369 case "$PKG_CONFIG" in
14371 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14374 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14377 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14379 for ac_dir
in $ac_dummy; do
14380 test -z "$ac_dir" && ac_dir
=.
14381 if test -f $ac_dir/$ac_word; then
14382 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14387 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14391 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14392 if test -n "$PKG_CONFIG"; then
14393 echo "$ac_t""$PKG_CONFIG" 1>&6
14395 echo "$ac_t""no" 1>&6
14400 if test "$PKG_CONFIG" = "no" ; then
14401 echo "*** The pkg-config script could not be found. Make sure it is"
14402 echo "*** in your path, or set the PKG_CONFIG environment variable"
14403 echo "*** to the full path to pkg-config."
14404 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14406 PKG_CONFIG_MIN_VERSION
=0.9.0
14407 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14408 echo $ac_n "checking for pangox""... $ac_c" 1>&6
14409 echo "configure:14410: checking for pangox" >&5
14411 if $PKG_CONFIG --exists "pangox" ; then
14412 echo "$ac_t""yes" 1>&6
14415 echo $ac_n "checking PANGOX_CFLAGS""... $ac_c" 1>&6
14416 echo "configure:14417: checking PANGOX_CFLAGS" >&5
14417 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
14418 echo "$ac_t""$PANGOX_CFLAGS" 1>&6
14420 echo $ac_n "checking PANGOX_LIBS""... $ac_c" 1>&6
14421 echo "configure:14422: checking PANGOX_LIBS" >&5
14422 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
14423 echo "$ac_t""$PANGOX_LIBS" 1>&6
14427 ## If we have a custom action on failure, don't print errors, but
14428 ## do set a variable so people can do so.
14429 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
14436 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14437 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14441 if test $succeeded = yes; then
14443 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
14444 LIBS
="$LIBS $PANGOX_LIBS"
14448 { echo "configure: error: pangox library not found, library cannot be compiled in Unicode mode" 1>&2; exit 1; }
14456 if test -z "$PKG_CONFIG"; then
14457 # Extract the first word of "pkg-config", so it can be a program name with args.
14458 set dummy pkg
-config; ac_word
=$2
14459 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14460 echo "configure:14461: checking for $ac_word" >&5
14461 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14462 echo $ac_n "(cached) $ac_c" 1>&6
14464 case "$PKG_CONFIG" in
14466 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14469 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14472 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14474 for ac_dir
in $ac_dummy; do
14475 test -z "$ac_dir" && ac_dir
=.
14476 if test -f $ac_dir/$ac_word; then
14477 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14482 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14486 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14487 if test -n "$PKG_CONFIG"; then
14488 echo "$ac_t""$PKG_CONFIG" 1>&6
14490 echo "$ac_t""no" 1>&6
14495 if test "$PKG_CONFIG" = "no" ; then
14496 echo "*** The pkg-config script could not be found. Make sure it is"
14497 echo "*** in your path, or set the PKG_CONFIG environment variable"
14498 echo "*** to the full path to pkg-config."
14499 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14501 PKG_CONFIG_MIN_VERSION
=0.9.0
14502 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14503 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
14504 echo "configure:14505: checking for pangoft2" >&5
14506 if $PKG_CONFIG --exists "pangoft2" ; then
14507 echo "$ac_t""yes" 1>&6
14510 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
14511 echo "configure:14512: checking PANGOFT2_CFLAGS" >&5
14512 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
14513 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
14515 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
14516 echo "configure:14517: checking PANGOFT2_LIBS" >&5
14517 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
14518 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
14522 ## If we have a custom action on failure, don't print errors, but
14523 ## do set a variable so people can do so.
14524 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
14531 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14532 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14536 if test $succeeded = yes; then
14538 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
14539 LIBS
="$LIBS $PANGOFT2_LIBS"
14543 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
14544 wxUSE_PRINTING_ARCHITECTURE
="no"
14552 if test -z "$PKG_CONFIG"; then
14553 # Extract the first word of "pkg-config", so it can be a program name with args.
14554 set dummy pkg
-config; ac_word
=$2
14555 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14556 echo "configure:14557: checking for $ac_word" >&5
14557 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14558 echo $ac_n "(cached) $ac_c" 1>&6
14560 case "$PKG_CONFIG" in
14562 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14565 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14568 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14570 for ac_dir
in $ac_dummy; do
14571 test -z "$ac_dir" && ac_dir
=.
14572 if test -f $ac_dir/$ac_word; then
14573 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14578 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14582 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14583 if test -n "$PKG_CONFIG"; then
14584 echo "$ac_t""$PKG_CONFIG" 1>&6
14586 echo "$ac_t""no" 1>&6
14591 if test "$PKG_CONFIG" = "no" ; then
14592 echo "*** The pkg-config script could not be found. Make sure it is"
14593 echo "*** in your path, or set the PKG_CONFIG environment variable"
14594 echo "*** to the full path to pkg-config."
14595 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14597 PKG_CONFIG_MIN_VERSION
=0.9.0
14598 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14599 echo $ac_n "checking for pangoxft""... $ac_c" 1>&6
14600 echo "configure:14601: checking for pangoxft" >&5
14602 if $PKG_CONFIG --exists "pangoxft" ; then
14603 echo "$ac_t""yes" 1>&6
14606 echo $ac_n "checking PANGOXFT_CFLAGS""... $ac_c" 1>&6
14607 echo "configure:14608: checking PANGOXFT_CFLAGS" >&5
14608 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
14609 echo "$ac_t""$PANGOXFT_CFLAGS" 1>&6
14611 echo $ac_n "checking PANGOXFT_LIBS""... $ac_c" 1>&6
14612 echo "configure:14613: checking PANGOXFT_LIBS" >&5
14613 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
14614 echo "$ac_t""$PANGOXFT_LIBS" 1>&6
14618 ## If we have a custom action on failure, don't print errors, but
14619 ## do set a variable so people can do so.
14620 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
14627 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14628 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14632 if test $succeeded = yes; then
14634 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
14635 LIBS
="$LIBS $PANGOXFT_LIBS"
14639 echo "configure: warning: pangoxft library not found, library will be compiled without anti-aliasing support" 1>&2
14646 wxUSE_UNIVERSAL
="yes"
14648 if test "$wxUSE_NANOX" = "yes"; then
14649 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
14650 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"
14651 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
14653 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
14656 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
14661 if test "$wxUSE_MOTIF" = 1; then
14662 if test "$no_x" = yes; then
14663 # Not all programs may use this symbol, but it does not hurt to define it.
14664 cat >> confdefs.h
<<\EOF
14665 #define X_DISPLAY_MISSING 1
14668 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14670 if test -n "$x_includes"; then
14671 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14674 # It would also be nice to do this for all -L options, not just this one.
14675 if test -n "$x_libraries"; then
14676 X_LIBS
="$X_LIBS -L$x_libraries"
14677 # For Solaris; some versions of Sun CC require a space after -R and
14678 # others require no space. Words are not sufficient . . . .
14679 case "`(uname -sr) 2>/dev/null`" in
14681 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
14682 echo "configure:14683: checking whether -R must be followed by a space" >&5
14683 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
14684 cat > conftest.
$ac_ext <<EOF
14685 #line 14686 "configure"
14686 #include "confdefs.h"
14692 if { (eval echo configure
:14693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14696 echo "configure: failed program was:" >&5
14697 cat conftest.
$ac_ext >&5
14702 if test $ac_R_nospace = yes; then
14703 echo "$ac_t""no" 1>&6
14704 X_LIBS
="$X_LIBS -R$x_libraries"
14706 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14707 cat > conftest.
$ac_ext <<EOF
14708 #line 14709 "configure"
14709 #include "confdefs.h"
14715 if { (eval echo configure
:14716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14719 echo "configure: failed program was:" >&5
14720 cat conftest.
$ac_ext >&5
14725 if test $ac_R_space = yes; then
14726 echo "$ac_t""yes" 1>&6
14727 X_LIBS
="$X_LIBS -R $x_libraries"
14729 echo "$ac_t""neither works" 1>&6
14732 LIBS
="$ac_xsave_LIBS"
14736 # Check for system-dependent libraries X programs must link with.
14737 # Do this before checking for the system-independent R6 libraries
14738 # (-lICE), since we may need -lsocket or whatever for X linking.
14740 if test "$ISC" = yes; then
14741 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14743 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
14744 # libraries were built with DECnet support. And karl@cs.umb.edu says
14745 # the Alpha needs dnet_stub (dnet does not exist).
14746 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
14747 echo "configure:14748: checking for dnet_ntoa in -ldnet" >&5
14748 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14749 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14750 echo $ac_n "(cached) $ac_c" 1>&6
14752 ac_save_LIBS
="$LIBS"
14753 LIBS
="-ldnet $LIBS"
14754 cat > conftest.
$ac_ext <<EOF
14755 #line 14756 "configure"
14756 #include "confdefs.h"
14757 /* Override any gcc2 internal prototype to avoid an error. */
14758 /* We use char because int might match the return type of a gcc2
14759 builtin and then its argument prototype would still apply. */
14766 if { (eval echo configure
:14767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14768 eval "ac_cv_lib_$ac_lib_var=yes"
14770 echo "configure: failed program was:" >&5
14771 cat conftest.
$ac_ext >&5
14773 eval "ac_cv_lib_$ac_lib_var=no"
14776 LIBS
="$ac_save_LIBS"
14779 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14780 echo "$ac_t""yes" 1>&6
14781 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14783 echo "$ac_t""no" 1>&6
14786 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14787 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
14788 echo "configure:14789: checking for dnet_ntoa in -ldnet_stub" >&5
14789 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14790 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14791 echo $ac_n "(cached) $ac_c" 1>&6
14793 ac_save_LIBS
="$LIBS"
14794 LIBS
="-ldnet_stub $LIBS"
14795 cat > conftest.
$ac_ext <<EOF
14796 #line 14797 "configure"
14797 #include "confdefs.h"
14798 /* Override any gcc2 internal prototype to avoid an error. */
14799 /* We use char because int might match the return type of a gcc2
14800 builtin and then its argument prototype would still apply. */
14807 if { (eval echo configure
:14808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14809 eval "ac_cv_lib_$ac_lib_var=yes"
14811 echo "configure: failed program was:" >&5
14812 cat conftest.
$ac_ext >&5
14814 eval "ac_cv_lib_$ac_lib_var=no"
14817 LIBS
="$ac_save_LIBS"
14820 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14821 echo "$ac_t""yes" 1>&6
14822 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14824 echo "$ac_t""no" 1>&6
14829 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14830 # to get the SysV transport functions.
14831 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
14833 # The nsl library prevents programs from opening the X display
14834 # on Irix 5.2, according to dickey@clark.net.
14835 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
14836 echo "configure:14837: checking for gethostbyname" >&5
14837 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
14838 echo $ac_n "(cached) $ac_c" 1>&6
14840 cat > conftest.
$ac_ext <<EOF
14841 #line 14842 "configure"
14842 #include "confdefs.h"
14843 /* System header to define __stub macros and hopefully few prototypes,
14844 which can conflict with char gethostbyname(); below. */
14845 #include <assert.h>
14846 /* Override any gcc2 internal prototype to avoid an error. */
14847 /* We use char because int might match the return type of a gcc2
14848 builtin and then its argument prototype would still apply. */
14849 char gethostbyname();
14853 /* The GNU C library defines this for functions which it implements
14854 to always fail with ENOSYS. Some functions are actually named
14855 something starting with __ and the normal name is an alias. */
14856 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
14864 if { (eval echo configure
:14865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14866 eval "ac_cv_func_gethostbyname=yes"
14868 echo "configure: failed program was:" >&5
14869 cat conftest.
$ac_ext >&5
14871 eval "ac_cv_func_gethostbyname=no"
14876 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
14877 echo "$ac_t""yes" 1>&6
14880 echo "$ac_t""no" 1>&6
14883 if test $ac_cv_func_gethostbyname = no
; then
14884 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
14885 echo "configure:14886: checking for gethostbyname in -lnsl" >&5
14886 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
14887 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14888 echo $ac_n "(cached) $ac_c" 1>&6
14890 ac_save_LIBS
="$LIBS"
14892 cat > conftest.
$ac_ext <<EOF
14893 #line 14894 "configure"
14894 #include "confdefs.h"
14895 /* Override any gcc2 internal prototype to avoid an error. */
14896 /* We use char because int might match the return type of a gcc2
14897 builtin and then its argument prototype would still apply. */
14898 char gethostbyname();
14904 if { (eval echo configure
:14905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14906 eval "ac_cv_lib_$ac_lib_var=yes"
14908 echo "configure: failed program was:" >&5
14909 cat conftest.
$ac_ext >&5
14911 eval "ac_cv_lib_$ac_lib_var=no"
14914 LIBS
="$ac_save_LIBS"
14917 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14918 echo "$ac_t""yes" 1>&6
14919 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14921 echo "$ac_t""no" 1>&6
14926 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14927 # socket/setsockopt and other routines are undefined under SCO ODT
14928 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14929 # on later versions), says simon@lia.di.epfl.ch: it contains
14930 # gethostby* variants that don't use the nameserver (or something).
14931 # -lsocket must be given before -lnsl if both are needed.
14932 # We assume that if connect needs -lnsl, so does gethostbyname.
14933 echo $ac_n "checking for connect""... $ac_c" 1>&6
14934 echo "configure:14935: checking for connect" >&5
14935 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14936 echo $ac_n "(cached) $ac_c" 1>&6
14938 cat > conftest.
$ac_ext <<EOF
14939 #line 14940 "configure"
14940 #include "confdefs.h"
14941 /* System header to define __stub macros and hopefully few prototypes,
14942 which can conflict with char connect(); below. */
14943 #include <assert.h>
14944 /* Override any gcc2 internal prototype to avoid an error. */
14945 /* We use char because int might match the return type of a gcc2
14946 builtin and then its argument prototype would still apply. */
14951 /* The GNU C library defines this for functions which it implements
14952 to always fail with ENOSYS. Some functions are actually named
14953 something starting with __ and the normal name is an alias. */
14954 #if defined (__stub_connect) || defined (__stub___connect)
14962 if { (eval echo configure
:14963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14964 eval "ac_cv_func_connect=yes"
14966 echo "configure: failed program was:" >&5
14967 cat conftest.
$ac_ext >&5
14969 eval "ac_cv_func_connect=no"
14974 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14975 echo "$ac_t""yes" 1>&6
14978 echo "$ac_t""no" 1>&6
14981 if test $ac_cv_func_connect = no
; then
14982 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14983 echo "configure:14984: checking for connect in -lsocket" >&5
14984 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14985 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14986 echo $ac_n "(cached) $ac_c" 1>&6
14988 ac_save_LIBS
="$LIBS"
14989 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14990 cat > conftest.
$ac_ext <<EOF
14991 #line 14992 "configure"
14992 #include "confdefs.h"
14993 /* Override any gcc2 internal prototype to avoid an error. */
14994 /* We use char because int might match the return type of a gcc2
14995 builtin and then its argument prototype would still apply. */
15002 if { (eval echo configure
:15003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15004 eval "ac_cv_lib_$ac_lib_var=yes"
15006 echo "configure: failed program was:" >&5
15007 cat conftest.
$ac_ext >&5
15009 eval "ac_cv_lib_$ac_lib_var=no"
15012 LIBS
="$ac_save_LIBS"
15015 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15016 echo "$ac_t""yes" 1>&6
15017 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
15019 echo "$ac_t""no" 1>&6
15024 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
15025 echo $ac_n "checking for remove""... $ac_c" 1>&6
15026 echo "configure:15027: checking for remove" >&5
15027 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
15028 echo $ac_n "(cached) $ac_c" 1>&6
15030 cat > conftest.
$ac_ext <<EOF
15031 #line 15032 "configure"
15032 #include "confdefs.h"
15033 /* System header to define __stub macros and hopefully few prototypes,
15034 which can conflict with char remove(); below. */
15035 #include <assert.h>
15036 /* Override any gcc2 internal prototype to avoid an error. */
15037 /* We use char because int might match the return type of a gcc2
15038 builtin and then its argument prototype would still apply. */
15043 /* The GNU C library defines this for functions which it implements
15044 to always fail with ENOSYS. Some functions are actually named
15045 something starting with __ and the normal name is an alias. */
15046 #if defined (__stub_remove) || defined (__stub___remove)
15054 if { (eval echo configure
:15055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15056 eval "ac_cv_func_remove=yes"
15058 echo "configure: failed program was:" >&5
15059 cat conftest.
$ac_ext >&5
15061 eval "ac_cv_func_remove=no"
15066 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
15067 echo "$ac_t""yes" 1>&6
15070 echo "$ac_t""no" 1>&6
15073 if test $ac_cv_func_remove = no
; then
15074 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
15075 echo "configure:15076: checking for remove in -lposix" >&5
15076 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
15077 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15078 echo $ac_n "(cached) $ac_c" 1>&6
15080 ac_save_LIBS
="$LIBS"
15081 LIBS
="-lposix $LIBS"
15082 cat > conftest.
$ac_ext <<EOF
15083 #line 15084 "configure"
15084 #include "confdefs.h"
15085 /* Override any gcc2 internal prototype to avoid an error. */
15086 /* We use char because int might match the return type of a gcc2
15087 builtin and then its argument prototype would still apply. */
15094 if { (eval echo configure
:15095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15096 eval "ac_cv_lib_$ac_lib_var=yes"
15098 echo "configure: failed program was:" >&5
15099 cat conftest.
$ac_ext >&5
15101 eval "ac_cv_lib_$ac_lib_var=no"
15104 LIBS
="$ac_save_LIBS"
15107 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15108 echo "$ac_t""yes" 1>&6
15109 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
15111 echo "$ac_t""no" 1>&6
15116 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
15117 echo $ac_n "checking for shmat""... $ac_c" 1>&6
15118 echo "configure:15119: checking for shmat" >&5
15119 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
15120 echo $ac_n "(cached) $ac_c" 1>&6
15122 cat > conftest.
$ac_ext <<EOF
15123 #line 15124 "configure"
15124 #include "confdefs.h"
15125 /* System header to define __stub macros and hopefully few prototypes,
15126 which can conflict with char shmat(); below. */
15127 #include <assert.h>
15128 /* Override any gcc2 internal prototype to avoid an error. */
15129 /* We use char because int might match the return type of a gcc2
15130 builtin and then its argument prototype would still apply. */
15135 /* The GNU C library defines this for functions which it implements
15136 to always fail with ENOSYS. Some functions are actually named
15137 something starting with __ and the normal name is an alias. */
15138 #if defined (__stub_shmat) || defined (__stub___shmat)
15146 if { (eval echo configure
:15147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15148 eval "ac_cv_func_shmat=yes"
15150 echo "configure: failed program was:" >&5
15151 cat conftest.
$ac_ext >&5
15153 eval "ac_cv_func_shmat=no"
15158 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
15159 echo "$ac_t""yes" 1>&6
15162 echo "$ac_t""no" 1>&6
15165 if test $ac_cv_func_shmat = no
; then
15166 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
15167 echo "configure:15168: checking for shmat in -lipc" >&5
15168 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
15169 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15170 echo $ac_n "(cached) $ac_c" 1>&6
15172 ac_save_LIBS
="$LIBS"
15174 cat > conftest.
$ac_ext <<EOF
15175 #line 15176 "configure"
15176 #include "confdefs.h"
15177 /* Override any gcc2 internal prototype to avoid an error. */
15178 /* We use char because int might match the return type of a gcc2
15179 builtin and then its argument prototype would still apply. */
15186 if { (eval echo configure
:15187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15188 eval "ac_cv_lib_$ac_lib_var=yes"
15190 echo "configure: failed program was:" >&5
15191 cat conftest.
$ac_ext >&5
15193 eval "ac_cv_lib_$ac_lib_var=no"
15196 LIBS
="$ac_save_LIBS"
15199 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15200 echo "$ac_t""yes" 1>&6
15201 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
15203 echo "$ac_t""no" 1>&6
15209 # Check for libraries that X11R6 Xt/Xaw programs need.
15210 ac_save_LDFLAGS
="$LDFLAGS"
15211 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
15212 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
15213 # check for ICE first), but we must link in the order -lSM -lICE or
15214 # we get undefined symbols. So assume we have SM if we have ICE.
15215 # These have to be linked with before -lX11, unlike the other
15216 # libraries we check for below, so use a different variable.
15217 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
15218 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
15219 echo "configure:15220: checking for IceConnectionNumber in -lICE" >&5
15220 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
15221 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15222 echo $ac_n "(cached) $ac_c" 1>&6
15224 ac_save_LIBS
="$LIBS"
15225 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
15226 cat > conftest.
$ac_ext <<EOF
15227 #line 15228 "configure"
15228 #include "confdefs.h"
15229 /* Override any gcc2 internal prototype to avoid an error. */
15230 /* We use char because int might match the return type of a gcc2
15231 builtin and then its argument prototype would still apply. */
15232 char IceConnectionNumber();
15235 IceConnectionNumber()
15238 if { (eval echo configure
:15239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15240 eval "ac_cv_lib_$ac_lib_var=yes"
15242 echo "configure: failed program was:" >&5
15243 cat conftest.
$ac_ext >&5
15245 eval "ac_cv_lib_$ac_lib_var=no"
15248 LIBS
="$ac_save_LIBS"
15251 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15252 echo "$ac_t""yes" 1>&6
15253 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
15255 echo "$ac_t""no" 1>&6
15258 LDFLAGS
="$ac_save_LDFLAGS"
15263 if test "$no_x" = "yes"; then
15264 { echo "configure: error: X11 not found" 1>&2; exit 1; }
15267 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
15268 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
15269 AFMINSTALL
=afminstall
15270 COMPILED_X_PROGRAM
=0
15272 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
15273 echo "configure:15274: checking for Motif/Lesstif headers" >&5
15276 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
15278 if test -f "$ac_dir/Xm/Xm.h"; then
15279 ac_find_includes
=$ac_dir
15284 if test "$ac_find_includes" != "" ; then
15285 echo "$ac_t""found in $ac_find_includes" 1>&6
15287 if test "x$ac_find_includes" = "x/usr/include"; then
15288 ac_path_to_include
=""
15290 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
15292 if test $result = 0; then
15293 ac_path_to_include
=""
15295 ac_path_to_include
=" -I$ac_find_includes"
15299 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
15301 cat > conftest.
$ac_ext <<EOF
15302 #line 15303 "configure"
15303 #include "confdefs.h"
15310 version = xmUseVersion;
15314 if { (eval echo configure
:15315: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15317 echo "$ac_t""found in default search path" 1>&6
15318 COMPILED_X_PROGRAM
=1
15321 echo "configure: failed program was:" >&5
15322 cat conftest.
$ac_ext >&5
15325 echo "$ac_t""no" 1>&6
15326 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
15333 if test "$COMPILED_X_PROGRAM" = 0; then
15334 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
15335 echo "configure:15336: checking for Motif/Lesstif library" >&5
15338 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15340 for ac_extension
in a so sl dylib
; do
15341 if test -f "$ac_dir/libXm.$ac_extension"; then
15342 ac_find_libraries
=$ac_dir
15348 if test "$ac_find_libraries" != "" ; then
15349 echo "$ac_t""found at $ac_find_libraries" 1>&6
15352 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15354 if test $result = 0; then
15357 ac_path_to_link
=" -L$ac_find_libraries"
15360 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15362 save_CFLAGS
=$CFLAGS
15363 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15365 cat > conftest.
$ac_ext <<EOF
15366 #line 15367 "configure"
15367 #include "confdefs.h"
15374 version = xmUseVersion;
15378 if { (eval echo configure
:15379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15381 echo "$ac_t""found in default search path" 1>&6
15382 COMPILED_X_PROGRAM
=1
15385 echo "configure: failed program was:" >&5
15386 cat conftest.
$ac_ext >&5
15389 echo "$ac_t""no" 1>&6
15390 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
15396 CFLAGS
=$save_CFLAGS
15401 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
15402 echo "configure:15403: checking for Xpm library" >&5
15405 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15407 for ac_extension
in a so sl dylib
; do
15408 if test -f "$ac_dir/libXpm.$ac_extension"; then
15409 ac_find_libraries
=$ac_dir
15415 if test "$ac_find_libraries" != "" ; then
15417 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15419 if test $result = 0; then
15422 ac_path_to_link
=" -L$ac_find_libraries"
15425 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15428 cat >> confdefs.h
<<\EOF
15429 #define wxHAVE_LIB_XPM 1
15432 echo "$ac_t""found at $ac_find_libraries" 1>&6
15434 save_CFLAGS
=$CFLAGS
15435 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15437 cat > conftest.
$ac_ext <<EOF
15438 #line 15439 "configure"
15439 #include "confdefs.h"
15441 #include <X11/xpm.h>
15446 version = XpmLibraryVersion();
15450 if { (eval echo configure
:15451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15454 cat >> confdefs.h
<<\EOF
15455 #define wxHAVE_LIB_XPM 1
15458 echo "$ac_t""found in default search path" 1>&6
15459 COMPILED_X_PROGRAM
=0
15462 echo "configure: failed program was:" >&5
15463 cat conftest.
$ac_ext >&5
15466 echo "$ac_t""no" 1>&6
15467 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
15473 CFLAGS
=$save_CFLAGS
15476 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
15477 echo "configure:15478: checking if we need -lXp and/or -lSM -lICE" >&5
15481 for libp
in "" " -lXp"; do
15482 if test "$libs_found" = "0"; then
15483 for libsm_ice
in " -lSM -lICE"; do
15484 if test "$libs_found" = "0"; then
15486 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
15487 save_CFLAGS
=$CFLAGS
15488 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15490 cat > conftest.
$ac_ext <<EOF
15491 #line 15492 "configure"
15492 #include "confdefs.h"
15495 #include <Xm/List.h>
15499 XmString string = NULL;
15502 XmListAddItem(w, string, position);
15506 if { (eval echo configure
:15507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15510 libsm_ice_link
="$libsm_ice"
15511 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
15515 echo "configure: failed program was:" >&5
15516 cat conftest.
$ac_ext >&5
15524 CFLAGS
=$save_CFLAGS
15530 if test "$libs_found" = "0"; then
15531 echo "$ac_t""can't find the right libraries" 1>&6
15532 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
15535 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
15536 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
15541 if test "$wxUSE_MAC" = 1; then
15542 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
15544 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
15549 if test "$wxUSE_PM" = 1; then
15552 echo "configure: warning: OS/2 PM requires old resource format, re-enabled" 1>&2
15553 wxUSE_PROLOGIO
="yes"
15554 wxUSE_RESOURCES
="yes"
15555 echo "configure: warning: OS/2 threads are not yet supported... disabled" 1>&2
15559 if test "$TOOLKIT" = "PM" ; then
15562 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
15565 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
15567 if test "$wxUSE_UNIVERSAL" = "yes"; then
15568 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
15570 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
15571 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
15573 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
15574 if test "$wxUSE_X11" = 1; then
15575 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
15577 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
15579 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
15582 ALL_OBJECTS
="\$(GUIOBJS)"
15583 ALL_SOURCES
="\$(ALL_SOURCES)"
15584 ALL_HEADERS
="\$(ALL_HEADERS)"
15587 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
15589 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
15590 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
15593 if test "$wxUSE_HTML" = "yes"; then
15594 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
15597 if test "$wxUSE_LIBJPEG" = "builtin" ; then
15598 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
15600 if test "$wxUSE_LIBTIFF" = "builtin" ; then
15601 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
15603 if test "$wxUSE_LIBPNG" = "builtin" ; then
15604 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
15607 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
15608 DISTDIR
="wx\$(TOOLKIT)"
15614 if test "$USE_WIN32" = 1 ; then
15615 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
15616 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
15620 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
15621 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
15624 ALL_SOURCES
="\$(ALL_SOURCES)"
15625 ALL_HEADERS
="\$(ALL_HEADERS)"
15627 PORT_FILES
="\${top_srcdir}/src/files.lst"
15629 GUIDIST
="BASE_DIST"
15634 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
15635 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
15638 if test "$wxUSE_REGEX" = "builtin" ; then
15639 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
15641 if test "$wxUSE_ZLIB" = "builtin" ; then
15642 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
15646 if test "$wxUSE_OPENGL" = "yes"; then
15647 if test "$wxUSE_MAC" = 1; then
15648 OPENGL_LIBS
="-framework OpenGL -framework AGL"
15649 elif test "$wxUSE_MSW" = 1; then
15650 OPENGL_LIBS
="-lopengl32 -lglu32"
15652 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15653 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15654 echo "configure:15655: checking for GL/gl.h" >&5
15655 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15656 echo $ac_n "(cached) $ac_c" 1>&6
15658 cat > conftest.
$ac_ext <<EOF
15659 #line 15660 "configure"
15660 #include "confdefs.h"
15663 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15664 { (eval echo configure
:15665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15665 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15666 if test -z "$ac_err"; then
15668 eval "ac_cv_header_$ac_safe=yes"
15671 echo "configure: failed program was:" >&5
15672 cat conftest.
$ac_ext >&5
15674 eval "ac_cv_header_$ac_safe=no"
15678 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15679 echo "$ac_t""yes" 1>&6
15681 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
15682 echo "configure:15683: checking for -lGL" >&5
15685 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15687 for ac_extension
in a so sl dylib
; do
15688 if test -f "$ac_dir/libGL.$ac_extension"; then
15689 ac_find_libraries
=$ac_dir
15695 if test "$ac_find_libraries" != "" ; then
15697 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15699 if test $result = 0; then
15702 ac_path_to_link
=" -L$ac_find_libraries"
15705 if test "$ac_path_to_link" = " -L/usr/lib" ; then
15706 LDFLAGS_GL
="$LDFLAGS"
15708 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15710 OPENGL_LIBS
="-lGL -lGLU"
15711 echo "$ac_t""yes" 1>&6
15713 echo "$ac_t""no" 1>&6
15714 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
15715 echo "configure:15716: checking for -lMesaGL" >&5
15718 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15720 for ac_extension
in a so sl dylib
; do
15721 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
15722 ac_find_libraries
=$ac_dir
15728 if test "$ac_find_libraries" != "" ; then
15730 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15732 if test $result = 0; then
15735 ac_path_to_link
=" -L$ac_find_libraries"
15738 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15739 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
15740 echo "$ac_t""yes" 1>&6
15742 echo "$ac_t""no" 1>&6
15747 echo "$ac_t""no" 1>&6
15751 if test "x$OPENGL_LIBS" = "x"; then
15752 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
15756 if test "$wxUSE_OPENGL" = "yes"; then
15757 cat >> confdefs.h
<<\EOF
15758 #define wxUSE_OPENGL 1
15761 cat >> confdefs.h
<<\EOF
15762 #define wxUSE_GLCANVAS 1
15765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15769 if test -z "$TOOLKIT_VPATH" ; then
15770 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
15773 if test -n "$TOOLKIT" ; then
15774 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
15777 lib_unicode_suffix
=
15778 if test "$wxUSE_UNICODE" = "yes"; then
15779 lib_unicode_suffix
=u
15783 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
15787 WX_VERSION_TAG
=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
15789 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
15790 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
15792 if test "$cross_compiling" = "yes"; then
15793 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
15794 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
15797 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
15798 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
15799 WX_LIBRARY_BASENAME
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
15801 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15802 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15804 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
15805 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15806 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
15807 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15810 *-*-cygwin* | *-*-mingw32* )
15814 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
15815 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15816 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15817 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
15818 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
15820 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15821 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15827 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
15828 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
15830 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
15831 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15832 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
15833 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15835 if test "$wxUSE_MAC" = 1; then
15836 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
15837 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
15842 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
15843 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
15845 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
15846 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
15848 if test "$wxUSE_OPENGL" = "yes"; then
15849 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
15850 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
15855 if test "$wxUSE_SHARED" = "yes"; then
15857 *-pc-os2_emx | *-pc-os2-emx | \
15860 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
15865 if test "$wxUSE_SHARED" = "yes"; then
15867 if test "$wxUSE_OPENGL" = "yes"; then
15868 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
15869 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
15871 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
15872 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
15875 if test "$GCC" = "yes"; then
15881 found_versioning
=no
15884 if test $found_versioning = no
; then
15885 echo $ac_n "checking if the linker accepts --version-script""... $ac_c" 1>&6
15886 echo "configure:15887: checking if the linker accepts --version-script" >&5
15887 if eval "test \"`echo '$''{'wx_cv_version_script'+set}'`\" = set"; then
15888 echo $ac_n "(cached) $ac_c" 1>&6
15891 echo "VER_1 { *; };" >conftest.sym
15892 echo "int main() { return 0; }" >conftest.cpp
15895 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
15896 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'; { (eval echo configure
:15897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } ; then
15897 if test -s conftest.stderr
; then
15898 wx_cv_version_script
=no
15900 wx_cv_version_script
=yes
15903 wx_cv_version_script
=no
15905 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
15909 echo "$ac_t""$wx_cv_version_script" 1>&6
15910 if test $wx_cv_version_script = yes ; then
15911 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)/version-script"
15916 SHARED_LD
="${CXX} -shared -o"
15920 if test "$GCC" = "yes"; then
15921 SHARED_LD
="${CXX} -shared ${PIC_FLAG} -o"
15923 LDFLAGS
="$LDFLAGS -L/usr/lib"
15925 SHARED_LD
="${CXX} -b -o"
15929 if test "$wxUSE_OPENGL" = "yes"; then
15930 WX_ALL_INSTALLED
="preinstall_gl"
15931 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
15933 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
15938 if test "$GCC" != "yes"; then
15939 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
15940 echo "configure:15941: checking for Intel compiler" >&5
15941 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
15942 echo $ac_n "(cached) $ac_c" 1>&6
15945 cat > conftest.
$ac_ext <<EOF
15946 #line 15947 "configure"
15947 #include "confdefs.h"
15951 #ifndef __INTEL_COMPILER
15957 if { (eval echo configure
:15958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15961 echo "configure: failed program was:" >&5
15962 cat conftest.
$ac_ext >&5
15971 echo "$ac_t""$wx_cv_prog_icc" 1>&6
15972 if test "$wx_cv_prog_icc" = "yes"; then
15977 if test "$wxUSE_SONAME" = "yes" ; then
15978 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
15979 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
15980 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
15985 if test "$GCC" = yes ; then
15986 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
15988 SHARED_LD
="${CXX} -G -o"
15990 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
15991 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
15996 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
15997 CFLAGS
="$CFLAGS -fno-common"
15998 CXXFLAGS
="$CXXFLAGS -fno-common"
15999 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
16000 PIC_FLAG
="-dynamic -fPIC"
16001 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1}"
16002 SONAME_FLAGS_GL
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1_GL}"
16006 if test "$GCC" != "yes"; then
16007 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
16008 set dummy makeC
++SharedLib
; ac_word
=$2
16009 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16010 echo "configure:16011: checking for $ac_word" >&5
16011 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
16012 echo $ac_n "(cached) $ac_c" 1>&6
16014 if test -n "$AIX_CXX_LD"; then
16015 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
16017 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16019 for ac_dir
in $ac_dummy; do
16020 test -z "$ac_dir" && ac_dir
=.
16021 if test -f $ac_dir/$ac_word; then
16022 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
16027 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
16030 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
16031 if test -n "$AIX_CXX_LD"; then
16032 echo "$ac_t""$AIX_CXX_LD" 1>&6
16034 echo "$ac_t""no" 1>&6
16038 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
16042 *-*-cygwin* | *-*-mingw32* )
16043 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
16045 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
16046 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
16048 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
16050 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16051 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16053 if test "$wxUSE_OPENGL" = "yes"; then
16054 LIBS
="${LIBS} ${OPENGL_LIBS}"
16059 SHARED_LD
="${LD} -shared -o"
16063 if test "$GCC" != "yes"; then
16068 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
16076 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
16079 if test "x$WX_TARGET_LIBRARY" = "x"; then
16080 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
16081 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
16084 WX_TARGET_LIBRARY_TYPE
="so"
16085 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
16088 if test "$wxUSE_SHARED" = "no"; then
16090 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
16091 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16094 if test "$wxUSE_MAC" = 1; then
16095 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16098 if test "$wxUSE_OPENGL" = "yes"; then
16099 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
16100 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
16102 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
16105 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
16106 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
16108 WX_TARGET_LIBRARY_TYPE
="a"
16109 INSTALL_LIBRARY
='$(INSTALL_DATA)'
16116 if test "$wxUSE_MAC" = 1; then
16117 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
16118 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
16119 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
16120 # Extract the first word of "Rez", so it can be a program name with args.
16121 set dummy Rez
; ac_word
=$2
16122 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16123 echo "configure:16124: checking for $ac_word" >&5
16124 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16125 echo $ac_n "(cached) $ac_c" 1>&6
16127 if test -n "$RESCOMP"; then
16128 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
16130 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16132 for ac_dir
in $ac_dummy; do
16133 test -z "$ac_dir" && ac_dir
=.
16134 if test -f $ac_dir/$ac_word; then
16135 ac_cv_prog_RESCOMP
="Rez"
16140 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
16143 RESCOMP
="$ac_cv_prog_RESCOMP"
16144 if test -n "$RESCOMP"; then
16145 echo "$ac_t""$RESCOMP" 1>&6
16147 echo "$ac_t""no" 1>&6
16150 # Extract the first word of "DeRez", so it can be a program name with args.
16151 set dummy DeRez
; ac_word
=$2
16152 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16153 echo "configure:16154: checking for $ac_word" >&5
16154 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16155 echo $ac_n "(cached) $ac_c" 1>&6
16157 if test -n "$DEREZ"; then
16158 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
16160 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16162 for ac_dir
in $ac_dummy; do
16163 test -z "$ac_dir" && ac_dir
=.
16164 if test -f $ac_dir/$ac_word; then
16165 ac_cv_prog_DEREZ
="DeRez"
16170 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
16173 DEREZ
="$ac_cv_prog_DEREZ"
16174 if test -n "$DEREZ"; then
16175 echo "$ac_t""$DEREZ" 1>&6
16177 echo "$ac_t""no" 1>&6
16180 MACOSX_BUNDLE
="bundle"
16181 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
16182 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
16184 if test "$wxUSE_PM" = 1; then
16185 LIBWXMACRESCOMP
="emxbind -ep \$(BIN_PROGRAM)"
16190 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
16191 echo "configure:16192: checking for ANSI C header files" >&5
16192 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
16193 echo $ac_n "(cached) $ac_c" 1>&6
16195 cat > conftest.
$ac_ext <<EOF
16196 #line 16197 "configure"
16197 #include "confdefs.h"
16198 #include <stdlib.h>
16199 #include <stdarg.h>
16200 #include <string.h>
16203 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16204 { (eval echo configure
:16205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16205 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16206 if test -z "$ac_err"; then
16208 ac_cv_header_stdc
=yes
16211 echo "configure: failed program was:" >&5
16212 cat conftest.
$ac_ext >&5
16214 ac_cv_header_stdc
=no
16218 if test $ac_cv_header_stdc = yes; then
16219 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16220 cat > conftest.
$ac_ext <<EOF
16221 #line 16222 "configure"
16222 #include "confdefs.h"
16223 #include <string.h>
16225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16226 egrep "memchr" >/dev
/null
2>&1; then
16230 ac_cv_header_stdc
=no
16236 if test $ac_cv_header_stdc = yes; then
16237 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16238 cat > conftest.
$ac_ext <<EOF
16239 #line 16240 "configure"
16240 #include "confdefs.h"
16241 #include <stdlib.h>
16243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16244 egrep "free" >/dev
/null
2>&1; then
16248 ac_cv_header_stdc
=no
16254 if test $ac_cv_header_stdc = yes; then
16255 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16256 if test "$cross_compiling" = yes; then
16259 cat > conftest.
$ac_ext <<EOF
16260 #line 16261 "configure"
16261 #include "confdefs.h"
16263 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16264 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16265 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16266 int main () { int i; for (i = 0; i < 256; i++)
16267 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
16271 if { (eval echo configure
:16272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
16275 echo "configure: failed program was:" >&5
16276 cat conftest.
$ac_ext >&5
16278 ac_cv_header_stdc
=no
16286 echo "$ac_t""$ac_cv_header_stdc" 1>&6
16287 if test $ac_cv_header_stdc = yes; then
16288 cat >> confdefs.h
<<\EOF
16289 #define STDC_HEADERS 1
16294 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
16295 echo "configure:16296: checking for mode_t" >&5
16296 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
16297 echo $ac_n "(cached) $ac_c" 1>&6
16299 cat > conftest.
$ac_ext <<EOF
16300 #line 16301 "configure"
16301 #include "confdefs.h"
16302 #include <sys/types.h>
16304 #include <stdlib.h>
16305 #include <stddef.h>
16308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16309 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16311 ac_cv_type_mode_t
=yes
16314 ac_cv_type_mode_t
=no
16319 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
16320 if test $ac_cv_type_mode_t = no
; then
16321 cat >> confdefs.h
<<\EOF
16327 echo $ac_n "checking for off_t""... $ac_c" 1>&6
16328 echo "configure:16329: checking for off_t" >&5
16329 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
16330 echo $ac_n "(cached) $ac_c" 1>&6
16332 cat > conftest.
$ac_ext <<EOF
16333 #line 16334 "configure"
16334 #include "confdefs.h"
16335 #include <sys/types.h>
16337 #include <stdlib.h>
16338 #include <stddef.h>
16341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16342 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16344 ac_cv_type_off_t
=yes
16347 ac_cv_type_off_t
=no
16352 echo "$ac_t""$ac_cv_type_off_t" 1>&6
16353 if test $ac_cv_type_off_t = no
; then
16354 cat >> confdefs.h
<<\EOF
16360 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
16361 echo "configure:16362: checking for pid_t" >&5
16362 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
16363 echo $ac_n "(cached) $ac_c" 1>&6
16365 cat > conftest.
$ac_ext <<EOF
16366 #line 16367 "configure"
16367 #include "confdefs.h"
16368 #include <sys/types.h>
16370 #include <stdlib.h>
16371 #include <stddef.h>
16374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16375 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16377 ac_cv_type_pid_t
=yes
16380 ac_cv_type_pid_t
=no
16385 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
16386 if test $ac_cv_type_pid_t = no
; then
16387 cat >> confdefs.h
<<\EOF
16393 echo $ac_n "checking for size_t""... $ac_c" 1>&6
16394 echo "configure:16395: checking for size_t" >&5
16395 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
16396 echo $ac_n "(cached) $ac_c" 1>&6
16398 cat > conftest.
$ac_ext <<EOF
16399 #line 16400 "configure"
16400 #include "confdefs.h"
16401 #include <sys/types.h>
16403 #include <stdlib.h>
16404 #include <stddef.h>
16407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16408 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16410 ac_cv_type_size_t
=yes
16413 ac_cv_type_size_t
=no
16418 echo "$ac_t""$ac_cv_type_size_t" 1>&6
16419 if test $ac_cv_type_size_t = no
; then
16420 cat >> confdefs.h
<<\EOF
16421 #define size_t unsigned
16426 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
16427 echo "configure:16428: checking for uid_t in sys/types.h" >&5
16428 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
16429 echo $ac_n "(cached) $ac_c" 1>&6
16431 cat > conftest.
$ac_ext <<EOF
16432 #line 16433 "configure"
16433 #include "confdefs.h"
16434 #include <sys/types.h>
16436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16437 egrep "uid_t" >/dev
/null
2>&1; then
16439 ac_cv_type_uid_t
=yes
16442 ac_cv_type_uid_t
=no
16448 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
16449 if test $ac_cv_type_uid_t = no
; then
16450 cat >> confdefs.h
<<\EOF
16454 cat >> confdefs.h
<<\EOF
16463 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16464 ac_cpp
='$CXXCPP $CPPFLAGS'
16465 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16466 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16467 cross_compiling
=$ac_cv_prog_cxx_cross
16469 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
16470 echo "configure:16471: checking if size_t is unsigned int" >&5
16471 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
16472 echo $ac_n "(cached) $ac_c" 1>&6
16474 cat > conftest.
$ac_ext <<EOF
16475 #line 16476 "configure"
16476 #include "confdefs.h"
16477 #include <stddef.h>
16482 struct Foo { void foo(size_t); void foo(unsigned int); };
16488 if { (eval echo configure
:16489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16490 wx_cv_size_t_is_uint
=no
16492 echo "configure: failed program was:" >&5
16493 cat conftest.
$ac_ext >&5
16495 wx_cv_size_t_is_uint
=yes
16502 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
16504 if test "$wx_cv_size_t_is_uint" = "yes"; then
16505 cat >> confdefs.h
<<\EOF
16506 #define wxSIZE_T_IS_UINT 1
16510 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
16511 echo "configure:16512: checking if size_t is unsigned long" >&5
16512 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
16513 echo $ac_n "(cached) $ac_c" 1>&6
16515 cat > conftest.
$ac_ext <<EOF
16516 #line 16517 "configure"
16517 #include "confdefs.h"
16518 #include <stddef.h>
16523 struct Foo { void foo(size_t); void foo(unsigned long); };
16529 if { (eval echo configure
:16530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16531 wx_cv_size_t_is_ulong
=no
16533 echo "configure: failed program was:" >&5
16534 cat conftest.
$ac_ext >&5
16536 wx_cv_size_t_is_ulong
=yes
16543 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
16545 if test "$wx_cv_size_t_is_ulong" = "yes"; then
16546 cat >> confdefs.h
<<\EOF
16547 #define wxSIZE_T_IS_ULONG 1
16554 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16555 ac_cpp
='$CPP $CPPFLAGS'
16556 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16557 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16558 cross_compiling
=$ac_cv_prog_cc_cross
16562 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
16563 echo "configure:16564: checking for pw_gecos in struct passwd" >&5
16564 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
16565 echo $ac_n "(cached) $ac_c" 1>&6
16568 cat > conftest.
$ac_ext <<EOF
16569 #line 16570 "configure"
16570 #include "confdefs.h"
16580 if { (eval echo configure
:16581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16583 wx_cv_struct_pw_gecos
=yes
16586 echo "configure: failed program was:" >&5
16587 cat conftest.
$ac_ext >&5
16590 wx_cv_struct_pw_gecos
=no
16599 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
16601 if test "$wx_cv_struct_pw_gecos" = "yes"; then
16602 cat >> confdefs.h
<<\EOF
16603 #define HAVE_PW_GECOS 1
16609 if test "$wx_cv_sizeof_wchar_t" != "0"; then
16610 cat >> confdefs.h
<<\EOF
16611 #define wxUSE_WCHAR_T 1
16617 for ac_func
in wcslen
16619 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16620 echo "configure:16621: checking for $ac_func" >&5
16621 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16622 echo $ac_n "(cached) $ac_c" 1>&6
16624 cat > conftest.
$ac_ext <<EOF
16625 #line 16626 "configure"
16626 #include "confdefs.h"
16627 /* System header to define __stub macros and hopefully few prototypes,
16628 which can conflict with char $ac_func(); below. */
16629 #include <assert.h>
16630 /* Override any gcc2 internal prototype to avoid an error. */
16631 /* We use char because int might match the return type of a gcc2
16632 builtin and then its argument prototype would still apply. */
16637 /* The GNU C library defines this for functions which it implements
16638 to always fail with ENOSYS. Some functions are actually named
16639 something starting with __ and the normal name is an alias. */
16640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16648 if { (eval echo configure
:16649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16650 eval "ac_cv_func_$ac_func=yes"
16652 echo "configure: failed program was:" >&5
16653 cat conftest.
$ac_ext >&5
16655 eval "ac_cv_func_$ac_func=no"
16660 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16661 echo "$ac_t""yes" 1>&6
16662 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16663 cat >> confdefs.h
<<EOF
16664 #define $ac_tr_func 1
16668 echo "$ac_t""no" 1>&6
16673 if test "$WCSLEN_FOUND" = 0; then
16674 if test "$TOOLKIT" = "MSW"; then
16675 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
16676 echo "configure:16677: checking for wcslen in -lmsvcrt" >&5
16677 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
16678 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16679 echo $ac_n "(cached) $ac_c" 1>&6
16681 ac_save_LIBS
="$LIBS"
16682 LIBS
="-lmsvcrt $LIBS"
16683 cat > conftest.
$ac_ext <<EOF
16684 #line 16685 "configure"
16685 #include "confdefs.h"
16686 /* Override any gcc2 internal prototype to avoid an error. */
16687 /* We use char because int might match the return type of a gcc2
16688 builtin and then its argument prototype would still apply. */
16695 if { (eval echo configure
:16696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16697 eval "ac_cv_lib_$ac_lib_var=yes"
16699 echo "configure: failed program was:" >&5
16700 cat conftest.
$ac_ext >&5
16702 eval "ac_cv_lib_$ac_lib_var=no"
16705 LIBS
="$ac_save_LIBS"
16708 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16709 echo "$ac_t""yes" 1>&6
16712 echo "$ac_t""no" 1>&6
16716 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
16717 echo "configure:16718: checking for wcslen in -lw" >&5
16718 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
16719 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16720 echo $ac_n "(cached) $ac_c" 1>&6
16722 ac_save_LIBS
="$LIBS"
16724 cat > conftest.
$ac_ext <<EOF
16725 #line 16726 "configure"
16726 #include "confdefs.h"
16727 /* Override any gcc2 internal prototype to avoid an error. */
16728 /* We use char because int might match the return type of a gcc2
16729 builtin and then its argument prototype would still apply. */
16736 if { (eval echo configure
:16737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16738 eval "ac_cv_lib_$ac_lib_var=yes"
16740 echo "configure: failed program was:" >&5
16741 cat conftest.
$ac_ext >&5
16743 eval "ac_cv_lib_$ac_lib_var=no"
16746 LIBS
="$ac_save_LIBS"
16749 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16750 echo "$ac_t""yes" 1>&6
16756 echo "$ac_t""no" 1>&6
16762 if test "$WCSLEN_FOUND" = 1; then
16763 cat >> confdefs.h
<<\EOF
16764 #define HAVE_WCSLEN 1
16769 for ac_func
in wcsrtombs
16771 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16772 echo "configure:16773: checking for $ac_func" >&5
16773 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16774 echo $ac_n "(cached) $ac_c" 1>&6
16776 cat > conftest.
$ac_ext <<EOF
16777 #line 16778 "configure"
16778 #include "confdefs.h"
16779 /* System header to define __stub macros and hopefully few prototypes,
16780 which can conflict with char $ac_func(); below. */
16781 #include <assert.h>
16782 /* Override any gcc2 internal prototype to avoid an error. */
16783 /* We use char because int might match the return type of a gcc2
16784 builtin and then its argument prototype would still apply. */
16789 /* The GNU C library defines this for functions which it implements
16790 to always fail with ENOSYS. Some functions are actually named
16791 something starting with __ and the normal name is an alias. */
16792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16800 if { (eval echo configure
:16801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16802 eval "ac_cv_func_$ac_func=yes"
16804 echo "configure: failed program was:" >&5
16805 cat conftest.
$ac_ext >&5
16807 eval "ac_cv_func_$ac_func=no"
16812 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16813 echo "$ac_t""yes" 1>&6
16814 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16815 cat >> confdefs.h
<<EOF
16816 #define $ac_tr_func 1
16820 echo "$ac_t""no" 1>&6
16825 echo "configure: warning: Wide character support is unavailable" 1>&2
16830 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16831 ac_cpp
='$CXXCPP $CPPFLAGS'
16832 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16833 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16834 cross_compiling
=$ac_cv_prog_cxx_cross
16837 for ac_func
in vsnprintf
16839 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16840 echo "configure:16841: checking for $ac_func" >&5
16841 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16842 echo $ac_n "(cached) $ac_c" 1>&6
16844 cat > conftest.
$ac_ext <<EOF
16845 #line 16846 "configure"
16846 #include "confdefs.h"
16847 /* System header to define __stub macros and hopefully few prototypes,
16848 which can conflict with char $ac_func(); below. */
16849 #include <assert.h>
16850 /* Override any gcc2 internal prototype to avoid an error. */
16854 /* We use char because int might match the return type of a gcc2
16855 builtin and then its argument prototype would still apply. */
16860 /* The GNU C library defines this for functions which it implements
16861 to always fail with ENOSYS. Some functions are actually named
16862 something starting with __ and the normal name is an alias. */
16863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16871 if { (eval echo configure
:16872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16873 eval "ac_cv_func_$ac_func=yes"
16875 echo "configure: failed program was:" >&5
16876 cat conftest.
$ac_ext >&5
16878 eval "ac_cv_func_$ac_func=no"
16883 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16884 echo "$ac_t""yes" 1>&6
16885 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16886 cat >> confdefs.h
<<EOF
16887 #define $ac_tr_func 1
16891 echo "$ac_t""no" 1>&6
16896 if test "$wxUSE_UNICODE" = yes; then
16897 for ac_func
in fputwc wprintf vswprintf
16899 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16900 echo "configure:16901: checking for $ac_func" >&5
16901 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16902 echo $ac_n "(cached) $ac_c" 1>&6
16904 cat > conftest.
$ac_ext <<EOF
16905 #line 16906 "configure"
16906 #include "confdefs.h"
16907 /* System header to define __stub macros and hopefully few prototypes,
16908 which can conflict with char $ac_func(); below. */
16909 #include <assert.h>
16910 /* Override any gcc2 internal prototype to avoid an error. */
16914 /* We use char because int might match the return type of a gcc2
16915 builtin and then its argument prototype would still apply. */
16920 /* The GNU C library defines this for functions which it implements
16921 to always fail with ENOSYS. Some functions are actually named
16922 something starting with __ and the normal name is an alias. */
16923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16931 if { (eval echo configure
:16932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16933 eval "ac_cv_func_$ac_func=yes"
16935 echo "configure: failed program was:" >&5
16936 cat conftest.
$ac_ext >&5
16938 eval "ac_cv_func_$ac_func=no"
16943 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16944 echo "$ac_t""yes" 1>&6
16945 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16946 cat >> confdefs.h
<<EOF
16947 #define $ac_tr_func 1
16951 echo "$ac_t""no" 1>&6
16955 echo $ac_n "checking for _vsnwprintf""... $ac_c" 1>&6
16956 echo "configure:16957: checking for _vsnwprintf" >&5
16957 cat > conftest.
$ac_ext <<EOF
16958 #line 16959 "configure"
16959 #include "confdefs.h"
16965 if { (eval echo configure
:16966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16967 echo "$ac_t""yes" 1>&6
16968 cat >> confdefs.h
<<\EOF
16969 #define HAVE__VSNWPRINTF 1
16973 echo "configure: failed program was:" >&5
16974 cat conftest.
$ac_ext >&5
16976 echo "$ac_t""no" 1>&6
16982 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16983 ac_cpp
='$CPP $CPPFLAGS'
16984 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16985 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16986 cross_compiling
=$ac_cv_prog_cc_cross
16991 if test "$TOOLKIT" != "MSW"; then
16996 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16997 ac_cpp
='$CXXCPP $CPPFLAGS'
16998 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16999 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17000 cross_compiling
=$ac_cv_prog_cxx_cross
17004 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
17005 if test "${with_libiconv_prefix+set}" = set; then
17006 withval
="$with_libiconv_prefix"
17008 for dir
in `echo "$withval" | tr : ' '`; do
17009 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
17010 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
17016 echo $ac_n "checking for iconv""... $ac_c" 1>&6
17017 echo "configure:17018: checking for iconv" >&5
17018 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
17019 echo $ac_n "(cached) $ac_c" 1>&6
17022 am_cv_func_iconv
="no, consider installing GNU libiconv"
17024 cat > conftest.
$ac_ext <<EOF
17025 #line 17026 "configure"
17026 #include "confdefs.h"
17027 #include <stdlib.h>
17030 iconv_t cd = iconv_open("","");
17031 iconv(cd,NULL,NULL,NULL,NULL);
17035 if { (eval echo configure
:17036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17037 am_cv_func_iconv
=yes
17039 echo "configure: failed program was:" >&5
17040 cat conftest.
$ac_ext >&5
17043 if test "$am_cv_func_iconv" != yes; then
17044 am_save_LIBS
="$LIBS"
17045 LIBS
="$LIBS -liconv"
17046 cat > conftest.
$ac_ext <<EOF
17047 #line 17048 "configure"
17048 #include "confdefs.h"
17049 #include <stdlib.h>
17052 iconv_t cd = iconv_open("","");
17053 iconv(cd,NULL,NULL,NULL,NULL);
17057 if { (eval echo configure
:17058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17059 am_cv_lib_iconv
=yes
17060 am_cv_func_iconv
=yes
17062 echo "configure: failed program was:" >&5
17063 cat conftest.
$ac_ext >&5
17066 LIBS
="$am_save_LIBS"
17071 echo "$ac_t""$am_cv_func_iconv" 1>&6
17072 if test "$am_cv_func_iconv" = yes; then
17073 cat >> confdefs.h
<<\EOF
17074 #define HAVE_ICONV 1
17077 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
17078 echo "configure:17079: checking if iconv needs const" >&5
17079 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
17080 echo $ac_n "(cached) $ac_c" 1>&6
17082 cat > conftest.
$ac_ext <<EOF
17083 #line 17084 "configure"
17084 #include "confdefs.h"
17086 #include <stdlib.h>
17092 #if defined(__STDC__) || defined(__cplusplus)
17093 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17102 if { (eval echo configure
:17103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17104 wx_cv_func_iconv_const
="no"
17106 echo "configure: failed program was:" >&5
17107 cat conftest.
$ac_ext >&5
17109 wx_cv_func_iconv_const
="yes"
17116 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
17119 if test "x$wx_cv_func_iconv_const" = "xyes"; then
17120 iconv_const
="const"
17123 cat >> confdefs.h
<<EOF
17124 #define ICONV_CONST $iconv_const
17129 if test "$am_cv_lib_iconv" = yes; then
17134 LIBS
="$LIBICONV $LIBS"
17136 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17137 ac_cpp
='$CPP $CPPFLAGS'
17138 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17139 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17140 cross_compiling
=$ac_cv_prog_cc_cross
17143 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
17144 for ac_func
in sigaction
17146 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17147 echo "configure:17148: checking for $ac_func" >&5
17148 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17149 echo $ac_n "(cached) $ac_c" 1>&6
17151 cat > conftest.
$ac_ext <<EOF
17152 #line 17153 "configure"
17153 #include "confdefs.h"
17154 /* System header to define __stub macros and hopefully few prototypes,
17155 which can conflict with char $ac_func(); below. */
17156 #include <assert.h>
17157 /* Override any gcc2 internal prototype to avoid an error. */
17158 /* We use char because int might match the return type of a gcc2
17159 builtin and then its argument prototype would still apply. */
17164 /* The GNU C library defines this for functions which it implements
17165 to always fail with ENOSYS. Some functions are actually named
17166 something starting with __ and the normal name is an alias. */
17167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17175 if { (eval echo configure
:17176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17177 eval "ac_cv_func_$ac_func=yes"
17179 echo "configure: failed program was:" >&5
17180 cat conftest.
$ac_ext >&5
17182 eval "ac_cv_func_$ac_func=no"
17187 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17188 echo "$ac_t""yes" 1>&6
17189 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17190 cat >> confdefs.h
<<EOF
17191 #define $ac_tr_func 1
17195 echo "$ac_t""no" 1>&6
17200 if test "$ac_cv_func_sigaction" = "no"; then
17201 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
17202 wxUSE_ON_FATAL_EXCEPTION
=no
17205 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17208 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17209 ac_cpp
='$CXXCPP $CPPFLAGS'
17210 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17211 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17212 cross_compiling
=$ac_cv_prog_cxx_cross
17215 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
17216 echo "configure:17217: checking for sa_handler type" >&5
17217 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
17218 echo $ac_n "(cached) $ac_c" 1>&6
17221 cat > conftest.
$ac_ext <<EOF
17222 #line 17223 "configure"
17223 #include "confdefs.h"
17224 #include <signal.h>
17227 extern void testSigHandler(int);
17229 struct sigaction sa;
17230 sa.sa_handler = testSigHandler;
17234 if { (eval echo configure
:17235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17237 wx_cv_type_sa_handler
=int
17240 echo "configure: failed program was:" >&5
17241 cat conftest.
$ac_ext >&5
17244 wx_cv_type_sa_handler
=void
17251 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
17254 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17255 ac_cpp
='$CPP $CPPFLAGS'
17256 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17257 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17258 cross_compiling
=$ac_cv_prog_cc_cross
17261 cat >> confdefs.h
<<EOF
17262 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
17268 for ac_func
in mkstemp mktemp
17270 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17271 echo "configure:17272: checking for $ac_func" >&5
17272 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17273 echo $ac_n "(cached) $ac_c" 1>&6
17275 cat > conftest.
$ac_ext <<EOF
17276 #line 17277 "configure"
17277 #include "confdefs.h"
17278 /* System header to define __stub macros and hopefully few prototypes,
17279 which can conflict with char $ac_func(); below. */
17280 #include <assert.h>
17281 /* Override any gcc2 internal prototype to avoid an error. */
17282 /* We use char because int might match the return type of a gcc2
17283 builtin and then its argument prototype would still apply. */
17288 /* The GNU C library defines this for functions which it implements
17289 to always fail with ENOSYS. Some functions are actually named
17290 something starting with __ and the normal name is an alias. */
17291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17299 if { (eval echo configure
:17300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17301 eval "ac_cv_func_$ac_func=yes"
17303 echo "configure: failed program was:" >&5
17304 cat conftest.
$ac_ext >&5
17306 eval "ac_cv_func_$ac_func=no"
17311 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17312 echo "$ac_t""yes" 1>&6
17313 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17314 cat >> confdefs.h
<<EOF
17315 #define $ac_tr_func 1
17319 echo "$ac_t""no" 1>&6
17324 echo $ac_n "checking for statfs""... $ac_c" 1>&6
17325 echo "configure:17326: checking for statfs" >&5
17326 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
17327 echo $ac_n "(cached) $ac_c" 1>&6
17329 cat > conftest.
$ac_ext <<EOF
17330 #line 17331 "configure"
17331 #include "confdefs.h"
17333 #if defined(__BSD__)
17334 #include <sys/param.h>
17335 #include <sys/mount.h>
17337 #include <sys/vfs.h>
17351 if { (eval echo configure
:17352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17354 wx_cv_func_statfs
=yes
17357 echo "configure: failed program was:" >&5
17358 cat conftest.
$ac_ext >&5
17361 wx_cv_func_statfs
=no
17369 echo "$ac_t""$wx_cv_func_statfs" 1>&6
17371 if test "$wx_cv_func_statfs" = "yes"; then
17372 wx_cv_type_statvfs_t
="struct statfs"
17373 cat >> confdefs.h
<<\EOF
17374 #define HAVE_STATFS 1
17378 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
17379 echo "configure:17380: checking for statvfs" >&5
17380 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
17381 echo $ac_n "(cached) $ac_c" 1>&6
17383 cat > conftest.
$ac_ext <<EOF
17384 #line 17385 "configure"
17385 #include "confdefs.h"
17387 #include <stddef.h>
17388 #include <sys/statvfs.h>
17392 statvfs("/", NULL);
17396 if { (eval echo configure
:17397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17398 wx_cv_func_statvfs
=yes
17400 echo "configure: failed program was:" >&5
17401 cat conftest.
$ac_ext >&5
17403 wx_cv_func_statvfs
=no
17410 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
17412 if test "$wx_cv_func_statvfs" = "yes"; then
17415 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17416 ac_cpp
='$CXXCPP $CPPFLAGS'
17417 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17418 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17419 cross_compiling
=$ac_cv_prog_cxx_cross
17422 echo $ac_n "checking for statvfs argument type""... $ac_c" 1>&6
17423 echo "configure:17424: checking for statvfs argument type" >&5
17424 if eval "test \"`echo '$''{'wx_cv_type_statvfs_t'+set}'`\" = set"; then
17425 echo $ac_n "(cached) $ac_c" 1>&6
17427 cat > conftest.
$ac_ext <<EOF
17428 #line 17429 "configure"
17429 #include "confdefs.h"
17431 #include <sys/statvfs.h>
17444 if { (eval echo configure
:17445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17446 wx_cv_type_statvfs_t
=statvfs_t
17448 echo "configure: failed program was:" >&5
17449 cat conftest.
$ac_ext >&5
17452 cat > conftest.
$ac_ext <<EOF
17453 #line 17454 "configure"
17454 #include "confdefs.h"
17456 #include <sys/statvfs.h>
17469 if { (eval echo configure
:17470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17471 wx_cv_type_statvfs_t
="struct statvfs"
17473 echo "configure: failed program was:" >&5
17474 cat conftest.
$ac_ext >&5
17476 wx_cv_type_statvfs_t
="unknown"
17487 echo "$ac_t""$wx_cv_type_statvfs_t" 1>&6
17490 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17491 ac_cpp
='$CPP $CPPFLAGS'
17492 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17493 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17494 cross_compiling
=$ac_cv_prog_cc_cross
17497 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17498 cat >> confdefs.h
<<\EOF
17499 #define HAVE_STATVFS 1
17504 wx_cv_type_statvfs_t
="unknown"
17508 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17509 cat >> confdefs.h
<<EOF
17510 #define WX_STATFS_T $wx_cv_type_statvfs_t
17514 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
17517 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17518 for ac_func
in fcntl flock
17520 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17521 echo "configure:17522: checking for $ac_func" >&5
17522 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17523 echo $ac_n "(cached) $ac_c" 1>&6
17525 cat > conftest.
$ac_ext <<EOF
17526 #line 17527 "configure"
17527 #include "confdefs.h"
17528 /* System header to define __stub macros and hopefully few prototypes,
17529 which can conflict with char $ac_func(); below. */
17530 #include <assert.h>
17531 /* Override any gcc2 internal prototype to avoid an error. */
17532 /* We use char because int might match the return type of a gcc2
17533 builtin and then its argument prototype would still apply. */
17538 /* The GNU C library defines this for functions which it implements
17539 to always fail with ENOSYS. Some functions are actually named
17540 something starting with __ and the normal name is an alias. */
17541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17549 if { (eval echo configure
:17550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17551 eval "ac_cv_func_$ac_func=yes"
17553 echo "configure: failed program was:" >&5
17554 cat conftest.
$ac_ext >&5
17556 eval "ac_cv_func_$ac_func=no"
17561 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17562 echo "$ac_t""yes" 1>&6
17563 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17564 cat >> confdefs.h
<<EOF
17565 #define $ac_tr_func 1
17569 echo "$ac_t""no" 1>&6
17574 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
17575 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
17576 wxUSE_SNGLINST_CHECKER
=no
17580 for ac_func
in timegm
17582 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17583 echo "configure:17584: checking for $ac_func" >&5
17584 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17585 echo $ac_n "(cached) $ac_c" 1>&6
17587 cat > conftest.
$ac_ext <<EOF
17588 #line 17589 "configure"
17589 #include "confdefs.h"
17590 /* System header to define __stub macros and hopefully few prototypes,
17591 which can conflict with char $ac_func(); below. */
17592 #include <assert.h>
17593 /* Override any gcc2 internal prototype to avoid an error. */
17594 /* We use char because int might match the return type of a gcc2
17595 builtin and then its argument prototype would still apply. */
17600 /* The GNU C library defines this for functions which it implements
17601 to always fail with ENOSYS. Some functions are actually named
17602 something starting with __ and the normal name is an alias. */
17603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17611 if { (eval echo configure
:17612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17613 eval "ac_cv_func_$ac_func=yes"
17615 echo "configure: failed program was:" >&5
17616 cat conftest.
$ac_ext >&5
17618 eval "ac_cv_func_$ac_func=no"
17623 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17624 echo "$ac_t""yes" 1>&6
17625 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17626 cat >> confdefs.h
<<EOF
17627 #define $ac_tr_func 1
17631 echo "$ac_t""no" 1>&6
17636 for ac_func
in putenv setenv
17638 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17639 echo "configure:17640: checking for $ac_func" >&5
17640 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17641 echo $ac_n "(cached) $ac_c" 1>&6
17643 cat > conftest.
$ac_ext <<EOF
17644 #line 17645 "configure"
17645 #include "confdefs.h"
17646 /* System header to define __stub macros and hopefully few prototypes,
17647 which can conflict with char $ac_func(); below. */
17648 #include <assert.h>
17649 /* Override any gcc2 internal prototype to avoid an error. */
17650 /* We use char because int might match the return type of a gcc2
17651 builtin and then its argument prototype would still apply. */
17656 /* The GNU C library defines this for functions which it implements
17657 to always fail with ENOSYS. Some functions are actually named
17658 something starting with __ and the normal name is an alias. */
17659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17667 if { (eval echo configure
:17668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17669 eval "ac_cv_func_$ac_func=yes"
17671 echo "configure: failed program was:" >&5
17672 cat conftest.
$ac_ext >&5
17674 eval "ac_cv_func_$ac_func=no"
17679 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17680 echo "$ac_t""yes" 1>&6
17681 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17682 cat >> confdefs.h
<<EOF
17683 #define $ac_tr_func 1
17687 echo "$ac_t""no" 1>&6
17692 HAVE_SOME_SLEEP_FUNC
=0
17693 if test "$USE_BEOS" = 1; then
17694 cat >> confdefs.h
<<\EOF
17695 #define HAVE_SLEEP 1
17698 HAVE_SOME_SLEEP_FUNC
=1
17701 if test "$USE_DARWIN" = 1; then
17702 cat >> confdefs.h
<<\EOF
17703 #define HAVE_USLEEP 1
17706 HAVE_SOME_SLEEP_FUNC
=1
17709 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
17711 for ac_func
in nanosleep
17713 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17714 echo "configure:17715: checking for $ac_func" >&5
17715 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17716 echo $ac_n "(cached) $ac_c" 1>&6
17718 cat > conftest.
$ac_ext <<EOF
17719 #line 17720 "configure"
17720 #include "confdefs.h"
17721 /* System header to define __stub macros and hopefully few prototypes,
17722 which can conflict with char $ac_func(); below. */
17723 #include <assert.h>
17724 /* Override any gcc2 internal prototype to avoid an error. */
17725 /* We use char because int might match the return type of a gcc2
17726 builtin and then its argument prototype would still apply. */
17731 /* The GNU C library defines this for functions which it implements
17732 to always fail with ENOSYS. Some functions are actually named
17733 something starting with __ and the normal name is an alias. */
17734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17742 if { (eval echo configure
:17743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17744 eval "ac_cv_func_$ac_func=yes"
17746 echo "configure: failed program was:" >&5
17747 cat conftest.
$ac_ext >&5
17749 eval "ac_cv_func_$ac_func=no"
17754 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17755 echo "$ac_t""yes" 1>&6
17756 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17757 cat >> confdefs.h
<<EOF
17758 #define $ac_tr_func 1
17760 cat >> confdefs.h
<<\EOF
17761 #define HAVE_NANOSLEEP 1
17765 echo "$ac_t""no" 1>&6
17766 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
17767 echo "configure:17768: checking for nanosleep in -lposix4" >&5
17768 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
17769 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17770 echo $ac_n "(cached) $ac_c" 1>&6
17772 ac_save_LIBS
="$LIBS"
17773 LIBS
="-lposix4 $LIBS"
17774 cat > conftest.
$ac_ext <<EOF
17775 #line 17776 "configure"
17776 #include "confdefs.h"
17777 /* Override any gcc2 internal prototype to avoid an error. */
17778 /* We use char because int might match the return type of a gcc2
17779 builtin and then its argument prototype would still apply. */
17786 if { (eval echo configure
:17787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17788 eval "ac_cv_lib_$ac_lib_var=yes"
17790 echo "configure: failed program was:" >&5
17791 cat conftest.
$ac_ext >&5
17793 eval "ac_cv_lib_$ac_lib_var=no"
17796 LIBS
="$ac_save_LIBS"
17799 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17800 echo "$ac_t""yes" 1>&6
17802 cat >> confdefs.h
<<\EOF
17803 #define HAVE_NANOSLEEP 1
17806 POSIX4_LINK
=" -lposix4"
17809 echo "$ac_t""no" 1>&6
17811 for ac_func
in usleep
17813 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17814 echo "configure:17815: checking for $ac_func" >&5
17815 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17816 echo $ac_n "(cached) $ac_c" 1>&6
17818 cat > conftest.
$ac_ext <<EOF
17819 #line 17820 "configure"
17820 #include "confdefs.h"
17821 /* System header to define __stub macros and hopefully few prototypes,
17822 which can conflict with char $ac_func(); below. */
17823 #include <assert.h>
17824 /* Override any gcc2 internal prototype to avoid an error. */
17825 /* We use char because int might match the return type of a gcc2
17826 builtin and then its argument prototype would still apply. */
17831 /* The GNU C library defines this for functions which it implements
17832 to always fail with ENOSYS. Some functions are actually named
17833 something starting with __ and the normal name is an alias. */
17834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17842 if { (eval echo configure
:17843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17844 eval "ac_cv_func_$ac_func=yes"
17846 echo "configure: failed program was:" >&5
17847 cat conftest.
$ac_ext >&5
17849 eval "ac_cv_func_$ac_func=no"
17854 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17855 echo "$ac_t""yes" 1>&6
17856 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17857 cat >> confdefs.h
<<EOF
17858 #define $ac_tr_func 1
17860 cat >> confdefs.h
<<\EOF
17861 #define HAVE_USLEEP 1
17865 echo "$ac_t""no" 1>&6
17866 echo "configure: warning: wxSleep() function will not work" 1>&2
17882 for ac_func
in uname gethostname
17884 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17885 echo "configure:17886: checking for $ac_func" >&5
17886 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17887 echo $ac_n "(cached) $ac_c" 1>&6
17889 cat > conftest.
$ac_ext <<EOF
17890 #line 17891 "configure"
17891 #include "confdefs.h"
17892 /* System header to define __stub macros and hopefully few prototypes,
17893 which can conflict with char $ac_func(); below. */
17894 #include <assert.h>
17895 /* Override any gcc2 internal prototype to avoid an error. */
17896 /* We use char because int might match the return type of a gcc2
17897 builtin and then its argument prototype would still apply. */
17902 /* The GNU C library defines this for functions which it implements
17903 to always fail with ENOSYS. Some functions are actually named
17904 something starting with __ and the normal name is an alias. */
17905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17913 if { (eval echo configure
:17914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17915 eval "ac_cv_func_$ac_func=yes"
17917 echo "configure: failed program was:" >&5
17918 cat conftest.
$ac_ext >&5
17920 eval "ac_cv_func_$ac_func=no"
17925 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17926 echo "$ac_t""yes" 1>&6
17927 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17928 cat >> confdefs.h
<<EOF
17929 #define $ac_tr_func 1
17933 echo "$ac_t""no" 1>&6
17940 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17941 ac_cpp
='$CXXCPP $CPPFLAGS'
17942 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17943 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17944 cross_compiling
=$ac_cv_prog_cxx_cross
17947 for ac_func
in strtok_r
17949 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17950 echo "configure:17951: checking for $ac_func" >&5
17951 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17952 echo $ac_n "(cached) $ac_c" 1>&6
17954 cat > conftest.
$ac_ext <<EOF
17955 #line 17956 "configure"
17956 #include "confdefs.h"
17957 /* System header to define __stub macros and hopefully few prototypes,
17958 which can conflict with char $ac_func(); below. */
17959 #include <assert.h>
17960 /* Override any gcc2 internal prototype to avoid an error. */
17964 /* We use char because int might match the return type of a gcc2
17965 builtin and then its argument prototype would still apply. */
17970 /* The GNU C library defines this for functions which it implements
17971 to always fail with ENOSYS. Some functions are actually named
17972 something starting with __ and the normal name is an alias. */
17973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17981 if { (eval echo configure
:17982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17983 eval "ac_cv_func_$ac_func=yes"
17985 echo "configure: failed program was:" >&5
17986 cat conftest.
$ac_ext >&5
17988 eval "ac_cv_func_$ac_func=no"
17993 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17994 echo "$ac_t""yes" 1>&6
17995 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17996 cat >> confdefs.h
<<EOF
17997 #define $ac_tr_func 1
18001 echo "$ac_t""no" 1>&6
18007 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18008 ac_cpp
='$CPP $CPPFLAGS'
18009 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18010 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18011 cross_compiling
=$ac_cv_prog_cc_cross
18015 for ac_func
in inet_addr
18017 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18018 echo "configure:18019: checking for $ac_func" >&5
18019 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18020 echo $ac_n "(cached) $ac_c" 1>&6
18022 cat > conftest.
$ac_ext <<EOF
18023 #line 18024 "configure"
18024 #include "confdefs.h"
18025 /* System header to define __stub macros and hopefully few prototypes,
18026 which can conflict with char $ac_func(); below. */
18027 #include <assert.h>
18028 /* Override any gcc2 internal prototype to avoid an error. */
18029 /* We use char because int might match the return type of a gcc2
18030 builtin and then its argument prototype would still apply. */
18035 /* The GNU C library defines this for functions which it implements
18036 to always fail with ENOSYS. Some functions are actually named
18037 something starting with __ and the normal name is an alias. */
18038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18046 if { (eval echo configure
:18047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18048 eval "ac_cv_func_$ac_func=yes"
18050 echo "configure: failed program was:" >&5
18051 cat conftest.
$ac_ext >&5
18053 eval "ac_cv_func_$ac_func=no"
18058 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18059 echo "$ac_t""yes" 1>&6
18060 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18061 cat >> confdefs.h
<<EOF
18062 #define $ac_tr_func 1
18064 cat >> confdefs.h
<<\EOF
18065 #define HAVE_INET_ADDR 1
18069 echo "$ac_t""no" 1>&6
18070 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
18071 echo "configure:18072: checking for inet_addr in -lnsl" >&5
18072 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
18073 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18074 echo $ac_n "(cached) $ac_c" 1>&6
18076 ac_save_LIBS
="$LIBS"
18078 cat > conftest.
$ac_ext <<EOF
18079 #line 18080 "configure"
18080 #include "confdefs.h"
18081 /* Override any gcc2 internal prototype to avoid an error. */
18082 /* We use char because int might match the return type of a gcc2
18083 builtin and then its argument prototype would still apply. */
18090 if { (eval echo configure
:18091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18092 eval "ac_cv_lib_$ac_lib_var=yes"
18094 echo "configure: failed program was:" >&5
18095 cat conftest.
$ac_ext >&5
18097 eval "ac_cv_lib_$ac_lib_var=no"
18100 LIBS
="$ac_save_LIBS"
18103 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18104 echo "$ac_t""yes" 1>&6
18107 echo "$ac_t""no" 1>&6
18108 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
18109 echo "configure:18110: checking for inet_addr in -lresolv" >&5
18110 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
18111 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18112 echo $ac_n "(cached) $ac_c" 1>&6
18114 ac_save_LIBS
="$LIBS"
18115 LIBS
="-lresolv $LIBS"
18116 cat > conftest.
$ac_ext <<EOF
18117 #line 18118 "configure"
18118 #include "confdefs.h"
18119 /* Override any gcc2 internal prototype to avoid an error. */
18120 /* We use char because int might match the return type of a gcc2
18121 builtin and then its argument prototype would still apply. */
18128 if { (eval echo configure
:18129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18130 eval "ac_cv_lib_$ac_lib_var=yes"
18132 echo "configure: failed program was:" >&5
18133 cat conftest.
$ac_ext >&5
18135 eval "ac_cv_lib_$ac_lib_var=no"
18138 LIBS
="$ac_save_LIBS"
18141 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18142 echo "$ac_t""yes" 1>&6
18145 echo "$ac_t""no" 1>&6
18146 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
18147 echo "configure:18148: checking for inet_addr in -lsocket" >&5
18148 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
18149 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18150 echo $ac_n "(cached) $ac_c" 1>&6
18152 ac_save_LIBS
="$LIBS"
18153 LIBS
="-lsocket $LIBS"
18154 cat > conftest.
$ac_ext <<EOF
18155 #line 18156 "configure"
18156 #include "confdefs.h"
18157 /* Override any gcc2 internal prototype to avoid an error. */
18158 /* We use char because int might match the return type of a gcc2
18159 builtin and then its argument prototype would still apply. */
18166 if { (eval echo configure
:18167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18168 eval "ac_cv_lib_$ac_lib_var=yes"
18170 echo "configure: failed program was:" >&5
18171 cat conftest.
$ac_ext >&5
18173 eval "ac_cv_lib_$ac_lib_var=no"
18176 LIBS
="$ac_save_LIBS"
18179 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18180 echo "$ac_t""yes" 1>&6
18184 echo "$ac_t""no" 1>&6
18199 for ac_func
in inet_aton
18201 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18202 echo "configure:18203: checking for $ac_func" >&5
18203 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18204 echo $ac_n "(cached) $ac_c" 1>&6
18206 cat > conftest.
$ac_ext <<EOF
18207 #line 18208 "configure"
18208 #include "confdefs.h"
18209 /* System header to define __stub macros and hopefully few prototypes,
18210 which can conflict with char $ac_func(); below. */
18211 #include <assert.h>
18212 /* Override any gcc2 internal prototype to avoid an error. */
18213 /* We use char because int might match the return type of a gcc2
18214 builtin and then its argument prototype would still apply. */
18219 /* The GNU C library defines this for functions which it implements
18220 to always fail with ENOSYS. Some functions are actually named
18221 something starting with __ and the normal name is an alias. */
18222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18230 if { (eval echo configure
:18231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18232 eval "ac_cv_func_$ac_func=yes"
18234 echo "configure: failed program was:" >&5
18235 cat conftest.
$ac_ext >&5
18237 eval "ac_cv_func_$ac_func=no"
18242 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18243 echo "$ac_t""yes" 1>&6
18244 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18245 cat >> confdefs.h
<<EOF
18246 #define $ac_tr_func 1
18248 cat >> confdefs.h
<<\EOF
18249 #define HAVE_INET_ATON 1
18253 echo "$ac_t""no" 1>&6
18254 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
18255 echo "configure:18256: checking for inet_aton in -l$INET_LINK" >&5
18256 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
18257 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18258 echo $ac_n "(cached) $ac_c" 1>&6
18260 ac_save_LIBS
="$LIBS"
18261 LIBS
="-l$INET_LINK $LIBS"
18262 cat > conftest.
$ac_ext <<EOF
18263 #line 18264 "configure"
18264 #include "confdefs.h"
18265 /* Override any gcc2 internal prototype to avoid an error. */
18266 /* We use char because int might match the return type of a gcc2
18267 builtin and then its argument prototype would still apply. */
18274 if { (eval echo configure
:18275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18276 eval "ac_cv_lib_$ac_lib_var=yes"
18278 echo "configure: failed program was:" >&5
18279 cat conftest.
$ac_ext >&5
18281 eval "ac_cv_lib_$ac_lib_var=no"
18284 LIBS
="$ac_save_LIBS"
18287 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18288 echo "$ac_t""yes" 1>&6
18289 cat >> confdefs.h
<<\EOF
18290 #define HAVE_INET_ATON 1
18294 echo "$ac_t""no" 1>&6
18302 if test "x$INET_LINK" != "x"; then
18303 cat >> confdefs.h
<<\EOF
18304 #define HAVE_INET_ADDR 1
18307 INET_LINK
=" -l$INET_LINK"
18313 cat > confcache
<<\EOF
18314 # This file is a shell script that caches the results of configure
18315 # tests run on this system so they can be shared between configure
18316 # scripts and configure runs. It is not useful on other systems.
18317 # If it contains results you don't want to keep, you may remove or edit it.
18319 # By default, configure uses ./config.cache as the cache file,
18320 # creating it if it does not exist already. You can give configure
18321 # the --cache-file=FILE option to use a different cache file; that is
18322 # what configure does when it calls configure scripts in
18323 # subdirectories, so they share the cache.
18324 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18325 # config.status only pays attention to the cache file if you give it the
18326 # --recheck option to rerun configure.
18329 # The following way of writing the cache mishandles newlines in values,
18330 # but we know of no workaround that is simple, portable, and efficient.
18331 # So, don't put newlines in cache variables' values.
18332 # Ultrix sh set writes to stderr and can't be redirected directly,
18333 # and sets the high bit in the cache file unless we assign to the vars.
18335 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18337 # `set' does not quote correctly, so add quotes (double-quote substitution
18338 # turns \\\\ into \\, and sed turns \\ into \).
18340 -e "s/'/'\\\\''/g" \
18341 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18344 # `set' quotes correctly as required by POSIX, so do not add quotes.
18345 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18348 if cmp -s $cache_file confcache
; then
18351 if test -w $cache_file; then
18352 echo "updating cache $cache_file"
18353 cat confcache
> $cache_file
18355 echo "not updating unwritable cache $cache_file"
18363 if test "$TOOLKIT" != "MSW"; then
18369 if test "$wxUSE_THREADS" = "yes" ; then
18370 if test "$USE_BEOS" = 1; then
18371 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
18376 if test "$wxUSE_THREADS" = "yes" ; then
18379 THREAD_OPTS
="-pthread"
18381 *-*-solaris2* | *-*-sunos4* )
18382 if test "x$GCC" = "xyes"; then
18383 THREAD_OPTS
="-pthreads $THREAD_OPTS"
18385 THREAD_OPTS
="-mt $THREAD_OPTS"
18389 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
18391 *-*-darwin* | *-*-cygwin* )
18395 THREAD_OPTS
="pthreads"
18399 THREAD_OPTS
="$THREAD_OPTS pthread none"
18402 for flag
in $THREAD_OPTS; do
18405 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
18406 echo "configure:18407: checking whether pthreads work without any flags" >&5
18410 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
18411 echo "configure:18412: checking whether pthreads work with $flag" >&5
18412 THREADS_CFLAGS
="$flag"
18416 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
18417 echo "configure:18418: checking for the pthreads library -l$flag" >&5
18418 THREADS_LINK
="-l$flag"
18423 save_CFLAGS
="$CFLAGS"
18424 LIBS
="$THREADS_LINK $LIBS"
18425 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
18427 cat > conftest.
$ac_ext <<EOF
18428 #line 18429 "configure"
18429 #include "confdefs.h"
18430 #include <pthread.h>
18432 pthread_create(0,0,0,0);
18435 if { (eval echo configure
:18436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18439 echo "configure: failed program was:" >&5
18440 cat conftest.
$ac_ext >&5
18445 CFLAGS
="$save_CFLAGS"
18447 echo "$ac_t""$THREADS_OK" 1>&6
18448 if test "x$THREADS_OK" = "xyes"; then
18456 if test "x$THREADS_OK" != "xyes"; then
18458 echo "configure: warning: No thread support on this system... disabled" 1>&2
18460 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
18461 LIBS
="$THREADS_LINK $LIBS"
18463 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
18464 echo "configure:18465: checking if more special flags are required for pthreads" >&5
18468 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
18469 flag
="-D_THREAD_SAFE"
18472 flag
="-D_THREAD_SAFE"
18475 flag
="-D_REENTRANT"
18477 *solaris
* | alpha
*-osf*)
18478 flag
="-D_REENTRANT"
18481 echo "$ac_t""${flag}" 1>&6
18482 if test "x$flag" != xno
; then
18483 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
18486 if test "x$THREADS_CFLAGS" != "x"; then
18487 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
18488 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
18493 if test "$wxUSE_THREADS" = "yes" ; then
18494 for ac_func
in thr_setconcurrency
18496 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18497 echo "configure:18498: checking for $ac_func" >&5
18498 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18499 echo $ac_n "(cached) $ac_c" 1>&6
18501 cat > conftest.
$ac_ext <<EOF
18502 #line 18503 "configure"
18503 #include "confdefs.h"
18504 /* System header to define __stub macros and hopefully few prototypes,
18505 which can conflict with char $ac_func(); below. */
18506 #include <assert.h>
18507 /* Override any gcc2 internal prototype to avoid an error. */
18508 /* We use char because int might match the return type of a gcc2
18509 builtin and then its argument prototype would still apply. */
18514 /* The GNU C library defines this for functions which it implements
18515 to always fail with ENOSYS. Some functions are actually named
18516 something starting with __ and the normal name is an alias. */
18517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18525 if { (eval echo configure
:18526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18527 eval "ac_cv_func_$ac_func=yes"
18529 echo "configure: failed program was:" >&5
18530 cat conftest.
$ac_ext >&5
18532 eval "ac_cv_func_$ac_func=no"
18537 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18538 echo "$ac_t""yes" 1>&6
18539 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18540 cat >> confdefs.h
<<EOF
18541 #define $ac_tr_func 1
18545 echo "$ac_t""no" 1>&6
18550 for ac_hdr
in sched.h
18552 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18553 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18554 echo "configure:18555: checking for $ac_hdr" >&5
18555 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18556 echo $ac_n "(cached) $ac_c" 1>&6
18558 cat > conftest.
$ac_ext <<EOF
18559 #line 18560 "configure"
18560 #include "confdefs.h"
18563 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18564 { (eval echo configure
:18565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18565 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18566 if test -z "$ac_err"; then
18568 eval "ac_cv_header_$ac_safe=yes"
18571 echo "configure: failed program was:" >&5
18572 cat conftest.
$ac_ext >&5
18574 eval "ac_cv_header_$ac_safe=no"
18578 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18579 echo "$ac_t""yes" 1>&6
18580 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18581 cat >> confdefs.h
<<EOF
18582 #define $ac_tr_hdr 1
18586 echo "$ac_t""no" 1>&6
18590 if test "$ac_cv_header_sched_h" = "yes"; then
18591 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
18592 echo "configure:18593: checking for sched_yield" >&5
18593 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
18594 echo $ac_n "(cached) $ac_c" 1>&6
18596 cat > conftest.
$ac_ext <<EOF
18597 #line 18598 "configure"
18598 #include "confdefs.h"
18599 /* System header to define __stub macros and hopefully few prototypes,
18600 which can conflict with char sched_yield(); below. */
18601 #include <assert.h>
18602 /* Override any gcc2 internal prototype to avoid an error. */
18603 /* We use char because int might match the return type of a gcc2
18604 builtin and then its argument prototype would still apply. */
18605 char sched_yield();
18609 /* The GNU C library defines this for functions which it implements
18610 to always fail with ENOSYS. Some functions are actually named
18611 something starting with __ and the normal name is an alias. */
18612 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
18620 if { (eval echo configure
:18621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18622 eval "ac_cv_func_sched_yield=yes"
18624 echo "configure: failed program was:" >&5
18625 cat conftest.
$ac_ext >&5
18627 eval "ac_cv_func_sched_yield=no"
18632 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
18633 echo "$ac_t""yes" 1>&6
18634 cat >> confdefs.h
<<\EOF
18635 #define HAVE_SCHED_YIELD 1
18639 echo "$ac_t""no" 1>&6
18641 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
18642 echo "configure:18643: checking for sched_yield in -lposix4" >&5
18643 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
18644 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18645 echo $ac_n "(cached) $ac_c" 1>&6
18647 ac_save_LIBS
="$LIBS"
18648 LIBS
="-lposix4 $LIBS"
18649 cat > conftest.
$ac_ext <<EOF
18650 #line 18651 "configure"
18651 #include "confdefs.h"
18652 /* Override any gcc2 internal prototype to avoid an error. */
18653 /* We use char because int might match the return type of a gcc2
18654 builtin and then its argument prototype would still apply. */
18655 char sched_yield();
18661 if { (eval echo configure
:18662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18663 eval "ac_cv_lib_$ac_lib_var=yes"
18665 echo "configure: failed program was:" >&5
18666 cat conftest.
$ac_ext >&5
18668 eval "ac_cv_lib_$ac_lib_var=no"
18671 LIBS
="$ac_save_LIBS"
18674 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18675 echo "$ac_t""yes" 1>&6
18676 cat >> confdefs.h
<<\EOF
18677 #define HAVE_SCHED_YIELD 1
18679 POSIX4_LINK
=" -lposix4"
18681 echo "$ac_t""no" 1>&6
18682 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
18693 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
18694 echo "configure:18695: checking for pthread_attr_getschedpolicy" >&5
18695 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
18696 echo $ac_n "(cached) $ac_c" 1>&6
18698 cat > conftest.
$ac_ext <<EOF
18699 #line 18700 "configure"
18700 #include "confdefs.h"
18701 /* System header to define __stub macros and hopefully few prototypes,
18702 which can conflict with char pthread_attr_getschedpolicy(); below. */
18703 #include <assert.h>
18704 /* Override any gcc2 internal prototype to avoid an error. */
18705 /* We use char because int might match the return type of a gcc2
18706 builtin and then its argument prototype would still apply. */
18707 char pthread_attr_getschedpolicy();
18711 /* The GNU C library defines this for functions which it implements
18712 to always fail with ENOSYS. Some functions are actually named
18713 something starting with __ and the normal name is an alias. */
18714 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
18717 pthread_attr_getschedpolicy();
18722 if { (eval echo configure
:18723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18724 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
18726 echo "configure: failed program was:" >&5
18727 cat conftest.
$ac_ext >&5
18729 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
18734 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
18735 echo "$ac_t""yes" 1>&6
18736 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
18737 echo "configure:18738: checking for pthread_attr_setschedparam" >&5
18738 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
18739 echo $ac_n "(cached) $ac_c" 1>&6
18741 cat > conftest.
$ac_ext <<EOF
18742 #line 18743 "configure"
18743 #include "confdefs.h"
18744 /* System header to define __stub macros and hopefully few prototypes,
18745 which can conflict with char pthread_attr_setschedparam(); below. */
18746 #include <assert.h>
18747 /* Override any gcc2 internal prototype to avoid an error. */
18748 /* We use char because int might match the return type of a gcc2
18749 builtin and then its argument prototype would still apply. */
18750 char pthread_attr_setschedparam();
18754 /* The GNU C library defines this for functions which it implements
18755 to always fail with ENOSYS. Some functions are actually named
18756 something starting with __ and the normal name is an alias. */
18757 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
18760 pthread_attr_setschedparam();
18765 if { (eval echo configure
:18766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18767 eval "ac_cv_func_pthread_attr_setschedparam=yes"
18769 echo "configure: failed program was:" >&5
18770 cat conftest.
$ac_ext >&5
18772 eval "ac_cv_func_pthread_attr_setschedparam=no"
18777 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
18778 echo "$ac_t""yes" 1>&6
18779 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
18780 echo "configure:18781: checking for sched_get_priority_max" >&5
18781 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
18782 echo $ac_n "(cached) $ac_c" 1>&6
18784 cat > conftest.
$ac_ext <<EOF
18785 #line 18786 "configure"
18786 #include "confdefs.h"
18787 /* System header to define __stub macros and hopefully few prototypes
18789 echo "$ac_t""no" 1>&6
18790 which can conflict with char sched_get_priority_max(); below. */
18791 #include <assert.h>
18792 /* Override any gcc2 internal prototype to avoid an error. */
18793 /* We use char because int might match the return type of a gcc2
18794 builtin and then its argument prototype would still apply. */
18795 char sched_get_priority_max();
18799 /* The GNU C library defines this for functions which it implements
18800 to always fail with ENOSYS. Some functions are actually named
18801 something starting with __ and the normal name is an alias. */
18802 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
18805 sched_get_priority_max();
18810 if { (eval echo configure
:18811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18812 eval "ac_cv_func_sched_get_priority_max=yes"
18814 echo "configure: failed program was:" >&5
18815 cat conftest.
$ac_ext >&5
18817 eval "ac_cv_func_sched_get_priority_max=no"
18822 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
18823 echo "$ac_t""yes" 1>&6
18826 echo "$ac_t""no" 1>&6
18827 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
18828 echo "configure:18829: checking for sched_get_priority_max in -lposix4" >&5
18829 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
18830 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18831 echo $ac_n "(cached) $ac_c" 1>&6
18833 ac_save_LIBS
="$LIBS"
18834 LIBS
="-lposix4 $LIBS"
18835 cat > conftest.
$ac_ext <<EOF
18836 #line 18837 "configure"
18837 #include "confdefs.h"
18838 /* Override any gcc2 internal prototype to avoid an error. */
18839 /* We use char because int might match the return type of a gcc2
18840 builtin and then its argument prototype would still apply. */
18841 char sched_get_priority_max();
18844 sched_get_priority_max()
18847 if { (eval echo configure
:18848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18849 eval "ac_cv_lib_$ac_lib_var=yes"
18851 echo "configure: failed program was:" >&5
18852 cat conftest.
$ac_ext >&5
18854 eval "ac_cv_lib_$ac_lib_var=no"
18857 LIBS
="$ac_save_LIBS"
18860 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18861 echo "$ac_t""yes" 1>&6
18864 POSIX4_LINK
=" -lposix4"
18867 echo "$ac_t""no" 1>&6
18875 echo "$ac_t""no" 1>&6
18882 if test "$HAVE_PRIOR_FUNCS" = 1; then
18883 cat >> confdefs.h
<<\EOF
18884 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
18888 echo "configure: warning: Setting thread priority will not work" 1>&2
18891 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
18892 echo "configure:18893: checking for pthread_cancel" >&5
18893 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
18894 echo $ac_n "(cached) $ac_c" 1>&6
18896 cat > conftest.
$ac_ext <<EOF
18897 #line 18898 "configure"
18898 #include "confdefs.h"
18899 /* System header to define __stub macros and hopefully few prototypes,
18900 which can conflict with char pthread_cancel(); below. */
18901 #include <assert.h>
18902 /* Override any gcc2 internal prototype to avoid an error. */
18903 /* We use char because int might match the return type of a gcc2
18904 builtin and then its argument prototype would still apply. */
18905 char pthread_cancel();
18909 /* The GNU C library defines this for functions which it implements
18910 to always fail with ENOSYS. Some functions are actually named
18911 something starting with __ and the normal name is an alias. */
18912 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
18920 if { (eval echo configure
:18921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18922 eval "ac_cv_func_pthread_cancel=yes"
18924 echo "configure: failed program was:" >&5
18925 cat conftest.
$ac_ext >&5
18927 eval "ac_cv_func_pthread_cancel=no"
18932 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
18933 echo "$ac_t""yes" 1>&6
18934 cat >> confdefs.h
<<\EOF
18935 #define HAVE_PTHREAD_CANCEL 1
18939 echo "$ac_t""no" 1>&6
18940 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
18944 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
18945 echo "configure:18946: checking for pthread_cleanup_push/pop" >&5
18946 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
18947 echo $ac_n "(cached) $ac_c" 1>&6
18950 cat > conftest.
$ac_ext <<EOF
18951 #line 18952 "configure"
18952 #include "confdefs.h"
18953 #include <pthread.h>
18956 pthread_cleanup_push(NULL, NULL);
18957 pthread_cleanup_pop(0);
18961 if { (eval echo configure
:18962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18964 wx_cv_func_pthread_cleanup_push
=yes
18967 echo "configure: failed program was:" >&5
18968 cat conftest.
$ac_ext >&5
18971 wx_cv_func_pthread_cleanup_push
=no
18978 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
18980 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
18981 cat >> confdefs.h
<<\EOF
18982 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
18988 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
18989 echo "configure:18990: checking for pthread_mutexattr_t" >&5
18990 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
18991 echo $ac_n "(cached) $ac_c" 1>&6
18994 cat > conftest.
$ac_ext <<EOF
18995 #line 18996 "configure"
18996 #include "confdefs.h"
18997 #include <pthread.h>
19000 pthread_mutexattr_t attr;
19001 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
19005 if { (eval echo configure
:19006: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19008 wx_cv_type_pthread_mutexattr_t
=yes
19011 echo "configure: failed program was:" >&5
19012 cat conftest.
$ac_ext >&5
19015 wx_cv_type_pthread_mutexattr_t
=no
19023 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
19025 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
19026 cat >> confdefs.h
<<\EOF
19027 #define HAVE_PTHREAD_MUTEXATTR_T 1
19031 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
19032 echo "configure:19033: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
19033 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
19034 echo $ac_n "(cached) $ac_c" 1>&6
19037 cat > conftest.
$ac_ext <<EOF
19038 #line 19039 "configure"
19039 #include "confdefs.h"
19040 #include <pthread.h>
19043 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
19047 if { (eval echo configure
:19048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19050 wx_cv_type_pthread_rec_mutex_init
=yes
19053 echo "configure: failed program was:" >&5
19054 cat conftest.
$ac_ext >&5
19057 wx_cv_type_pthread_rec_mutex_init
=no
19065 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
19066 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
19067 cat >> confdefs.h
<<\EOF
19068 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
19072 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
19078 if test "$wxUSE_THREADS" = "yes" ; then
19081 echo $ac_n "checking if compiler supports -mthreads""... $ac_c" 1>&6
19082 echo "configure:19083: checking if compiler supports -mthreads" >&5
19083 if eval "test \"`echo '$''{'wx_cv_cflags_mthread'+set}'`\" = set"; then
19084 echo $ac_n "(cached) $ac_c" 1>&6
19087 CFLAGS_OLD
="$CFLAGS"
19088 CFLAGS
="$CFLAGS -mthreads"
19089 cat > conftest.
$ac_ext <<EOF
19090 #line 19091 "configure"
19091 #include "confdefs.h"
19097 if { (eval echo configure
:19098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19099 wx_cv_cflags_mthread
=yes
19101 echo "configure: failed program was:" >&5
19102 cat conftest.
$ac_ext >&5
19104 wx_cv_cflags_mthread
=no
19112 echo "$ac_t""$wx_cv_cflags_mthread" 1>&6
19114 if test "$wx_cv_cflags_mthread" = "yes"; then
19115 CXXFLAGS
="$CXXFLAGS -mthreads"
19116 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
19117 LDFLAGS
="$LDFLAGS -mthreads"
19119 CFLAGS
="$CFLAGS_OLD"
19126 if test "$wxUSE_THREADS" = "yes"; then
19127 cat >> confdefs.h
<<\EOF
19128 #define wxUSE_THREADS 1
19132 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
19134 if test "$ac_cv_func_strtok_r" = "yes"; then
19135 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
19136 echo "configure:19137: checking if -D_REENTRANT is needed" >&5
19137 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
19138 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
19139 echo "$ac_t""yes" 1>&6
19141 echo "$ac_t""no" 1>&6
19146 if test "$WXGTK20" = 1 ; then
19147 cat >> confdefs.h
<<EOF
19148 #define __WXGTK20__ $WXGTK20
19154 if test "$WXGTK12" = 1 ; then
19155 cat >> confdefs.h
<<EOF
19156 #define __WXGTK12__ $WXGTK12
19161 if test "$WXGTK127" = 1 ; then
19162 cat >> confdefs.h
<<EOF
19163 #define __WXGTK127__ $WXGTK127
19170 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
19175 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
19176 wxUSE_DEBUG_INFO
=yes
19180 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
19181 cat >> confdefs.h
<<\EOF
19185 WXDEBUG_DEFINE
="-D__WXDEBUG__"
19187 if test "$wxUSE_GTK" = 1 ; then
19188 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
19192 if test "$wxUSE_MEM_TRACING" = "yes" ; then
19193 cat >> confdefs.h
<<\EOF
19194 #define wxUSE_MEMORY_TRACING 1
19197 cat >> confdefs.h
<<\EOF
19198 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
19201 cat >> confdefs.h
<<\EOF
19202 #define wxUSE_DEBUG_NEW_ALWAYS 1
19205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
19208 if test "$wxUSE_DMALLOC" = "yes" ; then
19209 DMALLOC_LIBS
="-ldmalloc"
19213 if test "$wxUSE_PROFILE" = "yes" ; then
19218 CODE_GEN_FLAGS_CXX
=
19219 if test "$GCC" = "yes" ; then
19220 if test "$wxUSE_NO_RTTI" = "yes" ; then
19221 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
19223 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
19224 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
19226 if test "$wxUSE_PERMISSIVE" = "yes" ; then
19227 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
19229 if test "$USE_WIN32" = 1 ; then
19230 # I'm not even really sure what this was ever added to solve,
19231 # but someone added it for mingw native builds, so I guess
19232 # they had a reason, right??
19233 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
19238 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
19241 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
19246 if test "$wxUSE_OPTIMISE" = "no" ; then
19249 if test "$GCC" = yes ; then
19252 i586
-*-*|i686
-*-* )
19253 OPTIMISE
="${OPTIMISE} "
19261 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
19262 cat >> confdefs.h
<<\EOF
19263 #define WXWIN_COMPATIBILITY_2 1
19267 WXWIN_COMPATIBILITY_2_2
="yes"
19270 if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
19271 cat >> confdefs.h
<<\EOF
19272 #define WXWIN_COMPATIBILITY_2_2 1
19278 if test "$wxUSE_GUI" = "yes"; then
19279 cat >> confdefs.h
<<\EOF
19280 #define wxUSE_GUI 1
19285 cat >> confdefs.h
<<\EOF
19286 #define wxUSE_NOGUI 1
19292 if test "$wxUSE_UNIX" = "yes"; then
19293 cat >> confdefs.h
<<\EOF
19294 #define wxUSE_UNIX 1
19300 if test "$wxUSE_APPLE_IEEE" = "yes"; then
19301 cat >> confdefs.h
<<\EOF
19302 #define wxUSE_APPLE_IEEE 1
19307 if test "$wxUSE_TIMER" = "yes"; then
19308 cat >> confdefs.h
<<\EOF
19309 #define wxUSE_TIMER 1
19314 if test "$wxUSE_WAVE" = "yes"; then
19315 cat >> confdefs.h
<<\EOF
19316 #define wxUSE_WAVE 1
19321 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
19322 cat >> confdefs.h
<<\EOF
19323 #define wxUSE_CMDLINE_PARSER 1
19328 if test "$wxUSE_STOPWATCH" = "yes"; then
19329 cat >> confdefs.h
<<\EOF
19330 #define wxUSE_STOPWATCH 1
19335 if test "$wxUSE_DATETIME" = "yes"; then
19336 cat >> confdefs.h
<<\EOF
19337 #define wxUSE_DATETIME 1
19342 if test "$wxUSE_TIMEDATE" = "yes"; then
19343 cat >> confdefs.h
<<\EOF
19344 #define wxUSE_TIMEDATE 1
19349 if test "$wxUSE_FILE" = "yes"; then
19350 cat >> confdefs.h
<<\EOF
19351 #define wxUSE_FILE 1
19356 if test "$wxUSE_FFILE" = "yes"; then
19357 cat >> confdefs.h
<<\EOF
19358 #define wxUSE_FFILE 1
19363 if test "$wxUSE_FILESYSTEM" = "yes"; then
19364 cat >> confdefs.h
<<\EOF
19365 #define wxUSE_FILESYSTEM 1
19370 if test "$wxUSE_FS_INET" = "yes"; then
19371 cat >> confdefs.h
<<\EOF
19372 #define wxUSE_FS_INET 1
19377 if test "$wxUSE_FS_ZIP" = "yes"; then
19378 cat >> confdefs.h
<<\EOF
19379 #define wxUSE_FS_ZIP 1
19384 if test "$wxUSE_ZIPSTREAM" = "yes"; then
19385 cat >> confdefs.h
<<\EOF
19386 #define wxUSE_ZIPSTREAM 1
19391 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
19392 cat >> confdefs.h
<<\EOF
19393 #define wxUSE_ON_FATAL_EXCEPTION 1
19398 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
19399 cat >> confdefs.h
<<\EOF
19400 #define wxUSE_SNGLINST_CHECKER 1
19405 if test "$wxUSE_BUSYINFO" = "yes"; then
19406 cat >> confdefs.h
<<\EOF
19407 #define wxUSE_BUSYINFO 1
19412 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
19413 cat >> confdefs.h
<<\EOF
19414 #define wxUSE_STD_IOSTREAM 1
19419 if test "$wxUSE_TEXTBUFFER" = "yes"; then
19420 cat >> confdefs.h
<<\EOF
19421 #define wxUSE_TEXTBUFFER 1
19426 if test "$wxUSE_TEXTFILE" = "yes"; then
19427 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
19428 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
19430 cat >> confdefs.h
<<\EOF
19431 #define wxUSE_TEXTFILE 1
19437 if test "$wxUSE_CONFIG" = "yes" ; then
19438 if test "$wxUSE_TEXTFILE" != "yes"; then
19439 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
19441 cat >> confdefs.h
<<\EOF
19442 #define wxUSE_CONFIG 1
19445 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
19449 if test "$wxUSE_INTL" = "yes" ; then
19450 if test "$wxUSE_FILE" != "yes"; then
19451 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
19453 cat >> confdefs.h
<<\EOF
19454 #define wxUSE_INTL 1
19457 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
19458 GUIDIST
="$GUIDIST INTL_DIST"
19462 if test "$wxUSE_LOG" = "yes"; then
19463 cat >> confdefs.h
<<\EOF
19464 #define wxUSE_LOG 1
19468 if test "$wxUSE_LOGGUI" = "yes"; then
19469 cat >> confdefs.h
<<\EOF
19470 #define wxUSE_LOGGUI 1
19475 if test "$wxUSE_LOGWINDOW" = "yes"; then
19476 cat >> confdefs.h
<<\EOF
19477 #define wxUSE_LOGWINDOW 1
19482 if test "$wxUSE_LOGDIALOG" = "yes"; then
19483 cat >> confdefs.h
<<\EOF
19484 #define wxUSE_LOG_DIALOG 1
19490 if test "$wxUSE_LONGLONG" = "yes"; then
19491 cat >> confdefs.h
<<\EOF
19492 #define wxUSE_LONGLONG 1
19497 if test "$wxUSE_GEOMETRY" = "yes"; then
19498 cat >> confdefs.h
<<\EOF
19499 #define wxUSE_GEOMETRY 1
19504 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
19505 cat >> confdefs.h
<<\EOF
19506 #define wxUSE_DIALUP_MANAGER 1
19509 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
19512 if test "$wxUSE_STREAMS" = "yes" ; then
19513 cat >> confdefs.h
<<\EOF
19514 #define wxUSE_STREAMS 1
19520 if test "$wxUSE_DATETIME" = "yes"; then
19521 for ac_func
in strptime
19523 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19524 echo "configure:19525: checking for $ac_func" >&5
19525 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19526 echo $ac_n "(cached) $ac_c" 1>&6
19528 cat > conftest.
$ac_ext <<EOF
19529 #line 19530 "configure"
19530 #include "confdefs.h"
19531 /* System header to define __stub macros and hopefully few prototypes,
19532 which can conflict with char $ac_func(); below. */
19533 #include <assert.h>
19534 /* Override any gcc2 internal prototype to avoid an error. */
19535 /* We use char because int might match the return type of a gcc2
19536 builtin and then its argument prototype would still apply. */
19541 /* The GNU C library defines this for functions which it implements
19542 to always fail with ENOSYS. Some functions are actually named
19543 something starting with __ and the normal name is an alias. */
19544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19552 if { (eval echo configure
:19553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19554 eval "ac_cv_func_$ac_func=yes"
19556 echo "configure: failed program was:" >&5
19557 cat conftest.
$ac_ext >&5
19559 eval "ac_cv_func_$ac_func=no"
19564 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19565 echo "$ac_t""yes" 1>&6
19566 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19567 cat >> confdefs.h
<<EOF
19568 #define $ac_tr_func 1
19572 echo "$ac_t""no" 1>&6
19577 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
19578 echo "configure:19579: checking for timezone variable in <time.h>" >&5
19579 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
19580 echo $ac_n "(cached) $ac_c" 1>&6
19583 cat > conftest.
$ac_ext <<EOF
19584 #line 19585 "configure"
19585 #include "confdefs.h"
19596 if { (eval echo configure
:19597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19599 wx_cv_var_timezone
=timezone
19602 echo "configure: failed program was:" >&5
19603 cat conftest.
$ac_ext >&5
19606 cat > conftest.
$ac_ext <<EOF
19607 #line 19608 "configure"
19608 #include "confdefs.h"
19619 if { (eval echo configure
:19620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19622 wx_cv_var_timezone
=_timezone
19625 echo "configure: failed program was:" >&5
19626 cat conftest.
$ac_ext >&5
19629 cat > conftest.
$ac_ext <<EOF
19630 #line 19631 "configure"
19631 #include "confdefs.h"
19642 if { (eval echo configure
:19643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19645 wx_cv_var_timezone
=__timezone
19648 echo "configure: failed program was:" >&5
19649 cat conftest.
$ac_ext >&5
19652 if test "$USE_DOS" = 0 ; then
19653 echo "configure: warning: no timezone variable" 1>&2
19671 echo "$ac_t""$wx_cv_var_timezone" 1>&6
19673 if test "x$wx_cv_var_timezone" != x
; then
19674 cat >> confdefs.h
<<EOF
19675 #define WX_TIMEZONE $wx_cv_var_timezone
19680 for ac_func
in localtime
19682 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19683 echo "configure:19684: checking for $ac_func" >&5
19684 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19685 echo $ac_n "(cached) $ac_c" 1>&6
19687 cat > conftest.
$ac_ext <<EOF
19688 #line 19689 "configure"
19689 #include "confdefs.h"
19690 /* System header to define __stub macros and hopefully few prototypes,
19691 which can conflict with char $ac_func(); below. */
19692 #include <assert.h>
19693 /* Override any gcc2 internal prototype to avoid an error. */
19694 /* We use char because int might match the return type of a gcc2
19695 builtin and then its argument prototype would still apply. */
19700 /* The GNU C library defines this for functions which it implements
19701 to always fail with ENOSYS. Some functions are actually named
19702 something starting with __ and the normal name is an alias. */
19703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19711 if { (eval echo configure
:19712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19713 eval "ac_cv_func_$ac_func=yes"
19715 echo "configure: failed program was:" >&5
19716 cat conftest.
$ac_ext >&5
19718 eval "ac_cv_func_$ac_func=no"
19723 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19724 echo "$ac_t""yes" 1>&6
19725 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19726 cat >> confdefs.h
<<EOF
19727 #define $ac_tr_func 1
19731 echo "$ac_t""no" 1>&6
19736 if test "$ac_cv_func_localtime" = "yes"; then
19737 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
19738 echo "configure:19739: checking for tm_gmtoff in struct tm" >&5
19739 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
19740 echo $ac_n "(cached) $ac_c" 1>&6
19743 cat > conftest.
$ac_ext <<EOF
19744 #line 19745 "configure"
19745 #include "confdefs.h"
19756 if { (eval echo configure
:19757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19759 wx_cv_struct_tm_has_gmtoff
=yes
19762 echo "configure: failed program was:" >&5
19763 cat conftest.
$ac_ext >&5
19765 wx_cv_struct_tm_has_gmtoff
=no
19772 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
19775 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
19776 cat >> confdefs.h
<<\EOF
19777 #define WX_GMTOFF_IN_TM 1
19782 for ac_func
in gettimeofday ftime
19784 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19785 echo "configure:19786: checking for $ac_func" >&5
19786 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19787 echo $ac_n "(cached) $ac_c" 1>&6
19789 cat > conftest.
$ac_ext <<EOF
19790 #line 19791 "configure"
19791 #include "confdefs.h"
19792 /* System header to define __stub macros and hopefully few prototypes,
19793 which can conflict with char $ac_func(); below. */
19794 #include <assert.h>
19795 /* Override any gcc2 internal prototype to avoid an error. */
19796 /* We use char because int might match the return type of a gcc2
19797 builtin and then its argument prototype would still apply. */
19802 /* The GNU C library defines this for functions which it implements
19803 to always fail with ENOSYS. Some functions are actually named
19804 something starting with __ and the normal name is an alias. */
19805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19813 if { (eval echo configure
:19814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19815 eval "ac_cv_func_$ac_func=yes"
19817 echo "configure: failed program was:" >&5
19818 cat conftest.
$ac_ext >&5
19820 eval "ac_cv_func_$ac_func=no"
19825 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19826 echo "$ac_t""yes" 1>&6
19827 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19828 cat >> confdefs.h
<<EOF
19829 #define $ac_tr_func 1
19833 echo "$ac_t""no" 1>&6
19838 if test "$ac_cv_func_gettimeofday" = "yes"; then
19839 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
19840 echo "configure:19841: checking whether gettimeofday takes two arguments" >&5
19841 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
19842 echo $ac_n "(cached) $ac_c" 1>&6
19847 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19848 ac_cpp
='$CXXCPP $CPPFLAGS'
19849 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19850 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19851 cross_compiling
=$ac_cv_prog_cxx_cross
19854 cat > conftest.
$ac_ext <<EOF
19855 #line 19856 "configure"
19856 #include "confdefs.h"
19858 #include <sys/time.h>
19859 #include <unistd.h>
19864 gettimeofday(&tv, NULL);
19868 if { (eval echo configure
:19869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19870 wx_cv_func_gettimeofday_has_2_args
=yes
19872 echo "configure: failed program was:" >&5
19873 cat conftest.
$ac_ext >&5
19875 cat > conftest.
$ac_ext <<EOF
19876 #line 19877 "configure"
19877 #include "confdefs.h"
19879 #include <sys/time.h>
19880 #include <unistd.h>
19889 if { (eval echo configure
:19890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19891 wx_cv_func_gettimeofday_has_2_args
=no
19893 echo "configure: failed program was:" >&5
19894 cat conftest.
$ac_ext >&5
19897 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
19898 wx_cv_func_gettimeofday_has_2_args
=unknown
19907 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19908 ac_cpp
='$CPP $CPPFLAGS'
19909 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19910 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19911 cross_compiling
=$ac_cv_prog_cc_cross
19916 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
19918 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
19919 cat >> confdefs.h
<<\EOF
19920 #define WX_GETTIMEOFDAY_NO_TZ 1
19926 cat >> confdefs.h
<<\EOF
19927 #define wxUSE_TIMEDATE 1
19930 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
19934 if test "$wxUSE_SOCKETS" = "yes"; then
19935 if test "$wxUSE_MGL" = "1"; then
19936 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
19941 if test "$wxUSE_SOCKETS" = "yes"; then
19942 if test "$TOOLKIT" != "MSW"; then
19943 echo $ac_n "checking for socket""... $ac_c" 1>&6
19944 echo "configure:19945: checking for socket" >&5
19945 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
19946 echo $ac_n "(cached) $ac_c" 1>&6
19948 cat > conftest.
$ac_ext <<EOF
19949 #line 19950 "configure"
19950 #include "confdefs.h"
19951 /* System header to define __stub macros and hopefully few prototypes,
19952 which can conflict with char socket(); below. */
19953 #include <assert.h>
19954 /* Override any gcc2 internal prototype to avoid an error. */
19955 /* We use char because int might match the return type of a gcc2
19956 builtin and then its argument prototype would still apply. */
19961 /* The GNU C library defines this for functions which it implements
19962 to always fail with ENOSYS. Some functions are actually named
19963 something starting with __ and the normal name is an alias. */
19964 #if defined (__stub_socket) || defined (__stub___socket)
19972 if { (eval echo configure
:19973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19974 eval "ac_cv_func_socket=yes"
19976 echo "configure: failed program was:" >&5
19977 cat conftest.
$ac_ext >&5
19979 eval "ac_cv_func_socket=no"
19984 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
19985 echo "$ac_t""yes" 1>&6
19988 echo "$ac_t""no" 1>&6
19989 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
19990 echo "configure:19991: checking for socket in -lsocket" >&5
19991 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
19992 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19993 echo $ac_n "(cached) $ac_c" 1>&6
19995 ac_save_LIBS
="$LIBS"
19996 LIBS
="-lsocket $LIBS"
19997 cat > conftest.
$ac_ext <<EOF
19998 #line 19999 "configure"
19999 #include "confdefs.h"
20000 /* Override any gcc2 internal prototype to avoid an error. */
20001 /* We use char because int might match the return type of a gcc2
20002 builtin and then its argument prototype would still apply. */
20009 if { (eval echo configure
:20010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20011 eval "ac_cv_lib_$ac_lib_var=yes"
20013 echo "configure: failed program was:" >&5
20014 cat conftest.
$ac_ext >&5
20016 eval "ac_cv_lib_$ac_lib_var=no"
20019 LIBS
="$ac_save_LIBS"
20022 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20023 echo "$ac_t""yes" 1>&6
20024 if test "$INET_LINK" != " -lsocket"; then
20025 INET_LINK
="$INET_LINK -lsocket"
20028 echo "$ac_t""no" 1>&6
20030 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
20042 if test "$wxUSE_SOCKETS" = "yes" ; then
20043 if test "$TOOLKIT" != "MSW"; then
20044 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
20045 echo "configure:20046: checking what is the type of the third argument of getsockname" >&5
20046 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
20047 echo $ac_n "(cached) $ac_c" 1>&6
20052 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20053 ac_cpp
='$CXXCPP $CPPFLAGS'
20054 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20055 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20056 cross_compiling
=$ac_cv_prog_cxx_cross
20059 cat > conftest.
$ac_ext <<EOF
20060 #line 20061 "configure"
20061 #include "confdefs.h"
20063 #include <sys/types.h>
20064 #include <sys/socket.h>
20069 getsockname(0, 0, &len);
20073 if { (eval echo configure
:20074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20075 wx_cv_type_getsockname3
=socklen_t
20077 echo "configure: failed program was:" >&5
20078 cat conftest.
$ac_ext >&5
20080 cat > conftest.
$ac_ext <<EOF
20081 #line 20082 "configure"
20082 #include "confdefs.h"
20084 #include <sys/types.h>
20085 #include <sys/socket.h>
20090 getsockname(0, 0, &len);
20094 if { (eval echo configure
:20095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20096 wx_cv_type_getsockname3
=size_t
20098 echo "configure: failed program was:" >&5
20099 cat conftest.
$ac_ext >&5
20101 cat > conftest.
$ac_ext <<EOF
20102 #line 20103 "configure"
20103 #include "confdefs.h"
20105 #include <sys/types.h>
20106 #include <sys/socket.h>
20111 getsockname(0, 0, &len);
20115 if { (eval echo configure
:20116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20117 wx_cv_type_getsockname3
=int
20119 echo "configure: failed program was:" >&5
20120 cat conftest.
$ac_ext >&5
20122 wx_cv_type_getsockname3
=unknown
20134 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20135 ac_cpp
='$CPP $CPPFLAGS'
20136 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20137 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20138 cross_compiling
=$ac_cv_prog_cc_cross
20143 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
20145 if test "$wx_cv_type_getsockname3" = "unknown"; then
20147 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
20149 cat >> confdefs.h
<<EOF
20150 #define SOCKLEN_T $wx_cv_type_getsockname3
20157 if test "$wxUSE_SOCKETS" = "yes" ; then
20158 cat >> confdefs.h
<<\EOF
20159 #define wxUSE_SOCKETS 1
20162 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
20166 if test "$wxUSE_GUI" = "yes"; then
20168 if test "$TOOLKIT" = "MAC"; then
20169 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
20172 if test "$TOOLKIT" = "MOTIF"; then
20173 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
20176 if test "$TOOLKIT" = "X11"; then
20177 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
20181 if test "$TOOLKIT" != "MSW"; then
20182 if test "$wxUSE_JOYSTICK" = "yes"; then
20183 for ac_hdr
in linux
/joystick.h
20185 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20186 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20187 echo "configure:20188: checking for $ac_hdr" >&5
20188 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20189 echo $ac_n "(cached) $ac_c" 1>&6
20191 cat > conftest.
$ac_ext <<EOF
20192 #line 20193 "configure"
20193 #include "confdefs.h"
20196 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20197 { (eval echo configure
:20198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20198 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20199 if test -z "$ac_err"; then
20201 eval "ac_cv_header_$ac_safe=yes"
20204 echo "configure: failed program was:" >&5
20205 cat conftest.
$ac_ext >&5
20207 eval "ac_cv_header_$ac_safe=no"
20211 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20212 echo "$ac_t""yes" 1>&6
20213 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20214 cat >> confdefs.h
<<EOF
20215 #define $ac_tr_hdr 1
20219 echo "$ac_t""no" 1>&6
20223 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
20225 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
20230 if test "$wxUSE_JOYSTICK" = "yes"; then
20231 cat >> confdefs.h
<<\EOF
20232 #define wxUSE_JOYSTICK 1
20235 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
20240 if test "$TOOLKIT" != "MSW"; then
20244 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20245 if test "$USE_DARWIN" = 1; then
20248 for ac_func
in dlopen
20250 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20251 echo "configure:20252: checking for $ac_func" >&5
20252 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20253 echo $ac_n "(cached) $ac_c" 1>&6
20255 cat > conftest.
$ac_ext <<EOF
20256 #line 20257 "configure"
20257 #include "confdefs.h"
20258 /* System header to define __stub macros and hopefully few prototypes,
20259 which can conflict with char $ac_func(); below. */
20260 #include <assert.h>
20261 /* Override any gcc2 internal prototype to avoid an error. */
20262 /* We use char because int might match the return type of a gcc2
20263 builtin and then its argument prototype would still apply. */
20268 /* The GNU C library defines this for functions which it implements
20269 to always fail with ENOSYS. Some functions are actually named
20270 something starting with __ and the normal name is an alias. */
20271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20279 if { (eval echo configure
:20280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20281 eval "ac_cv_func_$ac_func=yes"
20283 echo "configure: failed program was:" >&5
20284 cat conftest.
$ac_ext >&5
20286 eval "ac_cv_func_$ac_func=no"
20291 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20292 echo "$ac_t""yes" 1>&6
20293 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20294 cat >> confdefs.h
<<EOF
20295 #define $ac_tr_func 1
20298 cat >> confdefs.h
<<\EOF
20299 #define HAVE_DLOPEN 1
20305 echo "$ac_t""no" 1>&6
20306 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
20307 echo "configure:20308: checking for dlopen in -ldl" >&5
20308 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
20309 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20310 echo $ac_n "(cached) $ac_c" 1>&6
20312 ac_save_LIBS
="$LIBS"
20314 cat > conftest.
$ac_ext <<EOF
20315 #line 20316 "configure"
20316 #include "confdefs.h"
20317 /* Override any gcc2 internal prototype to avoid an error. */
20318 /* We use char because int might match the return type of a gcc2
20319 builtin and then its argument prototype would still apply. */
20326 if { (eval echo configure
:20327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20328 eval "ac_cv_lib_$ac_lib_var=yes"
20330 echo "configure: failed program was:" >&5
20331 cat conftest.
$ac_ext >&5
20333 eval "ac_cv_lib_$ac_lib_var=no"
20336 LIBS
="$ac_save_LIBS"
20339 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20340 echo "$ac_t""yes" 1>&6
20342 cat >> confdefs.h
<<\EOF
20343 #define HAVE_DLOPEN 1
20347 DL_LINK
=" -ldl$DL_LINK"
20350 echo "$ac_t""no" 1>&6
20352 for ac_func
in shl_load
20354 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20355 echo "configure:20356: checking for $ac_func" >&5
20356 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20357 echo $ac_n "(cached) $ac_c" 1>&6
20359 cat > conftest.
$ac_ext <<EOF
20360 #line 20361 "configure"
20361 #include "confdefs.h"
20362 /* System header to define __stub macros and hopefully few prototypes,
20363 which can conflict with char $ac_func(); below. */
20364 #include <assert.h>
20365 /* Override any gcc2 internal prototype to avoid an error. */
20366 /* We use char because int might match the return type of a gcc2
20367 builtin and then its argument prototype would still apply. */
20372 /* The GNU C library defines this for functions which it implements
20373 to always fail with ENOSYS. Some functions are actually named
20374 something starting with __ and the normal name is an alias. */
20375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20383 if { (eval echo configure
:20384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20385 eval "ac_cv_func_$ac_func=yes"
20387 echo "configure: failed program was:" >&5
20388 cat conftest.
$ac_ext >&5
20390 eval "ac_cv_func_$ac_func=no"
20395 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20396 echo "$ac_t""yes" 1>&6
20397 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20398 cat >> confdefs.h
<<EOF
20399 #define $ac_tr_func 1
20402 cat >> confdefs.h
<<\EOF
20403 #define HAVE_SHL_LOAD 1
20409 echo "$ac_t""no" 1>&6
20410 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
20411 echo "configure:20412: checking for dld in -lshl_load" >&5
20412 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
20413 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20414 echo $ac_n "(cached) $ac_c" 1>&6
20416 ac_save_LIBS
="$LIBS"
20417 LIBS
="-lshl_load $LIBS"
20418 cat > conftest.
$ac_ext <<EOF
20419 #line 20420 "configure"
20420 #include "confdefs.h"
20421 /* Override any gcc2 internal prototype to avoid an error. */
20422 /* We use char because int might match the return type of a gcc2
20423 builtin and then its argument prototype would still apply. */
20430 if { (eval echo configure
:20431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20432 eval "ac_cv_lib_$ac_lib_var=yes"
20434 echo "configure: failed program was:" >&5
20435 cat conftest.
$ac_ext >&5
20437 eval "ac_cv_lib_$ac_lib_var=no"
20440 LIBS
="$ac_save_LIBS"
20443 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20444 echo "$ac_t""yes" 1>&6
20447 DL_LINK
=" -ldld$DL_LINK"
20450 echo "$ac_t""no" 1>&6
20465 if test "$HAVE_DL_FUNCS" = 1; then
20466 for ac_func
in dlerror
20468 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20469 echo "configure:20470: checking for $ac_func" >&5
20470 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20471 echo $ac_n "(cached) $ac_c" 1>&6
20473 cat > conftest.
$ac_ext <<EOF
20474 #line 20475 "configure"
20475 #include "confdefs.h"
20476 /* System header to define __stub macros and hopefully few prototypes,
20477 which can conflict with char $ac_func(); below. */
20478 #include <assert.h>
20479 /* Override any gcc2 internal prototype to avoid an error. */
20480 /* We use char because int might match the return type of a gcc2
20481 builtin and then its argument prototype would still apply. */
20486 /* The GNU C library defines this for functions which it implements
20487 to always fail with ENOSYS. Some functions are actually named
20488 something starting with __ and the normal name is an alias. */
20489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20497 if { (eval echo configure
:20498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20499 eval "ac_cv_func_$ac_func=yes"
20501 echo "configure: failed program was:" >&5
20502 cat conftest.
$ac_ext >&5
20504 eval "ac_cv_func_$ac_func=no"
20509 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20510 echo "$ac_t""yes" 1>&6
20511 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20512 cat >> confdefs.h
<<EOF
20513 #define $ac_tr_func 1
20515 cat >> confdefs.h
<<\EOF
20516 #define HAVE_DLERROR 1
20520 echo "$ac_t""no" 1>&6
20521 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
20522 echo "configure:20523: checking for dlerror in -ldl" >&5
20523 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
20524 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20525 echo $ac_n "(cached) $ac_c" 1>&6
20527 ac_save_LIBS
="$LIBS"
20529 cat > conftest.
$ac_ext <<EOF
20530 #line 20531 "configure"
20531 #include "confdefs.h"
20532 /* Override any gcc2 internal prototype to avoid an error. */
20533 /* We use char because int might match the return type of a gcc2
20534 builtin and then its argument prototype would still apply. */
20541 if { (eval echo configure
:20542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20543 eval "ac_cv_lib_$ac_lib_var=yes"
20545 echo "configure: failed program was:" >&5
20546 cat conftest.
$ac_ext >&5
20548 eval "ac_cv_lib_$ac_lib_var=no"
20551 LIBS
="$ac_save_LIBS"
20554 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20555 echo "$ac_t""yes" 1>&6
20556 cat >> confdefs.h
<<\EOF
20557 #define HAVE_DLERROR 1
20561 echo "$ac_t""no" 1>&6
20570 if test "$HAVE_DL_FUNCS" = 0; then
20571 if test "$HAVE_SHL_FUNCS" = 0; then
20572 if test "$USE_UNIX" = 1; then
20573 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
20574 wxUSE_DYNAMIC_LOADER
=no
20575 wxUSE_DYNLIB_CLASS
=no
20577 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
20584 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
20585 cat >> confdefs.h
<<\EOF
20586 #define wxUSE_DYNAMIC_LOADER 1
20589 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20590 cat >> confdefs.h
<<\EOF
20591 #define wxUSE_DYNLIB_CLASS 1
20597 if test "$wxUSE_FONTMAP" = "yes" ; then
20598 cat >> confdefs.h
<<\EOF
20599 #define wxUSE_FONTMAP 1
20604 if test "$wxUSE_UNICODE" = "yes" ; then
20605 cat >> confdefs.h
<<\EOF
20606 #define wxUSE_UNICODE 1
20610 if test "$wxUSE_MSW" != 1; then
20611 wxUSE_UNICODE_MSLU
=no
20614 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
20615 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
20616 echo "configure:20617: checking for main in -lunicows" >&5
20617 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
20618 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20619 echo $ac_n "(cached) $ac_c" 1>&6
20621 ac_save_LIBS
="$LIBS"
20622 LIBS
="-lunicows $LIBS"
20623 cat > conftest.
$ac_ext <<EOF
20624 #line 20625 "configure"
20625 #include "confdefs.h"
20631 if { (eval echo configure
:20632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20633 eval "ac_cv_lib_$ac_lib_var=yes"
20635 echo "configure: failed program was:" >&5
20636 cat conftest.
$ac_ext >&5
20638 eval "ac_cv_lib_$ac_lib_var=no"
20641 LIBS
="$ac_save_LIBS"
20644 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20645 echo "$ac_t""yes" 1>&6
20647 cat >> confdefs.h
<<\EOF
20648 #define wxUSE_UNICODE_MSLU 1
20653 echo "$ac_t""no" 1>&6
20655 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
20656 Applications will only run on Windows NT/2000/XP!" 1>&2
20657 wxUSE_UNICODE_MSLU
=no
20664 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
20665 cat >> confdefs.h
<<\EOF
20666 #define wxUSE_EXPERIMENTAL_PRINTF 1
20674 if test "$wxUSE_ODBC" = "yes" ; then
20675 cat >> confdefs.h
<<\EOF
20676 #define wxUSE_ODBC 1
20679 WXODBCFLAG
="-D_IODBC_"
20680 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
20684 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
20685 cat >> confdefs.h
<<\EOF
20686 #define wxUSE_POSTSCRIPT 1
20691 cat >> confdefs.h
<<\EOF
20692 #define wxUSE_AFM_FOR_POSTSCRIPT 1
20696 cat >> confdefs.h
<<\EOF
20697 #define wxUSE_NORMALIZED_PS_FONTS 1
20702 if test "$wxUSE_CONSTRAINTS" = "yes"; then
20703 cat >> confdefs.h
<<\EOF
20704 #define wxUSE_CONSTRAINTS 1
20707 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
20710 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20713 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20714 cat >> confdefs.h
<<\EOF
20715 #define wxUSE_MDI_ARCHITECTURE 1
20718 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
20722 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
20723 cat >> confdefs.h
<<\EOF
20724 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
20727 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
20728 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20729 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
20733 if test "$wxUSE_HELP" = "yes"; then
20734 cat >> confdefs.h
<<\EOF
20735 #define wxUSE_HELP 1
20738 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
20740 if test "$wxUSE_MSW" = 1; then
20741 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
20742 cat >> confdefs.h
<<\EOF
20743 #define wxUSE_MS_HTML_HELP 1
20749 if test "$wxUSE_WXHTML_HELP" = "yes"; then
20750 if test "$wxUSE_HTML" = "yes"; then
20751 cat >> confdefs.h
<<\EOF
20752 #define wxUSE_WXHTML_HELP 1
20756 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
20757 wxUSE_WXHTML_HELP
=no
20762 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20763 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20764 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
20766 cat >> confdefs.h
<<\EOF
20767 #define wxUSE_PRINTING_ARCHITECTURE 1
20771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
20774 if test "$wxUSE_PROLOGIO" = "yes" ; then
20775 cat >> confdefs.h
<<\EOF
20776 #define wxUSE_PROLOGIO 1
20779 ALL_OBJECTS
="$ALL_OBJECTS parser.o"
20782 if test "$wxUSE_RESOURCES" = "yes" ; then
20783 if test "$wxUSE_NANOX" = "yes"; then
20784 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
20786 cat >> confdefs.h
<<\EOF
20787 #define wxUSE_RESOURCES 1
20790 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
20792 if test "$wxUSE_PROLOGIO" != "yes" ; then
20793 ALL_OBJECTS
="$ALL_OBJECTS parser.o"
20797 if test "$wxUSE_X_RESOURCES" = "yes"; then
20798 cat >> confdefs.h
<<\EOF
20799 #define wxUSE_X_RESOURCES 1
20805 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
20806 -o "$wxUSE_CLIPBOARD" = "yes" \
20807 -o "$wxUSE_OLE" = "yes" \
20808 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
20809 for ac_hdr
in ole2.h
20811 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20812 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20813 echo "configure:20814: checking for $ac_hdr" >&5
20814 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20815 echo $ac_n "(cached) $ac_c" 1>&6
20817 cat > conftest.
$ac_ext <<EOF
20818 #line 20819 "configure"
20819 #include "confdefs.h"
20822 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20823 { (eval echo configure
:20824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20824 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20825 if test -z "$ac_err"; then
20827 eval "ac_cv_header_$ac_safe=yes"
20830 echo "configure: failed program was:" >&5
20831 cat conftest.
$ac_ext >&5
20833 eval "ac_cv_header_$ac_safe=no"
20837 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20838 echo "$ac_t""yes" 1>&6
20839 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20840 cat >> confdefs.h
<<EOF
20841 #define $ac_tr_hdr 1
20845 echo "$ac_t""no" 1>&6
20850 if test "$ac_cv_header_ole2_h" = "yes" ; then
20851 if test "$GCC" = yes ; then
20854 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20855 ac_cpp
='$CXXCPP $CPPFLAGS'
20856 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20857 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20858 cross_compiling
=$ac_cv_prog_cxx_cross
20861 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
20862 echo "configure:20863: checking if g++ requires -fvtable-thunks" >&5
20863 cat > conftest.
$ac_ext <<EOF
20864 #line 20865 "configure"
20865 #include "confdefs.h"
20866 #include <windows.h>
20872 if { (eval echo configure
:20873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20874 echo "$ac_t""no" 1>&6
20876 echo "configure: failed program was:" >&5
20877 cat conftest.
$ac_ext >&5
20879 echo "$ac_t""yes" 1>&6
20880 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
20884 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20885 ac_cpp
='$CPP $CPPFLAGS'
20886 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20887 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20888 cross_compiling
=$ac_cv_prog_cc_cross
20890 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
20891 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
20892 cat >> confdefs.h
<<\EOF
20893 #define wxUSE_OLE 1
20899 cat >> confdefs.h
<<\EOF
20900 #define wxUSE_DATAOBJ 1
20904 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
20907 wxUSE_DRAG_AND_DROP
=no
20912 if test "$wxUSE_METAFILE" = "yes"; then
20913 cat >> confdefs.h
<<\EOF
20914 #define wxUSE_METAFILE 1
20918 cat >> confdefs.h
<<\EOF
20919 #define wxUSE_ENH_METAFILE 1
20925 if test "$wxUSE_IPC" = "yes"; then
20926 if test "$wxUSE_SOCKETS" != "yes"; then
20927 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
20930 cat >> confdefs.h
<<\EOF
20931 #define wxUSE_IPC 1
20936 if test "$wxUSE_CLIPBOARD" = "yes"; then
20937 if test "$wxUSE_MGL" = 1; then
20938 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
20942 if test "$wxUSE_CLIPBOARD" = "yes"; then
20943 cat >> confdefs.h
<<\EOF
20944 #define wxUSE_CLIPBOARD 1
20948 cat >> confdefs.h
<<\EOF
20949 #define wxUSE_DATAOBJ 1
20955 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
20956 if test "$wxUSE_GTK" = 1; then
20957 if test "$WXGTK12" != 1; then
20958 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
20959 wxUSE_DRAG_AND_DROP
=no
20963 if test "$wxUSE_MOTIF" = 1; then
20964 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
20965 wxUSE_DRAG_AND_DROP
=no
20968 if test "$wxUSE_X11" = 1; then
20969 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
20970 wxUSE_DRAG_AND_DROP
=no
20973 if test "$wxUSE_MGL" = 1; then
20974 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
20975 wxUSE_DRAG_AND_DROP
=no
20978 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
20979 cat >> confdefs.h
<<\EOF
20980 #define wxUSE_DRAG_AND_DROP 1
20983 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
20988 if test "$wxUSE_SPLINES" = "yes" ; then
20989 cat >> confdefs.h
<<\EOF
20990 #define wxUSE_SPLINES 1
20997 if test "$wxUSE_CONTROLS" = "yes"; then
21001 if test "$wxUSE_ACCEL" = "yes"; then
21002 cat >> confdefs.h
<<\EOF
21003 #define wxUSE_ACCEL 1
21009 if test "$wxUSE_BUTTON" = "yes"; then
21010 cat >> confdefs.h
<<\EOF
21011 #define wxUSE_BUTTON 1
21017 if test "$wxUSE_BMPBUTTON" = "yes"; then
21018 cat >> confdefs.h
<<\EOF
21019 #define wxUSE_BMPBUTTON 1
21025 if test "$wxUSE_CALCTRL" = "yes"; then
21026 cat >> confdefs.h
<<\EOF
21027 #define wxUSE_CALENDARCTRL 1
21031 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
21034 if test "$wxUSE_CARET" = "yes"; then
21035 cat >> confdefs.h
<<\EOF
21036 #define wxUSE_CARET 1
21040 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
21043 if test "$wxUSE_COMBOBOX" = "yes"; then
21044 cat >> confdefs.h
<<\EOF
21045 #define wxUSE_COMBOBOX 1
21051 if test "$wxUSE_CHOICE" = "yes"; then
21052 cat >> confdefs.h
<<\EOF
21053 #define wxUSE_CHOICE 1
21059 if test "$wxUSE_CHECKBOX" = "yes"; then
21060 cat >> confdefs.h
<<\EOF
21061 #define wxUSE_CHECKBOX 1
21067 if test "$wxUSE_CHECKLST" = "yes"; then
21068 cat >> confdefs.h
<<\EOF
21069 #define wxUSE_CHECKLISTBOX 1
21073 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
21076 if test "$wxUSE_GAUGE" = "yes"; then
21077 cat >> confdefs.h
<<\EOF
21078 #define wxUSE_GAUGE 1
21084 if test "$wxUSE_NEW_GRID" = "yes"; then
21086 cat >> confdefs.h
<<\EOF
21087 #define wxUSE_NEW_GRID 1
21091 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
21094 if test "$wxUSE_GRID" = "yes"; then
21095 cat >> confdefs.h
<<\EOF
21096 #define wxUSE_GRID 1
21100 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
21103 if test "$wxUSE_IMAGLIST" = "yes"; then
21104 cat >> confdefs.h
<<\EOF
21105 #define wxUSE_IMAGLIST 1
21110 if test "$wxUSE_LISTBOX" = "yes"; then
21111 cat >> confdefs.h
<<\EOF
21112 #define wxUSE_LISTBOX 1
21118 if test "$wxUSE_LISTCTRL" = "yes"; then
21119 if test "$wxUSE_IMAGLIST" = "yes"; then
21120 cat >> confdefs.h
<<\EOF
21121 #define wxUSE_LISTCTRL 1
21125 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
21127 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
21131 if test "$wxUSE_NOTEBOOK" = "yes"; then
21132 cat >> confdefs.h
<<\EOF
21133 #define wxUSE_NOTEBOOK 1
21137 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
21140 if test "$wxUSE_PROPSHEET" = "yes"; then
21141 cat >> confdefs.h
<<\EOF
21142 #define wxUSE_PROPSHEET 1
21146 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
21149 if test "$wxUSE_RADIOBOX" = "yes"; then
21150 cat >> confdefs.h
<<\EOF
21151 #define wxUSE_RADIOBOX 1
21157 if test "$wxUSE_RADIOBTN" = "yes"; then
21158 cat >> confdefs.h
<<\EOF
21159 #define wxUSE_RADIOBTN 1
21165 if test "$wxUSE_SASH" = "yes"; then
21166 cat >> confdefs.h
<<\EOF
21167 #define wxUSE_SASH 1
21170 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
21173 if test "$wxUSE_SCROLLBAR" = "yes"; then
21174 cat >> confdefs.h
<<\EOF
21175 #define wxUSE_SCROLLBAR 1
21179 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
21182 if test "$wxUSE_SLIDER" = "yes"; then
21183 cat >> confdefs.h
<<\EOF
21184 #define wxUSE_SLIDER 1
21190 if test "$wxUSE_SPINBTN" = "yes"; then
21191 cat >> confdefs.h
<<\EOF
21192 #define wxUSE_SPINBTN 1
21198 if test "$wxUSE_SPINCTRL" = "yes"; then
21199 cat >> confdefs.h
<<\EOF
21200 #define wxUSE_SPINCTRL 1
21206 if test "$wxUSE_SPLITTER" = "yes"; then
21207 cat >> confdefs.h
<<\EOF
21208 #define wxUSE_SPLITTER 1
21211 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
21214 if test "$wxUSE_STATBMP" = "yes"; then
21215 cat >> confdefs.h
<<\EOF
21216 #define wxUSE_STATBMP 1
21222 if test "$wxUSE_STATBOX" = "yes"; then
21223 cat >> confdefs.h
<<\EOF
21224 #define wxUSE_STATBOX 1
21230 if test "$wxUSE_STATTEXT" = "yes"; then
21231 cat >> confdefs.h
<<\EOF
21232 #define wxUSE_STATTEXT 1
21238 if test "$wxUSE_STATLINE" = "yes"; then
21239 cat >> confdefs.h
<<\EOF
21240 #define wxUSE_STATLINE 1
21246 if test "$wxUSE_STATUSBAR" = "yes"; then
21247 cat >> confdefs.h
<<\EOF
21248 #define wxUSE_STATUSBAR 1
21253 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
21256 if test "$wxUSE_TABDIALOG" = "yes"; then
21257 cat >> confdefs.h
<<\EOF
21258 #define wxUSE_TAB_DIALOG 1
21261 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
21264 if test "$wxUSE_TEXTCTRL" = "yes"; then
21265 cat >> confdefs.h
<<\EOF
21266 #define wxUSE_TEXTCTRL 1
21270 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
21273 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21274 if test "$wxUSE_MAC" = 1; then
21275 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
21278 if test "$wxUSE_UNIVERSAL" = "yes"; then
21279 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
21283 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21284 cat >> confdefs.h
<<\EOF
21285 #define wxUSE_TOGGLEBTN 1
21292 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
21293 cat >> confdefs.h
<<\EOF
21294 #define wxUSE_TOOLBAR_SIMPLE 1
21297 wxUSE_TOOLBAR
="yes"
21301 if test "$wxUSE_TOOLBAR" = "yes"; then
21302 cat >> confdefs.h
<<\EOF
21303 #define wxUSE_TOOLBAR 1
21308 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
21309 wxUSE_TOOLBAR_NATIVE
="yes"
21312 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
21313 cat >> confdefs.h
<<\EOF
21314 #define wxUSE_TOOLBAR_NATIVE 1
21320 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
21323 if test "$wxUSE_TOOLTIPS" = "yes"; then
21324 if test "$wxUSE_MOTIF" = 1; then
21325 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
21327 if test "$wxUSE_UNIVERSAL" = "yes"; then
21328 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
21330 cat >> confdefs.h
<<\EOF
21331 #define wxUSE_TOOLTIPS 1
21338 if test "$wxUSE_TREECTRL" = "yes"; then
21339 if test "$wxUSE_IMAGLIST" = "yes"; then
21340 cat >> confdefs.h
<<\EOF
21341 #define wxUSE_TREECTRL 1
21345 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
21347 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
21351 if test "$wxUSE_POPUPWIN" = "yes"; then
21352 if test "$wxUSE_MAC" = 1; then
21353 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
21355 if test "$wxUSE_MOTIF" = 1; then
21356 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
21358 if test "$wxUSE_PM" = 1; then
21359 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
21361 cat >> confdefs.h
<<\EOF
21362 #define wxUSE_POPUPWIN 1
21372 if test "$wxUSE_TIPWINDOW" = "yes"; then
21373 if test "$wxUSE_PM" = 1; then
21374 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
21376 cat >> confdefs.h
<<\EOF
21377 #define wxUSE_TIPWINDOW 1
21383 if test "$USES_CONTROLS" = 1; then
21384 cat >> confdefs.h
<<\EOF
21385 #define wxUSE_CONTROLS 1
21391 if test "$wxUSE_TREELAYOUT" = "yes"; then
21392 cat >> confdefs.h
<<\EOF
21393 #define wxUSE_TREELAYOUT 1
21396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
21399 if test "$wxUSE_DRAGIMAGE" = "yes"; then
21400 cat >> confdefs.h
<<\EOF
21401 #define wxUSE_DRAGIMAGE 1
21404 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
21407 if test "$wxUSE_MENUS" = "yes"; then
21408 cat >> confdefs.h
<<\EOF
21409 #define wxUSE_MENUS 1
21412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
21415 if test "$wxUSE_METAFILE" = "yes"; then
21416 cat >> confdefs.h
<<\EOF
21417 #define wxUSE_METAFILE 1
21422 if test "$wxUSE_MIMETYPE" = "yes"; then
21423 cat >> confdefs.h
<<\EOF
21424 #define wxUSE_MIMETYPE 1
21429 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
21430 cat >> confdefs.h
<<\EOF
21431 #define wxUSE_SYSTEM_OPTIONS 1
21434 if test "$TOOLKIT" = "MSW"; then
21435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
21440 if test "$wxUSE_PROTOCOL" = "yes"; then
21441 if test "$wxUSE_SOCKETS" != "yes"; then
21442 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
21446 if test "$wxUSE_PROTOCOL" = "yes"; then
21447 cat >> confdefs.h
<<\EOF
21448 #define wxUSE_PROTOCOL 1
21452 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
21453 cat >> confdefs.h
<<\EOF
21454 #define wxUSE_PROTOCOL_HTTP 1
21458 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
21459 cat >> confdefs.h
<<\EOF
21460 #define wxUSE_PROTOCOL_FTP 1
21464 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
21465 cat >> confdefs.h
<<\EOF
21466 #define wxUSE_PROTOCOL_FILE 1
21473 if test "$wxUSE_URL" = "yes"; then
21474 if test "$wxUSE_PROTOCOL" != "yes"; then
21475 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
21478 if test "$wxUSE_URL" = "yes"; then
21479 cat >> confdefs.h
<<\EOF
21480 #define wxUSE_URL 1
21486 if test "$wxUSE_MINIFRAME" = "yes"; then
21487 cat >> confdefs.h
<<\EOF
21488 #define wxUSE_MINIFRAME 1
21491 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
21494 if test "$wxUSE_HTML" = "yes"; then
21495 cat >> confdefs.h
<<\EOF
21496 #define wxUSE_HTML 1
21499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
21502 if test "$wxUSE_VALIDATORS" = "yes"; then
21503 cat >> confdefs.h
<<\EOF
21504 #define wxUSE_VALIDATORS 1
21507 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
21510 if test "$wxUSE_PALETTE" = "yes" ; then
21511 cat >> confdefs.h
<<\EOF
21512 #define wxUSE_PALETTE 1
21517 if test "$wxUSE_IMAGE" = "yes" ; then
21518 cat >> confdefs.h
<<\EOF
21519 #define wxUSE_IMAGE 1
21524 if test "$wxUSE_GIF" = "yes" ; then
21525 cat >> confdefs.h
<<\EOF
21526 #define wxUSE_GIF 1
21531 if test "$wxUSE_PCX" = "yes" ; then
21532 cat >> confdefs.h
<<\EOF
21533 #define wxUSE_PCX 1
21538 if test "$wxUSE_IFF" = "yes" ; then
21539 cat >> confdefs.h
<<\EOF
21540 #define wxUSE_IFF 1
21545 if test "$wxUSE_PNM" = "yes" ; then
21546 cat >> confdefs.h
<<\EOF
21547 #define wxUSE_PNM 1
21552 if test "$wxUSE_XPM" = "yes" ; then
21553 cat >> confdefs.h
<<\EOF
21554 #define wxUSE_XPM 1
21559 if test "$wxUSE_ICO_CUR" = "yes" ; then
21560 cat >> confdefs.h
<<\EOF
21561 #define wxUSE_ICO_CUR 1
21566 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
21567 LIBS
=" -lunicows $LIBS"
21571 if test "$wxUSE_CHOICEDLG" = "yes"; then
21572 cat >> confdefs.h
<<\EOF
21573 #define wxUSE_CHOICEDLG 1
21578 if test "$wxUSE_COLOURDLG" = "yes"; then
21579 cat >> confdefs.h
<<\EOF
21580 #define wxUSE_COLOURDLG 1
21585 if test "$wxUSE_FILEDLG" = "yes"; then
21586 cat >> confdefs.h
<<\EOF
21587 #define wxUSE_FILEDLG 1
21592 if test "$wxUSE_FINDREPLDLG" = "yes"; then
21593 cat >> confdefs.h
<<\EOF
21594 #define wxUSE_FINDREPLDLG 1
21599 if test "$wxUSE_FONTDLG" = "yes"; then
21600 cat >> confdefs.h
<<\EOF
21601 #define wxUSE_FONTDLG 1
21606 if test "$wxUSE_DIRDLG" = "yes"; then
21607 if test "$wxUSE_TREECTRL" != "yes"; then
21608 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
21610 cat >> confdefs.h
<<\EOF
21611 #define wxUSE_DIRDLG 1
21617 if test "$wxUSE_MSGDLG" = "yes"; then
21618 cat >> confdefs.h
<<\EOF
21619 #define wxUSE_MSGDLG 1
21624 if test "$wxUSE_NUMBERDLG" = "yes"; then
21625 cat >> confdefs.h
<<\EOF
21626 #define wxUSE_NUMBERDLG 1
21631 if test "$wxUSE_PROGRESSDLG" = "yes"; then
21632 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21633 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
21635 cat >> confdefs.h
<<\EOF
21636 #define wxUSE_PROGRESSDLG 1
21642 if test "$wxUSE_SPLASH" = "yes"; then
21643 cat >> confdefs.h
<<\EOF
21644 #define wxUSE_SPLASH 1
21649 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
21650 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21651 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
21653 cat >> confdefs.h
<<\EOF
21654 #define wxUSE_STARTUP_TIPS 1
21660 if test "$wxUSE_TEXTDLG" = "yes"; then
21661 cat >> confdefs.h
<<\EOF
21662 #define wxUSE_TEXTDLG 1
21667 if test "$wxUSE_WIZARDDLG" = "yes"; then
21668 cat >> confdefs.h
<<\EOF
21669 #define wxUSE_WIZARDDLG 1
21672 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
21676 if test "$cross_compiling" = "yes"; then
21679 OSINFO
=`uname -s -r -m`
21680 OSINFO
="\"$OSINFO\""
21683 cat >> confdefs.h
<<EOF
21684 #define WXWIN_OS_DESCRIPTION $OSINFO
21689 if test "x$prefix" != "xNONE"; then
21692 wxPREFIX
=$ac_default_prefix
21695 cat >> confdefs.h
<<EOF
21696 #define wxINSTALL_PREFIX "$wxPREFIX"
21703 if test "$wxUSE_MAC" = 1 ; then
21704 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
21708 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
21714 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21715 echo "configure:21716: checking for $ac_func" >&5
21716 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21717 echo $ac_n "(cached) $ac_c" 1>&6
21719 cat > conftest.
$ac_ext <<EOF
21720 #line 21721 "configure"
21721 #include "confdefs.h"
21722 /* System header to define __stub macros and hopefully few prototypes,
21723 which can conflict with char $ac_func(); below. */
21724 #include <assert.h>
21725 /* Override any gcc2 internal prototype to avoid an error. */
21726 /* We use char because int might match the return type of a gcc2
21727 builtin and then its argument prototype would still apply. */
21732 /* The GNU C library defines this for functions which it implements
21733 to always fail with ENOSYS. Some functions are actually named
21734 something starting with __ and the normal name is an alias. */
21735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21743 if { (eval echo configure
:21744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21745 eval "ac_cv_func_$ac_func=yes"
21747 echo "configure: failed program was:" >&5
21748 cat conftest.
$ac_ext >&5
21750 eval "ac_cv_func_$ac_func=no"
21755 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21756 echo "$ac_t""yes" 1>&6
21757 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21758 cat >> confdefs.h
<<EOF
21759 #define $ac_tr_func 1
21763 echo "$ac_t""no" 1>&6
21767 for ac_func
in floor
21769 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21770 echo "configure:21771: checking for $ac_func" >&5
21771 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21772 echo $ac_n "(cached) $ac_c" 1>&6
21774 cat > conftest.
$ac_ext <<EOF
21775 #line 21776 "configure"
21776 #include "confdefs.h"
21777 /* System header to define __stub macros and hopefully few prototypes,
21778 which can conflict with char $ac_func(); below. */
21779 #include <assert.h>
21780 /* Override any gcc2 internal prototype to avoid an error. */
21781 /* We use char because int might match the return type of a gcc2
21782 builtin and then its argument prototype would still apply. */
21787 /* The GNU C library defines this for functions which it implements
21788 to always fail with ENOSYS. Some functions are actually named
21789 something starting with __ and the normal name is an alias. */
21790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21798 if { (eval echo configure
:21799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21800 eval "ac_cv_func_$ac_func=yes"
21802 echo "configure: failed program was:" >&5
21803 cat conftest.
$ac_ext >&5
21805 eval "ac_cv_func_$ac_func=no"
21810 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21811 echo "$ac_t""yes" 1>&6
21812 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21813 cat >> confdefs.h
<<EOF
21814 #define $ac_tr_func 1
21818 echo "$ac_t""no" 1>&6
21822 echo $ac_n "checking if floating point functions link without -lm""... $ac_c" 1>&6
21823 echo "configure:21824: checking if floating point functions link without -lm" >&5
21824 if test "$have_cos" = 1 -a "$have_floor" = 1; then
21825 echo "$ac_t""yes" 1>&6
21827 echo "$ac_t""no" 1>&6
21829 # use different functions to avoid configure caching
21834 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21835 echo "configure:21836: checking for $ac_func" >&5
21836 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21837 echo $ac_n "(cached) $ac_c" 1>&6
21839 cat > conftest.
$ac_ext <<EOF
21840 #line 21841 "configure"
21841 #include "confdefs.h"
21842 /* System header to define __stub macros and hopefully few prototypes,
21843 which can conflict with char $ac_func(); below. */
21844 #include <assert.h>
21845 /* Override any gcc2 internal prototype to avoid an error. */
21846 /* We use char because int might match the return type of a gcc2
21847 builtin and then its argument prototype would still apply. */
21852 /* The GNU C library defines this for functions which it implements
21853 to always fail with ENOSYS. Some functions are actually named
21854 something starting with __ and the normal name is an alias. */
21855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21863 if { (eval echo configure
:21864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21865 eval "ac_cv_func_$ac_func=yes"
21867 echo "configure: failed program was:" >&5
21868 cat conftest.
$ac_ext >&5
21870 eval "ac_cv_func_$ac_func=no"
21875 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21876 echo "$ac_t""yes" 1>&6
21877 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21878 cat >> confdefs.h
<<EOF
21879 #define $ac_tr_func 1
21883 echo "$ac_t""no" 1>&6
21887 for ac_func
in ceil
21889 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21890 echo "configure:21891: checking for $ac_func" >&5
21891 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21892 echo $ac_n "(cached) $ac_c" 1>&6
21894 cat > conftest.
$ac_ext <<EOF
21895 #line 21896 "configure"
21896 #include "confdefs.h"
21897 /* System header to define __stub macros and hopefully few prototypes,
21898 which can conflict with char $ac_func(); below. */
21899 #include <assert.h>
21900 /* Override any gcc2 internal prototype to avoid an error. */
21901 /* We use char because int might match the return type of a gcc2
21902 builtin and then its argument prototype would still apply. */
21907 /* The GNU C library defines this for functions which it implements
21908 to always fail with ENOSYS. Some functions are actually named
21909 something starting with __ and the normal name is an alias. */
21910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21918 if { (eval echo configure
:21919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21920 eval "ac_cv_func_$ac_func=yes"
21922 echo "configure: failed program was:" >&5
21923 cat conftest.
$ac_ext >&5
21925 eval "ac_cv_func_$ac_func=no"
21930 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21931 echo "$ac_t""yes" 1>&6
21932 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21933 cat >> confdefs.h
<<EOF
21934 #define $ac_tr_func 1
21938 echo "$ac_t""no" 1>&6
21942 echo $ac_n "checking if floating point functions link with -lm""... $ac_c" 1>&6
21943 echo "configure:21944: checking if floating point functions link with -lm" >&5
21944 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
21945 echo "$ac_t""yes" 1>&6
21947 echo "$ac_t""no" 1>&6
21948 # not sure we should warn the user, crash, etc.
21952 if test "$wxUSE_GUI" = "yes"; then
21954 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
21957 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
21958 drawing dynamic erase event exec font image \
21959 minimal propsize rotate widgets"
21961 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
21963 SAMPLES_SUBDIRS
="console"
21967 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
21968 -I\${top_srcdir}/include \
21969 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
21972 if test "$wxUSE_GTK" = 1; then
21975 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
21978 if test "$GXX" = yes ; then
21979 CXXWARNINGS
="-Wall"
21981 if test "$wxUSE_NO_DEPS" = "no" ; then
21982 CFLAGS
="-MMD $CFLAGS"
21983 CXXFLAGS
="-MMD $CXXFLAGS"
21987 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
21989 CPPFLAGS
=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
21990 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
21991 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
21992 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
21994 LDFLAGS
="$LDFLAGS $PROFILE"
21996 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
22095 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
22096 echo "configure:22097: checking whether ${MAKE-make} sets \${MAKE}" >&5
22097 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
22098 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
22099 echo $ac_n "(cached) $ac_c" 1>&6
22101 cat > conftestmake
<<\EOF
22103 @
echo 'ac_maketemp="${MAKE}"'
22105 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22106 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
22107 if test -n "$ac_maketemp"; then
22108 eval ac_cv_prog_make_
${ac_make}_set
=yes
22110 eval ac_cv_prog_make_
${ac_make}_set
=no
22114 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
22115 echo "$ac_t""yes" 1>&6
22118 echo "$ac_t""no" 1>&6
22119 SET_MAKE
="MAKE=${MAKE-make}"
22123 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
22124 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
22129 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
22130 wx_cv_if_gnu_make
=$IF_GNU_MAKE
22131 wx_cv_path_ifs
=$PATH_IFS
22132 wx_cv_program_ext
=$PROGRAM_EXT
22133 wx_cv_target_library
=$WX_TARGET_LIBRARY
22134 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
22135 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
22136 wx_cv_library_basename
=${WX_LIBRARY_BASENAME}
22137 wx_cv_release
=${WX_RELEASE}
22138 wx_cv_current
=${WX_CURRENT}
22139 wx_cv_revision
=${WX_REVISION}
22140 wx_cv_age
=${WX_AGE}
22141 wx_cv_use_gui
=${USE_GUI}
22142 wx_cv_use_resources
=${wxUSE_RESOURCES}
22143 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
22144 wx_cv_path_ifs wx_cv_program_ext \
22145 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype \
22146 wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age \
22147 wx_cv_use_gui wx_cv_use_resources
22149 subdirs
="demos samples utils contrib"
22153 cat > confcache
<<\EOF
22154 # This file is a shell script that caches the results of configure
22155 # tests run on this system so they can be shared between configure
22156 # scripts and configure runs. It is not useful on other systems.
22157 # If it contains results you don't want to keep, you may remove or edit it.
22159 # By default, configure uses ./config.cache as the cache file,
22160 # creating it if it does not exist already. You can give configure
22161 # the --cache-file=FILE option to use a different cache file; that is
22162 # what configure does when it calls configure scripts in
22163 # subdirectories, so they share the cache.
22164 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22165 # config.status only pays attention to the cache file if you give it the
22166 # --recheck option to rerun configure.
22169 # The following way of writing the cache mishandles newlines in values,
22170 # but we know of no workaround that is simple, portable, and efficient.
22171 # So, don't put newlines in cache variables' values.
22172 # Ultrix sh set writes to stderr and can't be redirected directly,
22173 # and sets the high bit in the cache file unless we assign to the vars.
22175 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22177 # `set' does not quote correctly, so add quotes (double-quote substitution
22178 # turns \\\\ into \\, and sed turns \\ into \).
22180 -e "s/'/'\\\\''/g" \
22181 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22184 # `set' quotes correctly as required by POSIX, so do not add quotes.
22185 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22188 if cmp -s $cache_file confcache
; then
22191 if test -w $cache_file; then
22192 echo "updating cache $cache_file"
22193 cat confcache
> $cache_file
22195 echo "not updating unwritable cache $cache_file"
22200 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22202 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22203 # Let make expand exec_prefix.
22204 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22206 # Any assignment to VPATH causes Sun make to only execute
22207 # the first set of double-colon rules, so remove it if not needed.
22208 # If there is a colon in the path, we need to keep it.
22209 if test "x$srcdir" = x.
; then
22210 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
22213 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22215 DEFS
=-DHAVE_CONFIG_H
22217 # Without the "./", some shells look in PATH for config.status.
22218 : ${CONFIG_STATUS=./config.status}
22220 echo creating
$CONFIG_STATUS
22221 rm -f $CONFIG_STATUS
22222 cat > $CONFIG_STATUS <<EOF
22224 # Generated automatically by configure.
22225 # Run this file to recreate the current configuration.
22226 # This directory was configured as follows,
22227 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22229 # $0 $ac_configure_args
22231 # Compiler output produced by configure, useful for debugging
22232 # configure, is in ./config.log if it exists.
22234 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22237 case "\$ac_option" in
22238 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22239 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22240 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22241 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22242 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22244 -help | --help | --hel | --he | --h)
22245 echo "\$ac_cs_usage"; exit 0 ;;
22246 *) echo "\$ac_cs_usage"; exit 1 ;;
22250 ac_given_srcdir=$srcdir
22251 ac_given_INSTALL="$INSTALL"
22253 trap 'rm -fr `echo "
22260 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22262 cat >> $CONFIG_STATUS <<EOF
22264 # Protect against being on the right side of a sed subst in config.status.
22265 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22266 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22270 s%@CFLAGS@%$CFLAGS%g
22271 s%@CPPFLAGS@%$CPPFLAGS%g
22272 s%@CXXFLAGS@%$CXXFLAGS%g
22273 s%@FFLAGS@%$FFLAGS%g
22275 s%@LDFLAGS@%$LDFLAGS%g
22277 s%@exec_prefix@%$exec_prefix%g
22278 s%@prefix@%$prefix%g
22279 s%@program_transform_name@%$program_transform_name%g
22280 s%@bindir@%$bindir%g
22281 s%@sbindir@%$sbindir%g
22282 s%@libexecdir@%$libexecdir%g
22283 s%@datadir@%$datadir%g
22284 s%@sysconfdir@%$sysconfdir%g
22285 s%@sharedstatedir@%$sharedstatedir%g
22286 s%@localstatedir@%$localstatedir%g
22287 s%@libdir@%$libdir%g
22288 s%@includedir@%$includedir%g
22289 s%@oldincludedir@%$oldincludedir%g
22290 s%@infodir@%$infodir%g
22291 s%@mandir@%$mandir%g
22293 s%@host_alias@%$host_alias%g
22294 s%@host_cpu@%$host_cpu%g
22295 s%@host_vendor@%$host_vendor%g
22296 s%@host_os@%$host_os%g
22297 s%@target@%$target%g
22298 s%@target_alias@%$target_alias%g
22299 s%@target_cpu@%$target_cpu%g
22300 s%@target_vendor@%$target_vendor%g
22301 s%@target_os@%$target_os%g
22303 s%@build_alias@%$build_alias%g
22304 s%@build_cpu@%$build_cpu%g
22305 s%@build_vendor@%$build_vendor%g
22306 s%@build_os@%$build_os%g
22310 s%@RANLIB@%$RANLIB%g
22312 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22313 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22314 s%@INSTALL_DATA@%$INSTALL_DATA%g
22316 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
22319 s%@LEXLIB@%$LEXLIB%g
22321 s%@CXXCPP@%$CXXCPP%g
22322 s%@PKG_CONFIG@%$PKG_CONFIG%g
22323 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
22324 s%@GTK_LIBS@%$GTK_LIBS%g
22325 s%@GTK_CONFIG@%$GTK_CONFIG%g
22326 s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
22327 s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
22328 s%@X_CFLAGS@%$X_CFLAGS%g
22329 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
22330 s%@X_LIBS@%$X_LIBS%g
22331 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
22332 s%@PANGOX_CFLAGS@%$PANGOX_CFLAGS%g
22333 s%@PANGOX_LIBS@%$PANGOX_LIBS%g
22334 s%@PANGOXFT_CFLAGS@%$PANGOXFT_CFLAGS%g
22335 s%@PANGOXFT_LIBS@%$PANGOXFT_LIBS%g
22336 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
22337 s%@RESCOMP@%$RESCOMP%g
22339 s%@LIBICONV@%$LIBICONV%g
22340 s%@LEX_STEM@%$LEX_STEM%g
22341 s%@PATH_IFS@%$PATH_IFS%g
22342 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
22343 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
22344 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
22345 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
22346 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
22347 s%@WX_LIBRARY_BASENAME@%$WX_LIBRARY_BASENAME%g
22348 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
22349 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
22350 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
22351 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
22352 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
22353 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
22354 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
22355 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
22356 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
22357 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
22358 s%@WX_ALL@%$WX_ALL%g
22359 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
22360 s%@SHARED_LD@%$SHARED_LD%g
22361 s%@PIC_FLAG@%$PIC_FLAG%g
22362 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
22363 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
22364 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
22365 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
22366 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
22367 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
22368 s%@STATIC_FLAG@%$STATIC_FLAG%g
22369 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
22370 s%@USE_GUI@%$USE_GUI%g
22371 s%@AFMINSTALL@%$AFMINSTALL%g
22372 s%@WIN32INSTALL@%$WIN32INSTALL%g
22373 s%@TOOLKIT@%$TOOLKIT%g
22374 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
22375 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
22376 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
22377 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
22378 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
22379 s%@cross_compiling@%$cross_compiling%g
22380 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
22381 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
22382 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
22383 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
22384 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
22385 s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
22386 s%@WX_LARGEFILE_FLAGS@%$WX_LARGEFILE_FLAGS%g
22387 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
22388 s%@ALL_HEADERS@%$ALL_HEADERS%g
22389 s%@ALL_SOURCES@%$ALL_SOURCES%g
22390 s%@GUIDIST@%$GUIDIST%g
22391 s%@PORT_FILES@%$PORT_FILES%g
22392 s%@DISTDIR@%$DISTDIR%g
22393 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
22394 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
22395 s%@LDFLAGS_VERSIONING@%$LDFLAGS_VERSIONING%g
22396 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
22397 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
22398 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
22399 s%@EXTRADEFS@%$EXTRADEFS%g
22400 s%@WX_VERSION_TAG@%$WX_VERSION_TAG%g
22401 s%@RESFLAGS@%$RESFLAGS%g
22402 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
22403 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
22404 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
22405 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
22406 s%@LIBWXMACRES@%$LIBWXMACRES%g
22407 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
22408 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
22410 s%@DLLTOOL@%$DLLTOOL%g
22414 s%@MAKEINFO@%$MAKEINFO%g
22415 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
22416 s%@SET_MAKE@%$SET_MAKE%g
22417 s%@subdirs@%$subdirs%g
22422 cat >> $CONFIG_STATUS <<\EOF
22424 # Split the substitutions into bite-sized pieces for seds with
22425 # small command number limits, like on Digital OSF/1 and HP-UX.
22426 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
22427 ac_file
=1 # Number of current file.
22428 ac_beg
=1 # First line for current file.
22429 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
22432 while $ac_more_lines; do
22433 if test $ac_beg -gt 1; then
22434 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
22436 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
22438 if test ! -s conftest.s
$ac_file; then
22439 ac_more_lines
=false
22440 rm -f conftest.s
$ac_file
22442 if test -z "$ac_sed_cmds"; then
22443 ac_sed_cmds
="sed -f conftest.s$ac_file"
22445 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
22447 ac_file
=`expr $ac_file + 1`
22449 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
22452 if test -z "$ac_sed_cmds"; then
22457 cat >> $CONFIG_STATUS <<EOF
22459 CONFIG_FILES=\${CONFIG_FILES-"wx-config
22467 cat >> $CONFIG_STATUS <<\EOF
22468 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
22469 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22471 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22472 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22473 *) ac_file_in
="${ac_file}.in" ;;
22476 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22478 # Remove last slash and all that follows it. Not all systems have dirname.
22479 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22480 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
22481 # The file is in a subdirectory.
22482 test ! -d "$ac_dir" && mkdir "$ac_dir"
22483 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
22484 # A "../" for each directory in $ac_dir_suffix.
22485 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22487 ac_dir_suffix
= ac_dots
=
22490 case "$ac_given_srcdir" in
22492 if test -z "$ac_dots"; then top_srcdir
=.
22493 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22494 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
22495 *) # Relative path.
22496 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22497 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
22500 case "$ac_given_INSTALL" in
22501 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
22502 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
22505 echo creating
"$ac_file"
22507 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22509 *Makefile
*) ac_comsub
="1i\\
22510 # $configure_input" ;;
22514 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22516 s%@configure_input@%$configure_input%g
22517 s%@srcdir@%$srcdir%g
22518 s%@top_srcdir@%$top_srcdir%g
22519 s%@INSTALL@%$INSTALL%g
22520 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22524 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22525 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22527 # ac_d sets the value in "#define NAME VALUE" lines.
22528 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22529 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
22532 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22533 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22534 ac_uB
='\([ ]\)%\1#\2define\3'
22537 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22538 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22539 ac_eB
='$%\1#\2define\3'
22543 if test "${CONFIG_HEADERS+set}" != set; then
22545 cat >> $CONFIG_STATUS <<EOF
22546 CONFIG_HEADERS="setup.h:setup.h.in"
22548 cat >> $CONFIG_STATUS <<\EOF
22550 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
22551 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22553 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22554 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22555 *) ac_file_in
="${ac_file}.in" ;;
22558 echo creating
$ac_file
22560 rm -f conftest.frag conftest.
in conftest.out
22561 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22562 cat $ac_file_inputs > conftest.
in
22566 # Transform confdefs.h into a sed script conftest.vals that substitutes
22567 # the proper values into config.h.in to produce config.h. And first:
22568 # Protect against being on the right side of a sed subst in config.status.
22569 # Protect against being in an unquoted here document in config.status.
22570 rm -f conftest.vals
22571 cat > conftest.hdr
<<\EOF
22574 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22578 sed -n -f conftest.hdr confdefs.h > conftest.vals
22581 # This sed command replaces #undef with comments. This is necessary, for
22582 # example, in the case of _POSIX_SOURCE, which is predefined and required
22583 # on some systems where configure will not decide to define it.
22584 cat >> conftest.vals <<\EOF
22585 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22588 # Break up conftest.vals because some shells have a limit on
22589 # the size of here documents, and old seds have small limits too.
22591 rm -f conftest.tail
22594 ac_lines=`grep -c . conftest.vals
`
22595 # grep -c gives empty output for an empty file on some AIX systems.
22596 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22597 # Write a limited-size here document to conftest.frag.
22598 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22599 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22601 sed -f conftest.frag conftest.in > conftest.out
22603 mv conftest.out conftest.in
22604 ' >> $CONFIG_STATUS
22605 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22606 rm -f conftest.vals
22607 mv conftest.tail conftest.vals
22609 rm -f conftest.vals
22611 cat >> $CONFIG_STATUS <<\EOF
22612 rm -f conftest.frag conftest.h
22613 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22614 cat conftest.in >> conftest.h
22616 if cmp -s $ac_file conftest.h 2>/dev/null; then
22617 echo "$ac_file is unchanged"
22620 # Remove last slash and all that follows it. Not all systems have dirname.
22621 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22622 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22623 # The file is in a subdirectory.
22624 test ! -d "$ac_dir" && mkdir "$ac_dir"
22627 mv conftest.h $ac_file
22632 cat >> $CONFIG_STATUS <<EOF
22634 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
22639 cat >> $CONFIG_STATUS <<\EOF
22641 if test ! -h wx-config; then
22643 mv wx-config wx${TOOLCHAIN_NAME}-config
22644 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
22647 if test ! -d lib; then
22650 if test ! -d lib/wx; then
22653 if test ! -d lib/wx/include; then
22654 mkdir lib/wx/include
22656 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
22657 mkdir lib/wx/include/${TOOLCHAIN_NAME}
22659 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
22660 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
22662 if test -f setup.h; then
22663 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
22668 chmod +x $CONFIG_STATUS
22669 rm -fr confdefs* $ac_clean_files
22670 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22672 if test "$no_recursion" != yes; then
22674 # Remove --cache-file and --srcdir arguments so they do not pile up.
22675 ac_sub_configure_args=
22677 for ac_arg in $ac_configure_args; do
22678 if test -n "$ac_prev"; then
22683 -cache-file | --cache-file | --cache-fil | --cache-fi \
22684 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
22685 ac_prev=cache_file ;;
22686 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
22687 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
22689 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
22691 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
22693 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
22697 for ac_config_dir in demos samples utils contrib; do
22699 # Do not complain, so a configure script can configure whichever
22700 # parts of a large source tree are present.
22701 if test ! -d $srcdir/$ac_config_dir; then
22705 echo configuring in $ac_config_dir
22710 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
22712 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
22720 # A "../" for each directory in /$ac_config_dir.
22721 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
22724 .) # No --srcdir option. We are building in place.
22725 ac_sub_srcdir=$srcdir ;;
22726 /*) # Absolute path.
22727 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
22728 *) # Relative path.
22729 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
22732 # Check for guested configure; otherwise get Cygnus style configure.
22733 if test -f $ac_sub_srcdir/configure; then
22734 ac_sub_configure=$ac_sub_srcdir/configure
22735 elif test -f $ac_sub_srcdir/configure.in; then
22736 ac_sub_configure=$ac_configure
22738 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
22742 # The recursion is here.
22743 if test -n "$ac_sub_configure"; then
22745 # Make the cache file name correct relative to the subdirectory.
22746 case "$cache_file" in
22747 /*) ac_sub_cache_file=$cache_file ;;
22748 *) # Relative path.
22749 ac_sub_cache_file="$ac_dots$cache_file" ;;
22751 case "$ac_given_INSTALL" in
22752 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22753 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22756 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
22757 # The eval makes quoting arguments work.
22758 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
22761 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
22771 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
22773 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
22775 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
22776 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
22777 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
22779 echo " What level of wxWindows compatibility should be enabled?"
22780 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
22781 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-yes}"
22783 echo " Which libraries should wxWindows use?"
22784 echo " jpeg ${wxUSE_LIBJPEG-none}"
22785 echo " png ${wxUSE_LIBPNG-none}"
22786 echo " regex ${wxUSE_REGEX}"
22787 echo " tiff ${wxUSE_LIBTIFF-none}"
22788 echo " zlib ${wxUSE_ZLIB}"