3 # From configure.in Id: configure.in
59 # Configure paths for GTK+
60 # Owen Taylor 1997-2001
64 # Configure paths for GTK+
69 # Guess values for system-dependent variables and create Makefiles.
70 # Generated automatically using autoconf version 2.13
71 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
73 # This configure script is free software; the Free Software Foundation
74 # gives unlimited permission to copy, distribute and modify it.
78 ac_default_prefix
=/usr
/local
79 # Any additions from configure.in:
81 --enable-gui use GUI classes"
83 --enable-universal use wxWindows GUI controls instead of native ones"
87 --with-motif use Motif/Lesstif"
89 --with-mac use Mac OS X"
93 --with-msw use MS-Windows"
95 --with-pm use OS/2 Presentation Manager"
97 --with-mgl use SciTech MGL"
99 --with-microwin use MicroWindows"
103 --enable-nanox use NanoX"
105 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
107 --with-libpng use libpng (PNG image format)"
109 --with-libjpeg use libjpeg (JPEG file format)"
111 --with-libtiff use libtiff (TIFF file format)"
113 --with-opengl use OpenGL (or Mesa)"
115 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
117 --with-regex enable support for wxRegEx class"
119 --with-zlib use zlib for LZW compression"
121 --with-odbc use the IODBC and wxODBC classes"
123 --enable-shared create shared library code"
125 --enable-soname set the DT_SONAME field in ELF shared libraries"
127 --enable-optimise create optimised code"
129 --enable-debug same as debug_flag and debug_info"
131 --enable-precomp enable use of precompiled headers (Mac OS X)"
133 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
135 --enable-debug_info create code with debugging information"
137 --enable-debug_gdb create code with extra GDB debugging information"
139 --enable-debug_cntxt use wxDebugContext"
141 --enable-mem_tracing create code with memory tracing"
143 --enable-profile create code with profiling information"
145 --enable-no_rtti create code without RTTI information"
147 --enable-no_exceptions create code without C++ exceptions handling"
149 --enable-permissive compile code disregarding strict ANSI"
151 --enable-no_deps create code without dependency information"
153 --enable-compat20 enable wxWindows 2.0 compatibility"
155 --disable-compat22 disable wxWindows 2.2 compatibility"
157 --enable-intl use internationalization system"
159 --enable-config use wxConfig (and derived) classes"
161 --enable-protocols use wxProtocol and derived classes"
163 --enable-ftp use wxFTP (requires wxProtocol"
165 --enable-http use wxHTTP (requires wxProtocol"
167 --enable-fileproto use wxFileProto class (requires wxProtocol"
169 --enable-sockets use socket/network classes"
171 --enable-ipc use interprocess communication (wxSocket etc.)"
173 --enable-cmdline use wxCmdLineParser class"
175 --enable-datetime use wxDateTime class"
177 --enable-timedate use obsolete wxDate/wxTime classes"
179 --enable-stopwatch use wxStopWatch class"
181 --enable-dialupman use dialup network classes"
183 --enable-apple_ieee use the Apple IEEE codec"
185 --enable-timer use wxTimer class"
187 --enable-wave use wxWave class"
189 --enable-fraction use wxFraction class"
191 --enable-dynlib use wxLibrary class for DLL loading"
193 --enable-dynamicloader use (new) wxDynamicLibrary class"
195 --enable-longlong use wxLongLong class"
197 --enable-geometry use geometry class"
199 --enable-log use logging system"
201 --enable-streams use wxStream etc classes"
203 --enable-file use wxFile classes"
205 --enable-ffile use wxFFile classes"
207 --enable-textbuf use wxTextBuffer class"
209 --enable-textfile use wxTextFile class"
211 --enable-fontmap use font encodings conversion classes"
213 --enable-unicode compile wxString with Unicode support"
215 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
217 --enable-wxprintfv use wxWindows implementation of vprintf()"
219 --enable-std_iostreams use standard C++ stream classes"
221 --enable-filesystem use virtual file systems classes"
223 --enable-fs_inet use virtual HTTP/FTP filesystems"
225 --enable-fs_zip use virtual ZIP filesystems"
227 --enable-zipstream use wxZipInputStream"
229 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
231 --enable-snglinst use wxSingleInstanceChecker class"
233 --enable-mimetype use wxMimeTypesManager"
235 --enable-sysoptions use wxSystemOptions"
237 --enable-url use wxURL class"
239 --enable-protocol use wxProtocol class"
241 --enable-protocol-http HTTP support in wxProtocol"
243 --enable-protocol-ftp FTP support in wxProtocol"
245 --enable-protocol-file FILE support in wxProtocol"
247 --enable-threads use threads"
249 --enable-docview use document view architecture"
251 --enable-help use help subsystem"
253 --enable-mshtmlhelp use MS HTML Help (win32)"
255 --enable-html use wxHTML sub-library"
257 --enable-htmlhelp use wxHTML-based help"
259 --enable-constraints use layout-constraints system"
261 --enable-printarch use printing architecture"
263 --enable-mdi use multiple document interface architecture"
265 --enable-loggui use standard GUI logger"
267 --enable-logwin use wxLogWindow"
269 --enable-logdialog use wxLogDialog"
271 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
273 --enable-prologio use Prolog IO library"
275 --enable-resources use wxWindows resources"
277 --enable-xresources use X resources for save (default for gtk+)"
279 --enable-clipboard use wxClipboard classes"
281 --enable-dnd use Drag'n'Drop classes"
283 --enable-metafile use win32 metafiles"
285 --enable-treelayout use wxTreeLayout classes"
287 --enable-controls use all usual controls"
289 --enable-accel use accelerators"
291 --enable-button use wxButton class"
293 --enable-bmpbutton use wxBitmapButton class"
295 --enable-calendar use wxCalendarCtrl class"
297 --enable-caret use wxCaret class"
299 --enable-checkbox use wxCheckBox class"
301 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
303 --enable-choice use wxChoice class"
305 --enable-combobox use wxComboBox classes"
307 --enable-gauge use wxGauge class"
309 --enable-grid use wxGrid class"
311 --enable-newgrid use new wxGrid class"
313 --enable-imaglist use wxImageList class"
315 --enable-listbox use wxListBox class"
317 --enable-listctrl use wxListCtrl class"
319 --enable-notebook use wxNotebook class"
321 --enable-propsheet use wxPropertySheet class"
323 --enable-radiobox use wxRadioBox class"
325 --enable-radiobtn use wxRadioButton class"
327 --enable-sash use wxSashWindow class"
329 --enable-scrollbar use wxScrollBar class and scrollable windows"
331 --enable-slider use wxSlider class"
333 --enable-spinbtn use wxSpinButton class"
335 --enable-spinctrl use wxSpinCtrl class"
337 --enable-splitter use wxSplitterWindow class"
339 --enable-statbmp use wxStaticBitmap class"
341 --enable-statbox use wxStaticBox class"
343 --enable-statline use wxStaticLine class"
345 --enable-stattext use wxStaticText class"
347 --enable-statusbar use wxStatusBar class"
349 --enable-tabdialog use wxTabControl class"
351 --enable-textctrl use wxTextCtrl class"
353 --enable-togglebtn use wxToggleButton class"
355 --enable-toolbar use wxToolBar class"
357 --enable-tbarnative use native wxToolBar class"
359 --enable-tbarsmpl use wxToolBarSimple class"
361 --enable-treectrl use wxTreeCtrl class"
363 --enable-tipwindow use wxTipWindow class"
365 --enable-popupwin use wxPopUpWindow class"
367 --enable-commondlg use all common dialogs"
369 --enable-choicedlg use wxChoiceDialog"
371 --enable-coldlg use wxColourDialog"
373 --enable-filedlg use wxFileDialog"
375 --enable-finddlg use wxFindReplaceDialog"
377 --enable-fontdlg use wxFontDialog"
379 --enable-dirdlg use wxDirDialog"
381 --enable-msgdlg use wxMessageDialog"
383 --enable-numberdlg use wxNumberEntryDialog"
385 --enable-splash use wxSplashScreen"
387 --enable-textdlg use wxTextDialog"
389 --enable-tipdlg use startup tips"
391 --enable-progressdlg use wxProgressDialog"
393 --enable-wizarddlg use wxWizard"
395 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
397 --enable-miniframe use wxMiniFrame class"
399 --enable-tooltips use wxToolTip class"
401 --enable-splines use spline drawing code"
403 --enable-validators use wxValidator and derived classes"
405 --enable-busyinfo use wxBusyInfo"
407 --enable-joystick use wxJoystick (Linux only)"
409 --enable-metafiles use wxMetaFile (Windows only)"
411 --enable-dragimage use wxDragImage"
413 --enable-palette use wxPalette class"
415 --enable-image use wxImage class"
417 --enable-gif use gif images (GIF file format)"
419 --enable-pcx use pcx images (PCX file format)"
421 --enable-iff use iff images (IFF file format)"
423 --enable-pnm use pnm images (PNM file format)"
425 --enable-xpm use xpm images (XPM file format)"
427 --enable-icocur use Windows ICO and CUR formats"
429 --disable-largefile omit support for large files"
431 --disable-gtktest do not try to compile and run a test GTK+ program"
433 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
435 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
437 --disable-gtktest Do not try to compile and run a test GTK program"
439 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
441 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
443 --disable-gtktest Do not try to compile and run a test GTK program"
445 --with-x use the X Window System"
447 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
449 # Initialize some variables set by options.
450 # The variables have the same names as the options, with
451 # dashes changed to underlines.
453 cache_file
=.
/config.cache
462 program_transform_name
=s
,x
,x
,
470 bindir
='${exec_prefix}/bin'
471 sbindir
='${exec_prefix}/sbin'
472 libexecdir
='${exec_prefix}/libexec'
473 datadir
='${prefix}/share'
474 sysconfdir
='${prefix}/etc'
475 sharedstatedir
='${prefix}/com'
476 localstatedir
='${prefix}/var'
477 libdir
='${exec_prefix}/lib'
478 includedir
='${prefix}/include'
479 oldincludedir
='/usr/include'
480 infodir
='${prefix}/info'
481 mandir
='${prefix}/man'
483 # Initialize some other variables.
486 SHELL
=${CONFIG_SHELL-/bin/sh}
487 # Maximum number of lines to put in a shell here document.
494 # If the previous option needs an argument, assign it.
495 if test -n "$ac_prev"; then
496 eval "$ac_prev=\$ac_option"
502 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
506 # Accept the important Cygnus configure options, so we can diagnose typos.
510 -bindir | --bindir | --bindi | --bind | --bin | --bi)
512 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
513 bindir
="$ac_optarg" ;;
515 -build | --build | --buil | --bui | --bu)
517 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
518 build
="$ac_optarg" ;;
520 -cache-file | --cache-file | --cache-fil | --cache-fi \
521 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
522 ac_prev
=cache_file
;;
523 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
524 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
525 cache_file
="$ac_optarg" ;;
527 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
529 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
531 datadir
="$ac_optarg" ;;
533 -disable-* | --disable-*)
534 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
535 # Reject names that are not valid shell variable names.
536 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
537 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
539 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
540 eval "enable_${ac_feature}=no" ;;
542 -enable-* | --enable-*)
543 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
544 # Reject names that are not valid shell variable names.
545 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
546 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
548 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
553 eval "enable_${ac_feature}='$ac_optarg'" ;;
555 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
556 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
557 | --exec | --exe | --ex)
558 ac_prev
=exec_prefix
;;
559 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
560 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
561 | --exec=* | --exe=* | --ex=*)
562 exec_prefix
="$ac_optarg" ;;
564 -gas | --gas | --ga | --g)
565 # Obsolete; use --with-gas.
568 -help | --help | --hel | --he)
569 # Omit some internal or obsolete options to make the list less imposing.
570 # This message is too long to be a string in the A/UX 3.1 sh.
572 Usage: configure [options] [host]
573 Options: [defaults in brackets after descriptions]
575 --cache-file=FILE cache test results in FILE
576 --help print this message
577 --no-create do not create output files
578 --quiet, --silent do not print \`checking...' messages
579 --version print the version of autoconf that created configure
580 Directory and file names:
581 --prefix=PREFIX install architecture-independent files in PREFIX
583 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
585 --bindir=DIR user executables in DIR [EPREFIX/bin]
586 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
587 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
588 --datadir=DIR read-only architecture-independent data in DIR
590 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
591 --sharedstatedir=DIR modifiable architecture-independent data in DIR
593 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
594 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
595 --includedir=DIR C header files in DIR [PREFIX/include]
596 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
597 --infodir=DIR info documentation in DIR [PREFIX/info]
598 --mandir=DIR man documentation in DIR [PREFIX/man]
599 --srcdir=DIR find the sources in DIR [configure dir or ..]
600 --program-prefix=PREFIX prepend PREFIX to installed program names
601 --program-suffix=SUFFIX append SUFFIX to installed program names
602 --program-transform-name=PROGRAM
603 run sed PROGRAM on installed program names
607 --build=BUILD configure for building on BUILD [BUILD=HOST]
608 --host=HOST configure for HOST [guessed]
609 --target=TARGET configure for TARGET [TARGET=HOST]
610 Features and packages:
611 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
612 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
613 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
614 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
615 --x-includes=DIR X include files are in DIR
616 --x-libraries=DIR X library files are in DIR
618 if test -n "$ac_help"; then
619 echo "--enable and --with options recognized:$ac_help"
623 -host | --host | --hos | --ho)
625 -host=* | --host=* | --hos=* | --ho=*)
628 -includedir | --includedir | --includedi | --included | --include \
629 | --includ | --inclu | --incl | --inc)
630 ac_prev
=includedir
;;
631 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
632 | --includ=* | --inclu=* | --incl=* | --inc=*)
633 includedir
="$ac_optarg" ;;
635 -infodir | --infodir | --infodi | --infod | --info | --inf)
637 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
638 infodir
="$ac_optarg" ;;
640 -libdir | --libdir | --libdi | --libd)
642 -libdir=* | --libdir=* | --libdi=* | --libd=*)
643 libdir
="$ac_optarg" ;;
645 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
646 | --libexe | --libex | --libe)
647 ac_prev
=libexecdir
;;
648 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
649 | --libexe=* | --libex=* | --libe=*)
650 libexecdir
="$ac_optarg" ;;
652 -localstatedir | --localstatedir | --localstatedi | --localstated \
653 | --localstate | --localstat | --localsta | --localst \
654 | --locals | --local | --loca | --loc | --lo)
655 ac_prev
=localstatedir
;;
656 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
657 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
658 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
659 localstatedir
="$ac_optarg" ;;
661 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
663 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
664 mandir
="$ac_optarg" ;;
667 # Obsolete; use --without-fp.
670 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
674 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
675 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
678 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
679 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
680 | --oldin | --oldi | --old | --ol | --o)
681 ac_prev
=oldincludedir
;;
682 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
683 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
684 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
685 oldincludedir
="$ac_optarg" ;;
687 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
689 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
690 prefix
="$ac_optarg" ;;
692 -program-prefix | --program-prefix | --program-prefi | --program-pref \
693 | --program-pre | --program-pr | --program-p)
694 ac_prev
=program_prefix
;;
695 -program-prefix=* | --program-prefix=* | --program-prefi=* \
696 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
697 program_prefix
="$ac_optarg" ;;
699 -program-suffix | --program-suffix | --program-suffi | --program-suff \
700 | --program-suf | --program-su | --program-s)
701 ac_prev
=program_suffix
;;
702 -program-suffix=* | --program-suffix=* | --program-suffi=* \
703 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
704 program_suffix
="$ac_optarg" ;;
706 -program-transform-name | --program-transform-name \
707 | --program-transform-nam | --program-transform-na \
708 | --program-transform-n | --program-transform- \
709 | --program-transform | --program-transfor \
710 | --program-transfo | --program-transf \
711 | --program-trans | --program-tran \
712 | --progr-tra | --program-tr | --program-t)
713 ac_prev
=program_transform_name
;;
714 -program-transform-name=* | --program-transform-name=* \
715 | --program-transform-nam=* | --program-transform-na=* \
716 | --program-transform-n=* | --program-transform-=* \
717 | --program-transform=* | --program-transfor=* \
718 | --program-transfo=* | --program-transf=* \
719 | --program-trans=* | --program-tran=* \
720 | --progr-tra=* | --program-tr=* | --program-t=*)
721 program_transform_name
="$ac_optarg" ;;
723 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
724 | -silent | --silent | --silen | --sile | --sil)
727 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
729 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
731 sbindir
="$ac_optarg" ;;
733 -sharedstatedir | --sharedstatedir | --sharedstatedi \
734 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
735 | --sharedst | --shareds | --shared | --share | --shar \
737 ac_prev
=sharedstatedir
;;
738 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
739 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
740 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
742 sharedstatedir
="$ac_optarg" ;;
744 -site | --site | --sit)
746 -site=* | --site=* | --sit=*)
749 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
751 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
752 srcdir
="$ac_optarg" ;;
754 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
755 | --syscon | --sysco | --sysc | --sys | --sy)
756 ac_prev
=sysconfdir
;;
757 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
758 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
759 sysconfdir
="$ac_optarg" ;;
761 -target | --target | --targe | --targ | --tar | --ta | --t)
763 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
764 target
="$ac_optarg" ;;
766 -v | -verbose | --verbose | --verbos | --verbo | --verb)
769 -version | --version | --versio | --versi | --vers)
770 echo "configure generated by autoconf version 2.13"
774 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
775 # Reject names that are not valid shell variable names.
776 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
777 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
779 ac_package
=`echo $ac_package| sed 's/-/_/g'`
784 eval "with_${ac_package}='$ac_optarg'" ;;
786 -without-* | --without-*)
787 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
788 # Reject names that are not valid shell variable names.
789 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
790 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
792 ac_package
=`echo $ac_package| sed 's/-/_/g'`
793 eval "with_${ac_package}=no" ;;
796 # Obsolete; use --with-x.
799 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
800 | --x-incl | --x-inc | --x-in | --x-i)
801 ac_prev
=x_includes
;;
802 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
803 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
804 x_includes
="$ac_optarg" ;;
806 -x-libraries | --x-libraries | --x-librarie | --x-librari \
807 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
808 ac_prev
=x_libraries
;;
809 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
810 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
811 x_libraries
="$ac_optarg" ;;
813 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
817 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
818 echo "configure: warning: $ac_option: invalid host type" 1>&2
820 if test "x$nonopt" != xNONE
; then
821 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
829 if test -n "$ac_prev"; then
830 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
833 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
835 # File descriptor usage:
838 # 2 errors and warnings
839 # 3 some systems may open it to /dev/tty
840 # 4 used on the Kubota Titan
841 # 6 checking for... messages and results
842 # 5 compiler messages saved in config.log
843 if test "$silent" = yes; then
851 This file contains any messages produced by compilers while
852 running configure, to aid debugging if configure makes a mistake.
855 # Strip out --no-create and --no-recursion so they do not pile up.
856 # Also quote any args containing shell metacharacters.
861 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
862 | --no-cr | --no-c) ;;
863 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
864 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
865 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
866 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
867 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
872 # Only set these to C if already set. These must not be set unconditionally
873 # because not all systems understand e.g. LANG=C (notably SCO).
874 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
875 # Non-C LC_CTYPE values break the ctype check.
876 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
877 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
878 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
879 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
881 # confdefs.h avoids OS command line length limits that DEFS can exceed.
882 rm -rf conftest
* confdefs.h
883 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
886 # A filename unique to this package, relative to the directory that
887 # configure is in, which we can look for to find out if srcdir is correct.
888 ac_unique_file
=wx
-config.
in
890 # Find the source files, if location was not specified.
891 if test -z "$srcdir"; then
892 ac_srcdir_defaulted
=yes
893 # Try the directory containing this script, then its parent.
895 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
896 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
898 if test ! -r $srcdir/$ac_unique_file; then
902 ac_srcdir_defaulted
=no
904 if test ! -r $srcdir/$ac_unique_file; then
905 if test "$ac_srcdir_defaulted" = yes; then
906 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
908 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
911 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
913 # Prefer explicitly selected file to automatically selected ones.
914 if test -z "$CONFIG_SITE"; then
915 if test "x$prefix" != xNONE
; then
916 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
918 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
921 for ac_site_file
in $CONFIG_SITE; do
922 if test -r "$ac_site_file"; then
923 echo "loading site script $ac_site_file"
928 if test -r "$cache_file"; then
929 echo "loading cache $cache_file"
932 echo "creating cache $cache_file"
937 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
938 ac_cpp
='$CPP $CPPFLAGS'
939 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
940 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
941 cross_compiling
=$ac_cv_prog_cc_cross
945 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
946 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
947 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
954 ac_n
= ac_c
='\c' ac_t
=
960 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
961 if test -f $ac_dir/install-sh; then
963 ac_install_sh
="$ac_aux_dir/install-sh -c"
965 elif test -f $ac_dir/install.sh
; then
967 ac_install_sh
="$ac_aux_dir/install.sh -c"
971 if test -z "$ac_aux_dir"; then
972 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
974 ac_config_guess
=$ac_aux_dir/config.guess
975 ac_config_sub
=$ac_aux_dir/config.sub
976 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
979 # Do some error checking and defaulting for the host and target type.
981 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
984 # 1. You are not allowed to specify --host, --target, and nonopt at the
986 # 2. Host defaults to nonopt.
987 # 3. If nonopt is not specified, then host defaults to the current host,
988 # as determined by config.guess.
989 # 4. Target and build default to nonopt.
990 # 5. If nonopt is not specified, then target and build default to host.
992 # The aliases save the names the user supplied, while $host etc.
993 # will get canonicalized.
994 case $host---$target---$nonopt in
995 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
996 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1000 # Make sure we can run config.sub.
1001 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1002 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1005 echo $ac_n "checking host system type""... $ac_c" 1>&6
1006 echo "configure:1007: checking host system type" >&5
1009 case "$host_alias" in
1013 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1014 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1016 *) host_alias
=$nonopt ;;
1020 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1021 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1022 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1023 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1024 echo "$ac_t""$host" 1>&6
1026 echo $ac_n "checking target system type""... $ac_c" 1>&6
1027 echo "configure:1028: checking target system type" >&5
1029 target_alias
=$target
1030 case "$target_alias" in
1033 NONE
) target_alias
=$host_alias ;;
1034 *) target_alias
=$nonopt ;;
1038 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1039 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1040 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1041 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1042 echo "$ac_t""$target" 1>&6
1044 echo $ac_n "checking build system type""... $ac_c" 1>&6
1045 echo "configure:1046: checking build system type" >&5
1048 case "$build_alias" in
1051 NONE
) build_alias
=$host_alias ;;
1052 *) build_alias
=$nonopt ;;
1056 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1057 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1058 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1059 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1060 echo "$ac_t""$build" 1>&6
1062 test "$host_alias" != "$target_alias" &&
1063 test "$program_prefix$program_suffix$program_transform_name" = \
1065 program_prefix
=${target_alias}-
1069 WX_MAJOR_VERSION_NUMBER
=2
1070 WX_MINOR_VERSION_NUMBER
=3
1073 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1074 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1076 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1110 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1112 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM WINE X11"
1117 DEFAULT_wxUSE_MICROWIN
=0
1118 DEFAULT_wxUSE_MOTIF
=0
1121 DEFAULT_wxUSE_WINE
=0
1124 DEFAULT_DEFAULT_wxUSE_GTK
=0
1125 DEFAULT_DEFAULT_wxUSE_MAC
=0
1126 DEFAULT_DEFAULT_wxUSE_MGL
=0
1127 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1128 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1129 DEFAULT_DEFAULT_wxUSE_MSW
=0
1130 DEFAULT_DEFAULT_wxUSE_PM
=0
1131 DEFAULT_DEFAULT_wxUSE_WINE
=0
1132 DEFAULT_DEFAULT_wxUSE_X11
=0
1140 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1141 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1143 cat >> confdefs.h
<<\EOF
1150 cat >> confdefs.h
<<\EOF
1155 if test "x$TMP" = "xalpha"; then
1157 cat >> confdefs.h
<<\EOF
1162 DEFAULT_DEFAULT_wxUSE_GTK
=1
1164 *-*-irix5* | *-*-irix6* )
1167 cat >> confdefs.h
<<\EOF
1171 cat >> confdefs.h
<<\EOF
1175 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1181 cat >> confdefs.h
<<\EOF
1185 cat >> confdefs.h
<<\EOF
1186 #define __SOLARIS__ 1
1189 cat >> confdefs.h
<<\EOF
1193 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1194 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1200 cat >> confdefs.h
<<\EOF
1204 cat >> confdefs.h
<<\EOF
1208 cat >> confdefs.h
<<\EOF
1212 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1217 cat >> confdefs.h
<<\EOF
1218 #define __FREEBSD__ 1
1221 cat >> confdefs.h
<<\EOF
1225 DEFAULT_DEFAULT_wxUSE_GTK
=1
1230 cat >> confdefs.h
<<\EOF
1231 #define __FREEBSD__ 1
1234 cat >> confdefs.h
<<\EOF
1235 #define __OPENBSD__ 1
1238 DEFAULT_DEFAULT_wxUSE_GTK
=1
1243 cat >> confdefs.h
<<\EOF
1244 #define __FREEBSD__ 1
1247 cat >> confdefs.h
<<\EOF
1248 #define __NETBSD__ 1
1251 DEFAULT_DEFAULT_wxUSE_GTK
=1
1256 cat >> confdefs.h
<<\EOF
1260 cat >> confdefs.h
<<\EOF
1264 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1265 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1270 cat >> confdefs.h
<<\EOF
1274 cat >> confdefs.h
<<\EOF
1278 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1283 cat >> confdefs.h
<<\EOF
1287 cat >> confdefs.h
<<\EOF
1291 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1298 cat >> confdefs.h
<<\EOF
1302 cat >> confdefs.h
<<\EOF
1306 cat >> confdefs.h
<<\EOF
1310 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1313 *-*-cygwin* | *-*-mingw32* )
1317 DEFAULT_DEFAULT_wxUSE_MSW
=1
1323 cat >> confdefs.h
<<\EOF
1328 DEFAULT_DEFAULT_wxUSE_MGL
=1
1329 LIBS
="$LIBS -lstdc++"
1332 *-pc-os2_emx | *-pc-os2-emx )
1333 cat >> confdefs.h
<<\EOF
1338 DEFAULT_DEFAULT_wxUSE_PM
=1
1339 LIBS
="$LIBS -lstdcpp"
1346 cat >> confdefs.h
<<\EOF
1350 cat >> confdefs.h
<<\EOF
1351 #define __DARWIN__ 1
1354 cat >> confdefs.h
<<\EOF
1355 #define __POWERPC__ 1
1358 DEFAULT_DEFAULT_wxUSE_MAC
=1
1363 cat >> confdefs.h
<<\EOF
1370 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1376 wx_arg_cache_file
="configarg.cache"
1377 echo "loading argument cache $wx_arg_cache_file"
1378 rm -f ${wx_arg_cache_file}.tmp
1379 touch ${wx_arg_cache_file}.tmp
1380 touch ${wx_arg_cache_file}
1384 if test $DEBUG_CONFIGURE = 1; then
1385 DEFAULT_wxUSE_UNIVERSAL
=no
1387 DEFAULT_wxUSE_NANOX
=no
1389 DEFAULT_wxUSE_THREADS
=yes
1391 DEFAULT_wxUSE_SHARED
=yes
1392 DEFAULT_wxUSE_SONAME
=no
1393 DEFAULT_wxUSE_OPTIMISE
=no
1394 DEFAULT_wxUSE_PROFILE
=no
1395 DEFAULT_wxUSE_NO_DEPS
=no
1396 DEFAULT_wxUSE_NO_RTTI
=no
1397 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1398 DEFAULT_wxUSE_PERMISSIVE
=no
1399 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1400 DEFAULT_wxUSE_DEBUG_INFO
=yes
1401 DEFAULT_wxUSE_DEBUG_GDB
=yes
1402 DEFAULT_wxUSE_MEM_TRACING
=no
1403 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1404 DEFAULT_wxUSE_DMALLOC
=no
1405 DEFAULT_wxUSE_PRECOMP
=no
1406 DEFAULT_wxUSE_APPLE_IEEE
=no
1408 DEFAULT_wxUSE_LOG
=yes
1409 DEFAULT_wxUSE_LOGWINDOW
=no
1410 DEFAULT_wxUSE_LOGGUI
=no
1411 DEFAULT_wxUSE_LOGDIALOG
=no
1413 DEFAULT_wxUSE_GUI
=yes
1414 DEFAULT_wxUSE_CONTROLS
=no
1416 DEFAULT_wxUSE_REGEX
=no
1417 DEFAULT_wxUSE_ZLIB
=no
1418 DEFAULT_wxUSE_LIBPNG
=no
1419 DEFAULT_wxUSE_LIBJPEG
=no
1420 DEFAULT_wxUSE_LIBTIFF
=no
1421 DEFAULT_wxUSE_ODBC
=no
1422 DEFAULT_wxUSE_OPENGL
=no
1424 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1425 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1426 DEFAULT_wxUSE_STD_IOSTREAM
=no
1427 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1428 DEFAULT_wxUSE_DATETIME
=no
1429 DEFAULT_wxUSE_TIMEDATE
=no
1430 DEFAULT_wxUSE_TIMER
=no
1431 DEFAULT_wxUSE_STOPWATCH
=no
1432 DEFAULT_wxUSE_FILE
=no
1433 DEFAULT_wxUSE_FFILE
=no
1434 DEFAULT_wxUSE_TEXTBUFFER
=no
1435 DEFAULT_wxUSE_TEXTFILE
=no
1436 DEFAULT_wxUSE_WAVE
=no
1437 DEFAULT_wxUSE_INTL
=no
1438 DEFAULT_wxUSE_CONFIG
=no
1439 DEFAULT_wxUSE_FONTMAP
=no
1440 DEFAULT_wxUSE_STREAMS
=no
1441 DEFAULT_wxUSE_SOCKETS
=no
1442 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1443 DEFAULT_wxUSE_JOYSTICK
=no
1444 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1445 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1446 DEFAULT_wxUSE_LONGLONG
=no
1447 DEFAULT_wxUSE_GEOMETRY
=no
1449 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1450 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1451 DEFAULT_wxUSE_POSTSCRIPT
=no
1453 DEFAULT_wxUSE_X_RESOURCES
=no
1454 DEFAULT_wxUSE_CLIPBOARD
=no
1455 DEFAULT_wxUSE_TOOLTIPS
=no
1456 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1457 DEFAULT_wxUSE_DRAGIMAGE
=no
1458 DEFAULT_wxUSE_SPLINES
=no
1460 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1461 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1462 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1464 DEFAULT_wxUSE_PROLOGIO
=no
1465 DEFAULT_wxUSE_RESOURCES
=no
1466 DEFAULT_wxUSE_CONSTRAINTS
=no
1467 DEFAULT_wxUSE_IPC
=no
1468 DEFAULT_wxUSE_HELP
=no
1469 DEFAULT_wxUSE_MS_HTML_HELP
=no
1470 DEFAULT_wxUSE_WXHTML_HELP
=no
1471 DEFAULT_wxUSE_TREELAYOUT
=no
1472 DEFAULT_wxUSE_METAFILE
=no
1473 DEFAULT_wxUSE_MIMETYPE
=no
1474 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1475 DEFAULT_wxUSE_PROTOCOL
=no
1476 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1477 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1478 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1479 DEFAULT_wxUSE_URL
=no
1481 DEFAULT_wxUSE_COMMONDLGS
=no
1482 DEFAULT_wxUSE_CHOICEDLG
=no
1483 DEFAULT_wxUSE_COLOURDLG
=no
1484 DEFAULT_wxUSE_DIRDLG
=no
1485 DEFAULT_wxUSE_FILEDLG
=no
1486 DEFAULT_wxUSE_FINDREPLDLG
=no
1487 DEFAULT_wxUSE_FONTDLG
=no
1488 DEFAULT_wxUSE_MSGDLG
=no
1489 DEFAULT_wxUSE_NUMBERDLG
=no
1490 DEFAULT_wxUSE_TEXTDLG
=no
1491 DEFAULT_wxUSE_SPLASH
=no
1492 DEFAULT_wxUSE_STARTUP_TIPS
=no
1493 DEFAULT_wxUSE_PROGRESSDLG
=no
1494 DEFAULT_wxUSE_WIZARDDLG
=no
1496 DEFAULT_wxUSE_MENUS
=no
1497 DEFAULT_wxUSE_MINIFRAME
=no
1498 DEFAULT_wxUSE_HTML
=no
1499 DEFAULT_wxUSE_FILESYSTEM
=no
1500 DEFAULT_wxUSE_FS_INET
=no
1501 DEFAULT_wxUSE_FS_ZIP
=no
1502 DEFAULT_wxUSE_BUSYINFO
=no
1503 DEFAULT_wxUSE_ZIPSTREAM
=no
1504 DEFAULT_wxUSE_VALIDATORS
=no
1506 DEFAULT_wxUSE_ACCEL
=no
1507 DEFAULT_wxUSE_BUTTON
=no
1508 DEFAULT_wxUSE_BMPBUTTON
=no
1509 DEFAULT_wxUSE_CALCTRL
=no
1510 DEFAULT_wxUSE_CARET
=no
1511 DEFAULT_wxUSE_CHECKBOX
=no
1512 DEFAULT_wxUSE_CHECKLST
=no
1513 DEFAULT_wxUSE_CHOICE
=no
1514 DEFAULT_wxUSE_COMBOBOX
=no
1515 DEFAULT_wxUSE_GAUGE
=no
1516 DEFAULT_wxUSE_GRID
=no
1517 DEFAULT_wxUSE_NEW_GRID
=no
1518 DEFAULT_wxUSE_IMAGLIST
=no
1519 DEFAULT_wxUSE_LISTBOX
=no
1520 DEFAULT_wxUSE_LISTCTRL
=no
1521 DEFAULT_wxUSE_NOTEBOOK
=no
1522 DEFAULT_wxUSE_PROPSHEET
=no
1523 DEFAULT_wxUSE_RADIOBOX
=no
1524 DEFAULT_wxUSE_RADIOBTN
=no
1525 DEFAULT_wxUSE_SASH
=no
1526 DEFAULT_wxUSE_SCROLLBAR
=no
1527 DEFAULT_wxUSE_SLIDER
=no
1528 DEFAULT_wxUSE_SPINBTN
=no
1529 DEFAULT_wxUSE_SPINCTRL
=no
1530 DEFAULT_wxUSE_SPLITTER
=no
1531 DEFAULT_wxUSE_STATBMP
=no
1532 DEFAULT_wxUSE_STATBOX
=no
1533 DEFAULT_wxUSE_STATLINE
=no
1534 DEFAULT_wxUSE_STATTEXT
=no
1535 DEFAULT_wxUSE_STATUSBAR
=yes
1536 DEFAULT_wxUSE_TABDIALOG
=no
1537 DEFAULT_wxUSE_TEXTCTRL
=no
1538 DEFAULT_wxUSE_TOGGLEBTN
=no
1539 DEFAULT_wxUSE_TOOLBAR
=no
1540 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1541 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1542 DEFAULT_wxUSE_TREECTRL
=no
1543 DEFAULT_wxUSE_POPUPWIN
=no
1544 DEFAULT_wxUSE_TIPWINDOW
=no
1546 DEFAULT_wxUSE_UNICODE
=no
1547 DEFAULT_wxUSE_UNICODE_MSLU
=no
1548 DEFAULT_wxUSE_WCSRTOMBS
=no
1550 DEFAULT_wxUSE_PALETTE
=no
1551 DEFAULT_wxUSE_IMAGE
=no
1552 DEFAULT_wxUSE_GIF
=no
1553 DEFAULT_wxUSE_PCX
=no
1554 DEFAULT_wxUSE_PNM
=no
1555 DEFAULT_wxUSE_IFF
=no
1556 DEFAULT_wxUSE_XPM
=no
1557 DEFAULT_wxUSE_ICO_CUR
=no
1559 DEFAULT_wxUSE_UNIVERSAL
=no
1561 DEFAULT_wxUSE_NANOX
=no
1563 DEFAULT_wxUSE_THREADS
=yes
1565 DEFAULT_wxUSE_SHARED
=yes
1566 DEFAULT_wxUSE_SONAME
=no
1567 DEFAULT_wxUSE_OPTIMISE
=yes
1568 DEFAULT_wxUSE_PROFILE
=no
1569 DEFAULT_wxUSE_NO_DEPS
=no
1570 DEFAULT_wxUSE_NO_RTTI
=no
1571 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1572 DEFAULT_wxUSE_PERMISSIVE
=no
1573 DEFAULT_wxUSE_DEBUG_FLAG
=no
1574 DEFAULT_wxUSE_DEBUG_INFO
=no
1575 DEFAULT_wxUSE_DEBUG_GDB
=no
1576 DEFAULT_wxUSE_MEM_TRACING
=no
1577 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1578 DEFAULT_wxUSE_DMALLOC
=no
1579 DEFAULT_wxUSE_PRECOMP
=no
1580 DEFAULT_wxUSE_APPLE_IEEE
=yes
1582 DEFAULT_wxUSE_LOG
=yes
1583 DEFAULT_wxUSE_LOGWINDOW
=yes
1584 DEFAULT_wxUSE_LOGGUI
=yes
1585 DEFAULT_wxUSE_LOGDIALOG
=yes
1587 DEFAULT_wxUSE_GUI
=yes
1589 DEFAULT_wxUSE_REGEX
=yes
1590 DEFAULT_wxUSE_ZLIB
=yes
1591 DEFAULT_wxUSE_LIBPNG
=yes
1592 DEFAULT_wxUSE_LIBJPEG
=yes
1593 DEFAULT_wxUSE_LIBTIFF
=yes
1594 DEFAULT_wxUSE_ODBC
=no
1595 DEFAULT_wxUSE_OPENGL
=no
1597 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1598 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1599 DEFAULT_wxUSE_STD_IOSTREAM
=no
1600 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1601 DEFAULT_wxUSE_DATETIME
=yes
1602 DEFAULT_wxUSE_TIMEDATE
=no
1603 DEFAULT_wxUSE_TIMER
=yes
1604 DEFAULT_wxUSE_STOPWATCH
=yes
1605 DEFAULT_wxUSE_FILE
=yes
1606 DEFAULT_wxUSE_FFILE
=yes
1607 DEFAULT_wxUSE_TEXTBUFFER
=yes
1608 DEFAULT_wxUSE_TEXTFILE
=yes
1609 DEFAULT_wxUSE_WAVE
=no
1610 DEFAULT_wxUSE_INTL
=yes
1611 DEFAULT_wxUSE_CONFIG
=yes
1612 DEFAULT_wxUSE_FONTMAP
=yes
1613 DEFAULT_wxUSE_STREAMS
=yes
1614 DEFAULT_wxUSE_SOCKETS
=yes
1615 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1616 DEFAULT_wxUSE_JOYSTICK
=yes
1617 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1618 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1619 DEFAULT_wxUSE_LONGLONG
=yes
1620 DEFAULT_wxUSE_GEOMETRY
=yes
1622 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1623 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1624 DEFAULT_wxUSE_POSTSCRIPT
=yes
1626 DEFAULT_wxUSE_X_RESOURCES
=no
1627 DEFAULT_wxUSE_CLIPBOARD
=yes
1628 DEFAULT_wxUSE_TOOLTIPS
=yes
1629 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1630 DEFAULT_wxUSE_DRAGIMAGE
=yes
1631 DEFAULT_wxUSE_SPLINES
=yes
1633 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1634 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1635 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1637 DEFAULT_wxUSE_PROLOGIO
=yes
1638 DEFAULT_wxUSE_RESOURCES
=yes
1639 DEFAULT_wxUSE_CONSTRAINTS
=yes
1640 DEFAULT_wxUSE_IPC
=yes
1641 DEFAULT_wxUSE_HELP
=yes
1642 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1643 DEFAULT_wxUSE_WXHTML_HELP
=yes
1644 DEFAULT_wxUSE_TREELAYOUT
=yes
1645 DEFAULT_wxUSE_METAFILE
=yes
1646 DEFAULT_wxUSE_MIMETYPE
=yes
1647 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1648 DEFAULT_wxUSE_PROTOCOL
=yes
1649 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1650 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1651 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1652 DEFAULT_wxUSE_URL
=yes
1654 DEFAULT_wxUSE_COMMONDLGS
=yes
1655 DEFAULT_wxUSE_CHOICEDLG
=yes
1656 DEFAULT_wxUSE_COLOURDLG
=yes
1657 DEFAULT_wxUSE_DIRDLG
=yes
1658 DEFAULT_wxUSE_FILEDLG
=yes
1659 DEFAULT_wxUSE_FINDREPLDLG
=yes
1660 DEFAULT_wxUSE_FONTDLG
=yes
1661 DEFAULT_wxUSE_MSGDLG
=yes
1662 DEFAULT_wxUSE_NUMBERDLG
=yes
1663 DEFAULT_wxUSE_TEXTDLG
=yes
1664 DEFAULT_wxUSE_SPLASH
=yes
1665 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1666 DEFAULT_wxUSE_PROGRESSDLG
=yes
1667 DEFAULT_wxUSE_WIZARDDLG
=yes
1669 DEFAULT_wxUSE_MENUS
=yes
1670 DEFAULT_wxUSE_MINIFRAME
=yes
1671 DEFAULT_wxUSE_HTML
=yes
1672 DEFAULT_wxUSE_FILESYSTEM
=yes
1673 DEFAULT_wxUSE_FS_INET
=yes
1674 DEFAULT_wxUSE_FS_ZIP
=yes
1675 DEFAULT_wxUSE_BUSYINFO
=yes
1676 DEFAULT_wxUSE_ZIPSTREAM
=yes
1677 DEFAULT_wxUSE_VALIDATORS
=yes
1679 DEFAULT_wxUSE_ACCEL
=yes
1680 DEFAULT_wxUSE_BUTTON
=yes
1681 DEFAULT_wxUSE_BMPBUTTON
=yes
1682 DEFAULT_wxUSE_CALCTRL
=yes
1683 DEFAULT_wxUSE_CARET
=yes
1684 DEFAULT_wxUSE_CHECKBOX
=yes
1685 DEFAULT_wxUSE_CHECKLST
=yes
1686 DEFAULT_wxUSE_CHOICE
=yes
1687 DEFAULT_wxUSE_COMBOBOX
=yes
1688 DEFAULT_wxUSE_GAUGE
=yes
1689 DEFAULT_wxUSE_GRID
=yes
1690 DEFAULT_wxUSE_NEW_GRID
=yes
1691 DEFAULT_wxUSE_IMAGLIST
=yes
1692 DEFAULT_wxUSE_LISTBOX
=yes
1693 DEFAULT_wxUSE_LISTCTRL
=yes
1694 DEFAULT_wxUSE_NOTEBOOK
=yes
1695 DEFAULT_wxUSE_PROPSHEET
=yes
1696 DEFAULT_wxUSE_RADIOBOX
=yes
1697 DEFAULT_wxUSE_RADIOBTN
=yes
1698 DEFAULT_wxUSE_SASH
=yes
1699 DEFAULT_wxUSE_SCROLLBAR
=yes
1700 DEFAULT_wxUSE_SLIDER
=yes
1701 DEFAULT_wxUSE_SPINBTN
=yes
1702 DEFAULT_wxUSE_SPINCTRL
=yes
1703 DEFAULT_wxUSE_SPLITTER
=yes
1704 DEFAULT_wxUSE_STATBMP
=yes
1705 DEFAULT_wxUSE_STATBOX
=yes
1706 DEFAULT_wxUSE_STATLINE
=yes
1707 DEFAULT_wxUSE_STATTEXT
=yes
1708 DEFAULT_wxUSE_STATUSBAR
=yes
1709 DEFAULT_wxUSE_TABDIALOG
=no
1710 DEFAULT_wxUSE_TEXTCTRL
=yes
1711 DEFAULT_wxUSE_TOGGLEBTN
=yes
1712 DEFAULT_wxUSE_TOOLBAR
=yes
1713 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1714 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1715 DEFAULT_wxUSE_TREECTRL
=yes
1716 DEFAULT_wxUSE_POPUPWIN
=yes
1717 DEFAULT_wxUSE_TIPWINDOW
=yes
1719 DEFAULT_wxUSE_UNICODE
=no
1720 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1721 DEFAULT_wxUSE_WCSRTOMBS
=no
1723 DEFAULT_wxUSE_PALETTE
=yes
1724 DEFAULT_wxUSE_IMAGE
=yes
1725 DEFAULT_wxUSE_GIF
=yes
1726 DEFAULT_wxUSE_PCX
=yes
1727 DEFAULT_wxUSE_IFF
=no
1728 DEFAULT_wxUSE_PNM
=yes
1729 DEFAULT_wxUSE_XPM
=yes
1730 DEFAULT_wxUSE_ICO_CUR
=yes
1735 for toolkit
in `echo $ALL_TOOLKITS`; do
1736 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1737 if test "x$LINE" != x
; then
1738 has_toolkit_in_cache
=1
1739 eval "DEFAULT_$LINE"
1740 eval "CACHE_$toolkit=1"
1746 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1747 echo "configure:1748: checking for --enable-gui" >&5
1749 # Check whether --enable-gui or --disable-gui was given.
1750 if test "${enable_gui+set}" = set; then
1751 enableval
="$enable_gui"
1753 if test "$enableval" = yes; then
1754 ac_cv_use_gui
='wxUSE_GUI=yes'
1756 ac_cv_use_gui
='wxUSE_GUI=no'
1761 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1762 if test "x$LINE" != x
; then
1763 eval "DEFAULT_$LINE"
1768 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1773 eval "$ac_cv_use_gui"
1774 if test "$no_cache" != 1; then
1775 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1778 if test "$wxUSE_GUI" = yes; then
1779 echo "$ac_t""yes" 1>&6
1781 echo "$ac_t""no" 1>&6
1785 if test "$wxUSE_GUI" = "yes"; then
1788 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1789 echo "configure:1790: checking for --enable-universal" >&5
1791 # Check whether --enable-universal or --disable-universal was given.
1792 if test "${enable_universal+set}" = set; then
1793 enableval
="$enable_universal"
1795 if test "$enableval" = yes; then
1796 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1798 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1803 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1804 if test "x$LINE" != x
; then
1805 eval "DEFAULT_$LINE"
1810 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1815 eval "$ac_cv_use_universal"
1816 if test "$no_cache" != 1; then
1817 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1820 if test "$wxUSE_UNIVERSAL" = yes; then
1821 echo "$ac_t""yes" 1>&6
1823 echo "$ac_t""no" 1>&6
1826 # Check whether --with-gtk or --without-gtk was given.
1827 if test "${with_gtk+set}" = set; then
1829 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1832 # Check whether --with-motif or --without-motif was given.
1833 if test "${with_motif+set}" = set; then
1834 withval
="$with_motif"
1835 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1838 # Check whether --with-mac or --without-mac was given.
1839 if test "${with_mac+set}" = set; then
1841 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1844 # Check whether --with-wine or --without-wine was given.
1845 if test "${with_wine+set}" = set; then
1846 withval
="$with_wine"
1847 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1850 # Check whether --with-msw or --without-msw was given.
1851 if test "${with_msw+set}" = set; then
1853 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1856 # Check whether --with-pm or --without-pm was given.
1857 if test "${with_pm+set}" = set; then
1859 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1862 # Check whether --with-mgl or --without-mgl was given.
1863 if test "${with_mgl+set}" = set; then
1865 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1868 # Check whether --with-microwin or --without-microwin was given.
1869 if test "${with_microwin+set}" = set; then
1870 withval
="$with_microwin"
1871 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1874 # Check whether --with-x11 or --without-x11 was given.
1875 if test "${with_x11+set}" = set; then
1877 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1881 echo $ac_n "checking for --enable-nanox""... $ac_c" 1>&6
1882 echo "configure:1883: checking for --enable-nanox" >&5
1884 # Check whether --enable-nanox or --disable-nanox was given.
1885 if test "${enable_nanox+set}" = set; then
1886 enableval
="$enable_nanox"
1888 if test "$enableval" = yes; then
1889 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1891 ac_cv_use_nanox
='wxUSE_NANOX=no'
1896 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1897 if test "x$LINE" != x
; then
1898 eval "DEFAULT_$LINE"
1903 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1908 eval "$ac_cv_use_nanox"
1909 if test "$no_cache" != 1; then
1910 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1913 if test "$wxUSE_NANOX" = yes; then
1914 echo "$ac_t""yes" 1>&6
1916 echo "$ac_t""no" 1>&6
1920 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1921 if test "${enable_gtk2+set}" = set; then
1922 enableval
="$enable_gtk2"
1930 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1931 echo "configure:1932: checking for --with-libpng" >&5
1933 # Check whether --with-libpng or --without-libpng was given.
1934 if test "${with_libpng+set}" = set; then
1935 withval
="$with_libpng"
1937 if test "$withval" = yes; then
1938 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1939 elif test "$withval" = no
; then
1940 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1941 elif test "$withval" = sys
; then
1942 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1943 elif test "$withval" = builtin; then
1944 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1946 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1951 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1952 if test "x$LINE" != x
; then
1953 eval "DEFAULT_$LINE"
1958 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1963 eval "$ac_cv_use_libpng"
1964 if test "$no_cache" != 1; then
1965 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1968 if test "$wxUSE_LIBPNG" = yes; then
1969 echo "$ac_t""yes" 1>&6
1970 elif test "$wxUSE_LIBPNG" = no
; then
1971 echo "$ac_t""no" 1>&6
1972 elif test "$wxUSE_LIBPNG" = sys
; then
1973 echo "$ac_t""system version" 1>&6
1974 elif test "$wxUSE_LIBPNG" = builtin; then
1975 echo "$ac_t""builtin version" 1>&6
1977 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1981 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1982 echo "configure:1983: checking for --with-libjpeg" >&5
1984 # Check whether --with-libjpeg or --without-libjpeg was given.
1985 if test "${with_libjpeg+set}" = set; then
1986 withval
="$with_libjpeg"
1988 if test "$withval" = yes; then
1989 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1990 elif test "$withval" = no
; then
1991 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1992 elif test "$withval" = sys
; then
1993 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1994 elif test "$withval" = builtin; then
1995 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
1997 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2002 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2003 if test "x$LINE" != x
; then
2004 eval "DEFAULT_$LINE"
2009 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2014 eval "$ac_cv_use_libjpeg"
2015 if test "$no_cache" != 1; then
2016 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2019 if test "$wxUSE_LIBJPEG" = yes; then
2020 echo "$ac_t""yes" 1>&6
2021 elif test "$wxUSE_LIBJPEG" = no
; then
2022 echo "$ac_t""no" 1>&6
2023 elif test "$wxUSE_LIBJPEG" = sys
; then
2024 echo "$ac_t""system version" 1>&6
2025 elif test "$wxUSE_LIBJPEG" = builtin; then
2026 echo "$ac_t""builtin version" 1>&6
2028 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2032 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2033 echo "configure:2034: checking for --with-libtiff" >&5
2035 # Check whether --with-libtiff or --without-libtiff was given.
2036 if test "${with_libtiff+set}" = set; then
2037 withval
="$with_libtiff"
2039 if test "$withval" = yes; then
2040 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2041 elif test "$withval" = no
; then
2042 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2043 elif test "$withval" = sys
; then
2044 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2045 elif test "$withval" = builtin; then
2046 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2048 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2053 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2054 if test "x$LINE" != x
; then
2055 eval "DEFAULT_$LINE"
2060 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2065 eval "$ac_cv_use_libtiff"
2066 if test "$no_cache" != 1; then
2067 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2070 if test "$wxUSE_LIBTIFF" = yes; then
2071 echo "$ac_t""yes" 1>&6
2072 elif test "$wxUSE_LIBTIFF" = no
; then
2073 echo "$ac_t""no" 1>&6
2074 elif test "$wxUSE_LIBTIFF" = sys
; then
2075 echo "$ac_t""system version" 1>&6
2076 elif test "$wxUSE_LIBTIFF" = builtin; then
2077 echo "$ac_t""builtin version" 1>&6
2079 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2083 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2084 echo "configure:2085: checking for --with-opengl" >&5
2086 # Check whether --with-opengl or --without-opengl was given.
2087 if test "${with_opengl+set}" = set; then
2088 withval
="$with_opengl"
2090 if test "$withval" = yes; then
2091 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2093 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2098 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2099 if test "x$LINE" != x
; then
2100 eval "DEFAULT_$LINE"
2105 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2110 eval "$ac_cv_use_opengl"
2111 if test "$no_cache" != 1; then
2112 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2115 if test "$wxUSE_OPENGL" = yes; then
2116 echo "$ac_t""yes" 1>&6
2118 echo "$ac_t""no" 1>&6
2125 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2126 echo "configure:2127: checking for --with-dmalloc" >&5
2128 # Check whether --with-dmalloc or --without-dmalloc was given.
2129 if test "${with_dmalloc+set}" = set; then
2130 withval
="$with_dmalloc"
2132 if test "$withval" = yes; then
2133 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2135 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2140 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2141 if test "x$LINE" != x
; then
2142 eval "DEFAULT_$LINE"
2147 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2152 eval "$ac_cv_use_dmalloc"
2153 if test "$no_cache" != 1; then
2154 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2157 if test "$wxUSE_DMALLOC" = yes; then
2158 echo "$ac_t""yes" 1>&6
2160 echo "$ac_t""no" 1>&6
2164 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2165 echo "configure:2166: checking for --with-regex" >&5
2167 # Check whether --with-regex or --without-regex was given.
2168 if test "${with_regex+set}" = set; then
2169 withval
="$with_regex"
2171 if test "$withval" = yes; then
2172 ac_cv_use_regex
='wxUSE_REGEX=yes'
2173 elif test "$withval" = no
; then
2174 ac_cv_use_regex
='wxUSE_REGEX=no'
2175 elif test "$withval" = sys
; then
2176 ac_cv_use_regex
='wxUSE_REGEX=sys'
2177 elif test "$withval" = builtin; then
2178 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2180 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2185 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2186 if test "x$LINE" != x
; then
2187 eval "DEFAULT_$LINE"
2192 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2197 eval "$ac_cv_use_regex"
2198 if test "$no_cache" != 1; then
2199 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2202 if test "$wxUSE_REGEX" = yes; then
2203 echo "$ac_t""yes" 1>&6
2204 elif test "$wxUSE_REGEX" = no
; then
2205 echo "$ac_t""no" 1>&6
2206 elif test "$wxUSE_REGEX" = sys
; then
2207 echo "$ac_t""system version" 1>&6
2208 elif test "$wxUSE_REGEX" = builtin; then
2209 echo "$ac_t""builtin version" 1>&6
2211 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2215 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2216 echo "configure:2217: checking for --with-zlib" >&5
2218 # Check whether --with-zlib or --without-zlib was given.
2219 if test "${with_zlib+set}" = set; then
2220 withval
="$with_zlib"
2222 if test "$withval" = yes; then
2223 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2224 elif test "$withval" = no
; then
2225 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2226 elif test "$withval" = sys
; then
2227 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2228 elif test "$withval" = builtin; then
2229 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2231 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2236 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2237 if test "x$LINE" != x
; then
2238 eval "DEFAULT_$LINE"
2243 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2248 eval "$ac_cv_use_zlib"
2249 if test "$no_cache" != 1; then
2250 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2253 if test "$wxUSE_ZLIB" = yes; then
2254 echo "$ac_t""yes" 1>&6
2255 elif test "$wxUSE_ZLIB" = no
; then
2256 echo "$ac_t""no" 1>&6
2257 elif test "$wxUSE_ZLIB" = sys
; then
2258 echo "$ac_t""system version" 1>&6
2259 elif test "$wxUSE_ZLIB" = builtin; then
2260 echo "$ac_t""builtin version" 1>&6
2262 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2266 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2267 echo "configure:2268: checking for --with-odbc" >&5
2269 # Check whether --with-odbc or --without-odbc was given.
2270 if test "${with_odbc+set}" = set; then
2271 withval
="$with_odbc"
2273 if test "$withval" = yes; then
2274 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2276 ac_cv_use_odbc
='wxUSE_ODBC=no'
2281 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2282 if test "x$LINE" != x
; then
2283 eval "DEFAULT_$LINE"
2288 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2293 eval "$ac_cv_use_odbc"
2294 if test "$no_cache" != 1; then
2295 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2298 if test "$wxUSE_ODBC" = yes; then
2299 echo "$ac_t""yes" 1>&6
2301 echo "$ac_t""no" 1>&6
2307 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2308 echo "configure:2309: checking for --enable-shared" >&5
2310 # Check whether --enable-shared or --disable-shared was given.
2311 if test "${enable_shared+set}" = set; then
2312 enableval
="$enable_shared"
2314 if test "$enableval" = yes; then
2315 ac_cv_use_shared
='wxUSE_SHARED=yes'
2317 ac_cv_use_shared
='wxUSE_SHARED=no'
2322 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2323 if test "x$LINE" != x
; then
2324 eval "DEFAULT_$LINE"
2329 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2334 eval "$ac_cv_use_shared"
2335 if test "$no_cache" != 1; then
2336 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2339 if test "$wxUSE_SHARED" = yes; then
2340 echo "$ac_t""yes" 1>&6
2342 echo "$ac_t""no" 1>&6
2346 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2347 echo "configure:2348: checking for --enable-soname" >&5
2349 # Check whether --enable-soname or --disable-soname was given.
2350 if test "${enable_soname+set}" = set; then
2351 enableval
="$enable_soname"
2353 if test "$enableval" = yes; then
2354 ac_cv_use_soname
='wxUSE_SONAME=yes'
2356 ac_cv_use_soname
='wxUSE_SONAME=no'
2361 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2362 if test "x$LINE" != x
; then
2363 eval "DEFAULT_$LINE"
2368 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2373 eval "$ac_cv_use_soname"
2374 if test "$no_cache" != 1; then
2375 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2378 if test "$wxUSE_SONAME" = yes; then
2379 echo "$ac_t""yes" 1>&6
2381 echo "$ac_t""no" 1>&6
2385 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2386 echo "configure:2387: checking for --enable-optimise" >&5
2388 # Check whether --enable-optimise or --disable-optimise was given.
2389 if test "${enable_optimise+set}" = set; then
2390 enableval
="$enable_optimise"
2392 if test "$enableval" = yes; then
2393 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2395 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2400 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2401 if test "x$LINE" != x
; then
2402 eval "DEFAULT_$LINE"
2407 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2412 eval "$ac_cv_use_optimise"
2413 if test "$no_cache" != 1; then
2414 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2417 if test "$wxUSE_OPTIMISE" = yes; then
2418 echo "$ac_t""yes" 1>&6
2420 echo "$ac_t""no" 1>&6
2424 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2425 echo "configure:2426: checking for --enable-debug" >&5
2427 # Check whether --enable-debug or --disable-debug was given.
2428 if test "${enable_debug+set}" = set; then
2429 enableval
="$enable_debug"
2431 if test "$enableval" = yes; then
2432 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2434 ac_cv_use_debug
='wxUSE_DEBUG=no'
2439 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2440 if test "x$LINE" != x
; then
2441 eval "DEFAULT_$LINE"
2446 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2451 eval "$ac_cv_use_debug"
2452 if test "$no_cache" != 1; then
2453 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2456 if test "$wxUSE_DEBUG" = yes; then
2457 echo "$ac_t""yes" 1>&6
2459 echo "$ac_t""no" 1>&6
2464 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2465 echo "configure:2466: checking for --enable-precomp" >&5
2467 # Check whether --enable-precomp or --disable-precomp was given.
2468 if test "${enable_precomp+set}" = set; then
2469 enableval
="$enable_precomp"
2471 if test "$enableval" = yes; then
2472 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2474 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2479 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2480 if test "x$LINE" != x
; then
2481 eval "DEFAULT_$LINE"
2486 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2491 eval "$ac_cv_use_precomp"
2492 if test "$no_cache" != 1; then
2493 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2496 if test "$wxUSE_PRECOMP" = yes; then
2497 echo "$ac_t""yes" 1>&6
2499 echo "$ac_t""no" 1>&6
2503 if test "$wxUSE_DEBUG" = "yes"; then
2504 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2505 DEFAULT_wxUSE_DEBUG_INFO
=yes
2506 elif test "$wxUSE_DEBUG" = "no"; then
2507 DEFAULT_wxUSE_DEBUG_FLAG
=no
2508 DEFAULT_wxUSE_DEBUG_INFO
=no
2512 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2513 echo "configure:2514: checking for --enable-debug_flag" >&5
2515 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2516 if test "${enable_debug_flag+set}" = set; then
2517 enableval
="$enable_debug_flag"
2519 if test "$enableval" = yes; then
2520 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2522 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2527 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2528 if test "x$LINE" != x
; then
2529 eval "DEFAULT_$LINE"
2534 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2539 eval "$ac_cv_use_debug_flag"
2540 if test "$no_cache" != 1; then
2541 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2544 if test "$wxUSE_DEBUG_FLAG" = yes; then
2545 echo "$ac_t""yes" 1>&6
2547 echo "$ac_t""no" 1>&6
2551 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2552 echo "configure:2553: checking for --enable-debug_info" >&5
2554 # Check whether --enable-debug_info or --disable-debug_info was given.
2555 if test "${enable_debug_info+set}" = set; then
2556 enableval
="$enable_debug_info"
2558 if test "$enableval" = yes; then
2559 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2561 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2566 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2567 if test "x$LINE" != x
; then
2568 eval "DEFAULT_$LINE"
2573 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2578 eval "$ac_cv_use_debug_info"
2579 if test "$no_cache" != 1; then
2580 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2583 if test "$wxUSE_DEBUG_INFO" = yes; then
2584 echo "$ac_t""yes" 1>&6
2586 echo "$ac_t""no" 1>&6
2590 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2591 echo "configure:2592: checking for --enable-debug_gdb" >&5
2593 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2594 if test "${enable_debug_gdb+set}" = set; then
2595 enableval
="$enable_debug_gdb"
2597 if test "$enableval" = yes; then
2598 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2600 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2605 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2606 if test "x$LINE" != x
; then
2607 eval "DEFAULT_$LINE"
2612 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2617 eval "$ac_cv_use_debug_gdb"
2618 if test "$no_cache" != 1; then
2619 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2622 if test "$wxUSE_DEBUG_GDB" = yes; then
2623 echo "$ac_t""yes" 1>&6
2625 echo "$ac_t""no" 1>&6
2629 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2630 echo "configure:2631: checking for --enable-debug_cntxt" >&5
2632 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2633 if test "${enable_debug_cntxt+set}" = set; then
2634 enableval
="$enable_debug_cntxt"
2636 if test "$enableval" = yes; then
2637 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2639 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2644 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2645 if test "x$LINE" != x
; then
2646 eval "DEFAULT_$LINE"
2651 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2656 eval "$ac_cv_use_debug_cntxt"
2657 if test "$no_cache" != 1; then
2658 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2661 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2662 echo "$ac_t""yes" 1>&6
2664 echo "$ac_t""no" 1>&6
2668 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2669 echo "configure:2670: checking for --enable-mem_tracing" >&5
2671 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2672 if test "${enable_mem_tracing+set}" = set; then
2673 enableval
="$enable_mem_tracing"
2675 if test "$enableval" = yes; then
2676 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2678 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2683 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2684 if test "x$LINE" != x
; then
2685 eval "DEFAULT_$LINE"
2690 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2695 eval "$ac_cv_use_mem_tracing"
2696 if test "$no_cache" != 1; then
2697 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2700 if test "$wxUSE_MEM_TRACING" = yes; then
2701 echo "$ac_t""yes" 1>&6
2703 echo "$ac_t""no" 1>&6
2707 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2708 echo "configure:2709: checking for --enable-profile" >&5
2710 # Check whether --enable-profile or --disable-profile was given.
2711 if test "${enable_profile+set}" = set; then
2712 enableval
="$enable_profile"
2714 if test "$enableval" = yes; then
2715 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2717 ac_cv_use_profile
='wxUSE_PROFILE=no'
2722 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2723 if test "x$LINE" != x
; then
2724 eval "DEFAULT_$LINE"
2729 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2734 eval "$ac_cv_use_profile"
2735 if test "$no_cache" != 1; then
2736 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2739 if test "$wxUSE_PROFILE" = yes; then
2740 echo "$ac_t""yes" 1>&6
2742 echo "$ac_t""no" 1>&6
2746 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2747 echo "configure:2748: checking for --enable-no_rtti" >&5
2749 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2750 if test "${enable_no_rtti+set}" = set; then
2751 enableval
="$enable_no_rtti"
2753 if test "$enableval" = yes; then
2754 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2756 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2761 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2762 if test "x$LINE" != x
; then
2763 eval "DEFAULT_$LINE"
2768 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2773 eval "$ac_cv_use_no_rtti"
2774 if test "$no_cache" != 1; then
2775 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2778 if test "$wxUSE_NO_RTTI" = yes; then
2779 echo "$ac_t""yes" 1>&6
2781 echo "$ac_t""no" 1>&6
2785 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2786 echo "configure:2787: checking for --enable-no_exceptions" >&5
2788 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2789 if test "${enable_no_exceptions+set}" = set; then
2790 enableval
="$enable_no_exceptions"
2792 if test "$enableval" = yes; then
2793 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2795 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2800 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2801 if test "x$LINE" != x
; then
2802 eval "DEFAULT_$LINE"
2807 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2812 eval "$ac_cv_use_no_exceptions"
2813 if test "$no_cache" != 1; then
2814 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2817 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2818 echo "$ac_t""yes" 1>&6
2820 echo "$ac_t""no" 1>&6
2824 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2825 echo "configure:2826: checking for --enable-permissive" >&5
2827 # Check whether --enable-permissive or --disable-permissive was given.
2828 if test "${enable_permissive+set}" = set; then
2829 enableval
="$enable_permissive"
2831 if test "$enableval" = yes; then
2832 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2834 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2839 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2840 if test "x$LINE" != x
; then
2841 eval "DEFAULT_$LINE"
2846 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2851 eval "$ac_cv_use_permissive"
2852 if test "$no_cache" != 1; then
2853 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2856 if test "$wxUSE_PERMISSIVE" = yes; then
2857 echo "$ac_t""yes" 1>&6
2859 echo "$ac_t""no" 1>&6
2863 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2864 echo "configure:2865: checking for --enable-no_deps" >&5
2866 # Check whether --enable-no_deps or --disable-no_deps was given.
2867 if test "${enable_no_deps+set}" = set; then
2868 enableval
="$enable_no_deps"
2870 if test "$enableval" = yes; then
2871 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2873 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2878 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2879 if test "x$LINE" != x
; then
2880 eval "DEFAULT_$LINE"
2885 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2890 eval "$ac_cv_use_no_deps"
2891 if test "$no_cache" != 1; then
2892 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2895 if test "$wxUSE_NO_DEPS" = yes; then
2896 echo "$ac_t""yes" 1>&6
2898 echo "$ac_t""no" 1>&6
2903 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2904 echo "configure:2905: checking for --enable-compat20" >&5
2906 # Check whether --enable-compat20 or --disable-compat20 was given.
2907 if test "${enable_compat20+set}" = set; then
2908 enableval
="$enable_compat20"
2910 if test "$enableval" = yes; then
2911 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2913 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2918 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2919 if test "x$LINE" != x
; then
2920 eval "DEFAULT_$LINE"
2925 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2930 eval "$ac_cv_use_compat20"
2931 if test "$no_cache" != 1; then
2932 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2935 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2936 echo "$ac_t""yes" 1>&6
2938 echo "$ac_t""no" 1>&6
2942 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2943 echo "configure:2944: checking for --enable-compat22" >&5
2945 # Check whether --enable-compat22 or --disable-compat22 was given.
2946 if test "${enable_compat22+set}" = set; then
2947 enableval
="$enable_compat22"
2949 if test "$enableval" = yes; then
2950 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2952 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2957 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2958 if test "x$LINE" != x
; then
2959 eval "DEFAULT_$LINE"
2964 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2969 eval "$ac_cv_use_compat22"
2970 if test "$no_cache" != 1; then
2971 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2974 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2975 echo "$ac_t""yes" 1>&6
2977 echo "$ac_t""no" 1>&6
2983 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2984 echo "configure:2985: checking for --enable-intl" >&5
2986 # Check whether --enable-intl or --disable-intl was given.
2987 if test "${enable_intl+set}" = set; then
2988 enableval
="$enable_intl"
2990 if test "$enableval" = yes; then
2991 ac_cv_use_intl
='wxUSE_INTL=yes'
2993 ac_cv_use_intl
='wxUSE_INTL=no'
2998 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2999 if test "x$LINE" != x
; then
3000 eval "DEFAULT_$LINE"
3005 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3010 eval "$ac_cv_use_intl"
3011 if test "$no_cache" != 1; then
3012 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3015 if test "$wxUSE_INTL" = yes; then
3016 echo "$ac_t""yes" 1>&6
3018 echo "$ac_t""no" 1>&6
3022 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3023 echo "configure:3024: checking for --enable-config" >&5
3025 # Check whether --enable-config or --disable-config was given.
3026 if test "${enable_config+set}" = set; then
3027 enableval
="$enable_config"
3029 if test "$enableval" = yes; then
3030 ac_cv_use_config
='wxUSE_CONFIG=yes'
3032 ac_cv_use_config
='wxUSE_CONFIG=no'
3037 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3038 if test "x$LINE" != x
; then
3039 eval "DEFAULT_$LINE"
3044 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3049 eval "$ac_cv_use_config"
3050 if test "$no_cache" != 1; then
3051 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3054 if test "$wxUSE_CONFIG" = yes; then
3055 echo "$ac_t""yes" 1>&6
3057 echo "$ac_t""no" 1>&6
3062 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3063 echo "configure:3064: checking for --enable-protocols" >&5
3065 # Check whether --enable-protocols or --disable-protocols was given.
3066 if test "${enable_protocols+set}" = set; then
3067 enableval
="$enable_protocols"
3069 if test "$enableval" = yes; then
3070 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3072 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3077 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3078 if test "x$LINE" != x
; then
3079 eval "DEFAULT_$LINE"
3084 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3089 eval "$ac_cv_use_protocols"
3090 if test "$no_cache" != 1; then
3091 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3094 if test "$wxUSE_PROTOCOL" = yes; then
3095 echo "$ac_t""yes" 1>&6
3097 echo "$ac_t""no" 1>&6
3101 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3102 echo "configure:3103: checking for --enable-ftp" >&5
3104 # Check whether --enable-ftp or --disable-ftp was given.
3105 if test "${enable_ftp+set}" = set; then
3106 enableval
="$enable_ftp"
3108 if test "$enableval" = yes; then
3109 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3111 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3116 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3117 if test "x$LINE" != x
; then
3118 eval "DEFAULT_$LINE"
3123 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3128 eval "$ac_cv_use_ftp"
3129 if test "$no_cache" != 1; then
3130 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3133 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3134 echo "$ac_t""yes" 1>&6
3136 echo "$ac_t""no" 1>&6
3140 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3141 echo "configure:3142: checking for --enable-http" >&5
3143 # Check whether --enable-http or --disable-http was given.
3144 if test "${enable_http+set}" = set; then
3145 enableval
="$enable_http"
3147 if test "$enableval" = yes; then
3148 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3150 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3155 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3156 if test "x$LINE" != x
; then
3157 eval "DEFAULT_$LINE"
3162 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3167 eval "$ac_cv_use_http"
3168 if test "$no_cache" != 1; then
3169 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3172 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3173 echo "$ac_t""yes" 1>&6
3175 echo "$ac_t""no" 1>&6
3179 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3180 echo "configure:3181: checking for --enable-fileproto" >&5
3182 # Check whether --enable-fileproto or --disable-fileproto was given.
3183 if test "${enable_fileproto+set}" = set; then
3184 enableval
="$enable_fileproto"
3186 if test "$enableval" = yes; then
3187 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3189 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3194 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3195 if test "x$LINE" != x
; then
3196 eval "DEFAULT_$LINE"
3201 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3206 eval "$ac_cv_use_fileproto"
3207 if test "$no_cache" != 1; then
3208 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3211 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3212 echo "$ac_t""yes" 1>&6
3214 echo "$ac_t""no" 1>&6
3218 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3219 echo "configure:3220: checking for --enable-sockets" >&5
3221 # Check whether --enable-sockets or --disable-sockets was given.
3222 if test "${enable_sockets+set}" = set; then
3223 enableval
="$enable_sockets"
3225 if test "$enableval" = yes; then
3226 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3228 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3233 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3234 if test "x$LINE" != x
; then
3235 eval "DEFAULT_$LINE"
3240 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3245 eval "$ac_cv_use_sockets"
3246 if test "$no_cache" != 1; then
3247 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3250 if test "$wxUSE_SOCKETS" = yes; then
3251 echo "$ac_t""yes" 1>&6
3253 echo "$ac_t""no" 1>&6
3258 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3259 echo "configure:3260: checking for --enable-ipc" >&5
3261 # Check whether --enable-ipc or --disable-ipc was given.
3262 if test "${enable_ipc+set}" = set; then
3263 enableval
="$enable_ipc"
3265 if test "$enableval" = yes; then
3266 ac_cv_use_ipc
='wxUSE_IPC=yes'
3268 ac_cv_use_ipc
='wxUSE_IPC=no'
3273 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3274 if test "x$LINE" != x
; then
3275 eval "DEFAULT_$LINE"
3280 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3285 eval "$ac_cv_use_ipc"
3286 if test "$no_cache" != 1; then
3287 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3290 if test "$wxUSE_IPC" = yes; then
3291 echo "$ac_t""yes" 1>&6
3293 echo "$ac_t""no" 1>&6
3298 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3299 echo "configure:3300: checking for --enable-cmdline" >&5
3301 # Check whether --enable-cmdline or --disable-cmdline was given.
3302 if test "${enable_cmdline+set}" = set; then
3303 enableval
="$enable_cmdline"
3305 if test "$enableval" = yes; then
3306 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3308 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3313 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3314 if test "x$LINE" != x
; then
3315 eval "DEFAULT_$LINE"
3320 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3325 eval "$ac_cv_use_cmdline"
3326 if test "$no_cache" != 1; then
3327 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3330 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3331 echo "$ac_t""yes" 1>&6
3333 echo "$ac_t""no" 1>&6
3337 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3338 echo "configure:3339: checking for --enable-datetime" >&5
3340 # Check whether --enable-datetime or --disable-datetime was given.
3341 if test "${enable_datetime+set}" = set; then
3342 enableval
="$enable_datetime"
3344 if test "$enableval" = yes; then
3345 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3347 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3352 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3353 if test "x$LINE" != x
; then
3354 eval "DEFAULT_$LINE"
3359 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3364 eval "$ac_cv_use_datetime"
3365 if test "$no_cache" != 1; then
3366 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3369 if test "$wxUSE_DATETIME" = yes; then
3370 echo "$ac_t""yes" 1>&6
3372 echo "$ac_t""no" 1>&6
3376 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3377 echo "configure:3378: checking for --enable-timedate" >&5
3379 # Check whether --enable-timedate or --disable-timedate was given.
3380 if test "${enable_timedate+set}" = set; then
3381 enableval
="$enable_timedate"
3383 if test "$enableval" = yes; then
3384 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3386 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3391 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3392 if test "x$LINE" != x
; then
3393 eval "DEFAULT_$LINE"
3398 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3403 eval "$ac_cv_use_timedate"
3404 if test "$no_cache" != 1; then
3405 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3408 if test "$wxUSE_TIMEDATE" = yes; then
3409 echo "$ac_t""yes" 1>&6
3411 echo "$ac_t""no" 1>&6
3415 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3416 echo "configure:3417: checking for --enable-stopwatch" >&5
3418 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3419 if test "${enable_stopwatch+set}" = set; then
3420 enableval
="$enable_stopwatch"
3422 if test "$enableval" = yes; then
3423 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3425 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3430 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3431 if test "x$LINE" != x
; then
3432 eval "DEFAULT_$LINE"
3437 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3442 eval "$ac_cv_use_stopwatch"
3443 if test "$no_cache" != 1; then
3444 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3447 if test "$wxUSE_STOPWATCH" = yes; then
3448 echo "$ac_t""yes" 1>&6
3450 echo "$ac_t""no" 1>&6
3454 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3455 echo "configure:3456: checking for --enable-dialupman" >&5
3457 # Check whether --enable-dialupman or --disable-dialupman was given.
3458 if test "${enable_dialupman+set}" = set; then
3459 enableval
="$enable_dialupman"
3461 if test "$enableval" = yes; then
3462 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3464 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3469 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3470 if test "x$LINE" != x
; then
3471 eval "DEFAULT_$LINE"
3476 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3481 eval "$ac_cv_use_dialupman"
3482 if test "$no_cache" != 1; then
3483 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3486 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3487 echo "$ac_t""yes" 1>&6
3489 echo "$ac_t""no" 1>&6
3493 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3494 echo "configure:3495: checking for --enable-apple_ieee" >&5
3496 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3497 if test "${enable_apple_ieee+set}" = set; then
3498 enableval
="$enable_apple_ieee"
3500 if test "$enableval" = yes; then
3501 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3503 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3508 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3509 if test "x$LINE" != x
; then
3510 eval "DEFAULT_$LINE"
3515 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3520 eval "$ac_cv_use_apple_ieee"
3521 if test "$no_cache" != 1; then
3522 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3525 if test "$wxUSE_APPLE_IEEE" = yes; then
3526 echo "$ac_t""yes" 1>&6
3528 echo "$ac_t""no" 1>&6
3532 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3533 echo "configure:3534: checking for --enable-timer" >&5
3535 # Check whether --enable-timer or --disable-timer was given.
3536 if test "${enable_timer+set}" = set; then
3537 enableval
="$enable_timer"
3539 if test "$enableval" = yes; then
3540 ac_cv_use_timer
='wxUSE_TIMER=yes'
3542 ac_cv_use_timer
='wxUSE_TIMER=no'
3547 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3548 if test "x$LINE" != x
; then
3549 eval "DEFAULT_$LINE"
3554 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3559 eval "$ac_cv_use_timer"
3560 if test "$no_cache" != 1; then
3561 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3564 if test "$wxUSE_TIMER" = yes; then
3565 echo "$ac_t""yes" 1>&6
3567 echo "$ac_t""no" 1>&6
3571 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3572 echo "configure:3573: checking for --enable-wave" >&5
3574 # Check whether --enable-wave or --disable-wave was given.
3575 if test "${enable_wave+set}" = set; then
3576 enableval
="$enable_wave"
3578 if test "$enableval" = yes; then
3579 ac_cv_use_wave
='wxUSE_WAVE=yes'
3581 ac_cv_use_wave
='wxUSE_WAVE=no'
3586 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3587 if test "x$LINE" != x
; then
3588 eval "DEFAULT_$LINE"
3593 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3598 eval "$ac_cv_use_wave"
3599 if test "$no_cache" != 1; then
3600 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3603 if test "$wxUSE_WAVE" = yes; then
3604 echo "$ac_t""yes" 1>&6
3606 echo "$ac_t""no" 1>&6
3610 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3611 echo "configure:3612: checking for --enable-fraction" >&5
3613 # Check whether --enable-fraction or --disable-fraction was given.
3614 if test "${enable_fraction+set}" = set; then
3615 enableval
="$enable_fraction"
3617 if test "$enableval" = yes; then
3618 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3620 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3625 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3626 if test "x$LINE" != x
; then
3627 eval "DEFAULT_$LINE"
3632 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3637 eval "$ac_cv_use_fraction"
3638 if test "$no_cache" != 1; then
3639 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3642 if test "$wxUSE_FRACTION" = yes; then
3643 echo "$ac_t""yes" 1>&6
3645 echo "$ac_t""no" 1>&6
3649 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3650 echo "configure:3651: checking for --enable-dynlib" >&5
3652 # Check whether --enable-dynlib or --disable-dynlib was given.
3653 if test "${enable_dynlib+set}" = set; then
3654 enableval
="$enable_dynlib"
3656 if test "$enableval" = yes; then
3657 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3659 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3664 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3665 if test "x$LINE" != x
; then
3666 eval "DEFAULT_$LINE"
3671 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3676 eval "$ac_cv_use_dynlib"
3677 if test "$no_cache" != 1; then
3678 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3681 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3682 echo "$ac_t""yes" 1>&6
3684 echo "$ac_t""no" 1>&6
3688 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3689 echo "configure:3690: checking for --enable-dynamicloader" >&5
3691 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3692 if test "${enable_dynamicloader+set}" = set; then
3693 enableval
="$enable_dynamicloader"
3695 if test "$enableval" = yes; then
3696 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3698 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3703 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3704 if test "x$LINE" != x
; then
3705 eval "DEFAULT_$LINE"
3710 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3715 eval "$ac_cv_use_dynamicloader"
3716 if test "$no_cache" != 1; then
3717 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3720 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3721 echo "$ac_t""yes" 1>&6
3723 echo "$ac_t""no" 1>&6
3727 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3728 echo "configure:3729: checking for --enable-longlong" >&5
3730 # Check whether --enable-longlong or --disable-longlong was given.
3731 if test "${enable_longlong+set}" = set; then
3732 enableval
="$enable_longlong"
3734 if test "$enableval" = yes; then
3735 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3737 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3742 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3743 if test "x$LINE" != x
; then
3744 eval "DEFAULT_$LINE"
3749 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3754 eval "$ac_cv_use_longlong"
3755 if test "$no_cache" != 1; then
3756 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3759 if test "$wxUSE_LONGLONG" = yes; then
3760 echo "$ac_t""yes" 1>&6
3762 echo "$ac_t""no" 1>&6
3766 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3767 echo "configure:3768: checking for --enable-geometry" >&5
3769 # Check whether --enable-geometry or --disable-geometry was given.
3770 if test "${enable_geometry+set}" = set; then
3771 enableval
="$enable_geometry"
3773 if test "$enableval" = yes; then
3774 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3776 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3781 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3782 if test "x$LINE" != x
; then
3783 eval "DEFAULT_$LINE"
3788 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3793 eval "$ac_cv_use_geometry"
3794 if test "$no_cache" != 1; then
3795 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3798 if test "$wxUSE_GEOMETRY" = yes; then
3799 echo "$ac_t""yes" 1>&6
3801 echo "$ac_t""no" 1>&6
3805 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3806 echo "configure:3807: checking for --enable-log" >&5
3808 # Check whether --enable-log or --disable-log was given.
3809 if test "${enable_log+set}" = set; then
3810 enableval
="$enable_log"
3812 if test "$enableval" = yes; then
3813 ac_cv_use_log
='wxUSE_LOG=yes'
3815 ac_cv_use_log
='wxUSE_LOG=no'
3820 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3821 if test "x$LINE" != x
; then
3822 eval "DEFAULT_$LINE"
3827 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3832 eval "$ac_cv_use_log"
3833 if test "$no_cache" != 1; then
3834 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3837 if test "$wxUSE_LOG" = yes; then
3838 echo "$ac_t""yes" 1>&6
3840 echo "$ac_t""no" 1>&6
3844 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3845 echo "configure:3846: checking for --enable-streams" >&5
3847 # Check whether --enable-streams or --disable-streams was given.
3848 if test "${enable_streams+set}" = set; then
3849 enableval
="$enable_streams"
3851 if test "$enableval" = yes; then
3852 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3854 ac_cv_use_streams
='wxUSE_STREAMS=no'
3859 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3860 if test "x$LINE" != x
; then
3861 eval "DEFAULT_$LINE"
3866 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3871 eval "$ac_cv_use_streams"
3872 if test "$no_cache" != 1; then
3873 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3876 if test "$wxUSE_STREAMS" = yes; then
3877 echo "$ac_t""yes" 1>&6
3879 echo "$ac_t""no" 1>&6
3883 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3884 echo "configure:3885: checking for --enable-file" >&5
3886 # Check whether --enable-file or --disable-file was given.
3887 if test "${enable_file+set}" = set; then
3888 enableval
="$enable_file"
3890 if test "$enableval" = yes; then
3891 ac_cv_use_file
='wxUSE_FILE=yes'
3893 ac_cv_use_file
='wxUSE_FILE=no'
3898 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3899 if test "x$LINE" != x
; then
3900 eval "DEFAULT_$LINE"
3905 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3910 eval "$ac_cv_use_file"
3911 if test "$no_cache" != 1; then
3912 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3915 if test "$wxUSE_FILE" = yes; then
3916 echo "$ac_t""yes" 1>&6
3918 echo "$ac_t""no" 1>&6
3922 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3923 echo "configure:3924: checking for --enable-ffile" >&5
3925 # Check whether --enable-ffile or --disable-ffile was given.
3926 if test "${enable_ffile+set}" = set; then
3927 enableval
="$enable_ffile"
3929 if test "$enableval" = yes; then
3930 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3932 ac_cv_use_ffile
='wxUSE_FFILE=no'
3937 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3938 if test "x$LINE" != x
; then
3939 eval "DEFAULT_$LINE"
3944 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3949 eval "$ac_cv_use_ffile"
3950 if test "$no_cache" != 1; then
3951 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3954 if test "$wxUSE_FFILE" = yes; then
3955 echo "$ac_t""yes" 1>&6
3957 echo "$ac_t""no" 1>&6
3961 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
3962 echo "configure:3963: checking for --enable-textbuf" >&5
3964 # Check whether --enable-textbuf or --disable-textbuf was given.
3965 if test "${enable_textbuf+set}" = set; then
3966 enableval
="$enable_textbuf"
3968 if test "$enableval" = yes; then
3969 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
3971 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
3976 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
3977 if test "x$LINE" != x
; then
3978 eval "DEFAULT_$LINE"
3983 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
3988 eval "$ac_cv_use_textbuf"
3989 if test "$no_cache" != 1; then
3990 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
3993 if test "$wxUSE_TEXTBUFFER" = yes; then
3994 echo "$ac_t""yes" 1>&6
3996 echo "$ac_t""no" 1>&6
4000 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4001 echo "configure:4002: checking for --enable-textfile" >&5
4003 # Check whether --enable-textfile or --disable-textfile was given.
4004 if test "${enable_textfile+set}" = set; then
4005 enableval
="$enable_textfile"
4007 if test "$enableval" = yes; then
4008 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4010 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4015 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4016 if test "x$LINE" != x
; then
4017 eval "DEFAULT_$LINE"
4022 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4027 eval "$ac_cv_use_textfile"
4028 if test "$no_cache" != 1; then
4029 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4032 if test "$wxUSE_TEXTFILE" = yes; then
4033 echo "$ac_t""yes" 1>&6
4035 echo "$ac_t""no" 1>&6
4039 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4040 echo "configure:4041: checking for --enable-fontmap" >&5
4042 # Check whether --enable-fontmap or --disable-fontmap was given.
4043 if test "${enable_fontmap+set}" = set; then
4044 enableval
="$enable_fontmap"
4046 if test "$enableval" = yes; then
4047 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4049 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4054 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4055 if test "x$LINE" != x
; then
4056 eval "DEFAULT_$LINE"
4061 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4066 eval "$ac_cv_use_fontmap"
4067 if test "$no_cache" != 1; then
4068 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4071 if test "$wxUSE_FONTMAP" = yes; then
4072 echo "$ac_t""yes" 1>&6
4074 echo "$ac_t""no" 1>&6
4078 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4079 echo "configure:4080: checking for --enable-unicode" >&5
4081 # Check whether --enable-unicode or --disable-unicode was given.
4082 if test "${enable_unicode+set}" = set; then
4083 enableval
="$enable_unicode"
4085 if test "$enableval" = yes; then
4086 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4088 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4093 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4094 if test "x$LINE" != x
; then
4095 eval "DEFAULT_$LINE"
4100 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4105 eval "$ac_cv_use_unicode"
4106 if test "$no_cache" != 1; then
4107 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4110 if test "$wxUSE_UNICODE" = yes; then
4111 echo "$ac_t""yes" 1>&6
4113 echo "$ac_t""no" 1>&6
4117 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4118 echo "configure:4119: checking for --enable-mslu" >&5
4120 # Check whether --enable-mslu or --disable-mslu was given.
4121 if test "${enable_mslu+set}" = set; then
4122 enableval
="$enable_mslu"
4124 if test "$enableval" = yes; then
4125 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4127 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4132 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4133 if test "x$LINE" != x
; then
4134 eval "DEFAULT_$LINE"
4139 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4144 eval "$ac_cv_use_mslu"
4145 if test "$no_cache" != 1; then
4146 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4149 if test "$wxUSE_UNICODE_MSLU" = yes; then
4150 echo "$ac_t""yes" 1>&6
4152 echo "$ac_t""no" 1>&6
4156 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4157 echo "configure:4158: checking for --enable-wxprintfv" >&5
4159 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4160 if test "${enable_wxprintfv+set}" = set; then
4161 enableval
="$enable_wxprintfv"
4163 if test "$enableval" = yes; then
4164 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4166 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4171 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4172 if test "x$LINE" != x
; then
4173 eval "DEFAULT_$LINE"
4178 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4183 eval "$ac_cv_use_wxprintfv"
4184 if test "$no_cache" != 1; then
4185 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4188 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4189 echo "$ac_t""yes" 1>&6
4191 echo "$ac_t""no" 1>&6
4195 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4196 echo "configure:4197: checking for --enable-std_iostreams" >&5
4198 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4199 if test "${enable_std_iostreams+set}" = set; then
4200 enableval
="$enable_std_iostreams"
4202 if test "$enableval" = yes; then
4203 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4205 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4210 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4211 if test "x$LINE" != x
; then
4212 eval "DEFAULT_$LINE"
4217 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4222 eval "$ac_cv_use_std_iostreams"
4223 if test "$no_cache" != 1; then
4224 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4227 if test "$wxUSE_STD_IOSTREAM" = yes; then
4228 echo "$ac_t""yes" 1>&6
4230 echo "$ac_t""no" 1>&6
4234 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4235 echo "configure:4236: checking for --enable-filesystem" >&5
4237 # Check whether --enable-filesystem or --disable-filesystem was given.
4238 if test "${enable_filesystem+set}" = set; then
4239 enableval
="$enable_filesystem"
4241 if test "$enableval" = yes; then
4242 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4244 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4249 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4250 if test "x$LINE" != x
; then
4251 eval "DEFAULT_$LINE"
4256 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4261 eval "$ac_cv_use_filesystem"
4262 if test "$no_cache" != 1; then
4263 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4266 if test "$wxUSE_FILESYSTEM" = yes; then
4267 echo "$ac_t""yes" 1>&6
4269 echo "$ac_t""no" 1>&6
4273 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4274 echo "configure:4275: checking for --enable-fs_inet" >&5
4276 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4277 if test "${enable_fs_inet+set}" = set; then
4278 enableval
="$enable_fs_inet"
4280 if test "$enableval" = yes; then
4281 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4283 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4288 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4289 if test "x$LINE" != x
; then
4290 eval "DEFAULT_$LINE"
4295 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4300 eval "$ac_cv_use_fs_inet"
4301 if test "$no_cache" != 1; then
4302 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4305 if test "$wxUSE_FS_INET" = yes; then
4306 echo "$ac_t""yes" 1>&6
4308 echo "$ac_t""no" 1>&6
4312 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4313 echo "configure:4314: checking for --enable-fs_zip" >&5
4315 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4316 if test "${enable_fs_zip+set}" = set; then
4317 enableval
="$enable_fs_zip"
4319 if test "$enableval" = yes; then
4320 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4322 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4327 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4328 if test "x$LINE" != x
; then
4329 eval "DEFAULT_$LINE"
4334 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4339 eval "$ac_cv_use_fs_zip"
4340 if test "$no_cache" != 1; then
4341 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4344 if test "$wxUSE_FS_ZIP" = yes; then
4345 echo "$ac_t""yes" 1>&6
4347 echo "$ac_t""no" 1>&6
4351 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4352 echo "configure:4353: checking for --enable-zipstream" >&5
4354 # Check whether --enable-zipstream or --disable-zipstream was given.
4355 if test "${enable_zipstream+set}" = set; then
4356 enableval
="$enable_zipstream"
4358 if test "$enableval" = yes; then
4359 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4361 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4366 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4367 if test "x$LINE" != x
; then
4368 eval "DEFAULT_$LINE"
4373 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4378 eval "$ac_cv_use_zipstream"
4379 if test "$no_cache" != 1; then
4380 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4383 if test "$wxUSE_ZIPSTREAM" = yes; then
4384 echo "$ac_t""yes" 1>&6
4386 echo "$ac_t""no" 1>&6
4391 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4392 echo "configure:4393: checking for --enable-catch_segvs" >&5
4394 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4395 if test "${enable_catch_segvs+set}" = set; then
4396 enableval
="$enable_catch_segvs"
4398 if test "$enableval" = yes; then
4399 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4401 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4406 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4407 if test "x$LINE" != x
; then
4408 eval "DEFAULT_$LINE"
4413 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4418 eval "$ac_cv_use_catch_segvs"
4419 if test "$no_cache" != 1; then
4420 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4423 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4424 echo "$ac_t""yes" 1>&6
4426 echo "$ac_t""no" 1>&6
4430 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4431 echo "configure:4432: checking for --enable-snglinst" >&5
4433 # Check whether --enable-snglinst or --disable-snglinst was given.
4434 if test "${enable_snglinst+set}" = set; then
4435 enableval
="$enable_snglinst"
4437 if test "$enableval" = yes; then
4438 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4440 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4445 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4446 if test "x$LINE" != x
; then
4447 eval "DEFAULT_$LINE"
4452 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4457 eval "$ac_cv_use_snglinst"
4458 if test "$no_cache" != 1; then
4459 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4462 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4463 echo "$ac_t""yes" 1>&6
4465 echo "$ac_t""no" 1>&6
4470 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4471 echo "configure:4472: checking for --enable-mimetype" >&5
4473 # Check whether --enable-mimetype or --disable-mimetype was given.
4474 if test "${enable_mimetype+set}" = set; then
4475 enableval
="$enable_mimetype"
4477 if test "$enableval" = yes; then
4478 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4480 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4485 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4486 if test "x$LINE" != x
; then
4487 eval "DEFAULT_$LINE"
4492 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4497 eval "$ac_cv_use_mimetype"
4498 if test "$no_cache" != 1; then
4499 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4502 if test "$wxUSE_MIMETYPE" = yes; then
4503 echo "$ac_t""yes" 1>&6
4505 echo "$ac_t""no" 1>&6
4509 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4510 echo "configure:4511: checking for --enable-system_options" >&5
4512 # Check whether --enable-system_options or --disable-system_options was given.
4513 if test "${enable_system_options+set}" = set; then
4514 enableval
="$enable_system_options"
4516 if test "$enableval" = yes; then
4517 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4519 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4524 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4525 if test "x$LINE" != x
; then
4526 eval "DEFAULT_$LINE"
4531 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4536 eval "$ac_cv_use_system_options"
4537 if test "$no_cache" != 1; then
4538 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4541 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4542 echo "$ac_t""yes" 1>&6
4544 echo "$ac_t""no" 1>&6
4549 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4550 echo "configure:4551: checking for --enable-url" >&5
4552 # Check whether --enable-url or --disable-url was given.
4553 if test "${enable_url+set}" = set; then
4554 enableval
="$enable_url"
4556 if test "$enableval" = yes; then
4557 ac_cv_use_url
='wxUSE_URL=yes'
4559 ac_cv_use_url
='wxUSE_URL=no'
4564 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4565 if test "x$LINE" != x
; then
4566 eval "DEFAULT_$LINE"
4571 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4576 eval "$ac_cv_use_url"
4577 if test "$no_cache" != 1; then
4578 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4581 if test "$wxUSE_URL" = yes; then
4582 echo "$ac_t""yes" 1>&6
4584 echo "$ac_t""no" 1>&6
4588 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4589 echo "configure:4590: checking for --enable-protocol" >&5
4591 # Check whether --enable-protocol or --disable-protocol was given.
4592 if test "${enable_protocol+set}" = set; then
4593 enableval
="$enable_protocol"
4595 if test "$enableval" = yes; then
4596 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4598 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4603 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4604 if test "x$LINE" != x
; then
4605 eval "DEFAULT_$LINE"
4610 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4615 eval "$ac_cv_use_protocol"
4616 if test "$no_cache" != 1; then
4617 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4620 if test "$wxUSE_PROTOCOL" = yes; then
4621 echo "$ac_t""yes" 1>&6
4623 echo "$ac_t""no" 1>&6
4627 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4628 echo "configure:4629: checking for --enable-protocol_http" >&5
4630 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4631 if test "${enable_protocol_http+set}" = set; then
4632 enableval
="$enable_protocol_http"
4634 if test "$enableval" = yes; then
4635 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4637 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4642 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4643 if test "x$LINE" != x
; then
4644 eval "DEFAULT_$LINE"
4649 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4654 eval "$ac_cv_use_protocol_http"
4655 if test "$no_cache" != 1; then
4656 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4659 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4660 echo "$ac_t""yes" 1>&6
4662 echo "$ac_t""no" 1>&6
4666 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4667 echo "configure:4668: checking for --enable-protocol_ftp" >&5
4669 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4670 if test "${enable_protocol_ftp+set}" = set; then
4671 enableval
="$enable_protocol_ftp"
4673 if test "$enableval" = yes; then
4674 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4676 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4681 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4682 if test "x$LINE" != x
; then
4683 eval "DEFAULT_$LINE"
4688 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4693 eval "$ac_cv_use_protocol_ftp"
4694 if test "$no_cache" != 1; then
4695 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4698 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4699 echo "$ac_t""yes" 1>&6
4701 echo "$ac_t""no" 1>&6
4705 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4706 echo "configure:4707: checking for --enable-protocol_file" >&5
4708 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4709 if test "${enable_protocol_file+set}" = set; then
4710 enableval
="$enable_protocol_file"
4712 if test "$enableval" = yes; then
4713 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4715 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4720 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4721 if test "x$LINE" != x
; then
4722 eval "DEFAULT_$LINE"
4727 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4732 eval "$ac_cv_use_protocol_file"
4733 if test "$no_cache" != 1; then
4734 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4737 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4738 echo "$ac_t""yes" 1>&6
4740 echo "$ac_t""no" 1>&6
4747 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4748 echo "configure:4749: checking for --enable-threads" >&5
4750 # Check whether --enable-threads or --disable-threads was given.
4751 if test "${enable_threads+set}" = set; then
4752 enableval
="$enable_threads"
4754 if test "$enableval" = yes; then
4755 ac_cv_use_threads
='wxUSE_THREADS=yes'
4757 ac_cv_use_threads
='wxUSE_THREADS=no'
4762 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4763 if test "x$LINE" != x
; then
4764 eval "DEFAULT_$LINE"
4769 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4774 eval "$ac_cv_use_threads"
4775 if test "$no_cache" != 1; then
4776 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4779 if test "$wxUSE_THREADS" = yes; then
4780 echo "$ac_t""yes" 1>&6
4782 echo "$ac_t""no" 1>&6
4786 if test "$wxUSE_GUI" = "yes"; then
4790 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4791 echo "configure:4792: checking for --enable-docview" >&5
4793 # Check whether --enable-docview or --disable-docview was given.
4794 if test "${enable_docview+set}" = set; then
4795 enableval
="$enable_docview"
4797 if test "$enableval" = yes; then
4798 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4800 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4805 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4806 if test "x$LINE" != x
; then
4807 eval "DEFAULT_$LINE"
4812 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4817 eval "$ac_cv_use_docview"
4818 if test "$no_cache" != 1; then
4819 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4822 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4823 echo "$ac_t""yes" 1>&6
4825 echo "$ac_t""no" 1>&6
4829 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4830 echo "configure:4831: checking for --enable-help" >&5
4832 # Check whether --enable-help or --disable-help was given.
4833 if test "${enable_help+set}" = set; then
4834 enableval
="$enable_help"
4836 if test "$enableval" = yes; then
4837 ac_cv_use_help
='wxUSE_HELP=yes'
4839 ac_cv_use_help
='wxUSE_HELP=no'
4844 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4845 if test "x$LINE" != x
; then
4846 eval "DEFAULT_$LINE"
4851 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4856 eval "$ac_cv_use_help"
4857 if test "$no_cache" != 1; then
4858 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4861 if test "$wxUSE_HELP" = yes; then
4862 echo "$ac_t""yes" 1>&6
4864 echo "$ac_t""no" 1>&6
4868 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4869 echo "configure:4870: checking for --enable-mshtmlhelp" >&5
4871 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4872 if test "${enable_mshtmlhelp+set}" = set; then
4873 enableval
="$enable_mshtmlhelp"
4875 if test "$enableval" = yes; then
4876 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4878 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4883 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4884 if test "x$LINE" != x
; then
4885 eval "DEFAULT_$LINE"
4890 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4895 eval "$ac_cv_use_mshtmlhelp"
4896 if test "$no_cache" != 1; then
4897 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4900 if test "$wxUSE_MS_HTML_HELP" = yes; then
4901 echo "$ac_t""yes" 1>&6
4903 echo "$ac_t""no" 1>&6
4907 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4908 echo "configure:4909: checking for --enable-html" >&5
4910 # Check whether --enable-html or --disable-html was given.
4911 if test "${enable_html+set}" = set; then
4912 enableval
="$enable_html"
4914 if test "$enableval" = yes; then
4915 ac_cv_use_html
='wxUSE_HTML=yes'
4917 ac_cv_use_html
='wxUSE_HTML=no'
4922 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4923 if test "x$LINE" != x
; then
4924 eval "DEFAULT_$LINE"
4929 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4934 eval "$ac_cv_use_html"
4935 if test "$no_cache" != 1; then
4936 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4939 if test "$wxUSE_HTML" = yes; then
4940 echo "$ac_t""yes" 1>&6
4942 echo "$ac_t""no" 1>&6
4946 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4947 echo "configure:4948: checking for --enable-htmlhelp" >&5
4949 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4950 if test "${enable_htmlhelp+set}" = set; then
4951 enableval
="$enable_htmlhelp"
4953 if test "$enableval" = yes; then
4954 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4956 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4961 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4962 if test "x$LINE" != x
; then
4963 eval "DEFAULT_$LINE"
4968 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4973 eval "$ac_cv_use_htmlhelp"
4974 if test "$no_cache" != 1; then
4975 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4978 if test "$wxUSE_WXHTML_HELP" = yes; then
4979 echo "$ac_t""yes" 1>&6
4981 echo "$ac_t""no" 1>&6
4985 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4986 echo "configure:4987: checking for --enable-constraints" >&5
4988 # Check whether --enable-constraints or --disable-constraints was given.
4989 if test "${enable_constraints+set}" = set; then
4990 enableval
="$enable_constraints"
4992 if test "$enableval" = yes; then
4993 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4995 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5000 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5001 if test "x$LINE" != x
; then
5002 eval "DEFAULT_$LINE"
5007 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5012 eval "$ac_cv_use_constraints"
5013 if test "$no_cache" != 1; then
5014 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5017 if test "$wxUSE_CONSTRAINTS" = yes; then
5018 echo "$ac_t""yes" 1>&6
5020 echo "$ac_t""no" 1>&6
5024 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5025 echo "configure:5026: checking for --enable-printarch" >&5
5027 # Check whether --enable-printarch or --disable-printarch was given.
5028 if test "${enable_printarch+set}" = set; then
5029 enableval
="$enable_printarch"
5031 if test "$enableval" = yes; then
5032 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5034 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5039 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5040 if test "x$LINE" != x
; then
5041 eval "DEFAULT_$LINE"
5046 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5051 eval "$ac_cv_use_printarch"
5052 if test "$no_cache" != 1; then
5053 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5056 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5057 echo "$ac_t""yes" 1>&6
5059 echo "$ac_t""no" 1>&6
5063 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5064 echo "configure:5065: checking for --enable-mdi" >&5
5066 # Check whether --enable-mdi or --disable-mdi was given.
5067 if test "${enable_mdi+set}" = set; then
5068 enableval
="$enable_mdi"
5070 if test "$enableval" = yes; then
5071 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5073 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5078 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5079 if test "x$LINE" != x
; then
5080 eval "DEFAULT_$LINE"
5085 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5090 eval "$ac_cv_use_mdi"
5091 if test "$no_cache" != 1; then
5092 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5095 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5096 echo "$ac_t""yes" 1>&6
5098 echo "$ac_t""no" 1>&6
5102 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5103 echo "configure:5104: checking for --enable-loggui" >&5
5105 # Check whether --enable-loggui or --disable-loggui was given.
5106 if test "${enable_loggui+set}" = set; then
5107 enableval
="$enable_loggui"
5109 if test "$enableval" = yes; then
5110 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5112 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5117 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5118 if test "x$LINE" != x
; then
5119 eval "DEFAULT_$LINE"
5124 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5129 eval "$ac_cv_use_loggui"
5130 if test "$no_cache" != 1; then
5131 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5134 if test "$wxUSE_LOGGUI" = yes; then
5135 echo "$ac_t""yes" 1>&6
5137 echo "$ac_t""no" 1>&6
5141 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5142 echo "configure:5143: checking for --enable-logwin" >&5
5144 # Check whether --enable-logwin or --disable-logwin was given.
5145 if test "${enable_logwin+set}" = set; then
5146 enableval
="$enable_logwin"
5148 if test "$enableval" = yes; then
5149 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5151 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5156 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5157 if test "x$LINE" != x
; then
5158 eval "DEFAULT_$LINE"
5163 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5168 eval "$ac_cv_use_logwin"
5169 if test "$no_cache" != 1; then
5170 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5173 if test "$wxUSE_LOGWINDOW" = yes; then
5174 echo "$ac_t""yes" 1>&6
5176 echo "$ac_t""no" 1>&6
5180 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5181 echo "configure:5182: checking for --enable-logdialog" >&5
5183 # Check whether --enable-logdialog or --disable-logdialog was given.
5184 if test "${enable_logdialog+set}" = set; then
5185 enableval
="$enable_logdialog"
5187 if test "$enableval" = yes; then
5188 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5190 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5195 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5196 if test "x$LINE" != x
; then
5197 eval "DEFAULT_$LINE"
5202 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5207 eval "$ac_cv_use_logdialog"
5208 if test "$no_cache" != 1; then
5209 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5212 if test "$wxUSE_LOGDIALOG" = yes; then
5213 echo "$ac_t""yes" 1>&6
5215 echo "$ac_t""no" 1>&6
5220 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5221 echo "configure:5222: checking for --enable-postscript" >&5
5223 # Check whether --enable-postscript or --disable-postscript was given.
5224 if test "${enable_postscript+set}" = set; then
5225 enableval
="$enable_postscript"
5227 if test "$enableval" = yes; then
5228 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5230 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5235 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5236 if test "x$LINE" != x
; then
5237 eval "DEFAULT_$LINE"
5242 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5247 eval "$ac_cv_use_postscript"
5248 if test "$no_cache" != 1; then
5249 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5252 if test "$wxUSE_POSTSCRIPT" = yes; then
5253 echo "$ac_t""yes" 1>&6
5255 echo "$ac_t""no" 1>&6
5262 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5263 echo "configure:5264: checking for --enable-prologio" >&5
5265 # Check whether --enable-prologio or --disable-prologio was given.
5266 if test "${enable_prologio+set}" = set; then
5267 enableval
="$enable_prologio"
5269 if test "$enableval" = yes; then
5270 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5272 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5277 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5278 if test "x$LINE" != x
; then
5279 eval "DEFAULT_$LINE"
5284 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5289 eval "$ac_cv_use_prologio"
5290 if test "$no_cache" != 1; then
5291 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5294 if test "$wxUSE_PROLOGIO" = yes; then
5295 echo "$ac_t""yes" 1>&6
5297 echo "$ac_t""no" 1>&6
5301 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5302 echo "configure:5303: checking for --enable-resources" >&5
5304 # Check whether --enable-resources or --disable-resources was given.
5305 if test "${enable_resources+set}" = set; then
5306 enableval
="$enable_resources"
5308 if test "$enableval" = yes; then
5309 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5311 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5316 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5317 if test "x$LINE" != x
; then
5318 eval "DEFAULT_$LINE"
5323 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5328 eval "$ac_cv_use_resources"
5329 if test "$no_cache" != 1; then
5330 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5333 if test "$wxUSE_RESOURCES" = yes; then
5334 echo "$ac_t""yes" 1>&6
5336 echo "$ac_t""no" 1>&6
5341 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5342 echo "configure:5343: checking for --enable-xresources" >&5
5344 # Check whether --enable-xresources or --disable-xresources was given.
5345 if test "${enable_xresources+set}" = set; then
5346 enableval
="$enable_xresources"
5348 if test "$enableval" = yes; then
5349 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5351 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5356 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5357 if test "x$LINE" != x
; then
5358 eval "DEFAULT_$LINE"
5363 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5368 eval "$ac_cv_use_xresources"
5369 if test "$no_cache" != 1; then
5370 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5373 if test "$wxUSE_X_RESOURCES" = yes; then
5374 echo "$ac_t""yes" 1>&6
5376 echo "$ac_t""no" 1>&6
5382 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5383 echo "configure:5384: checking for --enable-clipboard" >&5
5385 # Check whether --enable-clipboard or --disable-clipboard was given.
5386 if test "${enable_clipboard+set}" = set; then
5387 enableval
="$enable_clipboard"
5389 if test "$enableval" = yes; then
5390 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5392 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5397 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5398 if test "x$LINE" != x
; then
5399 eval "DEFAULT_$LINE"
5404 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5409 eval "$ac_cv_use_clipboard"
5410 if test "$no_cache" != 1; then
5411 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5414 if test "$wxUSE_CLIPBOARD" = yes; then
5415 echo "$ac_t""yes" 1>&6
5417 echo "$ac_t""no" 1>&6
5421 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5422 echo "configure:5423: checking for --enable-dnd" >&5
5424 # Check whether --enable-dnd or --disable-dnd was given.
5425 if test "${enable_dnd+set}" = set; then
5426 enableval
="$enable_dnd"
5428 if test "$enableval" = yes; then
5429 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5431 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5436 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5437 if test "x$LINE" != x
; then
5438 eval "DEFAULT_$LINE"
5443 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5448 eval "$ac_cv_use_dnd"
5449 if test "$no_cache" != 1; then
5450 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5453 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5454 echo "$ac_t""yes" 1>&6
5456 echo "$ac_t""no" 1>&6
5460 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5461 echo "configure:5462: checking for --enable-metafile" >&5
5463 # Check whether --enable-metafile or --disable-metafile was given.
5464 if test "${enable_metafile+set}" = set; then
5465 enableval
="$enable_metafile"
5467 if test "$enableval" = yes; then
5468 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5470 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5475 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5476 if test "x$LINE" != x
; then
5477 eval "DEFAULT_$LINE"
5482 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5487 eval "$ac_cv_use_metafile"
5488 if test "$no_cache" != 1; then
5489 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5492 if test "$wxUSE_METAFILE" = yes; then
5493 echo "$ac_t""yes" 1>&6
5495 echo "$ac_t""no" 1>&6
5500 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5501 echo "configure:5502: checking for --enable-treelayout" >&5
5503 # Check whether --enable-treelayout or --disable-treelayout was given.
5504 if test "${enable_treelayout+set}" = set; then
5505 enableval
="$enable_treelayout"
5507 if test "$enableval" = yes; then
5508 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5510 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5515 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5516 if test "x$LINE" != x
; then
5517 eval "DEFAULT_$LINE"
5522 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5527 eval "$ac_cv_use_treelayout"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5532 if test "$wxUSE_TREELAYOUT" = yes; then
5533 echo "$ac_t""yes" 1>&6
5535 echo "$ac_t""no" 1>&6
5541 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5542 echo "configure:5543: checking for --enable-controls" >&5
5544 # Check whether --enable-controls or --disable-controls was given.
5545 if test "${enable_controls+set}" = set; then
5546 enableval
="$enable_controls"
5548 if test "$enableval" = yes; then
5549 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5551 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5556 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5557 if test "x$LINE" != x
; then
5558 eval "DEFAULT_$LINE"
5563 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5568 eval "$ac_cv_use_controls"
5569 if test "$no_cache" != 1; then
5570 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5573 if test "$wxUSE_CONTROLS" = yes; then
5574 echo "$ac_t""yes" 1>&6
5576 echo "$ac_t""no" 1>&6
5580 if test "$wxUSE_CONTROLS" = "yes"; then
5581 DEFAULT_wxUSE_ACCEL
=yes
5582 DEFAULT_wxUSE_BMPBUTTON
=yes
5583 DEFAULT_wxUSE_BUTTON
=yes
5584 DEFAULT_wxUSE_CALCTRL
=no
5585 DEFAULT_wxUSE_CARET
=yes
5586 DEFAULT_wxUSE_COMBOBOX
=yes
5587 DEFAULT_wxUSE_CHECKBOX
=yes
5588 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5589 DEFAULT_wxUSE_CHOICE
=yes
5590 DEFAULT_wxUSE_GAUGE
=yes
5591 DEFAULT_wxUSE_GRID
=yes
5592 DEFAULT_wxUSE_NEW_GRID
=yes
5593 DEFAULT_wxUSE_IMAGLIST
=yes
5594 DEFAULT_wxUSE_LISTBOX
=yes
5595 DEFAULT_wxUSE_LISTCTRL
=yes
5596 DEFAULT_wxUSE_NOTEBOOK
=yes
5597 DEFAULT_wxUSE_PROPSHEET
=yes
5598 DEFAULT_wxUSE_RADIOBOX
=yes
5599 DEFAULT_wxUSE_RADIOBTN
=yes
5600 DEFAULT_wxUSE_SASH
=yes
5601 DEFAULT_wxUSE_SCROLLBAR
=yes
5602 DEFAULT_wxUSE_SLIDER
=yes
5603 DEFAULT_wxUSE_SPINBTN
=yes
5604 DEFAULT_wxUSE_SPINCTRL
=yes
5605 DEFAULT_wxUSE_SPLITTER
=yes
5606 DEFAULT_wxUSE_STATBMP
=yes
5607 DEFAULT_wxUSE_STATBOX
=yes
5608 DEFAULT_wxUSE_STATLINE
=yes
5609 DEFAULT_wxUSE_STATUSBAR
=yes
5610 DEFAULT_wxUSE_TAB_DIALOG
=yes
5611 DEFAULT_wxUSE_TOGGLEBTN
=yes
5612 DEFAULT_wxUSE_TOOLBAR
=yes
5613 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5614 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5615 DEFAULT_wxUSE_TOOLTIPS
=yes
5616 DEFAULT_wxUSE_TREECTRL
=yes
5617 DEFAULT_wxUSE_POPUPWIN
=yes
5618 DEFAULT_wxUSE_TIPWINDOW
=yes
5619 elif test "$wxUSE_CONTROLS" = "no"; then
5620 DEFAULT_wxUSE_ACCEL
=no
5621 DEFAULT_wxUSE_BMPBUTTON
=no
5622 DEFAULT_wxUSE_BUTTON
=no
5623 DEFAULT_wxUSE_CALCTRL
=no
5624 DEFAULT_wxUSE_CARET
=no
5625 DEFAULT_wxUSE_COMBOBOX
=no
5626 DEFAULT_wxUSE_CHECKBOX
=no
5627 DEFAULT_wxUSE_CHECKLISTBOX
=no
5628 DEFAULT_wxUSE_CHOICE
=no
5629 DEFAULT_wxUSE_GAUGE
=no
5630 DEFAULT_wxUSE_GRID
=no
5631 DEFAULT_wxUSE_NEW_GRID
=no
5632 DEFAULT_wxUSE_IMAGLIST
=no
5633 DEFAULT_wxUSE_LISTBOX
=no
5634 DEFAULT_wxUSE_LISTCTRL
=no
5635 DEFAULT_wxUSE_NOTEBOOK
=no
5636 DEFAULT_wxUSE_PROPSHEET
=no
5637 DEFAULT_wxUSE_RADIOBOX
=no
5638 DEFAULT_wxUSE_RADIOBTN
=no
5639 DEFAULT_wxUSE_SASH
=no
5640 DEFAULT_wxUSE_SCROLLBAR
=no
5641 DEFAULT_wxUSE_SLIDER
=no
5642 DEFAULT_wxUSE_SPINBTN
=no
5643 DEFAULT_wxUSE_SPINCTRL
=no
5644 DEFAULT_wxUSE_SPLITTER
=no
5645 DEFAULT_wxUSE_STATBMP
=no
5646 DEFAULT_wxUSE_STATBOX
=no
5647 DEFAULT_wxUSE_STATLINE
=no
5648 DEFAULT_wxUSE_STATUSBAR
=no
5649 DEFAULT_wxUSE_TAB_DIALOG
=no
5650 DEFAULT_wxUSE_TOGGLEBTN
=no
5651 DEFAULT_wxUSE_TOOLBAR
=no
5652 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5653 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5654 DEFAULT_wxUSE_TOOLTIPS
=no
5655 DEFAULT_wxUSE_TREECTRL
=no
5656 DEFAULT_wxUSE_POPUPWIN
=no
5657 DEFAULT_wxUSE_TIPWINDOW
=no
5661 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5662 echo "configure:5663: checking for --enable-accel" >&5
5664 # Check whether --enable-accel or --disable-accel was given.
5665 if test "${enable_accel+set}" = set; then
5666 enableval
="$enable_accel"
5668 if test "$enableval" = yes; then
5669 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5671 ac_cv_use_accel
='wxUSE_ACCEL=no'
5676 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5677 if test "x$LINE" != x
; then
5678 eval "DEFAULT_$LINE"
5683 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5688 eval "$ac_cv_use_accel"
5689 if test "$no_cache" != 1; then
5690 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5693 if test "$wxUSE_ACCEL" = yes; then
5694 echo "$ac_t""yes" 1>&6
5696 echo "$ac_t""no" 1>&6
5700 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5701 echo "configure:5702: checking for --enable-button" >&5
5703 # Check whether --enable-button or --disable-button was given.
5704 if test "${enable_button+set}" = set; then
5705 enableval
="$enable_button"
5707 if test "$enableval" = yes; then
5708 ac_cv_use_button
='wxUSE_BUTTON=yes'
5710 ac_cv_use_button
='wxUSE_BUTTON=no'
5715 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5716 if test "x$LINE" != x
; then
5717 eval "DEFAULT_$LINE"
5722 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5727 eval "$ac_cv_use_button"
5728 if test "$no_cache" != 1; then
5729 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5732 if test "$wxUSE_BUTTON" = yes; then
5733 echo "$ac_t""yes" 1>&6
5735 echo "$ac_t""no" 1>&6
5739 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5740 echo "configure:5741: checking for --enable-bmpbutton" >&5
5742 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5743 if test "${enable_bmpbutton+set}" = set; then
5744 enableval
="$enable_bmpbutton"
5746 if test "$enableval" = yes; then
5747 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5749 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5754 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5755 if test "x$LINE" != x
; then
5756 eval "DEFAULT_$LINE"
5761 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5766 eval "$ac_cv_use_bmpbutton"
5767 if test "$no_cache" != 1; then
5768 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5771 if test "$wxUSE_BMPBUTTON" = yes; then
5772 echo "$ac_t""yes" 1>&6
5774 echo "$ac_t""no" 1>&6
5778 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5779 echo "configure:5780: checking for --enable-calendar" >&5
5781 # Check whether --enable-calendar or --disable-calendar was given.
5782 if test "${enable_calendar+set}" = set; then
5783 enableval
="$enable_calendar"
5785 if test "$enableval" = yes; then
5786 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5788 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5793 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5794 if test "x$LINE" != x
; then
5795 eval "DEFAULT_$LINE"
5800 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5805 eval "$ac_cv_use_calendar"
5806 if test "$no_cache" != 1; then
5807 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5810 if test "$wxUSE_CALCTRL" = yes; then
5811 echo "$ac_t""yes" 1>&6
5813 echo "$ac_t""no" 1>&6
5817 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5818 echo "configure:5819: checking for --enable-caret" >&5
5820 # Check whether --enable-caret or --disable-caret was given.
5821 if test "${enable_caret+set}" = set; then
5822 enableval
="$enable_caret"
5824 if test "$enableval" = yes; then
5825 ac_cv_use_caret
='wxUSE_CARET=yes'
5827 ac_cv_use_caret
='wxUSE_CARET=no'
5832 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5833 if test "x$LINE" != x
; then
5834 eval "DEFAULT_$LINE"
5839 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5844 eval "$ac_cv_use_caret"
5845 if test "$no_cache" != 1; then
5846 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5849 if test "$wxUSE_CARET" = yes; then
5850 echo "$ac_t""yes" 1>&6
5852 echo "$ac_t""no" 1>&6
5856 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5857 echo "configure:5858: checking for --enable-checkbox" >&5
5859 # Check whether --enable-checkbox or --disable-checkbox was given.
5860 if test "${enable_checkbox+set}" = set; then
5861 enableval
="$enable_checkbox"
5863 if test "$enableval" = yes; then
5864 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5866 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5871 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5872 if test "x$LINE" != x
; then
5873 eval "DEFAULT_$LINE"
5878 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5883 eval "$ac_cv_use_checkbox"
5884 if test "$no_cache" != 1; then
5885 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5888 if test "$wxUSE_CHECKBOX" = yes; then
5889 echo "$ac_t""yes" 1>&6
5891 echo "$ac_t""no" 1>&6
5895 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5896 echo "configure:5897: checking for --enable-checklst" >&5
5898 # Check whether --enable-checklst or --disable-checklst was given.
5899 if test "${enable_checklst+set}" = set; then
5900 enableval
="$enable_checklst"
5902 if test "$enableval" = yes; then
5903 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5905 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5910 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5911 if test "x$LINE" != x
; then
5912 eval "DEFAULT_$LINE"
5917 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5922 eval "$ac_cv_use_checklst"
5923 if test "$no_cache" != 1; then
5924 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5927 if test "$wxUSE_CHECKLST" = yes; then
5928 echo "$ac_t""yes" 1>&6
5930 echo "$ac_t""no" 1>&6
5934 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5935 echo "configure:5936: checking for --enable-choice" >&5
5937 # Check whether --enable-choice or --disable-choice was given.
5938 if test "${enable_choice+set}" = set; then
5939 enableval
="$enable_choice"
5941 if test "$enableval" = yes; then
5942 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5944 ac_cv_use_choice
='wxUSE_CHOICE=no'
5949 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5950 if test "x$LINE" != x
; then
5951 eval "DEFAULT_$LINE"
5956 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5961 eval "$ac_cv_use_choice"
5962 if test "$no_cache" != 1; then
5963 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5966 if test "$wxUSE_CHOICE" = yes; then
5967 echo "$ac_t""yes" 1>&6
5969 echo "$ac_t""no" 1>&6
5973 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5974 echo "configure:5975: checking for --enable-combobox" >&5
5976 # Check whether --enable-combobox or --disable-combobox was given.
5977 if test "${enable_combobox+set}" = set; then
5978 enableval
="$enable_combobox"
5980 if test "$enableval" = yes; then
5981 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5983 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5988 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5989 if test "x$LINE" != x
; then
5990 eval "DEFAULT_$LINE"
5995 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6000 eval "$ac_cv_use_combobox"
6001 if test "$no_cache" != 1; then
6002 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6005 if test "$wxUSE_COMBOBOX" = yes; then
6006 echo "$ac_t""yes" 1>&6
6008 echo "$ac_t""no" 1>&6
6012 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6013 echo "configure:6014: checking for --enable-gauge" >&5
6015 # Check whether --enable-gauge or --disable-gauge was given.
6016 if test "${enable_gauge+set}" = set; then
6017 enableval
="$enable_gauge"
6019 if test "$enableval" = yes; then
6020 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6022 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6027 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6028 if test "x$LINE" != x
; then
6029 eval "DEFAULT_$LINE"
6034 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6039 eval "$ac_cv_use_gauge"
6040 if test "$no_cache" != 1; then
6041 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6044 if test "$wxUSE_GAUGE" = yes; then
6045 echo "$ac_t""yes" 1>&6
6047 echo "$ac_t""no" 1>&6
6051 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6052 echo "configure:6053: checking for --enable-grid" >&5
6054 # Check whether --enable-grid or --disable-grid was given.
6055 if test "${enable_grid+set}" = set; then
6056 enableval
="$enable_grid"
6058 if test "$enableval" = yes; then
6059 ac_cv_use_grid
='wxUSE_GRID=yes'
6061 ac_cv_use_grid
='wxUSE_GRID=no'
6066 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6067 if test "x$LINE" != x
; then
6068 eval "DEFAULT_$LINE"
6073 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6078 eval "$ac_cv_use_grid"
6079 if test "$no_cache" != 1; then
6080 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6083 if test "$wxUSE_GRID" = yes; then
6084 echo "$ac_t""yes" 1>&6
6086 echo "$ac_t""no" 1>&6
6090 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6091 echo "configure:6092: checking for --enable-newgrid" >&5
6093 # Check whether --enable-newgrid or --disable-newgrid was given.
6094 if test "${enable_newgrid+set}" = set; then
6095 enableval
="$enable_newgrid"
6097 if test "$enableval" = yes; then
6098 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6100 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6105 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6106 if test "x$LINE" != x
; then
6107 eval "DEFAULT_$LINE"
6112 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6117 eval "$ac_cv_use_newgrid"
6118 if test "$no_cache" != 1; then
6119 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6122 if test "$wxUSE_NEW_GRID" = yes; then
6123 echo "$ac_t""yes" 1>&6
6125 echo "$ac_t""no" 1>&6
6129 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6130 echo "configure:6131: checking for --enable-imaglist" >&5
6132 # Check whether --enable-imaglist or --disable-imaglist was given.
6133 if test "${enable_imaglist+set}" = set; then
6134 enableval
="$enable_imaglist"
6136 if test "$enableval" = yes; then
6137 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6139 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6144 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6145 if test "x$LINE" != x
; then
6146 eval "DEFAULT_$LINE"
6151 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6156 eval "$ac_cv_use_imaglist"
6157 if test "$no_cache" != 1; then
6158 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6161 if test "$wxUSE_IMAGLIST" = yes; then
6162 echo "$ac_t""yes" 1>&6
6164 echo "$ac_t""no" 1>&6
6168 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6169 echo "configure:6170: checking for --enable-listbox" >&5
6171 # Check whether --enable-listbox or --disable-listbox was given.
6172 if test "${enable_listbox+set}" = set; then
6173 enableval
="$enable_listbox"
6175 if test "$enableval" = yes; then
6176 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6178 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6183 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6184 if test "x$LINE" != x
; then
6185 eval "DEFAULT_$LINE"
6190 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6195 eval "$ac_cv_use_listbox"
6196 if test "$no_cache" != 1; then
6197 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6200 if test "$wxUSE_LISTBOX" = yes; then
6201 echo "$ac_t""yes" 1>&6
6203 echo "$ac_t""no" 1>&6
6207 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6208 echo "configure:6209: checking for --enable-listctrl" >&5
6210 # Check whether --enable-listctrl or --disable-listctrl was given.
6211 if test "${enable_listctrl+set}" = set; then
6212 enableval
="$enable_listctrl"
6214 if test "$enableval" = yes; then
6215 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6217 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6222 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6223 if test "x$LINE" != x
; then
6224 eval "DEFAULT_$LINE"
6229 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6234 eval "$ac_cv_use_listctrl"
6235 if test "$no_cache" != 1; then
6236 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6239 if test "$wxUSE_LISTCTRL" = yes; then
6240 echo "$ac_t""yes" 1>&6
6242 echo "$ac_t""no" 1>&6
6246 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6247 echo "configure:6248: checking for --enable-notebook" >&5
6249 # Check whether --enable-notebook or --disable-notebook was given.
6250 if test "${enable_notebook+set}" = set; then
6251 enableval
="$enable_notebook"
6253 if test "$enableval" = yes; then
6254 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6256 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6261 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6262 if test "x$LINE" != x
; then
6263 eval "DEFAULT_$LINE"
6268 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6273 eval "$ac_cv_use_notebook"
6274 if test "$no_cache" != 1; then
6275 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6278 if test "$wxUSE_NOTEBOOK" = yes; then
6279 echo "$ac_t""yes" 1>&6
6281 echo "$ac_t""no" 1>&6
6285 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6286 echo "configure:6287: checking for --enable-propsheet" >&5
6288 # Check whether --enable-propsheet or --disable-propsheet was given.
6289 if test "${enable_propsheet+set}" = set; then
6290 enableval
="$enable_propsheet"
6292 if test "$enableval" = yes; then
6293 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6295 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6300 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6301 if test "x$LINE" != x
; then
6302 eval "DEFAULT_$LINE"
6307 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6312 eval "$ac_cv_use_propsheet"
6313 if test "$no_cache" != 1; then
6314 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6317 if test "$wxUSE_PROPSHEET" = yes; then
6318 echo "$ac_t""yes" 1>&6
6320 echo "$ac_t""no" 1>&6
6324 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6325 echo "configure:6326: checking for --enable-radiobox" >&5
6327 # Check whether --enable-radiobox or --disable-radiobox was given.
6328 if test "${enable_radiobox+set}" = set; then
6329 enableval
="$enable_radiobox"
6331 if test "$enableval" = yes; then
6332 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6334 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6339 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6340 if test "x$LINE" != x
; then
6341 eval "DEFAULT_$LINE"
6346 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6351 eval "$ac_cv_use_radiobox"
6352 if test "$no_cache" != 1; then
6353 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6356 if test "$wxUSE_RADIOBOX" = yes; then
6357 echo "$ac_t""yes" 1>&6
6359 echo "$ac_t""no" 1>&6
6363 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6364 echo "configure:6365: checking for --enable-radiobtn" >&5
6366 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6367 if test "${enable_radiobtn+set}" = set; then
6368 enableval
="$enable_radiobtn"
6370 if test "$enableval" = yes; then
6371 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6373 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6378 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6379 if test "x$LINE" != x
; then
6380 eval "DEFAULT_$LINE"
6385 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6390 eval "$ac_cv_use_radiobtn"
6391 if test "$no_cache" != 1; then
6392 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6395 if test "$wxUSE_RADIOBTN" = yes; then
6396 echo "$ac_t""yes" 1>&6
6398 echo "$ac_t""no" 1>&6
6402 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6403 echo "configure:6404: checking for --enable-sash" >&5
6405 # Check whether --enable-sash or --disable-sash was given.
6406 if test "${enable_sash+set}" = set; then
6407 enableval
="$enable_sash"
6409 if test "$enableval" = yes; then
6410 ac_cv_use_sash
='wxUSE_SASH=yes'
6412 ac_cv_use_sash
='wxUSE_SASH=no'
6417 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6418 if test "x$LINE" != x
; then
6419 eval "DEFAULT_$LINE"
6424 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6429 eval "$ac_cv_use_sash"
6430 if test "$no_cache" != 1; then
6431 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6434 if test "$wxUSE_SASH" = yes; then
6435 echo "$ac_t""yes" 1>&6
6437 echo "$ac_t""no" 1>&6
6441 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6442 echo "configure:6443: checking for --enable-scrollbar" >&5
6444 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6445 if test "${enable_scrollbar+set}" = set; then
6446 enableval
="$enable_scrollbar"
6448 if test "$enableval" = yes; then
6449 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6451 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6456 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6457 if test "x$LINE" != x
; then
6458 eval "DEFAULT_$LINE"
6463 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6468 eval "$ac_cv_use_scrollbar"
6469 if test "$no_cache" != 1; then
6470 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6473 if test "$wxUSE_SCROLLBAR" = yes; then
6474 echo "$ac_t""yes" 1>&6
6476 echo "$ac_t""no" 1>&6
6480 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6481 echo "configure:6482: checking for --enable-slider" >&5
6483 # Check whether --enable-slider or --disable-slider was given.
6484 if test "${enable_slider+set}" = set; then
6485 enableval
="$enable_slider"
6487 if test "$enableval" = yes; then
6488 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6490 ac_cv_use_slider
='wxUSE_SLIDER=no'
6495 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6496 if test "x$LINE" != x
; then
6497 eval "DEFAULT_$LINE"
6502 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6507 eval "$ac_cv_use_slider"
6508 if test "$no_cache" != 1; then
6509 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6512 if test "$wxUSE_SLIDER" = yes; then
6513 echo "$ac_t""yes" 1>&6
6515 echo "$ac_t""no" 1>&6
6519 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6520 echo "configure:6521: checking for --enable-spinbtn" >&5
6522 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6523 if test "${enable_spinbtn+set}" = set; then
6524 enableval
="$enable_spinbtn"
6526 if test "$enableval" = yes; then
6527 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6529 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6534 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6535 if test "x$LINE" != x
; then
6536 eval "DEFAULT_$LINE"
6541 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6546 eval "$ac_cv_use_spinbtn"
6547 if test "$no_cache" != 1; then
6548 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6551 if test "$wxUSE_SPINBTN" = yes; then
6552 echo "$ac_t""yes" 1>&6
6554 echo "$ac_t""no" 1>&6
6558 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6559 echo "configure:6560: checking for --enable-spinctrl" >&5
6561 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6562 if test "${enable_spinctrl+set}" = set; then
6563 enableval
="$enable_spinctrl"
6565 if test "$enableval" = yes; then
6566 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6568 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6573 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6574 if test "x$LINE" != x
; then
6575 eval "DEFAULT_$LINE"
6580 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6585 eval "$ac_cv_use_spinctrl"
6586 if test "$no_cache" != 1; then
6587 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6590 if test "$wxUSE_SPINCTRL" = yes; then
6591 echo "$ac_t""yes" 1>&6
6593 echo "$ac_t""no" 1>&6
6597 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6598 echo "configure:6599: checking for --enable-splitter" >&5
6600 # Check whether --enable-splitter or --disable-splitter was given.
6601 if test "${enable_splitter+set}" = set; then
6602 enableval
="$enable_splitter"
6604 if test "$enableval" = yes; then
6605 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6607 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6612 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6613 if test "x$LINE" != x
; then
6614 eval "DEFAULT_$LINE"
6619 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6624 eval "$ac_cv_use_splitter"
6625 if test "$no_cache" != 1; then
6626 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6629 if test "$wxUSE_SPLITTER" = yes; then
6630 echo "$ac_t""yes" 1>&6
6632 echo "$ac_t""no" 1>&6
6636 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6637 echo "configure:6638: checking for --enable-statbmp" >&5
6639 # Check whether --enable-statbmp or --disable-statbmp was given.
6640 if test "${enable_statbmp+set}" = set; then
6641 enableval
="$enable_statbmp"
6643 if test "$enableval" = yes; then
6644 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6646 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6651 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6652 if test "x$LINE" != x
; then
6653 eval "DEFAULT_$LINE"
6658 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6663 eval "$ac_cv_use_statbmp"
6664 if test "$no_cache" != 1; then
6665 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6668 if test "$wxUSE_STATBMP" = yes; then
6669 echo "$ac_t""yes" 1>&6
6671 echo "$ac_t""no" 1>&6
6675 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6676 echo "configure:6677: checking for --enable-statbox" >&5
6678 # Check whether --enable-statbox or --disable-statbox was given.
6679 if test "${enable_statbox+set}" = set; then
6680 enableval
="$enable_statbox"
6682 if test "$enableval" = yes; then
6683 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6685 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6690 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6691 if test "x$LINE" != x
; then
6692 eval "DEFAULT_$LINE"
6697 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6702 eval "$ac_cv_use_statbox"
6703 if test "$no_cache" != 1; then
6704 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6707 if test "$wxUSE_STATBOX" = yes; then
6708 echo "$ac_t""yes" 1>&6
6710 echo "$ac_t""no" 1>&6
6714 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6715 echo "configure:6716: checking for --enable-statline" >&5
6717 # Check whether --enable-statline or --disable-statline was given.
6718 if test "${enable_statline+set}" = set; then
6719 enableval
="$enable_statline"
6721 if test "$enableval" = yes; then
6722 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6724 ac_cv_use_statline
='wxUSE_STATLINE=no'
6729 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6730 if test "x$LINE" != x
; then
6731 eval "DEFAULT_$LINE"
6736 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6741 eval "$ac_cv_use_statline"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6746 if test "$wxUSE_STATLINE" = yes; then
6747 echo "$ac_t""yes" 1>&6
6749 echo "$ac_t""no" 1>&6
6753 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6754 echo "configure:6755: checking for --enable-stattext" >&5
6756 # Check whether --enable-stattext or --disable-stattext was given.
6757 if test "${enable_stattext+set}" = set; then
6758 enableval
="$enable_stattext"
6760 if test "$enableval" = yes; then
6761 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6763 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6768 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6769 if test "x$LINE" != x
; then
6770 eval "DEFAULT_$LINE"
6775 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6780 eval "$ac_cv_use_stattext"
6781 if test "$no_cache" != 1; then
6782 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6785 if test "$wxUSE_STATTEXT" = yes; then
6786 echo "$ac_t""yes" 1>&6
6788 echo "$ac_t""no" 1>&6
6792 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6793 echo "configure:6794: checking for --enable-statusbar" >&5
6795 # Check whether --enable-statusbar or --disable-statusbar was given.
6796 if test "${enable_statusbar+set}" = set; then
6797 enableval
="$enable_statusbar"
6799 if test "$enableval" = yes; then
6800 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6802 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6807 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6808 if test "x$LINE" != x
; then
6809 eval "DEFAULT_$LINE"
6814 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6819 eval "$ac_cv_use_statusbar"
6820 if test "$no_cache" != 1; then
6821 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6824 if test "$wxUSE_STATUSBAR" = yes; then
6825 echo "$ac_t""yes" 1>&6
6827 echo "$ac_t""no" 1>&6
6831 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6832 echo "configure:6833: checking for --enable-tabdialog" >&5
6834 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6835 if test "${enable_tabdialog+set}" = set; then
6836 enableval
="$enable_tabdialog"
6838 if test "$enableval" = yes; then
6839 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6841 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6846 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6847 if test "x$LINE" != x
; then
6848 eval "DEFAULT_$LINE"
6853 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6858 eval "$ac_cv_use_tabdialog"
6859 if test "$no_cache" != 1; then
6860 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6863 if test "$wxUSE_TABDIALOG" = yes; then
6864 echo "$ac_t""yes" 1>&6
6866 echo "$ac_t""no" 1>&6
6870 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6871 echo "configure:6872: checking for --enable-textctrl" >&5
6873 # Check whether --enable-textctrl or --disable-textctrl was given.
6874 if test "${enable_textctrl+set}" = set; then
6875 enableval
="$enable_textctrl"
6877 if test "$enableval" = yes; then
6878 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6880 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6885 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6886 if test "x$LINE" != x
; then
6887 eval "DEFAULT_$LINE"
6892 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6897 eval "$ac_cv_use_textctrl"
6898 if test "$no_cache" != 1; then
6899 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6902 if test "$wxUSE_TEXTCTRL" = yes; then
6903 echo "$ac_t""yes" 1>&6
6905 echo "$ac_t""no" 1>&6
6909 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6910 echo "configure:6911: checking for --enable-togglebtn" >&5
6912 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6913 if test "${enable_togglebtn+set}" = set; then
6914 enableval
="$enable_togglebtn"
6916 if test "$enableval" = yes; then
6917 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6919 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6924 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6925 if test "x$LINE" != x
; then
6926 eval "DEFAULT_$LINE"
6931 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6936 eval "$ac_cv_use_togglebtn"
6937 if test "$no_cache" != 1; then
6938 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6941 if test "$wxUSE_TOGGLEBTN" = yes; then
6942 echo "$ac_t""yes" 1>&6
6944 echo "$ac_t""no" 1>&6
6948 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6949 echo "configure:6950: checking for --enable-toolbar" >&5
6951 # Check whether --enable-toolbar or --disable-toolbar was given.
6952 if test "${enable_toolbar+set}" = set; then
6953 enableval
="$enable_toolbar"
6955 if test "$enableval" = yes; then
6956 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6958 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6963 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6964 if test "x$LINE" != x
; then
6965 eval "DEFAULT_$LINE"
6970 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6975 eval "$ac_cv_use_toolbar"
6976 if test "$no_cache" != 1; then
6977 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6980 if test "$wxUSE_TOOLBAR" = yes; then
6981 echo "$ac_t""yes" 1>&6
6983 echo "$ac_t""no" 1>&6
6987 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6988 echo "configure:6989: checking for --enable-tbarnative" >&5
6990 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6991 if test "${enable_tbarnative+set}" = set; then
6992 enableval
="$enable_tbarnative"
6994 if test "$enableval" = yes; then
6995 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6997 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7002 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7003 if test "x$LINE" != x
; then
7004 eval "DEFAULT_$LINE"
7009 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7014 eval "$ac_cv_use_tbarnative"
7015 if test "$no_cache" != 1; then
7016 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7019 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7020 echo "$ac_t""yes" 1>&6
7022 echo "$ac_t""no" 1>&6
7026 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7027 echo "configure:7028: checking for --enable-tbarsmpl" >&5
7029 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7030 if test "${enable_tbarsmpl+set}" = set; then
7031 enableval
="$enable_tbarsmpl"
7033 if test "$enableval" = yes; then
7034 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7036 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7041 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7042 if test "x$LINE" != x
; then
7043 eval "DEFAULT_$LINE"
7048 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7053 eval "$ac_cv_use_tbarsmpl"
7054 if test "$no_cache" != 1; then
7055 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7058 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7059 echo "$ac_t""yes" 1>&6
7061 echo "$ac_t""no" 1>&6
7065 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7066 echo "configure:7067: checking for --enable-treectrl" >&5
7068 # Check whether --enable-treectrl or --disable-treectrl was given.
7069 if test "${enable_treectrl+set}" = set; then
7070 enableval
="$enable_treectrl"
7072 if test "$enableval" = yes; then
7073 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7075 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7080 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7081 if test "x$LINE" != x
; then
7082 eval "DEFAULT_$LINE"
7087 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7092 eval "$ac_cv_use_treectrl"
7093 if test "$no_cache" != 1; then
7094 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7097 if test "$wxUSE_TREECTRL" = yes; then
7098 echo "$ac_t""yes" 1>&6
7100 echo "$ac_t""no" 1>&6
7104 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7105 echo "configure:7106: checking for --enable-tipwindow" >&5
7107 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7108 if test "${enable_tipwindow+set}" = set; then
7109 enableval
="$enable_tipwindow"
7111 if test "$enableval" = yes; then
7112 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7114 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7119 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7120 if test "x$LINE" != x
; then
7121 eval "DEFAULT_$LINE"
7126 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7131 eval "$ac_cv_use_tipwindow"
7132 if test "$no_cache" != 1; then
7133 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7136 if test "$wxUSE_TIPWINDOW" = yes; then
7137 echo "$ac_t""yes" 1>&6
7139 echo "$ac_t""no" 1>&6
7143 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7144 echo "configure:7145: checking for --enable-popupwin" >&5
7146 # Check whether --enable-popupwin or --disable-popupwin was given.
7147 if test "${enable_popupwin+set}" = set; then
7148 enableval
="$enable_popupwin"
7150 if test "$enableval" = yes; then
7151 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7153 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7158 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7159 if test "x$LINE" != x
; then
7160 eval "DEFAULT_$LINE"
7165 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7170 eval "$ac_cv_use_popupwin"
7171 if test "$no_cache" != 1; then
7172 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7175 if test "$wxUSE_POPUPWIN" = yes; then
7176 echo "$ac_t""yes" 1>&6
7178 echo "$ac_t""no" 1>&6
7184 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7185 echo "configure:7186: checking for --enable-commondlg" >&5
7187 # Check whether --enable-commondlg or --disable-commondlg was given.
7188 if test "${enable_commondlg+set}" = set; then
7189 enableval
="$enable_commondlg"
7191 if test "$enableval" = yes; then
7192 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7194 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7199 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7200 if test "x$LINE" != x
; then
7201 eval "DEFAULT_$LINE"
7206 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7211 eval "$ac_cv_use_commondlg"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7216 if test "$wxUSE_COMMONDLGS" = yes; then
7217 echo "$ac_t""yes" 1>&6
7219 echo "$ac_t""no" 1>&6
7223 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7224 echo "configure:7225: checking for --enable-choicedlg" >&5
7226 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7227 if test "${enable_choicedlg+set}" = set; then
7228 enableval
="$enable_choicedlg"
7230 if test "$enableval" = yes; then
7231 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7233 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7238 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7239 if test "x$LINE" != x
; then
7240 eval "DEFAULT_$LINE"
7245 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7250 eval "$ac_cv_use_choicedlg"
7251 if test "$no_cache" != 1; then
7252 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7255 if test "$wxUSE_CHOICEDLG" = yes; then
7256 echo "$ac_t""yes" 1>&6
7258 echo "$ac_t""no" 1>&6
7262 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7263 echo "configure:7264: checking for --enable-coldlg" >&5
7265 # Check whether --enable-coldlg or --disable-coldlg was given.
7266 if test "${enable_coldlg+set}" = set; then
7267 enableval
="$enable_coldlg"
7269 if test "$enableval" = yes; then
7270 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7272 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7277 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7278 if test "x$LINE" != x
; then
7279 eval "DEFAULT_$LINE"
7284 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7289 eval "$ac_cv_use_coldlg"
7290 if test "$no_cache" != 1; then
7291 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7294 if test "$wxUSE_COLOURDLG" = yes; then
7295 echo "$ac_t""yes" 1>&6
7297 echo "$ac_t""no" 1>&6
7301 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7302 echo "configure:7303: checking for --enable-filedlg" >&5
7304 # Check whether --enable-filedlg or --disable-filedlg was given.
7305 if test "${enable_filedlg+set}" = set; then
7306 enableval
="$enable_filedlg"
7308 if test "$enableval" = yes; then
7309 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7311 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7316 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7317 if test "x$LINE" != x
; then
7318 eval "DEFAULT_$LINE"
7323 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7328 eval "$ac_cv_use_filedlg"
7329 if test "$no_cache" != 1; then
7330 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7333 if test "$wxUSE_FILEDLG" = yes; then
7334 echo "$ac_t""yes" 1>&6
7336 echo "$ac_t""no" 1>&6
7340 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7341 echo "configure:7342: checking for --enable-finddlg" >&5
7343 # Check whether --enable-finddlg or --disable-finddlg was given.
7344 if test "${enable_finddlg+set}" = set; then
7345 enableval
="$enable_finddlg"
7347 if test "$enableval" = yes; then
7348 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7350 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7355 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7356 if test "x$LINE" != x
; then
7357 eval "DEFAULT_$LINE"
7362 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7367 eval "$ac_cv_use_finddlg"
7368 if test "$no_cache" != 1; then
7369 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7372 if test "$wxUSE_FINDREPLDLG" = yes; then
7373 echo "$ac_t""yes" 1>&6
7375 echo "$ac_t""no" 1>&6
7379 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7380 echo "configure:7381: checking for --enable-fontdlg" >&5
7382 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7383 if test "${enable_fontdlg+set}" = set; then
7384 enableval
="$enable_fontdlg"
7386 if test "$enableval" = yes; then
7387 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7389 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7394 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7395 if test "x$LINE" != x
; then
7396 eval "DEFAULT_$LINE"
7401 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7406 eval "$ac_cv_use_fontdlg"
7407 if test "$no_cache" != 1; then
7408 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7411 if test "$wxUSE_FONTDLG" = yes; then
7412 echo "$ac_t""yes" 1>&6
7414 echo "$ac_t""no" 1>&6
7418 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7419 echo "configure:7420: checking for --enable-dirdlg" >&5
7421 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7422 if test "${enable_dirdlg+set}" = set; then
7423 enableval
="$enable_dirdlg"
7425 if test "$enableval" = yes; then
7426 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7428 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7433 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7434 if test "x$LINE" != x
; then
7435 eval "DEFAULT_$LINE"
7440 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7445 eval "$ac_cv_use_dirdlg"
7446 if test "$no_cache" != 1; then
7447 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7450 if test "$wxUSE_DIRDLG" = yes; then
7451 echo "$ac_t""yes" 1>&6
7453 echo "$ac_t""no" 1>&6
7457 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7458 echo "configure:7459: checking for --enable-msgdlg" >&5
7460 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7461 if test "${enable_msgdlg+set}" = set; then
7462 enableval
="$enable_msgdlg"
7464 if test "$enableval" = yes; then
7465 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7467 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7472 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7473 if test "x$LINE" != x
; then
7474 eval "DEFAULT_$LINE"
7479 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7484 eval "$ac_cv_use_msgdlg"
7485 if test "$no_cache" != 1; then
7486 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7489 if test "$wxUSE_MSGDLG" = yes; then
7490 echo "$ac_t""yes" 1>&6
7492 echo "$ac_t""no" 1>&6
7496 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7497 echo "configure:7498: checking for --enable-numberdlg" >&5
7499 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7500 if test "${enable_numberdlg+set}" = set; then
7501 enableval
="$enable_numberdlg"
7503 if test "$enableval" = yes; then
7504 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7506 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7511 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7512 if test "x$LINE" != x
; then
7513 eval "DEFAULT_$LINE"
7518 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7523 eval "$ac_cv_use_numberdlg"
7524 if test "$no_cache" != 1; then
7525 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7528 if test "$wxUSE_NUMBERDLG" = yes; then
7529 echo "$ac_t""yes" 1>&6
7531 echo "$ac_t""no" 1>&6
7535 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7536 echo "configure:7537: checking for --enable-splash" >&5
7538 # Check whether --enable-splash or --disable-splash was given.
7539 if test "${enable_splash+set}" = set; then
7540 enableval
="$enable_splash"
7542 if test "$enableval" = yes; then
7543 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7545 ac_cv_use_splash
='wxUSE_SPLASH=no'
7550 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7551 if test "x$LINE" != x
; then
7552 eval "DEFAULT_$LINE"
7557 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7562 eval "$ac_cv_use_splash"
7563 if test "$no_cache" != 1; then
7564 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7567 if test "$wxUSE_SPLASH" = yes; then
7568 echo "$ac_t""yes" 1>&6
7570 echo "$ac_t""no" 1>&6
7574 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7575 echo "configure:7576: checking for --enable-textdlg" >&5
7577 # Check whether --enable-textdlg or --disable-textdlg was given.
7578 if test "${enable_textdlg+set}" = set; then
7579 enableval
="$enable_textdlg"
7581 if test "$enableval" = yes; then
7582 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7584 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7589 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7590 if test "x$LINE" != x
; then
7591 eval "DEFAULT_$LINE"
7596 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7601 eval "$ac_cv_use_textdlg"
7602 if test "$no_cache" != 1; then
7603 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7606 if test "$wxUSE_TEXTDLG" = yes; then
7607 echo "$ac_t""yes" 1>&6
7609 echo "$ac_t""no" 1>&6
7613 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7614 echo "configure:7615: checking for --enable-tipdlg" >&5
7616 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7617 if test "${enable_tipdlg+set}" = set; then
7618 enableval
="$enable_tipdlg"
7620 if test "$enableval" = yes; then
7621 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7623 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7628 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7629 if test "x$LINE" != x
; then
7630 eval "DEFAULT_$LINE"
7635 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7640 eval "$ac_cv_use_tipdlg"
7641 if test "$no_cache" != 1; then
7642 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7645 if test "$wxUSE_STARTUP_TIPS" = yes; then
7646 echo "$ac_t""yes" 1>&6
7648 echo "$ac_t""no" 1>&6
7652 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7653 echo "configure:7654: checking for --enable-progressdlg" >&5
7655 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7656 if test "${enable_progressdlg+set}" = set; then
7657 enableval
="$enable_progressdlg"
7659 if test "$enableval" = yes; then
7660 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7662 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7667 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7668 if test "x$LINE" != x
; then
7669 eval "DEFAULT_$LINE"
7674 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7679 eval "$ac_cv_use_progressdlg"
7680 if test "$no_cache" != 1; then
7681 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7684 if test "$wxUSE_PROGRESSDLG" = yes; then
7685 echo "$ac_t""yes" 1>&6
7687 echo "$ac_t""no" 1>&6
7691 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7692 echo "configure:7693: checking for --enable-wizarddlg" >&5
7694 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7695 if test "${enable_wizarddlg+set}" = set; then
7696 enableval
="$enable_wizarddlg"
7698 if test "$enableval" = yes; then
7699 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7701 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7706 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7707 if test "x$LINE" != x
; then
7708 eval "DEFAULT_$LINE"
7713 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7718 eval "$ac_cv_use_wizarddlg"
7719 if test "$no_cache" != 1; then
7720 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7723 if test "$wxUSE_WIZARDDLG" = yes; then
7724 echo "$ac_t""yes" 1>&6
7726 echo "$ac_t""no" 1>&6
7732 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7733 echo "configure:7734: checking for --enable-menus" >&5
7735 # Check whether --enable-menus or --disable-menus was given.
7736 if test "${enable_menus+set}" = set; then
7737 enableval
="$enable_menus"
7739 if test "$enableval" = yes; then
7740 ac_cv_use_menus
='wxUSE_MENUS=yes'
7742 ac_cv_use_menus
='wxUSE_MENUS=no'
7747 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7748 if test "x$LINE" != x
; then
7749 eval "DEFAULT_$LINE"
7754 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7759 eval "$ac_cv_use_menus"
7760 if test "$no_cache" != 1; then
7761 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7764 if test "$wxUSE_MENUS" = yes; then
7765 echo "$ac_t""yes" 1>&6
7767 echo "$ac_t""no" 1>&6
7771 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7772 echo "configure:7773: checking for --enable-miniframe" >&5
7774 # Check whether --enable-miniframe or --disable-miniframe was given.
7775 if test "${enable_miniframe+set}" = set; then
7776 enableval
="$enable_miniframe"
7778 if test "$enableval" = yes; then
7779 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7781 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7786 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7787 if test "x$LINE" != x
; then
7788 eval "DEFAULT_$LINE"
7793 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7798 eval "$ac_cv_use_miniframe"
7799 if test "$no_cache" != 1; then
7800 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7803 if test "$wxUSE_MINIFRAME" = yes; then
7804 echo "$ac_t""yes" 1>&6
7806 echo "$ac_t""no" 1>&6
7810 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7811 echo "configure:7812: checking for --enable-tooltips" >&5
7813 # Check whether --enable-tooltips or --disable-tooltips was given.
7814 if test "${enable_tooltips+set}" = set; then
7815 enableval
="$enable_tooltips"
7817 if test "$enableval" = yes; then
7818 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7820 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7825 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7826 if test "x$LINE" != x
; then
7827 eval "DEFAULT_$LINE"
7832 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7837 eval "$ac_cv_use_tooltips"
7838 if test "$no_cache" != 1; then
7839 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7842 if test "$wxUSE_TOOLTIPS" = yes; then
7843 echo "$ac_t""yes" 1>&6
7845 echo "$ac_t""no" 1>&6
7849 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7850 echo "configure:7851: checking for --enable-splines" >&5
7852 # Check whether --enable-splines or --disable-splines was given.
7853 if test "${enable_splines+set}" = set; then
7854 enableval
="$enable_splines"
7856 if test "$enableval" = yes; then
7857 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7859 ac_cv_use_splines
='wxUSE_SPLINES=no'
7864 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7865 if test "x$LINE" != x
; then
7866 eval "DEFAULT_$LINE"
7871 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7876 eval "$ac_cv_use_splines"
7877 if test "$no_cache" != 1; then
7878 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7881 if test "$wxUSE_SPLINES" = yes; then
7882 echo "$ac_t""yes" 1>&6
7884 echo "$ac_t""no" 1>&6
7888 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7889 echo "configure:7890: checking for --enable-validators" >&5
7891 # Check whether --enable-validators or --disable-validators was given.
7892 if test "${enable_validators+set}" = set; then
7893 enableval
="$enable_validators"
7895 if test "$enableval" = yes; then
7896 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7898 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7903 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7904 if test "x$LINE" != x
; then
7905 eval "DEFAULT_$LINE"
7910 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7915 eval "$ac_cv_use_validators"
7916 if test "$no_cache" != 1; then
7917 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7920 if test "$wxUSE_VALIDATORS" = yes; then
7921 echo "$ac_t""yes" 1>&6
7923 echo "$ac_t""no" 1>&6
7927 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7928 echo "configure:7929: checking for --enable-busyinfo" >&5
7930 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7931 if test "${enable_busyinfo+set}" = set; then
7932 enableval
="$enable_busyinfo"
7934 if test "$enableval" = yes; then
7935 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7937 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7942 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7943 if test "x$LINE" != x
; then
7944 eval "DEFAULT_$LINE"
7949 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7954 eval "$ac_cv_use_busyinfo"
7955 if test "$no_cache" != 1; then
7956 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7959 if test "$wxUSE_BUSYINFO" = yes; then
7960 echo "$ac_t""yes" 1>&6
7962 echo "$ac_t""no" 1>&6
7966 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7967 echo "configure:7968: checking for --enable-joystick" >&5
7969 # Check whether --enable-joystick or --disable-joystick was given.
7970 if test "${enable_joystick+set}" = set; then
7971 enableval
="$enable_joystick"
7973 if test "$enableval" = yes; then
7974 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7976 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7981 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7982 if test "x$LINE" != x
; then
7983 eval "DEFAULT_$LINE"
7988 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7993 eval "$ac_cv_use_joystick"
7994 if test "$no_cache" != 1; then
7995 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7998 if test "$wxUSE_JOYSTICK" = yes; then
7999 echo "$ac_t""yes" 1>&6
8001 echo "$ac_t""no" 1>&6
8005 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8006 echo "configure:8007: checking for --enable-metafile" >&5
8008 # Check whether --enable-metafile or --disable-metafile was given.
8009 if test "${enable_metafile+set}" = set; then
8010 enableval
="$enable_metafile"
8012 if test "$enableval" = yes; then
8013 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8015 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8020 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8021 if test "x$LINE" != x
; then
8022 eval "DEFAULT_$LINE"
8027 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8032 eval "$ac_cv_use_metafile"
8033 if test "$no_cache" != 1; then
8034 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8037 if test "$wxUSE_METAFILE" = yes; then
8038 echo "$ac_t""yes" 1>&6
8040 echo "$ac_t""no" 1>&6
8044 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8045 echo "configure:8046: checking for --enable-dragimage" >&5
8047 # Check whether --enable-dragimage or --disable-dragimage was given.
8048 if test "${enable_dragimage+set}" = set; then
8049 enableval
="$enable_dragimage"
8051 if test "$enableval" = yes; then
8052 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8054 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8059 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8060 if test "x$LINE" != x
; then
8061 eval "DEFAULT_$LINE"
8066 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8071 eval "$ac_cv_use_dragimage"
8072 if test "$no_cache" != 1; then
8073 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8076 if test "$wxUSE_DRAGIMAGE" = yes; then
8077 echo "$ac_t""yes" 1>&6
8079 echo "$ac_t""no" 1>&6
8085 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8086 echo "configure:8087: checking for --enable-palette" >&5
8088 # Check whether --enable-palette or --disable-palette was given.
8089 if test "${enable_palette+set}" = set; then
8090 enableval
="$enable_palette"
8092 if test "$enableval" = yes; then
8093 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8095 ac_cv_use_palette
='wxUSE_PALETTE=no'
8100 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8101 if test "x$LINE" != x
; then
8102 eval "DEFAULT_$LINE"
8107 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8112 eval "$ac_cv_use_palette"
8113 if test "$no_cache" != 1; then
8114 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8117 if test "$wxUSE_PALETTE" = yes; then
8118 echo "$ac_t""yes" 1>&6
8120 echo "$ac_t""no" 1>&6
8124 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8125 echo "configure:8126: checking for --enable-image" >&5
8127 # Check whether --enable-image or --disable-image was given.
8128 if test "${enable_image+set}" = set; then
8129 enableval
="$enable_image"
8131 if test "$enableval" = yes; then
8132 ac_cv_use_image
='wxUSE_IMAGE=yes'
8134 ac_cv_use_image
='wxUSE_IMAGE=no'
8139 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8140 if test "x$LINE" != x
; then
8141 eval "DEFAULT_$LINE"
8146 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8151 eval "$ac_cv_use_image"
8152 if test "$no_cache" != 1; then
8153 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8156 if test "$wxUSE_IMAGE" = yes; then
8157 echo "$ac_t""yes" 1>&6
8159 echo "$ac_t""no" 1>&6
8163 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8164 echo "configure:8165: checking for --enable-gif" >&5
8166 # Check whether --enable-gif or --disable-gif was given.
8167 if test "${enable_gif+set}" = set; then
8168 enableval
="$enable_gif"
8170 if test "$enableval" = yes; then
8171 ac_cv_use_gif
='wxUSE_GIF=yes'
8173 ac_cv_use_gif
='wxUSE_GIF=no'
8178 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8179 if test "x$LINE" != x
; then
8180 eval "DEFAULT_$LINE"
8185 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8190 eval "$ac_cv_use_gif"
8191 if test "$no_cache" != 1; then
8192 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8195 if test "$wxUSE_GIF" = yes; then
8196 echo "$ac_t""yes" 1>&6
8198 echo "$ac_t""no" 1>&6
8202 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8203 echo "configure:8204: checking for --enable-pcx" >&5
8205 # Check whether --enable-pcx or --disable-pcx was given.
8206 if test "${enable_pcx+set}" = set; then
8207 enableval
="$enable_pcx"
8209 if test "$enableval" = yes; then
8210 ac_cv_use_pcx
='wxUSE_PCX=yes'
8212 ac_cv_use_pcx
='wxUSE_PCX=no'
8217 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8218 if test "x$LINE" != x
; then
8219 eval "DEFAULT_$LINE"
8224 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8229 eval "$ac_cv_use_pcx"
8230 if test "$no_cache" != 1; then
8231 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8234 if test "$wxUSE_PCX" = yes; then
8235 echo "$ac_t""yes" 1>&6
8237 echo "$ac_t""no" 1>&6
8241 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8242 echo "configure:8243: checking for --enable-iff" >&5
8244 # Check whether --enable-iff or --disable-iff was given.
8245 if test "${enable_iff+set}" = set; then
8246 enableval
="$enable_iff"
8248 if test "$enableval" = yes; then
8249 ac_cv_use_iff
='wxUSE_IFF=yes'
8251 ac_cv_use_iff
='wxUSE_IFF=no'
8256 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8257 if test "x$LINE" != x
; then
8258 eval "DEFAULT_$LINE"
8263 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8268 eval "$ac_cv_use_iff"
8269 if test "$no_cache" != 1; then
8270 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8273 if test "$wxUSE_IFF" = yes; then
8274 echo "$ac_t""yes" 1>&6
8276 echo "$ac_t""no" 1>&6
8280 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8281 echo "configure:8282: checking for --enable-pnm" >&5
8283 # Check whether --enable-pnm or --disable-pnm was given.
8284 if test "${enable_pnm+set}" = set; then
8285 enableval
="$enable_pnm"
8287 if test "$enableval" = yes; then
8288 ac_cv_use_pnm
='wxUSE_PNM=yes'
8290 ac_cv_use_pnm
='wxUSE_PNM=no'
8295 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8296 if test "x$LINE" != x
; then
8297 eval "DEFAULT_$LINE"
8302 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8307 eval "$ac_cv_use_pnm"
8308 if test "$no_cache" != 1; then
8309 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8312 if test "$wxUSE_PNM" = yes; then
8313 echo "$ac_t""yes" 1>&6
8315 echo "$ac_t""no" 1>&6
8319 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8320 echo "configure:8321: checking for --enable-xpm" >&5
8322 # Check whether --enable-xpm or --disable-xpm was given.
8323 if test "${enable_xpm+set}" = set; then
8324 enableval
="$enable_xpm"
8326 if test "$enableval" = yes; then
8327 ac_cv_use_xpm
='wxUSE_XPM=yes'
8329 ac_cv_use_xpm
='wxUSE_XPM=no'
8334 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8335 if test "x$LINE" != x
; then
8336 eval "DEFAULT_$LINE"
8341 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8346 eval "$ac_cv_use_xpm"
8347 if test "$no_cache" != 1; then
8348 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8351 if test "$wxUSE_XPM" = yes; then
8352 echo "$ac_t""yes" 1>&6
8354 echo "$ac_t""no" 1>&6
8358 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8359 echo "configure:8360: checking for --enable-ico_cur" >&5
8361 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8362 if test "${enable_ico_cur+set}" = set; then
8363 enableval
="$enable_ico_cur"
8365 if test "$enableval" = yes; then
8366 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8368 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8373 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8374 if test "x$LINE" != x
; then
8375 eval "DEFAULT_$LINE"
8380 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8385 eval "$ac_cv_use_ico_cur"
8386 if test "$no_cache" != 1; then
8387 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8390 if test "$wxUSE_ICO_CUR" = yes; then
8391 echo "$ac_t""yes" 1>&6
8393 echo "$ac_t""no" 1>&6
8400 *-pc-os2_emx | *-pc-os2-emx )
8411 echo "saving argument cache $wx_arg_cache_file"
8412 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8416 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8417 echo "configure:8418: checking for toolkit" >&5
8419 if test "$wxUSE_GUI" = "yes"; then
8421 if test "$USE_BEOS" = 1; then
8422 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8425 if test "$TOOLKIT_GIVEN" = 1; then
8426 for toolkit
in `echo $ALL_TOOLKITS`; do
8428 eval "value=\$${var}"
8429 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8432 for toolkit
in `echo $ALL_TOOLKITS`; do
8433 if test "$has_toolkit_in_cache" != 1; then
8434 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8436 var
=DEFAULT_wxUSE_
$toolkit
8438 eval "wxUSE_$toolkit=\$${var}"
8442 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8443 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8446 *-pc-os2_emx | *-pc-os2-emx )
8447 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8450 case "$NUM_TOOLKITS" in
8454 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8457 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8460 for toolkit
in `echo $ALL_TOOLKITS`; do
8462 eval "value=\$${var}"
8463 if test "x$value" != x
; then
8464 cache_var
=CACHE_
$toolkit
8465 eval "cache=\$${cache_var}"
8466 if test "$cache" = 1; then
8467 echo "$var=$value" >> ${wx_arg_cache_file}
8469 if test "$value" = 1; then
8470 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8471 echo "$ac_t""$toolkit_echo" 1>&6
8476 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8483 if test "$wxUSE_MSW" = 1 ; then
8492 if test "$define_win32" = 1 ; then
8495 cat >> confdefs.h
<<\EOF
8499 cat >> confdefs.h
<<\EOF
8503 cat >> confdefs.h
<<\EOF
8504 #define __WINDOWS__ 1
8507 cat >> confdefs.h
<<\EOF
8508 #define __GNUWIN32__ 1
8511 cat >> confdefs.h
<<\EOF
8515 cat >> confdefs.h
<<\EOF
8516 #define WINVER 0x0400
8524 if test "$USE_UNIX" = 1 ; then
8526 cat >> confdefs.h
<<\EOF
8533 cat > confcache
<<\EOF
8534 # This file is a shell script that caches the results of configure
8535 # tests run on this system so they can be shared between configure
8536 # scripts and configure runs. It is not useful on other systems.
8537 # If it contains results you don't want to keep, you may remove or edit it.
8539 # By default, configure uses ./config.cache as the cache file,
8540 # creating it if it does not exist already. You can give configure
8541 # the --cache-file=FILE option to use a different cache file; that is
8542 # what configure does when it calls configure scripts in
8543 # subdirectories, so they share the cache.
8544 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8545 # config.status only pays attention to the cache file if you give it the
8546 # --recheck option to rerun configure.
8549 # The following way of writing the cache mishandles newlines in values,
8550 # but we know of no workaround that is simple, portable, and efficient.
8551 # So, don't put newlines in cache variables' values.
8552 # Ultrix sh set writes to stderr and can't be redirected directly,
8553 # and sets the high bit in the cache file unless we assign to the vars.
8555 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8557 # `set' does not quote correctly, so add quotes (double-quote substitution
8558 # turns \\\\ into \\, and sed turns \\ into \).
8560 -e "s/'/'\\\\''/g" \
8561 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8564 # `set' quotes correctly as required by POSIX, so do not add quotes.
8565 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8568 if cmp -s $cache_file confcache
; then
8571 if test -w $cache_file; then
8572 echo "updating cache $cache_file"
8573 cat confcache
> $cache_file
8575 echo "not updating unwritable cache $cache_file"
8581 if test "$build" != "$host" ; then
8582 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8586 RANLIB
=$host_alias-ranlib
8587 DLLTOOL
=$host_alias-dlltool
8588 RESCOMP
=$host_alias-windres
8591 STRIP
=$host_alias-strip
8593 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8598 # Extract the first word of "gcc", so it can be a program name with args.
8599 set dummy gcc
; ac_word
=$2
8600 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8601 echo "configure:8602: checking for $ac_word" >&5
8602 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8603 echo $ac_n "(cached) $ac_c" 1>&6
8605 if test -n "$CC"; then
8606 ac_cv_prog_CC
="$CC" # Let the user override the test.
8608 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8610 for ac_dir
in $ac_dummy; do
8611 test -z "$ac_dir" && ac_dir
=.
8612 if test -f $ac_dir/$ac_word; then
8621 if test -n "$CC"; then
8622 echo "$ac_t""$CC" 1>&6
8624 echo "$ac_t""no" 1>&6
8627 if test -z "$CC"; then
8628 # Extract the first word of "cc", so it can be a program name with args.
8629 set dummy cc
; ac_word
=$2
8630 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8631 echo "configure:8632: checking for $ac_word" >&5
8632 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8633 echo $ac_n "(cached) $ac_c" 1>&6
8635 if test -n "$CC"; then
8636 ac_cv_prog_CC
="$CC" # Let the user override the test.
8638 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8641 for ac_dir
in $ac_dummy; do
8642 test -z "$ac_dir" && ac_dir
=.
8643 if test -f $ac_dir/$ac_word; then
8644 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8645 ac_prog_rejected
=yes
8653 if test $ac_prog_rejected = yes; then
8654 # We found a bogon in the path, so make sure we never use it.
8655 set dummy
$ac_cv_prog_CC
8657 if test $# -gt 0; then
8658 # We chose a different compiler from the bogus one.
8659 # However, it has the same basename, so the bogon will be chosen
8660 # first if we set CC to just the basename; use the full file name.
8662 set dummy
"$ac_dir/$ac_word" "$@"
8670 if test -n "$CC"; then
8671 echo "$ac_t""$CC" 1>&6
8673 echo "$ac_t""no" 1>&6
8676 if test -z "$CC"; then
8677 case "`uname -s`" in
8679 # Extract the first word of "cl", so it can be a program name with args.
8680 set dummy cl
; ac_word
=$2
8681 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8682 echo "configure:8683: checking for $ac_word" >&5
8683 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8684 echo $ac_n "(cached) $ac_c" 1>&6
8686 if test -n "$CC"; then
8687 ac_cv_prog_CC
="$CC" # Let the user override the test.
8689 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8691 for ac_dir
in $ac_dummy; do
8692 test -z "$ac_dir" && ac_dir
=.
8693 if test -f $ac_dir/$ac_word; then
8702 if test -n "$CC"; then
8703 echo "$ac_t""$CC" 1>&6
8705 echo "$ac_t""no" 1>&6
8710 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8713 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8714 echo "configure:8715: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8717 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8718 ac_cpp
='$CPP $CPPFLAGS'
8719 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8720 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8721 cross_compiling
=$ac_cv_prog_cc_cross
8723 cat > conftest.
$ac_ext << EOF
8725 #line 8726 "configure"
8726 #include "confdefs.h"
8730 if { (eval echo configure
:8731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8731 ac_cv_prog_cc_works
=yes
8732 # If we can't run a trivial program, we are probably using a cross compiler.
8733 if (.
/conftest
; exit) 2>/dev
/null
; then
8734 ac_cv_prog_cc_cross
=no
8736 ac_cv_prog_cc_cross
=yes
8739 echo "configure: failed program was:" >&5
8740 cat conftest.
$ac_ext >&5
8741 ac_cv_prog_cc_works
=no
8745 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8746 ac_cpp
='$CPP $CPPFLAGS'
8747 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8748 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8749 cross_compiling
=$ac_cv_prog_cc_cross
8751 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8752 if test $ac_cv_prog_cc_works = no
; then
8753 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8755 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8756 echo "configure:8757: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8757 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8758 cross_compiling
=$ac_cv_prog_cc_cross
8760 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8761 echo "configure:8762: checking whether we are using GNU C" >&5
8762 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8763 echo $ac_n "(cached) $ac_c" 1>&6
8765 cat > conftest.c
<<EOF
8770 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8777 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8779 if test $ac_cv_prog_gcc = yes; then
8785 ac_test_CFLAGS
="${CFLAGS+set}"
8786 ac_save_CFLAGS
="$CFLAGS"
8788 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8789 echo "configure:8790: checking whether ${CC-cc} accepts -g" >&5
8790 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8791 echo $ac_n "(cached) $ac_c" 1>&6
8793 echo 'void f(){}' > conftest.c
8794 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8803 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8804 if test "$ac_test_CFLAGS" = set; then
8805 CFLAGS
="$ac_save_CFLAGS"
8806 elif test $ac_cv_prog_cc_g = yes; then
8807 if test "$GCC" = yes; then
8813 if test "$GCC" = yes; then
8821 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8822 echo "configure:8823: checking how to run the C preprocessor" >&5
8823 # On Suns, sometimes $CPP names a directory.
8824 if test -n "$CPP" && test -d "$CPP"; then
8827 if test -z "$CPP"; then
8828 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8829 echo $ac_n "(cached) $ac_c" 1>&6
8831 # This must be in double quotes, not single quotes, because CPP may get
8832 # substituted into the Makefile and "${CC-cc}" will confuse make.
8834 # On the NeXT, cc -E runs the code through the compiler's parser,
8835 # not just through cpp.
8836 cat > conftest.
$ac_ext <<EOF
8837 #line 8838 "configure"
8838 #include "confdefs.h"
8842 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8843 { (eval echo configure
:8844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8844 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8845 if test -z "$ac_err"; then
8849 echo "configure: failed program was:" >&5
8850 cat conftest.
$ac_ext >&5
8852 CPP
="${CC-cc} -E -traditional-cpp"
8853 cat > conftest.
$ac_ext <<EOF
8854 #line 8855 "configure"
8855 #include "confdefs.h"
8859 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8860 { (eval echo configure
:8861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8861 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8862 if test -z "$ac_err"; then
8866 echo "configure: failed program was:" >&5
8867 cat conftest.
$ac_ext >&5
8869 CPP
="${CC-cc} -nologo -E"
8870 cat > conftest.
$ac_ext <<EOF
8871 #line 8872 "configure"
8872 #include "confdefs.h"
8876 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8877 { (eval echo configure
:8878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8878 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8879 if test -z "$ac_err"; then
8883 echo "configure: failed program was:" >&5
8884 cat conftest.
$ac_ext >&5
8893 ac_cv_prog_CPP
="$CPP"
8895 CPP
="$ac_cv_prog_CPP"
8897 ac_cv_prog_CPP
="$CPP"
8899 echo "$ac_t""$CPP" 1>&6
8901 if test $ac_cv_prog_gcc = yes; then
8902 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8903 echo "configure:8904: checking whether ${CC-cc} needs -traditional" >&5
8904 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8905 echo $ac_n "(cached) $ac_c" 1>&6
8907 ac_pattern
="Autoconf.*'x'"
8908 cat > conftest.
$ac_ext <<EOF
8909 #line 8910 "configure"
8910 #include "confdefs.h"
8914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8915 egrep "$ac_pattern" >/dev
/null
2>&1; then
8917 ac_cv_prog_gcc_traditional
=yes
8920 ac_cv_prog_gcc_traditional
=no
8925 if test $ac_cv_prog_gcc_traditional = no
; then
8926 cat > conftest.
$ac_ext <<EOF
8927 #line 8928 "configure"
8928 #include "confdefs.h"
8932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8933 egrep "$ac_pattern" >/dev
/null
2>&1; then
8935 ac_cv_prog_gcc_traditional
=yes
8942 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8943 if test $ac_cv_prog_gcc_traditional = yes; then
8944 CC
="$CC -traditional"
8951 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8952 ac_cpp
='$CXXCPP $CPPFLAGS'
8953 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8954 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8955 cross_compiling
=$ac_cv_prog_cxx_cross
8958 CXXFLAGS
=${CXXFLAGS:=}
8959 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8961 # Extract the first word of "$ac_prog", so it can be a program name with args.
8962 set dummy
$ac_prog; ac_word
=$2
8963 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8964 echo "configure:8965: checking for $ac_word" >&5
8965 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8966 echo $ac_n "(cached) $ac_c" 1>&6
8968 if test -n "$CXX"; then
8969 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8971 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8973 for ac_dir
in $ac_dummy; do
8974 test -z "$ac_dir" && ac_dir
=.
8975 if test -f $ac_dir/$ac_word; then
8976 ac_cv_prog_CXX
="$ac_prog"
8983 CXX
="$ac_cv_prog_CXX"
8984 if test -n "$CXX"; then
8985 echo "$ac_t""$CXX" 1>&6
8987 echo "$ac_t""no" 1>&6
8990 test -n "$CXX" && break
8992 test -n "$CXX" || CXX
="gcc"
8995 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8996 echo "configure:8997: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8999 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9000 ac_cpp
='$CXXCPP $CPPFLAGS'
9001 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9002 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9003 cross_compiling
=$ac_cv_prog_cxx_cross
9005 cat > conftest.
$ac_ext << EOF
9007 #line 9008 "configure"
9008 #include "confdefs.h"
9010 int main(){return(0);}
9012 if { (eval echo configure
:9013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9013 ac_cv_prog_cxx_works
=yes
9014 # If we can't run a trivial program, we are probably using a cross compiler.
9015 if (.
/conftest
; exit) 2>/dev
/null
; then
9016 ac_cv_prog_cxx_cross
=no
9018 ac_cv_prog_cxx_cross
=yes
9021 echo "configure: failed program was:" >&5
9022 cat conftest.
$ac_ext >&5
9023 ac_cv_prog_cxx_works
=no
9027 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9028 ac_cpp
='$CXXCPP $CPPFLAGS'
9029 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9030 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9031 cross_compiling
=$ac_cv_prog_cxx_cross
9033 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9034 if test $ac_cv_prog_cxx_works = no
; then
9035 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9037 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9038 echo "configure:9039: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9039 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9040 cross_compiling
=$ac_cv_prog_cxx_cross
9042 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9043 echo "configure:9044: checking whether we are using GNU C++" >&5
9044 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9045 echo $ac_n "(cached) $ac_c" 1>&6
9047 cat > conftest.C
<<EOF
9052 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9059 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9061 if test $ac_cv_prog_gxx = yes; then
9067 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9068 ac_save_CXXFLAGS
="$CXXFLAGS"
9070 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9071 echo "configure:9072: checking whether ${CXX-g++} accepts -g" >&5
9072 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9073 echo $ac_n "(cached) $ac_c" 1>&6
9075 echo 'void f(){}' > conftest.cc
9076 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9077 ac_cv_prog_cxx_g
=yes
9085 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9086 if test "$ac_test_CXXFLAGS" = set; then
9087 CXXFLAGS
="$ac_save_CXXFLAGS"
9088 elif test $ac_cv_prog_cxx_g = yes; then
9089 if test "$GXX" = yes; then
9095 if test "$GXX" = yes; then
9104 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9105 ac_cpp
='$CPP $CPPFLAGS'
9106 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9107 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9108 cross_compiling
=$ac_cv_prog_cc_cross
9111 # Extract the first word of "ranlib", so it can be a program name with args.
9112 set dummy ranlib
; ac_word
=$2
9113 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9114 echo "configure:9115: checking for $ac_word" >&5
9115 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9116 echo $ac_n "(cached) $ac_c" 1>&6
9118 if test -n "$RANLIB"; then
9119 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9121 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9123 for ac_dir
in $ac_dummy; do
9124 test -z "$ac_dir" && ac_dir
=.
9125 if test -f $ac_dir/$ac_word; then
9126 ac_cv_prog_RANLIB
="ranlib"
9131 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9134 RANLIB
="$ac_cv_prog_RANLIB"
9135 if test -n "$RANLIB"; then
9136 echo "$ac_t""$RANLIB" 1>&6
9138 echo "$ac_t""no" 1>&6
9142 # Extract the first word of "ar", so it can be a program name with args.
9143 set dummy
ar; ac_word
=$2
9144 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9145 echo "configure:9146: checking for $ac_word" >&5
9146 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9147 echo $ac_n "(cached) $ac_c" 1>&6
9149 if test -n "$AR"; then
9150 ac_cv_prog_AR
="$AR" # Let the user override the test.
9152 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9154 for ac_dir
in $ac_dummy; do
9155 test -z "$ac_dir" && ac_dir
=.
9156 if test -f $ac_dir/$ac_word; then
9162 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9166 if test -n "$AR"; then
9167 echo "$ac_t""$AR" 1>&6
9169 echo "$ac_t""no" 1>&6
9173 # Find a good install program. We prefer a C program (faster),
9174 # so one script is as good as another. But avoid the broken or
9175 # incompatible versions:
9176 # SysV /etc/install, /usr/sbin/install
9177 # SunOS /usr/etc/install
9178 # IRIX /sbin/install
9180 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9181 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9182 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9183 # ./install, which can be erroneously created by make from ./install.sh.
9184 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9185 echo "configure:9186: checking for a BSD compatible install" >&5
9186 if test -z "$INSTALL"; then
9187 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9188 echo $ac_n "(cached) $ac_c" 1>&6
9190 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9191 for ac_dir
in $PATH; do
9192 # Account for people who put trailing slashes in PATH elements.
9194 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9196 # OSF1 and SCO ODT 3.0 have their own names for install.
9197 # Don't use installbsd from OSF since it installs stuff as root
9199 for ac_prog
in ginstall scoinst
install; do
9200 if test -f $ac_dir/$ac_prog; then
9201 if test $ac_prog = install &&
9202 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9203 # AIX install. It has an incompatible calling convention.
9206 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9217 if test "${ac_cv_path_install+set}" = set; then
9218 INSTALL
="$ac_cv_path_install"
9220 # As a last resort, use the slow shell script. We don't cache a
9221 # path for INSTALL within a source directory, because that will
9222 # break other packages using the cache if that directory is
9223 # removed, or if the path is relative.
9224 INSTALL
="$ac_install_sh"
9227 echo "$ac_t""$INSTALL" 1>&6
9229 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9230 # It thinks the first close brace ends the variable substitution.
9231 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9233 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9235 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9242 INSTALL
=`pwd`/${INSTALL} ;;
9249 INSTALL_PROGRAM
="cp -fp"
9250 INSTALL_DATA
="cp -fp"
9256 # Extract the first word of "strip", so it can be a program name with args.
9257 set dummy strip
; ac_word
=$2
9258 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9259 echo "configure:9260: checking for $ac_word" >&5
9260 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9261 echo $ac_n "(cached) $ac_c" 1>&6
9263 if test -n "$STRIP"; then
9264 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9266 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9268 for ac_dir
in $ac_dummy; do
9269 test -z "$ac_dir" && ac_dir
=.
9270 if test -f $ac_dir/$ac_word; then
9271 ac_cv_prog_STRIP
="strip"
9276 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9279 STRIP
="$ac_cv_prog_STRIP"
9280 if test -n "$STRIP"; then
9281 echo "$ac_t""$STRIP" 1>&6
9283 echo "$ac_t""no" 1>&6
9287 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9288 echo "configure:9289: checking if make is GNU make" >&5
9289 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9290 echo $ac_n "(cached) $ac_c" 1>&6
9293 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9294 egrep -s GNU
> /dev
/null
); then
9295 wx_cv_prog_makeisgnu
="yes"
9297 wx_cv_prog_makeisgnu
="no"
9302 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9304 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9312 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9313 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9314 echo "configure:9315: checking if make supports VPATH" >&5
9315 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9316 echo $ac_n "(cached) $ac_c" 1>&6
9319 cat - << EOF > confMake
9325 if test ! -d sub
; then
9328 echo dummy
> sub
/file
9329 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9331 rm -f sub
/file check final_file confMake
9333 if test "$RESULT" = 0; then
9334 wx_cv_prog_makevpath
="yes"
9336 wx_cv_prog_makevpath
="no"
9341 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9343 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9344 { echo "configure: error:
9345 You need a make-utility that is able to use the variable
9347 If your version of make does not support VPATH correctly,
9348 please install GNU-make (possibly as gmake), and start
9349 configure with the following command:
9350 export MAKE=gmake; ./configure for sh-type shells
9351 setenv MAKE gmake; ./configure for csh-type shells
9352 Also please do remember to use gmake in this case every time
9353 you are trying to compile.
9356 for ac_prog
in 'bison -y' byacc
9358 # Extract the first word of "$ac_prog", so it can be a program name with args.
9359 set dummy
$ac_prog; ac_word
=$2
9360 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9361 echo "configure:9362: checking for $ac_word" >&5
9362 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9363 echo $ac_n "(cached) $ac_c" 1>&6
9365 if test -n "$YACC"; then
9366 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9368 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9370 for ac_dir
in $ac_dummy; do
9371 test -z "$ac_dir" && ac_dir
=.
9372 if test -f $ac_dir/$ac_word; then
9373 ac_cv_prog_YACC
="$ac_prog"
9380 YACC
="$ac_cv_prog_YACC"
9381 if test -n "$YACC"; then
9382 echo "$ac_t""$YACC" 1>&6
9384 echo "$ac_t""no" 1>&6
9387 test -n "$YACC" && break
9389 test -n "$YACC" || YACC
="yacc"
9392 # Extract the first word of "flex", so it can be a program name with args.
9393 set dummy flex
; ac_word
=$2
9394 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9395 echo "configure:9396: checking for $ac_word" >&5
9396 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9397 echo $ac_n "(cached) $ac_c" 1>&6
9399 if test -n "$LEX"; then
9400 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9402 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9404 for ac_dir
in $ac_dummy; do
9405 test -z "$ac_dir" && ac_dir
=.
9406 if test -f $ac_dir/$ac_word; then
9407 ac_cv_prog_LEX
="flex"
9412 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9415 LEX
="$ac_cv_prog_LEX"
9416 if test -n "$LEX"; then
9417 echo "$ac_t""$LEX" 1>&6
9419 echo "$ac_t""no" 1>&6
9422 if test -z "$LEXLIB"
9428 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9429 echo "configure:9430: checking for yywrap in -l$ac_lib" >&5
9430 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9431 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9432 echo $ac_n "(cached) $ac_c" 1>&6
9434 ac_save_LIBS
="$LIBS"
9435 LIBS
="-l$ac_lib $LIBS"
9436 cat > conftest.
$ac_ext <<EOF
9437 #line 9438 "configure"
9438 #include "confdefs.h"
9439 /* Override any gcc2 internal prototype to avoid an error. */
9440 /* We use char because int might match the return type of a gcc2
9441 builtin and then its argument prototype would still apply. */
9448 if { (eval echo configure
:9449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9450 eval "ac_cv_lib_$ac_lib_var=yes"
9452 echo "configure: failed program was:" >&5
9453 cat conftest.
$ac_ext >&5
9455 eval "ac_cv_lib_$ac_lib_var=no"
9458 LIBS
="$ac_save_LIBS"
9461 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9462 echo "$ac_t""yes" 1>&6
9465 echo "$ac_t""no" 1>&6
9471 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9472 echo "configure:9473: checking whether ln -s works" >&5
9473 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9474 echo $ac_n "(cached) $ac_c" 1>&6
9477 if ln -s X conftestdata
2>/dev
/null
9480 ac_cv_prog_LN_S
="ln -s"
9485 LN_S
="$ac_cv_prog_LN_S"
9486 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9487 echo "$ac_t""yes" 1>&6
9489 echo "$ac_t""no" 1>&6
9494 if test "$wxUSE_MAC" != 1; then
9495 for ac_hdr
in strings.h
9497 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9498 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9499 echo "configure:9500: checking for $ac_hdr" >&5
9500 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9501 echo $ac_n "(cached) $ac_c" 1>&6
9503 cat > conftest.
$ac_ext <<EOF
9504 #line 9505 "configure"
9505 #include "confdefs.h"
9508 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9509 { (eval echo configure
:9510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9510 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9511 if test -z "$ac_err"; then
9513 eval "ac_cv_header_$ac_safe=yes"
9516 echo "configure: failed program was:" >&5
9517 cat conftest.
$ac_ext >&5
9519 eval "ac_cv_header_$ac_safe=no"
9523 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9524 echo "$ac_t""yes" 1>&6
9525 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9526 cat >> confdefs.h
<<EOF
9527 #define $ac_tr_hdr 1
9531 echo "$ac_t""no" 1>&6
9537 for ac_hdr
in stdlib.h
9539 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9540 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9541 echo "configure:9542: checking for $ac_hdr" >&5
9542 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9543 echo $ac_n "(cached) $ac_c" 1>&6
9545 cat > conftest.
$ac_ext <<EOF
9546 #line 9547 "configure"
9547 #include "confdefs.h"
9550 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9551 { (eval echo configure
:9552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9552 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9553 if test -z "$ac_err"; then
9555 eval "ac_cv_header_$ac_safe=yes"
9558 echo "configure: failed program was:" >&5
9559 cat conftest.
$ac_ext >&5
9561 eval "ac_cv_header_$ac_safe=no"
9565 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9566 echo "$ac_t""yes" 1>&6
9567 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9568 cat >> confdefs.h
<<EOF
9569 #define $ac_tr_hdr 1
9573 echo "$ac_t""no" 1>&6
9577 for ac_hdr
in malloc.h
9579 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9580 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9581 echo "configure:9582: checking for $ac_hdr" >&5
9582 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9583 echo $ac_n "(cached) $ac_c" 1>&6
9585 cat > conftest.
$ac_ext <<EOF
9586 #line 9587 "configure"
9587 #include "confdefs.h"
9590 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9591 { (eval echo configure
:9592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9592 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9593 if test -z "$ac_err"; then
9595 eval "ac_cv_header_$ac_safe=yes"
9598 echo "configure: failed program was:" >&5
9599 cat conftest.
$ac_ext >&5
9601 eval "ac_cv_header_$ac_safe=no"
9605 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9606 echo "$ac_t""yes" 1>&6
9607 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9608 cat >> confdefs.h
<<EOF
9609 #define $ac_tr_hdr 1
9613 echo "$ac_t""no" 1>&6
9617 for ac_hdr
in unistd.h
9619 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9620 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9621 echo "configure:9622: checking for $ac_hdr" >&5
9622 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9623 echo $ac_n "(cached) $ac_c" 1>&6
9625 cat > conftest.
$ac_ext <<EOF
9626 #line 9627 "configure"
9627 #include "confdefs.h"
9630 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9631 { (eval echo configure
:9632: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9632 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9633 if test -z "$ac_err"; then
9635 eval "ac_cv_header_$ac_safe=yes"
9638 echo "configure: failed program was:" >&5
9639 cat conftest.
$ac_ext >&5
9641 eval "ac_cv_header_$ac_safe=no"
9645 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9646 echo "$ac_t""yes" 1>&6
9647 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9648 cat >> confdefs.h
<<EOF
9649 #define $ac_tr_hdr 1
9653 echo "$ac_t""no" 1>&6
9657 for ac_hdr
in wchar.h
9659 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9660 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9661 echo "configure:9662: checking for $ac_hdr" >&5
9662 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9663 echo $ac_n "(cached) $ac_c" 1>&6
9665 cat > conftest.
$ac_ext <<EOF
9666 #line 9667 "configure"
9667 #include "confdefs.h"
9670 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9671 { (eval echo configure
:9672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9672 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9673 if test -z "$ac_err"; then
9675 eval "ac_cv_header_$ac_safe=yes"
9678 echo "configure: failed program was:" >&5
9679 cat conftest.
$ac_ext >&5
9681 eval "ac_cv_header_$ac_safe=no"
9685 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9686 echo "$ac_t""yes" 1>&6
9687 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9688 cat >> confdefs.h
<<EOF
9689 #define $ac_tr_hdr 1
9693 echo "$ac_t""no" 1>&6
9698 if test "$ac_cv_header_wchar_h" != "yes"; then
9699 for ac_hdr
in wcstr.h
9701 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9702 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9703 echo "configure:9704: checking for $ac_hdr" >&5
9704 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9705 echo $ac_n "(cached) $ac_c" 1>&6
9707 cat > conftest.
$ac_ext <<EOF
9708 #line 9709 "configure"
9709 #include "confdefs.h"
9712 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9713 { (eval echo configure
:9714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9714 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9715 if test -z "$ac_err"; then
9717 eval "ac_cv_header_$ac_safe=yes"
9720 echo "configure: failed program was:" >&5
9721 cat conftest.
$ac_ext >&5
9723 eval "ac_cv_header_$ac_safe=no"
9727 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9728 echo "$ac_t""yes" 1>&6
9729 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9730 cat >> confdefs.h
<<EOF
9731 #define $ac_tr_hdr 1
9735 echo "$ac_t""no" 1>&6
9742 for ac_hdr
in fnmatch.h
9744 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9745 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9746 echo "configure:9747: checking for $ac_hdr" >&5
9747 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9748 echo $ac_n "(cached) $ac_c" 1>&6
9750 cat > conftest.
$ac_ext <<EOF
9751 #line 9752 "configure"
9752 #include "confdefs.h"
9755 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9756 { (eval echo configure
:9757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9757 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9758 if test -z "$ac_err"; then
9760 eval "ac_cv_header_$ac_safe=yes"
9763 echo "configure: failed program was:" >&5
9764 cat conftest.
$ac_ext >&5
9766 eval "ac_cv_header_$ac_safe=no"
9770 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9771 echo "$ac_t""yes" 1>&6
9772 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9773 cat >> confdefs.h
<<EOF
9774 #define $ac_tr_hdr 1
9778 echo "$ac_t""no" 1>&6
9783 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
9784 for ac_func
in fnmatch
9786 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9787 echo "configure:9788: checking for $ac_func" >&5
9788 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9789 echo $ac_n "(cached) $ac_c" 1>&6
9791 cat > conftest.
$ac_ext <<EOF
9792 #line 9793 "configure"
9793 #include "confdefs.h"
9794 /* System header to define __stub macros and hopefully few prototypes,
9795 which can conflict with char $ac_func(); below. */
9797 /* Override any gcc2 internal prototype to avoid an error. */
9798 /* We use char because int might match the return type of a gcc2
9799 builtin and then its argument prototype would still apply. */
9804 /* The GNU C library defines this for functions which it implements
9805 to always fail with ENOSYS. Some functions are actually named
9806 something starting with __ and the normal name is an alias. */
9807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9815 if { (eval echo configure
:9816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9817 eval "ac_cv_func_$ac_func=yes"
9819 echo "configure: failed program was:" >&5
9820 cat conftest.
$ac_ext >&5
9822 eval "ac_cv_func_$ac_func=no"
9827 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9828 echo "$ac_t""yes" 1>&6
9829 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9830 cat >> confdefs.h
<<EOF
9831 #define $ac_tr_func 1
9835 echo "$ac_t""no" 1>&6
9841 for ac_hdr
in langinfo.h
9843 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9844 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9845 echo "configure:9846: checking for $ac_hdr" >&5
9846 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9847 echo $ac_n "(cached) $ac_c" 1>&6
9849 cat > conftest.
$ac_ext <<EOF
9850 #line 9851 "configure"
9851 #include "confdefs.h"
9854 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9855 { (eval echo configure
:9856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9856 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9857 if test -z "$ac_err"; then
9859 eval "ac_cv_header_$ac_safe=yes"
9862 echo "configure: failed program was:" >&5
9863 cat conftest.
$ac_ext >&5
9865 eval "ac_cv_header_$ac_safe=no"
9869 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9870 echo "$ac_t""yes" 1>&6
9871 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9872 cat >> confdefs.h
<<EOF
9873 #define $ac_tr_hdr 1
9877 echo "$ac_t""no" 1>&6
9882 if test "$wxUSE_GUI" = "yes"; then
9883 if test "$wxUSE_UNIX" = "yes"; then
9884 for ac_hdr
in X
11/XKBlib.h
9886 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9887 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9888 echo "configure:9889: checking for $ac_hdr" >&5
9889 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9890 echo $ac_n "(cached) $ac_c" 1>&6
9892 cat > conftest.
$ac_ext <<EOF
9893 #line 9894 "configure"
9894 #include "confdefs.h"
9897 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9898 { (eval echo configure
:9899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9899 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9900 if test -z "$ac_err"; then
9902 eval "ac_cv_header_$ac_safe=yes"
9905 echo "configure: failed program was:" >&5
9906 cat conftest.
$ac_ext >&5
9908 eval "ac_cv_header_$ac_safe=no"
9912 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9913 echo "$ac_t""yes" 1>&6
9914 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9915 cat >> confdefs.h
<<EOF
9916 #define $ac_tr_hdr 1
9920 echo "$ac_t""no" 1>&6
9928 echo $ac_n "checking for working const""... $ac_c" 1>&6
9929 echo "configure:9930: checking for working const" >&5
9930 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9931 echo $ac_n "(cached) $ac_c" 1>&6
9933 cat > conftest.
$ac_ext <<EOF
9934 #line 9935 "configure"
9935 #include "confdefs.h"
9939 /* Ultrix mips cc rejects this. */
9940 typedef int charset[2]; const charset x;
9941 /* SunOS 4.1.1 cc rejects this. */
9942 char const *const *ccp;
9944 /* NEC SVR4.0.2 mips cc rejects this. */
9945 struct point {int x, y;};
9946 static struct point const zero = {0,0};
9947 /* AIX XL C 1.02.0.0 rejects this.
9948 It does not let you subtract one const X* pointer from another in an arm
9949 of an if-expression whose if-part is not a constant expression */
9950 const char *g = "string";
9951 ccp = &g + (g ? g-g : 0);
9952 /* HPUX 7.0 cc rejects these. */
9955 ccp = (char const *const *) p;
9956 { /* SCO 3.2v4 cc rejects this. */
9958 char const *s = 0 ? (char *) 0 : (char const *) 0;
9962 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9964 const int *foo = &x[0];
9967 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9968 typedef const int *iptr;
9972 { /* AIX XL C 1.02.0.0 rejects this saying
9973 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9974 struct s { int j; const int *ap[3]; };
9975 struct s *b; b->j = 5;
9977 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9983 if { (eval echo configure
:9984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9987 echo "configure: failed program was:" >&5
9988 cat conftest.
$ac_ext >&5
9995 echo "$ac_t""$ac_cv_c_const" 1>&6
9996 if test $ac_cv_c_const = no
; then
9997 cat >> confdefs.h
<<\EOF
10003 echo $ac_n "checking for inline""... $ac_c" 1>&6
10004 echo "configure:10005: checking for inline" >&5
10005 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10006 echo $ac_n "(cached) $ac_c" 1>&6
10009 for ac_kw
in inline __inline__ __inline
; do
10010 cat > conftest.
$ac_ext <<EOF
10011 #line 10012 "configure"
10012 #include "confdefs.h"
10018 if { (eval echo configure
:10019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10020 ac_cv_c_inline
=$ac_kw; break
10022 echo "configure: failed program was:" >&5
10023 cat conftest.
$ac_ext >&5
10030 echo "$ac_t""$ac_cv_c_inline" 1>&6
10031 case "$ac_cv_c_inline" in
10033 no
) cat >> confdefs.h
<<\EOF
10037 *) cat >> confdefs.h
<<EOF
10038 #define inline $ac_cv_c_inline
10044 echo $ac_n "checking size of char""... $ac_c" 1>&6
10045 echo "configure:10046: checking size of char" >&5
10046 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10047 echo $ac_n "(cached) $ac_c" 1>&6
10049 if test "$cross_compiling" = yes; then
10050 ac_cv_sizeof_char
=1
10052 cat > conftest.
$ac_ext <<EOF
10053 #line 10054 "configure"
10054 #include "confdefs.h"
10058 FILE *f=fopen("conftestval", "w");
10060 fprintf(f, "%d\n", sizeof(char));
10064 if { (eval echo configure
:10065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10066 ac_cv_sizeof_char
=`cat conftestval`
10068 echo "configure: failed program was:" >&5
10069 cat conftest.
$ac_ext >&5
10071 ac_cv_sizeof_char
=0
10077 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10078 cat >> confdefs.h
<<EOF
10079 #define SIZEOF_CHAR $ac_cv_sizeof_char
10083 echo $ac_n "checking size of short""... $ac_c" 1>&6
10084 echo "configure:10085: checking size of short" >&5
10085 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10086 echo $ac_n "(cached) $ac_c" 1>&6
10088 if test "$cross_compiling" = yes; then
10089 ac_cv_sizeof_short
=2
10091 cat > conftest.
$ac_ext <<EOF
10092 #line 10093 "configure"
10093 #include "confdefs.h"
10097 FILE *f=fopen("conftestval", "w");
10099 fprintf(f, "%d\n", sizeof(short));
10103 if { (eval echo configure
:10104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10105 ac_cv_sizeof_short
=`cat conftestval`
10107 echo "configure: failed program was:" >&5
10108 cat conftest.
$ac_ext >&5
10110 ac_cv_sizeof_short
=0
10116 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10117 cat >> confdefs.h
<<EOF
10118 #define SIZEOF_SHORT $ac_cv_sizeof_short
10122 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10123 echo "configure:10124: checking size of void *" >&5
10124 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10125 echo $ac_n "(cached) $ac_c" 1>&6
10127 if test "$cross_compiling" = yes; then
10128 ac_cv_sizeof_void_p
=4
10130 cat > conftest.
$ac_ext <<EOF
10131 #line 10132 "configure"
10132 #include "confdefs.h"
10136 FILE *f=fopen("conftestval", "w");
10138 fprintf(f, "%d\n", sizeof(void *));
10142 if { (eval echo configure
:10143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10144 ac_cv_sizeof_void_p
=`cat conftestval`
10146 echo "configure: failed program was:" >&5
10147 cat conftest.
$ac_ext >&5
10149 ac_cv_sizeof_void_p
=0
10155 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10156 cat >> confdefs.h
<<EOF
10157 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10161 echo $ac_n "checking size of int""... $ac_c" 1>&6
10162 echo "configure:10163: checking size of int" >&5
10163 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10164 echo $ac_n "(cached) $ac_c" 1>&6
10166 if test "$cross_compiling" = yes; then
10169 cat > conftest.
$ac_ext <<EOF
10170 #line 10171 "configure"
10171 #include "confdefs.h"
10175 FILE *f=fopen("conftestval", "w");
10177 fprintf(f, "%d\n", sizeof(int));
10181 if { (eval echo configure
:10182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10183 ac_cv_sizeof_int
=`cat conftestval`
10185 echo "configure: failed program was:" >&5
10186 cat conftest.
$ac_ext >&5
10194 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10195 cat >> confdefs.h
<<EOF
10196 #define SIZEOF_INT $ac_cv_sizeof_int
10200 echo $ac_n "checking size of long""... $ac_c" 1>&6
10201 echo "configure:10202: checking size of long" >&5
10202 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10203 echo $ac_n "(cached) $ac_c" 1>&6
10205 if test "$cross_compiling" = yes; then
10206 ac_cv_sizeof_long
=4
10208 cat > conftest.
$ac_ext <<EOF
10209 #line 10210 "configure"
10210 #include "confdefs.h"
10214 FILE *f=fopen("conftestval", "w");
10216 fprintf(f, "%d\n", sizeof(long));
10220 if { (eval echo configure
:10221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10222 ac_cv_sizeof_long
=`cat conftestval`
10224 echo "configure: failed program was:" >&5
10225 cat conftest.
$ac_ext >&5
10227 ac_cv_sizeof_long
=0
10233 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10234 cat >> confdefs.h
<<EOF
10235 #define SIZEOF_LONG $ac_cv_sizeof_long
10242 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10243 echo "configure:10244: checking size of long long" >&5
10244 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10245 echo $ac_n "(cached) $ac_c" 1>&6
10247 if test "$cross_compiling" = yes; then
10248 ac_cv_sizeof_long_long
=8
10250 cat > conftest.
$ac_ext <<EOF
10251 #line 10252 "configure"
10252 #include "confdefs.h"
10256 FILE *f=fopen("conftestval", "w");
10258 fprintf(f, "%d\n", sizeof(long long));
10262 if { (eval echo configure
:10263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10264 ac_cv_sizeof_long_long
=`cat conftestval`
10266 echo "configure: failed program was:" >&5
10267 cat conftest.
$ac_ext >&5
10269 ac_cv_sizeof_long_long
=0
10275 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10276 cat >> confdefs.h
<<EOF
10277 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10283 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10284 echo "configure:10285: checking size of long long" >&5
10285 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10286 echo $ac_n "(cached) $ac_c" 1>&6
10288 if test "$cross_compiling" = yes; then
10289 ac_cv_sizeof_long_long
=0
10291 cat > conftest.
$ac_ext <<EOF
10292 #line 10293 "configure"
10293 #include "confdefs.h"
10297 FILE *f=fopen("conftestval", "w");
10299 fprintf(f, "%d\n", sizeof(long long));
10303 if { (eval echo configure
:10304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10305 ac_cv_sizeof_long_long
=`cat conftestval`
10307 echo "configure: failed program was:" >&5
10308 cat conftest.
$ac_ext >&5
10310 ac_cv_sizeof_long_long
=0
10316 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10317 cat >> confdefs.h
<<EOF
10318 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10324 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10325 echo "configure:10326: checking size of wchar_t" >&5
10326 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10327 echo $ac_n "(cached) $ac_c" 1>&6
10330 if test "$cross_compiling" = yes; then
10331 wx_cv_sizeof_wchar_t
=4
10334 cat > conftest.
$ac_ext <<EOF
10335 #line 10336 "configure"
10336 #include "confdefs.h"
10338 #ifdef HAVE_WCHAR_H
10340 # include <stddef.h>
10342 # include <wchar.h>
10344 #ifdef HAVE_STDLIB_H
10345 # include <stdlib.h>
10350 FILE *f=fopen("conftestval", "w");
10352 fprintf(f, "%i", sizeof(wchar_t));
10357 if { (eval echo configure
:10358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10359 wx_cv_sizeof_wchar_t
=`cat conftestval`
10361 echo "configure: failed program was:" >&5
10362 cat conftest.
$ac_ext >&5
10364 wx_cv_sizeof_wchar_t
=0
10372 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10374 cat >> confdefs.h
<<EOF
10375 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10379 # Check whether --enable-largefile or --disable-largefile was given.
10380 if test "${enable_largefile+set}" = set; then
10381 enableval
="$enable_largefile"
10385 if test "$enable_largefile" != no
; then
10388 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10389 echo "configure:10390: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10390 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10391 echo $ac_n "(cached) $ac_c" 1>&6
10394 cat > conftest.
$ac_ext <<EOF
10395 #line 10396 "configure"
10396 #include "confdefs.h"
10397 #define _FILE_OFFSET_BITS 64
10398 #include <sys/types.h>
10401 unsigned int field: sizeof(off_t) == 8;
10406 if { (eval echo configure
:10407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10408 ac_cv_sys_file_offset_bits
=64
10410 echo "configure: failed program was:" >&5
10411 cat conftest.
$ac_ext >&5
10413 ac_cv_sys_file_offset_bits
=no
10420 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10422 if test "$ac_cv_sys_file_offset_bits" != no
; then
10424 cat >> confdefs.h
<<EOF
10425 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10430 if test "x$wx_largefile" != "xyes"; then
10432 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10433 echo "configure:10434: checking for _LARGE_FILES value needed for large files" >&5
10434 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10435 echo $ac_n "(cached) $ac_c" 1>&6
10438 cat > conftest.
$ac_ext <<EOF
10439 #line 10440 "configure"
10440 #include "confdefs.h"
10441 #define _LARGE_FILES 1
10442 #include <sys/types.h>
10445 unsigned int field: sizeof(off_t) == 8;
10450 if { (eval echo configure
:10451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10452 ac_cv_sys_large_files
=1
10454 echo "configure: failed program was:" >&5
10455 cat conftest.
$ac_ext >&5
10457 ac_cv_sys_large_files
=no
10464 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10466 if test "$ac_cv_sys_large_files" != no
; then
10468 cat >> confdefs.h
<<EOF
10469 #define _LARGE_FILES $ac_cv_sys_large_files
10476 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10477 echo "configure:10478: checking if large file support is available" >&5
10478 if test "x$wx_largefile" = "xyes"; then
10479 cat >> confdefs.h
<<\EOF
10480 #define HAVE_LARGEFILE_SUPPORT 1
10484 echo "$ac_t""$wx_largefile" 1>&6
10488 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10489 echo "configure:10490: checking whether byte ordering is bigendian" >&5
10490 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10491 echo $ac_n "(cached) $ac_c" 1>&6
10493 ac_cv_c_bigendian
=unknown
10494 # See if sys/param.h defines the BYTE_ORDER macro.
10495 cat > conftest.
$ac_ext <<EOF
10496 #line 10497 "configure"
10497 #include "confdefs.h"
10498 #include <sys/types.h>
10499 #include <sys/param.h>
10502 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10503 bogus endian macros
10507 if { (eval echo configure
:10508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10509 # It does; now see whether it defined to BIG_ENDIAN or not.
10510 cat > conftest.
$ac_ext <<EOF
10511 #line 10512 "configure"
10512 #include "confdefs.h"
10513 #include <sys/types.h>
10514 #include <sys/param.h>
10517 #if BYTE_ORDER != BIG_ENDIAN
10522 if { (eval echo configure
:10523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10524 ac_cv_c_bigendian
=yes
10526 echo "configure: failed program was:" >&5
10527 cat conftest.
$ac_ext >&5
10529 ac_cv_c_bigendian
=no
10533 echo "configure: failed program was:" >&5
10534 cat conftest.
$ac_ext >&5
10537 if test $ac_cv_c_bigendian = unknown
; then
10538 if test "$cross_compiling" = yes; then
10539 ac_cv_c_bigendian
=unknown
10541 cat > conftest.
$ac_ext <<EOF
10542 #line 10543 "configure"
10543 #include "confdefs.h"
10545 /* Are we little or big endian? From Harbison&Steele. */
10549 char c[sizeof (long)];
10552 exit (u.c[sizeof (long) - 1] == 1);
10555 if { (eval echo configure
:10556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10557 ac_cv_c_bigendian
=no
10559 echo "configure: failed program was:" >&5
10560 cat conftest.
$ac_ext >&5
10562 ac_cv_c_bigendian
=yes
10570 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10571 if test $ac_cv_c_bigendian = unknown
; then
10572 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
10574 if test $ac_cv_c_bigendian = yes; then
10575 cat >> confdefs.h
<<\EOF
10576 #define WORDS_BIGENDIAN 1
10582 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
10583 echo "configure:10584: checking how to run the C++ preprocessor" >&5
10584 if test -z "$CXXCPP"; then
10585 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
10586 echo $ac_n "(cached) $ac_c" 1>&6
10589 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10590 ac_cpp
='$CXXCPP $CPPFLAGS'
10591 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10592 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10593 cross_compiling
=$ac_cv_prog_cxx_cross
10594 CXXCPP
="${CXX-g++} -E"
10595 cat > conftest.
$ac_ext <<EOF
10596 #line 10597 "configure"
10597 #include "confdefs.h"
10598 #include <stdlib.h>
10600 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10601 { (eval echo configure
:10602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10602 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10603 if test -z "$ac_err"; then
10607 echo "configure: failed program was:" >&5
10608 cat conftest.
$ac_ext >&5
10613 ac_cv_prog_CXXCPP
="$CXXCPP"
10615 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10616 ac_cpp
='$CXXCPP $CPPFLAGS'
10617 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10618 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10619 cross_compiling
=$ac_cv_prog_cxx_cross
10622 CXXCPP
="$ac_cv_prog_CXXCPP"
10623 echo "$ac_t""$CXXCPP" 1>&6
10626 if test "$cross_compiling" = "yes"; then
10627 cat >> confdefs.h
<<\EOF
10628 #define wxUSE_IOSTREAMH 1
10634 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10635 ac_cpp
='$CXXCPP $CPPFLAGS'
10636 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10637 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10638 cross_compiling
=$ac_cv_prog_cxx_cross
10641 for ac_hdr
in iostream
10643 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10644 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10645 echo "configure:10646: checking for $ac_hdr" >&5
10646 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10647 echo $ac_n "(cached) $ac_c" 1>&6
10649 cat > conftest.
$ac_ext <<EOF
10650 #line 10651 "configure"
10651 #include "confdefs.h"
10654 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10655 { (eval echo configure
:10656: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10656 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10657 if test -z "$ac_err"; then
10659 eval "ac_cv_header_$ac_safe=yes"
10662 echo "configure: failed program was:" >&5
10663 cat conftest.
$ac_ext >&5
10665 eval "ac_cv_header_$ac_safe=no"
10669 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10670 echo "$ac_t""yes" 1>&6
10671 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10672 cat >> confdefs.h
<<EOF
10673 #define $ac_tr_hdr 1
10677 echo "$ac_t""no" 1>&6
10682 if test "$ac_cv_header_iostream" = "yes" ; then
10685 cat >> confdefs.h
<<\EOF
10686 #define wxUSE_IOSTREAMH 1
10692 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10693 ac_cpp
='$CPP $CPPFLAGS'
10694 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10695 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10696 cross_compiling
=$ac_cv_prog_cc_cross
10702 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
10703 echo "configure:10704: checking if C++ compiler supports bool" >&5
10704 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
10705 echo $ac_n "(cached) $ac_c" 1>&6
10710 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10711 ac_cpp
='$CXXCPP $CPPFLAGS'
10712 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10713 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10714 cross_compiling
=$ac_cv_prog_cxx_cross
10717 cat > conftest.
$ac_ext <<EOF
10718 #line 10719 "configure"
10719 #include "confdefs.h"
10730 if { (eval echo configure
:10731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10736 echo "configure: failed program was:" >&5
10737 cat conftest.
$ac_ext >&5
10747 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10748 ac_cpp
='$CPP $CPPFLAGS'
10749 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10750 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10751 cross_compiling
=$ac_cv_prog_cc_cross
10756 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10758 if test "$wx_cv_cpp_bool" = "yes"; then
10759 cat >> confdefs.h
<<\EOF
10760 #define HAVE_BOOL 1
10767 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
10768 echo "configure:10769: checking if C++ compiler supports the explicit keyword" >&5
10769 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
10770 echo $ac_n "(cached) $ac_c" 1>&6
10775 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10776 ac_cpp
='$CXXCPP $CPPFLAGS'
10777 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10778 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10779 cross_compiling
=$ac_cv_prog_cxx_cross
10782 cat > conftest.
$ac_ext <<EOF
10783 #line 10784 "configure"
10784 #include "confdefs.h"
10786 class Foo { public: explicit Foo(int) {} };
10794 if { (eval echo configure
:10795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10797 cat > conftest.
$ac_ext <<EOF
10798 #line 10799 "configure"
10799 #include "confdefs.h"
10801 class Foo { public: explicit Foo(int) {} };
10802 static void TakeFoo(const Foo& foo) { }
10811 if { (eval echo configure
:10812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10815 echo "configure: failed program was:" >&5
10816 cat conftest.
$ac_ext >&5
10824 echo "configure: failed program was:" >&5
10825 cat conftest.
$ac_ext >&5
10833 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10834 ac_cpp
='$CPP $CPPFLAGS'
10835 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10836 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10837 cross_compiling
=$ac_cv_prog_cc_cross
10842 echo "$ac_t""$wx_cv_explicit" 1>&6
10844 if test "$wx_cv_explicit" = "yes"; then
10845 cat >> confdefs.h
<<\EOF
10846 #define HAVE_EXPLICIT 1
10854 /usr/local/include \
10856 /usr/Motif-1.2/include \
10857 /usr/Motif-2.1/include \
10859 /usr/include/Motif1.2 \
10860 /opt/xpm/include/X11 \
10861 /opt/GBxpm/include/ \
10862 /opt/GBxpm/X11/include/ \
10864 /usr/Motif1.2/include \
10866 /usr/openwin/include \
10870 /usr/X11R6/include \
10871 /usr/X11R6.4/include \
10872 /usr/X11R5/include \
10873 /usr/X11R4/include \
10875 /usr/include/X11R6 \
10876 /usr/include/X11R5 \
10877 /usr/include/X11R4 \
10879 /usr/local/X11R6/include \
10880 /usr/local/X11R5/include \
10881 /usr/local/X11R4/include \
10883 /usr/local/include/X11R6 \
10884 /usr/local/include/X11R5 \
10885 /usr/local/include/X11R4 \
10889 /usr/local/X11/include \
10890 /usr/local/include/X11 \
10892 /usr/X386/include \
10893 /usr/x386/include \
10894 /usr/XFree86/include/X11 \
10896 X:/XFree86/include \
10897 X:/XFree86/include/X11 \
10900 /usr/local/include/gtk \
10901 /usr/include/glib \
10902 /usr/local/include/glib \
10905 /usr/local/include/qt \
10907 /usr/include/windows \
10908 /usr/include/wine \
10909 /usr/local/include/wine \
10911 /usr/unsupported/include \
10912 /usr/athena/include \
10913 /usr/local/x11r5/include \
10914 /usr/lpp/Xamples/include \
10916 /usr/openwin/share/include \
10920 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
10923 cat > confcache
<<\EOF
10924 # This file is a shell script that caches the results of configure
10925 # tests run on this system so they can be shared between configure
10926 # scripts and configure runs. It is not useful on other systems.
10927 # If it contains results you don't want to keep, you may remove or edit it.
10929 # By default, configure uses ./config.cache as the cache file,
10930 # creating it if it does not exist already. You can give configure
10931 # the --cache-file=FILE option to use a different cache file; that is
10932 # what configure does when it calls configure scripts in
10933 # subdirectories, so they share the cache.
10934 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10935 # config.status only pays attention to the cache file if you give it the
10936 # --recheck option to rerun configure.
10939 # The following way of writing the cache mishandles newlines in values,
10940 # but we know of no workaround that is simple, portable, and efficient.
10941 # So, don't put newlines in cache variables' values.
10942 # Ultrix sh set writes to stderr and can't be redirected directly,
10943 # and sets the high bit in the cache file unless we assign to the vars.
10945 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10947 # `set' does not quote correctly, so add quotes (double-quote substitution
10948 # turns \\\\ into \\, and sed turns \\ into \).
10950 -e "s/'/'\\\\''/g" \
10951 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10954 # `set' quotes correctly as required by POSIX, so do not add quotes.
10955 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10958 if cmp -s $cache_file confcache
; then
10961 if test -w $cache_file; then
10962 echo "updating cache $cache_file"
10963 cat confcache
> $cache_file
10965 echo "not updating unwritable cache $cache_file"
10971 if test "$USE_LINUX" = 1; then
10972 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
10973 echo "configure:10974: checking for glibc 2.1 or later" >&5
10974 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
10975 echo $ac_n "(cached) $ac_c" 1>&6
10978 cat > conftest.
$ac_ext <<EOF
10979 #line 10980 "configure"
10980 #include "confdefs.h"
10981 #include <features.h>
10984 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
10985 #error not glibc2.1
10990 if { (eval echo configure
:10991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10993 wx_cv_lib_glibc21
=yes
10996 echo "configure: failed program was:" >&5
10997 cat conftest.
$ac_ext >&5
11000 wx_cv_lib_glibc21
=no
11008 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11009 if test "$wx_cv_lib_glibc21" = "yes"; then
11010 cat >> confdefs.h
<<\EOF
11011 #define wxHAVE_GLIBC2 1
11020 if test "$wxUSE_REGEX" != "no"; then
11021 cat >> confdefs.h
<<\EOF
11022 #define wxUSE_REGEX 1
11026 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11027 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11028 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11029 echo "configure:11030: checking for regex.h" >&5
11030 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11031 echo $ac_n "(cached) $ac_c" 1>&6
11033 cat > conftest.
$ac_ext <<EOF
11034 #line 11035 "configure"
11035 #include "confdefs.h"
11038 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11039 { (eval echo configure
:11040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11040 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11041 if test -z "$ac_err"; then
11043 eval "ac_cv_header_$ac_safe=yes"
11046 echo "configure: failed program was:" >&5
11047 cat conftest.
$ac_ext >&5
11049 eval "ac_cv_header_$ac_safe=no"
11053 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11054 echo "$ac_t""yes" 1>&6
11055 for ac_func
in regcomp
11057 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11058 echo "configure:11059: checking for $ac_func" >&5
11059 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11060 echo $ac_n "(cached) $ac_c" 1>&6
11062 cat > conftest.
$ac_ext <<EOF
11063 #line 11064 "configure"
11064 #include "confdefs.h"
11065 /* System header to define __stub macros and hopefully few prototypes,
11066 which can conflict with char $ac_func(); below. */
11067 #include <assert.h>
11068 /* Override any gcc2 internal prototype to avoid an error. */
11069 /* We use char because int might match the return type of a gcc2
11070 builtin and then its argument prototype would still apply. */
11075 /* The GNU C library defines this for functions which it implements
11076 to always fail with ENOSYS. Some functions are actually named
11077 something starting with __ and the normal name is an alias. */
11078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11086 if { (eval echo configure
:11087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11088 eval "ac_cv_func_$ac_func=yes"
11090 echo "configure: failed program was:" >&5
11091 cat conftest.
$ac_ext >&5
11093 eval "ac_cv_func_$ac_func=no"
11098 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11099 echo "$ac_t""yes" 1>&6
11100 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11101 cat >> confdefs.h
<<EOF
11102 #define $ac_tr_func 1
11106 echo "$ac_t""no" 1>&6
11111 echo "$ac_t""no" 1>&6
11115 if test "x$ac_cv_func_regcomp" != "xyes"; then
11116 if test "$wxUSE_REGEX" = "sys" ; then
11117 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11119 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11120 wxUSE_REGEX
=builtin
11127 if test "$wxUSE_REGEX" = "builtin" ; then
11128 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11135 if test "$wxUSE_ZLIB" != "no" ; then
11136 cat >> confdefs.h
<<\EOF
11137 #define wxUSE_ZLIB 1
11141 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11142 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11143 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11144 echo "configure:11145: checking for zlib.h" >&5
11145 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11146 echo $ac_n "(cached) $ac_c" 1>&6
11148 cat > conftest.
$ac_ext <<EOF
11149 #line 11150 "configure"
11150 #include "confdefs.h"
11153 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11154 { (eval echo configure
:11155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11155 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11156 if test -z "$ac_err"; then
11158 eval "ac_cv_header_$ac_safe=yes"
11161 echo "configure: failed program was:" >&5
11162 cat conftest.
$ac_ext >&5
11164 eval "ac_cv_header_$ac_safe=no"
11168 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11169 echo "$ac_t""yes" 1>&6
11170 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11171 echo "configure:11172: checking for deflate in -lz" >&5
11172 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11173 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11174 echo $ac_n "(cached) $ac_c" 1>&6
11176 ac_save_LIBS
="$LIBS"
11178 cat > conftest.
$ac_ext <<EOF
11179 #line 11180 "configure"
11180 #include "confdefs.h"
11181 /* Override any gcc2 internal prototype to avoid an error. */
11182 /* We use char because int might match the return type of a gcc2
11183 builtin and then its argument prototype would still apply. */
11190 if { (eval echo configure
:11191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11192 eval "ac_cv_lib_$ac_lib_var=yes"
11194 echo "configure: failed program was:" >&5
11195 cat conftest.
$ac_ext >&5
11197 eval "ac_cv_lib_$ac_lib_var=no"
11200 LIBS
="$ac_save_LIBS"
11203 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11204 echo "$ac_t""yes" 1>&6
11207 echo "$ac_t""no" 1>&6
11211 echo "$ac_t""no" 1>&6
11215 if test "x$ZLIB_LINK" = "x" ; then
11216 if test "$wxUSE_ZLIB" = "sys" ; then
11217 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11219 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
11227 if test "$wxUSE_ZLIB" = "builtin" ; then
11228 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11235 if test "$wxUSE_LIBPNG" != "no" ; then
11236 cat >> confdefs.h
<<\EOF
11237 #define wxUSE_LIBPNG 1
11241 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11242 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11246 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11247 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11248 wxUSE_LIBPNG
=builtin
11251 if test "$wxUSE_MGL" != 1 ; then
11252 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11253 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11254 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11255 echo "configure:11256: checking for png.h" >&5
11256 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11257 echo $ac_n "(cached) $ac_c" 1>&6
11259 cat > conftest.
$ac_ext <<EOF
11260 #line 11261 "configure"
11261 #include "confdefs.h"
11264 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11265 { (eval echo configure
:11266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11266 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11267 if test -z "$ac_err"; then
11269 eval "ac_cv_header_$ac_safe=yes"
11272 echo "configure: failed program was:" >&5
11273 cat conftest.
$ac_ext >&5
11275 eval "ac_cv_header_$ac_safe=no"
11279 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11280 echo "$ac_t""yes" 1>&6
11281 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11282 echo "configure:11283: checking for png_check_sig in -lpng" >&5
11283 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11284 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11285 echo $ac_n "(cached) $ac_c" 1>&6
11287 ac_save_LIBS
="$LIBS"
11288 LIBS
="-lpng -lz -lm $LIBS"
11289 cat > conftest.
$ac_ext <<EOF
11290 #line 11291 "configure"
11291 #include "confdefs.h"
11292 /* Override any gcc2 internal prototype to avoid an error. */
11293 /* We use char because int might match the return type of a gcc2
11294 builtin and then its argument prototype would still apply. */
11295 char png_check_sig();
11301 if { (eval echo configure
:11302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11303 eval "ac_cv_lib_$ac_lib_var=yes"
11305 echo "configure: failed program was:" >&5
11306 cat conftest.
$ac_ext >&5
11308 eval "ac_cv_lib_$ac_lib_var=no"
11311 LIBS
="$ac_save_LIBS"
11314 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11315 echo "$ac_t""yes" 1>&6
11318 echo "$ac_t""no" 1>&6
11323 echo "$ac_t""no" 1>&6
11327 if test "x$PNG_LINK" = "x" ; then
11328 if test "$wxUSE_LIBPNG" = "sys" ; then
11329 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11331 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
11332 wxUSE_LIBPNG
=builtin
11340 if test "$wxUSE_LIBPNG" = "builtin" ; then
11341 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11344 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11350 if test "$wxUSE_LIBJPEG" != "no" ; then
11351 cat >> confdefs.h
<<\EOF
11352 #define wxUSE_LIBJPEG 1
11356 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11357 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11361 if test "$wxUSE_MGL" != 1 ; then
11362 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11363 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11364 echo "configure:11365: checking for jpeglib.h" >&5
11365 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11366 echo $ac_n "(cached) $ac_c" 1>&6
11368 cat > conftest.
$ac_ext <<EOF
11369 #line 11370 "configure"
11370 #include "confdefs.h"
11372 #undef HAVE_STDLIB_H
11374 #include <jpeglib.h>
11381 if { (eval echo configure
:11382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11383 ac_cv_header_jpeglib_h
=yes
11385 echo "configure: failed program was:" >&5
11386 cat conftest.
$ac_ext >&5
11388 ac_cv_header_jpeglib_h
=no
11395 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
11397 if test "$ac_cv_header_jpeglib_h" = "yes"; then
11398 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11399 echo "configure:11400: checking for jpeg_read_header in -ljpeg" >&5
11400 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11401 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11402 echo $ac_n "(cached) $ac_c" 1>&6
11404 ac_save_LIBS
="$LIBS"
11405 LIBS
="-ljpeg $LIBS"
11406 cat > conftest.
$ac_ext <<EOF
11407 #line 11408 "configure"
11408 #include "confdefs.h"
11409 /* Override any gcc2 internal prototype to avoid an error. */
11410 /* We use char because int might match the return type of a gcc2
11411 builtin and then its argument prototype would still apply. */
11412 char jpeg_read_header();
11418 if { (eval echo configure
:11419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11420 eval "ac_cv_lib_$ac_lib_var=yes"
11422 echo "configure: failed program was:" >&5
11423 cat conftest.
$ac_ext >&5
11425 eval "ac_cv_lib_$ac_lib_var=no"
11428 LIBS
="$ac_save_LIBS"
11431 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11432 echo "$ac_t""yes" 1>&6
11433 JPEG_LINK
=" -ljpeg"
11435 echo "$ac_t""no" 1>&6
11440 if test "x$JPEG_LINK" = "x" ; then
11441 if test "$wxUSE_LIBJPEG" = "sys" ; then
11442 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
11444 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
11445 wxUSE_LIBJPEG
=builtin
11453 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11454 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11461 if test "$wxUSE_LIBTIFF" != "no" ; then
11462 cat >> confdefs.h
<<\EOF
11463 #define wxUSE_LIBTIFF 1
11467 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
11468 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
11469 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
11470 echo "configure:11471: checking for tiffio.h" >&5
11471 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11472 echo $ac_n "(cached) $ac_c" 1>&6
11474 cat > conftest.
$ac_ext <<EOF
11475 #line 11476 "configure"
11476 #include "confdefs.h"
11477 #include <tiffio.h>
11479 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11480 { (eval echo configure
:11481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11481 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11482 if test -z "$ac_err"; then
11484 eval "ac_cv_header_$ac_safe=yes"
11487 echo "configure: failed program was:" >&5
11488 cat conftest.
$ac_ext >&5
11490 eval "ac_cv_header_$ac_safe=no"
11494 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11495 echo "$ac_t""yes" 1>&6
11496 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
11497 echo "configure:11498: checking for TIFFError in -ltiff" >&5
11498 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
11499 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11500 echo $ac_n "(cached) $ac_c" 1>&6
11502 ac_save_LIBS
="$LIBS"
11503 LIBS
="-ltiff -lm $LIBS"
11504 cat > conftest.
$ac_ext <<EOF
11505 #line 11506 "configure"
11506 #include "confdefs.h"
11507 /* Override any gcc2 internal prototype to avoid an error. */
11508 /* We use char because int might match the return type of a gcc2
11509 builtin and then its argument prototype would still apply. */
11516 if { (eval echo configure
:11517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11518 eval "ac_cv_lib_$ac_lib_var=yes"
11520 echo "configure: failed program was:" >&5
11521 cat conftest.
$ac_ext >&5
11523 eval "ac_cv_lib_$ac_lib_var=no"
11526 LIBS
="$ac_save_LIBS"
11529 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11530 echo "$ac_t""yes" 1>&6
11531 TIFF_LINK
=" -ltiff"
11533 echo "$ac_t""no" 1>&6
11538 echo "$ac_t""no" 1>&6
11542 if test "x$TIFF_LINK" = "x" ; then
11543 if test "$wxUSE_LIBTIFF" = "sys" ; then
11544 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
11546 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
11547 wxUSE_LIBTIFF
=builtin
11554 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11555 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11566 if test "$USE_WIN32" = 1 ; then
11567 for ac_hdr
in w32api.h
11569 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11570 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11571 echo "configure:11572: checking for $ac_hdr" >&5
11572 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11573 echo $ac_n "(cached) $ac_c" 1>&6
11575 cat > conftest.
$ac_ext <<EOF
11576 #line 11577 "configure"
11577 #include "confdefs.h"
11580 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11581 { (eval echo configure
:11582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11582 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11583 if test -z "$ac_err"; then
11585 eval "ac_cv_header_$ac_safe=yes"
11588 echo "configure: failed program was:" >&5
11589 cat conftest.
$ac_ext >&5
11591 eval "ac_cv_header_$ac_safe=no"
11595 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11596 echo "$ac_t""yes" 1>&6
11597 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11598 cat >> confdefs.h
<<EOF
11599 #define $ac_tr_hdr 1
11603 echo "$ac_t""no" 1>&6
11607 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
11608 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
11609 echo "configure:11610: checking for windows.h" >&5
11610 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11611 echo $ac_n "(cached) $ac_c" 1>&6
11613 cat > conftest.
$ac_ext <<EOF
11614 #line 11615 "configure"
11615 #include "confdefs.h"
11616 #include <windows.h>
11618 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11619 { (eval echo configure
:11620: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11620 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11621 if test -z "$ac_err"; then
11623 eval "ac_cv_header_$ac_safe=yes"
11626 echo "configure: failed program was:" >&5
11627 cat conftest.
$ac_ext >&5
11629 eval "ac_cv_header_$ac_safe=no"
11633 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11634 echo "$ac_t""yes" 1>&6
11637 echo "$ac_t""no" 1>&6
11639 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
11644 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
11645 echo "configure:11646: checking if w32api has good enough MSIE support" >&5
11646 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
11647 echo $ac_n "(cached) $ac_c" 1>&6
11650 cat > conftest.
$ac_ext <<EOF
11651 #line 11652 "configure"
11652 #include "confdefs.h"
11653 #include <w32api.h>
11656 #define wxCHECK_W32API_VERSION( major, minor ) \
11657 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
11658 && ( ( __W32API_MAJOR_VERSION > (major) ) \
11659 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
11661 #if !wxCHECK_W32API_VERSION(1,1)
11662 #error You need w32api 1.1 or newer
11667 if { (eval echo configure
:11668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11670 wx_cv_w32api_win32_ie
=yes
11673 echo "configure: failed program was:" >&5
11674 cat conftest.
$ac_ext >&5
11677 wx_cv_w32api_win32_ie
=no
11684 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
11685 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
11686 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
11689 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
11693 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
11694 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
11697 if test "$wxUSE_ODBC" = "yes" ; then
11698 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
11701 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
11702 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
11705 if test "$wxUSE_GUI" = "yes"; then
11714 if test "$wxUSE_MSW" = 1 ; then
11720 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
11724 if test "$wxUSE_GTK" = 1; then
11725 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
11726 echo "configure:11727: checking for GTK+ version" >&5
11728 gtk_version_cached
=1
11729 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
11730 echo $ac_n "(cached) $ac_c" 1>&6
11733 gtk_version_cached
=0
11734 echo "$ac_t""" 1>&6
11737 if test "$wxUSE_THREADS" = "yes"; then
11738 GTK_MODULES
=gthread
11742 if test "x$wxUSE_GTK2" = "xyes"; then
11743 # Check whether --enable-gtktest or --disable-gtktest was given.
11744 if test "${enable_gtktest+set}" = set; then
11745 enableval
="$enable_gtktest"
11752 pkg_config_args
=gtk
+-2.0
11753 for module
in .
$GTK_MODULES
11757 pkg_config_args
="$pkg_config_args gthread-2.0"
11764 # Extract the first word of "pkg-config", so it can be a program name with args.
11765 set dummy pkg
-config; ac_word
=$2
11766 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11767 echo "configure:11768: checking for $ac_word" >&5
11768 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
11769 echo $ac_n "(cached) $ac_c" 1>&6
11771 case "$PKG_CONFIG" in
11773 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11776 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
11779 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11781 for ac_dir
in $ac_dummy; do
11782 test -z "$ac_dir" && ac_dir
=.
11783 if test -f $ac_dir/$ac_word; then
11784 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
11789 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11793 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
11794 if test -n "$PKG_CONFIG"; then
11795 echo "$ac_t""$PKG_CONFIG" 1>&6
11797 echo "$ac_t""no" 1>&6
11801 if test x
$PKG_CONFIG != xno
; then
11802 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
11805 echo *** pkg
-config too old
; version
0.7 or better required.
11813 min_gtk_version
=2.0.0
11814 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
11815 echo "configure:11816: checking for GTK+ - version >= $min_gtk_version" >&5
11817 if test x
$PKG_CONFIG != xno
; then
11818 ## don't try to run the test against uninstalled libtool libs
11819 if $PKG_CONFIG --uninstalled $pkg_config_args; then
11820 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
11824 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
11831 if test x
"$no_gtk" = x
; then
11832 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
11833 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
11834 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11835 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11836 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11837 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11838 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11839 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11840 if test "x$enable_gtktest" = "xyes" ; then
11841 ac_save_CFLAGS
="$CFLAGS"
11842 ac_save_LIBS
="$LIBS"
11843 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11844 LIBS
="$GTK_LIBS $LIBS"
11846 if test "$cross_compiling" = yes; then
11847 echo $ac_n "cross compiling; assumed OK... $ac_c"
11849 cat > conftest.
$ac_ext <<EOF
11850 #line 11851 "configure"
11851 #include "confdefs.h"
11853 #include <gtk/gtk.h>
11855 #include <stdlib.h>
11860 int major, minor, micro;
11863 system ("touch conf.gtktest");
11865 /* HP/UX 9 (%@#!) writes to sscanf strings */
11866 tmp_version = g_strdup("$min_gtk_version");
11867 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11868 printf("%s, bad version string\n", "$min_gtk_version");
11872 if ((gtk_major_version != $gtk_config_major_version) ||
11873 (gtk_minor_version != $gtk_config_minor_version) ||
11874 (gtk_micro_version != $gtk_config_micro_version))
11876 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11877 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11878 gtk_major_version, gtk_minor_version, gtk_micro_version);
11879 printf ("*** was found! If pkg-config was correct, then it is best\n");
11880 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11881 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11882 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11883 printf("*** required on your system.\n");
11884 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
11885 printf("*** to point to the correct configuration files\n");
11887 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11888 (gtk_minor_version != GTK_MINOR_VERSION) ||
11889 (gtk_micro_version != GTK_MICRO_VERSION))
11891 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11892 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11893 printf("*** library (version %d.%d.%d)\n",
11894 gtk_major_version, gtk_minor_version, gtk_micro_version);
11898 if ((gtk_major_version > major) ||
11899 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11900 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11906 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11907 gtk_major_version, gtk_minor_version, gtk_micro_version);
11908 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11909 major, minor, micro);
11910 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11912 printf("*** If you have already installed a sufficiently new version, this error\n");
11913 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
11914 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11915 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
11916 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
11917 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11918 printf("*** so that the correct libraries are found at run-time))\n");
11925 if { (eval echo configure
:11926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11929 echo "configure: failed program was:" >&5
11930 cat conftest.
$ac_ext >&5
11937 CFLAGS
="$ac_save_CFLAGS"
11938 LIBS
="$ac_save_LIBS"
11941 if test "x$no_gtk" = x
; then
11942 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
11945 echo "$ac_t""no" 1>&6
11946 if test "$PKG_CONFIG" = "no" ; then
11947 echo "*** A new enough version of pkg-config was not found."
11948 echo "*** See http://pkgconfig.sourceforge.net"
11950 if test -f conf.gtktest
; then
11953 echo "*** Could not run GTK+ test program, checking why..."
11954 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11955 LIBS
="$LIBS $GTK_LIBS"
11956 cat > conftest.
$ac_ext <<EOF
11957 #line 11958 "configure"
11958 #include "confdefs.h"
11960 #include <gtk/gtk.h>
11964 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11967 if { (eval echo configure
:11968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11969 echo "*** The test program compiled, but did not run. This usually means"
11970 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
11971 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
11972 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11973 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11974 echo "*** is required on your system"
11976 echo "*** If you have an old version installed, it is best to remove it, although"
11977 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11979 echo "configure: failed program was:" >&5
11980 cat conftest.
$ac_ext >&5
11982 echo "*** The test program failed to compile or link. See the file config.log for the"
11983 echo "*** exact error that occured. This usually means GTK+ was incorrectly installed"
11984 echo "*** or that you have moved GTK+ since it was installed. In the latter case, you"
11985 echo "*** may want to edit the pkg-config script: $PKG_CONFIG"
11988 CFLAGS
="$ac_save_CFLAGS"
11989 LIBS
="$ac_save_LIBS"
12002 if test -z "$wx_cv_lib_gtk"; then
12003 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12004 if test "${with_gtk_prefix+set}" = set; then
12005 withval
="$with_gtk_prefix"
12006 gtk_config_prefix
="$withval"
12008 gtk_config_prefix
=""
12011 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12012 if test "${with_gtk_exec_prefix+set}" = set; then
12013 withval
="$with_gtk_exec_prefix"
12014 gtk_config_exec_prefix
="$withval"
12016 gtk_config_exec_prefix
=""
12019 # Check whether --enable-gtktest or --disable-gtktest was given.
12020 if test "${enable_gtktest+set}" = set; then
12021 enableval
="$enable_gtktest"
12028 for module
in .
$GTK_MODULES
12032 gtk_config_args
="$gtk_config_args gthread"
12037 if test x
$gtk_config_exec_prefix != x
; then
12038 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12039 if test x
${GTK_CONFIG+set} != xset
; then
12040 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12043 if test x
$gtk_config_prefix != x
; then
12044 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12045 if test x
${GTK_CONFIG+set} != xset
; then
12046 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12050 # Extract the first word of "gtk-config", so it can be a program name with args.
12051 set dummy gtk
-config; ac_word
=$2
12052 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12053 echo "configure:12054: checking for $ac_word" >&5
12054 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12055 echo $ac_n "(cached) $ac_c" 1>&6
12057 case "$GTK_CONFIG" in
12059 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12062 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12065 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12067 for ac_dir
in $ac_dummy; do
12068 test -z "$ac_dir" && ac_dir
=.
12069 if test -f $ac_dir/$ac_word; then
12070 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12075 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12079 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12080 if test -n "$GTK_CONFIG"; then
12081 echo "$ac_t""$GTK_CONFIG" 1>&6
12083 echo "$ac_t""no" 1>&6
12086 min_gtk_version
=1.2.7
12087 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12088 echo "configure:12089: checking for GTK - version >= $min_gtk_version" >&5
12090 if test "$GTK_CONFIG" = "no" ; then
12093 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12094 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12095 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12096 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12097 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12098 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12099 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12100 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12101 if test "x$enable_gtktest" = "xyes" ; then
12102 ac_save_CFLAGS
="$CFLAGS"
12103 ac_save_LIBS
="$LIBS"
12104 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12105 LIBS
="$GTK_LIBS $LIBS"
12107 if test "$cross_compiling" = yes; then
12108 echo $ac_n "cross compiling; assumed OK... $ac_c"
12110 cat > conftest.
$ac_ext <<EOF
12111 #line 12112 "configure"
12112 #include "confdefs.h"
12114 #include <gtk/gtk.h>
12116 #include <stdlib.h>
12121 int major, minor, micro;
12124 system ("touch conf.gtktest");
12126 /* HP/UX 9 (%@#!) writes to sscanf strings */
12127 tmp_version = g_strdup("$min_gtk_version");
12128 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12129 printf("%s, bad version string\n", "$min_gtk_version");
12133 if ((gtk_major_version != $gtk_config_major_version) ||
12134 (gtk_minor_version != $gtk_config_minor_version) ||
12135 (gtk_micro_version != $gtk_config_micro_version))
12137 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12138 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12139 gtk_major_version, gtk_minor_version, gtk_micro_version);
12140 printf ("*** was found! If gtk-config was correct, then it is best\n");
12141 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12142 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12143 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12144 printf("*** required on your system.\n");
12145 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12146 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12147 printf("*** before re-running configure\n");
12149 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12150 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12151 (gtk_minor_version != GTK_MINOR_VERSION) ||
12152 (gtk_micro_version != GTK_MICRO_VERSION))
12154 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12155 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12156 printf("*** library (version %d.%d.%d)\n",
12157 gtk_major_version, gtk_minor_version, gtk_micro_version);
12159 #endif /* defined (GTK_MAJOR_VERSION) ... */
12162 if ((gtk_major_version > major) ||
12163 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12164 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12170 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12171 gtk_major_version, gtk_minor_version, gtk_micro_version);
12172 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12173 major, minor, micro);
12174 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12176 printf("*** If you have already installed a sufficiently new version, this error\n");
12177 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12178 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12179 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12180 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12181 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12182 printf("*** so that the correct libraries are found at run-time))\n");
12189 if { (eval echo configure
:12190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12193 echo "configure: failed program was:" >&5
12194 cat conftest.
$ac_ext >&5
12201 CFLAGS
="$ac_save_CFLAGS"
12202 LIBS
="$ac_save_LIBS"
12205 if test "x$no_gtk" = x
; then
12206 echo "$ac_t""yes" 1>&6
12207 wx_cv_lib_gtk
=1.2.7
12209 echo "$ac_t""no" 1>&6
12210 if test "$GTK_CONFIG" = "no" ; then
12211 echo "*** The gtk-config script installed by GTK could not be found"
12212 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12213 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12214 echo "*** full path to gtk-config."
12216 if test -f conf.gtktest
; then
12219 echo "*** Could not run GTK test program, checking why..."
12220 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12221 LIBS
="$LIBS $GTK_LIBS"
12222 cat > conftest.
$ac_ext <<EOF
12223 #line 12224 "configure"
12224 #include "confdefs.h"
12226 #include <gtk/gtk.h>
12230 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12233 if { (eval echo configure
:12234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12235 echo "*** The test program compiled, but did not run. This usually means"
12236 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12237 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12238 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12239 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12240 echo "*** is required on your system"
12242 echo "*** If you have an old version installed, it is best to remove it, although"
12243 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12245 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12246 echo "*** came with the system with the command"
12248 echo "*** rpm --erase --nodeps gtk gtk-devel"
12250 echo "configure: failed program was:" >&5
12251 cat conftest.
$ac_ext >&5
12253 echo "*** The test program failed to compile or link. See the file config.log for the"
12254 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12255 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12256 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12259 CFLAGS
="$ac_save_CFLAGS"
12260 LIBS
="$ac_save_LIBS"
12273 if test -z "$wx_cv_lib_gtk"; then
12274 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12275 if test "${with_gtk_prefix+set}" = set; then
12276 withval
="$with_gtk_prefix"
12277 gtk_config_prefix
="$withval"
12279 gtk_config_prefix
=""
12282 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12283 if test "${with_gtk_exec_prefix+set}" = set; then
12284 withval
="$with_gtk_exec_prefix"
12285 gtk_config_exec_prefix
="$withval"
12287 gtk_config_exec_prefix
=""
12290 # Check whether --enable-gtktest or --disable-gtktest was given.
12291 if test "${enable_gtktest+set}" = set; then
12292 enableval
="$enable_gtktest"
12299 for module
in .
$GTK_MODULES
12303 gtk_config_args
="$gtk_config_args gthread"
12308 if test x
$gtk_config_exec_prefix != x
; then
12309 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12310 if test x
${GTK_CONFIG+set} != xset
; then
12311 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12314 if test x
$gtk_config_prefix != x
; then
12315 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12316 if test x
${GTK_CONFIG+set} != xset
; then
12317 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12321 # Extract the first word of "gtk-config", so it can be a program name with args.
12322 set dummy gtk
-config; ac_word
=$2
12323 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12324 echo "configure:12325: checking for $ac_word" >&5
12325 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12326 echo $ac_n "(cached) $ac_c" 1>&6
12328 case "$GTK_CONFIG" in
12330 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12333 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12336 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12338 for ac_dir
in $ac_dummy; do
12339 test -z "$ac_dir" && ac_dir
=.
12340 if test -f $ac_dir/$ac_word; then
12341 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12346 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12350 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12351 if test -n "$GTK_CONFIG"; then
12352 echo "$ac_t""$GTK_CONFIG" 1>&6
12354 echo "$ac_t""no" 1>&6
12357 min_gtk_version
=1.2.3
12358 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12359 echo "configure:12360: checking for GTK - version >= $min_gtk_version" >&5
12361 if test "$GTK_CONFIG" = "no" ; then
12364 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12365 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12366 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12367 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12368 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12369 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12370 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12371 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12372 if test "x$enable_gtktest" = "xyes" ; then
12373 ac_save_CFLAGS
="$CFLAGS"
12374 ac_save_LIBS
="$LIBS"
12375 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12376 LIBS
="$GTK_LIBS $LIBS"
12378 if test "$cross_compiling" = yes; then
12379 echo $ac_n "cross compiling; assumed OK... $ac_c"
12381 cat > conftest.
$ac_ext <<EOF
12382 #line 12383 "configure"
12383 #include "confdefs.h"
12385 #include <gtk/gtk.h>
12387 #include <stdlib.h>
12392 int major, minor, micro;
12395 system ("touch conf.gtktest");
12397 /* HP/UX 9 (%@#!) writes to sscanf strings */
12398 tmp_version = g_strdup("$min_gtk_version");
12399 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12400 printf("%s, bad version string\n", "$min_gtk_version");
12404 if ((gtk_major_version != $gtk_config_major_version) ||
12405 (gtk_minor_version != $gtk_config_minor_version) ||
12406 (gtk_micro_version != $gtk_config_micro_version))
12408 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12409 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12410 gtk_major_version, gtk_minor_version, gtk_micro_version);
12411 printf ("*** was found! If gtk-config was correct, then it is best\n");
12412 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12413 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12414 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12415 printf("*** required on your system.\n");
12416 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12417 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12418 printf("*** before re-running configure\n");
12420 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12421 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12422 (gtk_minor_version != GTK_MINOR_VERSION) ||
12423 (gtk_micro_version != GTK_MICRO_VERSION))
12425 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12426 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12427 printf("*** library (version %d.%d.%d)\n",
12428 gtk_major_version, gtk_minor_version, gtk_micro_version);
12430 #endif /* defined (GTK_MAJOR_VERSION) ... */
12433 if ((gtk_major_version > major) ||
12434 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12435 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12441 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12442 gtk_major_version, gtk_minor_version, gtk_micro_version);
12443 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12444 major, minor, micro);
12445 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12447 printf("*** If you have already installed a sufficiently new version, this error\n");
12448 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12449 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12450 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12451 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12452 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12453 printf("*** so that the correct libraries are found at run-time))\n");
12460 if { (eval echo configure
:12461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12464 echo "configure: failed program was:" >&5
12465 cat conftest.
$ac_ext >&5
12472 CFLAGS
="$ac_save_CFLAGS"
12473 LIBS
="$ac_save_LIBS"
12476 if test "x$no_gtk" = x
; then
12477 echo "$ac_t""yes" 1>&6
12478 wx_cv_lib_gtk
=1.2.3
12480 echo "$ac_t""no" 1>&6
12481 if test "$GTK_CONFIG" = "no" ; then
12482 echo "*** The gtk-config script installed by GTK could not be found"
12483 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12484 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12485 echo "*** full path to gtk-config."
12487 if test -f conf.gtktest
; then
12490 echo "*** Could not run GTK test program, checking why..."
12491 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12492 LIBS
="$LIBS $GTK_LIBS"
12493 cat > conftest.
$ac_ext <<EOF
12494 #line 12495 "configure"
12495 #include "confdefs.h"
12497 #include <gtk/gtk.h>
12501 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12504 if { (eval echo configure
:12505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12506 echo "*** The test program compiled, but did not run. This usually means"
12507 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12508 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12509 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12510 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12511 echo "*** is required on your system"
12513 echo "*** If you have an old version installed, it is best to remove it, although"
12514 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12516 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12517 echo "*** came with the system with the command"
12519 echo "*** rpm --erase --nodeps gtk gtk-devel"
12521 echo "configure: failed program was:" >&5
12522 cat conftest.
$ac_ext >&5
12524 echo "*** The test program failed to compile or link. See the file config.log for the"
12525 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12526 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12527 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12530 CFLAGS
="$ac_save_CFLAGS"
12531 LIBS
="$ac_save_LIBS"
12544 if test -z "$wx_cv_lib_gtk"; then
12547 wx_cv_cflags_gtk
=$GTK_CFLAGS
12548 wx_cv_libs_gtk
=$GTK_LIBS
12555 if test "$gtk_version_cached" = 1; then
12556 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
12559 case "$wx_cv_lib_gtk" in
12567 *) { echo "configure: error:
12568 Please check that gtk-config is in path, the directory
12569 where GTK+ libraries are installed (returned by
12570 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
12571 equivalent variable and GTK+ is version 1.2.3 or above.
12576 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
12577 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
12579 AFMINSTALL
=afminstall
12583 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
12584 echo "configure:12585: checking for gdk_im_open in -lgdk" >&5
12585 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
12586 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12587 echo $ac_n "(cached) $ac_c" 1>&6
12589 ac_save_LIBS
="$LIBS"
12591 cat > conftest.
$ac_ext <<EOF
12592 #line 12593 "configure"
12593 #include "confdefs.h"
12594 /* Override any gcc2 internal prototype to avoid an error. */
12595 /* We use char because int might match the return type of a gcc2
12596 builtin and then its argument prototype would still apply. */
12597 char gdk_im_open();
12603 if { (eval echo configure
:12604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12605 eval "ac_cv_lib_$ac_lib_var=yes"
12607 echo "configure: failed program was:" >&5
12608 cat conftest.
$ac_ext >&5
12610 eval "ac_cv_lib_$ac_lib_var=no"
12613 LIBS
="$ac_save_LIBS"
12616 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12617 echo "$ac_t""yes" 1>&6
12618 cat >> confdefs.h
<<\EOF
12623 echo "$ac_t""no" 1>&6
12628 if test "$wxUSE_MGL" = 1; then
12629 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
12630 echo "configure:12631: checking for SciTech MGL library" >&5
12631 if test "x$MGL_ROOT" = x
; then
12632 echo "$ac_t""not found" 1>&6
12633 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
12635 echo "$ac_t""$MGL_ROOT" 1>&6
12640 mgl_os
=linux
/gcc
/glibc
12646 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
12651 if test "$wxUSE_DEBUG_FLAG" = yes ; then
12652 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
12653 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
12657 if test "x$mgl_lib_type" = x
; then
12658 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
12659 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
12660 mgl_lib_type
=release
12662 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
12666 wxUSE_UNIVERSAL
="yes"
12668 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
12669 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
12671 AFMINSTALL
=afminstall
12676 if test "$wxUSE_MICROWIN" = 1; then
12677 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
12678 echo "configure:12679: checking for MicroWindows" >&5
12679 if test "x$MICROWINDOWS" = x
; then
12680 echo "$ac_t""not found" 1>&6
12681 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
12683 echo "$ac_t""$MICROWINDOWS" 1>&6
12686 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
12687 echo "$ac_t""MicroWindows' libraries found." 1>&6
12689 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
12692 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
12693 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
12695 wxUSE_UNIVERSAL
="yes"
12697 AFMINSTALL
=afminstall
12699 GUIDIST
=MICROWIN_DIST
12701 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
12704 if test "$wxUSE_X11" = 1; then
12705 # If we find X, set shell vars x_includes and x_libraries to the
12706 # paths, otherwise set no_x=yes.
12707 # Uses ac_ vars as temps to allow command line to override cache and checks.
12708 # --without-x overrides everything else, but does not touch the cache.
12709 echo $ac_n "checking for X""... $ac_c" 1>&6
12710 echo "configure:12711: checking for X" >&5
12712 # Check whether --with-x or --without-x was given.
12713 if test "${with_x+set}" = set; then
12718 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
12719 if test "x$with_x" = xno
; then
12720 # The user explicitly disabled X.
12723 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
12724 # Both variables are already set.
12727 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
12728 echo $ac_n "(cached) $ac_c" 1>&6
12730 # One or both of the vars are not set, and there is no cached value.
12731 ac_x_includes
=NO ac_x_libraries
=NO
12733 if mkdir conftestdir
; then
12735 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
12736 cat > Imakefile
<<'EOF'
12738 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
12740 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
12741 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12742 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
12743 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12744 for ac_extension
in a so sl
; do
12745 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
12746 test -f $ac_im_libdir/libX11.
$ac_extension; then
12747 ac_im_usrlibdir
=$ac_im_libdir; break
12750 # Screen out bogus values from the imake configuration. They are
12751 # bogus both because they are the default anyway, and because
12752 # using them would break gcc on systems where it needs fixed includes.
12753 case "$ac_im_incroot" in
12755 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
12757 case "$ac_im_usrlibdir" in
12758 /usr
/lib
| /lib
) ;;
12759 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
12766 if test "$ac_x_includes" = NO
; then
12767 # Guess where to find include files, by looking for this one X11 .h file.
12768 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
12770 # First, try using that file with no special directory specified.
12771 cat > conftest.
$ac_ext <<EOF
12772 #line 12773 "configure"
12773 #include "confdefs.h"
12774 #include <$x_direct_test_include>
12776 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12777 { (eval echo configure
:12778: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12778 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12779 if test -z "$ac_err"; then
12781 # We can compile using X headers with no special include directory.
12785 echo "configure: failed program was:" >&5
12786 cat conftest.
$ac_ext >&5
12788 # Look for the header file in a standard set of common directories.
12789 # Check X11 before X11Rn because it is often a symlink to the current release.
12792 /usr
/X
11R
6/include \
12793 /usr
/X
11R
5/include \
12794 /usr
/X
11R
4/include \
12797 /usr
/include
/X11R6 \
12798 /usr
/include
/X11R5 \
12799 /usr
/include
/X11R4 \
12801 /usr
/local
/X
11/include \
12802 /usr
/local
/X
11R
6/include \
12803 /usr
/local
/X
11R
5/include \
12804 /usr
/local
/X
11R
4/include \
12806 /usr
/local
/include
/X11 \
12807 /usr
/local
/include
/X11R6 \
12808 /usr
/local
/include
/X11R5 \
12809 /usr
/local
/include
/X11R4 \
12811 /usr
/X
386/include \
12812 /usr
/x
386/include \
12813 /usr
/XFree
86/include
/X11 \
12816 /usr
/local
/include \
12817 /usr
/unsupported
/include \
12818 /usr
/athena
/include \
12819 /usr
/local
/x
11r
5/include \
12820 /usr
/lpp
/Xamples
/include \
12822 /usr
/openwin
/include \
12823 /usr
/openwin
/share
/include \
12826 if test -r "$ac_dir/$x_direct_test_include"; then
12827 ac_x_includes
=$ac_dir
12833 fi # $ac_x_includes = NO
12835 if test "$ac_x_libraries" = NO
; then
12836 # Check for the libraries.
12838 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
12839 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
12841 # See if we find them without any special options.
12842 # Don't add to $LIBS permanently.
12843 ac_save_LIBS
="$LIBS"
12844 LIBS
="-l$x_direct_test_library $LIBS"
12845 cat > conftest.
$ac_ext <<EOF
12846 #line 12847 "configure"
12847 #include "confdefs.h"
12850 ${x_direct_test_function}()
12853 if { (eval echo configure
:12854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12855 LIBS
="$ac_save_LIBS"
12856 # We can link X programs with no special library path.
12859 echo "configure: failed program was:" >&5
12860 cat conftest.
$ac_ext >&5
12862 LIBS
="$ac_save_LIBS"
12863 # First see if replacing the include by lib works.
12864 # Check X11 before X11Rn because it is often a symlink to the current release.
12865 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
12876 /usr
/local
/X
11/lib \
12877 /usr
/local
/X
11R
6/lib \
12878 /usr
/local
/X
11R
5/lib \
12879 /usr
/local
/X
11R
4/lib \
12881 /usr
/local
/lib
/X11 \
12882 /usr
/local
/lib
/X11R6 \
12883 /usr
/local
/lib
/X11R5 \
12884 /usr
/local
/lib
/X11R4 \
12888 /usr
/XFree
86/lib
/X11 \
12892 /usr
/unsupported
/lib \
12894 /usr
/local
/x
11r
5/lib \
12895 /usr
/lpp
/Xamples
/lib \
12899 /usr
/openwin
/share
/lib \
12902 for ac_extension
in a so sl
; do
12903 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
12904 ac_x_libraries
=$ac_dir
12911 fi # $ac_x_libraries = NO
12913 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
12914 # Didn't find X anywhere. Cache the known absence of X.
12915 ac_cv_have_x
="have_x=no"
12917 # Record where we found X for the cache.
12918 ac_cv_have_x
="have_x=yes \
12919 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
12923 eval "$ac_cv_have_x"
12926 if test "$have_x" != yes; then
12927 echo "$ac_t""$have_x" 1>&6
12930 # If each of the values was on the command line, it overrides each guess.
12931 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
12932 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
12933 # Update the cache value to reflect the command line values.
12934 ac_cv_have_x
="have_x=yes \
12935 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
12936 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
12939 if test "$no_x" = yes; then
12940 # Not all programs may use this symbol, but it does not hurt to define it.
12941 cat >> confdefs.h
<<\EOF
12942 #define X_DISPLAY_MISSING 1
12945 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
12947 if test -n "$x_includes"; then
12948 X_CFLAGS
="$X_CFLAGS -I$x_includes"
12951 # It would also be nice to do this for all -L options, not just this one.
12952 if test -n "$x_libraries"; then
12953 X_LIBS
="$X_LIBS -L$x_libraries"
12954 # For Solaris; some versions of Sun CC require a space after -R and
12955 # others require no space. Words are not sufficient . . . .
12956 case "`(uname -sr) 2>/dev/null`" in
12958 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
12959 echo "configure:12960: checking whether -R must be followed by a space" >&5
12960 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
12961 cat > conftest.
$ac_ext <<EOF
12962 #line 12963 "configure"
12963 #include "confdefs.h"
12969 if { (eval echo configure
:12970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12973 echo "configure: failed program was:" >&5
12974 cat conftest.
$ac_ext >&5
12979 if test $ac_R_nospace = yes; then
12980 echo "$ac_t""no" 1>&6
12981 X_LIBS
="$X_LIBS -R$x_libraries"
12983 LIBS
="$ac_xsave_LIBS -R $x_libraries"
12984 cat > conftest.
$ac_ext <<EOF
12985 #line 12986 "configure"
12986 #include "confdefs.h"
12992 if { (eval echo configure
:12993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12996 echo "configure: failed program was:" >&5
12997 cat conftest.
$ac_ext >&5
13002 if test $ac_R_space = yes; then
13003 echo "$ac_t""yes" 1>&6
13004 X_LIBS
="$X_LIBS -R $x_libraries"
13006 echo "$ac_t""neither works" 1>&6
13009 LIBS
="$ac_xsave_LIBS"
13013 # Check for system-dependent libraries X programs must link with.
13014 # Do this before checking for the system-independent R6 libraries
13015 # (-lICE), since we may need -lsocket or whatever for X linking.
13017 if test "$ISC" = yes; then
13018 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13020 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13021 # libraries were built with DECnet support. And karl@cs.umb.edu says
13022 # the Alpha needs dnet_stub (dnet does not exist).
13023 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13024 echo "configure:13025: checking for dnet_ntoa in -ldnet" >&5
13025 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13026 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13027 echo $ac_n "(cached) $ac_c" 1>&6
13029 ac_save_LIBS
="$LIBS"
13030 LIBS
="-ldnet $LIBS"
13031 cat > conftest.
$ac_ext <<EOF
13032 #line 13033 "configure"
13033 #include "confdefs.h"
13034 /* Override any gcc2 internal prototype to avoid an error. */
13035 /* We use char because int might match the return type of a gcc2
13036 builtin and then its argument prototype would still apply. */
13043 if { (eval echo configure
:13044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13045 eval "ac_cv_lib_$ac_lib_var=yes"
13047 echo "configure: failed program was:" >&5
13048 cat conftest.
$ac_ext >&5
13050 eval "ac_cv_lib_$ac_lib_var=no"
13053 LIBS
="$ac_save_LIBS"
13056 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13057 echo "$ac_t""yes" 1>&6
13058 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13060 echo "$ac_t""no" 1>&6
13063 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13064 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13065 echo "configure:13066: checking for dnet_ntoa in -ldnet_stub" >&5
13066 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13067 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13068 echo $ac_n "(cached) $ac_c" 1>&6
13070 ac_save_LIBS
="$LIBS"
13071 LIBS
="-ldnet_stub $LIBS"
13072 cat > conftest.
$ac_ext <<EOF
13073 #line 13074 "configure"
13074 #include "confdefs.h"
13075 /* Override any gcc2 internal prototype to avoid an error. */
13076 /* We use char because int might match the return type of a gcc2
13077 builtin and then its argument prototype would still apply. */
13084 if { (eval echo configure
:13085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13086 eval "ac_cv_lib_$ac_lib_var=yes"
13088 echo "configure: failed program was:" >&5
13089 cat conftest.
$ac_ext >&5
13091 eval "ac_cv_lib_$ac_lib_var=no"
13094 LIBS
="$ac_save_LIBS"
13097 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13098 echo "$ac_t""yes" 1>&6
13099 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13101 echo "$ac_t""no" 1>&6
13106 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13107 # to get the SysV transport functions.
13108 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13110 # The nsl library prevents programs from opening the X display
13111 # on Irix 5.2, according to dickey@clark.net.
13112 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13113 echo "configure:13114: checking for gethostbyname" >&5
13114 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13115 echo $ac_n "(cached) $ac_c" 1>&6
13117 cat > conftest.
$ac_ext <<EOF
13118 #line 13119 "configure"
13119 #include "confdefs.h"
13120 /* System header to define __stub macros and hopefully few prototypes,
13121 which can conflict with char gethostbyname(); below. */
13122 #include <assert.h>
13123 /* Override any gcc2 internal prototype to avoid an error. */
13124 /* We use char because int might match the return type of a gcc2
13125 builtin and then its argument prototype would still apply. */
13126 char gethostbyname();
13130 /* The GNU C library defines this for functions which it implements
13131 to always fail with ENOSYS. Some functions are actually named
13132 something starting with __ and the normal name is an alias. */
13133 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13141 if { (eval echo configure
:13142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13143 eval "ac_cv_func_gethostbyname=yes"
13145 echo "configure: failed program was:" >&5
13146 cat conftest.
$ac_ext >&5
13148 eval "ac_cv_func_gethostbyname=no"
13153 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13154 echo "$ac_t""yes" 1>&6
13157 echo "$ac_t""no" 1>&6
13160 if test $ac_cv_func_gethostbyname = no
; then
13161 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13162 echo "configure:13163: checking for gethostbyname in -lnsl" >&5
13163 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13164 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13165 echo $ac_n "(cached) $ac_c" 1>&6
13167 ac_save_LIBS
="$LIBS"
13169 cat > conftest.
$ac_ext <<EOF
13170 #line 13171 "configure"
13171 #include "confdefs.h"
13172 /* Override any gcc2 internal prototype to avoid an error. */
13173 /* We use char because int might match the return type of a gcc2
13174 builtin and then its argument prototype would still apply. */
13175 char gethostbyname();
13181 if { (eval echo configure
:13182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13183 eval "ac_cv_lib_$ac_lib_var=yes"
13185 echo "configure: failed program was:" >&5
13186 cat conftest.
$ac_ext >&5
13188 eval "ac_cv_lib_$ac_lib_var=no"
13191 LIBS
="$ac_save_LIBS"
13194 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13195 echo "$ac_t""yes" 1>&6
13196 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13198 echo "$ac_t""no" 1>&6
13203 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13204 # socket/setsockopt and other routines are undefined under SCO ODT
13205 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13206 # on later versions), says simon@lia.di.epfl.ch: it contains
13207 # gethostby* variants that don't use the nameserver (or something).
13208 # -lsocket must be given before -lnsl if both are needed.
13209 # We assume that if connect needs -lnsl, so does gethostbyname.
13210 echo $ac_n "checking for connect""... $ac_c" 1>&6
13211 echo "configure:13212: checking for connect" >&5
13212 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13213 echo $ac_n "(cached) $ac_c" 1>&6
13215 cat > conftest.
$ac_ext <<EOF
13216 #line 13217 "configure"
13217 #include "confdefs.h"
13218 /* System header to define __stub macros and hopefully few prototypes,
13219 which can conflict with char connect(); below. */
13220 #include <assert.h>
13221 /* Override any gcc2 internal prototype to avoid an error. */
13222 /* We use char because int might match the return type of a gcc2
13223 builtin and then its argument prototype would still apply. */
13228 /* The GNU C library defines this for functions which it implements
13229 to always fail with ENOSYS. Some functions are actually named
13230 something starting with __ and the normal name is an alias. */
13231 #if defined (__stub_connect) || defined (__stub___connect)
13239 if { (eval echo configure
:13240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13241 eval "ac_cv_func_connect=yes"
13243 echo "configure: failed program was:" >&5
13244 cat conftest.
$ac_ext >&5
13246 eval "ac_cv_func_connect=no"
13251 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
13252 echo "$ac_t""yes" 1>&6
13255 echo "$ac_t""no" 1>&6
13258 if test $ac_cv_func_connect = no
; then
13259 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
13260 echo "configure:13261: checking for connect in -lsocket" >&5
13261 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
13262 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13263 echo $ac_n "(cached) $ac_c" 1>&6
13265 ac_save_LIBS
="$LIBS"
13266 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13267 cat > conftest.
$ac_ext <<EOF
13268 #line 13269 "configure"
13269 #include "confdefs.h"
13270 /* Override any gcc2 internal prototype to avoid an error. */
13271 /* We use char because int might match the return type of a gcc2
13272 builtin and then its argument prototype would still apply. */
13279 if { (eval echo configure
:13280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13281 eval "ac_cv_lib_$ac_lib_var=yes"
13283 echo "configure: failed program was:" >&5
13284 cat conftest.
$ac_ext >&5
13286 eval "ac_cv_lib_$ac_lib_var=no"
13289 LIBS
="$ac_save_LIBS"
13292 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13293 echo "$ac_t""yes" 1>&6
13294 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
13296 echo "$ac_t""no" 1>&6
13301 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
13302 echo $ac_n "checking for remove""... $ac_c" 1>&6
13303 echo "configure:13304: checking for remove" >&5
13304 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
13305 echo $ac_n "(cached) $ac_c" 1>&6
13307 cat > conftest.
$ac_ext <<EOF
13308 #line 13309 "configure"
13309 #include "confdefs.h"
13310 /* System header to define __stub macros and hopefully few prototypes,
13311 which can conflict with char remove(); below. */
13312 #include <assert.h>
13313 /* Override any gcc2 internal prototype to avoid an error. */
13314 /* We use char because int might match the return type of a gcc2
13315 builtin and then its argument prototype would still apply. */
13320 /* The GNU C library defines this for functions which it implements
13321 to always fail with ENOSYS. Some functions are actually named
13322 something starting with __ and the normal name is an alias. */
13323 #if defined (__stub_remove) || defined (__stub___remove)
13331 if { (eval echo configure
:13332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13333 eval "ac_cv_func_remove=yes"
13335 echo "configure: failed program was:" >&5
13336 cat conftest.
$ac_ext >&5
13338 eval "ac_cv_func_remove=no"
13343 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
13344 echo "$ac_t""yes" 1>&6
13347 echo "$ac_t""no" 1>&6
13350 if test $ac_cv_func_remove = no
; then
13351 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
13352 echo "configure:13353: checking for remove in -lposix" >&5
13353 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
13354 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13355 echo $ac_n "(cached) $ac_c" 1>&6
13357 ac_save_LIBS
="$LIBS"
13358 LIBS
="-lposix $LIBS"
13359 cat > conftest.
$ac_ext <<EOF
13360 #line 13361 "configure"
13361 #include "confdefs.h"
13362 /* Override any gcc2 internal prototype to avoid an error. */
13363 /* We use char because int might match the return type of a gcc2
13364 builtin and then its argument prototype would still apply. */
13371 if { (eval echo configure
:13372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13373 eval "ac_cv_lib_$ac_lib_var=yes"
13375 echo "configure: failed program was:" >&5
13376 cat conftest.
$ac_ext >&5
13378 eval "ac_cv_lib_$ac_lib_var=no"
13381 LIBS
="$ac_save_LIBS"
13384 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13385 echo "$ac_t""yes" 1>&6
13386 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
13388 echo "$ac_t""no" 1>&6
13393 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13394 echo $ac_n "checking for shmat""... $ac_c" 1>&6
13395 echo "configure:13396: checking for shmat" >&5
13396 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
13397 echo $ac_n "(cached) $ac_c" 1>&6
13399 cat > conftest.
$ac_ext <<EOF
13400 #line 13401 "configure"
13401 #include "confdefs.h"
13402 /* System header to define __stub macros and hopefully few prototypes,
13403 which can conflict with char shmat(); below. */
13404 #include <assert.h>
13405 /* Override any gcc2 internal prototype to avoid an error. */
13406 /* We use char because int might match the return type of a gcc2
13407 builtin and then its argument prototype would still apply. */
13412 /* The GNU C library defines this for functions which it implements
13413 to always fail with ENOSYS. Some functions are actually named
13414 something starting with __ and the normal name is an alias. */
13415 #if defined (__stub_shmat) || defined (__stub___shmat)
13423 if { (eval echo configure
:13424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13425 eval "ac_cv_func_shmat=yes"
13427 echo "configure: failed program was:" >&5
13428 cat conftest.
$ac_ext >&5
13430 eval "ac_cv_func_shmat=no"
13435 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
13436 echo "$ac_t""yes" 1>&6
13439 echo "$ac_t""no" 1>&6
13442 if test $ac_cv_func_shmat = no
; then
13443 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
13444 echo "configure:13445: checking for shmat in -lipc" >&5
13445 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
13446 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13447 echo $ac_n "(cached) $ac_c" 1>&6
13449 ac_save_LIBS
="$LIBS"
13451 cat > conftest.
$ac_ext <<EOF
13452 #line 13453 "configure"
13453 #include "confdefs.h"
13454 /* Override any gcc2 internal prototype to avoid an error. */
13455 /* We use char because int might match the return type of a gcc2
13456 builtin and then its argument prototype would still apply. */
13463 if { (eval echo configure
:13464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13465 eval "ac_cv_lib_$ac_lib_var=yes"
13467 echo "configure: failed program was:" >&5
13468 cat conftest.
$ac_ext >&5
13470 eval "ac_cv_lib_$ac_lib_var=no"
13473 LIBS
="$ac_save_LIBS"
13476 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13477 echo "$ac_t""yes" 1>&6
13478 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
13480 echo "$ac_t""no" 1>&6
13486 # Check for libraries that X11R6 Xt/Xaw programs need.
13487 ac_save_LDFLAGS
="$LDFLAGS"
13488 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
13489 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13490 # check for ICE first), but we must link in the order -lSM -lICE or
13491 # we get undefined symbols. So assume we have SM if we have ICE.
13492 # These have to be linked with before -lX11, unlike the other
13493 # libraries we check for below, so use a different variable.
13494 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
13495 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
13496 echo "configure:13497: checking for IceConnectionNumber in -lICE" >&5
13497 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
13498 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13499 echo $ac_n "(cached) $ac_c" 1>&6
13501 ac_save_LIBS
="$LIBS"
13502 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
13503 cat > conftest.
$ac_ext <<EOF
13504 #line 13505 "configure"
13505 #include "confdefs.h"
13506 /* Override any gcc2 internal prototype to avoid an error. */
13507 /* We use char because int might match the return type of a gcc2
13508 builtin and then its argument prototype would still apply. */
13509 char IceConnectionNumber();
13512 IceConnectionNumber()
13515 if { (eval echo configure
:13516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13517 eval "ac_cv_lib_$ac_lib_var=yes"
13519 echo "configure: failed program was:" >&5
13520 cat conftest.
$ac_ext >&5
13522 eval "ac_cv_lib_$ac_lib_var=no"
13525 LIBS
="$ac_save_LIBS"
13528 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13529 echo "$ac_t""yes" 1>&6
13530 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
13532 echo "$ac_t""no" 1>&6
13535 LDFLAGS
="$ac_save_LDFLAGS"
13540 if test "$no_x" = "yes"; then
13541 { echo "configure: error: X11 not found" 1>&2; exit 1; }
13544 GUI_TK_LIBRARY
="$X_LIBS"
13545 TOOLKIT_INCLUDE
="$X_CFLAGS"
13546 AFMINSTALL
=afminstall
13547 COMPILED_X_PROGRAM
=0
13549 if test "$wxUSE_NANOX" = "yes"; then
13550 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
13551 echo "configure:13552: checking for MicroWindows/NanoX distribution" >&5
13552 if test "x$MICROWIN" = x
; then
13553 echo "$ac_t""not found" 1>&6
13554 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
13556 echo "$ac_t""$MICROWIN" 1>&6
13557 cat >> confdefs.h
<<\EOF
13558 #define wxUSE_NANOX 1
13565 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13566 echo "configure:13567: checking for Xpm library" >&5
13569 for ac_dir
in $SEARCH_LIB;
13571 for ac_extension
in a so sl dylib
; do
13572 if test -f "$ac_dir/libXpm.$ac_extension"; then
13573 ac_find_libraries
=$ac_dir
13579 if test "$ac_find_libraries" != "" ; then
13581 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13583 if test $result = 0; then
13586 ac_path_to_link
=" -L$ac_find_libraries"
13589 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13591 cat >> confdefs.h
<<\EOF
13592 #define wxHAVE_LIB_XPM 1
13595 echo "$ac_t""found at $ac_find_libraries" 1>&6
13597 cat > conftest.
$ac_ext <<EOF
13598 #line 13599 "configure"
13599 #include "confdefs.h"
13601 #include <X11/xpm.h>
13606 version = XpmLibraryVersion();
13610 if { (eval echo configure
:13611: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13614 cat >> confdefs.h
<<\EOF
13615 #define wxHAVE_LIB_XPM 1
13618 echo "$ac_t""found in default search path" 1>&6
13619 COMPILED_X_PROGRAM
=0
13622 echo "configure: failed program was:" >&5
13623 cat conftest.
$ac_ext >&5
13626 echo "$ac_t""no" 1>&6
13627 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13634 wxUSE_UNIVERSAL
="yes"
13636 if test "$wxUSE_NANOX" = "yes"; then
13637 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
13638 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"
13639 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
13641 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
13644 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
13649 if test "$wxUSE_WINE" = 1; then
13650 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
13651 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
13652 echo "configure:13653: checking for windows.h" >&5
13653 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13654 echo $ac_n "(cached) $ac_c" 1>&6
13656 cat > conftest.
$ac_ext <<EOF
13657 #line 13658 "configure"
13658 #include "confdefs.h"
13659 #include <windows.h>
13661 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13662 { (eval echo configure
:13663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13663 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13664 if test -z "$ac_err"; then
13666 eval "ac_cv_header_$ac_safe=yes"
13669 echo "configure: failed program was:" >&5
13670 cat conftest.
$ac_ext >&5
13672 eval "ac_cv_header_$ac_safe=no"
13676 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13677 echo "$ac_t""yes" 1>&6
13680 echo "$ac_t""no" 1>&6
13682 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
13688 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13689 echo "configure:13690: checking for Xpm library" >&5
13692 for ac_dir
in $SEARCH_LIB;
13694 for ac_extension
in a so sl dylib
; do
13695 if test -f "$ac_dir/libXpm.$ac_extension"; then
13696 ac_find_libraries
=$ac_dir
13702 if test "$ac_find_libraries" != "" ; then
13703 GUI_TK_LIBRARY
="-L$ac_find_libraries"
13705 cat >> confdefs.h
<<\EOF
13706 #define wxHAVE_LIB_XPM 1
13709 echo "$ac_t""found at $ac_find_libraries" 1>&6
13711 echo "$ac_t""no" 1>&6
13712 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13716 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
13717 echo "configure:13718: checking for Mesa library" >&5
13720 for ac_dir
in $SEARCH_LIB;
13722 for ac_extension
in a so sl dylib
; do
13723 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
13724 ac_find_libraries
=$ac_dir
13730 if test "$ac_find_libraries" != "" ; then
13731 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
13732 mesa_link
=" -lMesaGL"
13733 echo "$ac_t""found at $ac_find_libraries" 1>&6
13735 { echo "configure: error: no" 1>&2; exit 1; }
13738 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
13741 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
13744 if test "$wxUSE_MOTIF" = 1; then
13745 if test "$no_x" = yes; then
13746 # Not all programs may use this symbol, but it does not hurt to define it.
13747 cat >> confdefs.h
<<\EOF
13748 #define X_DISPLAY_MISSING 1
13751 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13753 if test -n "$x_includes"; then
13754 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13757 # It would also be nice to do this for all -L options, not just this one.
13758 if test -n "$x_libraries"; then
13759 X_LIBS
="$X_LIBS -L$x_libraries"
13760 # For Solaris; some versions of Sun CC require a space after -R and
13761 # others require no space. Words are not sufficient . . . .
13762 case "`(uname -sr) 2>/dev/null`" in
13764 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13765 echo "configure:13766: checking whether -R must be followed by a space" >&5
13766 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13767 cat > conftest.
$ac_ext <<EOF
13768 #line 13769 "configure"
13769 #include "confdefs.h"
13775 if { (eval echo configure
:13776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13779 echo "configure: failed program was:" >&5
13780 cat conftest.
$ac_ext >&5
13785 if test $ac_R_nospace = yes; then
13786 echo "$ac_t""no" 1>&6
13787 X_LIBS
="$X_LIBS -R$x_libraries"
13789 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13790 cat > conftest.
$ac_ext <<EOF
13791 #line 13792 "configure"
13792 #include "confdefs.h"
13798 if { (eval echo configure
:13799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13802 echo "configure: failed program was:" >&5
13803 cat conftest.
$ac_ext >&5
13808 if test $ac_R_space = yes; then
13809 echo "$ac_t""yes" 1>&6
13810 X_LIBS
="$X_LIBS -R $x_libraries"
13812 echo "$ac_t""neither works" 1>&6
13815 LIBS
="$ac_xsave_LIBS"
13819 # Check for system-dependent libraries X programs must link with.
13820 # Do this before checking for the system-independent R6 libraries
13821 # (-lICE), since we may need -lsocket or whatever for X linking.
13823 if test "$ISC" = yes; then
13824 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13826 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13827 # libraries were built with DECnet support. And karl@cs.umb.edu says
13828 # the Alpha needs dnet_stub (dnet does not exist).
13829 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13830 echo "configure:13831: checking for dnet_ntoa in -ldnet" >&5
13831 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13832 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13833 echo $ac_n "(cached) $ac_c" 1>&6
13835 ac_save_LIBS
="$LIBS"
13836 LIBS
="-ldnet $LIBS"
13837 cat > conftest.
$ac_ext <<EOF
13838 #line 13839 "configure"
13839 #include "confdefs.h"
13840 /* Override any gcc2 internal prototype to avoid an error. */
13841 /* We use char because int might match the return type of a gcc2
13842 builtin and then its argument prototype would still apply. */
13849 if { (eval echo configure
:13850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13851 eval "ac_cv_lib_$ac_lib_var=yes"
13853 echo "configure: failed program was:" >&5
13854 cat conftest.
$ac_ext >&5
13856 eval "ac_cv_lib_$ac_lib_var=no"
13859 LIBS
="$ac_save_LIBS"
13862 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13863 echo "$ac_t""yes" 1>&6
13864 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13866 echo "$ac_t""no" 1>&6
13869 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13870 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13871 echo "configure:13872: checking for dnet_ntoa in -ldnet_stub" >&5
13872 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13873 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13874 echo $ac_n "(cached) $ac_c" 1>&6
13876 ac_save_LIBS
="$LIBS"
13877 LIBS
="-ldnet_stub $LIBS"
13878 cat > conftest.
$ac_ext <<EOF
13879 #line 13880 "configure"
13880 #include "confdefs.h"
13881 /* Override any gcc2 internal prototype to avoid an error. */
13882 /* We use char because int might match the return type of a gcc2
13883 builtin and then its argument prototype would still apply. */
13890 if { (eval echo configure
:13891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13892 eval "ac_cv_lib_$ac_lib_var=yes"
13894 echo "configure: failed program was:" >&5
13895 cat conftest.
$ac_ext >&5
13897 eval "ac_cv_lib_$ac_lib_var=no"
13900 LIBS
="$ac_save_LIBS"
13903 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13904 echo "$ac_t""yes" 1>&6
13905 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13907 echo "$ac_t""no" 1>&6
13912 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13913 # to get the SysV transport functions.
13914 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13916 # The nsl library prevents programs from opening the X display
13917 # on Irix 5.2, according to dickey@clark.net.
13918 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13919 echo "configure:13920: checking for gethostbyname" >&5
13920 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13921 echo $ac_n "(cached) $ac_c" 1>&6
13923 cat > conftest.
$ac_ext <<EOF
13924 #line 13925 "configure"
13925 #include "confdefs.h"
13926 /* System header to define __stub macros and hopefully few prototypes,
13927 which can conflict with char gethostbyname(); below. */
13928 #include <assert.h>
13929 /* Override any gcc2 internal prototype to avoid an error. */
13930 /* We use char because int might match the return type of a gcc2
13931 builtin and then its argument prototype would still apply. */
13932 char gethostbyname();
13936 /* The GNU C library defines this for functions which it implements
13937 to always fail with ENOSYS. Some functions are actually named
13938 something starting with __ and the normal name is an alias. */
13939 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13947 if { (eval echo configure
:13948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13949 eval "ac_cv_func_gethostbyname=yes"
13951 echo "configure: failed program was:" >&5
13952 cat conftest.
$ac_ext >&5
13954 eval "ac_cv_func_gethostbyname=no"
13959 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13960 echo "$ac_t""yes" 1>&6
13963 echo "$ac_t""no" 1>&6
13966 if test $ac_cv_func_gethostbyname = no
; then
13967 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13968 echo "configure:13969: checking for gethostbyname in -lnsl" >&5
13969 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13970 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13971 echo $ac_n "(cached) $ac_c" 1>&6
13973 ac_save_LIBS
="$LIBS"
13975 cat > conftest.
$ac_ext <<EOF
13976 #line 13977 "configure"
13977 #include "confdefs.h"
13978 /* Override any gcc2 internal prototype to avoid an error. */
13979 /* We use char because int might match the return type of a gcc2
13980 builtin and then its argument prototype would still apply. */
13981 char gethostbyname();
13987 if { (eval echo configure
:13988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13989 eval "ac_cv_lib_$ac_lib_var=yes"
13991 echo "configure: failed program was:" >&5
13992 cat conftest.
$ac_ext >&5
13994 eval "ac_cv_lib_$ac_lib_var=no"
13997 LIBS
="$ac_save_LIBS"
14000 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14001 echo "$ac_t""yes" 1>&6
14002 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14004 echo "$ac_t""no" 1>&6
14009 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14010 # socket/setsockopt and other routines are undefined under SCO ODT
14011 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14012 # on later versions), says simon@lia.di.epfl.ch: it contains
14013 # gethostby* variants that don't use the nameserver (or something).
14014 # -lsocket must be given before -lnsl if both are needed.
14015 # We assume that if connect needs -lnsl, so does gethostbyname.
14016 echo $ac_n "checking for connect""... $ac_c" 1>&6
14017 echo "configure:14018: checking for connect" >&5
14018 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14019 echo $ac_n "(cached) $ac_c" 1>&6
14021 cat > conftest.
$ac_ext <<EOF
14022 #line 14023 "configure"
14023 #include "confdefs.h"
14024 /* System header to define __stub macros and hopefully few prototypes,
14025 which can conflict with char connect(); below. */
14026 #include <assert.h>
14027 /* Override any gcc2 internal prototype to avoid an error. */
14028 /* We use char because int might match the return type of a gcc2
14029 builtin and then its argument prototype would still apply. */
14034 /* The GNU C library defines this for functions which it implements
14035 to always fail with ENOSYS. Some functions are actually named
14036 something starting with __ and the normal name is an alias. */
14037 #if defined (__stub_connect) || defined (__stub___connect)
14045 if { (eval echo configure
:14046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14047 eval "ac_cv_func_connect=yes"
14049 echo "configure: failed program was:" >&5
14050 cat conftest.
$ac_ext >&5
14052 eval "ac_cv_func_connect=no"
14057 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14058 echo "$ac_t""yes" 1>&6
14061 echo "$ac_t""no" 1>&6
14064 if test $ac_cv_func_connect = no
; then
14065 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14066 echo "configure:14067: checking for connect in -lsocket" >&5
14067 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14068 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14069 echo $ac_n "(cached) $ac_c" 1>&6
14071 ac_save_LIBS
="$LIBS"
14072 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14073 cat > conftest.
$ac_ext <<EOF
14074 #line 14075 "configure"
14075 #include "confdefs.h"
14076 /* Override any gcc2 internal prototype to avoid an error. */
14077 /* We use char because int might match the return type of a gcc2
14078 builtin and then its argument prototype would still apply. */
14085 if { (eval echo configure
:14086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14087 eval "ac_cv_lib_$ac_lib_var=yes"
14089 echo "configure: failed program was:" >&5
14090 cat conftest.
$ac_ext >&5
14092 eval "ac_cv_lib_$ac_lib_var=no"
14095 LIBS
="$ac_save_LIBS"
14098 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14099 echo "$ac_t""yes" 1>&6
14100 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14102 echo "$ac_t""no" 1>&6
14107 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14108 echo $ac_n "checking for remove""... $ac_c" 1>&6
14109 echo "configure:14110: checking for remove" >&5
14110 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14111 echo $ac_n "(cached) $ac_c" 1>&6
14113 cat > conftest.
$ac_ext <<EOF
14114 #line 14115 "configure"
14115 #include "confdefs.h"
14116 /* System header to define __stub macros and hopefully few prototypes,
14117 which can conflict with char remove(); below. */
14118 #include <assert.h>
14119 /* Override any gcc2 internal prototype to avoid an error. */
14120 /* We use char because int might match the return type of a gcc2
14121 builtin and then its argument prototype would still apply. */
14126 /* The GNU C library defines this for functions which it implements
14127 to always fail with ENOSYS. Some functions are actually named
14128 something starting with __ and the normal name is an alias. */
14129 #if defined (__stub_remove) || defined (__stub___remove)
14137 if { (eval echo configure
:14138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14139 eval "ac_cv_func_remove=yes"
14141 echo "configure: failed program was:" >&5
14142 cat conftest.
$ac_ext >&5
14144 eval "ac_cv_func_remove=no"
14149 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14150 echo "$ac_t""yes" 1>&6
14153 echo "$ac_t""no" 1>&6
14156 if test $ac_cv_func_remove = no
; then
14157 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14158 echo "configure:14159: checking for remove in -lposix" >&5
14159 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14160 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14161 echo $ac_n "(cached) $ac_c" 1>&6
14163 ac_save_LIBS
="$LIBS"
14164 LIBS
="-lposix $LIBS"
14165 cat > conftest.
$ac_ext <<EOF
14166 #line 14167 "configure"
14167 #include "confdefs.h"
14168 /* Override any gcc2 internal prototype to avoid an error. */
14169 /* We use char because int might match the return type of a gcc2
14170 builtin and then its argument prototype would still apply. */
14177 if { (eval echo configure
:14178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14179 eval "ac_cv_lib_$ac_lib_var=yes"
14181 echo "configure: failed program was:" >&5
14182 cat conftest.
$ac_ext >&5
14184 eval "ac_cv_lib_$ac_lib_var=no"
14187 LIBS
="$ac_save_LIBS"
14190 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14191 echo "$ac_t""yes" 1>&6
14192 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14194 echo "$ac_t""no" 1>&6
14199 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14200 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14201 echo "configure:14202: checking for shmat" >&5
14202 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14203 echo $ac_n "(cached) $ac_c" 1>&6
14205 cat > conftest.
$ac_ext <<EOF
14206 #line 14207 "configure"
14207 #include "confdefs.h"
14208 /* System header to define __stub macros and hopefully few prototypes,
14209 which can conflict with char shmat(); below. */
14210 #include <assert.h>
14211 /* Override any gcc2 internal prototype to avoid an error. */
14212 /* We use char because int might match the return type of a gcc2
14213 builtin and then its argument prototype would still apply. */
14218 /* The GNU C library defines this for functions which it implements
14219 to always fail with ENOSYS. Some functions are actually named
14220 something starting with __ and the normal name is an alias. */
14221 #if defined (__stub_shmat) || defined (__stub___shmat)
14229 if { (eval echo configure
:14230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14231 eval "ac_cv_func_shmat=yes"
14233 echo "configure: failed program was:" >&5
14234 cat conftest.
$ac_ext >&5
14236 eval "ac_cv_func_shmat=no"
14241 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14242 echo "$ac_t""yes" 1>&6
14245 echo "$ac_t""no" 1>&6
14248 if test $ac_cv_func_shmat = no
; then
14249 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14250 echo "configure:14251: checking for shmat in -lipc" >&5
14251 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14252 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14253 echo $ac_n "(cached) $ac_c" 1>&6
14255 ac_save_LIBS
="$LIBS"
14257 cat > conftest.
$ac_ext <<EOF
14258 #line 14259 "configure"
14259 #include "confdefs.h"
14260 /* Override any gcc2 internal prototype to avoid an error. */
14261 /* We use char because int might match the return type of a gcc2
14262 builtin and then its argument prototype would still apply. */
14269 if { (eval echo configure
:14270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14271 eval "ac_cv_lib_$ac_lib_var=yes"
14273 echo "configure: failed program was:" >&5
14274 cat conftest.
$ac_ext >&5
14276 eval "ac_cv_lib_$ac_lib_var=no"
14279 LIBS
="$ac_save_LIBS"
14282 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14283 echo "$ac_t""yes" 1>&6
14284 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14286 echo "$ac_t""no" 1>&6
14292 # Check for libraries that X11R6 Xt/Xaw programs need.
14293 ac_save_LDFLAGS
="$LDFLAGS"
14294 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14295 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14296 # check for ICE first), but we must link in the order -lSM -lICE or
14297 # we get undefined symbols. So assume we have SM if we have ICE.
14298 # These have to be linked with before -lX11, unlike the other
14299 # libraries we check for below, so use a different variable.
14300 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14301 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14302 echo "configure:14303: checking for IceConnectionNumber in -lICE" >&5
14303 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14304 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14305 echo $ac_n "(cached) $ac_c" 1>&6
14307 ac_save_LIBS
="$LIBS"
14308 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14309 cat > conftest.
$ac_ext <<EOF
14310 #line 14311 "configure"
14311 #include "confdefs.h"
14312 /* Override any gcc2 internal prototype to avoid an error. */
14313 /* We use char because int might match the return type of a gcc2
14314 builtin and then its argument prototype would still apply. */
14315 char IceConnectionNumber();
14318 IceConnectionNumber()
14321 if { (eval echo configure
:14322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14323 eval "ac_cv_lib_$ac_lib_var=yes"
14325 echo "configure: failed program was:" >&5
14326 cat conftest.
$ac_ext >&5
14328 eval "ac_cv_lib_$ac_lib_var=no"
14331 LIBS
="$ac_save_LIBS"
14334 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14335 echo "$ac_t""yes" 1>&6
14336 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14338 echo "$ac_t""no" 1>&6
14341 LDFLAGS
="$ac_save_LDFLAGS"
14346 if test "$no_x" = "yes"; then
14347 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14350 GUI_TK_LIBRARY
="$X_LIBS"
14351 TOOLKIT_INCLUDE
="$X_CFLAGS"
14352 AFMINSTALL
=afminstall
14353 COMPILED_X_PROGRAM
=0
14355 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
14356 echo "configure:14357: checking for Motif/Lesstif headers" >&5
14359 for ac_dir
in $SEARCH_INCLUDE;
14361 if test -f "$ac_dir/Xm/Xm.h"; then
14362 ac_find_includes
=$ac_dir
14367 if test "$ac_find_includes" != "" ; then
14368 echo "$ac_t""found $ac_find_includes" 1>&6
14370 cat > conftest.
$ac_ext <<EOF
14371 #line 14372 "configure"
14372 #include "confdefs.h"
14379 version = xmUseVersion;
14383 if { (eval echo configure
:14384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14386 echo "$ac_t""found in default search path" 1>&6
14387 COMPILED_X_PROGRAM
=1
14390 echo "configure: failed program was:" >&5
14391 cat conftest.
$ac_ext >&5
14394 echo "$ac_t""no" 1>&6
14395 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
14402 if test "$COMPILED_X_PROGRAM" = 0; then
14403 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
14404 echo "configure:14405: checking for Motif/Lesstif library" >&5
14407 for ac_dir
in $SEARCH_LIB;
14409 for ac_extension
in a so sl dylib
; do
14410 if test -f "$ac_dir/libXm.$ac_extension"; then
14411 ac_find_libraries
=$ac_dir
14417 if test "$ac_find_libraries" != "" ; then
14419 ac_path_to_include
=$ac_find_includes
14420 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
14422 if test $result = 0; then
14423 ac_path_to_include
=""
14425 ac_path_to_include
=" -I$ac_find_includes"
14429 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14431 if test $result = 0; then
14434 ac_path_to_link
=" -L$ac_find_libraries"
14438 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14439 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
14440 echo "$ac_t""found at $ac_find_libraries" 1>&6
14442 cat > conftest.
$ac_ext <<EOF
14443 #line 14444 "configure"
14444 #include "confdefs.h"
14451 version = xmUseVersion;
14455 if { (eval echo configure
:14456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14458 echo "$ac_t""found in default search path" 1>&6
14459 COMPILED_X_PROGRAM
=1
14462 echo "configure: failed program was:" >&5
14463 cat conftest.
$ac_ext >&5
14466 echo "$ac_t""no" 1>&6
14467 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
14476 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14477 echo "configure:14478: checking for Xpm library" >&5
14480 for ac_dir
in $SEARCH_LIB;
14482 for ac_extension
in a so sl dylib
; do
14483 if test -f "$ac_dir/libXpm.$ac_extension"; then
14484 ac_find_libraries
=$ac_dir
14490 if test "$ac_find_libraries" != "" ; then
14492 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14494 if test $result = 0; then
14497 ac_path_to_link
=" -L$ac_find_libraries"
14500 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14502 cat >> confdefs.h
<<\EOF
14503 #define wxHAVE_LIB_XPM 1
14506 echo "$ac_t""found at $ac_find_libraries" 1>&6
14508 cat > conftest.
$ac_ext <<EOF
14509 #line 14510 "configure"
14510 #include "confdefs.h"
14512 #include <X11/xpm.h>
14517 version = XpmLibraryVersion();
14521 if { (eval echo configure
:14522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14525 cat >> confdefs.h
<<\EOF
14526 #define wxHAVE_LIB_XPM 1
14529 echo "$ac_t""found in default search path" 1>&6
14530 COMPILED_X_PROGRAM
=0
14533 echo "configure: failed program was:" >&5
14534 cat conftest.
$ac_ext >&5
14537 echo "$ac_t""no" 1>&6
14538 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14548 xt_needs_sm_ice
=" -lSM -lICE"
14552 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt${xt_needs_sm_ice} -lX11"
14553 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
14558 if test "$wxUSE_MAC" = 1; then
14559 if test "$wxUSE_PRECOMP" = "yes"; then
14560 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
14562 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
14564 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
14565 CFLAGS
="$CFLAGS -fpascal-strings"
14566 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
14568 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
14573 if test "$wxUSE_PM" = 1; then
14578 if test "$TOOLKIT" = "PM" ; then
14581 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
14584 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
14586 if test "$wxUSE_UNIVERSAL" = "yes"; then
14587 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
14589 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
14590 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
14592 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
14593 if test "$wxUSE_X11" = 1; then
14594 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
14596 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
14598 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
14601 ALL_OBJECTS
="\$(GUIOBJS)"
14602 ALL_SOURCES
="\$(ALL_SOURCES)"
14603 ALL_HEADERS
="\$(ALL_HEADERS)"
14606 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
14608 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
14609 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
14612 if test "$wxUSE_HTML" = "yes"; then
14613 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
14616 if test "$wxUSE_LIBJPEG" = "builtin" ; then
14617 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
14619 if test "$wxUSE_LIBTIFF" = "builtin" ; then
14620 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
14622 if test "$wxUSE_LIBPNG" = "builtin" ; then
14623 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
14626 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
14627 DISTDIR
="wx\$(TOOLKIT)"
14633 if test "$USE_WIN32" = 1 ; then
14634 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
14635 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
14639 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
14640 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
14643 ALL_SOURCES
="\$(ALL_SOURCES)"
14644 ALL_HEADERS
="\$(ALL_HEADERS)"
14646 PORT_FILES
="\${top_srcdir}/src/files.lst"
14648 GUIDIST
="BASE_DIST"
14653 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
14654 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
14657 if test "$wxUSE_REGEX" = "builtin" ; then
14658 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
14660 if test "$wxUSE_ZLIB" = "builtin" ; then
14661 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
14665 if test "$wxUSE_OPENGL" = "yes"; then
14666 if test "$wxUSE_MAC" = 1; then
14667 OPENGL_LIBS
="-framework OpenGL -framework AGL"
14668 elif test "$wxUSE_MSW" = 1; then
14669 OPENGL_LIBS
="-lopengl32 -lglu32"
14671 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
14672 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
14673 echo "configure:14674: checking for GL/gl.h" >&5
14674 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14675 echo $ac_n "(cached) $ac_c" 1>&6
14677 cat > conftest.
$ac_ext <<EOF
14678 #line 14679 "configure"
14679 #include "confdefs.h"
14682 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14683 { (eval echo configure
:14684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14684 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14685 if test -z "$ac_err"; then
14687 eval "ac_cv_header_$ac_safe=yes"
14690 echo "configure: failed program was:" >&5
14691 cat conftest.
$ac_ext >&5
14693 eval "ac_cv_header_$ac_safe=no"
14697 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14698 echo "$ac_t""yes" 1>&6
14700 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
14701 echo "configure:14702: checking for -lGL" >&5
14704 for ac_dir
in $SEARCH_LIB;
14706 for ac_extension
in a so sl dylib
; do
14707 if test -f "$ac_dir/libGL.$ac_extension"; then
14708 ac_find_libraries
=$ac_dir
14714 if test "$ac_find_libraries" != "" ; then
14716 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
14718 if test $result = 0; then
14721 ac_path_to_link
=" -L$ac_find_libraries"
14724 if test "$ac_path_to_link" = " -L/usr/lib" ; then
14725 LDFLAGS_GL
="$LDFLAGS"
14727 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
14729 OPENGL_LIBS
="-lGL -lGLU"
14730 echo "$ac_t""yes" 1>&6
14732 echo "$ac_t""no" 1>&6
14733 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
14734 echo "configure:14735: checking for -lMesaGL" >&5
14737 for ac_dir
in $SEARCH_LIB;
14739 for ac_extension
in a so sl dylib
; do
14740 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
14741 ac_find_libraries
=$ac_dir
14747 if test "$ac_find_libraries" != "" ; then
14749 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
14751 if test $result = 0; then
14754 ac_path_to_link
=" -L$ac_find_libraries"
14757 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
14758 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
14759 echo "$ac_t""yes" 1>&6
14761 echo "$ac_t""no" 1>&6
14766 echo "$ac_t""no" 1>&6
14770 if test "x$OPENGL_LIBS" = "x"; then
14771 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
14775 if test "$wxUSE_OPENGL" = "yes"; then
14776 cat >> confdefs.h
<<\EOF
14777 #define wxUSE_OPENGL 1
14780 cat >> confdefs.h
<<\EOF
14781 #define wxUSE_GLCANVAS 1
14784 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
14788 if test -z "$TOOLKIT_VPATH" ; then
14789 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
14792 if test -n "$TOOLKIT" ; then
14793 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
14796 lib_unicode_suffix
=
14797 if test "$wxUSE_UNICODE" = "yes"; then
14798 lib_unicode_suffix
=u
14802 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
14806 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
14807 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
14809 if test "$cross_compiling" = "yes"; then
14810 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
14811 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
14814 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
14815 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
14817 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
14818 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
14820 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
14821 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
14822 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
14823 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
14826 *-*-cygwin* | *-*-mingw32* )
14830 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
14831 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
14832 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
14833 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
14834 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
14836 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
14837 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
14842 if test "$wxUSE_MAC" = 1; then
14843 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.r"
14844 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.rsrc"
14849 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
14850 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
14852 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
14853 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
14855 if test "$wxUSE_OPENGL" = "yes"; then
14856 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
14857 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
14862 if test "$wxUSE_SHARED" = "yes"; then
14864 *-pc-os2_emx | *-pc-os2-emx | \
14867 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
14872 if test "$wxUSE_SHARED" = "yes"; then
14874 if test "$wxUSE_OPENGL" = "yes"; then
14875 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
14876 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
14878 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
14879 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
14882 if test "$GCC" = "yes"; then
14886 SHARED_LD
="${CXX} -shared -o"
14890 if test "$GCC" == "yes"; then
14891 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
14893 LDFLAGS
="$LDFLAGS -L/usr/lib"
14895 SHARED_LD
="${CXX} -b -o"
14899 if test "$wxUSE_OPENGL" = "yes"; then
14900 WX_ALL_INSTALLED
="preinstall_gl"
14901 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
14903 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
14908 if test "$GCC" != "yes"; then
14909 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
14910 echo "configure:14911: checking for Intel compiler" >&5
14911 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
14912 echo $ac_n "(cached) $ac_c" 1>&6
14915 cat > conftest.
$ac_ext <<EOF
14916 #line 14917 "configure"
14917 #include "confdefs.h"
14921 #ifndef __INTEL_COMPILER
14927 if { (eval echo configure
:14928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14931 echo "configure: failed program was:" >&5
14932 cat conftest.
$ac_ext >&5
14941 echo "$ac_t""$wx_cv_prog_icc" 1>&6
14942 if test "$wx_cv_prog_icc" = "yes"; then
14947 if test "$wxUSE_SONAME" = "yes" ; then
14948 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
14949 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
14950 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
14955 if test "$GCC" = yes ; then
14956 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
14958 SHARED_LD
="${CXX} -G -o"
14960 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
14961 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
14966 CFLAGS
="$CFLAGS -fno-common -DWXMAKINGDLL"
14967 CXXFLAGS
="$CXXFLAGS -fno-common -DWXMAKINGDLL"
14968 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
14969 PIC_FLAG
="-dynamic -fPIC"
14970 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"
14971 SONAME_FLAGS_GL
=${SONAME_FLAGS}
14975 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
14976 set dummy makeC
++SharedLib
; ac_word
=$2
14977 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14978 echo "configure:14979: checking for $ac_word" >&5
14979 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
14980 echo $ac_n "(cached) $ac_c" 1>&6
14982 if test -n "$AIX_CXX_LD"; then
14983 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
14985 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14987 for ac_dir
in $ac_dummy; do
14988 test -z "$ac_dir" && ac_dir
=.
14989 if test -f $ac_dir/$ac_word; then
14990 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
14995 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
14998 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
14999 if test -n "$AIX_CXX_LD"; then
15000 echo "$ac_t""$AIX_CXX_LD" 1>&6
15002 echo "$ac_t""no" 1>&6
15006 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
15009 *-*-cygwin* | *-*-mingw32* )
15011 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
15013 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
15014 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
15016 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
15018 if test "$wxUSE_OPENGL" = "yes"; then
15019 WX_ALL_INSTALLED
="preinstall_gl"
15020 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
15022 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
15027 SHARED_LD
="${LD} -shared -o"
15030 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
15032 *-*-irix5* | *-*-irix6* | \
15039 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
15042 if test "x$WX_TARGET_LIBRARY" = "x"; then
15043 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
15044 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
15047 WX_TARGET_LIBRARY_TYPE
="so"
15048 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
15051 if test "$wxUSE_SHARED" = "no"; then
15053 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
15054 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
15057 if test "$wxUSE_MAC" = 1; then
15058 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
15061 if test "$wxUSE_OPENGL" = "yes"; then
15062 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
15063 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
15065 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
15068 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
15069 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
15071 WX_TARGET_LIBRARY_TYPE
="a"
15072 INSTALL_LIBRARY
='$(INSTALL_DATA)'
15075 if test "$wxUSE_MAC" = 1; then
15076 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
15077 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
15078 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
15079 # Extract the first word of "Rez", so it can be a program name with args.
15080 set dummy Rez
; ac_word
=$2
15081 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15082 echo "configure:15083: checking for $ac_word" >&5
15083 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
15084 echo $ac_n "(cached) $ac_c" 1>&6
15086 if test -n "$RESCOMP"; then
15087 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
15089 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15091 for ac_dir
in $ac_dummy; do
15092 test -z "$ac_dir" && ac_dir
=.
15093 if test -f $ac_dir/$ac_word; then
15094 ac_cv_prog_RESCOMP
="Rez"
15099 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
15102 RESCOMP
="$ac_cv_prog_RESCOMP"
15103 if test -n "$RESCOMP"; then
15104 echo "$ac_t""$RESCOMP" 1>&6
15106 echo "$ac_t""no" 1>&6
15109 # Extract the first word of "DeRez", so it can be a program name with args.
15110 set dummy DeRez
; ac_word
=$2
15111 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15112 echo "configure:15113: checking for $ac_word" >&5
15113 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
15114 echo $ac_n "(cached) $ac_c" 1>&6
15116 if test -n "$DEREZ"; then
15117 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
15119 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15121 for ac_dir
in $ac_dummy; do
15122 test -z "$ac_dir" && ac_dir
=.
15123 if test -f $ac_dir/$ac_word; then
15124 ac_cv_prog_DEREZ
="DeRez"
15129 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
15132 DEREZ
="$ac_cv_prog_DEREZ"
15133 if test -n "$DEREZ"; then
15134 echo "$ac_t""$DEREZ" 1>&6
15136 echo "$ac_t""no" 1>&6
15139 MACOSX_BUNDLE
="bundle"
15140 if test "$wxUSE_SHARED" = "yes"; then
15141 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r -o \$(BIN_PROGRAM)"
15142 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r -o"
15144 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
15145 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
15148 if test "$wxUSE_PM" = 1; then
15149 LIBWXMACRESCOMP
="emxbind -ep \$(BIN_PROGRAM)"
15154 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
15155 echo "configure:15156: checking for ANSI C header files" >&5
15156 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
15157 echo $ac_n "(cached) $ac_c" 1>&6
15159 cat > conftest.
$ac_ext <<EOF
15160 #line 15161 "configure"
15161 #include "confdefs.h"
15162 #include <stdlib.h>
15163 #include <stdarg.h>
15164 #include <string.h>
15167 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15168 { (eval echo configure
:15169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15169 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15170 if test -z "$ac_err"; then
15172 ac_cv_header_stdc
=yes
15175 echo "configure: failed program was:" >&5
15176 cat conftest.
$ac_ext >&5
15178 ac_cv_header_stdc
=no
15182 if test $ac_cv_header_stdc = yes; then
15183 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15184 cat > conftest.
$ac_ext <<EOF
15185 #line 15186 "configure"
15186 #include "confdefs.h"
15187 #include <string.h>
15189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15190 egrep "memchr" >/dev
/null
2>&1; then
15194 ac_cv_header_stdc
=no
15200 if test $ac_cv_header_stdc = yes; then
15201 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15202 cat > conftest.
$ac_ext <<EOF
15203 #line 15204 "configure"
15204 #include "confdefs.h"
15205 #include <stdlib.h>
15207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15208 egrep "free" >/dev
/null
2>&1; then
15212 ac_cv_header_stdc
=no
15218 if test $ac_cv_header_stdc = yes; then
15219 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15220 if test "$cross_compiling" = yes; then
15223 cat > conftest.
$ac_ext <<EOF
15224 #line 15225 "configure"
15225 #include "confdefs.h"
15227 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15228 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15229 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15230 int main () { int i; for (i = 0; i < 256; i++)
15231 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
15235 if { (eval echo configure
:15236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
15239 echo "configure: failed program was:" >&5
15240 cat conftest.
$ac_ext >&5
15242 ac_cv_header_stdc
=no
15250 echo "$ac_t""$ac_cv_header_stdc" 1>&6
15251 if test $ac_cv_header_stdc = yes; then
15252 cat >> confdefs.h
<<\EOF
15253 #define STDC_HEADERS 1
15258 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
15259 echo "configure:15260: checking for mode_t" >&5
15260 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
15261 echo $ac_n "(cached) $ac_c" 1>&6
15263 cat > conftest.
$ac_ext <<EOF
15264 #line 15265 "configure"
15265 #include "confdefs.h"
15266 #include <sys/types.h>
15268 #include <stdlib.h>
15269 #include <stddef.h>
15272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15273 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15275 ac_cv_type_mode_t
=yes
15278 ac_cv_type_mode_t
=no
15283 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
15284 if test $ac_cv_type_mode_t = no
; then
15285 cat >> confdefs.h
<<\EOF
15291 echo $ac_n "checking for off_t""... $ac_c" 1>&6
15292 echo "configure:15293: checking for off_t" >&5
15293 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
15294 echo $ac_n "(cached) $ac_c" 1>&6
15296 cat > conftest.
$ac_ext <<EOF
15297 #line 15298 "configure"
15298 #include "confdefs.h"
15299 #include <sys/types.h>
15301 #include <stdlib.h>
15302 #include <stddef.h>
15305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15306 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15308 ac_cv_type_off_t
=yes
15311 ac_cv_type_off_t
=no
15316 echo "$ac_t""$ac_cv_type_off_t" 1>&6
15317 if test $ac_cv_type_off_t = no
; then
15318 cat >> confdefs.h
<<\EOF
15324 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
15325 echo "configure:15326: checking for pid_t" >&5
15326 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
15327 echo $ac_n "(cached) $ac_c" 1>&6
15329 cat > conftest.
$ac_ext <<EOF
15330 #line 15331 "configure"
15331 #include "confdefs.h"
15332 #include <sys/types.h>
15334 #include <stdlib.h>
15335 #include <stddef.h>
15338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15339 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15341 ac_cv_type_pid_t
=yes
15344 ac_cv_type_pid_t
=no
15349 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
15350 if test $ac_cv_type_pid_t = no
; then
15351 cat >> confdefs.h
<<\EOF
15357 echo $ac_n "checking for size_t""... $ac_c" 1>&6
15358 echo "configure:15359: checking for size_t" >&5
15359 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
15360 echo $ac_n "(cached) $ac_c" 1>&6
15362 cat > conftest.
$ac_ext <<EOF
15363 #line 15364 "configure"
15364 #include "confdefs.h"
15365 #include <sys/types.h>
15367 #include <stdlib.h>
15368 #include <stddef.h>
15371 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15372 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15374 ac_cv_type_size_t
=yes
15377 ac_cv_type_size_t
=no
15382 echo "$ac_t""$ac_cv_type_size_t" 1>&6
15383 if test $ac_cv_type_size_t = no
; then
15384 cat >> confdefs.h
<<\EOF
15385 #define size_t unsigned
15390 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
15391 echo "configure:15392: checking for uid_t in sys/types.h" >&5
15392 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
15393 echo $ac_n "(cached) $ac_c" 1>&6
15395 cat > conftest.
$ac_ext <<EOF
15396 #line 15397 "configure"
15397 #include "confdefs.h"
15398 #include <sys/types.h>
15400 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15401 egrep "uid_t" >/dev
/null
2>&1; then
15403 ac_cv_type_uid_t
=yes
15406 ac_cv_type_uid_t
=no
15412 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
15413 if test $ac_cv_type_uid_t = no
; then
15414 cat >> confdefs.h
<<\EOF
15418 cat >> confdefs.h
<<\EOF
15427 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15428 ac_cpp
='$CXXCPP $CPPFLAGS'
15429 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15430 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15431 cross_compiling
=$ac_cv_prog_cxx_cross
15433 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
15434 echo "configure:15435: checking if size_t is unsigned int" >&5
15435 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
15436 echo $ac_n "(cached) $ac_c" 1>&6
15438 cat > conftest.
$ac_ext <<EOF
15439 #line 15440 "configure"
15440 #include "confdefs.h"
15441 #include <stddef.h>
15446 struct Foo { void foo(size_t); void foo(unsigned int); };
15452 if { (eval echo configure
:15453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15454 wx_cv_size_t_is_uint
=no
15456 echo "configure: failed program was:" >&5
15457 cat conftest.
$ac_ext >&5
15459 wx_cv_size_t_is_uint
=yes
15466 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
15468 if test "$wx_cv_size_t_is_uint" = "yes"; then
15469 cat >> confdefs.h
<<\EOF
15470 #define wxSIZE_T_IS_UINT 1
15474 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
15475 echo "configure:15476: checking if size_t is unsigned long" >&5
15476 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
15477 echo $ac_n "(cached) $ac_c" 1>&6
15479 cat > conftest.
$ac_ext <<EOF
15480 #line 15481 "configure"
15481 #include "confdefs.h"
15482 #include <stddef.h>
15487 struct Foo { void foo(size_t); void foo(unsigned long); };
15493 if { (eval echo configure
:15494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15495 wx_cv_size_t_is_ulong
=no
15497 echo "configure: failed program was:" >&5
15498 cat conftest.
$ac_ext >&5
15500 wx_cv_size_t_is_ulong
=yes
15507 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
15509 if test "$wx_cv_size_t_is_ulong" = "yes"; then
15510 cat >> confdefs.h
<<\EOF
15511 #define wxSIZE_T_IS_ULONG 1
15518 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15519 ac_cpp
='$CPP $CPPFLAGS'
15520 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15521 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15522 cross_compiling
=$ac_cv_prog_cc_cross
15526 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
15527 echo "configure:15528: checking for pw_gecos in struct passwd" >&5
15528 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
15529 echo $ac_n "(cached) $ac_c" 1>&6
15532 cat > conftest.
$ac_ext <<EOF
15533 #line 15534 "configure"
15534 #include "confdefs.h"
15544 if { (eval echo configure
:15545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15547 wx_cv_struct_pw_gecos
=yes
15550 echo "configure: failed program was:" >&5
15551 cat conftest.
$ac_ext >&5
15554 wx_cv_struct_pw_gecos
=no
15563 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
15565 if test "$wx_cv_struct_pw_gecos" = "yes"; then
15566 cat >> confdefs.h
<<\EOF
15567 #define HAVE_PW_GECOS 1
15574 if test "$wx_cv_sizeof_wchar_t" != "0"; then
15576 for ac_func
in wcslen
15578 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15579 echo "configure:15580: checking for $ac_func" >&5
15580 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15581 echo $ac_n "(cached) $ac_c" 1>&6
15583 cat > conftest.
$ac_ext <<EOF
15584 #line 15585 "configure"
15585 #include "confdefs.h"
15586 /* System header to define __stub macros and hopefully few prototypes,
15587 which can conflict with char $ac_func(); below. */
15588 #include <assert.h>
15589 /* Override any gcc2 internal prototype to avoid an error. */
15590 /* We use char because int might match the return type of a gcc2
15591 builtin and then its argument prototype would still apply. */
15596 /* The GNU C library defines this for functions which it implements
15597 to always fail with ENOSYS. Some functions are actually named
15598 something starting with __ and the normal name is an alias. */
15599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15607 if { (eval echo configure
:15608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15609 eval "ac_cv_func_$ac_func=yes"
15611 echo "configure: failed program was:" >&5
15612 cat conftest.
$ac_ext >&5
15614 eval "ac_cv_func_$ac_func=no"
15619 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15620 echo "$ac_t""yes" 1>&6
15621 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15622 cat >> confdefs.h
<<EOF
15623 #define $ac_tr_func 1
15626 cat >> confdefs.h
<<\EOF
15627 #define HAVE_WCSLEN 1
15633 echo "$ac_t""no" 1>&6
15638 if test "$WCHAR_OK" = 0; then
15639 if test "$TOOLKIT" = "MSW"; then
15640 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
15641 echo "configure:15642: checking for wcslen in -lmsvcrt" >&5
15642 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
15643 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15644 echo $ac_n "(cached) $ac_c" 1>&6
15646 ac_save_LIBS
="$LIBS"
15647 LIBS
="-lmsvcrt $LIBS"
15648 cat > conftest.
$ac_ext <<EOF
15649 #line 15650 "configure"
15650 #include "confdefs.h"
15651 /* Override any gcc2 internal prototype to avoid an error. */
15652 /* We use char because int might match the return type of a gcc2
15653 builtin and then its argument prototype would still apply. */
15660 if { (eval echo configure
:15661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15662 eval "ac_cv_lib_$ac_lib_var=yes"
15664 echo "configure: failed program was:" >&5
15665 cat conftest.
$ac_ext >&5
15667 eval "ac_cv_lib_$ac_lib_var=no"
15670 LIBS
="$ac_save_LIBS"
15673 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15674 echo "$ac_t""yes" 1>&6
15676 cat >> confdefs.h
<<\EOF
15677 #define HAVE_WCSLEN 1
15683 echo "$ac_t""no" 1>&6
15687 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
15688 echo "configure:15689: checking for wcslen in -lw" >&5
15689 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
15690 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15691 echo $ac_n "(cached) $ac_c" 1>&6
15693 ac_save_LIBS
="$LIBS"
15695 cat > conftest.
$ac_ext <<EOF
15696 #line 15697 "configure"
15697 #include "confdefs.h"
15698 /* Override any gcc2 internal prototype to avoid an error. */
15699 /* We use char because int might match the return type of a gcc2
15700 builtin and then its argument prototype would still apply. */
15707 if { (eval echo configure
:15708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15709 eval "ac_cv_lib_$ac_lib_var=yes"
15711 echo "configure: failed program was:" >&5
15712 cat conftest.
$ac_ext >&5
15714 eval "ac_cv_lib_$ac_lib_var=no"
15717 LIBS
="$ac_save_LIBS"
15720 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15721 echo "$ac_t""yes" 1>&6
15723 cat >> confdefs.h
<<\EOF
15724 #define HAVE_WCSLEN 1
15731 echo "$ac_t""no" 1>&6
15738 if test "$WCHAR_OK" = 1; then
15739 cat >> confdefs.h
<<\EOF
15740 #define wxUSE_WCHAR_T 1
15744 for ac_func
in wcsrtombs
15746 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15747 echo "configure:15748: checking for $ac_func" >&5
15748 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15749 echo $ac_n "(cached) $ac_c" 1>&6
15751 cat > conftest.
$ac_ext <<EOF
15752 #line 15753 "configure"
15753 #include "confdefs.h"
15754 /* System header to define __stub macros and hopefully few prototypes,
15755 which can conflict with char $ac_func(); below. */
15756 #include <assert.h>
15757 /* Override any gcc2 internal prototype to avoid an error. */
15758 /* We use char because int might match the return type of a gcc2
15759 builtin and then its argument prototype would still apply. */
15764 /* The GNU C library defines this for functions which it implements
15765 to always fail with ENOSYS. Some functions are actually named
15766 something starting with __ and the normal name is an alias. */
15767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15775 if { (eval echo configure
:15776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15777 eval "ac_cv_func_$ac_func=yes"
15779 echo "configure: failed program was:" >&5
15780 cat conftest.
$ac_ext >&5
15782 eval "ac_cv_func_$ac_func=no"
15787 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15788 echo "$ac_t""yes" 1>&6
15789 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15790 cat >> confdefs.h
<<EOF
15791 #define $ac_tr_func 1
15795 echo "$ac_t""no" 1>&6
15800 if test "$USE_DARWIN" = 1; then
15801 cat >> confdefs.h
<<\EOF
15802 #define wxUSE_WCHAR_T 1
15806 echo "configure: warning: Wide character support is unavailable" 1>&2
15810 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
15811 echo "configure:15812: checking for vprintf" >&5
15812 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
15813 echo $ac_n "(cached) $ac_c" 1>&6
15815 cat > conftest.
$ac_ext <<EOF
15816 #line 15817 "configure"
15817 #include "confdefs.h"
15818 /* System header to define __stub macros and hopefully few prototypes,
15819 which can conflict with char vprintf(); below. */
15820 #include <assert.h>
15821 /* Override any gcc2 internal prototype to avoid an error. */
15822 /* We use char because int might match the return type of a gcc2
15823 builtin and then its argument prototype would still apply. */
15828 /* The GNU C library defines this for functions which it implements
15829 to always fail with ENOSYS. Some functions are actually named
15830 something starting with __ and the normal name is an alias. */
15831 #if defined (__stub_vprintf) || defined (__stub___vprintf)
15839 if { (eval echo configure
:15840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15841 eval "ac_cv_func_vprintf=yes"
15843 echo "configure: failed program was:" >&5
15844 cat conftest.
$ac_ext >&5
15846 eval "ac_cv_func_vprintf=no"
15851 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
15852 echo "$ac_t""yes" 1>&6
15853 cat >> confdefs.h
<<\EOF
15854 #define HAVE_VPRINTF 1
15858 echo "$ac_t""no" 1>&6
15861 if test "$ac_cv_func_vprintf" != yes; then
15862 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
15863 echo "configure:15864: checking for _doprnt" >&5
15864 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
15865 echo $ac_n "(cached) $ac_c" 1>&6
15867 cat > conftest.
$ac_ext <<EOF
15868 #line 15869 "configure"
15869 #include "confdefs.h"
15870 /* System header to define __stub macros and hopefully few prototypes,
15871 which can conflict with char _doprnt(); below. */
15872 #include <assert.h>
15873 /* Override any gcc2 internal prototype to avoid an error. */
15874 /* We use char because int might match the return type of a gcc2
15875 builtin and then its argument prototype would still apply. */
15880 /* The GNU C library defines this for functions which it implements
15881 to always fail with ENOSYS. Some functions are actually named
15882 something starting with __ and the normal name is an alias. */
15883 #if defined (__stub__doprnt) || defined (__stub____doprnt)
15891 if { (eval echo configure
:15892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15893 eval "ac_cv_func__doprnt=yes"
15895 echo "configure: failed program was:" >&5
15896 cat conftest.
$ac_ext >&5
15898 eval "ac_cv_func__doprnt=no"
15903 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
15904 echo "$ac_t""yes" 1>&6
15905 cat >> confdefs.h
<<\EOF
15906 #define HAVE_DOPRNT 1
15910 echo "$ac_t""no" 1>&6
15920 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
15921 echo "configure:15922: checking for vsnprintf" >&5
15922 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
15923 echo $ac_n "(cached) $ac_c" 1>&6
15926 cat > conftest.
$ac_ext <<EOF
15927 #line 15928 "configure"
15928 #include "confdefs.h"
15931 #include <stdarg.h>
15935 int wx_test_vsnprintf(const char *, ...);
15937 wx_test_vsnprintf("%s");
15941 int wx_test_vsnprintf(const char *fmt, ...)
15946 va_start(argp, fmt);
15947 vsnprintf(s, 42, fmt, argp);
15952 if { (eval echo configure
:15953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15955 wx_cv_func_vsnprintf
=yes
15958 echo "configure: failed program was:" >&5
15959 cat conftest.
$ac_ext >&5
15962 cat > conftest.
$ac_ext <<EOF
15963 #line 15964 "configure"
15964 #include "confdefs.h"
15967 #include <stdarg.h>
15971 int wx_test_vsnprintf(const char *, ...);
15973 wx_test_vsnprintf("%s");
15977 int wx_test_vsnprintf(const char *fmt, ...)
15982 va_start(argp, fmt);
15983 _vsnprintf(s, 42, fmt, argp);
15988 if { (eval echo configure
:15989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15991 wx_cv_func_vsnprintf
=yes
15994 echo "configure: failed program was:" >&5
15995 cat conftest.
$ac_ext >&5
15998 wx_cv_func_vsnprintf
=no
16008 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
16010 if test "$wx_cv_func_vsnprintf" = yes; then
16011 cat >> confdefs.h
<<\EOF
16012 #define HAVE_VSNPRINTF 1
16016 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
16019 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
16020 echo "configure:16021: checking for vsscanf" >&5
16021 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
16022 echo $ac_n "(cached) $ac_c" 1>&6
16025 cat > conftest.
$ac_ext <<EOF
16026 #line 16027 "configure"
16027 #include "confdefs.h"
16030 #include <stdarg.h>
16034 int wx_test_vsscanf(const char *, ...);
16036 wx_test_vsscanf("%d");
16040 int wx_test_vsscanf(const char *fmt, ...)
16043 va_start(argp, fmt);
16044 vsscanf("42", fmt, argp);
16049 if { (eval echo configure
:16050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16052 wx_cv_func_vsscanf
=yes
16055 echo "configure: failed program was:" >&5
16056 cat conftest.
$ac_ext >&5
16059 wx_cv_func_vsscanf
=no
16066 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
16068 if test "$wx_cv_func_vsscanf" = yes; then
16069 cat >> confdefs.h
<<\EOF
16070 #define HAVE_VSSCANF 1
16075 if test "$TOOLKIT" != "MSW"; then
16080 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16081 ac_cpp
='$CXXCPP $CPPFLAGS'
16082 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16083 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16084 cross_compiling
=$ac_cv_prog_cxx_cross
16088 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
16089 if test "${with_libiconv_prefix+set}" = set; then
16090 withval
="$with_libiconv_prefix"
16092 for dir
in `echo "$withval" | tr : ' '`; do
16093 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
16094 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
16100 echo $ac_n "checking for iconv""... $ac_c" 1>&6
16101 echo "configure:16102: checking for iconv" >&5
16102 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
16103 echo $ac_n "(cached) $ac_c" 1>&6
16106 am_cv_func_iconv
="no, consider installing GNU libiconv"
16108 cat > conftest.
$ac_ext <<EOF
16109 #line 16110 "configure"
16110 #include "confdefs.h"
16111 #include <stdlib.h>
16114 iconv_t cd = iconv_open("","");
16115 iconv(cd,NULL,NULL,NULL,NULL);
16119 if { (eval echo configure
:16120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16121 am_cv_func_iconv
=yes
16123 echo "configure: failed program was:" >&5
16124 cat conftest.
$ac_ext >&5
16127 if test "$am_cv_func_iconv" != yes; then
16128 am_save_LIBS
="$LIBS"
16129 LIBS
="$LIBS -liconv"
16130 cat > conftest.
$ac_ext <<EOF
16131 #line 16132 "configure"
16132 #include "confdefs.h"
16133 #include <stdlib.h>
16136 iconv_t cd = iconv_open("","");
16137 iconv(cd,NULL,NULL,NULL,NULL);
16141 if { (eval echo configure
:16142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16143 am_cv_lib_iconv
=yes
16144 am_cv_func_iconv
=yes
16146 echo "configure: failed program was:" >&5
16147 cat conftest.
$ac_ext >&5
16150 LIBS
="$am_save_LIBS"
16155 echo "$ac_t""$am_cv_func_iconv" 1>&6
16156 if test "$am_cv_func_iconv" = yes; then
16157 cat >> confdefs.h
<<\EOF
16158 #define HAVE_ICONV 1
16161 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
16162 echo "configure:16163: checking if iconv needs const" >&5
16163 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
16164 echo $ac_n "(cached) $ac_c" 1>&6
16166 cat > conftest.
$ac_ext <<EOF
16167 #line 16168 "configure"
16168 #include "confdefs.h"
16170 #include <stdlib.h>
16176 #if defined(__STDC__) || defined(__cplusplus)
16177 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
16186 if { (eval echo configure
:16187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16188 wx_cv_func_iconv_const
="no"
16190 echo "configure: failed program was:" >&5
16191 cat conftest.
$ac_ext >&5
16193 wx_cv_func_iconv_const
="yes"
16200 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
16203 if test "x$wx_cv_func_iconv_const" = "xyes"; then
16204 iconv_const
="const"
16207 cat >> confdefs.h
<<EOF
16208 #define ICONV_CONST $iconv_const
16213 if test "$am_cv_lib_iconv" = yes; then
16218 LIBS
="$LIBICONV $LIBS"
16220 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16221 ac_cpp
='$CPP $CPPFLAGS'
16222 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16223 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16224 cross_compiling
=$ac_cv_prog_cc_cross
16227 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
16228 for ac_func
in sigaction
16230 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16231 echo "configure:16232: checking for $ac_func" >&5
16232 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16233 echo $ac_n "(cached) $ac_c" 1>&6
16235 cat > conftest.
$ac_ext <<EOF
16236 #line 16237 "configure"
16237 #include "confdefs.h"
16238 /* System header to define __stub macros and hopefully few prototypes,
16239 which can conflict with char $ac_func(); below. */
16240 #include <assert.h>
16241 /* Override any gcc2 internal prototype to avoid an error. */
16242 /* We use char because int might match the return type of a gcc2
16243 builtin and then its argument prototype would still apply. */
16248 /* The GNU C library defines this for functions which it implements
16249 to always fail with ENOSYS. Some functions are actually named
16250 something starting with __ and the normal name is an alias. */
16251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16259 if { (eval echo configure
:16260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16261 eval "ac_cv_func_$ac_func=yes"
16263 echo "configure: failed program was:" >&5
16264 cat conftest.
$ac_ext >&5
16266 eval "ac_cv_func_$ac_func=no"
16271 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16272 echo "$ac_t""yes" 1>&6
16273 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16274 cat >> confdefs.h
<<EOF
16275 #define $ac_tr_func 1
16279 echo "$ac_t""no" 1>&6
16284 if test "$ac_cv_func_sigaction" = "no"; then
16285 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
16286 wxUSE_ON_FATAL_EXCEPTION
=no
16289 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16292 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16293 ac_cpp
='$CXXCPP $CPPFLAGS'
16294 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16295 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16296 cross_compiling
=$ac_cv_prog_cxx_cross
16299 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
16300 echo "configure:16301: checking for sa_handler type" >&5
16301 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
16302 echo $ac_n "(cached) $ac_c" 1>&6
16305 cat > conftest.
$ac_ext <<EOF
16306 #line 16307 "configure"
16307 #include "confdefs.h"
16308 #include <signal.h>
16311 extern void testSigHandler(int);
16313 struct sigaction sa;
16314 sa.sa_handler = testSigHandler;
16318 if { (eval echo configure
:16319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16321 wx_cv_type_sa_handler
=int
16324 echo "configure: failed program was:" >&5
16325 cat conftest.
$ac_ext >&5
16328 wx_cv_type_sa_handler
=void
16335 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
16338 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16339 ac_cpp
='$CPP $CPPFLAGS'
16340 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16341 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16342 cross_compiling
=$ac_cv_prog_cc_cross
16345 cat >> confdefs.h
<<EOF
16346 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
16352 for ac_func
in vfork
16354 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16355 echo "configure:16356: checking for $ac_func" >&5
16356 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16357 echo $ac_n "(cached) $ac_c" 1>&6
16359 cat > conftest.
$ac_ext <<EOF
16360 #line 16361 "configure"
16361 #include "confdefs.h"
16362 /* System header to define __stub macros and hopefully few prototypes,
16363 which can conflict with char $ac_func(); below. */
16364 #include <assert.h>
16365 /* Override any gcc2 internal prototype to avoid an error. */
16366 /* We use char because int might match the return type of a gcc2
16367 builtin and then its argument prototype would still apply. */
16372 /* The GNU C library defines this for functions which it implements
16373 to always fail with ENOSYS. Some functions are actually named
16374 something starting with __ and the normal name is an alias. */
16375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16383 if { (eval echo configure
:16384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16385 eval "ac_cv_func_$ac_func=yes"
16387 echo "configure: failed program was:" >&5
16388 cat conftest.
$ac_ext >&5
16390 eval "ac_cv_func_$ac_func=no"
16395 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16396 echo "$ac_t""yes" 1>&6
16397 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16398 cat >> confdefs.h
<<EOF
16399 #define $ac_tr_func 1
16403 echo "$ac_t""no" 1>&6
16408 for ac_func
in mkstemp mktemp
16410 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16411 echo "configure:16412: checking for $ac_func" >&5
16412 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16413 echo $ac_n "(cached) $ac_c" 1>&6
16415 cat > conftest.
$ac_ext <<EOF
16416 #line 16417 "configure"
16417 #include "confdefs.h"
16418 /* System header to define __stub macros and hopefully few prototypes,
16419 which can conflict with char $ac_func(); below. */
16420 #include <assert.h>
16421 /* Override any gcc2 internal prototype to avoid an error. */
16422 /* We use char because int might match the return type of a gcc2
16423 builtin and then its argument prototype would still apply. */
16428 /* The GNU C library defines this for functions which it implements
16429 to always fail with ENOSYS. Some functions are actually named
16430 something starting with __ and the normal name is an alias. */
16431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16439 if { (eval echo configure
:16440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16441 eval "ac_cv_func_$ac_func=yes"
16443 echo "configure: failed program was:" >&5
16444 cat conftest.
$ac_ext >&5
16446 eval "ac_cv_func_$ac_func=no"
16451 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16452 echo "$ac_t""yes" 1>&6
16453 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16454 cat >> confdefs.h
<<EOF
16455 #define $ac_tr_func 1
16459 echo "$ac_t""no" 1>&6
16464 echo $ac_n "checking for statfs""... $ac_c" 1>&6
16465 echo "configure:16466: checking for statfs" >&5
16466 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
16467 echo $ac_n "(cached) $ac_c" 1>&6
16469 cat > conftest.
$ac_ext <<EOF
16470 #line 16471 "configure"
16471 #include "confdefs.h"
16473 #if defined(__BSD__)
16474 #include <sys/param.h>
16475 #include <sys/mount.h>
16477 #include <sys/vfs.h>
16491 if { (eval echo configure
:16492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16494 wx_cv_func_statfs
=yes
16497 echo "configure: failed program was:" >&5
16498 cat conftest.
$ac_ext >&5
16501 wx_cv_func_statfs
=no
16509 echo "$ac_t""$wx_cv_func_statfs" 1>&6
16511 if test "$wx_cv_func_statfs" = "yes"; then
16512 cat >> confdefs.h
<<\EOF
16513 #define HAVE_STATFS 1
16517 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
16518 echo "configure:16519: checking for statvfs" >&5
16519 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
16520 echo $ac_n "(cached) $ac_c" 1>&6
16522 cat > conftest.
$ac_ext <<EOF
16523 #line 16524 "configure"
16524 #include "confdefs.h"
16526 #include <sys/statvfs.h>
16539 if { (eval echo configure
:16540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16542 wx_cv_func_statvfs
=yes
16545 echo "configure: failed program was:" >&5
16546 cat conftest.
$ac_ext >&5
16549 wx_cv_func_statvfs
=no
16557 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
16559 if test "$wx_cv_func_statvfs" = "yes"; then
16560 cat >> confdefs.h
<<\EOF
16561 #define HAVE_STATVFS 1
16565 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
16569 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16570 for ac_func
in fcntl flock
16572 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16573 echo "configure:16574: checking for $ac_func" >&5
16574 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16575 echo $ac_n "(cached) $ac_c" 1>&6
16577 cat > conftest.
$ac_ext <<EOF
16578 #line 16579 "configure"
16579 #include "confdefs.h"
16580 /* System header to define __stub macros and hopefully few prototypes,
16581 which can conflict with char $ac_func(); below. */
16582 #include <assert.h>
16583 /* Override any gcc2 internal prototype to avoid an error. */
16584 /* We use char because int might match the return type of a gcc2
16585 builtin and then its argument prototype would still apply. */
16590 /* The GNU C library defines this for functions which it implements
16591 to always fail with ENOSYS. Some functions are actually named
16592 something starting with __ and the normal name is an alias. */
16593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16601 if { (eval echo configure
:16602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16603 eval "ac_cv_func_$ac_func=yes"
16605 echo "configure: failed program was:" >&5
16606 cat conftest.
$ac_ext >&5
16608 eval "ac_cv_func_$ac_func=no"
16613 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16614 echo "$ac_t""yes" 1>&6
16615 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16616 cat >> confdefs.h
<<EOF
16617 #define $ac_tr_func 1
16621 echo "$ac_t""no" 1>&6
16626 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
16627 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
16628 wxUSE_SNGLINST_CHECKER
=no
16632 for ac_func
in timegm
16634 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16635 echo "configure:16636: checking for $ac_func" >&5
16636 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16637 echo $ac_n "(cached) $ac_c" 1>&6
16639 cat > conftest.
$ac_ext <<EOF
16640 #line 16641 "configure"
16641 #include "confdefs.h"
16642 /* System header to define __stub macros and hopefully few prototypes,
16643 which can conflict with char $ac_func(); below. */
16644 #include <assert.h>
16645 /* Override any gcc2 internal prototype to avoid an error. */
16646 /* We use char because int might match the return type of a gcc2
16647 builtin and then its argument prototype would still apply. */
16652 /* The GNU C library defines this for functions which it implements
16653 to always fail with ENOSYS. Some functions are actually named
16654 something starting with __ and the normal name is an alias. */
16655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16663 if { (eval echo configure
:16664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16665 eval "ac_cv_func_$ac_func=yes"
16667 echo "configure: failed program was:" >&5
16668 cat conftest.
$ac_ext >&5
16670 eval "ac_cv_func_$ac_func=no"
16675 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16676 echo "$ac_t""yes" 1>&6
16677 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16678 cat >> confdefs.h
<<EOF
16679 #define $ac_tr_func 1
16683 echo "$ac_t""no" 1>&6
16688 for ac_func
in putenv setenv
16690 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16691 echo "configure:16692: checking for $ac_func" >&5
16692 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16693 echo $ac_n "(cached) $ac_c" 1>&6
16695 cat > conftest.
$ac_ext <<EOF
16696 #line 16697 "configure"
16697 #include "confdefs.h"
16698 /* System header to define __stub macros and hopefully few prototypes,
16699 which can conflict with char $ac_func(); below. */
16700 #include <assert.h>
16701 /* Override any gcc2 internal prototype to avoid an error. */
16702 /* We use char because int might match the return type of a gcc2
16703 builtin and then its argument prototype would still apply. */
16708 /* The GNU C library defines this for functions which it implements
16709 to always fail with ENOSYS. Some functions are actually named
16710 something starting with __ and the normal name is an alias. */
16711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16719 if { (eval echo configure
:16720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16721 eval "ac_cv_func_$ac_func=yes"
16723 echo "configure: failed program was:" >&5
16724 cat conftest.
$ac_ext >&5
16726 eval "ac_cv_func_$ac_func=no"
16731 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16732 echo "$ac_t""yes" 1>&6
16733 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16734 cat >> confdefs.h
<<EOF
16735 #define $ac_tr_func 1
16739 echo "$ac_t""no" 1>&6
16744 HAVE_SOME_SLEEP_FUNC
=0
16745 if test "$USE_BEOS" = 1; then
16746 cat >> confdefs.h
<<\EOF
16747 #define HAVE_SLEEP 1
16750 HAVE_SOME_SLEEP_FUNC
=1
16753 if test "$USE_DARWIN" = 1; then
16754 cat >> confdefs.h
<<\EOF
16755 #define HAVE_USLEEP 1
16758 HAVE_SOME_SLEEP_FUNC
=1
16761 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
16763 for ac_func
in nanosleep
16765 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16766 echo "configure:16767: checking for $ac_func" >&5
16767 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16768 echo $ac_n "(cached) $ac_c" 1>&6
16770 cat > conftest.
$ac_ext <<EOF
16771 #line 16772 "configure"
16772 #include "confdefs.h"
16773 /* System header to define __stub macros and hopefully few prototypes,
16774 which can conflict with char $ac_func(); below. */
16775 #include <assert.h>
16776 /* Override any gcc2 internal prototype to avoid an error. */
16777 /* We use char because int might match the return type of a gcc2
16778 builtin and then its argument prototype would still apply. */
16783 /* The GNU C library defines this for functions which it implements
16784 to always fail with ENOSYS. Some functions are actually named
16785 something starting with __ and the normal name is an alias. */
16786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16794 if { (eval echo configure
:16795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16796 eval "ac_cv_func_$ac_func=yes"
16798 echo "configure: failed program was:" >&5
16799 cat conftest.
$ac_ext >&5
16801 eval "ac_cv_func_$ac_func=no"
16806 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16807 echo "$ac_t""yes" 1>&6
16808 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16809 cat >> confdefs.h
<<EOF
16810 #define $ac_tr_func 1
16812 cat >> confdefs.h
<<\EOF
16813 #define HAVE_NANOSLEEP 1
16817 echo "$ac_t""no" 1>&6
16818 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
16819 echo "configure:16820: checking for nanosleep in -lposix4" >&5
16820 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
16821 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16822 echo $ac_n "(cached) $ac_c" 1>&6
16824 ac_save_LIBS
="$LIBS"
16825 LIBS
="-lposix4 $LIBS"
16826 cat > conftest.
$ac_ext <<EOF
16827 #line 16828 "configure"
16828 #include "confdefs.h"
16829 /* Override any gcc2 internal prototype to avoid an error. */
16830 /* We use char because int might match the return type of a gcc2
16831 builtin and then its argument prototype would still apply. */
16838 if { (eval echo configure
:16839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16840 eval "ac_cv_lib_$ac_lib_var=yes"
16842 echo "configure: failed program was:" >&5
16843 cat conftest.
$ac_ext >&5
16845 eval "ac_cv_lib_$ac_lib_var=no"
16848 LIBS
="$ac_save_LIBS"
16851 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16852 echo "$ac_t""yes" 1>&6
16854 cat >> confdefs.h
<<\EOF
16855 #define HAVE_NANOSLEEP 1
16858 POSIX4_LINK
=" -lposix4"
16861 echo "$ac_t""no" 1>&6
16863 for ac_func
in usleep
16865 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16866 echo "configure:16867: checking for $ac_func" >&5
16867 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16868 echo $ac_n "(cached) $ac_c" 1>&6
16870 cat > conftest.
$ac_ext <<EOF
16871 #line 16872 "configure"
16872 #include "confdefs.h"
16873 /* System header to define __stub macros and hopefully few prototypes,
16874 which can conflict with char $ac_func(); below. */
16875 #include <assert.h>
16876 /* Override any gcc2 internal prototype to avoid an error. */
16877 /* We use char because int might match the return type of a gcc2
16878 builtin and then its argument prototype would still apply. */
16883 /* The GNU C library defines this for functions which it implements
16884 to always fail with ENOSYS. Some functions are actually named
16885 something starting with __ and the normal name is an alias. */
16886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16894 if { (eval echo configure
:16895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16896 eval "ac_cv_func_$ac_func=yes"
16898 echo "configure: failed program was:" >&5
16899 cat conftest.
$ac_ext >&5
16901 eval "ac_cv_func_$ac_func=no"
16906 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16907 echo "$ac_t""yes" 1>&6
16908 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16909 cat >> confdefs.h
<<EOF
16910 #define $ac_tr_func 1
16912 cat >> confdefs.h
<<\EOF
16913 #define HAVE_USLEEP 1
16917 echo "$ac_t""no" 1>&6
16918 echo "configure: warning: wxSleep() function will not work" 1>&2
16934 for ac_func
in uname gethostname
16936 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16937 echo "configure:16938: checking for $ac_func" >&5
16938 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16939 echo $ac_n "(cached) $ac_c" 1>&6
16941 cat > conftest.
$ac_ext <<EOF
16942 #line 16943 "configure"
16943 #include "confdefs.h"
16944 /* System header to define __stub macros and hopefully few prototypes,
16945 which can conflict with char $ac_func(); below. */
16946 #include <assert.h>
16947 /* Override any gcc2 internal prototype to avoid an error. */
16948 /* We use char because int might match the return type of a gcc2
16949 builtin and then its argument prototype would still apply. */
16954 /* The GNU C library defines this for functions which it implements
16955 to always fail with ENOSYS. Some functions are actually named
16956 something starting with __ and the normal name is an alias. */
16957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16965 if { (eval echo configure
:16966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16967 eval "ac_cv_func_$ac_func=yes"
16969 echo "configure: failed program was:" >&5
16970 cat conftest.
$ac_ext >&5
16972 eval "ac_cv_func_$ac_func=no"
16977 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16978 echo "$ac_t""yes" 1>&6
16979 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16980 cat >> confdefs.h
<<EOF
16981 #define $ac_tr_func 1
16985 echo "$ac_t""no" 1>&6
16992 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16993 ac_cpp
='$CXXCPP $CPPFLAGS'
16994 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16995 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16996 cross_compiling
=$ac_cv_prog_cxx_cross
16999 for ac_func
in strtok_r
17001 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17002 echo "configure:17003: checking for $ac_func" >&5
17003 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17004 echo $ac_n "(cached) $ac_c" 1>&6
17006 cat > conftest.
$ac_ext <<EOF
17007 #line 17008 "configure"
17008 #include "confdefs.h"
17009 /* System header to define __stub macros and hopefully few prototypes,
17010 which can conflict with char $ac_func(); below. */
17011 #include <assert.h>
17012 /* Override any gcc2 internal prototype to avoid an error. */
17016 /* We use char because int might match the return type of a gcc2
17017 builtin and then its argument prototype would still apply. */
17022 /* The GNU C library defines this for functions which it implements
17023 to always fail with ENOSYS. Some functions are actually named
17024 something starting with __ and the normal name is an alias. */
17025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17033 if { (eval echo configure
:17034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17035 eval "ac_cv_func_$ac_func=yes"
17037 echo "configure: failed program was:" >&5
17038 cat conftest.
$ac_ext >&5
17040 eval "ac_cv_func_$ac_func=no"
17045 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17046 echo "$ac_t""yes" 1>&6
17047 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17048 cat >> confdefs.h
<<EOF
17049 #define $ac_tr_func 1
17053 echo "$ac_t""no" 1>&6
17059 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17060 ac_cpp
='$CPP $CPPFLAGS'
17061 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17062 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17063 cross_compiling
=$ac_cv_prog_cc_cross
17067 for ac_func
in inet_addr
17069 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17070 echo "configure:17071: checking for $ac_func" >&5
17071 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17072 echo $ac_n "(cached) $ac_c" 1>&6
17074 cat > conftest.
$ac_ext <<EOF
17075 #line 17076 "configure"
17076 #include "confdefs.h"
17077 /* System header to define __stub macros and hopefully few prototypes,
17078 which can conflict with char $ac_func(); below. */
17079 #include <assert.h>
17080 /* Override any gcc2 internal prototype to avoid an error. */
17081 /* We use char because int might match the return type of a gcc2
17082 builtin and then its argument prototype would still apply. */
17087 /* The GNU C library defines this for functions which it implements
17088 to always fail with ENOSYS. Some functions are actually named
17089 something starting with __ and the normal name is an alias. */
17090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17098 if { (eval echo configure
:17099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17100 eval "ac_cv_func_$ac_func=yes"
17102 echo "configure: failed program was:" >&5
17103 cat conftest.
$ac_ext >&5
17105 eval "ac_cv_func_$ac_func=no"
17110 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17111 echo "$ac_t""yes" 1>&6
17112 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17113 cat >> confdefs.h
<<EOF
17114 #define $ac_tr_func 1
17116 cat >> confdefs.h
<<\EOF
17117 #define HAVE_INET_ADDR 1
17121 echo "$ac_t""no" 1>&6
17122 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
17123 echo "configure:17124: checking for inet_addr in -lnsl" >&5
17124 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
17125 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17126 echo $ac_n "(cached) $ac_c" 1>&6
17128 ac_save_LIBS
="$LIBS"
17130 cat > conftest.
$ac_ext <<EOF
17131 #line 17132 "configure"
17132 #include "confdefs.h"
17133 /* Override any gcc2 internal prototype to avoid an error. */
17134 /* We use char because int might match the return type of a gcc2
17135 builtin and then its argument prototype would still apply. */
17142 if { (eval echo configure
:17143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17144 eval "ac_cv_lib_$ac_lib_var=yes"
17146 echo "configure: failed program was:" >&5
17147 cat conftest.
$ac_ext >&5
17149 eval "ac_cv_lib_$ac_lib_var=no"
17152 LIBS
="$ac_save_LIBS"
17155 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17156 echo "$ac_t""yes" 1>&6
17159 echo "$ac_t""no" 1>&6
17160 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
17161 echo "configure:17162: checking for inet_addr in -lresolv" >&5
17162 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
17163 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17164 echo $ac_n "(cached) $ac_c" 1>&6
17166 ac_save_LIBS
="$LIBS"
17167 LIBS
="-lresolv $LIBS"
17168 cat > conftest.
$ac_ext <<EOF
17169 #line 17170 "configure"
17170 #include "confdefs.h"
17171 /* Override any gcc2 internal prototype to avoid an error. */
17172 /* We use char because int might match the return type of a gcc2
17173 builtin and then its argument prototype would still apply. */
17180 if { (eval echo configure
:17181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17182 eval "ac_cv_lib_$ac_lib_var=yes"
17184 echo "configure: failed program was:" >&5
17185 cat conftest.
$ac_ext >&5
17187 eval "ac_cv_lib_$ac_lib_var=no"
17190 LIBS
="$ac_save_LIBS"
17193 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17194 echo "$ac_t""yes" 1>&6
17197 echo "$ac_t""no" 1>&6
17198 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
17199 echo "configure:17200: checking for inet_addr in -lsocket" >&5
17200 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
17201 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17202 echo $ac_n "(cached) $ac_c" 1>&6
17204 ac_save_LIBS
="$LIBS"
17205 LIBS
="-lsocket $LIBS"
17206 cat > conftest.
$ac_ext <<EOF
17207 #line 17208 "configure"
17208 #include "confdefs.h"
17209 /* Override any gcc2 internal prototype to avoid an error. */
17210 /* We use char because int might match the return type of a gcc2
17211 builtin and then its argument prototype would still apply. */
17218 if { (eval echo configure
:17219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17220 eval "ac_cv_lib_$ac_lib_var=yes"
17222 echo "configure: failed program was:" >&5
17223 cat conftest.
$ac_ext >&5
17225 eval "ac_cv_lib_$ac_lib_var=no"
17228 LIBS
="$ac_save_LIBS"
17231 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17232 echo "$ac_t""yes" 1>&6
17236 echo "$ac_t""no" 1>&6
17251 for ac_func
in inet_aton
17253 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17254 echo "configure:17255: checking for $ac_func" >&5
17255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17256 echo $ac_n "(cached) $ac_c" 1>&6
17258 cat > conftest.
$ac_ext <<EOF
17259 #line 17260 "configure"
17260 #include "confdefs.h"
17261 /* System header to define __stub macros and hopefully few prototypes,
17262 which can conflict with char $ac_func(); below. */
17263 #include <assert.h>
17264 /* Override any gcc2 internal prototype to avoid an error. */
17265 /* We use char because int might match the return type of a gcc2
17266 builtin and then its argument prototype would still apply. */
17271 /* The GNU C library defines this for functions which it implements
17272 to always fail with ENOSYS. Some functions are actually named
17273 something starting with __ and the normal name is an alias. */
17274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17282 if { (eval echo configure
:17283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17284 eval "ac_cv_func_$ac_func=yes"
17286 echo "configure: failed program was:" >&5
17287 cat conftest.
$ac_ext >&5
17289 eval "ac_cv_func_$ac_func=no"
17294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17295 echo "$ac_t""yes" 1>&6
17296 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17297 cat >> confdefs.h
<<EOF
17298 #define $ac_tr_func 1
17300 cat >> confdefs.h
<<\EOF
17301 #define HAVE_INET_ATON 1
17305 echo "$ac_t""no" 1>&6
17306 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
17307 echo "configure:17308: checking for inet_aton in -l$INET_LINK" >&5
17308 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
17309 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17310 echo $ac_n "(cached) $ac_c" 1>&6
17312 ac_save_LIBS
="$LIBS"
17313 LIBS
="-l$INET_LINK $LIBS"
17314 cat > conftest.
$ac_ext <<EOF
17315 #line 17316 "configure"
17316 #include "confdefs.h"
17317 /* Override any gcc2 internal prototype to avoid an error. */
17318 /* We use char because int might match the return type of a gcc2
17319 builtin and then its argument prototype would still apply. */
17326 if { (eval echo configure
:17327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17328 eval "ac_cv_lib_$ac_lib_var=yes"
17330 echo "configure: failed program was:" >&5
17331 cat conftest.
$ac_ext >&5
17333 eval "ac_cv_lib_$ac_lib_var=no"
17336 LIBS
="$ac_save_LIBS"
17339 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17340 echo "$ac_t""yes" 1>&6
17341 cat >> confdefs.h
<<\EOF
17342 #define HAVE_INET_ATON 1
17346 echo "$ac_t""no" 1>&6
17354 if test "x$INET_LINK" != "x"; then
17355 cat >> confdefs.h
<<\EOF
17356 #define HAVE_INET_ADDR 1
17359 INET_LINK
=" -l$INET_LINK"
17365 cat > confcache
<<\EOF
17366 # This file is a shell script that caches the results of configure
17367 # tests run on this system so they can be shared between configure
17368 # scripts and configure runs. It is not useful on other systems.
17369 # If it contains results you don't want to keep, you may remove or edit it.
17371 # By default, configure uses ./config.cache as the cache file,
17372 # creating it if it does not exist already. You can give configure
17373 # the --cache-file=FILE option to use a different cache file; that is
17374 # what configure does when it calls configure scripts in
17375 # subdirectories, so they share the cache.
17376 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17377 # config.status only pays attention to the cache file if you give it the
17378 # --recheck option to rerun configure.
17381 # The following way of writing the cache mishandles newlines in values,
17382 # but we know of no workaround that is simple, portable, and efficient.
17383 # So, don't put newlines in cache variables' values.
17384 # Ultrix sh set writes to stderr and can't be redirected directly,
17385 # and sets the high bit in the cache file unless we assign to the vars.
17387 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17389 # `set' does not quote correctly, so add quotes (double-quote substitution
17390 # turns \\\\ into \\, and sed turns \\ into \).
17392 -e "s/'/'\\\\''/g" \
17393 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17396 # `set' quotes correctly as required by POSIX, so do not add quotes.
17397 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17400 if cmp -s $cache_file confcache
; then
17403 if test -w $cache_file; then
17404 echo "updating cache $cache_file"
17405 cat confcache
> $cache_file
17407 echo "not updating unwritable cache $cache_file"
17415 if test "$TOOLKIT" != "MSW"; then
17421 if test "$wxUSE_THREADS" = "yes" ; then
17422 if test "$wxUSE_WINE" = 1 ; then
17423 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
17425 elif test "$USE_BEOS" = 1; then
17426 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
17431 if test "$wxUSE_THREADS" = "yes" ; then
17434 THREAD_OPTS
="-pthread"
17436 *-*-solaris2* | *-*-sunos4* )
17437 if test "x$GCC" = "xyes"; then
17438 THREAD_OPTS
="-pthreads $THREAD_OPTS"
17440 THREAD_OPTS
="-mt $THREAD_OPTS"
17444 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
17446 *-*-darwin* | *-*-cygwin* )
17450 THREAD_OPTS
="pthreads"
17454 THREAD_OPTS
="$THREAD_OPTS pthread none"
17457 for flag
in $THREAD_OPTS; do
17460 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
17461 echo "configure:17462: checking whether pthreads work without any flags" >&5
17465 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
17466 echo "configure:17467: checking whether pthreads work with $flag" >&5
17467 THREADS_CFLAGS
="$flag"
17471 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
17472 echo "configure:17473: checking for the pthreads library -l$flag" >&5
17473 THREADS_LINK
="-l$flag"
17478 save_CFLAGS
="$CFLAGS"
17479 LIBS
="$THREADS_LINK $LIBS"
17480 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
17482 cat > conftest.
$ac_ext <<EOF
17483 #line 17484 "configure"
17484 #include "confdefs.h"
17485 #include <pthread.h>
17487 pthread_create(0,0,0,0);
17490 if { (eval echo configure
:17491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17494 echo "configure: failed program was:" >&5
17495 cat conftest.
$ac_ext >&5
17500 CFLAGS
="$save_CFLAGS"
17502 echo "$ac_t""$THREADS_OK" 1>&6
17503 if test "x$THREADS_OK" = "xyes"; then
17511 if test "x$THREADS_OK" != "xyes"; then
17513 echo "configure: warning: No thread support on this system... disabled" 1>&2
17515 LIBS
="$THREADS_LINK $THREADS_CFLAGS $LIBS"
17517 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
17518 echo "configure:17519: checking if more special flags are required for pthreads" >&5
17521 *-aix* | *-freebsd*)
17522 flag
="-D_THREAD_SAFE"
17524 *solaris
* | alpha
*-osf*)
17525 flag
="-D_REENTRANT"
17528 echo "$ac_t""${flag}" 1>&6
17529 if test "x$flag" != xno
; then
17530 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
17533 if test "x$THREADS_CFLAGS" != "x"; then
17534 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
17535 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
17540 if test "$wxUSE_THREADS" = "yes" ; then
17541 for ac_func
in thr_setconcurrency
17543 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17544 echo "configure:17545: checking for $ac_func" >&5
17545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17546 echo $ac_n "(cached) $ac_c" 1>&6
17548 cat > conftest.
$ac_ext <<EOF
17549 #line 17550 "configure"
17550 #include "confdefs.h"
17551 /* System header to define __stub macros and hopefully few prototypes,
17552 which can conflict with char $ac_func(); below. */
17553 #include <assert.h>
17554 /* Override any gcc2 internal prototype to avoid an error. */
17555 /* We use char because int might match the return type of a gcc2
17556 builtin and then its argument prototype would still apply. */
17561 /* The GNU C library defines this for functions which it implements
17562 to always fail with ENOSYS. Some functions are actually named
17563 something starting with __ and the normal name is an alias. */
17564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17572 if { (eval echo configure
:17573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17574 eval "ac_cv_func_$ac_func=yes"
17576 echo "configure: failed program was:" >&5
17577 cat conftest.
$ac_ext >&5
17579 eval "ac_cv_func_$ac_func=no"
17584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17585 echo "$ac_t""yes" 1>&6
17586 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17587 cat >> confdefs.h
<<EOF
17588 #define $ac_tr_func 1
17592 echo "$ac_t""no" 1>&6
17597 for ac_hdr
in sched.h
17599 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17600 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17601 echo "configure:17602: checking for $ac_hdr" >&5
17602 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17603 echo $ac_n "(cached) $ac_c" 1>&6
17605 cat > conftest.
$ac_ext <<EOF
17606 #line 17607 "configure"
17607 #include "confdefs.h"
17610 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17611 { (eval echo configure
:17612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17612 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17613 if test -z "$ac_err"; then
17615 eval "ac_cv_header_$ac_safe=yes"
17618 echo "configure: failed program was:" >&5
17619 cat conftest.
$ac_ext >&5
17621 eval "ac_cv_header_$ac_safe=no"
17625 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17626 echo "$ac_t""yes" 1>&6
17627 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17628 cat >> confdefs.h
<<EOF
17629 #define $ac_tr_hdr 1
17633 echo "$ac_t""no" 1>&6
17637 if test "$ac_cv_header_sched_h" = "yes"; then
17638 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
17639 echo "configure:17640: checking for sched_yield" >&5
17640 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+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 sched_yield(); 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. */
17652 char sched_yield();
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_sched_yield) || defined (__stub___sched_yield)
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_sched_yield=yes"
17671 echo "configure: failed program was:" >&5
17672 cat conftest.
$ac_ext >&5
17674 eval "ac_cv_func_sched_yield=no"
17679 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
17680 echo "$ac_t""yes" 1>&6
17681 cat >> confdefs.h
<<\EOF
17682 #define HAVE_SCHED_YIELD 1
17686 echo "$ac_t""no" 1>&6
17688 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
17689 echo "configure:17690: checking for sched_yield in -lposix4" >&5
17690 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
17691 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17692 echo $ac_n "(cached) $ac_c" 1>&6
17694 ac_save_LIBS
="$LIBS"
17695 LIBS
="-lposix4 $LIBS"
17696 cat > conftest.
$ac_ext <<EOF
17697 #line 17698 "configure"
17698 #include "confdefs.h"
17699 /* Override any gcc2 internal prototype to avoid an error. */
17700 /* We use char because int might match the return type of a gcc2
17701 builtin and then its argument prototype would still apply. */
17702 char sched_yield();
17708 if { (eval echo configure
:17709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17710 eval "ac_cv_lib_$ac_lib_var=yes"
17712 echo "configure: failed program was:" >&5
17713 cat conftest.
$ac_ext >&5
17715 eval "ac_cv_lib_$ac_lib_var=no"
17718 LIBS
="$ac_save_LIBS"
17721 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17722 echo "$ac_t""yes" 1>&6
17723 cat >> confdefs.h
<<\EOF
17724 #define HAVE_SCHED_YIELD 1
17726 POSIX4_LINK
=" -lposix4"
17728 echo "$ac_t""no" 1>&6
17729 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
17740 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
17741 echo "configure:17742: checking for pthread_attr_getschedpolicy" >&5
17742 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
17743 echo $ac_n "(cached) $ac_c" 1>&6
17745 cat > conftest.
$ac_ext <<EOF
17746 #line 17747 "configure"
17747 #include "confdefs.h"
17748 /* System header to define __stub macros and hopefully few prototypes,
17749 which can conflict with char pthread_attr_getschedpolicy(); below. */
17750 #include <assert.h>
17751 /* Override any gcc2 internal prototype to avoid an error. */
17752 /* We use char because int might match the return type of a gcc2
17753 builtin and then its argument prototype would still apply. */
17754 char pthread_attr_getschedpolicy();
17758 /* The GNU C library defines this for functions which it implements
17759 to always fail with ENOSYS. Some functions are actually named
17760 something starting with __ and the normal name is an alias. */
17761 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
17764 pthread_attr_getschedpolicy();
17769 if { (eval echo configure
:17770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17771 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
17773 echo "configure: failed program was:" >&5
17774 cat conftest.
$ac_ext >&5
17776 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
17781 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
17782 echo "$ac_t""yes" 1>&6
17783 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
17784 echo "configure:17785: checking for pthread_attr_setschedparam" >&5
17785 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
17786 echo $ac_n "(cached) $ac_c" 1>&6
17788 cat > conftest.
$ac_ext <<EOF
17789 #line 17790 "configure"
17790 #include "confdefs.h"
17791 /* System header to define __stub macros and hopefully few prototypes,
17792 which can conflict with char pthread_attr_setschedparam(); below. */
17793 #include <assert.h>
17794 /* Override any gcc2 internal prototype to avoid an error. */
17795 /* We use char because int might match the return type of a gcc2
17796 builtin and then its argument prototype would still apply. */
17797 char pthread_attr_setschedparam();
17801 /* The GNU C library defines this for functions which it implements
17802 to always fail with ENOSYS. Some functions are actually named
17803 something starting with __ and the normal name is an alias. */
17804 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
17807 pthread_attr_setschedparam();
17812 if { (eval echo configure
:17813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17814 eval "ac_cv_func_pthread_attr_setschedparam=yes"
17816 echo "configure: failed program was:" >&5
17817 cat conftest.
$ac_ext >&5
17819 eval "ac_cv_func_pthread_attr_setschedparam=no"
17824 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
17825 echo "$ac_t""yes" 1>&6
17826 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
17827 echo "configure:17828: checking for sched_get_priority_max" >&5
17828 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
17829 echo $ac_n "(cached) $ac_c" 1>&6
17831 cat > conftest.
$ac_ext <<EOF
17832 #line 17833 "configure"
17833 #include "confdefs.h"
17834 /* System header to define __stub macros and hopefully few prototypes
17836 echo "$ac_t""no" 1>&6
17837 which can conflict with char sched_get_priority_max(); below. */
17838 #include <assert.h>
17839 /* Override any gcc2 internal prototype to avoid an error. */
17840 /* We use char because int might match the return type of a gcc2
17841 builtin and then its argument prototype would still apply. */
17842 char sched_get_priority_max();
17846 /* The GNU C library defines this for functions which it implements
17847 to always fail with ENOSYS. Some functions are actually named
17848 something starting with __ and the normal name is an alias. */
17849 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
17852 sched_get_priority_max();
17857 if { (eval echo configure
:17858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17859 eval "ac_cv_func_sched_get_priority_max=yes"
17861 echo "configure: failed program was:" >&5
17862 cat conftest.
$ac_ext >&5
17864 eval "ac_cv_func_sched_get_priority_max=no"
17869 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
17870 echo "$ac_t""yes" 1>&6
17873 echo "$ac_t""no" 1>&6
17874 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
17875 echo "configure:17876: checking for sched_get_priority_max in -lposix4" >&5
17876 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17877 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17878 echo $ac_n "(cached) $ac_c" 1>&6
17880 ac_save_LIBS
="$LIBS"
17881 LIBS
="-lposix4 $LIBS"
17882 cat > conftest.
$ac_ext <<EOF
17883 #line 17884 "configure"
17884 #include "confdefs.h"
17885 /* Override any gcc2 internal prototype to avoid an error. */
17886 /* We use char because int might match the return type of a gcc2
17887 builtin and then its argument prototype would still apply. */
17888 char sched_get_priority_max();
17891 sched_get_priority_max()
17894 if { (eval echo configure
:17895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17896 eval "ac_cv_lib_$ac_lib_var=yes"
17898 echo "configure: failed program was:" >&5
17899 cat conftest.
$ac_ext >&5
17901 eval "ac_cv_lib_$ac_lib_var=no"
17904 LIBS
="$ac_save_LIBS"
17907 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17908 echo "$ac_t""yes" 1>&6
17911 POSIX4_LINK
=" -lposix4"
17914 echo "$ac_t""no" 1>&6
17922 echo "$ac_t""no" 1>&6
17929 if test "$HAVE_PRIOR_FUNCS" = 1; then
17930 cat >> confdefs.h
<<\EOF
17931 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
17935 echo "configure: warning: Setting thread priority will not work" 1>&2
17938 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
17939 echo "configure:17940: checking for pthread_cancel" >&5
17940 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
17941 echo $ac_n "(cached) $ac_c" 1>&6
17943 cat > conftest.
$ac_ext <<EOF
17944 #line 17945 "configure"
17945 #include "confdefs.h"
17946 /* System header to define __stub macros and hopefully few prototypes,
17947 which can conflict with char pthread_cancel(); below. */
17948 #include <assert.h>
17949 /* Override any gcc2 internal prototype to avoid an error. */
17950 /* We use char because int might match the return type of a gcc2
17951 builtin and then its argument prototype would still apply. */
17952 char pthread_cancel();
17956 /* The GNU C library defines this for functions which it implements
17957 to always fail with ENOSYS. Some functions are actually named
17958 something starting with __ and the normal name is an alias. */
17959 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
17967 if { (eval echo configure
:17968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17969 eval "ac_cv_func_pthread_cancel=yes"
17971 echo "configure: failed program was:" >&5
17972 cat conftest.
$ac_ext >&5
17974 eval "ac_cv_func_pthread_cancel=no"
17979 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
17980 echo "$ac_t""yes" 1>&6
17981 cat >> confdefs.h
<<\EOF
17982 #define HAVE_PTHREAD_CANCEL 1
17986 echo "$ac_t""no" 1>&6
17987 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
17991 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
17992 echo "configure:17993: checking for pthread_cleanup_push/pop" >&5
17993 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
17994 echo $ac_n "(cached) $ac_c" 1>&6
17997 cat > conftest.
$ac_ext <<EOF
17998 #line 17999 "configure"
17999 #include "confdefs.h"
18000 #include <pthread.h>
18003 pthread_cleanup_push(NULL, NULL);
18004 pthread_cleanup_pop(0);
18008 if { (eval echo configure
:18009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18011 wx_cv_func_pthread_cleanup_push
=yes
18014 echo "configure: failed program was:" >&5
18015 cat conftest.
$ac_ext >&5
18018 wx_cv_func_pthread_cleanup_push
=no
18025 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
18027 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
18028 cat >> confdefs.h
<<\EOF
18029 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
18035 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18036 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
18039 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
18040 echo "configure:18041: checking for pthread_mutexattr_t" >&5
18041 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
18042 echo $ac_n "(cached) $ac_c" 1>&6
18045 cat > conftest.
$ac_ext <<EOF
18046 #line 18047 "configure"
18047 #include "confdefs.h"
18048 #include <pthread.h>
18051 pthread_mutexattr_t attr;
18052 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
18056 if { (eval echo configure
:18057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18059 wx_cv_type_pthread_mutexattr_t
=yes
18062 echo "configure: failed program was:" >&5
18063 cat conftest.
$ac_ext >&5
18066 wx_cv_type_pthread_mutexattr_t
=no
18074 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
18076 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
18077 cat >> confdefs.h
<<\EOF
18078 #define HAVE_PTHREAD_MUTEXATTR_T 1
18082 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
18083 echo "configure:18084: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
18084 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
18085 echo $ac_n "(cached) $ac_c" 1>&6
18088 cat > conftest.
$ac_ext <<EOF
18089 #line 18090 "configure"
18090 #include "confdefs.h"
18091 #include <pthread.h>
18094 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
18098 if { (eval echo configure
:18099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18101 wx_cv_type_pthread_rec_mutex_init
=yes
18104 echo "configure: failed program was:" >&5
18105 cat conftest.
$ac_ext >&5
18108 wx_cv_type_pthread_rec_mutex_init
=no
18116 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
18117 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
18118 cat >> confdefs.h
<<\EOF
18119 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
18123 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
18130 if test "$wxUSE_THREADS" = "yes"; then
18131 cat >> confdefs.h
<<\EOF
18132 #define wxUSE_THREADS 1
18136 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
18138 if test "$ac_cv_func_strtok_r" = "yes"; then
18139 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
18140 echo "configure:18141: checking if -D_REENTRANT is needed" >&5
18141 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
18142 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
18143 echo "$ac_t""yes" 1>&6
18145 echo "$ac_t""no" 1>&6
18150 if test "$WXGTK20" = 1 ; then
18151 cat >> confdefs.h
<<EOF
18152 #define __WXGTK20__ $WXGTK20
18158 if test "$WXGTK12" = 1 ; then
18159 cat >> confdefs.h
<<EOF
18160 #define __WXGTK12__ $WXGTK12
18165 if test "$WXGTK127" = 1 ; then
18166 cat >> confdefs.h
<<EOF
18167 #define __WXGTK127__ $WXGTK127
18174 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
18179 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
18180 wxUSE_DEBUG_INFO
=yes
18184 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
18185 cat >> confdefs.h
<<\EOF
18189 WXDEBUG_DEFINE
="-D__WXDEBUG__"
18191 if test "$wxUSE_GTK" = 1 ; then
18192 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
18196 if test "$wxUSE_MEM_TRACING" = "yes" ; then
18197 cat >> confdefs.h
<<\EOF
18198 #define wxUSE_MEMORY_TRACING 1
18201 cat >> confdefs.h
<<\EOF
18202 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
18205 cat >> confdefs.h
<<\EOF
18206 #define wxUSE_DEBUG_NEW_ALWAYS 1
18209 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
18212 if test "$wxUSE_DMALLOC" = "yes" ; then
18213 DMALLOC_LIBS
="-ldmalloc"
18217 if test "$wxUSE_PROFILE" = "yes" ; then
18222 CODE_GEN_FLAGS_CXX
=
18223 if test "$GCC" = "yes" ; then
18224 if test "$wxUSE_NO_RTTI" = "yes" ; then
18225 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
18227 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
18228 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
18230 if test "$wxUSE_PERMISSIVE" = "yes" ; then
18231 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
18233 if test "$USE_WIN32" = 1 ; then
18234 # I'm not even really sure what this was ever added to solve,
18235 # but someone added it for mingw native builds, so I guess
18236 # they had a reason, right??
18237 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
18242 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
18247 if test "$wxUSE_OPTIMISE" = "no" ; then
18250 if test "$GCC" = yes ; then
18253 i586
-*-*|i686
-*-* )
18254 OPTIMISE
="${OPTIMISE} "
18262 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
18263 cat >> confdefs.h
<<\EOF
18264 #define WXWIN_COMPATIBILITY_2 1
18268 WXWIN_COMPATIBILITY_2_2
="yes"
18271 if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
18272 cat >> confdefs.h
<<\EOF
18273 #define WXWIN_COMPATIBILITY_2_2 1
18279 if test "$wxUSE_GUI" = "yes"; then
18280 cat >> confdefs.h
<<\EOF
18281 #define wxUSE_GUI 1
18286 cat >> confdefs.h
<<\EOF
18287 #define wxUSE_NOGUI 1
18293 if test "$wxUSE_UNIX" = "yes"; then
18294 cat >> confdefs.h
<<\EOF
18295 #define wxUSE_UNIX 1
18301 if test "$wxUSE_APPLE_IEEE" = "yes"; then
18302 cat >> confdefs.h
<<\EOF
18303 #define wxUSE_APPLE_IEEE 1
18308 if test "$wxUSE_TIMER" = "yes"; then
18309 cat >> confdefs.h
<<\EOF
18310 #define wxUSE_TIMER 1
18315 if test "$wxUSE_WAVE" = "yes"; then
18316 cat >> confdefs.h
<<\EOF
18317 #define wxUSE_WAVE 1
18322 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
18323 cat >> confdefs.h
<<\EOF
18324 #define wxUSE_CMDLINE_PARSER 1
18329 if test "$wxUSE_STOPWATCH" = "yes"; then
18330 cat >> confdefs.h
<<\EOF
18331 #define wxUSE_STOPWATCH 1
18336 if test "$wxUSE_DATETIME" = "yes"; then
18337 cat >> confdefs.h
<<\EOF
18338 #define wxUSE_DATETIME 1
18343 if test "$wxUSE_TIMEDATE" = "yes"; then
18344 cat >> confdefs.h
<<\EOF
18345 #define wxUSE_TIMEDATE 1
18350 if test "$wxUSE_FILE" = "yes"; then
18351 cat >> confdefs.h
<<\EOF
18352 #define wxUSE_FILE 1
18357 if test "$wxUSE_FFILE" = "yes"; then
18358 cat >> confdefs.h
<<\EOF
18359 #define wxUSE_FFILE 1
18364 if test "$wxUSE_FILESYSTEM" = "yes"; then
18365 cat >> confdefs.h
<<\EOF
18366 #define wxUSE_FILESYSTEM 1
18371 if test "$wxUSE_FS_INET" = "yes"; then
18372 cat >> confdefs.h
<<\EOF
18373 #define wxUSE_FS_INET 1
18378 if test "$wxUSE_FS_ZIP" = "yes"; then
18379 cat >> confdefs.h
<<\EOF
18380 #define wxUSE_FS_ZIP 1
18385 if test "$wxUSE_ZIPSTREAM" = "yes"; then
18386 cat >> confdefs.h
<<\EOF
18387 #define wxUSE_ZIPSTREAM 1
18392 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
18393 cat >> confdefs.h
<<\EOF
18394 #define wxUSE_ON_FATAL_EXCEPTION 1
18399 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18400 cat >> confdefs.h
<<\EOF
18401 #define wxUSE_SNGLINST_CHECKER 1
18406 if test "$wxUSE_BUSYINFO" = "yes"; then
18407 cat >> confdefs.h
<<\EOF
18408 #define wxUSE_BUSYINFO 1
18413 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
18414 cat >> confdefs.h
<<\EOF
18415 #define wxUSE_STD_IOSTREAM 1
18420 if test "$wxUSE_TEXTBUFFER" = "yes"; then
18421 cat >> confdefs.h
<<\EOF
18422 #define wxUSE_TEXTBUFFER 1
18427 if test "$wxUSE_TEXTFILE" = "yes"; then
18428 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
18429 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
18431 cat >> confdefs.h
<<\EOF
18432 #define wxUSE_TEXTFILE 1
18438 if test "$wxUSE_CONFIG" = "yes" ; then
18439 if test "$wxUSE_TEXTFILE" != "yes"; then
18440 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
18442 cat >> confdefs.h
<<\EOF
18443 #define wxUSE_CONFIG 1
18446 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
18450 if test "$wxUSE_INTL" = "yes" ; then
18451 if test "$wxUSE_FILE" != "yes"; then
18452 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
18454 cat >> confdefs.h
<<\EOF
18455 #define wxUSE_INTL 1
18458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
18459 GUIDIST
="$GUIDIST INTL_DIST"
18463 if test "$wxUSE_LOG" = "yes"; then
18464 cat >> confdefs.h
<<\EOF
18465 #define wxUSE_LOG 1
18469 if test "$wxUSE_LOGGUI" = "yes"; then
18470 cat >> confdefs.h
<<\EOF
18471 #define wxUSE_LOGGUI 1
18476 if test "$wxUSE_LOGWINDOW" = "yes"; then
18477 cat >> confdefs.h
<<\EOF
18478 #define wxUSE_LOGWINDOW 1
18483 if test "$wxUSE_LOGDIALOG" = "yes"; then
18484 cat >> confdefs.h
<<\EOF
18485 #define wxUSE_LOG_DIALOG 1
18491 if test "$wxUSE_LONGLONG" = "yes"; then
18492 cat >> confdefs.h
<<\EOF
18493 #define wxUSE_LONGLONG 1
18498 if test "$wxUSE_GEOMETRY" = "yes"; then
18499 cat >> confdefs.h
<<\EOF
18500 #define wxUSE_GEOMETRY 1
18505 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
18506 cat >> confdefs.h
<<\EOF
18507 #define wxUSE_DIALUP_MANAGER 1
18510 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
18513 if test "$wxUSE_STREAMS" = "yes" ; then
18514 cat >> confdefs.h
<<\EOF
18515 #define wxUSE_STREAMS 1
18521 if test "$wxUSE_DATETIME" = "yes"; then
18522 for ac_func
in strptime
18524 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18525 echo "configure:18526: checking for $ac_func" >&5
18526 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18527 echo $ac_n "(cached) $ac_c" 1>&6
18529 cat > conftest.
$ac_ext <<EOF
18530 #line 18531 "configure"
18531 #include "confdefs.h"
18532 /* System header to define __stub macros and hopefully few prototypes,
18533 which can conflict with char $ac_func(); below. */
18534 #include <assert.h>
18535 /* Override any gcc2 internal prototype to avoid an error. */
18536 /* We use char because int might match the return type of a gcc2
18537 builtin and then its argument prototype would still apply. */
18542 /* The GNU C library defines this for functions which it implements
18543 to always fail with ENOSYS. Some functions are actually named
18544 something starting with __ and the normal name is an alias. */
18545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18553 if { (eval echo configure
:18554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18555 eval "ac_cv_func_$ac_func=yes"
18557 echo "configure: failed program was:" >&5
18558 cat conftest.
$ac_ext >&5
18560 eval "ac_cv_func_$ac_func=no"
18565 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18566 echo "$ac_t""yes" 1>&6
18567 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18568 cat >> confdefs.h
<<EOF
18569 #define $ac_tr_func 1
18573 echo "$ac_t""no" 1>&6
18578 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
18579 echo "configure:18580: checking for timezone variable in <time.h>" >&5
18580 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
18581 echo $ac_n "(cached) $ac_c" 1>&6
18584 cat > conftest.
$ac_ext <<EOF
18585 #line 18586 "configure"
18586 #include "confdefs.h"
18597 if { (eval echo configure
:18598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18600 wx_cv_var_timezone
=timezone
18603 echo "configure: failed program was:" >&5
18604 cat conftest.
$ac_ext >&5
18607 cat > conftest.
$ac_ext <<EOF
18608 #line 18609 "configure"
18609 #include "confdefs.h"
18620 if { (eval echo configure
:18621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18623 wx_cv_var_timezone
=_timezone
18626 echo "configure: failed program was:" >&5
18627 cat conftest.
$ac_ext >&5
18630 cat > conftest.
$ac_ext <<EOF
18631 #line 18632 "configure"
18632 #include "confdefs.h"
18643 if { (eval echo configure
:18644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18646 wx_cv_var_timezone
=__timezone
18649 echo "configure: failed program was:" >&5
18650 cat conftest.
$ac_ext >&5
18653 if test "$USE_DOS" = 0 ; then
18654 echo "configure: warning: no timezone variable" 1>&2
18672 echo "$ac_t""$wx_cv_var_timezone" 1>&6
18674 if test "x$wx_cv_var_timezone" != x
; then
18675 cat >> confdefs.h
<<EOF
18676 #define WX_TIMEZONE $wx_cv_var_timezone
18681 for ac_func
in localtime
18683 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18684 echo "configure:18685: checking for $ac_func" >&5
18685 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18686 echo $ac_n "(cached) $ac_c" 1>&6
18688 cat > conftest.
$ac_ext <<EOF
18689 #line 18690 "configure"
18690 #include "confdefs.h"
18691 /* System header to define __stub macros and hopefully few prototypes,
18692 which can conflict with char $ac_func(); below. */
18693 #include <assert.h>
18694 /* Override any gcc2 internal prototype to avoid an error. */
18695 /* We use char because int might match the return type of a gcc2
18696 builtin and then its argument prototype would still apply. */
18701 /* The GNU C library defines this for functions which it implements
18702 to always fail with ENOSYS. Some functions are actually named
18703 something starting with __ and the normal name is an alias. */
18704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18712 if { (eval echo configure
:18713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18714 eval "ac_cv_func_$ac_func=yes"
18716 echo "configure: failed program was:" >&5
18717 cat conftest.
$ac_ext >&5
18719 eval "ac_cv_func_$ac_func=no"
18724 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18725 echo "$ac_t""yes" 1>&6
18726 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18727 cat >> confdefs.h
<<EOF
18728 #define $ac_tr_func 1
18732 echo "$ac_t""no" 1>&6
18737 if test "$ac_cv_func_localtime" = "yes"; then
18738 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
18739 echo "configure:18740: checking for tm_gmtoff in struct tm" >&5
18740 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
18741 echo $ac_n "(cached) $ac_c" 1>&6
18744 cat > conftest.
$ac_ext <<EOF
18745 #line 18746 "configure"
18746 #include "confdefs.h"
18757 if { (eval echo configure
:18758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18760 wx_cv_struct_tm_has_gmtoff
=yes
18763 echo "configure: failed program was:" >&5
18764 cat conftest.
$ac_ext >&5
18766 wx_cv_struct_tm_has_gmtoff
=no
18773 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
18776 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
18777 cat >> confdefs.h
<<\EOF
18778 #define WX_GMTOFF_IN_TM 1
18783 for ac_func
in gettimeofday ftime
18785 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18786 echo "configure:18787: checking for $ac_func" >&5
18787 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18788 echo $ac_n "(cached) $ac_c" 1>&6
18790 cat > conftest.
$ac_ext <<EOF
18791 #line 18792 "configure"
18792 #include "confdefs.h"
18793 /* System header to define __stub macros and hopefully few prototypes,
18794 which can conflict with char $ac_func(); below. */
18795 #include <assert.h>
18796 /* Override any gcc2 internal prototype to avoid an error. */
18797 /* We use char because int might match the return type of a gcc2
18798 builtin and then its argument prototype would still apply. */
18803 /* The GNU C library defines this for functions which it implements
18804 to always fail with ENOSYS. Some functions are actually named
18805 something starting with __ and the normal name is an alias. */
18806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18814 if { (eval echo configure
:18815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18816 eval "ac_cv_func_$ac_func=yes"
18818 echo "configure: failed program was:" >&5
18819 cat conftest.
$ac_ext >&5
18821 eval "ac_cv_func_$ac_func=no"
18826 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18827 echo "$ac_t""yes" 1>&6
18828 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18829 cat >> confdefs.h
<<EOF
18830 #define $ac_tr_func 1
18834 echo "$ac_t""no" 1>&6
18839 if test "$ac_cv_func_gettimeofday" = "yes"; then
18840 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
18841 echo "configure:18842: checking whether gettimeofday takes two arguments" >&5
18842 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
18843 echo $ac_n "(cached) $ac_c" 1>&6
18848 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18849 ac_cpp
='$CXXCPP $CPPFLAGS'
18850 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18851 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18852 cross_compiling
=$ac_cv_prog_cxx_cross
18855 cat > conftest.
$ac_ext <<EOF
18856 #line 18857 "configure"
18857 #include "confdefs.h"
18859 #include <sys/time.h>
18860 #include <unistd.h>
18865 gettimeofday(&tv, NULL);
18869 if { (eval echo configure
:18870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18871 wx_cv_func_gettimeofday_has_2_args
=yes
18873 echo "configure: failed program was:" >&5
18874 cat conftest.
$ac_ext >&5
18876 cat > conftest.
$ac_ext <<EOF
18877 #line 18878 "configure"
18878 #include "confdefs.h"
18880 #include <sys/time.h>
18881 #include <unistd.h>
18890 if { (eval echo configure
:18891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18892 wx_cv_func_gettimeofday_has_2_args
=no
18894 echo "configure: failed program was:" >&5
18895 cat conftest.
$ac_ext >&5
18898 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
18899 wx_cv_func_gettimeofday_has_2_args
=unknown
18908 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18909 ac_cpp
='$CPP $CPPFLAGS'
18910 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18911 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18912 cross_compiling
=$ac_cv_prog_cc_cross
18917 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
18919 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
18920 cat >> confdefs.h
<<\EOF
18921 #define WX_GETTIMEOFDAY_NO_TZ 1
18927 cat >> confdefs.h
<<\EOF
18928 #define wxUSE_TIMEDATE 1
18931 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
18935 if test "$wxUSE_SOCKETS" = "yes"; then
18936 if test "$wxUSE_X11" = "1"; then
18937 echo "configure: warning: wxSocket not yet supported under X11... disabled" 1>&2
18941 if test "$wxUSE_MGL" = "1"; then
18942 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
18947 if test "$wxUSE_SOCKETS" = "yes"; then
18948 if test "$TOOLKIT" != "MSW"; then
18949 echo $ac_n "checking for socket""... $ac_c" 1>&6
18950 echo "configure:18951: checking for socket" >&5
18951 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
18952 echo $ac_n "(cached) $ac_c" 1>&6
18954 cat > conftest.
$ac_ext <<EOF
18955 #line 18956 "configure"
18956 #include "confdefs.h"
18957 /* System header to define __stub macros and hopefully few prototypes,
18958 which can conflict with char socket(); below. */
18959 #include <assert.h>
18960 /* Override any gcc2 internal prototype to avoid an error. */
18961 /* We use char because int might match the return type of a gcc2
18962 builtin and then its argument prototype would still apply. */
18967 /* The GNU C library defines this for functions which it implements
18968 to always fail with ENOSYS. Some functions are actually named
18969 something starting with __ and the normal name is an alias. */
18970 #if defined (__stub_socket) || defined (__stub___socket)
18978 if { (eval echo configure
:18979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18980 eval "ac_cv_func_socket=yes"
18982 echo "configure: failed program was:" >&5
18983 cat conftest.
$ac_ext >&5
18985 eval "ac_cv_func_socket=no"
18990 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
18991 echo "$ac_t""yes" 1>&6
18994 echo "$ac_t""no" 1>&6
18995 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
18996 echo "configure:18997: checking for socket in -lsocket" >&5
18997 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
18998 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18999 echo $ac_n "(cached) $ac_c" 1>&6
19001 ac_save_LIBS
="$LIBS"
19002 LIBS
="-lsocket $LIBS"
19003 cat > conftest.
$ac_ext <<EOF
19004 #line 19005 "configure"
19005 #include "confdefs.h"
19006 /* Override any gcc2 internal prototype to avoid an error. */
19007 /* We use char because int might match the return type of a gcc2
19008 builtin and then its argument prototype would still apply. */
19015 if { (eval echo configure
:19016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19017 eval "ac_cv_lib_$ac_lib_var=yes"
19019 echo "configure: failed program was:" >&5
19020 cat conftest.
$ac_ext >&5
19022 eval "ac_cv_lib_$ac_lib_var=no"
19025 LIBS
="$ac_save_LIBS"
19028 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19029 echo "$ac_t""yes" 1>&6
19030 if test "$INET_LINK" != " -lsocket"; then
19031 INET_LINK
="$INET_LINK -lsocket"
19034 echo "$ac_t""no" 1>&6
19036 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
19048 if test "$wxUSE_SOCKETS" = "yes" ; then
19049 if test "$TOOLKIT" != "MSW"; then
19050 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
19051 echo "configure:19052: checking what is the type of the third argument of getsockname" >&5
19052 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
19053 echo $ac_n "(cached) $ac_c" 1>&6
19058 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19059 ac_cpp
='$CXXCPP $CPPFLAGS'
19060 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19061 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19062 cross_compiling
=$ac_cv_prog_cxx_cross
19065 cat > conftest.
$ac_ext <<EOF
19066 #line 19067 "configure"
19067 #include "confdefs.h"
19069 #include <sys/types.h>
19070 #include <sys/socket.h>
19075 getsockname(0, 0, &len);
19079 if { (eval echo configure
:19080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19081 wx_cv_type_getsockname3
=socklen_t
19083 echo "configure: failed program was:" >&5
19084 cat conftest.
$ac_ext >&5
19086 cat > conftest.
$ac_ext <<EOF
19087 #line 19088 "configure"
19088 #include "confdefs.h"
19090 #include <sys/types.h>
19091 #include <sys/socket.h>
19096 getsockname(0, 0, &len);
19100 if { (eval echo configure
:19101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19102 wx_cv_type_getsockname3
=size_t
19104 echo "configure: failed program was:" >&5
19105 cat conftest.
$ac_ext >&5
19107 cat > conftest.
$ac_ext <<EOF
19108 #line 19109 "configure"
19109 #include "confdefs.h"
19111 #include <sys/types.h>
19112 #include <sys/socket.h>
19117 getsockname(0, 0, &len);
19121 if { (eval echo configure
:19122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19123 wx_cv_type_getsockname3
=int
19125 echo "configure: failed program was:" >&5
19126 cat conftest.
$ac_ext >&5
19128 wx_cv_type_getsockname3
=unknown
19140 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19141 ac_cpp
='$CPP $CPPFLAGS'
19142 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19143 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19144 cross_compiling
=$ac_cv_prog_cc_cross
19149 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
19151 if test "$wx_cv_type_getsockname3" = "unknown"; then
19153 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
19155 cat >> confdefs.h
<<EOF
19156 #define SOCKLEN_T $wx_cv_type_getsockname3
19163 if test "$wxUSE_SOCKETS" = "yes" ; then
19164 cat >> confdefs.h
<<\EOF
19165 #define wxUSE_SOCKETS 1
19168 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
19172 if test "$wxUSE_GUI" = "yes"; then
19174 if test "$TOOLKIT" = "MAC"; then
19175 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
19178 if test "$TOOLKIT" = "MOTIF"; then
19179 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
19182 if test "$TOOLKIT" = "X11"; then
19183 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
19187 if test "$TOOLKIT" != "MSW"; then
19188 if test "$wxUSE_JOYSTICK" = "yes"; then
19189 for ac_hdr
in linux
/joystick.h
19191 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19192 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19193 echo "configure:19194: checking for $ac_hdr" >&5
19194 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19195 echo $ac_n "(cached) $ac_c" 1>&6
19197 cat > conftest.
$ac_ext <<EOF
19198 #line 19199 "configure"
19199 #include "confdefs.h"
19202 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19203 { (eval echo configure
:19204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19204 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19205 if test -z "$ac_err"; then
19207 eval "ac_cv_header_$ac_safe=yes"
19210 echo "configure: failed program was:" >&5
19211 cat conftest.
$ac_ext >&5
19213 eval "ac_cv_header_$ac_safe=no"
19217 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19218 echo "$ac_t""yes" 1>&6
19219 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19220 cat >> confdefs.h
<<EOF
19221 #define $ac_tr_hdr 1
19225 echo "$ac_t""no" 1>&6
19229 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
19231 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
19236 if test "$wxUSE_JOYSTICK" = "yes"; then
19237 cat >> confdefs.h
<<\EOF
19238 #define wxUSE_JOYSTICK 1
19241 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
19246 if test "$TOOLKIT" != "MSW"; then
19250 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19251 if test "$USE_DARWIN" = 1; then
19254 for ac_func
in dlopen
19256 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19257 echo "configure:19258: checking for $ac_func" >&5
19258 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19259 echo $ac_n "(cached) $ac_c" 1>&6
19261 cat > conftest.
$ac_ext <<EOF
19262 #line 19263 "configure"
19263 #include "confdefs.h"
19264 /* System header to define __stub macros and hopefully few prototypes,
19265 which can conflict with char $ac_func(); below. */
19266 #include <assert.h>
19267 /* Override any gcc2 internal prototype to avoid an error. */
19268 /* We use char because int might match the return type of a gcc2
19269 builtin and then its argument prototype would still apply. */
19274 /* The GNU C library defines this for functions which it implements
19275 to always fail with ENOSYS. Some functions are actually named
19276 something starting with __ and the normal name is an alias. */
19277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19285 if { (eval echo configure
:19286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19287 eval "ac_cv_func_$ac_func=yes"
19289 echo "configure: failed program was:" >&5
19290 cat conftest.
$ac_ext >&5
19292 eval "ac_cv_func_$ac_func=no"
19297 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19298 echo "$ac_t""yes" 1>&6
19299 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19300 cat >> confdefs.h
<<EOF
19301 #define $ac_tr_func 1
19304 cat >> confdefs.h
<<\EOF
19305 #define HAVE_DLOPEN 1
19311 echo "$ac_t""no" 1>&6
19312 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
19313 echo "configure:19314: checking for dlopen in -ldl" >&5
19314 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
19315 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19316 echo $ac_n "(cached) $ac_c" 1>&6
19318 ac_save_LIBS
="$LIBS"
19320 cat > conftest.
$ac_ext <<EOF
19321 #line 19322 "configure"
19322 #include "confdefs.h"
19323 /* Override any gcc2 internal prototype to avoid an error. */
19324 /* We use char because int might match the return type of a gcc2
19325 builtin and then its argument prototype would still apply. */
19332 if { (eval echo configure
:19333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19334 eval "ac_cv_lib_$ac_lib_var=yes"
19336 echo "configure: failed program was:" >&5
19337 cat conftest.
$ac_ext >&5
19339 eval "ac_cv_lib_$ac_lib_var=no"
19342 LIBS
="$ac_save_LIBS"
19345 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19346 echo "$ac_t""yes" 1>&6
19348 cat >> confdefs.h
<<\EOF
19349 #define HAVE_DLOPEN 1
19353 DL_LINK
=" -ldl$DL_LINK"
19356 echo "$ac_t""no" 1>&6
19358 for ac_func
in shl_load
19360 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19361 echo "configure:19362: checking for $ac_func" >&5
19362 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19363 echo $ac_n "(cached) $ac_c" 1>&6
19365 cat > conftest.
$ac_ext <<EOF
19366 #line 19367 "configure"
19367 #include "confdefs.h"
19368 /* System header to define __stub macros and hopefully few prototypes,
19369 which can conflict with char $ac_func(); below. */
19370 #include <assert.h>
19371 /* Override any gcc2 internal prototype to avoid an error. */
19372 /* We use char because int might match the return type of a gcc2
19373 builtin and then its argument prototype would still apply. */
19378 /* The GNU C library defines this for functions which it implements
19379 to always fail with ENOSYS. Some functions are actually named
19380 something starting with __ and the normal name is an alias. */
19381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19389 if { (eval echo configure
:19390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19391 eval "ac_cv_func_$ac_func=yes"
19393 echo "configure: failed program was:" >&5
19394 cat conftest.
$ac_ext >&5
19396 eval "ac_cv_func_$ac_func=no"
19401 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19402 echo "$ac_t""yes" 1>&6
19403 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19404 cat >> confdefs.h
<<EOF
19405 #define $ac_tr_func 1
19408 cat >> confdefs.h
<<\EOF
19409 #define HAVE_SHL_LOAD 1
19415 echo "$ac_t""no" 1>&6
19416 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
19417 echo "configure:19418: checking for dld in -lshl_load" >&5
19418 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
19419 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19420 echo $ac_n "(cached) $ac_c" 1>&6
19422 ac_save_LIBS
="$LIBS"
19423 LIBS
="-lshl_load $LIBS"
19424 cat > conftest.
$ac_ext <<EOF
19425 #line 19426 "configure"
19426 #include "confdefs.h"
19427 /* Override any gcc2 internal prototype to avoid an error. */
19428 /* We use char because int might match the return type of a gcc2
19429 builtin and then its argument prototype would still apply. */
19436 if { (eval echo configure
:19437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19438 eval "ac_cv_lib_$ac_lib_var=yes"
19440 echo "configure: failed program was:" >&5
19441 cat conftest.
$ac_ext >&5
19443 eval "ac_cv_lib_$ac_lib_var=no"
19446 LIBS
="$ac_save_LIBS"
19449 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19450 echo "$ac_t""yes" 1>&6
19453 DL_LINK
=" -ldld$DL_LINK"
19456 echo "$ac_t""no" 1>&6
19471 if test "$HAVE_DL_FUNCS" = 1; then
19472 for ac_func
in dlerror
19474 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19475 echo "configure:19476: checking for $ac_func" >&5
19476 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19477 echo $ac_n "(cached) $ac_c" 1>&6
19479 cat > conftest.
$ac_ext <<EOF
19480 #line 19481 "configure"
19481 #include "confdefs.h"
19482 /* System header to define __stub macros and hopefully few prototypes,
19483 which can conflict with char $ac_func(); below. */
19484 #include <assert.h>
19485 /* Override any gcc2 internal prototype to avoid an error. */
19486 /* We use char because int might match the return type of a gcc2
19487 builtin and then its argument prototype would still apply. */
19492 /* The GNU C library defines this for functions which it implements
19493 to always fail with ENOSYS. Some functions are actually named
19494 something starting with __ and the normal name is an alias. */
19495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19503 if { (eval echo configure
:19504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19505 eval "ac_cv_func_$ac_func=yes"
19507 echo "configure: failed program was:" >&5
19508 cat conftest.
$ac_ext >&5
19510 eval "ac_cv_func_$ac_func=no"
19515 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19516 echo "$ac_t""yes" 1>&6
19517 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19518 cat >> confdefs.h
<<EOF
19519 #define $ac_tr_func 1
19521 cat >> confdefs.h
<<\EOF
19522 #define HAVE_DLERROR 1
19526 echo "$ac_t""no" 1>&6
19527 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
19528 echo "configure:19529: checking for dlerror in -ldl" >&5
19529 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
19530 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19531 echo $ac_n "(cached) $ac_c" 1>&6
19533 ac_save_LIBS
="$LIBS"
19535 cat > conftest.
$ac_ext <<EOF
19536 #line 19537 "configure"
19537 #include "confdefs.h"
19538 /* Override any gcc2 internal prototype to avoid an error. */
19539 /* We use char because int might match the return type of a gcc2
19540 builtin and then its argument prototype would still apply. */
19547 if { (eval echo configure
:19548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19549 eval "ac_cv_lib_$ac_lib_var=yes"
19551 echo "configure: failed program was:" >&5
19552 cat conftest.
$ac_ext >&5
19554 eval "ac_cv_lib_$ac_lib_var=no"
19557 LIBS
="$ac_save_LIBS"
19560 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19561 echo "$ac_t""yes" 1>&6
19562 cat >> confdefs.h
<<\EOF
19563 #define HAVE_DLERROR 1
19567 echo "$ac_t""no" 1>&6
19576 if test "$HAVE_DL_FUNCS" = 0; then
19577 if test "$HAVE_SHL_FUNCS" = 0; then
19578 if test "$USE_UNIX" = 1; then
19579 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
19580 wxUSE_DYNAMIC_LOADER
=no
19581 wxUSE_DYNLIB_CLASS
=no
19583 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
19590 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
19591 cat >> confdefs.h
<<\EOF
19592 #define wxUSE_DYNAMIC_LOADER 1
19595 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19596 cat >> confdefs.h
<<\EOF
19597 #define wxUSE_DYNLIB_CLASS 1
19603 if test "$wxUSE_FONTMAP" = "yes" ; then
19604 cat >> confdefs.h
<<\EOF
19605 #define wxUSE_FONTMAP 1
19610 if test "$wxUSE_UNICODE" = "yes" ; then
19611 cat >> confdefs.h
<<\EOF
19612 #define wxUSE_UNICODE 1
19616 if test "$wxUSE_MSW" != 1; then
19617 wxUSE_UNICODE_MSLU
=no
19620 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
19621 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
19622 echo "configure:19623: checking for main in -lunicows" >&5
19623 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
19624 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19625 echo $ac_n "(cached) $ac_c" 1>&6
19627 ac_save_LIBS
="$LIBS"
19628 LIBS
="-lunicows $LIBS"
19629 cat > conftest.
$ac_ext <<EOF
19630 #line 19631 "configure"
19631 #include "confdefs.h"
19637 if { (eval echo configure
:19638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19639 eval "ac_cv_lib_$ac_lib_var=yes"
19641 echo "configure: failed program was:" >&5
19642 cat conftest.
$ac_ext >&5
19644 eval "ac_cv_lib_$ac_lib_var=no"
19647 LIBS
="$ac_save_LIBS"
19650 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19651 echo "$ac_t""yes" 1>&6
19653 cat >> confdefs.h
<<\EOF
19654 #define wxUSE_UNICODE_MSLU 1
19659 echo "$ac_t""no" 1>&6
19661 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
19662 Applications will only run on Windows NT/2000/XP!" 1>&2
19663 wxUSE_UNICODE_MSLU
=no
19670 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
19671 cat >> confdefs.h
<<\EOF
19672 #define wxUSE_EXPERIMENTAL_PRINTF 1
19680 if test "$wxUSE_ODBC" = "yes" ; then
19681 cat >> confdefs.h
<<\EOF
19682 #define wxUSE_ODBC 1
19685 WXODBCFLAG
="-D_IODBC_"
19686 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
19690 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
19691 cat >> confdefs.h
<<\EOF
19692 #define wxUSE_POSTSCRIPT 1
19697 cat >> confdefs.h
<<\EOF
19698 #define wxUSE_AFM_FOR_POSTSCRIPT 1
19702 cat >> confdefs.h
<<\EOF
19703 #define wxUSE_NORMALIZED_PS_FONTS 1
19708 if test "$wxUSE_CONSTRAINTS" = "yes"; then
19709 cat >> confdefs.h
<<\EOF
19710 #define wxUSE_CONSTRAINTS 1
19713 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
19716 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19717 if test "$wxUSE_UNIVERSAL" = "yes"; then
19718 echo "configure: warning: MDI not yet supported for wxUniversal... disabled" 1>&2
19719 wxUSE_MDI_ARCHITECTURE
=no
19722 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19723 cat >> confdefs.h
<<\EOF
19724 #define wxUSE_MDI_ARCHITECTURE 1
19727 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
19731 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
19732 cat >> confdefs.h
<<\EOF
19733 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
19736 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
19737 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19738 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
19742 if test "$wxUSE_HELP" = "yes"; then
19743 cat >> confdefs.h
<<\EOF
19744 #define wxUSE_HELP 1
19747 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
19749 if test "$wxUSE_MSW" = 1; then
19750 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
19751 cat >> confdefs.h
<<\EOF
19752 #define wxUSE_MS_HTML_HELP 1
19758 if test "$wxUSE_WXHTML_HELP" = "yes"; then
19759 if test "$wxUSE_HTML" = "yes"; then
19760 cat >> confdefs.h
<<\EOF
19761 #define wxUSE_WXHTML_HELP 1
19765 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
19766 wxUSE_WXHTML_HELP
=no
19771 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
19772 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19773 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
19775 cat >> confdefs.h
<<\EOF
19776 #define wxUSE_PRINTING_ARCHITECTURE 1
19780 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
19783 if test "$wxUSE_PROLOGIO" = "yes" ; then
19784 cat >> confdefs.h
<<\EOF
19785 #define wxUSE_PROLOGIO 1
19790 if test "$wxUSE_RESOURCES" = "yes" ; then
19791 if test "$wxUSE_NANOX" = "yes"; then
19792 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
19794 cat >> confdefs.h
<<\EOF
19795 #define wxUSE_RESOURCES 1
19798 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
19802 if test "$wxUSE_X_RESOURCES" = "yes"; then
19803 cat >> confdefs.h
<<\EOF
19804 #define wxUSE_X_RESOURCES 1
19810 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
19811 -o "$wxUSE_CLIPBOARD" = "yes" \
19812 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
19813 for ac_hdr
in ole2.h
19815 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19816 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19817 echo "configure:19818: checking for $ac_hdr" >&5
19818 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19819 echo $ac_n "(cached) $ac_c" 1>&6
19821 cat > conftest.
$ac_ext <<EOF
19822 #line 19823 "configure"
19823 #include "confdefs.h"
19826 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19827 { (eval echo configure
:19828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19828 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19829 if test -z "$ac_err"; then
19831 eval "ac_cv_header_$ac_safe=yes"
19834 echo "configure: failed program was:" >&5
19835 cat conftest.
$ac_ext >&5
19837 eval "ac_cv_header_$ac_safe=no"
19841 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19842 echo "$ac_t""yes" 1>&6
19843 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19844 cat >> confdefs.h
<<EOF
19845 #define $ac_tr_hdr 1
19849 echo "$ac_t""no" 1>&6
19854 if test "$ac_cv_header_ole2_h" = "yes" ; then
19855 if test "$GCC" = yes ; then
19856 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
19857 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
19858 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
19859 cat >> confdefs.h
<<\EOF
19860 #define wxUSE_OLE 1
19866 cat >> confdefs.h
<<\EOF
19867 #define wxUSE_DATAOBJ 1
19871 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
19874 wxUSE_DRAG_AND_DROP
=no
19878 if test "$wxUSE_METAFILE" = "yes"; then
19879 cat >> confdefs.h
<<\EOF
19880 #define wxUSE_METAFILE 1
19884 cat >> confdefs.h
<<\EOF
19885 #define wxUSE_ENH_METAFILE 1
19891 if test "$wxUSE_IPC" = "yes"; then
19892 if test "$wxUSE_SOCKETS" != "yes"; then
19893 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
19896 cat >> confdefs.h
<<\EOF
19897 #define wxUSE_IPC 1
19902 if test "$wxUSE_CLIPBOARD" = "yes"; then
19903 if test "$wxUSE_MGL" = 1; then
19904 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
19908 if test "$wxUSE_CLIPBOARD" = "yes"; then
19909 cat >> confdefs.h
<<\EOF
19910 #define wxUSE_CLIPBOARD 1
19914 cat >> confdefs.h
<<\EOF
19915 #define wxUSE_DATAOBJ 1
19921 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
19922 if test "$wxUSE_GTK" = 1; then
19923 if test "$WXGTK12" != 1; then
19924 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
19925 wxUSE_DRAG_AND_DROP
=no
19929 if test "$wxUSE_MOTIF" = 1; then
19930 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
19931 wxUSE_DRAG_AND_DROP
=no
19934 if test "$wxUSE_X11" = 1; then
19935 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
19936 wxUSE_DRAG_AND_DROP
=no
19939 if test "$wxUSE_MGL" = 1; then
19940 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
19941 wxUSE_DRAG_AND_DROP
=no
19944 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
19945 cat >> confdefs.h
<<\EOF
19946 #define wxUSE_DRAG_AND_DROP 1
19949 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
19954 if test "$wxUSE_SPLINES" = "yes" ; then
19955 cat >> confdefs.h
<<\EOF
19956 #define wxUSE_SPLINES 1
19963 if test "$wxUSE_CONTROLS" = "yes"; then
19967 if test "$wxUSE_ACCEL" = "yes"; then
19968 cat >> confdefs.h
<<\EOF
19969 #define wxUSE_ACCEL 1
19975 if test "$wxUSE_BUTTON" = "yes"; then
19976 cat >> confdefs.h
<<\EOF
19977 #define wxUSE_BUTTON 1
19983 if test "$wxUSE_BMPBUTTON" = "yes"; then
19984 cat >> confdefs.h
<<\EOF
19985 #define wxUSE_BMPBUTTON 1
19991 if test "$wxUSE_CALCTRL" = "yes"; then
19992 cat >> confdefs.h
<<\EOF
19993 #define wxUSE_CALENDARCTRL 1
19997 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
20000 if test "$wxUSE_CARET" = "yes"; then
20001 cat >> confdefs.h
<<\EOF
20002 #define wxUSE_CARET 1
20006 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
20009 if test "$wxUSE_COMBOBOX" = "yes"; then
20010 cat >> confdefs.h
<<\EOF
20011 #define wxUSE_COMBOBOX 1
20017 if test "$wxUSE_CHOICE" = "yes"; then
20018 cat >> confdefs.h
<<\EOF
20019 #define wxUSE_CHOICE 1
20025 if test "$wxUSE_CHECKBOX" = "yes"; then
20026 cat >> confdefs.h
<<\EOF
20027 #define wxUSE_CHECKBOX 1
20033 if test "$wxUSE_CHECKLST" = "yes"; then
20034 cat >> confdefs.h
<<\EOF
20035 #define wxUSE_CHECKLISTBOX 1
20039 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
20042 if test "$wxUSE_GAUGE" = "yes"; then
20043 cat >> confdefs.h
<<\EOF
20044 #define wxUSE_GAUGE 1
20050 if test "$wxUSE_NEW_GRID" = "yes"; then
20052 cat >> confdefs.h
<<\EOF
20053 #define wxUSE_NEW_GRID 1
20057 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
20060 if test "$wxUSE_GRID" = "yes"; then
20061 cat >> confdefs.h
<<\EOF
20062 #define wxUSE_GRID 1
20066 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
20069 if test "$wxUSE_IMAGLIST" = "yes"; then
20070 cat >> confdefs.h
<<\EOF
20071 #define wxUSE_IMAGLIST 1
20076 if test "$wxUSE_LISTBOX" = "yes"; then
20077 cat >> confdefs.h
<<\EOF
20078 #define wxUSE_LISTBOX 1
20084 if test "$wxUSE_LISTCTRL" = "yes"; then
20085 if test "$wxUSE_IMAGLIST" = "yes"; then
20086 cat >> confdefs.h
<<\EOF
20087 #define wxUSE_LISTCTRL 1
20091 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
20093 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
20097 if test "$wxUSE_NOTEBOOK" = "yes"; then
20098 cat >> confdefs.h
<<\EOF
20099 #define wxUSE_NOTEBOOK 1
20103 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
20106 if test "$wxUSE_PROPSHEET" = "yes"; then
20107 cat >> confdefs.h
<<\EOF
20108 #define wxUSE_PROPSHEET 1
20112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
20115 if test "$wxUSE_RADIOBOX" = "yes"; then
20116 cat >> confdefs.h
<<\EOF
20117 #define wxUSE_RADIOBOX 1
20123 if test "$wxUSE_RADIOBTN" = "yes"; then
20124 cat >> confdefs.h
<<\EOF
20125 #define wxUSE_RADIOBTN 1
20131 if test "$wxUSE_SASH" = "yes"; then
20132 cat >> confdefs.h
<<\EOF
20133 #define wxUSE_SASH 1
20136 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
20139 if test "$wxUSE_SCROLLBAR" = "yes"; then
20140 cat >> confdefs.h
<<\EOF
20141 #define wxUSE_SCROLLBAR 1
20145 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
20148 if test "$wxUSE_SLIDER" = "yes"; then
20149 cat >> confdefs.h
<<\EOF
20150 #define wxUSE_SLIDER 1
20156 if test "$wxUSE_SPINBTN" = "yes"; then
20157 cat >> confdefs.h
<<\EOF
20158 #define wxUSE_SPINBTN 1
20164 if test "$wxUSE_SPINCTRL" = "yes"; then
20165 cat >> confdefs.h
<<\EOF
20166 #define wxUSE_SPINCTRL 1
20172 if test "$wxUSE_SPLITTER" = "yes"; then
20173 cat >> confdefs.h
<<\EOF
20174 #define wxUSE_SPLITTER 1
20177 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
20180 if test "$wxUSE_STATBMP" = "yes"; then
20181 cat >> confdefs.h
<<\EOF
20182 #define wxUSE_STATBMP 1
20188 if test "$wxUSE_STATBOX" = "yes"; then
20189 cat >> confdefs.h
<<\EOF
20190 #define wxUSE_STATBOX 1
20196 if test "$wxUSE_STATTEXT" = "yes"; then
20197 cat >> confdefs.h
<<\EOF
20198 #define wxUSE_STATTEXT 1
20204 if test "$wxUSE_STATLINE" = "yes"; then
20205 if test "$wxUSE_WINE" = 1 ; then
20206 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
20208 cat >> confdefs.h
<<\EOF
20209 #define wxUSE_STATLINE 1
20216 if test "$wxUSE_STATUSBAR" = "yes"; then
20217 cat >> confdefs.h
<<\EOF
20218 #define wxUSE_STATUSBAR 1
20223 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
20226 if test "$wxUSE_TABDIALOG" = "yes"; then
20227 cat >> confdefs.h
<<\EOF
20228 #define wxUSE_TAB_DIALOG 1
20231 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
20234 if test "$wxUSE_TEXTCTRL" = "yes"; then
20235 cat >> confdefs.h
<<\EOF
20236 #define wxUSE_TEXTCTRL 1
20240 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
20243 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20244 if test "$wxUSE_MAC" = 1; then
20245 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
20248 if test "$wxUSE_UNIVERSAL" = "yes"; then
20249 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
20253 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20254 cat >> confdefs.h
<<\EOF
20255 #define wxUSE_TOGGLEBTN 1
20262 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
20263 cat >> confdefs.h
<<\EOF
20264 #define wxUSE_TOOLBAR_SIMPLE 1
20267 wxUSE_TOOLBAR
="yes"
20271 if test "$wxUSE_TOOLBAR" = "yes"; then
20272 cat >> confdefs.h
<<\EOF
20273 #define wxUSE_TOOLBAR 1
20278 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
20279 wxUSE_TOOLBAR_NATIVE
="yes"
20282 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
20283 cat >> confdefs.h
<<\EOF
20284 #define wxUSE_TOOLBAR_NATIVE 1
20290 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
20293 if test "$wxUSE_TOOLTIPS" = "yes"; then
20294 if test "$wxUSE_MOTIF" = 1; then
20295 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
20297 if test "$wxUSE_WINE" = 1; then
20298 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
20300 if test "$wxUSE_UNIVERSAL" = "yes"; then
20301 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
20303 cat >> confdefs.h
<<\EOF
20304 #define wxUSE_TOOLTIPS 1
20312 if test "$wxUSE_TREECTRL" = "yes"; then
20313 if test "$wxUSE_IMAGLIST" = "yes"; then
20314 cat >> confdefs.h
<<\EOF
20315 #define wxUSE_TREECTRL 1
20319 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
20321 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
20325 if test "$wxUSE_POPUPWIN" = "yes"; then
20326 if test "$wxUSE_MAC" = 1; then
20327 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
20329 if test "$wxUSE_MOTIF" = 1; then
20330 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
20332 if test "$wxUSE_PM" = 1; then
20333 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
20335 cat >> confdefs.h
<<\EOF
20336 #define wxUSE_POPUPWIN 1
20346 if test "$wxUSE_TIPWINDOW" = "yes"; then
20347 if test "$wxUSE_PM" = 1; then
20348 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
20350 cat >> confdefs.h
<<\EOF
20351 #define wxUSE_TIPWINDOW 1
20357 if test "$USES_CONTROLS" = 1; then
20358 cat >> confdefs.h
<<\EOF
20359 #define wxUSE_CONTROLS 1
20365 if test "$wxUSE_TREELAYOUT" = "yes"; then
20366 cat >> confdefs.h
<<\EOF
20367 #define wxUSE_TREELAYOUT 1
20370 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
20373 if test "$wxUSE_DRAGIMAGE" = "yes"; then
20374 cat >> confdefs.h
<<\EOF
20375 #define wxUSE_DRAGIMAGE 1
20378 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
20381 if test "$wxUSE_MENUS" = "yes"; then
20382 cat >> confdefs.h
<<\EOF
20383 #define wxUSE_MENUS 1
20386 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
20389 if test "$wxUSE_METAFILE" = "yes"; then
20390 cat >> confdefs.h
<<\EOF
20391 #define wxUSE_METAFILE 1
20396 if test "$wxUSE_MIMETYPE" = "yes"; then
20397 cat >> confdefs.h
<<\EOF
20398 #define wxUSE_MIMETYPE 1
20403 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
20404 cat >> confdefs.h
<<\EOF
20405 #define wxUSE_SYSTEM_OPTIONS 1
20408 if test "$TOOLKIT" = "MSW"; then
20409 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
20414 if test "$wxUSE_PROTOCOL" = "yes"; then
20415 if test "$wxUSE_SOCKETS" != "yes"; then
20416 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
20420 if test "$wxUSE_PROTOCOL" = "yes"; then
20421 cat >> confdefs.h
<<\EOF
20422 #define wxUSE_PROTOCOL 1
20426 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
20427 cat >> confdefs.h
<<\EOF
20428 #define wxUSE_PROTOCOL_HTTP 1
20432 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
20433 cat >> confdefs.h
<<\EOF
20434 #define wxUSE_PROTOCOL_FTP 1
20438 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
20439 cat >> confdefs.h
<<\EOF
20440 #define wxUSE_PROTOCOL_FILE 1
20447 if test "$wxUSE_URL" = "yes"; then
20448 if test "$wxUSE_PROTOCOL" != "yes"; then
20449 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
20452 if test "$wxUSE_URL" = "yes"; then
20453 cat >> confdefs.h
<<\EOF
20454 #define wxUSE_URL 1
20460 if test "$wxUSE_MINIFRAME" = "yes"; then
20461 cat >> confdefs.h
<<\EOF
20462 #define wxUSE_MINIFRAME 1
20465 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
20468 if test "$wxUSE_HTML" = "yes"; then
20469 cat >> confdefs.h
<<\EOF
20470 #define wxUSE_HTML 1
20473 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
20476 if test "$wxUSE_VALIDATORS" = "yes"; then
20477 cat >> confdefs.h
<<\EOF
20478 #define wxUSE_VALIDATORS 1
20481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
20484 if test "$wxUSE_PALETTE" = "yes" ; then
20485 cat >> confdefs.h
<<\EOF
20486 #define wxUSE_PALETTE 1
20491 if test "$wxUSE_IMAGE" = "yes" ; then
20492 cat >> confdefs.h
<<\EOF
20493 #define wxUSE_IMAGE 1
20498 if test "$wxUSE_GIF" = "yes" ; then
20499 cat >> confdefs.h
<<\EOF
20500 #define wxUSE_GIF 1
20505 if test "$wxUSE_PCX" = "yes" ; then
20506 cat >> confdefs.h
<<\EOF
20507 #define wxUSE_PCX 1
20512 if test "$wxUSE_IFF" = "yes" ; then
20513 cat >> confdefs.h
<<\EOF
20514 #define wxUSE_IFF 1
20519 if test "$wxUSE_PNM" = "yes" ; then
20520 cat >> confdefs.h
<<\EOF
20521 #define wxUSE_PNM 1
20526 if test "$wxUSE_XPM" = "yes" ; then
20527 cat >> confdefs.h
<<\EOF
20528 #define wxUSE_XPM 1
20533 if test "$wxUSE_ICO_CUR" = "yes" ; then
20534 cat >> confdefs.h
<<\EOF
20535 #define wxUSE_ICO_CUR 1
20540 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
20541 LIBS
=" -lunicows $LIBS"
20545 if test "$wxUSE_CHOICEDLG" = "yes"; then
20546 cat >> confdefs.h
<<\EOF
20547 #define wxUSE_CHOICEDLG 1
20552 if test "$wxUSE_COLOURDLG" = "yes"; then
20553 cat >> confdefs.h
<<\EOF
20554 #define wxUSE_COLOURDLG 1
20559 if test "$wxUSE_FILEDLG" = "yes"; then
20560 cat >> confdefs.h
<<\EOF
20561 #define wxUSE_FILEDLG 1
20566 if test "$wxUSE_FINDREPLDLG" = "yes"; then
20567 cat >> confdefs.h
<<\EOF
20568 #define wxUSE_FINDREPLDLG 1
20573 if test "$wxUSE_FONTDLG" = "yes"; then
20574 cat >> confdefs.h
<<\EOF
20575 #define wxUSE_FONTDLG 1
20580 if test "$wxUSE_DIRDLG" = "yes"; then
20581 if test "$wxUSE_TREECTRL" != "yes"; then
20582 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
20584 cat >> confdefs.h
<<\EOF
20585 #define wxUSE_DIRDLG 1
20591 if test "$wxUSE_MSGDLG" = "yes"; then
20592 cat >> confdefs.h
<<\EOF
20593 #define wxUSE_MSGDLG 1
20598 if test "$wxUSE_NUMBERDLG" = "yes"; then
20599 cat >> confdefs.h
<<\EOF
20600 #define wxUSE_NUMBERDLG 1
20605 if test "$wxUSE_PROGRESSDLG" = "yes"; then
20606 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20607 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
20609 cat >> confdefs.h
<<\EOF
20610 #define wxUSE_PROGRESSDLG 1
20616 if test "$wxUSE_SPLASH" = "yes"; then
20617 cat >> confdefs.h
<<\EOF
20618 #define wxUSE_SPLASH 1
20623 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
20624 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20625 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
20627 cat >> confdefs.h
<<\EOF
20628 #define wxUSE_STARTUP_TIPS 1
20634 if test "$wxUSE_TEXTDLG" = "yes"; then
20635 cat >> confdefs.h
<<\EOF
20636 #define wxUSE_TEXTDLG 1
20641 if test "$wxUSE_WIZARDDLG" = "yes"; then
20642 cat >> confdefs.h
<<\EOF
20643 #define wxUSE_WIZARDDLG 1
20646 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
20650 if test "$cross_compiling" = "yes"; then
20653 OSINFO
=`uname -s -r -m`
20654 OSINFO
="\"$OSINFO\""
20657 cat >> confdefs.h
<<EOF
20658 #define WXWIN_OS_DESCRIPTION $OSINFO
20663 if test "x$prefix" != "xNONE"; then
20666 wxPREFIX
=$ac_default_prefix
20669 cat >> confdefs.h
<<EOF
20670 #define wxINSTALL_PREFIX "$wxPREFIX"
20677 if test "$wxUSE_MAC" = 1 ; then
20678 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
20682 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK -lm $LIBS"
20684 if test "$wxUSE_GUI" = "yes"; then
20686 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
20689 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
20690 drawing dynamic erase event exec font image \
20691 minimal richedit rotate widgets"
20693 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
20695 SAMPLES_SUBDIRS
="console"
20699 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
20700 -I\${top_srcdir}/include \
20701 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
20704 if test "$wxUSE_GTK" = 1; then
20707 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
20710 if test "$GXX" = yes ; then
20711 CXXWARNINGS
="-Wall"
20713 if test "$wxUSE_NO_DEPS" = "no" ; then
20714 CFLAGS
="-MMD $CFLAGS"
20715 CXXFLAGS
="-MMD $CXXFLAGS"
20719 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
20721 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
20722 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
20723 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
20725 LDFLAGS
="$LDFLAGS $PROFILE"
20727 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
20817 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
20818 echo "configure:20819: checking whether ${MAKE-make} sets \${MAKE}" >&5
20819 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
20820 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
20821 echo $ac_n "(cached) $ac_c" 1>&6
20823 cat > conftestmake
<<\EOF
20825 @
echo 'ac_maketemp="${MAKE}"'
20827 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20828 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
20829 if test -n "$ac_maketemp"; then
20830 eval ac_cv_prog_make_
${ac_make}_set
=yes
20832 eval ac_cv_prog_make_
${ac_make}_set
=no
20836 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
20837 echo "$ac_t""yes" 1>&6
20840 echo "$ac_t""no" 1>&6
20841 SET_MAKE
="MAKE=${MAKE-make}"
20845 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
20846 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
20851 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
20852 wx_cv_if_gnu_make
=$IF_GNU_MAKE
20853 wx_cv_path_ifs
=$PATH_IFS
20854 wx_cv_program_ext
=$PROGRAM_EXT
20855 wx_cv_target_library
=$WX_TARGET_LIBRARY
20856 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
20857 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
20858 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
20859 wx_cv_path_ifs wx_cv_program_ext \
20860 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
20862 subdirs
="demos samples utils contrib"
20866 cat > confcache
<<\EOF
20867 # This file is a shell script that caches the results of configure
20868 # tests run on this system so they can be shared between configure
20869 # scripts and configure runs. It is not useful on other systems.
20870 # If it contains results you don't want to keep, you may remove or edit it.
20872 # By default, configure uses ./config.cache as the cache file,
20873 # creating it if it does not exist already. You can give configure
20874 # the --cache-file=FILE option to use a different cache file; that is
20875 # what configure does when it calls configure scripts in
20876 # subdirectories, so they share the cache.
20877 # Giving --cache-file=/dev/null disables caching, for debugging configure.
20878 # config.status only pays attention to the cache file if you give it the
20879 # --recheck option to rerun configure.
20882 # The following way of writing the cache mishandles newlines in values,
20883 # but we know of no workaround that is simple, portable, and efficient.
20884 # So, don't put newlines in cache variables' values.
20885 # Ultrix sh set writes to stderr and can't be redirected directly,
20886 # and sets the high bit in the cache file unless we assign to the vars.
20888 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20890 # `set' does not quote correctly, so add quotes (double-quote substitution
20891 # turns \\\\ into \\, and sed turns \\ into \).
20893 -e "s/'/'\\\\''/g" \
20894 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20897 # `set' quotes correctly as required by POSIX, so do not add quotes.
20898 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20901 if cmp -s $cache_file confcache
; then
20904 if test -w $cache_file; then
20905 echo "updating cache $cache_file"
20906 cat confcache
> $cache_file
20908 echo "not updating unwritable cache $cache_file"
20913 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
20915 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20916 # Let make expand exec_prefix.
20917 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20919 # Any assignment to VPATH causes Sun make to only execute
20920 # the first set of double-colon rules, so remove it if not needed.
20921 # If there is a colon in the path, we need to keep it.
20922 if test "x$srcdir" = x.
; then
20923 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
20926 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
20928 DEFS
=-DHAVE_CONFIG_H
20930 # Without the "./", some shells look in PATH for config.status.
20931 : ${CONFIG_STATUS=./config.status}
20933 echo creating
$CONFIG_STATUS
20934 rm -f $CONFIG_STATUS
20935 cat > $CONFIG_STATUS <<EOF
20937 # Generated automatically by configure.
20938 # Run this file to recreate the current configuration.
20939 # This directory was configured as follows,
20940 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20942 # $0 $ac_configure_args
20944 # Compiler output produced by configure, useful for debugging
20945 # configure, is in ./config.log if it exists.
20947 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
20950 case "\$ac_option" in
20951 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20952 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
20953 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
20954 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
20955 echo "$CONFIG_STATUS generated by autoconf version 2.13"
20957 -help | --help | --hel | --he | --h)
20958 echo "\$ac_cs_usage"; exit 0 ;;
20959 *) echo "\$ac_cs_usage"; exit 1 ;;
20963 ac_given_srcdir=$srcdir
20964 ac_given_INSTALL="$INSTALL"
20966 trap 'rm -fr `echo "
20972 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
20974 cat >> $CONFIG_STATUS <<EOF
20976 # Protect against being on the right side of a sed subst in config.status.
20977 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
20978 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
20982 s%@CFLAGS@%$CFLAGS%g
20983 s%@CPPFLAGS@%$CPPFLAGS%g
20984 s%@CXXFLAGS@%$CXXFLAGS%g
20985 s%@FFLAGS@%$FFLAGS%g
20987 s%@LDFLAGS@%$LDFLAGS%g
20989 s%@exec_prefix@%$exec_prefix%g
20990 s%@prefix@%$prefix%g
20991 s%@program_transform_name@%$program_transform_name%g
20992 s%@bindir@%$bindir%g
20993 s%@sbindir@%$sbindir%g
20994 s%@libexecdir@%$libexecdir%g
20995 s%@datadir@%$datadir%g
20996 s%@sysconfdir@%$sysconfdir%g
20997 s%@sharedstatedir@%$sharedstatedir%g
20998 s%@localstatedir@%$localstatedir%g
20999 s%@libdir@%$libdir%g
21000 s%@includedir@%$includedir%g
21001 s%@oldincludedir@%$oldincludedir%g
21002 s%@infodir@%$infodir%g
21003 s%@mandir@%$mandir%g
21005 s%@host_alias@%$host_alias%g
21006 s%@host_cpu@%$host_cpu%g
21007 s%@host_vendor@%$host_vendor%g
21008 s%@host_os@%$host_os%g
21009 s%@target@%$target%g
21010 s%@target_alias@%$target_alias%g
21011 s%@target_cpu@%$target_cpu%g
21012 s%@target_vendor@%$target_vendor%g
21013 s%@target_os@%$target_os%g
21015 s%@build_alias@%$build_alias%g
21016 s%@build_cpu@%$build_cpu%g
21017 s%@build_vendor@%$build_vendor%g
21018 s%@build_os@%$build_os%g
21022 s%@RANLIB@%$RANLIB%g
21024 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
21025 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
21026 s%@INSTALL_DATA@%$INSTALL_DATA%g
21028 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
21031 s%@LEXLIB@%$LEXLIB%g
21033 s%@CXXCPP@%$CXXCPP%g
21034 s%@PKG_CONFIG@%$PKG_CONFIG%g
21035 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
21036 s%@GTK_LIBS@%$GTK_LIBS%g
21037 s%@GTK_CONFIG@%$GTK_CONFIG%g
21038 s%@X_CFLAGS@%$X_CFLAGS%g
21039 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
21040 s%@X_LIBS@%$X_LIBS%g
21041 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
21042 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
21043 s%@RESCOMP@%$RESCOMP%g
21045 s%@LIBICONV@%$LIBICONV%g
21046 s%@LEX_STEM@%$LEX_STEM%g
21047 s%@PATH_IFS@%$PATH_IFS%g
21048 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
21049 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
21050 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
21051 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
21052 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
21053 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
21054 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
21055 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
21056 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
21057 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
21058 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
21059 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
21060 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
21061 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
21062 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
21063 s%@WX_ALL@%$WX_ALL%g
21064 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
21065 s%@SHARED_LD@%$SHARED_LD%g
21066 s%@PIC_FLAG@%$PIC_FLAG%g
21067 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
21068 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
21069 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
21070 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
21071 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
21072 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
21073 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
21074 s%@USE_GUI@%$USE_GUI%g
21075 s%@AFMINSTALL@%$AFMINSTALL%g
21076 s%@TOOLKIT@%$TOOLKIT%g
21077 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
21078 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
21079 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
21080 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
21081 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
21082 s%@cross_compiling@%$cross_compiling%g
21083 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
21084 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
21085 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
21086 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
21087 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
21088 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
21089 s%@ALL_HEADERS@%$ALL_HEADERS%g
21090 s%@ALL_SOURCES@%$ALL_SOURCES%g
21091 s%@GUIDIST@%$GUIDIST%g
21092 s%@PORT_FILES@%$PORT_FILES%g
21093 s%@DISTDIR@%$DISTDIR%g
21094 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
21095 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
21096 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
21097 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
21098 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
21099 s%@EXTRADEFS@%$EXTRADEFS%g
21100 s%@RESFLAGS@%$RESFLAGS%g
21101 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
21102 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
21103 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
21104 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
21105 s%@LIBWXMACRES@%$LIBWXMACRES%g
21106 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
21107 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
21108 s%@DLLTOOL@%$DLLTOOL%g
21112 s%@MAKEINFO@%$MAKEINFO%g
21113 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
21114 s%@SET_MAKE@%$SET_MAKE%g
21115 s%@subdirs@%$subdirs%g
21120 cat >> $CONFIG_STATUS <<\EOF
21122 # Split the substitutions into bite-sized pieces for seds with
21123 # small command number limits, like on Digital OSF/1 and HP-UX.
21124 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
21125 ac_file
=1 # Number of current file.
21126 ac_beg
=1 # First line for current file.
21127 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
21130 while $ac_more_lines; do
21131 if test $ac_beg -gt 1; then
21132 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
21134 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
21136 if test ! -s conftest.s
$ac_file; then
21137 ac_more_lines
=false
21138 rm -f conftest.s
$ac_file
21140 if test -z "$ac_sed_cmds"; then
21141 ac_sed_cmds
="sed -f conftest.s$ac_file"
21143 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
21145 ac_file
=`expr $ac_file + 1`
21147 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
21150 if test -z "$ac_sed_cmds"; then
21155 cat >> $CONFIG_STATUS <<EOF
21157 CONFIG_FILES=\${CONFIG_FILES-"wx-config
21164 cat >> $CONFIG_STATUS <<\EOF
21165 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
21166 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21168 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
21169 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21170 *) ac_file_in
="${ac_file}.in" ;;
21173 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
21175 # Remove last slash and all that follows it. Not all systems have dirname.
21176 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21177 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
21178 # The file is in a subdirectory.
21179 test ! -d "$ac_dir" && mkdir "$ac_dir"
21180 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
21181 # A "../" for each directory in $ac_dir_suffix.
21182 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
21184 ac_dir_suffix
= ac_dots
=
21187 case "$ac_given_srcdir" in
21189 if test -z "$ac_dots"; then top_srcdir
=.
21190 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
21191 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
21192 *) # Relative path.
21193 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
21194 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
21197 case "$ac_given_INSTALL" in
21198 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
21199 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
21202 echo creating
"$ac_file"
21204 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
21206 *Makefile
*) ac_comsub
="1i\\
21207 # $configure_input" ;;
21211 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21213 s%@configure_input@%$configure_input%g
21214 s%@srcdir@%$srcdir%g
21215 s%@top_srcdir@%$top_srcdir%g
21216 s%@INSTALL@%$INSTALL%g
21217 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
21221 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21222 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21224 # ac_d sets the value in "#define NAME VALUE" lines.
21225 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21226 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
21229 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
21230 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21231 ac_uB
='\([ ]\)%\1#\2define\3'
21234 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21235 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21236 ac_eB
='$%\1#\2define\3'
21240 if test "${CONFIG_HEADERS+set}" != set; then
21242 cat >> $CONFIG_STATUS <<EOF
21243 CONFIG_HEADERS="setup.h:setup.h.in"
21245 cat >> $CONFIG_STATUS <<\EOF
21247 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
21248 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21250 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
21251 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21252 *) ac_file_in
="${ac_file}.in" ;;
21255 echo creating
$ac_file
21257 rm -f conftest.frag conftest.
in conftest.out
21258 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21259 cat $ac_file_inputs > conftest.
in
21263 # Transform confdefs.h into a sed script conftest.vals that substitutes
21264 # the proper values into config.h.in to produce config.h. And first:
21265 # Protect against being on the right side of a sed subst in config.status.
21266 # Protect against being in an unquoted here document in config.status.
21267 rm -f conftest.vals
21268 cat > conftest.hdr
<<\EOF
21271 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
21275 sed -n -f conftest.hdr confdefs.h > conftest.vals
21278 # This sed command replaces #undef with comments. This is necessary, for
21279 # example, in the case of _POSIX_SOURCE, which is predefined and required
21280 # on some systems where configure will not decide to define it.
21281 cat >> conftest.vals <<\EOF
21282 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
21285 # Break up conftest.vals because some shells have a limit on
21286 # the size of here documents, and old seds have small limits too.
21288 rm -f conftest.tail
21291 ac_lines=`grep -c . conftest.vals
`
21292 # grep -c gives empty output for an empty file on some AIX systems.
21293 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
21294 # Write a limited-size here document to conftest.frag.
21295 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
21296 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
21298 sed -f conftest.frag conftest.in > conftest.out
21300 mv conftest.out conftest.in
21301 ' >> $CONFIG_STATUS
21302 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
21303 rm -f conftest.vals
21304 mv conftest.tail conftest.vals
21306 rm -f conftest.vals
21308 cat >> $CONFIG_STATUS <<\EOF
21309 rm -f conftest.frag conftest.h
21310 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
21311 cat conftest.in >> conftest.h
21313 if cmp -s $ac_file conftest.h 2>/dev/null; then
21314 echo "$ac_file is unchanged"
21317 # Remove last slash and all that follows it. Not all systems have dirname.
21318 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21319 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21320 # The file is in a subdirectory.
21321 test ! -d "$ac_dir" && mkdir "$ac_dir"
21324 mv conftest.h $ac_file
21329 cat >> $CONFIG_STATUS <<EOF
21331 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
21336 cat >> $CONFIG_STATUS <<\EOF
21338 if test ! -h wx-config; then
21340 mv wx-config wx${TOOLCHAIN_NAME}-config
21341 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
21344 if test ! -d lib; then
21347 if test ! -d lib/wx; then
21350 if test ! -d lib/wx/include; then
21351 mkdir lib/wx/include
21353 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
21354 mkdir lib/wx/include/${TOOLCHAIN_NAME}
21356 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
21357 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
21359 if test -f setup.h; then
21360 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
21365 chmod +x $CONFIG_STATUS
21366 rm -fr confdefs* $ac_clean_files
21367 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21369 if test "$no_recursion" != yes; then
21371 # Remove --cache-file and --srcdir arguments so they do not pile up.
21372 ac_sub_configure_args=
21374 for ac_arg in $ac_configure_args; do
21375 if test -n "$ac_prev"; then
21380 -cache-file | --cache-file | --cache-fil | --cache-fi \
21381 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
21382 ac_prev=cache_file ;;
21383 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
21384 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
21386 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
21388 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
21390 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
21394 for ac_config_dir in demos samples utils contrib; do
21396 # Do not complain, so a configure script can configure whichever
21397 # parts of a large source tree are present.
21398 if test ! -d $srcdir/$ac_config_dir; then
21402 echo configuring in $ac_config_dir
21407 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
21409 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
21417 # A "../" for each directory in /$ac_config_dir.
21418 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
21421 .) # No --srcdir option. We are building in place.
21422 ac_sub_srcdir=$srcdir ;;
21423 /*) # Absolute path.
21424 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
21425 *) # Relative path.
21426 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
21429 # Check for guested configure; otherwise get Cygnus style configure.
21430 if test -f $ac_sub_srcdir/configure; then
21431 ac_sub_configure=$ac_sub_srcdir/configure
21432 elif test -f $ac_sub_srcdir/configure.in; then
21433 ac_sub_configure=$ac_configure
21435 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
21439 # The recursion is here.
21440 if test -n "$ac_sub_configure"; then
21442 # Make the cache file name correct relative to the subdirectory.
21443 case "$cache_file" in
21444 /*) ac_sub_cache_file=$cache_file ;;
21445 *) # Relative path.
21446 ac_sub_cache_file="$ac_dots$cache_file" ;;
21448 case "$ac_given_INSTALL" in
21449 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21450 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21453 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
21454 # The eval makes quoting arguments work.
21455 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
21458 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }