3 # From configure.in Id: configure.in
39 # Configure paths for GTK+
47 # Guess values for system-dependent variables and create Makefiles.
48 # Generated automatically using autoconf version 2.13
49 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
51 # This configure script is free software; the Free Software Foundation
52 # gives unlimited permission to copy, distribute and modify it.
56 ac_default_prefix
=/usr
/local
57 # Any additions from configure.in:
59 --enable-gui use GUI classes"
61 --enable-universal use wxWindows GUI controls instead of native ones"
65 --with-motif use Motif/Lesstif"
67 --with-mac use Mac OS X"
71 --with-msw use MS-Windows"
73 --with-pm use OS/2 Presentation Manager"
75 --with-mgl use SciTech MGL"
77 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
79 --with-libpng use libpng (PNG image format)"
81 --with-libjpeg use libjpeg (JPEG file format)"
83 --with-libtiff use libtiff (TIFF file format)"
85 --with-freetype use freetype (font rasterizer)"
87 --with-opengl use OpenGL (or Mesa)"
89 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
91 --with-regex enable support for wxRegEx class"
93 --with-zlib use zlib for LZW compression"
95 --with-odbc use the IODBC and wxODBC classes"
97 --enable-shared create shared library code"
99 --enable-soname set the DT_SONAME field in ELF shared libraries"
101 --enable-optimise create optimised code"
103 --enable-debug same as debug_flag and debug_info"
105 --enable-precomp enable use of precompiled headers (Mac OS X)"
107 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
109 --enable-debug_info create code with debugging information"
111 --enable-debug_gdb create code with extra GDB debugging information"
113 --enable-debug_cntxt use wxDebugContext"
115 --enable-mem_tracing create code with memory tracing"
117 --enable-profile create code with profiling information"
119 --enable-no_rtti create code without RTTI information"
121 --enable-no_exceptions create code without C++ exceptions handling"
123 --enable-permissive compile code disregarding strict ANSI"
125 --enable-no_deps create code without dependency information"
127 --enable-compat20 enable wxWindows 2.0 compatibility"
129 --enable-compat22 enable wxWindows 2.2 compatibility"
131 --enable-intl use internationalization system"
133 --enable-config use wxConfig (and derived) classes"
135 --enable-sockets use socket/network classes"
137 --enable-ipc use interprocess communication (wxSocket etc.)"
139 --enable-cmdline use wxCmdLineParser class"
141 --enable-datetime use wxDateTime class"
143 --enable-timedate use obsolete wxDate/wxTime classes"
145 --enable-stopwatch use wxStopWatch class"
147 --enable-dialupman use dialup network classes"
149 --enable-apple_ieee use the Apple IEEE codec"
151 --enable-timer use wxTimer class"
153 --enable-wave use wxWave class"
155 --enable-fraction use wxFraction class"
157 --enable-dynlib use wxLibrary class for DLL loading"
159 --enable-longlong use wxLongLong class"
161 --enable-geometry use geometry class"
163 --enable-log use logging system"
165 --enable-streams use wxStream etc classes"
167 --enable-file use wxFile classes"
169 --enable-ffile use wxFFile classes"
171 --enable-textbuf use wxTextBuffer class"
173 --enable-textfile use wxTextFile class"
175 --enable-fontmap use font encodings conversion classes"
177 --enable-unicode compile wxString with Unicode support"
179 --enable-wxprintfv use wxWindows implementation of vprintf()"
181 --enable-std_iostreams use standard C++ stream classes"
183 --enable-filesystem use virtual file systems classes"
185 --enable-fs_inet use virtual HTTP/FTP filesystems"
187 --enable-fs_zip use virtual ZIP filesystems"
189 --enable-zipstream use wxZipInputStream"
191 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
193 --enable-snglinst use wxSingleInstanceChecker class"
195 --enable-mimetype use wxMimeTypesManager"
197 --enable-sysoptions use wxSystemOptions"
199 --enable-threads use threads"
201 --enable-serial use class serialization"
203 --enable-docview use document view architecture"
205 --enable-help use help subsystem"
207 --enable-mshtmlhelp use MS HTML Help (win32)"
209 --enable-html use wxHTML sub-library"
211 --enable-htmlhelp use wxHTML-based help"
213 --enable-constraints use layout-constraints system"
215 --enable-printarch use printing architecture"
217 --enable-mdi use multiple document interface architecture"
219 --enable-loggui use standard GUI logger"
221 --enable-logwin use wxLogWindow"
223 --enable-logdialog use wxLogDialog"
225 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
227 --enable-prologio use Prolog IO library"
229 --enable-resources use wxWindows resources"
231 --enable-xresources use X resources for save (default for gtk+)"
233 --enable-clipboard use wxClipboard classes"
235 --enable-dnd use Drag'n'Drop classes"
237 --enable-metafile use win32 metafiles"
239 --enable-treelayout use wxTreeLayout classes"
241 --enable-controls use all usual controls"
243 --enable-accel use accelerators"
245 --enable-button use wxButton class"
247 --enable-bmpbutton use wxBitmapButton class"
249 --enable-calendar use wxCalendarCtrl class"
251 --enable-caret use wxCaret class"
253 --enable-checkbox use wxCheckBox class"
255 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
257 --enable-choice use wxChoice class"
259 --enable-combobox use wxComboBox classes"
261 --enable-gauge use wxGauge class"
263 --enable-grid use wxGrid class"
265 --enable-newgrid use new wxGrid class"
267 --enable-imaglist use wxImageList class"
269 --enable-listbox use wxListBox class"
271 --enable-listctrl use wxListCtrl class"
273 --enable-notebook use wxNotebook class"
275 --enable-propsheet use wxPropertySheet class"
277 --enable-radiobox use wxRadioBox class"
279 --enable-radiobtn use wxRadioButton class"
281 --enable-sash use wxSashWindow class"
283 --enable-scrollbar use wxScrollBar class and scrollable windows"
285 --enable-slider use wxSlider class"
287 --enable-spinbtn use wxSpinButton class"
289 --enable-spinctrl use wxSpinCtrl class"
291 --enable-splitter use wxSplitterWindow class"
293 --enable-statbmp use wxStaticBitmap class"
295 --enable-statbox use wxStaticBox class"
297 --enable-statline use wxStaticLine class"
299 --enable-stattext use wxStaticText class"
301 --enable-statusbar use wxStatusBar class"
303 --enable-tabdialog use wxTabControl class"
305 --enable-textctrl use wxTextCtrl class"
307 --enable-togglebtn use wxToggleButton class"
309 --enable-toolbar use wxToolBar class"
311 --enable-tbarnative use native wxToolBar class"
313 --enable-tbarsmpl use wxToolBarSimple class"
315 --enable-treectrl use wxTreeCtrl class"
317 --enable-popupwin use wxPopUpWindow class"
319 --enable-commondlg use all common dialogs"
321 --enable-choicedlg use wxChoiceDialog"
323 --enable-coldlg use wxColourDialog"
325 --enable-filedlg use wxFileDialog"
327 --enable-finddlg use wxFindReplaceDialog"
329 --enable-fontdlg use wxFontDialog"
331 --enable-dirdlg use wxDirDialog"
333 --enable-msgdlg use wxMessageDialog"
335 --enable-numberdlg use wxNumberEntryDialog"
337 --enable-splash use wxSplashScreen"
339 --enable-textdlg use wxTextDialog"
341 --enable-tipdlg use startup tips"
343 --enable-progressdlg use wxProgressDialog"
345 --enable-wizarddlg use wxWizard"
347 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
349 --enable-miniframe use wxMiniFrame class"
351 --enable-tooltips use wxToolTip class"
353 --enable-splines use spline drawing code"
355 --enable-validators use wxValidator and derived classes"
357 --enable-busyinfo use wxBusyInfo"
359 --enable-joystick use wxJoystick (Linux only)"
361 --enable-metafiles use wxMetaFile (Windows only)"
363 --enable-dragimage use wxDragImage"
365 --enable-palette use wxPalette class"
367 --enable-image use wxImage class"
369 --enable-gif use gif images (GIF file format)"
371 --enable-pcx use pcx images (PCX file format)"
373 --enable-pnm use pnm images (PNM file format)"
375 --enable-xpm use xpm images (XPM file format)"
377 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
379 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
381 --disable-gtktest Do not try to compile and run a test GTK program"
383 --with-x use the X Window System"
385 # Initialize some variables set by options.
386 # The variables have the same names as the options, with
387 # dashes changed to underlines.
389 cache_file
=.
/config.cache
398 program_transform_name
=s
,x
,x
,
406 bindir
='${exec_prefix}/bin'
407 sbindir
='${exec_prefix}/sbin'
408 libexecdir
='${exec_prefix}/libexec'
409 datadir
='${prefix}/share'
410 sysconfdir
='${prefix}/etc'
411 sharedstatedir
='${prefix}/com'
412 localstatedir
='${prefix}/var'
413 libdir
='${exec_prefix}/lib'
414 includedir
='${prefix}/include'
415 oldincludedir
='/usr/include'
416 infodir
='${prefix}/info'
417 mandir
='${prefix}/man'
419 # Initialize some other variables.
422 SHELL
=${CONFIG_SHELL-/bin/sh}
423 # Maximum number of lines to put in a shell here document.
430 # If the previous option needs an argument, assign it.
431 if test -n "$ac_prev"; then
432 eval "$ac_prev=\$ac_option"
438 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
442 # Accept the important Cygnus configure options, so we can diagnose typos.
446 -bindir | --bindir | --bindi | --bind | --bin | --bi)
448 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
449 bindir
="$ac_optarg" ;;
451 -build | --build | --buil | --bui | --bu)
453 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
454 build
="$ac_optarg" ;;
456 -cache-file | --cache-file | --cache-fil | --cache-fi \
457 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
458 ac_prev
=cache_file
;;
459 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
460 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
461 cache_file
="$ac_optarg" ;;
463 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
465 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
467 datadir
="$ac_optarg" ;;
469 -disable-* | --disable-*)
470 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
471 # Reject names that are not valid shell variable names.
472 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
473 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
475 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
476 eval "enable_${ac_feature}=no" ;;
478 -enable-* | --enable-*)
479 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
480 # Reject names that are not valid shell variable names.
481 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
482 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
484 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
489 eval "enable_${ac_feature}='$ac_optarg'" ;;
491 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
492 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
493 | --exec | --exe | --ex)
494 ac_prev
=exec_prefix
;;
495 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
496 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
497 | --exec=* | --exe=* | --ex=*)
498 exec_prefix
="$ac_optarg" ;;
500 -gas | --gas | --ga | --g)
501 # Obsolete; use --with-gas.
504 -help | --help | --hel | --he)
505 # Omit some internal or obsolete options to make the list less imposing.
506 # This message is too long to be a string in the A/UX 3.1 sh.
508 Usage: configure [options] [host]
509 Options: [defaults in brackets after descriptions]
511 --cache-file=FILE cache test results in FILE
512 --help print this message
513 --no-create do not create output files
514 --quiet, --silent do not print \`checking...' messages
515 --version print the version of autoconf that created configure
516 Directory and file names:
517 --prefix=PREFIX install architecture-independent files in PREFIX
519 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
521 --bindir=DIR user executables in DIR [EPREFIX/bin]
522 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
523 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
524 --datadir=DIR read-only architecture-independent data in DIR
526 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
527 --sharedstatedir=DIR modifiable architecture-independent data in DIR
529 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
530 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
531 --includedir=DIR C header files in DIR [PREFIX/include]
532 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
533 --infodir=DIR info documentation in DIR [PREFIX/info]
534 --mandir=DIR man documentation in DIR [PREFIX/man]
535 --srcdir=DIR find the sources in DIR [configure dir or ..]
536 --program-prefix=PREFIX prepend PREFIX to installed program names
537 --program-suffix=SUFFIX append SUFFIX to installed program names
538 --program-transform-name=PROGRAM
539 run sed PROGRAM on installed program names
543 --build=BUILD configure for building on BUILD [BUILD=HOST]
544 --host=HOST configure for HOST [guessed]
545 --target=TARGET configure for TARGET [TARGET=HOST]
546 Features and packages:
547 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
548 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
549 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
550 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
551 --x-includes=DIR X include files are in DIR
552 --x-libraries=DIR X library files are in DIR
554 if test -n "$ac_help"; then
555 echo "--enable and --with options recognized:$ac_help"
559 -host | --host | --hos | --ho)
561 -host=* | --host=* | --hos=* | --ho=*)
564 -includedir | --includedir | --includedi | --included | --include \
565 | --includ | --inclu | --incl | --inc)
566 ac_prev
=includedir
;;
567 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
568 | --includ=* | --inclu=* | --incl=* | --inc=*)
569 includedir
="$ac_optarg" ;;
571 -infodir | --infodir | --infodi | --infod | --info | --inf)
573 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
574 infodir
="$ac_optarg" ;;
576 -libdir | --libdir | --libdi | --libd)
578 -libdir=* | --libdir=* | --libdi=* | --libd=*)
579 libdir
="$ac_optarg" ;;
581 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
582 | --libexe | --libex | --libe)
583 ac_prev
=libexecdir
;;
584 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
585 | --libexe=* | --libex=* | --libe=*)
586 libexecdir
="$ac_optarg" ;;
588 -localstatedir | --localstatedir | --localstatedi | --localstated \
589 | --localstate | --localstat | --localsta | --localst \
590 | --locals | --local | --loca | --loc | --lo)
591 ac_prev
=localstatedir
;;
592 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
593 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
594 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
595 localstatedir
="$ac_optarg" ;;
597 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
599 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
600 mandir
="$ac_optarg" ;;
603 # Obsolete; use --without-fp.
606 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
610 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
611 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
614 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
615 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
616 | --oldin | --oldi | --old | --ol | --o)
617 ac_prev
=oldincludedir
;;
618 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
619 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
620 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
621 oldincludedir
="$ac_optarg" ;;
623 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
625 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
626 prefix
="$ac_optarg" ;;
628 -program-prefix | --program-prefix | --program-prefi | --program-pref \
629 | --program-pre | --program-pr | --program-p)
630 ac_prev
=program_prefix
;;
631 -program-prefix=* | --program-prefix=* | --program-prefi=* \
632 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
633 program_prefix
="$ac_optarg" ;;
635 -program-suffix | --program-suffix | --program-suffi | --program-suff \
636 | --program-suf | --program-su | --program-s)
637 ac_prev
=program_suffix
;;
638 -program-suffix=* | --program-suffix=* | --program-suffi=* \
639 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
640 program_suffix
="$ac_optarg" ;;
642 -program-transform-name | --program-transform-name \
643 | --program-transform-nam | --program-transform-na \
644 | --program-transform-n | --program-transform- \
645 | --program-transform | --program-transfor \
646 | --program-transfo | --program-transf \
647 | --program-trans | --program-tran \
648 | --progr-tra | --program-tr | --program-t)
649 ac_prev
=program_transform_name
;;
650 -program-transform-name=* | --program-transform-name=* \
651 | --program-transform-nam=* | --program-transform-na=* \
652 | --program-transform-n=* | --program-transform-=* \
653 | --program-transform=* | --program-transfor=* \
654 | --program-transfo=* | --program-transf=* \
655 | --program-trans=* | --program-tran=* \
656 | --progr-tra=* | --program-tr=* | --program-t=*)
657 program_transform_name
="$ac_optarg" ;;
659 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
660 | -silent | --silent | --silen | --sile | --sil)
663 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
665 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
667 sbindir
="$ac_optarg" ;;
669 -sharedstatedir | --sharedstatedir | --sharedstatedi \
670 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
671 | --sharedst | --shareds | --shared | --share | --shar \
673 ac_prev
=sharedstatedir
;;
674 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
675 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
676 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
678 sharedstatedir
="$ac_optarg" ;;
680 -site | --site | --sit)
682 -site=* | --site=* | --sit=*)
685 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
687 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
688 srcdir
="$ac_optarg" ;;
690 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
691 | --syscon | --sysco | --sysc | --sys | --sy)
692 ac_prev
=sysconfdir
;;
693 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
694 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
695 sysconfdir
="$ac_optarg" ;;
697 -target | --target | --targe | --targ | --tar | --ta | --t)
699 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
700 target
="$ac_optarg" ;;
702 -v | -verbose | --verbose | --verbos | --verbo | --verb)
705 -version | --version | --versio | --versi | --vers)
706 echo "configure generated by autoconf version 2.13"
710 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
711 # Reject names that are not valid shell variable names.
712 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
713 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
715 ac_package
=`echo $ac_package| sed 's/-/_/g'`
720 eval "with_${ac_package}='$ac_optarg'" ;;
722 -without-* | --without-*)
723 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
724 # Reject names that are not valid shell variable names.
725 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
726 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
728 ac_package
=`echo $ac_package| sed 's/-/_/g'`
729 eval "with_${ac_package}=no" ;;
732 # Obsolete; use --with-x.
735 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
736 | --x-incl | --x-inc | --x-in | --x-i)
737 ac_prev
=x_includes
;;
738 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
739 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
740 x_includes
="$ac_optarg" ;;
742 -x-libraries | --x-libraries | --x-librarie | --x-librari \
743 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
744 ac_prev
=x_libraries
;;
745 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
746 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
747 x_libraries
="$ac_optarg" ;;
749 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
753 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
754 echo "configure: warning: $ac_option: invalid host type" 1>&2
756 if test "x$nonopt" != xNONE
; then
757 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
765 if test -n "$ac_prev"; then
766 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
769 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
771 # File descriptor usage:
774 # 2 errors and warnings
775 # 3 some systems may open it to /dev/tty
776 # 4 used on the Kubota Titan
777 # 6 checking for... messages and results
778 # 5 compiler messages saved in config.log
779 if test "$silent" = yes; then
787 This file contains any messages produced by compilers while
788 running configure, to aid debugging if configure makes a mistake.
791 # Strip out --no-create and --no-recursion so they do not pile up.
792 # Also quote any args containing shell metacharacters.
797 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
798 | --no-cr | --no-c) ;;
799 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
800 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
801 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
802 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
803 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
808 # Only set these to C if already set. These must not be set unconditionally
809 # because not all systems understand e.g. LANG=C (notably SCO).
810 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
811 # Non-C LC_CTYPE values break the ctype check.
812 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
813 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
814 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
815 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
817 # confdefs.h avoids OS command line length limits that DEFS can exceed.
818 rm -rf conftest
* confdefs.h
819 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
822 # A filename unique to this package, relative to the directory that
823 # configure is in, which we can look for to find out if srcdir is correct.
824 ac_unique_file
=wx
-config.
in
826 # Find the source files, if location was not specified.
827 if test -z "$srcdir"; then
828 ac_srcdir_defaulted
=yes
829 # Try the directory containing this script, then its parent.
831 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
832 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
834 if test ! -r $srcdir/$ac_unique_file; then
838 ac_srcdir_defaulted
=no
840 if test ! -r $srcdir/$ac_unique_file; then
841 if test "$ac_srcdir_defaulted" = yes; then
842 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
844 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
847 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
849 # Prefer explicitly selected file to automatically selected ones.
850 if test -z "$CONFIG_SITE"; then
851 if test "x$prefix" != xNONE
; then
852 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
854 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
857 for ac_site_file
in $CONFIG_SITE; do
858 if test -r "$ac_site_file"; then
859 echo "loading site script $ac_site_file"
864 if test -r "$cache_file"; then
865 echo "loading cache $cache_file"
868 echo "creating cache $cache_file"
873 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
874 ac_cpp
='$CPP $CPPFLAGS'
875 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
876 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
877 cross_compiling
=$ac_cv_prog_cc_cross
881 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
882 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
883 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
890 ac_n
= ac_c
='\c' ac_t
=
896 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
897 if test -f $ac_dir/install-sh; then
899 ac_install_sh
="$ac_aux_dir/install-sh -c"
901 elif test -f $ac_dir/install.sh
; then
903 ac_install_sh
="$ac_aux_dir/install.sh -c"
907 if test -z "$ac_aux_dir"; then
908 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
910 ac_config_guess
=$ac_aux_dir/config.guess
911 ac_config_sub
=$ac_aux_dir/config.sub
912 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
915 # Do some error checking and defaulting for the host and target type.
917 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
920 # 1. You are not allowed to specify --host, --target, and nonopt at the
922 # 2. Host defaults to nonopt.
923 # 3. If nonopt is not specified, then host defaults to the current host,
924 # as determined by config.guess.
925 # 4. Target and build default to nonopt.
926 # 5. If nonopt is not specified, then target and build default to host.
928 # The aliases save the names the user supplied, while $host etc.
929 # will get canonicalized.
930 case $host---$target---$nonopt in
931 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
932 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
936 # Make sure we can run config.sub.
937 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
938 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
941 echo $ac_n "checking host system type""... $ac_c" 1>&6
942 echo "configure:943: checking host system type" >&5
945 case "$host_alias" in
949 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
950 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
952 *) host_alias
=$nonopt ;;
956 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
957 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
958 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
959 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
960 echo "$ac_t""$host" 1>&6
962 echo $ac_n "checking target system type""... $ac_c" 1>&6
963 echo "configure:964: checking target system type" >&5
966 case "$target_alias" in
969 NONE
) target_alias
=$host_alias ;;
970 *) target_alias
=$nonopt ;;
974 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
975 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
976 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
977 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
978 echo "$ac_t""$target" 1>&6
980 echo $ac_n "checking build system type""... $ac_c" 1>&6
981 echo "configure:982: checking build system type" >&5
984 case "$build_alias" in
987 NONE
) build_alias
=$host_alias ;;
988 *) build_alias
=$nonopt ;;
992 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
993 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
994 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
995 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
996 echo "$ac_t""$build" 1>&6
998 test "$host_alias" != "$target_alias" &&
999 test "$program_prefix$program_suffix$program_transform_name" = \
1001 program_prefix
=${target_alias}-
1005 WX_MAJOR_VERSION_NUMBER
=2
1006 WX_MINOR_VERSION_NUMBER
=3
1009 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1010 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1012 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1045 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1047 ALL_TOOLKITS
="GTK MAC MGL MOTIF MSW PM WINE"
1052 DEFAULT_wxUSE_MOTIF
=0
1055 DEFAULT_wxUSE_WINE
=0
1057 DEFAULT_DEFAULT_wxUSE_GTK
=0
1058 DEFAULT_DEFAULT_wxUSE_MAC
=0
1059 DEFAULT_DEFAULT_wxUSE_MGL
=0
1060 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1061 DEFAULT_DEFAULT_wxUSE_MSW
=0
1062 DEFAULT_DEFAULT_wxUSE_PM
=0
1063 DEFAULT_DEFAULT_wxUSE_WINE
=0
1071 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1072 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1074 cat >> confdefs.h
<<\EOF
1081 cat >> confdefs.h
<<\EOF
1086 if test "x$TMP" = "xalpha"; then
1088 cat >> confdefs.h
<<\EOF
1093 DEFAULT_DEFAULT_wxUSE_GTK
=1
1095 *-*-irix5* | *-*-irix6* )
1098 cat >> confdefs.h
<<\EOF
1102 cat >> confdefs.h
<<\EOF
1106 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1112 cat >> confdefs.h
<<\EOF
1116 cat >> confdefs.h
<<\EOF
1117 #define __SOLARIS__ 1
1120 cat >> confdefs.h
<<\EOF
1124 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1125 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1131 cat >> confdefs.h
<<\EOF
1135 cat >> confdefs.h
<<\EOF
1139 cat >> confdefs.h
<<\EOF
1143 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1148 cat >> confdefs.h
<<\EOF
1149 #define __FREEBSD__ 1
1152 cat >> confdefs.h
<<\EOF
1156 DEFAULT_DEFAULT_wxUSE_GTK
=1
1161 cat >> confdefs.h
<<\EOF
1162 #define __FREEBSD__ 1
1165 cat >> confdefs.h
<<\EOF
1166 #define __OPENBSD__ 1
1169 DEFAULT_DEFAULT_wxUSE_GTK
=1
1174 cat >> confdefs.h
<<\EOF
1175 #define __FREEBSD__ 1
1178 cat >> confdefs.h
<<\EOF
1179 #define __NETBSD__ 1
1182 DEFAULT_DEFAULT_wxUSE_GTK
=1
1187 cat >> confdefs.h
<<\EOF
1191 cat >> confdefs.h
<<\EOF
1195 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1196 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1201 cat >> confdefs.h
<<\EOF
1205 cat >> confdefs.h
<<\EOF
1209 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1214 cat >> confdefs.h
<<\EOF
1218 cat >> confdefs.h
<<\EOF
1222 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1228 cat >> confdefs.h
<<\EOF
1232 cat >> confdefs.h
<<\EOF
1236 cat >> confdefs.h
<<\EOF
1240 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1243 *-*-cygwin* | *-*-mingw32* )
1247 cat >> confdefs.h
<<\EOF
1251 cat >> confdefs.h
<<\EOF
1255 cat >> confdefs.h
<<\EOF
1256 #define __WINDOWS__ 1
1259 cat >> confdefs.h
<<\EOF
1260 #define __GNUWIN32__ 1
1263 cat >> confdefs.h
<<\EOF
1267 cat >> confdefs.h
<<\EOF
1268 #define WINVER 0x0400
1273 DEFAULT_DEFAULT_wxUSE_MSW
=1
1276 *-pc-os2_emx | *-pc-os2-emx )
1277 cat >> confdefs.h
<<\EOF
1282 DEFAULT_DEFAULT_wxUSE_PM
=1
1289 cat >> confdefs.h
<<\EOF
1293 cat >> confdefs.h
<<\EOF
1294 #define __DARWIN__ 1
1297 cat >> confdefs.h
<<\EOF
1298 #define __POWERPC__ 1
1301 DEFAULT_DEFAULT_wxUSE_MAC
=1
1306 cat >> confdefs.h
<<\EOF
1313 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1316 if test "$USE_UNIX" = 1 ; then
1318 cat >> confdefs.h
<<\EOF
1324 if test "$USE_LINUX" = 1; then
1325 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1326 echo "configure:1327: checking for glibc 2.1 or later" >&5
1327 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1328 echo $ac_n "(cached) $ac_c" 1>&6
1330 cat > conftest.
$ac_ext <<EOF
1331 #line 1332 "configure"
1332 #include "confdefs.h"
1333 #include <features.h>
1336 #if !__GLIBC_PREREQ(2, 1)
1342 if { (eval echo configure
:1343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1348 echo "configure: failed program was:" >&5
1349 cat conftest.
$ac_ext >&5
1360 echo "$ac_t""$wx_lib_glibc21" 1>&6
1361 if test "$wx_lib_glibc21" = "yes"; then
1362 cat >> confdefs.h
<<\EOF
1363 #define wxHAVE_GLIBC2 1
1372 wx_arg_cache_file
="configarg.cache"
1373 echo "loading argument cache $wx_arg_cache_file"
1374 rm -f ${wx_arg_cache_file}.tmp
1375 touch ${wx_arg_cache_file}.tmp
1376 touch ${wx_arg_cache_file}
1380 if test $DEBUG_CONFIGURE = 1; then
1381 DEFAULT_wxUSE_UNIVERSAL
=no
1383 DEFAULT_wxUSE_THREADS
=yes
1385 DEFAULT_wxUSE_SHARED
=yes
1386 DEFAULT_wxUSE_SONAME
=no
1387 DEFAULT_wxUSE_OPTIMISE
=no
1388 DEFAULT_wxUSE_PROFILE
=no
1389 DEFAULT_wxUSE_NO_DEPS
=no
1390 DEFAULT_wxUSE_NO_RTTI
=yes
1391 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1392 DEFAULT_wxUSE_PERMISSIVE
=no
1393 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1394 DEFAULT_wxUSE_DEBUG_INFO
=yes
1395 DEFAULT_wxUSE_DEBUG_GDB
=yes
1396 DEFAULT_wxUSE_MEM_TRACING
=no
1397 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1398 DEFAULT_wxUSE_DMALLOC
=no
1399 DEFAULT_wxUSE_PRECOMP
=yes
1400 DEFAULT_wxUSE_APPLE_IEEE
=no
1402 DEFAULT_wxUSE_LOG
=yes
1403 DEFAULT_wxUSE_LOGWINDOW
=no
1404 DEFAULT_wxUSE_LOGGUI
=no
1405 DEFAULT_wxUSE_LOGDIALOG
=no
1407 DEFAULT_wxUSE_GUI
=yes
1408 DEFAULT_wxUSE_CONTROLS
=no
1410 DEFAULT_wxUSE_REGEX
=no
1411 DEFAULT_wxUSE_ZLIB
=no
1412 DEFAULT_wxUSE_LIBPNG
=no
1413 DEFAULT_wxUSE_LIBJPEG
=no
1414 DEFAULT_wxUSE_LIBTIFF
=no
1415 DEFAULT_wxUSE_ODBC
=no
1416 DEFAULT_wxUSE_FREETYPE
=no
1417 DEFAULT_wxUSE_OPENGL
=no
1419 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1420 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1421 DEFAULT_wxUSE_STD_IOSTREAM
=no
1422 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1423 DEFAULT_wxUSE_DATETIME
=no
1424 DEFAULT_wxUSE_TIMEDATE
=no
1425 DEFAULT_wxUSE_TIMER
=no
1426 DEFAULT_wxUSE_STOPWATCH
=no
1427 DEFAULT_wxUSE_FILE
=no
1428 DEFAULT_wxUSE_FFILE
=no
1429 DEFAULT_wxUSE_TEXTBUFFER
=no
1430 DEFAULT_wxUSE_TEXTFILE
=no
1431 DEFAULT_wxUSE_WAVE
=no
1432 DEFAULT_wxUSE_INTL
=no
1433 DEFAULT_wxUSE_CONFIG
=no
1434 DEFAULT_wxUSE_FONTMAP
=no
1435 DEFAULT_wxUSE_STREAMS
=no
1436 DEFAULT_wxUSE_SOCKETS
=no
1437 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1438 DEFAULT_wxUSE_SERIAL
=no
1439 DEFAULT_wxUSE_JOYSTICK
=no
1440 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1441 DEFAULT_wxUSE_LONGLONG
=no
1442 DEFAULT_wxUSE_GEOMETRY
=no
1444 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1445 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1446 DEFAULT_wxUSE_POSTSCRIPT
=no
1448 DEFAULT_wxUSE_X_RESOURCES
=no
1449 DEFAULT_wxUSE_CLIPBOARD
=no
1450 DEFAULT_wxUSE_TOOLTIPS
=no
1451 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1452 DEFAULT_wxUSE_DRAGIMAGE
=no
1453 DEFAULT_wxUSE_SPLINES
=no
1455 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1456 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1457 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1459 DEFAULT_wxUSE_PROLOGIO
=no
1460 DEFAULT_wxUSE_RESOURCES
=no
1461 DEFAULT_wxUSE_CONSTRAINTS
=no
1462 DEFAULT_wxUSE_IPC
=no
1463 DEFAULT_wxUSE_HELP
=no
1464 DEFAULT_wxUSE_MS_HTML_HELP
=no
1465 DEFAULT_wxUSE_WXHTML_HELP
=no
1466 DEFAULT_wxUSE_TREELAYOUT
=no
1467 DEFAULT_wxUSE_METAFILE
=no
1468 DEFAULT_wxUSE_MIMETYPE
=no
1469 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1471 DEFAULT_wxUSE_COMMONDLGS
=no
1472 DEFAULT_wxUSE_CHOICEDLG
=no
1473 DEFAULT_wxUSE_COLOURDLG
=no
1474 DEFAULT_wxUSE_DIRDLG
=no
1475 DEFAULT_wxUSE_FILEDLG
=no
1476 DEFAULT_wxUSE_FINDREPLDLG
=no
1477 DEFAULT_wxUSE_FONTDLG
=no
1478 DEFAULT_wxUSE_MSGDLG
=no
1479 DEFAULT_wxUSE_NUMBERDLG
=no
1480 DEFAULT_wxUSE_TEXTDLG
=no
1481 DEFAULT_wxUSE_SPLASH
=no
1482 DEFAULT_wxUSE_STARTUP_TIPS
=no
1483 DEFAULT_wxUSE_PROGRESSDLG
=no
1484 DEFAULT_wxUSE_WIZARDDLG
=no
1486 DEFAULT_wxUSE_MENUS
=no
1487 DEFAULT_wxUSE_MINIFRAME
=no
1488 DEFAULT_wxUSE_HTML
=no
1489 DEFAULT_wxUSE_FILESYSTEM
=no
1490 DEFAULT_wxUSE_FS_INET
=no
1491 DEFAULT_wxUSE_FS_ZIP
=no
1492 DEFAULT_wxUSE_BUSYINFO
=no
1493 DEFAULT_wxUSE_ZIPSTREAM
=no
1494 DEFAULT_wxUSE_VALIDATORS
=no
1496 DEFAULT_wxUSE_ACCEL
=no
1497 DEFAULT_wxUSE_BUTTON
=no
1498 DEFAULT_wxUSE_BMPBUTTON
=no
1499 DEFAULT_wxUSE_CALCTRL
=no
1500 DEFAULT_wxUSE_CARET
=no
1501 DEFAULT_wxUSE_CHECKBOX
=no
1502 DEFAULT_wxUSE_CHECKLST
=no
1503 DEFAULT_wxUSE_CHOICE
=no
1504 DEFAULT_wxUSE_COMBOBOX
=no
1505 DEFAULT_wxUSE_GAUGE
=no
1506 DEFAULT_wxUSE_GRID
=no
1507 DEFAULT_wxUSE_NEW_GRID
=no
1508 DEFAULT_wxUSE_IMAGLIST
=no
1509 DEFAULT_wxUSE_LISTBOX
=no
1510 DEFAULT_wxUSE_LISTCTRL
=no
1511 DEFAULT_wxUSE_NOTEBOOK
=no
1512 DEFAULT_wxUSE_PROPSHEET
=no
1513 DEFAULT_wxUSE_RADIOBOX
=no
1514 DEFAULT_wxUSE_RADIOBTN
=no
1515 DEFAULT_wxUSE_SASH
=no
1516 DEFAULT_wxUSE_SCROLLBAR
=no
1517 DEFAULT_wxUSE_SLIDER
=no
1518 DEFAULT_wxUSE_SPINBTN
=no
1519 DEFAULT_wxUSE_SPINCTRL
=no
1520 DEFAULT_wxUSE_SPLITTER
=no
1521 DEFAULT_wxUSE_STATBMP
=no
1522 DEFAULT_wxUSE_STATBOX
=no
1523 DEFAULT_wxUSE_STATLINE
=no
1524 DEFAULT_wxUSE_STATTEXT
=no
1525 DEFAULT_wxUSE_STATUSBAR
=yes
1526 DEFAULT_wxUSE_TABDIALOG
=no
1527 DEFAULT_wxUSE_TEXTCTRL
=no
1528 DEFAULT_wxUSE_TOGGLEBTN
=no
1529 DEFAULT_wxUSE_TOOLBAR
=no
1530 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1531 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1532 DEFAULT_wxUSE_TREECTRL
=no
1533 DEFAULT_wxUSE_POPUPWIN
=no
1535 DEFAULT_wxUSE_UNICODE
=no
1536 DEFAULT_wxUSE_WCSRTOMBS
=no
1538 DEFAULT_wxUSE_PALETTE
=no
1539 DEFAULT_wxUSE_IMAGE
=no
1540 DEFAULT_wxUSE_GIF
=no
1541 DEFAULT_wxUSE_PCX
=no
1542 DEFAULT_wxUSE_PNM
=no
1543 DEFAULT_wxUSE_XPM
=no
1545 DEFAULT_wxUSE_UNIVERSAL
=no
1547 DEFAULT_wxUSE_THREADS
=yes
1549 DEFAULT_wxUSE_SHARED
=yes
1550 DEFAULT_wxUSE_SONAME
=no
1551 DEFAULT_wxUSE_OPTIMISE
=yes
1552 DEFAULT_wxUSE_PROFILE
=no
1553 DEFAULT_wxUSE_NO_DEPS
=no
1554 DEFAULT_wxUSE_NO_RTTI
=yes
1555 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1556 DEFAULT_wxUSE_PERMISSIVE
=no
1557 DEFAULT_wxUSE_DEBUG_FLAG
=no
1558 DEFAULT_wxUSE_DEBUG_INFO
=no
1559 DEFAULT_wxUSE_DEBUG_GDB
=no
1560 DEFAULT_wxUSE_MEM_TRACING
=no
1561 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1562 DEFAULT_wxUSE_DMALLOC
=no
1563 DEFAULT_wxUSE_PRECOMP
=yes
1564 DEFAULT_wxUSE_APPLE_IEEE
=yes
1566 DEFAULT_wxUSE_LOG
=yes
1567 DEFAULT_wxUSE_LOGWINDOW
=yes
1568 DEFAULT_wxUSE_LOGGUI
=yes
1569 DEFAULT_wxUSE_LOGDIALOG
=yes
1571 DEFAULT_wxUSE_GUI
=yes
1573 DEFAULT_wxUSE_REGEX
=yes
1574 DEFAULT_wxUSE_ZLIB
=yes
1575 DEFAULT_wxUSE_LIBPNG
=yes
1576 DEFAULT_wxUSE_LIBJPEG
=yes
1577 DEFAULT_wxUSE_LIBTIFF
=yes
1578 DEFAULT_wxUSE_ODBC
=no
1579 DEFAULT_wxUSE_FREETYPE
=no
1580 DEFAULT_wxUSE_OPENGL
=no
1582 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1583 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1584 DEFAULT_wxUSE_STD_IOSTREAM
=no
1585 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1586 DEFAULT_wxUSE_DATETIME
=yes
1587 DEFAULT_wxUSE_TIMEDATE
=no
1588 DEFAULT_wxUSE_TIMER
=yes
1589 DEFAULT_wxUSE_STOPWATCH
=yes
1590 DEFAULT_wxUSE_FILE
=yes
1591 DEFAULT_wxUSE_FFILE
=yes
1592 DEFAULT_wxUSE_TEXTBUFFER
=yes
1593 DEFAULT_wxUSE_TEXTFILE
=yes
1594 DEFAULT_wxUSE_WAVE
=no
1595 DEFAULT_wxUSE_INTL
=yes
1596 DEFAULT_wxUSE_CONFIG
=yes
1597 DEFAULT_wxUSE_FONTMAP
=yes
1598 DEFAULT_wxUSE_STREAMS
=yes
1599 DEFAULT_wxUSE_SOCKETS
=yes
1600 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1601 DEFAULT_wxUSE_SERIAL
=yes
1602 DEFAULT_wxUSE_JOYSTICK
=yes
1603 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1604 DEFAULT_wxUSE_LONGLONG
=yes
1605 DEFAULT_wxUSE_GEOMETRY
=yes
1607 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1608 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1609 DEFAULT_wxUSE_POSTSCRIPT
=yes
1611 DEFAULT_wxUSE_X_RESOURCES
=no
1612 DEFAULT_wxUSE_CLIPBOARD
=yes
1613 DEFAULT_wxUSE_TOOLTIPS
=yes
1614 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1615 DEFAULT_wxUSE_DRAGIMAGE
=yes
1616 DEFAULT_wxUSE_SPLINES
=yes
1618 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1619 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1620 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1622 DEFAULT_wxUSE_PROLOGIO
=yes
1623 DEFAULT_wxUSE_RESOURCES
=yes
1624 DEFAULT_wxUSE_CONSTRAINTS
=yes
1625 DEFAULT_wxUSE_IPC
=yes
1626 DEFAULT_wxUSE_HELP
=yes
1627 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1628 DEFAULT_wxUSE_WXHTML_HELP
=yes
1629 DEFAULT_wxUSE_TREELAYOUT
=yes
1630 DEFAULT_wxUSE_METAFILE
=yes
1631 DEFAULT_wxUSE_MIMETYPE
=yes
1632 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1634 DEFAULT_wxUSE_COMMONDLGS
=yes
1635 DEFAULT_wxUSE_CHOICEDLG
=yes
1636 DEFAULT_wxUSE_COLOURDLG
=yes
1637 DEFAULT_wxUSE_DIRDLG
=yes
1638 DEFAULT_wxUSE_FILEDLG
=yes
1639 DEFAULT_wxUSE_FINDREPLDLG
=yes
1640 DEFAULT_wxUSE_FONTDLG
=yes
1641 DEFAULT_wxUSE_MSGDLG
=yes
1642 DEFAULT_wxUSE_NUMBERDLG
=yes
1643 DEFAULT_wxUSE_TEXTDLG
=yes
1644 DEFAULT_wxUSE_SPLASH
=yes
1645 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1646 DEFAULT_wxUSE_PROGRESSDLG
=yes
1647 DEFAULT_wxUSE_WIZARDDLG
=yes
1649 DEFAULT_wxUSE_MENUS
=yes
1650 DEFAULT_wxUSE_MINIFRAME
=yes
1651 DEFAULT_wxUSE_HTML
=yes
1652 DEFAULT_wxUSE_FILESYSTEM
=yes
1653 DEFAULT_wxUSE_FS_INET
=yes
1654 DEFAULT_wxUSE_FS_ZIP
=yes
1655 DEFAULT_wxUSE_BUSYINFO
=yes
1656 DEFAULT_wxUSE_ZIPSTREAM
=yes
1657 DEFAULT_wxUSE_VALIDATORS
=yes
1659 DEFAULT_wxUSE_ACCEL
=yes
1660 DEFAULT_wxUSE_BUTTON
=yes
1661 DEFAULT_wxUSE_BMPBUTTON
=yes
1662 DEFAULT_wxUSE_CALCTRL
=yes
1663 DEFAULT_wxUSE_CARET
=yes
1664 DEFAULT_wxUSE_CHECKBOX
=yes
1665 DEFAULT_wxUSE_CHECKLST
=yes
1666 DEFAULT_wxUSE_CHOICE
=yes
1667 DEFAULT_wxUSE_COMBOBOX
=yes
1668 DEFAULT_wxUSE_GAUGE
=yes
1669 DEFAULT_wxUSE_GRID
=yes
1670 DEFAULT_wxUSE_NEW_GRID
=yes
1671 DEFAULT_wxUSE_IMAGLIST
=yes
1672 DEFAULT_wxUSE_LISTBOX
=yes
1673 DEFAULT_wxUSE_LISTCTRL
=yes
1674 DEFAULT_wxUSE_NOTEBOOK
=yes
1675 DEFAULT_wxUSE_PROPSHEET
=yes
1676 DEFAULT_wxUSE_RADIOBOX
=yes
1677 DEFAULT_wxUSE_RADIOBTN
=yes
1678 DEFAULT_wxUSE_SASH
=yes
1679 DEFAULT_wxUSE_SCROLLBAR
=yes
1680 DEFAULT_wxUSE_SLIDER
=yes
1681 DEFAULT_wxUSE_SPINBTN
=yes
1682 DEFAULT_wxUSE_SPINCTRL
=yes
1683 DEFAULT_wxUSE_SPLITTER
=yes
1684 DEFAULT_wxUSE_STATBMP
=yes
1685 DEFAULT_wxUSE_STATBOX
=yes
1686 DEFAULT_wxUSE_STATLINE
=yes
1687 DEFAULT_wxUSE_STATTEXT
=yes
1688 DEFAULT_wxUSE_STATUSBAR
=yes
1689 DEFAULT_wxUSE_TABDIALOG
=no
1690 DEFAULT_wxUSE_TEXTCTRL
=yes
1691 DEFAULT_wxUSE_TOGGLEBTN
=yes
1692 DEFAULT_wxUSE_TOOLBAR
=yes
1693 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1694 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1695 DEFAULT_wxUSE_TREECTRL
=yes
1696 DEFAULT_wxUSE_POPUPWIN
=yes
1698 DEFAULT_wxUSE_UNICODE
=no
1699 DEFAULT_wxUSE_WCSRTOMBS
=no
1701 DEFAULT_wxUSE_PALETTE
=yes
1702 DEFAULT_wxUSE_IMAGE
=yes
1703 DEFAULT_wxUSE_GIF
=yes
1704 DEFAULT_wxUSE_PCX
=yes
1705 DEFAULT_wxUSE_PNM
=yes
1706 DEFAULT_wxUSE_XPM
=yes
1711 for toolkit
in `echo $ALL_TOOLKITS`; do
1712 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1713 if test "x$LINE" != x
; then
1714 has_toolkit_in_cache
=1
1715 eval "DEFAULT_$LINE"
1716 eval "CACHE_$toolkit=1"
1722 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1723 echo "configure:1724: checking for --enable-gui" >&5
1725 # Check whether --enable-gui or --disable-gui was given.
1726 if test "${enable_gui+set}" = set; then
1727 enableval
="$enable_gui"
1729 if test "$enableval" = yes; then
1730 ac_cv_use_gui
='wxUSE_GUI=yes'
1732 ac_cv_use_gui
='wxUSE_GUI=no'
1737 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1738 if test "x$LINE" != x
; then
1739 eval "DEFAULT_$LINE"
1744 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1749 eval "$ac_cv_use_gui"
1750 if test "$no_cache" != 1; then
1751 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1754 if test "$wxUSE_GUI" = yes; then
1755 echo "$ac_t""yes" 1>&6
1757 echo "$ac_t""no" 1>&6
1761 if test "$wxUSE_GUI" = "yes"; then
1764 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1765 echo "configure:1766: checking for --enable-universal" >&5
1767 # Check whether --enable-universal or --disable-universal was given.
1768 if test "${enable_universal+set}" = set; then
1769 enableval
="$enable_universal"
1771 if test "$enableval" = yes; then
1772 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1774 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1779 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1780 if test "x$LINE" != x
; then
1781 eval "DEFAULT_$LINE"
1786 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1791 eval "$ac_cv_use_universal"
1792 if test "$no_cache" != 1; then
1793 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1796 if test "$wxUSE_UNIVERSAL" = yes; then
1797 echo "$ac_t""yes" 1>&6
1799 echo "$ac_t""no" 1>&6
1802 # Check whether --with-gtk or --without-gtk was given.
1803 if test "${with_gtk+set}" = set; then
1805 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1808 # Check whether --with-motif or --without-motif was given.
1809 if test "${with_motif+set}" = set; then
1810 withval
="$with_motif"
1811 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1814 # Check whether --with-mac or --without-mac was given.
1815 if test "${with_mac+set}" = set; then
1817 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1820 # Check whether --with-wine or --without-wine was given.
1821 if test "${with_wine+set}" = set; then
1822 withval
="$with_wine"
1823 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1826 # Check whether --with-msw or --without-msw was given.
1827 if test "${with_msw+set}" = set; then
1829 wxUSE_MSW
="$withval" CACHE_MSW TOOLKIT_GIVEN
=1
1832 # Check whether --with-pm or --without-pm was given.
1833 if test "${with_pm+set}" = set; then
1835 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1838 # Check whether --with-mgl or --without-mgl was given.
1839 if test "${with_mgl+set}" = set; then
1841 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1845 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1846 if test "${enable_gtk2+set}" = set; then
1847 enableval
="$enable_gtk2"
1855 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1856 echo "configure:1857: checking for --with-libpng" >&5
1858 # Check whether --with-libpng or --without-libpng was given.
1859 if test "${with_libpng+set}" = set; then
1860 withval
="$with_libpng"
1862 if test "$withval" = yes; then
1863 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1864 elif test "$withval" = no
; then
1865 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1866 elif test "$withval" = sys
; then
1867 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1868 elif test "$withval" = builtin; then
1869 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1871 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1876 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1877 if test "x$LINE" != x
; then
1878 eval "DEFAULT_$LINE"
1883 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1888 eval "$ac_cv_use_libpng"
1889 if test "$no_cache" != 1; then
1890 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1893 if test "$wxUSE_LIBPNG" = yes; then
1894 echo "$ac_t""yes" 1>&6
1895 elif test "$wxUSE_LIBPNG" = no
; then
1896 echo "$ac_t""no" 1>&6
1897 elif test "$wxUSE_LIBPNG" = sys
; then
1898 echo "$ac_t""system version" 1>&6
1899 elif test "$wxUSE_LIBPNG" = builtin; then
1900 echo "$ac_t""builtin version" 1>&6
1902 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1906 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1907 echo "configure:1908: checking for --with-libjpeg" >&5
1909 # Check whether --with-libjpeg or --without-libjpeg was given.
1910 if test "${with_libjpeg+set}" = set; then
1911 withval
="$with_libjpeg"
1913 if test "$withval" = yes; then
1914 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1915 elif test "$withval" = no
; then
1916 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1917 elif test "$withval" = sys
; then
1918 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1919 elif test "$withval" = builtin; then
1920 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
1922 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1927 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1928 if test "x$LINE" != x
; then
1929 eval "DEFAULT_$LINE"
1934 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1939 eval "$ac_cv_use_libjpeg"
1940 if test "$no_cache" != 1; then
1941 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1944 if test "$wxUSE_LIBJPEG" = yes; then
1945 echo "$ac_t""yes" 1>&6
1946 elif test "$wxUSE_LIBJPEG" = no
; then
1947 echo "$ac_t""no" 1>&6
1948 elif test "$wxUSE_LIBJPEG" = sys
; then
1949 echo "$ac_t""system version" 1>&6
1950 elif test "$wxUSE_LIBJPEG" = builtin; then
1951 echo "$ac_t""builtin version" 1>&6
1953 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1957 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1958 echo "configure:1959: checking for --with-libtiff" >&5
1960 # Check whether --with-libtiff or --without-libtiff was given.
1961 if test "${with_libtiff+set}" = set; then
1962 withval
="$with_libtiff"
1964 if test "$withval" = yes; then
1965 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1966 elif test "$withval" = no
; then
1967 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1968 elif test "$withval" = sys
; then
1969 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1970 elif test "$withval" = builtin; then
1971 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
1973 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1978 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1979 if test "x$LINE" != x
; then
1980 eval "DEFAULT_$LINE"
1985 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1990 eval "$ac_cv_use_libtiff"
1991 if test "$no_cache" != 1; then
1992 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1995 if test "$wxUSE_LIBTIFF" = yes; then
1996 echo "$ac_t""yes" 1>&6
1997 elif test "$wxUSE_LIBTIFF" = no
; then
1998 echo "$ac_t""no" 1>&6
1999 elif test "$wxUSE_LIBTIFF" = sys
; then
2000 echo "$ac_t""system version" 1>&6
2001 elif test "$wxUSE_LIBTIFF" = builtin; then
2002 echo "$ac_t""builtin version" 1>&6
2004 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2008 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2009 echo "configure:2010: checking for --with-freetype" >&5
2011 # Check whether --with-freetype or --without-freetype was given.
2012 if test "${with_freetype+set}" = set; then
2013 withval
="$with_freetype"
2015 if test "$withval" = yes; then
2016 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
2017 elif test "$withval" = no
; then
2018 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2019 elif test "$withval" = sys
; then
2020 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2021 elif test "$withval" = builtin; then
2022 ac_cv_use_freetype
='wxUSE_FREETYPE=builtin'
2024 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2029 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2030 if test "x$LINE" != x
; then
2031 eval "DEFAULT_$LINE"
2036 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2041 eval "$ac_cv_use_freetype"
2042 if test "$no_cache" != 1; then
2043 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2046 if test "$wxUSE_FREETYPE" = yes; then
2047 echo "$ac_t""yes" 1>&6
2048 elif test "$wxUSE_FREETYPE" = no
; then
2049 echo "$ac_t""no" 1>&6
2050 elif test "$wxUSE_FREETYPE" = sys
; then
2051 echo "$ac_t""system version" 1>&6
2052 elif test "$wxUSE_FREETYPE" = builtin; then
2053 echo "$ac_t""builtin version" 1>&6
2055 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2059 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2060 echo "configure:2061: checking for --with-opengl" >&5
2062 # Check whether --with-opengl or --without-opengl was given.
2063 if test "${with_opengl+set}" = set; then
2064 withval
="$with_opengl"
2066 if test "$withval" = yes; then
2067 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2069 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2074 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2075 if test "x$LINE" != x
; then
2076 eval "DEFAULT_$LINE"
2081 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2086 eval "$ac_cv_use_opengl"
2087 if test "$no_cache" != 1; then
2088 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2091 if test "$wxUSE_OPENGL" = yes; then
2092 echo "$ac_t""yes" 1>&6
2094 echo "$ac_t""no" 1>&6
2101 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2102 echo "configure:2103: checking for --with-dmalloc" >&5
2104 # Check whether --with-dmalloc or --without-dmalloc was given.
2105 if test "${with_dmalloc+set}" = set; then
2106 withval
="$with_dmalloc"
2108 if test "$withval" = yes; then
2109 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2111 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2116 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2117 if test "x$LINE" != x
; then
2118 eval "DEFAULT_$LINE"
2123 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2128 eval "$ac_cv_use_dmalloc"
2129 if test "$no_cache" != 1; then
2130 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2133 if test "$wxUSE_DMALLOC" = yes; then
2134 echo "$ac_t""yes" 1>&6
2136 echo "$ac_t""no" 1>&6
2140 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2141 echo "configure:2142: checking for --with-regex" >&5
2143 # Check whether --with-regex or --without-regex was given.
2144 if test "${with_regex+set}" = set; then
2145 withval
="$with_regex"
2147 if test "$withval" = yes; then
2148 ac_cv_use_regex
='wxUSE_REGEX=yes'
2149 elif test "$withval" = no
; then
2150 ac_cv_use_regex
='wxUSE_REGEX=no'
2151 elif test "$withval" = sys
; then
2152 ac_cv_use_regex
='wxUSE_REGEX=sys'
2153 elif test "$withval" = builtin; then
2154 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2156 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2161 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2162 if test "x$LINE" != x
; then
2163 eval "DEFAULT_$LINE"
2168 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2173 eval "$ac_cv_use_regex"
2174 if test "$no_cache" != 1; then
2175 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2178 if test "$wxUSE_REGEX" = yes; then
2179 echo "$ac_t""yes" 1>&6
2180 elif test "$wxUSE_REGEX" = no
; then
2181 echo "$ac_t""no" 1>&6
2182 elif test "$wxUSE_REGEX" = sys
; then
2183 echo "$ac_t""system version" 1>&6
2184 elif test "$wxUSE_REGEX" = builtin; then
2185 echo "$ac_t""builtin version" 1>&6
2187 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2191 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2192 echo "configure:2193: checking for --with-zlib" >&5
2194 # Check whether --with-zlib or --without-zlib was given.
2195 if test "${with_zlib+set}" = set; then
2196 withval
="$with_zlib"
2198 if test "$withval" = yes; then
2199 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2200 elif test "$withval" = no
; then
2201 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2202 elif test "$withval" = sys
; then
2203 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2204 elif test "$withval" = builtin; then
2205 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2207 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2212 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2213 if test "x$LINE" != x
; then
2214 eval "DEFAULT_$LINE"
2219 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2224 eval "$ac_cv_use_zlib"
2225 if test "$no_cache" != 1; then
2226 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2229 if test "$wxUSE_ZLIB" = yes; then
2230 echo "$ac_t""yes" 1>&6
2231 elif test "$wxUSE_ZLIB" = no
; then
2232 echo "$ac_t""no" 1>&6
2233 elif test "$wxUSE_ZLIB" = sys
; then
2234 echo "$ac_t""system version" 1>&6
2235 elif test "$wxUSE_ZLIB" = builtin; then
2236 echo "$ac_t""builtin version" 1>&6
2238 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2242 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2243 echo "configure:2244: checking for --with-odbc" >&5
2245 # Check whether --with-odbc or --without-odbc was given.
2246 if test "${with_odbc+set}" = set; then
2247 withval
="$with_odbc"
2249 if test "$withval" = yes; then
2250 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2252 ac_cv_use_odbc
='wxUSE_ODBC=no'
2257 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2258 if test "x$LINE" != x
; then
2259 eval "DEFAULT_$LINE"
2264 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2269 eval "$ac_cv_use_odbc"
2270 if test "$no_cache" != 1; then
2271 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2274 if test "$wxUSE_ODBC" = yes; then
2275 echo "$ac_t""yes" 1>&6
2277 echo "$ac_t""no" 1>&6
2283 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2284 echo "configure:2285: checking for --enable-shared" >&5
2286 # Check whether --enable-shared or --disable-shared was given.
2287 if test "${enable_shared+set}" = set; then
2288 enableval
="$enable_shared"
2290 if test "$enableval" = yes; then
2291 ac_cv_use_shared
='wxUSE_SHARED=yes'
2293 ac_cv_use_shared
='wxUSE_SHARED=no'
2298 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2299 if test "x$LINE" != x
; then
2300 eval "DEFAULT_$LINE"
2305 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2310 eval "$ac_cv_use_shared"
2311 if test "$no_cache" != 1; then
2312 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2315 if test "$wxUSE_SHARED" = yes; then
2316 echo "$ac_t""yes" 1>&6
2318 echo "$ac_t""no" 1>&6
2322 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2323 echo "configure:2324: checking for --enable-soname" >&5
2325 # Check whether --enable-soname or --disable-soname was given.
2326 if test "${enable_soname+set}" = set; then
2327 enableval
="$enable_soname"
2329 if test "$enableval" = yes; then
2330 ac_cv_use_soname
='wxUSE_SONAME=yes'
2332 ac_cv_use_soname
='wxUSE_SONAME=no'
2337 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2338 if test "x$LINE" != x
; then
2339 eval "DEFAULT_$LINE"
2344 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2349 eval "$ac_cv_use_soname"
2350 if test "$no_cache" != 1; then
2351 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2354 if test "$wxUSE_SONAME" = yes; then
2355 echo "$ac_t""yes" 1>&6
2357 echo "$ac_t""no" 1>&6
2361 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2362 echo "configure:2363: checking for --enable-optimise" >&5
2364 # Check whether --enable-optimise or --disable-optimise was given.
2365 if test "${enable_optimise+set}" = set; then
2366 enableval
="$enable_optimise"
2368 if test "$enableval" = yes; then
2369 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2371 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2376 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2377 if test "x$LINE" != x
; then
2378 eval "DEFAULT_$LINE"
2383 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2388 eval "$ac_cv_use_optimise"
2389 if test "$no_cache" != 1; then
2390 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2393 if test "$wxUSE_OPTIMISE" = yes; then
2394 echo "$ac_t""yes" 1>&6
2396 echo "$ac_t""no" 1>&6
2400 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2401 echo "configure:2402: checking for --enable-debug" >&5
2403 # Check whether --enable-debug or --disable-debug was given.
2404 if test "${enable_debug+set}" = set; then
2405 enableval
="$enable_debug"
2407 if test "$enableval" = yes; then
2408 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2410 ac_cv_use_debug
='wxUSE_DEBUG=no'
2415 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2416 if test "x$LINE" != x
; then
2417 eval "DEFAULT_$LINE"
2422 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2427 eval "$ac_cv_use_debug"
2428 if test "$no_cache" != 1; then
2429 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2432 if test "$wxUSE_DEBUG" = yes; then
2433 echo "$ac_t""yes" 1>&6
2435 echo "$ac_t""no" 1>&6
2440 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2441 echo "configure:2442: checking for --enable-precomp" >&5
2443 # Check whether --enable-precomp or --disable-precomp was given.
2444 if test "${enable_precomp+set}" = set; then
2445 enableval
="$enable_precomp"
2447 if test "$enableval" = yes; then
2448 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2450 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2455 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2456 if test "x$LINE" != x
; then
2457 eval "DEFAULT_$LINE"
2462 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2467 eval "$ac_cv_use_precomp"
2468 if test "$no_cache" != 1; then
2469 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2472 if test "$wxUSE_PRECOMP" = yes; then
2473 echo "$ac_t""yes" 1>&6
2475 echo "$ac_t""no" 1>&6
2479 if test "$wxUSE_DEBUG" = "yes"; then
2480 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2481 DEFAULT_wxUSE_DEBUG_INFO
=yes
2482 elif test "$wxUSE_DEBUG" = "no"; then
2483 DEFAULT_wxUSE_DEBUG_FLAG
=no
2484 DEFAULT_wxUSE_DEBUG_INFO
=no
2488 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2489 echo "configure:2490: checking for --enable-debug_flag" >&5
2491 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2492 if test "${enable_debug_flag+set}" = set; then
2493 enableval
="$enable_debug_flag"
2495 if test "$enableval" = yes; then
2496 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2498 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2503 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2504 if test "x$LINE" != x
; then
2505 eval "DEFAULT_$LINE"
2510 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2515 eval "$ac_cv_use_debug_flag"
2516 if test "$no_cache" != 1; then
2517 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2520 if test "$wxUSE_DEBUG_FLAG" = yes; then
2521 echo "$ac_t""yes" 1>&6
2523 echo "$ac_t""no" 1>&6
2527 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2528 echo "configure:2529: checking for --enable-debug_info" >&5
2530 # Check whether --enable-debug_info or --disable-debug_info was given.
2531 if test "${enable_debug_info+set}" = set; then
2532 enableval
="$enable_debug_info"
2534 if test "$enableval" = yes; then
2535 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2537 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2542 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2543 if test "x$LINE" != x
; then
2544 eval "DEFAULT_$LINE"
2549 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2554 eval "$ac_cv_use_debug_info"
2555 if test "$no_cache" != 1; then
2556 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2559 if test "$wxUSE_DEBUG_INFO" = yes; then
2560 echo "$ac_t""yes" 1>&6
2562 echo "$ac_t""no" 1>&6
2566 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2567 echo "configure:2568: checking for --enable-debug_gdb" >&5
2569 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2570 if test "${enable_debug_gdb+set}" = set; then
2571 enableval
="$enable_debug_gdb"
2573 if test "$enableval" = yes; then
2574 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2576 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2581 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2582 if test "x$LINE" != x
; then
2583 eval "DEFAULT_$LINE"
2588 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2593 eval "$ac_cv_use_debug_gdb"
2594 if test "$no_cache" != 1; then
2595 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2598 if test "$wxUSE_DEBUG_GDB" = yes; then
2599 echo "$ac_t""yes" 1>&6
2601 echo "$ac_t""no" 1>&6
2605 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2606 echo "configure:2607: checking for --enable-debug_cntxt" >&5
2608 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2609 if test "${enable_debug_cntxt+set}" = set; then
2610 enableval
="$enable_debug_cntxt"
2612 if test "$enableval" = yes; then
2613 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2615 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2620 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2621 if test "x$LINE" != x
; then
2622 eval "DEFAULT_$LINE"
2627 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2632 eval "$ac_cv_use_debug_cntxt"
2633 if test "$no_cache" != 1; then
2634 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2637 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2638 echo "$ac_t""yes" 1>&6
2640 echo "$ac_t""no" 1>&6
2644 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2645 echo "configure:2646: checking for --enable-mem_tracing" >&5
2647 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2648 if test "${enable_mem_tracing+set}" = set; then
2649 enableval
="$enable_mem_tracing"
2651 if test "$enableval" = yes; then
2652 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2654 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2659 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2660 if test "x$LINE" != x
; then
2661 eval "DEFAULT_$LINE"
2666 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2671 eval "$ac_cv_use_mem_tracing"
2672 if test "$no_cache" != 1; then
2673 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2676 if test "$wxUSE_MEM_TRACING" = yes; then
2677 echo "$ac_t""yes" 1>&6
2679 echo "$ac_t""no" 1>&6
2683 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2684 echo "configure:2685: checking for --enable-profile" >&5
2686 # Check whether --enable-profile or --disable-profile was given.
2687 if test "${enable_profile+set}" = set; then
2688 enableval
="$enable_profile"
2690 if test "$enableval" = yes; then
2691 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2693 ac_cv_use_profile
='wxUSE_PROFILE=no'
2698 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2699 if test "x$LINE" != x
; then
2700 eval "DEFAULT_$LINE"
2705 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2710 eval "$ac_cv_use_profile"
2711 if test "$no_cache" != 1; then
2712 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2715 if test "$wxUSE_PROFILE" = yes; then
2716 echo "$ac_t""yes" 1>&6
2718 echo "$ac_t""no" 1>&6
2722 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2723 echo "configure:2724: checking for --enable-no_rtti" >&5
2725 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2726 if test "${enable_no_rtti+set}" = set; then
2727 enableval
="$enable_no_rtti"
2729 if test "$enableval" = yes; then
2730 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2732 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2737 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2738 if test "x$LINE" != x
; then
2739 eval "DEFAULT_$LINE"
2744 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2749 eval "$ac_cv_use_no_rtti"
2750 if test "$no_cache" != 1; then
2751 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2754 if test "$wxUSE_NO_RTTI" = yes; then
2755 echo "$ac_t""yes" 1>&6
2757 echo "$ac_t""no" 1>&6
2761 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2762 echo "configure:2763: checking for --enable-no_exceptions" >&5
2764 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2765 if test "${enable_no_exceptions+set}" = set; then
2766 enableval
="$enable_no_exceptions"
2768 if test "$enableval" = yes; then
2769 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2771 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2776 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2777 if test "x$LINE" != x
; then
2778 eval "DEFAULT_$LINE"
2783 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2788 eval "$ac_cv_use_no_exceptions"
2789 if test "$no_cache" != 1; then
2790 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2793 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2794 echo "$ac_t""yes" 1>&6
2796 echo "$ac_t""no" 1>&6
2800 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2801 echo "configure:2802: checking for --enable-permissive" >&5
2803 # Check whether --enable-permissive or --disable-permissive was given.
2804 if test "${enable_permissive+set}" = set; then
2805 enableval
="$enable_permissive"
2807 if test "$enableval" = yes; then
2808 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2810 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2815 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2816 if test "x$LINE" != x
; then
2817 eval "DEFAULT_$LINE"
2822 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2827 eval "$ac_cv_use_permissive"
2828 if test "$no_cache" != 1; then
2829 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2832 if test "$wxUSE_PERMISSIVE" = yes; then
2833 echo "$ac_t""yes" 1>&6
2835 echo "$ac_t""no" 1>&6
2839 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2840 echo "configure:2841: checking for --enable-no_deps" >&5
2842 # Check whether --enable-no_deps or --disable-no_deps was given.
2843 if test "${enable_no_deps+set}" = set; then
2844 enableval
="$enable_no_deps"
2846 if test "$enableval" = yes; then
2847 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2849 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2854 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2855 if test "x$LINE" != x
; then
2856 eval "DEFAULT_$LINE"
2861 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2866 eval "$ac_cv_use_no_deps"
2867 if test "$no_cache" != 1; then
2868 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2871 if test "$wxUSE_NO_DEPS" = yes; then
2872 echo "$ac_t""yes" 1>&6
2874 echo "$ac_t""no" 1>&6
2879 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2880 echo "configure:2881: checking for --enable-compat20" >&5
2882 # Check whether --enable-compat20 or --disable-compat20 was given.
2883 if test "${enable_compat20+set}" = set; then
2884 enableval
="$enable_compat20"
2886 if test "$enableval" = yes; then
2887 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2889 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2894 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2895 if test "x$LINE" != x
; then
2896 eval "DEFAULT_$LINE"
2901 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2906 eval "$ac_cv_use_compat20"
2907 if test "$no_cache" != 1; then
2908 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2911 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2912 echo "$ac_t""yes" 1>&6
2914 echo "$ac_t""no" 1>&6
2918 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2919 echo "configure:2920: checking for --enable-compat22" >&5
2921 # Check whether --enable-compat22 or --disable-compat22 was given.
2922 if test "${enable_compat22+set}" = set; then
2923 enableval
="$enable_compat22"
2925 if test "$enableval" = yes; then
2926 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2928 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2933 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2934 if test "x$LINE" != x
; then
2935 eval "DEFAULT_$LINE"
2940 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2945 eval "$ac_cv_use_compat22"
2946 if test "$no_cache" != 1; then
2947 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2950 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2951 echo "$ac_t""yes" 1>&6
2953 echo "$ac_t""no" 1>&6
2959 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2960 echo "configure:2961: checking for --enable-intl" >&5
2962 # Check whether --enable-intl or --disable-intl was given.
2963 if test "${enable_intl+set}" = set; then
2964 enableval
="$enable_intl"
2966 if test "$enableval" = yes; then
2967 ac_cv_use_intl
='wxUSE_INTL=yes'
2969 ac_cv_use_intl
='wxUSE_INTL=no'
2974 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2975 if test "x$LINE" != x
; then
2976 eval "DEFAULT_$LINE"
2981 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2986 eval "$ac_cv_use_intl"
2987 if test "$no_cache" != 1; then
2988 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2991 if test "$wxUSE_INTL" = yes; then
2992 echo "$ac_t""yes" 1>&6
2994 echo "$ac_t""no" 1>&6
2998 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2999 echo "configure:3000: checking for --enable-config" >&5
3001 # Check whether --enable-config or --disable-config was given.
3002 if test "${enable_config+set}" = set; then
3003 enableval
="$enable_config"
3005 if test "$enableval" = yes; then
3006 ac_cv_use_config
='wxUSE_CONFIG=yes'
3008 ac_cv_use_config
='wxUSE_CONFIG=no'
3013 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3014 if test "x$LINE" != x
; then
3015 eval "DEFAULT_$LINE"
3020 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3025 eval "$ac_cv_use_config"
3026 if test "$no_cache" != 1; then
3027 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3030 if test "$wxUSE_CONFIG" = yes; then
3031 echo "$ac_t""yes" 1>&6
3033 echo "$ac_t""no" 1>&6
3038 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3039 echo "configure:3040: checking for --enable-sockets" >&5
3041 # Check whether --enable-sockets or --disable-sockets was given.
3042 if test "${enable_sockets+set}" = set; then
3043 enableval
="$enable_sockets"
3045 if test "$enableval" = yes; then
3046 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3048 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3053 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3054 if test "x$LINE" != x
; then
3055 eval "DEFAULT_$LINE"
3060 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3065 eval "$ac_cv_use_sockets"
3066 if test "$no_cache" != 1; then
3067 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3070 if test "$wxUSE_SOCKETS" = yes; then
3071 echo "$ac_t""yes" 1>&6
3073 echo "$ac_t""no" 1>&6
3078 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3079 echo "configure:3080: checking for --enable-ipc" >&5
3081 # Check whether --enable-ipc or --disable-ipc was given.
3082 if test "${enable_ipc+set}" = set; then
3083 enableval
="$enable_ipc"
3085 if test "$enableval" = yes; then
3086 ac_cv_use_ipc
='wxUSE_IPC=yes'
3088 ac_cv_use_ipc
='wxUSE_IPC=no'
3093 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3094 if test "x$LINE" != x
; then
3095 eval "DEFAULT_$LINE"
3100 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3105 eval "$ac_cv_use_ipc"
3106 if test "$no_cache" != 1; then
3107 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3110 if test "$wxUSE_IPC" = yes; then
3111 echo "$ac_t""yes" 1>&6
3113 echo "$ac_t""no" 1>&6
3118 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3119 echo "configure:3120: checking for --enable-cmdline" >&5
3121 # Check whether --enable-cmdline or --disable-cmdline was given.
3122 if test "${enable_cmdline+set}" = set; then
3123 enableval
="$enable_cmdline"
3125 if test "$enableval" = yes; then
3126 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3128 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3133 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3134 if test "x$LINE" != x
; then
3135 eval "DEFAULT_$LINE"
3140 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3145 eval "$ac_cv_use_cmdline"
3146 if test "$no_cache" != 1; then
3147 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3150 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3151 echo "$ac_t""yes" 1>&6
3153 echo "$ac_t""no" 1>&6
3157 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3158 echo "configure:3159: checking for --enable-datetime" >&5
3160 # Check whether --enable-datetime or --disable-datetime was given.
3161 if test "${enable_datetime+set}" = set; then
3162 enableval
="$enable_datetime"
3164 if test "$enableval" = yes; then
3165 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3167 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3172 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3173 if test "x$LINE" != x
; then
3174 eval "DEFAULT_$LINE"
3179 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3184 eval "$ac_cv_use_datetime"
3185 if test "$no_cache" != 1; then
3186 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3189 if test "$wxUSE_DATETIME" = yes; then
3190 echo "$ac_t""yes" 1>&6
3192 echo "$ac_t""no" 1>&6
3196 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3197 echo "configure:3198: checking for --enable-timedate" >&5
3199 # Check whether --enable-timedate or --disable-timedate was given.
3200 if test "${enable_timedate+set}" = set; then
3201 enableval
="$enable_timedate"
3203 if test "$enableval" = yes; then
3204 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3206 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3211 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3212 if test "x$LINE" != x
; then
3213 eval "DEFAULT_$LINE"
3218 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3223 eval "$ac_cv_use_timedate"
3224 if test "$no_cache" != 1; then
3225 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3228 if test "$wxUSE_TIMEDATE" = yes; then
3229 echo "$ac_t""yes" 1>&6
3231 echo "$ac_t""no" 1>&6
3235 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3236 echo "configure:3237: checking for --enable-stopwatch" >&5
3238 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3239 if test "${enable_stopwatch+set}" = set; then
3240 enableval
="$enable_stopwatch"
3242 if test "$enableval" = yes; then
3243 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3245 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3250 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3251 if test "x$LINE" != x
; then
3252 eval "DEFAULT_$LINE"
3257 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3262 eval "$ac_cv_use_stopwatch"
3263 if test "$no_cache" != 1; then
3264 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3267 if test "$wxUSE_STOPWATCH" = yes; then
3268 echo "$ac_t""yes" 1>&6
3270 echo "$ac_t""no" 1>&6
3274 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3275 echo "configure:3276: checking for --enable-dialupman" >&5
3277 # Check whether --enable-dialupman or --disable-dialupman was given.
3278 if test "${enable_dialupman+set}" = set; then
3279 enableval
="$enable_dialupman"
3281 if test "$enableval" = yes; then
3282 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3284 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3289 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3290 if test "x$LINE" != x
; then
3291 eval "DEFAULT_$LINE"
3296 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3301 eval "$ac_cv_use_dialupman"
3302 if test "$no_cache" != 1; then
3303 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3306 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3307 echo "$ac_t""yes" 1>&6
3309 echo "$ac_t""no" 1>&6
3313 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3314 echo "configure:3315: checking for --enable-apple_ieee" >&5
3316 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3317 if test "${enable_apple_ieee+set}" = set; then
3318 enableval
="$enable_apple_ieee"
3320 if test "$enableval" = yes; then
3321 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3323 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3328 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3329 if test "x$LINE" != x
; then
3330 eval "DEFAULT_$LINE"
3335 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3340 eval "$ac_cv_use_apple_ieee"
3341 if test "$no_cache" != 1; then
3342 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3345 if test "$wxUSE_APPLE_IEEE" = yes; then
3346 echo "$ac_t""yes" 1>&6
3348 echo "$ac_t""no" 1>&6
3352 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3353 echo "configure:3354: checking for --enable-timer" >&5
3355 # Check whether --enable-timer or --disable-timer was given.
3356 if test "${enable_timer+set}" = set; then
3357 enableval
="$enable_timer"
3359 if test "$enableval" = yes; then
3360 ac_cv_use_timer
='wxUSE_TIMER=yes'
3362 ac_cv_use_timer
='wxUSE_TIMER=no'
3367 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3368 if test "x$LINE" != x
; then
3369 eval "DEFAULT_$LINE"
3374 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3379 eval "$ac_cv_use_timer"
3380 if test "$no_cache" != 1; then
3381 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3384 if test "$wxUSE_TIMER" = yes; then
3385 echo "$ac_t""yes" 1>&6
3387 echo "$ac_t""no" 1>&6
3391 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3392 echo "configure:3393: checking for --enable-wave" >&5
3394 # Check whether --enable-wave or --disable-wave was given.
3395 if test "${enable_wave+set}" = set; then
3396 enableval
="$enable_wave"
3398 if test "$enableval" = yes; then
3399 ac_cv_use_wave
='wxUSE_WAVE=yes'
3401 ac_cv_use_wave
='wxUSE_WAVE=no'
3406 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3407 if test "x$LINE" != x
; then
3408 eval "DEFAULT_$LINE"
3413 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3418 eval "$ac_cv_use_wave"
3419 if test "$no_cache" != 1; then
3420 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3423 if test "$wxUSE_WAVE" = yes; then
3424 echo "$ac_t""yes" 1>&6
3426 echo "$ac_t""no" 1>&6
3430 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3431 echo "configure:3432: checking for --enable-fraction" >&5
3433 # Check whether --enable-fraction or --disable-fraction was given.
3434 if test "${enable_fraction+set}" = set; then
3435 enableval
="$enable_fraction"
3437 if test "$enableval" = yes; then
3438 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3440 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3445 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3446 if test "x$LINE" != x
; then
3447 eval "DEFAULT_$LINE"
3452 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3457 eval "$ac_cv_use_fraction"
3458 if test "$no_cache" != 1; then
3459 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3462 if test "$wxUSE_FRACTION" = yes; then
3463 echo "$ac_t""yes" 1>&6
3465 echo "$ac_t""no" 1>&6
3469 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3470 echo "configure:3471: checking for --enable-dynlib" >&5
3472 # Check whether --enable-dynlib or --disable-dynlib was given.
3473 if test "${enable_dynlib+set}" = set; then
3474 enableval
="$enable_dynlib"
3476 if test "$enableval" = yes; then
3477 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3479 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3484 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3485 if test "x$LINE" != x
; then
3486 eval "DEFAULT_$LINE"
3491 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3496 eval "$ac_cv_use_dynlib"
3497 if test "$no_cache" != 1; then
3498 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3501 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3502 echo "$ac_t""yes" 1>&6
3504 echo "$ac_t""no" 1>&6
3508 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3509 echo "configure:3510: checking for --enable-longlong" >&5
3511 # Check whether --enable-longlong or --disable-longlong was given.
3512 if test "${enable_longlong+set}" = set; then
3513 enableval
="$enable_longlong"
3515 if test "$enableval" = yes; then
3516 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3518 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3523 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3524 if test "x$LINE" != x
; then
3525 eval "DEFAULT_$LINE"
3530 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3535 eval "$ac_cv_use_longlong"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3540 if test "$wxUSE_LONGLONG" = yes; then
3541 echo "$ac_t""yes" 1>&6
3543 echo "$ac_t""no" 1>&6
3547 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3548 echo "configure:3549: checking for --enable-geometry" >&5
3550 # Check whether --enable-geometry or --disable-geometry was given.
3551 if test "${enable_geometry+set}" = set; then
3552 enableval
="$enable_geometry"
3554 if test "$enableval" = yes; then
3555 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3557 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3562 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3563 if test "x$LINE" != x
; then
3564 eval "DEFAULT_$LINE"
3569 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3574 eval "$ac_cv_use_geometry"
3575 if test "$no_cache" != 1; then
3576 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3579 if test "$wxUSE_GEOMETRY" = yes; then
3580 echo "$ac_t""yes" 1>&6
3582 echo "$ac_t""no" 1>&6
3586 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3587 echo "configure:3588: checking for --enable-log" >&5
3589 # Check whether --enable-log or --disable-log was given.
3590 if test "${enable_log+set}" = set; then
3591 enableval
="$enable_log"
3593 if test "$enableval" = yes; then
3594 ac_cv_use_log
='wxUSE_LOG=yes'
3596 ac_cv_use_log
='wxUSE_LOG=no'
3601 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3602 if test "x$LINE" != x
; then
3603 eval "DEFAULT_$LINE"
3608 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3613 eval "$ac_cv_use_log"
3614 if test "$no_cache" != 1; then
3615 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3618 if test "$wxUSE_LOG" = yes; then
3619 echo "$ac_t""yes" 1>&6
3621 echo "$ac_t""no" 1>&6
3625 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3626 echo "configure:3627: checking for --enable-streams" >&5
3628 # Check whether --enable-streams or --disable-streams was given.
3629 if test "${enable_streams+set}" = set; then
3630 enableval
="$enable_streams"
3632 if test "$enableval" = yes; then
3633 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3635 ac_cv_use_streams
='wxUSE_STREAMS=no'
3640 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3641 if test "x$LINE" != x
; then
3642 eval "DEFAULT_$LINE"
3647 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3652 eval "$ac_cv_use_streams"
3653 if test "$no_cache" != 1; then
3654 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3657 if test "$wxUSE_STREAMS" = yes; then
3658 echo "$ac_t""yes" 1>&6
3660 echo "$ac_t""no" 1>&6
3664 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3665 echo "configure:3666: checking for --enable-file" >&5
3667 # Check whether --enable-file or --disable-file was given.
3668 if test "${enable_file+set}" = set; then
3669 enableval
="$enable_file"
3671 if test "$enableval" = yes; then
3672 ac_cv_use_file
='wxUSE_FILE=yes'
3674 ac_cv_use_file
='wxUSE_FILE=no'
3679 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3680 if test "x$LINE" != x
; then
3681 eval "DEFAULT_$LINE"
3686 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3691 eval "$ac_cv_use_file"
3692 if test "$no_cache" != 1; then
3693 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3696 if test "$wxUSE_FILE" = yes; then
3697 echo "$ac_t""yes" 1>&6
3699 echo "$ac_t""no" 1>&6
3703 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3704 echo "configure:3705: checking for --enable-ffile" >&5
3706 # Check whether --enable-ffile or --disable-ffile was given.
3707 if test "${enable_ffile+set}" = set; then
3708 enableval
="$enable_ffile"
3710 if test "$enableval" = yes; then
3711 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3713 ac_cv_use_ffile
='wxUSE_FFILE=no'
3718 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3719 if test "x$LINE" != x
; then
3720 eval "DEFAULT_$LINE"
3725 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3730 eval "$ac_cv_use_ffile"
3731 if test "$no_cache" != 1; then
3732 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3735 if test "$wxUSE_FFILE" = yes; then
3736 echo "$ac_t""yes" 1>&6
3738 echo "$ac_t""no" 1>&6
3742 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
3743 echo "configure:3744: checking for --enable-textbuf" >&5
3745 # Check whether --enable-textbuf or --disable-textbuf was given.
3746 if test "${enable_textbuf+set}" = set; then
3747 enableval
="$enable_textbuf"
3749 if test "$enableval" = yes; then
3750 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
3752 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
3757 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
3758 if test "x$LINE" != x
; then
3759 eval "DEFAULT_$LINE"
3764 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
3769 eval "$ac_cv_use_textbuf"
3770 if test "$no_cache" != 1; then
3771 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
3774 if test "$wxUSE_TEXTBUFFER" = yes; then
3775 echo "$ac_t""yes" 1>&6
3777 echo "$ac_t""no" 1>&6
3781 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3782 echo "configure:3783: checking for --enable-textfile" >&5
3784 # Check whether --enable-textfile or --disable-textfile was given.
3785 if test "${enable_textfile+set}" = set; then
3786 enableval
="$enable_textfile"
3788 if test "$enableval" = yes; then
3789 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3791 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3796 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3797 if test "x$LINE" != x
; then
3798 eval "DEFAULT_$LINE"
3803 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3808 eval "$ac_cv_use_textfile"
3809 if test "$no_cache" != 1; then
3810 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3813 if test "$wxUSE_TEXTFILE" = yes; then
3814 echo "$ac_t""yes" 1>&6
3816 echo "$ac_t""no" 1>&6
3820 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3821 echo "configure:3822: checking for --enable-fontmap" >&5
3823 # Check whether --enable-fontmap or --disable-fontmap was given.
3824 if test "${enable_fontmap+set}" = set; then
3825 enableval
="$enable_fontmap"
3827 if test "$enableval" = yes; then
3828 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3830 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3835 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3836 if test "x$LINE" != x
; then
3837 eval "DEFAULT_$LINE"
3842 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3847 eval "$ac_cv_use_fontmap"
3848 if test "$no_cache" != 1; then
3849 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3852 if test "$wxUSE_FONTMAP" = yes; then
3853 echo "$ac_t""yes" 1>&6
3855 echo "$ac_t""no" 1>&6
3859 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3860 echo "configure:3861: checking for --enable-unicode" >&5
3862 # Check whether --enable-unicode or --disable-unicode was given.
3863 if test "${enable_unicode+set}" = set; then
3864 enableval
="$enable_unicode"
3866 if test "$enableval" = yes; then
3867 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3869 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3874 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3875 if test "x$LINE" != x
; then
3876 eval "DEFAULT_$LINE"
3881 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3886 eval "$ac_cv_use_unicode"
3887 if test "$no_cache" != 1; then
3888 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3891 if test "$wxUSE_UNICODE" = yes; then
3892 echo "$ac_t""yes" 1>&6
3894 echo "$ac_t""no" 1>&6
3898 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3899 echo "configure:3900: checking for --enable-wxprintfv" >&5
3901 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3902 if test "${enable_wxprintfv+set}" = set; then
3903 enableval
="$enable_wxprintfv"
3905 if test "$enableval" = yes; then
3906 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3908 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3913 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3914 if test "x$LINE" != x
; then
3915 eval "DEFAULT_$LINE"
3920 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3925 eval "$ac_cv_use_wxprintfv"
3926 if test "$no_cache" != 1; then
3927 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3930 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3931 echo "$ac_t""yes" 1>&6
3933 echo "$ac_t""no" 1>&6
3937 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3938 echo "configure:3939: checking for --enable-std_iostreams" >&5
3940 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3941 if test "${enable_std_iostreams+set}" = set; then
3942 enableval
="$enable_std_iostreams"
3944 if test "$enableval" = yes; then
3945 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3947 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3952 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3953 if test "x$LINE" != x
; then
3954 eval "DEFAULT_$LINE"
3959 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3964 eval "$ac_cv_use_std_iostreams"
3965 if test "$no_cache" != 1; then
3966 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3969 if test "$wxUSE_STD_IOSTREAM" = yes; then
3970 echo "$ac_t""yes" 1>&6
3972 echo "$ac_t""no" 1>&6
3976 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3977 echo "configure:3978: checking for --enable-filesystem" >&5
3979 # Check whether --enable-filesystem or --disable-filesystem was given.
3980 if test "${enable_filesystem+set}" = set; then
3981 enableval
="$enable_filesystem"
3983 if test "$enableval" = yes; then
3984 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3986 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3991 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3992 if test "x$LINE" != x
; then
3993 eval "DEFAULT_$LINE"
3998 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4003 eval "$ac_cv_use_filesystem"
4004 if test "$no_cache" != 1; then
4005 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4008 if test "$wxUSE_FILESYSTEM" = yes; then
4009 echo "$ac_t""yes" 1>&6
4011 echo "$ac_t""no" 1>&6
4015 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4016 echo "configure:4017: checking for --enable-fs_inet" >&5
4018 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4019 if test "${enable_fs_inet+set}" = set; then
4020 enableval
="$enable_fs_inet"
4022 if test "$enableval" = yes; then
4023 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4025 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4030 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4031 if test "x$LINE" != x
; then
4032 eval "DEFAULT_$LINE"
4037 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4042 eval "$ac_cv_use_fs_inet"
4043 if test "$no_cache" != 1; then
4044 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4047 if test "$wxUSE_FS_INET" = yes; then
4048 echo "$ac_t""yes" 1>&6
4050 echo "$ac_t""no" 1>&6
4054 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4055 echo "configure:4056: checking for --enable-fs_zip" >&5
4057 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4058 if test "${enable_fs_zip+set}" = set; then
4059 enableval
="$enable_fs_zip"
4061 if test "$enableval" = yes; then
4062 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4064 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4069 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4070 if test "x$LINE" != x
; then
4071 eval "DEFAULT_$LINE"
4076 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4081 eval "$ac_cv_use_fs_zip"
4082 if test "$no_cache" != 1; then
4083 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4086 if test "$wxUSE_FS_ZIP" = yes; then
4087 echo "$ac_t""yes" 1>&6
4089 echo "$ac_t""no" 1>&6
4093 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4094 echo "configure:4095: checking for --enable-zipstream" >&5
4096 # Check whether --enable-zipstream or --disable-zipstream was given.
4097 if test "${enable_zipstream+set}" = set; then
4098 enableval
="$enable_zipstream"
4100 if test "$enableval" = yes; then
4101 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4103 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4108 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4109 if test "x$LINE" != x
; then
4110 eval "DEFAULT_$LINE"
4115 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4120 eval "$ac_cv_use_zipstream"
4121 if test "$no_cache" != 1; then
4122 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4125 if test "$wxUSE_ZIPSTREAM" = yes; then
4126 echo "$ac_t""yes" 1>&6
4128 echo "$ac_t""no" 1>&6
4133 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4134 echo "configure:4135: checking for --enable-catch_segvs" >&5
4136 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4137 if test "${enable_catch_segvs+set}" = set; then
4138 enableval
="$enable_catch_segvs"
4140 if test "$enableval" = yes; then
4141 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4143 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4148 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4149 if test "x$LINE" != x
; then
4150 eval "DEFAULT_$LINE"
4155 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4160 eval "$ac_cv_use_catch_segvs"
4161 if test "$no_cache" != 1; then
4162 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4165 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4166 echo "$ac_t""yes" 1>&6
4168 echo "$ac_t""no" 1>&6
4172 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4173 echo "configure:4174: checking for --enable-snglinst" >&5
4175 # Check whether --enable-snglinst or --disable-snglinst was given.
4176 if test "${enable_snglinst+set}" = set; then
4177 enableval
="$enable_snglinst"
4179 if test "$enableval" = yes; then
4180 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4182 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4187 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4188 if test "x$LINE" != x
; then
4189 eval "DEFAULT_$LINE"
4194 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4199 eval "$ac_cv_use_snglinst"
4200 if test "$no_cache" != 1; then
4201 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4204 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4205 echo "$ac_t""yes" 1>&6
4207 echo "$ac_t""no" 1>&6
4212 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4213 echo "configure:4214: checking for --enable-mimetype" >&5
4215 # Check whether --enable-mimetype or --disable-mimetype was given.
4216 if test "${enable_mimetype+set}" = set; then
4217 enableval
="$enable_mimetype"
4219 if test "$enableval" = yes; then
4220 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4222 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4227 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4228 if test "x$LINE" != x
; then
4229 eval "DEFAULT_$LINE"
4234 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4239 eval "$ac_cv_use_mimetype"
4240 if test "$no_cache" != 1; then
4241 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4244 if test "$wxUSE_MIMETYPE" = yes; then
4245 echo "$ac_t""yes" 1>&6
4247 echo "$ac_t""no" 1>&6
4251 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4252 echo "configure:4253: checking for --enable-system_options" >&5
4254 # Check whether --enable-system_options or --disable-system_options was given.
4255 if test "${enable_system_options+set}" = set; then
4256 enableval
="$enable_system_options"
4258 if test "$enableval" = yes; then
4259 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4261 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4266 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4267 if test "x$LINE" != x
; then
4268 eval "DEFAULT_$LINE"
4273 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4278 eval "$ac_cv_use_system_options"
4279 if test "$no_cache" != 1; then
4280 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4283 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4284 echo "$ac_t""yes" 1>&6
4286 echo "$ac_t""no" 1>&6
4292 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4293 echo "configure:4294: checking for --enable-threads" >&5
4295 # Check whether --enable-threads or --disable-threads was given.
4296 if test "${enable_threads+set}" = set; then
4297 enableval
="$enable_threads"
4299 if test "$enableval" = yes; then
4300 ac_cv_use_threads
='wxUSE_THREADS=yes'
4302 ac_cv_use_threads
='wxUSE_THREADS=no'
4307 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4308 if test "x$LINE" != x
; then
4309 eval "DEFAULT_$LINE"
4314 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4319 eval "$ac_cv_use_threads"
4320 if test "$no_cache" != 1; then
4321 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4324 if test "$wxUSE_THREADS" = yes; then
4325 echo "$ac_t""yes" 1>&6
4327 echo "$ac_t""no" 1>&6
4331 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4332 echo "configure:4333: checking for --enable-serial" >&5
4334 # Check whether --enable-serial or --disable-serial was given.
4335 if test "${enable_serial+set}" = set; then
4336 enableval
="$enable_serial"
4338 if test "$enableval" = yes; then
4339 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4341 ac_cv_use_serial
='wxUSE_SERIAL=no'
4346 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4347 if test "x$LINE" != x
; then
4348 eval "DEFAULT_$LINE"
4353 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4358 eval "$ac_cv_use_serial"
4359 if test "$no_cache" != 1; then
4360 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4363 if test "$wxUSE_SERIAL" = yes; then
4364 echo "$ac_t""yes" 1>&6
4366 echo "$ac_t""no" 1>&6
4370 if test "$wxUSE_GUI" = "yes"; then
4374 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4375 echo "configure:4376: checking for --enable-docview" >&5
4377 # Check whether --enable-docview or --disable-docview was given.
4378 if test "${enable_docview+set}" = set; then
4379 enableval
="$enable_docview"
4381 if test "$enableval" = yes; then
4382 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4384 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4389 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4390 if test "x$LINE" != x
; then
4391 eval "DEFAULT_$LINE"
4396 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4401 eval "$ac_cv_use_docview"
4402 if test "$no_cache" != 1; then
4403 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4406 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4407 echo "$ac_t""yes" 1>&6
4409 echo "$ac_t""no" 1>&6
4413 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4414 echo "configure:4415: checking for --enable-help" >&5
4416 # Check whether --enable-help or --disable-help was given.
4417 if test "${enable_help+set}" = set; then
4418 enableval
="$enable_help"
4420 if test "$enableval" = yes; then
4421 ac_cv_use_help
='wxUSE_HELP=yes'
4423 ac_cv_use_help
='wxUSE_HELP=no'
4428 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4429 if test "x$LINE" != x
; then
4430 eval "DEFAULT_$LINE"
4435 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4440 eval "$ac_cv_use_help"
4441 if test "$no_cache" != 1; then
4442 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4445 if test "$wxUSE_HELP" = yes; then
4446 echo "$ac_t""yes" 1>&6
4448 echo "$ac_t""no" 1>&6
4452 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4453 echo "configure:4454: checking for --enable-mshtmlhelp" >&5
4455 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4456 if test "${enable_mshtmlhelp+set}" = set; then
4457 enableval
="$enable_mshtmlhelp"
4459 if test "$enableval" = yes; then
4460 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4462 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4467 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4468 if test "x$LINE" != x
; then
4469 eval "DEFAULT_$LINE"
4474 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4479 eval "$ac_cv_use_mshtmlhelp"
4480 if test "$no_cache" != 1; then
4481 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4484 if test "$wxUSE_MS_HTML_HELP" = yes; then
4485 echo "$ac_t""yes" 1>&6
4487 echo "$ac_t""no" 1>&6
4491 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4492 echo "configure:4493: checking for --enable-html" >&5
4494 # Check whether --enable-html or --disable-html was given.
4495 if test "${enable_html+set}" = set; then
4496 enableval
="$enable_html"
4498 if test "$enableval" = yes; then
4499 ac_cv_use_html
='wxUSE_HTML=yes'
4501 ac_cv_use_html
='wxUSE_HTML=no'
4506 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4507 if test "x$LINE" != x
; then
4508 eval "DEFAULT_$LINE"
4513 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4518 eval "$ac_cv_use_html"
4519 if test "$no_cache" != 1; then
4520 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4523 if test "$wxUSE_HTML" = yes; then
4524 echo "$ac_t""yes" 1>&6
4526 echo "$ac_t""no" 1>&6
4530 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4531 echo "configure:4532: checking for --enable-htmlhelp" >&5
4533 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4534 if test "${enable_htmlhelp+set}" = set; then
4535 enableval
="$enable_htmlhelp"
4537 if test "$enableval" = yes; then
4538 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4540 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4545 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x
; then
4547 eval "DEFAULT_$LINE"
4552 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4557 eval "$ac_cv_use_htmlhelp"
4558 if test "$no_cache" != 1; then
4559 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4562 if test "$wxUSE_WXHTML_HELP" = yes; then
4563 echo "$ac_t""yes" 1>&6
4565 echo "$ac_t""no" 1>&6
4569 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4570 echo "configure:4571: checking for --enable-constraints" >&5
4572 # Check whether --enable-constraints or --disable-constraints was given.
4573 if test "${enable_constraints+set}" = set; then
4574 enableval
="$enable_constraints"
4576 if test "$enableval" = yes; then
4577 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4579 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4584 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4585 if test "x$LINE" != x
; then
4586 eval "DEFAULT_$LINE"
4591 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4596 eval "$ac_cv_use_constraints"
4597 if test "$no_cache" != 1; then
4598 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4601 if test "$wxUSE_CONSTRAINTS" = yes; then
4602 echo "$ac_t""yes" 1>&6
4604 echo "$ac_t""no" 1>&6
4608 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4609 echo "configure:4610: checking for --enable-printarch" >&5
4611 # Check whether --enable-printarch or --disable-printarch was given.
4612 if test "${enable_printarch+set}" = set; then
4613 enableval
="$enable_printarch"
4615 if test "$enableval" = yes; then
4616 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4618 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4623 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4624 if test "x$LINE" != x
; then
4625 eval "DEFAULT_$LINE"
4630 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4635 eval "$ac_cv_use_printarch"
4636 if test "$no_cache" != 1; then
4637 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4640 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4641 echo "$ac_t""yes" 1>&6
4643 echo "$ac_t""no" 1>&6
4647 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4648 echo "configure:4649: checking for --enable-mdi" >&5
4650 # Check whether --enable-mdi or --disable-mdi was given.
4651 if test "${enable_mdi+set}" = set; then
4652 enableval
="$enable_mdi"
4654 if test "$enableval" = yes; then
4655 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4657 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4662 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4663 if test "x$LINE" != x
; then
4664 eval "DEFAULT_$LINE"
4669 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4674 eval "$ac_cv_use_mdi"
4675 if test "$no_cache" != 1; then
4676 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4679 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4680 echo "$ac_t""yes" 1>&6
4682 echo "$ac_t""no" 1>&6
4686 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4687 echo "configure:4688: checking for --enable-loggui" >&5
4689 # Check whether --enable-loggui or --disable-loggui was given.
4690 if test "${enable_loggui+set}" = set; then
4691 enableval
="$enable_loggui"
4693 if test "$enableval" = yes; then
4694 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4696 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4701 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4702 if test "x$LINE" != x
; then
4703 eval "DEFAULT_$LINE"
4708 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4713 eval "$ac_cv_use_loggui"
4714 if test "$no_cache" != 1; then
4715 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4718 if test "$wxUSE_LOGGUI" = yes; then
4719 echo "$ac_t""yes" 1>&6
4721 echo "$ac_t""no" 1>&6
4725 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4726 echo "configure:4727: checking for --enable-logwin" >&5
4728 # Check whether --enable-logwin or --disable-logwin was given.
4729 if test "${enable_logwin+set}" = set; then
4730 enableval
="$enable_logwin"
4732 if test "$enableval" = yes; then
4733 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4735 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4740 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4741 if test "x$LINE" != x
; then
4742 eval "DEFAULT_$LINE"
4747 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4752 eval "$ac_cv_use_logwin"
4753 if test "$no_cache" != 1; then
4754 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4757 if test "$wxUSE_LOGWINDOW" = yes; then
4758 echo "$ac_t""yes" 1>&6
4760 echo "$ac_t""no" 1>&6
4764 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
4765 echo "configure:4766: checking for --enable-logdialog" >&5
4767 # Check whether --enable-logdialog or --disable-logdialog was given.
4768 if test "${enable_logdialog+set}" = set; then
4769 enableval
="$enable_logdialog"
4771 if test "$enableval" = yes; then
4772 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
4774 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
4779 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
4780 if test "x$LINE" != x
; then
4781 eval "DEFAULT_$LINE"
4786 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
4791 eval "$ac_cv_use_logdialog"
4792 if test "$no_cache" != 1; then
4793 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
4796 if test "$wxUSE_LOGDIALOG" = yes; then
4797 echo "$ac_t""yes" 1>&6
4799 echo "$ac_t""no" 1>&6
4804 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4805 echo "configure:4806: checking for --enable-postscript" >&5
4807 # Check whether --enable-postscript or --disable-postscript was given.
4808 if test "${enable_postscript+set}" = set; then
4809 enableval
="$enable_postscript"
4811 if test "$enableval" = yes; then
4812 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4814 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4819 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4820 if test "x$LINE" != x
; then
4821 eval "DEFAULT_$LINE"
4826 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4831 eval "$ac_cv_use_postscript"
4832 if test "$no_cache" != 1; then
4833 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4836 if test "$wxUSE_POSTSCRIPT" = yes; then
4837 echo "$ac_t""yes" 1>&6
4839 echo "$ac_t""no" 1>&6
4846 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4847 echo "configure:4848: checking for --enable-prologio" >&5
4849 # Check whether --enable-prologio or --disable-prologio was given.
4850 if test "${enable_prologio+set}" = set; then
4851 enableval
="$enable_prologio"
4853 if test "$enableval" = yes; then
4854 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4856 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4861 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4862 if test "x$LINE" != x
; then
4863 eval "DEFAULT_$LINE"
4868 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4873 eval "$ac_cv_use_prologio"
4874 if test "$no_cache" != 1; then
4875 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4878 if test "$wxUSE_PROLOGIO" = yes; then
4879 echo "$ac_t""yes" 1>&6
4881 echo "$ac_t""no" 1>&6
4885 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4886 echo "configure:4887: checking for --enable-resources" >&5
4888 # Check whether --enable-resources or --disable-resources was given.
4889 if test "${enable_resources+set}" = set; then
4890 enableval
="$enable_resources"
4892 if test "$enableval" = yes; then
4893 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4895 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4900 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4901 if test "x$LINE" != x
; then
4902 eval "DEFAULT_$LINE"
4907 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4912 eval "$ac_cv_use_resources"
4913 if test "$no_cache" != 1; then
4914 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4917 if test "$wxUSE_RESOURCES" = yes; then
4918 echo "$ac_t""yes" 1>&6
4920 echo "$ac_t""no" 1>&6
4925 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4926 echo "configure:4927: checking for --enable-xresources" >&5
4928 # Check whether --enable-xresources or --disable-xresources was given.
4929 if test "${enable_xresources+set}" = set; then
4930 enableval
="$enable_xresources"
4932 if test "$enableval" = yes; then
4933 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4935 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4940 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4941 if test "x$LINE" != x
; then
4942 eval "DEFAULT_$LINE"
4947 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4952 eval "$ac_cv_use_xresources"
4953 if test "$no_cache" != 1; then
4954 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4957 if test "$wxUSE_X_RESOURCES" = yes; then
4958 echo "$ac_t""yes" 1>&6
4960 echo "$ac_t""no" 1>&6
4966 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4967 echo "configure:4968: checking for --enable-clipboard" >&5
4969 # Check whether --enable-clipboard or --disable-clipboard was given.
4970 if test "${enable_clipboard+set}" = set; then
4971 enableval
="$enable_clipboard"
4973 if test "$enableval" = yes; then
4974 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4976 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4981 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4982 if test "x$LINE" != x
; then
4983 eval "DEFAULT_$LINE"
4988 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4993 eval "$ac_cv_use_clipboard"
4994 if test "$no_cache" != 1; then
4995 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4998 if test "$wxUSE_CLIPBOARD" = yes; then
4999 echo "$ac_t""yes" 1>&6
5001 echo "$ac_t""no" 1>&6
5005 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5006 echo "configure:5007: checking for --enable-dnd" >&5
5008 # Check whether --enable-dnd or --disable-dnd was given.
5009 if test "${enable_dnd+set}" = set; then
5010 enableval
="$enable_dnd"
5012 if test "$enableval" = yes; then
5013 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5015 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5020 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5021 if test "x$LINE" != x
; then
5022 eval "DEFAULT_$LINE"
5027 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5032 eval "$ac_cv_use_dnd"
5033 if test "$no_cache" != 1; then
5034 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5037 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5038 echo "$ac_t""yes" 1>&6
5040 echo "$ac_t""no" 1>&6
5044 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5045 echo "configure:5046: checking for --enable-metafile" >&5
5047 # Check whether --enable-metafile or --disable-metafile was given.
5048 if test "${enable_metafile+set}" = set; then
5049 enableval
="$enable_metafile"
5051 if test "$enableval" = yes; then
5052 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5054 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5059 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5060 if test "x$LINE" != x
; then
5061 eval "DEFAULT_$LINE"
5066 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5071 eval "$ac_cv_use_metafile"
5072 if test "$no_cache" != 1; then
5073 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5076 if test "$wxUSE_METAFILE" = yes; then
5077 echo "$ac_t""yes" 1>&6
5079 echo "$ac_t""no" 1>&6
5084 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5085 echo "configure:5086: checking for --enable-treelayout" >&5
5087 # Check whether --enable-treelayout or --disable-treelayout was given.
5088 if test "${enable_treelayout+set}" = set; then
5089 enableval
="$enable_treelayout"
5091 if test "$enableval" = yes; then
5092 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5094 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5099 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5100 if test "x$LINE" != x
; then
5101 eval "DEFAULT_$LINE"
5106 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5111 eval "$ac_cv_use_treelayout"
5112 if test "$no_cache" != 1; then
5113 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5116 if test "$wxUSE_TREELAYOUT" = yes; then
5117 echo "$ac_t""yes" 1>&6
5119 echo "$ac_t""no" 1>&6
5125 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5126 echo "configure:5127: checking for --enable-controls" >&5
5128 # Check whether --enable-controls or --disable-controls was given.
5129 if test "${enable_controls+set}" = set; then
5130 enableval
="$enable_controls"
5132 if test "$enableval" = yes; then
5133 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5135 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5140 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5141 if test "x$LINE" != x
; then
5142 eval "DEFAULT_$LINE"
5147 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5152 eval "$ac_cv_use_controls"
5153 if test "$no_cache" != 1; then
5154 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5157 if test "$wxUSE_CONTROLS" = yes; then
5158 echo "$ac_t""yes" 1>&6
5160 echo "$ac_t""no" 1>&6
5164 if test "$wxUSE_CONTROLS" = "yes"; then
5165 DEFAULT_wxUSE_ACCEL
=yes
5166 DEFAULT_wxUSE_BMPBUTTON
=yes
5167 DEFAULT_wxUSE_BUTTON
=yes
5168 DEFAULT_wxUSE_CALCTRL
=no
5169 DEFAULT_wxUSE_CARET
=yes
5170 DEFAULT_wxUSE_COMBOBOX
=yes
5171 DEFAULT_wxUSE_CHECKBOX
=yes
5172 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5173 DEFAULT_wxUSE_CHOICE
=yes
5174 DEFAULT_wxUSE_GAUGE
=yes
5175 DEFAULT_wxUSE_GRID
=yes
5176 DEFAULT_wxUSE_NEW_GRID
=yes
5177 DEFAULT_wxUSE_IMAGLIST
=yes
5178 DEFAULT_wxUSE_LISTBOX
=yes
5179 DEFAULT_wxUSE_LISTCTRL
=yes
5180 DEFAULT_wxUSE_NOTEBOOK
=yes
5181 DEFAULT_wxUSE_PROPSHEET
=yes
5182 DEFAULT_wxUSE_RADIOBOX
=yes
5183 DEFAULT_wxUSE_RADIOBTN
=yes
5184 DEFAULT_wxUSE_SASH
=yes
5185 DEFAULT_wxUSE_SCROLLBAR
=yes
5186 DEFAULT_wxUSE_SLIDER
=yes
5187 DEFAULT_wxUSE_SPINBTN
=yes
5188 DEFAULT_wxUSE_SPINCTRL
=yes
5189 DEFAULT_wxUSE_SPLITTER
=yes
5190 DEFAULT_wxUSE_STATBMP
=yes
5191 DEFAULT_wxUSE_STATBOX
=yes
5192 DEFAULT_wxUSE_STATLINE
=yes
5193 DEFAULT_wxUSE_STATUSBAR
=yes
5194 DEFAULT_wxUSE_TAB_DIALOG
=yes
5195 DEFAULT_wxUSE_TOGGLEBTN
=yes
5196 DEFAULT_wxUSE_TOOLBAR
=yes
5197 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5198 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5199 DEFAULT_wxUSE_TOOLTIPS
=yes
5200 DEFAULT_wxUSE_TREECTRL
=yes
5201 DEFAULT_wxUSE_POPUPWIN
=yes
5202 elif test "$wxUSE_CONTROLS" = "no"; then
5203 DEFAULT_wxUSE_ACCEL
=no
5204 DEFAULT_wxUSE_BMPBUTTON
=no
5205 DEFAULT_wxUSE_BUTTON
=no
5206 DEFAULT_wxUSE_CALCTRL
=no
5207 DEFAULT_wxUSE_CARET
=no
5208 DEFAULT_wxUSE_COMBOBOX
=no
5209 DEFAULT_wxUSE_CHECKBOX
=no
5210 DEFAULT_wxUSE_CHECKLISTBOX
=no
5211 DEFAULT_wxUSE_CHOICE
=no
5212 DEFAULT_wxUSE_GAUGE
=no
5213 DEFAULT_wxUSE_GRID
=no
5214 DEFAULT_wxUSE_NEW_GRID
=no
5215 DEFAULT_wxUSE_IMAGLIST
=no
5216 DEFAULT_wxUSE_LISTBOX
=no
5217 DEFAULT_wxUSE_LISTCTRL
=no
5218 DEFAULT_wxUSE_NOTEBOOK
=no
5219 DEFAULT_wxUSE_PROPSHEET
=no
5220 DEFAULT_wxUSE_RADIOBOX
=no
5221 DEFAULT_wxUSE_RADIOBTN
=no
5222 DEFAULT_wxUSE_SASH
=no
5223 DEFAULT_wxUSE_SCROLLBAR
=no
5224 DEFAULT_wxUSE_SLIDER
=no
5225 DEFAULT_wxUSE_SPINBTN
=no
5226 DEFAULT_wxUSE_SPINCTRL
=no
5227 DEFAULT_wxUSE_SPLITTER
=no
5228 DEFAULT_wxUSE_STATBMP
=no
5229 DEFAULT_wxUSE_STATBOX
=no
5230 DEFAULT_wxUSE_STATLINE
=no
5231 DEFAULT_wxUSE_STATUSBAR
=no
5232 DEFAULT_wxUSE_TAB_DIALOG
=no
5233 DEFAULT_wxUSE_TOGGLEBTN
=no
5234 DEFAULT_wxUSE_TOOLBAR
=no
5235 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5236 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5237 DEFAULT_wxUSE_TOOLTIPS
=no
5238 DEFAULT_wxUSE_TREECTRL
=no
5239 DEFAULT_wxUSE_POPUPWIN
=no
5243 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5244 echo "configure:5245: checking for --enable-accel" >&5
5246 # Check whether --enable-accel or --disable-accel was given.
5247 if test "${enable_accel+set}" = set; then
5248 enableval
="$enable_accel"
5250 if test "$enableval" = yes; then
5251 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5253 ac_cv_use_accel
='wxUSE_ACCEL=no'
5258 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5259 if test "x$LINE" != x
; then
5260 eval "DEFAULT_$LINE"
5265 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5270 eval "$ac_cv_use_accel"
5271 if test "$no_cache" != 1; then
5272 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5275 if test "$wxUSE_ACCEL" = yes; then
5276 echo "$ac_t""yes" 1>&6
5278 echo "$ac_t""no" 1>&6
5282 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5283 echo "configure:5284: checking for --enable-button" >&5
5285 # Check whether --enable-button or --disable-button was given.
5286 if test "${enable_button+set}" = set; then
5287 enableval
="$enable_button"
5289 if test "$enableval" = yes; then
5290 ac_cv_use_button
='wxUSE_BUTTON=yes'
5292 ac_cv_use_button
='wxUSE_BUTTON=no'
5297 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x
; then
5299 eval "DEFAULT_$LINE"
5304 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5309 eval "$ac_cv_use_button"
5310 if test "$no_cache" != 1; then
5311 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5314 if test "$wxUSE_BUTTON" = yes; then
5315 echo "$ac_t""yes" 1>&6
5317 echo "$ac_t""no" 1>&6
5321 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5322 echo "configure:5323: checking for --enable-bmpbutton" >&5
5324 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5325 if test "${enable_bmpbutton+set}" = set; then
5326 enableval
="$enable_bmpbutton"
5328 if test "$enableval" = yes; then
5329 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5331 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5336 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5337 if test "x$LINE" != x
; then
5338 eval "DEFAULT_$LINE"
5343 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5348 eval "$ac_cv_use_bmpbutton"
5349 if test "$no_cache" != 1; then
5350 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5353 if test "$wxUSE_BMPBUTTON" = yes; then
5354 echo "$ac_t""yes" 1>&6
5356 echo "$ac_t""no" 1>&6
5360 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5361 echo "configure:5362: checking for --enable-calendar" >&5
5363 # Check whether --enable-calendar or --disable-calendar was given.
5364 if test "${enable_calendar+set}" = set; then
5365 enableval
="$enable_calendar"
5367 if test "$enableval" = yes; then
5368 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5370 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5375 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5376 if test "x$LINE" != x
; then
5377 eval "DEFAULT_$LINE"
5382 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5387 eval "$ac_cv_use_calendar"
5388 if test "$no_cache" != 1; then
5389 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5392 if test "$wxUSE_CALCTRL" = yes; then
5393 echo "$ac_t""yes" 1>&6
5395 echo "$ac_t""no" 1>&6
5399 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5400 echo "configure:5401: checking for --enable-caret" >&5
5402 # Check whether --enable-caret or --disable-caret was given.
5403 if test "${enable_caret+set}" = set; then
5404 enableval
="$enable_caret"
5406 if test "$enableval" = yes; then
5407 ac_cv_use_caret
='wxUSE_CARET=yes'
5409 ac_cv_use_caret
='wxUSE_CARET=no'
5414 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5415 if test "x$LINE" != x
; then
5416 eval "DEFAULT_$LINE"
5421 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5426 eval "$ac_cv_use_caret"
5427 if test "$no_cache" != 1; then
5428 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5431 if test "$wxUSE_CARET" = yes; then
5432 echo "$ac_t""yes" 1>&6
5434 echo "$ac_t""no" 1>&6
5438 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5439 echo "configure:5440: checking for --enable-checkbox" >&5
5441 # Check whether --enable-checkbox or --disable-checkbox was given.
5442 if test "${enable_checkbox+set}" = set; then
5443 enableval
="$enable_checkbox"
5445 if test "$enableval" = yes; then
5446 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5448 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5453 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5454 if test "x$LINE" != x
; then
5455 eval "DEFAULT_$LINE"
5460 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5465 eval "$ac_cv_use_checkbox"
5466 if test "$no_cache" != 1; then
5467 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5470 if test "$wxUSE_CHECKBOX" = yes; then
5471 echo "$ac_t""yes" 1>&6
5473 echo "$ac_t""no" 1>&6
5477 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5478 echo "configure:5479: checking for --enable-checklst" >&5
5480 # Check whether --enable-checklst or --disable-checklst was given.
5481 if test "${enable_checklst+set}" = set; then
5482 enableval
="$enable_checklst"
5484 if test "$enableval" = yes; then
5485 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5487 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5492 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5493 if test "x$LINE" != x
; then
5494 eval "DEFAULT_$LINE"
5499 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5504 eval "$ac_cv_use_checklst"
5505 if test "$no_cache" != 1; then
5506 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5509 if test "$wxUSE_CHECKLST" = yes; then
5510 echo "$ac_t""yes" 1>&6
5512 echo "$ac_t""no" 1>&6
5516 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5517 echo "configure:5518: checking for --enable-choice" >&5
5519 # Check whether --enable-choice or --disable-choice was given.
5520 if test "${enable_choice+set}" = set; then
5521 enableval
="$enable_choice"
5523 if test "$enableval" = yes; then
5524 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5526 ac_cv_use_choice
='wxUSE_CHOICE=no'
5531 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5532 if test "x$LINE" != x
; then
5533 eval "DEFAULT_$LINE"
5538 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5543 eval "$ac_cv_use_choice"
5544 if test "$no_cache" != 1; then
5545 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5548 if test "$wxUSE_CHOICE" = yes; then
5549 echo "$ac_t""yes" 1>&6
5551 echo "$ac_t""no" 1>&6
5555 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5556 echo "configure:5557: checking for --enable-combobox" >&5
5558 # Check whether --enable-combobox or --disable-combobox was given.
5559 if test "${enable_combobox+set}" = set; then
5560 enableval
="$enable_combobox"
5562 if test "$enableval" = yes; then
5563 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5565 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5570 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5571 if test "x$LINE" != x
; then
5572 eval "DEFAULT_$LINE"
5577 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5582 eval "$ac_cv_use_combobox"
5583 if test "$no_cache" != 1; then
5584 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5587 if test "$wxUSE_COMBOBOX" = yes; then
5588 echo "$ac_t""yes" 1>&6
5590 echo "$ac_t""no" 1>&6
5594 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5595 echo "configure:5596: checking for --enable-gauge" >&5
5597 # Check whether --enable-gauge or --disable-gauge was given.
5598 if test "${enable_gauge+set}" = set; then
5599 enableval
="$enable_gauge"
5601 if test "$enableval" = yes; then
5602 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5604 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5609 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5610 if test "x$LINE" != x
; then
5611 eval "DEFAULT_$LINE"
5616 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5621 eval "$ac_cv_use_gauge"
5622 if test "$no_cache" != 1; then
5623 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5626 if test "$wxUSE_GAUGE" = yes; then
5627 echo "$ac_t""yes" 1>&6
5629 echo "$ac_t""no" 1>&6
5633 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5634 echo "configure:5635: checking for --enable-grid" >&5
5636 # Check whether --enable-grid or --disable-grid was given.
5637 if test "${enable_grid+set}" = set; then
5638 enableval
="$enable_grid"
5640 if test "$enableval" = yes; then
5641 ac_cv_use_grid
='wxUSE_GRID=yes'
5643 ac_cv_use_grid
='wxUSE_GRID=no'
5648 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5649 if test "x$LINE" != x
; then
5650 eval "DEFAULT_$LINE"
5655 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5660 eval "$ac_cv_use_grid"
5661 if test "$no_cache" != 1; then
5662 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5665 if test "$wxUSE_GRID" = yes; then
5666 echo "$ac_t""yes" 1>&6
5668 echo "$ac_t""no" 1>&6
5672 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5673 echo "configure:5674: checking for --enable-newgrid" >&5
5675 # Check whether --enable-newgrid or --disable-newgrid was given.
5676 if test "${enable_newgrid+set}" = set; then
5677 enableval
="$enable_newgrid"
5679 if test "$enableval" = yes; then
5680 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5682 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5687 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5688 if test "x$LINE" != x
; then
5689 eval "DEFAULT_$LINE"
5694 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5699 eval "$ac_cv_use_newgrid"
5700 if test "$no_cache" != 1; then
5701 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5704 if test "$wxUSE_NEW_GRID" = yes; then
5705 echo "$ac_t""yes" 1>&6
5707 echo "$ac_t""no" 1>&6
5711 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5712 echo "configure:5713: checking for --enable-imaglist" >&5
5714 # Check whether --enable-imaglist or --disable-imaglist was given.
5715 if test "${enable_imaglist+set}" = set; then
5716 enableval
="$enable_imaglist"
5718 if test "$enableval" = yes; then
5719 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5721 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5726 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5727 if test "x$LINE" != x
; then
5728 eval "DEFAULT_$LINE"
5733 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5738 eval "$ac_cv_use_imaglist"
5739 if test "$no_cache" != 1; then
5740 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5743 if test "$wxUSE_IMAGLIST" = yes; then
5744 echo "$ac_t""yes" 1>&6
5746 echo "$ac_t""no" 1>&6
5750 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5751 echo "configure:5752: checking for --enable-listbox" >&5
5753 # Check whether --enable-listbox or --disable-listbox was given.
5754 if test "${enable_listbox+set}" = set; then
5755 enableval
="$enable_listbox"
5757 if test "$enableval" = yes; then
5758 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5760 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5765 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5766 if test "x$LINE" != x
; then
5767 eval "DEFAULT_$LINE"
5772 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5777 eval "$ac_cv_use_listbox"
5778 if test "$no_cache" != 1; then
5779 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5782 if test "$wxUSE_LISTBOX" = yes; then
5783 echo "$ac_t""yes" 1>&6
5785 echo "$ac_t""no" 1>&6
5789 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5790 echo "configure:5791: checking for --enable-listctrl" >&5
5792 # Check whether --enable-listctrl or --disable-listctrl was given.
5793 if test "${enable_listctrl+set}" = set; then
5794 enableval
="$enable_listctrl"
5796 if test "$enableval" = yes; then
5797 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5799 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5804 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5805 if test "x$LINE" != x
; then
5806 eval "DEFAULT_$LINE"
5811 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5816 eval "$ac_cv_use_listctrl"
5817 if test "$no_cache" != 1; then
5818 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5821 if test "$wxUSE_LISTCTRL" = yes; then
5822 echo "$ac_t""yes" 1>&6
5824 echo "$ac_t""no" 1>&6
5828 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5829 echo "configure:5830: checking for --enable-notebook" >&5
5831 # Check whether --enable-notebook or --disable-notebook was given.
5832 if test "${enable_notebook+set}" = set; then
5833 enableval
="$enable_notebook"
5835 if test "$enableval" = yes; then
5836 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5838 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5843 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5844 if test "x$LINE" != x
; then
5845 eval "DEFAULT_$LINE"
5850 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5855 eval "$ac_cv_use_notebook"
5856 if test "$no_cache" != 1; then
5857 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5860 if test "$wxUSE_NOTEBOOK" = yes; then
5861 echo "$ac_t""yes" 1>&6
5863 echo "$ac_t""no" 1>&6
5867 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5868 echo "configure:5869: checking for --enable-propsheet" >&5
5870 # Check whether --enable-propsheet or --disable-propsheet was given.
5871 if test "${enable_propsheet+set}" = set; then
5872 enableval
="$enable_propsheet"
5874 if test "$enableval" = yes; then
5875 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
5877 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
5882 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5883 if test "x$LINE" != x
; then
5884 eval "DEFAULT_$LINE"
5889 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5894 eval "$ac_cv_use_propsheet"
5895 if test "$no_cache" != 1; then
5896 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5899 if test "$wxUSE_PROPSHEET" = yes; then
5900 echo "$ac_t""yes" 1>&6
5902 echo "$ac_t""no" 1>&6
5906 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5907 echo "configure:5908: checking for --enable-radiobox" >&5
5909 # Check whether --enable-radiobox or --disable-radiobox was given.
5910 if test "${enable_radiobox+set}" = set; then
5911 enableval
="$enable_radiobox"
5913 if test "$enableval" = yes; then
5914 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5916 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5921 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5922 if test "x$LINE" != x
; then
5923 eval "DEFAULT_$LINE"
5928 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5933 eval "$ac_cv_use_radiobox"
5934 if test "$no_cache" != 1; then
5935 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5938 if test "$wxUSE_RADIOBOX" = yes; then
5939 echo "$ac_t""yes" 1>&6
5941 echo "$ac_t""no" 1>&6
5945 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5946 echo "configure:5947: checking for --enable-radiobtn" >&5
5948 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5949 if test "${enable_radiobtn+set}" = set; then
5950 enableval
="$enable_radiobtn"
5952 if test "$enableval" = yes; then
5953 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5955 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5960 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5961 if test "x$LINE" != x
; then
5962 eval "DEFAULT_$LINE"
5967 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5972 eval "$ac_cv_use_radiobtn"
5973 if test "$no_cache" != 1; then
5974 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5977 if test "$wxUSE_RADIOBTN" = yes; then
5978 echo "$ac_t""yes" 1>&6
5980 echo "$ac_t""no" 1>&6
5984 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5985 echo "configure:5986: checking for --enable-sash" >&5
5987 # Check whether --enable-sash or --disable-sash was given.
5988 if test "${enable_sash+set}" = set; then
5989 enableval
="$enable_sash"
5991 if test "$enableval" = yes; then
5992 ac_cv_use_sash
='wxUSE_SASH=yes'
5994 ac_cv_use_sash
='wxUSE_SASH=no'
5999 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6000 if test "x$LINE" != x
; then
6001 eval "DEFAULT_$LINE"
6006 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6011 eval "$ac_cv_use_sash"
6012 if test "$no_cache" != 1; then
6013 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6016 if test "$wxUSE_SASH" = yes; then
6017 echo "$ac_t""yes" 1>&6
6019 echo "$ac_t""no" 1>&6
6023 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6024 echo "configure:6025: checking for --enable-scrollbar" >&5
6026 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6027 if test "${enable_scrollbar+set}" = set; then
6028 enableval
="$enable_scrollbar"
6030 if test "$enableval" = yes; then
6031 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6033 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6038 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6039 if test "x$LINE" != x
; then
6040 eval "DEFAULT_$LINE"
6045 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6050 eval "$ac_cv_use_scrollbar"
6051 if test "$no_cache" != 1; then
6052 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6055 if test "$wxUSE_SCROLLBAR" = yes; then
6056 echo "$ac_t""yes" 1>&6
6058 echo "$ac_t""no" 1>&6
6062 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6063 echo "configure:6064: checking for --enable-slider" >&5
6065 # Check whether --enable-slider or --disable-slider was given.
6066 if test "${enable_slider+set}" = set; then
6067 enableval
="$enable_slider"
6069 if test "$enableval" = yes; then
6070 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6072 ac_cv_use_slider
='wxUSE_SLIDER=no'
6077 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6078 if test "x$LINE" != x
; then
6079 eval "DEFAULT_$LINE"
6084 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6089 eval "$ac_cv_use_slider"
6090 if test "$no_cache" != 1; then
6091 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6094 if test "$wxUSE_SLIDER" = yes; then
6095 echo "$ac_t""yes" 1>&6
6097 echo "$ac_t""no" 1>&6
6101 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6102 echo "configure:6103: checking for --enable-spinbtn" >&5
6104 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6105 if test "${enable_spinbtn+set}" = set; then
6106 enableval
="$enable_spinbtn"
6108 if test "$enableval" = yes; then
6109 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6111 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6116 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6117 if test "x$LINE" != x
; then
6118 eval "DEFAULT_$LINE"
6123 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6128 eval "$ac_cv_use_spinbtn"
6129 if test "$no_cache" != 1; then
6130 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6133 if test "$wxUSE_SPINBTN" = yes; then
6134 echo "$ac_t""yes" 1>&6
6136 echo "$ac_t""no" 1>&6
6140 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6141 echo "configure:6142: checking for --enable-spinctrl" >&5
6143 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6144 if test "${enable_spinctrl+set}" = set; then
6145 enableval
="$enable_spinctrl"
6147 if test "$enableval" = yes; then
6148 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6150 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6155 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6156 if test "x$LINE" != x
; then
6157 eval "DEFAULT_$LINE"
6162 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6167 eval "$ac_cv_use_spinctrl"
6168 if test "$no_cache" != 1; then
6169 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6172 if test "$wxUSE_SPINCTRL" = yes; then
6173 echo "$ac_t""yes" 1>&6
6175 echo "$ac_t""no" 1>&6
6179 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6180 echo "configure:6181: checking for --enable-splitter" >&5
6182 # Check whether --enable-splitter or --disable-splitter was given.
6183 if test "${enable_splitter+set}" = set; then
6184 enableval
="$enable_splitter"
6186 if test "$enableval" = yes; then
6187 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6189 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6194 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6195 if test "x$LINE" != x
; then
6196 eval "DEFAULT_$LINE"
6201 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6206 eval "$ac_cv_use_splitter"
6207 if test "$no_cache" != 1; then
6208 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6211 if test "$wxUSE_SPLITTER" = yes; then
6212 echo "$ac_t""yes" 1>&6
6214 echo "$ac_t""no" 1>&6
6218 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6219 echo "configure:6220: checking for --enable-statbmp" >&5
6221 # Check whether --enable-statbmp or --disable-statbmp was given.
6222 if test "${enable_statbmp+set}" = set; then
6223 enableval
="$enable_statbmp"
6225 if test "$enableval" = yes; then
6226 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6228 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6233 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6234 if test "x$LINE" != x
; then
6235 eval "DEFAULT_$LINE"
6240 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6245 eval "$ac_cv_use_statbmp"
6246 if test "$no_cache" != 1; then
6247 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6250 if test "$wxUSE_STATBMP" = yes; then
6251 echo "$ac_t""yes" 1>&6
6253 echo "$ac_t""no" 1>&6
6257 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6258 echo "configure:6259: checking for --enable-statbox" >&5
6260 # Check whether --enable-statbox or --disable-statbox was given.
6261 if test "${enable_statbox+set}" = set; then
6262 enableval
="$enable_statbox"
6264 if test "$enableval" = yes; then
6265 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6267 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6272 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6273 if test "x$LINE" != x
; then
6274 eval "DEFAULT_$LINE"
6279 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6284 eval "$ac_cv_use_statbox"
6285 if test "$no_cache" != 1; then
6286 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6289 if test "$wxUSE_STATBOX" = yes; then
6290 echo "$ac_t""yes" 1>&6
6292 echo "$ac_t""no" 1>&6
6296 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6297 echo "configure:6298: checking for --enable-statline" >&5
6299 # Check whether --enable-statline or --disable-statline was given.
6300 if test "${enable_statline+set}" = set; then
6301 enableval
="$enable_statline"
6303 if test "$enableval" = yes; then
6304 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6306 ac_cv_use_statline
='wxUSE_STATLINE=no'
6311 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6312 if test "x$LINE" != x
; then
6313 eval "DEFAULT_$LINE"
6318 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6323 eval "$ac_cv_use_statline"
6324 if test "$no_cache" != 1; then
6325 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6328 if test "$wxUSE_STATLINE" = yes; then
6329 echo "$ac_t""yes" 1>&6
6331 echo "$ac_t""no" 1>&6
6335 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6336 echo "configure:6337: checking for --enable-stattext" >&5
6338 # Check whether --enable-stattext or --disable-stattext was given.
6339 if test "${enable_stattext+set}" = set; then
6340 enableval
="$enable_stattext"
6342 if test "$enableval" = yes; then
6343 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6345 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6350 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6351 if test "x$LINE" != x
; then
6352 eval "DEFAULT_$LINE"
6357 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6362 eval "$ac_cv_use_stattext"
6363 if test "$no_cache" != 1; then
6364 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6367 if test "$wxUSE_STATTEXT" = yes; then
6368 echo "$ac_t""yes" 1>&6
6370 echo "$ac_t""no" 1>&6
6374 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6375 echo "configure:6376: checking for --enable-statusbar" >&5
6377 # Check whether --enable-statusbar or --disable-statusbar was given.
6378 if test "${enable_statusbar+set}" = set; then
6379 enableval
="$enable_statusbar"
6381 if test "$enableval" = yes; then
6382 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6384 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6389 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6390 if test "x$LINE" != x
; then
6391 eval "DEFAULT_$LINE"
6396 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6401 eval "$ac_cv_use_statusbar"
6402 if test "$no_cache" != 1; then
6403 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6406 if test "$wxUSE_STATUSBAR" = yes; then
6407 echo "$ac_t""yes" 1>&6
6409 echo "$ac_t""no" 1>&6
6413 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6414 echo "configure:6415: checking for --enable-tabdialog" >&5
6416 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6417 if test "${enable_tabdialog+set}" = set; then
6418 enableval
="$enable_tabdialog"
6420 if test "$enableval" = yes; then
6421 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6423 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6428 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6429 if test "x$LINE" != x
; then
6430 eval "DEFAULT_$LINE"
6435 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6440 eval "$ac_cv_use_tabdialog"
6441 if test "$no_cache" != 1; then
6442 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6445 if test "$wxUSE_TABDIALOG" = yes; then
6446 echo "$ac_t""yes" 1>&6
6448 echo "$ac_t""no" 1>&6
6452 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6453 echo "configure:6454: checking for --enable-textctrl" >&5
6455 # Check whether --enable-textctrl or --disable-textctrl was given.
6456 if test "${enable_textctrl+set}" = set; then
6457 enableval
="$enable_textctrl"
6459 if test "$enableval" = yes; then
6460 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6462 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6467 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6468 if test "x$LINE" != x
; then
6469 eval "DEFAULT_$LINE"
6474 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6479 eval "$ac_cv_use_textctrl"
6480 if test "$no_cache" != 1; then
6481 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6484 if test "$wxUSE_TEXTCTRL" = yes; then
6485 echo "$ac_t""yes" 1>&6
6487 echo "$ac_t""no" 1>&6
6491 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6492 echo "configure:6493: checking for --enable-togglebtn" >&5
6494 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6495 if test "${enable_togglebtn+set}" = set; then
6496 enableval
="$enable_togglebtn"
6498 if test "$enableval" = yes; then
6499 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6501 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6506 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6507 if test "x$LINE" != x
; then
6508 eval "DEFAULT_$LINE"
6513 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6518 eval "$ac_cv_use_togglebtn"
6519 if test "$no_cache" != 1; then
6520 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6523 if test "$wxUSE_TOGGLEBTN" = yes; then
6524 echo "$ac_t""yes" 1>&6
6526 echo "$ac_t""no" 1>&6
6530 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6531 echo "configure:6532: checking for --enable-toolbar" >&5
6533 # Check whether --enable-toolbar or --disable-toolbar was given.
6534 if test "${enable_toolbar+set}" = set; then
6535 enableval
="$enable_toolbar"
6537 if test "$enableval" = yes; then
6538 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6540 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6545 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6546 if test "x$LINE" != x
; then
6547 eval "DEFAULT_$LINE"
6552 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6557 eval "$ac_cv_use_toolbar"
6558 if test "$no_cache" != 1; then
6559 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6562 if test "$wxUSE_TOOLBAR" = yes; then
6563 echo "$ac_t""yes" 1>&6
6565 echo "$ac_t""no" 1>&6
6569 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6570 echo "configure:6571: checking for --enable-tbarnative" >&5
6572 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6573 if test "${enable_tbarnative+set}" = set; then
6574 enableval
="$enable_tbarnative"
6576 if test "$enableval" = yes; then
6577 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6579 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6584 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6585 if test "x$LINE" != x
; then
6586 eval "DEFAULT_$LINE"
6591 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6596 eval "$ac_cv_use_tbarnative"
6597 if test "$no_cache" != 1; then
6598 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6601 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6602 echo "$ac_t""yes" 1>&6
6604 echo "$ac_t""no" 1>&6
6608 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6609 echo "configure:6610: checking for --enable-tbarsmpl" >&5
6611 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6612 if test "${enable_tbarsmpl+set}" = set; then
6613 enableval
="$enable_tbarsmpl"
6615 if test "$enableval" = yes; then
6616 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6618 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6623 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6624 if test "x$LINE" != x
; then
6625 eval "DEFAULT_$LINE"
6630 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6635 eval "$ac_cv_use_tbarsmpl"
6636 if test "$no_cache" != 1; then
6637 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6640 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6641 echo "$ac_t""yes" 1>&6
6643 echo "$ac_t""no" 1>&6
6647 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6648 echo "configure:6649: checking for --enable-treectrl" >&5
6650 # Check whether --enable-treectrl or --disable-treectrl was given.
6651 if test "${enable_treectrl+set}" = set; then
6652 enableval
="$enable_treectrl"
6654 if test "$enableval" = yes; then
6655 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6657 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6662 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6663 if test "x$LINE" != x
; then
6664 eval "DEFAULT_$LINE"
6669 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6674 eval "$ac_cv_use_treectrl"
6675 if test "$no_cache" != 1; then
6676 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6679 if test "$wxUSE_TREECTRL" = yes; then
6680 echo "$ac_t""yes" 1>&6
6682 echo "$ac_t""no" 1>&6
6686 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6687 echo "configure:6688: checking for --enable-popupwin" >&5
6689 # Check whether --enable-popupwin or --disable-popupwin was given.
6690 if test "${enable_popupwin+set}" = set; then
6691 enableval
="$enable_popupwin"
6693 if test "$enableval" = yes; then
6694 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6696 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6701 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6702 if test "x$LINE" != x
; then
6703 eval "DEFAULT_$LINE"
6708 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6713 eval "$ac_cv_use_popupwin"
6714 if test "$no_cache" != 1; then
6715 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6718 if test "$wxUSE_POPUPWIN" = yes; then
6719 echo "$ac_t""yes" 1>&6
6721 echo "$ac_t""no" 1>&6
6727 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6728 echo "configure:6729: checking for --enable-commondlg" >&5
6730 # Check whether --enable-commondlg or --disable-commondlg was given.
6731 if test "${enable_commondlg+set}" = set; then
6732 enableval
="$enable_commondlg"
6734 if test "$enableval" = yes; then
6735 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6737 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6742 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6743 if test "x$LINE" != x
; then
6744 eval "DEFAULT_$LINE"
6749 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6754 eval "$ac_cv_use_commondlg"
6755 if test "$no_cache" != 1; then
6756 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6759 if test "$wxUSE_COMMONDLGS" = yes; then
6760 echo "$ac_t""yes" 1>&6
6762 echo "$ac_t""no" 1>&6
6766 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6767 echo "configure:6768: checking for --enable-choicedlg" >&5
6769 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6770 if test "${enable_choicedlg+set}" = set; then
6771 enableval
="$enable_choicedlg"
6773 if test "$enableval" = yes; then
6774 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6776 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6781 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6782 if test "x$LINE" != x
; then
6783 eval "DEFAULT_$LINE"
6788 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6793 eval "$ac_cv_use_choicedlg"
6794 if test "$no_cache" != 1; then
6795 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6798 if test "$wxUSE_CHOICEDLG" = yes; then
6799 echo "$ac_t""yes" 1>&6
6801 echo "$ac_t""no" 1>&6
6805 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6806 echo "configure:6807: checking for --enable-coldlg" >&5
6808 # Check whether --enable-coldlg or --disable-coldlg was given.
6809 if test "${enable_coldlg+set}" = set; then
6810 enableval
="$enable_coldlg"
6812 if test "$enableval" = yes; then
6813 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6815 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6820 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6821 if test "x$LINE" != x
; then
6822 eval "DEFAULT_$LINE"
6827 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6832 eval "$ac_cv_use_coldlg"
6833 if test "$no_cache" != 1; then
6834 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6837 if test "$wxUSE_COLOURDLG" = yes; then
6838 echo "$ac_t""yes" 1>&6
6840 echo "$ac_t""no" 1>&6
6844 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6845 echo "configure:6846: checking for --enable-filedlg" >&5
6847 # Check whether --enable-filedlg or --disable-filedlg was given.
6848 if test "${enable_filedlg+set}" = set; then
6849 enableval
="$enable_filedlg"
6851 if test "$enableval" = yes; then
6852 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6854 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6859 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6860 if test "x$LINE" != x
; then
6861 eval "DEFAULT_$LINE"
6866 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6871 eval "$ac_cv_use_filedlg"
6872 if test "$no_cache" != 1; then
6873 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6876 if test "$wxUSE_FILEDLG" = yes; then
6877 echo "$ac_t""yes" 1>&6
6879 echo "$ac_t""no" 1>&6
6883 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
6884 echo "configure:6885: checking for --enable-finddlg" >&5
6886 # Check whether --enable-finddlg or --disable-finddlg was given.
6887 if test "${enable_finddlg+set}" = set; then
6888 enableval
="$enable_finddlg"
6890 if test "$enableval" = yes; then
6891 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
6893 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
6898 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6899 if test "x$LINE" != x
; then
6900 eval "DEFAULT_$LINE"
6905 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6910 eval "$ac_cv_use_finddlg"
6911 if test "$no_cache" != 1; then
6912 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
6915 if test "$wxUSE_FINDREPLDLG" = yes; then
6916 echo "$ac_t""yes" 1>&6
6918 echo "$ac_t""no" 1>&6
6922 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6923 echo "configure:6924: checking for --enable-fontdlg" >&5
6925 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6926 if test "${enable_fontdlg+set}" = set; then
6927 enableval
="$enable_fontdlg"
6929 if test "$enableval" = yes; then
6930 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6932 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6937 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6938 if test "x$LINE" != x
; then
6939 eval "DEFAULT_$LINE"
6944 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6949 eval "$ac_cv_use_fontdlg"
6950 if test "$no_cache" != 1; then
6951 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6954 if test "$wxUSE_FONTDLG" = yes; then
6955 echo "$ac_t""yes" 1>&6
6957 echo "$ac_t""no" 1>&6
6961 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6962 echo "configure:6963: checking for --enable-dirdlg" >&5
6964 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6965 if test "${enable_dirdlg+set}" = set; then
6966 enableval
="$enable_dirdlg"
6968 if test "$enableval" = yes; then
6969 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6971 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6976 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6977 if test "x$LINE" != x
; then
6978 eval "DEFAULT_$LINE"
6983 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6988 eval "$ac_cv_use_dirdlg"
6989 if test "$no_cache" != 1; then
6990 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6993 if test "$wxUSE_DIRDLG" = yes; then
6994 echo "$ac_t""yes" 1>&6
6996 echo "$ac_t""no" 1>&6
7000 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7001 echo "configure:7002: checking for --enable-msgdlg" >&5
7003 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7004 if test "${enable_msgdlg+set}" = set; then
7005 enableval
="$enable_msgdlg"
7007 if test "$enableval" = yes; then
7008 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7010 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7015 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7016 if test "x$LINE" != x
; then
7017 eval "DEFAULT_$LINE"
7022 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7027 eval "$ac_cv_use_msgdlg"
7028 if test "$no_cache" != 1; then
7029 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7032 if test "$wxUSE_MSGDLG" = yes; then
7033 echo "$ac_t""yes" 1>&6
7035 echo "$ac_t""no" 1>&6
7039 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7040 echo "configure:7041: checking for --enable-numberdlg" >&5
7042 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7043 if test "${enable_numberdlg+set}" = set; then
7044 enableval
="$enable_numberdlg"
7046 if test "$enableval" = yes; then
7047 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7049 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7054 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7055 if test "x$LINE" != x
; then
7056 eval "DEFAULT_$LINE"
7061 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7066 eval "$ac_cv_use_numberdlg"
7067 if test "$no_cache" != 1; then
7068 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7071 if test "$wxUSE_NUMBERDLG" = yes; then
7072 echo "$ac_t""yes" 1>&6
7074 echo "$ac_t""no" 1>&6
7078 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7079 echo "configure:7080: checking for --enable-splash" >&5
7081 # Check whether --enable-splash or --disable-splash was given.
7082 if test "${enable_splash+set}" = set; then
7083 enableval
="$enable_splash"
7085 if test "$enableval" = yes; then
7086 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7088 ac_cv_use_splash
='wxUSE_SPLASH=no'
7093 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7094 if test "x$LINE" != x
; then
7095 eval "DEFAULT_$LINE"
7100 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7105 eval "$ac_cv_use_splash"
7106 if test "$no_cache" != 1; then
7107 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7110 if test "$wxUSE_SPLASH" = yes; then
7111 echo "$ac_t""yes" 1>&6
7113 echo "$ac_t""no" 1>&6
7117 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7118 echo "configure:7119: checking for --enable-textdlg" >&5
7120 # Check whether --enable-textdlg or --disable-textdlg was given.
7121 if test "${enable_textdlg+set}" = set; then
7122 enableval
="$enable_textdlg"
7124 if test "$enableval" = yes; then
7125 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7127 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7132 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7133 if test "x$LINE" != x
; then
7134 eval "DEFAULT_$LINE"
7139 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7144 eval "$ac_cv_use_textdlg"
7145 if test "$no_cache" != 1; then
7146 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7149 if test "$wxUSE_TEXTDLG" = yes; then
7150 echo "$ac_t""yes" 1>&6
7152 echo "$ac_t""no" 1>&6
7156 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7157 echo "configure:7158: checking for --enable-tipdlg" >&5
7159 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7160 if test "${enable_tipdlg+set}" = set; then
7161 enableval
="$enable_tipdlg"
7163 if test "$enableval" = yes; then
7164 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7166 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7171 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7172 if test "x$LINE" != x
; then
7173 eval "DEFAULT_$LINE"
7178 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7183 eval "$ac_cv_use_tipdlg"
7184 if test "$no_cache" != 1; then
7185 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7188 if test "$wxUSE_STARTUP_TIPS" = yes; then
7189 echo "$ac_t""yes" 1>&6
7191 echo "$ac_t""no" 1>&6
7195 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7196 echo "configure:7197: checking for --enable-progressdlg" >&5
7198 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7199 if test "${enable_progressdlg+set}" = set; then
7200 enableval
="$enable_progressdlg"
7202 if test "$enableval" = yes; then
7203 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7205 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7210 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7211 if test "x$LINE" != x
; then
7212 eval "DEFAULT_$LINE"
7217 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7222 eval "$ac_cv_use_progressdlg"
7223 if test "$no_cache" != 1; then
7224 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7227 if test "$wxUSE_PROGRESSDLG" = yes; then
7228 echo "$ac_t""yes" 1>&6
7230 echo "$ac_t""no" 1>&6
7234 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7235 echo "configure:7236: checking for --enable-wizarddlg" >&5
7237 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7238 if test "${enable_wizarddlg+set}" = set; then
7239 enableval
="$enable_wizarddlg"
7241 if test "$enableval" = yes; then
7242 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7244 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7249 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7250 if test "x$LINE" != x
; then
7251 eval "DEFAULT_$LINE"
7256 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7261 eval "$ac_cv_use_wizarddlg"
7262 if test "$no_cache" != 1; then
7263 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7266 if test "$wxUSE_WIZARDDLG" = yes; then
7267 echo "$ac_t""yes" 1>&6
7269 echo "$ac_t""no" 1>&6
7275 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7276 echo "configure:7277: checking for --enable-menus" >&5
7278 # Check whether --enable-menus or --disable-menus was given.
7279 if test "${enable_menus+set}" = set; then
7280 enableval
="$enable_menus"
7282 if test "$enableval" = yes; then
7283 ac_cv_use_menus
='wxUSE_MENUS=yes'
7285 ac_cv_use_menus
='wxUSE_MENUS=no'
7290 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7291 if test "x$LINE" != x
; then
7292 eval "DEFAULT_$LINE"
7297 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7302 eval "$ac_cv_use_menus"
7303 if test "$no_cache" != 1; then
7304 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7307 if test "$wxUSE_MENUS" = yes; then
7308 echo "$ac_t""yes" 1>&6
7310 echo "$ac_t""no" 1>&6
7314 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7315 echo "configure:7316: checking for --enable-miniframe" >&5
7317 # Check whether --enable-miniframe or --disable-miniframe was given.
7318 if test "${enable_miniframe+set}" = set; then
7319 enableval
="$enable_miniframe"
7321 if test "$enableval" = yes; then
7322 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7324 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7329 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7330 if test "x$LINE" != x
; then
7331 eval "DEFAULT_$LINE"
7336 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7341 eval "$ac_cv_use_miniframe"
7342 if test "$no_cache" != 1; then
7343 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7346 if test "$wxUSE_MINIFRAME" = yes; then
7347 echo "$ac_t""yes" 1>&6
7349 echo "$ac_t""no" 1>&6
7353 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7354 echo "configure:7355: checking for --enable-tooltips" >&5
7356 # Check whether --enable-tooltips or --disable-tooltips was given.
7357 if test "${enable_tooltips+set}" = set; then
7358 enableval
="$enable_tooltips"
7360 if test "$enableval" = yes; then
7361 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7363 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7368 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7369 if test "x$LINE" != x
; then
7370 eval "DEFAULT_$LINE"
7375 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7380 eval "$ac_cv_use_tooltips"
7381 if test "$no_cache" != 1; then
7382 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7385 if test "$wxUSE_TOOLTIPS" = yes; then
7386 echo "$ac_t""yes" 1>&6
7388 echo "$ac_t""no" 1>&6
7392 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7393 echo "configure:7394: checking for --enable-splines" >&5
7395 # Check whether --enable-splines or --disable-splines was given.
7396 if test "${enable_splines+set}" = set; then
7397 enableval
="$enable_splines"
7399 if test "$enableval" = yes; then
7400 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7402 ac_cv_use_splines
='wxUSE_SPLINES=no'
7407 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7408 if test "x$LINE" != x
; then
7409 eval "DEFAULT_$LINE"
7414 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7419 eval "$ac_cv_use_splines"
7420 if test "$no_cache" != 1; then
7421 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7424 if test "$wxUSE_SPLINES" = yes; then
7425 echo "$ac_t""yes" 1>&6
7427 echo "$ac_t""no" 1>&6
7431 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7432 echo "configure:7433: checking for --enable-validators" >&5
7434 # Check whether --enable-validators or --disable-validators was given.
7435 if test "${enable_validators+set}" = set; then
7436 enableval
="$enable_validators"
7438 if test "$enableval" = yes; then
7439 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7441 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7446 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7447 if test "x$LINE" != x
; then
7448 eval "DEFAULT_$LINE"
7453 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7458 eval "$ac_cv_use_validators"
7459 if test "$no_cache" != 1; then
7460 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7463 if test "$wxUSE_VALIDATORS" = yes; then
7464 echo "$ac_t""yes" 1>&6
7466 echo "$ac_t""no" 1>&6
7470 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7471 echo "configure:7472: checking for --enable-busyinfo" >&5
7473 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7474 if test "${enable_busyinfo+set}" = set; then
7475 enableval
="$enable_busyinfo"
7477 if test "$enableval" = yes; then
7478 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7480 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7485 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7486 if test "x$LINE" != x
; then
7487 eval "DEFAULT_$LINE"
7492 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7497 eval "$ac_cv_use_busyinfo"
7498 if test "$no_cache" != 1; then
7499 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7502 if test "$wxUSE_BUSYINFO" = yes; then
7503 echo "$ac_t""yes" 1>&6
7505 echo "$ac_t""no" 1>&6
7509 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7510 echo "configure:7511: checking for --enable-joystick" >&5
7512 # Check whether --enable-joystick or --disable-joystick was given.
7513 if test "${enable_joystick+set}" = set; then
7514 enableval
="$enable_joystick"
7516 if test "$enableval" = yes; then
7517 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7519 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7524 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7525 if test "x$LINE" != x
; then
7526 eval "DEFAULT_$LINE"
7531 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7536 eval "$ac_cv_use_joystick"
7537 if test "$no_cache" != 1; then
7538 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7541 if test "$wxUSE_JOYSTICK" = yes; then
7542 echo "$ac_t""yes" 1>&6
7544 echo "$ac_t""no" 1>&6
7548 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7549 echo "configure:7550: checking for --enable-metafile" >&5
7551 # Check whether --enable-metafile or --disable-metafile was given.
7552 if test "${enable_metafile+set}" = set; then
7553 enableval
="$enable_metafile"
7555 if test "$enableval" = yes; then
7556 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7558 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7563 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7564 if test "x$LINE" != x
; then
7565 eval "DEFAULT_$LINE"
7570 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7575 eval "$ac_cv_use_metafile"
7576 if test "$no_cache" != 1; then
7577 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7580 if test "$wxUSE_METAFILE" = yes; then
7581 echo "$ac_t""yes" 1>&6
7583 echo "$ac_t""no" 1>&6
7587 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7588 echo "configure:7589: checking for --enable-dragimage" >&5
7590 # Check whether --enable-dragimage or --disable-dragimage was given.
7591 if test "${enable_dragimage+set}" = set; then
7592 enableval
="$enable_dragimage"
7594 if test "$enableval" = yes; then
7595 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7597 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7602 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7603 if test "x$LINE" != x
; then
7604 eval "DEFAULT_$LINE"
7609 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7614 eval "$ac_cv_use_dragimage"
7615 if test "$no_cache" != 1; then
7616 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7619 if test "$wxUSE_DRAGIMAGE" = yes; then
7620 echo "$ac_t""yes" 1>&6
7622 echo "$ac_t""no" 1>&6
7628 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
7629 echo "configure:7630: checking for --enable-palette" >&5
7631 # Check whether --enable-palette or --disable-palette was given.
7632 if test "${enable_palette+set}" = set; then
7633 enableval
="$enable_palette"
7635 if test "$enableval" = yes; then
7636 ac_cv_use_palette
='wxUSE_PALETTE=yes'
7638 ac_cv_use_palette
='wxUSE_PALETTE=no'
7643 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x
; then
7645 eval "DEFAULT_$LINE"
7650 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
7655 eval "$ac_cv_use_palette"
7656 if test "$no_cache" != 1; then
7657 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
7660 if test "$wxUSE_PALETTE" = yes; then
7661 echo "$ac_t""yes" 1>&6
7663 echo "$ac_t""no" 1>&6
7667 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7668 echo "configure:7669: checking for --enable-image" >&5
7670 # Check whether --enable-image or --disable-image was given.
7671 if test "${enable_image+set}" = set; then
7672 enableval
="$enable_image"
7674 if test "$enableval" = yes; then
7675 ac_cv_use_image
='wxUSE_IMAGE=yes'
7677 ac_cv_use_image
='wxUSE_IMAGE=no'
7682 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7683 if test "x$LINE" != x
; then
7684 eval "DEFAULT_$LINE"
7689 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7694 eval "$ac_cv_use_image"
7695 if test "$no_cache" != 1; then
7696 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7699 if test "$wxUSE_IMAGE" = yes; then
7700 echo "$ac_t""yes" 1>&6
7702 echo "$ac_t""no" 1>&6
7706 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7707 echo "configure:7708: checking for --enable-gif" >&5
7709 # Check whether --enable-gif or --disable-gif was given.
7710 if test "${enable_gif+set}" = set; then
7711 enableval
="$enable_gif"
7713 if test "$enableval" = yes; then
7714 ac_cv_use_gif
='wxUSE_GIF=yes'
7716 ac_cv_use_gif
='wxUSE_GIF=no'
7721 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7722 if test "x$LINE" != x
; then
7723 eval "DEFAULT_$LINE"
7728 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7733 eval "$ac_cv_use_gif"
7734 if test "$no_cache" != 1; then
7735 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7738 if test "$wxUSE_GIF" = yes; then
7739 echo "$ac_t""yes" 1>&6
7741 echo "$ac_t""no" 1>&6
7745 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7746 echo "configure:7747: checking for --enable-pcx" >&5
7748 # Check whether --enable-pcx or --disable-pcx was given.
7749 if test "${enable_pcx+set}" = set; then
7750 enableval
="$enable_pcx"
7752 if test "$enableval" = yes; then
7753 ac_cv_use_pcx
='wxUSE_PCX=yes'
7755 ac_cv_use_pcx
='wxUSE_PCX=no'
7760 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7761 if test "x$LINE" != x
; then
7762 eval "DEFAULT_$LINE"
7767 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7772 eval "$ac_cv_use_pcx"
7773 if test "$no_cache" != 1; then
7774 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7777 if test "$wxUSE_PCX" = yes; then
7778 echo "$ac_t""yes" 1>&6
7780 echo "$ac_t""no" 1>&6
7784 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7785 echo "configure:7786: checking for --enable-pnm" >&5
7787 # Check whether --enable-pnm or --disable-pnm was given.
7788 if test "${enable_pnm+set}" = set; then
7789 enableval
="$enable_pnm"
7791 if test "$enableval" = yes; then
7792 ac_cv_use_pnm
='wxUSE_PNM=yes'
7794 ac_cv_use_pnm
='wxUSE_PNM=no'
7799 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7800 if test "x$LINE" != x
; then
7801 eval "DEFAULT_$LINE"
7806 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7811 eval "$ac_cv_use_pnm"
7812 if test "$no_cache" != 1; then
7813 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7816 if test "$wxUSE_PNM" = yes; then
7817 echo "$ac_t""yes" 1>&6
7819 echo "$ac_t""no" 1>&6
7823 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
7824 echo "configure:7825: checking for --enable-xpm" >&5
7826 # Check whether --enable-xpm or --disable-xpm was given.
7827 if test "${enable_xpm+set}" = set; then
7828 enableval
="$enable_xpm"
7830 if test "$enableval" = yes; then
7831 ac_cv_use_xpm
='wxUSE_XPM=yes'
7833 ac_cv_use_xpm
='wxUSE_XPM=no'
7838 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7839 if test "x$LINE" != x
; then
7840 eval "DEFAULT_$LINE"
7845 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7850 eval "$ac_cv_use_xpm"
7851 if test "$no_cache" != 1; then
7852 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
7855 if test "$wxUSE_XPM" = yes; then
7856 echo "$ac_t""yes" 1>&6
7858 echo "$ac_t""no" 1>&6
7865 echo "saving argument cache $wx_arg_cache_file"
7866 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7870 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7871 echo "configure:7872: checking for toolkit" >&5
7873 if test "$wxUSE_GUI" = "yes"; then
7875 if test "$USE_BEOS" = 1; then
7876 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7879 if test "$TOOLKIT_GIVEN" = 1; then
7880 for toolkit
in `echo $ALL_TOOLKITS`; do
7882 eval "value=\$${var}"
7883 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7886 for toolkit
in `echo $ALL_TOOLKITS`; do
7887 if test "$has_toolkit_in_cache" != 1; then
7888 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7890 var
=DEFAULT_wxUSE_
$toolkit
7892 eval "wxUSE_$toolkit=\$${var}"
7896 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
7897 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0}`
7900 *-pc-os2_emx | *-pc-os2-emx )
7901 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7902 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7911 case "$NUM_TOOLKITS" in
7915 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7918 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7921 for toolkit
in `echo $ALL_TOOLKITS`; do
7923 eval "value=\$${var}"
7924 if test "x$value" != x
; then
7925 cache_var
=CACHE_
$toolkit
7926 eval "cache=\$${cache_var}"
7927 if test "$cache" = 1; then
7928 echo "$var=$value" >> ${wx_arg_cache_file}
7930 if test "$value" = 1; then
7931 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7932 echo "$ac_t""$toolkit_echo" 1>&6
7938 echo "$ac_t""base ($host_alias hosted) only" 1>&6
7942 cat > confcache
<<\EOF
7943 # This file is a shell script that caches the results of configure
7944 # tests run on this system so they can be shared between configure
7945 # scripts and configure runs. It is not useful on other systems.
7946 # If it contains results you don't want to keep, you may remove or edit it.
7948 # By default, configure uses ./config.cache as the cache file,
7949 # creating it if it does not exist already. You can give configure
7950 # the --cache-file=FILE option to use a different cache file; that is
7951 # what configure does when it calls configure scripts in
7952 # subdirectories, so they share the cache.
7953 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7954 # config.status only pays attention to the cache file if you give it the
7955 # --recheck option to rerun configure.
7958 # The following way of writing the cache mishandles newlines in values,
7959 # but we know of no workaround that is simple, portable, and efficient.
7960 # So, don't put newlines in cache variables' values.
7961 # Ultrix sh set writes to stderr and can't be redirected directly,
7962 # and sets the high bit in the cache file unless we assign to the vars.
7964 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7966 # `set' does not quote correctly, so add quotes (double-quote substitution
7967 # turns \\\\ into \\, and sed turns \\ into \).
7969 -e "s/'/'\\\\''/g" \
7970 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7973 # `set' quotes correctly as required by POSIX, so do not add quotes.
7974 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7977 if cmp -s $cache_file confcache
; then
7980 if test -w $cache_file; then
7981 echo "updating cache $cache_file"
7982 cat confcache
> $cache_file
7984 echo "not updating unwritable cache $cache_file"
7990 if test "$build" != "$host" ; then
7991 if test "$USE_WIN32" = 1 ; then
7995 RANLIB
=$host_alias-ranlib
7996 DLLTOOL
=$host_alias-dlltool
7997 RESCOMP
=$host_alias-windres
8000 STRIP
=$host_alias-strip
8002 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8006 # Extract the first word of "gcc", so it can be a program name with args.
8007 set dummy gcc
; ac_word
=$2
8008 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8009 echo "configure:8010: checking for $ac_word" >&5
8010 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8011 echo $ac_n "(cached) $ac_c" 1>&6
8013 if test -n "$CC"; then
8014 ac_cv_prog_CC
="$CC" # Let the user override the test.
8016 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8018 for ac_dir
in $ac_dummy; do
8019 test -z "$ac_dir" && ac_dir
=.
8020 if test -f $ac_dir/$ac_word; then
8029 if test -n "$CC"; then
8030 echo "$ac_t""$CC" 1>&6
8032 echo "$ac_t""no" 1>&6
8035 if test -z "$CC"; then
8036 # Extract the first word of "cc", so it can be a program name with args.
8037 set dummy cc
; ac_word
=$2
8038 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8039 echo "configure:8040: checking for $ac_word" >&5
8040 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8041 echo $ac_n "(cached) $ac_c" 1>&6
8043 if test -n "$CC"; then
8044 ac_cv_prog_CC
="$CC" # Let the user override the test.
8046 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8049 for ac_dir
in $ac_dummy; do
8050 test -z "$ac_dir" && ac_dir
=.
8051 if test -f $ac_dir/$ac_word; then
8052 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8053 ac_prog_rejected
=yes
8061 if test $ac_prog_rejected = yes; then
8062 # We found a bogon in the path, so make sure we never use it.
8063 set dummy
$ac_cv_prog_CC
8065 if test $# -gt 0; then
8066 # We chose a different compiler from the bogus one.
8067 # However, it has the same basename, so the bogon will be chosen
8068 # first if we set CC to just the basename; use the full file name.
8070 set dummy
"$ac_dir/$ac_word" "$@"
8078 if test -n "$CC"; then
8079 echo "$ac_t""$CC" 1>&6
8081 echo "$ac_t""no" 1>&6
8084 if test -z "$CC"; then
8085 case "`uname -s`" in
8087 # Extract the first word of "cl", so it can be a program name with args.
8088 set dummy cl
; ac_word
=$2
8089 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8090 echo "configure:8091: checking for $ac_word" >&5
8091 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8092 echo $ac_n "(cached) $ac_c" 1>&6
8094 if test -n "$CC"; then
8095 ac_cv_prog_CC
="$CC" # Let the user override the test.
8097 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8099 for ac_dir
in $ac_dummy; do
8100 test -z "$ac_dir" && ac_dir
=.
8101 if test -f $ac_dir/$ac_word; then
8110 if test -n "$CC"; then
8111 echo "$ac_t""$CC" 1>&6
8113 echo "$ac_t""no" 1>&6
8118 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8121 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8122 echo "configure:8123: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8125 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8126 ac_cpp
='$CPP $CPPFLAGS'
8127 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8128 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8129 cross_compiling
=$ac_cv_prog_cc_cross
8131 cat > conftest.
$ac_ext << EOF
8133 #line 8134 "configure"
8134 #include "confdefs.h"
8138 if { (eval echo configure
:8139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8139 ac_cv_prog_cc_works
=yes
8140 # If we can't run a trivial program, we are probably using a cross compiler.
8141 if (.
/conftest
; exit) 2>/dev
/null
; then
8142 ac_cv_prog_cc_cross
=no
8144 ac_cv_prog_cc_cross
=yes
8147 echo "configure: failed program was:" >&5
8148 cat conftest.
$ac_ext >&5
8149 ac_cv_prog_cc_works
=no
8153 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8154 ac_cpp
='$CPP $CPPFLAGS'
8155 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8156 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8157 cross_compiling
=$ac_cv_prog_cc_cross
8159 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8160 if test $ac_cv_prog_cc_works = no
; then
8161 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8163 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8164 echo "configure:8165: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8165 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8166 cross_compiling
=$ac_cv_prog_cc_cross
8168 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8169 echo "configure:8170: checking whether we are using GNU C" >&5
8170 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8171 echo $ac_n "(cached) $ac_c" 1>&6
8173 cat > conftest.c
<<EOF
8178 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8185 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8187 if test $ac_cv_prog_gcc = yes; then
8193 ac_test_CFLAGS
="${CFLAGS+set}"
8194 ac_save_CFLAGS
="$CFLAGS"
8196 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8197 echo "configure:8198: checking whether ${CC-cc} accepts -g" >&5
8198 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8199 echo $ac_n "(cached) $ac_c" 1>&6
8201 echo 'void f(){}' > conftest.c
8202 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8211 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8212 if test "$ac_test_CFLAGS" = set; then
8213 CFLAGS
="$ac_save_CFLAGS"
8214 elif test $ac_cv_prog_cc_g = yes; then
8215 if test "$GCC" = yes; then
8221 if test "$GCC" = yes; then
8229 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8231 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8232 echo "configure:8233: checking how to run the C preprocessor" >&5
8233 # On Suns, sometimes $CPP names a directory.
8234 if test -n "$CPP" && test -d "$CPP"; then
8237 if test -z "$CPP"; then
8238 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8239 echo $ac_n "(cached) $ac_c" 1>&6
8241 # This must be in double quotes, not single quotes, because CPP may get
8242 # substituted into the Makefile and "${CC-cc}" will confuse make.
8244 # On the NeXT, cc -E runs the code through the compiler's parser,
8245 # not just through cpp.
8246 cat > conftest.
$ac_ext <<EOF
8247 #line 8248 "configure"
8248 #include "confdefs.h"
8252 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8253 { (eval echo configure
:8254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8254 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8255 if test -z "$ac_err"; then
8259 echo "configure: failed program was:" >&5
8260 cat conftest.
$ac_ext >&5
8262 CPP
="${CC-cc} -E -traditional-cpp"
8263 cat > conftest.
$ac_ext <<EOF
8264 #line 8265 "configure"
8265 #include "confdefs.h"
8269 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8270 { (eval echo configure
:8271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8271 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8272 if test -z "$ac_err"; then
8276 echo "configure: failed program was:" >&5
8277 cat conftest.
$ac_ext >&5
8279 CPP
="${CC-cc} -nologo -E"
8280 cat > conftest.
$ac_ext <<EOF
8281 #line 8282 "configure"
8282 #include "confdefs.h"
8286 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8287 { (eval echo configure
:8288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8288 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8289 if test -z "$ac_err"; then
8293 echo "configure: failed program was:" >&5
8294 cat conftest.
$ac_ext >&5
8303 ac_cv_prog_CPP
="$CPP"
8305 CPP
="$ac_cv_prog_CPP"
8307 ac_cv_prog_CPP
="$CPP"
8309 echo "$ac_t""$CPP" 1>&6
8311 if test $ac_cv_prog_gcc = yes; then
8312 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8313 echo "configure:8314: checking whether ${CC-cc} needs -traditional" >&5
8314 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8315 echo $ac_n "(cached) $ac_c" 1>&6
8317 ac_pattern
="Autoconf.*'x'"
8318 cat > conftest.
$ac_ext <<EOF
8319 #line 8320 "configure"
8320 #include "confdefs.h"
8324 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8325 egrep "$ac_pattern" >/dev
/null
2>&1; then
8327 ac_cv_prog_gcc_traditional
=yes
8330 ac_cv_prog_gcc_traditional
=no
8335 if test $ac_cv_prog_gcc_traditional = no
; then
8336 cat > conftest.
$ac_ext <<EOF
8337 #line 8338 "configure"
8338 #include "confdefs.h"
8342 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8343 egrep "$ac_pattern" >/dev
/null
2>&1; then
8345 ac_cv_prog_gcc_traditional
=yes
8352 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8353 if test $ac_cv_prog_gcc_traditional = yes; then
8354 CC
="$CC -traditional"
8361 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8362 ac_cpp
='$CXXCPP $CPPFLAGS'
8363 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8364 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8365 cross_compiling
=$ac_cv_prog_cxx_cross
8368 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8370 # Extract the first word of "$ac_prog", so it can be a program name with args.
8371 set dummy
$ac_prog; ac_word
=$2
8372 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8373 echo "configure:8374: checking for $ac_word" >&5
8374 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8375 echo $ac_n "(cached) $ac_c" 1>&6
8377 if test -n "$CXX"; then
8378 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8380 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8382 for ac_dir
in $ac_dummy; do
8383 test -z "$ac_dir" && ac_dir
=.
8384 if test -f $ac_dir/$ac_word; then
8385 ac_cv_prog_CXX
="$ac_prog"
8392 CXX
="$ac_cv_prog_CXX"
8393 if test -n "$CXX"; then
8394 echo "$ac_t""$CXX" 1>&6
8396 echo "$ac_t""no" 1>&6
8399 test -n "$CXX" && break
8401 test -n "$CXX" || CXX
="gcc"
8404 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8405 echo "configure:8406: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8408 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8409 ac_cpp
='$CXXCPP $CPPFLAGS'
8410 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8411 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8412 cross_compiling
=$ac_cv_prog_cxx_cross
8414 cat > conftest.
$ac_ext << EOF
8416 #line 8417 "configure"
8417 #include "confdefs.h"
8419 int main(){return(0);}
8421 if { (eval echo configure
:8422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8422 ac_cv_prog_cxx_works
=yes
8423 # If we can't run a trivial program, we are probably using a cross compiler.
8424 if (.
/conftest
; exit) 2>/dev
/null
; then
8425 ac_cv_prog_cxx_cross
=no
8427 ac_cv_prog_cxx_cross
=yes
8430 echo "configure: failed program was:" >&5
8431 cat conftest.
$ac_ext >&5
8432 ac_cv_prog_cxx_works
=no
8436 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8437 ac_cpp
='$CXXCPP $CPPFLAGS'
8438 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8439 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8440 cross_compiling
=$ac_cv_prog_cxx_cross
8442 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8443 if test $ac_cv_prog_cxx_works = no
; then
8444 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8446 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8447 echo "configure:8448: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8448 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8449 cross_compiling
=$ac_cv_prog_cxx_cross
8451 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8452 echo "configure:8453: checking whether we are using GNU C++" >&5
8453 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8454 echo $ac_n "(cached) $ac_c" 1>&6
8456 cat > conftest.C
<<EOF
8461 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8462: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8468 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8470 if test $ac_cv_prog_gxx = yes; then
8476 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8477 ac_save_CXXFLAGS
="$CXXFLAGS"
8479 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8480 echo "configure:8481: checking whether ${CXX-g++} accepts -g" >&5
8481 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8482 echo $ac_n "(cached) $ac_c" 1>&6
8484 echo 'void f(){}' > conftest.cc
8485 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8486 ac_cv_prog_cxx_g
=yes
8494 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8495 if test "$ac_test_CXXFLAGS" = set; then
8496 CXXFLAGS
="$ac_save_CXXFLAGS"
8497 elif test $ac_cv_prog_cxx_g = yes; then
8498 if test "$GXX" = yes; then
8504 if test "$GXX" = yes; then
8512 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8515 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8516 ac_cpp
='$CPP $CPPFLAGS'
8517 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8518 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8519 cross_compiling
=$ac_cv_prog_cc_cross
8522 # Extract the first word of "ranlib", so it can be a program name with args.
8523 set dummy ranlib
; ac_word
=$2
8524 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8525 echo "configure:8526: checking for $ac_word" >&5
8526 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8527 echo $ac_n "(cached) $ac_c" 1>&6
8529 if test -n "$RANLIB"; then
8530 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8532 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8534 for ac_dir
in $ac_dummy; do
8535 test -z "$ac_dir" && ac_dir
=.
8536 if test -f $ac_dir/$ac_word; then
8537 ac_cv_prog_RANLIB
="ranlib"
8542 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8545 RANLIB
="$ac_cv_prog_RANLIB"
8546 if test -n "$RANLIB"; then
8547 echo "$ac_t""$RANLIB" 1>&6
8549 echo "$ac_t""no" 1>&6
8553 # Extract the first word of "ar", so it can be a program name with args.
8554 set dummy
ar; ac_word
=$2
8555 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8556 echo "configure:8557: checking for $ac_word" >&5
8557 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8558 echo $ac_n "(cached) $ac_c" 1>&6
8560 if test -n "$AR"; then
8561 ac_cv_prog_AR
="$AR" # Let the user override the test.
8563 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8565 for ac_dir
in $ac_dummy; do
8566 test -z "$ac_dir" && ac_dir
=.
8567 if test -f $ac_dir/$ac_word; then
8573 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8577 if test -n "$AR"; then
8578 echo "$ac_t""$AR" 1>&6
8580 echo "$ac_t""no" 1>&6
8584 # Find a good install program. We prefer a C program (faster),
8585 # so one script is as good as another. But avoid the broken or
8586 # incompatible versions:
8587 # SysV /etc/install, /usr/sbin/install
8588 # SunOS /usr/etc/install
8589 # IRIX /sbin/install
8591 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8592 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8593 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8594 # ./install, which can be erroneously created by make from ./install.sh.
8595 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8596 echo "configure:8597: checking for a BSD compatible install" >&5
8597 if test -z "$INSTALL"; then
8598 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8599 echo $ac_n "(cached) $ac_c" 1>&6
8601 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8602 for ac_dir
in $PATH; do
8603 # Account for people who put trailing slashes in PATH elements.
8605 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8607 # OSF1 and SCO ODT 3.0 have their own names for install.
8608 # Don't use installbsd from OSF since it installs stuff as root
8610 for ac_prog
in ginstall scoinst
install; do
8611 if test -f $ac_dir/$ac_prog; then
8612 if test $ac_prog = install &&
8613 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8614 # AIX install. It has an incompatible calling convention.
8617 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8628 if test "${ac_cv_path_install+set}" = set; then
8629 INSTALL
="$ac_cv_path_install"
8631 # As a last resort, use the slow shell script. We don't cache a
8632 # path for INSTALL within a source directory, because that will
8633 # break other packages using the cache if that directory is
8634 # removed, or if the path is relative.
8635 INSTALL
="$ac_install_sh"
8638 echo "$ac_t""$INSTALL" 1>&6
8640 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8641 # It thinks the first close brace ends the variable substitution.
8642 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8644 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8646 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8651 INSTALL_PROGRAM
="cp -fp"
8652 INSTALL_DATA
="cp -fp"
8658 # Extract the first word of "strip", so it can be a program name with args.
8659 set dummy strip
; ac_word
=$2
8660 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8661 echo "configure:8662: checking for $ac_word" >&5
8662 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8663 echo $ac_n "(cached) $ac_c" 1>&6
8665 if test -n "$STRIP"; then
8666 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8668 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8670 for ac_dir
in $ac_dummy; do
8671 test -z "$ac_dir" && ac_dir
=.
8672 if test -f $ac_dir/$ac_word; then
8673 ac_cv_prog_STRIP
="strip"
8678 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8681 STRIP
="$ac_cv_prog_STRIP"
8682 if test -n "$STRIP"; then
8683 echo "$ac_t""$STRIP" 1>&6
8685 echo "$ac_t""no" 1>&6
8689 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8690 echo "configure:8691: checking make for VPATH support" >&5
8691 cat - << EOF > confMake
8697 if test ! -d sub
; then
8700 echo dummy
> sub
/file
8701 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8703 rm -f sub
/file check final_file confMake
8705 if test "$RESULT" = 0; then
8706 echo "$ac_t""yes" 1>&6
8708 echo "$ac_t""no" 1>&6
8709 { echo "configure: error:
8710 You need a make-utility that is able to use the variable
8712 If your version of make does not support VPATH correctly,
8713 please install GNU-make (possibly as gmake), and start
8714 configure with the following command:
8715 export MAKE=gmake; ./configure for sh-type shells
8716 setenv MAKE gmake; ./configure for csh-type shells
8717 Also please do remember to use gmake in this case every time
8718 you are trying to compile.
8722 for ac_prog
in 'bison -y' byacc
8724 # Extract the first word of "$ac_prog", so it can be a program name with args.
8725 set dummy
$ac_prog; ac_word
=$2
8726 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8727 echo "configure:8728: checking for $ac_word" >&5
8728 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8729 echo $ac_n "(cached) $ac_c" 1>&6
8731 if test -n "$YACC"; then
8732 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8734 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8736 for ac_dir
in $ac_dummy; do
8737 test -z "$ac_dir" && ac_dir
=.
8738 if test -f $ac_dir/$ac_word; then
8739 ac_cv_prog_YACC
="$ac_prog"
8746 YACC
="$ac_cv_prog_YACC"
8747 if test -n "$YACC"; then
8748 echo "$ac_t""$YACC" 1>&6
8750 echo "$ac_t""no" 1>&6
8753 test -n "$YACC" && break
8755 test -n "$YACC" || YACC
="yacc"
8758 # Extract the first word of "flex", so it can be a program name with args.
8759 set dummy flex
; ac_word
=$2
8760 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8761 echo "configure:8762: checking for $ac_word" >&5
8762 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8763 echo $ac_n "(cached) $ac_c" 1>&6
8765 if test -n "$LEX"; then
8766 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8768 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8770 for ac_dir
in $ac_dummy; do
8771 test -z "$ac_dir" && ac_dir
=.
8772 if test -f $ac_dir/$ac_word; then
8773 ac_cv_prog_LEX
="flex"
8778 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8781 LEX
="$ac_cv_prog_LEX"
8782 if test -n "$LEX"; then
8783 echo "$ac_t""$LEX" 1>&6
8785 echo "$ac_t""no" 1>&6
8788 if test -z "$LEXLIB"
8794 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8795 echo "configure:8796: checking for yywrap in -l$ac_lib" >&5
8796 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8797 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8798 echo $ac_n "(cached) $ac_c" 1>&6
8800 ac_save_LIBS
="$LIBS"
8801 LIBS
="-l$ac_lib $LIBS"
8802 cat > conftest.
$ac_ext <<EOF
8803 #line 8804 "configure"
8804 #include "confdefs.h"
8805 /* Override any gcc2 internal prototype to avoid an error. */
8806 /* We use char because int might match the return type of a gcc2
8807 builtin and then its argument prototype would still apply. */
8814 if { (eval echo configure
:8815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8816 eval "ac_cv_lib_$ac_lib_var=yes"
8818 echo "configure: failed program was:" >&5
8819 cat conftest.
$ac_ext >&5
8821 eval "ac_cv_lib_$ac_lib_var=no"
8824 LIBS
="$ac_save_LIBS"
8827 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8828 echo "$ac_t""yes" 1>&6
8831 echo "$ac_t""no" 1>&6
8837 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8838 echo "configure:8839: checking whether ln -s works" >&5
8839 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8840 echo $ac_n "(cached) $ac_c" 1>&6
8843 if ln -s X conftestdata
2>/dev
/null
8846 ac_cv_prog_LN_S
="ln -s"
8851 LN_S
="$ac_cv_prog_LN_S"
8852 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8853 echo "$ac_t""yes" 1>&6
8855 echo "$ac_t""no" 1>&6
8861 /usr/local/include \
8863 /usr/Motif-1.2/include \
8864 /usr/Motif-2.1/include \
8866 /usr/include/Motif1.2 \
8867 /opt/xpm/include/X11 \
8868 /opt/GBxpm/include/ \
8869 /opt/GBxpm/X11/include/ \
8871 /usr/Motif1.2/include \
8873 /usr/openwin/include \
8877 /usr/X11R6/include \
8878 /usr/X11R6.4/include \
8879 /usr/X11R5/include \
8880 /usr/X11R4/include \
8882 /usr/include/X11R6 \
8883 /usr/include/X11R5 \
8884 /usr/include/X11R4 \
8886 /usr/local/X11R6/include \
8887 /usr/local/X11R5/include \
8888 /usr/local/X11R4/include \
8890 /usr/local/include/X11R6 \
8891 /usr/local/include/X11R5 \
8892 /usr/local/include/X11R4 \
8896 /usr/local/X11/include \
8897 /usr/local/include/X11 \
8901 /usr/XFree86/include/X11 \
8903 X:/XFree86/include \
8904 X:/XFree86/include/X11 \
8907 /usr/local/include/gtk \
8909 /usr/local/include/glib \
8912 /usr/local/include/qt \
8914 /usr/include/windows \
8916 /usr/local/include/wine \
8918 /usr/unsupported/include \
8919 /usr/athena/include \
8920 /usr/local/x11r5/include \
8921 /usr/lpp/Xamples/include \
8923 /usr/openwin/share/include \
8927 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8930 cat > confcache
<<\EOF
8931 # This file is a shell script that caches the results of configure
8932 # tests run on this system so they can be shared between configure
8933 # scripts and configure runs. It is not useful on other systems.
8934 # If it contains results you don't want to keep, you may remove or edit it.
8936 # By default, configure uses ./config.cache as the cache file,
8937 # creating it if it does not exist already. You can give configure
8938 # the --cache-file=FILE option to use a different cache file; that is
8939 # what configure does when it calls configure scripts in
8940 # subdirectories, so they share the cache.
8941 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8942 # config.status only pays attention to the cache file if you give it the
8943 # --recheck option to rerun configure.
8946 # The following way of writing the cache mishandles newlines in values,
8947 # but we know of no workaround that is simple, portable, and efficient.
8948 # So, don't put newlines in cache variables' values.
8949 # Ultrix sh set writes to stderr and can't be redirected directly,
8950 # and sets the high bit in the cache file unless we assign to the vars.
8952 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8954 # `set' does not quote correctly, so add quotes (double-quote substitution
8955 # turns \\\\ into \\, and sed turns \\ into \).
8957 -e "s/'/'\\\\''/g" \
8958 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8961 # `set' quotes correctly as required by POSIX, so do not add quotes.
8962 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8965 if cmp -s $cache_file confcache
; then
8968 if test -w $cache_file; then
8969 echo "updating cache $cache_file"
8970 cat confcache
> $cache_file
8972 echo "not updating unwritable cache $cache_file"
8981 if test "$wxUSE_REGEX" != "no"; then
8982 cat >> confdefs.h
<<\EOF
8983 #define wxUSE_REGEX 1
8987 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
8988 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
8989 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
8990 echo "configure:8991: checking for regex.h" >&5
8991 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8992 echo $ac_n "(cached) $ac_c" 1>&6
8994 cat > conftest.
$ac_ext <<EOF
8995 #line 8996 "configure"
8996 #include "confdefs.h"
8999 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9000 { (eval echo configure
:9001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9001 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9002 if test -z "$ac_err"; then
9004 eval "ac_cv_header_$ac_safe=yes"
9007 echo "configure: failed program was:" >&5
9008 cat conftest.
$ac_ext >&5
9010 eval "ac_cv_header_$ac_safe=no"
9014 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9015 echo "$ac_t""yes" 1>&6
9016 for ac_func
in regcomp
9018 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9019 echo "configure:9020: checking for $ac_func" >&5
9020 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9021 echo $ac_n "(cached) $ac_c" 1>&6
9023 cat > conftest.
$ac_ext <<EOF
9024 #line 9025 "configure"
9025 #include "confdefs.h"
9026 /* System header to define __stub macros and hopefully few prototypes,
9027 which can conflict with char $ac_func(); below. */
9029 /* Override any gcc2 internal prototype to avoid an error. */
9030 /* We use char because int might match the return type of a gcc2
9031 builtin and then its argument prototype would still apply. */
9036 /* The GNU C library defines this for functions which it implements
9037 to always fail with ENOSYS. Some functions are actually named
9038 something starting with __ and the normal name is an alias. */
9039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9047 if { (eval echo configure
:9048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9049 eval "ac_cv_func_$ac_func=yes"
9051 echo "configure: failed program was:" >&5
9052 cat conftest.
$ac_ext >&5
9054 eval "ac_cv_func_$ac_func=no"
9059 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9060 echo "$ac_t""yes" 1>&6
9061 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9062 cat >> confdefs.h
<<EOF
9063 #define $ac_tr_func 1
9067 echo "$ac_t""no" 1>&6
9072 echo "$ac_t""no" 1>&6
9076 if test "x$ac_cv_func_regcomp" != "xyes"; then
9077 if test "$wxUSE_REGEX" = "sys" ; then
9078 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9080 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9088 if test "$wxUSE_REGEX" = "builtin" ; then
9089 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9096 if test "$wxUSE_ZLIB" != "no" ; then
9097 cat >> confdefs.h
<<\EOF
9098 #define wxUSE_ZLIB 1
9102 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9103 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9104 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9105 echo "configure:9106: checking for zlib.h" >&5
9106 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9107 echo $ac_n "(cached) $ac_c" 1>&6
9109 cat > conftest.
$ac_ext <<EOF
9110 #line 9111 "configure"
9111 #include "confdefs.h"
9114 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9115 { (eval echo configure
:9116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9116 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9117 if test -z "$ac_err"; then
9119 eval "ac_cv_header_$ac_safe=yes"
9122 echo "configure: failed program was:" >&5
9123 cat conftest.
$ac_ext >&5
9125 eval "ac_cv_header_$ac_safe=no"
9129 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9130 echo "$ac_t""yes" 1>&6
9131 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9132 echo "configure:9133: checking for deflate in -lz" >&5
9133 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9134 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9135 echo $ac_n "(cached) $ac_c" 1>&6
9137 ac_save_LIBS
="$LIBS"
9139 cat > conftest.
$ac_ext <<EOF
9140 #line 9141 "configure"
9141 #include "confdefs.h"
9142 /* Override any gcc2 internal prototype to avoid an error. */
9143 /* We use char because int might match the return type of a gcc2
9144 builtin and then its argument prototype would still apply. */
9151 if { (eval echo configure
:9152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9153 eval "ac_cv_lib_$ac_lib_var=yes"
9155 echo "configure: failed program was:" >&5
9156 cat conftest.
$ac_ext >&5
9158 eval "ac_cv_lib_$ac_lib_var=no"
9161 LIBS
="$ac_save_LIBS"
9164 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9165 echo "$ac_t""yes" 1>&6
9168 echo "$ac_t""no" 1>&6
9172 echo "$ac_t""no" 1>&6
9176 if test "x$ZLIB_LINK" = "x" ; then
9177 if test "$wxUSE_ZLIB" = "sys" ; then
9178 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9180 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9188 if test "$wxUSE_ZLIB" = "builtin" ; then
9189 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9196 if test "$wxUSE_LIBPNG" != "no" ; then
9197 cat >> confdefs.h
<<\EOF
9198 #define wxUSE_LIBPNG 1
9202 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9203 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9204 wxUSE_LIBPNG
=builtin
9207 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9208 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9209 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9210 echo "configure:9211: checking for png.h" >&5
9211 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9212 echo $ac_n "(cached) $ac_c" 1>&6
9214 cat > conftest.
$ac_ext <<EOF
9215 #line 9216 "configure"
9216 #include "confdefs.h"
9219 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9220 { (eval echo configure
:9221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9221 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9222 if test -z "$ac_err"; then
9224 eval "ac_cv_header_$ac_safe=yes"
9227 echo "configure: failed program was:" >&5
9228 cat conftest.
$ac_ext >&5
9230 eval "ac_cv_header_$ac_safe=no"
9234 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9235 echo "$ac_t""yes" 1>&6
9236 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9237 echo "configure:9238: checking for png_check_sig in -lpng" >&5
9238 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9239 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9240 echo $ac_n "(cached) $ac_c" 1>&6
9242 ac_save_LIBS
="$LIBS"
9243 LIBS
="-lpng -lz -lm $LIBS"
9244 cat > conftest.
$ac_ext <<EOF
9245 #line 9246 "configure"
9246 #include "confdefs.h"
9247 /* Override any gcc2 internal prototype to avoid an error. */
9248 /* We use char because int might match the return type of a gcc2
9249 builtin and then its argument prototype would still apply. */
9250 char png_check_sig();
9256 if { (eval echo configure
:9257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9258 eval "ac_cv_lib_$ac_lib_var=yes"
9260 echo "configure: failed program was:" >&5
9261 cat conftest.
$ac_ext >&5
9263 eval "ac_cv_lib_$ac_lib_var=no"
9266 LIBS
="$ac_save_LIBS"
9269 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9270 echo "$ac_t""yes" 1>&6
9273 echo "$ac_t""no" 1>&6
9278 echo "$ac_t""no" 1>&6
9282 if test "x$PNG_LINK" = "x" ; then
9283 if test "$wxUSE_LIBPNG" = "sys" ; then
9284 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9286 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9287 wxUSE_LIBPNG
=builtin
9294 if test "$wxUSE_LIBPNG" = "builtin" ; then
9295 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
9298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
9304 if test "$wxUSE_LIBJPEG" != "no" ; then
9305 cat >> confdefs.h
<<\EOF
9306 #define wxUSE_LIBJPEG 1
9310 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9311 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9312 echo "configure:9313: checking for jpeglib.h" >&5
9313 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9314 echo $ac_n "(cached) $ac_c" 1>&6
9316 cat > conftest.
$ac_ext <<EOF
9317 #line 9318 "configure"
9318 #include "confdefs.h"
9320 #undef HAVE_STDLIB_H
9322 #include <jpeglib.h>
9329 if { (eval echo configure
:9330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9331 ac_cv_header_jpeglib_h
=yes
9333 echo "configure: failed program was:" >&5
9334 cat conftest.
$ac_ext >&5
9336 ac_cv_header_jpeglib_h
=no
9343 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
9345 if test "$ac_cv_header_jpeglib_h" = "yes"; then
9346 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
9347 echo "configure:9348: checking for jpeg_read_header in -ljpeg" >&5
9348 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
9349 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9350 echo $ac_n "(cached) $ac_c" 1>&6
9352 ac_save_LIBS
="$LIBS"
9354 cat > conftest.
$ac_ext <<EOF
9355 #line 9356 "configure"
9356 #include "confdefs.h"
9357 /* Override any gcc2 internal prototype to avoid an error. */
9358 /* We use char because int might match the return type of a gcc2
9359 builtin and then its argument prototype would still apply. */
9360 char jpeg_read_header();
9366 if { (eval echo configure
:9367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9368 eval "ac_cv_lib_$ac_lib_var=yes"
9370 echo "configure: failed program was:" >&5
9371 cat conftest.
$ac_ext >&5
9373 eval "ac_cv_lib_$ac_lib_var=no"
9376 LIBS
="$ac_save_LIBS"
9379 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9380 echo "$ac_t""yes" 1>&6
9383 echo "$ac_t""no" 1>&6
9388 if test "x$JPEG_LINK" = "x" ; then
9389 if test "$wxUSE_LIBJPEG" = "sys" ; then
9390 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
9392 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
9393 wxUSE_LIBJPEG
=builtin
9400 if test "$wxUSE_LIBJPEG" = "builtin" ; then
9401 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
9408 if test "$wxUSE_LIBTIFF" != "no" ; then
9409 cat >> confdefs.h
<<\EOF
9410 #define wxUSE_LIBTIFF 1
9414 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
9415 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
9416 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
9417 echo "configure:9418: checking for tiffio.h" >&5
9418 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9419 echo $ac_n "(cached) $ac_c" 1>&6
9421 cat > conftest.
$ac_ext <<EOF
9422 #line 9423 "configure"
9423 #include "confdefs.h"
9426 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9427 { (eval echo configure
:9428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9428 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9429 if test -z "$ac_err"; then
9431 eval "ac_cv_header_$ac_safe=yes"
9434 echo "configure: failed program was:" >&5
9435 cat conftest.
$ac_ext >&5
9437 eval "ac_cv_header_$ac_safe=no"
9441 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9442 echo "$ac_t""yes" 1>&6
9443 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
9444 echo "configure:9445: checking for TIFFError in -ltiff" >&5
9445 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
9446 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9447 echo $ac_n "(cached) $ac_c" 1>&6
9449 ac_save_LIBS
="$LIBS"
9450 LIBS
="-ltiff -lm $LIBS"
9451 cat > conftest.
$ac_ext <<EOF
9452 #line 9453 "configure"
9453 #include "confdefs.h"
9454 /* Override any gcc2 internal prototype to avoid an error. */
9455 /* We use char because int might match the return type of a gcc2
9456 builtin and then its argument prototype would still apply. */
9463 if { (eval echo configure
:9464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9465 eval "ac_cv_lib_$ac_lib_var=yes"
9467 echo "configure: failed program was:" >&5
9468 cat conftest.
$ac_ext >&5
9470 eval "ac_cv_lib_$ac_lib_var=no"
9473 LIBS
="$ac_save_LIBS"
9476 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9477 echo "$ac_t""yes" 1>&6
9480 echo "$ac_t""no" 1>&6
9485 echo "$ac_t""no" 1>&6
9489 if test "x$TIFF_LINK" = "x" ; then
9490 if test "$wxUSE_LIBTIFF" = "sys" ; then
9491 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
9493 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
9494 wxUSE_LIBTIFF
=builtin
9501 if test "$wxUSE_LIBTIFF" = "builtin" ; then
9502 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
9509 if test "$wxUSE_FREETYPE" != "no" ; then
9510 cat >> confdefs.h
<<\EOF
9511 #define wxUSE_FREETYPE 1
9515 if test "$wxUSE_FREETYPE" = "sys" -o "$wxUSE_FREETYPE" = "yes" ; then
9516 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
9517 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
9518 echo "configure:9519: checking for freetype.h" >&5
9519 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9520 echo $ac_n "(cached) $ac_c" 1>&6
9522 cat > conftest.
$ac_ext <<EOF
9523 #line 9524 "configure"
9524 #include "confdefs.h"
9525 #include <freetype.h>
9527 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9528 { (eval echo configure
:9529: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9529 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9530 if test -z "$ac_err"; then
9532 eval "ac_cv_header_$ac_safe=yes"
9535 echo "configure: failed program was:" >&5
9536 cat conftest.
$ac_ext >&5
9538 eval "ac_cv_header_$ac_safe=no"
9542 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9543 echo "$ac_t""yes" 1>&6
9544 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
9545 echo "configure:9546: checking for FT_Render_Glyph in -lfreetype" >&5
9546 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
9547 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9548 echo $ac_n "(cached) $ac_c" 1>&6
9550 ac_save_LIBS
="$LIBS"
9551 LIBS
="-lfreetype -lm $LIBS"
9552 cat > conftest.
$ac_ext <<EOF
9553 #line 9554 "configure"
9554 #include "confdefs.h"
9555 /* Override any gcc2 internal prototype to avoid an error. */
9556 /* We use char because int might match the return type of a gcc2
9557 builtin and then its argument prototype would still apply. */
9558 char FT_Render_Glyph();
9564 if { (eval echo configure
:9565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9566 eval "ac_cv_lib_$ac_lib_var=yes"
9568 echo "configure: failed program was:" >&5
9569 cat conftest.
$ac_ext >&5
9571 eval "ac_cv_lib_$ac_lib_var=no"
9574 LIBS
="$ac_save_LIBS"
9577 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9578 echo "$ac_t""yes" 1>&6
9579 FREETYPE_LINK
=" -lfreetype"
9581 echo "$ac_t""no" 1>&6
9586 echo "$ac_t""no" 1>&6
9590 if test "x$FREETYPE_LINK" = "x" ; then
9591 if test "$wxUSE_FREETYPE" = "sys" ; then
9592 { echo "configure: error: system freetype library not found! Use --with-freetype=builtin to use built-in version" 1>&2; exit 1; }
9594 echo "configure: warning: system freetype library not found, will use built-in instead" 1>&2
9595 wxUSE_FREETYPE
=builtin
9602 if test "$wxUSE_FREETYPE" = "builtin" ; then
9603 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
9614 if test "$USE_WIN32" = 1 ; then
9615 for ac_hdr
in w32api.h
9617 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9618 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9619 echo "configure:9620: checking for $ac_hdr" >&5
9620 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9621 echo $ac_n "(cached) $ac_c" 1>&6
9623 cat > conftest.
$ac_ext <<EOF
9624 #line 9625 "configure"
9625 #include "confdefs.h"
9628 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9629 { (eval echo configure
:9630: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9630 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9631 if test -z "$ac_err"; then
9633 eval "ac_cv_header_$ac_safe=yes"
9636 echo "configure: failed program was:" >&5
9637 cat conftest.
$ac_ext >&5
9639 eval "ac_cv_header_$ac_safe=no"
9643 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9644 echo "$ac_t""yes" 1>&6
9645 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9646 cat >> confdefs.h
<<EOF
9647 #define $ac_tr_hdr 1
9651 echo "$ac_t""no" 1>&6
9655 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
9656 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9657 echo "configure:9658: checking for windows.h" >&5
9658 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9659 echo $ac_n "(cached) $ac_c" 1>&6
9661 cat > conftest.
$ac_ext <<EOF
9662 #line 9663 "configure"
9663 #include "confdefs.h"
9664 #include <windows.h>
9666 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9667 { (eval echo configure
:9668: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9668 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9669 if test -z "$ac_err"; then
9671 eval "ac_cv_header_$ac_safe=yes"
9674 echo "configure: failed program was:" >&5
9675 cat conftest.
$ac_ext >&5
9677 eval "ac_cv_header_$ac_safe=no"
9681 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9682 echo "$ac_t""yes" 1>&6
9685 echo "$ac_t""no" 1>&6
9687 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9692 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
9693 echo "configure:9694: checking if w32api has good enough MSIE support" >&5
9694 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
9695 echo $ac_n "(cached) $ac_c" 1>&6
9698 cat > conftest.
$ac_ext <<EOF
9699 #line 9700 "configure"
9700 #include "confdefs.h"
9704 #define wxCHECK_W32API_VERSION( major, minor ) \
9705 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
9706 && ( ( __W32API_MAJOR_VERSION > (major) ) \
9707 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
9709 #if !wxCHECK_W32API_VERSION(1,1)
9710 #error You need w32api 1.1 or newer
9715 if { (eval echo configure
:9716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9718 wx_cv_w32api_win32_ie
=yes
9721 echo "configure: failed program was:" >&5
9722 cat conftest.
$ac_ext >&5
9725 wx_cv_w32api_win32_ie
=no
9732 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
9733 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
9734 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
9737 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9741 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
9742 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
9745 if test "$wxUSE_ODBC" = "yes" ; then
9746 LIBS
=" -lodbc32 -lole32 -loleaut32$LIBS"
9749 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
9750 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
9753 if test "$wxUSE_GUI" = "yes"; then
9762 if test "$wxUSE_MSW" = 1 ; then
9768 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
9772 if test "$wxUSE_GTK" = 1; then
9773 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9774 echo "configure:9775: checking for GTK+ version" >&5
9776 gtk_version_cached
=1
9777 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9778 echo $ac_n "(cached) $ac_c" 1>&6
9781 gtk_version_cached
=0
9785 if test "x$wxUSE_GTK2" = "xyes"; then
9786 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9787 if test "${with_gtk_prefix+set}" = set; then
9788 withval
="$with_gtk_prefix"
9789 gtk_config_prefix
="$withval"
9791 gtk_config_prefix
=""
9794 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9795 if test "${with_gtk_exec_prefix+set}" = set; then
9796 withval
="$with_gtk_exec_prefix"
9797 gtk_config_exec_prefix
="$withval"
9799 gtk_config_exec_prefix
=""
9802 # Check whether --enable-gtktest or --disable-gtktest was given.
9803 if test "${enable_gtktest+set}" = set; then
9804 enableval
="$enable_gtktest"
9815 gtk_config_args
="$gtk_config_args gthread"
9820 if test x
$gtk_config_exec_prefix != x
; then
9821 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9822 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9823 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
9826 if test x
$gtk_config_prefix != x
; then
9827 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9828 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9829 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
9833 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9834 set dummy gtk
-config-2.0
; ac_word
=$2
9835 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9836 echo "configure:9837: checking for $ac_word" >&5
9837 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9838 echo $ac_n "(cached) $ac_c" 1>&6
9840 case "$GTK_CONFIG_2_0" in
9842 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9845 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9848 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9850 for ac_dir
in $ac_dummy; do
9851 test -z "$ac_dir" && ac_dir
=.
9852 if test -f $ac_dir/$ac_word; then
9853 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
9858 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
9862 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
9863 if test -n "$GTK_CONFIG_2_0"; then
9864 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9866 echo "$ac_t""no" 1>&6
9869 min_gtk_version
=1.3.1
9870 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9871 echo "configure:9872: checking for GTK - version >= $min_gtk_version" >&5
9873 if test "$GTK_CONFIG_2_0" = "no" ; then
9876 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9877 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9878 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9879 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9880 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9882 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9883 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9884 if test "x$enable_gtktest" = "xyes" ; then
9885 ac_save_CFLAGS
="$CFLAGS"
9886 ac_save_LIBS
="$LIBS"
9887 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9888 LIBS
="$GTK_LIBS $LIBS"
9890 if test "$cross_compiling" = yes; then
9891 echo $ac_n "cross compiling; assumed OK... $ac_c"
9893 cat > conftest.
$ac_ext <<EOF
9894 #line 9895 "configure"
9895 #include "confdefs.h"
9897 #include <gtk/gtk.h>
9904 int major, minor, micro;
9907 system ("touch conf.gtktest");
9909 /* HP/UX 9 (%@#!) writes to sscanf strings */
9910 tmp_version = g_strdup("$min_gtk_version");
9911 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9912 printf("%s, bad version string\n", "$min_gtk_version");
9916 if ((gtk_major_version != $gtk_config_major_version) ||
9917 (gtk_minor_version != $gtk_config_minor_version) ||
9918 (gtk_micro_version != $gtk_config_micro_version))
9920 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9921 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9922 gtk_major_version, gtk_minor_version, gtk_micro_version);
9923 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9924 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9925 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9926 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9927 printf("*** required on your system.\n");
9928 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9929 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9930 printf("*** before re-running configure\n");
9932 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9933 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9934 (gtk_minor_version != GTK_MINOR_VERSION) ||
9935 (gtk_micro_version != GTK_MICRO_VERSION))
9937 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9938 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9939 printf("*** library (version %d.%d.%d)\n",
9940 gtk_major_version, gtk_minor_version, gtk_micro_version);
9942 #endif /* defined (GTK_MAJOR_VERSION) ... */
9945 if ((gtk_major_version > major) ||
9946 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9947 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9953 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9954 gtk_major_version, gtk_minor_version, gtk_micro_version);
9955 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9956 major, minor, micro);
9957 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9959 printf("*** If you have already installed a sufficiently new version, this error\n");
9960 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9961 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9962 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9963 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9964 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9965 printf("*** so that the correct libraries are found at run-time))\n");
9972 if { (eval echo configure
:9973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9976 echo "configure: failed program was:" >&5
9977 cat conftest.
$ac_ext >&5
9984 CFLAGS
="$ac_save_CFLAGS"
9985 LIBS
="$ac_save_LIBS"
9988 if test "x$no_gtk" = x
; then
9989 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9992 echo "$ac_t""no" 1>&6
9993 if test "$GTK_CONFIG_2_0" = "no" ; then
9994 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9995 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9996 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9997 echo "*** full path to gtk-config-2.0."
9999 if test -f conf.gtktest
; then
10002 echo "*** Could not run GTK test program, checking why..."
10003 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10004 LIBS
="$LIBS $GTK_LIBS"
10005 cat > conftest.
$ac_ext <<EOF
10006 #line 10007 "configure"
10007 #include "confdefs.h"
10009 #include <gtk/gtk.h>
10013 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10016 if { (eval echo configure
:10017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10018 echo "*** The test program compiled, but did not run. This usually means"
10019 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10020 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10021 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10022 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10023 echo "*** is required on your system"
10025 echo "*** If you have an old version installed, it is best to remove it, although"
10026 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10028 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10029 echo "*** came with the system with the command"
10031 echo "*** rpm --erase --nodeps gtk gtk-devel"
10033 echo "configure: failed program was:" >&5
10034 cat conftest.
$ac_ext >&5
10036 echo "*** The test program failed to compile or link. See the file config.log for the"
10037 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10038 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10039 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
10042 CFLAGS
="$ac_save_CFLAGS"
10043 LIBS
="$ac_save_LIBS"
10056 if test -z "$wx_cv_lib_gtk"; then
10058 if test x
$gtk_config_exec_prefix != x
; then
10059 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10060 if test x
${GTK_CONFIG+set} != xset
; then
10061 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10064 if test x
$gtk_config_prefix != x
; then
10065 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10066 if test x
${GTK_CONFIG+set} != xset
; then
10067 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10071 # Extract the first word of "gtk-config", so it can be a program name with args.
10072 set dummy gtk
-config; ac_word
=$2
10073 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10074 echo "configure:10075: checking for $ac_word" >&5
10075 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10076 echo $ac_n "(cached) $ac_c" 1>&6
10078 case "$GTK_CONFIG" in
10080 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10083 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10086 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10088 for ac_dir
in $ac_dummy; do
10089 test -z "$ac_dir" && ac_dir
=.
10090 if test -f $ac_dir/$ac_word; then
10091 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10096 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10100 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10101 if test -n "$GTK_CONFIG"; then
10102 echo "$ac_t""$GTK_CONFIG" 1>&6
10104 echo "$ac_t""no" 1>&6
10107 min_gtk_version
=1.2.7
10108 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10109 echo "configure:10110: checking for GTK - version >= $min_gtk_version" >&5
10111 if test "$GTK_CONFIG" != "no" ; then
10112 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
10113 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
10114 ac_save_CFLAGS
="$CFLAGS"
10115 ac_save_LIBS
="$LIBS"
10116 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10117 LIBS
="$LIBS $GTK_LIBS"
10118 if test "$cross_compiling" = yes; then
10119 echo $ac_n "cross compiling; assumed OK... $ac_c"
10121 cat > conftest.
$ac_ext <<EOF
10122 #line 10123 "configure"
10123 #include "confdefs.h"
10125 #include <gtk/gtk.h>
10126 #include <gtk/gtkfeatures.h>
10128 #include <stdlib.h>
10133 int major, minor, micro;
10135 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
10136 printf("%s, bad version string\n", "$min_gtk_version");
10140 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
10141 (GTK_MINOR_VERSION != gtk_minor_version) ||
10142 (GTK_MICRO_VERSION != gtk_micro_version)) {
10143 printf("Headers vs. library version mismatch!\n");
10147 if (gtk_minor_version == 1) return FALSE;
10149 return !((gtk_major_version > major) ||
10150 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10151 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
10155 if { (eval echo configure
:10156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10159 echo "configure: failed program was:" >&5
10160 cat conftest.
$ac_ext >&5
10167 CFLAGS
="$ac_save_CFLAGS"
10168 LIBS
="$ac_save_LIBS"
10172 if test "x$no_gtk" = x
; then
10173 echo "$ac_t""yes" 1>&6
10174 wx_cv_lib_gtk
=1.2.7
10176 echo "$ac_t""no" 1>&6
10186 if test -z "$wx_cv_lib_gtk"; then
10188 if test x
$gtk_config_exec_prefix != x
; then
10189 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10190 if test x
${GTK_CONFIG+set} != xset
; then
10191 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10194 if test x
$gtk_config_prefix != x
; then
10195 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10196 if test x
${GTK_CONFIG+set} != xset
; then
10197 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10201 # Extract the first word of "gtk-config", so it can be a program name with args.
10202 set dummy gtk
-config; ac_word
=$2
10203 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10204 echo "configure:10205: checking for $ac_word" >&5
10205 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10206 echo $ac_n "(cached) $ac_c" 1>&6
10208 case "$GTK_CONFIG" in
10210 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10213 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10216 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10218 for ac_dir
in $ac_dummy; do
10219 test -z "$ac_dir" && ac_dir
=.
10220 if test -f $ac_dir/$ac_word; then
10221 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10226 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10230 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10231 if test -n "$GTK_CONFIG"; then
10232 echo "$ac_t""$GTK_CONFIG" 1>&6
10234 echo "$ac_t""no" 1>&6
10237 min_gtk_version
=1.2.3
10238 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10239 echo "configure:10240: checking for GTK - version >= $min_gtk_version" >&5
10241 if test "$GTK_CONFIG" != "no" ; then
10242 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
10243 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
10244 ac_save_CFLAGS
="$CFLAGS"
10245 ac_save_LIBS
="$LIBS"
10246 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10247 LIBS
="$LIBS $GTK_LIBS"
10248 if test "$cross_compiling" = yes; then
10249 echo $ac_n "cross compiling; assumed OK... $ac_c"
10251 cat > conftest.
$ac_ext <<EOF
10252 #line 10253 "configure"
10253 #include "confdefs.h"
10255 #include <gtk/gtk.h>
10256 #include <gtk/gtkfeatures.h>
10258 #include <stdlib.h>
10263 int major, minor, micro;
10265 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
10266 printf("%s, bad version string\n", "$min_gtk_version");
10270 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
10271 (GTK_MINOR_VERSION != gtk_minor_version) ||
10272 (GTK_MICRO_VERSION != gtk_micro_version)) {
10273 printf("Headers vs. library version mismatch!\n");
10277 if (gtk_minor_version == 1) return FALSE;
10279 return !((gtk_major_version > major) ||
10280 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10281 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
10285 if { (eval echo configure
:10286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10289 echo "configure: failed program was:" >&5
10290 cat conftest.
$ac_ext >&5
10297 CFLAGS
="$ac_save_CFLAGS"
10298 LIBS
="$ac_save_LIBS"
10302 if test "x$no_gtk" = x
; then
10303 echo "$ac_t""yes" 1>&6
10304 wx_cv_lib_gtk
=1.2.3
10306 echo "$ac_t""no" 1>&6
10316 if test -z "$wx_cv_lib_gtk"; then
10319 wx_cv_cflags_gtk
=$GTK_CFLAGS
10320 wx_cv_libs_gtk
=$GTK_LIBS
10327 if test "$gtk_version_cached" = 1; then
10328 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
10331 case "$wx_cv_lib_gtk" in
10339 *) { echo "configure: error:
10340 Please check that gtk-config is in path, the directory
10341 where GTK+ libraries are installed (returned by
10342 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
10343 equivalent variable and GTK+ is version 1.2.3 or above.
10348 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
10349 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
10351 AFMINSTALL
=afminstall
10355 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
10356 echo "configure:10357: checking for gdk_im_open in -lgdk" >&5
10357 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
10358 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10359 echo $ac_n "(cached) $ac_c" 1>&6
10361 ac_save_LIBS
="$LIBS"
10363 cat > conftest.
$ac_ext <<EOF
10364 #line 10365 "configure"
10365 #include "confdefs.h"
10366 /* Override any gcc2 internal prototype to avoid an error. */
10367 /* We use char because int might match the return type of a gcc2
10368 builtin and then its argument prototype would still apply. */
10369 char gdk_im_open();
10375 if { (eval echo configure
:10376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10377 eval "ac_cv_lib_$ac_lib_var=yes"
10379 echo "configure: failed program was:" >&5
10380 cat conftest.
$ac_ext >&5
10382 eval "ac_cv_lib_$ac_lib_var=no"
10385 LIBS
="$ac_save_LIBS"
10388 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10389 echo "$ac_t""yes" 1>&6
10390 cat >> confdefs.h
<<\EOF
10395 echo "$ac_t""no" 1>&6
10400 if test "$wxUSE_MGL" = 1; then
10402 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
10403 echo "configure:10404: checking for SciTech MGL library" >&5
10404 if test "x$MGL_ROOT" = x
; then
10405 echo "$ac_t""not found" 1>&6
10406 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
10408 echo "$ac_t""$MGL_ROOT" 1>&6
10411 mgl_os
=linux
/gcc
/glibc
10414 if test "$wxUSE_DEBUG_FLAG" = yes ; then
10415 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
10416 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
10420 if test "x$mgl_lib_type" = x
; then
10421 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
10422 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
10423 mgl_lib_type
=release
10425 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
10429 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
10430 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
10432 AFMINSTALL
=afminstall
10437 if test "$wxUSE_WINE" = 1; then
10438 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
10439 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10440 echo "configure:10441: checking for windows.h" >&5
10441 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10442 echo $ac_n "(cached) $ac_c" 1>&6
10444 cat > conftest.
$ac_ext <<EOF
10445 #line 10446 "configure"
10446 #include "confdefs.h"
10447 #include <windows.h>
10449 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10450 { (eval echo configure
:10451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10451 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10452 if test -z "$ac_err"; then
10454 eval "ac_cv_header_$ac_safe=yes"
10457 echo "configure: failed program was:" >&5
10458 cat conftest.
$ac_ext >&5
10460 eval "ac_cv_header_$ac_safe=no"
10464 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10465 echo "$ac_t""yes" 1>&6
10468 echo "$ac_t""no" 1>&6
10470 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10476 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10477 echo "configure:10478: checking for Xpm library" >&5
10480 for ac_dir
in $SEARCH_LIB;
10482 for ac_extension
in a so sl dylib
; do
10483 if test -f "$ac_dir/libXpm.$ac_extension"; then
10484 ac_find_libraries
=$ac_dir
10490 if test "$ac_find_libraries" != "" ; then
10491 GUI_TK_LIBRARY
="-L$ac_find_libraries"
10493 cat >> confdefs.h
<<\EOF
10494 #define wxHAVE_LIB_XPM 1
10497 echo "$ac_t""found at $ac_find_libraries" 1>&6
10499 echo "$ac_t""no" 1>&6
10500 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10504 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
10505 echo "configure:10506: checking for Mesa library" >&5
10508 for ac_dir
in $SEARCH_LIB;
10510 for ac_extension
in a so sl dylib
; do
10511 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
10512 ac_find_libraries
=$ac_dir
10518 if test "$ac_find_libraries" != "" ; then
10519 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
10520 mesa_link
=" -lMesaGL"
10521 echo "$ac_t""found at $ac_find_libraries" 1>&6
10523 { echo "configure: error: no" 1>&2; exit 1; }
10526 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
10529 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
10532 if test "$wxUSE_MOTIF" = 1; then
10533 # If we find X, set shell vars x_includes and x_libraries to the
10534 # paths, otherwise set no_x=yes.
10535 # Uses ac_ vars as temps to allow command line to override cache and checks.
10536 # --without-x overrides everything else, but does not touch the cache.
10537 echo $ac_n "checking for X""... $ac_c" 1>&6
10538 echo "configure:10539: checking for X" >&5
10540 # Check whether --with-x or --without-x was given.
10541 if test "${with_x+set}" = set; then
10546 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10547 if test "x$with_x" = xno
; then
10548 # The user explicitly disabled X.
10551 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
10552 # Both variables are already set.
10555 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
10556 echo $ac_n "(cached) $ac_c" 1>&6
10558 # One or both of the vars are not set, and there is no cached value.
10559 ac_x_includes
=NO ac_x_libraries
=NO
10561 if mkdir conftestdir
; then
10563 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
10564 cat > Imakefile
<<'EOF'
10566 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10568 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10569 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10570 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10571 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10572 for ac_extension
in a so sl
; do
10573 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
10574 test -f $ac_im_libdir/libX11.
$ac_extension; then
10575 ac_im_usrlibdir
=$ac_im_libdir; break
10578 # Screen out bogus values from the imake configuration. They are
10579 # bogus both because they are the default anyway, and because
10580 # using them would break gcc on systems where it needs fixed includes.
10581 case "$ac_im_incroot" in
10583 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
10585 case "$ac_im_usrlibdir" in
10586 /usr
/lib
| /lib
) ;;
10587 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
10594 if test "$ac_x_includes" = NO
; then
10595 # Guess where to find include files, by looking for this one X11 .h file.
10596 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
10598 # First, try using that file with no special directory specified.
10599 cat > conftest.
$ac_ext <<EOF
10600 #line 10601 "configure"
10601 #include "confdefs.h"
10602 #include <$x_direct_test_include>
10604 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10605 { (eval echo configure
:10606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10606 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10607 if test -z "$ac_err"; then
10609 # We can compile using X headers with no special include directory.
10613 echo "configure: failed program was:" >&5
10614 cat conftest.
$ac_ext >&5
10616 # Look for the header file in a standard set of common directories.
10617 # Check X11 before X11Rn because it is often a symlink to the current release.
10620 /usr
/X
11R
6/include \
10621 /usr
/X
11R
5/include \
10622 /usr
/X
11R
4/include \
10625 /usr
/include
/X11R6 \
10626 /usr
/include
/X11R5 \
10627 /usr
/include
/X11R4 \
10629 /usr
/local
/X
11/include \
10630 /usr
/local
/X
11R
6/include \
10631 /usr
/local
/X
11R
5/include \
10632 /usr
/local
/X
11R
4/include \
10634 /usr
/local
/include
/X11 \
10635 /usr
/local
/include
/X11R6 \
10636 /usr
/local
/include
/X11R5 \
10637 /usr
/local
/include
/X11R4 \
10639 /usr
/X
386/include \
10640 /usr
/x
386/include \
10641 /usr
/XFree
86/include
/X11 \
10644 /usr
/local
/include \
10645 /usr
/unsupported
/include \
10646 /usr
/athena
/include \
10647 /usr
/local
/x
11r
5/include \
10648 /usr
/lpp
/Xamples
/include \
10650 /usr
/openwin
/include \
10651 /usr
/openwin
/share
/include \
10654 if test -r "$ac_dir/$x_direct_test_include"; then
10655 ac_x_includes
=$ac_dir
10661 fi # $ac_x_includes = NO
10663 if test "$ac_x_libraries" = NO
; then
10664 # Check for the libraries.
10666 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
10667 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
10669 # See if we find them without any special options.
10670 # Don't add to $LIBS permanently.
10671 ac_save_LIBS
="$LIBS"
10672 LIBS
="-l$x_direct_test_library $LIBS"
10673 cat > conftest.
$ac_ext <<EOF
10674 #line 10675 "configure"
10675 #include "confdefs.h"
10678 ${x_direct_test_function}()
10681 if { (eval echo configure
:10682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10683 LIBS
="$ac_save_LIBS"
10684 # We can link X programs with no special library path.
10687 echo "configure: failed program was:" >&5
10688 cat conftest.
$ac_ext >&5
10690 LIBS
="$ac_save_LIBS"
10691 # First see if replacing the include by lib works.
10692 # Check X11 before X11Rn because it is often a symlink to the current release.
10693 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
10704 /usr
/local
/X
11/lib \
10705 /usr
/local
/X
11R
6/lib \
10706 /usr
/local
/X
11R
5/lib \
10707 /usr
/local
/X
11R
4/lib \
10709 /usr
/local
/lib
/X11 \
10710 /usr
/local
/lib
/X11R6 \
10711 /usr
/local
/lib
/X11R5 \
10712 /usr
/local
/lib
/X11R4 \
10716 /usr
/XFree
86/lib
/X11 \
10720 /usr
/unsupported
/lib \
10722 /usr
/local
/x
11r
5/lib \
10723 /usr
/lpp
/Xamples
/lib \
10727 /usr
/openwin
/share
/lib \
10730 for ac_extension
in a so sl
; do
10731 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
10732 ac_x_libraries
=$ac_dir
10739 fi # $ac_x_libraries = NO
10741 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
10742 # Didn't find X anywhere. Cache the known absence of X.
10743 ac_cv_have_x
="have_x=no"
10745 # Record where we found X for the cache.
10746 ac_cv_have_x
="have_x=yes \
10747 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10751 eval "$ac_cv_have_x"
10754 if test "$have_x" != yes; then
10755 echo "$ac_t""$have_x" 1>&6
10758 # If each of the values was on the command line, it overrides each guess.
10759 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10760 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10761 # Update the cache value to reflect the command line values.
10762 ac_cv_have_x
="have_x=yes \
10763 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10764 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
10767 if test "$no_x" = yes; then
10768 # Not all programs may use this symbol, but it does not hurt to define it.
10769 cat >> confdefs.h
<<\EOF
10770 #define X_DISPLAY_MISSING 1
10773 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
10775 if test -n "$x_includes"; then
10776 X_CFLAGS
="$X_CFLAGS -I$x_includes"
10779 # It would also be nice to do this for all -L options, not just this one.
10780 if test -n "$x_libraries"; then
10781 X_LIBS
="$X_LIBS -L$x_libraries"
10782 # For Solaris; some versions of Sun CC require a space after -R and
10783 # others require no space. Words are not sufficient . . . .
10784 case "`(uname -sr) 2>/dev/null`" in
10786 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
10787 echo "configure:10788: checking whether -R must be followed by a space" >&5
10788 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
10789 cat > conftest.
$ac_ext <<EOF
10790 #line 10791 "configure"
10791 #include "confdefs.h"
10797 if { (eval echo configure
:10798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10801 echo "configure: failed program was:" >&5
10802 cat conftest.
$ac_ext >&5
10807 if test $ac_R_nospace = yes; then
10808 echo "$ac_t""no" 1>&6
10809 X_LIBS
="$X_LIBS -R$x_libraries"
10811 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10812 cat > conftest.
$ac_ext <<EOF
10813 #line 10814 "configure"
10814 #include "confdefs.h"
10820 if { (eval echo configure
:10821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10824 echo "configure: failed program was:" >&5
10825 cat conftest.
$ac_ext >&5
10830 if test $ac_R_space = yes; then
10831 echo "$ac_t""yes" 1>&6
10832 X_LIBS
="$X_LIBS -R $x_libraries"
10834 echo "$ac_t""neither works" 1>&6
10837 LIBS
="$ac_xsave_LIBS"
10841 # Check for system-dependent libraries X programs must link with.
10842 # Do this before checking for the system-independent R6 libraries
10843 # (-lICE), since we may need -lsocket or whatever for X linking.
10845 if test "$ISC" = yes; then
10846 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10848 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
10849 # libraries were built with DECnet support. And karl@cs.umb.edu says
10850 # the Alpha needs dnet_stub (dnet does not exist).
10851 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
10852 echo "configure:10853: checking for dnet_ntoa in -ldnet" >&5
10853 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10854 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10855 echo $ac_n "(cached) $ac_c" 1>&6
10857 ac_save_LIBS
="$LIBS"
10858 LIBS
="-ldnet $LIBS"
10859 cat > conftest.
$ac_ext <<EOF
10860 #line 10861 "configure"
10861 #include "confdefs.h"
10862 /* Override any gcc2 internal prototype to avoid an error. */
10863 /* We use char because int might match the return type of a gcc2
10864 builtin and then its argument prototype would still apply. */
10871 if { (eval echo configure
:10872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10873 eval "ac_cv_lib_$ac_lib_var=yes"
10875 echo "configure: failed program was:" >&5
10876 cat conftest.
$ac_ext >&5
10878 eval "ac_cv_lib_$ac_lib_var=no"
10881 LIBS
="$ac_save_LIBS"
10884 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10885 echo "$ac_t""yes" 1>&6
10886 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10888 echo "$ac_t""no" 1>&6
10891 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10892 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
10893 echo "configure:10894: checking for dnet_ntoa in -ldnet_stub" >&5
10894 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10895 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10896 echo $ac_n "(cached) $ac_c" 1>&6
10898 ac_save_LIBS
="$LIBS"
10899 LIBS
="-ldnet_stub $LIBS"
10900 cat > conftest.
$ac_ext <<EOF
10901 #line 10902 "configure"
10902 #include "confdefs.h"
10903 /* Override any gcc2 internal prototype to avoid an error. */
10904 /* We use char because int might match the return type of a gcc2
10905 builtin and then its argument prototype would still apply. */
10912 if { (eval echo configure
:10913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10914 eval "ac_cv_lib_$ac_lib_var=yes"
10916 echo "configure: failed program was:" >&5
10917 cat conftest.
$ac_ext >&5
10919 eval "ac_cv_lib_$ac_lib_var=no"
10922 LIBS
="$ac_save_LIBS"
10925 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10926 echo "$ac_t""yes" 1>&6
10927 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10929 echo "$ac_t""no" 1>&6
10934 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10935 # to get the SysV transport functions.
10936 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10938 # The nsl library prevents programs from opening the X display
10939 # on Irix 5.2, according to dickey@clark.net.
10940 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10941 echo "configure:10942: checking for gethostbyname" >&5
10942 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10943 echo $ac_n "(cached) $ac_c" 1>&6
10945 cat > conftest.
$ac_ext <<EOF
10946 #line 10947 "configure"
10947 #include "confdefs.h"
10948 /* System header to define __stub macros and hopefully few prototypes,
10949 which can conflict with char gethostbyname(); below. */
10950 #include <assert.h>
10951 /* Override any gcc2 internal prototype to avoid an error. */
10952 /* We use char because int might match the return type of a gcc2
10953 builtin and then its argument prototype would still apply. */
10954 char gethostbyname();
10958 /* The GNU C library defines this for functions which it implements
10959 to always fail with ENOSYS. Some functions are actually named
10960 something starting with __ and the normal name is an alias. */
10961 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10969 if { (eval echo configure
:10970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10971 eval "ac_cv_func_gethostbyname=yes"
10973 echo "configure: failed program was:" >&5
10974 cat conftest.
$ac_ext >&5
10976 eval "ac_cv_func_gethostbyname=no"
10981 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10982 echo "$ac_t""yes" 1>&6
10985 echo "$ac_t""no" 1>&6
10988 if test $ac_cv_func_gethostbyname = no
; then
10989 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10990 echo "configure:10991: checking for gethostbyname in -lnsl" >&5
10991 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
10992 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10993 echo $ac_n "(cached) $ac_c" 1>&6
10995 ac_save_LIBS
="$LIBS"
10997 cat > conftest.
$ac_ext <<EOF
10998 #line 10999 "configure"
10999 #include "confdefs.h"
11000 /* Override any gcc2 internal prototype to avoid an error. */
11001 /* We use char because int might match the return type of a gcc2
11002 builtin and then its argument prototype would still apply. */
11003 char gethostbyname();
11009 if { (eval echo configure
:11010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11011 eval "ac_cv_lib_$ac_lib_var=yes"
11013 echo "configure: failed program was:" >&5
11014 cat conftest.
$ac_ext >&5
11016 eval "ac_cv_lib_$ac_lib_var=no"
11019 LIBS
="$ac_save_LIBS"
11022 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11023 echo "$ac_t""yes" 1>&6
11024 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
11026 echo "$ac_t""no" 1>&6
11031 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11032 # socket/setsockopt and other routines are undefined under SCO ODT
11033 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11034 # on later versions), says simon@lia.di.epfl.ch: it contains
11035 # gethostby* variants that don't use the nameserver (or something).
11036 # -lsocket must be given before -lnsl if both are needed.
11037 # We assume that if connect needs -lnsl, so does gethostbyname.
11038 echo $ac_n "checking for connect""... $ac_c" 1>&6
11039 echo "configure:11040: checking for connect" >&5
11040 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11041 echo $ac_n "(cached) $ac_c" 1>&6
11043 cat > conftest.
$ac_ext <<EOF
11044 #line 11045 "configure"
11045 #include "confdefs.h"
11046 /* System header to define __stub macros and hopefully few prototypes,
11047 which can conflict with char connect(); below. */
11048 #include <assert.h>
11049 /* Override any gcc2 internal prototype to avoid an error. */
11050 /* We use char because int might match the return type of a gcc2
11051 builtin and then its argument prototype would still apply. */
11056 /* The GNU C library defines this for functions which it implements
11057 to always fail with ENOSYS. Some functions are actually named
11058 something starting with __ and the normal name is an alias. */
11059 #if defined (__stub_connect) || defined (__stub___connect)
11067 if { (eval echo configure
:11068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11069 eval "ac_cv_func_connect=yes"
11071 echo "configure: failed program was:" >&5
11072 cat conftest.
$ac_ext >&5
11074 eval "ac_cv_func_connect=no"
11079 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11080 echo "$ac_t""yes" 1>&6
11083 echo "$ac_t""no" 1>&6
11086 if test $ac_cv_func_connect = no
; then
11087 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11088 echo "configure:11089: checking for connect in -lsocket" >&5
11089 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11090 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11091 echo $ac_n "(cached) $ac_c" 1>&6
11093 ac_save_LIBS
="$LIBS"
11094 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
11095 cat > conftest.
$ac_ext <<EOF
11096 #line 11097 "configure"
11097 #include "confdefs.h"
11098 /* Override any gcc2 internal prototype to avoid an error. */
11099 /* We use char because int might match the return type of a gcc2
11100 builtin and then its argument prototype would still apply. */
11107 if { (eval echo configure
:11108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11109 eval "ac_cv_lib_$ac_lib_var=yes"
11111 echo "configure: failed program was:" >&5
11112 cat conftest.
$ac_ext >&5
11114 eval "ac_cv_lib_$ac_lib_var=no"
11117 LIBS
="$ac_save_LIBS"
11120 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11121 echo "$ac_t""yes" 1>&6
11122 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
11124 echo "$ac_t""no" 1>&6
11129 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11130 echo $ac_n "checking for remove""... $ac_c" 1>&6
11131 echo "configure:11132: checking for remove" >&5
11132 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11133 echo $ac_n "(cached) $ac_c" 1>&6
11135 cat > conftest.
$ac_ext <<EOF
11136 #line 11137 "configure"
11137 #include "confdefs.h"
11138 /* System header to define __stub macros and hopefully few prototypes,
11139 which can conflict with char remove(); below. */
11140 #include <assert.h>
11141 /* Override any gcc2 internal prototype to avoid an error. */
11142 /* We use char because int might match the return type of a gcc2
11143 builtin and then its argument prototype would still apply. */
11148 /* The GNU C library defines this for functions which it implements
11149 to always fail with ENOSYS. Some functions are actually named
11150 something starting with __ and the normal name is an alias. */
11151 #if defined (__stub_remove) || defined (__stub___remove)
11159 if { (eval echo configure
:11160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11161 eval "ac_cv_func_remove=yes"
11163 echo "configure: failed program was:" >&5
11164 cat conftest.
$ac_ext >&5
11166 eval "ac_cv_func_remove=no"
11171 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
11172 echo "$ac_t""yes" 1>&6
11175 echo "$ac_t""no" 1>&6
11178 if test $ac_cv_func_remove = no
; then
11179 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
11180 echo "configure:11181: checking for remove in -lposix" >&5
11181 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
11182 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11183 echo $ac_n "(cached) $ac_c" 1>&6
11185 ac_save_LIBS
="$LIBS"
11186 LIBS
="-lposix $LIBS"
11187 cat > conftest.
$ac_ext <<EOF
11188 #line 11189 "configure"
11189 #include "confdefs.h"
11190 /* Override any gcc2 internal prototype to avoid an error. */
11191 /* We use char because int might match the return type of a gcc2
11192 builtin and then its argument prototype would still apply. */
11199 if { (eval echo configure
:11200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11201 eval "ac_cv_lib_$ac_lib_var=yes"
11203 echo "configure: failed program was:" >&5
11204 cat conftest.
$ac_ext >&5
11206 eval "ac_cv_lib_$ac_lib_var=no"
11209 LIBS
="$ac_save_LIBS"
11212 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11213 echo "$ac_t""yes" 1>&6
11214 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
11216 echo "$ac_t""no" 1>&6
11221 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11222 echo $ac_n "checking for shmat""... $ac_c" 1>&6
11223 echo "configure:11224: checking for shmat" >&5
11224 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
11225 echo $ac_n "(cached) $ac_c" 1>&6
11227 cat > conftest.
$ac_ext <<EOF
11228 #line 11229 "configure"
11229 #include "confdefs.h"
11230 /* System header to define __stub macros and hopefully few prototypes,
11231 which can conflict with char shmat(); below. */
11232 #include <assert.h>
11233 /* Override any gcc2 internal prototype to avoid an error. */
11234 /* We use char because int might match the return type of a gcc2
11235 builtin and then its argument prototype would still apply. */
11240 /* The GNU C library defines this for functions which it implements
11241 to always fail with ENOSYS. Some functions are actually named
11242 something starting with __ and the normal name is an alias. */
11243 #if defined (__stub_shmat) || defined (__stub___shmat)
11251 if { (eval echo configure
:11252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11253 eval "ac_cv_func_shmat=yes"
11255 echo "configure: failed program was:" >&5
11256 cat conftest.
$ac_ext >&5
11258 eval "ac_cv_func_shmat=no"
11263 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
11264 echo "$ac_t""yes" 1>&6
11267 echo "$ac_t""no" 1>&6
11270 if test $ac_cv_func_shmat = no
; then
11271 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
11272 echo "configure:11273: checking for shmat in -lipc" >&5
11273 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
11274 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11275 echo $ac_n "(cached) $ac_c" 1>&6
11277 ac_save_LIBS
="$LIBS"
11279 cat > conftest.
$ac_ext <<EOF
11280 #line 11281 "configure"
11281 #include "confdefs.h"
11282 /* Override any gcc2 internal prototype to avoid an error. */
11283 /* We use char because int might match the return type of a gcc2
11284 builtin and then its argument prototype would still apply. */
11291 if { (eval echo configure
:11292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11293 eval "ac_cv_lib_$ac_lib_var=yes"
11295 echo "configure: failed program was:" >&5
11296 cat conftest.
$ac_ext >&5
11298 eval "ac_cv_lib_$ac_lib_var=no"
11301 LIBS
="$ac_save_LIBS"
11304 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11305 echo "$ac_t""yes" 1>&6
11306 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
11308 echo "$ac_t""no" 1>&6
11314 # Check for libraries that X11R6 Xt/Xaw programs need.
11315 ac_save_LDFLAGS
="$LDFLAGS"
11316 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
11317 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11318 # check for ICE first), but we must link in the order -lSM -lICE or
11319 # we get undefined symbols. So assume we have SM if we have ICE.
11320 # These have to be linked with before -lX11, unlike the other
11321 # libraries we check for below, so use a different variable.
11322 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
11323 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
11324 echo "configure:11325: checking for IceConnectionNumber in -lICE" >&5
11325 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
11326 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11327 echo $ac_n "(cached) $ac_c" 1>&6
11329 ac_save_LIBS
="$LIBS"
11330 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
11331 cat > conftest.
$ac_ext <<EOF
11332 #line 11333 "configure"
11333 #include "confdefs.h"
11334 /* Override any gcc2 internal prototype to avoid an error. */
11335 /* We use char because int might match the return type of a gcc2
11336 builtin and then its argument prototype would still apply. */
11337 char IceConnectionNumber();
11340 IceConnectionNumber()
11343 if { (eval echo configure
:11344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11345 eval "ac_cv_lib_$ac_lib_var=yes"
11347 echo "configure: failed program was:" >&5
11348 cat conftest.
$ac_ext >&5
11350 eval "ac_cv_lib_$ac_lib_var=no"
11353 LIBS
="$ac_save_LIBS"
11356 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11357 echo "$ac_t""yes" 1>&6
11358 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
11360 echo "$ac_t""no" 1>&6
11363 LDFLAGS
="$ac_save_LDFLAGS"
11368 if test "$no_x" = "yes"; then
11369 { echo "configure: error: X11 not found" 1>&2; exit 1; }
11372 GUI_TK_LIBRARY
="$X_LIBS"
11373 TOOLKIT_INCLUDE
="$X_CFLAGS"
11374 AFMINSTALL
=afminstall
11375 COMPILED_X_PROGRAM
=0
11377 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
11378 echo "configure:11379: checking for Motif/Lesstif headers" >&5
11381 for ac_dir
in $SEARCH_INCLUDE;
11383 if test -f "$ac_dir/Xm/Xm.h"; then
11384 ac_find_includes
=$ac_dir
11389 if test "$ac_find_includes" != "" ; then
11390 echo "$ac_t""found $ac_find_includes" 1>&6
11392 cat > conftest.
$ac_ext <<EOF
11393 #line 11394 "configure"
11394 #include "confdefs.h"
11401 version = xmUseVersion;
11405 if { (eval echo configure
:11406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11408 echo "$ac_t""found in default search path" 1>&6
11409 COMPILED_X_PROGRAM
=1
11412 echo "configure: failed program was:" >&5
11413 cat conftest.
$ac_ext >&5
11416 echo "$ac_t""no" 1>&6
11417 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
11424 if test "$COMPILED_X_PROGRAM" = 0; then
11425 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
11426 echo "configure:11427: checking for Motif/Lesstif library" >&5
11429 for ac_dir
in $SEARCH_LIB;
11431 for ac_extension
in a so sl dylib
; do
11432 if test -f "$ac_dir/libXm.$ac_extension"; then
11433 ac_find_libraries
=$ac_dir
11439 if test "$ac_find_libraries" != "" ; then
11441 ac_path_to_include
=$ac_find_includes
11442 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
11444 if test $result = 0; then
11445 ac_path_to_include
=""
11447 ac_path_to_include
=" -I$ac_find_includes"
11451 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
11453 if test $result = 0; then
11456 ac_path_to_link
=" -L$ac_find_libraries"
11460 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
11461 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
11462 echo "$ac_t""found at $ac_find_libraries" 1>&6
11464 cat > conftest.
$ac_ext <<EOF
11465 #line 11466 "configure"
11466 #include "confdefs.h"
11473 version = xmUseVersion;
11477 if { (eval echo configure
:11478: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11480 echo "$ac_t""found in default search path" 1>&6
11481 COMPILED_X_PROGRAM
=1
11484 echo "configure: failed program was:" >&5
11485 cat conftest.
$ac_ext >&5
11488 echo "$ac_t""no" 1>&6
11489 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
11498 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
11499 echo "configure:11500: checking for Xpm library" >&5
11502 for ac_dir
in $SEARCH_LIB;
11504 for ac_extension
in a so sl dylib
; do
11505 if test -f "$ac_dir/libXpm.$ac_extension"; then
11506 ac_find_libraries
=$ac_dir
11512 if test "$ac_find_libraries" != "" ; then
11514 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
11516 if test $result = 0; then
11519 ac_path_to_link
=" -L$ac_find_libraries"
11522 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
11524 cat >> confdefs.h
<<\EOF
11525 #define wxHAVE_LIB_XPM 1
11528 echo "$ac_t""found at $ac_find_libraries" 1>&6
11530 cat > conftest.
$ac_ext <<EOF
11531 #line 11532 "configure"
11532 #include "confdefs.h"
11534 #include <X11/xpm.h>
11539 version = XpmLibraryVersion();
11543 if { (eval echo configure
:11544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11547 cat >> confdefs.h
<<\EOF
11548 #define wxHAVE_LIB_XPM 1
11551 echo "$ac_t""found in default search path" 1>&6
11552 COMPILED_X_PROGRAM
=0
11555 echo "configure: failed program was:" >&5
11556 cat conftest.
$ac_ext >&5
11559 echo "$ac_t""no" 1>&6
11560 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
11567 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
11568 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
11573 if test "$wxUSE_MAC" = 1; then
11574 if test "$wxUSE_PRECOMP" = "yes"; then
11575 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
11577 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
11578 CFLAGS
="$CFLAGS -fpascal-strings"
11579 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
11580 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -DTARGET_CARBON"
11582 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
11587 if test "$wxUSE_PM" = 1; then
11592 if test "$TOOLKIT" = "PM" ; then
11595 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
11598 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
11600 if test "$wxUSE_UNIVERSAL" = "yes"; then
11601 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
11602 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
11603 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
11604 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
11607 ALL_OBJECTS
="\$(GUIOBJS)"
11610 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
11612 if test "$TOOLKIT" != "MSW"; then
11613 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
11616 if test "$wxUSE_HTML" = "yes"; then
11617 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
11620 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
11621 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
11623 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11624 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
11626 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11627 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
11629 if test "$wxUSE_LIBPNG" = "builtin" ; then
11630 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
11632 if test "$wxUSE_FREETYPE" = "builtin" ; then
11633 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
11636 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
11637 DISTDIR
="wx\$(TOOLKIT)"
11643 if test "$USE_WIN32" = 1 ; then
11644 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
11645 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
11649 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
11650 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
11653 PORT_FILES
="\${top_srcdir}/src/files.lst"
11655 GUIDIST
="BASE_DIST"
11659 if test "$wxUSE_REGEX" = "builtin" ; then
11660 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
11662 if test "$wxUSE_ZLIB" = "builtin" ; then
11663 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
11666 if test "$wxUSE_OPENGL" = "yes"; then
11667 if test "$wxUSE_MAC" = 1; then
11668 OPENGL_LIBS
="-framework OpenGL -framework AGL"
11671 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11672 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11673 echo "configure:11674: checking for GL/gl.h" >&5
11674 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11675 echo $ac_n "(cached) $ac_c" 1>&6
11677 cat > conftest.
$ac_ext <<EOF
11678 #line 11679 "configure"
11679 #include "confdefs.h"
11682 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11683 { (eval echo configure
:11684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11684 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11685 if test -z "$ac_err"; then
11687 eval "ac_cv_header_$ac_safe=yes"
11690 echo "configure: failed program was:" >&5
11691 cat conftest.
$ac_ext >&5
11693 eval "ac_cv_header_$ac_safe=no"
11697 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11698 echo "$ac_t""yes" 1>&6
11700 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
11701 echo "configure:11702: checking for -lGL" >&5
11704 for ac_dir
in $SEARCH_LIB;
11706 for ac_extension
in a so sl dylib
; do
11707 if test -f "$ac_dir/libGL.$ac_extension"; then
11708 ac_find_libraries
=$ac_dir
11714 if test "$ac_find_libraries" != "" ; then
11716 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
11718 if test $result = 0; then
11721 ac_path_to_link
=" -L$ac_find_libraries"
11724 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
11725 OPENGL_LIBS
="-lGL -lGLU"
11726 echo "$ac_t""yes" 1>&6
11728 echo "$ac_t""no" 1>&6
11729 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
11730 echo "configure:11731: checking for -lMesaGL" >&5
11733 for ac_dir
in $SEARCH_LIB;
11735 for ac_extension
in a so sl dylib
; do
11736 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
11737 ac_find_libraries
=$ac_dir
11743 if test "$ac_find_libraries" != "" ; then
11745 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
11747 if test $result = 0; then
11750 ac_path_to_link
=" -L$ac_find_libraries"
11753 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
11754 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
11755 echo "$ac_t""yes" 1>&6
11757 echo "$ac_t""no" 1>&6
11762 echo "$ac_t""no" 1>&6
11767 # AC_CHECK_HEADER(GL/gl.h,
11769 # AC_CHECK_LIB(GL, glFlush,
11771 # OPENGL_LIBS="-lGL -lGLU"
11774 # AC_CHECK_LIB(MesaGL, glFlush,
11776 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
11784 if test "x$OPENGL_LIBS" = "x"; then
11785 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
11789 if test "$wxUSE_OPENGL" = "yes"; then
11790 cat >> confdefs.h
<<\EOF
11791 #define wxUSE_OPENGL 1
11794 cat >> confdefs.h
<<\EOF
11795 #define wxUSE_GLCANVAS 1
11798 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
11802 if test -z "$TOOLKIT_VPATH" ; then
11803 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
11806 if test -n "$TOOLKIT" ; then
11807 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
11810 lib_unicode_suffix
=
11811 if test "$wxUSE_UNICODE" = "yes"; then
11812 lib_unicode_suffix
=u
11816 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
11820 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
11821 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
11823 if test "$cross_compiling" = "yes"; then
11824 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
11825 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
11828 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
11829 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
11831 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11832 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11834 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
11835 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
11836 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
11837 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
11839 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
11840 WX_RESOURCES_MACOSX_COMPILED
="lib${WX_LIBRARY}.r"
11843 *-*-cygwin* | *-*-mingw32* )
11847 if test "$cross_compiling" != "yes"; then
11848 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
11849 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
11850 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
11851 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
11853 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
11854 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
11859 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
11860 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
11862 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
11863 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
11865 if test "$wxUSE_OPENGL" = "yes"; then
11866 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
11867 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
11872 if test "$wxUSE_SHARED" = "yes"; then
11874 if test "$wxUSE_OPENGL" = "yes"; then
11875 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11876 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
11878 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11879 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
11882 if test "$GCC" = "yes"; then
11886 SHARED_LD
="${CXX} -shared -o"
11890 if test "$GCC" != "yes"; then
11891 LDFLAGS
="$LDFLAGS -L/usr/lib"
11893 SHARED_LD
="${CXX} -b -o"
11897 if test "$wxUSE_OPENGL" = "yes"; then
11898 WX_ALL_INSTALLED
="preinstall_gl"
11899 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11901 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11906 if test "$GCC" != "yes"; then
11907 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
11908 echo "configure:11909: checking for Intel compiler" >&5
11909 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
11910 echo $ac_n "(cached) $ac_c" 1>&6
11913 cat > conftest.
$ac_ext <<EOF
11914 #line 11915 "configure"
11915 #include "confdefs.h"
11919 #ifndef __INTEL_COMPILER
11925 if { (eval echo configure
:11926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11929 echo "configure: failed program was:" >&5
11930 cat conftest.
$ac_ext >&5
11939 echo "$ac_t""$wx_cv_prog_icc" 1>&6
11940 if test "$wx_cv_prog_icc" = "yes"; then
11945 if test "$wxUSE_SONAME" = "yes" ; then
11946 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
11947 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
11948 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
11953 if test "$GCC" = yes ; then
11954 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
11956 SHARED_LD
="${CXX} -G -o"
11958 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
11959 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED}"
11964 CFLAGS
="$CFLAGS -fno-common"
11965 CXXFLAGS
="$CXXFLAGS -fno-common"
11966 SHARED_LD
="$CXX -dynamiclib -o"
11967 PIC_FLAG
="-dynamic -fPIC"
11971 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
11974 *-*-cygwin* | *-*-mingw32* )
11976 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
11978 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
11979 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
11981 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
11983 if test "$wxUSE_OPENGL" = "yes"; then
11984 WX_ALL_INSTALLED
="preinstall_gl"
11985 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11987 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11991 *-pc-os2_emx | *-pc-os2-emx )
11996 SHARED_LD
="${LD} -shared -o"
11999 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
12001 *-*-irix5* | *-*-irix6* | \
12008 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
12011 if test "x$WX_TARGET_LIBRARY" = "x"; then
12012 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
12013 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
12016 WX_TARGET_LIBRARY_TYPE
="so"
12017 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
12020 if test "$wxUSE_SHARED" = "no"; then
12022 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
12023 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12026 if test "$wxUSE_MAC" = 1; then
12027 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12030 if test "$wxUSE_OPENGL" = "yes"; then
12031 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
12032 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
12034 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
12037 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
12038 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
12040 WX_TARGET_LIBRARY_TYPE
="a"
12041 INSTALL_LIBRARY
='$(INSTALL_DATA)'
12044 if test "$wxUSE_MAC" = 1; then
12045 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
12046 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
12047 # Extract the first word of "Rez", so it can be a program name with args.
12048 set dummy Rez
; ac_word
=$2
12049 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12050 echo "configure:12051: checking for $ac_word" >&5
12051 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
12052 echo $ac_n "(cached) $ac_c" 1>&6
12054 if test -n "$RESCOMP"; then
12055 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
12057 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12059 for ac_dir
in $ac_dummy; do
12060 test -z "$ac_dir" && ac_dir
=.
12061 if test -f $ac_dir/$ac_word; then
12062 ac_cv_prog_RESCOMP
="Rez"
12067 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
12070 RESCOMP
="$ac_cv_prog_RESCOMP"
12071 if test -n "$RESCOMP"; then
12072 echo "$ac_t""$RESCOMP" 1>&6
12074 echo "$ac_t""no" 1>&6
12077 # Extract the first word of "DeRez", so it can be a program name with args.
12078 set dummy DeRez
; ac_word
=$2
12079 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12080 echo "configure:12081: checking for $ac_word" >&5
12081 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
12082 echo $ac_n "(cached) $ac_c" 1>&6
12084 if test -n "$DEREZ"; then
12085 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
12087 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12089 for ac_dir
in $ac_dummy; do
12090 test -z "$ac_dir" && ac_dir
=.
12091 if test -f $ac_dir/$ac_word; then
12092 ac_cv_prog_DEREZ
="DeRez"
12097 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
12100 DEREZ
="$ac_cv_prog_DEREZ"
12101 if test -n "$DEREZ"; then
12102 echo "$ac_t""$DEREZ" 1>&6
12104 echo "$ac_t""no" 1>&6
12107 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
12108 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
12109 LIBWXMACRESWXCONFIG
="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
12113 if test "$wxUSE_MAC" != 1; then
12114 for ac_hdr
in strings.h
12116 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12117 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12118 echo "configure:12119: checking for $ac_hdr" >&5
12119 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12120 echo $ac_n "(cached) $ac_c" 1>&6
12122 cat > conftest.
$ac_ext <<EOF
12123 #line 12124 "configure"
12124 #include "confdefs.h"
12127 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12128 { (eval echo configure
:12129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12129 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12130 if test -z "$ac_err"; then
12132 eval "ac_cv_header_$ac_safe=yes"
12135 echo "configure: failed program was:" >&5
12136 cat conftest.
$ac_ext >&5
12138 eval "ac_cv_header_$ac_safe=no"
12142 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12143 echo "$ac_t""yes" 1>&6
12144 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12145 cat >> confdefs.h
<<EOF
12146 #define $ac_tr_hdr 1
12150 echo "$ac_t""no" 1>&6
12156 for ac_hdr
in stdlib.h
12158 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12159 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12160 echo "configure:12161: checking for $ac_hdr" >&5
12161 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12162 echo $ac_n "(cached) $ac_c" 1>&6
12164 cat > conftest.
$ac_ext <<EOF
12165 #line 12166 "configure"
12166 #include "confdefs.h"
12169 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12170 { (eval echo configure
:12171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12171 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12172 if test -z "$ac_err"; then
12174 eval "ac_cv_header_$ac_safe=yes"
12177 echo "configure: failed program was:" >&5
12178 cat conftest.
$ac_ext >&5
12180 eval "ac_cv_header_$ac_safe=no"
12184 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12185 echo "$ac_t""yes" 1>&6
12186 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12187 cat >> confdefs.h
<<EOF
12188 #define $ac_tr_hdr 1
12192 echo "$ac_t""no" 1>&6
12196 for ac_hdr
in malloc.h
12198 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12199 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12200 echo "configure:12201: checking for $ac_hdr" >&5
12201 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12202 echo $ac_n "(cached) $ac_c" 1>&6
12204 cat > conftest.
$ac_ext <<EOF
12205 #line 12206 "configure"
12206 #include "confdefs.h"
12209 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12210 { (eval echo configure
:12211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12211 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12212 if test -z "$ac_err"; then
12214 eval "ac_cv_header_$ac_safe=yes"
12217 echo "configure: failed program was:" >&5
12218 cat conftest.
$ac_ext >&5
12220 eval "ac_cv_header_$ac_safe=no"
12224 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12225 echo "$ac_t""yes" 1>&6
12226 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12227 cat >> confdefs.h
<<EOF
12228 #define $ac_tr_hdr 1
12232 echo "$ac_t""no" 1>&6
12236 for ac_hdr
in unistd.h
12238 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12239 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12240 echo "configure:12241: checking for $ac_hdr" >&5
12241 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12242 echo $ac_n "(cached) $ac_c" 1>&6
12244 cat > conftest.
$ac_ext <<EOF
12245 #line 12246 "configure"
12246 #include "confdefs.h"
12249 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12250 { (eval echo configure
:12251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12251 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12252 if test -z "$ac_err"; then
12254 eval "ac_cv_header_$ac_safe=yes"
12257 echo "configure: failed program was:" >&5
12258 cat conftest.
$ac_ext >&5
12260 eval "ac_cv_header_$ac_safe=no"
12264 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12265 echo "$ac_t""yes" 1>&6
12266 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12267 cat >> confdefs.h
<<EOF
12268 #define $ac_tr_hdr 1
12272 echo "$ac_t""no" 1>&6
12276 for ac_hdr
in wchar.h
12278 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12279 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12280 echo "configure:12281: checking for $ac_hdr" >&5
12281 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12282 echo $ac_n "(cached) $ac_c" 1>&6
12284 cat > conftest.
$ac_ext <<EOF
12285 #line 12286 "configure"
12286 #include "confdefs.h"
12289 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12290 { (eval echo configure
:12291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12291 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12292 if test -z "$ac_err"; then
12294 eval "ac_cv_header_$ac_safe=yes"
12297 echo "configure: failed program was:" >&5
12298 cat conftest.
$ac_ext >&5
12300 eval "ac_cv_header_$ac_safe=no"
12304 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12305 echo "$ac_t""yes" 1>&6
12306 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12307 cat >> confdefs.h
<<EOF
12308 #define $ac_tr_hdr 1
12312 echo "$ac_t""no" 1>&6
12316 for ac_hdr
in wcstr.h
12318 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12319 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12320 echo "configure:12321: checking for $ac_hdr" >&5
12321 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12322 echo $ac_n "(cached) $ac_c" 1>&6
12324 cat > conftest.
$ac_ext <<EOF
12325 #line 12326 "configure"
12326 #include "confdefs.h"
12329 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12330 { (eval echo configure
:12331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12331 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12332 if test -z "$ac_err"; then
12334 eval "ac_cv_header_$ac_safe=yes"
12337 echo "configure: failed program was:" >&5
12338 cat conftest.
$ac_ext >&5
12340 eval "ac_cv_header_$ac_safe=no"
12344 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12345 echo "$ac_t""yes" 1>&6
12346 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12347 cat >> confdefs.h
<<EOF
12348 #define $ac_tr_hdr 1
12352 echo "$ac_t""no" 1>&6
12356 for ac_hdr
in wctype.h
12358 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12359 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12360 echo "configure:12361: checking for $ac_hdr" >&5
12361 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12362 echo $ac_n "(cached) $ac_c" 1>&6
12364 cat > conftest.
$ac_ext <<EOF
12365 #line 12366 "configure"
12366 #include "confdefs.h"
12369 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12370 { (eval echo configure
:12371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12371 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12372 if test -z "$ac_err"; then
12374 eval "ac_cv_header_$ac_safe=yes"
12377 echo "configure: failed program was:" >&5
12378 cat conftest.
$ac_ext >&5
12380 eval "ac_cv_header_$ac_safe=no"
12384 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12385 echo "$ac_t""yes" 1>&6
12386 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12387 cat >> confdefs.h
<<EOF
12388 #define $ac_tr_hdr 1
12392 echo "$ac_t""no" 1>&6
12396 for ac_hdr
in fnmatch.h
12398 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12399 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12400 echo "configure:12401: checking for $ac_hdr" >&5
12401 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12402 echo $ac_n "(cached) $ac_c" 1>&6
12404 cat > conftest.
$ac_ext <<EOF
12405 #line 12406 "configure"
12406 #include "confdefs.h"
12409 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12410 { (eval echo configure
:12411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12411 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12412 if test -z "$ac_err"; then
12414 eval "ac_cv_header_$ac_safe=yes"
12417 echo "configure: failed program was:" >&5
12418 cat conftest.
$ac_ext >&5
12420 eval "ac_cv_header_$ac_safe=no"
12424 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12425 echo "$ac_t""yes" 1>&6
12426 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12427 cat >> confdefs.h
<<EOF
12428 #define $ac_tr_hdr 1
12432 echo "$ac_t""no" 1>&6
12436 for ac_hdr
in iconv.h
12438 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12439 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12440 echo "configure:12441: checking for $ac_hdr" >&5
12441 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12442 echo $ac_n "(cached) $ac_c" 1>&6
12444 cat > conftest.
$ac_ext <<EOF
12445 #line 12446 "configure"
12446 #include "confdefs.h"
12449 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12450 { (eval echo configure
:12451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12451 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12452 if test -z "$ac_err"; then
12454 eval "ac_cv_header_$ac_safe=yes"
12457 echo "configure: failed program was:" >&5
12458 cat conftest.
$ac_ext >&5
12460 eval "ac_cv_header_$ac_safe=no"
12464 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12465 echo "$ac_t""yes" 1>&6
12466 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12467 cat >> confdefs.h
<<EOF
12468 #define $ac_tr_hdr 1
12472 echo "$ac_t""no" 1>&6
12476 for ac_hdr
in langinfo.h
12478 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12479 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12480 echo "configure:12481: checking for $ac_hdr" >&5
12481 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12482 echo $ac_n "(cached) $ac_c" 1>&6
12484 cat > conftest.
$ac_ext <<EOF
12485 #line 12486 "configure"
12486 #include "confdefs.h"
12489 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12490 { (eval echo configure
:12491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12491 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12492 if test -z "$ac_err"; then
12494 eval "ac_cv_header_$ac_safe=yes"
12497 echo "configure: failed program was:" >&5
12498 cat conftest.
$ac_ext >&5
12500 eval "ac_cv_header_$ac_safe=no"
12504 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12505 echo "$ac_t""yes" 1>&6
12506 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12507 cat >> confdefs.h
<<EOF
12508 #define $ac_tr_hdr 1
12512 echo "$ac_t""no" 1>&6
12517 if test "$wxUSE_GUI" = "yes"; then
12518 if test "$wxUSE_UNIX" = "yes"; then
12519 for ac_hdr
in X
11/XKBlib.h
12521 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12522 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12523 echo "configure:12524: checking for $ac_hdr" >&5
12524 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12525 echo $ac_n "(cached) $ac_c" 1>&6
12527 cat > conftest.
$ac_ext <<EOF
12528 #line 12529 "configure"
12529 #include "confdefs.h"
12532 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12533 { (eval echo configure
:12534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12534 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12535 if test -z "$ac_err"; then
12537 eval "ac_cv_header_$ac_safe=yes"
12540 echo "configure: failed program was:" >&5
12541 cat conftest.
$ac_ext >&5
12543 eval "ac_cv_header_$ac_safe=no"
12547 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12548 echo "$ac_t""yes" 1>&6
12549 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12550 cat >> confdefs.h
<<EOF
12551 #define $ac_tr_hdr 1
12555 echo "$ac_t""no" 1>&6
12563 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
12564 echo "configure:12565: checking for ANSI C header files" >&5
12565 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
12566 echo $ac_n "(cached) $ac_c" 1>&6
12568 cat > conftest.
$ac_ext <<EOF
12569 #line 12570 "configure"
12570 #include "confdefs.h"
12571 #include <stdlib.h>
12572 #include <stdarg.h>
12573 #include <string.h>
12576 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12577 { (eval echo configure
:12578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12578 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12579 if test -z "$ac_err"; then
12581 ac_cv_header_stdc
=yes
12584 echo "configure: failed program was:" >&5
12585 cat conftest.
$ac_ext >&5
12587 ac_cv_header_stdc
=no
12591 if test $ac_cv_header_stdc = yes; then
12592 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12593 cat > conftest.
$ac_ext <<EOF
12594 #line 12595 "configure"
12595 #include "confdefs.h"
12596 #include <string.h>
12598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12599 egrep "memchr" >/dev
/null
2>&1; then
12603 ac_cv_header_stdc
=no
12609 if test $ac_cv_header_stdc = yes; then
12610 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12611 cat > conftest.
$ac_ext <<EOF
12612 #line 12613 "configure"
12613 #include "confdefs.h"
12614 #include <stdlib.h>
12616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12617 egrep "free" >/dev
/null
2>&1; then
12621 ac_cv_header_stdc
=no
12627 if test $ac_cv_header_stdc = yes; then
12628 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12629 if test "$cross_compiling" = yes; then
12632 cat > conftest.
$ac_ext <<EOF
12633 #line 12634 "configure"
12634 #include "confdefs.h"
12636 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12637 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12638 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12639 int main () { int i; for (i = 0; i < 256; i++)
12640 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
12644 if { (eval echo configure
:12645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12648 echo "configure: failed program was:" >&5
12649 cat conftest.
$ac_ext >&5
12651 ac_cv_header_stdc
=no
12659 echo "$ac_t""$ac_cv_header_stdc" 1>&6
12660 if test $ac_cv_header_stdc = yes; then
12661 cat >> confdefs.h
<<\EOF
12662 #define STDC_HEADERS 1
12667 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
12668 echo "configure:12669: checking for mode_t" >&5
12669 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
12670 echo $ac_n "(cached) $ac_c" 1>&6
12672 cat > conftest.
$ac_ext <<EOF
12673 #line 12674 "configure"
12674 #include "confdefs.h"
12675 #include <sys/types.h>
12677 #include <stdlib.h>
12678 #include <stddef.h>
12681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12682 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12684 ac_cv_type_mode_t
=yes
12687 ac_cv_type_mode_t
=no
12692 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
12693 if test $ac_cv_type_mode_t = no
; then
12694 cat >> confdefs.h
<<\EOF
12700 echo $ac_n "checking for off_t""... $ac_c" 1>&6
12701 echo "configure:12702: checking for off_t" >&5
12702 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
12703 echo $ac_n "(cached) $ac_c" 1>&6
12705 cat > conftest.
$ac_ext <<EOF
12706 #line 12707 "configure"
12707 #include "confdefs.h"
12708 #include <sys/types.h>
12710 #include <stdlib.h>
12711 #include <stddef.h>
12714 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12715 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12717 ac_cv_type_off_t
=yes
12720 ac_cv_type_off_t
=no
12725 echo "$ac_t""$ac_cv_type_off_t" 1>&6
12726 if test $ac_cv_type_off_t = no
; then
12727 cat >> confdefs.h
<<\EOF
12733 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
12734 echo "configure:12735: checking for pid_t" >&5
12735 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
12736 echo $ac_n "(cached) $ac_c" 1>&6
12738 cat > conftest.
$ac_ext <<EOF
12739 #line 12740 "configure"
12740 #include "confdefs.h"
12741 #include <sys/types.h>
12743 #include <stdlib.h>
12744 #include <stddef.h>
12747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12748 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12750 ac_cv_type_pid_t
=yes
12753 ac_cv_type_pid_t
=no
12758 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
12759 if test $ac_cv_type_pid_t = no
; then
12760 cat >> confdefs.h
<<\EOF
12766 echo $ac_n "checking for size_t""... $ac_c" 1>&6
12767 echo "configure:12768: checking for size_t" >&5
12768 if eval "test \"`echo '$''{'ac_cv_type_size_t'+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 #include <sys/types.h>
12776 #include <stdlib.h>
12777 #include <stddef.h>
12780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12781 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12783 ac_cv_type_size_t
=yes
12786 ac_cv_type_size_t
=no
12791 echo "$ac_t""$ac_cv_type_size_t" 1>&6
12792 if test $ac_cv_type_size_t = no
; then
12793 cat >> confdefs.h
<<\EOF
12794 #define size_t unsigned
12799 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
12800 echo "configure:12801: checking for uid_t in sys/types.h" >&5
12801 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
12802 echo $ac_n "(cached) $ac_c" 1>&6
12804 cat > conftest.
$ac_ext <<EOF
12805 #line 12806 "configure"
12806 #include "confdefs.h"
12807 #include <sys/types.h>
12809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12810 egrep "uid_t" >/dev
/null
2>&1; then
12812 ac_cv_type_uid_t
=yes
12815 ac_cv_type_uid_t
=no
12821 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
12822 if test $ac_cv_type_uid_t = no
; then
12823 cat >> confdefs.h
<<\EOF
12827 cat >> confdefs.h
<<\EOF
12834 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
12835 echo "configure:12836: checking for wchar_t" >&5
12836 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
12837 echo $ac_n "(cached) $ac_c" 1>&6
12840 cat > conftest.
$ac_ext <<EOF
12841 #line 12842 "configure"
12842 #include "confdefs.h"
12844 #ifdef HAVE_WCHAR_H
12846 # include <stddef.h>
12848 # include <wchar.h>
12850 #ifdef HAVE_STDLIB_H
12851 # include <stdlib.h>
12858 ws = L"Hello, world!";
12862 if { (eval echo configure
:12863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12864 wx_cv_type_wchar_t
=yes
12866 echo "configure: failed program was:" >&5
12867 cat conftest.
$ac_ext >&5
12869 wx_cv_type_wchar_t
=no
12876 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
12878 if test "$wx_cv_type_wchar_t" = "yes"; then
12879 cat >> confdefs.h
<<\EOF
12880 #define wxUSE_WCHAR_T 1
12887 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12888 ac_cpp
='$CXXCPP $CPPFLAGS'
12889 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12890 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12891 cross_compiling
=$ac_cv_prog_cxx_cross
12893 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
12894 echo "configure:12895: checking if size_t is unsigned int" >&5
12895 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
12896 echo $ac_n "(cached) $ac_c" 1>&6
12898 cat > conftest.
$ac_ext <<EOF
12899 #line 12900 "configure"
12900 #include "confdefs.h"
12901 #include <stddef.h>
12906 struct Foo { void foo(size_t); void foo(unsigned int); };
12912 if { (eval echo configure
:12913: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12914 wx_cv_size_t_is_uint
=no
12916 echo "configure: failed program was:" >&5
12917 cat conftest.
$ac_ext >&5
12919 wx_cv_size_t_is_uint
=yes
12926 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
12928 if test "$wx_cv_size_t_is_uint" = "yes"; then
12929 cat >> confdefs.h
<<\EOF
12930 #define wxSIZE_T_IS_UINT 1
12934 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
12935 echo "configure:12936: checking if size_t is unsigned long" >&5
12936 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
12937 echo $ac_n "(cached) $ac_c" 1>&6
12939 cat > conftest.
$ac_ext <<EOF
12940 #line 12941 "configure"
12941 #include "confdefs.h"
12942 #include <stddef.h>
12947 struct Foo { void foo(size_t); void foo(unsigned long); };
12953 if { (eval echo configure
:12954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12955 wx_cv_size_t_is_ulong
=no
12957 echo "configure: failed program was:" >&5
12958 cat conftest.
$ac_ext >&5
12960 wx_cv_size_t_is_ulong
=yes
12967 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
12969 if test "$wx_cv_size_t_is_ulong" = "yes"; then
12970 cat >> confdefs.h
<<\EOF
12971 #define wxSIZE_T_IS_ULONG 1
12978 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12979 ac_cpp
='$CPP $CPPFLAGS'
12980 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12981 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12982 cross_compiling
=$ac_cv_prog_cc_cross
12986 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
12987 echo "configure:12988: checking for pw_gecos in struct passwd" >&5
12988 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
12989 echo $ac_n "(cached) $ac_c" 1>&6
12992 cat > conftest.
$ac_ext <<EOF
12993 #line 12994 "configure"
12994 #include "confdefs.h"
13004 if { (eval echo configure
:13005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13007 wx_cv_struct_pw_gecos
=yes
13010 echo "configure: failed program was:" >&5
13011 cat conftest.
$ac_ext >&5
13014 wx_cv_struct_pw_gecos
=no
13023 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
13025 if test "$wx_cv_struct_pw_gecos" = "yes"; then
13026 cat >> confdefs.h
<<\EOF
13027 #define HAVE_PW_GECOS 1
13033 echo $ac_n "checking for working const""... $ac_c" 1>&6
13034 echo "configure:13035: checking for working const" >&5
13035 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
13036 echo $ac_n "(cached) $ac_c" 1>&6
13038 cat > conftest.
$ac_ext <<EOF
13039 #line 13040 "configure"
13040 #include "confdefs.h"
13044 /* Ultrix mips cc rejects this. */
13045 typedef int charset[2]; const charset x;
13046 /* SunOS 4.1.1 cc rejects this. */
13047 char const *const *ccp;
13049 /* NEC SVR4.0.2 mips cc rejects this. */
13050 struct point {int x, y;};
13051 static struct point const zero = {0,0};
13052 /* AIX XL C 1.02.0.0 rejects this.
13053 It does not let you subtract one const X* pointer from another in an arm
13054 of an if-expression whose if-part is not a constant expression */
13055 const char *g = "string";
13056 ccp = &g + (g ? g-g : 0);
13057 /* HPUX 7.0 cc rejects these. */
13060 ccp = (char const *const *) p;
13061 { /* SCO 3.2v4 cc rejects this. */
13063 char const *s = 0 ? (char *) 0 : (char const *) 0;
13067 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13068 int x[] = {25, 17};
13069 const int *foo = &x[0];
13072 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13073 typedef const int *iptr;
13077 { /* AIX XL C 1.02.0.0 rejects this saying
13078 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13079 struct s { int j; const int *ap[3]; };
13080 struct s *b; b->j = 5;
13082 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13083 const int foo = 10;
13088 if { (eval echo configure
:13089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13092 echo "configure: failed program was:" >&5
13093 cat conftest.
$ac_ext >&5
13100 echo "$ac_t""$ac_cv_c_const" 1>&6
13101 if test $ac_cv_c_const = no
; then
13102 cat >> confdefs.h
<<\EOF
13108 echo $ac_n "checking for inline""... $ac_c" 1>&6
13109 echo "configure:13110: checking for inline" >&5
13110 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
13111 echo $ac_n "(cached) $ac_c" 1>&6
13114 for ac_kw
in inline __inline__ __inline
; do
13115 cat > conftest.
$ac_ext <<EOF
13116 #line 13117 "configure"
13117 #include "confdefs.h"
13123 if { (eval echo configure
:13124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13125 ac_cv_c_inline
=$ac_kw; break
13127 echo "configure: failed program was:" >&5
13128 cat conftest.
$ac_ext >&5
13135 echo "$ac_t""$ac_cv_c_inline" 1>&6
13136 case "$ac_cv_c_inline" in
13138 no
) cat >> confdefs.h
<<\EOF
13142 *) cat >> confdefs.h
<<EOF
13143 #define inline $ac_cv_c_inline
13149 echo $ac_n "checking size of char""... $ac_c" 1>&6
13150 echo "configure:13151: checking size of char" >&5
13151 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
13152 echo $ac_n "(cached) $ac_c" 1>&6
13154 if test "$cross_compiling" = yes; then
13155 ac_cv_sizeof_char
=1
13157 cat > conftest.
$ac_ext <<EOF
13158 #line 13159 "configure"
13159 #include "confdefs.h"
13163 FILE *f=fopen("conftestval", "w");
13165 fprintf(f, "%d\n", sizeof(char));
13169 if { (eval echo configure
:13170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13171 ac_cv_sizeof_char
=`cat conftestval`
13173 echo "configure: failed program was:" >&5
13174 cat conftest.
$ac_ext >&5
13176 ac_cv_sizeof_char
=0
13182 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
13183 cat >> confdefs.h
<<EOF
13184 #define SIZEOF_CHAR $ac_cv_sizeof_char
13188 echo $ac_n "checking size of short""... $ac_c" 1>&6
13189 echo "configure:13190: checking size of short" >&5
13190 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
13191 echo $ac_n "(cached) $ac_c" 1>&6
13193 if test "$cross_compiling" = yes; then
13194 ac_cv_sizeof_short
=2
13196 cat > conftest.
$ac_ext <<EOF
13197 #line 13198 "configure"
13198 #include "confdefs.h"
13202 FILE *f=fopen("conftestval", "w");
13204 fprintf(f, "%d\n", sizeof(short));
13208 if { (eval echo configure
:13209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13210 ac_cv_sizeof_short
=`cat conftestval`
13212 echo "configure: failed program was:" >&5
13213 cat conftest.
$ac_ext >&5
13215 ac_cv_sizeof_short
=0
13221 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
13222 cat >> confdefs.h
<<EOF
13223 #define SIZEOF_SHORT $ac_cv_sizeof_short
13227 echo $ac_n "checking size of int *""... $ac_c" 1>&6
13228 echo "configure:13229: checking size of int *" >&5
13229 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
13230 echo $ac_n "(cached) $ac_c" 1>&6
13232 if test "$cross_compiling" = yes; then
13233 ac_cv_sizeof_int_p
=4
13235 cat > conftest.
$ac_ext <<EOF
13236 #line 13237 "configure"
13237 #include "confdefs.h"
13241 FILE *f=fopen("conftestval", "w");
13243 fprintf(f, "%d\n", sizeof(int *));
13247 if { (eval echo configure
:13248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13249 ac_cv_sizeof_int_p
=`cat conftestval`
13251 echo "configure: failed program was:" >&5
13252 cat conftest.
$ac_ext >&5
13254 ac_cv_sizeof_int_p
=0
13260 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
13261 cat >> confdefs.h
<<EOF
13262 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
13266 echo $ac_n "checking size of int""... $ac_c" 1>&6
13267 echo "configure:13268: checking size of int" >&5
13268 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
13269 echo $ac_n "(cached) $ac_c" 1>&6
13271 if test "$cross_compiling" = yes; then
13274 cat > conftest.
$ac_ext <<EOF
13275 #line 13276 "configure"
13276 #include "confdefs.h"
13280 FILE *f=fopen("conftestval", "w");
13282 fprintf(f, "%d\n", sizeof(int));
13286 if { (eval echo configure
:13287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13288 ac_cv_sizeof_int
=`cat conftestval`
13290 echo "configure: failed program was:" >&5
13291 cat conftest.
$ac_ext >&5
13299 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
13300 cat >> confdefs.h
<<EOF
13301 #define SIZEOF_INT $ac_cv_sizeof_int
13305 echo $ac_n "checking size of long""... $ac_c" 1>&6
13306 echo "configure:13307: checking size of long" >&5
13307 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
13308 echo $ac_n "(cached) $ac_c" 1>&6
13310 if test "$cross_compiling" = yes; then
13311 ac_cv_sizeof_long
=4
13313 cat > conftest.
$ac_ext <<EOF
13314 #line 13315 "configure"
13315 #include "confdefs.h"
13319 FILE *f=fopen("conftestval", "w");
13321 fprintf(f, "%d\n", sizeof(long));
13325 if { (eval echo configure
:13326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13327 ac_cv_sizeof_long
=`cat conftestval`
13329 echo "configure: failed program was:" >&5
13330 cat conftest.
$ac_ext >&5
13332 ac_cv_sizeof_long
=0
13338 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
13339 cat >> confdefs.h
<<EOF
13340 #define SIZEOF_LONG $ac_cv_sizeof_long
13344 echo $ac_n "checking size of long long""... $ac_c" 1>&6
13345 echo "configure:13346: checking size of long long" >&5
13346 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
13347 echo $ac_n "(cached) $ac_c" 1>&6
13349 if test "$cross_compiling" = yes; then
13350 ac_cv_sizeof_long_long
=0
13352 cat > conftest.
$ac_ext <<EOF
13353 #line 13354 "configure"
13354 #include "confdefs.h"
13358 FILE *f=fopen("conftestval", "w");
13360 fprintf(f, "%d\n", sizeof(long long));
13364 if { (eval echo configure
:13365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13366 ac_cv_sizeof_long_long
=`cat conftestval`
13368 echo "configure: failed program was:" >&5
13369 cat conftest.
$ac_ext >&5
13371 ac_cv_sizeof_long_long
=0
13377 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
13378 cat >> confdefs.h
<<EOF
13379 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13384 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
13385 echo "configure:13386: checking size of wchar_t" >&5
13386 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
13387 echo $ac_n "(cached) $ac_c" 1>&6
13390 if test "$cross_compiling" = yes; then
13391 wx_cv_sizeof_wchar_t
=4
13394 cat > conftest.
$ac_ext <<EOF
13395 #line 13396 "configure"
13396 #include "confdefs.h"
13398 #ifdef HAVE_WCHAR_H
13400 # include <stddef.h>
13402 # include <wchar.h>
13404 #ifdef HAVE_STDLIB_H
13405 # include <stdlib.h>
13410 FILE *f=fopen("conftestval", "w");
13412 fprintf(f, "%i", sizeof(wchar_t));
13417 if { (eval echo configure
:13418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13419 wx_cv_sizeof_wchar_t
=`cat conftestval`
13421 echo "configure: failed program was:" >&5
13422 cat conftest.
$ac_ext >&5
13424 wx_cv_sizeof_wchar_t
=0
13432 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
13434 cat >> confdefs.h
<<EOF
13435 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
13439 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
13440 echo "configure:13441: checking whether byte ordering is bigendian" >&5
13441 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
13442 echo $ac_n "(cached) $ac_c" 1>&6
13444 ac_cv_c_bigendian
=unknown
13445 # See if sys/param.h defines the BYTE_ORDER macro.
13446 cat > conftest.
$ac_ext <<EOF
13447 #line 13448 "configure"
13448 #include "confdefs.h"
13449 #include <sys/types.h>
13450 #include <sys/param.h>
13453 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
13454 bogus endian macros
13458 if { (eval echo configure
:13459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13460 # It does; now see whether it defined to BIG_ENDIAN or not.
13461 cat > conftest.
$ac_ext <<EOF
13462 #line 13463 "configure"
13463 #include "confdefs.h"
13464 #include <sys/types.h>
13465 #include <sys/param.h>
13468 #if BYTE_ORDER != BIG_ENDIAN
13473 if { (eval echo configure
:13474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13475 ac_cv_c_bigendian
=yes
13477 echo "configure: failed program was:" >&5
13478 cat conftest.
$ac_ext >&5
13480 ac_cv_c_bigendian
=no
13484 echo "configure: failed program was:" >&5
13485 cat conftest.
$ac_ext >&5
13488 if test $ac_cv_c_bigendian = unknown
; then
13489 if test "$cross_compiling" = yes; then
13490 ac_cv_c_bigendian
=unknown
13492 cat > conftest.
$ac_ext <<EOF
13493 #line 13494 "configure"
13494 #include "confdefs.h"
13496 /* Are we little or big endian? From Harbison&Steele. */
13500 char c[sizeof (long)];
13503 exit (u.c[sizeof (long) - 1] == 1);
13506 if { (eval echo configure
:13507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13508 ac_cv_c_bigendian
=no
13510 echo "configure: failed program was:" >&5
13511 cat conftest.
$ac_ext >&5
13513 ac_cv_c_bigendian
=yes
13521 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
13522 if test $ac_cv_c_bigendian = unknown
; then
13523 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
13525 if test $ac_cv_c_bigendian = yes; then
13526 cat >> confdefs.h
<<\EOF
13527 #define WORDS_BIGENDIAN 1
13533 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
13534 echo "configure:13535: checking how to run the C++ preprocessor" >&5
13535 if test -z "$CXXCPP"; then
13536 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
13537 echo $ac_n "(cached) $ac_c" 1>&6
13540 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13541 ac_cpp
='$CXXCPP $CPPFLAGS'
13542 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13543 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13544 cross_compiling
=$ac_cv_prog_cxx_cross
13545 CXXCPP
="${CXX-g++} -E"
13546 cat > conftest.
$ac_ext <<EOF
13547 #line 13548 "configure"
13548 #include "confdefs.h"
13549 #include <stdlib.h>
13551 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13552 { (eval echo configure
:13553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13553 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13554 if test -z "$ac_err"; then
13558 echo "configure: failed program was:" >&5
13559 cat conftest.
$ac_ext >&5
13564 ac_cv_prog_CXXCPP
="$CXXCPP"
13566 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13567 ac_cpp
='$CXXCPP $CPPFLAGS'
13568 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13569 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13570 cross_compiling
=$ac_cv_prog_cxx_cross
13573 CXXCPP
="$ac_cv_prog_CXXCPP"
13574 echo "$ac_t""$CXXCPP" 1>&6
13577 if test "$cross_compiling" = "yes"; then
13578 cat >> confdefs.h
<<\EOF
13579 #define wxUSE_IOSTREAMH 1
13585 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13586 ac_cpp
='$CXXCPP $CPPFLAGS'
13587 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13588 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13589 cross_compiling
=$ac_cv_prog_cxx_cross
13592 for ac_hdr
in iostream
13594 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13595 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13596 echo "configure:13597: checking for $ac_hdr" >&5
13597 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13598 echo $ac_n "(cached) $ac_c" 1>&6
13600 cat > conftest.
$ac_ext <<EOF
13601 #line 13602 "configure"
13602 #include "confdefs.h"
13605 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13606 { (eval echo configure
:13607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13607 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13608 if test -z "$ac_err"; then
13610 eval "ac_cv_header_$ac_safe=yes"
13613 echo "configure: failed program was:" >&5
13614 cat conftest.
$ac_ext >&5
13616 eval "ac_cv_header_$ac_safe=no"
13620 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13621 echo "$ac_t""yes" 1>&6
13622 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13623 cat >> confdefs.h
<<EOF
13624 #define $ac_tr_hdr 1
13628 echo "$ac_t""no" 1>&6
13633 if test "$ac_cv_header_iostream" = "yes" ; then
13636 cat >> confdefs.h
<<\EOF
13637 #define wxUSE_IOSTREAMH 1
13643 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13644 ac_cpp
='$CPP $CPPFLAGS'
13645 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13646 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13647 cross_compiling
=$ac_cv_prog_cc_cross
13653 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
13654 echo "configure:13655: checking if C++ compiler supports bool" >&5
13655 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
13656 echo $ac_n "(cached) $ac_c" 1>&6
13661 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13662 ac_cpp
='$CXXCPP $CPPFLAGS'
13663 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13664 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13665 cross_compiling
=$ac_cv_prog_cxx_cross
13668 cat > conftest.
$ac_ext <<EOF
13669 #line 13670 "configure"
13670 #include "confdefs.h"
13681 if { (eval echo configure
:13682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13687 echo "configure: failed program was:" >&5
13688 cat conftest.
$ac_ext >&5
13698 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13699 ac_cpp
='$CPP $CPPFLAGS'
13700 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13701 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13702 cross_compiling
=$ac_cv_prog_cc_cross
13707 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
13709 if test "$wx_cv_cpp_bool" = "yes"; then
13710 cat >> confdefs.h
<<\EOF
13711 #define HAVE_BOOL 1
13718 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
13719 echo "configure:13720: checking for wcslen in -lc" >&5
13720 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
13721 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13722 echo $ac_n "(cached) $ac_c" 1>&6
13724 ac_save_LIBS
="$LIBS"
13726 cat > conftest.
$ac_ext <<EOF
13727 #line 13728 "configure"
13728 #include "confdefs.h"
13729 /* Override any gcc2 internal prototype to avoid an error. */
13730 /* We use char because int might match the return type of a gcc2
13731 builtin and then its argument prototype would still apply. */
13738 if { (eval echo configure
:13739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13740 eval "ac_cv_lib_$ac_lib_var=yes"
13742 echo "configure: failed program was:" >&5
13743 cat conftest.
$ac_ext >&5
13745 eval "ac_cv_lib_$ac_lib_var=no"
13748 LIBS
="$ac_save_LIBS"
13751 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13752 echo "$ac_t""yes" 1>&6
13754 cat >> confdefs.h
<<\EOF
13755 #define HAVE_WCSLEN 1
13761 echo "$ac_t""no" 1>&6
13763 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
13764 echo "configure:13765: checking for wcslen in -lw" >&5
13765 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
13766 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13767 echo $ac_n "(cached) $ac_c" 1>&6
13769 ac_save_LIBS
="$LIBS"
13771 cat > conftest.
$ac_ext <<EOF
13772 #line 13773 "configure"
13773 #include "confdefs.h"
13774 /* Override any gcc2 internal prototype to avoid an error. */
13775 /* We use char because int might match the return type of a gcc2
13776 builtin and then its argument prototype would still apply. */
13783 if { (eval echo configure
:13784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13785 eval "ac_cv_lib_$ac_lib_var=yes"
13787 echo "configure: failed program was:" >&5
13788 cat conftest.
$ac_ext >&5
13790 eval "ac_cv_lib_$ac_lib_var=no"
13793 LIBS
="$ac_save_LIBS"
13796 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13797 echo "$ac_t""yes" 1>&6
13799 cat >> confdefs.h
<<\EOF
13800 #define HAVE_WCSLEN 1
13806 echo "$ac_t""no" 1>&6
13808 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
13809 echo "configure:13810: checking for wcslen in -lmsvcrt" >&5
13810 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
13811 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13812 echo $ac_n "(cached) $ac_c" 1>&6
13814 ac_save_LIBS
="$LIBS"
13815 LIBS
="-lmsvcrt $LIBS"
13816 cat > conftest.
$ac_ext <<EOF
13817 #line 13818 "configure"
13818 #include "confdefs.h"
13819 /* Override any gcc2 internal prototype to avoid an error. */
13820 /* We use char because int might match the return type of a gcc2
13821 builtin and then its argument prototype would still apply. */
13828 if { (eval echo configure
:13829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13830 eval "ac_cv_lib_$ac_lib_var=yes"
13832 echo "configure: failed program was:" >&5
13833 cat conftest.
$ac_ext >&5
13835 eval "ac_cv_lib_$ac_lib_var=no"
13838 LIBS
="$ac_save_LIBS"
13841 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13842 echo "$ac_t""yes" 1>&6
13844 cat >> confdefs.h
<<\EOF
13845 #define HAVE_WCSLEN 1
13851 echo "$ac_t""no" 1>&6
13861 for ac_func
in wcsrtombs
13863 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13864 echo "configure:13865: checking for $ac_func" >&5
13865 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13866 echo $ac_n "(cached) $ac_c" 1>&6
13868 cat > conftest.
$ac_ext <<EOF
13869 #line 13870 "configure"
13870 #include "confdefs.h"
13871 /* System header to define __stub macros and hopefully few prototypes,
13872 which can conflict with char $ac_func(); below. */
13873 #include <assert.h>
13874 /* Override any gcc2 internal prototype to avoid an error. */
13875 /* We use char because int might match the return type of a gcc2
13876 builtin and then its argument prototype would still apply. */
13881 /* The GNU C library defines this for functions which it implements
13882 to always fail with ENOSYS. Some functions are actually named
13883 something starting with __ and the normal name is an alias. */
13884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13892 if { (eval echo configure
:13893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13894 eval "ac_cv_func_$ac_func=yes"
13896 echo "configure: failed program was:" >&5
13897 cat conftest.
$ac_ext >&5
13899 eval "ac_cv_func_$ac_func=no"
13904 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13905 echo "$ac_t""yes" 1>&6
13906 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13907 cat >> confdefs.h
<<EOF
13908 #define $ac_tr_func 1
13912 echo "$ac_t""no" 1>&6
13917 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
13918 echo "configure:13919: checking for vprintf" >&5
13919 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
13920 echo $ac_n "(cached) $ac_c" 1>&6
13922 cat > conftest.
$ac_ext <<EOF
13923 #line 13924 "configure"
13924 #include "confdefs.h"
13925 /* System header to define __stub macros and hopefully few prototypes,
13926 which can conflict with char vprintf(); below. */
13927 #include <assert.h>
13928 /* Override any gcc2 internal prototype to avoid an error. */
13929 /* We use char because int might match the return type of a gcc2
13930 builtin and then its argument prototype would still apply. */
13935 /* The GNU C library defines this for functions which it implements
13936 to always fail with ENOSYS. Some functions are actually named
13937 something starting with __ and the normal name is an alias. */
13938 #if defined (__stub_vprintf) || defined (__stub___vprintf)
13946 if { (eval echo configure
:13947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13948 eval "ac_cv_func_vprintf=yes"
13950 echo "configure: failed program was:" >&5
13951 cat conftest.
$ac_ext >&5
13953 eval "ac_cv_func_vprintf=no"
13958 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
13959 echo "$ac_t""yes" 1>&6
13960 cat >> confdefs.h
<<\EOF
13961 #define HAVE_VPRINTF 1
13965 echo "$ac_t""no" 1>&6
13968 if test "$ac_cv_func_vprintf" != yes; then
13969 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
13970 echo "configure:13971: checking for _doprnt" >&5
13971 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
13972 echo $ac_n "(cached) $ac_c" 1>&6
13974 cat > conftest.
$ac_ext <<EOF
13975 #line 13976 "configure"
13976 #include "confdefs.h"
13977 /* System header to define __stub macros and hopefully few prototypes,
13978 which can conflict with char _doprnt(); below. */
13979 #include <assert.h>
13980 /* Override any gcc2 internal prototype to avoid an error. */
13981 /* We use char because int might match the return type of a gcc2
13982 builtin and then its argument prototype would still apply. */
13987 /* The GNU C library defines this for functions which it implements
13988 to always fail with ENOSYS. Some functions are actually named
13989 something starting with __ and the normal name is an alias. */
13990 #if defined (__stub__doprnt) || defined (__stub____doprnt)
13998 if { (eval echo configure
:13999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14000 eval "ac_cv_func__doprnt=yes"
14002 echo "configure: failed program was:" >&5
14003 cat conftest.
$ac_ext >&5
14005 eval "ac_cv_func__doprnt=no"
14010 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
14011 echo "$ac_t""yes" 1>&6
14012 cat >> confdefs.h
<<\EOF
14013 #define HAVE_DOPRNT 1
14017 echo "$ac_t""no" 1>&6
14027 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
14028 echo "configure:14029: checking for vsnprintf" >&5
14029 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
14030 echo $ac_n "(cached) $ac_c" 1>&6
14033 cat > conftest.
$ac_ext <<EOF
14034 #line 14035 "configure"
14035 #include "confdefs.h"
14038 #include <stdarg.h>
14042 int wx_test_vsnprintf(const char *, ...);
14044 wx_test_vsnprintf("%s");
14048 int wx_test_vsnprintf(const char *fmt, ...)
14053 va_start(argp, fmt);
14054 vsnprintf(s, 42, fmt, argp);
14059 if { (eval echo configure
:14060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14062 wx_cv_func_vsnprintf
=yes
14065 echo "configure: failed program was:" >&5
14066 cat conftest.
$ac_ext >&5
14069 cat > conftest.
$ac_ext <<EOF
14070 #line 14071 "configure"
14071 #include "confdefs.h"
14074 #include <stdarg.h>
14078 int wx_test_vsnprintf(const char *, ...);
14080 wx_test_vsnprintf("%s");
14084 int wx_test_vsnprintf(const char *fmt, ...)
14089 va_start(argp, fmt);
14090 _vsnprintf(s, 42, fmt, argp);
14095 if { (eval echo configure
:14096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14098 wx_cv_func_vsnprintf
=yes
14101 echo "configure: failed program was:" >&5
14102 cat conftest.
$ac_ext >&5
14105 wx_cv_func_vsnprintf
=no
14115 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
14117 if test "$wx_cv_func_vsnprintf" = yes; then
14118 cat >> confdefs.h
<<\EOF
14119 #define HAVE_VSNPRINTF 1
14123 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
14126 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
14127 echo "configure:14128: checking for vsscanf" >&5
14128 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
14129 echo $ac_n "(cached) $ac_c" 1>&6
14132 cat > conftest.
$ac_ext <<EOF
14133 #line 14134 "configure"
14134 #include "confdefs.h"
14137 #include <stdarg.h>
14141 int wx_test_vsscanf(const char *, ...);
14143 wx_test_vsscanf("%d");
14147 int wx_test_vsscanf(const char *fmt, ...)
14150 va_start(argp, fmt);
14151 vsscanf("42", fmt, argp);
14156 if { (eval echo configure
:14157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14159 wx_cv_func_vsscanf
=yes
14162 echo "configure: failed program was:" >&5
14163 cat conftest.
$ac_ext >&5
14166 wx_cv_func_vsscanf
=no
14173 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
14175 if test "$wx_cv_func_vsscanf" = yes; then
14176 cat >> confdefs.h
<<\EOF
14177 #define HAVE_VSSCANF 1
14182 if test "$TOOLKIT" != "MSW"; then
14187 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14188 ac_cpp
='$CXXCPP $CPPFLAGS'
14189 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14190 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14191 cross_compiling
=$ac_cv_prog_cxx_cross
14193 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
14194 echo "configure:14195: checking if iconv() takes char**" >&5
14195 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
14196 echo $ac_n "(cached) $ac_c" 1>&6
14199 cat > conftest.
$ac_ext <<EOF
14200 #line 14201 "configure"
14201 #include "confdefs.h"
14205 char **inbuf, **outbuf;
14207 size_t insz, outsz;
14208 iconv(cd, inbuf, &insz, outbuf, &outsz);
14212 if { (eval echo configure
:14213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14214 wx_cv_iconv_takes_char
=yes
14216 echo "configure: failed program was:" >&5
14217 cat conftest.
$ac_ext >&5
14219 wx_cv_iconv_takes_char
=no
14225 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
14227 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14228 ac_cpp
='$CPP $CPPFLAGS'
14229 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14230 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14231 cross_compiling
=$ac_cv_prog_cc_cross
14233 if test "$wx_cv_iconv_takes_char" = yes ; then
14234 cat >> confdefs.h
<<\EOF
14235 #define WX_ICONV_TAKES_CHAR 1
14241 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
14242 for ac_func
in sigaction
14244 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14245 echo "configure:14246: checking for $ac_func" >&5
14246 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14247 echo $ac_n "(cached) $ac_c" 1>&6
14249 cat > conftest.
$ac_ext <<EOF
14250 #line 14251 "configure"
14251 #include "confdefs.h"
14252 /* System header to define __stub macros and hopefully few prototypes,
14253 which can conflict with char $ac_func(); below. */
14254 #include <assert.h>
14255 /* Override any gcc2 internal prototype to avoid an error. */
14256 /* We use char because int might match the return type of a gcc2
14257 builtin and then its argument prototype would still apply. */
14262 /* The GNU C library defines this for functions which it implements
14263 to always fail with ENOSYS. Some functions are actually named
14264 something starting with __ and the normal name is an alias. */
14265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14273 if { (eval echo configure
:14274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14275 eval "ac_cv_func_$ac_func=yes"
14277 echo "configure: failed program was:" >&5
14278 cat conftest.
$ac_ext >&5
14280 eval "ac_cv_func_$ac_func=no"
14285 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14286 echo "$ac_t""yes" 1>&6
14287 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14288 cat >> confdefs.h
<<EOF
14289 #define $ac_tr_func 1
14293 echo "$ac_t""no" 1>&6
14298 if test "$ac_cv_func_sigaction" = "no"; then
14299 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
14300 wxUSE_ON_FATAL_EXCEPTION
=no
14303 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
14306 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14307 ac_cpp
='$CXXCPP $CPPFLAGS'
14308 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14309 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14310 cross_compiling
=$ac_cv_prog_cxx_cross
14313 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
14314 echo "configure:14315: checking for sa_handler type" >&5
14315 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
14316 echo $ac_n "(cached) $ac_c" 1>&6
14319 cat > conftest.
$ac_ext <<EOF
14320 #line 14321 "configure"
14321 #include "confdefs.h"
14322 #include <signal.h>
14325 extern void testSigHandler(int);
14327 struct sigaction sa;
14328 sa.sa_handler = testSigHandler;
14332 if { (eval echo configure
:14333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14335 wx_cv_type_sa_handler
=int
14338 echo "configure: failed program was:" >&5
14339 cat conftest.
$ac_ext >&5
14342 wx_cv_type_sa_handler
=void
14349 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
14352 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14353 ac_cpp
='$CPP $CPPFLAGS'
14354 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14355 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14356 cross_compiling
=$ac_cv_prog_cc_cross
14359 cat >> confdefs.h
<<EOF
14360 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
14366 for ac_func
in vfork
14368 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14369 echo "configure:14370: checking for $ac_func" >&5
14370 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+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 /* System header to define __stub macros and hopefully few prototypes,
14377 which can conflict with char $ac_func(); below. */
14378 #include <assert.h>
14379 /* Override any gcc2 internal prototype to avoid an error. */
14380 /* We use char because int might match the return type of a gcc2
14381 builtin and then its argument prototype would still apply. */
14386 /* The GNU C library defines this for functions which it implements
14387 to always fail with ENOSYS. Some functions are actually named
14388 something starting with __ and the normal name is an alias. */
14389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14397 if { (eval echo configure
:14398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14399 eval "ac_cv_func_$ac_func=yes"
14401 echo "configure: failed program was:" >&5
14402 cat conftest.
$ac_ext >&5
14404 eval "ac_cv_func_$ac_func=no"
14409 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14410 echo "$ac_t""yes" 1>&6
14411 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14412 cat >> confdefs.h
<<EOF
14413 #define $ac_tr_func 1
14417 echo "$ac_t""no" 1>&6
14422 echo $ac_n "checking for statfs""... $ac_c" 1>&6
14423 echo "configure:14424: checking for statfs" >&5
14424 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
14425 echo $ac_n "(cached) $ac_c" 1>&6
14427 cat > conftest.
$ac_ext <<EOF
14428 #line 14429 "configure"
14429 #include "confdefs.h"
14431 #if defined(__BSD__)
14432 #include <sys/param.h>
14433 #include <sys/mount.h>
14435 #include <sys/vfs.h>
14449 if { (eval echo configure
:14450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14452 wx_cv_func_statfs
=yes
14455 echo "configure: failed program was:" >&5
14456 cat conftest.
$ac_ext >&5
14459 wx_cv_func_statfs
=no
14467 echo "$ac_t""$wx_cv_func_statfs" 1>&6
14469 if test "$wx_cv_func_statfs" = "yes"; then
14470 cat >> confdefs.h
<<\EOF
14471 #define HAVE_STATFS 1
14475 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
14476 echo "configure:14477: checking for statvfs" >&5
14477 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
14478 echo $ac_n "(cached) $ac_c" 1>&6
14480 cat > conftest.
$ac_ext <<EOF
14481 #line 14482 "configure"
14482 #include "confdefs.h"
14484 #include <sys/statvfs.h>
14497 if { (eval echo configure
:14498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14500 wx_cv_func_statvfs
=yes
14503 echo "configure: failed program was:" >&5
14504 cat conftest.
$ac_ext >&5
14507 wx_cv_func_statvfs
=no
14515 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
14517 if test "$wx_cv_func_statvfs" = "yes"; then
14518 cat >> confdefs.h
<<\EOF
14519 #define HAVE_STATVFS 1
14523 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
14527 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
14528 for ac_func
in fcntl flock
14530 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14531 echo "configure:14532: checking for $ac_func" >&5
14532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14533 echo $ac_n "(cached) $ac_c" 1>&6
14535 cat > conftest.
$ac_ext <<EOF
14536 #line 14537 "configure"
14537 #include "confdefs.h"
14538 /* System header to define __stub macros and hopefully few prototypes,
14539 which can conflict with char $ac_func(); below. */
14540 #include <assert.h>
14541 /* Override any gcc2 internal prototype to avoid an error. */
14542 /* We use char because int might match the return type of a gcc2
14543 builtin and then its argument prototype would still apply. */
14548 /* The GNU C library defines this for functions which it implements
14549 to always fail with ENOSYS. Some functions are actually named
14550 something starting with __ and the normal name is an alias. */
14551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14559 if { (eval echo configure
:14560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14561 eval "ac_cv_func_$ac_func=yes"
14563 echo "configure: failed program was:" >&5
14564 cat conftest.
$ac_ext >&5
14566 eval "ac_cv_func_$ac_func=no"
14571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14572 echo "$ac_t""yes" 1>&6
14573 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14574 cat >> confdefs.h
<<EOF
14575 #define $ac_tr_func 1
14579 echo "$ac_t""no" 1>&6
14584 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
14585 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
14586 wxUSE_SNGLINST_CHECKER
=no
14590 for ac_func
in timegm
14592 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14593 echo "configure:14594: checking for $ac_func" >&5
14594 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14595 echo $ac_n "(cached) $ac_c" 1>&6
14597 cat > conftest.
$ac_ext <<EOF
14598 #line 14599 "configure"
14599 #include "confdefs.h"
14600 /* System header to define __stub macros and hopefully few prototypes,
14601 which can conflict with char $ac_func(); below. */
14602 #include <assert.h>
14603 /* Override any gcc2 internal prototype to avoid an error. */
14604 /* We use char because int might match the return type of a gcc2
14605 builtin and then its argument prototype would still apply. */
14610 /* The GNU C library defines this for functions which it implements
14611 to always fail with ENOSYS. Some functions are actually named
14612 something starting with __ and the normal name is an alias. */
14613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14621 if { (eval echo configure
:14622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14623 eval "ac_cv_func_$ac_func=yes"
14625 echo "configure: failed program was:" >&5
14626 cat conftest.
$ac_ext >&5
14628 eval "ac_cv_func_$ac_func=no"
14633 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14634 echo "$ac_t""yes" 1>&6
14635 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14636 cat >> confdefs.h
<<EOF
14637 #define $ac_tr_func 1
14641 echo "$ac_t""no" 1>&6
14646 for ac_func
in putenv setenv
14648 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14649 echo "configure:14650: checking for $ac_func" >&5
14650 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14651 echo $ac_n "(cached) $ac_c" 1>&6
14653 cat > conftest.
$ac_ext <<EOF
14654 #line 14655 "configure"
14655 #include "confdefs.h"
14656 /* System header to define __stub macros and hopefully few prototypes,
14657 which can conflict with char $ac_func(); below. */
14658 #include <assert.h>
14659 /* Override any gcc2 internal prototype to avoid an error. */
14660 /* We use char because int might match the return type of a gcc2
14661 builtin and then its argument prototype would still apply. */
14666 /* The GNU C library defines this for functions which it implements
14667 to always fail with ENOSYS. Some functions are actually named
14668 something starting with __ and the normal name is an alias. */
14669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14677 if { (eval echo configure
:14678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14679 eval "ac_cv_func_$ac_func=yes"
14681 echo "configure: failed program was:" >&5
14682 cat conftest.
$ac_ext >&5
14684 eval "ac_cv_func_$ac_func=no"
14689 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14690 echo "$ac_t""yes" 1>&6
14691 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14692 cat >> confdefs.h
<<EOF
14693 #define $ac_tr_func 1
14697 echo "$ac_t""no" 1>&6
14702 HAVE_SOME_SLEEP_FUNC
=0
14703 if test "$USE_BEOS" = 1; then
14704 cat >> confdefs.h
<<\EOF
14705 #define HAVE_SLEEP 1
14708 HAVE_SOME_SLEEP_FUNC
=1
14711 if test "$USE_DARWIN" = 1; then
14712 cat >> confdefs.h
<<\EOF
14713 #define HAVE_USLEEP 1
14716 HAVE_SOME_SLEEP_FUNC
=1
14719 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
14721 for ac_func
in nanosleep
14723 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14724 echo "configure:14725: checking for $ac_func" >&5
14725 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14726 echo $ac_n "(cached) $ac_c" 1>&6
14728 cat > conftest.
$ac_ext <<EOF
14729 #line 14730 "configure"
14730 #include "confdefs.h"
14731 /* System header to define __stub macros and hopefully few prototypes,
14732 which can conflict with char $ac_func(); below. */
14733 #include <assert.h>
14734 /* Override any gcc2 internal prototype to avoid an error. */
14735 /* We use char because int might match the return type of a gcc2
14736 builtin and then its argument prototype would still apply. */
14741 /* The GNU C library defines this for functions which it implements
14742 to always fail with ENOSYS. Some functions are actually named
14743 something starting with __ and the normal name is an alias. */
14744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14752 if { (eval echo configure
:14753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14754 eval "ac_cv_func_$ac_func=yes"
14756 echo "configure: failed program was:" >&5
14757 cat conftest.
$ac_ext >&5
14759 eval "ac_cv_func_$ac_func=no"
14764 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14765 echo "$ac_t""yes" 1>&6
14766 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14767 cat >> confdefs.h
<<EOF
14768 #define $ac_tr_func 1
14770 cat >> confdefs.h
<<\EOF
14771 #define HAVE_NANOSLEEP 1
14775 echo "$ac_t""no" 1>&6
14776 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
14777 echo "configure:14778: checking for nanosleep in -lposix4" >&5
14778 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
14779 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14780 echo $ac_n "(cached) $ac_c" 1>&6
14782 ac_save_LIBS
="$LIBS"
14783 LIBS
="-lposix4 $LIBS"
14784 cat > conftest.
$ac_ext <<EOF
14785 #line 14786 "configure"
14786 #include "confdefs.h"
14787 /* Override any gcc2 internal prototype to avoid an error. */
14788 /* We use char because int might match the return type of a gcc2
14789 builtin and then its argument prototype would still apply. */
14796 if { (eval echo configure
:14797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14798 eval "ac_cv_lib_$ac_lib_var=yes"
14800 echo "configure: failed program was:" >&5
14801 cat conftest.
$ac_ext >&5
14803 eval "ac_cv_lib_$ac_lib_var=no"
14806 LIBS
="$ac_save_LIBS"
14809 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14810 echo "$ac_t""yes" 1>&6
14812 cat >> confdefs.h
<<\EOF
14813 #define HAVE_NANOSLEEP 1
14816 POSIX4_LINK
=" -lposix4"
14819 echo "$ac_t""no" 1>&6
14821 for ac_func
in usleep
14823 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14824 echo "configure:14825: checking for $ac_func" >&5
14825 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14826 echo $ac_n "(cached) $ac_c" 1>&6
14828 cat > conftest.
$ac_ext <<EOF
14829 #line 14830 "configure"
14830 #include "confdefs.h"
14831 /* System header to define __stub macros and hopefully few prototypes,
14832 which can conflict with char $ac_func(); below. */
14833 #include <assert.h>
14834 /* Override any gcc2 internal prototype to avoid an error. */
14835 /* We use char because int might match the return type of a gcc2
14836 builtin and then its argument prototype would still apply. */
14841 /* The GNU C library defines this for functions which it implements
14842 to always fail with ENOSYS. Some functions are actually named
14843 something starting with __ and the normal name is an alias. */
14844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14852 if { (eval echo configure
:14853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14854 eval "ac_cv_func_$ac_func=yes"
14856 echo "configure: failed program was:" >&5
14857 cat conftest.
$ac_ext >&5
14859 eval "ac_cv_func_$ac_func=no"
14864 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14865 echo "$ac_t""yes" 1>&6
14866 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14867 cat >> confdefs.h
<<EOF
14868 #define $ac_tr_func 1
14870 cat >> confdefs.h
<<\EOF
14871 #define HAVE_USLEEP 1
14875 echo "$ac_t""no" 1>&6
14876 echo "configure: warning: wxSleep() function will not work" 1>&2
14892 for ac_func
in uname gethostname
14894 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14895 echo "configure:14896: checking for $ac_func" >&5
14896 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14897 echo $ac_n "(cached) $ac_c" 1>&6
14899 cat > conftest.
$ac_ext <<EOF
14900 #line 14901 "configure"
14901 #include "confdefs.h"
14902 /* System header to define __stub macros and hopefully few prototypes,
14903 which can conflict with char $ac_func(); below. */
14904 #include <assert.h>
14905 /* Override any gcc2 internal prototype to avoid an error. */
14906 /* We use char because int might match the return type of a gcc2
14907 builtin and then its argument prototype would still apply. */
14912 /* The GNU C library defines this for functions which it implements
14913 to always fail with ENOSYS. Some functions are actually named
14914 something starting with __ and the normal name is an alias. */
14915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14923 if { (eval echo configure
:14924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14925 eval "ac_cv_func_$ac_func=yes"
14927 echo "configure: failed program was:" >&5
14928 cat conftest.
$ac_ext >&5
14930 eval "ac_cv_func_$ac_func=no"
14935 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14936 echo "$ac_t""yes" 1>&6
14937 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14938 cat >> confdefs.h
<<EOF
14939 #define $ac_tr_func 1
14943 echo "$ac_t""no" 1>&6
14950 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14951 ac_cpp
='$CXXCPP $CPPFLAGS'
14952 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14953 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14954 cross_compiling
=$ac_cv_prog_cxx_cross
14957 for ac_func
in strtok_r
14959 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14960 echo "configure:14961: checking for $ac_func" >&5
14961 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14962 echo $ac_n "(cached) $ac_c" 1>&6
14964 cat > conftest.
$ac_ext <<EOF
14965 #line 14966 "configure"
14966 #include "confdefs.h"
14967 /* System header to define __stub macros and hopefully few prototypes,
14968 which can conflict with char $ac_func(); below. */
14969 #include <assert.h>
14970 /* Override any gcc2 internal prototype to avoid an error. */
14974 /* We use char because int might match the return type of a gcc2
14975 builtin and then its argument prototype would still apply. */
14980 /* The GNU C library defines this for functions which it implements
14981 to always fail with ENOSYS. Some functions are actually named
14982 something starting with __ and the normal name is an alias. */
14983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14991 if { (eval echo configure
:14992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14993 eval "ac_cv_func_$ac_func=yes"
14995 echo "configure: failed program was:" >&5
14996 cat conftest.
$ac_ext >&5
14998 eval "ac_cv_func_$ac_func=no"
15003 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15004 echo "$ac_t""yes" 1>&6
15005 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15006 cat >> confdefs.h
<<EOF
15007 #define $ac_tr_func 1
15011 echo "$ac_t""no" 1>&6
15017 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15018 ac_cpp
='$CPP $CPPFLAGS'
15019 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15020 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15021 cross_compiling
=$ac_cv_prog_cc_cross
15025 for ac_func
in inet_addr
15027 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15028 echo "configure:15029: checking for $ac_func" >&5
15029 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15030 echo $ac_n "(cached) $ac_c" 1>&6
15032 cat > conftest.
$ac_ext <<EOF
15033 #line 15034 "configure"
15034 #include "confdefs.h"
15035 /* System header to define __stub macros and hopefully few prototypes,
15036 which can conflict with char $ac_func(); below. */
15037 #include <assert.h>
15038 /* Override any gcc2 internal prototype to avoid an error. */
15039 /* We use char because int might match the return type of a gcc2
15040 builtin and then its argument prototype would still apply. */
15045 /* The GNU C library defines this for functions which it implements
15046 to always fail with ENOSYS. Some functions are actually named
15047 something starting with __ and the normal name is an alias. */
15048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15056 if { (eval echo configure
:15057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15058 eval "ac_cv_func_$ac_func=yes"
15060 echo "configure: failed program was:" >&5
15061 cat conftest.
$ac_ext >&5
15063 eval "ac_cv_func_$ac_func=no"
15068 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15069 echo "$ac_t""yes" 1>&6
15070 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15071 cat >> confdefs.h
<<EOF
15072 #define $ac_tr_func 1
15074 cat >> confdefs.h
<<\EOF
15075 #define HAVE_INET_ADDR 1
15079 echo "$ac_t""no" 1>&6
15080 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
15081 echo "configure:15082: checking for inet_addr in -lnsl" >&5
15082 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
15083 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15084 echo $ac_n "(cached) $ac_c" 1>&6
15086 ac_save_LIBS
="$LIBS"
15088 cat > conftest.
$ac_ext <<EOF
15089 #line 15090 "configure"
15090 #include "confdefs.h"
15091 /* Override any gcc2 internal prototype to avoid an error. */
15092 /* We use char because int might match the return type of a gcc2
15093 builtin and then its argument prototype would still apply. */
15100 if { (eval echo configure
:15101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15102 eval "ac_cv_lib_$ac_lib_var=yes"
15104 echo "configure: failed program was:" >&5
15105 cat conftest.
$ac_ext >&5
15107 eval "ac_cv_lib_$ac_lib_var=no"
15110 LIBS
="$ac_save_LIBS"
15113 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15114 echo "$ac_t""yes" 1>&6
15117 echo "$ac_t""no" 1>&6
15118 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
15119 echo "configure:15120: checking for inet_addr in -lresolv" >&5
15120 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
15121 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15122 echo $ac_n "(cached) $ac_c" 1>&6
15124 ac_save_LIBS
="$LIBS"
15125 LIBS
="-lresolv $LIBS"
15126 cat > conftest.
$ac_ext <<EOF
15127 #line 15128 "configure"
15128 #include "confdefs.h"
15129 /* Override any gcc2 internal prototype to avoid an error. */
15130 /* We use char because int might match the return type of a gcc2
15131 builtin and then its argument prototype would still apply. */
15138 if { (eval echo configure
:15139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15140 eval "ac_cv_lib_$ac_lib_var=yes"
15142 echo "configure: failed program was:" >&5
15143 cat conftest.
$ac_ext >&5
15145 eval "ac_cv_lib_$ac_lib_var=no"
15148 LIBS
="$ac_save_LIBS"
15151 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15152 echo "$ac_t""yes" 1>&6
15156 echo "$ac_t""no" 1>&6
15168 for ac_func
in inet_aton
15170 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15171 echo "configure:15172: checking for $ac_func" >&5
15172 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15173 echo $ac_n "(cached) $ac_c" 1>&6
15175 cat > conftest.
$ac_ext <<EOF
15176 #line 15177 "configure"
15177 #include "confdefs.h"
15178 /* System header to define __stub macros and hopefully few prototypes,
15179 which can conflict with char $ac_func(); below. */
15180 #include <assert.h>
15181 /* Override any gcc2 internal prototype to avoid an error. */
15182 /* We use char because int might match the return type of a gcc2
15183 builtin and then its argument prototype would still apply. */
15188 /* The GNU C library defines this for functions which it implements
15189 to always fail with ENOSYS. Some functions are actually named
15190 something starting with __ and the normal name is an alias. */
15191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15199 if { (eval echo configure
:15200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15201 eval "ac_cv_func_$ac_func=yes"
15203 echo "configure: failed program was:" >&5
15204 cat conftest.
$ac_ext >&5
15206 eval "ac_cv_func_$ac_func=no"
15211 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15212 echo "$ac_t""yes" 1>&6
15213 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15214 cat >> confdefs.h
<<EOF
15215 #define $ac_tr_func 1
15217 cat >> confdefs.h
<<\EOF
15218 #define HAVE_INET_ATON 1
15222 echo "$ac_t""no" 1>&6
15223 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
15224 echo "configure:15225: checking for inet_aton in -l$INET_LINK" >&5
15225 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
15226 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15227 echo $ac_n "(cached) $ac_c" 1>&6
15229 ac_save_LIBS
="$LIBS"
15230 LIBS
="-l$INET_LINK $LIBS"
15231 cat > conftest.
$ac_ext <<EOF
15232 #line 15233 "configure"
15233 #include "confdefs.h"
15234 /* Override any gcc2 internal prototype to avoid an error. */
15235 /* We use char because int might match the return type of a gcc2
15236 builtin and then its argument prototype would still apply. */
15243 if { (eval echo configure
:15244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15245 eval "ac_cv_lib_$ac_lib_var=yes"
15247 echo "configure: failed program was:" >&5
15248 cat conftest.
$ac_ext >&5
15250 eval "ac_cv_lib_$ac_lib_var=no"
15253 LIBS
="$ac_save_LIBS"
15256 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15257 echo "$ac_t""yes" 1>&6
15258 cat >> confdefs.h
<<\EOF
15259 #define HAVE_INET_ATON 1
15263 echo "$ac_t""no" 1>&6
15271 if test "x$INET_LINK" != "x"; then
15272 cat >> confdefs.h
<<\EOF
15273 #define HAVE_INET_ADDR 1
15276 INET_LINK
=" -l$INET_LINK"
15282 cat > confcache
<<\EOF
15283 # This file is a shell script that caches the results of configure
15284 # tests run on this system so they can be shared between configure
15285 # scripts and configure runs. It is not useful on other systems.
15286 # If it contains results you don't want to keep, you may remove or edit it.
15288 # By default, configure uses ./config.cache as the cache file,
15289 # creating it if it does not exist already. You can give configure
15290 # the --cache-file=FILE option to use a different cache file; that is
15291 # what configure does when it calls configure scripts in
15292 # subdirectories, so they share the cache.
15293 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15294 # config.status only pays attention to the cache file if you give it the
15295 # --recheck option to rerun configure.
15298 # The following way of writing the cache mishandles newlines in values,
15299 # but we know of no workaround that is simple, portable, and efficient.
15300 # So, don't put newlines in cache variables' values.
15301 # Ultrix sh set writes to stderr and can't be redirected directly,
15302 # and sets the high bit in the cache file unless we assign to the vars.
15304 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15306 # `set' does not quote correctly, so add quotes (double-quote substitution
15307 # turns \\\\ into \\, and sed turns \\ into \).
15309 -e "s/'/'\\\\''/g" \
15310 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15313 # `set' quotes correctly as required by POSIX, so do not add quotes.
15314 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15317 if cmp -s $cache_file confcache
; then
15320 if test -w $cache_file; then
15321 echo "updating cache $cache_file"
15322 cat confcache
> $cache_file
15324 echo "not updating unwritable cache $cache_file"
15331 if test "$TOOLKIT" != "MSW"; then
15337 CODE_GEN_FLAGS_CXX
=
15339 if test "$wxUSE_THREADS" = "yes" ; then
15340 if test "$wxUSE_WINE" = 1 ; then
15341 echo "configure: warning: Threads are not supported under WINE" 1>&2
15343 elif test "$USE_BEOS" = 1; then
15344 echo "configure: warning: BeOS threads are not yet supported" 1>&2
15349 if test "$wxUSE_THREADS" = "yes" ; then
15351 if test "$USE_AIX" = 1; then
15352 THREADS_LIB
=pthreads
15354 THREADS_LIB
=pthread
15357 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
15358 echo "configure:15359: checking for pthread_create in -l$THREADS_LIB" >&5
15359 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
15360 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15361 echo $ac_n "(cached) $ac_c" 1>&6
15363 ac_save_LIBS
="$LIBS"
15364 LIBS
="-l$THREADS_LIB $LIBS"
15365 cat > conftest.
$ac_ext <<EOF
15366 #line 15367 "configure"
15367 #include "confdefs.h"
15368 /* Override any gcc2 internal prototype to avoid an error. */
15369 /* We use char because int might match the return type of a gcc2
15370 builtin and then its argument prototype would still apply. */
15371 char pthread_create();
15377 if { (eval echo configure
:15378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15379 eval "ac_cv_lib_$ac_lib_var=yes"
15381 echo "configure: failed program was:" >&5
15382 cat conftest.
$ac_ext >&5
15384 eval "ac_cv_lib_$ac_lib_var=no"
15387 LIBS
="$ac_save_LIBS"
15390 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15391 echo "$ac_t""yes" 1>&6
15393 THREADS_OBJ
="threadpsx.lo"
15394 THREADS_LINK
=$THREADS_LIB
15397 echo "$ac_t""no" 1>&6
15399 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
15400 echo "configure:15401: checking for pthread_create in -lc_r" >&5
15401 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
15402 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15403 echo $ac_n "(cached) $ac_c" 1>&6
15405 ac_save_LIBS
="$LIBS"
15407 cat > conftest.
$ac_ext <<EOF
15408 #line 15409 "configure"
15409 #include "confdefs.h"
15410 /* Override any gcc2 internal prototype to avoid an error. */
15411 /* We use char because int might match the return type of a gcc2
15412 builtin and then its argument prototype would still apply. */
15413 char pthread_create();
15419 if { (eval echo configure
:15420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15421 eval "ac_cv_lib_$ac_lib_var=yes"
15423 echo "configure: failed program was:" >&5
15424 cat conftest.
$ac_ext >&5
15426 eval "ac_cv_lib_$ac_lib_var=no"
15429 LIBS
="$ac_save_LIBS"
15432 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15433 echo "$ac_t""yes" 1>&6
15435 THREADS_OBJ
="threadpsx.lo"
15439 echo "$ac_t""no" 1>&6
15441 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
15442 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
15443 echo "configure:15444: checking for sys/prctl.h" >&5
15444 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15445 echo $ac_n "(cached) $ac_c" 1>&6
15447 cat > conftest.
$ac_ext <<EOF
15448 #line 15449 "configure"
15449 #include "confdefs.h"
15450 #include <sys/prctl.h>
15452 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15453 { (eval echo configure
:15454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15454 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15455 if test -z "$ac_err"; then
15457 eval "ac_cv_header_$ac_safe=yes"
15460 echo "configure: failed program was:" >&5
15461 cat conftest.
$ac_ext >&5
15463 eval "ac_cv_header_$ac_safe=no"
15467 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15468 echo "$ac_t""yes" 1>&6
15470 THREADS_OBJ
="threadsgi.lo"
15473 echo "$ac_t""no" 1>&6
15483 if test -z "$THREADS_OBJ" ; then
15485 echo "configure: warning: No thread support on this system" 1>&2
15489 if test "$wxUSE_THREADS" = "yes" ; then
15490 for ac_func
in thr_setconcurrency
15492 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15493 echo "configure:15494: checking for $ac_func" >&5
15494 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15495 echo $ac_n "(cached) $ac_c" 1>&6
15497 cat > conftest.
$ac_ext <<EOF
15498 #line 15499 "configure"
15499 #include "confdefs.h"
15500 /* System header to define __stub macros and hopefully few prototypes,
15501 which can conflict with char $ac_func(); below. */
15502 #include <assert.h>
15503 /* Override any gcc2 internal prototype to avoid an error. */
15504 /* We use char because int might match the return type of a gcc2
15505 builtin and then its argument prototype would still apply. */
15510 /* The GNU C library defines this for functions which it implements
15511 to always fail with ENOSYS. Some functions are actually named
15512 something starting with __ and the normal name is an alias. */
15513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15521 if { (eval echo configure
:15522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15523 eval "ac_cv_func_$ac_func=yes"
15525 echo "configure: failed program was:" >&5
15526 cat conftest.
$ac_ext >&5
15528 eval "ac_cv_func_$ac_func=no"
15533 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15534 echo "$ac_t""yes" 1>&6
15535 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15536 cat >> confdefs.h
<<EOF
15537 #define $ac_tr_func 1
15541 echo "$ac_t""no" 1>&6
15547 for ac_hdr
in sched.h
15549 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15550 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15551 echo "configure:15552: checking for $ac_hdr" >&5
15552 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15553 echo $ac_n "(cached) $ac_c" 1>&6
15555 cat > conftest.
$ac_ext <<EOF
15556 #line 15557 "configure"
15557 #include "confdefs.h"
15560 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15561 { (eval echo configure
:15562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15562 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15563 if test -z "$ac_err"; then
15565 eval "ac_cv_header_$ac_safe=yes"
15568 echo "configure: failed program was:" >&5
15569 cat conftest.
$ac_ext >&5
15571 eval "ac_cv_header_$ac_safe=no"
15575 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15576 echo "$ac_t""yes" 1>&6
15577 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15578 cat >> confdefs.h
<<EOF
15579 #define $ac_tr_hdr 1
15583 echo "$ac_t""no" 1>&6
15588 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
15589 echo "configure:15590: checking for sched_yield in -l$THREADS_LINK" >&5
15590 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
15591 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15592 echo $ac_n "(cached) $ac_c" 1>&6
15594 ac_save_LIBS
="$LIBS"
15595 LIBS
="-l$THREADS_LINK $LIBS"
15596 cat > conftest.
$ac_ext <<EOF
15597 #line 15598 "configure"
15598 #include "confdefs.h"
15599 /* Override any gcc2 internal prototype to avoid an error. */
15600 /* We use char because int might match the return type of a gcc2
15601 builtin and then its argument prototype would still apply. */
15602 char sched_yield();
15608 if { (eval echo configure
:15609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15610 eval "ac_cv_lib_$ac_lib_var=yes"
15612 echo "configure: failed program was:" >&5
15613 cat conftest.
$ac_ext >&5
15615 eval "ac_cv_lib_$ac_lib_var=no"
15618 LIBS
="$ac_save_LIBS"
15621 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15622 echo "$ac_t""yes" 1>&6
15623 cat >> confdefs.h
<<\EOF
15624 #define HAVE_SCHED_YIELD 1
15628 echo "$ac_t""no" 1>&6
15629 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
15630 echo "configure:15631: checking for sched_yield in -lposix4" >&5
15631 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
15632 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15633 echo $ac_n "(cached) $ac_c" 1>&6
15635 ac_save_LIBS
="$LIBS"
15636 LIBS
="-lposix4 $LIBS"
15637 cat > conftest.
$ac_ext <<EOF
15638 #line 15639 "configure"
15639 #include "confdefs.h"
15640 /* Override any gcc2 internal prototype to avoid an error. */
15641 /* We use char because int might match the return type of a gcc2
15642 builtin and then its argument prototype would still apply. */
15643 char sched_yield();
15649 if { (eval echo configure
:15650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15651 eval "ac_cv_lib_$ac_lib_var=yes"
15653 echo "configure: failed program was:" >&5
15654 cat conftest.
$ac_ext >&5
15656 eval "ac_cv_lib_$ac_lib_var=no"
15659 LIBS
="$ac_save_LIBS"
15662 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15663 echo "$ac_t""yes" 1>&6
15664 cat >> confdefs.h
<<\EOF
15665 #define HAVE_SCHED_YIELD 1
15667 POSIX4_LINK
=" -lposix4"
15669 echo "$ac_t""no" 1>&6
15670 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
15679 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
15680 echo "configure:15681: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
15681 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
15682 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15683 echo $ac_n "(cached) $ac_c" 1>&6
15685 ac_save_LIBS
="$LIBS"
15686 LIBS
="-l$THREADS_LINK $LIBS"
15687 cat > conftest.
$ac_ext <<EOF
15688 #line 15689 "configure"
15689 #include "confdefs.h"
15690 /* Override any gcc2 internal prototype to avoid an error. */
15691 /* We use char because int might match the return type of a gcc2
15692 builtin and then its argument prototype would still apply. */
15693 char pthread_attr_getschedpolicy();
15696 pthread_attr_getschedpolicy()
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_lib_$ac_lib_var=yes"
15703 echo "configure: failed program was:" >&5
15704 cat conftest.
$ac_ext >&5
15706 eval "ac_cv_lib_$ac_lib_var=no"
15709 LIBS
="$ac_save_LIBS"
15712 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15713 echo "$ac_t""yes" 1>&6
15714 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
15715 echo "configure:15716: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
15716 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
15717 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15718 echo $ac_n "(cached) $ac_c" 1>&6
15720 ac_save_LIBS
="$LIBS"
15721 LIBS
="-l$THREADS_LINK $LIBS"
15722 cat > conftest.
$ac_ext <<EOF
15723 #line 15724 "configure"
15724 #include "confdefs.h"
15725 /* Override any gcc2 internal prototype to avoid an error. */
15726 /* We use char because int might match the return type of a gcc2
15727 builtin and then its argument prototype would still apply. */
15728 char pthread_attr_setschedparam();
15731 pthread_attr_setschedparam()
15734 if { (eval echo configure
:15735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15736 eval "ac_cv_lib_$ac_lib_var=yes"
15738 echo "configure: failed program was:" >&5
15739 cat conftest.
$ac_ext >&5
15741 eval "ac_cv_lib_$ac_lib_var=no"
15744 LIBS
="$ac_save_LIBS"
15747 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15748 echo "$ac_t""yes" 1>&6
15749 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
15750 echo "configure:15751: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
15751 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
15752 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15753 echo $ac_n "(cached) $ac_c" 1>&6
15755 ac_save_LIBS
="$LIBS"
15756 LIBS
="-l$THREADS_LINK $LIBS"
15757 cat > conftest.
$ac_ext <<EOF
15758 #line 15759 "configure"
15759 #include "confdefs.h"
15760 /* Override any gcc2 internal prototype to avoid an error. */
15761 /* We use char because int might match the return type of a gcc2
15762 builtin and then its argument prototype would still apply. */
15763 char sched_get_priority_max();
15766 sched_get_priority_max()
15769 if { (eval echo configure
:15770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15771 eval "ac_cv_lib_$ac_lib_var=yes"
15773 echo "configure: failed program was:" >&5
15774 cat conftest.
$ac_ext >&5
15776 eval "ac_cv_lib_$ac_lib_var=no"
15779 LIBS
="$ac_save_LIBS"
15782 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15783 echo "$ac_t""yes" 1>&6
15786 echo "$ac_t""no" 1>&6
15787 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
15788 echo "configure:15789: checking for sched_get_priority_max in -lposix4" >&5
15789 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
15790 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15791 echo $ac_n "(cached) $ac_c" 1>&6
15793 ac_save_LIBS
="$LIBS"
15794 LIBS
="-lposix4 $LIBS"
15795 cat > conftest.
$ac_ext <<EOF
15796 #line 15797 "configure"
15797 #include "confdefs.h"
15798 /* Override any gcc2 internal prototype to avoid an error. */
15799 /* We use char because int might match the return type of a gcc2
15800 builtin and then its argument prototype would still apply. */
15801 char sched_get_priority_max();
15804 sched_get_priority_max()
15807 if { (eval echo configure
:15808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15809 eval "ac_cv_lib_$ac_lib_var=yes"
15811 echo "configure: failed program was:" >&5
15812 cat conftest.
$ac_ext >&5
15814 eval "ac_cv_lib_$ac_lib_var=no"
15817 LIBS
="$ac_save_LIBS"
15820 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15821 echo "$ac_t""yes" 1>&6
15824 POSIX4_LINK
=" -lposix4"
15827 echo "$ac_t""no" 1>&6
15835 echo "$ac_t""no" 1>&6
15840 echo "$ac_t""no" 1>&6
15844 if test "$HAVE_PRIOR_FUNCS" = 1; then
15845 cat >> confdefs.h
<<\EOF
15846 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
15850 echo "configure: warning: Setting thread priority will not work" 1>&2
15853 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
15854 echo "configure:15855: checking for pthread_cancel in -l$THREADS_LINK" >&5
15855 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
15856 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15857 echo $ac_n "(cached) $ac_c" 1>&6
15859 ac_save_LIBS
="$LIBS"
15860 LIBS
="-l$THREADS_LINK $LIBS"
15861 cat > conftest.
$ac_ext <<EOF
15862 #line 15863 "configure"
15863 #include "confdefs.h"
15864 /* Override any gcc2 internal prototype to avoid an error. */
15865 /* We use char because int might match the return type of a gcc2
15866 builtin and then its argument prototype would still apply. */
15867 char pthread_cancel();
15873 if { (eval echo configure
:15874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15875 eval "ac_cv_lib_$ac_lib_var=yes"
15877 echo "configure: failed program was:" >&5
15878 cat conftest.
$ac_ext >&5
15880 eval "ac_cv_lib_$ac_lib_var=no"
15883 LIBS
="$ac_save_LIBS"
15886 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15887 echo "$ac_t""yes" 1>&6
15888 cat >> confdefs.h
<<\EOF
15889 #define HAVE_PTHREAD_CANCEL 1
15893 echo "$ac_t""no" 1>&6
15894 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
15898 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
15899 echo "configure:15900: checking for pthread_cleanup_push/pop" >&5
15900 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
15901 echo $ac_n "(cached) $ac_c" 1>&6
15904 cat > conftest.
$ac_ext <<EOF
15905 #line 15906 "configure"
15906 #include "confdefs.h"
15907 #include <pthread.h>
15910 pthread_cleanup_push(NULL, NULL);
15911 pthread_cleanup_pop(0);
15915 if { (eval echo configure
:15916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15918 wx_cv_func_pthread_cleanup_push
=yes
15921 echo "configure: failed program was:" >&5
15922 cat conftest.
$ac_ext >&5
15925 wx_cv_func_pthread_cleanup_push
=no
15932 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
15934 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
15935 cat >> confdefs.h
<<\EOF
15936 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
15942 if test "x$wx_lib_glibc21" = "xyes"; then
15943 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
15946 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
15947 echo "configure:15948: checking for pthread_mutexattr_t" >&5
15948 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
15949 echo $ac_n "(cached) $ac_c" 1>&6
15952 cat > conftest.
$ac_ext <<EOF
15953 #line 15954 "configure"
15954 #include "confdefs.h"
15955 #include <pthread.h>
15958 pthread_mutexattr_t attr;
15959 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
15963 if { (eval echo configure
:15964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15966 wx_cv_type_pthread_mutexattr_t
=yes
15969 echo "configure: failed program was:" >&5
15970 cat conftest.
$ac_ext >&5
15973 wx_cv_type_pthread_mutexattr_t
=no
15981 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
15983 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
15984 cat >> confdefs.h
<<\EOF
15985 #define HAVE_PTHREAD_MUTEXATTR_T 1
15989 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
15990 echo "configure:15991: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
15991 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
15992 echo $ac_n "(cached) $ac_c" 1>&6
15995 cat > conftest.
$ac_ext <<EOF
15996 #line 15997 "configure"
15997 #include "confdefs.h"
15998 #include <pthread.h>
16001 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
16005 if { (eval echo configure
:16006: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16008 wx_cv_type_pthread_rec_mutex_init
=yes
16011 echo "configure: failed program was:" >&5
16012 cat conftest.
$ac_ext >&5
16015 wx_cv_type_pthread_rec_mutex_init
=no
16023 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
16024 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
16025 cat >> confdefs.h
<<\EOF
16026 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
16030 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
16034 THREADS_LINK
=" -l$THREADS_LINK"
16036 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
16037 CPPFLAGS
="$CFLAGS -mt"
16038 CXXFLAGS
="$CXXFLAGS -mt"
16039 LDFLAGS
="$LDFLAGS -mt"
16045 if test "$wxUSE_THREADS" = "yes"; then
16046 cat >> confdefs.h
<<\EOF
16047 #define wxUSE_THREADS 1
16051 if test "$USE_DARWIN" != 1; then
16052 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -D_REENTRANT"
16055 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
16057 if test "$ac_cv_func_strtok_r" = "yes"; then
16058 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
16059 echo "configure:16060: checking if -D_REENTRANT is needed" >&5
16060 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
16061 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
16062 echo "$ac_t""yes" 1>&6
16064 echo "$ac_t""no" 1>&6
16069 if test "$WXGTK20" = 1 ; then
16070 cat >> confdefs.h
<<EOF
16071 #define __WXGTK20__ $WXGTK20
16077 if test "$WXGTK12" = 1 ; then
16078 cat >> confdefs.h
<<EOF
16079 #define __WXGTK12__ $WXGTK12
16084 if test "$WXGTK127" = 1 ; then
16085 cat >> confdefs.h
<<EOF
16086 #define __WXGTK127__ $WXGTK127
16093 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
16098 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
16099 wxUSE_DEBUG_INFO
=yes
16103 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
16104 cat >> confdefs.h
<<\EOF
16108 WXDEBUG_DEFINE
="-D__WXDEBUG__"
16110 if test "$wxUSE_GTK" = 1 ; then
16111 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
16115 if test "$wxUSE_MEM_TRACING" = "yes" ; then
16116 cat >> confdefs.h
<<\EOF
16117 #define wxUSE_MEMORY_TRACING 1
16120 cat >> confdefs.h
<<\EOF
16121 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
16124 cat >> confdefs.h
<<\EOF
16125 #define wxUSE_DEBUG_NEW_ALWAYS 1
16128 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
16131 if test "$wxUSE_DMALLOC" = "yes" ; then
16132 DMALLOC_LIBS
="-ldmalloc"
16136 if test "$wxUSE_PROFILE" = "yes" ; then
16140 if test "$GCC" = "yes" ; then
16141 if test "$wxUSE_NO_RTTI" = "yes" ; then
16142 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
16144 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
16145 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
16147 if test "$wxUSE_PERMISSIVE" = "yes" ; then
16148 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
16150 if test "$USE_WIN32" = 1 ; then
16151 # I'm not even really sure what this was ever added to solve,
16152 # but someone added it for mingw native builds, so I guess
16153 # they had a reason, right??
16154 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
16159 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
16160 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
16161 if test "$wxUSE_OPTIMISE" = "no" ; then
16164 if test "$GCC" = yes ; then
16167 i586
-*-*|i686
-*-* )
16168 OPTIMISE
="${OPTIMISE} "
16176 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
16177 cat >> confdefs.h
<<\EOF
16178 #define WXWIN_COMPATIBILITY_2 1
16182 WXWIN_COMPATIBILITY_2_2
="yes"
16185 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
16186 cat >> confdefs.h
<<\EOF
16187 #define WXWIN_COMPATIBILITY_2_2 1
16193 if test "$wxUSE_GUI" = "yes"; then
16194 cat >> confdefs.h
<<\EOF
16195 #define wxUSE_GUI 1
16200 cat >> confdefs.h
<<\EOF
16201 #define wxUSE_NOGUI 1
16207 if test "$wxUSE_UNIX" = "yes"; then
16208 cat >> confdefs.h
<<\EOF
16209 #define wxUSE_UNIX 1
16215 if test "$wxUSE_APPLE_IEEE" = "yes"; then
16216 cat >> confdefs.h
<<\EOF
16217 #define wxUSE_APPLE_IEEE 1
16222 if test "$wxUSE_TIMER" = "yes"; then
16223 cat >> confdefs.h
<<\EOF
16224 #define wxUSE_TIMER 1
16229 if test "$wxUSE_WAVE" = "yes"; then
16230 cat >> confdefs.h
<<\EOF
16231 #define wxUSE_WAVE 1
16236 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
16237 cat >> confdefs.h
<<\EOF
16238 #define wxUSE_CMDLINE_PARSER 1
16243 if test "$wxUSE_STOPWATCH" = "yes"; then
16244 cat >> confdefs.h
<<\EOF
16245 #define wxUSE_STOPWATCH 1
16250 if test "$wxUSE_DATETIME" = "yes"; then
16251 cat >> confdefs.h
<<\EOF
16252 #define wxUSE_DATETIME 1
16257 if test "$wxUSE_TIMEDATE" = "yes"; then
16258 cat >> confdefs.h
<<\EOF
16259 #define wxUSE_TIMEDATE 1
16264 if test "$wxUSE_FILE" = "yes"; then
16265 cat >> confdefs.h
<<\EOF
16266 #define wxUSE_FILE 1
16271 if test "$wxUSE_FFILE" = "yes"; then
16272 cat >> confdefs.h
<<\EOF
16273 #define wxUSE_FFILE 1
16278 if test "$wxUSE_FILESYSTEM" = "yes"; then
16279 cat >> confdefs.h
<<\EOF
16280 #define wxUSE_FILESYSTEM 1
16285 if test "$wxUSE_FS_INET" = "yes"; then
16286 cat >> confdefs.h
<<\EOF
16287 #define wxUSE_FS_INET 1
16292 if test "$wxUSE_FS_ZIP" = "yes"; then
16293 cat >> confdefs.h
<<\EOF
16294 #define wxUSE_FS_ZIP 1
16299 if test "$wxUSE_ZIPSTREAM" = "yes"; then
16300 cat >> confdefs.h
<<\EOF
16301 #define wxUSE_ZIPSTREAM 1
16306 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16307 cat >> confdefs.h
<<\EOF
16308 #define wxUSE_ON_FATAL_EXCEPTION 1
16313 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16314 cat >> confdefs.h
<<\EOF
16315 #define wxUSE_SNGLINST_CHECKER 1
16320 if test "$wxUSE_BUSYINFO" = "yes"; then
16321 cat >> confdefs.h
<<\EOF
16322 #define wxUSE_BUSYINFO 1
16327 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
16328 cat >> confdefs.h
<<\EOF
16329 #define wxUSE_STD_IOSTREAM 1
16334 if test "$wxUSE_TEXTBUFFER" = "yes"; then
16335 cat >> confdefs.h
<<\EOF
16336 #define wxUSE_TEXTBUFFER 1
16341 if test "$wxUSE_TEXTFILE" = "yes"; then
16342 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
16343 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer and won't be compiled without them" 1>&2
16345 cat >> confdefs.h
<<\EOF
16346 #define wxUSE_TEXTFILE 1
16352 if test "$wxUSE_CONFIG" = "yes" ; then
16353 if test "$wxUSE_TEXTFILE" != "yes"; then
16354 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
16356 cat >> confdefs.h
<<\EOF
16357 #define wxUSE_CONFIG 1
16360 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
16364 if test "$wxUSE_INTL" = "yes" ; then
16365 if test "$wxUSE_FILE" != "yes"; then
16366 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
16368 cat >> confdefs.h
<<\EOF
16369 #define wxUSE_INTL 1
16372 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
16373 GUIDIST
="$GUIDIST INTL_DIST"
16377 if test "$wxUSE_LOG" = "yes"; then
16378 cat >> confdefs.h
<<\EOF
16379 #define wxUSE_LOG 1
16383 if test "$wxUSE_LOGGUI" = "yes"; then
16384 cat >> confdefs.h
<<\EOF
16385 #define wxUSE_LOGGUI 1
16390 if test "$wxUSE_LOGWINDOW" = "yes"; then
16391 cat >> confdefs.h
<<\EOF
16392 #define wxUSE_LOGWINDOW 1
16397 if test "$wxUSE_LOGDIALOG" = "yes"; then
16398 cat >> confdefs.h
<<\EOF
16399 #define wxUSE_LOG_DIALOG 1
16405 if test "$wxUSE_LONGLONG" = "yes"; then
16406 cat >> confdefs.h
<<\EOF
16407 #define wxUSE_LONGLONG 1
16412 if test "$wxUSE_GEOMETRY" = "yes"; then
16413 cat >> confdefs.h
<<\EOF
16414 #define wxUSE_GEOMETRY 1
16419 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
16420 cat >> confdefs.h
<<\EOF
16421 #define wxUSE_DIALUP_MANAGER 1
16424 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
16427 if test "$wxUSE_STREAMS" = "yes" ; then
16428 cat >> confdefs.h
<<\EOF
16429 #define wxUSE_STREAMS 1
16435 if test "$wxUSE_DATETIME" = "yes"; then
16436 for ac_func
in strptime
16438 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16439 echo "configure:16440: checking for $ac_func" >&5
16440 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16441 echo $ac_n "(cached) $ac_c" 1>&6
16443 cat > conftest.
$ac_ext <<EOF
16444 #line 16445 "configure"
16445 #include "confdefs.h"
16446 /* System header to define __stub macros and hopefully few prototypes,
16447 which can conflict with char $ac_func(); below. */
16448 #include <assert.h>
16449 /* Override any gcc2 internal prototype to avoid an error. */
16450 /* We use char because int might match the return type of a gcc2
16451 builtin and then its argument prototype would still apply. */
16456 /* The GNU C library defines this for functions which it implements
16457 to always fail with ENOSYS. Some functions are actually named
16458 something starting with __ and the normal name is an alias. */
16459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16467 if { (eval echo configure
:16468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16469 eval "ac_cv_func_$ac_func=yes"
16471 echo "configure: failed program was:" >&5
16472 cat conftest.
$ac_ext >&5
16474 eval "ac_cv_func_$ac_func=no"
16479 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16480 echo "$ac_t""yes" 1>&6
16481 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16482 cat >> confdefs.h
<<EOF
16483 #define $ac_tr_func 1
16487 echo "$ac_t""no" 1>&6
16492 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16493 echo "configure:16494: checking for timezone variable in <time.h>" >&5
16494 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16495 echo $ac_n "(cached) $ac_c" 1>&6
16498 cat > conftest.
$ac_ext <<EOF
16499 #line 16500 "configure"
16500 #include "confdefs.h"
16511 if { (eval echo configure
:16512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16514 wx_cv_var_timezone
=timezone
16517 echo "configure: failed program was:" >&5
16518 cat conftest.
$ac_ext >&5
16521 cat > conftest.
$ac_ext <<EOF
16522 #line 16523 "configure"
16523 #include "confdefs.h"
16534 if { (eval echo configure
:16535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16537 wx_cv_var_timezone
=_timezone
16540 echo "configure: failed program was:" >&5
16541 cat conftest.
$ac_ext >&5
16544 cat > conftest.
$ac_ext <<EOF
16545 #line 16546 "configure"
16546 #include "confdefs.h"
16557 if { (eval echo configure
:16558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16560 wx_cv_var_timezone
=__timezone
16563 echo "configure: failed program was:" >&5
16564 cat conftest.
$ac_ext >&5
16566 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16582 echo "$ac_t""$wx_cv_var_timezone" 1>&6
16584 cat >> confdefs.h
<<EOF
16585 #define WX_TIMEZONE $wx_cv_var_timezone
16589 for ac_func
in localtime
16591 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16592 echo "configure:16593: checking for $ac_func" >&5
16593 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16594 echo $ac_n "(cached) $ac_c" 1>&6
16596 cat > conftest.
$ac_ext <<EOF
16597 #line 16598 "configure"
16598 #include "confdefs.h"
16599 /* System header to define __stub macros and hopefully few prototypes,
16600 which can conflict with char $ac_func(); below. */
16601 #include <assert.h>
16602 /* Override any gcc2 internal prototype to avoid an error. */
16603 /* We use char because int might match the return type of a gcc2
16604 builtin and then its argument prototype would still apply. */
16609 /* The GNU C library defines this for functions which it implements
16610 to always fail with ENOSYS. Some functions are actually named
16611 something starting with __ and the normal name is an alias. */
16612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16620 if { (eval echo configure
:16621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16622 eval "ac_cv_func_$ac_func=yes"
16624 echo "configure: failed program was:" >&5
16625 cat conftest.
$ac_ext >&5
16627 eval "ac_cv_func_$ac_func=no"
16632 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16633 echo "$ac_t""yes" 1>&6
16634 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16635 cat >> confdefs.h
<<EOF
16636 #define $ac_tr_func 1
16640 echo "$ac_t""no" 1>&6
16645 if test "$ac_cv_func_localtime" = "yes"; then
16646 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16647 echo "configure:16648: checking for tm_gmtoff in struct tm" >&5
16648 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16649 echo $ac_n "(cached) $ac_c" 1>&6
16652 cat > conftest.
$ac_ext <<EOF
16653 #line 16654 "configure"
16654 #include "confdefs.h"
16665 if { (eval echo configure
:16666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16668 wx_cv_struct_tm_has_gmtoff
=yes
16671 echo "configure: failed program was:" >&5
16672 cat conftest.
$ac_ext >&5
16674 wx_cv_struct_tm_has_gmtoff
=no
16681 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16684 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16685 cat >> confdefs.h
<<\EOF
16686 #define WX_GMTOFF_IN_TM 1
16691 for ac_func
in gettimeofday ftime
16693 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16694 echo "configure:16695: checking for $ac_func" >&5
16695 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16696 echo $ac_n "(cached) $ac_c" 1>&6
16698 cat > conftest.
$ac_ext <<EOF
16699 #line 16700 "configure"
16700 #include "confdefs.h"
16701 /* System header to define __stub macros and hopefully few prototypes,
16702 which can conflict with char $ac_func(); below. */
16703 #include <assert.h>
16704 /* Override any gcc2 internal prototype to avoid an error. */
16705 /* We use char because int might match the return type of a gcc2
16706 builtin and then its argument prototype would still apply. */
16711 /* The GNU C library defines this for functions which it implements
16712 to always fail with ENOSYS. Some functions are actually named
16713 something starting with __ and the normal name is an alias. */
16714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16722 if { (eval echo configure
:16723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16724 eval "ac_cv_func_$ac_func=yes"
16726 echo "configure: failed program was:" >&5
16727 cat conftest.
$ac_ext >&5
16729 eval "ac_cv_func_$ac_func=no"
16734 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16735 echo "$ac_t""yes" 1>&6
16736 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16737 cat >> confdefs.h
<<EOF
16738 #define $ac_tr_func 1
16742 echo "$ac_t""no" 1>&6
16747 if test "$ac_cv_func_gettimeofday" = "yes"; then
16748 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16749 echo "configure:16750: checking whether gettimeofday takes two arguments" >&5
16750 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16751 echo $ac_n "(cached) $ac_c" 1>&6
16756 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16757 ac_cpp
='$CXXCPP $CPPFLAGS'
16758 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16759 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16760 cross_compiling
=$ac_cv_prog_cxx_cross
16763 cat > conftest.
$ac_ext <<EOF
16764 #line 16765 "configure"
16765 #include "confdefs.h"
16767 #include <sys/time.h>
16768 #include <unistd.h>
16773 gettimeofday(&tv, NULL);
16777 if { (eval echo configure
:16778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16779 wx_cv_func_gettimeofday_has_2_args
=yes
16781 echo "configure: failed program was:" >&5
16782 cat conftest.
$ac_ext >&5
16784 cat > conftest.
$ac_ext <<EOF
16785 #line 16786 "configure"
16786 #include "confdefs.h"
16788 #include <sys/time.h>
16789 #include <unistd.h>
16798 if { (eval echo configure
:16799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16800 wx_cv_func_gettimeofday_has_2_args
=no
16802 echo "configure: failed program was:" >&5
16803 cat conftest.
$ac_ext >&5
16806 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
16807 wx_cv_func_gettimeofday_has_2_args
=unknown
16816 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16817 ac_cpp
='$CPP $CPPFLAGS'
16818 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16819 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16820 cross_compiling
=$ac_cv_prog_cc_cross
16825 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16827 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16828 cat >> confdefs.h
<<\EOF
16829 #define WX_GETTIMEOFDAY_NO_TZ 1
16835 cat >> confdefs.h
<<\EOF
16836 #define wxUSE_TIMEDATE 1
16839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
16843 if test "$TOOLKIT" != "MSW"; then
16845 if test "$wxUSE_SOCKETS" = "yes"; then
16846 echo $ac_n "checking for socket""... $ac_c" 1>&6
16847 echo "configure:16848: checking for socket" >&5
16848 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16849 echo $ac_n "(cached) $ac_c" 1>&6
16851 cat > conftest.
$ac_ext <<EOF
16852 #line 16853 "configure"
16853 #include "confdefs.h"
16854 /* System header to define __stub macros and hopefully few prototypes,
16855 which can conflict with char socket(); below. */
16856 #include <assert.h>
16857 /* Override any gcc2 internal prototype to avoid an error. */
16858 /* We use char because int might match the return type of a gcc2
16859 builtin and then its argument prototype would still apply. */
16864 /* The GNU C library defines this for functions which it implements
16865 to always fail with ENOSYS. Some functions are actually named
16866 something starting with __ and the normal name is an alias. */
16867 #if defined (__stub_socket) || defined (__stub___socket)
16875 if { (eval echo configure
:16876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16877 eval "ac_cv_func_socket=yes"
16879 echo "configure: failed program was:" >&5
16880 cat conftest.
$ac_ext >&5
16882 eval "ac_cv_func_socket=no"
16887 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16888 echo "$ac_t""yes" 1>&6
16891 echo "$ac_t""no" 1>&6
16892 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16893 echo "configure:16894: checking for socket in -lsocket" >&5
16894 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16895 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16896 echo $ac_n "(cached) $ac_c" 1>&6
16898 ac_save_LIBS
="$LIBS"
16899 LIBS
="-lsocket $LIBS"
16900 cat > conftest.
$ac_ext <<EOF
16901 #line 16902 "configure"
16902 #include "confdefs.h"
16903 /* Override any gcc2 internal prototype to avoid an error. */
16904 /* We use char because int might match the return type of a gcc2
16905 builtin and then its argument prototype would still apply. */
16912 if { (eval echo configure
:16913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16914 eval "ac_cv_lib_$ac_lib_var=yes"
16916 echo "configure: failed program was:" >&5
16917 cat conftest.
$ac_ext >&5
16919 eval "ac_cv_lib_$ac_lib_var=no"
16922 LIBS
="$ac_save_LIBS"
16925 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16926 echo "$ac_t""yes" 1>&6
16927 INET_LINK
="$INET_LINK -lsocket"
16929 echo "$ac_t""no" 1>&6
16931 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16943 if test "$wxUSE_SOCKETS" = "yes" ; then
16944 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16945 echo "configure:16946: checking what is the type of the third argument of getsockname" >&5
16946 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16947 echo $ac_n "(cached) $ac_c" 1>&6
16952 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16953 ac_cpp
='$CXXCPP $CPPFLAGS'
16954 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16955 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16956 cross_compiling
=$ac_cv_prog_cxx_cross
16959 cat > conftest.
$ac_ext <<EOF
16960 #line 16961 "configure"
16961 #include "confdefs.h"
16963 #include <sys/types.h>
16964 #include <sys/socket.h>
16969 getsockname(0, 0, &len);
16973 if { (eval echo configure
:16974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16975 wx_cv_type_getsockname3
=socklen_t
16977 echo "configure: failed program was:" >&5
16978 cat conftest.
$ac_ext >&5
16980 cat > conftest.
$ac_ext <<EOF
16981 #line 16982 "configure"
16982 #include "confdefs.h"
16984 #include <sys/types.h>
16985 #include <sys/socket.h>
16990 getsockname(0, 0, &len);
16994 if { (eval echo configure
:16995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16996 wx_cv_type_getsockname3
=size_t
16998 echo "configure: failed program was:" >&5
16999 cat conftest.
$ac_ext >&5
17001 cat > conftest.
$ac_ext <<EOF
17002 #line 17003 "configure"
17003 #include "confdefs.h"
17005 #include <sys/types.h>
17006 #include <sys/socket.h>
17011 getsockname(0, 0, &len);
17015 if { (eval echo configure
:17016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17017 wx_cv_type_getsockname3
=int
17019 echo "configure: failed program was:" >&5
17020 cat conftest.
$ac_ext >&5
17022 wx_cv_type_getsockname3
=unknown
17034 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17035 ac_cpp
='$CPP $CPPFLAGS'
17036 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17037 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17038 cross_compiling
=$ac_cv_prog_cc_cross
17043 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
17045 if test "$wx_cv_type_getsockname3" = "unknown"; then
17047 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
17049 cat >> confdefs.h
<<EOF
17050 #define SOCKLEN_T $wx_cv_type_getsockname3
17057 if test "$wxUSE_SOCKETS" = "yes" ; then
17058 cat >> confdefs.h
<<\EOF
17059 #define wxUSE_SOCKETS 1
17062 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
17066 if test "$wxUSE_GUI" = "yes"; then
17068 if test "$TOOLKIT" != "MSW"; then
17069 if test "$wxUSE_JOYSTICK" = "yes"; then
17070 for ac_hdr
in linux
/joystick.h
17072 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17073 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17074 echo "configure:17075: checking for $ac_hdr" >&5
17075 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17076 echo $ac_n "(cached) $ac_c" 1>&6
17078 cat > conftest.
$ac_ext <<EOF
17079 #line 17080 "configure"
17080 #include "confdefs.h"
17083 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17084 { (eval echo configure
:17085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17085 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17086 if test -z "$ac_err"; then
17088 eval "ac_cv_header_$ac_safe=yes"
17091 echo "configure: failed program was:" >&5
17092 cat conftest.
$ac_ext >&5
17094 eval "ac_cv_header_$ac_safe=no"
17098 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17099 echo "$ac_t""yes" 1>&6
17100 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17101 cat >> confdefs.h
<<EOF
17102 #define $ac_tr_hdr 1
17106 echo "$ac_t""no" 1>&6
17110 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
17112 echo "configure: warning: Joystick not supported by this system" 1>&2
17117 if test "$wxUSE_JOYSTICK" = "yes"; then
17118 cat >> confdefs.h
<<\EOF
17119 #define wxUSE_JOYSTICK 1
17122 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
17127 if test "$TOOLKIT" != "MSW"; then
17131 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
17132 if test "$USE_DARWIN" = 1; then
17135 for ac_func
in dlopen
17137 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17138 echo "configure:17139: checking for $ac_func" >&5
17139 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17140 echo $ac_n "(cached) $ac_c" 1>&6
17142 cat > conftest.
$ac_ext <<EOF
17143 #line 17144 "configure"
17144 #include "confdefs.h"
17145 /* System header to define __stub macros and hopefully few prototypes,
17146 which can conflict with char $ac_func(); below. */
17147 #include <assert.h>
17148 /* Override any gcc2 internal prototype to avoid an error. */
17149 /* We use char because int might match the return type of a gcc2
17150 builtin and then its argument prototype would still apply. */
17155 /* The GNU C library defines this for functions which it implements
17156 to always fail with ENOSYS. Some functions are actually named
17157 something starting with __ and the normal name is an alias. */
17158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17166 if { (eval echo configure
:17167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17168 eval "ac_cv_func_$ac_func=yes"
17170 echo "configure: failed program was:" >&5
17171 cat conftest.
$ac_ext >&5
17173 eval "ac_cv_func_$ac_func=no"
17178 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17179 echo "$ac_t""yes" 1>&6
17180 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17181 cat >> confdefs.h
<<EOF
17182 #define $ac_tr_func 1
17185 cat >> confdefs.h
<<\EOF
17186 #define HAVE_DLOPEN 1
17192 echo "$ac_t""no" 1>&6
17193 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
17194 echo "configure:17195: checking for dlopen in -ldl" >&5
17195 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
17196 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17197 echo $ac_n "(cached) $ac_c" 1>&6
17199 ac_save_LIBS
="$LIBS"
17201 cat > conftest.
$ac_ext <<EOF
17202 #line 17203 "configure"
17203 #include "confdefs.h"
17204 /* Override any gcc2 internal prototype to avoid an error. */
17205 /* We use char because int might match the return type of a gcc2
17206 builtin and then its argument prototype would still apply. */
17213 if { (eval echo configure
:17214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17215 eval "ac_cv_lib_$ac_lib_var=yes"
17217 echo "configure: failed program was:" >&5
17218 cat conftest.
$ac_ext >&5
17220 eval "ac_cv_lib_$ac_lib_var=no"
17223 LIBS
="$ac_save_LIBS"
17226 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17227 echo "$ac_t""yes" 1>&6
17229 cat >> confdefs.h
<<\EOF
17230 #define HAVE_DLOPEN 1
17234 DL_LINK
=" -ldl$DL_LINK"
17237 echo "$ac_t""no" 1>&6
17239 for ac_func
in shl_load
17241 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17242 echo "configure:17243: checking for $ac_func" >&5
17243 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17244 echo $ac_n "(cached) $ac_c" 1>&6
17246 cat > conftest.
$ac_ext <<EOF
17247 #line 17248 "configure"
17248 #include "confdefs.h"
17249 /* System header to define __stub macros and hopefully few prototypes,
17250 which can conflict with char $ac_func(); below. */
17251 #include <assert.h>
17252 /* Override any gcc2 internal prototype to avoid an error. */
17253 /* We use char because int might match the return type of a gcc2
17254 builtin and then its argument prototype would still apply. */
17259 /* The GNU C library defines this for functions which it implements
17260 to always fail with ENOSYS. Some functions are actually named
17261 something starting with __ and the normal name is an alias. */
17262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17270 if { (eval echo configure
:17271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17272 eval "ac_cv_func_$ac_func=yes"
17274 echo "configure: failed program was:" >&5
17275 cat conftest.
$ac_ext >&5
17277 eval "ac_cv_func_$ac_func=no"
17282 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17283 echo "$ac_t""yes" 1>&6
17284 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17285 cat >> confdefs.h
<<EOF
17286 #define $ac_tr_func 1
17289 cat >> confdefs.h
<<\EOF
17290 #define HAVE_SHL_LOAD 1
17296 echo "$ac_t""no" 1>&6
17297 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
17298 echo "configure:17299: checking for dld in -lshl_load" >&5
17299 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
17300 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17301 echo $ac_n "(cached) $ac_c" 1>&6
17303 ac_save_LIBS
="$LIBS"
17304 LIBS
="-lshl_load $LIBS"
17305 cat > conftest.
$ac_ext <<EOF
17306 #line 17307 "configure"
17307 #include "confdefs.h"
17308 /* Override any gcc2 internal prototype to avoid an error. */
17309 /* We use char because int might match the return type of a gcc2
17310 builtin and then its argument prototype would still apply. */
17317 if { (eval echo configure
:17318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17319 eval "ac_cv_lib_$ac_lib_var=yes"
17321 echo "configure: failed program was:" >&5
17322 cat conftest.
$ac_ext >&5
17324 eval "ac_cv_lib_$ac_lib_var=no"
17327 LIBS
="$ac_save_LIBS"
17330 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17331 echo "$ac_t""yes" 1>&6
17334 DL_LINK
=" -ldld$DL_LINK"
17337 echo "$ac_t""no" 1>&6
17352 if test "$HAVE_DL_FUNCS" = 1; then
17353 for ac_func
in dlerror
17355 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17356 echo "configure:17357: checking for $ac_func" >&5
17357 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17358 echo $ac_n "(cached) $ac_c" 1>&6
17360 cat > conftest.
$ac_ext <<EOF
17361 #line 17362 "configure"
17362 #include "confdefs.h"
17363 /* System header to define __stub macros and hopefully few prototypes,
17364 which can conflict with char $ac_func(); below. */
17365 #include <assert.h>
17366 /* Override any gcc2 internal prototype to avoid an error. */
17367 /* We use char because int might match the return type of a gcc2
17368 builtin and then its argument prototype would still apply. */
17373 /* The GNU C library defines this for functions which it implements
17374 to always fail with ENOSYS. Some functions are actually named
17375 something starting with __ and the normal name is an alias. */
17376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17384 if { (eval echo configure
:17385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17386 eval "ac_cv_func_$ac_func=yes"
17388 echo "configure: failed program was:" >&5
17389 cat conftest.
$ac_ext >&5
17391 eval "ac_cv_func_$ac_func=no"
17396 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17397 echo "$ac_t""yes" 1>&6
17398 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17399 cat >> confdefs.h
<<EOF
17400 #define $ac_tr_func 1
17402 cat >> confdefs.h
<<\EOF
17403 #define HAVE_DLERROR 1
17407 echo "$ac_t""no" 1>&6
17408 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
17409 echo "configure:17410: checking for dlerror in -ldl" >&5
17410 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
17411 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17412 echo $ac_n "(cached) $ac_c" 1>&6
17414 ac_save_LIBS
="$LIBS"
17416 cat > conftest.
$ac_ext <<EOF
17417 #line 17418 "configure"
17418 #include "confdefs.h"
17419 /* Override any gcc2 internal prototype to avoid an error. */
17420 /* We use char because int might match the return type of a gcc2
17421 builtin and then its argument prototype would still apply. */
17428 if { (eval echo configure
:17429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17430 eval "ac_cv_lib_$ac_lib_var=yes"
17432 echo "configure: failed program was:" >&5
17433 cat conftest.
$ac_ext >&5
17435 eval "ac_cv_lib_$ac_lib_var=no"
17438 LIBS
="$ac_save_LIBS"
17441 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17442 echo "$ac_t""yes" 1>&6
17443 cat >> confdefs.h
<<\EOF
17444 #define HAVE_DLERROR 1
17448 echo "$ac_t""no" 1>&6
17457 if test "$HAVE_DL_FUNCS" = 0; then
17458 if test "$HAVE_SHL_FUNCS" = 0; then
17459 if test "$USE_UNIX" = 1; then
17460 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
17461 wxUSE_DYNLIB_CLASS
=no
17463 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17470 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17471 cat >> confdefs.h
<<\EOF
17472 #define wxUSE_DYNLIB_CLASS 1
17481 if test "$wxUSE_FONTMAP" = "yes" ; then
17482 cat >> confdefs.h
<<\EOF
17483 #define wxUSE_FONTMAP 1
17488 if test "$wxUSE_UNICODE" = "yes" ; then
17489 cat >> confdefs.h
<<\EOF
17490 #define wxUSE_UNICODE 1
17495 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17496 cat >> confdefs.h
<<\EOF
17497 #define wxUSE_EXPERIMENTAL_PRINTF 1
17503 if test "$wxUSE_SERIAL" = "yes" ; then
17504 cat >> confdefs.h
<<\EOF
17505 #define wxUSE_SERIAL 1
17512 if test "$wxUSE_ODBC" = "yes" ; then
17513 cat >> confdefs.h
<<\EOF
17514 #define wxUSE_ODBC 1
17517 WXODBCFLAG
="-D_IODBC_"
17518 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
17522 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17523 cat >> confdefs.h
<<\EOF
17524 #define wxUSE_POSTSCRIPT 1
17529 cat >> confdefs.h
<<\EOF
17530 #define wxUSE_AFM_FOR_POSTSCRIPT 1
17534 cat >> confdefs.h
<<\EOF
17535 #define wxUSE_NORMALIZED_PS_FONTS 1
17540 if test "$wxUSE_CONSTRAINTS" = "yes"; then
17541 cat >> confdefs.h
<<\EOF
17542 #define wxUSE_CONSTRAINTS 1
17545 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
17548 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17549 if test "$wxUSE_UNIVERSAL" = "yes"; then
17550 echo "configure: warning: MDI is not supported for wxUNIVERSAL yet... disabled" 1>&2
17551 wxUSE_MDI_ARCHITECTURE
=no
17554 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17555 cat >> confdefs.h
<<\EOF
17556 #define wxUSE_MDI_ARCHITECTURE 1
17559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
17563 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17564 cat >> confdefs.h
<<\EOF
17565 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
17568 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
17569 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17570 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
17574 if test "$wxUSE_HELP" = "yes"; then
17575 cat >> confdefs.h
<<\EOF
17576 #define wxUSE_HELP 1
17579 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
17581 if test "$wxUSE_MSW" = 1; then
17582 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17583 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17584 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17585 echo "configure:17586: checking for htmlhelp.h" >&5
17586 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17587 echo $ac_n "(cached) $ac_c" 1>&6
17589 cat > conftest.
$ac_ext <<EOF
17590 #line 17591 "configure"
17591 #include "confdefs.h"
17592 #include <htmlhelp.h>
17594 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17595 { (eval echo configure
:17596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17596 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17597 if test -z "$ac_err"; then
17599 eval "ac_cv_header_$ac_safe=yes"
17602 echo "configure: failed program was:" >&5
17603 cat conftest.
$ac_ext >&5
17605 eval "ac_cv_header_$ac_safe=no"
17609 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17610 echo "$ac_t""yes" 1>&6
17612 cat >> confdefs.h
<<\EOF
17613 #define wxUSE_MS_HTML_HELP 1
17618 echo "$ac_t""no" 1>&6
17620 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
17621 wxUSE_MS_HTML_HELP
=no
17628 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17629 if test "$wxUSE_HTML" = "yes"; then
17630 cat >> confdefs.h
<<\EOF
17631 #define wxUSE_WXHTML_HELP 1
17635 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17636 wxUSE_WXHTML_HELP
=no
17641 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17642 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17643 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17645 cat >> confdefs.h
<<\EOF
17646 #define wxUSE_PRINTING_ARCHITECTURE 1
17650 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
17653 if test "$wxUSE_PROLOGIO" = "yes" ; then
17654 cat >> confdefs.h
<<\EOF
17655 #define wxUSE_PROLOGIO 1
17660 if test "$wxUSE_RESOURCES" = "yes" ; then
17661 cat >> confdefs.h
<<\EOF
17662 #define wxUSE_RESOURCES 1
17665 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
17668 if test "$wxUSE_X_RESOURCES" = "yes"; then
17669 cat >> confdefs.h
<<\EOF
17670 #define wxUSE_X_RESOURCES 1
17676 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
17677 -o "$wxUSE_CLIPBOARD" = "yes" \
17678 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
17679 for ac_hdr
in ole2.h
17681 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17682 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17683 echo "configure:17684: checking for $ac_hdr" >&5
17684 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17685 echo $ac_n "(cached) $ac_c" 1>&6
17687 cat > conftest.
$ac_ext <<EOF
17688 #line 17689 "configure"
17689 #include "confdefs.h"
17692 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17693 { (eval echo configure
:17694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17694 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17695 if test -z "$ac_err"; then
17697 eval "ac_cv_header_$ac_safe=yes"
17700 echo "configure: failed program was:" >&5
17701 cat conftest.
$ac_ext >&5
17703 eval "ac_cv_header_$ac_safe=no"
17707 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17708 echo "$ac_t""yes" 1>&6
17709 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17710 cat >> confdefs.h
<<EOF
17711 #define $ac_tr_hdr 1
17715 echo "$ac_t""no" 1>&6
17720 if test "$ac_cv_header_ole2_h" = "yes" ; then
17721 if test "$GCC" = yes ; then
17722 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
17723 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17724 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
17725 cat >> confdefs.h
<<\EOF
17726 #define wxUSE_OLE 1
17732 cat >> confdefs.h
<<\EOF
17733 #define wxUSE_DATAOBJ 1
17737 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
17740 wxUSE_DRAG_AND_DROP
=no
17744 if test "$wxUSE_METAFILE" = "yes"; then
17745 cat >> confdefs.h
<<\EOF
17746 #define wxUSE_METAFILE 1
17750 cat >> confdefs.h
<<\EOF
17751 #define wxUSE_ENH_METAFILE 1
17757 if test "$wxUSE_IPC" = "yes"; then
17758 if test "$wxUSE_SOCKETS" != "yes"; then
17759 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17762 cat >> confdefs.h
<<\EOF
17763 #define wxUSE_IPC 1
17768 if test "$wxUSE_CLIPBOARD" = "yes"; then
17769 cat >> confdefs.h
<<\EOF
17770 #define wxUSE_CLIPBOARD 1
17774 cat >> confdefs.h
<<\EOF
17775 #define wxUSE_DATAOBJ 1
17780 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17781 if test "$wxUSE_GTK" = 1; then
17782 if test "$WXGTK12" != 1; then
17783 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17784 wxUSE_DRAG_AND_DROP
=no
17788 if test "$wxUSE_MOTIF" = 1; then
17789 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17790 wxUSE_DRAG_AND_DROP
=no
17793 if test "$wxUSE_MAC" = 1; then
17794 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17795 wxUSE_DRAG_AND_DROP
=no
17798 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17799 cat >> confdefs.h
<<\EOF
17800 #define wxUSE_DRAG_AND_DROP 1
17803 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
17808 if test "$wxUSE_SPLINES" = "yes" ; then
17809 cat >> confdefs.h
<<\EOF
17810 #define wxUSE_SPLINES 1
17817 if test "$wxUSE_CONTROLS" = "yes"; then
17821 if test "$wxUSE_ACCEL" = "yes"; then
17822 cat >> confdefs.h
<<\EOF
17823 #define wxUSE_ACCEL 1
17829 if test "$wxUSE_BUTTON" = "yes"; then
17830 cat >> confdefs.h
<<\EOF
17831 #define wxUSE_BUTTON 1
17837 if test "$wxUSE_BMPBUTTON" = "yes"; then
17838 cat >> confdefs.h
<<\EOF
17839 #define wxUSE_BMPBUTTON 1
17845 if test "$wxUSE_CALCTRL" = "yes"; then
17846 cat >> confdefs.h
<<\EOF
17847 #define wxUSE_CALENDARCTRL 1
17851 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
17854 if test "$wxUSE_CARET" = "yes"; then
17855 cat >> confdefs.h
<<\EOF
17856 #define wxUSE_CARET 1
17860 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
17863 if test "$wxUSE_COMBOBOX" = "yes"; then
17864 cat >> confdefs.h
<<\EOF
17865 #define wxUSE_COMBOBOX 1
17871 if test "$wxUSE_CHOICE" = "yes"; then
17872 cat >> confdefs.h
<<\EOF
17873 #define wxUSE_CHOICE 1
17879 if test "$wxUSE_CHECKBOX" = "yes"; then
17880 cat >> confdefs.h
<<\EOF
17881 #define wxUSE_CHECKBOX 1
17887 if test "$wxUSE_CHECKLST" = "yes"; then
17888 cat >> confdefs.h
<<\EOF
17889 #define wxUSE_CHECKLISTBOX 1
17893 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
17896 if test "$wxUSE_GAUGE" = "yes"; then
17897 cat >> confdefs.h
<<\EOF
17898 #define wxUSE_GAUGE 1
17904 if test "$wxUSE_NEW_GRID" = "yes"; then
17906 cat >> confdefs.h
<<\EOF
17907 #define wxUSE_NEW_GRID 1
17911 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
17914 if test "$wxUSE_GRID" = "yes"; then
17915 cat >> confdefs.h
<<\EOF
17916 #define wxUSE_GRID 1
17920 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
17923 if test "$wxUSE_IMAGLIST" = "yes"; then
17924 cat >> confdefs.h
<<\EOF
17925 #define wxUSE_IMAGLIST 1
17930 if test "$wxUSE_LISTBOX" = "yes"; then
17931 cat >> confdefs.h
<<\EOF
17932 #define wxUSE_LISTBOX 1
17938 if test "$wxUSE_LISTCTRL" = "yes"; then
17939 if test "$wxUSE_IMAGLIST" = "yes"; then
17940 cat >> confdefs.h
<<\EOF
17941 #define wxUSE_LISTCTRL 1
17945 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
17947 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17951 if test "$wxUSE_NOTEBOOK" = "yes"; then
17952 cat >> confdefs.h
<<\EOF
17953 #define wxUSE_NOTEBOOK 1
17957 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
17960 if test "$wxUSE_PROPSHEET" = "yes"; then
17961 cat >> confdefs.h
<<\EOF
17962 #define wxUSE_PROPSHEET 1
17966 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
17969 if test "$wxUSE_RADIOBOX" = "yes"; then
17970 cat >> confdefs.h
<<\EOF
17971 #define wxUSE_RADIOBOX 1
17977 if test "$wxUSE_RADIOBTN" = "yes"; then
17978 cat >> confdefs.h
<<\EOF
17979 #define wxUSE_RADIOBTN 1
17985 if test "$wxUSE_SASH" = "yes"; then
17986 cat >> confdefs.h
<<\EOF
17987 #define wxUSE_SASH 1
17990 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
17993 if test "$wxUSE_SCROLLBAR" = "yes"; then
17994 cat >> confdefs.h
<<\EOF
17995 #define wxUSE_SCROLLBAR 1
17999 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
18002 if test "$wxUSE_SLIDER" = "yes"; then
18003 cat >> confdefs.h
<<\EOF
18004 #define wxUSE_SLIDER 1
18010 if test "$wxUSE_SPINBTN" = "yes"; then
18011 cat >> confdefs.h
<<\EOF
18012 #define wxUSE_SPINBTN 1
18018 if test "$wxUSE_SPINCTRL" = "yes"; then
18019 cat >> confdefs.h
<<\EOF
18020 #define wxUSE_SPINCTRL 1
18026 if test "$wxUSE_SPLITTER" = "yes"; then
18027 cat >> confdefs.h
<<\EOF
18028 #define wxUSE_SPLITTER 1
18031 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
18034 if test "$wxUSE_STATBMP" = "yes"; then
18035 cat >> confdefs.h
<<\EOF
18036 #define wxUSE_STATBMP 1
18042 if test "$wxUSE_STATBOX" = "yes"; then
18043 cat >> confdefs.h
<<\EOF
18044 #define wxUSE_STATBOX 1
18050 if test "$wxUSE_STATTEXT" = "yes"; then
18051 cat >> confdefs.h
<<\EOF
18052 #define wxUSE_STATTEXT 1
18058 if test "$wxUSE_STATLINE" = "yes"; then
18059 if test "$wxUSE_WINE" = 1 ; then
18060 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
18062 cat >> confdefs.h
<<\EOF
18063 #define wxUSE_STATLINE 1
18070 if test "$wxUSE_STATUSBAR" = "yes"; then
18071 cat >> confdefs.h
<<\EOF
18072 #define wxUSE_STATUSBAR 1
18077 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
18080 if test "$wxUSE_TABDIALOG" = "yes"; then
18081 cat >> confdefs.h
<<\EOF
18082 #define wxUSE_TAB_DIALOG 1
18085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
18088 if test "$wxUSE_TEXTCTRL" = "yes"; then
18089 cat >> confdefs.h
<<\EOF
18090 #define wxUSE_TEXTCTRL 1
18094 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
18097 if test "$wxUSE_TOGGLEBTN" = "yes"; then
18098 if test "$wxUSE_MAC" = 1 -o "$wxUSE_UNIVERSAL" = "yes"; then
18099 echo "configure: warning: Toggle button not yet supported under Mac OS X or wxUNIVERSAL... disabled" 1>&2
18103 if test "$wxUSE_TOGGLEBTN" = "yes"; then
18104 cat >> confdefs.h
<<\EOF
18105 #define wxUSE_TOGGLEBTN 1
18112 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
18113 cat >> confdefs.h
<<\EOF
18114 #define wxUSE_TOOLBAR_SIMPLE 1
18117 wxUSE_TOOLBAR
="yes"
18121 if test "$wxUSE_TOOLBAR" = "yes"; then
18122 cat >> confdefs.h
<<\EOF
18123 #define wxUSE_TOOLBAR 1
18128 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
18129 wxUSE_TOOLBAR_NATIVE
="yes"
18132 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
18133 cat >> confdefs.h
<<\EOF
18134 #define wxUSE_TOOLBAR_NATIVE 1
18140 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
18143 if test "$wxUSE_TOOLTIPS" = "yes"; then
18144 if test "$wxUSE_MOTIF" = 1; then
18145 echo "configure: warning: wxTooltip not supported yet under Motif ... disabled" 1>&2
18147 if test "$wxUSE_WINE" = 1; then
18148 echo "configure: warning: wxTooltip not supported under WINE ... disabled" 1>&2
18150 if test "$wxUSE_UNIVERSAL" = "yes"; then
18151 echo "configure: warning: wxTooltip not supported yet in wxUNIVERSAL ... disabled" 1>&2
18153 cat >> confdefs.h
<<\EOF
18154 #define wxUSE_TOOLTIPS 1
18162 if test "$wxUSE_TREECTRL" = "yes"; then
18163 if test "$wxUSE_IMAGLIST" = "yes"; then
18164 cat >> confdefs.h
<<\EOF
18165 #define wxUSE_TREECTRL 1
18169 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
18171 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
18175 if test "$wxUSE_POPUPWIN" = "yes"; then
18176 if test "$wxUSE_MAC" = 1; then
18177 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
18179 cat >> confdefs.h
<<\EOF
18180 #define wxUSE_POPUPWIN 1
18187 if test "$USES_CONTROLS" = 1; then
18188 cat >> confdefs.h
<<\EOF
18189 #define wxUSE_CONTROLS 1
18195 if test "$wxUSE_TREELAYOUT" = "yes"; then
18196 cat >> confdefs.h
<<\EOF
18197 #define wxUSE_TREELAYOUT 1
18200 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
18203 if test "$wxUSE_DRAGIMAGE" = "yes"; then
18204 cat >> confdefs.h
<<\EOF
18205 #define wxUSE_DRAGIMAGE 1
18208 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
18211 if test "$wxUSE_MENUS" = "yes"; then
18212 cat >> confdefs.h
<<\EOF
18213 #define wxUSE_MENUS 1
18216 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
18219 if test "$wxUSE_METAFILE" = "yes"; then
18220 cat >> confdefs.h
<<\EOF
18221 #define wxUSE_METAFILE 1
18226 if test "$wxUSE_MIMETYPE" = "yes"; then
18227 cat >> confdefs.h
<<\EOF
18228 #define wxUSE_MIMETYPE 1
18233 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
18234 cat >> confdefs.h
<<\EOF
18235 #define wxUSE_SYSTEM_OPTIONS 1
18240 if test "$wxUSE_MINIFRAME" = "yes"; then
18241 cat >> confdefs.h
<<\EOF
18242 #define wxUSE_MINIFRAME 1
18245 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
18248 if test "$wxUSE_HTML" = "yes"; then
18249 cat >> confdefs.h
<<\EOF
18250 #define wxUSE_HTML 1
18253 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
18256 if test "$wxUSE_VALIDATORS" = "yes"; then
18257 cat >> confdefs.h
<<\EOF
18258 #define wxUSE_VALIDATORS 1
18261 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
18264 if test "$wxUSE_PALETTE" = "yes" ; then
18265 cat >> confdefs.h
<<\EOF
18266 #define wxUSE_PALETTE 1
18271 if test "$wxUSE_IMAGE" = "yes" ; then
18272 cat >> confdefs.h
<<\EOF
18273 #define wxUSE_IMAGE 1
18278 if test "$wxUSE_GIF" = "yes" ; then
18279 cat >> confdefs.h
<<\EOF
18280 #define wxUSE_GIF 1
18285 if test "$wxUSE_PCX" = "yes" ; then
18286 cat >> confdefs.h
<<\EOF
18287 #define wxUSE_PCX 1
18292 if test "$wxUSE_PNM" = "yes" ; then
18293 cat >> confdefs.h
<<\EOF
18294 #define wxUSE_PNM 1
18299 if test "$wxUSE_XPM" = "yes" ; then
18300 cat >> confdefs.h
<<\EOF
18301 #define wxUSE_XPM 1
18307 if test "$wxUSE_CHOICEDLG" = "yes"; then
18308 cat >> confdefs.h
<<\EOF
18309 #define wxUSE_CHOICEDLG 1
18314 if test "$wxUSE_COLOURDLG" = "yes"; then
18315 cat >> confdefs.h
<<\EOF
18316 #define wxUSE_COLOURDLG 1
18321 if test "$wxUSE_FILEDLG" = "yes"; then
18322 cat >> confdefs.h
<<\EOF
18323 #define wxUSE_FILEDLG 1
18328 if test "$wxUSE_FINDREPLDLG" = "yes"; then
18329 cat >> confdefs.h
<<\EOF
18330 #define wxUSE_FINDREPLDLG 1
18335 if test "$wxUSE_FONTDLG" = "yes"; then
18336 cat >> confdefs.h
<<\EOF
18337 #define wxUSE_FONTDLG 1
18342 if test "$wxUSE_DIRDLG" = "yes"; then
18343 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18344 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
18346 if test "$wxUSE_TREECTRL" != "yes"; then
18347 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
18349 cat >> confdefs.h
<<\EOF
18350 #define wxUSE_DIRDLG 1
18357 if test "$wxUSE_MSGDLG" = "yes"; then
18358 cat >> confdefs.h
<<\EOF
18359 #define wxUSE_MSGDLG 1
18364 if test "$wxUSE_NUMBERDLG" = "yes"; then
18365 cat >> confdefs.h
<<\EOF
18366 #define wxUSE_NUMBERDLG 1
18371 if test "$wxUSE_PROGRESSDLG" = "yes"; then
18372 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18373 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
18375 cat >> confdefs.h
<<\EOF
18376 #define wxUSE_PROGRESSDLG 1
18382 if test "$wxUSE_SPLASH" = "yes"; then
18383 cat >> confdefs.h
<<\EOF
18384 #define wxUSE_SPLASH 1
18389 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
18390 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18391 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
18393 cat >> confdefs.h
<<\EOF
18394 #define wxUSE_STARTUP_TIPS 1
18400 if test "$wxUSE_TEXTDLG" = "yes"; then
18401 cat >> confdefs.h
<<\EOF
18402 #define wxUSE_TEXTDLG 1
18407 if test "$wxUSE_WIZARDDLG" = "yes"; then
18408 cat >> confdefs.h
<<\EOF
18409 #define wxUSE_WIZARDDLG 1
18412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
18416 if test "$cross_compiling" = "yes"; then
18419 OSINFO
=`uname -s -r -m`
18420 OSINFO
="\"$OSINFO\""
18423 cat >> confdefs.h
<<EOF
18424 #define WXWIN_OS_DESCRIPTION $OSINFO
18429 if test "x$prefix" != "xNONE"; then
18432 wxPREFIX
=$ac_default_prefix
18435 cat >> confdefs.h
<<EOF
18436 #define wxINSTALL_PREFIX "$wxPREFIX"
18443 if test "$wxUSE_MAC" = 1 ; then
18444 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
18448 LIBS
="$ZLIB_LINK$POSIX4_LINK$INET_LINK$WCHAR_LINK$THREADS_LINK$DL_LINK -lm$LIBS"
18450 if test "$wxUSE_GUI" = "yes"; then
18452 LIBS
=" $GUI_TK_LIBRARY$PNG_LINK$JPEG_LINK$TIFF_LINK$FREETYPE_LINK$LIBS"
18455 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
18456 drawing dynamic erase event exec font image \
18457 minimal richedit rotate widgets"
18459 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
18461 SAMPLES_SUBDIRS
="console"
18465 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
18466 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
18467 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
18469 if test "$wxUSE_GTK" = 1; then
18472 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
18475 if test "$GXX" = yes ; then
18476 CXXWARNINGS
="-Wall"
18478 if test "$wxUSE_NO_DEPS" = "no" ; then
18479 CFLAGS
="-MMD $CFLAGS"
18480 CXXFLAGS
="-MMD $CXXFLAGS"
18484 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG$PROFILE $OPTIMISE $INCLUDES"
18486 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
18487 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
18489 LDFLAGS
="$LDFLAGS$PROFILE"
18491 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
18579 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
18580 echo "configure:18581: checking whether ${MAKE-make} sets \${MAKE}" >&5
18581 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
18582 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
18583 echo $ac_n "(cached) $ac_c" 1>&6
18585 cat > conftestmake
<<\EOF
18587 @
echo 'ac_maketemp="${MAKE}"'
18589 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18590 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
18591 if test -n "$ac_maketemp"; then
18592 eval ac_cv_prog_make_
${ac_make}_set
=yes
18594 eval ac_cv_prog_make_
${ac_make}_set
=no
18598 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18599 echo "$ac_t""yes" 1>&6
18602 echo "$ac_t""no" 1>&6
18603 SET_MAKE
="MAKE=${MAKE-make}"
18607 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
18608 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
18613 if test "$wxUSE_GUI" = "yes"; then
18614 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
18615 wx_cv_path_ifs
=$PATH_IFS
18616 wx_cv_program_ext
=$PROGRAM_EXT
18617 wx_cv_target_library
=$WX_TARGET_LIBRARY
18618 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
18619 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
18620 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
18621 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
18622 subdirs
="demos samples utils contrib"
18627 cat > confcache
<<\EOF
18628 # This file is a shell script that caches the results of configure
18629 # tests run on this system so they can be shared between configure
18630 # scripts and configure runs. It is not useful on other systems.
18631 # If it contains results you don't want to keep, you may remove or edit it.
18633 # By default, configure uses ./config.cache as the cache file,
18634 # creating it if it does not exist already. You can give configure
18635 # the --cache-file=FILE option to use a different cache file; that is
18636 # what configure does when it calls configure scripts in
18637 # subdirectories, so they share the cache.
18638 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18639 # config.status only pays attention to the cache file if you give it the
18640 # --recheck option to rerun configure.
18643 # The following way of writing the cache mishandles newlines in values,
18644 # but we know of no workaround that is simple, portable, and efficient.
18645 # So, don't put newlines in cache variables' values.
18646 # Ultrix sh set writes to stderr and can't be redirected directly,
18647 # and sets the high bit in the cache file unless we assign to the vars.
18649 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18651 # `set' does not quote correctly, so add quotes (double-quote substitution
18652 # turns \\\\ into \\, and sed turns \\ into \).
18654 -e "s/'/'\\\\''/g" \
18655 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18658 # `set' quotes correctly as required by POSIX, so do not add quotes.
18659 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18662 if cmp -s $cache_file confcache
; then
18665 if test -w $cache_file; then
18666 echo "updating cache $cache_file"
18667 cat confcache
> $cache_file
18669 echo "not updating unwritable cache $cache_file"
18674 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18676 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18677 # Let make expand exec_prefix.
18678 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18680 # Any assignment to VPATH causes Sun make to only execute
18681 # the first set of double-colon rules, so remove it if not needed.
18682 # If there is a colon in the path, we need to keep it.
18683 if test "x$srcdir" = x.
; then
18684 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
18687 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18689 DEFS
=-DHAVE_CONFIG_H
18691 # Without the "./", some shells look in PATH for config.status.
18692 : ${CONFIG_STATUS=./config.status}
18694 echo creating
$CONFIG_STATUS
18695 rm -f $CONFIG_STATUS
18696 cat > $CONFIG_STATUS <<EOF
18698 # Generated automatically by configure.
18699 # Run this file to recreate the current configuration.
18700 # This directory was configured as follows,
18701 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18703 # $0 $ac_configure_args
18705 # Compiler output produced by configure, useful for debugging
18706 # configure, is in ./config.log if it exists.
18708 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18711 case "\$ac_option" in
18712 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18713 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18714 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18715 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18716 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18718 -help | --help | --hel | --he | --h)
18719 echo "\$ac_cs_usage"; exit 0 ;;
18720 *) echo "\$ac_cs_usage"; exit 1 ;;
18724 ac_given_srcdir=$srcdir
18725 ac_given_INSTALL="$INSTALL"
18727 trap 'rm -fr `echo "
18733 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18735 cat >> $CONFIG_STATUS <<EOF
18737 # Protect against being on the right side of a sed subst in config.status.
18738 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18739 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18743 s%@CFLAGS@%$CFLAGS%g
18744 s%@CPPFLAGS@%$CPPFLAGS%g
18745 s%@CXXFLAGS@%$CXXFLAGS%g
18746 s%@FFLAGS@%$FFLAGS%g
18748 s%@LDFLAGS@%$LDFLAGS%g
18750 s%@exec_prefix@%$exec_prefix%g
18751 s%@prefix@%$prefix%g
18752 s%@program_transform_name@%$program_transform_name%g
18753 s%@bindir@%$bindir%g
18754 s%@sbindir@%$sbindir%g
18755 s%@libexecdir@%$libexecdir%g
18756 s%@datadir@%$datadir%g
18757 s%@sysconfdir@%$sysconfdir%g
18758 s%@sharedstatedir@%$sharedstatedir%g
18759 s%@localstatedir@%$localstatedir%g
18760 s%@libdir@%$libdir%g
18761 s%@includedir@%$includedir%g
18762 s%@oldincludedir@%$oldincludedir%g
18763 s%@infodir@%$infodir%g
18764 s%@mandir@%$mandir%g
18766 s%@host_alias@%$host_alias%g
18767 s%@host_cpu@%$host_cpu%g
18768 s%@host_vendor@%$host_vendor%g
18769 s%@host_os@%$host_os%g
18770 s%@target@%$target%g
18771 s%@target_alias@%$target_alias%g
18772 s%@target_cpu@%$target_cpu%g
18773 s%@target_vendor@%$target_vendor%g
18774 s%@target_os@%$target_os%g
18776 s%@build_alias@%$build_alias%g
18777 s%@build_cpu@%$build_cpu%g
18778 s%@build_vendor@%$build_vendor%g
18779 s%@build_os@%$build_os%g
18783 s%@RANLIB@%$RANLIB%g
18785 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18786 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18787 s%@INSTALL_DATA@%$INSTALL_DATA%g
18791 s%@LEXLIB@%$LEXLIB%g
18793 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18794 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18795 s%@GTK_LIBS@%$GTK_LIBS%g
18796 s%@GTK_CONFIG@%$GTK_CONFIG%g
18797 s%@X_CFLAGS@%$X_CFLAGS%g
18798 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18799 s%@X_LIBS@%$X_LIBS%g
18800 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18801 s%@RESCOMP@%$RESCOMP%g
18803 s%@CXXCPP@%$CXXCPP%g
18804 s%@LEX_STEM@%$LEX_STEM%g
18805 s%@PATH_IFS@%$PATH_IFS%g
18806 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18807 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18808 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18809 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18810 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18811 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
18812 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18813 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18814 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18815 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18816 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18817 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18818 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18819 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18820 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18821 s%@WX_ALL@%$WX_ALL%g
18822 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18823 s%@SHARED_LD@%$SHARED_LD%g
18824 s%@PIC_FLAG@%$PIC_FLAG%g
18825 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18826 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18827 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
18828 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
18829 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18830 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18831 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18832 s%@USE_GUI@%$USE_GUI%g
18833 s%@AFMINSTALL@%$AFMINSTALL%g
18834 s%@TOOLKIT@%$TOOLKIT%g
18835 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18836 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18837 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
18838 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
18839 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
18840 s%@cross_compiling@%$cross_compiling%g
18841 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
18842 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
18843 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
18844 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
18845 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18846 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18847 s%@GUIDIST@%$GUIDIST%g
18848 s%@PORT_FILES@%$PORT_FILES%g
18849 s%@DISTDIR@%$DISTDIR%g
18850 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18851 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
18852 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18853 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
18854 s%@EXTRADEFS@%$EXTRADEFS%g
18855 s%@RESFLAGS@%$RESFLAGS%g
18856 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
18857 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
18858 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
18859 s%@LIBWXMACRES@%$LIBWXMACRES%g
18860 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18861 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
18862 s%@DLLTOOL@%$DLLTOOL%g
18866 s%@MAKEINFO@%$MAKEINFO%g
18867 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
18868 s%@SET_MAKE@%$SET_MAKE%g
18869 s%@subdirs@%$subdirs%g
18874 cat >> $CONFIG_STATUS <<\EOF
18876 # Split the substitutions into bite-sized pieces for seds with
18877 # small command number limits, like on Digital OSF/1 and HP-UX.
18878 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
18879 ac_file
=1 # Number of current file.
18880 ac_beg
=1 # First line for current file.
18881 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
18884 while $ac_more_lines; do
18885 if test $ac_beg -gt 1; then
18886 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
18888 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
18890 if test ! -s conftest.s
$ac_file; then
18891 ac_more_lines
=false
18892 rm -f conftest.s
$ac_file
18894 if test -z "$ac_sed_cmds"; then
18895 ac_sed_cmds
="sed -f conftest.s$ac_file"
18897 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
18899 ac_file
=`expr $ac_file + 1`
18901 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
18904 if test -z "$ac_sed_cmds"; then
18909 cat >> $CONFIG_STATUS <<EOF
18911 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18918 cat >> $CONFIG_STATUS <<\EOF
18919 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
18920 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18922 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18923 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18924 *) ac_file_in
="${ac_file}.in" ;;
18927 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18929 # Remove last slash and all that follows it. Not all systems have dirname.
18930 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18931 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
18932 # The file is in a subdirectory.
18933 test ! -d "$ac_dir" && mkdir "$ac_dir"
18934 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
18935 # A "../" for each directory in $ac_dir_suffix.
18936 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18938 ac_dir_suffix
= ac_dots
=
18941 case "$ac_given_srcdir" in
18943 if test -z "$ac_dots"; then top_srcdir
=.
18944 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18945 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
18946 *) # Relative path.
18947 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18948 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18951 case "$ac_given_INSTALL" in
18952 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
18953 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
18956 echo creating
"$ac_file"
18958 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18960 *Makefile
*) ac_comsub
="1i\\
18961 # $configure_input" ;;
18965 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18967 s%@configure_input@%$configure_input%g
18968 s%@srcdir@%$srcdir%g
18969 s%@top_srcdir@%$top_srcdir%g
18970 s%@INSTALL@%$INSTALL%g
18971 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18975 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18976 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18978 # ac_d sets the value in "#define NAME VALUE" lines.
18979 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18980 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
18983 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18984 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18985 ac_uB
='\([ ]\)%\1#\2define\3'
18988 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18989 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18990 ac_eB
='$%\1#\2define\3'
18994 if test "${CONFIG_HEADERS+set}" != set; then
18996 cat >> $CONFIG_STATUS <<EOF
18997 CONFIG_HEADERS="setup.h:setup.h.in"
18999 cat >> $CONFIG_STATUS <<\EOF
19001 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
19002 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19004 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
19005 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
19006 *) ac_file_in
="${ac_file}.in" ;;
19009 echo creating
$ac_file
19011 rm -f conftest.frag conftest.
in conftest.out
19012 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19013 cat $ac_file_inputs > conftest.
in
19017 # Transform confdefs.h into a sed script conftest.vals that substitutes
19018 # the proper values into config.h.in to produce config.h. And first:
19019 # Protect against being on the right side of a sed subst in config.status.
19020 # Protect against being in an unquoted here document in config.status.
19021 rm -f conftest.vals
19022 cat > conftest.hdr
<<\EOF
19025 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
19029 sed -n -f conftest.hdr confdefs.h > conftest.vals
19032 # This sed command replaces #undef with comments. This is necessary, for
19033 # example, in the case of _POSIX_SOURCE, which is predefined and required
19034 # on some systems where configure will not decide to define it.
19035 cat >> conftest.vals <<\EOF
19036 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
19039 # Break up conftest.vals because some shells have a limit on
19040 # the size of here documents, and old seds have small limits too.
19042 rm -f conftest.tail
19045 ac_lines=`grep -c . conftest.vals
`
19046 # grep -c gives empty output for an empty file on some AIX systems.
19047 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
19048 # Write a limited-size here document to conftest.frag.
19049 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
19050 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
19052 sed -f conftest.frag conftest.in > conftest.out
19054 mv conftest.out conftest.in
19055 ' >> $CONFIG_STATUS
19056 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
19057 rm -f conftest.vals
19058 mv conftest.tail conftest.vals
19060 rm -f conftest.vals
19062 cat >> $CONFIG_STATUS <<\EOF
19063 rm -f conftest.frag conftest.h
19064 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
19065 cat conftest.in >> conftest.h
19067 if cmp -s $ac_file conftest.h 2>/dev/null; then
19068 echo "$ac_file is unchanged"
19071 # Remove last slash and all that follows it. Not all systems have dirname.
19072 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19073 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19074 # The file is in a subdirectory.
19075 test ! -d "$ac_dir" && mkdir "$ac_dir"
19078 mv conftest.h $ac_file
19083 cat >> $CONFIG_STATUS <<EOF
19085 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
19090 cat >> $CONFIG_STATUS <<\EOF
19092 if test ! -h wx-config; then
19094 mv wx-config wx${TOOLCHAIN_NAME}-config
19095 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
19098 if test ! -d lib; then
19101 if test ! -d lib/wx; then
19104 if test ! -d lib/wx/include; then
19105 mkdir lib/wx/include
19107 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
19108 mkdir lib/wx/include/${TOOLCHAIN_NAME}
19110 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
19111 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
19113 if test -f setup.h; then
19114 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
19119 chmod +x $CONFIG_STATUS
19120 rm -fr confdefs* $ac_clean_files
19121 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
19123 if test "$no_recursion" != yes; then
19125 # Remove --cache-file and --srcdir arguments so they do not pile up.
19126 ac_sub_configure_args=
19128 for ac_arg in $ac_configure_args; do
19129 if test -n "$ac_prev"; then
19134 -cache-file | --cache-file | --cache-fil | --cache-fi \
19135 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
19136 ac_prev=cache_file ;;
19137 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
19138 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
19140 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
19142 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
19144 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
19148 for ac_config_dir in demos samples utils contrib; do
19150 # Do not complain, so a configure script can configure whichever
19151 # parts of a large source tree are present.
19152 if test ! -d $srcdir/$ac_config_dir; then
19156 echo configuring in $ac_config_dir
19161 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
19163 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
19171 # A "../" for each directory in /$ac_config_dir.
19172 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
19175 .) # No --srcdir option. We are building in place.
19176 ac_sub_srcdir=$srcdir ;;
19177 /*) # Absolute path.
19178 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
19179 *) # Relative path.
19180 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
19183 # Check for guested configure; otherwise get Cygnus style configure.
19184 if test -f $ac_sub_srcdir/configure; then
19185 ac_sub_configure=$ac_sub_srcdir/configure
19186 elif test -f $ac_sub_srcdir/configure.in; then
19187 ac_sub_configure=$ac_configure
19189 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
19193 # The recursion is here.
19194 if test -n "$ac_sub_configure"; then
19196 # Make the cache file name correct relative to the subdirectory.
19197 case "$cache_file" in
19198 /*) ac_sub_cache_file=$cache_file ;;
19199 *) # Relative path.
19200 ac_sub_cache_file="$ac_dots$cache_file" ;;
19202 case "$ac_given_INSTALL" in
19203 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19204 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19207 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
19208 # The eval makes quoting arguments work.
19209 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
19212 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }