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-cygwin use Cygwin for MS-Windows"
73 --with-mingw use GCC Minimal MS-Windows"
75 --with-pm use OS/2 Presentation Manager"
77 --with-mgl use SciTech MGL"
79 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
81 --with-libpng use libpng (PNG image format)"
83 --with-libjpeg use libjpeg (JPEG file format)"
85 --with-libtiff use libtiff (TIFF file format)"
87 --with-freetype use freetype (font rasterizer)"
89 --with-opengl use OpenGL (or Mesa)"
91 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
93 --with-regex enable support for wxRegEx class"
95 --with-zlib use zlib for LZW compression"
97 --with-odbc use the IODBC and wxODBC classes"
99 --enable-shared create shared library code"
101 --enable-soname set the DT_SONAME field in ELF shared libraries"
103 --enable-optimise create optimised code"
105 --enable-debug same as debug_flag and debug_info"
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-textfile use wxTextFile classes"
173 --enable-fontmap use font encodings conversion classes"
175 --enable-unicode compile wxString with Unicode support"
177 --enable-wxprintfv use wxWindows implementation of vprintf()"
179 --enable-std_iostreams use standard C++ stream classes"
181 --enable-filesystem use virtual file systems classes"
183 --enable-fs_inet use virtual HTTP/FTP filesystems"
185 --enable-fs_zip use virtual ZIP filesystems"
187 --enable-zipstream use wxZipInputStream"
189 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
191 --enable-snglinst use wxSingleInstanceChecker class"
193 --enable-mimetypes use wxMimeTypesManager"
195 --enable-sysoptions use wxSystemOptions"
197 --enable-threads use threads"
199 --enable-serial use class serialization"
201 --enable-docview use document view architecture"
203 --enable-help use help subsystem"
205 --enable-mshtmlhelp use MS HTML Help (win32)"
207 --enable-html use wxHTML sub-library"
209 --enable-htmlhelp use wxHTML-based help"
211 --enable-constraints use layout-constraints system"
213 --enable-printarch use printing architecture"
215 --enable-mdi use multiple document interface architecture"
217 --enable-loggui use standard GUI logger"
219 --enable-logwin use wxLogWindow"
221 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
223 --enable-prologio use Prolog IO library"
225 --enable-resources use wxWindows resources"
227 --enable-xresources use X resources for save (default for gtk+)"
229 --enable-clipboard use wxClipboard classes"
231 --enable-dnd use Drag'n'Drop classes"
233 --enable-metafile use win32 metafiles"
235 --enable-treelayout use wxTreeLayout classes"
237 --enable-controls use all usual controls"
239 --enable-accel use accelerators"
241 --enable-button use wxButton class"
243 --enable-bmpbutton use wxBitmapButton class"
245 --enable-calendar use wxCalendarCtrl class"
247 --enable-caret use wxCaret class"
249 --enable-checkbox use wxCheckBox class"
251 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
253 --enable-choice use wxChoice class"
255 --enable-combobox use wxComboBox classes"
257 --enable-gauge use wxGauge class"
259 --enable-grid use wxGrid class"
261 --enable-newgrid use new wxGrid class"
263 --enable-imaglist use wxImageList class"
265 --enable-listbox use wxListBox class"
267 --enable-listctrl use wxListCtrl class"
269 --enable-notebook use wxNotebook class"
271 --enable-propsheet use wxPropertySheet class"
273 --enable-radiobox use wxRadioBox class"
275 --enable-radiobtn use wxRadioButton class"
277 --enable-sash use wxSashWindow class"
279 --enable-scrollbar use wxScrollBar class and scrollable windows"
281 --enable-slider use wxSlider class"
283 --enable-spinbtn use wxSpinButton class"
285 --enable-spinctrl use wxSpinCtrl class"
287 --enable-splitter use wxSplitterWindow class"
289 --enable-statbmp use wxStaticBitmap class"
291 --enable-statbox use wxStaticBox class"
293 --enable-statline use wxStaticLine class"
295 --enable-stattext use wxStaticText class"
297 --enable-statusbar use wxStatusBar class"
299 --enable-tabdialog use wxTabControl class"
301 --enable-textctrl use wxTextCtrl class"
303 --enable-togglebtn use wxToggleButton class"
305 --enable-toolbar use wxToolBar class"
307 --enable-tbarnative use native wxToolBar class"
309 --enable-tbarsmpl use wxToolBarSimple class"
311 --enable-treectrl use wxTreeCtrl class"
313 --enable-popupwin use wxPopUpWindow class"
315 --enable-commondlg use all common dialogs"
317 --enable-choicedlg use wxChoiceDialog"
319 --enable-coldlg use wxColourDialog"
321 --enable-filedlg use wxFileDialog"
323 --enable-finddlg use wxFindReplaceDialog"
325 --enable-fontdlg use wxFontDialog"
327 --enable-dirdlg use wxDirDialog"
329 --enable-msgdlg use wxMessageDialog"
331 --enable-numberdlg use wxNumberEntryDialog"
333 --enable-splash use wxSplashScreen"
335 --enable-textdlg use wxTextDialog"
337 --enable-tipdlg use startup tips"
339 --enable-progressdlg use wxProgressDialog"
341 --enable-wizarddlg use wxWizard"
343 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
345 --enable-miniframe use wxMiniFrame class"
347 --enable-tooltips use wxToolTip class"
349 --enable-splines use spline drawing code"
351 --enable-validators use wxValidator and derived classes"
353 --enable-busyinfo use wxBusyInfo"
355 --enable-joystick use wxJoystick (Linux only)"
357 --enable-metafiles use wxMetaFile (Windows only)"
359 --enable-dragimage use wxDragImage"
361 --enable-palette use wxPalette class"
363 --enable-image use wxImage class"
365 --enable-gif use gif images (GIF file format)"
367 --enable-pcx use pcx images (PCX file format)"
369 --enable-pnm use pnm images (PNM file format)"
371 --enable-xpm use xpm images (XPM file format)"
373 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
375 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
377 --disable-gtktest Do not try to compile and run a test GTK program"
379 --with-x use the X Window System"
381 # Initialize some variables set by options.
382 # The variables have the same names as the options, with
383 # dashes changed to underlines.
385 cache_file
=.
/config.cache
394 program_transform_name
=s
,x
,x
,
402 bindir
='${exec_prefix}/bin'
403 sbindir
='${exec_prefix}/sbin'
404 libexecdir
='${exec_prefix}/libexec'
405 datadir
='${prefix}/share'
406 sysconfdir
='${prefix}/etc'
407 sharedstatedir
='${prefix}/com'
408 localstatedir
='${prefix}/var'
409 libdir
='${exec_prefix}/lib'
410 includedir
='${prefix}/include'
411 oldincludedir
='/usr/include'
412 infodir
='${prefix}/info'
413 mandir
='${prefix}/man'
415 # Initialize some other variables.
418 SHELL
=${CONFIG_SHELL-/bin/sh}
419 # Maximum number of lines to put in a shell here document.
426 # If the previous option needs an argument, assign it.
427 if test -n "$ac_prev"; then
428 eval "$ac_prev=\$ac_option"
434 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
438 # Accept the important Cygnus configure options, so we can diagnose typos.
442 -bindir | --bindir | --bindi | --bind | --bin | --bi)
444 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
445 bindir
="$ac_optarg" ;;
447 -build | --build | --buil | --bui | --bu)
449 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
450 build
="$ac_optarg" ;;
452 -cache-file | --cache-file | --cache-fil | --cache-fi \
453 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
454 ac_prev
=cache_file
;;
455 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
456 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
457 cache_file
="$ac_optarg" ;;
459 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
461 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
463 datadir
="$ac_optarg" ;;
465 -disable-* | --disable-*)
466 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
467 # Reject names that are not valid shell variable names.
468 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
469 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
471 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
472 eval "enable_${ac_feature}=no" ;;
474 -enable-* | --enable-*)
475 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
476 # Reject names that are not valid shell variable names.
477 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
478 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
480 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
485 eval "enable_${ac_feature}='$ac_optarg'" ;;
487 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
488 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
489 | --exec | --exe | --ex)
490 ac_prev
=exec_prefix
;;
491 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
492 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
493 | --exec=* | --exe=* | --ex=*)
494 exec_prefix
="$ac_optarg" ;;
496 -gas | --gas | --ga | --g)
497 # Obsolete; use --with-gas.
500 -help | --help | --hel | --he)
501 # Omit some internal or obsolete options to make the list less imposing.
502 # This message is too long to be a string in the A/UX 3.1 sh.
504 Usage: configure [options] [host]
505 Options: [defaults in brackets after descriptions]
507 --cache-file=FILE cache test results in FILE
508 --help print this message
509 --no-create do not create output files
510 --quiet, --silent do not print \`checking...' messages
511 --version print the version of autoconf that created configure
512 Directory and file names:
513 --prefix=PREFIX install architecture-independent files in PREFIX
515 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
517 --bindir=DIR user executables in DIR [EPREFIX/bin]
518 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
519 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
520 --datadir=DIR read-only architecture-independent data in DIR
522 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
523 --sharedstatedir=DIR modifiable architecture-independent data in DIR
525 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
526 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
527 --includedir=DIR C header files in DIR [PREFIX/include]
528 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
529 --infodir=DIR info documentation in DIR [PREFIX/info]
530 --mandir=DIR man documentation in DIR [PREFIX/man]
531 --srcdir=DIR find the sources in DIR [configure dir or ..]
532 --program-prefix=PREFIX prepend PREFIX to installed program names
533 --program-suffix=SUFFIX append SUFFIX to installed program names
534 --program-transform-name=PROGRAM
535 run sed PROGRAM on installed program names
539 --build=BUILD configure for building on BUILD [BUILD=HOST]
540 --host=HOST configure for HOST [guessed]
541 --target=TARGET configure for TARGET [TARGET=HOST]
542 Features and packages:
543 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
544 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
545 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
546 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
547 --x-includes=DIR X include files are in DIR
548 --x-libraries=DIR X library files are in DIR
550 if test -n "$ac_help"; then
551 echo "--enable and --with options recognized:$ac_help"
555 -host | --host | --hos | --ho)
557 -host=* | --host=* | --hos=* | --ho=*)
560 -includedir | --includedir | --includedi | --included | --include \
561 | --includ | --inclu | --incl | --inc)
562 ac_prev
=includedir
;;
563 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
564 | --includ=* | --inclu=* | --incl=* | --inc=*)
565 includedir
="$ac_optarg" ;;
567 -infodir | --infodir | --infodi | --infod | --info | --inf)
569 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
570 infodir
="$ac_optarg" ;;
572 -libdir | --libdir | --libdi | --libd)
574 -libdir=* | --libdir=* | --libdi=* | --libd=*)
575 libdir
="$ac_optarg" ;;
577 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
578 | --libexe | --libex | --libe)
579 ac_prev
=libexecdir
;;
580 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
581 | --libexe=* | --libex=* | --libe=*)
582 libexecdir
="$ac_optarg" ;;
584 -localstatedir | --localstatedir | --localstatedi | --localstated \
585 | --localstate | --localstat | --localsta | --localst \
586 | --locals | --local | --loca | --loc | --lo)
587 ac_prev
=localstatedir
;;
588 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
589 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
590 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
591 localstatedir
="$ac_optarg" ;;
593 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
595 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
596 mandir
="$ac_optarg" ;;
599 # Obsolete; use --without-fp.
602 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
606 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
607 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
610 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
611 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
612 | --oldin | --oldi | --old | --ol | --o)
613 ac_prev
=oldincludedir
;;
614 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
615 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
616 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
617 oldincludedir
="$ac_optarg" ;;
619 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
621 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
622 prefix
="$ac_optarg" ;;
624 -program-prefix | --program-prefix | --program-prefi | --program-pref \
625 | --program-pre | --program-pr | --program-p)
626 ac_prev
=program_prefix
;;
627 -program-prefix=* | --program-prefix=* | --program-prefi=* \
628 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
629 program_prefix
="$ac_optarg" ;;
631 -program-suffix | --program-suffix | --program-suffi | --program-suff \
632 | --program-suf | --program-su | --program-s)
633 ac_prev
=program_suffix
;;
634 -program-suffix=* | --program-suffix=* | --program-suffi=* \
635 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
636 program_suffix
="$ac_optarg" ;;
638 -program-transform-name | --program-transform-name \
639 | --program-transform-nam | --program-transform-na \
640 | --program-transform-n | --program-transform- \
641 | --program-transform | --program-transfor \
642 | --program-transfo | --program-transf \
643 | --program-trans | --program-tran \
644 | --progr-tra | --program-tr | --program-t)
645 ac_prev
=program_transform_name
;;
646 -program-transform-name=* | --program-transform-name=* \
647 | --program-transform-nam=* | --program-transform-na=* \
648 | --program-transform-n=* | --program-transform-=* \
649 | --program-transform=* | --program-transfor=* \
650 | --program-transfo=* | --program-transf=* \
651 | --program-trans=* | --program-tran=* \
652 | --progr-tra=* | --program-tr=* | --program-t=*)
653 program_transform_name
="$ac_optarg" ;;
655 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
656 | -silent | --silent | --silen | --sile | --sil)
659 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
661 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
663 sbindir
="$ac_optarg" ;;
665 -sharedstatedir | --sharedstatedir | --sharedstatedi \
666 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
667 | --sharedst | --shareds | --shared | --share | --shar \
669 ac_prev
=sharedstatedir
;;
670 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
671 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
672 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
674 sharedstatedir
="$ac_optarg" ;;
676 -site | --site | --sit)
678 -site=* | --site=* | --sit=*)
681 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
683 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
684 srcdir
="$ac_optarg" ;;
686 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
687 | --syscon | --sysco | --sysc | --sys | --sy)
688 ac_prev
=sysconfdir
;;
689 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
690 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
691 sysconfdir
="$ac_optarg" ;;
693 -target | --target | --targe | --targ | --tar | --ta | --t)
695 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
696 target
="$ac_optarg" ;;
698 -v | -verbose | --verbose | --verbos | --verbo | --verb)
701 -version | --version | --versio | --versi | --vers)
702 echo "configure generated by autoconf version 2.13"
706 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
707 # Reject names that are not valid shell variable names.
708 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
709 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
711 ac_package
=`echo $ac_package| sed 's/-/_/g'`
716 eval "with_${ac_package}='$ac_optarg'" ;;
718 -without-* | --without-*)
719 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
720 # Reject names that are not valid shell variable names.
721 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
722 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
724 ac_package
=`echo $ac_package| sed 's/-/_/g'`
725 eval "with_${ac_package}=no" ;;
728 # Obsolete; use --with-x.
731 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
732 | --x-incl | --x-inc | --x-in | --x-i)
733 ac_prev
=x_includes
;;
734 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
735 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
736 x_includes
="$ac_optarg" ;;
738 -x-libraries | --x-libraries | --x-librarie | --x-librari \
739 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
740 ac_prev
=x_libraries
;;
741 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
742 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
743 x_libraries
="$ac_optarg" ;;
745 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
749 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
750 echo "configure: warning: $ac_option: invalid host type" 1>&2
752 if test "x$nonopt" != xNONE
; then
753 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
761 if test -n "$ac_prev"; then
762 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
765 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
767 # File descriptor usage:
770 # 2 errors and warnings
771 # 3 some systems may open it to /dev/tty
772 # 4 used on the Kubota Titan
773 # 6 checking for... messages and results
774 # 5 compiler messages saved in config.log
775 if test "$silent" = yes; then
783 This file contains any messages produced by compilers while
784 running configure, to aid debugging if configure makes a mistake.
787 # Strip out --no-create and --no-recursion so they do not pile up.
788 # Also quote any args containing shell metacharacters.
793 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
794 | --no-cr | --no-c) ;;
795 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
796 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
797 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
798 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
799 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
804 # Only set these to C if already set. These must not be set unconditionally
805 # because not all systems understand e.g. LANG=C (notably SCO).
806 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
807 # Non-C LC_CTYPE values break the ctype check.
808 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
809 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
810 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
811 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
813 # confdefs.h avoids OS command line length limits that DEFS can exceed.
814 rm -rf conftest
* confdefs.h
815 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
818 # A filename unique to this package, relative to the directory that
819 # configure is in, which we can look for to find out if srcdir is correct.
820 ac_unique_file
=wx
-config.
in
822 # Find the source files, if location was not specified.
823 if test -z "$srcdir"; then
824 ac_srcdir_defaulted
=yes
825 # Try the directory containing this script, then its parent.
827 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
828 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
830 if test ! -r $srcdir/$ac_unique_file; then
834 ac_srcdir_defaulted
=no
836 if test ! -r $srcdir/$ac_unique_file; then
837 if test "$ac_srcdir_defaulted" = yes; then
838 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
840 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
843 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
845 # Prefer explicitly selected file to automatically selected ones.
846 if test -z "$CONFIG_SITE"; then
847 if test "x$prefix" != xNONE
; then
848 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
850 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
853 for ac_site_file
in $CONFIG_SITE; do
854 if test -r "$ac_site_file"; then
855 echo "loading site script $ac_site_file"
860 if test -r "$cache_file"; then
861 echo "loading cache $cache_file"
864 echo "creating cache $cache_file"
869 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
870 ac_cpp
='$CPP $CPPFLAGS'
871 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
872 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
873 cross_compiling
=$ac_cv_prog_cc_cross
877 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
878 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
879 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
886 ac_n
= ac_c
='\c' ac_t
=
892 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
893 if test -f $ac_dir/install-sh; then
895 ac_install_sh
="$ac_aux_dir/install-sh -c"
897 elif test -f $ac_dir/install.sh
; then
899 ac_install_sh
="$ac_aux_dir/install.sh -c"
903 if test -z "$ac_aux_dir"; then
904 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
906 ac_config_guess
=$ac_aux_dir/config.guess
907 ac_config_sub
=$ac_aux_dir/config.sub
908 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
911 # Do some error checking and defaulting for the host and target type.
913 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
916 # 1. You are not allowed to specify --host, --target, and nonopt at the
918 # 2. Host defaults to nonopt.
919 # 3. If nonopt is not specified, then host defaults to the current host,
920 # as determined by config.guess.
921 # 4. Target and build default to nonopt.
922 # 5. If nonopt is not specified, then target and build default to host.
924 # The aliases save the names the user supplied, while $host etc.
925 # will get canonicalized.
926 case $host---$target---$nonopt in
927 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
928 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
932 # Make sure we can run config.sub.
933 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
934 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
937 echo $ac_n "checking host system type""... $ac_c" 1>&6
938 echo "configure:939: checking host system type" >&5
941 case "$host_alias" in
945 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
946 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
948 *) host_alias
=$nonopt ;;
952 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
953 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
954 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
955 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
956 echo "$ac_t""$host" 1>&6
958 echo $ac_n "checking target system type""... $ac_c" 1>&6
959 echo "configure:960: checking target system type" >&5
962 case "$target_alias" in
965 NONE
) target_alias
=$host_alias ;;
966 *) target_alias
=$nonopt ;;
970 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
971 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
972 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
973 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
974 echo "$ac_t""$target" 1>&6
976 echo $ac_n "checking build system type""... $ac_c" 1>&6
977 echo "configure:978: checking build system type" >&5
980 case "$build_alias" in
983 NONE
) build_alias
=$host_alias ;;
984 *) build_alias
=$nonopt ;;
988 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
989 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
990 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
991 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
992 echo "$ac_t""$build" 1>&6
994 test "$host_alias" != "$target_alias" &&
995 test "$program_prefix$program_suffix$program_transform_name" = \
997 program_prefix
=${target_alias}-
1001 WX_MAJOR_VERSION_NUMBER
=2
1002 WX_MINOR_VERSION_NUMBER
=3
1005 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1006 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1041 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1043 ALL_TOOLKITS
="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1048 DEFAULT_wxUSE_MOTIF
=0
1051 DEFAULT_wxUSE_WINE
=0
1053 DEFAULT_DEFAULT_wxUSE_GTK
=0
1054 DEFAULT_DEFAULT_wxUSE_MAC
=0
1055 DEFAULT_DEFAULT_wxUSE_MGL
=0
1056 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1057 DEFAULT_DEFAULT_wxUSE_MSW
=0
1058 DEFAULT_DEFAULT_wxUSE_PM
=0
1059 DEFAULT_DEFAULT_wxUSE_WINE
=0
1067 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1068 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1070 cat >> confdefs.h
<<\EOF
1077 cat >> confdefs.h
<<\EOF
1082 if test "x$TMP" = "xalpha"; then
1084 cat >> confdefs.h
<<\EOF
1089 DEFAULT_DEFAULT_wxUSE_GTK
=1
1091 *-*-irix5* | *-*-irix6* )
1094 cat >> confdefs.h
<<\EOF
1098 cat >> confdefs.h
<<\EOF
1102 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1108 cat >> confdefs.h
<<\EOF
1112 cat >> confdefs.h
<<\EOF
1113 #define __SOLARIS__ 1
1116 cat >> confdefs.h
<<\EOF
1120 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1121 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1127 cat >> confdefs.h
<<\EOF
1131 cat >> confdefs.h
<<\EOF
1135 cat >> confdefs.h
<<\EOF
1139 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1144 cat >> confdefs.h
<<\EOF
1145 #define __FREEBSD__ 1
1148 cat >> confdefs.h
<<\EOF
1152 DEFAULT_DEFAULT_wxUSE_GTK
=1
1157 cat >> confdefs.h
<<\EOF
1158 #define __FREEBSD__ 1
1161 cat >> confdefs.h
<<\EOF
1162 #define __OPENBSD__ 1
1165 DEFAULT_DEFAULT_wxUSE_GTK
=1
1170 cat >> confdefs.h
<<\EOF
1171 #define __FREEBSD__ 1
1174 cat >> confdefs.h
<<\EOF
1175 #define __NETBSD__ 1
1178 DEFAULT_DEFAULT_wxUSE_GTK
=1
1183 cat >> confdefs.h
<<\EOF
1187 cat >> confdefs.h
<<\EOF
1191 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1192 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1197 cat >> confdefs.h
<<\EOF
1201 cat >> confdefs.h
<<\EOF
1205 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1210 cat >> confdefs.h
<<\EOF
1214 cat >> confdefs.h
<<\EOF
1218 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1224 cat >> confdefs.h
<<\EOF
1228 cat >> confdefs.h
<<\EOF
1232 cat >> confdefs.h
<<\EOF
1236 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1239 *-*-cygwin* | *-*-mingw32* )
1243 cat >> confdefs.h
<<\EOF
1247 cat >> confdefs.h
<<\EOF
1251 cat >> confdefs.h
<<\EOF
1252 #define __WINDOWS__ 1
1255 cat >> confdefs.h
<<\EOF
1256 #define __GNUWIN32__ 1
1259 cat >> confdefs.h
<<\EOF
1263 cat >> confdefs.h
<<\EOF
1264 #define WINVER 0x0400
1268 DEFAULT_DEFAULT_wxUSE_MSW
=1
1272 cat >> confdefs.h
<<\EOF
1277 DEFAULT_DEFAULT_wxUSE_PM
=1
1284 cat >> confdefs.h
<<\EOF
1288 cat >> confdefs.h
<<\EOF
1289 #define __DARWIN__ 1
1292 DEFAULT_DEFAULT_wxUSE_MAC
=1
1297 cat >> confdefs.h
<<\EOF
1304 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1307 if test "$USE_UNIX" = 1 ; then
1309 cat >> confdefs.h
<<\EOF
1315 if test "$USE_LINUX" = 1; then
1316 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1317 echo "configure:1318: checking for glibc 2.1 or later" >&5
1318 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1319 echo $ac_n "(cached) $ac_c" 1>&6
1321 cat > conftest.
$ac_ext <<EOF
1322 #line 1323 "configure"
1323 #include "confdefs.h"
1324 #include <features.h>
1327 #if !__GLIBC_PREREQ(2, 1)
1333 if { (eval echo configure
:1334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1339 echo "configure: failed program was:" >&5
1340 cat conftest.
$ac_ext >&5
1351 echo "$ac_t""$wx_lib_glibc21" 1>&6
1352 if test "$wx_lib_glibc21" = "yes"; then
1353 cat >> confdefs.h
<<\EOF
1354 #define wxHAVE_GLIBC2 1
1363 wx_arg_cache_file
="configarg.cache"
1364 echo "loading argument cache $wx_arg_cache_file"
1365 rm -f ${wx_arg_cache_file}.tmp
1366 touch ${wx_arg_cache_file}.tmp
1367 touch ${wx_arg_cache_file}
1371 if test $DEBUG_CONFIGURE = 1; then
1372 DEFAULT_wxUSE_UNIVERSAL
=no
1374 DEFAULT_wxUSE_THREADS
=yes
1376 DEFAULT_wxUSE_SHARED
=yes
1377 DEFAULT_wxUSE_SONAME
=no
1378 DEFAULT_wxUSE_OPTIMISE
=no
1379 DEFAULT_wxUSE_PROFILE
=no
1380 DEFAULT_wxUSE_NO_DEPS
=no
1381 DEFAULT_wxUSE_NO_RTTI
=no
1382 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1383 DEFAULT_wxUSE_PERMISSIVE
=no
1384 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1385 DEFAULT_wxUSE_DEBUG_INFO
=yes
1386 DEFAULT_wxUSE_DEBUG_GDB
=yes
1387 DEFAULT_wxUSE_MEM_TRACING
=no
1388 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1389 DEFAULT_wxUSE_DMALLOC
=no
1390 DEFAULT_wxUSE_APPLE_IEEE
=no
1392 DEFAULT_wxUSE_LOG
=yes
1393 DEFAULT_wxUSE_LOGWINDOW
=no
1394 DEFAULT_wxUSE_LOGGUI
=no
1396 DEFAULT_wxUSE_GUI
=yes
1397 DEFAULT_wxUSE_CONTROLS
=no
1399 DEFAULT_wxUSE_REGEX
=no
1400 DEFAULT_wxUSE_ZLIB
=no
1401 DEFAULT_wxUSE_LIBPNG
=no
1402 DEFAULT_wxUSE_LIBJPEG
=no
1403 DEFAULT_wxUSE_LIBTIFF
=no
1404 DEFAULT_wxUSE_ODBC
=no
1405 DEFAULT_wxUSE_FREETYPE
=no
1406 DEFAULT_wxUSE_OPENGL
=no
1408 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1409 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1410 DEFAULT_wxUSE_STD_IOSTREAM
=no
1411 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1412 DEFAULT_wxUSE_DATETIME
=no
1413 DEFAULT_wxUSE_TIMEDATE
=no
1414 DEFAULT_wxUSE_TIMER
=no
1415 DEFAULT_wxUSE_STOPWATCH
=no
1416 DEFAULT_wxUSE_FILE
=no
1417 DEFAULT_wxUSE_FFILE
=no
1418 DEFAULT_wxUSE_TEXTFILE
=no
1419 DEFAULT_wxUSE_WAVE
=no
1420 DEFAULT_wxUSE_INTL
=no
1421 DEFAULT_wxUSE_CONFIG
=no
1422 DEFAULT_wxUSE_FONTMAP
=no
1423 DEFAULT_wxUSE_STREAMS
=no
1424 DEFAULT_wxUSE_SOCKETS
=no
1425 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1426 DEFAULT_wxUSE_SERIAL
=no
1427 DEFAULT_wxUSE_JOYSTICK
=no
1428 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1429 DEFAULT_wxUSE_LONGLONG
=no
1430 DEFAULT_wxUSE_GEOMETRY
=no
1432 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1433 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1434 DEFAULT_wxUSE_POSTSCRIPT
=no
1436 DEFAULT_wxUSE_X_RESOURCES
=no
1437 DEFAULT_wxUSE_CLIPBOARD
=no
1438 DEFAULT_wxUSE_TOOLTIPS
=no
1439 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1440 DEFAULT_wxUSE_DRAGIMAGE
=no
1441 DEFAULT_wxUSE_SPLINES
=no
1443 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1444 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1445 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1447 DEFAULT_wxUSE_PROLOGIO
=no
1448 DEFAULT_wxUSE_RESOURCES
=no
1449 DEFAULT_wxUSE_CONSTRAINTS
=no
1450 DEFAULT_wxUSE_IPC
=no
1451 DEFAULT_wxUSE_HELP
=no
1452 DEFAULT_wxUSE_MS_HTML_HELP
=no
1453 DEFAULT_wxUSE_WXHTML_HELP
=no
1454 DEFAULT_wxUSE_TREELAYOUT
=no
1455 DEFAULT_wxUSE_METAFILE
=no
1456 DEFAULT_wxUSE_MIMETYPE
=no
1457 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1459 DEFAULT_wxUSE_COMMONDLGS
=no
1460 DEFAULT_wxUSE_CHOICEDLG
=no
1461 DEFAULT_wxUSE_COLOURDLG
=no
1462 DEFAULT_wxUSE_DIRDLG
=no
1463 DEFAULT_wxUSE_FILEDLG
=no
1464 DEFAULT_wxUSE_FINDREPLDLG
=no
1465 DEFAULT_wxUSE_FONTDLG
=no
1466 DEFAULT_wxUSE_MSGDLG
=no
1467 DEFAULT_wxUSE_NUMBERDLG
=no
1468 DEFAULT_wxUSE_TEXTDLG
=no
1469 DEFAULT_wxUSE_SPLASH
=no
1470 DEFAULT_wxUSE_STARTUP_TIPS
=no
1471 DEFAULT_wxUSE_PROGRESSDLG
=no
1472 DEFAULT_wxUSE_WIZARDDLG
=no
1474 DEFAULT_wxUSE_MENUS
=no
1475 DEFAULT_wxUSE_MINIFRAME
=no
1476 DEFAULT_wxUSE_HTML
=no
1477 DEFAULT_wxUSE_FILESYSTEM
=no
1478 DEFAULT_wxUSE_FS_INET
=no
1479 DEFAULT_wxUSE_FS_ZIP
=no
1480 DEFAULT_wxUSE_BUSYINFO
=no
1481 DEFAULT_wxUSE_ZIPSTREAM
=no
1482 DEFAULT_wxUSE_VALIDATORS
=no
1484 DEFAULT_wxUSE_ACCEL
=no
1485 DEFAULT_wxUSE_BUTTON
=no
1486 DEFAULT_wxUSE_BMPBUTTON
=no
1487 DEFAULT_wxUSE_CALCTRL
=no
1488 DEFAULT_wxUSE_CARET
=no
1489 DEFAULT_wxUSE_CHECKBOX
=no
1490 DEFAULT_wxUSE_CHECKLST
=no
1491 DEFAULT_wxUSE_CHOICE
=no
1492 DEFAULT_wxUSE_COMBOBOX
=no
1493 DEFAULT_wxUSE_GAUGE
=no
1494 DEFAULT_wxUSE_GRID
=no
1495 DEFAULT_wxUSE_NEW_GRID
=no
1496 DEFAULT_wxUSE_IMAGLIST
=no
1497 DEFAULT_wxUSE_LISTBOX
=no
1498 DEFAULT_wxUSE_LISTCTRL
=no
1499 DEFAULT_wxUSE_NOTEBOOK
=no
1500 DEFAULT_wxUSE_PROPSHEET
=no
1501 DEFAULT_wxUSE_RADIOBOX
=no
1502 DEFAULT_wxUSE_RADIOBTN
=no
1503 DEFAULT_wxUSE_SASH
=no
1504 DEFAULT_wxUSE_SCROLLBAR
=no
1505 DEFAULT_wxUSE_SLIDER
=no
1506 DEFAULT_wxUSE_SPINBTN
=no
1507 DEFAULT_wxUSE_SPINCTRL
=no
1508 DEFAULT_wxUSE_SPLITTER
=no
1509 DEFAULT_wxUSE_STATBMP
=no
1510 DEFAULT_wxUSE_STATBOX
=no
1511 DEFAULT_wxUSE_STATLINE
=no
1512 DEFAULT_wxUSE_STATTEXT
=no
1513 DEFAULT_wxUSE_STATUSBAR
=yes
1514 DEFAULT_wxUSE_TABDIALOG
=no
1515 DEFAULT_wxUSE_TEXTCTRL
=no
1516 DEFAULT_wxUSE_TOGGLEBTN
=no
1517 DEFAULT_wxUSE_TOOLBAR
=no
1518 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1519 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1520 DEFAULT_wxUSE_TREECTRL
=no
1521 DEFAULT_wxUSE_POPUPWIN
=no
1523 DEFAULT_wxUSE_UNICODE
=no
1524 DEFAULT_wxUSE_WCSRTOMBS
=no
1526 DEFAULT_wxUSE_PALETTE
=no
1527 DEFAULT_wxUSE_IMAGE
=no
1528 DEFAULT_wxUSE_GIF
=no
1529 DEFAULT_wxUSE_PCX
=no
1530 DEFAULT_wxUSE_PNM
=no
1531 DEFAULT_wxUSE_XPM
=no
1533 DEFAULT_wxUSE_UNIVERSAL
=no
1535 DEFAULT_wxUSE_THREADS
=yes
1537 DEFAULT_wxUSE_SHARED
=yes
1538 DEFAULT_wxUSE_SONAME
=no
1539 DEFAULT_wxUSE_OPTIMISE
=yes
1540 DEFAULT_wxUSE_PROFILE
=no
1541 DEFAULT_wxUSE_NO_DEPS
=no
1542 DEFAULT_wxUSE_NO_RTTI
=no
1543 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1544 DEFAULT_wxUSE_PERMISSIVE
=no
1545 DEFAULT_wxUSE_DEBUG_FLAG
=no
1546 DEFAULT_wxUSE_DEBUG_INFO
=no
1547 DEFAULT_wxUSE_DEBUG_GDB
=no
1548 DEFAULT_wxUSE_MEM_TRACING
=no
1549 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1550 DEFAULT_wxUSE_DMALLOC
=no
1551 DEFAULT_wxUSE_APPLE_IEEE
=yes
1553 DEFAULT_wxUSE_LOG
=yes
1554 DEFAULT_wxUSE_LOGWINDOW
=yes
1555 DEFAULT_wxUSE_LOGGUI
=yes
1557 DEFAULT_wxUSE_GUI
=yes
1559 DEFAULT_wxUSE_REGEX
=yes
1560 DEFAULT_wxUSE_ZLIB
=yes
1561 DEFAULT_wxUSE_LIBPNG
=yes
1562 DEFAULT_wxUSE_LIBJPEG
=yes
1563 DEFAULT_wxUSE_LIBTIFF
=yes
1564 DEFAULT_wxUSE_ODBC
=no
1565 DEFAULT_wxUSE_FREETYPE
=no
1566 DEFAULT_wxUSE_OPENGL
=no
1568 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1569 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1570 DEFAULT_wxUSE_STD_IOSTREAM
=no
1571 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1572 DEFAULT_wxUSE_DATETIME
=yes
1573 DEFAULT_wxUSE_TIMEDATE
=no
1574 DEFAULT_wxUSE_TIMER
=yes
1575 DEFAULT_wxUSE_STOPWATCH
=yes
1576 DEFAULT_wxUSE_FILE
=yes
1577 DEFAULT_wxUSE_FFILE
=yes
1578 DEFAULT_wxUSE_TEXTFILE
=yes
1579 DEFAULT_wxUSE_WAVE
=no
1580 DEFAULT_wxUSE_INTL
=yes
1581 DEFAULT_wxUSE_CONFIG
=yes
1582 DEFAULT_wxUSE_FONTMAP
=yes
1583 DEFAULT_wxUSE_STREAMS
=yes
1584 DEFAULT_wxUSE_SOCKETS
=yes
1585 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1586 DEFAULT_wxUSE_SERIAL
=yes
1587 DEFAULT_wxUSE_JOYSTICK
=yes
1588 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1589 DEFAULT_wxUSE_LONGLONG
=yes
1590 DEFAULT_wxUSE_GEOMETRY
=yes
1592 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1593 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1594 DEFAULT_wxUSE_POSTSCRIPT
=yes
1596 DEFAULT_wxUSE_X_RESOURCES
=no
1597 DEFAULT_wxUSE_CLIPBOARD
=yes
1598 DEFAULT_wxUSE_TOOLTIPS
=yes
1599 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1600 DEFAULT_wxUSE_DRAGIMAGE
=yes
1601 DEFAULT_wxUSE_SPLINES
=yes
1603 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1604 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1605 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1607 DEFAULT_wxUSE_PROLOGIO
=yes
1608 DEFAULT_wxUSE_RESOURCES
=yes
1609 DEFAULT_wxUSE_CONSTRAINTS
=yes
1610 DEFAULT_wxUSE_IPC
=yes
1611 DEFAULT_wxUSE_HELP
=yes
1612 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1613 DEFAULT_wxUSE_WXHTML_HELP
=yes
1614 DEFAULT_wxUSE_TREELAYOUT
=yes
1615 DEFAULT_wxUSE_METAFILE
=yes
1616 DEFAULT_wxUSE_MIMETYPE
=yes
1617 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1619 DEFAULT_wxUSE_COMMONDLGS
=yes
1620 DEFAULT_wxUSE_CHOICEDLG
=yes
1621 DEFAULT_wxUSE_COLOURDLG
=yes
1622 DEFAULT_wxUSE_DIRDLG
=yes
1623 DEFAULT_wxUSE_FILEDLG
=yes
1624 DEFAULT_wxUSE_FINDREPLDLG
=yes
1625 DEFAULT_wxUSE_FONTDLG
=yes
1626 DEFAULT_wxUSE_MSGDLG
=yes
1627 DEFAULT_wxUSE_NUMBERDLG
=yes
1628 DEFAULT_wxUSE_TEXTDLG
=yes
1629 DEFAULT_wxUSE_SPLASH
=yes
1630 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1631 DEFAULT_wxUSE_PROGRESSDLG
=yes
1632 DEFAULT_wxUSE_WIZARDDLG
=yes
1634 DEFAULT_wxUSE_MENUS
=yes
1635 DEFAULT_wxUSE_MINIFRAME
=yes
1636 DEFAULT_wxUSE_HTML
=yes
1637 DEFAULT_wxUSE_FILESYSTEM
=yes
1638 DEFAULT_wxUSE_FS_INET
=yes
1639 DEFAULT_wxUSE_FS_ZIP
=yes
1640 DEFAULT_wxUSE_BUSYINFO
=yes
1641 DEFAULT_wxUSE_ZIPSTREAM
=yes
1642 DEFAULT_wxUSE_VALIDATORS
=yes
1644 DEFAULT_wxUSE_ACCEL
=yes
1645 DEFAULT_wxUSE_BUTTON
=yes
1646 DEFAULT_wxUSE_BMPBUTTON
=yes
1647 DEFAULT_wxUSE_CALCTRL
=yes
1648 DEFAULT_wxUSE_CARET
=yes
1649 DEFAULT_wxUSE_CHECKBOX
=yes
1650 DEFAULT_wxUSE_CHECKLST
=yes
1651 DEFAULT_wxUSE_CHOICE
=yes
1652 DEFAULT_wxUSE_COMBOBOX
=yes
1653 DEFAULT_wxUSE_GAUGE
=yes
1654 DEFAULT_wxUSE_GRID
=yes
1655 DEFAULT_wxUSE_NEW_GRID
=yes
1656 DEFAULT_wxUSE_IMAGLIST
=yes
1657 DEFAULT_wxUSE_LISTBOX
=yes
1658 DEFAULT_wxUSE_LISTCTRL
=yes
1659 DEFAULT_wxUSE_NOTEBOOK
=yes
1660 DEFAULT_wxUSE_PROPSHEET
=yes
1661 DEFAULT_wxUSE_RADIOBOX
=yes
1662 DEFAULT_wxUSE_RADIOBTN
=yes
1663 DEFAULT_wxUSE_SASH
=yes
1664 DEFAULT_wxUSE_SCROLLBAR
=yes
1665 DEFAULT_wxUSE_SLIDER
=yes
1666 DEFAULT_wxUSE_SPINBTN
=yes
1667 DEFAULT_wxUSE_SPINCTRL
=yes
1668 DEFAULT_wxUSE_SPLITTER
=yes
1669 DEFAULT_wxUSE_STATBMP
=yes
1670 DEFAULT_wxUSE_STATBOX
=yes
1671 DEFAULT_wxUSE_STATLINE
=yes
1672 DEFAULT_wxUSE_STATTEXT
=yes
1673 DEFAULT_wxUSE_STATUSBAR
=yes
1674 DEFAULT_wxUSE_TABDIALOG
=no
1675 DEFAULT_wxUSE_TEXTCTRL
=yes
1676 DEFAULT_wxUSE_TOGGLEBTN
=yes
1677 DEFAULT_wxUSE_TOOLBAR
=yes
1678 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1679 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1680 DEFAULT_wxUSE_TREECTRL
=yes
1681 DEFAULT_wxUSE_POPUPWIN
=yes
1683 DEFAULT_wxUSE_UNICODE
=no
1684 DEFAULT_wxUSE_WCSRTOMBS
=no
1686 DEFAULT_wxUSE_PALETTE
=yes
1687 DEFAULT_wxUSE_IMAGE
=yes
1688 DEFAULT_wxUSE_GIF
=yes
1689 DEFAULT_wxUSE_PCX
=yes
1690 DEFAULT_wxUSE_PNM
=yes
1691 DEFAULT_wxUSE_XPM
=yes
1696 for toolkit
in `echo $ALL_TOOLKITS`; do
1697 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1698 if test "x$LINE" != x
; then
1699 has_toolkit_in_cache
=1
1700 eval "DEFAULT_$LINE"
1701 eval "CACHE_$toolkit=1"
1707 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1708 echo "configure:1709: checking for --enable-gui" >&5
1710 # Check whether --enable-gui or --disable-gui was given.
1711 if test "${enable_gui+set}" = set; then
1712 enableval
="$enable_gui"
1714 if test "$enableval" = yes; then
1715 ac_cv_use_gui
='wxUSE_GUI=yes'
1717 ac_cv_use_gui
='wxUSE_GUI=no'
1722 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1723 if test "x$LINE" != x
; then
1724 eval "DEFAULT_$LINE"
1729 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1734 eval "$ac_cv_use_gui"
1735 if test "$no_cache" != 1; then
1736 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1739 if test "$wxUSE_GUI" = yes; then
1740 echo "$ac_t""yes" 1>&6
1742 echo "$ac_t""no" 1>&6
1746 if test "$wxUSE_GUI" = "yes"; then
1749 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1750 echo "configure:1751: checking for --enable-universal" >&5
1752 # Check whether --enable-universal or --disable-universal was given.
1753 if test "${enable_universal+set}" = set; then
1754 enableval
="$enable_universal"
1756 if test "$enableval" = yes; then
1757 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1759 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1764 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1765 if test "x$LINE" != x
; then
1766 eval "DEFAULT_$LINE"
1771 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1776 eval "$ac_cv_use_universal"
1777 if test "$no_cache" != 1; then
1778 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1781 if test "$wxUSE_UNIVERSAL" = yes; then
1782 echo "$ac_t""yes" 1>&6
1784 echo "$ac_t""no" 1>&6
1787 # Check whether --with-gtk or --without-gtk was given.
1788 if test "${with_gtk+set}" = set; then
1790 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1793 # Check whether --with-motif or --without-motif was given.
1794 if test "${with_motif+set}" = set; then
1795 withval
="$with_motif"
1796 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1799 # Check whether --with-mac or --without-mac was given.
1800 if test "${with_mac+set}" = set; then
1802 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1805 # Check whether --with-wine or --without-wine was given.
1806 if test "${with_wine+set}" = set; then
1807 withval
="$with_wine"
1808 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1811 # Check whether --with-cygwin or --without-cygwin was given.
1812 if test "${with_cygwin+set}" = set; then
1813 withval
="$with_cygwin"
1814 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1817 # Check whether --with-mingw or --without-mingw was given.
1818 if test "${with_mingw+set}" = set; then
1819 withval
="$with_mingw"
1820 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1823 # Check whether --with-pm or --without-pm was given.
1824 if test "${with_pm+set}" = set; then
1826 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1829 # Check whether --with-mgl or --without-mgl was given.
1830 if test "${with_mgl+set}" = set; then
1832 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1836 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1837 if test "${enable_gtk2+set}" = set; then
1838 enableval
="$enable_gtk2"
1846 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1847 echo "configure:1848: checking for --with-libpng" >&5
1849 # Check whether --with-libpng or --without-libpng was given.
1850 if test "${with_libpng+set}" = set; then
1851 withval
="$with_libpng"
1853 if test "$withval" = yes; then
1854 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1855 elif test "$withval" = no
; then
1856 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1857 elif test "$withval" = sys
; then
1858 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1860 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1865 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1866 if test "x$LINE" != x
; then
1867 eval "DEFAULT_$LINE"
1872 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1877 eval "$ac_cv_use_libpng"
1878 if test "$no_cache" != 1; then
1879 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1882 if test "$wxUSE_LIBPNG" = yes; then
1883 echo "$ac_t""yes" 1>&6
1884 elif test "$wxUSE_LIBPNG" = no
; then
1885 echo "$ac_t""no" 1>&6
1886 elif test "$wxUSE_LIBPNG" = sys
; then
1887 echo "$ac_t""system version" 1>&6
1889 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1893 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1894 echo "configure:1895: checking for --with-libjpeg" >&5
1896 # Check whether --with-libjpeg or --without-libjpeg was given.
1897 if test "${with_libjpeg+set}" = set; then
1898 withval
="$with_libjpeg"
1900 if test "$withval" = yes; then
1901 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1902 elif test "$withval" = no
; then
1903 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1904 elif test "$withval" = sys
; then
1905 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1907 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1912 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1913 if test "x$LINE" != x
; then
1914 eval "DEFAULT_$LINE"
1919 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1924 eval "$ac_cv_use_libjpeg"
1925 if test "$no_cache" != 1; then
1926 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1929 if test "$wxUSE_LIBJPEG" = yes; then
1930 echo "$ac_t""yes" 1>&6
1931 elif test "$wxUSE_LIBJPEG" = no
; then
1932 echo "$ac_t""no" 1>&6
1933 elif test "$wxUSE_LIBJPEG" = sys
; then
1934 echo "$ac_t""system version" 1>&6
1936 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1940 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1941 echo "configure:1942: checking for --with-libtiff" >&5
1943 # Check whether --with-libtiff or --without-libtiff was given.
1944 if test "${with_libtiff+set}" = set; then
1945 withval
="$with_libtiff"
1947 if test "$withval" = yes; then
1948 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1949 elif test "$withval" = no
; then
1950 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1951 elif test "$withval" = sys
; then
1952 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1954 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1959 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1960 if test "x$LINE" != x
; then
1961 eval "DEFAULT_$LINE"
1966 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1971 eval "$ac_cv_use_libtiff"
1972 if test "$no_cache" != 1; then
1973 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1976 if test "$wxUSE_LIBTIFF" = yes; then
1977 echo "$ac_t""yes" 1>&6
1978 elif test "$wxUSE_LIBTIFF" = no
; then
1979 echo "$ac_t""no" 1>&6
1980 elif test "$wxUSE_LIBTIFF" = sys
; then
1981 echo "$ac_t""system version" 1>&6
1983 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1987 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1988 echo "configure:1989: checking for --with-freetype" >&5
1990 # Check whether --with-freetype or --without-freetype was given.
1991 if test "${with_freetype+set}" = set; then
1992 withval
="$with_freetype"
1994 if test "$withval" = yes; then
1995 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1996 elif test "$withval" = no
; then
1997 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1998 elif test "$withval" = sys
; then
1999 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2001 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2006 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2007 if test "x$LINE" != x
; then
2008 eval "DEFAULT_$LINE"
2013 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2018 eval "$ac_cv_use_freetype"
2019 if test "$no_cache" != 1; then
2020 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2023 if test "$wxUSE_FREETYPE" = yes; then
2024 echo "$ac_t""yes" 1>&6
2025 elif test "$wxUSE_FREETYPE" = no
; then
2026 echo "$ac_t""no" 1>&6
2027 elif test "$wxUSE_FREETYPE" = sys
; then
2028 echo "$ac_t""system version" 1>&6
2030 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2034 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2035 echo "configure:2036: checking for --with-opengl" >&5
2037 # Check whether --with-opengl or --without-opengl was given.
2038 if test "${with_opengl+set}" = set; then
2039 withval
="$with_opengl"
2041 if test "$withval" = yes; then
2042 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2044 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2049 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2050 if test "x$LINE" != x
; then
2051 eval "DEFAULT_$LINE"
2056 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2061 eval "$ac_cv_use_opengl"
2062 if test "$no_cache" != 1; then
2063 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2066 if test "$wxUSE_OPENGL" = yes; then
2067 echo "$ac_t""yes" 1>&6
2069 echo "$ac_t""no" 1>&6
2076 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2077 echo "configure:2078: checking for --with-dmalloc" >&5
2079 # Check whether --with-dmalloc or --without-dmalloc was given.
2080 if test "${with_dmalloc+set}" = set; then
2081 withval
="$with_dmalloc"
2083 if test "$withval" = yes; then
2084 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2086 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2091 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2092 if test "x$LINE" != x
; then
2093 eval "DEFAULT_$LINE"
2098 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2103 eval "$ac_cv_use_dmalloc"
2104 if test "$no_cache" != 1; then
2105 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2108 if test "$wxUSE_DMALLOC" = yes; then
2109 echo "$ac_t""yes" 1>&6
2111 echo "$ac_t""no" 1>&6
2115 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2116 echo "configure:2117: checking for --with-regex" >&5
2118 # Check whether --with-regex or --without-regex was given.
2119 if test "${with_regex+set}" = set; then
2120 withval
="$with_regex"
2122 if test "$withval" = yes; then
2123 ac_cv_use_regex
='wxUSE_REGEX=yes'
2124 elif test "$withval" = no
; then
2125 ac_cv_use_regex
='wxUSE_REGEX=no'
2126 elif test "$withval" = sys
; then
2127 ac_cv_use_regex
='wxUSE_REGEX=sys'
2129 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2134 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2135 if test "x$LINE" != x
; then
2136 eval "DEFAULT_$LINE"
2141 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2146 eval "$ac_cv_use_regex"
2147 if test "$no_cache" != 1; then
2148 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2151 if test "$wxUSE_REGEX" = yes; then
2152 echo "$ac_t""yes" 1>&6
2153 elif test "$wxUSE_REGEX" = no
; then
2154 echo "$ac_t""no" 1>&6
2155 elif test "$wxUSE_REGEX" = sys
; then
2156 echo "$ac_t""system version" 1>&6
2158 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2162 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2163 echo "configure:2164: checking for --with-zlib" >&5
2165 # Check whether --with-zlib or --without-zlib was given.
2166 if test "${with_zlib+set}" = set; then
2167 withval
="$with_zlib"
2169 if test "$withval" = yes; then
2170 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2171 elif test "$withval" = no
; then
2172 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2173 elif test "$withval" = sys
; then
2174 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2176 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2181 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2182 if test "x$LINE" != x
; then
2183 eval "DEFAULT_$LINE"
2188 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2193 eval "$ac_cv_use_zlib"
2194 if test "$no_cache" != 1; then
2195 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2198 if test "$wxUSE_ZLIB" = yes; then
2199 echo "$ac_t""yes" 1>&6
2200 elif test "$wxUSE_ZLIB" = no
; then
2201 echo "$ac_t""no" 1>&6
2202 elif test "$wxUSE_ZLIB" = sys
; then
2203 echo "$ac_t""system version" 1>&6
2205 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2209 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2210 echo "configure:2211: checking for --with-odbc" >&5
2212 # Check whether --with-odbc or --without-odbc was given.
2213 if test "${with_odbc+set}" = set; then
2214 withval
="$with_odbc"
2216 if test "$withval" = yes; then
2217 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2219 ac_cv_use_odbc
='wxUSE_ODBC=no'
2224 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2225 if test "x$LINE" != x
; then
2226 eval "DEFAULT_$LINE"
2231 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2236 eval "$ac_cv_use_odbc"
2237 if test "$no_cache" != 1; then
2238 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2241 if test "$wxUSE_ODBC" = yes; then
2242 echo "$ac_t""yes" 1>&6
2244 echo "$ac_t""no" 1>&6
2251 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2252 echo "configure:2253: checking for --enable-shared" >&5
2254 # Check whether --enable-shared or --disable-shared was given.
2255 if test "${enable_shared+set}" = set; then
2256 enableval
="$enable_shared"
2258 if test "$enableval" = yes; then
2259 ac_cv_use_shared
='wxUSE_SHARED=yes'
2261 ac_cv_use_shared
='wxUSE_SHARED=no'
2266 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2267 if test "x$LINE" != x
; then
2268 eval "DEFAULT_$LINE"
2273 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2278 eval "$ac_cv_use_shared"
2279 if test "$no_cache" != 1; then
2280 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2283 if test "$wxUSE_SHARED" = yes; then
2284 echo "$ac_t""yes" 1>&6
2286 echo "$ac_t""no" 1>&6
2290 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2291 echo "configure:2292: checking for --enable-soname" >&5
2293 # Check whether --enable-soname or --disable-soname was given.
2294 if test "${enable_soname+set}" = set; then
2295 enableval
="$enable_soname"
2297 if test "$enableval" = yes; then
2298 ac_cv_use_soname
='wxUSE_SONAME=yes'
2300 ac_cv_use_soname
='wxUSE_SONAME=no'
2305 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2306 if test "x$LINE" != x
; then
2307 eval "DEFAULT_$LINE"
2312 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2317 eval "$ac_cv_use_soname"
2318 if test "$no_cache" != 1; then
2319 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2322 if test "$wxUSE_SONAME" = yes; then
2323 echo "$ac_t""yes" 1>&6
2325 echo "$ac_t""no" 1>&6
2329 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2330 echo "configure:2331: checking for --enable-optimise" >&5
2332 # Check whether --enable-optimise or --disable-optimise was given.
2333 if test "${enable_optimise+set}" = set; then
2334 enableval
="$enable_optimise"
2336 if test "$enableval" = yes; then
2337 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2339 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2344 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2345 if test "x$LINE" != x
; then
2346 eval "DEFAULT_$LINE"
2351 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2356 eval "$ac_cv_use_optimise"
2357 if test "$no_cache" != 1; then
2358 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2361 if test "$wxUSE_OPTIMISE" = yes; then
2362 echo "$ac_t""yes" 1>&6
2364 echo "$ac_t""no" 1>&6
2368 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2369 echo "configure:2370: checking for --enable-debug" >&5
2371 # Check whether --enable-debug or --disable-debug was given.
2372 if test "${enable_debug+set}" = set; then
2373 enableval
="$enable_debug"
2375 if test "$enableval" = yes; then
2376 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2378 ac_cv_use_debug
='wxUSE_DEBUG=no'
2383 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2384 if test "x$LINE" != x
; then
2385 eval "DEFAULT_$LINE"
2390 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2395 eval "$ac_cv_use_debug"
2396 if test "$no_cache" != 1; then
2397 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2400 if test "$wxUSE_DEBUG" = yes; then
2401 echo "$ac_t""yes" 1>&6
2403 echo "$ac_t""no" 1>&6
2407 if test "$wxUSE_DEBUG" = "yes"; then
2408 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2409 DEFAULT_wxUSE_DEBUG_INFO
=yes
2410 elif test "$wxUSE_DEBUG" = "no"; then
2411 DEFAULT_wxUSE_DEBUG_FLAG
=no
2412 DEFAULT_wxUSE_DEBUG_INFO
=no
2416 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2417 echo "configure:2418: checking for --enable-debug_flag" >&5
2419 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2420 if test "${enable_debug_flag+set}" = set; then
2421 enableval
="$enable_debug_flag"
2423 if test "$enableval" = yes; then
2424 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2426 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2431 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2432 if test "x$LINE" != x
; then
2433 eval "DEFAULT_$LINE"
2438 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2443 eval "$ac_cv_use_debug_flag"
2444 if test "$no_cache" != 1; then
2445 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2448 if test "$wxUSE_DEBUG_FLAG" = yes; then
2449 echo "$ac_t""yes" 1>&6
2451 echo "$ac_t""no" 1>&6
2455 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2456 echo "configure:2457: checking for --enable-debug_info" >&5
2458 # Check whether --enable-debug_info or --disable-debug_info was given.
2459 if test "${enable_debug_info+set}" = set; then
2460 enableval
="$enable_debug_info"
2462 if test "$enableval" = yes; then
2463 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2465 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2470 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2471 if test "x$LINE" != x
; then
2472 eval "DEFAULT_$LINE"
2477 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2482 eval "$ac_cv_use_debug_info"
2483 if test "$no_cache" != 1; then
2484 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2487 if test "$wxUSE_DEBUG_INFO" = yes; then
2488 echo "$ac_t""yes" 1>&6
2490 echo "$ac_t""no" 1>&6
2494 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2495 echo "configure:2496: checking for --enable-debug_gdb" >&5
2497 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2498 if test "${enable_debug_gdb+set}" = set; then
2499 enableval
="$enable_debug_gdb"
2501 if test "$enableval" = yes; then
2502 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2504 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2509 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2510 if test "x$LINE" != x
; then
2511 eval "DEFAULT_$LINE"
2516 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2521 eval "$ac_cv_use_debug_gdb"
2522 if test "$no_cache" != 1; then
2523 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2526 if test "$wxUSE_DEBUG_GDB" = yes; then
2527 echo "$ac_t""yes" 1>&6
2529 echo "$ac_t""no" 1>&6
2533 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2534 echo "configure:2535: checking for --enable-debug_cntxt" >&5
2536 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2537 if test "${enable_debug_cntxt+set}" = set; then
2538 enableval
="$enable_debug_cntxt"
2540 if test "$enableval" = yes; then
2541 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2543 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2548 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2549 if test "x$LINE" != x
; then
2550 eval "DEFAULT_$LINE"
2555 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2560 eval "$ac_cv_use_debug_cntxt"
2561 if test "$no_cache" != 1; then
2562 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2565 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2566 echo "$ac_t""yes" 1>&6
2568 echo "$ac_t""no" 1>&6
2572 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2573 echo "configure:2574: checking for --enable-mem_tracing" >&5
2575 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2576 if test "${enable_mem_tracing+set}" = set; then
2577 enableval
="$enable_mem_tracing"
2579 if test "$enableval" = yes; then
2580 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2582 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2587 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2588 if test "x$LINE" != x
; then
2589 eval "DEFAULT_$LINE"
2594 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2599 eval "$ac_cv_use_mem_tracing"
2600 if test "$no_cache" != 1; then
2601 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2604 if test "$wxUSE_MEM_TRACING" = yes; then
2605 echo "$ac_t""yes" 1>&6
2607 echo "$ac_t""no" 1>&6
2611 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2612 echo "configure:2613: checking for --enable-profile" >&5
2614 # Check whether --enable-profile or --disable-profile was given.
2615 if test "${enable_profile+set}" = set; then
2616 enableval
="$enable_profile"
2618 if test "$enableval" = yes; then
2619 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2621 ac_cv_use_profile
='wxUSE_PROFILE=no'
2626 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2627 if test "x$LINE" != x
; then
2628 eval "DEFAULT_$LINE"
2633 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2638 eval "$ac_cv_use_profile"
2639 if test "$no_cache" != 1; then
2640 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2643 if test "$wxUSE_PROFILE" = yes; then
2644 echo "$ac_t""yes" 1>&6
2646 echo "$ac_t""no" 1>&6
2650 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2651 echo "configure:2652: checking for --enable-no_rtti" >&5
2653 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2654 if test "${enable_no_rtti+set}" = set; then
2655 enableval
="$enable_no_rtti"
2657 if test "$enableval" = yes; then
2658 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2660 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2665 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2666 if test "x$LINE" != x
; then
2667 eval "DEFAULT_$LINE"
2672 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2677 eval "$ac_cv_use_no_rtti"
2678 if test "$no_cache" != 1; then
2679 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2682 if test "$wxUSE_NO_RTTI" = yes; then
2683 echo "$ac_t""yes" 1>&6
2685 echo "$ac_t""no" 1>&6
2689 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2690 echo "configure:2691: checking for --enable-no_exceptions" >&5
2692 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2693 if test "${enable_no_exceptions+set}" = set; then
2694 enableval
="$enable_no_exceptions"
2696 if test "$enableval" = yes; then
2697 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2699 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2704 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2705 if test "x$LINE" != x
; then
2706 eval "DEFAULT_$LINE"
2711 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2716 eval "$ac_cv_use_no_exceptions"
2717 if test "$no_cache" != 1; then
2718 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2721 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2722 echo "$ac_t""yes" 1>&6
2724 echo "$ac_t""no" 1>&6
2728 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2729 echo "configure:2730: checking for --enable-permissive" >&5
2731 # Check whether --enable-permissive or --disable-permissive was given.
2732 if test "${enable_permissive+set}" = set; then
2733 enableval
="$enable_permissive"
2735 if test "$enableval" = yes; then
2736 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2738 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2743 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2744 if test "x$LINE" != x
; then
2745 eval "DEFAULT_$LINE"
2750 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2755 eval "$ac_cv_use_permissive"
2756 if test "$no_cache" != 1; then
2757 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2760 if test "$wxUSE_PERMISSIVE" = yes; then
2761 echo "$ac_t""yes" 1>&6
2763 echo "$ac_t""no" 1>&6
2767 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2768 echo "configure:2769: checking for --enable-no_deps" >&5
2770 # Check whether --enable-no_deps or --disable-no_deps was given.
2771 if test "${enable_no_deps+set}" = set; then
2772 enableval
="$enable_no_deps"
2774 if test "$enableval" = yes; then
2775 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2777 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2782 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2783 if test "x$LINE" != x
; then
2784 eval "DEFAULT_$LINE"
2789 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2794 eval "$ac_cv_use_no_deps"
2795 if test "$no_cache" != 1; then
2796 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2799 if test "$wxUSE_NO_DEPS" = yes; then
2800 echo "$ac_t""yes" 1>&6
2802 echo "$ac_t""no" 1>&6
2807 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2808 echo "configure:2809: checking for --enable-compat20" >&5
2810 # Check whether --enable-compat20 or --disable-compat20 was given.
2811 if test "${enable_compat20+set}" = set; then
2812 enableval
="$enable_compat20"
2814 if test "$enableval" = yes; then
2815 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2817 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2822 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2823 if test "x$LINE" != x
; then
2824 eval "DEFAULT_$LINE"
2829 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2834 eval "$ac_cv_use_compat20"
2835 if test "$no_cache" != 1; then
2836 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2839 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2840 echo "$ac_t""yes" 1>&6
2842 echo "$ac_t""no" 1>&6
2846 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2847 echo "configure:2848: checking for --enable-compat22" >&5
2849 # Check whether --enable-compat22 or --disable-compat22 was given.
2850 if test "${enable_compat22+set}" = set; then
2851 enableval
="$enable_compat22"
2853 if test "$enableval" = yes; then
2854 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2856 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2861 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2862 if test "x$LINE" != x
; then
2863 eval "DEFAULT_$LINE"
2868 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2873 eval "$ac_cv_use_compat22"
2874 if test "$no_cache" != 1; then
2875 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2878 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2879 echo "$ac_t""yes" 1>&6
2881 echo "$ac_t""no" 1>&6
2887 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2888 echo "configure:2889: checking for --enable-intl" >&5
2890 # Check whether --enable-intl or --disable-intl was given.
2891 if test "${enable_intl+set}" = set; then
2892 enableval
="$enable_intl"
2894 if test "$enableval" = yes; then
2895 ac_cv_use_intl
='wxUSE_INTL=yes'
2897 ac_cv_use_intl
='wxUSE_INTL=no'
2902 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2903 if test "x$LINE" != x
; then
2904 eval "DEFAULT_$LINE"
2909 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2914 eval "$ac_cv_use_intl"
2915 if test "$no_cache" != 1; then
2916 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2919 if test "$wxUSE_INTL" = yes; then
2920 echo "$ac_t""yes" 1>&6
2922 echo "$ac_t""no" 1>&6
2926 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2927 echo "configure:2928: checking for --enable-config" >&5
2929 # Check whether --enable-config or --disable-config was given.
2930 if test "${enable_config+set}" = set; then
2931 enableval
="$enable_config"
2933 if test "$enableval" = yes; then
2934 ac_cv_use_config
='wxUSE_CONFIG=yes'
2936 ac_cv_use_config
='wxUSE_CONFIG=no'
2941 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2942 if test "x$LINE" != x
; then
2943 eval "DEFAULT_$LINE"
2948 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2953 eval "$ac_cv_use_config"
2954 if test "$no_cache" != 1; then
2955 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2958 if test "$wxUSE_CONFIG" = yes; then
2959 echo "$ac_t""yes" 1>&6
2961 echo "$ac_t""no" 1>&6
2966 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2967 echo "configure:2968: checking for --enable-sockets" >&5
2969 # Check whether --enable-sockets or --disable-sockets was given.
2970 if test "${enable_sockets+set}" = set; then
2971 enableval
="$enable_sockets"
2973 if test "$enableval" = yes; then
2974 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2976 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2981 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2982 if test "x$LINE" != x
; then
2983 eval "DEFAULT_$LINE"
2988 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2993 eval "$ac_cv_use_sockets"
2994 if test "$no_cache" != 1; then
2995 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2998 if test "$wxUSE_SOCKETS" = yes; then
2999 echo "$ac_t""yes" 1>&6
3001 echo "$ac_t""no" 1>&6
3006 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3007 echo "configure:3008: checking for --enable-ipc" >&5
3009 # Check whether --enable-ipc or --disable-ipc was given.
3010 if test "${enable_ipc+set}" = set; then
3011 enableval
="$enable_ipc"
3013 if test "$enableval" = yes; then
3014 ac_cv_use_ipc
='wxUSE_IPC=yes'
3016 ac_cv_use_ipc
='wxUSE_IPC=no'
3021 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3022 if test "x$LINE" != x
; then
3023 eval "DEFAULT_$LINE"
3028 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3033 eval "$ac_cv_use_ipc"
3034 if test "$no_cache" != 1; then
3035 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3038 if test "$wxUSE_IPC" = yes; then
3039 echo "$ac_t""yes" 1>&6
3041 echo "$ac_t""no" 1>&6
3046 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3047 echo "configure:3048: checking for --enable-cmdline" >&5
3049 # Check whether --enable-cmdline or --disable-cmdline was given.
3050 if test "${enable_cmdline+set}" = set; then
3051 enableval
="$enable_cmdline"
3053 if test "$enableval" = yes; then
3054 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3056 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3061 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3062 if test "x$LINE" != x
; then
3063 eval "DEFAULT_$LINE"
3068 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3073 eval "$ac_cv_use_cmdline"
3074 if test "$no_cache" != 1; then
3075 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3078 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3079 echo "$ac_t""yes" 1>&6
3081 echo "$ac_t""no" 1>&6
3085 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3086 echo "configure:3087: checking for --enable-datetime" >&5
3088 # Check whether --enable-datetime or --disable-datetime was given.
3089 if test "${enable_datetime+set}" = set; then
3090 enableval
="$enable_datetime"
3092 if test "$enableval" = yes; then
3093 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3095 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3100 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3101 if test "x$LINE" != x
; then
3102 eval "DEFAULT_$LINE"
3107 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3112 eval "$ac_cv_use_datetime"
3113 if test "$no_cache" != 1; then
3114 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3117 if test "$wxUSE_DATETIME" = yes; then
3118 echo "$ac_t""yes" 1>&6
3120 echo "$ac_t""no" 1>&6
3124 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3125 echo "configure:3126: checking for --enable-timedate" >&5
3127 # Check whether --enable-timedate or --disable-timedate was given.
3128 if test "${enable_timedate+set}" = set; then
3129 enableval
="$enable_timedate"
3131 if test "$enableval" = yes; then
3132 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3134 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3139 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3140 if test "x$LINE" != x
; then
3141 eval "DEFAULT_$LINE"
3146 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3151 eval "$ac_cv_use_timedate"
3152 if test "$no_cache" != 1; then
3153 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3156 if test "$wxUSE_TIMEDATE" = yes; then
3157 echo "$ac_t""yes" 1>&6
3159 echo "$ac_t""no" 1>&6
3163 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3164 echo "configure:3165: checking for --enable-stopwatch" >&5
3166 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3167 if test "${enable_stopwatch+set}" = set; then
3168 enableval
="$enable_stopwatch"
3170 if test "$enableval" = yes; then
3171 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3173 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3178 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3179 if test "x$LINE" != x
; then
3180 eval "DEFAULT_$LINE"
3185 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3190 eval "$ac_cv_use_stopwatch"
3191 if test "$no_cache" != 1; then
3192 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3195 if test "$wxUSE_STOPWATCH" = yes; then
3196 echo "$ac_t""yes" 1>&6
3198 echo "$ac_t""no" 1>&6
3202 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3203 echo "configure:3204: checking for --enable-dialupman" >&5
3205 # Check whether --enable-dialupman or --disable-dialupman was given.
3206 if test "${enable_dialupman+set}" = set; then
3207 enableval
="$enable_dialupman"
3209 if test "$enableval" = yes; then
3210 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3212 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3217 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3218 if test "x$LINE" != x
; then
3219 eval "DEFAULT_$LINE"
3224 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3229 eval "$ac_cv_use_dialupman"
3230 if test "$no_cache" != 1; then
3231 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3234 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3235 echo "$ac_t""yes" 1>&6
3237 echo "$ac_t""no" 1>&6
3241 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3242 echo "configure:3243: checking for --enable-apple_ieee" >&5
3244 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3245 if test "${enable_apple_ieee+set}" = set; then
3246 enableval
="$enable_apple_ieee"
3248 if test "$enableval" = yes; then
3249 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3251 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3256 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3257 if test "x$LINE" != x
; then
3258 eval "DEFAULT_$LINE"
3263 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3268 eval "$ac_cv_use_apple_ieee"
3269 if test "$no_cache" != 1; then
3270 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3273 if test "$wxUSE_APPLE_IEEE" = yes; then
3274 echo "$ac_t""yes" 1>&6
3276 echo "$ac_t""no" 1>&6
3280 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3281 echo "configure:3282: checking for --enable-timer" >&5
3283 # Check whether --enable-timer or --disable-timer was given.
3284 if test "${enable_timer+set}" = set; then
3285 enableval
="$enable_timer"
3287 if test "$enableval" = yes; then
3288 ac_cv_use_timer
='wxUSE_TIMER=yes'
3290 ac_cv_use_timer
='wxUSE_TIMER=no'
3295 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3296 if test "x$LINE" != x
; then
3297 eval "DEFAULT_$LINE"
3302 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3307 eval "$ac_cv_use_timer"
3308 if test "$no_cache" != 1; then
3309 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3312 if test "$wxUSE_TIMER" = yes; then
3313 echo "$ac_t""yes" 1>&6
3315 echo "$ac_t""no" 1>&6
3319 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3320 echo "configure:3321: checking for --enable-wave" >&5
3322 # Check whether --enable-wave or --disable-wave was given.
3323 if test "${enable_wave+set}" = set; then
3324 enableval
="$enable_wave"
3326 if test "$enableval" = yes; then
3327 ac_cv_use_wave
='wxUSE_WAVE=yes'
3329 ac_cv_use_wave
='wxUSE_WAVE=no'
3334 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3335 if test "x$LINE" != x
; then
3336 eval "DEFAULT_$LINE"
3341 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3346 eval "$ac_cv_use_wave"
3347 if test "$no_cache" != 1; then
3348 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3351 if test "$wxUSE_WAVE" = yes; then
3352 echo "$ac_t""yes" 1>&6
3354 echo "$ac_t""no" 1>&6
3358 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3359 echo "configure:3360: checking for --enable-fraction" >&5
3361 # Check whether --enable-fraction or --disable-fraction was given.
3362 if test "${enable_fraction+set}" = set; then
3363 enableval
="$enable_fraction"
3365 if test "$enableval" = yes; then
3366 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3368 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3373 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3374 if test "x$LINE" != x
; then
3375 eval "DEFAULT_$LINE"
3380 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3385 eval "$ac_cv_use_fraction"
3386 if test "$no_cache" != 1; then
3387 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3390 if test "$wxUSE_FRACTION" = yes; then
3391 echo "$ac_t""yes" 1>&6
3393 echo "$ac_t""no" 1>&6
3397 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3398 echo "configure:3399: checking for --enable-dynlib" >&5
3400 # Check whether --enable-dynlib or --disable-dynlib was given.
3401 if test "${enable_dynlib+set}" = set; then
3402 enableval
="$enable_dynlib"
3404 if test "$enableval" = yes; then
3405 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3407 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3412 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3413 if test "x$LINE" != x
; then
3414 eval "DEFAULT_$LINE"
3419 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3424 eval "$ac_cv_use_dynlib"
3425 if test "$no_cache" != 1; then
3426 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3429 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3430 echo "$ac_t""yes" 1>&6
3432 echo "$ac_t""no" 1>&6
3436 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3437 echo "configure:3438: checking for --enable-longlong" >&5
3439 # Check whether --enable-longlong or --disable-longlong was given.
3440 if test "${enable_longlong+set}" = set; then
3441 enableval
="$enable_longlong"
3443 if test "$enableval" = yes; then
3444 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3446 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3451 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3452 if test "x$LINE" != x
; then
3453 eval "DEFAULT_$LINE"
3458 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3463 eval "$ac_cv_use_longlong"
3464 if test "$no_cache" != 1; then
3465 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3468 if test "$wxUSE_LONGLONG" = yes; then
3469 echo "$ac_t""yes" 1>&6
3471 echo "$ac_t""no" 1>&6
3475 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3476 echo "configure:3477: checking for --enable-geometry" >&5
3478 # Check whether --enable-geometry or --disable-geometry was given.
3479 if test "${enable_geometry+set}" = set; then
3480 enableval
="$enable_geometry"
3482 if test "$enableval" = yes; then
3483 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3485 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3490 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3491 if test "x$LINE" != x
; then
3492 eval "DEFAULT_$LINE"
3497 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3502 eval "$ac_cv_use_geometry"
3503 if test "$no_cache" != 1; then
3504 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3507 if test "$wxUSE_GEOMETRY" = yes; then
3508 echo "$ac_t""yes" 1>&6
3510 echo "$ac_t""no" 1>&6
3514 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3515 echo "configure:3516: checking for --enable-log" >&5
3517 # Check whether --enable-log or --disable-log was given.
3518 if test "${enable_log+set}" = set; then
3519 enableval
="$enable_log"
3521 if test "$enableval" = yes; then
3522 ac_cv_use_log
='wxUSE_LOG=yes'
3524 ac_cv_use_log
='wxUSE_LOG=no'
3529 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x
; then
3531 eval "DEFAULT_$LINE"
3536 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3541 eval "$ac_cv_use_log"
3542 if test "$no_cache" != 1; then
3543 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3546 if test "$wxUSE_LOG" = yes; then
3547 echo "$ac_t""yes" 1>&6
3549 echo "$ac_t""no" 1>&6
3553 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3554 echo "configure:3555: checking for --enable-streams" >&5
3556 # Check whether --enable-streams or --disable-streams was given.
3557 if test "${enable_streams+set}" = set; then
3558 enableval
="$enable_streams"
3560 if test "$enableval" = yes; then
3561 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3563 ac_cv_use_streams
='wxUSE_STREAMS=no'
3568 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3569 if test "x$LINE" != x
; then
3570 eval "DEFAULT_$LINE"
3575 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3580 eval "$ac_cv_use_streams"
3581 if test "$no_cache" != 1; then
3582 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3585 if test "$wxUSE_STREAMS" = yes; then
3586 echo "$ac_t""yes" 1>&6
3588 echo "$ac_t""no" 1>&6
3592 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3593 echo "configure:3594: checking for --enable-file" >&5
3595 # Check whether --enable-file or --disable-file was given.
3596 if test "${enable_file+set}" = set; then
3597 enableval
="$enable_file"
3599 if test "$enableval" = yes; then
3600 ac_cv_use_file
='wxUSE_FILE=yes'
3602 ac_cv_use_file
='wxUSE_FILE=no'
3607 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3608 if test "x$LINE" != x
; then
3609 eval "DEFAULT_$LINE"
3614 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3619 eval "$ac_cv_use_file"
3620 if test "$no_cache" != 1; then
3621 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3624 if test "$wxUSE_FILE" = yes; then
3625 echo "$ac_t""yes" 1>&6
3627 echo "$ac_t""no" 1>&6
3631 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3632 echo "configure:3633: checking for --enable-ffile" >&5
3634 # Check whether --enable-ffile or --disable-ffile was given.
3635 if test "${enable_ffile+set}" = set; then
3636 enableval
="$enable_ffile"
3638 if test "$enableval" = yes; then
3639 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3641 ac_cv_use_ffile
='wxUSE_FFILE=no'
3646 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3647 if test "x$LINE" != x
; then
3648 eval "DEFAULT_$LINE"
3653 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3658 eval "$ac_cv_use_ffile"
3659 if test "$no_cache" != 1; then
3660 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3663 if test "$wxUSE_FFILE" = yes; then
3664 echo "$ac_t""yes" 1>&6
3666 echo "$ac_t""no" 1>&6
3670 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3671 echo "configure:3672: checking for --enable-textfile" >&5
3673 # Check whether --enable-textfile or --disable-textfile was given.
3674 if test "${enable_textfile+set}" = set; then
3675 enableval
="$enable_textfile"
3677 if test "$enableval" = yes; then
3678 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3680 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3685 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3686 if test "x$LINE" != x
; then
3687 eval "DEFAULT_$LINE"
3692 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3697 eval "$ac_cv_use_textfile"
3698 if test "$no_cache" != 1; then
3699 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3702 if test "$wxUSE_TEXTFILE" = yes; then
3703 echo "$ac_t""yes" 1>&6
3705 echo "$ac_t""no" 1>&6
3709 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3710 echo "configure:3711: checking for --enable-fontmap" >&5
3712 # Check whether --enable-fontmap or --disable-fontmap was given.
3713 if test "${enable_fontmap+set}" = set; then
3714 enableval
="$enable_fontmap"
3716 if test "$enableval" = yes; then
3717 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3719 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3724 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3725 if test "x$LINE" != x
; then
3726 eval "DEFAULT_$LINE"
3731 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3736 eval "$ac_cv_use_fontmap"
3737 if test "$no_cache" != 1; then
3738 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3741 if test "$wxUSE_FONTMAP" = yes; then
3742 echo "$ac_t""yes" 1>&6
3744 echo "$ac_t""no" 1>&6
3748 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3749 echo "configure:3750: checking for --enable-unicode" >&5
3751 # Check whether --enable-unicode or --disable-unicode was given.
3752 if test "${enable_unicode+set}" = set; then
3753 enableval
="$enable_unicode"
3755 if test "$enableval" = yes; then
3756 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3758 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3763 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3764 if test "x$LINE" != x
; then
3765 eval "DEFAULT_$LINE"
3770 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3775 eval "$ac_cv_use_unicode"
3776 if test "$no_cache" != 1; then
3777 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3780 if test "$wxUSE_UNICODE" = yes; then
3781 echo "$ac_t""yes" 1>&6
3783 echo "$ac_t""no" 1>&6
3787 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3788 echo "configure:3789: checking for --enable-wxprintfv" >&5
3790 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3791 if test "${enable_wxprintfv+set}" = set; then
3792 enableval
="$enable_wxprintfv"
3794 if test "$enableval" = yes; then
3795 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3797 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3802 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3803 if test "x$LINE" != x
; then
3804 eval "DEFAULT_$LINE"
3809 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3814 eval "$ac_cv_use_wxprintfv"
3815 if test "$no_cache" != 1; then
3816 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3819 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3820 echo "$ac_t""yes" 1>&6
3822 echo "$ac_t""no" 1>&6
3826 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3827 echo "configure:3828: checking for --enable-std_iostreams" >&5
3829 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3830 if test "${enable_std_iostreams+set}" = set; then
3831 enableval
="$enable_std_iostreams"
3833 if test "$enableval" = yes; then
3834 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3836 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3841 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3842 if test "x$LINE" != x
; then
3843 eval "DEFAULT_$LINE"
3848 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3853 eval "$ac_cv_use_std_iostreams"
3854 if test "$no_cache" != 1; then
3855 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3858 if test "$wxUSE_STD_IOSTREAM" = yes; then
3859 echo "$ac_t""yes" 1>&6
3861 echo "$ac_t""no" 1>&6
3865 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3866 echo "configure:3867: checking for --enable-filesystem" >&5
3868 # Check whether --enable-filesystem or --disable-filesystem was given.
3869 if test "${enable_filesystem+set}" = set; then
3870 enableval
="$enable_filesystem"
3872 if test "$enableval" = yes; then
3873 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3875 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3880 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3881 if test "x$LINE" != x
; then
3882 eval "DEFAULT_$LINE"
3887 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3892 eval "$ac_cv_use_filesystem"
3893 if test "$no_cache" != 1; then
3894 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3897 if test "$wxUSE_FILESYSTEM" = yes; then
3898 echo "$ac_t""yes" 1>&6
3900 echo "$ac_t""no" 1>&6
3904 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3905 echo "configure:3906: checking for --enable-fs_inet" >&5
3907 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3908 if test "${enable_fs_inet+set}" = set; then
3909 enableval
="$enable_fs_inet"
3911 if test "$enableval" = yes; then
3912 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3914 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3919 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3920 if test "x$LINE" != x
; then
3921 eval "DEFAULT_$LINE"
3926 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3931 eval "$ac_cv_use_fs_inet"
3932 if test "$no_cache" != 1; then
3933 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3936 if test "$wxUSE_FS_INET" = yes; then
3937 echo "$ac_t""yes" 1>&6
3939 echo "$ac_t""no" 1>&6
3943 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3944 echo "configure:3945: checking for --enable-fs_zip" >&5
3946 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3947 if test "${enable_fs_zip+set}" = set; then
3948 enableval
="$enable_fs_zip"
3950 if test "$enableval" = yes; then
3951 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3953 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3958 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3959 if test "x$LINE" != x
; then
3960 eval "DEFAULT_$LINE"
3965 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3970 eval "$ac_cv_use_fs_zip"
3971 if test "$no_cache" != 1; then
3972 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3975 if test "$wxUSE_FS_ZIP" = yes; then
3976 echo "$ac_t""yes" 1>&6
3978 echo "$ac_t""no" 1>&6
3982 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
3983 echo "configure:3984: checking for --enable-zipstream" >&5
3985 # Check whether --enable-zipstream or --disable-zipstream was given.
3986 if test "${enable_zipstream+set}" = set; then
3987 enableval
="$enable_zipstream"
3989 if test "$enableval" = yes; then
3990 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3992 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3997 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3998 if test "x$LINE" != x
; then
3999 eval "DEFAULT_$LINE"
4004 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4009 eval "$ac_cv_use_zipstream"
4010 if test "$no_cache" != 1; then
4011 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4014 if test "$wxUSE_ZIPSTREAM" = yes; then
4015 echo "$ac_t""yes" 1>&6
4017 echo "$ac_t""no" 1>&6
4022 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4023 echo "configure:4024: checking for --enable-catch_segvs" >&5
4025 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4026 if test "${enable_catch_segvs+set}" = set; then
4027 enableval
="$enable_catch_segvs"
4029 if test "$enableval" = yes; then
4030 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4032 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4037 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4038 if test "x$LINE" != x
; then
4039 eval "DEFAULT_$LINE"
4044 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4049 eval "$ac_cv_use_catch_segvs"
4050 if test "$no_cache" != 1; then
4051 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4054 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4055 echo "$ac_t""yes" 1>&6
4057 echo "$ac_t""no" 1>&6
4061 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4062 echo "configure:4063: checking for --enable-snglinst" >&5
4064 # Check whether --enable-snglinst or --disable-snglinst was given.
4065 if test "${enable_snglinst+set}" = set; then
4066 enableval
="$enable_snglinst"
4068 if test "$enableval" = yes; then
4069 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4071 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4076 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4077 if test "x$LINE" != x
; then
4078 eval "DEFAULT_$LINE"
4083 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4088 eval "$ac_cv_use_snglinst"
4089 if test "$no_cache" != 1; then
4090 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4093 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4094 echo "$ac_t""yes" 1>&6
4096 echo "$ac_t""no" 1>&6
4101 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4102 echo "configure:4103: checking for --enable-mimetype" >&5
4104 # Check whether --enable-mimetype or --disable-mimetype was given.
4105 if test "${enable_mimetype+set}" = set; then
4106 enableval
="$enable_mimetype"
4108 if test "$enableval" = yes; then
4109 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4111 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4116 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4117 if test "x$LINE" != x
; then
4118 eval "DEFAULT_$LINE"
4123 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4128 eval "$ac_cv_use_mimetype"
4129 if test "$no_cache" != 1; then
4130 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4133 if test "$wxUSE_MIMETYPE" = yes; then
4134 echo "$ac_t""yes" 1>&6
4136 echo "$ac_t""no" 1>&6
4140 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4141 echo "configure:4142: checking for --enable-system_options" >&5
4143 # Check whether --enable-system_options or --disable-system_options was given.
4144 if test "${enable_system_options+set}" = set; then
4145 enableval
="$enable_system_options"
4147 if test "$enableval" = yes; then
4148 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4150 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4155 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4156 if test "x$LINE" != x
; then
4157 eval "DEFAULT_$LINE"
4162 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4167 eval "$ac_cv_use_system_options"
4168 if test "$no_cache" != 1; then
4169 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4172 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4173 echo "$ac_t""yes" 1>&6
4175 echo "$ac_t""no" 1>&6
4181 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4182 echo "configure:4183: checking for --enable-threads" >&5
4184 # Check whether --enable-threads or --disable-threads was given.
4185 if test "${enable_threads+set}" = set; then
4186 enableval
="$enable_threads"
4188 if test "$enableval" = yes; then
4189 ac_cv_use_threads
='wxUSE_THREADS=yes'
4191 ac_cv_use_threads
='wxUSE_THREADS=no'
4196 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4197 if test "x$LINE" != x
; then
4198 eval "DEFAULT_$LINE"
4203 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4208 eval "$ac_cv_use_threads"
4209 if test "$no_cache" != 1; then
4210 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4213 if test "$wxUSE_THREADS" = yes; then
4214 echo "$ac_t""yes" 1>&6
4216 echo "$ac_t""no" 1>&6
4220 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4221 echo "configure:4222: checking for --enable-serial" >&5
4223 # Check whether --enable-serial or --disable-serial was given.
4224 if test "${enable_serial+set}" = set; then
4225 enableval
="$enable_serial"
4227 if test "$enableval" = yes; then
4228 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4230 ac_cv_use_serial
='wxUSE_SERIAL=no'
4235 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4236 if test "x$LINE" != x
; then
4237 eval "DEFAULT_$LINE"
4242 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4247 eval "$ac_cv_use_serial"
4248 if test "$no_cache" != 1; then
4249 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4252 if test "$wxUSE_SERIAL" = yes; then
4253 echo "$ac_t""yes" 1>&6
4255 echo "$ac_t""no" 1>&6
4259 if test "$wxUSE_GUI" = "yes"; then
4263 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4264 echo "configure:4265: checking for --enable-docview" >&5
4266 # Check whether --enable-docview or --disable-docview was given.
4267 if test "${enable_docview+set}" = set; then
4268 enableval
="$enable_docview"
4270 if test "$enableval" = yes; then
4271 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4273 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4278 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4279 if test "x$LINE" != x
; then
4280 eval "DEFAULT_$LINE"
4285 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4290 eval "$ac_cv_use_docview"
4291 if test "$no_cache" != 1; then
4292 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4295 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4296 echo "$ac_t""yes" 1>&6
4298 echo "$ac_t""no" 1>&6
4302 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4303 echo "configure:4304: checking for --enable-help" >&5
4305 # Check whether --enable-help or --disable-help was given.
4306 if test "${enable_help+set}" = set; then
4307 enableval
="$enable_help"
4309 if test "$enableval" = yes; then
4310 ac_cv_use_help
='wxUSE_HELP=yes'
4312 ac_cv_use_help
='wxUSE_HELP=no'
4317 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4318 if test "x$LINE" != x
; then
4319 eval "DEFAULT_$LINE"
4324 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4329 eval "$ac_cv_use_help"
4330 if test "$no_cache" != 1; then
4331 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4334 if test "$wxUSE_HELP" = yes; then
4335 echo "$ac_t""yes" 1>&6
4337 echo "$ac_t""no" 1>&6
4341 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4342 echo "configure:4343: checking for --enable-mshtmlhelp" >&5
4344 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4345 if test "${enable_mshtmlhelp+set}" = set; then
4346 enableval
="$enable_mshtmlhelp"
4348 if test "$enableval" = yes; then
4349 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4351 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4356 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4357 if test "x$LINE" != x
; then
4358 eval "DEFAULT_$LINE"
4363 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4368 eval "$ac_cv_use_mshtmlhelp"
4369 if test "$no_cache" != 1; then
4370 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4373 if test "$wxUSE_MS_HTML_HELP" = yes; then
4374 echo "$ac_t""yes" 1>&6
4376 echo "$ac_t""no" 1>&6
4380 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4381 echo "configure:4382: checking for --enable-html" >&5
4383 # Check whether --enable-html or --disable-html was given.
4384 if test "${enable_html+set}" = set; then
4385 enableval
="$enable_html"
4387 if test "$enableval" = yes; then
4388 ac_cv_use_html
='wxUSE_HTML=yes'
4390 ac_cv_use_html
='wxUSE_HTML=no'
4395 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4396 if test "x$LINE" != x
; then
4397 eval "DEFAULT_$LINE"
4402 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4407 eval "$ac_cv_use_html"
4408 if test "$no_cache" != 1; then
4409 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4412 if test "$wxUSE_HTML" = yes; then
4413 echo "$ac_t""yes" 1>&6
4415 echo "$ac_t""no" 1>&6
4419 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4420 echo "configure:4421: checking for --enable-htmlhelp" >&5
4422 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4423 if test "${enable_htmlhelp+set}" = set; then
4424 enableval
="$enable_htmlhelp"
4426 if test "$enableval" = yes; then
4427 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4429 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4434 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4435 if test "x$LINE" != x
; then
4436 eval "DEFAULT_$LINE"
4441 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4446 eval "$ac_cv_use_htmlhelp"
4447 if test "$no_cache" != 1; then
4448 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4451 if test "$wxUSE_WXHTML_HELP" = yes; then
4452 echo "$ac_t""yes" 1>&6
4454 echo "$ac_t""no" 1>&6
4458 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4459 echo "configure:4460: checking for --enable-constraints" >&5
4461 # Check whether --enable-constraints or --disable-constraints was given.
4462 if test "${enable_constraints+set}" = set; then
4463 enableval
="$enable_constraints"
4465 if test "$enableval" = yes; then
4466 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4468 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4473 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4474 if test "x$LINE" != x
; then
4475 eval "DEFAULT_$LINE"
4480 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4485 eval "$ac_cv_use_constraints"
4486 if test "$no_cache" != 1; then
4487 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4490 if test "$wxUSE_CONSTRAINTS" = yes; then
4491 echo "$ac_t""yes" 1>&6
4493 echo "$ac_t""no" 1>&6
4497 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4498 echo "configure:4499: checking for --enable-printarch" >&5
4500 # Check whether --enable-printarch or --disable-printarch was given.
4501 if test "${enable_printarch+set}" = set; then
4502 enableval
="$enable_printarch"
4504 if test "$enableval" = yes; then
4505 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4507 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4512 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4513 if test "x$LINE" != x
; then
4514 eval "DEFAULT_$LINE"
4519 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4524 eval "$ac_cv_use_printarch"
4525 if test "$no_cache" != 1; then
4526 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4529 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4530 echo "$ac_t""yes" 1>&6
4532 echo "$ac_t""no" 1>&6
4536 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4537 echo "configure:4538: checking for --enable-mdi" >&5
4539 # Check whether --enable-mdi or --disable-mdi was given.
4540 if test "${enable_mdi+set}" = set; then
4541 enableval
="$enable_mdi"
4543 if test "$enableval" = yes; then
4544 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4546 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4551 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4552 if test "x$LINE" != x
; then
4553 eval "DEFAULT_$LINE"
4558 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4563 eval "$ac_cv_use_mdi"
4564 if test "$no_cache" != 1; then
4565 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4568 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4569 echo "$ac_t""yes" 1>&6
4571 echo "$ac_t""no" 1>&6
4575 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4576 echo "configure:4577: checking for --enable-loggui" >&5
4578 # Check whether --enable-loggui or --disable-loggui was given.
4579 if test "${enable_loggui+set}" = set; then
4580 enableval
="$enable_loggui"
4582 if test "$enableval" = yes; then
4583 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4585 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4590 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4591 if test "x$LINE" != x
; then
4592 eval "DEFAULT_$LINE"
4597 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4602 eval "$ac_cv_use_loggui"
4603 if test "$no_cache" != 1; then
4604 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4607 if test "$wxUSE_LOGGUI" = yes; then
4608 echo "$ac_t""yes" 1>&6
4610 echo "$ac_t""no" 1>&6
4614 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4615 echo "configure:4616: checking for --enable-logwin" >&5
4617 # Check whether --enable-logwin or --disable-logwin was given.
4618 if test "${enable_logwin+set}" = set; then
4619 enableval
="$enable_logwin"
4621 if test "$enableval" = yes; then
4622 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4624 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4629 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4630 if test "x$LINE" != x
; then
4631 eval "DEFAULT_$LINE"
4636 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4641 eval "$ac_cv_use_logwin"
4642 if test "$no_cache" != 1; then
4643 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4646 if test "$wxUSE_LOGWINDOW" = yes; then
4647 echo "$ac_t""yes" 1>&6
4649 echo "$ac_t""no" 1>&6
4654 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4655 echo "configure:4656: checking for --enable-postscript" >&5
4657 # Check whether --enable-postscript or --disable-postscript was given.
4658 if test "${enable_postscript+set}" = set; then
4659 enableval
="$enable_postscript"
4661 if test "$enableval" = yes; then
4662 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4664 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4669 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4670 if test "x$LINE" != x
; then
4671 eval "DEFAULT_$LINE"
4676 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4681 eval "$ac_cv_use_postscript"
4682 if test "$no_cache" != 1; then
4683 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4686 if test "$wxUSE_POSTSCRIPT" = yes; then
4687 echo "$ac_t""yes" 1>&6
4689 echo "$ac_t""no" 1>&6
4696 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4697 echo "configure:4698: checking for --enable-prologio" >&5
4699 # Check whether --enable-prologio or --disable-prologio was given.
4700 if test "${enable_prologio+set}" = set; then
4701 enableval
="$enable_prologio"
4703 if test "$enableval" = yes; then
4704 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4706 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4711 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4712 if test "x$LINE" != x
; then
4713 eval "DEFAULT_$LINE"
4718 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4723 eval "$ac_cv_use_prologio"
4724 if test "$no_cache" != 1; then
4725 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4728 if test "$wxUSE_PROLOGIO" = yes; then
4729 echo "$ac_t""yes" 1>&6
4731 echo "$ac_t""no" 1>&6
4735 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4736 echo "configure:4737: checking for --enable-resources" >&5
4738 # Check whether --enable-resources or --disable-resources was given.
4739 if test "${enable_resources+set}" = set; then
4740 enableval
="$enable_resources"
4742 if test "$enableval" = yes; then
4743 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4745 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4750 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4751 if test "x$LINE" != x
; then
4752 eval "DEFAULT_$LINE"
4757 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4762 eval "$ac_cv_use_resources"
4763 if test "$no_cache" != 1; then
4764 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4767 if test "$wxUSE_RESOURCES" = yes; then
4768 echo "$ac_t""yes" 1>&6
4770 echo "$ac_t""no" 1>&6
4775 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4776 echo "configure:4777: checking for --enable-xresources" >&5
4778 # Check whether --enable-xresources or --disable-xresources was given.
4779 if test "${enable_xresources+set}" = set; then
4780 enableval
="$enable_xresources"
4782 if test "$enableval" = yes; then
4783 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4785 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4790 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4791 if test "x$LINE" != x
; then
4792 eval "DEFAULT_$LINE"
4797 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4802 eval "$ac_cv_use_xresources"
4803 if test "$no_cache" != 1; then
4804 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4807 if test "$wxUSE_X_RESOURCES" = yes; then
4808 echo "$ac_t""yes" 1>&6
4810 echo "$ac_t""no" 1>&6
4816 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4817 echo "configure:4818: checking for --enable-clipboard" >&5
4819 # Check whether --enable-clipboard or --disable-clipboard was given.
4820 if test "${enable_clipboard+set}" = set; then
4821 enableval
="$enable_clipboard"
4823 if test "$enableval" = yes; then
4824 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4826 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4831 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4832 if test "x$LINE" != x
; then
4833 eval "DEFAULT_$LINE"
4838 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4843 eval "$ac_cv_use_clipboard"
4844 if test "$no_cache" != 1; then
4845 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4848 if test "$wxUSE_CLIPBOARD" = yes; then
4849 echo "$ac_t""yes" 1>&6
4851 echo "$ac_t""no" 1>&6
4855 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4856 echo "configure:4857: checking for --enable-dnd" >&5
4858 # Check whether --enable-dnd or --disable-dnd was given.
4859 if test "${enable_dnd+set}" = set; then
4860 enableval
="$enable_dnd"
4862 if test "$enableval" = yes; then
4863 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4865 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4870 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4871 if test "x$LINE" != x
; then
4872 eval "DEFAULT_$LINE"
4877 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4882 eval "$ac_cv_use_dnd"
4883 if test "$no_cache" != 1; then
4884 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4887 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4888 echo "$ac_t""yes" 1>&6
4890 echo "$ac_t""no" 1>&6
4894 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4895 echo "configure:4896: checking for --enable-metafile" >&5
4897 # Check whether --enable-metafile or --disable-metafile was given.
4898 if test "${enable_metafile+set}" = set; then
4899 enableval
="$enable_metafile"
4901 if test "$enableval" = yes; then
4902 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4904 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4909 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4910 if test "x$LINE" != x
; then
4911 eval "DEFAULT_$LINE"
4916 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4921 eval "$ac_cv_use_metafile"
4922 if test "$no_cache" != 1; then
4923 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4926 if test "$wxUSE_METAFILE" = yes; then
4927 echo "$ac_t""yes" 1>&6
4929 echo "$ac_t""no" 1>&6
4934 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
4935 echo "configure:4936: checking for --enable-treelayout" >&5
4937 # Check whether --enable-treelayout or --disable-treelayout was given.
4938 if test "${enable_treelayout+set}" = set; then
4939 enableval
="$enable_treelayout"
4941 if test "$enableval" = yes; then
4942 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
4944 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
4949 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
4950 if test "x$LINE" != x
; then
4951 eval "DEFAULT_$LINE"
4956 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
4961 eval "$ac_cv_use_treelayout"
4962 if test "$no_cache" != 1; then
4963 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
4966 if test "$wxUSE_TREELAYOUT" = yes; then
4967 echo "$ac_t""yes" 1>&6
4969 echo "$ac_t""no" 1>&6
4975 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
4976 echo "configure:4977: checking for --enable-controls" >&5
4978 # Check whether --enable-controls or --disable-controls was given.
4979 if test "${enable_controls+set}" = set; then
4980 enableval
="$enable_controls"
4982 if test "$enableval" = yes; then
4983 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4985 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4990 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4991 if test "x$LINE" != x
; then
4992 eval "DEFAULT_$LINE"
4997 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5002 eval "$ac_cv_use_controls"
5003 if test "$no_cache" != 1; then
5004 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5007 if test "$wxUSE_CONTROLS" = yes; then
5008 echo "$ac_t""yes" 1>&6
5010 echo "$ac_t""no" 1>&6
5014 if test "$wxUSE_CONTROLS" = "yes"; then
5015 DEFAULT_wxUSE_ACCEL
=yes
5016 DEFAULT_wxUSE_BMPBUTTON
=yes
5017 DEFAULT_wxUSE_BUTTON
=yes
5018 DEFAULT_wxUSE_CALCTRL
=no
5019 DEFAULT_wxUSE_CARET
=yes
5020 DEFAULT_wxUSE_COMBOBOX
=yes
5021 DEFAULT_wxUSE_CHECKBOX
=yes
5022 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5023 DEFAULT_wxUSE_CHOICE
=yes
5024 DEFAULT_wxUSE_GAUGE
=yes
5025 DEFAULT_wxUSE_GRID
=yes
5026 DEFAULT_wxUSE_NEW_GRID
=yes
5027 DEFAULT_wxUSE_IMAGLIST
=yes
5028 DEFAULT_wxUSE_LISTBOX
=yes
5029 DEFAULT_wxUSE_LISTCTRL
=yes
5030 DEFAULT_wxUSE_NOTEBOOK
=yes
5031 DEFAULT_wxUSE_PROPSHEET
=yes
5032 DEFAULT_wxUSE_RADIOBOX
=yes
5033 DEFAULT_wxUSE_RADIOBTN
=yes
5034 DEFAULT_wxUSE_SASH
=yes
5035 DEFAULT_wxUSE_SCROLLBAR
=yes
5036 DEFAULT_wxUSE_SLIDER
=yes
5037 DEFAULT_wxUSE_SPINBTN
=yes
5038 DEFAULT_wxUSE_SPINCTRL
=yes
5039 DEFAULT_wxUSE_SPLITTER
=yes
5040 DEFAULT_wxUSE_STATBMP
=yes
5041 DEFAULT_wxUSE_STATBOX
=yes
5042 DEFAULT_wxUSE_STATLINE
=yes
5043 DEFAULT_wxUSE_STATUSBAR
=yes
5044 DEFAULT_wxUSE_TAB_DIALOG
=yes
5045 DEFAULT_wxUSE_TOGGLEBTN
=yes
5046 DEFAULT_wxUSE_TOOLBAR
=yes
5047 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5048 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5049 DEFAULT_wxUSE_TOOLTIPS
=yes
5050 DEFAULT_wxUSE_TREECTRL
=yes
5051 DEFAULT_wxUSE_POPUPWIN
=yes
5052 elif test "$wxUSE_CONTROLS" = "no"; then
5053 DEFAULT_wxUSE_ACCEL
=no
5054 DEFAULT_wxUSE_BMPBUTTON
=no
5055 DEFAULT_wxUSE_BUTTON
=no
5056 DEFAULT_wxUSE_CALCTRL
=no
5057 DEFAULT_wxUSE_CARET
=no
5058 DEFAULT_wxUSE_COMBOBOX
=no
5059 DEFAULT_wxUSE_CHECKBOX
=no
5060 DEFAULT_wxUSE_CHECKLISTBOX
=no
5061 DEFAULT_wxUSE_CHOICE
=no
5062 DEFAULT_wxUSE_GAUGE
=no
5063 DEFAULT_wxUSE_GRID
=no
5064 DEFAULT_wxUSE_NEW_GRID
=no
5065 DEFAULT_wxUSE_IMAGLIST
=no
5066 DEFAULT_wxUSE_LISTBOX
=no
5067 DEFAULT_wxUSE_LISTCTRL
=no
5068 DEFAULT_wxUSE_NOTEBOOK
=no
5069 DEFAULT_wxUSE_PROPSHEET
=no
5070 DEFAULT_wxUSE_RADIOBOX
=no
5071 DEFAULT_wxUSE_RADIOBTN
=no
5072 DEFAULT_wxUSE_SASH
=no
5073 DEFAULT_wxUSE_SCROLLBAR
=no
5074 DEFAULT_wxUSE_SLIDER
=no
5075 DEFAULT_wxUSE_SPINBTN
=no
5076 DEFAULT_wxUSE_SPINCTRL
=no
5077 DEFAULT_wxUSE_SPLITTER
=no
5078 DEFAULT_wxUSE_STATBMP
=no
5079 DEFAULT_wxUSE_STATBOX
=no
5080 DEFAULT_wxUSE_STATLINE
=no
5081 DEFAULT_wxUSE_STATUSBAR
=no
5082 DEFAULT_wxUSE_TAB_DIALOG
=no
5083 DEFAULT_wxUSE_TOGGLEBTN
=no
5084 DEFAULT_wxUSE_TOOLBAR
=no
5085 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5086 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5087 DEFAULT_wxUSE_TOOLTIPS
=no
5088 DEFAULT_wxUSE_TREECTRL
=no
5089 DEFAULT_wxUSE_POPUPWIN
=no
5093 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5094 echo "configure:5095: checking for --enable-accel" >&5
5096 # Check whether --enable-accel or --disable-accel was given.
5097 if test "${enable_accel+set}" = set; then
5098 enableval
="$enable_accel"
5100 if test "$enableval" = yes; then
5101 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5103 ac_cv_use_accel
='wxUSE_ACCEL=no'
5108 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5109 if test "x$LINE" != x
; then
5110 eval "DEFAULT_$LINE"
5115 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5120 eval "$ac_cv_use_accel"
5121 if test "$no_cache" != 1; then
5122 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5125 if test "$wxUSE_ACCEL" = yes; then
5126 echo "$ac_t""yes" 1>&6
5128 echo "$ac_t""no" 1>&6
5132 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5133 echo "configure:5134: checking for --enable-button" >&5
5135 # Check whether --enable-button or --disable-button was given.
5136 if test "${enable_button+set}" = set; then
5137 enableval
="$enable_button"
5139 if test "$enableval" = yes; then
5140 ac_cv_use_button
='wxUSE_BUTTON=yes'
5142 ac_cv_use_button
='wxUSE_BUTTON=no'
5147 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5148 if test "x$LINE" != x
; then
5149 eval "DEFAULT_$LINE"
5154 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5159 eval "$ac_cv_use_button"
5160 if test "$no_cache" != 1; then
5161 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5164 if test "$wxUSE_BUTTON" = yes; then
5165 echo "$ac_t""yes" 1>&6
5167 echo "$ac_t""no" 1>&6
5171 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5172 echo "configure:5173: checking for --enable-bmpbutton" >&5
5174 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5175 if test "${enable_bmpbutton+set}" = set; then
5176 enableval
="$enable_bmpbutton"
5178 if test "$enableval" = yes; then
5179 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5181 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5186 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5187 if test "x$LINE" != x
; then
5188 eval "DEFAULT_$LINE"
5193 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5198 eval "$ac_cv_use_bmpbutton"
5199 if test "$no_cache" != 1; then
5200 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5203 if test "$wxUSE_BMPBUTTON" = yes; then
5204 echo "$ac_t""yes" 1>&6
5206 echo "$ac_t""no" 1>&6
5210 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5211 echo "configure:5212: checking for --enable-calendar" >&5
5213 # Check whether --enable-calendar or --disable-calendar was given.
5214 if test "${enable_calendar+set}" = set; then
5215 enableval
="$enable_calendar"
5217 if test "$enableval" = yes; then
5218 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5220 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5225 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5226 if test "x$LINE" != x
; then
5227 eval "DEFAULT_$LINE"
5232 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5237 eval "$ac_cv_use_calendar"
5238 if test "$no_cache" != 1; then
5239 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5242 if test "$wxUSE_CALCTRL" = yes; then
5243 echo "$ac_t""yes" 1>&6
5245 echo "$ac_t""no" 1>&6
5249 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5250 echo "configure:5251: checking for --enable-caret" >&5
5252 # Check whether --enable-caret or --disable-caret was given.
5253 if test "${enable_caret+set}" = set; then
5254 enableval
="$enable_caret"
5256 if test "$enableval" = yes; then
5257 ac_cv_use_caret
='wxUSE_CARET=yes'
5259 ac_cv_use_caret
='wxUSE_CARET=no'
5264 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5265 if test "x$LINE" != x
; then
5266 eval "DEFAULT_$LINE"
5271 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5276 eval "$ac_cv_use_caret"
5277 if test "$no_cache" != 1; then
5278 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5281 if test "$wxUSE_CARET" = yes; then
5282 echo "$ac_t""yes" 1>&6
5284 echo "$ac_t""no" 1>&6
5288 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5289 echo "configure:5290: checking for --enable-checkbox" >&5
5291 # Check whether --enable-checkbox or --disable-checkbox was given.
5292 if test "${enable_checkbox+set}" = set; then
5293 enableval
="$enable_checkbox"
5295 if test "$enableval" = yes; then
5296 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5298 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5303 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5304 if test "x$LINE" != x
; then
5305 eval "DEFAULT_$LINE"
5310 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5315 eval "$ac_cv_use_checkbox"
5316 if test "$no_cache" != 1; then
5317 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5320 if test "$wxUSE_CHECKBOX" = yes; then
5321 echo "$ac_t""yes" 1>&6
5323 echo "$ac_t""no" 1>&6
5327 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5328 echo "configure:5329: checking for --enable-checklst" >&5
5330 # Check whether --enable-checklst or --disable-checklst was given.
5331 if test "${enable_checklst+set}" = set; then
5332 enableval
="$enable_checklst"
5334 if test "$enableval" = yes; then
5335 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5337 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5342 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5343 if test "x$LINE" != x
; then
5344 eval "DEFAULT_$LINE"
5349 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5354 eval "$ac_cv_use_checklst"
5355 if test "$no_cache" != 1; then
5356 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5359 if test "$wxUSE_CHECKLST" = yes; then
5360 echo "$ac_t""yes" 1>&6
5362 echo "$ac_t""no" 1>&6
5366 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5367 echo "configure:5368: checking for --enable-choice" >&5
5369 # Check whether --enable-choice or --disable-choice was given.
5370 if test "${enable_choice+set}" = set; then
5371 enableval
="$enable_choice"
5373 if test "$enableval" = yes; then
5374 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5376 ac_cv_use_choice
='wxUSE_CHOICE=no'
5381 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5382 if test "x$LINE" != x
; then
5383 eval "DEFAULT_$LINE"
5388 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5393 eval "$ac_cv_use_choice"
5394 if test "$no_cache" != 1; then
5395 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5398 if test "$wxUSE_CHOICE" = yes; then
5399 echo "$ac_t""yes" 1>&6
5401 echo "$ac_t""no" 1>&6
5405 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5406 echo "configure:5407: checking for --enable-combobox" >&5
5408 # Check whether --enable-combobox or --disable-combobox was given.
5409 if test "${enable_combobox+set}" = set; then
5410 enableval
="$enable_combobox"
5412 if test "$enableval" = yes; then
5413 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5415 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5420 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5421 if test "x$LINE" != x
; then
5422 eval "DEFAULT_$LINE"
5427 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5432 eval "$ac_cv_use_combobox"
5433 if test "$no_cache" != 1; then
5434 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5437 if test "$wxUSE_COMBOBOX" = yes; then
5438 echo "$ac_t""yes" 1>&6
5440 echo "$ac_t""no" 1>&6
5444 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5445 echo "configure:5446: checking for --enable-gauge" >&5
5447 # Check whether --enable-gauge or --disable-gauge was given.
5448 if test "${enable_gauge+set}" = set; then
5449 enableval
="$enable_gauge"
5451 if test "$enableval" = yes; then
5452 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5454 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5459 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5460 if test "x$LINE" != x
; then
5461 eval "DEFAULT_$LINE"
5466 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5471 eval "$ac_cv_use_gauge"
5472 if test "$no_cache" != 1; then
5473 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5476 if test "$wxUSE_GAUGE" = yes; then
5477 echo "$ac_t""yes" 1>&6
5479 echo "$ac_t""no" 1>&6
5483 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5484 echo "configure:5485: checking for --enable-grid" >&5
5486 # Check whether --enable-grid or --disable-grid was given.
5487 if test "${enable_grid+set}" = set; then
5488 enableval
="$enable_grid"
5490 if test "$enableval" = yes; then
5491 ac_cv_use_grid
='wxUSE_GRID=yes'
5493 ac_cv_use_grid
='wxUSE_GRID=no'
5498 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5499 if test "x$LINE" != x
; then
5500 eval "DEFAULT_$LINE"
5505 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5510 eval "$ac_cv_use_grid"
5511 if test "$no_cache" != 1; then
5512 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5515 if test "$wxUSE_GRID" = yes; then
5516 echo "$ac_t""yes" 1>&6
5518 echo "$ac_t""no" 1>&6
5522 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5523 echo "configure:5524: checking for --enable-newgrid" >&5
5525 # Check whether --enable-newgrid or --disable-newgrid was given.
5526 if test "${enable_newgrid+set}" = set; then
5527 enableval
="$enable_newgrid"
5529 if test "$enableval" = yes; then
5530 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5532 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5537 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5538 if test "x$LINE" != x
; then
5539 eval "DEFAULT_$LINE"
5544 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5549 eval "$ac_cv_use_newgrid"
5550 if test "$no_cache" != 1; then
5551 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5554 if test "$wxUSE_NEW_GRID" = yes; then
5555 echo "$ac_t""yes" 1>&6
5557 echo "$ac_t""no" 1>&6
5561 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5562 echo "configure:5563: checking for --enable-imaglist" >&5
5564 # Check whether --enable-imaglist or --disable-imaglist was given.
5565 if test "${enable_imaglist+set}" = set; then
5566 enableval
="$enable_imaglist"
5568 if test "$enableval" = yes; then
5569 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5571 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5576 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5577 if test "x$LINE" != x
; then
5578 eval "DEFAULT_$LINE"
5583 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5588 eval "$ac_cv_use_imaglist"
5589 if test "$no_cache" != 1; then
5590 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5593 if test "$wxUSE_IMAGLIST" = yes; then
5594 echo "$ac_t""yes" 1>&6
5596 echo "$ac_t""no" 1>&6
5600 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5601 echo "configure:5602: checking for --enable-listbox" >&5
5603 # Check whether --enable-listbox or --disable-listbox was given.
5604 if test "${enable_listbox+set}" = set; then
5605 enableval
="$enable_listbox"
5607 if test "$enableval" = yes; then
5608 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5610 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5615 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5616 if test "x$LINE" != x
; then
5617 eval "DEFAULT_$LINE"
5622 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5627 eval "$ac_cv_use_listbox"
5628 if test "$no_cache" != 1; then
5629 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5632 if test "$wxUSE_LISTBOX" = yes; then
5633 echo "$ac_t""yes" 1>&6
5635 echo "$ac_t""no" 1>&6
5639 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5640 echo "configure:5641: checking for --enable-listctrl" >&5
5642 # Check whether --enable-listctrl or --disable-listctrl was given.
5643 if test "${enable_listctrl+set}" = set; then
5644 enableval
="$enable_listctrl"
5646 if test "$enableval" = yes; then
5647 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5649 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5654 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5655 if test "x$LINE" != x
; then
5656 eval "DEFAULT_$LINE"
5661 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5666 eval "$ac_cv_use_listctrl"
5667 if test "$no_cache" != 1; then
5668 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5671 if test "$wxUSE_LISTCTRL" = yes; then
5672 echo "$ac_t""yes" 1>&6
5674 echo "$ac_t""no" 1>&6
5678 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5679 echo "configure:5680: checking for --enable-notebook" >&5
5681 # Check whether --enable-notebook or --disable-notebook was given.
5682 if test "${enable_notebook+set}" = set; then
5683 enableval
="$enable_notebook"
5685 if test "$enableval" = yes; then
5686 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5688 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5693 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5694 if test "x$LINE" != x
; then
5695 eval "DEFAULT_$LINE"
5700 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5705 eval "$ac_cv_use_notebook"
5706 if test "$no_cache" != 1; then
5707 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5710 if test "$wxUSE_NOTEBOOK" = yes; then
5711 echo "$ac_t""yes" 1>&6
5713 echo "$ac_t""no" 1>&6
5717 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5718 echo "configure:5719: checking for --enable-propsheet" >&5
5720 # Check whether --enable-propsheet or --disable-propsheet was given.
5721 if test "${enable_propsheet+set}" = set; then
5722 enableval
="$enable_propsheet"
5724 if test "$enableval" = yes; then
5725 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
5727 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
5732 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5733 if test "x$LINE" != x
; then
5734 eval "DEFAULT_$LINE"
5739 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5744 eval "$ac_cv_use_propsheet"
5745 if test "$no_cache" != 1; then
5746 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5749 if test "$wxUSE_PROPSHEET" = yes; then
5750 echo "$ac_t""yes" 1>&6
5752 echo "$ac_t""no" 1>&6
5756 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5757 echo "configure:5758: checking for --enable-radiobox" >&5
5759 # Check whether --enable-radiobox or --disable-radiobox was given.
5760 if test "${enable_radiobox+set}" = set; then
5761 enableval
="$enable_radiobox"
5763 if test "$enableval" = yes; then
5764 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5766 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5771 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5772 if test "x$LINE" != x
; then
5773 eval "DEFAULT_$LINE"
5778 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5783 eval "$ac_cv_use_radiobox"
5784 if test "$no_cache" != 1; then
5785 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5788 if test "$wxUSE_RADIOBOX" = yes; then
5789 echo "$ac_t""yes" 1>&6
5791 echo "$ac_t""no" 1>&6
5795 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5796 echo "configure:5797: checking for --enable-radiobtn" >&5
5798 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5799 if test "${enable_radiobtn+set}" = set; then
5800 enableval
="$enable_radiobtn"
5802 if test "$enableval" = yes; then
5803 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5805 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5810 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5811 if test "x$LINE" != x
; then
5812 eval "DEFAULT_$LINE"
5817 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5822 eval "$ac_cv_use_radiobtn"
5823 if test "$no_cache" != 1; then
5824 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5827 if test "$wxUSE_RADIOBTN" = yes; then
5828 echo "$ac_t""yes" 1>&6
5830 echo "$ac_t""no" 1>&6
5834 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5835 echo "configure:5836: checking for --enable-sash" >&5
5837 # Check whether --enable-sash or --disable-sash was given.
5838 if test "${enable_sash+set}" = set; then
5839 enableval
="$enable_sash"
5841 if test "$enableval" = yes; then
5842 ac_cv_use_sash
='wxUSE_SASH=yes'
5844 ac_cv_use_sash
='wxUSE_SASH=no'
5849 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5850 if test "x$LINE" != x
; then
5851 eval "DEFAULT_$LINE"
5856 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5861 eval "$ac_cv_use_sash"
5862 if test "$no_cache" != 1; then
5863 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5866 if test "$wxUSE_SASH" = yes; then
5867 echo "$ac_t""yes" 1>&6
5869 echo "$ac_t""no" 1>&6
5873 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5874 echo "configure:5875: checking for --enable-scrollbar" >&5
5876 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5877 if test "${enable_scrollbar+set}" = set; then
5878 enableval
="$enable_scrollbar"
5880 if test "$enableval" = yes; then
5881 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5883 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5888 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5889 if test "x$LINE" != x
; then
5890 eval "DEFAULT_$LINE"
5895 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5900 eval "$ac_cv_use_scrollbar"
5901 if test "$no_cache" != 1; then
5902 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5905 if test "$wxUSE_SCROLLBAR" = yes; then
5906 echo "$ac_t""yes" 1>&6
5908 echo "$ac_t""no" 1>&6
5912 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5913 echo "configure:5914: checking for --enable-slider" >&5
5915 # Check whether --enable-slider or --disable-slider was given.
5916 if test "${enable_slider+set}" = set; then
5917 enableval
="$enable_slider"
5919 if test "$enableval" = yes; then
5920 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5922 ac_cv_use_slider
='wxUSE_SLIDER=no'
5927 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5928 if test "x$LINE" != x
; then
5929 eval "DEFAULT_$LINE"
5934 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5939 eval "$ac_cv_use_slider"
5940 if test "$no_cache" != 1; then
5941 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5944 if test "$wxUSE_SLIDER" = yes; then
5945 echo "$ac_t""yes" 1>&6
5947 echo "$ac_t""no" 1>&6
5951 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5952 echo "configure:5953: checking for --enable-spinbtn" >&5
5954 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5955 if test "${enable_spinbtn+set}" = set; then
5956 enableval
="$enable_spinbtn"
5958 if test "$enableval" = yes; then
5959 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5961 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
5966 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5967 if test "x$LINE" != x
; then
5968 eval "DEFAULT_$LINE"
5973 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5978 eval "$ac_cv_use_spinbtn"
5979 if test "$no_cache" != 1; then
5980 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5983 if test "$wxUSE_SPINBTN" = yes; then
5984 echo "$ac_t""yes" 1>&6
5986 echo "$ac_t""no" 1>&6
5990 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
5991 echo "configure:5992: checking for --enable-spinctrl" >&5
5993 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5994 if test "${enable_spinctrl+set}" = set; then
5995 enableval
="$enable_spinctrl"
5997 if test "$enableval" = yes; then
5998 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6000 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6005 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6006 if test "x$LINE" != x
; then
6007 eval "DEFAULT_$LINE"
6012 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6017 eval "$ac_cv_use_spinctrl"
6018 if test "$no_cache" != 1; then
6019 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6022 if test "$wxUSE_SPINCTRL" = yes; then
6023 echo "$ac_t""yes" 1>&6
6025 echo "$ac_t""no" 1>&6
6029 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6030 echo "configure:6031: checking for --enable-splitter" >&5
6032 # Check whether --enable-splitter or --disable-splitter was given.
6033 if test "${enable_splitter+set}" = set; then
6034 enableval
="$enable_splitter"
6036 if test "$enableval" = yes; then
6037 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6039 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6044 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6045 if test "x$LINE" != x
; then
6046 eval "DEFAULT_$LINE"
6051 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6056 eval "$ac_cv_use_splitter"
6057 if test "$no_cache" != 1; then
6058 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6061 if test "$wxUSE_SPLITTER" = yes; then
6062 echo "$ac_t""yes" 1>&6
6064 echo "$ac_t""no" 1>&6
6068 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6069 echo "configure:6070: checking for --enable-statbmp" >&5
6071 # Check whether --enable-statbmp or --disable-statbmp was given.
6072 if test "${enable_statbmp+set}" = set; then
6073 enableval
="$enable_statbmp"
6075 if test "$enableval" = yes; then
6076 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6078 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6083 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6084 if test "x$LINE" != x
; then
6085 eval "DEFAULT_$LINE"
6090 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6095 eval "$ac_cv_use_statbmp"
6096 if test "$no_cache" != 1; then
6097 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6100 if test "$wxUSE_STATBMP" = yes; then
6101 echo "$ac_t""yes" 1>&6
6103 echo "$ac_t""no" 1>&6
6107 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6108 echo "configure:6109: checking for --enable-statbox" >&5
6110 # Check whether --enable-statbox or --disable-statbox was given.
6111 if test "${enable_statbox+set}" = set; then
6112 enableval
="$enable_statbox"
6114 if test "$enableval" = yes; then
6115 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6117 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6122 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6123 if test "x$LINE" != x
; then
6124 eval "DEFAULT_$LINE"
6129 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6134 eval "$ac_cv_use_statbox"
6135 if test "$no_cache" != 1; then
6136 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6139 if test "$wxUSE_STATBOX" = yes; then
6140 echo "$ac_t""yes" 1>&6
6142 echo "$ac_t""no" 1>&6
6146 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6147 echo "configure:6148: checking for --enable-statline" >&5
6149 # Check whether --enable-statline or --disable-statline was given.
6150 if test "${enable_statline+set}" = set; then
6151 enableval
="$enable_statline"
6153 if test "$enableval" = yes; then
6154 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6156 ac_cv_use_statline
='wxUSE_STATLINE=no'
6161 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6162 if test "x$LINE" != x
; then
6163 eval "DEFAULT_$LINE"
6168 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6173 eval "$ac_cv_use_statline"
6174 if test "$no_cache" != 1; then
6175 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6178 if test "$wxUSE_STATLINE" = yes; then
6179 echo "$ac_t""yes" 1>&6
6181 echo "$ac_t""no" 1>&6
6185 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6186 echo "configure:6187: checking for --enable-stattext" >&5
6188 # Check whether --enable-stattext or --disable-stattext was given.
6189 if test "${enable_stattext+set}" = set; then
6190 enableval
="$enable_stattext"
6192 if test "$enableval" = yes; then
6193 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6195 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6200 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6201 if test "x$LINE" != x
; then
6202 eval "DEFAULT_$LINE"
6207 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6212 eval "$ac_cv_use_stattext"
6213 if test "$no_cache" != 1; then
6214 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6217 if test "$wxUSE_STATTEXT" = yes; then
6218 echo "$ac_t""yes" 1>&6
6220 echo "$ac_t""no" 1>&6
6224 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6225 echo "configure:6226: checking for --enable-statusbar" >&5
6227 # Check whether --enable-statusbar or --disable-statusbar was given.
6228 if test "${enable_statusbar+set}" = set; then
6229 enableval
="$enable_statusbar"
6231 if test "$enableval" = yes; then
6232 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6234 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6239 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6240 if test "x$LINE" != x
; then
6241 eval "DEFAULT_$LINE"
6246 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6251 eval "$ac_cv_use_statusbar"
6252 if test "$no_cache" != 1; then
6253 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6256 if test "$wxUSE_STATUSBAR" = yes; then
6257 echo "$ac_t""yes" 1>&6
6259 echo "$ac_t""no" 1>&6
6263 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6264 echo "configure:6265: checking for --enable-tabdialog" >&5
6266 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6267 if test "${enable_tabdialog+set}" = set; then
6268 enableval
="$enable_tabdialog"
6270 if test "$enableval" = yes; then
6271 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6273 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6278 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6279 if test "x$LINE" != x
; then
6280 eval "DEFAULT_$LINE"
6285 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6290 eval "$ac_cv_use_tabdialog"
6291 if test "$no_cache" != 1; then
6292 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6295 if test "$wxUSE_TABDIALOG" = yes; then
6296 echo "$ac_t""yes" 1>&6
6298 echo "$ac_t""no" 1>&6
6302 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6303 echo "configure:6304: checking for --enable-textctrl" >&5
6305 # Check whether --enable-textctrl or --disable-textctrl was given.
6306 if test "${enable_textctrl+set}" = set; then
6307 enableval
="$enable_textctrl"
6309 if test "$enableval" = yes; then
6310 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6312 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6317 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6318 if test "x$LINE" != x
; then
6319 eval "DEFAULT_$LINE"
6324 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6329 eval "$ac_cv_use_textctrl"
6330 if test "$no_cache" != 1; then
6331 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6334 if test "$wxUSE_TEXTCTRL" = yes; then
6335 echo "$ac_t""yes" 1>&6
6337 echo "$ac_t""no" 1>&6
6341 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6342 echo "configure:6343: checking for --enable-togglebtn" >&5
6344 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6345 if test "${enable_togglebtn+set}" = set; then
6346 enableval
="$enable_togglebtn"
6348 if test "$enableval" = yes; then
6349 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6351 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6356 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6357 if test "x$LINE" != x
; then
6358 eval "DEFAULT_$LINE"
6363 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6368 eval "$ac_cv_use_togglebtn"
6369 if test "$no_cache" != 1; then
6370 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6373 if test "$wxUSE_TOGGLEBTN" = yes; then
6374 echo "$ac_t""yes" 1>&6
6376 echo "$ac_t""no" 1>&6
6380 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6381 echo "configure:6382: checking for --enable-toolbar" >&5
6383 # Check whether --enable-toolbar or --disable-toolbar was given.
6384 if test "${enable_toolbar+set}" = set; then
6385 enableval
="$enable_toolbar"
6387 if test "$enableval" = yes; then
6388 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6390 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6395 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6396 if test "x$LINE" != x
; then
6397 eval "DEFAULT_$LINE"
6402 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6407 eval "$ac_cv_use_toolbar"
6408 if test "$no_cache" != 1; then
6409 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6412 if test "$wxUSE_TOOLBAR" = yes; then
6413 echo "$ac_t""yes" 1>&6
6415 echo "$ac_t""no" 1>&6
6419 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6420 echo "configure:6421: checking for --enable-tbarnative" >&5
6422 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6423 if test "${enable_tbarnative+set}" = set; then
6424 enableval
="$enable_tbarnative"
6426 if test "$enableval" = yes; then
6427 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6429 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6434 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6435 if test "x$LINE" != x
; then
6436 eval "DEFAULT_$LINE"
6441 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6446 eval "$ac_cv_use_tbarnative"
6447 if test "$no_cache" != 1; then
6448 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6451 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6452 echo "$ac_t""yes" 1>&6
6454 echo "$ac_t""no" 1>&6
6458 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6459 echo "configure:6460: checking for --enable-tbarsmpl" >&5
6461 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6462 if test "${enable_tbarsmpl+set}" = set; then
6463 enableval
="$enable_tbarsmpl"
6465 if test "$enableval" = yes; then
6466 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6468 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6473 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6474 if test "x$LINE" != x
; then
6475 eval "DEFAULT_$LINE"
6480 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6485 eval "$ac_cv_use_tbarsmpl"
6486 if test "$no_cache" != 1; then
6487 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6490 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6491 echo "$ac_t""yes" 1>&6
6493 echo "$ac_t""no" 1>&6
6497 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6498 echo "configure:6499: checking for --enable-treectrl" >&5
6500 # Check whether --enable-treectrl or --disable-treectrl was given.
6501 if test "${enable_treectrl+set}" = set; then
6502 enableval
="$enable_treectrl"
6504 if test "$enableval" = yes; then
6505 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6507 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6512 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6513 if test "x$LINE" != x
; then
6514 eval "DEFAULT_$LINE"
6519 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6524 eval "$ac_cv_use_treectrl"
6525 if test "$no_cache" != 1; then
6526 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6529 if test "$wxUSE_TREECTRL" = yes; then
6530 echo "$ac_t""yes" 1>&6
6532 echo "$ac_t""no" 1>&6
6536 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6537 echo "configure:6538: checking for --enable-popupwin" >&5
6539 # Check whether --enable-popupwin or --disable-popupwin was given.
6540 if test "${enable_popupwin+set}" = set; then
6541 enableval
="$enable_popupwin"
6543 if test "$enableval" = yes; then
6544 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6546 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6551 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6552 if test "x$LINE" != x
; then
6553 eval "DEFAULT_$LINE"
6558 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6563 eval "$ac_cv_use_popupwin"
6564 if test "$no_cache" != 1; then
6565 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6568 if test "$wxUSE_POPUPWIN" = yes; then
6569 echo "$ac_t""yes" 1>&6
6571 echo "$ac_t""no" 1>&6
6577 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6578 echo "configure:6579: checking for --enable-commondlg" >&5
6580 # Check whether --enable-commondlg or --disable-commondlg was given.
6581 if test "${enable_commondlg+set}" = set; then
6582 enableval
="$enable_commondlg"
6584 if test "$enableval" = yes; then
6585 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6587 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6592 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6593 if test "x$LINE" != x
; then
6594 eval "DEFAULT_$LINE"
6599 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6604 eval "$ac_cv_use_commondlg"
6605 if test "$no_cache" != 1; then
6606 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6609 if test "$wxUSE_COMMONDLGS" = yes; then
6610 echo "$ac_t""yes" 1>&6
6612 echo "$ac_t""no" 1>&6
6616 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6617 echo "configure:6618: checking for --enable-choicedlg" >&5
6619 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6620 if test "${enable_choicedlg+set}" = set; then
6621 enableval
="$enable_choicedlg"
6623 if test "$enableval" = yes; then
6624 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6626 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6631 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6632 if test "x$LINE" != x
; then
6633 eval "DEFAULT_$LINE"
6638 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6643 eval "$ac_cv_use_choicedlg"
6644 if test "$no_cache" != 1; then
6645 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6648 if test "$wxUSE_CHOICEDLG" = yes; then
6649 echo "$ac_t""yes" 1>&6
6651 echo "$ac_t""no" 1>&6
6655 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6656 echo "configure:6657: checking for --enable-coldlg" >&5
6658 # Check whether --enable-coldlg or --disable-coldlg was given.
6659 if test "${enable_coldlg+set}" = set; then
6660 enableval
="$enable_coldlg"
6662 if test "$enableval" = yes; then
6663 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6665 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6670 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6671 if test "x$LINE" != x
; then
6672 eval "DEFAULT_$LINE"
6677 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6682 eval "$ac_cv_use_coldlg"
6683 if test "$no_cache" != 1; then
6684 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6687 if test "$wxUSE_COLOURDLG" = yes; then
6688 echo "$ac_t""yes" 1>&6
6690 echo "$ac_t""no" 1>&6
6694 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6695 echo "configure:6696: checking for --enable-filedlg" >&5
6697 # Check whether --enable-filedlg or --disable-filedlg was given.
6698 if test "${enable_filedlg+set}" = set; then
6699 enableval
="$enable_filedlg"
6701 if test "$enableval" = yes; then
6702 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6704 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6709 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6710 if test "x$LINE" != x
; then
6711 eval "DEFAULT_$LINE"
6716 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6721 eval "$ac_cv_use_filedlg"
6722 if test "$no_cache" != 1; then
6723 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6726 if test "$wxUSE_FILEDLG" = yes; then
6727 echo "$ac_t""yes" 1>&6
6729 echo "$ac_t""no" 1>&6
6733 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6734 echo "configure:6735: checking for --enable-filedlg" >&5
6736 # Check whether --enable-filedlg or --disable-filedlg was given.
6737 if test "${enable_filedlg+set}" = set; then
6738 enableval
="$enable_filedlg"
6740 if test "$enableval" = yes; then
6741 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=yes'
6743 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=no'
6748 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6749 if test "x$LINE" != x
; then
6750 eval "DEFAULT_$LINE"
6755 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6760 eval "$ac_cv_use_filedlg"
6761 if test "$no_cache" != 1; then
6762 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6765 if test "$wxUSE_FINDREPLDLG" = yes; then
6766 echo "$ac_t""yes" 1>&6
6768 echo "$ac_t""no" 1>&6
6772 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6773 echo "configure:6774: checking for --enable-fontdlg" >&5
6775 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6776 if test "${enable_fontdlg+set}" = set; then
6777 enableval
="$enable_fontdlg"
6779 if test "$enableval" = yes; then
6780 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6782 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6787 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6788 if test "x$LINE" != x
; then
6789 eval "DEFAULT_$LINE"
6794 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6799 eval "$ac_cv_use_fontdlg"
6800 if test "$no_cache" != 1; then
6801 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6804 if test "$wxUSE_FONTDLG" = yes; then
6805 echo "$ac_t""yes" 1>&6
6807 echo "$ac_t""no" 1>&6
6811 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6812 echo "configure:6813: checking for --enable-dirdlg" >&5
6814 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6815 if test "${enable_dirdlg+set}" = set; then
6816 enableval
="$enable_dirdlg"
6818 if test "$enableval" = yes; then
6819 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6821 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6826 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6827 if test "x$LINE" != x
; then
6828 eval "DEFAULT_$LINE"
6833 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6838 eval "$ac_cv_use_dirdlg"
6839 if test "$no_cache" != 1; then
6840 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6843 if test "$wxUSE_DIRDLG" = yes; then
6844 echo "$ac_t""yes" 1>&6
6846 echo "$ac_t""no" 1>&6
6850 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6851 echo "configure:6852: checking for --enable-msgdlg" >&5
6853 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6854 if test "${enable_msgdlg+set}" = set; then
6855 enableval
="$enable_msgdlg"
6857 if test "$enableval" = yes; then
6858 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6860 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6865 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6866 if test "x$LINE" != x
; then
6867 eval "DEFAULT_$LINE"
6872 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6877 eval "$ac_cv_use_msgdlg"
6878 if test "$no_cache" != 1; then
6879 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6882 if test "$wxUSE_MSGDLG" = yes; then
6883 echo "$ac_t""yes" 1>&6
6885 echo "$ac_t""no" 1>&6
6889 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6890 echo "configure:6891: checking for --enable-numberdlg" >&5
6892 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6893 if test "${enable_numberdlg+set}" = set; then
6894 enableval
="$enable_numberdlg"
6896 if test "$enableval" = yes; then
6897 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6899 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6904 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6905 if test "x$LINE" != x
; then
6906 eval "DEFAULT_$LINE"
6911 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6916 eval "$ac_cv_use_numberdlg"
6917 if test "$no_cache" != 1; then
6918 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6921 if test "$wxUSE_NUMBERDLG" = yes; then
6922 echo "$ac_t""yes" 1>&6
6924 echo "$ac_t""no" 1>&6
6928 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
6929 echo "configure:6930: checking for --enable-splash" >&5
6931 # Check whether --enable-splash or --disable-splash was given.
6932 if test "${enable_splash+set}" = set; then
6933 enableval
="$enable_splash"
6935 if test "$enableval" = yes; then
6936 ac_cv_use_splash
='wxUSE_SPLASH=yes'
6938 ac_cv_use_splash
='wxUSE_SPLASH=no'
6943 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
6944 if test "x$LINE" != x
; then
6945 eval "DEFAULT_$LINE"
6950 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
6955 eval "$ac_cv_use_splash"
6956 if test "$no_cache" != 1; then
6957 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
6960 if test "$wxUSE_SPLASH" = yes; then
6961 echo "$ac_t""yes" 1>&6
6963 echo "$ac_t""no" 1>&6
6967 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6968 echo "configure:6969: checking for --enable-textdlg" >&5
6970 # Check whether --enable-textdlg or --disable-textdlg was given.
6971 if test "${enable_textdlg+set}" = set; then
6972 enableval
="$enable_textdlg"
6974 if test "$enableval" = yes; then
6975 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
6977 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
6982 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6983 if test "x$LINE" != x
; then
6984 eval "DEFAULT_$LINE"
6989 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6994 eval "$ac_cv_use_textdlg"
6995 if test "$no_cache" != 1; then
6996 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
6999 if test "$wxUSE_TEXTDLG" = yes; then
7000 echo "$ac_t""yes" 1>&6
7002 echo "$ac_t""no" 1>&6
7006 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7007 echo "configure:7008: checking for --enable-tipdlg" >&5
7009 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7010 if test "${enable_tipdlg+set}" = set; then
7011 enableval
="$enable_tipdlg"
7013 if test "$enableval" = yes; then
7014 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7016 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7021 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7022 if test "x$LINE" != x
; then
7023 eval "DEFAULT_$LINE"
7028 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7033 eval "$ac_cv_use_tipdlg"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7038 if test "$wxUSE_STARTUP_TIPS" = yes; then
7039 echo "$ac_t""yes" 1>&6
7041 echo "$ac_t""no" 1>&6
7045 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7046 echo "configure:7047: checking for --enable-progressdlg" >&5
7048 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7049 if test "${enable_progressdlg+set}" = set; then
7050 enableval
="$enable_progressdlg"
7052 if test "$enableval" = yes; then
7053 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7055 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7060 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7061 if test "x$LINE" != x
; then
7062 eval "DEFAULT_$LINE"
7067 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7072 eval "$ac_cv_use_progressdlg"
7073 if test "$no_cache" != 1; then
7074 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7077 if test "$wxUSE_PROGRESSDLG" = yes; then
7078 echo "$ac_t""yes" 1>&6
7080 echo "$ac_t""no" 1>&6
7084 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7085 echo "configure:7086: checking for --enable-wizarddlg" >&5
7087 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7088 if test "${enable_wizarddlg+set}" = set; then
7089 enableval
="$enable_wizarddlg"
7091 if test "$enableval" = yes; then
7092 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7094 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7099 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7100 if test "x$LINE" != x
; then
7101 eval "DEFAULT_$LINE"
7106 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7111 eval "$ac_cv_use_wizarddlg"
7112 if test "$no_cache" != 1; then
7113 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7116 if test "$wxUSE_WIZARDDLG" = yes; then
7117 echo "$ac_t""yes" 1>&6
7119 echo "$ac_t""no" 1>&6
7125 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7126 echo "configure:7127: checking for --enable-menus" >&5
7128 # Check whether --enable-menus or --disable-menus was given.
7129 if test "${enable_menus+set}" = set; then
7130 enableval
="$enable_menus"
7132 if test "$enableval" = yes; then
7133 ac_cv_use_menus
='wxUSE_MENUS=yes'
7135 ac_cv_use_menus
='wxUSE_MENUS=no'
7140 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7141 if test "x$LINE" != x
; then
7142 eval "DEFAULT_$LINE"
7147 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7152 eval "$ac_cv_use_menus"
7153 if test "$no_cache" != 1; then
7154 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7157 if test "$wxUSE_MENUS" = yes; then
7158 echo "$ac_t""yes" 1>&6
7160 echo "$ac_t""no" 1>&6
7164 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7165 echo "configure:7166: checking for --enable-miniframe" >&5
7167 # Check whether --enable-miniframe or --disable-miniframe was given.
7168 if test "${enable_miniframe+set}" = set; then
7169 enableval
="$enable_miniframe"
7171 if test "$enableval" = yes; then
7172 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7174 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7179 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7180 if test "x$LINE" != x
; then
7181 eval "DEFAULT_$LINE"
7186 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7191 eval "$ac_cv_use_miniframe"
7192 if test "$no_cache" != 1; then
7193 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7196 if test "$wxUSE_MINIFRAME" = yes; then
7197 echo "$ac_t""yes" 1>&6
7199 echo "$ac_t""no" 1>&6
7203 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7204 echo "configure:7205: checking for --enable-tooltips" >&5
7206 # Check whether --enable-tooltips or --disable-tooltips was given.
7207 if test "${enable_tooltips+set}" = set; then
7208 enableval
="$enable_tooltips"
7210 if test "$enableval" = yes; then
7211 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7213 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7218 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7219 if test "x$LINE" != x
; then
7220 eval "DEFAULT_$LINE"
7225 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7230 eval "$ac_cv_use_tooltips"
7231 if test "$no_cache" != 1; then
7232 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7235 if test "$wxUSE_TOOLTIPS" = yes; then
7236 echo "$ac_t""yes" 1>&6
7238 echo "$ac_t""no" 1>&6
7242 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7243 echo "configure:7244: checking for --enable-splines" >&5
7245 # Check whether --enable-splines or --disable-splines was given.
7246 if test "${enable_splines+set}" = set; then
7247 enableval
="$enable_splines"
7249 if test "$enableval" = yes; then
7250 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7252 ac_cv_use_splines
='wxUSE_SPLINES=no'
7257 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7258 if test "x$LINE" != x
; then
7259 eval "DEFAULT_$LINE"
7264 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7269 eval "$ac_cv_use_splines"
7270 if test "$no_cache" != 1; then
7271 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7274 if test "$wxUSE_SPLINES" = yes; then
7275 echo "$ac_t""yes" 1>&6
7277 echo "$ac_t""no" 1>&6
7281 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7282 echo "configure:7283: checking for --enable-validators" >&5
7284 # Check whether --enable-validators or --disable-validators was given.
7285 if test "${enable_validators+set}" = set; then
7286 enableval
="$enable_validators"
7288 if test "$enableval" = yes; then
7289 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7291 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7296 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7297 if test "x$LINE" != x
; then
7298 eval "DEFAULT_$LINE"
7303 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7308 eval "$ac_cv_use_validators"
7309 if test "$no_cache" != 1; then
7310 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7313 if test "$wxUSE_VALIDATORS" = yes; then
7314 echo "$ac_t""yes" 1>&6
7316 echo "$ac_t""no" 1>&6
7320 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7321 echo "configure:7322: checking for --enable-busyinfo" >&5
7323 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7324 if test "${enable_busyinfo+set}" = set; then
7325 enableval
="$enable_busyinfo"
7327 if test "$enableval" = yes; then
7328 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7330 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7335 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7336 if test "x$LINE" != x
; then
7337 eval "DEFAULT_$LINE"
7342 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7347 eval "$ac_cv_use_busyinfo"
7348 if test "$no_cache" != 1; then
7349 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7352 if test "$wxUSE_BUSYINFO" = yes; then
7353 echo "$ac_t""yes" 1>&6
7355 echo "$ac_t""no" 1>&6
7359 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7360 echo "configure:7361: checking for --enable-joystick" >&5
7362 # Check whether --enable-joystick or --disable-joystick was given.
7363 if test "${enable_joystick+set}" = set; then
7364 enableval
="$enable_joystick"
7366 if test "$enableval" = yes; then
7367 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7369 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7374 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7375 if test "x$LINE" != x
; then
7376 eval "DEFAULT_$LINE"
7381 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7386 eval "$ac_cv_use_joystick"
7387 if test "$no_cache" != 1; then
7388 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7391 if test "$wxUSE_JOYSTICK" = yes; then
7392 echo "$ac_t""yes" 1>&6
7394 echo "$ac_t""no" 1>&6
7398 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7399 echo "configure:7400: checking for --enable-metafile" >&5
7401 # Check whether --enable-metafile or --disable-metafile was given.
7402 if test "${enable_metafile+set}" = set; then
7403 enableval
="$enable_metafile"
7405 if test "$enableval" = yes; then
7406 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7408 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7413 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7414 if test "x$LINE" != x
; then
7415 eval "DEFAULT_$LINE"
7420 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7425 eval "$ac_cv_use_metafile"
7426 if test "$no_cache" != 1; then
7427 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7430 if test "$wxUSE_METAFILE" = yes; then
7431 echo "$ac_t""yes" 1>&6
7433 echo "$ac_t""no" 1>&6
7437 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7438 echo "configure:7439: checking for --enable-dragimage" >&5
7440 # Check whether --enable-dragimage or --disable-dragimage was given.
7441 if test "${enable_dragimage+set}" = set; then
7442 enableval
="$enable_dragimage"
7444 if test "$enableval" = yes; then
7445 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7447 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7452 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7453 if test "x$LINE" != x
; then
7454 eval "DEFAULT_$LINE"
7459 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7464 eval "$ac_cv_use_dragimage"
7465 if test "$no_cache" != 1; then
7466 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7469 if test "$wxUSE_DRAGIMAGE" = yes; then
7470 echo "$ac_t""yes" 1>&6
7472 echo "$ac_t""no" 1>&6
7478 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
7479 echo "configure:7480: checking for --enable-palette" >&5
7481 # Check whether --enable-palette or --disable-palette was given.
7482 if test "${enable_palette+set}" = set; then
7483 enableval
="$enable_palette"
7485 if test "$enableval" = yes; then
7486 ac_cv_use_palette
='wxUSE_PALETTE=yes'
7488 ac_cv_use_palette
='wxUSE_PALETTE=no'
7493 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
7494 if test "x$LINE" != x
; then
7495 eval "DEFAULT_$LINE"
7500 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
7505 eval "$ac_cv_use_palette"
7506 if test "$no_cache" != 1; then
7507 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
7510 if test "$wxUSE_PALETTE" = yes; then
7511 echo "$ac_t""yes" 1>&6
7513 echo "$ac_t""no" 1>&6
7517 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7518 echo "configure:7519: checking for --enable-image" >&5
7520 # Check whether --enable-image or --disable-image was given.
7521 if test "${enable_image+set}" = set; then
7522 enableval
="$enable_image"
7524 if test "$enableval" = yes; then
7525 ac_cv_use_image
='wxUSE_IMAGE=yes'
7527 ac_cv_use_image
='wxUSE_IMAGE=no'
7532 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7533 if test "x$LINE" != x
; then
7534 eval "DEFAULT_$LINE"
7539 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7544 eval "$ac_cv_use_image"
7545 if test "$no_cache" != 1; then
7546 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7549 if test "$wxUSE_IMAGE" = yes; then
7550 echo "$ac_t""yes" 1>&6
7552 echo "$ac_t""no" 1>&6
7556 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7557 echo "configure:7558: checking for --enable-gif" >&5
7559 # Check whether --enable-gif or --disable-gif was given.
7560 if test "${enable_gif+set}" = set; then
7561 enableval
="$enable_gif"
7563 if test "$enableval" = yes; then
7564 ac_cv_use_gif
='wxUSE_GIF=yes'
7566 ac_cv_use_gif
='wxUSE_GIF=no'
7571 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7572 if test "x$LINE" != x
; then
7573 eval "DEFAULT_$LINE"
7578 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7583 eval "$ac_cv_use_gif"
7584 if test "$no_cache" != 1; then
7585 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7588 if test "$wxUSE_GIF" = yes; then
7589 echo "$ac_t""yes" 1>&6
7591 echo "$ac_t""no" 1>&6
7595 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7596 echo "configure:7597: checking for --enable-pcx" >&5
7598 # Check whether --enable-pcx or --disable-pcx was given.
7599 if test "${enable_pcx+set}" = set; then
7600 enableval
="$enable_pcx"
7602 if test "$enableval" = yes; then
7603 ac_cv_use_pcx
='wxUSE_PCX=yes'
7605 ac_cv_use_pcx
='wxUSE_PCX=no'
7610 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7611 if test "x$LINE" != x
; then
7612 eval "DEFAULT_$LINE"
7617 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7622 eval "$ac_cv_use_pcx"
7623 if test "$no_cache" != 1; then
7624 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7627 if test "$wxUSE_PCX" = yes; then
7628 echo "$ac_t""yes" 1>&6
7630 echo "$ac_t""no" 1>&6
7634 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7635 echo "configure:7636: checking for --enable-pnm" >&5
7637 # Check whether --enable-pnm or --disable-pnm was given.
7638 if test "${enable_pnm+set}" = set; then
7639 enableval
="$enable_pnm"
7641 if test "$enableval" = yes; then
7642 ac_cv_use_pnm
='wxUSE_PNM=yes'
7644 ac_cv_use_pnm
='wxUSE_PNM=no'
7649 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7650 if test "x$LINE" != x
; then
7651 eval "DEFAULT_$LINE"
7656 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7661 eval "$ac_cv_use_pnm"
7662 if test "$no_cache" != 1; then
7663 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7666 if test "$wxUSE_PNM" = yes; then
7667 echo "$ac_t""yes" 1>&6
7669 echo "$ac_t""no" 1>&6
7673 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7674 echo "configure:7675: checking for --enable-pnm" >&5
7676 # Check whether --enable-pnm or --disable-pnm was given.
7677 if test "${enable_pnm+set}" = set; then
7678 enableval
="$enable_pnm"
7680 if test "$enableval" = yes; then
7681 ac_cv_use_pnm
='wxUSE_XPM=yes'
7683 ac_cv_use_pnm
='wxUSE_XPM=no'
7688 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7689 if test "x$LINE" != x
; then
7690 eval "DEFAULT_$LINE"
7695 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7700 eval "$ac_cv_use_pnm"
7701 if test "$no_cache" != 1; then
7702 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7705 if test "$wxUSE_XPM" = yes; then
7706 echo "$ac_t""yes" 1>&6
7708 echo "$ac_t""no" 1>&6
7715 echo "saving argument cache $wx_arg_cache_file"
7716 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7720 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7721 echo "configure:7722: checking for toolkit" >&5
7723 if test "$wxUSE_GUI" = "yes"; then
7725 if test "$USE_BEOS" = 1; then
7726 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7729 if test "$TOOLKIT_GIVEN" = 1; then
7730 for toolkit
in `echo $ALL_TOOLKITS`; do
7732 eval "value=\$${var}"
7733 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7736 for toolkit
in `echo $ALL_TOOLKITS`; do
7737 if test "$has_toolkit_in_cache" != 1; then
7738 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7740 var
=DEFAULT_wxUSE_
$toolkit
7742 eval "wxUSE_$toolkit=\$${var}"
7746 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
7747 + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} \
7752 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7753 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7762 case "$NUM_TOOLKITS" in
7766 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7769 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7772 for toolkit
in `echo $ALL_TOOLKITS`; do
7774 eval "value=\$${var}"
7775 if test "x$value" != x
; then
7776 cache_var
=CACHE_
$toolkit
7777 eval "cache=\$${cache_var}"
7778 if test "$cache" = 1; then
7779 echo "$var=$value" >> ${wx_arg_cache_file}
7781 if test "$value" = 1; then
7782 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7783 echo "$ac_t""$toolkit_echo" 1>&6
7789 echo "$ac_t""base ($host_alias hosted) only" 1>&6
7793 cat > confcache
<<\EOF
7794 # This file is a shell script that caches the results of configure
7795 # tests run on this system so they can be shared between configure
7796 # scripts and configure runs. It is not useful on other systems.
7797 # If it contains results you don't want to keep, you may remove or edit it.
7799 # By default, configure uses ./config.cache as the cache file,
7800 # creating it if it does not exist already. You can give configure
7801 # the --cache-file=FILE option to use a different cache file; that is
7802 # what configure does when it calls configure scripts in
7803 # subdirectories, so they share the cache.
7804 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7805 # config.status only pays attention to the cache file if you give it the
7806 # --recheck option to rerun configure.
7809 # The following way of writing the cache mishandles newlines in values,
7810 # but we know of no workaround that is simple, portable, and efficient.
7811 # So, don't put newlines in cache variables' values.
7812 # Ultrix sh set writes to stderr and can't be redirected directly,
7813 # and sets the high bit in the cache file unless we assign to the vars.
7815 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7817 # `set' does not quote correctly, so add quotes (double-quote substitution
7818 # turns \\\\ into \\, and sed turns \\ into \).
7820 -e "s/'/'\\\\''/g" \
7821 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7824 # `set' quotes correctly as required by POSIX, so do not add quotes.
7825 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7828 if cmp -s $cache_file confcache
; then
7831 if test -w $cache_file; then
7832 echo "updating cache $cache_file"
7833 cat confcache
> $cache_file
7835 echo "not updating unwritable cache $cache_file"
7841 if test "$build" != "$host" ; then
7842 if test "$USE_WIN32" = 1 ; then
7846 RANLIB
=$host_alias-ranlib
7847 DLLTOOL
=$host_alias-dlltool
7848 RESCOMP
=$host_alias-windres
7851 STRIP
=$host_alias-strip
7853 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
7857 # Extract the first word of "gcc", so it can be a program name with args.
7858 set dummy gcc
; ac_word
=$2
7859 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7860 echo "configure:7861: checking for $ac_word" >&5
7861 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7862 echo $ac_n "(cached) $ac_c" 1>&6
7864 if test -n "$CC"; then
7865 ac_cv_prog_CC
="$CC" # Let the user override the test.
7867 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7869 for ac_dir
in $ac_dummy; do
7870 test -z "$ac_dir" && ac_dir
=.
7871 if test -f $ac_dir/$ac_word; then
7880 if test -n "$CC"; then
7881 echo "$ac_t""$CC" 1>&6
7883 echo "$ac_t""no" 1>&6
7886 if test -z "$CC"; then
7887 # Extract the first word of "cc", so it can be a program name with args.
7888 set dummy cc
; ac_word
=$2
7889 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7890 echo "configure:7891: checking for $ac_word" >&5
7891 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7892 echo $ac_n "(cached) $ac_c" 1>&6
7894 if test -n "$CC"; then
7895 ac_cv_prog_CC
="$CC" # Let the user override the test.
7897 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7900 for ac_dir
in $ac_dummy; do
7901 test -z "$ac_dir" && ac_dir
=.
7902 if test -f $ac_dir/$ac_word; then
7903 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7904 ac_prog_rejected
=yes
7912 if test $ac_prog_rejected = yes; then
7913 # We found a bogon in the path, so make sure we never use it.
7914 set dummy
$ac_cv_prog_CC
7916 if test $# -gt 0; then
7917 # We chose a different compiler from the bogus one.
7918 # However, it has the same basename, so the bogon will be chosen
7919 # first if we set CC to just the basename; use the full file name.
7921 set dummy
"$ac_dir/$ac_word" "$@"
7929 if test -n "$CC"; then
7930 echo "$ac_t""$CC" 1>&6
7932 echo "$ac_t""no" 1>&6
7935 if test -z "$CC"; then
7936 case "`uname -s`" in
7938 # Extract the first word of "cl", so it can be a program name with args.
7939 set dummy cl
; ac_word
=$2
7940 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7941 echo "configure:7942: checking for $ac_word" >&5
7942 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7943 echo $ac_n "(cached) $ac_c" 1>&6
7945 if test -n "$CC"; then
7946 ac_cv_prog_CC
="$CC" # Let the user override the test.
7948 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7950 for ac_dir
in $ac_dummy; do
7951 test -z "$ac_dir" && ac_dir
=.
7952 if test -f $ac_dir/$ac_word; then
7961 if test -n "$CC"; then
7962 echo "$ac_t""$CC" 1>&6
7964 echo "$ac_t""no" 1>&6
7969 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7972 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7973 echo "configure:7974: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7976 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7977 ac_cpp
='$CPP $CPPFLAGS'
7978 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7979 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7980 cross_compiling
=$ac_cv_prog_cc_cross
7982 cat > conftest.
$ac_ext << EOF
7984 #line 7985 "configure"
7985 #include "confdefs.h"
7989 if { (eval echo configure
:7990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7990 ac_cv_prog_cc_works
=yes
7991 # If we can't run a trivial program, we are probably using a cross compiler.
7992 if (.
/conftest
; exit) 2>/dev
/null
; then
7993 ac_cv_prog_cc_cross
=no
7995 ac_cv_prog_cc_cross
=yes
7998 echo "configure: failed program was:" >&5
7999 cat conftest.
$ac_ext >&5
8000 ac_cv_prog_cc_works
=no
8004 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8005 ac_cpp
='$CPP $CPPFLAGS'
8006 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8007 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8008 cross_compiling
=$ac_cv_prog_cc_cross
8010 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8011 if test $ac_cv_prog_cc_works = no
; then
8012 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8014 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8015 echo "configure:8016: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8016 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8017 cross_compiling
=$ac_cv_prog_cc_cross
8019 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8020 echo "configure:8021: checking whether we are using GNU C" >&5
8021 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8022 echo $ac_n "(cached) $ac_c" 1>&6
8024 cat > conftest.c
<<EOF
8029 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8036 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8038 if test $ac_cv_prog_gcc = yes; then
8044 ac_test_CFLAGS
="${CFLAGS+set}"
8045 ac_save_CFLAGS
="$CFLAGS"
8047 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8048 echo "configure:8049: checking whether ${CC-cc} accepts -g" >&5
8049 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8050 echo $ac_n "(cached) $ac_c" 1>&6
8052 echo 'void f(){}' > conftest.c
8053 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8062 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8063 if test "$ac_test_CFLAGS" = set; then
8064 CFLAGS
="$ac_save_CFLAGS"
8065 elif test $ac_cv_prog_cc_g = yes; then
8066 if test "$GCC" = yes; then
8072 if test "$GCC" = yes; then
8080 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8082 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8083 echo "configure:8084: checking how to run the C preprocessor" >&5
8084 # On Suns, sometimes $CPP names a directory.
8085 if test -n "$CPP" && test -d "$CPP"; then
8088 if test -z "$CPP"; then
8089 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8090 echo $ac_n "(cached) $ac_c" 1>&6
8092 # This must be in double quotes, not single quotes, because CPP may get
8093 # substituted into the Makefile and "${CC-cc}" will confuse make.
8095 # On the NeXT, cc -E runs the code through the compiler's parser,
8096 # not just through cpp.
8097 cat > conftest.
$ac_ext <<EOF
8098 #line 8099 "configure"
8099 #include "confdefs.h"
8103 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8104 { (eval echo configure
:8105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8105 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8106 if test -z "$ac_err"; then
8110 echo "configure: failed program was:" >&5
8111 cat conftest.
$ac_ext >&5
8113 CPP
="${CC-cc} -E -traditional-cpp"
8114 cat > conftest.
$ac_ext <<EOF
8115 #line 8116 "configure"
8116 #include "confdefs.h"
8120 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8121 { (eval echo configure
:8122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8122 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8123 if test -z "$ac_err"; then
8127 echo "configure: failed program was:" >&5
8128 cat conftest.
$ac_ext >&5
8130 CPP
="${CC-cc} -nologo -E"
8131 cat > conftest.
$ac_ext <<EOF
8132 #line 8133 "configure"
8133 #include "confdefs.h"
8137 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8138 { (eval echo configure
:8139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8139 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8140 if test -z "$ac_err"; then
8144 echo "configure: failed program was:" >&5
8145 cat conftest.
$ac_ext >&5
8154 ac_cv_prog_CPP
="$CPP"
8156 CPP
="$ac_cv_prog_CPP"
8158 ac_cv_prog_CPP
="$CPP"
8160 echo "$ac_t""$CPP" 1>&6
8162 if test $ac_cv_prog_gcc = yes; then
8163 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8164 echo "configure:8165: checking whether ${CC-cc} needs -traditional" >&5
8165 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8166 echo $ac_n "(cached) $ac_c" 1>&6
8168 ac_pattern
="Autoconf.*'x'"
8169 cat > conftest.
$ac_ext <<EOF
8170 #line 8171 "configure"
8171 #include "confdefs.h"
8175 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8176 egrep "$ac_pattern" >/dev
/null
2>&1; then
8178 ac_cv_prog_gcc_traditional
=yes
8181 ac_cv_prog_gcc_traditional
=no
8186 if test $ac_cv_prog_gcc_traditional = no
; then
8187 cat > conftest.
$ac_ext <<EOF
8188 #line 8189 "configure"
8189 #include "confdefs.h"
8193 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8194 egrep "$ac_pattern" >/dev
/null
2>&1; then
8196 ac_cv_prog_gcc_traditional
=yes
8203 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8204 if test $ac_cv_prog_gcc_traditional = yes; then
8205 CC
="$CC -traditional"
8212 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8213 ac_cpp
='$CXXCPP $CPPFLAGS'
8214 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8215 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8216 cross_compiling
=$ac_cv_prog_cxx_cross
8219 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8221 # Extract the first word of "$ac_prog", so it can be a program name with args.
8222 set dummy
$ac_prog; ac_word
=$2
8223 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8224 echo "configure:8225: checking for $ac_word" >&5
8225 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8226 echo $ac_n "(cached) $ac_c" 1>&6
8228 if test -n "$CXX"; then
8229 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8231 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8233 for ac_dir
in $ac_dummy; do
8234 test -z "$ac_dir" && ac_dir
=.
8235 if test -f $ac_dir/$ac_word; then
8236 ac_cv_prog_CXX
="$ac_prog"
8243 CXX
="$ac_cv_prog_CXX"
8244 if test -n "$CXX"; then
8245 echo "$ac_t""$CXX" 1>&6
8247 echo "$ac_t""no" 1>&6
8250 test -n "$CXX" && break
8252 test -n "$CXX" || CXX
="gcc"
8255 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8256 echo "configure:8257: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8259 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8260 ac_cpp
='$CXXCPP $CPPFLAGS'
8261 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8262 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8263 cross_compiling
=$ac_cv_prog_cxx_cross
8265 cat > conftest.
$ac_ext << EOF
8267 #line 8268 "configure"
8268 #include "confdefs.h"
8270 int main(){return(0);}
8272 if { (eval echo configure
:8273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8273 ac_cv_prog_cxx_works
=yes
8274 # If we can't run a trivial program, we are probably using a cross compiler.
8275 if (.
/conftest
; exit) 2>/dev
/null
; then
8276 ac_cv_prog_cxx_cross
=no
8278 ac_cv_prog_cxx_cross
=yes
8281 echo "configure: failed program was:" >&5
8282 cat conftest.
$ac_ext >&5
8283 ac_cv_prog_cxx_works
=no
8287 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8288 ac_cpp
='$CXXCPP $CPPFLAGS'
8289 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8290 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8291 cross_compiling
=$ac_cv_prog_cxx_cross
8293 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8294 if test $ac_cv_prog_cxx_works = no
; then
8295 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8297 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8298 echo "configure:8299: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8299 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8300 cross_compiling
=$ac_cv_prog_cxx_cross
8302 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8303 echo "configure:8304: checking whether we are using GNU C++" >&5
8304 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8305 echo $ac_n "(cached) $ac_c" 1>&6
8307 cat > conftest.C
<<EOF
8312 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8319 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8321 if test $ac_cv_prog_gxx = yes; then
8327 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8328 ac_save_CXXFLAGS
="$CXXFLAGS"
8330 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8331 echo "configure:8332: checking whether ${CXX-g++} accepts -g" >&5
8332 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8333 echo $ac_n "(cached) $ac_c" 1>&6
8335 echo 'void f(){}' > conftest.cc
8336 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8337 ac_cv_prog_cxx_g
=yes
8345 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8346 if test "$ac_test_CXXFLAGS" = set; then
8347 CXXFLAGS
="$ac_save_CXXFLAGS"
8348 elif test $ac_cv_prog_cxx_g = yes; then
8349 if test "$GXX" = yes; then
8355 if test "$GXX" = yes; then
8363 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8366 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8367 ac_cpp
='$CPP $CPPFLAGS'
8368 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8369 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8370 cross_compiling
=$ac_cv_prog_cc_cross
8373 # Extract the first word of "ranlib", so it can be a program name with args.
8374 set dummy ranlib
; ac_word
=$2
8375 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8376 echo "configure:8377: checking for $ac_word" >&5
8377 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8378 echo $ac_n "(cached) $ac_c" 1>&6
8380 if test -n "$RANLIB"; then
8381 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8383 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8385 for ac_dir
in $ac_dummy; do
8386 test -z "$ac_dir" && ac_dir
=.
8387 if test -f $ac_dir/$ac_word; then
8388 ac_cv_prog_RANLIB
="ranlib"
8393 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8396 RANLIB
="$ac_cv_prog_RANLIB"
8397 if test -n "$RANLIB"; then
8398 echo "$ac_t""$RANLIB" 1>&6
8400 echo "$ac_t""no" 1>&6
8404 # Extract the first word of "ar", so it can be a program name with args.
8405 set dummy
ar; ac_word
=$2
8406 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8407 echo "configure:8408: checking for $ac_word" >&5
8408 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8409 echo $ac_n "(cached) $ac_c" 1>&6
8411 if test -n "$AR"; then
8412 ac_cv_prog_AR
="$AR" # Let the user override the test.
8414 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8416 for ac_dir
in $ac_dummy; do
8417 test -z "$ac_dir" && ac_dir
=.
8418 if test -f $ac_dir/$ac_word; then
8424 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8428 if test -n "$AR"; then
8429 echo "$ac_t""$AR" 1>&6
8431 echo "$ac_t""no" 1>&6
8435 # Find a good install program. We prefer a C program (faster),
8436 # so one script is as good as another. But avoid the broken or
8437 # incompatible versions:
8438 # SysV /etc/install, /usr/sbin/install
8439 # SunOS /usr/etc/install
8440 # IRIX /sbin/install
8442 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8443 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8444 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8445 # ./install, which can be erroneously created by make from ./install.sh.
8446 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8447 echo "configure:8448: checking for a BSD compatible install" >&5
8448 if test -z "$INSTALL"; then
8449 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8450 echo $ac_n "(cached) $ac_c" 1>&6
8452 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8453 for ac_dir
in $PATH; do
8454 # Account for people who put trailing slashes in PATH elements.
8456 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8458 # OSF1 and SCO ODT 3.0 have their own names for install.
8459 # Don't use installbsd from OSF since it installs stuff as root
8461 for ac_prog
in ginstall scoinst
install; do
8462 if test -f $ac_dir/$ac_prog; then
8463 if test $ac_prog = install &&
8464 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8465 # AIX install. It has an incompatible calling convention.
8468 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8479 if test "${ac_cv_path_install+set}" = set; then
8480 INSTALL
="$ac_cv_path_install"
8482 # As a last resort, use the slow shell script. We don't cache a
8483 # path for INSTALL within a source directory, because that will
8484 # break other packages using the cache if that directory is
8485 # removed, or if the path is relative.
8486 INSTALL
="$ac_install_sh"
8489 echo "$ac_t""$INSTALL" 1>&6
8491 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8492 # It thinks the first close brace ends the variable substitution.
8493 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8495 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8497 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8500 # Extract the first word of "strip", so it can be a program name with args.
8501 set dummy strip
; ac_word
=$2
8502 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8503 echo "configure:8504: checking for $ac_word" >&5
8504 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8505 echo $ac_n "(cached) $ac_c" 1>&6
8507 if test -n "$STRIP"; then
8508 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8510 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8512 for ac_dir
in $ac_dummy; do
8513 test -z "$ac_dir" && ac_dir
=.
8514 if test -f $ac_dir/$ac_word; then
8515 ac_cv_prog_STRIP
="strip"
8520 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8523 STRIP
="$ac_cv_prog_STRIP"
8524 if test -n "$STRIP"; then
8525 echo "$ac_t""$STRIP" 1>&6
8527 echo "$ac_t""no" 1>&6
8531 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8532 echo "configure:8533: checking make for VPATH support" >&5
8533 cat - << EOF > confMake
8539 if test ! -d sub
; then
8542 echo dummy
> sub
/file
8543 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8545 rm -f sub
/file check final_file confMake
8547 if test "$RESULT" = 0; then
8548 echo "$ac_t""yes" 1>&6
8550 echo "$ac_t""no" 1>&6
8551 { echo "configure: error:
8552 You need a make-utility that is able to use the variable
8554 If your version of make does not support VPATH correctly,
8555 please install GNU-make (possibly as gmake), and start
8556 configure with the following command:
8557 export MAKE=gmake; ./configure for sh-type shells
8558 setenv MAKE gmake; ./configure for csh-type shells
8559 Also please do remember to use gmake in this case every time
8560 you are trying to compile.
8564 for ac_prog
in 'bison -y' byacc
8566 # Extract the first word of "$ac_prog", so it can be a program name with args.
8567 set dummy
$ac_prog; ac_word
=$2
8568 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8569 echo "configure:8570: checking for $ac_word" >&5
8570 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8571 echo $ac_n "(cached) $ac_c" 1>&6
8573 if test -n "$YACC"; then
8574 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8576 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8578 for ac_dir
in $ac_dummy; do
8579 test -z "$ac_dir" && ac_dir
=.
8580 if test -f $ac_dir/$ac_word; then
8581 ac_cv_prog_YACC
="$ac_prog"
8588 YACC
="$ac_cv_prog_YACC"
8589 if test -n "$YACC"; then
8590 echo "$ac_t""$YACC" 1>&6
8592 echo "$ac_t""no" 1>&6
8595 test -n "$YACC" && break
8597 test -n "$YACC" || YACC
="yacc"
8600 # Extract the first word of "flex", so it can be a program name with args.
8601 set dummy flex
; ac_word
=$2
8602 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8603 echo "configure:8604: checking for $ac_word" >&5
8604 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8605 echo $ac_n "(cached) $ac_c" 1>&6
8607 if test -n "$LEX"; then
8608 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8610 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8612 for ac_dir
in $ac_dummy; do
8613 test -z "$ac_dir" && ac_dir
=.
8614 if test -f $ac_dir/$ac_word; then
8615 ac_cv_prog_LEX
="flex"
8620 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8623 LEX
="$ac_cv_prog_LEX"
8624 if test -n "$LEX"; then
8625 echo "$ac_t""$LEX" 1>&6
8627 echo "$ac_t""no" 1>&6
8630 if test -z "$LEXLIB"
8636 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8637 echo "configure:8638: checking for yywrap in -l$ac_lib" >&5
8638 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8639 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8640 echo $ac_n "(cached) $ac_c" 1>&6
8642 ac_save_LIBS
="$LIBS"
8643 LIBS
="-l$ac_lib $LIBS"
8644 cat > conftest.
$ac_ext <<EOF
8645 #line 8646 "configure"
8646 #include "confdefs.h"
8647 /* Override any gcc2 internal prototype to avoid an error. */
8648 /* We use char because int might match the return type of a gcc2
8649 builtin and then its argument prototype would still apply. */
8656 if { (eval echo configure
:8657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8658 eval "ac_cv_lib_$ac_lib_var=yes"
8660 echo "configure: failed program was:" >&5
8661 cat conftest.
$ac_ext >&5
8663 eval "ac_cv_lib_$ac_lib_var=no"
8666 LIBS
="$ac_save_LIBS"
8669 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8670 echo "$ac_t""yes" 1>&6
8673 echo "$ac_t""no" 1>&6
8679 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8680 echo "configure:8681: checking whether ln -s works" >&5
8681 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8682 echo $ac_n "(cached) $ac_c" 1>&6
8685 if ln -s X conftestdata
2>/dev
/null
8688 ac_cv_prog_LN_S
="ln -s"
8693 LN_S
="$ac_cv_prog_LN_S"
8694 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8695 echo "$ac_t""yes" 1>&6
8697 echo "$ac_t""no" 1>&6
8703 /usr/local/include \
8705 /usr/Motif-1.2/include \
8706 /usr/Motif-2.1/include \
8708 /usr/include/Motif1.2 \
8709 /opt/xpm/include/X11 \
8710 /opt/GBxpm/include/ \
8711 /opt/GBxpm/X11/include/ \
8713 /usr/Motif1.2/include \
8715 /usr/openwin/include \
8719 /usr/X11R6/include \
8720 /usr/X11R6.4/include \
8721 /usr/X11R5/include \
8722 /usr/X11R4/include \
8724 /usr/include/X11R6 \
8725 /usr/include/X11R5 \
8726 /usr/include/X11R4 \
8728 /usr/local/X11R6/include \
8729 /usr/local/X11R5/include \
8730 /usr/local/X11R4/include \
8732 /usr/local/include/X11R6 \
8733 /usr/local/include/X11R5 \
8734 /usr/local/include/X11R4 \
8738 /usr/local/X11/include \
8739 /usr/local/include/X11 \
8743 /usr/XFree86/include/X11 \
8745 X:/XFree86/include \
8746 X:/XFree86/include/X11 \
8749 /usr/local/include/gtk \
8751 /usr/local/include/glib \
8754 /usr/local/include/qt \
8756 /usr/include/windows \
8758 /usr/local/include/wine \
8760 /usr/unsupported/include \
8761 /usr/athena/include \
8762 /usr/local/x11r5/include \
8763 /usr/lpp/Xamples/include \
8765 /usr/openwin/share/include \
8769 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8772 cat > confcache
<<\EOF
8773 # This file is a shell script that caches the results of configure
8774 # tests run on this system so they can be shared between configure
8775 # scripts and configure runs. It is not useful on other systems.
8776 # If it contains results you don't want to keep, you may remove or edit it.
8778 # By default, configure uses ./config.cache as the cache file,
8779 # creating it if it does not exist already. You can give configure
8780 # the --cache-file=FILE option to use a different cache file; that is
8781 # what configure does when it calls configure scripts in
8782 # subdirectories, so they share the cache.
8783 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8784 # config.status only pays attention to the cache file if you give it the
8785 # --recheck option to rerun configure.
8788 # The following way of writing the cache mishandles newlines in values,
8789 # but we know of no workaround that is simple, portable, and efficient.
8790 # So, don't put newlines in cache variables' values.
8791 # Ultrix sh set writes to stderr and can't be redirected directly,
8792 # and sets the high bit in the cache file unless we assign to the vars.
8794 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8796 # `set' does not quote correctly, so add quotes (double-quote substitution
8797 # turns \\\\ into \\, and sed turns \\ into \).
8799 -e "s/'/'\\\\''/g" \
8800 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8803 # `set' quotes correctly as required by POSIX, so do not add quotes.
8804 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8807 if cmp -s $cache_file confcache
; then
8810 if test -w $cache_file; then
8811 echo "updating cache $cache_file"
8812 cat confcache
> $cache_file
8814 echo "not updating unwritable cache $cache_file"
8822 if test "$wxUSE_REGEX" != "no"; then
8823 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
8824 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
8825 echo "configure:8826: checking for regex.h" >&5
8826 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8827 echo $ac_n "(cached) $ac_c" 1>&6
8829 cat > conftest.
$ac_ext <<EOF
8830 #line 8831 "configure"
8831 #include "confdefs.h"
8834 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8835 { (eval echo configure
:8836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8836 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8837 if test -z "$ac_err"; then
8839 eval "ac_cv_header_$ac_safe=yes"
8842 echo "configure: failed program was:" >&5
8843 cat conftest.
$ac_ext >&5
8845 eval "ac_cv_header_$ac_safe=no"
8849 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8850 echo "$ac_t""yes" 1>&6
8851 for ac_func
in regcomp
8853 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8854 echo "configure:8855: checking for $ac_func" >&5
8855 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8856 echo $ac_n "(cached) $ac_c" 1>&6
8858 cat > conftest.
$ac_ext <<EOF
8859 #line 8860 "configure"
8860 #include "confdefs.h"
8861 /* System header to define __stub macros and hopefully few prototypes,
8862 which can conflict with char $ac_func(); below. */
8864 /* Override any gcc2 internal prototype to avoid an error. */
8865 /* We use char because int might match the return type of a gcc2
8866 builtin and then its argument prototype would still apply. */
8871 /* The GNU C library defines this for functions which it implements
8872 to always fail with ENOSYS. Some functions are actually named
8873 something starting with __ and the normal name is an alias. */
8874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8882 if { (eval echo configure
:8883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8884 eval "ac_cv_func_$ac_func=yes"
8886 echo "configure: failed program was:" >&5
8887 cat conftest.
$ac_ext >&5
8889 eval "ac_cv_func_$ac_func=no"
8894 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8895 echo "$ac_t""yes" 1>&6
8896 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8897 cat >> confdefs.h
<<EOF
8898 #define $ac_tr_func 1
8902 echo "$ac_t""no" 1>&6
8907 echo "$ac_t""no" 1>&6
8911 if test "x$ac_cv_func_regcomp" != "xyes"; then
8912 if test "$wxUSE_REGEX" = "sys"; then
8913 { echo "configure: error: system regex library not found! Use --with-regex to use the built-in regex library." 1>&2; exit 1; }
8916 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
8919 cat >> confdefs.h
<<\EOF
8920 #define wxUSE_REGEX 1
8932 if test "$USE_WIN32" = 1 ; then
8933 for ac_hdr
in w32api.h
8935 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8936 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8937 echo "configure:8938: checking for $ac_hdr" >&5
8938 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8939 echo $ac_n "(cached) $ac_c" 1>&6
8941 cat > conftest.
$ac_ext <<EOF
8942 #line 8943 "configure"
8943 #include "confdefs.h"
8946 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8947 { (eval echo configure
:8948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8948 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8949 if test -z "$ac_err"; then
8951 eval "ac_cv_header_$ac_safe=yes"
8954 echo "configure: failed program was:" >&5
8955 cat conftest.
$ac_ext >&5
8957 eval "ac_cv_header_$ac_safe=no"
8961 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8962 echo "$ac_t""yes" 1>&6
8963 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8964 cat >> confdefs.h
<<EOF
8965 #define $ac_tr_hdr 1
8969 echo "$ac_t""no" 1>&6
8973 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
8974 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
8975 echo "configure:8976: checking for windows.h" >&5
8976 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8977 echo $ac_n "(cached) $ac_c" 1>&6
8979 cat > conftest.
$ac_ext <<EOF
8980 #line 8981 "configure"
8981 #include "confdefs.h"
8982 #include <windows.h>
8984 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8985 { (eval echo configure
:8986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8986 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8987 if test -z "$ac_err"; then
8989 eval "ac_cv_header_$ac_safe=yes"
8992 echo "configure: failed program was:" >&5
8993 cat conftest.
$ac_ext >&5
8995 eval "ac_cv_header_$ac_safe=no"
8999 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9000 echo "$ac_t""yes" 1>&6
9003 echo "$ac_t""no" 1>&6
9005 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9010 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
9011 echo "configure:9012: checking if w32api has good enough MSIE support" >&5
9012 if eval "test \"`echo '$''{'wx_cv_w32api_win_ie'+set}'`\" = set"; then
9013 echo $ac_n "(cached) $ac_c" 1>&6
9016 cat > conftest.
$ac_ext <<EOF
9017 #line 9018 "configure"
9018 #include "confdefs.h"
9022 #define wxCHECK_W32API_VERSION( major, minor ) \
9023 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
9024 && ( ( __W32API_MAJOR_VERSION > (major) ) \
9025 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
9027 #if !wxCHECK_W32API_VERSION(1,1)
9028 #error You need w32api 1.1 or newer
9033 if { (eval echo configure
:9034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9036 wx_cv_w32api_win_ie
=yes
9037 CPPFLAGS
="$CPPFLAGS -D_WIN_IE=0x400"
9040 echo "configure: failed program was:" >&5
9041 cat conftest.
$ac_ext >&5
9044 wx_cv_w32api_win_ie
=no
9051 echo "$ac_t""$wx_cv_w32api_win_ie" 1>&6
9053 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9055 if test "$wxUSE_ODBC" = "yes" ; then
9056 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
9059 if test "$wxUSE_MINGW" = 1; then
9060 LDFLAGS
="$LDFLAGS -mwindows"
9063 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
9064 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
9067 if test "$wxUSE_GUI" = "yes"; then
9076 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
9081 if test "$wxUSE_GTK" = 1; then
9082 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9083 echo "configure:9084: checking for GTK+ version" >&5
9085 gtk_version_cached
=1
9086 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9087 echo $ac_n "(cached) $ac_c" 1>&6
9090 gtk_version_cached
=0
9091 echo "$ac_t""""" 1>&6
9094 if test "x$wxUSE_GTK2" = "xyes"; then
9095 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9096 if test "${with_gtk_prefix+set}" = set; then
9097 withval
="$with_gtk_prefix"
9098 gtk_config_prefix
="$withval"
9100 gtk_config_prefix
=""
9103 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9104 if test "${with_gtk_exec_prefix+set}" = set; then
9105 withval
="$with_gtk_exec_prefix"
9106 gtk_config_exec_prefix
="$withval"
9108 gtk_config_exec_prefix
=""
9111 # Check whether --enable-gtktest or --disable-gtktest was given.
9112 if test "${enable_gtktest+set}" = set; then
9113 enableval
="$enable_gtktest"
9124 gtk_config_args
="$gtk_config_args gthread"
9129 if test x
$gtk_config_exec_prefix != x
; then
9130 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9131 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9132 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
9135 if test x
$gtk_config_prefix != x
; then
9136 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9137 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9138 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
9142 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9143 set dummy gtk
-config-2.0
; ac_word
=$2
9144 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9145 echo "configure:9146: checking for $ac_word" >&5
9146 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9147 echo $ac_n "(cached) $ac_c" 1>&6
9149 case "$GTK_CONFIG_2_0" in
9151 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9154 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9157 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9159 for ac_dir
in $ac_dummy; do
9160 test -z "$ac_dir" && ac_dir
=.
9161 if test -f $ac_dir/$ac_word; then
9162 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
9167 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
9171 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
9172 if test -n "$GTK_CONFIG_2_0"; then
9173 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9175 echo "$ac_t""no" 1>&6
9178 min_gtk_version
=1.3.1
9179 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9180 echo "configure:9181: checking for GTK - version >= $min_gtk_version" >&5
9182 if test "$GTK_CONFIG_2_0" = "no" ; then
9185 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9186 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9187 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9188 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9189 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9190 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9191 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9192 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9193 if test "x$enable_gtktest" = "xyes" ; then
9194 ac_save_CFLAGS
="$CFLAGS"
9195 ac_save_LIBS
="$LIBS"
9196 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9197 LIBS
="$GTK_LIBS $LIBS"
9199 if test "$cross_compiling" = yes; then
9200 echo $ac_n "cross compiling; assumed OK... $ac_c"
9202 cat > conftest.
$ac_ext <<EOF
9203 #line 9204 "configure"
9204 #include "confdefs.h"
9206 #include <gtk/gtk.h>
9213 int major, minor, micro;
9216 system ("touch conf.gtktest");
9218 /* HP/UX 9 (%@#!) writes to sscanf strings */
9219 tmp_version = g_strdup("$min_gtk_version");
9220 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9221 printf("%s, bad version string\n", "$min_gtk_version");
9225 if ((gtk_major_version != $gtk_config_major_version) ||
9226 (gtk_minor_version != $gtk_config_minor_version) ||
9227 (gtk_micro_version != $gtk_config_micro_version))
9229 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9230 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9231 gtk_major_version, gtk_minor_version, gtk_micro_version);
9232 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9233 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9234 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9235 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9236 printf("*** required on your system.\n");
9237 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9238 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9239 printf("*** before re-running configure\n");
9241 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9242 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9243 (gtk_minor_version != GTK_MINOR_VERSION) ||
9244 (gtk_micro_version != GTK_MICRO_VERSION))
9246 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9247 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9248 printf("*** library (version %d.%d.%d)\n",
9249 gtk_major_version, gtk_minor_version, gtk_micro_version);
9251 #endif /* defined (GTK_MAJOR_VERSION) ... */
9254 if ((gtk_major_version > major) ||
9255 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9256 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9262 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9263 gtk_major_version, gtk_minor_version, gtk_micro_version);
9264 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9265 major, minor, micro);
9266 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9268 printf("*** If you have already installed a sufficiently new version, this error\n");
9269 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9270 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9271 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9272 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9273 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9274 printf("*** so that the correct libraries are found at run-time))\n");
9281 if { (eval echo configure
:9282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9285 echo "configure: failed program was:" >&5
9286 cat conftest.
$ac_ext >&5
9293 CFLAGS
="$ac_save_CFLAGS"
9294 LIBS
="$ac_save_LIBS"
9297 if test "x$no_gtk" = x
; then
9298 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9301 echo "$ac_t""no" 1>&6
9302 if test "$GTK_CONFIG_2_0" = "no" ; then
9303 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9304 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9305 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9306 echo "*** full path to gtk-config-2.0."
9308 if test -f conf.gtktest
; then
9311 echo "*** Could not run GTK test program, checking why..."
9312 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9313 LIBS
="$LIBS $GTK_LIBS"
9314 cat > conftest.
$ac_ext <<EOF
9315 #line 9316 "configure"
9316 #include "confdefs.h"
9318 #include <gtk/gtk.h>
9322 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9325 if { (eval echo configure
:9326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9327 echo "*** The test program compiled, but did not run. This usually means"
9328 echo "*** that the run-time linker is not finding GTK or finding the wrong"
9329 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
9330 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9331 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9332 echo "*** is required on your system"
9334 echo "*** If you have an old version installed, it is best to remove it, although"
9335 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9337 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
9338 echo "*** came with the system with the command"
9340 echo "*** rpm --erase --nodeps gtk gtk-devel"
9342 echo "configure: failed program was:" >&5
9343 cat conftest.
$ac_ext >&5
9345 echo "*** The test program failed to compile or link. See the file config.log for the"
9346 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
9347 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
9348 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
9351 CFLAGS
="$ac_save_CFLAGS"
9352 LIBS
="$ac_save_LIBS"
9365 if test -z "$wx_cv_lib_gtk"; then
9367 if test x
$gtk_config_exec_prefix != x
; then
9368 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9369 if test x
${GTK_CONFIG+set} != xset
; then
9370 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9373 if test x
$gtk_config_prefix != x
; then
9374 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9375 if test x
${GTK_CONFIG+set} != xset
; then
9376 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9380 # Extract the first word of "gtk-config", so it can be a program name with args.
9381 set dummy gtk
-config; ac_word
=$2
9382 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9383 echo "configure:9384: checking for $ac_word" >&5
9384 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9385 echo $ac_n "(cached) $ac_c" 1>&6
9387 case "$GTK_CONFIG" in
9389 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9392 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9395 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9397 for ac_dir
in $ac_dummy; do
9398 test -z "$ac_dir" && ac_dir
=.
9399 if test -f $ac_dir/$ac_word; then
9400 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9405 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9409 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9410 if test -n "$GTK_CONFIG"; then
9411 echo "$ac_t""$GTK_CONFIG" 1>&6
9413 echo "$ac_t""no" 1>&6
9416 min_gtk_version
=1.2.7
9417 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9418 echo "configure:9419: checking for GTK - version >= $min_gtk_version" >&5
9420 if test "$GTK_CONFIG" != "no" ; then
9421 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9422 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9423 ac_save_CFLAGS
="$CFLAGS"
9424 ac_save_LIBS
="$LIBS"
9425 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9426 LIBS
="$LIBS $GTK_LIBS"
9427 if test "$cross_compiling" = yes; then
9428 echo $ac_n "cross compiling; assumed OK... $ac_c"
9430 cat > conftest.
$ac_ext <<EOF
9431 #line 9432 "configure"
9432 #include "confdefs.h"
9434 #include <gtk/gtk.h>
9435 #include <gtk/gtkfeatures.h>
9442 int major, minor, micro;
9444 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9445 printf("%s, bad version string\n", "$min_gtk_version");
9449 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9450 (GTK_MINOR_VERSION != gtk_minor_version) ||
9451 (GTK_MICRO_VERSION != gtk_micro_version)) {
9452 printf("Headers vs. library version mismatch!\n");
9456 if (gtk_minor_version == 1) return FALSE;
9458 return !((gtk_major_version > major) ||
9459 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9460 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9464 if { (eval echo configure
:9465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9468 echo "configure: failed program was:" >&5
9469 cat conftest.
$ac_ext >&5
9476 CFLAGS
="$ac_save_CFLAGS"
9477 LIBS
="$ac_save_LIBS"
9481 if test "x$no_gtk" = x
; then
9482 echo "$ac_t""yes" 1>&6
9485 echo "$ac_t""no" 1>&6
9495 if test -z "$wx_cv_lib_gtk"; then
9497 if test x
$gtk_config_exec_prefix != x
; then
9498 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9499 if test x
${GTK_CONFIG+set} != xset
; then
9500 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9503 if test x
$gtk_config_prefix != x
; then
9504 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9505 if test x
${GTK_CONFIG+set} != xset
; then
9506 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9510 # Extract the first word of "gtk-config", so it can be a program name with args.
9511 set dummy gtk
-config; ac_word
=$2
9512 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9513 echo "configure:9514: checking for $ac_word" >&5
9514 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9515 echo $ac_n "(cached) $ac_c" 1>&6
9517 case "$GTK_CONFIG" in
9519 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9522 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9525 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9527 for ac_dir
in $ac_dummy; do
9528 test -z "$ac_dir" && ac_dir
=.
9529 if test -f $ac_dir/$ac_word; then
9530 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9535 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9539 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9540 if test -n "$GTK_CONFIG"; then
9541 echo "$ac_t""$GTK_CONFIG" 1>&6
9543 echo "$ac_t""no" 1>&6
9546 min_gtk_version
=1.2.3
9547 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9548 echo "configure:9549: checking for GTK - version >= $min_gtk_version" >&5
9550 if test "$GTK_CONFIG" != "no" ; then
9551 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9552 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9553 ac_save_CFLAGS
="$CFLAGS"
9554 ac_save_LIBS
="$LIBS"
9555 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9556 LIBS
="$LIBS $GTK_LIBS"
9557 if test "$cross_compiling" = yes; then
9558 echo $ac_n "cross compiling; assumed OK... $ac_c"
9560 cat > conftest.
$ac_ext <<EOF
9561 #line 9562 "configure"
9562 #include "confdefs.h"
9564 #include <gtk/gtk.h>
9565 #include <gtk/gtkfeatures.h>
9572 int major, minor, micro;
9574 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9575 printf("%s, bad version string\n", "$min_gtk_version");
9579 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9580 (GTK_MINOR_VERSION != gtk_minor_version) ||
9581 (GTK_MICRO_VERSION != gtk_micro_version)) {
9582 printf("Headers vs. library version mismatch!\n");
9586 if (gtk_minor_version == 1) return FALSE;
9588 return !((gtk_major_version > major) ||
9589 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9590 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9594 if { (eval echo configure
:9595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9598 echo "configure: failed program was:" >&5
9599 cat conftest.
$ac_ext >&5
9606 CFLAGS
="$ac_save_CFLAGS"
9607 LIBS
="$ac_save_LIBS"
9611 if test "x$no_gtk" = x
; then
9612 echo "$ac_t""yes" 1>&6
9615 echo "$ac_t""no" 1>&6
9625 if test -z "$wx_cv_lib_gtk"; then
9628 wx_cv_cflags_gtk
=$GTK_CFLAGS
9629 wx_cv_libs_gtk
=$GTK_LIBS
9636 if test "$gtk_version_cached" = 1; then
9637 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9640 case "$wx_cv_lib_gtk" in
9648 *) { echo "configure: error:
9649 Please check that gtk-config is in path, the directory
9650 where GTK+ libraries are installed (returned by
9651 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9652 equivalent variable and GTK+ is version 1.2.3 or above.
9657 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
9658 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
9660 AFMINSTALL
=afminstall
9664 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9665 echo "configure:9666: checking for gdk_im_open in -lgdk" >&5
9666 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9667 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9668 echo $ac_n "(cached) $ac_c" 1>&6
9670 ac_save_LIBS
="$LIBS"
9672 cat > conftest.
$ac_ext <<EOF
9673 #line 9674 "configure"
9674 #include "confdefs.h"
9675 /* Override any gcc2 internal prototype to avoid an error. */
9676 /* We use char because int might match the return type of a gcc2
9677 builtin and then its argument prototype would still apply. */
9684 if { (eval echo configure
:9685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9686 eval "ac_cv_lib_$ac_lib_var=yes"
9688 echo "configure: failed program was:" >&5
9689 cat conftest.
$ac_ext >&5
9691 eval "ac_cv_lib_$ac_lib_var=no"
9694 LIBS
="$ac_save_LIBS"
9697 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9698 echo "$ac_t""yes" 1>&6
9699 cat >> confdefs.h
<<\EOF
9704 echo "$ac_t""no" 1>&6
9709 if test "$wxUSE_MGL" = 1; then
9711 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9712 echo "configure:9713: checking for SciTech MGL library" >&5
9713 if test "x$MGL_ROOT" = x
; then
9714 echo "$ac_t""not found" 1>&6
9715 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9717 echo "$ac_t""$MGL_ROOT" 1>&6
9720 mgl_os
=linux
/gcc
/glibc
9723 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9724 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
; then
9728 if test "x$mgl_lib_type" = x
; then
9729 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
; then
9730 mgl_lib_type
=release
9732 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9736 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9737 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
9739 AFMINSTALL
=afminstall
9744 if test "$wxUSE_WINE" = 1; then
9745 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
9746 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9747 echo "configure:9748: checking for windows.h" >&5
9748 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9749 echo $ac_n "(cached) $ac_c" 1>&6
9751 cat > conftest.
$ac_ext <<EOF
9752 #line 9753 "configure"
9753 #include "confdefs.h"
9754 #include <windows.h>
9756 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9757 { (eval echo configure
:9758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9758 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9759 if test -z "$ac_err"; then
9761 eval "ac_cv_header_$ac_safe=yes"
9764 echo "configure: failed program was:" >&5
9765 cat conftest.
$ac_ext >&5
9767 eval "ac_cv_header_$ac_safe=no"
9771 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9772 echo "$ac_t""yes" 1>&6
9775 echo "$ac_t""no" 1>&6
9777 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9783 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9784 echo "configure:9785: checking for Xpm library" >&5
9787 for ac_dir
in $SEARCH_LIB;
9789 for ac_extension
in a so sl dylib
; do
9790 if test -f "$ac_dir/libXpm.$ac_extension"; then
9791 ac_find_libraries
=$ac_dir
9797 if test "$ac_find_libraries" != "" ; then
9798 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9800 cat >> confdefs.h
<<\EOF
9801 #define wxHAVE_LIB_XPM 1
9804 echo "$ac_t""found at $ac_find_libraries" 1>&6
9806 echo "$ac_t""no" 1>&6
9807 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9811 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9812 echo "configure:9813: checking for Mesa library" >&5
9815 for ac_dir
in $SEARCH_LIB;
9817 for ac_extension
in a so sl dylib
; do
9818 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9819 ac_find_libraries
=$ac_dir
9825 if test "$ac_find_libraries" != "" ; then
9826 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9827 mesa_link
="-lMesaGL"
9828 echo "$ac_t""found at $ac_find_libraries" 1>&6
9830 { echo "configure: error: no" 1>&2; exit 1; }
9833 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine $mesa_link $xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9836 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
9840 # If we find X, set shell vars x_includes and x_libraries to the
9841 # paths, otherwise set no_x=yes.
9842 # Uses ac_ vars as temps to allow command line to override cache and checks.
9843 # --without-x overrides everything else, but does not touch the cache.
9844 echo $ac_n "checking for X""... $ac_c" 1>&6
9845 echo "configure:9846: checking for X" >&5
9847 # Check whether --with-x or --without-x was given.
9848 if test "${with_x+set}" = set; then
9853 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9854 if test "x$with_x" = xno
; then
9855 # The user explicitly disabled X.
9858 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9859 # Both variables are already set.
9862 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9863 echo $ac_n "(cached) $ac_c" 1>&6
9865 # One or both of the vars are not set, and there is no cached value.
9866 ac_x_includes
=NO ac_x_libraries
=NO
9868 if mkdir conftestdir
; then
9870 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9871 cat > Imakefile
<<'EOF'
9873 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9875 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9876 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9877 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9878 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9879 for ac_extension
in a so sl
; do
9880 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9881 test -f $ac_im_libdir/libX11.
$ac_extension; then
9882 ac_im_usrlibdir
=$ac_im_libdir; break
9885 # Screen out bogus values from the imake configuration. They are
9886 # bogus both because they are the default anyway, and because
9887 # using them would break gcc on systems where it needs fixed includes.
9888 case "$ac_im_incroot" in
9890 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9892 case "$ac_im_usrlibdir" in
9894 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9901 if test "$ac_x_includes" = NO
; then
9902 # Guess where to find include files, by looking for this one X11 .h file.
9903 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9905 # First, try using that file with no special directory specified.
9906 cat > conftest.
$ac_ext <<EOF
9907 #line 9908 "configure"
9908 #include "confdefs.h"
9909 #include <$x_direct_test_include>
9911 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9912 { (eval echo configure
:9913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9913 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9914 if test -z "$ac_err"; then
9916 # We can compile using X headers with no special include directory.
9920 echo "configure: failed program was:" >&5
9921 cat conftest.
$ac_ext >&5
9923 # Look for the header file in a standard set of common directories.
9924 # Check X11 before X11Rn because it is often a symlink to the current release.
9927 /usr
/X
11R
6/include \
9928 /usr
/X
11R
5/include \
9929 /usr
/X
11R
4/include \
9932 /usr
/include
/X11R6 \
9933 /usr
/include
/X11R5 \
9934 /usr
/include
/X11R4 \
9936 /usr
/local
/X
11/include \
9937 /usr
/local
/X
11R
6/include \
9938 /usr
/local
/X
11R
5/include \
9939 /usr
/local
/X
11R
4/include \
9941 /usr
/local
/include
/X11 \
9942 /usr
/local
/include
/X11R6 \
9943 /usr
/local
/include
/X11R5 \
9944 /usr
/local
/include
/X11R4 \
9948 /usr
/XFree
86/include
/X11 \
9951 /usr
/local
/include \
9952 /usr
/unsupported
/include \
9953 /usr
/athena
/include \
9954 /usr
/local
/x
11r
5/include \
9955 /usr
/lpp
/Xamples
/include \
9957 /usr
/openwin
/include \
9958 /usr
/openwin
/share
/include \
9961 if test -r "$ac_dir/$x_direct_test_include"; then
9962 ac_x_includes
=$ac_dir
9968 fi # $ac_x_includes = NO
9970 if test "$ac_x_libraries" = NO
; then
9971 # Check for the libraries.
9973 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
9974 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
9976 # See if we find them without any special options.
9977 # Don't add to $LIBS permanently.
9978 ac_save_LIBS
="$LIBS"
9979 LIBS
="-l$x_direct_test_library $LIBS"
9980 cat > conftest.
$ac_ext <<EOF
9981 #line 9982 "configure"
9982 #include "confdefs.h"
9985 ${x_direct_test_function}()
9988 if { (eval echo configure
:9989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9990 LIBS
="$ac_save_LIBS"
9991 # We can link X programs with no special library path.
9994 echo "configure: failed program was:" >&5
9995 cat conftest.
$ac_ext >&5
9997 LIBS
="$ac_save_LIBS"
9998 # First see if replacing the include by lib works.
9999 # Check X11 before X11Rn because it is often a symlink to the current release.
10000 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
10011 /usr
/local
/X
11/lib \
10012 /usr
/local
/X
11R
6/lib \
10013 /usr
/local
/X
11R
5/lib \
10014 /usr
/local
/X
11R
4/lib \
10016 /usr
/local
/lib
/X11 \
10017 /usr
/local
/lib
/X11R6 \
10018 /usr
/local
/lib
/X11R5 \
10019 /usr
/local
/lib
/X11R4 \
10023 /usr
/XFree
86/lib
/X11 \
10027 /usr
/unsupported
/lib \
10029 /usr
/local
/x
11r
5/lib \
10030 /usr
/lpp
/Xamples
/lib \
10034 /usr
/openwin
/share
/lib \
10037 for ac_extension
in a so sl
; do
10038 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
10039 ac_x_libraries
=$ac_dir
10046 fi # $ac_x_libraries = NO
10048 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
10049 # Didn't find X anywhere. Cache the known absence of X.
10050 ac_cv_have_x
="have_x=no"
10052 # Record where we found X for the cache.
10053 ac_cv_have_x
="have_x=yes \
10054 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10058 eval "$ac_cv_have_x"
10061 if test "$have_x" != yes; then
10062 echo "$ac_t""$have_x" 1>&6
10065 # If each of the values was on the command line, it overrides each guess.
10066 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10067 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10068 # Update the cache value to reflect the command line values.
10069 ac_cv_have_x
="have_x=yes \
10070 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10071 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
10074 if test "$no_x" = yes; then
10075 # Not all programs may use this symbol, but it does not hurt to define it.
10076 cat >> confdefs.h
<<\EOF
10077 #define X_DISPLAY_MISSING 1
10080 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
10082 if test -n "$x_includes"; then
10083 X_CFLAGS
="$X_CFLAGS -I$x_includes"
10086 # It would also be nice to do this for all -L options, not just this one.
10087 if test -n "$x_libraries"; then
10088 X_LIBS
="$X_LIBS -L$x_libraries"
10089 # For Solaris; some versions of Sun CC require a space after -R and
10090 # others require no space. Words are not sufficient . . . .
10091 case "`(uname -sr) 2>/dev/null`" in
10093 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
10094 echo "configure:10095: checking whether -R must be followed by a space" >&5
10095 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
10096 cat > conftest.
$ac_ext <<EOF
10097 #line 10098 "configure"
10098 #include "confdefs.h"
10104 if { (eval echo configure
:10105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10108 echo "configure: failed program was:" >&5
10109 cat conftest.
$ac_ext >&5
10114 if test $ac_R_nospace = yes; then
10115 echo "$ac_t""no" 1>&6
10116 X_LIBS
="$X_LIBS -R$x_libraries"
10118 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10119 cat > conftest.
$ac_ext <<EOF
10120 #line 10121 "configure"
10121 #include "confdefs.h"
10127 if { (eval echo configure
:10128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10131 echo "configure: failed program was:" >&5
10132 cat conftest.
$ac_ext >&5
10137 if test $ac_R_space = yes; then
10138 echo "$ac_t""yes" 1>&6
10139 X_LIBS
="$X_LIBS -R $x_libraries"
10141 echo "$ac_t""neither works" 1>&6
10144 LIBS
="$ac_xsave_LIBS"
10148 # Check for system-dependent libraries X programs must link with.
10149 # Do this before checking for the system-independent R6 libraries
10150 # (-lICE), since we may need -lsocket or whatever for X linking.
10152 if test "$ISC" = yes; then
10153 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10155 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
10156 # libraries were built with DECnet support. And karl@cs.umb.edu says
10157 # the Alpha needs dnet_stub (dnet does not exist).
10158 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
10159 echo "configure:10160: checking for dnet_ntoa in -ldnet" >&5
10160 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10161 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10162 echo $ac_n "(cached) $ac_c" 1>&6
10164 ac_save_LIBS
="$LIBS"
10165 LIBS
="-ldnet $LIBS"
10166 cat > conftest.
$ac_ext <<EOF
10167 #line 10168 "configure"
10168 #include "confdefs.h"
10169 /* Override any gcc2 internal prototype to avoid an error. */
10170 /* We use char because int might match the return type of a gcc2
10171 builtin and then its argument prototype would still apply. */
10178 if { (eval echo configure
:10179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10180 eval "ac_cv_lib_$ac_lib_var=yes"
10182 echo "configure: failed program was:" >&5
10183 cat conftest.
$ac_ext >&5
10185 eval "ac_cv_lib_$ac_lib_var=no"
10188 LIBS
="$ac_save_LIBS"
10191 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10192 echo "$ac_t""yes" 1>&6
10193 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10195 echo "$ac_t""no" 1>&6
10198 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10199 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
10200 echo "configure:10201: checking for dnet_ntoa in -ldnet_stub" >&5
10201 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10202 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10203 echo $ac_n "(cached) $ac_c" 1>&6
10205 ac_save_LIBS
="$LIBS"
10206 LIBS
="-ldnet_stub $LIBS"
10207 cat > conftest.
$ac_ext <<EOF
10208 #line 10209 "configure"
10209 #include "confdefs.h"
10210 /* Override any gcc2 internal prototype to avoid an error. */
10211 /* We use char because int might match the return type of a gcc2
10212 builtin and then its argument prototype would still apply. */
10219 if { (eval echo configure
:10220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10221 eval "ac_cv_lib_$ac_lib_var=yes"
10223 echo "configure: failed program was:" >&5
10224 cat conftest.
$ac_ext >&5
10226 eval "ac_cv_lib_$ac_lib_var=no"
10229 LIBS
="$ac_save_LIBS"
10232 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10233 echo "$ac_t""yes" 1>&6
10234 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10236 echo "$ac_t""no" 1>&6
10241 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10242 # to get the SysV transport functions.
10243 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10245 # The nsl library prevents programs from opening the X display
10246 # on Irix 5.2, according to dickey@clark.net.
10247 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10248 echo "configure:10249: checking for gethostbyname" >&5
10249 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10250 echo $ac_n "(cached) $ac_c" 1>&6
10252 cat > conftest.
$ac_ext <<EOF
10253 #line 10254 "configure"
10254 #include "confdefs.h"
10255 /* System header to define __stub macros and hopefully few prototypes,
10256 which can conflict with char gethostbyname(); below. */
10257 #include <assert.h>
10258 /* Override any gcc2 internal prototype to avoid an error. */
10259 /* We use char because int might match the return type of a gcc2
10260 builtin and then its argument prototype would still apply. */
10261 char gethostbyname();
10265 /* The GNU C library defines this for functions which it implements
10266 to always fail with ENOSYS. Some functions are actually named
10267 something starting with __ and the normal name is an alias. */
10268 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10276 if { (eval echo configure
:10277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10278 eval "ac_cv_func_gethostbyname=yes"
10280 echo "configure: failed program was:" >&5
10281 cat conftest.
$ac_ext >&5
10283 eval "ac_cv_func_gethostbyname=no"
10288 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10289 echo "$ac_t""yes" 1>&6
10292 echo "$ac_t""no" 1>&6
10295 if test $ac_cv_func_gethostbyname = no
; then
10296 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10297 echo "configure:10298: checking for gethostbyname in -lnsl" >&5
10298 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
10299 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10300 echo $ac_n "(cached) $ac_c" 1>&6
10302 ac_save_LIBS
="$LIBS"
10304 cat > conftest.
$ac_ext <<EOF
10305 #line 10306 "configure"
10306 #include "confdefs.h"
10307 /* Override any gcc2 internal prototype to avoid an error. */
10308 /* We use char because int might match the return type of a gcc2
10309 builtin and then its argument prototype would still apply. */
10310 char gethostbyname();
10316 if { (eval echo configure
:10317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10318 eval "ac_cv_lib_$ac_lib_var=yes"
10320 echo "configure: failed program was:" >&5
10321 cat conftest.
$ac_ext >&5
10323 eval "ac_cv_lib_$ac_lib_var=no"
10326 LIBS
="$ac_save_LIBS"
10329 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10330 echo "$ac_t""yes" 1>&6
10331 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10333 echo "$ac_t""no" 1>&6
10338 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10339 # socket/setsockopt and other routines are undefined under SCO ODT
10340 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10341 # on later versions), says simon@lia.di.epfl.ch: it contains
10342 # gethostby* variants that don't use the nameserver (or something).
10343 # -lsocket must be given before -lnsl if both are needed.
10344 # We assume that if connect needs -lnsl, so does gethostbyname.
10345 echo $ac_n "checking for connect""... $ac_c" 1>&6
10346 echo "configure:10347: checking for connect" >&5
10347 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
10348 echo $ac_n "(cached) $ac_c" 1>&6
10350 cat > conftest.
$ac_ext <<EOF
10351 #line 10352 "configure"
10352 #include "confdefs.h"
10353 /* System header to define __stub macros and hopefully few prototypes,
10354 which can conflict with char connect(); below. */
10355 #include <assert.h>
10356 /* Override any gcc2 internal prototype to avoid an error. */
10357 /* We use char because int might match the return type of a gcc2
10358 builtin and then its argument prototype would still apply. */
10363 /* The GNU C library defines this for functions which it implements
10364 to always fail with ENOSYS. Some functions are actually named
10365 something starting with __ and the normal name is an alias. */
10366 #if defined (__stub_connect) || defined (__stub___connect)
10374 if { (eval echo configure
:10375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10376 eval "ac_cv_func_connect=yes"
10378 echo "configure: failed program was:" >&5
10379 cat conftest.
$ac_ext >&5
10381 eval "ac_cv_func_connect=no"
10386 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
10387 echo "$ac_t""yes" 1>&6
10390 echo "$ac_t""no" 1>&6
10393 if test $ac_cv_func_connect = no
; then
10394 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
10395 echo "configure:10396: checking for connect in -lsocket" >&5
10396 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
10397 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10398 echo $ac_n "(cached) $ac_c" 1>&6
10400 ac_save_LIBS
="$LIBS"
10401 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
10402 cat > conftest.
$ac_ext <<EOF
10403 #line 10404 "configure"
10404 #include "confdefs.h"
10405 /* Override any gcc2 internal prototype to avoid an error. */
10406 /* We use char because int might match the return type of a gcc2
10407 builtin and then its argument prototype would still apply. */
10414 if { (eval echo configure
:10415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10416 eval "ac_cv_lib_$ac_lib_var=yes"
10418 echo "configure: failed program was:" >&5
10419 cat conftest.
$ac_ext >&5
10421 eval "ac_cv_lib_$ac_lib_var=no"
10424 LIBS
="$ac_save_LIBS"
10427 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10428 echo "$ac_t""yes" 1>&6
10429 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
10431 echo "$ac_t""no" 1>&6
10436 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
10437 echo $ac_n "checking for remove""... $ac_c" 1>&6
10438 echo "configure:10439: checking for remove" >&5
10439 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
10440 echo $ac_n "(cached) $ac_c" 1>&6
10442 cat > conftest.
$ac_ext <<EOF
10443 #line 10444 "configure"
10444 #include "confdefs.h"
10445 /* System header to define __stub macros and hopefully few prototypes,
10446 which can conflict with char remove(); below. */
10447 #include <assert.h>
10448 /* Override any gcc2 internal prototype to avoid an error. */
10449 /* We use char because int might match the return type of a gcc2
10450 builtin and then its argument prototype would still apply. */
10455 /* The GNU C library defines this for functions which it implements
10456 to always fail with ENOSYS. Some functions are actually named
10457 something starting with __ and the normal name is an alias. */
10458 #if defined (__stub_remove) || defined (__stub___remove)
10466 if { (eval echo configure
:10467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10468 eval "ac_cv_func_remove=yes"
10470 echo "configure: failed program was:" >&5
10471 cat conftest.
$ac_ext >&5
10473 eval "ac_cv_func_remove=no"
10478 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
10479 echo "$ac_t""yes" 1>&6
10482 echo "$ac_t""no" 1>&6
10485 if test $ac_cv_func_remove = no
; then
10486 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
10487 echo "configure:10488: checking for remove in -lposix" >&5
10488 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
10489 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10490 echo $ac_n "(cached) $ac_c" 1>&6
10492 ac_save_LIBS
="$LIBS"
10493 LIBS
="-lposix $LIBS"
10494 cat > conftest.
$ac_ext <<EOF
10495 #line 10496 "configure"
10496 #include "confdefs.h"
10497 /* Override any gcc2 internal prototype to avoid an error. */
10498 /* We use char because int might match the return type of a gcc2
10499 builtin and then its argument prototype would still apply. */
10506 if { (eval echo configure
:10507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10508 eval "ac_cv_lib_$ac_lib_var=yes"
10510 echo "configure: failed program was:" >&5
10511 cat conftest.
$ac_ext >&5
10513 eval "ac_cv_lib_$ac_lib_var=no"
10516 LIBS
="$ac_save_LIBS"
10519 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10520 echo "$ac_t""yes" 1>&6
10521 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10523 echo "$ac_t""no" 1>&6
10528 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10529 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10530 echo "configure:10531: checking for shmat" >&5
10531 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10532 echo $ac_n "(cached) $ac_c" 1>&6
10534 cat > conftest.
$ac_ext <<EOF
10535 #line 10536 "configure"
10536 #include "confdefs.h"
10537 /* System header to define __stub macros and hopefully few prototypes,
10538 which can conflict with char shmat(); below. */
10539 #include <assert.h>
10540 /* Override any gcc2 internal prototype to avoid an error. */
10541 /* We use char because int might match the return type of a gcc2
10542 builtin and then its argument prototype would still apply. */
10547 /* The GNU C library defines this for functions which it implements
10548 to always fail with ENOSYS. Some functions are actually named
10549 something starting with __ and the normal name is an alias. */
10550 #if defined (__stub_shmat) || defined (__stub___shmat)
10558 if { (eval echo configure
:10559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10560 eval "ac_cv_func_shmat=yes"
10562 echo "configure: failed program was:" >&5
10563 cat conftest.
$ac_ext >&5
10565 eval "ac_cv_func_shmat=no"
10570 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10571 echo "$ac_t""yes" 1>&6
10574 echo "$ac_t""no" 1>&6
10577 if test $ac_cv_func_shmat = no
; then
10578 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10579 echo "configure:10580: checking for shmat in -lipc" >&5
10580 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10581 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10582 echo $ac_n "(cached) $ac_c" 1>&6
10584 ac_save_LIBS
="$LIBS"
10586 cat > conftest.
$ac_ext <<EOF
10587 #line 10588 "configure"
10588 #include "confdefs.h"
10589 /* Override any gcc2 internal prototype to avoid an error. */
10590 /* We use char because int might match the return type of a gcc2
10591 builtin and then its argument prototype would still apply. */
10598 if { (eval echo configure
:10599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10600 eval "ac_cv_lib_$ac_lib_var=yes"
10602 echo "configure: failed program was:" >&5
10603 cat conftest.
$ac_ext >&5
10605 eval "ac_cv_lib_$ac_lib_var=no"
10608 LIBS
="$ac_save_LIBS"
10611 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10612 echo "$ac_t""yes" 1>&6
10613 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
10615 echo "$ac_t""no" 1>&6
10621 # Check for libraries that X11R6 Xt/Xaw programs need.
10622 ac_save_LDFLAGS
="$LDFLAGS"
10623 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10624 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10625 # check for ICE first), but we must link in the order -lSM -lICE or
10626 # we get undefined symbols. So assume we have SM if we have ICE.
10627 # These have to be linked with before -lX11, unlike the other
10628 # libraries we check for below, so use a different variable.
10629 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10630 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10631 echo "configure:10632: checking for IceConnectionNumber in -lICE" >&5
10632 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10633 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10634 echo $ac_n "(cached) $ac_c" 1>&6
10636 ac_save_LIBS
="$LIBS"
10637 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10638 cat > conftest.
$ac_ext <<EOF
10639 #line 10640 "configure"
10640 #include "confdefs.h"
10641 /* Override any gcc2 internal prototype to avoid an error. */
10642 /* We use char because int might match the return type of a gcc2
10643 builtin and then its argument prototype would still apply. */
10644 char IceConnectionNumber();
10647 IceConnectionNumber()
10650 if { (eval echo configure
:10651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10652 eval "ac_cv_lib_$ac_lib_var=yes"
10654 echo "configure: failed program was:" >&5
10655 cat conftest.
$ac_ext >&5
10657 eval "ac_cv_lib_$ac_lib_var=no"
10660 LIBS
="$ac_save_LIBS"
10663 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10664 echo "$ac_t""yes" 1>&6
10665 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
10667 echo "$ac_t""no" 1>&6
10670 LDFLAGS
="$ac_save_LDFLAGS"
10674 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10675 LDFLAGS
="$LDFLAGS $X_LIBS"
10677 if test "$wxUSE_MOTIF" = 1; then
10678 if test "$no_x" = "yes"; then
10679 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10682 GUI_TK_LIBRARY
="$X_LIBS"
10683 TOOLKIT_INCLUDE
="$X_CFLAGS"
10684 AFMINSTALL
=afminstall
10685 COMPILED_X_PROGRAM
=0
10687 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10688 echo "configure:10689: checking for Motif/Lesstif headers" >&5
10691 for ac_dir
in $SEARCH_INCLUDE;
10693 if test -f "$ac_dir/Xm/Xm.h"; then
10694 ac_find_includes
=$ac_dir
10699 if test "$ac_find_includes" != "" ; then
10700 echo "$ac_t""found $ac_find_includes" 1>&6
10702 cat > conftest.
$ac_ext <<EOF
10703 #line 10704 "configure"
10704 #include "confdefs.h"
10711 version = xmUseVersion;
10715 if { (eval echo configure
:10716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10718 echo "$ac_t""found in default search path" 1>&6
10719 COMPILED_X_PROGRAM
=1
10722 echo "configure: failed program was:" >&5
10723 cat conftest.
$ac_ext >&5
10726 echo "$ac_t""no" 1>&6
10727 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10734 if test "$COMPILED_X_PROGRAM" = 0; then
10735 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10736 echo "configure:10737: checking for Motif/Lesstif library" >&5
10739 for ac_dir
in $SEARCH_LIB;
10741 for ac_extension
in a so sl dylib
; do
10742 if test -f "$ac_dir/libXm.$ac_extension"; then
10743 ac_find_libraries
=$ac_dir
10749 if test "$ac_find_libraries" != "" ; then
10751 ac_path_to_include
=$ac_find_includes
10752 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10754 if test $result = 0; then
10755 ac_path_to_include
=""
10757 ac_path_to_include
="-I$ac_find_includes"
10761 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10763 if test $result = 0; then
10766 ac_path_to_link
="-L$ac_find_libraries"
10770 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10771 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10772 echo "$ac_t""found at $ac_find_libraries" 1>&6
10774 cat > conftest.
$ac_ext <<EOF
10775 #line 10776 "configure"
10776 #include "confdefs.h"
10783 version = xmUseVersion;
10787 if { (eval echo configure
:10788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10790 echo "$ac_t""found in default search path" 1>&6
10791 COMPILED_X_PROGRAM
=1
10794 echo "configure: failed program was:" >&5
10795 cat conftest.
$ac_ext >&5
10798 echo "$ac_t""no" 1>&6
10799 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10808 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10809 echo "configure:10810: checking for Xpm library" >&5
10812 for ac_dir
in $SEARCH_LIB;
10814 for ac_extension
in a so sl dylib
; do
10815 if test -f "$ac_dir/libXpm.$ac_extension"; then
10816 ac_find_libraries
=$ac_dir
10822 if test "$ac_find_libraries" != "" ; then
10824 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10826 if test $result = 0; then
10829 ac_path_to_link
="-L$ac_find_libraries"
10832 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10834 cat >> confdefs.h
<<\EOF
10835 #define wxHAVE_LIB_XPM 1
10838 echo "$ac_t""found at $ac_find_libraries" 1>&6
10840 cat > conftest.
$ac_ext <<EOF
10841 #line 10842 "configure"
10842 #include "confdefs.h"
10844 #include <X11/xpm.h>
10849 version = XpmLibraryVersion();
10853 if { (eval echo configure
:10854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10857 cat >> confdefs.h
<<\EOF
10858 #define wxHAVE_LIB_XPM 1
10861 echo "$ac_t""found in default search path" 1>&6
10862 COMPILED_X_PROGRAM
=0
10865 echo "configure: failed program was:" >&5
10866 cat conftest.
$ac_ext >&5
10869 echo "$ac_t""no" 1>&6
10870 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10877 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm $xpm_link -lXmu -lXext -lXt -lX11"
10878 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10883 if test "$wxUSE_MAC" = 1; then
10888 if test "$wxUSE_PM" = 1; then
10893 if test "$TOOLKIT" = "PM" ; then
10896 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10899 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
10901 if test "$wxUSE_UNIVERSAL" = "yes"; then
10902 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10903 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10904 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
10905 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
10908 ALL_OBJECTS
="\$(GUIOBJS)"
10911 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10913 if test "$TOOLKIT" != "MSW"; then
10914 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10917 if test "$wxUSE_HTML" = "yes"; then
10918 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10921 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
10922 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10924 if test "$wxUSE_LIBJPEG" = "yes" ; then
10925 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10927 if test "$wxUSE_LIBTIFF" = "yes" ; then
10928 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10930 if test "$wxUSE_LIBPNG" = "yes" ; then
10931 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
10933 if test "$wxUSE_FREETYPE" = "yes" ; then
10934 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10937 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
10938 RPM_SPEC
="wx\$(TOOLKIT).spec"
10940 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10941 DISTDIR
="wx\$(TOOLKIT)"
10947 if test "$USE_WIN32" = 1 ; then
10948 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
10949 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
10953 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
10954 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
10957 PORT_FILES
="\${top_srcdir}/src/files.lst"
10958 RPM_FILES
="src/rpmfiles.lst"
10959 RPM_SPEC
="wxBase.spec"
10961 GUIDIST
="BASE_DIST"
10965 if test "x$REGEX_INCLUDE" != "x" ; then
10966 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
10968 if test "$wxUSE_ZLIB" = "yes" ; then
10969 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10972 if test "$wxUSE_OPENGL" = "yes"; then
10973 if test "$wxUSE_MAC" = 1; then
10974 cat >> confdefs.h
<<\EOF
10975 #define wxUSE_OPENGL 1
10978 cat >> confdefs.h
<<\EOF
10979 #define wxUSE_GLCANVAS 1
10982 OPENGL_LIBS
="-framework OpenGL -framework AGL"
10983 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
10985 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
10986 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
10987 echo "configure:10988: checking for GL/gl.h" >&5
10988 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10989 echo $ac_n "(cached) $ac_c" 1>&6
10991 cat > conftest.
$ac_ext <<EOF
10992 #line 10993 "configure"
10993 #include "confdefs.h"
10996 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10997 { (eval echo configure
:10998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10998 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10999 if test -z "$ac_err"; then
11001 eval "ac_cv_header_$ac_safe=yes"
11004 echo "configure: failed program was:" >&5
11005 cat conftest.
$ac_ext >&5
11007 eval "ac_cv_header_$ac_safe=no"
11011 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11012 echo "$ac_t""yes" 1>&6
11014 cat >> confdefs.h
<<\EOF
11015 #define wxUSE_OPENGL 1
11018 cat >> confdefs.h
<<\EOF
11019 #define wxUSE_GLCANVAS 1
11022 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
11023 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
11024 echo "configure:11025: checking for glFlush in -lGL" >&5
11025 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
11026 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11027 echo $ac_n "(cached) $ac_c" 1>&6
11029 ac_save_LIBS
="$LIBS"
11031 cat > conftest.
$ac_ext <<EOF
11032 #line 11033 "configure"
11033 #include "confdefs.h"
11034 /* Override any gcc2 internal prototype to avoid an error. */
11035 /* We use char because int might match the return type of a gcc2
11036 builtin and then its argument prototype would still apply. */
11043 if { (eval echo configure
:11044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11045 eval "ac_cv_lib_$ac_lib_var=yes"
11047 echo "configure: failed program was:" >&5
11048 cat conftest.
$ac_ext >&5
11050 eval "ac_cv_lib_$ac_lib_var=no"
11053 LIBS
="$ac_save_LIBS"
11056 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11057 echo "$ac_t""yes" 1>&6
11059 OPENGL_LIBS
="-lGL -lGLU"
11062 echo "$ac_t""no" 1>&6
11064 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
11065 echo "configure:11066: checking for glFlush in -lMesaGL" >&5
11066 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
11067 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11068 echo $ac_n "(cached) $ac_c" 1>&6
11070 ac_save_LIBS
="$LIBS"
11071 LIBS
="-lMesaGL $LIBS"
11072 cat > conftest.
$ac_ext <<EOF
11073 #line 11074 "configure"
11074 #include "confdefs.h"
11075 /* Override any gcc2 internal prototype to avoid an error. */
11076 /* We use char because int might match the return type of a gcc2
11077 builtin and then its argument prototype would still apply. */
11084 if { (eval echo configure
:11085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11086 eval "ac_cv_lib_$ac_lib_var=yes"
11088 echo "configure: failed program was:" >&5
11089 cat conftest.
$ac_ext >&5
11091 eval "ac_cv_lib_$ac_lib_var=no"
11094 LIBS
="$ac_save_LIBS"
11097 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11098 echo "$ac_t""yes" 1>&6
11100 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
11103 echo "$ac_t""no" 1>&6
11111 echo "$ac_t""no" 1>&6
11118 if test -z "$TOOLKIT_VPATH" ; then
11119 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
11122 if test -n "$TOOLKIT" ; then
11123 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
11126 if test "$wxUSE_CYGWIN" = 1 ; then
11127 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
11131 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
11133 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}d"
11136 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_debug_suffix}-${WX_RELEASE}"
11137 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_debug_suffix}_gl-${WX_RELEASE}"
11139 if test "$cross_compiling" = "yes"; then
11140 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
11141 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
11144 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
11145 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
11147 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
11149 if test "$wxUSE_OPENGL" = "yes"; then
11150 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} $OPENGL_LIBS"
11153 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
11154 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
11156 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11157 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11159 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
11160 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
11161 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
11162 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
11164 WX_RESOURCES_DARWIN
="lib${WX_LIBRARY}.rsrc"
11168 if test "$wxUSE_SHARED" = "yes"; then
11170 if test "$wxUSE_OPENGL" = "yes"; then
11171 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11172 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
11174 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11175 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
11178 if test "$GCC" = "yes"; then
11182 SHARED_LD
="${CXX} -shared -o"
11186 if test "$GCC" != "yes"; then
11187 LDFLAGS
="-L/usr/lib"
11189 SHARED_LD
="${CXX} -b -o"
11196 if test "$GCC" != "yes"; then
11197 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
11198 echo "configure:11199: checking for Intel compiler" >&5
11199 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
11200 echo $ac_n "(cached) $ac_c" 1>&6
11203 cat > conftest.
$ac_ext <<EOF
11204 #line 11205 "configure"
11205 #include "confdefs.h"
11209 #ifndef __INTEL_COMPILER
11215 if { (eval echo configure
:11216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11219 echo "configure: failed program was:" >&5
11220 cat conftest.
$ac_ext >&5
11229 echo "$ac_t""$wx_cv_prog_icc" 1>&6
11230 if test "$wx_cv_prog_icc" = "yes"; then
11235 if test "$wxUSE_SONAME" = "yes" ; then
11236 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
11237 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
11238 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
11243 if test "$GCC" = yes ; then
11244 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
11246 SHARED_LD
="${CXX} -G -o"
11252 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__UNIX__ -D__DARWIN__ -D__POWERPC__"
11253 CPPFLAGS
="${CPPFLAGS} -fno-common"
11254 SHARED_LD
="${CXX} -dynamiclib -o"
11255 PIC_FLAG
="-dynamic -fPIC"
11257 if test "$wxUSE_MAC" = 1 ; then
11258 WX_ALL
="${WX_ALL} lib${WX_LIBRARY}.r"
11259 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DTARGET_CARBON"
11260 CPPFLAGS
="${CPPFLAGS} -fpascal-strings"
11261 CXXFLAGS
="${CXXFLAGS} -cpp-precomp"
11262 # Extract the first word of "Rez", so it can be a program name with args.
11263 set dummy Rez
; ac_word
=$2
11264 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11265 echo "configure:11266: checking for $ac_word" >&5
11266 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
11267 echo $ac_n "(cached) $ac_c" 1>&6
11269 if test -n "$RESCOMP"; then
11270 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
11272 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11274 for ac_dir
in $ac_dummy; do
11275 test -z "$ac_dir" && ac_dir
=.
11276 if test -f $ac_dir/$ac_word; then
11277 ac_cv_prog_RESCOMP
="Rez"
11282 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
11285 RESCOMP
="$ac_cv_prog_RESCOMP"
11286 if test -n "$RESCOMP"; then
11287 echo "$ac_t""$RESCOMP" 1>&6
11289 echo "$ac_t""no" 1>&6
11292 # Extract the first word of "Derez", so it can be a program name with args.
11293 set dummy Derez
; ac_word
=$2
11294 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11295 echo "configure:11296: checking for $ac_word" >&5
11296 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
11297 echo $ac_n "(cached) $ac_c" 1>&6
11299 if test -n "$DEREZ"; then
11300 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
11302 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11304 for ac_dir
in $ac_dummy; do
11305 test -z "$ac_dir" && ac_dir
=.
11306 if test -f $ac_dir/$ac_word; then
11307 ac_cv_prog_DEREZ
="Derez"
11312 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
11315 DEREZ
="$ac_cv_prog_DEREZ"
11316 if test -n "$DEREZ"; then
11317 echo "$ac_t""$DEREZ" 1>&6
11319 echo "$ac_t""no" 1>&6
11322 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
11323 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
11328 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
11332 echo "configure: warning: Shared libs unsupported for $host_alias -- forcing static build." 1>&2
11337 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_NAME_STATIC} -o"
11338 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXUSINGDLL=1"
11339 WXMSW_DLL_DEFINES
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
11340 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
11341 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
11342 if test "$wxUSE_OPENGL" = "yes"; then
11343 WX_ALL_INSTALLED
="preinstall_gl"
11344 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11346 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11351 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11352 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
11356 SHARED_LD
="${LD} -shared -o"
11359 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
11361 *-*-irix5* | *-*-irix6* | \
11368 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
11371 if test "x$WX_TARGET_LIBRARY" = "x"; then
11372 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
11373 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
11376 WX_TARGET_LIBRARY_TYPE
="so"
11379 if test "$wxUSE_SHARED" = "no"; then
11381 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
11382 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
11385 if test "$wxUSE_OPENGL" = "yes"; then
11386 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
11387 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
11389 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
11392 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11393 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
11395 WX_TARGET_LIBRARY_TYPE
="a"
11399 for ac_hdr
in strings.h
11401 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11402 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11403 echo "configure:11404: checking for $ac_hdr" >&5
11404 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11405 echo $ac_n "(cached) $ac_c" 1>&6
11407 cat > conftest.
$ac_ext <<EOF
11408 #line 11409 "configure"
11409 #include "confdefs.h"
11412 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11413 { (eval echo configure
:11414: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11414 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11415 if test -z "$ac_err"; then
11417 eval "ac_cv_header_$ac_safe=yes"
11420 echo "configure: failed program was:" >&5
11421 cat conftest.
$ac_ext >&5
11423 eval "ac_cv_header_$ac_safe=no"
11427 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11428 echo "$ac_t""yes" 1>&6
11429 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11430 cat >> confdefs.h
<<EOF
11431 #define $ac_tr_hdr 1
11435 echo "$ac_t""no" 1>&6
11439 for ac_hdr
in stdlib.h
11441 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11442 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11443 echo "configure:11444: checking for $ac_hdr" >&5
11444 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11445 echo $ac_n "(cached) $ac_c" 1>&6
11447 cat > conftest.
$ac_ext <<EOF
11448 #line 11449 "configure"
11449 #include "confdefs.h"
11452 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11453 { (eval echo configure
:11454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11454 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11455 if test -z "$ac_err"; then
11457 eval "ac_cv_header_$ac_safe=yes"
11460 echo "configure: failed program was:" >&5
11461 cat conftest.
$ac_ext >&5
11463 eval "ac_cv_header_$ac_safe=no"
11467 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11468 echo "$ac_t""yes" 1>&6
11469 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11470 cat >> confdefs.h
<<EOF
11471 #define $ac_tr_hdr 1
11475 echo "$ac_t""no" 1>&6
11479 for ac_hdr
in unistd.h
11481 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11482 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11483 echo "configure:11484: checking for $ac_hdr" >&5
11484 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11485 echo $ac_n "(cached) $ac_c" 1>&6
11487 cat > conftest.
$ac_ext <<EOF
11488 #line 11489 "configure"
11489 #include "confdefs.h"
11492 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11493 { (eval echo configure
:11494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11494 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11495 if test -z "$ac_err"; then
11497 eval "ac_cv_header_$ac_safe=yes"
11500 echo "configure: failed program was:" >&5
11501 cat conftest.
$ac_ext >&5
11503 eval "ac_cv_header_$ac_safe=no"
11507 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11508 echo "$ac_t""yes" 1>&6
11509 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11510 cat >> confdefs.h
<<EOF
11511 #define $ac_tr_hdr 1
11515 echo "$ac_t""no" 1>&6
11519 for ac_hdr
in wchar.h
11521 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11522 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11523 echo "configure:11524: checking for $ac_hdr" >&5
11524 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11525 echo $ac_n "(cached) $ac_c" 1>&6
11527 cat > conftest.
$ac_ext <<EOF
11528 #line 11529 "configure"
11529 #include "confdefs.h"
11532 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11533 { (eval echo configure
:11534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11534 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11535 if test -z "$ac_err"; then
11537 eval "ac_cv_header_$ac_safe=yes"
11540 echo "configure: failed program was:" >&5
11541 cat conftest.
$ac_ext >&5
11543 eval "ac_cv_header_$ac_safe=no"
11547 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11548 echo "$ac_t""yes" 1>&6
11549 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11550 cat >> confdefs.h
<<EOF
11551 #define $ac_tr_hdr 1
11555 echo "$ac_t""no" 1>&6
11559 for ac_hdr
in wcstr.h
11561 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11562 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11563 echo "configure:11564: checking for $ac_hdr" >&5
11564 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11565 echo $ac_n "(cached) $ac_c" 1>&6
11567 cat > conftest.
$ac_ext <<EOF
11568 #line 11569 "configure"
11569 #include "confdefs.h"
11572 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11573 { (eval echo configure
:11574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11574 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11575 if test -z "$ac_err"; then
11577 eval "ac_cv_header_$ac_safe=yes"
11580 echo "configure: failed program was:" >&5
11581 cat conftest.
$ac_ext >&5
11583 eval "ac_cv_header_$ac_safe=no"
11587 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11588 echo "$ac_t""yes" 1>&6
11589 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11590 cat >> confdefs.h
<<EOF
11591 #define $ac_tr_hdr 1
11595 echo "$ac_t""no" 1>&6
11599 for ac_hdr
in fnmatch.h
11601 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11602 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11603 echo "configure:11604: checking for $ac_hdr" >&5
11604 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11605 echo $ac_n "(cached) $ac_c" 1>&6
11607 cat > conftest.
$ac_ext <<EOF
11608 #line 11609 "configure"
11609 #include "confdefs.h"
11612 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11613 { (eval echo configure
:11614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11614 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11615 if test -z "$ac_err"; then
11617 eval "ac_cv_header_$ac_safe=yes"
11620 echo "configure: failed program was:" >&5
11621 cat conftest.
$ac_ext >&5
11623 eval "ac_cv_header_$ac_safe=no"
11627 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11628 echo "$ac_t""yes" 1>&6
11629 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11630 cat >> confdefs.h
<<EOF
11631 #define $ac_tr_hdr 1
11635 echo "$ac_t""no" 1>&6
11639 for ac_hdr
in iconv.h
11641 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11642 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11643 echo "configure:11644: checking for $ac_hdr" >&5
11644 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11645 echo $ac_n "(cached) $ac_c" 1>&6
11647 cat > conftest.
$ac_ext <<EOF
11648 #line 11649 "configure"
11649 #include "confdefs.h"
11652 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11653 { (eval echo configure
:11654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11654 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11655 if test -z "$ac_err"; then
11657 eval "ac_cv_header_$ac_safe=yes"
11660 echo "configure: failed program was:" >&5
11661 cat conftest.
$ac_ext >&5
11663 eval "ac_cv_header_$ac_safe=no"
11667 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11668 echo "$ac_t""yes" 1>&6
11669 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11670 cat >> confdefs.h
<<EOF
11671 #define $ac_tr_hdr 1
11675 echo "$ac_t""no" 1>&6
11679 for ac_hdr
in langinfo.h
11681 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11682 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11683 echo "configure:11684: checking for $ac_hdr" >&5
11684 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11685 echo $ac_n "(cached) $ac_c" 1>&6
11687 cat > conftest.
$ac_ext <<EOF
11688 #line 11689 "configure"
11689 #include "confdefs.h"
11692 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11693 { (eval echo configure
:11694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11694 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11695 if test -z "$ac_err"; then
11697 eval "ac_cv_header_$ac_safe=yes"
11700 echo "configure: failed program was:" >&5
11701 cat conftest.
$ac_ext >&5
11703 eval "ac_cv_header_$ac_safe=no"
11707 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11708 echo "$ac_t""yes" 1>&6
11709 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11710 cat >> confdefs.h
<<EOF
11711 #define $ac_tr_hdr 1
11715 echo "$ac_t""no" 1>&6
11720 if test "$wxUSE_GUI" = "yes"; then
11721 if test "$wxUSE_UNIX" = "yes"; then
11722 for ac_hdr
in X
11/XKBlib.h
11724 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11725 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11726 echo "configure:11727: checking for $ac_hdr" >&5
11727 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11728 echo $ac_n "(cached) $ac_c" 1>&6
11730 cat > conftest.
$ac_ext <<EOF
11731 #line 11732 "configure"
11732 #include "confdefs.h"
11735 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11736 { (eval echo configure
:11737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11737 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11738 if test -z "$ac_err"; then
11740 eval "ac_cv_header_$ac_safe=yes"
11743 echo "configure: failed program was:" >&5
11744 cat conftest.
$ac_ext >&5
11746 eval "ac_cv_header_$ac_safe=no"
11750 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11751 echo "$ac_t""yes" 1>&6
11752 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11753 cat >> confdefs.h
<<EOF
11754 #define $ac_tr_hdr 1
11758 echo "$ac_t""no" 1>&6
11766 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11767 echo "configure:11768: checking for ANSI C header files" >&5
11768 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11769 echo $ac_n "(cached) $ac_c" 1>&6
11771 cat > conftest.
$ac_ext <<EOF
11772 #line 11773 "configure"
11773 #include "confdefs.h"
11774 #include <stdlib.h>
11775 #include <stdarg.h>
11776 #include <string.h>
11779 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11780 { (eval echo configure
:11781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11781 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11782 if test -z "$ac_err"; then
11784 ac_cv_header_stdc
=yes
11787 echo "configure: failed program was:" >&5
11788 cat conftest.
$ac_ext >&5
11790 ac_cv_header_stdc
=no
11794 if test $ac_cv_header_stdc = yes; then
11795 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11796 cat > conftest.
$ac_ext <<EOF
11797 #line 11798 "configure"
11798 #include "confdefs.h"
11799 #include <string.h>
11801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11802 egrep "memchr" >/dev
/null
2>&1; then
11806 ac_cv_header_stdc
=no
11812 if test $ac_cv_header_stdc = yes; then
11813 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11814 cat > conftest.
$ac_ext <<EOF
11815 #line 11816 "configure"
11816 #include "confdefs.h"
11817 #include <stdlib.h>
11819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11820 egrep "free" >/dev
/null
2>&1; then
11824 ac_cv_header_stdc
=no
11830 if test $ac_cv_header_stdc = yes; then
11831 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11832 if test "$cross_compiling" = yes; then
11835 cat > conftest.
$ac_ext <<EOF
11836 #line 11837 "configure"
11837 #include "confdefs.h"
11839 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11840 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11841 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11842 int main () { int i; for (i = 0; i < 256; i++)
11843 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11847 if { (eval echo configure
:11848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11851 echo "configure: failed program was:" >&5
11852 cat conftest.
$ac_ext >&5
11854 ac_cv_header_stdc
=no
11862 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11863 if test $ac_cv_header_stdc = yes; then
11864 cat >> confdefs.h
<<\EOF
11865 #define STDC_HEADERS 1
11870 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11871 echo "configure:11872: checking for mode_t" >&5
11872 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11873 echo $ac_n "(cached) $ac_c" 1>&6
11875 cat > conftest.
$ac_ext <<EOF
11876 #line 11877 "configure"
11877 #include "confdefs.h"
11878 #include <sys/types.h>
11880 #include <stdlib.h>
11881 #include <stddef.h>
11884 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11885 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11887 ac_cv_type_mode_t
=yes
11890 ac_cv_type_mode_t
=no
11895 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11896 if test $ac_cv_type_mode_t = no
; then
11897 cat >> confdefs.h
<<\EOF
11903 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11904 echo "configure:11905: checking for off_t" >&5
11905 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11906 echo $ac_n "(cached) $ac_c" 1>&6
11908 cat > conftest.
$ac_ext <<EOF
11909 #line 11910 "configure"
11910 #include "confdefs.h"
11911 #include <sys/types.h>
11913 #include <stdlib.h>
11914 #include <stddef.h>
11917 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11918 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11920 ac_cv_type_off_t
=yes
11923 ac_cv_type_off_t
=no
11928 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11929 if test $ac_cv_type_off_t = no
; then
11930 cat >> confdefs.h
<<\EOF
11936 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11937 echo "configure:11938: checking for pid_t" >&5
11938 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11939 echo $ac_n "(cached) $ac_c" 1>&6
11941 cat > conftest.
$ac_ext <<EOF
11942 #line 11943 "configure"
11943 #include "confdefs.h"
11944 #include <sys/types.h>
11946 #include <stdlib.h>
11947 #include <stddef.h>
11950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11951 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11953 ac_cv_type_pid_t
=yes
11956 ac_cv_type_pid_t
=no
11961 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11962 if test $ac_cv_type_pid_t = no
; then
11963 cat >> confdefs.h
<<\EOF
11969 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11970 echo "configure:11971: checking for size_t" >&5
11971 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11972 echo $ac_n "(cached) $ac_c" 1>&6
11974 cat > conftest.
$ac_ext <<EOF
11975 #line 11976 "configure"
11976 #include "confdefs.h"
11977 #include <sys/types.h>
11979 #include <stdlib.h>
11980 #include <stddef.h>
11983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11984 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11986 ac_cv_type_size_t
=yes
11989 ac_cv_type_size_t
=no
11994 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11995 if test $ac_cv_type_size_t = no
; then
11996 cat >> confdefs.h
<<\EOF
11997 #define size_t unsigned
12002 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
12003 echo "configure:12004: checking for uid_t in sys/types.h" >&5
12004 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
12005 echo $ac_n "(cached) $ac_c" 1>&6
12007 cat > conftest.
$ac_ext <<EOF
12008 #line 12009 "configure"
12009 #include "confdefs.h"
12010 #include <sys/types.h>
12012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12013 egrep "uid_t" >/dev
/null
2>&1; then
12015 ac_cv_type_uid_t
=yes
12018 ac_cv_type_uid_t
=no
12024 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
12025 if test $ac_cv_type_uid_t = no
; then
12026 cat >> confdefs.h
<<\EOF
12030 cat >> confdefs.h
<<\EOF
12037 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
12038 echo "configure:12039: checking for wchar_t" >&5
12039 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
12040 echo $ac_n "(cached) $ac_c" 1>&6
12043 cat > conftest.
$ac_ext <<EOF
12044 #line 12045 "configure"
12045 #include "confdefs.h"
12051 ws = L"Hello, world!";
12055 if { (eval echo configure
:12056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12057 wx_cv_type_wchar_t
=yes
12059 echo "configure: failed program was:" >&5
12060 cat conftest.
$ac_ext >&5
12062 cat > conftest.
$ac_ext <<EOF
12063 #line 12064 "configure"
12064 #include "confdefs.h"
12065 #include <stdlib.h>
12070 ws = L"Hello, world!";
12074 if { (eval echo configure
:12075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12076 wx_cv_type_wchar_t
=yes
12078 echo "configure: failed program was:" >&5
12079 cat conftest.
$ac_ext >&5
12081 wx_cv_type_wchar_t
=no
12090 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
12092 if test "$wx_cv_type_wchar_t" = "yes"; then
12093 cat >> confdefs.h
<<\EOF
12094 #define wxUSE_WCHAR_T 1
12101 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12102 ac_cpp
='$CXXCPP $CPPFLAGS'
12103 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12104 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12105 cross_compiling
=$ac_cv_prog_cxx_cross
12107 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
12108 echo "configure:12109: checking if size_t is unsigned int" >&5
12109 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
12110 echo $ac_n "(cached) $ac_c" 1>&6
12112 cat > conftest.
$ac_ext <<EOF
12113 #line 12114 "configure"
12114 #include "confdefs.h"
12115 #include <stddef.h>
12120 struct Foo { void foo(size_t); void foo(unsigned int); };
12126 if { (eval echo configure
:12127: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12128 wx_cv_size_t_is_uint
=no
12130 echo "configure: failed program was:" >&5
12131 cat conftest.
$ac_ext >&5
12133 wx_cv_size_t_is_uint
=yes
12140 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
12142 if test "$wx_cv_size_t_is_uint" = "yes"; then
12143 cat >> confdefs.h
<<\EOF
12144 #define wxSIZE_T_IS_UINT 1
12148 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
12149 echo "configure:12150: checking if size_t is unsigned long" >&5
12150 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
12151 echo $ac_n "(cached) $ac_c" 1>&6
12153 cat > conftest.
$ac_ext <<EOF
12154 #line 12155 "configure"
12155 #include "confdefs.h"
12156 #include <stddef.h>
12161 struct Foo { void foo(size_t); void foo(unsigned long); };
12167 if { (eval echo configure
:12168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12169 wx_cv_size_t_is_ulong
=no
12171 echo "configure: failed program was:" >&5
12172 cat conftest.
$ac_ext >&5
12174 wx_cv_size_t_is_ulong
=yes
12181 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
12183 if test "$wx_cv_size_t_is_ulong" = "yes"; then
12184 cat >> confdefs.h
<<\EOF
12185 #define wxSIZE_T_IS_ULONG 1
12192 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12193 ac_cpp
='$CPP $CPPFLAGS'
12194 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12195 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12196 cross_compiling
=$ac_cv_prog_cc_cross
12200 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
12201 echo "configure:12202: checking for pw_gecos in struct passwd" >&5
12202 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
12203 echo $ac_n "(cached) $ac_c" 1>&6
12206 cat > conftest.
$ac_ext <<EOF
12207 #line 12208 "configure"
12208 #include "confdefs.h"
12218 if { (eval echo configure
:12219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12221 wx_cv_struct_pw_gecos
=yes
12224 echo "configure: failed program was:" >&5
12225 cat conftest.
$ac_ext >&5
12228 wx_cv_struct_pw_gecos
=no
12237 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
12239 if test "$wx_cv_struct_pw_gecos" = "yes"; then
12240 cat >> confdefs.h
<<\EOF
12241 #define HAVE_PW_GECOS 1
12247 echo $ac_n "checking for working const""... $ac_c" 1>&6
12248 echo "configure:12249: checking for working const" >&5
12249 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
12250 echo $ac_n "(cached) $ac_c" 1>&6
12252 cat > conftest.
$ac_ext <<EOF
12253 #line 12254 "configure"
12254 #include "confdefs.h"
12258 /* Ultrix mips cc rejects this. */
12259 typedef int charset[2]; const charset x;
12260 /* SunOS 4.1.1 cc rejects this. */
12261 char const *const *ccp;
12263 /* NEC SVR4.0.2 mips cc rejects this. */
12264 struct point {int x, y;};
12265 static struct point const zero = {0,0};
12266 /* AIX XL C 1.02.0.0 rejects this.
12267 It does not let you subtract one const X* pointer from another in an arm
12268 of an if-expression whose if-part is not a constant expression */
12269 const char *g = "string";
12270 ccp = &g + (g ? g-g : 0);
12271 /* HPUX 7.0 cc rejects these. */
12274 ccp = (char const *const *) p;
12275 { /* SCO 3.2v4 cc rejects this. */
12277 char const *s = 0 ? (char *) 0 : (char const *) 0;
12281 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12282 int x[] = {25, 17};
12283 const int *foo = &x[0];
12286 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12287 typedef const int *iptr;
12291 { /* AIX XL C 1.02.0.0 rejects this saying
12292 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12293 struct s { int j; const int *ap[3]; };
12294 struct s *b; b->j = 5;
12296 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12297 const int foo = 10;
12302 if { (eval echo configure
:12303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12306 echo "configure: failed program was:" >&5
12307 cat conftest.
$ac_ext >&5
12314 echo "$ac_t""$ac_cv_c_const" 1>&6
12315 if test $ac_cv_c_const = no
; then
12316 cat >> confdefs.h
<<\EOF
12322 echo $ac_n "checking for inline""... $ac_c" 1>&6
12323 echo "configure:12324: checking for inline" >&5
12324 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
12325 echo $ac_n "(cached) $ac_c" 1>&6
12328 for ac_kw
in inline __inline__ __inline
; do
12329 cat > conftest.
$ac_ext <<EOF
12330 #line 12331 "configure"
12331 #include "confdefs.h"
12337 if { (eval echo configure
:12338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12339 ac_cv_c_inline
=$ac_kw; break
12341 echo "configure: failed program was:" >&5
12342 cat conftest.
$ac_ext >&5
12349 echo "$ac_t""$ac_cv_c_inline" 1>&6
12350 case "$ac_cv_c_inline" in
12352 no
) cat >> confdefs.h
<<\EOF
12356 *) cat >> confdefs.h
<<EOF
12357 #define inline $ac_cv_c_inline
12363 echo $ac_n "checking size of char""... $ac_c" 1>&6
12364 echo "configure:12365: checking size of char" >&5
12365 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
12366 echo $ac_n "(cached) $ac_c" 1>&6
12368 if test "$cross_compiling" = yes; then
12369 ac_cv_sizeof_char
=1
12371 cat > conftest.
$ac_ext <<EOF
12372 #line 12373 "configure"
12373 #include "confdefs.h"
12377 FILE *f=fopen("conftestval", "w");
12379 fprintf(f, "%d\n", sizeof(char));
12383 if { (eval echo configure
:12384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12385 ac_cv_sizeof_char
=`cat conftestval`
12387 echo "configure: failed program was:" >&5
12388 cat conftest.
$ac_ext >&5
12390 ac_cv_sizeof_char
=0
12396 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
12397 cat >> confdefs.h
<<EOF
12398 #define SIZEOF_CHAR $ac_cv_sizeof_char
12402 echo $ac_n "checking size of short""... $ac_c" 1>&6
12403 echo "configure:12404: checking size of short" >&5
12404 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
12405 echo $ac_n "(cached) $ac_c" 1>&6
12407 if test "$cross_compiling" = yes; then
12408 ac_cv_sizeof_short
=2
12410 cat > conftest.
$ac_ext <<EOF
12411 #line 12412 "configure"
12412 #include "confdefs.h"
12416 FILE *f=fopen("conftestval", "w");
12418 fprintf(f, "%d\n", sizeof(short));
12422 if { (eval echo configure
:12423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12424 ac_cv_sizeof_short
=`cat conftestval`
12426 echo "configure: failed program was:" >&5
12427 cat conftest.
$ac_ext >&5
12429 ac_cv_sizeof_short
=0
12435 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
12436 cat >> confdefs.h
<<EOF
12437 #define SIZEOF_SHORT $ac_cv_sizeof_short
12441 echo $ac_n "checking size of int *""... $ac_c" 1>&6
12442 echo "configure:12443: checking size of int *" >&5
12443 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
12444 echo $ac_n "(cached) $ac_c" 1>&6
12446 if test "$cross_compiling" = yes; then
12447 ac_cv_sizeof_int_p
=4
12449 cat > conftest.
$ac_ext <<EOF
12450 #line 12451 "configure"
12451 #include "confdefs.h"
12455 FILE *f=fopen("conftestval", "w");
12457 fprintf(f, "%d\n", sizeof(int *));
12461 if { (eval echo configure
:12462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12463 ac_cv_sizeof_int_p
=`cat conftestval`
12465 echo "configure: failed program was:" >&5
12466 cat conftest.
$ac_ext >&5
12468 ac_cv_sizeof_int_p
=0
12474 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
12475 cat >> confdefs.h
<<EOF
12476 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
12480 echo $ac_n "checking size of int""... $ac_c" 1>&6
12481 echo "configure:12482: checking size of int" >&5
12482 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
12483 echo $ac_n "(cached) $ac_c" 1>&6
12485 if test "$cross_compiling" = yes; then
12488 cat > conftest.
$ac_ext <<EOF
12489 #line 12490 "configure"
12490 #include "confdefs.h"
12494 FILE *f=fopen("conftestval", "w");
12496 fprintf(f, "%d\n", sizeof(int));
12500 if { (eval echo configure
:12501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12502 ac_cv_sizeof_int
=`cat conftestval`
12504 echo "configure: failed program was:" >&5
12505 cat conftest.
$ac_ext >&5
12513 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
12514 cat >> confdefs.h
<<EOF
12515 #define SIZEOF_INT $ac_cv_sizeof_int
12519 echo $ac_n "checking size of long""... $ac_c" 1>&6
12520 echo "configure:12521: checking size of long" >&5
12521 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
12522 echo $ac_n "(cached) $ac_c" 1>&6
12524 if test "$cross_compiling" = yes; then
12525 ac_cv_sizeof_long
=4
12527 cat > conftest.
$ac_ext <<EOF
12528 #line 12529 "configure"
12529 #include "confdefs.h"
12533 FILE *f=fopen("conftestval", "w");
12535 fprintf(f, "%d\n", sizeof(long));
12539 if { (eval echo configure
:12540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12541 ac_cv_sizeof_long
=`cat conftestval`
12543 echo "configure: failed program was:" >&5
12544 cat conftest.
$ac_ext >&5
12546 ac_cv_sizeof_long
=0
12552 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
12553 cat >> confdefs.h
<<EOF
12554 #define SIZEOF_LONG $ac_cv_sizeof_long
12558 echo $ac_n "checking size of long long""... $ac_c" 1>&6
12559 echo "configure:12560: checking size of long long" >&5
12560 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
12561 echo $ac_n "(cached) $ac_c" 1>&6
12563 if test "$cross_compiling" = yes; then
12564 ac_cv_sizeof_long_long
=0
12566 cat > conftest.
$ac_ext <<EOF
12567 #line 12568 "configure"
12568 #include "confdefs.h"
12572 FILE *f=fopen("conftestval", "w");
12574 fprintf(f, "%d\n", sizeof(long long));
12578 if { (eval echo configure
:12579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12580 ac_cv_sizeof_long_long
=`cat conftestval`
12582 echo "configure: failed program was:" >&5
12583 cat conftest.
$ac_ext >&5
12585 ac_cv_sizeof_long_long
=0
12591 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
12592 cat >> confdefs.h
<<EOF
12593 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12598 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
12599 echo "configure:12600: checking size of wchar_t" >&5
12600 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
12601 echo $ac_n "(cached) $ac_c" 1>&6
12604 if test "$cross_compiling" = yes; then
12605 wx_cv_sizeof_wchar_t
=4
12608 cat > conftest.
$ac_ext <<EOF
12609 #line 12610 "configure"
12610 #include "confdefs.h"
12612 #ifdef HAVE_WCHAR_H
12613 # include <wchar.h>
12615 #ifdef HAVE_STDLIB_H
12616 # include <stdlib.h>
12621 FILE *f=fopen("conftestval", "w");
12623 fprintf(f, "%i", sizeof(wchar_t));
12628 if { (eval echo configure
:12629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12630 wx_cv_sizeof_wchar_t
=`cat conftestval`
12632 echo "configure: failed program was:" >&5
12633 cat conftest.
$ac_ext >&5
12635 wx_cv_sizeof_wchar_t
=0
12643 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
12645 cat >> confdefs.h
<<EOF
12646 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
12650 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
12651 echo "configure:12652: checking whether byte ordering is bigendian" >&5
12652 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
12653 echo $ac_n "(cached) $ac_c" 1>&6
12655 ac_cv_c_bigendian
=unknown
12656 # See if sys/param.h defines the BYTE_ORDER macro.
12657 cat > conftest.
$ac_ext <<EOF
12658 #line 12659 "configure"
12659 #include "confdefs.h"
12660 #include <sys/types.h>
12661 #include <sys/param.h>
12664 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12665 bogus endian macros
12669 if { (eval echo configure
:12670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12671 # It does; now see whether it defined to BIG_ENDIAN or not.
12672 cat > conftest.
$ac_ext <<EOF
12673 #line 12674 "configure"
12674 #include "confdefs.h"
12675 #include <sys/types.h>
12676 #include <sys/param.h>
12679 #if BYTE_ORDER != BIG_ENDIAN
12684 if { (eval echo configure
:12685: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12686 ac_cv_c_bigendian
=yes
12688 echo "configure: failed program was:" >&5
12689 cat conftest.
$ac_ext >&5
12691 ac_cv_c_bigendian
=no
12695 echo "configure: failed program was:" >&5
12696 cat conftest.
$ac_ext >&5
12699 if test $ac_cv_c_bigendian = unknown
; then
12700 if test "$cross_compiling" = yes; then
12701 ac_cv_c_bigendian
=unknown
12703 cat > conftest.
$ac_ext <<EOF
12704 #line 12705 "configure"
12705 #include "confdefs.h"
12707 /* Are we little or big endian? From Harbison&Steele. */
12711 char c[sizeof (long)];
12714 exit (u.c[sizeof (long) - 1] == 1);
12717 if { (eval echo configure
:12718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12719 ac_cv_c_bigendian
=no
12721 echo "configure: failed program was:" >&5
12722 cat conftest.
$ac_ext >&5
12724 ac_cv_c_bigendian
=yes
12732 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12733 if test $ac_cv_c_bigendian = unknown
; then
12734 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
12736 if test $ac_cv_c_bigendian = yes; then
12737 cat >> confdefs.h
<<\EOF
12738 #define WORDS_BIGENDIAN 1
12744 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
12745 echo "configure:12746: checking how to run the C++ preprocessor" >&5
12746 if test -z "$CXXCPP"; then
12747 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
12748 echo $ac_n "(cached) $ac_c" 1>&6
12751 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12752 ac_cpp
='$CXXCPP $CPPFLAGS'
12753 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12754 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12755 cross_compiling
=$ac_cv_prog_cxx_cross
12756 CXXCPP
="${CXX-g++} -E"
12757 cat > conftest.
$ac_ext <<EOF
12758 #line 12759 "configure"
12759 #include "confdefs.h"
12760 #include <stdlib.h>
12762 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12763 { (eval echo configure
:12764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12764 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12765 if test -z "$ac_err"; then
12769 echo "configure: failed program was:" >&5
12770 cat conftest.
$ac_ext >&5
12775 ac_cv_prog_CXXCPP
="$CXXCPP"
12777 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12778 ac_cpp
='$CXXCPP $CPPFLAGS'
12779 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12780 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12781 cross_compiling
=$ac_cv_prog_cxx_cross
12784 CXXCPP
="$ac_cv_prog_CXXCPP"
12785 echo "$ac_t""$CXXCPP" 1>&6
12788 if test "$cross_compiling" = "yes"; then
12789 cat >> confdefs.h
<<\EOF
12790 #define wxUSE_IOSTREAMH 1
12796 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12797 ac_cpp
='$CXXCPP $CPPFLAGS'
12798 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12799 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12800 cross_compiling
=$ac_cv_prog_cxx_cross
12803 for ac_hdr
in iostream
12805 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12806 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12807 echo "configure:12808: checking for $ac_hdr" >&5
12808 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12809 echo $ac_n "(cached) $ac_c" 1>&6
12811 cat > conftest.
$ac_ext <<EOF
12812 #line 12813 "configure"
12813 #include "confdefs.h"
12816 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12817 { (eval echo configure
:12818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12818 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12819 if test -z "$ac_err"; then
12821 eval "ac_cv_header_$ac_safe=yes"
12824 echo "configure: failed program was:" >&5
12825 cat conftest.
$ac_ext >&5
12827 eval "ac_cv_header_$ac_safe=no"
12831 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12832 echo "$ac_t""yes" 1>&6
12833 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12834 cat >> confdefs.h
<<EOF
12835 #define $ac_tr_hdr 1
12839 echo "$ac_t""no" 1>&6
12844 if test "$ac_cv_header_iostream" = "yes" ; then
12847 cat >> confdefs.h
<<\EOF
12848 #define wxUSE_IOSTREAMH 1
12854 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12855 ac_cpp
='$CPP $CPPFLAGS'
12856 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12857 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12858 cross_compiling
=$ac_cv_prog_cc_cross
12864 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12865 echo "configure:12866: checking if C++ compiler supports bool" >&5
12866 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12867 echo $ac_n "(cached) $ac_c" 1>&6
12872 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12873 ac_cpp
='$CXXCPP $CPPFLAGS'
12874 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12875 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12876 cross_compiling
=$ac_cv_prog_cxx_cross
12879 cat > conftest.
$ac_ext <<EOF
12880 #line 12881 "configure"
12881 #include "confdefs.h"
12892 if { (eval echo configure
:12893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12898 echo "configure: failed program was:" >&5
12899 cat conftest.
$ac_ext >&5
12909 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12910 ac_cpp
='$CPP $CPPFLAGS'
12911 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12912 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12913 cross_compiling
=$ac_cv_prog_cc_cross
12918 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12920 if test "$wx_cv_cpp_bool" = "yes"; then
12921 cat >> confdefs.h
<<\EOF
12922 #define HAVE_BOOL 1
12929 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12930 echo "configure:12931: checking for wcslen in -lc" >&5
12931 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12932 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12933 echo $ac_n "(cached) $ac_c" 1>&6
12935 ac_save_LIBS
="$LIBS"
12937 cat > conftest.
$ac_ext <<EOF
12938 #line 12939 "configure"
12939 #include "confdefs.h"
12940 /* Override any gcc2 internal prototype to avoid an error. */
12941 /* We use char because int might match the return type of a gcc2
12942 builtin and then its argument prototype would still apply. */
12949 if { (eval echo configure
:12950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12951 eval "ac_cv_lib_$ac_lib_var=yes"
12953 echo "configure: failed program was:" >&5
12954 cat conftest.
$ac_ext >&5
12956 eval "ac_cv_lib_$ac_lib_var=no"
12959 LIBS
="$ac_save_LIBS"
12962 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12963 echo "$ac_t""yes" 1>&6
12965 cat >> confdefs.h
<<\EOF
12966 #define HAVE_WCSLEN 1
12972 echo "$ac_t""no" 1>&6
12974 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12975 echo "configure:12976: checking for wcslen in -lw" >&5
12976 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12977 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12978 echo $ac_n "(cached) $ac_c" 1>&6
12980 ac_save_LIBS
="$LIBS"
12982 cat > conftest.
$ac_ext <<EOF
12983 #line 12984 "configure"
12984 #include "confdefs.h"
12985 /* Override any gcc2 internal prototype to avoid an error. */
12986 /* We use char because int might match the return type of a gcc2
12987 builtin and then its argument prototype would still apply. */
12994 if { (eval echo configure
:12995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12996 eval "ac_cv_lib_$ac_lib_var=yes"
12998 echo "configure: failed program was:" >&5
12999 cat conftest.
$ac_ext >&5
13001 eval "ac_cv_lib_$ac_lib_var=no"
13004 LIBS
="$ac_save_LIBS"
13007 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13008 echo "$ac_t""yes" 1>&6
13010 cat >> confdefs.h
<<\EOF
13011 #define HAVE_WCSLEN 1
13017 echo "$ac_t""no" 1>&6
13019 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
13020 echo "configure:13021: checking for wcslen in -lmsvcrt" >&5
13021 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
13022 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13023 echo $ac_n "(cached) $ac_c" 1>&6
13025 ac_save_LIBS
="$LIBS"
13026 LIBS
="-lmsvcrt $LIBS"
13027 cat > conftest.
$ac_ext <<EOF
13028 #line 13029 "configure"
13029 #include "confdefs.h"
13030 /* Override any gcc2 internal prototype to avoid an error. */
13031 /* We use char because int might match the return type of a gcc2
13032 builtin and then its argument prototype would still apply. */
13039 if { (eval echo configure
:13040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13041 eval "ac_cv_lib_$ac_lib_var=yes"
13043 echo "configure: failed program was:" >&5
13044 cat conftest.
$ac_ext >&5
13046 eval "ac_cv_lib_$ac_lib_var=no"
13049 LIBS
="$ac_save_LIBS"
13052 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13053 echo "$ac_t""yes" 1>&6
13055 cat >> confdefs.h
<<\EOF
13056 #define HAVE_WCSLEN 1
13062 echo "$ac_t""no" 1>&6
13072 for ac_func
in wcsrtombs
13074 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13075 echo "configure:13076: checking for $ac_func" >&5
13076 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13077 echo $ac_n "(cached) $ac_c" 1>&6
13079 cat > conftest.
$ac_ext <<EOF
13080 #line 13081 "configure"
13081 #include "confdefs.h"
13082 /* System header to define __stub macros and hopefully few prototypes,
13083 which can conflict with char $ac_func(); below. */
13084 #include <assert.h>
13085 /* Override any gcc2 internal prototype to avoid an error. */
13086 /* We use char because int might match the return type of a gcc2
13087 builtin and then its argument prototype would still apply. */
13092 /* The GNU C library defines this for functions which it implements
13093 to always fail with ENOSYS. Some functions are actually named
13094 something starting with __ and the normal name is an alias. */
13095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13103 if { (eval echo configure
:13104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13105 eval "ac_cv_func_$ac_func=yes"
13107 echo "configure: failed program was:" >&5
13108 cat conftest.
$ac_ext >&5
13110 eval "ac_cv_func_$ac_func=no"
13115 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13116 echo "$ac_t""yes" 1>&6
13117 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13118 cat >> confdefs.h
<<EOF
13119 #define $ac_tr_func 1
13123 echo "$ac_t""no" 1>&6
13128 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
13129 echo "configure:13130: checking for vprintf" >&5
13130 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
13131 echo $ac_n "(cached) $ac_c" 1>&6
13133 cat > conftest.
$ac_ext <<EOF
13134 #line 13135 "configure"
13135 #include "confdefs.h"
13136 /* System header to define __stub macros and hopefully few prototypes,
13137 which can conflict with char vprintf(); below. */
13138 #include <assert.h>
13139 /* Override any gcc2 internal prototype to avoid an error. */
13140 /* We use char because int might match the return type of a gcc2
13141 builtin and then its argument prototype would still apply. */
13146 /* The GNU C library defines this for functions which it implements
13147 to always fail with ENOSYS. Some functions are actually named
13148 something starting with __ and the normal name is an alias. */
13149 #if defined (__stub_vprintf) || defined (__stub___vprintf)
13157 if { (eval echo configure
:13158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13159 eval "ac_cv_func_vprintf=yes"
13161 echo "configure: failed program was:" >&5
13162 cat conftest.
$ac_ext >&5
13164 eval "ac_cv_func_vprintf=no"
13169 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
13170 echo "$ac_t""yes" 1>&6
13171 cat >> confdefs.h
<<\EOF
13172 #define HAVE_VPRINTF 1
13176 echo "$ac_t""no" 1>&6
13179 if test "$ac_cv_func_vprintf" != yes; then
13180 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
13181 echo "configure:13182: checking for _doprnt" >&5
13182 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
13183 echo $ac_n "(cached) $ac_c" 1>&6
13185 cat > conftest.
$ac_ext <<EOF
13186 #line 13187 "configure"
13187 #include "confdefs.h"
13188 /* System header to define __stub macros and hopefully few prototypes,
13189 which can conflict with char _doprnt(); below. */
13190 #include <assert.h>
13191 /* Override any gcc2 internal prototype to avoid an error. */
13192 /* We use char because int might match the return type of a gcc2
13193 builtin and then its argument prototype would still apply. */
13198 /* The GNU C library defines this for functions which it implements
13199 to always fail with ENOSYS. Some functions are actually named
13200 something starting with __ and the normal name is an alias. */
13201 #if defined (__stub__doprnt) || defined (__stub____doprnt)
13209 if { (eval echo configure
:13210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13211 eval "ac_cv_func__doprnt=yes"
13213 echo "configure: failed program was:" >&5
13214 cat conftest.
$ac_ext >&5
13216 eval "ac_cv_func__doprnt=no"
13221 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
13222 echo "$ac_t""yes" 1>&6
13223 cat >> confdefs.h
<<\EOF
13224 #define HAVE_DOPRNT 1
13228 echo "$ac_t""no" 1>&6
13238 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
13239 echo "configure:13240: checking for vsnprintf" >&5
13240 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
13241 echo $ac_n "(cached) $ac_c" 1>&6
13244 cat > conftest.
$ac_ext <<EOF
13245 #line 13246 "configure"
13246 #include "confdefs.h"
13249 #include <stdarg.h>
13253 int wx_test_vsnprintf(const char *, ...);
13255 wx_test_vsnprintf("%s");
13259 int wx_test_vsnprintf(const char *fmt, ...)
13264 va_start(argp, fmt);
13265 vsnprintf(s, 42, fmt, argp);
13270 if { (eval echo configure
:13271: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13273 wx_cv_func_vsnprintf
=yes
13276 echo "configure: failed program was:" >&5
13277 cat conftest.
$ac_ext >&5
13280 cat > conftest.
$ac_ext <<EOF
13281 #line 13282 "configure"
13282 #include "confdefs.h"
13285 #include <stdarg.h>
13289 int wx_test_vsnprintf(const char *, ...);
13291 wx_test_vsnprintf("%s");
13295 int wx_test_vsnprintf(const char *fmt, ...)
13300 va_start(argp, fmt);
13301 _vsnprintf(s, 42, fmt, argp);
13306 if { (eval echo configure
:13307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13309 wx_cv_func_vsnprintf
=yes
13312 echo "configure: failed program was:" >&5
13313 cat conftest.
$ac_ext >&5
13316 wx_cv_func_vsnprintf
=no
13326 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
13328 if test "$wx_cv_func_vsnprintf" = yes; then
13329 cat >> confdefs.h
<<\EOF
13330 #define HAVE_VSNPRINTF 1
13334 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
13337 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
13338 echo "configure:13339: checking for vsscanf" >&5
13339 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
13340 echo $ac_n "(cached) $ac_c" 1>&6
13343 cat > conftest.
$ac_ext <<EOF
13344 #line 13345 "configure"
13345 #include "confdefs.h"
13348 #include <stdarg.h>
13352 int wx_test_vsscanf(const char *, ...);
13354 wx_test_vsscanf("%d");
13358 int wx_test_vsscanf(const char *fmt, ...)
13361 va_start(argp, fmt);
13362 vsscanf("42", fmt, argp);
13367 if { (eval echo configure
:13368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13370 wx_cv_func_vsscanf
=yes
13373 echo "configure: failed program was:" >&5
13374 cat conftest.
$ac_ext >&5
13377 wx_cv_func_vsscanf
=no
13384 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
13386 if test "$wx_cv_func_vsscanf" = yes; then
13387 cat >> confdefs.h
<<\EOF
13388 #define HAVE_VSSCANF 1
13393 if test "$TOOLKIT" != "MSW"; then
13398 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13399 ac_cpp
='$CXXCPP $CPPFLAGS'
13400 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13401 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13402 cross_compiling
=$ac_cv_prog_cxx_cross
13404 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
13405 echo "configure:13406: checking if iconv() takes char**" >&5
13406 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
13407 echo $ac_n "(cached) $ac_c" 1>&6
13410 cat > conftest.
$ac_ext <<EOF
13411 #line 13412 "configure"
13412 #include "confdefs.h"
13416 char **inbuf, **outbuf;
13418 size_t insz, outsz;
13419 iconv(cd, inbuf, &insz, outbuf, &outsz);
13423 if { (eval echo configure
:13424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13425 wx_cv_iconv_takes_char
=yes
13427 echo "configure: failed program was:" >&5
13428 cat conftest.
$ac_ext >&5
13430 wx_cv_iconv_takes_char
=no
13436 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
13438 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13439 ac_cpp
='$CPP $CPPFLAGS'
13440 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13441 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13442 cross_compiling
=$ac_cv_prog_cc_cross
13444 if test "$wx_cv_iconv_takes_char" = yes ; then
13445 cat >> confdefs.h
<<\EOF
13446 #define WX_ICONV_TAKES_CHAR 1
13452 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
13453 for ac_func
in sigaction
13455 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13456 echo "configure:13457: checking for $ac_func" >&5
13457 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13458 echo $ac_n "(cached) $ac_c" 1>&6
13460 cat > conftest.
$ac_ext <<EOF
13461 #line 13462 "configure"
13462 #include "confdefs.h"
13463 /* System header to define __stub macros and hopefully few prototypes,
13464 which can conflict with char $ac_func(); below. */
13465 #include <assert.h>
13466 /* Override any gcc2 internal prototype to avoid an error. */
13467 /* We use char because int might match the return type of a gcc2
13468 builtin and then its argument prototype would still apply. */
13473 /* The GNU C library defines this for functions which it implements
13474 to always fail with ENOSYS. Some functions are actually named
13475 something starting with __ and the normal name is an alias. */
13476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13484 if { (eval echo configure
:13485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13486 eval "ac_cv_func_$ac_func=yes"
13488 echo "configure: failed program was:" >&5
13489 cat conftest.
$ac_ext >&5
13491 eval "ac_cv_func_$ac_func=no"
13496 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13497 echo "$ac_t""yes" 1>&6
13498 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13499 cat >> confdefs.h
<<EOF
13500 #define $ac_tr_func 1
13504 echo "$ac_t""no" 1>&6
13509 if test "$ac_cv_func_sigaction" = "no"; then
13510 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
13511 wxUSE_ON_FATAL_EXCEPTION
=no
13514 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13517 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13518 ac_cpp
='$CXXCPP $CPPFLAGS'
13519 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13520 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13521 cross_compiling
=$ac_cv_prog_cxx_cross
13524 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
13525 echo "configure:13526: checking for sa_handler type" >&5
13526 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
13527 echo $ac_n "(cached) $ac_c" 1>&6
13530 cat > conftest.
$ac_ext <<EOF
13531 #line 13532 "configure"
13532 #include "confdefs.h"
13533 #include <signal.h>
13536 extern void testSigHandler(int);
13538 struct sigaction sa;
13539 sa.sa_handler = testSigHandler;
13543 if { (eval echo configure
:13544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13546 wx_cv_type_sa_handler
=int
13549 echo "configure: failed program was:" >&5
13550 cat conftest.
$ac_ext >&5
13553 wx_cv_type_sa_handler
=void
13560 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
13563 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13564 ac_cpp
='$CPP $CPPFLAGS'
13565 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13566 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13567 cross_compiling
=$ac_cv_prog_cc_cross
13570 cat >> confdefs.h
<<EOF
13571 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
13577 for ac_func
in vfork
13579 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13580 echo "configure:13581: checking for $ac_func" >&5
13581 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13582 echo $ac_n "(cached) $ac_c" 1>&6
13584 cat > conftest.
$ac_ext <<EOF
13585 #line 13586 "configure"
13586 #include "confdefs.h"
13587 /* System header to define __stub macros and hopefully few prototypes,
13588 which can conflict with char $ac_func(); below. */
13589 #include <assert.h>
13590 /* Override any gcc2 internal prototype to avoid an error. */
13591 /* We use char because int might match the return type of a gcc2
13592 builtin and then its argument prototype would still apply. */
13597 /* The GNU C library defines this for functions which it implements
13598 to always fail with ENOSYS. Some functions are actually named
13599 something starting with __ and the normal name is an alias. */
13600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13608 if { (eval echo configure
:13609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13610 eval "ac_cv_func_$ac_func=yes"
13612 echo "configure: failed program was:" >&5
13613 cat conftest.
$ac_ext >&5
13615 eval "ac_cv_func_$ac_func=no"
13620 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13621 echo "$ac_t""yes" 1>&6
13622 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13623 cat >> confdefs.h
<<EOF
13624 #define $ac_tr_func 1
13628 echo "$ac_t""no" 1>&6
13633 echo $ac_n "checking for statfs""... $ac_c" 1>&6
13634 echo "configure:13635: checking for statfs" >&5
13635 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
13636 echo $ac_n "(cached) $ac_c" 1>&6
13638 cat > conftest.
$ac_ext <<EOF
13639 #line 13640 "configure"
13640 #include "confdefs.h"
13642 #include <sys/vfs.h>
13655 if { (eval echo configure
:13656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13658 wx_cv_func_statfs
=yes
13661 echo "configure: failed program was:" >&5
13662 cat conftest.
$ac_ext >&5
13665 wx_cv_func_statfs
=no
13673 echo "$ac_t""$wx_cv_func_statfs" 1>&6
13675 if test "$wx_cv_func_statfs" = "yes"; then
13676 cat >> confdefs.h
<<\EOF
13677 #define HAVE_STATFS 1
13681 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
13684 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
13685 for ac_func
in fcntl flock
13687 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13688 echo "configure:13689: checking for $ac_func" >&5
13689 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13690 echo $ac_n "(cached) $ac_c" 1>&6
13692 cat > conftest.
$ac_ext <<EOF
13693 #line 13694 "configure"
13694 #include "confdefs.h"
13695 /* System header to define __stub macros and hopefully few prototypes,
13696 which can conflict with char $ac_func(); below. */
13697 #include <assert.h>
13698 /* Override any gcc2 internal prototype to avoid an error. */
13699 /* We use char because int might match the return type of a gcc2
13700 builtin and then its argument prototype would still apply. */
13705 /* The GNU C library defines this for functions which it implements
13706 to always fail with ENOSYS. Some functions are actually named
13707 something starting with __ and the normal name is an alias. */
13708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13716 if { (eval echo configure
:13717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13718 eval "ac_cv_func_$ac_func=yes"
13720 echo "configure: failed program was:" >&5
13721 cat conftest.
$ac_ext >&5
13723 eval "ac_cv_func_$ac_func=no"
13728 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13729 echo "$ac_t""yes" 1>&6
13730 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13731 cat >> confdefs.h
<<EOF
13732 #define $ac_tr_func 1
13736 echo "$ac_t""no" 1>&6
13741 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
13742 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
13743 wxUSE_SNGLINST_CHECKER
=no
13747 for ac_func
in timegm
13749 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13750 echo "configure:13751: checking for $ac_func" >&5
13751 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13752 echo $ac_n "(cached) $ac_c" 1>&6
13754 cat > conftest.
$ac_ext <<EOF
13755 #line 13756 "configure"
13756 #include "confdefs.h"
13757 /* System header to define __stub macros and hopefully few prototypes,
13758 which can conflict with char $ac_func(); below. */
13759 #include <assert.h>
13760 /* Override any gcc2 internal prototype to avoid an error. */
13761 /* We use char because int might match the return type of a gcc2
13762 builtin and then its argument prototype would still apply. */
13767 /* The GNU C library defines this for functions which it implements
13768 to always fail with ENOSYS. Some functions are actually named
13769 something starting with __ and the normal name is an alias. */
13770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13778 if { (eval echo configure
:13779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13780 eval "ac_cv_func_$ac_func=yes"
13782 echo "configure: failed program was:" >&5
13783 cat conftest.
$ac_ext >&5
13785 eval "ac_cv_func_$ac_func=no"
13790 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13791 echo "$ac_t""yes" 1>&6
13792 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13793 cat >> confdefs.h
<<EOF
13794 #define $ac_tr_func 1
13798 echo "$ac_t""no" 1>&6
13803 for ac_func
in putenv setenv
13805 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13806 echo "configure:13807: checking for $ac_func" >&5
13807 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13808 echo $ac_n "(cached) $ac_c" 1>&6
13810 cat > conftest.
$ac_ext <<EOF
13811 #line 13812 "configure"
13812 #include "confdefs.h"
13813 /* System header to define __stub macros and hopefully few prototypes,
13814 which can conflict with char $ac_func(); below. */
13815 #include <assert.h>
13816 /* Override any gcc2 internal prototype to avoid an error. */
13817 /* We use char because int might match the return type of a gcc2
13818 builtin and then its argument prototype would still apply. */
13823 /* The GNU C library defines this for functions which it implements
13824 to always fail with ENOSYS. Some functions are actually named
13825 something starting with __ and the normal name is an alias. */
13826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13834 if { (eval echo configure
:13835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13836 eval "ac_cv_func_$ac_func=yes"
13838 echo "configure: failed program was:" >&5
13839 cat conftest.
$ac_ext >&5
13841 eval "ac_cv_func_$ac_func=no"
13846 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13847 echo "$ac_t""yes" 1>&6
13848 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13849 cat >> confdefs.h
<<EOF
13850 #define $ac_tr_func 1
13854 echo "$ac_t""no" 1>&6
13859 HAVE_SOME_SLEEP_FUNC
=0
13860 if test "$USE_BEOS" = 1; then
13861 cat >> confdefs.h
<<\EOF
13862 #define HAVE_SLEEP 1
13865 HAVE_SOME_SLEEP_FUNC
=1
13868 if test "$USE_DARWIN" = 1; then
13869 cat >> confdefs.h
<<\EOF
13870 #define HAVE_USLEEP 1
13873 HAVE_SOME_SLEEP_FUNC
=1
13876 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
13878 for ac_func
in nanosleep
13880 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13881 echo "configure:13882: checking for $ac_func" >&5
13882 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13883 echo $ac_n "(cached) $ac_c" 1>&6
13885 cat > conftest.
$ac_ext <<EOF
13886 #line 13887 "configure"
13887 #include "confdefs.h"
13888 /* System header to define __stub macros and hopefully few prototypes,
13889 which can conflict with char $ac_func(); below. */
13890 #include <assert.h>
13891 /* Override any gcc2 internal prototype to avoid an error. */
13892 /* We use char because int might match the return type of a gcc2
13893 builtin and then its argument prototype would still apply. */
13898 /* The GNU C library defines this for functions which it implements
13899 to always fail with ENOSYS. Some functions are actually named
13900 something starting with __ and the normal name is an alias. */
13901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13909 if { (eval echo configure
:13910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13911 eval "ac_cv_func_$ac_func=yes"
13913 echo "configure: failed program was:" >&5
13914 cat conftest.
$ac_ext >&5
13916 eval "ac_cv_func_$ac_func=no"
13921 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13922 echo "$ac_t""yes" 1>&6
13923 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13924 cat >> confdefs.h
<<EOF
13925 #define $ac_tr_func 1
13927 cat >> confdefs.h
<<\EOF
13928 #define HAVE_NANOSLEEP 1
13932 echo "$ac_t""no" 1>&6
13933 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13934 echo "configure:13935: checking for nanosleep in -lposix4" >&5
13935 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13936 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13937 echo $ac_n "(cached) $ac_c" 1>&6
13939 ac_save_LIBS
="$LIBS"
13940 LIBS
="-lposix4 $LIBS"
13941 cat > conftest.
$ac_ext <<EOF
13942 #line 13943 "configure"
13943 #include "confdefs.h"
13944 /* Override any gcc2 internal prototype to avoid an error. */
13945 /* We use char because int might match the return type of a gcc2
13946 builtin and then its argument prototype would still apply. */
13953 if { (eval echo configure
:13954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13955 eval "ac_cv_lib_$ac_lib_var=yes"
13957 echo "configure: failed program was:" >&5
13958 cat conftest.
$ac_ext >&5
13960 eval "ac_cv_lib_$ac_lib_var=no"
13963 LIBS
="$ac_save_LIBS"
13966 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13967 echo "$ac_t""yes" 1>&6
13969 cat >> confdefs.h
<<\EOF
13970 #define HAVE_NANOSLEEP 1
13973 POSIX4_LINK
="-lposix4"
13976 echo "$ac_t""no" 1>&6
13978 for ac_func
in usleep
13980 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13981 echo "configure:13982: checking for $ac_func" >&5
13982 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13983 echo $ac_n "(cached) $ac_c" 1>&6
13985 cat > conftest.
$ac_ext <<EOF
13986 #line 13987 "configure"
13987 #include "confdefs.h"
13988 /* System header to define __stub macros and hopefully few prototypes,
13989 which can conflict with char $ac_func(); below. */
13990 #include <assert.h>
13991 /* Override any gcc2 internal prototype to avoid an error. */
13992 /* We use char because int might match the return type of a gcc2
13993 builtin and then its argument prototype would still apply. */
13998 /* The GNU C library defines this for functions which it implements
13999 to always fail with ENOSYS. Some functions are actually named
14000 something starting with __ and the normal name is an alias. */
14001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14009 if { (eval echo configure
:14010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14011 eval "ac_cv_func_$ac_func=yes"
14013 echo "configure: failed program was:" >&5
14014 cat conftest.
$ac_ext >&5
14016 eval "ac_cv_func_$ac_func=no"
14021 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14022 echo "$ac_t""yes" 1>&6
14023 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14024 cat >> confdefs.h
<<EOF
14025 #define $ac_tr_func 1
14027 cat >> confdefs.h
<<\EOF
14028 #define HAVE_USLEEP 1
14032 echo "$ac_t""no" 1>&6
14033 echo "configure: warning: wxSleep() function will not work" 1>&2
14049 for ac_func
in uname gethostname
14051 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14052 echo "configure:14053: checking for $ac_func" >&5
14053 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14054 echo $ac_n "(cached) $ac_c" 1>&6
14056 cat > conftest.
$ac_ext <<EOF
14057 #line 14058 "configure"
14058 #include "confdefs.h"
14059 /* System header to define __stub macros and hopefully few prototypes,
14060 which can conflict with char $ac_func(); below. */
14061 #include <assert.h>
14062 /* Override any gcc2 internal prototype to avoid an error. */
14063 /* We use char because int might match the return type of a gcc2
14064 builtin and then its argument prototype would still apply. */
14069 /* The GNU C library defines this for functions which it implements
14070 to always fail with ENOSYS. Some functions are actually named
14071 something starting with __ and the normal name is an alias. */
14072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14080 if { (eval echo configure
:14081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14082 eval "ac_cv_func_$ac_func=yes"
14084 echo "configure: failed program was:" >&5
14085 cat conftest.
$ac_ext >&5
14087 eval "ac_cv_func_$ac_func=no"
14092 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14093 echo "$ac_t""yes" 1>&6
14094 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14095 cat >> confdefs.h
<<EOF
14096 #define $ac_tr_func 1
14100 echo "$ac_t""no" 1>&6
14107 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14108 ac_cpp
='$CXXCPP $CPPFLAGS'
14109 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14110 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14111 cross_compiling
=$ac_cv_prog_cxx_cross
14114 for ac_func
in strtok_r
14116 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14117 echo "configure:14118: checking for $ac_func" >&5
14118 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14119 echo $ac_n "(cached) $ac_c" 1>&6
14121 cat > conftest.
$ac_ext <<EOF
14122 #line 14123 "configure"
14123 #include "confdefs.h"
14124 /* System header to define __stub macros and hopefully few prototypes,
14125 which can conflict with char $ac_func(); below. */
14126 #include <assert.h>
14127 /* Override any gcc2 internal prototype to avoid an error. */
14131 /* We use char because int might match the return type of a gcc2
14132 builtin and then its argument prototype would still apply. */
14137 /* The GNU C library defines this for functions which it implements
14138 to always fail with ENOSYS. Some functions are actually named
14139 something starting with __ and the normal name is an alias. */
14140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14148 if { (eval echo configure
:14149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14150 eval "ac_cv_func_$ac_func=yes"
14152 echo "configure: failed program was:" >&5
14153 cat conftest.
$ac_ext >&5
14155 eval "ac_cv_func_$ac_func=no"
14160 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14161 echo "$ac_t""yes" 1>&6
14162 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14163 cat >> confdefs.h
<<EOF
14164 #define $ac_tr_func 1
14168 echo "$ac_t""no" 1>&6
14174 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14175 ac_cpp
='$CPP $CPPFLAGS'
14176 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14177 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14178 cross_compiling
=$ac_cv_prog_cc_cross
14182 for ac_func
in inet_addr
14184 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14185 echo "configure:14186: checking for $ac_func" >&5
14186 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14187 echo $ac_n "(cached) $ac_c" 1>&6
14189 cat > conftest.
$ac_ext <<EOF
14190 #line 14191 "configure"
14191 #include "confdefs.h"
14192 /* System header to define __stub macros and hopefully few prototypes,
14193 which can conflict with char $ac_func(); below. */
14194 #include <assert.h>
14195 /* Override any gcc2 internal prototype to avoid an error. */
14196 /* We use char because int might match the return type of a gcc2
14197 builtin and then its argument prototype would still apply. */
14202 /* The GNU C library defines this for functions which it implements
14203 to always fail with ENOSYS. Some functions are actually named
14204 something starting with __ and the normal name is an alias. */
14205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14213 if { (eval echo configure
:14214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14215 eval "ac_cv_func_$ac_func=yes"
14217 echo "configure: failed program was:" >&5
14218 cat conftest.
$ac_ext >&5
14220 eval "ac_cv_func_$ac_func=no"
14225 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14226 echo "$ac_t""yes" 1>&6
14227 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14228 cat >> confdefs.h
<<EOF
14229 #define $ac_tr_func 1
14231 cat >> confdefs.h
<<\EOF
14232 #define HAVE_INET_ADDR 1
14236 echo "$ac_t""no" 1>&6
14237 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
14238 echo "configure:14239: checking for inet_addr in -lnsl" >&5
14239 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
14240 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14241 echo $ac_n "(cached) $ac_c" 1>&6
14243 ac_save_LIBS
="$LIBS"
14245 cat > conftest.
$ac_ext <<EOF
14246 #line 14247 "configure"
14247 #include "confdefs.h"
14248 /* Override any gcc2 internal prototype to avoid an error. */
14249 /* We use char because int might match the return type of a gcc2
14250 builtin and then its argument prototype would still apply. */
14257 if { (eval echo configure
:14258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14259 eval "ac_cv_lib_$ac_lib_var=yes"
14261 echo "configure: failed program was:" >&5
14262 cat conftest.
$ac_ext >&5
14264 eval "ac_cv_lib_$ac_lib_var=no"
14267 LIBS
="$ac_save_LIBS"
14270 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14271 echo "$ac_t""yes" 1>&6
14274 echo "$ac_t""no" 1>&6
14275 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
14276 echo "configure:14277: checking for inet_addr in -lresolv" >&5
14277 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
14278 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14279 echo $ac_n "(cached) $ac_c" 1>&6
14281 ac_save_LIBS
="$LIBS"
14282 LIBS
="-lresolv $LIBS"
14283 cat > conftest.
$ac_ext <<EOF
14284 #line 14285 "configure"
14285 #include "confdefs.h"
14286 /* Override any gcc2 internal prototype to avoid an error. */
14287 /* We use char because int might match the return type of a gcc2
14288 builtin and then its argument prototype would still apply. */
14295 if { (eval echo configure
:14296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14297 eval "ac_cv_lib_$ac_lib_var=yes"
14299 echo "configure: failed program was:" >&5
14300 cat conftest.
$ac_ext >&5
14302 eval "ac_cv_lib_$ac_lib_var=no"
14305 LIBS
="$ac_save_LIBS"
14308 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14309 echo "$ac_t""yes" 1>&6
14313 echo "$ac_t""no" 1>&6
14325 for ac_func
in inet_aton
14327 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14328 echo "configure:14329: checking for $ac_func" >&5
14329 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14330 echo $ac_n "(cached) $ac_c" 1>&6
14332 cat > conftest.
$ac_ext <<EOF
14333 #line 14334 "configure"
14334 #include "confdefs.h"
14335 /* System header to define __stub macros and hopefully few prototypes,
14336 which can conflict with char $ac_func(); below. */
14337 #include <assert.h>
14338 /* Override any gcc2 internal prototype to avoid an error. */
14339 /* We use char because int might match the return type of a gcc2
14340 builtin and then its argument prototype would still apply. */
14345 /* The GNU C library defines this for functions which it implements
14346 to always fail with ENOSYS. Some functions are actually named
14347 something starting with __ and the normal name is an alias. */
14348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14356 if { (eval echo configure
:14357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14358 eval "ac_cv_func_$ac_func=yes"
14360 echo "configure: failed program was:" >&5
14361 cat conftest.
$ac_ext >&5
14363 eval "ac_cv_func_$ac_func=no"
14368 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14369 echo "$ac_t""yes" 1>&6
14370 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14371 cat >> confdefs.h
<<EOF
14372 #define $ac_tr_func 1
14374 cat >> confdefs.h
<<\EOF
14375 #define HAVE_INET_ATON 1
14379 echo "$ac_t""no" 1>&6
14380 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
14381 echo "configure:14382: checking for inet_aton in -l$INET_LINK" >&5
14382 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
14383 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14384 echo $ac_n "(cached) $ac_c" 1>&6
14386 ac_save_LIBS
="$LIBS"
14387 LIBS
="-l$INET_LINK $LIBS"
14388 cat > conftest.
$ac_ext <<EOF
14389 #line 14390 "configure"
14390 #include "confdefs.h"
14391 /* Override any gcc2 internal prototype to avoid an error. */
14392 /* We use char because int might match the return type of a gcc2
14393 builtin and then its argument prototype would still apply. */
14400 if { (eval echo configure
:14401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14402 eval "ac_cv_lib_$ac_lib_var=yes"
14404 echo "configure: failed program was:" >&5
14405 cat conftest.
$ac_ext >&5
14407 eval "ac_cv_lib_$ac_lib_var=no"
14410 LIBS
="$ac_save_LIBS"
14413 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14414 echo "$ac_t""yes" 1>&6
14415 cat >> confdefs.h
<<\EOF
14416 #define HAVE_INET_ATON 1
14420 echo "$ac_t""no" 1>&6
14428 if test "x$INET_LINK" != "x"; then
14429 cat >> confdefs.h
<<\EOF
14430 #define HAVE_INET_ADDR 1
14433 INET_LINK
="-l$INET_LINK"
14439 cat > confcache
<<\EOF
14440 # This file is a shell script that caches the results of configure
14441 # tests run on this system so they can be shared between configure
14442 # scripts and configure runs. It is not useful on other systems.
14443 # If it contains results you don't want to keep, you may remove or edit it.
14445 # By default, configure uses ./config.cache as the cache file,
14446 # creating it if it does not exist already. You can give configure
14447 # the --cache-file=FILE option to use a different cache file; that is
14448 # what configure does when it calls configure scripts in
14449 # subdirectories, so they share the cache.
14450 # Giving --cache-file=/dev/null disables caching, for debugging configure.
14451 # config.status only pays attention to the cache file if you give it the
14452 # --recheck option to rerun configure.
14455 # The following way of writing the cache mishandles newlines in values,
14456 # but we know of no workaround that is simple, portable, and efficient.
14457 # So, don't put newlines in cache variables' values.
14458 # Ultrix sh set writes to stderr and can't be redirected directly,
14459 # and sets the high bit in the cache file unless we assign to the vars.
14461 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14463 # `set' does not quote correctly, so add quotes (double-quote substitution
14464 # turns \\\\ into \\, and sed turns \\ into \).
14466 -e "s/'/'\\\\''/g" \
14467 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
14470 # `set' quotes correctly as required by POSIX, so do not add quotes.
14471 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
14474 if cmp -s $cache_file confcache
; then
14477 if test -w $cache_file; then
14478 echo "updating cache $cache_file"
14479 cat confcache
> $cache_file
14481 echo "not updating unwritable cache $cache_file"
14488 if test "$TOOLKIT" != "MSW"; then
14494 CODE_GEN_FLAGS_CXX
=
14496 if test "$wxUSE_THREADS" = "yes" ; then
14497 if test "$wxUSE_WINE" = 1 ; then
14498 echo "configure: warning: Threads are not supported under WINE" 1>&2
14500 elif test "$USE_BEOS" = 1; then
14501 echo "configure: warning: BeOS threads are not yet supported" 1>&2
14506 if test "$wxUSE_THREADS" = "yes" ; then
14508 if test "$USE_AIX" = 1; then
14509 THREADS_LIB
=pthreads
14511 THREADS_LIB
=pthread
14514 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
14515 echo "configure:14516: checking for pthread_create in -l$THREADS_LIB" >&5
14516 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
14517 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14518 echo $ac_n "(cached) $ac_c" 1>&6
14520 ac_save_LIBS
="$LIBS"
14521 LIBS
="-l$THREADS_LIB $LIBS"
14522 cat > conftest.
$ac_ext <<EOF
14523 #line 14524 "configure"
14524 #include "confdefs.h"
14525 /* Override any gcc2 internal prototype to avoid an error. */
14526 /* We use char because int might match the return type of a gcc2
14527 builtin and then its argument prototype would still apply. */
14528 char pthread_create();
14534 if { (eval echo configure
:14535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14536 eval "ac_cv_lib_$ac_lib_var=yes"
14538 echo "configure: failed program was:" >&5
14539 cat conftest.
$ac_ext >&5
14541 eval "ac_cv_lib_$ac_lib_var=no"
14544 LIBS
="$ac_save_LIBS"
14547 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14548 echo "$ac_t""yes" 1>&6
14550 THREADS_OBJ
="threadpsx.lo"
14551 THREADS_LINK
=$THREADS_LIB
14554 echo "$ac_t""no" 1>&6
14556 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
14557 echo "configure:14558: checking for pthread_create in -lc_r" >&5
14558 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
14559 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14560 echo $ac_n "(cached) $ac_c" 1>&6
14562 ac_save_LIBS
="$LIBS"
14564 cat > conftest.
$ac_ext <<EOF
14565 #line 14566 "configure"
14566 #include "confdefs.h"
14567 /* Override any gcc2 internal prototype to avoid an error. */
14568 /* We use char because int might match the return type of a gcc2
14569 builtin and then its argument prototype would still apply. */
14570 char pthread_create();
14576 if { (eval echo configure
:14577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14578 eval "ac_cv_lib_$ac_lib_var=yes"
14580 echo "configure: failed program was:" >&5
14581 cat conftest.
$ac_ext >&5
14583 eval "ac_cv_lib_$ac_lib_var=no"
14586 LIBS
="$ac_save_LIBS"
14589 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14590 echo "$ac_t""yes" 1>&6
14592 THREADS_OBJ
="threadpsx.lo"
14596 echo "$ac_t""no" 1>&6
14598 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
14599 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
14600 echo "configure:14601: checking for sys/prctl.h" >&5
14601 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14602 echo $ac_n "(cached) $ac_c" 1>&6
14604 cat > conftest.
$ac_ext <<EOF
14605 #line 14606 "configure"
14606 #include "confdefs.h"
14607 #include <sys/prctl.h>
14609 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14610 { (eval echo configure
:14611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14611 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14612 if test -z "$ac_err"; then
14614 eval "ac_cv_header_$ac_safe=yes"
14617 echo "configure: failed program was:" >&5
14618 cat conftest.
$ac_ext >&5
14620 eval "ac_cv_header_$ac_safe=no"
14624 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14625 echo "$ac_t""yes" 1>&6
14627 THREADS_OBJ
="threadsgi.lo"
14630 echo "$ac_t""no" 1>&6
14640 if test -z "$THREADS_OBJ" ; then
14642 echo "configure: warning: No thread support on this system" 1>&2
14646 if test "$wxUSE_THREADS" = "yes" ; then
14647 for ac_func
in thr_setconcurrency
14649 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14650 echo "configure:14651: checking for $ac_func" >&5
14651 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14652 echo $ac_n "(cached) $ac_c" 1>&6
14654 cat > conftest.
$ac_ext <<EOF
14655 #line 14656 "configure"
14656 #include "confdefs.h"
14657 /* System header to define __stub macros and hopefully few prototypes,
14658 which can conflict with char $ac_func(); below. */
14659 #include <assert.h>
14660 /* Override any gcc2 internal prototype to avoid an error. */
14661 /* We use char because int might match the return type of a gcc2
14662 builtin and then its argument prototype would still apply. */
14667 /* The GNU C library defines this for functions which it implements
14668 to always fail with ENOSYS. Some functions are actually named
14669 something starting with __ and the normal name is an alias. */
14670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14678 if { (eval echo configure
:14679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14680 eval "ac_cv_func_$ac_func=yes"
14682 echo "configure: failed program was:" >&5
14683 cat conftest.
$ac_ext >&5
14685 eval "ac_cv_func_$ac_func=no"
14690 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14691 echo "$ac_t""yes" 1>&6
14692 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14693 cat >> confdefs.h
<<EOF
14694 #define $ac_tr_func 1
14698 echo "$ac_t""no" 1>&6
14704 for ac_hdr
in sched.h
14706 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14707 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14708 echo "configure:14709: checking for $ac_hdr" >&5
14709 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14710 echo $ac_n "(cached) $ac_c" 1>&6
14712 cat > conftest.
$ac_ext <<EOF
14713 #line 14714 "configure"
14714 #include "confdefs.h"
14717 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14718 { (eval echo configure
:14719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14719 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14720 if test -z "$ac_err"; then
14722 eval "ac_cv_header_$ac_safe=yes"
14725 echo "configure: failed program was:" >&5
14726 cat conftest.
$ac_ext >&5
14728 eval "ac_cv_header_$ac_safe=no"
14732 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14733 echo "$ac_t""yes" 1>&6
14734 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14735 cat >> confdefs.h
<<EOF
14736 #define $ac_tr_hdr 1
14740 echo "$ac_t""no" 1>&6
14745 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
14746 echo "configure:14747: checking for sched_yield in -l$THREADS_LINK" >&5
14747 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
14748 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14749 echo $ac_n "(cached) $ac_c" 1>&6
14751 ac_save_LIBS
="$LIBS"
14752 LIBS
="-l$THREADS_LINK $LIBS"
14753 cat > conftest.
$ac_ext <<EOF
14754 #line 14755 "configure"
14755 #include "confdefs.h"
14756 /* Override any gcc2 internal prototype to avoid an error. */
14757 /* We use char because int might match the return type of a gcc2
14758 builtin and then its argument prototype would still apply. */
14759 char sched_yield();
14765 if { (eval echo configure
:14766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14767 eval "ac_cv_lib_$ac_lib_var=yes"
14769 echo "configure: failed program was:" >&5
14770 cat conftest.
$ac_ext >&5
14772 eval "ac_cv_lib_$ac_lib_var=no"
14775 LIBS
="$ac_save_LIBS"
14778 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14779 echo "$ac_t""yes" 1>&6
14780 cat >> confdefs.h
<<\EOF
14781 #define HAVE_SCHED_YIELD 1
14785 echo "$ac_t""no" 1>&6
14786 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
14787 echo "configure:14788: checking for sched_yield in -lposix4" >&5
14788 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
14789 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14790 echo $ac_n "(cached) $ac_c" 1>&6
14792 ac_save_LIBS
="$LIBS"
14793 LIBS
="-lposix4 $LIBS"
14794 cat > conftest.
$ac_ext <<EOF
14795 #line 14796 "configure"
14796 #include "confdefs.h"
14797 /* Override any gcc2 internal prototype to avoid an error. */
14798 /* We use char because int might match the return type of a gcc2
14799 builtin and then its argument prototype would still apply. */
14800 char sched_yield();
14806 if { (eval echo configure
:14807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14808 eval "ac_cv_lib_$ac_lib_var=yes"
14810 echo "configure: failed program was:" >&5
14811 cat conftest.
$ac_ext >&5
14813 eval "ac_cv_lib_$ac_lib_var=no"
14816 LIBS
="$ac_save_LIBS"
14819 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14820 echo "$ac_t""yes" 1>&6
14821 cat >> confdefs.h
<<\EOF
14822 #define HAVE_SCHED_YIELD 1
14824 POSIX4_LINK
="-lposix4"
14826 echo "$ac_t""no" 1>&6
14827 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
14836 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
14837 echo "configure:14838: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
14838 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
14839 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14840 echo $ac_n "(cached) $ac_c" 1>&6
14842 ac_save_LIBS
="$LIBS"
14843 LIBS
="-l$THREADS_LINK $LIBS"
14844 cat > conftest.
$ac_ext <<EOF
14845 #line 14846 "configure"
14846 #include "confdefs.h"
14847 /* Override any gcc2 internal prototype to avoid an error. */
14848 /* We use char because int might match the return type of a gcc2
14849 builtin and then its argument prototype would still apply. */
14850 char pthread_attr_getschedpolicy();
14853 pthread_attr_getschedpolicy()
14856 if { (eval echo configure
:14857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14858 eval "ac_cv_lib_$ac_lib_var=yes"
14860 echo "configure: failed program was:" >&5
14861 cat conftest.
$ac_ext >&5
14863 eval "ac_cv_lib_$ac_lib_var=no"
14866 LIBS
="$ac_save_LIBS"
14869 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14870 echo "$ac_t""yes" 1>&6
14871 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
14872 echo "configure:14873: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
14873 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
14874 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14875 echo $ac_n "(cached) $ac_c" 1>&6
14877 ac_save_LIBS
="$LIBS"
14878 LIBS
="-l$THREADS_LINK $LIBS"
14879 cat > conftest.
$ac_ext <<EOF
14880 #line 14881 "configure"
14881 #include "confdefs.h"
14882 /* Override any gcc2 internal prototype to avoid an error. */
14883 /* We use char because int might match the return type of a gcc2
14884 builtin and then its argument prototype would still apply. */
14885 char pthread_attr_setschedparam();
14888 pthread_attr_setschedparam()
14891 if { (eval echo configure
:14892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14893 eval "ac_cv_lib_$ac_lib_var=yes"
14895 echo "configure: failed program was:" >&5
14896 cat conftest.
$ac_ext >&5
14898 eval "ac_cv_lib_$ac_lib_var=no"
14901 LIBS
="$ac_save_LIBS"
14904 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14905 echo "$ac_t""yes" 1>&6
14906 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14907 echo "configure:14908: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14908 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14909 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14910 echo $ac_n "(cached) $ac_c" 1>&6
14912 ac_save_LIBS
="$LIBS"
14913 LIBS
="-l$THREADS_LINK $LIBS"
14914 cat > conftest.
$ac_ext <<EOF
14915 #line 14916 "configure"
14916 #include "confdefs.h"
14917 /* Override any gcc2 internal prototype to avoid an error. */
14918 /* We use char because int might match the return type of a gcc2
14919 builtin and then its argument prototype would still apply. */
14920 char sched_get_priority_max();
14923 sched_get_priority_max()
14926 if { (eval echo configure
:14927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14928 eval "ac_cv_lib_$ac_lib_var=yes"
14930 echo "configure: failed program was:" >&5
14931 cat conftest.
$ac_ext >&5
14933 eval "ac_cv_lib_$ac_lib_var=no"
14936 LIBS
="$ac_save_LIBS"
14939 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14940 echo "$ac_t""yes" 1>&6
14943 echo "$ac_t""no" 1>&6
14944 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
14945 echo "configure:14946: checking for sched_get_priority_max in -lposix4" >&5
14946 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14947 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14948 echo $ac_n "(cached) $ac_c" 1>&6
14950 ac_save_LIBS
="$LIBS"
14951 LIBS
="-lposix4 $LIBS"
14952 cat > conftest.
$ac_ext <<EOF
14953 #line 14954 "configure"
14954 #include "confdefs.h"
14955 /* Override any gcc2 internal prototype to avoid an error. */
14956 /* We use char because int might match the return type of a gcc2
14957 builtin and then its argument prototype would still apply. */
14958 char sched_get_priority_max();
14961 sched_get_priority_max()
14964 if { (eval echo configure
:14965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14966 eval "ac_cv_lib_$ac_lib_var=yes"
14968 echo "configure: failed program was:" >&5
14969 cat conftest.
$ac_ext >&5
14971 eval "ac_cv_lib_$ac_lib_var=no"
14974 LIBS
="$ac_save_LIBS"
14977 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14978 echo "$ac_t""yes" 1>&6
14981 POSIX4_LINK
="-lposix4"
14984 echo "$ac_t""no" 1>&6
14992 echo "$ac_t""no" 1>&6
14997 echo "$ac_t""no" 1>&6
15001 if test "$HAVE_PRIOR_FUNCS" = 1; then
15002 cat >> confdefs.h
<<\EOF
15003 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
15007 echo "configure: warning: Setting thread priority will not work" 1>&2
15010 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
15011 echo "configure:15012: checking for pthread_cancel in -l$THREADS_LINK" >&5
15012 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
15013 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15014 echo $ac_n "(cached) $ac_c" 1>&6
15016 ac_save_LIBS
="$LIBS"
15017 LIBS
="-l$THREADS_LINK $LIBS"
15018 cat > conftest.
$ac_ext <<EOF
15019 #line 15020 "configure"
15020 #include "confdefs.h"
15021 /* Override any gcc2 internal prototype to avoid an error. */
15022 /* We use char because int might match the return type of a gcc2
15023 builtin and then its argument prototype would still apply. */
15024 char pthread_cancel();
15030 if { (eval echo configure
:15031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15032 eval "ac_cv_lib_$ac_lib_var=yes"
15034 echo "configure: failed program was:" >&5
15035 cat conftest.
$ac_ext >&5
15037 eval "ac_cv_lib_$ac_lib_var=no"
15040 LIBS
="$ac_save_LIBS"
15043 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15044 echo "$ac_t""yes" 1>&6
15045 cat >> confdefs.h
<<\EOF
15046 #define HAVE_PTHREAD_CANCEL 1
15050 echo "$ac_t""no" 1>&6
15051 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
15055 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
15056 echo "configure:15057: checking for pthread_cleanup_push/pop" >&5
15057 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
15058 echo $ac_n "(cached) $ac_c" 1>&6
15061 cat > conftest.
$ac_ext <<EOF
15062 #line 15063 "configure"
15063 #include "confdefs.h"
15064 #include <pthread.h>
15067 pthread_cleanup_push(NULL, NULL);
15068 pthread_cleanup_pop(0);
15072 if { (eval echo configure
:15073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15075 wx_cv_func_pthread_cleanup_push
=yes
15078 echo "configure: failed program was:" >&5
15079 cat conftest.
$ac_ext >&5
15082 wx_cv_func_pthread_cleanup_push
=no
15089 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
15091 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
15092 cat >> confdefs.h
<<\EOF
15093 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
15099 if test "x$wx_lib_glibc21" = "xyes"; then
15100 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
15103 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
15104 echo "configure:15105: checking for pthread_mutexattr_t" >&5
15105 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
15106 echo $ac_n "(cached) $ac_c" 1>&6
15109 cat > conftest.
$ac_ext <<EOF
15110 #line 15111 "configure"
15111 #include "confdefs.h"
15112 #include <pthread.h>
15115 pthread_mutexattr_t attr;
15116 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
15120 if { (eval echo configure
:15121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15123 wx_cv_type_pthread_mutexattr_t
=yes
15126 echo "configure: failed program was:" >&5
15127 cat conftest.
$ac_ext >&5
15130 wx_cv_type_pthread_mutexattr_t
=no
15138 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
15140 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
15141 cat >> confdefs.h
<<\EOF
15142 #define HAVE_PTHREAD_MUTEXATTR_T 1
15146 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
15147 echo "configure:15148: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
15148 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
15149 echo $ac_n "(cached) $ac_c" 1>&6
15152 cat > conftest.
$ac_ext <<EOF
15153 #line 15154 "configure"
15154 #include "confdefs.h"
15155 #include <pthread.h>
15158 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
15162 if { (eval echo configure
:15163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15165 wx_cv_type_pthread_rec_mutex_init
=yes
15168 echo "configure: failed program was:" >&5
15169 cat conftest.
$ac_ext >&5
15172 wx_cv_type_pthread_rec_mutex_init
=no
15180 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
15181 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
15182 cat >> confdefs.h
<<\EOF
15183 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
15187 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
15191 THREADS_LINK
="-l$THREADS_LINK"
15193 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
15194 CPPFLAGS
="${CFLAGS} -mt"
15195 CXXFLAGS
="${CXXFLAGS} -mt"
15196 LDFLAGS
="${LDFLAGS} -mt"
15202 if test "$wxUSE_THREADS" = "yes"; then
15203 cat >> confdefs.h
<<\EOF
15204 #define wxUSE_THREADS 1
15208 if test "$USE_DARWIN" != 1; then
15209 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
15212 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
15214 if test "$ac_cv_func_strtok_r" = "yes"; then
15215 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
15216 echo "configure:15217: checking if -D_REENTRANT is needed" >&5
15217 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
15218 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
15219 echo "$ac_t""yes" 1>&6
15221 echo "$ac_t""no" 1>&6
15226 if test "$WXGTK20" = 1 ; then
15227 cat >> confdefs.h
<<EOF
15228 #define __WXGTK20__ $WXGTK20
15234 if test "$WXGTK12" = 1 ; then
15235 cat >> confdefs.h
<<EOF
15236 #define __WXGTK12__ $WXGTK12
15241 if test "$WXGTK127" = 1 ; then
15242 cat >> confdefs.h
<<EOF
15243 #define __WXGTK127__ $WXGTK127
15250 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
15255 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
15256 wxUSE_DEBUG_INFO
=yes
15260 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
15261 cat >> confdefs.h
<<\EOF
15265 WXDEBUG_DEFINE
="-D__WXDEBUG__"
15267 if test "$wxUSE_GTK" = 1 ; then
15268 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
15272 if test "$wxUSE_MEM_TRACING" = "yes" ; then
15273 cat >> confdefs.h
<<\EOF
15274 #define wxUSE_MEMORY_TRACING 1
15277 cat >> confdefs.h
<<\EOF
15278 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
15281 cat >> confdefs.h
<<\EOF
15282 #define wxUSE_DEBUG_NEW_ALWAYS 1
15285 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
15288 if test "$wxUSE_DMALLOC" = "yes" ; then
15289 DMALLOC_LINK
="-ldmalloc"
15293 if test "$wxUSE_PROFILE" = "yes" ; then
15297 if test "$GCC" = yes ; then
15298 if test "$wxUSE_NO_RTTI" = "yes" ; then
15299 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
15301 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
15302 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
15304 if test "$wxUSE_PERMISSIVE" = "yes" ; then
15305 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
15307 if test "$wxUSE_NO_DEPS" = "no" ; then
15308 CFLAGS
="-MMD ${CFLAGS}"
15309 CXXFLAGS
="-MMD ${CXXFLAGS}"
15311 if test "$USE_WIN32" = 1 ; then
15312 # I'm not even really sure what this was ever added to solve,
15313 # but someone added it for mingw native builds, so I guess
15314 # they had a reason, right??
15315 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
15320 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
15321 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
15322 if test "$wxUSE_OPTIMISE" = "no" ; then
15325 if test "$GCC" = yes ; then
15328 i586
-*-*|i686
-*-* )
15329 OPTIMISE
="${OPTIMISE} "
15337 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
15338 cat >> confdefs.h
<<\EOF
15339 #define WXWIN_COMPATIBILITY_2 1
15343 WXWIN_COMPATIBILITY_2_2
="yes"
15346 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
15347 cat >> confdefs.h
<<\EOF
15348 #define WXWIN_COMPATIBILITY_2_2 1
15355 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
15356 cat >> confdefs.h
<<\EOF
15357 #define wxUSE_ZLIB 1
15360 if test "$wxUSE_ZLIB" = "yes" ; then
15361 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
15364 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
15365 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
15366 echo "configure:15367: checking for zlib.h" >&5
15367 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15368 echo $ac_n "(cached) $ac_c" 1>&6
15370 cat > conftest.
$ac_ext <<EOF
15371 #line 15372 "configure"
15372 #include "confdefs.h"
15375 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15376 { (eval echo configure
:15377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15377 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15378 if test -z "$ac_err"; then
15380 eval "ac_cv_header_$ac_safe=yes"
15383 echo "configure: failed program was:" >&5
15384 cat conftest.
$ac_ext >&5
15386 eval "ac_cv_header_$ac_safe=no"
15390 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15391 echo "$ac_t""yes" 1>&6
15392 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
15393 echo "configure:15394: checking for deflate in -lz" >&5
15394 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
15395 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15396 echo $ac_n "(cached) $ac_c" 1>&6
15398 ac_save_LIBS
="$LIBS"
15400 cat > conftest.
$ac_ext <<EOF
15401 #line 15402 "configure"
15402 #include "confdefs.h"
15403 /* Override any gcc2 internal prototype to avoid an error. */
15404 /* We use char because int might match the return type of a gcc2
15405 builtin and then its argument prototype would still apply. */
15412 if { (eval echo configure
:15413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15414 eval "ac_cv_lib_$ac_lib_var=yes"
15416 echo "configure: failed program was:" >&5
15417 cat conftest.
$ac_ext >&5
15419 eval "ac_cv_lib_$ac_lib_var=no"
15422 LIBS
="$ac_save_LIBS"
15425 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15426 echo "$ac_t""yes" 1>&6
15429 echo "$ac_t""no" 1>&6
15433 echo "$ac_t""no" 1>&6
15436 if test "x$ZLIB_LINK" = "x" ; then
15437 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
15443 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
15444 cat >> confdefs.h
<<\EOF
15445 #define wxUSE_LIBPNG 1
15448 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
15449 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
15453 if test "$wxUSE_LIBPNG" = "yes" ; then
15454 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
15457 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
15458 echo $ac_n "checking for png.h""... $ac_c" 1>&6
15459 echo "configure:15460: checking for png.h" >&5
15460 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15461 echo $ac_n "(cached) $ac_c" 1>&6
15463 cat > conftest.
$ac_ext <<EOF
15464 #line 15465 "configure"
15465 #include "confdefs.h"
15468 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15469 { (eval echo configure
:15470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15470 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15471 if test -z "$ac_err"; then
15473 eval "ac_cv_header_$ac_safe=yes"
15476 echo "configure: failed program was:" >&5
15477 cat conftest.
$ac_ext >&5
15479 eval "ac_cv_header_$ac_safe=no"
15483 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15484 echo "$ac_t""yes" 1>&6
15485 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
15486 echo "configure:15487: checking for png_check_sig in -lpng" >&5
15487 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
15488 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15489 echo $ac_n "(cached) $ac_c" 1>&6
15491 ac_save_LIBS
="$LIBS"
15492 LIBS
="-lpng -lz -lm $LIBS"
15493 cat > conftest.
$ac_ext <<EOF
15494 #line 15495 "configure"
15495 #include "confdefs.h"
15496 /* Override any gcc2 internal prototype to avoid an error. */
15497 /* We use char because int might match the return type of a gcc2
15498 builtin and then its argument prototype would still apply. */
15499 char png_check_sig();
15505 if { (eval echo configure
:15506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15507 eval "ac_cv_lib_$ac_lib_var=yes"
15509 echo "configure: failed program was:" >&5
15510 cat conftest.
$ac_ext >&5
15512 eval "ac_cv_lib_$ac_lib_var=no"
15515 LIBS
="$ac_save_LIBS"
15518 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15519 echo "$ac_t""yes" 1>&6
15522 echo "$ac_t""no" 1>&6
15527 echo "$ac_t""no" 1>&6
15530 if test "x$PNG_LINK" = "x" ; then
15531 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
15535 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
15539 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
15540 cat >> confdefs.h
<<\EOF
15541 #define wxUSE_LIBJPEG 1
15544 if test "$wxUSE_LIBJPEG" = "yes" ; then
15545 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
15548 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
15549 echo "configure:15550: checking for jpeglib.h" >&5
15550 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
15551 echo $ac_n "(cached) $ac_c" 1>&6
15553 cat > conftest.
$ac_ext <<EOF
15554 #line 15555 "configure"
15555 #include "confdefs.h"
15557 #undef HAVE_STDLIB_H
15559 #include <jpeglib.h>
15566 if { (eval echo configure
:15567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15568 ac_cv_header_jpeglib_h
=yes
15570 echo "configure: failed program was:" >&5
15571 cat conftest.
$ac_ext >&5
15573 ac_cv_header_jpeglib_h
=no
15580 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
15582 if test "$ac_cv_header_jpeglib_h" = "yes"; then
15583 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
15584 echo "configure:15585: checking for jpeg_read_header in -ljpeg" >&5
15585 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
15586 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15587 echo $ac_n "(cached) $ac_c" 1>&6
15589 ac_save_LIBS
="$LIBS"
15590 LIBS
="-ljpeg $LIBS"
15591 cat > conftest.
$ac_ext <<EOF
15592 #line 15593 "configure"
15593 #include "confdefs.h"
15594 /* Override any gcc2 internal prototype to avoid an error. */
15595 /* We use char because int might match the return type of a gcc2
15596 builtin and then its argument prototype would still apply. */
15597 char jpeg_read_header();
15603 if { (eval echo configure
:15604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15605 eval "ac_cv_lib_$ac_lib_var=yes"
15607 echo "configure: failed program was:" >&5
15608 cat conftest.
$ac_ext >&5
15610 eval "ac_cv_lib_$ac_lib_var=no"
15613 LIBS
="$ac_save_LIBS"
15616 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15617 echo "$ac_t""yes" 1>&6
15620 echo "$ac_t""no" 1>&6
15625 if test "x$JPEG_LINK" = "x" ; then
15626 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
15632 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
15633 cat >> confdefs.h
<<\EOF
15634 #define wxUSE_LIBTIFF 1
15637 if test "$wxUSE_LIBTIFF" = "yes" ; then
15638 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
15641 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
15642 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
15643 echo "configure:15644: checking for tiffio.h" >&5
15644 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15645 echo $ac_n "(cached) $ac_c" 1>&6
15647 cat > conftest.
$ac_ext <<EOF
15648 #line 15649 "configure"
15649 #include "confdefs.h"
15650 #include <tiffio.h>
15652 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15653 { (eval echo configure
:15654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15654 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15655 if test -z "$ac_err"; then
15657 eval "ac_cv_header_$ac_safe=yes"
15660 echo "configure: failed program was:" >&5
15661 cat conftest.
$ac_ext >&5
15663 eval "ac_cv_header_$ac_safe=no"
15667 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15668 echo "$ac_t""yes" 1>&6
15669 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
15670 echo "configure:15671: checking for TIFFError in -ltiff" >&5
15671 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
15672 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15673 echo $ac_n "(cached) $ac_c" 1>&6
15675 ac_save_LIBS
="$LIBS"
15676 LIBS
="-ltiff -lm $LIBS"
15677 cat > conftest.
$ac_ext <<EOF
15678 #line 15679 "configure"
15679 #include "confdefs.h"
15680 /* Override any gcc2 internal prototype to avoid an error. */
15681 /* We use char because int might match the return type of a gcc2
15682 builtin and then its argument prototype would still apply. */
15689 if { (eval echo configure
:15690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15691 eval "ac_cv_lib_$ac_lib_var=yes"
15693 echo "configure: failed program was:" >&5
15694 cat conftest.
$ac_ext >&5
15696 eval "ac_cv_lib_$ac_lib_var=no"
15699 LIBS
="$ac_save_LIBS"
15702 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15703 echo "$ac_t""yes" 1>&6
15706 echo "$ac_t""no" 1>&6
15710 echo "$ac_t""no" 1>&6
15713 if test "x$TIFF_LINK" = "x" ; then
15714 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
15720 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
15721 cat >> confdefs.h
<<\EOF
15722 #define wxUSE_FREETYPE 1
15725 if test "$wxUSE_FREETYPE" = "yes" ; then
15726 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
15729 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
15730 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
15731 echo "configure:15732: checking for freetype.h" >&5
15732 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15733 echo $ac_n "(cached) $ac_c" 1>&6
15735 cat > conftest.
$ac_ext <<EOF
15736 #line 15737 "configure"
15737 #include "confdefs.h"
15738 #include <freetype.h>
15740 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15741 { (eval echo configure
:15742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15742 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15743 if test -z "$ac_err"; then
15745 eval "ac_cv_header_$ac_safe=yes"
15748 echo "configure: failed program was:" >&5
15749 cat conftest.
$ac_ext >&5
15751 eval "ac_cv_header_$ac_safe=no"
15755 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15756 echo "$ac_t""yes" 1>&6
15757 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
15758 echo "configure:15759: checking for FT_Render_Glyph in -lfreetype" >&5
15759 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
15760 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15761 echo $ac_n "(cached) $ac_c" 1>&6
15763 ac_save_LIBS
="$LIBS"
15764 LIBS
="-lfreetype -lm $LIBS"
15765 cat > conftest.
$ac_ext <<EOF
15766 #line 15767 "configure"
15767 #include "confdefs.h"
15768 /* Override any gcc2 internal prototype to avoid an error. */
15769 /* We use char because int might match the return type of a gcc2
15770 builtin and then its argument prototype would still apply. */
15771 char FT_Render_Glyph();
15777 if { (eval echo configure
:15778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15779 eval "ac_cv_lib_$ac_lib_var=yes"
15781 echo "configure: failed program was:" >&5
15782 cat conftest.
$ac_ext >&5
15784 eval "ac_cv_lib_$ac_lib_var=no"
15787 LIBS
="$ac_save_LIBS"
15790 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15791 echo "$ac_t""yes" 1>&6
15792 FREETYPE_LINK
="-lfreetype"
15794 echo "$ac_t""no" 1>&6
15799 echo "$ac_t""no" 1>&6
15802 if test "x$FREETYPE_LINK" = "x" ; then
15803 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15809 if test "$wxUSE_GUI" = "yes"; then
15810 cat >> confdefs.h
<<\EOF
15811 #define wxUSE_GUI 1
15816 cat >> confdefs.h
<<\EOF
15817 #define wxUSE_NOGUI 1
15823 if test "$wxUSE_UNIX" = "yes"; then
15824 cat >> confdefs.h
<<\EOF
15825 #define wxUSE_UNIX 1
15831 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15832 cat >> confdefs.h
<<\EOF
15833 #define wxUSE_APPLE_IEEE 1
15838 if test "$wxUSE_TIMER" = "yes"; then
15839 cat >> confdefs.h
<<\EOF
15840 #define wxUSE_TIMER 1
15845 if test "$wxUSE_WAVE" = "yes"; then
15846 cat >> confdefs.h
<<\EOF
15847 #define wxUSE_WAVE 1
15852 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15853 cat >> confdefs.h
<<\EOF
15854 #define wxUSE_CMDLINE_PARSER 1
15859 if test "$wxUSE_STOPWATCH" = "yes"; then
15860 cat >> confdefs.h
<<\EOF
15861 #define wxUSE_STOPWATCH 1
15866 if test "$wxUSE_DATETIME" = "yes"; then
15867 cat >> confdefs.h
<<\EOF
15868 #define wxUSE_DATETIME 1
15873 if test "$wxUSE_TIMEDATE" = "yes"; then
15874 cat >> confdefs.h
<<\EOF
15875 #define wxUSE_TIMEDATE 1
15880 if test "$wxUSE_FILE" = "yes"; then
15881 cat >> confdefs.h
<<\EOF
15882 #define wxUSE_FILE 1
15887 if test "$wxUSE_FFILE" = "yes"; then
15888 cat >> confdefs.h
<<\EOF
15889 #define wxUSE_FFILE 1
15894 if test "$wxUSE_FILESYSTEM" = "yes"; then
15895 cat >> confdefs.h
<<\EOF
15896 #define wxUSE_FILESYSTEM 1
15901 if test "$wxUSE_FS_INET" = "yes"; then
15902 cat >> confdefs.h
<<\EOF
15903 #define wxUSE_FS_INET 1
15908 if test "$wxUSE_FS_ZIP" = "yes"; then
15909 cat >> confdefs.h
<<\EOF
15910 #define wxUSE_FS_ZIP 1
15915 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15916 cat >> confdefs.h
<<\EOF
15917 #define wxUSE_ZIPSTREAM 1
15922 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15923 cat >> confdefs.h
<<\EOF
15924 #define wxUSE_ON_FATAL_EXCEPTION 1
15929 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15930 cat >> confdefs.h
<<\EOF
15931 #define wxUSE_SNGLINST_CHECKER 1
15936 if test "$wxUSE_BUSYINFO" = "yes"; then
15937 cat >> confdefs.h
<<\EOF
15938 #define wxUSE_BUSYINFO 1
15943 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15944 cat >> confdefs.h
<<\EOF
15945 #define wxUSE_STD_IOSTREAM 1
15950 if test "$wxUSE_TEXTFILE" = "yes"; then
15951 if test "$wxUSE_FILE" != "yes"; then
15952 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15954 cat >> confdefs.h
<<\EOF
15955 #define wxUSE_TEXTFILE 1
15961 if test "$wxUSE_CONFIG" = "yes" ; then
15962 if test "$wxUSE_TEXTFILE" != "yes"; then
15963 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15965 cat >> confdefs.h
<<\EOF
15966 #define wxUSE_CONFIG 1
15969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
15973 if test "$wxUSE_INTL" = "yes" ; then
15974 if test "$wxUSE_FILE" != "yes"; then
15975 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15977 cat >> confdefs.h
<<\EOF
15978 #define wxUSE_INTL 1
15981 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
15982 GUIDIST
="$GUIDIST INTL_DIST"
15986 if test "$wxUSE_LOG" = "yes"; then
15987 cat >> confdefs.h
<<\EOF
15988 #define wxUSE_LOG 1
15992 if test "$wxUSE_LOGGUI" = "yes"; then
15993 cat >> confdefs.h
<<\EOF
15994 #define wxUSE_LOGGUI 1
15999 if test "$wxUSE_LOGWINDOW" = "yes"; then
16000 cat >> confdefs.h
<<\EOF
16001 #define wxUSE_LOGWINDOW 1
16007 if test "$wxUSE_LONGLONG" = "yes"; then
16008 cat >> confdefs.h
<<\EOF
16009 #define wxUSE_LONGLONG 1
16014 if test "$wxUSE_GEOMETRY" = "yes"; then
16015 cat >> confdefs.h
<<\EOF
16016 #define wxUSE_GEOMETRY 1
16021 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
16022 cat >> confdefs.h
<<\EOF
16023 #define wxUSE_DIALUP_MANAGER 1
16026 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
16029 if test "$wxUSE_STREAMS" = "yes" ; then
16030 cat >> confdefs.h
<<\EOF
16031 #define wxUSE_STREAMS 1
16037 if test "$wxUSE_DATETIME" = "yes"; then
16038 for ac_func
in strptime
16040 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16041 echo "configure:16042: checking for $ac_func" >&5
16042 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16043 echo $ac_n "(cached) $ac_c" 1>&6
16045 cat > conftest.
$ac_ext <<EOF
16046 #line 16047 "configure"
16047 #include "confdefs.h"
16048 /* System header to define __stub macros and hopefully few prototypes,
16049 which can conflict with char $ac_func(); below. */
16050 #include <assert.h>
16051 /* Override any gcc2 internal prototype to avoid an error. */
16052 /* We use char because int might match the return type of a gcc2
16053 builtin and then its argument prototype would still apply. */
16058 /* The GNU C library defines this for functions which it implements
16059 to always fail with ENOSYS. Some functions are actually named
16060 something starting with __ and the normal name is an alias. */
16061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16069 if { (eval echo configure
:16070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16071 eval "ac_cv_func_$ac_func=yes"
16073 echo "configure: failed program was:" >&5
16074 cat conftest.
$ac_ext >&5
16076 eval "ac_cv_func_$ac_func=no"
16081 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16082 echo "$ac_t""yes" 1>&6
16083 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16084 cat >> confdefs.h
<<EOF
16085 #define $ac_tr_func 1
16089 echo "$ac_t""no" 1>&6
16094 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16095 echo "configure:16096: checking for timezone variable in <time.h>" >&5
16096 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16097 echo $ac_n "(cached) $ac_c" 1>&6
16100 cat > conftest.
$ac_ext <<EOF
16101 #line 16102 "configure"
16102 #include "confdefs.h"
16113 if { (eval echo configure
:16114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16116 wx_cv_var_timezone
=timezone
16119 echo "configure: failed program was:" >&5
16120 cat conftest.
$ac_ext >&5
16123 cat > conftest.
$ac_ext <<EOF
16124 #line 16125 "configure"
16125 #include "confdefs.h"
16136 if { (eval echo configure
:16137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16139 wx_cv_var_timezone
=_timezone
16142 echo "configure: failed program was:" >&5
16143 cat conftest.
$ac_ext >&5
16146 cat > conftest.
$ac_ext <<EOF
16147 #line 16148 "configure"
16148 #include "confdefs.h"
16159 if { (eval echo configure
:16160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16162 wx_cv_var_timezone
=__timezone
16165 echo "configure: failed program was:" >&5
16166 cat conftest.
$ac_ext >&5
16168 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16184 echo "$ac_t""$wx_cv_var_timezone" 1>&6
16186 cat >> confdefs.h
<<EOF
16187 #define WX_TIMEZONE $wx_cv_var_timezone
16191 for ac_func
in localtime
16193 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16194 echo "configure:16195: checking for $ac_func" >&5
16195 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16196 echo $ac_n "(cached) $ac_c" 1>&6
16198 cat > conftest.
$ac_ext <<EOF
16199 #line 16200 "configure"
16200 #include "confdefs.h"
16201 /* System header to define __stub macros and hopefully few prototypes,
16202 which can conflict with char $ac_func(); below. */
16203 #include <assert.h>
16204 /* Override any gcc2 internal prototype to avoid an error. */
16205 /* We use char because int might match the return type of a gcc2
16206 builtin and then its argument prototype would still apply. */
16211 /* The GNU C library defines this for functions which it implements
16212 to always fail with ENOSYS. Some functions are actually named
16213 something starting with __ and the normal name is an alias. */
16214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16222 if { (eval echo configure
:16223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16224 eval "ac_cv_func_$ac_func=yes"
16226 echo "configure: failed program was:" >&5
16227 cat conftest.
$ac_ext >&5
16229 eval "ac_cv_func_$ac_func=no"
16234 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16235 echo "$ac_t""yes" 1>&6
16236 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16237 cat >> confdefs.h
<<EOF
16238 #define $ac_tr_func 1
16242 echo "$ac_t""no" 1>&6
16247 if test "$ac_cv_func_localtime" = "yes"; then
16248 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16249 echo "configure:16250: checking for tm_gmtoff in struct tm" >&5
16250 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16251 echo $ac_n "(cached) $ac_c" 1>&6
16254 cat > conftest.
$ac_ext <<EOF
16255 #line 16256 "configure"
16256 #include "confdefs.h"
16267 if { (eval echo configure
:16268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16270 wx_cv_struct_tm_has_gmtoff
=yes
16273 echo "configure: failed program was:" >&5
16274 cat conftest.
$ac_ext >&5
16276 wx_cv_struct_tm_has_gmtoff
=no
16283 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16286 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16287 cat >> confdefs.h
<<\EOF
16288 #define WX_GMTOFF_IN_TM 1
16293 for ac_func
in gettimeofday ftime
16295 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16296 echo "configure:16297: checking for $ac_func" >&5
16297 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16298 echo $ac_n "(cached) $ac_c" 1>&6
16300 cat > conftest.
$ac_ext <<EOF
16301 #line 16302 "configure"
16302 #include "confdefs.h"
16303 /* System header to define __stub macros and hopefully few prototypes,
16304 which can conflict with char $ac_func(); below. */
16305 #include <assert.h>
16306 /* Override any gcc2 internal prototype to avoid an error. */
16307 /* We use char because int might match the return type of a gcc2
16308 builtin and then its argument prototype would still apply. */
16313 /* The GNU C library defines this for functions which it implements
16314 to always fail with ENOSYS. Some functions are actually named
16315 something starting with __ and the normal name is an alias. */
16316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16324 if { (eval echo configure
:16325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16326 eval "ac_cv_func_$ac_func=yes"
16328 echo "configure: failed program was:" >&5
16329 cat conftest.
$ac_ext >&5
16331 eval "ac_cv_func_$ac_func=no"
16336 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16337 echo "$ac_t""yes" 1>&6
16338 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16339 cat >> confdefs.h
<<EOF
16340 #define $ac_tr_func 1
16344 echo "$ac_t""no" 1>&6
16349 if test "$ac_cv_func_gettimeofday" = "yes"; then
16350 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16351 echo "configure:16352: checking whether gettimeofday takes two arguments" >&5
16352 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16353 echo $ac_n "(cached) $ac_c" 1>&6
16358 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16359 ac_cpp
='$CXXCPP $CPPFLAGS'
16360 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16361 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16362 cross_compiling
=$ac_cv_prog_cxx_cross
16365 cat > conftest.
$ac_ext <<EOF
16366 #line 16367 "configure"
16367 #include "confdefs.h"
16369 #include <sys/time.h>
16370 #include <unistd.h>
16375 gettimeofday(&tv, NULL);
16379 if { (eval echo configure
:16380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16381 wx_cv_func_gettimeofday_has_2_args
=yes
16383 echo "configure: failed program was:" >&5
16384 cat conftest.
$ac_ext >&5
16386 cat > conftest.
$ac_ext <<EOF
16387 #line 16388 "configure"
16388 #include "confdefs.h"
16390 #include <sys/time.h>
16391 #include <unistd.h>
16400 if { (eval echo configure
:16401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16402 wx_cv_func_gettimeofday_has_2_args
=no
16404 echo "configure: failed program was:" >&5
16405 cat conftest.
$ac_ext >&5
16408 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
16409 wx_cv_func_gettimeofday_has_2_args
=unknown
16418 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16419 ac_cpp
='$CPP $CPPFLAGS'
16420 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16421 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16422 cross_compiling
=$ac_cv_prog_cc_cross
16427 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16429 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16430 cat >> confdefs.h
<<\EOF
16431 #define WX_GETTIMEOFDAY_NO_TZ 1
16437 cat >> confdefs.h
<<\EOF
16438 #define wxUSE_TIMEDATE 1
16441 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
16445 if test "$TOOLKIT" != "MSW"; then
16447 if test "$wxUSE_SOCKETS" = "yes"; then
16448 echo $ac_n "checking for socket""... $ac_c" 1>&6
16449 echo "configure:16450: checking for socket" >&5
16450 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16451 echo $ac_n "(cached) $ac_c" 1>&6
16453 cat > conftest.
$ac_ext <<EOF
16454 #line 16455 "configure"
16455 #include "confdefs.h"
16456 /* System header to define __stub macros and hopefully few prototypes,
16457 which can conflict with char socket(); below. */
16458 #include <assert.h>
16459 /* Override any gcc2 internal prototype to avoid an error. */
16460 /* We use char because int might match the return type of a gcc2
16461 builtin and then its argument prototype would still apply. */
16466 /* The GNU C library defines this for functions which it implements
16467 to always fail with ENOSYS. Some functions are actually named
16468 something starting with __ and the normal name is an alias. */
16469 #if defined (__stub_socket) || defined (__stub___socket)
16477 if { (eval echo configure
:16478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16479 eval "ac_cv_func_socket=yes"
16481 echo "configure: failed program was:" >&5
16482 cat conftest.
$ac_ext >&5
16484 eval "ac_cv_func_socket=no"
16489 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16490 echo "$ac_t""yes" 1>&6
16493 echo "$ac_t""no" 1>&6
16494 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16495 echo "configure:16496: checking for socket in -lsocket" >&5
16496 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16497 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16498 echo $ac_n "(cached) $ac_c" 1>&6
16500 ac_save_LIBS
="$LIBS"
16501 LIBS
="-lsocket $LIBS"
16502 cat > conftest.
$ac_ext <<EOF
16503 #line 16504 "configure"
16504 #include "confdefs.h"
16505 /* Override any gcc2 internal prototype to avoid an error. */
16506 /* We use char because int might match the return type of a gcc2
16507 builtin and then its argument prototype would still apply. */
16514 if { (eval echo configure
:16515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16516 eval "ac_cv_lib_$ac_lib_var=yes"
16518 echo "configure: failed program was:" >&5
16519 cat conftest.
$ac_ext >&5
16521 eval "ac_cv_lib_$ac_lib_var=no"
16524 LIBS
="$ac_save_LIBS"
16527 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16528 echo "$ac_t""yes" 1>&6
16529 INET_LINK
="$INET_LINK -lsocket"
16531 echo "$ac_t""no" 1>&6
16533 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16545 if test "$wxUSE_SOCKETS" = "yes" ; then
16546 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16547 echo "configure:16548: checking what is the type of the third argument of getsockname" >&5
16548 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16549 echo $ac_n "(cached) $ac_c" 1>&6
16554 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16555 ac_cpp
='$CXXCPP $CPPFLAGS'
16556 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16557 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16558 cross_compiling
=$ac_cv_prog_cxx_cross
16561 cat > conftest.
$ac_ext <<EOF
16562 #line 16563 "configure"
16563 #include "confdefs.h"
16565 #include <sys/types.h>
16566 #include <sys/socket.h>
16571 getsockname(0, 0, &len);
16575 if { (eval echo configure
:16576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16577 wx_cv_type_getsockname3
=socklen_t
16579 echo "configure: failed program was:" >&5
16580 cat conftest.
$ac_ext >&5
16582 cat > conftest.
$ac_ext <<EOF
16583 #line 16584 "configure"
16584 #include "confdefs.h"
16586 #include <sys/types.h>
16587 #include <sys/socket.h>
16592 getsockname(0, 0, &len);
16596 if { (eval echo configure
:16597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16598 wx_cv_type_getsockname3
=size_t
16600 echo "configure: failed program was:" >&5
16601 cat conftest.
$ac_ext >&5
16603 cat > conftest.
$ac_ext <<EOF
16604 #line 16605 "configure"
16605 #include "confdefs.h"
16607 #include <sys/types.h>
16608 #include <sys/socket.h>
16613 getsockname(0, 0, &len);
16617 if { (eval echo configure
:16618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16619 wx_cv_type_getsockname3
=int
16621 echo "configure: failed program was:" >&5
16622 cat conftest.
$ac_ext >&5
16624 wx_cv_type_getsockname3
=unknown
16636 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16637 ac_cpp
='$CPP $CPPFLAGS'
16638 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16639 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16640 cross_compiling
=$ac_cv_prog_cc_cross
16645 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16647 if test "$wx_cv_type_getsockname3" = "unknown"; then
16649 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16651 cat >> confdefs.h
<<EOF
16652 #define SOCKLEN_T $wx_cv_type_getsockname3
16659 if test "$wxUSE_SOCKETS" = "yes" ; then
16660 cat >> confdefs.h
<<\EOF
16661 #define wxUSE_SOCKETS 1
16664 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
16668 if test "$wxUSE_GUI" = "yes"; then
16670 if test "$TOOLKIT" != "MSW"; then
16671 if test "$wxUSE_JOYSTICK" = "yes"; then
16672 for ac_hdr
in linux
/joystick.h
16674 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16675 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16676 echo "configure:16677: checking for $ac_hdr" >&5
16677 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16678 echo $ac_n "(cached) $ac_c" 1>&6
16680 cat > conftest.
$ac_ext <<EOF
16681 #line 16682 "configure"
16682 #include "confdefs.h"
16685 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16686 { (eval echo configure
:16687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16687 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16688 if test -z "$ac_err"; then
16690 eval "ac_cv_header_$ac_safe=yes"
16693 echo "configure: failed program was:" >&5
16694 cat conftest.
$ac_ext >&5
16696 eval "ac_cv_header_$ac_safe=no"
16700 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16701 echo "$ac_t""yes" 1>&6
16702 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16703 cat >> confdefs.h
<<EOF
16704 #define $ac_tr_hdr 1
16708 echo "$ac_t""no" 1>&6
16712 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16714 echo "configure: warning: Joystick not supported by this system" 1>&2
16719 if test "$wxUSE_JOYSTICK" = "yes"; then
16720 cat >> confdefs.h
<<\EOF
16721 #define wxUSE_JOYSTICK 1
16724 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
16729 if test "$TOOLKIT" != "MSW"; then
16733 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16734 if test "$USE_DARWIN" = 1; then
16737 for ac_func
in dlopen
16739 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16740 echo "configure:16741: checking for $ac_func" >&5
16741 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16742 echo $ac_n "(cached) $ac_c" 1>&6
16744 cat > conftest.
$ac_ext <<EOF
16745 #line 16746 "configure"
16746 #include "confdefs.h"
16747 /* System header to define __stub macros and hopefully few prototypes,
16748 which can conflict with char $ac_func(); below. */
16749 #include <assert.h>
16750 /* Override any gcc2 internal prototype to avoid an error. */
16751 /* We use char because int might match the return type of a gcc2
16752 builtin and then its argument prototype would still apply. */
16757 /* The GNU C library defines this for functions which it implements
16758 to always fail with ENOSYS. Some functions are actually named
16759 something starting with __ and the normal name is an alias. */
16760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16768 if { (eval echo configure
:16769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16770 eval "ac_cv_func_$ac_func=yes"
16772 echo "configure: failed program was:" >&5
16773 cat conftest.
$ac_ext >&5
16775 eval "ac_cv_func_$ac_func=no"
16780 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16781 echo "$ac_t""yes" 1>&6
16782 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16783 cat >> confdefs.h
<<EOF
16784 #define $ac_tr_func 1
16787 cat >> confdefs.h
<<\EOF
16788 #define HAVE_DLOPEN 1
16794 echo "$ac_t""no" 1>&6
16795 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16796 echo "configure:16797: checking for dlopen in -ldl" >&5
16797 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16798 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16799 echo $ac_n "(cached) $ac_c" 1>&6
16801 ac_save_LIBS
="$LIBS"
16803 cat > conftest.
$ac_ext <<EOF
16804 #line 16805 "configure"
16805 #include "confdefs.h"
16806 /* Override any gcc2 internal prototype to avoid an error. */
16807 /* We use char because int might match the return type of a gcc2
16808 builtin and then its argument prototype would still apply. */
16815 if { (eval echo configure
:16816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16817 eval "ac_cv_lib_$ac_lib_var=yes"
16819 echo "configure: failed program was:" >&5
16820 cat conftest.
$ac_ext >&5
16822 eval "ac_cv_lib_$ac_lib_var=no"
16825 LIBS
="$ac_save_LIBS"
16828 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16829 echo "$ac_t""yes" 1>&6
16831 cat >> confdefs.h
<<\EOF
16832 #define HAVE_DLOPEN 1
16839 echo "$ac_t""no" 1>&6
16841 for ac_func
in shl_load
16843 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16844 echo "configure:16845: checking for $ac_func" >&5
16845 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16846 echo $ac_n "(cached) $ac_c" 1>&6
16848 cat > conftest.
$ac_ext <<EOF
16849 #line 16850 "configure"
16850 #include "confdefs.h"
16851 /* System header to define __stub macros and hopefully few prototypes,
16852 which can conflict with char $ac_func(); below. */
16853 #include <assert.h>
16854 /* Override any gcc2 internal prototype to avoid an error. */
16855 /* We use char because int might match the return type of a gcc2
16856 builtin and then its argument prototype would still apply. */
16861 /* The GNU C library defines this for functions which it implements
16862 to always fail with ENOSYS. Some functions are actually named
16863 something starting with __ and the normal name is an alias. */
16864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16872 if { (eval echo configure
:16873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16874 eval "ac_cv_func_$ac_func=yes"
16876 echo "configure: failed program was:" >&5
16877 cat conftest.
$ac_ext >&5
16879 eval "ac_cv_func_$ac_func=no"
16884 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16885 echo "$ac_t""yes" 1>&6
16886 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16887 cat >> confdefs.h
<<EOF
16888 #define $ac_tr_func 1
16891 cat >> confdefs.h
<<\EOF
16892 #define HAVE_SHL_LOAD 1
16898 echo "$ac_t""no" 1>&6
16899 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16900 echo "configure:16901: checking for dld in -lshl_load" >&5
16901 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16902 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16903 echo $ac_n "(cached) $ac_c" 1>&6
16905 ac_save_LIBS
="$LIBS"
16906 LIBS
="-lshl_load $LIBS"
16907 cat > conftest.
$ac_ext <<EOF
16908 #line 16909 "configure"
16909 #include "confdefs.h"
16910 /* Override any gcc2 internal prototype to avoid an error. */
16911 /* We use char because int might match the return type of a gcc2
16912 builtin and then its argument prototype would still apply. */
16919 if { (eval echo configure
:16920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16921 eval "ac_cv_lib_$ac_lib_var=yes"
16923 echo "configure: failed program was:" >&5
16924 cat conftest.
$ac_ext >&5
16926 eval "ac_cv_lib_$ac_lib_var=no"
16929 LIBS
="$ac_save_LIBS"
16932 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16933 echo "$ac_t""yes" 1>&6
16939 echo "$ac_t""no" 1>&6
16954 if test "$HAVE_DL_FUNCS" = 1; then
16955 for ac_func
in dlerror
16957 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16958 echo "configure:16959: checking for $ac_func" >&5
16959 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16960 echo $ac_n "(cached) $ac_c" 1>&6
16962 cat > conftest.
$ac_ext <<EOF
16963 #line 16964 "configure"
16964 #include "confdefs.h"
16965 /* System header to define __stub macros and hopefully few prototypes,
16966 which can conflict with char $ac_func(); below. */
16967 #include <assert.h>
16968 /* Override any gcc2 internal prototype to avoid an error. */
16969 /* We use char because int might match the return type of a gcc2
16970 builtin and then its argument prototype would still apply. */
16975 /* The GNU C library defines this for functions which it implements
16976 to always fail with ENOSYS. Some functions are actually named
16977 something starting with __ and the normal name is an alias. */
16978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16986 if { (eval echo configure
:16987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16988 eval "ac_cv_func_$ac_func=yes"
16990 echo "configure: failed program was:" >&5
16991 cat conftest.
$ac_ext >&5
16993 eval "ac_cv_func_$ac_func=no"
16998 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16999 echo "$ac_t""yes" 1>&6
17000 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17001 cat >> confdefs.h
<<EOF
17002 #define $ac_tr_func 1
17004 cat >> confdefs.h
<<\EOF
17005 #define HAVE_DLERROR 1
17009 echo "$ac_t""no" 1>&6
17010 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
17011 echo "configure:17012: checking for dlerror in -ldl" >&5
17012 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
17013 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17014 echo $ac_n "(cached) $ac_c" 1>&6
17016 ac_save_LIBS
="$LIBS"
17018 cat > conftest.
$ac_ext <<EOF
17019 #line 17020 "configure"
17020 #include "confdefs.h"
17021 /* Override any gcc2 internal prototype to avoid an error. */
17022 /* We use char because int might match the return type of a gcc2
17023 builtin and then its argument prototype would still apply. */
17030 if { (eval echo configure
:17031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17032 eval "ac_cv_lib_$ac_lib_var=yes"
17034 echo "configure: failed program was:" >&5
17035 cat conftest.
$ac_ext >&5
17037 eval "ac_cv_lib_$ac_lib_var=no"
17040 LIBS
="$ac_save_LIBS"
17043 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17044 echo "$ac_t""yes" 1>&6
17045 cat >> confdefs.h
<<\EOF
17046 #define HAVE_DLERROR 1
17050 echo "$ac_t""no" 1>&6
17059 if test "$HAVE_DL_FUNCS" = 0; then
17060 if test "$HAVE_SHL_FUNCS" = 0; then
17061 if test "$USE_UNIX" = 1; then
17062 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
17063 wxUSE_DYNLIB_CLASS
=no
17065 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17072 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17073 cat >> confdefs.h
<<\EOF
17074 #define wxUSE_DYNLIB_CLASS 1
17083 if test "$wxUSE_FONTMAP" = "yes" ; then
17084 cat >> confdefs.h
<<\EOF
17085 #define wxUSE_FONTMAP 1
17090 if test "$wxUSE_UNICODE" = "yes" ; then
17091 cat >> confdefs.h
<<\EOF
17092 #define wxUSE_UNICODE 1
17097 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17098 cat >> confdefs.h
<<\EOF
17099 #define wxUSE_EXPERIMENTAL_PRINTF 1
17105 if test "$wxUSE_SERIAL" = "yes" ; then
17106 cat >> confdefs.h
<<\EOF
17107 #define wxUSE_SERIAL 1
17114 if test "$wxUSE_ODBC" = "yes" ; then
17115 cat >> confdefs.h
<<\EOF
17116 #define wxUSE_ODBC 1
17119 WXODBCFLAG
="-D_IODBC_"
17120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
17124 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17125 cat >> confdefs.h
<<\EOF
17126 #define wxUSE_POSTSCRIPT 1
17131 cat >> confdefs.h
<<\EOF
17132 #define wxUSE_AFM_FOR_POSTSCRIPT 1
17136 cat >> confdefs.h
<<\EOF
17137 #define wxUSE_NORMALIZED_PS_FONTS 1
17142 if test "$wxUSE_CONSTRAINTS" = "yes"; then
17143 cat >> confdefs.h
<<\EOF
17144 #define wxUSE_CONSTRAINTS 1
17147 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
17150 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17151 cat >> confdefs.h
<<\EOF
17152 #define wxUSE_MDI_ARCHITECTURE 1
17155 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
17158 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17159 cat >> confdefs.h
<<\EOF
17160 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
17163 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
17164 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17165 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
17169 if test "$wxUSE_HELP" = "yes"; then
17170 cat >> confdefs.h
<<\EOF
17171 #define wxUSE_HELP 1
17174 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
17176 if test "$USE_WIN32" = 1; then
17177 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17178 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17179 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17180 echo "configure:17181: checking for htmlhelp.h" >&5
17181 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17182 echo $ac_n "(cached) $ac_c" 1>&6
17184 cat > conftest.
$ac_ext <<EOF
17185 #line 17186 "configure"
17186 #include "confdefs.h"
17187 #include <htmlhelp.h>
17189 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17190 { (eval echo configure
:17191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17191 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17192 if test -z "$ac_err"; then
17194 eval "ac_cv_header_$ac_safe=yes"
17197 echo "configure: failed program was:" >&5
17198 cat conftest.
$ac_ext >&5
17200 eval "ac_cv_header_$ac_safe=no"
17204 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17205 echo "$ac_t""yes" 1>&6
17207 cat >> confdefs.h
<<\EOF
17208 #define wxUSE_MS_HTML_HELP 1
17213 echo "$ac_t""no" 1>&6
17215 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h, disabled" 1>&2
17216 wxUSE_MS_HTML_HELP
=no
17223 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17224 if test "$wxUSE_HTML" = "yes"; then
17225 cat >> confdefs.h
<<\EOF
17226 #define wxUSE_WXHTML_HELP 1
17230 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17231 wxUSE_WXHTML_HELP
=no
17236 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17237 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17238 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17240 cat >> confdefs.h
<<\EOF
17241 #define wxUSE_PRINTING_ARCHITECTURE 1
17245 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
17248 if test "$wxUSE_PROLOGIO" = "yes" ; then
17249 cat >> confdefs.h
<<\EOF
17250 #define wxUSE_PROLOGIO 1
17255 if test "$wxUSE_RESOURCES" = "yes" ; then
17256 cat >> confdefs.h
<<\EOF
17257 #define wxUSE_RESOURCES 1
17260 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
17263 if test "$wxUSE_X_RESOURCES" = "yes"; then
17264 cat >> confdefs.h
<<\EOF
17265 #define wxUSE_X_RESOURCES 1
17271 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
17272 -o "$wxUSE_CLIPBOARD" = "yes" \
17273 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
17274 for ac_hdr
in ole2.h
17276 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17277 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17278 echo "configure:17279: checking for $ac_hdr" >&5
17279 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17280 echo $ac_n "(cached) $ac_c" 1>&6
17282 cat > conftest.
$ac_ext <<EOF
17283 #line 17284 "configure"
17284 #include "confdefs.h"
17287 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17288 { (eval echo configure
:17289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17289 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17290 if test -z "$ac_err"; then
17292 eval "ac_cv_header_$ac_safe=yes"
17295 echo "configure: failed program was:" >&5
17296 cat conftest.
$ac_ext >&5
17298 eval "ac_cv_header_$ac_safe=no"
17302 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17303 echo "$ac_t""yes" 1>&6
17304 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17305 cat >> confdefs.h
<<EOF
17306 #define $ac_tr_hdr 1
17310 echo "$ac_t""no" 1>&6
17315 if test "$ac_cv_header_ole2_h" = "yes" ; then
17316 if test "$GCC" = yes ; then
17317 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
17318 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17319 LIBS
="$LIBS -lrpcrt4 -loleaut32 -lole32 -luuid"
17320 cat >> confdefs.h
<<\EOF
17321 #define wxUSE_OLE 1
17327 cat >> confdefs.h
<<\EOF
17328 #define wxUSE_DATAOBJ 1
17332 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
17335 wxUSE_DRAG_AND_DROP
=no
17339 if test "$wxUSE_METAFILE" = "yes"; then
17340 cat >> confdefs.h
<<\EOF
17341 #define wxUSE_METAFILE 1
17345 cat >> confdefs.h
<<\EOF
17346 #define wxUSE_ENH_METAFILE 1
17352 if test "$wxUSE_IPC" = "yes"; then
17353 if test "$wxUSE_SOCKETS" != "yes"; then
17354 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17357 cat >> confdefs.h
<<\EOF
17358 #define wxUSE_IPC 1
17363 if test "$wxUSE_CLIPBOARD" = "yes"; then
17364 cat >> confdefs.h
<<\EOF
17365 #define wxUSE_CLIPBOARD 1
17369 cat >> confdefs.h
<<\EOF
17370 #define wxUSE_DATAOBJ 1
17375 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17376 if test "$wxUSE_GTK" = 1; then
17377 if test "$WXGTK12" != 1; then
17378 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17379 wxUSE_DRAG_AND_DROP
=no
17383 if test "$wxUSE_MOTIF" = 1; then
17384 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17385 wxUSE_DRAG_AND_DROP
=no
17388 if test "$wxUSE_MAC" = 1; then
17389 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17390 wxUSE_DRAG_AND_DROP
=no
17393 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17394 cat >> confdefs.h
<<\EOF
17395 #define wxUSE_DRAG_AND_DROP 1
17398 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
17403 if test "$wxUSE_SPLINES" = "yes" ; then
17404 cat >> confdefs.h
<<\EOF
17405 #define wxUSE_SPLINES 1
17412 if test "$wxUSE_CONTROLS" = "yes"; then
17416 if test "$wxUSE_ACCEL" = "yes"; then
17417 cat >> confdefs.h
<<\EOF
17418 #define wxUSE_ACCEL 1
17424 if test "$wxUSE_BUTTON" = "yes"; then
17425 cat >> confdefs.h
<<\EOF
17426 #define wxUSE_BUTTON 1
17432 if test "$wxUSE_BMPBUTTON" = "yes"; then
17433 cat >> confdefs.h
<<\EOF
17434 #define wxUSE_BMPBUTTON 1
17440 if test "$wxUSE_CALCTRL" = "yes"; then
17441 cat >> confdefs.h
<<\EOF
17442 #define wxUSE_CALENDARCTRL 1
17446 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
17449 if test "$wxUSE_CARET" = "yes"; then
17450 cat >> confdefs.h
<<\EOF
17451 #define wxUSE_CARET 1
17455 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
17458 if test "$wxUSE_COMBOBOX" = "yes"; then
17459 cat >> confdefs.h
<<\EOF
17460 #define wxUSE_COMBOBOX 1
17466 if test "$wxUSE_CHOICE" = "yes"; then
17467 cat >> confdefs.h
<<\EOF
17468 #define wxUSE_CHOICE 1
17474 if test "$wxUSE_CHECKBOX" = "yes"; then
17475 cat >> confdefs.h
<<\EOF
17476 #define wxUSE_CHECKBOX 1
17482 if test "$wxUSE_CHECKLST" = "yes"; then
17483 cat >> confdefs.h
<<\EOF
17484 #define wxUSE_CHECKLISTBOX 1
17488 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
17491 if test "$wxUSE_GAUGE" = "yes"; then
17492 cat >> confdefs.h
<<\EOF
17493 #define wxUSE_GAUGE 1
17499 if test "$wxUSE_NEW_GRID" = "yes"; then
17501 cat >> confdefs.h
<<\EOF
17502 #define wxUSE_NEW_GRID 1
17506 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
17509 if test "$wxUSE_GRID" = "yes"; then
17510 cat >> confdefs.h
<<\EOF
17511 #define wxUSE_GRID 1
17515 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
17518 if test "$wxUSE_IMAGLIST" = "yes"; then
17519 cat >> confdefs.h
<<\EOF
17520 #define wxUSE_IMAGLIST 1
17525 if test "$wxUSE_LISTBOX" = "yes"; then
17526 cat >> confdefs.h
<<\EOF
17527 #define wxUSE_LISTBOX 1
17533 if test "$wxUSE_LISTCTRL" = "yes"; then
17534 if test "$wxUSE_IMAGLIST" = "yes"; then
17535 cat >> confdefs.h
<<\EOF
17536 #define wxUSE_LISTCTRL 1
17540 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
17542 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17546 if test "$wxUSE_NOTEBOOK" = "yes"; then
17547 cat >> confdefs.h
<<\EOF
17548 #define wxUSE_NOTEBOOK 1
17552 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
17555 if test "$wxUSE_PROPSHEET" = "yes"; then
17556 cat >> confdefs.h
<<\EOF
17557 #define wxUSE_PROPSHEET 1
17561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
17564 if test "$wxUSE_RADIOBOX" = "yes"; then
17565 cat >> confdefs.h
<<\EOF
17566 #define wxUSE_RADIOBOX 1
17572 if test "$wxUSE_RADIOBTN" = "yes"; then
17573 cat >> confdefs.h
<<\EOF
17574 #define wxUSE_RADIOBTN 1
17580 if test "$wxUSE_SASH" = "yes"; then
17581 cat >> confdefs.h
<<\EOF
17582 #define wxUSE_SASH 1
17585 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
17588 if test "$wxUSE_SCROLLBAR" = "yes"; then
17589 cat >> confdefs.h
<<\EOF
17590 #define wxUSE_SCROLLBAR 1
17594 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
17597 if test "$wxUSE_SLIDER" = "yes"; then
17598 cat >> confdefs.h
<<\EOF
17599 #define wxUSE_SLIDER 1
17605 if test "$wxUSE_SPINBTN" = "yes"; then
17606 cat >> confdefs.h
<<\EOF
17607 #define wxUSE_SPINBTN 1
17613 if test "$wxUSE_SPINCTRL" = "yes"; then
17614 cat >> confdefs.h
<<\EOF
17615 #define wxUSE_SPINCTRL 1
17621 if test "$wxUSE_SPLITTER" = "yes"; then
17622 cat >> confdefs.h
<<\EOF
17623 #define wxUSE_SPLITTER 1
17626 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
17629 if test "$wxUSE_STATBMP" = "yes"; then
17630 cat >> confdefs.h
<<\EOF
17631 #define wxUSE_STATBMP 1
17637 if test "$wxUSE_STATBOX" = "yes"; then
17638 cat >> confdefs.h
<<\EOF
17639 #define wxUSE_STATBOX 1
17645 if test "$wxUSE_STATTEXT" = "yes"; then
17646 cat >> confdefs.h
<<\EOF
17647 #define wxUSE_STATTEXT 1
17653 if test "$wxUSE_STATLINE" = "yes"; then
17654 if test "$wxUSE_WINE" = 1 ; then
17655 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17657 cat >> confdefs.h
<<\EOF
17658 #define wxUSE_STATLINE 1
17665 if test "$wxUSE_STATUSBAR" = "yes"; then
17666 cat >> confdefs.h
<<\EOF
17667 #define wxUSE_STATUSBAR 1
17672 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
17675 if test "$wxUSE_TABDIALOG" = "yes"; then
17676 cat >> confdefs.h
<<\EOF
17677 #define wxUSE_TAB_DIALOG 1
17680 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
17683 if test "$wxUSE_TEXTCTRL" = "yes"; then
17684 cat >> confdefs.h
<<\EOF
17685 #define wxUSE_TEXTCTRL 1
17689 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
17692 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17693 if test "$wxUSE_MAC" = 1; then
17694 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
17698 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17699 cat >> confdefs.h
<<\EOF
17700 #define wxUSE_TOGGLEBTN 1
17707 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17708 cat >> confdefs.h
<<\EOF
17709 #define wxUSE_TOOLBAR_SIMPLE 1
17712 wxUSE_TOOLBAR
="yes"
17716 if test "$wxUSE_TOOLBAR" = "yes"; then
17717 cat >> confdefs.h
<<\EOF
17718 #define wxUSE_TOOLBAR 1
17723 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17724 wxUSE_TOOLBAR_NATIVE
="yes"
17727 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17728 cat >> confdefs.h
<<\EOF
17729 #define wxUSE_TOOLBAR_NATIVE 1
17735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
17738 if test "$wxUSE_TOOLTIPS" = "yes"; then
17739 if test "$wxUSE_MOTIF" = 1; then
17740 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17742 if test "$wxUSE_WINE" = 1; then
17743 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17745 cat >> confdefs.h
<<\EOF
17746 #define wxUSE_TOOLTIPS 1
17753 if test "$wxUSE_TREECTRL" = "yes"; then
17754 if test "$wxUSE_IMAGLIST" = "yes"; then
17755 cat >> confdefs.h
<<\EOF
17756 #define wxUSE_TREECTRL 1
17760 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
17762 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17766 if test "$wxUSE_POPUPWIN" = "yes"; then
17767 if test "$wxUSE_MAC" = 1; then
17768 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
17770 cat >> confdefs.h
<<\EOF
17771 #define wxUSE_POPUPWIN 1
17778 if test "$USES_CONTROLS" = 1; then
17779 cat >> confdefs.h
<<\EOF
17780 #define wxUSE_CONTROLS 1
17786 if test "$wxUSE_TREELAYOUT" = "yes"; then
17787 cat >> confdefs.h
<<\EOF
17788 #define wxUSE_TREELAYOUT 1
17791 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
17794 if test "$wxUSE_DRAGIMAGE" = "yes"; then
17795 cat >> confdefs.h
<<\EOF
17796 #define wxUSE_DRAGIMAGE 1
17799 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
17802 if test "$wxUSE_MENUS" = "yes"; then
17803 cat >> confdefs.h
<<\EOF
17804 #define wxUSE_MENUS 1
17807 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
17810 if test "$wxUSE_METAFILE" = "yes"; then
17811 cat >> confdefs.h
<<\EOF
17812 #define wxUSE_METAFILE 1
17817 if test "$wxUSE_MIMETYPE" = "yes"; then
17818 cat >> confdefs.h
<<\EOF
17819 #define wxUSE_MIMETYPE 1
17824 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
17825 cat >> confdefs.h
<<\EOF
17826 #define wxUSE_SYSTEM_OPTIONS 1
17831 if test "$wxUSE_MINIFRAME" = "yes"; then
17832 cat >> confdefs.h
<<\EOF
17833 #define wxUSE_MINIFRAME 1
17836 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
17839 if test "$wxUSE_HTML" = "yes"; then
17840 cat >> confdefs.h
<<\EOF
17841 #define wxUSE_HTML 1
17844 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
17847 if test "$wxUSE_VALIDATORS" = "yes"; then
17848 cat >> confdefs.h
<<\EOF
17849 #define wxUSE_VALIDATORS 1
17852 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
17855 if test "$wxUSE_PALETTE" = "yes" ; then
17856 cat >> confdefs.h
<<\EOF
17857 #define wxUSE_PALETTE 1
17862 if test "$wxUSE_IMAGE" = "yes" ; then
17863 cat >> confdefs.h
<<\EOF
17864 #define wxUSE_IMAGE 1
17869 if test "$wxUSE_GIF" = "yes" ; then
17870 cat >> confdefs.h
<<\EOF
17871 #define wxUSE_GIF 1
17876 if test "$wxUSE_PCX" = "yes" ; then
17877 cat >> confdefs.h
<<\EOF
17878 #define wxUSE_PCX 1
17883 if test "$wxUSE_PNM" = "yes" ; then
17884 cat >> confdefs.h
<<\EOF
17885 #define wxUSE_PNM 1
17890 if test "$wxUSE_XPM" = "yes" ; then
17891 cat >> confdefs.h
<<\EOF
17892 #define wxUSE_XPM 1
17898 if test "$wxUSE_CHOICEDLG" = "yes"; then
17899 cat >> confdefs.h
<<\EOF
17900 #define wxUSE_CHOICEDLG 1
17905 if test "$wxUSE_COLOURDLG" = "yes"; then
17906 cat >> confdefs.h
<<\EOF
17907 #define wxUSE_COLOURDLG 1
17912 if test "$wxUSE_FILEDLG" = "yes"; then
17913 cat >> confdefs.h
<<\EOF
17914 #define wxUSE_FILEDLG 1
17919 if test "$wxUSE_FINDREPLDLG" = "yes"; then
17920 cat >> confdefs.h
<<\EOF
17921 #define wxUSE_FINDREPLDLG 1
17926 if test "$wxUSE_FONTDLG" = "yes"; then
17927 cat >> confdefs.h
<<\EOF
17928 #define wxUSE_FONTDLG 1
17933 if test "$wxUSE_DIRDLG" = "yes"; then
17934 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17935 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17937 if test "$wxUSE_TREECTRL" != "yes"; then
17938 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17940 cat >> confdefs.h
<<\EOF
17941 #define wxUSE_DIRDLG 1
17948 if test "$wxUSE_MSGDLG" = "yes"; then
17949 cat >> confdefs.h
<<\EOF
17950 #define wxUSE_MSGDLG 1
17955 if test "$wxUSE_NUMBERDLG" = "yes"; then
17956 cat >> confdefs.h
<<\EOF
17957 #define wxUSE_NUMBERDLG 1
17962 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17963 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17964 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17966 cat >> confdefs.h
<<\EOF
17967 #define wxUSE_PROGRESSDLG 1
17973 if test "$wxUSE_SPLASH" = "yes"; then
17974 cat >> confdefs.h
<<\EOF
17975 #define wxUSE_SPLASH 1
17980 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
17981 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17982 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
17984 cat >> confdefs.h
<<\EOF
17985 #define wxUSE_STARTUP_TIPS 1
17991 if test "$wxUSE_TEXTDLG" = "yes"; then
17992 cat >> confdefs.h
<<\EOF
17993 #define wxUSE_TEXTDLG 1
17998 if test "$wxUSE_WIZARDDLG" = "yes"; then
17999 cat >> confdefs.h
<<\EOF
18000 #define wxUSE_WIZARDDLG 1
18003 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
18007 if test "$cross_compiling" = "yes"; then
18010 OSINFO
=`uname -s -r -m`
18011 OSINFO
="\"$OSINFO\""
18014 cat >> confdefs.h
<<EOF
18015 #define WXWIN_OS_DESCRIPTION $OSINFO
18020 if test "x$prefix" != "xNONE"; then
18023 wxPREFIX
=$ac_default_prefix
18026 cat >> confdefs.h
<<EOF
18027 #define wxINSTALL_PREFIX "$wxPREFIX"
18032 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
18034 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
18036 if test "$wxUSE_MAC" = 1 ; then
18037 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
18040 if test "$wxUSE_GUI" = "yes"; then
18041 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
18044 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
18045 drawing dynamic erase event exec font image \
18046 minimal richedit rotate widgets"
18048 if test "$wxUSE_UNIVERSAL" = "yes" ; then
18049 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS univ"
18052 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
18054 SAMPLES_SUBDIRS
="console"
18057 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
18059 INCLUDES
="-I. -I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
18060 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
18061 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
18063 if test "$wxUSE_GTK" = 1; then
18064 WXCONFIG_INCLUDE
=""
18066 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
18069 if test "$GXX" = yes ; then
18070 CXXWARNINGS
="-Wall"
18072 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
18074 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
18075 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
18077 LDFLAGS
="$LDFLAGS $PROFILE"
18079 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
18162 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
18163 echo "configure:18164: checking whether ${MAKE-make} sets \${MAKE}" >&5
18164 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
18165 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
18166 echo $ac_n "(cached) $ac_c" 1>&6
18168 cat > conftestmake
<<\EOF
18170 @
echo 'ac_maketemp="${MAKE}"'
18172 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18173 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
18174 if test -n "$ac_maketemp"; then
18175 eval ac_cv_prog_make_
${ac_make}_set
=yes
18177 eval ac_cv_prog_make_
${ac_make}_set
=no
18181 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18182 echo "$ac_t""yes" 1>&6
18185 echo "$ac_t""no" 1>&6
18186 SET_MAKE
="MAKE=${MAKE-make}"
18190 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
18191 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
18196 if test "$wxUSE_GUI" = "yes"; then
18197 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
18198 wx_cv_path_ifs
=$PATH_IFS
18199 wx_cv_program_ext
=$PROGRAM_EXT
18200 wx_cv_target_library
=$WX_TARGET_LIBRARY
18201 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
18202 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
18203 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
18204 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
18205 subdirs
="demos samples utils contrib"
18210 cat > confcache
<<\EOF
18211 # This file is a shell script that caches the results of configure
18212 # tests run on this system so they can be shared between configure
18213 # scripts and configure runs. It is not useful on other systems.
18214 # If it contains results you don't want to keep, you may remove or edit it.
18216 # By default, configure uses ./config.cache as the cache file,
18217 # creating it if it does not exist already. You can give configure
18218 # the --cache-file=FILE option to use a different cache file; that is
18219 # what configure does when it calls configure scripts in
18220 # subdirectories, so they share the cache.
18221 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18222 # config.status only pays attention to the cache file if you give it the
18223 # --recheck option to rerun configure.
18226 # The following way of writing the cache mishandles newlines in values,
18227 # but we know of no workaround that is simple, portable, and efficient.
18228 # So, don't put newlines in cache variables' values.
18229 # Ultrix sh set writes to stderr and can't be redirected directly,
18230 # and sets the high bit in the cache file unless we assign to the vars.
18232 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18234 # `set' does not quote correctly, so add quotes (double-quote substitution
18235 # turns \\\\ into \\, and sed turns \\ into \).
18237 -e "s/'/'\\\\''/g" \
18238 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18241 # `set' quotes correctly as required by POSIX, so do not add quotes.
18242 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18245 if cmp -s $cache_file confcache
; then
18248 if test -w $cache_file; then
18249 echo "updating cache $cache_file"
18250 cat confcache
> $cache_file
18252 echo "not updating unwritable cache $cache_file"
18257 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18259 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18260 # Let make expand exec_prefix.
18261 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18263 # Any assignment to VPATH causes Sun make to only execute
18264 # the first set of double-colon rules, so remove it if not needed.
18265 # If there is a colon in the path, we need to keep it.
18266 if test "x$srcdir" = x.
; then
18267 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
18270 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18272 DEFS
=-DHAVE_CONFIG_H
18274 # Without the "./", some shells look in PATH for config.status.
18275 : ${CONFIG_STATUS=./config.status}
18277 echo creating
$CONFIG_STATUS
18278 rm -f $CONFIG_STATUS
18279 cat > $CONFIG_STATUS <<EOF
18281 # Generated automatically by configure.
18282 # Run this file to recreate the current configuration.
18283 # This directory was configured as follows,
18284 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18286 # $0 $ac_configure_args
18288 # Compiler output produced by configure, useful for debugging
18289 # configure, is in ./config.log if it exists.
18291 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18294 case "\$ac_option" in
18295 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18296 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18297 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18298 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18299 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18301 -help | --help | --hel | --he | --h)
18302 echo "\$ac_cs_usage"; exit 0 ;;
18303 *) echo "\$ac_cs_usage"; exit 1 ;;
18307 ac_given_srcdir=$srcdir
18308 ac_given_INSTALL="$INSTALL"
18310 trap 'rm -fr `echo "
18316 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18318 cat >> $CONFIG_STATUS <<EOF
18320 # Protect against being on the right side of a sed subst in config.status.
18321 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18322 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18326 s%@CFLAGS@%$CFLAGS%g
18327 s%@CPPFLAGS@%$CPPFLAGS%g
18328 s%@CXXFLAGS@%$CXXFLAGS%g
18329 s%@FFLAGS@%$FFLAGS%g
18331 s%@LDFLAGS@%$LDFLAGS%g
18333 s%@exec_prefix@%$exec_prefix%g
18334 s%@prefix@%$prefix%g
18335 s%@program_transform_name@%$program_transform_name%g
18336 s%@bindir@%$bindir%g
18337 s%@sbindir@%$sbindir%g
18338 s%@libexecdir@%$libexecdir%g
18339 s%@datadir@%$datadir%g
18340 s%@sysconfdir@%$sysconfdir%g
18341 s%@sharedstatedir@%$sharedstatedir%g
18342 s%@localstatedir@%$localstatedir%g
18343 s%@libdir@%$libdir%g
18344 s%@includedir@%$includedir%g
18345 s%@oldincludedir@%$oldincludedir%g
18346 s%@infodir@%$infodir%g
18347 s%@mandir@%$mandir%g
18349 s%@host_alias@%$host_alias%g
18350 s%@host_cpu@%$host_cpu%g
18351 s%@host_vendor@%$host_vendor%g
18352 s%@host_os@%$host_os%g
18353 s%@target@%$target%g
18354 s%@target_alias@%$target_alias%g
18355 s%@target_cpu@%$target_cpu%g
18356 s%@target_vendor@%$target_vendor%g
18357 s%@target_os@%$target_os%g
18359 s%@build_alias@%$build_alias%g
18360 s%@build_cpu@%$build_cpu%g
18361 s%@build_vendor@%$build_vendor%g
18362 s%@build_os@%$build_os%g
18366 s%@RANLIB@%$RANLIB%g
18368 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18369 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18370 s%@INSTALL_DATA@%$INSTALL_DATA%g
18374 s%@LEXLIB@%$LEXLIB%g
18376 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18377 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18378 s%@GTK_LIBS@%$GTK_LIBS%g
18379 s%@GTK_CONFIG@%$GTK_CONFIG%g
18380 s%@X_CFLAGS@%$X_CFLAGS%g
18381 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18382 s%@X_LIBS@%$X_LIBS%g
18383 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18384 s%@RESCOMP@%$RESCOMP%g
18386 s%@CXXCPP@%$CXXCPP%g
18387 s%@LEX_STEM@%$LEX_STEM%g
18388 s%@PATH_IFS@%$PATH_IFS%g
18389 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18390 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18391 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18392 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18393 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18394 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18395 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18396 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18397 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18398 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18399 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18400 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18401 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18402 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18403 s%@WX_ALL@%$WX_ALL%g
18404 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18405 s%@SHARED_LD@%$SHARED_LD%g
18406 s%@PIC_FLAG@%$PIC_FLAG%g
18407 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18408 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18409 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
18410 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
18411 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18412 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18413 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18414 s%@USE_GUI@%$USE_GUI%g
18415 s%@AFMINSTALL@%$AFMINSTALL%g
18416 s%@TOOLKIT@%$TOOLKIT%g
18417 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18418 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18419 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
18420 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
18421 s%@cross_compiling@%$cross_compiling%g
18422 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
18423 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
18424 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18425 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18426 s%@GUIDIST@%$GUIDIST%g
18427 s%@PORT_FILES@%$PORT_FILES%g
18428 s%@DISTDIR@%$DISTDIR%g
18429 s%@RPM_SPEC@%$RPM_SPEC%g
18430 s%@RPM_FILES@%$RPM_FILES%g
18431 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18432 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
18433 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18434 s%@EXTRADEFS@%$EXTRADEFS%g
18435 s%@LD_LIBS@%$LD_LIBS%g
18436 s%@WXMSW_DLL_DEFINES@%$WXMSW_DLL_DEFINES%g
18437 s%@RESFLAGS@%$RESFLAGS%g
18438 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
18439 s%@WX_RESOURCES_DARWIN@%$WX_RESOURCES_DARWIN%g
18440 s%@LIBWXMACRES@%$LIBWXMACRES%g
18441 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18442 s%@DLLTOOL@%$DLLTOOL%g
18446 s%@MAKEINFO@%$MAKEINFO%g
18447 s%@SET_MAKE@%$SET_MAKE%g
18448 s%@subdirs@%$subdirs%g
18453 cat >> $CONFIG_STATUS <<\EOF
18455 # Split the substitutions into bite-sized pieces for seds with
18456 # small command number limits, like on Digital OSF/1 and HP-UX.
18457 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
18458 ac_file
=1 # Number of current file.
18459 ac_beg
=1 # First line for current file.
18460 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
18463 while $ac_more_lines; do
18464 if test $ac_beg -gt 1; then
18465 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
18467 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
18469 if test ! -s conftest.s
$ac_file; then
18470 ac_more_lines
=false
18471 rm -f conftest.s
$ac_file
18473 if test -z "$ac_sed_cmds"; then
18474 ac_sed_cmds
="sed -f conftest.s$ac_file"
18476 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
18478 ac_file
=`expr $ac_file + 1`
18480 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
18483 if test -z "$ac_sed_cmds"; then
18488 cat >> $CONFIG_STATUS <<EOF
18490 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18497 cat >> $CONFIG_STATUS <<\EOF
18498 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
18499 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18501 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18502 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18503 *) ac_file_in
="${ac_file}.in" ;;
18506 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18508 # Remove last slash and all that follows it. Not all systems have dirname.
18509 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18510 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
18511 # The file is in a subdirectory.
18512 test ! -d "$ac_dir" && mkdir "$ac_dir"
18513 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
18514 # A "../" for each directory in $ac_dir_suffix.
18515 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18517 ac_dir_suffix
= ac_dots
=
18520 case "$ac_given_srcdir" in
18522 if test -z "$ac_dots"; then top_srcdir
=.
18523 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18524 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
18525 *) # Relative path.
18526 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18527 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18530 case "$ac_given_INSTALL" in
18531 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
18532 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
18535 echo creating
"$ac_file"
18537 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18539 *Makefile
*) ac_comsub
="1i\\
18540 # $configure_input" ;;
18544 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18546 s%@configure_input@%$configure_input%g
18547 s%@srcdir@%$srcdir%g
18548 s%@top_srcdir@%$top_srcdir%g
18549 s%@INSTALL@%$INSTALL%g
18550 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18554 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18555 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18557 # ac_d sets the value in "#define NAME VALUE" lines.
18558 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18559 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
18562 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18563 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18564 ac_uB
='\([ ]\)%\1#\2define\3'
18567 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18568 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18569 ac_eB
='$%\1#\2define\3'
18573 if test "${CONFIG_HEADERS+set}" != set; then
18575 cat >> $CONFIG_STATUS <<EOF
18576 CONFIG_HEADERS="setup.h:setup.h.in"
18578 cat >> $CONFIG_STATUS <<\EOF
18580 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
18581 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18583 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18584 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18585 *) ac_file_in
="${ac_file}.in" ;;
18588 echo creating
$ac_file
18590 rm -f conftest.frag conftest.
in conftest.out
18591 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18592 cat $ac_file_inputs > conftest.
in
18596 # Transform confdefs.h into a sed script conftest.vals that substitutes
18597 # the proper values into config.h.in to produce config.h. And first:
18598 # Protect against being on the right side of a sed subst in config.status.
18599 # Protect against being in an unquoted here document in config.status.
18600 rm -f conftest.vals
18601 cat > conftest.hdr
<<\EOF
18604 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18608 sed -n -f conftest.hdr confdefs.h > conftest.vals
18611 # This sed command replaces #undef with comments. This is necessary, for
18612 # example, in the case of _POSIX_SOURCE, which is predefined and required
18613 # on some systems where configure will not decide to define it.
18614 cat >> conftest.vals <<\EOF
18615 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18618 # Break up conftest.vals because some shells have a limit on
18619 # the size of here documents, and old seds have small limits too.
18621 rm -f conftest.tail
18624 ac_lines=`grep -c . conftest.vals
`
18625 # grep -c gives empty output for an empty file on some AIX systems.
18626 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18627 # Write a limited-size here document to conftest.frag.
18628 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18629 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18631 sed -f conftest.frag conftest.in > conftest.out
18633 mv conftest.out conftest.in
18634 ' >> $CONFIG_STATUS
18635 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18636 rm -f conftest.vals
18637 mv conftest.tail conftest.vals
18639 rm -f conftest.vals
18641 cat >> $CONFIG_STATUS <<\EOF
18642 rm -f conftest.frag conftest.h
18643 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18644 cat conftest.in >> conftest.h
18646 if cmp -s $ac_file conftest.h 2>/dev/null; then
18647 echo "$ac_file is unchanged"
18650 # Remove last slash and all that follows it. Not all systems have dirname.
18651 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18652 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18653 # The file is in a subdirectory.
18654 test ! -d "$ac_dir" && mkdir "$ac_dir"
18657 mv conftest.h $ac_file
18662 cat >> $CONFIG_STATUS <<EOF
18664 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
18669 cat >> $CONFIG_STATUS <<\EOF
18671 if test ! -L wx-config; then
18673 mv wx-config wx${TOOLCHAIN_NAME}-config
18674 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
18677 if test ! -d lib; then
18680 if test ! -d lib/wx; then
18683 if test ! -d lib/wx/include; then
18684 mkdir lib/wx/include
18686 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
18687 mkdir lib/wx/include/${TOOLCHAIN_NAME}
18689 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
18690 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
18692 if test -f setup.h; then
18693 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
18698 chmod +x $CONFIG_STATUS
18699 rm -fr confdefs* $ac_clean_files
18700 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18702 if test "$no_recursion" != yes; then
18704 # Remove --cache-file and --srcdir arguments so they do not pile up.
18705 ac_sub_configure_args=
18707 for ac_arg in $ac_configure_args; do
18708 if test -n "$ac_prev"; then
18713 -cache-file | --cache-file | --cache-fil | --cache-fi \
18714 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18715 ac_prev=cache_file ;;
18716 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18717 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18719 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18721 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18723 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18727 for ac_config_dir in demos samples utils contrib; do
18729 # Do not complain, so a configure script can configure whichever
18730 # parts of a large source tree are present.
18731 if test ! -d $srcdir/$ac_config_dir; then
18735 echo configuring in $ac_config_dir
18740 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18742 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18750 # A "../" for each directory in /$ac_config_dir.
18751 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18754 .) # No --srcdir option. We are building in place.
18755 ac_sub_srcdir=$srcdir ;;
18756 /*) # Absolute path.
18757 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18758 *) # Relative path.
18759 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18762 # Check for guested configure; otherwise get Cygnus style configure.
18763 if test -f $ac_sub_srcdir/configure; then
18764 ac_sub_configure=$ac_sub_srcdir/configure
18765 elif test -f $ac_sub_srcdir/configure.in; then
18766 ac_sub_configure=$ac_configure
18768 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18772 # The recursion is here.
18773 if test -n "$ac_sub_configure"; then
18775 # Make the cache file name correct relative to the subdirectory.
18776 case "$cache_file" in
18777 /*) ac_sub_cache_file=$cache_file ;;
18778 *) # Relative path.
18779 ac_sub_cache_file="$ac_dots$cache_file" ;;
18781 case "$ac_given_INSTALL" in
18782 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18783 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18786 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18787 # The eval makes quoting arguments work.
18788 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18791 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }