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 cat >> confdefs.h
<<\EOF
1321 cat >> confdefs.h
<<\EOF
1325 cat >> confdefs.h
<<\EOF
1326 #define __WINDOWS__ 1
1329 cat >> confdefs.h
<<\EOF
1330 #define __GNUWIN32__ 1
1333 cat >> confdefs.h
<<\EOF
1337 cat >> confdefs.h
<<\EOF
1338 #define WINVER 0x0400
1343 DEFAULT_DEFAULT_wxUSE_MSW
=1
1349 cat >> confdefs.h
<<\EOF
1354 DEFAULT_DEFAULT_wxUSE_MGL
=1
1357 *-pc-os2_emx | *-pc-os2-emx )
1358 cat >> confdefs.h
<<\EOF
1363 DEFAULT_DEFAULT_wxUSE_PM
=1
1364 LIBS
="$LIBS -lstdcpp"
1371 cat >> confdefs.h
<<\EOF
1375 cat >> confdefs.h
<<\EOF
1376 #define __DARWIN__ 1
1379 cat >> confdefs.h
<<\EOF
1380 #define __POWERPC__ 1
1383 DEFAULT_DEFAULT_wxUSE_MAC
=1
1388 cat >> confdefs.h
<<\EOF
1395 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1398 if test "$USE_UNIX" = 1 ; then
1400 cat >> confdefs.h
<<\EOF
1409 wx_arg_cache_file
="configarg.cache"
1410 echo "loading argument cache $wx_arg_cache_file"
1411 rm -f ${wx_arg_cache_file}.tmp
1412 touch ${wx_arg_cache_file}.tmp
1413 touch ${wx_arg_cache_file}
1417 if test $DEBUG_CONFIGURE = 1; then
1418 DEFAULT_wxUSE_UNIVERSAL
=no
1420 DEFAULT_wxUSE_NANOX
=no
1422 DEFAULT_wxUSE_THREADS
=yes
1424 DEFAULT_wxUSE_SHARED
=yes
1425 DEFAULT_wxUSE_SONAME
=no
1426 DEFAULT_wxUSE_OPTIMISE
=no
1427 DEFAULT_wxUSE_PROFILE
=no
1428 DEFAULT_wxUSE_NO_DEPS
=no
1429 DEFAULT_wxUSE_NO_RTTI
=no
1430 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1431 DEFAULT_wxUSE_PERMISSIVE
=no
1432 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1433 DEFAULT_wxUSE_DEBUG_INFO
=yes
1434 DEFAULT_wxUSE_DEBUG_GDB
=yes
1435 DEFAULT_wxUSE_MEM_TRACING
=no
1436 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1437 DEFAULT_wxUSE_DMALLOC
=no
1438 DEFAULT_wxUSE_PRECOMP
=no
1439 DEFAULT_wxUSE_APPLE_IEEE
=no
1441 DEFAULT_wxUSE_LOG
=yes
1442 DEFAULT_wxUSE_LOGWINDOW
=no
1443 DEFAULT_wxUSE_LOGGUI
=no
1444 DEFAULT_wxUSE_LOGDIALOG
=no
1446 DEFAULT_wxUSE_GUI
=yes
1447 DEFAULT_wxUSE_CONTROLS
=no
1449 DEFAULT_wxUSE_REGEX
=no
1450 DEFAULT_wxUSE_ZLIB
=no
1451 DEFAULT_wxUSE_LIBPNG
=no
1452 DEFAULT_wxUSE_LIBJPEG
=no
1453 DEFAULT_wxUSE_LIBTIFF
=no
1454 DEFAULT_wxUSE_ODBC
=no
1455 DEFAULT_wxUSE_OPENGL
=no
1457 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1458 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1459 DEFAULT_wxUSE_STD_IOSTREAM
=no
1460 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1461 DEFAULT_wxUSE_DATETIME
=no
1462 DEFAULT_wxUSE_TIMEDATE
=no
1463 DEFAULT_wxUSE_TIMER
=no
1464 DEFAULT_wxUSE_STOPWATCH
=no
1465 DEFAULT_wxUSE_FILE
=no
1466 DEFAULT_wxUSE_FFILE
=no
1467 DEFAULT_wxUSE_TEXTBUFFER
=no
1468 DEFAULT_wxUSE_TEXTFILE
=no
1469 DEFAULT_wxUSE_WAVE
=no
1470 DEFAULT_wxUSE_INTL
=no
1471 DEFAULT_wxUSE_CONFIG
=no
1472 DEFAULT_wxUSE_FONTMAP
=no
1473 DEFAULT_wxUSE_STREAMS
=no
1474 DEFAULT_wxUSE_SOCKETS
=no
1475 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1476 DEFAULT_wxUSE_JOYSTICK
=no
1477 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1478 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1479 DEFAULT_wxUSE_LONGLONG
=no
1480 DEFAULT_wxUSE_GEOMETRY
=no
1482 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1483 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1484 DEFAULT_wxUSE_POSTSCRIPT
=no
1486 DEFAULT_wxUSE_X_RESOURCES
=no
1487 DEFAULT_wxUSE_CLIPBOARD
=no
1488 DEFAULT_wxUSE_TOOLTIPS
=no
1489 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1490 DEFAULT_wxUSE_DRAGIMAGE
=no
1491 DEFAULT_wxUSE_SPLINES
=no
1493 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1494 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1495 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1497 DEFAULT_wxUSE_PROLOGIO
=no
1498 DEFAULT_wxUSE_RESOURCES
=no
1499 DEFAULT_wxUSE_CONSTRAINTS
=no
1500 DEFAULT_wxUSE_IPC
=no
1501 DEFAULT_wxUSE_HELP
=no
1502 DEFAULT_wxUSE_MS_HTML_HELP
=no
1503 DEFAULT_wxUSE_WXHTML_HELP
=no
1504 DEFAULT_wxUSE_TREELAYOUT
=no
1505 DEFAULT_wxUSE_METAFILE
=no
1506 DEFAULT_wxUSE_MIMETYPE
=no
1507 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1508 DEFAULT_wxUSE_PROTOCOL
=no
1509 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1510 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1511 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1512 DEFAULT_wxUSE_URL
=no
1514 DEFAULT_wxUSE_COMMONDLGS
=no
1515 DEFAULT_wxUSE_CHOICEDLG
=no
1516 DEFAULT_wxUSE_COLOURDLG
=no
1517 DEFAULT_wxUSE_DIRDLG
=no
1518 DEFAULT_wxUSE_FILEDLG
=no
1519 DEFAULT_wxUSE_FINDREPLDLG
=no
1520 DEFAULT_wxUSE_FONTDLG
=no
1521 DEFAULT_wxUSE_MSGDLG
=no
1522 DEFAULT_wxUSE_NUMBERDLG
=no
1523 DEFAULT_wxUSE_TEXTDLG
=no
1524 DEFAULT_wxUSE_SPLASH
=no
1525 DEFAULT_wxUSE_STARTUP_TIPS
=no
1526 DEFAULT_wxUSE_PROGRESSDLG
=no
1527 DEFAULT_wxUSE_WIZARDDLG
=no
1529 DEFAULT_wxUSE_MENUS
=no
1530 DEFAULT_wxUSE_MINIFRAME
=no
1531 DEFAULT_wxUSE_HTML
=no
1532 DEFAULT_wxUSE_FILESYSTEM
=no
1533 DEFAULT_wxUSE_FS_INET
=no
1534 DEFAULT_wxUSE_FS_ZIP
=no
1535 DEFAULT_wxUSE_BUSYINFO
=no
1536 DEFAULT_wxUSE_ZIPSTREAM
=no
1537 DEFAULT_wxUSE_VALIDATORS
=no
1539 DEFAULT_wxUSE_ACCEL
=no
1540 DEFAULT_wxUSE_BUTTON
=no
1541 DEFAULT_wxUSE_BMPBUTTON
=no
1542 DEFAULT_wxUSE_CALCTRL
=no
1543 DEFAULT_wxUSE_CARET
=no
1544 DEFAULT_wxUSE_CHECKBOX
=no
1545 DEFAULT_wxUSE_CHECKLST
=no
1546 DEFAULT_wxUSE_CHOICE
=no
1547 DEFAULT_wxUSE_COMBOBOX
=no
1548 DEFAULT_wxUSE_GAUGE
=no
1549 DEFAULT_wxUSE_GRID
=no
1550 DEFAULT_wxUSE_NEW_GRID
=no
1551 DEFAULT_wxUSE_IMAGLIST
=no
1552 DEFAULT_wxUSE_LISTBOX
=no
1553 DEFAULT_wxUSE_LISTCTRL
=no
1554 DEFAULT_wxUSE_NOTEBOOK
=no
1555 DEFAULT_wxUSE_PROPSHEET
=no
1556 DEFAULT_wxUSE_RADIOBOX
=no
1557 DEFAULT_wxUSE_RADIOBTN
=no
1558 DEFAULT_wxUSE_SASH
=no
1559 DEFAULT_wxUSE_SCROLLBAR
=no
1560 DEFAULT_wxUSE_SLIDER
=no
1561 DEFAULT_wxUSE_SPINBTN
=no
1562 DEFAULT_wxUSE_SPINCTRL
=no
1563 DEFAULT_wxUSE_SPLITTER
=no
1564 DEFAULT_wxUSE_STATBMP
=no
1565 DEFAULT_wxUSE_STATBOX
=no
1566 DEFAULT_wxUSE_STATLINE
=no
1567 DEFAULT_wxUSE_STATTEXT
=no
1568 DEFAULT_wxUSE_STATUSBAR
=yes
1569 DEFAULT_wxUSE_TABDIALOG
=no
1570 DEFAULT_wxUSE_TEXTCTRL
=no
1571 DEFAULT_wxUSE_TOGGLEBTN
=no
1572 DEFAULT_wxUSE_TOOLBAR
=no
1573 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1574 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1575 DEFAULT_wxUSE_TREECTRL
=no
1576 DEFAULT_wxUSE_POPUPWIN
=no
1577 DEFAULT_wxUSE_TIPWINDOW
=no
1579 DEFAULT_wxUSE_UNICODE
=no
1580 DEFAULT_wxUSE_UNICODE_MSLU
=no
1581 DEFAULT_wxUSE_WCSRTOMBS
=no
1583 DEFAULT_wxUSE_PALETTE
=no
1584 DEFAULT_wxUSE_IMAGE
=no
1585 DEFAULT_wxUSE_GIF
=no
1586 DEFAULT_wxUSE_PCX
=no
1587 DEFAULT_wxUSE_PNM
=no
1588 DEFAULT_wxUSE_IFF
=no
1589 DEFAULT_wxUSE_XPM
=no
1590 DEFAULT_wxUSE_ICO_CUR
=no
1592 DEFAULT_wxUSE_UNIVERSAL
=no
1594 DEFAULT_wxUSE_NANOX
=no
1596 DEFAULT_wxUSE_THREADS
=yes
1598 DEFAULT_wxUSE_SHARED
=yes
1599 DEFAULT_wxUSE_SONAME
=no
1600 DEFAULT_wxUSE_OPTIMISE
=yes
1601 DEFAULT_wxUSE_PROFILE
=no
1602 DEFAULT_wxUSE_NO_DEPS
=no
1603 DEFAULT_wxUSE_NO_RTTI
=no
1604 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1605 DEFAULT_wxUSE_PERMISSIVE
=no
1606 DEFAULT_wxUSE_DEBUG_FLAG
=no
1607 DEFAULT_wxUSE_DEBUG_INFO
=no
1608 DEFAULT_wxUSE_DEBUG_GDB
=no
1609 DEFAULT_wxUSE_MEM_TRACING
=no
1610 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1611 DEFAULT_wxUSE_DMALLOC
=no
1612 DEFAULT_wxUSE_PRECOMP
=no
1613 DEFAULT_wxUSE_APPLE_IEEE
=yes
1615 DEFAULT_wxUSE_LOG
=yes
1616 DEFAULT_wxUSE_LOGWINDOW
=yes
1617 DEFAULT_wxUSE_LOGGUI
=yes
1618 DEFAULT_wxUSE_LOGDIALOG
=yes
1620 DEFAULT_wxUSE_GUI
=yes
1622 DEFAULT_wxUSE_REGEX
=yes
1623 DEFAULT_wxUSE_ZLIB
=yes
1624 DEFAULT_wxUSE_LIBPNG
=yes
1625 DEFAULT_wxUSE_LIBJPEG
=yes
1626 DEFAULT_wxUSE_LIBTIFF
=yes
1627 DEFAULT_wxUSE_ODBC
=no
1628 DEFAULT_wxUSE_OPENGL
=no
1630 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1631 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1632 DEFAULT_wxUSE_STD_IOSTREAM
=no
1633 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1634 DEFAULT_wxUSE_DATETIME
=yes
1635 DEFAULT_wxUSE_TIMEDATE
=no
1636 DEFAULT_wxUSE_TIMER
=yes
1637 DEFAULT_wxUSE_STOPWATCH
=yes
1638 DEFAULT_wxUSE_FILE
=yes
1639 DEFAULT_wxUSE_FFILE
=yes
1640 DEFAULT_wxUSE_TEXTBUFFER
=yes
1641 DEFAULT_wxUSE_TEXTFILE
=yes
1642 DEFAULT_wxUSE_WAVE
=no
1643 DEFAULT_wxUSE_INTL
=yes
1644 DEFAULT_wxUSE_CONFIG
=yes
1645 DEFAULT_wxUSE_FONTMAP
=yes
1646 DEFAULT_wxUSE_STREAMS
=yes
1647 DEFAULT_wxUSE_SOCKETS
=yes
1648 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1649 DEFAULT_wxUSE_JOYSTICK
=yes
1650 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1651 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1652 DEFAULT_wxUSE_LONGLONG
=yes
1653 DEFAULT_wxUSE_GEOMETRY
=yes
1655 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1656 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1657 DEFAULT_wxUSE_POSTSCRIPT
=yes
1659 DEFAULT_wxUSE_X_RESOURCES
=no
1660 DEFAULT_wxUSE_CLIPBOARD
=yes
1661 DEFAULT_wxUSE_TOOLTIPS
=yes
1662 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1663 DEFAULT_wxUSE_DRAGIMAGE
=yes
1664 DEFAULT_wxUSE_SPLINES
=yes
1666 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1667 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1668 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1670 DEFAULT_wxUSE_PROLOGIO
=yes
1671 DEFAULT_wxUSE_RESOURCES
=yes
1672 DEFAULT_wxUSE_CONSTRAINTS
=yes
1673 DEFAULT_wxUSE_IPC
=yes
1674 DEFAULT_wxUSE_HELP
=yes
1675 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1676 DEFAULT_wxUSE_WXHTML_HELP
=yes
1677 DEFAULT_wxUSE_TREELAYOUT
=yes
1678 DEFAULT_wxUSE_METAFILE
=yes
1679 DEFAULT_wxUSE_MIMETYPE
=yes
1680 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1681 DEFAULT_wxUSE_PROTOCOL
=yes
1682 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1683 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1684 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1685 DEFAULT_wxUSE_URL
=yes
1687 DEFAULT_wxUSE_COMMONDLGS
=yes
1688 DEFAULT_wxUSE_CHOICEDLG
=yes
1689 DEFAULT_wxUSE_COLOURDLG
=yes
1690 DEFAULT_wxUSE_DIRDLG
=yes
1691 DEFAULT_wxUSE_FILEDLG
=yes
1692 DEFAULT_wxUSE_FINDREPLDLG
=yes
1693 DEFAULT_wxUSE_FONTDLG
=yes
1694 DEFAULT_wxUSE_MSGDLG
=yes
1695 DEFAULT_wxUSE_NUMBERDLG
=yes
1696 DEFAULT_wxUSE_TEXTDLG
=yes
1697 DEFAULT_wxUSE_SPLASH
=yes
1698 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1699 DEFAULT_wxUSE_PROGRESSDLG
=yes
1700 DEFAULT_wxUSE_WIZARDDLG
=yes
1702 DEFAULT_wxUSE_MENUS
=yes
1703 DEFAULT_wxUSE_MINIFRAME
=yes
1704 DEFAULT_wxUSE_HTML
=yes
1705 DEFAULT_wxUSE_FILESYSTEM
=yes
1706 DEFAULT_wxUSE_FS_INET
=yes
1707 DEFAULT_wxUSE_FS_ZIP
=yes
1708 DEFAULT_wxUSE_BUSYINFO
=yes
1709 DEFAULT_wxUSE_ZIPSTREAM
=yes
1710 DEFAULT_wxUSE_VALIDATORS
=yes
1712 DEFAULT_wxUSE_ACCEL
=yes
1713 DEFAULT_wxUSE_BUTTON
=yes
1714 DEFAULT_wxUSE_BMPBUTTON
=yes
1715 DEFAULT_wxUSE_CALCTRL
=yes
1716 DEFAULT_wxUSE_CARET
=yes
1717 DEFAULT_wxUSE_CHECKBOX
=yes
1718 DEFAULT_wxUSE_CHECKLST
=yes
1719 DEFAULT_wxUSE_CHOICE
=yes
1720 DEFAULT_wxUSE_COMBOBOX
=yes
1721 DEFAULT_wxUSE_GAUGE
=yes
1722 DEFAULT_wxUSE_GRID
=yes
1723 DEFAULT_wxUSE_NEW_GRID
=yes
1724 DEFAULT_wxUSE_IMAGLIST
=yes
1725 DEFAULT_wxUSE_LISTBOX
=yes
1726 DEFAULT_wxUSE_LISTCTRL
=yes
1727 DEFAULT_wxUSE_NOTEBOOK
=yes
1728 DEFAULT_wxUSE_PROPSHEET
=yes
1729 DEFAULT_wxUSE_RADIOBOX
=yes
1730 DEFAULT_wxUSE_RADIOBTN
=yes
1731 DEFAULT_wxUSE_SASH
=yes
1732 DEFAULT_wxUSE_SCROLLBAR
=yes
1733 DEFAULT_wxUSE_SLIDER
=yes
1734 DEFAULT_wxUSE_SPINBTN
=yes
1735 DEFAULT_wxUSE_SPINCTRL
=yes
1736 DEFAULT_wxUSE_SPLITTER
=yes
1737 DEFAULT_wxUSE_STATBMP
=yes
1738 DEFAULT_wxUSE_STATBOX
=yes
1739 DEFAULT_wxUSE_STATLINE
=yes
1740 DEFAULT_wxUSE_STATTEXT
=yes
1741 DEFAULT_wxUSE_STATUSBAR
=yes
1742 DEFAULT_wxUSE_TABDIALOG
=no
1743 DEFAULT_wxUSE_TEXTCTRL
=yes
1744 DEFAULT_wxUSE_TOGGLEBTN
=yes
1745 DEFAULT_wxUSE_TOOLBAR
=yes
1746 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1747 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1748 DEFAULT_wxUSE_TREECTRL
=yes
1749 DEFAULT_wxUSE_POPUPWIN
=yes
1750 DEFAULT_wxUSE_TIPWINDOW
=yes
1752 DEFAULT_wxUSE_UNICODE
=no
1753 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1754 DEFAULT_wxUSE_WCSRTOMBS
=no
1756 DEFAULT_wxUSE_PALETTE
=yes
1757 DEFAULT_wxUSE_IMAGE
=yes
1758 DEFAULT_wxUSE_GIF
=yes
1759 DEFAULT_wxUSE_PCX
=yes
1760 DEFAULT_wxUSE_IFF
=no
1761 DEFAULT_wxUSE_PNM
=yes
1762 DEFAULT_wxUSE_XPM
=yes
1763 DEFAULT_wxUSE_ICO_CUR
=yes
1768 for toolkit
in `echo $ALL_TOOLKITS`; do
1769 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1770 if test "x$LINE" != x
; then
1771 has_toolkit_in_cache
=1
1772 eval "DEFAULT_$LINE"
1773 eval "CACHE_$toolkit=1"
1779 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1780 echo "configure:1781: checking for --enable-gui" >&5
1782 # Check whether --enable-gui or --disable-gui was given.
1783 if test "${enable_gui+set}" = set; then
1784 enableval
="$enable_gui"
1786 if test "$enableval" = yes; then
1787 ac_cv_use_gui
='wxUSE_GUI=yes'
1789 ac_cv_use_gui
='wxUSE_GUI=no'
1794 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1795 if test "x$LINE" != x
; then
1796 eval "DEFAULT_$LINE"
1801 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1806 eval "$ac_cv_use_gui"
1807 if test "$no_cache" != 1; then
1808 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1811 if test "$wxUSE_GUI" = yes; then
1812 echo "$ac_t""yes" 1>&6
1814 echo "$ac_t""no" 1>&6
1818 if test "$wxUSE_GUI" = "yes"; then
1821 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1822 echo "configure:1823: checking for --enable-universal" >&5
1824 # Check whether --enable-universal or --disable-universal was given.
1825 if test "${enable_universal+set}" = set; then
1826 enableval
="$enable_universal"
1828 if test "$enableval" = yes; then
1829 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1831 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1836 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1837 if test "x$LINE" != x
; then
1838 eval "DEFAULT_$LINE"
1843 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1848 eval "$ac_cv_use_universal"
1849 if test "$no_cache" != 1; then
1850 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1853 if test "$wxUSE_UNIVERSAL" = yes; then
1854 echo "$ac_t""yes" 1>&6
1856 echo "$ac_t""no" 1>&6
1859 # Check whether --with-gtk or --without-gtk was given.
1860 if test "${with_gtk+set}" = set; then
1862 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1865 # Check whether --with-motif or --without-motif was given.
1866 if test "${with_motif+set}" = set; then
1867 withval
="$with_motif"
1868 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1871 # Check whether --with-mac or --without-mac was given.
1872 if test "${with_mac+set}" = set; then
1874 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1877 # Check whether --with-wine or --without-wine was given.
1878 if test "${with_wine+set}" = set; then
1879 withval
="$with_wine"
1880 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1883 # Check whether --with-msw or --without-msw was given.
1884 if test "${with_msw+set}" = set; then
1886 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1889 # Check whether --with-pm or --without-pm was given.
1890 if test "${with_pm+set}" = set; then
1892 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1895 # Check whether --with-mgl or --without-mgl was given.
1896 if test "${with_mgl+set}" = set; then
1898 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1901 # Check whether --with-microwin or --without-microwin was given.
1902 if test "${with_microwin+set}" = set; then
1903 withval
="$with_microwin"
1904 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1907 # Check whether --with-x11 or --without-x11 was given.
1908 if test "${with_x11+set}" = set; then
1910 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1914 echo $ac_n "checking for --enable-nanox""... $ac_c" 1>&6
1915 echo "configure:1916: checking for --enable-nanox" >&5
1917 # Check whether --enable-nanox or --disable-nanox was given.
1918 if test "${enable_nanox+set}" = set; then
1919 enableval
="$enable_nanox"
1921 if test "$enableval" = yes; then
1922 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1924 ac_cv_use_nanox
='wxUSE_NANOX=no'
1929 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1930 if test "x$LINE" != x
; then
1931 eval "DEFAULT_$LINE"
1936 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1941 eval "$ac_cv_use_nanox"
1942 if test "$no_cache" != 1; then
1943 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1946 if test "$wxUSE_NANOX" = yes; then
1947 echo "$ac_t""yes" 1>&6
1949 echo "$ac_t""no" 1>&6
1953 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1954 if test "${enable_gtk2+set}" = set; then
1955 enableval
="$enable_gtk2"
1963 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1964 echo "configure:1965: checking for --with-libpng" >&5
1966 # Check whether --with-libpng or --without-libpng was given.
1967 if test "${with_libpng+set}" = set; then
1968 withval
="$with_libpng"
1970 if test "$withval" = yes; then
1971 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1972 elif test "$withval" = no
; then
1973 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1974 elif test "$withval" = sys
; then
1975 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1976 elif test "$withval" = builtin; then
1977 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1979 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1984 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1985 if test "x$LINE" != x
; then
1986 eval "DEFAULT_$LINE"
1991 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1996 eval "$ac_cv_use_libpng"
1997 if test "$no_cache" != 1; then
1998 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2001 if test "$wxUSE_LIBPNG" = yes; then
2002 echo "$ac_t""yes" 1>&6
2003 elif test "$wxUSE_LIBPNG" = no
; then
2004 echo "$ac_t""no" 1>&6
2005 elif test "$wxUSE_LIBPNG" = sys
; then
2006 echo "$ac_t""system version" 1>&6
2007 elif test "$wxUSE_LIBPNG" = builtin; then
2008 echo "$ac_t""builtin version" 1>&6
2010 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2014 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2015 echo "configure:2016: checking for --with-libjpeg" >&5
2017 # Check whether --with-libjpeg or --without-libjpeg was given.
2018 if test "${with_libjpeg+set}" = set; then
2019 withval
="$with_libjpeg"
2021 if test "$withval" = yes; then
2022 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2023 elif test "$withval" = no
; then
2024 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2025 elif test "$withval" = sys
; then
2026 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2027 elif test "$withval" = builtin; then
2028 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2030 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2035 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2036 if test "x$LINE" != x
; then
2037 eval "DEFAULT_$LINE"
2042 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2047 eval "$ac_cv_use_libjpeg"
2048 if test "$no_cache" != 1; then
2049 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2052 if test "$wxUSE_LIBJPEG" = yes; then
2053 echo "$ac_t""yes" 1>&6
2054 elif test "$wxUSE_LIBJPEG" = no
; then
2055 echo "$ac_t""no" 1>&6
2056 elif test "$wxUSE_LIBJPEG" = sys
; then
2057 echo "$ac_t""system version" 1>&6
2058 elif test "$wxUSE_LIBJPEG" = builtin; then
2059 echo "$ac_t""builtin version" 1>&6
2061 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2065 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2066 echo "configure:2067: checking for --with-libtiff" >&5
2068 # Check whether --with-libtiff or --without-libtiff was given.
2069 if test "${with_libtiff+set}" = set; then
2070 withval
="$with_libtiff"
2072 if test "$withval" = yes; then
2073 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2074 elif test "$withval" = no
; then
2075 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2076 elif test "$withval" = sys
; then
2077 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2078 elif test "$withval" = builtin; then
2079 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2081 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2086 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2087 if test "x$LINE" != x
; then
2088 eval "DEFAULT_$LINE"
2093 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2098 eval "$ac_cv_use_libtiff"
2099 if test "$no_cache" != 1; then
2100 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2103 if test "$wxUSE_LIBTIFF" = yes; then
2104 echo "$ac_t""yes" 1>&6
2105 elif test "$wxUSE_LIBTIFF" = no
; then
2106 echo "$ac_t""no" 1>&6
2107 elif test "$wxUSE_LIBTIFF" = sys
; then
2108 echo "$ac_t""system version" 1>&6
2109 elif test "$wxUSE_LIBTIFF" = builtin; then
2110 echo "$ac_t""builtin version" 1>&6
2112 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2116 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2117 echo "configure:2118: checking for --with-opengl" >&5
2119 # Check whether --with-opengl or --without-opengl was given.
2120 if test "${with_opengl+set}" = set; then
2121 withval
="$with_opengl"
2123 if test "$withval" = yes; then
2124 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2126 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2131 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2132 if test "x$LINE" != x
; then
2133 eval "DEFAULT_$LINE"
2138 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2143 eval "$ac_cv_use_opengl"
2144 if test "$no_cache" != 1; then
2145 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2148 if test "$wxUSE_OPENGL" = yes; then
2149 echo "$ac_t""yes" 1>&6
2151 echo "$ac_t""no" 1>&6
2158 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2159 echo "configure:2160: checking for --with-dmalloc" >&5
2161 # Check whether --with-dmalloc or --without-dmalloc was given.
2162 if test "${with_dmalloc+set}" = set; then
2163 withval
="$with_dmalloc"
2165 if test "$withval" = yes; then
2166 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2168 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2173 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2174 if test "x$LINE" != x
; then
2175 eval "DEFAULT_$LINE"
2180 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2185 eval "$ac_cv_use_dmalloc"
2186 if test "$no_cache" != 1; then
2187 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2190 if test "$wxUSE_DMALLOC" = yes; then
2191 echo "$ac_t""yes" 1>&6
2193 echo "$ac_t""no" 1>&6
2197 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2198 echo "configure:2199: checking for --with-regex" >&5
2200 # Check whether --with-regex or --without-regex was given.
2201 if test "${with_regex+set}" = set; then
2202 withval
="$with_regex"
2204 if test "$withval" = yes; then
2205 ac_cv_use_regex
='wxUSE_REGEX=yes'
2206 elif test "$withval" = no
; then
2207 ac_cv_use_regex
='wxUSE_REGEX=no'
2208 elif test "$withval" = sys
; then
2209 ac_cv_use_regex
='wxUSE_REGEX=sys'
2210 elif test "$withval" = builtin; then
2211 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2213 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2218 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2219 if test "x$LINE" != x
; then
2220 eval "DEFAULT_$LINE"
2225 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2230 eval "$ac_cv_use_regex"
2231 if test "$no_cache" != 1; then
2232 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2235 if test "$wxUSE_REGEX" = yes; then
2236 echo "$ac_t""yes" 1>&6
2237 elif test "$wxUSE_REGEX" = no
; then
2238 echo "$ac_t""no" 1>&6
2239 elif test "$wxUSE_REGEX" = sys
; then
2240 echo "$ac_t""system version" 1>&6
2241 elif test "$wxUSE_REGEX" = builtin; then
2242 echo "$ac_t""builtin version" 1>&6
2244 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2248 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2249 echo "configure:2250: checking for --with-zlib" >&5
2251 # Check whether --with-zlib or --without-zlib was given.
2252 if test "${with_zlib+set}" = set; then
2253 withval
="$with_zlib"
2255 if test "$withval" = yes; then
2256 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2257 elif test "$withval" = no
; then
2258 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2259 elif test "$withval" = sys
; then
2260 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2261 elif test "$withval" = builtin; then
2262 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2264 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2269 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2270 if test "x$LINE" != x
; then
2271 eval "DEFAULT_$LINE"
2276 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2281 eval "$ac_cv_use_zlib"
2282 if test "$no_cache" != 1; then
2283 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2286 if test "$wxUSE_ZLIB" = yes; then
2287 echo "$ac_t""yes" 1>&6
2288 elif test "$wxUSE_ZLIB" = no
; then
2289 echo "$ac_t""no" 1>&6
2290 elif test "$wxUSE_ZLIB" = sys
; then
2291 echo "$ac_t""system version" 1>&6
2292 elif test "$wxUSE_ZLIB" = builtin; then
2293 echo "$ac_t""builtin version" 1>&6
2295 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2299 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2300 echo "configure:2301: checking for --with-odbc" >&5
2302 # Check whether --with-odbc or --without-odbc was given.
2303 if test "${with_odbc+set}" = set; then
2304 withval
="$with_odbc"
2306 if test "$withval" = yes; then
2307 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2309 ac_cv_use_odbc
='wxUSE_ODBC=no'
2314 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2315 if test "x$LINE" != x
; then
2316 eval "DEFAULT_$LINE"
2321 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2326 eval "$ac_cv_use_odbc"
2327 if test "$no_cache" != 1; then
2328 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2331 if test "$wxUSE_ODBC" = yes; then
2332 echo "$ac_t""yes" 1>&6
2334 echo "$ac_t""no" 1>&6
2340 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2341 echo "configure:2342: checking for --enable-shared" >&5
2343 # Check whether --enable-shared or --disable-shared was given.
2344 if test "${enable_shared+set}" = set; then
2345 enableval
="$enable_shared"
2347 if test "$enableval" = yes; then
2348 ac_cv_use_shared
='wxUSE_SHARED=yes'
2350 ac_cv_use_shared
='wxUSE_SHARED=no'
2355 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2356 if test "x$LINE" != x
; then
2357 eval "DEFAULT_$LINE"
2362 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2367 eval "$ac_cv_use_shared"
2368 if test "$no_cache" != 1; then
2369 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2372 if test "$wxUSE_SHARED" = yes; then
2373 echo "$ac_t""yes" 1>&6
2375 echo "$ac_t""no" 1>&6
2379 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2380 echo "configure:2381: checking for --enable-soname" >&5
2382 # Check whether --enable-soname or --disable-soname was given.
2383 if test "${enable_soname+set}" = set; then
2384 enableval
="$enable_soname"
2386 if test "$enableval" = yes; then
2387 ac_cv_use_soname
='wxUSE_SONAME=yes'
2389 ac_cv_use_soname
='wxUSE_SONAME=no'
2394 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2395 if test "x$LINE" != x
; then
2396 eval "DEFAULT_$LINE"
2401 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2406 eval "$ac_cv_use_soname"
2407 if test "$no_cache" != 1; then
2408 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2411 if test "$wxUSE_SONAME" = yes; then
2412 echo "$ac_t""yes" 1>&6
2414 echo "$ac_t""no" 1>&6
2418 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2419 echo "configure:2420: checking for --enable-optimise" >&5
2421 # Check whether --enable-optimise or --disable-optimise was given.
2422 if test "${enable_optimise+set}" = set; then
2423 enableval
="$enable_optimise"
2425 if test "$enableval" = yes; then
2426 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2428 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2433 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2434 if test "x$LINE" != x
; then
2435 eval "DEFAULT_$LINE"
2440 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2445 eval "$ac_cv_use_optimise"
2446 if test "$no_cache" != 1; then
2447 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2450 if test "$wxUSE_OPTIMISE" = yes; then
2451 echo "$ac_t""yes" 1>&6
2453 echo "$ac_t""no" 1>&6
2457 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2458 echo "configure:2459: checking for --enable-debug" >&5
2460 # Check whether --enable-debug or --disable-debug was given.
2461 if test "${enable_debug+set}" = set; then
2462 enableval
="$enable_debug"
2464 if test "$enableval" = yes; then
2465 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2467 ac_cv_use_debug
='wxUSE_DEBUG=no'
2472 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2473 if test "x$LINE" != x
; then
2474 eval "DEFAULT_$LINE"
2479 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2484 eval "$ac_cv_use_debug"
2485 if test "$no_cache" != 1; then
2486 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2489 if test "$wxUSE_DEBUG" = yes; then
2490 echo "$ac_t""yes" 1>&6
2492 echo "$ac_t""no" 1>&6
2497 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2498 echo "configure:2499: checking for --enable-precomp" >&5
2500 # Check whether --enable-precomp or --disable-precomp was given.
2501 if test "${enable_precomp+set}" = set; then
2502 enableval
="$enable_precomp"
2504 if test "$enableval" = yes; then
2505 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2507 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2512 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2513 if test "x$LINE" != x
; then
2514 eval "DEFAULT_$LINE"
2519 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2524 eval "$ac_cv_use_precomp"
2525 if test "$no_cache" != 1; then
2526 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2529 if test "$wxUSE_PRECOMP" = yes; then
2530 echo "$ac_t""yes" 1>&6
2532 echo "$ac_t""no" 1>&6
2536 if test "$wxUSE_DEBUG" = "yes"; then
2537 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2538 DEFAULT_wxUSE_DEBUG_INFO
=yes
2539 elif test "$wxUSE_DEBUG" = "no"; then
2540 DEFAULT_wxUSE_DEBUG_FLAG
=no
2541 DEFAULT_wxUSE_DEBUG_INFO
=no
2545 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2546 echo "configure:2547: checking for --enable-debug_flag" >&5
2548 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2549 if test "${enable_debug_flag+set}" = set; then
2550 enableval
="$enable_debug_flag"
2552 if test "$enableval" = yes; then
2553 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2555 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2560 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2561 if test "x$LINE" != x
; then
2562 eval "DEFAULT_$LINE"
2567 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2572 eval "$ac_cv_use_debug_flag"
2573 if test "$no_cache" != 1; then
2574 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2577 if test "$wxUSE_DEBUG_FLAG" = yes; then
2578 echo "$ac_t""yes" 1>&6
2580 echo "$ac_t""no" 1>&6
2584 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2585 echo "configure:2586: checking for --enable-debug_info" >&5
2587 # Check whether --enable-debug_info or --disable-debug_info was given.
2588 if test "${enable_debug_info+set}" = set; then
2589 enableval
="$enable_debug_info"
2591 if test "$enableval" = yes; then
2592 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2594 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2599 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2600 if test "x$LINE" != x
; then
2601 eval "DEFAULT_$LINE"
2606 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2611 eval "$ac_cv_use_debug_info"
2612 if test "$no_cache" != 1; then
2613 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2616 if test "$wxUSE_DEBUG_INFO" = yes; then
2617 echo "$ac_t""yes" 1>&6
2619 echo "$ac_t""no" 1>&6
2623 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2624 echo "configure:2625: checking for --enable-debug_gdb" >&5
2626 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2627 if test "${enable_debug_gdb+set}" = set; then
2628 enableval
="$enable_debug_gdb"
2630 if test "$enableval" = yes; then
2631 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2633 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2638 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2639 if test "x$LINE" != x
; then
2640 eval "DEFAULT_$LINE"
2645 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2650 eval "$ac_cv_use_debug_gdb"
2651 if test "$no_cache" != 1; then
2652 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2655 if test "$wxUSE_DEBUG_GDB" = yes; then
2656 echo "$ac_t""yes" 1>&6
2658 echo "$ac_t""no" 1>&6
2662 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2663 echo "configure:2664: checking for --enable-debug_cntxt" >&5
2665 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2666 if test "${enable_debug_cntxt+set}" = set; then
2667 enableval
="$enable_debug_cntxt"
2669 if test "$enableval" = yes; then
2670 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2672 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2677 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2678 if test "x$LINE" != x
; then
2679 eval "DEFAULT_$LINE"
2684 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2689 eval "$ac_cv_use_debug_cntxt"
2690 if test "$no_cache" != 1; then
2691 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2694 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2695 echo "$ac_t""yes" 1>&6
2697 echo "$ac_t""no" 1>&6
2701 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2702 echo "configure:2703: checking for --enable-mem_tracing" >&5
2704 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2705 if test "${enable_mem_tracing+set}" = set; then
2706 enableval
="$enable_mem_tracing"
2708 if test "$enableval" = yes; then
2709 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2711 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2716 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2717 if test "x$LINE" != x
; then
2718 eval "DEFAULT_$LINE"
2723 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2728 eval "$ac_cv_use_mem_tracing"
2729 if test "$no_cache" != 1; then
2730 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2733 if test "$wxUSE_MEM_TRACING" = yes; then
2734 echo "$ac_t""yes" 1>&6
2736 echo "$ac_t""no" 1>&6
2740 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2741 echo "configure:2742: checking for --enable-profile" >&5
2743 # Check whether --enable-profile or --disable-profile was given.
2744 if test "${enable_profile+set}" = set; then
2745 enableval
="$enable_profile"
2747 if test "$enableval" = yes; then
2748 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2750 ac_cv_use_profile
='wxUSE_PROFILE=no'
2755 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2756 if test "x$LINE" != x
; then
2757 eval "DEFAULT_$LINE"
2762 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2767 eval "$ac_cv_use_profile"
2768 if test "$no_cache" != 1; then
2769 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2772 if test "$wxUSE_PROFILE" = yes; then
2773 echo "$ac_t""yes" 1>&6
2775 echo "$ac_t""no" 1>&6
2779 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2780 echo "configure:2781: checking for --enable-no_rtti" >&5
2782 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2783 if test "${enable_no_rtti+set}" = set; then
2784 enableval
="$enable_no_rtti"
2786 if test "$enableval" = yes; then
2787 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2789 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2794 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2795 if test "x$LINE" != x
; then
2796 eval "DEFAULT_$LINE"
2801 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2806 eval "$ac_cv_use_no_rtti"
2807 if test "$no_cache" != 1; then
2808 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2811 if test "$wxUSE_NO_RTTI" = yes; then
2812 echo "$ac_t""yes" 1>&6
2814 echo "$ac_t""no" 1>&6
2818 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2819 echo "configure:2820: checking for --enable-no_exceptions" >&5
2821 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2822 if test "${enable_no_exceptions+set}" = set; then
2823 enableval
="$enable_no_exceptions"
2825 if test "$enableval" = yes; then
2826 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2828 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2833 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2834 if test "x$LINE" != x
; then
2835 eval "DEFAULT_$LINE"
2840 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2845 eval "$ac_cv_use_no_exceptions"
2846 if test "$no_cache" != 1; then
2847 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2850 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2851 echo "$ac_t""yes" 1>&6
2853 echo "$ac_t""no" 1>&6
2857 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2858 echo "configure:2859: checking for --enable-permissive" >&5
2860 # Check whether --enable-permissive or --disable-permissive was given.
2861 if test "${enable_permissive+set}" = set; then
2862 enableval
="$enable_permissive"
2864 if test "$enableval" = yes; then
2865 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2867 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2872 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2873 if test "x$LINE" != x
; then
2874 eval "DEFAULT_$LINE"
2879 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2884 eval "$ac_cv_use_permissive"
2885 if test "$no_cache" != 1; then
2886 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2889 if test "$wxUSE_PERMISSIVE" = yes; then
2890 echo "$ac_t""yes" 1>&6
2892 echo "$ac_t""no" 1>&6
2896 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2897 echo "configure:2898: checking for --enable-no_deps" >&5
2899 # Check whether --enable-no_deps or --disable-no_deps was given.
2900 if test "${enable_no_deps+set}" = set; then
2901 enableval
="$enable_no_deps"
2903 if test "$enableval" = yes; then
2904 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2906 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2911 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2912 if test "x$LINE" != x
; then
2913 eval "DEFAULT_$LINE"
2918 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2923 eval "$ac_cv_use_no_deps"
2924 if test "$no_cache" != 1; then
2925 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2928 if test "$wxUSE_NO_DEPS" = yes; then
2929 echo "$ac_t""yes" 1>&6
2931 echo "$ac_t""no" 1>&6
2936 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2937 echo "configure:2938: checking for --enable-compat20" >&5
2939 # Check whether --enable-compat20 or --disable-compat20 was given.
2940 if test "${enable_compat20+set}" = set; then
2941 enableval
="$enable_compat20"
2943 if test "$enableval" = yes; then
2944 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2946 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2951 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2952 if test "x$LINE" != x
; then
2953 eval "DEFAULT_$LINE"
2958 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2963 eval "$ac_cv_use_compat20"
2964 if test "$no_cache" != 1; then
2965 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2968 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2969 echo "$ac_t""yes" 1>&6
2971 echo "$ac_t""no" 1>&6
2975 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2976 echo "configure:2977: checking for --enable-compat22" >&5
2978 # Check whether --enable-compat22 or --disable-compat22 was given.
2979 if test "${enable_compat22+set}" = set; then
2980 enableval
="$enable_compat22"
2982 if test "$enableval" = yes; then
2983 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2985 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2990 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2991 if test "x$LINE" != x
; then
2992 eval "DEFAULT_$LINE"
2997 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3002 eval "$ac_cv_use_compat22"
3003 if test "$no_cache" != 1; then
3004 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3007 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3008 echo "$ac_t""yes" 1>&6
3010 echo "$ac_t""no" 1>&6
3016 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3017 echo "configure:3018: checking for --enable-intl" >&5
3019 # Check whether --enable-intl or --disable-intl was given.
3020 if test "${enable_intl+set}" = set; then
3021 enableval
="$enable_intl"
3023 if test "$enableval" = yes; then
3024 ac_cv_use_intl
='wxUSE_INTL=yes'
3026 ac_cv_use_intl
='wxUSE_INTL=no'
3031 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3032 if test "x$LINE" != x
; then
3033 eval "DEFAULT_$LINE"
3038 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3043 eval "$ac_cv_use_intl"
3044 if test "$no_cache" != 1; then
3045 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3048 if test "$wxUSE_INTL" = yes; then
3049 echo "$ac_t""yes" 1>&6
3051 echo "$ac_t""no" 1>&6
3055 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3056 echo "configure:3057: checking for --enable-config" >&5
3058 # Check whether --enable-config or --disable-config was given.
3059 if test "${enable_config+set}" = set; then
3060 enableval
="$enable_config"
3062 if test "$enableval" = yes; then
3063 ac_cv_use_config
='wxUSE_CONFIG=yes'
3065 ac_cv_use_config
='wxUSE_CONFIG=no'
3070 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3071 if test "x$LINE" != x
; then
3072 eval "DEFAULT_$LINE"
3077 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3082 eval "$ac_cv_use_config"
3083 if test "$no_cache" != 1; then
3084 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3087 if test "$wxUSE_CONFIG" = yes; then
3088 echo "$ac_t""yes" 1>&6
3090 echo "$ac_t""no" 1>&6
3095 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3096 echo "configure:3097: checking for --enable-protocols" >&5
3098 # Check whether --enable-protocols or --disable-protocols was given.
3099 if test "${enable_protocols+set}" = set; then
3100 enableval
="$enable_protocols"
3102 if test "$enableval" = yes; then
3103 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3105 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3110 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3111 if test "x$LINE" != x
; then
3112 eval "DEFAULT_$LINE"
3117 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3122 eval "$ac_cv_use_protocols"
3123 if test "$no_cache" != 1; then
3124 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3127 if test "$wxUSE_PROTOCOL" = yes; then
3128 echo "$ac_t""yes" 1>&6
3130 echo "$ac_t""no" 1>&6
3134 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3135 echo "configure:3136: checking for --enable-ftp" >&5
3137 # Check whether --enable-ftp or --disable-ftp was given.
3138 if test "${enable_ftp+set}" = set; then
3139 enableval
="$enable_ftp"
3141 if test "$enableval" = yes; then
3142 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3144 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3149 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x
; then
3151 eval "DEFAULT_$LINE"
3156 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3161 eval "$ac_cv_use_ftp"
3162 if test "$no_cache" != 1; then
3163 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3166 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3167 echo "$ac_t""yes" 1>&6
3169 echo "$ac_t""no" 1>&6
3173 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3174 echo "configure:3175: checking for --enable-http" >&5
3176 # Check whether --enable-http or --disable-http was given.
3177 if test "${enable_http+set}" = set; then
3178 enableval
="$enable_http"
3180 if test "$enableval" = yes; then
3181 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3183 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3188 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3189 if test "x$LINE" != x
; then
3190 eval "DEFAULT_$LINE"
3195 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3200 eval "$ac_cv_use_http"
3201 if test "$no_cache" != 1; then
3202 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3205 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3206 echo "$ac_t""yes" 1>&6
3208 echo "$ac_t""no" 1>&6
3212 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3213 echo "configure:3214: checking for --enable-fileproto" >&5
3215 # Check whether --enable-fileproto or --disable-fileproto was given.
3216 if test "${enable_fileproto+set}" = set; then
3217 enableval
="$enable_fileproto"
3219 if test "$enableval" = yes; then
3220 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3222 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3227 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3228 if test "x$LINE" != x
; then
3229 eval "DEFAULT_$LINE"
3234 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3239 eval "$ac_cv_use_fileproto"
3240 if test "$no_cache" != 1; then
3241 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3244 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3245 echo "$ac_t""yes" 1>&6
3247 echo "$ac_t""no" 1>&6
3251 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3252 echo "configure:3253: checking for --enable-sockets" >&5
3254 # Check whether --enable-sockets or --disable-sockets was given.
3255 if test "${enable_sockets+set}" = set; then
3256 enableval
="$enable_sockets"
3258 if test "$enableval" = yes; then
3259 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3261 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3266 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3267 if test "x$LINE" != x
; then
3268 eval "DEFAULT_$LINE"
3273 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3278 eval "$ac_cv_use_sockets"
3279 if test "$no_cache" != 1; then
3280 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3283 if test "$wxUSE_SOCKETS" = yes; then
3284 echo "$ac_t""yes" 1>&6
3286 echo "$ac_t""no" 1>&6
3291 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3292 echo "configure:3293: checking for --enable-ipc" >&5
3294 # Check whether --enable-ipc or --disable-ipc was given.
3295 if test "${enable_ipc+set}" = set; then
3296 enableval
="$enable_ipc"
3298 if test "$enableval" = yes; then
3299 ac_cv_use_ipc
='wxUSE_IPC=yes'
3301 ac_cv_use_ipc
='wxUSE_IPC=no'
3306 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3307 if test "x$LINE" != x
; then
3308 eval "DEFAULT_$LINE"
3313 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3318 eval "$ac_cv_use_ipc"
3319 if test "$no_cache" != 1; then
3320 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3323 if test "$wxUSE_IPC" = yes; then
3324 echo "$ac_t""yes" 1>&6
3326 echo "$ac_t""no" 1>&6
3331 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3332 echo "configure:3333: checking for --enable-cmdline" >&5
3334 # Check whether --enable-cmdline or --disable-cmdline was given.
3335 if test "${enable_cmdline+set}" = set; then
3336 enableval
="$enable_cmdline"
3338 if test "$enableval" = yes; then
3339 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3341 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3346 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3347 if test "x$LINE" != x
; then
3348 eval "DEFAULT_$LINE"
3353 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3358 eval "$ac_cv_use_cmdline"
3359 if test "$no_cache" != 1; then
3360 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3363 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3364 echo "$ac_t""yes" 1>&6
3366 echo "$ac_t""no" 1>&6
3370 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3371 echo "configure:3372: checking for --enable-datetime" >&5
3373 # Check whether --enable-datetime or --disable-datetime was given.
3374 if test "${enable_datetime+set}" = set; then
3375 enableval
="$enable_datetime"
3377 if test "$enableval" = yes; then
3378 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3380 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3385 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3386 if test "x$LINE" != x
; then
3387 eval "DEFAULT_$LINE"
3392 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3397 eval "$ac_cv_use_datetime"
3398 if test "$no_cache" != 1; then
3399 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3402 if test "$wxUSE_DATETIME" = yes; then
3403 echo "$ac_t""yes" 1>&6
3405 echo "$ac_t""no" 1>&6
3409 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3410 echo "configure:3411: checking for --enable-timedate" >&5
3412 # Check whether --enable-timedate or --disable-timedate was given.
3413 if test "${enable_timedate+set}" = set; then
3414 enableval
="$enable_timedate"
3416 if test "$enableval" = yes; then
3417 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3419 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3424 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3425 if test "x$LINE" != x
; then
3426 eval "DEFAULT_$LINE"
3431 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3436 eval "$ac_cv_use_timedate"
3437 if test "$no_cache" != 1; then
3438 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3441 if test "$wxUSE_TIMEDATE" = yes; then
3442 echo "$ac_t""yes" 1>&6
3444 echo "$ac_t""no" 1>&6
3448 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3449 echo "configure:3450: checking for --enable-stopwatch" >&5
3451 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3452 if test "${enable_stopwatch+set}" = set; then
3453 enableval
="$enable_stopwatch"
3455 if test "$enableval" = yes; then
3456 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3458 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3463 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3464 if test "x$LINE" != x
; then
3465 eval "DEFAULT_$LINE"
3470 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3475 eval "$ac_cv_use_stopwatch"
3476 if test "$no_cache" != 1; then
3477 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3480 if test "$wxUSE_STOPWATCH" = yes; then
3481 echo "$ac_t""yes" 1>&6
3483 echo "$ac_t""no" 1>&6
3487 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3488 echo "configure:3489: checking for --enable-dialupman" >&5
3490 # Check whether --enable-dialupman or --disable-dialupman was given.
3491 if test "${enable_dialupman+set}" = set; then
3492 enableval
="$enable_dialupman"
3494 if test "$enableval" = yes; then
3495 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3497 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3502 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3503 if test "x$LINE" != x
; then
3504 eval "DEFAULT_$LINE"
3509 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3514 eval "$ac_cv_use_dialupman"
3515 if test "$no_cache" != 1; then
3516 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3519 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3520 echo "$ac_t""yes" 1>&6
3522 echo "$ac_t""no" 1>&6
3526 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3527 echo "configure:3528: checking for --enable-apple_ieee" >&5
3529 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3530 if test "${enable_apple_ieee+set}" = set; then
3531 enableval
="$enable_apple_ieee"
3533 if test "$enableval" = yes; then
3534 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3536 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3541 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3542 if test "x$LINE" != x
; then
3543 eval "DEFAULT_$LINE"
3548 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3553 eval "$ac_cv_use_apple_ieee"
3554 if test "$no_cache" != 1; then
3555 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3558 if test "$wxUSE_APPLE_IEEE" = yes; then
3559 echo "$ac_t""yes" 1>&6
3561 echo "$ac_t""no" 1>&6
3565 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3566 echo "configure:3567: checking for --enable-timer" >&5
3568 # Check whether --enable-timer or --disable-timer was given.
3569 if test "${enable_timer+set}" = set; then
3570 enableval
="$enable_timer"
3572 if test "$enableval" = yes; then
3573 ac_cv_use_timer
='wxUSE_TIMER=yes'
3575 ac_cv_use_timer
='wxUSE_TIMER=no'
3580 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3581 if test "x$LINE" != x
; then
3582 eval "DEFAULT_$LINE"
3587 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3592 eval "$ac_cv_use_timer"
3593 if test "$no_cache" != 1; then
3594 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3597 if test "$wxUSE_TIMER" = yes; then
3598 echo "$ac_t""yes" 1>&6
3600 echo "$ac_t""no" 1>&6
3604 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3605 echo "configure:3606: checking for --enable-wave" >&5
3607 # Check whether --enable-wave or --disable-wave was given.
3608 if test "${enable_wave+set}" = set; then
3609 enableval
="$enable_wave"
3611 if test "$enableval" = yes; then
3612 ac_cv_use_wave
='wxUSE_WAVE=yes'
3614 ac_cv_use_wave
='wxUSE_WAVE=no'
3619 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3620 if test "x$LINE" != x
; then
3621 eval "DEFAULT_$LINE"
3626 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3631 eval "$ac_cv_use_wave"
3632 if test "$no_cache" != 1; then
3633 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3636 if test "$wxUSE_WAVE" = yes; then
3637 echo "$ac_t""yes" 1>&6
3639 echo "$ac_t""no" 1>&6
3643 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3644 echo "configure:3645: checking for --enable-fraction" >&5
3646 # Check whether --enable-fraction or --disable-fraction was given.
3647 if test "${enable_fraction+set}" = set; then
3648 enableval
="$enable_fraction"
3650 if test "$enableval" = yes; then
3651 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3653 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3658 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3659 if test "x$LINE" != x
; then
3660 eval "DEFAULT_$LINE"
3665 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3670 eval "$ac_cv_use_fraction"
3671 if test "$no_cache" != 1; then
3672 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3675 if test "$wxUSE_FRACTION" = yes; then
3676 echo "$ac_t""yes" 1>&6
3678 echo "$ac_t""no" 1>&6
3682 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3683 echo "configure:3684: checking for --enable-dynlib" >&5
3685 # Check whether --enable-dynlib or --disable-dynlib was given.
3686 if test "${enable_dynlib+set}" = set; then
3687 enableval
="$enable_dynlib"
3689 if test "$enableval" = yes; then
3690 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3692 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3697 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3698 if test "x$LINE" != x
; then
3699 eval "DEFAULT_$LINE"
3704 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3709 eval "$ac_cv_use_dynlib"
3710 if test "$no_cache" != 1; then
3711 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3714 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3715 echo "$ac_t""yes" 1>&6
3717 echo "$ac_t""no" 1>&6
3721 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3722 echo "configure:3723: checking for --enable-dynamicloader" >&5
3724 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3725 if test "${enable_dynamicloader+set}" = set; then
3726 enableval
="$enable_dynamicloader"
3728 if test "$enableval" = yes; then
3729 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3731 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3736 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3737 if test "x$LINE" != x
; then
3738 eval "DEFAULT_$LINE"
3743 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3748 eval "$ac_cv_use_dynamicloader"
3749 if test "$no_cache" != 1; then
3750 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3753 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3754 echo "$ac_t""yes" 1>&6
3756 echo "$ac_t""no" 1>&6
3760 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3761 echo "configure:3762: checking for --enable-longlong" >&5
3763 # Check whether --enable-longlong or --disable-longlong was given.
3764 if test "${enable_longlong+set}" = set; then
3765 enableval
="$enable_longlong"
3767 if test "$enableval" = yes; then
3768 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3770 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3775 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3776 if test "x$LINE" != x
; then
3777 eval "DEFAULT_$LINE"
3782 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3787 eval "$ac_cv_use_longlong"
3788 if test "$no_cache" != 1; then
3789 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3792 if test "$wxUSE_LONGLONG" = yes; then
3793 echo "$ac_t""yes" 1>&6
3795 echo "$ac_t""no" 1>&6
3799 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3800 echo "configure:3801: checking for --enable-geometry" >&5
3802 # Check whether --enable-geometry or --disable-geometry was given.
3803 if test "${enable_geometry+set}" = set; then
3804 enableval
="$enable_geometry"
3806 if test "$enableval" = yes; then
3807 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3809 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3814 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3815 if test "x$LINE" != x
; then
3816 eval "DEFAULT_$LINE"
3821 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3826 eval "$ac_cv_use_geometry"
3827 if test "$no_cache" != 1; then
3828 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3831 if test "$wxUSE_GEOMETRY" = yes; then
3832 echo "$ac_t""yes" 1>&6
3834 echo "$ac_t""no" 1>&6
3838 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3839 echo "configure:3840: checking for --enable-log" >&5
3841 # Check whether --enable-log or --disable-log was given.
3842 if test "${enable_log+set}" = set; then
3843 enableval
="$enable_log"
3845 if test "$enableval" = yes; then
3846 ac_cv_use_log
='wxUSE_LOG=yes'
3848 ac_cv_use_log
='wxUSE_LOG=no'
3853 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3854 if test "x$LINE" != x
; then
3855 eval "DEFAULT_$LINE"
3860 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3865 eval "$ac_cv_use_log"
3866 if test "$no_cache" != 1; then
3867 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3870 if test "$wxUSE_LOG" = yes; then
3871 echo "$ac_t""yes" 1>&6
3873 echo "$ac_t""no" 1>&6
3877 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3878 echo "configure:3879: checking for --enable-streams" >&5
3880 # Check whether --enable-streams or --disable-streams was given.
3881 if test "${enable_streams+set}" = set; then
3882 enableval
="$enable_streams"
3884 if test "$enableval" = yes; then
3885 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3887 ac_cv_use_streams
='wxUSE_STREAMS=no'
3892 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3893 if test "x$LINE" != x
; then
3894 eval "DEFAULT_$LINE"
3899 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3904 eval "$ac_cv_use_streams"
3905 if test "$no_cache" != 1; then
3906 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3909 if test "$wxUSE_STREAMS" = yes; then
3910 echo "$ac_t""yes" 1>&6
3912 echo "$ac_t""no" 1>&6
3916 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3917 echo "configure:3918: checking for --enable-file" >&5
3919 # Check whether --enable-file or --disable-file was given.
3920 if test "${enable_file+set}" = set; then
3921 enableval
="$enable_file"
3923 if test "$enableval" = yes; then
3924 ac_cv_use_file
='wxUSE_FILE=yes'
3926 ac_cv_use_file
='wxUSE_FILE=no'
3931 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3932 if test "x$LINE" != x
; then
3933 eval "DEFAULT_$LINE"
3938 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3943 eval "$ac_cv_use_file"
3944 if test "$no_cache" != 1; then
3945 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3948 if test "$wxUSE_FILE" = yes; then
3949 echo "$ac_t""yes" 1>&6
3951 echo "$ac_t""no" 1>&6
3955 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3956 echo "configure:3957: checking for --enable-ffile" >&5
3958 # Check whether --enable-ffile or --disable-ffile was given.
3959 if test "${enable_ffile+set}" = set; then
3960 enableval
="$enable_ffile"
3962 if test "$enableval" = yes; then
3963 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3965 ac_cv_use_ffile
='wxUSE_FFILE=no'
3970 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3971 if test "x$LINE" != x
; then
3972 eval "DEFAULT_$LINE"
3977 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3982 eval "$ac_cv_use_ffile"
3983 if test "$no_cache" != 1; then
3984 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3987 if test "$wxUSE_FFILE" = yes; then
3988 echo "$ac_t""yes" 1>&6
3990 echo "$ac_t""no" 1>&6
3994 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
3995 echo "configure:3996: checking for --enable-textbuf" >&5
3997 # Check whether --enable-textbuf or --disable-textbuf was given.
3998 if test "${enable_textbuf+set}" = set; then
3999 enableval
="$enable_textbuf"
4001 if test "$enableval" = yes; then
4002 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4004 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4009 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4010 if test "x$LINE" != x
; then
4011 eval "DEFAULT_$LINE"
4016 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4021 eval "$ac_cv_use_textbuf"
4022 if test "$no_cache" != 1; then
4023 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4026 if test "$wxUSE_TEXTBUFFER" = yes; then
4027 echo "$ac_t""yes" 1>&6
4029 echo "$ac_t""no" 1>&6
4033 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4034 echo "configure:4035: checking for --enable-textfile" >&5
4036 # Check whether --enable-textfile or --disable-textfile was given.
4037 if test "${enable_textfile+set}" = set; then
4038 enableval
="$enable_textfile"
4040 if test "$enableval" = yes; then
4041 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4043 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4048 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4049 if test "x$LINE" != x
; then
4050 eval "DEFAULT_$LINE"
4055 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4060 eval "$ac_cv_use_textfile"
4061 if test "$no_cache" != 1; then
4062 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4065 if test "$wxUSE_TEXTFILE" = yes; then
4066 echo "$ac_t""yes" 1>&6
4068 echo "$ac_t""no" 1>&6
4072 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4073 echo "configure:4074: checking for --enable-fontmap" >&5
4075 # Check whether --enable-fontmap or --disable-fontmap was given.
4076 if test "${enable_fontmap+set}" = set; then
4077 enableval
="$enable_fontmap"
4079 if test "$enableval" = yes; then
4080 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4082 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4087 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4088 if test "x$LINE" != x
; then
4089 eval "DEFAULT_$LINE"
4094 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4099 eval "$ac_cv_use_fontmap"
4100 if test "$no_cache" != 1; then
4101 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4104 if test "$wxUSE_FONTMAP" = yes; then
4105 echo "$ac_t""yes" 1>&6
4107 echo "$ac_t""no" 1>&6
4111 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4112 echo "configure:4113: checking for --enable-unicode" >&5
4114 # Check whether --enable-unicode or --disable-unicode was given.
4115 if test "${enable_unicode+set}" = set; then
4116 enableval
="$enable_unicode"
4118 if test "$enableval" = yes; then
4119 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4121 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4126 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4127 if test "x$LINE" != x
; then
4128 eval "DEFAULT_$LINE"
4133 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4138 eval "$ac_cv_use_unicode"
4139 if test "$no_cache" != 1; then
4140 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4143 if test "$wxUSE_UNICODE" = yes; then
4144 echo "$ac_t""yes" 1>&6
4146 echo "$ac_t""no" 1>&6
4150 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4151 echo "configure:4152: checking for --enable-mslu" >&5
4153 # Check whether --enable-mslu or --disable-mslu was given.
4154 if test "${enable_mslu+set}" = set; then
4155 enableval
="$enable_mslu"
4157 if test "$enableval" = yes; then
4158 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4160 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4165 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4166 if test "x$LINE" != x
; then
4167 eval "DEFAULT_$LINE"
4172 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4177 eval "$ac_cv_use_mslu"
4178 if test "$no_cache" != 1; then
4179 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4182 if test "$wxUSE_UNICODE_MSLU" = yes; then
4183 echo "$ac_t""yes" 1>&6
4185 echo "$ac_t""no" 1>&6
4189 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4190 echo "configure:4191: checking for --enable-wxprintfv" >&5
4192 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4193 if test "${enable_wxprintfv+set}" = set; then
4194 enableval
="$enable_wxprintfv"
4196 if test "$enableval" = yes; then
4197 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4199 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4204 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4205 if test "x$LINE" != x
; then
4206 eval "DEFAULT_$LINE"
4211 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4216 eval "$ac_cv_use_wxprintfv"
4217 if test "$no_cache" != 1; then
4218 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4221 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4222 echo "$ac_t""yes" 1>&6
4224 echo "$ac_t""no" 1>&6
4228 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4229 echo "configure:4230: checking for --enable-std_iostreams" >&5
4231 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4232 if test "${enable_std_iostreams+set}" = set; then
4233 enableval
="$enable_std_iostreams"
4235 if test "$enableval" = yes; then
4236 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4238 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4243 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x
; then
4245 eval "DEFAULT_$LINE"
4250 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4255 eval "$ac_cv_use_std_iostreams"
4256 if test "$no_cache" != 1; then
4257 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4260 if test "$wxUSE_STD_IOSTREAM" = yes; then
4261 echo "$ac_t""yes" 1>&6
4263 echo "$ac_t""no" 1>&6
4267 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4268 echo "configure:4269: checking for --enable-filesystem" >&5
4270 # Check whether --enable-filesystem or --disable-filesystem was given.
4271 if test "${enable_filesystem+set}" = set; then
4272 enableval
="$enable_filesystem"
4274 if test "$enableval" = yes; then
4275 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4277 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4282 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4283 if test "x$LINE" != x
; then
4284 eval "DEFAULT_$LINE"
4289 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4294 eval "$ac_cv_use_filesystem"
4295 if test "$no_cache" != 1; then
4296 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4299 if test "$wxUSE_FILESYSTEM" = yes; then
4300 echo "$ac_t""yes" 1>&6
4302 echo "$ac_t""no" 1>&6
4306 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4307 echo "configure:4308: checking for --enable-fs_inet" >&5
4309 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4310 if test "${enable_fs_inet+set}" = set; then
4311 enableval
="$enable_fs_inet"
4313 if test "$enableval" = yes; then
4314 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4316 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4321 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4322 if test "x$LINE" != x
; then
4323 eval "DEFAULT_$LINE"
4328 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4333 eval "$ac_cv_use_fs_inet"
4334 if test "$no_cache" != 1; then
4335 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4338 if test "$wxUSE_FS_INET" = yes; then
4339 echo "$ac_t""yes" 1>&6
4341 echo "$ac_t""no" 1>&6
4345 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4346 echo "configure:4347: checking for --enable-fs_zip" >&5
4348 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4349 if test "${enable_fs_zip+set}" = set; then
4350 enableval
="$enable_fs_zip"
4352 if test "$enableval" = yes; then
4353 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4355 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4360 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4361 if test "x$LINE" != x
; then
4362 eval "DEFAULT_$LINE"
4367 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4372 eval "$ac_cv_use_fs_zip"
4373 if test "$no_cache" != 1; then
4374 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4377 if test "$wxUSE_FS_ZIP" = yes; then
4378 echo "$ac_t""yes" 1>&6
4380 echo "$ac_t""no" 1>&6
4384 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4385 echo "configure:4386: checking for --enable-zipstream" >&5
4387 # Check whether --enable-zipstream or --disable-zipstream was given.
4388 if test "${enable_zipstream+set}" = set; then
4389 enableval
="$enable_zipstream"
4391 if test "$enableval" = yes; then
4392 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4394 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4399 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4400 if test "x$LINE" != x
; then
4401 eval "DEFAULT_$LINE"
4406 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4411 eval "$ac_cv_use_zipstream"
4412 if test "$no_cache" != 1; then
4413 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4416 if test "$wxUSE_ZIPSTREAM" = yes; then
4417 echo "$ac_t""yes" 1>&6
4419 echo "$ac_t""no" 1>&6
4424 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4425 echo "configure:4426: checking for --enable-catch_segvs" >&5
4427 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4428 if test "${enable_catch_segvs+set}" = set; then
4429 enableval
="$enable_catch_segvs"
4431 if test "$enableval" = yes; then
4432 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4434 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4439 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4440 if test "x$LINE" != x
; then
4441 eval "DEFAULT_$LINE"
4446 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4451 eval "$ac_cv_use_catch_segvs"
4452 if test "$no_cache" != 1; then
4453 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4456 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4457 echo "$ac_t""yes" 1>&6
4459 echo "$ac_t""no" 1>&6
4463 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4464 echo "configure:4465: checking for --enable-snglinst" >&5
4466 # Check whether --enable-snglinst or --disable-snglinst was given.
4467 if test "${enable_snglinst+set}" = set; then
4468 enableval
="$enable_snglinst"
4470 if test "$enableval" = yes; then
4471 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4473 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4478 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4479 if test "x$LINE" != x
; then
4480 eval "DEFAULT_$LINE"
4485 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4490 eval "$ac_cv_use_snglinst"
4491 if test "$no_cache" != 1; then
4492 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4495 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4496 echo "$ac_t""yes" 1>&6
4498 echo "$ac_t""no" 1>&6
4503 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4504 echo "configure:4505: checking for --enable-mimetype" >&5
4506 # Check whether --enable-mimetype or --disable-mimetype was given.
4507 if test "${enable_mimetype+set}" = set; then
4508 enableval
="$enable_mimetype"
4510 if test "$enableval" = yes; then
4511 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4513 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4518 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4519 if test "x$LINE" != x
; then
4520 eval "DEFAULT_$LINE"
4525 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4530 eval "$ac_cv_use_mimetype"
4531 if test "$no_cache" != 1; then
4532 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4535 if test "$wxUSE_MIMETYPE" = yes; then
4536 echo "$ac_t""yes" 1>&6
4538 echo "$ac_t""no" 1>&6
4542 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4543 echo "configure:4544: checking for --enable-system_options" >&5
4545 # Check whether --enable-system_options or --disable-system_options was given.
4546 if test "${enable_system_options+set}" = set; then
4547 enableval
="$enable_system_options"
4549 if test "$enableval" = yes; then
4550 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4552 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4557 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4558 if test "x$LINE" != x
; then
4559 eval "DEFAULT_$LINE"
4564 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4569 eval "$ac_cv_use_system_options"
4570 if test "$no_cache" != 1; then
4571 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4574 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4575 echo "$ac_t""yes" 1>&6
4577 echo "$ac_t""no" 1>&6
4582 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4583 echo "configure:4584: checking for --enable-url" >&5
4585 # Check whether --enable-url or --disable-url was given.
4586 if test "${enable_url+set}" = set; then
4587 enableval
="$enable_url"
4589 if test "$enableval" = yes; then
4590 ac_cv_use_url
='wxUSE_URL=yes'
4592 ac_cv_use_url
='wxUSE_URL=no'
4597 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4598 if test "x$LINE" != x
; then
4599 eval "DEFAULT_$LINE"
4604 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4609 eval "$ac_cv_use_url"
4610 if test "$no_cache" != 1; then
4611 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4614 if test "$wxUSE_URL" = yes; then
4615 echo "$ac_t""yes" 1>&6
4617 echo "$ac_t""no" 1>&6
4621 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4622 echo "configure:4623: checking for --enable-protocol" >&5
4624 # Check whether --enable-protocol or --disable-protocol was given.
4625 if test "${enable_protocol+set}" = set; then
4626 enableval
="$enable_protocol"
4628 if test "$enableval" = yes; then
4629 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4631 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4636 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4637 if test "x$LINE" != x
; then
4638 eval "DEFAULT_$LINE"
4643 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4648 eval "$ac_cv_use_protocol"
4649 if test "$no_cache" != 1; then
4650 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4653 if test "$wxUSE_PROTOCOL" = yes; then
4654 echo "$ac_t""yes" 1>&6
4656 echo "$ac_t""no" 1>&6
4660 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4661 echo "configure:4662: checking for --enable-protocol_http" >&5
4663 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4664 if test "${enable_protocol_http+set}" = set; then
4665 enableval
="$enable_protocol_http"
4667 if test "$enableval" = yes; then
4668 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4670 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4675 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4676 if test "x$LINE" != x
; then
4677 eval "DEFAULT_$LINE"
4682 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4687 eval "$ac_cv_use_protocol_http"
4688 if test "$no_cache" != 1; then
4689 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4692 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4693 echo "$ac_t""yes" 1>&6
4695 echo "$ac_t""no" 1>&6
4699 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4700 echo "configure:4701: checking for --enable-protocol_ftp" >&5
4702 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4703 if test "${enable_protocol_ftp+set}" = set; then
4704 enableval
="$enable_protocol_ftp"
4706 if test "$enableval" = yes; then
4707 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4709 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4714 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4715 if test "x$LINE" != x
; then
4716 eval "DEFAULT_$LINE"
4721 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4726 eval "$ac_cv_use_protocol_ftp"
4727 if test "$no_cache" != 1; then
4728 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4731 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4732 echo "$ac_t""yes" 1>&6
4734 echo "$ac_t""no" 1>&6
4738 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4739 echo "configure:4740: checking for --enable-protocol_file" >&5
4741 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4742 if test "${enable_protocol_file+set}" = set; then
4743 enableval
="$enable_protocol_file"
4745 if test "$enableval" = yes; then
4746 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4748 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4753 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4754 if test "x$LINE" != x
; then
4755 eval "DEFAULT_$LINE"
4760 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4765 eval "$ac_cv_use_protocol_file"
4766 if test "$no_cache" != 1; then
4767 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4770 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4771 echo "$ac_t""yes" 1>&6
4773 echo "$ac_t""no" 1>&6
4780 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4781 echo "configure:4782: checking for --enable-threads" >&5
4783 # Check whether --enable-threads or --disable-threads was given.
4784 if test "${enable_threads+set}" = set; then
4785 enableval
="$enable_threads"
4787 if test "$enableval" = yes; then
4788 ac_cv_use_threads
='wxUSE_THREADS=yes'
4790 ac_cv_use_threads
='wxUSE_THREADS=no'
4795 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4796 if test "x$LINE" != x
; then
4797 eval "DEFAULT_$LINE"
4802 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4807 eval "$ac_cv_use_threads"
4808 if test "$no_cache" != 1; then
4809 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4812 if test "$wxUSE_THREADS" = yes; then
4813 echo "$ac_t""yes" 1>&6
4815 echo "$ac_t""no" 1>&6
4819 if test "$wxUSE_GUI" = "yes"; then
4823 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4824 echo "configure:4825: checking for --enable-docview" >&5
4826 # Check whether --enable-docview or --disable-docview was given.
4827 if test "${enable_docview+set}" = set; then
4828 enableval
="$enable_docview"
4830 if test "$enableval" = yes; then
4831 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4833 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4838 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4839 if test "x$LINE" != x
; then
4840 eval "DEFAULT_$LINE"
4845 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4850 eval "$ac_cv_use_docview"
4851 if test "$no_cache" != 1; then
4852 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4855 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4856 echo "$ac_t""yes" 1>&6
4858 echo "$ac_t""no" 1>&6
4862 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4863 echo "configure:4864: checking for --enable-help" >&5
4865 # Check whether --enable-help or --disable-help was given.
4866 if test "${enable_help+set}" = set; then
4867 enableval
="$enable_help"
4869 if test "$enableval" = yes; then
4870 ac_cv_use_help
='wxUSE_HELP=yes'
4872 ac_cv_use_help
='wxUSE_HELP=no'
4877 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4878 if test "x$LINE" != x
; then
4879 eval "DEFAULT_$LINE"
4884 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4889 eval "$ac_cv_use_help"
4890 if test "$no_cache" != 1; then
4891 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4894 if test "$wxUSE_HELP" = yes; then
4895 echo "$ac_t""yes" 1>&6
4897 echo "$ac_t""no" 1>&6
4901 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4902 echo "configure:4903: checking for --enable-mshtmlhelp" >&5
4904 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4905 if test "${enable_mshtmlhelp+set}" = set; then
4906 enableval
="$enable_mshtmlhelp"
4908 if test "$enableval" = yes; then
4909 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4911 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4916 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4917 if test "x$LINE" != x
; then
4918 eval "DEFAULT_$LINE"
4923 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4928 eval "$ac_cv_use_mshtmlhelp"
4929 if test "$no_cache" != 1; then
4930 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4933 if test "$wxUSE_MS_HTML_HELP" = yes; then
4934 echo "$ac_t""yes" 1>&6
4936 echo "$ac_t""no" 1>&6
4940 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4941 echo "configure:4942: checking for --enable-html" >&5
4943 # Check whether --enable-html or --disable-html was given.
4944 if test "${enable_html+set}" = set; then
4945 enableval
="$enable_html"
4947 if test "$enableval" = yes; then
4948 ac_cv_use_html
='wxUSE_HTML=yes'
4950 ac_cv_use_html
='wxUSE_HTML=no'
4955 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4956 if test "x$LINE" != x
; then
4957 eval "DEFAULT_$LINE"
4962 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4967 eval "$ac_cv_use_html"
4968 if test "$no_cache" != 1; then
4969 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4972 if test "$wxUSE_HTML" = yes; then
4973 echo "$ac_t""yes" 1>&6
4975 echo "$ac_t""no" 1>&6
4979 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4980 echo "configure:4981: checking for --enable-htmlhelp" >&5
4982 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4983 if test "${enable_htmlhelp+set}" = set; then
4984 enableval
="$enable_htmlhelp"
4986 if test "$enableval" = yes; then
4987 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4989 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4994 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4995 if test "x$LINE" != x
; then
4996 eval "DEFAULT_$LINE"
5001 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5006 eval "$ac_cv_use_htmlhelp"
5007 if test "$no_cache" != 1; then
5008 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5011 if test "$wxUSE_WXHTML_HELP" = yes; then
5012 echo "$ac_t""yes" 1>&6
5014 echo "$ac_t""no" 1>&6
5018 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5019 echo "configure:5020: checking for --enable-constraints" >&5
5021 # Check whether --enable-constraints or --disable-constraints was given.
5022 if test "${enable_constraints+set}" = set; then
5023 enableval
="$enable_constraints"
5025 if test "$enableval" = yes; then
5026 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5028 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5033 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5034 if test "x$LINE" != x
; then
5035 eval "DEFAULT_$LINE"
5040 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5045 eval "$ac_cv_use_constraints"
5046 if test "$no_cache" != 1; then
5047 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5050 if test "$wxUSE_CONSTRAINTS" = yes; then
5051 echo "$ac_t""yes" 1>&6
5053 echo "$ac_t""no" 1>&6
5057 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5058 echo "configure:5059: checking for --enable-printarch" >&5
5060 # Check whether --enable-printarch or --disable-printarch was given.
5061 if test "${enable_printarch+set}" = set; then
5062 enableval
="$enable_printarch"
5064 if test "$enableval" = yes; then
5065 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5067 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5072 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5073 if test "x$LINE" != x
; then
5074 eval "DEFAULT_$LINE"
5079 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5084 eval "$ac_cv_use_printarch"
5085 if test "$no_cache" != 1; then
5086 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5089 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5090 echo "$ac_t""yes" 1>&6
5092 echo "$ac_t""no" 1>&6
5096 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5097 echo "configure:5098: checking for --enable-mdi" >&5
5099 # Check whether --enable-mdi or --disable-mdi was given.
5100 if test "${enable_mdi+set}" = set; then
5101 enableval
="$enable_mdi"
5103 if test "$enableval" = yes; then
5104 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5106 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5111 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5112 if test "x$LINE" != x
; then
5113 eval "DEFAULT_$LINE"
5118 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5123 eval "$ac_cv_use_mdi"
5124 if test "$no_cache" != 1; then
5125 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5128 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5129 echo "$ac_t""yes" 1>&6
5131 echo "$ac_t""no" 1>&6
5135 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5136 echo "configure:5137: checking for --enable-loggui" >&5
5138 # Check whether --enable-loggui or --disable-loggui was given.
5139 if test "${enable_loggui+set}" = set; then
5140 enableval
="$enable_loggui"
5142 if test "$enableval" = yes; then
5143 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5145 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5150 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5151 if test "x$LINE" != x
; then
5152 eval "DEFAULT_$LINE"
5157 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5162 eval "$ac_cv_use_loggui"
5163 if test "$no_cache" != 1; then
5164 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5167 if test "$wxUSE_LOGGUI" = yes; then
5168 echo "$ac_t""yes" 1>&6
5170 echo "$ac_t""no" 1>&6
5174 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5175 echo "configure:5176: checking for --enable-logwin" >&5
5177 # Check whether --enable-logwin or --disable-logwin was given.
5178 if test "${enable_logwin+set}" = set; then
5179 enableval
="$enable_logwin"
5181 if test "$enableval" = yes; then
5182 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5184 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5189 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5190 if test "x$LINE" != x
; then
5191 eval "DEFAULT_$LINE"
5196 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5201 eval "$ac_cv_use_logwin"
5202 if test "$no_cache" != 1; then
5203 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5206 if test "$wxUSE_LOGWINDOW" = yes; then
5207 echo "$ac_t""yes" 1>&6
5209 echo "$ac_t""no" 1>&6
5213 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5214 echo "configure:5215: checking for --enable-logdialog" >&5
5216 # Check whether --enable-logdialog or --disable-logdialog was given.
5217 if test "${enable_logdialog+set}" = set; then
5218 enableval
="$enable_logdialog"
5220 if test "$enableval" = yes; then
5221 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5223 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5228 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5229 if test "x$LINE" != x
; then
5230 eval "DEFAULT_$LINE"
5235 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5240 eval "$ac_cv_use_logdialog"
5241 if test "$no_cache" != 1; then
5242 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5245 if test "$wxUSE_LOGDIALOG" = yes; then
5246 echo "$ac_t""yes" 1>&6
5248 echo "$ac_t""no" 1>&6
5253 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5254 echo "configure:5255: checking for --enable-postscript" >&5
5256 # Check whether --enable-postscript or --disable-postscript was given.
5257 if test "${enable_postscript+set}" = set; then
5258 enableval
="$enable_postscript"
5260 if test "$enableval" = yes; then
5261 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5263 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5268 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5269 if test "x$LINE" != x
; then
5270 eval "DEFAULT_$LINE"
5275 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5280 eval "$ac_cv_use_postscript"
5281 if test "$no_cache" != 1; then
5282 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5285 if test "$wxUSE_POSTSCRIPT" = yes; then
5286 echo "$ac_t""yes" 1>&6
5288 echo "$ac_t""no" 1>&6
5295 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5296 echo "configure:5297: checking for --enable-prologio" >&5
5298 # Check whether --enable-prologio or --disable-prologio was given.
5299 if test "${enable_prologio+set}" = set; then
5300 enableval
="$enable_prologio"
5302 if test "$enableval" = yes; then
5303 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5305 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5310 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5311 if test "x$LINE" != x
; then
5312 eval "DEFAULT_$LINE"
5317 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5322 eval "$ac_cv_use_prologio"
5323 if test "$no_cache" != 1; then
5324 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5327 if test "$wxUSE_PROLOGIO" = yes; then
5328 echo "$ac_t""yes" 1>&6
5330 echo "$ac_t""no" 1>&6
5334 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5335 echo "configure:5336: checking for --enable-resources" >&5
5337 # Check whether --enable-resources or --disable-resources was given.
5338 if test "${enable_resources+set}" = set; then
5339 enableval
="$enable_resources"
5341 if test "$enableval" = yes; then
5342 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5344 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5349 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5350 if test "x$LINE" != x
; then
5351 eval "DEFAULT_$LINE"
5356 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5361 eval "$ac_cv_use_resources"
5362 if test "$no_cache" != 1; then
5363 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5366 if test "$wxUSE_RESOURCES" = yes; then
5367 echo "$ac_t""yes" 1>&6
5369 echo "$ac_t""no" 1>&6
5374 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5375 echo "configure:5376: checking for --enable-xresources" >&5
5377 # Check whether --enable-xresources or --disable-xresources was given.
5378 if test "${enable_xresources+set}" = set; then
5379 enableval
="$enable_xresources"
5381 if test "$enableval" = yes; then
5382 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5384 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5389 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5390 if test "x$LINE" != x
; then
5391 eval "DEFAULT_$LINE"
5396 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5401 eval "$ac_cv_use_xresources"
5402 if test "$no_cache" != 1; then
5403 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5406 if test "$wxUSE_X_RESOURCES" = yes; then
5407 echo "$ac_t""yes" 1>&6
5409 echo "$ac_t""no" 1>&6
5415 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5416 echo "configure:5417: checking for --enable-clipboard" >&5
5418 # Check whether --enable-clipboard or --disable-clipboard was given.
5419 if test "${enable_clipboard+set}" = set; then
5420 enableval
="$enable_clipboard"
5422 if test "$enableval" = yes; then
5423 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5425 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5430 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5431 if test "x$LINE" != x
; then
5432 eval "DEFAULT_$LINE"
5437 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5442 eval "$ac_cv_use_clipboard"
5443 if test "$no_cache" != 1; then
5444 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5447 if test "$wxUSE_CLIPBOARD" = yes; then
5448 echo "$ac_t""yes" 1>&6
5450 echo "$ac_t""no" 1>&6
5454 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5455 echo "configure:5456: checking for --enable-dnd" >&5
5457 # Check whether --enable-dnd or --disable-dnd was given.
5458 if test "${enable_dnd+set}" = set; then
5459 enableval
="$enable_dnd"
5461 if test "$enableval" = yes; then
5462 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5464 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5469 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5470 if test "x$LINE" != x
; then
5471 eval "DEFAULT_$LINE"
5476 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5481 eval "$ac_cv_use_dnd"
5482 if test "$no_cache" != 1; then
5483 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5486 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5487 echo "$ac_t""yes" 1>&6
5489 echo "$ac_t""no" 1>&6
5493 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5494 echo "configure:5495: checking for --enable-metafile" >&5
5496 # Check whether --enable-metafile or --disable-metafile was given.
5497 if test "${enable_metafile+set}" = set; then
5498 enableval
="$enable_metafile"
5500 if test "$enableval" = yes; then
5501 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5503 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5508 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5509 if test "x$LINE" != x
; then
5510 eval "DEFAULT_$LINE"
5515 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5520 eval "$ac_cv_use_metafile"
5521 if test "$no_cache" != 1; then
5522 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5525 if test "$wxUSE_METAFILE" = yes; then
5526 echo "$ac_t""yes" 1>&6
5528 echo "$ac_t""no" 1>&6
5533 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5534 echo "configure:5535: checking for --enable-treelayout" >&5
5536 # Check whether --enable-treelayout or --disable-treelayout was given.
5537 if test "${enable_treelayout+set}" = set; then
5538 enableval
="$enable_treelayout"
5540 if test "$enableval" = yes; then
5541 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5543 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5548 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5549 if test "x$LINE" != x
; then
5550 eval "DEFAULT_$LINE"
5555 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5560 eval "$ac_cv_use_treelayout"
5561 if test "$no_cache" != 1; then
5562 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5565 if test "$wxUSE_TREELAYOUT" = yes; then
5566 echo "$ac_t""yes" 1>&6
5568 echo "$ac_t""no" 1>&6
5574 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5575 echo "configure:5576: checking for --enable-controls" >&5
5577 # Check whether --enable-controls or --disable-controls was given.
5578 if test "${enable_controls+set}" = set; then
5579 enableval
="$enable_controls"
5581 if test "$enableval" = yes; then
5582 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5584 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5589 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5590 if test "x$LINE" != x
; then
5591 eval "DEFAULT_$LINE"
5596 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5601 eval "$ac_cv_use_controls"
5602 if test "$no_cache" != 1; then
5603 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5606 if test "$wxUSE_CONTROLS" = yes; then
5607 echo "$ac_t""yes" 1>&6
5609 echo "$ac_t""no" 1>&6
5613 if test "$wxUSE_CONTROLS" = "yes"; then
5614 DEFAULT_wxUSE_ACCEL
=yes
5615 DEFAULT_wxUSE_BMPBUTTON
=yes
5616 DEFAULT_wxUSE_BUTTON
=yes
5617 DEFAULT_wxUSE_CALCTRL
=no
5618 DEFAULT_wxUSE_CARET
=yes
5619 DEFAULT_wxUSE_COMBOBOX
=yes
5620 DEFAULT_wxUSE_CHECKBOX
=yes
5621 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5622 DEFAULT_wxUSE_CHOICE
=yes
5623 DEFAULT_wxUSE_GAUGE
=yes
5624 DEFAULT_wxUSE_GRID
=yes
5625 DEFAULT_wxUSE_NEW_GRID
=yes
5626 DEFAULT_wxUSE_IMAGLIST
=yes
5627 DEFAULT_wxUSE_LISTBOX
=yes
5628 DEFAULT_wxUSE_LISTCTRL
=yes
5629 DEFAULT_wxUSE_NOTEBOOK
=yes
5630 DEFAULT_wxUSE_PROPSHEET
=yes
5631 DEFAULT_wxUSE_RADIOBOX
=yes
5632 DEFAULT_wxUSE_RADIOBTN
=yes
5633 DEFAULT_wxUSE_SASH
=yes
5634 DEFAULT_wxUSE_SCROLLBAR
=yes
5635 DEFAULT_wxUSE_SLIDER
=yes
5636 DEFAULT_wxUSE_SPINBTN
=yes
5637 DEFAULT_wxUSE_SPINCTRL
=yes
5638 DEFAULT_wxUSE_SPLITTER
=yes
5639 DEFAULT_wxUSE_STATBMP
=yes
5640 DEFAULT_wxUSE_STATBOX
=yes
5641 DEFAULT_wxUSE_STATLINE
=yes
5642 DEFAULT_wxUSE_STATUSBAR
=yes
5643 DEFAULT_wxUSE_TAB_DIALOG
=yes
5644 DEFAULT_wxUSE_TOGGLEBTN
=yes
5645 DEFAULT_wxUSE_TOOLBAR
=yes
5646 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5647 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5648 DEFAULT_wxUSE_TOOLTIPS
=yes
5649 DEFAULT_wxUSE_TREECTRL
=yes
5650 DEFAULT_wxUSE_POPUPWIN
=yes
5651 DEFAULT_wxUSE_TIPWINDOW
=yes
5652 elif test "$wxUSE_CONTROLS" = "no"; then
5653 DEFAULT_wxUSE_ACCEL
=no
5654 DEFAULT_wxUSE_BMPBUTTON
=no
5655 DEFAULT_wxUSE_BUTTON
=no
5656 DEFAULT_wxUSE_CALCTRL
=no
5657 DEFAULT_wxUSE_CARET
=no
5658 DEFAULT_wxUSE_COMBOBOX
=no
5659 DEFAULT_wxUSE_CHECKBOX
=no
5660 DEFAULT_wxUSE_CHECKLISTBOX
=no
5661 DEFAULT_wxUSE_CHOICE
=no
5662 DEFAULT_wxUSE_GAUGE
=no
5663 DEFAULT_wxUSE_GRID
=no
5664 DEFAULT_wxUSE_NEW_GRID
=no
5665 DEFAULT_wxUSE_IMAGLIST
=no
5666 DEFAULT_wxUSE_LISTBOX
=no
5667 DEFAULT_wxUSE_LISTCTRL
=no
5668 DEFAULT_wxUSE_NOTEBOOK
=no
5669 DEFAULT_wxUSE_PROPSHEET
=no
5670 DEFAULT_wxUSE_RADIOBOX
=no
5671 DEFAULT_wxUSE_RADIOBTN
=no
5672 DEFAULT_wxUSE_SASH
=no
5673 DEFAULT_wxUSE_SCROLLBAR
=no
5674 DEFAULT_wxUSE_SLIDER
=no
5675 DEFAULT_wxUSE_SPINBTN
=no
5676 DEFAULT_wxUSE_SPINCTRL
=no
5677 DEFAULT_wxUSE_SPLITTER
=no
5678 DEFAULT_wxUSE_STATBMP
=no
5679 DEFAULT_wxUSE_STATBOX
=no
5680 DEFAULT_wxUSE_STATLINE
=no
5681 DEFAULT_wxUSE_STATUSBAR
=no
5682 DEFAULT_wxUSE_TAB_DIALOG
=no
5683 DEFAULT_wxUSE_TOGGLEBTN
=no
5684 DEFAULT_wxUSE_TOOLBAR
=no
5685 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5686 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5687 DEFAULT_wxUSE_TOOLTIPS
=no
5688 DEFAULT_wxUSE_TREECTRL
=no
5689 DEFAULT_wxUSE_POPUPWIN
=no
5690 DEFAULT_wxUSE_TIPWINDOW
=no
5694 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5695 echo "configure:5696: checking for --enable-accel" >&5
5697 # Check whether --enable-accel or --disable-accel was given.
5698 if test "${enable_accel+set}" = set; then
5699 enableval
="$enable_accel"
5701 if test "$enableval" = yes; then
5702 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5704 ac_cv_use_accel
='wxUSE_ACCEL=no'
5709 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5710 if test "x$LINE" != x
; then
5711 eval "DEFAULT_$LINE"
5716 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5721 eval "$ac_cv_use_accel"
5722 if test "$no_cache" != 1; then
5723 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5726 if test "$wxUSE_ACCEL" = yes; then
5727 echo "$ac_t""yes" 1>&6
5729 echo "$ac_t""no" 1>&6
5733 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5734 echo "configure:5735: checking for --enable-button" >&5
5736 # Check whether --enable-button or --disable-button was given.
5737 if test "${enable_button+set}" = set; then
5738 enableval
="$enable_button"
5740 if test "$enableval" = yes; then
5741 ac_cv_use_button
='wxUSE_BUTTON=yes'
5743 ac_cv_use_button
='wxUSE_BUTTON=no'
5748 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x
; then
5750 eval "DEFAULT_$LINE"
5755 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5760 eval "$ac_cv_use_button"
5761 if test "$no_cache" != 1; then
5762 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5765 if test "$wxUSE_BUTTON" = yes; then
5766 echo "$ac_t""yes" 1>&6
5768 echo "$ac_t""no" 1>&6
5772 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5773 echo "configure:5774: checking for --enable-bmpbutton" >&5
5775 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5776 if test "${enable_bmpbutton+set}" = set; then
5777 enableval
="$enable_bmpbutton"
5779 if test "$enableval" = yes; then
5780 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5782 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5787 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5788 if test "x$LINE" != x
; then
5789 eval "DEFAULT_$LINE"
5794 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5799 eval "$ac_cv_use_bmpbutton"
5800 if test "$no_cache" != 1; then
5801 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5804 if test "$wxUSE_BMPBUTTON" = yes; then
5805 echo "$ac_t""yes" 1>&6
5807 echo "$ac_t""no" 1>&6
5811 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5812 echo "configure:5813: checking for --enable-calendar" >&5
5814 # Check whether --enable-calendar or --disable-calendar was given.
5815 if test "${enable_calendar+set}" = set; then
5816 enableval
="$enable_calendar"
5818 if test "$enableval" = yes; then
5819 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5821 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5826 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5827 if test "x$LINE" != x
; then
5828 eval "DEFAULT_$LINE"
5833 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5838 eval "$ac_cv_use_calendar"
5839 if test "$no_cache" != 1; then
5840 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5843 if test "$wxUSE_CALCTRL" = yes; then
5844 echo "$ac_t""yes" 1>&6
5846 echo "$ac_t""no" 1>&6
5850 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5851 echo "configure:5852: checking for --enable-caret" >&5
5853 # Check whether --enable-caret or --disable-caret was given.
5854 if test "${enable_caret+set}" = set; then
5855 enableval
="$enable_caret"
5857 if test "$enableval" = yes; then
5858 ac_cv_use_caret
='wxUSE_CARET=yes'
5860 ac_cv_use_caret
='wxUSE_CARET=no'
5865 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5866 if test "x$LINE" != x
; then
5867 eval "DEFAULT_$LINE"
5872 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5877 eval "$ac_cv_use_caret"
5878 if test "$no_cache" != 1; then
5879 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5882 if test "$wxUSE_CARET" = yes; then
5883 echo "$ac_t""yes" 1>&6
5885 echo "$ac_t""no" 1>&6
5889 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5890 echo "configure:5891: checking for --enable-checkbox" >&5
5892 # Check whether --enable-checkbox or --disable-checkbox was given.
5893 if test "${enable_checkbox+set}" = set; then
5894 enableval
="$enable_checkbox"
5896 if test "$enableval" = yes; then
5897 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5899 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5904 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5905 if test "x$LINE" != x
; then
5906 eval "DEFAULT_$LINE"
5911 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5916 eval "$ac_cv_use_checkbox"
5917 if test "$no_cache" != 1; then
5918 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5921 if test "$wxUSE_CHECKBOX" = yes; then
5922 echo "$ac_t""yes" 1>&6
5924 echo "$ac_t""no" 1>&6
5928 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5929 echo "configure:5930: checking for --enable-checklst" >&5
5931 # Check whether --enable-checklst or --disable-checklst was given.
5932 if test "${enable_checklst+set}" = set; then
5933 enableval
="$enable_checklst"
5935 if test "$enableval" = yes; then
5936 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5938 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5943 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5944 if test "x$LINE" != x
; then
5945 eval "DEFAULT_$LINE"
5950 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5955 eval "$ac_cv_use_checklst"
5956 if test "$no_cache" != 1; then
5957 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5960 if test "$wxUSE_CHECKLST" = yes; then
5961 echo "$ac_t""yes" 1>&6
5963 echo "$ac_t""no" 1>&6
5967 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5968 echo "configure:5969: checking for --enable-choice" >&5
5970 # Check whether --enable-choice or --disable-choice was given.
5971 if test "${enable_choice+set}" = set; then
5972 enableval
="$enable_choice"
5974 if test "$enableval" = yes; then
5975 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5977 ac_cv_use_choice
='wxUSE_CHOICE=no'
5982 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5983 if test "x$LINE" != x
; then
5984 eval "DEFAULT_$LINE"
5989 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5994 eval "$ac_cv_use_choice"
5995 if test "$no_cache" != 1; then
5996 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5999 if test "$wxUSE_CHOICE" = yes; then
6000 echo "$ac_t""yes" 1>&6
6002 echo "$ac_t""no" 1>&6
6006 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6007 echo "configure:6008: checking for --enable-combobox" >&5
6009 # Check whether --enable-combobox or --disable-combobox was given.
6010 if test "${enable_combobox+set}" = set; then
6011 enableval
="$enable_combobox"
6013 if test "$enableval" = yes; then
6014 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6016 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6021 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6022 if test "x$LINE" != x
; then
6023 eval "DEFAULT_$LINE"
6028 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6033 eval "$ac_cv_use_combobox"
6034 if test "$no_cache" != 1; then
6035 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6038 if test "$wxUSE_COMBOBOX" = yes; then
6039 echo "$ac_t""yes" 1>&6
6041 echo "$ac_t""no" 1>&6
6045 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6046 echo "configure:6047: checking for --enable-gauge" >&5
6048 # Check whether --enable-gauge or --disable-gauge was given.
6049 if test "${enable_gauge+set}" = set; then
6050 enableval
="$enable_gauge"
6052 if test "$enableval" = yes; then
6053 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6055 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6060 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6061 if test "x$LINE" != x
; then
6062 eval "DEFAULT_$LINE"
6067 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6072 eval "$ac_cv_use_gauge"
6073 if test "$no_cache" != 1; then
6074 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6077 if test "$wxUSE_GAUGE" = yes; then
6078 echo "$ac_t""yes" 1>&6
6080 echo "$ac_t""no" 1>&6
6084 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6085 echo "configure:6086: checking for --enable-grid" >&5
6087 # Check whether --enable-grid or --disable-grid was given.
6088 if test "${enable_grid+set}" = set; then
6089 enableval
="$enable_grid"
6091 if test "$enableval" = yes; then
6092 ac_cv_use_grid
='wxUSE_GRID=yes'
6094 ac_cv_use_grid
='wxUSE_GRID=no'
6099 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6100 if test "x$LINE" != x
; then
6101 eval "DEFAULT_$LINE"
6106 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6111 eval "$ac_cv_use_grid"
6112 if test "$no_cache" != 1; then
6113 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6116 if test "$wxUSE_GRID" = yes; then
6117 echo "$ac_t""yes" 1>&6
6119 echo "$ac_t""no" 1>&6
6123 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6124 echo "configure:6125: checking for --enable-newgrid" >&5
6126 # Check whether --enable-newgrid or --disable-newgrid was given.
6127 if test "${enable_newgrid+set}" = set; then
6128 enableval
="$enable_newgrid"
6130 if test "$enableval" = yes; then
6131 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6133 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6138 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6139 if test "x$LINE" != x
; then
6140 eval "DEFAULT_$LINE"
6145 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6150 eval "$ac_cv_use_newgrid"
6151 if test "$no_cache" != 1; then
6152 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6155 if test "$wxUSE_NEW_GRID" = yes; then
6156 echo "$ac_t""yes" 1>&6
6158 echo "$ac_t""no" 1>&6
6162 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6163 echo "configure:6164: checking for --enable-imaglist" >&5
6165 # Check whether --enable-imaglist or --disable-imaglist was given.
6166 if test "${enable_imaglist+set}" = set; then
6167 enableval
="$enable_imaglist"
6169 if test "$enableval" = yes; then
6170 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6172 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6177 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6178 if test "x$LINE" != x
; then
6179 eval "DEFAULT_$LINE"
6184 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6189 eval "$ac_cv_use_imaglist"
6190 if test "$no_cache" != 1; then
6191 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6194 if test "$wxUSE_IMAGLIST" = yes; then
6195 echo "$ac_t""yes" 1>&6
6197 echo "$ac_t""no" 1>&6
6201 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6202 echo "configure:6203: checking for --enable-listbox" >&5
6204 # Check whether --enable-listbox or --disable-listbox was given.
6205 if test "${enable_listbox+set}" = set; then
6206 enableval
="$enable_listbox"
6208 if test "$enableval" = yes; then
6209 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6211 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6216 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6217 if test "x$LINE" != x
; then
6218 eval "DEFAULT_$LINE"
6223 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6228 eval "$ac_cv_use_listbox"
6229 if test "$no_cache" != 1; then
6230 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6233 if test "$wxUSE_LISTBOX" = yes; then
6234 echo "$ac_t""yes" 1>&6
6236 echo "$ac_t""no" 1>&6
6240 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6241 echo "configure:6242: checking for --enable-listctrl" >&5
6243 # Check whether --enable-listctrl or --disable-listctrl was given.
6244 if test "${enable_listctrl+set}" = set; then
6245 enableval
="$enable_listctrl"
6247 if test "$enableval" = yes; then
6248 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6250 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6255 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6256 if test "x$LINE" != x
; then
6257 eval "DEFAULT_$LINE"
6262 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6267 eval "$ac_cv_use_listctrl"
6268 if test "$no_cache" != 1; then
6269 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6272 if test "$wxUSE_LISTCTRL" = yes; then
6273 echo "$ac_t""yes" 1>&6
6275 echo "$ac_t""no" 1>&6
6279 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6280 echo "configure:6281: checking for --enable-notebook" >&5
6282 # Check whether --enable-notebook or --disable-notebook was given.
6283 if test "${enable_notebook+set}" = set; then
6284 enableval
="$enable_notebook"
6286 if test "$enableval" = yes; then
6287 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6289 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6294 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6295 if test "x$LINE" != x
; then
6296 eval "DEFAULT_$LINE"
6301 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6306 eval "$ac_cv_use_notebook"
6307 if test "$no_cache" != 1; then
6308 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6311 if test "$wxUSE_NOTEBOOK" = yes; then
6312 echo "$ac_t""yes" 1>&6
6314 echo "$ac_t""no" 1>&6
6318 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6319 echo "configure:6320: checking for --enable-propsheet" >&5
6321 # Check whether --enable-propsheet or --disable-propsheet was given.
6322 if test "${enable_propsheet+set}" = set; then
6323 enableval
="$enable_propsheet"
6325 if test "$enableval" = yes; then
6326 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6328 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6333 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6334 if test "x$LINE" != x
; then
6335 eval "DEFAULT_$LINE"
6340 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6345 eval "$ac_cv_use_propsheet"
6346 if test "$no_cache" != 1; then
6347 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6350 if test "$wxUSE_PROPSHEET" = yes; then
6351 echo "$ac_t""yes" 1>&6
6353 echo "$ac_t""no" 1>&6
6357 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6358 echo "configure:6359: checking for --enable-radiobox" >&5
6360 # Check whether --enable-radiobox or --disable-radiobox was given.
6361 if test "${enable_radiobox+set}" = set; then
6362 enableval
="$enable_radiobox"
6364 if test "$enableval" = yes; then
6365 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6367 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6372 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6373 if test "x$LINE" != x
; then
6374 eval "DEFAULT_$LINE"
6379 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6384 eval "$ac_cv_use_radiobox"
6385 if test "$no_cache" != 1; then
6386 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6389 if test "$wxUSE_RADIOBOX" = yes; then
6390 echo "$ac_t""yes" 1>&6
6392 echo "$ac_t""no" 1>&6
6396 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6397 echo "configure:6398: checking for --enable-radiobtn" >&5
6399 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6400 if test "${enable_radiobtn+set}" = set; then
6401 enableval
="$enable_radiobtn"
6403 if test "$enableval" = yes; then
6404 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6406 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6411 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6412 if test "x$LINE" != x
; then
6413 eval "DEFAULT_$LINE"
6418 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6423 eval "$ac_cv_use_radiobtn"
6424 if test "$no_cache" != 1; then
6425 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6428 if test "$wxUSE_RADIOBTN" = yes; then
6429 echo "$ac_t""yes" 1>&6
6431 echo "$ac_t""no" 1>&6
6435 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6436 echo "configure:6437: checking for --enable-sash" >&5
6438 # Check whether --enable-sash or --disable-sash was given.
6439 if test "${enable_sash+set}" = set; then
6440 enableval
="$enable_sash"
6442 if test "$enableval" = yes; then
6443 ac_cv_use_sash
='wxUSE_SASH=yes'
6445 ac_cv_use_sash
='wxUSE_SASH=no'
6450 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6451 if test "x$LINE" != x
; then
6452 eval "DEFAULT_$LINE"
6457 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6462 eval "$ac_cv_use_sash"
6463 if test "$no_cache" != 1; then
6464 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6467 if test "$wxUSE_SASH" = yes; then
6468 echo "$ac_t""yes" 1>&6
6470 echo "$ac_t""no" 1>&6
6474 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6475 echo "configure:6476: checking for --enable-scrollbar" >&5
6477 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6478 if test "${enable_scrollbar+set}" = set; then
6479 enableval
="$enable_scrollbar"
6481 if test "$enableval" = yes; then
6482 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6484 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6489 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6490 if test "x$LINE" != x
; then
6491 eval "DEFAULT_$LINE"
6496 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6501 eval "$ac_cv_use_scrollbar"
6502 if test "$no_cache" != 1; then
6503 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6506 if test "$wxUSE_SCROLLBAR" = yes; then
6507 echo "$ac_t""yes" 1>&6
6509 echo "$ac_t""no" 1>&6
6513 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6514 echo "configure:6515: checking for --enable-slider" >&5
6516 # Check whether --enable-slider or --disable-slider was given.
6517 if test "${enable_slider+set}" = set; then
6518 enableval
="$enable_slider"
6520 if test "$enableval" = yes; then
6521 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6523 ac_cv_use_slider
='wxUSE_SLIDER=no'
6528 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6529 if test "x$LINE" != x
; then
6530 eval "DEFAULT_$LINE"
6535 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6540 eval "$ac_cv_use_slider"
6541 if test "$no_cache" != 1; then
6542 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6545 if test "$wxUSE_SLIDER" = yes; then
6546 echo "$ac_t""yes" 1>&6
6548 echo "$ac_t""no" 1>&6
6552 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6553 echo "configure:6554: checking for --enable-spinbtn" >&5
6555 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6556 if test "${enable_spinbtn+set}" = set; then
6557 enableval
="$enable_spinbtn"
6559 if test "$enableval" = yes; then
6560 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6562 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6567 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6568 if test "x$LINE" != x
; then
6569 eval "DEFAULT_$LINE"
6574 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6579 eval "$ac_cv_use_spinbtn"
6580 if test "$no_cache" != 1; then
6581 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6584 if test "$wxUSE_SPINBTN" = yes; then
6585 echo "$ac_t""yes" 1>&6
6587 echo "$ac_t""no" 1>&6
6591 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6592 echo "configure:6593: checking for --enable-spinctrl" >&5
6594 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6595 if test "${enable_spinctrl+set}" = set; then
6596 enableval
="$enable_spinctrl"
6598 if test "$enableval" = yes; then
6599 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6601 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6606 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x
; then
6608 eval "DEFAULT_$LINE"
6613 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6618 eval "$ac_cv_use_spinctrl"
6619 if test "$no_cache" != 1; then
6620 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6623 if test "$wxUSE_SPINCTRL" = yes; then
6624 echo "$ac_t""yes" 1>&6
6626 echo "$ac_t""no" 1>&6
6630 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6631 echo "configure:6632: checking for --enable-splitter" >&5
6633 # Check whether --enable-splitter or --disable-splitter was given.
6634 if test "${enable_splitter+set}" = set; then
6635 enableval
="$enable_splitter"
6637 if test "$enableval" = yes; then
6638 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6640 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6645 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6646 if test "x$LINE" != x
; then
6647 eval "DEFAULT_$LINE"
6652 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6657 eval "$ac_cv_use_splitter"
6658 if test "$no_cache" != 1; then
6659 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6662 if test "$wxUSE_SPLITTER" = yes; then
6663 echo "$ac_t""yes" 1>&6
6665 echo "$ac_t""no" 1>&6
6669 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6670 echo "configure:6671: checking for --enable-statbmp" >&5
6672 # Check whether --enable-statbmp or --disable-statbmp was given.
6673 if test "${enable_statbmp+set}" = set; then
6674 enableval
="$enable_statbmp"
6676 if test "$enableval" = yes; then
6677 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6679 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6684 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6685 if test "x$LINE" != x
; then
6686 eval "DEFAULT_$LINE"
6691 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6696 eval "$ac_cv_use_statbmp"
6697 if test "$no_cache" != 1; then
6698 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6701 if test "$wxUSE_STATBMP" = yes; then
6702 echo "$ac_t""yes" 1>&6
6704 echo "$ac_t""no" 1>&6
6708 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6709 echo "configure:6710: checking for --enable-statbox" >&5
6711 # Check whether --enable-statbox or --disable-statbox was given.
6712 if test "${enable_statbox+set}" = set; then
6713 enableval
="$enable_statbox"
6715 if test "$enableval" = yes; then
6716 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6718 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6723 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6724 if test "x$LINE" != x
; then
6725 eval "DEFAULT_$LINE"
6730 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6735 eval "$ac_cv_use_statbox"
6736 if test "$no_cache" != 1; then
6737 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6740 if test "$wxUSE_STATBOX" = yes; then
6741 echo "$ac_t""yes" 1>&6
6743 echo "$ac_t""no" 1>&6
6747 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6748 echo "configure:6749: checking for --enable-statline" >&5
6750 # Check whether --enable-statline or --disable-statline was given.
6751 if test "${enable_statline+set}" = set; then
6752 enableval
="$enable_statline"
6754 if test "$enableval" = yes; then
6755 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6757 ac_cv_use_statline
='wxUSE_STATLINE=no'
6762 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6763 if test "x$LINE" != x
; then
6764 eval "DEFAULT_$LINE"
6769 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6774 eval "$ac_cv_use_statline"
6775 if test "$no_cache" != 1; then
6776 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6779 if test "$wxUSE_STATLINE" = yes; then
6780 echo "$ac_t""yes" 1>&6
6782 echo "$ac_t""no" 1>&6
6786 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6787 echo "configure:6788: checking for --enable-stattext" >&5
6789 # Check whether --enable-stattext or --disable-stattext was given.
6790 if test "${enable_stattext+set}" = set; then
6791 enableval
="$enable_stattext"
6793 if test "$enableval" = yes; then
6794 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6796 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6801 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6802 if test "x$LINE" != x
; then
6803 eval "DEFAULT_$LINE"
6808 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6813 eval "$ac_cv_use_stattext"
6814 if test "$no_cache" != 1; then
6815 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6818 if test "$wxUSE_STATTEXT" = yes; then
6819 echo "$ac_t""yes" 1>&6
6821 echo "$ac_t""no" 1>&6
6825 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6826 echo "configure:6827: checking for --enable-statusbar" >&5
6828 # Check whether --enable-statusbar or --disable-statusbar was given.
6829 if test "${enable_statusbar+set}" = set; then
6830 enableval
="$enable_statusbar"
6832 if test "$enableval" = yes; then
6833 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6835 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6840 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6841 if test "x$LINE" != x
; then
6842 eval "DEFAULT_$LINE"
6847 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6852 eval "$ac_cv_use_statusbar"
6853 if test "$no_cache" != 1; then
6854 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6857 if test "$wxUSE_STATUSBAR" = yes; then
6858 echo "$ac_t""yes" 1>&6
6860 echo "$ac_t""no" 1>&6
6864 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6865 echo "configure:6866: checking for --enable-tabdialog" >&5
6867 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6868 if test "${enable_tabdialog+set}" = set; then
6869 enableval
="$enable_tabdialog"
6871 if test "$enableval" = yes; then
6872 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6874 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6879 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6880 if test "x$LINE" != x
; then
6881 eval "DEFAULT_$LINE"
6886 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6891 eval "$ac_cv_use_tabdialog"
6892 if test "$no_cache" != 1; then
6893 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6896 if test "$wxUSE_TABDIALOG" = yes; then
6897 echo "$ac_t""yes" 1>&6
6899 echo "$ac_t""no" 1>&6
6903 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6904 echo "configure:6905: checking for --enable-textctrl" >&5
6906 # Check whether --enable-textctrl or --disable-textctrl was given.
6907 if test "${enable_textctrl+set}" = set; then
6908 enableval
="$enable_textctrl"
6910 if test "$enableval" = yes; then
6911 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6913 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6918 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6919 if test "x$LINE" != x
; then
6920 eval "DEFAULT_$LINE"
6925 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6930 eval "$ac_cv_use_textctrl"
6931 if test "$no_cache" != 1; then
6932 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6935 if test "$wxUSE_TEXTCTRL" = yes; then
6936 echo "$ac_t""yes" 1>&6
6938 echo "$ac_t""no" 1>&6
6942 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6943 echo "configure:6944: checking for --enable-togglebtn" >&5
6945 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6946 if test "${enable_togglebtn+set}" = set; then
6947 enableval
="$enable_togglebtn"
6949 if test "$enableval" = yes; then
6950 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6952 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6957 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6958 if test "x$LINE" != x
; then
6959 eval "DEFAULT_$LINE"
6964 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6969 eval "$ac_cv_use_togglebtn"
6970 if test "$no_cache" != 1; then
6971 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6974 if test "$wxUSE_TOGGLEBTN" = yes; then
6975 echo "$ac_t""yes" 1>&6
6977 echo "$ac_t""no" 1>&6
6981 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6982 echo "configure:6983: checking for --enable-toolbar" >&5
6984 # Check whether --enable-toolbar or --disable-toolbar was given.
6985 if test "${enable_toolbar+set}" = set; then
6986 enableval
="$enable_toolbar"
6988 if test "$enableval" = yes; then
6989 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6991 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6996 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6997 if test "x$LINE" != x
; then
6998 eval "DEFAULT_$LINE"
7003 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7008 eval "$ac_cv_use_toolbar"
7009 if test "$no_cache" != 1; then
7010 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7013 if test "$wxUSE_TOOLBAR" = yes; then
7014 echo "$ac_t""yes" 1>&6
7016 echo "$ac_t""no" 1>&6
7020 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7021 echo "configure:7022: checking for --enable-tbarnative" >&5
7023 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7024 if test "${enable_tbarnative+set}" = set; then
7025 enableval
="$enable_tbarnative"
7027 if test "$enableval" = yes; then
7028 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7030 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7035 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7036 if test "x$LINE" != x
; then
7037 eval "DEFAULT_$LINE"
7042 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7047 eval "$ac_cv_use_tbarnative"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7052 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7053 echo "$ac_t""yes" 1>&6
7055 echo "$ac_t""no" 1>&6
7059 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7060 echo "configure:7061: checking for --enable-tbarsmpl" >&5
7062 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7063 if test "${enable_tbarsmpl+set}" = set; then
7064 enableval
="$enable_tbarsmpl"
7066 if test "$enableval" = yes; then
7067 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7069 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7074 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7075 if test "x$LINE" != x
; then
7076 eval "DEFAULT_$LINE"
7081 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7086 eval "$ac_cv_use_tbarsmpl"
7087 if test "$no_cache" != 1; then
7088 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7091 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7092 echo "$ac_t""yes" 1>&6
7094 echo "$ac_t""no" 1>&6
7098 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7099 echo "configure:7100: checking for --enable-treectrl" >&5
7101 # Check whether --enable-treectrl or --disable-treectrl was given.
7102 if test "${enable_treectrl+set}" = set; then
7103 enableval
="$enable_treectrl"
7105 if test "$enableval" = yes; then
7106 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7108 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7113 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7114 if test "x$LINE" != x
; then
7115 eval "DEFAULT_$LINE"
7120 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7125 eval "$ac_cv_use_treectrl"
7126 if test "$no_cache" != 1; then
7127 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7130 if test "$wxUSE_TREECTRL" = yes; then
7131 echo "$ac_t""yes" 1>&6
7133 echo "$ac_t""no" 1>&6
7137 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7138 echo "configure:7139: checking for --enable-tipwindow" >&5
7140 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7141 if test "${enable_tipwindow+set}" = set; then
7142 enableval
="$enable_tipwindow"
7144 if test "$enableval" = yes; then
7145 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7147 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7152 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7153 if test "x$LINE" != x
; then
7154 eval "DEFAULT_$LINE"
7159 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7164 eval "$ac_cv_use_tipwindow"
7165 if test "$no_cache" != 1; then
7166 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7169 if test "$wxUSE_TIPWINDOW" = yes; then
7170 echo "$ac_t""yes" 1>&6
7172 echo "$ac_t""no" 1>&6
7176 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7177 echo "configure:7178: checking for --enable-popupwin" >&5
7179 # Check whether --enable-popupwin or --disable-popupwin was given.
7180 if test "${enable_popupwin+set}" = set; then
7181 enableval
="$enable_popupwin"
7183 if test "$enableval" = yes; then
7184 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7186 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7191 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x
; then
7193 eval "DEFAULT_$LINE"
7198 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7203 eval "$ac_cv_use_popupwin"
7204 if test "$no_cache" != 1; then
7205 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7208 if test "$wxUSE_POPUPWIN" = yes; then
7209 echo "$ac_t""yes" 1>&6
7211 echo "$ac_t""no" 1>&6
7217 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7218 echo "configure:7219: checking for --enable-commondlg" >&5
7220 # Check whether --enable-commondlg or --disable-commondlg was given.
7221 if test "${enable_commondlg+set}" = set; then
7222 enableval
="$enable_commondlg"
7224 if test "$enableval" = yes; then
7225 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7227 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7232 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x
; then
7234 eval "DEFAULT_$LINE"
7239 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7244 eval "$ac_cv_use_commondlg"
7245 if test "$no_cache" != 1; then
7246 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7249 if test "$wxUSE_COMMONDLGS" = yes; then
7250 echo "$ac_t""yes" 1>&6
7252 echo "$ac_t""no" 1>&6
7256 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7257 echo "configure:7258: checking for --enable-choicedlg" >&5
7259 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7260 if test "${enable_choicedlg+set}" = set; then
7261 enableval
="$enable_choicedlg"
7263 if test "$enableval" = yes; then
7264 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7266 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7271 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7272 if test "x$LINE" != x
; then
7273 eval "DEFAULT_$LINE"
7278 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7283 eval "$ac_cv_use_choicedlg"
7284 if test "$no_cache" != 1; then
7285 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7288 if test "$wxUSE_CHOICEDLG" = yes; then
7289 echo "$ac_t""yes" 1>&6
7291 echo "$ac_t""no" 1>&6
7295 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7296 echo "configure:7297: checking for --enable-coldlg" >&5
7298 # Check whether --enable-coldlg or --disable-coldlg was given.
7299 if test "${enable_coldlg+set}" = set; then
7300 enableval
="$enable_coldlg"
7302 if test "$enableval" = yes; then
7303 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7305 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7310 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7311 if test "x$LINE" != x
; then
7312 eval "DEFAULT_$LINE"
7317 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7322 eval "$ac_cv_use_coldlg"
7323 if test "$no_cache" != 1; then
7324 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7327 if test "$wxUSE_COLOURDLG" = yes; then
7328 echo "$ac_t""yes" 1>&6
7330 echo "$ac_t""no" 1>&6
7334 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7335 echo "configure:7336: checking for --enable-filedlg" >&5
7337 # Check whether --enable-filedlg or --disable-filedlg was given.
7338 if test "${enable_filedlg+set}" = set; then
7339 enableval
="$enable_filedlg"
7341 if test "$enableval" = yes; then
7342 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7344 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7349 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7350 if test "x$LINE" != x
; then
7351 eval "DEFAULT_$LINE"
7356 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7361 eval "$ac_cv_use_filedlg"
7362 if test "$no_cache" != 1; then
7363 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7366 if test "$wxUSE_FILEDLG" = yes; then
7367 echo "$ac_t""yes" 1>&6
7369 echo "$ac_t""no" 1>&6
7373 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7374 echo "configure:7375: checking for --enable-finddlg" >&5
7376 # Check whether --enable-finddlg or --disable-finddlg was given.
7377 if test "${enable_finddlg+set}" = set; then
7378 enableval
="$enable_finddlg"
7380 if test "$enableval" = yes; then
7381 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7383 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7388 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7389 if test "x$LINE" != x
; then
7390 eval "DEFAULT_$LINE"
7395 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7400 eval "$ac_cv_use_finddlg"
7401 if test "$no_cache" != 1; then
7402 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7405 if test "$wxUSE_FINDREPLDLG" = yes; then
7406 echo "$ac_t""yes" 1>&6
7408 echo "$ac_t""no" 1>&6
7412 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7413 echo "configure:7414: checking for --enable-fontdlg" >&5
7415 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7416 if test "${enable_fontdlg+set}" = set; then
7417 enableval
="$enable_fontdlg"
7419 if test "$enableval" = yes; then
7420 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7422 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7427 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7428 if test "x$LINE" != x
; then
7429 eval "DEFAULT_$LINE"
7434 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7439 eval "$ac_cv_use_fontdlg"
7440 if test "$no_cache" != 1; then
7441 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7444 if test "$wxUSE_FONTDLG" = yes; then
7445 echo "$ac_t""yes" 1>&6
7447 echo "$ac_t""no" 1>&6
7451 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7452 echo "configure:7453: checking for --enable-dirdlg" >&5
7454 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7455 if test "${enable_dirdlg+set}" = set; then
7456 enableval
="$enable_dirdlg"
7458 if test "$enableval" = yes; then
7459 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7461 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7466 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7467 if test "x$LINE" != x
; then
7468 eval "DEFAULT_$LINE"
7473 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7478 eval "$ac_cv_use_dirdlg"
7479 if test "$no_cache" != 1; then
7480 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7483 if test "$wxUSE_DIRDLG" = yes; then
7484 echo "$ac_t""yes" 1>&6
7486 echo "$ac_t""no" 1>&6
7490 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7491 echo "configure:7492: checking for --enable-msgdlg" >&5
7493 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7494 if test "${enable_msgdlg+set}" = set; then
7495 enableval
="$enable_msgdlg"
7497 if test "$enableval" = yes; then
7498 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7500 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7505 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7506 if test "x$LINE" != x
; then
7507 eval "DEFAULT_$LINE"
7512 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7517 eval "$ac_cv_use_msgdlg"
7518 if test "$no_cache" != 1; then
7519 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7522 if test "$wxUSE_MSGDLG" = yes; then
7523 echo "$ac_t""yes" 1>&6
7525 echo "$ac_t""no" 1>&6
7529 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7530 echo "configure:7531: checking for --enable-numberdlg" >&5
7532 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7533 if test "${enable_numberdlg+set}" = set; then
7534 enableval
="$enable_numberdlg"
7536 if test "$enableval" = yes; then
7537 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7539 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7544 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7545 if test "x$LINE" != x
; then
7546 eval "DEFAULT_$LINE"
7551 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7556 eval "$ac_cv_use_numberdlg"
7557 if test "$no_cache" != 1; then
7558 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7561 if test "$wxUSE_NUMBERDLG" = yes; then
7562 echo "$ac_t""yes" 1>&6
7564 echo "$ac_t""no" 1>&6
7568 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7569 echo "configure:7570: checking for --enable-splash" >&5
7571 # Check whether --enable-splash or --disable-splash was given.
7572 if test "${enable_splash+set}" = set; then
7573 enableval
="$enable_splash"
7575 if test "$enableval" = yes; then
7576 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7578 ac_cv_use_splash
='wxUSE_SPLASH=no'
7583 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7584 if test "x$LINE" != x
; then
7585 eval "DEFAULT_$LINE"
7590 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7595 eval "$ac_cv_use_splash"
7596 if test "$no_cache" != 1; then
7597 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7600 if test "$wxUSE_SPLASH" = yes; then
7601 echo "$ac_t""yes" 1>&6
7603 echo "$ac_t""no" 1>&6
7607 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7608 echo "configure:7609: checking for --enable-textdlg" >&5
7610 # Check whether --enable-textdlg or --disable-textdlg was given.
7611 if test "${enable_textdlg+set}" = set; then
7612 enableval
="$enable_textdlg"
7614 if test "$enableval" = yes; then
7615 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7617 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7622 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7623 if test "x$LINE" != x
; then
7624 eval "DEFAULT_$LINE"
7629 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7634 eval "$ac_cv_use_textdlg"
7635 if test "$no_cache" != 1; then
7636 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7639 if test "$wxUSE_TEXTDLG" = yes; then
7640 echo "$ac_t""yes" 1>&6
7642 echo "$ac_t""no" 1>&6
7646 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7647 echo "configure:7648: checking for --enable-tipdlg" >&5
7649 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7650 if test "${enable_tipdlg+set}" = set; then
7651 enableval
="$enable_tipdlg"
7653 if test "$enableval" = yes; then
7654 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7656 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7661 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7662 if test "x$LINE" != x
; then
7663 eval "DEFAULT_$LINE"
7668 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7673 eval "$ac_cv_use_tipdlg"
7674 if test "$no_cache" != 1; then
7675 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7678 if test "$wxUSE_STARTUP_TIPS" = yes; then
7679 echo "$ac_t""yes" 1>&6
7681 echo "$ac_t""no" 1>&6
7685 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7686 echo "configure:7687: checking for --enable-progressdlg" >&5
7688 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7689 if test "${enable_progressdlg+set}" = set; then
7690 enableval
="$enable_progressdlg"
7692 if test "$enableval" = yes; then
7693 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7695 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7700 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7701 if test "x$LINE" != x
; then
7702 eval "DEFAULT_$LINE"
7707 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7712 eval "$ac_cv_use_progressdlg"
7713 if test "$no_cache" != 1; then
7714 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7717 if test "$wxUSE_PROGRESSDLG" = yes; then
7718 echo "$ac_t""yes" 1>&6
7720 echo "$ac_t""no" 1>&6
7724 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7725 echo "configure:7726: checking for --enable-wizarddlg" >&5
7727 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7728 if test "${enable_wizarddlg+set}" = set; then
7729 enableval
="$enable_wizarddlg"
7731 if test "$enableval" = yes; then
7732 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7734 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7739 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7740 if test "x$LINE" != x
; then
7741 eval "DEFAULT_$LINE"
7746 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7751 eval "$ac_cv_use_wizarddlg"
7752 if test "$no_cache" != 1; then
7753 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7756 if test "$wxUSE_WIZARDDLG" = yes; then
7757 echo "$ac_t""yes" 1>&6
7759 echo "$ac_t""no" 1>&6
7765 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7766 echo "configure:7767: checking for --enable-menus" >&5
7768 # Check whether --enable-menus or --disable-menus was given.
7769 if test "${enable_menus+set}" = set; then
7770 enableval
="$enable_menus"
7772 if test "$enableval" = yes; then
7773 ac_cv_use_menus
='wxUSE_MENUS=yes'
7775 ac_cv_use_menus
='wxUSE_MENUS=no'
7780 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7781 if test "x$LINE" != x
; then
7782 eval "DEFAULT_$LINE"
7787 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7792 eval "$ac_cv_use_menus"
7793 if test "$no_cache" != 1; then
7794 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7797 if test "$wxUSE_MENUS" = yes; then
7798 echo "$ac_t""yes" 1>&6
7800 echo "$ac_t""no" 1>&6
7804 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7805 echo "configure:7806: checking for --enable-miniframe" >&5
7807 # Check whether --enable-miniframe or --disable-miniframe was given.
7808 if test "${enable_miniframe+set}" = set; then
7809 enableval
="$enable_miniframe"
7811 if test "$enableval" = yes; then
7812 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7814 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7819 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7820 if test "x$LINE" != x
; then
7821 eval "DEFAULT_$LINE"
7826 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7831 eval "$ac_cv_use_miniframe"
7832 if test "$no_cache" != 1; then
7833 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7836 if test "$wxUSE_MINIFRAME" = yes; then
7837 echo "$ac_t""yes" 1>&6
7839 echo "$ac_t""no" 1>&6
7843 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7844 echo "configure:7845: checking for --enable-tooltips" >&5
7846 # Check whether --enable-tooltips or --disable-tooltips was given.
7847 if test "${enable_tooltips+set}" = set; then
7848 enableval
="$enable_tooltips"
7850 if test "$enableval" = yes; then
7851 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7853 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7858 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7859 if test "x$LINE" != x
; then
7860 eval "DEFAULT_$LINE"
7865 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7870 eval "$ac_cv_use_tooltips"
7871 if test "$no_cache" != 1; then
7872 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7875 if test "$wxUSE_TOOLTIPS" = yes; then
7876 echo "$ac_t""yes" 1>&6
7878 echo "$ac_t""no" 1>&6
7882 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7883 echo "configure:7884: checking for --enable-splines" >&5
7885 # Check whether --enable-splines or --disable-splines was given.
7886 if test "${enable_splines+set}" = set; then
7887 enableval
="$enable_splines"
7889 if test "$enableval" = yes; then
7890 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7892 ac_cv_use_splines
='wxUSE_SPLINES=no'
7897 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x
; then
7899 eval "DEFAULT_$LINE"
7904 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7909 eval "$ac_cv_use_splines"
7910 if test "$no_cache" != 1; then
7911 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7914 if test "$wxUSE_SPLINES" = yes; then
7915 echo "$ac_t""yes" 1>&6
7917 echo "$ac_t""no" 1>&6
7921 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7922 echo "configure:7923: checking for --enable-validators" >&5
7924 # Check whether --enable-validators or --disable-validators was given.
7925 if test "${enable_validators+set}" = set; then
7926 enableval
="$enable_validators"
7928 if test "$enableval" = yes; then
7929 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7931 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7936 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7937 if test "x$LINE" != x
; then
7938 eval "DEFAULT_$LINE"
7943 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7948 eval "$ac_cv_use_validators"
7949 if test "$no_cache" != 1; then
7950 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7953 if test "$wxUSE_VALIDATORS" = yes; then
7954 echo "$ac_t""yes" 1>&6
7956 echo "$ac_t""no" 1>&6
7960 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7961 echo "configure:7962: checking for --enable-busyinfo" >&5
7963 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7964 if test "${enable_busyinfo+set}" = set; then
7965 enableval
="$enable_busyinfo"
7967 if test "$enableval" = yes; then
7968 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7970 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7975 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7976 if test "x$LINE" != x
; then
7977 eval "DEFAULT_$LINE"
7982 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7987 eval "$ac_cv_use_busyinfo"
7988 if test "$no_cache" != 1; then
7989 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7992 if test "$wxUSE_BUSYINFO" = yes; then
7993 echo "$ac_t""yes" 1>&6
7995 echo "$ac_t""no" 1>&6
7999 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
8000 echo "configure:8001: checking for --enable-joystick" >&5
8002 # Check whether --enable-joystick or --disable-joystick was given.
8003 if test "${enable_joystick+set}" = set; then
8004 enableval
="$enable_joystick"
8006 if test "$enableval" = yes; then
8007 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8009 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8014 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8015 if test "x$LINE" != x
; then
8016 eval "DEFAULT_$LINE"
8021 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8026 eval "$ac_cv_use_joystick"
8027 if test "$no_cache" != 1; then
8028 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8031 if test "$wxUSE_JOYSTICK" = yes; then
8032 echo "$ac_t""yes" 1>&6
8034 echo "$ac_t""no" 1>&6
8038 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8039 echo "configure:8040: checking for --enable-metafile" >&5
8041 # Check whether --enable-metafile or --disable-metafile was given.
8042 if test "${enable_metafile+set}" = set; then
8043 enableval
="$enable_metafile"
8045 if test "$enableval" = yes; then
8046 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8048 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8053 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8054 if test "x$LINE" != x
; then
8055 eval "DEFAULT_$LINE"
8060 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8065 eval "$ac_cv_use_metafile"
8066 if test "$no_cache" != 1; then
8067 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8070 if test "$wxUSE_METAFILE" = yes; then
8071 echo "$ac_t""yes" 1>&6
8073 echo "$ac_t""no" 1>&6
8077 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8078 echo "configure:8079: checking for --enable-dragimage" >&5
8080 # Check whether --enable-dragimage or --disable-dragimage was given.
8081 if test "${enable_dragimage+set}" = set; then
8082 enableval
="$enable_dragimage"
8084 if test "$enableval" = yes; then
8085 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8087 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8092 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8093 if test "x$LINE" != x
; then
8094 eval "DEFAULT_$LINE"
8099 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8104 eval "$ac_cv_use_dragimage"
8105 if test "$no_cache" != 1; then
8106 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8109 if test "$wxUSE_DRAGIMAGE" = yes; then
8110 echo "$ac_t""yes" 1>&6
8112 echo "$ac_t""no" 1>&6
8118 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8119 echo "configure:8120: checking for --enable-palette" >&5
8121 # Check whether --enable-palette or --disable-palette was given.
8122 if test "${enable_palette+set}" = set; then
8123 enableval
="$enable_palette"
8125 if test "$enableval" = yes; then
8126 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8128 ac_cv_use_palette
='wxUSE_PALETTE=no'
8133 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8134 if test "x$LINE" != x
; then
8135 eval "DEFAULT_$LINE"
8140 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8145 eval "$ac_cv_use_palette"
8146 if test "$no_cache" != 1; then
8147 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8150 if test "$wxUSE_PALETTE" = yes; then
8151 echo "$ac_t""yes" 1>&6
8153 echo "$ac_t""no" 1>&6
8157 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8158 echo "configure:8159: checking for --enable-image" >&5
8160 # Check whether --enable-image or --disable-image was given.
8161 if test "${enable_image+set}" = set; then
8162 enableval
="$enable_image"
8164 if test "$enableval" = yes; then
8165 ac_cv_use_image
='wxUSE_IMAGE=yes'
8167 ac_cv_use_image
='wxUSE_IMAGE=no'
8172 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8173 if test "x$LINE" != x
; then
8174 eval "DEFAULT_$LINE"
8179 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8184 eval "$ac_cv_use_image"
8185 if test "$no_cache" != 1; then
8186 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8189 if test "$wxUSE_IMAGE" = yes; then
8190 echo "$ac_t""yes" 1>&6
8192 echo "$ac_t""no" 1>&6
8196 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8197 echo "configure:8198: checking for --enable-gif" >&5
8199 # Check whether --enable-gif or --disable-gif was given.
8200 if test "${enable_gif+set}" = set; then
8201 enableval
="$enable_gif"
8203 if test "$enableval" = yes; then
8204 ac_cv_use_gif
='wxUSE_GIF=yes'
8206 ac_cv_use_gif
='wxUSE_GIF=no'
8211 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8212 if test "x$LINE" != x
; then
8213 eval "DEFAULT_$LINE"
8218 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8223 eval "$ac_cv_use_gif"
8224 if test "$no_cache" != 1; then
8225 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8228 if test "$wxUSE_GIF" = yes; then
8229 echo "$ac_t""yes" 1>&6
8231 echo "$ac_t""no" 1>&6
8235 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8236 echo "configure:8237: checking for --enable-pcx" >&5
8238 # Check whether --enable-pcx or --disable-pcx was given.
8239 if test "${enable_pcx+set}" = set; then
8240 enableval
="$enable_pcx"
8242 if test "$enableval" = yes; then
8243 ac_cv_use_pcx
='wxUSE_PCX=yes'
8245 ac_cv_use_pcx
='wxUSE_PCX=no'
8250 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8251 if test "x$LINE" != x
; then
8252 eval "DEFAULT_$LINE"
8257 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8262 eval "$ac_cv_use_pcx"
8263 if test "$no_cache" != 1; then
8264 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8267 if test "$wxUSE_PCX" = yes; then
8268 echo "$ac_t""yes" 1>&6
8270 echo "$ac_t""no" 1>&6
8274 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8275 echo "configure:8276: checking for --enable-iff" >&5
8277 # Check whether --enable-iff or --disable-iff was given.
8278 if test "${enable_iff+set}" = set; then
8279 enableval
="$enable_iff"
8281 if test "$enableval" = yes; then
8282 ac_cv_use_iff
='wxUSE_IFF=yes'
8284 ac_cv_use_iff
='wxUSE_IFF=no'
8289 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8290 if test "x$LINE" != x
; then
8291 eval "DEFAULT_$LINE"
8296 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8301 eval "$ac_cv_use_iff"
8302 if test "$no_cache" != 1; then
8303 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8306 if test "$wxUSE_IFF" = yes; then
8307 echo "$ac_t""yes" 1>&6
8309 echo "$ac_t""no" 1>&6
8313 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8314 echo "configure:8315: checking for --enable-pnm" >&5
8316 # Check whether --enable-pnm or --disable-pnm was given.
8317 if test "${enable_pnm+set}" = set; then
8318 enableval
="$enable_pnm"
8320 if test "$enableval" = yes; then
8321 ac_cv_use_pnm
='wxUSE_PNM=yes'
8323 ac_cv_use_pnm
='wxUSE_PNM=no'
8328 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8329 if test "x$LINE" != x
; then
8330 eval "DEFAULT_$LINE"
8335 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8340 eval "$ac_cv_use_pnm"
8341 if test "$no_cache" != 1; then
8342 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8345 if test "$wxUSE_PNM" = yes; then
8346 echo "$ac_t""yes" 1>&6
8348 echo "$ac_t""no" 1>&6
8352 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8353 echo "configure:8354: checking for --enable-xpm" >&5
8355 # Check whether --enable-xpm or --disable-xpm was given.
8356 if test "${enable_xpm+set}" = set; then
8357 enableval
="$enable_xpm"
8359 if test "$enableval" = yes; then
8360 ac_cv_use_xpm
='wxUSE_XPM=yes'
8362 ac_cv_use_xpm
='wxUSE_XPM=no'
8367 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8368 if test "x$LINE" != x
; then
8369 eval "DEFAULT_$LINE"
8374 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8379 eval "$ac_cv_use_xpm"
8380 if test "$no_cache" != 1; then
8381 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8384 if test "$wxUSE_XPM" = yes; then
8385 echo "$ac_t""yes" 1>&6
8387 echo "$ac_t""no" 1>&6
8391 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8392 echo "configure:8393: checking for --enable-ico_cur" >&5
8394 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8395 if test "${enable_ico_cur+set}" = set; then
8396 enableval
="$enable_ico_cur"
8398 if test "$enableval" = yes; then
8399 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8401 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8406 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8407 if test "x$LINE" != x
; then
8408 eval "DEFAULT_$LINE"
8413 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8418 eval "$ac_cv_use_ico_cur"
8419 if test "$no_cache" != 1; then
8420 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8423 if test "$wxUSE_ICO_CUR" = yes; then
8424 echo "$ac_t""yes" 1>&6
8426 echo "$ac_t""no" 1>&6
8433 *-pc-os2_emx | *-pc-os2-emx )
8444 echo "saving argument cache $wx_arg_cache_file"
8445 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8449 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8450 echo "configure:8451: checking for toolkit" >&5
8452 if test "$wxUSE_GUI" = "yes"; then
8454 if test "$USE_BEOS" = 1; then
8455 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8458 if test "$TOOLKIT_GIVEN" = 1; then
8459 for toolkit
in `echo $ALL_TOOLKITS`; do
8461 eval "value=\$${var}"
8462 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8465 for toolkit
in `echo $ALL_TOOLKITS`; do
8466 if test "$has_toolkit_in_cache" != 1; then
8467 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8469 var
=DEFAULT_wxUSE_
$toolkit
8471 eval "wxUSE_$toolkit=\$${var}"
8475 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8476 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8479 *-pc-os2_emx | *-pc-os2-emx )
8480 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8483 case "$NUM_TOOLKITS" in
8487 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8490 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8493 for toolkit
in `echo $ALL_TOOLKITS`; do
8495 eval "value=\$${var}"
8496 if test "x$value" != x
; then
8497 cache_var
=CACHE_
$toolkit
8498 eval "cache=\$${cache_var}"
8499 if test "$cache" = 1; then
8500 echo "$var=$value" >> ${wx_arg_cache_file}
8502 if test "$value" = 1; then
8503 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8504 echo "$ac_t""$toolkit_echo" 1>&6
8509 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8513 cat > confcache
<<\EOF
8514 # This file is a shell script that caches the results of configure
8515 # tests run on this system so they can be shared between configure
8516 # scripts and configure runs. It is not useful on other systems.
8517 # If it contains results you don't want to keep, you may remove or edit it.
8519 # By default, configure uses ./config.cache as the cache file,
8520 # creating it if it does not exist already. You can give configure
8521 # the --cache-file=FILE option to use a different cache file; that is
8522 # what configure does when it calls configure scripts in
8523 # subdirectories, so they share the cache.
8524 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8525 # config.status only pays attention to the cache file if you give it the
8526 # --recheck option to rerun configure.
8529 # The following way of writing the cache mishandles newlines in values,
8530 # but we know of no workaround that is simple, portable, and efficient.
8531 # So, don't put newlines in cache variables' values.
8532 # Ultrix sh set writes to stderr and can't be redirected directly,
8533 # and sets the high bit in the cache file unless we assign to the vars.
8535 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8537 # `set' does not quote correctly, so add quotes (double-quote substitution
8538 # turns \\\\ into \\, and sed turns \\ into \).
8540 -e "s/'/'\\\\''/g" \
8541 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8544 # `set' quotes correctly as required by POSIX, so do not add quotes.
8545 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8548 if cmp -s $cache_file confcache
; then
8551 if test -w $cache_file; then
8552 echo "updating cache $cache_file"
8553 cat confcache
> $cache_file
8555 echo "not updating unwritable cache $cache_file"
8561 if test "$build" != "$host" ; then
8562 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8566 RANLIB
=$host_alias-ranlib
8567 DLLTOOL
=$host_alias-dlltool
8568 RESCOMP
=$host_alias-windres
8571 STRIP
=$host_alias-strip
8573 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8578 # Extract the first word of "gcc", so it can be a program name with args.
8579 set dummy gcc
; ac_word
=$2
8580 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8581 echo "configure:8582: checking for $ac_word" >&5
8582 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8583 echo $ac_n "(cached) $ac_c" 1>&6
8585 if test -n "$CC"; then
8586 ac_cv_prog_CC
="$CC" # Let the user override the test.
8588 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8590 for ac_dir
in $ac_dummy; do
8591 test -z "$ac_dir" && ac_dir
=.
8592 if test -f $ac_dir/$ac_word; then
8601 if test -n "$CC"; then
8602 echo "$ac_t""$CC" 1>&6
8604 echo "$ac_t""no" 1>&6
8607 if test -z "$CC"; then
8608 # Extract the first word of "cc", so it can be a program name with args.
8609 set dummy cc
; ac_word
=$2
8610 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8611 echo "configure:8612: checking for $ac_word" >&5
8612 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8613 echo $ac_n "(cached) $ac_c" 1>&6
8615 if test -n "$CC"; then
8616 ac_cv_prog_CC
="$CC" # Let the user override the test.
8618 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8621 for ac_dir
in $ac_dummy; do
8622 test -z "$ac_dir" && ac_dir
=.
8623 if test -f $ac_dir/$ac_word; then
8624 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8625 ac_prog_rejected
=yes
8633 if test $ac_prog_rejected = yes; then
8634 # We found a bogon in the path, so make sure we never use it.
8635 set dummy
$ac_cv_prog_CC
8637 if test $# -gt 0; then
8638 # We chose a different compiler from the bogus one.
8639 # However, it has the same basename, so the bogon will be chosen
8640 # first if we set CC to just the basename; use the full file name.
8642 set dummy
"$ac_dir/$ac_word" "$@"
8650 if test -n "$CC"; then
8651 echo "$ac_t""$CC" 1>&6
8653 echo "$ac_t""no" 1>&6
8656 if test -z "$CC"; then
8657 case "`uname -s`" in
8659 # Extract the first word of "cl", so it can be a program name with args.
8660 set dummy cl
; ac_word
=$2
8661 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8662 echo "configure:8663: checking for $ac_word" >&5
8663 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8664 echo $ac_n "(cached) $ac_c" 1>&6
8666 if test -n "$CC"; then
8667 ac_cv_prog_CC
="$CC" # Let the user override the test.
8669 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8671 for ac_dir
in $ac_dummy; do
8672 test -z "$ac_dir" && ac_dir
=.
8673 if test -f $ac_dir/$ac_word; then
8682 if test -n "$CC"; then
8683 echo "$ac_t""$CC" 1>&6
8685 echo "$ac_t""no" 1>&6
8690 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8693 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8694 echo "configure:8695: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8697 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8698 ac_cpp
='$CPP $CPPFLAGS'
8699 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8700 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8701 cross_compiling
=$ac_cv_prog_cc_cross
8703 cat > conftest.
$ac_ext << EOF
8705 #line 8706 "configure"
8706 #include "confdefs.h"
8710 if { (eval echo configure
:8711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8711 ac_cv_prog_cc_works
=yes
8712 # If we can't run a trivial program, we are probably using a cross compiler.
8713 if (.
/conftest
; exit) 2>/dev
/null
; then
8714 ac_cv_prog_cc_cross
=no
8716 ac_cv_prog_cc_cross
=yes
8719 echo "configure: failed program was:" >&5
8720 cat conftest.
$ac_ext >&5
8721 ac_cv_prog_cc_works
=no
8725 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8726 ac_cpp
='$CPP $CPPFLAGS'
8727 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8728 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8729 cross_compiling
=$ac_cv_prog_cc_cross
8731 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8732 if test $ac_cv_prog_cc_works = no
; then
8733 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8735 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8736 echo "configure:8737: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8737 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8738 cross_compiling
=$ac_cv_prog_cc_cross
8740 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8741 echo "configure:8742: checking whether we are using GNU C" >&5
8742 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8743 echo $ac_n "(cached) $ac_c" 1>&6
8745 cat > conftest.c
<<EOF
8750 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8757 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8759 if test $ac_cv_prog_gcc = yes; then
8765 ac_test_CFLAGS
="${CFLAGS+set}"
8766 ac_save_CFLAGS
="$CFLAGS"
8768 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8769 echo "configure:8770: checking whether ${CC-cc} accepts -g" >&5
8770 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8771 echo $ac_n "(cached) $ac_c" 1>&6
8773 echo 'void f(){}' > conftest.c
8774 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8783 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8784 if test "$ac_test_CFLAGS" = set; then
8785 CFLAGS
="$ac_save_CFLAGS"
8786 elif test $ac_cv_prog_cc_g = yes; then
8787 if test "$GCC" = yes; then
8793 if test "$GCC" = yes; then
8801 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8802 echo "configure:8803: checking how to run the C preprocessor" >&5
8803 # On Suns, sometimes $CPP names a directory.
8804 if test -n "$CPP" && test -d "$CPP"; then
8807 if test -z "$CPP"; then
8808 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8809 echo $ac_n "(cached) $ac_c" 1>&6
8811 # This must be in double quotes, not single quotes, because CPP may get
8812 # substituted into the Makefile and "${CC-cc}" will confuse make.
8814 # On the NeXT, cc -E runs the code through the compiler's parser,
8815 # not just through cpp.
8816 cat > conftest.
$ac_ext <<EOF
8817 #line 8818 "configure"
8818 #include "confdefs.h"
8822 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8823 { (eval echo configure
:8824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8824 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8825 if test -z "$ac_err"; then
8829 echo "configure: failed program was:" >&5
8830 cat conftest.
$ac_ext >&5
8832 CPP
="${CC-cc} -E -traditional-cpp"
8833 cat > conftest.
$ac_ext <<EOF
8834 #line 8835 "configure"
8835 #include "confdefs.h"
8839 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8840 { (eval echo configure
:8841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8841 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8842 if test -z "$ac_err"; then
8846 echo "configure: failed program was:" >&5
8847 cat conftest.
$ac_ext >&5
8849 CPP
="${CC-cc} -nologo -E"
8850 cat > conftest.
$ac_ext <<EOF
8851 #line 8852 "configure"
8852 #include "confdefs.h"
8856 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8857 { (eval echo configure
:8858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8858 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8859 if test -z "$ac_err"; then
8863 echo "configure: failed program was:" >&5
8864 cat conftest.
$ac_ext >&5
8873 ac_cv_prog_CPP
="$CPP"
8875 CPP
="$ac_cv_prog_CPP"
8877 ac_cv_prog_CPP
="$CPP"
8879 echo "$ac_t""$CPP" 1>&6
8881 if test $ac_cv_prog_gcc = yes; then
8882 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8883 echo "configure:8884: checking whether ${CC-cc} needs -traditional" >&5
8884 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8885 echo $ac_n "(cached) $ac_c" 1>&6
8887 ac_pattern
="Autoconf.*'x'"
8888 cat > conftest.
$ac_ext <<EOF
8889 #line 8890 "configure"
8890 #include "confdefs.h"
8894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8895 egrep "$ac_pattern" >/dev
/null
2>&1; then
8897 ac_cv_prog_gcc_traditional
=yes
8900 ac_cv_prog_gcc_traditional
=no
8905 if test $ac_cv_prog_gcc_traditional = no
; then
8906 cat > conftest.
$ac_ext <<EOF
8907 #line 8908 "configure"
8908 #include "confdefs.h"
8912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8913 egrep "$ac_pattern" >/dev
/null
2>&1; then
8915 ac_cv_prog_gcc_traditional
=yes
8922 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8923 if test $ac_cv_prog_gcc_traditional = yes; then
8924 CC
="$CC -traditional"
8931 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8932 ac_cpp
='$CXXCPP $CPPFLAGS'
8933 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8934 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8935 cross_compiling
=$ac_cv_prog_cxx_cross
8938 CXXFLAGS
=${CXXFLAGS:=}
8939 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8941 # Extract the first word of "$ac_prog", so it can be a program name with args.
8942 set dummy
$ac_prog; ac_word
=$2
8943 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8944 echo "configure:8945: checking for $ac_word" >&5
8945 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8946 echo $ac_n "(cached) $ac_c" 1>&6
8948 if test -n "$CXX"; then
8949 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8951 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8953 for ac_dir
in $ac_dummy; do
8954 test -z "$ac_dir" && ac_dir
=.
8955 if test -f $ac_dir/$ac_word; then
8956 ac_cv_prog_CXX
="$ac_prog"
8963 CXX
="$ac_cv_prog_CXX"
8964 if test -n "$CXX"; then
8965 echo "$ac_t""$CXX" 1>&6
8967 echo "$ac_t""no" 1>&6
8970 test -n "$CXX" && break
8972 test -n "$CXX" || CXX
="gcc"
8975 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8976 echo "configure:8977: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8979 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8980 ac_cpp
='$CXXCPP $CPPFLAGS'
8981 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8982 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8983 cross_compiling
=$ac_cv_prog_cxx_cross
8985 cat > conftest.
$ac_ext << EOF
8987 #line 8988 "configure"
8988 #include "confdefs.h"
8990 int main(){return(0);}
8992 if { (eval echo configure
:8993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8993 ac_cv_prog_cxx_works
=yes
8994 # If we can't run a trivial program, we are probably using a cross compiler.
8995 if (.
/conftest
; exit) 2>/dev
/null
; then
8996 ac_cv_prog_cxx_cross
=no
8998 ac_cv_prog_cxx_cross
=yes
9001 echo "configure: failed program was:" >&5
9002 cat conftest.
$ac_ext >&5
9003 ac_cv_prog_cxx_works
=no
9007 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9008 ac_cpp
='$CXXCPP $CPPFLAGS'
9009 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9010 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9011 cross_compiling
=$ac_cv_prog_cxx_cross
9013 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9014 if test $ac_cv_prog_cxx_works = no
; then
9015 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9017 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9018 echo "configure:9019: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9019 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9020 cross_compiling
=$ac_cv_prog_cxx_cross
9022 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9023 echo "configure:9024: checking whether we are using GNU C++" >&5
9024 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9025 echo $ac_n "(cached) $ac_c" 1>&6
9027 cat > conftest.C
<<EOF
9032 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9039 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9041 if test $ac_cv_prog_gxx = yes; then
9047 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9048 ac_save_CXXFLAGS
="$CXXFLAGS"
9050 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9051 echo "configure:9052: checking whether ${CXX-g++} accepts -g" >&5
9052 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9053 echo $ac_n "(cached) $ac_c" 1>&6
9055 echo 'void f(){}' > conftest.cc
9056 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9057 ac_cv_prog_cxx_g
=yes
9065 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9066 if test "$ac_test_CXXFLAGS" = set; then
9067 CXXFLAGS
="$ac_save_CXXFLAGS"
9068 elif test $ac_cv_prog_cxx_g = yes; then
9069 if test "$GXX" = yes; then
9075 if test "$GXX" = yes; then
9084 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9085 ac_cpp
='$CPP $CPPFLAGS'
9086 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9087 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9088 cross_compiling
=$ac_cv_prog_cc_cross
9091 # Extract the first word of "ranlib", so it can be a program name with args.
9092 set dummy ranlib
; ac_word
=$2
9093 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9094 echo "configure:9095: checking for $ac_word" >&5
9095 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9096 echo $ac_n "(cached) $ac_c" 1>&6
9098 if test -n "$RANLIB"; then
9099 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9101 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9103 for ac_dir
in $ac_dummy; do
9104 test -z "$ac_dir" && ac_dir
=.
9105 if test -f $ac_dir/$ac_word; then
9106 ac_cv_prog_RANLIB
="ranlib"
9111 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9114 RANLIB
="$ac_cv_prog_RANLIB"
9115 if test -n "$RANLIB"; then
9116 echo "$ac_t""$RANLIB" 1>&6
9118 echo "$ac_t""no" 1>&6
9122 # Extract the first word of "ar", so it can be a program name with args.
9123 set dummy
ar; ac_word
=$2
9124 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9125 echo "configure:9126: checking for $ac_word" >&5
9126 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9127 echo $ac_n "(cached) $ac_c" 1>&6
9129 if test -n "$AR"; then
9130 ac_cv_prog_AR
="$AR" # Let the user override the test.
9132 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9134 for ac_dir
in $ac_dummy; do
9135 test -z "$ac_dir" && ac_dir
=.
9136 if test -f $ac_dir/$ac_word; then
9142 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9146 if test -n "$AR"; then
9147 echo "$ac_t""$AR" 1>&6
9149 echo "$ac_t""no" 1>&6
9153 # Find a good install program. We prefer a C program (faster),
9154 # so one script is as good as another. But avoid the broken or
9155 # incompatible versions:
9156 # SysV /etc/install, /usr/sbin/install
9157 # SunOS /usr/etc/install
9158 # IRIX /sbin/install
9160 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9161 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9162 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9163 # ./install, which can be erroneously created by make from ./install.sh.
9164 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9165 echo "configure:9166: checking for a BSD compatible install" >&5
9166 if test -z "$INSTALL"; then
9167 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9168 echo $ac_n "(cached) $ac_c" 1>&6
9170 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9171 for ac_dir
in $PATH; do
9172 # Account for people who put trailing slashes in PATH elements.
9174 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9176 # OSF1 and SCO ODT 3.0 have their own names for install.
9177 # Don't use installbsd from OSF since it installs stuff as root
9179 for ac_prog
in ginstall scoinst
install; do
9180 if test -f $ac_dir/$ac_prog; then
9181 if test $ac_prog = install &&
9182 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9183 # AIX install. It has an incompatible calling convention.
9186 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9197 if test "${ac_cv_path_install+set}" = set; then
9198 INSTALL
="$ac_cv_path_install"
9200 # As a last resort, use the slow shell script. We don't cache a
9201 # path for INSTALL within a source directory, because that will
9202 # break other packages using the cache if that directory is
9203 # removed, or if the path is relative.
9204 INSTALL
="$ac_install_sh"
9207 echo "$ac_t""$INSTALL" 1>&6
9209 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9210 # It thinks the first close brace ends the variable substitution.
9211 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9213 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9215 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9222 INSTALL
=`pwd`/${INSTALL} ;;
9229 INSTALL_PROGRAM
="cp -fp"
9230 INSTALL_DATA
="cp -fp"
9236 # Extract the first word of "strip", so it can be a program name with args.
9237 set dummy strip
; ac_word
=$2
9238 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9239 echo "configure:9240: checking for $ac_word" >&5
9240 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9241 echo $ac_n "(cached) $ac_c" 1>&6
9243 if test -n "$STRIP"; then
9244 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9246 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9248 for ac_dir
in $ac_dummy; do
9249 test -z "$ac_dir" && ac_dir
=.
9250 if test -f $ac_dir/$ac_word; then
9251 ac_cv_prog_STRIP
="strip"
9256 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9259 STRIP
="$ac_cv_prog_STRIP"
9260 if test -n "$STRIP"; then
9261 echo "$ac_t""$STRIP" 1>&6
9263 echo "$ac_t""no" 1>&6
9267 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9268 echo "configure:9269: checking if make is GNU make" >&5
9269 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9270 echo $ac_n "(cached) $ac_c" 1>&6
9273 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9274 egrep -s GNU
> /dev
/null
); then
9275 wx_cv_prog_makeisgnu
="yes"
9277 wx_cv_prog_makeisgnu
="no"
9282 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9284 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9292 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9293 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9294 echo "configure:9295: checking if make supports VPATH" >&5
9295 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9296 echo $ac_n "(cached) $ac_c" 1>&6
9299 cat - << EOF > confMake
9305 if test ! -d sub
; then
9308 echo dummy
> sub
/file
9309 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9311 rm -f sub
/file check final_file confMake
9313 if test "$RESULT" = 0; then
9314 wx_cv_prog_makevpath
="yes"
9316 wx_cv_prog_makevpath
="no"
9321 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9323 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9324 { echo "configure: error:
9325 You need a make-utility that is able to use the variable
9327 If your version of make does not support VPATH correctly,
9328 please install GNU-make (possibly as gmake), and start
9329 configure with the following command:
9330 export MAKE=gmake; ./configure for sh-type shells
9331 setenv MAKE gmake; ./configure for csh-type shells
9332 Also please do remember to use gmake in this case every time
9333 you are trying to compile.
9336 for ac_prog
in 'bison -y' byacc
9338 # Extract the first word of "$ac_prog", so it can be a program name with args.
9339 set dummy
$ac_prog; ac_word
=$2
9340 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9341 echo "configure:9342: checking for $ac_word" >&5
9342 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9343 echo $ac_n "(cached) $ac_c" 1>&6
9345 if test -n "$YACC"; then
9346 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9348 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9350 for ac_dir
in $ac_dummy; do
9351 test -z "$ac_dir" && ac_dir
=.
9352 if test -f $ac_dir/$ac_word; then
9353 ac_cv_prog_YACC
="$ac_prog"
9360 YACC
="$ac_cv_prog_YACC"
9361 if test -n "$YACC"; then
9362 echo "$ac_t""$YACC" 1>&6
9364 echo "$ac_t""no" 1>&6
9367 test -n "$YACC" && break
9369 test -n "$YACC" || YACC
="yacc"
9372 # Extract the first word of "flex", so it can be a program name with args.
9373 set dummy flex
; ac_word
=$2
9374 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9375 echo "configure:9376: checking for $ac_word" >&5
9376 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9377 echo $ac_n "(cached) $ac_c" 1>&6
9379 if test -n "$LEX"; then
9380 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9382 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9384 for ac_dir
in $ac_dummy; do
9385 test -z "$ac_dir" && ac_dir
=.
9386 if test -f $ac_dir/$ac_word; then
9387 ac_cv_prog_LEX
="flex"
9392 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9395 LEX
="$ac_cv_prog_LEX"
9396 if test -n "$LEX"; then
9397 echo "$ac_t""$LEX" 1>&6
9399 echo "$ac_t""no" 1>&6
9402 if test -z "$LEXLIB"
9408 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9409 echo "configure:9410: checking for yywrap in -l$ac_lib" >&5
9410 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9411 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9412 echo $ac_n "(cached) $ac_c" 1>&6
9414 ac_save_LIBS
="$LIBS"
9415 LIBS
="-l$ac_lib $LIBS"
9416 cat > conftest.
$ac_ext <<EOF
9417 #line 9418 "configure"
9418 #include "confdefs.h"
9419 /* Override any gcc2 internal prototype to avoid an error. */
9420 /* We use char because int might match the return type of a gcc2
9421 builtin and then its argument prototype would still apply. */
9428 if { (eval echo configure
:9429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9430 eval "ac_cv_lib_$ac_lib_var=yes"
9432 echo "configure: failed program was:" >&5
9433 cat conftest.
$ac_ext >&5
9435 eval "ac_cv_lib_$ac_lib_var=no"
9438 LIBS
="$ac_save_LIBS"
9441 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9442 echo "$ac_t""yes" 1>&6
9445 echo "$ac_t""no" 1>&6
9451 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9452 echo "configure:9453: checking whether ln -s works" >&5
9453 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9454 echo $ac_n "(cached) $ac_c" 1>&6
9457 if ln -s X conftestdata
2>/dev
/null
9460 ac_cv_prog_LN_S
="ln -s"
9465 LN_S
="$ac_cv_prog_LN_S"
9466 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9467 echo "$ac_t""yes" 1>&6
9469 echo "$ac_t""no" 1>&6
9474 if test "$wxUSE_MAC" != 1; then
9475 for ac_hdr
in strings.h
9477 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9478 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9479 echo "configure:9480: checking for $ac_hdr" >&5
9480 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9481 echo $ac_n "(cached) $ac_c" 1>&6
9483 cat > conftest.
$ac_ext <<EOF
9484 #line 9485 "configure"
9485 #include "confdefs.h"
9488 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9489 { (eval echo configure
:9490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9490 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9491 if test -z "$ac_err"; then
9493 eval "ac_cv_header_$ac_safe=yes"
9496 echo "configure: failed program was:" >&5
9497 cat conftest.
$ac_ext >&5
9499 eval "ac_cv_header_$ac_safe=no"
9503 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9504 echo "$ac_t""yes" 1>&6
9505 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9506 cat >> confdefs.h
<<EOF
9507 #define $ac_tr_hdr 1
9511 echo "$ac_t""no" 1>&6
9517 for ac_hdr
in stdlib.h
9519 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9520 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9521 echo "configure:9522: checking for $ac_hdr" >&5
9522 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9523 echo $ac_n "(cached) $ac_c" 1>&6
9525 cat > conftest.
$ac_ext <<EOF
9526 #line 9527 "configure"
9527 #include "confdefs.h"
9530 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9531 { (eval echo configure
:9532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9532 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9533 if test -z "$ac_err"; then
9535 eval "ac_cv_header_$ac_safe=yes"
9538 echo "configure: failed program was:" >&5
9539 cat conftest.
$ac_ext >&5
9541 eval "ac_cv_header_$ac_safe=no"
9545 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9546 echo "$ac_t""yes" 1>&6
9547 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9548 cat >> confdefs.h
<<EOF
9549 #define $ac_tr_hdr 1
9553 echo "$ac_t""no" 1>&6
9557 for ac_hdr
in malloc.h
9559 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9560 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9561 echo "configure:9562: checking for $ac_hdr" >&5
9562 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9563 echo $ac_n "(cached) $ac_c" 1>&6
9565 cat > conftest.
$ac_ext <<EOF
9566 #line 9567 "configure"
9567 #include "confdefs.h"
9570 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9571 { (eval echo configure
:9572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9572 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9573 if test -z "$ac_err"; then
9575 eval "ac_cv_header_$ac_safe=yes"
9578 echo "configure: failed program was:" >&5
9579 cat conftest.
$ac_ext >&5
9581 eval "ac_cv_header_$ac_safe=no"
9585 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9586 echo "$ac_t""yes" 1>&6
9587 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9588 cat >> confdefs.h
<<EOF
9589 #define $ac_tr_hdr 1
9593 echo "$ac_t""no" 1>&6
9597 for ac_hdr
in unistd.h
9599 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9600 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9601 echo "configure:9602: checking for $ac_hdr" >&5
9602 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9603 echo $ac_n "(cached) $ac_c" 1>&6
9605 cat > conftest.
$ac_ext <<EOF
9606 #line 9607 "configure"
9607 #include "confdefs.h"
9610 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9611 { (eval echo configure
:9612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9612 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9613 if test -z "$ac_err"; then
9615 eval "ac_cv_header_$ac_safe=yes"
9618 echo "configure: failed program was:" >&5
9619 cat conftest.
$ac_ext >&5
9621 eval "ac_cv_header_$ac_safe=no"
9625 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9626 echo "$ac_t""yes" 1>&6
9627 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9628 cat >> confdefs.h
<<EOF
9629 #define $ac_tr_hdr 1
9633 echo "$ac_t""no" 1>&6
9637 for ac_hdr
in wchar.h
9639 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9640 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9641 echo "configure:9642: checking for $ac_hdr" >&5
9642 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9643 echo $ac_n "(cached) $ac_c" 1>&6
9645 cat > conftest.
$ac_ext <<EOF
9646 #line 9647 "configure"
9647 #include "confdefs.h"
9650 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9651 { (eval echo configure
:9652: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9652 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9653 if test -z "$ac_err"; then
9655 eval "ac_cv_header_$ac_safe=yes"
9658 echo "configure: failed program was:" >&5
9659 cat conftest.
$ac_ext >&5
9661 eval "ac_cv_header_$ac_safe=no"
9665 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9666 echo "$ac_t""yes" 1>&6
9667 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9668 cat >> confdefs.h
<<EOF
9669 #define $ac_tr_hdr 1
9673 echo "$ac_t""no" 1>&6
9678 if test "$ac_cv_header_wchar_h" != "yes"; then
9679 for ac_hdr
in wcstr.h
9681 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9682 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9683 echo "configure:9684: checking for $ac_hdr" >&5
9684 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9685 echo $ac_n "(cached) $ac_c" 1>&6
9687 cat > conftest.
$ac_ext <<EOF
9688 #line 9689 "configure"
9689 #include "confdefs.h"
9692 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9693 { (eval echo configure
:9694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9694 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9695 if test -z "$ac_err"; then
9697 eval "ac_cv_header_$ac_safe=yes"
9700 echo "configure: failed program was:" >&5
9701 cat conftest.
$ac_ext >&5
9703 eval "ac_cv_header_$ac_safe=no"
9707 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9708 echo "$ac_t""yes" 1>&6
9709 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9710 cat >> confdefs.h
<<EOF
9711 #define $ac_tr_hdr 1
9715 echo "$ac_t""no" 1>&6
9722 for ac_hdr
in fnmatch.h
9724 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9725 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9726 echo "configure:9727: checking for $ac_hdr" >&5
9727 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9728 echo $ac_n "(cached) $ac_c" 1>&6
9730 cat > conftest.
$ac_ext <<EOF
9731 #line 9732 "configure"
9732 #include "confdefs.h"
9735 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9736 { (eval echo configure
:9737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9737 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9738 if test -z "$ac_err"; then
9740 eval "ac_cv_header_$ac_safe=yes"
9743 echo "configure: failed program was:" >&5
9744 cat conftest.
$ac_ext >&5
9746 eval "ac_cv_header_$ac_safe=no"
9750 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9751 echo "$ac_t""yes" 1>&6
9752 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9753 cat >> confdefs.h
<<EOF
9754 #define $ac_tr_hdr 1
9758 echo "$ac_t""no" 1>&6
9763 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
9764 for ac_func
in fnmatch
9766 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9767 echo "configure:9768: checking for $ac_func" >&5
9768 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9769 echo $ac_n "(cached) $ac_c" 1>&6
9771 cat > conftest.
$ac_ext <<EOF
9772 #line 9773 "configure"
9773 #include "confdefs.h"
9774 /* System header to define __stub macros and hopefully few prototypes,
9775 which can conflict with char $ac_func(); below. */
9777 /* Override any gcc2 internal prototype to avoid an error. */
9778 /* We use char because int might match the return type of a gcc2
9779 builtin and then its argument prototype would still apply. */
9784 /* The GNU C library defines this for functions which it implements
9785 to always fail with ENOSYS. Some functions are actually named
9786 something starting with __ and the normal name is an alias. */
9787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9795 if { (eval echo configure
:9796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9797 eval "ac_cv_func_$ac_func=yes"
9799 echo "configure: failed program was:" >&5
9800 cat conftest.
$ac_ext >&5
9802 eval "ac_cv_func_$ac_func=no"
9807 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9808 echo "$ac_t""yes" 1>&6
9809 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9810 cat >> confdefs.h
<<EOF
9811 #define $ac_tr_func 1
9815 echo "$ac_t""no" 1>&6
9821 for ac_hdr
in langinfo.h
9823 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9824 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9825 echo "configure:9826: checking for $ac_hdr" >&5
9826 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9827 echo $ac_n "(cached) $ac_c" 1>&6
9829 cat > conftest.
$ac_ext <<EOF
9830 #line 9831 "configure"
9831 #include "confdefs.h"
9834 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9835 { (eval echo configure
:9836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9836 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9837 if test -z "$ac_err"; then
9839 eval "ac_cv_header_$ac_safe=yes"
9842 echo "configure: failed program was:" >&5
9843 cat conftest.
$ac_ext >&5
9845 eval "ac_cv_header_$ac_safe=no"
9849 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9850 echo "$ac_t""yes" 1>&6
9851 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9852 cat >> confdefs.h
<<EOF
9853 #define $ac_tr_hdr 1
9857 echo "$ac_t""no" 1>&6
9862 if test "$wxUSE_GUI" = "yes"; then
9863 if test "$wxUSE_UNIX" = "yes"; then
9864 for ac_hdr
in X
11/XKBlib.h
9866 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9867 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9868 echo "configure:9869: checking for $ac_hdr" >&5
9869 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9870 echo $ac_n "(cached) $ac_c" 1>&6
9872 cat > conftest.
$ac_ext <<EOF
9873 #line 9874 "configure"
9874 #include "confdefs.h"
9877 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9878 { (eval echo configure
:9879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9879 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9880 if test -z "$ac_err"; then
9882 eval "ac_cv_header_$ac_safe=yes"
9885 echo "configure: failed program was:" >&5
9886 cat conftest.
$ac_ext >&5
9888 eval "ac_cv_header_$ac_safe=no"
9892 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9893 echo "$ac_t""yes" 1>&6
9894 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9895 cat >> confdefs.h
<<EOF
9896 #define $ac_tr_hdr 1
9900 echo "$ac_t""no" 1>&6
9908 echo $ac_n "checking for working const""... $ac_c" 1>&6
9909 echo "configure:9910: checking for working const" >&5
9910 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9911 echo $ac_n "(cached) $ac_c" 1>&6
9913 cat > conftest.
$ac_ext <<EOF
9914 #line 9915 "configure"
9915 #include "confdefs.h"
9919 /* Ultrix mips cc rejects this. */
9920 typedef int charset[2]; const charset x;
9921 /* SunOS 4.1.1 cc rejects this. */
9922 char const *const *ccp;
9924 /* NEC SVR4.0.2 mips cc rejects this. */
9925 struct point {int x, y;};
9926 static struct point const zero = {0,0};
9927 /* AIX XL C 1.02.0.0 rejects this.
9928 It does not let you subtract one const X* pointer from another in an arm
9929 of an if-expression whose if-part is not a constant expression */
9930 const char *g = "string";
9931 ccp = &g + (g ? g-g : 0);
9932 /* HPUX 7.0 cc rejects these. */
9935 ccp = (char const *const *) p;
9936 { /* SCO 3.2v4 cc rejects this. */
9938 char const *s = 0 ? (char *) 0 : (char const *) 0;
9942 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9944 const int *foo = &x[0];
9947 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9948 typedef const int *iptr;
9952 { /* AIX XL C 1.02.0.0 rejects this saying
9953 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9954 struct s { int j; const int *ap[3]; };
9955 struct s *b; b->j = 5;
9957 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9963 if { (eval echo configure
:9964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9967 echo "configure: failed program was:" >&5
9968 cat conftest.
$ac_ext >&5
9975 echo "$ac_t""$ac_cv_c_const" 1>&6
9976 if test $ac_cv_c_const = no
; then
9977 cat >> confdefs.h
<<\EOF
9983 echo $ac_n "checking for inline""... $ac_c" 1>&6
9984 echo "configure:9985: checking for inline" >&5
9985 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
9986 echo $ac_n "(cached) $ac_c" 1>&6
9989 for ac_kw
in inline __inline__ __inline
; do
9990 cat > conftest.
$ac_ext <<EOF
9991 #line 9992 "configure"
9992 #include "confdefs.h"
9998 if { (eval echo configure
:9999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10000 ac_cv_c_inline
=$ac_kw; break
10002 echo "configure: failed program was:" >&5
10003 cat conftest.
$ac_ext >&5
10010 echo "$ac_t""$ac_cv_c_inline" 1>&6
10011 case "$ac_cv_c_inline" in
10013 no
) cat >> confdefs.h
<<\EOF
10017 *) cat >> confdefs.h
<<EOF
10018 #define inline $ac_cv_c_inline
10024 echo $ac_n "checking size of char""... $ac_c" 1>&6
10025 echo "configure:10026: checking size of char" >&5
10026 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10027 echo $ac_n "(cached) $ac_c" 1>&6
10029 if test "$cross_compiling" = yes; then
10030 ac_cv_sizeof_char
=1
10032 cat > conftest.
$ac_ext <<EOF
10033 #line 10034 "configure"
10034 #include "confdefs.h"
10038 FILE *f=fopen("conftestval", "w");
10040 fprintf(f, "%d\n", sizeof(char));
10044 if { (eval echo configure
:10045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10046 ac_cv_sizeof_char
=`cat conftestval`
10048 echo "configure: failed program was:" >&5
10049 cat conftest.
$ac_ext >&5
10051 ac_cv_sizeof_char
=0
10057 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10058 cat >> confdefs.h
<<EOF
10059 #define SIZEOF_CHAR $ac_cv_sizeof_char
10063 echo $ac_n "checking size of short""... $ac_c" 1>&6
10064 echo "configure:10065: checking size of short" >&5
10065 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10066 echo $ac_n "(cached) $ac_c" 1>&6
10068 if test "$cross_compiling" = yes; then
10069 ac_cv_sizeof_short
=2
10071 cat > conftest.
$ac_ext <<EOF
10072 #line 10073 "configure"
10073 #include "confdefs.h"
10077 FILE *f=fopen("conftestval", "w");
10079 fprintf(f, "%d\n", sizeof(short));
10083 if { (eval echo configure
:10084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10085 ac_cv_sizeof_short
=`cat conftestval`
10087 echo "configure: failed program was:" >&5
10088 cat conftest.
$ac_ext >&5
10090 ac_cv_sizeof_short
=0
10096 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10097 cat >> confdefs.h
<<EOF
10098 #define SIZEOF_SHORT $ac_cv_sizeof_short
10102 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10103 echo "configure:10104: checking size of void *" >&5
10104 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10105 echo $ac_n "(cached) $ac_c" 1>&6
10107 if test "$cross_compiling" = yes; then
10108 ac_cv_sizeof_void_p
=4
10110 cat > conftest.
$ac_ext <<EOF
10111 #line 10112 "configure"
10112 #include "confdefs.h"
10116 FILE *f=fopen("conftestval", "w");
10118 fprintf(f, "%d\n", sizeof(void *));
10122 if { (eval echo configure
:10123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10124 ac_cv_sizeof_void_p
=`cat conftestval`
10126 echo "configure: failed program was:" >&5
10127 cat conftest.
$ac_ext >&5
10129 ac_cv_sizeof_void_p
=0
10135 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10136 cat >> confdefs.h
<<EOF
10137 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10141 echo $ac_n "checking size of int""... $ac_c" 1>&6
10142 echo "configure:10143: checking size of int" >&5
10143 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10144 echo $ac_n "(cached) $ac_c" 1>&6
10146 if test "$cross_compiling" = yes; then
10149 cat > conftest.
$ac_ext <<EOF
10150 #line 10151 "configure"
10151 #include "confdefs.h"
10155 FILE *f=fopen("conftestval", "w");
10157 fprintf(f, "%d\n", sizeof(int));
10161 if { (eval echo configure
:10162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10163 ac_cv_sizeof_int
=`cat conftestval`
10165 echo "configure: failed program was:" >&5
10166 cat conftest.
$ac_ext >&5
10174 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10175 cat >> confdefs.h
<<EOF
10176 #define SIZEOF_INT $ac_cv_sizeof_int
10180 echo $ac_n "checking size of long""... $ac_c" 1>&6
10181 echo "configure:10182: checking size of long" >&5
10182 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10183 echo $ac_n "(cached) $ac_c" 1>&6
10185 if test "$cross_compiling" = yes; then
10186 ac_cv_sizeof_long
=4
10188 cat > conftest.
$ac_ext <<EOF
10189 #line 10190 "configure"
10190 #include "confdefs.h"
10194 FILE *f=fopen("conftestval", "w");
10196 fprintf(f, "%d\n", sizeof(long));
10200 if { (eval echo configure
:10201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10202 ac_cv_sizeof_long
=`cat conftestval`
10204 echo "configure: failed program was:" >&5
10205 cat conftest.
$ac_ext >&5
10207 ac_cv_sizeof_long
=0
10213 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10214 cat >> confdefs.h
<<EOF
10215 #define SIZEOF_LONG $ac_cv_sizeof_long
10222 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10223 echo "configure:10224: checking size of long long" >&5
10224 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10225 echo $ac_n "(cached) $ac_c" 1>&6
10227 if test "$cross_compiling" = yes; then
10228 ac_cv_sizeof_long_long
=8
10230 cat > conftest.
$ac_ext <<EOF
10231 #line 10232 "configure"
10232 #include "confdefs.h"
10236 FILE *f=fopen("conftestval", "w");
10238 fprintf(f, "%d\n", sizeof(long long));
10242 if { (eval echo configure
:10243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10244 ac_cv_sizeof_long_long
=`cat conftestval`
10246 echo "configure: failed program was:" >&5
10247 cat conftest.
$ac_ext >&5
10249 ac_cv_sizeof_long_long
=0
10255 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10256 cat >> confdefs.h
<<EOF
10257 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10263 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10264 echo "configure:10265: checking size of long long" >&5
10265 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10266 echo $ac_n "(cached) $ac_c" 1>&6
10268 if test "$cross_compiling" = yes; then
10269 ac_cv_sizeof_long_long
=0
10271 cat > conftest.
$ac_ext <<EOF
10272 #line 10273 "configure"
10273 #include "confdefs.h"
10277 FILE *f=fopen("conftestval", "w");
10279 fprintf(f, "%d\n", sizeof(long long));
10283 if { (eval echo configure
:10284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10285 ac_cv_sizeof_long_long
=`cat conftestval`
10287 echo "configure: failed program was:" >&5
10288 cat conftest.
$ac_ext >&5
10290 ac_cv_sizeof_long_long
=0
10296 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10297 cat >> confdefs.h
<<EOF
10298 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10304 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10305 echo "configure:10306: checking size of wchar_t" >&5
10306 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10307 echo $ac_n "(cached) $ac_c" 1>&6
10310 if test "$cross_compiling" = yes; then
10311 wx_cv_sizeof_wchar_t
=4
10314 cat > conftest.
$ac_ext <<EOF
10315 #line 10316 "configure"
10316 #include "confdefs.h"
10318 #ifdef HAVE_WCHAR_H
10320 # include <stddef.h>
10322 # include <wchar.h>
10324 #ifdef HAVE_STDLIB_H
10325 # include <stdlib.h>
10330 FILE *f=fopen("conftestval", "w");
10332 fprintf(f, "%i", sizeof(wchar_t));
10337 if { (eval echo configure
:10338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10339 wx_cv_sizeof_wchar_t
=`cat conftestval`
10341 echo "configure: failed program was:" >&5
10342 cat conftest.
$ac_ext >&5
10344 wx_cv_sizeof_wchar_t
=0
10352 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10354 cat >> confdefs.h
<<EOF
10355 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10359 # Check whether --enable-largefile or --disable-largefile was given.
10360 if test "${enable_largefile+set}" = set; then
10361 enableval
="$enable_largefile"
10365 if test "$enable_largefile" != no
; then
10368 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10369 echo "configure:10370: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10370 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10371 echo $ac_n "(cached) $ac_c" 1>&6
10374 cat > conftest.
$ac_ext <<EOF
10375 #line 10376 "configure"
10376 #include "confdefs.h"
10377 #define _FILE_OFFSET_BITS 64
10378 #include <sys/types.h>
10381 unsigned int field: sizeof(off_t) == 8;
10386 if { (eval echo configure
:10387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10388 ac_cv_sys_file_offset_bits
=64
10390 echo "configure: failed program was:" >&5
10391 cat conftest.
$ac_ext >&5
10393 ac_cv_sys_file_offset_bits
=no
10400 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10402 if test "$ac_cv_sys_file_offset_bits" != no
; then
10404 cat >> confdefs.h
<<EOF
10405 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10410 if test "x$wx_largefile" != "xyes"; then
10412 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10413 echo "configure:10414: checking for _LARGE_FILES value needed for large files" >&5
10414 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10415 echo $ac_n "(cached) $ac_c" 1>&6
10418 cat > conftest.
$ac_ext <<EOF
10419 #line 10420 "configure"
10420 #include "confdefs.h"
10421 #define _LARGE_FILES 1
10422 #include <sys/types.h>
10425 unsigned int field: sizeof(off_t) == 8;
10430 if { (eval echo configure
:10431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10432 ac_cv_sys_large_files
=1
10434 echo "configure: failed program was:" >&5
10435 cat conftest.
$ac_ext >&5
10437 ac_cv_sys_large_files
=no
10444 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10446 if test "$ac_cv_sys_large_files" != no
; then
10448 cat >> confdefs.h
<<EOF
10449 #define _LARGE_FILES $ac_cv_sys_large_files
10456 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10457 echo "configure:10458: checking if large file support is available" >&5
10458 if test "x$wx_largefile" = "xyes"; then
10459 cat >> confdefs.h
<<\EOF
10460 #define HAVE_LARGEFILE_SUPPORT 1
10464 echo "$ac_t""$wx_largefile" 1>&6
10468 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10469 echo "configure:10470: checking whether byte ordering is bigendian" >&5
10470 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10471 echo $ac_n "(cached) $ac_c" 1>&6
10473 ac_cv_c_bigendian
=unknown
10474 # See if sys/param.h defines the BYTE_ORDER macro.
10475 cat > conftest.
$ac_ext <<EOF
10476 #line 10477 "configure"
10477 #include "confdefs.h"
10478 #include <sys/types.h>
10479 #include <sys/param.h>
10482 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10483 bogus endian macros
10487 if { (eval echo configure
:10488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10489 # It does; now see whether it defined to BIG_ENDIAN or not.
10490 cat > conftest.
$ac_ext <<EOF
10491 #line 10492 "configure"
10492 #include "confdefs.h"
10493 #include <sys/types.h>
10494 #include <sys/param.h>
10497 #if BYTE_ORDER != BIG_ENDIAN
10502 if { (eval echo configure
:10503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10504 ac_cv_c_bigendian
=yes
10506 echo "configure: failed program was:" >&5
10507 cat conftest.
$ac_ext >&5
10509 ac_cv_c_bigendian
=no
10513 echo "configure: failed program was:" >&5
10514 cat conftest.
$ac_ext >&5
10517 if test $ac_cv_c_bigendian = unknown
; then
10518 if test "$cross_compiling" = yes; then
10519 ac_cv_c_bigendian
=unknown
10521 cat > conftest.
$ac_ext <<EOF
10522 #line 10523 "configure"
10523 #include "confdefs.h"
10525 /* Are we little or big endian? From Harbison&Steele. */
10529 char c[sizeof (long)];
10532 exit (u.c[sizeof (long) - 1] == 1);
10535 if { (eval echo configure
:10536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10537 ac_cv_c_bigendian
=no
10539 echo "configure: failed program was:" >&5
10540 cat conftest.
$ac_ext >&5
10542 ac_cv_c_bigendian
=yes
10550 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10551 if test $ac_cv_c_bigendian = unknown
; then
10552 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
10554 if test $ac_cv_c_bigendian = yes; then
10555 cat >> confdefs.h
<<\EOF
10556 #define WORDS_BIGENDIAN 1
10562 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
10563 echo "configure:10564: checking how to run the C++ preprocessor" >&5
10564 if test -z "$CXXCPP"; then
10565 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
10566 echo $ac_n "(cached) $ac_c" 1>&6
10569 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10570 ac_cpp
='$CXXCPP $CPPFLAGS'
10571 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10572 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10573 cross_compiling
=$ac_cv_prog_cxx_cross
10574 CXXCPP
="${CXX-g++} -E"
10575 cat > conftest.
$ac_ext <<EOF
10576 #line 10577 "configure"
10577 #include "confdefs.h"
10578 #include <stdlib.h>
10580 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10581 { (eval echo configure
:10582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10582 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10583 if test -z "$ac_err"; then
10587 echo "configure: failed program was:" >&5
10588 cat conftest.
$ac_ext >&5
10593 ac_cv_prog_CXXCPP
="$CXXCPP"
10595 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10596 ac_cpp
='$CXXCPP $CPPFLAGS'
10597 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10598 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10599 cross_compiling
=$ac_cv_prog_cxx_cross
10602 CXXCPP
="$ac_cv_prog_CXXCPP"
10603 echo "$ac_t""$CXXCPP" 1>&6
10606 if test "$cross_compiling" = "yes"; then
10607 cat >> confdefs.h
<<\EOF
10608 #define wxUSE_IOSTREAMH 1
10614 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10615 ac_cpp
='$CXXCPP $CPPFLAGS'
10616 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10617 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10618 cross_compiling
=$ac_cv_prog_cxx_cross
10621 for ac_hdr
in iostream
10623 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10624 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10625 echo "configure:10626: checking for $ac_hdr" >&5
10626 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10627 echo $ac_n "(cached) $ac_c" 1>&6
10629 cat > conftest.
$ac_ext <<EOF
10630 #line 10631 "configure"
10631 #include "confdefs.h"
10634 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10635 { (eval echo configure
:10636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10636 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10637 if test -z "$ac_err"; then
10639 eval "ac_cv_header_$ac_safe=yes"
10642 echo "configure: failed program was:" >&5
10643 cat conftest.
$ac_ext >&5
10645 eval "ac_cv_header_$ac_safe=no"
10649 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10650 echo "$ac_t""yes" 1>&6
10651 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10652 cat >> confdefs.h
<<EOF
10653 #define $ac_tr_hdr 1
10657 echo "$ac_t""no" 1>&6
10662 if test "$ac_cv_header_iostream" = "yes" ; then
10665 cat >> confdefs.h
<<\EOF
10666 #define wxUSE_IOSTREAMH 1
10672 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10673 ac_cpp
='$CPP $CPPFLAGS'
10674 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10675 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10676 cross_compiling
=$ac_cv_prog_cc_cross
10682 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
10683 echo "configure:10684: checking if C++ compiler supports bool" >&5
10684 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
10685 echo $ac_n "(cached) $ac_c" 1>&6
10690 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10691 ac_cpp
='$CXXCPP $CPPFLAGS'
10692 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10693 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10694 cross_compiling
=$ac_cv_prog_cxx_cross
10697 cat > conftest.
$ac_ext <<EOF
10698 #line 10699 "configure"
10699 #include "confdefs.h"
10710 if { (eval echo configure
:10711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10716 echo "configure: failed program was:" >&5
10717 cat conftest.
$ac_ext >&5
10727 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10728 ac_cpp
='$CPP $CPPFLAGS'
10729 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10730 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10731 cross_compiling
=$ac_cv_prog_cc_cross
10736 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10738 if test "$wx_cv_cpp_bool" = "yes"; then
10739 cat >> confdefs.h
<<\EOF
10740 #define HAVE_BOOL 1
10747 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
10748 echo "configure:10749: checking if C++ compiler supports the explicit keyword" >&5
10749 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
10750 echo $ac_n "(cached) $ac_c" 1>&6
10755 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10756 ac_cpp
='$CXXCPP $CPPFLAGS'
10757 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10758 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10759 cross_compiling
=$ac_cv_prog_cxx_cross
10762 cat > conftest.
$ac_ext <<EOF
10763 #line 10764 "configure"
10764 #include "confdefs.h"
10766 class Foo { public: explicit Foo(int) {} };
10774 if { (eval echo configure
:10775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10777 cat > conftest.
$ac_ext <<EOF
10778 #line 10779 "configure"
10779 #include "confdefs.h"
10781 class Foo { public: explicit Foo(int) {} };
10782 static void TakeFoo(const Foo& foo) { }
10791 if { (eval echo configure
:10792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10795 echo "configure: failed program was:" >&5
10796 cat conftest.
$ac_ext >&5
10804 echo "configure: failed program was:" >&5
10805 cat conftest.
$ac_ext >&5
10813 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10814 ac_cpp
='$CPP $CPPFLAGS'
10815 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10816 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10817 cross_compiling
=$ac_cv_prog_cc_cross
10822 echo "$ac_t""$wx_cv_explicit" 1>&6
10824 if test "$wx_cv_explicit" = "yes"; then
10825 cat >> confdefs.h
<<\EOF
10826 #define HAVE_EXPLICIT 1
10834 /usr/local/include \
10836 /usr/Motif-1.2/include \
10837 /usr/Motif-2.1/include \
10839 /usr/include/Motif1.2 \
10840 /opt/xpm/include/X11 \
10841 /opt/GBxpm/include/ \
10842 /opt/GBxpm/X11/include/ \
10844 /usr/Motif1.2/include \
10846 /usr/openwin/include \
10850 /usr/X11R6/include \
10851 /usr/X11R6.4/include \
10852 /usr/X11R5/include \
10853 /usr/X11R4/include \
10855 /usr/include/X11R6 \
10856 /usr/include/X11R5 \
10857 /usr/include/X11R4 \
10859 /usr/local/X11R6/include \
10860 /usr/local/X11R5/include \
10861 /usr/local/X11R4/include \
10863 /usr/local/include/X11R6 \
10864 /usr/local/include/X11R5 \
10865 /usr/local/include/X11R4 \
10869 /usr/local/X11/include \
10870 /usr/local/include/X11 \
10872 /usr/X386/include \
10873 /usr/x386/include \
10874 /usr/XFree86/include/X11 \
10876 X:/XFree86/include \
10877 X:/XFree86/include/X11 \
10880 /usr/local/include/gtk \
10881 /usr/include/glib \
10882 /usr/local/include/glib \
10885 /usr/local/include/qt \
10887 /usr/include/windows \
10888 /usr/include/wine \
10889 /usr/local/include/wine \
10891 /usr/unsupported/include \
10892 /usr/athena/include \
10893 /usr/local/x11r5/include \
10894 /usr/lpp/Xamples/include \
10896 /usr/openwin/share/include \
10900 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
10903 cat > confcache
<<\EOF
10904 # This file is a shell script that caches the results of configure
10905 # tests run on this system so they can be shared between configure
10906 # scripts and configure runs. It is not useful on other systems.
10907 # If it contains results you don't want to keep, you may remove or edit it.
10909 # By default, configure uses ./config.cache as the cache file,
10910 # creating it if it does not exist already. You can give configure
10911 # the --cache-file=FILE option to use a different cache file; that is
10912 # what configure does when it calls configure scripts in
10913 # subdirectories, so they share the cache.
10914 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10915 # config.status only pays attention to the cache file if you give it the
10916 # --recheck option to rerun configure.
10919 # The following way of writing the cache mishandles newlines in values,
10920 # but we know of no workaround that is simple, portable, and efficient.
10921 # So, don't put newlines in cache variables' values.
10922 # Ultrix sh set writes to stderr and can't be redirected directly,
10923 # and sets the high bit in the cache file unless we assign to the vars.
10925 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10927 # `set' does not quote correctly, so add quotes (double-quote substitution
10928 # turns \\\\ into \\, and sed turns \\ into \).
10930 -e "s/'/'\\\\''/g" \
10931 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10934 # `set' quotes correctly as required by POSIX, so do not add quotes.
10935 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10938 if cmp -s $cache_file confcache
; then
10941 if test -w $cache_file; then
10942 echo "updating cache $cache_file"
10943 cat confcache
> $cache_file
10945 echo "not updating unwritable cache $cache_file"
10951 if test "$USE_LINUX" = 1; then
10952 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
10953 echo "configure:10954: checking for glibc 2.1 or later" >&5
10954 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
10955 echo $ac_n "(cached) $ac_c" 1>&6
10958 cat > conftest.
$ac_ext <<EOF
10959 #line 10960 "configure"
10960 #include "confdefs.h"
10961 #include <features.h>
10964 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
10965 #error not glibc2.1
10970 if { (eval echo configure
:10971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10973 wx_cv_lib_glibc21
=yes
10976 echo "configure: failed program was:" >&5
10977 cat conftest.
$ac_ext >&5
10980 wx_cv_lib_glibc21
=no
10988 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
10989 if test "$wx_cv_lib_glibc21" = "yes"; then
10990 cat >> confdefs.h
<<\EOF
10991 #define wxHAVE_GLIBC2 1
11000 if test "$wxUSE_REGEX" != "no"; then
11001 cat >> confdefs.h
<<\EOF
11002 #define wxUSE_REGEX 1
11006 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11007 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11008 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11009 echo "configure:11010: checking for regex.h" >&5
11010 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11011 echo $ac_n "(cached) $ac_c" 1>&6
11013 cat > conftest.
$ac_ext <<EOF
11014 #line 11015 "configure"
11015 #include "confdefs.h"
11018 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11019 { (eval echo configure
:11020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11020 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11021 if test -z "$ac_err"; then
11023 eval "ac_cv_header_$ac_safe=yes"
11026 echo "configure: failed program was:" >&5
11027 cat conftest.
$ac_ext >&5
11029 eval "ac_cv_header_$ac_safe=no"
11033 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11034 echo "$ac_t""yes" 1>&6
11035 for ac_func
in regcomp
11037 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11038 echo "configure:11039: checking for $ac_func" >&5
11039 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11040 echo $ac_n "(cached) $ac_c" 1>&6
11042 cat > conftest.
$ac_ext <<EOF
11043 #line 11044 "configure"
11044 #include "confdefs.h"
11045 /* System header to define __stub macros and hopefully few prototypes,
11046 which can conflict with char $ac_func(); below. */
11047 #include <assert.h>
11048 /* Override any gcc2 internal prototype to avoid an error. */
11049 /* We use char because int might match the return type of a gcc2
11050 builtin and then its argument prototype would still apply. */
11055 /* The GNU C library defines this for functions which it implements
11056 to always fail with ENOSYS. Some functions are actually named
11057 something starting with __ and the normal name is an alias. */
11058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11066 if { (eval echo configure
:11067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11068 eval "ac_cv_func_$ac_func=yes"
11070 echo "configure: failed program was:" >&5
11071 cat conftest.
$ac_ext >&5
11073 eval "ac_cv_func_$ac_func=no"
11078 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11079 echo "$ac_t""yes" 1>&6
11080 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11081 cat >> confdefs.h
<<EOF
11082 #define $ac_tr_func 1
11086 echo "$ac_t""no" 1>&6
11091 echo "$ac_t""no" 1>&6
11095 if test "x$ac_cv_func_regcomp" != "xyes"; then
11096 if test "$wxUSE_REGEX" = "sys" ; then
11097 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11099 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11100 wxUSE_REGEX
=builtin
11107 if test "$wxUSE_REGEX" = "builtin" ; then
11108 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11115 if test "$wxUSE_ZLIB" != "no" ; then
11116 cat >> confdefs.h
<<\EOF
11117 #define wxUSE_ZLIB 1
11121 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11122 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11123 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11124 echo "configure:11125: checking for zlib.h" >&5
11125 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11126 echo $ac_n "(cached) $ac_c" 1>&6
11128 cat > conftest.
$ac_ext <<EOF
11129 #line 11130 "configure"
11130 #include "confdefs.h"
11133 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11134 { (eval echo configure
:11135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11135 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11136 if test -z "$ac_err"; then
11138 eval "ac_cv_header_$ac_safe=yes"
11141 echo "configure: failed program was:" >&5
11142 cat conftest.
$ac_ext >&5
11144 eval "ac_cv_header_$ac_safe=no"
11148 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11149 echo "$ac_t""yes" 1>&6
11150 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11151 echo "configure:11152: checking for deflate in -lz" >&5
11152 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11153 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11154 echo $ac_n "(cached) $ac_c" 1>&6
11156 ac_save_LIBS
="$LIBS"
11158 cat > conftest.
$ac_ext <<EOF
11159 #line 11160 "configure"
11160 #include "confdefs.h"
11161 /* Override any gcc2 internal prototype to avoid an error. */
11162 /* We use char because int might match the return type of a gcc2
11163 builtin and then its argument prototype would still apply. */
11170 if { (eval echo configure
:11171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11172 eval "ac_cv_lib_$ac_lib_var=yes"
11174 echo "configure: failed program was:" >&5
11175 cat conftest.
$ac_ext >&5
11177 eval "ac_cv_lib_$ac_lib_var=no"
11180 LIBS
="$ac_save_LIBS"
11183 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11184 echo "$ac_t""yes" 1>&6
11187 echo "$ac_t""no" 1>&6
11191 echo "$ac_t""no" 1>&6
11195 if test "x$ZLIB_LINK" = "x" ; then
11196 if test "$wxUSE_ZLIB" = "sys" ; then
11197 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11199 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
11207 if test "$wxUSE_ZLIB" = "builtin" ; then
11208 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11215 if test "$wxUSE_LIBPNG" != "no" ; then
11216 cat >> confdefs.h
<<\EOF
11217 #define wxUSE_LIBPNG 1
11221 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11222 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11226 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11227 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11228 wxUSE_LIBPNG
=builtin
11231 if test "$wxUSE_MGL" != 1 ; then
11232 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11233 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11234 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11235 echo "configure:11236: checking for png.h" >&5
11236 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11237 echo $ac_n "(cached) $ac_c" 1>&6
11239 cat > conftest.
$ac_ext <<EOF
11240 #line 11241 "configure"
11241 #include "confdefs.h"
11244 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11245 { (eval echo configure
:11246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11246 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11247 if test -z "$ac_err"; then
11249 eval "ac_cv_header_$ac_safe=yes"
11252 echo "configure: failed program was:" >&5
11253 cat conftest.
$ac_ext >&5
11255 eval "ac_cv_header_$ac_safe=no"
11259 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11260 echo "$ac_t""yes" 1>&6
11261 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11262 echo "configure:11263: checking for png_check_sig in -lpng" >&5
11263 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11264 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11265 echo $ac_n "(cached) $ac_c" 1>&6
11267 ac_save_LIBS
="$LIBS"
11268 LIBS
="-lpng -lz -lm $LIBS"
11269 cat > conftest.
$ac_ext <<EOF
11270 #line 11271 "configure"
11271 #include "confdefs.h"
11272 /* Override any gcc2 internal prototype to avoid an error. */
11273 /* We use char because int might match the return type of a gcc2
11274 builtin and then its argument prototype would still apply. */
11275 char png_check_sig();
11281 if { (eval echo configure
:11282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11283 eval "ac_cv_lib_$ac_lib_var=yes"
11285 echo "configure: failed program was:" >&5
11286 cat conftest.
$ac_ext >&5
11288 eval "ac_cv_lib_$ac_lib_var=no"
11291 LIBS
="$ac_save_LIBS"
11294 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11295 echo "$ac_t""yes" 1>&6
11298 echo "$ac_t""no" 1>&6
11303 echo "$ac_t""no" 1>&6
11307 if test "x$PNG_LINK" = "x" ; then
11308 if test "$wxUSE_LIBPNG" = "sys" ; then
11309 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11311 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
11312 wxUSE_LIBPNG
=builtin
11320 if test "$wxUSE_LIBPNG" = "builtin" ; then
11321 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11324 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11330 if test "$wxUSE_LIBJPEG" != "no" ; then
11331 cat >> confdefs.h
<<\EOF
11332 #define wxUSE_LIBJPEG 1
11336 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11337 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11341 if test "$wxUSE_MGL" != 1 ; then
11342 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11343 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11344 echo "configure:11345: checking for jpeglib.h" >&5
11345 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11346 echo $ac_n "(cached) $ac_c" 1>&6
11348 cat > conftest.
$ac_ext <<EOF
11349 #line 11350 "configure"
11350 #include "confdefs.h"
11352 #undef HAVE_STDLIB_H
11354 #include <jpeglib.h>
11361 if { (eval echo configure
:11362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11363 ac_cv_header_jpeglib_h
=yes
11365 echo "configure: failed program was:" >&5
11366 cat conftest.
$ac_ext >&5
11368 ac_cv_header_jpeglib_h
=no
11375 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
11377 if test "$ac_cv_header_jpeglib_h" = "yes"; then
11378 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11379 echo "configure:11380: checking for jpeg_read_header in -ljpeg" >&5
11380 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11381 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11382 echo $ac_n "(cached) $ac_c" 1>&6
11384 ac_save_LIBS
="$LIBS"
11385 LIBS
="-ljpeg $LIBS"
11386 cat > conftest.
$ac_ext <<EOF
11387 #line 11388 "configure"
11388 #include "confdefs.h"
11389 /* Override any gcc2 internal prototype to avoid an error. */
11390 /* We use char because int might match the return type of a gcc2
11391 builtin and then its argument prototype would still apply. */
11392 char jpeg_read_header();
11398 if { (eval echo configure
:11399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11400 eval "ac_cv_lib_$ac_lib_var=yes"
11402 echo "configure: failed program was:" >&5
11403 cat conftest.
$ac_ext >&5
11405 eval "ac_cv_lib_$ac_lib_var=no"
11408 LIBS
="$ac_save_LIBS"
11411 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11412 echo "$ac_t""yes" 1>&6
11413 JPEG_LINK
=" -ljpeg"
11415 echo "$ac_t""no" 1>&6
11420 if test "x$JPEG_LINK" = "x" ; then
11421 if test "$wxUSE_LIBJPEG" = "sys" ; then
11422 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
11424 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
11425 wxUSE_LIBJPEG
=builtin
11433 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11434 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11441 if test "$wxUSE_LIBTIFF" != "no" ; then
11442 cat >> confdefs.h
<<\EOF
11443 #define wxUSE_LIBTIFF 1
11447 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
11448 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
11449 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
11450 echo "configure:11451: checking for tiffio.h" >&5
11451 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11452 echo $ac_n "(cached) $ac_c" 1>&6
11454 cat > conftest.
$ac_ext <<EOF
11455 #line 11456 "configure"
11456 #include "confdefs.h"
11457 #include <tiffio.h>
11459 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11460 { (eval echo configure
:11461: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11461 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11462 if test -z "$ac_err"; then
11464 eval "ac_cv_header_$ac_safe=yes"
11467 echo "configure: failed program was:" >&5
11468 cat conftest.
$ac_ext >&5
11470 eval "ac_cv_header_$ac_safe=no"
11474 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11475 echo "$ac_t""yes" 1>&6
11476 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
11477 echo "configure:11478: checking for TIFFError in -ltiff" >&5
11478 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
11479 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11480 echo $ac_n "(cached) $ac_c" 1>&6
11482 ac_save_LIBS
="$LIBS"
11483 LIBS
="-ltiff -lm $LIBS"
11484 cat > conftest.
$ac_ext <<EOF
11485 #line 11486 "configure"
11486 #include "confdefs.h"
11487 /* Override any gcc2 internal prototype to avoid an error. */
11488 /* We use char because int might match the return type of a gcc2
11489 builtin and then its argument prototype would still apply. */
11496 if { (eval echo configure
:11497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11498 eval "ac_cv_lib_$ac_lib_var=yes"
11500 echo "configure: failed program was:" >&5
11501 cat conftest.
$ac_ext >&5
11503 eval "ac_cv_lib_$ac_lib_var=no"
11506 LIBS
="$ac_save_LIBS"
11509 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11510 echo "$ac_t""yes" 1>&6
11511 TIFF_LINK
=" -ltiff"
11513 echo "$ac_t""no" 1>&6
11518 echo "$ac_t""no" 1>&6
11522 if test "x$TIFF_LINK" = "x" ; then
11523 if test "$wxUSE_LIBTIFF" = "sys" ; then
11524 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
11526 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
11527 wxUSE_LIBTIFF
=builtin
11534 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11535 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11546 if test "$USE_WIN32" = 1 ; then
11547 for ac_hdr
in w32api.h
11549 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11550 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11551 echo "configure:11552: checking for $ac_hdr" >&5
11552 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11553 echo $ac_n "(cached) $ac_c" 1>&6
11555 cat > conftest.
$ac_ext <<EOF
11556 #line 11557 "configure"
11557 #include "confdefs.h"
11560 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11561 { (eval echo configure
:11562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11562 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11563 if test -z "$ac_err"; then
11565 eval "ac_cv_header_$ac_safe=yes"
11568 echo "configure: failed program was:" >&5
11569 cat conftest.
$ac_ext >&5
11571 eval "ac_cv_header_$ac_safe=no"
11575 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11576 echo "$ac_t""yes" 1>&6
11577 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11578 cat >> confdefs.h
<<EOF
11579 #define $ac_tr_hdr 1
11583 echo "$ac_t""no" 1>&6
11587 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
11588 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
11589 echo "configure:11590: checking for windows.h" >&5
11590 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11591 echo $ac_n "(cached) $ac_c" 1>&6
11593 cat > conftest.
$ac_ext <<EOF
11594 #line 11595 "configure"
11595 #include "confdefs.h"
11596 #include <windows.h>
11598 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11599 { (eval echo configure
:11600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11600 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11601 if test -z "$ac_err"; then
11603 eval "ac_cv_header_$ac_safe=yes"
11606 echo "configure: failed program was:" >&5
11607 cat conftest.
$ac_ext >&5
11609 eval "ac_cv_header_$ac_safe=no"
11613 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11614 echo "$ac_t""yes" 1>&6
11617 echo "$ac_t""no" 1>&6
11619 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
11624 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
11625 echo "configure:11626: checking if w32api has good enough MSIE support" >&5
11626 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
11627 echo $ac_n "(cached) $ac_c" 1>&6
11630 cat > conftest.
$ac_ext <<EOF
11631 #line 11632 "configure"
11632 #include "confdefs.h"
11633 #include <w32api.h>
11636 #define wxCHECK_W32API_VERSION( major, minor ) \
11637 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
11638 && ( ( __W32API_MAJOR_VERSION > (major) ) \
11639 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
11641 #if !wxCHECK_W32API_VERSION(1,1)
11642 #error You need w32api 1.1 or newer
11647 if { (eval echo configure
:11648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11650 wx_cv_w32api_win32_ie
=yes
11653 echo "configure: failed program was:" >&5
11654 cat conftest.
$ac_ext >&5
11657 wx_cv_w32api_win32_ie
=no
11664 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
11665 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
11666 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
11669 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
11673 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
11674 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
11677 if test "$wxUSE_ODBC" = "yes" ; then
11678 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
11681 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
11682 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
11685 if test "$wxUSE_GUI" = "yes"; then
11694 if test "$wxUSE_MSW" = 1 ; then
11700 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
11704 if test "$wxUSE_GTK" = 1; then
11705 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
11706 echo "configure:11707: checking for GTK+ version" >&5
11708 gtk_version_cached
=1
11709 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
11710 echo $ac_n "(cached) $ac_c" 1>&6
11713 gtk_version_cached
=0
11714 echo "$ac_t""" 1>&6
11717 if test "$wxUSE_THREADS" = "yes"; then
11718 GTK_MODULES
=gthread
11722 if test "x$wxUSE_GTK2" = "xyes"; then
11723 # Check whether --enable-gtktest or --disable-gtktest was given.
11724 if test "${enable_gtktest+set}" = set; then
11725 enableval
="$enable_gtktest"
11732 pkg_config_args
=gtk
+-2.0
11733 for module
in .
$GTK_MODULES
11737 pkg_config_args
="$pkg_config_args gthread-2.0"
11744 # Extract the first word of "pkg-config", so it can be a program name with args.
11745 set dummy pkg
-config; ac_word
=$2
11746 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11747 echo "configure:11748: checking for $ac_word" >&5
11748 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
11749 echo $ac_n "(cached) $ac_c" 1>&6
11751 case "$PKG_CONFIG" in
11753 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11756 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
11759 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11761 for ac_dir
in $ac_dummy; do
11762 test -z "$ac_dir" && ac_dir
=.
11763 if test -f $ac_dir/$ac_word; then
11764 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
11769 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11773 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
11774 if test -n "$PKG_CONFIG"; then
11775 echo "$ac_t""$PKG_CONFIG" 1>&6
11777 echo "$ac_t""no" 1>&6
11781 if test x
$PKG_CONFIG != xno
; then
11782 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
11785 echo *** pkg
-config too old
; version
0.7 or better required.
11793 min_gtk_version
=2.0.0
11794 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
11795 echo "configure:11796: checking for GTK+ - version >= $min_gtk_version" >&5
11797 if test x
$PKG_CONFIG != xno
; then
11798 ## don't try to run the test against uninstalled libtool libs
11799 if $PKG_CONFIG --uninstalled $pkg_config_args; then
11800 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
11804 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
11811 if test x
"$no_gtk" = x
; then
11812 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
11813 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
11814 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11815 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11816 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11817 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11818 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11819 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11820 if test "x$enable_gtktest" = "xyes" ; then
11821 ac_save_CFLAGS
="$CFLAGS"
11822 ac_save_LIBS
="$LIBS"
11823 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11824 LIBS
="$GTK_LIBS $LIBS"
11826 if test "$cross_compiling" = yes; then
11827 echo $ac_n "cross compiling; assumed OK... $ac_c"
11829 cat > conftest.
$ac_ext <<EOF
11830 #line 11831 "configure"
11831 #include "confdefs.h"
11833 #include <gtk/gtk.h>
11835 #include <stdlib.h>
11840 int major, minor, micro;
11843 system ("touch conf.gtktest");
11845 /* HP/UX 9 (%@#!) writes to sscanf strings */
11846 tmp_version = g_strdup("$min_gtk_version");
11847 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11848 printf("%s, bad version string\n", "$min_gtk_version");
11852 if ((gtk_major_version != $gtk_config_major_version) ||
11853 (gtk_minor_version != $gtk_config_minor_version) ||
11854 (gtk_micro_version != $gtk_config_micro_version))
11856 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11857 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11858 gtk_major_version, gtk_minor_version, gtk_micro_version);
11859 printf ("*** was found! If pkg-config was correct, then it is best\n");
11860 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11861 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11862 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11863 printf("*** required on your system.\n");
11864 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
11865 printf("*** to point to the correct configuration files\n");
11867 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11868 (gtk_minor_version != GTK_MINOR_VERSION) ||
11869 (gtk_micro_version != GTK_MICRO_VERSION))
11871 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11872 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11873 printf("*** library (version %d.%d.%d)\n",
11874 gtk_major_version, gtk_minor_version, gtk_micro_version);
11878 if ((gtk_major_version > major) ||
11879 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11880 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11886 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11887 gtk_major_version, gtk_minor_version, gtk_micro_version);
11888 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11889 major, minor, micro);
11890 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11892 printf("*** If you have already installed a sufficiently new version, this error\n");
11893 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
11894 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11895 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
11896 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
11897 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11898 printf("*** so that the correct libraries are found at run-time))\n");
11905 if { (eval echo configure
:11906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11909 echo "configure: failed program was:" >&5
11910 cat conftest.
$ac_ext >&5
11917 CFLAGS
="$ac_save_CFLAGS"
11918 LIBS
="$ac_save_LIBS"
11921 if test "x$no_gtk" = x
; then
11922 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
11925 echo "$ac_t""no" 1>&6
11926 if test "$PKG_CONFIG" = "no" ; then
11927 echo "*** A new enough version of pkg-config was not found."
11928 echo "*** See http://pkgconfig.sourceforge.net"
11930 if test -f conf.gtktest
; then
11933 echo "*** Could not run GTK+ test program, checking why..."
11934 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11935 LIBS
="$LIBS $GTK_LIBS"
11936 cat > conftest.
$ac_ext <<EOF
11937 #line 11938 "configure"
11938 #include "confdefs.h"
11940 #include <gtk/gtk.h>
11944 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11947 if { (eval echo configure
:11948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11949 echo "*** The test program compiled, but did not run. This usually means"
11950 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
11951 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
11952 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11953 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11954 echo "*** is required on your system"
11956 echo "*** If you have an old version installed, it is best to remove it, although"
11957 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11959 echo "configure: failed program was:" >&5
11960 cat conftest.
$ac_ext >&5
11962 echo "*** The test program failed to compile or link. See the file config.log for the"
11963 echo "*** exact error that occured. This usually means GTK+ was incorrectly installed"
11964 echo "*** or that you have moved GTK+ since it was installed. In the latter case, you"
11965 echo "*** may want to edit the pkg-config script: $PKG_CONFIG"
11968 CFLAGS
="$ac_save_CFLAGS"
11969 LIBS
="$ac_save_LIBS"
11982 if test -z "$wx_cv_lib_gtk"; then
11983 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
11984 if test "${with_gtk_prefix+set}" = set; then
11985 withval
="$with_gtk_prefix"
11986 gtk_config_prefix
="$withval"
11988 gtk_config_prefix
=""
11991 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
11992 if test "${with_gtk_exec_prefix+set}" = set; then
11993 withval
="$with_gtk_exec_prefix"
11994 gtk_config_exec_prefix
="$withval"
11996 gtk_config_exec_prefix
=""
11999 # Check whether --enable-gtktest or --disable-gtktest was given.
12000 if test "${enable_gtktest+set}" = set; then
12001 enableval
="$enable_gtktest"
12008 for module
in .
$GTK_MODULES
12012 gtk_config_args
="$gtk_config_args gthread"
12017 if test x
$gtk_config_exec_prefix != x
; then
12018 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12019 if test x
${GTK_CONFIG+set} != xset
; then
12020 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12023 if test x
$gtk_config_prefix != x
; then
12024 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12025 if test x
${GTK_CONFIG+set} != xset
; then
12026 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12030 # Extract the first word of "gtk-config", so it can be a program name with args.
12031 set dummy gtk
-config; ac_word
=$2
12032 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12033 echo "configure:12034: checking for $ac_word" >&5
12034 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12035 echo $ac_n "(cached) $ac_c" 1>&6
12037 case "$GTK_CONFIG" in
12039 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12042 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12045 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12047 for ac_dir
in $ac_dummy; do
12048 test -z "$ac_dir" && ac_dir
=.
12049 if test -f $ac_dir/$ac_word; then
12050 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12055 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12059 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12060 if test -n "$GTK_CONFIG"; then
12061 echo "$ac_t""$GTK_CONFIG" 1>&6
12063 echo "$ac_t""no" 1>&6
12066 min_gtk_version
=1.2.7
12067 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12068 echo "configure:12069: checking for GTK - version >= $min_gtk_version" >&5
12070 if test "$GTK_CONFIG" = "no" ; then
12073 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12074 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12075 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12076 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12077 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12078 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12079 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12080 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12081 if test "x$enable_gtktest" = "xyes" ; then
12082 ac_save_CFLAGS
="$CFLAGS"
12083 ac_save_LIBS
="$LIBS"
12084 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12085 LIBS
="$GTK_LIBS $LIBS"
12087 if test "$cross_compiling" = yes; then
12088 echo $ac_n "cross compiling; assumed OK... $ac_c"
12090 cat > conftest.
$ac_ext <<EOF
12091 #line 12092 "configure"
12092 #include "confdefs.h"
12094 #include <gtk/gtk.h>
12096 #include <stdlib.h>
12101 int major, minor, micro;
12104 system ("touch conf.gtktest");
12106 /* HP/UX 9 (%@#!) writes to sscanf strings */
12107 tmp_version = g_strdup("$min_gtk_version");
12108 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12109 printf("%s, bad version string\n", "$min_gtk_version");
12113 if ((gtk_major_version != $gtk_config_major_version) ||
12114 (gtk_minor_version != $gtk_config_minor_version) ||
12115 (gtk_micro_version != $gtk_config_micro_version))
12117 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12118 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12119 gtk_major_version, gtk_minor_version, gtk_micro_version);
12120 printf ("*** was found! If gtk-config was correct, then it is best\n");
12121 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12122 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12123 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12124 printf("*** required on your system.\n");
12125 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12126 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12127 printf("*** before re-running configure\n");
12129 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12130 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12131 (gtk_minor_version != GTK_MINOR_VERSION) ||
12132 (gtk_micro_version != GTK_MICRO_VERSION))
12134 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12135 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12136 printf("*** library (version %d.%d.%d)\n",
12137 gtk_major_version, gtk_minor_version, gtk_micro_version);
12139 #endif /* defined (GTK_MAJOR_VERSION) ... */
12142 if ((gtk_major_version > major) ||
12143 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12144 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12150 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12151 gtk_major_version, gtk_minor_version, gtk_micro_version);
12152 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12153 major, minor, micro);
12154 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12156 printf("*** If you have already installed a sufficiently new version, this error\n");
12157 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12158 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12159 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12160 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12161 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12162 printf("*** so that the correct libraries are found at run-time))\n");
12169 if { (eval echo configure
:12170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12173 echo "configure: failed program was:" >&5
12174 cat conftest.
$ac_ext >&5
12181 CFLAGS
="$ac_save_CFLAGS"
12182 LIBS
="$ac_save_LIBS"
12185 if test "x$no_gtk" = x
; then
12186 echo "$ac_t""yes" 1>&6
12187 wx_cv_lib_gtk
=1.2.7
12189 echo "$ac_t""no" 1>&6
12190 if test "$GTK_CONFIG" = "no" ; then
12191 echo "*** The gtk-config script installed by GTK could not be found"
12192 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12193 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12194 echo "*** full path to gtk-config."
12196 if test -f conf.gtktest
; then
12199 echo "*** Could not run GTK test program, checking why..."
12200 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12201 LIBS
="$LIBS $GTK_LIBS"
12202 cat > conftest.
$ac_ext <<EOF
12203 #line 12204 "configure"
12204 #include "confdefs.h"
12206 #include <gtk/gtk.h>
12210 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12213 if { (eval echo configure
:12214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12215 echo "*** The test program compiled, but did not run. This usually means"
12216 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12217 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12218 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12219 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12220 echo "*** is required on your system"
12222 echo "*** If you have an old version installed, it is best to remove it, although"
12223 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12225 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12226 echo "*** came with the system with the command"
12228 echo "*** rpm --erase --nodeps gtk gtk-devel"
12230 echo "configure: failed program was:" >&5
12231 cat conftest.
$ac_ext >&5
12233 echo "*** The test program failed to compile or link. See the file config.log for the"
12234 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12235 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12236 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12239 CFLAGS
="$ac_save_CFLAGS"
12240 LIBS
="$ac_save_LIBS"
12253 if test -z "$wx_cv_lib_gtk"; then
12254 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12255 if test "${with_gtk_prefix+set}" = set; then
12256 withval
="$with_gtk_prefix"
12257 gtk_config_prefix
="$withval"
12259 gtk_config_prefix
=""
12262 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12263 if test "${with_gtk_exec_prefix+set}" = set; then
12264 withval
="$with_gtk_exec_prefix"
12265 gtk_config_exec_prefix
="$withval"
12267 gtk_config_exec_prefix
=""
12270 # Check whether --enable-gtktest or --disable-gtktest was given.
12271 if test "${enable_gtktest+set}" = set; then
12272 enableval
="$enable_gtktest"
12279 for module
in .
$GTK_MODULES
12283 gtk_config_args
="$gtk_config_args gthread"
12288 if test x
$gtk_config_exec_prefix != x
; then
12289 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12290 if test x
${GTK_CONFIG+set} != xset
; then
12291 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12294 if test x
$gtk_config_prefix != x
; then
12295 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12296 if test x
${GTK_CONFIG+set} != xset
; then
12297 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12301 # Extract the first word of "gtk-config", so it can be a program name with args.
12302 set dummy gtk
-config; ac_word
=$2
12303 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12304 echo "configure:12305: checking for $ac_word" >&5
12305 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12306 echo $ac_n "(cached) $ac_c" 1>&6
12308 case "$GTK_CONFIG" in
12310 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12313 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12316 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12318 for ac_dir
in $ac_dummy; do
12319 test -z "$ac_dir" && ac_dir
=.
12320 if test -f $ac_dir/$ac_word; then
12321 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12326 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12330 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12331 if test -n "$GTK_CONFIG"; then
12332 echo "$ac_t""$GTK_CONFIG" 1>&6
12334 echo "$ac_t""no" 1>&6
12337 min_gtk_version
=1.2.3
12338 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12339 echo "configure:12340: checking for GTK - version >= $min_gtk_version" >&5
12341 if test "$GTK_CONFIG" = "no" ; then
12344 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12345 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12346 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12347 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12348 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12349 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12350 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12351 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12352 if test "x$enable_gtktest" = "xyes" ; then
12353 ac_save_CFLAGS
="$CFLAGS"
12354 ac_save_LIBS
="$LIBS"
12355 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12356 LIBS
="$GTK_LIBS $LIBS"
12358 if test "$cross_compiling" = yes; then
12359 echo $ac_n "cross compiling; assumed OK... $ac_c"
12361 cat > conftest.
$ac_ext <<EOF
12362 #line 12363 "configure"
12363 #include "confdefs.h"
12365 #include <gtk/gtk.h>
12367 #include <stdlib.h>
12372 int major, minor, micro;
12375 system ("touch conf.gtktest");
12377 /* HP/UX 9 (%@#!) writes to sscanf strings */
12378 tmp_version = g_strdup("$min_gtk_version");
12379 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12380 printf("%s, bad version string\n", "$min_gtk_version");
12384 if ((gtk_major_version != $gtk_config_major_version) ||
12385 (gtk_minor_version != $gtk_config_minor_version) ||
12386 (gtk_micro_version != $gtk_config_micro_version))
12388 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12389 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12390 gtk_major_version, gtk_minor_version, gtk_micro_version);
12391 printf ("*** was found! If gtk-config was correct, then it is best\n");
12392 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12393 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12394 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12395 printf("*** required on your system.\n");
12396 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12397 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12398 printf("*** before re-running configure\n");
12400 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12401 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12402 (gtk_minor_version != GTK_MINOR_VERSION) ||
12403 (gtk_micro_version != GTK_MICRO_VERSION))
12405 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12406 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12407 printf("*** library (version %d.%d.%d)\n",
12408 gtk_major_version, gtk_minor_version, gtk_micro_version);
12410 #endif /* defined (GTK_MAJOR_VERSION) ... */
12413 if ((gtk_major_version > major) ||
12414 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12415 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12421 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12422 gtk_major_version, gtk_minor_version, gtk_micro_version);
12423 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12424 major, minor, micro);
12425 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12427 printf("*** If you have already installed a sufficiently new version, this error\n");
12428 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12429 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12430 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12431 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12432 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12433 printf("*** so that the correct libraries are found at run-time))\n");
12440 if { (eval echo configure
:12441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12444 echo "configure: failed program was:" >&5
12445 cat conftest.
$ac_ext >&5
12452 CFLAGS
="$ac_save_CFLAGS"
12453 LIBS
="$ac_save_LIBS"
12456 if test "x$no_gtk" = x
; then
12457 echo "$ac_t""yes" 1>&6
12458 wx_cv_lib_gtk
=1.2.3
12460 echo "$ac_t""no" 1>&6
12461 if test "$GTK_CONFIG" = "no" ; then
12462 echo "*** The gtk-config script installed by GTK could not be found"
12463 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12464 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12465 echo "*** full path to gtk-config."
12467 if test -f conf.gtktest
; then
12470 echo "*** Could not run GTK test program, checking why..."
12471 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12472 LIBS
="$LIBS $GTK_LIBS"
12473 cat > conftest.
$ac_ext <<EOF
12474 #line 12475 "configure"
12475 #include "confdefs.h"
12477 #include <gtk/gtk.h>
12481 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12484 if { (eval echo configure
:12485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12486 echo "*** The test program compiled, but did not run. This usually means"
12487 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12488 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12489 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12490 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12491 echo "*** is required on your system"
12493 echo "*** If you have an old version installed, it is best to remove it, although"
12494 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12496 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12497 echo "*** came with the system with the command"
12499 echo "*** rpm --erase --nodeps gtk gtk-devel"
12501 echo "configure: failed program was:" >&5
12502 cat conftest.
$ac_ext >&5
12504 echo "*** The test program failed to compile or link. See the file config.log for the"
12505 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12506 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12507 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12510 CFLAGS
="$ac_save_CFLAGS"
12511 LIBS
="$ac_save_LIBS"
12524 if test -z "$wx_cv_lib_gtk"; then
12527 wx_cv_cflags_gtk
=$GTK_CFLAGS
12528 wx_cv_libs_gtk
=$GTK_LIBS
12535 if test "$gtk_version_cached" = 1; then
12536 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
12539 case "$wx_cv_lib_gtk" in
12547 *) { echo "configure: error:
12548 Please check that gtk-config is in path, the directory
12549 where GTK+ libraries are installed (returned by
12550 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
12551 equivalent variable and GTK+ is version 1.2.3 or above.
12556 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
12557 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
12559 AFMINSTALL
=afminstall
12563 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
12564 echo "configure:12565: checking for gdk_im_open in -lgdk" >&5
12565 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
12566 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12567 echo $ac_n "(cached) $ac_c" 1>&6
12569 ac_save_LIBS
="$LIBS"
12571 cat > conftest.
$ac_ext <<EOF
12572 #line 12573 "configure"
12573 #include "confdefs.h"
12574 /* Override any gcc2 internal prototype to avoid an error. */
12575 /* We use char because int might match the return type of a gcc2
12576 builtin and then its argument prototype would still apply. */
12577 char gdk_im_open();
12583 if { (eval echo configure
:12584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12585 eval "ac_cv_lib_$ac_lib_var=yes"
12587 echo "configure: failed program was:" >&5
12588 cat conftest.
$ac_ext >&5
12590 eval "ac_cv_lib_$ac_lib_var=no"
12593 LIBS
="$ac_save_LIBS"
12596 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12597 echo "$ac_t""yes" 1>&6
12598 cat >> confdefs.h
<<\EOF
12603 echo "$ac_t""no" 1>&6
12608 if test "$wxUSE_MGL" = 1; then
12609 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
12610 echo "configure:12611: checking for SciTech MGL library" >&5
12611 if test "x$MGL_ROOT" = x
; then
12612 echo "$ac_t""not found" 1>&6
12613 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
12615 echo "$ac_t""$MGL_ROOT" 1>&6
12620 mgl_os
=linux
/gcc
/glibc
12626 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
12631 if test "$wxUSE_DEBUG_FLAG" = yes ; then
12632 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
12633 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
12637 if test "x$mgl_lib_type" = x
; then
12638 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
12639 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
12640 mgl_lib_type
=release
12642 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
12646 wxUSE_UNIVERSAL
="yes"
12648 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
12649 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
12651 AFMINSTALL
=afminstall
12656 if test "$wxUSE_MICROWIN" = 1; then
12657 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
12658 echo "configure:12659: checking for MicroWindows" >&5
12659 if test "x$MICROWINDOWS" = x
; then
12660 echo "$ac_t""not found" 1>&6
12661 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
12663 echo "$ac_t""$MICROWINDOWS" 1>&6
12666 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
12667 echo "$ac_t""MicroWindows' libraries found." 1>&6
12669 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
12672 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
12673 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
12675 wxUSE_UNIVERSAL
="yes"
12677 AFMINSTALL
=afminstall
12679 GUIDIST
=MICROWIN_DIST
12681 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
12684 if test "$wxUSE_X11" = 1; then
12685 # If we find X, set shell vars x_includes and x_libraries to the
12686 # paths, otherwise set no_x=yes.
12687 # Uses ac_ vars as temps to allow command line to override cache and checks.
12688 # --without-x overrides everything else, but does not touch the cache.
12689 echo $ac_n "checking for X""... $ac_c" 1>&6
12690 echo "configure:12691: checking for X" >&5
12692 # Check whether --with-x or --without-x was given.
12693 if test "${with_x+set}" = set; then
12698 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
12699 if test "x$with_x" = xno
; then
12700 # The user explicitly disabled X.
12703 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
12704 # Both variables are already set.
12707 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
12708 echo $ac_n "(cached) $ac_c" 1>&6
12710 # One or both of the vars are not set, and there is no cached value.
12711 ac_x_includes
=NO ac_x_libraries
=NO
12713 if mkdir conftestdir
; then
12715 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
12716 cat > Imakefile
<<'EOF'
12718 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
12720 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
12721 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12722 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
12723 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12724 for ac_extension
in a so sl
; do
12725 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
12726 test -f $ac_im_libdir/libX11.
$ac_extension; then
12727 ac_im_usrlibdir
=$ac_im_libdir; break
12730 # Screen out bogus values from the imake configuration. They are
12731 # bogus both because they are the default anyway, and because
12732 # using them would break gcc on systems where it needs fixed includes.
12733 case "$ac_im_incroot" in
12735 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
12737 case "$ac_im_usrlibdir" in
12738 /usr
/lib
| /lib
) ;;
12739 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
12746 if test "$ac_x_includes" = NO
; then
12747 # Guess where to find include files, by looking for this one X11 .h file.
12748 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
12750 # First, try using that file with no special directory specified.
12751 cat > conftest.
$ac_ext <<EOF
12752 #line 12753 "configure"
12753 #include "confdefs.h"
12754 #include <$x_direct_test_include>
12756 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12757 { (eval echo configure
:12758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12758 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12759 if test -z "$ac_err"; then
12761 # We can compile using X headers with no special include directory.
12765 echo "configure: failed program was:" >&5
12766 cat conftest.
$ac_ext >&5
12768 # Look for the header file in a standard set of common directories.
12769 # Check X11 before X11Rn because it is often a symlink to the current release.
12772 /usr
/X
11R
6/include \
12773 /usr
/X
11R
5/include \
12774 /usr
/X
11R
4/include \
12777 /usr
/include
/X11R6 \
12778 /usr
/include
/X11R5 \
12779 /usr
/include
/X11R4 \
12781 /usr
/local
/X
11/include \
12782 /usr
/local
/X
11R
6/include \
12783 /usr
/local
/X
11R
5/include \
12784 /usr
/local
/X
11R
4/include \
12786 /usr
/local
/include
/X11 \
12787 /usr
/local
/include
/X11R6 \
12788 /usr
/local
/include
/X11R5 \
12789 /usr
/local
/include
/X11R4 \
12791 /usr
/X
386/include \
12792 /usr
/x
386/include \
12793 /usr
/XFree
86/include
/X11 \
12796 /usr
/local
/include \
12797 /usr
/unsupported
/include \
12798 /usr
/athena
/include \
12799 /usr
/local
/x
11r
5/include \
12800 /usr
/lpp
/Xamples
/include \
12802 /usr
/openwin
/include \
12803 /usr
/openwin
/share
/include \
12806 if test -r "$ac_dir/$x_direct_test_include"; then
12807 ac_x_includes
=$ac_dir
12813 fi # $ac_x_includes = NO
12815 if test "$ac_x_libraries" = NO
; then
12816 # Check for the libraries.
12818 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
12819 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
12821 # See if we find them without any special options.
12822 # Don't add to $LIBS permanently.
12823 ac_save_LIBS
="$LIBS"
12824 LIBS
="-l$x_direct_test_library $LIBS"
12825 cat > conftest.
$ac_ext <<EOF
12826 #line 12827 "configure"
12827 #include "confdefs.h"
12830 ${x_direct_test_function}()
12833 if { (eval echo configure
:12834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12835 LIBS
="$ac_save_LIBS"
12836 # We can link X programs with no special library path.
12839 echo "configure: failed program was:" >&5
12840 cat conftest.
$ac_ext >&5
12842 LIBS
="$ac_save_LIBS"
12843 # First see if replacing the include by lib works.
12844 # Check X11 before X11Rn because it is often a symlink to the current release.
12845 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
12856 /usr
/local
/X
11/lib \
12857 /usr
/local
/X
11R
6/lib \
12858 /usr
/local
/X
11R
5/lib \
12859 /usr
/local
/X
11R
4/lib \
12861 /usr
/local
/lib
/X11 \
12862 /usr
/local
/lib
/X11R6 \
12863 /usr
/local
/lib
/X11R5 \
12864 /usr
/local
/lib
/X11R4 \
12868 /usr
/XFree
86/lib
/X11 \
12872 /usr
/unsupported
/lib \
12874 /usr
/local
/x
11r
5/lib \
12875 /usr
/lpp
/Xamples
/lib \
12879 /usr
/openwin
/share
/lib \
12882 for ac_extension
in a so sl
; do
12883 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
12884 ac_x_libraries
=$ac_dir
12891 fi # $ac_x_libraries = NO
12893 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
12894 # Didn't find X anywhere. Cache the known absence of X.
12895 ac_cv_have_x
="have_x=no"
12897 # Record where we found X for the cache.
12898 ac_cv_have_x
="have_x=yes \
12899 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
12903 eval "$ac_cv_have_x"
12906 if test "$have_x" != yes; then
12907 echo "$ac_t""$have_x" 1>&6
12910 # If each of the values was on the command line, it overrides each guess.
12911 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
12912 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
12913 # Update the cache value to reflect the command line values.
12914 ac_cv_have_x
="have_x=yes \
12915 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
12916 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
12919 if test "$no_x" = yes; then
12920 # Not all programs may use this symbol, but it does not hurt to define it.
12921 cat >> confdefs.h
<<\EOF
12922 #define X_DISPLAY_MISSING 1
12925 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
12927 if test -n "$x_includes"; then
12928 X_CFLAGS
="$X_CFLAGS -I$x_includes"
12931 # It would also be nice to do this for all -L options, not just this one.
12932 if test -n "$x_libraries"; then
12933 X_LIBS
="$X_LIBS -L$x_libraries"
12934 # For Solaris; some versions of Sun CC require a space after -R and
12935 # others require no space. Words are not sufficient . . . .
12936 case "`(uname -sr) 2>/dev/null`" in
12938 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
12939 echo "configure:12940: checking whether -R must be followed by a space" >&5
12940 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
12941 cat > conftest.
$ac_ext <<EOF
12942 #line 12943 "configure"
12943 #include "confdefs.h"
12949 if { (eval echo configure
:12950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12953 echo "configure: failed program was:" >&5
12954 cat conftest.
$ac_ext >&5
12959 if test $ac_R_nospace = yes; then
12960 echo "$ac_t""no" 1>&6
12961 X_LIBS
="$X_LIBS -R$x_libraries"
12963 LIBS
="$ac_xsave_LIBS -R $x_libraries"
12964 cat > conftest.
$ac_ext <<EOF
12965 #line 12966 "configure"
12966 #include "confdefs.h"
12972 if { (eval echo configure
:12973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12976 echo "configure: failed program was:" >&5
12977 cat conftest.
$ac_ext >&5
12982 if test $ac_R_space = yes; then
12983 echo "$ac_t""yes" 1>&6
12984 X_LIBS
="$X_LIBS -R $x_libraries"
12986 echo "$ac_t""neither works" 1>&6
12989 LIBS
="$ac_xsave_LIBS"
12993 # Check for system-dependent libraries X programs must link with.
12994 # Do this before checking for the system-independent R6 libraries
12995 # (-lICE), since we may need -lsocket or whatever for X linking.
12997 if test "$ISC" = yes; then
12998 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13000 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13001 # libraries were built with DECnet support. And karl@cs.umb.edu says
13002 # the Alpha needs dnet_stub (dnet does not exist).
13003 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13004 echo "configure:13005: checking for dnet_ntoa in -ldnet" >&5
13005 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13006 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13007 echo $ac_n "(cached) $ac_c" 1>&6
13009 ac_save_LIBS
="$LIBS"
13010 LIBS
="-ldnet $LIBS"
13011 cat > conftest.
$ac_ext <<EOF
13012 #line 13013 "configure"
13013 #include "confdefs.h"
13014 /* Override any gcc2 internal prototype to avoid an error. */
13015 /* We use char because int might match the return type of a gcc2
13016 builtin and then its argument prototype would still apply. */
13023 if { (eval echo configure
:13024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13025 eval "ac_cv_lib_$ac_lib_var=yes"
13027 echo "configure: failed program was:" >&5
13028 cat conftest.
$ac_ext >&5
13030 eval "ac_cv_lib_$ac_lib_var=no"
13033 LIBS
="$ac_save_LIBS"
13036 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13037 echo "$ac_t""yes" 1>&6
13038 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13040 echo "$ac_t""no" 1>&6
13043 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13044 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13045 echo "configure:13046: checking for dnet_ntoa in -ldnet_stub" >&5
13046 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13047 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13048 echo $ac_n "(cached) $ac_c" 1>&6
13050 ac_save_LIBS
="$LIBS"
13051 LIBS
="-ldnet_stub $LIBS"
13052 cat > conftest.
$ac_ext <<EOF
13053 #line 13054 "configure"
13054 #include "confdefs.h"
13055 /* Override any gcc2 internal prototype to avoid an error. */
13056 /* We use char because int might match the return type of a gcc2
13057 builtin and then its argument prototype would still apply. */
13064 if { (eval echo configure
:13065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13066 eval "ac_cv_lib_$ac_lib_var=yes"
13068 echo "configure: failed program was:" >&5
13069 cat conftest.
$ac_ext >&5
13071 eval "ac_cv_lib_$ac_lib_var=no"
13074 LIBS
="$ac_save_LIBS"
13077 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13078 echo "$ac_t""yes" 1>&6
13079 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13081 echo "$ac_t""no" 1>&6
13086 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13087 # to get the SysV transport functions.
13088 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13090 # The nsl library prevents programs from opening the X display
13091 # on Irix 5.2, according to dickey@clark.net.
13092 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13093 echo "configure:13094: checking for gethostbyname" >&5
13094 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13095 echo $ac_n "(cached) $ac_c" 1>&6
13097 cat > conftest.
$ac_ext <<EOF
13098 #line 13099 "configure"
13099 #include "confdefs.h"
13100 /* System header to define __stub macros and hopefully few prototypes,
13101 which can conflict with char gethostbyname(); below. */
13102 #include <assert.h>
13103 /* Override any gcc2 internal prototype to avoid an error. */
13104 /* We use char because int might match the return type of a gcc2
13105 builtin and then its argument prototype would still apply. */
13106 char gethostbyname();
13110 /* The GNU C library defines this for functions which it implements
13111 to always fail with ENOSYS. Some functions are actually named
13112 something starting with __ and the normal name is an alias. */
13113 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13121 if { (eval echo configure
:13122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13123 eval "ac_cv_func_gethostbyname=yes"
13125 echo "configure: failed program was:" >&5
13126 cat conftest.
$ac_ext >&5
13128 eval "ac_cv_func_gethostbyname=no"
13133 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13134 echo "$ac_t""yes" 1>&6
13137 echo "$ac_t""no" 1>&6
13140 if test $ac_cv_func_gethostbyname = no
; then
13141 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13142 echo "configure:13143: checking for gethostbyname in -lnsl" >&5
13143 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13144 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13145 echo $ac_n "(cached) $ac_c" 1>&6
13147 ac_save_LIBS
="$LIBS"
13149 cat > conftest.
$ac_ext <<EOF
13150 #line 13151 "configure"
13151 #include "confdefs.h"
13152 /* Override any gcc2 internal prototype to avoid an error. */
13153 /* We use char because int might match the return type of a gcc2
13154 builtin and then its argument prototype would still apply. */
13155 char gethostbyname();
13161 if { (eval echo configure
:13162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13163 eval "ac_cv_lib_$ac_lib_var=yes"
13165 echo "configure: failed program was:" >&5
13166 cat conftest.
$ac_ext >&5
13168 eval "ac_cv_lib_$ac_lib_var=no"
13171 LIBS
="$ac_save_LIBS"
13174 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13175 echo "$ac_t""yes" 1>&6
13176 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13178 echo "$ac_t""no" 1>&6
13183 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13184 # socket/setsockopt and other routines are undefined under SCO ODT
13185 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13186 # on later versions), says simon@lia.di.epfl.ch: it contains
13187 # gethostby* variants that don't use the nameserver (or something).
13188 # -lsocket must be given before -lnsl if both are needed.
13189 # We assume that if connect needs -lnsl, so does gethostbyname.
13190 echo $ac_n "checking for connect""... $ac_c" 1>&6
13191 echo "configure:13192: checking for connect" >&5
13192 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13193 echo $ac_n "(cached) $ac_c" 1>&6
13195 cat > conftest.
$ac_ext <<EOF
13196 #line 13197 "configure"
13197 #include "confdefs.h"
13198 /* System header to define __stub macros and hopefully few prototypes,
13199 which can conflict with char connect(); below. */
13200 #include <assert.h>
13201 /* Override any gcc2 internal prototype to avoid an error. */
13202 /* We use char because int might match the return type of a gcc2
13203 builtin and then its argument prototype would still apply. */
13208 /* The GNU C library defines this for functions which it implements
13209 to always fail with ENOSYS. Some functions are actually named
13210 something starting with __ and the normal name is an alias. */
13211 #if defined (__stub_connect) || defined (__stub___connect)
13219 if { (eval echo configure
:13220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13221 eval "ac_cv_func_connect=yes"
13223 echo "configure: failed program was:" >&5
13224 cat conftest.
$ac_ext >&5
13226 eval "ac_cv_func_connect=no"
13231 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
13232 echo "$ac_t""yes" 1>&6
13235 echo "$ac_t""no" 1>&6
13238 if test $ac_cv_func_connect = no
; then
13239 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
13240 echo "configure:13241: checking for connect in -lsocket" >&5
13241 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
13242 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13243 echo $ac_n "(cached) $ac_c" 1>&6
13245 ac_save_LIBS
="$LIBS"
13246 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13247 cat > conftest.
$ac_ext <<EOF
13248 #line 13249 "configure"
13249 #include "confdefs.h"
13250 /* Override any gcc2 internal prototype to avoid an error. */
13251 /* We use char because int might match the return type of a gcc2
13252 builtin and then its argument prototype would still apply. */
13259 if { (eval echo configure
:13260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13261 eval "ac_cv_lib_$ac_lib_var=yes"
13263 echo "configure: failed program was:" >&5
13264 cat conftest.
$ac_ext >&5
13266 eval "ac_cv_lib_$ac_lib_var=no"
13269 LIBS
="$ac_save_LIBS"
13272 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13273 echo "$ac_t""yes" 1>&6
13274 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
13276 echo "$ac_t""no" 1>&6
13281 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
13282 echo $ac_n "checking for remove""... $ac_c" 1>&6
13283 echo "configure:13284: checking for remove" >&5
13284 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
13285 echo $ac_n "(cached) $ac_c" 1>&6
13287 cat > conftest.
$ac_ext <<EOF
13288 #line 13289 "configure"
13289 #include "confdefs.h"
13290 /* System header to define __stub macros and hopefully few prototypes,
13291 which can conflict with char remove(); below. */
13292 #include <assert.h>
13293 /* Override any gcc2 internal prototype to avoid an error. */
13294 /* We use char because int might match the return type of a gcc2
13295 builtin and then its argument prototype would still apply. */
13300 /* The GNU C library defines this for functions which it implements
13301 to always fail with ENOSYS. Some functions are actually named
13302 something starting with __ and the normal name is an alias. */
13303 #if defined (__stub_remove) || defined (__stub___remove)
13311 if { (eval echo configure
:13312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13313 eval "ac_cv_func_remove=yes"
13315 echo "configure: failed program was:" >&5
13316 cat conftest.
$ac_ext >&5
13318 eval "ac_cv_func_remove=no"
13323 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
13324 echo "$ac_t""yes" 1>&6
13327 echo "$ac_t""no" 1>&6
13330 if test $ac_cv_func_remove = no
; then
13331 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
13332 echo "configure:13333: checking for remove in -lposix" >&5
13333 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
13334 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13335 echo $ac_n "(cached) $ac_c" 1>&6
13337 ac_save_LIBS
="$LIBS"
13338 LIBS
="-lposix $LIBS"
13339 cat > conftest.
$ac_ext <<EOF
13340 #line 13341 "configure"
13341 #include "confdefs.h"
13342 /* Override any gcc2 internal prototype to avoid an error. */
13343 /* We use char because int might match the return type of a gcc2
13344 builtin and then its argument prototype would still apply. */
13351 if { (eval echo configure
:13352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13353 eval "ac_cv_lib_$ac_lib_var=yes"
13355 echo "configure: failed program was:" >&5
13356 cat conftest.
$ac_ext >&5
13358 eval "ac_cv_lib_$ac_lib_var=no"
13361 LIBS
="$ac_save_LIBS"
13364 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13365 echo "$ac_t""yes" 1>&6
13366 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
13368 echo "$ac_t""no" 1>&6
13373 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13374 echo $ac_n "checking for shmat""... $ac_c" 1>&6
13375 echo "configure:13376: checking for shmat" >&5
13376 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
13377 echo $ac_n "(cached) $ac_c" 1>&6
13379 cat > conftest.
$ac_ext <<EOF
13380 #line 13381 "configure"
13381 #include "confdefs.h"
13382 /* System header to define __stub macros and hopefully few prototypes,
13383 which can conflict with char shmat(); below. */
13384 #include <assert.h>
13385 /* Override any gcc2 internal prototype to avoid an error. */
13386 /* We use char because int might match the return type of a gcc2
13387 builtin and then its argument prototype would still apply. */
13392 /* The GNU C library defines this for functions which it implements
13393 to always fail with ENOSYS. Some functions are actually named
13394 something starting with __ and the normal name is an alias. */
13395 #if defined (__stub_shmat) || defined (__stub___shmat)
13403 if { (eval echo configure
:13404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13405 eval "ac_cv_func_shmat=yes"
13407 echo "configure: failed program was:" >&5
13408 cat conftest.
$ac_ext >&5
13410 eval "ac_cv_func_shmat=no"
13415 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
13416 echo "$ac_t""yes" 1>&6
13419 echo "$ac_t""no" 1>&6
13422 if test $ac_cv_func_shmat = no
; then
13423 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
13424 echo "configure:13425: checking for shmat in -lipc" >&5
13425 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
13426 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13427 echo $ac_n "(cached) $ac_c" 1>&6
13429 ac_save_LIBS
="$LIBS"
13431 cat > conftest.
$ac_ext <<EOF
13432 #line 13433 "configure"
13433 #include "confdefs.h"
13434 /* Override any gcc2 internal prototype to avoid an error. */
13435 /* We use char because int might match the return type of a gcc2
13436 builtin and then its argument prototype would still apply. */
13443 if { (eval echo configure
:13444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13445 eval "ac_cv_lib_$ac_lib_var=yes"
13447 echo "configure: failed program was:" >&5
13448 cat conftest.
$ac_ext >&5
13450 eval "ac_cv_lib_$ac_lib_var=no"
13453 LIBS
="$ac_save_LIBS"
13456 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13457 echo "$ac_t""yes" 1>&6
13458 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
13460 echo "$ac_t""no" 1>&6
13466 # Check for libraries that X11R6 Xt/Xaw programs need.
13467 ac_save_LDFLAGS
="$LDFLAGS"
13468 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
13469 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13470 # check for ICE first), but we must link in the order -lSM -lICE or
13471 # we get undefined symbols. So assume we have SM if we have ICE.
13472 # These have to be linked with before -lX11, unlike the other
13473 # libraries we check for below, so use a different variable.
13474 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
13475 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
13476 echo "configure:13477: checking for IceConnectionNumber in -lICE" >&5
13477 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
13478 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13479 echo $ac_n "(cached) $ac_c" 1>&6
13481 ac_save_LIBS
="$LIBS"
13482 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
13483 cat > conftest.
$ac_ext <<EOF
13484 #line 13485 "configure"
13485 #include "confdefs.h"
13486 /* Override any gcc2 internal prototype to avoid an error. */
13487 /* We use char because int might match the return type of a gcc2
13488 builtin and then its argument prototype would still apply. */
13489 char IceConnectionNumber();
13492 IceConnectionNumber()
13495 if { (eval echo configure
:13496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13497 eval "ac_cv_lib_$ac_lib_var=yes"
13499 echo "configure: failed program was:" >&5
13500 cat conftest.
$ac_ext >&5
13502 eval "ac_cv_lib_$ac_lib_var=no"
13505 LIBS
="$ac_save_LIBS"
13508 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13509 echo "$ac_t""yes" 1>&6
13510 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
13512 echo "$ac_t""no" 1>&6
13515 LDFLAGS
="$ac_save_LDFLAGS"
13520 if test "$no_x" = "yes"; then
13521 { echo "configure: error: X11 not found" 1>&2; exit 1; }
13524 GUI_TK_LIBRARY
="$X_LIBS"
13525 TOOLKIT_INCLUDE
="$X_CFLAGS"
13526 AFMINSTALL
=afminstall
13527 COMPILED_X_PROGRAM
=0
13529 if test "$wxUSE_NANOX" = "yes"; then
13530 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
13531 echo "configure:13532: checking for MicroWindows/NanoX distribution" >&5
13532 if test "x$MICROWIN" = x
; then
13533 echo "$ac_t""not found" 1>&6
13534 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
13536 echo "$ac_t""$MICROWIN" 1>&6
13537 cat >> confdefs.h
<<\EOF
13538 #define wxUSE_NANOX 1
13545 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13546 echo "configure:13547: checking for Xpm library" >&5
13549 for ac_dir
in $SEARCH_LIB;
13551 for ac_extension
in a so sl dylib
; do
13552 if test -f "$ac_dir/libXpm.$ac_extension"; then
13553 ac_find_libraries
=$ac_dir
13559 if test "$ac_find_libraries" != "" ; then
13561 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13563 if test $result = 0; then
13566 ac_path_to_link
=" -L$ac_find_libraries"
13569 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13571 cat >> confdefs.h
<<\EOF
13572 #define wxHAVE_LIB_XPM 1
13575 echo "$ac_t""found at $ac_find_libraries" 1>&6
13577 cat > conftest.
$ac_ext <<EOF
13578 #line 13579 "configure"
13579 #include "confdefs.h"
13581 #include <X11/xpm.h>
13586 version = XpmLibraryVersion();
13590 if { (eval echo configure
:13591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13594 cat >> confdefs.h
<<\EOF
13595 #define wxHAVE_LIB_XPM 1
13598 echo "$ac_t""found in default search path" 1>&6
13599 COMPILED_X_PROGRAM
=0
13602 echo "configure: failed program was:" >&5
13603 cat conftest.
$ac_ext >&5
13606 echo "$ac_t""no" 1>&6
13607 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13614 wxUSE_UNIVERSAL
="yes"
13616 if test "$wxUSE_NANOX" = "yes"; then
13617 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
13618 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"
13619 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
13621 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
13624 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
13629 if test "$wxUSE_WINE" = 1; then
13630 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
13631 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
13632 echo "configure:13633: checking for windows.h" >&5
13633 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13634 echo $ac_n "(cached) $ac_c" 1>&6
13636 cat > conftest.
$ac_ext <<EOF
13637 #line 13638 "configure"
13638 #include "confdefs.h"
13639 #include <windows.h>
13641 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13642 { (eval echo configure
:13643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13643 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13644 if test -z "$ac_err"; then
13646 eval "ac_cv_header_$ac_safe=yes"
13649 echo "configure: failed program was:" >&5
13650 cat conftest.
$ac_ext >&5
13652 eval "ac_cv_header_$ac_safe=no"
13656 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13657 echo "$ac_t""yes" 1>&6
13660 echo "$ac_t""no" 1>&6
13662 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
13668 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13669 echo "configure:13670: checking for Xpm library" >&5
13672 for ac_dir
in $SEARCH_LIB;
13674 for ac_extension
in a so sl dylib
; do
13675 if test -f "$ac_dir/libXpm.$ac_extension"; then
13676 ac_find_libraries
=$ac_dir
13682 if test "$ac_find_libraries" != "" ; then
13683 GUI_TK_LIBRARY
="-L$ac_find_libraries"
13685 cat >> confdefs.h
<<\EOF
13686 #define wxHAVE_LIB_XPM 1
13689 echo "$ac_t""found at $ac_find_libraries" 1>&6
13691 echo "$ac_t""no" 1>&6
13692 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13696 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
13697 echo "configure:13698: checking for Mesa library" >&5
13700 for ac_dir
in $SEARCH_LIB;
13702 for ac_extension
in a so sl dylib
; do
13703 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
13704 ac_find_libraries
=$ac_dir
13710 if test "$ac_find_libraries" != "" ; then
13711 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
13712 mesa_link
=" -lMesaGL"
13713 echo "$ac_t""found at $ac_find_libraries" 1>&6
13715 { echo "configure: error: no" 1>&2; exit 1; }
13718 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
13721 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
13724 if test "$wxUSE_MOTIF" = 1; then
13725 if test "$no_x" = yes; then
13726 # Not all programs may use this symbol, but it does not hurt to define it.
13727 cat >> confdefs.h
<<\EOF
13728 #define X_DISPLAY_MISSING 1
13731 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13733 if test -n "$x_includes"; then
13734 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13737 # It would also be nice to do this for all -L options, not just this one.
13738 if test -n "$x_libraries"; then
13739 X_LIBS
="$X_LIBS -L$x_libraries"
13740 # For Solaris; some versions of Sun CC require a space after -R and
13741 # others require no space. Words are not sufficient . . . .
13742 case "`(uname -sr) 2>/dev/null`" in
13744 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13745 echo "configure:13746: checking whether -R must be followed by a space" >&5
13746 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13747 cat > conftest.
$ac_ext <<EOF
13748 #line 13749 "configure"
13749 #include "confdefs.h"
13755 if { (eval echo configure
:13756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13759 echo "configure: failed program was:" >&5
13760 cat conftest.
$ac_ext >&5
13765 if test $ac_R_nospace = yes; then
13766 echo "$ac_t""no" 1>&6
13767 X_LIBS
="$X_LIBS -R$x_libraries"
13769 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13770 cat > conftest.
$ac_ext <<EOF
13771 #line 13772 "configure"
13772 #include "confdefs.h"
13778 if { (eval echo configure
:13779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13782 echo "configure: failed program was:" >&5
13783 cat conftest.
$ac_ext >&5
13788 if test $ac_R_space = yes; then
13789 echo "$ac_t""yes" 1>&6
13790 X_LIBS
="$X_LIBS -R $x_libraries"
13792 echo "$ac_t""neither works" 1>&6
13795 LIBS
="$ac_xsave_LIBS"
13799 # Check for system-dependent libraries X programs must link with.
13800 # Do this before checking for the system-independent R6 libraries
13801 # (-lICE), since we may need -lsocket or whatever for X linking.
13803 if test "$ISC" = yes; then
13804 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13806 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13807 # libraries were built with DECnet support. And karl@cs.umb.edu says
13808 # the Alpha needs dnet_stub (dnet does not exist).
13809 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13810 echo "configure:13811: checking for dnet_ntoa in -ldnet" >&5
13811 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13812 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13813 echo $ac_n "(cached) $ac_c" 1>&6
13815 ac_save_LIBS
="$LIBS"
13816 LIBS
="-ldnet $LIBS"
13817 cat > conftest.
$ac_ext <<EOF
13818 #line 13819 "configure"
13819 #include "confdefs.h"
13820 /* Override any gcc2 internal prototype to avoid an error. */
13821 /* We use char because int might match the return type of a gcc2
13822 builtin and then its argument prototype would still apply. */
13829 if { (eval echo configure
:13830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13831 eval "ac_cv_lib_$ac_lib_var=yes"
13833 echo "configure: failed program was:" >&5
13834 cat conftest.
$ac_ext >&5
13836 eval "ac_cv_lib_$ac_lib_var=no"
13839 LIBS
="$ac_save_LIBS"
13842 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13843 echo "$ac_t""yes" 1>&6
13844 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13846 echo "$ac_t""no" 1>&6
13849 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13850 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13851 echo "configure:13852: checking for dnet_ntoa in -ldnet_stub" >&5
13852 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13853 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13854 echo $ac_n "(cached) $ac_c" 1>&6
13856 ac_save_LIBS
="$LIBS"
13857 LIBS
="-ldnet_stub $LIBS"
13858 cat > conftest.
$ac_ext <<EOF
13859 #line 13860 "configure"
13860 #include "confdefs.h"
13861 /* Override any gcc2 internal prototype to avoid an error. */
13862 /* We use char because int might match the return type of a gcc2
13863 builtin and then its argument prototype would still apply. */
13870 if { (eval echo configure
:13871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13872 eval "ac_cv_lib_$ac_lib_var=yes"
13874 echo "configure: failed program was:" >&5
13875 cat conftest.
$ac_ext >&5
13877 eval "ac_cv_lib_$ac_lib_var=no"
13880 LIBS
="$ac_save_LIBS"
13883 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13884 echo "$ac_t""yes" 1>&6
13885 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13887 echo "$ac_t""no" 1>&6
13892 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13893 # to get the SysV transport functions.
13894 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13896 # The nsl library prevents programs from opening the X display
13897 # on Irix 5.2, according to dickey@clark.net.
13898 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13899 echo "configure:13900: checking for gethostbyname" >&5
13900 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13901 echo $ac_n "(cached) $ac_c" 1>&6
13903 cat > conftest.
$ac_ext <<EOF
13904 #line 13905 "configure"
13905 #include "confdefs.h"
13906 /* System header to define __stub macros and hopefully few prototypes,
13907 which can conflict with char gethostbyname(); below. */
13908 #include <assert.h>
13909 /* Override any gcc2 internal prototype to avoid an error. */
13910 /* We use char because int might match the return type of a gcc2
13911 builtin and then its argument prototype would still apply. */
13912 char gethostbyname();
13916 /* The GNU C library defines this for functions which it implements
13917 to always fail with ENOSYS. Some functions are actually named
13918 something starting with __ and the normal name is an alias. */
13919 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13927 if { (eval echo configure
:13928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13929 eval "ac_cv_func_gethostbyname=yes"
13931 echo "configure: failed program was:" >&5
13932 cat conftest.
$ac_ext >&5
13934 eval "ac_cv_func_gethostbyname=no"
13939 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13940 echo "$ac_t""yes" 1>&6
13943 echo "$ac_t""no" 1>&6
13946 if test $ac_cv_func_gethostbyname = no
; then
13947 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13948 echo "configure:13949: checking for gethostbyname in -lnsl" >&5
13949 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13950 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13951 echo $ac_n "(cached) $ac_c" 1>&6
13953 ac_save_LIBS
="$LIBS"
13955 cat > conftest.
$ac_ext <<EOF
13956 #line 13957 "configure"
13957 #include "confdefs.h"
13958 /* Override any gcc2 internal prototype to avoid an error. */
13959 /* We use char because int might match the return type of a gcc2
13960 builtin and then its argument prototype would still apply. */
13961 char gethostbyname();
13967 if { (eval echo configure
:13968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13969 eval "ac_cv_lib_$ac_lib_var=yes"
13971 echo "configure: failed program was:" >&5
13972 cat conftest.
$ac_ext >&5
13974 eval "ac_cv_lib_$ac_lib_var=no"
13977 LIBS
="$ac_save_LIBS"
13980 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13981 echo "$ac_t""yes" 1>&6
13982 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13984 echo "$ac_t""no" 1>&6
13989 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13990 # socket/setsockopt and other routines are undefined under SCO ODT
13991 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13992 # on later versions), says simon@lia.di.epfl.ch: it contains
13993 # gethostby* variants that don't use the nameserver (or something).
13994 # -lsocket must be given before -lnsl if both are needed.
13995 # We assume that if connect needs -lnsl, so does gethostbyname.
13996 echo $ac_n "checking for connect""... $ac_c" 1>&6
13997 echo "configure:13998: checking for connect" >&5
13998 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13999 echo $ac_n "(cached) $ac_c" 1>&6
14001 cat > conftest.
$ac_ext <<EOF
14002 #line 14003 "configure"
14003 #include "confdefs.h"
14004 /* System header to define __stub macros and hopefully few prototypes,
14005 which can conflict with char connect(); below. */
14006 #include <assert.h>
14007 /* Override any gcc2 internal prototype to avoid an error. */
14008 /* We use char because int might match the return type of a gcc2
14009 builtin and then its argument prototype would still apply. */
14014 /* The GNU C library defines this for functions which it implements
14015 to always fail with ENOSYS. Some functions are actually named
14016 something starting with __ and the normal name is an alias. */
14017 #if defined (__stub_connect) || defined (__stub___connect)
14025 if { (eval echo configure
:14026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14027 eval "ac_cv_func_connect=yes"
14029 echo "configure: failed program was:" >&5
14030 cat conftest.
$ac_ext >&5
14032 eval "ac_cv_func_connect=no"
14037 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14038 echo "$ac_t""yes" 1>&6
14041 echo "$ac_t""no" 1>&6
14044 if test $ac_cv_func_connect = no
; then
14045 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14046 echo "configure:14047: checking for connect in -lsocket" >&5
14047 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14048 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14049 echo $ac_n "(cached) $ac_c" 1>&6
14051 ac_save_LIBS
="$LIBS"
14052 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14053 cat > conftest.
$ac_ext <<EOF
14054 #line 14055 "configure"
14055 #include "confdefs.h"
14056 /* Override any gcc2 internal prototype to avoid an error. */
14057 /* We use char because int might match the return type of a gcc2
14058 builtin and then its argument prototype would still apply. */
14065 if { (eval echo configure
:14066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14067 eval "ac_cv_lib_$ac_lib_var=yes"
14069 echo "configure: failed program was:" >&5
14070 cat conftest.
$ac_ext >&5
14072 eval "ac_cv_lib_$ac_lib_var=no"
14075 LIBS
="$ac_save_LIBS"
14078 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14079 echo "$ac_t""yes" 1>&6
14080 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14082 echo "$ac_t""no" 1>&6
14087 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14088 echo $ac_n "checking for remove""... $ac_c" 1>&6
14089 echo "configure:14090: checking for remove" >&5
14090 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14091 echo $ac_n "(cached) $ac_c" 1>&6
14093 cat > conftest.
$ac_ext <<EOF
14094 #line 14095 "configure"
14095 #include "confdefs.h"
14096 /* System header to define __stub macros and hopefully few prototypes,
14097 which can conflict with char remove(); below. */
14098 #include <assert.h>
14099 /* Override any gcc2 internal prototype to avoid an error. */
14100 /* We use char because int might match the return type of a gcc2
14101 builtin and then its argument prototype would still apply. */
14106 /* The GNU C library defines this for functions which it implements
14107 to always fail with ENOSYS. Some functions are actually named
14108 something starting with __ and the normal name is an alias. */
14109 #if defined (__stub_remove) || defined (__stub___remove)
14117 if { (eval echo configure
:14118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14119 eval "ac_cv_func_remove=yes"
14121 echo "configure: failed program was:" >&5
14122 cat conftest.
$ac_ext >&5
14124 eval "ac_cv_func_remove=no"
14129 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14130 echo "$ac_t""yes" 1>&6
14133 echo "$ac_t""no" 1>&6
14136 if test $ac_cv_func_remove = no
; then
14137 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14138 echo "configure:14139: checking for remove in -lposix" >&5
14139 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14140 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14141 echo $ac_n "(cached) $ac_c" 1>&6
14143 ac_save_LIBS
="$LIBS"
14144 LIBS
="-lposix $LIBS"
14145 cat > conftest.
$ac_ext <<EOF
14146 #line 14147 "configure"
14147 #include "confdefs.h"
14148 /* Override any gcc2 internal prototype to avoid an error. */
14149 /* We use char because int might match the return type of a gcc2
14150 builtin and then its argument prototype would still apply. */
14157 if { (eval echo configure
:14158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14159 eval "ac_cv_lib_$ac_lib_var=yes"
14161 echo "configure: failed program was:" >&5
14162 cat conftest.
$ac_ext >&5
14164 eval "ac_cv_lib_$ac_lib_var=no"
14167 LIBS
="$ac_save_LIBS"
14170 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14171 echo "$ac_t""yes" 1>&6
14172 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14174 echo "$ac_t""no" 1>&6
14179 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14180 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14181 echo "configure:14182: checking for shmat" >&5
14182 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14183 echo $ac_n "(cached) $ac_c" 1>&6
14185 cat > conftest.
$ac_ext <<EOF
14186 #line 14187 "configure"
14187 #include "confdefs.h"
14188 /* System header to define __stub macros and hopefully few prototypes,
14189 which can conflict with char shmat(); below. */
14190 #include <assert.h>
14191 /* Override any gcc2 internal prototype to avoid an error. */
14192 /* We use char because int might match the return type of a gcc2
14193 builtin and then its argument prototype would still apply. */
14198 /* The GNU C library defines this for functions which it implements
14199 to always fail with ENOSYS. Some functions are actually named
14200 something starting with __ and the normal name is an alias. */
14201 #if defined (__stub_shmat) || defined (__stub___shmat)
14209 if { (eval echo configure
:14210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14211 eval "ac_cv_func_shmat=yes"
14213 echo "configure: failed program was:" >&5
14214 cat conftest.
$ac_ext >&5
14216 eval "ac_cv_func_shmat=no"
14221 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14222 echo "$ac_t""yes" 1>&6
14225 echo "$ac_t""no" 1>&6
14228 if test $ac_cv_func_shmat = no
; then
14229 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14230 echo "configure:14231: checking for shmat in -lipc" >&5
14231 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14232 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14233 echo $ac_n "(cached) $ac_c" 1>&6
14235 ac_save_LIBS
="$LIBS"
14237 cat > conftest.
$ac_ext <<EOF
14238 #line 14239 "configure"
14239 #include "confdefs.h"
14240 /* Override any gcc2 internal prototype to avoid an error. */
14241 /* We use char because int might match the return type of a gcc2
14242 builtin and then its argument prototype would still apply. */
14249 if { (eval echo configure
:14250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14251 eval "ac_cv_lib_$ac_lib_var=yes"
14253 echo "configure: failed program was:" >&5
14254 cat conftest.
$ac_ext >&5
14256 eval "ac_cv_lib_$ac_lib_var=no"
14259 LIBS
="$ac_save_LIBS"
14262 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14263 echo "$ac_t""yes" 1>&6
14264 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14266 echo "$ac_t""no" 1>&6
14272 # Check for libraries that X11R6 Xt/Xaw programs need.
14273 ac_save_LDFLAGS
="$LDFLAGS"
14274 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14275 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14276 # check for ICE first), but we must link in the order -lSM -lICE or
14277 # we get undefined symbols. So assume we have SM if we have ICE.
14278 # These have to be linked with before -lX11, unlike the other
14279 # libraries we check for below, so use a different variable.
14280 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14281 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14282 echo "configure:14283: checking for IceConnectionNumber in -lICE" >&5
14283 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14284 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14285 echo $ac_n "(cached) $ac_c" 1>&6
14287 ac_save_LIBS
="$LIBS"
14288 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14289 cat > conftest.
$ac_ext <<EOF
14290 #line 14291 "configure"
14291 #include "confdefs.h"
14292 /* Override any gcc2 internal prototype to avoid an error. */
14293 /* We use char because int might match the return type of a gcc2
14294 builtin and then its argument prototype would still apply. */
14295 char IceConnectionNumber();
14298 IceConnectionNumber()
14301 if { (eval echo configure
:14302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14303 eval "ac_cv_lib_$ac_lib_var=yes"
14305 echo "configure: failed program was:" >&5
14306 cat conftest.
$ac_ext >&5
14308 eval "ac_cv_lib_$ac_lib_var=no"
14311 LIBS
="$ac_save_LIBS"
14314 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14315 echo "$ac_t""yes" 1>&6
14316 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14318 echo "$ac_t""no" 1>&6
14321 LDFLAGS
="$ac_save_LDFLAGS"
14326 if test "$no_x" = "yes"; then
14327 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14330 GUI_TK_LIBRARY
="$X_LIBS"
14331 TOOLKIT_INCLUDE
="$X_CFLAGS"
14332 AFMINSTALL
=afminstall
14333 COMPILED_X_PROGRAM
=0
14335 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
14336 echo "configure:14337: checking for Motif/Lesstif headers" >&5
14339 for ac_dir
in $SEARCH_INCLUDE;
14341 if test -f "$ac_dir/Xm/Xm.h"; then
14342 ac_find_includes
=$ac_dir
14347 if test "$ac_find_includes" != "" ; then
14348 echo "$ac_t""found $ac_find_includes" 1>&6
14350 cat > conftest.
$ac_ext <<EOF
14351 #line 14352 "configure"
14352 #include "confdefs.h"
14359 version = xmUseVersion;
14363 if { (eval echo configure
:14364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14366 echo "$ac_t""found in default search path" 1>&6
14367 COMPILED_X_PROGRAM
=1
14370 echo "configure: failed program was:" >&5
14371 cat conftest.
$ac_ext >&5
14374 echo "$ac_t""no" 1>&6
14375 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
14382 if test "$COMPILED_X_PROGRAM" = 0; then
14383 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
14384 echo "configure:14385: checking for Motif/Lesstif library" >&5
14387 for ac_dir
in $SEARCH_LIB;
14389 for ac_extension
in a so sl dylib
; do
14390 if test -f "$ac_dir/libXm.$ac_extension"; then
14391 ac_find_libraries
=$ac_dir
14397 if test "$ac_find_libraries" != "" ; then
14399 ac_path_to_include
=$ac_find_includes
14400 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
14402 if test $result = 0; then
14403 ac_path_to_include
=""
14405 ac_path_to_include
=" -I$ac_find_includes"
14409 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14411 if test $result = 0; then
14414 ac_path_to_link
=" -L$ac_find_libraries"
14418 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14419 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
14420 echo "$ac_t""found at $ac_find_libraries" 1>&6
14422 cat > conftest.
$ac_ext <<EOF
14423 #line 14424 "configure"
14424 #include "confdefs.h"
14431 version = xmUseVersion;
14435 if { (eval echo configure
:14436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14438 echo "$ac_t""found in default search path" 1>&6
14439 COMPILED_X_PROGRAM
=1
14442 echo "configure: failed program was:" >&5
14443 cat conftest.
$ac_ext >&5
14446 echo "$ac_t""no" 1>&6
14447 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
14456 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14457 echo "configure:14458: checking for Xpm library" >&5
14460 for ac_dir
in $SEARCH_LIB;
14462 for ac_extension
in a so sl dylib
; do
14463 if test -f "$ac_dir/libXpm.$ac_extension"; then
14464 ac_find_libraries
=$ac_dir
14470 if test "$ac_find_libraries" != "" ; then
14472 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14474 if test $result = 0; then
14477 ac_path_to_link
=" -L$ac_find_libraries"
14480 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14482 cat >> confdefs.h
<<\EOF
14483 #define wxHAVE_LIB_XPM 1
14486 echo "$ac_t""found at $ac_find_libraries" 1>&6
14488 cat > conftest.
$ac_ext <<EOF
14489 #line 14490 "configure"
14490 #include "confdefs.h"
14492 #include <X11/xpm.h>
14497 version = XpmLibraryVersion();
14501 if { (eval echo configure
:14502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14505 cat >> confdefs.h
<<\EOF
14506 #define wxHAVE_LIB_XPM 1
14509 echo "$ac_t""found in default search path" 1>&6
14510 COMPILED_X_PROGRAM
=0
14513 echo "configure: failed program was:" >&5
14514 cat conftest.
$ac_ext >&5
14517 echo "$ac_t""no" 1>&6
14518 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14525 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
14526 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
14531 if test "$wxUSE_MAC" = 1; then
14532 if test "$wxUSE_PRECOMP" = "yes"; then
14533 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
14535 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
14537 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
14538 CFLAGS
="$CFLAGS -fpascal-strings"
14539 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
14541 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
14546 if test "$wxUSE_PM" = 1; then
14551 if test "$TOOLKIT" = "PM" ; then
14554 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
14557 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
14559 if test "$wxUSE_UNIVERSAL" = "yes"; then
14560 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
14562 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
14563 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
14565 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
14566 if test "$wxUSE_X11" = 1; then
14567 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
14569 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
14571 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
14574 ALL_OBJECTS
="\$(GUIOBJS)"
14575 ALL_SOURCES
="\$(ALL_SOURCES)"
14576 ALL_HEADERS
="\$(ALL_HEADERS)"
14579 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
14581 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
14582 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
14585 if test "$wxUSE_HTML" = "yes"; then
14586 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
14589 if test "$wxUSE_LIBJPEG" = "builtin" ; then
14590 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
14592 if test "$wxUSE_LIBTIFF" = "builtin" ; then
14593 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
14595 if test "$wxUSE_LIBPNG" = "builtin" ; then
14596 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
14599 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
14600 DISTDIR
="wx\$(TOOLKIT)"
14606 if test "$USE_WIN32" = 1 ; then
14607 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
14608 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
14612 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
14613 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
14616 ALL_SOURCES
="\$(ALL_SOURCES)"
14617 ALL_HEADERS
="\$(ALL_HEADERS)"
14619 PORT_FILES
="\${top_srcdir}/src/files.lst"
14621 GUIDIST
="BASE_DIST"
14626 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
14627 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
14630 if test "$wxUSE_REGEX" = "builtin" ; then
14631 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
14633 if test "$wxUSE_ZLIB" = "builtin" ; then
14634 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
14638 if test "$wxUSE_OPENGL" = "yes"; then
14639 if test "$wxUSE_MAC" = 1; then
14640 OPENGL_LIBS
="-framework OpenGL -framework AGL"
14641 elif test "$wxUSE_MSW" = 1; then
14642 OPENGL_LIBS
="-lopengl32 -lglu32"
14644 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
14645 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
14646 echo "configure:14647: checking for GL/gl.h" >&5
14647 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14648 echo $ac_n "(cached) $ac_c" 1>&6
14650 cat > conftest.
$ac_ext <<EOF
14651 #line 14652 "configure"
14652 #include "confdefs.h"
14655 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14656 { (eval echo configure
:14657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14657 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14658 if test -z "$ac_err"; then
14660 eval "ac_cv_header_$ac_safe=yes"
14663 echo "configure: failed program was:" >&5
14664 cat conftest.
$ac_ext >&5
14666 eval "ac_cv_header_$ac_safe=no"
14670 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14671 echo "$ac_t""yes" 1>&6
14673 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
14674 echo "configure:14675: checking for -lGL" >&5
14677 for ac_dir
in $SEARCH_LIB;
14679 for ac_extension
in a so sl dylib
; do
14680 if test -f "$ac_dir/libGL.$ac_extension"; then
14681 ac_find_libraries
=$ac_dir
14687 if test "$ac_find_libraries" != "" ; then
14689 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
14691 if test $result = 0; then
14694 ac_path_to_link
=" -L$ac_find_libraries"
14697 if test "$ac_path_to_link" = " -L/usr/lib" ; then
14698 LDFLAGS_GL
="$LDFLAGS"
14700 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
14702 OPENGL_LIBS
="-lGL -lGLU"
14703 echo "$ac_t""yes" 1>&6
14705 echo "$ac_t""no" 1>&6
14706 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
14707 echo "configure:14708: checking for -lMesaGL" >&5
14710 for ac_dir
in $SEARCH_LIB;
14712 for ac_extension
in a so sl dylib
; do
14713 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
14714 ac_find_libraries
=$ac_dir
14720 if test "$ac_find_libraries" != "" ; then
14722 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
14724 if test $result = 0; then
14727 ac_path_to_link
=" -L$ac_find_libraries"
14730 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
14731 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
14732 echo "$ac_t""yes" 1>&6
14734 echo "$ac_t""no" 1>&6
14739 echo "$ac_t""no" 1>&6
14743 if test "x$OPENGL_LIBS" = "x"; then
14744 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
14748 if test "$wxUSE_OPENGL" = "yes"; then
14749 cat >> confdefs.h
<<\EOF
14750 #define wxUSE_OPENGL 1
14753 cat >> confdefs.h
<<\EOF
14754 #define wxUSE_GLCANVAS 1
14757 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
14761 if test -z "$TOOLKIT_VPATH" ; then
14762 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
14765 if test -n "$TOOLKIT" ; then
14766 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
14769 lib_unicode_suffix
=
14770 if test "$wxUSE_UNICODE" = "yes"; then
14771 lib_unicode_suffix
=u
14775 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
14779 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
14780 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
14782 if test "$cross_compiling" = "yes"; then
14783 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
14784 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
14787 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
14788 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
14790 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
14791 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
14793 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
14794 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
14795 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
14796 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
14799 *-*-cygwin* | *-*-mingw32* )
14803 if test "$cross_compiling" != "yes"; then
14804 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
14805 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
14806 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
14807 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
14809 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
14810 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
14815 if test "$wxUSE_MAC" = 1; then
14816 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.r"
14817 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.rsrc"
14822 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
14823 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
14825 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
14826 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
14828 if test "$wxUSE_OPENGL" = "yes"; then
14829 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
14830 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
14835 if test "$wxUSE_SHARED" = "yes"; then
14837 *-pc-os2_emx | *-pc-os2-emx | \
14840 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
14845 if test "$wxUSE_SHARED" = "yes"; then
14847 if test "$wxUSE_OPENGL" = "yes"; then
14848 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
14849 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
14851 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
14852 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
14855 if test "$GCC" = "yes"; then
14859 SHARED_LD
="${CXX} -shared -o"
14863 if test "$GCC" == "yes"; then
14864 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
14866 LDFLAGS
="$LDFLAGS -L/usr/lib"
14868 SHARED_LD
="${CXX} -b -o"
14872 if test "$wxUSE_OPENGL" = "yes"; then
14873 WX_ALL_INSTALLED
="preinstall_gl"
14874 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
14876 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
14881 if test "$GCC" != "yes"; then
14882 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
14883 echo "configure:14884: checking for Intel compiler" >&5
14884 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
14885 echo $ac_n "(cached) $ac_c" 1>&6
14888 cat > conftest.
$ac_ext <<EOF
14889 #line 14890 "configure"
14890 #include "confdefs.h"
14894 #ifndef __INTEL_COMPILER
14900 if { (eval echo configure
:14901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14904 echo "configure: failed program was:" >&5
14905 cat conftest.
$ac_ext >&5
14914 echo "$ac_t""$wx_cv_prog_icc" 1>&6
14915 if test "$wx_cv_prog_icc" = "yes"; then
14920 if test "$wxUSE_SONAME" = "yes" ; then
14921 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
14922 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
14923 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
14928 if test "$GCC" = yes ; then
14929 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
14931 SHARED_LD
="${CXX} -G -o"
14933 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
14934 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
14939 CFLAGS
="$CFLAGS -fno-common -DWXMAKINGDLL"
14940 CXXFLAGS
="$CXXFLAGS -fno-common -DWXMAKINGDLL"
14941 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
14942 PIC_FLAG
="-dynamic -fPIC"
14943 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"
14944 SONAME_FLAGS_GL
=${SONAME_FLAGS}
14948 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
14949 set dummy makeC
++SharedLib
; ac_word
=$2
14950 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14951 echo "configure:14952: checking for $ac_word" >&5
14952 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
14953 echo $ac_n "(cached) $ac_c" 1>&6
14955 if test -n "$AIX_CXX_LD"; then
14956 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
14958 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14960 for ac_dir
in $ac_dummy; do
14961 test -z "$ac_dir" && ac_dir
=.
14962 if test -f $ac_dir/$ac_word; then
14963 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
14968 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
14971 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
14972 if test -n "$AIX_CXX_LD"; then
14973 echo "$ac_t""$AIX_CXX_LD" 1>&6
14975 echo "$ac_t""no" 1>&6
14979 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
14982 *-*-cygwin* | *-*-mingw32* )
14984 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
14986 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
14987 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
14989 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
14991 if test "$wxUSE_OPENGL" = "yes"; then
14992 WX_ALL_INSTALLED
="preinstall_gl"
14993 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
14995 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
15000 SHARED_LD
="${LD} -shared -o"
15003 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
15005 *-*-irix5* | *-*-irix6* | \
15012 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
15015 if test "x$WX_TARGET_LIBRARY" = "x"; then
15016 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
15017 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
15020 WX_TARGET_LIBRARY_TYPE
="so"
15021 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
15024 if test "$wxUSE_SHARED" = "no"; then
15026 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
15027 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
15030 if test "$wxUSE_MAC" = 1; then
15031 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
15034 if test "$wxUSE_OPENGL" = "yes"; then
15035 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
15036 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
15038 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
15041 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
15042 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
15044 WX_TARGET_LIBRARY_TYPE
="a"
15045 INSTALL_LIBRARY
='$(INSTALL_DATA)'
15048 if test "$wxUSE_MAC" = 1; then
15049 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
15050 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
15051 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
15052 # Extract the first word of "Rez", so it can be a program name with args.
15053 set dummy Rez
; ac_word
=$2
15054 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15055 echo "configure:15056: checking for $ac_word" >&5
15056 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
15057 echo $ac_n "(cached) $ac_c" 1>&6
15059 if test -n "$RESCOMP"; then
15060 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
15062 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15064 for ac_dir
in $ac_dummy; do
15065 test -z "$ac_dir" && ac_dir
=.
15066 if test -f $ac_dir/$ac_word; then
15067 ac_cv_prog_RESCOMP
="Rez"
15072 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
15075 RESCOMP
="$ac_cv_prog_RESCOMP"
15076 if test -n "$RESCOMP"; then
15077 echo "$ac_t""$RESCOMP" 1>&6
15079 echo "$ac_t""no" 1>&6
15082 # Extract the first word of "DeRez", so it can be a program name with args.
15083 set dummy DeRez
; ac_word
=$2
15084 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15085 echo "configure:15086: checking for $ac_word" >&5
15086 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
15087 echo $ac_n "(cached) $ac_c" 1>&6
15089 if test -n "$DEREZ"; then
15090 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
15092 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15094 for ac_dir
in $ac_dummy; do
15095 test -z "$ac_dir" && ac_dir
=.
15096 if test -f $ac_dir/$ac_word; then
15097 ac_cv_prog_DEREZ
="DeRez"
15102 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
15105 DEREZ
="$ac_cv_prog_DEREZ"
15106 if test -n "$DEREZ"; then
15107 echo "$ac_t""$DEREZ" 1>&6
15109 echo "$ac_t""no" 1>&6
15112 MACOSX_BUNDLE
="bundle"
15113 if test "$wxUSE_SHARED" = "yes"; then
15114 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r -o \$(BIN_PROGRAM)"
15115 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r -o"
15117 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
15118 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
15121 if test "$wxUSE_PM" = 1; then
15122 LIBWXMACRESCOMP
="emxbind -ep \$(BIN_PROGRAM)"
15127 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
15128 echo "configure:15129: checking for ANSI C header files" >&5
15129 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
15130 echo $ac_n "(cached) $ac_c" 1>&6
15132 cat > conftest.
$ac_ext <<EOF
15133 #line 15134 "configure"
15134 #include "confdefs.h"
15135 #include <stdlib.h>
15136 #include <stdarg.h>
15137 #include <string.h>
15140 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15141 { (eval echo configure
:15142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15142 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15143 if test -z "$ac_err"; then
15145 ac_cv_header_stdc
=yes
15148 echo "configure: failed program was:" >&5
15149 cat conftest.
$ac_ext >&5
15151 ac_cv_header_stdc
=no
15155 if test $ac_cv_header_stdc = yes; then
15156 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15157 cat > conftest.
$ac_ext <<EOF
15158 #line 15159 "configure"
15159 #include "confdefs.h"
15160 #include <string.h>
15162 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15163 egrep "memchr" >/dev
/null
2>&1; then
15167 ac_cv_header_stdc
=no
15173 if test $ac_cv_header_stdc = yes; then
15174 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15175 cat > conftest.
$ac_ext <<EOF
15176 #line 15177 "configure"
15177 #include "confdefs.h"
15178 #include <stdlib.h>
15180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15181 egrep "free" >/dev
/null
2>&1; then
15185 ac_cv_header_stdc
=no
15191 if test $ac_cv_header_stdc = yes; then
15192 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15193 if test "$cross_compiling" = yes; then
15196 cat > conftest.
$ac_ext <<EOF
15197 #line 15198 "configure"
15198 #include "confdefs.h"
15200 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15201 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15202 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15203 int main () { int i; for (i = 0; i < 256; i++)
15204 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
15208 if { (eval echo configure
:15209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
15212 echo "configure: failed program was:" >&5
15213 cat conftest.
$ac_ext >&5
15215 ac_cv_header_stdc
=no
15223 echo "$ac_t""$ac_cv_header_stdc" 1>&6
15224 if test $ac_cv_header_stdc = yes; then
15225 cat >> confdefs.h
<<\EOF
15226 #define STDC_HEADERS 1
15231 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
15232 echo "configure:15233: checking for mode_t" >&5
15233 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
15234 echo $ac_n "(cached) $ac_c" 1>&6
15236 cat > conftest.
$ac_ext <<EOF
15237 #line 15238 "configure"
15238 #include "confdefs.h"
15239 #include <sys/types.h>
15241 #include <stdlib.h>
15242 #include <stddef.h>
15245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15246 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15248 ac_cv_type_mode_t
=yes
15251 ac_cv_type_mode_t
=no
15256 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
15257 if test $ac_cv_type_mode_t = no
; then
15258 cat >> confdefs.h
<<\EOF
15264 echo $ac_n "checking for off_t""... $ac_c" 1>&6
15265 echo "configure:15266: checking for off_t" >&5
15266 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
15267 echo $ac_n "(cached) $ac_c" 1>&6
15269 cat > conftest.
$ac_ext <<EOF
15270 #line 15271 "configure"
15271 #include "confdefs.h"
15272 #include <sys/types.h>
15274 #include <stdlib.h>
15275 #include <stddef.h>
15278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15279 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15281 ac_cv_type_off_t
=yes
15284 ac_cv_type_off_t
=no
15289 echo "$ac_t""$ac_cv_type_off_t" 1>&6
15290 if test $ac_cv_type_off_t = no
; then
15291 cat >> confdefs.h
<<\EOF
15297 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
15298 echo "configure:15299: checking for pid_t" >&5
15299 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
15300 echo $ac_n "(cached) $ac_c" 1>&6
15302 cat > conftest.
$ac_ext <<EOF
15303 #line 15304 "configure"
15304 #include "confdefs.h"
15305 #include <sys/types.h>
15307 #include <stdlib.h>
15308 #include <stddef.h>
15311 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15312 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15314 ac_cv_type_pid_t
=yes
15317 ac_cv_type_pid_t
=no
15322 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
15323 if test $ac_cv_type_pid_t = no
; then
15324 cat >> confdefs.h
<<\EOF
15330 echo $ac_n "checking for size_t""... $ac_c" 1>&6
15331 echo "configure:15332: checking for size_t" >&5
15332 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
15333 echo $ac_n "(cached) $ac_c" 1>&6
15335 cat > conftest.
$ac_ext <<EOF
15336 #line 15337 "configure"
15337 #include "confdefs.h"
15338 #include <sys/types.h>
15340 #include <stdlib.h>
15341 #include <stddef.h>
15344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15345 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15347 ac_cv_type_size_t
=yes
15350 ac_cv_type_size_t
=no
15355 echo "$ac_t""$ac_cv_type_size_t" 1>&6
15356 if test $ac_cv_type_size_t = no
; then
15357 cat >> confdefs.h
<<\EOF
15358 #define size_t unsigned
15363 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
15364 echo "configure:15365: checking for uid_t in sys/types.h" >&5
15365 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
15366 echo $ac_n "(cached) $ac_c" 1>&6
15368 cat > conftest.
$ac_ext <<EOF
15369 #line 15370 "configure"
15370 #include "confdefs.h"
15371 #include <sys/types.h>
15373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15374 egrep "uid_t" >/dev
/null
2>&1; then
15376 ac_cv_type_uid_t
=yes
15379 ac_cv_type_uid_t
=no
15385 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
15386 if test $ac_cv_type_uid_t = no
; then
15387 cat >> confdefs.h
<<\EOF
15391 cat >> confdefs.h
<<\EOF
15400 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15401 ac_cpp
='$CXXCPP $CPPFLAGS'
15402 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15403 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15404 cross_compiling
=$ac_cv_prog_cxx_cross
15406 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
15407 echo "configure:15408: checking if size_t is unsigned int" >&5
15408 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
15409 echo $ac_n "(cached) $ac_c" 1>&6
15411 cat > conftest.
$ac_ext <<EOF
15412 #line 15413 "configure"
15413 #include "confdefs.h"
15414 #include <stddef.h>
15419 struct Foo { void foo(size_t); void foo(unsigned int); };
15425 if { (eval echo configure
:15426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15427 wx_cv_size_t_is_uint
=no
15429 echo "configure: failed program was:" >&5
15430 cat conftest.
$ac_ext >&5
15432 wx_cv_size_t_is_uint
=yes
15439 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
15441 if test "$wx_cv_size_t_is_uint" = "yes"; then
15442 cat >> confdefs.h
<<\EOF
15443 #define wxSIZE_T_IS_UINT 1
15447 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
15448 echo "configure:15449: checking if size_t is unsigned long" >&5
15449 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
15450 echo $ac_n "(cached) $ac_c" 1>&6
15452 cat > conftest.
$ac_ext <<EOF
15453 #line 15454 "configure"
15454 #include "confdefs.h"
15455 #include <stddef.h>
15460 struct Foo { void foo(size_t); void foo(unsigned long); };
15466 if { (eval echo configure
:15467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15468 wx_cv_size_t_is_ulong
=no
15470 echo "configure: failed program was:" >&5
15471 cat conftest.
$ac_ext >&5
15473 wx_cv_size_t_is_ulong
=yes
15480 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
15482 if test "$wx_cv_size_t_is_ulong" = "yes"; then
15483 cat >> confdefs.h
<<\EOF
15484 #define wxSIZE_T_IS_ULONG 1
15491 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15492 ac_cpp
='$CPP $CPPFLAGS'
15493 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15494 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15495 cross_compiling
=$ac_cv_prog_cc_cross
15499 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
15500 echo "configure:15501: checking for pw_gecos in struct passwd" >&5
15501 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
15502 echo $ac_n "(cached) $ac_c" 1>&6
15505 cat > conftest.
$ac_ext <<EOF
15506 #line 15507 "configure"
15507 #include "confdefs.h"
15517 if { (eval echo configure
:15518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15520 wx_cv_struct_pw_gecos
=yes
15523 echo "configure: failed program was:" >&5
15524 cat conftest.
$ac_ext >&5
15527 wx_cv_struct_pw_gecos
=no
15536 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
15538 if test "$wx_cv_struct_pw_gecos" = "yes"; then
15539 cat >> confdefs.h
<<\EOF
15540 #define HAVE_PW_GECOS 1
15547 if test "$wx_cv_sizeof_wchar_t" != "0"; then
15549 for ac_func
in wcslen
15551 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15552 echo "configure:15553: checking for $ac_func" >&5
15553 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15554 echo $ac_n "(cached) $ac_c" 1>&6
15556 cat > conftest.
$ac_ext <<EOF
15557 #line 15558 "configure"
15558 #include "confdefs.h"
15559 /* System header to define __stub macros and hopefully few prototypes,
15560 which can conflict with char $ac_func(); below. */
15561 #include <assert.h>
15562 /* Override any gcc2 internal prototype to avoid an error. */
15563 /* We use char because int might match the return type of a gcc2
15564 builtin and then its argument prototype would still apply. */
15569 /* The GNU C library defines this for functions which it implements
15570 to always fail with ENOSYS. Some functions are actually named
15571 something starting with __ and the normal name is an alias. */
15572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15580 if { (eval echo configure
:15581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15582 eval "ac_cv_func_$ac_func=yes"
15584 echo "configure: failed program was:" >&5
15585 cat conftest.
$ac_ext >&5
15587 eval "ac_cv_func_$ac_func=no"
15592 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15593 echo "$ac_t""yes" 1>&6
15594 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15595 cat >> confdefs.h
<<EOF
15596 #define $ac_tr_func 1
15599 cat >> confdefs.h
<<\EOF
15600 #define HAVE_WCSLEN 1
15606 echo "$ac_t""no" 1>&6
15611 if test "$WCHAR_OK" = 0; then
15612 if test "$TOOLKIT" = "MSW"; then
15613 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
15614 echo "configure:15615: checking for wcslen in -lmsvcrt" >&5
15615 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
15616 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15617 echo $ac_n "(cached) $ac_c" 1>&6
15619 ac_save_LIBS
="$LIBS"
15620 LIBS
="-lmsvcrt $LIBS"
15621 cat > conftest.
$ac_ext <<EOF
15622 #line 15623 "configure"
15623 #include "confdefs.h"
15624 /* Override any gcc2 internal prototype to avoid an error. */
15625 /* We use char because int might match the return type of a gcc2
15626 builtin and then its argument prototype would still apply. */
15633 if { (eval echo configure
:15634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15635 eval "ac_cv_lib_$ac_lib_var=yes"
15637 echo "configure: failed program was:" >&5
15638 cat conftest.
$ac_ext >&5
15640 eval "ac_cv_lib_$ac_lib_var=no"
15643 LIBS
="$ac_save_LIBS"
15646 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15647 echo "$ac_t""yes" 1>&6
15649 cat >> confdefs.h
<<\EOF
15650 #define HAVE_WCSLEN 1
15656 echo "$ac_t""no" 1>&6
15660 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
15661 echo "configure:15662: checking for wcslen in -lw" >&5
15662 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
15663 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15664 echo $ac_n "(cached) $ac_c" 1>&6
15666 ac_save_LIBS
="$LIBS"
15668 cat > conftest.
$ac_ext <<EOF
15669 #line 15670 "configure"
15670 #include "confdefs.h"
15671 /* Override any gcc2 internal prototype to avoid an error. */
15672 /* We use char because int might match the return type of a gcc2
15673 builtin and then its argument prototype would still apply. */
15680 if { (eval echo configure
:15681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15682 eval "ac_cv_lib_$ac_lib_var=yes"
15684 echo "configure: failed program was:" >&5
15685 cat conftest.
$ac_ext >&5
15687 eval "ac_cv_lib_$ac_lib_var=no"
15690 LIBS
="$ac_save_LIBS"
15693 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15694 echo "$ac_t""yes" 1>&6
15696 cat >> confdefs.h
<<\EOF
15697 #define HAVE_WCSLEN 1
15704 echo "$ac_t""no" 1>&6
15711 if test "$WCHAR_OK" = 1; then
15712 cat >> confdefs.h
<<\EOF
15713 #define wxUSE_WCHAR_T 1
15717 for ac_func
in wcsrtombs
15719 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15720 echo "configure:15721: checking for $ac_func" >&5
15721 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15722 echo $ac_n "(cached) $ac_c" 1>&6
15724 cat > conftest.
$ac_ext <<EOF
15725 #line 15726 "configure"
15726 #include "confdefs.h"
15727 /* System header to define __stub macros and hopefully few prototypes,
15728 which can conflict with char $ac_func(); below. */
15729 #include <assert.h>
15730 /* Override any gcc2 internal prototype to avoid an error. */
15731 /* We use char because int might match the return type of a gcc2
15732 builtin and then its argument prototype would still apply. */
15737 /* The GNU C library defines this for functions which it implements
15738 to always fail with ENOSYS. Some functions are actually named
15739 something starting with __ and the normal name is an alias. */
15740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15748 if { (eval echo configure
:15749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15750 eval "ac_cv_func_$ac_func=yes"
15752 echo "configure: failed program was:" >&5
15753 cat conftest.
$ac_ext >&5
15755 eval "ac_cv_func_$ac_func=no"
15760 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15761 echo "$ac_t""yes" 1>&6
15762 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15763 cat >> confdefs.h
<<EOF
15764 #define $ac_tr_func 1
15768 echo "$ac_t""no" 1>&6
15773 if test "$USE_DARWIN" = 1; then
15774 cat >> confdefs.h
<<\EOF
15775 #define wxUSE_WCHAR_T 1
15779 echo "configure: warning: Wide character support is unavailable" 1>&2
15783 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
15784 echo "configure:15785: checking for vprintf" >&5
15785 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
15786 echo $ac_n "(cached) $ac_c" 1>&6
15788 cat > conftest.
$ac_ext <<EOF
15789 #line 15790 "configure"
15790 #include "confdefs.h"
15791 /* System header to define __stub macros and hopefully few prototypes,
15792 which can conflict with char vprintf(); below. */
15793 #include <assert.h>
15794 /* Override any gcc2 internal prototype to avoid an error. */
15795 /* We use char because int might match the return type of a gcc2
15796 builtin and then its argument prototype would still apply. */
15801 /* The GNU C library defines this for functions which it implements
15802 to always fail with ENOSYS. Some functions are actually named
15803 something starting with __ and the normal name is an alias. */
15804 #if defined (__stub_vprintf) || defined (__stub___vprintf)
15812 if { (eval echo configure
:15813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15814 eval "ac_cv_func_vprintf=yes"
15816 echo "configure: failed program was:" >&5
15817 cat conftest.
$ac_ext >&5
15819 eval "ac_cv_func_vprintf=no"
15824 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
15825 echo "$ac_t""yes" 1>&6
15826 cat >> confdefs.h
<<\EOF
15827 #define HAVE_VPRINTF 1
15831 echo "$ac_t""no" 1>&6
15834 if test "$ac_cv_func_vprintf" != yes; then
15835 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
15836 echo "configure:15837: checking for _doprnt" >&5
15837 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
15838 echo $ac_n "(cached) $ac_c" 1>&6
15840 cat > conftest.
$ac_ext <<EOF
15841 #line 15842 "configure"
15842 #include "confdefs.h"
15843 /* System header to define __stub macros and hopefully few prototypes,
15844 which can conflict with char _doprnt(); below. */
15845 #include <assert.h>
15846 /* Override any gcc2 internal prototype to avoid an error. */
15847 /* We use char because int might match the return type of a gcc2
15848 builtin and then its argument prototype would still apply. */
15853 /* The GNU C library defines this for functions which it implements
15854 to always fail with ENOSYS. Some functions are actually named
15855 something starting with __ and the normal name is an alias. */
15856 #if defined (__stub__doprnt) || defined (__stub____doprnt)
15864 if { (eval echo configure
:15865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15866 eval "ac_cv_func__doprnt=yes"
15868 echo "configure: failed program was:" >&5
15869 cat conftest.
$ac_ext >&5
15871 eval "ac_cv_func__doprnt=no"
15876 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
15877 echo "$ac_t""yes" 1>&6
15878 cat >> confdefs.h
<<\EOF
15879 #define HAVE_DOPRNT 1
15883 echo "$ac_t""no" 1>&6
15893 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
15894 echo "configure:15895: checking for vsnprintf" >&5
15895 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
15896 echo $ac_n "(cached) $ac_c" 1>&6
15899 cat > conftest.
$ac_ext <<EOF
15900 #line 15901 "configure"
15901 #include "confdefs.h"
15904 #include <stdarg.h>
15908 int wx_test_vsnprintf(const char *, ...);
15910 wx_test_vsnprintf("%s");
15914 int wx_test_vsnprintf(const char *fmt, ...)
15919 va_start(argp, fmt);
15920 vsnprintf(s, 42, fmt, argp);
15925 if { (eval echo configure
:15926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15928 wx_cv_func_vsnprintf
=yes
15931 echo "configure: failed program was:" >&5
15932 cat conftest.
$ac_ext >&5
15935 cat > conftest.
$ac_ext <<EOF
15936 #line 15937 "configure"
15937 #include "confdefs.h"
15940 #include <stdarg.h>
15944 int wx_test_vsnprintf(const char *, ...);
15946 wx_test_vsnprintf("%s");
15950 int wx_test_vsnprintf(const char *fmt, ...)
15955 va_start(argp, fmt);
15956 _vsnprintf(s, 42, fmt, argp);
15961 if { (eval echo configure
:15962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15964 wx_cv_func_vsnprintf
=yes
15967 echo "configure: failed program was:" >&5
15968 cat conftest.
$ac_ext >&5
15971 wx_cv_func_vsnprintf
=no
15981 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
15983 if test "$wx_cv_func_vsnprintf" = yes; then
15984 cat >> confdefs.h
<<\EOF
15985 #define HAVE_VSNPRINTF 1
15989 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
15992 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
15993 echo "configure:15994: checking for vsscanf" >&5
15994 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
15995 echo $ac_n "(cached) $ac_c" 1>&6
15998 cat > conftest.
$ac_ext <<EOF
15999 #line 16000 "configure"
16000 #include "confdefs.h"
16003 #include <stdarg.h>
16007 int wx_test_vsscanf(const char *, ...);
16009 wx_test_vsscanf("%d");
16013 int wx_test_vsscanf(const char *fmt, ...)
16016 va_start(argp, fmt);
16017 vsscanf("42", fmt, argp);
16022 if { (eval echo configure
:16023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16025 wx_cv_func_vsscanf
=yes
16028 echo "configure: failed program was:" >&5
16029 cat conftest.
$ac_ext >&5
16032 wx_cv_func_vsscanf
=no
16039 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
16041 if test "$wx_cv_func_vsscanf" = yes; then
16042 cat >> confdefs.h
<<\EOF
16043 #define HAVE_VSSCANF 1
16048 if test "$TOOLKIT" != "MSW"; then
16053 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16054 ac_cpp
='$CXXCPP $CPPFLAGS'
16055 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16056 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16057 cross_compiling
=$ac_cv_prog_cxx_cross
16061 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
16062 if test "${with_libiconv_prefix+set}" = set; then
16063 withval
="$with_libiconv_prefix"
16065 for dir
in `echo "$withval" | tr : ' '`; do
16066 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
16067 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
16073 echo $ac_n "checking for iconv""... $ac_c" 1>&6
16074 echo "configure:16075: checking for iconv" >&5
16075 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
16076 echo $ac_n "(cached) $ac_c" 1>&6
16079 am_cv_func_iconv
="no, consider installing GNU libiconv"
16081 cat > conftest.
$ac_ext <<EOF
16082 #line 16083 "configure"
16083 #include "confdefs.h"
16084 #include <stdlib.h>
16087 iconv_t cd = iconv_open("","");
16088 iconv(cd,NULL,NULL,NULL,NULL);
16092 if { (eval echo configure
:16093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16094 am_cv_func_iconv
=yes
16096 echo "configure: failed program was:" >&5
16097 cat conftest.
$ac_ext >&5
16100 if test "$am_cv_func_iconv" != yes; then
16101 am_save_LIBS
="$LIBS"
16102 LIBS
="$LIBS -liconv"
16103 cat > conftest.
$ac_ext <<EOF
16104 #line 16105 "configure"
16105 #include "confdefs.h"
16106 #include <stdlib.h>
16109 iconv_t cd = iconv_open("","");
16110 iconv(cd,NULL,NULL,NULL,NULL);
16114 if { (eval echo configure
:16115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16116 am_cv_lib_iconv
=yes
16117 am_cv_func_iconv
=yes
16119 echo "configure: failed program was:" >&5
16120 cat conftest.
$ac_ext >&5
16123 LIBS
="$am_save_LIBS"
16128 echo "$ac_t""$am_cv_func_iconv" 1>&6
16129 if test "$am_cv_func_iconv" = yes; then
16130 cat >> confdefs.h
<<\EOF
16131 #define HAVE_ICONV 1
16134 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
16135 echo "configure:16136: checking if iconv needs const" >&5
16136 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
16137 echo $ac_n "(cached) $ac_c" 1>&6
16139 cat > conftest.
$ac_ext <<EOF
16140 #line 16141 "configure"
16141 #include "confdefs.h"
16143 #include <stdlib.h>
16149 #if defined(__STDC__) || defined(__cplusplus)
16150 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
16159 if { (eval echo configure
:16160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16161 wx_cv_func_iconv_const
="no"
16163 echo "configure: failed program was:" >&5
16164 cat conftest.
$ac_ext >&5
16166 wx_cv_func_iconv_const
="yes"
16173 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
16176 if test "x$wx_cv_func_iconv_const" = "xyes"; then
16177 iconv_const
="const"
16180 cat >> confdefs.h
<<EOF
16181 #define ICONV_CONST $iconv_const
16186 if test "$am_cv_lib_iconv" = yes; then
16191 LIBS
="$LIBICONV $LIBS"
16193 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16194 ac_cpp
='$CPP $CPPFLAGS'
16195 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16196 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16197 cross_compiling
=$ac_cv_prog_cc_cross
16200 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
16201 for ac_func
in sigaction
16203 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16204 echo "configure:16205: checking for $ac_func" >&5
16205 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16206 echo $ac_n "(cached) $ac_c" 1>&6
16208 cat > conftest.
$ac_ext <<EOF
16209 #line 16210 "configure"
16210 #include "confdefs.h"
16211 /* System header to define __stub macros and hopefully few prototypes,
16212 which can conflict with char $ac_func(); below. */
16213 #include <assert.h>
16214 /* Override any gcc2 internal prototype to avoid an error. */
16215 /* We use char because int might match the return type of a gcc2
16216 builtin and then its argument prototype would still apply. */
16221 /* The GNU C library defines this for functions which it implements
16222 to always fail with ENOSYS. Some functions are actually named
16223 something starting with __ and the normal name is an alias. */
16224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16232 if { (eval echo configure
:16233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16234 eval "ac_cv_func_$ac_func=yes"
16236 echo "configure: failed program was:" >&5
16237 cat conftest.
$ac_ext >&5
16239 eval "ac_cv_func_$ac_func=no"
16244 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16245 echo "$ac_t""yes" 1>&6
16246 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16247 cat >> confdefs.h
<<EOF
16248 #define $ac_tr_func 1
16252 echo "$ac_t""no" 1>&6
16257 if test "$ac_cv_func_sigaction" = "no"; then
16258 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
16259 wxUSE_ON_FATAL_EXCEPTION
=no
16262 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16265 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16266 ac_cpp
='$CXXCPP $CPPFLAGS'
16267 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16268 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16269 cross_compiling
=$ac_cv_prog_cxx_cross
16272 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
16273 echo "configure:16274: checking for sa_handler type" >&5
16274 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
16275 echo $ac_n "(cached) $ac_c" 1>&6
16278 cat > conftest.
$ac_ext <<EOF
16279 #line 16280 "configure"
16280 #include "confdefs.h"
16281 #include <signal.h>
16284 extern void testSigHandler(int);
16286 struct sigaction sa;
16287 sa.sa_handler = testSigHandler;
16291 if { (eval echo configure
:16292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16294 wx_cv_type_sa_handler
=int
16297 echo "configure: failed program was:" >&5
16298 cat conftest.
$ac_ext >&5
16301 wx_cv_type_sa_handler
=void
16308 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
16311 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16312 ac_cpp
='$CPP $CPPFLAGS'
16313 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16314 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16315 cross_compiling
=$ac_cv_prog_cc_cross
16318 cat >> confdefs.h
<<EOF
16319 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
16325 for ac_func
in vfork
16327 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16328 echo "configure:16329: checking for $ac_func" >&5
16329 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16330 echo $ac_n "(cached) $ac_c" 1>&6
16332 cat > conftest.
$ac_ext <<EOF
16333 #line 16334 "configure"
16334 #include "confdefs.h"
16335 /* System header to define __stub macros and hopefully few prototypes,
16336 which can conflict with char $ac_func(); below. */
16337 #include <assert.h>
16338 /* Override any gcc2 internal prototype to avoid an error. */
16339 /* We use char because int might match the return type of a gcc2
16340 builtin and then its argument prototype would still apply. */
16345 /* The GNU C library defines this for functions which it implements
16346 to always fail with ENOSYS. Some functions are actually named
16347 something starting with __ and the normal name is an alias. */
16348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16356 if { (eval echo configure
:16357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16358 eval "ac_cv_func_$ac_func=yes"
16360 echo "configure: failed program was:" >&5
16361 cat conftest.
$ac_ext >&5
16363 eval "ac_cv_func_$ac_func=no"
16368 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16369 echo "$ac_t""yes" 1>&6
16370 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16371 cat >> confdefs.h
<<EOF
16372 #define $ac_tr_func 1
16376 echo "$ac_t""no" 1>&6
16381 for ac_func
in mkstemp mktemp
16383 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16384 echo "configure:16385: checking for $ac_func" >&5
16385 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16386 echo $ac_n "(cached) $ac_c" 1>&6
16388 cat > conftest.
$ac_ext <<EOF
16389 #line 16390 "configure"
16390 #include "confdefs.h"
16391 /* System header to define __stub macros and hopefully few prototypes,
16392 which can conflict with char $ac_func(); below. */
16393 #include <assert.h>
16394 /* Override any gcc2 internal prototype to avoid an error. */
16395 /* We use char because int might match the return type of a gcc2
16396 builtin and then its argument prototype would still apply. */
16401 /* The GNU C library defines this for functions which it implements
16402 to always fail with ENOSYS. Some functions are actually named
16403 something starting with __ and the normal name is an alias. */
16404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16412 if { (eval echo configure
:16413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16414 eval "ac_cv_func_$ac_func=yes"
16416 echo "configure: failed program was:" >&5
16417 cat conftest.
$ac_ext >&5
16419 eval "ac_cv_func_$ac_func=no"
16424 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16425 echo "$ac_t""yes" 1>&6
16426 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16427 cat >> confdefs.h
<<EOF
16428 #define $ac_tr_func 1
16432 echo "$ac_t""no" 1>&6
16437 echo $ac_n "checking for statfs""... $ac_c" 1>&6
16438 echo "configure:16439: checking for statfs" >&5
16439 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
16440 echo $ac_n "(cached) $ac_c" 1>&6
16442 cat > conftest.
$ac_ext <<EOF
16443 #line 16444 "configure"
16444 #include "confdefs.h"
16446 #if defined(__BSD__)
16447 #include <sys/param.h>
16448 #include <sys/mount.h>
16450 #include <sys/vfs.h>
16464 if { (eval echo configure
:16465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16467 wx_cv_func_statfs
=yes
16470 echo "configure: failed program was:" >&5
16471 cat conftest.
$ac_ext >&5
16474 wx_cv_func_statfs
=no
16482 echo "$ac_t""$wx_cv_func_statfs" 1>&6
16484 if test "$wx_cv_func_statfs" = "yes"; then
16485 cat >> confdefs.h
<<\EOF
16486 #define HAVE_STATFS 1
16490 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
16491 echo "configure:16492: checking for statvfs" >&5
16492 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
16493 echo $ac_n "(cached) $ac_c" 1>&6
16495 cat > conftest.
$ac_ext <<EOF
16496 #line 16497 "configure"
16497 #include "confdefs.h"
16499 #include <sys/statvfs.h>
16512 if { (eval echo configure
:16513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16515 wx_cv_func_statvfs
=yes
16518 echo "configure: failed program was:" >&5
16519 cat conftest.
$ac_ext >&5
16522 wx_cv_func_statvfs
=no
16530 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
16532 if test "$wx_cv_func_statvfs" = "yes"; then
16533 cat >> confdefs.h
<<\EOF
16534 #define HAVE_STATVFS 1
16538 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
16542 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16543 for ac_func
in fcntl flock
16545 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16546 echo "configure:16547: checking for $ac_func" >&5
16547 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16548 echo $ac_n "(cached) $ac_c" 1>&6
16550 cat > conftest.
$ac_ext <<EOF
16551 #line 16552 "configure"
16552 #include "confdefs.h"
16553 /* System header to define __stub macros and hopefully few prototypes,
16554 which can conflict with char $ac_func(); below. */
16555 #include <assert.h>
16556 /* Override any gcc2 internal prototype to avoid an error. */
16557 /* We use char because int might match the return type of a gcc2
16558 builtin and then its argument prototype would still apply. */
16563 /* The GNU C library defines this for functions which it implements
16564 to always fail with ENOSYS. Some functions are actually named
16565 something starting with __ and the normal name is an alias. */
16566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16574 if { (eval echo configure
:16575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16576 eval "ac_cv_func_$ac_func=yes"
16578 echo "configure: failed program was:" >&5
16579 cat conftest.
$ac_ext >&5
16581 eval "ac_cv_func_$ac_func=no"
16586 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16587 echo "$ac_t""yes" 1>&6
16588 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16589 cat >> confdefs.h
<<EOF
16590 #define $ac_tr_func 1
16594 echo "$ac_t""no" 1>&6
16599 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
16600 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
16601 wxUSE_SNGLINST_CHECKER
=no
16605 for ac_func
in timegm
16607 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16608 echo "configure:16609: checking for $ac_func" >&5
16609 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16610 echo $ac_n "(cached) $ac_c" 1>&6
16612 cat > conftest.
$ac_ext <<EOF
16613 #line 16614 "configure"
16614 #include "confdefs.h"
16615 /* System header to define __stub macros and hopefully few prototypes,
16616 which can conflict with char $ac_func(); below. */
16617 #include <assert.h>
16618 /* Override any gcc2 internal prototype to avoid an error. */
16619 /* We use char because int might match the return type of a gcc2
16620 builtin and then its argument prototype would still apply. */
16625 /* The GNU C library defines this for functions which it implements
16626 to always fail with ENOSYS. Some functions are actually named
16627 something starting with __ and the normal name is an alias. */
16628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16636 if { (eval echo configure
:16637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16638 eval "ac_cv_func_$ac_func=yes"
16640 echo "configure: failed program was:" >&5
16641 cat conftest.
$ac_ext >&5
16643 eval "ac_cv_func_$ac_func=no"
16648 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16649 echo "$ac_t""yes" 1>&6
16650 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16651 cat >> confdefs.h
<<EOF
16652 #define $ac_tr_func 1
16656 echo "$ac_t""no" 1>&6
16661 for ac_func
in putenv setenv
16663 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16664 echo "configure:16665: checking for $ac_func" >&5
16665 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16666 echo $ac_n "(cached) $ac_c" 1>&6
16668 cat > conftest.
$ac_ext <<EOF
16669 #line 16670 "configure"
16670 #include "confdefs.h"
16671 /* System header to define __stub macros and hopefully few prototypes,
16672 which can conflict with char $ac_func(); below. */
16673 #include <assert.h>
16674 /* Override any gcc2 internal prototype to avoid an error. */
16675 /* We use char because int might match the return type of a gcc2
16676 builtin and then its argument prototype would still apply. */
16681 /* The GNU C library defines this for functions which it implements
16682 to always fail with ENOSYS. Some functions are actually named
16683 something starting with __ and the normal name is an alias. */
16684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16692 if { (eval echo configure
:16693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16694 eval "ac_cv_func_$ac_func=yes"
16696 echo "configure: failed program was:" >&5
16697 cat conftest.
$ac_ext >&5
16699 eval "ac_cv_func_$ac_func=no"
16704 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16705 echo "$ac_t""yes" 1>&6
16706 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16707 cat >> confdefs.h
<<EOF
16708 #define $ac_tr_func 1
16712 echo "$ac_t""no" 1>&6
16717 HAVE_SOME_SLEEP_FUNC
=0
16718 if test "$USE_BEOS" = 1; then
16719 cat >> confdefs.h
<<\EOF
16720 #define HAVE_SLEEP 1
16723 HAVE_SOME_SLEEP_FUNC
=1
16726 if test "$USE_DARWIN" = 1; then
16727 cat >> confdefs.h
<<\EOF
16728 #define HAVE_USLEEP 1
16731 HAVE_SOME_SLEEP_FUNC
=1
16734 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
16736 for ac_func
in nanosleep
16738 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16739 echo "configure:16740: checking for $ac_func" >&5
16740 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16741 echo $ac_n "(cached) $ac_c" 1>&6
16743 cat > conftest.
$ac_ext <<EOF
16744 #line 16745 "configure"
16745 #include "confdefs.h"
16746 /* System header to define __stub macros and hopefully few prototypes,
16747 which can conflict with char $ac_func(); below. */
16748 #include <assert.h>
16749 /* Override any gcc2 internal prototype to avoid an error. */
16750 /* We use char because int might match the return type of a gcc2
16751 builtin and then its argument prototype would still apply. */
16756 /* The GNU C library defines this for functions which it implements
16757 to always fail with ENOSYS. Some functions are actually named
16758 something starting with __ and the normal name is an alias. */
16759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16767 if { (eval echo configure
:16768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16769 eval "ac_cv_func_$ac_func=yes"
16771 echo "configure: failed program was:" >&5
16772 cat conftest.
$ac_ext >&5
16774 eval "ac_cv_func_$ac_func=no"
16779 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16780 echo "$ac_t""yes" 1>&6
16781 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16782 cat >> confdefs.h
<<EOF
16783 #define $ac_tr_func 1
16785 cat >> confdefs.h
<<\EOF
16786 #define HAVE_NANOSLEEP 1
16790 echo "$ac_t""no" 1>&6
16791 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
16792 echo "configure:16793: checking for nanosleep in -lposix4" >&5
16793 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
16794 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16795 echo $ac_n "(cached) $ac_c" 1>&6
16797 ac_save_LIBS
="$LIBS"
16798 LIBS
="-lposix4 $LIBS"
16799 cat > conftest.
$ac_ext <<EOF
16800 #line 16801 "configure"
16801 #include "confdefs.h"
16802 /* Override any gcc2 internal prototype to avoid an error. */
16803 /* We use char because int might match the return type of a gcc2
16804 builtin and then its argument prototype would still apply. */
16811 if { (eval echo configure
:16812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16813 eval "ac_cv_lib_$ac_lib_var=yes"
16815 echo "configure: failed program was:" >&5
16816 cat conftest.
$ac_ext >&5
16818 eval "ac_cv_lib_$ac_lib_var=no"
16821 LIBS
="$ac_save_LIBS"
16824 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16825 echo "$ac_t""yes" 1>&6
16827 cat >> confdefs.h
<<\EOF
16828 #define HAVE_NANOSLEEP 1
16831 POSIX4_LINK
=" -lposix4"
16834 echo "$ac_t""no" 1>&6
16836 for ac_func
in usleep
16838 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16839 echo "configure:16840: checking for $ac_func" >&5
16840 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16841 echo $ac_n "(cached) $ac_c" 1>&6
16843 cat > conftest.
$ac_ext <<EOF
16844 #line 16845 "configure"
16845 #include "confdefs.h"
16846 /* System header to define __stub macros and hopefully few prototypes,
16847 which can conflict with char $ac_func(); below. */
16848 #include <assert.h>
16849 /* Override any gcc2 internal prototype to avoid an error. */
16850 /* We use char because int might match the return type of a gcc2
16851 builtin and then its argument prototype would still apply. */
16856 /* The GNU C library defines this for functions which it implements
16857 to always fail with ENOSYS. Some functions are actually named
16858 something starting with __ and the normal name is an alias. */
16859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16867 if { (eval echo configure
:16868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16869 eval "ac_cv_func_$ac_func=yes"
16871 echo "configure: failed program was:" >&5
16872 cat conftest.
$ac_ext >&5
16874 eval "ac_cv_func_$ac_func=no"
16879 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16880 echo "$ac_t""yes" 1>&6
16881 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16882 cat >> confdefs.h
<<EOF
16883 #define $ac_tr_func 1
16885 cat >> confdefs.h
<<\EOF
16886 #define HAVE_USLEEP 1
16890 echo "$ac_t""no" 1>&6
16891 echo "configure: warning: wxSleep() function will not work" 1>&2
16907 for ac_func
in uname gethostname
16909 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16910 echo "configure:16911: checking for $ac_func" >&5
16911 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16912 echo $ac_n "(cached) $ac_c" 1>&6
16914 cat > conftest.
$ac_ext <<EOF
16915 #line 16916 "configure"
16916 #include "confdefs.h"
16917 /* System header to define __stub macros and hopefully few prototypes,
16918 which can conflict with char $ac_func(); below. */
16919 #include <assert.h>
16920 /* Override any gcc2 internal prototype to avoid an error. */
16921 /* We use char because int might match the return type of a gcc2
16922 builtin and then its argument prototype would still apply. */
16927 /* The GNU C library defines this for functions which it implements
16928 to always fail with ENOSYS. Some functions are actually named
16929 something starting with __ and the normal name is an alias. */
16930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16938 if { (eval echo configure
:16939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16940 eval "ac_cv_func_$ac_func=yes"
16942 echo "configure: failed program was:" >&5
16943 cat conftest.
$ac_ext >&5
16945 eval "ac_cv_func_$ac_func=no"
16950 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16951 echo "$ac_t""yes" 1>&6
16952 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16953 cat >> confdefs.h
<<EOF
16954 #define $ac_tr_func 1
16958 echo "$ac_t""no" 1>&6
16965 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16966 ac_cpp
='$CXXCPP $CPPFLAGS'
16967 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16968 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16969 cross_compiling
=$ac_cv_prog_cxx_cross
16972 for ac_func
in strtok_r
16974 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16975 echo "configure:16976: checking for $ac_func" >&5
16976 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16977 echo $ac_n "(cached) $ac_c" 1>&6
16979 cat > conftest.
$ac_ext <<EOF
16980 #line 16981 "configure"
16981 #include "confdefs.h"
16982 /* System header to define __stub macros and hopefully few prototypes,
16983 which can conflict with char $ac_func(); below. */
16984 #include <assert.h>
16985 /* Override any gcc2 internal prototype to avoid an error. */
16989 /* We use char because int might match the return type of a gcc2
16990 builtin and then its argument prototype would still apply. */
16995 /* The GNU C library defines this for functions which it implements
16996 to always fail with ENOSYS. Some functions are actually named
16997 something starting with __ and the normal name is an alias. */
16998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17006 if { (eval echo configure
:17007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17008 eval "ac_cv_func_$ac_func=yes"
17010 echo "configure: failed program was:" >&5
17011 cat conftest.
$ac_ext >&5
17013 eval "ac_cv_func_$ac_func=no"
17018 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17019 echo "$ac_t""yes" 1>&6
17020 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17021 cat >> confdefs.h
<<EOF
17022 #define $ac_tr_func 1
17026 echo "$ac_t""no" 1>&6
17032 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17033 ac_cpp
='$CPP $CPPFLAGS'
17034 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17035 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17036 cross_compiling
=$ac_cv_prog_cc_cross
17040 for ac_func
in inet_addr
17042 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17043 echo "configure:17044: checking for $ac_func" >&5
17044 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17045 echo $ac_n "(cached) $ac_c" 1>&6
17047 cat > conftest.
$ac_ext <<EOF
17048 #line 17049 "configure"
17049 #include "confdefs.h"
17050 /* System header to define __stub macros and hopefully few prototypes,
17051 which can conflict with char $ac_func(); below. */
17052 #include <assert.h>
17053 /* Override any gcc2 internal prototype to avoid an error. */
17054 /* We use char because int might match the return type of a gcc2
17055 builtin and then its argument prototype would still apply. */
17060 /* The GNU C library defines this for functions which it implements
17061 to always fail with ENOSYS. Some functions are actually named
17062 something starting with __ and the normal name is an alias. */
17063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17071 if { (eval echo configure
:17072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17073 eval "ac_cv_func_$ac_func=yes"
17075 echo "configure: failed program was:" >&5
17076 cat conftest.
$ac_ext >&5
17078 eval "ac_cv_func_$ac_func=no"
17083 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17084 echo "$ac_t""yes" 1>&6
17085 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17086 cat >> confdefs.h
<<EOF
17087 #define $ac_tr_func 1
17089 cat >> confdefs.h
<<\EOF
17090 #define HAVE_INET_ADDR 1
17094 echo "$ac_t""no" 1>&6
17095 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
17096 echo "configure:17097: checking for inet_addr in -lnsl" >&5
17097 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
17098 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17099 echo $ac_n "(cached) $ac_c" 1>&6
17101 ac_save_LIBS
="$LIBS"
17103 cat > conftest.
$ac_ext <<EOF
17104 #line 17105 "configure"
17105 #include "confdefs.h"
17106 /* Override any gcc2 internal prototype to avoid an error. */
17107 /* We use char because int might match the return type of a gcc2
17108 builtin and then its argument prototype would still apply. */
17115 if { (eval echo configure
:17116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17117 eval "ac_cv_lib_$ac_lib_var=yes"
17119 echo "configure: failed program was:" >&5
17120 cat conftest.
$ac_ext >&5
17122 eval "ac_cv_lib_$ac_lib_var=no"
17125 LIBS
="$ac_save_LIBS"
17128 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17129 echo "$ac_t""yes" 1>&6
17132 echo "$ac_t""no" 1>&6
17133 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
17134 echo "configure:17135: checking for inet_addr in -lresolv" >&5
17135 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
17136 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17137 echo $ac_n "(cached) $ac_c" 1>&6
17139 ac_save_LIBS
="$LIBS"
17140 LIBS
="-lresolv $LIBS"
17141 cat > conftest.
$ac_ext <<EOF
17142 #line 17143 "configure"
17143 #include "confdefs.h"
17144 /* Override any gcc2 internal prototype to avoid an error. */
17145 /* We use char because int might match the return type of a gcc2
17146 builtin and then its argument prototype would still apply. */
17153 if { (eval echo configure
:17154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17155 eval "ac_cv_lib_$ac_lib_var=yes"
17157 echo "configure: failed program was:" >&5
17158 cat conftest.
$ac_ext >&5
17160 eval "ac_cv_lib_$ac_lib_var=no"
17163 LIBS
="$ac_save_LIBS"
17166 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17167 echo "$ac_t""yes" 1>&6
17170 echo "$ac_t""no" 1>&6
17171 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
17172 echo "configure:17173: checking for inet_addr in -lsocket" >&5
17173 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
17174 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17175 echo $ac_n "(cached) $ac_c" 1>&6
17177 ac_save_LIBS
="$LIBS"
17178 LIBS
="-lsocket $LIBS"
17179 cat > conftest.
$ac_ext <<EOF
17180 #line 17181 "configure"
17181 #include "confdefs.h"
17182 /* Override any gcc2 internal prototype to avoid an error. */
17183 /* We use char because int might match the return type of a gcc2
17184 builtin and then its argument prototype would still apply. */
17191 if { (eval echo configure
:17192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17193 eval "ac_cv_lib_$ac_lib_var=yes"
17195 echo "configure: failed program was:" >&5
17196 cat conftest.
$ac_ext >&5
17198 eval "ac_cv_lib_$ac_lib_var=no"
17201 LIBS
="$ac_save_LIBS"
17204 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17205 echo "$ac_t""yes" 1>&6
17209 echo "$ac_t""no" 1>&6
17224 for ac_func
in inet_aton
17226 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17227 echo "configure:17228: checking for $ac_func" >&5
17228 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17229 echo $ac_n "(cached) $ac_c" 1>&6
17231 cat > conftest.
$ac_ext <<EOF
17232 #line 17233 "configure"
17233 #include "confdefs.h"
17234 /* System header to define __stub macros and hopefully few prototypes,
17235 which can conflict with char $ac_func(); below. */
17236 #include <assert.h>
17237 /* Override any gcc2 internal prototype to avoid an error. */
17238 /* We use char because int might match the return type of a gcc2
17239 builtin and then its argument prototype would still apply. */
17244 /* The GNU C library defines this for functions which it implements
17245 to always fail with ENOSYS. Some functions are actually named
17246 something starting with __ and the normal name is an alias. */
17247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17255 if { (eval echo configure
:17256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17257 eval "ac_cv_func_$ac_func=yes"
17259 echo "configure: failed program was:" >&5
17260 cat conftest.
$ac_ext >&5
17262 eval "ac_cv_func_$ac_func=no"
17267 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17268 echo "$ac_t""yes" 1>&6
17269 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17270 cat >> confdefs.h
<<EOF
17271 #define $ac_tr_func 1
17273 cat >> confdefs.h
<<\EOF
17274 #define HAVE_INET_ATON 1
17278 echo "$ac_t""no" 1>&6
17279 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
17280 echo "configure:17281: checking for inet_aton in -l$INET_LINK" >&5
17281 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
17282 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17283 echo $ac_n "(cached) $ac_c" 1>&6
17285 ac_save_LIBS
="$LIBS"
17286 LIBS
="-l$INET_LINK $LIBS"
17287 cat > conftest.
$ac_ext <<EOF
17288 #line 17289 "configure"
17289 #include "confdefs.h"
17290 /* Override any gcc2 internal prototype to avoid an error. */
17291 /* We use char because int might match the return type of a gcc2
17292 builtin and then its argument prototype would still apply. */
17299 if { (eval echo configure
:17300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17301 eval "ac_cv_lib_$ac_lib_var=yes"
17303 echo "configure: failed program was:" >&5
17304 cat conftest.
$ac_ext >&5
17306 eval "ac_cv_lib_$ac_lib_var=no"
17309 LIBS
="$ac_save_LIBS"
17312 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17313 echo "$ac_t""yes" 1>&6
17314 cat >> confdefs.h
<<\EOF
17315 #define HAVE_INET_ATON 1
17319 echo "$ac_t""no" 1>&6
17327 if test "x$INET_LINK" != "x"; then
17328 cat >> confdefs.h
<<\EOF
17329 #define HAVE_INET_ADDR 1
17332 INET_LINK
=" -l$INET_LINK"
17338 cat > confcache
<<\EOF
17339 # This file is a shell script that caches the results of configure
17340 # tests run on this system so they can be shared between configure
17341 # scripts and configure runs. It is not useful on other systems.
17342 # If it contains results you don't want to keep, you may remove or edit it.
17344 # By default, configure uses ./config.cache as the cache file,
17345 # creating it if it does not exist already. You can give configure
17346 # the --cache-file=FILE option to use a different cache file; that is
17347 # what configure does when it calls configure scripts in
17348 # subdirectories, so they share the cache.
17349 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17350 # config.status only pays attention to the cache file if you give it the
17351 # --recheck option to rerun configure.
17354 # The following way of writing the cache mishandles newlines in values,
17355 # but we know of no workaround that is simple, portable, and efficient.
17356 # So, don't put newlines in cache variables' values.
17357 # Ultrix sh set writes to stderr and can't be redirected directly,
17358 # and sets the high bit in the cache file unless we assign to the vars.
17360 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17362 # `set' does not quote correctly, so add quotes (double-quote substitution
17363 # turns \\\\ into \\, and sed turns \\ into \).
17365 -e "s/'/'\\\\''/g" \
17366 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17369 # `set' quotes correctly as required by POSIX, so do not add quotes.
17370 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17373 if cmp -s $cache_file confcache
; then
17376 if test -w $cache_file; then
17377 echo "updating cache $cache_file"
17378 cat confcache
> $cache_file
17380 echo "not updating unwritable cache $cache_file"
17388 if test "$TOOLKIT" != "MSW"; then
17394 if test "$wxUSE_THREADS" = "yes" ; then
17395 if test "$wxUSE_WINE" = 1 ; then
17396 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
17398 elif test "$USE_BEOS" = 1; then
17399 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
17404 if test "$wxUSE_THREADS" = "yes" ; then
17407 THREAD_OPTS
="-pthread"
17409 *-*-solaris2* | *-*-sunos4* )
17410 if test "x$GCC" = "xyes"; then
17411 THREAD_OPTS
="-pthreads $THREAD_OPTS"
17413 THREAD_OPTS
="-mt $THREAD_OPTS"
17417 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
17423 THREAD_OPTS
="pthreads"
17427 THREAD_OPTS
="$THREAD_OPTS pthread none"
17430 for flag
in $THREAD_OPTS; do
17433 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
17434 echo "configure:17435: checking whether pthreads work without any flags" >&5
17438 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
17439 echo "configure:17440: checking whether pthreads work with $flag" >&5
17440 THREADS_CFLAGS
="$flag"
17444 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
17445 echo "configure:17446: checking for the pthreads library -l$flag" >&5
17446 THREADS_LINK
="-l$flag"
17451 save_CFLAGS
="$CFLAGS"
17452 LIBS
="$THREADS_LINK $LIBS"
17453 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
17455 cat > conftest.
$ac_ext <<EOF
17456 #line 17457 "configure"
17457 #include "confdefs.h"
17458 #include <pthread.h>
17460 pthread_create(0,0,0,0);
17463 if { (eval echo configure
:17464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17467 echo "configure: failed program was:" >&5
17468 cat conftest.
$ac_ext >&5
17473 CFLAGS
="$save_CFLAGS"
17475 echo "$ac_t""$THREADS_OK" 1>&6
17476 if test "x$THREADS_OK" = "xyes"; then
17484 if test "x$THREADS_OK" != "xyes"; then
17486 echo "configure: warning: No thread support on this system... disabled" 1>&2
17488 LIBS
="$THREADS_LINK $THREADS_CFLAGS $LIBS"
17490 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
17491 echo "configure:17492: checking if more special flags are required for pthreads" >&5
17494 *-aix* | *-freebsd*)
17495 flag
="-D_THREAD_SAFE"
17497 *solaris
* | alpha
*-osf*)
17498 flag
="-D_REENTRANT"
17501 echo "$ac_t""${flag}" 1>&6
17502 if test "x$flag" != xno
; then
17503 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
17506 if test "x$THREADS_CFLAGS" != "x"; then
17507 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
17508 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
17513 if test "$wxUSE_THREADS" = "yes" ; then
17514 for ac_func
in thr_setconcurrency
17516 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17517 echo "configure:17518: checking for $ac_func" >&5
17518 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17519 echo $ac_n "(cached) $ac_c" 1>&6
17521 cat > conftest.
$ac_ext <<EOF
17522 #line 17523 "configure"
17523 #include "confdefs.h"
17524 /* System header to define __stub macros and hopefully few prototypes,
17525 which can conflict with char $ac_func(); below. */
17526 #include <assert.h>
17527 /* Override any gcc2 internal prototype to avoid an error. */
17528 /* We use char because int might match the return type of a gcc2
17529 builtin and then its argument prototype would still apply. */
17534 /* The GNU C library defines this for functions which it implements
17535 to always fail with ENOSYS. Some functions are actually named
17536 something starting with __ and the normal name is an alias. */
17537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17545 if { (eval echo configure
:17546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17547 eval "ac_cv_func_$ac_func=yes"
17549 echo "configure: failed program was:" >&5
17550 cat conftest.
$ac_ext >&5
17552 eval "ac_cv_func_$ac_func=no"
17557 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17558 echo "$ac_t""yes" 1>&6
17559 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17560 cat >> confdefs.h
<<EOF
17561 #define $ac_tr_func 1
17565 echo "$ac_t""no" 1>&6
17570 for ac_hdr
in sched.h
17572 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17573 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17574 echo "configure:17575: checking for $ac_hdr" >&5
17575 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17576 echo $ac_n "(cached) $ac_c" 1>&6
17578 cat > conftest.
$ac_ext <<EOF
17579 #line 17580 "configure"
17580 #include "confdefs.h"
17583 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17584 { (eval echo configure
:17585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17585 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17586 if test -z "$ac_err"; then
17588 eval "ac_cv_header_$ac_safe=yes"
17591 echo "configure: failed program was:" >&5
17592 cat conftest.
$ac_ext >&5
17594 eval "ac_cv_header_$ac_safe=no"
17598 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17599 echo "$ac_t""yes" 1>&6
17600 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17601 cat >> confdefs.h
<<EOF
17602 #define $ac_tr_hdr 1
17606 echo "$ac_t""no" 1>&6
17610 if test "$ac_cv_header_sched_h" = "yes"; then
17611 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
17612 echo "configure:17613: checking for sched_yield" >&5
17613 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
17614 echo $ac_n "(cached) $ac_c" 1>&6
17616 cat > conftest.
$ac_ext <<EOF
17617 #line 17618 "configure"
17618 #include "confdefs.h"
17619 /* System header to define __stub macros and hopefully few prototypes,
17620 which can conflict with char sched_yield(); below. */
17621 #include <assert.h>
17622 /* Override any gcc2 internal prototype to avoid an error. */
17623 /* We use char because int might match the return type of a gcc2
17624 builtin and then its argument prototype would still apply. */
17625 char sched_yield();
17629 /* The GNU C library defines this for functions which it implements
17630 to always fail with ENOSYS. Some functions are actually named
17631 something starting with __ and the normal name is an alias. */
17632 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
17640 if { (eval echo configure
:17641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17642 eval "ac_cv_func_sched_yield=yes"
17644 echo "configure: failed program was:" >&5
17645 cat conftest.
$ac_ext >&5
17647 eval "ac_cv_func_sched_yield=no"
17652 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
17653 echo "$ac_t""yes" 1>&6
17654 cat >> confdefs.h
<<\EOF
17655 #define HAVE_SCHED_YIELD 1
17659 echo "$ac_t""no" 1>&6
17661 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
17662 echo "configure:17663: checking for sched_yield in -lposix4" >&5
17663 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
17664 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17665 echo $ac_n "(cached) $ac_c" 1>&6
17667 ac_save_LIBS
="$LIBS"
17668 LIBS
="-lposix4 $LIBS"
17669 cat > conftest.
$ac_ext <<EOF
17670 #line 17671 "configure"
17671 #include "confdefs.h"
17672 /* Override any gcc2 internal prototype to avoid an error. */
17673 /* We use char because int might match the return type of a gcc2
17674 builtin and then its argument prototype would still apply. */
17675 char sched_yield();
17681 if { (eval echo configure
:17682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17683 eval "ac_cv_lib_$ac_lib_var=yes"
17685 echo "configure: failed program was:" >&5
17686 cat conftest.
$ac_ext >&5
17688 eval "ac_cv_lib_$ac_lib_var=no"
17691 LIBS
="$ac_save_LIBS"
17694 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17695 echo "$ac_t""yes" 1>&6
17696 cat >> confdefs.h
<<\EOF
17697 #define HAVE_SCHED_YIELD 1
17699 POSIX4_LINK
=" -lposix4"
17701 echo "$ac_t""no" 1>&6
17702 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
17713 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
17714 echo "configure:17715: checking for pthread_attr_getschedpolicy" >&5
17715 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
17716 echo $ac_n "(cached) $ac_c" 1>&6
17718 cat > conftest.
$ac_ext <<EOF
17719 #line 17720 "configure"
17720 #include "confdefs.h"
17721 /* System header to define __stub macros and hopefully few prototypes,
17722 which can conflict with char pthread_attr_getschedpolicy(); below. */
17723 #include <assert.h>
17724 /* Override any gcc2 internal prototype to avoid an error. */
17725 /* We use char because int might match the return type of a gcc2
17726 builtin and then its argument prototype would still apply. */
17727 char pthread_attr_getschedpolicy();
17731 /* The GNU C library defines this for functions which it implements
17732 to always fail with ENOSYS. Some functions are actually named
17733 something starting with __ and the normal name is an alias. */
17734 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
17737 pthread_attr_getschedpolicy();
17742 if { (eval echo configure
:17743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17744 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
17746 echo "configure: failed program was:" >&5
17747 cat conftest.
$ac_ext >&5
17749 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
17754 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
17755 echo "$ac_t""yes" 1>&6
17756 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
17757 echo "configure:17758: checking for pthread_attr_setschedparam" >&5
17758 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
17759 echo $ac_n "(cached) $ac_c" 1>&6
17761 cat > conftest.
$ac_ext <<EOF
17762 #line 17763 "configure"
17763 #include "confdefs.h"
17764 /* System header to define __stub macros and hopefully few prototypes,
17765 which can conflict with char pthread_attr_setschedparam(); below. */
17766 #include <assert.h>
17767 /* Override any gcc2 internal prototype to avoid an error. */
17768 /* We use char because int might match the return type of a gcc2
17769 builtin and then its argument prototype would still apply. */
17770 char pthread_attr_setschedparam();
17774 /* The GNU C library defines this for functions which it implements
17775 to always fail with ENOSYS. Some functions are actually named
17776 something starting with __ and the normal name is an alias. */
17777 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
17780 pthread_attr_setschedparam();
17785 if { (eval echo configure
:17786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17787 eval "ac_cv_func_pthread_attr_setschedparam=yes"
17789 echo "configure: failed program was:" >&5
17790 cat conftest.
$ac_ext >&5
17792 eval "ac_cv_func_pthread_attr_setschedparam=no"
17797 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
17798 echo "$ac_t""yes" 1>&6
17799 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
17800 echo "configure:17801: checking for sched_get_priority_max" >&5
17801 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
17802 echo $ac_n "(cached) $ac_c" 1>&6
17804 cat > conftest.
$ac_ext <<EOF
17805 #line 17806 "configure"
17806 #include "confdefs.h"
17807 /* System header to define __stub macros and hopefully few prototypes
17809 echo "$ac_t""no" 1>&6
17810 which can conflict with char sched_get_priority_max(); below. */
17811 #include <assert.h>
17812 /* Override any gcc2 internal prototype to avoid an error. */
17813 /* We use char because int might match the return type of a gcc2
17814 builtin and then its argument prototype would still apply. */
17815 char sched_get_priority_max();
17819 /* The GNU C library defines this for functions which it implements
17820 to always fail with ENOSYS. Some functions are actually named
17821 something starting with __ and the normal name is an alias. */
17822 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
17825 sched_get_priority_max();
17830 if { (eval echo configure
:17831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17832 eval "ac_cv_func_sched_get_priority_max=yes"
17834 echo "configure: failed program was:" >&5
17835 cat conftest.
$ac_ext >&5
17837 eval "ac_cv_func_sched_get_priority_max=no"
17842 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
17843 echo "$ac_t""yes" 1>&6
17846 echo "$ac_t""no" 1>&6
17847 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
17848 echo "configure:17849: checking for sched_get_priority_max in -lposix4" >&5
17849 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17850 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17851 echo $ac_n "(cached) $ac_c" 1>&6
17853 ac_save_LIBS
="$LIBS"
17854 LIBS
="-lposix4 $LIBS"
17855 cat > conftest.
$ac_ext <<EOF
17856 #line 17857 "configure"
17857 #include "confdefs.h"
17858 /* Override any gcc2 internal prototype to avoid an error. */
17859 /* We use char because int might match the return type of a gcc2
17860 builtin and then its argument prototype would still apply. */
17861 char sched_get_priority_max();
17864 sched_get_priority_max()
17867 if { (eval echo configure
:17868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17869 eval "ac_cv_lib_$ac_lib_var=yes"
17871 echo "configure: failed program was:" >&5
17872 cat conftest.
$ac_ext >&5
17874 eval "ac_cv_lib_$ac_lib_var=no"
17877 LIBS
="$ac_save_LIBS"
17880 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17881 echo "$ac_t""yes" 1>&6
17884 POSIX4_LINK
=" -lposix4"
17887 echo "$ac_t""no" 1>&6
17895 echo "$ac_t""no" 1>&6
17902 if test "$HAVE_PRIOR_FUNCS" = 1; then
17903 cat >> confdefs.h
<<\EOF
17904 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
17908 echo "configure: warning: Setting thread priority will not work" 1>&2
17911 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
17912 echo "configure:17913: checking for pthread_cancel" >&5
17913 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
17914 echo $ac_n "(cached) $ac_c" 1>&6
17916 cat > conftest.
$ac_ext <<EOF
17917 #line 17918 "configure"
17918 #include "confdefs.h"
17919 /* System header to define __stub macros and hopefully few prototypes,
17920 which can conflict with char pthread_cancel(); below. */
17921 #include <assert.h>
17922 /* Override any gcc2 internal prototype to avoid an error. */
17923 /* We use char because int might match the return type of a gcc2
17924 builtin and then its argument prototype would still apply. */
17925 char pthread_cancel();
17929 /* The GNU C library defines this for functions which it implements
17930 to always fail with ENOSYS. Some functions are actually named
17931 something starting with __ and the normal name is an alias. */
17932 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
17940 if { (eval echo configure
:17941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17942 eval "ac_cv_func_pthread_cancel=yes"
17944 echo "configure: failed program was:" >&5
17945 cat conftest.
$ac_ext >&5
17947 eval "ac_cv_func_pthread_cancel=no"
17952 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
17953 echo "$ac_t""yes" 1>&6
17954 cat >> confdefs.h
<<\EOF
17955 #define HAVE_PTHREAD_CANCEL 1
17959 echo "$ac_t""no" 1>&6
17960 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
17964 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
17965 echo "configure:17966: checking for pthread_cleanup_push/pop" >&5
17966 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
17967 echo $ac_n "(cached) $ac_c" 1>&6
17970 cat > conftest.
$ac_ext <<EOF
17971 #line 17972 "configure"
17972 #include "confdefs.h"
17973 #include <pthread.h>
17976 pthread_cleanup_push(NULL, NULL);
17977 pthread_cleanup_pop(0);
17981 if { (eval echo configure
:17982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17984 wx_cv_func_pthread_cleanup_push
=yes
17987 echo "configure: failed program was:" >&5
17988 cat conftest.
$ac_ext >&5
17991 wx_cv_func_pthread_cleanup_push
=no
17998 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
18000 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
18001 cat >> confdefs.h
<<\EOF
18002 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
18008 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18009 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
18012 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
18013 echo "configure:18014: checking for pthread_mutexattr_t" >&5
18014 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
18015 echo $ac_n "(cached) $ac_c" 1>&6
18018 cat > conftest.
$ac_ext <<EOF
18019 #line 18020 "configure"
18020 #include "confdefs.h"
18021 #include <pthread.h>
18024 pthread_mutexattr_t attr;
18025 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
18029 if { (eval echo configure
:18030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18032 wx_cv_type_pthread_mutexattr_t
=yes
18035 echo "configure: failed program was:" >&5
18036 cat conftest.
$ac_ext >&5
18039 wx_cv_type_pthread_mutexattr_t
=no
18047 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
18049 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
18050 cat >> confdefs.h
<<\EOF
18051 #define HAVE_PTHREAD_MUTEXATTR_T 1
18055 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
18056 echo "configure:18057: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
18057 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
18058 echo $ac_n "(cached) $ac_c" 1>&6
18061 cat > conftest.
$ac_ext <<EOF
18062 #line 18063 "configure"
18063 #include "confdefs.h"
18064 #include <pthread.h>
18067 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
18071 if { (eval echo configure
:18072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18074 wx_cv_type_pthread_rec_mutex_init
=yes
18077 echo "configure: failed program was:" >&5
18078 cat conftest.
$ac_ext >&5
18081 wx_cv_type_pthread_rec_mutex_init
=no
18089 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
18090 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
18091 cat >> confdefs.h
<<\EOF
18092 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
18096 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
18103 if test "$wxUSE_THREADS" = "yes"; then
18104 cat >> confdefs.h
<<\EOF
18105 #define wxUSE_THREADS 1
18109 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
18111 if test "$ac_cv_func_strtok_r" = "yes"; then
18112 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
18113 echo "configure:18114: checking if -D_REENTRANT is needed" >&5
18114 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
18115 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
18116 echo "$ac_t""yes" 1>&6
18118 echo "$ac_t""no" 1>&6
18123 if test "$WXGTK20" = 1 ; then
18124 cat >> confdefs.h
<<EOF
18125 #define __WXGTK20__ $WXGTK20
18131 if test "$WXGTK12" = 1 ; then
18132 cat >> confdefs.h
<<EOF
18133 #define __WXGTK12__ $WXGTK12
18138 if test "$WXGTK127" = 1 ; then
18139 cat >> confdefs.h
<<EOF
18140 #define __WXGTK127__ $WXGTK127
18147 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
18152 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
18153 wxUSE_DEBUG_INFO
=yes
18157 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
18158 cat >> confdefs.h
<<\EOF
18162 WXDEBUG_DEFINE
="-D__WXDEBUG__"
18164 if test "$wxUSE_GTK" = 1 ; then
18165 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
18169 if test "$wxUSE_MEM_TRACING" = "yes" ; then
18170 cat >> confdefs.h
<<\EOF
18171 #define wxUSE_MEMORY_TRACING 1
18174 cat >> confdefs.h
<<\EOF
18175 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
18178 cat >> confdefs.h
<<\EOF
18179 #define wxUSE_DEBUG_NEW_ALWAYS 1
18182 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
18185 if test "$wxUSE_DMALLOC" = "yes" ; then
18186 DMALLOC_LIBS
="-ldmalloc"
18190 if test "$wxUSE_PROFILE" = "yes" ; then
18195 CODE_GEN_FLAGS_CXX
=
18196 if test "$GCC" = "yes" ; then
18197 if test "$wxUSE_NO_RTTI" = "yes" ; then
18198 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
18200 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
18201 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
18203 if test "$wxUSE_PERMISSIVE" = "yes" ; then
18204 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
18206 if test "$USE_WIN32" = 1 ; then
18207 # I'm not even really sure what this was ever added to solve,
18208 # but someone added it for mingw native builds, so I guess
18209 # they had a reason, right??
18210 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
18215 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
18220 if test "$wxUSE_OPTIMISE" = "no" ; then
18223 if test "$GCC" = yes ; then
18226 i586
-*-*|i686
-*-* )
18227 OPTIMISE
="${OPTIMISE} "
18235 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
18236 cat >> confdefs.h
<<\EOF
18237 #define WXWIN_COMPATIBILITY_2 1
18241 WXWIN_COMPATIBILITY_2_2
="yes"
18244 if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
18245 cat >> confdefs.h
<<\EOF
18246 #define WXWIN_COMPATIBILITY_2_2 1
18252 if test "$wxUSE_GUI" = "yes"; then
18253 cat >> confdefs.h
<<\EOF
18254 #define wxUSE_GUI 1
18259 cat >> confdefs.h
<<\EOF
18260 #define wxUSE_NOGUI 1
18266 if test "$wxUSE_UNIX" = "yes"; then
18267 cat >> confdefs.h
<<\EOF
18268 #define wxUSE_UNIX 1
18274 if test "$wxUSE_APPLE_IEEE" = "yes"; then
18275 cat >> confdefs.h
<<\EOF
18276 #define wxUSE_APPLE_IEEE 1
18281 if test "$wxUSE_TIMER" = "yes"; then
18282 cat >> confdefs.h
<<\EOF
18283 #define wxUSE_TIMER 1
18288 if test "$wxUSE_WAVE" = "yes"; then
18289 cat >> confdefs.h
<<\EOF
18290 #define wxUSE_WAVE 1
18295 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
18296 cat >> confdefs.h
<<\EOF
18297 #define wxUSE_CMDLINE_PARSER 1
18302 if test "$wxUSE_STOPWATCH" = "yes"; then
18303 cat >> confdefs.h
<<\EOF
18304 #define wxUSE_STOPWATCH 1
18309 if test "$wxUSE_DATETIME" = "yes"; then
18310 cat >> confdefs.h
<<\EOF
18311 #define wxUSE_DATETIME 1
18316 if test "$wxUSE_TIMEDATE" = "yes"; then
18317 cat >> confdefs.h
<<\EOF
18318 #define wxUSE_TIMEDATE 1
18323 if test "$wxUSE_FILE" = "yes"; then
18324 cat >> confdefs.h
<<\EOF
18325 #define wxUSE_FILE 1
18330 if test "$wxUSE_FFILE" = "yes"; then
18331 cat >> confdefs.h
<<\EOF
18332 #define wxUSE_FFILE 1
18337 if test "$wxUSE_FILESYSTEM" = "yes"; then
18338 cat >> confdefs.h
<<\EOF
18339 #define wxUSE_FILESYSTEM 1
18344 if test "$wxUSE_FS_INET" = "yes"; then
18345 cat >> confdefs.h
<<\EOF
18346 #define wxUSE_FS_INET 1
18351 if test "$wxUSE_FS_ZIP" = "yes"; then
18352 cat >> confdefs.h
<<\EOF
18353 #define wxUSE_FS_ZIP 1
18358 if test "$wxUSE_ZIPSTREAM" = "yes"; then
18359 cat >> confdefs.h
<<\EOF
18360 #define wxUSE_ZIPSTREAM 1
18365 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
18366 cat >> confdefs.h
<<\EOF
18367 #define wxUSE_ON_FATAL_EXCEPTION 1
18372 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18373 cat >> confdefs.h
<<\EOF
18374 #define wxUSE_SNGLINST_CHECKER 1
18379 if test "$wxUSE_BUSYINFO" = "yes"; then
18380 cat >> confdefs.h
<<\EOF
18381 #define wxUSE_BUSYINFO 1
18386 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
18387 cat >> confdefs.h
<<\EOF
18388 #define wxUSE_STD_IOSTREAM 1
18393 if test "$wxUSE_TEXTBUFFER" = "yes"; then
18394 cat >> confdefs.h
<<\EOF
18395 #define wxUSE_TEXTBUFFER 1
18400 if test "$wxUSE_TEXTFILE" = "yes"; then
18401 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
18402 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
18404 cat >> confdefs.h
<<\EOF
18405 #define wxUSE_TEXTFILE 1
18411 if test "$wxUSE_CONFIG" = "yes" ; then
18412 if test "$wxUSE_TEXTFILE" != "yes"; then
18413 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
18415 cat >> confdefs.h
<<\EOF
18416 #define wxUSE_CONFIG 1
18419 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
18423 if test "$wxUSE_INTL" = "yes" ; then
18424 if test "$wxUSE_FILE" != "yes"; then
18425 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
18427 cat >> confdefs.h
<<\EOF
18428 #define wxUSE_INTL 1
18431 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
18432 GUIDIST
="$GUIDIST INTL_DIST"
18436 if test "$wxUSE_LOG" = "yes"; then
18437 cat >> confdefs.h
<<\EOF
18438 #define wxUSE_LOG 1
18442 if test "$wxUSE_LOGGUI" = "yes"; then
18443 cat >> confdefs.h
<<\EOF
18444 #define wxUSE_LOGGUI 1
18449 if test "$wxUSE_LOGWINDOW" = "yes"; then
18450 cat >> confdefs.h
<<\EOF
18451 #define wxUSE_LOGWINDOW 1
18456 if test "$wxUSE_LOGDIALOG" = "yes"; then
18457 cat >> confdefs.h
<<\EOF
18458 #define wxUSE_LOG_DIALOG 1
18464 if test "$wxUSE_LONGLONG" = "yes"; then
18465 cat >> confdefs.h
<<\EOF
18466 #define wxUSE_LONGLONG 1
18471 if test "$wxUSE_GEOMETRY" = "yes"; then
18472 cat >> confdefs.h
<<\EOF
18473 #define wxUSE_GEOMETRY 1
18478 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
18479 cat >> confdefs.h
<<\EOF
18480 #define wxUSE_DIALUP_MANAGER 1
18483 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
18486 if test "$wxUSE_STREAMS" = "yes" ; then
18487 cat >> confdefs.h
<<\EOF
18488 #define wxUSE_STREAMS 1
18494 if test "$wxUSE_DATETIME" = "yes"; then
18495 for ac_func
in strptime
18497 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18498 echo "configure:18499: checking for $ac_func" >&5
18499 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18500 echo $ac_n "(cached) $ac_c" 1>&6
18502 cat > conftest.
$ac_ext <<EOF
18503 #line 18504 "configure"
18504 #include "confdefs.h"
18505 /* System header to define __stub macros and hopefully few prototypes,
18506 which can conflict with char $ac_func(); below. */
18507 #include <assert.h>
18508 /* Override any gcc2 internal prototype to avoid an error. */
18509 /* We use char because int might match the return type of a gcc2
18510 builtin and then its argument prototype would still apply. */
18515 /* The GNU C library defines this for functions which it implements
18516 to always fail with ENOSYS. Some functions are actually named
18517 something starting with __ and the normal name is an alias. */
18518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18526 if { (eval echo configure
:18527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18528 eval "ac_cv_func_$ac_func=yes"
18530 echo "configure: failed program was:" >&5
18531 cat conftest.
$ac_ext >&5
18533 eval "ac_cv_func_$ac_func=no"
18538 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18539 echo "$ac_t""yes" 1>&6
18540 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18541 cat >> confdefs.h
<<EOF
18542 #define $ac_tr_func 1
18546 echo "$ac_t""no" 1>&6
18551 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
18552 echo "configure:18553: checking for timezone variable in <time.h>" >&5
18553 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
18554 echo $ac_n "(cached) $ac_c" 1>&6
18557 cat > conftest.
$ac_ext <<EOF
18558 #line 18559 "configure"
18559 #include "confdefs.h"
18570 if { (eval echo configure
:18571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18573 wx_cv_var_timezone
=timezone
18576 echo "configure: failed program was:" >&5
18577 cat conftest.
$ac_ext >&5
18580 cat > conftest.
$ac_ext <<EOF
18581 #line 18582 "configure"
18582 #include "confdefs.h"
18593 if { (eval echo configure
:18594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18596 wx_cv_var_timezone
=_timezone
18599 echo "configure: failed program was:" >&5
18600 cat conftest.
$ac_ext >&5
18603 cat > conftest.
$ac_ext <<EOF
18604 #line 18605 "configure"
18605 #include "confdefs.h"
18616 if { (eval echo configure
:18617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18619 wx_cv_var_timezone
=__timezone
18622 echo "configure: failed program was:" >&5
18623 cat conftest.
$ac_ext >&5
18626 if test "$USE_DOS" = 0 ; then
18627 echo "configure: warning: no timezone variable" 1>&2
18645 echo "$ac_t""$wx_cv_var_timezone" 1>&6
18647 if test "x$wx_cv_var_timezone" != x
; then
18648 cat >> confdefs.h
<<EOF
18649 #define WX_TIMEZONE $wx_cv_var_timezone
18654 for ac_func
in localtime
18656 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18657 echo "configure:18658: checking for $ac_func" >&5
18658 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18659 echo $ac_n "(cached) $ac_c" 1>&6
18661 cat > conftest.
$ac_ext <<EOF
18662 #line 18663 "configure"
18663 #include "confdefs.h"
18664 /* System header to define __stub macros and hopefully few prototypes,
18665 which can conflict with char $ac_func(); below. */
18666 #include <assert.h>
18667 /* Override any gcc2 internal prototype to avoid an error. */
18668 /* We use char because int might match the return type of a gcc2
18669 builtin and then its argument prototype would still apply. */
18674 /* The GNU C library defines this for functions which it implements
18675 to always fail with ENOSYS. Some functions are actually named
18676 something starting with __ and the normal name is an alias. */
18677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18685 if { (eval echo configure
:18686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18687 eval "ac_cv_func_$ac_func=yes"
18689 echo "configure: failed program was:" >&5
18690 cat conftest.
$ac_ext >&5
18692 eval "ac_cv_func_$ac_func=no"
18697 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18698 echo "$ac_t""yes" 1>&6
18699 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18700 cat >> confdefs.h
<<EOF
18701 #define $ac_tr_func 1
18705 echo "$ac_t""no" 1>&6
18710 if test "$ac_cv_func_localtime" = "yes"; then
18711 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
18712 echo "configure:18713: checking for tm_gmtoff in struct tm" >&5
18713 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
18714 echo $ac_n "(cached) $ac_c" 1>&6
18717 cat > conftest.
$ac_ext <<EOF
18718 #line 18719 "configure"
18719 #include "confdefs.h"
18730 if { (eval echo configure
:18731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18733 wx_cv_struct_tm_has_gmtoff
=yes
18736 echo "configure: failed program was:" >&5
18737 cat conftest.
$ac_ext >&5
18739 wx_cv_struct_tm_has_gmtoff
=no
18746 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
18749 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
18750 cat >> confdefs.h
<<\EOF
18751 #define WX_GMTOFF_IN_TM 1
18756 for ac_func
in gettimeofday ftime
18758 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18759 echo "configure:18760: checking for $ac_func" >&5
18760 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18761 echo $ac_n "(cached) $ac_c" 1>&6
18763 cat > conftest.
$ac_ext <<EOF
18764 #line 18765 "configure"
18765 #include "confdefs.h"
18766 /* System header to define __stub macros and hopefully few prototypes,
18767 which can conflict with char $ac_func(); below. */
18768 #include <assert.h>
18769 /* Override any gcc2 internal prototype to avoid an error. */
18770 /* We use char because int might match the return type of a gcc2
18771 builtin and then its argument prototype would still apply. */
18776 /* The GNU C library defines this for functions which it implements
18777 to always fail with ENOSYS. Some functions are actually named
18778 something starting with __ and the normal name is an alias. */
18779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18787 if { (eval echo configure
:18788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18789 eval "ac_cv_func_$ac_func=yes"
18791 echo "configure: failed program was:" >&5
18792 cat conftest.
$ac_ext >&5
18794 eval "ac_cv_func_$ac_func=no"
18799 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18800 echo "$ac_t""yes" 1>&6
18801 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18802 cat >> confdefs.h
<<EOF
18803 #define $ac_tr_func 1
18807 echo "$ac_t""no" 1>&6
18812 if test "$ac_cv_func_gettimeofday" = "yes"; then
18813 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
18814 echo "configure:18815: checking whether gettimeofday takes two arguments" >&5
18815 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
18816 echo $ac_n "(cached) $ac_c" 1>&6
18821 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18822 ac_cpp
='$CXXCPP $CPPFLAGS'
18823 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18824 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18825 cross_compiling
=$ac_cv_prog_cxx_cross
18828 cat > conftest.
$ac_ext <<EOF
18829 #line 18830 "configure"
18830 #include "confdefs.h"
18832 #include <sys/time.h>
18833 #include <unistd.h>
18838 gettimeofday(&tv, NULL);
18842 if { (eval echo configure
:18843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18844 wx_cv_func_gettimeofday_has_2_args
=yes
18846 echo "configure: failed program was:" >&5
18847 cat conftest.
$ac_ext >&5
18849 cat > conftest.
$ac_ext <<EOF
18850 #line 18851 "configure"
18851 #include "confdefs.h"
18853 #include <sys/time.h>
18854 #include <unistd.h>
18863 if { (eval echo configure
:18864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18865 wx_cv_func_gettimeofday_has_2_args
=no
18867 echo "configure: failed program was:" >&5
18868 cat conftest.
$ac_ext >&5
18871 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
18872 wx_cv_func_gettimeofday_has_2_args
=unknown
18881 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18882 ac_cpp
='$CPP $CPPFLAGS'
18883 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18884 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18885 cross_compiling
=$ac_cv_prog_cc_cross
18890 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
18892 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
18893 cat >> confdefs.h
<<\EOF
18894 #define WX_GETTIMEOFDAY_NO_TZ 1
18900 cat >> confdefs.h
<<\EOF
18901 #define wxUSE_TIMEDATE 1
18904 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
18908 if test "$wxUSE_SOCKETS" = "yes"; then
18909 if test "$wxUSE_X11" = "1"; then
18910 echo "configure: warning: wxSocket not yet supported under X11... disabled" 1>&2
18914 if test "$wxUSE_MGL" = "1"; then
18915 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
18920 if test "$wxUSE_SOCKETS" = "yes"; then
18921 if test "$TOOLKIT" != "MSW"; then
18922 echo $ac_n "checking for socket""... $ac_c" 1>&6
18923 echo "configure:18924: checking for socket" >&5
18924 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
18925 echo $ac_n "(cached) $ac_c" 1>&6
18927 cat > conftest.
$ac_ext <<EOF
18928 #line 18929 "configure"
18929 #include "confdefs.h"
18930 /* System header to define __stub macros and hopefully few prototypes,
18931 which can conflict with char socket(); below. */
18932 #include <assert.h>
18933 /* Override any gcc2 internal prototype to avoid an error. */
18934 /* We use char because int might match the return type of a gcc2
18935 builtin and then its argument prototype would still apply. */
18940 /* The GNU C library defines this for functions which it implements
18941 to always fail with ENOSYS. Some functions are actually named
18942 something starting with __ and the normal name is an alias. */
18943 #if defined (__stub_socket) || defined (__stub___socket)
18951 if { (eval echo configure
:18952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18953 eval "ac_cv_func_socket=yes"
18955 echo "configure: failed program was:" >&5
18956 cat conftest.
$ac_ext >&5
18958 eval "ac_cv_func_socket=no"
18963 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
18964 echo "$ac_t""yes" 1>&6
18967 echo "$ac_t""no" 1>&6
18968 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
18969 echo "configure:18970: checking for socket in -lsocket" >&5
18970 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
18971 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18972 echo $ac_n "(cached) $ac_c" 1>&6
18974 ac_save_LIBS
="$LIBS"
18975 LIBS
="-lsocket $LIBS"
18976 cat > conftest.
$ac_ext <<EOF
18977 #line 18978 "configure"
18978 #include "confdefs.h"
18979 /* Override any gcc2 internal prototype to avoid an error. */
18980 /* We use char because int might match the return type of a gcc2
18981 builtin and then its argument prototype would still apply. */
18988 if { (eval echo configure
:18989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18990 eval "ac_cv_lib_$ac_lib_var=yes"
18992 echo "configure: failed program was:" >&5
18993 cat conftest.
$ac_ext >&5
18995 eval "ac_cv_lib_$ac_lib_var=no"
18998 LIBS
="$ac_save_LIBS"
19001 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19002 echo "$ac_t""yes" 1>&6
19003 if test "$INET_LINK" != " -lsocket"; then
19004 INET_LINK
="$INET_LINK -lsocket"
19007 echo "$ac_t""no" 1>&6
19009 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
19021 if test "$wxUSE_SOCKETS" = "yes" ; then
19022 if test "$TOOLKIT" != "MSW"; then
19023 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
19024 echo "configure:19025: checking what is the type of the third argument of getsockname" >&5
19025 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
19026 echo $ac_n "(cached) $ac_c" 1>&6
19031 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19032 ac_cpp
='$CXXCPP $CPPFLAGS'
19033 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19034 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19035 cross_compiling
=$ac_cv_prog_cxx_cross
19038 cat > conftest.
$ac_ext <<EOF
19039 #line 19040 "configure"
19040 #include "confdefs.h"
19042 #include <sys/types.h>
19043 #include <sys/socket.h>
19048 getsockname(0, 0, &len);
19052 if { (eval echo configure
:19053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19054 wx_cv_type_getsockname3
=socklen_t
19056 echo "configure: failed program was:" >&5
19057 cat conftest.
$ac_ext >&5
19059 cat > conftest.
$ac_ext <<EOF
19060 #line 19061 "configure"
19061 #include "confdefs.h"
19063 #include <sys/types.h>
19064 #include <sys/socket.h>
19069 getsockname(0, 0, &len);
19073 if { (eval echo configure
:19074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19075 wx_cv_type_getsockname3
=size_t
19077 echo "configure: failed program was:" >&5
19078 cat conftest.
$ac_ext >&5
19080 cat > conftest.
$ac_ext <<EOF
19081 #line 19082 "configure"
19082 #include "confdefs.h"
19084 #include <sys/types.h>
19085 #include <sys/socket.h>
19090 getsockname(0, 0, &len);
19094 if { (eval echo configure
:19095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19096 wx_cv_type_getsockname3
=int
19098 echo "configure: failed program was:" >&5
19099 cat conftest.
$ac_ext >&5
19101 wx_cv_type_getsockname3
=unknown
19113 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19114 ac_cpp
='$CPP $CPPFLAGS'
19115 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19116 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19117 cross_compiling
=$ac_cv_prog_cc_cross
19122 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
19124 if test "$wx_cv_type_getsockname3" = "unknown"; then
19126 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
19128 cat >> confdefs.h
<<EOF
19129 #define SOCKLEN_T $wx_cv_type_getsockname3
19136 if test "$wxUSE_SOCKETS" = "yes" ; then
19137 cat >> confdefs.h
<<\EOF
19138 #define wxUSE_SOCKETS 1
19141 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
19145 if test "$wxUSE_GUI" = "yes"; then
19147 if test "$TOOLKIT" = "MAC"; then
19148 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
19151 if test "$TOOLKIT" = "MOTIF"; then
19152 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
19155 if test "$TOOLKIT" = "X11"; then
19156 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
19160 if test "$TOOLKIT" != "MSW"; then
19161 if test "$wxUSE_JOYSTICK" = "yes"; then
19162 for ac_hdr
in linux
/joystick.h
19164 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19165 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19166 echo "configure:19167: checking for $ac_hdr" >&5
19167 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19168 echo $ac_n "(cached) $ac_c" 1>&6
19170 cat > conftest.
$ac_ext <<EOF
19171 #line 19172 "configure"
19172 #include "confdefs.h"
19175 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19176 { (eval echo configure
:19177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19177 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19178 if test -z "$ac_err"; then
19180 eval "ac_cv_header_$ac_safe=yes"
19183 echo "configure: failed program was:" >&5
19184 cat conftest.
$ac_ext >&5
19186 eval "ac_cv_header_$ac_safe=no"
19190 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19191 echo "$ac_t""yes" 1>&6
19192 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19193 cat >> confdefs.h
<<EOF
19194 #define $ac_tr_hdr 1
19198 echo "$ac_t""no" 1>&6
19202 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
19204 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
19209 if test "$wxUSE_JOYSTICK" = "yes"; then
19210 cat >> confdefs.h
<<\EOF
19211 #define wxUSE_JOYSTICK 1
19214 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
19219 if test "$TOOLKIT" != "MSW"; then
19223 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19224 if test "$USE_DARWIN" = 1; then
19227 for ac_func
in dlopen
19229 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19230 echo "configure:19231: checking for $ac_func" >&5
19231 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19232 echo $ac_n "(cached) $ac_c" 1>&6
19234 cat > conftest.
$ac_ext <<EOF
19235 #line 19236 "configure"
19236 #include "confdefs.h"
19237 /* System header to define __stub macros and hopefully few prototypes,
19238 which can conflict with char $ac_func(); below. */
19239 #include <assert.h>
19240 /* Override any gcc2 internal prototype to avoid an error. */
19241 /* We use char because int might match the return type of a gcc2
19242 builtin and then its argument prototype would still apply. */
19247 /* The GNU C library defines this for functions which it implements
19248 to always fail with ENOSYS. Some functions are actually named
19249 something starting with __ and the normal name is an alias. */
19250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19258 if { (eval echo configure
:19259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19260 eval "ac_cv_func_$ac_func=yes"
19262 echo "configure: failed program was:" >&5
19263 cat conftest.
$ac_ext >&5
19265 eval "ac_cv_func_$ac_func=no"
19270 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19271 echo "$ac_t""yes" 1>&6
19272 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19273 cat >> confdefs.h
<<EOF
19274 #define $ac_tr_func 1
19277 cat >> confdefs.h
<<\EOF
19278 #define HAVE_DLOPEN 1
19284 echo "$ac_t""no" 1>&6
19285 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
19286 echo "configure:19287: checking for dlopen in -ldl" >&5
19287 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
19288 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19289 echo $ac_n "(cached) $ac_c" 1>&6
19291 ac_save_LIBS
="$LIBS"
19293 cat > conftest.
$ac_ext <<EOF
19294 #line 19295 "configure"
19295 #include "confdefs.h"
19296 /* Override any gcc2 internal prototype to avoid an error. */
19297 /* We use char because int might match the return type of a gcc2
19298 builtin and then its argument prototype would still apply. */
19305 if { (eval echo configure
:19306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19307 eval "ac_cv_lib_$ac_lib_var=yes"
19309 echo "configure: failed program was:" >&5
19310 cat conftest.
$ac_ext >&5
19312 eval "ac_cv_lib_$ac_lib_var=no"
19315 LIBS
="$ac_save_LIBS"
19318 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19319 echo "$ac_t""yes" 1>&6
19321 cat >> confdefs.h
<<\EOF
19322 #define HAVE_DLOPEN 1
19326 DL_LINK
=" -ldl$DL_LINK"
19329 echo "$ac_t""no" 1>&6
19331 for ac_func
in shl_load
19333 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19334 echo "configure:19335: checking for $ac_func" >&5
19335 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19336 echo $ac_n "(cached) $ac_c" 1>&6
19338 cat > conftest.
$ac_ext <<EOF
19339 #line 19340 "configure"
19340 #include "confdefs.h"
19341 /* System header to define __stub macros and hopefully few prototypes,
19342 which can conflict with char $ac_func(); below. */
19343 #include <assert.h>
19344 /* Override any gcc2 internal prototype to avoid an error. */
19345 /* We use char because int might match the return type of a gcc2
19346 builtin and then its argument prototype would still apply. */
19351 /* The GNU C library defines this for functions which it implements
19352 to always fail with ENOSYS. Some functions are actually named
19353 something starting with __ and the normal name is an alias. */
19354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19362 if { (eval echo configure
:19363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19364 eval "ac_cv_func_$ac_func=yes"
19366 echo "configure: failed program was:" >&5
19367 cat conftest.
$ac_ext >&5
19369 eval "ac_cv_func_$ac_func=no"
19374 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19375 echo "$ac_t""yes" 1>&6
19376 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19377 cat >> confdefs.h
<<EOF
19378 #define $ac_tr_func 1
19381 cat >> confdefs.h
<<\EOF
19382 #define HAVE_SHL_LOAD 1
19388 echo "$ac_t""no" 1>&6
19389 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
19390 echo "configure:19391: checking for dld in -lshl_load" >&5
19391 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
19392 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19393 echo $ac_n "(cached) $ac_c" 1>&6
19395 ac_save_LIBS
="$LIBS"
19396 LIBS
="-lshl_load $LIBS"
19397 cat > conftest.
$ac_ext <<EOF
19398 #line 19399 "configure"
19399 #include "confdefs.h"
19400 /* Override any gcc2 internal prototype to avoid an error. */
19401 /* We use char because int might match the return type of a gcc2
19402 builtin and then its argument prototype would still apply. */
19409 if { (eval echo configure
:19410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19411 eval "ac_cv_lib_$ac_lib_var=yes"
19413 echo "configure: failed program was:" >&5
19414 cat conftest.
$ac_ext >&5
19416 eval "ac_cv_lib_$ac_lib_var=no"
19419 LIBS
="$ac_save_LIBS"
19422 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19423 echo "$ac_t""yes" 1>&6
19426 DL_LINK
=" -ldld$DL_LINK"
19429 echo "$ac_t""no" 1>&6
19444 if test "$HAVE_DL_FUNCS" = 1; then
19445 for ac_func
in dlerror
19447 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19448 echo "configure:19449: checking for $ac_func" >&5
19449 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19450 echo $ac_n "(cached) $ac_c" 1>&6
19452 cat > conftest.
$ac_ext <<EOF
19453 #line 19454 "configure"
19454 #include "confdefs.h"
19455 /* System header to define __stub macros and hopefully few prototypes,
19456 which can conflict with char $ac_func(); below. */
19457 #include <assert.h>
19458 /* Override any gcc2 internal prototype to avoid an error. */
19459 /* We use char because int might match the return type of a gcc2
19460 builtin and then its argument prototype would still apply. */
19465 /* The GNU C library defines this for functions which it implements
19466 to always fail with ENOSYS. Some functions are actually named
19467 something starting with __ and the normal name is an alias. */
19468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19476 if { (eval echo configure
:19477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19478 eval "ac_cv_func_$ac_func=yes"
19480 echo "configure: failed program was:" >&5
19481 cat conftest.
$ac_ext >&5
19483 eval "ac_cv_func_$ac_func=no"
19488 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19489 echo "$ac_t""yes" 1>&6
19490 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19491 cat >> confdefs.h
<<EOF
19492 #define $ac_tr_func 1
19494 cat >> confdefs.h
<<\EOF
19495 #define HAVE_DLERROR 1
19499 echo "$ac_t""no" 1>&6
19500 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
19501 echo "configure:19502: checking for dlerror in -ldl" >&5
19502 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
19503 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19504 echo $ac_n "(cached) $ac_c" 1>&6
19506 ac_save_LIBS
="$LIBS"
19508 cat > conftest.
$ac_ext <<EOF
19509 #line 19510 "configure"
19510 #include "confdefs.h"
19511 /* Override any gcc2 internal prototype to avoid an error. */
19512 /* We use char because int might match the return type of a gcc2
19513 builtin and then its argument prototype would still apply. */
19520 if { (eval echo configure
:19521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19522 eval "ac_cv_lib_$ac_lib_var=yes"
19524 echo "configure: failed program was:" >&5
19525 cat conftest.
$ac_ext >&5
19527 eval "ac_cv_lib_$ac_lib_var=no"
19530 LIBS
="$ac_save_LIBS"
19533 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19534 echo "$ac_t""yes" 1>&6
19535 cat >> confdefs.h
<<\EOF
19536 #define HAVE_DLERROR 1
19540 echo "$ac_t""no" 1>&6
19549 if test "$HAVE_DL_FUNCS" = 0; then
19550 if test "$HAVE_SHL_FUNCS" = 0; then
19551 if test "$USE_UNIX" = 1; then
19552 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
19553 wxUSE_DYNAMIC_LOADER
=no
19554 wxUSE_DYNLIB_CLASS
=no
19556 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
19563 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
19564 cat >> confdefs.h
<<\EOF
19565 #define wxUSE_DYNAMIC_LOADER 1
19568 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19569 cat >> confdefs.h
<<\EOF
19570 #define wxUSE_DYNLIB_CLASS 1
19576 if test "$wxUSE_FONTMAP" = "yes" ; then
19577 cat >> confdefs.h
<<\EOF
19578 #define wxUSE_FONTMAP 1
19583 if test "$wxUSE_UNICODE" = "yes" ; then
19584 cat >> confdefs.h
<<\EOF
19585 #define wxUSE_UNICODE 1
19589 if test "$wxUSE_MSW" != 1; then
19590 wxUSE_UNICODE_MSLU
=no
19593 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
19594 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
19595 echo "configure:19596: checking for main in -lunicows" >&5
19596 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
19597 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19598 echo $ac_n "(cached) $ac_c" 1>&6
19600 ac_save_LIBS
="$LIBS"
19601 LIBS
="-lunicows $LIBS"
19602 cat > conftest.
$ac_ext <<EOF
19603 #line 19604 "configure"
19604 #include "confdefs.h"
19610 if { (eval echo configure
:19611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19612 eval "ac_cv_lib_$ac_lib_var=yes"
19614 echo "configure: failed program was:" >&5
19615 cat conftest.
$ac_ext >&5
19617 eval "ac_cv_lib_$ac_lib_var=no"
19620 LIBS
="$ac_save_LIBS"
19623 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19624 echo "$ac_t""yes" 1>&6
19626 cat >> confdefs.h
<<\EOF
19627 #define wxUSE_UNICODE_MSLU 1
19632 echo "$ac_t""no" 1>&6
19634 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
19635 Applications will only run on Windows NT/2000/XP!" 1>&2
19636 wxUSE_UNICODE_MSLU
=no
19643 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
19644 cat >> confdefs.h
<<\EOF
19645 #define wxUSE_EXPERIMENTAL_PRINTF 1
19653 if test "$wxUSE_ODBC" = "yes" ; then
19654 cat >> confdefs.h
<<\EOF
19655 #define wxUSE_ODBC 1
19658 WXODBCFLAG
="-D_IODBC_"
19659 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
19663 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
19664 cat >> confdefs.h
<<\EOF
19665 #define wxUSE_POSTSCRIPT 1
19670 cat >> confdefs.h
<<\EOF
19671 #define wxUSE_AFM_FOR_POSTSCRIPT 1
19675 cat >> confdefs.h
<<\EOF
19676 #define wxUSE_NORMALIZED_PS_FONTS 1
19681 if test "$wxUSE_CONSTRAINTS" = "yes"; then
19682 cat >> confdefs.h
<<\EOF
19683 #define wxUSE_CONSTRAINTS 1
19686 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
19689 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19690 if test "$wxUSE_UNIVERSAL" = "yes"; then
19691 echo "configure: warning: MDI not yet supported for wxUniversal... disabled" 1>&2
19692 wxUSE_MDI_ARCHITECTURE
=no
19695 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19696 cat >> confdefs.h
<<\EOF
19697 #define wxUSE_MDI_ARCHITECTURE 1
19700 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
19704 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
19705 cat >> confdefs.h
<<\EOF
19706 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
19709 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
19710 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19711 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
19715 if test "$wxUSE_HELP" = "yes"; then
19716 cat >> confdefs.h
<<\EOF
19717 #define wxUSE_HELP 1
19720 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
19722 if test "$wxUSE_MSW" = 1; then
19723 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
19724 cat >> confdefs.h
<<\EOF
19725 #define wxUSE_MS_HTML_HELP 1
19731 if test "$wxUSE_WXHTML_HELP" = "yes"; then
19732 if test "$wxUSE_HTML" = "yes"; then
19733 cat >> confdefs.h
<<\EOF
19734 #define wxUSE_WXHTML_HELP 1
19738 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
19739 wxUSE_WXHTML_HELP
=no
19744 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
19745 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19746 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
19748 cat >> confdefs.h
<<\EOF
19749 #define wxUSE_PRINTING_ARCHITECTURE 1
19753 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
19756 if test "$wxUSE_PROLOGIO" = "yes" ; then
19757 cat >> confdefs.h
<<\EOF
19758 #define wxUSE_PROLOGIO 1
19763 if test "$wxUSE_RESOURCES" = "yes" ; then
19764 if test "$wxUSE_NANOX" = "yes"; then
19765 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
19767 cat >> confdefs.h
<<\EOF
19768 #define wxUSE_RESOURCES 1
19771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
19775 if test "$wxUSE_X_RESOURCES" = "yes"; then
19776 cat >> confdefs.h
<<\EOF
19777 #define wxUSE_X_RESOURCES 1
19783 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
19784 -o "$wxUSE_CLIPBOARD" = "yes" \
19785 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
19786 for ac_hdr
in ole2.h
19788 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19789 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19790 echo "configure:19791: checking for $ac_hdr" >&5
19791 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19792 echo $ac_n "(cached) $ac_c" 1>&6
19794 cat > conftest.
$ac_ext <<EOF
19795 #line 19796 "configure"
19796 #include "confdefs.h"
19799 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19800 { (eval echo configure
:19801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19801 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19802 if test -z "$ac_err"; then
19804 eval "ac_cv_header_$ac_safe=yes"
19807 echo "configure: failed program was:" >&5
19808 cat conftest.
$ac_ext >&5
19810 eval "ac_cv_header_$ac_safe=no"
19814 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19815 echo "$ac_t""yes" 1>&6
19816 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19817 cat >> confdefs.h
<<EOF
19818 #define $ac_tr_hdr 1
19822 echo "$ac_t""no" 1>&6
19827 if test "$ac_cv_header_ole2_h" = "yes" ; then
19828 if test "$GCC" = yes ; then
19829 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
19830 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
19831 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
19832 cat >> confdefs.h
<<\EOF
19833 #define wxUSE_OLE 1
19839 cat >> confdefs.h
<<\EOF
19840 #define wxUSE_DATAOBJ 1
19844 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
19847 wxUSE_DRAG_AND_DROP
=no
19851 if test "$wxUSE_METAFILE" = "yes"; then
19852 cat >> confdefs.h
<<\EOF
19853 #define wxUSE_METAFILE 1
19857 cat >> confdefs.h
<<\EOF
19858 #define wxUSE_ENH_METAFILE 1
19864 if test "$wxUSE_IPC" = "yes"; then
19865 if test "$wxUSE_SOCKETS" != "yes"; then
19866 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
19869 cat >> confdefs.h
<<\EOF
19870 #define wxUSE_IPC 1
19875 if test "$wxUSE_CLIPBOARD" = "yes"; then
19876 if test "$wxUSE_MGL" = 1; then
19877 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
19881 if test "$wxUSE_CLIPBOARD" = "yes"; then
19882 cat >> confdefs.h
<<\EOF
19883 #define wxUSE_CLIPBOARD 1
19887 cat >> confdefs.h
<<\EOF
19888 #define wxUSE_DATAOBJ 1
19894 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
19895 if test "$wxUSE_GTK" = 1; then
19896 if test "$WXGTK12" != 1; then
19897 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
19898 wxUSE_DRAG_AND_DROP
=no
19902 if test "$wxUSE_MOTIF" = 1; then
19903 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
19904 wxUSE_DRAG_AND_DROP
=no
19907 if test "$wxUSE_X11" = 1; then
19908 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
19909 wxUSE_DRAG_AND_DROP
=no
19912 if test "$wxUSE_MGL" = 1; then
19913 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
19914 wxUSE_DRAG_AND_DROP
=no
19917 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
19918 cat >> confdefs.h
<<\EOF
19919 #define wxUSE_DRAG_AND_DROP 1
19922 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
19927 if test "$wxUSE_SPLINES" = "yes" ; then
19928 cat >> confdefs.h
<<\EOF
19929 #define wxUSE_SPLINES 1
19936 if test "$wxUSE_CONTROLS" = "yes"; then
19940 if test "$wxUSE_ACCEL" = "yes"; then
19941 cat >> confdefs.h
<<\EOF
19942 #define wxUSE_ACCEL 1
19948 if test "$wxUSE_BUTTON" = "yes"; then
19949 cat >> confdefs.h
<<\EOF
19950 #define wxUSE_BUTTON 1
19956 if test "$wxUSE_BMPBUTTON" = "yes"; then
19957 cat >> confdefs.h
<<\EOF
19958 #define wxUSE_BMPBUTTON 1
19964 if test "$wxUSE_CALCTRL" = "yes"; then
19965 cat >> confdefs.h
<<\EOF
19966 #define wxUSE_CALENDARCTRL 1
19970 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
19973 if test "$wxUSE_CARET" = "yes"; then
19974 cat >> confdefs.h
<<\EOF
19975 #define wxUSE_CARET 1
19979 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
19982 if test "$wxUSE_COMBOBOX" = "yes"; then
19983 cat >> confdefs.h
<<\EOF
19984 #define wxUSE_COMBOBOX 1
19990 if test "$wxUSE_CHOICE" = "yes"; then
19991 cat >> confdefs.h
<<\EOF
19992 #define wxUSE_CHOICE 1
19998 if test "$wxUSE_CHECKBOX" = "yes"; then
19999 cat >> confdefs.h
<<\EOF
20000 #define wxUSE_CHECKBOX 1
20006 if test "$wxUSE_CHECKLST" = "yes"; then
20007 cat >> confdefs.h
<<\EOF
20008 #define wxUSE_CHECKLISTBOX 1
20012 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
20015 if test "$wxUSE_GAUGE" = "yes"; then
20016 cat >> confdefs.h
<<\EOF
20017 #define wxUSE_GAUGE 1
20023 if test "$wxUSE_NEW_GRID" = "yes"; then
20025 cat >> confdefs.h
<<\EOF
20026 #define wxUSE_NEW_GRID 1
20030 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
20033 if test "$wxUSE_GRID" = "yes"; then
20034 cat >> confdefs.h
<<\EOF
20035 #define wxUSE_GRID 1
20039 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
20042 if test "$wxUSE_IMAGLIST" = "yes"; then
20043 cat >> confdefs.h
<<\EOF
20044 #define wxUSE_IMAGLIST 1
20049 if test "$wxUSE_LISTBOX" = "yes"; then
20050 cat >> confdefs.h
<<\EOF
20051 #define wxUSE_LISTBOX 1
20057 if test "$wxUSE_LISTCTRL" = "yes"; then
20058 if test "$wxUSE_IMAGLIST" = "yes"; then
20059 cat >> confdefs.h
<<\EOF
20060 #define wxUSE_LISTCTRL 1
20064 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
20066 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
20070 if test "$wxUSE_NOTEBOOK" = "yes"; then
20071 cat >> confdefs.h
<<\EOF
20072 #define wxUSE_NOTEBOOK 1
20076 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
20079 if test "$wxUSE_PROPSHEET" = "yes"; then
20080 cat >> confdefs.h
<<\EOF
20081 #define wxUSE_PROPSHEET 1
20085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
20088 if test "$wxUSE_RADIOBOX" = "yes"; then
20089 cat >> confdefs.h
<<\EOF
20090 #define wxUSE_RADIOBOX 1
20096 if test "$wxUSE_RADIOBTN" = "yes"; then
20097 cat >> confdefs.h
<<\EOF
20098 #define wxUSE_RADIOBTN 1
20104 if test "$wxUSE_SASH" = "yes"; then
20105 cat >> confdefs.h
<<\EOF
20106 #define wxUSE_SASH 1
20109 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
20112 if test "$wxUSE_SCROLLBAR" = "yes"; then
20113 cat >> confdefs.h
<<\EOF
20114 #define wxUSE_SCROLLBAR 1
20118 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
20121 if test "$wxUSE_SLIDER" = "yes"; then
20122 cat >> confdefs.h
<<\EOF
20123 #define wxUSE_SLIDER 1
20129 if test "$wxUSE_SPINBTN" = "yes"; then
20130 cat >> confdefs.h
<<\EOF
20131 #define wxUSE_SPINBTN 1
20137 if test "$wxUSE_SPINCTRL" = "yes"; then
20138 cat >> confdefs.h
<<\EOF
20139 #define wxUSE_SPINCTRL 1
20145 if test "$wxUSE_SPLITTER" = "yes"; then
20146 cat >> confdefs.h
<<\EOF
20147 #define wxUSE_SPLITTER 1
20150 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
20153 if test "$wxUSE_STATBMP" = "yes"; then
20154 cat >> confdefs.h
<<\EOF
20155 #define wxUSE_STATBMP 1
20161 if test "$wxUSE_STATBOX" = "yes"; then
20162 cat >> confdefs.h
<<\EOF
20163 #define wxUSE_STATBOX 1
20169 if test "$wxUSE_STATTEXT" = "yes"; then
20170 cat >> confdefs.h
<<\EOF
20171 #define wxUSE_STATTEXT 1
20177 if test "$wxUSE_STATLINE" = "yes"; then
20178 if test "$wxUSE_WINE" = 1 ; then
20179 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
20181 cat >> confdefs.h
<<\EOF
20182 #define wxUSE_STATLINE 1
20189 if test "$wxUSE_STATUSBAR" = "yes"; then
20190 cat >> confdefs.h
<<\EOF
20191 #define wxUSE_STATUSBAR 1
20196 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
20199 if test "$wxUSE_TABDIALOG" = "yes"; then
20200 cat >> confdefs.h
<<\EOF
20201 #define wxUSE_TAB_DIALOG 1
20204 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
20207 if test "$wxUSE_TEXTCTRL" = "yes"; then
20208 cat >> confdefs.h
<<\EOF
20209 #define wxUSE_TEXTCTRL 1
20213 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
20216 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20217 if test "$wxUSE_MAC" = 1; then
20218 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
20221 if test "$wxUSE_UNIVERSAL" = "yes"; then
20222 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
20226 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20227 cat >> confdefs.h
<<\EOF
20228 #define wxUSE_TOGGLEBTN 1
20235 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
20236 cat >> confdefs.h
<<\EOF
20237 #define wxUSE_TOOLBAR_SIMPLE 1
20240 wxUSE_TOOLBAR
="yes"
20244 if test "$wxUSE_TOOLBAR" = "yes"; then
20245 cat >> confdefs.h
<<\EOF
20246 #define wxUSE_TOOLBAR 1
20251 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
20252 wxUSE_TOOLBAR_NATIVE
="yes"
20255 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
20256 cat >> confdefs.h
<<\EOF
20257 #define wxUSE_TOOLBAR_NATIVE 1
20263 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
20266 if test "$wxUSE_TOOLTIPS" = "yes"; then
20267 if test "$wxUSE_MOTIF" = 1; then
20268 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
20270 if test "$wxUSE_WINE" = 1; then
20271 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
20273 if test "$wxUSE_UNIVERSAL" = "yes"; then
20274 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
20276 cat >> confdefs.h
<<\EOF
20277 #define wxUSE_TOOLTIPS 1
20285 if test "$wxUSE_TREECTRL" = "yes"; then
20286 if test "$wxUSE_IMAGLIST" = "yes"; then
20287 cat >> confdefs.h
<<\EOF
20288 #define wxUSE_TREECTRL 1
20292 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
20294 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
20298 if test "$wxUSE_POPUPWIN" = "yes"; then
20299 if test "$wxUSE_MAC" = 1; then
20300 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
20302 if test "$wxUSE_MOTIF" = 1; then
20303 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
20305 if test "$wxUSE_PM" = 1; then
20306 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
20308 cat >> confdefs.h
<<\EOF
20309 #define wxUSE_POPUPWIN 1
20319 if test "$wxUSE_TIPWINDOW" = "yes"; then
20320 if test "$wxUSE_PM" = 1; then
20321 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
20323 cat >> confdefs.h
<<\EOF
20324 #define wxUSE_TIPWINDOW 1
20330 if test "$USES_CONTROLS" = 1; then
20331 cat >> confdefs.h
<<\EOF
20332 #define wxUSE_CONTROLS 1
20338 if test "$wxUSE_TREELAYOUT" = "yes"; then
20339 cat >> confdefs.h
<<\EOF
20340 #define wxUSE_TREELAYOUT 1
20343 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
20346 if test "$wxUSE_DRAGIMAGE" = "yes"; then
20347 cat >> confdefs.h
<<\EOF
20348 #define wxUSE_DRAGIMAGE 1
20351 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
20354 if test "$wxUSE_MENUS" = "yes"; then
20355 cat >> confdefs.h
<<\EOF
20356 #define wxUSE_MENUS 1
20359 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
20362 if test "$wxUSE_METAFILE" = "yes"; then
20363 cat >> confdefs.h
<<\EOF
20364 #define wxUSE_METAFILE 1
20369 if test "$wxUSE_MIMETYPE" = "yes"; then
20370 cat >> confdefs.h
<<\EOF
20371 #define wxUSE_MIMETYPE 1
20376 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
20377 cat >> confdefs.h
<<\EOF
20378 #define wxUSE_SYSTEM_OPTIONS 1
20381 if test "$TOOLKIT" = "MSW"; then
20382 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
20387 if test "$wxUSE_PROTOCOL" = "yes"; then
20388 if test "$wxUSE_SOCKETS" != "yes"; then
20389 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
20393 if test "$wxUSE_PROTOCOL" = "yes"; then
20394 cat >> confdefs.h
<<\EOF
20395 #define wxUSE_PROTOCOL 1
20399 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
20400 cat >> confdefs.h
<<\EOF
20401 #define wxUSE_PROTOCOL_HTTP 1
20405 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
20406 cat >> confdefs.h
<<\EOF
20407 #define wxUSE_PROTOCOL_FTP 1
20411 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
20412 cat >> confdefs.h
<<\EOF
20413 #define wxUSE_PROTOCOL_FILE 1
20420 if test "$wxUSE_URL" = "yes"; then
20421 if test "$wxUSE_PROTOCOL" != "yes"; then
20422 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
20425 if test "$wxUSE_URL" = "yes"; then
20426 cat >> confdefs.h
<<\EOF
20427 #define wxUSE_URL 1
20433 if test "$wxUSE_MINIFRAME" = "yes"; then
20434 cat >> confdefs.h
<<\EOF
20435 #define wxUSE_MINIFRAME 1
20438 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
20441 if test "$wxUSE_HTML" = "yes"; then
20442 cat >> confdefs.h
<<\EOF
20443 #define wxUSE_HTML 1
20446 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
20449 if test "$wxUSE_VALIDATORS" = "yes"; then
20450 cat >> confdefs.h
<<\EOF
20451 #define wxUSE_VALIDATORS 1
20454 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
20457 if test "$wxUSE_PALETTE" = "yes" ; then
20458 cat >> confdefs.h
<<\EOF
20459 #define wxUSE_PALETTE 1
20464 if test "$wxUSE_IMAGE" = "yes" ; then
20465 cat >> confdefs.h
<<\EOF
20466 #define wxUSE_IMAGE 1
20471 if test "$wxUSE_GIF" = "yes" ; then
20472 cat >> confdefs.h
<<\EOF
20473 #define wxUSE_GIF 1
20478 if test "$wxUSE_PCX" = "yes" ; then
20479 cat >> confdefs.h
<<\EOF
20480 #define wxUSE_PCX 1
20485 if test "$wxUSE_IFF" = "yes" ; then
20486 cat >> confdefs.h
<<\EOF
20487 #define wxUSE_IFF 1
20492 if test "$wxUSE_PNM" = "yes" ; then
20493 cat >> confdefs.h
<<\EOF
20494 #define wxUSE_PNM 1
20499 if test "$wxUSE_XPM" = "yes" ; then
20500 cat >> confdefs.h
<<\EOF
20501 #define wxUSE_XPM 1
20506 if test "$wxUSE_ICO_CUR" = "yes" ; then
20507 cat >> confdefs.h
<<\EOF
20508 #define wxUSE_ICO_CUR 1
20513 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
20514 LIBS
=" -lunicows $LIBS"
20518 if test "$wxUSE_CHOICEDLG" = "yes"; then
20519 cat >> confdefs.h
<<\EOF
20520 #define wxUSE_CHOICEDLG 1
20525 if test "$wxUSE_COLOURDLG" = "yes"; then
20526 cat >> confdefs.h
<<\EOF
20527 #define wxUSE_COLOURDLG 1
20532 if test "$wxUSE_FILEDLG" = "yes"; then
20533 cat >> confdefs.h
<<\EOF
20534 #define wxUSE_FILEDLG 1
20539 if test "$wxUSE_FINDREPLDLG" = "yes"; then
20540 cat >> confdefs.h
<<\EOF
20541 #define wxUSE_FINDREPLDLG 1
20546 if test "$wxUSE_FONTDLG" = "yes"; then
20547 cat >> confdefs.h
<<\EOF
20548 #define wxUSE_FONTDLG 1
20553 if test "$wxUSE_DIRDLG" = "yes"; then
20554 if test "$wxUSE_TREECTRL" != "yes"; then
20555 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
20557 cat >> confdefs.h
<<\EOF
20558 #define wxUSE_DIRDLG 1
20564 if test "$wxUSE_MSGDLG" = "yes"; then
20565 cat >> confdefs.h
<<\EOF
20566 #define wxUSE_MSGDLG 1
20571 if test "$wxUSE_NUMBERDLG" = "yes"; then
20572 cat >> confdefs.h
<<\EOF
20573 #define wxUSE_NUMBERDLG 1
20578 if test "$wxUSE_PROGRESSDLG" = "yes"; then
20579 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20580 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
20582 cat >> confdefs.h
<<\EOF
20583 #define wxUSE_PROGRESSDLG 1
20589 if test "$wxUSE_SPLASH" = "yes"; then
20590 cat >> confdefs.h
<<\EOF
20591 #define wxUSE_SPLASH 1
20596 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
20597 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20598 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
20600 cat >> confdefs.h
<<\EOF
20601 #define wxUSE_STARTUP_TIPS 1
20607 if test "$wxUSE_TEXTDLG" = "yes"; then
20608 cat >> confdefs.h
<<\EOF
20609 #define wxUSE_TEXTDLG 1
20614 if test "$wxUSE_WIZARDDLG" = "yes"; then
20615 cat >> confdefs.h
<<\EOF
20616 #define wxUSE_WIZARDDLG 1
20619 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
20623 if test "$cross_compiling" = "yes"; then
20626 OSINFO
=`uname -s -r -m`
20627 OSINFO
="\"$OSINFO\""
20630 cat >> confdefs.h
<<EOF
20631 #define WXWIN_OS_DESCRIPTION $OSINFO
20636 if test "x$prefix" != "xNONE"; then
20639 wxPREFIX
=$ac_default_prefix
20642 cat >> confdefs.h
<<EOF
20643 #define wxINSTALL_PREFIX "$wxPREFIX"
20650 if test "$wxUSE_MAC" = 1 ; then
20651 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
20655 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK -lm $LIBS"
20657 if test "$wxUSE_GUI" = "yes"; then
20659 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
20662 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
20663 drawing dynamic erase event exec font image \
20664 minimal richedit rotate widgets"
20666 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
20668 SAMPLES_SUBDIRS
="console"
20672 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
20673 -I\${top_srcdir}/include \
20674 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
20677 if test "$wxUSE_GTK" = 1; then
20680 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
20683 if test "$GXX" = yes ; then
20684 CXXWARNINGS
="-Wall"
20686 if test "$wxUSE_NO_DEPS" = "no" ; then
20687 CFLAGS
="-MMD $CFLAGS"
20688 CXXFLAGS
="-MMD $CXXFLAGS"
20692 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
20694 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
20695 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
20696 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
20698 LDFLAGS
="$LDFLAGS $PROFILE"
20700 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
20790 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
20791 echo "configure:20792: checking whether ${MAKE-make} sets \${MAKE}" >&5
20792 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
20793 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
20794 echo $ac_n "(cached) $ac_c" 1>&6
20796 cat > conftestmake
<<\EOF
20798 @
echo 'ac_maketemp="${MAKE}"'
20800 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20801 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
20802 if test -n "$ac_maketemp"; then
20803 eval ac_cv_prog_make_
${ac_make}_set
=yes
20805 eval ac_cv_prog_make_
${ac_make}_set
=no
20809 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
20810 echo "$ac_t""yes" 1>&6
20813 echo "$ac_t""no" 1>&6
20814 SET_MAKE
="MAKE=${MAKE-make}"
20818 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
20819 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
20824 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
20825 wx_cv_if_gnu_make
=$IF_GNU_MAKE
20826 wx_cv_path_ifs
=$PATH_IFS
20827 wx_cv_program_ext
=$PROGRAM_EXT
20828 wx_cv_target_library
=$WX_TARGET_LIBRARY
20829 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
20830 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
20831 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
20832 wx_cv_path_ifs wx_cv_program_ext \
20833 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
20835 subdirs
="demos samples utils contrib"
20839 cat > confcache
<<\EOF
20840 # This file is a shell script that caches the results of configure
20841 # tests run on this system so they can be shared between configure
20842 # scripts and configure runs. It is not useful on other systems.
20843 # If it contains results you don't want to keep, you may remove or edit it.
20845 # By default, configure uses ./config.cache as the cache file,
20846 # creating it if it does not exist already. You can give configure
20847 # the --cache-file=FILE option to use a different cache file; that is
20848 # what configure does when it calls configure scripts in
20849 # subdirectories, so they share the cache.
20850 # Giving --cache-file=/dev/null disables caching, for debugging configure.
20851 # config.status only pays attention to the cache file if you give it the
20852 # --recheck option to rerun configure.
20855 # The following way of writing the cache mishandles newlines in values,
20856 # but we know of no workaround that is simple, portable, and efficient.
20857 # So, don't put newlines in cache variables' values.
20858 # Ultrix sh set writes to stderr and can't be redirected directly,
20859 # and sets the high bit in the cache file unless we assign to the vars.
20861 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20863 # `set' does not quote correctly, so add quotes (double-quote substitution
20864 # turns \\\\ into \\, and sed turns \\ into \).
20866 -e "s/'/'\\\\''/g" \
20867 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20870 # `set' quotes correctly as required by POSIX, so do not add quotes.
20871 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20874 if cmp -s $cache_file confcache
; then
20877 if test -w $cache_file; then
20878 echo "updating cache $cache_file"
20879 cat confcache
> $cache_file
20881 echo "not updating unwritable cache $cache_file"
20886 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
20888 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20889 # Let make expand exec_prefix.
20890 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20892 # Any assignment to VPATH causes Sun make to only execute
20893 # the first set of double-colon rules, so remove it if not needed.
20894 # If there is a colon in the path, we need to keep it.
20895 if test "x$srcdir" = x.
; then
20896 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
20899 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
20901 DEFS
=-DHAVE_CONFIG_H
20903 # Without the "./", some shells look in PATH for config.status.
20904 : ${CONFIG_STATUS=./config.status}
20906 echo creating
$CONFIG_STATUS
20907 rm -f $CONFIG_STATUS
20908 cat > $CONFIG_STATUS <<EOF
20910 # Generated automatically by configure.
20911 # Run this file to recreate the current configuration.
20912 # This directory was configured as follows,
20913 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20915 # $0 $ac_configure_args
20917 # Compiler output produced by configure, useful for debugging
20918 # configure, is in ./config.log if it exists.
20920 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
20923 case "\$ac_option" in
20924 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20925 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
20926 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
20927 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
20928 echo "$CONFIG_STATUS generated by autoconf version 2.13"
20930 -help | --help | --hel | --he | --h)
20931 echo "\$ac_cs_usage"; exit 0 ;;
20932 *) echo "\$ac_cs_usage"; exit 1 ;;
20936 ac_given_srcdir=$srcdir
20937 ac_given_INSTALL="$INSTALL"
20939 trap 'rm -fr `echo "
20945 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
20947 cat >> $CONFIG_STATUS <<EOF
20949 # Protect against being on the right side of a sed subst in config.status.
20950 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
20951 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
20955 s%@CFLAGS@%$CFLAGS%g
20956 s%@CPPFLAGS@%$CPPFLAGS%g
20957 s%@CXXFLAGS@%$CXXFLAGS%g
20958 s%@FFLAGS@%$FFLAGS%g
20960 s%@LDFLAGS@%$LDFLAGS%g
20962 s%@exec_prefix@%$exec_prefix%g
20963 s%@prefix@%$prefix%g
20964 s%@program_transform_name@%$program_transform_name%g
20965 s%@bindir@%$bindir%g
20966 s%@sbindir@%$sbindir%g
20967 s%@libexecdir@%$libexecdir%g
20968 s%@datadir@%$datadir%g
20969 s%@sysconfdir@%$sysconfdir%g
20970 s%@sharedstatedir@%$sharedstatedir%g
20971 s%@localstatedir@%$localstatedir%g
20972 s%@libdir@%$libdir%g
20973 s%@includedir@%$includedir%g
20974 s%@oldincludedir@%$oldincludedir%g
20975 s%@infodir@%$infodir%g
20976 s%@mandir@%$mandir%g
20978 s%@host_alias@%$host_alias%g
20979 s%@host_cpu@%$host_cpu%g
20980 s%@host_vendor@%$host_vendor%g
20981 s%@host_os@%$host_os%g
20982 s%@target@%$target%g
20983 s%@target_alias@%$target_alias%g
20984 s%@target_cpu@%$target_cpu%g
20985 s%@target_vendor@%$target_vendor%g
20986 s%@target_os@%$target_os%g
20988 s%@build_alias@%$build_alias%g
20989 s%@build_cpu@%$build_cpu%g
20990 s%@build_vendor@%$build_vendor%g
20991 s%@build_os@%$build_os%g
20995 s%@RANLIB@%$RANLIB%g
20997 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
20998 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
20999 s%@INSTALL_DATA@%$INSTALL_DATA%g
21001 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
21004 s%@LEXLIB@%$LEXLIB%g
21006 s%@CXXCPP@%$CXXCPP%g
21007 s%@PKG_CONFIG@%$PKG_CONFIG%g
21008 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
21009 s%@GTK_LIBS@%$GTK_LIBS%g
21010 s%@GTK_CONFIG@%$GTK_CONFIG%g
21011 s%@X_CFLAGS@%$X_CFLAGS%g
21012 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
21013 s%@X_LIBS@%$X_LIBS%g
21014 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
21015 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
21016 s%@RESCOMP@%$RESCOMP%g
21018 s%@LIBICONV@%$LIBICONV%g
21019 s%@LEX_STEM@%$LEX_STEM%g
21020 s%@PATH_IFS@%$PATH_IFS%g
21021 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
21022 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
21023 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
21024 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
21025 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
21026 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
21027 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
21028 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
21029 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
21030 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
21031 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
21032 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
21033 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
21034 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
21035 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
21036 s%@WX_ALL@%$WX_ALL%g
21037 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
21038 s%@SHARED_LD@%$SHARED_LD%g
21039 s%@PIC_FLAG@%$PIC_FLAG%g
21040 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
21041 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
21042 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
21043 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
21044 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
21045 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
21046 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
21047 s%@USE_GUI@%$USE_GUI%g
21048 s%@AFMINSTALL@%$AFMINSTALL%g
21049 s%@TOOLKIT@%$TOOLKIT%g
21050 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
21051 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
21052 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
21053 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
21054 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
21055 s%@cross_compiling@%$cross_compiling%g
21056 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
21057 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
21058 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
21059 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
21060 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
21061 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
21062 s%@ALL_HEADERS@%$ALL_HEADERS%g
21063 s%@ALL_SOURCES@%$ALL_SOURCES%g
21064 s%@GUIDIST@%$GUIDIST%g
21065 s%@PORT_FILES@%$PORT_FILES%g
21066 s%@DISTDIR@%$DISTDIR%g
21067 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
21068 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
21069 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
21070 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
21071 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
21072 s%@EXTRADEFS@%$EXTRADEFS%g
21073 s%@RESFLAGS@%$RESFLAGS%g
21074 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
21075 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
21076 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
21077 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
21078 s%@LIBWXMACRES@%$LIBWXMACRES%g
21079 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
21080 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
21081 s%@DLLTOOL@%$DLLTOOL%g
21085 s%@MAKEINFO@%$MAKEINFO%g
21086 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
21087 s%@SET_MAKE@%$SET_MAKE%g
21088 s%@subdirs@%$subdirs%g
21093 cat >> $CONFIG_STATUS <<\EOF
21095 # Split the substitutions into bite-sized pieces for seds with
21096 # small command number limits, like on Digital OSF/1 and HP-UX.
21097 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
21098 ac_file
=1 # Number of current file.
21099 ac_beg
=1 # First line for current file.
21100 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
21103 while $ac_more_lines; do
21104 if test $ac_beg -gt 1; then
21105 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
21107 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
21109 if test ! -s conftest.s
$ac_file; then
21110 ac_more_lines
=false
21111 rm -f conftest.s
$ac_file
21113 if test -z "$ac_sed_cmds"; then
21114 ac_sed_cmds
="sed -f conftest.s$ac_file"
21116 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
21118 ac_file
=`expr $ac_file + 1`
21120 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
21123 if test -z "$ac_sed_cmds"; then
21128 cat >> $CONFIG_STATUS <<EOF
21130 CONFIG_FILES=\${CONFIG_FILES-"wx-config
21137 cat >> $CONFIG_STATUS <<\EOF
21138 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
21139 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21141 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
21142 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21143 *) ac_file_in
="${ac_file}.in" ;;
21146 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
21148 # Remove last slash and all that follows it. Not all systems have dirname.
21149 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21150 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
21151 # The file is in a subdirectory.
21152 test ! -d "$ac_dir" && mkdir "$ac_dir"
21153 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
21154 # A "../" for each directory in $ac_dir_suffix.
21155 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
21157 ac_dir_suffix
= ac_dots
=
21160 case "$ac_given_srcdir" in
21162 if test -z "$ac_dots"; then top_srcdir
=.
21163 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
21164 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
21165 *) # Relative path.
21166 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
21167 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
21170 case "$ac_given_INSTALL" in
21171 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
21172 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
21175 echo creating
"$ac_file"
21177 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
21179 *Makefile
*) ac_comsub
="1i\\
21180 # $configure_input" ;;
21184 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21186 s%@configure_input@%$configure_input%g
21187 s%@srcdir@%$srcdir%g
21188 s%@top_srcdir@%$top_srcdir%g
21189 s%@INSTALL@%$INSTALL%g
21190 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
21194 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21195 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21197 # ac_d sets the value in "#define NAME VALUE" lines.
21198 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21199 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
21202 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
21203 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21204 ac_uB
='\([ ]\)%\1#\2define\3'
21207 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21208 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21209 ac_eB
='$%\1#\2define\3'
21213 if test "${CONFIG_HEADERS+set}" != set; then
21215 cat >> $CONFIG_STATUS <<EOF
21216 CONFIG_HEADERS="setup.h:setup.h.in"
21218 cat >> $CONFIG_STATUS <<\EOF
21220 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
21221 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21223 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
21224 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21225 *) ac_file_in
="${ac_file}.in" ;;
21228 echo creating
$ac_file
21230 rm -f conftest.frag conftest.
in conftest.out
21231 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21232 cat $ac_file_inputs > conftest.
in
21236 # Transform confdefs.h into a sed script conftest.vals that substitutes
21237 # the proper values into config.h.in to produce config.h. And first:
21238 # Protect against being on the right side of a sed subst in config.status.
21239 # Protect against being in an unquoted here document in config.status.
21240 rm -f conftest.vals
21241 cat > conftest.hdr
<<\EOF
21244 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
21248 sed -n -f conftest.hdr confdefs.h > conftest.vals
21251 # This sed command replaces #undef with comments. This is necessary, for
21252 # example, in the case of _POSIX_SOURCE, which is predefined and required
21253 # on some systems where configure will not decide to define it.
21254 cat >> conftest.vals <<\EOF
21255 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
21258 # Break up conftest.vals because some shells have a limit on
21259 # the size of here documents, and old seds have small limits too.
21261 rm -f conftest.tail
21264 ac_lines=`grep -c . conftest.vals
`
21265 # grep -c gives empty output for an empty file on some AIX systems.
21266 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
21267 # Write a limited-size here document to conftest.frag.
21268 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
21269 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
21271 sed -f conftest.frag conftest.in > conftest.out
21273 mv conftest.out conftest.in
21274 ' >> $CONFIG_STATUS
21275 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
21276 rm -f conftest.vals
21277 mv conftest.tail conftest.vals
21279 rm -f conftest.vals
21281 cat >> $CONFIG_STATUS <<\EOF
21282 rm -f conftest.frag conftest.h
21283 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
21284 cat conftest.in >> conftest.h
21286 if cmp -s $ac_file conftest.h 2>/dev/null; then
21287 echo "$ac_file is unchanged"
21290 # Remove last slash and all that follows it. Not all systems have dirname.
21291 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21292 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21293 # The file is in a subdirectory.
21294 test ! -d "$ac_dir" && mkdir "$ac_dir"
21297 mv conftest.h $ac_file
21302 cat >> $CONFIG_STATUS <<EOF
21304 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
21309 cat >> $CONFIG_STATUS <<\EOF
21311 if test ! -h wx-config; then
21313 mv wx-config wx${TOOLCHAIN_NAME}-config
21314 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
21317 if test ! -d lib; then
21320 if test ! -d lib/wx; then
21323 if test ! -d lib/wx/include; then
21324 mkdir lib/wx/include
21326 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
21327 mkdir lib/wx/include/${TOOLCHAIN_NAME}
21329 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
21330 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
21332 if test -f setup.h; then
21333 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
21338 chmod +x $CONFIG_STATUS
21339 rm -fr confdefs* $ac_clean_files
21340 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21342 if test "$no_recursion" != yes; then
21344 # Remove --cache-file and --srcdir arguments so they do not pile up.
21345 ac_sub_configure_args=
21347 for ac_arg in $ac_configure_args; do
21348 if test -n "$ac_prev"; then
21353 -cache-file | --cache-file | --cache-fil | --cache-fi \
21354 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
21355 ac_prev=cache_file ;;
21356 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
21357 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
21359 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
21361 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
21363 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
21367 for ac_config_dir in demos samples utils contrib; do
21369 # Do not complain, so a configure script can configure whichever
21370 # parts of a large source tree are present.
21371 if test ! -d $srcdir/$ac_config_dir; then
21375 echo configuring in $ac_config_dir
21380 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
21382 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
21390 # A "../" for each directory in /$ac_config_dir.
21391 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
21394 .) # No --srcdir option. We are building in place.
21395 ac_sub_srcdir=$srcdir ;;
21396 /*) # Absolute path.
21397 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
21398 *) # Relative path.
21399 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
21402 # Check for guested configure; otherwise get Cygnus style configure.
21403 if test -f $ac_sub_srcdir/configure; then
21404 ac_sub_configure=$ac_sub_srcdir/configure
21405 elif test -f $ac_sub_srcdir/configure.in; then
21406 ac_sub_configure=$ac_configure
21408 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
21412 # The recursion is here.
21413 if test -n "$ac_sub_configure"; then
21415 # Make the cache file name correct relative to the subdirectory.
21416 case "$cache_file" in
21417 /*) ac_sub_cache_file=$cache_file ;;
21418 *) # Relative path.
21419 ac_sub_cache_file="$ac_dots$cache_file" ;;
21421 case "$ac_given_INSTALL" in
21422 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21423 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21426 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
21427 # The eval makes quoting arguments work.
21428 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
21431 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }