3 # From configure.in Id: configure.in
52 # Configure paths for GTK+
57 # Guess values for system-dependent variables and create Makefiles.
58 # Generated automatically using autoconf version 2.13
59 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
61 # This configure script is free software; the Free Software Foundation
62 # gives unlimited permission to copy, distribute and modify it.
66 ac_default_prefix
=/usr
/local
67 # Any additions from configure.in:
69 --enable-gui use GUI classes"
71 --enable-universal use wxWindows GUI controls instead of native ones"
75 --with-motif use Motif/Lesstif"
77 --with-mac use Mac OS X"
81 --with-msw use MS-Windows"
83 --with-pm use OS/2 Presentation Manager"
85 --with-mgl use SciTech MGL"
87 --with-microwin use MicroWindows"
91 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
93 --with-libpng use libpng (PNG image format)"
95 --with-libjpeg use libjpeg (JPEG file format)"
97 --with-libtiff use libtiff (TIFF file format)"
99 --with-freetype use freetype (font rasterizer)"
101 --with-opengl use OpenGL (or Mesa)"
103 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
105 --with-regex enable support for wxRegEx class"
107 --with-zlib use zlib for LZW compression"
109 --with-odbc use the IODBC and wxODBC classes"
111 --enable-shared create shared library code"
113 --enable-soname set the DT_SONAME field in ELF shared libraries"
115 --enable-optimise create optimised code"
117 --enable-debug same as debug_flag and debug_info"
119 --enable-precomp enable use of precompiled headers (Mac OS X)"
121 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
123 --enable-debug_info create code with debugging information"
125 --enable-debug_gdb create code with extra GDB debugging information"
127 --enable-debug_cntxt use wxDebugContext"
129 --enable-mem_tracing create code with memory tracing"
131 --enable-profile create code with profiling information"
133 --enable-no_rtti create code without RTTI information"
135 --enable-no_exceptions create code without C++ exceptions handling"
137 --enable-permissive compile code disregarding strict ANSI"
139 --enable-no_deps create code without dependency information"
141 --enable-compat20 enable wxWindows 2.0 compatibility"
143 --enable-compat22 enable wxWindows 2.2 compatibility"
145 --enable-intl use internationalization system"
147 --enable-config use wxConfig (and derived) classes"
149 --enable-protocols use wxProtocol and derived classes"
151 --enable-ftp use wxFTP (requires wxProtocol"
153 --enable-http use wxHTTP (requires wxProtocol"
155 --enable-fileproto use wxFileProto class (requires wxProtocol"
157 --enable-sockets use socket/network classes"
159 --enable-ipc use interprocess communication (wxSocket etc.)"
161 --enable-cmdline use wxCmdLineParser class"
163 --enable-datetime use wxDateTime class"
165 --enable-timedate use obsolete wxDate/wxTime classes"
167 --enable-stopwatch use wxStopWatch class"
169 --enable-dialupman use dialup network classes"
171 --enable-apple_ieee use the Apple IEEE codec"
173 --enable-timer use wxTimer class"
175 --enable-wave use wxWave class"
177 --enable-fraction use wxFraction class"
179 --enable-dynlib use wxLibrary class for DLL loading"
181 --enable-dynamicloader use (new) wxDynamicLibrary class"
183 --enable-longlong use wxLongLong class"
185 --enable-geometry use geometry class"
187 --enable-log use logging system"
189 --enable-streams use wxStream etc classes"
191 --enable-file use wxFile classes"
193 --enable-ffile use wxFFile classes"
195 --enable-textbuf use wxTextBuffer class"
197 --enable-textfile use wxTextFile class"
199 --enable-fontmap use font encodings conversion classes"
201 --enable-unicode compile wxString with Unicode support"
203 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
205 --enable-wxprintfv use wxWindows implementation of vprintf()"
207 --enable-std_iostreams use standard C++ stream classes"
209 --enable-filesystem use virtual file systems classes"
211 --enable-fs_inet use virtual HTTP/FTP filesystems"
213 --enable-fs_zip use virtual ZIP filesystems"
215 --enable-zipstream use wxZipInputStream"
217 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
219 --enable-snglinst use wxSingleInstanceChecker class"
221 --enable-mimetype use wxMimeTypesManager"
223 --enable-sysoptions use wxSystemOptions"
225 --enable-url use wxURL class"
227 --enable-protocol use wxProtocol class"
229 --enable-protocol-http HTTP support in wxProtocol"
231 --enable-protocol-ftp FTP support in wxProtocol"
233 --enable-protocol-file FILE support in wxProtocol"
235 --enable-threads use threads"
237 --enable-docview use document view architecture"
239 --enable-help use help subsystem"
241 --enable-mshtmlhelp use MS HTML Help (win32)"
243 --enable-html use wxHTML sub-library"
245 --enable-htmlhelp use wxHTML-based help"
247 --enable-constraints use layout-constraints system"
249 --enable-printarch use printing architecture"
251 --enable-mdi use multiple document interface architecture"
253 --enable-loggui use standard GUI logger"
255 --enable-logwin use wxLogWindow"
257 --enable-logdialog use wxLogDialog"
259 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
261 --enable-prologio use Prolog IO library"
263 --enable-resources use wxWindows resources"
265 --enable-xresources use X resources for save (default for gtk+)"
267 --enable-clipboard use wxClipboard classes"
269 --enable-dnd use Drag'n'Drop classes"
271 --enable-metafile use win32 metafiles"
273 --enable-treelayout use wxTreeLayout classes"
275 --enable-controls use all usual controls"
277 --enable-accel use accelerators"
279 --enable-button use wxButton class"
281 --enable-bmpbutton use wxBitmapButton class"
283 --enable-calendar use wxCalendarCtrl class"
285 --enable-caret use wxCaret class"
287 --enable-checkbox use wxCheckBox class"
289 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
291 --enable-choice use wxChoice class"
293 --enable-combobox use wxComboBox classes"
295 --enable-gauge use wxGauge class"
297 --enable-grid use wxGrid class"
299 --enable-newgrid use new wxGrid class"
301 --enable-imaglist use wxImageList class"
303 --enable-listbox use wxListBox class"
305 --enable-listctrl use wxListCtrl class"
307 --enable-notebook use wxNotebook class"
309 --enable-propsheet use wxPropertySheet class"
311 --enable-radiobox use wxRadioBox class"
313 --enable-radiobtn use wxRadioButton class"
315 --enable-sash use wxSashWindow class"
317 --enable-scrollbar use wxScrollBar class and scrollable windows"
319 --enable-slider use wxSlider class"
321 --enable-spinbtn use wxSpinButton class"
323 --enable-spinctrl use wxSpinCtrl class"
325 --enable-splitter use wxSplitterWindow class"
327 --enable-statbmp use wxStaticBitmap class"
329 --enable-statbox use wxStaticBox class"
331 --enable-statline use wxStaticLine class"
333 --enable-stattext use wxStaticText class"
335 --enable-statusbar use wxStatusBar class"
337 --enable-tabdialog use wxTabControl class"
339 --enable-textctrl use wxTextCtrl class"
341 --enable-togglebtn use wxToggleButton class"
343 --enable-toolbar use wxToolBar class"
345 --enable-tbarnative use native wxToolBar class"
347 --enable-tbarsmpl use wxToolBarSimple class"
349 --enable-treectrl use wxTreeCtrl class"
351 --enable-tipwindow use wxTipWindow class"
353 --enable-popupwin use wxPopUpWindow class"
355 --enable-commondlg use all common dialogs"
357 --enable-choicedlg use wxChoiceDialog"
359 --enable-coldlg use wxColourDialog"
361 --enable-filedlg use wxFileDialog"
363 --enable-finddlg use wxFindReplaceDialog"
365 --enable-fontdlg use wxFontDialog"
367 --enable-dirdlg use wxDirDialog"
369 --enable-msgdlg use wxMessageDialog"
371 --enable-numberdlg use wxNumberEntryDialog"
373 --enable-splash use wxSplashScreen"
375 --enable-textdlg use wxTextDialog"
377 --enable-tipdlg use startup tips"
379 --enable-progressdlg use wxProgressDialog"
381 --enable-wizarddlg use wxWizard"
383 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
385 --enable-miniframe use wxMiniFrame class"
387 --enable-tooltips use wxToolTip class"
389 --enable-splines use spline drawing code"
391 --enable-validators use wxValidator and derived classes"
393 --enable-busyinfo use wxBusyInfo"
395 --enable-joystick use wxJoystick (Linux only)"
397 --enable-metafiles use wxMetaFile (Windows only)"
399 --enable-dragimage use wxDragImage"
401 --enable-palette use wxPalette class"
403 --enable-image use wxImage class"
405 --enable-gif use gif images (GIF file format)"
407 --enable-pcx use pcx images (PCX file format)"
409 --enable-iff use iff images (IFF file format)"
411 --enable-pnm use pnm images (PNM file format)"
413 --enable-xpm use xpm images (XPM file format)"
415 --enable-icocur use Windows ICO and CUR formats"
417 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
419 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
421 --disable-gtktest Do not try to compile and run a test GTK program"
423 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
425 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
427 --disable-gtktest Do not try to compile and run a test GTK program"
429 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
431 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
433 --disable-gtktest Do not try to compile and run a test GTK program"
435 --with-x use the X Window System"
437 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
439 # Initialize some variables set by options.
440 # The variables have the same names as the options, with
441 # dashes changed to underlines.
443 cache_file
=.
/config.cache
452 program_transform_name
=s
,x
,x
,
460 bindir
='${exec_prefix}/bin'
461 sbindir
='${exec_prefix}/sbin'
462 libexecdir
='${exec_prefix}/libexec'
463 datadir
='${prefix}/share'
464 sysconfdir
='${prefix}/etc'
465 sharedstatedir
='${prefix}/com'
466 localstatedir
='${prefix}/var'
467 libdir
='${exec_prefix}/lib'
468 includedir
='${prefix}/include'
469 oldincludedir
='/usr/include'
470 infodir
='${prefix}/info'
471 mandir
='${prefix}/man'
473 # Initialize some other variables.
476 SHELL
=${CONFIG_SHELL-/bin/sh}
477 # Maximum number of lines to put in a shell here document.
484 # If the previous option needs an argument, assign it.
485 if test -n "$ac_prev"; then
486 eval "$ac_prev=\$ac_option"
492 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
496 # Accept the important Cygnus configure options, so we can diagnose typos.
500 -bindir | --bindir | --bindi | --bind | --bin | --bi)
502 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
503 bindir
="$ac_optarg" ;;
505 -build | --build | --buil | --bui | --bu)
507 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
508 build
="$ac_optarg" ;;
510 -cache-file | --cache-file | --cache-fil | --cache-fi \
511 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
512 ac_prev
=cache_file
;;
513 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
514 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
515 cache_file
="$ac_optarg" ;;
517 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
519 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
521 datadir
="$ac_optarg" ;;
523 -disable-* | --disable-*)
524 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
525 # Reject names that are not valid shell variable names.
526 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
527 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
529 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
530 eval "enable_${ac_feature}=no" ;;
532 -enable-* | --enable-*)
533 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
534 # Reject names that are not valid shell variable names.
535 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
536 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
538 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
543 eval "enable_${ac_feature}='$ac_optarg'" ;;
545 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
546 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
547 | --exec | --exe | --ex)
548 ac_prev
=exec_prefix
;;
549 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
550 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
551 | --exec=* | --exe=* | --ex=*)
552 exec_prefix
="$ac_optarg" ;;
554 -gas | --gas | --ga | --g)
555 # Obsolete; use --with-gas.
558 -help | --help | --hel | --he)
559 # Omit some internal or obsolete options to make the list less imposing.
560 # This message is too long to be a string in the A/UX 3.1 sh.
562 Usage: configure [options] [host]
563 Options: [defaults in brackets after descriptions]
565 --cache-file=FILE cache test results in FILE
566 --help print this message
567 --no-create do not create output files
568 --quiet, --silent do not print \`checking...' messages
569 --version print the version of autoconf that created configure
570 Directory and file names:
571 --prefix=PREFIX install architecture-independent files in PREFIX
573 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
575 --bindir=DIR user executables in DIR [EPREFIX/bin]
576 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
577 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
578 --datadir=DIR read-only architecture-independent data in DIR
580 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
581 --sharedstatedir=DIR modifiable architecture-independent data in DIR
583 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
584 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
585 --includedir=DIR C header files in DIR [PREFIX/include]
586 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
587 --infodir=DIR info documentation in DIR [PREFIX/info]
588 --mandir=DIR man documentation in DIR [PREFIX/man]
589 --srcdir=DIR find the sources in DIR [configure dir or ..]
590 --program-prefix=PREFIX prepend PREFIX to installed program names
591 --program-suffix=SUFFIX append SUFFIX to installed program names
592 --program-transform-name=PROGRAM
593 run sed PROGRAM on installed program names
597 --build=BUILD configure for building on BUILD [BUILD=HOST]
598 --host=HOST configure for HOST [guessed]
599 --target=TARGET configure for TARGET [TARGET=HOST]
600 Features and packages:
601 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
602 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
603 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
604 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
605 --x-includes=DIR X include files are in DIR
606 --x-libraries=DIR X library files are in DIR
608 if test -n "$ac_help"; then
609 echo "--enable and --with options recognized:$ac_help"
613 -host | --host | --hos | --ho)
615 -host=* | --host=* | --hos=* | --ho=*)
618 -includedir | --includedir | --includedi | --included | --include \
619 | --includ | --inclu | --incl | --inc)
620 ac_prev
=includedir
;;
621 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
622 | --includ=* | --inclu=* | --incl=* | --inc=*)
623 includedir
="$ac_optarg" ;;
625 -infodir | --infodir | --infodi | --infod | --info | --inf)
627 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
628 infodir
="$ac_optarg" ;;
630 -libdir | --libdir | --libdi | --libd)
632 -libdir=* | --libdir=* | --libdi=* | --libd=*)
633 libdir
="$ac_optarg" ;;
635 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
636 | --libexe | --libex | --libe)
637 ac_prev
=libexecdir
;;
638 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
639 | --libexe=* | --libex=* | --libe=*)
640 libexecdir
="$ac_optarg" ;;
642 -localstatedir | --localstatedir | --localstatedi | --localstated \
643 | --localstate | --localstat | --localsta | --localst \
644 | --locals | --local | --loca | --loc | --lo)
645 ac_prev
=localstatedir
;;
646 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
647 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
648 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
649 localstatedir
="$ac_optarg" ;;
651 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
653 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
654 mandir
="$ac_optarg" ;;
657 # Obsolete; use --without-fp.
660 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
664 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
665 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
668 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
669 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
670 | --oldin | --oldi | --old | --ol | --o)
671 ac_prev
=oldincludedir
;;
672 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
673 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
674 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
675 oldincludedir
="$ac_optarg" ;;
677 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
679 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
680 prefix
="$ac_optarg" ;;
682 -program-prefix | --program-prefix | --program-prefi | --program-pref \
683 | --program-pre | --program-pr | --program-p)
684 ac_prev
=program_prefix
;;
685 -program-prefix=* | --program-prefix=* | --program-prefi=* \
686 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
687 program_prefix
="$ac_optarg" ;;
689 -program-suffix | --program-suffix | --program-suffi | --program-suff \
690 | --program-suf | --program-su | --program-s)
691 ac_prev
=program_suffix
;;
692 -program-suffix=* | --program-suffix=* | --program-suffi=* \
693 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
694 program_suffix
="$ac_optarg" ;;
696 -program-transform-name | --program-transform-name \
697 | --program-transform-nam | --program-transform-na \
698 | --program-transform-n | --program-transform- \
699 | --program-transform | --program-transfor \
700 | --program-transfo | --program-transf \
701 | --program-trans | --program-tran \
702 | --progr-tra | --program-tr | --program-t)
703 ac_prev
=program_transform_name
;;
704 -program-transform-name=* | --program-transform-name=* \
705 | --program-transform-nam=* | --program-transform-na=* \
706 | --program-transform-n=* | --program-transform-=* \
707 | --program-transform=* | --program-transfor=* \
708 | --program-transfo=* | --program-transf=* \
709 | --program-trans=* | --program-tran=* \
710 | --progr-tra=* | --program-tr=* | --program-t=*)
711 program_transform_name
="$ac_optarg" ;;
713 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
714 | -silent | --silent | --silen | --sile | --sil)
717 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
719 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
721 sbindir
="$ac_optarg" ;;
723 -sharedstatedir | --sharedstatedir | --sharedstatedi \
724 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
725 | --sharedst | --shareds | --shared | --share | --shar \
727 ac_prev
=sharedstatedir
;;
728 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
729 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
730 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
732 sharedstatedir
="$ac_optarg" ;;
734 -site | --site | --sit)
736 -site=* | --site=* | --sit=*)
739 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
741 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
742 srcdir
="$ac_optarg" ;;
744 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
745 | --syscon | --sysco | --sysc | --sys | --sy)
746 ac_prev
=sysconfdir
;;
747 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
748 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
749 sysconfdir
="$ac_optarg" ;;
751 -target | --target | --targe | --targ | --tar | --ta | --t)
753 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
754 target
="$ac_optarg" ;;
756 -v | -verbose | --verbose | --verbos | --verbo | --verb)
759 -version | --version | --versio | --versi | --vers)
760 echo "configure generated by autoconf version 2.13"
764 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
765 # Reject names that are not valid shell variable names.
766 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
767 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
769 ac_package
=`echo $ac_package| sed 's/-/_/g'`
774 eval "with_${ac_package}='$ac_optarg'" ;;
776 -without-* | --without-*)
777 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
778 # Reject names that are not valid shell variable names.
779 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
780 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
782 ac_package
=`echo $ac_package| sed 's/-/_/g'`
783 eval "with_${ac_package}=no" ;;
786 # Obsolete; use --with-x.
789 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
790 | --x-incl | --x-inc | --x-in | --x-i)
791 ac_prev
=x_includes
;;
792 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
793 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
794 x_includes
="$ac_optarg" ;;
796 -x-libraries | --x-libraries | --x-librarie | --x-librari \
797 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
798 ac_prev
=x_libraries
;;
799 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
800 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
801 x_libraries
="$ac_optarg" ;;
803 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
807 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
808 echo "configure: warning: $ac_option: invalid host type" 1>&2
810 if test "x$nonopt" != xNONE
; then
811 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
819 if test -n "$ac_prev"; then
820 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
823 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
825 # File descriptor usage:
828 # 2 errors and warnings
829 # 3 some systems may open it to /dev/tty
830 # 4 used on the Kubota Titan
831 # 6 checking for... messages and results
832 # 5 compiler messages saved in config.log
833 if test "$silent" = yes; then
841 This file contains any messages produced by compilers while
842 running configure, to aid debugging if configure makes a mistake.
845 # Strip out --no-create and --no-recursion so they do not pile up.
846 # Also quote any args containing shell metacharacters.
851 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
852 | --no-cr | --no-c) ;;
853 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
854 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
855 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
856 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
857 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
862 # Only set these to C if already set. These must not be set unconditionally
863 # because not all systems understand e.g. LANG=C (notably SCO).
864 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
865 # Non-C LC_CTYPE values break the ctype check.
866 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
867 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
868 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
869 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
871 # confdefs.h avoids OS command line length limits that DEFS can exceed.
872 rm -rf conftest
* confdefs.h
873 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
876 # A filename unique to this package, relative to the directory that
877 # configure is in, which we can look for to find out if srcdir is correct.
878 ac_unique_file
=wx
-config.
in
880 # Find the source files, if location was not specified.
881 if test -z "$srcdir"; then
882 ac_srcdir_defaulted
=yes
883 # Try the directory containing this script, then its parent.
885 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
886 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
888 if test ! -r $srcdir/$ac_unique_file; then
892 ac_srcdir_defaulted
=no
894 if test ! -r $srcdir/$ac_unique_file; then
895 if test "$ac_srcdir_defaulted" = yes; then
896 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
898 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
901 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
903 # Prefer explicitly selected file to automatically selected ones.
904 if test -z "$CONFIG_SITE"; then
905 if test "x$prefix" != xNONE
; then
906 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
908 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
911 for ac_site_file
in $CONFIG_SITE; do
912 if test -r "$ac_site_file"; then
913 echo "loading site script $ac_site_file"
918 if test -r "$cache_file"; then
919 echo "loading cache $cache_file"
922 echo "creating cache $cache_file"
927 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
928 ac_cpp
='$CPP $CPPFLAGS'
929 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
930 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
931 cross_compiling
=$ac_cv_prog_cc_cross
935 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
936 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
937 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
944 ac_n
= ac_c
='\c' ac_t
=
950 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
951 if test -f $ac_dir/install-sh; then
953 ac_install_sh
="$ac_aux_dir/install-sh -c"
955 elif test -f $ac_dir/install.sh
; then
957 ac_install_sh
="$ac_aux_dir/install.sh -c"
961 if test -z "$ac_aux_dir"; then
962 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
964 ac_config_guess
=$ac_aux_dir/config.guess
965 ac_config_sub
=$ac_aux_dir/config.sub
966 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
969 # Do some error checking and defaulting for the host and target type.
971 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
974 # 1. You are not allowed to specify --host, --target, and nonopt at the
976 # 2. Host defaults to nonopt.
977 # 3. If nonopt is not specified, then host defaults to the current host,
978 # as determined by config.guess.
979 # 4. Target and build default to nonopt.
980 # 5. If nonopt is not specified, then target and build default to host.
982 # The aliases save the names the user supplied, while $host etc.
983 # will get canonicalized.
984 case $host---$target---$nonopt in
985 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
986 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
990 # Make sure we can run config.sub.
991 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
992 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
995 echo $ac_n "checking host system type""... $ac_c" 1>&6
996 echo "configure:997: checking host system type" >&5
999 case "$host_alias" in
1003 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1004 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1006 *) host_alias
=$nonopt ;;
1010 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1011 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1012 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1013 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1014 echo "$ac_t""$host" 1>&6
1016 echo $ac_n "checking target system type""... $ac_c" 1>&6
1017 echo "configure:1018: checking target system type" >&5
1019 target_alias
=$target
1020 case "$target_alias" in
1023 NONE
) target_alias
=$host_alias ;;
1024 *) target_alias
=$nonopt ;;
1028 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1029 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1030 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1031 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1032 echo "$ac_t""$target" 1>&6
1034 echo $ac_n "checking build system type""... $ac_c" 1>&6
1035 echo "configure:1036: checking build system type" >&5
1038 case "$build_alias" in
1041 NONE
) build_alias
=$host_alias ;;
1042 *) build_alias
=$nonopt ;;
1046 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1047 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1048 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1049 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1050 echo "$ac_t""$build" 1>&6
1052 test "$host_alias" != "$target_alias" &&
1053 test "$program_prefix$program_suffix$program_transform_name" = \
1055 program_prefix
=${target_alias}-
1059 WX_MAJOR_VERSION_NUMBER
=2
1060 WX_MINOR_VERSION_NUMBER
=3
1063 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1064 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1066 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1100 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1102 CPP_MT_FLAG
=-D_REENTRANT
1104 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM WINE X11"
1109 DEFAULT_wxUSE_MICROWIN
=0
1110 DEFAULT_wxUSE_MOTIF
=0
1113 DEFAULT_wxUSE_WINE
=0
1116 DEFAULT_DEFAULT_wxUSE_GTK
=0
1117 DEFAULT_DEFAULT_wxUSE_MAC
=0
1118 DEFAULT_DEFAULT_wxUSE_MGL
=0
1119 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1120 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1121 DEFAULT_DEFAULT_wxUSE_MSW
=0
1122 DEFAULT_DEFAULT_wxUSE_PM
=0
1123 DEFAULT_DEFAULT_wxUSE_WINE
=0
1124 DEFAULT_DEFAULT_wxUSE_X11
=0
1132 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1133 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1135 cat >> confdefs.h
<<\EOF
1142 cat >> confdefs.h
<<\EOF
1147 if test "x$TMP" = "xalpha"; then
1149 cat >> confdefs.h
<<\EOF
1154 DEFAULT_DEFAULT_wxUSE_GTK
=1
1156 *-*-irix5* | *-*-irix6* )
1159 cat >> confdefs.h
<<\EOF
1163 cat >> confdefs.h
<<\EOF
1167 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1173 cat >> confdefs.h
<<\EOF
1177 cat >> confdefs.h
<<\EOF
1178 #define __SOLARIS__ 1
1181 cat >> confdefs.h
<<\EOF
1185 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1186 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1192 cat >> confdefs.h
<<\EOF
1196 cat >> confdefs.h
<<\EOF
1200 cat >> confdefs.h
<<\EOF
1204 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1209 CPP_MT_FLAG
=-D_THREAD_SAFE
1210 cat >> confdefs.h
<<\EOF
1211 #define __FREEBSD__ 1
1214 cat >> confdefs.h
<<\EOF
1218 DEFAULT_DEFAULT_wxUSE_GTK
=1
1223 cat >> confdefs.h
<<\EOF
1224 #define __FREEBSD__ 1
1227 cat >> confdefs.h
<<\EOF
1228 #define __OPENBSD__ 1
1231 DEFAULT_DEFAULT_wxUSE_GTK
=1
1236 cat >> confdefs.h
<<\EOF
1237 #define __FREEBSD__ 1
1240 cat >> confdefs.h
<<\EOF
1241 #define __NETBSD__ 1
1244 DEFAULT_DEFAULT_wxUSE_GTK
=1
1249 cat >> confdefs.h
<<\EOF
1253 cat >> confdefs.h
<<\EOF
1257 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1258 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1263 cat >> confdefs.h
<<\EOF
1267 cat >> confdefs.h
<<\EOF
1271 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1276 cat >> confdefs.h
<<\EOF
1280 cat >> confdefs.h
<<\EOF
1284 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1290 cat >> confdefs.h
<<\EOF
1294 cat >> confdefs.h
<<\EOF
1298 cat >> confdefs.h
<<\EOF
1302 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1305 *-*-cygwin* | *-*-mingw32* )
1309 cat >> confdefs.h
<<\EOF
1313 cat >> confdefs.h
<<\EOF
1317 cat >> confdefs.h
<<\EOF
1318 #define __WINDOWS__ 1
1321 cat >> confdefs.h
<<\EOF
1322 #define __GNUWIN32__ 1
1325 cat >> confdefs.h
<<\EOF
1329 cat >> confdefs.h
<<\EOF
1330 #define WINVER 0x0400
1335 DEFAULT_DEFAULT_wxUSE_MSW
=1
1341 cat >> confdefs.h
<<\EOF
1346 DEFAULT_DEFAULT_wxUSE_MGL
=1
1347 DEFAULT_DEFAULT_wxUSE_SHARED
=0
1350 *-pc-os2_emx | *-pc-os2-emx )
1351 cat >> confdefs.h
<<\EOF
1356 DEFAULT_DEFAULT_wxUSE_PM
=1
1364 cat >> confdefs.h
<<\EOF
1368 cat >> confdefs.h
<<\EOF
1369 #define __DARWIN__ 1
1372 cat >> confdefs.h
<<\EOF
1373 #define __POWERPC__ 1
1376 DEFAULT_DEFAULT_wxUSE_MAC
=1
1381 cat >> confdefs.h
<<\EOF
1388 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1391 if test "$USE_UNIX" = 1 ; then
1393 cat >> confdefs.h
<<\EOF
1399 if test "$USE_LINUX" = 1; then
1400 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1401 echo "configure:1402: checking for glibc 2.1 or later" >&5
1402 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1403 echo $ac_n "(cached) $ac_c" 1>&6
1406 cat > conftest.
$ac_ext <<EOF
1407 #line 1408 "configure"
1408 #include "confdefs.h"
1409 #include <features.h>
1412 #if !__GLIBC_PREREQ(2, 1)
1418 if { (eval echo configure
:1419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1424 echo "configure: failed program was:" >&5
1425 cat conftest.
$ac_ext >&5
1436 echo "$ac_t""$wx_lib_glibc21" 1>&6
1437 if test "$wx_lib_glibc21" = "yes"; then
1438 cat >> confdefs.h
<<\EOF
1439 #define wxHAVE_GLIBC2 1
1448 wx_arg_cache_file
="configarg.cache"
1449 echo "loading argument cache $wx_arg_cache_file"
1450 rm -f ${wx_arg_cache_file}.tmp
1451 touch ${wx_arg_cache_file}.tmp
1452 touch ${wx_arg_cache_file}
1456 if test $DEBUG_CONFIGURE = 1; then
1457 DEFAULT_wxUSE_UNIVERSAL
=no
1459 DEFAULT_wxUSE_THREADS
=yes
1461 DEFAULT_wxUSE_SHARED
=yes
1462 DEFAULT_wxUSE_SONAME
=no
1463 DEFAULT_wxUSE_OPTIMISE
=no
1464 DEFAULT_wxUSE_PROFILE
=no
1465 DEFAULT_wxUSE_NO_DEPS
=no
1466 DEFAULT_wxUSE_NO_RTTI
=yes
1467 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1468 DEFAULT_wxUSE_PERMISSIVE
=no
1469 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1470 DEFAULT_wxUSE_DEBUG_INFO
=yes
1471 DEFAULT_wxUSE_DEBUG_GDB
=yes
1472 DEFAULT_wxUSE_MEM_TRACING
=no
1473 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1474 DEFAULT_wxUSE_DMALLOC
=no
1475 DEFAULT_wxUSE_PRECOMP
=no
1476 DEFAULT_wxUSE_APPLE_IEEE
=no
1478 DEFAULT_wxUSE_LOG
=yes
1479 DEFAULT_wxUSE_LOGWINDOW
=no
1480 DEFAULT_wxUSE_LOGGUI
=no
1481 DEFAULT_wxUSE_LOGDIALOG
=no
1483 DEFAULT_wxUSE_GUI
=yes
1484 DEFAULT_wxUSE_CONTROLS
=no
1486 DEFAULT_wxUSE_REGEX
=no
1487 DEFAULT_wxUSE_ZLIB
=no
1488 DEFAULT_wxUSE_LIBPNG
=no
1489 DEFAULT_wxUSE_LIBJPEG
=no
1490 DEFAULT_wxUSE_LIBTIFF
=no
1491 DEFAULT_wxUSE_ODBC
=no
1492 DEFAULT_wxUSE_FREETYPE
=no
1493 DEFAULT_wxUSE_OPENGL
=no
1495 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1496 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1497 DEFAULT_wxUSE_STD_IOSTREAM
=no
1498 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1499 DEFAULT_wxUSE_DATETIME
=no
1500 DEFAULT_wxUSE_TIMEDATE
=no
1501 DEFAULT_wxUSE_TIMER
=no
1502 DEFAULT_wxUSE_STOPWATCH
=no
1503 DEFAULT_wxUSE_FILE
=no
1504 DEFAULT_wxUSE_FFILE
=no
1505 DEFAULT_wxUSE_TEXTBUFFER
=no
1506 DEFAULT_wxUSE_TEXTFILE
=no
1507 DEFAULT_wxUSE_WAVE
=no
1508 DEFAULT_wxUSE_INTL
=no
1509 DEFAULT_wxUSE_CONFIG
=no
1510 DEFAULT_wxUSE_FONTMAP
=no
1511 DEFAULT_wxUSE_STREAMS
=no
1512 DEFAULT_wxUSE_SOCKETS
=no
1513 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1514 DEFAULT_wxUSE_JOYSTICK
=no
1515 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1516 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1517 DEFAULT_wxUSE_LONGLONG
=no
1518 DEFAULT_wxUSE_GEOMETRY
=no
1520 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1521 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1522 DEFAULT_wxUSE_POSTSCRIPT
=no
1524 DEFAULT_wxUSE_X_RESOURCES
=no
1525 DEFAULT_wxUSE_CLIPBOARD
=no
1526 DEFAULT_wxUSE_TOOLTIPS
=no
1527 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1528 DEFAULT_wxUSE_DRAGIMAGE
=no
1529 DEFAULT_wxUSE_SPLINES
=no
1531 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1532 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1533 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1535 DEFAULT_wxUSE_PROLOGIO
=no
1536 DEFAULT_wxUSE_RESOURCES
=no
1537 DEFAULT_wxUSE_CONSTRAINTS
=no
1538 DEFAULT_wxUSE_IPC
=no
1539 DEFAULT_wxUSE_HELP
=no
1540 DEFAULT_wxUSE_MS_HTML_HELP
=no
1541 DEFAULT_wxUSE_WXHTML_HELP
=no
1542 DEFAULT_wxUSE_TREELAYOUT
=no
1543 DEFAULT_wxUSE_METAFILE
=no
1544 DEFAULT_wxUSE_MIMETYPE
=no
1545 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1546 DEFAULT_wxUSE_PROTOCOL
=no
1547 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1548 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1549 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1550 DEFAULT_wxUSE_URL
=no
1552 DEFAULT_wxUSE_COMMONDLGS
=no
1553 DEFAULT_wxUSE_CHOICEDLG
=no
1554 DEFAULT_wxUSE_COLOURDLG
=no
1555 DEFAULT_wxUSE_DIRDLG
=no
1556 DEFAULT_wxUSE_FILEDLG
=no
1557 DEFAULT_wxUSE_FINDREPLDLG
=no
1558 DEFAULT_wxUSE_FONTDLG
=no
1559 DEFAULT_wxUSE_MSGDLG
=no
1560 DEFAULT_wxUSE_NUMBERDLG
=no
1561 DEFAULT_wxUSE_TEXTDLG
=no
1562 DEFAULT_wxUSE_SPLASH
=no
1563 DEFAULT_wxUSE_STARTUP_TIPS
=no
1564 DEFAULT_wxUSE_PROGRESSDLG
=no
1565 DEFAULT_wxUSE_WIZARDDLG
=no
1567 DEFAULT_wxUSE_MENUS
=no
1568 DEFAULT_wxUSE_MINIFRAME
=no
1569 DEFAULT_wxUSE_HTML
=no
1570 DEFAULT_wxUSE_FILESYSTEM
=no
1571 DEFAULT_wxUSE_FS_INET
=no
1572 DEFAULT_wxUSE_FS_ZIP
=no
1573 DEFAULT_wxUSE_BUSYINFO
=no
1574 DEFAULT_wxUSE_ZIPSTREAM
=no
1575 DEFAULT_wxUSE_VALIDATORS
=no
1577 DEFAULT_wxUSE_ACCEL
=no
1578 DEFAULT_wxUSE_BUTTON
=no
1579 DEFAULT_wxUSE_BMPBUTTON
=no
1580 DEFAULT_wxUSE_CALCTRL
=no
1581 DEFAULT_wxUSE_CARET
=no
1582 DEFAULT_wxUSE_CHECKBOX
=no
1583 DEFAULT_wxUSE_CHECKLST
=no
1584 DEFAULT_wxUSE_CHOICE
=no
1585 DEFAULT_wxUSE_COMBOBOX
=no
1586 DEFAULT_wxUSE_GAUGE
=no
1587 DEFAULT_wxUSE_GRID
=no
1588 DEFAULT_wxUSE_NEW_GRID
=no
1589 DEFAULT_wxUSE_IMAGLIST
=no
1590 DEFAULT_wxUSE_LISTBOX
=no
1591 DEFAULT_wxUSE_LISTCTRL
=no
1592 DEFAULT_wxUSE_NOTEBOOK
=no
1593 DEFAULT_wxUSE_PROPSHEET
=no
1594 DEFAULT_wxUSE_RADIOBOX
=no
1595 DEFAULT_wxUSE_RADIOBTN
=no
1596 DEFAULT_wxUSE_SASH
=no
1597 DEFAULT_wxUSE_SCROLLBAR
=no
1598 DEFAULT_wxUSE_SLIDER
=no
1599 DEFAULT_wxUSE_SPINBTN
=no
1600 DEFAULT_wxUSE_SPINCTRL
=no
1601 DEFAULT_wxUSE_SPLITTER
=no
1602 DEFAULT_wxUSE_STATBMP
=no
1603 DEFAULT_wxUSE_STATBOX
=no
1604 DEFAULT_wxUSE_STATLINE
=no
1605 DEFAULT_wxUSE_STATTEXT
=no
1606 DEFAULT_wxUSE_STATUSBAR
=yes
1607 DEFAULT_wxUSE_TABDIALOG
=no
1608 DEFAULT_wxUSE_TEXTCTRL
=no
1609 DEFAULT_wxUSE_TOGGLEBTN
=no
1610 DEFAULT_wxUSE_TOOLBAR
=no
1611 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1612 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1613 DEFAULT_wxUSE_TREECTRL
=no
1614 DEFAULT_wxUSE_POPUPWIN
=no
1615 DEFAULT_wxUSE_TIPWINDOW
=no
1617 DEFAULT_wxUSE_UNICODE
=no
1618 DEFAULT_wxUSE_UNICODE_MSLU
=no
1619 DEFAULT_wxUSE_WCSRTOMBS
=no
1621 DEFAULT_wxUSE_PALETTE
=no
1622 DEFAULT_wxUSE_IMAGE
=no
1623 DEFAULT_wxUSE_GIF
=no
1624 DEFAULT_wxUSE_PCX
=no
1625 DEFAULT_wxUSE_PNM
=no
1626 DEFAULT_wxUSE_IFF
=no
1627 DEFAULT_wxUSE_XPM
=no
1628 DEFAULT_wxUSE_ICO_CUR
=no
1630 DEFAULT_wxUSE_UNIVERSAL
=no
1632 DEFAULT_wxUSE_THREADS
=yes
1634 DEFAULT_wxUSE_SHARED
=yes
1635 DEFAULT_wxUSE_SONAME
=no
1636 DEFAULT_wxUSE_OPTIMISE
=yes
1637 DEFAULT_wxUSE_PROFILE
=no
1638 DEFAULT_wxUSE_NO_DEPS
=no
1639 DEFAULT_wxUSE_NO_RTTI
=yes
1640 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1641 DEFAULT_wxUSE_PERMISSIVE
=no
1642 DEFAULT_wxUSE_DEBUG_FLAG
=no
1643 DEFAULT_wxUSE_DEBUG_INFO
=no
1644 DEFAULT_wxUSE_DEBUG_GDB
=no
1645 DEFAULT_wxUSE_MEM_TRACING
=no
1646 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1647 DEFAULT_wxUSE_DMALLOC
=no
1648 DEFAULT_wxUSE_PRECOMP
=no
1649 DEFAULT_wxUSE_APPLE_IEEE
=yes
1651 DEFAULT_wxUSE_LOG
=yes
1652 DEFAULT_wxUSE_LOGWINDOW
=yes
1653 DEFAULT_wxUSE_LOGGUI
=yes
1654 DEFAULT_wxUSE_LOGDIALOG
=yes
1656 DEFAULT_wxUSE_GUI
=yes
1658 DEFAULT_wxUSE_REGEX
=yes
1659 DEFAULT_wxUSE_ZLIB
=yes
1660 DEFAULT_wxUSE_LIBPNG
=yes
1661 DEFAULT_wxUSE_LIBJPEG
=yes
1662 DEFAULT_wxUSE_LIBTIFF
=yes
1663 DEFAULT_wxUSE_ODBC
=no
1664 DEFAULT_wxUSE_FREETYPE
=no
1665 DEFAULT_wxUSE_OPENGL
=no
1667 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1668 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1669 DEFAULT_wxUSE_STD_IOSTREAM
=no
1670 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1671 DEFAULT_wxUSE_DATETIME
=yes
1672 DEFAULT_wxUSE_TIMEDATE
=no
1673 DEFAULT_wxUSE_TIMER
=yes
1674 DEFAULT_wxUSE_STOPWATCH
=yes
1675 DEFAULT_wxUSE_FILE
=yes
1676 DEFAULT_wxUSE_FFILE
=yes
1677 DEFAULT_wxUSE_TEXTBUFFER
=yes
1678 DEFAULT_wxUSE_TEXTFILE
=yes
1679 DEFAULT_wxUSE_WAVE
=no
1680 DEFAULT_wxUSE_INTL
=yes
1681 DEFAULT_wxUSE_CONFIG
=yes
1682 DEFAULT_wxUSE_FONTMAP
=yes
1683 DEFAULT_wxUSE_STREAMS
=yes
1684 DEFAULT_wxUSE_SOCKETS
=yes
1685 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1686 DEFAULT_wxUSE_JOYSTICK
=yes
1687 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1688 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1689 DEFAULT_wxUSE_LONGLONG
=yes
1690 DEFAULT_wxUSE_GEOMETRY
=yes
1692 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1693 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1694 DEFAULT_wxUSE_POSTSCRIPT
=yes
1696 DEFAULT_wxUSE_X_RESOURCES
=no
1697 DEFAULT_wxUSE_CLIPBOARD
=yes
1698 DEFAULT_wxUSE_TOOLTIPS
=yes
1699 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1700 DEFAULT_wxUSE_DRAGIMAGE
=yes
1701 DEFAULT_wxUSE_SPLINES
=yes
1703 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1704 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1705 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1707 DEFAULT_wxUSE_PROLOGIO
=yes
1708 DEFAULT_wxUSE_RESOURCES
=yes
1709 DEFAULT_wxUSE_CONSTRAINTS
=yes
1710 DEFAULT_wxUSE_IPC
=yes
1711 DEFAULT_wxUSE_HELP
=yes
1712 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1713 DEFAULT_wxUSE_WXHTML_HELP
=yes
1714 DEFAULT_wxUSE_TREELAYOUT
=yes
1715 DEFAULT_wxUSE_METAFILE
=yes
1716 DEFAULT_wxUSE_MIMETYPE
=yes
1717 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1718 DEFAULT_wxUSE_PROTOCOL
=yes
1719 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1720 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1721 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1722 DEFAULT_wxUSE_URL
=yes
1724 DEFAULT_wxUSE_COMMONDLGS
=yes
1725 DEFAULT_wxUSE_CHOICEDLG
=yes
1726 DEFAULT_wxUSE_COLOURDLG
=yes
1727 DEFAULT_wxUSE_DIRDLG
=yes
1728 DEFAULT_wxUSE_FILEDLG
=yes
1729 DEFAULT_wxUSE_FINDREPLDLG
=yes
1730 DEFAULT_wxUSE_FONTDLG
=yes
1731 DEFAULT_wxUSE_MSGDLG
=yes
1732 DEFAULT_wxUSE_NUMBERDLG
=yes
1733 DEFAULT_wxUSE_TEXTDLG
=yes
1734 DEFAULT_wxUSE_SPLASH
=yes
1735 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1736 DEFAULT_wxUSE_PROGRESSDLG
=yes
1737 DEFAULT_wxUSE_WIZARDDLG
=yes
1739 DEFAULT_wxUSE_MENUS
=yes
1740 DEFAULT_wxUSE_MINIFRAME
=yes
1741 DEFAULT_wxUSE_HTML
=yes
1742 DEFAULT_wxUSE_FILESYSTEM
=yes
1743 DEFAULT_wxUSE_FS_INET
=yes
1744 DEFAULT_wxUSE_FS_ZIP
=yes
1745 DEFAULT_wxUSE_BUSYINFO
=yes
1746 DEFAULT_wxUSE_ZIPSTREAM
=yes
1747 DEFAULT_wxUSE_VALIDATORS
=yes
1749 DEFAULT_wxUSE_ACCEL
=yes
1750 DEFAULT_wxUSE_BUTTON
=yes
1751 DEFAULT_wxUSE_BMPBUTTON
=yes
1752 DEFAULT_wxUSE_CALCTRL
=yes
1753 DEFAULT_wxUSE_CARET
=yes
1754 DEFAULT_wxUSE_CHECKBOX
=yes
1755 DEFAULT_wxUSE_CHECKLST
=yes
1756 DEFAULT_wxUSE_CHOICE
=yes
1757 DEFAULT_wxUSE_COMBOBOX
=yes
1758 DEFAULT_wxUSE_GAUGE
=yes
1759 DEFAULT_wxUSE_GRID
=yes
1760 DEFAULT_wxUSE_NEW_GRID
=yes
1761 DEFAULT_wxUSE_IMAGLIST
=yes
1762 DEFAULT_wxUSE_LISTBOX
=yes
1763 DEFAULT_wxUSE_LISTCTRL
=yes
1764 DEFAULT_wxUSE_NOTEBOOK
=yes
1765 DEFAULT_wxUSE_PROPSHEET
=yes
1766 DEFAULT_wxUSE_RADIOBOX
=yes
1767 DEFAULT_wxUSE_RADIOBTN
=yes
1768 DEFAULT_wxUSE_SASH
=yes
1769 DEFAULT_wxUSE_SCROLLBAR
=yes
1770 DEFAULT_wxUSE_SLIDER
=yes
1771 DEFAULT_wxUSE_SPINBTN
=yes
1772 DEFAULT_wxUSE_SPINCTRL
=yes
1773 DEFAULT_wxUSE_SPLITTER
=yes
1774 DEFAULT_wxUSE_STATBMP
=yes
1775 DEFAULT_wxUSE_STATBOX
=yes
1776 DEFAULT_wxUSE_STATLINE
=yes
1777 DEFAULT_wxUSE_STATTEXT
=yes
1778 DEFAULT_wxUSE_STATUSBAR
=yes
1779 DEFAULT_wxUSE_TABDIALOG
=no
1780 DEFAULT_wxUSE_TEXTCTRL
=yes
1781 DEFAULT_wxUSE_TOGGLEBTN
=yes
1782 DEFAULT_wxUSE_TOOLBAR
=yes
1783 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1784 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1785 DEFAULT_wxUSE_TREECTRL
=yes
1786 DEFAULT_wxUSE_POPUPWIN
=yes
1787 DEFAULT_wxUSE_TIPWINDOW
=yes
1789 DEFAULT_wxUSE_UNICODE
=no
1790 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1791 DEFAULT_wxUSE_WCSRTOMBS
=no
1793 DEFAULT_wxUSE_PALETTE
=yes
1794 DEFAULT_wxUSE_IMAGE
=yes
1795 DEFAULT_wxUSE_GIF
=yes
1796 DEFAULT_wxUSE_PCX
=yes
1797 DEFAULT_wxUSE_IFF
=no
1798 DEFAULT_wxUSE_PNM
=yes
1799 DEFAULT_wxUSE_XPM
=yes
1800 DEFAULT_wxUSE_ICO_CUR
=yes
1805 for toolkit
in `echo $ALL_TOOLKITS`; do
1806 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1807 if test "x$LINE" != x
; then
1808 has_toolkit_in_cache
=1
1809 eval "DEFAULT_$LINE"
1810 eval "CACHE_$toolkit=1"
1816 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1817 echo "configure:1818: checking for --enable-gui" >&5
1819 # Check whether --enable-gui or --disable-gui was given.
1820 if test "${enable_gui+set}" = set; then
1821 enableval
="$enable_gui"
1823 if test "$enableval" = yes; then
1824 ac_cv_use_gui
='wxUSE_GUI=yes'
1826 ac_cv_use_gui
='wxUSE_GUI=no'
1831 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1832 if test "x$LINE" != x
; then
1833 eval "DEFAULT_$LINE"
1838 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1843 eval "$ac_cv_use_gui"
1844 if test "$no_cache" != 1; then
1845 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1848 if test "$wxUSE_GUI" = yes; then
1849 echo "$ac_t""yes" 1>&6
1851 echo "$ac_t""no" 1>&6
1855 if test "$wxUSE_GUI" = "yes"; then
1858 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1859 echo "configure:1860: checking for --enable-universal" >&5
1861 # Check whether --enable-universal or --disable-universal was given.
1862 if test "${enable_universal+set}" = set; then
1863 enableval
="$enable_universal"
1865 if test "$enableval" = yes; then
1866 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1868 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1873 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1874 if test "x$LINE" != x
; then
1875 eval "DEFAULT_$LINE"
1880 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1885 eval "$ac_cv_use_universal"
1886 if test "$no_cache" != 1; then
1887 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1890 if test "$wxUSE_UNIVERSAL" = yes; then
1891 echo "$ac_t""yes" 1>&6
1893 echo "$ac_t""no" 1>&6
1896 # Check whether --with-gtk or --without-gtk was given.
1897 if test "${with_gtk+set}" = set; then
1899 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1902 # Check whether --with-motif or --without-motif was given.
1903 if test "${with_motif+set}" = set; then
1904 withval
="$with_motif"
1905 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1908 # Check whether --with-mac or --without-mac was given.
1909 if test "${with_mac+set}" = set; then
1911 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1914 # Check whether --with-wine or --without-wine was given.
1915 if test "${with_wine+set}" = set; then
1916 withval
="$with_wine"
1917 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1920 # Check whether --with-msw or --without-msw was given.
1921 if test "${with_msw+set}" = set; then
1923 wxUSE_MSW
="$withval" CACHE_MSW TOOLKIT_GIVEN
=1
1926 # Check whether --with-pm or --without-pm was given.
1927 if test "${with_pm+set}" = set; then
1929 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1932 # Check whether --with-mgl or --without-mgl was given.
1933 if test "${with_mgl+set}" = set; then
1935 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1938 # Check whether --with-microwin or --without-microwin was given.
1939 if test "${with_microwin+set}" = set; then
1940 withval
="$with_microwin"
1941 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1944 # Check whether --with-x11 or --without-x11 was given.
1945 if test "${with_x11+set}" = set; then
1947 wxUSE_X11
="$withval" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1951 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1952 if test "${enable_gtk2+set}" = set; then
1953 enableval
="$enable_gtk2"
1961 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1962 echo "configure:1963: checking for --with-libpng" >&5
1964 # Check whether --with-libpng or --without-libpng was given.
1965 if test "${with_libpng+set}" = set; then
1966 withval
="$with_libpng"
1968 if test "$withval" = yes; then
1969 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1970 elif test "$withval" = no
; then
1971 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1972 elif test "$withval" = sys
; then
1973 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1974 elif test "$withval" = builtin; then
1975 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1977 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1982 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1983 if test "x$LINE" != x
; then
1984 eval "DEFAULT_$LINE"
1989 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1994 eval "$ac_cv_use_libpng"
1995 if test "$no_cache" != 1; then
1996 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1999 if test "$wxUSE_LIBPNG" = yes; then
2000 echo "$ac_t""yes" 1>&6
2001 elif test "$wxUSE_LIBPNG" = no
; then
2002 echo "$ac_t""no" 1>&6
2003 elif test "$wxUSE_LIBPNG" = sys
; then
2004 echo "$ac_t""system version" 1>&6
2005 elif test "$wxUSE_LIBPNG" = builtin; then
2006 echo "$ac_t""builtin version" 1>&6
2008 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2012 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2013 echo "configure:2014: checking for --with-libjpeg" >&5
2015 # Check whether --with-libjpeg or --without-libjpeg was given.
2016 if test "${with_libjpeg+set}" = set; then
2017 withval
="$with_libjpeg"
2019 if test "$withval" = yes; then
2020 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2021 elif test "$withval" = no
; then
2022 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2023 elif test "$withval" = sys
; then
2024 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2025 elif test "$withval" = builtin; then
2026 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2028 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2033 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2034 if test "x$LINE" != x
; then
2035 eval "DEFAULT_$LINE"
2040 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2045 eval "$ac_cv_use_libjpeg"
2046 if test "$no_cache" != 1; then
2047 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2050 if test "$wxUSE_LIBJPEG" = yes; then
2051 echo "$ac_t""yes" 1>&6
2052 elif test "$wxUSE_LIBJPEG" = no
; then
2053 echo "$ac_t""no" 1>&6
2054 elif test "$wxUSE_LIBJPEG" = sys
; then
2055 echo "$ac_t""system version" 1>&6
2056 elif test "$wxUSE_LIBJPEG" = builtin; then
2057 echo "$ac_t""builtin version" 1>&6
2059 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2063 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2064 echo "configure:2065: checking for --with-libtiff" >&5
2066 # Check whether --with-libtiff or --without-libtiff was given.
2067 if test "${with_libtiff+set}" = set; then
2068 withval
="$with_libtiff"
2070 if test "$withval" = yes; then
2071 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2072 elif test "$withval" = no
; then
2073 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2074 elif test "$withval" = sys
; then
2075 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2076 elif test "$withval" = builtin; then
2077 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2079 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2084 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2085 if test "x$LINE" != x
; then
2086 eval "DEFAULT_$LINE"
2091 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2096 eval "$ac_cv_use_libtiff"
2097 if test "$no_cache" != 1; then
2098 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2101 if test "$wxUSE_LIBTIFF" = yes; then
2102 echo "$ac_t""yes" 1>&6
2103 elif test "$wxUSE_LIBTIFF" = no
; then
2104 echo "$ac_t""no" 1>&6
2105 elif test "$wxUSE_LIBTIFF" = sys
; then
2106 echo "$ac_t""system version" 1>&6
2107 elif test "$wxUSE_LIBTIFF" = builtin; then
2108 echo "$ac_t""builtin version" 1>&6
2110 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2114 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2115 echo "configure:2116: checking for --with-freetype" >&5
2117 # Check whether --with-freetype or --without-freetype was given.
2118 if test "${with_freetype+set}" = set; then
2119 withval
="$with_freetype"
2121 if test "$withval" = yes; then
2122 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
2123 elif test "$withval" = no
; then
2124 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2125 elif test "$withval" = sys
; then
2126 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2127 elif test "$withval" = builtin; then
2128 ac_cv_use_freetype
='wxUSE_FREETYPE=builtin'
2130 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2135 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2136 if test "x$LINE" != x
; then
2137 eval "DEFAULT_$LINE"
2142 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2147 eval "$ac_cv_use_freetype"
2148 if test "$no_cache" != 1; then
2149 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2152 if test "$wxUSE_FREETYPE" = yes; then
2153 echo "$ac_t""yes" 1>&6
2154 elif test "$wxUSE_FREETYPE" = no
; then
2155 echo "$ac_t""no" 1>&6
2156 elif test "$wxUSE_FREETYPE" = sys
; then
2157 echo "$ac_t""system version" 1>&6
2158 elif test "$wxUSE_FREETYPE" = builtin; then
2159 echo "$ac_t""builtin version" 1>&6
2161 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2165 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2166 echo "configure:2167: checking for --with-opengl" >&5
2168 # Check whether --with-opengl or --without-opengl was given.
2169 if test "${with_opengl+set}" = set; then
2170 withval
="$with_opengl"
2172 if test "$withval" = yes; then
2173 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2175 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2180 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2181 if test "x$LINE" != x
; then
2182 eval "DEFAULT_$LINE"
2187 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2192 eval "$ac_cv_use_opengl"
2193 if test "$no_cache" != 1; then
2194 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2197 if test "$wxUSE_OPENGL" = yes; then
2198 echo "$ac_t""yes" 1>&6
2200 echo "$ac_t""no" 1>&6
2207 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2208 echo "configure:2209: checking for --with-dmalloc" >&5
2210 # Check whether --with-dmalloc or --without-dmalloc was given.
2211 if test "${with_dmalloc+set}" = set; then
2212 withval
="$with_dmalloc"
2214 if test "$withval" = yes; then
2215 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2217 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2222 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2223 if test "x$LINE" != x
; then
2224 eval "DEFAULT_$LINE"
2229 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2234 eval "$ac_cv_use_dmalloc"
2235 if test "$no_cache" != 1; then
2236 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2239 if test "$wxUSE_DMALLOC" = yes; then
2240 echo "$ac_t""yes" 1>&6
2242 echo "$ac_t""no" 1>&6
2246 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2247 echo "configure:2248: checking for --with-regex" >&5
2249 # Check whether --with-regex or --without-regex was given.
2250 if test "${with_regex+set}" = set; then
2251 withval
="$with_regex"
2253 if test "$withval" = yes; then
2254 ac_cv_use_regex
='wxUSE_REGEX=yes'
2255 elif test "$withval" = no
; then
2256 ac_cv_use_regex
='wxUSE_REGEX=no'
2257 elif test "$withval" = sys
; then
2258 ac_cv_use_regex
='wxUSE_REGEX=sys'
2259 elif test "$withval" = builtin; then
2260 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2262 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2267 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2268 if test "x$LINE" != x
; then
2269 eval "DEFAULT_$LINE"
2274 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2279 eval "$ac_cv_use_regex"
2280 if test "$no_cache" != 1; then
2281 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2284 if test "$wxUSE_REGEX" = yes; then
2285 echo "$ac_t""yes" 1>&6
2286 elif test "$wxUSE_REGEX" = no
; then
2287 echo "$ac_t""no" 1>&6
2288 elif test "$wxUSE_REGEX" = sys
; then
2289 echo "$ac_t""system version" 1>&6
2290 elif test "$wxUSE_REGEX" = builtin; then
2291 echo "$ac_t""builtin version" 1>&6
2293 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2297 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2298 echo "configure:2299: checking for --with-zlib" >&5
2300 # Check whether --with-zlib or --without-zlib was given.
2301 if test "${with_zlib+set}" = set; then
2302 withval
="$with_zlib"
2304 if test "$withval" = yes; then
2305 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2306 elif test "$withval" = no
; then
2307 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2308 elif test "$withval" = sys
; then
2309 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2310 elif test "$withval" = builtin; then
2311 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2313 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2318 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2319 if test "x$LINE" != x
; then
2320 eval "DEFAULT_$LINE"
2325 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2330 eval "$ac_cv_use_zlib"
2331 if test "$no_cache" != 1; then
2332 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2335 if test "$wxUSE_ZLIB" = yes; then
2336 echo "$ac_t""yes" 1>&6
2337 elif test "$wxUSE_ZLIB" = no
; then
2338 echo "$ac_t""no" 1>&6
2339 elif test "$wxUSE_ZLIB" = sys
; then
2340 echo "$ac_t""system version" 1>&6
2341 elif test "$wxUSE_ZLIB" = builtin; then
2342 echo "$ac_t""builtin version" 1>&6
2344 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2348 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2349 echo "configure:2350: checking for --with-odbc" >&5
2351 # Check whether --with-odbc or --without-odbc was given.
2352 if test "${with_odbc+set}" = set; then
2353 withval
="$with_odbc"
2355 if test "$withval" = yes; then
2356 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2358 ac_cv_use_odbc
='wxUSE_ODBC=no'
2363 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2364 if test "x$LINE" != x
; then
2365 eval "DEFAULT_$LINE"
2370 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2375 eval "$ac_cv_use_odbc"
2376 if test "$no_cache" != 1; then
2377 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2380 if test "$wxUSE_ODBC" = yes; then
2381 echo "$ac_t""yes" 1>&6
2383 echo "$ac_t""no" 1>&6
2389 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2390 echo "configure:2391: checking for --enable-shared" >&5
2392 # Check whether --enable-shared or --disable-shared was given.
2393 if test "${enable_shared+set}" = set; then
2394 enableval
="$enable_shared"
2396 if test "$enableval" = yes; then
2397 ac_cv_use_shared
='wxUSE_SHARED=yes'
2399 ac_cv_use_shared
='wxUSE_SHARED=no'
2404 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2405 if test "x$LINE" != x
; then
2406 eval "DEFAULT_$LINE"
2411 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2416 eval "$ac_cv_use_shared"
2417 if test "$no_cache" != 1; then
2418 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2421 if test "$wxUSE_SHARED" = yes; then
2422 echo "$ac_t""yes" 1>&6
2424 echo "$ac_t""no" 1>&6
2428 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2429 echo "configure:2430: checking for --enable-soname" >&5
2431 # Check whether --enable-soname or --disable-soname was given.
2432 if test "${enable_soname+set}" = set; then
2433 enableval
="$enable_soname"
2435 if test "$enableval" = yes; then
2436 ac_cv_use_soname
='wxUSE_SONAME=yes'
2438 ac_cv_use_soname
='wxUSE_SONAME=no'
2443 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2444 if test "x$LINE" != x
; then
2445 eval "DEFAULT_$LINE"
2450 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2455 eval "$ac_cv_use_soname"
2456 if test "$no_cache" != 1; then
2457 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2460 if test "$wxUSE_SONAME" = yes; then
2461 echo "$ac_t""yes" 1>&6
2463 echo "$ac_t""no" 1>&6
2467 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2468 echo "configure:2469: checking for --enable-optimise" >&5
2470 # Check whether --enable-optimise or --disable-optimise was given.
2471 if test "${enable_optimise+set}" = set; then
2472 enableval
="$enable_optimise"
2474 if test "$enableval" = yes; then
2475 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2477 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2482 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2483 if test "x$LINE" != x
; then
2484 eval "DEFAULT_$LINE"
2489 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2494 eval "$ac_cv_use_optimise"
2495 if test "$no_cache" != 1; then
2496 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2499 if test "$wxUSE_OPTIMISE" = yes; then
2500 echo "$ac_t""yes" 1>&6
2502 echo "$ac_t""no" 1>&6
2506 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2507 echo "configure:2508: checking for --enable-debug" >&5
2509 # Check whether --enable-debug or --disable-debug was given.
2510 if test "${enable_debug+set}" = set; then
2511 enableval
="$enable_debug"
2513 if test "$enableval" = yes; then
2514 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2516 ac_cv_use_debug
='wxUSE_DEBUG=no'
2521 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2522 if test "x$LINE" != x
; then
2523 eval "DEFAULT_$LINE"
2528 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2533 eval "$ac_cv_use_debug"
2534 if test "$no_cache" != 1; then
2535 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2538 if test "$wxUSE_DEBUG" = yes; then
2539 echo "$ac_t""yes" 1>&6
2541 echo "$ac_t""no" 1>&6
2546 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2547 echo "configure:2548: checking for --enable-precomp" >&5
2549 # Check whether --enable-precomp or --disable-precomp was given.
2550 if test "${enable_precomp+set}" = set; then
2551 enableval
="$enable_precomp"
2553 if test "$enableval" = yes; then
2554 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2556 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2561 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2562 if test "x$LINE" != x
; then
2563 eval "DEFAULT_$LINE"
2568 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2573 eval "$ac_cv_use_precomp"
2574 if test "$no_cache" != 1; then
2575 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2578 if test "$wxUSE_PRECOMP" = yes; then
2579 echo "$ac_t""yes" 1>&6
2581 echo "$ac_t""no" 1>&6
2585 if test "$wxUSE_DEBUG" = "yes"; then
2586 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2587 DEFAULT_wxUSE_DEBUG_INFO
=yes
2588 elif test "$wxUSE_DEBUG" = "no"; then
2589 DEFAULT_wxUSE_DEBUG_FLAG
=no
2590 DEFAULT_wxUSE_DEBUG_INFO
=no
2594 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2595 echo "configure:2596: checking for --enable-debug_flag" >&5
2597 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2598 if test "${enable_debug_flag+set}" = set; then
2599 enableval
="$enable_debug_flag"
2601 if test "$enableval" = yes; then
2602 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2604 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2609 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2610 if test "x$LINE" != x
; then
2611 eval "DEFAULT_$LINE"
2616 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2621 eval "$ac_cv_use_debug_flag"
2622 if test "$no_cache" != 1; then
2623 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2626 if test "$wxUSE_DEBUG_FLAG" = yes; then
2627 echo "$ac_t""yes" 1>&6
2629 echo "$ac_t""no" 1>&6
2633 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2634 echo "configure:2635: checking for --enable-debug_info" >&5
2636 # Check whether --enable-debug_info or --disable-debug_info was given.
2637 if test "${enable_debug_info+set}" = set; then
2638 enableval
="$enable_debug_info"
2640 if test "$enableval" = yes; then
2641 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2643 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2648 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2649 if test "x$LINE" != x
; then
2650 eval "DEFAULT_$LINE"
2655 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2660 eval "$ac_cv_use_debug_info"
2661 if test "$no_cache" != 1; then
2662 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2665 if test "$wxUSE_DEBUG_INFO" = yes; then
2666 echo "$ac_t""yes" 1>&6
2668 echo "$ac_t""no" 1>&6
2672 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2673 echo "configure:2674: checking for --enable-debug_gdb" >&5
2675 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2676 if test "${enable_debug_gdb+set}" = set; then
2677 enableval
="$enable_debug_gdb"
2679 if test "$enableval" = yes; then
2680 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2682 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2687 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2688 if test "x$LINE" != x
; then
2689 eval "DEFAULT_$LINE"
2694 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2699 eval "$ac_cv_use_debug_gdb"
2700 if test "$no_cache" != 1; then
2701 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2704 if test "$wxUSE_DEBUG_GDB" = yes; then
2705 echo "$ac_t""yes" 1>&6
2707 echo "$ac_t""no" 1>&6
2711 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2712 echo "configure:2713: checking for --enable-debug_cntxt" >&5
2714 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2715 if test "${enable_debug_cntxt+set}" = set; then
2716 enableval
="$enable_debug_cntxt"
2718 if test "$enableval" = yes; then
2719 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2721 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2726 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2727 if test "x$LINE" != x
; then
2728 eval "DEFAULT_$LINE"
2733 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2738 eval "$ac_cv_use_debug_cntxt"
2739 if test "$no_cache" != 1; then
2740 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2743 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2744 echo "$ac_t""yes" 1>&6
2746 echo "$ac_t""no" 1>&6
2750 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2751 echo "configure:2752: checking for --enable-mem_tracing" >&5
2753 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2754 if test "${enable_mem_tracing+set}" = set; then
2755 enableval
="$enable_mem_tracing"
2757 if test "$enableval" = yes; then
2758 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2760 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2765 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2766 if test "x$LINE" != x
; then
2767 eval "DEFAULT_$LINE"
2772 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2777 eval "$ac_cv_use_mem_tracing"
2778 if test "$no_cache" != 1; then
2779 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2782 if test "$wxUSE_MEM_TRACING" = yes; then
2783 echo "$ac_t""yes" 1>&6
2785 echo "$ac_t""no" 1>&6
2789 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2790 echo "configure:2791: checking for --enable-profile" >&5
2792 # Check whether --enable-profile or --disable-profile was given.
2793 if test "${enable_profile+set}" = set; then
2794 enableval
="$enable_profile"
2796 if test "$enableval" = yes; then
2797 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2799 ac_cv_use_profile
='wxUSE_PROFILE=no'
2804 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2805 if test "x$LINE" != x
; then
2806 eval "DEFAULT_$LINE"
2811 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2816 eval "$ac_cv_use_profile"
2817 if test "$no_cache" != 1; then
2818 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2821 if test "$wxUSE_PROFILE" = yes; then
2822 echo "$ac_t""yes" 1>&6
2824 echo "$ac_t""no" 1>&6
2828 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2829 echo "configure:2830: checking for --enable-no_rtti" >&5
2831 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2832 if test "${enable_no_rtti+set}" = set; then
2833 enableval
="$enable_no_rtti"
2835 if test "$enableval" = yes; then
2836 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2838 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2843 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2844 if test "x$LINE" != x
; then
2845 eval "DEFAULT_$LINE"
2850 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2855 eval "$ac_cv_use_no_rtti"
2856 if test "$no_cache" != 1; then
2857 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2860 if test "$wxUSE_NO_RTTI" = yes; then
2861 echo "$ac_t""yes" 1>&6
2863 echo "$ac_t""no" 1>&6
2867 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2868 echo "configure:2869: checking for --enable-no_exceptions" >&5
2870 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2871 if test "${enable_no_exceptions+set}" = set; then
2872 enableval
="$enable_no_exceptions"
2874 if test "$enableval" = yes; then
2875 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2877 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2882 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2883 if test "x$LINE" != x
; then
2884 eval "DEFAULT_$LINE"
2889 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2894 eval "$ac_cv_use_no_exceptions"
2895 if test "$no_cache" != 1; then
2896 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2899 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2900 echo "$ac_t""yes" 1>&6
2902 echo "$ac_t""no" 1>&6
2906 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2907 echo "configure:2908: checking for --enable-permissive" >&5
2909 # Check whether --enable-permissive or --disable-permissive was given.
2910 if test "${enable_permissive+set}" = set; then
2911 enableval
="$enable_permissive"
2913 if test "$enableval" = yes; then
2914 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2916 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2921 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2922 if test "x$LINE" != x
; then
2923 eval "DEFAULT_$LINE"
2928 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2933 eval "$ac_cv_use_permissive"
2934 if test "$no_cache" != 1; then
2935 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2938 if test "$wxUSE_PERMISSIVE" = yes; then
2939 echo "$ac_t""yes" 1>&6
2941 echo "$ac_t""no" 1>&6
2945 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2946 echo "configure:2947: checking for --enable-no_deps" >&5
2948 # Check whether --enable-no_deps or --disable-no_deps was given.
2949 if test "${enable_no_deps+set}" = set; then
2950 enableval
="$enable_no_deps"
2952 if test "$enableval" = yes; then
2953 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2955 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2960 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2961 if test "x$LINE" != x
; then
2962 eval "DEFAULT_$LINE"
2967 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2972 eval "$ac_cv_use_no_deps"
2973 if test "$no_cache" != 1; then
2974 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2977 if test "$wxUSE_NO_DEPS" = yes; then
2978 echo "$ac_t""yes" 1>&6
2980 echo "$ac_t""no" 1>&6
2985 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2986 echo "configure:2987: checking for --enable-compat20" >&5
2988 # Check whether --enable-compat20 or --disable-compat20 was given.
2989 if test "${enable_compat20+set}" = set; then
2990 enableval
="$enable_compat20"
2992 if test "$enableval" = yes; then
2993 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2995 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
3000 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3001 if test "x$LINE" != x
; then
3002 eval "DEFAULT_$LINE"
3007 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3012 eval "$ac_cv_use_compat20"
3013 if test "$no_cache" != 1; then
3014 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3017 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3018 echo "$ac_t""yes" 1>&6
3020 echo "$ac_t""no" 1>&6
3024 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
3025 echo "configure:3026: checking for --enable-compat22" >&5
3027 # Check whether --enable-compat22 or --disable-compat22 was given.
3028 if test "${enable_compat22+set}" = set; then
3029 enableval
="$enable_compat22"
3031 if test "$enableval" = yes; then
3032 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3034 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3039 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3040 if test "x$LINE" != x
; then
3041 eval "DEFAULT_$LINE"
3046 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3051 eval "$ac_cv_use_compat22"
3052 if test "$no_cache" != 1; then
3053 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3056 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3057 echo "$ac_t""yes" 1>&6
3059 echo "$ac_t""no" 1>&6
3065 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3066 echo "configure:3067: checking for --enable-intl" >&5
3068 # Check whether --enable-intl or --disable-intl was given.
3069 if test "${enable_intl+set}" = set; then
3070 enableval
="$enable_intl"
3072 if test "$enableval" = yes; then
3073 ac_cv_use_intl
='wxUSE_INTL=yes'
3075 ac_cv_use_intl
='wxUSE_INTL=no'
3080 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3081 if test "x$LINE" != x
; then
3082 eval "DEFAULT_$LINE"
3087 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3092 eval "$ac_cv_use_intl"
3093 if test "$no_cache" != 1; then
3094 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3097 if test "$wxUSE_INTL" = yes; then
3098 echo "$ac_t""yes" 1>&6
3100 echo "$ac_t""no" 1>&6
3104 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3105 echo "configure:3106: checking for --enable-config" >&5
3107 # Check whether --enable-config or --disable-config was given.
3108 if test "${enable_config+set}" = set; then
3109 enableval
="$enable_config"
3111 if test "$enableval" = yes; then
3112 ac_cv_use_config
='wxUSE_CONFIG=yes'
3114 ac_cv_use_config
='wxUSE_CONFIG=no'
3119 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3120 if test "x$LINE" != x
; then
3121 eval "DEFAULT_$LINE"
3126 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3131 eval "$ac_cv_use_config"
3132 if test "$no_cache" != 1; then
3133 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3136 if test "$wxUSE_CONFIG" = yes; then
3137 echo "$ac_t""yes" 1>&6
3139 echo "$ac_t""no" 1>&6
3144 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3145 echo "configure:3146: checking for --enable-protocols" >&5
3147 # Check whether --enable-protocols or --disable-protocols was given.
3148 if test "${enable_protocols+set}" = set; then
3149 enableval
="$enable_protocols"
3151 if test "$enableval" = yes; then
3152 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3154 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3159 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3160 if test "x$LINE" != x
; then
3161 eval "DEFAULT_$LINE"
3166 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3171 eval "$ac_cv_use_protocols"
3172 if test "$no_cache" != 1; then
3173 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3176 if test "$wxUSE_PROTOCOL" = yes; then
3177 echo "$ac_t""yes" 1>&6
3179 echo "$ac_t""no" 1>&6
3183 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3184 echo "configure:3185: checking for --enable-ftp" >&5
3186 # Check whether --enable-ftp or --disable-ftp was given.
3187 if test "${enable_ftp+set}" = set; then
3188 enableval
="$enable_ftp"
3190 if test "$enableval" = yes; then
3191 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3193 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3198 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3199 if test "x$LINE" != x
; then
3200 eval "DEFAULT_$LINE"
3205 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3210 eval "$ac_cv_use_ftp"
3211 if test "$no_cache" != 1; then
3212 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3215 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3216 echo "$ac_t""yes" 1>&6
3218 echo "$ac_t""no" 1>&6
3222 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3223 echo "configure:3224: checking for --enable-http" >&5
3225 # Check whether --enable-http or --disable-http was given.
3226 if test "${enable_http+set}" = set; then
3227 enableval
="$enable_http"
3229 if test "$enableval" = yes; then
3230 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3232 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3237 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3238 if test "x$LINE" != x
; then
3239 eval "DEFAULT_$LINE"
3244 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3249 eval "$ac_cv_use_http"
3250 if test "$no_cache" != 1; then
3251 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3254 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3255 echo "$ac_t""yes" 1>&6
3257 echo "$ac_t""no" 1>&6
3261 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3262 echo "configure:3263: checking for --enable-fileproto" >&5
3264 # Check whether --enable-fileproto or --disable-fileproto was given.
3265 if test "${enable_fileproto+set}" = set; then
3266 enableval
="$enable_fileproto"
3268 if test "$enableval" = yes; then
3269 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3271 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3276 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3277 if test "x$LINE" != x
; then
3278 eval "DEFAULT_$LINE"
3283 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3288 eval "$ac_cv_use_fileproto"
3289 if test "$no_cache" != 1; then
3290 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3293 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3294 echo "$ac_t""yes" 1>&6
3296 echo "$ac_t""no" 1>&6
3300 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3301 echo "configure:3302: checking for --enable-sockets" >&5
3303 # Check whether --enable-sockets or --disable-sockets was given.
3304 if test "${enable_sockets+set}" = set; then
3305 enableval
="$enable_sockets"
3307 if test "$enableval" = yes; then
3308 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3310 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3315 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3316 if test "x$LINE" != x
; then
3317 eval "DEFAULT_$LINE"
3322 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3327 eval "$ac_cv_use_sockets"
3328 if test "$no_cache" != 1; then
3329 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3332 if test "$wxUSE_SOCKETS" = yes; then
3333 echo "$ac_t""yes" 1>&6
3335 echo "$ac_t""no" 1>&6
3340 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3341 echo "configure:3342: checking for --enable-ipc" >&5
3343 # Check whether --enable-ipc or --disable-ipc was given.
3344 if test "${enable_ipc+set}" = set; then
3345 enableval
="$enable_ipc"
3347 if test "$enableval" = yes; then
3348 ac_cv_use_ipc
='wxUSE_IPC=yes'
3350 ac_cv_use_ipc
='wxUSE_IPC=no'
3355 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3356 if test "x$LINE" != x
; then
3357 eval "DEFAULT_$LINE"
3362 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3367 eval "$ac_cv_use_ipc"
3368 if test "$no_cache" != 1; then
3369 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3372 if test "$wxUSE_IPC" = yes; then
3373 echo "$ac_t""yes" 1>&6
3375 echo "$ac_t""no" 1>&6
3380 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3381 echo "configure:3382: checking for --enable-cmdline" >&5
3383 # Check whether --enable-cmdline or --disable-cmdline was given.
3384 if test "${enable_cmdline+set}" = set; then
3385 enableval
="$enable_cmdline"
3387 if test "$enableval" = yes; then
3388 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3390 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3395 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3396 if test "x$LINE" != x
; then
3397 eval "DEFAULT_$LINE"
3402 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3407 eval "$ac_cv_use_cmdline"
3408 if test "$no_cache" != 1; then
3409 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3412 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3413 echo "$ac_t""yes" 1>&6
3415 echo "$ac_t""no" 1>&6
3419 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3420 echo "configure:3421: checking for --enable-datetime" >&5
3422 # Check whether --enable-datetime or --disable-datetime was given.
3423 if test "${enable_datetime+set}" = set; then
3424 enableval
="$enable_datetime"
3426 if test "$enableval" = yes; then
3427 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3429 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3434 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3435 if test "x$LINE" != x
; then
3436 eval "DEFAULT_$LINE"
3441 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3446 eval "$ac_cv_use_datetime"
3447 if test "$no_cache" != 1; then
3448 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3451 if test "$wxUSE_DATETIME" = yes; then
3452 echo "$ac_t""yes" 1>&6
3454 echo "$ac_t""no" 1>&6
3458 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3459 echo "configure:3460: checking for --enable-timedate" >&5
3461 # Check whether --enable-timedate or --disable-timedate was given.
3462 if test "${enable_timedate+set}" = set; then
3463 enableval
="$enable_timedate"
3465 if test "$enableval" = yes; then
3466 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3468 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3473 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3474 if test "x$LINE" != x
; then
3475 eval "DEFAULT_$LINE"
3480 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3485 eval "$ac_cv_use_timedate"
3486 if test "$no_cache" != 1; then
3487 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3490 if test "$wxUSE_TIMEDATE" = yes; then
3491 echo "$ac_t""yes" 1>&6
3493 echo "$ac_t""no" 1>&6
3497 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3498 echo "configure:3499: checking for --enable-stopwatch" >&5
3500 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3501 if test "${enable_stopwatch+set}" = set; then
3502 enableval
="$enable_stopwatch"
3504 if test "$enableval" = yes; then
3505 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3507 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3512 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3513 if test "x$LINE" != x
; then
3514 eval "DEFAULT_$LINE"
3519 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3524 eval "$ac_cv_use_stopwatch"
3525 if test "$no_cache" != 1; then
3526 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3529 if test "$wxUSE_STOPWATCH" = yes; then
3530 echo "$ac_t""yes" 1>&6
3532 echo "$ac_t""no" 1>&6
3536 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3537 echo "configure:3538: checking for --enable-dialupman" >&5
3539 # Check whether --enable-dialupman or --disable-dialupman was given.
3540 if test "${enable_dialupman+set}" = set; then
3541 enableval
="$enable_dialupman"
3543 if test "$enableval" = yes; then
3544 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3546 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3551 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3552 if test "x$LINE" != x
; then
3553 eval "DEFAULT_$LINE"
3558 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3563 eval "$ac_cv_use_dialupman"
3564 if test "$no_cache" != 1; then
3565 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3568 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3569 echo "$ac_t""yes" 1>&6
3571 echo "$ac_t""no" 1>&6
3575 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3576 echo "configure:3577: checking for --enable-apple_ieee" >&5
3578 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3579 if test "${enable_apple_ieee+set}" = set; then
3580 enableval
="$enable_apple_ieee"
3582 if test "$enableval" = yes; then
3583 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3585 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3590 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3591 if test "x$LINE" != x
; then
3592 eval "DEFAULT_$LINE"
3597 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3602 eval "$ac_cv_use_apple_ieee"
3603 if test "$no_cache" != 1; then
3604 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3607 if test "$wxUSE_APPLE_IEEE" = yes; then
3608 echo "$ac_t""yes" 1>&6
3610 echo "$ac_t""no" 1>&6
3614 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3615 echo "configure:3616: checking for --enable-timer" >&5
3617 # Check whether --enable-timer or --disable-timer was given.
3618 if test "${enable_timer+set}" = set; then
3619 enableval
="$enable_timer"
3621 if test "$enableval" = yes; then
3622 ac_cv_use_timer
='wxUSE_TIMER=yes'
3624 ac_cv_use_timer
='wxUSE_TIMER=no'
3629 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3630 if test "x$LINE" != x
; then
3631 eval "DEFAULT_$LINE"
3636 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3641 eval "$ac_cv_use_timer"
3642 if test "$no_cache" != 1; then
3643 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3646 if test "$wxUSE_TIMER" = yes; then
3647 echo "$ac_t""yes" 1>&6
3649 echo "$ac_t""no" 1>&6
3653 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3654 echo "configure:3655: checking for --enable-wave" >&5
3656 # Check whether --enable-wave or --disable-wave was given.
3657 if test "${enable_wave+set}" = set; then
3658 enableval
="$enable_wave"
3660 if test "$enableval" = yes; then
3661 ac_cv_use_wave
='wxUSE_WAVE=yes'
3663 ac_cv_use_wave
='wxUSE_WAVE=no'
3668 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3669 if test "x$LINE" != x
; then
3670 eval "DEFAULT_$LINE"
3675 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3680 eval "$ac_cv_use_wave"
3681 if test "$no_cache" != 1; then
3682 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3685 if test "$wxUSE_WAVE" = yes; then
3686 echo "$ac_t""yes" 1>&6
3688 echo "$ac_t""no" 1>&6
3692 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3693 echo "configure:3694: checking for --enable-fraction" >&5
3695 # Check whether --enable-fraction or --disable-fraction was given.
3696 if test "${enable_fraction+set}" = set; then
3697 enableval
="$enable_fraction"
3699 if test "$enableval" = yes; then
3700 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3702 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3707 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3708 if test "x$LINE" != x
; then
3709 eval "DEFAULT_$LINE"
3714 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3719 eval "$ac_cv_use_fraction"
3720 if test "$no_cache" != 1; then
3721 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3724 if test "$wxUSE_FRACTION" = yes; then
3725 echo "$ac_t""yes" 1>&6
3727 echo "$ac_t""no" 1>&6
3731 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3732 echo "configure:3733: checking for --enable-dynlib" >&5
3734 # Check whether --enable-dynlib or --disable-dynlib was given.
3735 if test "${enable_dynlib+set}" = set; then
3736 enableval
="$enable_dynlib"
3738 if test "$enableval" = yes; then
3739 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3741 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3746 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3747 if test "x$LINE" != x
; then
3748 eval "DEFAULT_$LINE"
3753 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3758 eval "$ac_cv_use_dynlib"
3759 if test "$no_cache" != 1; then
3760 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3763 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3764 echo "$ac_t""yes" 1>&6
3766 echo "$ac_t""no" 1>&6
3770 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3771 echo "configure:3772: checking for --enable-dynamicloader" >&5
3773 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3774 if test "${enable_dynamicloader+set}" = set; then
3775 enableval
="$enable_dynamicloader"
3777 if test "$enableval" = yes; then
3778 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3780 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3785 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3786 if test "x$LINE" != x
; then
3787 eval "DEFAULT_$LINE"
3792 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3797 eval "$ac_cv_use_dynamicloader"
3798 if test "$no_cache" != 1; then
3799 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3802 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3803 echo "$ac_t""yes" 1>&6
3805 echo "$ac_t""no" 1>&6
3809 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3810 echo "configure:3811: checking for --enable-longlong" >&5
3812 # Check whether --enable-longlong or --disable-longlong was given.
3813 if test "${enable_longlong+set}" = set; then
3814 enableval
="$enable_longlong"
3816 if test "$enableval" = yes; then
3817 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3819 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3824 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3825 if test "x$LINE" != x
; then
3826 eval "DEFAULT_$LINE"
3831 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3836 eval "$ac_cv_use_longlong"
3837 if test "$no_cache" != 1; then
3838 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3841 if test "$wxUSE_LONGLONG" = yes; then
3842 echo "$ac_t""yes" 1>&6
3844 echo "$ac_t""no" 1>&6
3848 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3849 echo "configure:3850: checking for --enable-geometry" >&5
3851 # Check whether --enable-geometry or --disable-geometry was given.
3852 if test "${enable_geometry+set}" = set; then
3853 enableval
="$enable_geometry"
3855 if test "$enableval" = yes; then
3856 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3858 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3863 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3864 if test "x$LINE" != x
; then
3865 eval "DEFAULT_$LINE"
3870 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3875 eval "$ac_cv_use_geometry"
3876 if test "$no_cache" != 1; then
3877 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3880 if test "$wxUSE_GEOMETRY" = yes; then
3881 echo "$ac_t""yes" 1>&6
3883 echo "$ac_t""no" 1>&6
3887 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3888 echo "configure:3889: checking for --enable-log" >&5
3890 # Check whether --enable-log or --disable-log was given.
3891 if test "${enable_log+set}" = set; then
3892 enableval
="$enable_log"
3894 if test "$enableval" = yes; then
3895 ac_cv_use_log
='wxUSE_LOG=yes'
3897 ac_cv_use_log
='wxUSE_LOG=no'
3902 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3903 if test "x$LINE" != x
; then
3904 eval "DEFAULT_$LINE"
3909 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3914 eval "$ac_cv_use_log"
3915 if test "$no_cache" != 1; then
3916 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3919 if test "$wxUSE_LOG" = yes; then
3920 echo "$ac_t""yes" 1>&6
3922 echo "$ac_t""no" 1>&6
3926 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3927 echo "configure:3928: checking for --enable-streams" >&5
3929 # Check whether --enable-streams or --disable-streams was given.
3930 if test "${enable_streams+set}" = set; then
3931 enableval
="$enable_streams"
3933 if test "$enableval" = yes; then
3934 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3936 ac_cv_use_streams
='wxUSE_STREAMS=no'
3941 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3942 if test "x$LINE" != x
; then
3943 eval "DEFAULT_$LINE"
3948 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3953 eval "$ac_cv_use_streams"
3954 if test "$no_cache" != 1; then
3955 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3958 if test "$wxUSE_STREAMS" = yes; then
3959 echo "$ac_t""yes" 1>&6
3961 echo "$ac_t""no" 1>&6
3965 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3966 echo "configure:3967: checking for --enable-file" >&5
3968 # Check whether --enable-file or --disable-file was given.
3969 if test "${enable_file+set}" = set; then
3970 enableval
="$enable_file"
3972 if test "$enableval" = yes; then
3973 ac_cv_use_file
='wxUSE_FILE=yes'
3975 ac_cv_use_file
='wxUSE_FILE=no'
3980 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3981 if test "x$LINE" != x
; then
3982 eval "DEFAULT_$LINE"
3987 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3992 eval "$ac_cv_use_file"
3993 if test "$no_cache" != 1; then
3994 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3997 if test "$wxUSE_FILE" = yes; then
3998 echo "$ac_t""yes" 1>&6
4000 echo "$ac_t""no" 1>&6
4004 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
4005 echo "configure:4006: checking for --enable-ffile" >&5
4007 # Check whether --enable-ffile or --disable-ffile was given.
4008 if test "${enable_ffile+set}" = set; then
4009 enableval
="$enable_ffile"
4011 if test "$enableval" = yes; then
4012 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4014 ac_cv_use_ffile
='wxUSE_FFILE=no'
4019 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4020 if test "x$LINE" != x
; then
4021 eval "DEFAULT_$LINE"
4026 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4031 eval "$ac_cv_use_ffile"
4032 if test "$no_cache" != 1; then
4033 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4036 if test "$wxUSE_FFILE" = yes; then
4037 echo "$ac_t""yes" 1>&6
4039 echo "$ac_t""no" 1>&6
4043 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
4044 echo "configure:4045: checking for --enable-textbuf" >&5
4046 # Check whether --enable-textbuf or --disable-textbuf was given.
4047 if test "${enable_textbuf+set}" = set; then
4048 enableval
="$enable_textbuf"
4050 if test "$enableval" = yes; then
4051 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4053 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4058 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4059 if test "x$LINE" != x
; then
4060 eval "DEFAULT_$LINE"
4065 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4070 eval "$ac_cv_use_textbuf"
4071 if test "$no_cache" != 1; then
4072 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4075 if test "$wxUSE_TEXTBUFFER" = yes; then
4076 echo "$ac_t""yes" 1>&6
4078 echo "$ac_t""no" 1>&6
4082 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4083 echo "configure:4084: checking for --enable-textfile" >&5
4085 # Check whether --enable-textfile or --disable-textfile was given.
4086 if test "${enable_textfile+set}" = set; then
4087 enableval
="$enable_textfile"
4089 if test "$enableval" = yes; then
4090 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4092 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4097 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4098 if test "x$LINE" != x
; then
4099 eval "DEFAULT_$LINE"
4104 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4109 eval "$ac_cv_use_textfile"
4110 if test "$no_cache" != 1; then
4111 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4114 if test "$wxUSE_TEXTFILE" = yes; then
4115 echo "$ac_t""yes" 1>&6
4117 echo "$ac_t""no" 1>&6
4121 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4122 echo "configure:4123: checking for --enable-fontmap" >&5
4124 # Check whether --enable-fontmap or --disable-fontmap was given.
4125 if test "${enable_fontmap+set}" = set; then
4126 enableval
="$enable_fontmap"
4128 if test "$enableval" = yes; then
4129 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4131 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4136 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4137 if test "x$LINE" != x
; then
4138 eval "DEFAULT_$LINE"
4143 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4148 eval "$ac_cv_use_fontmap"
4149 if test "$no_cache" != 1; then
4150 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4153 if test "$wxUSE_FONTMAP" = yes; then
4154 echo "$ac_t""yes" 1>&6
4156 echo "$ac_t""no" 1>&6
4160 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4161 echo "configure:4162: checking for --enable-unicode" >&5
4163 # Check whether --enable-unicode or --disable-unicode was given.
4164 if test "${enable_unicode+set}" = set; then
4165 enableval
="$enable_unicode"
4167 if test "$enableval" = yes; then
4168 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4170 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4175 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4176 if test "x$LINE" != x
; then
4177 eval "DEFAULT_$LINE"
4182 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4187 eval "$ac_cv_use_unicode"
4188 if test "$no_cache" != 1; then
4189 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4192 if test "$wxUSE_UNICODE" = yes; then
4193 echo "$ac_t""yes" 1>&6
4195 echo "$ac_t""no" 1>&6
4199 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4200 echo "configure:4201: checking for --enable-mslu" >&5
4202 # Check whether --enable-mslu or --disable-mslu was given.
4203 if test "${enable_mslu+set}" = set; then
4204 enableval
="$enable_mslu"
4206 if test "$enableval" = yes; then
4207 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4209 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4214 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4215 if test "x$LINE" != x
; then
4216 eval "DEFAULT_$LINE"
4221 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4226 eval "$ac_cv_use_mslu"
4227 if test "$no_cache" != 1; then
4228 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4231 if test "$wxUSE_UNICODE_MSLU" = yes; then
4232 echo "$ac_t""yes" 1>&6
4234 echo "$ac_t""no" 1>&6
4238 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4239 echo "configure:4240: checking for --enable-wxprintfv" >&5
4241 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4242 if test "${enable_wxprintfv+set}" = set; then
4243 enableval
="$enable_wxprintfv"
4245 if test "$enableval" = yes; then
4246 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4248 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4253 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4254 if test "x$LINE" != x
; then
4255 eval "DEFAULT_$LINE"
4260 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4265 eval "$ac_cv_use_wxprintfv"
4266 if test "$no_cache" != 1; then
4267 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4270 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4271 echo "$ac_t""yes" 1>&6
4273 echo "$ac_t""no" 1>&6
4277 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4278 echo "configure:4279: checking for --enable-std_iostreams" >&5
4280 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4281 if test "${enable_std_iostreams+set}" = set; then
4282 enableval
="$enable_std_iostreams"
4284 if test "$enableval" = yes; then
4285 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4287 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4292 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4293 if test "x$LINE" != x
; then
4294 eval "DEFAULT_$LINE"
4299 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4304 eval "$ac_cv_use_std_iostreams"
4305 if test "$no_cache" != 1; then
4306 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4309 if test "$wxUSE_STD_IOSTREAM" = yes; then
4310 echo "$ac_t""yes" 1>&6
4312 echo "$ac_t""no" 1>&6
4316 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4317 echo "configure:4318: checking for --enable-filesystem" >&5
4319 # Check whether --enable-filesystem or --disable-filesystem was given.
4320 if test "${enable_filesystem+set}" = set; then
4321 enableval
="$enable_filesystem"
4323 if test "$enableval" = yes; then
4324 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4326 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4331 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4332 if test "x$LINE" != x
; then
4333 eval "DEFAULT_$LINE"
4338 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4343 eval "$ac_cv_use_filesystem"
4344 if test "$no_cache" != 1; then
4345 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4348 if test "$wxUSE_FILESYSTEM" = yes; then
4349 echo "$ac_t""yes" 1>&6
4351 echo "$ac_t""no" 1>&6
4355 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4356 echo "configure:4357: checking for --enable-fs_inet" >&5
4358 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4359 if test "${enable_fs_inet+set}" = set; then
4360 enableval
="$enable_fs_inet"
4362 if test "$enableval" = yes; then
4363 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4365 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4370 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4371 if test "x$LINE" != x
; then
4372 eval "DEFAULT_$LINE"
4377 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4382 eval "$ac_cv_use_fs_inet"
4383 if test "$no_cache" != 1; then
4384 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4387 if test "$wxUSE_FS_INET" = yes; then
4388 echo "$ac_t""yes" 1>&6
4390 echo "$ac_t""no" 1>&6
4394 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4395 echo "configure:4396: checking for --enable-fs_zip" >&5
4397 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4398 if test "${enable_fs_zip+set}" = set; then
4399 enableval
="$enable_fs_zip"
4401 if test "$enableval" = yes; then
4402 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4404 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4409 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4410 if test "x$LINE" != x
; then
4411 eval "DEFAULT_$LINE"
4416 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4421 eval "$ac_cv_use_fs_zip"
4422 if test "$no_cache" != 1; then
4423 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4426 if test "$wxUSE_FS_ZIP" = yes; then
4427 echo "$ac_t""yes" 1>&6
4429 echo "$ac_t""no" 1>&6
4433 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4434 echo "configure:4435: checking for --enable-zipstream" >&5
4436 # Check whether --enable-zipstream or --disable-zipstream was given.
4437 if test "${enable_zipstream+set}" = set; then
4438 enableval
="$enable_zipstream"
4440 if test "$enableval" = yes; then
4441 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4443 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4448 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4449 if test "x$LINE" != x
; then
4450 eval "DEFAULT_$LINE"
4455 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4460 eval "$ac_cv_use_zipstream"
4461 if test "$no_cache" != 1; then
4462 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4465 if test "$wxUSE_ZIPSTREAM" = yes; then
4466 echo "$ac_t""yes" 1>&6
4468 echo "$ac_t""no" 1>&6
4473 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4474 echo "configure:4475: checking for --enable-catch_segvs" >&5
4476 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4477 if test "${enable_catch_segvs+set}" = set; then
4478 enableval
="$enable_catch_segvs"
4480 if test "$enableval" = yes; then
4481 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4483 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4488 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4489 if test "x$LINE" != x
; then
4490 eval "DEFAULT_$LINE"
4495 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4500 eval "$ac_cv_use_catch_segvs"
4501 if test "$no_cache" != 1; then
4502 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4505 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4506 echo "$ac_t""yes" 1>&6
4508 echo "$ac_t""no" 1>&6
4512 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4513 echo "configure:4514: checking for --enable-snglinst" >&5
4515 # Check whether --enable-snglinst or --disable-snglinst was given.
4516 if test "${enable_snglinst+set}" = set; then
4517 enableval
="$enable_snglinst"
4519 if test "$enableval" = yes; then
4520 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4522 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4527 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4528 if test "x$LINE" != x
; then
4529 eval "DEFAULT_$LINE"
4534 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4539 eval "$ac_cv_use_snglinst"
4540 if test "$no_cache" != 1; then
4541 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4544 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4545 echo "$ac_t""yes" 1>&6
4547 echo "$ac_t""no" 1>&6
4552 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4553 echo "configure:4554: checking for --enable-mimetype" >&5
4555 # Check whether --enable-mimetype or --disable-mimetype was given.
4556 if test "${enable_mimetype+set}" = set; then
4557 enableval
="$enable_mimetype"
4559 if test "$enableval" = yes; then
4560 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4562 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4567 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4568 if test "x$LINE" != x
; then
4569 eval "DEFAULT_$LINE"
4574 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4579 eval "$ac_cv_use_mimetype"
4580 if test "$no_cache" != 1; then
4581 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4584 if test "$wxUSE_MIMETYPE" = yes; then
4585 echo "$ac_t""yes" 1>&6
4587 echo "$ac_t""no" 1>&6
4591 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4592 echo "configure:4593: checking for --enable-system_options" >&5
4594 # Check whether --enable-system_options or --disable-system_options was given.
4595 if test "${enable_system_options+set}" = set; then
4596 enableval
="$enable_system_options"
4598 if test "$enableval" = yes; then
4599 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4601 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4606 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4607 if test "x$LINE" != x
; then
4608 eval "DEFAULT_$LINE"
4613 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4618 eval "$ac_cv_use_system_options"
4619 if test "$no_cache" != 1; then
4620 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4623 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4624 echo "$ac_t""yes" 1>&6
4626 echo "$ac_t""no" 1>&6
4631 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4632 echo "configure:4633: checking for --enable-url" >&5
4634 # Check whether --enable-url or --disable-url was given.
4635 if test "${enable_url+set}" = set; then
4636 enableval
="$enable_url"
4638 if test "$enableval" = yes; then
4639 ac_cv_use_url
='wxUSE_URL=yes'
4641 ac_cv_use_url
='wxUSE_URL=no'
4646 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4647 if test "x$LINE" != x
; then
4648 eval "DEFAULT_$LINE"
4653 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4658 eval "$ac_cv_use_url"
4659 if test "$no_cache" != 1; then
4660 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4663 if test "$wxUSE_URL" = yes; then
4664 echo "$ac_t""yes" 1>&6
4666 echo "$ac_t""no" 1>&6
4670 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4671 echo "configure:4672: checking for --enable-protocol" >&5
4673 # Check whether --enable-protocol or --disable-protocol was given.
4674 if test "${enable_protocol+set}" = set; then
4675 enableval
="$enable_protocol"
4677 if test "$enableval" = yes; then
4678 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4680 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4685 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4686 if test "x$LINE" != x
; then
4687 eval "DEFAULT_$LINE"
4692 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4697 eval "$ac_cv_use_protocol"
4698 if test "$no_cache" != 1; then
4699 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4702 if test "$wxUSE_PROTOCOL" = yes; then
4703 echo "$ac_t""yes" 1>&6
4705 echo "$ac_t""no" 1>&6
4709 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4710 echo "configure:4711: checking for --enable-protocol_http" >&5
4712 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4713 if test "${enable_protocol_http+set}" = set; then
4714 enableval
="$enable_protocol_http"
4716 if test "$enableval" = yes; then
4717 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4719 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4724 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4725 if test "x$LINE" != x
; then
4726 eval "DEFAULT_$LINE"
4731 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4736 eval "$ac_cv_use_protocol_http"
4737 if test "$no_cache" != 1; then
4738 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4741 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4742 echo "$ac_t""yes" 1>&6
4744 echo "$ac_t""no" 1>&6
4748 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4749 echo "configure:4750: checking for --enable-protocol_ftp" >&5
4751 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4752 if test "${enable_protocol_ftp+set}" = set; then
4753 enableval
="$enable_protocol_ftp"
4755 if test "$enableval" = yes; then
4756 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4758 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4763 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4764 if test "x$LINE" != x
; then
4765 eval "DEFAULT_$LINE"
4770 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4775 eval "$ac_cv_use_protocol_ftp"
4776 if test "$no_cache" != 1; then
4777 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4780 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4781 echo "$ac_t""yes" 1>&6
4783 echo "$ac_t""no" 1>&6
4787 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4788 echo "configure:4789: checking for --enable-protocol_file" >&5
4790 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4791 if test "${enable_protocol_file+set}" = set; then
4792 enableval
="$enable_protocol_file"
4794 if test "$enableval" = yes; then
4795 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4797 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4802 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4803 if test "x$LINE" != x
; then
4804 eval "DEFAULT_$LINE"
4809 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4814 eval "$ac_cv_use_protocol_file"
4815 if test "$no_cache" != 1; then
4816 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4819 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4820 echo "$ac_t""yes" 1>&6
4822 echo "$ac_t""no" 1>&6
4829 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4830 echo "configure:4831: checking for --enable-threads" >&5
4832 # Check whether --enable-threads or --disable-threads was given.
4833 if test "${enable_threads+set}" = set; then
4834 enableval
="$enable_threads"
4836 if test "$enableval" = yes; then
4837 ac_cv_use_threads
='wxUSE_THREADS=yes'
4839 ac_cv_use_threads
='wxUSE_THREADS=no'
4844 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4845 if test "x$LINE" != x
; then
4846 eval "DEFAULT_$LINE"
4851 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4856 eval "$ac_cv_use_threads"
4857 if test "$no_cache" != 1; then
4858 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4861 if test "$wxUSE_THREADS" = yes; then
4862 echo "$ac_t""yes" 1>&6
4864 echo "$ac_t""no" 1>&6
4868 if test "$wxUSE_GUI" = "yes"; then
4872 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4873 echo "configure:4874: checking for --enable-docview" >&5
4875 # Check whether --enable-docview or --disable-docview was given.
4876 if test "${enable_docview+set}" = set; then
4877 enableval
="$enable_docview"
4879 if test "$enableval" = yes; then
4880 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4882 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4887 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4888 if test "x$LINE" != x
; then
4889 eval "DEFAULT_$LINE"
4894 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4899 eval "$ac_cv_use_docview"
4900 if test "$no_cache" != 1; then
4901 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4904 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4905 echo "$ac_t""yes" 1>&6
4907 echo "$ac_t""no" 1>&6
4911 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4912 echo "configure:4913: checking for --enable-help" >&5
4914 # Check whether --enable-help or --disable-help was given.
4915 if test "${enable_help+set}" = set; then
4916 enableval
="$enable_help"
4918 if test "$enableval" = yes; then
4919 ac_cv_use_help
='wxUSE_HELP=yes'
4921 ac_cv_use_help
='wxUSE_HELP=no'
4926 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x
; then
4928 eval "DEFAULT_$LINE"
4933 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4938 eval "$ac_cv_use_help"
4939 if test "$no_cache" != 1; then
4940 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4943 if test "$wxUSE_HELP" = yes; then
4944 echo "$ac_t""yes" 1>&6
4946 echo "$ac_t""no" 1>&6
4950 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4951 echo "configure:4952: checking for --enable-mshtmlhelp" >&5
4953 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4954 if test "${enable_mshtmlhelp+set}" = set; then
4955 enableval
="$enable_mshtmlhelp"
4957 if test "$enableval" = yes; then
4958 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4960 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4965 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4966 if test "x$LINE" != x
; then
4967 eval "DEFAULT_$LINE"
4972 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4977 eval "$ac_cv_use_mshtmlhelp"
4978 if test "$no_cache" != 1; then
4979 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4982 if test "$wxUSE_MS_HTML_HELP" = yes; then
4983 echo "$ac_t""yes" 1>&6
4985 echo "$ac_t""no" 1>&6
4989 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4990 echo "configure:4991: checking for --enable-html" >&5
4992 # Check whether --enable-html or --disable-html was given.
4993 if test "${enable_html+set}" = set; then
4994 enableval
="$enable_html"
4996 if test "$enableval" = yes; then
4997 ac_cv_use_html
='wxUSE_HTML=yes'
4999 ac_cv_use_html
='wxUSE_HTML=no'
5004 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5005 if test "x$LINE" != x
; then
5006 eval "DEFAULT_$LINE"
5011 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5016 eval "$ac_cv_use_html"
5017 if test "$no_cache" != 1; then
5018 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5021 if test "$wxUSE_HTML" = yes; then
5022 echo "$ac_t""yes" 1>&6
5024 echo "$ac_t""no" 1>&6
5028 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
5029 echo "configure:5030: checking for --enable-htmlhelp" >&5
5031 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5032 if test "${enable_htmlhelp+set}" = set; then
5033 enableval
="$enable_htmlhelp"
5035 if test "$enableval" = yes; then
5036 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5038 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5043 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5044 if test "x$LINE" != x
; then
5045 eval "DEFAULT_$LINE"
5050 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5055 eval "$ac_cv_use_htmlhelp"
5056 if test "$no_cache" != 1; then
5057 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5060 if test "$wxUSE_WXHTML_HELP" = yes; then
5061 echo "$ac_t""yes" 1>&6
5063 echo "$ac_t""no" 1>&6
5067 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5068 echo "configure:5069: checking for --enable-constraints" >&5
5070 # Check whether --enable-constraints or --disable-constraints was given.
5071 if test "${enable_constraints+set}" = set; then
5072 enableval
="$enable_constraints"
5074 if test "$enableval" = yes; then
5075 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5077 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5082 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5083 if test "x$LINE" != x
; then
5084 eval "DEFAULT_$LINE"
5089 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5094 eval "$ac_cv_use_constraints"
5095 if test "$no_cache" != 1; then
5096 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5099 if test "$wxUSE_CONSTRAINTS" = yes; then
5100 echo "$ac_t""yes" 1>&6
5102 echo "$ac_t""no" 1>&6
5106 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5107 echo "configure:5108: checking for --enable-printarch" >&5
5109 # Check whether --enable-printarch or --disable-printarch was given.
5110 if test "${enable_printarch+set}" = set; then
5111 enableval
="$enable_printarch"
5113 if test "$enableval" = yes; then
5114 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5116 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5121 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5122 if test "x$LINE" != x
; then
5123 eval "DEFAULT_$LINE"
5128 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5133 eval "$ac_cv_use_printarch"
5134 if test "$no_cache" != 1; then
5135 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5138 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5139 echo "$ac_t""yes" 1>&6
5141 echo "$ac_t""no" 1>&6
5145 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5146 echo "configure:5147: checking for --enable-mdi" >&5
5148 # Check whether --enable-mdi or --disable-mdi was given.
5149 if test "${enable_mdi+set}" = set; then
5150 enableval
="$enable_mdi"
5152 if test "$enableval" = yes; then
5153 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5155 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5160 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5161 if test "x$LINE" != x
; then
5162 eval "DEFAULT_$LINE"
5167 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5172 eval "$ac_cv_use_mdi"
5173 if test "$no_cache" != 1; then
5174 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5177 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5178 echo "$ac_t""yes" 1>&6
5180 echo "$ac_t""no" 1>&6
5184 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5185 echo "configure:5186: checking for --enable-loggui" >&5
5187 # Check whether --enable-loggui or --disable-loggui was given.
5188 if test "${enable_loggui+set}" = set; then
5189 enableval
="$enable_loggui"
5191 if test "$enableval" = yes; then
5192 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5194 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5199 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5200 if test "x$LINE" != x
; then
5201 eval "DEFAULT_$LINE"
5206 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5211 eval "$ac_cv_use_loggui"
5212 if test "$no_cache" != 1; then
5213 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5216 if test "$wxUSE_LOGGUI" = yes; then
5217 echo "$ac_t""yes" 1>&6
5219 echo "$ac_t""no" 1>&6
5223 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5224 echo "configure:5225: checking for --enable-logwin" >&5
5226 # Check whether --enable-logwin or --disable-logwin was given.
5227 if test "${enable_logwin+set}" = set; then
5228 enableval
="$enable_logwin"
5230 if test "$enableval" = yes; then
5231 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5233 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5238 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5239 if test "x$LINE" != x
; then
5240 eval "DEFAULT_$LINE"
5245 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5250 eval "$ac_cv_use_logwin"
5251 if test "$no_cache" != 1; then
5252 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5255 if test "$wxUSE_LOGWINDOW" = yes; then
5256 echo "$ac_t""yes" 1>&6
5258 echo "$ac_t""no" 1>&6
5262 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5263 echo "configure:5264: checking for --enable-logdialog" >&5
5265 # Check whether --enable-logdialog or --disable-logdialog was given.
5266 if test "${enable_logdialog+set}" = set; then
5267 enableval
="$enable_logdialog"
5269 if test "$enableval" = yes; then
5270 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5272 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5277 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5278 if test "x$LINE" != x
; then
5279 eval "DEFAULT_$LINE"
5284 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5289 eval "$ac_cv_use_logdialog"
5290 if test "$no_cache" != 1; then
5291 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5294 if test "$wxUSE_LOGDIALOG" = yes; then
5295 echo "$ac_t""yes" 1>&6
5297 echo "$ac_t""no" 1>&6
5302 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5303 echo "configure:5304: checking for --enable-postscript" >&5
5305 # Check whether --enable-postscript or --disable-postscript was given.
5306 if test "${enable_postscript+set}" = set; then
5307 enableval
="$enable_postscript"
5309 if test "$enableval" = yes; then
5310 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5312 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5317 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5318 if test "x$LINE" != x
; then
5319 eval "DEFAULT_$LINE"
5324 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5329 eval "$ac_cv_use_postscript"
5330 if test "$no_cache" != 1; then
5331 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5334 if test "$wxUSE_POSTSCRIPT" = yes; then
5335 echo "$ac_t""yes" 1>&6
5337 echo "$ac_t""no" 1>&6
5344 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5345 echo "configure:5346: checking for --enable-prologio" >&5
5347 # Check whether --enable-prologio or --disable-prologio was given.
5348 if test "${enable_prologio+set}" = set; then
5349 enableval
="$enable_prologio"
5351 if test "$enableval" = yes; then
5352 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5354 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5359 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5360 if test "x$LINE" != x
; then
5361 eval "DEFAULT_$LINE"
5366 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5371 eval "$ac_cv_use_prologio"
5372 if test "$no_cache" != 1; then
5373 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5376 if test "$wxUSE_PROLOGIO" = yes; then
5377 echo "$ac_t""yes" 1>&6
5379 echo "$ac_t""no" 1>&6
5383 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5384 echo "configure:5385: checking for --enable-resources" >&5
5386 # Check whether --enable-resources or --disable-resources was given.
5387 if test "${enable_resources+set}" = set; then
5388 enableval
="$enable_resources"
5390 if test "$enableval" = yes; then
5391 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5393 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5398 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5399 if test "x$LINE" != x
; then
5400 eval "DEFAULT_$LINE"
5405 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5410 eval "$ac_cv_use_resources"
5411 if test "$no_cache" != 1; then
5412 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5415 if test "$wxUSE_RESOURCES" = yes; then
5416 echo "$ac_t""yes" 1>&6
5418 echo "$ac_t""no" 1>&6
5423 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5424 echo "configure:5425: checking for --enable-xresources" >&5
5426 # Check whether --enable-xresources or --disable-xresources was given.
5427 if test "${enable_xresources+set}" = set; then
5428 enableval
="$enable_xresources"
5430 if test "$enableval" = yes; then
5431 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5433 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5438 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5439 if test "x$LINE" != x
; then
5440 eval "DEFAULT_$LINE"
5445 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5450 eval "$ac_cv_use_xresources"
5451 if test "$no_cache" != 1; then
5452 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5455 if test "$wxUSE_X_RESOURCES" = yes; then
5456 echo "$ac_t""yes" 1>&6
5458 echo "$ac_t""no" 1>&6
5464 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5465 echo "configure:5466: checking for --enable-clipboard" >&5
5467 # Check whether --enable-clipboard or --disable-clipboard was given.
5468 if test "${enable_clipboard+set}" = set; then
5469 enableval
="$enable_clipboard"
5471 if test "$enableval" = yes; then
5472 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5474 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5479 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5480 if test "x$LINE" != x
; then
5481 eval "DEFAULT_$LINE"
5486 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5491 eval "$ac_cv_use_clipboard"
5492 if test "$no_cache" != 1; then
5493 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5496 if test "$wxUSE_CLIPBOARD" = yes; then
5497 echo "$ac_t""yes" 1>&6
5499 echo "$ac_t""no" 1>&6
5503 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5504 echo "configure:5505: checking for --enable-dnd" >&5
5506 # Check whether --enable-dnd or --disable-dnd was given.
5507 if test "${enable_dnd+set}" = set; then
5508 enableval
="$enable_dnd"
5510 if test "$enableval" = yes; then
5511 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5513 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5518 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5519 if test "x$LINE" != x
; then
5520 eval "DEFAULT_$LINE"
5525 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5530 eval "$ac_cv_use_dnd"
5531 if test "$no_cache" != 1; then
5532 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5535 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5536 echo "$ac_t""yes" 1>&6
5538 echo "$ac_t""no" 1>&6
5542 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5543 echo "configure:5544: checking for --enable-metafile" >&5
5545 # Check whether --enable-metafile or --disable-metafile was given.
5546 if test "${enable_metafile+set}" = set; then
5547 enableval
="$enable_metafile"
5549 if test "$enableval" = yes; then
5550 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5552 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5557 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5558 if test "x$LINE" != x
; then
5559 eval "DEFAULT_$LINE"
5564 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5569 eval "$ac_cv_use_metafile"
5570 if test "$no_cache" != 1; then
5571 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5574 if test "$wxUSE_METAFILE" = yes; then
5575 echo "$ac_t""yes" 1>&6
5577 echo "$ac_t""no" 1>&6
5582 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5583 echo "configure:5584: checking for --enable-treelayout" >&5
5585 # Check whether --enable-treelayout or --disable-treelayout was given.
5586 if test "${enable_treelayout+set}" = set; then
5587 enableval
="$enable_treelayout"
5589 if test "$enableval" = yes; then
5590 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5592 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5597 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5598 if test "x$LINE" != x
; then
5599 eval "DEFAULT_$LINE"
5604 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5609 eval "$ac_cv_use_treelayout"
5610 if test "$no_cache" != 1; then
5611 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5614 if test "$wxUSE_TREELAYOUT" = yes; then
5615 echo "$ac_t""yes" 1>&6
5617 echo "$ac_t""no" 1>&6
5623 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5624 echo "configure:5625: checking for --enable-controls" >&5
5626 # Check whether --enable-controls or --disable-controls was given.
5627 if test "${enable_controls+set}" = set; then
5628 enableval
="$enable_controls"
5630 if test "$enableval" = yes; then
5631 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5633 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5638 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5639 if test "x$LINE" != x
; then
5640 eval "DEFAULT_$LINE"
5645 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5650 eval "$ac_cv_use_controls"
5651 if test "$no_cache" != 1; then
5652 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5655 if test "$wxUSE_CONTROLS" = yes; then
5656 echo "$ac_t""yes" 1>&6
5658 echo "$ac_t""no" 1>&6
5662 if test "$wxUSE_CONTROLS" = "yes"; then
5663 DEFAULT_wxUSE_ACCEL
=yes
5664 DEFAULT_wxUSE_BMPBUTTON
=yes
5665 DEFAULT_wxUSE_BUTTON
=yes
5666 DEFAULT_wxUSE_CALCTRL
=no
5667 DEFAULT_wxUSE_CARET
=yes
5668 DEFAULT_wxUSE_COMBOBOX
=yes
5669 DEFAULT_wxUSE_CHECKBOX
=yes
5670 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5671 DEFAULT_wxUSE_CHOICE
=yes
5672 DEFAULT_wxUSE_GAUGE
=yes
5673 DEFAULT_wxUSE_GRID
=yes
5674 DEFAULT_wxUSE_NEW_GRID
=yes
5675 DEFAULT_wxUSE_IMAGLIST
=yes
5676 DEFAULT_wxUSE_LISTBOX
=yes
5677 DEFAULT_wxUSE_LISTCTRL
=yes
5678 DEFAULT_wxUSE_NOTEBOOK
=yes
5679 DEFAULT_wxUSE_PROPSHEET
=yes
5680 DEFAULT_wxUSE_RADIOBOX
=yes
5681 DEFAULT_wxUSE_RADIOBTN
=yes
5682 DEFAULT_wxUSE_SASH
=yes
5683 DEFAULT_wxUSE_SCROLLBAR
=yes
5684 DEFAULT_wxUSE_SLIDER
=yes
5685 DEFAULT_wxUSE_SPINBTN
=yes
5686 DEFAULT_wxUSE_SPINCTRL
=yes
5687 DEFAULT_wxUSE_SPLITTER
=yes
5688 DEFAULT_wxUSE_STATBMP
=yes
5689 DEFAULT_wxUSE_STATBOX
=yes
5690 DEFAULT_wxUSE_STATLINE
=yes
5691 DEFAULT_wxUSE_STATUSBAR
=yes
5692 DEFAULT_wxUSE_TAB_DIALOG
=yes
5693 DEFAULT_wxUSE_TOGGLEBTN
=yes
5694 DEFAULT_wxUSE_TOOLBAR
=yes
5695 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5696 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5697 DEFAULT_wxUSE_TOOLTIPS
=yes
5698 DEFAULT_wxUSE_TREECTRL
=yes
5699 DEFAULT_wxUSE_POPUPWIN
=yes
5700 DEFAULT_wxUSE_TIPWINDOW
=yes
5701 elif test "$wxUSE_CONTROLS" = "no"; then
5702 DEFAULT_wxUSE_ACCEL
=no
5703 DEFAULT_wxUSE_BMPBUTTON
=no
5704 DEFAULT_wxUSE_BUTTON
=no
5705 DEFAULT_wxUSE_CALCTRL
=no
5706 DEFAULT_wxUSE_CARET
=no
5707 DEFAULT_wxUSE_COMBOBOX
=no
5708 DEFAULT_wxUSE_CHECKBOX
=no
5709 DEFAULT_wxUSE_CHECKLISTBOX
=no
5710 DEFAULT_wxUSE_CHOICE
=no
5711 DEFAULT_wxUSE_GAUGE
=no
5712 DEFAULT_wxUSE_GRID
=no
5713 DEFAULT_wxUSE_NEW_GRID
=no
5714 DEFAULT_wxUSE_IMAGLIST
=no
5715 DEFAULT_wxUSE_LISTBOX
=no
5716 DEFAULT_wxUSE_LISTCTRL
=no
5717 DEFAULT_wxUSE_NOTEBOOK
=no
5718 DEFAULT_wxUSE_PROPSHEET
=no
5719 DEFAULT_wxUSE_RADIOBOX
=no
5720 DEFAULT_wxUSE_RADIOBTN
=no
5721 DEFAULT_wxUSE_SASH
=no
5722 DEFAULT_wxUSE_SCROLLBAR
=no
5723 DEFAULT_wxUSE_SLIDER
=no
5724 DEFAULT_wxUSE_SPINBTN
=no
5725 DEFAULT_wxUSE_SPINCTRL
=no
5726 DEFAULT_wxUSE_SPLITTER
=no
5727 DEFAULT_wxUSE_STATBMP
=no
5728 DEFAULT_wxUSE_STATBOX
=no
5729 DEFAULT_wxUSE_STATLINE
=no
5730 DEFAULT_wxUSE_STATUSBAR
=no
5731 DEFAULT_wxUSE_TAB_DIALOG
=no
5732 DEFAULT_wxUSE_TOGGLEBTN
=no
5733 DEFAULT_wxUSE_TOOLBAR
=no
5734 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5735 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5736 DEFAULT_wxUSE_TOOLTIPS
=no
5737 DEFAULT_wxUSE_TREECTRL
=no
5738 DEFAULT_wxUSE_POPUPWIN
=no
5739 DEFAULT_wxUSE_TIPWINDOW
=no
5743 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5744 echo "configure:5745: checking for --enable-accel" >&5
5746 # Check whether --enable-accel or --disable-accel was given.
5747 if test "${enable_accel+set}" = set; then
5748 enableval
="$enable_accel"
5750 if test "$enableval" = yes; then
5751 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5753 ac_cv_use_accel
='wxUSE_ACCEL=no'
5758 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5759 if test "x$LINE" != x
; then
5760 eval "DEFAULT_$LINE"
5765 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5770 eval "$ac_cv_use_accel"
5771 if test "$no_cache" != 1; then
5772 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5775 if test "$wxUSE_ACCEL" = yes; then
5776 echo "$ac_t""yes" 1>&6
5778 echo "$ac_t""no" 1>&6
5782 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5783 echo "configure:5784: checking for --enable-button" >&5
5785 # Check whether --enable-button or --disable-button was given.
5786 if test "${enable_button+set}" = set; then
5787 enableval
="$enable_button"
5789 if test "$enableval" = yes; then
5790 ac_cv_use_button
='wxUSE_BUTTON=yes'
5792 ac_cv_use_button
='wxUSE_BUTTON=no'
5797 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5798 if test "x$LINE" != x
; then
5799 eval "DEFAULT_$LINE"
5804 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5809 eval "$ac_cv_use_button"
5810 if test "$no_cache" != 1; then
5811 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5814 if test "$wxUSE_BUTTON" = yes; then
5815 echo "$ac_t""yes" 1>&6
5817 echo "$ac_t""no" 1>&6
5821 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5822 echo "configure:5823: checking for --enable-bmpbutton" >&5
5824 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5825 if test "${enable_bmpbutton+set}" = set; then
5826 enableval
="$enable_bmpbutton"
5828 if test "$enableval" = yes; then
5829 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5831 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5836 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5837 if test "x$LINE" != x
; then
5838 eval "DEFAULT_$LINE"
5843 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5848 eval "$ac_cv_use_bmpbutton"
5849 if test "$no_cache" != 1; then
5850 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5853 if test "$wxUSE_BMPBUTTON" = yes; then
5854 echo "$ac_t""yes" 1>&6
5856 echo "$ac_t""no" 1>&6
5860 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5861 echo "configure:5862: checking for --enable-calendar" >&5
5863 # Check whether --enable-calendar or --disable-calendar was given.
5864 if test "${enable_calendar+set}" = set; then
5865 enableval
="$enable_calendar"
5867 if test "$enableval" = yes; then
5868 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5870 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5875 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5876 if test "x$LINE" != x
; then
5877 eval "DEFAULT_$LINE"
5882 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5887 eval "$ac_cv_use_calendar"
5888 if test "$no_cache" != 1; then
5889 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5892 if test "$wxUSE_CALCTRL" = yes; then
5893 echo "$ac_t""yes" 1>&6
5895 echo "$ac_t""no" 1>&6
5899 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5900 echo "configure:5901: checking for --enable-caret" >&5
5902 # Check whether --enable-caret or --disable-caret was given.
5903 if test "${enable_caret+set}" = set; then
5904 enableval
="$enable_caret"
5906 if test "$enableval" = yes; then
5907 ac_cv_use_caret
='wxUSE_CARET=yes'
5909 ac_cv_use_caret
='wxUSE_CARET=no'
5914 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5915 if test "x$LINE" != x
; then
5916 eval "DEFAULT_$LINE"
5921 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5926 eval "$ac_cv_use_caret"
5927 if test "$no_cache" != 1; then
5928 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5931 if test "$wxUSE_CARET" = yes; then
5932 echo "$ac_t""yes" 1>&6
5934 echo "$ac_t""no" 1>&6
5938 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5939 echo "configure:5940: checking for --enable-checkbox" >&5
5941 # Check whether --enable-checkbox or --disable-checkbox was given.
5942 if test "${enable_checkbox+set}" = set; then
5943 enableval
="$enable_checkbox"
5945 if test "$enableval" = yes; then
5946 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5948 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5953 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5954 if test "x$LINE" != x
; then
5955 eval "DEFAULT_$LINE"
5960 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5965 eval "$ac_cv_use_checkbox"
5966 if test "$no_cache" != 1; then
5967 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5970 if test "$wxUSE_CHECKBOX" = yes; then
5971 echo "$ac_t""yes" 1>&6
5973 echo "$ac_t""no" 1>&6
5977 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5978 echo "configure:5979: checking for --enable-checklst" >&5
5980 # Check whether --enable-checklst or --disable-checklst was given.
5981 if test "${enable_checklst+set}" = set; then
5982 enableval
="$enable_checklst"
5984 if test "$enableval" = yes; then
5985 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5987 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5992 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5993 if test "x$LINE" != x
; then
5994 eval "DEFAULT_$LINE"
5999 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6004 eval "$ac_cv_use_checklst"
6005 if test "$no_cache" != 1; then
6006 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6009 if test "$wxUSE_CHECKLST" = yes; then
6010 echo "$ac_t""yes" 1>&6
6012 echo "$ac_t""no" 1>&6
6016 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
6017 echo "configure:6018: checking for --enable-choice" >&5
6019 # Check whether --enable-choice or --disable-choice was given.
6020 if test "${enable_choice+set}" = set; then
6021 enableval
="$enable_choice"
6023 if test "$enableval" = yes; then
6024 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6026 ac_cv_use_choice
='wxUSE_CHOICE=no'
6031 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6032 if test "x$LINE" != x
; then
6033 eval "DEFAULT_$LINE"
6038 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6043 eval "$ac_cv_use_choice"
6044 if test "$no_cache" != 1; then
6045 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6048 if test "$wxUSE_CHOICE" = yes; then
6049 echo "$ac_t""yes" 1>&6
6051 echo "$ac_t""no" 1>&6
6055 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6056 echo "configure:6057: checking for --enable-combobox" >&5
6058 # Check whether --enable-combobox or --disable-combobox was given.
6059 if test "${enable_combobox+set}" = set; then
6060 enableval
="$enable_combobox"
6062 if test "$enableval" = yes; then
6063 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6065 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6070 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6071 if test "x$LINE" != x
; then
6072 eval "DEFAULT_$LINE"
6077 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6082 eval "$ac_cv_use_combobox"
6083 if test "$no_cache" != 1; then
6084 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6087 if test "$wxUSE_COMBOBOX" = yes; then
6088 echo "$ac_t""yes" 1>&6
6090 echo "$ac_t""no" 1>&6
6094 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6095 echo "configure:6096: checking for --enable-gauge" >&5
6097 # Check whether --enable-gauge or --disable-gauge was given.
6098 if test "${enable_gauge+set}" = set; then
6099 enableval
="$enable_gauge"
6101 if test "$enableval" = yes; then
6102 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6104 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6109 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6110 if test "x$LINE" != x
; then
6111 eval "DEFAULT_$LINE"
6116 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6121 eval "$ac_cv_use_gauge"
6122 if test "$no_cache" != 1; then
6123 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6126 if test "$wxUSE_GAUGE" = yes; then
6127 echo "$ac_t""yes" 1>&6
6129 echo "$ac_t""no" 1>&6
6133 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6134 echo "configure:6135: checking for --enable-grid" >&5
6136 # Check whether --enable-grid or --disable-grid was given.
6137 if test "${enable_grid+set}" = set; then
6138 enableval
="$enable_grid"
6140 if test "$enableval" = yes; then
6141 ac_cv_use_grid
='wxUSE_GRID=yes'
6143 ac_cv_use_grid
='wxUSE_GRID=no'
6148 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6149 if test "x$LINE" != x
; then
6150 eval "DEFAULT_$LINE"
6155 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6160 eval "$ac_cv_use_grid"
6161 if test "$no_cache" != 1; then
6162 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6165 if test "$wxUSE_GRID" = yes; then
6166 echo "$ac_t""yes" 1>&6
6168 echo "$ac_t""no" 1>&6
6172 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6173 echo "configure:6174: checking for --enable-newgrid" >&5
6175 # Check whether --enable-newgrid or --disable-newgrid was given.
6176 if test "${enable_newgrid+set}" = set; then
6177 enableval
="$enable_newgrid"
6179 if test "$enableval" = yes; then
6180 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6182 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6187 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6188 if test "x$LINE" != x
; then
6189 eval "DEFAULT_$LINE"
6194 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6199 eval "$ac_cv_use_newgrid"
6200 if test "$no_cache" != 1; then
6201 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6204 if test "$wxUSE_NEW_GRID" = yes; then
6205 echo "$ac_t""yes" 1>&6
6207 echo "$ac_t""no" 1>&6
6211 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6212 echo "configure:6213: checking for --enable-imaglist" >&5
6214 # Check whether --enable-imaglist or --disable-imaglist was given.
6215 if test "${enable_imaglist+set}" = set; then
6216 enableval
="$enable_imaglist"
6218 if test "$enableval" = yes; then
6219 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6221 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6226 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6227 if test "x$LINE" != x
; then
6228 eval "DEFAULT_$LINE"
6233 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6238 eval "$ac_cv_use_imaglist"
6239 if test "$no_cache" != 1; then
6240 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6243 if test "$wxUSE_IMAGLIST" = yes; then
6244 echo "$ac_t""yes" 1>&6
6246 echo "$ac_t""no" 1>&6
6250 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6251 echo "configure:6252: checking for --enable-listbox" >&5
6253 # Check whether --enable-listbox or --disable-listbox was given.
6254 if test "${enable_listbox+set}" = set; then
6255 enableval
="$enable_listbox"
6257 if test "$enableval" = yes; then
6258 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6260 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6265 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6266 if test "x$LINE" != x
; then
6267 eval "DEFAULT_$LINE"
6272 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6277 eval "$ac_cv_use_listbox"
6278 if test "$no_cache" != 1; then
6279 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6282 if test "$wxUSE_LISTBOX" = yes; then
6283 echo "$ac_t""yes" 1>&6
6285 echo "$ac_t""no" 1>&6
6289 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6290 echo "configure:6291: checking for --enable-listctrl" >&5
6292 # Check whether --enable-listctrl or --disable-listctrl was given.
6293 if test "${enable_listctrl+set}" = set; then
6294 enableval
="$enable_listctrl"
6296 if test "$enableval" = yes; then
6297 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6299 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6304 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6305 if test "x$LINE" != x
; then
6306 eval "DEFAULT_$LINE"
6311 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6316 eval "$ac_cv_use_listctrl"
6317 if test "$no_cache" != 1; then
6318 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6321 if test "$wxUSE_LISTCTRL" = yes; then
6322 echo "$ac_t""yes" 1>&6
6324 echo "$ac_t""no" 1>&6
6328 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6329 echo "configure:6330: checking for --enable-notebook" >&5
6331 # Check whether --enable-notebook or --disable-notebook was given.
6332 if test "${enable_notebook+set}" = set; then
6333 enableval
="$enable_notebook"
6335 if test "$enableval" = yes; then
6336 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6338 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6343 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6344 if test "x$LINE" != x
; then
6345 eval "DEFAULT_$LINE"
6350 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6355 eval "$ac_cv_use_notebook"
6356 if test "$no_cache" != 1; then
6357 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6360 if test "$wxUSE_NOTEBOOK" = yes; then
6361 echo "$ac_t""yes" 1>&6
6363 echo "$ac_t""no" 1>&6
6367 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6368 echo "configure:6369: checking for --enable-propsheet" >&5
6370 # Check whether --enable-propsheet or --disable-propsheet was given.
6371 if test "${enable_propsheet+set}" = set; then
6372 enableval
="$enable_propsheet"
6374 if test "$enableval" = yes; then
6375 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6377 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6382 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6383 if test "x$LINE" != x
; then
6384 eval "DEFAULT_$LINE"
6389 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6394 eval "$ac_cv_use_propsheet"
6395 if test "$no_cache" != 1; then
6396 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6399 if test "$wxUSE_PROPSHEET" = yes; then
6400 echo "$ac_t""yes" 1>&6
6402 echo "$ac_t""no" 1>&6
6406 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6407 echo "configure:6408: checking for --enable-radiobox" >&5
6409 # Check whether --enable-radiobox or --disable-radiobox was given.
6410 if test "${enable_radiobox+set}" = set; then
6411 enableval
="$enable_radiobox"
6413 if test "$enableval" = yes; then
6414 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6416 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6421 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6422 if test "x$LINE" != x
; then
6423 eval "DEFAULT_$LINE"
6428 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6433 eval "$ac_cv_use_radiobox"
6434 if test "$no_cache" != 1; then
6435 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6438 if test "$wxUSE_RADIOBOX" = yes; then
6439 echo "$ac_t""yes" 1>&6
6441 echo "$ac_t""no" 1>&6
6445 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6446 echo "configure:6447: checking for --enable-radiobtn" >&5
6448 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6449 if test "${enable_radiobtn+set}" = set; then
6450 enableval
="$enable_radiobtn"
6452 if test "$enableval" = yes; then
6453 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6455 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6460 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6461 if test "x$LINE" != x
; then
6462 eval "DEFAULT_$LINE"
6467 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6472 eval "$ac_cv_use_radiobtn"
6473 if test "$no_cache" != 1; then
6474 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6477 if test "$wxUSE_RADIOBTN" = yes; then
6478 echo "$ac_t""yes" 1>&6
6480 echo "$ac_t""no" 1>&6
6484 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6485 echo "configure:6486: checking for --enable-sash" >&5
6487 # Check whether --enable-sash or --disable-sash was given.
6488 if test "${enable_sash+set}" = set; then
6489 enableval
="$enable_sash"
6491 if test "$enableval" = yes; then
6492 ac_cv_use_sash
='wxUSE_SASH=yes'
6494 ac_cv_use_sash
='wxUSE_SASH=no'
6499 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6500 if test "x$LINE" != x
; then
6501 eval "DEFAULT_$LINE"
6506 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6511 eval "$ac_cv_use_sash"
6512 if test "$no_cache" != 1; then
6513 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6516 if test "$wxUSE_SASH" = yes; then
6517 echo "$ac_t""yes" 1>&6
6519 echo "$ac_t""no" 1>&6
6523 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6524 echo "configure:6525: checking for --enable-scrollbar" >&5
6526 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6527 if test "${enable_scrollbar+set}" = set; then
6528 enableval
="$enable_scrollbar"
6530 if test "$enableval" = yes; then
6531 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6533 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6538 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6539 if test "x$LINE" != x
; then
6540 eval "DEFAULT_$LINE"
6545 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6550 eval "$ac_cv_use_scrollbar"
6551 if test "$no_cache" != 1; then
6552 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6555 if test "$wxUSE_SCROLLBAR" = yes; then
6556 echo "$ac_t""yes" 1>&6
6558 echo "$ac_t""no" 1>&6
6562 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6563 echo "configure:6564: checking for --enable-slider" >&5
6565 # Check whether --enable-slider or --disable-slider was given.
6566 if test "${enable_slider+set}" = set; then
6567 enableval
="$enable_slider"
6569 if test "$enableval" = yes; then
6570 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6572 ac_cv_use_slider
='wxUSE_SLIDER=no'
6577 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6578 if test "x$LINE" != x
; then
6579 eval "DEFAULT_$LINE"
6584 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6589 eval "$ac_cv_use_slider"
6590 if test "$no_cache" != 1; then
6591 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6594 if test "$wxUSE_SLIDER" = yes; then
6595 echo "$ac_t""yes" 1>&6
6597 echo "$ac_t""no" 1>&6
6601 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6602 echo "configure:6603: checking for --enable-spinbtn" >&5
6604 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6605 if test "${enable_spinbtn+set}" = set; then
6606 enableval
="$enable_spinbtn"
6608 if test "$enableval" = yes; then
6609 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6611 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6616 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6617 if test "x$LINE" != x
; then
6618 eval "DEFAULT_$LINE"
6623 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6628 eval "$ac_cv_use_spinbtn"
6629 if test "$no_cache" != 1; then
6630 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6633 if test "$wxUSE_SPINBTN" = yes; then
6634 echo "$ac_t""yes" 1>&6
6636 echo "$ac_t""no" 1>&6
6640 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6641 echo "configure:6642: checking for --enable-spinctrl" >&5
6643 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6644 if test "${enable_spinctrl+set}" = set; then
6645 enableval
="$enable_spinctrl"
6647 if test "$enableval" = yes; then
6648 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6650 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6655 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6656 if test "x$LINE" != x
; then
6657 eval "DEFAULT_$LINE"
6662 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6667 eval "$ac_cv_use_spinctrl"
6668 if test "$no_cache" != 1; then
6669 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6672 if test "$wxUSE_SPINCTRL" = yes; then
6673 echo "$ac_t""yes" 1>&6
6675 echo "$ac_t""no" 1>&6
6679 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6680 echo "configure:6681: checking for --enable-splitter" >&5
6682 # Check whether --enable-splitter or --disable-splitter was given.
6683 if test "${enable_splitter+set}" = set; then
6684 enableval
="$enable_splitter"
6686 if test "$enableval" = yes; then
6687 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6689 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6694 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6695 if test "x$LINE" != x
; then
6696 eval "DEFAULT_$LINE"
6701 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6706 eval "$ac_cv_use_splitter"
6707 if test "$no_cache" != 1; then
6708 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6711 if test "$wxUSE_SPLITTER" = yes; then
6712 echo "$ac_t""yes" 1>&6
6714 echo "$ac_t""no" 1>&6
6718 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6719 echo "configure:6720: checking for --enable-statbmp" >&5
6721 # Check whether --enable-statbmp or --disable-statbmp was given.
6722 if test "${enable_statbmp+set}" = set; then
6723 enableval
="$enable_statbmp"
6725 if test "$enableval" = yes; then
6726 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6728 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6733 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6734 if test "x$LINE" != x
; then
6735 eval "DEFAULT_$LINE"
6740 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6745 eval "$ac_cv_use_statbmp"
6746 if test "$no_cache" != 1; then
6747 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6750 if test "$wxUSE_STATBMP" = yes; then
6751 echo "$ac_t""yes" 1>&6
6753 echo "$ac_t""no" 1>&6
6757 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6758 echo "configure:6759: checking for --enable-statbox" >&5
6760 # Check whether --enable-statbox or --disable-statbox was given.
6761 if test "${enable_statbox+set}" = set; then
6762 enableval
="$enable_statbox"
6764 if test "$enableval" = yes; then
6765 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6767 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6772 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6773 if test "x$LINE" != x
; then
6774 eval "DEFAULT_$LINE"
6779 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6784 eval "$ac_cv_use_statbox"
6785 if test "$no_cache" != 1; then
6786 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6789 if test "$wxUSE_STATBOX" = yes; then
6790 echo "$ac_t""yes" 1>&6
6792 echo "$ac_t""no" 1>&6
6796 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6797 echo "configure:6798: checking for --enable-statline" >&5
6799 # Check whether --enable-statline or --disable-statline was given.
6800 if test "${enable_statline+set}" = set; then
6801 enableval
="$enable_statline"
6803 if test "$enableval" = yes; then
6804 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6806 ac_cv_use_statline
='wxUSE_STATLINE=no'
6811 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6812 if test "x$LINE" != x
; then
6813 eval "DEFAULT_$LINE"
6818 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6823 eval "$ac_cv_use_statline"
6824 if test "$no_cache" != 1; then
6825 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6828 if test "$wxUSE_STATLINE" = yes; then
6829 echo "$ac_t""yes" 1>&6
6831 echo "$ac_t""no" 1>&6
6835 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6836 echo "configure:6837: checking for --enable-stattext" >&5
6838 # Check whether --enable-stattext or --disable-stattext was given.
6839 if test "${enable_stattext+set}" = set; then
6840 enableval
="$enable_stattext"
6842 if test "$enableval" = yes; then
6843 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6845 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6850 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6851 if test "x$LINE" != x
; then
6852 eval "DEFAULT_$LINE"
6857 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6862 eval "$ac_cv_use_stattext"
6863 if test "$no_cache" != 1; then
6864 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6867 if test "$wxUSE_STATTEXT" = yes; then
6868 echo "$ac_t""yes" 1>&6
6870 echo "$ac_t""no" 1>&6
6874 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6875 echo "configure:6876: checking for --enable-statusbar" >&5
6877 # Check whether --enable-statusbar or --disable-statusbar was given.
6878 if test "${enable_statusbar+set}" = set; then
6879 enableval
="$enable_statusbar"
6881 if test "$enableval" = yes; then
6882 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6884 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6889 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6890 if test "x$LINE" != x
; then
6891 eval "DEFAULT_$LINE"
6896 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6901 eval "$ac_cv_use_statusbar"
6902 if test "$no_cache" != 1; then
6903 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6906 if test "$wxUSE_STATUSBAR" = yes; then
6907 echo "$ac_t""yes" 1>&6
6909 echo "$ac_t""no" 1>&6
6913 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6914 echo "configure:6915: checking for --enable-tabdialog" >&5
6916 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6917 if test "${enable_tabdialog+set}" = set; then
6918 enableval
="$enable_tabdialog"
6920 if test "$enableval" = yes; then
6921 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6923 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6928 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6929 if test "x$LINE" != x
; then
6930 eval "DEFAULT_$LINE"
6935 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6940 eval "$ac_cv_use_tabdialog"
6941 if test "$no_cache" != 1; then
6942 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6945 if test "$wxUSE_TABDIALOG" = yes; then
6946 echo "$ac_t""yes" 1>&6
6948 echo "$ac_t""no" 1>&6
6952 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6953 echo "configure:6954: checking for --enable-textctrl" >&5
6955 # Check whether --enable-textctrl or --disable-textctrl was given.
6956 if test "${enable_textctrl+set}" = set; then
6957 enableval
="$enable_textctrl"
6959 if test "$enableval" = yes; then
6960 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6962 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6967 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6968 if test "x$LINE" != x
; then
6969 eval "DEFAULT_$LINE"
6974 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6979 eval "$ac_cv_use_textctrl"
6980 if test "$no_cache" != 1; then
6981 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6984 if test "$wxUSE_TEXTCTRL" = yes; then
6985 echo "$ac_t""yes" 1>&6
6987 echo "$ac_t""no" 1>&6
6991 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6992 echo "configure:6993: checking for --enable-togglebtn" >&5
6994 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6995 if test "${enable_togglebtn+set}" = set; then
6996 enableval
="$enable_togglebtn"
6998 if test "$enableval" = yes; then
6999 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7001 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7006 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7007 if test "x$LINE" != x
; then
7008 eval "DEFAULT_$LINE"
7013 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7018 eval "$ac_cv_use_togglebtn"
7019 if test "$no_cache" != 1; then
7020 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7023 if test "$wxUSE_TOGGLEBTN" = yes; then
7024 echo "$ac_t""yes" 1>&6
7026 echo "$ac_t""no" 1>&6
7030 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
7031 echo "configure:7032: checking for --enable-toolbar" >&5
7033 # Check whether --enable-toolbar or --disable-toolbar was given.
7034 if test "${enable_toolbar+set}" = set; then
7035 enableval
="$enable_toolbar"
7037 if test "$enableval" = yes; then
7038 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7040 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7045 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7046 if test "x$LINE" != x
; then
7047 eval "DEFAULT_$LINE"
7052 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7057 eval "$ac_cv_use_toolbar"
7058 if test "$no_cache" != 1; then
7059 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7062 if test "$wxUSE_TOOLBAR" = yes; then
7063 echo "$ac_t""yes" 1>&6
7065 echo "$ac_t""no" 1>&6
7069 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7070 echo "configure:7071: checking for --enable-tbarnative" >&5
7072 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7073 if test "${enable_tbarnative+set}" = set; then
7074 enableval
="$enable_tbarnative"
7076 if test "$enableval" = yes; then
7077 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7079 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7084 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7085 if test "x$LINE" != x
; then
7086 eval "DEFAULT_$LINE"
7091 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7096 eval "$ac_cv_use_tbarnative"
7097 if test "$no_cache" != 1; then
7098 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7101 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7102 echo "$ac_t""yes" 1>&6
7104 echo "$ac_t""no" 1>&6
7108 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7109 echo "configure:7110: checking for --enable-tbarsmpl" >&5
7111 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7112 if test "${enable_tbarsmpl+set}" = set; then
7113 enableval
="$enable_tbarsmpl"
7115 if test "$enableval" = yes; then
7116 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7118 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7123 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7124 if test "x$LINE" != x
; then
7125 eval "DEFAULT_$LINE"
7130 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7135 eval "$ac_cv_use_tbarsmpl"
7136 if test "$no_cache" != 1; then
7137 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7140 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7141 echo "$ac_t""yes" 1>&6
7143 echo "$ac_t""no" 1>&6
7147 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7148 echo "configure:7149: checking for --enable-treectrl" >&5
7150 # Check whether --enable-treectrl or --disable-treectrl was given.
7151 if test "${enable_treectrl+set}" = set; then
7152 enableval
="$enable_treectrl"
7154 if test "$enableval" = yes; then
7155 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7157 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7162 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7163 if test "x$LINE" != x
; then
7164 eval "DEFAULT_$LINE"
7169 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7174 eval "$ac_cv_use_treectrl"
7175 if test "$no_cache" != 1; then
7176 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7179 if test "$wxUSE_TREECTRL" = yes; then
7180 echo "$ac_t""yes" 1>&6
7182 echo "$ac_t""no" 1>&6
7186 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7187 echo "configure:7188: checking for --enable-tipwindow" >&5
7189 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7190 if test "${enable_tipwindow+set}" = set; then
7191 enableval
="$enable_tipwindow"
7193 if test "$enableval" = yes; then
7194 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7196 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7201 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7202 if test "x$LINE" != x
; then
7203 eval "DEFAULT_$LINE"
7208 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7213 eval "$ac_cv_use_tipwindow"
7214 if test "$no_cache" != 1; then
7215 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7218 if test "$wxUSE_TIPWINDOW" = yes; then
7219 echo "$ac_t""yes" 1>&6
7221 echo "$ac_t""no" 1>&6
7225 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7226 echo "configure:7227: checking for --enable-popupwin" >&5
7228 # Check whether --enable-popupwin or --disable-popupwin was given.
7229 if test "${enable_popupwin+set}" = set; then
7230 enableval
="$enable_popupwin"
7232 if test "$enableval" = yes; then
7233 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7235 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7240 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7241 if test "x$LINE" != x
; then
7242 eval "DEFAULT_$LINE"
7247 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7252 eval "$ac_cv_use_popupwin"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7257 if test "$wxUSE_POPUPWIN" = yes; then
7258 echo "$ac_t""yes" 1>&6
7260 echo "$ac_t""no" 1>&6
7266 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7267 echo "configure:7268: checking for --enable-commondlg" >&5
7269 # Check whether --enable-commondlg or --disable-commondlg was given.
7270 if test "${enable_commondlg+set}" = set; then
7271 enableval
="$enable_commondlg"
7273 if test "$enableval" = yes; then
7274 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7276 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7281 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7282 if test "x$LINE" != x
; then
7283 eval "DEFAULT_$LINE"
7288 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7293 eval "$ac_cv_use_commondlg"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7298 if test "$wxUSE_COMMONDLGS" = yes; then
7299 echo "$ac_t""yes" 1>&6
7301 echo "$ac_t""no" 1>&6
7305 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7306 echo "configure:7307: checking for --enable-choicedlg" >&5
7308 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7309 if test "${enable_choicedlg+set}" = set; then
7310 enableval
="$enable_choicedlg"
7312 if test "$enableval" = yes; then
7313 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7315 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7320 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7321 if test "x$LINE" != x
; then
7322 eval "DEFAULT_$LINE"
7327 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7332 eval "$ac_cv_use_choicedlg"
7333 if test "$no_cache" != 1; then
7334 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7337 if test "$wxUSE_CHOICEDLG" = yes; then
7338 echo "$ac_t""yes" 1>&6
7340 echo "$ac_t""no" 1>&6
7344 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7345 echo "configure:7346: checking for --enable-coldlg" >&5
7347 # Check whether --enable-coldlg or --disable-coldlg was given.
7348 if test "${enable_coldlg+set}" = set; then
7349 enableval
="$enable_coldlg"
7351 if test "$enableval" = yes; then
7352 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7354 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7359 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7360 if test "x$LINE" != x
; then
7361 eval "DEFAULT_$LINE"
7366 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7371 eval "$ac_cv_use_coldlg"
7372 if test "$no_cache" != 1; then
7373 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7376 if test "$wxUSE_COLOURDLG" = yes; then
7377 echo "$ac_t""yes" 1>&6
7379 echo "$ac_t""no" 1>&6
7383 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7384 echo "configure:7385: checking for --enable-filedlg" >&5
7386 # Check whether --enable-filedlg or --disable-filedlg was given.
7387 if test "${enable_filedlg+set}" = set; then
7388 enableval
="$enable_filedlg"
7390 if test "$enableval" = yes; then
7391 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7393 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7398 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7399 if test "x$LINE" != x
; then
7400 eval "DEFAULT_$LINE"
7405 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7410 eval "$ac_cv_use_filedlg"
7411 if test "$no_cache" != 1; then
7412 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7415 if test "$wxUSE_FILEDLG" = yes; then
7416 echo "$ac_t""yes" 1>&6
7418 echo "$ac_t""no" 1>&6
7422 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7423 echo "configure:7424: checking for --enable-finddlg" >&5
7425 # Check whether --enable-finddlg or --disable-finddlg was given.
7426 if test "${enable_finddlg+set}" = set; then
7427 enableval
="$enable_finddlg"
7429 if test "$enableval" = yes; then
7430 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7432 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7437 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7438 if test "x$LINE" != x
; then
7439 eval "DEFAULT_$LINE"
7444 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7449 eval "$ac_cv_use_finddlg"
7450 if test "$no_cache" != 1; then
7451 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7454 if test "$wxUSE_FINDREPLDLG" = yes; then
7455 echo "$ac_t""yes" 1>&6
7457 echo "$ac_t""no" 1>&6
7461 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7462 echo "configure:7463: checking for --enable-fontdlg" >&5
7464 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7465 if test "${enable_fontdlg+set}" = set; then
7466 enableval
="$enable_fontdlg"
7468 if test "$enableval" = yes; then
7469 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7471 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7476 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7477 if test "x$LINE" != x
; then
7478 eval "DEFAULT_$LINE"
7483 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7488 eval "$ac_cv_use_fontdlg"
7489 if test "$no_cache" != 1; then
7490 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7493 if test "$wxUSE_FONTDLG" = yes; then
7494 echo "$ac_t""yes" 1>&6
7496 echo "$ac_t""no" 1>&6
7500 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7501 echo "configure:7502: checking for --enable-dirdlg" >&5
7503 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7504 if test "${enable_dirdlg+set}" = set; then
7505 enableval
="$enable_dirdlg"
7507 if test "$enableval" = yes; then
7508 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7510 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7515 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7516 if test "x$LINE" != x
; then
7517 eval "DEFAULT_$LINE"
7522 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7527 eval "$ac_cv_use_dirdlg"
7528 if test "$no_cache" != 1; then
7529 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7532 if test "$wxUSE_DIRDLG" = yes; then
7533 echo "$ac_t""yes" 1>&6
7535 echo "$ac_t""no" 1>&6
7539 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7540 echo "configure:7541: checking for --enable-msgdlg" >&5
7542 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7543 if test "${enable_msgdlg+set}" = set; then
7544 enableval
="$enable_msgdlg"
7546 if test "$enableval" = yes; then
7547 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7549 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7554 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7555 if test "x$LINE" != x
; then
7556 eval "DEFAULT_$LINE"
7561 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7566 eval "$ac_cv_use_msgdlg"
7567 if test "$no_cache" != 1; then
7568 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7571 if test "$wxUSE_MSGDLG" = yes; then
7572 echo "$ac_t""yes" 1>&6
7574 echo "$ac_t""no" 1>&6
7578 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7579 echo "configure:7580: checking for --enable-numberdlg" >&5
7581 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7582 if test "${enable_numberdlg+set}" = set; then
7583 enableval
="$enable_numberdlg"
7585 if test "$enableval" = yes; then
7586 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7588 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7593 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7594 if test "x$LINE" != x
; then
7595 eval "DEFAULT_$LINE"
7600 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7605 eval "$ac_cv_use_numberdlg"
7606 if test "$no_cache" != 1; then
7607 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7610 if test "$wxUSE_NUMBERDLG" = yes; then
7611 echo "$ac_t""yes" 1>&6
7613 echo "$ac_t""no" 1>&6
7617 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7618 echo "configure:7619: checking for --enable-splash" >&5
7620 # Check whether --enable-splash or --disable-splash was given.
7621 if test "${enable_splash+set}" = set; then
7622 enableval
="$enable_splash"
7624 if test "$enableval" = yes; then
7625 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7627 ac_cv_use_splash
='wxUSE_SPLASH=no'
7632 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7633 if test "x$LINE" != x
; then
7634 eval "DEFAULT_$LINE"
7639 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7644 eval "$ac_cv_use_splash"
7645 if test "$no_cache" != 1; then
7646 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7649 if test "$wxUSE_SPLASH" = yes; then
7650 echo "$ac_t""yes" 1>&6
7652 echo "$ac_t""no" 1>&6
7656 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7657 echo "configure:7658: checking for --enable-textdlg" >&5
7659 # Check whether --enable-textdlg or --disable-textdlg was given.
7660 if test "${enable_textdlg+set}" = set; then
7661 enableval
="$enable_textdlg"
7663 if test "$enableval" = yes; then
7664 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7666 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7671 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7672 if test "x$LINE" != x
; then
7673 eval "DEFAULT_$LINE"
7678 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7683 eval "$ac_cv_use_textdlg"
7684 if test "$no_cache" != 1; then
7685 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7688 if test "$wxUSE_TEXTDLG" = yes; then
7689 echo "$ac_t""yes" 1>&6
7691 echo "$ac_t""no" 1>&6
7695 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7696 echo "configure:7697: checking for --enable-tipdlg" >&5
7698 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7699 if test "${enable_tipdlg+set}" = set; then
7700 enableval
="$enable_tipdlg"
7702 if test "$enableval" = yes; then
7703 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7705 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7710 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7711 if test "x$LINE" != x
; then
7712 eval "DEFAULT_$LINE"
7717 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7722 eval "$ac_cv_use_tipdlg"
7723 if test "$no_cache" != 1; then
7724 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7727 if test "$wxUSE_STARTUP_TIPS" = yes; then
7728 echo "$ac_t""yes" 1>&6
7730 echo "$ac_t""no" 1>&6
7734 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7735 echo "configure:7736: checking for --enable-progressdlg" >&5
7737 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7738 if test "${enable_progressdlg+set}" = set; then
7739 enableval
="$enable_progressdlg"
7741 if test "$enableval" = yes; then
7742 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7744 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7749 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7750 if test "x$LINE" != x
; then
7751 eval "DEFAULT_$LINE"
7756 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7761 eval "$ac_cv_use_progressdlg"
7762 if test "$no_cache" != 1; then
7763 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7766 if test "$wxUSE_PROGRESSDLG" = yes; then
7767 echo "$ac_t""yes" 1>&6
7769 echo "$ac_t""no" 1>&6
7773 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7774 echo "configure:7775: checking for --enable-wizarddlg" >&5
7776 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7777 if test "${enable_wizarddlg+set}" = set; then
7778 enableval
="$enable_wizarddlg"
7780 if test "$enableval" = yes; then
7781 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7783 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7788 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7789 if test "x$LINE" != x
; then
7790 eval "DEFAULT_$LINE"
7795 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7800 eval "$ac_cv_use_wizarddlg"
7801 if test "$no_cache" != 1; then
7802 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7805 if test "$wxUSE_WIZARDDLG" = yes; then
7806 echo "$ac_t""yes" 1>&6
7808 echo "$ac_t""no" 1>&6
7814 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7815 echo "configure:7816: checking for --enable-menus" >&5
7817 # Check whether --enable-menus or --disable-menus was given.
7818 if test "${enable_menus+set}" = set; then
7819 enableval
="$enable_menus"
7821 if test "$enableval" = yes; then
7822 ac_cv_use_menus
='wxUSE_MENUS=yes'
7824 ac_cv_use_menus
='wxUSE_MENUS=no'
7829 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7830 if test "x$LINE" != x
; then
7831 eval "DEFAULT_$LINE"
7836 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7841 eval "$ac_cv_use_menus"
7842 if test "$no_cache" != 1; then
7843 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7846 if test "$wxUSE_MENUS" = yes; then
7847 echo "$ac_t""yes" 1>&6
7849 echo "$ac_t""no" 1>&6
7853 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7854 echo "configure:7855: checking for --enable-miniframe" >&5
7856 # Check whether --enable-miniframe or --disable-miniframe was given.
7857 if test "${enable_miniframe+set}" = set; then
7858 enableval
="$enable_miniframe"
7860 if test "$enableval" = yes; then
7861 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7863 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7868 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7869 if test "x$LINE" != x
; then
7870 eval "DEFAULT_$LINE"
7875 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7880 eval "$ac_cv_use_miniframe"
7881 if test "$no_cache" != 1; then
7882 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7885 if test "$wxUSE_MINIFRAME" = yes; then
7886 echo "$ac_t""yes" 1>&6
7888 echo "$ac_t""no" 1>&6
7892 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7893 echo "configure:7894: checking for --enable-tooltips" >&5
7895 # Check whether --enable-tooltips or --disable-tooltips was given.
7896 if test "${enable_tooltips+set}" = set; then
7897 enableval
="$enable_tooltips"
7899 if test "$enableval" = yes; then
7900 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7902 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7907 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7908 if test "x$LINE" != x
; then
7909 eval "DEFAULT_$LINE"
7914 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7919 eval "$ac_cv_use_tooltips"
7920 if test "$no_cache" != 1; then
7921 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7924 if test "$wxUSE_TOOLTIPS" = yes; then
7925 echo "$ac_t""yes" 1>&6
7927 echo "$ac_t""no" 1>&6
7931 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7932 echo "configure:7933: checking for --enable-splines" >&5
7934 # Check whether --enable-splines or --disable-splines was given.
7935 if test "${enable_splines+set}" = set; then
7936 enableval
="$enable_splines"
7938 if test "$enableval" = yes; then
7939 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7941 ac_cv_use_splines
='wxUSE_SPLINES=no'
7946 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7947 if test "x$LINE" != x
; then
7948 eval "DEFAULT_$LINE"
7953 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7958 eval "$ac_cv_use_splines"
7959 if test "$no_cache" != 1; then
7960 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7963 if test "$wxUSE_SPLINES" = yes; then
7964 echo "$ac_t""yes" 1>&6
7966 echo "$ac_t""no" 1>&6
7970 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7971 echo "configure:7972: checking for --enable-validators" >&5
7973 # Check whether --enable-validators or --disable-validators was given.
7974 if test "${enable_validators+set}" = set; then
7975 enableval
="$enable_validators"
7977 if test "$enableval" = yes; then
7978 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7980 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7985 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7986 if test "x$LINE" != x
; then
7987 eval "DEFAULT_$LINE"
7992 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7997 eval "$ac_cv_use_validators"
7998 if test "$no_cache" != 1; then
7999 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8002 if test "$wxUSE_VALIDATORS" = yes; then
8003 echo "$ac_t""yes" 1>&6
8005 echo "$ac_t""no" 1>&6
8009 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
8010 echo "configure:8011: checking for --enable-busyinfo" >&5
8012 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8013 if test "${enable_busyinfo+set}" = set; then
8014 enableval
="$enable_busyinfo"
8016 if test "$enableval" = yes; then
8017 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8019 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8024 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8025 if test "x$LINE" != x
; then
8026 eval "DEFAULT_$LINE"
8031 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8036 eval "$ac_cv_use_busyinfo"
8037 if test "$no_cache" != 1; then
8038 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8041 if test "$wxUSE_BUSYINFO" = yes; then
8042 echo "$ac_t""yes" 1>&6
8044 echo "$ac_t""no" 1>&6
8048 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
8049 echo "configure:8050: checking for --enable-joystick" >&5
8051 # Check whether --enable-joystick or --disable-joystick was given.
8052 if test "${enable_joystick+set}" = set; then
8053 enableval
="$enable_joystick"
8055 if test "$enableval" = yes; then
8056 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8058 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8063 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8064 if test "x$LINE" != x
; then
8065 eval "DEFAULT_$LINE"
8070 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8075 eval "$ac_cv_use_joystick"
8076 if test "$no_cache" != 1; then
8077 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8080 if test "$wxUSE_JOYSTICK" = yes; then
8081 echo "$ac_t""yes" 1>&6
8083 echo "$ac_t""no" 1>&6
8087 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8088 echo "configure:8089: checking for --enable-metafile" >&5
8090 # Check whether --enable-metafile or --disable-metafile was given.
8091 if test "${enable_metafile+set}" = set; then
8092 enableval
="$enable_metafile"
8094 if test "$enableval" = yes; then
8095 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8097 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8102 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8103 if test "x$LINE" != x
; then
8104 eval "DEFAULT_$LINE"
8109 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8114 eval "$ac_cv_use_metafile"
8115 if test "$no_cache" != 1; then
8116 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8119 if test "$wxUSE_METAFILE" = yes; then
8120 echo "$ac_t""yes" 1>&6
8122 echo "$ac_t""no" 1>&6
8126 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8127 echo "configure:8128: checking for --enable-dragimage" >&5
8129 # Check whether --enable-dragimage or --disable-dragimage was given.
8130 if test "${enable_dragimage+set}" = set; then
8131 enableval
="$enable_dragimage"
8133 if test "$enableval" = yes; then
8134 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8136 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8141 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8142 if test "x$LINE" != x
; then
8143 eval "DEFAULT_$LINE"
8148 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8153 eval "$ac_cv_use_dragimage"
8154 if test "$no_cache" != 1; then
8155 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8158 if test "$wxUSE_DRAGIMAGE" = yes; then
8159 echo "$ac_t""yes" 1>&6
8161 echo "$ac_t""no" 1>&6
8167 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8168 echo "configure:8169: checking for --enable-palette" >&5
8170 # Check whether --enable-palette or --disable-palette was given.
8171 if test "${enable_palette+set}" = set; then
8172 enableval
="$enable_palette"
8174 if test "$enableval" = yes; then
8175 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8177 ac_cv_use_palette
='wxUSE_PALETTE=no'
8182 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8183 if test "x$LINE" != x
; then
8184 eval "DEFAULT_$LINE"
8189 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8194 eval "$ac_cv_use_palette"
8195 if test "$no_cache" != 1; then
8196 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8199 if test "$wxUSE_PALETTE" = yes; then
8200 echo "$ac_t""yes" 1>&6
8202 echo "$ac_t""no" 1>&6
8206 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8207 echo "configure:8208: checking for --enable-image" >&5
8209 # Check whether --enable-image or --disable-image was given.
8210 if test "${enable_image+set}" = set; then
8211 enableval
="$enable_image"
8213 if test "$enableval" = yes; then
8214 ac_cv_use_image
='wxUSE_IMAGE=yes'
8216 ac_cv_use_image
='wxUSE_IMAGE=no'
8221 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8222 if test "x$LINE" != x
; then
8223 eval "DEFAULT_$LINE"
8228 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8233 eval "$ac_cv_use_image"
8234 if test "$no_cache" != 1; then
8235 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8238 if test "$wxUSE_IMAGE" = yes; then
8239 echo "$ac_t""yes" 1>&6
8241 echo "$ac_t""no" 1>&6
8245 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8246 echo "configure:8247: checking for --enable-gif" >&5
8248 # Check whether --enable-gif or --disable-gif was given.
8249 if test "${enable_gif+set}" = set; then
8250 enableval
="$enable_gif"
8252 if test "$enableval" = yes; then
8253 ac_cv_use_gif
='wxUSE_GIF=yes'
8255 ac_cv_use_gif
='wxUSE_GIF=no'
8260 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8261 if test "x$LINE" != x
; then
8262 eval "DEFAULT_$LINE"
8267 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8272 eval "$ac_cv_use_gif"
8273 if test "$no_cache" != 1; then
8274 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8277 if test "$wxUSE_GIF" = yes; then
8278 echo "$ac_t""yes" 1>&6
8280 echo "$ac_t""no" 1>&6
8284 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8285 echo "configure:8286: checking for --enable-pcx" >&5
8287 # Check whether --enable-pcx or --disable-pcx was given.
8288 if test "${enable_pcx+set}" = set; then
8289 enableval
="$enable_pcx"
8291 if test "$enableval" = yes; then
8292 ac_cv_use_pcx
='wxUSE_PCX=yes'
8294 ac_cv_use_pcx
='wxUSE_PCX=no'
8299 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8300 if test "x$LINE" != x
; then
8301 eval "DEFAULT_$LINE"
8306 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8311 eval "$ac_cv_use_pcx"
8312 if test "$no_cache" != 1; then
8313 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8316 if test "$wxUSE_PCX" = yes; then
8317 echo "$ac_t""yes" 1>&6
8319 echo "$ac_t""no" 1>&6
8323 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8324 echo "configure:8325: checking for --enable-iff" >&5
8326 # Check whether --enable-iff or --disable-iff was given.
8327 if test "${enable_iff+set}" = set; then
8328 enableval
="$enable_iff"
8330 if test "$enableval" = yes; then
8331 ac_cv_use_iff
='wxUSE_IFF=yes'
8333 ac_cv_use_iff
='wxUSE_IFF=no'
8338 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8339 if test "x$LINE" != x
; then
8340 eval "DEFAULT_$LINE"
8345 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8350 eval "$ac_cv_use_iff"
8351 if test "$no_cache" != 1; then
8352 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8355 if test "$wxUSE_IFF" = yes; then
8356 echo "$ac_t""yes" 1>&6
8358 echo "$ac_t""no" 1>&6
8362 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8363 echo "configure:8364: checking for --enable-pnm" >&5
8365 # Check whether --enable-pnm or --disable-pnm was given.
8366 if test "${enable_pnm+set}" = set; then
8367 enableval
="$enable_pnm"
8369 if test "$enableval" = yes; then
8370 ac_cv_use_pnm
='wxUSE_PNM=yes'
8372 ac_cv_use_pnm
='wxUSE_PNM=no'
8377 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8378 if test "x$LINE" != x
; then
8379 eval "DEFAULT_$LINE"
8384 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8389 eval "$ac_cv_use_pnm"
8390 if test "$no_cache" != 1; then
8391 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8394 if test "$wxUSE_PNM" = yes; then
8395 echo "$ac_t""yes" 1>&6
8397 echo "$ac_t""no" 1>&6
8401 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8402 echo "configure:8403: checking for --enable-xpm" >&5
8404 # Check whether --enable-xpm or --disable-xpm was given.
8405 if test "${enable_xpm+set}" = set; then
8406 enableval
="$enable_xpm"
8408 if test "$enableval" = yes; then
8409 ac_cv_use_xpm
='wxUSE_XPM=yes'
8411 ac_cv_use_xpm
='wxUSE_XPM=no'
8416 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8417 if test "x$LINE" != x
; then
8418 eval "DEFAULT_$LINE"
8423 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8428 eval "$ac_cv_use_xpm"
8429 if test "$no_cache" != 1; then
8430 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8433 if test "$wxUSE_XPM" = yes; then
8434 echo "$ac_t""yes" 1>&6
8436 echo "$ac_t""no" 1>&6
8440 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8441 echo "configure:8442: checking for --enable-ico_cur" >&5
8443 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8444 if test "${enable_ico_cur+set}" = set; then
8445 enableval
="$enable_ico_cur"
8447 if test "$enableval" = yes; then
8448 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8450 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8455 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8456 if test "x$LINE" != x
; then
8457 eval "DEFAULT_$LINE"
8462 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8467 eval "$ac_cv_use_ico_cur"
8468 if test "$no_cache" != 1; then
8469 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8472 if test "$wxUSE_ICO_CUR" = yes; then
8473 echo "$ac_t""yes" 1>&6
8475 echo "$ac_t""no" 1>&6
8482 echo "saving argument cache $wx_arg_cache_file"
8483 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8487 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8488 echo "configure:8489: checking for toolkit" >&5
8490 if test "$wxUSE_GUI" = "yes"; then
8492 if test "$USE_BEOS" = 1; then
8493 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8496 if test "$TOOLKIT_GIVEN" = 1; then
8497 for toolkit
in `echo $ALL_TOOLKITS`; do
8499 eval "value=\$${var}"
8500 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8503 for toolkit
in `echo $ALL_TOOLKITS`; do
8504 if test "$has_toolkit_in_cache" != 1; then
8505 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8507 var
=DEFAULT_wxUSE_
$toolkit
8509 eval "wxUSE_$toolkit=\$${var}"
8513 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8514 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8517 *-pc-os2_emx | *-pc-os2-emx )
8518 # PATH_IFS is autodetected by OS/2's configure (usually ';')
8519 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8528 case "$NUM_TOOLKITS" in
8532 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8535 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8538 for toolkit
in `echo $ALL_TOOLKITS`; do
8540 eval "value=\$${var}"
8541 if test "x$value" != x
; then
8542 cache_var
=CACHE_
$toolkit
8543 eval "cache=\$${cache_var}"
8544 if test "$cache" = 1; then
8545 echo "$var=$value" >> ${wx_arg_cache_file}
8547 if test "$value" = 1; then
8548 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8549 echo "$ac_t""$toolkit_echo" 1>&6
8555 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8559 cat > confcache
<<\EOF
8560 # This file is a shell script that caches the results of configure
8561 # tests run on this system so they can be shared between configure
8562 # scripts and configure runs. It is not useful on other systems.
8563 # If it contains results you don't want to keep, you may remove or edit it.
8565 # By default, configure uses ./config.cache as the cache file,
8566 # creating it if it does not exist already. You can give configure
8567 # the --cache-file=FILE option to use a different cache file; that is
8568 # what configure does when it calls configure scripts in
8569 # subdirectories, so they share the cache.
8570 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8571 # config.status only pays attention to the cache file if you give it the
8572 # --recheck option to rerun configure.
8575 # The following way of writing the cache mishandles newlines in values,
8576 # but we know of no workaround that is simple, portable, and efficient.
8577 # So, don't put newlines in cache variables' values.
8578 # Ultrix sh set writes to stderr and can't be redirected directly,
8579 # and sets the high bit in the cache file unless we assign to the vars.
8581 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8583 # `set' does not quote correctly, so add quotes (double-quote substitution
8584 # turns \\\\ into \\, and sed turns \\ into \).
8586 -e "s/'/'\\\\''/g" \
8587 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8590 # `set' quotes correctly as required by POSIX, so do not add quotes.
8591 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8594 if cmp -s $cache_file confcache
; then
8597 if test -w $cache_file; then
8598 echo "updating cache $cache_file"
8599 cat confcache
> $cache_file
8601 echo "not updating unwritable cache $cache_file"
8607 if test "$build" != "$host" ; then
8608 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 ; then
8612 RANLIB
=$host_alias-ranlib
8613 DLLTOOL
=$host_alias-dlltool
8614 RESCOMP
=$host_alias-windres
8617 STRIP
=$host_alias-strip
8619 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8623 # Extract the first word of "gcc", so it can be a program name with args.
8624 set dummy gcc
; ac_word
=$2
8625 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8626 echo "configure:8627: checking for $ac_word" >&5
8627 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8628 echo $ac_n "(cached) $ac_c" 1>&6
8630 if test -n "$CC"; then
8631 ac_cv_prog_CC
="$CC" # Let the user override the test.
8633 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8635 for ac_dir
in $ac_dummy; do
8636 test -z "$ac_dir" && ac_dir
=.
8637 if test -f $ac_dir/$ac_word; then
8646 if test -n "$CC"; then
8647 echo "$ac_t""$CC" 1>&6
8649 echo "$ac_t""no" 1>&6
8652 if test -z "$CC"; then
8653 # Extract the first word of "cc", so it can be a program name with args.
8654 set dummy cc
; ac_word
=$2
8655 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8656 echo "configure:8657: checking for $ac_word" >&5
8657 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8658 echo $ac_n "(cached) $ac_c" 1>&6
8660 if test -n "$CC"; then
8661 ac_cv_prog_CC
="$CC" # Let the user override the test.
8663 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8666 for ac_dir
in $ac_dummy; do
8667 test -z "$ac_dir" && ac_dir
=.
8668 if test -f $ac_dir/$ac_word; then
8669 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8670 ac_prog_rejected
=yes
8678 if test $ac_prog_rejected = yes; then
8679 # We found a bogon in the path, so make sure we never use it.
8680 set dummy
$ac_cv_prog_CC
8682 if test $# -gt 0; then
8683 # We chose a different compiler from the bogus one.
8684 # However, it has the same basename, so the bogon will be chosen
8685 # first if we set CC to just the basename; use the full file name.
8687 set dummy
"$ac_dir/$ac_word" "$@"
8695 if test -n "$CC"; then
8696 echo "$ac_t""$CC" 1>&6
8698 echo "$ac_t""no" 1>&6
8701 if test -z "$CC"; then
8702 case "`uname -s`" in
8704 # Extract the first word of "cl", so it can be a program name with args.
8705 set dummy cl
; ac_word
=$2
8706 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8707 echo "configure:8708: checking for $ac_word" >&5
8708 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8709 echo $ac_n "(cached) $ac_c" 1>&6
8711 if test -n "$CC"; then
8712 ac_cv_prog_CC
="$CC" # Let the user override the test.
8714 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8716 for ac_dir
in $ac_dummy; do
8717 test -z "$ac_dir" && ac_dir
=.
8718 if test -f $ac_dir/$ac_word; then
8727 if test -n "$CC"; then
8728 echo "$ac_t""$CC" 1>&6
8730 echo "$ac_t""no" 1>&6
8735 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8738 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8739 echo "configure:8740: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8742 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8743 ac_cpp
='$CPP $CPPFLAGS'
8744 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8745 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8746 cross_compiling
=$ac_cv_prog_cc_cross
8748 cat > conftest.
$ac_ext << EOF
8750 #line 8751 "configure"
8751 #include "confdefs.h"
8755 if { (eval echo configure
:8756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8756 ac_cv_prog_cc_works
=yes
8757 # If we can't run a trivial program, we are probably using a cross compiler.
8758 if (.
/conftest
; exit) 2>/dev
/null
; then
8759 ac_cv_prog_cc_cross
=no
8761 ac_cv_prog_cc_cross
=yes
8764 echo "configure: failed program was:" >&5
8765 cat conftest.
$ac_ext >&5
8766 ac_cv_prog_cc_works
=no
8770 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8771 ac_cpp
='$CPP $CPPFLAGS'
8772 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8773 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8774 cross_compiling
=$ac_cv_prog_cc_cross
8776 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8777 if test $ac_cv_prog_cc_works = no
; then
8778 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8780 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8781 echo "configure:8782: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8782 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8783 cross_compiling
=$ac_cv_prog_cc_cross
8785 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8786 echo "configure:8787: checking whether we are using GNU C" >&5
8787 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8788 echo $ac_n "(cached) $ac_c" 1>&6
8790 cat > conftest.c
<<EOF
8795 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8802 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8804 if test $ac_cv_prog_gcc = yes; then
8810 ac_test_CFLAGS
="${CFLAGS+set}"
8811 ac_save_CFLAGS
="$CFLAGS"
8813 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8814 echo "configure:8815: checking whether ${CC-cc} accepts -g" >&5
8815 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8816 echo $ac_n "(cached) $ac_c" 1>&6
8818 echo 'void f(){}' > conftest.c
8819 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8828 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8829 if test "$ac_test_CFLAGS" = set; then
8830 CFLAGS
="$ac_save_CFLAGS"
8831 elif test $ac_cv_prog_cc_g = yes; then
8832 if test "$GCC" = yes; then
8838 if test "$GCC" = yes; then
8846 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8848 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8849 echo "configure:8850: checking how to run the C preprocessor" >&5
8850 # On Suns, sometimes $CPP names a directory.
8851 if test -n "$CPP" && test -d "$CPP"; then
8854 if test -z "$CPP"; then
8855 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8856 echo $ac_n "(cached) $ac_c" 1>&6
8858 # This must be in double quotes, not single quotes, because CPP may get
8859 # substituted into the Makefile and "${CC-cc}" will confuse make.
8861 # On the NeXT, cc -E runs the code through the compiler's parser,
8862 # not just through cpp.
8863 cat > conftest.
$ac_ext <<EOF
8864 #line 8865 "configure"
8865 #include "confdefs.h"
8869 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8870 { (eval echo configure
:8871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8871 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8872 if test -z "$ac_err"; then
8876 echo "configure: failed program was:" >&5
8877 cat conftest.
$ac_ext >&5
8879 CPP
="${CC-cc} -E -traditional-cpp"
8880 cat > conftest.
$ac_ext <<EOF
8881 #line 8882 "configure"
8882 #include "confdefs.h"
8886 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8887 { (eval echo configure
:8888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8888 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8889 if test -z "$ac_err"; then
8893 echo "configure: failed program was:" >&5
8894 cat conftest.
$ac_ext >&5
8896 CPP
="${CC-cc} -nologo -E"
8897 cat > conftest.
$ac_ext <<EOF
8898 #line 8899 "configure"
8899 #include "confdefs.h"
8903 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8904 { (eval echo configure
:8905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8905 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8906 if test -z "$ac_err"; then
8910 echo "configure: failed program was:" >&5
8911 cat conftest.
$ac_ext >&5
8920 ac_cv_prog_CPP
="$CPP"
8922 CPP
="$ac_cv_prog_CPP"
8924 ac_cv_prog_CPP
="$CPP"
8926 echo "$ac_t""$CPP" 1>&6
8928 if test $ac_cv_prog_gcc = yes; then
8929 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8930 echo "configure:8931: checking whether ${CC-cc} needs -traditional" >&5
8931 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8932 echo $ac_n "(cached) $ac_c" 1>&6
8934 ac_pattern
="Autoconf.*'x'"
8935 cat > conftest.
$ac_ext <<EOF
8936 #line 8937 "configure"
8937 #include "confdefs.h"
8941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8942 egrep "$ac_pattern" >/dev
/null
2>&1; then
8944 ac_cv_prog_gcc_traditional
=yes
8947 ac_cv_prog_gcc_traditional
=no
8952 if test $ac_cv_prog_gcc_traditional = no
; then
8953 cat > conftest.
$ac_ext <<EOF
8954 #line 8955 "configure"
8955 #include "confdefs.h"
8959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8960 egrep "$ac_pattern" >/dev
/null
2>&1; then
8962 ac_cv_prog_gcc_traditional
=yes
8969 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8970 if test $ac_cv_prog_gcc_traditional = yes; then
8971 CC
="$CC -traditional"
8978 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8979 ac_cpp
='$CXXCPP $CPPFLAGS'
8980 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8981 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8982 cross_compiling
=$ac_cv_prog_cxx_cross
8985 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8987 # Extract the first word of "$ac_prog", so it can be a program name with args.
8988 set dummy
$ac_prog; ac_word
=$2
8989 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8990 echo "configure:8991: checking for $ac_word" >&5
8991 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8992 echo $ac_n "(cached) $ac_c" 1>&6
8994 if test -n "$CXX"; then
8995 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8997 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8999 for ac_dir
in $ac_dummy; do
9000 test -z "$ac_dir" && ac_dir
=.
9001 if test -f $ac_dir/$ac_word; then
9002 ac_cv_prog_CXX
="$ac_prog"
9009 CXX
="$ac_cv_prog_CXX"
9010 if test -n "$CXX"; then
9011 echo "$ac_t""$CXX" 1>&6
9013 echo "$ac_t""no" 1>&6
9016 test -n "$CXX" && break
9018 test -n "$CXX" || CXX
="gcc"
9021 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9022 echo "configure:9023: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9025 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9026 ac_cpp
='$CXXCPP $CPPFLAGS'
9027 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9028 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9029 cross_compiling
=$ac_cv_prog_cxx_cross
9031 cat > conftest.
$ac_ext << EOF
9033 #line 9034 "configure"
9034 #include "confdefs.h"
9036 int main(){return(0);}
9038 if { (eval echo configure
:9039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9039 ac_cv_prog_cxx_works
=yes
9040 # If we can't run a trivial program, we are probably using a cross compiler.
9041 if (.
/conftest
; exit) 2>/dev
/null
; then
9042 ac_cv_prog_cxx_cross
=no
9044 ac_cv_prog_cxx_cross
=yes
9047 echo "configure: failed program was:" >&5
9048 cat conftest.
$ac_ext >&5
9049 ac_cv_prog_cxx_works
=no
9053 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9054 ac_cpp
='$CXXCPP $CPPFLAGS'
9055 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9056 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9057 cross_compiling
=$ac_cv_prog_cxx_cross
9059 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9060 if test $ac_cv_prog_cxx_works = no
; then
9061 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9063 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9064 echo "configure:9065: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9065 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9066 cross_compiling
=$ac_cv_prog_cxx_cross
9068 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9069 echo "configure:9070: checking whether we are using GNU C++" >&5
9070 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9071 echo $ac_n "(cached) $ac_c" 1>&6
9073 cat > conftest.C
<<EOF
9078 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9085 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9087 if test $ac_cv_prog_gxx = yes; then
9093 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9094 ac_save_CXXFLAGS
="$CXXFLAGS"
9096 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9097 echo "configure:9098: checking whether ${CXX-g++} accepts -g" >&5
9098 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9099 echo $ac_n "(cached) $ac_c" 1>&6
9101 echo 'void f(){}' > conftest.cc
9102 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9103 ac_cv_prog_cxx_g
=yes
9111 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9112 if test "$ac_test_CXXFLAGS" = set; then
9113 CXXFLAGS
="$ac_save_CXXFLAGS"
9114 elif test $ac_cv_prog_cxx_g = yes; then
9115 if test "$GXX" = yes; then
9121 if test "$GXX" = yes; then
9128 for ac_declaration
in \
9130 '#include <stdlib.h>' \
9131 'extern "C" void std::exit (int) throw (); using std::exit;' \
9132 'extern "C" void std::exit (int); using std::exit;' \
9133 'extern "C" void exit (int) throw ();' \
9134 'extern "C" void exit (int);' \
9137 cat > conftest.
$ac_ext <<EOF
9138 #line 9139 "configure"
9139 #include "confdefs.h"
9146 if { (eval echo configure
:9147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9149 echo "configure: failed program was:" >&5
9150 cat conftest.
$ac_ext >&5
9155 cat > conftest.
$ac_ext <<EOF
9156 #line 9157 "configure"
9157 #include "confdefs.h"
9163 if { (eval echo configure
:9164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9167 echo "configure: failed program was:" >&5
9168 cat conftest.
$ac_ext >&5
9172 if test -n "$ac_declaration"; then
9173 echo '#ifdef __cplusplus' >>confdefs.h
9174 echo $ac_declaration >>confdefs.h
9175 echo '#endif' >>confdefs.h
9180 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
9183 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9184 ac_cpp
='$CPP $CPPFLAGS'
9185 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9186 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9187 cross_compiling
=$ac_cv_prog_cc_cross
9190 # Extract the first word of "ranlib", so it can be a program name with args.
9191 set dummy ranlib
; ac_word
=$2
9192 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9193 echo "configure:9194: checking for $ac_word" >&5
9194 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9195 echo $ac_n "(cached) $ac_c" 1>&6
9197 if test -n "$RANLIB"; then
9198 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9200 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9202 for ac_dir
in $ac_dummy; do
9203 test -z "$ac_dir" && ac_dir
=.
9204 if test -f $ac_dir/$ac_word; then
9205 ac_cv_prog_RANLIB
="ranlib"
9210 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9213 RANLIB
="$ac_cv_prog_RANLIB"
9214 if test -n "$RANLIB"; then
9215 echo "$ac_t""$RANLIB" 1>&6
9217 echo "$ac_t""no" 1>&6
9221 # Extract the first word of "ar", so it can be a program name with args.
9222 set dummy
ar; ac_word
=$2
9223 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9224 echo "configure:9225: checking for $ac_word" >&5
9225 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9226 echo $ac_n "(cached) $ac_c" 1>&6
9228 if test -n "$AR"; then
9229 ac_cv_prog_AR
="$AR" # Let the user override the test.
9231 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9233 for ac_dir
in $ac_dummy; do
9234 test -z "$ac_dir" && ac_dir
=.
9235 if test -f $ac_dir/$ac_word; then
9241 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9245 if test -n "$AR"; then
9246 echo "$ac_t""$AR" 1>&6
9248 echo "$ac_t""no" 1>&6
9252 # Find a good install program. We prefer a C program (faster),
9253 # so one script is as good as another. But avoid the broken or
9254 # incompatible versions:
9255 # SysV /etc/install, /usr/sbin/install
9256 # SunOS /usr/etc/install
9257 # IRIX /sbin/install
9259 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9260 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9261 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9262 # ./install, which can be erroneously created by make from ./install.sh.
9263 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9264 echo "configure:9265: checking for a BSD compatible install" >&5
9265 if test -z "$INSTALL"; then
9266 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9267 echo $ac_n "(cached) $ac_c" 1>&6
9269 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9270 for ac_dir
in $PATH; do
9271 # Account for people who put trailing slashes in PATH elements.
9273 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9275 # OSF1 and SCO ODT 3.0 have their own names for install.
9276 # Don't use installbsd from OSF since it installs stuff as root
9278 for ac_prog
in ginstall scoinst
install; do
9279 if test -f $ac_dir/$ac_prog; then
9280 if test $ac_prog = install &&
9281 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9282 # AIX install. It has an incompatible calling convention.
9285 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9296 if test "${ac_cv_path_install+set}" = set; then
9297 INSTALL
="$ac_cv_path_install"
9299 # As a last resort, use the slow shell script. We don't cache a
9300 # path for INSTALL within a source directory, because that will
9301 # break other packages using the cache if that directory is
9302 # removed, or if the path is relative.
9303 INSTALL
="$ac_install_sh"
9306 echo "$ac_t""$INSTALL" 1>&6
9308 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9309 # It thinks the first close brace ends the variable substitution.
9310 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9312 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9314 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9319 INSTALL_PROGRAM
="cp -fp"
9320 INSTALL_DATA
="cp -fp"
9326 # Extract the first word of "strip", so it can be a program name with args.
9327 set dummy strip
; ac_word
=$2
9328 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9329 echo "configure:9330: checking for $ac_word" >&5
9330 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9331 echo $ac_n "(cached) $ac_c" 1>&6
9333 if test -n "$STRIP"; then
9334 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9336 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9338 for ac_dir
in $ac_dummy; do
9339 test -z "$ac_dir" && ac_dir
=.
9340 if test -f $ac_dir/$ac_word; then
9341 ac_cv_prog_STRIP
="strip"
9346 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9349 STRIP
="$ac_cv_prog_STRIP"
9350 if test -n "$STRIP"; then
9351 echo "$ac_t""$STRIP" 1>&6
9353 echo "$ac_t""no" 1>&6
9357 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9358 echo "configure:9359: checking if make is GNU make" >&5
9359 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9360 echo $ac_n "(cached) $ac_c" 1>&6
9363 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9365 wx_cv_prog_makeisgnu
="yes"
9367 wx_cv_prog_makeisgnu
="no"
9372 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9374 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9382 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9383 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9384 echo "configure:9385: checking if make supports VPATH" >&5
9385 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9386 echo $ac_n "(cached) $ac_c" 1>&6
9389 cat - << EOF > confMake
9395 if test ! -d sub
; then
9398 echo dummy
> sub
/file
9399 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9401 rm -f sub
/file check final_file confMake
9403 if test "$RESULT" = 0; then
9404 wx_cv_prog_makevpath
="yes"
9406 wx_cv_prog_makevpath
="no"
9411 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9413 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9414 { echo "configure: error:
9415 You need a make-utility that is able to use the variable
9417 If your version of make does not support VPATH correctly,
9418 please install GNU-make (possibly as gmake), and start
9419 configure with the following command:
9420 export MAKE=gmake; ./configure for sh-type shells
9421 setenv MAKE gmake; ./configure for csh-type shells
9422 Also please do remember to use gmake in this case every time
9423 you are trying to compile.
9426 for ac_prog
in 'bison -y' byacc
9428 # Extract the first word of "$ac_prog", so it can be a program name with args.
9429 set dummy
$ac_prog; ac_word
=$2
9430 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9431 echo "configure:9432: checking for $ac_word" >&5
9432 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9433 echo $ac_n "(cached) $ac_c" 1>&6
9435 if test -n "$YACC"; then
9436 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9438 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9440 for ac_dir
in $ac_dummy; do
9441 test -z "$ac_dir" && ac_dir
=.
9442 if test -f $ac_dir/$ac_word; then
9443 ac_cv_prog_YACC
="$ac_prog"
9450 YACC
="$ac_cv_prog_YACC"
9451 if test -n "$YACC"; then
9452 echo "$ac_t""$YACC" 1>&6
9454 echo "$ac_t""no" 1>&6
9457 test -n "$YACC" && break
9459 test -n "$YACC" || YACC
="yacc"
9462 # Extract the first word of "flex", so it can be a program name with args.
9463 set dummy flex
; ac_word
=$2
9464 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9465 echo "configure:9466: checking for $ac_word" >&5
9466 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9467 echo $ac_n "(cached) $ac_c" 1>&6
9469 if test -n "$LEX"; then
9470 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9472 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9474 for ac_dir
in $ac_dummy; do
9475 test -z "$ac_dir" && ac_dir
=.
9476 if test -f $ac_dir/$ac_word; then
9477 ac_cv_prog_LEX
="flex"
9482 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9485 LEX
="$ac_cv_prog_LEX"
9486 if test -n "$LEX"; then
9487 echo "$ac_t""$LEX" 1>&6
9489 echo "$ac_t""no" 1>&6
9492 if test -z "$LEXLIB"
9498 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9499 echo "configure:9500: checking for yywrap in -l$ac_lib" >&5
9500 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9501 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9502 echo $ac_n "(cached) $ac_c" 1>&6
9504 ac_save_LIBS
="$LIBS"
9505 LIBS
="-l$ac_lib $LIBS"
9506 cat > conftest.
$ac_ext <<EOF
9507 #line 9508 "configure"
9508 #include "confdefs.h"
9509 /* Override any gcc2 internal prototype to avoid an error. */
9510 /* We use char because int might match the return type of a gcc2
9511 builtin and then its argument prototype would still apply. */
9518 if { (eval echo configure
:9519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9520 eval "ac_cv_lib_$ac_lib_var=yes"
9522 echo "configure: failed program was:" >&5
9523 cat conftest.
$ac_ext >&5
9525 eval "ac_cv_lib_$ac_lib_var=no"
9528 LIBS
="$ac_save_LIBS"
9531 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9532 echo "$ac_t""yes" 1>&6
9535 echo "$ac_t""no" 1>&6
9541 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9542 echo "configure:9543: checking whether ln -s works" >&5
9543 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9544 echo $ac_n "(cached) $ac_c" 1>&6
9547 if ln -s X conftestdata
2>/dev
/null
9550 ac_cv_prog_LN_S
="ln -s"
9555 LN_S
="$ac_cv_prog_LN_S"
9556 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9557 echo "$ac_t""yes" 1>&6
9559 echo "$ac_t""no" 1>&6
9565 /usr/local/include \
9567 /usr/Motif-1.2/include \
9568 /usr/Motif-2.1/include \
9570 /usr/include/Motif1.2 \
9571 /opt/xpm/include/X11 \
9572 /opt/GBxpm/include/ \
9573 /opt/GBxpm/X11/include/ \
9575 /usr/Motif1.2/include \
9577 /usr/openwin/include \
9581 /usr/X11R6/include \
9582 /usr/X11R6.4/include \
9583 /usr/X11R5/include \
9584 /usr/X11R4/include \
9586 /usr/include/X11R6 \
9587 /usr/include/X11R5 \
9588 /usr/include/X11R4 \
9590 /usr/local/X11R6/include \
9591 /usr/local/X11R5/include \
9592 /usr/local/X11R4/include \
9594 /usr/local/include/X11R6 \
9595 /usr/local/include/X11R5 \
9596 /usr/local/include/X11R4 \
9600 /usr/local/X11/include \
9601 /usr/local/include/X11 \
9605 /usr/XFree86/include/X11 \
9607 X:/XFree86/include \
9608 X:/XFree86/include/X11 \
9611 /usr/local/include/gtk \
9613 /usr/local/include/glib \
9616 /usr/local/include/qt \
9618 /usr/include/windows \
9620 /usr/local/include/wine \
9622 /usr/unsupported/include \
9623 /usr/athena/include \
9624 /usr/local/x11r5/include \
9625 /usr/lpp/Xamples/include \
9627 /usr/openwin/share/include \
9631 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
9634 cat > confcache
<<\EOF
9635 # This file is a shell script that caches the results of configure
9636 # tests run on this system so they can be shared between configure
9637 # scripts and configure runs. It is not useful on other systems.
9638 # If it contains results you don't want to keep, you may remove or edit it.
9640 # By default, configure uses ./config.cache as the cache file,
9641 # creating it if it does not exist already. You can give configure
9642 # the --cache-file=FILE option to use a different cache file; that is
9643 # what configure does when it calls configure scripts in
9644 # subdirectories, so they share the cache.
9645 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9646 # config.status only pays attention to the cache file if you give it the
9647 # --recheck option to rerun configure.
9650 # The following way of writing the cache mishandles newlines in values,
9651 # but we know of no workaround that is simple, portable, and efficient.
9652 # So, don't put newlines in cache variables' values.
9653 # Ultrix sh set writes to stderr and can't be redirected directly,
9654 # and sets the high bit in the cache file unless we assign to the vars.
9656 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9658 # `set' does not quote correctly, so add quotes (double-quote substitution
9659 # turns \\\\ into \\, and sed turns \\ into \).
9661 -e "s/'/'\\\\''/g" \
9662 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9665 # `set' quotes correctly as required by POSIX, so do not add quotes.
9666 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9669 if cmp -s $cache_file confcache
; then
9672 if test -w $cache_file; then
9673 echo "updating cache $cache_file"
9674 cat confcache
> $cache_file
9676 echo "not updating unwritable cache $cache_file"
9685 if test "$wxUSE_REGEX" != "no"; then
9686 cat >> confdefs.h
<<\EOF
9687 #define wxUSE_REGEX 1
9691 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9692 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
9693 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9694 echo "configure:9695: checking for regex.h" >&5
9695 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9696 echo $ac_n "(cached) $ac_c" 1>&6
9698 cat > conftest.
$ac_ext <<EOF
9699 #line 9700 "configure"
9700 #include "confdefs.h"
9703 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9704 { (eval echo configure
:9705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9705 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9706 if test -z "$ac_err"; then
9708 eval "ac_cv_header_$ac_safe=yes"
9711 echo "configure: failed program was:" >&5
9712 cat conftest.
$ac_ext >&5
9714 eval "ac_cv_header_$ac_safe=no"
9718 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9719 echo "$ac_t""yes" 1>&6
9720 for ac_func
in regcomp
9722 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9723 echo "configure:9724: checking for $ac_func" >&5
9724 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9725 echo $ac_n "(cached) $ac_c" 1>&6
9727 cat > conftest.
$ac_ext <<EOF
9728 #line 9729 "configure"
9729 #include "confdefs.h"
9730 /* System header to define __stub macros and hopefully few prototypes,
9731 which can conflict with char $ac_func(); below. */
9733 /* Override any gcc2 internal prototype to avoid an error. */
9734 /* We use char because int might match the return type of a gcc2
9735 builtin and then its argument prototype would still apply. */
9740 /* The GNU C library defines this for functions which it implements
9741 to always fail with ENOSYS. Some functions are actually named
9742 something starting with __ and the normal name is an alias. */
9743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9751 if { (eval echo configure
:9752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9753 eval "ac_cv_func_$ac_func=yes"
9755 echo "configure: failed program was:" >&5
9756 cat conftest.
$ac_ext >&5
9758 eval "ac_cv_func_$ac_func=no"
9763 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9764 echo "$ac_t""yes" 1>&6
9765 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9766 cat >> confdefs.h
<<EOF
9767 #define $ac_tr_func 1
9771 echo "$ac_t""no" 1>&6
9776 echo "$ac_t""no" 1>&6
9780 if test "x$ac_cv_func_regcomp" != "xyes"; then
9781 if test "$wxUSE_REGEX" = "sys" ; then
9782 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9784 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9792 if test "$wxUSE_REGEX" = "builtin" ; then
9793 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9800 if test "$wxUSE_ZLIB" != "no" ; then
9801 cat >> confdefs.h
<<\EOF
9802 #define wxUSE_ZLIB 1
9806 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9807 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9808 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9809 echo "configure:9810: checking for zlib.h" >&5
9810 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9811 echo $ac_n "(cached) $ac_c" 1>&6
9813 cat > conftest.
$ac_ext <<EOF
9814 #line 9815 "configure"
9815 #include "confdefs.h"
9818 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9819 { (eval echo configure
:9820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9820 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9821 if test -z "$ac_err"; then
9823 eval "ac_cv_header_$ac_safe=yes"
9826 echo "configure: failed program was:" >&5
9827 cat conftest.
$ac_ext >&5
9829 eval "ac_cv_header_$ac_safe=no"
9833 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9834 echo "$ac_t""yes" 1>&6
9835 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9836 echo "configure:9837: checking for deflate in -lz" >&5
9837 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9838 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9839 echo $ac_n "(cached) $ac_c" 1>&6
9841 ac_save_LIBS
="$LIBS"
9843 cat > conftest.
$ac_ext <<EOF
9844 #line 9845 "configure"
9845 #include "confdefs.h"
9846 /* Override any gcc2 internal prototype to avoid an error. */
9847 /* We use char because int might match the return type of a gcc2
9848 builtin and then its argument prototype would still apply. */
9855 if { (eval echo configure
:9856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9857 eval "ac_cv_lib_$ac_lib_var=yes"
9859 echo "configure: failed program was:" >&5
9860 cat conftest.
$ac_ext >&5
9862 eval "ac_cv_lib_$ac_lib_var=no"
9865 LIBS
="$ac_save_LIBS"
9868 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9869 echo "$ac_t""yes" 1>&6
9872 echo "$ac_t""no" 1>&6
9876 echo "$ac_t""no" 1>&6
9880 if test "x$ZLIB_LINK" = "x" ; then
9881 if test "$wxUSE_ZLIB" = "sys" ; then
9882 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9884 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9892 if test "$wxUSE_ZLIB" = "builtin" ; then
9893 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9900 if test "$wxUSE_LIBPNG" != "no" ; then
9901 cat >> confdefs.h
<<\EOF
9902 #define wxUSE_LIBPNG 1
9906 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
9907 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
9911 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9912 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9913 wxUSE_LIBPNG
=builtin
9916 if test "$wxUSE_MGL" != 1 ; then
9917 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9918 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9919 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9920 echo "configure:9921: checking for png.h" >&5
9921 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9922 echo $ac_n "(cached) $ac_c" 1>&6
9924 cat > conftest.
$ac_ext <<EOF
9925 #line 9926 "configure"
9926 #include "confdefs.h"
9929 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9930 { (eval echo configure
:9931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9931 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9932 if test -z "$ac_err"; then
9934 eval "ac_cv_header_$ac_safe=yes"
9937 echo "configure: failed program was:" >&5
9938 cat conftest.
$ac_ext >&5
9940 eval "ac_cv_header_$ac_safe=no"
9944 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9945 echo "$ac_t""yes" 1>&6
9946 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9947 echo "configure:9948: checking for png_check_sig in -lpng" >&5
9948 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9949 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9950 echo $ac_n "(cached) $ac_c" 1>&6
9952 ac_save_LIBS
="$LIBS"
9953 LIBS
="-lpng -lz -lm $LIBS"
9954 cat > conftest.
$ac_ext <<EOF
9955 #line 9956 "configure"
9956 #include "confdefs.h"
9957 /* Override any gcc2 internal prototype to avoid an error. */
9958 /* We use char because int might match the return type of a gcc2
9959 builtin and then its argument prototype would still apply. */
9960 char png_check_sig();
9966 if { (eval echo configure
:9967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9968 eval "ac_cv_lib_$ac_lib_var=yes"
9970 echo "configure: failed program was:" >&5
9971 cat conftest.
$ac_ext >&5
9973 eval "ac_cv_lib_$ac_lib_var=no"
9976 LIBS
="$ac_save_LIBS"
9979 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9980 echo "$ac_t""yes" 1>&6
9983 echo "$ac_t""no" 1>&6
9988 echo "$ac_t""no" 1>&6
9992 if test "x$PNG_LINK" = "x" ; then
9993 if test "$wxUSE_LIBPNG" = "sys" ; then
9994 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9996 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9997 wxUSE_LIBPNG
=builtin
10005 if test "$wxUSE_LIBPNG" = "builtin" ; then
10006 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
10009 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
10015 if test "$wxUSE_LIBJPEG" != "no" ; then
10016 cat >> confdefs.h
<<\EOF
10017 #define wxUSE_LIBJPEG 1
10021 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
10022 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
10026 if test "$wxUSE_MGL" != 1 ; then
10027 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
10028 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
10029 echo "configure:10030: checking for jpeglib.h" >&5
10030 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
10031 echo $ac_n "(cached) $ac_c" 1>&6
10033 cat > conftest.
$ac_ext <<EOF
10034 #line 10035 "configure"
10035 #include "confdefs.h"
10037 #undef HAVE_STDLIB_H
10039 #include <jpeglib.h>
10046 if { (eval echo configure
:10047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10048 ac_cv_header_jpeglib_h
=yes
10050 echo "configure: failed program was:" >&5
10051 cat conftest.
$ac_ext >&5
10053 ac_cv_header_jpeglib_h
=no
10060 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
10062 if test "$ac_cv_header_jpeglib_h" = "yes"; then
10063 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
10064 echo "configure:10065: checking for jpeg_read_header in -ljpeg" >&5
10065 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
10066 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10067 echo $ac_n "(cached) $ac_c" 1>&6
10069 ac_save_LIBS
="$LIBS"
10070 LIBS
="-ljpeg $LIBS"
10071 cat > conftest.
$ac_ext <<EOF
10072 #line 10073 "configure"
10073 #include "confdefs.h"
10074 /* Override any gcc2 internal prototype to avoid an error. */
10075 /* We use char because int might match the return type of a gcc2
10076 builtin and then its argument prototype would still apply. */
10077 char jpeg_read_header();
10083 if { (eval echo configure
:10084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10085 eval "ac_cv_lib_$ac_lib_var=yes"
10087 echo "configure: failed program was:" >&5
10088 cat conftest.
$ac_ext >&5
10090 eval "ac_cv_lib_$ac_lib_var=no"
10093 LIBS
="$ac_save_LIBS"
10096 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10097 echo "$ac_t""yes" 1>&6
10098 JPEG_LINK
=" -ljpeg"
10100 echo "$ac_t""no" 1>&6
10105 if test "x$JPEG_LINK" = "x" ; then
10106 if test "$wxUSE_LIBJPEG" = "sys" ; then
10107 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
10109 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
10110 wxUSE_LIBJPEG
=builtin
10118 if test "$wxUSE_LIBJPEG" = "builtin" ; then
10119 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10126 if test "$wxUSE_LIBTIFF" != "no" ; then
10127 cat >> confdefs.h
<<\EOF
10128 #define wxUSE_LIBTIFF 1
10132 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
10133 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
10134 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
10135 echo "configure:10136: checking for tiffio.h" >&5
10136 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10137 echo $ac_n "(cached) $ac_c" 1>&6
10139 cat > conftest.
$ac_ext <<EOF
10140 #line 10141 "configure"
10141 #include "confdefs.h"
10142 #include <tiffio.h>
10144 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10145 { (eval echo configure
:10146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10146 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10147 if test -z "$ac_err"; then
10149 eval "ac_cv_header_$ac_safe=yes"
10152 echo "configure: failed program was:" >&5
10153 cat conftest.
$ac_ext >&5
10155 eval "ac_cv_header_$ac_safe=no"
10159 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10160 echo "$ac_t""yes" 1>&6
10161 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
10162 echo "configure:10163: checking for TIFFError in -ltiff" >&5
10163 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
10164 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10165 echo $ac_n "(cached) $ac_c" 1>&6
10167 ac_save_LIBS
="$LIBS"
10168 LIBS
="-ltiff -lm $LIBS"
10169 cat > conftest.
$ac_ext <<EOF
10170 #line 10171 "configure"
10171 #include "confdefs.h"
10172 /* Override any gcc2 internal prototype to avoid an error. */
10173 /* We use char because int might match the return type of a gcc2
10174 builtin and then its argument prototype would still apply. */
10181 if { (eval echo configure
:10182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10183 eval "ac_cv_lib_$ac_lib_var=yes"
10185 echo "configure: failed program was:" >&5
10186 cat conftest.
$ac_ext >&5
10188 eval "ac_cv_lib_$ac_lib_var=no"
10191 LIBS
="$ac_save_LIBS"
10194 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10195 echo "$ac_t""yes" 1>&6
10196 TIFF_LINK
=" -ltiff"
10198 echo "$ac_t""no" 1>&6
10203 echo "$ac_t""no" 1>&6
10207 if test "x$TIFF_LINK" = "x" ; then
10208 if test "$wxUSE_LIBTIFF" = "sys" ; then
10209 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
10211 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
10212 wxUSE_LIBTIFF
=builtin
10219 if test "$wxUSE_LIBTIFF" = "builtin" ; then
10220 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
10227 if test "$wxUSE_FREETYPE" != "no" ; then
10228 cat >> confdefs.h
<<\EOF
10229 #define wxUSE_FREETYPE 1
10233 if test "$wxUSE_FREETYPE" = "sys" -o "$wxUSE_FREETYPE" = "yes" ; then
10234 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
10235 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
10236 echo "configure:10237: checking for freetype.h" >&5
10237 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10238 echo $ac_n "(cached) $ac_c" 1>&6
10240 cat > conftest.
$ac_ext <<EOF
10241 #line 10242 "configure"
10242 #include "confdefs.h"
10243 #include <freetype.h>
10245 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10246 { (eval echo configure
:10247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10247 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10248 if test -z "$ac_err"; then
10250 eval "ac_cv_header_$ac_safe=yes"
10253 echo "configure: failed program was:" >&5
10254 cat conftest.
$ac_ext >&5
10256 eval "ac_cv_header_$ac_safe=no"
10260 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10261 echo "$ac_t""yes" 1>&6
10262 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
10263 echo "configure:10264: checking for FT_Render_Glyph in -lfreetype" >&5
10264 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
10265 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10266 echo $ac_n "(cached) $ac_c" 1>&6
10268 ac_save_LIBS
="$LIBS"
10269 LIBS
="-lfreetype -lm $LIBS"
10270 cat > conftest.
$ac_ext <<EOF
10271 #line 10272 "configure"
10272 #include "confdefs.h"
10273 /* Override any gcc2 internal prototype to avoid an error. */
10274 /* We use char because int might match the return type of a gcc2
10275 builtin and then its argument prototype would still apply. */
10276 char FT_Render_Glyph();
10282 if { (eval echo configure
:10283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10284 eval "ac_cv_lib_$ac_lib_var=yes"
10286 echo "configure: failed program was:" >&5
10287 cat conftest.
$ac_ext >&5
10289 eval "ac_cv_lib_$ac_lib_var=no"
10292 LIBS
="$ac_save_LIBS"
10295 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10296 echo "$ac_t""yes" 1>&6
10297 FREETYPE_LINK
=" -lfreetype"
10299 echo "$ac_t""no" 1>&6
10304 echo "$ac_t""no" 1>&6
10308 if test "x$FREETYPE_LINK" = "x" ; then
10309 if test "$wxUSE_FREETYPE" = "sys" ; then
10310 { echo "configure: error: system freetype library not found! Use --with-freetype=builtin to use built-in version" 1>&2; exit 1; }
10312 echo "configure: warning: system freetype library not found, will use built-in instead" 1>&2
10313 wxUSE_FREETYPE
=builtin
10320 if test "$wxUSE_FREETYPE" = "builtin" ; then
10321 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
10332 if test "$USE_WIN32" = 1 ; then
10333 for ac_hdr
in w32api.h
10335 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10336 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10337 echo "configure:10338: checking for $ac_hdr" >&5
10338 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10339 echo $ac_n "(cached) $ac_c" 1>&6
10341 cat > conftest.
$ac_ext <<EOF
10342 #line 10343 "configure"
10343 #include "confdefs.h"
10346 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10347 { (eval echo configure
:10348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10348 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10349 if test -z "$ac_err"; then
10351 eval "ac_cv_header_$ac_safe=yes"
10354 echo "configure: failed program was:" >&5
10355 cat conftest.
$ac_ext >&5
10357 eval "ac_cv_header_$ac_safe=no"
10361 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10362 echo "$ac_t""yes" 1>&6
10363 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10364 cat >> confdefs.h
<<EOF
10365 #define $ac_tr_hdr 1
10369 echo "$ac_t""no" 1>&6
10373 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
10374 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10375 echo "configure:10376: checking for windows.h" >&5
10376 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10377 echo $ac_n "(cached) $ac_c" 1>&6
10379 cat > conftest.
$ac_ext <<EOF
10380 #line 10381 "configure"
10381 #include "confdefs.h"
10382 #include <windows.h>
10384 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10385 { (eval echo configure
:10386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10386 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10387 if test -z "$ac_err"; then
10389 eval "ac_cv_header_$ac_safe=yes"
10392 echo "configure: failed program was:" >&5
10393 cat conftest.
$ac_ext >&5
10395 eval "ac_cv_header_$ac_safe=no"
10399 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10400 echo "$ac_t""yes" 1>&6
10403 echo "$ac_t""no" 1>&6
10405 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10410 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
10411 echo "configure:10412: checking if w32api has good enough MSIE support" >&5
10412 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
10413 echo $ac_n "(cached) $ac_c" 1>&6
10416 cat > conftest.
$ac_ext <<EOF
10417 #line 10418 "configure"
10418 #include "confdefs.h"
10419 #include <w32api.h>
10422 #define wxCHECK_W32API_VERSION( major, minor ) \
10423 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
10424 && ( ( __W32API_MAJOR_VERSION > (major) ) \
10425 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
10427 #if !wxCHECK_W32API_VERSION(1,1)
10428 #error You need w32api 1.1 or newer
10433 if { (eval echo configure
:10434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10436 wx_cv_w32api_win32_ie
=yes
10439 echo "configure: failed program was:" >&5
10440 cat conftest.
$ac_ext >&5
10443 wx_cv_w32api_win32_ie
=no
10450 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
10451 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
10452 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
10455 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
10459 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
10460 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
10463 if test "$wxUSE_ODBC" = "yes" ; then
10464 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
10467 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
10468 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
10471 if test "$wxUSE_GUI" = "yes"; then
10480 if test "$wxUSE_MSW" = 1 ; then
10486 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
10490 if test "$wxUSE_GTK" = 1; then
10491 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
10492 echo "configure:10493: checking for GTK+ version" >&5
10494 gtk_version_cached
=1
10495 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
10496 echo $ac_n "(cached) $ac_c" 1>&6
10499 gtk_version_cached
=0
10500 echo "$ac_t""" 1>&6
10503 if test "$wxUSE_THREADS" = "yes"; then
10504 GTK_MODULES
=gthread
10508 if test "x$wxUSE_GTK2" = "xyes"; then
10509 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10510 if test "${with_gtk_prefix+set}" = set; then
10511 withval
="$with_gtk_prefix"
10512 gtk_config_prefix
="$withval"
10514 gtk_config_prefix
=""
10517 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10518 if test "${with_gtk_exec_prefix+set}" = set; then
10519 withval
="$with_gtk_exec_prefix"
10520 gtk_config_exec_prefix
="$withval"
10522 gtk_config_exec_prefix
=""
10525 # Check whether --enable-gtktest or --disable-gtktest was given.
10526 if test "${enable_gtktest+set}" = set; then
10527 enableval
="$enable_gtktest"
10534 for module
in .
$GTK_MODULES
10538 gtk_config_args
="$gtk_config_args gthread"
10543 if test x
$gtk_config_exec_prefix != x
; then
10544 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10545 if test x
${GTK_CONFIG_2_0+set} != xset
; then
10546 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
10549 if test x
$gtk_config_prefix != x
; then
10550 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10551 if test x
${GTK_CONFIG_2_0+set} != xset
; then
10552 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
10556 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
10557 set dummy gtk
-config-2.0
; ac_word
=$2
10558 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10559 echo "configure:10560: checking for $ac_word" >&5
10560 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
10561 echo $ac_n "(cached) $ac_c" 1>&6
10563 case "$GTK_CONFIG_2_0" in
10565 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
10568 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
10571 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10573 for ac_dir
in $ac_dummy; do
10574 test -z "$ac_dir" && ac_dir
=.
10575 if test -f $ac_dir/$ac_word; then
10576 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
10581 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
10585 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
10586 if test -n "$GTK_CONFIG_2_0"; then
10587 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
10589 echo "$ac_t""no" 1>&6
10592 min_gtk_version
=1.3.1
10593 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10594 echo "configure:10595: checking for GTK - version >= $min_gtk_version" >&5
10596 if test "$GTK_CONFIG_2_0" = "no" ; then
10599 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
10600 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
10601 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10602 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10603 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10604 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10605 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10606 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10607 if test "x$enable_gtktest" = "xyes" ; then
10608 ac_save_CFLAGS
="$CFLAGS"
10609 ac_save_LIBS
="$LIBS"
10610 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10611 LIBS
="$GTK_LIBS $LIBS"
10613 if test "$cross_compiling" = yes; then
10614 echo $ac_n "cross compiling; assumed OK... $ac_c"
10616 cat > conftest.
$ac_ext <<EOF
10617 #line 10618 "configure"
10618 #include "confdefs.h"
10620 #include <gtk/gtk.h>
10622 #include <stdlib.h>
10627 int major, minor, micro;
10630 system ("touch conf.gtktest");
10632 /* HP/UX 9 (%@#!) writes to sscanf strings */
10633 tmp_version = g_strdup("$min_gtk_version");
10634 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10635 printf("%s, bad version string\n", "$min_gtk_version");
10639 if ((gtk_major_version != $gtk_config_major_version) ||
10640 (gtk_minor_version != $gtk_config_minor_version) ||
10641 (gtk_micro_version != $gtk_config_micro_version))
10643 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10644 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10645 gtk_major_version, gtk_minor_version, gtk_micro_version);
10646 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
10647 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10648 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10649 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10650 printf("*** required on your system.\n");
10651 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
10652 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
10653 printf("*** before re-running configure\n");
10655 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10656 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10657 (gtk_minor_version != GTK_MINOR_VERSION) ||
10658 (gtk_micro_version != GTK_MICRO_VERSION))
10660 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10661 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10662 printf("*** library (version %d.%d.%d)\n",
10663 gtk_major_version, gtk_minor_version, gtk_micro_version);
10665 #endif /* defined (GTK_MAJOR_VERSION) ... */
10668 if ((gtk_major_version > major) ||
10669 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10670 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10676 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10677 gtk_major_version, gtk_minor_version, gtk_micro_version);
10678 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10679 major, minor, micro);
10680 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10682 printf("*** If you have already installed a sufficiently new version, this error\n");
10683 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
10684 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10685 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
10686 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
10687 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10688 printf("*** so that the correct libraries are found at run-time))\n");
10695 if { (eval echo configure
:10696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10699 echo "configure: failed program was:" >&5
10700 cat conftest.
$ac_ext >&5
10707 CFLAGS
="$ac_save_CFLAGS"
10708 LIBS
="$ac_save_LIBS"
10711 if test "x$no_gtk" = x
; then
10712 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10715 echo "$ac_t""no" 1>&6
10716 if test "$GTK_CONFIG_2_0" = "no" ; then
10717 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
10718 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10719 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
10720 echo "*** full path to gtk-config-2.0."
10722 if test -f conf.gtktest
; then
10725 echo "*** Could not run GTK test program, checking why..."
10726 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10727 LIBS
="$LIBS $GTK_LIBS"
10728 cat > conftest.
$ac_ext <<EOF
10729 #line 10730 "configure"
10730 #include "confdefs.h"
10732 #include <gtk/gtk.h>
10736 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10739 if { (eval echo configure
:10740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10741 echo "*** The test program compiled, but did not run. This usually means"
10742 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10743 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10744 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10745 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10746 echo "*** is required on your system"
10748 echo "*** If you have an old version installed, it is best to remove it, although"
10749 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10751 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10752 echo "*** came with the system with the command"
10754 echo "*** rpm --erase --nodeps gtk gtk-devel"
10756 echo "configure: failed program was:" >&5
10757 cat conftest.
$ac_ext >&5
10759 echo "*** The test program failed to compile or link. See the file config.log for the"
10760 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10761 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10762 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
10765 CFLAGS
="$ac_save_CFLAGS"
10766 LIBS
="$ac_save_LIBS"
10779 if test -z "$wx_cv_lib_gtk"; then
10780 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10781 if test "${with_gtk_prefix+set}" = set; then
10782 withval
="$with_gtk_prefix"
10783 gtk_config_prefix
="$withval"
10785 gtk_config_prefix
=""
10788 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10789 if test "${with_gtk_exec_prefix+set}" = set; then
10790 withval
="$with_gtk_exec_prefix"
10791 gtk_config_exec_prefix
="$withval"
10793 gtk_config_exec_prefix
=""
10796 # Check whether --enable-gtktest or --disable-gtktest was given.
10797 if test "${enable_gtktest+set}" = set; then
10798 enableval
="$enable_gtktest"
10805 for module
in .
$GTK_MODULES
10809 gtk_config_args
="$gtk_config_args gthread"
10814 if test x
$gtk_config_exec_prefix != x
; then
10815 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10816 if test x
${GTK_CONFIG+set} != xset
; then
10817 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10820 if test x
$gtk_config_prefix != x
; then
10821 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10822 if test x
${GTK_CONFIG+set} != xset
; then
10823 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10827 # Extract the first word of "gtk-config", so it can be a program name with args.
10828 set dummy gtk
-config; ac_word
=$2
10829 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10830 echo "configure:10831: checking for $ac_word" >&5
10831 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10832 echo $ac_n "(cached) $ac_c" 1>&6
10834 case "$GTK_CONFIG" in
10836 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10839 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10842 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10844 for ac_dir
in $ac_dummy; do
10845 test -z "$ac_dir" && ac_dir
=.
10846 if test -f $ac_dir/$ac_word; then
10847 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10852 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10856 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10857 if test -n "$GTK_CONFIG"; then
10858 echo "$ac_t""$GTK_CONFIG" 1>&6
10860 echo "$ac_t""no" 1>&6
10863 min_gtk_version
=1.2.7
10864 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10865 echo "configure:10866: checking for GTK - version >= $min_gtk_version" >&5
10867 if test "$GTK_CONFIG" = "no" ; then
10870 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10871 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10872 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10873 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10874 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10875 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10876 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10877 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10878 if test "x$enable_gtktest" = "xyes" ; then
10879 ac_save_CFLAGS
="$CFLAGS"
10880 ac_save_LIBS
="$LIBS"
10881 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10882 LIBS
="$GTK_LIBS $LIBS"
10884 if test "$cross_compiling" = yes; then
10885 echo $ac_n "cross compiling; assumed OK... $ac_c"
10887 cat > conftest.
$ac_ext <<EOF
10888 #line 10889 "configure"
10889 #include "confdefs.h"
10891 #include <gtk/gtk.h>
10893 #include <stdlib.h>
10898 int major, minor, micro;
10901 system ("touch conf.gtktest");
10903 /* HP/UX 9 (%@#!) writes to sscanf strings */
10904 tmp_version = g_strdup("$min_gtk_version");
10905 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10906 printf("%s, bad version string\n", "$min_gtk_version");
10910 if ((gtk_major_version != $gtk_config_major_version) ||
10911 (gtk_minor_version != $gtk_config_minor_version) ||
10912 (gtk_micro_version != $gtk_config_micro_version))
10914 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10915 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10916 gtk_major_version, gtk_minor_version, gtk_micro_version);
10917 printf ("*** was found! If gtk-config was correct, then it is best\n");
10918 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10919 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10920 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10921 printf("*** required on your system.\n");
10922 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10923 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10924 printf("*** before re-running configure\n");
10926 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10927 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10928 (gtk_minor_version != GTK_MINOR_VERSION) ||
10929 (gtk_micro_version != GTK_MICRO_VERSION))
10931 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10932 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10933 printf("*** library (version %d.%d.%d)\n",
10934 gtk_major_version, gtk_minor_version, gtk_micro_version);
10936 #endif /* defined (GTK_MAJOR_VERSION) ... */
10939 if ((gtk_major_version > major) ||
10940 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10941 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10947 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10948 gtk_major_version, gtk_minor_version, gtk_micro_version);
10949 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10950 major, minor, micro);
10951 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10953 printf("*** If you have already installed a sufficiently new version, this error\n");
10954 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10955 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10956 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10957 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10958 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10959 printf("*** so that the correct libraries are found at run-time))\n");
10966 if { (eval echo configure
:10967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10970 echo "configure: failed program was:" >&5
10971 cat conftest.
$ac_ext >&5
10978 CFLAGS
="$ac_save_CFLAGS"
10979 LIBS
="$ac_save_LIBS"
10982 if test "x$no_gtk" = x
; then
10983 echo "$ac_t""yes" 1>&6
10984 wx_cv_lib_gtk
=1.2.7
10986 echo "$ac_t""no" 1>&6
10987 if test "$GTK_CONFIG" = "no" ; then
10988 echo "*** The gtk-config script installed by GTK could not be found"
10989 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10990 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10991 echo "*** full path to gtk-config."
10993 if test -f conf.gtktest
; then
10996 echo "*** Could not run GTK test program, checking why..."
10997 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10998 LIBS
="$LIBS $GTK_LIBS"
10999 cat > conftest.
$ac_ext <<EOF
11000 #line 11001 "configure"
11001 #include "confdefs.h"
11003 #include <gtk/gtk.h>
11007 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11010 if { (eval echo configure
:11011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11012 echo "*** The test program compiled, but did not run. This usually means"
11013 echo "*** that the run-time linker is not finding GTK or finding the wrong"
11014 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
11015 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11016 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11017 echo "*** is required on your system"
11019 echo "*** If you have an old version installed, it is best to remove it, although"
11020 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11022 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
11023 echo "*** came with the system with the command"
11025 echo "*** rpm --erase --nodeps gtk gtk-devel"
11027 echo "configure: failed program was:" >&5
11028 cat conftest.
$ac_ext >&5
11030 echo "*** The test program failed to compile or link. See the file config.log for the"
11031 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
11032 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
11033 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
11036 CFLAGS
="$ac_save_CFLAGS"
11037 LIBS
="$ac_save_LIBS"
11050 if test -z "$wx_cv_lib_gtk"; then
11051 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
11052 if test "${with_gtk_prefix+set}" = set; then
11053 withval
="$with_gtk_prefix"
11054 gtk_config_prefix
="$withval"
11056 gtk_config_prefix
=""
11059 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
11060 if test "${with_gtk_exec_prefix+set}" = set; then
11061 withval
="$with_gtk_exec_prefix"
11062 gtk_config_exec_prefix
="$withval"
11064 gtk_config_exec_prefix
=""
11067 # Check whether --enable-gtktest or --disable-gtktest was given.
11068 if test "${enable_gtktest+set}" = set; then
11069 enableval
="$enable_gtktest"
11076 for module
in .
$GTK_MODULES
11080 gtk_config_args
="$gtk_config_args gthread"
11085 if test x
$gtk_config_exec_prefix != x
; then
11086 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
11087 if test x
${GTK_CONFIG+set} != xset
; then
11088 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
11091 if test x
$gtk_config_prefix != x
; then
11092 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
11093 if test x
${GTK_CONFIG+set} != xset
; then
11094 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
11098 # Extract the first word of "gtk-config", so it can be a program name with args.
11099 set dummy gtk
-config; ac_word
=$2
11100 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11101 echo "configure:11102: checking for $ac_word" >&5
11102 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
11103 echo $ac_n "(cached) $ac_c" 1>&6
11105 case "$GTK_CONFIG" in
11107 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
11110 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
11113 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11115 for ac_dir
in $ac_dummy; do
11116 test -z "$ac_dir" && ac_dir
=.
11117 if test -f $ac_dir/$ac_word; then
11118 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
11123 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
11127 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
11128 if test -n "$GTK_CONFIG"; then
11129 echo "$ac_t""$GTK_CONFIG" 1>&6
11131 echo "$ac_t""no" 1>&6
11134 min_gtk_version
=1.2.3
11135 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
11136 echo "configure:11137: checking for GTK - version >= $min_gtk_version" >&5
11138 if test "$GTK_CONFIG" = "no" ; then
11141 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
11142 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
11143 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
11144 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11145 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
11146 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11147 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
11148 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11149 if test "x$enable_gtktest" = "xyes" ; then
11150 ac_save_CFLAGS
="$CFLAGS"
11151 ac_save_LIBS
="$LIBS"
11152 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11153 LIBS
="$GTK_LIBS $LIBS"
11155 if test "$cross_compiling" = yes; then
11156 echo $ac_n "cross compiling; assumed OK... $ac_c"
11158 cat > conftest.
$ac_ext <<EOF
11159 #line 11160 "configure"
11160 #include "confdefs.h"
11162 #include <gtk/gtk.h>
11164 #include <stdlib.h>
11169 int major, minor, micro;
11172 system ("touch conf.gtktest");
11174 /* HP/UX 9 (%@#!) writes to sscanf strings */
11175 tmp_version = g_strdup("$min_gtk_version");
11176 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11177 printf("%s, bad version string\n", "$min_gtk_version");
11181 if ((gtk_major_version != $gtk_config_major_version) ||
11182 (gtk_minor_version != $gtk_config_minor_version) ||
11183 (gtk_micro_version != $gtk_config_micro_version))
11185 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11186 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11187 gtk_major_version, gtk_minor_version, gtk_micro_version);
11188 printf ("*** was found! If gtk-config was correct, then it is best\n");
11189 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11190 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11191 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11192 printf("*** required on your system.\n");
11193 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
11194 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
11195 printf("*** before re-running configure\n");
11197 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
11198 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11199 (gtk_minor_version != GTK_MINOR_VERSION) ||
11200 (gtk_micro_version != GTK_MICRO_VERSION))
11202 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11203 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11204 printf("*** library (version %d.%d.%d)\n",
11205 gtk_major_version, gtk_minor_version, gtk_micro_version);
11207 #endif /* defined (GTK_MAJOR_VERSION) ... */
11210 if ((gtk_major_version > major) ||
11211 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11212 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11218 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11219 gtk_major_version, gtk_minor_version, gtk_micro_version);
11220 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11221 major, minor, micro);
11222 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11224 printf("*** If you have already installed a sufficiently new version, this error\n");
11225 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
11226 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11227 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
11228 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
11229 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11230 printf("*** so that the correct libraries are found at run-time))\n");
11237 if { (eval echo configure
:11238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11241 echo "configure: failed program was:" >&5
11242 cat conftest.
$ac_ext >&5
11249 CFLAGS
="$ac_save_CFLAGS"
11250 LIBS
="$ac_save_LIBS"
11253 if test "x$no_gtk" = x
; then
11254 echo "$ac_t""yes" 1>&6
11255 wx_cv_lib_gtk
=1.2.3
11257 echo "$ac_t""no" 1>&6
11258 if test "$GTK_CONFIG" = "no" ; then
11259 echo "*** The gtk-config script installed by GTK could not be found"
11260 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
11261 echo "*** your path, or set the GTK_CONFIG environment variable to the"
11262 echo "*** full path to gtk-config."
11264 if test -f conf.gtktest
; then
11267 echo "*** Could not run GTK test program, checking why..."
11268 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11269 LIBS
="$LIBS $GTK_LIBS"
11270 cat > conftest.
$ac_ext <<EOF
11271 #line 11272 "configure"
11272 #include "confdefs.h"
11274 #include <gtk/gtk.h>
11278 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11281 if { (eval echo configure
:11282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11283 echo "*** The test program compiled, but did not run. This usually means"
11284 echo "*** that the run-time linker is not finding GTK or finding the wrong"
11285 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
11286 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11287 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11288 echo "*** is required on your system"
11290 echo "*** If you have an old version installed, it is best to remove it, although"
11291 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11293 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
11294 echo "*** came with the system with the command"
11296 echo "*** rpm --erase --nodeps gtk gtk-devel"
11298 echo "configure: failed program was:" >&5
11299 cat conftest.
$ac_ext >&5
11301 echo "*** The test program failed to compile or link. See the file config.log for the"
11302 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
11303 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
11304 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
11307 CFLAGS
="$ac_save_CFLAGS"
11308 LIBS
="$ac_save_LIBS"
11321 if test -z "$wx_cv_lib_gtk"; then
11324 wx_cv_cflags_gtk
=$GTK_CFLAGS
11325 wx_cv_libs_gtk
=$GTK_LIBS
11332 if test "$gtk_version_cached" = 1; then
11333 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
11336 case "$wx_cv_lib_gtk" in
11344 *) { echo "configure: error:
11345 Please check that gtk-config is in path, the directory
11346 where GTK+ libraries are installed (returned by
11347 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
11348 equivalent variable and GTK+ is version 1.2.3 or above.
11353 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
11354 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
11356 AFMINSTALL
=afminstall
11360 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
11361 echo "configure:11362: checking for gdk_im_open in -lgdk" >&5
11362 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
11363 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11364 echo $ac_n "(cached) $ac_c" 1>&6
11366 ac_save_LIBS
="$LIBS"
11368 cat > conftest.
$ac_ext <<EOF
11369 #line 11370 "configure"
11370 #include "confdefs.h"
11371 /* Override any gcc2 internal prototype to avoid an error. */
11372 /* We use char because int might match the return type of a gcc2
11373 builtin and then its argument prototype would still apply. */
11374 char gdk_im_open();
11380 if { (eval echo configure
:11381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11382 eval "ac_cv_lib_$ac_lib_var=yes"
11384 echo "configure: failed program was:" >&5
11385 cat conftest.
$ac_ext >&5
11387 eval "ac_cv_lib_$ac_lib_var=no"
11390 LIBS
="$ac_save_LIBS"
11393 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11394 echo "$ac_t""yes" 1>&6
11395 cat >> confdefs.h
<<\EOF
11400 echo "$ac_t""no" 1>&6
11405 if test "$wxUSE_MGL" = 1; then
11406 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
11407 echo "configure:11408: checking for SciTech MGL library" >&5
11408 if test "x$MGL_ROOT" = x
; then
11409 echo "$ac_t""not found" 1>&6
11410 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
11412 echo "$ac_t""$MGL_ROOT" 1>&6
11417 mgl_os
=linux
/gcc
/glibc
11423 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
11428 if test "$wxUSE_DEBUG_FLAG" = yes ; then
11429 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
11430 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
11434 if test "x$mgl_lib_type" = x
; then
11435 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
11436 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
11437 mgl_lib_type
=release
11439 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
11443 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
11444 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
11446 AFMINSTALL
=afminstall
11451 if test "$wxUSE_MICROWIN" = 1; then
11452 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
11453 echo "configure:11454: checking for MicroWindows" >&5
11454 if test "x$MICROWINDOWS" = x
; then
11455 echo "$ac_t""not found" 1>&6
11456 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
11458 echo "$ac_t""$MICROWINDOWS" 1>&6
11461 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
11462 echo "$ac_t""MicroWindows' libraries found." 1>&6
11464 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
11467 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
11468 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
11470 AFMINSTALL
=afminstall
11472 GUIDIST
=MICROWIN_DIST
11474 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
11477 if test "$wxUSE_X11" = 1; then
11478 # If we find X, set shell vars x_includes and x_libraries to the
11479 # paths, otherwise set no_x=yes.
11480 # Uses ac_ vars as temps to allow command line to override cache and checks.
11481 # --without-x overrides everything else, but does not touch the cache.
11482 echo $ac_n "checking for X""... $ac_c" 1>&6
11483 echo "configure:11484: checking for X" >&5
11485 # Check whether --with-x or --without-x was given.
11486 if test "${with_x+set}" = set; then
11491 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11492 if test "x$with_x" = xno
; then
11493 # The user explicitly disabled X.
11496 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
11497 # Both variables are already set.
11500 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
11501 echo $ac_n "(cached) $ac_c" 1>&6
11503 # One or both of the vars are not set, and there is no cached value.
11504 ac_x_includes
=NO ac_x_libraries
=NO
11506 if mkdir conftestdir
; then
11508 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
11509 cat > Imakefile
<<'EOF'
11511 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
11513 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11514 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11515 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
11516 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11517 for ac_extension
in a so sl
; do
11518 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
11519 test -f $ac_im_libdir/libX11.
$ac_extension; then
11520 ac_im_usrlibdir
=$ac_im_libdir; break
11523 # Screen out bogus values from the imake configuration. They are
11524 # bogus both because they are the default anyway, and because
11525 # using them would break gcc on systems where it needs fixed includes.
11526 case "$ac_im_incroot" in
11528 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
11530 case "$ac_im_usrlibdir" in
11531 /usr
/lib
| /lib
) ;;
11532 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
11539 if test "$ac_x_includes" = NO
; then
11540 # Guess where to find include files, by looking for this one X11 .h file.
11541 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
11543 # First, try using that file with no special directory specified.
11544 cat > conftest.
$ac_ext <<EOF
11545 #line 11546 "configure"
11546 #include "confdefs.h"
11547 #include <$x_direct_test_include>
11549 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11550 { (eval echo configure
:11551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11551 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11552 if test -z "$ac_err"; then
11554 # We can compile using X headers with no special include directory.
11558 echo "configure: failed program was:" >&5
11559 cat conftest.
$ac_ext >&5
11561 # Look for the header file in a standard set of common directories.
11562 # Check X11 before X11Rn because it is often a symlink to the current release.
11565 /usr
/X
11R
6/include \
11566 /usr
/X
11R
5/include \
11567 /usr
/X
11R
4/include \
11570 /usr
/include
/X11R6 \
11571 /usr
/include
/X11R5 \
11572 /usr
/include
/X11R4 \
11574 /usr
/local
/X
11/include \
11575 /usr
/local
/X
11R
6/include \
11576 /usr
/local
/X
11R
5/include \
11577 /usr
/local
/X
11R
4/include \
11579 /usr
/local
/include
/X11 \
11580 /usr
/local
/include
/X11R6 \
11581 /usr
/local
/include
/X11R5 \
11582 /usr
/local
/include
/X11R4 \
11584 /usr
/X
386/include \
11585 /usr
/x
386/include \
11586 /usr
/XFree
86/include
/X11 \
11589 /usr
/local
/include \
11590 /usr
/unsupported
/include \
11591 /usr
/athena
/include \
11592 /usr
/local
/x
11r
5/include \
11593 /usr
/lpp
/Xamples
/include \
11595 /usr
/openwin
/include \
11596 /usr
/openwin
/share
/include \
11599 if test -r "$ac_dir/$x_direct_test_include"; then
11600 ac_x_includes
=$ac_dir
11606 fi # $ac_x_includes = NO
11608 if test "$ac_x_libraries" = NO
; then
11609 # Check for the libraries.
11611 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
11612 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
11614 # See if we find them without any special options.
11615 # Don't add to $LIBS permanently.
11616 ac_save_LIBS
="$LIBS"
11617 LIBS
="-l$x_direct_test_library $LIBS"
11618 cat > conftest.
$ac_ext <<EOF
11619 #line 11620 "configure"
11620 #include "confdefs.h"
11623 ${x_direct_test_function}()
11626 if { (eval echo configure
:11627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11628 LIBS
="$ac_save_LIBS"
11629 # We can link X programs with no special library path.
11632 echo "configure: failed program was:" >&5
11633 cat conftest.
$ac_ext >&5
11635 LIBS
="$ac_save_LIBS"
11636 # First see if replacing the include by lib works.
11637 # Check X11 before X11Rn because it is often a symlink to the current release.
11638 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
11649 /usr
/local
/X
11/lib \
11650 /usr
/local
/X
11R
6/lib \
11651 /usr
/local
/X
11R
5/lib \
11652 /usr
/local
/X
11R
4/lib \
11654 /usr
/local
/lib
/X11 \
11655 /usr
/local
/lib
/X11R6 \
11656 /usr
/local
/lib
/X11R5 \
11657 /usr
/local
/lib
/X11R4 \
11661 /usr
/XFree
86/lib
/X11 \
11665 /usr
/unsupported
/lib \
11667 /usr
/local
/x
11r
5/lib \
11668 /usr
/lpp
/Xamples
/lib \
11672 /usr
/openwin
/share
/lib \
11675 for ac_extension
in a so sl
; do
11676 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
11677 ac_x_libraries
=$ac_dir
11684 fi # $ac_x_libraries = NO
11686 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
11687 # Didn't find X anywhere. Cache the known absence of X.
11688 ac_cv_have_x
="have_x=no"
11690 # Record where we found X for the cache.
11691 ac_cv_have_x
="have_x=yes \
11692 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
11696 eval "$ac_cv_have_x"
11699 if test "$have_x" != yes; then
11700 echo "$ac_t""$have_x" 1>&6
11703 # If each of the values was on the command line, it overrides each guess.
11704 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11705 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11706 # Update the cache value to reflect the command line values.
11707 ac_cv_have_x
="have_x=yes \
11708 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11709 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
11712 if test "$no_x" = yes; then
11713 # Not all programs may use this symbol, but it does not hurt to define it.
11714 cat >> confdefs.h
<<\EOF
11715 #define X_DISPLAY_MISSING 1
11718 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
11720 if test -n "$x_includes"; then
11721 X_CFLAGS
="$X_CFLAGS -I$x_includes"
11724 # It would also be nice to do this for all -L options, not just this one.
11725 if test -n "$x_libraries"; then
11726 X_LIBS
="$X_LIBS -L$x_libraries"
11727 # For Solaris; some versions of Sun CC require a space after -R and
11728 # others require no space. Words are not sufficient . . . .
11729 case "`(uname -sr) 2>/dev/null`" in
11731 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
11732 echo "configure:11733: checking whether -R must be followed by a space" >&5
11733 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
11734 cat > conftest.
$ac_ext <<EOF
11735 #line 11736 "configure"
11736 #include "confdefs.h"
11742 if { (eval echo configure
:11743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11746 echo "configure: failed program was:" >&5
11747 cat conftest.
$ac_ext >&5
11752 if test $ac_R_nospace = yes; then
11753 echo "$ac_t""no" 1>&6
11754 X_LIBS
="$X_LIBS -R$x_libraries"
11756 LIBS
="$ac_xsave_LIBS -R $x_libraries"
11757 cat > conftest.
$ac_ext <<EOF
11758 #line 11759 "configure"
11759 #include "confdefs.h"
11765 if { (eval echo configure
:11766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11769 echo "configure: failed program was:" >&5
11770 cat conftest.
$ac_ext >&5
11775 if test $ac_R_space = yes; then
11776 echo "$ac_t""yes" 1>&6
11777 X_LIBS
="$X_LIBS -R $x_libraries"
11779 echo "$ac_t""neither works" 1>&6
11782 LIBS
="$ac_xsave_LIBS"
11786 # Check for system-dependent libraries X programs must link with.
11787 # Do this before checking for the system-independent R6 libraries
11788 # (-lICE), since we may need -lsocket or whatever for X linking.
11790 if test "$ISC" = yes; then
11791 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
11793 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
11794 # libraries were built with DECnet support. And karl@cs.umb.edu says
11795 # the Alpha needs dnet_stub (dnet does not exist).
11796 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
11797 echo "configure:11798: checking for dnet_ntoa in -ldnet" >&5
11798 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11799 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11800 echo $ac_n "(cached) $ac_c" 1>&6
11802 ac_save_LIBS
="$LIBS"
11803 LIBS
="-ldnet $LIBS"
11804 cat > conftest.
$ac_ext <<EOF
11805 #line 11806 "configure"
11806 #include "confdefs.h"
11807 /* Override any gcc2 internal prototype to avoid an error. */
11808 /* We use char because int might match the return type of a gcc2
11809 builtin and then its argument prototype would still apply. */
11816 if { (eval echo configure
:11817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11818 eval "ac_cv_lib_$ac_lib_var=yes"
11820 echo "configure: failed program was:" >&5
11821 cat conftest.
$ac_ext >&5
11823 eval "ac_cv_lib_$ac_lib_var=no"
11826 LIBS
="$ac_save_LIBS"
11829 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11830 echo "$ac_t""yes" 1>&6
11831 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
11833 echo "$ac_t""no" 1>&6
11836 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
11837 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
11838 echo "configure:11839: checking for dnet_ntoa in -ldnet_stub" >&5
11839 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11840 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11841 echo $ac_n "(cached) $ac_c" 1>&6
11843 ac_save_LIBS
="$LIBS"
11844 LIBS
="-ldnet_stub $LIBS"
11845 cat > conftest.
$ac_ext <<EOF
11846 #line 11847 "configure"
11847 #include "confdefs.h"
11848 /* Override any gcc2 internal prototype to avoid an error. */
11849 /* We use char because int might match the return type of a gcc2
11850 builtin and then its argument prototype would still apply. */
11857 if { (eval echo configure
:11858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11859 eval "ac_cv_lib_$ac_lib_var=yes"
11861 echo "configure: failed program was:" >&5
11862 cat conftest.
$ac_ext >&5
11864 eval "ac_cv_lib_$ac_lib_var=no"
11867 LIBS
="$ac_save_LIBS"
11870 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11871 echo "$ac_t""yes" 1>&6
11872 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
11874 echo "$ac_t""no" 1>&6
11879 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11880 # to get the SysV transport functions.
11881 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
11883 # The nsl library prevents programs from opening the X display
11884 # on Irix 5.2, according to dickey@clark.net.
11885 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
11886 echo "configure:11887: checking for gethostbyname" >&5
11887 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
11888 echo $ac_n "(cached) $ac_c" 1>&6
11890 cat > conftest.
$ac_ext <<EOF
11891 #line 11892 "configure"
11892 #include "confdefs.h"
11893 /* System header to define __stub macros and hopefully few prototypes,
11894 which can conflict with char gethostbyname(); below. */
11895 #include <assert.h>
11896 /* Override any gcc2 internal prototype to avoid an error. */
11897 /* We use char because int might match the return type of a gcc2
11898 builtin and then its argument prototype would still apply. */
11899 char gethostbyname();
11903 /* The GNU C library defines this for functions which it implements
11904 to always fail with ENOSYS. Some functions are actually named
11905 something starting with __ and the normal name is an alias. */
11906 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11914 if { (eval echo configure
:11915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11916 eval "ac_cv_func_gethostbyname=yes"
11918 echo "configure: failed program was:" >&5
11919 cat conftest.
$ac_ext >&5
11921 eval "ac_cv_func_gethostbyname=no"
11926 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11927 echo "$ac_t""yes" 1>&6
11930 echo "$ac_t""no" 1>&6
11933 if test $ac_cv_func_gethostbyname = no
; then
11934 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11935 echo "configure:11936: checking for gethostbyname in -lnsl" >&5
11936 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11937 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11938 echo $ac_n "(cached) $ac_c" 1>&6
11940 ac_save_LIBS
="$LIBS"
11942 cat > conftest.
$ac_ext <<EOF
11943 #line 11944 "configure"
11944 #include "confdefs.h"
11945 /* Override any gcc2 internal prototype to avoid an error. */
11946 /* We use char because int might match the return type of a gcc2
11947 builtin and then its argument prototype would still apply. */
11948 char gethostbyname();
11954 if { (eval echo configure
:11955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11956 eval "ac_cv_lib_$ac_lib_var=yes"
11958 echo "configure: failed program was:" >&5
11959 cat conftest.
$ac_ext >&5
11961 eval "ac_cv_lib_$ac_lib_var=no"
11964 LIBS
="$ac_save_LIBS"
11967 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11968 echo "$ac_t""yes" 1>&6
11969 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
11971 echo "$ac_t""no" 1>&6
11976 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11977 # socket/setsockopt and other routines are undefined under SCO ODT
11978 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11979 # on later versions), says simon@lia.di.epfl.ch: it contains
11980 # gethostby* variants that don't use the nameserver (or something).
11981 # -lsocket must be given before -lnsl if both are needed.
11982 # We assume that if connect needs -lnsl, so does gethostbyname.
11983 echo $ac_n "checking for connect""... $ac_c" 1>&6
11984 echo "configure:11985: checking for connect" >&5
11985 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11986 echo $ac_n "(cached) $ac_c" 1>&6
11988 cat > conftest.
$ac_ext <<EOF
11989 #line 11990 "configure"
11990 #include "confdefs.h"
11991 /* System header to define __stub macros and hopefully few prototypes,
11992 which can conflict with char connect(); below. */
11993 #include <assert.h>
11994 /* Override any gcc2 internal prototype to avoid an error. */
11995 /* We use char because int might match the return type of a gcc2
11996 builtin and then its argument prototype would still apply. */
12001 /* The GNU C library defines this for functions which it implements
12002 to always fail with ENOSYS. Some functions are actually named
12003 something starting with __ and the normal name is an alias. */
12004 #if defined (__stub_connect) || defined (__stub___connect)
12012 if { (eval echo configure
:12013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12014 eval "ac_cv_func_connect=yes"
12016 echo "configure: failed program was:" >&5
12017 cat conftest.
$ac_ext >&5
12019 eval "ac_cv_func_connect=no"
12024 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
12025 echo "$ac_t""yes" 1>&6
12028 echo "$ac_t""no" 1>&6
12031 if test $ac_cv_func_connect = no
; then
12032 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
12033 echo "configure:12034: checking for connect in -lsocket" >&5
12034 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
12035 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12036 echo $ac_n "(cached) $ac_c" 1>&6
12038 ac_save_LIBS
="$LIBS"
12039 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
12040 cat > conftest.
$ac_ext <<EOF
12041 #line 12042 "configure"
12042 #include "confdefs.h"
12043 /* Override any gcc2 internal prototype to avoid an error. */
12044 /* We use char because int might match the return type of a gcc2
12045 builtin and then its argument prototype would still apply. */
12052 if { (eval echo configure
:12053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12054 eval "ac_cv_lib_$ac_lib_var=yes"
12056 echo "configure: failed program was:" >&5
12057 cat conftest.
$ac_ext >&5
12059 eval "ac_cv_lib_$ac_lib_var=no"
12062 LIBS
="$ac_save_LIBS"
12065 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12066 echo "$ac_t""yes" 1>&6
12067 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
12069 echo "$ac_t""no" 1>&6
12074 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
12075 echo $ac_n "checking for remove""... $ac_c" 1>&6
12076 echo "configure:12077: checking for remove" >&5
12077 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
12078 echo $ac_n "(cached) $ac_c" 1>&6
12080 cat > conftest.
$ac_ext <<EOF
12081 #line 12082 "configure"
12082 #include "confdefs.h"
12083 /* System header to define __stub macros and hopefully few prototypes,
12084 which can conflict with char remove(); below. */
12085 #include <assert.h>
12086 /* Override any gcc2 internal prototype to avoid an error. */
12087 /* We use char because int might match the return type of a gcc2
12088 builtin and then its argument prototype would still apply. */
12093 /* The GNU C library defines this for functions which it implements
12094 to always fail with ENOSYS. Some functions are actually named
12095 something starting with __ and the normal name is an alias. */
12096 #if defined (__stub_remove) || defined (__stub___remove)
12104 if { (eval echo configure
:12105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12106 eval "ac_cv_func_remove=yes"
12108 echo "configure: failed program was:" >&5
12109 cat conftest.
$ac_ext >&5
12111 eval "ac_cv_func_remove=no"
12116 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
12117 echo "$ac_t""yes" 1>&6
12120 echo "$ac_t""no" 1>&6
12123 if test $ac_cv_func_remove = no
; then
12124 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
12125 echo "configure:12126: checking for remove in -lposix" >&5
12126 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
12127 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12128 echo $ac_n "(cached) $ac_c" 1>&6
12130 ac_save_LIBS
="$LIBS"
12131 LIBS
="-lposix $LIBS"
12132 cat > conftest.
$ac_ext <<EOF
12133 #line 12134 "configure"
12134 #include "confdefs.h"
12135 /* Override any gcc2 internal prototype to avoid an error. */
12136 /* We use char because int might match the return type of a gcc2
12137 builtin and then its argument prototype would still apply. */
12144 if { (eval echo configure
:12145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12146 eval "ac_cv_lib_$ac_lib_var=yes"
12148 echo "configure: failed program was:" >&5
12149 cat conftest.
$ac_ext >&5
12151 eval "ac_cv_lib_$ac_lib_var=no"
12154 LIBS
="$ac_save_LIBS"
12157 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12158 echo "$ac_t""yes" 1>&6
12159 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
12161 echo "$ac_t""no" 1>&6
12166 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12167 echo $ac_n "checking for shmat""... $ac_c" 1>&6
12168 echo "configure:12169: checking for shmat" >&5
12169 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12170 echo $ac_n "(cached) $ac_c" 1>&6
12172 cat > conftest.
$ac_ext <<EOF
12173 #line 12174 "configure"
12174 #include "confdefs.h"
12175 /* System header to define __stub macros and hopefully few prototypes,
12176 which can conflict with char shmat(); below. */
12177 #include <assert.h>
12178 /* Override any gcc2 internal prototype to avoid an error. */
12179 /* We use char because int might match the return type of a gcc2
12180 builtin and then its argument prototype would still apply. */
12185 /* The GNU C library defines this for functions which it implements
12186 to always fail with ENOSYS. Some functions are actually named
12187 something starting with __ and the normal name is an alias. */
12188 #if defined (__stub_shmat) || defined (__stub___shmat)
12196 if { (eval echo configure
:12197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12198 eval "ac_cv_func_shmat=yes"
12200 echo "configure: failed program was:" >&5
12201 cat conftest.
$ac_ext >&5
12203 eval "ac_cv_func_shmat=no"
12208 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12209 echo "$ac_t""yes" 1>&6
12212 echo "$ac_t""no" 1>&6
12215 if test $ac_cv_func_shmat = no
; then
12216 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12217 echo "configure:12218: checking for shmat in -lipc" >&5
12218 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12219 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12220 echo $ac_n "(cached) $ac_c" 1>&6
12222 ac_save_LIBS
="$LIBS"
12224 cat > conftest.
$ac_ext <<EOF
12225 #line 12226 "configure"
12226 #include "confdefs.h"
12227 /* Override any gcc2 internal prototype to avoid an error. */
12228 /* We use char because int might match the return type of a gcc2
12229 builtin and then its argument prototype would still apply. */
12236 if { (eval echo configure
:12237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12238 eval "ac_cv_lib_$ac_lib_var=yes"
12240 echo "configure: failed program was:" >&5
12241 cat conftest.
$ac_ext >&5
12243 eval "ac_cv_lib_$ac_lib_var=no"
12246 LIBS
="$ac_save_LIBS"
12249 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12250 echo "$ac_t""yes" 1>&6
12251 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
12253 echo "$ac_t""no" 1>&6
12259 # Check for libraries that X11R6 Xt/Xaw programs need.
12260 ac_save_LDFLAGS
="$LDFLAGS"
12261 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
12262 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12263 # check for ICE first), but we must link in the order -lSM -lICE or
12264 # we get undefined symbols. So assume we have SM if we have ICE.
12265 # These have to be linked with before -lX11, unlike the other
12266 # libraries we check for below, so use a different variable.
12267 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12268 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12269 echo "configure:12270: checking for IceConnectionNumber in -lICE" >&5
12270 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12271 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12272 echo $ac_n "(cached) $ac_c" 1>&6
12274 ac_save_LIBS
="$LIBS"
12275 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
12276 cat > conftest.
$ac_ext <<EOF
12277 #line 12278 "configure"
12278 #include "confdefs.h"
12279 /* Override any gcc2 internal prototype to avoid an error. */
12280 /* We use char because int might match the return type of a gcc2
12281 builtin and then its argument prototype would still apply. */
12282 char IceConnectionNumber();
12285 IceConnectionNumber()
12288 if { (eval echo configure
:12289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12290 eval "ac_cv_lib_$ac_lib_var=yes"
12292 echo "configure: failed program was:" >&5
12293 cat conftest.
$ac_ext >&5
12295 eval "ac_cv_lib_$ac_lib_var=no"
12298 LIBS
="$ac_save_LIBS"
12301 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12302 echo "$ac_t""yes" 1>&6
12303 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
12305 echo "$ac_t""no" 1>&6
12308 LDFLAGS
="$ac_save_LDFLAGS"
12313 if test "$no_x" = "yes"; then
12314 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12317 GUI_TK_LIBRARY
="$X_LIBS"
12318 TOOLKIT_INCLUDE
="$X_CFLAGS"
12319 AFMINSTALL
=afminstall
12320 COMPILED_X_PROGRAM
=0
12323 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12324 echo "configure:12325: checking for Xpm library" >&5
12327 for ac_dir
in $SEARCH_LIB;
12329 for ac_extension
in a so sl dylib
; do
12330 if test -f "$ac_dir/libXpm.$ac_extension"; then
12331 ac_find_libraries
=$ac_dir
12337 if test "$ac_find_libraries" != "" ; then
12339 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
12341 if test $result = 0; then
12344 ac_path_to_link
=" -L$ac_find_libraries"
12347 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
12349 cat >> confdefs.h
<<\EOF
12350 #define wxHAVE_LIB_XPM 1
12353 echo "$ac_t""found at $ac_find_libraries" 1>&6
12355 cat > conftest.
$ac_ext <<EOF
12356 #line 12357 "configure"
12357 #include "confdefs.h"
12359 #include <X11/xpm.h>
12364 version = XpmLibraryVersion();
12368 if { (eval echo configure
:12369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12372 cat >> confdefs.h
<<\EOF
12373 #define wxHAVE_LIB_XPM 1
12376 echo "$ac_t""found in default search path" 1>&6
12377 COMPILED_X_PROGRAM
=0
12380 echo "configure: failed program was:" >&5
12381 cat conftest.
$ac_ext >&5
12384 echo "$ac_t""no" 1>&6
12385 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12392 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext -lXt -lX11"
12393 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
12396 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__ -D__WXX11__"
12399 if test "$wxUSE_WINE" = 1; then
12400 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
12401 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12402 echo "configure:12403: checking for windows.h" >&5
12403 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12404 echo $ac_n "(cached) $ac_c" 1>&6
12406 cat > conftest.
$ac_ext <<EOF
12407 #line 12408 "configure"
12408 #include "confdefs.h"
12409 #include <windows.h>
12411 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12412 { (eval echo configure
:12413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12413 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12414 if test -z "$ac_err"; then
12416 eval "ac_cv_header_$ac_safe=yes"
12419 echo "configure: failed program was:" >&5
12420 cat conftest.
$ac_ext >&5
12422 eval "ac_cv_header_$ac_safe=no"
12426 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12427 echo "$ac_t""yes" 1>&6
12430 echo "$ac_t""no" 1>&6
12432 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12438 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12439 echo "configure:12440: checking for Xpm library" >&5
12442 for ac_dir
in $SEARCH_LIB;
12444 for ac_extension
in a so sl dylib
; do
12445 if test -f "$ac_dir/libXpm.$ac_extension"; then
12446 ac_find_libraries
=$ac_dir
12452 if test "$ac_find_libraries" != "" ; then
12453 GUI_TK_LIBRARY
="-L$ac_find_libraries"
12455 cat >> confdefs.h
<<\EOF
12456 #define wxHAVE_LIB_XPM 1
12459 echo "$ac_t""found at $ac_find_libraries" 1>&6
12461 echo "$ac_t""no" 1>&6
12462 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12466 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
12467 echo "configure:12468: checking for Mesa library" >&5
12470 for ac_dir
in $SEARCH_LIB;
12472 for ac_extension
in a so sl dylib
; do
12473 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
12474 ac_find_libraries
=$ac_dir
12480 if test "$ac_find_libraries" != "" ; then
12481 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
12482 mesa_link
=" -lMesaGL"
12483 echo "$ac_t""found at $ac_find_libraries" 1>&6
12485 { echo "configure: error: no" 1>&2; exit 1; }
12488 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
12491 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
12494 if test "$wxUSE_MOTIF" = 1; then
12495 if test "$no_x" = yes; then
12496 # Not all programs may use this symbol, but it does not hurt to define it.
12497 cat >> confdefs.h
<<\EOF
12498 #define X_DISPLAY_MISSING 1
12501 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
12503 if test -n "$x_includes"; then
12504 X_CFLAGS
="$X_CFLAGS -I$x_includes"
12507 # It would also be nice to do this for all -L options, not just this one.
12508 if test -n "$x_libraries"; then
12509 X_LIBS
="$X_LIBS -L$x_libraries"
12510 # For Solaris; some versions of Sun CC require a space after -R and
12511 # others require no space. Words are not sufficient . . . .
12512 case "`(uname -sr) 2>/dev/null`" in
12514 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
12515 echo "configure:12516: checking whether -R must be followed by a space" >&5
12516 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
12517 cat > conftest.
$ac_ext <<EOF
12518 #line 12519 "configure"
12519 #include "confdefs.h"
12525 if { (eval echo configure
:12526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12529 echo "configure: failed program was:" >&5
12530 cat conftest.
$ac_ext >&5
12535 if test $ac_R_nospace = yes; then
12536 echo "$ac_t""no" 1>&6
12537 X_LIBS
="$X_LIBS -R$x_libraries"
12539 LIBS
="$ac_xsave_LIBS -R $x_libraries"
12540 cat > conftest.
$ac_ext <<EOF
12541 #line 12542 "configure"
12542 #include "confdefs.h"
12548 if { (eval echo configure
:12549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12552 echo "configure: failed program was:" >&5
12553 cat conftest.
$ac_ext >&5
12558 if test $ac_R_space = yes; then
12559 echo "$ac_t""yes" 1>&6
12560 X_LIBS
="$X_LIBS -R $x_libraries"
12562 echo "$ac_t""neither works" 1>&6
12565 LIBS
="$ac_xsave_LIBS"
12569 # Check for system-dependent libraries X programs must link with.
12570 # Do this before checking for the system-independent R6 libraries
12571 # (-lICE), since we may need -lsocket or whatever for X linking.
12573 if test "$ISC" = yes; then
12574 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
12576 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
12577 # libraries were built with DECnet support. And karl@cs.umb.edu says
12578 # the Alpha needs dnet_stub (dnet does not exist).
12579 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
12580 echo "configure:12581: checking for dnet_ntoa in -ldnet" >&5
12581 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12582 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12583 echo $ac_n "(cached) $ac_c" 1>&6
12585 ac_save_LIBS
="$LIBS"
12586 LIBS
="-ldnet $LIBS"
12587 cat > conftest.
$ac_ext <<EOF
12588 #line 12589 "configure"
12589 #include "confdefs.h"
12590 /* Override any gcc2 internal prototype to avoid an error. */
12591 /* We use char because int might match the return type of a gcc2
12592 builtin and then its argument prototype would still apply. */
12599 if { (eval echo configure
:12600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12601 eval "ac_cv_lib_$ac_lib_var=yes"
12603 echo "configure: failed program was:" >&5
12604 cat conftest.
$ac_ext >&5
12606 eval "ac_cv_lib_$ac_lib_var=no"
12609 LIBS
="$ac_save_LIBS"
12612 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12613 echo "$ac_t""yes" 1>&6
12614 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
12616 echo "$ac_t""no" 1>&6
12619 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
12620 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
12621 echo "configure:12622: checking for dnet_ntoa in -ldnet_stub" >&5
12622 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12623 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12624 echo $ac_n "(cached) $ac_c" 1>&6
12626 ac_save_LIBS
="$LIBS"
12627 LIBS
="-ldnet_stub $LIBS"
12628 cat > conftest.
$ac_ext <<EOF
12629 #line 12630 "configure"
12630 #include "confdefs.h"
12631 /* Override any gcc2 internal prototype to avoid an error. */
12632 /* We use char because int might match the return type of a gcc2
12633 builtin and then its argument prototype would still apply. */
12640 if { (eval echo configure
:12641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12642 eval "ac_cv_lib_$ac_lib_var=yes"
12644 echo "configure: failed program was:" >&5
12645 cat conftest.
$ac_ext >&5
12647 eval "ac_cv_lib_$ac_lib_var=no"
12650 LIBS
="$ac_save_LIBS"
12653 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12654 echo "$ac_t""yes" 1>&6
12655 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
12657 echo "$ac_t""no" 1>&6
12662 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
12663 # to get the SysV transport functions.
12664 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
12666 # The nsl library prevents programs from opening the X display
12667 # on Irix 5.2, according to dickey@clark.net.
12668 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
12669 echo "configure:12670: checking for gethostbyname" >&5
12670 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
12671 echo $ac_n "(cached) $ac_c" 1>&6
12673 cat > conftest.
$ac_ext <<EOF
12674 #line 12675 "configure"
12675 #include "confdefs.h"
12676 /* System header to define __stub macros and hopefully few prototypes,
12677 which can conflict with char gethostbyname(); below. */
12678 #include <assert.h>
12679 /* Override any gcc2 internal prototype to avoid an error. */
12680 /* We use char because int might match the return type of a gcc2
12681 builtin and then its argument prototype would still apply. */
12682 char gethostbyname();
12686 /* The GNU C library defines this for functions which it implements
12687 to always fail with ENOSYS. Some functions are actually named
12688 something starting with __ and the normal name is an alias. */
12689 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
12697 if { (eval echo configure
:12698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12699 eval "ac_cv_func_gethostbyname=yes"
12701 echo "configure: failed program was:" >&5
12702 cat conftest.
$ac_ext >&5
12704 eval "ac_cv_func_gethostbyname=no"
12709 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
12710 echo "$ac_t""yes" 1>&6
12713 echo "$ac_t""no" 1>&6
12716 if test $ac_cv_func_gethostbyname = no
; then
12717 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
12718 echo "configure:12719: checking for gethostbyname in -lnsl" >&5
12719 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
12720 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12721 echo $ac_n "(cached) $ac_c" 1>&6
12723 ac_save_LIBS
="$LIBS"
12725 cat > conftest.
$ac_ext <<EOF
12726 #line 12727 "configure"
12727 #include "confdefs.h"
12728 /* Override any gcc2 internal prototype to avoid an error. */
12729 /* We use char because int might match the return type of a gcc2
12730 builtin and then its argument prototype would still apply. */
12731 char gethostbyname();
12737 if { (eval echo configure
:12738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12739 eval "ac_cv_lib_$ac_lib_var=yes"
12741 echo "configure: failed program was:" >&5
12742 cat conftest.
$ac_ext >&5
12744 eval "ac_cv_lib_$ac_lib_var=no"
12747 LIBS
="$ac_save_LIBS"
12750 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12751 echo "$ac_t""yes" 1>&6
12752 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
12754 echo "$ac_t""no" 1>&6
12759 # lieder@skyler.mavd.honeywell.com says without -lsocket,
12760 # socket/setsockopt and other routines are undefined under SCO ODT
12761 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
12762 # on later versions), says simon@lia.di.epfl.ch: it contains
12763 # gethostby* variants that don't use the nameserver (or something).
12764 # -lsocket must be given before -lnsl if both are needed.
12765 # We assume that if connect needs -lnsl, so does gethostbyname.
12766 echo $ac_n "checking for connect""... $ac_c" 1>&6
12767 echo "configure:12768: checking for connect" >&5
12768 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
12769 echo $ac_n "(cached) $ac_c" 1>&6
12771 cat > conftest.
$ac_ext <<EOF
12772 #line 12773 "configure"
12773 #include "confdefs.h"
12774 /* System header to define __stub macros and hopefully few prototypes,
12775 which can conflict with char connect(); below. */
12776 #include <assert.h>
12777 /* Override any gcc2 internal prototype to avoid an error. */
12778 /* We use char because int might match the return type of a gcc2
12779 builtin and then its argument prototype would still apply. */
12784 /* The GNU C library defines this for functions which it implements
12785 to always fail with ENOSYS. Some functions are actually named
12786 something starting with __ and the normal name is an alias. */
12787 #if defined (__stub_connect) || defined (__stub___connect)
12795 if { (eval echo configure
:12796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12797 eval "ac_cv_func_connect=yes"
12799 echo "configure: failed program was:" >&5
12800 cat conftest.
$ac_ext >&5
12802 eval "ac_cv_func_connect=no"
12807 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
12808 echo "$ac_t""yes" 1>&6
12811 echo "$ac_t""no" 1>&6
12814 if test $ac_cv_func_connect = no
; then
12815 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
12816 echo "configure:12817: checking for connect in -lsocket" >&5
12817 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
12818 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12819 echo $ac_n "(cached) $ac_c" 1>&6
12821 ac_save_LIBS
="$LIBS"
12822 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
12823 cat > conftest.
$ac_ext <<EOF
12824 #line 12825 "configure"
12825 #include "confdefs.h"
12826 /* Override any gcc2 internal prototype to avoid an error. */
12827 /* We use char because int might match the return type of a gcc2
12828 builtin and then its argument prototype would still apply. */
12835 if { (eval echo configure
:12836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12837 eval "ac_cv_lib_$ac_lib_var=yes"
12839 echo "configure: failed program was:" >&5
12840 cat conftest.
$ac_ext >&5
12842 eval "ac_cv_lib_$ac_lib_var=no"
12845 LIBS
="$ac_save_LIBS"
12848 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12849 echo "$ac_t""yes" 1>&6
12850 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
12852 echo "$ac_t""no" 1>&6
12857 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
12858 echo $ac_n "checking for remove""... $ac_c" 1>&6
12859 echo "configure:12860: checking for remove" >&5
12860 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
12861 echo $ac_n "(cached) $ac_c" 1>&6
12863 cat > conftest.
$ac_ext <<EOF
12864 #line 12865 "configure"
12865 #include "confdefs.h"
12866 /* System header to define __stub macros and hopefully few prototypes,
12867 which can conflict with char remove(); below. */
12868 #include <assert.h>
12869 /* Override any gcc2 internal prototype to avoid an error. */
12870 /* We use char because int might match the return type of a gcc2
12871 builtin and then its argument prototype would still apply. */
12876 /* The GNU C library defines this for functions which it implements
12877 to always fail with ENOSYS. Some functions are actually named
12878 something starting with __ and the normal name is an alias. */
12879 #if defined (__stub_remove) || defined (__stub___remove)
12887 if { (eval echo configure
:12888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12889 eval "ac_cv_func_remove=yes"
12891 echo "configure: failed program was:" >&5
12892 cat conftest.
$ac_ext >&5
12894 eval "ac_cv_func_remove=no"
12899 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
12900 echo "$ac_t""yes" 1>&6
12903 echo "$ac_t""no" 1>&6
12906 if test $ac_cv_func_remove = no
; then
12907 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
12908 echo "configure:12909: checking for remove in -lposix" >&5
12909 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
12910 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12911 echo $ac_n "(cached) $ac_c" 1>&6
12913 ac_save_LIBS
="$LIBS"
12914 LIBS
="-lposix $LIBS"
12915 cat > conftest.
$ac_ext <<EOF
12916 #line 12917 "configure"
12917 #include "confdefs.h"
12918 /* Override any gcc2 internal prototype to avoid an error. */
12919 /* We use char because int might match the return type of a gcc2
12920 builtin and then its argument prototype would still apply. */
12927 if { (eval echo configure
:12928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12929 eval "ac_cv_lib_$ac_lib_var=yes"
12931 echo "configure: failed program was:" >&5
12932 cat conftest.
$ac_ext >&5
12934 eval "ac_cv_lib_$ac_lib_var=no"
12937 LIBS
="$ac_save_LIBS"
12940 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12941 echo "$ac_t""yes" 1>&6
12942 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
12944 echo "$ac_t""no" 1>&6
12949 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12950 echo $ac_n "checking for shmat""... $ac_c" 1>&6
12951 echo "configure:12952: checking for shmat" >&5
12952 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12953 echo $ac_n "(cached) $ac_c" 1>&6
12955 cat > conftest.
$ac_ext <<EOF
12956 #line 12957 "configure"
12957 #include "confdefs.h"
12958 /* System header to define __stub macros and hopefully few prototypes,
12959 which can conflict with char shmat(); below. */
12960 #include <assert.h>
12961 /* Override any gcc2 internal prototype to avoid an error. */
12962 /* We use char because int might match the return type of a gcc2
12963 builtin and then its argument prototype would still apply. */
12968 /* The GNU C library defines this for functions which it implements
12969 to always fail with ENOSYS. Some functions are actually named
12970 something starting with __ and the normal name is an alias. */
12971 #if defined (__stub_shmat) || defined (__stub___shmat)
12979 if { (eval echo configure
:12980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12981 eval "ac_cv_func_shmat=yes"
12983 echo "configure: failed program was:" >&5
12984 cat conftest.
$ac_ext >&5
12986 eval "ac_cv_func_shmat=no"
12991 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12992 echo "$ac_t""yes" 1>&6
12995 echo "$ac_t""no" 1>&6
12998 if test $ac_cv_func_shmat = no
; then
12999 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
13000 echo "configure:13001: checking for shmat in -lipc" >&5
13001 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
13002 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13003 echo $ac_n "(cached) $ac_c" 1>&6
13005 ac_save_LIBS
="$LIBS"
13007 cat > conftest.
$ac_ext <<EOF
13008 #line 13009 "configure"
13009 #include "confdefs.h"
13010 /* Override any gcc2 internal prototype to avoid an error. */
13011 /* We use char because int might match the return type of a gcc2
13012 builtin and then its argument prototype would still apply. */
13019 if { (eval echo configure
:13020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13021 eval "ac_cv_lib_$ac_lib_var=yes"
13023 echo "configure: failed program was:" >&5
13024 cat conftest.
$ac_ext >&5
13026 eval "ac_cv_lib_$ac_lib_var=no"
13029 LIBS
="$ac_save_LIBS"
13032 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13033 echo "$ac_t""yes" 1>&6
13034 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
13036 echo "$ac_t""no" 1>&6
13042 # Check for libraries that X11R6 Xt/Xaw programs need.
13043 ac_save_LDFLAGS
="$LDFLAGS"
13044 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
13045 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13046 # check for ICE first), but we must link in the order -lSM -lICE or
13047 # we get undefined symbols. So assume we have SM if we have ICE.
13048 # These have to be linked with before -lX11, unlike the other
13049 # libraries we check for below, so use a different variable.
13050 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
13051 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
13052 echo "configure:13053: checking for IceConnectionNumber in -lICE" >&5
13053 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
13054 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13055 echo $ac_n "(cached) $ac_c" 1>&6
13057 ac_save_LIBS
="$LIBS"
13058 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
13059 cat > conftest.
$ac_ext <<EOF
13060 #line 13061 "configure"
13061 #include "confdefs.h"
13062 /* Override any gcc2 internal prototype to avoid an error. */
13063 /* We use char because int might match the return type of a gcc2
13064 builtin and then its argument prototype would still apply. */
13065 char IceConnectionNumber();
13068 IceConnectionNumber()
13071 if { (eval echo configure
:13072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13073 eval "ac_cv_lib_$ac_lib_var=yes"
13075 echo "configure: failed program was:" >&5
13076 cat conftest.
$ac_ext >&5
13078 eval "ac_cv_lib_$ac_lib_var=no"
13081 LIBS
="$ac_save_LIBS"
13084 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13085 echo "$ac_t""yes" 1>&6
13086 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
13088 echo "$ac_t""no" 1>&6
13091 LDFLAGS
="$ac_save_LDFLAGS"
13096 if test "$no_x" = "yes"; then
13097 { echo "configure: error: X11 not found" 1>&2; exit 1; }
13100 GUI_TK_LIBRARY
="$X_LIBS"
13101 TOOLKIT_INCLUDE
="$X_CFLAGS"
13102 AFMINSTALL
=afminstall
13103 COMPILED_X_PROGRAM
=0
13105 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
13106 echo "configure:13107: checking for Motif/Lesstif headers" >&5
13109 for ac_dir
in $SEARCH_INCLUDE;
13111 if test -f "$ac_dir/Xm/Xm.h"; then
13112 ac_find_includes
=$ac_dir
13117 if test "$ac_find_includes" != "" ; then
13118 echo "$ac_t""found $ac_find_includes" 1>&6
13120 cat > conftest.
$ac_ext <<EOF
13121 #line 13122 "configure"
13122 #include "confdefs.h"
13129 version = xmUseVersion;
13133 if { (eval echo configure
:13134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13136 echo "$ac_t""found in default search path" 1>&6
13137 COMPILED_X_PROGRAM
=1
13140 echo "configure: failed program was:" >&5
13141 cat conftest.
$ac_ext >&5
13144 echo "$ac_t""no" 1>&6
13145 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
13152 if test "$COMPILED_X_PROGRAM" = 0; then
13153 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
13154 echo "configure:13155: checking for Motif/Lesstif library" >&5
13157 for ac_dir
in $SEARCH_LIB;
13159 for ac_extension
in a so sl dylib
; do
13160 if test -f "$ac_dir/libXm.$ac_extension"; then
13161 ac_find_libraries
=$ac_dir
13167 if test "$ac_find_libraries" != "" ; then
13169 ac_path_to_include
=$ac_find_includes
13170 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
13172 if test $result = 0; then
13173 ac_path_to_include
=""
13175 ac_path_to_include
=" -I$ac_find_includes"
13179 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13181 if test $result = 0; then
13184 ac_path_to_link
=" -L$ac_find_libraries"
13188 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13189 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
13190 echo "$ac_t""found at $ac_find_libraries" 1>&6
13192 cat > conftest.
$ac_ext <<EOF
13193 #line 13194 "configure"
13194 #include "confdefs.h"
13201 version = xmUseVersion;
13205 if { (eval echo configure
:13206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13208 echo "$ac_t""found in default search path" 1>&6
13209 COMPILED_X_PROGRAM
=1
13212 echo "configure: failed program was:" >&5
13213 cat conftest.
$ac_ext >&5
13216 echo "$ac_t""no" 1>&6
13217 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
13226 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13227 echo "configure:13228: checking for Xpm library" >&5
13230 for ac_dir
in $SEARCH_LIB;
13232 for ac_extension
in a so sl dylib
; do
13233 if test -f "$ac_dir/libXpm.$ac_extension"; then
13234 ac_find_libraries
=$ac_dir
13240 if test "$ac_find_libraries" != "" ; then
13242 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13244 if test $result = 0; then
13247 ac_path_to_link
=" -L$ac_find_libraries"
13250 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13252 cat >> confdefs.h
<<\EOF
13253 #define wxHAVE_LIB_XPM 1
13256 echo "$ac_t""found at $ac_find_libraries" 1>&6
13258 cat > conftest.
$ac_ext <<EOF
13259 #line 13260 "configure"
13260 #include "confdefs.h"
13262 #include <X11/xpm.h>
13267 version = XpmLibraryVersion();
13271 if { (eval echo configure
:13272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13275 cat >> confdefs.h
<<\EOF
13276 #define wxHAVE_LIB_XPM 1
13279 echo "$ac_t""found in default search path" 1>&6
13280 COMPILED_X_PROGRAM
=0
13283 echo "configure: failed program was:" >&5
13284 cat conftest.
$ac_ext >&5
13287 echo "$ac_t""no" 1>&6
13288 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13295 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
13296 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
13301 if test "$wxUSE_MAC" = 1; then
13302 if test "$wxUSE_PRECOMP" = "yes"; then
13303 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
13305 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
13306 CFLAGS
="$CFLAGS -fpascal-strings"
13307 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
13309 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
13314 if test "$wxUSE_PM" = 1; then
13319 if test "$TOOLKIT" = "PM" ; then
13322 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
13325 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
13327 if test "$wxUSE_UNIVERSAL" = "yes"; then
13328 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
13330 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
13331 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
13333 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
13334 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
13335 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
13338 ALL_OBJECTS
="\$(GUIOBJS)"
13339 ALL_SOURCES
="\$(ALL_SOURCES)"
13340 ALL_HEADERS
="\$(ALL_HEADERS)"
13343 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
13345 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
13346 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
13349 if test "$wxUSE_HTML" = "yes"; then
13350 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
13353 if test "$wxUSE_LIBJPEG" = "builtin" ; then
13354 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
13356 if test "$wxUSE_LIBTIFF" = "builtin" ; then
13357 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
13359 if test "$wxUSE_LIBPNG" = "builtin" ; then
13360 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
13362 if test "$wxUSE_FREETYPE" = "builtin" ; then
13363 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
13366 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
13367 DISTDIR
="wx\$(TOOLKIT)"
13373 if test "$USE_WIN32" = 1 ; then
13374 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
13375 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
13379 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
13380 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
13383 PORT_FILES
="\${top_srcdir}/src/files.lst"
13385 GUIDIST
="BASE_DIST"
13390 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
13391 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
13394 if test "$wxUSE_REGEX" = "builtin" ; then
13395 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
13397 if test "$wxUSE_ZLIB" = "builtin" ; then
13398 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
13401 if test "$wxUSE_OPENGL" = "yes"; then
13402 if test "$wxUSE_MAC" = 1; then
13403 OPENGL_LIBS
="-framework OpenGL -framework AGL"
13406 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
13407 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
13408 echo "configure:13409: checking for GL/gl.h" >&5
13409 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13410 echo $ac_n "(cached) $ac_c" 1>&6
13412 cat > conftest.
$ac_ext <<EOF
13413 #line 13414 "configure"
13414 #include "confdefs.h"
13417 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13418 { (eval echo configure
:13419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13419 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13420 if test -z "$ac_err"; then
13422 eval "ac_cv_header_$ac_safe=yes"
13425 echo "configure: failed program was:" >&5
13426 cat conftest.
$ac_ext >&5
13428 eval "ac_cv_header_$ac_safe=no"
13432 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13433 echo "$ac_t""yes" 1>&6
13435 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
13436 echo "configure:13437: checking for -lGL" >&5
13439 for ac_dir
in $SEARCH_LIB;
13441 for ac_extension
in a so sl dylib
; do
13442 if test -f "$ac_dir/libGL.$ac_extension"; then
13443 ac_find_libraries
=$ac_dir
13449 if test "$ac_find_libraries" != "" ; then
13451 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
13453 if test $result = 0; then
13456 ac_path_to_link
=" -L$ac_find_libraries"
13459 if test "$ac_path_to_link" = " -L/usr/lib" ; then
13460 LDFLAGS_GL
="$LDFLAGS"
13462 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
13464 OPENGL_LIBS
="-lGL -lGLU"
13465 echo "$ac_t""yes" 1>&6
13467 echo "$ac_t""no" 1>&6
13468 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
13469 echo "configure:13470: checking for -lMesaGL" >&5
13472 for ac_dir
in $SEARCH_LIB;
13474 for ac_extension
in a so sl dylib
; do
13475 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
13476 ac_find_libraries
=$ac_dir
13482 if test "$ac_find_libraries" != "" ; then
13484 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
13486 if test $result = 0; then
13489 ac_path_to_link
=" -L$ac_find_libraries"
13492 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
13493 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
13494 echo "$ac_t""yes" 1>&6
13496 echo "$ac_t""no" 1>&6
13501 echo "$ac_t""no" 1>&6
13506 # AC_CHECK_HEADER(GL/gl.h,
13508 # AC_CHECK_LIB(GL, glFlush,
13510 # OPENGL_LIBS="-lGL -lGLU"
13513 # AC_CHECK_LIB(MesaGL, glFlush,
13515 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
13523 if test "x$OPENGL_LIBS" = "x"; then
13524 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
13528 if test "$wxUSE_OPENGL" = "yes"; then
13529 cat >> confdefs.h
<<\EOF
13530 #define wxUSE_OPENGL 1
13533 cat >> confdefs.h
<<\EOF
13534 #define wxUSE_GLCANVAS 1
13537 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
13541 if test -z "$TOOLKIT_VPATH" ; then
13542 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
13545 if test -n "$TOOLKIT" ; then
13546 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
13549 lib_unicode_suffix
=
13550 if test "$wxUSE_UNICODE" = "yes"; then
13551 lib_unicode_suffix
=u
13555 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
13559 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
13560 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
13562 if test "$cross_compiling" = "yes"; then
13563 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
13564 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
13567 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
13568 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
13570 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
13571 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
13573 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
13574 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
13575 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
13576 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
13578 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
13579 WX_RESOURCES_MACOSX_COMPILED
="lib${WX_LIBRARY}.r"
13582 *-*-cygwin* | *-*-mingw32* )
13586 if test "$cross_compiling" != "yes"; then
13587 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
13588 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
13589 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
13590 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
13592 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
13593 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
13598 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
13599 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
13601 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
13602 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
13604 if test "$wxUSE_OPENGL" = "yes"; then
13605 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
13606 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
13611 if test "$wxUSE_SHARED" = "yes"; then
13613 if test "$wxUSE_OPENGL" = "yes"; then
13614 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
13615 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
13617 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
13618 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
13621 if test "$GCC" = "yes"; then
13625 SHARED_LD
="${CXX} -shared -o"
13629 if test "$GCC" == "yes"; then
13630 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
13632 LDFLAGS
="$LDFLAGS -L/usr/lib"
13634 SHARED_LD
="${CXX} -b -o"
13638 if test "$wxUSE_OPENGL" = "yes"; then
13639 WX_ALL_INSTALLED
="preinstall_gl"
13640 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
13642 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
13647 if test "$GCC" != "yes"; then
13648 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
13649 echo "configure:13650: checking for Intel compiler" >&5
13650 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
13651 echo $ac_n "(cached) $ac_c" 1>&6
13654 cat > conftest.
$ac_ext <<EOF
13655 #line 13656 "configure"
13656 #include "confdefs.h"
13660 #ifndef __INTEL_COMPILER
13666 if { (eval echo configure
:13667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13670 echo "configure: failed program was:" >&5
13671 cat conftest.
$ac_ext >&5
13680 echo "$ac_t""$wx_cv_prog_icc" 1>&6
13681 if test "$wx_cv_prog_icc" = "yes"; then
13686 if test "$wxUSE_SONAME" = "yes" ; then
13687 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
13688 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
13689 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
13694 if test "$GCC" = yes ; then
13695 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
13697 SHARED_LD
="${CXX} -G -o"
13699 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
13700 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
13705 CFLAGS
="$CFLAGS -fno-common -DDYLIB_INIT"
13706 CXXFLAGS
="$CXXFLAGS -fno-common -DDYLIB_INIT"
13707 SHARED_LD
="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
13708 PIC_FLAG
="-dynamic -fPIC"
13712 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
13715 *-*-cygwin* | *-*-mingw32* )
13717 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
13719 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
13720 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
13722 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
13724 if test "$wxUSE_OPENGL" = "yes"; then
13725 WX_ALL_INSTALLED
="preinstall_gl"
13726 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
13728 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
13732 *-pc-os2_emx | *-pc-os2-emx )
13737 SHARED_LD
="${LD} -shared -o"
13740 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
13742 *-*-irix5* | *-*-irix6* | \
13749 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
13752 if test "x$WX_TARGET_LIBRARY" = "x"; then
13753 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
13754 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
13757 WX_TARGET_LIBRARY_TYPE
="so"
13758 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
13761 if test "$wxUSE_SHARED" = "no"; then
13763 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
13764 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
13767 if test "$wxUSE_MAC" = 1; then
13768 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
13771 if test "$wxUSE_OPENGL" = "yes"; then
13772 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
13773 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
13775 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
13778 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
13779 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
13781 WX_TARGET_LIBRARY_TYPE
="a"
13782 INSTALL_LIBRARY
='$(INSTALL_DATA)'
13785 if test "$wxUSE_MAC" = 1; then
13786 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
13787 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
13788 # Extract the first word of "Rez", so it can be a program name with args.
13789 set dummy Rez
; ac_word
=$2
13790 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13791 echo "configure:13792: checking for $ac_word" >&5
13792 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
13793 echo $ac_n "(cached) $ac_c" 1>&6
13795 if test -n "$RESCOMP"; then
13796 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
13798 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13800 for ac_dir
in $ac_dummy; do
13801 test -z "$ac_dir" && ac_dir
=.
13802 if test -f $ac_dir/$ac_word; then
13803 ac_cv_prog_RESCOMP
="Rez"
13808 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
13811 RESCOMP
="$ac_cv_prog_RESCOMP"
13812 if test -n "$RESCOMP"; then
13813 echo "$ac_t""$RESCOMP" 1>&6
13815 echo "$ac_t""no" 1>&6
13818 # Extract the first word of "DeRez", so it can be a program name with args.
13819 set dummy DeRez
; ac_word
=$2
13820 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13821 echo "configure:13822: checking for $ac_word" >&5
13822 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
13823 echo $ac_n "(cached) $ac_c" 1>&6
13825 if test -n "$DEREZ"; then
13826 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
13828 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13830 for ac_dir
in $ac_dummy; do
13831 test -z "$ac_dir" && ac_dir
=.
13832 if test -f $ac_dir/$ac_word; then
13833 ac_cv_prog_DEREZ
="DeRez"
13838 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
13841 DEREZ
="$ac_cv_prog_DEREZ"
13842 if test -n "$DEREZ"; then
13843 echo "$ac_t""$DEREZ" 1>&6
13845 echo "$ac_t""no" 1>&6
13848 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
13849 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
13850 LIBWXMACRESWXCONFIG
="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
13854 if test "$wxUSE_MAC" != 1; then
13855 for ac_hdr
in strings.h
13857 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13858 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13859 echo "configure:13860: checking for $ac_hdr" >&5
13860 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13861 echo $ac_n "(cached) $ac_c" 1>&6
13863 cat > conftest.
$ac_ext <<EOF
13864 #line 13865 "configure"
13865 #include "confdefs.h"
13868 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13869 { (eval echo configure
:13870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13870 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13871 if test -z "$ac_err"; then
13873 eval "ac_cv_header_$ac_safe=yes"
13876 echo "configure: failed program was:" >&5
13877 cat conftest.
$ac_ext >&5
13879 eval "ac_cv_header_$ac_safe=no"
13883 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13884 echo "$ac_t""yes" 1>&6
13885 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13886 cat >> confdefs.h
<<EOF
13887 #define $ac_tr_hdr 1
13891 echo "$ac_t""no" 1>&6
13897 for ac_hdr
in stdlib.h
13899 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13900 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13901 echo "configure:13902: checking for $ac_hdr" >&5
13902 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13903 echo $ac_n "(cached) $ac_c" 1>&6
13905 cat > conftest.
$ac_ext <<EOF
13906 #line 13907 "configure"
13907 #include "confdefs.h"
13910 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13911 { (eval echo configure
:13912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13912 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13913 if test -z "$ac_err"; then
13915 eval "ac_cv_header_$ac_safe=yes"
13918 echo "configure: failed program was:" >&5
13919 cat conftest.
$ac_ext >&5
13921 eval "ac_cv_header_$ac_safe=no"
13925 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13926 echo "$ac_t""yes" 1>&6
13927 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13928 cat >> confdefs.h
<<EOF
13929 #define $ac_tr_hdr 1
13933 echo "$ac_t""no" 1>&6
13937 for ac_hdr
in malloc.h
13939 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13940 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13941 echo "configure:13942: checking for $ac_hdr" >&5
13942 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13943 echo $ac_n "(cached) $ac_c" 1>&6
13945 cat > conftest.
$ac_ext <<EOF
13946 #line 13947 "configure"
13947 #include "confdefs.h"
13950 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13951 { (eval echo configure
:13952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13952 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13953 if test -z "$ac_err"; then
13955 eval "ac_cv_header_$ac_safe=yes"
13958 echo "configure: failed program was:" >&5
13959 cat conftest.
$ac_ext >&5
13961 eval "ac_cv_header_$ac_safe=no"
13965 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13966 echo "$ac_t""yes" 1>&6
13967 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13968 cat >> confdefs.h
<<EOF
13969 #define $ac_tr_hdr 1
13973 echo "$ac_t""no" 1>&6
13977 for ac_hdr
in unistd.h
13979 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13980 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13981 echo "configure:13982: checking for $ac_hdr" >&5
13982 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13983 echo $ac_n "(cached) $ac_c" 1>&6
13985 cat > conftest.
$ac_ext <<EOF
13986 #line 13987 "configure"
13987 #include "confdefs.h"
13990 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13991 { (eval echo configure
:13992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13992 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13993 if test -z "$ac_err"; then
13995 eval "ac_cv_header_$ac_safe=yes"
13998 echo "configure: failed program was:" >&5
13999 cat conftest.
$ac_ext >&5
14001 eval "ac_cv_header_$ac_safe=no"
14005 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14006 echo "$ac_t""yes" 1>&6
14007 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14008 cat >> confdefs.h
<<EOF
14009 #define $ac_tr_hdr 1
14013 echo "$ac_t""no" 1>&6
14017 for ac_hdr
in wchar.h
14019 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14020 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14021 echo "configure:14022: checking for $ac_hdr" >&5
14022 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14023 echo $ac_n "(cached) $ac_c" 1>&6
14025 cat > conftest.
$ac_ext <<EOF
14026 #line 14027 "configure"
14027 #include "confdefs.h"
14030 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14031 { (eval echo configure
:14032: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14032 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14033 if test -z "$ac_err"; then
14035 eval "ac_cv_header_$ac_safe=yes"
14038 echo "configure: failed program was:" >&5
14039 cat conftest.
$ac_ext >&5
14041 eval "ac_cv_header_$ac_safe=no"
14045 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14046 echo "$ac_t""yes" 1>&6
14047 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14048 cat >> confdefs.h
<<EOF
14049 #define $ac_tr_hdr 1
14053 echo "$ac_t""no" 1>&6
14057 for ac_hdr
in wcstr.h
14059 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14060 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14061 echo "configure:14062: checking for $ac_hdr" >&5
14062 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14063 echo $ac_n "(cached) $ac_c" 1>&6
14065 cat > conftest.
$ac_ext <<EOF
14066 #line 14067 "configure"
14067 #include "confdefs.h"
14070 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14071 { (eval echo configure
:14072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14072 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14073 if test -z "$ac_err"; then
14075 eval "ac_cv_header_$ac_safe=yes"
14078 echo "configure: failed program was:" >&5
14079 cat conftest.
$ac_ext >&5
14081 eval "ac_cv_header_$ac_safe=no"
14085 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14086 echo "$ac_t""yes" 1>&6
14087 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14088 cat >> confdefs.h
<<EOF
14089 #define $ac_tr_hdr 1
14093 echo "$ac_t""no" 1>&6
14097 for ac_hdr
in wctype.h
14099 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14100 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14101 echo "configure:14102: checking for $ac_hdr" >&5
14102 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14103 echo $ac_n "(cached) $ac_c" 1>&6
14105 cat > conftest.
$ac_ext <<EOF
14106 #line 14107 "configure"
14107 #include "confdefs.h"
14110 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14111 { (eval echo configure
:14112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14112 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14113 if test -z "$ac_err"; then
14115 eval "ac_cv_header_$ac_safe=yes"
14118 echo "configure: failed program was:" >&5
14119 cat conftest.
$ac_ext >&5
14121 eval "ac_cv_header_$ac_safe=no"
14125 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14126 echo "$ac_t""yes" 1>&6
14127 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14128 cat >> confdefs.h
<<EOF
14129 #define $ac_tr_hdr 1
14133 echo "$ac_t""no" 1>&6
14137 for ac_hdr
in fnmatch.h
14139 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14140 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14141 echo "configure:14142: checking for $ac_hdr" >&5
14142 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14143 echo $ac_n "(cached) $ac_c" 1>&6
14145 cat > conftest.
$ac_ext <<EOF
14146 #line 14147 "configure"
14147 #include "confdefs.h"
14150 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14151 { (eval echo configure
:14152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14152 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14153 if test -z "$ac_err"; then
14155 eval "ac_cv_header_$ac_safe=yes"
14158 echo "configure: failed program was:" >&5
14159 cat conftest.
$ac_ext >&5
14161 eval "ac_cv_header_$ac_safe=no"
14165 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14166 echo "$ac_t""yes" 1>&6
14167 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14168 cat >> confdefs.h
<<EOF
14169 #define $ac_tr_hdr 1
14173 echo "$ac_t""no" 1>&6
14177 for ac_hdr
in langinfo.h
14179 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14180 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14181 echo "configure:14182: checking for $ac_hdr" >&5
14182 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14183 echo $ac_n "(cached) $ac_c" 1>&6
14185 cat > conftest.
$ac_ext <<EOF
14186 #line 14187 "configure"
14187 #include "confdefs.h"
14190 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14191 { (eval echo configure
:14192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14192 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14193 if test -z "$ac_err"; then
14195 eval "ac_cv_header_$ac_safe=yes"
14198 echo "configure: failed program was:" >&5
14199 cat conftest.
$ac_ext >&5
14201 eval "ac_cv_header_$ac_safe=no"
14205 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14206 echo "$ac_t""yes" 1>&6
14207 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14208 cat >> confdefs.h
<<EOF
14209 #define $ac_tr_hdr 1
14213 echo "$ac_t""no" 1>&6
14218 if test "$wxUSE_GUI" = "yes"; then
14219 if test "$wxUSE_UNIX" = "yes"; then
14220 for ac_hdr
in X
11/XKBlib.h
14222 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14223 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14224 echo "configure:14225: checking for $ac_hdr" >&5
14225 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14226 echo $ac_n "(cached) $ac_c" 1>&6
14228 cat > conftest.
$ac_ext <<EOF
14229 #line 14230 "configure"
14230 #include "confdefs.h"
14233 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14234 { (eval echo configure
:14235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14235 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14236 if test -z "$ac_err"; then
14238 eval "ac_cv_header_$ac_safe=yes"
14241 echo "configure: failed program was:" >&5
14242 cat conftest.
$ac_ext >&5
14244 eval "ac_cv_header_$ac_safe=no"
14248 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14249 echo "$ac_t""yes" 1>&6
14250 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14251 cat >> confdefs.h
<<EOF
14252 #define $ac_tr_hdr 1
14256 echo "$ac_t""no" 1>&6
14264 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
14265 echo "configure:14266: checking for ANSI C header files" >&5
14266 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
14267 echo $ac_n "(cached) $ac_c" 1>&6
14269 cat > conftest.
$ac_ext <<EOF
14270 #line 14271 "configure"
14271 #include "confdefs.h"
14272 #include <stdlib.h>
14273 #include <stdarg.h>
14274 #include <string.h>
14277 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14278 { (eval echo configure
:14279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14279 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14280 if test -z "$ac_err"; then
14282 ac_cv_header_stdc
=yes
14285 echo "configure: failed program was:" >&5
14286 cat conftest.
$ac_ext >&5
14288 ac_cv_header_stdc
=no
14292 if test $ac_cv_header_stdc = yes; then
14293 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14294 cat > conftest.
$ac_ext <<EOF
14295 #line 14296 "configure"
14296 #include "confdefs.h"
14297 #include <string.h>
14299 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14300 egrep "memchr" >/dev
/null
2>&1; then
14304 ac_cv_header_stdc
=no
14310 if test $ac_cv_header_stdc = yes; then
14311 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14312 cat > conftest.
$ac_ext <<EOF
14313 #line 14314 "configure"
14314 #include "confdefs.h"
14315 #include <stdlib.h>
14317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14318 egrep "free" >/dev
/null
2>&1; then
14322 ac_cv_header_stdc
=no
14328 if test $ac_cv_header_stdc = yes; then
14329 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14330 if test "$cross_compiling" = yes; then
14333 cat > conftest.
$ac_ext <<EOF
14334 #line 14335 "configure"
14335 #include "confdefs.h"
14337 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14338 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14339 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14340 int main () { int i; for (i = 0; i < 256; i++)
14341 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
14345 if { (eval echo configure
:14346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14349 echo "configure: failed program was:" >&5
14350 cat conftest.
$ac_ext >&5
14352 ac_cv_header_stdc
=no
14360 echo "$ac_t""$ac_cv_header_stdc" 1>&6
14361 if test $ac_cv_header_stdc = yes; then
14362 cat >> confdefs.h
<<\EOF
14363 #define STDC_HEADERS 1
14368 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
14369 echo "configure:14370: checking for mode_t" >&5
14370 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
14371 echo $ac_n "(cached) $ac_c" 1>&6
14373 cat > conftest.
$ac_ext <<EOF
14374 #line 14375 "configure"
14375 #include "confdefs.h"
14376 #include <sys/types.h>
14378 #include <stdlib.h>
14379 #include <stddef.h>
14382 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14383 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14385 ac_cv_type_mode_t
=yes
14388 ac_cv_type_mode_t
=no
14393 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
14394 if test $ac_cv_type_mode_t = no
; then
14395 cat >> confdefs.h
<<\EOF
14401 echo $ac_n "checking for off_t""... $ac_c" 1>&6
14402 echo "configure:14403: checking for off_t" >&5
14403 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
14404 echo $ac_n "(cached) $ac_c" 1>&6
14406 cat > conftest.
$ac_ext <<EOF
14407 #line 14408 "configure"
14408 #include "confdefs.h"
14409 #include <sys/types.h>
14411 #include <stdlib.h>
14412 #include <stddef.h>
14415 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14416 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14418 ac_cv_type_off_t
=yes
14421 ac_cv_type_off_t
=no
14426 echo "$ac_t""$ac_cv_type_off_t" 1>&6
14427 if test $ac_cv_type_off_t = no
; then
14428 cat >> confdefs.h
<<\EOF
14434 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
14435 echo "configure:14436: checking for pid_t" >&5
14436 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
14437 echo $ac_n "(cached) $ac_c" 1>&6
14439 cat > conftest.
$ac_ext <<EOF
14440 #line 14441 "configure"
14441 #include "confdefs.h"
14442 #include <sys/types.h>
14444 #include <stdlib.h>
14445 #include <stddef.h>
14448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14449 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14451 ac_cv_type_pid_t
=yes
14454 ac_cv_type_pid_t
=no
14459 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
14460 if test $ac_cv_type_pid_t = no
; then
14461 cat >> confdefs.h
<<\EOF
14467 echo $ac_n "checking for size_t""... $ac_c" 1>&6
14468 echo "configure:14469: checking for size_t" >&5
14469 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
14470 echo $ac_n "(cached) $ac_c" 1>&6
14472 cat > conftest.
$ac_ext <<EOF
14473 #line 14474 "configure"
14474 #include "confdefs.h"
14475 #include <sys/types.h>
14477 #include <stdlib.h>
14478 #include <stddef.h>
14481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14482 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14484 ac_cv_type_size_t
=yes
14487 ac_cv_type_size_t
=no
14492 echo "$ac_t""$ac_cv_type_size_t" 1>&6
14493 if test $ac_cv_type_size_t = no
; then
14494 cat >> confdefs.h
<<\EOF
14495 #define size_t unsigned
14500 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
14501 echo "configure:14502: checking for uid_t in sys/types.h" >&5
14502 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
14503 echo $ac_n "(cached) $ac_c" 1>&6
14505 cat > conftest.
$ac_ext <<EOF
14506 #line 14507 "configure"
14507 #include "confdefs.h"
14508 #include <sys/types.h>
14510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14511 egrep "uid_t" >/dev
/null
2>&1; then
14513 ac_cv_type_uid_t
=yes
14516 ac_cv_type_uid_t
=no
14522 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
14523 if test $ac_cv_type_uid_t = no
; then
14524 cat >> confdefs.h
<<\EOF
14528 cat >> confdefs.h
<<\EOF
14535 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
14536 echo "configure:14537: checking for wchar_t" >&5
14537 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
14538 echo $ac_n "(cached) $ac_c" 1>&6
14541 cat > conftest.
$ac_ext <<EOF
14542 #line 14543 "configure"
14543 #include "confdefs.h"
14545 #ifdef HAVE_WCHAR_H
14547 # include <stddef.h>
14549 # include <wchar.h>
14551 #ifdef HAVE_STDLIB_H
14552 # include <stdlib.h>
14559 ws = L"Hello, world!";
14563 if { (eval echo configure
:14564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14565 wx_cv_type_wchar_t
=yes
14567 echo "configure: failed program was:" >&5
14568 cat conftest.
$ac_ext >&5
14570 wx_cv_type_wchar_t
=no
14577 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
14579 if test "$wx_cv_type_wchar_t" = "yes"; then
14580 cat >> confdefs.h
<<\EOF
14581 #define wxUSE_WCHAR_T 1
14588 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14589 ac_cpp
='$CXXCPP $CPPFLAGS'
14590 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14591 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14592 cross_compiling
=$ac_cv_prog_cxx_cross
14594 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
14595 echo "configure:14596: checking if size_t is unsigned int" >&5
14596 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
14597 echo $ac_n "(cached) $ac_c" 1>&6
14599 cat > conftest.
$ac_ext <<EOF
14600 #line 14601 "configure"
14601 #include "confdefs.h"
14602 #include <stddef.h>
14607 struct Foo { void foo(size_t); void foo(unsigned int); };
14613 if { (eval echo configure
:14614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14615 wx_cv_size_t_is_uint
=no
14617 echo "configure: failed program was:" >&5
14618 cat conftest.
$ac_ext >&5
14620 wx_cv_size_t_is_uint
=yes
14627 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
14629 if test "$wx_cv_size_t_is_uint" = "yes"; then
14630 cat >> confdefs.h
<<\EOF
14631 #define wxSIZE_T_IS_UINT 1
14635 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
14636 echo "configure:14637: checking if size_t is unsigned long" >&5
14637 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
14638 echo $ac_n "(cached) $ac_c" 1>&6
14640 cat > conftest.
$ac_ext <<EOF
14641 #line 14642 "configure"
14642 #include "confdefs.h"
14643 #include <stddef.h>
14648 struct Foo { void foo(size_t); void foo(unsigned long); };
14654 if { (eval echo configure
:14655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14656 wx_cv_size_t_is_ulong
=no
14658 echo "configure: failed program was:" >&5
14659 cat conftest.
$ac_ext >&5
14661 wx_cv_size_t_is_ulong
=yes
14668 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
14670 if test "$wx_cv_size_t_is_ulong" = "yes"; then
14671 cat >> confdefs.h
<<\EOF
14672 #define wxSIZE_T_IS_ULONG 1
14679 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14680 ac_cpp
='$CPP $CPPFLAGS'
14681 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14682 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14683 cross_compiling
=$ac_cv_prog_cc_cross
14687 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
14688 echo "configure:14689: checking for pw_gecos in struct passwd" >&5
14689 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
14690 echo $ac_n "(cached) $ac_c" 1>&6
14693 cat > conftest.
$ac_ext <<EOF
14694 #line 14695 "configure"
14695 #include "confdefs.h"
14705 if { (eval echo configure
:14706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14708 wx_cv_struct_pw_gecos
=yes
14711 echo "configure: failed program was:" >&5
14712 cat conftest.
$ac_ext >&5
14715 wx_cv_struct_pw_gecos
=no
14724 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
14726 if test "$wx_cv_struct_pw_gecos" = "yes"; then
14727 cat >> confdefs.h
<<\EOF
14728 #define HAVE_PW_GECOS 1
14734 echo $ac_n "checking for working const""... $ac_c" 1>&6
14735 echo "configure:14736: checking for working const" >&5
14736 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
14737 echo $ac_n "(cached) $ac_c" 1>&6
14739 cat > conftest.
$ac_ext <<EOF
14740 #line 14741 "configure"
14741 #include "confdefs.h"
14745 /* Ultrix mips cc rejects this. */
14746 typedef int charset[2]; const charset x;
14747 /* SunOS 4.1.1 cc rejects this. */
14748 char const *const *ccp;
14750 /* NEC SVR4.0.2 mips cc rejects this. */
14751 struct point {int x, y;};
14752 static struct point const zero = {0,0};
14753 /* AIX XL C 1.02.0.0 rejects this.
14754 It does not let you subtract one const X* pointer from another in an arm
14755 of an if-expression whose if-part is not a constant expression */
14756 const char *g = "string";
14757 ccp = &g + (g ? g-g : 0);
14758 /* HPUX 7.0 cc rejects these. */
14761 ccp = (char const *const *) p;
14762 { /* SCO 3.2v4 cc rejects this. */
14764 char const *s = 0 ? (char *) 0 : (char const *) 0;
14768 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14769 int x[] = {25, 17};
14770 const int *foo = &x[0];
14773 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14774 typedef const int *iptr;
14778 { /* AIX XL C 1.02.0.0 rejects this saying
14779 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14780 struct s { int j; const int *ap[3]; };
14781 struct s *b; b->j = 5;
14783 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14784 const int foo = 10;
14789 if { (eval echo configure
:14790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14793 echo "configure: failed program was:" >&5
14794 cat conftest.
$ac_ext >&5
14801 echo "$ac_t""$ac_cv_c_const" 1>&6
14802 if test $ac_cv_c_const = no
; then
14803 cat >> confdefs.h
<<\EOF
14809 echo $ac_n "checking for inline""... $ac_c" 1>&6
14810 echo "configure:14811: checking for inline" >&5
14811 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
14812 echo $ac_n "(cached) $ac_c" 1>&6
14815 for ac_kw
in inline __inline__ __inline
; do
14816 cat > conftest.
$ac_ext <<EOF
14817 #line 14818 "configure"
14818 #include "confdefs.h"
14824 if { (eval echo configure
:14825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14826 ac_cv_c_inline
=$ac_kw; break
14828 echo "configure: failed program was:" >&5
14829 cat conftest.
$ac_ext >&5
14836 echo "$ac_t""$ac_cv_c_inline" 1>&6
14837 case "$ac_cv_c_inline" in
14839 no
) cat >> confdefs.h
<<\EOF
14843 *) cat >> confdefs.h
<<EOF
14844 #define inline $ac_cv_c_inline
14850 echo $ac_n "checking size of char""... $ac_c" 1>&6
14851 echo "configure:14852: checking size of char" >&5
14852 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
14853 echo $ac_n "(cached) $ac_c" 1>&6
14855 if test "$cross_compiling" = yes; then
14856 ac_cv_sizeof_char
=1
14858 cat > conftest.
$ac_ext <<EOF
14859 #line 14860 "configure"
14860 #include "confdefs.h"
14864 FILE *f=fopen("conftestval", "w");
14866 fprintf(f, "%d\n", sizeof(char));
14870 if { (eval echo configure
:14871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14872 ac_cv_sizeof_char
=`cat conftestval`
14874 echo "configure: failed program was:" >&5
14875 cat conftest.
$ac_ext >&5
14877 ac_cv_sizeof_char
=0
14883 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
14884 cat >> confdefs.h
<<EOF
14885 #define SIZEOF_CHAR $ac_cv_sizeof_char
14889 echo $ac_n "checking size of short""... $ac_c" 1>&6
14890 echo "configure:14891: checking size of short" >&5
14891 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
14892 echo $ac_n "(cached) $ac_c" 1>&6
14894 if test "$cross_compiling" = yes; then
14895 ac_cv_sizeof_short
=2
14897 cat > conftest.
$ac_ext <<EOF
14898 #line 14899 "configure"
14899 #include "confdefs.h"
14903 FILE *f=fopen("conftestval", "w");
14905 fprintf(f, "%d\n", sizeof(short));
14909 if { (eval echo configure
:14910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14911 ac_cv_sizeof_short
=`cat conftestval`
14913 echo "configure: failed program was:" >&5
14914 cat conftest.
$ac_ext >&5
14916 ac_cv_sizeof_short
=0
14922 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
14923 cat >> confdefs.h
<<EOF
14924 #define SIZEOF_SHORT $ac_cv_sizeof_short
14928 echo $ac_n "checking size of int *""... $ac_c" 1>&6
14929 echo "configure:14930: checking size of int *" >&5
14930 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
14931 echo $ac_n "(cached) $ac_c" 1>&6
14933 if test "$cross_compiling" = yes; then
14934 ac_cv_sizeof_int_p
=4
14936 cat > conftest.
$ac_ext <<EOF
14937 #line 14938 "configure"
14938 #include "confdefs.h"
14942 FILE *f=fopen("conftestval", "w");
14944 fprintf(f, "%d\n", sizeof(int *));
14948 if { (eval echo configure
:14949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14950 ac_cv_sizeof_int_p
=`cat conftestval`
14952 echo "configure: failed program was:" >&5
14953 cat conftest.
$ac_ext >&5
14955 ac_cv_sizeof_int_p
=0
14961 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
14962 cat >> confdefs.h
<<EOF
14963 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
14967 echo $ac_n "checking size of int""... $ac_c" 1>&6
14968 echo "configure:14969: checking size of int" >&5
14969 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
14970 echo $ac_n "(cached) $ac_c" 1>&6
14972 if test "$cross_compiling" = yes; then
14975 cat > conftest.
$ac_ext <<EOF
14976 #line 14977 "configure"
14977 #include "confdefs.h"
14981 FILE *f=fopen("conftestval", "w");
14983 fprintf(f, "%d\n", sizeof(int));
14987 if { (eval echo configure
:14988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14989 ac_cv_sizeof_int
=`cat conftestval`
14991 echo "configure: failed program was:" >&5
14992 cat conftest.
$ac_ext >&5
15000 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
15001 cat >> confdefs.h
<<EOF
15002 #define SIZEOF_INT $ac_cv_sizeof_int
15006 echo $ac_n "checking size of long""... $ac_c" 1>&6
15007 echo "configure:15008: checking size of long" >&5
15008 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
15009 echo $ac_n "(cached) $ac_c" 1>&6
15011 if test "$cross_compiling" = yes; then
15012 ac_cv_sizeof_long
=4
15014 cat > conftest.
$ac_ext <<EOF
15015 #line 15016 "configure"
15016 #include "confdefs.h"
15020 FILE *f=fopen("conftestval", "w");
15022 fprintf(f, "%d\n", sizeof(long));
15026 if { (eval echo configure
:15027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
15028 ac_cv_sizeof_long
=`cat conftestval`
15030 echo "configure: failed program was:" >&5
15031 cat conftest.
$ac_ext >&5
15033 ac_cv_sizeof_long
=0
15039 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
15040 cat >> confdefs.h
<<EOF
15041 #define SIZEOF_LONG $ac_cv_sizeof_long
15045 echo $ac_n "checking size of long long""... $ac_c" 1>&6
15046 echo "configure:15047: checking size of long long" >&5
15047 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
15048 echo $ac_n "(cached) $ac_c" 1>&6
15050 if test "$cross_compiling" = yes; then
15051 ac_cv_sizeof_long_long
=0
15053 cat > conftest.
$ac_ext <<EOF
15054 #line 15055 "configure"
15055 #include "confdefs.h"
15059 FILE *f=fopen("conftestval", "w");
15061 fprintf(f, "%d\n", sizeof(long long));
15065 if { (eval echo configure
:15066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
15067 ac_cv_sizeof_long_long
=`cat conftestval`
15069 echo "configure: failed program was:" >&5
15070 cat conftest.
$ac_ext >&5
15072 ac_cv_sizeof_long_long
=0
15078 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
15079 cat >> confdefs.h
<<EOF
15080 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15085 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
15086 echo "configure:15087: checking size of wchar_t" >&5
15087 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
15088 echo $ac_n "(cached) $ac_c" 1>&6
15091 if test "$cross_compiling" = yes; then
15092 wx_cv_sizeof_wchar_t
=4
15095 cat > conftest.
$ac_ext <<EOF
15096 #line 15097 "configure"
15097 #include "confdefs.h"
15099 #ifdef HAVE_WCHAR_H
15101 # include <stddef.h>
15103 # include <wchar.h>
15105 #ifdef HAVE_STDLIB_H
15106 # include <stdlib.h>
15111 FILE *f=fopen("conftestval", "w");
15113 fprintf(f, "%i", sizeof(wchar_t));
15118 if { (eval echo configure
:15119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
15120 wx_cv_sizeof_wchar_t
=`cat conftestval`
15122 echo "configure: failed program was:" >&5
15123 cat conftest.
$ac_ext >&5
15125 wx_cv_sizeof_wchar_t
=0
15133 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
15135 cat >> confdefs.h
<<EOF
15136 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
15140 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
15141 echo "configure:15142: checking whether byte ordering is bigendian" >&5
15142 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
15143 echo $ac_n "(cached) $ac_c" 1>&6
15145 ac_cv_c_bigendian
=unknown
15146 # See if sys/param.h defines the BYTE_ORDER macro.
15147 cat > conftest.
$ac_ext <<EOF
15148 #line 15149 "configure"
15149 #include "confdefs.h"
15150 #include <sys/types.h>
15151 #include <sys/param.h>
15154 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
15155 bogus endian macros
15159 if { (eval echo configure
:15160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15161 # It does; now see whether it defined to BIG_ENDIAN or not.
15162 cat > conftest.
$ac_ext <<EOF
15163 #line 15164 "configure"
15164 #include "confdefs.h"
15165 #include <sys/types.h>
15166 #include <sys/param.h>
15169 #if BYTE_ORDER != BIG_ENDIAN
15174 if { (eval echo configure
:15175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15176 ac_cv_c_bigendian
=yes
15178 echo "configure: failed program was:" >&5
15179 cat conftest.
$ac_ext >&5
15181 ac_cv_c_bigendian
=no
15185 echo "configure: failed program was:" >&5
15186 cat conftest.
$ac_ext >&5
15189 if test $ac_cv_c_bigendian = unknown
; then
15190 if test "$cross_compiling" = yes; then
15191 ac_cv_c_bigendian
=unknown
15193 cat > conftest.
$ac_ext <<EOF
15194 #line 15195 "configure"
15195 #include "confdefs.h"
15197 /* Are we little or big endian? From Harbison&Steele. */
15201 char c[sizeof (long)];
15204 exit (u.c[sizeof (long) - 1] == 1);
15207 if { (eval echo configure
:15208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
15209 ac_cv_c_bigendian
=no
15211 echo "configure: failed program was:" >&5
15212 cat conftest.
$ac_ext >&5
15214 ac_cv_c_bigendian
=yes
15222 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
15223 if test $ac_cv_c_bigendian = unknown
; then
15224 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
15226 if test $ac_cv_c_bigendian = yes; then
15227 cat >> confdefs.h
<<\EOF
15228 #define WORDS_BIGENDIAN 1
15234 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
15235 echo "configure:15236: checking how to run the C++ preprocessor" >&5
15236 if test -z "$CXXCPP"; then
15237 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
15238 echo $ac_n "(cached) $ac_c" 1>&6
15241 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15242 ac_cpp
='$CXXCPP $CPPFLAGS'
15243 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15244 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15245 cross_compiling
=$ac_cv_prog_cxx_cross
15246 CXXCPP
="${CXX-g++} -E"
15247 cat > conftest.
$ac_ext <<EOF
15248 #line 15249 "configure"
15249 #include "confdefs.h"
15250 #include <stdlib.h>
15252 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15253 { (eval echo configure
:15254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15254 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15255 if test -z "$ac_err"; then
15259 echo "configure: failed program was:" >&5
15260 cat conftest.
$ac_ext >&5
15265 ac_cv_prog_CXXCPP
="$CXXCPP"
15267 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15268 ac_cpp
='$CXXCPP $CPPFLAGS'
15269 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15270 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15271 cross_compiling
=$ac_cv_prog_cxx_cross
15274 CXXCPP
="$ac_cv_prog_CXXCPP"
15275 echo "$ac_t""$CXXCPP" 1>&6
15278 if test "$cross_compiling" = "yes"; then
15279 cat >> confdefs.h
<<\EOF
15280 #define wxUSE_IOSTREAMH 1
15286 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15287 ac_cpp
='$CXXCPP $CPPFLAGS'
15288 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15289 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15290 cross_compiling
=$ac_cv_prog_cxx_cross
15293 for ac_hdr
in iostream
15295 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15296 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15297 echo "configure:15298: checking for $ac_hdr" >&5
15298 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15299 echo $ac_n "(cached) $ac_c" 1>&6
15301 cat > conftest.
$ac_ext <<EOF
15302 #line 15303 "configure"
15303 #include "confdefs.h"
15306 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15307 { (eval echo configure
:15308: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15308 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15309 if test -z "$ac_err"; then
15311 eval "ac_cv_header_$ac_safe=yes"
15314 echo "configure: failed program was:" >&5
15315 cat conftest.
$ac_ext >&5
15317 eval "ac_cv_header_$ac_safe=no"
15321 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15322 echo "$ac_t""yes" 1>&6
15323 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15324 cat >> confdefs.h
<<EOF
15325 #define $ac_tr_hdr 1
15329 echo "$ac_t""no" 1>&6
15334 if test "$ac_cv_header_iostream" = "yes" ; then
15337 cat >> confdefs.h
<<\EOF
15338 #define wxUSE_IOSTREAMH 1
15344 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15345 ac_cpp
='$CPP $CPPFLAGS'
15346 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15347 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15348 cross_compiling
=$ac_cv_prog_cc_cross
15354 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
15355 echo "configure:15356: checking if C++ compiler supports bool" >&5
15356 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
15357 echo $ac_n "(cached) $ac_c" 1>&6
15362 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15363 ac_cpp
='$CXXCPP $CPPFLAGS'
15364 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15365 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15366 cross_compiling
=$ac_cv_prog_cxx_cross
15369 cat > conftest.
$ac_ext <<EOF
15370 #line 15371 "configure"
15371 #include "confdefs.h"
15382 if { (eval echo configure
:15383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15388 echo "configure: failed program was:" >&5
15389 cat conftest.
$ac_ext >&5
15399 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15400 ac_cpp
='$CPP $CPPFLAGS'
15401 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15402 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15403 cross_compiling
=$ac_cv_prog_cc_cross
15408 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
15410 if test "$wx_cv_cpp_bool" = "yes"; then
15411 cat >> confdefs.h
<<\EOF
15412 #define HAVE_BOOL 1
15419 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
15420 echo "configure:15421: checking for wcslen in -lc" >&5
15421 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
15422 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15423 echo $ac_n "(cached) $ac_c" 1>&6
15425 ac_save_LIBS
="$LIBS"
15427 cat > conftest.
$ac_ext <<EOF
15428 #line 15429 "configure"
15429 #include "confdefs.h"
15430 /* Override any gcc2 internal prototype to avoid an error. */
15431 /* We use char because int might match the return type of a gcc2
15432 builtin and then its argument prototype would still apply. */
15439 if { (eval echo configure
:15440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15441 eval "ac_cv_lib_$ac_lib_var=yes"
15443 echo "configure: failed program was:" >&5
15444 cat conftest.
$ac_ext >&5
15446 eval "ac_cv_lib_$ac_lib_var=no"
15449 LIBS
="$ac_save_LIBS"
15452 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15453 echo "$ac_t""yes" 1>&6
15455 cat >> confdefs.h
<<\EOF
15456 #define HAVE_WCSLEN 1
15462 echo "$ac_t""no" 1>&6
15464 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
15465 echo "configure:15466: checking for wcslen in -lw" >&5
15466 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
15467 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15468 echo $ac_n "(cached) $ac_c" 1>&6
15470 ac_save_LIBS
="$LIBS"
15472 cat > conftest.
$ac_ext <<EOF
15473 #line 15474 "configure"
15474 #include "confdefs.h"
15475 /* Override any gcc2 internal prototype to avoid an error. */
15476 /* We use char because int might match the return type of a gcc2
15477 builtin and then its argument prototype would still apply. */
15484 if { (eval echo configure
:15485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15486 eval "ac_cv_lib_$ac_lib_var=yes"
15488 echo "configure: failed program was:" >&5
15489 cat conftest.
$ac_ext >&5
15491 eval "ac_cv_lib_$ac_lib_var=no"
15494 LIBS
="$ac_save_LIBS"
15497 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15498 echo "$ac_t""yes" 1>&6
15500 cat >> confdefs.h
<<\EOF
15501 #define HAVE_WCSLEN 1
15507 echo "$ac_t""no" 1>&6
15509 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
15510 echo "configure:15511: checking for wcslen in -lmsvcrt" >&5
15511 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
15512 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15513 echo $ac_n "(cached) $ac_c" 1>&6
15515 ac_save_LIBS
="$LIBS"
15516 LIBS
="-lmsvcrt $LIBS"
15517 cat > conftest.
$ac_ext <<EOF
15518 #line 15519 "configure"
15519 #include "confdefs.h"
15520 /* Override any gcc2 internal prototype to avoid an error. */
15521 /* We use char because int might match the return type of a gcc2
15522 builtin and then its argument prototype would still apply. */
15529 if { (eval echo configure
:15530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15531 eval "ac_cv_lib_$ac_lib_var=yes"
15533 echo "configure: failed program was:" >&5
15534 cat conftest.
$ac_ext >&5
15536 eval "ac_cv_lib_$ac_lib_var=no"
15539 LIBS
="$ac_save_LIBS"
15542 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15543 echo "$ac_t""yes" 1>&6
15545 cat >> confdefs.h
<<\EOF
15546 #define HAVE_WCSLEN 1
15552 echo "$ac_t""no" 1>&6
15562 for ac_func
in wcsrtombs
15564 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15565 echo "configure:15566: checking for $ac_func" >&5
15566 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15567 echo $ac_n "(cached) $ac_c" 1>&6
15569 cat > conftest.
$ac_ext <<EOF
15570 #line 15571 "configure"
15571 #include "confdefs.h"
15572 /* System header to define __stub macros and hopefully few prototypes,
15573 which can conflict with char $ac_func(); below. */
15574 #include <assert.h>
15575 /* Override any gcc2 internal prototype to avoid an error. */
15576 /* We use char because int might match the return type of a gcc2
15577 builtin and then its argument prototype would still apply. */
15582 /* The GNU C library defines this for functions which it implements
15583 to always fail with ENOSYS. Some functions are actually named
15584 something starting with __ and the normal name is an alias. */
15585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15593 if { (eval echo configure
:15594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15595 eval "ac_cv_func_$ac_func=yes"
15597 echo "configure: failed program was:" >&5
15598 cat conftest.
$ac_ext >&5
15600 eval "ac_cv_func_$ac_func=no"
15605 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15606 echo "$ac_t""yes" 1>&6
15607 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15608 cat >> confdefs.h
<<EOF
15609 #define $ac_tr_func 1
15613 echo "$ac_t""no" 1>&6
15618 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
15619 echo "configure:15620: checking for vprintf" >&5
15620 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
15621 echo $ac_n "(cached) $ac_c" 1>&6
15623 cat > conftest.
$ac_ext <<EOF
15624 #line 15625 "configure"
15625 #include "confdefs.h"
15626 /* System header to define __stub macros and hopefully few prototypes,
15627 which can conflict with char vprintf(); below. */
15628 #include <assert.h>
15629 /* Override any gcc2 internal prototype to avoid an error. */
15630 /* We use char because int might match the return type of a gcc2
15631 builtin and then its argument prototype would still apply. */
15636 /* The GNU C library defines this for functions which it implements
15637 to always fail with ENOSYS. Some functions are actually named
15638 something starting with __ and the normal name is an alias. */
15639 #if defined (__stub_vprintf) || defined (__stub___vprintf)
15647 if { (eval echo configure
:15648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15649 eval "ac_cv_func_vprintf=yes"
15651 echo "configure: failed program was:" >&5
15652 cat conftest.
$ac_ext >&5
15654 eval "ac_cv_func_vprintf=no"
15659 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
15660 echo "$ac_t""yes" 1>&6
15661 cat >> confdefs.h
<<\EOF
15662 #define HAVE_VPRINTF 1
15666 echo "$ac_t""no" 1>&6
15669 if test "$ac_cv_func_vprintf" != yes; then
15670 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
15671 echo "configure:15672: checking for _doprnt" >&5
15672 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
15673 echo $ac_n "(cached) $ac_c" 1>&6
15675 cat > conftest.
$ac_ext <<EOF
15676 #line 15677 "configure"
15677 #include "confdefs.h"
15678 /* System header to define __stub macros and hopefully few prototypes,
15679 which can conflict with char _doprnt(); below. */
15680 #include <assert.h>
15681 /* Override any gcc2 internal prototype to avoid an error. */
15682 /* We use char because int might match the return type of a gcc2
15683 builtin and then its argument prototype would still apply. */
15688 /* The GNU C library defines this for functions which it implements
15689 to always fail with ENOSYS. Some functions are actually named
15690 something starting with __ and the normal name is an alias. */
15691 #if defined (__stub__doprnt) || defined (__stub____doprnt)
15699 if { (eval echo configure
:15700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15701 eval "ac_cv_func__doprnt=yes"
15703 echo "configure: failed program was:" >&5
15704 cat conftest.
$ac_ext >&5
15706 eval "ac_cv_func__doprnt=no"
15711 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
15712 echo "$ac_t""yes" 1>&6
15713 cat >> confdefs.h
<<\EOF
15714 #define HAVE_DOPRNT 1
15718 echo "$ac_t""no" 1>&6
15728 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
15729 echo "configure:15730: checking for vsnprintf" >&5
15730 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
15731 echo $ac_n "(cached) $ac_c" 1>&6
15734 cat > conftest.
$ac_ext <<EOF
15735 #line 15736 "configure"
15736 #include "confdefs.h"
15739 #include <stdarg.h>
15743 int wx_test_vsnprintf(const char *, ...);
15745 wx_test_vsnprintf("%s");
15749 int wx_test_vsnprintf(const char *fmt, ...)
15754 va_start(argp, fmt);
15755 vsnprintf(s, 42, fmt, argp);
15760 if { (eval echo configure
:15761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15763 wx_cv_func_vsnprintf
=yes
15766 echo "configure: failed program was:" >&5
15767 cat conftest.
$ac_ext >&5
15770 cat > conftest.
$ac_ext <<EOF
15771 #line 15772 "configure"
15772 #include "confdefs.h"
15775 #include <stdarg.h>
15779 int wx_test_vsnprintf(const char *, ...);
15781 wx_test_vsnprintf("%s");
15785 int wx_test_vsnprintf(const char *fmt, ...)
15790 va_start(argp, fmt);
15791 _vsnprintf(s, 42, fmt, argp);
15796 if { (eval echo configure
:15797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15799 wx_cv_func_vsnprintf
=yes
15802 echo "configure: failed program was:" >&5
15803 cat conftest.
$ac_ext >&5
15806 wx_cv_func_vsnprintf
=no
15816 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
15818 if test "$wx_cv_func_vsnprintf" = yes; then
15819 cat >> confdefs.h
<<\EOF
15820 #define HAVE_VSNPRINTF 1
15824 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
15827 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
15828 echo "configure:15829: checking for vsscanf" >&5
15829 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
15830 echo $ac_n "(cached) $ac_c" 1>&6
15833 cat > conftest.
$ac_ext <<EOF
15834 #line 15835 "configure"
15835 #include "confdefs.h"
15838 #include <stdarg.h>
15842 int wx_test_vsscanf(const char *, ...);
15844 wx_test_vsscanf("%d");
15848 int wx_test_vsscanf(const char *fmt, ...)
15851 va_start(argp, fmt);
15852 vsscanf("42", fmt, argp);
15857 if { (eval echo configure
:15858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15860 wx_cv_func_vsscanf
=yes
15863 echo "configure: failed program was:" >&5
15864 cat conftest.
$ac_ext >&5
15867 wx_cv_func_vsscanf
=no
15874 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
15876 if test "$wx_cv_func_vsscanf" = yes; then
15877 cat >> confdefs.h
<<\EOF
15878 #define HAVE_VSSCANF 1
15883 if test "$TOOLKIT" != "MSW"; then
15888 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15889 ac_cpp
='$CXXCPP $CPPFLAGS'
15890 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15891 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15892 cross_compiling
=$ac_cv_prog_cxx_cross
15896 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
15897 if test "${with_libiconv_prefix+set}" = set; then
15898 withval
="$with_libiconv_prefix"
15900 for dir
in `echo "$withval" | tr : ' '`; do
15901 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
15902 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
15908 echo $ac_n "checking for iconv""... $ac_c" 1>&6
15909 echo "configure:15910: checking for iconv" >&5
15910 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
15911 echo $ac_n "(cached) $ac_c" 1>&6
15914 am_cv_func_iconv
="no, consider installing GNU libiconv"
15916 cat > conftest.
$ac_ext <<EOF
15917 #line 15918 "configure"
15918 #include "confdefs.h"
15919 #include <stdlib.h>
15922 iconv_t cd = iconv_open("","");
15923 iconv(cd,NULL,NULL,NULL,NULL);
15927 if { (eval echo configure
:15928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15929 am_cv_func_iconv
=yes
15931 echo "configure: failed program was:" >&5
15932 cat conftest.
$ac_ext >&5
15935 if test "$am_cv_func_iconv" != yes; then
15936 am_save_LIBS
="$LIBS"
15937 LIBS
="$LIBS -liconv"
15938 cat > conftest.
$ac_ext <<EOF
15939 #line 15940 "configure"
15940 #include "confdefs.h"
15941 #include <stdlib.h>
15944 iconv_t cd = iconv_open("","");
15945 iconv(cd,NULL,NULL,NULL,NULL);
15949 if { (eval echo configure
:15950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15951 am_cv_lib_iconv
=yes
15952 am_cv_func_iconv
=yes
15954 echo "configure: failed program was:" >&5
15955 cat conftest.
$ac_ext >&5
15958 LIBS
="$am_save_LIBS"
15963 echo "$ac_t""$am_cv_func_iconv" 1>&6
15964 if test "$am_cv_func_iconv" = yes; then
15965 cat >> confdefs.h
<<\EOF
15966 #define HAVE_ICONV 1
15969 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
15970 echo "configure:15971: checking if iconv needs const" >&5
15971 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
15972 echo $ac_n "(cached) $ac_c" 1>&6
15974 cat > conftest.
$ac_ext <<EOF
15975 #line 15976 "configure"
15976 #include "confdefs.h"
15978 #include <stdlib.h>
15984 #if defined(__STDC__) || defined(__cplusplus)
15985 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15994 if { (eval echo configure
:15995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15996 wx_cv_func_iconv_const
="no"
15998 echo "configure: failed program was:" >&5
15999 cat conftest.
$ac_ext >&5
16001 wx_cv_func_iconv_const
="yes"
16008 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
16011 if test "x$wx_cv_func_iconv_const" = "xyes"; then
16012 iconv_const
="const"
16015 cat >> confdefs.h
<<EOF
16016 #define ICONV_CONST $iconv_const
16021 if test "$am_cv_lib_iconv" = yes; then
16026 LIBS
="$LIBICONV $LIBS"
16028 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16029 ac_cpp
='$CPP $CPPFLAGS'
16030 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16031 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16032 cross_compiling
=$ac_cv_prog_cc_cross
16035 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
16036 for ac_func
in sigaction
16038 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16039 echo "configure:16040: checking for $ac_func" >&5
16040 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16041 echo $ac_n "(cached) $ac_c" 1>&6
16043 cat > conftest.
$ac_ext <<EOF
16044 #line 16045 "configure"
16045 #include "confdefs.h"
16046 /* System header to define __stub macros and hopefully few prototypes,
16047 which can conflict with char $ac_func(); below. */
16048 #include <assert.h>
16049 /* Override any gcc2 internal prototype to avoid an error. */
16050 /* We use char because int might match the return type of a gcc2
16051 builtin and then its argument prototype would still apply. */
16056 /* The GNU C library defines this for functions which it implements
16057 to always fail with ENOSYS. Some functions are actually named
16058 something starting with __ and the normal name is an alias. */
16059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16067 if { (eval echo configure
:16068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16069 eval "ac_cv_func_$ac_func=yes"
16071 echo "configure: failed program was:" >&5
16072 cat conftest.
$ac_ext >&5
16074 eval "ac_cv_func_$ac_func=no"
16079 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16080 echo "$ac_t""yes" 1>&6
16081 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16082 cat >> confdefs.h
<<EOF
16083 #define $ac_tr_func 1
16087 echo "$ac_t""no" 1>&6
16092 if test "$ac_cv_func_sigaction" = "no"; then
16093 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
16094 wxUSE_ON_FATAL_EXCEPTION
=no
16097 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16100 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16101 ac_cpp
='$CXXCPP $CPPFLAGS'
16102 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16103 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16104 cross_compiling
=$ac_cv_prog_cxx_cross
16107 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
16108 echo "configure:16109: checking for sa_handler type" >&5
16109 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
16110 echo $ac_n "(cached) $ac_c" 1>&6
16113 cat > conftest.
$ac_ext <<EOF
16114 #line 16115 "configure"
16115 #include "confdefs.h"
16116 #include <signal.h>
16119 extern void testSigHandler(int);
16121 struct sigaction sa;
16122 sa.sa_handler = testSigHandler;
16126 if { (eval echo configure
:16127: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16129 wx_cv_type_sa_handler
=int
16132 echo "configure: failed program was:" >&5
16133 cat conftest.
$ac_ext >&5
16136 wx_cv_type_sa_handler
=void
16143 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
16146 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16147 ac_cpp
='$CPP $CPPFLAGS'
16148 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16149 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16150 cross_compiling
=$ac_cv_prog_cc_cross
16153 cat >> confdefs.h
<<EOF
16154 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
16160 for ac_func
in vfork
16162 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16163 echo "configure:16164: checking for $ac_func" >&5
16164 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16165 echo $ac_n "(cached) $ac_c" 1>&6
16167 cat > conftest.
$ac_ext <<EOF
16168 #line 16169 "configure"
16169 #include "confdefs.h"
16170 /* System header to define __stub macros and hopefully few prototypes,
16171 which can conflict with char $ac_func(); below. */
16172 #include <assert.h>
16173 /* Override any gcc2 internal prototype to avoid an error. */
16174 /* We use char because int might match the return type of a gcc2
16175 builtin and then its argument prototype would still apply. */
16180 /* The GNU C library defines this for functions which it implements
16181 to always fail with ENOSYS. Some functions are actually named
16182 something starting with __ and the normal name is an alias. */
16183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16191 if { (eval echo configure
:16192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16193 eval "ac_cv_func_$ac_func=yes"
16195 echo "configure: failed program was:" >&5
16196 cat conftest.
$ac_ext >&5
16198 eval "ac_cv_func_$ac_func=no"
16203 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16204 echo "$ac_t""yes" 1>&6
16205 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16206 cat >> confdefs.h
<<EOF
16207 #define $ac_tr_func 1
16211 echo "$ac_t""no" 1>&6
16216 for ac_func
in mkstemp mktemp
16218 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16219 echo "configure:16220: checking for $ac_func" >&5
16220 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16221 echo $ac_n "(cached) $ac_c" 1>&6
16223 cat > conftest.
$ac_ext <<EOF
16224 #line 16225 "configure"
16225 #include "confdefs.h"
16226 /* System header to define __stub macros and hopefully few prototypes,
16227 which can conflict with char $ac_func(); below. */
16228 #include <assert.h>
16229 /* Override any gcc2 internal prototype to avoid an error. */
16230 /* We use char because int might match the return type of a gcc2
16231 builtin and then its argument prototype would still apply. */
16236 /* The GNU C library defines this for functions which it implements
16237 to always fail with ENOSYS. Some functions are actually named
16238 something starting with __ and the normal name is an alias. */
16239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16247 if { (eval echo configure
:16248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16249 eval "ac_cv_func_$ac_func=yes"
16251 echo "configure: failed program was:" >&5
16252 cat conftest.
$ac_ext >&5
16254 eval "ac_cv_func_$ac_func=no"
16259 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16260 echo "$ac_t""yes" 1>&6
16261 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16262 cat >> confdefs.h
<<EOF
16263 #define $ac_tr_func 1
16267 echo "$ac_t""no" 1>&6
16272 echo $ac_n "checking for statfs""... $ac_c" 1>&6
16273 echo "configure:16274: checking for statfs" >&5
16274 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
16275 echo $ac_n "(cached) $ac_c" 1>&6
16277 cat > conftest.
$ac_ext <<EOF
16278 #line 16279 "configure"
16279 #include "confdefs.h"
16281 #if defined(__BSD__)
16282 #include <sys/param.h>
16283 #include <sys/mount.h>
16285 #include <sys/vfs.h>
16299 if { (eval echo configure
:16300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16302 wx_cv_func_statfs
=yes
16305 echo "configure: failed program was:" >&5
16306 cat conftest.
$ac_ext >&5
16309 wx_cv_func_statfs
=no
16317 echo "$ac_t""$wx_cv_func_statfs" 1>&6
16319 if test "$wx_cv_func_statfs" = "yes"; then
16320 cat >> confdefs.h
<<\EOF
16321 #define HAVE_STATFS 1
16325 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
16326 echo "configure:16327: checking for statvfs" >&5
16327 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
16328 echo $ac_n "(cached) $ac_c" 1>&6
16330 cat > conftest.
$ac_ext <<EOF
16331 #line 16332 "configure"
16332 #include "confdefs.h"
16334 #include <sys/statvfs.h>
16347 if { (eval echo configure
:16348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16350 wx_cv_func_statvfs
=yes
16353 echo "configure: failed program was:" >&5
16354 cat conftest.
$ac_ext >&5
16357 wx_cv_func_statvfs
=no
16365 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
16367 if test "$wx_cv_func_statvfs" = "yes"; then
16368 cat >> confdefs.h
<<\EOF
16369 #define HAVE_STATVFS 1
16373 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
16377 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16378 for ac_func
in fcntl flock
16380 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16381 echo "configure:16382: checking for $ac_func" >&5
16382 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16383 echo $ac_n "(cached) $ac_c" 1>&6
16385 cat > conftest.
$ac_ext <<EOF
16386 #line 16387 "configure"
16387 #include "confdefs.h"
16388 /* System header to define __stub macros and hopefully few prototypes,
16389 which can conflict with char $ac_func(); below. */
16390 #include <assert.h>
16391 /* Override any gcc2 internal prototype to avoid an error. */
16392 /* We use char because int might match the return type of a gcc2
16393 builtin and then its argument prototype would still apply. */
16398 /* The GNU C library defines this for functions which it implements
16399 to always fail with ENOSYS. Some functions are actually named
16400 something starting with __ and the normal name is an alias. */
16401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16409 if { (eval echo configure
:16410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16411 eval "ac_cv_func_$ac_func=yes"
16413 echo "configure: failed program was:" >&5
16414 cat conftest.
$ac_ext >&5
16416 eval "ac_cv_func_$ac_func=no"
16421 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16422 echo "$ac_t""yes" 1>&6
16423 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16424 cat >> confdefs.h
<<EOF
16425 #define $ac_tr_func 1
16429 echo "$ac_t""no" 1>&6
16434 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
16435 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
16436 wxUSE_SNGLINST_CHECKER
=no
16440 for ac_func
in timegm
16442 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16443 echo "configure:16444: checking for $ac_func" >&5
16444 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16445 echo $ac_n "(cached) $ac_c" 1>&6
16447 cat > conftest.
$ac_ext <<EOF
16448 #line 16449 "configure"
16449 #include "confdefs.h"
16450 /* System header to define __stub macros and hopefully few prototypes,
16451 which can conflict with char $ac_func(); below. */
16452 #include <assert.h>
16453 /* Override any gcc2 internal prototype to avoid an error. */
16454 /* We use char because int might match the return type of a gcc2
16455 builtin and then its argument prototype would still apply. */
16460 /* The GNU C library defines this for functions which it implements
16461 to always fail with ENOSYS. Some functions are actually named
16462 something starting with __ and the normal name is an alias. */
16463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16471 if { (eval echo configure
:16472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16473 eval "ac_cv_func_$ac_func=yes"
16475 echo "configure: failed program was:" >&5
16476 cat conftest.
$ac_ext >&5
16478 eval "ac_cv_func_$ac_func=no"
16483 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16484 echo "$ac_t""yes" 1>&6
16485 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16486 cat >> confdefs.h
<<EOF
16487 #define $ac_tr_func 1
16491 echo "$ac_t""no" 1>&6
16496 for ac_func
in putenv setenv
16498 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16499 echo "configure:16500: checking for $ac_func" >&5
16500 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16501 echo $ac_n "(cached) $ac_c" 1>&6
16503 cat > conftest.
$ac_ext <<EOF
16504 #line 16505 "configure"
16505 #include "confdefs.h"
16506 /* System header to define __stub macros and hopefully few prototypes,
16507 which can conflict with char $ac_func(); below. */
16508 #include <assert.h>
16509 /* Override any gcc2 internal prototype to avoid an error. */
16510 /* We use char because int might match the return type of a gcc2
16511 builtin and then its argument prototype would still apply. */
16516 /* The GNU C library defines this for functions which it implements
16517 to always fail with ENOSYS. Some functions are actually named
16518 something starting with __ and the normal name is an alias. */
16519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16527 if { (eval echo configure
:16528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16529 eval "ac_cv_func_$ac_func=yes"
16531 echo "configure: failed program was:" >&5
16532 cat conftest.
$ac_ext >&5
16534 eval "ac_cv_func_$ac_func=no"
16539 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16540 echo "$ac_t""yes" 1>&6
16541 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16542 cat >> confdefs.h
<<EOF
16543 #define $ac_tr_func 1
16547 echo "$ac_t""no" 1>&6
16552 HAVE_SOME_SLEEP_FUNC
=0
16553 if test "$USE_BEOS" = 1; then
16554 cat >> confdefs.h
<<\EOF
16555 #define HAVE_SLEEP 1
16558 HAVE_SOME_SLEEP_FUNC
=1
16561 if test "$USE_DARWIN" = 1; then
16562 cat >> confdefs.h
<<\EOF
16563 #define HAVE_USLEEP 1
16566 HAVE_SOME_SLEEP_FUNC
=1
16569 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
16571 for ac_func
in nanosleep
16573 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16574 echo "configure:16575: checking for $ac_func" >&5
16575 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16576 echo $ac_n "(cached) $ac_c" 1>&6
16578 cat > conftest.
$ac_ext <<EOF
16579 #line 16580 "configure"
16580 #include "confdefs.h"
16581 /* System header to define __stub macros and hopefully few prototypes,
16582 which can conflict with char $ac_func(); below. */
16583 #include <assert.h>
16584 /* Override any gcc2 internal prototype to avoid an error. */
16585 /* We use char because int might match the return type of a gcc2
16586 builtin and then its argument prototype would still apply. */
16591 /* The GNU C library defines this for functions which it implements
16592 to always fail with ENOSYS. Some functions are actually named
16593 something starting with __ and the normal name is an alias. */
16594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16602 if { (eval echo configure
:16603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16604 eval "ac_cv_func_$ac_func=yes"
16606 echo "configure: failed program was:" >&5
16607 cat conftest.
$ac_ext >&5
16609 eval "ac_cv_func_$ac_func=no"
16614 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16615 echo "$ac_t""yes" 1>&6
16616 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16617 cat >> confdefs.h
<<EOF
16618 #define $ac_tr_func 1
16620 cat >> confdefs.h
<<\EOF
16621 #define HAVE_NANOSLEEP 1
16625 echo "$ac_t""no" 1>&6
16626 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
16627 echo "configure:16628: checking for nanosleep in -lposix4" >&5
16628 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
16629 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16630 echo $ac_n "(cached) $ac_c" 1>&6
16632 ac_save_LIBS
="$LIBS"
16633 LIBS
="-lposix4 $LIBS"
16634 cat > conftest.
$ac_ext <<EOF
16635 #line 16636 "configure"
16636 #include "confdefs.h"
16637 /* Override any gcc2 internal prototype to avoid an error. */
16638 /* We use char because int might match the return type of a gcc2
16639 builtin and then its argument prototype would still apply. */
16646 if { (eval echo configure
:16647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16648 eval "ac_cv_lib_$ac_lib_var=yes"
16650 echo "configure: failed program was:" >&5
16651 cat conftest.
$ac_ext >&5
16653 eval "ac_cv_lib_$ac_lib_var=no"
16656 LIBS
="$ac_save_LIBS"
16659 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16660 echo "$ac_t""yes" 1>&6
16662 cat >> confdefs.h
<<\EOF
16663 #define HAVE_NANOSLEEP 1
16666 POSIX4_LINK
=" -lposix4"
16669 echo "$ac_t""no" 1>&6
16671 for ac_func
in usleep
16673 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16674 echo "configure:16675: checking for $ac_func" >&5
16675 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16676 echo $ac_n "(cached) $ac_c" 1>&6
16678 cat > conftest.
$ac_ext <<EOF
16679 #line 16680 "configure"
16680 #include "confdefs.h"
16681 /* System header to define __stub macros and hopefully few prototypes,
16682 which can conflict with char $ac_func(); below. */
16683 #include <assert.h>
16684 /* Override any gcc2 internal prototype to avoid an error. */
16685 /* We use char because int might match the return type of a gcc2
16686 builtin and then its argument prototype would still apply. */
16691 /* The GNU C library defines this for functions which it implements
16692 to always fail with ENOSYS. Some functions are actually named
16693 something starting with __ and the normal name is an alias. */
16694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16702 if { (eval echo configure
:16703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16704 eval "ac_cv_func_$ac_func=yes"
16706 echo "configure: failed program was:" >&5
16707 cat conftest.
$ac_ext >&5
16709 eval "ac_cv_func_$ac_func=no"
16714 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16715 echo "$ac_t""yes" 1>&6
16716 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16717 cat >> confdefs.h
<<EOF
16718 #define $ac_tr_func 1
16720 cat >> confdefs.h
<<\EOF
16721 #define HAVE_USLEEP 1
16725 echo "$ac_t""no" 1>&6
16726 echo "configure: warning: wxSleep() function will not work" 1>&2
16742 for ac_func
in uname gethostname
16744 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16745 echo "configure:16746: checking for $ac_func" >&5
16746 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16747 echo $ac_n "(cached) $ac_c" 1>&6
16749 cat > conftest.
$ac_ext <<EOF
16750 #line 16751 "configure"
16751 #include "confdefs.h"
16752 /* System header to define __stub macros and hopefully few prototypes,
16753 which can conflict with char $ac_func(); below. */
16754 #include <assert.h>
16755 /* Override any gcc2 internal prototype to avoid an error. */
16756 /* We use char because int might match the return type of a gcc2
16757 builtin and then its argument prototype would still apply. */
16762 /* The GNU C library defines this for functions which it implements
16763 to always fail with ENOSYS. Some functions are actually named
16764 something starting with __ and the normal name is an alias. */
16765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16773 if { (eval echo configure
:16774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16775 eval "ac_cv_func_$ac_func=yes"
16777 echo "configure: failed program was:" >&5
16778 cat conftest.
$ac_ext >&5
16780 eval "ac_cv_func_$ac_func=no"
16785 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16786 echo "$ac_t""yes" 1>&6
16787 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16788 cat >> confdefs.h
<<EOF
16789 #define $ac_tr_func 1
16793 echo "$ac_t""no" 1>&6
16800 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16801 ac_cpp
='$CXXCPP $CPPFLAGS'
16802 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16803 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16804 cross_compiling
=$ac_cv_prog_cxx_cross
16807 for ac_func
in strtok_r
16809 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16810 echo "configure:16811: checking for $ac_func" >&5
16811 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16812 echo $ac_n "(cached) $ac_c" 1>&6
16814 cat > conftest.
$ac_ext <<EOF
16815 #line 16816 "configure"
16816 #include "confdefs.h"
16817 /* System header to define __stub macros and hopefully few prototypes,
16818 which can conflict with char $ac_func(); below. */
16819 #include <assert.h>
16820 /* Override any gcc2 internal prototype to avoid an error. */
16824 /* We use char because int might match the return type of a gcc2
16825 builtin and then its argument prototype would still apply. */
16830 /* The GNU C library defines this for functions which it implements
16831 to always fail with ENOSYS. Some functions are actually named
16832 something starting with __ and the normal name is an alias. */
16833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16841 if { (eval echo configure
:16842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16843 eval "ac_cv_func_$ac_func=yes"
16845 echo "configure: failed program was:" >&5
16846 cat conftest.
$ac_ext >&5
16848 eval "ac_cv_func_$ac_func=no"
16853 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16854 echo "$ac_t""yes" 1>&6
16855 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16856 cat >> confdefs.h
<<EOF
16857 #define $ac_tr_func 1
16861 echo "$ac_t""no" 1>&6
16867 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16868 ac_cpp
='$CPP $CPPFLAGS'
16869 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16870 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16871 cross_compiling
=$ac_cv_prog_cc_cross
16875 for ac_func
in inet_addr
16877 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16878 echo "configure:16879: checking for $ac_func" >&5
16879 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16880 echo $ac_n "(cached) $ac_c" 1>&6
16882 cat > conftest.
$ac_ext <<EOF
16883 #line 16884 "configure"
16884 #include "confdefs.h"
16885 /* System header to define __stub macros and hopefully few prototypes,
16886 which can conflict with char $ac_func(); below. */
16887 #include <assert.h>
16888 /* Override any gcc2 internal prototype to avoid an error. */
16889 /* We use char because int might match the return type of a gcc2
16890 builtin and then its argument prototype would still apply. */
16895 /* The GNU C library defines this for functions which it implements
16896 to always fail with ENOSYS. Some functions are actually named
16897 something starting with __ and the normal name is an alias. */
16898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16906 if { (eval echo configure
:16907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16908 eval "ac_cv_func_$ac_func=yes"
16910 echo "configure: failed program was:" >&5
16911 cat conftest.
$ac_ext >&5
16913 eval "ac_cv_func_$ac_func=no"
16918 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16919 echo "$ac_t""yes" 1>&6
16920 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16921 cat >> confdefs.h
<<EOF
16922 #define $ac_tr_func 1
16924 cat >> confdefs.h
<<\EOF
16925 #define HAVE_INET_ADDR 1
16929 echo "$ac_t""no" 1>&6
16930 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
16931 echo "configure:16932: checking for inet_addr in -lnsl" >&5
16932 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
16933 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16934 echo $ac_n "(cached) $ac_c" 1>&6
16936 ac_save_LIBS
="$LIBS"
16938 cat > conftest.
$ac_ext <<EOF
16939 #line 16940 "configure"
16940 #include "confdefs.h"
16941 /* Override any gcc2 internal prototype to avoid an error. */
16942 /* We use char because int might match the return type of a gcc2
16943 builtin and then its argument prototype would still apply. */
16950 if { (eval echo configure
:16951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16952 eval "ac_cv_lib_$ac_lib_var=yes"
16954 echo "configure: failed program was:" >&5
16955 cat conftest.
$ac_ext >&5
16957 eval "ac_cv_lib_$ac_lib_var=no"
16960 LIBS
="$ac_save_LIBS"
16963 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16964 echo "$ac_t""yes" 1>&6
16967 echo "$ac_t""no" 1>&6
16968 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
16969 echo "configure:16970: checking for inet_addr in -lresolv" >&5
16970 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
16971 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16972 echo $ac_n "(cached) $ac_c" 1>&6
16974 ac_save_LIBS
="$LIBS"
16975 LIBS
="-lresolv $LIBS"
16976 cat > conftest.
$ac_ext <<EOF
16977 #line 16978 "configure"
16978 #include "confdefs.h"
16979 /* Override any gcc2 internal prototype to avoid an error. */
16980 /* We use char because int might match the return type of a gcc2
16981 builtin and then its argument prototype would still apply. */
16988 if { (eval echo configure
:16989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16990 eval "ac_cv_lib_$ac_lib_var=yes"
16992 echo "configure: failed program was:" >&5
16993 cat conftest.
$ac_ext >&5
16995 eval "ac_cv_lib_$ac_lib_var=no"
16998 LIBS
="$ac_save_LIBS"
17001 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17002 echo "$ac_t""yes" 1>&6
17006 echo "$ac_t""no" 1>&6
17018 for ac_func
in inet_aton
17020 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17021 echo "configure:17022: checking for $ac_func" >&5
17022 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17023 echo $ac_n "(cached) $ac_c" 1>&6
17025 cat > conftest.
$ac_ext <<EOF
17026 #line 17027 "configure"
17027 #include "confdefs.h"
17028 /* System header to define __stub macros and hopefully few prototypes,
17029 which can conflict with char $ac_func(); below. */
17030 #include <assert.h>
17031 /* Override any gcc2 internal prototype to avoid an error. */
17032 /* We use char because int might match the return type of a gcc2
17033 builtin and then its argument prototype would still apply. */
17038 /* The GNU C library defines this for functions which it implements
17039 to always fail with ENOSYS. Some functions are actually named
17040 something starting with __ and the normal name is an alias. */
17041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17049 if { (eval echo configure
:17050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17051 eval "ac_cv_func_$ac_func=yes"
17053 echo "configure: failed program was:" >&5
17054 cat conftest.
$ac_ext >&5
17056 eval "ac_cv_func_$ac_func=no"
17061 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17062 echo "$ac_t""yes" 1>&6
17063 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17064 cat >> confdefs.h
<<EOF
17065 #define $ac_tr_func 1
17067 cat >> confdefs.h
<<\EOF
17068 #define HAVE_INET_ATON 1
17072 echo "$ac_t""no" 1>&6
17073 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
17074 echo "configure:17075: checking for inet_aton in -l$INET_LINK" >&5
17075 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
17076 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17077 echo $ac_n "(cached) $ac_c" 1>&6
17079 ac_save_LIBS
="$LIBS"
17080 LIBS
="-l$INET_LINK $LIBS"
17081 cat > conftest.
$ac_ext <<EOF
17082 #line 17083 "configure"
17083 #include "confdefs.h"
17084 /* Override any gcc2 internal prototype to avoid an error. */
17085 /* We use char because int might match the return type of a gcc2
17086 builtin and then its argument prototype would still apply. */
17093 if { (eval echo configure
:17094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17095 eval "ac_cv_lib_$ac_lib_var=yes"
17097 echo "configure: failed program was:" >&5
17098 cat conftest.
$ac_ext >&5
17100 eval "ac_cv_lib_$ac_lib_var=no"
17103 LIBS
="$ac_save_LIBS"
17106 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17107 echo "$ac_t""yes" 1>&6
17108 cat >> confdefs.h
<<\EOF
17109 #define HAVE_INET_ATON 1
17113 echo "$ac_t""no" 1>&6
17121 if test "x$INET_LINK" != "x"; then
17122 cat >> confdefs.h
<<\EOF
17123 #define HAVE_INET_ADDR 1
17126 INET_LINK
=" -l$INET_LINK"
17132 cat > confcache
<<\EOF
17133 # This file is a shell script that caches the results of configure
17134 # tests run on this system so they can be shared between configure
17135 # scripts and configure runs. It is not useful on other systems.
17136 # If it contains results you don't want to keep, you may remove or edit it.
17138 # By default, configure uses ./config.cache as the cache file,
17139 # creating it if it does not exist already. You can give configure
17140 # the --cache-file=FILE option to use a different cache file; that is
17141 # what configure does when it calls configure scripts in
17142 # subdirectories, so they share the cache.
17143 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17144 # config.status only pays attention to the cache file if you give it the
17145 # --recheck option to rerun configure.
17148 # The following way of writing the cache mishandles newlines in values,
17149 # but we know of no workaround that is simple, portable, and efficient.
17150 # So, don't put newlines in cache variables' values.
17151 # Ultrix sh set writes to stderr and can't be redirected directly,
17152 # and sets the high bit in the cache file unless we assign to the vars.
17154 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17156 # `set' does not quote correctly, so add quotes (double-quote substitution
17157 # turns \\\\ into \\, and sed turns \\ into \).
17159 -e "s/'/'\\\\''/g" \
17160 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17163 # `set' quotes correctly as required by POSIX, so do not add quotes.
17164 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17167 if cmp -s $cache_file confcache
; then
17170 if test -w $cache_file; then
17171 echo "updating cache $cache_file"
17172 cat confcache
> $cache_file
17174 echo "not updating unwritable cache $cache_file"
17181 if test "$TOOLKIT" != "MSW"; then
17187 CODE_GEN_FLAGS_CXX
=
17189 if test "$wxUSE_THREADS" = "yes" ; then
17190 if test "$wxUSE_WINE" = 1 ; then
17191 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
17193 elif test "$USE_BEOS" = 1; then
17194 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
17199 if test "$wxUSE_THREADS" = "yes" ; then
17201 if test "$USE_AIX" = 1; then
17202 THREADS_LIB
=pthreads
17204 THREADS_LIB
=pthread
17207 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
17208 echo "configure:17209: checking for pthread_create in -l$THREADS_LIB" >&5
17209 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
17210 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17211 echo $ac_n "(cached) $ac_c" 1>&6
17213 ac_save_LIBS
="$LIBS"
17214 LIBS
="-l$THREADS_LIB $LIBS"
17215 cat > conftest.
$ac_ext <<EOF
17216 #line 17217 "configure"
17217 #include "confdefs.h"
17218 /* Override any gcc2 internal prototype to avoid an error. */
17219 /* We use char because int might match the return type of a gcc2
17220 builtin and then its argument prototype would still apply. */
17221 char pthread_create();
17227 if { (eval echo configure
:17228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17229 eval "ac_cv_lib_$ac_lib_var=yes"
17231 echo "configure: failed program was:" >&5
17232 cat conftest.
$ac_ext >&5
17234 eval "ac_cv_lib_$ac_lib_var=no"
17237 LIBS
="$ac_save_LIBS"
17240 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17241 echo "$ac_t""yes" 1>&6
17243 THREADS_OBJ
="threadpsx.lo"
17244 THREADS_LINK
=$THREADS_LIB
17247 echo "$ac_t""no" 1>&6
17249 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
17250 echo "configure:17251: checking for pthread_create in -lc_r" >&5
17251 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
17252 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17253 echo $ac_n "(cached) $ac_c" 1>&6
17255 ac_save_LIBS
="$LIBS"
17257 cat > conftest.
$ac_ext <<EOF
17258 #line 17259 "configure"
17259 #include "confdefs.h"
17260 /* Override any gcc2 internal prototype to avoid an error. */
17261 /* We use char because int might match the return type of a gcc2
17262 builtin and then its argument prototype would still apply. */
17263 char pthread_create();
17269 if { (eval echo configure
:17270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17271 eval "ac_cv_lib_$ac_lib_var=yes"
17273 echo "configure: failed program was:" >&5
17274 cat conftest.
$ac_ext >&5
17276 eval "ac_cv_lib_$ac_lib_var=no"
17279 LIBS
="$ac_save_LIBS"
17282 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17283 echo "$ac_t""yes" 1>&6
17285 THREADS_OBJ
="threadpsx.lo"
17289 echo "$ac_t""no" 1>&6
17291 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
17292 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
17293 echo "configure:17294: checking for sys/prctl.h" >&5
17294 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17295 echo $ac_n "(cached) $ac_c" 1>&6
17297 cat > conftest.
$ac_ext <<EOF
17298 #line 17299 "configure"
17299 #include "confdefs.h"
17300 #include <sys/prctl.h>
17302 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17303 { (eval echo configure
:17304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17304 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17305 if test -z "$ac_err"; then
17307 eval "ac_cv_header_$ac_safe=yes"
17310 echo "configure: failed program was:" >&5
17311 cat conftest.
$ac_ext >&5
17313 eval "ac_cv_header_$ac_safe=no"
17317 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17318 echo "$ac_t""yes" 1>&6
17320 THREADS_OBJ
="threadsgi.lo"
17323 echo "$ac_t""no" 1>&6
17333 if test -z "$THREADS_OBJ" ; then
17335 echo "configure: warning: No thread support on this system... disabled" 1>&2
17339 if test "$wxUSE_THREADS" = "yes" ; then
17340 for ac_func
in thr_setconcurrency
17342 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17343 echo "configure:17344: checking for $ac_func" >&5
17344 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17345 echo $ac_n "(cached) $ac_c" 1>&6
17347 cat > conftest.
$ac_ext <<EOF
17348 #line 17349 "configure"
17349 #include "confdefs.h"
17350 /* System header to define __stub macros and hopefully few prototypes,
17351 which can conflict with char $ac_func(); below. */
17352 #include <assert.h>
17353 /* Override any gcc2 internal prototype to avoid an error. */
17354 /* We use char because int might match the return type of a gcc2
17355 builtin and then its argument prototype would still apply. */
17360 /* The GNU C library defines this for functions which it implements
17361 to always fail with ENOSYS. Some functions are actually named
17362 something starting with __ and the normal name is an alias. */
17363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17371 if { (eval echo configure
:17372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17373 eval "ac_cv_func_$ac_func=yes"
17375 echo "configure: failed program was:" >&5
17376 cat conftest.
$ac_ext >&5
17378 eval "ac_cv_func_$ac_func=no"
17383 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17384 echo "$ac_t""yes" 1>&6
17385 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17386 cat >> confdefs.h
<<EOF
17387 #define $ac_tr_func 1
17391 echo "$ac_t""no" 1>&6
17397 for ac_hdr
in sched.h
17399 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17400 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17401 echo "configure:17402: checking for $ac_hdr" >&5
17402 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17403 echo $ac_n "(cached) $ac_c" 1>&6
17405 cat > conftest.
$ac_ext <<EOF
17406 #line 17407 "configure"
17407 #include "confdefs.h"
17410 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17411 { (eval echo configure
:17412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17412 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17413 if test -z "$ac_err"; then
17415 eval "ac_cv_header_$ac_safe=yes"
17418 echo "configure: failed program was:" >&5
17419 cat conftest.
$ac_ext >&5
17421 eval "ac_cv_header_$ac_safe=no"
17425 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17426 echo "$ac_t""yes" 1>&6
17427 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17428 cat >> confdefs.h
<<EOF
17429 #define $ac_tr_hdr 1
17433 echo "$ac_t""no" 1>&6
17438 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
17439 echo "configure:17440: checking for sched_yield in -l$THREADS_LINK" >&5
17440 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
17441 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17442 echo $ac_n "(cached) $ac_c" 1>&6
17444 ac_save_LIBS
="$LIBS"
17445 LIBS
="-l$THREADS_LINK $LIBS"
17446 cat > conftest.
$ac_ext <<EOF
17447 #line 17448 "configure"
17448 #include "confdefs.h"
17449 /* Override any gcc2 internal prototype to avoid an error. */
17450 /* We use char because int might match the return type of a gcc2
17451 builtin and then its argument prototype would still apply. */
17452 char sched_yield();
17458 if { (eval echo configure
:17459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17460 eval "ac_cv_lib_$ac_lib_var=yes"
17462 echo "configure: failed program was:" >&5
17463 cat conftest.
$ac_ext >&5
17465 eval "ac_cv_lib_$ac_lib_var=no"
17468 LIBS
="$ac_save_LIBS"
17471 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17472 echo "$ac_t""yes" 1>&6
17473 cat >> confdefs.h
<<\EOF
17474 #define HAVE_SCHED_YIELD 1
17478 echo "$ac_t""no" 1>&6
17479 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
17480 echo "configure:17481: checking for sched_yield in -lposix4" >&5
17481 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
17482 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17483 echo $ac_n "(cached) $ac_c" 1>&6
17485 ac_save_LIBS
="$LIBS"
17486 LIBS
="-lposix4 $LIBS"
17487 cat > conftest.
$ac_ext <<EOF
17488 #line 17489 "configure"
17489 #include "confdefs.h"
17490 /* Override any gcc2 internal prototype to avoid an error. */
17491 /* We use char because int might match the return type of a gcc2
17492 builtin and then its argument prototype would still apply. */
17493 char sched_yield();
17499 if { (eval echo configure
:17500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17501 eval "ac_cv_lib_$ac_lib_var=yes"
17503 echo "configure: failed program was:" >&5
17504 cat conftest.
$ac_ext >&5
17506 eval "ac_cv_lib_$ac_lib_var=no"
17509 LIBS
="$ac_save_LIBS"
17512 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17513 echo "$ac_t""yes" 1>&6
17514 cat >> confdefs.h
<<\EOF
17515 #define HAVE_SCHED_YIELD 1
17517 POSIX4_LINK
=" -lposix4"
17519 echo "$ac_t""no" 1>&6
17520 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
17529 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
17530 echo "configure:17531: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
17531 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
17532 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17533 echo $ac_n "(cached) $ac_c" 1>&6
17535 ac_save_LIBS
="$LIBS"
17536 LIBS
="-l$THREADS_LINK $LIBS"
17537 cat > conftest.
$ac_ext <<EOF
17538 #line 17539 "configure"
17539 #include "confdefs.h"
17540 /* Override any gcc2 internal prototype to avoid an error. */
17541 /* We use char because int might match the return type of a gcc2
17542 builtin and then its argument prototype would still apply. */
17543 char pthread_attr_getschedpolicy();
17546 pthread_attr_getschedpolicy()
17549 if { (eval echo configure
:17550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17551 eval "ac_cv_lib_$ac_lib_var=yes"
17553 echo "configure: failed program was:" >&5
17554 cat conftest.
$ac_ext >&5
17556 eval "ac_cv_lib_$ac_lib_var=no"
17559 LIBS
="$ac_save_LIBS"
17562 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17563 echo "$ac_t""yes" 1>&6
17564 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
17565 echo "configure:17566: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
17566 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
17567 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17568 echo $ac_n "(cached) $ac_c" 1>&6
17570 ac_save_LIBS
="$LIBS"
17571 LIBS
="-l$THREADS_LINK $LIBS"
17572 cat > conftest.
$ac_ext <<EOF
17573 #line 17574 "configure"
17574 #include "confdefs.h"
17575 /* Override any gcc2 internal prototype to avoid an error. */
17576 /* We use char because int might match the return type of a gcc2
17577 builtin and then its argument prototype would still apply. */
17578 char pthread_attr_setschedparam();
17581 pthread_attr_setschedparam()
17584 if { (eval echo configure
:17585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17586 eval "ac_cv_lib_$ac_lib_var=yes"
17588 echo "configure: failed program was:" >&5
17589 cat conftest.
$ac_ext >&5
17591 eval "ac_cv_lib_$ac_lib_var=no"
17594 LIBS
="$ac_save_LIBS"
17597 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17598 echo "$ac_t""yes" 1>&6
17599 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
17600 echo "configure:17601: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
17601 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17602 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17603 echo $ac_n "(cached) $ac_c" 1>&6
17605 ac_save_LIBS
="$LIBS"
17606 LIBS
="-l$THREADS_LINK $LIBS"
17607 cat > conftest.
$ac_ext <<EOF
17608 #line 17609 "configure"
17609 #include "confdefs.h"
17610 /* Override any gcc2 internal prototype to avoid an error. */
17611 /* We use char because int might match the return type of a gcc2
17612 builtin and then its argument prototype would still apply. */
17613 char sched_get_priority_max();
17616 sched_get_priority_max()
17619 if { (eval echo configure
:17620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17621 eval "ac_cv_lib_$ac_lib_var=yes"
17623 echo "configure: failed program was:" >&5
17624 cat conftest.
$ac_ext >&5
17626 eval "ac_cv_lib_$ac_lib_var=no"
17629 LIBS
="$ac_save_LIBS"
17632 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17633 echo "$ac_t""yes" 1>&6
17636 echo "$ac_t""no" 1>&6
17637 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
17638 echo "configure:17639: checking for sched_get_priority_max in -lposix4" >&5
17639 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17640 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17641 echo $ac_n "(cached) $ac_c" 1>&6
17643 ac_save_LIBS
="$LIBS"
17644 LIBS
="-lposix4 $LIBS"
17645 cat > conftest.
$ac_ext <<EOF
17646 #line 17647 "configure"
17647 #include "confdefs.h"
17648 /* Override any gcc2 internal prototype to avoid an error. */
17649 /* We use char because int might match the return type of a gcc2
17650 builtin and then its argument prototype would still apply. */
17651 char sched_get_priority_max();
17654 sched_get_priority_max()
17657 if { (eval echo configure
:17658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17659 eval "ac_cv_lib_$ac_lib_var=yes"
17661 echo "configure: failed program was:" >&5
17662 cat conftest.
$ac_ext >&5
17664 eval "ac_cv_lib_$ac_lib_var=no"
17667 LIBS
="$ac_save_LIBS"
17670 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17671 echo "$ac_t""yes" 1>&6
17674 POSIX4_LINK
=" -lposix4"
17677 echo "$ac_t""no" 1>&6
17685 echo "$ac_t""no" 1>&6
17690 echo "$ac_t""no" 1>&6
17694 if test "$HAVE_PRIOR_FUNCS" = 1; then
17695 cat >> confdefs.h
<<\EOF
17696 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
17700 echo "configure: warning: Setting thread priority will not work" 1>&2
17703 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
17704 echo "configure:17705: checking for pthread_cancel in -l$THREADS_LINK" >&5
17705 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
17706 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17707 echo $ac_n "(cached) $ac_c" 1>&6
17709 ac_save_LIBS
="$LIBS"
17710 LIBS
="-l$THREADS_LINK $LIBS"
17711 cat > conftest.
$ac_ext <<EOF
17712 #line 17713 "configure"
17713 #include "confdefs.h"
17714 /* Override any gcc2 internal prototype to avoid an error. */
17715 /* We use char because int might match the return type of a gcc2
17716 builtin and then its argument prototype would still apply. */
17717 char pthread_cancel();
17723 if { (eval echo configure
:17724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17725 eval "ac_cv_lib_$ac_lib_var=yes"
17727 echo "configure: failed program was:" >&5
17728 cat conftest.
$ac_ext >&5
17730 eval "ac_cv_lib_$ac_lib_var=no"
17733 LIBS
="$ac_save_LIBS"
17736 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17737 echo "$ac_t""yes" 1>&6
17738 cat >> confdefs.h
<<\EOF
17739 #define HAVE_PTHREAD_CANCEL 1
17743 echo "$ac_t""no" 1>&6
17744 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
17748 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
17749 echo "configure:17750: checking for pthread_cleanup_push/pop" >&5
17750 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
17751 echo $ac_n "(cached) $ac_c" 1>&6
17754 cat > conftest.
$ac_ext <<EOF
17755 #line 17756 "configure"
17756 #include "confdefs.h"
17757 #include <pthread.h>
17760 pthread_cleanup_push(NULL, NULL);
17761 pthread_cleanup_pop(0);
17765 if { (eval echo configure
:17766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17768 wx_cv_func_pthread_cleanup_push
=yes
17771 echo "configure: failed program was:" >&5
17772 cat conftest.
$ac_ext >&5
17775 wx_cv_func_pthread_cleanup_push
=no
17782 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
17784 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
17785 cat >> confdefs.h
<<\EOF
17786 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
17792 if test "x$wx_lib_glibc21" = "xyes"; then
17793 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
17796 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
17797 echo "configure:17798: checking for pthread_mutexattr_t" >&5
17798 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
17799 echo $ac_n "(cached) $ac_c" 1>&6
17802 cat > conftest.
$ac_ext <<EOF
17803 #line 17804 "configure"
17804 #include "confdefs.h"
17805 #include <pthread.h>
17808 pthread_mutexattr_t attr;
17809 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
17813 if { (eval echo configure
:17814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17816 wx_cv_type_pthread_mutexattr_t
=yes
17819 echo "configure: failed program was:" >&5
17820 cat conftest.
$ac_ext >&5
17823 wx_cv_type_pthread_mutexattr_t
=no
17831 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
17833 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
17834 cat >> confdefs.h
<<\EOF
17835 #define HAVE_PTHREAD_MUTEXATTR_T 1
17839 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
17840 echo "configure:17841: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
17841 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
17842 echo $ac_n "(cached) $ac_c" 1>&6
17845 cat > conftest.
$ac_ext <<EOF
17846 #line 17847 "configure"
17847 #include "confdefs.h"
17848 #include <pthread.h>
17851 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
17855 if { (eval echo configure
:17856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17858 wx_cv_type_pthread_rec_mutex_init
=yes
17861 echo "configure: failed program was:" >&5
17862 cat conftest.
$ac_ext >&5
17865 wx_cv_type_pthread_rec_mutex_init
=no
17873 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
17874 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
17875 cat >> confdefs.h
<<\EOF
17876 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
17880 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
17884 THREADS_LINK
=" -l$THREADS_LINK"
17886 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
17887 CPPFLAGS
="$CFLAGS -mt"
17888 CXXFLAGS
="$CXXFLAGS -mt"
17889 LDFLAGS
="$LDFLAGS -mt"
17895 if test "$wxUSE_THREADS" = "yes"; then
17896 cat >> confdefs.h
<<\EOF
17897 #define wxUSE_THREADS 1
17901 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS $CPP_MT_FLAG"
17903 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
17905 if test "$ac_cv_func_strtok_r" = "yes"; then
17906 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
17907 echo "configure:17908: checking if -D_REENTRANT is needed" >&5
17908 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
17909 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
17910 echo "$ac_t""yes" 1>&6
17912 echo "$ac_t""no" 1>&6
17917 if test "$WXGTK20" = 1 ; then
17918 cat >> confdefs.h
<<EOF
17919 #define __WXGTK20__ $WXGTK20
17925 if test "$WXGTK12" = 1 ; then
17926 cat >> confdefs.h
<<EOF
17927 #define __WXGTK12__ $WXGTK12
17932 if test "$WXGTK127" = 1 ; then
17933 cat >> confdefs.h
<<EOF
17934 #define __WXGTK127__ $WXGTK127
17941 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
17946 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
17947 wxUSE_DEBUG_INFO
=yes
17951 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
17952 cat >> confdefs.h
<<\EOF
17956 WXDEBUG_DEFINE
="-D__WXDEBUG__"
17958 if test "$wxUSE_GTK" = 1 ; then
17959 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
17963 if test "$wxUSE_MEM_TRACING" = "yes" ; then
17964 cat >> confdefs.h
<<\EOF
17965 #define wxUSE_MEMORY_TRACING 1
17968 cat >> confdefs.h
<<\EOF
17969 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
17972 cat >> confdefs.h
<<\EOF
17973 #define wxUSE_DEBUG_NEW_ALWAYS 1
17976 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
17979 if test "$wxUSE_DMALLOC" = "yes" ; then
17980 DMALLOC_LIBS
="-ldmalloc"
17984 if test "$wxUSE_PROFILE" = "yes" ; then
17988 if test "$GCC" = "yes" ; then
17989 if test "$wxUSE_NO_RTTI" = "yes" ; then
17990 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
17992 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
17993 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
17995 if test "$wxUSE_PERMISSIVE" = "yes" ; then
17996 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
17998 if test "$USE_WIN32" = 1 ; then
17999 # I'm not even really sure what this was ever added to solve,
18000 # but someone added it for mingw native builds, so I guess
18001 # they had a reason, right??
18002 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
18007 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
18008 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
18009 if test "$wxUSE_OPTIMISE" = "no" ; then
18012 if test "$GCC" = yes ; then
18015 i586
-*-*|i686
-*-* )
18016 OPTIMISE
="${OPTIMISE} "
18024 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
18025 cat >> confdefs.h
<<\EOF
18026 #define WXWIN_COMPATIBILITY_2 1
18030 WXWIN_COMPATIBILITY_2_2
="yes"
18033 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
18034 cat >> confdefs.h
<<\EOF
18035 #define WXWIN_COMPATIBILITY_2_2 1
18041 if test "$wxUSE_GUI" = "yes"; then
18042 cat >> confdefs.h
<<\EOF
18043 #define wxUSE_GUI 1
18048 cat >> confdefs.h
<<\EOF
18049 #define wxUSE_NOGUI 1
18055 if test "$wxUSE_UNIX" = "yes"; then
18056 cat >> confdefs.h
<<\EOF
18057 #define wxUSE_UNIX 1
18063 if test "$wxUSE_APPLE_IEEE" = "yes"; then
18064 cat >> confdefs.h
<<\EOF
18065 #define wxUSE_APPLE_IEEE 1
18070 if test "$wxUSE_TIMER" = "yes"; then
18071 cat >> confdefs.h
<<\EOF
18072 #define wxUSE_TIMER 1
18077 if test "$wxUSE_WAVE" = "yes"; then
18078 cat >> confdefs.h
<<\EOF
18079 #define wxUSE_WAVE 1
18084 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
18085 cat >> confdefs.h
<<\EOF
18086 #define wxUSE_CMDLINE_PARSER 1
18091 if test "$wxUSE_STOPWATCH" = "yes"; then
18092 cat >> confdefs.h
<<\EOF
18093 #define wxUSE_STOPWATCH 1
18098 if test "$wxUSE_DATETIME" = "yes"; then
18099 cat >> confdefs.h
<<\EOF
18100 #define wxUSE_DATETIME 1
18105 if test "$wxUSE_TIMEDATE" = "yes"; then
18106 cat >> confdefs.h
<<\EOF
18107 #define wxUSE_TIMEDATE 1
18112 if test "$wxUSE_FILE" = "yes"; then
18113 cat >> confdefs.h
<<\EOF
18114 #define wxUSE_FILE 1
18119 if test "$wxUSE_FFILE" = "yes"; then
18120 cat >> confdefs.h
<<\EOF
18121 #define wxUSE_FFILE 1
18126 if test "$wxUSE_FILESYSTEM" = "yes"; then
18127 cat >> confdefs.h
<<\EOF
18128 #define wxUSE_FILESYSTEM 1
18133 if test "$wxUSE_FS_INET" = "yes"; then
18134 cat >> confdefs.h
<<\EOF
18135 #define wxUSE_FS_INET 1
18140 if test "$wxUSE_FS_ZIP" = "yes"; then
18141 cat >> confdefs.h
<<\EOF
18142 #define wxUSE_FS_ZIP 1
18147 if test "$wxUSE_ZIPSTREAM" = "yes"; then
18148 cat >> confdefs.h
<<\EOF
18149 #define wxUSE_ZIPSTREAM 1
18154 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
18155 cat >> confdefs.h
<<\EOF
18156 #define wxUSE_ON_FATAL_EXCEPTION 1
18161 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18162 cat >> confdefs.h
<<\EOF
18163 #define wxUSE_SNGLINST_CHECKER 1
18168 if test "$wxUSE_BUSYINFO" = "yes"; then
18169 cat >> confdefs.h
<<\EOF
18170 #define wxUSE_BUSYINFO 1
18175 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
18176 cat >> confdefs.h
<<\EOF
18177 #define wxUSE_STD_IOSTREAM 1
18182 if test "$wxUSE_TEXTBUFFER" = "yes"; then
18183 cat >> confdefs.h
<<\EOF
18184 #define wxUSE_TEXTBUFFER 1
18189 if test "$wxUSE_TEXTFILE" = "yes"; then
18190 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
18191 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
18193 cat >> confdefs.h
<<\EOF
18194 #define wxUSE_TEXTFILE 1
18200 if test "$wxUSE_CONFIG" = "yes" ; then
18201 if test "$wxUSE_TEXTFILE" != "yes"; then
18202 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
18204 cat >> confdefs.h
<<\EOF
18205 #define wxUSE_CONFIG 1
18208 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
18212 if test "$wxUSE_INTL" = "yes" ; then
18213 if test "$wxUSE_FILE" != "yes"; then
18214 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
18216 cat >> confdefs.h
<<\EOF
18217 #define wxUSE_INTL 1
18220 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
18221 GUIDIST
="$GUIDIST INTL_DIST"
18225 if test "$wxUSE_LOG" = "yes"; then
18226 cat >> confdefs.h
<<\EOF
18227 #define wxUSE_LOG 1
18231 if test "$wxUSE_LOGGUI" = "yes"; then
18232 cat >> confdefs.h
<<\EOF
18233 #define wxUSE_LOGGUI 1
18238 if test "$wxUSE_LOGWINDOW" = "yes"; then
18239 cat >> confdefs.h
<<\EOF
18240 #define wxUSE_LOGWINDOW 1
18245 if test "$wxUSE_LOGDIALOG" = "yes"; then
18246 cat >> confdefs.h
<<\EOF
18247 #define wxUSE_LOG_DIALOG 1
18253 if test "$wxUSE_LONGLONG" = "yes"; then
18254 cat >> confdefs.h
<<\EOF
18255 #define wxUSE_LONGLONG 1
18260 if test "$wxUSE_GEOMETRY" = "yes"; then
18261 cat >> confdefs.h
<<\EOF
18262 #define wxUSE_GEOMETRY 1
18267 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
18268 cat >> confdefs.h
<<\EOF
18269 #define wxUSE_DIALUP_MANAGER 1
18272 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
18275 if test "$wxUSE_STREAMS" = "yes" ; then
18276 cat >> confdefs.h
<<\EOF
18277 #define wxUSE_STREAMS 1
18283 if test "$wxUSE_DATETIME" = "yes"; then
18284 for ac_func
in strptime
18286 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18287 echo "configure:18288: checking for $ac_func" >&5
18288 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18289 echo $ac_n "(cached) $ac_c" 1>&6
18291 cat > conftest.
$ac_ext <<EOF
18292 #line 18293 "configure"
18293 #include "confdefs.h"
18294 /* System header to define __stub macros and hopefully few prototypes,
18295 which can conflict with char $ac_func(); below. */
18296 #include <assert.h>
18297 /* Override any gcc2 internal prototype to avoid an error. */
18298 /* We use char because int might match the return type of a gcc2
18299 builtin and then its argument prototype would still apply. */
18304 /* The GNU C library defines this for functions which it implements
18305 to always fail with ENOSYS. Some functions are actually named
18306 something starting with __ and the normal name is an alias. */
18307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18315 if { (eval echo configure
:18316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18317 eval "ac_cv_func_$ac_func=yes"
18319 echo "configure: failed program was:" >&5
18320 cat conftest.
$ac_ext >&5
18322 eval "ac_cv_func_$ac_func=no"
18327 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18328 echo "$ac_t""yes" 1>&6
18329 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18330 cat >> confdefs.h
<<EOF
18331 #define $ac_tr_func 1
18335 echo "$ac_t""no" 1>&6
18340 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
18341 echo "configure:18342: checking for timezone variable in <time.h>" >&5
18342 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
18343 echo $ac_n "(cached) $ac_c" 1>&6
18346 cat > conftest.
$ac_ext <<EOF
18347 #line 18348 "configure"
18348 #include "confdefs.h"
18359 if { (eval echo configure
:18360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18362 wx_cv_var_timezone
=timezone
18365 echo "configure: failed program was:" >&5
18366 cat conftest.
$ac_ext >&5
18369 cat > conftest.
$ac_ext <<EOF
18370 #line 18371 "configure"
18371 #include "confdefs.h"
18382 if { (eval echo configure
:18383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18385 wx_cv_var_timezone
=_timezone
18388 echo "configure: failed program was:" >&5
18389 cat conftest.
$ac_ext >&5
18392 cat > conftest.
$ac_ext <<EOF
18393 #line 18394 "configure"
18394 #include "confdefs.h"
18405 if { (eval echo configure
:18406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18408 wx_cv_var_timezone
=__timezone
18411 echo "configure: failed program was:" >&5
18412 cat conftest.
$ac_ext >&5
18415 if test "$USE_DOS" = 0 ; then
18416 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
18434 echo "$ac_t""$wx_cv_var_timezone" 1>&6
18436 if test "x$wx_cv_var_timezone" != x
; then
18437 cat >> confdefs.h
<<EOF
18438 #define WX_TIMEZONE $wx_cv_var_timezone
18443 for ac_func
in localtime
18445 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18446 echo "configure:18447: checking for $ac_func" >&5
18447 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18448 echo $ac_n "(cached) $ac_c" 1>&6
18450 cat > conftest.
$ac_ext <<EOF
18451 #line 18452 "configure"
18452 #include "confdefs.h"
18453 /* System header to define __stub macros and hopefully few prototypes,
18454 which can conflict with char $ac_func(); below. */
18455 #include <assert.h>
18456 /* Override any gcc2 internal prototype to avoid an error. */
18457 /* We use char because int might match the return type of a gcc2
18458 builtin and then its argument prototype would still apply. */
18463 /* The GNU C library defines this for functions which it implements
18464 to always fail with ENOSYS. Some functions are actually named
18465 something starting with __ and the normal name is an alias. */
18466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18474 if { (eval echo configure
:18475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18476 eval "ac_cv_func_$ac_func=yes"
18478 echo "configure: failed program was:" >&5
18479 cat conftest.
$ac_ext >&5
18481 eval "ac_cv_func_$ac_func=no"
18486 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18487 echo "$ac_t""yes" 1>&6
18488 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18489 cat >> confdefs.h
<<EOF
18490 #define $ac_tr_func 1
18494 echo "$ac_t""no" 1>&6
18499 if test "$ac_cv_func_localtime" = "yes"; then
18500 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
18501 echo "configure:18502: checking for tm_gmtoff in struct tm" >&5
18502 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
18503 echo $ac_n "(cached) $ac_c" 1>&6
18506 cat > conftest.
$ac_ext <<EOF
18507 #line 18508 "configure"
18508 #include "confdefs.h"
18519 if { (eval echo configure
:18520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18522 wx_cv_struct_tm_has_gmtoff
=yes
18525 echo "configure: failed program was:" >&5
18526 cat conftest.
$ac_ext >&5
18528 wx_cv_struct_tm_has_gmtoff
=no
18535 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
18538 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
18539 cat >> confdefs.h
<<\EOF
18540 #define WX_GMTOFF_IN_TM 1
18545 for ac_func
in gettimeofday ftime
18547 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18548 echo "configure:18549: checking for $ac_func" >&5
18549 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18550 echo $ac_n "(cached) $ac_c" 1>&6
18552 cat > conftest.
$ac_ext <<EOF
18553 #line 18554 "configure"
18554 #include "confdefs.h"
18555 /* System header to define __stub macros and hopefully few prototypes,
18556 which can conflict with char $ac_func(); below. */
18557 #include <assert.h>
18558 /* Override any gcc2 internal prototype to avoid an error. */
18559 /* We use char because int might match the return type of a gcc2
18560 builtin and then its argument prototype would still apply. */
18565 /* The GNU C library defines this for functions which it implements
18566 to always fail with ENOSYS. Some functions are actually named
18567 something starting with __ and the normal name is an alias. */
18568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18576 if { (eval echo configure
:18577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18578 eval "ac_cv_func_$ac_func=yes"
18580 echo "configure: failed program was:" >&5
18581 cat conftest.
$ac_ext >&5
18583 eval "ac_cv_func_$ac_func=no"
18588 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18589 echo "$ac_t""yes" 1>&6
18590 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18591 cat >> confdefs.h
<<EOF
18592 #define $ac_tr_func 1
18596 echo "$ac_t""no" 1>&6
18601 if test "$ac_cv_func_gettimeofday" = "yes"; then
18602 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
18603 echo "configure:18604: checking whether gettimeofday takes two arguments" >&5
18604 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
18605 echo $ac_n "(cached) $ac_c" 1>&6
18610 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18611 ac_cpp
='$CXXCPP $CPPFLAGS'
18612 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18613 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18614 cross_compiling
=$ac_cv_prog_cxx_cross
18617 cat > conftest.
$ac_ext <<EOF
18618 #line 18619 "configure"
18619 #include "confdefs.h"
18621 #include <sys/time.h>
18622 #include <unistd.h>
18627 gettimeofday(&tv, NULL);
18631 if { (eval echo configure
:18632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18633 wx_cv_func_gettimeofday_has_2_args
=yes
18635 echo "configure: failed program was:" >&5
18636 cat conftest.
$ac_ext >&5
18638 cat > conftest.
$ac_ext <<EOF
18639 #line 18640 "configure"
18640 #include "confdefs.h"
18642 #include <sys/time.h>
18643 #include <unistd.h>
18652 if { (eval echo configure
:18653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18654 wx_cv_func_gettimeofday_has_2_args
=no
18656 echo "configure: failed program was:" >&5
18657 cat conftest.
$ac_ext >&5
18660 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
18661 wx_cv_func_gettimeofday_has_2_args
=unknown
18670 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18671 ac_cpp
='$CPP $CPPFLAGS'
18672 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18673 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18674 cross_compiling
=$ac_cv_prog_cc_cross
18679 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
18681 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
18682 cat >> confdefs.h
<<\EOF
18683 #define WX_GETTIMEOFDAY_NO_TZ 1
18689 cat >> confdefs.h
<<\EOF
18690 #define wxUSE_TIMEDATE 1
18693 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
18697 if test "$TOOLKIT" != "MSW"; then
18699 if test "$wxUSE_SOCKETS" = "yes"; then
18700 echo $ac_n "checking for socket""... $ac_c" 1>&6
18701 echo "configure:18702: checking for socket" >&5
18702 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
18703 echo $ac_n "(cached) $ac_c" 1>&6
18705 cat > conftest.
$ac_ext <<EOF
18706 #line 18707 "configure"
18707 #include "confdefs.h"
18708 /* System header to define __stub macros and hopefully few prototypes,
18709 which can conflict with char socket(); below. */
18710 #include <assert.h>
18711 /* Override any gcc2 internal prototype to avoid an error. */
18712 /* We use char because int might match the return type of a gcc2
18713 builtin and then its argument prototype would still apply. */
18718 /* The GNU C library defines this for functions which it implements
18719 to always fail with ENOSYS. Some functions are actually named
18720 something starting with __ and the normal name is an alias. */
18721 #if defined (__stub_socket) || defined (__stub___socket)
18729 if { (eval echo configure
:18730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18731 eval "ac_cv_func_socket=yes"
18733 echo "configure: failed program was:" >&5
18734 cat conftest.
$ac_ext >&5
18736 eval "ac_cv_func_socket=no"
18741 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
18742 echo "$ac_t""yes" 1>&6
18745 echo "$ac_t""no" 1>&6
18746 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
18747 echo "configure:18748: checking for socket in -lsocket" >&5
18748 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
18749 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18750 echo $ac_n "(cached) $ac_c" 1>&6
18752 ac_save_LIBS
="$LIBS"
18753 LIBS
="-lsocket $LIBS"
18754 cat > conftest.
$ac_ext <<EOF
18755 #line 18756 "configure"
18756 #include "confdefs.h"
18757 /* Override any gcc2 internal prototype to avoid an error. */
18758 /* We use char because int might match the return type of a gcc2
18759 builtin and then its argument prototype would still apply. */
18766 if { (eval echo configure
:18767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18768 eval "ac_cv_lib_$ac_lib_var=yes"
18770 echo "configure: failed program was:" >&5
18771 cat conftest.
$ac_ext >&5
18773 eval "ac_cv_lib_$ac_lib_var=no"
18776 LIBS
="$ac_save_LIBS"
18779 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18780 echo "$ac_t""yes" 1>&6
18781 INET_LINK
="$INET_LINK -lsocket"
18783 echo "$ac_t""no" 1>&6
18785 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
18797 if test "$wxUSE_SOCKETS" = "yes" ; then
18798 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
18799 echo "configure:18800: checking what is the type of the third argument of getsockname" >&5
18800 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
18801 echo $ac_n "(cached) $ac_c" 1>&6
18806 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18807 ac_cpp
='$CXXCPP $CPPFLAGS'
18808 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18809 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18810 cross_compiling
=$ac_cv_prog_cxx_cross
18813 cat > conftest.
$ac_ext <<EOF
18814 #line 18815 "configure"
18815 #include "confdefs.h"
18817 #include <sys/types.h>
18818 #include <sys/socket.h>
18823 getsockname(0, 0, &len);
18827 if { (eval echo configure
:18828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18829 wx_cv_type_getsockname3
=socklen_t
18831 echo "configure: failed program was:" >&5
18832 cat conftest.
$ac_ext >&5
18834 cat > conftest.
$ac_ext <<EOF
18835 #line 18836 "configure"
18836 #include "confdefs.h"
18838 #include <sys/types.h>
18839 #include <sys/socket.h>
18844 getsockname(0, 0, &len);
18848 if { (eval echo configure
:18849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18850 wx_cv_type_getsockname3
=size_t
18852 echo "configure: failed program was:" >&5
18853 cat conftest.
$ac_ext >&5
18855 cat > conftest.
$ac_ext <<EOF
18856 #line 18857 "configure"
18857 #include "confdefs.h"
18859 #include <sys/types.h>
18860 #include <sys/socket.h>
18865 getsockname(0, 0, &len);
18869 if { (eval echo configure
:18870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18871 wx_cv_type_getsockname3
=int
18873 echo "configure: failed program was:" >&5
18874 cat conftest.
$ac_ext >&5
18876 wx_cv_type_getsockname3
=unknown
18888 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18889 ac_cpp
='$CPP $CPPFLAGS'
18890 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18891 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18892 cross_compiling
=$ac_cv_prog_cc_cross
18897 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
18899 if test "$wx_cv_type_getsockname3" = "unknown"; then
18901 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
18903 cat >> confdefs.h
<<EOF
18904 #define SOCKLEN_T $wx_cv_type_getsockname3
18911 if test "$wxUSE_SOCKETS" = "yes" ; then
18912 cat >> confdefs.h
<<\EOF
18913 #define wxUSE_SOCKETS 1
18916 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
18920 if test "$wxUSE_GUI" = "yes"; then
18922 if test "$TOOLKIT" = "MAC"; then
18923 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
18926 if test "$TOOLKIT" = "MOTIF"; then
18927 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
18930 if test "$TOOLKIT" = "X11"; then
18931 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
18935 if test "$TOOLKIT" != "MSW"; then
18936 if test "$wxUSE_JOYSTICK" = "yes"; then
18937 for ac_hdr
in linux
/joystick.h
18939 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18940 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18941 echo "configure:18942: checking for $ac_hdr" >&5
18942 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18943 echo $ac_n "(cached) $ac_c" 1>&6
18945 cat > conftest.
$ac_ext <<EOF
18946 #line 18947 "configure"
18947 #include "confdefs.h"
18950 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18951 { (eval echo configure
:18952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18952 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18953 if test -z "$ac_err"; then
18955 eval "ac_cv_header_$ac_safe=yes"
18958 echo "configure: failed program was:" >&5
18959 cat conftest.
$ac_ext >&5
18961 eval "ac_cv_header_$ac_safe=no"
18965 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18966 echo "$ac_t""yes" 1>&6
18967 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18968 cat >> confdefs.h
<<EOF
18969 #define $ac_tr_hdr 1
18973 echo "$ac_t""no" 1>&6
18977 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
18979 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
18984 if test "$wxUSE_JOYSTICK" = "yes"; then
18985 cat >> confdefs.h
<<\EOF
18986 #define wxUSE_JOYSTICK 1
18989 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
18994 if test "$TOOLKIT" != "MSW"; then
18998 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18999 if test "$USE_DARWIN" = 1; then
19002 for ac_func
in dlopen
19004 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19005 echo "configure:19006: checking for $ac_func" >&5
19006 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19007 echo $ac_n "(cached) $ac_c" 1>&6
19009 cat > conftest.
$ac_ext <<EOF
19010 #line 19011 "configure"
19011 #include "confdefs.h"
19012 /* System header to define __stub macros and hopefully few prototypes,
19013 which can conflict with char $ac_func(); below. */
19014 #include <assert.h>
19015 /* Override any gcc2 internal prototype to avoid an error. */
19016 /* We use char because int might match the return type of a gcc2
19017 builtin and then its argument prototype would still apply. */
19022 /* The GNU C library defines this for functions which it implements
19023 to always fail with ENOSYS. Some functions are actually named
19024 something starting with __ and the normal name is an alias. */
19025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19033 if { (eval echo configure
:19034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19035 eval "ac_cv_func_$ac_func=yes"
19037 echo "configure: failed program was:" >&5
19038 cat conftest.
$ac_ext >&5
19040 eval "ac_cv_func_$ac_func=no"
19045 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19046 echo "$ac_t""yes" 1>&6
19047 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19048 cat >> confdefs.h
<<EOF
19049 #define $ac_tr_func 1
19052 cat >> confdefs.h
<<\EOF
19053 #define HAVE_DLOPEN 1
19059 echo "$ac_t""no" 1>&6
19060 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
19061 echo "configure:19062: checking for dlopen in -ldl" >&5
19062 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
19063 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19064 echo $ac_n "(cached) $ac_c" 1>&6
19066 ac_save_LIBS
="$LIBS"
19068 cat > conftest.
$ac_ext <<EOF
19069 #line 19070 "configure"
19070 #include "confdefs.h"
19071 /* Override any gcc2 internal prototype to avoid an error. */
19072 /* We use char because int might match the return type of a gcc2
19073 builtin and then its argument prototype would still apply. */
19080 if { (eval echo configure
:19081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19082 eval "ac_cv_lib_$ac_lib_var=yes"
19084 echo "configure: failed program was:" >&5
19085 cat conftest.
$ac_ext >&5
19087 eval "ac_cv_lib_$ac_lib_var=no"
19090 LIBS
="$ac_save_LIBS"
19093 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19094 echo "$ac_t""yes" 1>&6
19096 cat >> confdefs.h
<<\EOF
19097 #define HAVE_DLOPEN 1
19101 DL_LINK
=" -ldl$DL_LINK"
19104 echo "$ac_t""no" 1>&6
19106 for ac_func
in shl_load
19108 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19109 echo "configure:19110: checking for $ac_func" >&5
19110 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19111 echo $ac_n "(cached) $ac_c" 1>&6
19113 cat > conftest.
$ac_ext <<EOF
19114 #line 19115 "configure"
19115 #include "confdefs.h"
19116 /* System header to define __stub macros and hopefully few prototypes,
19117 which can conflict with char $ac_func(); below. */
19118 #include <assert.h>
19119 /* Override any gcc2 internal prototype to avoid an error. */
19120 /* We use char because int might match the return type of a gcc2
19121 builtin and then its argument prototype would still apply. */
19126 /* The GNU C library defines this for functions which it implements
19127 to always fail with ENOSYS. Some functions are actually named
19128 something starting with __ and the normal name is an alias. */
19129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19137 if { (eval echo configure
:19138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19139 eval "ac_cv_func_$ac_func=yes"
19141 echo "configure: failed program was:" >&5
19142 cat conftest.
$ac_ext >&5
19144 eval "ac_cv_func_$ac_func=no"
19149 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19150 echo "$ac_t""yes" 1>&6
19151 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19152 cat >> confdefs.h
<<EOF
19153 #define $ac_tr_func 1
19156 cat >> confdefs.h
<<\EOF
19157 #define HAVE_SHL_LOAD 1
19163 echo "$ac_t""no" 1>&6
19164 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
19165 echo "configure:19166: checking for dld in -lshl_load" >&5
19166 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
19167 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19168 echo $ac_n "(cached) $ac_c" 1>&6
19170 ac_save_LIBS
="$LIBS"
19171 LIBS
="-lshl_load $LIBS"
19172 cat > conftest.
$ac_ext <<EOF
19173 #line 19174 "configure"
19174 #include "confdefs.h"
19175 /* Override any gcc2 internal prototype to avoid an error. */
19176 /* We use char because int might match the return type of a gcc2
19177 builtin and then its argument prototype would still apply. */
19184 if { (eval echo configure
:19185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19186 eval "ac_cv_lib_$ac_lib_var=yes"
19188 echo "configure: failed program was:" >&5
19189 cat conftest.
$ac_ext >&5
19191 eval "ac_cv_lib_$ac_lib_var=no"
19194 LIBS
="$ac_save_LIBS"
19197 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19198 echo "$ac_t""yes" 1>&6
19201 DL_LINK
=" -ldld$DL_LINK"
19204 echo "$ac_t""no" 1>&6
19219 if test "$HAVE_DL_FUNCS" = 1; then
19220 for ac_func
in dlerror
19222 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19223 echo "configure:19224: checking for $ac_func" >&5
19224 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19225 echo $ac_n "(cached) $ac_c" 1>&6
19227 cat > conftest.
$ac_ext <<EOF
19228 #line 19229 "configure"
19229 #include "confdefs.h"
19230 /* System header to define __stub macros and hopefully few prototypes,
19231 which can conflict with char $ac_func(); below. */
19232 #include <assert.h>
19233 /* Override any gcc2 internal prototype to avoid an error. */
19234 /* We use char because int might match the return type of a gcc2
19235 builtin and then its argument prototype would still apply. */
19240 /* The GNU C library defines this for functions which it implements
19241 to always fail with ENOSYS. Some functions are actually named
19242 something starting with __ and the normal name is an alias. */
19243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19251 if { (eval echo configure
:19252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19253 eval "ac_cv_func_$ac_func=yes"
19255 echo "configure: failed program was:" >&5
19256 cat conftest.
$ac_ext >&5
19258 eval "ac_cv_func_$ac_func=no"
19263 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19264 echo "$ac_t""yes" 1>&6
19265 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19266 cat >> confdefs.h
<<EOF
19267 #define $ac_tr_func 1
19269 cat >> confdefs.h
<<\EOF
19270 #define HAVE_DLERROR 1
19274 echo "$ac_t""no" 1>&6
19275 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
19276 echo "configure:19277: checking for dlerror in -ldl" >&5
19277 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
19278 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19279 echo $ac_n "(cached) $ac_c" 1>&6
19281 ac_save_LIBS
="$LIBS"
19283 cat > conftest.
$ac_ext <<EOF
19284 #line 19285 "configure"
19285 #include "confdefs.h"
19286 /* Override any gcc2 internal prototype to avoid an error. */
19287 /* We use char because int might match the return type of a gcc2
19288 builtin and then its argument prototype would still apply. */
19295 if { (eval echo configure
:19296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19297 eval "ac_cv_lib_$ac_lib_var=yes"
19299 echo "configure: failed program was:" >&5
19300 cat conftest.
$ac_ext >&5
19302 eval "ac_cv_lib_$ac_lib_var=no"
19305 LIBS
="$ac_save_LIBS"
19308 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19309 echo "$ac_t""yes" 1>&6
19310 cat >> confdefs.h
<<\EOF
19311 #define HAVE_DLERROR 1
19315 echo "$ac_t""no" 1>&6
19324 if test "$HAVE_DL_FUNCS" = 0; then
19325 if test "$HAVE_SHL_FUNCS" = 0; then
19326 if test "$USE_UNIX" = 1; then
19327 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
19328 wxUSE_DYNAMIC_LOADER
=no
19329 wxUSE_DYNLIB_CLASS
=no
19331 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
19338 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
19339 cat >> confdefs.h
<<\EOF
19340 #define wxUSE_DYNAMIC_LOADER 1
19343 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19344 cat >> confdefs.h
<<\EOF
19345 #define wxUSE_DYNLIB_CLASS 1
19351 if test "$wxUSE_FONTMAP" = "yes" ; then
19352 cat >> confdefs.h
<<\EOF
19353 #define wxUSE_FONTMAP 1
19358 if test "$wxUSE_UNICODE" = "yes" ; then
19359 cat >> confdefs.h
<<\EOF
19360 #define wxUSE_UNICODE 1
19364 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
19365 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
19366 echo "configure:19367: checking for main in -lunicows" >&5
19367 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
19368 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19369 echo $ac_n "(cached) $ac_c" 1>&6
19371 ac_save_LIBS
="$LIBS"
19372 LIBS
="-lunicows $LIBS"
19373 cat > conftest.
$ac_ext <<EOF
19374 #line 19375 "configure"
19375 #include "confdefs.h"
19381 if { (eval echo configure
:19382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19383 eval "ac_cv_lib_$ac_lib_var=yes"
19385 echo "configure: failed program was:" >&5
19386 cat conftest.
$ac_ext >&5
19388 eval "ac_cv_lib_$ac_lib_var=no"
19391 LIBS
="$ac_save_LIBS"
19394 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19395 echo "$ac_t""yes" 1>&6
19397 cat >> confdefs.h
<<\EOF
19398 #define wxUSE_UNICODE_MSLU 1
19403 echo "$ac_t""no" 1>&6
19405 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
19406 Applications will only run on Windows NT/2000/XP!" 1>&2
19407 wxUSE_UNICODE_MSLU
=no
19414 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
19415 cat >> confdefs.h
<<\EOF
19416 #define wxUSE_EXPERIMENTAL_PRINTF 1
19424 if test "$wxUSE_ODBC" = "yes" ; then
19425 cat >> confdefs.h
<<\EOF
19426 #define wxUSE_ODBC 1
19429 WXODBCFLAG
="-D_IODBC_"
19430 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
19434 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
19435 cat >> confdefs.h
<<\EOF
19436 #define wxUSE_POSTSCRIPT 1
19441 cat >> confdefs.h
<<\EOF
19442 #define wxUSE_AFM_FOR_POSTSCRIPT 1
19446 cat >> confdefs.h
<<\EOF
19447 #define wxUSE_NORMALIZED_PS_FONTS 1
19452 if test "$wxUSE_CONSTRAINTS" = "yes"; then
19453 cat >> confdefs.h
<<\EOF
19454 #define wxUSE_CONSTRAINTS 1
19457 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
19460 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19461 if test "$wxUSE_UNIVERSAL" = "yes"; then
19462 echo "configure: warning: MDI not yet supported for wxUNIVERSAL... disabled" 1>&2
19463 wxUSE_MDI_ARCHITECTURE
=no
19466 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19467 cat >> confdefs.h
<<\EOF
19468 #define wxUSE_MDI_ARCHITECTURE 1
19471 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
19475 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
19476 cat >> confdefs.h
<<\EOF
19477 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
19480 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
19481 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19482 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
19486 if test "$wxUSE_HELP" = "yes"; then
19487 cat >> confdefs.h
<<\EOF
19488 #define wxUSE_HELP 1
19491 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
19493 if test "$wxUSE_MSW" = 1; then
19494 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
19495 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
19496 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
19497 echo "configure:19498: checking for htmlhelp.h" >&5
19498 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19499 echo $ac_n "(cached) $ac_c" 1>&6
19501 cat > conftest.
$ac_ext <<EOF
19502 #line 19503 "configure"
19503 #include "confdefs.h"
19504 #include <htmlhelp.h>
19506 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19507 { (eval echo configure
:19508: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19508 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19509 if test -z "$ac_err"; then
19511 eval "ac_cv_header_$ac_safe=yes"
19514 echo "configure: failed program was:" >&5
19515 cat conftest.
$ac_ext >&5
19517 eval "ac_cv_header_$ac_safe=no"
19521 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19522 echo "$ac_t""yes" 1>&6
19524 cat >> confdefs.h
<<\EOF
19525 #define wxUSE_MS_HTML_HELP 1
19530 echo "$ac_t""no" 1>&6
19532 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
19533 wxUSE_MS_HTML_HELP
=no
19540 if test "$wxUSE_WXHTML_HELP" = "yes"; then
19541 if test "$wxUSE_HTML" = "yes"; then
19542 cat >> confdefs.h
<<\EOF
19543 #define wxUSE_WXHTML_HELP 1
19547 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
19548 wxUSE_WXHTML_HELP
=no
19553 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
19554 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19555 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
19557 cat >> confdefs.h
<<\EOF
19558 #define wxUSE_PRINTING_ARCHITECTURE 1
19562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
19565 if test "$wxUSE_PROLOGIO" = "yes" ; then
19566 cat >> confdefs.h
<<\EOF
19567 #define wxUSE_PROLOGIO 1
19572 if test "$wxUSE_RESOURCES" = "yes" ; then
19573 cat >> confdefs.h
<<\EOF
19574 #define wxUSE_RESOURCES 1
19577 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
19580 if test "$wxUSE_X_RESOURCES" = "yes"; then
19581 cat >> confdefs.h
<<\EOF
19582 #define wxUSE_X_RESOURCES 1
19588 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
19589 -o "$wxUSE_CLIPBOARD" = "yes" \
19590 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
19591 for ac_hdr
in ole2.h
19593 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19594 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19595 echo "configure:19596: checking for $ac_hdr" >&5
19596 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19597 echo $ac_n "(cached) $ac_c" 1>&6
19599 cat > conftest.
$ac_ext <<EOF
19600 #line 19601 "configure"
19601 #include "confdefs.h"
19604 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19605 { (eval echo configure
:19606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19606 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19607 if test -z "$ac_err"; then
19609 eval "ac_cv_header_$ac_safe=yes"
19612 echo "configure: failed program was:" >&5
19613 cat conftest.
$ac_ext >&5
19615 eval "ac_cv_header_$ac_safe=no"
19619 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19620 echo "$ac_t""yes" 1>&6
19621 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19622 cat >> confdefs.h
<<EOF
19623 #define $ac_tr_hdr 1
19627 echo "$ac_t""no" 1>&6
19632 if test "$ac_cv_header_ole2_h" = "yes" ; then
19633 if test "$GCC" = yes ; then
19634 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
19635 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
19636 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
19637 cat >> confdefs.h
<<\EOF
19638 #define wxUSE_OLE 1
19644 cat >> confdefs.h
<<\EOF
19645 #define wxUSE_DATAOBJ 1
19649 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
19652 wxUSE_DRAG_AND_DROP
=no
19656 if test "$wxUSE_METAFILE" = "yes"; then
19657 cat >> confdefs.h
<<\EOF
19658 #define wxUSE_METAFILE 1
19662 cat >> confdefs.h
<<\EOF
19663 #define wxUSE_ENH_METAFILE 1
19669 if test "$wxUSE_IPC" = "yes"; then
19670 if test "$wxUSE_SOCKETS" != "yes"; then
19671 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
19674 cat >> confdefs.h
<<\EOF
19675 #define wxUSE_IPC 1
19680 if test "$wxUSE_CLIPBOARD" = "yes"; then
19681 cat >> confdefs.h
<<\EOF
19682 #define wxUSE_CLIPBOARD 1
19686 cat >> confdefs.h
<<\EOF
19687 #define wxUSE_DATAOBJ 1
19692 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
19693 if test "$wxUSE_GTK" = 1; then
19694 if test "$WXGTK12" != 1; then
19695 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
19696 wxUSE_DRAG_AND_DROP
=no
19700 if test "$wxUSE_MOTIF" = 1; then
19701 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
19702 wxUSE_DRAG_AND_DROP
=no
19705 if test "$wxUSE_X11" = 1; then
19706 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
19707 wxUSE_DRAG_AND_DROP
=no
19710 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
19711 cat >> confdefs.h
<<\EOF
19712 #define wxUSE_DRAG_AND_DROP 1
19715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
19720 if test "$wxUSE_SPLINES" = "yes" ; then
19721 cat >> confdefs.h
<<\EOF
19722 #define wxUSE_SPLINES 1
19729 if test "$wxUSE_CONTROLS" = "yes"; then
19733 if test "$wxUSE_ACCEL" = "yes"; then
19734 cat >> confdefs.h
<<\EOF
19735 #define wxUSE_ACCEL 1
19741 if test "$wxUSE_BUTTON" = "yes"; then
19742 cat >> confdefs.h
<<\EOF
19743 #define wxUSE_BUTTON 1
19749 if test "$wxUSE_BMPBUTTON" = "yes"; then
19750 cat >> confdefs.h
<<\EOF
19751 #define wxUSE_BMPBUTTON 1
19757 if test "$wxUSE_CALCTRL" = "yes"; then
19758 cat >> confdefs.h
<<\EOF
19759 #define wxUSE_CALENDARCTRL 1
19763 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
19766 if test "$wxUSE_CARET" = "yes"; then
19767 cat >> confdefs.h
<<\EOF
19768 #define wxUSE_CARET 1
19772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
19775 if test "$wxUSE_COMBOBOX" = "yes"; then
19776 cat >> confdefs.h
<<\EOF
19777 #define wxUSE_COMBOBOX 1
19783 if test "$wxUSE_CHOICE" = "yes"; then
19784 cat >> confdefs.h
<<\EOF
19785 #define wxUSE_CHOICE 1
19791 if test "$wxUSE_CHECKBOX" = "yes"; then
19792 cat >> confdefs.h
<<\EOF
19793 #define wxUSE_CHECKBOX 1
19799 if test "$wxUSE_CHECKLST" = "yes"; then
19800 cat >> confdefs.h
<<\EOF
19801 #define wxUSE_CHECKLISTBOX 1
19805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
19808 if test "$wxUSE_GAUGE" = "yes"; then
19809 cat >> confdefs.h
<<\EOF
19810 #define wxUSE_GAUGE 1
19816 if test "$wxUSE_NEW_GRID" = "yes"; then
19818 cat >> confdefs.h
<<\EOF
19819 #define wxUSE_NEW_GRID 1
19823 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
19826 if test "$wxUSE_GRID" = "yes"; then
19827 cat >> confdefs.h
<<\EOF
19828 #define wxUSE_GRID 1
19832 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
19835 if test "$wxUSE_IMAGLIST" = "yes"; then
19836 cat >> confdefs.h
<<\EOF
19837 #define wxUSE_IMAGLIST 1
19842 if test "$wxUSE_LISTBOX" = "yes"; then
19843 cat >> confdefs.h
<<\EOF
19844 #define wxUSE_LISTBOX 1
19850 if test "$wxUSE_LISTCTRL" = "yes"; then
19851 if test "$wxUSE_IMAGLIST" = "yes"; then
19852 cat >> confdefs.h
<<\EOF
19853 #define wxUSE_LISTCTRL 1
19857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
19859 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
19863 if test "$wxUSE_NOTEBOOK" = "yes"; then
19864 cat >> confdefs.h
<<\EOF
19865 #define wxUSE_NOTEBOOK 1
19869 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
19872 if test "$wxUSE_PROPSHEET" = "yes"; then
19873 cat >> confdefs.h
<<\EOF
19874 #define wxUSE_PROPSHEET 1
19878 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
19881 if test "$wxUSE_RADIOBOX" = "yes"; then
19882 cat >> confdefs.h
<<\EOF
19883 #define wxUSE_RADIOBOX 1
19889 if test "$wxUSE_RADIOBTN" = "yes"; then
19890 cat >> confdefs.h
<<\EOF
19891 #define wxUSE_RADIOBTN 1
19897 if test "$wxUSE_SASH" = "yes"; then
19898 cat >> confdefs.h
<<\EOF
19899 #define wxUSE_SASH 1
19902 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
19905 if test "$wxUSE_SCROLLBAR" = "yes"; then
19906 cat >> confdefs.h
<<\EOF
19907 #define wxUSE_SCROLLBAR 1
19911 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
19914 if test "$wxUSE_SLIDER" = "yes"; then
19915 cat >> confdefs.h
<<\EOF
19916 #define wxUSE_SLIDER 1
19922 if test "$wxUSE_SPINBTN" = "yes"; then
19923 cat >> confdefs.h
<<\EOF
19924 #define wxUSE_SPINBTN 1
19930 if test "$wxUSE_SPINCTRL" = "yes"; then
19931 cat >> confdefs.h
<<\EOF
19932 #define wxUSE_SPINCTRL 1
19938 if test "$wxUSE_SPLITTER" = "yes"; then
19939 cat >> confdefs.h
<<\EOF
19940 #define wxUSE_SPLITTER 1
19943 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
19946 if test "$wxUSE_STATBMP" = "yes"; then
19947 cat >> confdefs.h
<<\EOF
19948 #define wxUSE_STATBMP 1
19954 if test "$wxUSE_STATBOX" = "yes"; then
19955 cat >> confdefs.h
<<\EOF
19956 #define wxUSE_STATBOX 1
19962 if test "$wxUSE_STATTEXT" = "yes"; then
19963 cat >> confdefs.h
<<\EOF
19964 #define wxUSE_STATTEXT 1
19970 if test "$wxUSE_STATLINE" = "yes"; then
19971 if test "$wxUSE_WINE" = 1 ; then
19972 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
19974 cat >> confdefs.h
<<\EOF
19975 #define wxUSE_STATLINE 1
19982 if test "$wxUSE_STATUSBAR" = "yes"; then
19983 cat >> confdefs.h
<<\EOF
19984 #define wxUSE_STATUSBAR 1
19989 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
19992 if test "$wxUSE_TABDIALOG" = "yes"; then
19993 cat >> confdefs.h
<<\EOF
19994 #define wxUSE_TAB_DIALOG 1
19997 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
20000 if test "$wxUSE_TEXTCTRL" = "yes"; then
20001 cat >> confdefs.h
<<\EOF
20002 #define wxUSE_TEXTCTRL 1
20006 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
20009 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20010 if test "$wxUSE_MAC" = 1; then
20011 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
20014 if test "$wxUSE_UNIVERSAL" = "yes"; then
20015 echo "configure: warning: Toggle button not yet supported under wxUNIVERSAL... disabled" 1>&2
20019 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20020 cat >> confdefs.h
<<\EOF
20021 #define wxUSE_TOGGLEBTN 1
20028 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
20029 cat >> confdefs.h
<<\EOF
20030 #define wxUSE_TOOLBAR_SIMPLE 1
20033 wxUSE_TOOLBAR
="yes"
20037 if test "$wxUSE_TOOLBAR" = "yes"; then
20038 cat >> confdefs.h
<<\EOF
20039 #define wxUSE_TOOLBAR 1
20044 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
20045 wxUSE_TOOLBAR_NATIVE
="yes"
20048 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
20049 cat >> confdefs.h
<<\EOF
20050 #define wxUSE_TOOLBAR_NATIVE 1
20056 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
20059 if test "$wxUSE_TOOLTIPS" = "yes"; then
20060 if test "$wxUSE_MOTIF" = 1; then
20061 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
20063 if test "$wxUSE_WINE" = 1; then
20064 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
20066 if test "$wxUSE_UNIVERSAL" = "yes"; then
20067 echo "configure: warning: wxTooltip not supported yet in wxUNIVERSAL... disabled" 1>&2
20069 cat >> confdefs.h
<<\EOF
20070 #define wxUSE_TOOLTIPS 1
20078 if test "$wxUSE_TREECTRL" = "yes"; then
20079 if test "$wxUSE_IMAGLIST" = "yes"; then
20080 cat >> confdefs.h
<<\EOF
20081 #define wxUSE_TREECTRL 1
20085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
20087 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
20091 if test "$wxUSE_POPUPWIN" = "yes"; then
20092 if test "$wxUSE_MAC" = 1; then
20093 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
20095 if test "$wxUSE_MOTIF" = 1; then
20096 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
20098 cat >> confdefs.h
<<\EOF
20099 #define wxUSE_POPUPWIN 1
20108 if test "$wxUSE_TIPWINDOW" = "yes"; then
20109 cat >> confdefs.h
<<\EOF
20110 #define wxUSE_TIPWINDOW 1
20115 if test "$USES_CONTROLS" = 1; then
20116 cat >> confdefs.h
<<\EOF
20117 #define wxUSE_CONTROLS 1
20123 if test "$wxUSE_TREELAYOUT" = "yes"; then
20124 cat >> confdefs.h
<<\EOF
20125 #define wxUSE_TREELAYOUT 1
20128 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
20131 if test "$wxUSE_DRAGIMAGE" = "yes"; then
20132 cat >> confdefs.h
<<\EOF
20133 #define wxUSE_DRAGIMAGE 1
20136 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
20139 if test "$wxUSE_MENUS" = "yes"; then
20140 cat >> confdefs.h
<<\EOF
20141 #define wxUSE_MENUS 1
20144 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
20147 if test "$wxUSE_METAFILE" = "yes"; then
20148 cat >> confdefs.h
<<\EOF
20149 #define wxUSE_METAFILE 1
20154 if test "$wxUSE_MIMETYPE" = "yes"; then
20155 cat >> confdefs.h
<<\EOF
20156 #define wxUSE_MIMETYPE 1
20161 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
20162 cat >> confdefs.h
<<\EOF
20163 #define wxUSE_SYSTEM_OPTIONS 1
20168 if test "$wxUSE_PROTOCOL" = "yes"; then
20169 if test "$wxUSE_SOCKETS" != "yes"; then
20170 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
20174 if test "$wxUSE_PROTOCOL" = "yes"; then
20175 cat >> confdefs.h
<<\EOF
20176 #define wxUSE_PROTOCOL 1
20180 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
20181 cat >> confdefs.h
<<\EOF
20182 #define wxUSE_PROTOCOL_HTTP 1
20186 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
20187 cat >> confdefs.h
<<\EOF
20188 #define wxUSE_PROTOCOL_FTP 1
20192 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
20193 cat >> confdefs.h
<<\EOF
20194 #define wxUSE_PROTOCOL_FILE 1
20201 if test "$wxUSE_URL" = "yes"; then
20202 if test "$wxUSE_PROTOCOL" != "yes"; then
20203 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
20206 if test "$wxUSE_URL" = "yes"; then
20207 cat >> confdefs.h
<<\EOF
20208 #define wxUSE_URL 1
20214 if test "$wxUSE_MINIFRAME" = "yes"; then
20215 cat >> confdefs.h
<<\EOF
20216 #define wxUSE_MINIFRAME 1
20219 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
20222 if test "$wxUSE_HTML" = "yes"; then
20223 cat >> confdefs.h
<<\EOF
20224 #define wxUSE_HTML 1
20227 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
20230 if test "$wxUSE_VALIDATORS" = "yes"; then
20231 cat >> confdefs.h
<<\EOF
20232 #define wxUSE_VALIDATORS 1
20235 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
20238 if test "$wxUSE_PALETTE" = "yes" ; then
20239 cat >> confdefs.h
<<\EOF
20240 #define wxUSE_PALETTE 1
20245 if test "$wxUSE_IMAGE" = "yes" ; then
20246 cat >> confdefs.h
<<\EOF
20247 #define wxUSE_IMAGE 1
20252 if test "$wxUSE_GIF" = "yes" ; then
20253 cat >> confdefs.h
<<\EOF
20254 #define wxUSE_GIF 1
20259 if test "$wxUSE_PCX" = "yes" ; then
20260 cat >> confdefs.h
<<\EOF
20261 #define wxUSE_PCX 1
20266 if test "$wxUSE_IFF" = "yes" ; then
20267 cat >> confdefs.h
<<\EOF
20268 #define wxUSE_IFF 1
20273 if test "$wxUSE_PNM" = "yes" ; then
20274 cat >> confdefs.h
<<\EOF
20275 #define wxUSE_PNM 1
20280 if test "$wxUSE_XPM" = "yes" ; then
20281 cat >> confdefs.h
<<\EOF
20282 #define wxUSE_XPM 1
20287 if test "$wxUSE_ICO_CUR" = "yes" ; then
20288 cat >> confdefs.h
<<\EOF
20289 #define wxUSE_ICO_CUR 1
20294 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
20295 LIBS
=" -lunicows $LIBS"
20299 if test "$wxUSE_CHOICEDLG" = "yes"; then
20300 cat >> confdefs.h
<<\EOF
20301 #define wxUSE_CHOICEDLG 1
20306 if test "$wxUSE_COLOURDLG" = "yes"; then
20307 cat >> confdefs.h
<<\EOF
20308 #define wxUSE_COLOURDLG 1
20313 if test "$wxUSE_FILEDLG" = "yes"; then
20314 cat >> confdefs.h
<<\EOF
20315 #define wxUSE_FILEDLG 1
20320 if test "$wxUSE_FINDREPLDLG" = "yes"; then
20321 cat >> confdefs.h
<<\EOF
20322 #define wxUSE_FINDREPLDLG 1
20327 if test "$wxUSE_FONTDLG" = "yes"; then
20328 cat >> confdefs.h
<<\EOF
20329 #define wxUSE_FONTDLG 1
20334 if test "$wxUSE_DIRDLG" = "yes"; then
20335 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20336 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
20338 if test "$wxUSE_TREECTRL" != "yes"; then
20339 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
20341 cat >> confdefs.h
<<\EOF
20342 #define wxUSE_DIRDLG 1
20349 if test "$wxUSE_MSGDLG" = "yes"; then
20350 cat >> confdefs.h
<<\EOF
20351 #define wxUSE_MSGDLG 1
20356 if test "$wxUSE_NUMBERDLG" = "yes"; then
20357 cat >> confdefs.h
<<\EOF
20358 #define wxUSE_NUMBERDLG 1
20363 if test "$wxUSE_PROGRESSDLG" = "yes"; then
20364 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20365 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
20367 cat >> confdefs.h
<<\EOF
20368 #define wxUSE_PROGRESSDLG 1
20374 if test "$wxUSE_SPLASH" = "yes"; then
20375 cat >> confdefs.h
<<\EOF
20376 #define wxUSE_SPLASH 1
20381 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
20382 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20383 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
20385 cat >> confdefs.h
<<\EOF
20386 #define wxUSE_STARTUP_TIPS 1
20392 if test "$wxUSE_TEXTDLG" = "yes"; then
20393 cat >> confdefs.h
<<\EOF
20394 #define wxUSE_TEXTDLG 1
20399 if test "$wxUSE_WIZARDDLG" = "yes"; then
20400 cat >> confdefs.h
<<\EOF
20401 #define wxUSE_WIZARDDLG 1
20404 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
20408 if test "$cross_compiling" = "yes"; then
20411 OSINFO
=`uname -s -r -m`
20412 OSINFO
="\"$OSINFO\""
20415 cat >> confdefs.h
<<EOF
20416 #define WXWIN_OS_DESCRIPTION $OSINFO
20421 if test "x$prefix" != "xNONE"; then
20424 wxPREFIX
=$ac_default_prefix
20427 cat >> confdefs.h
<<EOF
20428 #define wxINSTALL_PREFIX "$wxPREFIX"
20435 if test "$wxUSE_MAC" = 1 ; then
20436 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
20440 LIBS
="$ZLIB_LINK$POSIX4_LINK$INET_LINK$WCHAR_LINK$THREADS_LINK$DL_LINK -lm$LIBS"
20442 if test "$wxUSE_GUI" = "yes"; then
20444 LIBS
=" $GUI_TK_LIBRARY$PNG_LINK$JPEG_LINK$TIFF_LINK$FREETYPE_LINK$LIBS"
20447 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
20448 drawing dynamic erase event exec font image \
20449 minimal richedit rotate widgets"
20451 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
20453 SAMPLES_SUBDIRS
="console"
20457 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
20458 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
20459 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
20461 if test "$wxUSE_GTK" = 1; then
20464 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
20467 if test "$GXX" = yes ; then
20468 CXXWARNINGS
="-Wall"
20470 if test "$wxUSE_NO_DEPS" = "no" ; then
20471 CFLAGS
="-MMD $CFLAGS"
20472 CXXFLAGS
="-MMD $CXXFLAGS"
20476 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
20478 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
20479 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
20481 LDFLAGS
="$LDFLAGS$PROFILE"
20483 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
20571 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
20572 echo "configure:20573: checking whether ${MAKE-make} sets \${MAKE}" >&5
20573 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
20574 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
20575 echo $ac_n "(cached) $ac_c" 1>&6
20577 cat > conftestmake
<<\EOF
20579 @
echo 'ac_maketemp="${MAKE}"'
20581 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20582 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
20583 if test -n "$ac_maketemp"; then
20584 eval ac_cv_prog_make_
${ac_make}_set
=yes
20586 eval ac_cv_prog_make_
${ac_make}_set
=no
20590 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
20591 echo "$ac_t""yes" 1>&6
20594 echo "$ac_t""no" 1>&6
20595 SET_MAKE
="MAKE=${MAKE-make}"
20599 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
20600 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
20605 if test "$wxUSE_GUI" = "yes"; then
20606 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
20607 wx_cv_if_gnu_make
=$IF_GNU_MAKE
20608 wx_cv_path_ifs
=$PATH_IFS
20609 wx_cv_program_ext
=$PROGRAM_EXT
20610 wx_cv_target_library
=$WX_TARGET_LIBRARY
20611 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
20612 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
20613 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
20614 wx_cv_path_ifs wx_cv_program_ext \
20615 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
20616 subdirs
="demos samples utils contrib"
20621 cat > confcache
<<\EOF
20622 # This file is a shell script that caches the results of configure
20623 # tests run on this system so they can be shared between configure
20624 # scripts and configure runs. It is not useful on other systems.
20625 # If it contains results you don't want to keep, you may remove or edit it.
20627 # By default, configure uses ./config.cache as the cache file,
20628 # creating it if it does not exist already. You can give configure
20629 # the --cache-file=FILE option to use a different cache file; that is
20630 # what configure does when it calls configure scripts in
20631 # subdirectories, so they share the cache.
20632 # Giving --cache-file=/dev/null disables caching, for debugging configure.
20633 # config.status only pays attention to the cache file if you give it the
20634 # --recheck option to rerun configure.
20637 # The following way of writing the cache mishandles newlines in values,
20638 # but we know of no workaround that is simple, portable, and efficient.
20639 # So, don't put newlines in cache variables' values.
20640 # Ultrix sh set writes to stderr and can't be redirected directly,
20641 # and sets the high bit in the cache file unless we assign to the vars.
20643 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20645 # `set' does not quote correctly, so add quotes (double-quote substitution
20646 # turns \\\\ into \\, and sed turns \\ into \).
20648 -e "s/'/'\\\\''/g" \
20649 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20652 # `set' quotes correctly as required by POSIX, so do not add quotes.
20653 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20656 if cmp -s $cache_file confcache
; then
20659 if test -w $cache_file; then
20660 echo "updating cache $cache_file"
20661 cat confcache
> $cache_file
20663 echo "not updating unwritable cache $cache_file"
20668 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
20670 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20671 # Let make expand exec_prefix.
20672 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20674 # Any assignment to VPATH causes Sun make to only execute
20675 # the first set of double-colon rules, so remove it if not needed.
20676 # If there is a colon in the path, we need to keep it.
20677 if test "x$srcdir" = x.
; then
20678 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
20681 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
20683 DEFS
=-DHAVE_CONFIG_H
20685 # Without the "./", some shells look in PATH for config.status.
20686 : ${CONFIG_STATUS=./config.status}
20688 echo creating
$CONFIG_STATUS
20689 rm -f $CONFIG_STATUS
20690 cat > $CONFIG_STATUS <<EOF
20692 # Generated automatically by configure.
20693 # Run this file to recreate the current configuration.
20694 # This directory was configured as follows,
20695 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20697 # $0 $ac_configure_args
20699 # Compiler output produced by configure, useful for debugging
20700 # configure, is in ./config.log if it exists.
20702 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
20705 case "\$ac_option" in
20706 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20707 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
20708 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
20709 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
20710 echo "$CONFIG_STATUS generated by autoconf version 2.13"
20712 -help | --help | --hel | --he | --h)
20713 echo "\$ac_cs_usage"; exit 0 ;;
20714 *) echo "\$ac_cs_usage"; exit 1 ;;
20718 ac_given_srcdir=$srcdir
20719 ac_given_INSTALL="$INSTALL"
20721 trap 'rm -fr `echo "
20727 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
20729 cat >> $CONFIG_STATUS <<EOF
20731 # Protect against being on the right side of a sed subst in config.status.
20732 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
20733 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
20737 s%@CFLAGS@%$CFLAGS%g
20738 s%@CPPFLAGS@%$CPPFLAGS%g
20739 s%@CXXFLAGS@%$CXXFLAGS%g
20740 s%@FFLAGS@%$FFLAGS%g
20742 s%@LDFLAGS@%$LDFLAGS%g
20744 s%@exec_prefix@%$exec_prefix%g
20745 s%@prefix@%$prefix%g
20746 s%@program_transform_name@%$program_transform_name%g
20747 s%@bindir@%$bindir%g
20748 s%@sbindir@%$sbindir%g
20749 s%@libexecdir@%$libexecdir%g
20750 s%@datadir@%$datadir%g
20751 s%@sysconfdir@%$sysconfdir%g
20752 s%@sharedstatedir@%$sharedstatedir%g
20753 s%@localstatedir@%$localstatedir%g
20754 s%@libdir@%$libdir%g
20755 s%@includedir@%$includedir%g
20756 s%@oldincludedir@%$oldincludedir%g
20757 s%@infodir@%$infodir%g
20758 s%@mandir@%$mandir%g
20760 s%@host_alias@%$host_alias%g
20761 s%@host_cpu@%$host_cpu%g
20762 s%@host_vendor@%$host_vendor%g
20763 s%@host_os@%$host_os%g
20764 s%@target@%$target%g
20765 s%@target_alias@%$target_alias%g
20766 s%@target_cpu@%$target_cpu%g
20767 s%@target_vendor@%$target_vendor%g
20768 s%@target_os@%$target_os%g
20770 s%@build_alias@%$build_alias%g
20771 s%@build_cpu@%$build_cpu%g
20772 s%@build_vendor@%$build_vendor%g
20773 s%@build_os@%$build_os%g
20777 s%@RANLIB@%$RANLIB%g
20779 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
20780 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
20781 s%@INSTALL_DATA@%$INSTALL_DATA%g
20783 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
20786 s%@LEXLIB@%$LEXLIB%g
20788 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
20789 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
20790 s%@GTK_LIBS@%$GTK_LIBS%g
20791 s%@GTK_CONFIG@%$GTK_CONFIG%g
20792 s%@X_CFLAGS@%$X_CFLAGS%g
20793 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
20794 s%@X_LIBS@%$X_LIBS%g
20795 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
20796 s%@RESCOMP@%$RESCOMP%g
20798 s%@CXXCPP@%$CXXCPP%g
20799 s%@LIBICONV@%$LIBICONV%g
20800 s%@LEX_STEM@%$LEX_STEM%g
20801 s%@PATH_IFS@%$PATH_IFS%g
20802 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
20803 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
20804 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
20805 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
20806 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
20807 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
20808 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
20809 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
20810 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
20811 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
20812 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
20813 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
20814 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
20815 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
20816 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
20817 s%@WX_ALL@%$WX_ALL%g
20818 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
20819 s%@SHARED_LD@%$SHARED_LD%g
20820 s%@PIC_FLAG@%$PIC_FLAG%g
20821 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
20822 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
20823 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
20824 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
20825 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
20826 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
20827 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
20828 s%@USE_GUI@%$USE_GUI%g
20829 s%@AFMINSTALL@%$AFMINSTALL%g
20830 s%@TOOLKIT@%$TOOLKIT%g
20831 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
20832 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
20833 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
20834 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
20835 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
20836 s%@cross_compiling@%$cross_compiling%g
20837 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
20838 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
20839 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
20840 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
20841 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
20842 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
20843 s%@ALL_HEADERS@%$ALL_HEADERS%g
20844 s%@ALL_SOURCES@%$ALL_SOURCES%g
20845 s%@GUIDIST@%$GUIDIST%g
20846 s%@PORT_FILES@%$PORT_FILES%g
20847 s%@DISTDIR@%$DISTDIR%g
20848 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
20849 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
20850 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
20851 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
20852 s%@EXTRADEFS@%$EXTRADEFS%g
20853 s%@RESFLAGS@%$RESFLAGS%g
20854 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
20855 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
20856 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
20857 s%@LIBWXMACRES@%$LIBWXMACRES%g
20858 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
20859 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
20860 s%@DLLTOOL@%$DLLTOOL%g
20864 s%@MAKEINFO@%$MAKEINFO%g
20865 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
20866 s%@SET_MAKE@%$SET_MAKE%g
20867 s%@subdirs@%$subdirs%g
20872 cat >> $CONFIG_STATUS <<\EOF
20874 # Split the substitutions into bite-sized pieces for seds with
20875 # small command number limits, like on Digital OSF/1 and HP-UX.
20876 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
20877 ac_file
=1 # Number of current file.
20878 ac_beg
=1 # First line for current file.
20879 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
20882 while $ac_more_lines; do
20883 if test $ac_beg -gt 1; then
20884 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
20886 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
20888 if test ! -s conftest.s
$ac_file; then
20889 ac_more_lines
=false
20890 rm -f conftest.s
$ac_file
20892 if test -z "$ac_sed_cmds"; then
20893 ac_sed_cmds
="sed -f conftest.s$ac_file"
20895 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
20897 ac_file
=`expr $ac_file + 1`
20899 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
20902 if test -z "$ac_sed_cmds"; then
20907 cat >> $CONFIG_STATUS <<EOF
20909 CONFIG_FILES=\${CONFIG_FILES-"wx-config
20916 cat >> $CONFIG_STATUS <<\EOF
20917 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
20918 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20920 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
20921 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20922 *) ac_file_in
="${ac_file}.in" ;;
20925 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
20927 # Remove last slash and all that follows it. Not all systems have dirname.
20928 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20929 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
20930 # The file is in a subdirectory.
20931 test ! -d "$ac_dir" && mkdir "$ac_dir"
20932 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
20933 # A "../" for each directory in $ac_dir_suffix.
20934 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
20936 ac_dir_suffix
= ac_dots
=
20939 case "$ac_given_srcdir" in
20941 if test -z "$ac_dots"; then top_srcdir
=.
20942 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
20943 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
20944 *) # Relative path.
20945 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
20946 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
20949 case "$ac_given_INSTALL" in
20950 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
20951 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
20954 echo creating
"$ac_file"
20956 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
20958 *Makefile
*) ac_comsub
="1i\\
20959 # $configure_input" ;;
20963 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20965 s%@configure_input@%$configure_input%g
20966 s%@srcdir@%$srcdir%g
20967 s%@top_srcdir@%$top_srcdir%g
20968 s%@INSTALL@%$INSTALL%g
20969 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
20973 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20974 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20976 # ac_d sets the value in "#define NAME VALUE" lines.
20977 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20978 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
20981 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
20982 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20983 ac_uB
='\([ ]\)%\1#\2define\3'
20986 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20987 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20988 ac_eB
='$%\1#\2define\3'
20992 if test "${CONFIG_HEADERS+set}" != set; then
20994 cat >> $CONFIG_STATUS <<EOF
20995 CONFIG_HEADERS="setup.h:setup.h.in"
20997 cat >> $CONFIG_STATUS <<\EOF
20999 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
21000 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21002 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
21003 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21004 *) ac_file_in
="${ac_file}.in" ;;
21007 echo creating
$ac_file
21009 rm -f conftest.frag conftest.
in conftest.out
21010 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21011 cat $ac_file_inputs > conftest.
in
21015 # Transform confdefs.h into a sed script conftest.vals that substitutes
21016 # the proper values into config.h.in to produce config.h. And first:
21017 # Protect against being on the right side of a sed subst in config.status.
21018 # Protect against being in an unquoted here document in config.status.
21019 rm -f conftest.vals
21020 cat > conftest.hdr
<<\EOF
21023 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
21027 sed -n -f conftest.hdr confdefs.h > conftest.vals
21030 # This sed command replaces #undef with comments. This is necessary, for
21031 # example, in the case of _POSIX_SOURCE, which is predefined and required
21032 # on some systems where configure will not decide to define it.
21033 cat >> conftest.vals <<\EOF
21034 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
21037 # Break up conftest.vals because some shells have a limit on
21038 # the size of here documents, and old seds have small limits too.
21040 rm -f conftest.tail
21043 ac_lines=`grep -c . conftest.vals
`
21044 # grep -c gives empty output for an empty file on some AIX systems.
21045 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
21046 # Write a limited-size here document to conftest.frag.
21047 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
21048 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
21050 sed -f conftest.frag conftest.in > conftest.out
21052 mv conftest.out conftest.in
21053 ' >> $CONFIG_STATUS
21054 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
21055 rm -f conftest.vals
21056 mv conftest.tail conftest.vals
21058 rm -f conftest.vals
21060 cat >> $CONFIG_STATUS <<\EOF
21061 rm -f conftest.frag conftest.h
21062 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
21063 cat conftest.in >> conftest.h
21065 if cmp -s $ac_file conftest.h 2>/dev/null; then
21066 echo "$ac_file is unchanged"
21069 # Remove last slash and all that follows it. Not all systems have dirname.
21070 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21071 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21072 # The file is in a subdirectory.
21073 test ! -d "$ac_dir" && mkdir "$ac_dir"
21076 mv conftest.h $ac_file
21081 cat >> $CONFIG_STATUS <<EOF
21083 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
21088 cat >> $CONFIG_STATUS <<\EOF
21090 if test ! -h wx-config; then
21092 mv wx-config wx${TOOLCHAIN_NAME}-config
21093 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
21096 if test ! -d lib; then
21099 if test ! -d lib/wx; then
21102 if test ! -d lib/wx/include; then
21103 mkdir lib/wx/include
21105 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
21106 mkdir lib/wx/include/${TOOLCHAIN_NAME}
21108 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
21109 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
21111 if test -f setup.h; then
21112 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
21117 chmod +x $CONFIG_STATUS
21118 rm -fr confdefs* $ac_clean_files
21119 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21121 if test "$no_recursion" != yes; then
21123 # Remove --cache-file and --srcdir arguments so they do not pile up.
21124 ac_sub_configure_args=
21126 for ac_arg in $ac_configure_args; do
21127 if test -n "$ac_prev"; then
21132 -cache-file | --cache-file | --cache-fil | --cache-fi \
21133 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
21134 ac_prev=cache_file ;;
21135 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
21136 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
21138 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
21140 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
21142 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
21146 for ac_config_dir in demos samples utils contrib; do
21148 # Do not complain, so a configure script can configure whichever
21149 # parts of a large source tree are present.
21150 if test ! -d $srcdir/$ac_config_dir; then
21154 echo configuring in $ac_config_dir
21159 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
21161 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
21169 # A "../" for each directory in /$ac_config_dir.
21170 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
21173 .) # No --srcdir option. We are building in place.
21174 ac_sub_srcdir=$srcdir ;;
21175 /*) # Absolute path.
21176 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
21177 *) # Relative path.
21178 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
21181 # Check for guested configure; otherwise get Cygnus style configure.
21182 if test -f $ac_sub_srcdir/configure; then
21183 ac_sub_configure=$ac_sub_srcdir/configure
21184 elif test -f $ac_sub_srcdir/configure.in; then
21185 ac_sub_configure=$ac_configure
21187 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
21191 # The recursion is here.
21192 if test -n "$ac_sub_configure"; then
21194 # Make the cache file name correct relative to the subdirectory.
21195 case "$cache_file" in
21196 /*) ac_sub_cache_file=$cache_file ;;
21197 *) # Relative path.
21198 ac_sub_cache_file="$ac_dots$cache_file" ;;
21200 case "$ac_given_INSTALL" in
21201 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21202 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21205 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
21206 # The eval makes quoting arguments work.
21207 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
21210 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }