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-tipwindow use wxTipWindow class"
319 --enable-popupwin use wxPopUpWindow class"
321 --enable-commondlg use all common dialogs"
323 --enable-choicedlg use wxChoiceDialog"
325 --enable-coldlg use wxColourDialog"
327 --enable-filedlg use wxFileDialog"
329 --enable-finddlg use wxFindReplaceDialog"
331 --enable-fontdlg use wxFontDialog"
333 --enable-dirdlg use wxDirDialog"
335 --enable-msgdlg use wxMessageDialog"
337 --enable-numberdlg use wxNumberEntryDialog"
339 --enable-splash use wxSplashScreen"
341 --enable-textdlg use wxTextDialog"
343 --enable-tipdlg use startup tips"
345 --enable-progressdlg use wxProgressDialog"
347 --enable-wizarddlg use wxWizard"
349 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
351 --enable-miniframe use wxMiniFrame class"
353 --enable-tooltips use wxToolTip class"
355 --enable-splines use spline drawing code"
357 --enable-validators use wxValidator and derived classes"
359 --enable-busyinfo use wxBusyInfo"
361 --enable-joystick use wxJoystick (Linux only)"
363 --enable-metafiles use wxMetaFile (Windows only)"
365 --enable-dragimage use wxDragImage"
367 --enable-palette use wxPalette class"
369 --enable-image use wxImage class"
371 --enable-gif use gif images (GIF file format)"
373 --enable-pcx use pcx images (PCX file format)"
375 --enable-pnm use pnm images (PNM file format)"
377 --enable-xpm use xpm images (XPM file format)"
379 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
381 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
383 --disable-gtktest Do not try to compile and run a test GTK program"
385 --with-x use the X Window System"
387 # Initialize some variables set by options.
388 # The variables have the same names as the options, with
389 # dashes changed to underlines.
391 cache_file
=.
/config.cache
400 program_transform_name
=s
,x
,x
,
408 bindir
='${exec_prefix}/bin'
409 sbindir
='${exec_prefix}/sbin'
410 libexecdir
='${exec_prefix}/libexec'
411 datadir
='${prefix}/share'
412 sysconfdir
='${prefix}/etc'
413 sharedstatedir
='${prefix}/com'
414 localstatedir
='${prefix}/var'
415 libdir
='${exec_prefix}/lib'
416 includedir
='${prefix}/include'
417 oldincludedir
='/usr/include'
418 infodir
='${prefix}/info'
419 mandir
='${prefix}/man'
421 # Initialize some other variables.
424 SHELL
=${CONFIG_SHELL-/bin/sh}
425 # Maximum number of lines to put in a shell here document.
432 # If the previous option needs an argument, assign it.
433 if test -n "$ac_prev"; then
434 eval "$ac_prev=\$ac_option"
440 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
444 # Accept the important Cygnus configure options, so we can diagnose typos.
448 -bindir | --bindir | --bindi | --bind | --bin | --bi)
450 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
451 bindir
="$ac_optarg" ;;
453 -build | --build | --buil | --bui | --bu)
455 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
456 build
="$ac_optarg" ;;
458 -cache-file | --cache-file | --cache-fil | --cache-fi \
459 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
460 ac_prev
=cache_file
;;
461 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
462 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
463 cache_file
="$ac_optarg" ;;
465 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
467 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
469 datadir
="$ac_optarg" ;;
471 -disable-* | --disable-*)
472 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
473 # Reject names that are not valid shell variable names.
474 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
475 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
477 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
478 eval "enable_${ac_feature}=no" ;;
480 -enable-* | --enable-*)
481 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
482 # Reject names that are not valid shell variable names.
483 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
484 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
486 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
491 eval "enable_${ac_feature}='$ac_optarg'" ;;
493 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
494 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
495 | --exec | --exe | --ex)
496 ac_prev
=exec_prefix
;;
497 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
498 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
499 | --exec=* | --exe=* | --ex=*)
500 exec_prefix
="$ac_optarg" ;;
502 -gas | --gas | --ga | --g)
503 # Obsolete; use --with-gas.
506 -help | --help | --hel | --he)
507 # Omit some internal or obsolete options to make the list less imposing.
508 # This message is too long to be a string in the A/UX 3.1 sh.
510 Usage: configure [options] [host]
511 Options: [defaults in brackets after descriptions]
513 --cache-file=FILE cache test results in FILE
514 --help print this message
515 --no-create do not create output files
516 --quiet, --silent do not print \`checking...' messages
517 --version print the version of autoconf that created configure
518 Directory and file names:
519 --prefix=PREFIX install architecture-independent files in PREFIX
521 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
523 --bindir=DIR user executables in DIR [EPREFIX/bin]
524 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
525 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
526 --datadir=DIR read-only architecture-independent data in DIR
528 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
529 --sharedstatedir=DIR modifiable architecture-independent data in DIR
531 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
532 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
533 --includedir=DIR C header files in DIR [PREFIX/include]
534 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
535 --infodir=DIR info documentation in DIR [PREFIX/info]
536 --mandir=DIR man documentation in DIR [PREFIX/man]
537 --srcdir=DIR find the sources in DIR [configure dir or ..]
538 --program-prefix=PREFIX prepend PREFIX to installed program names
539 --program-suffix=SUFFIX append SUFFIX to installed program names
540 --program-transform-name=PROGRAM
541 run sed PROGRAM on installed program names
545 --build=BUILD configure for building on BUILD [BUILD=HOST]
546 --host=HOST configure for HOST [guessed]
547 --target=TARGET configure for TARGET [TARGET=HOST]
548 Features and packages:
549 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
550 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
551 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
552 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
553 --x-includes=DIR X include files are in DIR
554 --x-libraries=DIR X library files are in DIR
556 if test -n "$ac_help"; then
557 echo "--enable and --with options recognized:$ac_help"
561 -host | --host | --hos | --ho)
563 -host=* | --host=* | --hos=* | --ho=*)
566 -includedir | --includedir | --includedi | --included | --include \
567 | --includ | --inclu | --incl | --inc)
568 ac_prev
=includedir
;;
569 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
570 | --includ=* | --inclu=* | --incl=* | --inc=*)
571 includedir
="$ac_optarg" ;;
573 -infodir | --infodir | --infodi | --infod | --info | --inf)
575 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
576 infodir
="$ac_optarg" ;;
578 -libdir | --libdir | --libdi | --libd)
580 -libdir=* | --libdir=* | --libdi=* | --libd=*)
581 libdir
="$ac_optarg" ;;
583 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
584 | --libexe | --libex | --libe)
585 ac_prev
=libexecdir
;;
586 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
587 | --libexe=* | --libex=* | --libe=*)
588 libexecdir
="$ac_optarg" ;;
590 -localstatedir | --localstatedir | --localstatedi | --localstated \
591 | --localstate | --localstat | --localsta | --localst \
592 | --locals | --local | --loca | --loc | --lo)
593 ac_prev
=localstatedir
;;
594 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
595 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
596 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
597 localstatedir
="$ac_optarg" ;;
599 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
601 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
602 mandir
="$ac_optarg" ;;
605 # Obsolete; use --without-fp.
608 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
612 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
613 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
616 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
617 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
618 | --oldin | --oldi | --old | --ol | --o)
619 ac_prev
=oldincludedir
;;
620 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
621 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
622 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
623 oldincludedir
="$ac_optarg" ;;
625 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
627 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
628 prefix
="$ac_optarg" ;;
630 -program-prefix | --program-prefix | --program-prefi | --program-pref \
631 | --program-pre | --program-pr | --program-p)
632 ac_prev
=program_prefix
;;
633 -program-prefix=* | --program-prefix=* | --program-prefi=* \
634 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
635 program_prefix
="$ac_optarg" ;;
637 -program-suffix | --program-suffix | --program-suffi | --program-suff \
638 | --program-suf | --program-su | --program-s)
639 ac_prev
=program_suffix
;;
640 -program-suffix=* | --program-suffix=* | --program-suffi=* \
641 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
642 program_suffix
="$ac_optarg" ;;
644 -program-transform-name | --program-transform-name \
645 | --program-transform-nam | --program-transform-na \
646 | --program-transform-n | --program-transform- \
647 | --program-transform | --program-transfor \
648 | --program-transfo | --program-transf \
649 | --program-trans | --program-tran \
650 | --progr-tra | --program-tr | --program-t)
651 ac_prev
=program_transform_name
;;
652 -program-transform-name=* | --program-transform-name=* \
653 | --program-transform-nam=* | --program-transform-na=* \
654 | --program-transform-n=* | --program-transform-=* \
655 | --program-transform=* | --program-transfor=* \
656 | --program-transfo=* | --program-transf=* \
657 | --program-trans=* | --program-tran=* \
658 | --progr-tra=* | --program-tr=* | --program-t=*)
659 program_transform_name
="$ac_optarg" ;;
661 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
662 | -silent | --silent | --silen | --sile | --sil)
665 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
667 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
669 sbindir
="$ac_optarg" ;;
671 -sharedstatedir | --sharedstatedir | --sharedstatedi \
672 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
673 | --sharedst | --shareds | --shared | --share | --shar \
675 ac_prev
=sharedstatedir
;;
676 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
677 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
678 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
680 sharedstatedir
="$ac_optarg" ;;
682 -site | --site | --sit)
684 -site=* | --site=* | --sit=*)
687 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
689 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
690 srcdir
="$ac_optarg" ;;
692 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
693 | --syscon | --sysco | --sysc | --sys | --sy)
694 ac_prev
=sysconfdir
;;
695 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
696 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
697 sysconfdir
="$ac_optarg" ;;
699 -target | --target | --targe | --targ | --tar | --ta | --t)
701 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
702 target
="$ac_optarg" ;;
704 -v | -verbose | --verbose | --verbos | --verbo | --verb)
707 -version | --version | --versio | --versi | --vers)
708 echo "configure generated by autoconf version 2.13"
712 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
713 # Reject names that are not valid shell variable names.
714 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
715 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
717 ac_package
=`echo $ac_package| sed 's/-/_/g'`
722 eval "with_${ac_package}='$ac_optarg'" ;;
724 -without-* | --without-*)
725 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
726 # Reject names that are not valid shell variable names.
727 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
728 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
730 ac_package
=`echo $ac_package| sed 's/-/_/g'`
731 eval "with_${ac_package}=no" ;;
734 # Obsolete; use --with-x.
737 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
738 | --x-incl | --x-inc | --x-in | --x-i)
739 ac_prev
=x_includes
;;
740 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
741 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
742 x_includes
="$ac_optarg" ;;
744 -x-libraries | --x-libraries | --x-librarie | --x-librari \
745 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
746 ac_prev
=x_libraries
;;
747 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
748 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
749 x_libraries
="$ac_optarg" ;;
751 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
755 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
756 echo "configure: warning: $ac_option: invalid host type" 1>&2
758 if test "x$nonopt" != xNONE
; then
759 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
767 if test -n "$ac_prev"; then
768 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
771 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
773 # File descriptor usage:
776 # 2 errors and warnings
777 # 3 some systems may open it to /dev/tty
778 # 4 used on the Kubota Titan
779 # 6 checking for... messages and results
780 # 5 compiler messages saved in config.log
781 if test "$silent" = yes; then
789 This file contains any messages produced by compilers while
790 running configure, to aid debugging if configure makes a mistake.
793 # Strip out --no-create and --no-recursion so they do not pile up.
794 # Also quote any args containing shell metacharacters.
799 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
800 | --no-cr | --no-c) ;;
801 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
802 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
803 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
804 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
805 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
810 # Only set these to C if already set. These must not be set unconditionally
811 # because not all systems understand e.g. LANG=C (notably SCO).
812 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
813 # Non-C LC_CTYPE values break the ctype check.
814 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
815 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
816 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
817 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
819 # confdefs.h avoids OS command line length limits that DEFS can exceed.
820 rm -rf conftest
* confdefs.h
821 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
824 # A filename unique to this package, relative to the directory that
825 # configure is in, which we can look for to find out if srcdir is correct.
826 ac_unique_file
=wx
-config.
in
828 # Find the source files, if location was not specified.
829 if test -z "$srcdir"; then
830 ac_srcdir_defaulted
=yes
831 # Try the directory containing this script, then its parent.
833 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
834 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
836 if test ! -r $srcdir/$ac_unique_file; then
840 ac_srcdir_defaulted
=no
842 if test ! -r $srcdir/$ac_unique_file; then
843 if test "$ac_srcdir_defaulted" = yes; then
844 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
846 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
849 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
851 # Prefer explicitly selected file to automatically selected ones.
852 if test -z "$CONFIG_SITE"; then
853 if test "x$prefix" != xNONE
; then
854 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
856 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
859 for ac_site_file
in $CONFIG_SITE; do
860 if test -r "$ac_site_file"; then
861 echo "loading site script $ac_site_file"
866 if test -r "$cache_file"; then
867 echo "loading cache $cache_file"
870 echo "creating cache $cache_file"
875 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
876 ac_cpp
='$CPP $CPPFLAGS'
877 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
878 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
879 cross_compiling
=$ac_cv_prog_cc_cross
883 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
884 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
885 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
892 ac_n
= ac_c
='\c' ac_t
=
898 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
899 if test -f $ac_dir/install-sh; then
901 ac_install_sh
="$ac_aux_dir/install-sh -c"
903 elif test -f $ac_dir/install.sh
; then
905 ac_install_sh
="$ac_aux_dir/install.sh -c"
909 if test -z "$ac_aux_dir"; then
910 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
912 ac_config_guess
=$ac_aux_dir/config.guess
913 ac_config_sub
=$ac_aux_dir/config.sub
914 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
917 # Do some error checking and defaulting for the host and target type.
919 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
922 # 1. You are not allowed to specify --host, --target, and nonopt at the
924 # 2. Host defaults to nonopt.
925 # 3. If nonopt is not specified, then host defaults to the current host,
926 # as determined by config.guess.
927 # 4. Target and build default to nonopt.
928 # 5. If nonopt is not specified, then target and build default to host.
930 # The aliases save the names the user supplied, while $host etc.
931 # will get canonicalized.
932 case $host---$target---$nonopt in
933 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
934 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
938 # Make sure we can run config.sub.
939 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
940 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
943 echo $ac_n "checking host system type""... $ac_c" 1>&6
944 echo "configure:945: checking host system type" >&5
947 case "$host_alias" in
951 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
952 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
954 *) host_alias
=$nonopt ;;
958 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
959 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
960 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
961 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
962 echo "$ac_t""$host" 1>&6
964 echo $ac_n "checking target system type""... $ac_c" 1>&6
965 echo "configure:966: checking target system type" >&5
968 case "$target_alias" in
971 NONE
) target_alias
=$host_alias ;;
972 *) target_alias
=$nonopt ;;
976 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
977 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
978 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
979 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
980 echo "$ac_t""$target" 1>&6
982 echo $ac_n "checking build system type""... $ac_c" 1>&6
983 echo "configure:984: checking build system type" >&5
986 case "$build_alias" in
989 NONE
) build_alias
=$host_alias ;;
990 *) build_alias
=$nonopt ;;
994 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
995 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
996 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
997 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
998 echo "$ac_t""$build" 1>&6
1000 test "$host_alias" != "$target_alias" &&
1001 test "$program_prefix$program_suffix$program_transform_name" = \
1003 program_prefix
=${target_alias}-
1007 WX_MAJOR_VERSION_NUMBER
=2
1008 WX_MINOR_VERSION_NUMBER
=3
1011 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1012 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1014 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1047 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1049 ALL_TOOLKITS
="GTK MAC MGL MOTIF MSW PM WINE"
1054 DEFAULT_wxUSE_MOTIF
=0
1057 DEFAULT_wxUSE_WINE
=0
1059 DEFAULT_DEFAULT_wxUSE_GTK
=0
1060 DEFAULT_DEFAULT_wxUSE_MAC
=0
1061 DEFAULT_DEFAULT_wxUSE_MGL
=0
1062 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1063 DEFAULT_DEFAULT_wxUSE_MSW
=0
1064 DEFAULT_DEFAULT_wxUSE_PM
=0
1065 DEFAULT_DEFAULT_wxUSE_WINE
=0
1073 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1074 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1076 cat >> confdefs.h
<<\EOF
1083 cat >> confdefs.h
<<\EOF
1088 if test "x$TMP" = "xalpha"; then
1090 cat >> confdefs.h
<<\EOF
1095 DEFAULT_DEFAULT_wxUSE_GTK
=1
1097 *-*-irix5* | *-*-irix6* )
1100 cat >> confdefs.h
<<\EOF
1104 cat >> confdefs.h
<<\EOF
1108 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1114 cat >> confdefs.h
<<\EOF
1118 cat >> confdefs.h
<<\EOF
1119 #define __SOLARIS__ 1
1122 cat >> confdefs.h
<<\EOF
1126 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1127 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1133 cat >> confdefs.h
<<\EOF
1137 cat >> confdefs.h
<<\EOF
1141 cat >> confdefs.h
<<\EOF
1145 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1150 cat >> confdefs.h
<<\EOF
1151 #define __FREEBSD__ 1
1154 cat >> confdefs.h
<<\EOF
1158 DEFAULT_DEFAULT_wxUSE_GTK
=1
1163 cat >> confdefs.h
<<\EOF
1164 #define __FREEBSD__ 1
1167 cat >> confdefs.h
<<\EOF
1168 #define __OPENBSD__ 1
1171 DEFAULT_DEFAULT_wxUSE_GTK
=1
1176 cat >> confdefs.h
<<\EOF
1177 #define __FREEBSD__ 1
1180 cat >> confdefs.h
<<\EOF
1181 #define __NETBSD__ 1
1184 DEFAULT_DEFAULT_wxUSE_GTK
=1
1189 cat >> confdefs.h
<<\EOF
1193 cat >> confdefs.h
<<\EOF
1197 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1198 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1203 cat >> confdefs.h
<<\EOF
1207 cat >> confdefs.h
<<\EOF
1211 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1216 cat >> confdefs.h
<<\EOF
1220 cat >> confdefs.h
<<\EOF
1224 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1230 cat >> confdefs.h
<<\EOF
1234 cat >> confdefs.h
<<\EOF
1238 cat >> confdefs.h
<<\EOF
1242 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1245 *-*-cygwin* | *-*-mingw32* )
1249 cat >> confdefs.h
<<\EOF
1253 cat >> confdefs.h
<<\EOF
1257 cat >> confdefs.h
<<\EOF
1258 #define __WINDOWS__ 1
1261 cat >> confdefs.h
<<\EOF
1262 #define __GNUWIN32__ 1
1265 cat >> confdefs.h
<<\EOF
1269 cat >> confdefs.h
<<\EOF
1270 #define WINVER 0x0400
1275 DEFAULT_DEFAULT_wxUSE_MSW
=1
1278 *-pc-os2_emx | *-pc-os2-emx )
1279 cat >> confdefs.h
<<\EOF
1284 DEFAULT_DEFAULT_wxUSE_PM
=1
1291 cat >> confdefs.h
<<\EOF
1295 cat >> confdefs.h
<<\EOF
1296 #define __DARWIN__ 1
1299 cat >> confdefs.h
<<\EOF
1300 #define __POWERPC__ 1
1303 DEFAULT_DEFAULT_wxUSE_MAC
=1
1308 cat >> confdefs.h
<<\EOF
1315 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1318 if test "$USE_UNIX" = 1 ; then
1320 cat >> confdefs.h
<<\EOF
1326 if test "$USE_LINUX" = 1; then
1327 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1328 echo "configure:1329: checking for glibc 2.1 or later" >&5
1329 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1330 echo $ac_n "(cached) $ac_c" 1>&6
1332 cat > conftest.
$ac_ext <<EOF
1333 #line 1334 "configure"
1334 #include "confdefs.h"
1335 #include <features.h>
1338 #if !__GLIBC_PREREQ(2, 1)
1344 if { (eval echo configure
:1345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1350 echo "configure: failed program was:" >&5
1351 cat conftest.
$ac_ext >&5
1362 echo "$ac_t""$wx_lib_glibc21" 1>&6
1363 if test "$wx_lib_glibc21" = "yes"; then
1364 cat >> confdefs.h
<<\EOF
1365 #define wxHAVE_GLIBC2 1
1374 wx_arg_cache_file
="configarg.cache"
1375 echo "loading argument cache $wx_arg_cache_file"
1376 rm -f ${wx_arg_cache_file}.tmp
1377 touch ${wx_arg_cache_file}.tmp
1378 touch ${wx_arg_cache_file}
1382 if test $DEBUG_CONFIGURE = 1; then
1383 DEFAULT_wxUSE_UNIVERSAL
=no
1385 DEFAULT_wxUSE_THREADS
=yes
1387 DEFAULT_wxUSE_SHARED
=yes
1388 DEFAULT_wxUSE_SONAME
=no
1389 DEFAULT_wxUSE_OPTIMISE
=no
1390 DEFAULT_wxUSE_PROFILE
=no
1391 DEFAULT_wxUSE_NO_DEPS
=no
1392 DEFAULT_wxUSE_NO_RTTI
=yes
1393 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1394 DEFAULT_wxUSE_PERMISSIVE
=no
1395 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1396 DEFAULT_wxUSE_DEBUG_INFO
=yes
1397 DEFAULT_wxUSE_DEBUG_GDB
=yes
1398 DEFAULT_wxUSE_MEM_TRACING
=no
1399 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1400 DEFAULT_wxUSE_DMALLOC
=no
1401 DEFAULT_wxUSE_PRECOMP
=yes
1402 DEFAULT_wxUSE_APPLE_IEEE
=no
1404 DEFAULT_wxUSE_LOG
=yes
1405 DEFAULT_wxUSE_LOGWINDOW
=no
1406 DEFAULT_wxUSE_LOGGUI
=no
1407 DEFAULT_wxUSE_LOGDIALOG
=no
1409 DEFAULT_wxUSE_GUI
=yes
1410 DEFAULT_wxUSE_CONTROLS
=no
1412 DEFAULT_wxUSE_REGEX
=no
1413 DEFAULT_wxUSE_ZLIB
=no
1414 DEFAULT_wxUSE_LIBPNG
=no
1415 DEFAULT_wxUSE_LIBJPEG
=no
1416 DEFAULT_wxUSE_LIBTIFF
=no
1417 DEFAULT_wxUSE_ODBC
=no
1418 DEFAULT_wxUSE_FREETYPE
=no
1419 DEFAULT_wxUSE_OPENGL
=no
1421 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1422 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1423 DEFAULT_wxUSE_STD_IOSTREAM
=no
1424 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1425 DEFAULT_wxUSE_DATETIME
=no
1426 DEFAULT_wxUSE_TIMEDATE
=no
1427 DEFAULT_wxUSE_TIMER
=no
1428 DEFAULT_wxUSE_STOPWATCH
=no
1429 DEFAULT_wxUSE_FILE
=no
1430 DEFAULT_wxUSE_FFILE
=no
1431 DEFAULT_wxUSE_TEXTBUFFER
=no
1432 DEFAULT_wxUSE_TEXTFILE
=no
1433 DEFAULT_wxUSE_WAVE
=no
1434 DEFAULT_wxUSE_INTL
=no
1435 DEFAULT_wxUSE_CONFIG
=no
1436 DEFAULT_wxUSE_FONTMAP
=no
1437 DEFAULT_wxUSE_STREAMS
=no
1438 DEFAULT_wxUSE_SOCKETS
=no
1439 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1440 DEFAULT_wxUSE_SERIAL
=no
1441 DEFAULT_wxUSE_JOYSTICK
=no
1442 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1443 DEFAULT_wxUSE_LONGLONG
=no
1444 DEFAULT_wxUSE_GEOMETRY
=no
1446 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1447 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1448 DEFAULT_wxUSE_POSTSCRIPT
=no
1450 DEFAULT_wxUSE_X_RESOURCES
=no
1451 DEFAULT_wxUSE_CLIPBOARD
=no
1452 DEFAULT_wxUSE_TOOLTIPS
=no
1453 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1454 DEFAULT_wxUSE_DRAGIMAGE
=no
1455 DEFAULT_wxUSE_SPLINES
=no
1457 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1458 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1459 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1461 DEFAULT_wxUSE_PROLOGIO
=no
1462 DEFAULT_wxUSE_RESOURCES
=no
1463 DEFAULT_wxUSE_CONSTRAINTS
=no
1464 DEFAULT_wxUSE_IPC
=no
1465 DEFAULT_wxUSE_HELP
=no
1466 DEFAULT_wxUSE_MS_HTML_HELP
=no
1467 DEFAULT_wxUSE_WXHTML_HELP
=no
1468 DEFAULT_wxUSE_TREELAYOUT
=no
1469 DEFAULT_wxUSE_METAFILE
=no
1470 DEFAULT_wxUSE_MIMETYPE
=no
1471 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1473 DEFAULT_wxUSE_COMMONDLGS
=no
1474 DEFAULT_wxUSE_CHOICEDLG
=no
1475 DEFAULT_wxUSE_COLOURDLG
=no
1476 DEFAULT_wxUSE_DIRDLG
=no
1477 DEFAULT_wxUSE_FILEDLG
=no
1478 DEFAULT_wxUSE_FINDREPLDLG
=no
1479 DEFAULT_wxUSE_FONTDLG
=no
1480 DEFAULT_wxUSE_MSGDLG
=no
1481 DEFAULT_wxUSE_NUMBERDLG
=no
1482 DEFAULT_wxUSE_TEXTDLG
=no
1483 DEFAULT_wxUSE_SPLASH
=no
1484 DEFAULT_wxUSE_STARTUP_TIPS
=no
1485 DEFAULT_wxUSE_PROGRESSDLG
=no
1486 DEFAULT_wxUSE_WIZARDDLG
=no
1488 DEFAULT_wxUSE_MENUS
=no
1489 DEFAULT_wxUSE_MINIFRAME
=no
1490 DEFAULT_wxUSE_HTML
=no
1491 DEFAULT_wxUSE_FILESYSTEM
=no
1492 DEFAULT_wxUSE_FS_INET
=no
1493 DEFAULT_wxUSE_FS_ZIP
=no
1494 DEFAULT_wxUSE_BUSYINFO
=no
1495 DEFAULT_wxUSE_ZIPSTREAM
=no
1496 DEFAULT_wxUSE_VALIDATORS
=no
1498 DEFAULT_wxUSE_ACCEL
=no
1499 DEFAULT_wxUSE_BUTTON
=no
1500 DEFAULT_wxUSE_BMPBUTTON
=no
1501 DEFAULT_wxUSE_CALCTRL
=no
1502 DEFAULT_wxUSE_CARET
=no
1503 DEFAULT_wxUSE_CHECKBOX
=no
1504 DEFAULT_wxUSE_CHECKLST
=no
1505 DEFAULT_wxUSE_CHOICE
=no
1506 DEFAULT_wxUSE_COMBOBOX
=no
1507 DEFAULT_wxUSE_GAUGE
=no
1508 DEFAULT_wxUSE_GRID
=no
1509 DEFAULT_wxUSE_NEW_GRID
=no
1510 DEFAULT_wxUSE_IMAGLIST
=no
1511 DEFAULT_wxUSE_LISTBOX
=no
1512 DEFAULT_wxUSE_LISTCTRL
=no
1513 DEFAULT_wxUSE_NOTEBOOK
=no
1514 DEFAULT_wxUSE_PROPSHEET
=no
1515 DEFAULT_wxUSE_RADIOBOX
=no
1516 DEFAULT_wxUSE_RADIOBTN
=no
1517 DEFAULT_wxUSE_SASH
=no
1518 DEFAULT_wxUSE_SCROLLBAR
=no
1519 DEFAULT_wxUSE_SLIDER
=no
1520 DEFAULT_wxUSE_SPINBTN
=no
1521 DEFAULT_wxUSE_SPINCTRL
=no
1522 DEFAULT_wxUSE_SPLITTER
=no
1523 DEFAULT_wxUSE_STATBMP
=no
1524 DEFAULT_wxUSE_STATBOX
=no
1525 DEFAULT_wxUSE_STATLINE
=no
1526 DEFAULT_wxUSE_STATTEXT
=no
1527 DEFAULT_wxUSE_STATUSBAR
=yes
1528 DEFAULT_wxUSE_TABDIALOG
=no
1529 DEFAULT_wxUSE_TEXTCTRL
=no
1530 DEFAULT_wxUSE_TOGGLEBTN
=no
1531 DEFAULT_wxUSE_TOOLBAR
=no
1532 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1533 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1534 DEFAULT_wxUSE_TREECTRL
=no
1535 DEFAULT_wxUSE_POPUPWIN
=no
1536 DEFAULT_wxUSE_TIPWINDOW
=no
1538 DEFAULT_wxUSE_UNICODE
=no
1539 DEFAULT_wxUSE_WCSRTOMBS
=no
1541 DEFAULT_wxUSE_PALETTE
=no
1542 DEFAULT_wxUSE_IMAGE
=no
1543 DEFAULT_wxUSE_GIF
=no
1544 DEFAULT_wxUSE_PCX
=no
1545 DEFAULT_wxUSE_PNM
=no
1546 DEFAULT_wxUSE_XPM
=no
1548 DEFAULT_wxUSE_UNIVERSAL
=no
1550 DEFAULT_wxUSE_THREADS
=yes
1552 DEFAULT_wxUSE_SHARED
=yes
1553 DEFAULT_wxUSE_SONAME
=no
1554 DEFAULT_wxUSE_OPTIMISE
=yes
1555 DEFAULT_wxUSE_PROFILE
=no
1556 DEFAULT_wxUSE_NO_DEPS
=no
1557 DEFAULT_wxUSE_NO_RTTI
=yes
1558 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1559 DEFAULT_wxUSE_PERMISSIVE
=no
1560 DEFAULT_wxUSE_DEBUG_FLAG
=no
1561 DEFAULT_wxUSE_DEBUG_INFO
=no
1562 DEFAULT_wxUSE_DEBUG_GDB
=no
1563 DEFAULT_wxUSE_MEM_TRACING
=no
1564 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1565 DEFAULT_wxUSE_DMALLOC
=no
1566 DEFAULT_wxUSE_PRECOMP
=yes
1567 DEFAULT_wxUSE_APPLE_IEEE
=yes
1569 DEFAULT_wxUSE_LOG
=yes
1570 DEFAULT_wxUSE_LOGWINDOW
=yes
1571 DEFAULT_wxUSE_LOGGUI
=yes
1572 DEFAULT_wxUSE_LOGDIALOG
=yes
1574 DEFAULT_wxUSE_GUI
=yes
1576 DEFAULT_wxUSE_REGEX
=yes
1577 DEFAULT_wxUSE_ZLIB
=yes
1578 DEFAULT_wxUSE_LIBPNG
=yes
1579 DEFAULT_wxUSE_LIBJPEG
=yes
1580 DEFAULT_wxUSE_LIBTIFF
=yes
1581 DEFAULT_wxUSE_ODBC
=no
1582 DEFAULT_wxUSE_FREETYPE
=no
1583 DEFAULT_wxUSE_OPENGL
=no
1585 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1586 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1587 DEFAULT_wxUSE_STD_IOSTREAM
=no
1588 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1589 DEFAULT_wxUSE_DATETIME
=yes
1590 DEFAULT_wxUSE_TIMEDATE
=no
1591 DEFAULT_wxUSE_TIMER
=yes
1592 DEFAULT_wxUSE_STOPWATCH
=yes
1593 DEFAULT_wxUSE_FILE
=yes
1594 DEFAULT_wxUSE_FFILE
=yes
1595 DEFAULT_wxUSE_TEXTBUFFER
=yes
1596 DEFAULT_wxUSE_TEXTFILE
=yes
1597 DEFAULT_wxUSE_WAVE
=no
1598 DEFAULT_wxUSE_INTL
=yes
1599 DEFAULT_wxUSE_CONFIG
=yes
1600 DEFAULT_wxUSE_FONTMAP
=yes
1601 DEFAULT_wxUSE_STREAMS
=yes
1602 DEFAULT_wxUSE_SOCKETS
=yes
1603 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1604 DEFAULT_wxUSE_SERIAL
=yes
1605 DEFAULT_wxUSE_JOYSTICK
=yes
1606 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1607 DEFAULT_wxUSE_LONGLONG
=yes
1608 DEFAULT_wxUSE_GEOMETRY
=yes
1610 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1611 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1612 DEFAULT_wxUSE_POSTSCRIPT
=yes
1614 DEFAULT_wxUSE_X_RESOURCES
=no
1615 DEFAULT_wxUSE_CLIPBOARD
=yes
1616 DEFAULT_wxUSE_TOOLTIPS
=yes
1617 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1618 DEFAULT_wxUSE_DRAGIMAGE
=yes
1619 DEFAULT_wxUSE_SPLINES
=yes
1621 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1622 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1623 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1625 DEFAULT_wxUSE_PROLOGIO
=yes
1626 DEFAULT_wxUSE_RESOURCES
=yes
1627 DEFAULT_wxUSE_CONSTRAINTS
=yes
1628 DEFAULT_wxUSE_IPC
=yes
1629 DEFAULT_wxUSE_HELP
=yes
1630 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1631 DEFAULT_wxUSE_WXHTML_HELP
=yes
1632 DEFAULT_wxUSE_TREELAYOUT
=yes
1633 DEFAULT_wxUSE_METAFILE
=yes
1634 DEFAULT_wxUSE_MIMETYPE
=yes
1635 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1637 DEFAULT_wxUSE_COMMONDLGS
=yes
1638 DEFAULT_wxUSE_CHOICEDLG
=yes
1639 DEFAULT_wxUSE_COLOURDLG
=yes
1640 DEFAULT_wxUSE_DIRDLG
=yes
1641 DEFAULT_wxUSE_FILEDLG
=yes
1642 DEFAULT_wxUSE_FINDREPLDLG
=yes
1643 DEFAULT_wxUSE_FONTDLG
=yes
1644 DEFAULT_wxUSE_MSGDLG
=yes
1645 DEFAULT_wxUSE_NUMBERDLG
=yes
1646 DEFAULT_wxUSE_TEXTDLG
=yes
1647 DEFAULT_wxUSE_SPLASH
=yes
1648 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1649 DEFAULT_wxUSE_PROGRESSDLG
=yes
1650 DEFAULT_wxUSE_WIZARDDLG
=yes
1652 DEFAULT_wxUSE_MENUS
=yes
1653 DEFAULT_wxUSE_MINIFRAME
=yes
1654 DEFAULT_wxUSE_HTML
=yes
1655 DEFAULT_wxUSE_FILESYSTEM
=yes
1656 DEFAULT_wxUSE_FS_INET
=yes
1657 DEFAULT_wxUSE_FS_ZIP
=yes
1658 DEFAULT_wxUSE_BUSYINFO
=yes
1659 DEFAULT_wxUSE_ZIPSTREAM
=yes
1660 DEFAULT_wxUSE_VALIDATORS
=yes
1662 DEFAULT_wxUSE_ACCEL
=yes
1663 DEFAULT_wxUSE_BUTTON
=yes
1664 DEFAULT_wxUSE_BMPBUTTON
=yes
1665 DEFAULT_wxUSE_CALCTRL
=yes
1666 DEFAULT_wxUSE_CARET
=yes
1667 DEFAULT_wxUSE_CHECKBOX
=yes
1668 DEFAULT_wxUSE_CHECKLST
=yes
1669 DEFAULT_wxUSE_CHOICE
=yes
1670 DEFAULT_wxUSE_COMBOBOX
=yes
1671 DEFAULT_wxUSE_GAUGE
=yes
1672 DEFAULT_wxUSE_GRID
=yes
1673 DEFAULT_wxUSE_NEW_GRID
=yes
1674 DEFAULT_wxUSE_IMAGLIST
=yes
1675 DEFAULT_wxUSE_LISTBOX
=yes
1676 DEFAULT_wxUSE_LISTCTRL
=yes
1677 DEFAULT_wxUSE_NOTEBOOK
=yes
1678 DEFAULT_wxUSE_PROPSHEET
=yes
1679 DEFAULT_wxUSE_RADIOBOX
=yes
1680 DEFAULT_wxUSE_RADIOBTN
=yes
1681 DEFAULT_wxUSE_SASH
=yes
1682 DEFAULT_wxUSE_SCROLLBAR
=yes
1683 DEFAULT_wxUSE_SLIDER
=yes
1684 DEFAULT_wxUSE_SPINBTN
=yes
1685 DEFAULT_wxUSE_SPINCTRL
=yes
1686 DEFAULT_wxUSE_SPLITTER
=yes
1687 DEFAULT_wxUSE_STATBMP
=yes
1688 DEFAULT_wxUSE_STATBOX
=yes
1689 DEFAULT_wxUSE_STATLINE
=yes
1690 DEFAULT_wxUSE_STATTEXT
=yes
1691 DEFAULT_wxUSE_STATUSBAR
=yes
1692 DEFAULT_wxUSE_TABDIALOG
=no
1693 DEFAULT_wxUSE_TEXTCTRL
=yes
1694 DEFAULT_wxUSE_TOGGLEBTN
=yes
1695 DEFAULT_wxUSE_TOOLBAR
=yes
1696 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1697 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1698 DEFAULT_wxUSE_TREECTRL
=yes
1699 DEFAULT_wxUSE_POPUPWIN
=yes
1700 DEFAULT_wxUSE_TIPWINDOW
=yes
1702 DEFAULT_wxUSE_UNICODE
=no
1703 DEFAULT_wxUSE_WCSRTOMBS
=no
1705 DEFAULT_wxUSE_PALETTE
=yes
1706 DEFAULT_wxUSE_IMAGE
=yes
1707 DEFAULT_wxUSE_GIF
=yes
1708 DEFAULT_wxUSE_PCX
=yes
1709 DEFAULT_wxUSE_PNM
=yes
1710 DEFAULT_wxUSE_XPM
=yes
1715 for toolkit
in `echo $ALL_TOOLKITS`; do
1716 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1717 if test "x$LINE" != x
; then
1718 has_toolkit_in_cache
=1
1719 eval "DEFAULT_$LINE"
1720 eval "CACHE_$toolkit=1"
1726 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1727 echo "configure:1728: checking for --enable-gui" >&5
1729 # Check whether --enable-gui or --disable-gui was given.
1730 if test "${enable_gui+set}" = set; then
1731 enableval
="$enable_gui"
1733 if test "$enableval" = yes; then
1734 ac_cv_use_gui
='wxUSE_GUI=yes'
1736 ac_cv_use_gui
='wxUSE_GUI=no'
1741 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1742 if test "x$LINE" != x
; then
1743 eval "DEFAULT_$LINE"
1748 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1753 eval "$ac_cv_use_gui"
1754 if test "$no_cache" != 1; then
1755 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1758 if test "$wxUSE_GUI" = yes; then
1759 echo "$ac_t""yes" 1>&6
1761 echo "$ac_t""no" 1>&6
1765 if test "$wxUSE_GUI" = "yes"; then
1768 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1769 echo "configure:1770: checking for --enable-universal" >&5
1771 # Check whether --enable-universal or --disable-universal was given.
1772 if test "${enable_universal+set}" = set; then
1773 enableval
="$enable_universal"
1775 if test "$enableval" = yes; then
1776 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1778 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1783 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1784 if test "x$LINE" != x
; then
1785 eval "DEFAULT_$LINE"
1790 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1795 eval "$ac_cv_use_universal"
1796 if test "$no_cache" != 1; then
1797 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1800 if test "$wxUSE_UNIVERSAL" = yes; then
1801 echo "$ac_t""yes" 1>&6
1803 echo "$ac_t""no" 1>&6
1806 # Check whether --with-gtk or --without-gtk was given.
1807 if test "${with_gtk+set}" = set; then
1809 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1812 # Check whether --with-motif or --without-motif was given.
1813 if test "${with_motif+set}" = set; then
1814 withval
="$with_motif"
1815 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1818 # Check whether --with-mac or --without-mac was given.
1819 if test "${with_mac+set}" = set; then
1821 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1824 # Check whether --with-wine or --without-wine was given.
1825 if test "${with_wine+set}" = set; then
1826 withval
="$with_wine"
1827 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1830 # Check whether --with-msw or --without-msw was given.
1831 if test "${with_msw+set}" = set; then
1833 wxUSE_MSW
="$withval" CACHE_MSW TOOLKIT_GIVEN
=1
1836 # Check whether --with-pm or --without-pm was given.
1837 if test "${with_pm+set}" = set; then
1839 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1842 # Check whether --with-mgl or --without-mgl was given.
1843 if test "${with_mgl+set}" = set; then
1845 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1849 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1850 if test "${enable_gtk2+set}" = set; then
1851 enableval
="$enable_gtk2"
1859 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1860 echo "configure:1861: checking for --with-libpng" >&5
1862 # Check whether --with-libpng or --without-libpng was given.
1863 if test "${with_libpng+set}" = set; then
1864 withval
="$with_libpng"
1866 if test "$withval" = yes; then
1867 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1868 elif test "$withval" = no
; then
1869 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1870 elif test "$withval" = sys
; then
1871 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1872 elif test "$withval" = builtin; then
1873 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1875 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1880 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1881 if test "x$LINE" != x
; then
1882 eval "DEFAULT_$LINE"
1887 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1892 eval "$ac_cv_use_libpng"
1893 if test "$no_cache" != 1; then
1894 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1897 if test "$wxUSE_LIBPNG" = yes; then
1898 echo "$ac_t""yes" 1>&6
1899 elif test "$wxUSE_LIBPNG" = no
; then
1900 echo "$ac_t""no" 1>&6
1901 elif test "$wxUSE_LIBPNG" = sys
; then
1902 echo "$ac_t""system version" 1>&6
1903 elif test "$wxUSE_LIBPNG" = builtin; then
1904 echo "$ac_t""builtin version" 1>&6
1906 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1910 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1911 echo "configure:1912: checking for --with-libjpeg" >&5
1913 # Check whether --with-libjpeg or --without-libjpeg was given.
1914 if test "${with_libjpeg+set}" = set; then
1915 withval
="$with_libjpeg"
1917 if test "$withval" = yes; then
1918 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1919 elif test "$withval" = no
; then
1920 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1921 elif test "$withval" = sys
; then
1922 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1923 elif test "$withval" = builtin; then
1924 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
1926 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1931 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1932 if test "x$LINE" != x
; then
1933 eval "DEFAULT_$LINE"
1938 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1943 eval "$ac_cv_use_libjpeg"
1944 if test "$no_cache" != 1; then
1945 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1948 if test "$wxUSE_LIBJPEG" = yes; then
1949 echo "$ac_t""yes" 1>&6
1950 elif test "$wxUSE_LIBJPEG" = no
; then
1951 echo "$ac_t""no" 1>&6
1952 elif test "$wxUSE_LIBJPEG" = sys
; then
1953 echo "$ac_t""system version" 1>&6
1954 elif test "$wxUSE_LIBJPEG" = builtin; then
1955 echo "$ac_t""builtin version" 1>&6
1957 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1961 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1962 echo "configure:1963: checking for --with-libtiff" >&5
1964 # Check whether --with-libtiff or --without-libtiff was given.
1965 if test "${with_libtiff+set}" = set; then
1966 withval
="$with_libtiff"
1968 if test "$withval" = yes; then
1969 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1970 elif test "$withval" = no
; then
1971 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1972 elif test "$withval" = sys
; then
1973 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1974 elif test "$withval" = builtin; then
1975 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
1977 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1982 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1983 if test "x$LINE" != x
; then
1984 eval "DEFAULT_$LINE"
1989 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1994 eval "$ac_cv_use_libtiff"
1995 if test "$no_cache" != 1; then
1996 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1999 if test "$wxUSE_LIBTIFF" = yes; then
2000 echo "$ac_t""yes" 1>&6
2001 elif test "$wxUSE_LIBTIFF" = no
; then
2002 echo "$ac_t""no" 1>&6
2003 elif test "$wxUSE_LIBTIFF" = sys
; then
2004 echo "$ac_t""system version" 1>&6
2005 elif test "$wxUSE_LIBTIFF" = builtin; then
2006 echo "$ac_t""builtin version" 1>&6
2008 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2012 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2013 echo "configure:2014: checking for --with-freetype" >&5
2015 # Check whether --with-freetype or --without-freetype was given.
2016 if test "${with_freetype+set}" = set; then
2017 withval
="$with_freetype"
2019 if test "$withval" = yes; then
2020 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
2021 elif test "$withval" = no
; then
2022 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2023 elif test "$withval" = sys
; then
2024 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2025 elif test "$withval" = builtin; then
2026 ac_cv_use_freetype
='wxUSE_FREETYPE=builtin'
2028 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2033 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2034 if test "x$LINE" != x
; then
2035 eval "DEFAULT_$LINE"
2040 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2045 eval "$ac_cv_use_freetype"
2046 if test "$no_cache" != 1; then
2047 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2050 if test "$wxUSE_FREETYPE" = yes; then
2051 echo "$ac_t""yes" 1>&6
2052 elif test "$wxUSE_FREETYPE" = no
; then
2053 echo "$ac_t""no" 1>&6
2054 elif test "$wxUSE_FREETYPE" = sys
; then
2055 echo "$ac_t""system version" 1>&6
2056 elif test "$wxUSE_FREETYPE" = builtin; then
2057 echo "$ac_t""builtin version" 1>&6
2059 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2063 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2064 echo "configure:2065: checking for --with-opengl" >&5
2066 # Check whether --with-opengl or --without-opengl was given.
2067 if test "${with_opengl+set}" = set; then
2068 withval
="$with_opengl"
2070 if test "$withval" = yes; then
2071 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2073 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2078 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2079 if test "x$LINE" != x
; then
2080 eval "DEFAULT_$LINE"
2085 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2090 eval "$ac_cv_use_opengl"
2091 if test "$no_cache" != 1; then
2092 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2095 if test "$wxUSE_OPENGL" = yes; then
2096 echo "$ac_t""yes" 1>&6
2098 echo "$ac_t""no" 1>&6
2105 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2106 echo "configure:2107: checking for --with-dmalloc" >&5
2108 # Check whether --with-dmalloc or --without-dmalloc was given.
2109 if test "${with_dmalloc+set}" = set; then
2110 withval
="$with_dmalloc"
2112 if test "$withval" = yes; then
2113 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2115 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2120 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2121 if test "x$LINE" != x
; then
2122 eval "DEFAULT_$LINE"
2127 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2132 eval "$ac_cv_use_dmalloc"
2133 if test "$no_cache" != 1; then
2134 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2137 if test "$wxUSE_DMALLOC" = yes; then
2138 echo "$ac_t""yes" 1>&6
2140 echo "$ac_t""no" 1>&6
2144 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2145 echo "configure:2146: checking for --with-regex" >&5
2147 # Check whether --with-regex or --without-regex was given.
2148 if test "${with_regex+set}" = set; then
2149 withval
="$with_regex"
2151 if test "$withval" = yes; then
2152 ac_cv_use_regex
='wxUSE_REGEX=yes'
2153 elif test "$withval" = no
; then
2154 ac_cv_use_regex
='wxUSE_REGEX=no'
2155 elif test "$withval" = sys
; then
2156 ac_cv_use_regex
='wxUSE_REGEX=sys'
2157 elif test "$withval" = builtin; then
2158 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2160 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2165 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2166 if test "x$LINE" != x
; then
2167 eval "DEFAULT_$LINE"
2172 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2177 eval "$ac_cv_use_regex"
2178 if test "$no_cache" != 1; then
2179 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2182 if test "$wxUSE_REGEX" = yes; then
2183 echo "$ac_t""yes" 1>&6
2184 elif test "$wxUSE_REGEX" = no
; then
2185 echo "$ac_t""no" 1>&6
2186 elif test "$wxUSE_REGEX" = sys
; then
2187 echo "$ac_t""system version" 1>&6
2188 elif test "$wxUSE_REGEX" = builtin; then
2189 echo "$ac_t""builtin version" 1>&6
2191 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2195 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2196 echo "configure:2197: checking for --with-zlib" >&5
2198 # Check whether --with-zlib or --without-zlib was given.
2199 if test "${with_zlib+set}" = set; then
2200 withval
="$with_zlib"
2202 if test "$withval" = yes; then
2203 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2204 elif test "$withval" = no
; then
2205 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2206 elif test "$withval" = sys
; then
2207 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2208 elif test "$withval" = builtin; then
2209 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2211 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2216 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2217 if test "x$LINE" != x
; then
2218 eval "DEFAULT_$LINE"
2223 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2228 eval "$ac_cv_use_zlib"
2229 if test "$no_cache" != 1; then
2230 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2233 if test "$wxUSE_ZLIB" = yes; then
2234 echo "$ac_t""yes" 1>&6
2235 elif test "$wxUSE_ZLIB" = no
; then
2236 echo "$ac_t""no" 1>&6
2237 elif test "$wxUSE_ZLIB" = sys
; then
2238 echo "$ac_t""system version" 1>&6
2239 elif test "$wxUSE_ZLIB" = builtin; then
2240 echo "$ac_t""builtin version" 1>&6
2242 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2246 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2247 echo "configure:2248: checking for --with-odbc" >&5
2249 # Check whether --with-odbc or --without-odbc was given.
2250 if test "${with_odbc+set}" = set; then
2251 withval
="$with_odbc"
2253 if test "$withval" = yes; then
2254 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2256 ac_cv_use_odbc
='wxUSE_ODBC=no'
2261 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2262 if test "x$LINE" != x
; then
2263 eval "DEFAULT_$LINE"
2268 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2273 eval "$ac_cv_use_odbc"
2274 if test "$no_cache" != 1; then
2275 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2278 if test "$wxUSE_ODBC" = yes; then
2279 echo "$ac_t""yes" 1>&6
2281 echo "$ac_t""no" 1>&6
2287 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2288 echo "configure:2289: checking for --enable-shared" >&5
2290 # Check whether --enable-shared or --disable-shared was given.
2291 if test "${enable_shared+set}" = set; then
2292 enableval
="$enable_shared"
2294 if test "$enableval" = yes; then
2295 ac_cv_use_shared
='wxUSE_SHARED=yes'
2297 ac_cv_use_shared
='wxUSE_SHARED=no'
2302 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2303 if test "x$LINE" != x
; then
2304 eval "DEFAULT_$LINE"
2309 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2314 eval "$ac_cv_use_shared"
2315 if test "$no_cache" != 1; then
2316 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2319 if test "$wxUSE_SHARED" = yes; then
2320 echo "$ac_t""yes" 1>&6
2322 echo "$ac_t""no" 1>&6
2326 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2327 echo "configure:2328: checking for --enable-soname" >&5
2329 # Check whether --enable-soname or --disable-soname was given.
2330 if test "${enable_soname+set}" = set; then
2331 enableval
="$enable_soname"
2333 if test "$enableval" = yes; then
2334 ac_cv_use_soname
='wxUSE_SONAME=yes'
2336 ac_cv_use_soname
='wxUSE_SONAME=no'
2341 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2342 if test "x$LINE" != x
; then
2343 eval "DEFAULT_$LINE"
2348 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2353 eval "$ac_cv_use_soname"
2354 if test "$no_cache" != 1; then
2355 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2358 if test "$wxUSE_SONAME" = yes; then
2359 echo "$ac_t""yes" 1>&6
2361 echo "$ac_t""no" 1>&6
2365 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2366 echo "configure:2367: checking for --enable-optimise" >&5
2368 # Check whether --enable-optimise or --disable-optimise was given.
2369 if test "${enable_optimise+set}" = set; then
2370 enableval
="$enable_optimise"
2372 if test "$enableval" = yes; then
2373 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2375 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2380 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2381 if test "x$LINE" != x
; then
2382 eval "DEFAULT_$LINE"
2387 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2392 eval "$ac_cv_use_optimise"
2393 if test "$no_cache" != 1; then
2394 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2397 if test "$wxUSE_OPTIMISE" = yes; then
2398 echo "$ac_t""yes" 1>&6
2400 echo "$ac_t""no" 1>&6
2404 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2405 echo "configure:2406: checking for --enable-debug" >&5
2407 # Check whether --enable-debug or --disable-debug was given.
2408 if test "${enable_debug+set}" = set; then
2409 enableval
="$enable_debug"
2411 if test "$enableval" = yes; then
2412 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2414 ac_cv_use_debug
='wxUSE_DEBUG=no'
2419 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2420 if test "x$LINE" != x
; then
2421 eval "DEFAULT_$LINE"
2426 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2431 eval "$ac_cv_use_debug"
2432 if test "$no_cache" != 1; then
2433 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2436 if test "$wxUSE_DEBUG" = yes; then
2437 echo "$ac_t""yes" 1>&6
2439 echo "$ac_t""no" 1>&6
2444 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2445 echo "configure:2446: checking for --enable-precomp" >&5
2447 # Check whether --enable-precomp or --disable-precomp was given.
2448 if test "${enable_precomp+set}" = set; then
2449 enableval
="$enable_precomp"
2451 if test "$enableval" = yes; then
2452 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2454 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2459 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2460 if test "x$LINE" != x
; then
2461 eval "DEFAULT_$LINE"
2466 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2471 eval "$ac_cv_use_precomp"
2472 if test "$no_cache" != 1; then
2473 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2476 if test "$wxUSE_PRECOMP" = yes; then
2477 echo "$ac_t""yes" 1>&6
2479 echo "$ac_t""no" 1>&6
2483 if test "$wxUSE_DEBUG" = "yes"; then
2484 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2485 DEFAULT_wxUSE_DEBUG_INFO
=yes
2486 elif test "$wxUSE_DEBUG" = "no"; then
2487 DEFAULT_wxUSE_DEBUG_FLAG
=no
2488 DEFAULT_wxUSE_DEBUG_INFO
=no
2492 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2493 echo "configure:2494: checking for --enable-debug_flag" >&5
2495 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2496 if test "${enable_debug_flag+set}" = set; then
2497 enableval
="$enable_debug_flag"
2499 if test "$enableval" = yes; then
2500 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2502 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2507 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2508 if test "x$LINE" != x
; then
2509 eval "DEFAULT_$LINE"
2514 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2519 eval "$ac_cv_use_debug_flag"
2520 if test "$no_cache" != 1; then
2521 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2524 if test "$wxUSE_DEBUG_FLAG" = yes; then
2525 echo "$ac_t""yes" 1>&6
2527 echo "$ac_t""no" 1>&6
2531 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2532 echo "configure:2533: checking for --enable-debug_info" >&5
2534 # Check whether --enable-debug_info or --disable-debug_info was given.
2535 if test "${enable_debug_info+set}" = set; then
2536 enableval
="$enable_debug_info"
2538 if test "$enableval" = yes; then
2539 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2541 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2546 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2547 if test "x$LINE" != x
; then
2548 eval "DEFAULT_$LINE"
2553 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2558 eval "$ac_cv_use_debug_info"
2559 if test "$no_cache" != 1; then
2560 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2563 if test "$wxUSE_DEBUG_INFO" = yes; then
2564 echo "$ac_t""yes" 1>&6
2566 echo "$ac_t""no" 1>&6
2570 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2571 echo "configure:2572: checking for --enable-debug_gdb" >&5
2573 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2574 if test "${enable_debug_gdb+set}" = set; then
2575 enableval
="$enable_debug_gdb"
2577 if test "$enableval" = yes; then
2578 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2580 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2585 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2586 if test "x$LINE" != x
; then
2587 eval "DEFAULT_$LINE"
2592 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2597 eval "$ac_cv_use_debug_gdb"
2598 if test "$no_cache" != 1; then
2599 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2602 if test "$wxUSE_DEBUG_GDB" = yes; then
2603 echo "$ac_t""yes" 1>&6
2605 echo "$ac_t""no" 1>&6
2609 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2610 echo "configure:2611: checking for --enable-debug_cntxt" >&5
2612 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2613 if test "${enable_debug_cntxt+set}" = set; then
2614 enableval
="$enable_debug_cntxt"
2616 if test "$enableval" = yes; then
2617 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2619 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2624 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2625 if test "x$LINE" != x
; then
2626 eval "DEFAULT_$LINE"
2631 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2636 eval "$ac_cv_use_debug_cntxt"
2637 if test "$no_cache" != 1; then
2638 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2641 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2642 echo "$ac_t""yes" 1>&6
2644 echo "$ac_t""no" 1>&6
2648 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2649 echo "configure:2650: checking for --enable-mem_tracing" >&5
2651 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2652 if test "${enable_mem_tracing+set}" = set; then
2653 enableval
="$enable_mem_tracing"
2655 if test "$enableval" = yes; then
2656 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2658 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2663 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2664 if test "x$LINE" != x
; then
2665 eval "DEFAULT_$LINE"
2670 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2675 eval "$ac_cv_use_mem_tracing"
2676 if test "$no_cache" != 1; then
2677 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2680 if test "$wxUSE_MEM_TRACING" = yes; then
2681 echo "$ac_t""yes" 1>&6
2683 echo "$ac_t""no" 1>&6
2687 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2688 echo "configure:2689: checking for --enable-profile" >&5
2690 # Check whether --enable-profile or --disable-profile was given.
2691 if test "${enable_profile+set}" = set; then
2692 enableval
="$enable_profile"
2694 if test "$enableval" = yes; then
2695 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2697 ac_cv_use_profile
='wxUSE_PROFILE=no'
2702 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2703 if test "x$LINE" != x
; then
2704 eval "DEFAULT_$LINE"
2709 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2714 eval "$ac_cv_use_profile"
2715 if test "$no_cache" != 1; then
2716 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2719 if test "$wxUSE_PROFILE" = yes; then
2720 echo "$ac_t""yes" 1>&6
2722 echo "$ac_t""no" 1>&6
2726 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2727 echo "configure:2728: checking for --enable-no_rtti" >&5
2729 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2730 if test "${enable_no_rtti+set}" = set; then
2731 enableval
="$enable_no_rtti"
2733 if test "$enableval" = yes; then
2734 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2736 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2741 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2742 if test "x$LINE" != x
; then
2743 eval "DEFAULT_$LINE"
2748 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2753 eval "$ac_cv_use_no_rtti"
2754 if test "$no_cache" != 1; then
2755 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2758 if test "$wxUSE_NO_RTTI" = yes; then
2759 echo "$ac_t""yes" 1>&6
2761 echo "$ac_t""no" 1>&6
2765 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2766 echo "configure:2767: checking for --enable-no_exceptions" >&5
2768 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2769 if test "${enable_no_exceptions+set}" = set; then
2770 enableval
="$enable_no_exceptions"
2772 if test "$enableval" = yes; then
2773 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2775 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2780 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2781 if test "x$LINE" != x
; then
2782 eval "DEFAULT_$LINE"
2787 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2792 eval "$ac_cv_use_no_exceptions"
2793 if test "$no_cache" != 1; then
2794 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2797 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2798 echo "$ac_t""yes" 1>&6
2800 echo "$ac_t""no" 1>&6
2804 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2805 echo "configure:2806: checking for --enable-permissive" >&5
2807 # Check whether --enable-permissive or --disable-permissive was given.
2808 if test "${enable_permissive+set}" = set; then
2809 enableval
="$enable_permissive"
2811 if test "$enableval" = yes; then
2812 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2814 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2819 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2820 if test "x$LINE" != x
; then
2821 eval "DEFAULT_$LINE"
2826 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2831 eval "$ac_cv_use_permissive"
2832 if test "$no_cache" != 1; then
2833 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2836 if test "$wxUSE_PERMISSIVE" = yes; then
2837 echo "$ac_t""yes" 1>&6
2839 echo "$ac_t""no" 1>&6
2843 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2844 echo "configure:2845: checking for --enable-no_deps" >&5
2846 # Check whether --enable-no_deps or --disable-no_deps was given.
2847 if test "${enable_no_deps+set}" = set; then
2848 enableval
="$enable_no_deps"
2850 if test "$enableval" = yes; then
2851 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2853 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2858 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2859 if test "x$LINE" != x
; then
2860 eval "DEFAULT_$LINE"
2865 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2870 eval "$ac_cv_use_no_deps"
2871 if test "$no_cache" != 1; then
2872 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2875 if test "$wxUSE_NO_DEPS" = yes; then
2876 echo "$ac_t""yes" 1>&6
2878 echo "$ac_t""no" 1>&6
2883 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2884 echo "configure:2885: checking for --enable-compat20" >&5
2886 # Check whether --enable-compat20 or --disable-compat20 was given.
2887 if test "${enable_compat20+set}" = set; then
2888 enableval
="$enable_compat20"
2890 if test "$enableval" = yes; then
2891 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2893 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2898 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2899 if test "x$LINE" != x
; then
2900 eval "DEFAULT_$LINE"
2905 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2910 eval "$ac_cv_use_compat20"
2911 if test "$no_cache" != 1; then
2912 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2915 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2916 echo "$ac_t""yes" 1>&6
2918 echo "$ac_t""no" 1>&6
2922 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2923 echo "configure:2924: checking for --enable-compat22" >&5
2925 # Check whether --enable-compat22 or --disable-compat22 was given.
2926 if test "${enable_compat22+set}" = set; then
2927 enableval
="$enable_compat22"
2929 if test "$enableval" = yes; then
2930 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2932 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2937 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2938 if test "x$LINE" != x
; then
2939 eval "DEFAULT_$LINE"
2944 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2949 eval "$ac_cv_use_compat22"
2950 if test "$no_cache" != 1; then
2951 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2954 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2955 echo "$ac_t""yes" 1>&6
2957 echo "$ac_t""no" 1>&6
2963 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2964 echo "configure:2965: checking for --enable-intl" >&5
2966 # Check whether --enable-intl or --disable-intl was given.
2967 if test "${enable_intl+set}" = set; then
2968 enableval
="$enable_intl"
2970 if test "$enableval" = yes; then
2971 ac_cv_use_intl
='wxUSE_INTL=yes'
2973 ac_cv_use_intl
='wxUSE_INTL=no'
2978 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2979 if test "x$LINE" != x
; then
2980 eval "DEFAULT_$LINE"
2985 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2990 eval "$ac_cv_use_intl"
2991 if test "$no_cache" != 1; then
2992 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2995 if test "$wxUSE_INTL" = yes; then
2996 echo "$ac_t""yes" 1>&6
2998 echo "$ac_t""no" 1>&6
3002 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3003 echo "configure:3004: checking for --enable-config" >&5
3005 # Check whether --enable-config or --disable-config was given.
3006 if test "${enable_config+set}" = set; then
3007 enableval
="$enable_config"
3009 if test "$enableval" = yes; then
3010 ac_cv_use_config
='wxUSE_CONFIG=yes'
3012 ac_cv_use_config
='wxUSE_CONFIG=no'
3017 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3018 if test "x$LINE" != x
; then
3019 eval "DEFAULT_$LINE"
3024 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3029 eval "$ac_cv_use_config"
3030 if test "$no_cache" != 1; then
3031 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3034 if test "$wxUSE_CONFIG" = yes; then
3035 echo "$ac_t""yes" 1>&6
3037 echo "$ac_t""no" 1>&6
3042 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3043 echo "configure:3044: checking for --enable-sockets" >&5
3045 # Check whether --enable-sockets or --disable-sockets was given.
3046 if test "${enable_sockets+set}" = set; then
3047 enableval
="$enable_sockets"
3049 if test "$enableval" = yes; then
3050 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3052 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3057 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3058 if test "x$LINE" != x
; then
3059 eval "DEFAULT_$LINE"
3064 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3069 eval "$ac_cv_use_sockets"
3070 if test "$no_cache" != 1; then
3071 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3074 if test "$wxUSE_SOCKETS" = yes; then
3075 echo "$ac_t""yes" 1>&6
3077 echo "$ac_t""no" 1>&6
3082 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3083 echo "configure:3084: checking for --enable-ipc" >&5
3085 # Check whether --enable-ipc or --disable-ipc was given.
3086 if test "${enable_ipc+set}" = set; then
3087 enableval
="$enable_ipc"
3089 if test "$enableval" = yes; then
3090 ac_cv_use_ipc
='wxUSE_IPC=yes'
3092 ac_cv_use_ipc
='wxUSE_IPC=no'
3097 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3098 if test "x$LINE" != x
; then
3099 eval "DEFAULT_$LINE"
3104 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3109 eval "$ac_cv_use_ipc"
3110 if test "$no_cache" != 1; then
3111 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3114 if test "$wxUSE_IPC" = yes; then
3115 echo "$ac_t""yes" 1>&6
3117 echo "$ac_t""no" 1>&6
3122 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3123 echo "configure:3124: checking for --enable-cmdline" >&5
3125 # Check whether --enable-cmdline or --disable-cmdline was given.
3126 if test "${enable_cmdline+set}" = set; then
3127 enableval
="$enable_cmdline"
3129 if test "$enableval" = yes; then
3130 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3132 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3137 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3138 if test "x$LINE" != x
; then
3139 eval "DEFAULT_$LINE"
3144 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3149 eval "$ac_cv_use_cmdline"
3150 if test "$no_cache" != 1; then
3151 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3154 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3155 echo "$ac_t""yes" 1>&6
3157 echo "$ac_t""no" 1>&6
3161 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3162 echo "configure:3163: checking for --enable-datetime" >&5
3164 # Check whether --enable-datetime or --disable-datetime was given.
3165 if test "${enable_datetime+set}" = set; then
3166 enableval
="$enable_datetime"
3168 if test "$enableval" = yes; then
3169 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3171 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3176 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3177 if test "x$LINE" != x
; then
3178 eval "DEFAULT_$LINE"
3183 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3188 eval "$ac_cv_use_datetime"
3189 if test "$no_cache" != 1; then
3190 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3193 if test "$wxUSE_DATETIME" = yes; then
3194 echo "$ac_t""yes" 1>&6
3196 echo "$ac_t""no" 1>&6
3200 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3201 echo "configure:3202: checking for --enable-timedate" >&5
3203 # Check whether --enable-timedate or --disable-timedate was given.
3204 if test "${enable_timedate+set}" = set; then
3205 enableval
="$enable_timedate"
3207 if test "$enableval" = yes; then
3208 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3210 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3215 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3216 if test "x$LINE" != x
; then
3217 eval "DEFAULT_$LINE"
3222 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3227 eval "$ac_cv_use_timedate"
3228 if test "$no_cache" != 1; then
3229 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3232 if test "$wxUSE_TIMEDATE" = yes; then
3233 echo "$ac_t""yes" 1>&6
3235 echo "$ac_t""no" 1>&6
3239 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3240 echo "configure:3241: checking for --enable-stopwatch" >&5
3242 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3243 if test "${enable_stopwatch+set}" = set; then
3244 enableval
="$enable_stopwatch"
3246 if test "$enableval" = yes; then
3247 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3249 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3254 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3255 if test "x$LINE" != x
; then
3256 eval "DEFAULT_$LINE"
3261 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3266 eval "$ac_cv_use_stopwatch"
3267 if test "$no_cache" != 1; then
3268 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3271 if test "$wxUSE_STOPWATCH" = yes; then
3272 echo "$ac_t""yes" 1>&6
3274 echo "$ac_t""no" 1>&6
3278 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3279 echo "configure:3280: checking for --enable-dialupman" >&5
3281 # Check whether --enable-dialupman or --disable-dialupman was given.
3282 if test "${enable_dialupman+set}" = set; then
3283 enableval
="$enable_dialupman"
3285 if test "$enableval" = yes; then
3286 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3288 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3293 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3294 if test "x$LINE" != x
; then
3295 eval "DEFAULT_$LINE"
3300 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3305 eval "$ac_cv_use_dialupman"
3306 if test "$no_cache" != 1; then
3307 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3310 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3311 echo "$ac_t""yes" 1>&6
3313 echo "$ac_t""no" 1>&6
3317 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3318 echo "configure:3319: checking for --enable-apple_ieee" >&5
3320 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3321 if test "${enable_apple_ieee+set}" = set; then
3322 enableval
="$enable_apple_ieee"
3324 if test "$enableval" = yes; then
3325 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3327 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3332 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3333 if test "x$LINE" != x
; then
3334 eval "DEFAULT_$LINE"
3339 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3344 eval "$ac_cv_use_apple_ieee"
3345 if test "$no_cache" != 1; then
3346 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3349 if test "$wxUSE_APPLE_IEEE" = yes; then
3350 echo "$ac_t""yes" 1>&6
3352 echo "$ac_t""no" 1>&6
3356 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3357 echo "configure:3358: checking for --enable-timer" >&5
3359 # Check whether --enable-timer or --disable-timer was given.
3360 if test "${enable_timer+set}" = set; then
3361 enableval
="$enable_timer"
3363 if test "$enableval" = yes; then
3364 ac_cv_use_timer
='wxUSE_TIMER=yes'
3366 ac_cv_use_timer
='wxUSE_TIMER=no'
3371 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x
; then
3373 eval "DEFAULT_$LINE"
3378 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3383 eval "$ac_cv_use_timer"
3384 if test "$no_cache" != 1; then
3385 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3388 if test "$wxUSE_TIMER" = yes; then
3389 echo "$ac_t""yes" 1>&6
3391 echo "$ac_t""no" 1>&6
3395 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3396 echo "configure:3397: checking for --enable-wave" >&5
3398 # Check whether --enable-wave or --disable-wave was given.
3399 if test "${enable_wave+set}" = set; then
3400 enableval
="$enable_wave"
3402 if test "$enableval" = yes; then
3403 ac_cv_use_wave
='wxUSE_WAVE=yes'
3405 ac_cv_use_wave
='wxUSE_WAVE=no'
3410 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3411 if test "x$LINE" != x
; then
3412 eval "DEFAULT_$LINE"
3417 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3422 eval "$ac_cv_use_wave"
3423 if test "$no_cache" != 1; then
3424 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3427 if test "$wxUSE_WAVE" = yes; then
3428 echo "$ac_t""yes" 1>&6
3430 echo "$ac_t""no" 1>&6
3434 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3435 echo "configure:3436: checking for --enable-fraction" >&5
3437 # Check whether --enable-fraction or --disable-fraction was given.
3438 if test "${enable_fraction+set}" = set; then
3439 enableval
="$enable_fraction"
3441 if test "$enableval" = yes; then
3442 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3444 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3449 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3450 if test "x$LINE" != x
; then
3451 eval "DEFAULT_$LINE"
3456 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3461 eval "$ac_cv_use_fraction"
3462 if test "$no_cache" != 1; then
3463 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3466 if test "$wxUSE_FRACTION" = yes; then
3467 echo "$ac_t""yes" 1>&6
3469 echo "$ac_t""no" 1>&6
3473 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3474 echo "configure:3475: checking for --enable-dynlib" >&5
3476 # Check whether --enable-dynlib or --disable-dynlib was given.
3477 if test "${enable_dynlib+set}" = set; then
3478 enableval
="$enable_dynlib"
3480 if test "$enableval" = yes; then
3481 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3483 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3488 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3489 if test "x$LINE" != x
; then
3490 eval "DEFAULT_$LINE"
3495 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3500 eval "$ac_cv_use_dynlib"
3501 if test "$no_cache" != 1; then
3502 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3505 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3506 echo "$ac_t""yes" 1>&6
3508 echo "$ac_t""no" 1>&6
3512 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3513 echo "configure:3514: checking for --enable-longlong" >&5
3515 # Check whether --enable-longlong or --disable-longlong was given.
3516 if test "${enable_longlong+set}" = set; then
3517 enableval
="$enable_longlong"
3519 if test "$enableval" = yes; then
3520 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3522 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3527 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3528 if test "x$LINE" != x
; then
3529 eval "DEFAULT_$LINE"
3534 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3539 eval "$ac_cv_use_longlong"
3540 if test "$no_cache" != 1; then
3541 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3544 if test "$wxUSE_LONGLONG" = yes; then
3545 echo "$ac_t""yes" 1>&6
3547 echo "$ac_t""no" 1>&6
3551 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3552 echo "configure:3553: checking for --enable-geometry" >&5
3554 # Check whether --enable-geometry or --disable-geometry was given.
3555 if test "${enable_geometry+set}" = set; then
3556 enableval
="$enable_geometry"
3558 if test "$enableval" = yes; then
3559 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3561 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3566 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3567 if test "x$LINE" != x
; then
3568 eval "DEFAULT_$LINE"
3573 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3578 eval "$ac_cv_use_geometry"
3579 if test "$no_cache" != 1; then
3580 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3583 if test "$wxUSE_GEOMETRY" = yes; then
3584 echo "$ac_t""yes" 1>&6
3586 echo "$ac_t""no" 1>&6
3590 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3591 echo "configure:3592: checking for --enable-log" >&5
3593 # Check whether --enable-log or --disable-log was given.
3594 if test "${enable_log+set}" = set; then
3595 enableval
="$enable_log"
3597 if test "$enableval" = yes; then
3598 ac_cv_use_log
='wxUSE_LOG=yes'
3600 ac_cv_use_log
='wxUSE_LOG=no'
3605 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3606 if test "x$LINE" != x
; then
3607 eval "DEFAULT_$LINE"
3612 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3617 eval "$ac_cv_use_log"
3618 if test "$no_cache" != 1; then
3619 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3622 if test "$wxUSE_LOG" = yes; then
3623 echo "$ac_t""yes" 1>&6
3625 echo "$ac_t""no" 1>&6
3629 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3630 echo "configure:3631: checking for --enable-streams" >&5
3632 # Check whether --enable-streams or --disable-streams was given.
3633 if test "${enable_streams+set}" = set; then
3634 enableval
="$enable_streams"
3636 if test "$enableval" = yes; then
3637 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3639 ac_cv_use_streams
='wxUSE_STREAMS=no'
3644 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3645 if test "x$LINE" != x
; then
3646 eval "DEFAULT_$LINE"
3651 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3656 eval "$ac_cv_use_streams"
3657 if test "$no_cache" != 1; then
3658 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3661 if test "$wxUSE_STREAMS" = yes; then
3662 echo "$ac_t""yes" 1>&6
3664 echo "$ac_t""no" 1>&6
3668 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3669 echo "configure:3670: checking for --enable-file" >&5
3671 # Check whether --enable-file or --disable-file was given.
3672 if test "${enable_file+set}" = set; then
3673 enableval
="$enable_file"
3675 if test "$enableval" = yes; then
3676 ac_cv_use_file
='wxUSE_FILE=yes'
3678 ac_cv_use_file
='wxUSE_FILE=no'
3683 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3684 if test "x$LINE" != x
; then
3685 eval "DEFAULT_$LINE"
3690 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3695 eval "$ac_cv_use_file"
3696 if test "$no_cache" != 1; then
3697 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3700 if test "$wxUSE_FILE" = yes; then
3701 echo "$ac_t""yes" 1>&6
3703 echo "$ac_t""no" 1>&6
3707 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3708 echo "configure:3709: checking for --enable-ffile" >&5
3710 # Check whether --enable-ffile or --disable-ffile was given.
3711 if test "${enable_ffile+set}" = set; then
3712 enableval
="$enable_ffile"
3714 if test "$enableval" = yes; then
3715 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3717 ac_cv_use_ffile
='wxUSE_FFILE=no'
3722 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3723 if test "x$LINE" != x
; then
3724 eval "DEFAULT_$LINE"
3729 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3734 eval "$ac_cv_use_ffile"
3735 if test "$no_cache" != 1; then
3736 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3739 if test "$wxUSE_FFILE" = yes; then
3740 echo "$ac_t""yes" 1>&6
3742 echo "$ac_t""no" 1>&6
3746 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
3747 echo "configure:3748: checking for --enable-textbuf" >&5
3749 # Check whether --enable-textbuf or --disable-textbuf was given.
3750 if test "${enable_textbuf+set}" = set; then
3751 enableval
="$enable_textbuf"
3753 if test "$enableval" = yes; then
3754 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
3756 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
3761 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x
; then
3763 eval "DEFAULT_$LINE"
3768 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
3773 eval "$ac_cv_use_textbuf"
3774 if test "$no_cache" != 1; then
3775 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
3778 if test "$wxUSE_TEXTBUFFER" = yes; then
3779 echo "$ac_t""yes" 1>&6
3781 echo "$ac_t""no" 1>&6
3785 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3786 echo "configure:3787: checking for --enable-textfile" >&5
3788 # Check whether --enable-textfile or --disable-textfile was given.
3789 if test "${enable_textfile+set}" = set; then
3790 enableval
="$enable_textfile"
3792 if test "$enableval" = yes; then
3793 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3795 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3800 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3801 if test "x$LINE" != x
; then
3802 eval "DEFAULT_$LINE"
3807 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3812 eval "$ac_cv_use_textfile"
3813 if test "$no_cache" != 1; then
3814 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3817 if test "$wxUSE_TEXTFILE" = yes; then
3818 echo "$ac_t""yes" 1>&6
3820 echo "$ac_t""no" 1>&6
3824 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3825 echo "configure:3826: checking for --enable-fontmap" >&5
3827 # Check whether --enable-fontmap or --disable-fontmap was given.
3828 if test "${enable_fontmap+set}" = set; then
3829 enableval
="$enable_fontmap"
3831 if test "$enableval" = yes; then
3832 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3834 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3839 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3840 if test "x$LINE" != x
; then
3841 eval "DEFAULT_$LINE"
3846 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3851 eval "$ac_cv_use_fontmap"
3852 if test "$no_cache" != 1; then
3853 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3856 if test "$wxUSE_FONTMAP" = yes; then
3857 echo "$ac_t""yes" 1>&6
3859 echo "$ac_t""no" 1>&6
3863 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3864 echo "configure:3865: checking for --enable-unicode" >&5
3866 # Check whether --enable-unicode or --disable-unicode was given.
3867 if test "${enable_unicode+set}" = set; then
3868 enableval
="$enable_unicode"
3870 if test "$enableval" = yes; then
3871 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3873 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3878 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3879 if test "x$LINE" != x
; then
3880 eval "DEFAULT_$LINE"
3885 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3890 eval "$ac_cv_use_unicode"
3891 if test "$no_cache" != 1; then
3892 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3895 if test "$wxUSE_UNICODE" = yes; then
3896 echo "$ac_t""yes" 1>&6
3898 echo "$ac_t""no" 1>&6
3902 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3903 echo "configure:3904: checking for --enable-wxprintfv" >&5
3905 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3906 if test "${enable_wxprintfv+set}" = set; then
3907 enableval
="$enable_wxprintfv"
3909 if test "$enableval" = yes; then
3910 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3912 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3917 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3918 if test "x$LINE" != x
; then
3919 eval "DEFAULT_$LINE"
3924 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3929 eval "$ac_cv_use_wxprintfv"
3930 if test "$no_cache" != 1; then
3931 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3934 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3935 echo "$ac_t""yes" 1>&6
3937 echo "$ac_t""no" 1>&6
3941 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3942 echo "configure:3943: checking for --enable-std_iostreams" >&5
3944 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3945 if test "${enable_std_iostreams+set}" = set; then
3946 enableval
="$enable_std_iostreams"
3948 if test "$enableval" = yes; then
3949 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3951 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3956 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3957 if test "x$LINE" != x
; then
3958 eval "DEFAULT_$LINE"
3963 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3968 eval "$ac_cv_use_std_iostreams"
3969 if test "$no_cache" != 1; then
3970 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3973 if test "$wxUSE_STD_IOSTREAM" = yes; then
3974 echo "$ac_t""yes" 1>&6
3976 echo "$ac_t""no" 1>&6
3980 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3981 echo "configure:3982: checking for --enable-filesystem" >&5
3983 # Check whether --enable-filesystem or --disable-filesystem was given.
3984 if test "${enable_filesystem+set}" = set; then
3985 enableval
="$enable_filesystem"
3987 if test "$enableval" = yes; then
3988 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3990 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3995 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3996 if test "x$LINE" != x
; then
3997 eval "DEFAULT_$LINE"
4002 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4007 eval "$ac_cv_use_filesystem"
4008 if test "$no_cache" != 1; then
4009 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4012 if test "$wxUSE_FILESYSTEM" = yes; then
4013 echo "$ac_t""yes" 1>&6
4015 echo "$ac_t""no" 1>&6
4019 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4020 echo "configure:4021: checking for --enable-fs_inet" >&5
4022 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4023 if test "${enable_fs_inet+set}" = set; then
4024 enableval
="$enable_fs_inet"
4026 if test "$enableval" = yes; then
4027 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4029 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4034 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4035 if test "x$LINE" != x
; then
4036 eval "DEFAULT_$LINE"
4041 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4046 eval "$ac_cv_use_fs_inet"
4047 if test "$no_cache" != 1; then
4048 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4051 if test "$wxUSE_FS_INET" = yes; then
4052 echo "$ac_t""yes" 1>&6
4054 echo "$ac_t""no" 1>&6
4058 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4059 echo "configure:4060: checking for --enable-fs_zip" >&5
4061 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4062 if test "${enable_fs_zip+set}" = set; then
4063 enableval
="$enable_fs_zip"
4065 if test "$enableval" = yes; then
4066 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4068 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4073 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4074 if test "x$LINE" != x
; then
4075 eval "DEFAULT_$LINE"
4080 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4085 eval "$ac_cv_use_fs_zip"
4086 if test "$no_cache" != 1; then
4087 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4090 if test "$wxUSE_FS_ZIP" = yes; then
4091 echo "$ac_t""yes" 1>&6
4093 echo "$ac_t""no" 1>&6
4097 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4098 echo "configure:4099: checking for --enable-zipstream" >&5
4100 # Check whether --enable-zipstream or --disable-zipstream was given.
4101 if test "${enable_zipstream+set}" = set; then
4102 enableval
="$enable_zipstream"
4104 if test "$enableval" = yes; then
4105 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4107 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4112 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4113 if test "x$LINE" != x
; then
4114 eval "DEFAULT_$LINE"
4119 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4124 eval "$ac_cv_use_zipstream"
4125 if test "$no_cache" != 1; then
4126 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4129 if test "$wxUSE_ZIPSTREAM" = yes; then
4130 echo "$ac_t""yes" 1>&6
4132 echo "$ac_t""no" 1>&6
4137 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4138 echo "configure:4139: checking for --enable-catch_segvs" >&5
4140 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4141 if test "${enable_catch_segvs+set}" = set; then
4142 enableval
="$enable_catch_segvs"
4144 if test "$enableval" = yes; then
4145 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4147 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4152 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4153 if test "x$LINE" != x
; then
4154 eval "DEFAULT_$LINE"
4159 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4164 eval "$ac_cv_use_catch_segvs"
4165 if test "$no_cache" != 1; then
4166 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4169 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4170 echo "$ac_t""yes" 1>&6
4172 echo "$ac_t""no" 1>&6
4176 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4177 echo "configure:4178: checking for --enable-snglinst" >&5
4179 # Check whether --enable-snglinst or --disable-snglinst was given.
4180 if test "${enable_snglinst+set}" = set; then
4181 enableval
="$enable_snglinst"
4183 if test "$enableval" = yes; then
4184 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4186 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4191 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4192 if test "x$LINE" != x
; then
4193 eval "DEFAULT_$LINE"
4198 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4203 eval "$ac_cv_use_snglinst"
4204 if test "$no_cache" != 1; then
4205 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4208 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4209 echo "$ac_t""yes" 1>&6
4211 echo "$ac_t""no" 1>&6
4216 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4217 echo "configure:4218: checking for --enable-mimetype" >&5
4219 # Check whether --enable-mimetype or --disable-mimetype was given.
4220 if test "${enable_mimetype+set}" = set; then
4221 enableval
="$enable_mimetype"
4223 if test "$enableval" = yes; then
4224 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4226 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4231 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4232 if test "x$LINE" != x
; then
4233 eval "DEFAULT_$LINE"
4238 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4243 eval "$ac_cv_use_mimetype"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4248 if test "$wxUSE_MIMETYPE" = yes; then
4249 echo "$ac_t""yes" 1>&6
4251 echo "$ac_t""no" 1>&6
4255 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4256 echo "configure:4257: checking for --enable-system_options" >&5
4258 # Check whether --enable-system_options or --disable-system_options was given.
4259 if test "${enable_system_options+set}" = set; then
4260 enableval
="$enable_system_options"
4262 if test "$enableval" = yes; then
4263 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4265 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4270 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4271 if test "x$LINE" != x
; then
4272 eval "DEFAULT_$LINE"
4277 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4282 eval "$ac_cv_use_system_options"
4283 if test "$no_cache" != 1; then
4284 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4287 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4288 echo "$ac_t""yes" 1>&6
4290 echo "$ac_t""no" 1>&6
4296 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4297 echo "configure:4298: checking for --enable-threads" >&5
4299 # Check whether --enable-threads or --disable-threads was given.
4300 if test "${enable_threads+set}" = set; then
4301 enableval
="$enable_threads"
4303 if test "$enableval" = yes; then
4304 ac_cv_use_threads
='wxUSE_THREADS=yes'
4306 ac_cv_use_threads
='wxUSE_THREADS=no'
4311 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4312 if test "x$LINE" != x
; then
4313 eval "DEFAULT_$LINE"
4318 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4323 eval "$ac_cv_use_threads"
4324 if test "$no_cache" != 1; then
4325 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4328 if test "$wxUSE_THREADS" = yes; then
4329 echo "$ac_t""yes" 1>&6
4331 echo "$ac_t""no" 1>&6
4335 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4336 echo "configure:4337: checking for --enable-serial" >&5
4338 # Check whether --enable-serial or --disable-serial was given.
4339 if test "${enable_serial+set}" = set; then
4340 enableval
="$enable_serial"
4342 if test "$enableval" = yes; then
4343 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4345 ac_cv_use_serial
='wxUSE_SERIAL=no'
4350 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4351 if test "x$LINE" != x
; then
4352 eval "DEFAULT_$LINE"
4357 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4362 eval "$ac_cv_use_serial"
4363 if test "$no_cache" != 1; then
4364 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4367 if test "$wxUSE_SERIAL" = yes; then
4368 echo "$ac_t""yes" 1>&6
4370 echo "$ac_t""no" 1>&6
4374 if test "$wxUSE_GUI" = "yes"; then
4378 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4379 echo "configure:4380: checking for --enable-docview" >&5
4381 # Check whether --enable-docview or --disable-docview was given.
4382 if test "${enable_docview+set}" = set; then
4383 enableval
="$enable_docview"
4385 if test "$enableval" = yes; then
4386 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4388 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4393 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4394 if test "x$LINE" != x
; then
4395 eval "DEFAULT_$LINE"
4400 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4405 eval "$ac_cv_use_docview"
4406 if test "$no_cache" != 1; then
4407 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4410 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4411 echo "$ac_t""yes" 1>&6
4413 echo "$ac_t""no" 1>&6
4417 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4418 echo "configure:4419: checking for --enable-help" >&5
4420 # Check whether --enable-help or --disable-help was given.
4421 if test "${enable_help+set}" = set; then
4422 enableval
="$enable_help"
4424 if test "$enableval" = yes; then
4425 ac_cv_use_help
='wxUSE_HELP=yes'
4427 ac_cv_use_help
='wxUSE_HELP=no'
4432 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4433 if test "x$LINE" != x
; then
4434 eval "DEFAULT_$LINE"
4439 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4444 eval "$ac_cv_use_help"
4445 if test "$no_cache" != 1; then
4446 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4449 if test "$wxUSE_HELP" = yes; then
4450 echo "$ac_t""yes" 1>&6
4452 echo "$ac_t""no" 1>&6
4456 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4457 echo "configure:4458: checking for --enable-mshtmlhelp" >&5
4459 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4460 if test "${enable_mshtmlhelp+set}" = set; then
4461 enableval
="$enable_mshtmlhelp"
4463 if test "$enableval" = yes; then
4464 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4466 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4471 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4472 if test "x$LINE" != x
; then
4473 eval "DEFAULT_$LINE"
4478 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4483 eval "$ac_cv_use_mshtmlhelp"
4484 if test "$no_cache" != 1; then
4485 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4488 if test "$wxUSE_MS_HTML_HELP" = yes; then
4489 echo "$ac_t""yes" 1>&6
4491 echo "$ac_t""no" 1>&6
4495 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4496 echo "configure:4497: checking for --enable-html" >&5
4498 # Check whether --enable-html or --disable-html was given.
4499 if test "${enable_html+set}" = set; then
4500 enableval
="$enable_html"
4502 if test "$enableval" = yes; then
4503 ac_cv_use_html
='wxUSE_HTML=yes'
4505 ac_cv_use_html
='wxUSE_HTML=no'
4510 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4511 if test "x$LINE" != x
; then
4512 eval "DEFAULT_$LINE"
4517 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4522 eval "$ac_cv_use_html"
4523 if test "$no_cache" != 1; then
4524 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4527 if test "$wxUSE_HTML" = yes; then
4528 echo "$ac_t""yes" 1>&6
4530 echo "$ac_t""no" 1>&6
4534 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4535 echo "configure:4536: checking for --enable-htmlhelp" >&5
4537 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4538 if test "${enable_htmlhelp+set}" = set; then
4539 enableval
="$enable_htmlhelp"
4541 if test "$enableval" = yes; then
4542 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4544 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4549 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4550 if test "x$LINE" != x
; then
4551 eval "DEFAULT_$LINE"
4556 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4561 eval "$ac_cv_use_htmlhelp"
4562 if test "$no_cache" != 1; then
4563 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4566 if test "$wxUSE_WXHTML_HELP" = yes; then
4567 echo "$ac_t""yes" 1>&6
4569 echo "$ac_t""no" 1>&6
4573 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4574 echo "configure:4575: checking for --enable-constraints" >&5
4576 # Check whether --enable-constraints or --disable-constraints was given.
4577 if test "${enable_constraints+set}" = set; then
4578 enableval
="$enable_constraints"
4580 if test "$enableval" = yes; then
4581 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4583 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4588 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4589 if test "x$LINE" != x
; then
4590 eval "DEFAULT_$LINE"
4595 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4600 eval "$ac_cv_use_constraints"
4601 if test "$no_cache" != 1; then
4602 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4605 if test "$wxUSE_CONSTRAINTS" = yes; then
4606 echo "$ac_t""yes" 1>&6
4608 echo "$ac_t""no" 1>&6
4612 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4613 echo "configure:4614: checking for --enable-printarch" >&5
4615 # Check whether --enable-printarch or --disable-printarch was given.
4616 if test "${enable_printarch+set}" = set; then
4617 enableval
="$enable_printarch"
4619 if test "$enableval" = yes; then
4620 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4622 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4627 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4628 if test "x$LINE" != x
; then
4629 eval "DEFAULT_$LINE"
4634 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4639 eval "$ac_cv_use_printarch"
4640 if test "$no_cache" != 1; then
4641 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4644 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4645 echo "$ac_t""yes" 1>&6
4647 echo "$ac_t""no" 1>&6
4651 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4652 echo "configure:4653: checking for --enable-mdi" >&5
4654 # Check whether --enable-mdi or --disable-mdi was given.
4655 if test "${enable_mdi+set}" = set; then
4656 enableval
="$enable_mdi"
4658 if test "$enableval" = yes; then
4659 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4661 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4666 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4667 if test "x$LINE" != x
; then
4668 eval "DEFAULT_$LINE"
4673 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4678 eval "$ac_cv_use_mdi"
4679 if test "$no_cache" != 1; then
4680 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4683 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4684 echo "$ac_t""yes" 1>&6
4686 echo "$ac_t""no" 1>&6
4690 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4691 echo "configure:4692: checking for --enable-loggui" >&5
4693 # Check whether --enable-loggui or --disable-loggui was given.
4694 if test "${enable_loggui+set}" = set; then
4695 enableval
="$enable_loggui"
4697 if test "$enableval" = yes; then
4698 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4700 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4705 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4706 if test "x$LINE" != x
; then
4707 eval "DEFAULT_$LINE"
4712 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4717 eval "$ac_cv_use_loggui"
4718 if test "$no_cache" != 1; then
4719 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4722 if test "$wxUSE_LOGGUI" = yes; then
4723 echo "$ac_t""yes" 1>&6
4725 echo "$ac_t""no" 1>&6
4729 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4730 echo "configure:4731: checking for --enable-logwin" >&5
4732 # Check whether --enable-logwin or --disable-logwin was given.
4733 if test "${enable_logwin+set}" = set; then
4734 enableval
="$enable_logwin"
4736 if test "$enableval" = yes; then
4737 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4739 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4744 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4745 if test "x$LINE" != x
; then
4746 eval "DEFAULT_$LINE"
4751 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4756 eval "$ac_cv_use_logwin"
4757 if test "$no_cache" != 1; then
4758 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4761 if test "$wxUSE_LOGWINDOW" = yes; then
4762 echo "$ac_t""yes" 1>&6
4764 echo "$ac_t""no" 1>&6
4768 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
4769 echo "configure:4770: checking for --enable-logdialog" >&5
4771 # Check whether --enable-logdialog or --disable-logdialog was given.
4772 if test "${enable_logdialog+set}" = set; then
4773 enableval
="$enable_logdialog"
4775 if test "$enableval" = yes; then
4776 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
4778 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
4783 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
4784 if test "x$LINE" != x
; then
4785 eval "DEFAULT_$LINE"
4790 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
4795 eval "$ac_cv_use_logdialog"
4796 if test "$no_cache" != 1; then
4797 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
4800 if test "$wxUSE_LOGDIALOG" = yes; then
4801 echo "$ac_t""yes" 1>&6
4803 echo "$ac_t""no" 1>&6
4808 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4809 echo "configure:4810: checking for --enable-postscript" >&5
4811 # Check whether --enable-postscript or --disable-postscript was given.
4812 if test "${enable_postscript+set}" = set; then
4813 enableval
="$enable_postscript"
4815 if test "$enableval" = yes; then
4816 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4818 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4823 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4824 if test "x$LINE" != x
; then
4825 eval "DEFAULT_$LINE"
4830 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4835 eval "$ac_cv_use_postscript"
4836 if test "$no_cache" != 1; then
4837 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4840 if test "$wxUSE_POSTSCRIPT" = yes; then
4841 echo "$ac_t""yes" 1>&6
4843 echo "$ac_t""no" 1>&6
4850 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4851 echo "configure:4852: checking for --enable-prologio" >&5
4853 # Check whether --enable-prologio or --disable-prologio was given.
4854 if test "${enable_prologio+set}" = set; then
4855 enableval
="$enable_prologio"
4857 if test "$enableval" = yes; then
4858 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4860 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4865 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4866 if test "x$LINE" != x
; then
4867 eval "DEFAULT_$LINE"
4872 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4877 eval "$ac_cv_use_prologio"
4878 if test "$no_cache" != 1; then
4879 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4882 if test "$wxUSE_PROLOGIO" = yes; then
4883 echo "$ac_t""yes" 1>&6
4885 echo "$ac_t""no" 1>&6
4889 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4890 echo "configure:4891: checking for --enable-resources" >&5
4892 # Check whether --enable-resources or --disable-resources was given.
4893 if test "${enable_resources+set}" = set; then
4894 enableval
="$enable_resources"
4896 if test "$enableval" = yes; then
4897 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4899 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4904 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4905 if test "x$LINE" != x
; then
4906 eval "DEFAULT_$LINE"
4911 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4916 eval "$ac_cv_use_resources"
4917 if test "$no_cache" != 1; then
4918 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4921 if test "$wxUSE_RESOURCES" = yes; then
4922 echo "$ac_t""yes" 1>&6
4924 echo "$ac_t""no" 1>&6
4929 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4930 echo "configure:4931: checking for --enable-xresources" >&5
4932 # Check whether --enable-xresources or --disable-xresources was given.
4933 if test "${enable_xresources+set}" = set; then
4934 enableval
="$enable_xresources"
4936 if test "$enableval" = yes; then
4937 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4939 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4944 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4945 if test "x$LINE" != x
; then
4946 eval "DEFAULT_$LINE"
4951 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4956 eval "$ac_cv_use_xresources"
4957 if test "$no_cache" != 1; then
4958 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4961 if test "$wxUSE_X_RESOURCES" = yes; then
4962 echo "$ac_t""yes" 1>&6
4964 echo "$ac_t""no" 1>&6
4970 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4971 echo "configure:4972: checking for --enable-clipboard" >&5
4973 # Check whether --enable-clipboard or --disable-clipboard was given.
4974 if test "${enable_clipboard+set}" = set; then
4975 enableval
="$enable_clipboard"
4977 if test "$enableval" = yes; then
4978 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4980 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4985 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4986 if test "x$LINE" != x
; then
4987 eval "DEFAULT_$LINE"
4992 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4997 eval "$ac_cv_use_clipboard"
4998 if test "$no_cache" != 1; then
4999 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5002 if test "$wxUSE_CLIPBOARD" = yes; then
5003 echo "$ac_t""yes" 1>&6
5005 echo "$ac_t""no" 1>&6
5009 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5010 echo "configure:5011: checking for --enable-dnd" >&5
5012 # Check whether --enable-dnd or --disable-dnd was given.
5013 if test "${enable_dnd+set}" = set; then
5014 enableval
="$enable_dnd"
5016 if test "$enableval" = yes; then
5017 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5019 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5024 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5025 if test "x$LINE" != x
; then
5026 eval "DEFAULT_$LINE"
5031 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5036 eval "$ac_cv_use_dnd"
5037 if test "$no_cache" != 1; then
5038 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5041 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5042 echo "$ac_t""yes" 1>&6
5044 echo "$ac_t""no" 1>&6
5048 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5049 echo "configure:5050: checking for --enable-metafile" >&5
5051 # Check whether --enable-metafile or --disable-metafile was given.
5052 if test "${enable_metafile+set}" = set; then
5053 enableval
="$enable_metafile"
5055 if test "$enableval" = yes; then
5056 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5058 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5063 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5064 if test "x$LINE" != x
; then
5065 eval "DEFAULT_$LINE"
5070 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5075 eval "$ac_cv_use_metafile"
5076 if test "$no_cache" != 1; then
5077 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5080 if test "$wxUSE_METAFILE" = yes; then
5081 echo "$ac_t""yes" 1>&6
5083 echo "$ac_t""no" 1>&6
5088 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5089 echo "configure:5090: checking for --enable-treelayout" >&5
5091 # Check whether --enable-treelayout or --disable-treelayout was given.
5092 if test "${enable_treelayout+set}" = set; then
5093 enableval
="$enable_treelayout"
5095 if test "$enableval" = yes; then
5096 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5098 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5103 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5104 if test "x$LINE" != x
; then
5105 eval "DEFAULT_$LINE"
5110 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5115 eval "$ac_cv_use_treelayout"
5116 if test "$no_cache" != 1; then
5117 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5120 if test "$wxUSE_TREELAYOUT" = yes; then
5121 echo "$ac_t""yes" 1>&6
5123 echo "$ac_t""no" 1>&6
5129 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5130 echo "configure:5131: checking for --enable-controls" >&5
5132 # Check whether --enable-controls or --disable-controls was given.
5133 if test "${enable_controls+set}" = set; then
5134 enableval
="$enable_controls"
5136 if test "$enableval" = yes; then
5137 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5139 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5144 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5145 if test "x$LINE" != x
; then
5146 eval "DEFAULT_$LINE"
5151 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5156 eval "$ac_cv_use_controls"
5157 if test "$no_cache" != 1; then
5158 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5161 if test "$wxUSE_CONTROLS" = yes; then
5162 echo "$ac_t""yes" 1>&6
5164 echo "$ac_t""no" 1>&6
5168 if test "$wxUSE_CONTROLS" = "yes"; then
5169 DEFAULT_wxUSE_ACCEL
=yes
5170 DEFAULT_wxUSE_BMPBUTTON
=yes
5171 DEFAULT_wxUSE_BUTTON
=yes
5172 DEFAULT_wxUSE_CALCTRL
=no
5173 DEFAULT_wxUSE_CARET
=yes
5174 DEFAULT_wxUSE_COMBOBOX
=yes
5175 DEFAULT_wxUSE_CHECKBOX
=yes
5176 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5177 DEFAULT_wxUSE_CHOICE
=yes
5178 DEFAULT_wxUSE_GAUGE
=yes
5179 DEFAULT_wxUSE_GRID
=yes
5180 DEFAULT_wxUSE_NEW_GRID
=yes
5181 DEFAULT_wxUSE_IMAGLIST
=yes
5182 DEFAULT_wxUSE_LISTBOX
=yes
5183 DEFAULT_wxUSE_LISTCTRL
=yes
5184 DEFAULT_wxUSE_NOTEBOOK
=yes
5185 DEFAULT_wxUSE_PROPSHEET
=yes
5186 DEFAULT_wxUSE_RADIOBOX
=yes
5187 DEFAULT_wxUSE_RADIOBTN
=yes
5188 DEFAULT_wxUSE_SASH
=yes
5189 DEFAULT_wxUSE_SCROLLBAR
=yes
5190 DEFAULT_wxUSE_SLIDER
=yes
5191 DEFAULT_wxUSE_SPINBTN
=yes
5192 DEFAULT_wxUSE_SPINCTRL
=yes
5193 DEFAULT_wxUSE_SPLITTER
=yes
5194 DEFAULT_wxUSE_STATBMP
=yes
5195 DEFAULT_wxUSE_STATBOX
=yes
5196 DEFAULT_wxUSE_STATLINE
=yes
5197 DEFAULT_wxUSE_STATUSBAR
=yes
5198 DEFAULT_wxUSE_TAB_DIALOG
=yes
5199 DEFAULT_wxUSE_TOGGLEBTN
=yes
5200 DEFAULT_wxUSE_TOOLBAR
=yes
5201 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5202 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5203 DEFAULT_wxUSE_TOOLTIPS
=yes
5204 DEFAULT_wxUSE_TREECTRL
=yes
5205 DEFAULT_wxUSE_POPUPWIN
=yes
5206 DEFAULT_wxUSE_TIPWINDOW
=yes
5207 elif test "$wxUSE_CONTROLS" = "no"; then
5208 DEFAULT_wxUSE_ACCEL
=no
5209 DEFAULT_wxUSE_BMPBUTTON
=no
5210 DEFAULT_wxUSE_BUTTON
=no
5211 DEFAULT_wxUSE_CALCTRL
=no
5212 DEFAULT_wxUSE_CARET
=no
5213 DEFAULT_wxUSE_COMBOBOX
=no
5214 DEFAULT_wxUSE_CHECKBOX
=no
5215 DEFAULT_wxUSE_CHECKLISTBOX
=no
5216 DEFAULT_wxUSE_CHOICE
=no
5217 DEFAULT_wxUSE_GAUGE
=no
5218 DEFAULT_wxUSE_GRID
=no
5219 DEFAULT_wxUSE_NEW_GRID
=no
5220 DEFAULT_wxUSE_IMAGLIST
=no
5221 DEFAULT_wxUSE_LISTBOX
=no
5222 DEFAULT_wxUSE_LISTCTRL
=no
5223 DEFAULT_wxUSE_NOTEBOOK
=no
5224 DEFAULT_wxUSE_PROPSHEET
=no
5225 DEFAULT_wxUSE_RADIOBOX
=no
5226 DEFAULT_wxUSE_RADIOBTN
=no
5227 DEFAULT_wxUSE_SASH
=no
5228 DEFAULT_wxUSE_SCROLLBAR
=no
5229 DEFAULT_wxUSE_SLIDER
=no
5230 DEFAULT_wxUSE_SPINBTN
=no
5231 DEFAULT_wxUSE_SPINCTRL
=no
5232 DEFAULT_wxUSE_SPLITTER
=no
5233 DEFAULT_wxUSE_STATBMP
=no
5234 DEFAULT_wxUSE_STATBOX
=no
5235 DEFAULT_wxUSE_STATLINE
=no
5236 DEFAULT_wxUSE_STATUSBAR
=no
5237 DEFAULT_wxUSE_TAB_DIALOG
=no
5238 DEFAULT_wxUSE_TOGGLEBTN
=no
5239 DEFAULT_wxUSE_TOOLBAR
=no
5240 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5241 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5242 DEFAULT_wxUSE_TOOLTIPS
=no
5243 DEFAULT_wxUSE_TREECTRL
=no
5244 DEFAULT_wxUSE_POPUPWIN
=no
5245 DEFAULT_wxUSE_TIPWINDOW
=no
5249 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5250 echo "configure:5251: checking for --enable-accel" >&5
5252 # Check whether --enable-accel or --disable-accel was given.
5253 if test "${enable_accel+set}" = set; then
5254 enableval
="$enable_accel"
5256 if test "$enableval" = yes; then
5257 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5259 ac_cv_use_accel
='wxUSE_ACCEL=no'
5264 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5265 if test "x$LINE" != x
; then
5266 eval "DEFAULT_$LINE"
5271 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5276 eval "$ac_cv_use_accel"
5277 if test "$no_cache" != 1; then
5278 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5281 if test "$wxUSE_ACCEL" = yes; then
5282 echo "$ac_t""yes" 1>&6
5284 echo "$ac_t""no" 1>&6
5288 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5289 echo "configure:5290: checking for --enable-button" >&5
5291 # Check whether --enable-button or --disable-button was given.
5292 if test "${enable_button+set}" = set; then
5293 enableval
="$enable_button"
5295 if test "$enableval" = yes; then
5296 ac_cv_use_button
='wxUSE_BUTTON=yes'
5298 ac_cv_use_button
='wxUSE_BUTTON=no'
5303 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5304 if test "x$LINE" != x
; then
5305 eval "DEFAULT_$LINE"
5310 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5315 eval "$ac_cv_use_button"
5316 if test "$no_cache" != 1; then
5317 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5320 if test "$wxUSE_BUTTON" = yes; then
5321 echo "$ac_t""yes" 1>&6
5323 echo "$ac_t""no" 1>&6
5327 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5328 echo "configure:5329: checking for --enable-bmpbutton" >&5
5330 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5331 if test "${enable_bmpbutton+set}" = set; then
5332 enableval
="$enable_bmpbutton"
5334 if test "$enableval" = yes; then
5335 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5337 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5342 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5343 if test "x$LINE" != x
; then
5344 eval "DEFAULT_$LINE"
5349 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5354 eval "$ac_cv_use_bmpbutton"
5355 if test "$no_cache" != 1; then
5356 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5359 if test "$wxUSE_BMPBUTTON" = yes; then
5360 echo "$ac_t""yes" 1>&6
5362 echo "$ac_t""no" 1>&6
5366 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5367 echo "configure:5368: checking for --enable-calendar" >&5
5369 # Check whether --enable-calendar or --disable-calendar was given.
5370 if test "${enable_calendar+set}" = set; then
5371 enableval
="$enable_calendar"
5373 if test "$enableval" = yes; then
5374 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5376 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5381 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5382 if test "x$LINE" != x
; then
5383 eval "DEFAULT_$LINE"
5388 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5393 eval "$ac_cv_use_calendar"
5394 if test "$no_cache" != 1; then
5395 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5398 if test "$wxUSE_CALCTRL" = yes; then
5399 echo "$ac_t""yes" 1>&6
5401 echo "$ac_t""no" 1>&6
5405 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5406 echo "configure:5407: checking for --enable-caret" >&5
5408 # Check whether --enable-caret or --disable-caret was given.
5409 if test "${enable_caret+set}" = set; then
5410 enableval
="$enable_caret"
5412 if test "$enableval" = yes; then
5413 ac_cv_use_caret
='wxUSE_CARET=yes'
5415 ac_cv_use_caret
='wxUSE_CARET=no'
5420 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5421 if test "x$LINE" != x
; then
5422 eval "DEFAULT_$LINE"
5427 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5432 eval "$ac_cv_use_caret"
5433 if test "$no_cache" != 1; then
5434 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5437 if test "$wxUSE_CARET" = yes; then
5438 echo "$ac_t""yes" 1>&6
5440 echo "$ac_t""no" 1>&6
5444 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5445 echo "configure:5446: checking for --enable-checkbox" >&5
5447 # Check whether --enable-checkbox or --disable-checkbox was given.
5448 if test "${enable_checkbox+set}" = set; then
5449 enableval
="$enable_checkbox"
5451 if test "$enableval" = yes; then
5452 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5454 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5459 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5460 if test "x$LINE" != x
; then
5461 eval "DEFAULT_$LINE"
5466 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5471 eval "$ac_cv_use_checkbox"
5472 if test "$no_cache" != 1; then
5473 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5476 if test "$wxUSE_CHECKBOX" = yes; then
5477 echo "$ac_t""yes" 1>&6
5479 echo "$ac_t""no" 1>&6
5483 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5484 echo "configure:5485: checking for --enable-checklst" >&5
5486 # Check whether --enable-checklst or --disable-checklst was given.
5487 if test "${enable_checklst+set}" = set; then
5488 enableval
="$enable_checklst"
5490 if test "$enableval" = yes; then
5491 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5493 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5498 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5499 if test "x$LINE" != x
; then
5500 eval "DEFAULT_$LINE"
5505 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5510 eval "$ac_cv_use_checklst"
5511 if test "$no_cache" != 1; then
5512 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5515 if test "$wxUSE_CHECKLST" = yes; then
5516 echo "$ac_t""yes" 1>&6
5518 echo "$ac_t""no" 1>&6
5522 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5523 echo "configure:5524: checking for --enable-choice" >&5
5525 # Check whether --enable-choice or --disable-choice was given.
5526 if test "${enable_choice+set}" = set; then
5527 enableval
="$enable_choice"
5529 if test "$enableval" = yes; then
5530 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5532 ac_cv_use_choice
='wxUSE_CHOICE=no'
5537 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5538 if test "x$LINE" != x
; then
5539 eval "DEFAULT_$LINE"
5544 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5549 eval "$ac_cv_use_choice"
5550 if test "$no_cache" != 1; then
5551 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5554 if test "$wxUSE_CHOICE" = yes; then
5555 echo "$ac_t""yes" 1>&6
5557 echo "$ac_t""no" 1>&6
5561 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5562 echo "configure:5563: checking for --enable-combobox" >&5
5564 # Check whether --enable-combobox or --disable-combobox was given.
5565 if test "${enable_combobox+set}" = set; then
5566 enableval
="$enable_combobox"
5568 if test "$enableval" = yes; then
5569 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5571 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5576 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5577 if test "x$LINE" != x
; then
5578 eval "DEFAULT_$LINE"
5583 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5588 eval "$ac_cv_use_combobox"
5589 if test "$no_cache" != 1; then
5590 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5593 if test "$wxUSE_COMBOBOX" = yes; then
5594 echo "$ac_t""yes" 1>&6
5596 echo "$ac_t""no" 1>&6
5600 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5601 echo "configure:5602: checking for --enable-gauge" >&5
5603 # Check whether --enable-gauge or --disable-gauge was given.
5604 if test "${enable_gauge+set}" = set; then
5605 enableval
="$enable_gauge"
5607 if test "$enableval" = yes; then
5608 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5610 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5615 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5616 if test "x$LINE" != x
; then
5617 eval "DEFAULT_$LINE"
5622 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5627 eval "$ac_cv_use_gauge"
5628 if test "$no_cache" != 1; then
5629 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5632 if test "$wxUSE_GAUGE" = yes; then
5633 echo "$ac_t""yes" 1>&6
5635 echo "$ac_t""no" 1>&6
5639 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5640 echo "configure:5641: checking for --enable-grid" >&5
5642 # Check whether --enable-grid or --disable-grid was given.
5643 if test "${enable_grid+set}" = set; then
5644 enableval
="$enable_grid"
5646 if test "$enableval" = yes; then
5647 ac_cv_use_grid
='wxUSE_GRID=yes'
5649 ac_cv_use_grid
='wxUSE_GRID=no'
5654 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5655 if test "x$LINE" != x
; then
5656 eval "DEFAULT_$LINE"
5661 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5666 eval "$ac_cv_use_grid"
5667 if test "$no_cache" != 1; then
5668 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5671 if test "$wxUSE_GRID" = yes; then
5672 echo "$ac_t""yes" 1>&6
5674 echo "$ac_t""no" 1>&6
5678 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5679 echo "configure:5680: checking for --enable-newgrid" >&5
5681 # Check whether --enable-newgrid or --disable-newgrid was given.
5682 if test "${enable_newgrid+set}" = set; then
5683 enableval
="$enable_newgrid"
5685 if test "$enableval" = yes; then
5686 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5688 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5693 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5694 if test "x$LINE" != x
; then
5695 eval "DEFAULT_$LINE"
5700 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5705 eval "$ac_cv_use_newgrid"
5706 if test "$no_cache" != 1; then
5707 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5710 if test "$wxUSE_NEW_GRID" = yes; then
5711 echo "$ac_t""yes" 1>&6
5713 echo "$ac_t""no" 1>&6
5717 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5718 echo "configure:5719: checking for --enable-imaglist" >&5
5720 # Check whether --enable-imaglist or --disable-imaglist was given.
5721 if test "${enable_imaglist+set}" = set; then
5722 enableval
="$enable_imaglist"
5724 if test "$enableval" = yes; then
5725 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5727 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5732 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5733 if test "x$LINE" != x
; then
5734 eval "DEFAULT_$LINE"
5739 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5744 eval "$ac_cv_use_imaglist"
5745 if test "$no_cache" != 1; then
5746 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5749 if test "$wxUSE_IMAGLIST" = yes; then
5750 echo "$ac_t""yes" 1>&6
5752 echo "$ac_t""no" 1>&6
5756 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5757 echo "configure:5758: checking for --enable-listbox" >&5
5759 # Check whether --enable-listbox or --disable-listbox was given.
5760 if test "${enable_listbox+set}" = set; then
5761 enableval
="$enable_listbox"
5763 if test "$enableval" = yes; then
5764 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5766 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5771 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5772 if test "x$LINE" != x
; then
5773 eval "DEFAULT_$LINE"
5778 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5783 eval "$ac_cv_use_listbox"
5784 if test "$no_cache" != 1; then
5785 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5788 if test "$wxUSE_LISTBOX" = yes; then
5789 echo "$ac_t""yes" 1>&6
5791 echo "$ac_t""no" 1>&6
5795 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5796 echo "configure:5797: checking for --enable-listctrl" >&5
5798 # Check whether --enable-listctrl or --disable-listctrl was given.
5799 if test "${enable_listctrl+set}" = set; then
5800 enableval
="$enable_listctrl"
5802 if test "$enableval" = yes; then
5803 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5805 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5810 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5811 if test "x$LINE" != x
; then
5812 eval "DEFAULT_$LINE"
5817 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5822 eval "$ac_cv_use_listctrl"
5823 if test "$no_cache" != 1; then
5824 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5827 if test "$wxUSE_LISTCTRL" = yes; then
5828 echo "$ac_t""yes" 1>&6
5830 echo "$ac_t""no" 1>&6
5834 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5835 echo "configure:5836: checking for --enable-notebook" >&5
5837 # Check whether --enable-notebook or --disable-notebook was given.
5838 if test "${enable_notebook+set}" = set; then
5839 enableval
="$enable_notebook"
5841 if test "$enableval" = yes; then
5842 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5844 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5849 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5850 if test "x$LINE" != x
; then
5851 eval "DEFAULT_$LINE"
5856 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5861 eval "$ac_cv_use_notebook"
5862 if test "$no_cache" != 1; then
5863 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5866 if test "$wxUSE_NOTEBOOK" = yes; then
5867 echo "$ac_t""yes" 1>&6
5869 echo "$ac_t""no" 1>&6
5873 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5874 echo "configure:5875: checking for --enable-propsheet" >&5
5876 # Check whether --enable-propsheet or --disable-propsheet was given.
5877 if test "${enable_propsheet+set}" = set; then
5878 enableval
="$enable_propsheet"
5880 if test "$enableval" = yes; then
5881 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
5883 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
5888 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5889 if test "x$LINE" != x
; then
5890 eval "DEFAULT_$LINE"
5895 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5900 eval "$ac_cv_use_propsheet"
5901 if test "$no_cache" != 1; then
5902 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5905 if test "$wxUSE_PROPSHEET" = yes; then
5906 echo "$ac_t""yes" 1>&6
5908 echo "$ac_t""no" 1>&6
5912 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5913 echo "configure:5914: checking for --enable-radiobox" >&5
5915 # Check whether --enable-radiobox or --disable-radiobox was given.
5916 if test "${enable_radiobox+set}" = set; then
5917 enableval
="$enable_radiobox"
5919 if test "$enableval" = yes; then
5920 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5922 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5927 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5928 if test "x$LINE" != x
; then
5929 eval "DEFAULT_$LINE"
5934 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5939 eval "$ac_cv_use_radiobox"
5940 if test "$no_cache" != 1; then
5941 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5944 if test "$wxUSE_RADIOBOX" = yes; then
5945 echo "$ac_t""yes" 1>&6
5947 echo "$ac_t""no" 1>&6
5951 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5952 echo "configure:5953: checking for --enable-radiobtn" >&5
5954 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5955 if test "${enable_radiobtn+set}" = set; then
5956 enableval
="$enable_radiobtn"
5958 if test "$enableval" = yes; then
5959 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5961 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5966 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5967 if test "x$LINE" != x
; then
5968 eval "DEFAULT_$LINE"
5973 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5978 eval "$ac_cv_use_radiobtn"
5979 if test "$no_cache" != 1; then
5980 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5983 if test "$wxUSE_RADIOBTN" = yes; then
5984 echo "$ac_t""yes" 1>&6
5986 echo "$ac_t""no" 1>&6
5990 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5991 echo "configure:5992: checking for --enable-sash" >&5
5993 # Check whether --enable-sash or --disable-sash was given.
5994 if test "${enable_sash+set}" = set; then
5995 enableval
="$enable_sash"
5997 if test "$enableval" = yes; then
5998 ac_cv_use_sash
='wxUSE_SASH=yes'
6000 ac_cv_use_sash
='wxUSE_SASH=no'
6005 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6006 if test "x$LINE" != x
; then
6007 eval "DEFAULT_$LINE"
6012 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6017 eval "$ac_cv_use_sash"
6018 if test "$no_cache" != 1; then
6019 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6022 if test "$wxUSE_SASH" = yes; then
6023 echo "$ac_t""yes" 1>&6
6025 echo "$ac_t""no" 1>&6
6029 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6030 echo "configure:6031: checking for --enable-scrollbar" >&5
6032 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6033 if test "${enable_scrollbar+set}" = set; then
6034 enableval
="$enable_scrollbar"
6036 if test "$enableval" = yes; then
6037 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6039 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6044 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6045 if test "x$LINE" != x
; then
6046 eval "DEFAULT_$LINE"
6051 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6056 eval "$ac_cv_use_scrollbar"
6057 if test "$no_cache" != 1; then
6058 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6061 if test "$wxUSE_SCROLLBAR" = yes; then
6062 echo "$ac_t""yes" 1>&6
6064 echo "$ac_t""no" 1>&6
6068 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6069 echo "configure:6070: checking for --enable-slider" >&5
6071 # Check whether --enable-slider or --disable-slider was given.
6072 if test "${enable_slider+set}" = set; then
6073 enableval
="$enable_slider"
6075 if test "$enableval" = yes; then
6076 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6078 ac_cv_use_slider
='wxUSE_SLIDER=no'
6083 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6084 if test "x$LINE" != x
; then
6085 eval "DEFAULT_$LINE"
6090 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6095 eval "$ac_cv_use_slider"
6096 if test "$no_cache" != 1; then
6097 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6100 if test "$wxUSE_SLIDER" = yes; then
6101 echo "$ac_t""yes" 1>&6
6103 echo "$ac_t""no" 1>&6
6107 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6108 echo "configure:6109: checking for --enable-spinbtn" >&5
6110 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6111 if test "${enable_spinbtn+set}" = set; then
6112 enableval
="$enable_spinbtn"
6114 if test "$enableval" = yes; then
6115 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6117 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6122 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6123 if test "x$LINE" != x
; then
6124 eval "DEFAULT_$LINE"
6129 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6134 eval "$ac_cv_use_spinbtn"
6135 if test "$no_cache" != 1; then
6136 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6139 if test "$wxUSE_SPINBTN" = yes; then
6140 echo "$ac_t""yes" 1>&6
6142 echo "$ac_t""no" 1>&6
6146 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6147 echo "configure:6148: checking for --enable-spinctrl" >&5
6149 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6150 if test "${enable_spinctrl+set}" = set; then
6151 enableval
="$enable_spinctrl"
6153 if test "$enableval" = yes; then
6154 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6156 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6161 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6162 if test "x$LINE" != x
; then
6163 eval "DEFAULT_$LINE"
6168 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6173 eval "$ac_cv_use_spinctrl"
6174 if test "$no_cache" != 1; then
6175 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6178 if test "$wxUSE_SPINCTRL" = yes; then
6179 echo "$ac_t""yes" 1>&6
6181 echo "$ac_t""no" 1>&6
6185 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6186 echo "configure:6187: checking for --enable-splitter" >&5
6188 # Check whether --enable-splitter or --disable-splitter was given.
6189 if test "${enable_splitter+set}" = set; then
6190 enableval
="$enable_splitter"
6192 if test "$enableval" = yes; then
6193 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6195 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6200 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6201 if test "x$LINE" != x
; then
6202 eval "DEFAULT_$LINE"
6207 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6212 eval "$ac_cv_use_splitter"
6213 if test "$no_cache" != 1; then
6214 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6217 if test "$wxUSE_SPLITTER" = yes; then
6218 echo "$ac_t""yes" 1>&6
6220 echo "$ac_t""no" 1>&6
6224 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6225 echo "configure:6226: checking for --enable-statbmp" >&5
6227 # Check whether --enable-statbmp or --disable-statbmp was given.
6228 if test "${enable_statbmp+set}" = set; then
6229 enableval
="$enable_statbmp"
6231 if test "$enableval" = yes; then
6232 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6234 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6239 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6240 if test "x$LINE" != x
; then
6241 eval "DEFAULT_$LINE"
6246 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6251 eval "$ac_cv_use_statbmp"
6252 if test "$no_cache" != 1; then
6253 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6256 if test "$wxUSE_STATBMP" = yes; then
6257 echo "$ac_t""yes" 1>&6
6259 echo "$ac_t""no" 1>&6
6263 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6264 echo "configure:6265: checking for --enable-statbox" >&5
6266 # Check whether --enable-statbox or --disable-statbox was given.
6267 if test "${enable_statbox+set}" = set; then
6268 enableval
="$enable_statbox"
6270 if test "$enableval" = yes; then
6271 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6273 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6278 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6279 if test "x$LINE" != x
; then
6280 eval "DEFAULT_$LINE"
6285 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6290 eval "$ac_cv_use_statbox"
6291 if test "$no_cache" != 1; then
6292 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6295 if test "$wxUSE_STATBOX" = yes; then
6296 echo "$ac_t""yes" 1>&6
6298 echo "$ac_t""no" 1>&6
6302 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6303 echo "configure:6304: checking for --enable-statline" >&5
6305 # Check whether --enable-statline or --disable-statline was given.
6306 if test "${enable_statline+set}" = set; then
6307 enableval
="$enable_statline"
6309 if test "$enableval" = yes; then
6310 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6312 ac_cv_use_statline
='wxUSE_STATLINE=no'
6317 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6318 if test "x$LINE" != x
; then
6319 eval "DEFAULT_$LINE"
6324 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6329 eval "$ac_cv_use_statline"
6330 if test "$no_cache" != 1; then
6331 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6334 if test "$wxUSE_STATLINE" = yes; then
6335 echo "$ac_t""yes" 1>&6
6337 echo "$ac_t""no" 1>&6
6341 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6342 echo "configure:6343: checking for --enable-stattext" >&5
6344 # Check whether --enable-stattext or --disable-stattext was given.
6345 if test "${enable_stattext+set}" = set; then
6346 enableval
="$enable_stattext"
6348 if test "$enableval" = yes; then
6349 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6351 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6356 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6357 if test "x$LINE" != x
; then
6358 eval "DEFAULT_$LINE"
6363 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6368 eval "$ac_cv_use_stattext"
6369 if test "$no_cache" != 1; then
6370 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6373 if test "$wxUSE_STATTEXT" = yes; then
6374 echo "$ac_t""yes" 1>&6
6376 echo "$ac_t""no" 1>&6
6380 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6381 echo "configure:6382: checking for --enable-statusbar" >&5
6383 # Check whether --enable-statusbar or --disable-statusbar was given.
6384 if test "${enable_statusbar+set}" = set; then
6385 enableval
="$enable_statusbar"
6387 if test "$enableval" = yes; then
6388 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6390 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6395 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6396 if test "x$LINE" != x
; then
6397 eval "DEFAULT_$LINE"
6402 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6407 eval "$ac_cv_use_statusbar"
6408 if test "$no_cache" != 1; then
6409 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6412 if test "$wxUSE_STATUSBAR" = yes; then
6413 echo "$ac_t""yes" 1>&6
6415 echo "$ac_t""no" 1>&6
6419 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6420 echo "configure:6421: checking for --enable-tabdialog" >&5
6422 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6423 if test "${enable_tabdialog+set}" = set; then
6424 enableval
="$enable_tabdialog"
6426 if test "$enableval" = yes; then
6427 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6429 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6434 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6435 if test "x$LINE" != x
; then
6436 eval "DEFAULT_$LINE"
6441 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6446 eval "$ac_cv_use_tabdialog"
6447 if test "$no_cache" != 1; then
6448 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6451 if test "$wxUSE_TABDIALOG" = yes; then
6452 echo "$ac_t""yes" 1>&6
6454 echo "$ac_t""no" 1>&6
6458 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6459 echo "configure:6460: checking for --enable-textctrl" >&5
6461 # Check whether --enable-textctrl or --disable-textctrl was given.
6462 if test "${enable_textctrl+set}" = set; then
6463 enableval
="$enable_textctrl"
6465 if test "$enableval" = yes; then
6466 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6468 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6473 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6474 if test "x$LINE" != x
; then
6475 eval "DEFAULT_$LINE"
6480 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6485 eval "$ac_cv_use_textctrl"
6486 if test "$no_cache" != 1; then
6487 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6490 if test "$wxUSE_TEXTCTRL" = yes; then
6491 echo "$ac_t""yes" 1>&6
6493 echo "$ac_t""no" 1>&6
6497 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6498 echo "configure:6499: checking for --enable-togglebtn" >&5
6500 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6501 if test "${enable_togglebtn+set}" = set; then
6502 enableval
="$enable_togglebtn"
6504 if test "$enableval" = yes; then
6505 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6507 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6512 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6513 if test "x$LINE" != x
; then
6514 eval "DEFAULT_$LINE"
6519 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6524 eval "$ac_cv_use_togglebtn"
6525 if test "$no_cache" != 1; then
6526 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6529 if test "$wxUSE_TOGGLEBTN" = yes; then
6530 echo "$ac_t""yes" 1>&6
6532 echo "$ac_t""no" 1>&6
6536 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6537 echo "configure:6538: checking for --enable-toolbar" >&5
6539 # Check whether --enable-toolbar or --disable-toolbar was given.
6540 if test "${enable_toolbar+set}" = set; then
6541 enableval
="$enable_toolbar"
6543 if test "$enableval" = yes; then
6544 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6546 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6551 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6552 if test "x$LINE" != x
; then
6553 eval "DEFAULT_$LINE"
6558 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6563 eval "$ac_cv_use_toolbar"
6564 if test "$no_cache" != 1; then
6565 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6568 if test "$wxUSE_TOOLBAR" = yes; then
6569 echo "$ac_t""yes" 1>&6
6571 echo "$ac_t""no" 1>&6
6575 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6576 echo "configure:6577: checking for --enable-tbarnative" >&5
6578 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6579 if test "${enable_tbarnative+set}" = set; then
6580 enableval
="$enable_tbarnative"
6582 if test "$enableval" = yes; then
6583 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6585 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6590 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6591 if test "x$LINE" != x
; then
6592 eval "DEFAULT_$LINE"
6597 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6602 eval "$ac_cv_use_tbarnative"
6603 if test "$no_cache" != 1; then
6604 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6607 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6608 echo "$ac_t""yes" 1>&6
6610 echo "$ac_t""no" 1>&6
6614 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6615 echo "configure:6616: checking for --enable-tbarsmpl" >&5
6617 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6618 if test "${enable_tbarsmpl+set}" = set; then
6619 enableval
="$enable_tbarsmpl"
6621 if test "$enableval" = yes; then
6622 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6624 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6629 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6630 if test "x$LINE" != x
; then
6631 eval "DEFAULT_$LINE"
6636 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6641 eval "$ac_cv_use_tbarsmpl"
6642 if test "$no_cache" != 1; then
6643 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6646 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6647 echo "$ac_t""yes" 1>&6
6649 echo "$ac_t""no" 1>&6
6653 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6654 echo "configure:6655: checking for --enable-treectrl" >&5
6656 # Check whether --enable-treectrl or --disable-treectrl was given.
6657 if test "${enable_treectrl+set}" = set; then
6658 enableval
="$enable_treectrl"
6660 if test "$enableval" = yes; then
6661 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6663 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6668 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6669 if test "x$LINE" != x
; then
6670 eval "DEFAULT_$LINE"
6675 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6680 eval "$ac_cv_use_treectrl"
6681 if test "$no_cache" != 1; then
6682 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6685 if test "$wxUSE_TREECTRL" = yes; then
6686 echo "$ac_t""yes" 1>&6
6688 echo "$ac_t""no" 1>&6
6692 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
6693 echo "configure:6694: checking for --enable-tipwindow" >&5
6695 # Check whether --enable-tipwindow or --disable-tipwindow was given.
6696 if test "${enable_tipwindow+set}" = set; then
6697 enableval
="$enable_tipwindow"
6699 if test "$enableval" = yes; then
6700 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
6702 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
6707 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
6708 if test "x$LINE" != x
; then
6709 eval "DEFAULT_$LINE"
6714 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
6719 eval "$ac_cv_use_tipwindow"
6720 if test "$no_cache" != 1; then
6721 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
6724 if test "$wxUSE_TIPWINDOW" = yes; then
6725 echo "$ac_t""yes" 1>&6
6727 echo "$ac_t""no" 1>&6
6731 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6732 echo "configure:6733: checking for --enable-popupwin" >&5
6734 # Check whether --enable-popupwin or --disable-popupwin was given.
6735 if test "${enable_popupwin+set}" = set; then
6736 enableval
="$enable_popupwin"
6738 if test "$enableval" = yes; then
6739 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6741 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6746 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6747 if test "x$LINE" != x
; then
6748 eval "DEFAULT_$LINE"
6753 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6758 eval "$ac_cv_use_popupwin"
6759 if test "$no_cache" != 1; then
6760 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6763 if test "$wxUSE_POPUPWIN" = yes; then
6764 echo "$ac_t""yes" 1>&6
6766 echo "$ac_t""no" 1>&6
6772 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6773 echo "configure:6774: checking for --enable-commondlg" >&5
6775 # Check whether --enable-commondlg or --disable-commondlg was given.
6776 if test "${enable_commondlg+set}" = set; then
6777 enableval
="$enable_commondlg"
6779 if test "$enableval" = yes; then
6780 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6782 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6787 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6788 if test "x$LINE" != x
; then
6789 eval "DEFAULT_$LINE"
6794 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6799 eval "$ac_cv_use_commondlg"
6800 if test "$no_cache" != 1; then
6801 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6804 if test "$wxUSE_COMMONDLGS" = yes; then
6805 echo "$ac_t""yes" 1>&6
6807 echo "$ac_t""no" 1>&6
6811 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6812 echo "configure:6813: checking for --enable-choicedlg" >&5
6814 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6815 if test "${enable_choicedlg+set}" = set; then
6816 enableval
="$enable_choicedlg"
6818 if test "$enableval" = yes; then
6819 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6821 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6826 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6827 if test "x$LINE" != x
; then
6828 eval "DEFAULT_$LINE"
6833 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6838 eval "$ac_cv_use_choicedlg"
6839 if test "$no_cache" != 1; then
6840 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6843 if test "$wxUSE_CHOICEDLG" = yes; then
6844 echo "$ac_t""yes" 1>&6
6846 echo "$ac_t""no" 1>&6
6850 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6851 echo "configure:6852: checking for --enable-coldlg" >&5
6853 # Check whether --enable-coldlg or --disable-coldlg was given.
6854 if test "${enable_coldlg+set}" = set; then
6855 enableval
="$enable_coldlg"
6857 if test "$enableval" = yes; then
6858 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6860 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6865 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6866 if test "x$LINE" != x
; then
6867 eval "DEFAULT_$LINE"
6872 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6877 eval "$ac_cv_use_coldlg"
6878 if test "$no_cache" != 1; then
6879 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6882 if test "$wxUSE_COLOURDLG" = yes; then
6883 echo "$ac_t""yes" 1>&6
6885 echo "$ac_t""no" 1>&6
6889 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6890 echo "configure:6891: checking for --enable-filedlg" >&5
6892 # Check whether --enable-filedlg or --disable-filedlg was given.
6893 if test "${enable_filedlg+set}" = set; then
6894 enableval
="$enable_filedlg"
6896 if test "$enableval" = yes; then
6897 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6899 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6904 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6905 if test "x$LINE" != x
; then
6906 eval "DEFAULT_$LINE"
6911 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6916 eval "$ac_cv_use_filedlg"
6917 if test "$no_cache" != 1; then
6918 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6921 if test "$wxUSE_FILEDLG" = yes; then
6922 echo "$ac_t""yes" 1>&6
6924 echo "$ac_t""no" 1>&6
6928 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
6929 echo "configure:6930: checking for --enable-finddlg" >&5
6931 # Check whether --enable-finddlg or --disable-finddlg was given.
6932 if test "${enable_finddlg+set}" = set; then
6933 enableval
="$enable_finddlg"
6935 if test "$enableval" = yes; then
6936 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
6938 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
6943 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6944 if test "x$LINE" != x
; then
6945 eval "DEFAULT_$LINE"
6950 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6955 eval "$ac_cv_use_finddlg"
6956 if test "$no_cache" != 1; then
6957 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
6960 if test "$wxUSE_FINDREPLDLG" = yes; then
6961 echo "$ac_t""yes" 1>&6
6963 echo "$ac_t""no" 1>&6
6967 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6968 echo "configure:6969: checking for --enable-fontdlg" >&5
6970 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6971 if test "${enable_fontdlg+set}" = set; then
6972 enableval
="$enable_fontdlg"
6974 if test "$enableval" = yes; then
6975 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6977 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6982 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6983 if test "x$LINE" != x
; then
6984 eval "DEFAULT_$LINE"
6989 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6994 eval "$ac_cv_use_fontdlg"
6995 if test "$no_cache" != 1; then
6996 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6999 if test "$wxUSE_FONTDLG" = yes; then
7000 echo "$ac_t""yes" 1>&6
7002 echo "$ac_t""no" 1>&6
7006 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7007 echo "configure:7008: checking for --enable-dirdlg" >&5
7009 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7010 if test "${enable_dirdlg+set}" = set; then
7011 enableval
="$enable_dirdlg"
7013 if test "$enableval" = yes; then
7014 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7016 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7021 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7022 if test "x$LINE" != x
; then
7023 eval "DEFAULT_$LINE"
7028 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7033 eval "$ac_cv_use_dirdlg"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7038 if test "$wxUSE_DIRDLG" = yes; then
7039 echo "$ac_t""yes" 1>&6
7041 echo "$ac_t""no" 1>&6
7045 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7046 echo "configure:7047: checking for --enable-msgdlg" >&5
7048 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7049 if test "${enable_msgdlg+set}" = set; then
7050 enableval
="$enable_msgdlg"
7052 if test "$enableval" = yes; then
7053 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7055 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7060 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7061 if test "x$LINE" != x
; then
7062 eval "DEFAULT_$LINE"
7067 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7072 eval "$ac_cv_use_msgdlg"
7073 if test "$no_cache" != 1; then
7074 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7077 if test "$wxUSE_MSGDLG" = yes; then
7078 echo "$ac_t""yes" 1>&6
7080 echo "$ac_t""no" 1>&6
7084 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7085 echo "configure:7086: checking for --enable-numberdlg" >&5
7087 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7088 if test "${enable_numberdlg+set}" = set; then
7089 enableval
="$enable_numberdlg"
7091 if test "$enableval" = yes; then
7092 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7094 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7099 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7100 if test "x$LINE" != x
; then
7101 eval "DEFAULT_$LINE"
7106 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7111 eval "$ac_cv_use_numberdlg"
7112 if test "$no_cache" != 1; then
7113 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7116 if test "$wxUSE_NUMBERDLG" = yes; then
7117 echo "$ac_t""yes" 1>&6
7119 echo "$ac_t""no" 1>&6
7123 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7124 echo "configure:7125: checking for --enable-splash" >&5
7126 # Check whether --enable-splash or --disable-splash was given.
7127 if test "${enable_splash+set}" = set; then
7128 enableval
="$enable_splash"
7130 if test "$enableval" = yes; then
7131 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7133 ac_cv_use_splash
='wxUSE_SPLASH=no'
7138 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7139 if test "x$LINE" != x
; then
7140 eval "DEFAULT_$LINE"
7145 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7150 eval "$ac_cv_use_splash"
7151 if test "$no_cache" != 1; then
7152 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7155 if test "$wxUSE_SPLASH" = yes; then
7156 echo "$ac_t""yes" 1>&6
7158 echo "$ac_t""no" 1>&6
7162 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7163 echo "configure:7164: checking for --enable-textdlg" >&5
7165 # Check whether --enable-textdlg or --disable-textdlg was given.
7166 if test "${enable_textdlg+set}" = set; then
7167 enableval
="$enable_textdlg"
7169 if test "$enableval" = yes; then
7170 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7172 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7177 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7178 if test "x$LINE" != x
; then
7179 eval "DEFAULT_$LINE"
7184 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7189 eval "$ac_cv_use_textdlg"
7190 if test "$no_cache" != 1; then
7191 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7194 if test "$wxUSE_TEXTDLG" = yes; then
7195 echo "$ac_t""yes" 1>&6
7197 echo "$ac_t""no" 1>&6
7201 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7202 echo "configure:7203: checking for --enable-tipdlg" >&5
7204 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7205 if test "${enable_tipdlg+set}" = set; then
7206 enableval
="$enable_tipdlg"
7208 if test "$enableval" = yes; then
7209 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7211 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7216 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7217 if test "x$LINE" != x
; then
7218 eval "DEFAULT_$LINE"
7223 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7228 eval "$ac_cv_use_tipdlg"
7229 if test "$no_cache" != 1; then
7230 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7233 if test "$wxUSE_STARTUP_TIPS" = yes; then
7234 echo "$ac_t""yes" 1>&6
7236 echo "$ac_t""no" 1>&6
7240 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7241 echo "configure:7242: checking for --enable-progressdlg" >&5
7243 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7244 if test "${enable_progressdlg+set}" = set; then
7245 enableval
="$enable_progressdlg"
7247 if test "$enableval" = yes; then
7248 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7250 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7255 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7256 if test "x$LINE" != x
; then
7257 eval "DEFAULT_$LINE"
7262 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7267 eval "$ac_cv_use_progressdlg"
7268 if test "$no_cache" != 1; then
7269 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7272 if test "$wxUSE_PROGRESSDLG" = yes; then
7273 echo "$ac_t""yes" 1>&6
7275 echo "$ac_t""no" 1>&6
7279 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7280 echo "configure:7281: checking for --enable-wizarddlg" >&5
7282 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7283 if test "${enable_wizarddlg+set}" = set; then
7284 enableval
="$enable_wizarddlg"
7286 if test "$enableval" = yes; then
7287 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7289 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7294 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7295 if test "x$LINE" != x
; then
7296 eval "DEFAULT_$LINE"
7301 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7306 eval "$ac_cv_use_wizarddlg"
7307 if test "$no_cache" != 1; then
7308 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7311 if test "$wxUSE_WIZARDDLG" = yes; then
7312 echo "$ac_t""yes" 1>&6
7314 echo "$ac_t""no" 1>&6
7320 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7321 echo "configure:7322: checking for --enable-menus" >&5
7323 # Check whether --enable-menus or --disable-menus was given.
7324 if test "${enable_menus+set}" = set; then
7325 enableval
="$enable_menus"
7327 if test "$enableval" = yes; then
7328 ac_cv_use_menus
='wxUSE_MENUS=yes'
7330 ac_cv_use_menus
='wxUSE_MENUS=no'
7335 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7336 if test "x$LINE" != x
; then
7337 eval "DEFAULT_$LINE"
7342 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7347 eval "$ac_cv_use_menus"
7348 if test "$no_cache" != 1; then
7349 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7352 if test "$wxUSE_MENUS" = yes; then
7353 echo "$ac_t""yes" 1>&6
7355 echo "$ac_t""no" 1>&6
7359 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7360 echo "configure:7361: checking for --enable-miniframe" >&5
7362 # Check whether --enable-miniframe or --disable-miniframe was given.
7363 if test "${enable_miniframe+set}" = set; then
7364 enableval
="$enable_miniframe"
7366 if test "$enableval" = yes; then
7367 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7369 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7374 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7375 if test "x$LINE" != x
; then
7376 eval "DEFAULT_$LINE"
7381 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7386 eval "$ac_cv_use_miniframe"
7387 if test "$no_cache" != 1; then
7388 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7391 if test "$wxUSE_MINIFRAME" = yes; then
7392 echo "$ac_t""yes" 1>&6
7394 echo "$ac_t""no" 1>&6
7398 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7399 echo "configure:7400: checking for --enable-tooltips" >&5
7401 # Check whether --enable-tooltips or --disable-tooltips was given.
7402 if test "${enable_tooltips+set}" = set; then
7403 enableval
="$enable_tooltips"
7405 if test "$enableval" = yes; then
7406 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7408 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7413 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7414 if test "x$LINE" != x
; then
7415 eval "DEFAULT_$LINE"
7420 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7425 eval "$ac_cv_use_tooltips"
7426 if test "$no_cache" != 1; then
7427 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7430 if test "$wxUSE_TOOLTIPS" = yes; then
7431 echo "$ac_t""yes" 1>&6
7433 echo "$ac_t""no" 1>&6
7437 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7438 echo "configure:7439: checking for --enable-splines" >&5
7440 # Check whether --enable-splines or --disable-splines was given.
7441 if test "${enable_splines+set}" = set; then
7442 enableval
="$enable_splines"
7444 if test "$enableval" = yes; then
7445 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7447 ac_cv_use_splines
='wxUSE_SPLINES=no'
7452 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7453 if test "x$LINE" != x
; then
7454 eval "DEFAULT_$LINE"
7459 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7464 eval "$ac_cv_use_splines"
7465 if test "$no_cache" != 1; then
7466 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7469 if test "$wxUSE_SPLINES" = yes; then
7470 echo "$ac_t""yes" 1>&6
7472 echo "$ac_t""no" 1>&6
7476 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7477 echo "configure:7478: checking for --enable-validators" >&5
7479 # Check whether --enable-validators or --disable-validators was given.
7480 if test "${enable_validators+set}" = set; then
7481 enableval
="$enable_validators"
7483 if test "$enableval" = yes; then
7484 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7486 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7491 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7492 if test "x$LINE" != x
; then
7493 eval "DEFAULT_$LINE"
7498 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7503 eval "$ac_cv_use_validators"
7504 if test "$no_cache" != 1; then
7505 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7508 if test "$wxUSE_VALIDATORS" = yes; then
7509 echo "$ac_t""yes" 1>&6
7511 echo "$ac_t""no" 1>&6
7515 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7516 echo "configure:7517: checking for --enable-busyinfo" >&5
7518 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7519 if test "${enable_busyinfo+set}" = set; then
7520 enableval
="$enable_busyinfo"
7522 if test "$enableval" = yes; then
7523 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7525 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7530 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7531 if test "x$LINE" != x
; then
7532 eval "DEFAULT_$LINE"
7537 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7542 eval "$ac_cv_use_busyinfo"
7543 if test "$no_cache" != 1; then
7544 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7547 if test "$wxUSE_BUSYINFO" = yes; then
7548 echo "$ac_t""yes" 1>&6
7550 echo "$ac_t""no" 1>&6
7554 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7555 echo "configure:7556: checking for --enable-joystick" >&5
7557 # Check whether --enable-joystick or --disable-joystick was given.
7558 if test "${enable_joystick+set}" = set; then
7559 enableval
="$enable_joystick"
7561 if test "$enableval" = yes; then
7562 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7564 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7569 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7570 if test "x$LINE" != x
; then
7571 eval "DEFAULT_$LINE"
7576 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7581 eval "$ac_cv_use_joystick"
7582 if test "$no_cache" != 1; then
7583 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7586 if test "$wxUSE_JOYSTICK" = yes; then
7587 echo "$ac_t""yes" 1>&6
7589 echo "$ac_t""no" 1>&6
7593 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7594 echo "configure:7595: checking for --enable-metafile" >&5
7596 # Check whether --enable-metafile or --disable-metafile was given.
7597 if test "${enable_metafile+set}" = set; then
7598 enableval
="$enable_metafile"
7600 if test "$enableval" = yes; then
7601 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7603 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7608 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7609 if test "x$LINE" != x
; then
7610 eval "DEFAULT_$LINE"
7615 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7620 eval "$ac_cv_use_metafile"
7621 if test "$no_cache" != 1; then
7622 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7625 if test "$wxUSE_METAFILE" = yes; then
7626 echo "$ac_t""yes" 1>&6
7628 echo "$ac_t""no" 1>&6
7632 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7633 echo "configure:7634: checking for --enable-dragimage" >&5
7635 # Check whether --enable-dragimage or --disable-dragimage was given.
7636 if test "${enable_dragimage+set}" = set; then
7637 enableval
="$enable_dragimage"
7639 if test "$enableval" = yes; then
7640 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7642 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7647 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7648 if test "x$LINE" != x
; then
7649 eval "DEFAULT_$LINE"
7654 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7659 eval "$ac_cv_use_dragimage"
7660 if test "$no_cache" != 1; then
7661 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7664 if test "$wxUSE_DRAGIMAGE" = yes; then
7665 echo "$ac_t""yes" 1>&6
7667 echo "$ac_t""no" 1>&6
7673 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
7674 echo "configure:7675: checking for --enable-palette" >&5
7676 # Check whether --enable-palette or --disable-palette was given.
7677 if test "${enable_palette+set}" = set; then
7678 enableval
="$enable_palette"
7680 if test "$enableval" = yes; then
7681 ac_cv_use_palette
='wxUSE_PALETTE=yes'
7683 ac_cv_use_palette
='wxUSE_PALETTE=no'
7688 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
7689 if test "x$LINE" != x
; then
7690 eval "DEFAULT_$LINE"
7695 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
7700 eval "$ac_cv_use_palette"
7701 if test "$no_cache" != 1; then
7702 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
7705 if test "$wxUSE_PALETTE" = yes; then
7706 echo "$ac_t""yes" 1>&6
7708 echo "$ac_t""no" 1>&6
7712 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7713 echo "configure:7714: checking for --enable-image" >&5
7715 # Check whether --enable-image or --disable-image was given.
7716 if test "${enable_image+set}" = set; then
7717 enableval
="$enable_image"
7719 if test "$enableval" = yes; then
7720 ac_cv_use_image
='wxUSE_IMAGE=yes'
7722 ac_cv_use_image
='wxUSE_IMAGE=no'
7727 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7728 if test "x$LINE" != x
; then
7729 eval "DEFAULT_$LINE"
7734 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7739 eval "$ac_cv_use_image"
7740 if test "$no_cache" != 1; then
7741 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7744 if test "$wxUSE_IMAGE" = yes; then
7745 echo "$ac_t""yes" 1>&6
7747 echo "$ac_t""no" 1>&6
7751 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7752 echo "configure:7753: checking for --enable-gif" >&5
7754 # Check whether --enable-gif or --disable-gif was given.
7755 if test "${enable_gif+set}" = set; then
7756 enableval
="$enable_gif"
7758 if test "$enableval" = yes; then
7759 ac_cv_use_gif
='wxUSE_GIF=yes'
7761 ac_cv_use_gif
='wxUSE_GIF=no'
7766 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7767 if test "x$LINE" != x
; then
7768 eval "DEFAULT_$LINE"
7773 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7778 eval "$ac_cv_use_gif"
7779 if test "$no_cache" != 1; then
7780 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7783 if test "$wxUSE_GIF" = yes; then
7784 echo "$ac_t""yes" 1>&6
7786 echo "$ac_t""no" 1>&6
7790 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7791 echo "configure:7792: checking for --enable-pcx" >&5
7793 # Check whether --enable-pcx or --disable-pcx was given.
7794 if test "${enable_pcx+set}" = set; then
7795 enableval
="$enable_pcx"
7797 if test "$enableval" = yes; then
7798 ac_cv_use_pcx
='wxUSE_PCX=yes'
7800 ac_cv_use_pcx
='wxUSE_PCX=no'
7805 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7806 if test "x$LINE" != x
; then
7807 eval "DEFAULT_$LINE"
7812 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7817 eval "$ac_cv_use_pcx"
7818 if test "$no_cache" != 1; then
7819 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7822 if test "$wxUSE_PCX" = yes; then
7823 echo "$ac_t""yes" 1>&6
7825 echo "$ac_t""no" 1>&6
7829 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7830 echo "configure:7831: checking for --enable-pnm" >&5
7832 # Check whether --enable-pnm or --disable-pnm was given.
7833 if test "${enable_pnm+set}" = set; then
7834 enableval
="$enable_pnm"
7836 if test "$enableval" = yes; then
7837 ac_cv_use_pnm
='wxUSE_PNM=yes'
7839 ac_cv_use_pnm
='wxUSE_PNM=no'
7844 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7845 if test "x$LINE" != x
; then
7846 eval "DEFAULT_$LINE"
7851 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7856 eval "$ac_cv_use_pnm"
7857 if test "$no_cache" != 1; then
7858 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7861 if test "$wxUSE_PNM" = yes; then
7862 echo "$ac_t""yes" 1>&6
7864 echo "$ac_t""no" 1>&6
7868 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
7869 echo "configure:7870: checking for --enable-xpm" >&5
7871 # Check whether --enable-xpm or --disable-xpm was given.
7872 if test "${enable_xpm+set}" = set; then
7873 enableval
="$enable_xpm"
7875 if test "$enableval" = yes; then
7876 ac_cv_use_xpm
='wxUSE_XPM=yes'
7878 ac_cv_use_xpm
='wxUSE_XPM=no'
7883 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7884 if test "x$LINE" != x
; then
7885 eval "DEFAULT_$LINE"
7890 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7895 eval "$ac_cv_use_xpm"
7896 if test "$no_cache" != 1; then
7897 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
7900 if test "$wxUSE_XPM" = yes; then
7901 echo "$ac_t""yes" 1>&6
7903 echo "$ac_t""no" 1>&6
7910 echo "saving argument cache $wx_arg_cache_file"
7911 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7915 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7916 echo "configure:7917: checking for toolkit" >&5
7918 if test "$wxUSE_GUI" = "yes"; then
7920 if test "$USE_BEOS" = 1; then
7921 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7924 if test "$TOOLKIT_GIVEN" = 1; then
7925 for toolkit
in `echo $ALL_TOOLKITS`; do
7927 eval "value=\$${var}"
7928 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7931 for toolkit
in `echo $ALL_TOOLKITS`; do
7932 if test "$has_toolkit_in_cache" != 1; then
7933 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7935 var
=DEFAULT_wxUSE_
$toolkit
7937 eval "wxUSE_$toolkit=\$${var}"
7941 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
7942 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0}`
7945 *-pc-os2_emx | *-pc-os2-emx )
7946 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7947 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7956 case "$NUM_TOOLKITS" in
7960 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7963 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7966 for toolkit
in `echo $ALL_TOOLKITS`; do
7968 eval "value=\$${var}"
7969 if test "x$value" != x
; then
7970 cache_var
=CACHE_
$toolkit
7971 eval "cache=\$${cache_var}"
7972 if test "$cache" = 1; then
7973 echo "$var=$value" >> ${wx_arg_cache_file}
7975 if test "$value" = 1; then
7976 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7977 echo "$ac_t""$toolkit_echo" 1>&6
7983 echo "$ac_t""base ($host_alias hosted) only" 1>&6
7987 cat > confcache
<<\EOF
7988 # This file is a shell script that caches the results of configure
7989 # tests run on this system so they can be shared between configure
7990 # scripts and configure runs. It is not useful on other systems.
7991 # If it contains results you don't want to keep, you may remove or edit it.
7993 # By default, configure uses ./config.cache as the cache file,
7994 # creating it if it does not exist already. You can give configure
7995 # the --cache-file=FILE option to use a different cache file; that is
7996 # what configure does when it calls configure scripts in
7997 # subdirectories, so they share the cache.
7998 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7999 # config.status only pays attention to the cache file if you give it the
8000 # --recheck option to rerun configure.
8003 # The following way of writing the cache mishandles newlines in values,
8004 # but we know of no workaround that is simple, portable, and efficient.
8005 # So, don't put newlines in cache variables' values.
8006 # Ultrix sh set writes to stderr and can't be redirected directly,
8007 # and sets the high bit in the cache file unless we assign to the vars.
8009 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8011 # `set' does not quote correctly, so add quotes (double-quote substitution
8012 # turns \\\\ into \\, and sed turns \\ into \).
8014 -e "s/'/'\\\\''/g" \
8015 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8018 # `set' quotes correctly as required by POSIX, so do not add quotes.
8019 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8022 if cmp -s $cache_file confcache
; then
8025 if test -w $cache_file; then
8026 echo "updating cache $cache_file"
8027 cat confcache
> $cache_file
8029 echo "not updating unwritable cache $cache_file"
8035 if test "$build" != "$host" ; then
8036 if test "$USE_WIN32" = 1 ; then
8040 RANLIB
=$host_alias-ranlib
8041 DLLTOOL
=$host_alias-dlltool
8042 RESCOMP
=$host_alias-windres
8045 STRIP
=$host_alias-strip
8047 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8051 # Extract the first word of "gcc", so it can be a program name with args.
8052 set dummy gcc
; ac_word
=$2
8053 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8054 echo "configure:8055: checking for $ac_word" >&5
8055 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8056 echo $ac_n "(cached) $ac_c" 1>&6
8058 if test -n "$CC"; then
8059 ac_cv_prog_CC
="$CC" # Let the user override the test.
8061 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8063 for ac_dir
in $ac_dummy; do
8064 test -z "$ac_dir" && ac_dir
=.
8065 if test -f $ac_dir/$ac_word; then
8074 if test -n "$CC"; then
8075 echo "$ac_t""$CC" 1>&6
8077 echo "$ac_t""no" 1>&6
8080 if test -z "$CC"; then
8081 # Extract the first word of "cc", so it can be a program name with args.
8082 set dummy cc
; ac_word
=$2
8083 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8084 echo "configure:8085: checking for $ac_word" >&5
8085 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8086 echo $ac_n "(cached) $ac_c" 1>&6
8088 if test -n "$CC"; then
8089 ac_cv_prog_CC
="$CC" # Let the user override the test.
8091 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8094 for ac_dir
in $ac_dummy; do
8095 test -z "$ac_dir" && ac_dir
=.
8096 if test -f $ac_dir/$ac_word; then
8097 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8098 ac_prog_rejected
=yes
8106 if test $ac_prog_rejected = yes; then
8107 # We found a bogon in the path, so make sure we never use it.
8108 set dummy
$ac_cv_prog_CC
8110 if test $# -gt 0; then
8111 # We chose a different compiler from the bogus one.
8112 # However, it has the same basename, so the bogon will be chosen
8113 # first if we set CC to just the basename; use the full file name.
8115 set dummy
"$ac_dir/$ac_word" "$@"
8123 if test -n "$CC"; then
8124 echo "$ac_t""$CC" 1>&6
8126 echo "$ac_t""no" 1>&6
8129 if test -z "$CC"; then
8130 case "`uname -s`" in
8132 # Extract the first word of "cl", so it can be a program name with args.
8133 set dummy cl
; ac_word
=$2
8134 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8135 echo "configure:8136: checking for $ac_word" >&5
8136 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8137 echo $ac_n "(cached) $ac_c" 1>&6
8139 if test -n "$CC"; then
8140 ac_cv_prog_CC
="$CC" # Let the user override the test.
8142 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8144 for ac_dir
in $ac_dummy; do
8145 test -z "$ac_dir" && ac_dir
=.
8146 if test -f $ac_dir/$ac_word; then
8155 if test -n "$CC"; then
8156 echo "$ac_t""$CC" 1>&6
8158 echo "$ac_t""no" 1>&6
8163 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8166 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8167 echo "configure:8168: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8170 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8171 ac_cpp
='$CPP $CPPFLAGS'
8172 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8173 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8174 cross_compiling
=$ac_cv_prog_cc_cross
8176 cat > conftest.
$ac_ext << EOF
8178 #line 8179 "configure"
8179 #include "confdefs.h"
8183 if { (eval echo configure
:8184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8184 ac_cv_prog_cc_works
=yes
8185 # If we can't run a trivial program, we are probably using a cross compiler.
8186 if (.
/conftest
; exit) 2>/dev
/null
; then
8187 ac_cv_prog_cc_cross
=no
8189 ac_cv_prog_cc_cross
=yes
8192 echo "configure: failed program was:" >&5
8193 cat conftest.
$ac_ext >&5
8194 ac_cv_prog_cc_works
=no
8198 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8199 ac_cpp
='$CPP $CPPFLAGS'
8200 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8201 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8202 cross_compiling
=$ac_cv_prog_cc_cross
8204 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8205 if test $ac_cv_prog_cc_works = no
; then
8206 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8208 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8209 echo "configure:8210: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8210 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8211 cross_compiling
=$ac_cv_prog_cc_cross
8213 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8214 echo "configure:8215: checking whether we are using GNU C" >&5
8215 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8216 echo $ac_n "(cached) $ac_c" 1>&6
8218 cat > conftest.c
<<EOF
8223 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8230 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8232 if test $ac_cv_prog_gcc = yes; then
8238 ac_test_CFLAGS
="${CFLAGS+set}"
8239 ac_save_CFLAGS
="$CFLAGS"
8241 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8242 echo "configure:8243: checking whether ${CC-cc} accepts -g" >&5
8243 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8244 echo $ac_n "(cached) $ac_c" 1>&6
8246 echo 'void f(){}' > conftest.c
8247 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8256 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8257 if test "$ac_test_CFLAGS" = set; then
8258 CFLAGS
="$ac_save_CFLAGS"
8259 elif test $ac_cv_prog_cc_g = yes; then
8260 if test "$GCC" = yes; then
8266 if test "$GCC" = yes; then
8274 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8276 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8277 echo "configure:8278: checking how to run the C preprocessor" >&5
8278 # On Suns, sometimes $CPP names a directory.
8279 if test -n "$CPP" && test -d "$CPP"; then
8282 if test -z "$CPP"; then
8283 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8284 echo $ac_n "(cached) $ac_c" 1>&6
8286 # This must be in double quotes, not single quotes, because CPP may get
8287 # substituted into the Makefile and "${CC-cc}" will confuse make.
8289 # On the NeXT, cc -E runs the code through the compiler's parser,
8290 # not just through cpp.
8291 cat > conftest.
$ac_ext <<EOF
8292 #line 8293 "configure"
8293 #include "confdefs.h"
8297 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8298 { (eval echo configure
:8299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8299 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8300 if test -z "$ac_err"; then
8304 echo "configure: failed program was:" >&5
8305 cat conftest.
$ac_ext >&5
8307 CPP
="${CC-cc} -E -traditional-cpp"
8308 cat > conftest.
$ac_ext <<EOF
8309 #line 8310 "configure"
8310 #include "confdefs.h"
8314 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8315 { (eval echo configure
:8316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8316 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8317 if test -z "$ac_err"; then
8321 echo "configure: failed program was:" >&5
8322 cat conftest.
$ac_ext >&5
8324 CPP
="${CC-cc} -nologo -E"
8325 cat > conftest.
$ac_ext <<EOF
8326 #line 8327 "configure"
8327 #include "confdefs.h"
8331 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8332 { (eval echo configure
:8333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8333 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8334 if test -z "$ac_err"; then
8338 echo "configure: failed program was:" >&5
8339 cat conftest.
$ac_ext >&5
8348 ac_cv_prog_CPP
="$CPP"
8350 CPP
="$ac_cv_prog_CPP"
8352 ac_cv_prog_CPP
="$CPP"
8354 echo "$ac_t""$CPP" 1>&6
8356 if test $ac_cv_prog_gcc = yes; then
8357 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8358 echo "configure:8359: checking whether ${CC-cc} needs -traditional" >&5
8359 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8360 echo $ac_n "(cached) $ac_c" 1>&6
8362 ac_pattern
="Autoconf.*'x'"
8363 cat > conftest.
$ac_ext <<EOF
8364 #line 8365 "configure"
8365 #include "confdefs.h"
8369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8370 egrep "$ac_pattern" >/dev
/null
2>&1; then
8372 ac_cv_prog_gcc_traditional
=yes
8375 ac_cv_prog_gcc_traditional
=no
8380 if test $ac_cv_prog_gcc_traditional = no
; then
8381 cat > conftest.
$ac_ext <<EOF
8382 #line 8383 "configure"
8383 #include "confdefs.h"
8387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8388 egrep "$ac_pattern" >/dev
/null
2>&1; then
8390 ac_cv_prog_gcc_traditional
=yes
8397 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8398 if test $ac_cv_prog_gcc_traditional = yes; then
8399 CC
="$CC -traditional"
8406 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8407 ac_cpp
='$CXXCPP $CPPFLAGS'
8408 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8409 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8410 cross_compiling
=$ac_cv_prog_cxx_cross
8413 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8415 # Extract the first word of "$ac_prog", so it can be a program name with args.
8416 set dummy
$ac_prog; ac_word
=$2
8417 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8418 echo "configure:8419: checking for $ac_word" >&5
8419 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8420 echo $ac_n "(cached) $ac_c" 1>&6
8422 if test -n "$CXX"; then
8423 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8425 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8427 for ac_dir
in $ac_dummy; do
8428 test -z "$ac_dir" && ac_dir
=.
8429 if test -f $ac_dir/$ac_word; then
8430 ac_cv_prog_CXX
="$ac_prog"
8437 CXX
="$ac_cv_prog_CXX"
8438 if test -n "$CXX"; then
8439 echo "$ac_t""$CXX" 1>&6
8441 echo "$ac_t""no" 1>&6
8444 test -n "$CXX" && break
8446 test -n "$CXX" || CXX
="gcc"
8449 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8450 echo "configure:8451: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8453 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8454 ac_cpp
='$CXXCPP $CPPFLAGS'
8455 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8456 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8457 cross_compiling
=$ac_cv_prog_cxx_cross
8459 cat > conftest.
$ac_ext << EOF
8461 #line 8462 "configure"
8462 #include "confdefs.h"
8464 int main(){return(0);}
8466 if { (eval echo configure
:8467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8467 ac_cv_prog_cxx_works
=yes
8468 # If we can't run a trivial program, we are probably using a cross compiler.
8469 if (.
/conftest
; exit) 2>/dev
/null
; then
8470 ac_cv_prog_cxx_cross
=no
8472 ac_cv_prog_cxx_cross
=yes
8475 echo "configure: failed program was:" >&5
8476 cat conftest.
$ac_ext >&5
8477 ac_cv_prog_cxx_works
=no
8481 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8482 ac_cpp
='$CXXCPP $CPPFLAGS'
8483 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8484 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8485 cross_compiling
=$ac_cv_prog_cxx_cross
8487 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8488 if test $ac_cv_prog_cxx_works = no
; then
8489 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8491 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8492 echo "configure:8493: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8493 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8494 cross_compiling
=$ac_cv_prog_cxx_cross
8496 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8497 echo "configure:8498: checking whether we are using GNU C++" >&5
8498 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8499 echo $ac_n "(cached) $ac_c" 1>&6
8501 cat > conftest.C
<<EOF
8506 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8513 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8515 if test $ac_cv_prog_gxx = yes; then
8521 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8522 ac_save_CXXFLAGS
="$CXXFLAGS"
8524 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8525 echo "configure:8526: checking whether ${CXX-g++} accepts -g" >&5
8526 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8527 echo $ac_n "(cached) $ac_c" 1>&6
8529 echo 'void f(){}' > conftest.cc
8530 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8531 ac_cv_prog_cxx_g
=yes
8539 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8540 if test "$ac_test_CXXFLAGS" = set; then
8541 CXXFLAGS
="$ac_save_CXXFLAGS"
8542 elif test $ac_cv_prog_cxx_g = yes; then
8543 if test "$GXX" = yes; then
8549 if test "$GXX" = yes; then
8557 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8560 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8561 ac_cpp
='$CPP $CPPFLAGS'
8562 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8563 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8564 cross_compiling
=$ac_cv_prog_cc_cross
8567 # Extract the first word of "ranlib", so it can be a program name with args.
8568 set dummy ranlib
; ac_word
=$2
8569 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8570 echo "configure:8571: checking for $ac_word" >&5
8571 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8572 echo $ac_n "(cached) $ac_c" 1>&6
8574 if test -n "$RANLIB"; then
8575 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8577 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8579 for ac_dir
in $ac_dummy; do
8580 test -z "$ac_dir" && ac_dir
=.
8581 if test -f $ac_dir/$ac_word; then
8582 ac_cv_prog_RANLIB
="ranlib"
8587 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8590 RANLIB
="$ac_cv_prog_RANLIB"
8591 if test -n "$RANLIB"; then
8592 echo "$ac_t""$RANLIB" 1>&6
8594 echo "$ac_t""no" 1>&6
8598 # Extract the first word of "ar", so it can be a program name with args.
8599 set dummy
ar; ac_word
=$2
8600 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8601 echo "configure:8602: checking for $ac_word" >&5
8602 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8603 echo $ac_n "(cached) $ac_c" 1>&6
8605 if test -n "$AR"; then
8606 ac_cv_prog_AR
="$AR" # Let the user override the test.
8608 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8610 for ac_dir
in $ac_dummy; do
8611 test -z "$ac_dir" && ac_dir
=.
8612 if test -f $ac_dir/$ac_word; then
8618 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8622 if test -n "$AR"; then
8623 echo "$ac_t""$AR" 1>&6
8625 echo "$ac_t""no" 1>&6
8629 # Find a good install program. We prefer a C program (faster),
8630 # so one script is as good as another. But avoid the broken or
8631 # incompatible versions:
8632 # SysV /etc/install, /usr/sbin/install
8633 # SunOS /usr/etc/install
8634 # IRIX /sbin/install
8636 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8637 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8638 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8639 # ./install, which can be erroneously created by make from ./install.sh.
8640 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8641 echo "configure:8642: checking for a BSD compatible install" >&5
8642 if test -z "$INSTALL"; then
8643 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8644 echo $ac_n "(cached) $ac_c" 1>&6
8646 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8647 for ac_dir
in $PATH; do
8648 # Account for people who put trailing slashes in PATH elements.
8650 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8652 # OSF1 and SCO ODT 3.0 have their own names for install.
8653 # Don't use installbsd from OSF since it installs stuff as root
8655 for ac_prog
in ginstall scoinst
install; do
8656 if test -f $ac_dir/$ac_prog; then
8657 if test $ac_prog = install &&
8658 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8659 # AIX install. It has an incompatible calling convention.
8662 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8673 if test "${ac_cv_path_install+set}" = set; then
8674 INSTALL
="$ac_cv_path_install"
8676 # As a last resort, use the slow shell script. We don't cache a
8677 # path for INSTALL within a source directory, because that will
8678 # break other packages using the cache if that directory is
8679 # removed, or if the path is relative.
8680 INSTALL
="$ac_install_sh"
8683 echo "$ac_t""$INSTALL" 1>&6
8685 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8686 # It thinks the first close brace ends the variable substitution.
8687 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8689 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8691 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8696 INSTALL_PROGRAM
="cp -fp"
8697 INSTALL_DATA
="cp -fp"
8703 # Extract the first word of "strip", so it can be a program name with args.
8704 set dummy strip
; ac_word
=$2
8705 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8706 echo "configure:8707: checking for $ac_word" >&5
8707 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8708 echo $ac_n "(cached) $ac_c" 1>&6
8710 if test -n "$STRIP"; then
8711 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8713 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8715 for ac_dir
in $ac_dummy; do
8716 test -z "$ac_dir" && ac_dir
=.
8717 if test -f $ac_dir/$ac_word; then
8718 ac_cv_prog_STRIP
="strip"
8723 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8726 STRIP
="$ac_cv_prog_STRIP"
8727 if test -n "$STRIP"; then
8728 echo "$ac_t""$STRIP" 1>&6
8730 echo "$ac_t""no" 1>&6
8734 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8735 echo "configure:8736: checking make for VPATH support" >&5
8736 cat - << EOF > confMake
8742 if test ! -d sub
; then
8745 echo dummy
> sub
/file
8746 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8748 rm -f sub
/file check final_file confMake
8750 if test "$RESULT" = 0; then
8751 echo "$ac_t""yes" 1>&6
8753 echo "$ac_t""no" 1>&6
8754 { echo "configure: error:
8755 You need a make-utility that is able to use the variable
8757 If your version of make does not support VPATH correctly,
8758 please install GNU-make (possibly as gmake), and start
8759 configure with the following command:
8760 export MAKE=gmake; ./configure for sh-type shells
8761 setenv MAKE gmake; ./configure for csh-type shells
8762 Also please do remember to use gmake in this case every time
8763 you are trying to compile.
8767 for ac_prog
in 'bison -y' byacc
8769 # Extract the first word of "$ac_prog", so it can be a program name with args.
8770 set dummy
$ac_prog; ac_word
=$2
8771 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8772 echo "configure:8773: checking for $ac_word" >&5
8773 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8774 echo $ac_n "(cached) $ac_c" 1>&6
8776 if test -n "$YACC"; then
8777 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8779 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8781 for ac_dir
in $ac_dummy; do
8782 test -z "$ac_dir" && ac_dir
=.
8783 if test -f $ac_dir/$ac_word; then
8784 ac_cv_prog_YACC
="$ac_prog"
8791 YACC
="$ac_cv_prog_YACC"
8792 if test -n "$YACC"; then
8793 echo "$ac_t""$YACC" 1>&6
8795 echo "$ac_t""no" 1>&6
8798 test -n "$YACC" && break
8800 test -n "$YACC" || YACC
="yacc"
8803 # Extract the first word of "flex", so it can be a program name with args.
8804 set dummy flex
; ac_word
=$2
8805 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8806 echo "configure:8807: checking for $ac_word" >&5
8807 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8808 echo $ac_n "(cached) $ac_c" 1>&6
8810 if test -n "$LEX"; then
8811 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8813 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8815 for ac_dir
in $ac_dummy; do
8816 test -z "$ac_dir" && ac_dir
=.
8817 if test -f $ac_dir/$ac_word; then
8818 ac_cv_prog_LEX
="flex"
8823 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8826 LEX
="$ac_cv_prog_LEX"
8827 if test -n "$LEX"; then
8828 echo "$ac_t""$LEX" 1>&6
8830 echo "$ac_t""no" 1>&6
8833 if test -z "$LEXLIB"
8839 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8840 echo "configure:8841: checking for yywrap in -l$ac_lib" >&5
8841 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8842 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8843 echo $ac_n "(cached) $ac_c" 1>&6
8845 ac_save_LIBS
="$LIBS"
8846 LIBS
="-l$ac_lib $LIBS"
8847 cat > conftest.
$ac_ext <<EOF
8848 #line 8849 "configure"
8849 #include "confdefs.h"
8850 /* Override any gcc2 internal prototype to avoid an error. */
8851 /* We use char because int might match the return type of a gcc2
8852 builtin and then its argument prototype would still apply. */
8859 if { (eval echo configure
:8860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8861 eval "ac_cv_lib_$ac_lib_var=yes"
8863 echo "configure: failed program was:" >&5
8864 cat conftest.
$ac_ext >&5
8866 eval "ac_cv_lib_$ac_lib_var=no"
8869 LIBS
="$ac_save_LIBS"
8872 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8873 echo "$ac_t""yes" 1>&6
8876 echo "$ac_t""no" 1>&6
8882 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8883 echo "configure:8884: checking whether ln -s works" >&5
8884 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8885 echo $ac_n "(cached) $ac_c" 1>&6
8888 if ln -s X conftestdata
2>/dev
/null
8891 ac_cv_prog_LN_S
="ln -s"
8896 LN_S
="$ac_cv_prog_LN_S"
8897 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8898 echo "$ac_t""yes" 1>&6
8900 echo "$ac_t""no" 1>&6
8906 /usr/local/include \
8908 /usr/Motif-1.2/include \
8909 /usr/Motif-2.1/include \
8911 /usr/include/Motif1.2 \
8912 /opt/xpm/include/X11 \
8913 /opt/GBxpm/include/ \
8914 /opt/GBxpm/X11/include/ \
8916 /usr/Motif1.2/include \
8918 /usr/openwin/include \
8922 /usr/X11R6/include \
8923 /usr/X11R6.4/include \
8924 /usr/X11R5/include \
8925 /usr/X11R4/include \
8927 /usr/include/X11R6 \
8928 /usr/include/X11R5 \
8929 /usr/include/X11R4 \
8931 /usr/local/X11R6/include \
8932 /usr/local/X11R5/include \
8933 /usr/local/X11R4/include \
8935 /usr/local/include/X11R6 \
8936 /usr/local/include/X11R5 \
8937 /usr/local/include/X11R4 \
8941 /usr/local/X11/include \
8942 /usr/local/include/X11 \
8946 /usr/XFree86/include/X11 \
8948 X:/XFree86/include \
8949 X:/XFree86/include/X11 \
8952 /usr/local/include/gtk \
8954 /usr/local/include/glib \
8957 /usr/local/include/qt \
8959 /usr/include/windows \
8961 /usr/local/include/wine \
8963 /usr/unsupported/include \
8964 /usr/athena/include \
8965 /usr/local/x11r5/include \
8966 /usr/lpp/Xamples/include \
8968 /usr/openwin/share/include \
8972 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8975 cat > confcache
<<\EOF
8976 # This file is a shell script that caches the results of configure
8977 # tests run on this system so they can be shared between configure
8978 # scripts and configure runs. It is not useful on other systems.
8979 # If it contains results you don't want to keep, you may remove or edit it.
8981 # By default, configure uses ./config.cache as the cache file,
8982 # creating it if it does not exist already. You can give configure
8983 # the --cache-file=FILE option to use a different cache file; that is
8984 # what configure does when it calls configure scripts in
8985 # subdirectories, so they share the cache.
8986 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8987 # config.status only pays attention to the cache file if you give it the
8988 # --recheck option to rerun configure.
8991 # The following way of writing the cache mishandles newlines in values,
8992 # but we know of no workaround that is simple, portable, and efficient.
8993 # So, don't put newlines in cache variables' values.
8994 # Ultrix sh set writes to stderr and can't be redirected directly,
8995 # and sets the high bit in the cache file unless we assign to the vars.
8997 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8999 # `set' does not quote correctly, so add quotes (double-quote substitution
9000 # turns \\\\ into \\, and sed turns \\ into \).
9002 -e "s/'/'\\\\''/g" \
9003 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9006 # `set' quotes correctly as required by POSIX, so do not add quotes.
9007 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9010 if cmp -s $cache_file confcache
; then
9013 if test -w $cache_file; then
9014 echo "updating cache $cache_file"
9015 cat confcache
> $cache_file
9017 echo "not updating unwritable cache $cache_file"
9026 if test "$wxUSE_REGEX" != "no"; then
9027 cat >> confdefs.h
<<\EOF
9028 #define wxUSE_REGEX 1
9032 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9033 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
9034 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9035 echo "configure:9036: checking for regex.h" >&5
9036 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9037 echo $ac_n "(cached) $ac_c" 1>&6
9039 cat > conftest.
$ac_ext <<EOF
9040 #line 9041 "configure"
9041 #include "confdefs.h"
9044 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9045 { (eval echo configure
:9046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9046 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9047 if test -z "$ac_err"; then
9049 eval "ac_cv_header_$ac_safe=yes"
9052 echo "configure: failed program was:" >&5
9053 cat conftest.
$ac_ext >&5
9055 eval "ac_cv_header_$ac_safe=no"
9059 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9060 echo "$ac_t""yes" 1>&6
9061 for ac_func
in regcomp
9063 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9064 echo "configure:9065: checking for $ac_func" >&5
9065 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9066 echo $ac_n "(cached) $ac_c" 1>&6
9068 cat > conftest.
$ac_ext <<EOF
9069 #line 9070 "configure"
9070 #include "confdefs.h"
9071 /* System header to define __stub macros and hopefully few prototypes,
9072 which can conflict with char $ac_func(); below. */
9074 /* Override any gcc2 internal prototype to avoid an error. */
9075 /* We use char because int might match the return type of a gcc2
9076 builtin and then its argument prototype would still apply. */
9081 /* The GNU C library defines this for functions which it implements
9082 to always fail with ENOSYS. Some functions are actually named
9083 something starting with __ and the normal name is an alias. */
9084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9092 if { (eval echo configure
:9093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9094 eval "ac_cv_func_$ac_func=yes"
9096 echo "configure: failed program was:" >&5
9097 cat conftest.
$ac_ext >&5
9099 eval "ac_cv_func_$ac_func=no"
9104 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9105 echo "$ac_t""yes" 1>&6
9106 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9107 cat >> confdefs.h
<<EOF
9108 #define $ac_tr_func 1
9112 echo "$ac_t""no" 1>&6
9117 echo "$ac_t""no" 1>&6
9121 if test "x$ac_cv_func_regcomp" != "xyes"; then
9122 if test "$wxUSE_REGEX" = "sys" ; then
9123 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9125 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9133 if test "$wxUSE_REGEX" = "builtin" ; then
9134 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9141 if test "$wxUSE_ZLIB" != "no" ; then
9142 cat >> confdefs.h
<<\EOF
9143 #define wxUSE_ZLIB 1
9147 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9148 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9149 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9150 echo "configure:9151: checking for zlib.h" >&5
9151 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9152 echo $ac_n "(cached) $ac_c" 1>&6
9154 cat > conftest.
$ac_ext <<EOF
9155 #line 9156 "configure"
9156 #include "confdefs.h"
9159 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9160 { (eval echo configure
:9161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9161 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9162 if test -z "$ac_err"; then
9164 eval "ac_cv_header_$ac_safe=yes"
9167 echo "configure: failed program was:" >&5
9168 cat conftest.
$ac_ext >&5
9170 eval "ac_cv_header_$ac_safe=no"
9174 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9175 echo "$ac_t""yes" 1>&6
9176 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9177 echo "configure:9178: checking for deflate in -lz" >&5
9178 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9179 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9180 echo $ac_n "(cached) $ac_c" 1>&6
9182 ac_save_LIBS
="$LIBS"
9184 cat > conftest.
$ac_ext <<EOF
9185 #line 9186 "configure"
9186 #include "confdefs.h"
9187 /* Override any gcc2 internal prototype to avoid an error. */
9188 /* We use char because int might match the return type of a gcc2
9189 builtin and then its argument prototype would still apply. */
9196 if { (eval echo configure
:9197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9198 eval "ac_cv_lib_$ac_lib_var=yes"
9200 echo "configure: failed program was:" >&5
9201 cat conftest.
$ac_ext >&5
9203 eval "ac_cv_lib_$ac_lib_var=no"
9206 LIBS
="$ac_save_LIBS"
9209 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9210 echo "$ac_t""yes" 1>&6
9213 echo "$ac_t""no" 1>&6
9217 echo "$ac_t""no" 1>&6
9221 if test "x$ZLIB_LINK" = "x" ; then
9222 if test "$wxUSE_ZLIB" = "sys" ; then
9223 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9225 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9233 if test "$wxUSE_ZLIB" = "builtin" ; then
9234 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9241 if test "$wxUSE_LIBPNG" != "no" ; then
9242 cat >> confdefs.h
<<\EOF
9243 #define wxUSE_LIBPNG 1
9247 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9248 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9249 wxUSE_LIBPNG
=builtin
9252 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9253 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9254 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9255 echo "configure:9256: checking for png.h" >&5
9256 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9257 echo $ac_n "(cached) $ac_c" 1>&6
9259 cat > conftest.
$ac_ext <<EOF
9260 #line 9261 "configure"
9261 #include "confdefs.h"
9264 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9265 { (eval echo configure
:9266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9266 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9267 if test -z "$ac_err"; then
9269 eval "ac_cv_header_$ac_safe=yes"
9272 echo "configure: failed program was:" >&5
9273 cat conftest.
$ac_ext >&5
9275 eval "ac_cv_header_$ac_safe=no"
9279 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9280 echo "$ac_t""yes" 1>&6
9281 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9282 echo "configure:9283: checking for png_check_sig in -lpng" >&5
9283 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9284 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9285 echo $ac_n "(cached) $ac_c" 1>&6
9287 ac_save_LIBS
="$LIBS"
9288 LIBS
="-lpng -lz -lm $LIBS"
9289 cat > conftest.
$ac_ext <<EOF
9290 #line 9291 "configure"
9291 #include "confdefs.h"
9292 /* Override any gcc2 internal prototype to avoid an error. */
9293 /* We use char because int might match the return type of a gcc2
9294 builtin and then its argument prototype would still apply. */
9295 char png_check_sig();
9301 if { (eval echo configure
:9302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9303 eval "ac_cv_lib_$ac_lib_var=yes"
9305 echo "configure: failed program was:" >&5
9306 cat conftest.
$ac_ext >&5
9308 eval "ac_cv_lib_$ac_lib_var=no"
9311 LIBS
="$ac_save_LIBS"
9314 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9315 echo "$ac_t""yes" 1>&6
9318 echo "$ac_t""no" 1>&6
9323 echo "$ac_t""no" 1>&6
9327 if test "x$PNG_LINK" = "x" ; then
9328 if test "$wxUSE_LIBPNG" = "sys" ; then
9329 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9331 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9332 wxUSE_LIBPNG
=builtin
9339 if test "$wxUSE_LIBPNG" = "builtin" ; then
9340 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
9343 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
9349 if test "$wxUSE_LIBJPEG" != "no" ; then
9350 cat >> confdefs.h
<<\EOF
9351 #define wxUSE_LIBJPEG 1
9355 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9356 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9357 echo "configure:9358: checking for jpeglib.h" >&5
9358 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9359 echo $ac_n "(cached) $ac_c" 1>&6
9361 cat > conftest.
$ac_ext <<EOF
9362 #line 9363 "configure"
9363 #include "confdefs.h"
9365 #undef HAVE_STDLIB_H
9367 #include <jpeglib.h>
9374 if { (eval echo configure
:9375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9376 ac_cv_header_jpeglib_h
=yes
9378 echo "configure: failed program was:" >&5
9379 cat conftest.
$ac_ext >&5
9381 ac_cv_header_jpeglib_h
=no
9388 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
9390 if test "$ac_cv_header_jpeglib_h" = "yes"; then
9391 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
9392 echo "configure:9393: checking for jpeg_read_header in -ljpeg" >&5
9393 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
9394 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9395 echo $ac_n "(cached) $ac_c" 1>&6
9397 ac_save_LIBS
="$LIBS"
9399 cat > conftest.
$ac_ext <<EOF
9400 #line 9401 "configure"
9401 #include "confdefs.h"
9402 /* Override any gcc2 internal prototype to avoid an error. */
9403 /* We use char because int might match the return type of a gcc2
9404 builtin and then its argument prototype would still apply. */
9405 char jpeg_read_header();
9411 if { (eval echo configure
:9412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9413 eval "ac_cv_lib_$ac_lib_var=yes"
9415 echo "configure: failed program was:" >&5
9416 cat conftest.
$ac_ext >&5
9418 eval "ac_cv_lib_$ac_lib_var=no"
9421 LIBS
="$ac_save_LIBS"
9424 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9425 echo "$ac_t""yes" 1>&6
9428 echo "$ac_t""no" 1>&6
9433 if test "x$JPEG_LINK" = "x" ; then
9434 if test "$wxUSE_LIBJPEG" = "sys" ; then
9435 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
9437 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
9438 wxUSE_LIBJPEG
=builtin
9445 if test "$wxUSE_LIBJPEG" = "builtin" ; then
9446 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
9453 if test "$wxUSE_LIBTIFF" != "no" ; then
9454 cat >> confdefs.h
<<\EOF
9455 #define wxUSE_LIBTIFF 1
9459 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
9460 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
9461 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
9462 echo "configure:9463: checking for tiffio.h" >&5
9463 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9464 echo $ac_n "(cached) $ac_c" 1>&6
9466 cat > conftest.
$ac_ext <<EOF
9467 #line 9468 "configure"
9468 #include "confdefs.h"
9471 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9472 { (eval echo configure
:9473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9473 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9474 if test -z "$ac_err"; then
9476 eval "ac_cv_header_$ac_safe=yes"
9479 echo "configure: failed program was:" >&5
9480 cat conftest.
$ac_ext >&5
9482 eval "ac_cv_header_$ac_safe=no"
9486 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9487 echo "$ac_t""yes" 1>&6
9488 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
9489 echo "configure:9490: checking for TIFFError in -ltiff" >&5
9490 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
9491 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9492 echo $ac_n "(cached) $ac_c" 1>&6
9494 ac_save_LIBS
="$LIBS"
9495 LIBS
="-ltiff -lm $LIBS"
9496 cat > conftest.
$ac_ext <<EOF
9497 #line 9498 "configure"
9498 #include "confdefs.h"
9499 /* Override any gcc2 internal prototype to avoid an error. */
9500 /* We use char because int might match the return type of a gcc2
9501 builtin and then its argument prototype would still apply. */
9508 if { (eval echo configure
:9509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9510 eval "ac_cv_lib_$ac_lib_var=yes"
9512 echo "configure: failed program was:" >&5
9513 cat conftest.
$ac_ext >&5
9515 eval "ac_cv_lib_$ac_lib_var=no"
9518 LIBS
="$ac_save_LIBS"
9521 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9522 echo "$ac_t""yes" 1>&6
9525 echo "$ac_t""no" 1>&6
9530 echo "$ac_t""no" 1>&6
9534 if test "x$TIFF_LINK" = "x" ; then
9535 if test "$wxUSE_LIBTIFF" = "sys" ; then
9536 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
9538 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
9539 wxUSE_LIBTIFF
=builtin
9546 if test "$wxUSE_LIBTIFF" = "builtin" ; then
9547 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
9554 if test "$wxUSE_FREETYPE" != "no" ; then
9555 cat >> confdefs.h
<<\EOF
9556 #define wxUSE_FREETYPE 1
9560 if test "$wxUSE_FREETYPE" = "sys" -o "$wxUSE_FREETYPE" = "yes" ; then
9561 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
9562 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
9563 echo "configure:9564: checking for freetype.h" >&5
9564 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9565 echo $ac_n "(cached) $ac_c" 1>&6
9567 cat > conftest.
$ac_ext <<EOF
9568 #line 9569 "configure"
9569 #include "confdefs.h"
9570 #include <freetype.h>
9572 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9573 { (eval echo configure
:9574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9574 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9575 if test -z "$ac_err"; then
9577 eval "ac_cv_header_$ac_safe=yes"
9580 echo "configure: failed program was:" >&5
9581 cat conftest.
$ac_ext >&5
9583 eval "ac_cv_header_$ac_safe=no"
9587 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9588 echo "$ac_t""yes" 1>&6
9589 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
9590 echo "configure:9591: checking for FT_Render_Glyph in -lfreetype" >&5
9591 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
9592 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9593 echo $ac_n "(cached) $ac_c" 1>&6
9595 ac_save_LIBS
="$LIBS"
9596 LIBS
="-lfreetype -lm $LIBS"
9597 cat > conftest.
$ac_ext <<EOF
9598 #line 9599 "configure"
9599 #include "confdefs.h"
9600 /* Override any gcc2 internal prototype to avoid an error. */
9601 /* We use char because int might match the return type of a gcc2
9602 builtin and then its argument prototype would still apply. */
9603 char FT_Render_Glyph();
9609 if { (eval echo configure
:9610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9611 eval "ac_cv_lib_$ac_lib_var=yes"
9613 echo "configure: failed program was:" >&5
9614 cat conftest.
$ac_ext >&5
9616 eval "ac_cv_lib_$ac_lib_var=no"
9619 LIBS
="$ac_save_LIBS"
9622 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9623 echo "$ac_t""yes" 1>&6
9624 FREETYPE_LINK
=" -lfreetype"
9626 echo "$ac_t""no" 1>&6
9631 echo "$ac_t""no" 1>&6
9635 if test "x$FREETYPE_LINK" = "x" ; then
9636 if test "$wxUSE_FREETYPE" = "sys" ; then
9637 { echo "configure: error: system freetype library not found! Use --with-freetype=builtin to use built-in version" 1>&2; exit 1; }
9639 echo "configure: warning: system freetype library not found, will use built-in instead" 1>&2
9640 wxUSE_FREETYPE
=builtin
9647 if test "$wxUSE_FREETYPE" = "builtin" ; then
9648 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
9659 if test "$USE_WIN32" = 1 ; then
9660 for ac_hdr
in w32api.h
9662 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9663 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9664 echo "configure:9665: checking for $ac_hdr" >&5
9665 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9666 echo $ac_n "(cached) $ac_c" 1>&6
9668 cat > conftest.
$ac_ext <<EOF
9669 #line 9670 "configure"
9670 #include "confdefs.h"
9673 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9674 { (eval echo configure
:9675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9675 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9676 if test -z "$ac_err"; then
9678 eval "ac_cv_header_$ac_safe=yes"
9681 echo "configure: failed program was:" >&5
9682 cat conftest.
$ac_ext >&5
9684 eval "ac_cv_header_$ac_safe=no"
9688 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9689 echo "$ac_t""yes" 1>&6
9690 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9691 cat >> confdefs.h
<<EOF
9692 #define $ac_tr_hdr 1
9696 echo "$ac_t""no" 1>&6
9700 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
9701 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9702 echo "configure:9703: checking for windows.h" >&5
9703 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9704 echo $ac_n "(cached) $ac_c" 1>&6
9706 cat > conftest.
$ac_ext <<EOF
9707 #line 9708 "configure"
9708 #include "confdefs.h"
9709 #include <windows.h>
9711 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9712 { (eval echo configure
:9713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9713 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9714 if test -z "$ac_err"; then
9716 eval "ac_cv_header_$ac_safe=yes"
9719 echo "configure: failed program was:" >&5
9720 cat conftest.
$ac_ext >&5
9722 eval "ac_cv_header_$ac_safe=no"
9726 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9727 echo "$ac_t""yes" 1>&6
9730 echo "$ac_t""no" 1>&6
9732 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9737 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
9738 echo "configure:9739: checking if w32api has good enough MSIE support" >&5
9739 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
9740 echo $ac_n "(cached) $ac_c" 1>&6
9743 cat > conftest.
$ac_ext <<EOF
9744 #line 9745 "configure"
9745 #include "confdefs.h"
9749 #define wxCHECK_W32API_VERSION( major, minor ) \
9750 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
9751 && ( ( __W32API_MAJOR_VERSION > (major) ) \
9752 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
9754 #if !wxCHECK_W32API_VERSION(1,1)
9755 #error You need w32api 1.1 or newer
9760 if { (eval echo configure
:9761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9763 wx_cv_w32api_win32_ie
=yes
9766 echo "configure: failed program was:" >&5
9767 cat conftest.
$ac_ext >&5
9770 wx_cv_w32api_win32_ie
=no
9777 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
9778 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
9779 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
9782 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9786 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
9787 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
9790 if test "$wxUSE_ODBC" = "yes" ; then
9791 LIBS
=" -lodbc32 -lole32 -loleaut32$LIBS"
9794 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
9795 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
9798 if test "$wxUSE_GUI" = "yes"; then
9807 if test "$wxUSE_MSW" = 1 ; then
9813 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
9817 if test "$wxUSE_GTK" = 1; then
9818 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9819 echo "configure:9820: checking for GTK+ version" >&5
9821 gtk_version_cached
=1
9822 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9823 echo $ac_n "(cached) $ac_c" 1>&6
9826 gtk_version_cached
=0
9830 if test "x$wxUSE_GTK2" = "xyes"; then
9831 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9832 if test "${with_gtk_prefix+set}" = set; then
9833 withval
="$with_gtk_prefix"
9834 gtk_config_prefix
="$withval"
9836 gtk_config_prefix
=""
9839 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9840 if test "${with_gtk_exec_prefix+set}" = set; then
9841 withval
="$with_gtk_exec_prefix"
9842 gtk_config_exec_prefix
="$withval"
9844 gtk_config_exec_prefix
=""
9847 # Check whether --enable-gtktest or --disable-gtktest was given.
9848 if test "${enable_gtktest+set}" = set; then
9849 enableval
="$enable_gtktest"
9860 gtk_config_args
="$gtk_config_args gthread"
9865 if test x
$gtk_config_exec_prefix != x
; then
9866 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9867 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9868 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
9871 if test x
$gtk_config_prefix != x
; then
9872 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9873 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9874 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
9878 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9879 set dummy gtk
-config-2.0
; ac_word
=$2
9880 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9881 echo "configure:9882: checking for $ac_word" >&5
9882 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9883 echo $ac_n "(cached) $ac_c" 1>&6
9885 case "$GTK_CONFIG_2_0" in
9887 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9890 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9893 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9895 for ac_dir
in $ac_dummy; do
9896 test -z "$ac_dir" && ac_dir
=.
9897 if test -f $ac_dir/$ac_word; then
9898 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
9903 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
9907 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
9908 if test -n "$GTK_CONFIG_2_0"; then
9909 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9911 echo "$ac_t""no" 1>&6
9914 min_gtk_version
=1.3.1
9915 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9916 echo "configure:9917: checking for GTK - version >= $min_gtk_version" >&5
9918 if test "$GTK_CONFIG_2_0" = "no" ; then
9921 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9922 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9923 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9924 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9925 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9926 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9927 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9929 if test "x$enable_gtktest" = "xyes" ; then
9930 ac_save_CFLAGS
="$CFLAGS"
9931 ac_save_LIBS
="$LIBS"
9932 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9933 LIBS
="$GTK_LIBS $LIBS"
9935 if test "$cross_compiling" = yes; then
9936 echo $ac_n "cross compiling; assumed OK... $ac_c"
9938 cat > conftest.
$ac_ext <<EOF
9939 #line 9940 "configure"
9940 #include "confdefs.h"
9942 #include <gtk/gtk.h>
9949 int major, minor, micro;
9952 system ("touch conf.gtktest");
9954 /* HP/UX 9 (%@#!) writes to sscanf strings */
9955 tmp_version = g_strdup("$min_gtk_version");
9956 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9957 printf("%s, bad version string\n", "$min_gtk_version");
9961 if ((gtk_major_version != $gtk_config_major_version) ||
9962 (gtk_minor_version != $gtk_config_minor_version) ||
9963 (gtk_micro_version != $gtk_config_micro_version))
9965 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9966 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9967 gtk_major_version, gtk_minor_version, gtk_micro_version);
9968 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9969 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9970 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9971 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9972 printf("*** required on your system.\n");
9973 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9974 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9975 printf("*** before re-running configure\n");
9977 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9978 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9979 (gtk_minor_version != GTK_MINOR_VERSION) ||
9980 (gtk_micro_version != GTK_MICRO_VERSION))
9982 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9983 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9984 printf("*** library (version %d.%d.%d)\n",
9985 gtk_major_version, gtk_minor_version, gtk_micro_version);
9987 #endif /* defined (GTK_MAJOR_VERSION) ... */
9990 if ((gtk_major_version > major) ||
9991 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9992 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9998 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9999 gtk_major_version, gtk_minor_version, gtk_micro_version);
10000 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10001 major, minor, micro);
10002 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10004 printf("*** If you have already installed a sufficiently new version, this error\n");
10005 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
10006 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10007 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
10008 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
10009 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10010 printf("*** so that the correct libraries are found at run-time))\n");
10017 if { (eval echo configure
:10018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10021 echo "configure: failed program was:" >&5
10022 cat conftest.
$ac_ext >&5
10029 CFLAGS
="$ac_save_CFLAGS"
10030 LIBS
="$ac_save_LIBS"
10033 if test "x$no_gtk" = x
; then
10034 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10037 echo "$ac_t""no" 1>&6
10038 if test "$GTK_CONFIG_2_0" = "no" ; then
10039 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
10040 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10041 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
10042 echo "*** full path to gtk-config-2.0."
10044 if test -f conf.gtktest
; then
10047 echo "*** Could not run GTK test program, checking why..."
10048 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10049 LIBS
="$LIBS $GTK_LIBS"
10050 cat > conftest.
$ac_ext <<EOF
10051 #line 10052 "configure"
10052 #include "confdefs.h"
10054 #include <gtk/gtk.h>
10058 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10061 if { (eval echo configure
:10062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10063 echo "*** The test program compiled, but did not run. This usually means"
10064 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10065 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10066 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10067 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10068 echo "*** is required on your system"
10070 echo "*** If you have an old version installed, it is best to remove it, although"
10071 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10073 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10074 echo "*** came with the system with the command"
10076 echo "*** rpm --erase --nodeps gtk gtk-devel"
10078 echo "configure: failed program was:" >&5
10079 cat conftest.
$ac_ext >&5
10081 echo "*** The test program failed to compile or link. See the file config.log for the"
10082 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10083 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10084 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
10087 CFLAGS
="$ac_save_CFLAGS"
10088 LIBS
="$ac_save_LIBS"
10101 if test -z "$wx_cv_lib_gtk"; then
10103 if test x
$gtk_config_exec_prefix != x
; then
10104 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10105 if test x
${GTK_CONFIG+set} != xset
; then
10106 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10109 if test x
$gtk_config_prefix != x
; then
10110 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10111 if test x
${GTK_CONFIG+set} != xset
; then
10112 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10116 # Extract the first word of "gtk-config", so it can be a program name with args.
10117 set dummy gtk
-config; ac_word
=$2
10118 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10119 echo "configure:10120: checking for $ac_word" >&5
10120 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10121 echo $ac_n "(cached) $ac_c" 1>&6
10123 case "$GTK_CONFIG" in
10125 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10128 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10131 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10133 for ac_dir
in $ac_dummy; do
10134 test -z "$ac_dir" && ac_dir
=.
10135 if test -f $ac_dir/$ac_word; then
10136 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10141 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10145 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10146 if test -n "$GTK_CONFIG"; then
10147 echo "$ac_t""$GTK_CONFIG" 1>&6
10149 echo "$ac_t""no" 1>&6
10152 min_gtk_version
=1.2.7
10153 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10154 echo "configure:10155: checking for GTK - version >= $min_gtk_version" >&5
10156 if test "$GTK_CONFIG" != "no" ; then
10157 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
10158 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
10159 ac_save_CFLAGS
="$CFLAGS"
10160 ac_save_LIBS
="$LIBS"
10161 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10162 LIBS
="$LIBS $GTK_LIBS"
10163 if test "$cross_compiling" = yes; then
10164 echo $ac_n "cross compiling; assumed OK... $ac_c"
10166 cat > conftest.
$ac_ext <<EOF
10167 #line 10168 "configure"
10168 #include "confdefs.h"
10170 #include <gtk/gtk.h>
10171 #include <gtk/gtkfeatures.h>
10173 #include <stdlib.h>
10178 int major, minor, micro;
10180 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
10181 printf("%s, bad version string\n", "$min_gtk_version");
10185 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
10186 (GTK_MINOR_VERSION != gtk_minor_version) ||
10187 (GTK_MICRO_VERSION != gtk_micro_version)) {
10188 printf("Headers vs. library version mismatch!\n");
10192 if (gtk_minor_version == 1) return FALSE;
10194 return !((gtk_major_version > major) ||
10195 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10196 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
10200 if { (eval echo configure
:10201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10204 echo "configure: failed program was:" >&5
10205 cat conftest.
$ac_ext >&5
10212 CFLAGS
="$ac_save_CFLAGS"
10213 LIBS
="$ac_save_LIBS"
10217 if test "x$no_gtk" = x
; then
10218 echo "$ac_t""yes" 1>&6
10219 wx_cv_lib_gtk
=1.2.7
10221 echo "$ac_t""no" 1>&6
10231 if test -z "$wx_cv_lib_gtk"; then
10233 if test x
$gtk_config_exec_prefix != x
; then
10234 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10235 if test x
${GTK_CONFIG+set} != xset
; then
10236 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10239 if test x
$gtk_config_prefix != x
; then
10240 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10241 if test x
${GTK_CONFIG+set} != xset
; then
10242 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10246 # Extract the first word of "gtk-config", so it can be a program name with args.
10247 set dummy gtk
-config; ac_word
=$2
10248 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10249 echo "configure:10250: checking for $ac_word" >&5
10250 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10251 echo $ac_n "(cached) $ac_c" 1>&6
10253 case "$GTK_CONFIG" in
10255 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10258 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10261 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10263 for ac_dir
in $ac_dummy; do
10264 test -z "$ac_dir" && ac_dir
=.
10265 if test -f $ac_dir/$ac_word; then
10266 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10271 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10275 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10276 if test -n "$GTK_CONFIG"; then
10277 echo "$ac_t""$GTK_CONFIG" 1>&6
10279 echo "$ac_t""no" 1>&6
10282 min_gtk_version
=1.2.3
10283 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10284 echo "configure:10285: checking for GTK - version >= $min_gtk_version" >&5
10286 if test "$GTK_CONFIG" != "no" ; then
10287 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
10288 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
10289 ac_save_CFLAGS
="$CFLAGS"
10290 ac_save_LIBS
="$LIBS"
10291 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10292 LIBS
="$LIBS $GTK_LIBS"
10293 if test "$cross_compiling" = yes; then
10294 echo $ac_n "cross compiling; assumed OK... $ac_c"
10296 cat > conftest.
$ac_ext <<EOF
10297 #line 10298 "configure"
10298 #include "confdefs.h"
10300 #include <gtk/gtk.h>
10301 #include <gtk/gtkfeatures.h>
10303 #include <stdlib.h>
10308 int major, minor, micro;
10310 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
10311 printf("%s, bad version string\n", "$min_gtk_version");
10315 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
10316 (GTK_MINOR_VERSION != gtk_minor_version) ||
10317 (GTK_MICRO_VERSION != gtk_micro_version)) {
10318 printf("Headers vs. library version mismatch!\n");
10322 if (gtk_minor_version == 1) return FALSE;
10324 return !((gtk_major_version > major) ||
10325 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10326 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
10330 if { (eval echo configure
:10331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10334 echo "configure: failed program was:" >&5
10335 cat conftest.
$ac_ext >&5
10342 CFLAGS
="$ac_save_CFLAGS"
10343 LIBS
="$ac_save_LIBS"
10347 if test "x$no_gtk" = x
; then
10348 echo "$ac_t""yes" 1>&6
10349 wx_cv_lib_gtk
=1.2.3
10351 echo "$ac_t""no" 1>&6
10361 if test -z "$wx_cv_lib_gtk"; then
10364 wx_cv_cflags_gtk
=$GTK_CFLAGS
10365 wx_cv_libs_gtk
=$GTK_LIBS
10372 if test "$gtk_version_cached" = 1; then
10373 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
10376 case "$wx_cv_lib_gtk" in
10384 *) { echo "configure: error:
10385 Please check that gtk-config is in path, the directory
10386 where GTK+ libraries are installed (returned by
10387 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
10388 equivalent variable and GTK+ is version 1.2.3 or above.
10393 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
10394 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
10396 AFMINSTALL
=afminstall
10400 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
10401 echo "configure:10402: checking for gdk_im_open in -lgdk" >&5
10402 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
10403 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10404 echo $ac_n "(cached) $ac_c" 1>&6
10406 ac_save_LIBS
="$LIBS"
10408 cat > conftest.
$ac_ext <<EOF
10409 #line 10410 "configure"
10410 #include "confdefs.h"
10411 /* Override any gcc2 internal prototype to avoid an error. */
10412 /* We use char because int might match the return type of a gcc2
10413 builtin and then its argument prototype would still apply. */
10414 char gdk_im_open();
10420 if { (eval echo configure
:10421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10422 eval "ac_cv_lib_$ac_lib_var=yes"
10424 echo "configure: failed program was:" >&5
10425 cat conftest.
$ac_ext >&5
10427 eval "ac_cv_lib_$ac_lib_var=no"
10430 LIBS
="$ac_save_LIBS"
10433 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10434 echo "$ac_t""yes" 1>&6
10435 cat >> confdefs.h
<<\EOF
10440 echo "$ac_t""no" 1>&6
10445 if test "$wxUSE_MGL" = 1; then
10447 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
10448 echo "configure:10449: checking for SciTech MGL library" >&5
10449 if test "x$MGL_ROOT" = x
; then
10450 echo "$ac_t""not found" 1>&6
10451 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
10453 echo "$ac_t""$MGL_ROOT" 1>&6
10456 mgl_os
=linux
/gcc
/glibc
10459 if test "$wxUSE_DEBUG_FLAG" = yes ; then
10460 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
10461 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
10465 if test "x$mgl_lib_type" = x
; then
10466 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
10467 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
10468 mgl_lib_type
=release
10470 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
10474 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
10475 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
10477 AFMINSTALL
=afminstall
10482 if test "$wxUSE_WINE" = 1; then
10483 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
10484 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10485 echo "configure:10486: checking for windows.h" >&5
10486 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10487 echo $ac_n "(cached) $ac_c" 1>&6
10489 cat > conftest.
$ac_ext <<EOF
10490 #line 10491 "configure"
10491 #include "confdefs.h"
10492 #include <windows.h>
10494 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10495 { (eval echo configure
:10496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10496 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10497 if test -z "$ac_err"; then
10499 eval "ac_cv_header_$ac_safe=yes"
10502 echo "configure: failed program was:" >&5
10503 cat conftest.
$ac_ext >&5
10505 eval "ac_cv_header_$ac_safe=no"
10509 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10510 echo "$ac_t""yes" 1>&6
10513 echo "$ac_t""no" 1>&6
10515 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10521 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10522 echo "configure:10523: checking for Xpm library" >&5
10525 for ac_dir
in $SEARCH_LIB;
10527 for ac_extension
in a so sl dylib
; do
10528 if test -f "$ac_dir/libXpm.$ac_extension"; then
10529 ac_find_libraries
=$ac_dir
10535 if test "$ac_find_libraries" != "" ; then
10536 GUI_TK_LIBRARY
="-L$ac_find_libraries"
10538 cat >> confdefs.h
<<\EOF
10539 #define wxHAVE_LIB_XPM 1
10542 echo "$ac_t""found at $ac_find_libraries" 1>&6
10544 echo "$ac_t""no" 1>&6
10545 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10549 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
10550 echo "configure:10551: checking for Mesa library" >&5
10553 for ac_dir
in $SEARCH_LIB;
10555 for ac_extension
in a so sl dylib
; do
10556 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
10557 ac_find_libraries
=$ac_dir
10563 if test "$ac_find_libraries" != "" ; then
10564 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
10565 mesa_link
=" -lMesaGL"
10566 echo "$ac_t""found at $ac_find_libraries" 1>&6
10568 { echo "configure: error: no" 1>&2; exit 1; }
10571 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
10574 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
10577 if test "$wxUSE_MOTIF" = 1; then
10578 # If we find X, set shell vars x_includes and x_libraries to the
10579 # paths, otherwise set no_x=yes.
10580 # Uses ac_ vars as temps to allow command line to override cache and checks.
10581 # --without-x overrides everything else, but does not touch the cache.
10582 echo $ac_n "checking for X""... $ac_c" 1>&6
10583 echo "configure:10584: checking for X" >&5
10585 # Check whether --with-x or --without-x was given.
10586 if test "${with_x+set}" = set; then
10591 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10592 if test "x$with_x" = xno
; then
10593 # The user explicitly disabled X.
10596 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
10597 # Both variables are already set.
10600 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
10601 echo $ac_n "(cached) $ac_c" 1>&6
10603 # One or both of the vars are not set, and there is no cached value.
10604 ac_x_includes
=NO ac_x_libraries
=NO
10606 if mkdir conftestdir
; then
10608 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
10609 cat > Imakefile
<<'EOF'
10611 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10613 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10614 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10615 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10616 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10617 for ac_extension
in a so sl
; do
10618 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
10619 test -f $ac_im_libdir/libX11.
$ac_extension; then
10620 ac_im_usrlibdir
=$ac_im_libdir; break
10623 # Screen out bogus values from the imake configuration. They are
10624 # bogus both because they are the default anyway, and because
10625 # using them would break gcc on systems where it needs fixed includes.
10626 case "$ac_im_incroot" in
10628 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
10630 case "$ac_im_usrlibdir" in
10631 /usr
/lib
| /lib
) ;;
10632 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
10639 if test "$ac_x_includes" = NO
; then
10640 # Guess where to find include files, by looking for this one X11 .h file.
10641 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
10643 # First, try using that file with no special directory specified.
10644 cat > conftest.
$ac_ext <<EOF
10645 #line 10646 "configure"
10646 #include "confdefs.h"
10647 #include <$x_direct_test_include>
10649 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10650 { (eval echo configure
:10651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10651 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10652 if test -z "$ac_err"; then
10654 # We can compile using X headers with no special include directory.
10658 echo "configure: failed program was:" >&5
10659 cat conftest.
$ac_ext >&5
10661 # Look for the header file in a standard set of common directories.
10662 # Check X11 before X11Rn because it is often a symlink to the current release.
10665 /usr
/X
11R
6/include \
10666 /usr
/X
11R
5/include \
10667 /usr
/X
11R
4/include \
10670 /usr
/include
/X11R6 \
10671 /usr
/include
/X11R5 \
10672 /usr
/include
/X11R4 \
10674 /usr
/local
/X
11/include \
10675 /usr
/local
/X
11R
6/include \
10676 /usr
/local
/X
11R
5/include \
10677 /usr
/local
/X
11R
4/include \
10679 /usr
/local
/include
/X11 \
10680 /usr
/local
/include
/X11R6 \
10681 /usr
/local
/include
/X11R5 \
10682 /usr
/local
/include
/X11R4 \
10684 /usr
/X
386/include \
10685 /usr
/x
386/include \
10686 /usr
/XFree
86/include
/X11 \
10689 /usr
/local
/include \
10690 /usr
/unsupported
/include \
10691 /usr
/athena
/include \
10692 /usr
/local
/x
11r
5/include \
10693 /usr
/lpp
/Xamples
/include \
10695 /usr
/openwin
/include \
10696 /usr
/openwin
/share
/include \
10699 if test -r "$ac_dir/$x_direct_test_include"; then
10700 ac_x_includes
=$ac_dir
10706 fi # $ac_x_includes = NO
10708 if test "$ac_x_libraries" = NO
; then
10709 # Check for the libraries.
10711 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
10712 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
10714 # See if we find them without any special options.
10715 # Don't add to $LIBS permanently.
10716 ac_save_LIBS
="$LIBS"
10717 LIBS
="-l$x_direct_test_library $LIBS"
10718 cat > conftest.
$ac_ext <<EOF
10719 #line 10720 "configure"
10720 #include "confdefs.h"
10723 ${x_direct_test_function}()
10726 if { (eval echo configure
:10727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10728 LIBS
="$ac_save_LIBS"
10729 # We can link X programs with no special library path.
10732 echo "configure: failed program was:" >&5
10733 cat conftest.
$ac_ext >&5
10735 LIBS
="$ac_save_LIBS"
10736 # First see if replacing the include by lib works.
10737 # Check X11 before X11Rn because it is often a symlink to the current release.
10738 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
10749 /usr
/local
/X
11/lib \
10750 /usr
/local
/X
11R
6/lib \
10751 /usr
/local
/X
11R
5/lib \
10752 /usr
/local
/X
11R
4/lib \
10754 /usr
/local
/lib
/X11 \
10755 /usr
/local
/lib
/X11R6 \
10756 /usr
/local
/lib
/X11R5 \
10757 /usr
/local
/lib
/X11R4 \
10761 /usr
/XFree
86/lib
/X11 \
10765 /usr
/unsupported
/lib \
10767 /usr
/local
/x
11r
5/lib \
10768 /usr
/lpp
/Xamples
/lib \
10772 /usr
/openwin
/share
/lib \
10775 for ac_extension
in a so sl
; do
10776 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
10777 ac_x_libraries
=$ac_dir
10784 fi # $ac_x_libraries = NO
10786 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
10787 # Didn't find X anywhere. Cache the known absence of X.
10788 ac_cv_have_x
="have_x=no"
10790 # Record where we found X for the cache.
10791 ac_cv_have_x
="have_x=yes \
10792 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10796 eval "$ac_cv_have_x"
10799 if test "$have_x" != yes; then
10800 echo "$ac_t""$have_x" 1>&6
10803 # If each of the values was on the command line, it overrides each guess.
10804 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10805 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10806 # Update the cache value to reflect the command line values.
10807 ac_cv_have_x
="have_x=yes \
10808 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10809 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
10812 if test "$no_x" = yes; then
10813 # Not all programs may use this symbol, but it does not hurt to define it.
10814 cat >> confdefs.h
<<\EOF
10815 #define X_DISPLAY_MISSING 1
10818 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
10820 if test -n "$x_includes"; then
10821 X_CFLAGS
="$X_CFLAGS -I$x_includes"
10824 # It would also be nice to do this for all -L options, not just this one.
10825 if test -n "$x_libraries"; then
10826 X_LIBS
="$X_LIBS -L$x_libraries"
10827 # For Solaris; some versions of Sun CC require a space after -R and
10828 # others require no space. Words are not sufficient . . . .
10829 case "`(uname -sr) 2>/dev/null`" in
10831 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
10832 echo "configure:10833: checking whether -R must be followed by a space" >&5
10833 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
10834 cat > conftest.
$ac_ext <<EOF
10835 #line 10836 "configure"
10836 #include "confdefs.h"
10842 if { (eval echo configure
:10843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10846 echo "configure: failed program was:" >&5
10847 cat conftest.
$ac_ext >&5
10852 if test $ac_R_nospace = yes; then
10853 echo "$ac_t""no" 1>&6
10854 X_LIBS
="$X_LIBS -R$x_libraries"
10856 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10857 cat > conftest.
$ac_ext <<EOF
10858 #line 10859 "configure"
10859 #include "confdefs.h"
10865 if { (eval echo configure
:10866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10869 echo "configure: failed program was:" >&5
10870 cat conftest.
$ac_ext >&5
10875 if test $ac_R_space = yes; then
10876 echo "$ac_t""yes" 1>&6
10877 X_LIBS
="$X_LIBS -R $x_libraries"
10879 echo "$ac_t""neither works" 1>&6
10882 LIBS
="$ac_xsave_LIBS"
10886 # Check for system-dependent libraries X programs must link with.
10887 # Do this before checking for the system-independent R6 libraries
10888 # (-lICE), since we may need -lsocket or whatever for X linking.
10890 if test "$ISC" = yes; then
10891 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10893 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
10894 # libraries were built with DECnet support. And karl@cs.umb.edu says
10895 # the Alpha needs dnet_stub (dnet does not exist).
10896 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
10897 echo "configure:10898: checking for dnet_ntoa in -ldnet" >&5
10898 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10899 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10900 echo $ac_n "(cached) $ac_c" 1>&6
10902 ac_save_LIBS
="$LIBS"
10903 LIBS
="-ldnet $LIBS"
10904 cat > conftest.
$ac_ext <<EOF
10905 #line 10906 "configure"
10906 #include "confdefs.h"
10907 /* Override any gcc2 internal prototype to avoid an error. */
10908 /* We use char because int might match the return type of a gcc2
10909 builtin and then its argument prototype would still apply. */
10916 if { (eval echo configure
:10917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10918 eval "ac_cv_lib_$ac_lib_var=yes"
10920 echo "configure: failed program was:" >&5
10921 cat conftest.
$ac_ext >&5
10923 eval "ac_cv_lib_$ac_lib_var=no"
10926 LIBS
="$ac_save_LIBS"
10929 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10930 echo "$ac_t""yes" 1>&6
10931 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10933 echo "$ac_t""no" 1>&6
10936 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10937 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
10938 echo "configure:10939: checking for dnet_ntoa in -ldnet_stub" >&5
10939 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10940 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10941 echo $ac_n "(cached) $ac_c" 1>&6
10943 ac_save_LIBS
="$LIBS"
10944 LIBS
="-ldnet_stub $LIBS"
10945 cat > conftest.
$ac_ext <<EOF
10946 #line 10947 "configure"
10947 #include "confdefs.h"
10948 /* Override any gcc2 internal prototype to avoid an error. */
10949 /* We use char because int might match the return type of a gcc2
10950 builtin and then its argument prototype would still apply. */
10957 if { (eval echo configure
:10958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10959 eval "ac_cv_lib_$ac_lib_var=yes"
10961 echo "configure: failed program was:" >&5
10962 cat conftest.
$ac_ext >&5
10964 eval "ac_cv_lib_$ac_lib_var=no"
10967 LIBS
="$ac_save_LIBS"
10970 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10971 echo "$ac_t""yes" 1>&6
10972 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10974 echo "$ac_t""no" 1>&6
10979 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10980 # to get the SysV transport functions.
10981 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10983 # The nsl library prevents programs from opening the X display
10984 # on Irix 5.2, according to dickey@clark.net.
10985 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10986 echo "configure:10987: checking for gethostbyname" >&5
10987 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10988 echo $ac_n "(cached) $ac_c" 1>&6
10990 cat > conftest.
$ac_ext <<EOF
10991 #line 10992 "configure"
10992 #include "confdefs.h"
10993 /* System header to define __stub macros and hopefully few prototypes,
10994 which can conflict with char gethostbyname(); below. */
10995 #include <assert.h>
10996 /* Override any gcc2 internal prototype to avoid an error. */
10997 /* We use char because int might match the return type of a gcc2
10998 builtin and then its argument prototype would still apply. */
10999 char gethostbyname();
11003 /* The GNU C library defines this for functions which it implements
11004 to always fail with ENOSYS. Some functions are actually named
11005 something starting with __ and the normal name is an alias. */
11006 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11014 if { (eval echo configure
:11015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11016 eval "ac_cv_func_gethostbyname=yes"
11018 echo "configure: failed program was:" >&5
11019 cat conftest.
$ac_ext >&5
11021 eval "ac_cv_func_gethostbyname=no"
11026 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11027 echo "$ac_t""yes" 1>&6
11030 echo "$ac_t""no" 1>&6
11033 if test $ac_cv_func_gethostbyname = no
; then
11034 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11035 echo "configure:11036: checking for gethostbyname in -lnsl" >&5
11036 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11037 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11038 echo $ac_n "(cached) $ac_c" 1>&6
11040 ac_save_LIBS
="$LIBS"
11042 cat > conftest.
$ac_ext <<EOF
11043 #line 11044 "configure"
11044 #include "confdefs.h"
11045 /* Override any gcc2 internal prototype to avoid an error. */
11046 /* We use char because int might match the return type of a gcc2
11047 builtin and then its argument prototype would still apply. */
11048 char gethostbyname();
11054 if { (eval echo configure
:11055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11056 eval "ac_cv_lib_$ac_lib_var=yes"
11058 echo "configure: failed program was:" >&5
11059 cat conftest.
$ac_ext >&5
11061 eval "ac_cv_lib_$ac_lib_var=no"
11064 LIBS
="$ac_save_LIBS"
11067 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11068 echo "$ac_t""yes" 1>&6
11069 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
11071 echo "$ac_t""no" 1>&6
11076 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11077 # socket/setsockopt and other routines are undefined under SCO ODT
11078 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11079 # on later versions), says simon@lia.di.epfl.ch: it contains
11080 # gethostby* variants that don't use the nameserver (or something).
11081 # -lsocket must be given before -lnsl if both are needed.
11082 # We assume that if connect needs -lnsl, so does gethostbyname.
11083 echo $ac_n "checking for connect""... $ac_c" 1>&6
11084 echo "configure:11085: checking for connect" >&5
11085 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11086 echo $ac_n "(cached) $ac_c" 1>&6
11088 cat > conftest.
$ac_ext <<EOF
11089 #line 11090 "configure"
11090 #include "confdefs.h"
11091 /* System header to define __stub macros and hopefully few prototypes,
11092 which can conflict with char connect(); below. */
11093 #include <assert.h>
11094 /* Override any gcc2 internal prototype to avoid an error. */
11095 /* We use char because int might match the return type of a gcc2
11096 builtin and then its argument prototype would still apply. */
11101 /* The GNU C library defines this for functions which it implements
11102 to always fail with ENOSYS. Some functions are actually named
11103 something starting with __ and the normal name is an alias. */
11104 #if defined (__stub_connect) || defined (__stub___connect)
11112 if { (eval echo configure
:11113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11114 eval "ac_cv_func_connect=yes"
11116 echo "configure: failed program was:" >&5
11117 cat conftest.
$ac_ext >&5
11119 eval "ac_cv_func_connect=no"
11124 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11125 echo "$ac_t""yes" 1>&6
11128 echo "$ac_t""no" 1>&6
11131 if test $ac_cv_func_connect = no
; then
11132 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11133 echo "configure:11134: checking for connect in -lsocket" >&5
11134 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11135 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11136 echo $ac_n "(cached) $ac_c" 1>&6
11138 ac_save_LIBS
="$LIBS"
11139 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
11140 cat > conftest.
$ac_ext <<EOF
11141 #line 11142 "configure"
11142 #include "confdefs.h"
11143 /* Override any gcc2 internal prototype to avoid an error. */
11144 /* We use char because int might match the return type of a gcc2
11145 builtin and then its argument prototype would still apply. */
11152 if { (eval echo configure
:11153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11154 eval "ac_cv_lib_$ac_lib_var=yes"
11156 echo "configure: failed program was:" >&5
11157 cat conftest.
$ac_ext >&5
11159 eval "ac_cv_lib_$ac_lib_var=no"
11162 LIBS
="$ac_save_LIBS"
11165 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11166 echo "$ac_t""yes" 1>&6
11167 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
11169 echo "$ac_t""no" 1>&6
11174 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11175 echo $ac_n "checking for remove""... $ac_c" 1>&6
11176 echo "configure:11177: checking for remove" >&5
11177 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11178 echo $ac_n "(cached) $ac_c" 1>&6
11180 cat > conftest.
$ac_ext <<EOF
11181 #line 11182 "configure"
11182 #include "confdefs.h"
11183 /* System header to define __stub macros and hopefully few prototypes,
11184 which can conflict with char remove(); below. */
11185 #include <assert.h>
11186 /* Override any gcc2 internal prototype to avoid an error. */
11187 /* We use char because int might match the return type of a gcc2
11188 builtin and then its argument prototype would still apply. */
11193 /* The GNU C library defines this for functions which it implements
11194 to always fail with ENOSYS. Some functions are actually named
11195 something starting with __ and the normal name is an alias. */
11196 #if defined (__stub_remove) || defined (__stub___remove)
11204 if { (eval echo configure
:11205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11206 eval "ac_cv_func_remove=yes"
11208 echo "configure: failed program was:" >&5
11209 cat conftest.
$ac_ext >&5
11211 eval "ac_cv_func_remove=no"
11216 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
11217 echo "$ac_t""yes" 1>&6
11220 echo "$ac_t""no" 1>&6
11223 if test $ac_cv_func_remove = no
; then
11224 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
11225 echo "configure:11226: checking for remove in -lposix" >&5
11226 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
11227 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11228 echo $ac_n "(cached) $ac_c" 1>&6
11230 ac_save_LIBS
="$LIBS"
11231 LIBS
="-lposix $LIBS"
11232 cat > conftest.
$ac_ext <<EOF
11233 #line 11234 "configure"
11234 #include "confdefs.h"
11235 /* Override any gcc2 internal prototype to avoid an error. */
11236 /* We use char because int might match the return type of a gcc2
11237 builtin and then its argument prototype would still apply. */
11244 if { (eval echo configure
:11245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11246 eval "ac_cv_lib_$ac_lib_var=yes"
11248 echo "configure: failed program was:" >&5
11249 cat conftest.
$ac_ext >&5
11251 eval "ac_cv_lib_$ac_lib_var=no"
11254 LIBS
="$ac_save_LIBS"
11257 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11258 echo "$ac_t""yes" 1>&6
11259 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
11261 echo "$ac_t""no" 1>&6
11266 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11267 echo $ac_n "checking for shmat""... $ac_c" 1>&6
11268 echo "configure:11269: checking for shmat" >&5
11269 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
11270 echo $ac_n "(cached) $ac_c" 1>&6
11272 cat > conftest.
$ac_ext <<EOF
11273 #line 11274 "configure"
11274 #include "confdefs.h"
11275 /* System header to define __stub macros and hopefully few prototypes,
11276 which can conflict with char shmat(); below. */
11277 #include <assert.h>
11278 /* Override any gcc2 internal prototype to avoid an error. */
11279 /* We use char because int might match the return type of a gcc2
11280 builtin and then its argument prototype would still apply. */
11285 /* The GNU C library defines this for functions which it implements
11286 to always fail with ENOSYS. Some functions are actually named
11287 something starting with __ and the normal name is an alias. */
11288 #if defined (__stub_shmat) || defined (__stub___shmat)
11296 if { (eval echo configure
:11297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11298 eval "ac_cv_func_shmat=yes"
11300 echo "configure: failed program was:" >&5
11301 cat conftest.
$ac_ext >&5
11303 eval "ac_cv_func_shmat=no"
11308 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
11309 echo "$ac_t""yes" 1>&6
11312 echo "$ac_t""no" 1>&6
11315 if test $ac_cv_func_shmat = no
; then
11316 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
11317 echo "configure:11318: checking for shmat in -lipc" >&5
11318 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
11319 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11320 echo $ac_n "(cached) $ac_c" 1>&6
11322 ac_save_LIBS
="$LIBS"
11324 cat > conftest.
$ac_ext <<EOF
11325 #line 11326 "configure"
11326 #include "confdefs.h"
11327 /* Override any gcc2 internal prototype to avoid an error. */
11328 /* We use char because int might match the return type of a gcc2
11329 builtin and then its argument prototype would still apply. */
11336 if { (eval echo configure
:11337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11338 eval "ac_cv_lib_$ac_lib_var=yes"
11340 echo "configure: failed program was:" >&5
11341 cat conftest.
$ac_ext >&5
11343 eval "ac_cv_lib_$ac_lib_var=no"
11346 LIBS
="$ac_save_LIBS"
11349 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11350 echo "$ac_t""yes" 1>&6
11351 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
11353 echo "$ac_t""no" 1>&6
11359 # Check for libraries that X11R6 Xt/Xaw programs need.
11360 ac_save_LDFLAGS
="$LDFLAGS"
11361 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
11362 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11363 # check for ICE first), but we must link in the order -lSM -lICE or
11364 # we get undefined symbols. So assume we have SM if we have ICE.
11365 # These have to be linked with before -lX11, unlike the other
11366 # libraries we check for below, so use a different variable.
11367 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
11368 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
11369 echo "configure:11370: checking for IceConnectionNumber in -lICE" >&5
11370 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
11371 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11372 echo $ac_n "(cached) $ac_c" 1>&6
11374 ac_save_LIBS
="$LIBS"
11375 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
11376 cat > conftest.
$ac_ext <<EOF
11377 #line 11378 "configure"
11378 #include "confdefs.h"
11379 /* Override any gcc2 internal prototype to avoid an error. */
11380 /* We use char because int might match the return type of a gcc2
11381 builtin and then its argument prototype would still apply. */
11382 char IceConnectionNumber();
11385 IceConnectionNumber()
11388 if { (eval echo configure
:11389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11390 eval "ac_cv_lib_$ac_lib_var=yes"
11392 echo "configure: failed program was:" >&5
11393 cat conftest.
$ac_ext >&5
11395 eval "ac_cv_lib_$ac_lib_var=no"
11398 LIBS
="$ac_save_LIBS"
11401 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11402 echo "$ac_t""yes" 1>&6
11403 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
11405 echo "$ac_t""no" 1>&6
11408 LDFLAGS
="$ac_save_LDFLAGS"
11413 if test "$no_x" = "yes"; then
11414 { echo "configure: error: X11 not found" 1>&2; exit 1; }
11417 GUI_TK_LIBRARY
="$X_LIBS"
11418 TOOLKIT_INCLUDE
="$X_CFLAGS"
11419 AFMINSTALL
=afminstall
11420 COMPILED_X_PROGRAM
=0
11422 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
11423 echo "configure:11424: checking for Motif/Lesstif headers" >&5
11426 for ac_dir
in $SEARCH_INCLUDE;
11428 if test -f "$ac_dir/Xm/Xm.h"; then
11429 ac_find_includes
=$ac_dir
11434 if test "$ac_find_includes" != "" ; then
11435 echo "$ac_t""found $ac_find_includes" 1>&6
11437 cat > conftest.
$ac_ext <<EOF
11438 #line 11439 "configure"
11439 #include "confdefs.h"
11446 version = xmUseVersion;
11450 if { (eval echo configure
:11451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11453 echo "$ac_t""found in default search path" 1>&6
11454 COMPILED_X_PROGRAM
=1
11457 echo "configure: failed program was:" >&5
11458 cat conftest.
$ac_ext >&5
11461 echo "$ac_t""no" 1>&6
11462 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
11469 if test "$COMPILED_X_PROGRAM" = 0; then
11470 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
11471 echo "configure:11472: checking for Motif/Lesstif library" >&5
11474 for ac_dir
in $SEARCH_LIB;
11476 for ac_extension
in a so sl dylib
; do
11477 if test -f "$ac_dir/libXm.$ac_extension"; then
11478 ac_find_libraries
=$ac_dir
11484 if test "$ac_find_libraries" != "" ; then
11486 ac_path_to_include
=$ac_find_includes
11487 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
11489 if test $result = 0; then
11490 ac_path_to_include
=""
11492 ac_path_to_include
=" -I$ac_find_includes"
11496 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
11498 if test $result = 0; then
11501 ac_path_to_link
=" -L$ac_find_libraries"
11505 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
11506 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
11507 echo "$ac_t""found at $ac_find_libraries" 1>&6
11509 cat > conftest.
$ac_ext <<EOF
11510 #line 11511 "configure"
11511 #include "confdefs.h"
11518 version = xmUseVersion;
11522 if { (eval echo configure
:11523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11525 echo "$ac_t""found in default search path" 1>&6
11526 COMPILED_X_PROGRAM
=1
11529 echo "configure: failed program was:" >&5
11530 cat conftest.
$ac_ext >&5
11533 echo "$ac_t""no" 1>&6
11534 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
11543 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
11544 echo "configure:11545: checking for Xpm library" >&5
11547 for ac_dir
in $SEARCH_LIB;
11549 for ac_extension
in a so sl dylib
; do
11550 if test -f "$ac_dir/libXpm.$ac_extension"; then
11551 ac_find_libraries
=$ac_dir
11557 if test "$ac_find_libraries" != "" ; then
11559 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
11561 if test $result = 0; then
11564 ac_path_to_link
=" -L$ac_find_libraries"
11567 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
11569 cat >> confdefs.h
<<\EOF
11570 #define wxHAVE_LIB_XPM 1
11573 echo "$ac_t""found at $ac_find_libraries" 1>&6
11575 cat > conftest.
$ac_ext <<EOF
11576 #line 11577 "configure"
11577 #include "confdefs.h"
11579 #include <X11/xpm.h>
11584 version = XpmLibraryVersion();
11588 if { (eval echo configure
:11589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11592 cat >> confdefs.h
<<\EOF
11593 #define wxHAVE_LIB_XPM 1
11596 echo "$ac_t""found in default search path" 1>&6
11597 COMPILED_X_PROGRAM
=0
11600 echo "configure: failed program was:" >&5
11601 cat conftest.
$ac_ext >&5
11604 echo "$ac_t""no" 1>&6
11605 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
11612 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
11613 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
11618 if test "$wxUSE_MAC" = 1; then
11619 if test "$wxUSE_PRECOMP" = "yes"; then
11620 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
11622 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
11623 CFLAGS
="$CFLAGS -fpascal-strings"
11624 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
11625 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -DTARGET_CARBON"
11627 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
11632 if test "$wxUSE_PM" = 1; then
11637 if test "$TOOLKIT" = "PM" ; then
11640 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
11643 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
11645 if test "$wxUSE_UNIVERSAL" = "yes"; then
11646 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
11647 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
11648 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
11649 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
11652 ALL_OBJECTS
="\$(GUIOBJS)"
11655 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
11657 if test "$TOOLKIT" != "MSW"; then
11658 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
11661 if test "$wxUSE_HTML" = "yes"; then
11662 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
11665 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
11666 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
11668 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11669 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
11671 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11672 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
11674 if test "$wxUSE_LIBPNG" = "builtin" ; then
11675 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
11677 if test "$wxUSE_FREETYPE" = "builtin" ; then
11678 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
11681 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
11682 DISTDIR
="wx\$(TOOLKIT)"
11688 if test "$USE_WIN32" = 1 ; then
11689 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
11690 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
11694 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
11695 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
11698 PORT_FILES
="\${top_srcdir}/src/files.lst"
11700 GUIDIST
="BASE_DIST"
11704 if test "$wxUSE_REGEX" = "builtin" ; then
11705 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
11707 if test "$wxUSE_ZLIB" = "builtin" ; then
11708 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
11711 if test "$wxUSE_OPENGL" = "yes"; then
11712 if test "$wxUSE_MAC" = 1; then
11713 OPENGL_LIBS
="-framework OpenGL -framework AGL"
11716 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11717 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11718 echo "configure:11719: checking for GL/gl.h" >&5
11719 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11720 echo $ac_n "(cached) $ac_c" 1>&6
11722 cat > conftest.
$ac_ext <<EOF
11723 #line 11724 "configure"
11724 #include "confdefs.h"
11727 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11728 { (eval echo configure
:11729: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11729 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11730 if test -z "$ac_err"; then
11732 eval "ac_cv_header_$ac_safe=yes"
11735 echo "configure: failed program was:" >&5
11736 cat conftest.
$ac_ext >&5
11738 eval "ac_cv_header_$ac_safe=no"
11742 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11743 echo "$ac_t""yes" 1>&6
11745 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
11746 echo "configure:11747: checking for -lGL" >&5
11749 for ac_dir
in $SEARCH_LIB;
11751 for ac_extension
in a so sl dylib
; do
11752 if test -f "$ac_dir/libGL.$ac_extension"; then
11753 ac_find_libraries
=$ac_dir
11759 if test "$ac_find_libraries" != "" ; then
11761 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
11763 if test $result = 0; then
11766 ac_path_to_link
=" -L$ac_find_libraries"
11769 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
11770 OPENGL_LIBS
="-lGL -lGLU"
11771 echo "$ac_t""yes" 1>&6
11773 echo "$ac_t""no" 1>&6
11774 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
11775 echo "configure:11776: checking for -lMesaGL" >&5
11778 for ac_dir
in $SEARCH_LIB;
11780 for ac_extension
in a so sl dylib
; do
11781 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
11782 ac_find_libraries
=$ac_dir
11788 if test "$ac_find_libraries" != "" ; then
11790 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
11792 if test $result = 0; then
11795 ac_path_to_link
=" -L$ac_find_libraries"
11798 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
11799 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
11800 echo "$ac_t""yes" 1>&6
11802 echo "$ac_t""no" 1>&6
11807 echo "$ac_t""no" 1>&6
11812 # AC_CHECK_HEADER(GL/gl.h,
11814 # AC_CHECK_LIB(GL, glFlush,
11816 # OPENGL_LIBS="-lGL -lGLU"
11819 # AC_CHECK_LIB(MesaGL, glFlush,
11821 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
11829 if test "x$OPENGL_LIBS" = "x"; then
11830 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
11834 if test "$wxUSE_OPENGL" = "yes"; then
11835 cat >> confdefs.h
<<\EOF
11836 #define wxUSE_OPENGL 1
11839 cat >> confdefs.h
<<\EOF
11840 #define wxUSE_GLCANVAS 1
11843 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
11847 if test -z "$TOOLKIT_VPATH" ; then
11848 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
11851 if test -n "$TOOLKIT" ; then
11852 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
11855 lib_unicode_suffix
=
11856 if test "$wxUSE_UNICODE" = "yes"; then
11857 lib_unicode_suffix
=u
11861 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
11865 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
11866 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
11868 if test "$cross_compiling" = "yes"; then
11869 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
11870 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
11873 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
11874 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
11876 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11877 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11879 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
11880 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
11881 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
11882 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
11884 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
11885 WX_RESOURCES_MACOSX_COMPILED
="lib${WX_LIBRARY}.r"
11888 *-*-cygwin* | *-*-mingw32* )
11892 if test "$cross_compiling" != "yes"; then
11893 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
11894 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
11895 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
11896 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
11898 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
11899 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
11904 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
11905 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
11907 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
11908 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
11910 if test "$wxUSE_OPENGL" = "yes"; then
11911 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
11912 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
11917 if test "$wxUSE_SHARED" = "yes"; then
11919 if test "$wxUSE_OPENGL" = "yes"; then
11920 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11921 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
11923 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11924 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
11927 if test "$GCC" = "yes"; then
11931 SHARED_LD
="${CXX} -shared -o"
11935 if test "$GCC" != "yes"; then
11936 LDFLAGS
="$LDFLAGS -L/usr/lib"
11938 SHARED_LD
="${CXX} -b -o"
11942 if test "$wxUSE_OPENGL" = "yes"; then
11943 WX_ALL_INSTALLED
="preinstall_gl"
11944 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11946 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11951 if test "$GCC" != "yes"; then
11952 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
11953 echo "configure:11954: checking for Intel compiler" >&5
11954 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
11955 echo $ac_n "(cached) $ac_c" 1>&6
11958 cat > conftest.
$ac_ext <<EOF
11959 #line 11960 "configure"
11960 #include "confdefs.h"
11964 #ifndef __INTEL_COMPILER
11970 if { (eval echo configure
:11971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11974 echo "configure: failed program was:" >&5
11975 cat conftest.
$ac_ext >&5
11984 echo "$ac_t""$wx_cv_prog_icc" 1>&6
11985 if test "$wx_cv_prog_icc" = "yes"; then
11990 if test "$wxUSE_SONAME" = "yes" ; then
11991 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
11992 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
11993 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
11998 if test "$GCC" = yes ; then
11999 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
12001 SHARED_LD
="${CXX} -G -o"
12003 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
12004 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED}"
12009 CFLAGS
="$CFLAGS -fno-common -DDYLIB_INIT"
12010 CXXFLAGS
="$CXXFLAGS -fno-common -DDYLIB_INIT"
12011 SHARED_LD
="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
12012 PIC_FLAG
="-dynamic -fPIC"
12016 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
12019 *-*-cygwin* | *-*-mingw32* )
12021 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
12023 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
12024 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
12026 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
12028 if test "$wxUSE_OPENGL" = "yes"; then
12029 WX_ALL_INSTALLED
="preinstall_gl"
12030 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12032 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12036 *-pc-os2_emx | *-pc-os2-emx )
12041 SHARED_LD
="${LD} -shared -o"
12044 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
12046 *-*-irix5* | *-*-irix6* | \
12053 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
12056 if test "x$WX_TARGET_LIBRARY" = "x"; then
12057 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
12058 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
12061 WX_TARGET_LIBRARY_TYPE
="so"
12062 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
12065 if test "$wxUSE_SHARED" = "no"; then
12067 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
12068 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12071 if test "$wxUSE_MAC" = 1; then
12072 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12075 if test "$wxUSE_OPENGL" = "yes"; then
12076 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
12077 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
12079 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
12082 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
12083 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
12085 WX_TARGET_LIBRARY_TYPE
="a"
12086 INSTALL_LIBRARY
='$(INSTALL_DATA)'
12089 if test "$wxUSE_MAC" = 1; then
12090 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
12091 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
12092 # Extract the first word of "Rez", so it can be a program name with args.
12093 set dummy Rez
; ac_word
=$2
12094 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12095 echo "configure:12096: checking for $ac_word" >&5
12096 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
12097 echo $ac_n "(cached) $ac_c" 1>&6
12099 if test -n "$RESCOMP"; then
12100 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
12102 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12104 for ac_dir
in $ac_dummy; do
12105 test -z "$ac_dir" && ac_dir
=.
12106 if test -f $ac_dir/$ac_word; then
12107 ac_cv_prog_RESCOMP
="Rez"
12112 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
12115 RESCOMP
="$ac_cv_prog_RESCOMP"
12116 if test -n "$RESCOMP"; then
12117 echo "$ac_t""$RESCOMP" 1>&6
12119 echo "$ac_t""no" 1>&6
12122 # Extract the first word of "DeRez", so it can be a program name with args.
12123 set dummy DeRez
; ac_word
=$2
12124 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12125 echo "configure:12126: checking for $ac_word" >&5
12126 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
12127 echo $ac_n "(cached) $ac_c" 1>&6
12129 if test -n "$DEREZ"; then
12130 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
12132 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12134 for ac_dir
in $ac_dummy; do
12135 test -z "$ac_dir" && ac_dir
=.
12136 if test -f $ac_dir/$ac_word; then
12137 ac_cv_prog_DEREZ
="DeRez"
12142 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
12145 DEREZ
="$ac_cv_prog_DEREZ"
12146 if test -n "$DEREZ"; then
12147 echo "$ac_t""$DEREZ" 1>&6
12149 echo "$ac_t""no" 1>&6
12152 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
12153 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
12154 LIBWXMACRESWXCONFIG
="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
12158 if test "$wxUSE_MAC" != 1; then
12159 for ac_hdr
in strings.h
12161 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12162 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12163 echo "configure:12164: checking for $ac_hdr" >&5
12164 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12165 echo $ac_n "(cached) $ac_c" 1>&6
12167 cat > conftest.
$ac_ext <<EOF
12168 #line 12169 "configure"
12169 #include "confdefs.h"
12172 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12173 { (eval echo configure
:12174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12174 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12175 if test -z "$ac_err"; then
12177 eval "ac_cv_header_$ac_safe=yes"
12180 echo "configure: failed program was:" >&5
12181 cat conftest.
$ac_ext >&5
12183 eval "ac_cv_header_$ac_safe=no"
12187 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12188 echo "$ac_t""yes" 1>&6
12189 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12190 cat >> confdefs.h
<<EOF
12191 #define $ac_tr_hdr 1
12195 echo "$ac_t""no" 1>&6
12201 for ac_hdr
in stdlib.h
12203 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12204 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12205 echo "configure:12206: checking for $ac_hdr" >&5
12206 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12207 echo $ac_n "(cached) $ac_c" 1>&6
12209 cat > conftest.
$ac_ext <<EOF
12210 #line 12211 "configure"
12211 #include "confdefs.h"
12214 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12215 { (eval echo configure
:12216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12216 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12217 if test -z "$ac_err"; then
12219 eval "ac_cv_header_$ac_safe=yes"
12222 echo "configure: failed program was:" >&5
12223 cat conftest.
$ac_ext >&5
12225 eval "ac_cv_header_$ac_safe=no"
12229 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12230 echo "$ac_t""yes" 1>&6
12231 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12232 cat >> confdefs.h
<<EOF
12233 #define $ac_tr_hdr 1
12237 echo "$ac_t""no" 1>&6
12241 for ac_hdr
in malloc.h
12243 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12244 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12245 echo "configure:12246: checking for $ac_hdr" >&5
12246 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12247 echo $ac_n "(cached) $ac_c" 1>&6
12249 cat > conftest.
$ac_ext <<EOF
12250 #line 12251 "configure"
12251 #include "confdefs.h"
12254 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12255 { (eval echo configure
:12256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12256 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12257 if test -z "$ac_err"; then
12259 eval "ac_cv_header_$ac_safe=yes"
12262 echo "configure: failed program was:" >&5
12263 cat conftest.
$ac_ext >&5
12265 eval "ac_cv_header_$ac_safe=no"
12269 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12270 echo "$ac_t""yes" 1>&6
12271 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12272 cat >> confdefs.h
<<EOF
12273 #define $ac_tr_hdr 1
12277 echo "$ac_t""no" 1>&6
12281 for ac_hdr
in unistd.h
12283 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12284 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12285 echo "configure:12286: checking for $ac_hdr" >&5
12286 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12287 echo $ac_n "(cached) $ac_c" 1>&6
12289 cat > conftest.
$ac_ext <<EOF
12290 #line 12291 "configure"
12291 #include "confdefs.h"
12294 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12295 { (eval echo configure
:12296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12296 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12297 if test -z "$ac_err"; then
12299 eval "ac_cv_header_$ac_safe=yes"
12302 echo "configure: failed program was:" >&5
12303 cat conftest.
$ac_ext >&5
12305 eval "ac_cv_header_$ac_safe=no"
12309 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12310 echo "$ac_t""yes" 1>&6
12311 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12312 cat >> confdefs.h
<<EOF
12313 #define $ac_tr_hdr 1
12317 echo "$ac_t""no" 1>&6
12321 for ac_hdr
in wchar.h
12323 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12324 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12325 echo "configure:12326: checking for $ac_hdr" >&5
12326 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12327 echo $ac_n "(cached) $ac_c" 1>&6
12329 cat > conftest.
$ac_ext <<EOF
12330 #line 12331 "configure"
12331 #include "confdefs.h"
12334 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12335 { (eval echo configure
:12336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12336 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12337 if test -z "$ac_err"; then
12339 eval "ac_cv_header_$ac_safe=yes"
12342 echo "configure: failed program was:" >&5
12343 cat conftest.
$ac_ext >&5
12345 eval "ac_cv_header_$ac_safe=no"
12349 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12350 echo "$ac_t""yes" 1>&6
12351 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12352 cat >> confdefs.h
<<EOF
12353 #define $ac_tr_hdr 1
12357 echo "$ac_t""no" 1>&6
12361 for ac_hdr
in wcstr.h
12363 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12364 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12365 echo "configure:12366: checking for $ac_hdr" >&5
12366 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12367 echo $ac_n "(cached) $ac_c" 1>&6
12369 cat > conftest.
$ac_ext <<EOF
12370 #line 12371 "configure"
12371 #include "confdefs.h"
12374 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12375 { (eval echo configure
:12376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12376 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12377 if test -z "$ac_err"; then
12379 eval "ac_cv_header_$ac_safe=yes"
12382 echo "configure: failed program was:" >&5
12383 cat conftest.
$ac_ext >&5
12385 eval "ac_cv_header_$ac_safe=no"
12389 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12390 echo "$ac_t""yes" 1>&6
12391 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12392 cat >> confdefs.h
<<EOF
12393 #define $ac_tr_hdr 1
12397 echo "$ac_t""no" 1>&6
12401 for ac_hdr
in wctype.h
12403 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12404 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12405 echo "configure:12406: checking for $ac_hdr" >&5
12406 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12407 echo $ac_n "(cached) $ac_c" 1>&6
12409 cat > conftest.
$ac_ext <<EOF
12410 #line 12411 "configure"
12411 #include "confdefs.h"
12414 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12415 { (eval echo configure
:12416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12416 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12417 if test -z "$ac_err"; then
12419 eval "ac_cv_header_$ac_safe=yes"
12422 echo "configure: failed program was:" >&5
12423 cat conftest.
$ac_ext >&5
12425 eval "ac_cv_header_$ac_safe=no"
12429 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12430 echo "$ac_t""yes" 1>&6
12431 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12432 cat >> confdefs.h
<<EOF
12433 #define $ac_tr_hdr 1
12437 echo "$ac_t""no" 1>&6
12441 for ac_hdr
in fnmatch.h
12443 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12444 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12445 echo "configure:12446: checking for $ac_hdr" >&5
12446 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12447 echo $ac_n "(cached) $ac_c" 1>&6
12449 cat > conftest.
$ac_ext <<EOF
12450 #line 12451 "configure"
12451 #include "confdefs.h"
12454 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12455 { (eval echo configure
:12456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12456 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12457 if test -z "$ac_err"; then
12459 eval "ac_cv_header_$ac_safe=yes"
12462 echo "configure: failed program was:" >&5
12463 cat conftest.
$ac_ext >&5
12465 eval "ac_cv_header_$ac_safe=no"
12469 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12470 echo "$ac_t""yes" 1>&6
12471 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12472 cat >> confdefs.h
<<EOF
12473 #define $ac_tr_hdr 1
12477 echo "$ac_t""no" 1>&6
12481 for ac_hdr
in iconv.h
12483 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12484 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12485 echo "configure:12486: checking for $ac_hdr" >&5
12486 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12487 echo $ac_n "(cached) $ac_c" 1>&6
12489 cat > conftest.
$ac_ext <<EOF
12490 #line 12491 "configure"
12491 #include "confdefs.h"
12494 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12495 { (eval echo configure
:12496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12496 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12497 if test -z "$ac_err"; then
12499 eval "ac_cv_header_$ac_safe=yes"
12502 echo "configure: failed program was:" >&5
12503 cat conftest.
$ac_ext >&5
12505 eval "ac_cv_header_$ac_safe=no"
12509 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12510 echo "$ac_t""yes" 1>&6
12511 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12512 cat >> confdefs.h
<<EOF
12513 #define $ac_tr_hdr 1
12517 echo "$ac_t""no" 1>&6
12521 for ac_hdr
in langinfo.h
12523 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12524 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12525 echo "configure:12526: checking for $ac_hdr" >&5
12526 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12527 echo $ac_n "(cached) $ac_c" 1>&6
12529 cat > conftest.
$ac_ext <<EOF
12530 #line 12531 "configure"
12531 #include "confdefs.h"
12534 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12535 { (eval echo configure
:12536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12536 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12537 if test -z "$ac_err"; then
12539 eval "ac_cv_header_$ac_safe=yes"
12542 echo "configure: failed program was:" >&5
12543 cat conftest.
$ac_ext >&5
12545 eval "ac_cv_header_$ac_safe=no"
12549 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12550 echo "$ac_t""yes" 1>&6
12551 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12552 cat >> confdefs.h
<<EOF
12553 #define $ac_tr_hdr 1
12557 echo "$ac_t""no" 1>&6
12562 if test "$wxUSE_GUI" = "yes"; then
12563 if test "$wxUSE_UNIX" = "yes"; then
12564 for ac_hdr
in X
11/XKBlib.h
12566 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12567 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12568 echo "configure:12569: checking for $ac_hdr" >&5
12569 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12570 echo $ac_n "(cached) $ac_c" 1>&6
12572 cat > conftest.
$ac_ext <<EOF
12573 #line 12574 "configure"
12574 #include "confdefs.h"
12577 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12578 { (eval echo configure
:12579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12579 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12580 if test -z "$ac_err"; then
12582 eval "ac_cv_header_$ac_safe=yes"
12585 echo "configure: failed program was:" >&5
12586 cat conftest.
$ac_ext >&5
12588 eval "ac_cv_header_$ac_safe=no"
12592 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12593 echo "$ac_t""yes" 1>&6
12594 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12595 cat >> confdefs.h
<<EOF
12596 #define $ac_tr_hdr 1
12600 echo "$ac_t""no" 1>&6
12608 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
12609 echo "configure:12610: checking for ANSI C header files" >&5
12610 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
12611 echo $ac_n "(cached) $ac_c" 1>&6
12613 cat > conftest.
$ac_ext <<EOF
12614 #line 12615 "configure"
12615 #include "confdefs.h"
12616 #include <stdlib.h>
12617 #include <stdarg.h>
12618 #include <string.h>
12621 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12622 { (eval echo configure
:12623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12623 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12624 if test -z "$ac_err"; then
12626 ac_cv_header_stdc
=yes
12629 echo "configure: failed program was:" >&5
12630 cat conftest.
$ac_ext >&5
12632 ac_cv_header_stdc
=no
12636 if test $ac_cv_header_stdc = yes; then
12637 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12638 cat > conftest.
$ac_ext <<EOF
12639 #line 12640 "configure"
12640 #include "confdefs.h"
12641 #include <string.h>
12643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12644 egrep "memchr" >/dev
/null
2>&1; then
12648 ac_cv_header_stdc
=no
12654 if test $ac_cv_header_stdc = yes; then
12655 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12656 cat > conftest.
$ac_ext <<EOF
12657 #line 12658 "configure"
12658 #include "confdefs.h"
12659 #include <stdlib.h>
12661 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12662 egrep "free" >/dev
/null
2>&1; then
12666 ac_cv_header_stdc
=no
12672 if test $ac_cv_header_stdc = yes; then
12673 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12674 if test "$cross_compiling" = yes; then
12677 cat > conftest.
$ac_ext <<EOF
12678 #line 12679 "configure"
12679 #include "confdefs.h"
12681 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12682 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12683 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12684 int main () { int i; for (i = 0; i < 256; i++)
12685 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
12689 if { (eval echo configure
:12690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12693 echo "configure: failed program was:" >&5
12694 cat conftest.
$ac_ext >&5
12696 ac_cv_header_stdc
=no
12704 echo "$ac_t""$ac_cv_header_stdc" 1>&6
12705 if test $ac_cv_header_stdc = yes; then
12706 cat >> confdefs.h
<<\EOF
12707 #define STDC_HEADERS 1
12712 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
12713 echo "configure:12714: checking for mode_t" >&5
12714 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
12715 echo $ac_n "(cached) $ac_c" 1>&6
12717 cat > conftest.
$ac_ext <<EOF
12718 #line 12719 "configure"
12719 #include "confdefs.h"
12720 #include <sys/types.h>
12722 #include <stdlib.h>
12723 #include <stddef.h>
12726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12727 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12729 ac_cv_type_mode_t
=yes
12732 ac_cv_type_mode_t
=no
12737 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
12738 if test $ac_cv_type_mode_t = no
; then
12739 cat >> confdefs.h
<<\EOF
12745 echo $ac_n "checking for off_t""... $ac_c" 1>&6
12746 echo "configure:12747: checking for off_t" >&5
12747 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
12748 echo $ac_n "(cached) $ac_c" 1>&6
12750 cat > conftest.
$ac_ext <<EOF
12751 #line 12752 "configure"
12752 #include "confdefs.h"
12753 #include <sys/types.h>
12755 #include <stdlib.h>
12756 #include <stddef.h>
12759 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12760 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12762 ac_cv_type_off_t
=yes
12765 ac_cv_type_off_t
=no
12770 echo "$ac_t""$ac_cv_type_off_t" 1>&6
12771 if test $ac_cv_type_off_t = no
; then
12772 cat >> confdefs.h
<<\EOF
12778 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
12779 echo "configure:12780: checking for pid_t" >&5
12780 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
12781 echo $ac_n "(cached) $ac_c" 1>&6
12783 cat > conftest.
$ac_ext <<EOF
12784 #line 12785 "configure"
12785 #include "confdefs.h"
12786 #include <sys/types.h>
12788 #include <stdlib.h>
12789 #include <stddef.h>
12792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12793 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12795 ac_cv_type_pid_t
=yes
12798 ac_cv_type_pid_t
=no
12803 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
12804 if test $ac_cv_type_pid_t = no
; then
12805 cat >> confdefs.h
<<\EOF
12811 echo $ac_n "checking for size_t""... $ac_c" 1>&6
12812 echo "configure:12813: checking for size_t" >&5
12813 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
12814 echo $ac_n "(cached) $ac_c" 1>&6
12816 cat > conftest.
$ac_ext <<EOF
12817 #line 12818 "configure"
12818 #include "confdefs.h"
12819 #include <sys/types.h>
12821 #include <stdlib.h>
12822 #include <stddef.h>
12825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12826 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12828 ac_cv_type_size_t
=yes
12831 ac_cv_type_size_t
=no
12836 echo "$ac_t""$ac_cv_type_size_t" 1>&6
12837 if test $ac_cv_type_size_t = no
; then
12838 cat >> confdefs.h
<<\EOF
12839 #define size_t unsigned
12844 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
12845 echo "configure:12846: checking for uid_t in sys/types.h" >&5
12846 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
12847 echo $ac_n "(cached) $ac_c" 1>&6
12849 cat > conftest.
$ac_ext <<EOF
12850 #line 12851 "configure"
12851 #include "confdefs.h"
12852 #include <sys/types.h>
12854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12855 egrep "uid_t" >/dev
/null
2>&1; then
12857 ac_cv_type_uid_t
=yes
12860 ac_cv_type_uid_t
=no
12866 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
12867 if test $ac_cv_type_uid_t = no
; then
12868 cat >> confdefs.h
<<\EOF
12872 cat >> confdefs.h
<<\EOF
12879 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
12880 echo "configure:12881: checking for wchar_t" >&5
12881 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
12882 echo $ac_n "(cached) $ac_c" 1>&6
12885 cat > conftest.
$ac_ext <<EOF
12886 #line 12887 "configure"
12887 #include "confdefs.h"
12889 #ifdef HAVE_WCHAR_H
12891 # include <stddef.h>
12893 # include <wchar.h>
12895 #ifdef HAVE_STDLIB_H
12896 # include <stdlib.h>
12903 ws = L"Hello, world!";
12907 if { (eval echo configure
:12908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12909 wx_cv_type_wchar_t
=yes
12911 echo "configure: failed program was:" >&5
12912 cat conftest.
$ac_ext >&5
12914 wx_cv_type_wchar_t
=no
12921 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
12923 if test "$wx_cv_type_wchar_t" = "yes"; then
12924 cat >> confdefs.h
<<\EOF
12925 #define wxUSE_WCHAR_T 1
12932 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12933 ac_cpp
='$CXXCPP $CPPFLAGS'
12934 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12935 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12936 cross_compiling
=$ac_cv_prog_cxx_cross
12938 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
12939 echo "configure:12940: checking if size_t is unsigned int" >&5
12940 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
12941 echo $ac_n "(cached) $ac_c" 1>&6
12943 cat > conftest.
$ac_ext <<EOF
12944 #line 12945 "configure"
12945 #include "confdefs.h"
12946 #include <stddef.h>
12951 struct Foo { void foo(size_t); void foo(unsigned int); };
12957 if { (eval echo configure
:12958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12959 wx_cv_size_t_is_uint
=no
12961 echo "configure: failed program was:" >&5
12962 cat conftest.
$ac_ext >&5
12964 wx_cv_size_t_is_uint
=yes
12971 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
12973 if test "$wx_cv_size_t_is_uint" = "yes"; then
12974 cat >> confdefs.h
<<\EOF
12975 #define wxSIZE_T_IS_UINT 1
12979 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
12980 echo "configure:12981: checking if size_t is unsigned long" >&5
12981 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
12982 echo $ac_n "(cached) $ac_c" 1>&6
12984 cat > conftest.
$ac_ext <<EOF
12985 #line 12986 "configure"
12986 #include "confdefs.h"
12987 #include <stddef.h>
12992 struct Foo { void foo(size_t); void foo(unsigned long); };
12998 if { (eval echo configure
:12999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13000 wx_cv_size_t_is_ulong
=no
13002 echo "configure: failed program was:" >&5
13003 cat conftest.
$ac_ext >&5
13005 wx_cv_size_t_is_ulong
=yes
13012 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
13014 if test "$wx_cv_size_t_is_ulong" = "yes"; then
13015 cat >> confdefs.h
<<\EOF
13016 #define wxSIZE_T_IS_ULONG 1
13023 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13024 ac_cpp
='$CPP $CPPFLAGS'
13025 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13026 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13027 cross_compiling
=$ac_cv_prog_cc_cross
13031 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
13032 echo "configure:13033: checking for pw_gecos in struct passwd" >&5
13033 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
13034 echo $ac_n "(cached) $ac_c" 1>&6
13037 cat > conftest.
$ac_ext <<EOF
13038 #line 13039 "configure"
13039 #include "confdefs.h"
13049 if { (eval echo configure
:13050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13052 wx_cv_struct_pw_gecos
=yes
13055 echo "configure: failed program was:" >&5
13056 cat conftest.
$ac_ext >&5
13059 wx_cv_struct_pw_gecos
=no
13068 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
13070 if test "$wx_cv_struct_pw_gecos" = "yes"; then
13071 cat >> confdefs.h
<<\EOF
13072 #define HAVE_PW_GECOS 1
13078 echo $ac_n "checking for working const""... $ac_c" 1>&6
13079 echo "configure:13080: checking for working const" >&5
13080 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
13081 echo $ac_n "(cached) $ac_c" 1>&6
13083 cat > conftest.
$ac_ext <<EOF
13084 #line 13085 "configure"
13085 #include "confdefs.h"
13089 /* Ultrix mips cc rejects this. */
13090 typedef int charset[2]; const charset x;
13091 /* SunOS 4.1.1 cc rejects this. */
13092 char const *const *ccp;
13094 /* NEC SVR4.0.2 mips cc rejects this. */
13095 struct point {int x, y;};
13096 static struct point const zero = {0,0};
13097 /* AIX XL C 1.02.0.0 rejects this.
13098 It does not let you subtract one const X* pointer from another in an arm
13099 of an if-expression whose if-part is not a constant expression */
13100 const char *g = "string";
13101 ccp = &g + (g ? g-g : 0);
13102 /* HPUX 7.0 cc rejects these. */
13105 ccp = (char const *const *) p;
13106 { /* SCO 3.2v4 cc rejects this. */
13108 char const *s = 0 ? (char *) 0 : (char const *) 0;
13112 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13113 int x[] = {25, 17};
13114 const int *foo = &x[0];
13117 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13118 typedef const int *iptr;
13122 { /* AIX XL C 1.02.0.0 rejects this saying
13123 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13124 struct s { int j; const int *ap[3]; };
13125 struct s *b; b->j = 5;
13127 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13128 const int foo = 10;
13133 if { (eval echo configure
:13134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13137 echo "configure: failed program was:" >&5
13138 cat conftest.
$ac_ext >&5
13145 echo "$ac_t""$ac_cv_c_const" 1>&6
13146 if test $ac_cv_c_const = no
; then
13147 cat >> confdefs.h
<<\EOF
13153 echo $ac_n "checking for inline""... $ac_c" 1>&6
13154 echo "configure:13155: checking for inline" >&5
13155 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
13156 echo $ac_n "(cached) $ac_c" 1>&6
13159 for ac_kw
in inline __inline__ __inline
; do
13160 cat > conftest.
$ac_ext <<EOF
13161 #line 13162 "configure"
13162 #include "confdefs.h"
13168 if { (eval echo configure
:13169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13170 ac_cv_c_inline
=$ac_kw; break
13172 echo "configure: failed program was:" >&5
13173 cat conftest.
$ac_ext >&5
13180 echo "$ac_t""$ac_cv_c_inline" 1>&6
13181 case "$ac_cv_c_inline" in
13183 no
) cat >> confdefs.h
<<\EOF
13187 *) cat >> confdefs.h
<<EOF
13188 #define inline $ac_cv_c_inline
13194 echo $ac_n "checking size of char""... $ac_c" 1>&6
13195 echo "configure:13196: checking size of char" >&5
13196 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
13197 echo $ac_n "(cached) $ac_c" 1>&6
13199 if test "$cross_compiling" = yes; then
13200 ac_cv_sizeof_char
=1
13202 cat > conftest.
$ac_ext <<EOF
13203 #line 13204 "configure"
13204 #include "confdefs.h"
13208 FILE *f=fopen("conftestval", "w");
13210 fprintf(f, "%d\n", sizeof(char));
13214 if { (eval echo configure
:13215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13216 ac_cv_sizeof_char
=`cat conftestval`
13218 echo "configure: failed program was:" >&5
13219 cat conftest.
$ac_ext >&5
13221 ac_cv_sizeof_char
=0
13227 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
13228 cat >> confdefs.h
<<EOF
13229 #define SIZEOF_CHAR $ac_cv_sizeof_char
13233 echo $ac_n "checking size of short""... $ac_c" 1>&6
13234 echo "configure:13235: checking size of short" >&5
13235 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
13236 echo $ac_n "(cached) $ac_c" 1>&6
13238 if test "$cross_compiling" = yes; then
13239 ac_cv_sizeof_short
=2
13241 cat > conftest.
$ac_ext <<EOF
13242 #line 13243 "configure"
13243 #include "confdefs.h"
13247 FILE *f=fopen("conftestval", "w");
13249 fprintf(f, "%d\n", sizeof(short));
13253 if { (eval echo configure
:13254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13255 ac_cv_sizeof_short
=`cat conftestval`
13257 echo "configure: failed program was:" >&5
13258 cat conftest.
$ac_ext >&5
13260 ac_cv_sizeof_short
=0
13266 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
13267 cat >> confdefs.h
<<EOF
13268 #define SIZEOF_SHORT $ac_cv_sizeof_short
13272 echo $ac_n "checking size of int *""... $ac_c" 1>&6
13273 echo "configure:13274: checking size of int *" >&5
13274 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
13275 echo $ac_n "(cached) $ac_c" 1>&6
13277 if test "$cross_compiling" = yes; then
13278 ac_cv_sizeof_int_p
=4
13280 cat > conftest.
$ac_ext <<EOF
13281 #line 13282 "configure"
13282 #include "confdefs.h"
13286 FILE *f=fopen("conftestval", "w");
13288 fprintf(f, "%d\n", sizeof(int *));
13292 if { (eval echo configure
:13293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13294 ac_cv_sizeof_int_p
=`cat conftestval`
13296 echo "configure: failed program was:" >&5
13297 cat conftest.
$ac_ext >&5
13299 ac_cv_sizeof_int_p
=0
13305 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
13306 cat >> confdefs.h
<<EOF
13307 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
13311 echo $ac_n "checking size of int""... $ac_c" 1>&6
13312 echo "configure:13313: checking size of int" >&5
13313 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
13314 echo $ac_n "(cached) $ac_c" 1>&6
13316 if test "$cross_compiling" = yes; then
13319 cat > conftest.
$ac_ext <<EOF
13320 #line 13321 "configure"
13321 #include "confdefs.h"
13325 FILE *f=fopen("conftestval", "w");
13327 fprintf(f, "%d\n", sizeof(int));
13331 if { (eval echo configure
:13332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13333 ac_cv_sizeof_int
=`cat conftestval`
13335 echo "configure: failed program was:" >&5
13336 cat conftest.
$ac_ext >&5
13344 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
13345 cat >> confdefs.h
<<EOF
13346 #define SIZEOF_INT $ac_cv_sizeof_int
13350 echo $ac_n "checking size of long""... $ac_c" 1>&6
13351 echo "configure:13352: checking size of long" >&5
13352 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
13353 echo $ac_n "(cached) $ac_c" 1>&6
13355 if test "$cross_compiling" = yes; then
13356 ac_cv_sizeof_long
=4
13358 cat > conftest.
$ac_ext <<EOF
13359 #line 13360 "configure"
13360 #include "confdefs.h"
13364 FILE *f=fopen("conftestval", "w");
13366 fprintf(f, "%d\n", sizeof(long));
13370 if { (eval echo configure
:13371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13372 ac_cv_sizeof_long
=`cat conftestval`
13374 echo "configure: failed program was:" >&5
13375 cat conftest.
$ac_ext >&5
13377 ac_cv_sizeof_long
=0
13383 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
13384 cat >> confdefs.h
<<EOF
13385 #define SIZEOF_LONG $ac_cv_sizeof_long
13389 echo $ac_n "checking size of long long""... $ac_c" 1>&6
13390 echo "configure:13391: checking size of long long" >&5
13391 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
13392 echo $ac_n "(cached) $ac_c" 1>&6
13394 if test "$cross_compiling" = yes; then
13395 ac_cv_sizeof_long_long
=0
13397 cat > conftest.
$ac_ext <<EOF
13398 #line 13399 "configure"
13399 #include "confdefs.h"
13403 FILE *f=fopen("conftestval", "w");
13405 fprintf(f, "%d\n", sizeof(long long));
13409 if { (eval echo configure
:13410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13411 ac_cv_sizeof_long_long
=`cat conftestval`
13413 echo "configure: failed program was:" >&5
13414 cat conftest.
$ac_ext >&5
13416 ac_cv_sizeof_long_long
=0
13422 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
13423 cat >> confdefs.h
<<EOF
13424 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13429 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
13430 echo "configure:13431: checking size of wchar_t" >&5
13431 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
13432 echo $ac_n "(cached) $ac_c" 1>&6
13435 if test "$cross_compiling" = yes; then
13436 wx_cv_sizeof_wchar_t
=4
13439 cat > conftest.
$ac_ext <<EOF
13440 #line 13441 "configure"
13441 #include "confdefs.h"
13443 #ifdef HAVE_WCHAR_H
13445 # include <stddef.h>
13447 # include <wchar.h>
13449 #ifdef HAVE_STDLIB_H
13450 # include <stdlib.h>
13455 FILE *f=fopen("conftestval", "w");
13457 fprintf(f, "%i", sizeof(wchar_t));
13462 if { (eval echo configure
:13463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13464 wx_cv_sizeof_wchar_t
=`cat conftestval`
13466 echo "configure: failed program was:" >&5
13467 cat conftest.
$ac_ext >&5
13469 wx_cv_sizeof_wchar_t
=0
13477 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
13479 cat >> confdefs.h
<<EOF
13480 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
13484 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
13485 echo "configure:13486: checking whether byte ordering is bigendian" >&5
13486 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
13487 echo $ac_n "(cached) $ac_c" 1>&6
13489 ac_cv_c_bigendian
=unknown
13490 # See if sys/param.h defines the BYTE_ORDER macro.
13491 cat > conftest.
$ac_ext <<EOF
13492 #line 13493 "configure"
13493 #include "confdefs.h"
13494 #include <sys/types.h>
13495 #include <sys/param.h>
13498 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
13499 bogus endian macros
13503 if { (eval echo configure
:13504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13505 # It does; now see whether it defined to BIG_ENDIAN or not.
13506 cat > conftest.
$ac_ext <<EOF
13507 #line 13508 "configure"
13508 #include "confdefs.h"
13509 #include <sys/types.h>
13510 #include <sys/param.h>
13513 #if BYTE_ORDER != BIG_ENDIAN
13518 if { (eval echo configure
:13519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13520 ac_cv_c_bigendian
=yes
13522 echo "configure: failed program was:" >&5
13523 cat conftest.
$ac_ext >&5
13525 ac_cv_c_bigendian
=no
13529 echo "configure: failed program was:" >&5
13530 cat conftest.
$ac_ext >&5
13533 if test $ac_cv_c_bigendian = unknown
; then
13534 if test "$cross_compiling" = yes; then
13535 ac_cv_c_bigendian
=unknown
13537 cat > conftest.
$ac_ext <<EOF
13538 #line 13539 "configure"
13539 #include "confdefs.h"
13541 /* Are we little or big endian? From Harbison&Steele. */
13545 char c[sizeof (long)];
13548 exit (u.c[sizeof (long) - 1] == 1);
13551 if { (eval echo configure
:13552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13553 ac_cv_c_bigendian
=no
13555 echo "configure: failed program was:" >&5
13556 cat conftest.
$ac_ext >&5
13558 ac_cv_c_bigendian
=yes
13566 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
13567 if test $ac_cv_c_bigendian = unknown
; then
13568 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
13570 if test $ac_cv_c_bigendian = yes; then
13571 cat >> confdefs.h
<<\EOF
13572 #define WORDS_BIGENDIAN 1
13578 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
13579 echo "configure:13580: checking how to run the C++ preprocessor" >&5
13580 if test -z "$CXXCPP"; then
13581 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
13582 echo $ac_n "(cached) $ac_c" 1>&6
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
13590 CXXCPP
="${CXX-g++} -E"
13591 cat > conftest.
$ac_ext <<EOF
13592 #line 13593 "configure"
13593 #include "confdefs.h"
13594 #include <stdlib.h>
13596 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13597 { (eval echo configure
:13598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13598 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13599 if test -z "$ac_err"; then
13603 echo "configure: failed program was:" >&5
13604 cat conftest.
$ac_ext >&5
13609 ac_cv_prog_CXXCPP
="$CXXCPP"
13611 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13612 ac_cpp
='$CXXCPP $CPPFLAGS'
13613 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13614 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13615 cross_compiling
=$ac_cv_prog_cxx_cross
13618 CXXCPP
="$ac_cv_prog_CXXCPP"
13619 echo "$ac_t""$CXXCPP" 1>&6
13622 if test "$cross_compiling" = "yes"; then
13623 cat >> confdefs.h
<<\EOF
13624 #define wxUSE_IOSTREAMH 1
13630 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13631 ac_cpp
='$CXXCPP $CPPFLAGS'
13632 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13633 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13634 cross_compiling
=$ac_cv_prog_cxx_cross
13637 for ac_hdr
in iostream
13639 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13640 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13641 echo "configure:13642: checking for $ac_hdr" >&5
13642 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13643 echo $ac_n "(cached) $ac_c" 1>&6
13645 cat > conftest.
$ac_ext <<EOF
13646 #line 13647 "configure"
13647 #include "confdefs.h"
13650 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13651 { (eval echo configure
:13652: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13652 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13653 if test -z "$ac_err"; then
13655 eval "ac_cv_header_$ac_safe=yes"
13658 echo "configure: failed program was:" >&5
13659 cat conftest.
$ac_ext >&5
13661 eval "ac_cv_header_$ac_safe=no"
13665 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13666 echo "$ac_t""yes" 1>&6
13667 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13668 cat >> confdefs.h
<<EOF
13669 #define $ac_tr_hdr 1
13673 echo "$ac_t""no" 1>&6
13678 if test "$ac_cv_header_iostream" = "yes" ; then
13681 cat >> confdefs.h
<<\EOF
13682 #define wxUSE_IOSTREAMH 1
13688 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13689 ac_cpp
='$CPP $CPPFLAGS'
13690 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13691 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13692 cross_compiling
=$ac_cv_prog_cc_cross
13698 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
13699 echo "configure:13700: checking if C++ compiler supports bool" >&5
13700 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
13701 echo $ac_n "(cached) $ac_c" 1>&6
13706 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13707 ac_cpp
='$CXXCPP $CPPFLAGS'
13708 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13709 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13710 cross_compiling
=$ac_cv_prog_cxx_cross
13713 cat > conftest.
$ac_ext <<EOF
13714 #line 13715 "configure"
13715 #include "confdefs.h"
13726 if { (eval echo configure
:13727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13732 echo "configure: failed program was:" >&5
13733 cat conftest.
$ac_ext >&5
13743 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13744 ac_cpp
='$CPP $CPPFLAGS'
13745 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13746 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13747 cross_compiling
=$ac_cv_prog_cc_cross
13752 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
13754 if test "$wx_cv_cpp_bool" = "yes"; then
13755 cat >> confdefs.h
<<\EOF
13756 #define HAVE_BOOL 1
13763 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
13764 echo "configure:13765: checking for wcslen in -lc" >&5
13765 ac_lib_var
=`echo c'_'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 -lw""... $ac_c" 1>&6
13809 echo "configure:13810: checking for wcslen in -lw" >&5
13810 ac_lib_var
=`echo w'_'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"
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
13853 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
13854 echo "configure:13855: checking for wcslen in -lmsvcrt" >&5
13855 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
13856 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13857 echo $ac_n "(cached) $ac_c" 1>&6
13859 ac_save_LIBS
="$LIBS"
13860 LIBS
="-lmsvcrt $LIBS"
13861 cat > conftest.
$ac_ext <<EOF
13862 #line 13863 "configure"
13863 #include "confdefs.h"
13864 /* Override any gcc2 internal prototype to avoid an error. */
13865 /* We use char because int might match the return type of a gcc2
13866 builtin and then its argument prototype would still apply. */
13873 if { (eval echo configure
:13874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13875 eval "ac_cv_lib_$ac_lib_var=yes"
13877 echo "configure: failed program was:" >&5
13878 cat conftest.
$ac_ext >&5
13880 eval "ac_cv_lib_$ac_lib_var=no"
13883 LIBS
="$ac_save_LIBS"
13886 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13887 echo "$ac_t""yes" 1>&6
13889 cat >> confdefs.h
<<\EOF
13890 #define HAVE_WCSLEN 1
13896 echo "$ac_t""no" 1>&6
13906 for ac_func
in wcsrtombs
13908 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13909 echo "configure:13910: checking for $ac_func" >&5
13910 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13911 echo $ac_n "(cached) $ac_c" 1>&6
13913 cat > conftest.
$ac_ext <<EOF
13914 #line 13915 "configure"
13915 #include "confdefs.h"
13916 /* System header to define __stub macros and hopefully few prototypes,
13917 which can conflict with char $ac_func(); below. */
13918 #include <assert.h>
13919 /* Override any gcc2 internal prototype to avoid an error. */
13920 /* We use char because int might match the return type of a gcc2
13921 builtin and then its argument prototype would still apply. */
13926 /* The GNU C library defines this for functions which it implements
13927 to always fail with ENOSYS. Some functions are actually named
13928 something starting with __ and the normal name is an alias. */
13929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13937 if { (eval echo configure
:13938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13939 eval "ac_cv_func_$ac_func=yes"
13941 echo "configure: failed program was:" >&5
13942 cat conftest.
$ac_ext >&5
13944 eval "ac_cv_func_$ac_func=no"
13949 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13950 echo "$ac_t""yes" 1>&6
13951 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13952 cat >> confdefs.h
<<EOF
13953 #define $ac_tr_func 1
13957 echo "$ac_t""no" 1>&6
13962 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
13963 echo "configure:13964: checking for vprintf" >&5
13964 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
13965 echo $ac_n "(cached) $ac_c" 1>&6
13967 cat > conftest.
$ac_ext <<EOF
13968 #line 13969 "configure"
13969 #include "confdefs.h"
13970 /* System header to define __stub macros and hopefully few prototypes,
13971 which can conflict with char vprintf(); below. */
13972 #include <assert.h>
13973 /* Override any gcc2 internal prototype to avoid an error. */
13974 /* We use char because int might match the return type of a gcc2
13975 builtin and then its argument prototype would still apply. */
13980 /* The GNU C library defines this for functions which it implements
13981 to always fail with ENOSYS. Some functions are actually named
13982 something starting with __ and the normal name is an alias. */
13983 #if defined (__stub_vprintf) || defined (__stub___vprintf)
13991 if { (eval echo configure
:13992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13993 eval "ac_cv_func_vprintf=yes"
13995 echo "configure: failed program was:" >&5
13996 cat conftest.
$ac_ext >&5
13998 eval "ac_cv_func_vprintf=no"
14003 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
14004 echo "$ac_t""yes" 1>&6
14005 cat >> confdefs.h
<<\EOF
14006 #define HAVE_VPRINTF 1
14010 echo "$ac_t""no" 1>&6
14013 if test "$ac_cv_func_vprintf" != yes; then
14014 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
14015 echo "configure:14016: checking for _doprnt" >&5
14016 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
14017 echo $ac_n "(cached) $ac_c" 1>&6
14019 cat > conftest.
$ac_ext <<EOF
14020 #line 14021 "configure"
14021 #include "confdefs.h"
14022 /* System header to define __stub macros and hopefully few prototypes,
14023 which can conflict with char _doprnt(); below. */
14024 #include <assert.h>
14025 /* Override any gcc2 internal prototype to avoid an error. */
14026 /* We use char because int might match the return type of a gcc2
14027 builtin and then its argument prototype would still apply. */
14032 /* The GNU C library defines this for functions which it implements
14033 to always fail with ENOSYS. Some functions are actually named
14034 something starting with __ and the normal name is an alias. */
14035 #if defined (__stub__doprnt) || defined (__stub____doprnt)
14043 if { (eval echo configure
:14044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14045 eval "ac_cv_func__doprnt=yes"
14047 echo "configure: failed program was:" >&5
14048 cat conftest.
$ac_ext >&5
14050 eval "ac_cv_func__doprnt=no"
14055 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
14056 echo "$ac_t""yes" 1>&6
14057 cat >> confdefs.h
<<\EOF
14058 #define HAVE_DOPRNT 1
14062 echo "$ac_t""no" 1>&6
14072 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
14073 echo "configure:14074: checking for vsnprintf" >&5
14074 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
14075 echo $ac_n "(cached) $ac_c" 1>&6
14078 cat > conftest.
$ac_ext <<EOF
14079 #line 14080 "configure"
14080 #include "confdefs.h"
14083 #include <stdarg.h>
14087 int wx_test_vsnprintf(const char *, ...);
14089 wx_test_vsnprintf("%s");
14093 int wx_test_vsnprintf(const char *fmt, ...)
14098 va_start(argp, fmt);
14099 vsnprintf(s, 42, fmt, argp);
14104 if { (eval echo configure
:14105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14107 wx_cv_func_vsnprintf
=yes
14110 echo "configure: failed program was:" >&5
14111 cat conftest.
$ac_ext >&5
14114 cat > conftest.
$ac_ext <<EOF
14115 #line 14116 "configure"
14116 #include "confdefs.h"
14119 #include <stdarg.h>
14123 int wx_test_vsnprintf(const char *, ...);
14125 wx_test_vsnprintf("%s");
14129 int wx_test_vsnprintf(const char *fmt, ...)
14134 va_start(argp, fmt);
14135 _vsnprintf(s, 42, fmt, argp);
14140 if { (eval echo configure
:14141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14143 wx_cv_func_vsnprintf
=yes
14146 echo "configure: failed program was:" >&5
14147 cat conftest.
$ac_ext >&5
14150 wx_cv_func_vsnprintf
=no
14160 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
14162 if test "$wx_cv_func_vsnprintf" = yes; then
14163 cat >> confdefs.h
<<\EOF
14164 #define HAVE_VSNPRINTF 1
14168 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
14171 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
14172 echo "configure:14173: checking for vsscanf" >&5
14173 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
14174 echo $ac_n "(cached) $ac_c" 1>&6
14177 cat > conftest.
$ac_ext <<EOF
14178 #line 14179 "configure"
14179 #include "confdefs.h"
14182 #include <stdarg.h>
14186 int wx_test_vsscanf(const char *, ...);
14188 wx_test_vsscanf("%d");
14192 int wx_test_vsscanf(const char *fmt, ...)
14195 va_start(argp, fmt);
14196 vsscanf("42", fmt, argp);
14201 if { (eval echo configure
:14202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14204 wx_cv_func_vsscanf
=yes
14207 echo "configure: failed program was:" >&5
14208 cat conftest.
$ac_ext >&5
14211 wx_cv_func_vsscanf
=no
14218 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
14220 if test "$wx_cv_func_vsscanf" = yes; then
14221 cat >> confdefs.h
<<\EOF
14222 #define HAVE_VSSCANF 1
14227 if test "$TOOLKIT" != "MSW"; then
14232 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14233 ac_cpp
='$CXXCPP $CPPFLAGS'
14234 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14235 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14236 cross_compiling
=$ac_cv_prog_cxx_cross
14238 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
14239 echo "configure:14240: checking if iconv() takes char**" >&5
14240 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
14241 echo $ac_n "(cached) $ac_c" 1>&6
14244 cat > conftest.
$ac_ext <<EOF
14245 #line 14246 "configure"
14246 #include "confdefs.h"
14250 char **inbuf, **outbuf;
14252 size_t insz, outsz;
14253 iconv(cd, inbuf, &insz, outbuf, &outsz);
14257 if { (eval echo configure
:14258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14259 wx_cv_iconv_takes_char
=yes
14261 echo "configure: failed program was:" >&5
14262 cat conftest.
$ac_ext >&5
14264 wx_cv_iconv_takes_char
=no
14270 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
14272 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14273 ac_cpp
='$CPP $CPPFLAGS'
14274 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14275 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14276 cross_compiling
=$ac_cv_prog_cc_cross
14278 if test "$wx_cv_iconv_takes_char" = yes ; then
14279 cat >> confdefs.h
<<\EOF
14280 #define WX_ICONV_TAKES_CHAR 1
14286 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
14287 for ac_func
in sigaction
14289 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14290 echo "configure:14291: checking for $ac_func" >&5
14291 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14292 echo $ac_n "(cached) $ac_c" 1>&6
14294 cat > conftest.
$ac_ext <<EOF
14295 #line 14296 "configure"
14296 #include "confdefs.h"
14297 /* System header to define __stub macros and hopefully few prototypes,
14298 which can conflict with char $ac_func(); below. */
14299 #include <assert.h>
14300 /* Override any gcc2 internal prototype to avoid an error. */
14301 /* We use char because int might match the return type of a gcc2
14302 builtin and then its argument prototype would still apply. */
14307 /* The GNU C library defines this for functions which it implements
14308 to always fail with ENOSYS. Some functions are actually named
14309 something starting with __ and the normal name is an alias. */
14310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14318 if { (eval echo configure
:14319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14320 eval "ac_cv_func_$ac_func=yes"
14322 echo "configure: failed program was:" >&5
14323 cat conftest.
$ac_ext >&5
14325 eval "ac_cv_func_$ac_func=no"
14330 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14331 echo "$ac_t""yes" 1>&6
14332 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14333 cat >> confdefs.h
<<EOF
14334 #define $ac_tr_func 1
14338 echo "$ac_t""no" 1>&6
14343 if test "$ac_cv_func_sigaction" = "no"; then
14344 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
14345 wxUSE_ON_FATAL_EXCEPTION
=no
14348 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
14351 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14352 ac_cpp
='$CXXCPP $CPPFLAGS'
14353 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14354 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14355 cross_compiling
=$ac_cv_prog_cxx_cross
14358 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
14359 echo "configure:14360: checking for sa_handler type" >&5
14360 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
14361 echo $ac_n "(cached) $ac_c" 1>&6
14364 cat > conftest.
$ac_ext <<EOF
14365 #line 14366 "configure"
14366 #include "confdefs.h"
14367 #include <signal.h>
14370 extern void testSigHandler(int);
14372 struct sigaction sa;
14373 sa.sa_handler = testSigHandler;
14377 if { (eval echo configure
:14378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14380 wx_cv_type_sa_handler
=int
14383 echo "configure: failed program was:" >&5
14384 cat conftest.
$ac_ext >&5
14387 wx_cv_type_sa_handler
=void
14394 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
14397 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14398 ac_cpp
='$CPP $CPPFLAGS'
14399 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14400 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14401 cross_compiling
=$ac_cv_prog_cc_cross
14404 cat >> confdefs.h
<<EOF
14405 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
14411 for ac_func
in vfork
14413 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14414 echo "configure:14415: checking for $ac_func" >&5
14415 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14416 echo $ac_n "(cached) $ac_c" 1>&6
14418 cat > conftest.
$ac_ext <<EOF
14419 #line 14420 "configure"
14420 #include "confdefs.h"
14421 /* System header to define __stub macros and hopefully few prototypes,
14422 which can conflict with char $ac_func(); below. */
14423 #include <assert.h>
14424 /* Override any gcc2 internal prototype to avoid an error. */
14425 /* We use char because int might match the return type of a gcc2
14426 builtin and then its argument prototype would still apply. */
14431 /* The GNU C library defines this for functions which it implements
14432 to always fail with ENOSYS. Some functions are actually named
14433 something starting with __ and the normal name is an alias. */
14434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14442 if { (eval echo configure
:14443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14444 eval "ac_cv_func_$ac_func=yes"
14446 echo "configure: failed program was:" >&5
14447 cat conftest.
$ac_ext >&5
14449 eval "ac_cv_func_$ac_func=no"
14454 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14455 echo "$ac_t""yes" 1>&6
14456 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14457 cat >> confdefs.h
<<EOF
14458 #define $ac_tr_func 1
14462 echo "$ac_t""no" 1>&6
14467 echo $ac_n "checking for statfs""... $ac_c" 1>&6
14468 echo "configure:14469: checking for statfs" >&5
14469 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
14470 echo $ac_n "(cached) $ac_c" 1>&6
14472 cat > conftest.
$ac_ext <<EOF
14473 #line 14474 "configure"
14474 #include "confdefs.h"
14476 #if defined(__BSD__)
14477 #include <sys/param.h>
14478 #include <sys/mount.h>
14480 #include <sys/vfs.h>
14494 if { (eval echo configure
:14495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14497 wx_cv_func_statfs
=yes
14500 echo "configure: failed program was:" >&5
14501 cat conftest.
$ac_ext >&5
14504 wx_cv_func_statfs
=no
14512 echo "$ac_t""$wx_cv_func_statfs" 1>&6
14514 if test "$wx_cv_func_statfs" = "yes"; then
14515 cat >> confdefs.h
<<\EOF
14516 #define HAVE_STATFS 1
14520 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
14521 echo "configure:14522: checking for statvfs" >&5
14522 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
14523 echo $ac_n "(cached) $ac_c" 1>&6
14525 cat > conftest.
$ac_ext <<EOF
14526 #line 14527 "configure"
14527 #include "confdefs.h"
14529 #include <sys/statvfs.h>
14542 if { (eval echo configure
:14543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14545 wx_cv_func_statvfs
=yes
14548 echo "configure: failed program was:" >&5
14549 cat conftest.
$ac_ext >&5
14552 wx_cv_func_statvfs
=no
14560 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
14562 if test "$wx_cv_func_statvfs" = "yes"; then
14563 cat >> confdefs.h
<<\EOF
14564 #define HAVE_STATVFS 1
14568 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
14572 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
14573 for ac_func
in fcntl flock
14575 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14576 echo "configure:14577: checking for $ac_func" >&5
14577 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14578 echo $ac_n "(cached) $ac_c" 1>&6
14580 cat > conftest.
$ac_ext <<EOF
14581 #line 14582 "configure"
14582 #include "confdefs.h"
14583 /* System header to define __stub macros and hopefully few prototypes,
14584 which can conflict with char $ac_func(); below. */
14585 #include <assert.h>
14586 /* Override any gcc2 internal prototype to avoid an error. */
14587 /* We use char because int might match the return type of a gcc2
14588 builtin and then its argument prototype would still apply. */
14593 /* The GNU C library defines this for functions which it implements
14594 to always fail with ENOSYS. Some functions are actually named
14595 something starting with __ and the normal name is an alias. */
14596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14604 if { (eval echo configure
:14605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14606 eval "ac_cv_func_$ac_func=yes"
14608 echo "configure: failed program was:" >&5
14609 cat conftest.
$ac_ext >&5
14611 eval "ac_cv_func_$ac_func=no"
14616 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14617 echo "$ac_t""yes" 1>&6
14618 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14619 cat >> confdefs.h
<<EOF
14620 #define $ac_tr_func 1
14624 echo "$ac_t""no" 1>&6
14629 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
14630 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
14631 wxUSE_SNGLINST_CHECKER
=no
14635 for ac_func
in timegm
14637 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14638 echo "configure:14639: checking for $ac_func" >&5
14639 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14640 echo $ac_n "(cached) $ac_c" 1>&6
14642 cat > conftest.
$ac_ext <<EOF
14643 #line 14644 "configure"
14644 #include "confdefs.h"
14645 /* System header to define __stub macros and hopefully few prototypes,
14646 which can conflict with char $ac_func(); below. */
14647 #include <assert.h>
14648 /* Override any gcc2 internal prototype to avoid an error. */
14649 /* We use char because int might match the return type of a gcc2
14650 builtin and then its argument prototype would still apply. */
14655 /* The GNU C library defines this for functions which it implements
14656 to always fail with ENOSYS. Some functions are actually named
14657 something starting with __ and the normal name is an alias. */
14658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14666 if { (eval echo configure
:14667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14668 eval "ac_cv_func_$ac_func=yes"
14670 echo "configure: failed program was:" >&5
14671 cat conftest.
$ac_ext >&5
14673 eval "ac_cv_func_$ac_func=no"
14678 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14679 echo "$ac_t""yes" 1>&6
14680 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14681 cat >> confdefs.h
<<EOF
14682 #define $ac_tr_func 1
14686 echo "$ac_t""no" 1>&6
14691 for ac_func
in putenv setenv
14693 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14694 echo "configure:14695: checking for $ac_func" >&5
14695 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14696 echo $ac_n "(cached) $ac_c" 1>&6
14698 cat > conftest.
$ac_ext <<EOF
14699 #line 14700 "configure"
14700 #include "confdefs.h"
14701 /* System header to define __stub macros and hopefully few prototypes,
14702 which can conflict with char $ac_func(); below. */
14703 #include <assert.h>
14704 /* Override any gcc2 internal prototype to avoid an error. */
14705 /* We use char because int might match the return type of a gcc2
14706 builtin and then its argument prototype would still apply. */
14711 /* The GNU C library defines this for functions which it implements
14712 to always fail with ENOSYS. Some functions are actually named
14713 something starting with __ and the normal name is an alias. */
14714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14722 if { (eval echo configure
:14723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14724 eval "ac_cv_func_$ac_func=yes"
14726 echo "configure: failed program was:" >&5
14727 cat conftest.
$ac_ext >&5
14729 eval "ac_cv_func_$ac_func=no"
14734 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14735 echo "$ac_t""yes" 1>&6
14736 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14737 cat >> confdefs.h
<<EOF
14738 #define $ac_tr_func 1
14742 echo "$ac_t""no" 1>&6
14747 HAVE_SOME_SLEEP_FUNC
=0
14748 if test "$USE_BEOS" = 1; then
14749 cat >> confdefs.h
<<\EOF
14750 #define HAVE_SLEEP 1
14753 HAVE_SOME_SLEEP_FUNC
=1
14756 if test "$USE_DARWIN" = 1; then
14757 cat >> confdefs.h
<<\EOF
14758 #define HAVE_USLEEP 1
14761 HAVE_SOME_SLEEP_FUNC
=1
14764 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
14766 for ac_func
in nanosleep
14768 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14769 echo "configure:14770: checking for $ac_func" >&5
14770 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14771 echo $ac_n "(cached) $ac_c" 1>&6
14773 cat > conftest.
$ac_ext <<EOF
14774 #line 14775 "configure"
14775 #include "confdefs.h"
14776 /* System header to define __stub macros and hopefully few prototypes,
14777 which can conflict with char $ac_func(); below. */
14778 #include <assert.h>
14779 /* Override any gcc2 internal prototype to avoid an error. */
14780 /* We use char because int might match the return type of a gcc2
14781 builtin and then its argument prototype would still apply. */
14786 /* The GNU C library defines this for functions which it implements
14787 to always fail with ENOSYS. Some functions are actually named
14788 something starting with __ and the normal name is an alias. */
14789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14797 if { (eval echo configure
:14798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14799 eval "ac_cv_func_$ac_func=yes"
14801 echo "configure: failed program was:" >&5
14802 cat conftest.
$ac_ext >&5
14804 eval "ac_cv_func_$ac_func=no"
14809 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14810 echo "$ac_t""yes" 1>&6
14811 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14812 cat >> confdefs.h
<<EOF
14813 #define $ac_tr_func 1
14815 cat >> confdefs.h
<<\EOF
14816 #define HAVE_NANOSLEEP 1
14820 echo "$ac_t""no" 1>&6
14821 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
14822 echo "configure:14823: checking for nanosleep in -lposix4" >&5
14823 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
14824 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14825 echo $ac_n "(cached) $ac_c" 1>&6
14827 ac_save_LIBS
="$LIBS"
14828 LIBS
="-lposix4 $LIBS"
14829 cat > conftest.
$ac_ext <<EOF
14830 #line 14831 "configure"
14831 #include "confdefs.h"
14832 /* Override any gcc2 internal prototype to avoid an error. */
14833 /* We use char because int might match the return type of a gcc2
14834 builtin and then its argument prototype would still apply. */
14841 if { (eval echo configure
:14842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14843 eval "ac_cv_lib_$ac_lib_var=yes"
14845 echo "configure: failed program was:" >&5
14846 cat conftest.
$ac_ext >&5
14848 eval "ac_cv_lib_$ac_lib_var=no"
14851 LIBS
="$ac_save_LIBS"
14854 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14855 echo "$ac_t""yes" 1>&6
14857 cat >> confdefs.h
<<\EOF
14858 #define HAVE_NANOSLEEP 1
14861 POSIX4_LINK
=" -lposix4"
14864 echo "$ac_t""no" 1>&6
14866 for ac_func
in usleep
14868 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14869 echo "configure:14870: checking for $ac_func" >&5
14870 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14871 echo $ac_n "(cached) $ac_c" 1>&6
14873 cat > conftest.
$ac_ext <<EOF
14874 #line 14875 "configure"
14875 #include "confdefs.h"
14876 /* System header to define __stub macros and hopefully few prototypes,
14877 which can conflict with char $ac_func(); below. */
14878 #include <assert.h>
14879 /* Override any gcc2 internal prototype to avoid an error. */
14880 /* We use char because int might match the return type of a gcc2
14881 builtin and then its argument prototype would still apply. */
14886 /* The GNU C library defines this for functions which it implements
14887 to always fail with ENOSYS. Some functions are actually named
14888 something starting with __ and the normal name is an alias. */
14889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14897 if { (eval echo configure
:14898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14899 eval "ac_cv_func_$ac_func=yes"
14901 echo "configure: failed program was:" >&5
14902 cat conftest.
$ac_ext >&5
14904 eval "ac_cv_func_$ac_func=no"
14909 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14910 echo "$ac_t""yes" 1>&6
14911 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14912 cat >> confdefs.h
<<EOF
14913 #define $ac_tr_func 1
14915 cat >> confdefs.h
<<\EOF
14916 #define HAVE_USLEEP 1
14920 echo "$ac_t""no" 1>&6
14921 echo "configure: warning: wxSleep() function will not work" 1>&2
14937 for ac_func
in uname gethostname
14939 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14940 echo "configure:14941: checking for $ac_func" >&5
14941 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14942 echo $ac_n "(cached) $ac_c" 1>&6
14944 cat > conftest.
$ac_ext <<EOF
14945 #line 14946 "configure"
14946 #include "confdefs.h"
14947 /* System header to define __stub macros and hopefully few prototypes,
14948 which can conflict with char $ac_func(); below. */
14949 #include <assert.h>
14950 /* Override any gcc2 internal prototype to avoid an error. */
14951 /* We use char because int might match the return type of a gcc2
14952 builtin and then its argument prototype would still apply. */
14957 /* The GNU C library defines this for functions which it implements
14958 to always fail with ENOSYS. Some functions are actually named
14959 something starting with __ and the normal name is an alias. */
14960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14968 if { (eval echo configure
:14969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14970 eval "ac_cv_func_$ac_func=yes"
14972 echo "configure: failed program was:" >&5
14973 cat conftest.
$ac_ext >&5
14975 eval "ac_cv_func_$ac_func=no"
14980 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14981 echo "$ac_t""yes" 1>&6
14982 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14983 cat >> confdefs.h
<<EOF
14984 #define $ac_tr_func 1
14988 echo "$ac_t""no" 1>&6
14995 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14996 ac_cpp
='$CXXCPP $CPPFLAGS'
14997 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14998 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14999 cross_compiling
=$ac_cv_prog_cxx_cross
15002 for ac_func
in strtok_r
15004 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15005 echo "configure:15006: checking for $ac_func" >&5
15006 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15007 echo $ac_n "(cached) $ac_c" 1>&6
15009 cat > conftest.
$ac_ext <<EOF
15010 #line 15011 "configure"
15011 #include "confdefs.h"
15012 /* System header to define __stub macros and hopefully few prototypes,
15013 which can conflict with char $ac_func(); below. */
15014 #include <assert.h>
15015 /* Override any gcc2 internal prototype to avoid an error. */
15019 /* We use char because int might match the return type of a gcc2
15020 builtin and then its argument prototype would still apply. */
15025 /* The GNU C library defines this for functions which it implements
15026 to always fail with ENOSYS. Some functions are actually named
15027 something starting with __ and the normal name is an alias. */
15028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15036 if { (eval echo configure
:15037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15038 eval "ac_cv_func_$ac_func=yes"
15040 echo "configure: failed program was:" >&5
15041 cat conftest.
$ac_ext >&5
15043 eval "ac_cv_func_$ac_func=no"
15048 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15049 echo "$ac_t""yes" 1>&6
15050 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15051 cat >> confdefs.h
<<EOF
15052 #define $ac_tr_func 1
15056 echo "$ac_t""no" 1>&6
15062 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15063 ac_cpp
='$CPP $CPPFLAGS'
15064 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15065 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15066 cross_compiling
=$ac_cv_prog_cc_cross
15070 for ac_func
in inet_addr
15072 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15073 echo "configure:15074: checking for $ac_func" >&5
15074 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15075 echo $ac_n "(cached) $ac_c" 1>&6
15077 cat > conftest.
$ac_ext <<EOF
15078 #line 15079 "configure"
15079 #include "confdefs.h"
15080 /* System header to define __stub macros and hopefully few prototypes,
15081 which can conflict with char $ac_func(); below. */
15082 #include <assert.h>
15083 /* Override any gcc2 internal prototype to avoid an error. */
15084 /* We use char because int might match the return type of a gcc2
15085 builtin and then its argument prototype would still apply. */
15090 /* The GNU C library defines this for functions which it implements
15091 to always fail with ENOSYS. Some functions are actually named
15092 something starting with __ and the normal name is an alias. */
15093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15101 if { (eval echo configure
:15102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15103 eval "ac_cv_func_$ac_func=yes"
15105 echo "configure: failed program was:" >&5
15106 cat conftest.
$ac_ext >&5
15108 eval "ac_cv_func_$ac_func=no"
15113 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15114 echo "$ac_t""yes" 1>&6
15115 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15116 cat >> confdefs.h
<<EOF
15117 #define $ac_tr_func 1
15119 cat >> confdefs.h
<<\EOF
15120 #define HAVE_INET_ADDR 1
15124 echo "$ac_t""no" 1>&6
15125 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
15126 echo "configure:15127: checking for inet_addr in -lnsl" >&5
15127 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
15128 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15129 echo $ac_n "(cached) $ac_c" 1>&6
15131 ac_save_LIBS
="$LIBS"
15133 cat > conftest.
$ac_ext <<EOF
15134 #line 15135 "configure"
15135 #include "confdefs.h"
15136 /* Override any gcc2 internal prototype to avoid an error. */
15137 /* We use char because int might match the return type of a gcc2
15138 builtin and then its argument prototype would still apply. */
15145 if { (eval echo configure
:15146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15147 eval "ac_cv_lib_$ac_lib_var=yes"
15149 echo "configure: failed program was:" >&5
15150 cat conftest.
$ac_ext >&5
15152 eval "ac_cv_lib_$ac_lib_var=no"
15155 LIBS
="$ac_save_LIBS"
15158 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15159 echo "$ac_t""yes" 1>&6
15162 echo "$ac_t""no" 1>&6
15163 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
15164 echo "configure:15165: checking for inet_addr in -lresolv" >&5
15165 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
15166 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15167 echo $ac_n "(cached) $ac_c" 1>&6
15169 ac_save_LIBS
="$LIBS"
15170 LIBS
="-lresolv $LIBS"
15171 cat > conftest.
$ac_ext <<EOF
15172 #line 15173 "configure"
15173 #include "confdefs.h"
15174 /* Override any gcc2 internal prototype to avoid an error. */
15175 /* We use char because int might match the return type of a gcc2
15176 builtin and then its argument prototype would still apply. */
15183 if { (eval echo configure
:15184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15185 eval "ac_cv_lib_$ac_lib_var=yes"
15187 echo "configure: failed program was:" >&5
15188 cat conftest.
$ac_ext >&5
15190 eval "ac_cv_lib_$ac_lib_var=no"
15193 LIBS
="$ac_save_LIBS"
15196 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15197 echo "$ac_t""yes" 1>&6
15201 echo "$ac_t""no" 1>&6
15213 for ac_func
in inet_aton
15215 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15216 echo "configure:15217: checking for $ac_func" >&5
15217 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15218 echo $ac_n "(cached) $ac_c" 1>&6
15220 cat > conftest.
$ac_ext <<EOF
15221 #line 15222 "configure"
15222 #include "confdefs.h"
15223 /* System header to define __stub macros and hopefully few prototypes,
15224 which can conflict with char $ac_func(); below. */
15225 #include <assert.h>
15226 /* Override any gcc2 internal prototype to avoid an error. */
15227 /* We use char because int might match the return type of a gcc2
15228 builtin and then its argument prototype would still apply. */
15233 /* The GNU C library defines this for functions which it implements
15234 to always fail with ENOSYS. Some functions are actually named
15235 something starting with __ and the normal name is an alias. */
15236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15244 if { (eval echo configure
:15245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15246 eval "ac_cv_func_$ac_func=yes"
15248 echo "configure: failed program was:" >&5
15249 cat conftest.
$ac_ext >&5
15251 eval "ac_cv_func_$ac_func=no"
15256 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15257 echo "$ac_t""yes" 1>&6
15258 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15259 cat >> confdefs.h
<<EOF
15260 #define $ac_tr_func 1
15262 cat >> confdefs.h
<<\EOF
15263 #define HAVE_INET_ATON 1
15267 echo "$ac_t""no" 1>&6
15268 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
15269 echo "configure:15270: checking for inet_aton in -l$INET_LINK" >&5
15270 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
15271 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15272 echo $ac_n "(cached) $ac_c" 1>&6
15274 ac_save_LIBS
="$LIBS"
15275 LIBS
="-l$INET_LINK $LIBS"
15276 cat > conftest.
$ac_ext <<EOF
15277 #line 15278 "configure"
15278 #include "confdefs.h"
15279 /* Override any gcc2 internal prototype to avoid an error. */
15280 /* We use char because int might match the return type of a gcc2
15281 builtin and then its argument prototype would still apply. */
15288 if { (eval echo configure
:15289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15290 eval "ac_cv_lib_$ac_lib_var=yes"
15292 echo "configure: failed program was:" >&5
15293 cat conftest.
$ac_ext >&5
15295 eval "ac_cv_lib_$ac_lib_var=no"
15298 LIBS
="$ac_save_LIBS"
15301 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15302 echo "$ac_t""yes" 1>&6
15303 cat >> confdefs.h
<<\EOF
15304 #define HAVE_INET_ATON 1
15308 echo "$ac_t""no" 1>&6
15316 if test "x$INET_LINK" != "x"; then
15317 cat >> confdefs.h
<<\EOF
15318 #define HAVE_INET_ADDR 1
15321 INET_LINK
=" -l$INET_LINK"
15327 cat > confcache
<<\EOF
15328 # This file is a shell script that caches the results of configure
15329 # tests run on this system so they can be shared between configure
15330 # scripts and configure runs. It is not useful on other systems.
15331 # If it contains results you don't want to keep, you may remove or edit it.
15333 # By default, configure uses ./config.cache as the cache file,
15334 # creating it if it does not exist already. You can give configure
15335 # the --cache-file=FILE option to use a different cache file; that is
15336 # what configure does when it calls configure scripts in
15337 # subdirectories, so they share the cache.
15338 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15339 # config.status only pays attention to the cache file if you give it the
15340 # --recheck option to rerun configure.
15343 # The following way of writing the cache mishandles newlines in values,
15344 # but we know of no workaround that is simple, portable, and efficient.
15345 # So, don't put newlines in cache variables' values.
15346 # Ultrix sh set writes to stderr and can't be redirected directly,
15347 # and sets the high bit in the cache file unless we assign to the vars.
15349 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15351 # `set' does not quote correctly, so add quotes (double-quote substitution
15352 # turns \\\\ into \\, and sed turns \\ into \).
15354 -e "s/'/'\\\\''/g" \
15355 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15358 # `set' quotes correctly as required by POSIX, so do not add quotes.
15359 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15362 if cmp -s $cache_file confcache
; then
15365 if test -w $cache_file; then
15366 echo "updating cache $cache_file"
15367 cat confcache
> $cache_file
15369 echo "not updating unwritable cache $cache_file"
15376 if test "$TOOLKIT" != "MSW"; then
15382 CODE_GEN_FLAGS_CXX
=
15384 if test "$wxUSE_THREADS" = "yes" ; then
15385 if test "$wxUSE_WINE" = 1 ; then
15386 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
15388 elif test "$USE_BEOS" = 1; then
15389 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
15394 if test "$wxUSE_THREADS" = "yes" ; then
15396 if test "$USE_AIX" = 1; then
15397 THREADS_LIB
=pthreads
15399 THREADS_LIB
=pthread
15402 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
15403 echo "configure:15404: checking for pthread_create in -l$THREADS_LIB" >&5
15404 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
15405 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15406 echo $ac_n "(cached) $ac_c" 1>&6
15408 ac_save_LIBS
="$LIBS"
15409 LIBS
="-l$THREADS_LIB $LIBS"
15410 cat > conftest.
$ac_ext <<EOF
15411 #line 15412 "configure"
15412 #include "confdefs.h"
15413 /* Override any gcc2 internal prototype to avoid an error. */
15414 /* We use char because int might match the return type of a gcc2
15415 builtin and then its argument prototype would still apply. */
15416 char pthread_create();
15422 if { (eval echo configure
:15423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15424 eval "ac_cv_lib_$ac_lib_var=yes"
15426 echo "configure: failed program was:" >&5
15427 cat conftest.
$ac_ext >&5
15429 eval "ac_cv_lib_$ac_lib_var=no"
15432 LIBS
="$ac_save_LIBS"
15435 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15436 echo "$ac_t""yes" 1>&6
15438 THREADS_OBJ
="threadpsx.lo"
15439 THREADS_LINK
=$THREADS_LIB
15442 echo "$ac_t""no" 1>&6
15444 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
15445 echo "configure:15446: checking for pthread_create in -lc_r" >&5
15446 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
15447 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15448 echo $ac_n "(cached) $ac_c" 1>&6
15450 ac_save_LIBS
="$LIBS"
15452 cat > conftest.
$ac_ext <<EOF
15453 #line 15454 "configure"
15454 #include "confdefs.h"
15455 /* Override any gcc2 internal prototype to avoid an error. */
15456 /* We use char because int might match the return type of a gcc2
15457 builtin and then its argument prototype would still apply. */
15458 char pthread_create();
15464 if { (eval echo configure
:15465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15466 eval "ac_cv_lib_$ac_lib_var=yes"
15468 echo "configure: failed program was:" >&5
15469 cat conftest.
$ac_ext >&5
15471 eval "ac_cv_lib_$ac_lib_var=no"
15474 LIBS
="$ac_save_LIBS"
15477 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15478 echo "$ac_t""yes" 1>&6
15480 THREADS_OBJ
="threadpsx.lo"
15484 echo "$ac_t""no" 1>&6
15486 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
15487 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
15488 echo "configure:15489: checking for sys/prctl.h" >&5
15489 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15490 echo $ac_n "(cached) $ac_c" 1>&6
15492 cat > conftest.
$ac_ext <<EOF
15493 #line 15494 "configure"
15494 #include "confdefs.h"
15495 #include <sys/prctl.h>
15497 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15498 { (eval echo configure
:15499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15499 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15500 if test -z "$ac_err"; then
15502 eval "ac_cv_header_$ac_safe=yes"
15505 echo "configure: failed program was:" >&5
15506 cat conftest.
$ac_ext >&5
15508 eval "ac_cv_header_$ac_safe=no"
15512 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15513 echo "$ac_t""yes" 1>&6
15515 THREADS_OBJ
="threadsgi.lo"
15518 echo "$ac_t""no" 1>&6
15528 if test -z "$THREADS_OBJ" ; then
15530 echo "configure: warning: No thread support on this system... disabled" 1>&2
15534 if test "$wxUSE_THREADS" = "yes" ; then
15535 for ac_func
in thr_setconcurrency
15537 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15538 echo "configure:15539: checking for $ac_func" >&5
15539 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15540 echo $ac_n "(cached) $ac_c" 1>&6
15542 cat > conftest.
$ac_ext <<EOF
15543 #line 15544 "configure"
15544 #include "confdefs.h"
15545 /* System header to define __stub macros and hopefully few prototypes,
15546 which can conflict with char $ac_func(); below. */
15547 #include <assert.h>
15548 /* Override any gcc2 internal prototype to avoid an error. */
15549 /* We use char because int might match the return type of a gcc2
15550 builtin and then its argument prototype would still apply. */
15555 /* The GNU C library defines this for functions which it implements
15556 to always fail with ENOSYS. Some functions are actually named
15557 something starting with __ and the normal name is an alias. */
15558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15566 if { (eval echo configure
:15567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15568 eval "ac_cv_func_$ac_func=yes"
15570 echo "configure: failed program was:" >&5
15571 cat conftest.
$ac_ext >&5
15573 eval "ac_cv_func_$ac_func=no"
15578 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15579 echo "$ac_t""yes" 1>&6
15580 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15581 cat >> confdefs.h
<<EOF
15582 #define $ac_tr_func 1
15586 echo "$ac_t""no" 1>&6
15592 for ac_hdr
in sched.h
15594 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15595 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15596 echo "configure:15597: checking for $ac_hdr" >&5
15597 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15598 echo $ac_n "(cached) $ac_c" 1>&6
15600 cat > conftest.
$ac_ext <<EOF
15601 #line 15602 "configure"
15602 #include "confdefs.h"
15605 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15606 { (eval echo configure
:15607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15607 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15608 if test -z "$ac_err"; then
15610 eval "ac_cv_header_$ac_safe=yes"
15613 echo "configure: failed program was:" >&5
15614 cat conftest.
$ac_ext >&5
15616 eval "ac_cv_header_$ac_safe=no"
15620 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15621 echo "$ac_t""yes" 1>&6
15622 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15623 cat >> confdefs.h
<<EOF
15624 #define $ac_tr_hdr 1
15628 echo "$ac_t""no" 1>&6
15633 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
15634 echo "configure:15635: checking for sched_yield in -l$THREADS_LINK" >&5
15635 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
15636 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15637 echo $ac_n "(cached) $ac_c" 1>&6
15639 ac_save_LIBS
="$LIBS"
15640 LIBS
="-l$THREADS_LINK $LIBS"
15641 cat > conftest.
$ac_ext <<EOF
15642 #line 15643 "configure"
15643 #include "confdefs.h"
15644 /* Override any gcc2 internal prototype to avoid an error. */
15645 /* We use char because int might match the return type of a gcc2
15646 builtin and then its argument prototype would still apply. */
15647 char sched_yield();
15653 if { (eval echo configure
:15654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15655 eval "ac_cv_lib_$ac_lib_var=yes"
15657 echo "configure: failed program was:" >&5
15658 cat conftest.
$ac_ext >&5
15660 eval "ac_cv_lib_$ac_lib_var=no"
15663 LIBS
="$ac_save_LIBS"
15666 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15667 echo "$ac_t""yes" 1>&6
15668 cat >> confdefs.h
<<\EOF
15669 #define HAVE_SCHED_YIELD 1
15673 echo "$ac_t""no" 1>&6
15674 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
15675 echo "configure:15676: checking for sched_yield in -lposix4" >&5
15676 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
15677 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15678 echo $ac_n "(cached) $ac_c" 1>&6
15680 ac_save_LIBS
="$LIBS"
15681 LIBS
="-lposix4 $LIBS"
15682 cat > conftest.
$ac_ext <<EOF
15683 #line 15684 "configure"
15684 #include "confdefs.h"
15685 /* Override any gcc2 internal prototype to avoid an error. */
15686 /* We use char because int might match the return type of a gcc2
15687 builtin and then its argument prototype would still apply. */
15688 char sched_yield();
15694 if { (eval echo configure
:15695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15696 eval "ac_cv_lib_$ac_lib_var=yes"
15698 echo "configure: failed program was:" >&5
15699 cat conftest.
$ac_ext >&5
15701 eval "ac_cv_lib_$ac_lib_var=no"
15704 LIBS
="$ac_save_LIBS"
15707 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15708 echo "$ac_t""yes" 1>&6
15709 cat >> confdefs.h
<<\EOF
15710 #define HAVE_SCHED_YIELD 1
15712 POSIX4_LINK
=" -lposix4"
15714 echo "$ac_t""no" 1>&6
15715 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
15724 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
15725 echo "configure:15726: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
15726 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
15727 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15728 echo $ac_n "(cached) $ac_c" 1>&6
15730 ac_save_LIBS
="$LIBS"
15731 LIBS
="-l$THREADS_LINK $LIBS"
15732 cat > conftest.
$ac_ext <<EOF
15733 #line 15734 "configure"
15734 #include "confdefs.h"
15735 /* Override any gcc2 internal prototype to avoid an error. */
15736 /* We use char because int might match the return type of a gcc2
15737 builtin and then its argument prototype would still apply. */
15738 char pthread_attr_getschedpolicy();
15741 pthread_attr_getschedpolicy()
15744 if { (eval echo configure
:15745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15746 eval "ac_cv_lib_$ac_lib_var=yes"
15748 echo "configure: failed program was:" >&5
15749 cat conftest.
$ac_ext >&5
15751 eval "ac_cv_lib_$ac_lib_var=no"
15754 LIBS
="$ac_save_LIBS"
15757 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15758 echo "$ac_t""yes" 1>&6
15759 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
15760 echo "configure:15761: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
15761 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
15762 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15763 echo $ac_n "(cached) $ac_c" 1>&6
15765 ac_save_LIBS
="$LIBS"
15766 LIBS
="-l$THREADS_LINK $LIBS"
15767 cat > conftest.
$ac_ext <<EOF
15768 #line 15769 "configure"
15769 #include "confdefs.h"
15770 /* Override any gcc2 internal prototype to avoid an error. */
15771 /* We use char because int might match the return type of a gcc2
15772 builtin and then its argument prototype would still apply. */
15773 char pthread_attr_setschedparam();
15776 pthread_attr_setschedparam()
15779 if { (eval echo configure
:15780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15781 eval "ac_cv_lib_$ac_lib_var=yes"
15783 echo "configure: failed program was:" >&5
15784 cat conftest.
$ac_ext >&5
15786 eval "ac_cv_lib_$ac_lib_var=no"
15789 LIBS
="$ac_save_LIBS"
15792 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15793 echo "$ac_t""yes" 1>&6
15794 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
15795 echo "configure:15796: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
15796 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
15797 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15798 echo $ac_n "(cached) $ac_c" 1>&6
15800 ac_save_LIBS
="$LIBS"
15801 LIBS
="-l$THREADS_LINK $LIBS"
15802 cat > conftest.
$ac_ext <<EOF
15803 #line 15804 "configure"
15804 #include "confdefs.h"
15805 /* Override any gcc2 internal prototype to avoid an error. */
15806 /* We use char because int might match the return type of a gcc2
15807 builtin and then its argument prototype would still apply. */
15808 char sched_get_priority_max();
15811 sched_get_priority_max()
15814 if { (eval echo configure
:15815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15816 eval "ac_cv_lib_$ac_lib_var=yes"
15818 echo "configure: failed program was:" >&5
15819 cat conftest.
$ac_ext >&5
15821 eval "ac_cv_lib_$ac_lib_var=no"
15824 LIBS
="$ac_save_LIBS"
15827 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15828 echo "$ac_t""yes" 1>&6
15831 echo "$ac_t""no" 1>&6
15832 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
15833 echo "configure:15834: checking for sched_get_priority_max in -lposix4" >&5
15834 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
15835 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15836 echo $ac_n "(cached) $ac_c" 1>&6
15838 ac_save_LIBS
="$LIBS"
15839 LIBS
="-lposix4 $LIBS"
15840 cat > conftest.
$ac_ext <<EOF
15841 #line 15842 "configure"
15842 #include "confdefs.h"
15843 /* Override any gcc2 internal prototype to avoid an error. */
15844 /* We use char because int might match the return type of a gcc2
15845 builtin and then its argument prototype would still apply. */
15846 char sched_get_priority_max();
15849 sched_get_priority_max()
15852 if { (eval echo configure
:15853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15854 eval "ac_cv_lib_$ac_lib_var=yes"
15856 echo "configure: failed program was:" >&5
15857 cat conftest.
$ac_ext >&5
15859 eval "ac_cv_lib_$ac_lib_var=no"
15862 LIBS
="$ac_save_LIBS"
15865 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15866 echo "$ac_t""yes" 1>&6
15869 POSIX4_LINK
=" -lposix4"
15872 echo "$ac_t""no" 1>&6
15880 echo "$ac_t""no" 1>&6
15885 echo "$ac_t""no" 1>&6
15889 if test "$HAVE_PRIOR_FUNCS" = 1; then
15890 cat >> confdefs.h
<<\EOF
15891 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
15895 echo "configure: warning: Setting thread priority will not work" 1>&2
15898 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
15899 echo "configure:15900: checking for pthread_cancel in -l$THREADS_LINK" >&5
15900 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
15901 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15902 echo $ac_n "(cached) $ac_c" 1>&6
15904 ac_save_LIBS
="$LIBS"
15905 LIBS
="-l$THREADS_LINK $LIBS"
15906 cat > conftest.
$ac_ext <<EOF
15907 #line 15908 "configure"
15908 #include "confdefs.h"
15909 /* Override any gcc2 internal prototype to avoid an error. */
15910 /* We use char because int might match the return type of a gcc2
15911 builtin and then its argument prototype would still apply. */
15912 char pthread_cancel();
15918 if { (eval echo configure
:15919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15920 eval "ac_cv_lib_$ac_lib_var=yes"
15922 echo "configure: failed program was:" >&5
15923 cat conftest.
$ac_ext >&5
15925 eval "ac_cv_lib_$ac_lib_var=no"
15928 LIBS
="$ac_save_LIBS"
15931 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15932 echo "$ac_t""yes" 1>&6
15933 cat >> confdefs.h
<<\EOF
15934 #define HAVE_PTHREAD_CANCEL 1
15938 echo "$ac_t""no" 1>&6
15939 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
15943 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
15944 echo "configure:15945: checking for pthread_cleanup_push/pop" >&5
15945 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
15946 echo $ac_n "(cached) $ac_c" 1>&6
15949 cat > conftest.
$ac_ext <<EOF
15950 #line 15951 "configure"
15951 #include "confdefs.h"
15952 #include <pthread.h>
15955 pthread_cleanup_push(NULL, NULL);
15956 pthread_cleanup_pop(0);
15960 if { (eval echo configure
:15961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15963 wx_cv_func_pthread_cleanup_push
=yes
15966 echo "configure: failed program was:" >&5
15967 cat conftest.
$ac_ext >&5
15970 wx_cv_func_pthread_cleanup_push
=no
15977 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
15979 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
15980 cat >> confdefs.h
<<\EOF
15981 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
15987 if test "x$wx_lib_glibc21" = "xyes"; then
15988 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
15991 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
15992 echo "configure:15993: checking for pthread_mutexattr_t" >&5
15993 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
15994 echo $ac_n "(cached) $ac_c" 1>&6
15997 cat > conftest.
$ac_ext <<EOF
15998 #line 15999 "configure"
15999 #include "confdefs.h"
16000 #include <pthread.h>
16003 pthread_mutexattr_t attr;
16004 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
16008 if { (eval echo configure
:16009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16011 wx_cv_type_pthread_mutexattr_t
=yes
16014 echo "configure: failed program was:" >&5
16015 cat conftest.
$ac_ext >&5
16018 wx_cv_type_pthread_mutexattr_t
=no
16026 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
16028 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
16029 cat >> confdefs.h
<<\EOF
16030 #define HAVE_PTHREAD_MUTEXATTR_T 1
16034 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
16035 echo "configure:16036: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
16036 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
16037 echo $ac_n "(cached) $ac_c" 1>&6
16040 cat > conftest.
$ac_ext <<EOF
16041 #line 16042 "configure"
16042 #include "confdefs.h"
16043 #include <pthread.h>
16046 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
16050 if { (eval echo configure
:16051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16053 wx_cv_type_pthread_rec_mutex_init
=yes
16056 echo "configure: failed program was:" >&5
16057 cat conftest.
$ac_ext >&5
16060 wx_cv_type_pthread_rec_mutex_init
=no
16068 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
16069 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
16070 cat >> confdefs.h
<<\EOF
16071 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
16075 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
16079 THREADS_LINK
=" -l$THREADS_LINK"
16081 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
16082 CPPFLAGS
="$CFLAGS -mt"
16083 CXXFLAGS
="$CXXFLAGS -mt"
16084 LDFLAGS
="$LDFLAGS -mt"
16090 if test "$wxUSE_THREADS" = "yes"; then
16091 cat >> confdefs.h
<<\EOF
16092 #define wxUSE_THREADS 1
16096 if test "$USE_DARWIN" != 1; then
16097 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -D_REENTRANT"
16100 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
16102 if test "$ac_cv_func_strtok_r" = "yes"; then
16103 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
16104 echo "configure:16105: checking if -D_REENTRANT is needed" >&5
16105 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
16106 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
16107 echo "$ac_t""yes" 1>&6
16109 echo "$ac_t""no" 1>&6
16114 if test "$WXGTK20" = 1 ; then
16115 cat >> confdefs.h
<<EOF
16116 #define __WXGTK20__ $WXGTK20
16122 if test "$WXGTK12" = 1 ; then
16123 cat >> confdefs.h
<<EOF
16124 #define __WXGTK12__ $WXGTK12
16129 if test "$WXGTK127" = 1 ; then
16130 cat >> confdefs.h
<<EOF
16131 #define __WXGTK127__ $WXGTK127
16138 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
16143 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
16144 wxUSE_DEBUG_INFO
=yes
16148 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
16149 cat >> confdefs.h
<<\EOF
16153 WXDEBUG_DEFINE
="-D__WXDEBUG__"
16155 if test "$wxUSE_GTK" = 1 ; then
16156 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
16160 if test "$wxUSE_MEM_TRACING" = "yes" ; then
16161 cat >> confdefs.h
<<\EOF
16162 #define wxUSE_MEMORY_TRACING 1
16165 cat >> confdefs.h
<<\EOF
16166 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
16169 cat >> confdefs.h
<<\EOF
16170 #define wxUSE_DEBUG_NEW_ALWAYS 1
16173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
16176 if test "$wxUSE_DMALLOC" = "yes" ; then
16177 DMALLOC_LIBS
="-ldmalloc"
16181 if test "$wxUSE_PROFILE" = "yes" ; then
16185 if test "$GCC" = "yes" ; then
16186 if test "$wxUSE_NO_RTTI" = "yes" ; then
16187 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
16189 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
16190 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
16192 if test "$wxUSE_PERMISSIVE" = "yes" ; then
16193 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
16195 if test "$USE_WIN32" = 1 ; then
16196 # I'm not even really sure what this was ever added to solve,
16197 # but someone added it for mingw native builds, so I guess
16198 # they had a reason, right??
16199 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
16204 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
16205 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
16206 if test "$wxUSE_OPTIMISE" = "no" ; then
16209 if test "$GCC" = yes ; then
16212 i586
-*-*|i686
-*-* )
16213 OPTIMISE
="${OPTIMISE} "
16221 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
16222 cat >> confdefs.h
<<\EOF
16223 #define WXWIN_COMPATIBILITY_2 1
16227 WXWIN_COMPATIBILITY_2_2
="yes"
16230 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
16231 cat >> confdefs.h
<<\EOF
16232 #define WXWIN_COMPATIBILITY_2_2 1
16238 if test "$wxUSE_GUI" = "yes"; then
16239 cat >> confdefs.h
<<\EOF
16240 #define wxUSE_GUI 1
16245 cat >> confdefs.h
<<\EOF
16246 #define wxUSE_NOGUI 1
16252 if test "$wxUSE_UNIX" = "yes"; then
16253 cat >> confdefs.h
<<\EOF
16254 #define wxUSE_UNIX 1
16260 if test "$wxUSE_APPLE_IEEE" = "yes"; then
16261 cat >> confdefs.h
<<\EOF
16262 #define wxUSE_APPLE_IEEE 1
16267 if test "$wxUSE_TIMER" = "yes"; then
16268 cat >> confdefs.h
<<\EOF
16269 #define wxUSE_TIMER 1
16274 if test "$wxUSE_WAVE" = "yes"; then
16275 cat >> confdefs.h
<<\EOF
16276 #define wxUSE_WAVE 1
16281 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
16282 cat >> confdefs.h
<<\EOF
16283 #define wxUSE_CMDLINE_PARSER 1
16288 if test "$wxUSE_STOPWATCH" = "yes"; then
16289 cat >> confdefs.h
<<\EOF
16290 #define wxUSE_STOPWATCH 1
16295 if test "$wxUSE_DATETIME" = "yes"; then
16296 cat >> confdefs.h
<<\EOF
16297 #define wxUSE_DATETIME 1
16302 if test "$wxUSE_TIMEDATE" = "yes"; then
16303 cat >> confdefs.h
<<\EOF
16304 #define wxUSE_TIMEDATE 1
16309 if test "$wxUSE_FILE" = "yes"; then
16310 cat >> confdefs.h
<<\EOF
16311 #define wxUSE_FILE 1
16316 if test "$wxUSE_FFILE" = "yes"; then
16317 cat >> confdefs.h
<<\EOF
16318 #define wxUSE_FFILE 1
16323 if test "$wxUSE_FILESYSTEM" = "yes"; then
16324 cat >> confdefs.h
<<\EOF
16325 #define wxUSE_FILESYSTEM 1
16330 if test "$wxUSE_FS_INET" = "yes"; then
16331 cat >> confdefs.h
<<\EOF
16332 #define wxUSE_FS_INET 1
16337 if test "$wxUSE_FS_ZIP" = "yes"; then
16338 cat >> confdefs.h
<<\EOF
16339 #define wxUSE_FS_ZIP 1
16344 if test "$wxUSE_ZIPSTREAM" = "yes"; then
16345 cat >> confdefs.h
<<\EOF
16346 #define wxUSE_ZIPSTREAM 1
16351 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16352 cat >> confdefs.h
<<\EOF
16353 #define wxUSE_ON_FATAL_EXCEPTION 1
16358 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16359 cat >> confdefs.h
<<\EOF
16360 #define wxUSE_SNGLINST_CHECKER 1
16365 if test "$wxUSE_BUSYINFO" = "yes"; then
16366 cat >> confdefs.h
<<\EOF
16367 #define wxUSE_BUSYINFO 1
16372 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
16373 cat >> confdefs.h
<<\EOF
16374 #define wxUSE_STD_IOSTREAM 1
16379 if test "$wxUSE_TEXTBUFFER" = "yes"; then
16380 cat >> confdefs.h
<<\EOF
16381 #define wxUSE_TEXTBUFFER 1
16386 if test "$wxUSE_TEXTFILE" = "yes"; then
16387 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
16388 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
16390 cat >> confdefs.h
<<\EOF
16391 #define wxUSE_TEXTFILE 1
16397 if test "$wxUSE_CONFIG" = "yes" ; then
16398 if test "$wxUSE_TEXTFILE" != "yes"; then
16399 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
16401 cat >> confdefs.h
<<\EOF
16402 #define wxUSE_CONFIG 1
16405 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
16409 if test "$wxUSE_INTL" = "yes" ; then
16410 if test "$wxUSE_FILE" != "yes"; then
16411 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
16413 cat >> confdefs.h
<<\EOF
16414 #define wxUSE_INTL 1
16417 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
16418 GUIDIST
="$GUIDIST INTL_DIST"
16422 if test "$wxUSE_LOG" = "yes"; then
16423 cat >> confdefs.h
<<\EOF
16424 #define wxUSE_LOG 1
16428 if test "$wxUSE_LOGGUI" = "yes"; then
16429 cat >> confdefs.h
<<\EOF
16430 #define wxUSE_LOGGUI 1
16435 if test "$wxUSE_LOGWINDOW" = "yes"; then
16436 cat >> confdefs.h
<<\EOF
16437 #define wxUSE_LOGWINDOW 1
16442 if test "$wxUSE_LOGDIALOG" = "yes"; then
16443 cat >> confdefs.h
<<\EOF
16444 #define wxUSE_LOG_DIALOG 1
16450 if test "$wxUSE_LONGLONG" = "yes"; then
16451 cat >> confdefs.h
<<\EOF
16452 #define wxUSE_LONGLONG 1
16457 if test "$wxUSE_GEOMETRY" = "yes"; then
16458 cat >> confdefs.h
<<\EOF
16459 #define wxUSE_GEOMETRY 1
16464 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
16465 cat >> confdefs.h
<<\EOF
16466 #define wxUSE_DIALUP_MANAGER 1
16469 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
16472 if test "$wxUSE_STREAMS" = "yes" ; then
16473 cat >> confdefs.h
<<\EOF
16474 #define wxUSE_STREAMS 1
16480 if test "$wxUSE_DATETIME" = "yes"; then
16481 for ac_func
in strptime
16483 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16484 echo "configure:16485: checking for $ac_func" >&5
16485 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16486 echo $ac_n "(cached) $ac_c" 1>&6
16488 cat > conftest.
$ac_ext <<EOF
16489 #line 16490 "configure"
16490 #include "confdefs.h"
16491 /* System header to define __stub macros and hopefully few prototypes,
16492 which can conflict with char $ac_func(); below. */
16493 #include <assert.h>
16494 /* Override any gcc2 internal prototype to avoid an error. */
16495 /* We use char because int might match the return type of a gcc2
16496 builtin and then its argument prototype would still apply. */
16501 /* The GNU C library defines this for functions which it implements
16502 to always fail with ENOSYS. Some functions are actually named
16503 something starting with __ and the normal name is an alias. */
16504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16512 if { (eval echo configure
:16513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16514 eval "ac_cv_func_$ac_func=yes"
16516 echo "configure: failed program was:" >&5
16517 cat conftest.
$ac_ext >&5
16519 eval "ac_cv_func_$ac_func=no"
16524 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16525 echo "$ac_t""yes" 1>&6
16526 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16527 cat >> confdefs.h
<<EOF
16528 #define $ac_tr_func 1
16532 echo "$ac_t""no" 1>&6
16537 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16538 echo "configure:16539: checking for timezone variable in <time.h>" >&5
16539 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16540 echo $ac_n "(cached) $ac_c" 1>&6
16543 cat > conftest.
$ac_ext <<EOF
16544 #line 16545 "configure"
16545 #include "confdefs.h"
16556 if { (eval echo configure
:16557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16559 wx_cv_var_timezone
=timezone
16562 echo "configure: failed program was:" >&5
16563 cat conftest.
$ac_ext >&5
16566 cat > conftest.
$ac_ext <<EOF
16567 #line 16568 "configure"
16568 #include "confdefs.h"
16579 if { (eval echo configure
:16580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16582 wx_cv_var_timezone
=_timezone
16585 echo "configure: failed program was:" >&5
16586 cat conftest.
$ac_ext >&5
16589 cat > conftest.
$ac_ext <<EOF
16590 #line 16591 "configure"
16591 #include "confdefs.h"
16602 if { (eval echo configure
:16603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16605 wx_cv_var_timezone
=__timezone
16608 echo "configure: failed program was:" >&5
16609 cat conftest.
$ac_ext >&5
16611 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16627 echo "$ac_t""$wx_cv_var_timezone" 1>&6
16629 cat >> confdefs.h
<<EOF
16630 #define WX_TIMEZONE $wx_cv_var_timezone
16634 for ac_func
in localtime
16636 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16637 echo "configure:16638: checking for $ac_func" >&5
16638 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16639 echo $ac_n "(cached) $ac_c" 1>&6
16641 cat > conftest.
$ac_ext <<EOF
16642 #line 16643 "configure"
16643 #include "confdefs.h"
16644 /* System header to define __stub macros and hopefully few prototypes,
16645 which can conflict with char $ac_func(); below. */
16646 #include <assert.h>
16647 /* Override any gcc2 internal prototype to avoid an error. */
16648 /* We use char because int might match the return type of a gcc2
16649 builtin and then its argument prototype would still apply. */
16654 /* The GNU C library defines this for functions which it implements
16655 to always fail with ENOSYS. Some functions are actually named
16656 something starting with __ and the normal name is an alias. */
16657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16665 if { (eval echo configure
:16666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16667 eval "ac_cv_func_$ac_func=yes"
16669 echo "configure: failed program was:" >&5
16670 cat conftest.
$ac_ext >&5
16672 eval "ac_cv_func_$ac_func=no"
16677 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16678 echo "$ac_t""yes" 1>&6
16679 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16680 cat >> confdefs.h
<<EOF
16681 #define $ac_tr_func 1
16685 echo "$ac_t""no" 1>&6
16690 if test "$ac_cv_func_localtime" = "yes"; then
16691 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16692 echo "configure:16693: checking for tm_gmtoff in struct tm" >&5
16693 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16694 echo $ac_n "(cached) $ac_c" 1>&6
16697 cat > conftest.
$ac_ext <<EOF
16698 #line 16699 "configure"
16699 #include "confdefs.h"
16710 if { (eval echo configure
:16711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16713 wx_cv_struct_tm_has_gmtoff
=yes
16716 echo "configure: failed program was:" >&5
16717 cat conftest.
$ac_ext >&5
16719 wx_cv_struct_tm_has_gmtoff
=no
16726 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16729 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16730 cat >> confdefs.h
<<\EOF
16731 #define WX_GMTOFF_IN_TM 1
16736 for ac_func
in gettimeofday ftime
16738 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16739 echo "configure:16740: checking for $ac_func" >&5
16740 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16741 echo $ac_n "(cached) $ac_c" 1>&6
16743 cat > conftest.
$ac_ext <<EOF
16744 #line 16745 "configure"
16745 #include "confdefs.h"
16746 /* System header to define __stub macros and hopefully few prototypes,
16747 which can conflict with char $ac_func(); below. */
16748 #include <assert.h>
16749 /* Override any gcc2 internal prototype to avoid an error. */
16750 /* We use char because int might match the return type of a gcc2
16751 builtin and then its argument prototype would still apply. */
16756 /* The GNU C library defines this for functions which it implements
16757 to always fail with ENOSYS. Some functions are actually named
16758 something starting with __ and the normal name is an alias. */
16759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16767 if { (eval echo configure
:16768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16769 eval "ac_cv_func_$ac_func=yes"
16771 echo "configure: failed program was:" >&5
16772 cat conftest.
$ac_ext >&5
16774 eval "ac_cv_func_$ac_func=no"
16779 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16780 echo "$ac_t""yes" 1>&6
16781 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16782 cat >> confdefs.h
<<EOF
16783 #define $ac_tr_func 1
16787 echo "$ac_t""no" 1>&6
16792 if test "$ac_cv_func_gettimeofday" = "yes"; then
16793 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16794 echo "configure:16795: checking whether gettimeofday takes two arguments" >&5
16795 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16796 echo $ac_n "(cached) $ac_c" 1>&6
16801 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16802 ac_cpp
='$CXXCPP $CPPFLAGS'
16803 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16804 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16805 cross_compiling
=$ac_cv_prog_cxx_cross
16808 cat > conftest.
$ac_ext <<EOF
16809 #line 16810 "configure"
16810 #include "confdefs.h"
16812 #include <sys/time.h>
16813 #include <unistd.h>
16818 gettimeofday(&tv, NULL);
16822 if { (eval echo configure
:16823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16824 wx_cv_func_gettimeofday_has_2_args
=yes
16826 echo "configure: failed program was:" >&5
16827 cat conftest.
$ac_ext >&5
16829 cat > conftest.
$ac_ext <<EOF
16830 #line 16831 "configure"
16831 #include "confdefs.h"
16833 #include <sys/time.h>
16834 #include <unistd.h>
16843 if { (eval echo configure
:16844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16845 wx_cv_func_gettimeofday_has_2_args
=no
16847 echo "configure: failed program was:" >&5
16848 cat conftest.
$ac_ext >&5
16851 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
16852 wx_cv_func_gettimeofday_has_2_args
=unknown
16861 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16862 ac_cpp
='$CPP $CPPFLAGS'
16863 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16864 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16865 cross_compiling
=$ac_cv_prog_cc_cross
16870 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16872 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16873 cat >> confdefs.h
<<\EOF
16874 #define WX_GETTIMEOFDAY_NO_TZ 1
16880 cat >> confdefs.h
<<\EOF
16881 #define wxUSE_TIMEDATE 1
16884 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
16888 if test "$TOOLKIT" != "MSW"; then
16890 if test "$wxUSE_SOCKETS" = "yes"; then
16891 echo $ac_n "checking for socket""... $ac_c" 1>&6
16892 echo "configure:16893: checking for socket" >&5
16893 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16894 echo $ac_n "(cached) $ac_c" 1>&6
16896 cat > conftest.
$ac_ext <<EOF
16897 #line 16898 "configure"
16898 #include "confdefs.h"
16899 /* System header to define __stub macros and hopefully few prototypes,
16900 which can conflict with char socket(); below. */
16901 #include <assert.h>
16902 /* Override any gcc2 internal prototype to avoid an error. */
16903 /* We use char because int might match the return type of a gcc2
16904 builtin and then its argument prototype would still apply. */
16909 /* The GNU C library defines this for functions which it implements
16910 to always fail with ENOSYS. Some functions are actually named
16911 something starting with __ and the normal name is an alias. */
16912 #if defined (__stub_socket) || defined (__stub___socket)
16920 if { (eval echo configure
:16921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16922 eval "ac_cv_func_socket=yes"
16924 echo "configure: failed program was:" >&5
16925 cat conftest.
$ac_ext >&5
16927 eval "ac_cv_func_socket=no"
16932 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16933 echo "$ac_t""yes" 1>&6
16936 echo "$ac_t""no" 1>&6
16937 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16938 echo "configure:16939: checking for socket in -lsocket" >&5
16939 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16940 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16941 echo $ac_n "(cached) $ac_c" 1>&6
16943 ac_save_LIBS
="$LIBS"
16944 LIBS
="-lsocket $LIBS"
16945 cat > conftest.
$ac_ext <<EOF
16946 #line 16947 "configure"
16947 #include "confdefs.h"
16948 /* Override any gcc2 internal prototype to avoid an error. */
16949 /* We use char because int might match the return type of a gcc2
16950 builtin and then its argument prototype would still apply. */
16957 if { (eval echo configure
:16958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16959 eval "ac_cv_lib_$ac_lib_var=yes"
16961 echo "configure: failed program was:" >&5
16962 cat conftest.
$ac_ext >&5
16964 eval "ac_cv_lib_$ac_lib_var=no"
16967 LIBS
="$ac_save_LIBS"
16970 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16971 echo "$ac_t""yes" 1>&6
16972 INET_LINK
="$INET_LINK -lsocket"
16974 echo "$ac_t""no" 1>&6
16976 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16988 if test "$wxUSE_SOCKETS" = "yes" ; then
16989 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16990 echo "configure:16991: checking what is the type of the third argument of getsockname" >&5
16991 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16992 echo $ac_n "(cached) $ac_c" 1>&6
16997 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16998 ac_cpp
='$CXXCPP $CPPFLAGS'
16999 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17000 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17001 cross_compiling
=$ac_cv_prog_cxx_cross
17004 cat > conftest.
$ac_ext <<EOF
17005 #line 17006 "configure"
17006 #include "confdefs.h"
17008 #include <sys/types.h>
17009 #include <sys/socket.h>
17014 getsockname(0, 0, &len);
17018 if { (eval echo configure
:17019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17020 wx_cv_type_getsockname3
=socklen_t
17022 echo "configure: failed program was:" >&5
17023 cat conftest.
$ac_ext >&5
17025 cat > conftest.
$ac_ext <<EOF
17026 #line 17027 "configure"
17027 #include "confdefs.h"
17029 #include <sys/types.h>
17030 #include <sys/socket.h>
17035 getsockname(0, 0, &len);
17039 if { (eval echo configure
:17040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17041 wx_cv_type_getsockname3
=size_t
17043 echo "configure: failed program was:" >&5
17044 cat conftest.
$ac_ext >&5
17046 cat > conftest.
$ac_ext <<EOF
17047 #line 17048 "configure"
17048 #include "confdefs.h"
17050 #include <sys/types.h>
17051 #include <sys/socket.h>
17056 getsockname(0, 0, &len);
17060 if { (eval echo configure
:17061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17062 wx_cv_type_getsockname3
=int
17064 echo "configure: failed program was:" >&5
17065 cat conftest.
$ac_ext >&5
17067 wx_cv_type_getsockname3
=unknown
17079 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17080 ac_cpp
='$CPP $CPPFLAGS'
17081 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17082 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17083 cross_compiling
=$ac_cv_prog_cc_cross
17088 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
17090 if test "$wx_cv_type_getsockname3" = "unknown"; then
17092 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
17094 cat >> confdefs.h
<<EOF
17095 #define SOCKLEN_T $wx_cv_type_getsockname3
17102 if test "$wxUSE_SOCKETS" = "yes" ; then
17103 cat >> confdefs.h
<<\EOF
17104 #define wxUSE_SOCKETS 1
17107 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
17111 if test "$wxUSE_GUI" = "yes"; then
17113 if test "$TOOLKIT" = "MAC"; then
17114 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
17117 if test "$TOOLKIT" = "MOTIF"; then
17118 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
17122 if test "$TOOLKIT" != "MSW"; then
17123 if test "$wxUSE_JOYSTICK" = "yes"; then
17124 for ac_hdr
in linux
/joystick.h
17126 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17127 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17128 echo "configure:17129: checking for $ac_hdr" >&5
17129 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17130 echo $ac_n "(cached) $ac_c" 1>&6
17132 cat > conftest.
$ac_ext <<EOF
17133 #line 17134 "configure"
17134 #include "confdefs.h"
17137 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17138 { (eval echo configure
:17139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17139 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17140 if test -z "$ac_err"; then
17142 eval "ac_cv_header_$ac_safe=yes"
17145 echo "configure: failed program was:" >&5
17146 cat conftest.
$ac_ext >&5
17148 eval "ac_cv_header_$ac_safe=no"
17152 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17153 echo "$ac_t""yes" 1>&6
17154 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17155 cat >> confdefs.h
<<EOF
17156 #define $ac_tr_hdr 1
17160 echo "$ac_t""no" 1>&6
17164 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
17166 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
17171 if test "$wxUSE_JOYSTICK" = "yes"; then
17172 cat >> confdefs.h
<<\EOF
17173 #define wxUSE_JOYSTICK 1
17176 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
17181 if test "$TOOLKIT" != "MSW"; then
17185 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
17186 if test "$USE_DARWIN" = 1; then
17189 for ac_func
in dlopen
17191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17192 echo "configure:17193: checking for $ac_func" >&5
17193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17194 echo $ac_n "(cached) $ac_c" 1>&6
17196 cat > conftest.
$ac_ext <<EOF
17197 #line 17198 "configure"
17198 #include "confdefs.h"
17199 /* System header to define __stub macros and hopefully few prototypes,
17200 which can conflict with char $ac_func(); below. */
17201 #include <assert.h>
17202 /* Override any gcc2 internal prototype to avoid an error. */
17203 /* We use char because int might match the return type of a gcc2
17204 builtin and then its argument prototype would still apply. */
17209 /* The GNU C library defines this for functions which it implements
17210 to always fail with ENOSYS. Some functions are actually named
17211 something starting with __ and the normal name is an alias. */
17212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17220 if { (eval echo configure
:17221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17222 eval "ac_cv_func_$ac_func=yes"
17224 echo "configure: failed program was:" >&5
17225 cat conftest.
$ac_ext >&5
17227 eval "ac_cv_func_$ac_func=no"
17232 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17233 echo "$ac_t""yes" 1>&6
17234 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17235 cat >> confdefs.h
<<EOF
17236 #define $ac_tr_func 1
17239 cat >> confdefs.h
<<\EOF
17240 #define HAVE_DLOPEN 1
17246 echo "$ac_t""no" 1>&6
17247 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
17248 echo "configure:17249: checking for dlopen in -ldl" >&5
17249 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
17250 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17251 echo $ac_n "(cached) $ac_c" 1>&6
17253 ac_save_LIBS
="$LIBS"
17255 cat > conftest.
$ac_ext <<EOF
17256 #line 17257 "configure"
17257 #include "confdefs.h"
17258 /* Override any gcc2 internal prototype to avoid an error. */
17259 /* We use char because int might match the return type of a gcc2
17260 builtin and then its argument prototype would still apply. */
17267 if { (eval echo configure
:17268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17269 eval "ac_cv_lib_$ac_lib_var=yes"
17271 echo "configure: failed program was:" >&5
17272 cat conftest.
$ac_ext >&5
17274 eval "ac_cv_lib_$ac_lib_var=no"
17277 LIBS
="$ac_save_LIBS"
17280 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17281 echo "$ac_t""yes" 1>&6
17283 cat >> confdefs.h
<<\EOF
17284 #define HAVE_DLOPEN 1
17288 DL_LINK
=" -ldl$DL_LINK"
17291 echo "$ac_t""no" 1>&6
17293 for ac_func
in shl_load
17295 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17296 echo "configure:17297: checking for $ac_func" >&5
17297 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17298 echo $ac_n "(cached) $ac_c" 1>&6
17300 cat > conftest.
$ac_ext <<EOF
17301 #line 17302 "configure"
17302 #include "confdefs.h"
17303 /* System header to define __stub macros and hopefully few prototypes,
17304 which can conflict with char $ac_func(); below. */
17305 #include <assert.h>
17306 /* Override any gcc2 internal prototype to avoid an error. */
17307 /* We use char because int might match the return type of a gcc2
17308 builtin and then its argument prototype would still apply. */
17313 /* The GNU C library defines this for functions which it implements
17314 to always fail with ENOSYS. Some functions are actually named
17315 something starting with __ and the normal name is an alias. */
17316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17324 if { (eval echo configure
:17325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17326 eval "ac_cv_func_$ac_func=yes"
17328 echo "configure: failed program was:" >&5
17329 cat conftest.
$ac_ext >&5
17331 eval "ac_cv_func_$ac_func=no"
17336 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17337 echo "$ac_t""yes" 1>&6
17338 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17339 cat >> confdefs.h
<<EOF
17340 #define $ac_tr_func 1
17343 cat >> confdefs.h
<<\EOF
17344 #define HAVE_SHL_LOAD 1
17350 echo "$ac_t""no" 1>&6
17351 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
17352 echo "configure:17353: checking for dld in -lshl_load" >&5
17353 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
17354 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17355 echo $ac_n "(cached) $ac_c" 1>&6
17357 ac_save_LIBS
="$LIBS"
17358 LIBS
="-lshl_load $LIBS"
17359 cat > conftest.
$ac_ext <<EOF
17360 #line 17361 "configure"
17361 #include "confdefs.h"
17362 /* Override any gcc2 internal prototype to avoid an error. */
17363 /* We use char because int might match the return type of a gcc2
17364 builtin and then its argument prototype would still apply. */
17371 if { (eval echo configure
:17372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17373 eval "ac_cv_lib_$ac_lib_var=yes"
17375 echo "configure: failed program was:" >&5
17376 cat conftest.
$ac_ext >&5
17378 eval "ac_cv_lib_$ac_lib_var=no"
17381 LIBS
="$ac_save_LIBS"
17384 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17385 echo "$ac_t""yes" 1>&6
17388 DL_LINK
=" -ldld$DL_LINK"
17391 echo "$ac_t""no" 1>&6
17406 if test "$HAVE_DL_FUNCS" = 1; then
17407 for ac_func
in dlerror
17409 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17410 echo "configure:17411: checking for $ac_func" >&5
17411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17412 echo $ac_n "(cached) $ac_c" 1>&6
17414 cat > conftest.
$ac_ext <<EOF
17415 #line 17416 "configure"
17416 #include "confdefs.h"
17417 /* System header to define __stub macros and hopefully few prototypes,
17418 which can conflict with char $ac_func(); below. */
17419 #include <assert.h>
17420 /* Override any gcc2 internal prototype to avoid an error. */
17421 /* We use char because int might match the return type of a gcc2
17422 builtin and then its argument prototype would still apply. */
17427 /* The GNU C library defines this for functions which it implements
17428 to always fail with ENOSYS. Some functions are actually named
17429 something starting with __ and the normal name is an alias. */
17430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17438 if { (eval echo configure
:17439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17440 eval "ac_cv_func_$ac_func=yes"
17442 echo "configure: failed program was:" >&5
17443 cat conftest.
$ac_ext >&5
17445 eval "ac_cv_func_$ac_func=no"
17450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17451 echo "$ac_t""yes" 1>&6
17452 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17453 cat >> confdefs.h
<<EOF
17454 #define $ac_tr_func 1
17456 cat >> confdefs.h
<<\EOF
17457 #define HAVE_DLERROR 1
17461 echo "$ac_t""no" 1>&6
17462 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
17463 echo "configure:17464: checking for dlerror in -ldl" >&5
17464 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
17465 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17466 echo $ac_n "(cached) $ac_c" 1>&6
17468 ac_save_LIBS
="$LIBS"
17470 cat > conftest.
$ac_ext <<EOF
17471 #line 17472 "configure"
17472 #include "confdefs.h"
17473 /* Override any gcc2 internal prototype to avoid an error. */
17474 /* We use char because int might match the return type of a gcc2
17475 builtin and then its argument prototype would still apply. */
17482 if { (eval echo configure
:17483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17484 eval "ac_cv_lib_$ac_lib_var=yes"
17486 echo "configure: failed program was:" >&5
17487 cat conftest.
$ac_ext >&5
17489 eval "ac_cv_lib_$ac_lib_var=no"
17492 LIBS
="$ac_save_LIBS"
17495 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17496 echo "$ac_t""yes" 1>&6
17497 cat >> confdefs.h
<<\EOF
17498 #define HAVE_DLERROR 1
17502 echo "$ac_t""no" 1>&6
17511 if test "$HAVE_DL_FUNCS" = 0; then
17512 if test "$HAVE_SHL_FUNCS" = 0; then
17513 if test "$USE_UNIX" = 1; then
17514 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
17515 wxUSE_DYNLIB_CLASS
=no
17517 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17524 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17525 cat >> confdefs.h
<<\EOF
17526 #define wxUSE_DYNLIB_CLASS 1
17535 if test "$wxUSE_FONTMAP" = "yes" ; then
17536 cat >> confdefs.h
<<\EOF
17537 #define wxUSE_FONTMAP 1
17542 if test "$wxUSE_UNICODE" = "yes" ; then
17543 cat >> confdefs.h
<<\EOF
17544 #define wxUSE_UNICODE 1
17549 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17550 cat >> confdefs.h
<<\EOF
17551 #define wxUSE_EXPERIMENTAL_PRINTF 1
17557 if test "$wxUSE_SERIAL" = "yes" ; then
17558 cat >> confdefs.h
<<\EOF
17559 #define wxUSE_SERIAL 1
17566 if test "$wxUSE_ODBC" = "yes" ; then
17567 cat >> confdefs.h
<<\EOF
17568 #define wxUSE_ODBC 1
17571 WXODBCFLAG
="-D_IODBC_"
17572 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
17576 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17577 cat >> confdefs.h
<<\EOF
17578 #define wxUSE_POSTSCRIPT 1
17583 cat >> confdefs.h
<<\EOF
17584 #define wxUSE_AFM_FOR_POSTSCRIPT 1
17588 cat >> confdefs.h
<<\EOF
17589 #define wxUSE_NORMALIZED_PS_FONTS 1
17594 if test "$wxUSE_CONSTRAINTS" = "yes"; then
17595 cat >> confdefs.h
<<\EOF
17596 #define wxUSE_CONSTRAINTS 1
17599 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
17602 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17603 if test "$wxUSE_UNIVERSAL" = "yes"; then
17604 echo "configure: warning: MDI not yet supported for wxUNIVERSAL... disabled" 1>&2
17605 wxUSE_MDI_ARCHITECTURE
=no
17608 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17609 cat >> confdefs.h
<<\EOF
17610 #define wxUSE_MDI_ARCHITECTURE 1
17613 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
17617 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17618 cat >> confdefs.h
<<\EOF
17619 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
17622 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
17623 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
17628 if test "$wxUSE_HELP" = "yes"; then
17629 cat >> confdefs.h
<<\EOF
17630 #define wxUSE_HELP 1
17633 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
17635 if test "$wxUSE_MSW" = 1; then
17636 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17637 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17638 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17639 echo "configure:17640: checking for htmlhelp.h" >&5
17640 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17641 echo $ac_n "(cached) $ac_c" 1>&6
17643 cat > conftest.
$ac_ext <<EOF
17644 #line 17645 "configure"
17645 #include "confdefs.h"
17646 #include <htmlhelp.h>
17648 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17649 { (eval echo configure
:17650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17650 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17651 if test -z "$ac_err"; then
17653 eval "ac_cv_header_$ac_safe=yes"
17656 echo "configure: failed program was:" >&5
17657 cat conftest.
$ac_ext >&5
17659 eval "ac_cv_header_$ac_safe=no"
17663 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17664 echo "$ac_t""yes" 1>&6
17666 cat >> confdefs.h
<<\EOF
17667 #define wxUSE_MS_HTML_HELP 1
17672 echo "$ac_t""no" 1>&6
17674 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
17675 wxUSE_MS_HTML_HELP
=no
17682 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17683 if test "$wxUSE_HTML" = "yes"; then
17684 cat >> confdefs.h
<<\EOF
17685 #define wxUSE_WXHTML_HELP 1
17689 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17690 wxUSE_WXHTML_HELP
=no
17695 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17696 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17697 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17699 cat >> confdefs.h
<<\EOF
17700 #define wxUSE_PRINTING_ARCHITECTURE 1
17704 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
17707 if test "$wxUSE_PROLOGIO" = "yes" ; then
17708 cat >> confdefs.h
<<\EOF
17709 #define wxUSE_PROLOGIO 1
17714 if test "$wxUSE_RESOURCES" = "yes" ; then
17715 cat >> confdefs.h
<<\EOF
17716 #define wxUSE_RESOURCES 1
17719 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
17722 if test "$wxUSE_X_RESOURCES" = "yes"; then
17723 cat >> confdefs.h
<<\EOF
17724 #define wxUSE_X_RESOURCES 1
17730 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
17731 -o "$wxUSE_CLIPBOARD" = "yes" \
17732 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
17733 for ac_hdr
in ole2.h
17735 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17736 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17737 echo "configure:17738: checking for $ac_hdr" >&5
17738 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17739 echo $ac_n "(cached) $ac_c" 1>&6
17741 cat > conftest.
$ac_ext <<EOF
17742 #line 17743 "configure"
17743 #include "confdefs.h"
17746 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17747 { (eval echo configure
:17748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17748 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17749 if test -z "$ac_err"; then
17751 eval "ac_cv_header_$ac_safe=yes"
17754 echo "configure: failed program was:" >&5
17755 cat conftest.
$ac_ext >&5
17757 eval "ac_cv_header_$ac_safe=no"
17761 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17762 echo "$ac_t""yes" 1>&6
17763 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17764 cat >> confdefs.h
<<EOF
17765 #define $ac_tr_hdr 1
17769 echo "$ac_t""no" 1>&6
17774 if test "$ac_cv_header_ole2_h" = "yes" ; then
17775 if test "$GCC" = yes ; then
17776 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
17777 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17778 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
17779 cat >> confdefs.h
<<\EOF
17780 #define wxUSE_OLE 1
17786 cat >> confdefs.h
<<\EOF
17787 #define wxUSE_DATAOBJ 1
17791 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
17794 wxUSE_DRAG_AND_DROP
=no
17798 if test "$wxUSE_METAFILE" = "yes"; then
17799 cat >> confdefs.h
<<\EOF
17800 #define wxUSE_METAFILE 1
17804 cat >> confdefs.h
<<\EOF
17805 #define wxUSE_ENH_METAFILE 1
17811 if test "$wxUSE_IPC" = "yes"; then
17812 if test "$wxUSE_SOCKETS" != "yes"; then
17813 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
17816 cat >> confdefs.h
<<\EOF
17817 #define wxUSE_IPC 1
17822 if test "$wxUSE_CLIPBOARD" = "yes"; then
17823 cat >> confdefs.h
<<\EOF
17824 #define wxUSE_CLIPBOARD 1
17828 cat >> confdefs.h
<<\EOF
17829 #define wxUSE_DATAOBJ 1
17834 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17835 if test "$wxUSE_GTK" = 1; then
17836 if test "$WXGTK12" != 1; then
17837 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
17838 wxUSE_DRAG_AND_DROP
=no
17842 if test "$wxUSE_MOTIF" = 1; then
17843 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
17844 wxUSE_DRAG_AND_DROP
=no
17847 if test "$wxUSE_MAC" = 1; then
17848 echo "configure: warning: Drag and drop not yet supported under Mac OS X... disabled" 1>&2
17849 wxUSE_DRAG_AND_DROP
=no
17852 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17853 cat >> confdefs.h
<<\EOF
17854 #define wxUSE_DRAG_AND_DROP 1
17857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
17862 if test "$wxUSE_SPLINES" = "yes" ; then
17863 cat >> confdefs.h
<<\EOF
17864 #define wxUSE_SPLINES 1
17871 if test "$wxUSE_CONTROLS" = "yes"; then
17875 if test "$wxUSE_ACCEL" = "yes"; then
17876 cat >> confdefs.h
<<\EOF
17877 #define wxUSE_ACCEL 1
17883 if test "$wxUSE_BUTTON" = "yes"; then
17884 cat >> confdefs.h
<<\EOF
17885 #define wxUSE_BUTTON 1
17891 if test "$wxUSE_BMPBUTTON" = "yes"; then
17892 cat >> confdefs.h
<<\EOF
17893 #define wxUSE_BMPBUTTON 1
17899 if test "$wxUSE_CALCTRL" = "yes"; then
17900 cat >> confdefs.h
<<\EOF
17901 #define wxUSE_CALENDARCTRL 1
17905 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
17908 if test "$wxUSE_CARET" = "yes"; then
17909 cat >> confdefs.h
<<\EOF
17910 #define wxUSE_CARET 1
17914 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
17917 if test "$wxUSE_COMBOBOX" = "yes"; then
17918 cat >> confdefs.h
<<\EOF
17919 #define wxUSE_COMBOBOX 1
17925 if test "$wxUSE_CHOICE" = "yes"; then
17926 cat >> confdefs.h
<<\EOF
17927 #define wxUSE_CHOICE 1
17933 if test "$wxUSE_CHECKBOX" = "yes"; then
17934 cat >> confdefs.h
<<\EOF
17935 #define wxUSE_CHECKBOX 1
17941 if test "$wxUSE_CHECKLST" = "yes"; then
17942 cat >> confdefs.h
<<\EOF
17943 #define wxUSE_CHECKLISTBOX 1
17947 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
17950 if test "$wxUSE_GAUGE" = "yes"; then
17951 cat >> confdefs.h
<<\EOF
17952 #define wxUSE_GAUGE 1
17958 if test "$wxUSE_NEW_GRID" = "yes"; then
17960 cat >> confdefs.h
<<\EOF
17961 #define wxUSE_NEW_GRID 1
17965 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
17968 if test "$wxUSE_GRID" = "yes"; then
17969 cat >> confdefs.h
<<\EOF
17970 #define wxUSE_GRID 1
17974 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
17977 if test "$wxUSE_IMAGLIST" = "yes"; then
17978 cat >> confdefs.h
<<\EOF
17979 #define wxUSE_IMAGLIST 1
17984 if test "$wxUSE_LISTBOX" = "yes"; then
17985 cat >> confdefs.h
<<\EOF
17986 #define wxUSE_LISTBOX 1
17992 if test "$wxUSE_LISTCTRL" = "yes"; then
17993 if test "$wxUSE_IMAGLIST" = "yes"; then
17994 cat >> confdefs.h
<<\EOF
17995 #define wxUSE_LISTCTRL 1
17999 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
18001 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
18005 if test "$wxUSE_NOTEBOOK" = "yes"; then
18006 cat >> confdefs.h
<<\EOF
18007 #define wxUSE_NOTEBOOK 1
18011 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
18014 if test "$wxUSE_PROPSHEET" = "yes"; then
18015 cat >> confdefs.h
<<\EOF
18016 #define wxUSE_PROPSHEET 1
18020 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
18023 if test "$wxUSE_RADIOBOX" = "yes"; then
18024 cat >> confdefs.h
<<\EOF
18025 #define wxUSE_RADIOBOX 1
18031 if test "$wxUSE_RADIOBTN" = "yes"; then
18032 cat >> confdefs.h
<<\EOF
18033 #define wxUSE_RADIOBTN 1
18039 if test "$wxUSE_SASH" = "yes"; then
18040 cat >> confdefs.h
<<\EOF
18041 #define wxUSE_SASH 1
18044 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
18047 if test "$wxUSE_SCROLLBAR" = "yes"; then
18048 cat >> confdefs.h
<<\EOF
18049 #define wxUSE_SCROLLBAR 1
18053 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
18056 if test "$wxUSE_SLIDER" = "yes"; then
18057 cat >> confdefs.h
<<\EOF
18058 #define wxUSE_SLIDER 1
18064 if test "$wxUSE_SPINBTN" = "yes"; then
18065 cat >> confdefs.h
<<\EOF
18066 #define wxUSE_SPINBTN 1
18072 if test "$wxUSE_SPINCTRL" = "yes"; then
18073 cat >> confdefs.h
<<\EOF
18074 #define wxUSE_SPINCTRL 1
18080 if test "$wxUSE_SPLITTER" = "yes"; then
18081 cat >> confdefs.h
<<\EOF
18082 #define wxUSE_SPLITTER 1
18085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
18088 if test "$wxUSE_STATBMP" = "yes"; then
18089 cat >> confdefs.h
<<\EOF
18090 #define wxUSE_STATBMP 1
18096 if test "$wxUSE_STATBOX" = "yes"; then
18097 cat >> confdefs.h
<<\EOF
18098 #define wxUSE_STATBOX 1
18104 if test "$wxUSE_STATTEXT" = "yes"; then
18105 cat >> confdefs.h
<<\EOF
18106 #define wxUSE_STATTEXT 1
18112 if test "$wxUSE_STATLINE" = "yes"; then
18113 if test "$wxUSE_WINE" = 1 ; then
18114 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
18116 cat >> confdefs.h
<<\EOF
18117 #define wxUSE_STATLINE 1
18124 if test "$wxUSE_STATUSBAR" = "yes"; then
18125 cat >> confdefs.h
<<\EOF
18126 #define wxUSE_STATUSBAR 1
18131 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
18134 if test "$wxUSE_TABDIALOG" = "yes"; then
18135 cat >> confdefs.h
<<\EOF
18136 #define wxUSE_TAB_DIALOG 1
18139 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
18142 if test "$wxUSE_TEXTCTRL" = "yes"; then
18143 cat >> confdefs.h
<<\EOF
18144 #define wxUSE_TEXTCTRL 1
18148 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
18151 if test "$wxUSE_TOGGLEBTN" = "yes"; then
18152 if test "$wxUSE_MAC" = 1; then
18153 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
18156 if test "$wxUSE_UNIVERSAL" = "yes"; then
18157 echo "configure: warning: Toggle button not yet supported under wxUNIVERSAL... disabled" 1>&2
18161 if test "$wxUSE_TOGGLEBTN" = "yes"; then
18162 cat >> confdefs.h
<<\EOF
18163 #define wxUSE_TOGGLEBTN 1
18170 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
18171 cat >> confdefs.h
<<\EOF
18172 #define wxUSE_TOOLBAR_SIMPLE 1
18175 wxUSE_TOOLBAR
="yes"
18179 if test "$wxUSE_TOOLBAR" = "yes"; then
18180 cat >> confdefs.h
<<\EOF
18181 #define wxUSE_TOOLBAR 1
18186 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
18187 wxUSE_TOOLBAR_NATIVE
="yes"
18190 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
18191 cat >> confdefs.h
<<\EOF
18192 #define wxUSE_TOOLBAR_NATIVE 1
18198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
18201 if test "$wxUSE_TOOLTIPS" = "yes"; then
18202 if test "$wxUSE_MOTIF" = 1; then
18203 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
18205 if test "$wxUSE_WINE" = 1; then
18206 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
18208 if test "$wxUSE_UNIVERSAL" = "yes"; then
18209 echo "configure: warning: wxTooltip not supported yet in wxUNIVERSAL... disabled" 1>&2
18211 cat >> confdefs.h
<<\EOF
18212 #define wxUSE_TOOLTIPS 1
18220 if test "$wxUSE_TREECTRL" = "yes"; then
18221 if test "$wxUSE_IMAGLIST" = "yes"; then
18222 cat >> confdefs.h
<<\EOF
18223 #define wxUSE_TREECTRL 1
18227 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
18229 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
18233 if test "$wxUSE_POPUPWIN" = "yes"; then
18234 if test "$wxUSE_MAC" = 1; then
18235 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
18237 if test "$wxUSE_MOTIF" = 1; then
18238 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
18240 cat >> confdefs.h
<<\EOF
18241 #define wxUSE_POPUPWIN 1
18245 if test "$wxUSE_TIPWINDOW" = "yes"; then
18246 cat >> confdefs.h
<<\EOF
18247 #define wxUSE_TIPWINDOW 1
18257 if test "$USES_CONTROLS" = 1; then
18258 cat >> confdefs.h
<<\EOF
18259 #define wxUSE_CONTROLS 1
18265 if test "$wxUSE_TREELAYOUT" = "yes"; then
18266 cat >> confdefs.h
<<\EOF
18267 #define wxUSE_TREELAYOUT 1
18270 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
18273 if test "$wxUSE_DRAGIMAGE" = "yes"; then
18274 cat >> confdefs.h
<<\EOF
18275 #define wxUSE_DRAGIMAGE 1
18278 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
18281 if test "$wxUSE_MENUS" = "yes"; then
18282 cat >> confdefs.h
<<\EOF
18283 #define wxUSE_MENUS 1
18286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
18289 if test "$wxUSE_METAFILE" = "yes"; then
18290 cat >> confdefs.h
<<\EOF
18291 #define wxUSE_METAFILE 1
18296 if test "$wxUSE_MIMETYPE" = "yes"; then
18297 cat >> confdefs.h
<<\EOF
18298 #define wxUSE_MIMETYPE 1
18303 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
18304 cat >> confdefs.h
<<\EOF
18305 #define wxUSE_SYSTEM_OPTIONS 1
18310 if test "$wxUSE_MINIFRAME" = "yes"; then
18311 cat >> confdefs.h
<<\EOF
18312 #define wxUSE_MINIFRAME 1
18315 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
18318 if test "$wxUSE_HTML" = "yes"; then
18319 cat >> confdefs.h
<<\EOF
18320 #define wxUSE_HTML 1
18323 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
18326 if test "$wxUSE_VALIDATORS" = "yes"; then
18327 cat >> confdefs.h
<<\EOF
18328 #define wxUSE_VALIDATORS 1
18331 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
18334 if test "$wxUSE_PALETTE" = "yes" ; then
18335 cat >> confdefs.h
<<\EOF
18336 #define wxUSE_PALETTE 1
18341 if test "$wxUSE_IMAGE" = "yes" ; then
18342 cat >> confdefs.h
<<\EOF
18343 #define wxUSE_IMAGE 1
18348 if test "$wxUSE_GIF" = "yes" ; then
18349 cat >> confdefs.h
<<\EOF
18350 #define wxUSE_GIF 1
18355 if test "$wxUSE_PCX" = "yes" ; then
18356 cat >> confdefs.h
<<\EOF
18357 #define wxUSE_PCX 1
18362 if test "$wxUSE_PNM" = "yes" ; then
18363 cat >> confdefs.h
<<\EOF
18364 #define wxUSE_PNM 1
18369 if test "$wxUSE_XPM" = "yes" ; then
18370 cat >> confdefs.h
<<\EOF
18371 #define wxUSE_XPM 1
18377 if test "$wxUSE_CHOICEDLG" = "yes"; then
18378 cat >> confdefs.h
<<\EOF
18379 #define wxUSE_CHOICEDLG 1
18384 if test "$wxUSE_COLOURDLG" = "yes"; then
18385 cat >> confdefs.h
<<\EOF
18386 #define wxUSE_COLOURDLG 1
18391 if test "$wxUSE_FILEDLG" = "yes"; then
18392 cat >> confdefs.h
<<\EOF
18393 #define wxUSE_FILEDLG 1
18398 if test "$wxUSE_FINDREPLDLG" = "yes"; then
18399 cat >> confdefs.h
<<\EOF
18400 #define wxUSE_FINDREPLDLG 1
18405 if test "$wxUSE_FONTDLG" = "yes"; then
18406 cat >> confdefs.h
<<\EOF
18407 #define wxUSE_FONTDLG 1
18412 if test "$wxUSE_DIRDLG" = "yes"; then
18413 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18414 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
18416 if test "$wxUSE_TREECTRL" != "yes"; then
18417 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
18419 cat >> confdefs.h
<<\EOF
18420 #define wxUSE_DIRDLG 1
18427 if test "$wxUSE_MSGDLG" = "yes"; then
18428 cat >> confdefs.h
<<\EOF
18429 #define wxUSE_MSGDLG 1
18434 if test "$wxUSE_NUMBERDLG" = "yes"; then
18435 cat >> confdefs.h
<<\EOF
18436 #define wxUSE_NUMBERDLG 1
18441 if test "$wxUSE_PROGRESSDLG" = "yes"; then
18442 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18443 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
18445 cat >> confdefs.h
<<\EOF
18446 #define wxUSE_PROGRESSDLG 1
18452 if test "$wxUSE_SPLASH" = "yes"; then
18453 cat >> confdefs.h
<<\EOF
18454 #define wxUSE_SPLASH 1
18459 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
18460 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18461 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
18463 cat >> confdefs.h
<<\EOF
18464 #define wxUSE_STARTUP_TIPS 1
18470 if test "$wxUSE_TEXTDLG" = "yes"; then
18471 cat >> confdefs.h
<<\EOF
18472 #define wxUSE_TEXTDLG 1
18477 if test "$wxUSE_WIZARDDLG" = "yes"; then
18478 cat >> confdefs.h
<<\EOF
18479 #define wxUSE_WIZARDDLG 1
18482 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
18486 if test "$cross_compiling" = "yes"; then
18489 OSINFO
=`uname -s -r -m`
18490 OSINFO
="\"$OSINFO\""
18493 cat >> confdefs.h
<<EOF
18494 #define WXWIN_OS_DESCRIPTION $OSINFO
18499 if test "x$prefix" != "xNONE"; then
18502 wxPREFIX
=$ac_default_prefix
18505 cat >> confdefs.h
<<EOF
18506 #define wxINSTALL_PREFIX "$wxPREFIX"
18513 if test "$wxUSE_MAC" = 1 ; then
18514 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
18518 LIBS
="$ZLIB_LINK$POSIX4_LINK$INET_LINK$WCHAR_LINK$THREADS_LINK$DL_LINK -lm$LIBS"
18520 if test "$wxUSE_GUI" = "yes"; then
18522 LIBS
=" $GUI_TK_LIBRARY$PNG_LINK$JPEG_LINK$TIFF_LINK$FREETYPE_LINK$LIBS"
18525 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
18526 drawing dynamic erase event exec font image \
18527 minimal richedit rotate widgets"
18529 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
18531 SAMPLES_SUBDIRS
="console"
18535 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
18536 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
18537 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
18539 if test "$wxUSE_GTK" = 1; then
18542 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
18545 if test "$GXX" = yes ; then
18546 CXXWARNINGS
="-Wall"
18548 if test "$wxUSE_NO_DEPS" = "no" ; then
18549 CFLAGS
="-MMD $CFLAGS"
18550 CXXFLAGS
="-MMD $CXXFLAGS"
18554 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG$PROFILE $OPTIMISE $INCLUDES"
18556 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
18557 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
18559 LDFLAGS
="$LDFLAGS$PROFILE"
18561 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
18647 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
18648 echo "configure:18649: checking whether ${MAKE-make} sets \${MAKE}" >&5
18649 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
18650 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
18651 echo $ac_n "(cached) $ac_c" 1>&6
18653 cat > conftestmake
<<\EOF
18655 @
echo 'ac_maketemp="${MAKE}"'
18657 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18658 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
18659 if test -n "$ac_maketemp"; then
18660 eval ac_cv_prog_make_
${ac_make}_set
=yes
18662 eval ac_cv_prog_make_
${ac_make}_set
=no
18666 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18667 echo "$ac_t""yes" 1>&6
18670 echo "$ac_t""no" 1>&6
18671 SET_MAKE
="MAKE=${MAKE-make}"
18675 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
18676 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
18681 if test "$wxUSE_GUI" = "yes"; then
18682 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
18683 wx_cv_path_ifs
=$PATH_IFS
18684 wx_cv_program_ext
=$PROGRAM_EXT
18685 wx_cv_target_library
=$WX_TARGET_LIBRARY
18686 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
18687 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
18688 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
18689 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
18690 subdirs
="demos samples utils contrib"
18695 cat > confcache
<<\EOF
18696 # This file is a shell script that caches the results of configure
18697 # tests run on this system so they can be shared between configure
18698 # scripts and configure runs. It is not useful on other systems.
18699 # If it contains results you don't want to keep, you may remove or edit it.
18701 # By default, configure uses ./config.cache as the cache file,
18702 # creating it if it does not exist already. You can give configure
18703 # the --cache-file=FILE option to use a different cache file; that is
18704 # what configure does when it calls configure scripts in
18705 # subdirectories, so they share the cache.
18706 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18707 # config.status only pays attention to the cache file if you give it the
18708 # --recheck option to rerun configure.
18711 # The following way of writing the cache mishandles newlines in values,
18712 # but we know of no workaround that is simple, portable, and efficient.
18713 # So, don't put newlines in cache variables' values.
18714 # Ultrix sh set writes to stderr and can't be redirected directly,
18715 # and sets the high bit in the cache file unless we assign to the vars.
18717 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18719 # `set' does not quote correctly, so add quotes (double-quote substitution
18720 # turns \\\\ into \\, and sed turns \\ into \).
18722 -e "s/'/'\\\\''/g" \
18723 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18726 # `set' quotes correctly as required by POSIX, so do not add quotes.
18727 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18730 if cmp -s $cache_file confcache
; then
18733 if test -w $cache_file; then
18734 echo "updating cache $cache_file"
18735 cat confcache
> $cache_file
18737 echo "not updating unwritable cache $cache_file"
18742 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18744 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18745 # Let make expand exec_prefix.
18746 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18748 # Any assignment to VPATH causes Sun make to only execute
18749 # the first set of double-colon rules, so remove it if not needed.
18750 # If there is a colon in the path, we need to keep it.
18751 if test "x$srcdir" = x.
; then
18752 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
18755 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18757 DEFS
=-DHAVE_CONFIG_H
18759 # Without the "./", some shells look in PATH for config.status.
18760 : ${CONFIG_STATUS=./config.status}
18762 echo creating
$CONFIG_STATUS
18763 rm -f $CONFIG_STATUS
18764 cat > $CONFIG_STATUS <<EOF
18766 # Generated automatically by configure.
18767 # Run this file to recreate the current configuration.
18768 # This directory was configured as follows,
18769 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18771 # $0 $ac_configure_args
18773 # Compiler output produced by configure, useful for debugging
18774 # configure, is in ./config.log if it exists.
18776 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18779 case "\$ac_option" in
18780 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18781 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18782 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18783 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18784 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18786 -help | --help | --hel | --he | --h)
18787 echo "\$ac_cs_usage"; exit 0 ;;
18788 *) echo "\$ac_cs_usage"; exit 1 ;;
18792 ac_given_srcdir=$srcdir
18793 ac_given_INSTALL="$INSTALL"
18795 trap 'rm -fr `echo "
18801 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18803 cat >> $CONFIG_STATUS <<EOF
18805 # Protect against being on the right side of a sed subst in config.status.
18806 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18807 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18811 s%@CFLAGS@%$CFLAGS%g
18812 s%@CPPFLAGS@%$CPPFLAGS%g
18813 s%@CXXFLAGS@%$CXXFLAGS%g
18814 s%@FFLAGS@%$FFLAGS%g
18816 s%@LDFLAGS@%$LDFLAGS%g
18818 s%@exec_prefix@%$exec_prefix%g
18819 s%@prefix@%$prefix%g
18820 s%@program_transform_name@%$program_transform_name%g
18821 s%@bindir@%$bindir%g
18822 s%@sbindir@%$sbindir%g
18823 s%@libexecdir@%$libexecdir%g
18824 s%@datadir@%$datadir%g
18825 s%@sysconfdir@%$sysconfdir%g
18826 s%@sharedstatedir@%$sharedstatedir%g
18827 s%@localstatedir@%$localstatedir%g
18828 s%@libdir@%$libdir%g
18829 s%@includedir@%$includedir%g
18830 s%@oldincludedir@%$oldincludedir%g
18831 s%@infodir@%$infodir%g
18832 s%@mandir@%$mandir%g
18834 s%@host_alias@%$host_alias%g
18835 s%@host_cpu@%$host_cpu%g
18836 s%@host_vendor@%$host_vendor%g
18837 s%@host_os@%$host_os%g
18838 s%@target@%$target%g
18839 s%@target_alias@%$target_alias%g
18840 s%@target_cpu@%$target_cpu%g
18841 s%@target_vendor@%$target_vendor%g
18842 s%@target_os@%$target_os%g
18844 s%@build_alias@%$build_alias%g
18845 s%@build_cpu@%$build_cpu%g
18846 s%@build_vendor@%$build_vendor%g
18847 s%@build_os@%$build_os%g
18851 s%@RANLIB@%$RANLIB%g
18853 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18854 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18855 s%@INSTALL_DATA@%$INSTALL_DATA%g
18859 s%@LEXLIB@%$LEXLIB%g
18861 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18862 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18863 s%@GTK_LIBS@%$GTK_LIBS%g
18864 s%@GTK_CONFIG@%$GTK_CONFIG%g
18865 s%@X_CFLAGS@%$X_CFLAGS%g
18866 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18867 s%@X_LIBS@%$X_LIBS%g
18868 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18869 s%@RESCOMP@%$RESCOMP%g
18871 s%@CXXCPP@%$CXXCPP%g
18872 s%@LEX_STEM@%$LEX_STEM%g
18873 s%@PATH_IFS@%$PATH_IFS%g
18874 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18875 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18876 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18877 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18878 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18879 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
18880 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18881 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18882 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18883 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18884 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18885 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18886 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18887 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18888 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18889 s%@WX_ALL@%$WX_ALL%g
18890 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18891 s%@SHARED_LD@%$SHARED_LD%g
18892 s%@PIC_FLAG@%$PIC_FLAG%g
18893 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18894 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18895 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
18896 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
18897 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18898 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18899 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18900 s%@USE_GUI@%$USE_GUI%g
18901 s%@AFMINSTALL@%$AFMINSTALL%g
18902 s%@TOOLKIT@%$TOOLKIT%g
18903 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18904 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18905 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
18906 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
18907 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
18908 s%@cross_compiling@%$cross_compiling%g
18909 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
18910 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
18911 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
18912 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
18913 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18914 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18915 s%@GUIDIST@%$GUIDIST%g
18916 s%@PORT_FILES@%$PORT_FILES%g
18917 s%@DISTDIR@%$DISTDIR%g
18918 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18919 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
18920 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18921 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
18922 s%@EXTRADEFS@%$EXTRADEFS%g
18923 s%@RESFLAGS@%$RESFLAGS%g
18924 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
18925 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
18926 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
18927 s%@LIBWXMACRES@%$LIBWXMACRES%g
18928 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18929 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
18930 s%@DLLTOOL@%$DLLTOOL%g
18934 s%@MAKEINFO@%$MAKEINFO%g
18935 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
18936 s%@SET_MAKE@%$SET_MAKE%g
18937 s%@subdirs@%$subdirs%g
18942 cat >> $CONFIG_STATUS <<\EOF
18944 # Split the substitutions into bite-sized pieces for seds with
18945 # small command number limits, like on Digital OSF/1 and HP-UX.
18946 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
18947 ac_file
=1 # Number of current file.
18948 ac_beg
=1 # First line for current file.
18949 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
18952 while $ac_more_lines; do
18953 if test $ac_beg -gt 1; then
18954 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
18956 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
18958 if test ! -s conftest.s
$ac_file; then
18959 ac_more_lines
=false
18960 rm -f conftest.s
$ac_file
18962 if test -z "$ac_sed_cmds"; then
18963 ac_sed_cmds
="sed -f conftest.s$ac_file"
18965 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
18967 ac_file
=`expr $ac_file + 1`
18969 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
18972 if test -z "$ac_sed_cmds"; then
18977 cat >> $CONFIG_STATUS <<EOF
18979 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18986 cat >> $CONFIG_STATUS <<\EOF
18987 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
18988 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18990 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18991 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18992 *) ac_file_in
="${ac_file}.in" ;;
18995 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18997 # Remove last slash and all that follows it. Not all systems have dirname.
18998 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18999 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
19000 # The file is in a subdirectory.
19001 test ! -d "$ac_dir" && mkdir "$ac_dir"
19002 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
19003 # A "../" for each directory in $ac_dir_suffix.
19004 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
19006 ac_dir_suffix
= ac_dots
=
19009 case "$ac_given_srcdir" in
19011 if test -z "$ac_dots"; then top_srcdir
=.
19012 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
19013 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
19014 *) # Relative path.
19015 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
19016 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
19019 case "$ac_given_INSTALL" in
19020 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
19021 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
19024 echo creating
"$ac_file"
19026 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
19028 *Makefile
*) ac_comsub
="1i\\
19029 # $configure_input" ;;
19033 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19035 s%@configure_input@%$configure_input%g
19036 s%@srcdir@%$srcdir%g
19037 s%@top_srcdir@%$top_srcdir%g
19038 s%@INSTALL@%$INSTALL%g
19039 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
19043 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19044 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19046 # ac_d sets the value in "#define NAME VALUE" lines.
19047 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19048 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
19051 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
19052 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19053 ac_uB
='\([ ]\)%\1#\2define\3'
19056 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19057 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19058 ac_eB
='$%\1#\2define\3'
19062 if test "${CONFIG_HEADERS+set}" != set; then
19064 cat >> $CONFIG_STATUS <<EOF
19065 CONFIG_HEADERS="setup.h:setup.h.in"
19067 cat >> $CONFIG_STATUS <<\EOF
19069 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
19070 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19072 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
19073 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
19074 *) ac_file_in
="${ac_file}.in" ;;
19077 echo creating
$ac_file
19079 rm -f conftest.frag conftest.
in conftest.out
19080 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19081 cat $ac_file_inputs > conftest.
in
19085 # Transform confdefs.h into a sed script conftest.vals that substitutes
19086 # the proper values into config.h.in to produce config.h. And first:
19087 # Protect against being on the right side of a sed subst in config.status.
19088 # Protect against being in an unquoted here document in config.status.
19089 rm -f conftest.vals
19090 cat > conftest.hdr
<<\EOF
19093 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
19097 sed -n -f conftest.hdr confdefs.h > conftest.vals
19100 # This sed command replaces #undef with comments. This is necessary, for
19101 # example, in the case of _POSIX_SOURCE, which is predefined and required
19102 # on some systems where configure will not decide to define it.
19103 cat >> conftest.vals <<\EOF
19104 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
19107 # Break up conftest.vals because some shells have a limit on
19108 # the size of here documents, and old seds have small limits too.
19110 rm -f conftest.tail
19113 ac_lines=`grep -c . conftest.vals
`
19114 # grep -c gives empty output for an empty file on some AIX systems.
19115 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
19116 # Write a limited-size here document to conftest.frag.
19117 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
19118 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
19120 sed -f conftest.frag conftest.in > conftest.out
19122 mv conftest.out conftest.in
19123 ' >> $CONFIG_STATUS
19124 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
19125 rm -f conftest.vals
19126 mv conftest.tail conftest.vals
19128 rm -f conftest.vals
19130 cat >> $CONFIG_STATUS <<\EOF
19131 rm -f conftest.frag conftest.h
19132 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
19133 cat conftest.in >> conftest.h
19135 if cmp -s $ac_file conftest.h 2>/dev/null; then
19136 echo "$ac_file is unchanged"
19139 # Remove last slash and all that follows it. Not all systems have dirname.
19140 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19141 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19142 # The file is in a subdirectory.
19143 test ! -d "$ac_dir" && mkdir "$ac_dir"
19146 mv conftest.h $ac_file
19151 cat >> $CONFIG_STATUS <<EOF
19153 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
19158 cat >> $CONFIG_STATUS <<\EOF
19160 if test ! -h wx-config; then
19162 mv wx-config wx${TOOLCHAIN_NAME}-config
19163 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
19166 if test ! -d lib; then
19169 if test ! -d lib/wx; then
19172 if test ! -d lib/wx/include; then
19173 mkdir lib/wx/include
19175 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
19176 mkdir lib/wx/include/${TOOLCHAIN_NAME}
19178 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
19179 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
19181 if test -f setup.h; then
19182 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
19187 chmod +x $CONFIG_STATUS
19188 rm -fr confdefs* $ac_clean_files
19189 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
19191 if test "$no_recursion" != yes; then
19193 # Remove --cache-file and --srcdir arguments so they do not pile up.
19194 ac_sub_configure_args=
19196 for ac_arg in $ac_configure_args; do
19197 if test -n "$ac_prev"; then
19202 -cache-file | --cache-file | --cache-fil | --cache-fi \
19203 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
19204 ac_prev=cache_file ;;
19205 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
19206 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
19208 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
19210 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
19212 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
19216 for ac_config_dir in demos samples utils contrib; do
19218 # Do not complain, so a configure script can configure whichever
19219 # parts of a large source tree are present.
19220 if test ! -d $srcdir/$ac_config_dir; then
19224 echo configuring in $ac_config_dir
19229 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
19231 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
19239 # A "../" for each directory in /$ac_config_dir.
19240 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
19243 .) # No --srcdir option. We are building in place.
19244 ac_sub_srcdir=$srcdir ;;
19245 /*) # Absolute path.
19246 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
19247 *) # Relative path.
19248 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
19251 # Check for guested configure; otherwise get Cygnus style configure.
19252 if test -f $ac_sub_srcdir/configure; then
19253 ac_sub_configure=$ac_sub_srcdir/configure
19254 elif test -f $ac_sub_srcdir/configure.in; then
19255 ac_sub_configure=$ac_configure
19257 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
19261 # The recursion is here.
19262 if test -n "$ac_sub_configure"; then
19264 # Make the cache file name correct relative to the subdirectory.
19265 case "$cache_file" in
19266 /*) ac_sub_cache_file=$cache_file ;;
19267 *) # Relative path.
19268 ac_sub_cache_file="$ac_dots$cache_file" ;;
19270 case "$ac_given_INSTALL" in
19271 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19272 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19275 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
19276 # The eval makes quoting arguments work.
19277 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
19280 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }