3 # From configure.in Id: configure.in
59 # Configure paths for GTK+
60 # Owen Taylor 1997-2001
64 # Configure paths for GTK+
69 # Guess values for system-dependent variables and create Makefiles.
70 # Generated automatically using autoconf version 2.13
71 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
73 # This configure script is free software; the Free Software Foundation
74 # gives unlimited permission to copy, distribute and modify it.
78 ac_default_prefix
=/usr
/local
79 # Any additions from configure.in:
81 --enable-gui use GUI classes"
83 --enable-universal use wxWindows GUI controls instead of native ones"
87 --with-motif use Motif/Lesstif"
89 --with-mac use Mac OS X"
93 --with-msw use MS-Windows"
95 --with-pm use OS/2 Presentation Manager"
97 --with-mgl use SciTech MGL"
99 --with-microwin use MicroWindows"
103 --enable-nanox use NanoX"
105 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
107 --with-libpng use libpng (PNG image format)"
109 --with-libjpeg use libjpeg (JPEG file format)"
111 --with-libtiff use libtiff (TIFF file format)"
113 --with-opengl use OpenGL (or Mesa)"
115 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
117 --with-regex enable support for wxRegEx class"
119 --with-zlib use zlib for LZW compression"
121 --with-odbc use the IODBC and wxODBC classes"
123 --enable-shared create shared library code"
125 --enable-soname set the DT_SONAME field in ELF shared libraries"
127 --enable-optimise create optimised code"
129 --enable-debug same as debug_flag and debug_info"
131 --enable-precomp enable use of precompiled headers (Mac OS X)"
133 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
135 --enable-debug_info create code with debugging information"
137 --enable-debug_gdb create code with extra GDB debugging information"
139 --enable-debug_cntxt use wxDebugContext"
141 --enable-mem_tracing create code with memory tracing"
143 --enable-profile create code with profiling information"
145 --enable-no_rtti create code without RTTI information"
147 --enable-no_exceptions create code without C++ exceptions handling"
149 --enable-permissive compile code disregarding strict ANSI"
151 --enable-no_deps create code without dependency information"
153 --enable-compat20 enable wxWindows 2.0 compatibility"
155 --disable-compat22 disable wxWindows 2.2 compatibility"
157 --enable-intl use internationalization system"
159 --enable-config use wxConfig (and derived) classes"
161 --enable-protocols use wxProtocol and derived classes"
163 --enable-ftp use wxFTP (requires wxProtocol"
165 --enable-http use wxHTTP (requires wxProtocol"
167 --enable-fileproto use wxFileProto class (requires wxProtocol"
169 --enable-sockets use socket/network classes"
171 --enable-ipc use interprocess communication (wxSocket etc.)"
173 --enable-cmdline use wxCmdLineParser class"
175 --enable-datetime use wxDateTime class"
177 --enable-timedate use obsolete wxDate/wxTime classes"
179 --enable-stopwatch use wxStopWatch class"
181 --enable-dialupman use dialup network classes"
183 --enable-apple_ieee use the Apple IEEE codec"
185 --enable-timer use wxTimer class"
187 --enable-wave use wxWave class"
189 --enable-fraction use wxFraction class"
191 --enable-dynlib use wxLibrary class for DLL loading"
193 --enable-dynamicloader use (new) wxDynamicLibrary class"
195 --enable-longlong use wxLongLong class"
197 --enable-geometry use geometry class"
199 --enable-log use logging system"
201 --enable-streams use wxStream etc classes"
203 --enable-file use wxFile classes"
205 --enable-ffile use wxFFile classes"
207 --enable-textbuf use wxTextBuffer class"
209 --enable-textfile use wxTextFile class"
211 --enable-fontmap use font encodings conversion classes"
213 --enable-unicode compile wxString with Unicode support"
215 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
217 --enable-wxprintfv use wxWindows implementation of vprintf()"
219 --enable-std_iostreams use standard C++ stream classes"
221 --enable-filesystem use virtual file systems classes"
223 --enable-fs_inet use virtual HTTP/FTP filesystems"
225 --enable-fs_zip use virtual ZIP filesystems"
227 --enable-zipstream use wxZipInputStream"
229 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
231 --enable-snglinst use wxSingleInstanceChecker class"
233 --enable-mimetype use wxMimeTypesManager"
235 --enable-sysoptions use wxSystemOptions"
237 --enable-url use wxURL class"
239 --enable-protocol use wxProtocol class"
241 --enable-protocol-http HTTP support in wxProtocol"
243 --enable-protocol-ftp FTP support in wxProtocol"
245 --enable-protocol-file FILE support in wxProtocol"
247 --enable-threads use threads"
249 --enable-docview use document view architecture"
251 --enable-help use help subsystem"
253 --enable-mshtmlhelp use MS HTML Help (win32)"
255 --enable-html use wxHTML sub-library"
257 --enable-htmlhelp use wxHTML-based help"
259 --enable-constraints use layout-constraints system"
261 --enable-printarch use printing architecture"
263 --enable-mdi use multiple document interface architecture"
265 --enable-loggui use standard GUI logger"
267 --enable-logwin use wxLogWindow"
269 --enable-logdialog use wxLogDialog"
271 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
273 --enable-prologio use Prolog IO library"
275 --enable-resources use wxWindows resources"
277 --enable-xresources use X resources for save (default for gtk+)"
279 --enable-clipboard use wxClipboard classes"
281 --enable-dnd use Drag'n'Drop classes"
283 --enable-metafile use win32 metafiles"
285 --enable-treelayout use wxTreeLayout classes"
287 --enable-controls use all usual controls"
289 --enable-accel use accelerators"
291 --enable-button use wxButton class"
293 --enable-bmpbutton use wxBitmapButton class"
295 --enable-calendar use wxCalendarCtrl class"
297 --enable-caret use wxCaret class"
299 --enable-checkbox use wxCheckBox class"
301 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
303 --enable-choice use wxChoice class"
305 --enable-combobox use wxComboBox classes"
307 --enable-gauge use wxGauge class"
309 --enable-grid use wxGrid class"
311 --enable-newgrid use new wxGrid class"
313 --enable-imaglist use wxImageList class"
315 --enable-listbox use wxListBox class"
317 --enable-listctrl use wxListCtrl class"
319 --enable-notebook use wxNotebook class"
321 --enable-propsheet use wxPropertySheet class"
323 --enable-radiobox use wxRadioBox class"
325 --enable-radiobtn use wxRadioButton class"
327 --enable-sash use wxSashWindow class"
329 --enable-scrollbar use wxScrollBar class and scrollable windows"
331 --enable-slider use wxSlider class"
333 --enable-spinbtn use wxSpinButton class"
335 --enable-spinctrl use wxSpinCtrl class"
337 --enable-splitter use wxSplitterWindow class"
339 --enable-statbmp use wxStaticBitmap class"
341 --enable-statbox use wxStaticBox class"
343 --enable-statline use wxStaticLine class"
345 --enable-stattext use wxStaticText class"
347 --enable-statusbar use wxStatusBar class"
349 --enable-tabdialog use wxTabControl class"
351 --enable-textctrl use wxTextCtrl class"
353 --enable-togglebtn use wxToggleButton class"
355 --enable-toolbar use wxToolBar class"
357 --enable-tbarnative use native wxToolBar class"
359 --enable-tbarsmpl use wxToolBarSimple class"
361 --enable-treectrl use wxTreeCtrl class"
363 --enable-tipwindow use wxTipWindow class"
365 --enable-popupwin use wxPopUpWindow class"
367 --enable-commondlg use all common dialogs"
369 --enable-choicedlg use wxChoiceDialog"
371 --enable-coldlg use wxColourDialog"
373 --enable-filedlg use wxFileDialog"
375 --enable-finddlg use wxFindReplaceDialog"
377 --enable-fontdlg use wxFontDialog"
379 --enable-dirdlg use wxDirDialog"
381 --enable-msgdlg use wxMessageDialog"
383 --enable-numberdlg use wxNumberEntryDialog"
385 --enable-splash use wxSplashScreen"
387 --enable-textdlg use wxTextDialog"
389 --enable-tipdlg use startup tips"
391 --enable-progressdlg use wxProgressDialog"
393 --enable-wizarddlg use wxWizard"
395 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
397 --enable-miniframe use wxMiniFrame class"
399 --enable-tooltips use wxToolTip class"
401 --enable-splines use spline drawing code"
403 --enable-validators use wxValidator and derived classes"
405 --enable-busyinfo use wxBusyInfo"
407 --enable-joystick use wxJoystick (Linux only)"
409 --enable-metafiles use wxMetaFile (Windows only)"
411 --enable-dragimage use wxDragImage"
413 --enable-palette use wxPalette class"
415 --enable-image use wxImage class"
417 --enable-gif use gif images (GIF file format)"
419 --enable-pcx use pcx images (PCX file format)"
421 --enable-iff use iff images (IFF file format)"
423 --enable-pnm use pnm images (PNM file format)"
425 --enable-xpm use xpm images (XPM file format)"
427 --enable-icocur use Windows ICO and CUR formats"
429 --disable-largefile omit support for large files"
431 --disable-gtktest do not try to compile and run a test GTK+ program"
433 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
435 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
437 --disable-gtktest Do not try to compile and run a test GTK program"
439 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
441 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
443 --disable-gtktest Do not try to compile and run a test GTK program"
445 --with-x use the X Window System"
447 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
449 # Initialize some variables set by options.
450 # The variables have the same names as the options, with
451 # dashes changed to underlines.
453 cache_file
=.
/config.cache
462 program_transform_name
=s
,x
,x
,
470 bindir
='${exec_prefix}/bin'
471 sbindir
='${exec_prefix}/sbin'
472 libexecdir
='${exec_prefix}/libexec'
473 datadir
='${prefix}/share'
474 sysconfdir
='${prefix}/etc'
475 sharedstatedir
='${prefix}/com'
476 localstatedir
='${prefix}/var'
477 libdir
='${exec_prefix}/lib'
478 includedir
='${prefix}/include'
479 oldincludedir
='/usr/include'
480 infodir
='${prefix}/info'
481 mandir
='${prefix}/man'
483 # Initialize some other variables.
486 SHELL
=${CONFIG_SHELL-/bin/sh}
487 # Maximum number of lines to put in a shell here document.
494 # If the previous option needs an argument, assign it.
495 if test -n "$ac_prev"; then
496 eval "$ac_prev=\$ac_option"
502 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
506 # Accept the important Cygnus configure options, so we can diagnose typos.
510 -bindir | --bindir | --bindi | --bind | --bin | --bi)
512 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
513 bindir
="$ac_optarg" ;;
515 -build | --build | --buil | --bui | --bu)
517 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
518 build
="$ac_optarg" ;;
520 -cache-file | --cache-file | --cache-fil | --cache-fi \
521 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
522 ac_prev
=cache_file
;;
523 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
524 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
525 cache_file
="$ac_optarg" ;;
527 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
529 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
531 datadir
="$ac_optarg" ;;
533 -disable-* | --disable-*)
534 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
535 # Reject names that are not valid shell variable names.
536 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
537 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
539 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
540 eval "enable_${ac_feature}=no" ;;
542 -enable-* | --enable-*)
543 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
544 # Reject names that are not valid shell variable names.
545 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
546 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
548 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
553 eval "enable_${ac_feature}='$ac_optarg'" ;;
555 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
556 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
557 | --exec | --exe | --ex)
558 ac_prev
=exec_prefix
;;
559 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
560 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
561 | --exec=* | --exe=* | --ex=*)
562 exec_prefix
="$ac_optarg" ;;
564 -gas | --gas | --ga | --g)
565 # Obsolete; use --with-gas.
568 -help | --help | --hel | --he)
569 # Omit some internal or obsolete options to make the list less imposing.
570 # This message is too long to be a string in the A/UX 3.1 sh.
572 Usage: configure [options] [host]
573 Options: [defaults in brackets after descriptions]
575 --cache-file=FILE cache test results in FILE
576 --help print this message
577 --no-create do not create output files
578 --quiet, --silent do not print \`checking...' messages
579 --version print the version of autoconf that created configure
580 Directory and file names:
581 --prefix=PREFIX install architecture-independent files in PREFIX
583 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
585 --bindir=DIR user executables in DIR [EPREFIX/bin]
586 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
587 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
588 --datadir=DIR read-only architecture-independent data in DIR
590 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
591 --sharedstatedir=DIR modifiable architecture-independent data in DIR
593 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
594 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
595 --includedir=DIR C header files in DIR [PREFIX/include]
596 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
597 --infodir=DIR info documentation in DIR [PREFIX/info]
598 --mandir=DIR man documentation in DIR [PREFIX/man]
599 --srcdir=DIR find the sources in DIR [configure dir or ..]
600 --program-prefix=PREFIX prepend PREFIX to installed program names
601 --program-suffix=SUFFIX append SUFFIX to installed program names
602 --program-transform-name=PROGRAM
603 run sed PROGRAM on installed program names
607 --build=BUILD configure for building on BUILD [BUILD=HOST]
608 --host=HOST configure for HOST [guessed]
609 --target=TARGET configure for TARGET [TARGET=HOST]
610 Features and packages:
611 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
612 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
613 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
614 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
615 --x-includes=DIR X include files are in DIR
616 --x-libraries=DIR X library files are in DIR
618 if test -n "$ac_help"; then
619 echo "--enable and --with options recognized:$ac_help"
623 -host | --host | --hos | --ho)
625 -host=* | --host=* | --hos=* | --ho=*)
628 -includedir | --includedir | --includedi | --included | --include \
629 | --includ | --inclu | --incl | --inc)
630 ac_prev
=includedir
;;
631 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
632 | --includ=* | --inclu=* | --incl=* | --inc=*)
633 includedir
="$ac_optarg" ;;
635 -infodir | --infodir | --infodi | --infod | --info | --inf)
637 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
638 infodir
="$ac_optarg" ;;
640 -libdir | --libdir | --libdi | --libd)
642 -libdir=* | --libdir=* | --libdi=* | --libd=*)
643 libdir
="$ac_optarg" ;;
645 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
646 | --libexe | --libex | --libe)
647 ac_prev
=libexecdir
;;
648 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
649 | --libexe=* | --libex=* | --libe=*)
650 libexecdir
="$ac_optarg" ;;
652 -localstatedir | --localstatedir | --localstatedi | --localstated \
653 | --localstate | --localstat | --localsta | --localst \
654 | --locals | --local | --loca | --loc | --lo)
655 ac_prev
=localstatedir
;;
656 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
657 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
658 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
659 localstatedir
="$ac_optarg" ;;
661 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
663 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
664 mandir
="$ac_optarg" ;;
667 # Obsolete; use --without-fp.
670 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
674 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
675 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
678 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
679 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
680 | --oldin | --oldi | --old | --ol | --o)
681 ac_prev
=oldincludedir
;;
682 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
683 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
684 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
685 oldincludedir
="$ac_optarg" ;;
687 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
689 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
690 prefix
="$ac_optarg" ;;
692 -program-prefix | --program-prefix | --program-prefi | --program-pref \
693 | --program-pre | --program-pr | --program-p)
694 ac_prev
=program_prefix
;;
695 -program-prefix=* | --program-prefix=* | --program-prefi=* \
696 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
697 program_prefix
="$ac_optarg" ;;
699 -program-suffix | --program-suffix | --program-suffi | --program-suff \
700 | --program-suf | --program-su | --program-s)
701 ac_prev
=program_suffix
;;
702 -program-suffix=* | --program-suffix=* | --program-suffi=* \
703 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
704 program_suffix
="$ac_optarg" ;;
706 -program-transform-name | --program-transform-name \
707 | --program-transform-nam | --program-transform-na \
708 | --program-transform-n | --program-transform- \
709 | --program-transform | --program-transfor \
710 | --program-transfo | --program-transf \
711 | --program-trans | --program-tran \
712 | --progr-tra | --program-tr | --program-t)
713 ac_prev
=program_transform_name
;;
714 -program-transform-name=* | --program-transform-name=* \
715 | --program-transform-nam=* | --program-transform-na=* \
716 | --program-transform-n=* | --program-transform-=* \
717 | --program-transform=* | --program-transfor=* \
718 | --program-transfo=* | --program-transf=* \
719 | --program-trans=* | --program-tran=* \
720 | --progr-tra=* | --program-tr=* | --program-t=*)
721 program_transform_name
="$ac_optarg" ;;
723 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
724 | -silent | --silent | --silen | --sile | --sil)
727 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
729 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
731 sbindir
="$ac_optarg" ;;
733 -sharedstatedir | --sharedstatedir | --sharedstatedi \
734 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
735 | --sharedst | --shareds | --shared | --share | --shar \
737 ac_prev
=sharedstatedir
;;
738 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
739 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
740 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
742 sharedstatedir
="$ac_optarg" ;;
744 -site | --site | --sit)
746 -site=* | --site=* | --sit=*)
749 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
751 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
752 srcdir
="$ac_optarg" ;;
754 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
755 | --syscon | --sysco | --sysc | --sys | --sy)
756 ac_prev
=sysconfdir
;;
757 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
758 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
759 sysconfdir
="$ac_optarg" ;;
761 -target | --target | --targe | --targ | --tar | --ta | --t)
763 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
764 target
="$ac_optarg" ;;
766 -v | -verbose | --verbose | --verbos | --verbo | --verb)
769 -version | --version | --versio | --versi | --vers)
770 echo "configure generated by autoconf version 2.13"
774 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
775 # Reject names that are not valid shell variable names.
776 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
777 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
779 ac_package
=`echo $ac_package| sed 's/-/_/g'`
784 eval "with_${ac_package}='$ac_optarg'" ;;
786 -without-* | --without-*)
787 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
788 # Reject names that are not valid shell variable names.
789 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
790 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
792 ac_package
=`echo $ac_package| sed 's/-/_/g'`
793 eval "with_${ac_package}=no" ;;
796 # Obsolete; use --with-x.
799 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
800 | --x-incl | --x-inc | --x-in | --x-i)
801 ac_prev
=x_includes
;;
802 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
803 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
804 x_includes
="$ac_optarg" ;;
806 -x-libraries | --x-libraries | --x-librarie | --x-librari \
807 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
808 ac_prev
=x_libraries
;;
809 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
810 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
811 x_libraries
="$ac_optarg" ;;
813 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
817 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
818 echo "configure: warning: $ac_option: invalid host type" 1>&2
820 if test "x$nonopt" != xNONE
; then
821 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
829 if test -n "$ac_prev"; then
830 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
833 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
835 # File descriptor usage:
838 # 2 errors and warnings
839 # 3 some systems may open it to /dev/tty
840 # 4 used on the Kubota Titan
841 # 6 checking for... messages and results
842 # 5 compiler messages saved in config.log
843 if test "$silent" = yes; then
851 This file contains any messages produced by compilers while
852 running configure, to aid debugging if configure makes a mistake.
855 # Strip out --no-create and --no-recursion so they do not pile up.
856 # Also quote any args containing shell metacharacters.
861 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
862 | --no-cr | --no-c) ;;
863 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
864 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
865 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
866 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
867 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
872 # Only set these to C if already set. These must not be set unconditionally
873 # because not all systems understand e.g. LANG=C (notably SCO).
874 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
875 # Non-C LC_CTYPE values break the ctype check.
876 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
877 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
878 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
879 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
881 # confdefs.h avoids OS command line length limits that DEFS can exceed.
882 rm -rf conftest
* confdefs.h
883 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
886 # A filename unique to this package, relative to the directory that
887 # configure is in, which we can look for to find out if srcdir is correct.
888 ac_unique_file
=wx
-config.
in
890 # Find the source files, if location was not specified.
891 if test -z "$srcdir"; then
892 ac_srcdir_defaulted
=yes
893 # Try the directory containing this script, then its parent.
895 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
896 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
898 if test ! -r $srcdir/$ac_unique_file; then
902 ac_srcdir_defaulted
=no
904 if test ! -r $srcdir/$ac_unique_file; then
905 if test "$ac_srcdir_defaulted" = yes; then
906 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
908 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
911 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
913 # Prefer explicitly selected file to automatically selected ones.
914 if test -z "$CONFIG_SITE"; then
915 if test "x$prefix" != xNONE
; then
916 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
918 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
921 for ac_site_file
in $CONFIG_SITE; do
922 if test -r "$ac_site_file"; then
923 echo "loading site script $ac_site_file"
928 if test -r "$cache_file"; then
929 echo "loading cache $cache_file"
932 echo "creating cache $cache_file"
937 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
938 ac_cpp
='$CPP $CPPFLAGS'
939 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
940 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
941 cross_compiling
=$ac_cv_prog_cc_cross
945 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
946 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
947 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
954 ac_n
= ac_c
='\c' ac_t
=
960 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
961 if test -f $ac_dir/install-sh; then
963 ac_install_sh
="$ac_aux_dir/install-sh -c"
965 elif test -f $ac_dir/install.sh
; then
967 ac_install_sh
="$ac_aux_dir/install.sh -c"
971 if test -z "$ac_aux_dir"; then
972 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
974 ac_config_guess
=$ac_aux_dir/config.guess
975 ac_config_sub
=$ac_aux_dir/config.sub
976 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
979 # Do some error checking and defaulting for the host and target type.
981 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
984 # 1. You are not allowed to specify --host, --target, and nonopt at the
986 # 2. Host defaults to nonopt.
987 # 3. If nonopt is not specified, then host defaults to the current host,
988 # as determined by config.guess.
989 # 4. Target and build default to nonopt.
990 # 5. If nonopt is not specified, then target and build default to host.
992 # The aliases save the names the user supplied, while $host etc.
993 # will get canonicalized.
994 case $host---$target---$nonopt in
995 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
996 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1000 # Make sure we can run config.sub.
1001 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1002 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1005 echo $ac_n "checking host system type""... $ac_c" 1>&6
1006 echo "configure:1007: checking host system type" >&5
1009 case "$host_alias" in
1013 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1014 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1016 *) host_alias
=$nonopt ;;
1020 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1021 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1022 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1023 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1024 echo "$ac_t""$host" 1>&6
1026 echo $ac_n "checking target system type""... $ac_c" 1>&6
1027 echo "configure:1028: checking target system type" >&5
1029 target_alias
=$target
1030 case "$target_alias" in
1033 NONE
) target_alias
=$host_alias ;;
1034 *) target_alias
=$nonopt ;;
1038 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1039 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1040 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1041 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1042 echo "$ac_t""$target" 1>&6
1044 echo $ac_n "checking build system type""... $ac_c" 1>&6
1045 echo "configure:1046: checking build system type" >&5
1048 case "$build_alias" in
1051 NONE
) build_alias
=$host_alias ;;
1052 *) build_alias
=$nonopt ;;
1056 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1057 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1058 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1059 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1060 echo "$ac_t""$build" 1>&6
1062 test "$host_alias" != "$target_alias" &&
1063 test "$program_prefix$program_suffix$program_transform_name" = \
1065 program_prefix
=${target_alias}-
1069 WX_MAJOR_VERSION_NUMBER
=2
1070 WX_MINOR_VERSION_NUMBER
=3
1073 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1074 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1076 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1110 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1112 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM WINE X11"
1117 DEFAULT_wxUSE_MICROWIN
=0
1118 DEFAULT_wxUSE_MOTIF
=0
1121 DEFAULT_wxUSE_WINE
=0
1124 DEFAULT_DEFAULT_wxUSE_GTK
=0
1125 DEFAULT_DEFAULT_wxUSE_MAC
=0
1126 DEFAULT_DEFAULT_wxUSE_MGL
=0
1127 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1128 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1129 DEFAULT_DEFAULT_wxUSE_MSW
=0
1130 DEFAULT_DEFAULT_wxUSE_PM
=0
1131 DEFAULT_DEFAULT_wxUSE_WINE
=0
1132 DEFAULT_DEFAULT_wxUSE_X11
=0
1140 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1141 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1143 cat >> confdefs.h
<<\EOF
1150 cat >> confdefs.h
<<\EOF
1155 if test "x$TMP" = "xalpha"; then
1157 cat >> confdefs.h
<<\EOF
1162 DEFAULT_DEFAULT_wxUSE_GTK
=1
1164 *-*-irix5* | *-*-irix6* )
1167 cat >> confdefs.h
<<\EOF
1171 cat >> confdefs.h
<<\EOF
1175 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1181 cat >> confdefs.h
<<\EOF
1185 cat >> confdefs.h
<<\EOF
1186 #define __SOLARIS__ 1
1189 cat >> confdefs.h
<<\EOF
1193 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1194 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1200 cat >> confdefs.h
<<\EOF
1204 cat >> confdefs.h
<<\EOF
1208 cat >> confdefs.h
<<\EOF
1212 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1217 cat >> confdefs.h
<<\EOF
1218 #define __FREEBSD__ 1
1221 cat >> confdefs.h
<<\EOF
1225 DEFAULT_DEFAULT_wxUSE_GTK
=1
1230 cat >> confdefs.h
<<\EOF
1231 #define __FREEBSD__ 1
1234 cat >> confdefs.h
<<\EOF
1235 #define __OPENBSD__ 1
1238 DEFAULT_DEFAULT_wxUSE_GTK
=1
1243 cat >> confdefs.h
<<\EOF
1244 #define __FREEBSD__ 1
1247 cat >> confdefs.h
<<\EOF
1248 #define __NETBSD__ 1
1251 DEFAULT_DEFAULT_wxUSE_GTK
=1
1256 cat >> confdefs.h
<<\EOF
1260 cat >> confdefs.h
<<\EOF
1264 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1265 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1270 cat >> confdefs.h
<<\EOF
1274 cat >> confdefs.h
<<\EOF
1278 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1283 cat >> confdefs.h
<<\EOF
1287 cat >> confdefs.h
<<\EOF
1291 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1298 cat >> confdefs.h
<<\EOF
1302 cat >> confdefs.h
<<\EOF
1306 cat >> confdefs.h
<<\EOF
1310 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1313 *-*-cygwin* | *-*-mingw32* )
1317 DEFAULT_DEFAULT_wxUSE_MSW
=1
1323 cat >> confdefs.h
<<\EOF
1328 DEFAULT_DEFAULT_wxUSE_MGL
=1
1331 *-pc-os2_emx | *-pc-os2-emx )
1332 cat >> confdefs.h
<<\EOF
1337 DEFAULT_DEFAULT_wxUSE_PM
=1
1338 LIBS
="$LIBS -lstdcpp"
1345 cat >> confdefs.h
<<\EOF
1349 cat >> confdefs.h
<<\EOF
1350 #define __DARWIN__ 1
1353 cat >> confdefs.h
<<\EOF
1354 #define __POWERPC__ 1
1357 DEFAULT_DEFAULT_wxUSE_MAC
=1
1362 cat >> confdefs.h
<<\EOF
1369 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1375 wx_arg_cache_file
="configarg.cache"
1376 echo "loading argument cache $wx_arg_cache_file"
1377 rm -f ${wx_arg_cache_file}.tmp
1378 touch ${wx_arg_cache_file}.tmp
1379 touch ${wx_arg_cache_file}
1383 if test $DEBUG_CONFIGURE = 1; then
1384 DEFAULT_wxUSE_UNIVERSAL
=no
1386 DEFAULT_wxUSE_NANOX
=no
1388 DEFAULT_wxUSE_THREADS
=yes
1390 DEFAULT_wxUSE_SHARED
=yes
1391 DEFAULT_wxUSE_SONAME
=no
1392 DEFAULT_wxUSE_OPTIMISE
=no
1393 DEFAULT_wxUSE_PROFILE
=no
1394 DEFAULT_wxUSE_NO_DEPS
=no
1395 DEFAULT_wxUSE_NO_RTTI
=no
1396 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1397 DEFAULT_wxUSE_PERMISSIVE
=no
1398 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1399 DEFAULT_wxUSE_DEBUG_INFO
=yes
1400 DEFAULT_wxUSE_DEBUG_GDB
=yes
1401 DEFAULT_wxUSE_MEM_TRACING
=no
1402 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1403 DEFAULT_wxUSE_DMALLOC
=no
1404 DEFAULT_wxUSE_PRECOMP
=no
1405 DEFAULT_wxUSE_APPLE_IEEE
=no
1407 DEFAULT_wxUSE_LOG
=yes
1408 DEFAULT_wxUSE_LOGWINDOW
=no
1409 DEFAULT_wxUSE_LOGGUI
=no
1410 DEFAULT_wxUSE_LOGDIALOG
=no
1412 DEFAULT_wxUSE_GUI
=yes
1413 DEFAULT_wxUSE_CONTROLS
=no
1415 DEFAULT_wxUSE_REGEX
=no
1416 DEFAULT_wxUSE_ZLIB
=no
1417 DEFAULT_wxUSE_LIBPNG
=no
1418 DEFAULT_wxUSE_LIBJPEG
=no
1419 DEFAULT_wxUSE_LIBTIFF
=no
1420 DEFAULT_wxUSE_ODBC
=no
1421 DEFAULT_wxUSE_OPENGL
=no
1423 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1424 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1425 DEFAULT_wxUSE_STD_IOSTREAM
=no
1426 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1427 DEFAULT_wxUSE_DATETIME
=no
1428 DEFAULT_wxUSE_TIMEDATE
=no
1429 DEFAULT_wxUSE_TIMER
=no
1430 DEFAULT_wxUSE_STOPWATCH
=no
1431 DEFAULT_wxUSE_FILE
=no
1432 DEFAULT_wxUSE_FFILE
=no
1433 DEFAULT_wxUSE_TEXTBUFFER
=no
1434 DEFAULT_wxUSE_TEXTFILE
=no
1435 DEFAULT_wxUSE_WAVE
=no
1436 DEFAULT_wxUSE_INTL
=no
1437 DEFAULT_wxUSE_CONFIG
=no
1438 DEFAULT_wxUSE_FONTMAP
=no
1439 DEFAULT_wxUSE_STREAMS
=no
1440 DEFAULT_wxUSE_SOCKETS
=no
1441 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1442 DEFAULT_wxUSE_JOYSTICK
=no
1443 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1444 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1445 DEFAULT_wxUSE_LONGLONG
=no
1446 DEFAULT_wxUSE_GEOMETRY
=no
1448 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1449 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1450 DEFAULT_wxUSE_POSTSCRIPT
=no
1452 DEFAULT_wxUSE_X_RESOURCES
=no
1453 DEFAULT_wxUSE_CLIPBOARD
=no
1454 DEFAULT_wxUSE_TOOLTIPS
=no
1455 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1456 DEFAULT_wxUSE_DRAGIMAGE
=no
1457 DEFAULT_wxUSE_SPLINES
=no
1459 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1460 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1461 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1463 DEFAULT_wxUSE_PROLOGIO
=no
1464 DEFAULT_wxUSE_RESOURCES
=no
1465 DEFAULT_wxUSE_CONSTRAINTS
=no
1466 DEFAULT_wxUSE_IPC
=no
1467 DEFAULT_wxUSE_HELP
=no
1468 DEFAULT_wxUSE_MS_HTML_HELP
=no
1469 DEFAULT_wxUSE_WXHTML_HELP
=no
1470 DEFAULT_wxUSE_TREELAYOUT
=no
1471 DEFAULT_wxUSE_METAFILE
=no
1472 DEFAULT_wxUSE_MIMETYPE
=no
1473 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1474 DEFAULT_wxUSE_PROTOCOL
=no
1475 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1476 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1477 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1478 DEFAULT_wxUSE_URL
=no
1480 DEFAULT_wxUSE_COMMONDLGS
=no
1481 DEFAULT_wxUSE_CHOICEDLG
=no
1482 DEFAULT_wxUSE_COLOURDLG
=no
1483 DEFAULT_wxUSE_DIRDLG
=no
1484 DEFAULT_wxUSE_FILEDLG
=no
1485 DEFAULT_wxUSE_FINDREPLDLG
=no
1486 DEFAULT_wxUSE_FONTDLG
=no
1487 DEFAULT_wxUSE_MSGDLG
=no
1488 DEFAULT_wxUSE_NUMBERDLG
=no
1489 DEFAULT_wxUSE_TEXTDLG
=no
1490 DEFAULT_wxUSE_SPLASH
=no
1491 DEFAULT_wxUSE_STARTUP_TIPS
=no
1492 DEFAULT_wxUSE_PROGRESSDLG
=no
1493 DEFAULT_wxUSE_WIZARDDLG
=no
1495 DEFAULT_wxUSE_MENUS
=no
1496 DEFAULT_wxUSE_MINIFRAME
=no
1497 DEFAULT_wxUSE_HTML
=no
1498 DEFAULT_wxUSE_FILESYSTEM
=no
1499 DEFAULT_wxUSE_FS_INET
=no
1500 DEFAULT_wxUSE_FS_ZIP
=no
1501 DEFAULT_wxUSE_BUSYINFO
=no
1502 DEFAULT_wxUSE_ZIPSTREAM
=no
1503 DEFAULT_wxUSE_VALIDATORS
=no
1505 DEFAULT_wxUSE_ACCEL
=no
1506 DEFAULT_wxUSE_BUTTON
=no
1507 DEFAULT_wxUSE_BMPBUTTON
=no
1508 DEFAULT_wxUSE_CALCTRL
=no
1509 DEFAULT_wxUSE_CARET
=no
1510 DEFAULT_wxUSE_CHECKBOX
=no
1511 DEFAULT_wxUSE_CHECKLST
=no
1512 DEFAULT_wxUSE_CHOICE
=no
1513 DEFAULT_wxUSE_COMBOBOX
=no
1514 DEFAULT_wxUSE_GAUGE
=no
1515 DEFAULT_wxUSE_GRID
=no
1516 DEFAULT_wxUSE_NEW_GRID
=no
1517 DEFAULT_wxUSE_IMAGLIST
=no
1518 DEFAULT_wxUSE_LISTBOX
=no
1519 DEFAULT_wxUSE_LISTCTRL
=no
1520 DEFAULT_wxUSE_NOTEBOOK
=no
1521 DEFAULT_wxUSE_PROPSHEET
=no
1522 DEFAULT_wxUSE_RADIOBOX
=no
1523 DEFAULT_wxUSE_RADIOBTN
=no
1524 DEFAULT_wxUSE_SASH
=no
1525 DEFAULT_wxUSE_SCROLLBAR
=no
1526 DEFAULT_wxUSE_SLIDER
=no
1527 DEFAULT_wxUSE_SPINBTN
=no
1528 DEFAULT_wxUSE_SPINCTRL
=no
1529 DEFAULT_wxUSE_SPLITTER
=no
1530 DEFAULT_wxUSE_STATBMP
=no
1531 DEFAULT_wxUSE_STATBOX
=no
1532 DEFAULT_wxUSE_STATLINE
=no
1533 DEFAULT_wxUSE_STATTEXT
=no
1534 DEFAULT_wxUSE_STATUSBAR
=yes
1535 DEFAULT_wxUSE_TABDIALOG
=no
1536 DEFAULT_wxUSE_TEXTCTRL
=no
1537 DEFAULT_wxUSE_TOGGLEBTN
=no
1538 DEFAULT_wxUSE_TOOLBAR
=no
1539 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1540 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1541 DEFAULT_wxUSE_TREECTRL
=no
1542 DEFAULT_wxUSE_POPUPWIN
=no
1543 DEFAULT_wxUSE_TIPWINDOW
=no
1545 DEFAULT_wxUSE_UNICODE
=no
1546 DEFAULT_wxUSE_UNICODE_MSLU
=no
1547 DEFAULT_wxUSE_WCSRTOMBS
=no
1549 DEFAULT_wxUSE_PALETTE
=no
1550 DEFAULT_wxUSE_IMAGE
=no
1551 DEFAULT_wxUSE_GIF
=no
1552 DEFAULT_wxUSE_PCX
=no
1553 DEFAULT_wxUSE_PNM
=no
1554 DEFAULT_wxUSE_IFF
=no
1555 DEFAULT_wxUSE_XPM
=no
1556 DEFAULT_wxUSE_ICO_CUR
=no
1558 DEFAULT_wxUSE_UNIVERSAL
=no
1560 DEFAULT_wxUSE_NANOX
=no
1562 DEFAULT_wxUSE_THREADS
=yes
1564 DEFAULT_wxUSE_SHARED
=yes
1565 DEFAULT_wxUSE_SONAME
=no
1566 DEFAULT_wxUSE_OPTIMISE
=yes
1567 DEFAULT_wxUSE_PROFILE
=no
1568 DEFAULT_wxUSE_NO_DEPS
=no
1569 DEFAULT_wxUSE_NO_RTTI
=no
1570 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1571 DEFAULT_wxUSE_PERMISSIVE
=no
1572 DEFAULT_wxUSE_DEBUG_FLAG
=no
1573 DEFAULT_wxUSE_DEBUG_INFO
=no
1574 DEFAULT_wxUSE_DEBUG_GDB
=no
1575 DEFAULT_wxUSE_MEM_TRACING
=no
1576 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1577 DEFAULT_wxUSE_DMALLOC
=no
1578 DEFAULT_wxUSE_PRECOMP
=no
1579 DEFAULT_wxUSE_APPLE_IEEE
=yes
1581 DEFAULT_wxUSE_LOG
=yes
1582 DEFAULT_wxUSE_LOGWINDOW
=yes
1583 DEFAULT_wxUSE_LOGGUI
=yes
1584 DEFAULT_wxUSE_LOGDIALOG
=yes
1586 DEFAULT_wxUSE_GUI
=yes
1588 DEFAULT_wxUSE_REGEX
=yes
1589 DEFAULT_wxUSE_ZLIB
=yes
1590 DEFAULT_wxUSE_LIBPNG
=yes
1591 DEFAULT_wxUSE_LIBJPEG
=yes
1592 DEFAULT_wxUSE_LIBTIFF
=yes
1593 DEFAULT_wxUSE_ODBC
=no
1594 DEFAULT_wxUSE_OPENGL
=no
1596 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1597 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1598 DEFAULT_wxUSE_STD_IOSTREAM
=no
1599 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1600 DEFAULT_wxUSE_DATETIME
=yes
1601 DEFAULT_wxUSE_TIMEDATE
=no
1602 DEFAULT_wxUSE_TIMER
=yes
1603 DEFAULT_wxUSE_STOPWATCH
=yes
1604 DEFAULT_wxUSE_FILE
=yes
1605 DEFAULT_wxUSE_FFILE
=yes
1606 DEFAULT_wxUSE_TEXTBUFFER
=yes
1607 DEFAULT_wxUSE_TEXTFILE
=yes
1608 DEFAULT_wxUSE_WAVE
=no
1609 DEFAULT_wxUSE_INTL
=yes
1610 DEFAULT_wxUSE_CONFIG
=yes
1611 DEFAULT_wxUSE_FONTMAP
=yes
1612 DEFAULT_wxUSE_STREAMS
=yes
1613 DEFAULT_wxUSE_SOCKETS
=yes
1614 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1615 DEFAULT_wxUSE_JOYSTICK
=yes
1616 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1617 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1618 DEFAULT_wxUSE_LONGLONG
=yes
1619 DEFAULT_wxUSE_GEOMETRY
=yes
1621 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1622 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1623 DEFAULT_wxUSE_POSTSCRIPT
=yes
1625 DEFAULT_wxUSE_X_RESOURCES
=no
1626 DEFAULT_wxUSE_CLIPBOARD
=yes
1627 DEFAULT_wxUSE_TOOLTIPS
=yes
1628 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1629 DEFAULT_wxUSE_DRAGIMAGE
=yes
1630 DEFAULT_wxUSE_SPLINES
=yes
1632 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1633 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1634 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1636 DEFAULT_wxUSE_PROLOGIO
=yes
1637 DEFAULT_wxUSE_RESOURCES
=yes
1638 DEFAULT_wxUSE_CONSTRAINTS
=yes
1639 DEFAULT_wxUSE_IPC
=yes
1640 DEFAULT_wxUSE_HELP
=yes
1641 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1642 DEFAULT_wxUSE_WXHTML_HELP
=yes
1643 DEFAULT_wxUSE_TREELAYOUT
=yes
1644 DEFAULT_wxUSE_METAFILE
=yes
1645 DEFAULT_wxUSE_MIMETYPE
=yes
1646 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1647 DEFAULT_wxUSE_PROTOCOL
=yes
1648 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1649 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1650 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1651 DEFAULT_wxUSE_URL
=yes
1653 DEFAULT_wxUSE_COMMONDLGS
=yes
1654 DEFAULT_wxUSE_CHOICEDLG
=yes
1655 DEFAULT_wxUSE_COLOURDLG
=yes
1656 DEFAULT_wxUSE_DIRDLG
=yes
1657 DEFAULT_wxUSE_FILEDLG
=yes
1658 DEFAULT_wxUSE_FINDREPLDLG
=yes
1659 DEFAULT_wxUSE_FONTDLG
=yes
1660 DEFAULT_wxUSE_MSGDLG
=yes
1661 DEFAULT_wxUSE_NUMBERDLG
=yes
1662 DEFAULT_wxUSE_TEXTDLG
=yes
1663 DEFAULT_wxUSE_SPLASH
=yes
1664 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1665 DEFAULT_wxUSE_PROGRESSDLG
=yes
1666 DEFAULT_wxUSE_WIZARDDLG
=yes
1668 DEFAULT_wxUSE_MENUS
=yes
1669 DEFAULT_wxUSE_MINIFRAME
=yes
1670 DEFAULT_wxUSE_HTML
=yes
1671 DEFAULT_wxUSE_FILESYSTEM
=yes
1672 DEFAULT_wxUSE_FS_INET
=yes
1673 DEFAULT_wxUSE_FS_ZIP
=yes
1674 DEFAULT_wxUSE_BUSYINFO
=yes
1675 DEFAULT_wxUSE_ZIPSTREAM
=yes
1676 DEFAULT_wxUSE_VALIDATORS
=yes
1678 DEFAULT_wxUSE_ACCEL
=yes
1679 DEFAULT_wxUSE_BUTTON
=yes
1680 DEFAULT_wxUSE_BMPBUTTON
=yes
1681 DEFAULT_wxUSE_CALCTRL
=yes
1682 DEFAULT_wxUSE_CARET
=yes
1683 DEFAULT_wxUSE_CHECKBOX
=yes
1684 DEFAULT_wxUSE_CHECKLST
=yes
1685 DEFAULT_wxUSE_CHOICE
=yes
1686 DEFAULT_wxUSE_COMBOBOX
=yes
1687 DEFAULT_wxUSE_GAUGE
=yes
1688 DEFAULT_wxUSE_GRID
=yes
1689 DEFAULT_wxUSE_NEW_GRID
=yes
1690 DEFAULT_wxUSE_IMAGLIST
=yes
1691 DEFAULT_wxUSE_LISTBOX
=yes
1692 DEFAULT_wxUSE_LISTCTRL
=yes
1693 DEFAULT_wxUSE_NOTEBOOK
=yes
1694 DEFAULT_wxUSE_PROPSHEET
=yes
1695 DEFAULT_wxUSE_RADIOBOX
=yes
1696 DEFAULT_wxUSE_RADIOBTN
=yes
1697 DEFAULT_wxUSE_SASH
=yes
1698 DEFAULT_wxUSE_SCROLLBAR
=yes
1699 DEFAULT_wxUSE_SLIDER
=yes
1700 DEFAULT_wxUSE_SPINBTN
=yes
1701 DEFAULT_wxUSE_SPINCTRL
=yes
1702 DEFAULT_wxUSE_SPLITTER
=yes
1703 DEFAULT_wxUSE_STATBMP
=yes
1704 DEFAULT_wxUSE_STATBOX
=yes
1705 DEFAULT_wxUSE_STATLINE
=yes
1706 DEFAULT_wxUSE_STATTEXT
=yes
1707 DEFAULT_wxUSE_STATUSBAR
=yes
1708 DEFAULT_wxUSE_TABDIALOG
=no
1709 DEFAULT_wxUSE_TEXTCTRL
=yes
1710 DEFAULT_wxUSE_TOGGLEBTN
=yes
1711 DEFAULT_wxUSE_TOOLBAR
=yes
1712 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1713 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1714 DEFAULT_wxUSE_TREECTRL
=yes
1715 DEFAULT_wxUSE_POPUPWIN
=yes
1716 DEFAULT_wxUSE_TIPWINDOW
=yes
1718 DEFAULT_wxUSE_UNICODE
=no
1719 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1720 DEFAULT_wxUSE_WCSRTOMBS
=no
1722 DEFAULT_wxUSE_PALETTE
=yes
1723 DEFAULT_wxUSE_IMAGE
=yes
1724 DEFAULT_wxUSE_GIF
=yes
1725 DEFAULT_wxUSE_PCX
=yes
1726 DEFAULT_wxUSE_IFF
=no
1727 DEFAULT_wxUSE_PNM
=yes
1728 DEFAULT_wxUSE_XPM
=yes
1729 DEFAULT_wxUSE_ICO_CUR
=yes
1734 for toolkit
in `echo $ALL_TOOLKITS`; do
1735 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1736 if test "x$LINE" != x
; then
1737 has_toolkit_in_cache
=1
1738 eval "DEFAULT_$LINE"
1739 eval "CACHE_$toolkit=1"
1745 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1746 echo "configure:1747: checking for --enable-gui" >&5
1748 # Check whether --enable-gui or --disable-gui was given.
1749 if test "${enable_gui+set}" = set; then
1750 enableval
="$enable_gui"
1752 if test "$enableval" = yes; then
1753 ac_cv_use_gui
='wxUSE_GUI=yes'
1755 ac_cv_use_gui
='wxUSE_GUI=no'
1760 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1761 if test "x$LINE" != x
; then
1762 eval "DEFAULT_$LINE"
1767 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1772 eval "$ac_cv_use_gui"
1773 if test "$no_cache" != 1; then
1774 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1777 if test "$wxUSE_GUI" = yes; then
1778 echo "$ac_t""yes" 1>&6
1780 echo "$ac_t""no" 1>&6
1784 if test "$wxUSE_GUI" = "yes"; then
1787 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1788 echo "configure:1789: checking for --enable-universal" >&5
1790 # Check whether --enable-universal or --disable-universal was given.
1791 if test "${enable_universal+set}" = set; then
1792 enableval
="$enable_universal"
1794 if test "$enableval" = yes; then
1795 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1797 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1802 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1803 if test "x$LINE" != x
; then
1804 eval "DEFAULT_$LINE"
1809 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1814 eval "$ac_cv_use_universal"
1815 if test "$no_cache" != 1; then
1816 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1819 if test "$wxUSE_UNIVERSAL" = yes; then
1820 echo "$ac_t""yes" 1>&6
1822 echo "$ac_t""no" 1>&6
1825 # Check whether --with-gtk or --without-gtk was given.
1826 if test "${with_gtk+set}" = set; then
1828 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1831 # Check whether --with-motif or --without-motif was given.
1832 if test "${with_motif+set}" = set; then
1833 withval
="$with_motif"
1834 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1837 # Check whether --with-mac or --without-mac was given.
1838 if test "${with_mac+set}" = set; then
1840 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1843 # Check whether --with-wine or --without-wine was given.
1844 if test "${with_wine+set}" = set; then
1845 withval
="$with_wine"
1846 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1849 # Check whether --with-msw or --without-msw was given.
1850 if test "${with_msw+set}" = set; then
1852 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1855 # Check whether --with-pm or --without-pm was given.
1856 if test "${with_pm+set}" = set; then
1858 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1861 # Check whether --with-mgl or --without-mgl was given.
1862 if test "${with_mgl+set}" = set; then
1864 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1867 # Check whether --with-microwin or --without-microwin was given.
1868 if test "${with_microwin+set}" = set; then
1869 withval
="$with_microwin"
1870 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1873 # Check whether --with-x11 or --without-x11 was given.
1874 if test "${with_x11+set}" = set; then
1876 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1880 echo $ac_n "checking for --enable-nanox""... $ac_c" 1>&6
1881 echo "configure:1882: checking for --enable-nanox" >&5
1883 # Check whether --enable-nanox or --disable-nanox was given.
1884 if test "${enable_nanox+set}" = set; then
1885 enableval
="$enable_nanox"
1887 if test "$enableval" = yes; then
1888 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1890 ac_cv_use_nanox
='wxUSE_NANOX=no'
1895 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1896 if test "x$LINE" != x
; then
1897 eval "DEFAULT_$LINE"
1902 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1907 eval "$ac_cv_use_nanox"
1908 if test "$no_cache" != 1; then
1909 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1912 if test "$wxUSE_NANOX" = yes; then
1913 echo "$ac_t""yes" 1>&6
1915 echo "$ac_t""no" 1>&6
1919 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1920 if test "${enable_gtk2+set}" = set; then
1921 enableval
="$enable_gtk2"
1929 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1930 echo "configure:1931: checking for --with-libpng" >&5
1932 # Check whether --with-libpng or --without-libpng was given.
1933 if test "${with_libpng+set}" = set; then
1934 withval
="$with_libpng"
1936 if test "$withval" = yes; then
1937 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1938 elif test "$withval" = no
; then
1939 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1940 elif test "$withval" = sys
; then
1941 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1942 elif test "$withval" = builtin; then
1943 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1945 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1950 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1951 if test "x$LINE" != x
; then
1952 eval "DEFAULT_$LINE"
1957 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1962 eval "$ac_cv_use_libpng"
1963 if test "$no_cache" != 1; then
1964 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1967 if test "$wxUSE_LIBPNG" = yes; then
1968 echo "$ac_t""yes" 1>&6
1969 elif test "$wxUSE_LIBPNG" = no
; then
1970 echo "$ac_t""no" 1>&6
1971 elif test "$wxUSE_LIBPNG" = sys
; then
1972 echo "$ac_t""system version" 1>&6
1973 elif test "$wxUSE_LIBPNG" = builtin; then
1974 echo "$ac_t""builtin version" 1>&6
1976 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1980 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1981 echo "configure:1982: checking for --with-libjpeg" >&5
1983 # Check whether --with-libjpeg or --without-libjpeg was given.
1984 if test "${with_libjpeg+set}" = set; then
1985 withval
="$with_libjpeg"
1987 if test "$withval" = yes; then
1988 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1989 elif test "$withval" = no
; then
1990 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1991 elif test "$withval" = sys
; then
1992 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1993 elif test "$withval" = builtin; then
1994 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
1996 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2001 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2002 if test "x$LINE" != x
; then
2003 eval "DEFAULT_$LINE"
2008 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2013 eval "$ac_cv_use_libjpeg"
2014 if test "$no_cache" != 1; then
2015 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2018 if test "$wxUSE_LIBJPEG" = yes; then
2019 echo "$ac_t""yes" 1>&6
2020 elif test "$wxUSE_LIBJPEG" = no
; then
2021 echo "$ac_t""no" 1>&6
2022 elif test "$wxUSE_LIBJPEG" = sys
; then
2023 echo "$ac_t""system version" 1>&6
2024 elif test "$wxUSE_LIBJPEG" = builtin; then
2025 echo "$ac_t""builtin version" 1>&6
2027 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2031 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2032 echo "configure:2033: checking for --with-libtiff" >&5
2034 # Check whether --with-libtiff or --without-libtiff was given.
2035 if test "${with_libtiff+set}" = set; then
2036 withval
="$with_libtiff"
2038 if test "$withval" = yes; then
2039 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2040 elif test "$withval" = no
; then
2041 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2042 elif test "$withval" = sys
; then
2043 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2044 elif test "$withval" = builtin; then
2045 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2047 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2052 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2053 if test "x$LINE" != x
; then
2054 eval "DEFAULT_$LINE"
2059 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2064 eval "$ac_cv_use_libtiff"
2065 if test "$no_cache" != 1; then
2066 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2069 if test "$wxUSE_LIBTIFF" = yes; then
2070 echo "$ac_t""yes" 1>&6
2071 elif test "$wxUSE_LIBTIFF" = no
; then
2072 echo "$ac_t""no" 1>&6
2073 elif test "$wxUSE_LIBTIFF" = sys
; then
2074 echo "$ac_t""system version" 1>&6
2075 elif test "$wxUSE_LIBTIFF" = builtin; then
2076 echo "$ac_t""builtin version" 1>&6
2078 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2082 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2083 echo "configure:2084: checking for --with-opengl" >&5
2085 # Check whether --with-opengl or --without-opengl was given.
2086 if test "${with_opengl+set}" = set; then
2087 withval
="$with_opengl"
2089 if test "$withval" = yes; then
2090 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2092 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2097 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2098 if test "x$LINE" != x
; then
2099 eval "DEFAULT_$LINE"
2104 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2109 eval "$ac_cv_use_opengl"
2110 if test "$no_cache" != 1; then
2111 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2114 if test "$wxUSE_OPENGL" = yes; then
2115 echo "$ac_t""yes" 1>&6
2117 echo "$ac_t""no" 1>&6
2124 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2125 echo "configure:2126: checking for --with-dmalloc" >&5
2127 # Check whether --with-dmalloc or --without-dmalloc was given.
2128 if test "${with_dmalloc+set}" = set; then
2129 withval
="$with_dmalloc"
2131 if test "$withval" = yes; then
2132 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2134 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2139 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2140 if test "x$LINE" != x
; then
2141 eval "DEFAULT_$LINE"
2146 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2151 eval "$ac_cv_use_dmalloc"
2152 if test "$no_cache" != 1; then
2153 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2156 if test "$wxUSE_DMALLOC" = yes; then
2157 echo "$ac_t""yes" 1>&6
2159 echo "$ac_t""no" 1>&6
2163 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2164 echo "configure:2165: checking for --with-regex" >&5
2166 # Check whether --with-regex or --without-regex was given.
2167 if test "${with_regex+set}" = set; then
2168 withval
="$with_regex"
2170 if test "$withval" = yes; then
2171 ac_cv_use_regex
='wxUSE_REGEX=yes'
2172 elif test "$withval" = no
; then
2173 ac_cv_use_regex
='wxUSE_REGEX=no'
2174 elif test "$withval" = sys
; then
2175 ac_cv_use_regex
='wxUSE_REGEX=sys'
2176 elif test "$withval" = builtin; then
2177 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2179 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2184 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2185 if test "x$LINE" != x
; then
2186 eval "DEFAULT_$LINE"
2191 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2196 eval "$ac_cv_use_regex"
2197 if test "$no_cache" != 1; then
2198 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2201 if test "$wxUSE_REGEX" = yes; then
2202 echo "$ac_t""yes" 1>&6
2203 elif test "$wxUSE_REGEX" = no
; then
2204 echo "$ac_t""no" 1>&6
2205 elif test "$wxUSE_REGEX" = sys
; then
2206 echo "$ac_t""system version" 1>&6
2207 elif test "$wxUSE_REGEX" = builtin; then
2208 echo "$ac_t""builtin version" 1>&6
2210 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2214 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2215 echo "configure:2216: checking for --with-zlib" >&5
2217 # Check whether --with-zlib or --without-zlib was given.
2218 if test "${with_zlib+set}" = set; then
2219 withval
="$with_zlib"
2221 if test "$withval" = yes; then
2222 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2223 elif test "$withval" = no
; then
2224 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2225 elif test "$withval" = sys
; then
2226 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2227 elif test "$withval" = builtin; then
2228 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2230 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2235 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2236 if test "x$LINE" != x
; then
2237 eval "DEFAULT_$LINE"
2242 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2247 eval "$ac_cv_use_zlib"
2248 if test "$no_cache" != 1; then
2249 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2252 if test "$wxUSE_ZLIB" = yes; then
2253 echo "$ac_t""yes" 1>&6
2254 elif test "$wxUSE_ZLIB" = no
; then
2255 echo "$ac_t""no" 1>&6
2256 elif test "$wxUSE_ZLIB" = sys
; then
2257 echo "$ac_t""system version" 1>&6
2258 elif test "$wxUSE_ZLIB" = builtin; then
2259 echo "$ac_t""builtin version" 1>&6
2261 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2265 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2266 echo "configure:2267: checking for --with-odbc" >&5
2268 # Check whether --with-odbc or --without-odbc was given.
2269 if test "${with_odbc+set}" = set; then
2270 withval
="$with_odbc"
2272 if test "$withval" = yes; then
2273 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2275 ac_cv_use_odbc
='wxUSE_ODBC=no'
2280 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2281 if test "x$LINE" != x
; then
2282 eval "DEFAULT_$LINE"
2287 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2292 eval "$ac_cv_use_odbc"
2293 if test "$no_cache" != 1; then
2294 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2297 if test "$wxUSE_ODBC" = yes; then
2298 echo "$ac_t""yes" 1>&6
2300 echo "$ac_t""no" 1>&6
2306 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2307 echo "configure:2308: checking for --enable-shared" >&5
2309 # Check whether --enable-shared or --disable-shared was given.
2310 if test "${enable_shared+set}" = set; then
2311 enableval
="$enable_shared"
2313 if test "$enableval" = yes; then
2314 ac_cv_use_shared
='wxUSE_SHARED=yes'
2316 ac_cv_use_shared
='wxUSE_SHARED=no'
2321 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2322 if test "x$LINE" != x
; then
2323 eval "DEFAULT_$LINE"
2328 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2333 eval "$ac_cv_use_shared"
2334 if test "$no_cache" != 1; then
2335 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2338 if test "$wxUSE_SHARED" = yes; then
2339 echo "$ac_t""yes" 1>&6
2341 echo "$ac_t""no" 1>&6
2345 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2346 echo "configure:2347: checking for --enable-soname" >&5
2348 # Check whether --enable-soname or --disable-soname was given.
2349 if test "${enable_soname+set}" = set; then
2350 enableval
="$enable_soname"
2352 if test "$enableval" = yes; then
2353 ac_cv_use_soname
='wxUSE_SONAME=yes'
2355 ac_cv_use_soname
='wxUSE_SONAME=no'
2360 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2361 if test "x$LINE" != x
; then
2362 eval "DEFAULT_$LINE"
2367 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2372 eval "$ac_cv_use_soname"
2373 if test "$no_cache" != 1; then
2374 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2377 if test "$wxUSE_SONAME" = yes; then
2378 echo "$ac_t""yes" 1>&6
2380 echo "$ac_t""no" 1>&6
2384 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2385 echo "configure:2386: checking for --enable-optimise" >&5
2387 # Check whether --enable-optimise or --disable-optimise was given.
2388 if test "${enable_optimise+set}" = set; then
2389 enableval
="$enable_optimise"
2391 if test "$enableval" = yes; then
2392 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2394 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2399 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2400 if test "x$LINE" != x
; then
2401 eval "DEFAULT_$LINE"
2406 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2411 eval "$ac_cv_use_optimise"
2412 if test "$no_cache" != 1; then
2413 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2416 if test "$wxUSE_OPTIMISE" = yes; then
2417 echo "$ac_t""yes" 1>&6
2419 echo "$ac_t""no" 1>&6
2423 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2424 echo "configure:2425: checking for --enable-debug" >&5
2426 # Check whether --enable-debug or --disable-debug was given.
2427 if test "${enable_debug+set}" = set; then
2428 enableval
="$enable_debug"
2430 if test "$enableval" = yes; then
2431 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2433 ac_cv_use_debug
='wxUSE_DEBUG=no'
2438 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2439 if test "x$LINE" != x
; then
2440 eval "DEFAULT_$LINE"
2445 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2450 eval "$ac_cv_use_debug"
2451 if test "$no_cache" != 1; then
2452 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2455 if test "$wxUSE_DEBUG" = yes; then
2456 echo "$ac_t""yes" 1>&6
2458 echo "$ac_t""no" 1>&6
2463 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2464 echo "configure:2465: checking for --enable-precomp" >&5
2466 # Check whether --enable-precomp or --disable-precomp was given.
2467 if test "${enable_precomp+set}" = set; then
2468 enableval
="$enable_precomp"
2470 if test "$enableval" = yes; then
2471 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2473 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2478 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2479 if test "x$LINE" != x
; then
2480 eval "DEFAULT_$LINE"
2485 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2490 eval "$ac_cv_use_precomp"
2491 if test "$no_cache" != 1; then
2492 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2495 if test "$wxUSE_PRECOMP" = yes; then
2496 echo "$ac_t""yes" 1>&6
2498 echo "$ac_t""no" 1>&6
2502 if test "$wxUSE_DEBUG" = "yes"; then
2503 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2504 DEFAULT_wxUSE_DEBUG_INFO
=yes
2505 elif test "$wxUSE_DEBUG" = "no"; then
2506 DEFAULT_wxUSE_DEBUG_FLAG
=no
2507 DEFAULT_wxUSE_DEBUG_INFO
=no
2511 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2512 echo "configure:2513: checking for --enable-debug_flag" >&5
2514 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2515 if test "${enable_debug_flag+set}" = set; then
2516 enableval
="$enable_debug_flag"
2518 if test "$enableval" = yes; then
2519 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2521 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2526 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2527 if test "x$LINE" != x
; then
2528 eval "DEFAULT_$LINE"
2533 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2538 eval "$ac_cv_use_debug_flag"
2539 if test "$no_cache" != 1; then
2540 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2543 if test "$wxUSE_DEBUG_FLAG" = yes; then
2544 echo "$ac_t""yes" 1>&6
2546 echo "$ac_t""no" 1>&6
2550 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2551 echo "configure:2552: checking for --enable-debug_info" >&5
2553 # Check whether --enable-debug_info or --disable-debug_info was given.
2554 if test "${enable_debug_info+set}" = set; then
2555 enableval
="$enable_debug_info"
2557 if test "$enableval" = yes; then
2558 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2560 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2565 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2566 if test "x$LINE" != x
; then
2567 eval "DEFAULT_$LINE"
2572 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2577 eval "$ac_cv_use_debug_info"
2578 if test "$no_cache" != 1; then
2579 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2582 if test "$wxUSE_DEBUG_INFO" = yes; then
2583 echo "$ac_t""yes" 1>&6
2585 echo "$ac_t""no" 1>&6
2589 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2590 echo "configure:2591: checking for --enable-debug_gdb" >&5
2592 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2593 if test "${enable_debug_gdb+set}" = set; then
2594 enableval
="$enable_debug_gdb"
2596 if test "$enableval" = yes; then
2597 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2599 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2604 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2605 if test "x$LINE" != x
; then
2606 eval "DEFAULT_$LINE"
2611 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2616 eval "$ac_cv_use_debug_gdb"
2617 if test "$no_cache" != 1; then
2618 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2621 if test "$wxUSE_DEBUG_GDB" = yes; then
2622 echo "$ac_t""yes" 1>&6
2624 echo "$ac_t""no" 1>&6
2628 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2629 echo "configure:2630: checking for --enable-debug_cntxt" >&5
2631 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2632 if test "${enable_debug_cntxt+set}" = set; then
2633 enableval
="$enable_debug_cntxt"
2635 if test "$enableval" = yes; then
2636 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2638 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2643 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2644 if test "x$LINE" != x
; then
2645 eval "DEFAULT_$LINE"
2650 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2655 eval "$ac_cv_use_debug_cntxt"
2656 if test "$no_cache" != 1; then
2657 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2660 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2661 echo "$ac_t""yes" 1>&6
2663 echo "$ac_t""no" 1>&6
2667 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2668 echo "configure:2669: checking for --enable-mem_tracing" >&5
2670 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2671 if test "${enable_mem_tracing+set}" = set; then
2672 enableval
="$enable_mem_tracing"
2674 if test "$enableval" = yes; then
2675 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2677 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2682 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2683 if test "x$LINE" != x
; then
2684 eval "DEFAULT_$LINE"
2689 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2694 eval "$ac_cv_use_mem_tracing"
2695 if test "$no_cache" != 1; then
2696 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2699 if test "$wxUSE_MEM_TRACING" = yes; then
2700 echo "$ac_t""yes" 1>&6
2702 echo "$ac_t""no" 1>&6
2706 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2707 echo "configure:2708: checking for --enable-profile" >&5
2709 # Check whether --enable-profile or --disable-profile was given.
2710 if test "${enable_profile+set}" = set; then
2711 enableval
="$enable_profile"
2713 if test "$enableval" = yes; then
2714 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2716 ac_cv_use_profile
='wxUSE_PROFILE=no'
2721 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2722 if test "x$LINE" != x
; then
2723 eval "DEFAULT_$LINE"
2728 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2733 eval "$ac_cv_use_profile"
2734 if test "$no_cache" != 1; then
2735 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2738 if test "$wxUSE_PROFILE" = yes; then
2739 echo "$ac_t""yes" 1>&6
2741 echo "$ac_t""no" 1>&6
2745 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2746 echo "configure:2747: checking for --enable-no_rtti" >&5
2748 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2749 if test "${enable_no_rtti+set}" = set; then
2750 enableval
="$enable_no_rtti"
2752 if test "$enableval" = yes; then
2753 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2755 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2760 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2761 if test "x$LINE" != x
; then
2762 eval "DEFAULT_$LINE"
2767 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2772 eval "$ac_cv_use_no_rtti"
2773 if test "$no_cache" != 1; then
2774 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2777 if test "$wxUSE_NO_RTTI" = yes; then
2778 echo "$ac_t""yes" 1>&6
2780 echo "$ac_t""no" 1>&6
2784 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2785 echo "configure:2786: checking for --enable-no_exceptions" >&5
2787 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2788 if test "${enable_no_exceptions+set}" = set; then
2789 enableval
="$enable_no_exceptions"
2791 if test "$enableval" = yes; then
2792 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2794 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2799 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2800 if test "x$LINE" != x
; then
2801 eval "DEFAULT_$LINE"
2806 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2811 eval "$ac_cv_use_no_exceptions"
2812 if test "$no_cache" != 1; then
2813 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2816 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2817 echo "$ac_t""yes" 1>&6
2819 echo "$ac_t""no" 1>&6
2823 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2824 echo "configure:2825: checking for --enable-permissive" >&5
2826 # Check whether --enable-permissive or --disable-permissive was given.
2827 if test "${enable_permissive+set}" = set; then
2828 enableval
="$enable_permissive"
2830 if test "$enableval" = yes; then
2831 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2833 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2838 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2839 if test "x$LINE" != x
; then
2840 eval "DEFAULT_$LINE"
2845 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2850 eval "$ac_cv_use_permissive"
2851 if test "$no_cache" != 1; then
2852 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2855 if test "$wxUSE_PERMISSIVE" = yes; then
2856 echo "$ac_t""yes" 1>&6
2858 echo "$ac_t""no" 1>&6
2862 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2863 echo "configure:2864: checking for --enable-no_deps" >&5
2865 # Check whether --enable-no_deps or --disable-no_deps was given.
2866 if test "${enable_no_deps+set}" = set; then
2867 enableval
="$enable_no_deps"
2869 if test "$enableval" = yes; then
2870 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2872 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2877 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2878 if test "x$LINE" != x
; then
2879 eval "DEFAULT_$LINE"
2884 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2889 eval "$ac_cv_use_no_deps"
2890 if test "$no_cache" != 1; then
2891 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2894 if test "$wxUSE_NO_DEPS" = yes; then
2895 echo "$ac_t""yes" 1>&6
2897 echo "$ac_t""no" 1>&6
2902 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2903 echo "configure:2904: checking for --enable-compat20" >&5
2905 # Check whether --enable-compat20 or --disable-compat20 was given.
2906 if test "${enable_compat20+set}" = set; then
2907 enableval
="$enable_compat20"
2909 if test "$enableval" = yes; then
2910 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2912 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2917 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2918 if test "x$LINE" != x
; then
2919 eval "DEFAULT_$LINE"
2924 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2929 eval "$ac_cv_use_compat20"
2930 if test "$no_cache" != 1; then
2931 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2934 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2935 echo "$ac_t""yes" 1>&6
2937 echo "$ac_t""no" 1>&6
2941 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2942 echo "configure:2943: checking for --enable-compat22" >&5
2944 # Check whether --enable-compat22 or --disable-compat22 was given.
2945 if test "${enable_compat22+set}" = set; then
2946 enableval
="$enable_compat22"
2948 if test "$enableval" = yes; then
2949 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2951 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2956 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2957 if test "x$LINE" != x
; then
2958 eval "DEFAULT_$LINE"
2963 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2968 eval "$ac_cv_use_compat22"
2969 if test "$no_cache" != 1; then
2970 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2973 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2974 echo "$ac_t""yes" 1>&6
2976 echo "$ac_t""no" 1>&6
2982 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2983 echo "configure:2984: checking for --enable-intl" >&5
2985 # Check whether --enable-intl or --disable-intl was given.
2986 if test "${enable_intl+set}" = set; then
2987 enableval
="$enable_intl"
2989 if test "$enableval" = yes; then
2990 ac_cv_use_intl
='wxUSE_INTL=yes'
2992 ac_cv_use_intl
='wxUSE_INTL=no'
2997 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2998 if test "x$LINE" != x
; then
2999 eval "DEFAULT_$LINE"
3004 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3009 eval "$ac_cv_use_intl"
3010 if test "$no_cache" != 1; then
3011 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3014 if test "$wxUSE_INTL" = yes; then
3015 echo "$ac_t""yes" 1>&6
3017 echo "$ac_t""no" 1>&6
3021 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3022 echo "configure:3023: checking for --enable-config" >&5
3024 # Check whether --enable-config or --disable-config was given.
3025 if test "${enable_config+set}" = set; then
3026 enableval
="$enable_config"
3028 if test "$enableval" = yes; then
3029 ac_cv_use_config
='wxUSE_CONFIG=yes'
3031 ac_cv_use_config
='wxUSE_CONFIG=no'
3036 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3037 if test "x$LINE" != x
; then
3038 eval "DEFAULT_$LINE"
3043 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3048 eval "$ac_cv_use_config"
3049 if test "$no_cache" != 1; then
3050 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3053 if test "$wxUSE_CONFIG" = yes; then
3054 echo "$ac_t""yes" 1>&6
3056 echo "$ac_t""no" 1>&6
3061 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3062 echo "configure:3063: checking for --enable-protocols" >&5
3064 # Check whether --enable-protocols or --disable-protocols was given.
3065 if test "${enable_protocols+set}" = set; then
3066 enableval
="$enable_protocols"
3068 if test "$enableval" = yes; then
3069 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3071 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3076 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3077 if test "x$LINE" != x
; then
3078 eval "DEFAULT_$LINE"
3083 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3088 eval "$ac_cv_use_protocols"
3089 if test "$no_cache" != 1; then
3090 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3093 if test "$wxUSE_PROTOCOL" = yes; then
3094 echo "$ac_t""yes" 1>&6
3096 echo "$ac_t""no" 1>&6
3100 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3101 echo "configure:3102: checking for --enable-ftp" >&5
3103 # Check whether --enable-ftp or --disable-ftp was given.
3104 if test "${enable_ftp+set}" = set; then
3105 enableval
="$enable_ftp"
3107 if test "$enableval" = yes; then
3108 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3110 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3115 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3116 if test "x$LINE" != x
; then
3117 eval "DEFAULT_$LINE"
3122 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3127 eval "$ac_cv_use_ftp"
3128 if test "$no_cache" != 1; then
3129 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3132 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3133 echo "$ac_t""yes" 1>&6
3135 echo "$ac_t""no" 1>&6
3139 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3140 echo "configure:3141: checking for --enable-http" >&5
3142 # Check whether --enable-http or --disable-http was given.
3143 if test "${enable_http+set}" = set; then
3144 enableval
="$enable_http"
3146 if test "$enableval" = yes; then
3147 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3149 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3154 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3155 if test "x$LINE" != x
; then
3156 eval "DEFAULT_$LINE"
3161 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3166 eval "$ac_cv_use_http"
3167 if test "$no_cache" != 1; then
3168 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3171 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3172 echo "$ac_t""yes" 1>&6
3174 echo "$ac_t""no" 1>&6
3178 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3179 echo "configure:3180: checking for --enable-fileproto" >&5
3181 # Check whether --enable-fileproto or --disable-fileproto was given.
3182 if test "${enable_fileproto+set}" = set; then
3183 enableval
="$enable_fileproto"
3185 if test "$enableval" = yes; then
3186 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3188 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3193 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3194 if test "x$LINE" != x
; then
3195 eval "DEFAULT_$LINE"
3200 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3205 eval "$ac_cv_use_fileproto"
3206 if test "$no_cache" != 1; then
3207 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3210 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3211 echo "$ac_t""yes" 1>&6
3213 echo "$ac_t""no" 1>&6
3217 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3218 echo "configure:3219: checking for --enable-sockets" >&5
3220 # Check whether --enable-sockets or --disable-sockets was given.
3221 if test "${enable_sockets+set}" = set; then
3222 enableval
="$enable_sockets"
3224 if test "$enableval" = yes; then
3225 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3227 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3232 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3233 if test "x$LINE" != x
; then
3234 eval "DEFAULT_$LINE"
3239 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3244 eval "$ac_cv_use_sockets"
3245 if test "$no_cache" != 1; then
3246 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3249 if test "$wxUSE_SOCKETS" = yes; then
3250 echo "$ac_t""yes" 1>&6
3252 echo "$ac_t""no" 1>&6
3257 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3258 echo "configure:3259: checking for --enable-ipc" >&5
3260 # Check whether --enable-ipc or --disable-ipc was given.
3261 if test "${enable_ipc+set}" = set; then
3262 enableval
="$enable_ipc"
3264 if test "$enableval" = yes; then
3265 ac_cv_use_ipc
='wxUSE_IPC=yes'
3267 ac_cv_use_ipc
='wxUSE_IPC=no'
3272 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3273 if test "x$LINE" != x
; then
3274 eval "DEFAULT_$LINE"
3279 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3284 eval "$ac_cv_use_ipc"
3285 if test "$no_cache" != 1; then
3286 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3289 if test "$wxUSE_IPC" = yes; then
3290 echo "$ac_t""yes" 1>&6
3292 echo "$ac_t""no" 1>&6
3297 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3298 echo "configure:3299: checking for --enable-cmdline" >&5
3300 # Check whether --enable-cmdline or --disable-cmdline was given.
3301 if test "${enable_cmdline+set}" = set; then
3302 enableval
="$enable_cmdline"
3304 if test "$enableval" = yes; then
3305 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3307 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3312 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3313 if test "x$LINE" != x
; then
3314 eval "DEFAULT_$LINE"
3319 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3324 eval "$ac_cv_use_cmdline"
3325 if test "$no_cache" != 1; then
3326 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3329 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3330 echo "$ac_t""yes" 1>&6
3332 echo "$ac_t""no" 1>&6
3336 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3337 echo "configure:3338: checking for --enable-datetime" >&5
3339 # Check whether --enable-datetime or --disable-datetime was given.
3340 if test "${enable_datetime+set}" = set; then
3341 enableval
="$enable_datetime"
3343 if test "$enableval" = yes; then
3344 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3346 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3351 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3352 if test "x$LINE" != x
; then
3353 eval "DEFAULT_$LINE"
3358 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3363 eval "$ac_cv_use_datetime"
3364 if test "$no_cache" != 1; then
3365 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3368 if test "$wxUSE_DATETIME" = yes; then
3369 echo "$ac_t""yes" 1>&6
3371 echo "$ac_t""no" 1>&6
3375 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3376 echo "configure:3377: checking for --enable-timedate" >&5
3378 # Check whether --enable-timedate or --disable-timedate was given.
3379 if test "${enable_timedate+set}" = set; then
3380 enableval
="$enable_timedate"
3382 if test "$enableval" = yes; then
3383 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3385 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3390 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3391 if test "x$LINE" != x
; then
3392 eval "DEFAULT_$LINE"
3397 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3402 eval "$ac_cv_use_timedate"
3403 if test "$no_cache" != 1; then
3404 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3407 if test "$wxUSE_TIMEDATE" = yes; then
3408 echo "$ac_t""yes" 1>&6
3410 echo "$ac_t""no" 1>&6
3414 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3415 echo "configure:3416: checking for --enable-stopwatch" >&5
3417 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3418 if test "${enable_stopwatch+set}" = set; then
3419 enableval
="$enable_stopwatch"
3421 if test "$enableval" = yes; then
3422 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3424 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3429 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3430 if test "x$LINE" != x
; then
3431 eval "DEFAULT_$LINE"
3436 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3441 eval "$ac_cv_use_stopwatch"
3442 if test "$no_cache" != 1; then
3443 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3446 if test "$wxUSE_STOPWATCH" = yes; then
3447 echo "$ac_t""yes" 1>&6
3449 echo "$ac_t""no" 1>&6
3453 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3454 echo "configure:3455: checking for --enable-dialupman" >&5
3456 # Check whether --enable-dialupman or --disable-dialupman was given.
3457 if test "${enable_dialupman+set}" = set; then
3458 enableval
="$enable_dialupman"
3460 if test "$enableval" = yes; then
3461 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3463 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3468 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3469 if test "x$LINE" != x
; then
3470 eval "DEFAULT_$LINE"
3475 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3480 eval "$ac_cv_use_dialupman"
3481 if test "$no_cache" != 1; then
3482 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3485 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3486 echo "$ac_t""yes" 1>&6
3488 echo "$ac_t""no" 1>&6
3492 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3493 echo "configure:3494: checking for --enable-apple_ieee" >&5
3495 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3496 if test "${enable_apple_ieee+set}" = set; then
3497 enableval
="$enable_apple_ieee"
3499 if test "$enableval" = yes; then
3500 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3502 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3507 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3508 if test "x$LINE" != x
; then
3509 eval "DEFAULT_$LINE"
3514 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3519 eval "$ac_cv_use_apple_ieee"
3520 if test "$no_cache" != 1; then
3521 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3524 if test "$wxUSE_APPLE_IEEE" = yes; then
3525 echo "$ac_t""yes" 1>&6
3527 echo "$ac_t""no" 1>&6
3531 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3532 echo "configure:3533: checking for --enable-timer" >&5
3534 # Check whether --enable-timer or --disable-timer was given.
3535 if test "${enable_timer+set}" = set; then
3536 enableval
="$enable_timer"
3538 if test "$enableval" = yes; then
3539 ac_cv_use_timer
='wxUSE_TIMER=yes'
3541 ac_cv_use_timer
='wxUSE_TIMER=no'
3546 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3547 if test "x$LINE" != x
; then
3548 eval "DEFAULT_$LINE"
3553 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3558 eval "$ac_cv_use_timer"
3559 if test "$no_cache" != 1; then
3560 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3563 if test "$wxUSE_TIMER" = yes; then
3564 echo "$ac_t""yes" 1>&6
3566 echo "$ac_t""no" 1>&6
3570 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3571 echo "configure:3572: checking for --enable-wave" >&5
3573 # Check whether --enable-wave or --disable-wave was given.
3574 if test "${enable_wave+set}" = set; then
3575 enableval
="$enable_wave"
3577 if test "$enableval" = yes; then
3578 ac_cv_use_wave
='wxUSE_WAVE=yes'
3580 ac_cv_use_wave
='wxUSE_WAVE=no'
3585 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3586 if test "x$LINE" != x
; then
3587 eval "DEFAULT_$LINE"
3592 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3597 eval "$ac_cv_use_wave"
3598 if test "$no_cache" != 1; then
3599 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3602 if test "$wxUSE_WAVE" = yes; then
3603 echo "$ac_t""yes" 1>&6
3605 echo "$ac_t""no" 1>&6
3609 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3610 echo "configure:3611: checking for --enable-fraction" >&5
3612 # Check whether --enable-fraction or --disable-fraction was given.
3613 if test "${enable_fraction+set}" = set; then
3614 enableval
="$enable_fraction"
3616 if test "$enableval" = yes; then
3617 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3619 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3624 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3625 if test "x$LINE" != x
; then
3626 eval "DEFAULT_$LINE"
3631 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3636 eval "$ac_cv_use_fraction"
3637 if test "$no_cache" != 1; then
3638 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3641 if test "$wxUSE_FRACTION" = yes; then
3642 echo "$ac_t""yes" 1>&6
3644 echo "$ac_t""no" 1>&6
3648 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3649 echo "configure:3650: checking for --enable-dynlib" >&5
3651 # Check whether --enable-dynlib or --disable-dynlib was given.
3652 if test "${enable_dynlib+set}" = set; then
3653 enableval
="$enable_dynlib"
3655 if test "$enableval" = yes; then
3656 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3658 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3663 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3664 if test "x$LINE" != x
; then
3665 eval "DEFAULT_$LINE"
3670 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3675 eval "$ac_cv_use_dynlib"
3676 if test "$no_cache" != 1; then
3677 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3680 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3681 echo "$ac_t""yes" 1>&6
3683 echo "$ac_t""no" 1>&6
3687 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3688 echo "configure:3689: checking for --enable-dynamicloader" >&5
3690 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3691 if test "${enable_dynamicloader+set}" = set; then
3692 enableval
="$enable_dynamicloader"
3694 if test "$enableval" = yes; then
3695 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3697 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3702 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3703 if test "x$LINE" != x
; then
3704 eval "DEFAULT_$LINE"
3709 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3714 eval "$ac_cv_use_dynamicloader"
3715 if test "$no_cache" != 1; then
3716 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3719 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3720 echo "$ac_t""yes" 1>&6
3722 echo "$ac_t""no" 1>&6
3726 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3727 echo "configure:3728: checking for --enable-longlong" >&5
3729 # Check whether --enable-longlong or --disable-longlong was given.
3730 if test "${enable_longlong+set}" = set; then
3731 enableval
="$enable_longlong"
3733 if test "$enableval" = yes; then
3734 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3736 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3741 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3742 if test "x$LINE" != x
; then
3743 eval "DEFAULT_$LINE"
3748 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3753 eval "$ac_cv_use_longlong"
3754 if test "$no_cache" != 1; then
3755 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3758 if test "$wxUSE_LONGLONG" = yes; then
3759 echo "$ac_t""yes" 1>&6
3761 echo "$ac_t""no" 1>&6
3765 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3766 echo "configure:3767: checking for --enable-geometry" >&5
3768 # Check whether --enable-geometry or --disable-geometry was given.
3769 if test "${enable_geometry+set}" = set; then
3770 enableval
="$enable_geometry"
3772 if test "$enableval" = yes; then
3773 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3775 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3780 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3781 if test "x$LINE" != x
; then
3782 eval "DEFAULT_$LINE"
3787 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3792 eval "$ac_cv_use_geometry"
3793 if test "$no_cache" != 1; then
3794 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3797 if test "$wxUSE_GEOMETRY" = yes; then
3798 echo "$ac_t""yes" 1>&6
3800 echo "$ac_t""no" 1>&6
3804 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3805 echo "configure:3806: checking for --enable-log" >&5
3807 # Check whether --enable-log or --disable-log was given.
3808 if test "${enable_log+set}" = set; then
3809 enableval
="$enable_log"
3811 if test "$enableval" = yes; then
3812 ac_cv_use_log
='wxUSE_LOG=yes'
3814 ac_cv_use_log
='wxUSE_LOG=no'
3819 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3820 if test "x$LINE" != x
; then
3821 eval "DEFAULT_$LINE"
3826 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3831 eval "$ac_cv_use_log"
3832 if test "$no_cache" != 1; then
3833 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3836 if test "$wxUSE_LOG" = yes; then
3837 echo "$ac_t""yes" 1>&6
3839 echo "$ac_t""no" 1>&6
3843 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3844 echo "configure:3845: checking for --enable-streams" >&5
3846 # Check whether --enable-streams or --disable-streams was given.
3847 if test "${enable_streams+set}" = set; then
3848 enableval
="$enable_streams"
3850 if test "$enableval" = yes; then
3851 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3853 ac_cv_use_streams
='wxUSE_STREAMS=no'
3858 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3859 if test "x$LINE" != x
; then
3860 eval "DEFAULT_$LINE"
3865 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3870 eval "$ac_cv_use_streams"
3871 if test "$no_cache" != 1; then
3872 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3875 if test "$wxUSE_STREAMS" = yes; then
3876 echo "$ac_t""yes" 1>&6
3878 echo "$ac_t""no" 1>&6
3882 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3883 echo "configure:3884: checking for --enable-file" >&5
3885 # Check whether --enable-file or --disable-file was given.
3886 if test "${enable_file+set}" = set; then
3887 enableval
="$enable_file"
3889 if test "$enableval" = yes; then
3890 ac_cv_use_file
='wxUSE_FILE=yes'
3892 ac_cv_use_file
='wxUSE_FILE=no'
3897 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3898 if test "x$LINE" != x
; then
3899 eval "DEFAULT_$LINE"
3904 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3909 eval "$ac_cv_use_file"
3910 if test "$no_cache" != 1; then
3911 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3914 if test "$wxUSE_FILE" = yes; then
3915 echo "$ac_t""yes" 1>&6
3917 echo "$ac_t""no" 1>&6
3921 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3922 echo "configure:3923: checking for --enable-ffile" >&5
3924 # Check whether --enable-ffile or --disable-ffile was given.
3925 if test "${enable_ffile+set}" = set; then
3926 enableval
="$enable_ffile"
3928 if test "$enableval" = yes; then
3929 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3931 ac_cv_use_ffile
='wxUSE_FFILE=no'
3936 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3937 if test "x$LINE" != x
; then
3938 eval "DEFAULT_$LINE"
3943 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3948 eval "$ac_cv_use_ffile"
3949 if test "$no_cache" != 1; then
3950 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3953 if test "$wxUSE_FFILE" = yes; then
3954 echo "$ac_t""yes" 1>&6
3956 echo "$ac_t""no" 1>&6
3960 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
3961 echo "configure:3962: checking for --enable-textbuf" >&5
3963 # Check whether --enable-textbuf or --disable-textbuf was given.
3964 if test "${enable_textbuf+set}" = set; then
3965 enableval
="$enable_textbuf"
3967 if test "$enableval" = yes; then
3968 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
3970 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
3975 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
3976 if test "x$LINE" != x
; then
3977 eval "DEFAULT_$LINE"
3982 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
3987 eval "$ac_cv_use_textbuf"
3988 if test "$no_cache" != 1; then
3989 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
3992 if test "$wxUSE_TEXTBUFFER" = yes; then
3993 echo "$ac_t""yes" 1>&6
3995 echo "$ac_t""no" 1>&6
3999 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4000 echo "configure:4001: checking for --enable-textfile" >&5
4002 # Check whether --enable-textfile or --disable-textfile was given.
4003 if test "${enable_textfile+set}" = set; then
4004 enableval
="$enable_textfile"
4006 if test "$enableval" = yes; then
4007 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4009 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4014 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4015 if test "x$LINE" != x
; then
4016 eval "DEFAULT_$LINE"
4021 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4026 eval "$ac_cv_use_textfile"
4027 if test "$no_cache" != 1; then
4028 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4031 if test "$wxUSE_TEXTFILE" = yes; then
4032 echo "$ac_t""yes" 1>&6
4034 echo "$ac_t""no" 1>&6
4038 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4039 echo "configure:4040: checking for --enable-fontmap" >&5
4041 # Check whether --enable-fontmap or --disable-fontmap was given.
4042 if test "${enable_fontmap+set}" = set; then
4043 enableval
="$enable_fontmap"
4045 if test "$enableval" = yes; then
4046 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4048 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4053 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4054 if test "x$LINE" != x
; then
4055 eval "DEFAULT_$LINE"
4060 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4065 eval "$ac_cv_use_fontmap"
4066 if test "$no_cache" != 1; then
4067 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4070 if test "$wxUSE_FONTMAP" = yes; then
4071 echo "$ac_t""yes" 1>&6
4073 echo "$ac_t""no" 1>&6
4077 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4078 echo "configure:4079: checking for --enable-unicode" >&5
4080 # Check whether --enable-unicode or --disable-unicode was given.
4081 if test "${enable_unicode+set}" = set; then
4082 enableval
="$enable_unicode"
4084 if test "$enableval" = yes; then
4085 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4087 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4092 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4093 if test "x$LINE" != x
; then
4094 eval "DEFAULT_$LINE"
4099 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4104 eval "$ac_cv_use_unicode"
4105 if test "$no_cache" != 1; then
4106 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4109 if test "$wxUSE_UNICODE" = yes; then
4110 echo "$ac_t""yes" 1>&6
4112 echo "$ac_t""no" 1>&6
4116 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4117 echo "configure:4118: checking for --enable-mslu" >&5
4119 # Check whether --enable-mslu or --disable-mslu was given.
4120 if test "${enable_mslu+set}" = set; then
4121 enableval
="$enable_mslu"
4123 if test "$enableval" = yes; then
4124 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4126 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4131 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4132 if test "x$LINE" != x
; then
4133 eval "DEFAULT_$LINE"
4138 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4143 eval "$ac_cv_use_mslu"
4144 if test "$no_cache" != 1; then
4145 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4148 if test "$wxUSE_UNICODE_MSLU" = yes; then
4149 echo "$ac_t""yes" 1>&6
4151 echo "$ac_t""no" 1>&6
4155 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4156 echo "configure:4157: checking for --enable-wxprintfv" >&5
4158 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4159 if test "${enable_wxprintfv+set}" = set; then
4160 enableval
="$enable_wxprintfv"
4162 if test "$enableval" = yes; then
4163 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4165 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4170 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4171 if test "x$LINE" != x
; then
4172 eval "DEFAULT_$LINE"
4177 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4182 eval "$ac_cv_use_wxprintfv"
4183 if test "$no_cache" != 1; then
4184 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4187 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4188 echo "$ac_t""yes" 1>&6
4190 echo "$ac_t""no" 1>&6
4194 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4195 echo "configure:4196: checking for --enable-std_iostreams" >&5
4197 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4198 if test "${enable_std_iostreams+set}" = set; then
4199 enableval
="$enable_std_iostreams"
4201 if test "$enableval" = yes; then
4202 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4204 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4209 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4210 if test "x$LINE" != x
; then
4211 eval "DEFAULT_$LINE"
4216 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4221 eval "$ac_cv_use_std_iostreams"
4222 if test "$no_cache" != 1; then
4223 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4226 if test "$wxUSE_STD_IOSTREAM" = yes; then
4227 echo "$ac_t""yes" 1>&6
4229 echo "$ac_t""no" 1>&6
4233 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4234 echo "configure:4235: checking for --enable-filesystem" >&5
4236 # Check whether --enable-filesystem or --disable-filesystem was given.
4237 if test "${enable_filesystem+set}" = set; then
4238 enableval
="$enable_filesystem"
4240 if test "$enableval" = yes; then
4241 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4243 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4248 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4249 if test "x$LINE" != x
; then
4250 eval "DEFAULT_$LINE"
4255 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4260 eval "$ac_cv_use_filesystem"
4261 if test "$no_cache" != 1; then
4262 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4265 if test "$wxUSE_FILESYSTEM" = yes; then
4266 echo "$ac_t""yes" 1>&6
4268 echo "$ac_t""no" 1>&6
4272 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4273 echo "configure:4274: checking for --enable-fs_inet" >&5
4275 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4276 if test "${enable_fs_inet+set}" = set; then
4277 enableval
="$enable_fs_inet"
4279 if test "$enableval" = yes; then
4280 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4282 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4287 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4288 if test "x$LINE" != x
; then
4289 eval "DEFAULT_$LINE"
4294 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4299 eval "$ac_cv_use_fs_inet"
4300 if test "$no_cache" != 1; then
4301 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4304 if test "$wxUSE_FS_INET" = yes; then
4305 echo "$ac_t""yes" 1>&6
4307 echo "$ac_t""no" 1>&6
4311 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4312 echo "configure:4313: checking for --enable-fs_zip" >&5
4314 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4315 if test "${enable_fs_zip+set}" = set; then
4316 enableval
="$enable_fs_zip"
4318 if test "$enableval" = yes; then
4319 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4321 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4326 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4327 if test "x$LINE" != x
; then
4328 eval "DEFAULT_$LINE"
4333 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4338 eval "$ac_cv_use_fs_zip"
4339 if test "$no_cache" != 1; then
4340 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4343 if test "$wxUSE_FS_ZIP" = yes; then
4344 echo "$ac_t""yes" 1>&6
4346 echo "$ac_t""no" 1>&6
4350 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4351 echo "configure:4352: checking for --enable-zipstream" >&5
4353 # Check whether --enable-zipstream or --disable-zipstream was given.
4354 if test "${enable_zipstream+set}" = set; then
4355 enableval
="$enable_zipstream"
4357 if test "$enableval" = yes; then
4358 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4360 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4365 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4366 if test "x$LINE" != x
; then
4367 eval "DEFAULT_$LINE"
4372 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4377 eval "$ac_cv_use_zipstream"
4378 if test "$no_cache" != 1; then
4379 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4382 if test "$wxUSE_ZIPSTREAM" = yes; then
4383 echo "$ac_t""yes" 1>&6
4385 echo "$ac_t""no" 1>&6
4390 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4391 echo "configure:4392: checking for --enable-catch_segvs" >&5
4393 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4394 if test "${enable_catch_segvs+set}" = set; then
4395 enableval
="$enable_catch_segvs"
4397 if test "$enableval" = yes; then
4398 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4400 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4405 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4406 if test "x$LINE" != x
; then
4407 eval "DEFAULT_$LINE"
4412 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4417 eval "$ac_cv_use_catch_segvs"
4418 if test "$no_cache" != 1; then
4419 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4422 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4423 echo "$ac_t""yes" 1>&6
4425 echo "$ac_t""no" 1>&6
4429 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4430 echo "configure:4431: checking for --enable-snglinst" >&5
4432 # Check whether --enable-snglinst or --disable-snglinst was given.
4433 if test "${enable_snglinst+set}" = set; then
4434 enableval
="$enable_snglinst"
4436 if test "$enableval" = yes; then
4437 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4439 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4444 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4445 if test "x$LINE" != x
; then
4446 eval "DEFAULT_$LINE"
4451 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4456 eval "$ac_cv_use_snglinst"
4457 if test "$no_cache" != 1; then
4458 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4461 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4462 echo "$ac_t""yes" 1>&6
4464 echo "$ac_t""no" 1>&6
4469 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4470 echo "configure:4471: checking for --enable-mimetype" >&5
4472 # Check whether --enable-mimetype or --disable-mimetype was given.
4473 if test "${enable_mimetype+set}" = set; then
4474 enableval
="$enable_mimetype"
4476 if test "$enableval" = yes; then
4477 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4479 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4484 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4485 if test "x$LINE" != x
; then
4486 eval "DEFAULT_$LINE"
4491 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4496 eval "$ac_cv_use_mimetype"
4497 if test "$no_cache" != 1; then
4498 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4501 if test "$wxUSE_MIMETYPE" = yes; then
4502 echo "$ac_t""yes" 1>&6
4504 echo "$ac_t""no" 1>&6
4508 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4509 echo "configure:4510: checking for --enable-system_options" >&5
4511 # Check whether --enable-system_options or --disable-system_options was given.
4512 if test "${enable_system_options+set}" = set; then
4513 enableval
="$enable_system_options"
4515 if test "$enableval" = yes; then
4516 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4518 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4523 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4524 if test "x$LINE" != x
; then
4525 eval "DEFAULT_$LINE"
4530 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4535 eval "$ac_cv_use_system_options"
4536 if test "$no_cache" != 1; then
4537 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4540 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4541 echo "$ac_t""yes" 1>&6
4543 echo "$ac_t""no" 1>&6
4548 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4549 echo "configure:4550: checking for --enable-url" >&5
4551 # Check whether --enable-url or --disable-url was given.
4552 if test "${enable_url+set}" = set; then
4553 enableval
="$enable_url"
4555 if test "$enableval" = yes; then
4556 ac_cv_use_url
='wxUSE_URL=yes'
4558 ac_cv_use_url
='wxUSE_URL=no'
4563 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4564 if test "x$LINE" != x
; then
4565 eval "DEFAULT_$LINE"
4570 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4575 eval "$ac_cv_use_url"
4576 if test "$no_cache" != 1; then
4577 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4580 if test "$wxUSE_URL" = yes; then
4581 echo "$ac_t""yes" 1>&6
4583 echo "$ac_t""no" 1>&6
4587 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4588 echo "configure:4589: checking for --enable-protocol" >&5
4590 # Check whether --enable-protocol or --disable-protocol was given.
4591 if test "${enable_protocol+set}" = set; then
4592 enableval
="$enable_protocol"
4594 if test "$enableval" = yes; then
4595 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4597 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4602 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4603 if test "x$LINE" != x
; then
4604 eval "DEFAULT_$LINE"
4609 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4614 eval "$ac_cv_use_protocol"
4615 if test "$no_cache" != 1; then
4616 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4619 if test "$wxUSE_PROTOCOL" = yes; then
4620 echo "$ac_t""yes" 1>&6
4622 echo "$ac_t""no" 1>&6
4626 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4627 echo "configure:4628: checking for --enable-protocol_http" >&5
4629 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4630 if test "${enable_protocol_http+set}" = set; then
4631 enableval
="$enable_protocol_http"
4633 if test "$enableval" = yes; then
4634 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4636 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4641 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4642 if test "x$LINE" != x
; then
4643 eval "DEFAULT_$LINE"
4648 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4653 eval "$ac_cv_use_protocol_http"
4654 if test "$no_cache" != 1; then
4655 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4658 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4659 echo "$ac_t""yes" 1>&6
4661 echo "$ac_t""no" 1>&6
4665 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4666 echo "configure:4667: checking for --enable-protocol_ftp" >&5
4668 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4669 if test "${enable_protocol_ftp+set}" = set; then
4670 enableval
="$enable_protocol_ftp"
4672 if test "$enableval" = yes; then
4673 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4675 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4680 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4681 if test "x$LINE" != x
; then
4682 eval "DEFAULT_$LINE"
4687 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4692 eval "$ac_cv_use_protocol_ftp"
4693 if test "$no_cache" != 1; then
4694 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4697 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4698 echo "$ac_t""yes" 1>&6
4700 echo "$ac_t""no" 1>&6
4704 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4705 echo "configure:4706: checking for --enable-protocol_file" >&5
4707 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4708 if test "${enable_protocol_file+set}" = set; then
4709 enableval
="$enable_protocol_file"
4711 if test "$enableval" = yes; then
4712 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4714 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4719 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4720 if test "x$LINE" != x
; then
4721 eval "DEFAULT_$LINE"
4726 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4731 eval "$ac_cv_use_protocol_file"
4732 if test "$no_cache" != 1; then
4733 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4736 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4737 echo "$ac_t""yes" 1>&6
4739 echo "$ac_t""no" 1>&6
4746 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4747 echo "configure:4748: checking for --enable-threads" >&5
4749 # Check whether --enable-threads or --disable-threads was given.
4750 if test "${enable_threads+set}" = set; then
4751 enableval
="$enable_threads"
4753 if test "$enableval" = yes; then
4754 ac_cv_use_threads
='wxUSE_THREADS=yes'
4756 ac_cv_use_threads
='wxUSE_THREADS=no'
4761 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4762 if test "x$LINE" != x
; then
4763 eval "DEFAULT_$LINE"
4768 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4773 eval "$ac_cv_use_threads"
4774 if test "$no_cache" != 1; then
4775 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4778 if test "$wxUSE_THREADS" = yes; then
4779 echo "$ac_t""yes" 1>&6
4781 echo "$ac_t""no" 1>&6
4785 if test "$wxUSE_GUI" = "yes"; then
4789 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4790 echo "configure:4791: checking for --enable-docview" >&5
4792 # Check whether --enable-docview or --disable-docview was given.
4793 if test "${enable_docview+set}" = set; then
4794 enableval
="$enable_docview"
4796 if test "$enableval" = yes; then
4797 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4799 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4804 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4805 if test "x$LINE" != x
; then
4806 eval "DEFAULT_$LINE"
4811 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4816 eval "$ac_cv_use_docview"
4817 if test "$no_cache" != 1; then
4818 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4821 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4822 echo "$ac_t""yes" 1>&6
4824 echo "$ac_t""no" 1>&6
4828 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4829 echo "configure:4830: checking for --enable-help" >&5
4831 # Check whether --enable-help or --disable-help was given.
4832 if test "${enable_help+set}" = set; then
4833 enableval
="$enable_help"
4835 if test "$enableval" = yes; then
4836 ac_cv_use_help
='wxUSE_HELP=yes'
4838 ac_cv_use_help
='wxUSE_HELP=no'
4843 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4844 if test "x$LINE" != x
; then
4845 eval "DEFAULT_$LINE"
4850 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4855 eval "$ac_cv_use_help"
4856 if test "$no_cache" != 1; then
4857 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4860 if test "$wxUSE_HELP" = yes; then
4861 echo "$ac_t""yes" 1>&6
4863 echo "$ac_t""no" 1>&6
4867 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4868 echo "configure:4869: checking for --enable-mshtmlhelp" >&5
4870 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4871 if test "${enable_mshtmlhelp+set}" = set; then
4872 enableval
="$enable_mshtmlhelp"
4874 if test "$enableval" = yes; then
4875 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4877 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4882 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4883 if test "x$LINE" != x
; then
4884 eval "DEFAULT_$LINE"
4889 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4894 eval "$ac_cv_use_mshtmlhelp"
4895 if test "$no_cache" != 1; then
4896 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4899 if test "$wxUSE_MS_HTML_HELP" = yes; then
4900 echo "$ac_t""yes" 1>&6
4902 echo "$ac_t""no" 1>&6
4906 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4907 echo "configure:4908: checking for --enable-html" >&5
4909 # Check whether --enable-html or --disable-html was given.
4910 if test "${enable_html+set}" = set; then
4911 enableval
="$enable_html"
4913 if test "$enableval" = yes; then
4914 ac_cv_use_html
='wxUSE_HTML=yes'
4916 ac_cv_use_html
='wxUSE_HTML=no'
4921 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4922 if test "x$LINE" != x
; then
4923 eval "DEFAULT_$LINE"
4928 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4933 eval "$ac_cv_use_html"
4934 if test "$no_cache" != 1; then
4935 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4938 if test "$wxUSE_HTML" = yes; then
4939 echo "$ac_t""yes" 1>&6
4941 echo "$ac_t""no" 1>&6
4945 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4946 echo "configure:4947: checking for --enable-htmlhelp" >&5
4948 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4949 if test "${enable_htmlhelp+set}" = set; then
4950 enableval
="$enable_htmlhelp"
4952 if test "$enableval" = yes; then
4953 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4955 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4960 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4961 if test "x$LINE" != x
; then
4962 eval "DEFAULT_$LINE"
4967 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4972 eval "$ac_cv_use_htmlhelp"
4973 if test "$no_cache" != 1; then
4974 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4977 if test "$wxUSE_WXHTML_HELP" = yes; then
4978 echo "$ac_t""yes" 1>&6
4980 echo "$ac_t""no" 1>&6
4984 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4985 echo "configure:4986: checking for --enable-constraints" >&5
4987 # Check whether --enable-constraints or --disable-constraints was given.
4988 if test "${enable_constraints+set}" = set; then
4989 enableval
="$enable_constraints"
4991 if test "$enableval" = yes; then
4992 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4994 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4999 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5000 if test "x$LINE" != x
; then
5001 eval "DEFAULT_$LINE"
5006 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5011 eval "$ac_cv_use_constraints"
5012 if test "$no_cache" != 1; then
5013 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5016 if test "$wxUSE_CONSTRAINTS" = yes; then
5017 echo "$ac_t""yes" 1>&6
5019 echo "$ac_t""no" 1>&6
5023 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5024 echo "configure:5025: checking for --enable-printarch" >&5
5026 # Check whether --enable-printarch or --disable-printarch was given.
5027 if test "${enable_printarch+set}" = set; then
5028 enableval
="$enable_printarch"
5030 if test "$enableval" = yes; then
5031 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5033 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5038 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5039 if test "x$LINE" != x
; then
5040 eval "DEFAULT_$LINE"
5045 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5050 eval "$ac_cv_use_printarch"
5051 if test "$no_cache" != 1; then
5052 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5055 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5056 echo "$ac_t""yes" 1>&6
5058 echo "$ac_t""no" 1>&6
5062 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5063 echo "configure:5064: checking for --enable-mdi" >&5
5065 # Check whether --enable-mdi or --disable-mdi was given.
5066 if test "${enable_mdi+set}" = set; then
5067 enableval
="$enable_mdi"
5069 if test "$enableval" = yes; then
5070 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5072 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5077 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5078 if test "x$LINE" != x
; then
5079 eval "DEFAULT_$LINE"
5084 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5089 eval "$ac_cv_use_mdi"
5090 if test "$no_cache" != 1; then
5091 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5094 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5095 echo "$ac_t""yes" 1>&6
5097 echo "$ac_t""no" 1>&6
5101 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5102 echo "configure:5103: checking for --enable-loggui" >&5
5104 # Check whether --enable-loggui or --disable-loggui was given.
5105 if test "${enable_loggui+set}" = set; then
5106 enableval
="$enable_loggui"
5108 if test "$enableval" = yes; then
5109 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5111 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5116 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5117 if test "x$LINE" != x
; then
5118 eval "DEFAULT_$LINE"
5123 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5128 eval "$ac_cv_use_loggui"
5129 if test "$no_cache" != 1; then
5130 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5133 if test "$wxUSE_LOGGUI" = yes; then
5134 echo "$ac_t""yes" 1>&6
5136 echo "$ac_t""no" 1>&6
5140 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5141 echo "configure:5142: checking for --enable-logwin" >&5
5143 # Check whether --enable-logwin or --disable-logwin was given.
5144 if test "${enable_logwin+set}" = set; then
5145 enableval
="$enable_logwin"
5147 if test "$enableval" = yes; then
5148 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5150 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5155 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5156 if test "x$LINE" != x
; then
5157 eval "DEFAULT_$LINE"
5162 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5167 eval "$ac_cv_use_logwin"
5168 if test "$no_cache" != 1; then
5169 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5172 if test "$wxUSE_LOGWINDOW" = yes; then
5173 echo "$ac_t""yes" 1>&6
5175 echo "$ac_t""no" 1>&6
5179 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5180 echo "configure:5181: checking for --enable-logdialog" >&5
5182 # Check whether --enable-logdialog or --disable-logdialog was given.
5183 if test "${enable_logdialog+set}" = set; then
5184 enableval
="$enable_logdialog"
5186 if test "$enableval" = yes; then
5187 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5189 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5194 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5195 if test "x$LINE" != x
; then
5196 eval "DEFAULT_$LINE"
5201 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5206 eval "$ac_cv_use_logdialog"
5207 if test "$no_cache" != 1; then
5208 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5211 if test "$wxUSE_LOGDIALOG" = yes; then
5212 echo "$ac_t""yes" 1>&6
5214 echo "$ac_t""no" 1>&6
5219 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5220 echo "configure:5221: checking for --enable-postscript" >&5
5222 # Check whether --enable-postscript or --disable-postscript was given.
5223 if test "${enable_postscript+set}" = set; then
5224 enableval
="$enable_postscript"
5226 if test "$enableval" = yes; then
5227 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5229 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5234 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5235 if test "x$LINE" != x
; then
5236 eval "DEFAULT_$LINE"
5241 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5246 eval "$ac_cv_use_postscript"
5247 if test "$no_cache" != 1; then
5248 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5251 if test "$wxUSE_POSTSCRIPT" = yes; then
5252 echo "$ac_t""yes" 1>&6
5254 echo "$ac_t""no" 1>&6
5261 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5262 echo "configure:5263: checking for --enable-prologio" >&5
5264 # Check whether --enable-prologio or --disable-prologio was given.
5265 if test "${enable_prologio+set}" = set; then
5266 enableval
="$enable_prologio"
5268 if test "$enableval" = yes; then
5269 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5271 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5276 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5277 if test "x$LINE" != x
; then
5278 eval "DEFAULT_$LINE"
5283 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5288 eval "$ac_cv_use_prologio"
5289 if test "$no_cache" != 1; then
5290 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5293 if test "$wxUSE_PROLOGIO" = yes; then
5294 echo "$ac_t""yes" 1>&6
5296 echo "$ac_t""no" 1>&6
5300 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5301 echo "configure:5302: checking for --enable-resources" >&5
5303 # Check whether --enable-resources or --disable-resources was given.
5304 if test "${enable_resources+set}" = set; then
5305 enableval
="$enable_resources"
5307 if test "$enableval" = yes; then
5308 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5310 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5315 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5316 if test "x$LINE" != x
; then
5317 eval "DEFAULT_$LINE"
5322 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5327 eval "$ac_cv_use_resources"
5328 if test "$no_cache" != 1; then
5329 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5332 if test "$wxUSE_RESOURCES" = yes; then
5333 echo "$ac_t""yes" 1>&6
5335 echo "$ac_t""no" 1>&6
5340 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5341 echo "configure:5342: checking for --enable-xresources" >&5
5343 # Check whether --enable-xresources or --disable-xresources was given.
5344 if test "${enable_xresources+set}" = set; then
5345 enableval
="$enable_xresources"
5347 if test "$enableval" = yes; then
5348 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5350 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5355 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5356 if test "x$LINE" != x
; then
5357 eval "DEFAULT_$LINE"
5362 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5367 eval "$ac_cv_use_xresources"
5368 if test "$no_cache" != 1; then
5369 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5372 if test "$wxUSE_X_RESOURCES" = yes; then
5373 echo "$ac_t""yes" 1>&6
5375 echo "$ac_t""no" 1>&6
5381 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5382 echo "configure:5383: checking for --enable-clipboard" >&5
5384 # Check whether --enable-clipboard or --disable-clipboard was given.
5385 if test "${enable_clipboard+set}" = set; then
5386 enableval
="$enable_clipboard"
5388 if test "$enableval" = yes; then
5389 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5391 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5396 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5397 if test "x$LINE" != x
; then
5398 eval "DEFAULT_$LINE"
5403 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5408 eval "$ac_cv_use_clipboard"
5409 if test "$no_cache" != 1; then
5410 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5413 if test "$wxUSE_CLIPBOARD" = yes; then
5414 echo "$ac_t""yes" 1>&6
5416 echo "$ac_t""no" 1>&6
5420 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5421 echo "configure:5422: checking for --enable-dnd" >&5
5423 # Check whether --enable-dnd or --disable-dnd was given.
5424 if test "${enable_dnd+set}" = set; then
5425 enableval
="$enable_dnd"
5427 if test "$enableval" = yes; then
5428 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5430 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5435 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5436 if test "x$LINE" != x
; then
5437 eval "DEFAULT_$LINE"
5442 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5447 eval "$ac_cv_use_dnd"
5448 if test "$no_cache" != 1; then
5449 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5452 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5453 echo "$ac_t""yes" 1>&6
5455 echo "$ac_t""no" 1>&6
5459 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5460 echo "configure:5461: checking for --enable-metafile" >&5
5462 # Check whether --enable-metafile or --disable-metafile was given.
5463 if test "${enable_metafile+set}" = set; then
5464 enableval
="$enable_metafile"
5466 if test "$enableval" = yes; then
5467 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5469 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5474 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5475 if test "x$LINE" != x
; then
5476 eval "DEFAULT_$LINE"
5481 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5486 eval "$ac_cv_use_metafile"
5487 if test "$no_cache" != 1; then
5488 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5491 if test "$wxUSE_METAFILE" = yes; then
5492 echo "$ac_t""yes" 1>&6
5494 echo "$ac_t""no" 1>&6
5499 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5500 echo "configure:5501: checking for --enable-treelayout" >&5
5502 # Check whether --enable-treelayout or --disable-treelayout was given.
5503 if test "${enable_treelayout+set}" = set; then
5504 enableval
="$enable_treelayout"
5506 if test "$enableval" = yes; then
5507 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5509 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5514 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5515 if test "x$LINE" != x
; then
5516 eval "DEFAULT_$LINE"
5521 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5526 eval "$ac_cv_use_treelayout"
5527 if test "$no_cache" != 1; then
5528 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5531 if test "$wxUSE_TREELAYOUT" = yes; then
5532 echo "$ac_t""yes" 1>&6
5534 echo "$ac_t""no" 1>&6
5540 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5541 echo "configure:5542: checking for --enable-controls" >&5
5543 # Check whether --enable-controls or --disable-controls was given.
5544 if test "${enable_controls+set}" = set; then
5545 enableval
="$enable_controls"
5547 if test "$enableval" = yes; then
5548 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5550 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5555 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5556 if test "x$LINE" != x
; then
5557 eval "DEFAULT_$LINE"
5562 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5567 eval "$ac_cv_use_controls"
5568 if test "$no_cache" != 1; then
5569 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5572 if test "$wxUSE_CONTROLS" = yes; then
5573 echo "$ac_t""yes" 1>&6
5575 echo "$ac_t""no" 1>&6
5579 if test "$wxUSE_CONTROLS" = "yes"; then
5580 DEFAULT_wxUSE_ACCEL
=yes
5581 DEFAULT_wxUSE_BMPBUTTON
=yes
5582 DEFAULT_wxUSE_BUTTON
=yes
5583 DEFAULT_wxUSE_CALCTRL
=no
5584 DEFAULT_wxUSE_CARET
=yes
5585 DEFAULT_wxUSE_COMBOBOX
=yes
5586 DEFAULT_wxUSE_CHECKBOX
=yes
5587 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5588 DEFAULT_wxUSE_CHOICE
=yes
5589 DEFAULT_wxUSE_GAUGE
=yes
5590 DEFAULT_wxUSE_GRID
=yes
5591 DEFAULT_wxUSE_NEW_GRID
=yes
5592 DEFAULT_wxUSE_IMAGLIST
=yes
5593 DEFAULT_wxUSE_LISTBOX
=yes
5594 DEFAULT_wxUSE_LISTCTRL
=yes
5595 DEFAULT_wxUSE_NOTEBOOK
=yes
5596 DEFAULT_wxUSE_PROPSHEET
=yes
5597 DEFAULT_wxUSE_RADIOBOX
=yes
5598 DEFAULT_wxUSE_RADIOBTN
=yes
5599 DEFAULT_wxUSE_SASH
=yes
5600 DEFAULT_wxUSE_SCROLLBAR
=yes
5601 DEFAULT_wxUSE_SLIDER
=yes
5602 DEFAULT_wxUSE_SPINBTN
=yes
5603 DEFAULT_wxUSE_SPINCTRL
=yes
5604 DEFAULT_wxUSE_SPLITTER
=yes
5605 DEFAULT_wxUSE_STATBMP
=yes
5606 DEFAULT_wxUSE_STATBOX
=yes
5607 DEFAULT_wxUSE_STATLINE
=yes
5608 DEFAULT_wxUSE_STATUSBAR
=yes
5609 DEFAULT_wxUSE_TAB_DIALOG
=yes
5610 DEFAULT_wxUSE_TOGGLEBTN
=yes
5611 DEFAULT_wxUSE_TOOLBAR
=yes
5612 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5613 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5614 DEFAULT_wxUSE_TOOLTIPS
=yes
5615 DEFAULT_wxUSE_TREECTRL
=yes
5616 DEFAULT_wxUSE_POPUPWIN
=yes
5617 DEFAULT_wxUSE_TIPWINDOW
=yes
5618 elif test "$wxUSE_CONTROLS" = "no"; then
5619 DEFAULT_wxUSE_ACCEL
=no
5620 DEFAULT_wxUSE_BMPBUTTON
=no
5621 DEFAULT_wxUSE_BUTTON
=no
5622 DEFAULT_wxUSE_CALCTRL
=no
5623 DEFAULT_wxUSE_CARET
=no
5624 DEFAULT_wxUSE_COMBOBOX
=no
5625 DEFAULT_wxUSE_CHECKBOX
=no
5626 DEFAULT_wxUSE_CHECKLISTBOX
=no
5627 DEFAULT_wxUSE_CHOICE
=no
5628 DEFAULT_wxUSE_GAUGE
=no
5629 DEFAULT_wxUSE_GRID
=no
5630 DEFAULT_wxUSE_NEW_GRID
=no
5631 DEFAULT_wxUSE_IMAGLIST
=no
5632 DEFAULT_wxUSE_LISTBOX
=no
5633 DEFAULT_wxUSE_LISTCTRL
=no
5634 DEFAULT_wxUSE_NOTEBOOK
=no
5635 DEFAULT_wxUSE_PROPSHEET
=no
5636 DEFAULT_wxUSE_RADIOBOX
=no
5637 DEFAULT_wxUSE_RADIOBTN
=no
5638 DEFAULT_wxUSE_SASH
=no
5639 DEFAULT_wxUSE_SCROLLBAR
=no
5640 DEFAULT_wxUSE_SLIDER
=no
5641 DEFAULT_wxUSE_SPINBTN
=no
5642 DEFAULT_wxUSE_SPINCTRL
=no
5643 DEFAULT_wxUSE_SPLITTER
=no
5644 DEFAULT_wxUSE_STATBMP
=no
5645 DEFAULT_wxUSE_STATBOX
=no
5646 DEFAULT_wxUSE_STATLINE
=no
5647 DEFAULT_wxUSE_STATUSBAR
=no
5648 DEFAULT_wxUSE_TAB_DIALOG
=no
5649 DEFAULT_wxUSE_TOGGLEBTN
=no
5650 DEFAULT_wxUSE_TOOLBAR
=no
5651 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5652 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5653 DEFAULT_wxUSE_TOOLTIPS
=no
5654 DEFAULT_wxUSE_TREECTRL
=no
5655 DEFAULT_wxUSE_POPUPWIN
=no
5656 DEFAULT_wxUSE_TIPWINDOW
=no
5660 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5661 echo "configure:5662: checking for --enable-accel" >&5
5663 # Check whether --enable-accel or --disable-accel was given.
5664 if test "${enable_accel+set}" = set; then
5665 enableval
="$enable_accel"
5667 if test "$enableval" = yes; then
5668 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5670 ac_cv_use_accel
='wxUSE_ACCEL=no'
5675 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5676 if test "x$LINE" != x
; then
5677 eval "DEFAULT_$LINE"
5682 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5687 eval "$ac_cv_use_accel"
5688 if test "$no_cache" != 1; then
5689 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5692 if test "$wxUSE_ACCEL" = yes; then
5693 echo "$ac_t""yes" 1>&6
5695 echo "$ac_t""no" 1>&6
5699 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5700 echo "configure:5701: checking for --enable-button" >&5
5702 # Check whether --enable-button or --disable-button was given.
5703 if test "${enable_button+set}" = set; then
5704 enableval
="$enable_button"
5706 if test "$enableval" = yes; then
5707 ac_cv_use_button
='wxUSE_BUTTON=yes'
5709 ac_cv_use_button
='wxUSE_BUTTON=no'
5714 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5715 if test "x$LINE" != x
; then
5716 eval "DEFAULT_$LINE"
5721 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5726 eval "$ac_cv_use_button"
5727 if test "$no_cache" != 1; then
5728 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5731 if test "$wxUSE_BUTTON" = yes; then
5732 echo "$ac_t""yes" 1>&6
5734 echo "$ac_t""no" 1>&6
5738 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5739 echo "configure:5740: checking for --enable-bmpbutton" >&5
5741 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5742 if test "${enable_bmpbutton+set}" = set; then
5743 enableval
="$enable_bmpbutton"
5745 if test "$enableval" = yes; then
5746 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5748 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5753 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5754 if test "x$LINE" != x
; then
5755 eval "DEFAULT_$LINE"
5760 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5765 eval "$ac_cv_use_bmpbutton"
5766 if test "$no_cache" != 1; then
5767 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5770 if test "$wxUSE_BMPBUTTON" = yes; then
5771 echo "$ac_t""yes" 1>&6
5773 echo "$ac_t""no" 1>&6
5777 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5778 echo "configure:5779: checking for --enable-calendar" >&5
5780 # Check whether --enable-calendar or --disable-calendar was given.
5781 if test "${enable_calendar+set}" = set; then
5782 enableval
="$enable_calendar"
5784 if test "$enableval" = yes; then
5785 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5787 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5792 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5793 if test "x$LINE" != x
; then
5794 eval "DEFAULT_$LINE"
5799 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5804 eval "$ac_cv_use_calendar"
5805 if test "$no_cache" != 1; then
5806 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5809 if test "$wxUSE_CALCTRL" = yes; then
5810 echo "$ac_t""yes" 1>&6
5812 echo "$ac_t""no" 1>&6
5816 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5817 echo "configure:5818: checking for --enable-caret" >&5
5819 # Check whether --enable-caret or --disable-caret was given.
5820 if test "${enable_caret+set}" = set; then
5821 enableval
="$enable_caret"
5823 if test "$enableval" = yes; then
5824 ac_cv_use_caret
='wxUSE_CARET=yes'
5826 ac_cv_use_caret
='wxUSE_CARET=no'
5831 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5832 if test "x$LINE" != x
; then
5833 eval "DEFAULT_$LINE"
5838 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5843 eval "$ac_cv_use_caret"
5844 if test "$no_cache" != 1; then
5845 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5848 if test "$wxUSE_CARET" = yes; then
5849 echo "$ac_t""yes" 1>&6
5851 echo "$ac_t""no" 1>&6
5855 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5856 echo "configure:5857: checking for --enable-checkbox" >&5
5858 # Check whether --enable-checkbox or --disable-checkbox was given.
5859 if test "${enable_checkbox+set}" = set; then
5860 enableval
="$enable_checkbox"
5862 if test "$enableval" = yes; then
5863 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5865 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5870 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5871 if test "x$LINE" != x
; then
5872 eval "DEFAULT_$LINE"
5877 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5882 eval "$ac_cv_use_checkbox"
5883 if test "$no_cache" != 1; then
5884 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5887 if test "$wxUSE_CHECKBOX" = yes; then
5888 echo "$ac_t""yes" 1>&6
5890 echo "$ac_t""no" 1>&6
5894 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5895 echo "configure:5896: checking for --enable-checklst" >&5
5897 # Check whether --enable-checklst or --disable-checklst was given.
5898 if test "${enable_checklst+set}" = set; then
5899 enableval
="$enable_checklst"
5901 if test "$enableval" = yes; then
5902 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5904 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5909 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5910 if test "x$LINE" != x
; then
5911 eval "DEFAULT_$LINE"
5916 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5921 eval "$ac_cv_use_checklst"
5922 if test "$no_cache" != 1; then
5923 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5926 if test "$wxUSE_CHECKLST" = yes; then
5927 echo "$ac_t""yes" 1>&6
5929 echo "$ac_t""no" 1>&6
5933 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5934 echo "configure:5935: checking for --enable-choice" >&5
5936 # Check whether --enable-choice or --disable-choice was given.
5937 if test "${enable_choice+set}" = set; then
5938 enableval
="$enable_choice"
5940 if test "$enableval" = yes; then
5941 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5943 ac_cv_use_choice
='wxUSE_CHOICE=no'
5948 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5949 if test "x$LINE" != x
; then
5950 eval "DEFAULT_$LINE"
5955 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5960 eval "$ac_cv_use_choice"
5961 if test "$no_cache" != 1; then
5962 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5965 if test "$wxUSE_CHOICE" = yes; then
5966 echo "$ac_t""yes" 1>&6
5968 echo "$ac_t""no" 1>&6
5972 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5973 echo "configure:5974: checking for --enable-combobox" >&5
5975 # Check whether --enable-combobox or --disable-combobox was given.
5976 if test "${enable_combobox+set}" = set; then
5977 enableval
="$enable_combobox"
5979 if test "$enableval" = yes; then
5980 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5982 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5987 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5988 if test "x$LINE" != x
; then
5989 eval "DEFAULT_$LINE"
5994 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5999 eval "$ac_cv_use_combobox"
6000 if test "$no_cache" != 1; then
6001 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6004 if test "$wxUSE_COMBOBOX" = yes; then
6005 echo "$ac_t""yes" 1>&6
6007 echo "$ac_t""no" 1>&6
6011 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6012 echo "configure:6013: checking for --enable-gauge" >&5
6014 # Check whether --enable-gauge or --disable-gauge was given.
6015 if test "${enable_gauge+set}" = set; then
6016 enableval
="$enable_gauge"
6018 if test "$enableval" = yes; then
6019 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6021 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6026 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6027 if test "x$LINE" != x
; then
6028 eval "DEFAULT_$LINE"
6033 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6038 eval "$ac_cv_use_gauge"
6039 if test "$no_cache" != 1; then
6040 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6043 if test "$wxUSE_GAUGE" = yes; then
6044 echo "$ac_t""yes" 1>&6
6046 echo "$ac_t""no" 1>&6
6050 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6051 echo "configure:6052: checking for --enable-grid" >&5
6053 # Check whether --enable-grid or --disable-grid was given.
6054 if test "${enable_grid+set}" = set; then
6055 enableval
="$enable_grid"
6057 if test "$enableval" = yes; then
6058 ac_cv_use_grid
='wxUSE_GRID=yes'
6060 ac_cv_use_grid
='wxUSE_GRID=no'
6065 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6066 if test "x$LINE" != x
; then
6067 eval "DEFAULT_$LINE"
6072 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6077 eval "$ac_cv_use_grid"
6078 if test "$no_cache" != 1; then
6079 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6082 if test "$wxUSE_GRID" = yes; then
6083 echo "$ac_t""yes" 1>&6
6085 echo "$ac_t""no" 1>&6
6089 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6090 echo "configure:6091: checking for --enable-newgrid" >&5
6092 # Check whether --enable-newgrid or --disable-newgrid was given.
6093 if test "${enable_newgrid+set}" = set; then
6094 enableval
="$enable_newgrid"
6096 if test "$enableval" = yes; then
6097 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6099 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6104 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6105 if test "x$LINE" != x
; then
6106 eval "DEFAULT_$LINE"
6111 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6116 eval "$ac_cv_use_newgrid"
6117 if test "$no_cache" != 1; then
6118 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6121 if test "$wxUSE_NEW_GRID" = yes; then
6122 echo "$ac_t""yes" 1>&6
6124 echo "$ac_t""no" 1>&6
6128 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6129 echo "configure:6130: checking for --enable-imaglist" >&5
6131 # Check whether --enable-imaglist or --disable-imaglist was given.
6132 if test "${enable_imaglist+set}" = set; then
6133 enableval
="$enable_imaglist"
6135 if test "$enableval" = yes; then
6136 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6138 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6143 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6144 if test "x$LINE" != x
; then
6145 eval "DEFAULT_$LINE"
6150 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6155 eval "$ac_cv_use_imaglist"
6156 if test "$no_cache" != 1; then
6157 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6160 if test "$wxUSE_IMAGLIST" = yes; then
6161 echo "$ac_t""yes" 1>&6
6163 echo "$ac_t""no" 1>&6
6167 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6168 echo "configure:6169: checking for --enable-listbox" >&5
6170 # Check whether --enable-listbox or --disable-listbox was given.
6171 if test "${enable_listbox+set}" = set; then
6172 enableval
="$enable_listbox"
6174 if test "$enableval" = yes; then
6175 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6177 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6182 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6183 if test "x$LINE" != x
; then
6184 eval "DEFAULT_$LINE"
6189 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6194 eval "$ac_cv_use_listbox"
6195 if test "$no_cache" != 1; then
6196 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6199 if test "$wxUSE_LISTBOX" = yes; then
6200 echo "$ac_t""yes" 1>&6
6202 echo "$ac_t""no" 1>&6
6206 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6207 echo "configure:6208: checking for --enable-listctrl" >&5
6209 # Check whether --enable-listctrl or --disable-listctrl was given.
6210 if test "${enable_listctrl+set}" = set; then
6211 enableval
="$enable_listctrl"
6213 if test "$enableval" = yes; then
6214 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6216 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6221 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6222 if test "x$LINE" != x
; then
6223 eval "DEFAULT_$LINE"
6228 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6233 eval "$ac_cv_use_listctrl"
6234 if test "$no_cache" != 1; then
6235 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6238 if test "$wxUSE_LISTCTRL" = yes; then
6239 echo "$ac_t""yes" 1>&6
6241 echo "$ac_t""no" 1>&6
6245 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6246 echo "configure:6247: checking for --enable-notebook" >&5
6248 # Check whether --enable-notebook or --disable-notebook was given.
6249 if test "${enable_notebook+set}" = set; then
6250 enableval
="$enable_notebook"
6252 if test "$enableval" = yes; then
6253 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6255 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6260 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6261 if test "x$LINE" != x
; then
6262 eval "DEFAULT_$LINE"
6267 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6272 eval "$ac_cv_use_notebook"
6273 if test "$no_cache" != 1; then
6274 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6277 if test "$wxUSE_NOTEBOOK" = yes; then
6278 echo "$ac_t""yes" 1>&6
6280 echo "$ac_t""no" 1>&6
6284 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6285 echo "configure:6286: checking for --enable-propsheet" >&5
6287 # Check whether --enable-propsheet or --disable-propsheet was given.
6288 if test "${enable_propsheet+set}" = set; then
6289 enableval
="$enable_propsheet"
6291 if test "$enableval" = yes; then
6292 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6294 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6299 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6300 if test "x$LINE" != x
; then
6301 eval "DEFAULT_$LINE"
6306 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6311 eval "$ac_cv_use_propsheet"
6312 if test "$no_cache" != 1; then
6313 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6316 if test "$wxUSE_PROPSHEET" = yes; then
6317 echo "$ac_t""yes" 1>&6
6319 echo "$ac_t""no" 1>&6
6323 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6324 echo "configure:6325: checking for --enable-radiobox" >&5
6326 # Check whether --enable-radiobox or --disable-radiobox was given.
6327 if test "${enable_radiobox+set}" = set; then
6328 enableval
="$enable_radiobox"
6330 if test "$enableval" = yes; then
6331 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6333 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6338 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6339 if test "x$LINE" != x
; then
6340 eval "DEFAULT_$LINE"
6345 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6350 eval "$ac_cv_use_radiobox"
6351 if test "$no_cache" != 1; then
6352 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6355 if test "$wxUSE_RADIOBOX" = yes; then
6356 echo "$ac_t""yes" 1>&6
6358 echo "$ac_t""no" 1>&6
6362 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6363 echo "configure:6364: checking for --enable-radiobtn" >&5
6365 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6366 if test "${enable_radiobtn+set}" = set; then
6367 enableval
="$enable_radiobtn"
6369 if test "$enableval" = yes; then
6370 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6372 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6377 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6378 if test "x$LINE" != x
; then
6379 eval "DEFAULT_$LINE"
6384 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6389 eval "$ac_cv_use_radiobtn"
6390 if test "$no_cache" != 1; then
6391 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6394 if test "$wxUSE_RADIOBTN" = yes; then
6395 echo "$ac_t""yes" 1>&6
6397 echo "$ac_t""no" 1>&6
6401 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6402 echo "configure:6403: checking for --enable-sash" >&5
6404 # Check whether --enable-sash or --disable-sash was given.
6405 if test "${enable_sash+set}" = set; then
6406 enableval
="$enable_sash"
6408 if test "$enableval" = yes; then
6409 ac_cv_use_sash
='wxUSE_SASH=yes'
6411 ac_cv_use_sash
='wxUSE_SASH=no'
6416 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6417 if test "x$LINE" != x
; then
6418 eval "DEFAULT_$LINE"
6423 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6428 eval "$ac_cv_use_sash"
6429 if test "$no_cache" != 1; then
6430 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6433 if test "$wxUSE_SASH" = yes; then
6434 echo "$ac_t""yes" 1>&6
6436 echo "$ac_t""no" 1>&6
6440 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6441 echo "configure:6442: checking for --enable-scrollbar" >&5
6443 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6444 if test "${enable_scrollbar+set}" = set; then
6445 enableval
="$enable_scrollbar"
6447 if test "$enableval" = yes; then
6448 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6450 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6455 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6456 if test "x$LINE" != x
; then
6457 eval "DEFAULT_$LINE"
6462 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6467 eval "$ac_cv_use_scrollbar"
6468 if test "$no_cache" != 1; then
6469 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6472 if test "$wxUSE_SCROLLBAR" = yes; then
6473 echo "$ac_t""yes" 1>&6
6475 echo "$ac_t""no" 1>&6
6479 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6480 echo "configure:6481: checking for --enable-slider" >&5
6482 # Check whether --enable-slider or --disable-slider was given.
6483 if test "${enable_slider+set}" = set; then
6484 enableval
="$enable_slider"
6486 if test "$enableval" = yes; then
6487 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6489 ac_cv_use_slider
='wxUSE_SLIDER=no'
6494 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6495 if test "x$LINE" != x
; then
6496 eval "DEFAULT_$LINE"
6501 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6506 eval "$ac_cv_use_slider"
6507 if test "$no_cache" != 1; then
6508 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6511 if test "$wxUSE_SLIDER" = yes; then
6512 echo "$ac_t""yes" 1>&6
6514 echo "$ac_t""no" 1>&6
6518 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6519 echo "configure:6520: checking for --enable-spinbtn" >&5
6521 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6522 if test "${enable_spinbtn+set}" = set; then
6523 enableval
="$enable_spinbtn"
6525 if test "$enableval" = yes; then
6526 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6528 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6533 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6534 if test "x$LINE" != x
; then
6535 eval "DEFAULT_$LINE"
6540 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6545 eval "$ac_cv_use_spinbtn"
6546 if test "$no_cache" != 1; then
6547 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6550 if test "$wxUSE_SPINBTN" = yes; then
6551 echo "$ac_t""yes" 1>&6
6553 echo "$ac_t""no" 1>&6
6557 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6558 echo "configure:6559: checking for --enable-spinctrl" >&5
6560 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6561 if test "${enable_spinctrl+set}" = set; then
6562 enableval
="$enable_spinctrl"
6564 if test "$enableval" = yes; then
6565 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6567 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6572 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6573 if test "x$LINE" != x
; then
6574 eval "DEFAULT_$LINE"
6579 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6584 eval "$ac_cv_use_spinctrl"
6585 if test "$no_cache" != 1; then
6586 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6589 if test "$wxUSE_SPINCTRL" = yes; then
6590 echo "$ac_t""yes" 1>&6
6592 echo "$ac_t""no" 1>&6
6596 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6597 echo "configure:6598: checking for --enable-splitter" >&5
6599 # Check whether --enable-splitter or --disable-splitter was given.
6600 if test "${enable_splitter+set}" = set; then
6601 enableval
="$enable_splitter"
6603 if test "$enableval" = yes; then
6604 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6606 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6611 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6612 if test "x$LINE" != x
; then
6613 eval "DEFAULT_$LINE"
6618 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6623 eval "$ac_cv_use_splitter"
6624 if test "$no_cache" != 1; then
6625 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6628 if test "$wxUSE_SPLITTER" = yes; then
6629 echo "$ac_t""yes" 1>&6
6631 echo "$ac_t""no" 1>&6
6635 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6636 echo "configure:6637: checking for --enable-statbmp" >&5
6638 # Check whether --enable-statbmp or --disable-statbmp was given.
6639 if test "${enable_statbmp+set}" = set; then
6640 enableval
="$enable_statbmp"
6642 if test "$enableval" = yes; then
6643 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6645 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6650 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6651 if test "x$LINE" != x
; then
6652 eval "DEFAULT_$LINE"
6657 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6662 eval "$ac_cv_use_statbmp"
6663 if test "$no_cache" != 1; then
6664 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6667 if test "$wxUSE_STATBMP" = yes; then
6668 echo "$ac_t""yes" 1>&6
6670 echo "$ac_t""no" 1>&6
6674 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6675 echo "configure:6676: checking for --enable-statbox" >&5
6677 # Check whether --enable-statbox or --disable-statbox was given.
6678 if test "${enable_statbox+set}" = set; then
6679 enableval
="$enable_statbox"
6681 if test "$enableval" = yes; then
6682 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6684 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6689 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6690 if test "x$LINE" != x
; then
6691 eval "DEFAULT_$LINE"
6696 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6701 eval "$ac_cv_use_statbox"
6702 if test "$no_cache" != 1; then
6703 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6706 if test "$wxUSE_STATBOX" = yes; then
6707 echo "$ac_t""yes" 1>&6
6709 echo "$ac_t""no" 1>&6
6713 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6714 echo "configure:6715: checking for --enable-statline" >&5
6716 # Check whether --enable-statline or --disable-statline was given.
6717 if test "${enable_statline+set}" = set; then
6718 enableval
="$enable_statline"
6720 if test "$enableval" = yes; then
6721 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6723 ac_cv_use_statline
='wxUSE_STATLINE=no'
6728 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6729 if test "x$LINE" != x
; then
6730 eval "DEFAULT_$LINE"
6735 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6740 eval "$ac_cv_use_statline"
6741 if test "$no_cache" != 1; then
6742 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6745 if test "$wxUSE_STATLINE" = yes; then
6746 echo "$ac_t""yes" 1>&6
6748 echo "$ac_t""no" 1>&6
6752 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6753 echo "configure:6754: checking for --enable-stattext" >&5
6755 # Check whether --enable-stattext or --disable-stattext was given.
6756 if test "${enable_stattext+set}" = set; then
6757 enableval
="$enable_stattext"
6759 if test "$enableval" = yes; then
6760 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6762 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6767 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6768 if test "x$LINE" != x
; then
6769 eval "DEFAULT_$LINE"
6774 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6779 eval "$ac_cv_use_stattext"
6780 if test "$no_cache" != 1; then
6781 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6784 if test "$wxUSE_STATTEXT" = yes; then
6785 echo "$ac_t""yes" 1>&6
6787 echo "$ac_t""no" 1>&6
6791 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6792 echo "configure:6793: checking for --enable-statusbar" >&5
6794 # Check whether --enable-statusbar or --disable-statusbar was given.
6795 if test "${enable_statusbar+set}" = set; then
6796 enableval
="$enable_statusbar"
6798 if test "$enableval" = yes; then
6799 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6801 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6806 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6807 if test "x$LINE" != x
; then
6808 eval "DEFAULT_$LINE"
6813 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6818 eval "$ac_cv_use_statusbar"
6819 if test "$no_cache" != 1; then
6820 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6823 if test "$wxUSE_STATUSBAR" = yes; then
6824 echo "$ac_t""yes" 1>&6
6826 echo "$ac_t""no" 1>&6
6830 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6831 echo "configure:6832: checking for --enable-tabdialog" >&5
6833 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6834 if test "${enable_tabdialog+set}" = set; then
6835 enableval
="$enable_tabdialog"
6837 if test "$enableval" = yes; then
6838 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6840 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6845 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6846 if test "x$LINE" != x
; then
6847 eval "DEFAULT_$LINE"
6852 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6857 eval "$ac_cv_use_tabdialog"
6858 if test "$no_cache" != 1; then
6859 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6862 if test "$wxUSE_TABDIALOG" = yes; then
6863 echo "$ac_t""yes" 1>&6
6865 echo "$ac_t""no" 1>&6
6869 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6870 echo "configure:6871: checking for --enable-textctrl" >&5
6872 # Check whether --enable-textctrl or --disable-textctrl was given.
6873 if test "${enable_textctrl+set}" = set; then
6874 enableval
="$enable_textctrl"
6876 if test "$enableval" = yes; then
6877 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6879 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6884 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6885 if test "x$LINE" != x
; then
6886 eval "DEFAULT_$LINE"
6891 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6896 eval "$ac_cv_use_textctrl"
6897 if test "$no_cache" != 1; then
6898 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6901 if test "$wxUSE_TEXTCTRL" = yes; then
6902 echo "$ac_t""yes" 1>&6
6904 echo "$ac_t""no" 1>&6
6908 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6909 echo "configure:6910: checking for --enable-togglebtn" >&5
6911 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6912 if test "${enable_togglebtn+set}" = set; then
6913 enableval
="$enable_togglebtn"
6915 if test "$enableval" = yes; then
6916 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6918 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6923 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6924 if test "x$LINE" != x
; then
6925 eval "DEFAULT_$LINE"
6930 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6935 eval "$ac_cv_use_togglebtn"
6936 if test "$no_cache" != 1; then
6937 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6940 if test "$wxUSE_TOGGLEBTN" = yes; then
6941 echo "$ac_t""yes" 1>&6
6943 echo "$ac_t""no" 1>&6
6947 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6948 echo "configure:6949: checking for --enable-toolbar" >&5
6950 # Check whether --enable-toolbar or --disable-toolbar was given.
6951 if test "${enable_toolbar+set}" = set; then
6952 enableval
="$enable_toolbar"
6954 if test "$enableval" = yes; then
6955 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6957 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6962 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6963 if test "x$LINE" != x
; then
6964 eval "DEFAULT_$LINE"
6969 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6974 eval "$ac_cv_use_toolbar"
6975 if test "$no_cache" != 1; then
6976 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6979 if test "$wxUSE_TOOLBAR" = yes; then
6980 echo "$ac_t""yes" 1>&6
6982 echo "$ac_t""no" 1>&6
6986 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6987 echo "configure:6988: checking for --enable-tbarnative" >&5
6989 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6990 if test "${enable_tbarnative+set}" = set; then
6991 enableval
="$enable_tbarnative"
6993 if test "$enableval" = yes; then
6994 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6996 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7001 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7002 if test "x$LINE" != x
; then
7003 eval "DEFAULT_$LINE"
7008 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7013 eval "$ac_cv_use_tbarnative"
7014 if test "$no_cache" != 1; then
7015 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7018 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7019 echo "$ac_t""yes" 1>&6
7021 echo "$ac_t""no" 1>&6
7025 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7026 echo "configure:7027: checking for --enable-tbarsmpl" >&5
7028 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7029 if test "${enable_tbarsmpl+set}" = set; then
7030 enableval
="$enable_tbarsmpl"
7032 if test "$enableval" = yes; then
7033 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7035 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7040 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7041 if test "x$LINE" != x
; then
7042 eval "DEFAULT_$LINE"
7047 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7052 eval "$ac_cv_use_tbarsmpl"
7053 if test "$no_cache" != 1; then
7054 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7057 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7058 echo "$ac_t""yes" 1>&6
7060 echo "$ac_t""no" 1>&6
7064 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7065 echo "configure:7066: checking for --enable-treectrl" >&5
7067 # Check whether --enable-treectrl or --disable-treectrl was given.
7068 if test "${enable_treectrl+set}" = set; then
7069 enableval
="$enable_treectrl"
7071 if test "$enableval" = yes; then
7072 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7074 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7079 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7080 if test "x$LINE" != x
; then
7081 eval "DEFAULT_$LINE"
7086 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7091 eval "$ac_cv_use_treectrl"
7092 if test "$no_cache" != 1; then
7093 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7096 if test "$wxUSE_TREECTRL" = yes; then
7097 echo "$ac_t""yes" 1>&6
7099 echo "$ac_t""no" 1>&6
7103 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7104 echo "configure:7105: checking for --enable-tipwindow" >&5
7106 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7107 if test "${enable_tipwindow+set}" = set; then
7108 enableval
="$enable_tipwindow"
7110 if test "$enableval" = yes; then
7111 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7113 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7118 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7119 if test "x$LINE" != x
; then
7120 eval "DEFAULT_$LINE"
7125 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7130 eval "$ac_cv_use_tipwindow"
7131 if test "$no_cache" != 1; then
7132 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7135 if test "$wxUSE_TIPWINDOW" = yes; then
7136 echo "$ac_t""yes" 1>&6
7138 echo "$ac_t""no" 1>&6
7142 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7143 echo "configure:7144: checking for --enable-popupwin" >&5
7145 # Check whether --enable-popupwin or --disable-popupwin was given.
7146 if test "${enable_popupwin+set}" = set; then
7147 enableval
="$enable_popupwin"
7149 if test "$enableval" = yes; then
7150 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7152 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7157 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7158 if test "x$LINE" != x
; then
7159 eval "DEFAULT_$LINE"
7164 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7169 eval "$ac_cv_use_popupwin"
7170 if test "$no_cache" != 1; then
7171 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7174 if test "$wxUSE_POPUPWIN" = yes; then
7175 echo "$ac_t""yes" 1>&6
7177 echo "$ac_t""no" 1>&6
7183 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7184 echo "configure:7185: checking for --enable-commondlg" >&5
7186 # Check whether --enable-commondlg or --disable-commondlg was given.
7187 if test "${enable_commondlg+set}" = set; then
7188 enableval
="$enable_commondlg"
7190 if test "$enableval" = yes; then
7191 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7193 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7198 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7199 if test "x$LINE" != x
; then
7200 eval "DEFAULT_$LINE"
7205 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7210 eval "$ac_cv_use_commondlg"
7211 if test "$no_cache" != 1; then
7212 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7215 if test "$wxUSE_COMMONDLGS" = yes; then
7216 echo "$ac_t""yes" 1>&6
7218 echo "$ac_t""no" 1>&6
7222 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7223 echo "configure:7224: checking for --enable-choicedlg" >&5
7225 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7226 if test "${enable_choicedlg+set}" = set; then
7227 enableval
="$enable_choicedlg"
7229 if test "$enableval" = yes; then
7230 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7232 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7237 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7238 if test "x$LINE" != x
; then
7239 eval "DEFAULT_$LINE"
7244 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7249 eval "$ac_cv_use_choicedlg"
7250 if test "$no_cache" != 1; then
7251 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7254 if test "$wxUSE_CHOICEDLG" = yes; then
7255 echo "$ac_t""yes" 1>&6
7257 echo "$ac_t""no" 1>&6
7261 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7262 echo "configure:7263: checking for --enable-coldlg" >&5
7264 # Check whether --enable-coldlg or --disable-coldlg was given.
7265 if test "${enable_coldlg+set}" = set; then
7266 enableval
="$enable_coldlg"
7268 if test "$enableval" = yes; then
7269 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7271 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7276 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7277 if test "x$LINE" != x
; then
7278 eval "DEFAULT_$LINE"
7283 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7288 eval "$ac_cv_use_coldlg"
7289 if test "$no_cache" != 1; then
7290 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7293 if test "$wxUSE_COLOURDLG" = yes; then
7294 echo "$ac_t""yes" 1>&6
7296 echo "$ac_t""no" 1>&6
7300 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7301 echo "configure:7302: checking for --enable-filedlg" >&5
7303 # Check whether --enable-filedlg or --disable-filedlg was given.
7304 if test "${enable_filedlg+set}" = set; then
7305 enableval
="$enable_filedlg"
7307 if test "$enableval" = yes; then
7308 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7310 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7315 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7316 if test "x$LINE" != x
; then
7317 eval "DEFAULT_$LINE"
7322 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7327 eval "$ac_cv_use_filedlg"
7328 if test "$no_cache" != 1; then
7329 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7332 if test "$wxUSE_FILEDLG" = yes; then
7333 echo "$ac_t""yes" 1>&6
7335 echo "$ac_t""no" 1>&6
7339 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7340 echo "configure:7341: checking for --enable-finddlg" >&5
7342 # Check whether --enable-finddlg or --disable-finddlg was given.
7343 if test "${enable_finddlg+set}" = set; then
7344 enableval
="$enable_finddlg"
7346 if test "$enableval" = yes; then
7347 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7349 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7354 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7355 if test "x$LINE" != x
; then
7356 eval "DEFAULT_$LINE"
7361 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7366 eval "$ac_cv_use_finddlg"
7367 if test "$no_cache" != 1; then
7368 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7371 if test "$wxUSE_FINDREPLDLG" = yes; then
7372 echo "$ac_t""yes" 1>&6
7374 echo "$ac_t""no" 1>&6
7378 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7379 echo "configure:7380: checking for --enable-fontdlg" >&5
7381 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7382 if test "${enable_fontdlg+set}" = set; then
7383 enableval
="$enable_fontdlg"
7385 if test "$enableval" = yes; then
7386 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7388 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7393 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7394 if test "x$LINE" != x
; then
7395 eval "DEFAULT_$LINE"
7400 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7405 eval "$ac_cv_use_fontdlg"
7406 if test "$no_cache" != 1; then
7407 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7410 if test "$wxUSE_FONTDLG" = yes; then
7411 echo "$ac_t""yes" 1>&6
7413 echo "$ac_t""no" 1>&6
7417 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7418 echo "configure:7419: checking for --enable-dirdlg" >&5
7420 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7421 if test "${enable_dirdlg+set}" = set; then
7422 enableval
="$enable_dirdlg"
7424 if test "$enableval" = yes; then
7425 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7427 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7432 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7433 if test "x$LINE" != x
; then
7434 eval "DEFAULT_$LINE"
7439 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7444 eval "$ac_cv_use_dirdlg"
7445 if test "$no_cache" != 1; then
7446 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7449 if test "$wxUSE_DIRDLG" = yes; then
7450 echo "$ac_t""yes" 1>&6
7452 echo "$ac_t""no" 1>&6
7456 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7457 echo "configure:7458: checking for --enable-msgdlg" >&5
7459 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7460 if test "${enable_msgdlg+set}" = set; then
7461 enableval
="$enable_msgdlg"
7463 if test "$enableval" = yes; then
7464 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7466 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7471 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7472 if test "x$LINE" != x
; then
7473 eval "DEFAULT_$LINE"
7478 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7483 eval "$ac_cv_use_msgdlg"
7484 if test "$no_cache" != 1; then
7485 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7488 if test "$wxUSE_MSGDLG" = yes; then
7489 echo "$ac_t""yes" 1>&6
7491 echo "$ac_t""no" 1>&6
7495 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7496 echo "configure:7497: checking for --enable-numberdlg" >&5
7498 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7499 if test "${enable_numberdlg+set}" = set; then
7500 enableval
="$enable_numberdlg"
7502 if test "$enableval" = yes; then
7503 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7505 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7510 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7511 if test "x$LINE" != x
; then
7512 eval "DEFAULT_$LINE"
7517 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7522 eval "$ac_cv_use_numberdlg"
7523 if test "$no_cache" != 1; then
7524 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7527 if test "$wxUSE_NUMBERDLG" = yes; then
7528 echo "$ac_t""yes" 1>&6
7530 echo "$ac_t""no" 1>&6
7534 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7535 echo "configure:7536: checking for --enable-splash" >&5
7537 # Check whether --enable-splash or --disable-splash was given.
7538 if test "${enable_splash+set}" = set; then
7539 enableval
="$enable_splash"
7541 if test "$enableval" = yes; then
7542 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7544 ac_cv_use_splash
='wxUSE_SPLASH=no'
7549 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7550 if test "x$LINE" != x
; then
7551 eval "DEFAULT_$LINE"
7556 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7561 eval "$ac_cv_use_splash"
7562 if test "$no_cache" != 1; then
7563 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7566 if test "$wxUSE_SPLASH" = yes; then
7567 echo "$ac_t""yes" 1>&6
7569 echo "$ac_t""no" 1>&6
7573 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7574 echo "configure:7575: checking for --enable-textdlg" >&5
7576 # Check whether --enable-textdlg or --disable-textdlg was given.
7577 if test "${enable_textdlg+set}" = set; then
7578 enableval
="$enable_textdlg"
7580 if test "$enableval" = yes; then
7581 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7583 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7588 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7589 if test "x$LINE" != x
; then
7590 eval "DEFAULT_$LINE"
7595 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7600 eval "$ac_cv_use_textdlg"
7601 if test "$no_cache" != 1; then
7602 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7605 if test "$wxUSE_TEXTDLG" = yes; then
7606 echo "$ac_t""yes" 1>&6
7608 echo "$ac_t""no" 1>&6
7612 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7613 echo "configure:7614: checking for --enable-tipdlg" >&5
7615 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7616 if test "${enable_tipdlg+set}" = set; then
7617 enableval
="$enable_tipdlg"
7619 if test "$enableval" = yes; then
7620 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7622 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7627 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7628 if test "x$LINE" != x
; then
7629 eval "DEFAULT_$LINE"
7634 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7639 eval "$ac_cv_use_tipdlg"
7640 if test "$no_cache" != 1; then
7641 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7644 if test "$wxUSE_STARTUP_TIPS" = yes; then
7645 echo "$ac_t""yes" 1>&6
7647 echo "$ac_t""no" 1>&6
7651 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7652 echo "configure:7653: checking for --enable-progressdlg" >&5
7654 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7655 if test "${enable_progressdlg+set}" = set; then
7656 enableval
="$enable_progressdlg"
7658 if test "$enableval" = yes; then
7659 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7661 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7666 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7667 if test "x$LINE" != x
; then
7668 eval "DEFAULT_$LINE"
7673 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7678 eval "$ac_cv_use_progressdlg"
7679 if test "$no_cache" != 1; then
7680 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7683 if test "$wxUSE_PROGRESSDLG" = yes; then
7684 echo "$ac_t""yes" 1>&6
7686 echo "$ac_t""no" 1>&6
7690 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7691 echo "configure:7692: checking for --enable-wizarddlg" >&5
7693 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7694 if test "${enable_wizarddlg+set}" = set; then
7695 enableval
="$enable_wizarddlg"
7697 if test "$enableval" = yes; then
7698 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7700 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7705 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x
; then
7707 eval "DEFAULT_$LINE"
7712 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7717 eval "$ac_cv_use_wizarddlg"
7718 if test "$no_cache" != 1; then
7719 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7722 if test "$wxUSE_WIZARDDLG" = yes; then
7723 echo "$ac_t""yes" 1>&6
7725 echo "$ac_t""no" 1>&6
7731 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7732 echo "configure:7733: checking for --enable-menus" >&5
7734 # Check whether --enable-menus or --disable-menus was given.
7735 if test "${enable_menus+set}" = set; then
7736 enableval
="$enable_menus"
7738 if test "$enableval" = yes; then
7739 ac_cv_use_menus
='wxUSE_MENUS=yes'
7741 ac_cv_use_menus
='wxUSE_MENUS=no'
7746 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7747 if test "x$LINE" != x
; then
7748 eval "DEFAULT_$LINE"
7753 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7758 eval "$ac_cv_use_menus"
7759 if test "$no_cache" != 1; then
7760 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7763 if test "$wxUSE_MENUS" = yes; then
7764 echo "$ac_t""yes" 1>&6
7766 echo "$ac_t""no" 1>&6
7770 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7771 echo "configure:7772: checking for --enable-miniframe" >&5
7773 # Check whether --enable-miniframe or --disable-miniframe was given.
7774 if test "${enable_miniframe+set}" = set; then
7775 enableval
="$enable_miniframe"
7777 if test "$enableval" = yes; then
7778 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7780 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7785 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7786 if test "x$LINE" != x
; then
7787 eval "DEFAULT_$LINE"
7792 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7797 eval "$ac_cv_use_miniframe"
7798 if test "$no_cache" != 1; then
7799 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7802 if test "$wxUSE_MINIFRAME" = yes; then
7803 echo "$ac_t""yes" 1>&6
7805 echo "$ac_t""no" 1>&6
7809 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7810 echo "configure:7811: checking for --enable-tooltips" >&5
7812 # Check whether --enable-tooltips or --disable-tooltips was given.
7813 if test "${enable_tooltips+set}" = set; then
7814 enableval
="$enable_tooltips"
7816 if test "$enableval" = yes; then
7817 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7819 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7824 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7825 if test "x$LINE" != x
; then
7826 eval "DEFAULT_$LINE"
7831 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7836 eval "$ac_cv_use_tooltips"
7837 if test "$no_cache" != 1; then
7838 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7841 if test "$wxUSE_TOOLTIPS" = yes; then
7842 echo "$ac_t""yes" 1>&6
7844 echo "$ac_t""no" 1>&6
7848 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7849 echo "configure:7850: checking for --enable-splines" >&5
7851 # Check whether --enable-splines or --disable-splines was given.
7852 if test "${enable_splines+set}" = set; then
7853 enableval
="$enable_splines"
7855 if test "$enableval" = yes; then
7856 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7858 ac_cv_use_splines
='wxUSE_SPLINES=no'
7863 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7864 if test "x$LINE" != x
; then
7865 eval "DEFAULT_$LINE"
7870 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7875 eval "$ac_cv_use_splines"
7876 if test "$no_cache" != 1; then
7877 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7880 if test "$wxUSE_SPLINES" = yes; then
7881 echo "$ac_t""yes" 1>&6
7883 echo "$ac_t""no" 1>&6
7887 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7888 echo "configure:7889: checking for --enable-validators" >&5
7890 # Check whether --enable-validators or --disable-validators was given.
7891 if test "${enable_validators+set}" = set; then
7892 enableval
="$enable_validators"
7894 if test "$enableval" = yes; then
7895 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7897 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7902 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7903 if test "x$LINE" != x
; then
7904 eval "DEFAULT_$LINE"
7909 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7914 eval "$ac_cv_use_validators"
7915 if test "$no_cache" != 1; then
7916 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7919 if test "$wxUSE_VALIDATORS" = yes; then
7920 echo "$ac_t""yes" 1>&6
7922 echo "$ac_t""no" 1>&6
7926 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7927 echo "configure:7928: checking for --enable-busyinfo" >&5
7929 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7930 if test "${enable_busyinfo+set}" = set; then
7931 enableval
="$enable_busyinfo"
7933 if test "$enableval" = yes; then
7934 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7936 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7941 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7942 if test "x$LINE" != x
; then
7943 eval "DEFAULT_$LINE"
7948 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7953 eval "$ac_cv_use_busyinfo"
7954 if test "$no_cache" != 1; then
7955 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7958 if test "$wxUSE_BUSYINFO" = yes; then
7959 echo "$ac_t""yes" 1>&6
7961 echo "$ac_t""no" 1>&6
7965 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7966 echo "configure:7967: checking for --enable-joystick" >&5
7968 # Check whether --enable-joystick or --disable-joystick was given.
7969 if test "${enable_joystick+set}" = set; then
7970 enableval
="$enable_joystick"
7972 if test "$enableval" = yes; then
7973 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7975 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7980 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7981 if test "x$LINE" != x
; then
7982 eval "DEFAULT_$LINE"
7987 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7992 eval "$ac_cv_use_joystick"
7993 if test "$no_cache" != 1; then
7994 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7997 if test "$wxUSE_JOYSTICK" = yes; then
7998 echo "$ac_t""yes" 1>&6
8000 echo "$ac_t""no" 1>&6
8004 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8005 echo "configure:8006: checking for --enable-metafile" >&5
8007 # Check whether --enable-metafile or --disable-metafile was given.
8008 if test "${enable_metafile+set}" = set; then
8009 enableval
="$enable_metafile"
8011 if test "$enableval" = yes; then
8012 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8014 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8019 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8020 if test "x$LINE" != x
; then
8021 eval "DEFAULT_$LINE"
8026 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8031 eval "$ac_cv_use_metafile"
8032 if test "$no_cache" != 1; then
8033 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8036 if test "$wxUSE_METAFILE" = yes; then
8037 echo "$ac_t""yes" 1>&6
8039 echo "$ac_t""no" 1>&6
8043 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8044 echo "configure:8045: checking for --enable-dragimage" >&5
8046 # Check whether --enable-dragimage or --disable-dragimage was given.
8047 if test "${enable_dragimage+set}" = set; then
8048 enableval
="$enable_dragimage"
8050 if test "$enableval" = yes; then
8051 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8053 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8058 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8059 if test "x$LINE" != x
; then
8060 eval "DEFAULT_$LINE"
8065 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8070 eval "$ac_cv_use_dragimage"
8071 if test "$no_cache" != 1; then
8072 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8075 if test "$wxUSE_DRAGIMAGE" = yes; then
8076 echo "$ac_t""yes" 1>&6
8078 echo "$ac_t""no" 1>&6
8084 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8085 echo "configure:8086: checking for --enable-palette" >&5
8087 # Check whether --enable-palette or --disable-palette was given.
8088 if test "${enable_palette+set}" = set; then
8089 enableval
="$enable_palette"
8091 if test "$enableval" = yes; then
8092 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8094 ac_cv_use_palette
='wxUSE_PALETTE=no'
8099 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8100 if test "x$LINE" != x
; then
8101 eval "DEFAULT_$LINE"
8106 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8111 eval "$ac_cv_use_palette"
8112 if test "$no_cache" != 1; then
8113 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8116 if test "$wxUSE_PALETTE" = yes; then
8117 echo "$ac_t""yes" 1>&6
8119 echo "$ac_t""no" 1>&6
8123 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8124 echo "configure:8125: checking for --enable-image" >&5
8126 # Check whether --enable-image or --disable-image was given.
8127 if test "${enable_image+set}" = set; then
8128 enableval
="$enable_image"
8130 if test "$enableval" = yes; then
8131 ac_cv_use_image
='wxUSE_IMAGE=yes'
8133 ac_cv_use_image
='wxUSE_IMAGE=no'
8138 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8139 if test "x$LINE" != x
; then
8140 eval "DEFAULT_$LINE"
8145 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8150 eval "$ac_cv_use_image"
8151 if test "$no_cache" != 1; then
8152 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8155 if test "$wxUSE_IMAGE" = yes; then
8156 echo "$ac_t""yes" 1>&6
8158 echo "$ac_t""no" 1>&6
8162 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8163 echo "configure:8164: checking for --enable-gif" >&5
8165 # Check whether --enable-gif or --disable-gif was given.
8166 if test "${enable_gif+set}" = set; then
8167 enableval
="$enable_gif"
8169 if test "$enableval" = yes; then
8170 ac_cv_use_gif
='wxUSE_GIF=yes'
8172 ac_cv_use_gif
='wxUSE_GIF=no'
8177 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8178 if test "x$LINE" != x
; then
8179 eval "DEFAULT_$LINE"
8184 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8189 eval "$ac_cv_use_gif"
8190 if test "$no_cache" != 1; then
8191 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8194 if test "$wxUSE_GIF" = yes; then
8195 echo "$ac_t""yes" 1>&6
8197 echo "$ac_t""no" 1>&6
8201 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8202 echo "configure:8203: checking for --enable-pcx" >&5
8204 # Check whether --enable-pcx or --disable-pcx was given.
8205 if test "${enable_pcx+set}" = set; then
8206 enableval
="$enable_pcx"
8208 if test "$enableval" = yes; then
8209 ac_cv_use_pcx
='wxUSE_PCX=yes'
8211 ac_cv_use_pcx
='wxUSE_PCX=no'
8216 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8217 if test "x$LINE" != x
; then
8218 eval "DEFAULT_$LINE"
8223 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8228 eval "$ac_cv_use_pcx"
8229 if test "$no_cache" != 1; then
8230 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8233 if test "$wxUSE_PCX" = yes; then
8234 echo "$ac_t""yes" 1>&6
8236 echo "$ac_t""no" 1>&6
8240 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8241 echo "configure:8242: checking for --enable-iff" >&5
8243 # Check whether --enable-iff or --disable-iff was given.
8244 if test "${enable_iff+set}" = set; then
8245 enableval
="$enable_iff"
8247 if test "$enableval" = yes; then
8248 ac_cv_use_iff
='wxUSE_IFF=yes'
8250 ac_cv_use_iff
='wxUSE_IFF=no'
8255 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8256 if test "x$LINE" != x
; then
8257 eval "DEFAULT_$LINE"
8262 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8267 eval "$ac_cv_use_iff"
8268 if test "$no_cache" != 1; then
8269 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8272 if test "$wxUSE_IFF" = yes; then
8273 echo "$ac_t""yes" 1>&6
8275 echo "$ac_t""no" 1>&6
8279 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8280 echo "configure:8281: checking for --enable-pnm" >&5
8282 # Check whether --enable-pnm or --disable-pnm was given.
8283 if test "${enable_pnm+set}" = set; then
8284 enableval
="$enable_pnm"
8286 if test "$enableval" = yes; then
8287 ac_cv_use_pnm
='wxUSE_PNM=yes'
8289 ac_cv_use_pnm
='wxUSE_PNM=no'
8294 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8295 if test "x$LINE" != x
; then
8296 eval "DEFAULT_$LINE"
8301 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8306 eval "$ac_cv_use_pnm"
8307 if test "$no_cache" != 1; then
8308 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8311 if test "$wxUSE_PNM" = yes; then
8312 echo "$ac_t""yes" 1>&6
8314 echo "$ac_t""no" 1>&6
8318 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8319 echo "configure:8320: checking for --enable-xpm" >&5
8321 # Check whether --enable-xpm or --disable-xpm was given.
8322 if test "${enable_xpm+set}" = set; then
8323 enableval
="$enable_xpm"
8325 if test "$enableval" = yes; then
8326 ac_cv_use_xpm
='wxUSE_XPM=yes'
8328 ac_cv_use_xpm
='wxUSE_XPM=no'
8333 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8334 if test "x$LINE" != x
; then
8335 eval "DEFAULT_$LINE"
8340 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8345 eval "$ac_cv_use_xpm"
8346 if test "$no_cache" != 1; then
8347 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8350 if test "$wxUSE_XPM" = yes; then
8351 echo "$ac_t""yes" 1>&6
8353 echo "$ac_t""no" 1>&6
8357 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8358 echo "configure:8359: checking for --enable-ico_cur" >&5
8360 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8361 if test "${enable_ico_cur+set}" = set; then
8362 enableval
="$enable_ico_cur"
8364 if test "$enableval" = yes; then
8365 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8367 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8372 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8373 if test "x$LINE" != x
; then
8374 eval "DEFAULT_$LINE"
8379 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8384 eval "$ac_cv_use_ico_cur"
8385 if test "$no_cache" != 1; then
8386 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8389 if test "$wxUSE_ICO_CUR" = yes; then
8390 echo "$ac_t""yes" 1>&6
8392 echo "$ac_t""no" 1>&6
8399 *-pc-os2_emx | *-pc-os2-emx )
8410 echo "saving argument cache $wx_arg_cache_file"
8411 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8415 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8416 echo "configure:8417: checking for toolkit" >&5
8418 if test "$wxUSE_GUI" = "yes"; then
8420 if test "$USE_BEOS" = 1; then
8421 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8424 if test "$TOOLKIT_GIVEN" = 1; then
8425 for toolkit
in `echo $ALL_TOOLKITS`; do
8427 eval "value=\$${var}"
8428 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8431 for toolkit
in `echo $ALL_TOOLKITS`; do
8432 if test "$has_toolkit_in_cache" != 1; then
8433 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8435 var
=DEFAULT_wxUSE_
$toolkit
8437 eval "wxUSE_$toolkit=\$${var}"
8441 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8442 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8445 *-pc-os2_emx | *-pc-os2-emx )
8446 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8449 case "$NUM_TOOLKITS" in
8453 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8456 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8459 for toolkit
in `echo $ALL_TOOLKITS`; do
8461 eval "value=\$${var}"
8462 if test "x$value" != x
; then
8463 cache_var
=CACHE_
$toolkit
8464 eval "cache=\$${cache_var}"
8465 if test "$cache" = 1; then
8466 echo "$var=$value" >> ${wx_arg_cache_file}
8468 if test "$value" = 1; then
8469 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8470 echo "$ac_t""$toolkit_echo" 1>&6
8475 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8482 if test "$wxUSE_MSW" = 1 ; then
8491 if test "$define_win32" = 1 ; then
8494 cat >> confdefs.h
<<\EOF
8498 cat >> confdefs.h
<<\EOF
8502 cat >> confdefs.h
<<\EOF
8503 #define __WINDOWS__ 1
8506 cat >> confdefs.h
<<\EOF
8507 #define __GNUWIN32__ 1
8510 cat >> confdefs.h
<<\EOF
8514 cat >> confdefs.h
<<\EOF
8515 #define WINVER 0x0400
8523 if test "$USE_UNIX" = 1 ; then
8525 cat >> confdefs.h
<<\EOF
8532 cat > confcache
<<\EOF
8533 # This file is a shell script that caches the results of configure
8534 # tests run on this system so they can be shared between configure
8535 # scripts and configure runs. It is not useful on other systems.
8536 # If it contains results you don't want to keep, you may remove or edit it.
8538 # By default, configure uses ./config.cache as the cache file,
8539 # creating it if it does not exist already. You can give configure
8540 # the --cache-file=FILE option to use a different cache file; that is
8541 # what configure does when it calls configure scripts in
8542 # subdirectories, so they share the cache.
8543 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8544 # config.status only pays attention to the cache file if you give it the
8545 # --recheck option to rerun configure.
8548 # The following way of writing the cache mishandles newlines in values,
8549 # but we know of no workaround that is simple, portable, and efficient.
8550 # So, don't put newlines in cache variables' values.
8551 # Ultrix sh set writes to stderr and can't be redirected directly,
8552 # and sets the high bit in the cache file unless we assign to the vars.
8554 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8556 # `set' does not quote correctly, so add quotes (double-quote substitution
8557 # turns \\\\ into \\, and sed turns \\ into \).
8559 -e "s/'/'\\\\''/g" \
8560 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8563 # `set' quotes correctly as required by POSIX, so do not add quotes.
8564 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8567 if cmp -s $cache_file confcache
; then
8570 if test -w $cache_file; then
8571 echo "updating cache $cache_file"
8572 cat confcache
> $cache_file
8574 echo "not updating unwritable cache $cache_file"
8580 if test "$build" != "$host" ; then
8581 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8585 RANLIB
=$host_alias-ranlib
8586 DLLTOOL
=$host_alias-dlltool
8587 RESCOMP
=$host_alias-windres
8590 STRIP
=$host_alias-strip
8592 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8597 # Extract the first word of "gcc", so it can be a program name with args.
8598 set dummy gcc
; ac_word
=$2
8599 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8600 echo "configure:8601: checking for $ac_word" >&5
8601 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8602 echo $ac_n "(cached) $ac_c" 1>&6
8604 if test -n "$CC"; then
8605 ac_cv_prog_CC
="$CC" # Let the user override the test.
8607 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8609 for ac_dir
in $ac_dummy; do
8610 test -z "$ac_dir" && ac_dir
=.
8611 if test -f $ac_dir/$ac_word; then
8620 if test -n "$CC"; then
8621 echo "$ac_t""$CC" 1>&6
8623 echo "$ac_t""no" 1>&6
8626 if test -z "$CC"; then
8627 # Extract the first word of "cc", so it can be a program name with args.
8628 set dummy cc
; ac_word
=$2
8629 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8630 echo "configure:8631: checking for $ac_word" >&5
8631 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8632 echo $ac_n "(cached) $ac_c" 1>&6
8634 if test -n "$CC"; then
8635 ac_cv_prog_CC
="$CC" # Let the user override the test.
8637 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8640 for ac_dir
in $ac_dummy; do
8641 test -z "$ac_dir" && ac_dir
=.
8642 if test -f $ac_dir/$ac_word; then
8643 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8644 ac_prog_rejected
=yes
8652 if test $ac_prog_rejected = yes; then
8653 # We found a bogon in the path, so make sure we never use it.
8654 set dummy
$ac_cv_prog_CC
8656 if test $# -gt 0; then
8657 # We chose a different compiler from the bogus one.
8658 # However, it has the same basename, so the bogon will be chosen
8659 # first if we set CC to just the basename; use the full file name.
8661 set dummy
"$ac_dir/$ac_word" "$@"
8669 if test -n "$CC"; then
8670 echo "$ac_t""$CC" 1>&6
8672 echo "$ac_t""no" 1>&6
8675 if test -z "$CC"; then
8676 case "`uname -s`" in
8678 # Extract the first word of "cl", so it can be a program name with args.
8679 set dummy cl
; ac_word
=$2
8680 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8681 echo "configure:8682: checking for $ac_word" >&5
8682 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8683 echo $ac_n "(cached) $ac_c" 1>&6
8685 if test -n "$CC"; then
8686 ac_cv_prog_CC
="$CC" # Let the user override the test.
8688 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8690 for ac_dir
in $ac_dummy; do
8691 test -z "$ac_dir" && ac_dir
=.
8692 if test -f $ac_dir/$ac_word; then
8701 if test -n "$CC"; then
8702 echo "$ac_t""$CC" 1>&6
8704 echo "$ac_t""no" 1>&6
8709 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8712 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8713 echo "configure:8714: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8716 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8717 ac_cpp
='$CPP $CPPFLAGS'
8718 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8719 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8720 cross_compiling
=$ac_cv_prog_cc_cross
8722 cat > conftest.
$ac_ext << EOF
8724 #line 8725 "configure"
8725 #include "confdefs.h"
8729 if { (eval echo configure
:8730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8730 ac_cv_prog_cc_works
=yes
8731 # If we can't run a trivial program, we are probably using a cross compiler.
8732 if (.
/conftest
; exit) 2>/dev
/null
; then
8733 ac_cv_prog_cc_cross
=no
8735 ac_cv_prog_cc_cross
=yes
8738 echo "configure: failed program was:" >&5
8739 cat conftest.
$ac_ext >&5
8740 ac_cv_prog_cc_works
=no
8744 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8745 ac_cpp
='$CPP $CPPFLAGS'
8746 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8747 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8748 cross_compiling
=$ac_cv_prog_cc_cross
8750 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8751 if test $ac_cv_prog_cc_works = no
; then
8752 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8754 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8755 echo "configure:8756: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8756 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8757 cross_compiling
=$ac_cv_prog_cc_cross
8759 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8760 echo "configure:8761: checking whether we are using GNU C" >&5
8761 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8762 echo $ac_n "(cached) $ac_c" 1>&6
8764 cat > conftest.c
<<EOF
8769 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8776 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8778 if test $ac_cv_prog_gcc = yes; then
8784 ac_test_CFLAGS
="${CFLAGS+set}"
8785 ac_save_CFLAGS
="$CFLAGS"
8787 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8788 echo "configure:8789: checking whether ${CC-cc} accepts -g" >&5
8789 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8790 echo $ac_n "(cached) $ac_c" 1>&6
8792 echo 'void f(){}' > conftest.c
8793 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8802 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8803 if test "$ac_test_CFLAGS" = set; then
8804 CFLAGS
="$ac_save_CFLAGS"
8805 elif test $ac_cv_prog_cc_g = yes; then
8806 if test "$GCC" = yes; then
8812 if test "$GCC" = yes; then
8820 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8821 echo "configure:8822: checking how to run the C preprocessor" >&5
8822 # On Suns, sometimes $CPP names a directory.
8823 if test -n "$CPP" && test -d "$CPP"; then
8826 if test -z "$CPP"; then
8827 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8828 echo $ac_n "(cached) $ac_c" 1>&6
8830 # This must be in double quotes, not single quotes, because CPP may get
8831 # substituted into the Makefile and "${CC-cc}" will confuse make.
8833 # On the NeXT, cc -E runs the code through the compiler's parser,
8834 # not just through cpp.
8835 cat > conftest.
$ac_ext <<EOF
8836 #line 8837 "configure"
8837 #include "confdefs.h"
8841 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8842 { (eval echo configure
:8843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8843 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8844 if test -z "$ac_err"; then
8848 echo "configure: failed program was:" >&5
8849 cat conftest.
$ac_ext >&5
8851 CPP
="${CC-cc} -E -traditional-cpp"
8852 cat > conftest.
$ac_ext <<EOF
8853 #line 8854 "configure"
8854 #include "confdefs.h"
8858 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8859 { (eval echo configure
:8860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8860 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8861 if test -z "$ac_err"; then
8865 echo "configure: failed program was:" >&5
8866 cat conftest.
$ac_ext >&5
8868 CPP
="${CC-cc} -nologo -E"
8869 cat > conftest.
$ac_ext <<EOF
8870 #line 8871 "configure"
8871 #include "confdefs.h"
8875 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8876 { (eval echo configure
:8877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8877 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8878 if test -z "$ac_err"; then
8882 echo "configure: failed program was:" >&5
8883 cat conftest.
$ac_ext >&5
8892 ac_cv_prog_CPP
="$CPP"
8894 CPP
="$ac_cv_prog_CPP"
8896 ac_cv_prog_CPP
="$CPP"
8898 echo "$ac_t""$CPP" 1>&6
8900 if test $ac_cv_prog_gcc = yes; then
8901 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8902 echo "configure:8903: checking whether ${CC-cc} needs -traditional" >&5
8903 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8904 echo $ac_n "(cached) $ac_c" 1>&6
8906 ac_pattern
="Autoconf.*'x'"
8907 cat > conftest.
$ac_ext <<EOF
8908 #line 8909 "configure"
8909 #include "confdefs.h"
8913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8914 egrep "$ac_pattern" >/dev
/null
2>&1; then
8916 ac_cv_prog_gcc_traditional
=yes
8919 ac_cv_prog_gcc_traditional
=no
8924 if test $ac_cv_prog_gcc_traditional = no
; then
8925 cat > conftest.
$ac_ext <<EOF
8926 #line 8927 "configure"
8927 #include "confdefs.h"
8931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8932 egrep "$ac_pattern" >/dev
/null
2>&1; then
8934 ac_cv_prog_gcc_traditional
=yes
8941 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8942 if test $ac_cv_prog_gcc_traditional = yes; then
8943 CC
="$CC -traditional"
8950 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8951 ac_cpp
='$CXXCPP $CPPFLAGS'
8952 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8953 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8954 cross_compiling
=$ac_cv_prog_cxx_cross
8957 CXXFLAGS
=${CXXFLAGS:=}
8958 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8960 # Extract the first word of "$ac_prog", so it can be a program name with args.
8961 set dummy
$ac_prog; ac_word
=$2
8962 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8963 echo "configure:8964: checking for $ac_word" >&5
8964 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8965 echo $ac_n "(cached) $ac_c" 1>&6
8967 if test -n "$CXX"; then
8968 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8970 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8972 for ac_dir
in $ac_dummy; do
8973 test -z "$ac_dir" && ac_dir
=.
8974 if test -f $ac_dir/$ac_word; then
8975 ac_cv_prog_CXX
="$ac_prog"
8982 CXX
="$ac_cv_prog_CXX"
8983 if test -n "$CXX"; then
8984 echo "$ac_t""$CXX" 1>&6
8986 echo "$ac_t""no" 1>&6
8989 test -n "$CXX" && break
8991 test -n "$CXX" || CXX
="gcc"
8994 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8995 echo "configure:8996: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8998 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8999 ac_cpp
='$CXXCPP $CPPFLAGS'
9000 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9001 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9002 cross_compiling
=$ac_cv_prog_cxx_cross
9004 cat > conftest.
$ac_ext << EOF
9006 #line 9007 "configure"
9007 #include "confdefs.h"
9009 int main(){return(0);}
9011 if { (eval echo configure
:9012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9012 ac_cv_prog_cxx_works
=yes
9013 # If we can't run a trivial program, we are probably using a cross compiler.
9014 if (.
/conftest
; exit) 2>/dev
/null
; then
9015 ac_cv_prog_cxx_cross
=no
9017 ac_cv_prog_cxx_cross
=yes
9020 echo "configure: failed program was:" >&5
9021 cat conftest.
$ac_ext >&5
9022 ac_cv_prog_cxx_works
=no
9026 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9027 ac_cpp
='$CXXCPP $CPPFLAGS'
9028 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9029 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9030 cross_compiling
=$ac_cv_prog_cxx_cross
9032 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9033 if test $ac_cv_prog_cxx_works = no
; then
9034 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9036 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9037 echo "configure:9038: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9038 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9039 cross_compiling
=$ac_cv_prog_cxx_cross
9041 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9042 echo "configure:9043: checking whether we are using GNU C++" >&5
9043 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9044 echo $ac_n "(cached) $ac_c" 1>&6
9046 cat > conftest.C
<<EOF
9051 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9058 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9060 if test $ac_cv_prog_gxx = yes; then
9066 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9067 ac_save_CXXFLAGS
="$CXXFLAGS"
9069 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9070 echo "configure:9071: checking whether ${CXX-g++} accepts -g" >&5
9071 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9072 echo $ac_n "(cached) $ac_c" 1>&6
9074 echo 'void f(){}' > conftest.cc
9075 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9076 ac_cv_prog_cxx_g
=yes
9084 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9085 if test "$ac_test_CXXFLAGS" = set; then
9086 CXXFLAGS
="$ac_save_CXXFLAGS"
9087 elif test $ac_cv_prog_cxx_g = yes; then
9088 if test "$GXX" = yes; then
9094 if test "$GXX" = yes; then
9103 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9104 ac_cpp
='$CPP $CPPFLAGS'
9105 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9106 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9107 cross_compiling
=$ac_cv_prog_cc_cross
9110 # Extract the first word of "ranlib", so it can be a program name with args.
9111 set dummy ranlib
; ac_word
=$2
9112 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9113 echo "configure:9114: checking for $ac_word" >&5
9114 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9115 echo $ac_n "(cached) $ac_c" 1>&6
9117 if test -n "$RANLIB"; then
9118 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9120 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9122 for ac_dir
in $ac_dummy; do
9123 test -z "$ac_dir" && ac_dir
=.
9124 if test -f $ac_dir/$ac_word; then
9125 ac_cv_prog_RANLIB
="ranlib"
9130 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9133 RANLIB
="$ac_cv_prog_RANLIB"
9134 if test -n "$RANLIB"; then
9135 echo "$ac_t""$RANLIB" 1>&6
9137 echo "$ac_t""no" 1>&6
9141 # Extract the first word of "ar", so it can be a program name with args.
9142 set dummy
ar; ac_word
=$2
9143 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9144 echo "configure:9145: checking for $ac_word" >&5
9145 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9146 echo $ac_n "(cached) $ac_c" 1>&6
9148 if test -n "$AR"; then
9149 ac_cv_prog_AR
="$AR" # Let the user override the test.
9151 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9153 for ac_dir
in $ac_dummy; do
9154 test -z "$ac_dir" && ac_dir
=.
9155 if test -f $ac_dir/$ac_word; then
9161 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9165 if test -n "$AR"; then
9166 echo "$ac_t""$AR" 1>&6
9168 echo "$ac_t""no" 1>&6
9172 # Find a good install program. We prefer a C program (faster),
9173 # so one script is as good as another. But avoid the broken or
9174 # incompatible versions:
9175 # SysV /etc/install, /usr/sbin/install
9176 # SunOS /usr/etc/install
9177 # IRIX /sbin/install
9179 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9180 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9181 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9182 # ./install, which can be erroneously created by make from ./install.sh.
9183 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9184 echo "configure:9185: checking for a BSD compatible install" >&5
9185 if test -z "$INSTALL"; then
9186 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9187 echo $ac_n "(cached) $ac_c" 1>&6
9189 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9190 for ac_dir
in $PATH; do
9191 # Account for people who put trailing slashes in PATH elements.
9193 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9195 # OSF1 and SCO ODT 3.0 have their own names for install.
9196 # Don't use installbsd from OSF since it installs stuff as root
9198 for ac_prog
in ginstall scoinst
install; do
9199 if test -f $ac_dir/$ac_prog; then
9200 if test $ac_prog = install &&
9201 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9202 # AIX install. It has an incompatible calling convention.
9205 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9216 if test "${ac_cv_path_install+set}" = set; then
9217 INSTALL
="$ac_cv_path_install"
9219 # As a last resort, use the slow shell script. We don't cache a
9220 # path for INSTALL within a source directory, because that will
9221 # break other packages using the cache if that directory is
9222 # removed, or if the path is relative.
9223 INSTALL
="$ac_install_sh"
9226 echo "$ac_t""$INSTALL" 1>&6
9228 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9229 # It thinks the first close brace ends the variable substitution.
9230 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9232 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9234 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9241 INSTALL
=`pwd`/${INSTALL} ;;
9248 INSTALL_PROGRAM
="cp -fp"
9249 INSTALL_DATA
="cp -fp"
9255 # Extract the first word of "strip", so it can be a program name with args.
9256 set dummy strip
; ac_word
=$2
9257 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9258 echo "configure:9259: checking for $ac_word" >&5
9259 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9260 echo $ac_n "(cached) $ac_c" 1>&6
9262 if test -n "$STRIP"; then
9263 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9265 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9267 for ac_dir
in $ac_dummy; do
9268 test -z "$ac_dir" && ac_dir
=.
9269 if test -f $ac_dir/$ac_word; then
9270 ac_cv_prog_STRIP
="strip"
9275 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9278 STRIP
="$ac_cv_prog_STRIP"
9279 if test -n "$STRIP"; then
9280 echo "$ac_t""$STRIP" 1>&6
9282 echo "$ac_t""no" 1>&6
9286 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9287 echo "configure:9288: checking if make is GNU make" >&5
9288 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9289 echo $ac_n "(cached) $ac_c" 1>&6
9292 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9293 egrep -s GNU
> /dev
/null
); then
9294 wx_cv_prog_makeisgnu
="yes"
9296 wx_cv_prog_makeisgnu
="no"
9301 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9303 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9311 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9312 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9313 echo "configure:9314: checking if make supports VPATH" >&5
9314 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9315 echo $ac_n "(cached) $ac_c" 1>&6
9318 cat - << EOF > confMake
9324 if test ! -d sub
; then
9327 echo dummy
> sub
/file
9328 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9330 rm -f sub
/file check final_file confMake
9332 if test "$RESULT" = 0; then
9333 wx_cv_prog_makevpath
="yes"
9335 wx_cv_prog_makevpath
="no"
9340 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9342 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9343 { echo "configure: error:
9344 You need a make-utility that is able to use the variable
9346 If your version of make does not support VPATH correctly,
9347 please install GNU-make (possibly as gmake), and start
9348 configure with the following command:
9349 export MAKE=gmake; ./configure for sh-type shells
9350 setenv MAKE gmake; ./configure for csh-type shells
9351 Also please do remember to use gmake in this case every time
9352 you are trying to compile.
9355 for ac_prog
in 'bison -y' byacc
9357 # Extract the first word of "$ac_prog", so it can be a program name with args.
9358 set dummy
$ac_prog; ac_word
=$2
9359 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9360 echo "configure:9361: checking for $ac_word" >&5
9361 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9362 echo $ac_n "(cached) $ac_c" 1>&6
9364 if test -n "$YACC"; then
9365 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9367 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9369 for ac_dir
in $ac_dummy; do
9370 test -z "$ac_dir" && ac_dir
=.
9371 if test -f $ac_dir/$ac_word; then
9372 ac_cv_prog_YACC
="$ac_prog"
9379 YACC
="$ac_cv_prog_YACC"
9380 if test -n "$YACC"; then
9381 echo "$ac_t""$YACC" 1>&6
9383 echo "$ac_t""no" 1>&6
9386 test -n "$YACC" && break
9388 test -n "$YACC" || YACC
="yacc"
9391 # Extract the first word of "flex", so it can be a program name with args.
9392 set dummy flex
; ac_word
=$2
9393 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9394 echo "configure:9395: checking for $ac_word" >&5
9395 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9396 echo $ac_n "(cached) $ac_c" 1>&6
9398 if test -n "$LEX"; then
9399 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9401 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9403 for ac_dir
in $ac_dummy; do
9404 test -z "$ac_dir" && ac_dir
=.
9405 if test -f $ac_dir/$ac_word; then
9406 ac_cv_prog_LEX
="flex"
9411 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9414 LEX
="$ac_cv_prog_LEX"
9415 if test -n "$LEX"; then
9416 echo "$ac_t""$LEX" 1>&6
9418 echo "$ac_t""no" 1>&6
9421 if test -z "$LEXLIB"
9427 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9428 echo "configure:9429: checking for yywrap in -l$ac_lib" >&5
9429 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9430 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9431 echo $ac_n "(cached) $ac_c" 1>&6
9433 ac_save_LIBS
="$LIBS"
9434 LIBS
="-l$ac_lib $LIBS"
9435 cat > conftest.
$ac_ext <<EOF
9436 #line 9437 "configure"
9437 #include "confdefs.h"
9438 /* Override any gcc2 internal prototype to avoid an error. */
9439 /* We use char because int might match the return type of a gcc2
9440 builtin and then its argument prototype would still apply. */
9447 if { (eval echo configure
:9448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9449 eval "ac_cv_lib_$ac_lib_var=yes"
9451 echo "configure: failed program was:" >&5
9452 cat conftest.
$ac_ext >&5
9454 eval "ac_cv_lib_$ac_lib_var=no"
9457 LIBS
="$ac_save_LIBS"
9460 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9461 echo "$ac_t""yes" 1>&6
9464 echo "$ac_t""no" 1>&6
9470 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9471 echo "configure:9472: checking whether ln -s works" >&5
9472 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9473 echo $ac_n "(cached) $ac_c" 1>&6
9476 if ln -s X conftestdata
2>/dev
/null
9479 ac_cv_prog_LN_S
="ln -s"
9484 LN_S
="$ac_cv_prog_LN_S"
9485 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9486 echo "$ac_t""yes" 1>&6
9488 echo "$ac_t""no" 1>&6
9493 if test "$wxUSE_MAC" != 1; then
9494 for ac_hdr
in strings.h
9496 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9497 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9498 echo "configure:9499: checking for $ac_hdr" >&5
9499 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9500 echo $ac_n "(cached) $ac_c" 1>&6
9502 cat > conftest.
$ac_ext <<EOF
9503 #line 9504 "configure"
9504 #include "confdefs.h"
9507 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9508 { (eval echo configure
:9509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9509 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9510 if test -z "$ac_err"; then
9512 eval "ac_cv_header_$ac_safe=yes"
9515 echo "configure: failed program was:" >&5
9516 cat conftest.
$ac_ext >&5
9518 eval "ac_cv_header_$ac_safe=no"
9522 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9523 echo "$ac_t""yes" 1>&6
9524 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9525 cat >> confdefs.h
<<EOF
9526 #define $ac_tr_hdr 1
9530 echo "$ac_t""no" 1>&6
9536 for ac_hdr
in stdlib.h
9538 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9539 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9540 echo "configure:9541: checking for $ac_hdr" >&5
9541 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9542 echo $ac_n "(cached) $ac_c" 1>&6
9544 cat > conftest.
$ac_ext <<EOF
9545 #line 9546 "configure"
9546 #include "confdefs.h"
9549 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9550 { (eval echo configure
:9551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9551 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9552 if test -z "$ac_err"; then
9554 eval "ac_cv_header_$ac_safe=yes"
9557 echo "configure: failed program was:" >&5
9558 cat conftest.
$ac_ext >&5
9560 eval "ac_cv_header_$ac_safe=no"
9564 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9565 echo "$ac_t""yes" 1>&6
9566 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9567 cat >> confdefs.h
<<EOF
9568 #define $ac_tr_hdr 1
9572 echo "$ac_t""no" 1>&6
9576 for ac_hdr
in malloc.h
9578 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9579 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9580 echo "configure:9581: checking for $ac_hdr" >&5
9581 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9582 echo $ac_n "(cached) $ac_c" 1>&6
9584 cat > conftest.
$ac_ext <<EOF
9585 #line 9586 "configure"
9586 #include "confdefs.h"
9589 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9590 { (eval echo configure
:9591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9591 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9592 if test -z "$ac_err"; then
9594 eval "ac_cv_header_$ac_safe=yes"
9597 echo "configure: failed program was:" >&5
9598 cat conftest.
$ac_ext >&5
9600 eval "ac_cv_header_$ac_safe=no"
9604 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9605 echo "$ac_t""yes" 1>&6
9606 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9607 cat >> confdefs.h
<<EOF
9608 #define $ac_tr_hdr 1
9612 echo "$ac_t""no" 1>&6
9616 for ac_hdr
in unistd.h
9618 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9619 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9620 echo "configure:9621: checking for $ac_hdr" >&5
9621 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9622 echo $ac_n "(cached) $ac_c" 1>&6
9624 cat > conftest.
$ac_ext <<EOF
9625 #line 9626 "configure"
9626 #include "confdefs.h"
9629 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9630 { (eval echo configure
:9631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9631 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9632 if test -z "$ac_err"; then
9634 eval "ac_cv_header_$ac_safe=yes"
9637 echo "configure: failed program was:" >&5
9638 cat conftest.
$ac_ext >&5
9640 eval "ac_cv_header_$ac_safe=no"
9644 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9645 echo "$ac_t""yes" 1>&6
9646 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9647 cat >> confdefs.h
<<EOF
9648 #define $ac_tr_hdr 1
9652 echo "$ac_t""no" 1>&6
9656 for ac_hdr
in wchar.h
9658 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9659 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9660 echo "configure:9661: checking for $ac_hdr" >&5
9661 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9662 echo $ac_n "(cached) $ac_c" 1>&6
9664 cat > conftest.
$ac_ext <<EOF
9665 #line 9666 "configure"
9666 #include "confdefs.h"
9669 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9670 { (eval echo configure
:9671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9671 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9672 if test -z "$ac_err"; then
9674 eval "ac_cv_header_$ac_safe=yes"
9677 echo "configure: failed program was:" >&5
9678 cat conftest.
$ac_ext >&5
9680 eval "ac_cv_header_$ac_safe=no"
9684 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9685 echo "$ac_t""yes" 1>&6
9686 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9687 cat >> confdefs.h
<<EOF
9688 #define $ac_tr_hdr 1
9692 echo "$ac_t""no" 1>&6
9697 if test "$ac_cv_header_wchar_h" != "yes"; then
9698 for ac_hdr
in wcstr.h
9700 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9701 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9702 echo "configure:9703: checking for $ac_hdr" >&5
9703 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9704 echo $ac_n "(cached) $ac_c" 1>&6
9706 cat > conftest.
$ac_ext <<EOF
9707 #line 9708 "configure"
9708 #include "confdefs.h"
9711 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9712 { (eval echo configure
:9713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9713 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9714 if test -z "$ac_err"; then
9716 eval "ac_cv_header_$ac_safe=yes"
9719 echo "configure: failed program was:" >&5
9720 cat conftest.
$ac_ext >&5
9722 eval "ac_cv_header_$ac_safe=no"
9726 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9727 echo "$ac_t""yes" 1>&6
9728 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9729 cat >> confdefs.h
<<EOF
9730 #define $ac_tr_hdr 1
9734 echo "$ac_t""no" 1>&6
9741 for ac_hdr
in fnmatch.h
9743 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9744 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9745 echo "configure:9746: checking for $ac_hdr" >&5
9746 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9747 echo $ac_n "(cached) $ac_c" 1>&6
9749 cat > conftest.
$ac_ext <<EOF
9750 #line 9751 "configure"
9751 #include "confdefs.h"
9754 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9755 { (eval echo configure
:9756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9756 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9757 if test -z "$ac_err"; then
9759 eval "ac_cv_header_$ac_safe=yes"
9762 echo "configure: failed program was:" >&5
9763 cat conftest.
$ac_ext >&5
9765 eval "ac_cv_header_$ac_safe=no"
9769 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9770 echo "$ac_t""yes" 1>&6
9771 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9772 cat >> confdefs.h
<<EOF
9773 #define $ac_tr_hdr 1
9777 echo "$ac_t""no" 1>&6
9782 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
9783 for ac_func
in fnmatch
9785 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9786 echo "configure:9787: checking for $ac_func" >&5
9787 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9788 echo $ac_n "(cached) $ac_c" 1>&6
9790 cat > conftest.
$ac_ext <<EOF
9791 #line 9792 "configure"
9792 #include "confdefs.h"
9793 /* System header to define __stub macros and hopefully few prototypes,
9794 which can conflict with char $ac_func(); below. */
9796 /* Override any gcc2 internal prototype to avoid an error. */
9797 /* We use char because int might match the return type of a gcc2
9798 builtin and then its argument prototype would still apply. */
9803 /* The GNU C library defines this for functions which it implements
9804 to always fail with ENOSYS. Some functions are actually named
9805 something starting with __ and the normal name is an alias. */
9806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9814 if { (eval echo configure
:9815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9816 eval "ac_cv_func_$ac_func=yes"
9818 echo "configure: failed program was:" >&5
9819 cat conftest.
$ac_ext >&5
9821 eval "ac_cv_func_$ac_func=no"
9826 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9827 echo "$ac_t""yes" 1>&6
9828 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9829 cat >> confdefs.h
<<EOF
9830 #define $ac_tr_func 1
9834 echo "$ac_t""no" 1>&6
9840 for ac_hdr
in langinfo.h
9842 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9843 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9844 echo "configure:9845: checking for $ac_hdr" >&5
9845 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9846 echo $ac_n "(cached) $ac_c" 1>&6
9848 cat > conftest.
$ac_ext <<EOF
9849 #line 9850 "configure"
9850 #include "confdefs.h"
9853 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9854 { (eval echo configure
:9855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9855 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9856 if test -z "$ac_err"; then
9858 eval "ac_cv_header_$ac_safe=yes"
9861 echo "configure: failed program was:" >&5
9862 cat conftest.
$ac_ext >&5
9864 eval "ac_cv_header_$ac_safe=no"
9868 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9869 echo "$ac_t""yes" 1>&6
9870 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9871 cat >> confdefs.h
<<EOF
9872 #define $ac_tr_hdr 1
9876 echo "$ac_t""no" 1>&6
9881 if test "$wxUSE_GUI" = "yes"; then
9882 if test "$wxUSE_UNIX" = "yes"; then
9883 for ac_hdr
in X
11/XKBlib.h
9885 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9886 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9887 echo "configure:9888: checking for $ac_hdr" >&5
9888 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9889 echo $ac_n "(cached) $ac_c" 1>&6
9891 cat > conftest.
$ac_ext <<EOF
9892 #line 9893 "configure"
9893 #include "confdefs.h"
9896 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9897 { (eval echo configure
:9898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9898 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9899 if test -z "$ac_err"; then
9901 eval "ac_cv_header_$ac_safe=yes"
9904 echo "configure: failed program was:" >&5
9905 cat conftest.
$ac_ext >&5
9907 eval "ac_cv_header_$ac_safe=no"
9911 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9912 echo "$ac_t""yes" 1>&6
9913 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9914 cat >> confdefs.h
<<EOF
9915 #define $ac_tr_hdr 1
9919 echo "$ac_t""no" 1>&6
9927 echo $ac_n "checking for working const""... $ac_c" 1>&6
9928 echo "configure:9929: checking for working const" >&5
9929 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9930 echo $ac_n "(cached) $ac_c" 1>&6
9932 cat > conftest.
$ac_ext <<EOF
9933 #line 9934 "configure"
9934 #include "confdefs.h"
9938 /* Ultrix mips cc rejects this. */
9939 typedef int charset[2]; const charset x;
9940 /* SunOS 4.1.1 cc rejects this. */
9941 char const *const *ccp;
9943 /* NEC SVR4.0.2 mips cc rejects this. */
9944 struct point {int x, y;};
9945 static struct point const zero = {0,0};
9946 /* AIX XL C 1.02.0.0 rejects this.
9947 It does not let you subtract one const X* pointer from another in an arm
9948 of an if-expression whose if-part is not a constant expression */
9949 const char *g = "string";
9950 ccp = &g + (g ? g-g : 0);
9951 /* HPUX 7.0 cc rejects these. */
9954 ccp = (char const *const *) p;
9955 { /* SCO 3.2v4 cc rejects this. */
9957 char const *s = 0 ? (char *) 0 : (char const *) 0;
9961 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9963 const int *foo = &x[0];
9966 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9967 typedef const int *iptr;
9971 { /* AIX XL C 1.02.0.0 rejects this saying
9972 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9973 struct s { int j; const int *ap[3]; };
9974 struct s *b; b->j = 5;
9976 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9982 if { (eval echo configure
:9983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9986 echo "configure: failed program was:" >&5
9987 cat conftest.
$ac_ext >&5
9994 echo "$ac_t""$ac_cv_c_const" 1>&6
9995 if test $ac_cv_c_const = no
; then
9996 cat >> confdefs.h
<<\EOF
10002 echo $ac_n "checking for inline""... $ac_c" 1>&6
10003 echo "configure:10004: checking for inline" >&5
10004 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10005 echo $ac_n "(cached) $ac_c" 1>&6
10008 for ac_kw
in inline __inline__ __inline
; do
10009 cat > conftest.
$ac_ext <<EOF
10010 #line 10011 "configure"
10011 #include "confdefs.h"
10017 if { (eval echo configure
:10018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10019 ac_cv_c_inline
=$ac_kw; break
10021 echo "configure: failed program was:" >&5
10022 cat conftest.
$ac_ext >&5
10029 echo "$ac_t""$ac_cv_c_inline" 1>&6
10030 case "$ac_cv_c_inline" in
10032 no
) cat >> confdefs.h
<<\EOF
10036 *) cat >> confdefs.h
<<EOF
10037 #define inline $ac_cv_c_inline
10043 echo $ac_n "checking size of char""... $ac_c" 1>&6
10044 echo "configure:10045: checking size of char" >&5
10045 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10046 echo $ac_n "(cached) $ac_c" 1>&6
10048 if test "$cross_compiling" = yes; then
10049 ac_cv_sizeof_char
=1
10051 cat > conftest.
$ac_ext <<EOF
10052 #line 10053 "configure"
10053 #include "confdefs.h"
10055 #include <sys/types.h>
10058 FILE *f=fopen("conftestval", "w");
10060 fprintf(f, "%d\n", sizeof(char));
10064 if { (eval echo configure
:10065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10066 ac_cv_sizeof_char
=`cat conftestval`
10068 echo "configure: failed program was:" >&5
10069 cat conftest.
$ac_ext >&5
10071 ac_cv_sizeof_char
=0
10077 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10078 cat >> confdefs.h
<<EOF
10079 #define SIZEOF_CHAR $ac_cv_sizeof_char
10083 echo $ac_n "checking size of short""... $ac_c" 1>&6
10084 echo "configure:10085: checking size of short" >&5
10085 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10086 echo $ac_n "(cached) $ac_c" 1>&6
10088 if test "$cross_compiling" = yes; then
10089 ac_cv_sizeof_short
=2
10091 cat > conftest.
$ac_ext <<EOF
10092 #line 10093 "configure"
10093 #include "confdefs.h"
10095 #include <sys/types.h>
10098 FILE *f=fopen("conftestval", "w");
10100 fprintf(f, "%d\n", sizeof(short));
10104 if { (eval echo configure
:10105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10106 ac_cv_sizeof_short
=`cat conftestval`
10108 echo "configure: failed program was:" >&5
10109 cat conftest.
$ac_ext >&5
10111 ac_cv_sizeof_short
=0
10117 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10118 cat >> confdefs.h
<<EOF
10119 #define SIZEOF_SHORT $ac_cv_sizeof_short
10123 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10124 echo "configure:10125: checking size of void *" >&5
10125 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10126 echo $ac_n "(cached) $ac_c" 1>&6
10128 if test "$cross_compiling" = yes; then
10129 ac_cv_sizeof_void_p
=4
10131 cat > conftest.
$ac_ext <<EOF
10132 #line 10133 "configure"
10133 #include "confdefs.h"
10135 #include <sys/types.h>
10138 FILE *f=fopen("conftestval", "w");
10140 fprintf(f, "%d\n", sizeof(void *));
10144 if { (eval echo configure
:10145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10146 ac_cv_sizeof_void_p
=`cat conftestval`
10148 echo "configure: failed program was:" >&5
10149 cat conftest.
$ac_ext >&5
10151 ac_cv_sizeof_void_p
=0
10157 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10158 cat >> confdefs.h
<<EOF
10159 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10163 echo $ac_n "checking size of int""... $ac_c" 1>&6
10164 echo "configure:10165: checking size of int" >&5
10165 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10166 echo $ac_n "(cached) $ac_c" 1>&6
10168 if test "$cross_compiling" = yes; then
10171 cat > conftest.
$ac_ext <<EOF
10172 #line 10173 "configure"
10173 #include "confdefs.h"
10175 #include <sys/types.h>
10178 FILE *f=fopen("conftestval", "w");
10180 fprintf(f, "%d\n", sizeof(int));
10184 if { (eval echo configure
:10185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10186 ac_cv_sizeof_int
=`cat conftestval`
10188 echo "configure: failed program was:" >&5
10189 cat conftest.
$ac_ext >&5
10197 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10198 cat >> confdefs.h
<<EOF
10199 #define SIZEOF_INT $ac_cv_sizeof_int
10203 echo $ac_n "checking size of long""... $ac_c" 1>&6
10204 echo "configure:10205: checking size of long" >&5
10205 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10206 echo $ac_n "(cached) $ac_c" 1>&6
10208 if test "$cross_compiling" = yes; then
10209 ac_cv_sizeof_long
=4
10211 cat > conftest.
$ac_ext <<EOF
10212 #line 10213 "configure"
10213 #include "confdefs.h"
10215 #include <sys/types.h>
10218 FILE *f=fopen("conftestval", "w");
10220 fprintf(f, "%d\n", sizeof(long));
10224 if { (eval echo configure
:10225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10226 ac_cv_sizeof_long
=`cat conftestval`
10228 echo "configure: failed program was:" >&5
10229 cat conftest.
$ac_ext >&5
10231 ac_cv_sizeof_long
=0
10237 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10238 cat >> confdefs.h
<<EOF
10239 #define SIZEOF_LONG $ac_cv_sizeof_long
10246 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10247 echo "configure:10248: checking size of long long" >&5
10248 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10249 echo $ac_n "(cached) $ac_c" 1>&6
10251 if test "$cross_compiling" = yes; then
10252 ac_cv_sizeof_long_long
=8
10254 cat > conftest.
$ac_ext <<EOF
10255 #line 10256 "configure"
10256 #include "confdefs.h"
10258 #include <sys/types.h>
10261 FILE *f=fopen("conftestval", "w");
10263 fprintf(f, "%d\n", sizeof(long long));
10267 if { (eval echo configure
:10268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10269 ac_cv_sizeof_long_long
=`cat conftestval`
10271 echo "configure: failed program was:" >&5
10272 cat conftest.
$ac_ext >&5
10274 ac_cv_sizeof_long_long
=0
10280 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10281 cat >> confdefs.h
<<EOF
10282 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10288 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10289 echo "configure:10290: checking size of long long" >&5
10290 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10291 echo $ac_n "(cached) $ac_c" 1>&6
10293 if test "$cross_compiling" = yes; then
10294 ac_cv_sizeof_long_long
=0
10296 cat > conftest.
$ac_ext <<EOF
10297 #line 10298 "configure"
10298 #include "confdefs.h"
10300 #include <sys/types.h>
10303 FILE *f=fopen("conftestval", "w");
10305 fprintf(f, "%d\n", sizeof(long long));
10309 if { (eval echo configure
:10310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10311 ac_cv_sizeof_long_long
=`cat conftestval`
10313 echo "configure: failed program was:" >&5
10314 cat conftest.
$ac_ext >&5
10316 ac_cv_sizeof_long_long
=0
10322 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10323 cat >> confdefs.h
<<EOF
10324 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10330 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10331 echo "configure:10332: checking size of wchar_t" >&5
10332 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10333 echo $ac_n "(cached) $ac_c" 1>&6
10336 if test "$cross_compiling" = yes; then
10337 wx_cv_sizeof_wchar_t
=4
10340 cat > conftest.
$ac_ext <<EOF
10341 #line 10342 "configure"
10342 #include "confdefs.h"
10344 #ifdef HAVE_WCHAR_H
10346 # include <stddef.h>
10348 # include <wchar.h>
10350 #ifdef HAVE_STDLIB_H
10351 # include <stdlib.h>
10356 FILE *f=fopen("conftestval", "w");
10358 fprintf(f, "%i", sizeof(wchar_t));
10363 if { (eval echo configure
:10364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10365 wx_cv_sizeof_wchar_t
=`cat conftestval`
10367 echo "configure: failed program was:" >&5
10368 cat conftest.
$ac_ext >&5
10370 wx_cv_sizeof_wchar_t
=0
10378 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10380 cat >> confdefs.h
<<EOF
10381 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10385 # Check whether --enable-largefile or --disable-largefile was given.
10386 if test "${enable_largefile+set}" = set; then
10387 enableval
="$enable_largefile"
10391 if test "$enable_largefile" != no
; then
10394 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10395 echo "configure:10396: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10396 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10397 echo $ac_n "(cached) $ac_c" 1>&6
10400 cat > conftest.
$ac_ext <<EOF
10401 #line 10402 "configure"
10402 #include "confdefs.h"
10403 #define _FILE_OFFSET_BITS 64
10404 #include <sys/types.h>
10407 unsigned int field: sizeof(off_t) == 8;
10412 if { (eval echo configure
:10413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10414 ac_cv_sys_file_offset_bits
=64
10416 echo "configure: failed program was:" >&5
10417 cat conftest.
$ac_ext >&5
10419 ac_cv_sys_file_offset_bits
=no
10426 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10428 if test "$ac_cv_sys_file_offset_bits" != no
; then
10430 cat >> confdefs.h
<<EOF
10431 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10436 if test "x$wx_largefile" != "xyes"; then
10438 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10439 echo "configure:10440: checking for _LARGE_FILES value needed for large files" >&5
10440 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10441 echo $ac_n "(cached) $ac_c" 1>&6
10444 cat > conftest.
$ac_ext <<EOF
10445 #line 10446 "configure"
10446 #include "confdefs.h"
10447 #define _LARGE_FILES 1
10448 #include <sys/types.h>
10451 unsigned int field: sizeof(off_t) == 8;
10456 if { (eval echo configure
:10457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10458 ac_cv_sys_large_files
=1
10460 echo "configure: failed program was:" >&5
10461 cat conftest.
$ac_ext >&5
10463 ac_cv_sys_large_files
=no
10470 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10472 if test "$ac_cv_sys_large_files" != no
; then
10474 cat >> confdefs.h
<<EOF
10475 #define _LARGE_FILES $ac_cv_sys_large_files
10482 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10483 echo "configure:10484: checking if large file support is available" >&5
10484 if test "x$wx_largefile" = "xyes"; then
10485 cat >> confdefs.h
<<\EOF
10486 #define HAVE_LARGEFILE_SUPPORT 1
10490 echo "$ac_t""$wx_largefile" 1>&6
10494 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10495 echo "configure:10496: checking whether byte ordering is bigendian" >&5
10496 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10497 echo $ac_n "(cached) $ac_c" 1>&6
10499 ac_cv_c_bigendian
=unknown
10500 # See if sys/param.h defines the BYTE_ORDER macro.
10501 cat > conftest.
$ac_ext <<EOF
10502 #line 10503 "configure"
10503 #include "confdefs.h"
10504 #include <sys/types.h>
10505 #include <sys/param.h>
10508 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10509 bogus endian macros
10513 if { (eval echo configure
:10514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10515 # It does; now see whether it defined to BIG_ENDIAN or not.
10516 cat > conftest.
$ac_ext <<EOF
10517 #line 10518 "configure"
10518 #include "confdefs.h"
10519 #include <sys/types.h>
10520 #include <sys/param.h>
10523 #if BYTE_ORDER != BIG_ENDIAN
10528 if { (eval echo configure
:10529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10530 ac_cv_c_bigendian
=yes
10532 echo "configure: failed program was:" >&5
10533 cat conftest.
$ac_ext >&5
10535 ac_cv_c_bigendian
=no
10539 echo "configure: failed program was:" >&5
10540 cat conftest.
$ac_ext >&5
10543 if test $ac_cv_c_bigendian = unknown
; then
10544 if test "$cross_compiling" = yes; then
10545 ac_cv_c_bigendian
=unknown
10547 cat > conftest.
$ac_ext <<EOF
10548 #line 10549 "configure"
10549 #include "confdefs.h"
10551 /* Are we little or big endian? From Harbison&Steele. */
10555 char c[sizeof (long)];
10558 exit (u.c[sizeof (long) - 1] == 1);
10561 if { (eval echo configure
:10562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10563 ac_cv_c_bigendian
=no
10565 echo "configure: failed program was:" >&5
10566 cat conftest.
$ac_ext >&5
10568 ac_cv_c_bigendian
=yes
10576 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10577 if test $ac_cv_c_bigendian = unknown
; then
10578 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
10580 if test $ac_cv_c_bigendian = yes; then
10581 cat >> confdefs.h
<<\EOF
10582 #define WORDS_BIGENDIAN 1
10588 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
10589 echo "configure:10590: checking how to run the C++ preprocessor" >&5
10590 if test -z "$CXXCPP"; then
10591 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
10592 echo $ac_n "(cached) $ac_c" 1>&6
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
10600 CXXCPP
="${CXX-g++} -E"
10601 cat > conftest.
$ac_ext <<EOF
10602 #line 10603 "configure"
10603 #include "confdefs.h"
10604 #include <stdlib.h>
10606 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10607 { (eval echo configure
:10608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10608 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10609 if test -z "$ac_err"; then
10613 echo "configure: failed program was:" >&5
10614 cat conftest.
$ac_ext >&5
10619 ac_cv_prog_CXXCPP
="$CXXCPP"
10621 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10622 ac_cpp
='$CXXCPP $CPPFLAGS'
10623 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10624 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10625 cross_compiling
=$ac_cv_prog_cxx_cross
10628 CXXCPP
="$ac_cv_prog_CXXCPP"
10629 echo "$ac_t""$CXXCPP" 1>&6
10632 if test "$cross_compiling" = "yes"; then
10633 cat >> confdefs.h
<<\EOF
10634 #define wxUSE_IOSTREAMH 1
10640 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10641 ac_cpp
='$CXXCPP $CPPFLAGS'
10642 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10643 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10644 cross_compiling
=$ac_cv_prog_cxx_cross
10647 for ac_hdr
in iostream
10649 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10650 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10651 echo "configure:10652: checking for $ac_hdr" >&5
10652 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10653 echo $ac_n "(cached) $ac_c" 1>&6
10655 cat > conftest.
$ac_ext <<EOF
10656 #line 10657 "configure"
10657 #include "confdefs.h"
10660 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10661 { (eval echo configure
:10662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10662 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10663 if test -z "$ac_err"; then
10665 eval "ac_cv_header_$ac_safe=yes"
10668 echo "configure: failed program was:" >&5
10669 cat conftest.
$ac_ext >&5
10671 eval "ac_cv_header_$ac_safe=no"
10675 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10676 echo "$ac_t""yes" 1>&6
10677 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10678 cat >> confdefs.h
<<EOF
10679 #define $ac_tr_hdr 1
10683 echo "$ac_t""no" 1>&6
10688 if test "$ac_cv_header_iostream" = "yes" ; then
10691 cat >> confdefs.h
<<\EOF
10692 #define wxUSE_IOSTREAMH 1
10698 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10699 ac_cpp
='$CPP $CPPFLAGS'
10700 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10701 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10702 cross_compiling
=$ac_cv_prog_cc_cross
10708 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
10709 echo "configure:10710: checking if C++ compiler supports bool" >&5
10710 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
10711 echo $ac_n "(cached) $ac_c" 1>&6
10716 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10717 ac_cpp
='$CXXCPP $CPPFLAGS'
10718 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10719 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10720 cross_compiling
=$ac_cv_prog_cxx_cross
10723 cat > conftest.
$ac_ext <<EOF
10724 #line 10725 "configure"
10725 #include "confdefs.h"
10736 if { (eval echo configure
:10737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10742 echo "configure: failed program was:" >&5
10743 cat conftest.
$ac_ext >&5
10753 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10754 ac_cpp
='$CPP $CPPFLAGS'
10755 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10756 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10757 cross_compiling
=$ac_cv_prog_cc_cross
10762 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10764 if test "$wx_cv_cpp_bool" = "yes"; then
10765 cat >> confdefs.h
<<\EOF
10766 #define HAVE_BOOL 1
10773 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
10774 echo "configure:10775: checking if C++ compiler supports the explicit keyword" >&5
10775 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
10776 echo $ac_n "(cached) $ac_c" 1>&6
10781 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10782 ac_cpp
='$CXXCPP $CPPFLAGS'
10783 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10784 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10785 cross_compiling
=$ac_cv_prog_cxx_cross
10788 cat > conftest.
$ac_ext <<EOF
10789 #line 10790 "configure"
10790 #include "confdefs.h"
10792 class Foo { public: explicit Foo(int) {} };
10800 if { (eval echo configure
:10801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10803 cat > conftest.
$ac_ext <<EOF
10804 #line 10805 "configure"
10805 #include "confdefs.h"
10807 class Foo { public: explicit Foo(int) {} };
10808 static void TakeFoo(const Foo& foo) { }
10817 if { (eval echo configure
:10818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10821 echo "configure: failed program was:" >&5
10822 cat conftest.
$ac_ext >&5
10830 echo "configure: failed program was:" >&5
10831 cat conftest.
$ac_ext >&5
10839 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10840 ac_cpp
='$CPP $CPPFLAGS'
10841 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10842 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10843 cross_compiling
=$ac_cv_prog_cc_cross
10848 echo "$ac_t""$wx_cv_explicit" 1>&6
10850 if test "$wx_cv_explicit" = "yes"; then
10851 cat >> confdefs.h
<<\EOF
10852 #define HAVE_EXPLICIT 1
10860 /usr/local/include \
10862 /usr/Motif-1.2/include \
10863 /usr/Motif-2.1/include \
10865 /usr/include/Motif1.2 \
10866 /opt/xpm/include/X11 \
10867 /opt/GBxpm/include/ \
10868 /opt/GBxpm/X11/include/ \
10870 /usr/Motif1.2/include \
10872 /usr/openwin/include \
10876 /usr/X11R6/include \
10877 /usr/X11R6.4/include \
10878 /usr/X11R5/include \
10879 /usr/X11R4/include \
10881 /usr/include/X11R6 \
10882 /usr/include/X11R5 \
10883 /usr/include/X11R4 \
10885 /usr/local/X11R6/include \
10886 /usr/local/X11R5/include \
10887 /usr/local/X11R4/include \
10889 /usr/local/include/X11R6 \
10890 /usr/local/include/X11R5 \
10891 /usr/local/include/X11R4 \
10895 /usr/local/X11/include \
10896 /usr/local/include/X11 \
10898 /usr/X386/include \
10899 /usr/x386/include \
10900 /usr/XFree86/include/X11 \
10902 X:/XFree86/include \
10903 X:/XFree86/include/X11 \
10906 /usr/local/include/gtk \
10907 /usr/include/glib \
10908 /usr/local/include/glib \
10911 /usr/local/include/qt \
10913 /usr/include/windows \
10914 /usr/include/wine \
10915 /usr/local/include/wine \
10917 /usr/unsupported/include \
10918 /usr/athena/include \
10919 /usr/local/x11r5/include \
10920 /usr/lpp/Xamples/include \
10922 /usr/openwin/share/include \
10926 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
10929 cat > confcache
<<\EOF
10930 # This file is a shell script that caches the results of configure
10931 # tests run on this system so they can be shared between configure
10932 # scripts and configure runs. It is not useful on other systems.
10933 # If it contains results you don't want to keep, you may remove or edit it.
10935 # By default, configure uses ./config.cache as the cache file,
10936 # creating it if it does not exist already. You can give configure
10937 # the --cache-file=FILE option to use a different cache file; that is
10938 # what configure does when it calls configure scripts in
10939 # subdirectories, so they share the cache.
10940 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10941 # config.status only pays attention to the cache file if you give it the
10942 # --recheck option to rerun configure.
10945 # The following way of writing the cache mishandles newlines in values,
10946 # but we know of no workaround that is simple, portable, and efficient.
10947 # So, don't put newlines in cache variables' values.
10948 # Ultrix sh set writes to stderr and can't be redirected directly,
10949 # and sets the high bit in the cache file unless we assign to the vars.
10951 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10953 # `set' does not quote correctly, so add quotes (double-quote substitution
10954 # turns \\\\ into \\, and sed turns \\ into \).
10956 -e "s/'/'\\\\''/g" \
10957 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10960 # `set' quotes correctly as required by POSIX, so do not add quotes.
10961 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10964 if cmp -s $cache_file confcache
; then
10967 if test -w $cache_file; then
10968 echo "updating cache $cache_file"
10969 cat confcache
> $cache_file
10971 echo "not updating unwritable cache $cache_file"
10977 if test "$USE_LINUX" = 1; then
10978 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
10979 echo "configure:10980: checking for glibc 2.1 or later" >&5
10980 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
10981 echo $ac_n "(cached) $ac_c" 1>&6
10984 cat > conftest.
$ac_ext <<EOF
10985 #line 10986 "configure"
10986 #include "confdefs.h"
10987 #include <features.h>
10990 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
10991 #error not glibc2.1
10996 if { (eval echo configure
:10997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10999 wx_cv_lib_glibc21
=yes
11002 echo "configure: failed program was:" >&5
11003 cat conftest.
$ac_ext >&5
11006 wx_cv_lib_glibc21
=no
11014 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11015 if test "$wx_cv_lib_glibc21" = "yes"; then
11016 cat >> confdefs.h
<<\EOF
11017 #define wxHAVE_GLIBC2 1
11026 if test "$wxUSE_REGEX" != "no"; then
11027 cat >> confdefs.h
<<\EOF
11028 #define wxUSE_REGEX 1
11032 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11033 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11034 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11035 echo "configure:11036: checking for regex.h" >&5
11036 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11037 echo $ac_n "(cached) $ac_c" 1>&6
11039 cat > conftest.
$ac_ext <<EOF
11040 #line 11041 "configure"
11041 #include "confdefs.h"
11044 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11045 { (eval echo configure
:11046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11046 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11047 if test -z "$ac_err"; then
11049 eval "ac_cv_header_$ac_safe=yes"
11052 echo "configure: failed program was:" >&5
11053 cat conftest.
$ac_ext >&5
11055 eval "ac_cv_header_$ac_safe=no"
11059 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11060 echo "$ac_t""yes" 1>&6
11061 for ac_func
in regcomp
11063 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11064 echo "configure:11065: checking for $ac_func" >&5
11065 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11066 echo $ac_n "(cached) $ac_c" 1>&6
11068 cat > conftest.
$ac_ext <<EOF
11069 #line 11070 "configure"
11070 #include "confdefs.h"
11071 /* System header to define __stub macros and hopefully few prototypes,
11072 which can conflict with char $ac_func(); below. */
11073 #include <assert.h>
11074 /* Override any gcc2 internal prototype to avoid an error. */
11075 /* We use char because int might match the return type of a gcc2
11076 builtin and then its argument prototype would still apply. */
11081 /* The GNU C library defines this for functions which it implements
11082 to always fail with ENOSYS. Some functions are actually named
11083 something starting with __ and the normal name is an alias. */
11084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11092 if { (eval echo configure
:11093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11094 eval "ac_cv_func_$ac_func=yes"
11096 echo "configure: failed program was:" >&5
11097 cat conftest.
$ac_ext >&5
11099 eval "ac_cv_func_$ac_func=no"
11104 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11105 echo "$ac_t""yes" 1>&6
11106 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11107 cat >> confdefs.h
<<EOF
11108 #define $ac_tr_func 1
11112 echo "$ac_t""no" 1>&6
11117 echo "$ac_t""no" 1>&6
11121 if test "x$ac_cv_func_regcomp" != "xyes"; then
11122 if test "$wxUSE_REGEX" = "sys" ; then
11123 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11125 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11126 wxUSE_REGEX
=builtin
11133 if test "$wxUSE_REGEX" = "builtin" ; then
11134 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11141 if test "$wxUSE_ZLIB" != "no" ; then
11142 cat >> confdefs.h
<<\EOF
11143 #define wxUSE_ZLIB 1
11147 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11148 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11149 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11150 echo "configure:11151: checking for zlib.h" >&5
11151 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11152 echo $ac_n "(cached) $ac_c" 1>&6
11154 cat > conftest.
$ac_ext <<EOF
11155 #line 11156 "configure"
11156 #include "confdefs.h"
11159 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11160 { (eval echo configure
:11161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11161 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11162 if test -z "$ac_err"; then
11164 eval "ac_cv_header_$ac_safe=yes"
11167 echo "configure: failed program was:" >&5
11168 cat conftest.
$ac_ext >&5
11170 eval "ac_cv_header_$ac_safe=no"
11174 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11175 echo "$ac_t""yes" 1>&6
11176 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11177 echo "configure:11178: checking for deflate in -lz" >&5
11178 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11179 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11180 echo $ac_n "(cached) $ac_c" 1>&6
11182 ac_save_LIBS
="$LIBS"
11184 cat > conftest.
$ac_ext <<EOF
11185 #line 11186 "configure"
11186 #include "confdefs.h"
11187 /* Override any gcc2 internal prototype to avoid an error. */
11188 /* We use char because int might match the return type of a gcc2
11189 builtin and then its argument prototype would still apply. */
11196 if { (eval echo configure
:11197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11198 eval "ac_cv_lib_$ac_lib_var=yes"
11200 echo "configure: failed program was:" >&5
11201 cat conftest.
$ac_ext >&5
11203 eval "ac_cv_lib_$ac_lib_var=no"
11206 LIBS
="$ac_save_LIBS"
11209 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11210 echo "$ac_t""yes" 1>&6
11213 echo "$ac_t""no" 1>&6
11217 echo "$ac_t""no" 1>&6
11221 if test "x$ZLIB_LINK" = "x" ; then
11222 if test "$wxUSE_ZLIB" = "sys" ; then
11223 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11225 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
11233 if test "$wxUSE_ZLIB" = "builtin" ; then
11234 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11241 if test "$wxUSE_LIBPNG" != "no" ; then
11242 cat >> confdefs.h
<<\EOF
11243 #define wxUSE_LIBPNG 1
11247 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11248 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11252 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11253 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11254 wxUSE_LIBPNG
=builtin
11257 if test "$wxUSE_MGL" != 1 ; then
11258 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11259 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11260 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11261 echo "configure:11262: checking for png.h" >&5
11262 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11263 echo $ac_n "(cached) $ac_c" 1>&6
11265 cat > conftest.
$ac_ext <<EOF
11266 #line 11267 "configure"
11267 #include "confdefs.h"
11270 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11271 { (eval echo configure
:11272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11272 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11273 if test -z "$ac_err"; then
11275 eval "ac_cv_header_$ac_safe=yes"
11278 echo "configure: failed program was:" >&5
11279 cat conftest.
$ac_ext >&5
11281 eval "ac_cv_header_$ac_safe=no"
11285 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11286 echo "$ac_t""yes" 1>&6
11287 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11288 echo "configure:11289: checking for png_check_sig in -lpng" >&5
11289 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11290 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11291 echo $ac_n "(cached) $ac_c" 1>&6
11293 ac_save_LIBS
="$LIBS"
11294 LIBS
="-lpng -lz -lm $LIBS"
11295 cat > conftest.
$ac_ext <<EOF
11296 #line 11297 "configure"
11297 #include "confdefs.h"
11298 /* Override any gcc2 internal prototype to avoid an error. */
11299 /* We use char because int might match the return type of a gcc2
11300 builtin and then its argument prototype would still apply. */
11301 char png_check_sig();
11307 if { (eval echo configure
:11308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11309 eval "ac_cv_lib_$ac_lib_var=yes"
11311 echo "configure: failed program was:" >&5
11312 cat conftest.
$ac_ext >&5
11314 eval "ac_cv_lib_$ac_lib_var=no"
11317 LIBS
="$ac_save_LIBS"
11320 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11321 echo "$ac_t""yes" 1>&6
11324 echo "$ac_t""no" 1>&6
11329 echo "$ac_t""no" 1>&6
11333 if test "x$PNG_LINK" = "x" ; then
11334 if test "$wxUSE_LIBPNG" = "sys" ; then
11335 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11337 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
11338 wxUSE_LIBPNG
=builtin
11346 if test "$wxUSE_LIBPNG" = "builtin" ; then
11347 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11350 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11356 if test "$wxUSE_LIBJPEG" != "no" ; then
11357 cat >> confdefs.h
<<\EOF
11358 #define wxUSE_LIBJPEG 1
11362 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11363 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11367 if test "$wxUSE_MGL" != 1 ; then
11368 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11369 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11370 echo "configure:11371: checking for jpeglib.h" >&5
11371 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11372 echo $ac_n "(cached) $ac_c" 1>&6
11374 cat > conftest.
$ac_ext <<EOF
11375 #line 11376 "configure"
11376 #include "confdefs.h"
11378 #undef HAVE_STDLIB_H
11380 #include <jpeglib.h>
11387 if { (eval echo configure
:11388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11389 ac_cv_header_jpeglib_h
=yes
11391 echo "configure: failed program was:" >&5
11392 cat conftest.
$ac_ext >&5
11394 ac_cv_header_jpeglib_h
=no
11401 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
11403 if test "$ac_cv_header_jpeglib_h" = "yes"; then
11404 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11405 echo "configure:11406: checking for jpeg_read_header in -ljpeg" >&5
11406 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11407 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11408 echo $ac_n "(cached) $ac_c" 1>&6
11410 ac_save_LIBS
="$LIBS"
11411 LIBS
="-ljpeg $LIBS"
11412 cat > conftest.
$ac_ext <<EOF
11413 #line 11414 "configure"
11414 #include "confdefs.h"
11415 /* Override any gcc2 internal prototype to avoid an error. */
11416 /* We use char because int might match the return type of a gcc2
11417 builtin and then its argument prototype would still apply. */
11418 char jpeg_read_header();
11424 if { (eval echo configure
:11425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11426 eval "ac_cv_lib_$ac_lib_var=yes"
11428 echo "configure: failed program was:" >&5
11429 cat conftest.
$ac_ext >&5
11431 eval "ac_cv_lib_$ac_lib_var=no"
11434 LIBS
="$ac_save_LIBS"
11437 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11438 echo "$ac_t""yes" 1>&6
11439 JPEG_LINK
=" -ljpeg"
11441 echo "$ac_t""no" 1>&6
11446 if test "x$JPEG_LINK" = "x" ; then
11447 if test "$wxUSE_LIBJPEG" = "sys" ; then
11448 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
11450 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
11451 wxUSE_LIBJPEG
=builtin
11459 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11460 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11467 if test "$wxUSE_LIBTIFF" != "no" ; then
11468 cat >> confdefs.h
<<\EOF
11469 #define wxUSE_LIBTIFF 1
11473 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
11474 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
11475 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
11476 echo "configure:11477: checking for tiffio.h" >&5
11477 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11478 echo $ac_n "(cached) $ac_c" 1>&6
11480 cat > conftest.
$ac_ext <<EOF
11481 #line 11482 "configure"
11482 #include "confdefs.h"
11483 #include <tiffio.h>
11485 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11486 { (eval echo configure
:11487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11487 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11488 if test -z "$ac_err"; then
11490 eval "ac_cv_header_$ac_safe=yes"
11493 echo "configure: failed program was:" >&5
11494 cat conftest.
$ac_ext >&5
11496 eval "ac_cv_header_$ac_safe=no"
11500 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11501 echo "$ac_t""yes" 1>&6
11502 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
11503 echo "configure:11504: checking for TIFFError in -ltiff" >&5
11504 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
11505 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11506 echo $ac_n "(cached) $ac_c" 1>&6
11508 ac_save_LIBS
="$LIBS"
11509 LIBS
="-ltiff -lm $LIBS"
11510 cat > conftest.
$ac_ext <<EOF
11511 #line 11512 "configure"
11512 #include "confdefs.h"
11513 /* Override any gcc2 internal prototype to avoid an error. */
11514 /* We use char because int might match the return type of a gcc2
11515 builtin and then its argument prototype would still apply. */
11522 if { (eval echo configure
:11523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11524 eval "ac_cv_lib_$ac_lib_var=yes"
11526 echo "configure: failed program was:" >&5
11527 cat conftest.
$ac_ext >&5
11529 eval "ac_cv_lib_$ac_lib_var=no"
11532 LIBS
="$ac_save_LIBS"
11535 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11536 echo "$ac_t""yes" 1>&6
11537 TIFF_LINK
=" -ltiff"
11539 echo "$ac_t""no" 1>&6
11544 echo "$ac_t""no" 1>&6
11548 if test "x$TIFF_LINK" = "x" ; then
11549 if test "$wxUSE_LIBTIFF" = "sys" ; then
11550 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
11552 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
11553 wxUSE_LIBTIFF
=builtin
11560 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11561 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11572 if test "$USE_WIN32" = 1 ; then
11573 for ac_hdr
in w32api.h
11575 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11576 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11577 echo "configure:11578: checking for $ac_hdr" >&5
11578 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11579 echo $ac_n "(cached) $ac_c" 1>&6
11581 cat > conftest.
$ac_ext <<EOF
11582 #line 11583 "configure"
11583 #include "confdefs.h"
11586 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11587 { (eval echo configure
:11588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11588 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11589 if test -z "$ac_err"; then
11591 eval "ac_cv_header_$ac_safe=yes"
11594 echo "configure: failed program was:" >&5
11595 cat conftest.
$ac_ext >&5
11597 eval "ac_cv_header_$ac_safe=no"
11601 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11602 echo "$ac_t""yes" 1>&6
11603 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11604 cat >> confdefs.h
<<EOF
11605 #define $ac_tr_hdr 1
11609 echo "$ac_t""no" 1>&6
11613 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
11614 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
11615 echo "configure:11616: checking for windows.h" >&5
11616 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11617 echo $ac_n "(cached) $ac_c" 1>&6
11619 cat > conftest.
$ac_ext <<EOF
11620 #line 11621 "configure"
11621 #include "confdefs.h"
11622 #include <windows.h>
11624 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11625 { (eval echo configure
:11626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11626 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11627 if test -z "$ac_err"; then
11629 eval "ac_cv_header_$ac_safe=yes"
11632 echo "configure: failed program was:" >&5
11633 cat conftest.
$ac_ext >&5
11635 eval "ac_cv_header_$ac_safe=no"
11639 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11640 echo "$ac_t""yes" 1>&6
11643 echo "$ac_t""no" 1>&6
11645 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
11650 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
11651 echo "configure:11652: checking if w32api has good enough MSIE support" >&5
11652 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
11653 echo $ac_n "(cached) $ac_c" 1>&6
11656 cat > conftest.
$ac_ext <<EOF
11657 #line 11658 "configure"
11658 #include "confdefs.h"
11659 #include <w32api.h>
11662 #define wxCHECK_W32API_VERSION( major, minor ) \
11663 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
11664 && ( ( __W32API_MAJOR_VERSION > (major) ) \
11665 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
11667 #if !wxCHECK_W32API_VERSION(1,1)
11668 #error You need w32api 1.1 or newer
11673 if { (eval echo configure
:11674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11676 wx_cv_w32api_win32_ie
=yes
11679 echo "configure: failed program was:" >&5
11680 cat conftest.
$ac_ext >&5
11683 wx_cv_w32api_win32_ie
=no
11690 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
11691 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
11692 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
11695 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
11699 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
11700 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
11703 if test "$wxUSE_ODBC" = "yes" ; then
11704 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
11707 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
11708 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
11711 if test "$wxUSE_GUI" = "yes"; then
11720 if test "$wxUSE_MSW" = 1 ; then
11726 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
11730 if test "$wxUSE_GTK" = 1; then
11731 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
11732 echo "configure:11733: checking for GTK+ version" >&5
11734 gtk_version_cached
=1
11735 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
11736 echo $ac_n "(cached) $ac_c" 1>&6
11739 gtk_version_cached
=0
11740 echo "$ac_t""" 1>&6
11743 if test "$wxUSE_THREADS" = "yes"; then
11744 GTK_MODULES
=gthread
11748 if test "x$wxUSE_GTK2" = "xyes"; then
11749 # Check whether --enable-gtktest or --disable-gtktest was given.
11750 if test "${enable_gtktest+set}" = set; then
11751 enableval
="$enable_gtktest"
11758 pkg_config_args
=gtk
+-2.0
11759 for module
in .
$GTK_MODULES
11763 pkg_config_args
="$pkg_config_args gthread-2.0"
11770 # Extract the first word of "pkg-config", so it can be a program name with args.
11771 set dummy pkg
-config; ac_word
=$2
11772 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11773 echo "configure:11774: checking for $ac_word" >&5
11774 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
11775 echo $ac_n "(cached) $ac_c" 1>&6
11777 case "$PKG_CONFIG" in
11779 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11782 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
11785 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11787 for ac_dir
in $ac_dummy; do
11788 test -z "$ac_dir" && ac_dir
=.
11789 if test -f $ac_dir/$ac_word; then
11790 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
11795 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11799 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
11800 if test -n "$PKG_CONFIG"; then
11801 echo "$ac_t""$PKG_CONFIG" 1>&6
11803 echo "$ac_t""no" 1>&6
11807 if test x
$PKG_CONFIG != xno
; then
11808 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
11811 echo *** pkg
-config too old
; version
0.7 or better required.
11819 min_gtk_version
=2.0.0
11820 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
11821 echo "configure:11822: checking for GTK+ - version >= $min_gtk_version" >&5
11823 if test x
$PKG_CONFIG != xno
; then
11824 ## don't try to run the test against uninstalled libtool libs
11825 if $PKG_CONFIG --uninstalled $pkg_config_args; then
11826 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
11830 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
11837 if test x
"$no_gtk" = x
; then
11838 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
11839 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
11840 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11841 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11842 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11843 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11844 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11845 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11846 if test "x$enable_gtktest" = "xyes" ; then
11847 ac_save_CFLAGS
="$CFLAGS"
11848 ac_save_LIBS
="$LIBS"
11849 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11850 LIBS
="$GTK_LIBS $LIBS"
11852 if test "$cross_compiling" = yes; then
11853 echo $ac_n "cross compiling; assumed OK... $ac_c"
11855 cat > conftest.
$ac_ext <<EOF
11856 #line 11857 "configure"
11857 #include "confdefs.h"
11859 #include <gtk/gtk.h>
11861 #include <stdlib.h>
11866 int major, minor, micro;
11869 system ("touch conf.gtktest");
11871 /* HP/UX 9 (%@#!) writes to sscanf strings */
11872 tmp_version = g_strdup("$min_gtk_version");
11873 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11874 printf("%s, bad version string\n", "$min_gtk_version");
11878 if ((gtk_major_version != $gtk_config_major_version) ||
11879 (gtk_minor_version != $gtk_config_minor_version) ||
11880 (gtk_micro_version != $gtk_config_micro_version))
11882 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11883 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11884 gtk_major_version, gtk_minor_version, gtk_micro_version);
11885 printf ("*** was found! If pkg-config was correct, then it is best\n");
11886 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11887 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11888 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11889 printf("*** required on your system.\n");
11890 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
11891 printf("*** to point to the correct configuration files\n");
11893 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11894 (gtk_minor_version != GTK_MINOR_VERSION) ||
11895 (gtk_micro_version != GTK_MICRO_VERSION))
11897 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11898 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11899 printf("*** library (version %d.%d.%d)\n",
11900 gtk_major_version, gtk_minor_version, gtk_micro_version);
11904 if ((gtk_major_version > major) ||
11905 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11906 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11912 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11913 gtk_major_version, gtk_minor_version, gtk_micro_version);
11914 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11915 major, minor, micro);
11916 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11918 printf("*** If you have already installed a sufficiently new version, this error\n");
11919 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
11920 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11921 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
11922 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
11923 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11924 printf("*** so that the correct libraries are found at run-time))\n");
11931 if { (eval echo configure
:11932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11935 echo "configure: failed program was:" >&5
11936 cat conftest.
$ac_ext >&5
11943 CFLAGS
="$ac_save_CFLAGS"
11944 LIBS
="$ac_save_LIBS"
11947 if test "x$no_gtk" = x
; then
11948 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
11951 echo "$ac_t""no" 1>&6
11952 if test "$PKG_CONFIG" = "no" ; then
11953 echo "*** A new enough version of pkg-config was not found."
11954 echo "*** See http://pkgconfig.sourceforge.net"
11956 if test -f conf.gtktest
; then
11959 echo "*** Could not run GTK+ test program, checking why..."
11960 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11961 LIBS
="$LIBS $GTK_LIBS"
11962 cat > conftest.
$ac_ext <<EOF
11963 #line 11964 "configure"
11964 #include "confdefs.h"
11966 #include <gtk/gtk.h>
11970 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11973 if { (eval echo configure
:11974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11975 echo "*** The test program compiled, but did not run. This usually means"
11976 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
11977 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
11978 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11979 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11980 echo "*** is required on your system"
11982 echo "*** If you have an old version installed, it is best to remove it, although"
11983 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11985 echo "configure: failed program was:" >&5
11986 cat conftest.
$ac_ext >&5
11988 echo "*** The test program failed to compile or link. See the file config.log for the"
11989 echo "*** exact error that occured. This usually means GTK+ was incorrectly installed"
11990 echo "*** or that you have moved GTK+ since it was installed. In the latter case, you"
11991 echo "*** may want to edit the pkg-config script: $PKG_CONFIG"
11994 CFLAGS
="$ac_save_CFLAGS"
11995 LIBS
="$ac_save_LIBS"
12008 if test -z "$wx_cv_lib_gtk"; then
12009 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12010 if test "${with_gtk_prefix+set}" = set; then
12011 withval
="$with_gtk_prefix"
12012 gtk_config_prefix
="$withval"
12014 gtk_config_prefix
=""
12017 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12018 if test "${with_gtk_exec_prefix+set}" = set; then
12019 withval
="$with_gtk_exec_prefix"
12020 gtk_config_exec_prefix
="$withval"
12022 gtk_config_exec_prefix
=""
12025 # Check whether --enable-gtktest or --disable-gtktest was given.
12026 if test "${enable_gtktest+set}" = set; then
12027 enableval
="$enable_gtktest"
12034 for module
in .
$GTK_MODULES
12038 gtk_config_args
="$gtk_config_args gthread"
12043 if test x
$gtk_config_exec_prefix != x
; then
12044 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12045 if test x
${GTK_CONFIG+set} != xset
; then
12046 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12049 if test x
$gtk_config_prefix != x
; then
12050 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12051 if test x
${GTK_CONFIG+set} != xset
; then
12052 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12056 # Extract the first word of "gtk-config", so it can be a program name with args.
12057 set dummy gtk
-config; ac_word
=$2
12058 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12059 echo "configure:12060: checking for $ac_word" >&5
12060 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12061 echo $ac_n "(cached) $ac_c" 1>&6
12063 case "$GTK_CONFIG" in
12065 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12068 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12071 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12073 for ac_dir
in $ac_dummy; do
12074 test -z "$ac_dir" && ac_dir
=.
12075 if test -f $ac_dir/$ac_word; then
12076 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12081 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12085 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12086 if test -n "$GTK_CONFIG"; then
12087 echo "$ac_t""$GTK_CONFIG" 1>&6
12089 echo "$ac_t""no" 1>&6
12092 min_gtk_version
=1.2.7
12093 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12094 echo "configure:12095: checking for GTK - version >= $min_gtk_version" >&5
12096 if test "$GTK_CONFIG" = "no" ; then
12099 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12100 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12101 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12102 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12103 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12104 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12105 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12106 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12107 if test "x$enable_gtktest" = "xyes" ; then
12108 ac_save_CFLAGS
="$CFLAGS"
12109 ac_save_LIBS
="$LIBS"
12110 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12111 LIBS
="$GTK_LIBS $LIBS"
12113 if test "$cross_compiling" = yes; then
12114 echo $ac_n "cross compiling; assumed OK... $ac_c"
12116 cat > conftest.
$ac_ext <<EOF
12117 #line 12118 "configure"
12118 #include "confdefs.h"
12120 #include <gtk/gtk.h>
12122 #include <stdlib.h>
12127 int major, minor, micro;
12130 system ("touch conf.gtktest");
12132 /* HP/UX 9 (%@#!) writes to sscanf strings */
12133 tmp_version = g_strdup("$min_gtk_version");
12134 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12135 printf("%s, bad version string\n", "$min_gtk_version");
12139 if ((gtk_major_version != $gtk_config_major_version) ||
12140 (gtk_minor_version != $gtk_config_minor_version) ||
12141 (gtk_micro_version != $gtk_config_micro_version))
12143 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12144 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12145 gtk_major_version, gtk_minor_version, gtk_micro_version);
12146 printf ("*** was found! If gtk-config was correct, then it is best\n");
12147 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12148 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12149 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12150 printf("*** required on your system.\n");
12151 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12152 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12153 printf("*** before re-running configure\n");
12155 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12156 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12157 (gtk_minor_version != GTK_MINOR_VERSION) ||
12158 (gtk_micro_version != GTK_MICRO_VERSION))
12160 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12161 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12162 printf("*** library (version %d.%d.%d)\n",
12163 gtk_major_version, gtk_minor_version, gtk_micro_version);
12165 #endif /* defined (GTK_MAJOR_VERSION) ... */
12168 if ((gtk_major_version > major) ||
12169 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12170 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12176 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12177 gtk_major_version, gtk_minor_version, gtk_micro_version);
12178 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12179 major, minor, micro);
12180 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12182 printf("*** If you have already installed a sufficiently new version, this error\n");
12183 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12184 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12185 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12186 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12187 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12188 printf("*** so that the correct libraries are found at run-time))\n");
12195 if { (eval echo configure
:12196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12199 echo "configure: failed program was:" >&5
12200 cat conftest.
$ac_ext >&5
12207 CFLAGS
="$ac_save_CFLAGS"
12208 LIBS
="$ac_save_LIBS"
12211 if test "x$no_gtk" = x
; then
12212 echo "$ac_t""yes" 1>&6
12213 wx_cv_lib_gtk
=1.2.7
12215 echo "$ac_t""no" 1>&6
12216 if test "$GTK_CONFIG" = "no" ; then
12217 echo "*** The gtk-config script installed by GTK could not be found"
12218 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12219 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12220 echo "*** full path to gtk-config."
12222 if test -f conf.gtktest
; then
12225 echo "*** Could not run GTK test program, checking why..."
12226 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12227 LIBS
="$LIBS $GTK_LIBS"
12228 cat > conftest.
$ac_ext <<EOF
12229 #line 12230 "configure"
12230 #include "confdefs.h"
12232 #include <gtk/gtk.h>
12236 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12239 if { (eval echo configure
:12240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12241 echo "*** The test program compiled, but did not run. This usually means"
12242 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12243 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12244 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12245 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12246 echo "*** is required on your system"
12248 echo "*** If you have an old version installed, it is best to remove it, although"
12249 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12251 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12252 echo "*** came with the system with the command"
12254 echo "*** rpm --erase --nodeps gtk gtk-devel"
12256 echo "configure: failed program was:" >&5
12257 cat conftest.
$ac_ext >&5
12259 echo "*** The test program failed to compile or link. See the file config.log for the"
12260 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12261 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12262 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12265 CFLAGS
="$ac_save_CFLAGS"
12266 LIBS
="$ac_save_LIBS"
12279 if test -z "$wx_cv_lib_gtk"; then
12280 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12281 if test "${with_gtk_prefix+set}" = set; then
12282 withval
="$with_gtk_prefix"
12283 gtk_config_prefix
="$withval"
12285 gtk_config_prefix
=""
12288 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12289 if test "${with_gtk_exec_prefix+set}" = set; then
12290 withval
="$with_gtk_exec_prefix"
12291 gtk_config_exec_prefix
="$withval"
12293 gtk_config_exec_prefix
=""
12296 # Check whether --enable-gtktest or --disable-gtktest was given.
12297 if test "${enable_gtktest+set}" = set; then
12298 enableval
="$enable_gtktest"
12305 for module
in .
$GTK_MODULES
12309 gtk_config_args
="$gtk_config_args gthread"
12314 if test x
$gtk_config_exec_prefix != x
; then
12315 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12316 if test x
${GTK_CONFIG+set} != xset
; then
12317 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12320 if test x
$gtk_config_prefix != x
; then
12321 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12322 if test x
${GTK_CONFIG+set} != xset
; then
12323 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12327 # Extract the first word of "gtk-config", so it can be a program name with args.
12328 set dummy gtk
-config; ac_word
=$2
12329 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12330 echo "configure:12331: checking for $ac_word" >&5
12331 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12332 echo $ac_n "(cached) $ac_c" 1>&6
12334 case "$GTK_CONFIG" in
12336 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12339 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12342 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12344 for ac_dir
in $ac_dummy; do
12345 test -z "$ac_dir" && ac_dir
=.
12346 if test -f $ac_dir/$ac_word; then
12347 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12352 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12356 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12357 if test -n "$GTK_CONFIG"; then
12358 echo "$ac_t""$GTK_CONFIG" 1>&6
12360 echo "$ac_t""no" 1>&6
12363 min_gtk_version
=1.2.3
12364 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12365 echo "configure:12366: checking for GTK - version >= $min_gtk_version" >&5
12367 if test "$GTK_CONFIG" = "no" ; then
12370 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12371 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12372 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12373 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12374 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12375 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12376 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12377 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12378 if test "x$enable_gtktest" = "xyes" ; then
12379 ac_save_CFLAGS
="$CFLAGS"
12380 ac_save_LIBS
="$LIBS"
12381 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12382 LIBS
="$GTK_LIBS $LIBS"
12384 if test "$cross_compiling" = yes; then
12385 echo $ac_n "cross compiling; assumed OK... $ac_c"
12387 cat > conftest.
$ac_ext <<EOF
12388 #line 12389 "configure"
12389 #include "confdefs.h"
12391 #include <gtk/gtk.h>
12393 #include <stdlib.h>
12398 int major, minor, micro;
12401 system ("touch conf.gtktest");
12403 /* HP/UX 9 (%@#!) writes to sscanf strings */
12404 tmp_version = g_strdup("$min_gtk_version");
12405 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12406 printf("%s, bad version string\n", "$min_gtk_version");
12410 if ((gtk_major_version != $gtk_config_major_version) ||
12411 (gtk_minor_version != $gtk_config_minor_version) ||
12412 (gtk_micro_version != $gtk_config_micro_version))
12414 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12415 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12416 gtk_major_version, gtk_minor_version, gtk_micro_version);
12417 printf ("*** was found! If gtk-config was correct, then it is best\n");
12418 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12419 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12420 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12421 printf("*** required on your system.\n");
12422 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12423 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12424 printf("*** before re-running configure\n");
12426 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12427 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12428 (gtk_minor_version != GTK_MINOR_VERSION) ||
12429 (gtk_micro_version != GTK_MICRO_VERSION))
12431 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12432 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12433 printf("*** library (version %d.%d.%d)\n",
12434 gtk_major_version, gtk_minor_version, gtk_micro_version);
12436 #endif /* defined (GTK_MAJOR_VERSION) ... */
12439 if ((gtk_major_version > major) ||
12440 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12441 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12447 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12448 gtk_major_version, gtk_minor_version, gtk_micro_version);
12449 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12450 major, minor, micro);
12451 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12453 printf("*** If you have already installed a sufficiently new version, this error\n");
12454 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12455 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12456 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12457 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12458 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12459 printf("*** so that the correct libraries are found at run-time))\n");
12466 if { (eval echo configure
:12467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12470 echo "configure: failed program was:" >&5
12471 cat conftest.
$ac_ext >&5
12478 CFLAGS
="$ac_save_CFLAGS"
12479 LIBS
="$ac_save_LIBS"
12482 if test "x$no_gtk" = x
; then
12483 echo "$ac_t""yes" 1>&6
12484 wx_cv_lib_gtk
=1.2.3
12486 echo "$ac_t""no" 1>&6
12487 if test "$GTK_CONFIG" = "no" ; then
12488 echo "*** The gtk-config script installed by GTK could not be found"
12489 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12490 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12491 echo "*** full path to gtk-config."
12493 if test -f conf.gtktest
; then
12496 echo "*** Could not run GTK test program, checking why..."
12497 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12498 LIBS
="$LIBS $GTK_LIBS"
12499 cat > conftest.
$ac_ext <<EOF
12500 #line 12501 "configure"
12501 #include "confdefs.h"
12503 #include <gtk/gtk.h>
12507 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12510 if { (eval echo configure
:12511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12512 echo "*** The test program compiled, but did not run. This usually means"
12513 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12514 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12515 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12516 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12517 echo "*** is required on your system"
12519 echo "*** If you have an old version installed, it is best to remove it, although"
12520 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12522 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12523 echo "*** came with the system with the command"
12525 echo "*** rpm --erase --nodeps gtk gtk-devel"
12527 echo "configure: failed program was:" >&5
12528 cat conftest.
$ac_ext >&5
12530 echo "*** The test program failed to compile or link. See the file config.log for the"
12531 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12532 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12533 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12536 CFLAGS
="$ac_save_CFLAGS"
12537 LIBS
="$ac_save_LIBS"
12550 if test -z "$wx_cv_lib_gtk"; then
12553 wx_cv_cflags_gtk
=$GTK_CFLAGS
12554 wx_cv_libs_gtk
=$GTK_LIBS
12561 if test "$gtk_version_cached" = 1; then
12562 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
12565 case "$wx_cv_lib_gtk" in
12573 *) { echo "configure: error:
12574 Please check that gtk-config is in path, the directory
12575 where GTK+ libraries are installed (returned by
12576 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
12577 equivalent variable and GTK+ is version 1.2.3 or above.
12582 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
12583 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
12585 AFMINSTALL
=afminstall
12589 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
12590 echo "configure:12591: checking for gdk_im_open in -lgdk" >&5
12591 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
12592 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12593 echo $ac_n "(cached) $ac_c" 1>&6
12595 ac_save_LIBS
="$LIBS"
12597 cat > conftest.
$ac_ext <<EOF
12598 #line 12599 "configure"
12599 #include "confdefs.h"
12600 /* Override any gcc2 internal prototype to avoid an error. */
12601 /* We use char because int might match the return type of a gcc2
12602 builtin and then its argument prototype would still apply. */
12603 char gdk_im_open();
12609 if { (eval echo configure
:12610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12611 eval "ac_cv_lib_$ac_lib_var=yes"
12613 echo "configure: failed program was:" >&5
12614 cat conftest.
$ac_ext >&5
12616 eval "ac_cv_lib_$ac_lib_var=no"
12619 LIBS
="$ac_save_LIBS"
12622 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12623 echo "$ac_t""yes" 1>&6
12624 cat >> confdefs.h
<<\EOF
12629 echo "$ac_t""no" 1>&6
12634 if test "$wxUSE_MGL" = 1; then
12635 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
12636 echo "configure:12637: checking for SciTech MGL library" >&5
12637 if test "x$MGL_ROOT" = x
; then
12638 echo "$ac_t""not found" 1>&6
12639 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
12641 echo "$ac_t""$MGL_ROOT" 1>&6
12646 mgl_os
=linux
/gcc
/glibc
12652 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
12657 if test "$wxUSE_DEBUG_FLAG" = yes ; then
12658 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
12659 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
12663 if test "x$mgl_lib_type" = x
; then
12664 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
12665 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
12666 mgl_lib_type
=release
12668 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
12672 wxUSE_UNIVERSAL
="yes"
12674 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
12675 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
12677 AFMINSTALL
=afminstall
12682 if test "$wxUSE_MICROWIN" = 1; then
12683 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
12684 echo "configure:12685: checking for MicroWindows" >&5
12685 if test "x$MICROWINDOWS" = x
; then
12686 echo "$ac_t""not found" 1>&6
12687 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
12689 echo "$ac_t""$MICROWINDOWS" 1>&6
12692 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
12693 echo "$ac_t""MicroWindows' libraries found." 1>&6
12695 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
12698 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
12699 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
12701 wxUSE_UNIVERSAL
="yes"
12703 AFMINSTALL
=afminstall
12705 GUIDIST
=MICROWIN_DIST
12707 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
12710 if test "$wxUSE_X11" = 1; then
12711 # If we find X, set shell vars x_includes and x_libraries to the
12712 # paths, otherwise set no_x=yes.
12713 # Uses ac_ vars as temps to allow command line to override cache and checks.
12714 # --without-x overrides everything else, but does not touch the cache.
12715 echo $ac_n "checking for X""... $ac_c" 1>&6
12716 echo "configure:12717: checking for X" >&5
12718 # Check whether --with-x or --without-x was given.
12719 if test "${with_x+set}" = set; then
12724 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
12725 if test "x$with_x" = xno
; then
12726 # The user explicitly disabled X.
12729 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
12730 # Both variables are already set.
12733 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
12734 echo $ac_n "(cached) $ac_c" 1>&6
12736 # One or both of the vars are not set, and there is no cached value.
12737 ac_x_includes
=NO ac_x_libraries
=NO
12739 if mkdir conftestdir
; then
12741 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
12742 cat > Imakefile
<<'EOF'
12744 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
12746 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
12747 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12748 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
12749 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12750 for ac_extension
in a so sl
; do
12751 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
12752 test -f $ac_im_libdir/libX11.
$ac_extension; then
12753 ac_im_usrlibdir
=$ac_im_libdir; break
12756 # Screen out bogus values from the imake configuration. They are
12757 # bogus both because they are the default anyway, and because
12758 # using them would break gcc on systems where it needs fixed includes.
12759 case "$ac_im_incroot" in
12761 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
12763 case "$ac_im_usrlibdir" in
12764 /usr
/lib
| /lib
) ;;
12765 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
12772 if test "$ac_x_includes" = NO
; then
12773 # Guess where to find include files, by looking for this one X11 .h file.
12774 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
12776 # First, try using that file with no special directory specified.
12777 cat > conftest.
$ac_ext <<EOF
12778 #line 12779 "configure"
12779 #include "confdefs.h"
12780 #include <$x_direct_test_include>
12782 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12783 { (eval echo configure
:12784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12784 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12785 if test -z "$ac_err"; then
12787 # We can compile using X headers with no special include directory.
12791 echo "configure: failed program was:" >&5
12792 cat conftest.
$ac_ext >&5
12794 # Look for the header file in a standard set of common directories.
12795 # Check X11 before X11Rn because it is often a symlink to the current release.
12798 /usr
/X
11R
6/include \
12799 /usr
/X
11R
5/include \
12800 /usr
/X
11R
4/include \
12803 /usr
/include
/X11R6 \
12804 /usr
/include
/X11R5 \
12805 /usr
/include
/X11R4 \
12807 /usr
/local
/X
11/include \
12808 /usr
/local
/X
11R
6/include \
12809 /usr
/local
/X
11R
5/include \
12810 /usr
/local
/X
11R
4/include \
12812 /usr
/local
/include
/X11 \
12813 /usr
/local
/include
/X11R6 \
12814 /usr
/local
/include
/X11R5 \
12815 /usr
/local
/include
/X11R4 \
12817 /usr
/X
386/include \
12818 /usr
/x
386/include \
12819 /usr
/XFree
86/include
/X11 \
12822 /usr
/local
/include \
12823 /usr
/unsupported
/include \
12824 /usr
/athena
/include \
12825 /usr
/local
/x
11r
5/include \
12826 /usr
/lpp
/Xamples
/include \
12828 /usr
/openwin
/include \
12829 /usr
/openwin
/share
/include \
12832 if test -r "$ac_dir/$x_direct_test_include"; then
12833 ac_x_includes
=$ac_dir
12839 fi # $ac_x_includes = NO
12841 if test "$ac_x_libraries" = NO
; then
12842 # Check for the libraries.
12844 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
12845 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
12847 # See if we find them without any special options.
12848 # Don't add to $LIBS permanently.
12849 ac_save_LIBS
="$LIBS"
12850 LIBS
="-l$x_direct_test_library $LIBS"
12851 cat > conftest.
$ac_ext <<EOF
12852 #line 12853 "configure"
12853 #include "confdefs.h"
12856 ${x_direct_test_function}()
12859 if { (eval echo configure
:12860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12861 LIBS
="$ac_save_LIBS"
12862 # We can link X programs with no special library path.
12865 echo "configure: failed program was:" >&5
12866 cat conftest.
$ac_ext >&5
12868 LIBS
="$ac_save_LIBS"
12869 # First see if replacing the include by lib works.
12870 # Check X11 before X11Rn because it is often a symlink to the current release.
12871 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
12882 /usr
/local
/X
11/lib \
12883 /usr
/local
/X
11R
6/lib \
12884 /usr
/local
/X
11R
5/lib \
12885 /usr
/local
/X
11R
4/lib \
12887 /usr
/local
/lib
/X11 \
12888 /usr
/local
/lib
/X11R6 \
12889 /usr
/local
/lib
/X11R5 \
12890 /usr
/local
/lib
/X11R4 \
12894 /usr
/XFree
86/lib
/X11 \
12898 /usr
/unsupported
/lib \
12900 /usr
/local
/x
11r
5/lib \
12901 /usr
/lpp
/Xamples
/lib \
12905 /usr
/openwin
/share
/lib \
12908 for ac_extension
in a so sl
; do
12909 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
12910 ac_x_libraries
=$ac_dir
12917 fi # $ac_x_libraries = NO
12919 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
12920 # Didn't find X anywhere. Cache the known absence of X.
12921 ac_cv_have_x
="have_x=no"
12923 # Record where we found X for the cache.
12924 ac_cv_have_x
="have_x=yes \
12925 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
12929 eval "$ac_cv_have_x"
12932 if test "$have_x" != yes; then
12933 echo "$ac_t""$have_x" 1>&6
12936 # If each of the values was on the command line, it overrides each guess.
12937 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
12938 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
12939 # Update the cache value to reflect the command line values.
12940 ac_cv_have_x
="have_x=yes \
12941 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
12942 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
12945 if test "$no_x" = yes; then
12946 # Not all programs may use this symbol, but it does not hurt to define it.
12947 cat >> confdefs.h
<<\EOF
12948 #define X_DISPLAY_MISSING 1
12951 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
12953 if test -n "$x_includes"; then
12954 X_CFLAGS
="$X_CFLAGS -I$x_includes"
12957 # It would also be nice to do this for all -L options, not just this one.
12958 if test -n "$x_libraries"; then
12959 X_LIBS
="$X_LIBS -L$x_libraries"
12960 # For Solaris; some versions of Sun CC require a space after -R and
12961 # others require no space. Words are not sufficient . . . .
12962 case "`(uname -sr) 2>/dev/null`" in
12964 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
12965 echo "configure:12966: checking whether -R must be followed by a space" >&5
12966 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
12967 cat > conftest.
$ac_ext <<EOF
12968 #line 12969 "configure"
12969 #include "confdefs.h"
12975 if { (eval echo configure
:12976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12979 echo "configure: failed program was:" >&5
12980 cat conftest.
$ac_ext >&5
12985 if test $ac_R_nospace = yes; then
12986 echo "$ac_t""no" 1>&6
12987 X_LIBS
="$X_LIBS -R$x_libraries"
12989 LIBS
="$ac_xsave_LIBS -R $x_libraries"
12990 cat > conftest.
$ac_ext <<EOF
12991 #line 12992 "configure"
12992 #include "confdefs.h"
12998 if { (eval echo configure
:12999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13002 echo "configure: failed program was:" >&5
13003 cat conftest.
$ac_ext >&5
13008 if test $ac_R_space = yes; then
13009 echo "$ac_t""yes" 1>&6
13010 X_LIBS
="$X_LIBS -R $x_libraries"
13012 echo "$ac_t""neither works" 1>&6
13015 LIBS
="$ac_xsave_LIBS"
13019 # Check for system-dependent libraries X programs must link with.
13020 # Do this before checking for the system-independent R6 libraries
13021 # (-lICE), since we may need -lsocket or whatever for X linking.
13023 if test "$ISC" = yes; then
13024 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13026 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13027 # libraries were built with DECnet support. And karl@cs.umb.edu says
13028 # the Alpha needs dnet_stub (dnet does not exist).
13029 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13030 echo "configure:13031: checking for dnet_ntoa in -ldnet" >&5
13031 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13032 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13033 echo $ac_n "(cached) $ac_c" 1>&6
13035 ac_save_LIBS
="$LIBS"
13036 LIBS
="-ldnet $LIBS"
13037 cat > conftest.
$ac_ext <<EOF
13038 #line 13039 "configure"
13039 #include "confdefs.h"
13040 /* Override any gcc2 internal prototype to avoid an error. */
13041 /* We use char because int might match the return type of a gcc2
13042 builtin and then its argument prototype would still apply. */
13049 if { (eval echo configure
:13050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13051 eval "ac_cv_lib_$ac_lib_var=yes"
13053 echo "configure: failed program was:" >&5
13054 cat conftest.
$ac_ext >&5
13056 eval "ac_cv_lib_$ac_lib_var=no"
13059 LIBS
="$ac_save_LIBS"
13062 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13063 echo "$ac_t""yes" 1>&6
13064 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13066 echo "$ac_t""no" 1>&6
13069 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13070 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13071 echo "configure:13072: checking for dnet_ntoa in -ldnet_stub" >&5
13072 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13073 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13074 echo $ac_n "(cached) $ac_c" 1>&6
13076 ac_save_LIBS
="$LIBS"
13077 LIBS
="-ldnet_stub $LIBS"
13078 cat > conftest.
$ac_ext <<EOF
13079 #line 13080 "configure"
13080 #include "confdefs.h"
13081 /* Override any gcc2 internal prototype to avoid an error. */
13082 /* We use char because int might match the return type of a gcc2
13083 builtin and then its argument prototype would still apply. */
13090 if { (eval echo configure
:13091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13092 eval "ac_cv_lib_$ac_lib_var=yes"
13094 echo "configure: failed program was:" >&5
13095 cat conftest.
$ac_ext >&5
13097 eval "ac_cv_lib_$ac_lib_var=no"
13100 LIBS
="$ac_save_LIBS"
13103 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13104 echo "$ac_t""yes" 1>&6
13105 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13107 echo "$ac_t""no" 1>&6
13112 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13113 # to get the SysV transport functions.
13114 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13116 # The nsl library prevents programs from opening the X display
13117 # on Irix 5.2, according to dickey@clark.net.
13118 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13119 echo "configure:13120: checking for gethostbyname" >&5
13120 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13121 echo $ac_n "(cached) $ac_c" 1>&6
13123 cat > conftest.
$ac_ext <<EOF
13124 #line 13125 "configure"
13125 #include "confdefs.h"
13126 /* System header to define __stub macros and hopefully few prototypes,
13127 which can conflict with char gethostbyname(); below. */
13128 #include <assert.h>
13129 /* Override any gcc2 internal prototype to avoid an error. */
13130 /* We use char because int might match the return type of a gcc2
13131 builtin and then its argument prototype would still apply. */
13132 char gethostbyname();
13136 /* The GNU C library defines this for functions which it implements
13137 to always fail with ENOSYS. Some functions are actually named
13138 something starting with __ and the normal name is an alias. */
13139 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13147 if { (eval echo configure
:13148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13149 eval "ac_cv_func_gethostbyname=yes"
13151 echo "configure: failed program was:" >&5
13152 cat conftest.
$ac_ext >&5
13154 eval "ac_cv_func_gethostbyname=no"
13159 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13160 echo "$ac_t""yes" 1>&6
13163 echo "$ac_t""no" 1>&6
13166 if test $ac_cv_func_gethostbyname = no
; then
13167 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13168 echo "configure:13169: checking for gethostbyname in -lnsl" >&5
13169 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13170 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13171 echo $ac_n "(cached) $ac_c" 1>&6
13173 ac_save_LIBS
="$LIBS"
13175 cat > conftest.
$ac_ext <<EOF
13176 #line 13177 "configure"
13177 #include "confdefs.h"
13178 /* Override any gcc2 internal prototype to avoid an error. */
13179 /* We use char because int might match the return type of a gcc2
13180 builtin and then its argument prototype would still apply. */
13181 char gethostbyname();
13187 if { (eval echo configure
:13188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13189 eval "ac_cv_lib_$ac_lib_var=yes"
13191 echo "configure: failed program was:" >&5
13192 cat conftest.
$ac_ext >&5
13194 eval "ac_cv_lib_$ac_lib_var=no"
13197 LIBS
="$ac_save_LIBS"
13200 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13201 echo "$ac_t""yes" 1>&6
13202 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13204 echo "$ac_t""no" 1>&6
13209 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13210 # socket/setsockopt and other routines are undefined under SCO ODT
13211 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13212 # on later versions), says simon@lia.di.epfl.ch: it contains
13213 # gethostby* variants that don't use the nameserver (or something).
13214 # -lsocket must be given before -lnsl if both are needed.
13215 # We assume that if connect needs -lnsl, so does gethostbyname.
13216 echo $ac_n "checking for connect""... $ac_c" 1>&6
13217 echo "configure:13218: checking for connect" >&5
13218 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13219 echo $ac_n "(cached) $ac_c" 1>&6
13221 cat > conftest.
$ac_ext <<EOF
13222 #line 13223 "configure"
13223 #include "confdefs.h"
13224 /* System header to define __stub macros and hopefully few prototypes,
13225 which can conflict with char connect(); below. */
13226 #include <assert.h>
13227 /* Override any gcc2 internal prototype to avoid an error. */
13228 /* We use char because int might match the return type of a gcc2
13229 builtin and then its argument prototype would still apply. */
13234 /* The GNU C library defines this for functions which it implements
13235 to always fail with ENOSYS. Some functions are actually named
13236 something starting with __ and the normal name is an alias. */
13237 #if defined (__stub_connect) || defined (__stub___connect)
13245 if { (eval echo configure
:13246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13247 eval "ac_cv_func_connect=yes"
13249 echo "configure: failed program was:" >&5
13250 cat conftest.
$ac_ext >&5
13252 eval "ac_cv_func_connect=no"
13257 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
13258 echo "$ac_t""yes" 1>&6
13261 echo "$ac_t""no" 1>&6
13264 if test $ac_cv_func_connect = no
; then
13265 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
13266 echo "configure:13267: checking for connect in -lsocket" >&5
13267 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
13268 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13269 echo $ac_n "(cached) $ac_c" 1>&6
13271 ac_save_LIBS
="$LIBS"
13272 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13273 cat > conftest.
$ac_ext <<EOF
13274 #line 13275 "configure"
13275 #include "confdefs.h"
13276 /* Override any gcc2 internal prototype to avoid an error. */
13277 /* We use char because int might match the return type of a gcc2
13278 builtin and then its argument prototype would still apply. */
13285 if { (eval echo configure
:13286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13287 eval "ac_cv_lib_$ac_lib_var=yes"
13289 echo "configure: failed program was:" >&5
13290 cat conftest.
$ac_ext >&5
13292 eval "ac_cv_lib_$ac_lib_var=no"
13295 LIBS
="$ac_save_LIBS"
13298 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13299 echo "$ac_t""yes" 1>&6
13300 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
13302 echo "$ac_t""no" 1>&6
13307 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
13308 echo $ac_n "checking for remove""... $ac_c" 1>&6
13309 echo "configure:13310: checking for remove" >&5
13310 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
13311 echo $ac_n "(cached) $ac_c" 1>&6
13313 cat > conftest.
$ac_ext <<EOF
13314 #line 13315 "configure"
13315 #include "confdefs.h"
13316 /* System header to define __stub macros and hopefully few prototypes,
13317 which can conflict with char remove(); below. */
13318 #include <assert.h>
13319 /* Override any gcc2 internal prototype to avoid an error. */
13320 /* We use char because int might match the return type of a gcc2
13321 builtin and then its argument prototype would still apply. */
13326 /* The GNU C library defines this for functions which it implements
13327 to always fail with ENOSYS. Some functions are actually named
13328 something starting with __ and the normal name is an alias. */
13329 #if defined (__stub_remove) || defined (__stub___remove)
13337 if { (eval echo configure
:13338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13339 eval "ac_cv_func_remove=yes"
13341 echo "configure: failed program was:" >&5
13342 cat conftest.
$ac_ext >&5
13344 eval "ac_cv_func_remove=no"
13349 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
13350 echo "$ac_t""yes" 1>&6
13353 echo "$ac_t""no" 1>&6
13356 if test $ac_cv_func_remove = no
; then
13357 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
13358 echo "configure:13359: checking for remove in -lposix" >&5
13359 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
13360 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13361 echo $ac_n "(cached) $ac_c" 1>&6
13363 ac_save_LIBS
="$LIBS"
13364 LIBS
="-lposix $LIBS"
13365 cat > conftest.
$ac_ext <<EOF
13366 #line 13367 "configure"
13367 #include "confdefs.h"
13368 /* Override any gcc2 internal prototype to avoid an error. */
13369 /* We use char because int might match the return type of a gcc2
13370 builtin and then its argument prototype would still apply. */
13377 if { (eval echo configure
:13378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13379 eval "ac_cv_lib_$ac_lib_var=yes"
13381 echo "configure: failed program was:" >&5
13382 cat conftest.
$ac_ext >&5
13384 eval "ac_cv_lib_$ac_lib_var=no"
13387 LIBS
="$ac_save_LIBS"
13390 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13391 echo "$ac_t""yes" 1>&6
13392 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
13394 echo "$ac_t""no" 1>&6
13399 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13400 echo $ac_n "checking for shmat""... $ac_c" 1>&6
13401 echo "configure:13402: checking for shmat" >&5
13402 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
13403 echo $ac_n "(cached) $ac_c" 1>&6
13405 cat > conftest.
$ac_ext <<EOF
13406 #line 13407 "configure"
13407 #include "confdefs.h"
13408 /* System header to define __stub macros and hopefully few prototypes,
13409 which can conflict with char shmat(); below. */
13410 #include <assert.h>
13411 /* Override any gcc2 internal prototype to avoid an error. */
13412 /* We use char because int might match the return type of a gcc2
13413 builtin and then its argument prototype would still apply. */
13418 /* The GNU C library defines this for functions which it implements
13419 to always fail with ENOSYS. Some functions are actually named
13420 something starting with __ and the normal name is an alias. */
13421 #if defined (__stub_shmat) || defined (__stub___shmat)
13429 if { (eval echo configure
:13430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13431 eval "ac_cv_func_shmat=yes"
13433 echo "configure: failed program was:" >&5
13434 cat conftest.
$ac_ext >&5
13436 eval "ac_cv_func_shmat=no"
13441 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
13442 echo "$ac_t""yes" 1>&6
13445 echo "$ac_t""no" 1>&6
13448 if test $ac_cv_func_shmat = no
; then
13449 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
13450 echo "configure:13451: checking for shmat in -lipc" >&5
13451 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
13452 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13453 echo $ac_n "(cached) $ac_c" 1>&6
13455 ac_save_LIBS
="$LIBS"
13457 cat > conftest.
$ac_ext <<EOF
13458 #line 13459 "configure"
13459 #include "confdefs.h"
13460 /* Override any gcc2 internal prototype to avoid an error. */
13461 /* We use char because int might match the return type of a gcc2
13462 builtin and then its argument prototype would still apply. */
13469 if { (eval echo configure
:13470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13471 eval "ac_cv_lib_$ac_lib_var=yes"
13473 echo "configure: failed program was:" >&5
13474 cat conftest.
$ac_ext >&5
13476 eval "ac_cv_lib_$ac_lib_var=no"
13479 LIBS
="$ac_save_LIBS"
13482 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13483 echo "$ac_t""yes" 1>&6
13484 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
13486 echo "$ac_t""no" 1>&6
13492 # Check for libraries that X11R6 Xt/Xaw programs need.
13493 ac_save_LDFLAGS
="$LDFLAGS"
13494 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
13495 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13496 # check for ICE first), but we must link in the order -lSM -lICE or
13497 # we get undefined symbols. So assume we have SM if we have ICE.
13498 # These have to be linked with before -lX11, unlike the other
13499 # libraries we check for below, so use a different variable.
13500 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
13501 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
13502 echo "configure:13503: checking for IceConnectionNumber in -lICE" >&5
13503 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
13504 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13505 echo $ac_n "(cached) $ac_c" 1>&6
13507 ac_save_LIBS
="$LIBS"
13508 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
13509 cat > conftest.
$ac_ext <<EOF
13510 #line 13511 "configure"
13511 #include "confdefs.h"
13512 /* Override any gcc2 internal prototype to avoid an error. */
13513 /* We use char because int might match the return type of a gcc2
13514 builtin and then its argument prototype would still apply. */
13515 char IceConnectionNumber();
13518 IceConnectionNumber()
13521 if { (eval echo configure
:13522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13523 eval "ac_cv_lib_$ac_lib_var=yes"
13525 echo "configure: failed program was:" >&5
13526 cat conftest.
$ac_ext >&5
13528 eval "ac_cv_lib_$ac_lib_var=no"
13531 LIBS
="$ac_save_LIBS"
13534 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13535 echo "$ac_t""yes" 1>&6
13536 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
13538 echo "$ac_t""no" 1>&6
13541 LDFLAGS
="$ac_save_LDFLAGS"
13546 if test "$no_x" = "yes"; then
13547 { echo "configure: error: X11 not found" 1>&2; exit 1; }
13550 GUI_TK_LIBRARY
="$X_LIBS"
13551 TOOLKIT_INCLUDE
="$X_CFLAGS"
13552 AFMINSTALL
=afminstall
13553 COMPILED_X_PROGRAM
=0
13555 if test "$wxUSE_NANOX" = "yes"; then
13556 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
13557 echo "configure:13558: checking for MicroWindows/NanoX distribution" >&5
13558 if test "x$MICROWIN" = x
; then
13559 echo "$ac_t""not found" 1>&6
13560 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
13562 echo "$ac_t""$MICROWIN" 1>&6
13563 cat >> confdefs.h
<<\EOF
13564 #define wxUSE_NANOX 1
13571 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13572 echo "configure:13573: checking for Xpm library" >&5
13575 for ac_dir
in $SEARCH_LIB;
13577 for ac_extension
in a so sl dylib
; do
13578 if test -f "$ac_dir/libXpm.$ac_extension"; then
13579 ac_find_libraries
=$ac_dir
13585 if test "$ac_find_libraries" != "" ; then
13587 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13589 if test $result = 0; then
13592 ac_path_to_link
=" -L$ac_find_libraries"
13595 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13597 cat >> confdefs.h
<<\EOF
13598 #define wxHAVE_LIB_XPM 1
13601 echo "$ac_t""found at $ac_find_libraries" 1>&6
13603 cat > conftest.
$ac_ext <<EOF
13604 #line 13605 "configure"
13605 #include "confdefs.h"
13607 #include <X11/xpm.h>
13612 version = XpmLibraryVersion();
13616 if { (eval echo configure
:13617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13620 cat >> confdefs.h
<<\EOF
13621 #define wxHAVE_LIB_XPM 1
13624 echo "$ac_t""found in default search path" 1>&6
13625 COMPILED_X_PROGRAM
=0
13628 echo "configure: failed program was:" >&5
13629 cat conftest.
$ac_ext >&5
13632 echo "$ac_t""no" 1>&6
13633 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13640 wxUSE_UNIVERSAL
="yes"
13642 if test "$wxUSE_NANOX" = "yes"; then
13643 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
13644 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"
13645 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
13647 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
13650 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
13655 if test "$wxUSE_WINE" = 1; then
13656 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
13657 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
13658 echo "configure:13659: checking for windows.h" >&5
13659 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13660 echo $ac_n "(cached) $ac_c" 1>&6
13662 cat > conftest.
$ac_ext <<EOF
13663 #line 13664 "configure"
13664 #include "confdefs.h"
13665 #include <windows.h>
13667 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13668 { (eval echo configure
:13669: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13669 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13670 if test -z "$ac_err"; then
13672 eval "ac_cv_header_$ac_safe=yes"
13675 echo "configure: failed program was:" >&5
13676 cat conftest.
$ac_ext >&5
13678 eval "ac_cv_header_$ac_safe=no"
13682 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13683 echo "$ac_t""yes" 1>&6
13686 echo "$ac_t""no" 1>&6
13688 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
13694 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13695 echo "configure:13696: checking for Xpm library" >&5
13698 for ac_dir
in $SEARCH_LIB;
13700 for ac_extension
in a so sl dylib
; do
13701 if test -f "$ac_dir/libXpm.$ac_extension"; then
13702 ac_find_libraries
=$ac_dir
13708 if test "$ac_find_libraries" != "" ; then
13709 GUI_TK_LIBRARY
="-L$ac_find_libraries"
13711 cat >> confdefs.h
<<\EOF
13712 #define wxHAVE_LIB_XPM 1
13715 echo "$ac_t""found at $ac_find_libraries" 1>&6
13717 echo "$ac_t""no" 1>&6
13718 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13722 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
13723 echo "configure:13724: checking for Mesa library" >&5
13726 for ac_dir
in $SEARCH_LIB;
13728 for ac_extension
in a so sl dylib
; do
13729 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
13730 ac_find_libraries
=$ac_dir
13736 if test "$ac_find_libraries" != "" ; then
13737 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
13738 mesa_link
=" -lMesaGL"
13739 echo "$ac_t""found at $ac_find_libraries" 1>&6
13741 { echo "configure: error: no" 1>&2; exit 1; }
13744 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
13747 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
13750 if test "$wxUSE_MOTIF" = 1; then
13751 if test "$no_x" = yes; then
13752 # Not all programs may use this symbol, but it does not hurt to define it.
13753 cat >> confdefs.h
<<\EOF
13754 #define X_DISPLAY_MISSING 1
13757 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13759 if test -n "$x_includes"; then
13760 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13763 # It would also be nice to do this for all -L options, not just this one.
13764 if test -n "$x_libraries"; then
13765 X_LIBS
="$X_LIBS -L$x_libraries"
13766 # For Solaris; some versions of Sun CC require a space after -R and
13767 # others require no space. Words are not sufficient . . . .
13768 case "`(uname -sr) 2>/dev/null`" in
13770 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13771 echo "configure:13772: checking whether -R must be followed by a space" >&5
13772 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13773 cat > conftest.
$ac_ext <<EOF
13774 #line 13775 "configure"
13775 #include "confdefs.h"
13781 if { (eval echo configure
:13782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13785 echo "configure: failed program was:" >&5
13786 cat conftest.
$ac_ext >&5
13791 if test $ac_R_nospace = yes; then
13792 echo "$ac_t""no" 1>&6
13793 X_LIBS
="$X_LIBS -R$x_libraries"
13795 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13796 cat > conftest.
$ac_ext <<EOF
13797 #line 13798 "configure"
13798 #include "confdefs.h"
13804 if { (eval echo configure
:13805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13808 echo "configure: failed program was:" >&5
13809 cat conftest.
$ac_ext >&5
13814 if test $ac_R_space = yes; then
13815 echo "$ac_t""yes" 1>&6
13816 X_LIBS
="$X_LIBS -R $x_libraries"
13818 echo "$ac_t""neither works" 1>&6
13821 LIBS
="$ac_xsave_LIBS"
13825 # Check for system-dependent libraries X programs must link with.
13826 # Do this before checking for the system-independent R6 libraries
13827 # (-lICE), since we may need -lsocket or whatever for X linking.
13829 if test "$ISC" = yes; then
13830 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13832 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13833 # libraries were built with DECnet support. And karl@cs.umb.edu says
13834 # the Alpha needs dnet_stub (dnet does not exist).
13835 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13836 echo "configure:13837: checking for dnet_ntoa in -ldnet" >&5
13837 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13838 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13839 echo $ac_n "(cached) $ac_c" 1>&6
13841 ac_save_LIBS
="$LIBS"
13842 LIBS
="-ldnet $LIBS"
13843 cat > conftest.
$ac_ext <<EOF
13844 #line 13845 "configure"
13845 #include "confdefs.h"
13846 /* Override any gcc2 internal prototype to avoid an error. */
13847 /* We use char because int might match the return type of a gcc2
13848 builtin and then its argument prototype would still apply. */
13855 if { (eval echo configure
:13856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13857 eval "ac_cv_lib_$ac_lib_var=yes"
13859 echo "configure: failed program was:" >&5
13860 cat conftest.
$ac_ext >&5
13862 eval "ac_cv_lib_$ac_lib_var=no"
13865 LIBS
="$ac_save_LIBS"
13868 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13869 echo "$ac_t""yes" 1>&6
13870 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13872 echo "$ac_t""no" 1>&6
13875 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13876 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13877 echo "configure:13878: checking for dnet_ntoa in -ldnet_stub" >&5
13878 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13879 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13880 echo $ac_n "(cached) $ac_c" 1>&6
13882 ac_save_LIBS
="$LIBS"
13883 LIBS
="-ldnet_stub $LIBS"
13884 cat > conftest.
$ac_ext <<EOF
13885 #line 13886 "configure"
13886 #include "confdefs.h"
13887 /* Override any gcc2 internal prototype to avoid an error. */
13888 /* We use char because int might match the return type of a gcc2
13889 builtin and then its argument prototype would still apply. */
13896 if { (eval echo configure
:13897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13898 eval "ac_cv_lib_$ac_lib_var=yes"
13900 echo "configure: failed program was:" >&5
13901 cat conftest.
$ac_ext >&5
13903 eval "ac_cv_lib_$ac_lib_var=no"
13906 LIBS
="$ac_save_LIBS"
13909 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13910 echo "$ac_t""yes" 1>&6
13911 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13913 echo "$ac_t""no" 1>&6
13918 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13919 # to get the SysV transport functions.
13920 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13922 # The nsl library prevents programs from opening the X display
13923 # on Irix 5.2, according to dickey@clark.net.
13924 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13925 echo "configure:13926: checking for gethostbyname" >&5
13926 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13927 echo $ac_n "(cached) $ac_c" 1>&6
13929 cat > conftest.
$ac_ext <<EOF
13930 #line 13931 "configure"
13931 #include "confdefs.h"
13932 /* System header to define __stub macros and hopefully few prototypes,
13933 which can conflict with char gethostbyname(); below. */
13934 #include <assert.h>
13935 /* Override any gcc2 internal prototype to avoid an error. */
13936 /* We use char because int might match the return type of a gcc2
13937 builtin and then its argument prototype would still apply. */
13938 char gethostbyname();
13942 /* The GNU C library defines this for functions which it implements
13943 to always fail with ENOSYS. Some functions are actually named
13944 something starting with __ and the normal name is an alias. */
13945 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13953 if { (eval echo configure
:13954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13955 eval "ac_cv_func_gethostbyname=yes"
13957 echo "configure: failed program was:" >&5
13958 cat conftest.
$ac_ext >&5
13960 eval "ac_cv_func_gethostbyname=no"
13965 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13966 echo "$ac_t""yes" 1>&6
13969 echo "$ac_t""no" 1>&6
13972 if test $ac_cv_func_gethostbyname = no
; then
13973 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13974 echo "configure:13975: checking for gethostbyname in -lnsl" >&5
13975 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13976 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13977 echo $ac_n "(cached) $ac_c" 1>&6
13979 ac_save_LIBS
="$LIBS"
13981 cat > conftest.
$ac_ext <<EOF
13982 #line 13983 "configure"
13983 #include "confdefs.h"
13984 /* Override any gcc2 internal prototype to avoid an error. */
13985 /* We use char because int might match the return type of a gcc2
13986 builtin and then its argument prototype would still apply. */
13987 char gethostbyname();
13993 if { (eval echo configure
:13994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13995 eval "ac_cv_lib_$ac_lib_var=yes"
13997 echo "configure: failed program was:" >&5
13998 cat conftest.
$ac_ext >&5
14000 eval "ac_cv_lib_$ac_lib_var=no"
14003 LIBS
="$ac_save_LIBS"
14006 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14007 echo "$ac_t""yes" 1>&6
14008 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14010 echo "$ac_t""no" 1>&6
14015 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14016 # socket/setsockopt and other routines are undefined under SCO ODT
14017 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14018 # on later versions), says simon@lia.di.epfl.ch: it contains
14019 # gethostby* variants that don't use the nameserver (or something).
14020 # -lsocket must be given before -lnsl if both are needed.
14021 # We assume that if connect needs -lnsl, so does gethostbyname.
14022 echo $ac_n "checking for connect""... $ac_c" 1>&6
14023 echo "configure:14024: checking for connect" >&5
14024 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14025 echo $ac_n "(cached) $ac_c" 1>&6
14027 cat > conftest.
$ac_ext <<EOF
14028 #line 14029 "configure"
14029 #include "confdefs.h"
14030 /* System header to define __stub macros and hopefully few prototypes,
14031 which can conflict with char connect(); below. */
14032 #include <assert.h>
14033 /* Override any gcc2 internal prototype to avoid an error. */
14034 /* We use char because int might match the return type of a gcc2
14035 builtin and then its argument prototype would still apply. */
14040 /* The GNU C library defines this for functions which it implements
14041 to always fail with ENOSYS. Some functions are actually named
14042 something starting with __ and the normal name is an alias. */
14043 #if defined (__stub_connect) || defined (__stub___connect)
14051 if { (eval echo configure
:14052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14053 eval "ac_cv_func_connect=yes"
14055 echo "configure: failed program was:" >&5
14056 cat conftest.
$ac_ext >&5
14058 eval "ac_cv_func_connect=no"
14063 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14064 echo "$ac_t""yes" 1>&6
14067 echo "$ac_t""no" 1>&6
14070 if test $ac_cv_func_connect = no
; then
14071 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14072 echo "configure:14073: checking for connect in -lsocket" >&5
14073 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14074 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14075 echo $ac_n "(cached) $ac_c" 1>&6
14077 ac_save_LIBS
="$LIBS"
14078 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14079 cat > conftest.
$ac_ext <<EOF
14080 #line 14081 "configure"
14081 #include "confdefs.h"
14082 /* Override any gcc2 internal prototype to avoid an error. */
14083 /* We use char because int might match the return type of a gcc2
14084 builtin and then its argument prototype would still apply. */
14091 if { (eval echo configure
:14092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14093 eval "ac_cv_lib_$ac_lib_var=yes"
14095 echo "configure: failed program was:" >&5
14096 cat conftest.
$ac_ext >&5
14098 eval "ac_cv_lib_$ac_lib_var=no"
14101 LIBS
="$ac_save_LIBS"
14104 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14105 echo "$ac_t""yes" 1>&6
14106 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14108 echo "$ac_t""no" 1>&6
14113 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14114 echo $ac_n "checking for remove""... $ac_c" 1>&6
14115 echo "configure:14116: checking for remove" >&5
14116 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14117 echo $ac_n "(cached) $ac_c" 1>&6
14119 cat > conftest.
$ac_ext <<EOF
14120 #line 14121 "configure"
14121 #include "confdefs.h"
14122 /* System header to define __stub macros and hopefully few prototypes,
14123 which can conflict with char remove(); below. */
14124 #include <assert.h>
14125 /* Override any gcc2 internal prototype to avoid an error. */
14126 /* We use char because int might match the return type of a gcc2
14127 builtin and then its argument prototype would still apply. */
14132 /* The GNU C library defines this for functions which it implements
14133 to always fail with ENOSYS. Some functions are actually named
14134 something starting with __ and the normal name is an alias. */
14135 #if defined (__stub_remove) || defined (__stub___remove)
14143 if { (eval echo configure
:14144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14145 eval "ac_cv_func_remove=yes"
14147 echo "configure: failed program was:" >&5
14148 cat conftest.
$ac_ext >&5
14150 eval "ac_cv_func_remove=no"
14155 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14156 echo "$ac_t""yes" 1>&6
14159 echo "$ac_t""no" 1>&6
14162 if test $ac_cv_func_remove = no
; then
14163 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14164 echo "configure:14165: checking for remove in -lposix" >&5
14165 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14166 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14167 echo $ac_n "(cached) $ac_c" 1>&6
14169 ac_save_LIBS
="$LIBS"
14170 LIBS
="-lposix $LIBS"
14171 cat > conftest.
$ac_ext <<EOF
14172 #line 14173 "configure"
14173 #include "confdefs.h"
14174 /* Override any gcc2 internal prototype to avoid an error. */
14175 /* We use char because int might match the return type of a gcc2
14176 builtin and then its argument prototype would still apply. */
14183 if { (eval echo configure
:14184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14185 eval "ac_cv_lib_$ac_lib_var=yes"
14187 echo "configure: failed program was:" >&5
14188 cat conftest.
$ac_ext >&5
14190 eval "ac_cv_lib_$ac_lib_var=no"
14193 LIBS
="$ac_save_LIBS"
14196 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14197 echo "$ac_t""yes" 1>&6
14198 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14200 echo "$ac_t""no" 1>&6
14205 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14206 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14207 echo "configure:14208: checking for shmat" >&5
14208 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14209 echo $ac_n "(cached) $ac_c" 1>&6
14211 cat > conftest.
$ac_ext <<EOF
14212 #line 14213 "configure"
14213 #include "confdefs.h"
14214 /* System header to define __stub macros and hopefully few prototypes,
14215 which can conflict with char shmat(); below. */
14216 #include <assert.h>
14217 /* Override any gcc2 internal prototype to avoid an error. */
14218 /* We use char because int might match the return type of a gcc2
14219 builtin and then its argument prototype would still apply. */
14224 /* The GNU C library defines this for functions which it implements
14225 to always fail with ENOSYS. Some functions are actually named
14226 something starting with __ and the normal name is an alias. */
14227 #if defined (__stub_shmat) || defined (__stub___shmat)
14235 if { (eval echo configure
:14236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14237 eval "ac_cv_func_shmat=yes"
14239 echo "configure: failed program was:" >&5
14240 cat conftest.
$ac_ext >&5
14242 eval "ac_cv_func_shmat=no"
14247 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14248 echo "$ac_t""yes" 1>&6
14251 echo "$ac_t""no" 1>&6
14254 if test $ac_cv_func_shmat = no
; then
14255 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14256 echo "configure:14257: checking for shmat in -lipc" >&5
14257 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14258 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14259 echo $ac_n "(cached) $ac_c" 1>&6
14261 ac_save_LIBS
="$LIBS"
14263 cat > conftest.
$ac_ext <<EOF
14264 #line 14265 "configure"
14265 #include "confdefs.h"
14266 /* Override any gcc2 internal prototype to avoid an error. */
14267 /* We use char because int might match the return type of a gcc2
14268 builtin and then its argument prototype would still apply. */
14275 if { (eval echo configure
:14276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14277 eval "ac_cv_lib_$ac_lib_var=yes"
14279 echo "configure: failed program was:" >&5
14280 cat conftest.
$ac_ext >&5
14282 eval "ac_cv_lib_$ac_lib_var=no"
14285 LIBS
="$ac_save_LIBS"
14288 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14289 echo "$ac_t""yes" 1>&6
14290 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14292 echo "$ac_t""no" 1>&6
14298 # Check for libraries that X11R6 Xt/Xaw programs need.
14299 ac_save_LDFLAGS
="$LDFLAGS"
14300 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14301 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14302 # check for ICE first), but we must link in the order -lSM -lICE or
14303 # we get undefined symbols. So assume we have SM if we have ICE.
14304 # These have to be linked with before -lX11, unlike the other
14305 # libraries we check for below, so use a different variable.
14306 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14307 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14308 echo "configure:14309: checking for IceConnectionNumber in -lICE" >&5
14309 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14310 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14311 echo $ac_n "(cached) $ac_c" 1>&6
14313 ac_save_LIBS
="$LIBS"
14314 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14315 cat > conftest.
$ac_ext <<EOF
14316 #line 14317 "configure"
14317 #include "confdefs.h"
14318 /* Override any gcc2 internal prototype to avoid an error. */
14319 /* We use char because int might match the return type of a gcc2
14320 builtin and then its argument prototype would still apply. */
14321 char IceConnectionNumber();
14324 IceConnectionNumber()
14327 if { (eval echo configure
:14328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14329 eval "ac_cv_lib_$ac_lib_var=yes"
14331 echo "configure: failed program was:" >&5
14332 cat conftest.
$ac_ext >&5
14334 eval "ac_cv_lib_$ac_lib_var=no"
14337 LIBS
="$ac_save_LIBS"
14340 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14341 echo "$ac_t""yes" 1>&6
14342 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14344 echo "$ac_t""no" 1>&6
14347 LDFLAGS
="$ac_save_LDFLAGS"
14352 if test "$no_x" = "yes"; then
14353 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14356 GUI_TK_LIBRARY
="$X_LIBS"
14357 TOOLKIT_INCLUDE
="$X_CFLAGS"
14358 AFMINSTALL
=afminstall
14359 COMPILED_X_PROGRAM
=0
14361 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
14362 echo "configure:14363: checking for Motif/Lesstif headers" >&5
14365 for ac_dir
in $SEARCH_INCLUDE;
14367 if test -f "$ac_dir/Xm/Xm.h"; then
14368 ac_find_includes
=$ac_dir
14373 if test "$ac_find_includes" != "" ; then
14374 echo "$ac_t""found $ac_find_includes" 1>&6
14376 cat > conftest.
$ac_ext <<EOF
14377 #line 14378 "configure"
14378 #include "confdefs.h"
14385 version = xmUseVersion;
14389 if { (eval echo configure
:14390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14392 echo "$ac_t""found in default search path" 1>&6
14393 COMPILED_X_PROGRAM
=1
14396 echo "configure: failed program was:" >&5
14397 cat conftest.
$ac_ext >&5
14400 echo "$ac_t""no" 1>&6
14401 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
14408 if test "$COMPILED_X_PROGRAM" = 0; then
14409 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
14410 echo "configure:14411: checking for Motif/Lesstif library" >&5
14413 for ac_dir
in $SEARCH_LIB;
14415 for ac_extension
in a so sl dylib
; do
14416 if test -f "$ac_dir/libXm.$ac_extension"; then
14417 ac_find_libraries
=$ac_dir
14423 if test "$ac_find_libraries" != "" ; then
14425 ac_path_to_include
=$ac_find_includes
14426 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
14428 if test $result = 0; then
14429 ac_path_to_include
=""
14431 ac_path_to_include
=" -I$ac_find_includes"
14435 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14437 if test $result = 0; then
14440 ac_path_to_link
=" -L$ac_find_libraries"
14444 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14445 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
14446 echo "$ac_t""found at $ac_find_libraries" 1>&6
14448 cat > conftest.
$ac_ext <<EOF
14449 #line 14450 "configure"
14450 #include "confdefs.h"
14457 version = xmUseVersion;
14461 if { (eval echo configure
:14462: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14464 echo "$ac_t""found in default search path" 1>&6
14465 COMPILED_X_PROGRAM
=1
14468 echo "configure: failed program was:" >&5
14469 cat conftest.
$ac_ext >&5
14472 echo "$ac_t""no" 1>&6
14473 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
14482 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14483 echo "configure:14484: checking for Xpm library" >&5
14486 for ac_dir
in $SEARCH_LIB;
14488 for ac_extension
in a so sl dylib
; do
14489 if test -f "$ac_dir/libXpm.$ac_extension"; then
14490 ac_find_libraries
=$ac_dir
14496 if test "$ac_find_libraries" != "" ; then
14498 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14500 if test $result = 0; then
14503 ac_path_to_link
=" -L$ac_find_libraries"
14506 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14508 cat >> confdefs.h
<<\EOF
14509 #define wxHAVE_LIB_XPM 1
14512 echo "$ac_t""found at $ac_find_libraries" 1>&6
14514 cat > conftest.
$ac_ext <<EOF
14515 #line 14516 "configure"
14516 #include "confdefs.h"
14518 #include <X11/xpm.h>
14523 version = XpmLibraryVersion();
14527 if { (eval echo configure
:14528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14531 cat >> confdefs.h
<<\EOF
14532 #define wxHAVE_LIB_XPM 1
14535 echo "$ac_t""found in default search path" 1>&6
14536 COMPILED_X_PROGRAM
=0
14539 echo "configure: failed program was:" >&5
14540 cat conftest.
$ac_ext >&5
14543 echo "$ac_t""no" 1>&6
14544 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14554 xt_needs_sm_ice
=" -lSM -lICE"
14558 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt${xt_needs_sm_ice} -lX11"
14559 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
14564 if test "$wxUSE_MAC" = 1; then
14565 if test "$wxUSE_PRECOMP" = "yes"; then
14566 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
14568 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
14570 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
14571 CFLAGS
="$CFLAGS -fpascal-strings"
14572 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
14574 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
14579 if test "$wxUSE_PM" = 1; then
14584 if test "$TOOLKIT" = "PM" ; then
14587 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
14590 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
14592 if test "$wxUSE_UNIVERSAL" = "yes"; then
14593 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
14595 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
14596 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
14598 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
14599 if test "$wxUSE_X11" = 1; then
14600 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
14602 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
14604 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
14607 ALL_OBJECTS
="\$(GUIOBJS)"
14608 ALL_SOURCES
="\$(ALL_SOURCES)"
14609 ALL_HEADERS
="\$(ALL_HEADERS)"
14612 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
14614 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
14615 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
14618 if test "$wxUSE_HTML" = "yes"; then
14619 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
14622 if test "$wxUSE_LIBJPEG" = "builtin" ; then
14623 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
14625 if test "$wxUSE_LIBTIFF" = "builtin" ; then
14626 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
14628 if test "$wxUSE_LIBPNG" = "builtin" ; then
14629 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
14632 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
14633 DISTDIR
="wx\$(TOOLKIT)"
14639 if test "$USE_WIN32" = 1 ; then
14640 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
14641 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
14645 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
14646 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
14649 ALL_SOURCES
="\$(ALL_SOURCES)"
14650 ALL_HEADERS
="\$(ALL_HEADERS)"
14652 PORT_FILES
="\${top_srcdir}/src/files.lst"
14654 GUIDIST
="BASE_DIST"
14659 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
14660 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
14663 if test "$wxUSE_REGEX" = "builtin" ; then
14664 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
14666 if test "$wxUSE_ZLIB" = "builtin" ; then
14667 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
14671 if test "$wxUSE_OPENGL" = "yes"; then
14672 if test "$wxUSE_MAC" = 1; then
14673 OPENGL_LIBS
="-framework OpenGL -framework AGL"
14674 elif test "$wxUSE_MSW" = 1; then
14675 OPENGL_LIBS
="-lopengl32 -lglu32"
14677 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
14678 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
14679 echo "configure:14680: checking for GL/gl.h" >&5
14680 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14681 echo $ac_n "(cached) $ac_c" 1>&6
14683 cat > conftest.
$ac_ext <<EOF
14684 #line 14685 "configure"
14685 #include "confdefs.h"
14688 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14689 { (eval echo configure
:14690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14690 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14691 if test -z "$ac_err"; then
14693 eval "ac_cv_header_$ac_safe=yes"
14696 echo "configure: failed program was:" >&5
14697 cat conftest.
$ac_ext >&5
14699 eval "ac_cv_header_$ac_safe=no"
14703 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14704 echo "$ac_t""yes" 1>&6
14706 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
14707 echo "configure:14708: checking for -lGL" >&5
14710 for ac_dir
in $SEARCH_LIB;
14712 for ac_extension
in a so sl dylib
; do
14713 if test -f "$ac_dir/libGL.$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 if test "$ac_path_to_link" = " -L/usr/lib" ; then
14731 LDFLAGS_GL
="$LDFLAGS"
14733 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
14735 OPENGL_LIBS
="-lGL -lGLU"
14736 echo "$ac_t""yes" 1>&6
14738 echo "$ac_t""no" 1>&6
14739 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
14740 echo "configure:14741: checking for -lMesaGL" >&5
14743 for ac_dir
in $SEARCH_LIB;
14745 for ac_extension
in a so sl dylib
; do
14746 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
14747 ac_find_libraries
=$ac_dir
14753 if test "$ac_find_libraries" != "" ; then
14755 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
14757 if test $result = 0; then
14760 ac_path_to_link
=" -L$ac_find_libraries"
14763 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
14764 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
14765 echo "$ac_t""yes" 1>&6
14767 echo "$ac_t""no" 1>&6
14772 echo "$ac_t""no" 1>&6
14776 if test "x$OPENGL_LIBS" = "x"; then
14777 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
14781 if test "$wxUSE_OPENGL" = "yes"; then
14782 cat >> confdefs.h
<<\EOF
14783 #define wxUSE_OPENGL 1
14786 cat >> confdefs.h
<<\EOF
14787 #define wxUSE_GLCANVAS 1
14790 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
14794 if test -z "$TOOLKIT_VPATH" ; then
14795 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
14798 if test -n "$TOOLKIT" ; then
14799 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
14802 lib_unicode_suffix
=
14803 if test "$wxUSE_UNICODE" = "yes"; then
14804 lib_unicode_suffix
=u
14808 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
14812 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
14813 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
14815 if test "$cross_compiling" = "yes"; then
14816 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
14817 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
14820 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
14821 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
14823 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
14824 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
14826 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
14827 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
14828 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
14829 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
14832 *-*-cygwin* | *-*-mingw32* )
14836 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
14837 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
14838 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
14839 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
14840 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
14842 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
14843 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
14848 if test "$wxUSE_MAC" = 1; then
14849 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.r"
14850 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.rsrc"
14855 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
14856 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
14858 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
14859 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
14861 if test "$wxUSE_OPENGL" = "yes"; then
14862 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
14863 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
14868 if test "$wxUSE_SHARED" = "yes"; then
14870 *-pc-os2_emx | *-pc-os2-emx | \
14873 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
14878 if test "$wxUSE_SHARED" = "yes"; then
14880 if test "$wxUSE_OPENGL" = "yes"; then
14881 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
14882 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
14884 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
14885 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
14888 if test "$GCC" = "yes"; then
14892 SHARED_LD
="${CXX} -shared -o"
14896 if test "$GCC" == "yes"; then
14897 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
14899 LDFLAGS
="$LDFLAGS -L/usr/lib"
14901 SHARED_LD
="${CXX} -b -o"
14905 if test "$wxUSE_OPENGL" = "yes"; then
14906 WX_ALL_INSTALLED
="preinstall_gl"
14907 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
14909 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
14914 if test "$GCC" != "yes"; then
14915 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
14916 echo "configure:14917: checking for Intel compiler" >&5
14917 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
14918 echo $ac_n "(cached) $ac_c" 1>&6
14921 cat > conftest.
$ac_ext <<EOF
14922 #line 14923 "configure"
14923 #include "confdefs.h"
14927 #ifndef __INTEL_COMPILER
14933 if { (eval echo configure
:14934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14937 echo "configure: failed program was:" >&5
14938 cat conftest.
$ac_ext >&5
14947 echo "$ac_t""$wx_cv_prog_icc" 1>&6
14948 if test "$wx_cv_prog_icc" = "yes"; then
14953 if test "$wxUSE_SONAME" = "yes" ; then
14954 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
14955 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
14956 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
14961 if test "$GCC" = yes ; then
14962 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
14964 SHARED_LD
="${CXX} -G -o"
14966 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
14967 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
14972 CFLAGS
="$CFLAGS -fno-common -DWXMAKINGDLL"
14973 CXXFLAGS
="$CXXFLAGS -fno-common -DWXMAKINGDLL"
14974 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
14975 PIC_FLAG
="-dynamic -fPIC"
14976 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"
14977 SONAME_FLAGS_GL
=${SONAME_FLAGS}
14981 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
14982 set dummy makeC
++SharedLib
; ac_word
=$2
14983 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14984 echo "configure:14985: checking for $ac_word" >&5
14985 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
14986 echo $ac_n "(cached) $ac_c" 1>&6
14988 if test -n "$AIX_CXX_LD"; then
14989 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
14991 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14993 for ac_dir
in $ac_dummy; do
14994 test -z "$ac_dir" && ac_dir
=.
14995 if test -f $ac_dir/$ac_word; then
14996 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
15001 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
15004 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
15005 if test -n "$AIX_CXX_LD"; then
15006 echo "$ac_t""$AIX_CXX_LD" 1>&6
15008 echo "$ac_t""no" 1>&6
15012 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
15015 *-*-cygwin* | *-*-mingw32* )
15017 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
15019 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
15020 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
15022 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
15024 if test "$wxUSE_OPENGL" = "yes"; then
15025 WX_ALL_INSTALLED
="preinstall_gl"
15026 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
15028 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
15033 SHARED_LD
="${LD} -shared -o"
15036 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
15038 *-*-irix5* | *-*-irix6* | \
15045 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
15048 if test "x$WX_TARGET_LIBRARY" = "x"; then
15049 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
15050 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
15053 WX_TARGET_LIBRARY_TYPE
="so"
15054 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
15057 if test "$wxUSE_SHARED" = "no"; then
15059 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
15060 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
15063 if test "$wxUSE_MAC" = 1; then
15064 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
15067 if test "$wxUSE_OPENGL" = "yes"; then
15068 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
15069 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
15071 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
15074 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
15075 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
15077 WX_TARGET_LIBRARY_TYPE
="a"
15078 INSTALL_LIBRARY
='$(INSTALL_DATA)'
15081 if test "$wxUSE_MAC" = 1; then
15082 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
15083 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
15084 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
15085 # Extract the first word of "Rez", so it can be a program name with args.
15086 set dummy Rez
; ac_word
=$2
15087 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15088 echo "configure:15089: checking for $ac_word" >&5
15089 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
15090 echo $ac_n "(cached) $ac_c" 1>&6
15092 if test -n "$RESCOMP"; then
15093 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
15095 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15097 for ac_dir
in $ac_dummy; do
15098 test -z "$ac_dir" && ac_dir
=.
15099 if test -f $ac_dir/$ac_word; then
15100 ac_cv_prog_RESCOMP
="Rez"
15105 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
15108 RESCOMP
="$ac_cv_prog_RESCOMP"
15109 if test -n "$RESCOMP"; then
15110 echo "$ac_t""$RESCOMP" 1>&6
15112 echo "$ac_t""no" 1>&6
15115 # Extract the first word of "DeRez", so it can be a program name with args.
15116 set dummy DeRez
; ac_word
=$2
15117 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15118 echo "configure:15119: checking for $ac_word" >&5
15119 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
15120 echo $ac_n "(cached) $ac_c" 1>&6
15122 if test -n "$DEREZ"; then
15123 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
15125 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15127 for ac_dir
in $ac_dummy; do
15128 test -z "$ac_dir" && ac_dir
=.
15129 if test -f $ac_dir/$ac_word; then
15130 ac_cv_prog_DEREZ
="DeRez"
15135 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
15138 DEREZ
="$ac_cv_prog_DEREZ"
15139 if test -n "$DEREZ"; then
15140 echo "$ac_t""$DEREZ" 1>&6
15142 echo "$ac_t""no" 1>&6
15145 MACOSX_BUNDLE
="bundle"
15146 if test "$wxUSE_SHARED" = "yes"; then
15147 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r -o \$(BIN_PROGRAM)"
15148 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r -o"
15150 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
15151 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
15154 if test "$wxUSE_PM" = 1; then
15155 LIBWXMACRESCOMP
="emxbind -ep \$(BIN_PROGRAM)"
15160 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
15161 echo "configure:15162: checking for ANSI C header files" >&5
15162 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
15163 echo $ac_n "(cached) $ac_c" 1>&6
15165 cat > conftest.
$ac_ext <<EOF
15166 #line 15167 "configure"
15167 #include "confdefs.h"
15168 #include <stdlib.h>
15169 #include <stdarg.h>
15170 #include <string.h>
15173 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15174 { (eval echo configure
:15175: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15175 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15176 if test -z "$ac_err"; then
15178 ac_cv_header_stdc
=yes
15181 echo "configure: failed program was:" >&5
15182 cat conftest.
$ac_ext >&5
15184 ac_cv_header_stdc
=no
15188 if test $ac_cv_header_stdc = yes; then
15189 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15190 cat > conftest.
$ac_ext <<EOF
15191 #line 15192 "configure"
15192 #include "confdefs.h"
15193 #include <string.h>
15195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15196 egrep "memchr" >/dev
/null
2>&1; then
15200 ac_cv_header_stdc
=no
15206 if test $ac_cv_header_stdc = yes; then
15207 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15208 cat > conftest.
$ac_ext <<EOF
15209 #line 15210 "configure"
15210 #include "confdefs.h"
15211 #include <stdlib.h>
15213 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15214 egrep "free" >/dev
/null
2>&1; then
15218 ac_cv_header_stdc
=no
15224 if test $ac_cv_header_stdc = yes; then
15225 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15226 if test "$cross_compiling" = yes; then
15229 cat > conftest.
$ac_ext <<EOF
15230 #line 15231 "configure"
15231 #include "confdefs.h"
15233 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15234 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15235 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15236 int main () { int i; for (i = 0; i < 256; i++)
15237 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
15241 if { (eval echo configure
:15242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
15245 echo "configure: failed program was:" >&5
15246 cat conftest.
$ac_ext >&5
15248 ac_cv_header_stdc
=no
15256 echo "$ac_t""$ac_cv_header_stdc" 1>&6
15257 if test $ac_cv_header_stdc = yes; then
15258 cat >> confdefs.h
<<\EOF
15259 #define STDC_HEADERS 1
15264 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
15265 echo "configure:15266: checking for mode_t" >&5
15266 if eval "test \"`echo '$''{'ac_cv_type_mode_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])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15281 ac_cv_type_mode_t
=yes
15284 ac_cv_type_mode_t
=no
15289 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
15290 if test $ac_cv_type_mode_t = no
; then
15291 cat >> confdefs.h
<<\EOF
15297 echo $ac_n "checking for off_t""... $ac_c" 1>&6
15298 echo "configure:15299: checking for off_t" >&5
15299 if eval "test \"`echo '$''{'ac_cv_type_off_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])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15314 ac_cv_type_off_t
=yes
15317 ac_cv_type_off_t
=no
15322 echo "$ac_t""$ac_cv_type_off_t" 1>&6
15323 if test $ac_cv_type_off_t = no
; then
15324 cat >> confdefs.h
<<\EOF
15330 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
15331 echo "configure:15332: checking for pid_t" >&5
15332 if eval "test \"`echo '$''{'ac_cv_type_pid_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])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15347 ac_cv_type_pid_t
=yes
15350 ac_cv_type_pid_t
=no
15355 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
15356 if test $ac_cv_type_pid_t = no
; then
15357 cat >> confdefs.h
<<\EOF
15363 echo $ac_n "checking for size_t""... $ac_c" 1>&6
15364 echo "configure:15365: checking for size_t" >&5
15365 if eval "test \"`echo '$''{'ac_cv_type_size_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 #include <stdlib.h>
15374 #include <stddef.h>
15377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15378 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15380 ac_cv_type_size_t
=yes
15383 ac_cv_type_size_t
=no
15388 echo "$ac_t""$ac_cv_type_size_t" 1>&6
15389 if test $ac_cv_type_size_t = no
; then
15390 cat >> confdefs.h
<<\EOF
15391 #define size_t unsigned
15396 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
15397 echo "configure:15398: checking for uid_t in sys/types.h" >&5
15398 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
15399 echo $ac_n "(cached) $ac_c" 1>&6
15401 cat > conftest.
$ac_ext <<EOF
15402 #line 15403 "configure"
15403 #include "confdefs.h"
15404 #include <sys/types.h>
15406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15407 egrep "uid_t" >/dev
/null
2>&1; then
15409 ac_cv_type_uid_t
=yes
15412 ac_cv_type_uid_t
=no
15418 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
15419 if test $ac_cv_type_uid_t = no
; then
15420 cat >> confdefs.h
<<\EOF
15424 cat >> confdefs.h
<<\EOF
15433 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15434 ac_cpp
='$CXXCPP $CPPFLAGS'
15435 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15436 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15437 cross_compiling
=$ac_cv_prog_cxx_cross
15439 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
15440 echo "configure:15441: checking if size_t is unsigned int" >&5
15441 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
15442 echo $ac_n "(cached) $ac_c" 1>&6
15444 cat > conftest.
$ac_ext <<EOF
15445 #line 15446 "configure"
15446 #include "confdefs.h"
15447 #include <stddef.h>
15452 struct Foo { void foo(size_t); void foo(unsigned int); };
15458 if { (eval echo configure
:15459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15460 wx_cv_size_t_is_uint
=no
15462 echo "configure: failed program was:" >&5
15463 cat conftest.
$ac_ext >&5
15465 wx_cv_size_t_is_uint
=yes
15472 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
15474 if test "$wx_cv_size_t_is_uint" = "yes"; then
15475 cat >> confdefs.h
<<\EOF
15476 #define wxSIZE_T_IS_UINT 1
15480 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
15481 echo "configure:15482: checking if size_t is unsigned long" >&5
15482 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
15483 echo $ac_n "(cached) $ac_c" 1>&6
15485 cat > conftest.
$ac_ext <<EOF
15486 #line 15487 "configure"
15487 #include "confdefs.h"
15488 #include <stddef.h>
15493 struct Foo { void foo(size_t); void foo(unsigned long); };
15499 if { (eval echo configure
:15500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15501 wx_cv_size_t_is_ulong
=no
15503 echo "configure: failed program was:" >&5
15504 cat conftest.
$ac_ext >&5
15506 wx_cv_size_t_is_ulong
=yes
15513 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
15515 if test "$wx_cv_size_t_is_ulong" = "yes"; then
15516 cat >> confdefs.h
<<\EOF
15517 #define wxSIZE_T_IS_ULONG 1
15524 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15525 ac_cpp
='$CPP $CPPFLAGS'
15526 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15527 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15528 cross_compiling
=$ac_cv_prog_cc_cross
15532 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
15533 echo "configure:15534: checking for pw_gecos in struct passwd" >&5
15534 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
15535 echo $ac_n "(cached) $ac_c" 1>&6
15538 cat > conftest.
$ac_ext <<EOF
15539 #line 15540 "configure"
15540 #include "confdefs.h"
15550 if { (eval echo configure
:15551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15553 wx_cv_struct_pw_gecos
=yes
15556 echo "configure: failed program was:" >&5
15557 cat conftest.
$ac_ext >&5
15560 wx_cv_struct_pw_gecos
=no
15569 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
15571 if test "$wx_cv_struct_pw_gecos" = "yes"; then
15572 cat >> confdefs.h
<<\EOF
15573 #define HAVE_PW_GECOS 1
15580 if test "$wx_cv_sizeof_wchar_t" != "0"; then
15582 for ac_func
in wcslen
15584 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15585 echo "configure:15586: checking for $ac_func" >&5
15586 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15587 echo $ac_n "(cached) $ac_c" 1>&6
15589 cat > conftest.
$ac_ext <<EOF
15590 #line 15591 "configure"
15591 #include "confdefs.h"
15592 /* System header to define __stub macros and hopefully few prototypes,
15593 which can conflict with char $ac_func(); below. */
15594 #include <assert.h>
15595 /* Override any gcc2 internal prototype to avoid an error. */
15596 /* We use char because int might match the return type of a gcc2
15597 builtin and then its argument prototype would still apply. */
15602 /* The GNU C library defines this for functions which it implements
15603 to always fail with ENOSYS. Some functions are actually named
15604 something starting with __ and the normal name is an alias. */
15605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15613 if { (eval echo configure
:15614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15615 eval "ac_cv_func_$ac_func=yes"
15617 echo "configure: failed program was:" >&5
15618 cat conftest.
$ac_ext >&5
15620 eval "ac_cv_func_$ac_func=no"
15625 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15626 echo "$ac_t""yes" 1>&6
15627 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15628 cat >> confdefs.h
<<EOF
15629 #define $ac_tr_func 1
15632 cat >> confdefs.h
<<\EOF
15633 #define HAVE_WCSLEN 1
15639 echo "$ac_t""no" 1>&6
15644 if test "$WCHAR_OK" = 0; then
15645 if test "$TOOLKIT" = "MSW"; then
15646 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
15647 echo "configure:15648: checking for wcslen in -lmsvcrt" >&5
15648 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
15649 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15650 echo $ac_n "(cached) $ac_c" 1>&6
15652 ac_save_LIBS
="$LIBS"
15653 LIBS
="-lmsvcrt $LIBS"
15654 cat > conftest.
$ac_ext <<EOF
15655 #line 15656 "configure"
15656 #include "confdefs.h"
15657 /* Override any gcc2 internal prototype to avoid an error. */
15658 /* We use char because int might match the return type of a gcc2
15659 builtin and then its argument prototype would still apply. */
15666 if { (eval echo configure
:15667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15668 eval "ac_cv_lib_$ac_lib_var=yes"
15670 echo "configure: failed program was:" >&5
15671 cat conftest.
$ac_ext >&5
15673 eval "ac_cv_lib_$ac_lib_var=no"
15676 LIBS
="$ac_save_LIBS"
15679 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15680 echo "$ac_t""yes" 1>&6
15682 cat >> confdefs.h
<<\EOF
15683 #define HAVE_WCSLEN 1
15689 echo "$ac_t""no" 1>&6
15693 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
15694 echo "configure:15695: checking for wcslen in -lw" >&5
15695 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
15696 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15697 echo $ac_n "(cached) $ac_c" 1>&6
15699 ac_save_LIBS
="$LIBS"
15701 cat > conftest.
$ac_ext <<EOF
15702 #line 15703 "configure"
15703 #include "confdefs.h"
15704 /* Override any gcc2 internal prototype to avoid an error. */
15705 /* We use char because int might match the return type of a gcc2
15706 builtin and then its argument prototype would still apply. */
15713 if { (eval echo configure
:15714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15715 eval "ac_cv_lib_$ac_lib_var=yes"
15717 echo "configure: failed program was:" >&5
15718 cat conftest.
$ac_ext >&5
15720 eval "ac_cv_lib_$ac_lib_var=no"
15723 LIBS
="$ac_save_LIBS"
15726 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15727 echo "$ac_t""yes" 1>&6
15729 cat >> confdefs.h
<<\EOF
15730 #define HAVE_WCSLEN 1
15737 echo "$ac_t""no" 1>&6
15744 if test "$WCHAR_OK" = 1; then
15745 cat >> confdefs.h
<<\EOF
15746 #define wxUSE_WCHAR_T 1
15750 for ac_func
in wcsrtombs
15752 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15753 echo "configure:15754: checking for $ac_func" >&5
15754 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15755 echo $ac_n "(cached) $ac_c" 1>&6
15757 cat > conftest.
$ac_ext <<EOF
15758 #line 15759 "configure"
15759 #include "confdefs.h"
15760 /* System header to define __stub macros and hopefully few prototypes,
15761 which can conflict with char $ac_func(); below. */
15762 #include <assert.h>
15763 /* Override any gcc2 internal prototype to avoid an error. */
15764 /* We use char because int might match the return type of a gcc2
15765 builtin and then its argument prototype would still apply. */
15770 /* The GNU C library defines this for functions which it implements
15771 to always fail with ENOSYS. Some functions are actually named
15772 something starting with __ and the normal name is an alias. */
15773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15781 if { (eval echo configure
:15782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15783 eval "ac_cv_func_$ac_func=yes"
15785 echo "configure: failed program was:" >&5
15786 cat conftest.
$ac_ext >&5
15788 eval "ac_cv_func_$ac_func=no"
15793 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15794 echo "$ac_t""yes" 1>&6
15795 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15796 cat >> confdefs.h
<<EOF
15797 #define $ac_tr_func 1
15801 echo "$ac_t""no" 1>&6
15806 if test "$USE_DARWIN" = 1; then
15807 cat >> confdefs.h
<<\EOF
15808 #define wxUSE_WCHAR_T 1
15812 echo "configure: warning: Wide character support is unavailable" 1>&2
15816 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
15817 echo "configure:15818: checking for vprintf" >&5
15818 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
15819 echo $ac_n "(cached) $ac_c" 1>&6
15821 cat > conftest.
$ac_ext <<EOF
15822 #line 15823 "configure"
15823 #include "confdefs.h"
15824 /* System header to define __stub macros and hopefully few prototypes,
15825 which can conflict with char vprintf(); below. */
15826 #include <assert.h>
15827 /* Override any gcc2 internal prototype to avoid an error. */
15828 /* We use char because int might match the return type of a gcc2
15829 builtin and then its argument prototype would still apply. */
15834 /* The GNU C library defines this for functions which it implements
15835 to always fail with ENOSYS. Some functions are actually named
15836 something starting with __ and the normal name is an alias. */
15837 #if defined (__stub_vprintf) || defined (__stub___vprintf)
15845 if { (eval echo configure
:15846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15847 eval "ac_cv_func_vprintf=yes"
15849 echo "configure: failed program was:" >&5
15850 cat conftest.
$ac_ext >&5
15852 eval "ac_cv_func_vprintf=no"
15857 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
15858 echo "$ac_t""yes" 1>&6
15859 cat >> confdefs.h
<<\EOF
15860 #define HAVE_VPRINTF 1
15864 echo "$ac_t""no" 1>&6
15867 if test "$ac_cv_func_vprintf" != yes; then
15868 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
15869 echo "configure:15870: checking for _doprnt" >&5
15870 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
15871 echo $ac_n "(cached) $ac_c" 1>&6
15873 cat > conftest.
$ac_ext <<EOF
15874 #line 15875 "configure"
15875 #include "confdefs.h"
15876 /* System header to define __stub macros and hopefully few prototypes,
15877 which can conflict with char _doprnt(); below. */
15878 #include <assert.h>
15879 /* Override any gcc2 internal prototype to avoid an error. */
15880 /* We use char because int might match the return type of a gcc2
15881 builtin and then its argument prototype would still apply. */
15886 /* The GNU C library defines this for functions which it implements
15887 to always fail with ENOSYS. Some functions are actually named
15888 something starting with __ and the normal name is an alias. */
15889 #if defined (__stub__doprnt) || defined (__stub____doprnt)
15897 if { (eval echo configure
:15898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15899 eval "ac_cv_func__doprnt=yes"
15901 echo "configure: failed program was:" >&5
15902 cat conftest.
$ac_ext >&5
15904 eval "ac_cv_func__doprnt=no"
15909 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
15910 echo "$ac_t""yes" 1>&6
15911 cat >> confdefs.h
<<\EOF
15912 #define HAVE_DOPRNT 1
15916 echo "$ac_t""no" 1>&6
15926 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
15927 echo "configure:15928: checking for vsnprintf" >&5
15928 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
15929 echo $ac_n "(cached) $ac_c" 1>&6
15932 cat > conftest.
$ac_ext <<EOF
15933 #line 15934 "configure"
15934 #include "confdefs.h"
15937 #include <stdarg.h>
15941 int wx_test_vsnprintf(const char *, ...);
15943 wx_test_vsnprintf("%s");
15947 int wx_test_vsnprintf(const char *fmt, ...)
15952 va_start(argp, fmt);
15953 vsnprintf(s, 42, fmt, argp);
15958 if { (eval echo configure
:15959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15961 wx_cv_func_vsnprintf
=yes
15964 echo "configure: failed program was:" >&5
15965 cat conftest.
$ac_ext >&5
15968 cat > conftest.
$ac_ext <<EOF
15969 #line 15970 "configure"
15970 #include "confdefs.h"
15973 #include <stdarg.h>
15977 int wx_test_vsnprintf(const char *, ...);
15979 wx_test_vsnprintf("%s");
15983 int wx_test_vsnprintf(const char *fmt, ...)
15988 va_start(argp, fmt);
15989 _vsnprintf(s, 42, fmt, argp);
15994 if { (eval echo configure
:15995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15997 wx_cv_func_vsnprintf
=yes
16000 echo "configure: failed program was:" >&5
16001 cat conftest.
$ac_ext >&5
16004 wx_cv_func_vsnprintf
=no
16014 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
16016 if test "$wx_cv_func_vsnprintf" = yes; then
16017 cat >> confdefs.h
<<\EOF
16018 #define HAVE_VSNPRINTF 1
16022 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
16025 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
16026 echo "configure:16027: checking for vsscanf" >&5
16027 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
16028 echo $ac_n "(cached) $ac_c" 1>&6
16031 cat > conftest.
$ac_ext <<EOF
16032 #line 16033 "configure"
16033 #include "confdefs.h"
16036 #include <stdarg.h>
16040 int wx_test_vsscanf(const char *, ...);
16042 wx_test_vsscanf("%d");
16046 int wx_test_vsscanf(const char *fmt, ...)
16049 va_start(argp, fmt);
16050 vsscanf("42", fmt, argp);
16055 if { (eval echo configure
:16056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16058 wx_cv_func_vsscanf
=yes
16061 echo "configure: failed program was:" >&5
16062 cat conftest.
$ac_ext >&5
16065 wx_cv_func_vsscanf
=no
16072 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
16074 if test "$wx_cv_func_vsscanf" = yes; then
16075 cat >> confdefs.h
<<\EOF
16076 #define HAVE_VSSCANF 1
16081 if test "$TOOLKIT" != "MSW"; then
16086 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16087 ac_cpp
='$CXXCPP $CPPFLAGS'
16088 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16089 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16090 cross_compiling
=$ac_cv_prog_cxx_cross
16094 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
16095 if test "${with_libiconv_prefix+set}" = set; then
16096 withval
="$with_libiconv_prefix"
16098 for dir
in `echo "$withval" | tr : ' '`; do
16099 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
16100 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
16106 echo $ac_n "checking for iconv""... $ac_c" 1>&6
16107 echo "configure:16108: checking for iconv" >&5
16108 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
16109 echo $ac_n "(cached) $ac_c" 1>&6
16112 am_cv_func_iconv
="no, consider installing GNU libiconv"
16114 cat > conftest.
$ac_ext <<EOF
16115 #line 16116 "configure"
16116 #include "confdefs.h"
16117 #include <stdlib.h>
16120 iconv_t cd = iconv_open("","");
16121 iconv(cd,NULL,NULL,NULL,NULL);
16125 if { (eval echo configure
:16126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16127 am_cv_func_iconv
=yes
16129 echo "configure: failed program was:" >&5
16130 cat conftest.
$ac_ext >&5
16133 if test "$am_cv_func_iconv" != yes; then
16134 am_save_LIBS
="$LIBS"
16135 LIBS
="$LIBS -liconv"
16136 cat > conftest.
$ac_ext <<EOF
16137 #line 16138 "configure"
16138 #include "confdefs.h"
16139 #include <stdlib.h>
16142 iconv_t cd = iconv_open("","");
16143 iconv(cd,NULL,NULL,NULL,NULL);
16147 if { (eval echo configure
:16148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16149 am_cv_lib_iconv
=yes
16150 am_cv_func_iconv
=yes
16152 echo "configure: failed program was:" >&5
16153 cat conftest.
$ac_ext >&5
16156 LIBS
="$am_save_LIBS"
16161 echo "$ac_t""$am_cv_func_iconv" 1>&6
16162 if test "$am_cv_func_iconv" = yes; then
16163 cat >> confdefs.h
<<\EOF
16164 #define HAVE_ICONV 1
16167 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
16168 echo "configure:16169: checking if iconv needs const" >&5
16169 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
16170 echo $ac_n "(cached) $ac_c" 1>&6
16172 cat > conftest.
$ac_ext <<EOF
16173 #line 16174 "configure"
16174 #include "confdefs.h"
16176 #include <stdlib.h>
16182 #if defined(__STDC__) || defined(__cplusplus)
16183 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
16192 if { (eval echo configure
:16193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16194 wx_cv_func_iconv_const
="no"
16196 echo "configure: failed program was:" >&5
16197 cat conftest.
$ac_ext >&5
16199 wx_cv_func_iconv_const
="yes"
16206 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
16209 if test "x$wx_cv_func_iconv_const" = "xyes"; then
16210 iconv_const
="const"
16213 cat >> confdefs.h
<<EOF
16214 #define ICONV_CONST $iconv_const
16219 if test "$am_cv_lib_iconv" = yes; then
16224 LIBS
="$LIBICONV $LIBS"
16226 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16227 ac_cpp
='$CPP $CPPFLAGS'
16228 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16229 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16230 cross_compiling
=$ac_cv_prog_cc_cross
16233 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
16234 for ac_func
in sigaction
16236 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16237 echo "configure:16238: checking for $ac_func" >&5
16238 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16239 echo $ac_n "(cached) $ac_c" 1>&6
16241 cat > conftest.
$ac_ext <<EOF
16242 #line 16243 "configure"
16243 #include "confdefs.h"
16244 /* System header to define __stub macros and hopefully few prototypes,
16245 which can conflict with char $ac_func(); below. */
16246 #include <assert.h>
16247 /* Override any gcc2 internal prototype to avoid an error. */
16248 /* We use char because int might match the return type of a gcc2
16249 builtin and then its argument prototype would still apply. */
16254 /* The GNU C library defines this for functions which it implements
16255 to always fail with ENOSYS. Some functions are actually named
16256 something starting with __ and the normal name is an alias. */
16257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16265 if { (eval echo configure
:16266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16267 eval "ac_cv_func_$ac_func=yes"
16269 echo "configure: failed program was:" >&5
16270 cat conftest.
$ac_ext >&5
16272 eval "ac_cv_func_$ac_func=no"
16277 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16278 echo "$ac_t""yes" 1>&6
16279 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16280 cat >> confdefs.h
<<EOF
16281 #define $ac_tr_func 1
16285 echo "$ac_t""no" 1>&6
16290 if test "$ac_cv_func_sigaction" = "no"; then
16291 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
16292 wxUSE_ON_FATAL_EXCEPTION
=no
16295 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16298 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16299 ac_cpp
='$CXXCPP $CPPFLAGS'
16300 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16301 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16302 cross_compiling
=$ac_cv_prog_cxx_cross
16305 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
16306 echo "configure:16307: checking for sa_handler type" >&5
16307 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
16308 echo $ac_n "(cached) $ac_c" 1>&6
16311 cat > conftest.
$ac_ext <<EOF
16312 #line 16313 "configure"
16313 #include "confdefs.h"
16314 #include <signal.h>
16317 extern void testSigHandler(int);
16319 struct sigaction sa;
16320 sa.sa_handler = testSigHandler;
16324 if { (eval echo configure
:16325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16327 wx_cv_type_sa_handler
=int
16330 echo "configure: failed program was:" >&5
16331 cat conftest.
$ac_ext >&5
16334 wx_cv_type_sa_handler
=void
16341 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
16344 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16345 ac_cpp
='$CPP $CPPFLAGS'
16346 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16347 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16348 cross_compiling
=$ac_cv_prog_cc_cross
16351 cat >> confdefs.h
<<EOF
16352 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
16358 for ac_func
in vfork
16360 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16361 echo "configure:16362: checking for $ac_func" >&5
16362 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16363 echo $ac_n "(cached) $ac_c" 1>&6
16365 cat > conftest.
$ac_ext <<EOF
16366 #line 16367 "configure"
16367 #include "confdefs.h"
16368 /* System header to define __stub macros and hopefully few prototypes,
16369 which can conflict with char $ac_func(); below. */
16370 #include <assert.h>
16371 /* Override any gcc2 internal prototype to avoid an error. */
16372 /* We use char because int might match the return type of a gcc2
16373 builtin and then its argument prototype would still apply. */
16378 /* The GNU C library defines this for functions which it implements
16379 to always fail with ENOSYS. Some functions are actually named
16380 something starting with __ and the normal name is an alias. */
16381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16389 if { (eval echo configure
:16390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16391 eval "ac_cv_func_$ac_func=yes"
16393 echo "configure: failed program was:" >&5
16394 cat conftest.
$ac_ext >&5
16396 eval "ac_cv_func_$ac_func=no"
16401 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16402 echo "$ac_t""yes" 1>&6
16403 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16404 cat >> confdefs.h
<<EOF
16405 #define $ac_tr_func 1
16409 echo "$ac_t""no" 1>&6
16414 for ac_func
in mkstemp mktemp
16416 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16417 echo "configure:16418: checking for $ac_func" >&5
16418 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16419 echo $ac_n "(cached) $ac_c" 1>&6
16421 cat > conftest.
$ac_ext <<EOF
16422 #line 16423 "configure"
16423 #include "confdefs.h"
16424 /* System header to define __stub macros and hopefully few prototypes,
16425 which can conflict with char $ac_func(); below. */
16426 #include <assert.h>
16427 /* Override any gcc2 internal prototype to avoid an error. */
16428 /* We use char because int might match the return type of a gcc2
16429 builtin and then its argument prototype would still apply. */
16434 /* The GNU C library defines this for functions which it implements
16435 to always fail with ENOSYS. Some functions are actually named
16436 something starting with __ and the normal name is an alias. */
16437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16445 if { (eval echo configure
:16446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16447 eval "ac_cv_func_$ac_func=yes"
16449 echo "configure: failed program was:" >&5
16450 cat conftest.
$ac_ext >&5
16452 eval "ac_cv_func_$ac_func=no"
16457 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16458 echo "$ac_t""yes" 1>&6
16459 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16460 cat >> confdefs.h
<<EOF
16461 #define $ac_tr_func 1
16465 echo "$ac_t""no" 1>&6
16470 echo $ac_n "checking for statfs""... $ac_c" 1>&6
16471 echo "configure:16472: checking for statfs" >&5
16472 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
16473 echo $ac_n "(cached) $ac_c" 1>&6
16475 cat > conftest.
$ac_ext <<EOF
16476 #line 16477 "configure"
16477 #include "confdefs.h"
16479 #if defined(__BSD__)
16480 #include <sys/param.h>
16481 #include <sys/mount.h>
16483 #include <sys/vfs.h>
16497 if { (eval echo configure
:16498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16500 wx_cv_func_statfs
=yes
16503 echo "configure: failed program was:" >&5
16504 cat conftest.
$ac_ext >&5
16507 wx_cv_func_statfs
=no
16515 echo "$ac_t""$wx_cv_func_statfs" 1>&6
16517 if test "$wx_cv_func_statfs" = "yes"; then
16518 cat >> confdefs.h
<<\EOF
16519 #define HAVE_STATFS 1
16523 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
16524 echo "configure:16525: checking for statvfs" >&5
16525 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
16526 echo $ac_n "(cached) $ac_c" 1>&6
16528 cat > conftest.
$ac_ext <<EOF
16529 #line 16530 "configure"
16530 #include "confdefs.h"
16532 #include <sys/statvfs.h>
16545 if { (eval echo configure
:16546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16548 wx_cv_func_statvfs
=yes
16551 echo "configure: failed program was:" >&5
16552 cat conftest.
$ac_ext >&5
16555 wx_cv_func_statvfs
=no
16563 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
16565 if test "$wx_cv_func_statvfs" = "yes"; then
16566 cat >> confdefs.h
<<\EOF
16567 #define HAVE_STATVFS 1
16571 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
16575 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16576 for ac_func
in fcntl flock
16578 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16579 echo "configure:16580: checking for $ac_func" >&5
16580 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16581 echo $ac_n "(cached) $ac_c" 1>&6
16583 cat > conftest.
$ac_ext <<EOF
16584 #line 16585 "configure"
16585 #include "confdefs.h"
16586 /* System header to define __stub macros and hopefully few prototypes,
16587 which can conflict with char $ac_func(); below. */
16588 #include <assert.h>
16589 /* Override any gcc2 internal prototype to avoid an error. */
16590 /* We use char because int might match the return type of a gcc2
16591 builtin and then its argument prototype would still apply. */
16596 /* The GNU C library defines this for functions which it implements
16597 to always fail with ENOSYS. Some functions are actually named
16598 something starting with __ and the normal name is an alias. */
16599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16607 if { (eval echo configure
:16608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16609 eval "ac_cv_func_$ac_func=yes"
16611 echo "configure: failed program was:" >&5
16612 cat conftest.
$ac_ext >&5
16614 eval "ac_cv_func_$ac_func=no"
16619 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16620 echo "$ac_t""yes" 1>&6
16621 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16622 cat >> confdefs.h
<<EOF
16623 #define $ac_tr_func 1
16627 echo "$ac_t""no" 1>&6
16632 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
16633 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
16634 wxUSE_SNGLINST_CHECKER
=no
16638 for ac_func
in timegm
16640 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16641 echo "configure:16642: checking for $ac_func" >&5
16642 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16643 echo $ac_n "(cached) $ac_c" 1>&6
16645 cat > conftest.
$ac_ext <<EOF
16646 #line 16647 "configure"
16647 #include "confdefs.h"
16648 /* System header to define __stub macros and hopefully few prototypes,
16649 which can conflict with char $ac_func(); below. */
16650 #include <assert.h>
16651 /* Override any gcc2 internal prototype to avoid an error. */
16652 /* We use char because int might match the return type of a gcc2
16653 builtin and then its argument prototype would still apply. */
16658 /* The GNU C library defines this for functions which it implements
16659 to always fail with ENOSYS. Some functions are actually named
16660 something starting with __ and the normal name is an alias. */
16661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16669 if { (eval echo configure
:16670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16671 eval "ac_cv_func_$ac_func=yes"
16673 echo "configure: failed program was:" >&5
16674 cat conftest.
$ac_ext >&5
16676 eval "ac_cv_func_$ac_func=no"
16681 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16682 echo "$ac_t""yes" 1>&6
16683 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16684 cat >> confdefs.h
<<EOF
16685 #define $ac_tr_func 1
16689 echo "$ac_t""no" 1>&6
16694 for ac_func
in putenv setenv
16696 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16697 echo "configure:16698: checking for $ac_func" >&5
16698 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16699 echo $ac_n "(cached) $ac_c" 1>&6
16701 cat > conftest.
$ac_ext <<EOF
16702 #line 16703 "configure"
16703 #include "confdefs.h"
16704 /* System header to define __stub macros and hopefully few prototypes,
16705 which can conflict with char $ac_func(); below. */
16706 #include <assert.h>
16707 /* Override any gcc2 internal prototype to avoid an error. */
16708 /* We use char because int might match the return type of a gcc2
16709 builtin and then its argument prototype would still apply. */
16714 /* The GNU C library defines this for functions which it implements
16715 to always fail with ENOSYS. Some functions are actually named
16716 something starting with __ and the normal name is an alias. */
16717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16725 if { (eval echo configure
:16726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16727 eval "ac_cv_func_$ac_func=yes"
16729 echo "configure: failed program was:" >&5
16730 cat conftest.
$ac_ext >&5
16732 eval "ac_cv_func_$ac_func=no"
16737 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16738 echo "$ac_t""yes" 1>&6
16739 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16740 cat >> confdefs.h
<<EOF
16741 #define $ac_tr_func 1
16745 echo "$ac_t""no" 1>&6
16750 HAVE_SOME_SLEEP_FUNC
=0
16751 if test "$USE_BEOS" = 1; then
16752 cat >> confdefs.h
<<\EOF
16753 #define HAVE_SLEEP 1
16756 HAVE_SOME_SLEEP_FUNC
=1
16759 if test "$USE_DARWIN" = 1; then
16760 cat >> confdefs.h
<<\EOF
16761 #define HAVE_USLEEP 1
16764 HAVE_SOME_SLEEP_FUNC
=1
16767 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
16769 for ac_func
in nanosleep
16771 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16772 echo "configure:16773: checking for $ac_func" >&5
16773 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16774 echo $ac_n "(cached) $ac_c" 1>&6
16776 cat > conftest.
$ac_ext <<EOF
16777 #line 16778 "configure"
16778 #include "confdefs.h"
16779 /* System header to define __stub macros and hopefully few prototypes,
16780 which can conflict with char $ac_func(); below. */
16781 #include <assert.h>
16782 /* Override any gcc2 internal prototype to avoid an error. */
16783 /* We use char because int might match the return type of a gcc2
16784 builtin and then its argument prototype would still apply. */
16789 /* The GNU C library defines this for functions which it implements
16790 to always fail with ENOSYS. Some functions are actually named
16791 something starting with __ and the normal name is an alias. */
16792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16800 if { (eval echo configure
:16801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16802 eval "ac_cv_func_$ac_func=yes"
16804 echo "configure: failed program was:" >&5
16805 cat conftest.
$ac_ext >&5
16807 eval "ac_cv_func_$ac_func=no"
16812 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16813 echo "$ac_t""yes" 1>&6
16814 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16815 cat >> confdefs.h
<<EOF
16816 #define $ac_tr_func 1
16818 cat >> confdefs.h
<<\EOF
16819 #define HAVE_NANOSLEEP 1
16823 echo "$ac_t""no" 1>&6
16824 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
16825 echo "configure:16826: checking for nanosleep in -lposix4" >&5
16826 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
16827 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16828 echo $ac_n "(cached) $ac_c" 1>&6
16830 ac_save_LIBS
="$LIBS"
16831 LIBS
="-lposix4 $LIBS"
16832 cat > conftest.
$ac_ext <<EOF
16833 #line 16834 "configure"
16834 #include "confdefs.h"
16835 /* Override any gcc2 internal prototype to avoid an error. */
16836 /* We use char because int might match the return type of a gcc2
16837 builtin and then its argument prototype would still apply. */
16844 if { (eval echo configure
:16845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16846 eval "ac_cv_lib_$ac_lib_var=yes"
16848 echo "configure: failed program was:" >&5
16849 cat conftest.
$ac_ext >&5
16851 eval "ac_cv_lib_$ac_lib_var=no"
16854 LIBS
="$ac_save_LIBS"
16857 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16858 echo "$ac_t""yes" 1>&6
16860 cat >> confdefs.h
<<\EOF
16861 #define HAVE_NANOSLEEP 1
16864 POSIX4_LINK
=" -lposix4"
16867 echo "$ac_t""no" 1>&6
16869 for ac_func
in usleep
16871 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16872 echo "configure:16873: checking for $ac_func" >&5
16873 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16874 echo $ac_n "(cached) $ac_c" 1>&6
16876 cat > conftest.
$ac_ext <<EOF
16877 #line 16878 "configure"
16878 #include "confdefs.h"
16879 /* System header to define __stub macros and hopefully few prototypes,
16880 which can conflict with char $ac_func(); below. */
16881 #include <assert.h>
16882 /* Override any gcc2 internal prototype to avoid an error. */
16883 /* We use char because int might match the return type of a gcc2
16884 builtin and then its argument prototype would still apply. */
16889 /* The GNU C library defines this for functions which it implements
16890 to always fail with ENOSYS. Some functions are actually named
16891 something starting with __ and the normal name is an alias. */
16892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16900 if { (eval echo configure
:16901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16902 eval "ac_cv_func_$ac_func=yes"
16904 echo "configure: failed program was:" >&5
16905 cat conftest.
$ac_ext >&5
16907 eval "ac_cv_func_$ac_func=no"
16912 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16913 echo "$ac_t""yes" 1>&6
16914 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16915 cat >> confdefs.h
<<EOF
16916 #define $ac_tr_func 1
16918 cat >> confdefs.h
<<\EOF
16919 #define HAVE_USLEEP 1
16923 echo "$ac_t""no" 1>&6
16924 echo "configure: warning: wxSleep() function will not work" 1>&2
16940 for ac_func
in uname gethostname
16942 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16943 echo "configure:16944: checking for $ac_func" >&5
16944 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16945 echo $ac_n "(cached) $ac_c" 1>&6
16947 cat > conftest.
$ac_ext <<EOF
16948 #line 16949 "configure"
16949 #include "confdefs.h"
16950 /* System header to define __stub macros and hopefully few prototypes,
16951 which can conflict with char $ac_func(); below. */
16952 #include <assert.h>
16953 /* Override any gcc2 internal prototype to avoid an error. */
16954 /* We use char because int might match the return type of a gcc2
16955 builtin and then its argument prototype would still apply. */
16960 /* The GNU C library defines this for functions which it implements
16961 to always fail with ENOSYS. Some functions are actually named
16962 something starting with __ and the normal name is an alias. */
16963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16971 if { (eval echo configure
:16972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16973 eval "ac_cv_func_$ac_func=yes"
16975 echo "configure: failed program was:" >&5
16976 cat conftest.
$ac_ext >&5
16978 eval "ac_cv_func_$ac_func=no"
16983 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16984 echo "$ac_t""yes" 1>&6
16985 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16986 cat >> confdefs.h
<<EOF
16987 #define $ac_tr_func 1
16991 echo "$ac_t""no" 1>&6
16998 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16999 ac_cpp
='$CXXCPP $CPPFLAGS'
17000 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17001 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17002 cross_compiling
=$ac_cv_prog_cxx_cross
17005 for ac_func
in strtok_r
17007 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17008 echo "configure:17009: checking for $ac_func" >&5
17009 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17010 echo $ac_n "(cached) $ac_c" 1>&6
17012 cat > conftest.
$ac_ext <<EOF
17013 #line 17014 "configure"
17014 #include "confdefs.h"
17015 /* System header to define __stub macros and hopefully few prototypes,
17016 which can conflict with char $ac_func(); below. */
17017 #include <assert.h>
17018 /* Override any gcc2 internal prototype to avoid an error. */
17022 /* We use char because int might match the return type of a gcc2
17023 builtin and then its argument prototype would still apply. */
17028 /* The GNU C library defines this for functions which it implements
17029 to always fail with ENOSYS. Some functions are actually named
17030 something starting with __ and the normal name is an alias. */
17031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17039 if { (eval echo configure
:17040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17041 eval "ac_cv_func_$ac_func=yes"
17043 echo "configure: failed program was:" >&5
17044 cat conftest.
$ac_ext >&5
17046 eval "ac_cv_func_$ac_func=no"
17051 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17052 echo "$ac_t""yes" 1>&6
17053 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17054 cat >> confdefs.h
<<EOF
17055 #define $ac_tr_func 1
17059 echo "$ac_t""no" 1>&6
17065 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17066 ac_cpp
='$CPP $CPPFLAGS'
17067 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17068 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17069 cross_compiling
=$ac_cv_prog_cc_cross
17073 for ac_func
in inet_addr
17075 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17076 echo "configure:17077: checking for $ac_func" >&5
17077 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17078 echo $ac_n "(cached) $ac_c" 1>&6
17080 cat > conftest.
$ac_ext <<EOF
17081 #line 17082 "configure"
17082 #include "confdefs.h"
17083 /* System header to define __stub macros and hopefully few prototypes,
17084 which can conflict with char $ac_func(); below. */
17085 #include <assert.h>
17086 /* Override any gcc2 internal prototype to avoid an error. */
17087 /* We use char because int might match the return type of a gcc2
17088 builtin and then its argument prototype would still apply. */
17093 /* The GNU C library defines this for functions which it implements
17094 to always fail with ENOSYS. Some functions are actually named
17095 something starting with __ and the normal name is an alias. */
17096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17104 if { (eval echo configure
:17105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17106 eval "ac_cv_func_$ac_func=yes"
17108 echo "configure: failed program was:" >&5
17109 cat conftest.
$ac_ext >&5
17111 eval "ac_cv_func_$ac_func=no"
17116 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17117 echo "$ac_t""yes" 1>&6
17118 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17119 cat >> confdefs.h
<<EOF
17120 #define $ac_tr_func 1
17122 cat >> confdefs.h
<<\EOF
17123 #define HAVE_INET_ADDR 1
17127 echo "$ac_t""no" 1>&6
17128 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
17129 echo "configure:17130: checking for inet_addr in -lnsl" >&5
17130 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
17131 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17132 echo $ac_n "(cached) $ac_c" 1>&6
17134 ac_save_LIBS
="$LIBS"
17136 cat > conftest.
$ac_ext <<EOF
17137 #line 17138 "configure"
17138 #include "confdefs.h"
17139 /* Override any gcc2 internal prototype to avoid an error. */
17140 /* We use char because int might match the return type of a gcc2
17141 builtin and then its argument prototype would still apply. */
17148 if { (eval echo configure
:17149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17150 eval "ac_cv_lib_$ac_lib_var=yes"
17152 echo "configure: failed program was:" >&5
17153 cat conftest.
$ac_ext >&5
17155 eval "ac_cv_lib_$ac_lib_var=no"
17158 LIBS
="$ac_save_LIBS"
17161 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17162 echo "$ac_t""yes" 1>&6
17165 echo "$ac_t""no" 1>&6
17166 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
17167 echo "configure:17168: checking for inet_addr in -lresolv" >&5
17168 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
17169 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17170 echo $ac_n "(cached) $ac_c" 1>&6
17172 ac_save_LIBS
="$LIBS"
17173 LIBS
="-lresolv $LIBS"
17174 cat > conftest.
$ac_ext <<EOF
17175 #line 17176 "configure"
17176 #include "confdefs.h"
17177 /* Override any gcc2 internal prototype to avoid an error. */
17178 /* We use char because int might match the return type of a gcc2
17179 builtin and then its argument prototype would still apply. */
17186 if { (eval echo configure
:17187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17188 eval "ac_cv_lib_$ac_lib_var=yes"
17190 echo "configure: failed program was:" >&5
17191 cat conftest.
$ac_ext >&5
17193 eval "ac_cv_lib_$ac_lib_var=no"
17196 LIBS
="$ac_save_LIBS"
17199 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17200 echo "$ac_t""yes" 1>&6
17203 echo "$ac_t""no" 1>&6
17204 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
17205 echo "configure:17206: checking for inet_addr in -lsocket" >&5
17206 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
17207 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17208 echo $ac_n "(cached) $ac_c" 1>&6
17210 ac_save_LIBS
="$LIBS"
17211 LIBS
="-lsocket $LIBS"
17212 cat > conftest.
$ac_ext <<EOF
17213 #line 17214 "configure"
17214 #include "confdefs.h"
17215 /* Override any gcc2 internal prototype to avoid an error. */
17216 /* We use char because int might match the return type of a gcc2
17217 builtin and then its argument prototype would still apply. */
17224 if { (eval echo configure
:17225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17226 eval "ac_cv_lib_$ac_lib_var=yes"
17228 echo "configure: failed program was:" >&5
17229 cat conftest.
$ac_ext >&5
17231 eval "ac_cv_lib_$ac_lib_var=no"
17234 LIBS
="$ac_save_LIBS"
17237 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17238 echo "$ac_t""yes" 1>&6
17242 echo "$ac_t""no" 1>&6
17257 for ac_func
in inet_aton
17259 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17260 echo "configure:17261: checking for $ac_func" >&5
17261 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17262 echo $ac_n "(cached) $ac_c" 1>&6
17264 cat > conftest.
$ac_ext <<EOF
17265 #line 17266 "configure"
17266 #include "confdefs.h"
17267 /* System header to define __stub macros and hopefully few prototypes,
17268 which can conflict with char $ac_func(); below. */
17269 #include <assert.h>
17270 /* Override any gcc2 internal prototype to avoid an error. */
17271 /* We use char because int might match the return type of a gcc2
17272 builtin and then its argument prototype would still apply. */
17277 /* The GNU C library defines this for functions which it implements
17278 to always fail with ENOSYS. Some functions are actually named
17279 something starting with __ and the normal name is an alias. */
17280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17288 if { (eval echo configure
:17289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17290 eval "ac_cv_func_$ac_func=yes"
17292 echo "configure: failed program was:" >&5
17293 cat conftest.
$ac_ext >&5
17295 eval "ac_cv_func_$ac_func=no"
17300 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17301 echo "$ac_t""yes" 1>&6
17302 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17303 cat >> confdefs.h
<<EOF
17304 #define $ac_tr_func 1
17306 cat >> confdefs.h
<<\EOF
17307 #define HAVE_INET_ATON 1
17311 echo "$ac_t""no" 1>&6
17312 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
17313 echo "configure:17314: checking for inet_aton in -l$INET_LINK" >&5
17314 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
17315 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17316 echo $ac_n "(cached) $ac_c" 1>&6
17318 ac_save_LIBS
="$LIBS"
17319 LIBS
="-l$INET_LINK $LIBS"
17320 cat > conftest.
$ac_ext <<EOF
17321 #line 17322 "configure"
17322 #include "confdefs.h"
17323 /* Override any gcc2 internal prototype to avoid an error. */
17324 /* We use char because int might match the return type of a gcc2
17325 builtin and then its argument prototype would still apply. */
17332 if { (eval echo configure
:17333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17334 eval "ac_cv_lib_$ac_lib_var=yes"
17336 echo "configure: failed program was:" >&5
17337 cat conftest.
$ac_ext >&5
17339 eval "ac_cv_lib_$ac_lib_var=no"
17342 LIBS
="$ac_save_LIBS"
17345 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17346 echo "$ac_t""yes" 1>&6
17347 cat >> confdefs.h
<<\EOF
17348 #define HAVE_INET_ATON 1
17352 echo "$ac_t""no" 1>&6
17360 if test "x$INET_LINK" != "x"; then
17361 cat >> confdefs.h
<<\EOF
17362 #define HAVE_INET_ADDR 1
17365 INET_LINK
=" -l$INET_LINK"
17371 cat > confcache
<<\EOF
17372 # This file is a shell script that caches the results of configure
17373 # tests run on this system so they can be shared between configure
17374 # scripts and configure runs. It is not useful on other systems.
17375 # If it contains results you don't want to keep, you may remove or edit it.
17377 # By default, configure uses ./config.cache as the cache file,
17378 # creating it if it does not exist already. You can give configure
17379 # the --cache-file=FILE option to use a different cache file; that is
17380 # what configure does when it calls configure scripts in
17381 # subdirectories, so they share the cache.
17382 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17383 # config.status only pays attention to the cache file if you give it the
17384 # --recheck option to rerun configure.
17387 # The following way of writing the cache mishandles newlines in values,
17388 # but we know of no workaround that is simple, portable, and efficient.
17389 # So, don't put newlines in cache variables' values.
17390 # Ultrix sh set writes to stderr and can't be redirected directly,
17391 # and sets the high bit in the cache file unless we assign to the vars.
17393 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17395 # `set' does not quote correctly, so add quotes (double-quote substitution
17396 # turns \\\\ into \\, and sed turns \\ into \).
17398 -e "s/'/'\\\\''/g" \
17399 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17402 # `set' quotes correctly as required by POSIX, so do not add quotes.
17403 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17406 if cmp -s $cache_file confcache
; then
17409 if test -w $cache_file; then
17410 echo "updating cache $cache_file"
17411 cat confcache
> $cache_file
17413 echo "not updating unwritable cache $cache_file"
17421 if test "$TOOLKIT" != "MSW"; then
17427 if test "$wxUSE_THREADS" = "yes" ; then
17428 if test "$wxUSE_WINE" = 1 ; then
17429 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
17431 elif test "$USE_BEOS" = 1; then
17432 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
17437 if test "$wxUSE_THREADS" = "yes" ; then
17440 THREAD_OPTS
="-pthread"
17442 *-*-solaris2* | *-*-sunos4* )
17443 if test "x$GCC" = "xyes"; then
17444 THREAD_OPTS
="-pthreads $THREAD_OPTS"
17446 THREAD_OPTS
="-mt $THREAD_OPTS"
17450 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
17452 *-*-darwin* | *-*-cygwin* )
17456 THREAD_OPTS
="pthreads"
17460 THREAD_OPTS
="$THREAD_OPTS pthread none"
17463 for flag
in $THREAD_OPTS; do
17466 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
17467 echo "configure:17468: checking whether pthreads work without any flags" >&5
17471 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
17472 echo "configure:17473: checking whether pthreads work with $flag" >&5
17473 THREADS_CFLAGS
="$flag"
17477 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
17478 echo "configure:17479: checking for the pthreads library -l$flag" >&5
17479 THREADS_LINK
="-l$flag"
17484 save_CFLAGS
="$CFLAGS"
17485 LIBS
="$THREADS_LINK $LIBS"
17486 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
17488 cat > conftest.
$ac_ext <<EOF
17489 #line 17490 "configure"
17490 #include "confdefs.h"
17491 #include <pthread.h>
17493 pthread_create(0,0,0,0);
17496 if { (eval echo configure
:17497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17500 echo "configure: failed program was:" >&5
17501 cat conftest.
$ac_ext >&5
17506 CFLAGS
="$save_CFLAGS"
17508 echo "$ac_t""$THREADS_OK" 1>&6
17509 if test "x$THREADS_OK" = "xyes"; then
17517 if test "x$THREADS_OK" != "xyes"; then
17519 echo "configure: warning: No thread support on this system... disabled" 1>&2
17521 LIBS
="$THREADS_LINK $THREADS_CFLAGS $LIBS"
17523 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
17524 echo "configure:17525: checking if more special flags are required for pthreads" >&5
17527 *-aix* | *-freebsd*)
17528 flag
="-D_THREAD_SAFE"
17530 *solaris
* | alpha
*-osf*)
17531 flag
="-D_REENTRANT"
17534 echo "$ac_t""${flag}" 1>&6
17535 if test "x$flag" != xno
; then
17536 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
17539 if test "x$THREADS_CFLAGS" != "x"; then
17540 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
17541 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
17546 if test "$wxUSE_THREADS" = "yes" ; then
17547 for ac_func
in thr_setconcurrency
17549 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17550 echo "configure:17551: checking for $ac_func" >&5
17551 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17552 echo $ac_n "(cached) $ac_c" 1>&6
17554 cat > conftest.
$ac_ext <<EOF
17555 #line 17556 "configure"
17556 #include "confdefs.h"
17557 /* System header to define __stub macros and hopefully few prototypes,
17558 which can conflict with char $ac_func(); below. */
17559 #include <assert.h>
17560 /* Override any gcc2 internal prototype to avoid an error. */
17561 /* We use char because int might match the return type of a gcc2
17562 builtin and then its argument prototype would still apply. */
17567 /* The GNU C library defines this for functions which it implements
17568 to always fail with ENOSYS. Some functions are actually named
17569 something starting with __ and the normal name is an alias. */
17570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17578 if { (eval echo configure
:17579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17580 eval "ac_cv_func_$ac_func=yes"
17582 echo "configure: failed program was:" >&5
17583 cat conftest.
$ac_ext >&5
17585 eval "ac_cv_func_$ac_func=no"
17590 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17591 echo "$ac_t""yes" 1>&6
17592 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17593 cat >> confdefs.h
<<EOF
17594 #define $ac_tr_func 1
17598 echo "$ac_t""no" 1>&6
17603 for ac_hdr
in sched.h
17605 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17606 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17607 echo "configure:17608: checking for $ac_hdr" >&5
17608 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17609 echo $ac_n "(cached) $ac_c" 1>&6
17611 cat > conftest.
$ac_ext <<EOF
17612 #line 17613 "configure"
17613 #include "confdefs.h"
17616 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17617 { (eval echo configure
:17618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17618 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17619 if test -z "$ac_err"; then
17621 eval "ac_cv_header_$ac_safe=yes"
17624 echo "configure: failed program was:" >&5
17625 cat conftest.
$ac_ext >&5
17627 eval "ac_cv_header_$ac_safe=no"
17631 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17632 echo "$ac_t""yes" 1>&6
17633 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17634 cat >> confdefs.h
<<EOF
17635 #define $ac_tr_hdr 1
17639 echo "$ac_t""no" 1>&6
17643 if test "$ac_cv_header_sched_h" = "yes"; then
17644 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
17645 echo "configure:17646: checking for sched_yield" >&5
17646 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
17647 echo $ac_n "(cached) $ac_c" 1>&6
17649 cat > conftest.
$ac_ext <<EOF
17650 #line 17651 "configure"
17651 #include "confdefs.h"
17652 /* System header to define __stub macros and hopefully few prototypes,
17653 which can conflict with char sched_yield(); below. */
17654 #include <assert.h>
17655 /* Override any gcc2 internal prototype to avoid an error. */
17656 /* We use char because int might match the return type of a gcc2
17657 builtin and then its argument prototype would still apply. */
17658 char sched_yield();
17662 /* The GNU C library defines this for functions which it implements
17663 to always fail with ENOSYS. Some functions are actually named
17664 something starting with __ and the normal name is an alias. */
17665 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
17673 if { (eval echo configure
:17674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17675 eval "ac_cv_func_sched_yield=yes"
17677 echo "configure: failed program was:" >&5
17678 cat conftest.
$ac_ext >&5
17680 eval "ac_cv_func_sched_yield=no"
17685 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
17686 echo "$ac_t""yes" 1>&6
17687 cat >> confdefs.h
<<\EOF
17688 #define HAVE_SCHED_YIELD 1
17692 echo "$ac_t""no" 1>&6
17694 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
17695 echo "configure:17696: checking for sched_yield in -lposix4" >&5
17696 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
17697 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17698 echo $ac_n "(cached) $ac_c" 1>&6
17700 ac_save_LIBS
="$LIBS"
17701 LIBS
="-lposix4 $LIBS"
17702 cat > conftest.
$ac_ext <<EOF
17703 #line 17704 "configure"
17704 #include "confdefs.h"
17705 /* Override any gcc2 internal prototype to avoid an error. */
17706 /* We use char because int might match the return type of a gcc2
17707 builtin and then its argument prototype would still apply. */
17708 char sched_yield();
17714 if { (eval echo configure
:17715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17716 eval "ac_cv_lib_$ac_lib_var=yes"
17718 echo "configure: failed program was:" >&5
17719 cat conftest.
$ac_ext >&5
17721 eval "ac_cv_lib_$ac_lib_var=no"
17724 LIBS
="$ac_save_LIBS"
17727 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17728 echo "$ac_t""yes" 1>&6
17729 cat >> confdefs.h
<<\EOF
17730 #define HAVE_SCHED_YIELD 1
17732 POSIX4_LINK
=" -lposix4"
17734 echo "$ac_t""no" 1>&6
17735 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
17746 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
17747 echo "configure:17748: checking for pthread_attr_getschedpolicy" >&5
17748 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
17749 echo $ac_n "(cached) $ac_c" 1>&6
17751 cat > conftest.
$ac_ext <<EOF
17752 #line 17753 "configure"
17753 #include "confdefs.h"
17754 /* System header to define __stub macros and hopefully few prototypes,
17755 which can conflict with char pthread_attr_getschedpolicy(); below. */
17756 #include <assert.h>
17757 /* Override any gcc2 internal prototype to avoid an error. */
17758 /* We use char because int might match the return type of a gcc2
17759 builtin and then its argument prototype would still apply. */
17760 char pthread_attr_getschedpolicy();
17764 /* The GNU C library defines this for functions which it implements
17765 to always fail with ENOSYS. Some functions are actually named
17766 something starting with __ and the normal name is an alias. */
17767 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
17770 pthread_attr_getschedpolicy();
17775 if { (eval echo configure
:17776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17777 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
17779 echo "configure: failed program was:" >&5
17780 cat conftest.
$ac_ext >&5
17782 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
17787 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
17788 echo "$ac_t""yes" 1>&6
17789 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
17790 echo "configure:17791: checking for pthread_attr_setschedparam" >&5
17791 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
17792 echo $ac_n "(cached) $ac_c" 1>&6
17794 cat > conftest.
$ac_ext <<EOF
17795 #line 17796 "configure"
17796 #include "confdefs.h"
17797 /* System header to define __stub macros and hopefully few prototypes,
17798 which can conflict with char pthread_attr_setschedparam(); below. */
17799 #include <assert.h>
17800 /* Override any gcc2 internal prototype to avoid an error. */
17801 /* We use char because int might match the return type of a gcc2
17802 builtin and then its argument prototype would still apply. */
17803 char pthread_attr_setschedparam();
17807 /* The GNU C library defines this for functions which it implements
17808 to always fail with ENOSYS. Some functions are actually named
17809 something starting with __ and the normal name is an alias. */
17810 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
17813 pthread_attr_setschedparam();
17818 if { (eval echo configure
:17819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17820 eval "ac_cv_func_pthread_attr_setschedparam=yes"
17822 echo "configure: failed program was:" >&5
17823 cat conftest.
$ac_ext >&5
17825 eval "ac_cv_func_pthread_attr_setschedparam=no"
17830 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
17831 echo "$ac_t""yes" 1>&6
17832 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
17833 echo "configure:17834: checking for sched_get_priority_max" >&5
17834 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
17835 echo $ac_n "(cached) $ac_c" 1>&6
17837 cat > conftest.
$ac_ext <<EOF
17838 #line 17839 "configure"
17839 #include "confdefs.h"
17840 /* System header to define __stub macros and hopefully few prototypes
17842 echo "$ac_t""no" 1>&6
17843 which can conflict with char sched_get_priority_max(); below. */
17844 #include <assert.h>
17845 /* Override any gcc2 internal prototype to avoid an error. */
17846 /* We use char because int might match the return type of a gcc2
17847 builtin and then its argument prototype would still apply. */
17848 char sched_get_priority_max();
17852 /* The GNU C library defines this for functions which it implements
17853 to always fail with ENOSYS. Some functions are actually named
17854 something starting with __ and the normal name is an alias. */
17855 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
17858 sched_get_priority_max();
17863 if { (eval echo configure
:17864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17865 eval "ac_cv_func_sched_get_priority_max=yes"
17867 echo "configure: failed program was:" >&5
17868 cat conftest.
$ac_ext >&5
17870 eval "ac_cv_func_sched_get_priority_max=no"
17875 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
17876 echo "$ac_t""yes" 1>&6
17879 echo "$ac_t""no" 1>&6
17880 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
17881 echo "configure:17882: checking for sched_get_priority_max in -lposix4" >&5
17882 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17883 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17884 echo $ac_n "(cached) $ac_c" 1>&6
17886 ac_save_LIBS
="$LIBS"
17887 LIBS
="-lposix4 $LIBS"
17888 cat > conftest.
$ac_ext <<EOF
17889 #line 17890 "configure"
17890 #include "confdefs.h"
17891 /* Override any gcc2 internal prototype to avoid an error. */
17892 /* We use char because int might match the return type of a gcc2
17893 builtin and then its argument prototype would still apply. */
17894 char sched_get_priority_max();
17897 sched_get_priority_max()
17900 if { (eval echo configure
:17901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17902 eval "ac_cv_lib_$ac_lib_var=yes"
17904 echo "configure: failed program was:" >&5
17905 cat conftest.
$ac_ext >&5
17907 eval "ac_cv_lib_$ac_lib_var=no"
17910 LIBS
="$ac_save_LIBS"
17913 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17914 echo "$ac_t""yes" 1>&6
17917 POSIX4_LINK
=" -lposix4"
17920 echo "$ac_t""no" 1>&6
17928 echo "$ac_t""no" 1>&6
17935 if test "$HAVE_PRIOR_FUNCS" = 1; then
17936 cat >> confdefs.h
<<\EOF
17937 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
17941 echo "configure: warning: Setting thread priority will not work" 1>&2
17944 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
17945 echo "configure:17946: checking for pthread_cancel" >&5
17946 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
17947 echo $ac_n "(cached) $ac_c" 1>&6
17949 cat > conftest.
$ac_ext <<EOF
17950 #line 17951 "configure"
17951 #include "confdefs.h"
17952 /* System header to define __stub macros and hopefully few prototypes,
17953 which can conflict with char pthread_cancel(); below. */
17954 #include <assert.h>
17955 /* Override any gcc2 internal prototype to avoid an error. */
17956 /* We use char because int might match the return type of a gcc2
17957 builtin and then its argument prototype would still apply. */
17958 char pthread_cancel();
17962 /* The GNU C library defines this for functions which it implements
17963 to always fail with ENOSYS. Some functions are actually named
17964 something starting with __ and the normal name is an alias. */
17965 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
17973 if { (eval echo configure
:17974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17975 eval "ac_cv_func_pthread_cancel=yes"
17977 echo "configure: failed program was:" >&5
17978 cat conftest.
$ac_ext >&5
17980 eval "ac_cv_func_pthread_cancel=no"
17985 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
17986 echo "$ac_t""yes" 1>&6
17987 cat >> confdefs.h
<<\EOF
17988 #define HAVE_PTHREAD_CANCEL 1
17992 echo "$ac_t""no" 1>&6
17993 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
17997 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
17998 echo "configure:17999: checking for pthread_cleanup_push/pop" >&5
17999 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
18000 echo $ac_n "(cached) $ac_c" 1>&6
18003 cat > conftest.
$ac_ext <<EOF
18004 #line 18005 "configure"
18005 #include "confdefs.h"
18006 #include <pthread.h>
18009 pthread_cleanup_push(NULL, NULL);
18010 pthread_cleanup_pop(0);
18014 if { (eval echo configure
:18015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18017 wx_cv_func_pthread_cleanup_push
=yes
18020 echo "configure: failed program was:" >&5
18021 cat conftest.
$ac_ext >&5
18024 wx_cv_func_pthread_cleanup_push
=no
18031 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
18033 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
18034 cat >> confdefs.h
<<\EOF
18035 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
18041 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18042 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
18045 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
18046 echo "configure:18047: checking for pthread_mutexattr_t" >&5
18047 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
18048 echo $ac_n "(cached) $ac_c" 1>&6
18051 cat > conftest.
$ac_ext <<EOF
18052 #line 18053 "configure"
18053 #include "confdefs.h"
18054 #include <pthread.h>
18057 pthread_mutexattr_t attr;
18058 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
18062 if { (eval echo configure
:18063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18065 wx_cv_type_pthread_mutexattr_t
=yes
18068 echo "configure: failed program was:" >&5
18069 cat conftest.
$ac_ext >&5
18072 wx_cv_type_pthread_mutexattr_t
=no
18080 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
18082 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
18083 cat >> confdefs.h
<<\EOF
18084 #define HAVE_PTHREAD_MUTEXATTR_T 1
18088 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
18089 echo "configure:18090: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
18090 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
18091 echo $ac_n "(cached) $ac_c" 1>&6
18094 cat > conftest.
$ac_ext <<EOF
18095 #line 18096 "configure"
18096 #include "confdefs.h"
18097 #include <pthread.h>
18100 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
18104 if { (eval echo configure
:18105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18107 wx_cv_type_pthread_rec_mutex_init
=yes
18110 echo "configure: failed program was:" >&5
18111 cat conftest.
$ac_ext >&5
18114 wx_cv_type_pthread_rec_mutex_init
=no
18122 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
18123 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
18124 cat >> confdefs.h
<<\EOF
18125 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
18129 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
18136 if test "$wxUSE_THREADS" = "yes"; then
18137 cat >> confdefs.h
<<\EOF
18138 #define wxUSE_THREADS 1
18142 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
18144 if test "$ac_cv_func_strtok_r" = "yes"; then
18145 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
18146 echo "configure:18147: checking if -D_REENTRANT is needed" >&5
18147 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
18148 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
18149 echo "$ac_t""yes" 1>&6
18151 echo "$ac_t""no" 1>&6
18156 if test "$WXGTK20" = 1 ; then
18157 cat >> confdefs.h
<<EOF
18158 #define __WXGTK20__ $WXGTK20
18164 if test "$WXGTK12" = 1 ; then
18165 cat >> confdefs.h
<<EOF
18166 #define __WXGTK12__ $WXGTK12
18171 if test "$WXGTK127" = 1 ; then
18172 cat >> confdefs.h
<<EOF
18173 #define __WXGTK127__ $WXGTK127
18180 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
18185 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
18186 wxUSE_DEBUG_INFO
=yes
18190 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
18191 cat >> confdefs.h
<<\EOF
18195 WXDEBUG_DEFINE
="-D__WXDEBUG__"
18197 if test "$wxUSE_GTK" = 1 ; then
18198 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
18202 if test "$wxUSE_MEM_TRACING" = "yes" ; then
18203 cat >> confdefs.h
<<\EOF
18204 #define wxUSE_MEMORY_TRACING 1
18207 cat >> confdefs.h
<<\EOF
18208 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
18211 cat >> confdefs.h
<<\EOF
18212 #define wxUSE_DEBUG_NEW_ALWAYS 1
18215 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
18218 if test "$wxUSE_DMALLOC" = "yes" ; then
18219 DMALLOC_LIBS
="-ldmalloc"
18223 if test "$wxUSE_PROFILE" = "yes" ; then
18228 CODE_GEN_FLAGS_CXX
=
18229 if test "$GCC" = "yes" ; then
18230 if test "$wxUSE_NO_RTTI" = "yes" ; then
18231 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
18233 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
18234 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
18236 if test "$wxUSE_PERMISSIVE" = "yes" ; then
18237 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
18239 if test "$USE_WIN32" = 1 ; then
18240 # I'm not even really sure what this was ever added to solve,
18241 # but someone added it for mingw native builds, so I guess
18242 # they had a reason, right??
18243 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
18248 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
18253 if test "$wxUSE_OPTIMISE" = "no" ; then
18256 if test "$GCC" = yes ; then
18259 i586
-*-*|i686
-*-* )
18260 OPTIMISE
="${OPTIMISE} "
18268 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
18269 cat >> confdefs.h
<<\EOF
18270 #define WXWIN_COMPATIBILITY_2 1
18274 WXWIN_COMPATIBILITY_2_2
="yes"
18277 if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
18278 cat >> confdefs.h
<<\EOF
18279 #define WXWIN_COMPATIBILITY_2_2 1
18285 if test "$wxUSE_GUI" = "yes"; then
18286 cat >> confdefs.h
<<\EOF
18287 #define wxUSE_GUI 1
18292 cat >> confdefs.h
<<\EOF
18293 #define wxUSE_NOGUI 1
18299 if test "$wxUSE_UNIX" = "yes"; then
18300 cat >> confdefs.h
<<\EOF
18301 #define wxUSE_UNIX 1
18307 if test "$wxUSE_APPLE_IEEE" = "yes"; then
18308 cat >> confdefs.h
<<\EOF
18309 #define wxUSE_APPLE_IEEE 1
18314 if test "$wxUSE_TIMER" = "yes"; then
18315 cat >> confdefs.h
<<\EOF
18316 #define wxUSE_TIMER 1
18321 if test "$wxUSE_WAVE" = "yes"; then
18322 cat >> confdefs.h
<<\EOF
18323 #define wxUSE_WAVE 1
18328 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
18329 cat >> confdefs.h
<<\EOF
18330 #define wxUSE_CMDLINE_PARSER 1
18335 if test "$wxUSE_STOPWATCH" = "yes"; then
18336 cat >> confdefs.h
<<\EOF
18337 #define wxUSE_STOPWATCH 1
18342 if test "$wxUSE_DATETIME" = "yes"; then
18343 cat >> confdefs.h
<<\EOF
18344 #define wxUSE_DATETIME 1
18349 if test "$wxUSE_TIMEDATE" = "yes"; then
18350 cat >> confdefs.h
<<\EOF
18351 #define wxUSE_TIMEDATE 1
18356 if test "$wxUSE_FILE" = "yes"; then
18357 cat >> confdefs.h
<<\EOF
18358 #define wxUSE_FILE 1
18363 if test "$wxUSE_FFILE" = "yes"; then
18364 cat >> confdefs.h
<<\EOF
18365 #define wxUSE_FFILE 1
18370 if test "$wxUSE_FILESYSTEM" = "yes"; then
18371 cat >> confdefs.h
<<\EOF
18372 #define wxUSE_FILESYSTEM 1
18377 if test "$wxUSE_FS_INET" = "yes"; then
18378 cat >> confdefs.h
<<\EOF
18379 #define wxUSE_FS_INET 1
18384 if test "$wxUSE_FS_ZIP" = "yes"; then
18385 cat >> confdefs.h
<<\EOF
18386 #define wxUSE_FS_ZIP 1
18391 if test "$wxUSE_ZIPSTREAM" = "yes"; then
18392 cat >> confdefs.h
<<\EOF
18393 #define wxUSE_ZIPSTREAM 1
18398 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
18399 cat >> confdefs.h
<<\EOF
18400 #define wxUSE_ON_FATAL_EXCEPTION 1
18405 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18406 cat >> confdefs.h
<<\EOF
18407 #define wxUSE_SNGLINST_CHECKER 1
18412 if test "$wxUSE_BUSYINFO" = "yes"; then
18413 cat >> confdefs.h
<<\EOF
18414 #define wxUSE_BUSYINFO 1
18419 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
18420 cat >> confdefs.h
<<\EOF
18421 #define wxUSE_STD_IOSTREAM 1
18426 if test "$wxUSE_TEXTBUFFER" = "yes"; then
18427 cat >> confdefs.h
<<\EOF
18428 #define wxUSE_TEXTBUFFER 1
18433 if test "$wxUSE_TEXTFILE" = "yes"; then
18434 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
18435 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
18437 cat >> confdefs.h
<<\EOF
18438 #define wxUSE_TEXTFILE 1
18444 if test "$wxUSE_CONFIG" = "yes" ; then
18445 if test "$wxUSE_TEXTFILE" != "yes"; then
18446 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
18448 cat >> confdefs.h
<<\EOF
18449 #define wxUSE_CONFIG 1
18452 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
18456 if test "$wxUSE_INTL" = "yes" ; then
18457 if test "$wxUSE_FILE" != "yes"; then
18458 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
18460 cat >> confdefs.h
<<\EOF
18461 #define wxUSE_INTL 1
18464 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
18465 GUIDIST
="$GUIDIST INTL_DIST"
18469 if test "$wxUSE_LOG" = "yes"; then
18470 cat >> confdefs.h
<<\EOF
18471 #define wxUSE_LOG 1
18475 if test "$wxUSE_LOGGUI" = "yes"; then
18476 cat >> confdefs.h
<<\EOF
18477 #define wxUSE_LOGGUI 1
18482 if test "$wxUSE_LOGWINDOW" = "yes"; then
18483 cat >> confdefs.h
<<\EOF
18484 #define wxUSE_LOGWINDOW 1
18489 if test "$wxUSE_LOGDIALOG" = "yes"; then
18490 cat >> confdefs.h
<<\EOF
18491 #define wxUSE_LOG_DIALOG 1
18497 if test "$wxUSE_LONGLONG" = "yes"; then
18498 cat >> confdefs.h
<<\EOF
18499 #define wxUSE_LONGLONG 1
18504 if test "$wxUSE_GEOMETRY" = "yes"; then
18505 cat >> confdefs.h
<<\EOF
18506 #define wxUSE_GEOMETRY 1
18511 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
18512 cat >> confdefs.h
<<\EOF
18513 #define wxUSE_DIALUP_MANAGER 1
18516 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
18519 if test "$wxUSE_STREAMS" = "yes" ; then
18520 cat >> confdefs.h
<<\EOF
18521 #define wxUSE_STREAMS 1
18527 if test "$wxUSE_DATETIME" = "yes"; then
18528 for ac_func
in strptime
18530 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18531 echo "configure:18532: checking for $ac_func" >&5
18532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18533 echo $ac_n "(cached) $ac_c" 1>&6
18535 cat > conftest.
$ac_ext <<EOF
18536 #line 18537 "configure"
18537 #include "confdefs.h"
18538 /* System header to define __stub macros and hopefully few prototypes,
18539 which can conflict with char $ac_func(); below. */
18540 #include <assert.h>
18541 /* Override any gcc2 internal prototype to avoid an error. */
18542 /* We use char because int might match the return type of a gcc2
18543 builtin and then its argument prototype would still apply. */
18548 /* The GNU C library defines this for functions which it implements
18549 to always fail with ENOSYS. Some functions are actually named
18550 something starting with __ and the normal name is an alias. */
18551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18559 if { (eval echo configure
:18560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18561 eval "ac_cv_func_$ac_func=yes"
18563 echo "configure: failed program was:" >&5
18564 cat conftest.
$ac_ext >&5
18566 eval "ac_cv_func_$ac_func=no"
18571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18572 echo "$ac_t""yes" 1>&6
18573 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18574 cat >> confdefs.h
<<EOF
18575 #define $ac_tr_func 1
18579 echo "$ac_t""no" 1>&6
18584 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
18585 echo "configure:18586: checking for timezone variable in <time.h>" >&5
18586 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
18587 echo $ac_n "(cached) $ac_c" 1>&6
18590 cat > conftest.
$ac_ext <<EOF
18591 #line 18592 "configure"
18592 #include "confdefs.h"
18603 if { (eval echo configure
:18604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18606 wx_cv_var_timezone
=timezone
18609 echo "configure: failed program was:" >&5
18610 cat conftest.
$ac_ext >&5
18613 cat > conftest.
$ac_ext <<EOF
18614 #line 18615 "configure"
18615 #include "confdefs.h"
18626 if { (eval echo configure
:18627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18629 wx_cv_var_timezone
=_timezone
18632 echo "configure: failed program was:" >&5
18633 cat conftest.
$ac_ext >&5
18636 cat > conftest.
$ac_ext <<EOF
18637 #line 18638 "configure"
18638 #include "confdefs.h"
18649 if { (eval echo configure
:18650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18652 wx_cv_var_timezone
=__timezone
18655 echo "configure: failed program was:" >&5
18656 cat conftest.
$ac_ext >&5
18659 if test "$USE_DOS" = 0 ; then
18660 echo "configure: warning: no timezone variable" 1>&2
18678 echo "$ac_t""$wx_cv_var_timezone" 1>&6
18680 if test "x$wx_cv_var_timezone" != x
; then
18681 cat >> confdefs.h
<<EOF
18682 #define WX_TIMEZONE $wx_cv_var_timezone
18687 for ac_func
in localtime
18689 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18690 echo "configure:18691: checking for $ac_func" >&5
18691 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18692 echo $ac_n "(cached) $ac_c" 1>&6
18694 cat > conftest.
$ac_ext <<EOF
18695 #line 18696 "configure"
18696 #include "confdefs.h"
18697 /* System header to define __stub macros and hopefully few prototypes,
18698 which can conflict with char $ac_func(); below. */
18699 #include <assert.h>
18700 /* Override any gcc2 internal prototype to avoid an error. */
18701 /* We use char because int might match the return type of a gcc2
18702 builtin and then its argument prototype would still apply. */
18707 /* The GNU C library defines this for functions which it implements
18708 to always fail with ENOSYS. Some functions are actually named
18709 something starting with __ and the normal name is an alias. */
18710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18718 if { (eval echo configure
:18719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18720 eval "ac_cv_func_$ac_func=yes"
18722 echo "configure: failed program was:" >&5
18723 cat conftest.
$ac_ext >&5
18725 eval "ac_cv_func_$ac_func=no"
18730 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18731 echo "$ac_t""yes" 1>&6
18732 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18733 cat >> confdefs.h
<<EOF
18734 #define $ac_tr_func 1
18738 echo "$ac_t""no" 1>&6
18743 if test "$ac_cv_func_localtime" = "yes"; then
18744 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
18745 echo "configure:18746: checking for tm_gmtoff in struct tm" >&5
18746 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
18747 echo $ac_n "(cached) $ac_c" 1>&6
18750 cat > conftest.
$ac_ext <<EOF
18751 #line 18752 "configure"
18752 #include "confdefs.h"
18763 if { (eval echo configure
:18764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18766 wx_cv_struct_tm_has_gmtoff
=yes
18769 echo "configure: failed program was:" >&5
18770 cat conftest.
$ac_ext >&5
18772 wx_cv_struct_tm_has_gmtoff
=no
18779 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
18782 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
18783 cat >> confdefs.h
<<\EOF
18784 #define WX_GMTOFF_IN_TM 1
18789 for ac_func
in gettimeofday ftime
18791 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18792 echo "configure:18793: checking for $ac_func" >&5
18793 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18794 echo $ac_n "(cached) $ac_c" 1>&6
18796 cat > conftest.
$ac_ext <<EOF
18797 #line 18798 "configure"
18798 #include "confdefs.h"
18799 /* System header to define __stub macros and hopefully few prototypes,
18800 which can conflict with char $ac_func(); below. */
18801 #include <assert.h>
18802 /* Override any gcc2 internal prototype to avoid an error. */
18803 /* We use char because int might match the return type of a gcc2
18804 builtin and then its argument prototype would still apply. */
18809 /* The GNU C library defines this for functions which it implements
18810 to always fail with ENOSYS. Some functions are actually named
18811 something starting with __ and the normal name is an alias. */
18812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18820 if { (eval echo configure
:18821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18822 eval "ac_cv_func_$ac_func=yes"
18824 echo "configure: failed program was:" >&5
18825 cat conftest.
$ac_ext >&5
18827 eval "ac_cv_func_$ac_func=no"
18832 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18833 echo "$ac_t""yes" 1>&6
18834 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18835 cat >> confdefs.h
<<EOF
18836 #define $ac_tr_func 1
18840 echo "$ac_t""no" 1>&6
18845 if test "$ac_cv_func_gettimeofday" = "yes"; then
18846 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
18847 echo "configure:18848: checking whether gettimeofday takes two arguments" >&5
18848 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
18849 echo $ac_n "(cached) $ac_c" 1>&6
18854 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18855 ac_cpp
='$CXXCPP $CPPFLAGS'
18856 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18857 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18858 cross_compiling
=$ac_cv_prog_cxx_cross
18861 cat > conftest.
$ac_ext <<EOF
18862 #line 18863 "configure"
18863 #include "confdefs.h"
18865 #include <sys/time.h>
18866 #include <unistd.h>
18871 gettimeofday(&tv, NULL);
18875 if { (eval echo configure
:18876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18877 wx_cv_func_gettimeofday_has_2_args
=yes
18879 echo "configure: failed program was:" >&5
18880 cat conftest.
$ac_ext >&5
18882 cat > conftest.
$ac_ext <<EOF
18883 #line 18884 "configure"
18884 #include "confdefs.h"
18886 #include <sys/time.h>
18887 #include <unistd.h>
18896 if { (eval echo configure
:18897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18898 wx_cv_func_gettimeofday_has_2_args
=no
18900 echo "configure: failed program was:" >&5
18901 cat conftest.
$ac_ext >&5
18904 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
18905 wx_cv_func_gettimeofday_has_2_args
=unknown
18914 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18915 ac_cpp
='$CPP $CPPFLAGS'
18916 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18917 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18918 cross_compiling
=$ac_cv_prog_cc_cross
18923 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
18925 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
18926 cat >> confdefs.h
<<\EOF
18927 #define WX_GETTIMEOFDAY_NO_TZ 1
18933 cat >> confdefs.h
<<\EOF
18934 #define wxUSE_TIMEDATE 1
18937 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
18941 if test "$wxUSE_SOCKETS" = "yes"; then
18942 if test "$wxUSE_X11" = "1"; then
18943 echo "configure: warning: wxSocket not yet supported under X11... disabled" 1>&2
18947 if test "$wxUSE_MGL" = "1"; then
18948 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
18953 if test "$wxUSE_SOCKETS" = "yes"; then
18954 if test "$TOOLKIT" != "MSW"; then
18955 echo $ac_n "checking for socket""... $ac_c" 1>&6
18956 echo "configure:18957: checking for socket" >&5
18957 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
18958 echo $ac_n "(cached) $ac_c" 1>&6
18960 cat > conftest.
$ac_ext <<EOF
18961 #line 18962 "configure"
18962 #include "confdefs.h"
18963 /* System header to define __stub macros and hopefully few prototypes,
18964 which can conflict with char socket(); below. */
18965 #include <assert.h>
18966 /* Override any gcc2 internal prototype to avoid an error. */
18967 /* We use char because int might match the return type of a gcc2
18968 builtin and then its argument prototype would still apply. */
18973 /* The GNU C library defines this for functions which it implements
18974 to always fail with ENOSYS. Some functions are actually named
18975 something starting with __ and the normal name is an alias. */
18976 #if defined (__stub_socket) || defined (__stub___socket)
18984 if { (eval echo configure
:18985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18986 eval "ac_cv_func_socket=yes"
18988 echo "configure: failed program was:" >&5
18989 cat conftest.
$ac_ext >&5
18991 eval "ac_cv_func_socket=no"
18996 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
18997 echo "$ac_t""yes" 1>&6
19000 echo "$ac_t""no" 1>&6
19001 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
19002 echo "configure:19003: checking for socket in -lsocket" >&5
19003 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
19004 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19005 echo $ac_n "(cached) $ac_c" 1>&6
19007 ac_save_LIBS
="$LIBS"
19008 LIBS
="-lsocket $LIBS"
19009 cat > conftest.
$ac_ext <<EOF
19010 #line 19011 "configure"
19011 #include "confdefs.h"
19012 /* Override any gcc2 internal prototype to avoid an error. */
19013 /* We use char because int might match the return type of a gcc2
19014 builtin and then its argument prototype would still apply. */
19021 if { (eval echo configure
:19022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19023 eval "ac_cv_lib_$ac_lib_var=yes"
19025 echo "configure: failed program was:" >&5
19026 cat conftest.
$ac_ext >&5
19028 eval "ac_cv_lib_$ac_lib_var=no"
19031 LIBS
="$ac_save_LIBS"
19034 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19035 echo "$ac_t""yes" 1>&6
19036 if test "$INET_LINK" != " -lsocket"; then
19037 INET_LINK
="$INET_LINK -lsocket"
19040 echo "$ac_t""no" 1>&6
19042 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
19054 if test "$wxUSE_SOCKETS" = "yes" ; then
19055 if test "$TOOLKIT" != "MSW"; then
19056 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
19057 echo "configure:19058: checking what is the type of the third argument of getsockname" >&5
19058 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
19059 echo $ac_n "(cached) $ac_c" 1>&6
19064 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19065 ac_cpp
='$CXXCPP $CPPFLAGS'
19066 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19067 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19068 cross_compiling
=$ac_cv_prog_cxx_cross
19071 cat > conftest.
$ac_ext <<EOF
19072 #line 19073 "configure"
19073 #include "confdefs.h"
19075 #include <sys/types.h>
19076 #include <sys/socket.h>
19081 getsockname(0, 0, &len);
19085 if { (eval echo configure
:19086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19087 wx_cv_type_getsockname3
=socklen_t
19089 echo "configure: failed program was:" >&5
19090 cat conftest.
$ac_ext >&5
19092 cat > conftest.
$ac_ext <<EOF
19093 #line 19094 "configure"
19094 #include "confdefs.h"
19096 #include <sys/types.h>
19097 #include <sys/socket.h>
19102 getsockname(0, 0, &len);
19106 if { (eval echo configure
:19107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19108 wx_cv_type_getsockname3
=size_t
19110 echo "configure: failed program was:" >&5
19111 cat conftest.
$ac_ext >&5
19113 cat > conftest.
$ac_ext <<EOF
19114 #line 19115 "configure"
19115 #include "confdefs.h"
19117 #include <sys/types.h>
19118 #include <sys/socket.h>
19123 getsockname(0, 0, &len);
19127 if { (eval echo configure
:19128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19129 wx_cv_type_getsockname3
=int
19131 echo "configure: failed program was:" >&5
19132 cat conftest.
$ac_ext >&5
19134 wx_cv_type_getsockname3
=unknown
19146 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19147 ac_cpp
='$CPP $CPPFLAGS'
19148 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19149 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19150 cross_compiling
=$ac_cv_prog_cc_cross
19155 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
19157 if test "$wx_cv_type_getsockname3" = "unknown"; then
19159 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
19161 cat >> confdefs.h
<<EOF
19162 #define SOCKLEN_T $wx_cv_type_getsockname3
19169 if test "$wxUSE_SOCKETS" = "yes" ; then
19170 cat >> confdefs.h
<<\EOF
19171 #define wxUSE_SOCKETS 1
19174 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
19178 if test "$wxUSE_GUI" = "yes"; then
19180 if test "$TOOLKIT" = "MAC"; then
19181 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
19184 if test "$TOOLKIT" = "MOTIF"; then
19185 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
19188 if test "$TOOLKIT" = "X11"; then
19189 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
19193 if test "$TOOLKIT" != "MSW"; then
19194 if test "$wxUSE_JOYSTICK" = "yes"; then
19195 for ac_hdr
in linux
/joystick.h
19197 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19198 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19199 echo "configure:19200: checking for $ac_hdr" >&5
19200 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19201 echo $ac_n "(cached) $ac_c" 1>&6
19203 cat > conftest.
$ac_ext <<EOF
19204 #line 19205 "configure"
19205 #include "confdefs.h"
19208 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19209 { (eval echo configure
:19210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19210 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19211 if test -z "$ac_err"; then
19213 eval "ac_cv_header_$ac_safe=yes"
19216 echo "configure: failed program was:" >&5
19217 cat conftest.
$ac_ext >&5
19219 eval "ac_cv_header_$ac_safe=no"
19223 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19224 echo "$ac_t""yes" 1>&6
19225 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19226 cat >> confdefs.h
<<EOF
19227 #define $ac_tr_hdr 1
19231 echo "$ac_t""no" 1>&6
19235 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
19237 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
19242 if test "$wxUSE_JOYSTICK" = "yes"; then
19243 cat >> confdefs.h
<<\EOF
19244 #define wxUSE_JOYSTICK 1
19247 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
19252 if test "$TOOLKIT" != "MSW"; then
19256 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19257 if test "$USE_DARWIN" = 1; then
19260 for ac_func
in dlopen
19262 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19263 echo "configure:19264: checking for $ac_func" >&5
19264 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19265 echo $ac_n "(cached) $ac_c" 1>&6
19267 cat > conftest.
$ac_ext <<EOF
19268 #line 19269 "configure"
19269 #include "confdefs.h"
19270 /* System header to define __stub macros and hopefully few prototypes,
19271 which can conflict with char $ac_func(); below. */
19272 #include <assert.h>
19273 /* Override any gcc2 internal prototype to avoid an error. */
19274 /* We use char because int might match the return type of a gcc2
19275 builtin and then its argument prototype would still apply. */
19280 /* The GNU C library defines this for functions which it implements
19281 to always fail with ENOSYS. Some functions are actually named
19282 something starting with __ and the normal name is an alias. */
19283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19291 if { (eval echo configure
:19292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19293 eval "ac_cv_func_$ac_func=yes"
19295 echo "configure: failed program was:" >&5
19296 cat conftest.
$ac_ext >&5
19298 eval "ac_cv_func_$ac_func=no"
19303 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19304 echo "$ac_t""yes" 1>&6
19305 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19306 cat >> confdefs.h
<<EOF
19307 #define $ac_tr_func 1
19310 cat >> confdefs.h
<<\EOF
19311 #define HAVE_DLOPEN 1
19317 echo "$ac_t""no" 1>&6
19318 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
19319 echo "configure:19320: checking for dlopen in -ldl" >&5
19320 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
19321 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19322 echo $ac_n "(cached) $ac_c" 1>&6
19324 ac_save_LIBS
="$LIBS"
19326 cat > conftest.
$ac_ext <<EOF
19327 #line 19328 "configure"
19328 #include "confdefs.h"
19329 /* Override any gcc2 internal prototype to avoid an error. */
19330 /* We use char because int might match the return type of a gcc2
19331 builtin and then its argument prototype would still apply. */
19338 if { (eval echo configure
:19339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19340 eval "ac_cv_lib_$ac_lib_var=yes"
19342 echo "configure: failed program was:" >&5
19343 cat conftest.
$ac_ext >&5
19345 eval "ac_cv_lib_$ac_lib_var=no"
19348 LIBS
="$ac_save_LIBS"
19351 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19352 echo "$ac_t""yes" 1>&6
19354 cat >> confdefs.h
<<\EOF
19355 #define HAVE_DLOPEN 1
19359 DL_LINK
=" -ldl$DL_LINK"
19362 echo "$ac_t""no" 1>&6
19364 for ac_func
in shl_load
19366 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19367 echo "configure:19368: checking for $ac_func" >&5
19368 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19369 echo $ac_n "(cached) $ac_c" 1>&6
19371 cat > conftest.
$ac_ext <<EOF
19372 #line 19373 "configure"
19373 #include "confdefs.h"
19374 /* System header to define __stub macros and hopefully few prototypes,
19375 which can conflict with char $ac_func(); below. */
19376 #include <assert.h>
19377 /* Override any gcc2 internal prototype to avoid an error. */
19378 /* We use char because int might match the return type of a gcc2
19379 builtin and then its argument prototype would still apply. */
19384 /* The GNU C library defines this for functions which it implements
19385 to always fail with ENOSYS. Some functions are actually named
19386 something starting with __ and the normal name is an alias. */
19387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19395 if { (eval echo configure
:19396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19397 eval "ac_cv_func_$ac_func=yes"
19399 echo "configure: failed program was:" >&5
19400 cat conftest.
$ac_ext >&5
19402 eval "ac_cv_func_$ac_func=no"
19407 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19408 echo "$ac_t""yes" 1>&6
19409 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19410 cat >> confdefs.h
<<EOF
19411 #define $ac_tr_func 1
19414 cat >> confdefs.h
<<\EOF
19415 #define HAVE_SHL_LOAD 1
19421 echo "$ac_t""no" 1>&6
19422 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
19423 echo "configure:19424: checking for dld in -lshl_load" >&5
19424 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
19425 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19426 echo $ac_n "(cached) $ac_c" 1>&6
19428 ac_save_LIBS
="$LIBS"
19429 LIBS
="-lshl_load $LIBS"
19430 cat > conftest.
$ac_ext <<EOF
19431 #line 19432 "configure"
19432 #include "confdefs.h"
19433 /* Override any gcc2 internal prototype to avoid an error. */
19434 /* We use char because int might match the return type of a gcc2
19435 builtin and then its argument prototype would still apply. */
19442 if { (eval echo configure
:19443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19444 eval "ac_cv_lib_$ac_lib_var=yes"
19446 echo "configure: failed program was:" >&5
19447 cat conftest.
$ac_ext >&5
19449 eval "ac_cv_lib_$ac_lib_var=no"
19452 LIBS
="$ac_save_LIBS"
19455 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19456 echo "$ac_t""yes" 1>&6
19459 DL_LINK
=" -ldld$DL_LINK"
19462 echo "$ac_t""no" 1>&6
19477 if test "$HAVE_DL_FUNCS" = 1; then
19478 for ac_func
in dlerror
19480 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19481 echo "configure:19482: checking for $ac_func" >&5
19482 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19483 echo $ac_n "(cached) $ac_c" 1>&6
19485 cat > conftest.
$ac_ext <<EOF
19486 #line 19487 "configure"
19487 #include "confdefs.h"
19488 /* System header to define __stub macros and hopefully few prototypes,
19489 which can conflict with char $ac_func(); below. */
19490 #include <assert.h>
19491 /* Override any gcc2 internal prototype to avoid an error. */
19492 /* We use char because int might match the return type of a gcc2
19493 builtin and then its argument prototype would still apply. */
19498 /* The GNU C library defines this for functions which it implements
19499 to always fail with ENOSYS. Some functions are actually named
19500 something starting with __ and the normal name is an alias. */
19501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19509 if { (eval echo configure
:19510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19511 eval "ac_cv_func_$ac_func=yes"
19513 echo "configure: failed program was:" >&5
19514 cat conftest.
$ac_ext >&5
19516 eval "ac_cv_func_$ac_func=no"
19521 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19522 echo "$ac_t""yes" 1>&6
19523 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19524 cat >> confdefs.h
<<EOF
19525 #define $ac_tr_func 1
19527 cat >> confdefs.h
<<\EOF
19528 #define HAVE_DLERROR 1
19532 echo "$ac_t""no" 1>&6
19533 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
19534 echo "configure:19535: checking for dlerror in -ldl" >&5
19535 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
19536 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19537 echo $ac_n "(cached) $ac_c" 1>&6
19539 ac_save_LIBS
="$LIBS"
19541 cat > conftest.
$ac_ext <<EOF
19542 #line 19543 "configure"
19543 #include "confdefs.h"
19544 /* Override any gcc2 internal prototype to avoid an error. */
19545 /* We use char because int might match the return type of a gcc2
19546 builtin and then its argument prototype would still apply. */
19553 if { (eval echo configure
:19554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19555 eval "ac_cv_lib_$ac_lib_var=yes"
19557 echo "configure: failed program was:" >&5
19558 cat conftest.
$ac_ext >&5
19560 eval "ac_cv_lib_$ac_lib_var=no"
19563 LIBS
="$ac_save_LIBS"
19566 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19567 echo "$ac_t""yes" 1>&6
19568 cat >> confdefs.h
<<\EOF
19569 #define HAVE_DLERROR 1
19573 echo "$ac_t""no" 1>&6
19582 if test "$HAVE_DL_FUNCS" = 0; then
19583 if test "$HAVE_SHL_FUNCS" = 0; then
19584 if test "$USE_UNIX" = 1; then
19585 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
19586 wxUSE_DYNAMIC_LOADER
=no
19587 wxUSE_DYNLIB_CLASS
=no
19589 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
19596 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
19597 cat >> confdefs.h
<<\EOF
19598 #define wxUSE_DYNAMIC_LOADER 1
19601 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19602 cat >> confdefs.h
<<\EOF
19603 #define wxUSE_DYNLIB_CLASS 1
19609 if test "$wxUSE_FONTMAP" = "yes" ; then
19610 cat >> confdefs.h
<<\EOF
19611 #define wxUSE_FONTMAP 1
19616 if test "$wxUSE_UNICODE" = "yes" ; then
19617 cat >> confdefs.h
<<\EOF
19618 #define wxUSE_UNICODE 1
19622 if test "$wxUSE_MSW" != 1; then
19623 wxUSE_UNICODE_MSLU
=no
19626 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
19627 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
19628 echo "configure:19629: checking for main in -lunicows" >&5
19629 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
19630 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19631 echo $ac_n "(cached) $ac_c" 1>&6
19633 ac_save_LIBS
="$LIBS"
19634 LIBS
="-lunicows $LIBS"
19635 cat > conftest.
$ac_ext <<EOF
19636 #line 19637 "configure"
19637 #include "confdefs.h"
19643 if { (eval echo configure
:19644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19645 eval "ac_cv_lib_$ac_lib_var=yes"
19647 echo "configure: failed program was:" >&5
19648 cat conftest.
$ac_ext >&5
19650 eval "ac_cv_lib_$ac_lib_var=no"
19653 LIBS
="$ac_save_LIBS"
19656 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19657 echo "$ac_t""yes" 1>&6
19659 cat >> confdefs.h
<<\EOF
19660 #define wxUSE_UNICODE_MSLU 1
19665 echo "$ac_t""no" 1>&6
19667 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
19668 Applications will only run on Windows NT/2000/XP!" 1>&2
19669 wxUSE_UNICODE_MSLU
=no
19676 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
19677 cat >> confdefs.h
<<\EOF
19678 #define wxUSE_EXPERIMENTAL_PRINTF 1
19686 if test "$wxUSE_ODBC" = "yes" ; then
19687 cat >> confdefs.h
<<\EOF
19688 #define wxUSE_ODBC 1
19691 WXODBCFLAG
="-D_IODBC_"
19692 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
19696 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
19697 cat >> confdefs.h
<<\EOF
19698 #define wxUSE_POSTSCRIPT 1
19703 cat >> confdefs.h
<<\EOF
19704 #define wxUSE_AFM_FOR_POSTSCRIPT 1
19708 cat >> confdefs.h
<<\EOF
19709 #define wxUSE_NORMALIZED_PS_FONTS 1
19714 if test "$wxUSE_CONSTRAINTS" = "yes"; then
19715 cat >> confdefs.h
<<\EOF
19716 #define wxUSE_CONSTRAINTS 1
19719 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
19722 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19723 if test "$wxUSE_UNIVERSAL" = "yes"; then
19724 echo "configure: warning: MDI not yet supported for wxUniversal... disabled" 1>&2
19725 wxUSE_MDI_ARCHITECTURE
=no
19728 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19729 cat >> confdefs.h
<<\EOF
19730 #define wxUSE_MDI_ARCHITECTURE 1
19733 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
19737 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
19738 cat >> confdefs.h
<<\EOF
19739 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
19742 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
19743 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19744 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
19748 if test "$wxUSE_HELP" = "yes"; then
19749 cat >> confdefs.h
<<\EOF
19750 #define wxUSE_HELP 1
19753 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
19755 if test "$wxUSE_MSW" = 1; then
19756 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
19757 cat >> confdefs.h
<<\EOF
19758 #define wxUSE_MS_HTML_HELP 1
19764 if test "$wxUSE_WXHTML_HELP" = "yes"; then
19765 if test "$wxUSE_HTML" = "yes"; then
19766 cat >> confdefs.h
<<\EOF
19767 #define wxUSE_WXHTML_HELP 1
19771 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
19772 wxUSE_WXHTML_HELP
=no
19777 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
19778 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19779 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
19781 cat >> confdefs.h
<<\EOF
19782 #define wxUSE_PRINTING_ARCHITECTURE 1
19786 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
19789 if test "$wxUSE_PROLOGIO" = "yes" ; then
19790 cat >> confdefs.h
<<\EOF
19791 #define wxUSE_PROLOGIO 1
19796 if test "$wxUSE_RESOURCES" = "yes" ; then
19797 if test "$wxUSE_NANOX" = "yes"; then
19798 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
19800 cat >> confdefs.h
<<\EOF
19801 #define wxUSE_RESOURCES 1
19804 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
19808 if test "$wxUSE_X_RESOURCES" = "yes"; then
19809 cat >> confdefs.h
<<\EOF
19810 #define wxUSE_X_RESOURCES 1
19816 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
19817 -o "$wxUSE_CLIPBOARD" = "yes" \
19818 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
19819 for ac_hdr
in ole2.h
19821 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19822 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19823 echo "configure:19824: checking for $ac_hdr" >&5
19824 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19825 echo $ac_n "(cached) $ac_c" 1>&6
19827 cat > conftest.
$ac_ext <<EOF
19828 #line 19829 "configure"
19829 #include "confdefs.h"
19832 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19833 { (eval echo configure
:19834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19834 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19835 if test -z "$ac_err"; then
19837 eval "ac_cv_header_$ac_safe=yes"
19840 echo "configure: failed program was:" >&5
19841 cat conftest.
$ac_ext >&5
19843 eval "ac_cv_header_$ac_safe=no"
19847 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19848 echo "$ac_t""yes" 1>&6
19849 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19850 cat >> confdefs.h
<<EOF
19851 #define $ac_tr_hdr 1
19855 echo "$ac_t""no" 1>&6
19860 if test "$ac_cv_header_ole2_h" = "yes" ; then
19861 if test "$GCC" = yes ; then
19862 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
19863 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
19864 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
19865 cat >> confdefs.h
<<\EOF
19866 #define wxUSE_OLE 1
19872 cat >> confdefs.h
<<\EOF
19873 #define wxUSE_DATAOBJ 1
19877 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
19880 wxUSE_DRAG_AND_DROP
=no
19884 if test "$wxUSE_METAFILE" = "yes"; then
19885 cat >> confdefs.h
<<\EOF
19886 #define wxUSE_METAFILE 1
19890 cat >> confdefs.h
<<\EOF
19891 #define wxUSE_ENH_METAFILE 1
19897 if test "$wxUSE_IPC" = "yes"; then
19898 if test "$wxUSE_SOCKETS" != "yes"; then
19899 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
19902 cat >> confdefs.h
<<\EOF
19903 #define wxUSE_IPC 1
19908 if test "$wxUSE_CLIPBOARD" = "yes"; then
19909 if test "$wxUSE_MGL" = 1; then
19910 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
19914 if test "$wxUSE_CLIPBOARD" = "yes"; then
19915 cat >> confdefs.h
<<\EOF
19916 #define wxUSE_CLIPBOARD 1
19920 cat >> confdefs.h
<<\EOF
19921 #define wxUSE_DATAOBJ 1
19927 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
19928 if test "$wxUSE_GTK" = 1; then
19929 if test "$WXGTK12" != 1; then
19930 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
19931 wxUSE_DRAG_AND_DROP
=no
19935 if test "$wxUSE_MOTIF" = 1; then
19936 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
19937 wxUSE_DRAG_AND_DROP
=no
19940 if test "$wxUSE_X11" = 1; then
19941 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
19942 wxUSE_DRAG_AND_DROP
=no
19945 if test "$wxUSE_MGL" = 1; then
19946 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
19947 wxUSE_DRAG_AND_DROP
=no
19950 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
19951 cat >> confdefs.h
<<\EOF
19952 #define wxUSE_DRAG_AND_DROP 1
19955 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
19960 if test "$wxUSE_SPLINES" = "yes" ; then
19961 cat >> confdefs.h
<<\EOF
19962 #define wxUSE_SPLINES 1
19969 if test "$wxUSE_CONTROLS" = "yes"; then
19973 if test "$wxUSE_ACCEL" = "yes"; then
19974 cat >> confdefs.h
<<\EOF
19975 #define wxUSE_ACCEL 1
19981 if test "$wxUSE_BUTTON" = "yes"; then
19982 cat >> confdefs.h
<<\EOF
19983 #define wxUSE_BUTTON 1
19989 if test "$wxUSE_BMPBUTTON" = "yes"; then
19990 cat >> confdefs.h
<<\EOF
19991 #define wxUSE_BMPBUTTON 1
19997 if test "$wxUSE_CALCTRL" = "yes"; then
19998 cat >> confdefs.h
<<\EOF
19999 #define wxUSE_CALENDARCTRL 1
20003 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
20006 if test "$wxUSE_CARET" = "yes"; then
20007 cat >> confdefs.h
<<\EOF
20008 #define wxUSE_CARET 1
20012 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
20015 if test "$wxUSE_COMBOBOX" = "yes"; then
20016 cat >> confdefs.h
<<\EOF
20017 #define wxUSE_COMBOBOX 1
20023 if test "$wxUSE_CHOICE" = "yes"; then
20024 cat >> confdefs.h
<<\EOF
20025 #define wxUSE_CHOICE 1
20031 if test "$wxUSE_CHECKBOX" = "yes"; then
20032 cat >> confdefs.h
<<\EOF
20033 #define wxUSE_CHECKBOX 1
20039 if test "$wxUSE_CHECKLST" = "yes"; then
20040 cat >> confdefs.h
<<\EOF
20041 #define wxUSE_CHECKLISTBOX 1
20045 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
20048 if test "$wxUSE_GAUGE" = "yes"; then
20049 cat >> confdefs.h
<<\EOF
20050 #define wxUSE_GAUGE 1
20056 if test "$wxUSE_NEW_GRID" = "yes"; then
20058 cat >> confdefs.h
<<\EOF
20059 #define wxUSE_NEW_GRID 1
20063 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
20066 if test "$wxUSE_GRID" = "yes"; then
20067 cat >> confdefs.h
<<\EOF
20068 #define wxUSE_GRID 1
20072 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
20075 if test "$wxUSE_IMAGLIST" = "yes"; then
20076 cat >> confdefs.h
<<\EOF
20077 #define wxUSE_IMAGLIST 1
20082 if test "$wxUSE_LISTBOX" = "yes"; then
20083 cat >> confdefs.h
<<\EOF
20084 #define wxUSE_LISTBOX 1
20090 if test "$wxUSE_LISTCTRL" = "yes"; then
20091 if test "$wxUSE_IMAGLIST" = "yes"; then
20092 cat >> confdefs.h
<<\EOF
20093 #define wxUSE_LISTCTRL 1
20097 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
20099 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
20103 if test "$wxUSE_NOTEBOOK" = "yes"; then
20104 cat >> confdefs.h
<<\EOF
20105 #define wxUSE_NOTEBOOK 1
20109 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
20112 if test "$wxUSE_PROPSHEET" = "yes"; then
20113 cat >> confdefs.h
<<\EOF
20114 #define wxUSE_PROPSHEET 1
20118 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
20121 if test "$wxUSE_RADIOBOX" = "yes"; then
20122 cat >> confdefs.h
<<\EOF
20123 #define wxUSE_RADIOBOX 1
20129 if test "$wxUSE_RADIOBTN" = "yes"; then
20130 cat >> confdefs.h
<<\EOF
20131 #define wxUSE_RADIOBTN 1
20137 if test "$wxUSE_SASH" = "yes"; then
20138 cat >> confdefs.h
<<\EOF
20139 #define wxUSE_SASH 1
20142 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
20145 if test "$wxUSE_SCROLLBAR" = "yes"; then
20146 cat >> confdefs.h
<<\EOF
20147 #define wxUSE_SCROLLBAR 1
20151 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
20154 if test "$wxUSE_SLIDER" = "yes"; then
20155 cat >> confdefs.h
<<\EOF
20156 #define wxUSE_SLIDER 1
20162 if test "$wxUSE_SPINBTN" = "yes"; then
20163 cat >> confdefs.h
<<\EOF
20164 #define wxUSE_SPINBTN 1
20170 if test "$wxUSE_SPINCTRL" = "yes"; then
20171 cat >> confdefs.h
<<\EOF
20172 #define wxUSE_SPINCTRL 1
20178 if test "$wxUSE_SPLITTER" = "yes"; then
20179 cat >> confdefs.h
<<\EOF
20180 #define wxUSE_SPLITTER 1
20183 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
20186 if test "$wxUSE_STATBMP" = "yes"; then
20187 cat >> confdefs.h
<<\EOF
20188 #define wxUSE_STATBMP 1
20194 if test "$wxUSE_STATBOX" = "yes"; then
20195 cat >> confdefs.h
<<\EOF
20196 #define wxUSE_STATBOX 1
20202 if test "$wxUSE_STATTEXT" = "yes"; then
20203 cat >> confdefs.h
<<\EOF
20204 #define wxUSE_STATTEXT 1
20210 if test "$wxUSE_STATLINE" = "yes"; then
20211 if test "$wxUSE_WINE" = 1 ; then
20212 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
20214 cat >> confdefs.h
<<\EOF
20215 #define wxUSE_STATLINE 1
20222 if test "$wxUSE_STATUSBAR" = "yes"; then
20223 cat >> confdefs.h
<<\EOF
20224 #define wxUSE_STATUSBAR 1
20229 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
20232 if test "$wxUSE_TABDIALOG" = "yes"; then
20233 cat >> confdefs.h
<<\EOF
20234 #define wxUSE_TAB_DIALOG 1
20237 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
20240 if test "$wxUSE_TEXTCTRL" = "yes"; then
20241 cat >> confdefs.h
<<\EOF
20242 #define wxUSE_TEXTCTRL 1
20246 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
20249 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20250 if test "$wxUSE_MAC" = 1; then
20251 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
20254 if test "$wxUSE_UNIVERSAL" = "yes"; then
20255 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
20259 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20260 cat >> confdefs.h
<<\EOF
20261 #define wxUSE_TOGGLEBTN 1
20268 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
20269 cat >> confdefs.h
<<\EOF
20270 #define wxUSE_TOOLBAR_SIMPLE 1
20273 wxUSE_TOOLBAR
="yes"
20277 if test "$wxUSE_TOOLBAR" = "yes"; then
20278 cat >> confdefs.h
<<\EOF
20279 #define wxUSE_TOOLBAR 1
20284 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
20285 wxUSE_TOOLBAR_NATIVE
="yes"
20288 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
20289 cat >> confdefs.h
<<\EOF
20290 #define wxUSE_TOOLBAR_NATIVE 1
20296 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
20299 if test "$wxUSE_TOOLTIPS" = "yes"; then
20300 if test "$wxUSE_MOTIF" = 1; then
20301 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
20303 if test "$wxUSE_WINE" = 1; then
20304 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
20306 if test "$wxUSE_UNIVERSAL" = "yes"; then
20307 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
20309 cat >> confdefs.h
<<\EOF
20310 #define wxUSE_TOOLTIPS 1
20318 if test "$wxUSE_TREECTRL" = "yes"; then
20319 if test "$wxUSE_IMAGLIST" = "yes"; then
20320 cat >> confdefs.h
<<\EOF
20321 #define wxUSE_TREECTRL 1
20325 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
20327 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
20331 if test "$wxUSE_POPUPWIN" = "yes"; then
20332 if test "$wxUSE_MAC" = 1; then
20333 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
20335 if test "$wxUSE_MOTIF" = 1; then
20336 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
20338 if test "$wxUSE_PM" = 1; then
20339 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
20341 cat >> confdefs.h
<<\EOF
20342 #define wxUSE_POPUPWIN 1
20352 if test "$wxUSE_TIPWINDOW" = "yes"; then
20353 if test "$wxUSE_PM" = 1; then
20354 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
20356 cat >> confdefs.h
<<\EOF
20357 #define wxUSE_TIPWINDOW 1
20363 if test "$USES_CONTROLS" = 1; then
20364 cat >> confdefs.h
<<\EOF
20365 #define wxUSE_CONTROLS 1
20371 if test "$wxUSE_TREELAYOUT" = "yes"; then
20372 cat >> confdefs.h
<<\EOF
20373 #define wxUSE_TREELAYOUT 1
20376 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
20379 if test "$wxUSE_DRAGIMAGE" = "yes"; then
20380 cat >> confdefs.h
<<\EOF
20381 #define wxUSE_DRAGIMAGE 1
20384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
20387 if test "$wxUSE_MENUS" = "yes"; then
20388 cat >> confdefs.h
<<\EOF
20389 #define wxUSE_MENUS 1
20392 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
20395 if test "$wxUSE_METAFILE" = "yes"; then
20396 cat >> confdefs.h
<<\EOF
20397 #define wxUSE_METAFILE 1
20402 if test "$wxUSE_MIMETYPE" = "yes"; then
20403 cat >> confdefs.h
<<\EOF
20404 #define wxUSE_MIMETYPE 1
20409 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
20410 cat >> confdefs.h
<<\EOF
20411 #define wxUSE_SYSTEM_OPTIONS 1
20414 if test "$TOOLKIT" = "MSW"; then
20415 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
20420 if test "$wxUSE_PROTOCOL" = "yes"; then
20421 if test "$wxUSE_SOCKETS" != "yes"; then
20422 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
20426 if test "$wxUSE_PROTOCOL" = "yes"; then
20427 cat >> confdefs.h
<<\EOF
20428 #define wxUSE_PROTOCOL 1
20432 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
20433 cat >> confdefs.h
<<\EOF
20434 #define wxUSE_PROTOCOL_HTTP 1
20438 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
20439 cat >> confdefs.h
<<\EOF
20440 #define wxUSE_PROTOCOL_FTP 1
20444 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
20445 cat >> confdefs.h
<<\EOF
20446 #define wxUSE_PROTOCOL_FILE 1
20453 if test "$wxUSE_URL" = "yes"; then
20454 if test "$wxUSE_PROTOCOL" != "yes"; then
20455 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
20458 if test "$wxUSE_URL" = "yes"; then
20459 cat >> confdefs.h
<<\EOF
20460 #define wxUSE_URL 1
20466 if test "$wxUSE_MINIFRAME" = "yes"; then
20467 cat >> confdefs.h
<<\EOF
20468 #define wxUSE_MINIFRAME 1
20471 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
20474 if test "$wxUSE_HTML" = "yes"; then
20475 cat >> confdefs.h
<<\EOF
20476 #define wxUSE_HTML 1
20479 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
20482 if test "$wxUSE_VALIDATORS" = "yes"; then
20483 cat >> confdefs.h
<<\EOF
20484 #define wxUSE_VALIDATORS 1
20487 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
20490 if test "$wxUSE_PALETTE" = "yes" ; then
20491 cat >> confdefs.h
<<\EOF
20492 #define wxUSE_PALETTE 1
20497 if test "$wxUSE_IMAGE" = "yes" ; then
20498 cat >> confdefs.h
<<\EOF
20499 #define wxUSE_IMAGE 1
20504 if test "$wxUSE_GIF" = "yes" ; then
20505 cat >> confdefs.h
<<\EOF
20506 #define wxUSE_GIF 1
20511 if test "$wxUSE_PCX" = "yes" ; then
20512 cat >> confdefs.h
<<\EOF
20513 #define wxUSE_PCX 1
20518 if test "$wxUSE_IFF" = "yes" ; then
20519 cat >> confdefs.h
<<\EOF
20520 #define wxUSE_IFF 1
20525 if test "$wxUSE_PNM" = "yes" ; then
20526 cat >> confdefs.h
<<\EOF
20527 #define wxUSE_PNM 1
20532 if test "$wxUSE_XPM" = "yes" ; then
20533 cat >> confdefs.h
<<\EOF
20534 #define wxUSE_XPM 1
20539 if test "$wxUSE_ICO_CUR" = "yes" ; then
20540 cat >> confdefs.h
<<\EOF
20541 #define wxUSE_ICO_CUR 1
20546 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
20547 LIBS
=" -lunicows $LIBS"
20551 if test "$wxUSE_CHOICEDLG" = "yes"; then
20552 cat >> confdefs.h
<<\EOF
20553 #define wxUSE_CHOICEDLG 1
20558 if test "$wxUSE_COLOURDLG" = "yes"; then
20559 cat >> confdefs.h
<<\EOF
20560 #define wxUSE_COLOURDLG 1
20565 if test "$wxUSE_FILEDLG" = "yes"; then
20566 cat >> confdefs.h
<<\EOF
20567 #define wxUSE_FILEDLG 1
20572 if test "$wxUSE_FINDREPLDLG" = "yes"; then
20573 cat >> confdefs.h
<<\EOF
20574 #define wxUSE_FINDREPLDLG 1
20579 if test "$wxUSE_FONTDLG" = "yes"; then
20580 cat >> confdefs.h
<<\EOF
20581 #define wxUSE_FONTDLG 1
20586 if test "$wxUSE_DIRDLG" = "yes"; then
20587 if test "$wxUSE_TREECTRL" != "yes"; then
20588 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
20590 cat >> confdefs.h
<<\EOF
20591 #define wxUSE_DIRDLG 1
20597 if test "$wxUSE_MSGDLG" = "yes"; then
20598 cat >> confdefs.h
<<\EOF
20599 #define wxUSE_MSGDLG 1
20604 if test "$wxUSE_NUMBERDLG" = "yes"; then
20605 cat >> confdefs.h
<<\EOF
20606 #define wxUSE_NUMBERDLG 1
20611 if test "$wxUSE_PROGRESSDLG" = "yes"; then
20612 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20613 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
20615 cat >> confdefs.h
<<\EOF
20616 #define wxUSE_PROGRESSDLG 1
20622 if test "$wxUSE_SPLASH" = "yes"; then
20623 cat >> confdefs.h
<<\EOF
20624 #define wxUSE_SPLASH 1
20629 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
20630 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20631 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
20633 cat >> confdefs.h
<<\EOF
20634 #define wxUSE_STARTUP_TIPS 1
20640 if test "$wxUSE_TEXTDLG" = "yes"; then
20641 cat >> confdefs.h
<<\EOF
20642 #define wxUSE_TEXTDLG 1
20647 if test "$wxUSE_WIZARDDLG" = "yes"; then
20648 cat >> confdefs.h
<<\EOF
20649 #define wxUSE_WIZARDDLG 1
20652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
20656 if test "$cross_compiling" = "yes"; then
20659 OSINFO
=`uname -s -r -m`
20660 OSINFO
="\"$OSINFO\""
20663 cat >> confdefs.h
<<EOF
20664 #define WXWIN_OS_DESCRIPTION $OSINFO
20669 if test "x$prefix" != "xNONE"; then
20672 wxPREFIX
=$ac_default_prefix
20675 cat >> confdefs.h
<<EOF
20676 #define wxINSTALL_PREFIX "$wxPREFIX"
20683 if test "$wxUSE_MAC" = 1 ; then
20684 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
20688 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK -lm $LIBS"
20690 if test "$wxUSE_GUI" = "yes"; then
20692 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
20695 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
20696 drawing dynamic erase event exec font image \
20697 minimal richedit rotate widgets"
20699 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
20701 SAMPLES_SUBDIRS
="console"
20705 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
20706 -I\${top_srcdir}/include \
20707 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
20710 if test "$wxUSE_GTK" = 1; then
20713 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
20716 if test "$GXX" = yes ; then
20717 CXXWARNINGS
="-Wall"
20719 if test "$wxUSE_NO_DEPS" = "no" ; then
20720 CFLAGS
="-MMD $CFLAGS"
20721 CXXFLAGS
="-MMD $CXXFLAGS"
20725 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
20727 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
20728 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
20729 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
20731 LDFLAGS
="$LDFLAGS $PROFILE"
20733 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
20823 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
20824 echo "configure:20825: checking whether ${MAKE-make} sets \${MAKE}" >&5
20825 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
20826 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
20827 echo $ac_n "(cached) $ac_c" 1>&6
20829 cat > conftestmake
<<\EOF
20831 @
echo 'ac_maketemp="${MAKE}"'
20833 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20834 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
20835 if test -n "$ac_maketemp"; then
20836 eval ac_cv_prog_make_
${ac_make}_set
=yes
20838 eval ac_cv_prog_make_
${ac_make}_set
=no
20842 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
20843 echo "$ac_t""yes" 1>&6
20846 echo "$ac_t""no" 1>&6
20847 SET_MAKE
="MAKE=${MAKE-make}"
20851 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
20852 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
20857 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
20858 wx_cv_if_gnu_make
=$IF_GNU_MAKE
20859 wx_cv_path_ifs
=$PATH_IFS
20860 wx_cv_program_ext
=$PROGRAM_EXT
20861 wx_cv_target_library
=$WX_TARGET_LIBRARY
20862 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
20863 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
20864 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
20865 wx_cv_path_ifs wx_cv_program_ext \
20866 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
20868 subdirs
="demos samples utils contrib"
20872 cat > confcache
<<\EOF
20873 # This file is a shell script that caches the results of configure
20874 # tests run on this system so they can be shared between configure
20875 # scripts and configure runs. It is not useful on other systems.
20876 # If it contains results you don't want to keep, you may remove or edit it.
20878 # By default, configure uses ./config.cache as the cache file,
20879 # creating it if it does not exist already. You can give configure
20880 # the --cache-file=FILE option to use a different cache file; that is
20881 # what configure does when it calls configure scripts in
20882 # subdirectories, so they share the cache.
20883 # Giving --cache-file=/dev/null disables caching, for debugging configure.
20884 # config.status only pays attention to the cache file if you give it the
20885 # --recheck option to rerun configure.
20888 # The following way of writing the cache mishandles newlines in values,
20889 # but we know of no workaround that is simple, portable, and efficient.
20890 # So, don't put newlines in cache variables' values.
20891 # Ultrix sh set writes to stderr and can't be redirected directly,
20892 # and sets the high bit in the cache file unless we assign to the vars.
20894 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20896 # `set' does not quote correctly, so add quotes (double-quote substitution
20897 # turns \\\\ into \\, and sed turns \\ into \).
20899 -e "s/'/'\\\\''/g" \
20900 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20903 # `set' quotes correctly as required by POSIX, so do not add quotes.
20904 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20907 if cmp -s $cache_file confcache
; then
20910 if test -w $cache_file; then
20911 echo "updating cache $cache_file"
20912 cat confcache
> $cache_file
20914 echo "not updating unwritable cache $cache_file"
20919 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
20921 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20922 # Let make expand exec_prefix.
20923 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20925 # Any assignment to VPATH causes Sun make to only execute
20926 # the first set of double-colon rules, so remove it if not needed.
20927 # If there is a colon in the path, we need to keep it.
20928 if test "x$srcdir" = x.
; then
20929 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
20932 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
20934 DEFS
=-DHAVE_CONFIG_H
20936 # Without the "./", some shells look in PATH for config.status.
20937 : ${CONFIG_STATUS=./config.status}
20939 echo creating
$CONFIG_STATUS
20940 rm -f $CONFIG_STATUS
20941 cat > $CONFIG_STATUS <<EOF
20943 # Generated automatically by configure.
20944 # Run this file to recreate the current configuration.
20945 # This directory was configured as follows,
20946 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20948 # $0 $ac_configure_args
20950 # Compiler output produced by configure, useful for debugging
20951 # configure, is in ./config.log if it exists.
20953 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
20956 case "\$ac_option" in
20957 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20958 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
20959 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
20960 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
20961 echo "$CONFIG_STATUS generated by autoconf version 2.13"
20963 -help | --help | --hel | --he | --h)
20964 echo "\$ac_cs_usage"; exit 0 ;;
20965 *) echo "\$ac_cs_usage"; exit 1 ;;
20969 ac_given_srcdir=$srcdir
20970 ac_given_INSTALL="$INSTALL"
20972 trap 'rm -fr `echo "
20978 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
20980 cat >> $CONFIG_STATUS <<EOF
20982 # Protect against being on the right side of a sed subst in config.status.
20983 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
20984 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
20988 s%@CFLAGS@%$CFLAGS%g
20989 s%@CPPFLAGS@%$CPPFLAGS%g
20990 s%@CXXFLAGS@%$CXXFLAGS%g
20991 s%@FFLAGS@%$FFLAGS%g
20993 s%@LDFLAGS@%$LDFLAGS%g
20995 s%@exec_prefix@%$exec_prefix%g
20996 s%@prefix@%$prefix%g
20997 s%@program_transform_name@%$program_transform_name%g
20998 s%@bindir@%$bindir%g
20999 s%@sbindir@%$sbindir%g
21000 s%@libexecdir@%$libexecdir%g
21001 s%@datadir@%$datadir%g
21002 s%@sysconfdir@%$sysconfdir%g
21003 s%@sharedstatedir@%$sharedstatedir%g
21004 s%@localstatedir@%$localstatedir%g
21005 s%@libdir@%$libdir%g
21006 s%@includedir@%$includedir%g
21007 s%@oldincludedir@%$oldincludedir%g
21008 s%@infodir@%$infodir%g
21009 s%@mandir@%$mandir%g
21011 s%@host_alias@%$host_alias%g
21012 s%@host_cpu@%$host_cpu%g
21013 s%@host_vendor@%$host_vendor%g
21014 s%@host_os@%$host_os%g
21015 s%@target@%$target%g
21016 s%@target_alias@%$target_alias%g
21017 s%@target_cpu@%$target_cpu%g
21018 s%@target_vendor@%$target_vendor%g
21019 s%@target_os@%$target_os%g
21021 s%@build_alias@%$build_alias%g
21022 s%@build_cpu@%$build_cpu%g
21023 s%@build_vendor@%$build_vendor%g
21024 s%@build_os@%$build_os%g
21028 s%@RANLIB@%$RANLIB%g
21030 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
21031 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
21032 s%@INSTALL_DATA@%$INSTALL_DATA%g
21034 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
21037 s%@LEXLIB@%$LEXLIB%g
21039 s%@CXXCPP@%$CXXCPP%g
21040 s%@PKG_CONFIG@%$PKG_CONFIG%g
21041 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
21042 s%@GTK_LIBS@%$GTK_LIBS%g
21043 s%@GTK_CONFIG@%$GTK_CONFIG%g
21044 s%@X_CFLAGS@%$X_CFLAGS%g
21045 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
21046 s%@X_LIBS@%$X_LIBS%g
21047 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
21048 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
21049 s%@RESCOMP@%$RESCOMP%g
21051 s%@LIBICONV@%$LIBICONV%g
21052 s%@LEX_STEM@%$LEX_STEM%g
21053 s%@PATH_IFS@%$PATH_IFS%g
21054 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
21055 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
21056 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
21057 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
21058 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
21059 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
21060 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
21061 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
21062 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
21063 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
21064 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
21065 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
21066 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
21067 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
21068 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
21069 s%@WX_ALL@%$WX_ALL%g
21070 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
21071 s%@SHARED_LD@%$SHARED_LD%g
21072 s%@PIC_FLAG@%$PIC_FLAG%g
21073 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
21074 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
21075 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
21076 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
21077 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
21078 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
21079 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
21080 s%@USE_GUI@%$USE_GUI%g
21081 s%@AFMINSTALL@%$AFMINSTALL%g
21082 s%@TOOLKIT@%$TOOLKIT%g
21083 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
21084 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
21085 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
21086 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
21087 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
21088 s%@cross_compiling@%$cross_compiling%g
21089 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
21090 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
21091 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
21092 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
21093 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
21094 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
21095 s%@ALL_HEADERS@%$ALL_HEADERS%g
21096 s%@ALL_SOURCES@%$ALL_SOURCES%g
21097 s%@GUIDIST@%$GUIDIST%g
21098 s%@PORT_FILES@%$PORT_FILES%g
21099 s%@DISTDIR@%$DISTDIR%g
21100 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
21101 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
21102 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
21103 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
21104 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
21105 s%@EXTRADEFS@%$EXTRADEFS%g
21106 s%@RESFLAGS@%$RESFLAGS%g
21107 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
21108 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
21109 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
21110 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
21111 s%@LIBWXMACRES@%$LIBWXMACRES%g
21112 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
21113 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
21114 s%@DLLTOOL@%$DLLTOOL%g
21118 s%@MAKEINFO@%$MAKEINFO%g
21119 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
21120 s%@SET_MAKE@%$SET_MAKE%g
21121 s%@subdirs@%$subdirs%g
21126 cat >> $CONFIG_STATUS <<\EOF
21128 # Split the substitutions into bite-sized pieces for seds with
21129 # small command number limits, like on Digital OSF/1 and HP-UX.
21130 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
21131 ac_file
=1 # Number of current file.
21132 ac_beg
=1 # First line for current file.
21133 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
21136 while $ac_more_lines; do
21137 if test $ac_beg -gt 1; then
21138 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
21140 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
21142 if test ! -s conftest.s
$ac_file; then
21143 ac_more_lines
=false
21144 rm -f conftest.s
$ac_file
21146 if test -z "$ac_sed_cmds"; then
21147 ac_sed_cmds
="sed -f conftest.s$ac_file"
21149 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
21151 ac_file
=`expr $ac_file + 1`
21153 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
21156 if test -z "$ac_sed_cmds"; then
21161 cat >> $CONFIG_STATUS <<EOF
21163 CONFIG_FILES=\${CONFIG_FILES-"wx-config
21170 cat >> $CONFIG_STATUS <<\EOF
21171 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
21172 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21174 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
21175 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21176 *) ac_file_in
="${ac_file}.in" ;;
21179 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
21181 # Remove last slash and all that follows it. Not all systems have dirname.
21182 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21183 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
21184 # The file is in a subdirectory.
21185 test ! -d "$ac_dir" && mkdir "$ac_dir"
21186 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
21187 # A "../" for each directory in $ac_dir_suffix.
21188 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
21190 ac_dir_suffix
= ac_dots
=
21193 case "$ac_given_srcdir" in
21195 if test -z "$ac_dots"; then top_srcdir
=.
21196 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
21197 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
21198 *) # Relative path.
21199 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
21200 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
21203 case "$ac_given_INSTALL" in
21204 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
21205 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
21208 echo creating
"$ac_file"
21210 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
21212 *Makefile
*) ac_comsub
="1i\\
21213 # $configure_input" ;;
21217 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21219 s%@configure_input@%$configure_input%g
21220 s%@srcdir@%$srcdir%g
21221 s%@top_srcdir@%$top_srcdir%g
21222 s%@INSTALL@%$INSTALL%g
21223 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
21227 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21228 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21230 # ac_d sets the value in "#define NAME VALUE" lines.
21231 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21232 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
21235 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
21236 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21237 ac_uB
='\([ ]\)%\1#\2define\3'
21240 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21241 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21242 ac_eB
='$%\1#\2define\3'
21246 if test "${CONFIG_HEADERS+set}" != set; then
21248 cat >> $CONFIG_STATUS <<EOF
21249 CONFIG_HEADERS="setup.h:setup.h.in"
21251 cat >> $CONFIG_STATUS <<\EOF
21253 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
21254 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21256 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
21257 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21258 *) ac_file_in
="${ac_file}.in" ;;
21261 echo creating
$ac_file
21263 rm -f conftest.frag conftest.
in conftest.out
21264 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21265 cat $ac_file_inputs > conftest.
in
21269 # Transform confdefs.h into a sed script conftest.vals that substitutes
21270 # the proper values into config.h.in to produce config.h. And first:
21271 # Protect against being on the right side of a sed subst in config.status.
21272 # Protect against being in an unquoted here document in config.status.
21273 rm -f conftest.vals
21274 cat > conftest.hdr
<<\EOF
21277 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
21281 sed -n -f conftest.hdr confdefs.h > conftest.vals
21284 # This sed command replaces #undef with comments. This is necessary, for
21285 # example, in the case of _POSIX_SOURCE, which is predefined and required
21286 # on some systems where configure will not decide to define it.
21287 cat >> conftest.vals <<\EOF
21288 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
21291 # Break up conftest.vals because some shells have a limit on
21292 # the size of here documents, and old seds have small limits too.
21294 rm -f conftest.tail
21297 ac_lines=`grep -c . conftest.vals
`
21298 # grep -c gives empty output for an empty file on some AIX systems.
21299 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
21300 # Write a limited-size here document to conftest.frag.
21301 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
21302 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
21304 sed -f conftest.frag conftest.in > conftest.out
21306 mv conftest.out conftest.in
21307 ' >> $CONFIG_STATUS
21308 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
21309 rm -f conftest.vals
21310 mv conftest.tail conftest.vals
21312 rm -f conftest.vals
21314 cat >> $CONFIG_STATUS <<\EOF
21315 rm -f conftest.frag conftest.h
21316 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
21317 cat conftest.in >> conftest.h
21319 if cmp -s $ac_file conftest.h 2>/dev/null; then
21320 echo "$ac_file is unchanged"
21323 # Remove last slash and all that follows it. Not all systems have dirname.
21324 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21325 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21326 # The file is in a subdirectory.
21327 test ! -d "$ac_dir" && mkdir "$ac_dir"
21330 mv conftest.h $ac_file
21335 cat >> $CONFIG_STATUS <<EOF
21337 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
21342 cat >> $CONFIG_STATUS <<\EOF
21344 if test ! -h wx-config; then
21346 mv wx-config wx${TOOLCHAIN_NAME}-config
21347 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
21350 if test ! -d lib; then
21353 if test ! -d lib/wx; then
21356 if test ! -d lib/wx/include; then
21357 mkdir lib/wx/include
21359 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
21360 mkdir lib/wx/include/${TOOLCHAIN_NAME}
21362 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
21363 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
21365 if test -f setup.h; then
21366 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
21371 chmod +x $CONFIG_STATUS
21372 rm -fr confdefs* $ac_clean_files
21373 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21375 if test "$no_recursion" != yes; then
21377 # Remove --cache-file and --srcdir arguments so they do not pile up.
21378 ac_sub_configure_args=
21380 for ac_arg in $ac_configure_args; do
21381 if test -n "$ac_prev"; then
21386 -cache-file | --cache-file | --cache-fil | --cache-fi \
21387 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
21388 ac_prev=cache_file ;;
21389 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
21390 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
21392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
21394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
21396 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
21400 for ac_config_dir in demos samples utils contrib; do
21402 # Do not complain, so a configure script can configure whichever
21403 # parts of a large source tree are present.
21404 if test ! -d $srcdir/$ac_config_dir; then
21408 echo configuring in $ac_config_dir
21413 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
21415 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
21423 # A "../" for each directory in /$ac_config_dir.
21424 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
21427 .) # No --srcdir option. We are building in place.
21428 ac_sub_srcdir=$srcdir ;;
21429 /*) # Absolute path.
21430 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
21431 *) # Relative path.
21432 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
21435 # Check for guested configure; otherwise get Cygnus style configure.
21436 if test -f $ac_sub_srcdir/configure; then
21437 ac_sub_configure=$ac_sub_srcdir/configure
21438 elif test -f $ac_sub_srcdir/configure.in; then
21439 ac_sub_configure=$ac_configure
21441 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
21445 # The recursion is here.
21446 if test -n "$ac_sub_configure"; then
21448 # Make the cache file name correct relative to the subdirectory.
21449 case "$cache_file" in
21450 /*) ac_sub_cache_file=$cache_file ;;
21451 *) # Relative path.
21452 ac_sub_cache_file="$ac_dots$cache_file" ;;
21454 case "$ac_given_INSTALL" in
21455 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21456 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21459 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
21460 # The eval makes quoting arguments work.
21461 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
21464 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }